.ku-story-timeline{position:relative;z-index:2;width:100%;max-width:430px;margin:24px auto;text-align:left;color:inherit}
.ku-story-moment{position:relative;padding:0 0 30px 34px;border-left:1px solid color-mix(in srgb,currentColor 35%,transparent);margin-left:10px}
.ku-story-moment:last-child{padding-bottom:0;border-left-color:transparent}
.ku-story-number{position:absolute;left:-13px;top:0;background:var(--paper,#faf2e1);color:var(--color,#745436);width:26px;height:26px;border:1px solid color-mix(in srgb,currentColor 40%,transparent);border-radius:50%;font:10px/24px system-ui;text-align:center}
.ku-story-date{font-size:11px!important;letter-spacing:1.4px;margin:0 0 8px!important}
.ku-story-moment h3{font:26px/1.2 'Cormorant Garamond',serif;margin:0 0 12px!important;color:inherit}
.ku-story-copy{font-size:13px!important;line-height:1.85!important;white-space:pre-line;overflow-wrap:anywhere;margin:0!important}
.ku-story-photo{width:100%;height:auto;max-height:240px;object-fit:cover;border-radius:8px;margin:12px 0 16px}
.story-legacy-hidden{display:none!important}
body.design-aceh #story-section.has-story-timeline{height:auto;min-height:100dvh}
body.tier-signature .ku-story-timeline{max-width:320px;max-height:43svh;overflow:auto;padding:8px 12px;margin:12px auto;overscroll-behavior-y:auto;touch-action:pan-y;-webkit-overflow-scrolling:touch}
body.tier-signature .ku-story-moment{border:0;padding-bottom:0}
body.tier-signature .ku-story-photo{max-height:20svh;object-fit:cover}
body.tier-signature .has-story-timeline .signature-story-text{display:none!important}
.story-step-editor{padding:16px;border:1px solid #ead4df;border-radius:12px;margin-bottom:14px;background:#fffafc}
.story-step-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}
.story-step-actions button{padding:8px 12px;font:inherit;border:1px solid #e6ccda;background:white;border-radius:8px;color:inherit}

.photos-none .ku-story-photo,.photos-character .ku-story-photo{display:none!important}
.editor-fields .story-step-editor{padding:0;margin:0 0 10px;background:var(--bg);border:1px solid var(--line);border-radius:10px}
.editor-fields .story-step-editor>summary{min-height:48px;padding:10px 12px;font-size:13px;gap:10px}
.story-step-number{font-size:11px;font-variant-numeric:tabular-nums;color:var(--muted)}
.story-step-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.story-step-content{padding:14px;display:grid;gap:14px}
.story-step-content label{display:block}
.story-step-content .story-step-actions{margin:0;padding-top:12px;border-top:1px solid var(--line);display:flex;gap:8px;flex-wrap:nowrap}
.story-step-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;padding:8px 10px;background:var(--surface);border-color:var(--line);font-size:12px}
.story-step-actions button .ui-icon{width:16px;height:16px}
.story-step-actions [data-move=up] .ui-icon{rotate:-90deg}
.story-step-actions [data-move=down] .ui-icon{rotate:90deg}
.story-step-actions [data-move=remove]{margin-left:auto;color:var(--danger)}
.story-step-actions button:disabled{opacity:.35;cursor:default}
.story-step-actions button .ui-icon{margin:0;flex:0 0 16px}
.story-step-actions [data-move=up],.story-step-actions [data-move=down]{background:var(--soft);border-color:transparent}
.story-step-actions button:not(:disabled):hover{border-color:var(--accent-text);background:var(--soft)}
.story-step-actions [data-move=remove]{background:transparent;border-color:transparent}
#add-story-step{width:100%;justify-content:center;min-height:46px;margin-top:4px}
.story-date-control{display:grid;gap:8px;margin-top:6px}.story-date-control>select{width:100%;min-height:44px;background:#fcf5f8;border-color:#ecdde5}.story-date-parts{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.5fr) minmax(0,1fr);gap:8px}.story-date-parts select{width:100%;min-width:0;min-height:44px;padding:10px 8px;font-size:14px;border-radius:10px}.story-date-parts.year-only{grid-template-columns:1fr}.story-date-parts select[hidden]{display:none}
.editor-fields .story-date-control select{margin-top:0;font-size:14px;padding:10px 24px 10px 8px;background-position:right 8px center}.editor-fields .story-date-parts{grid-template-columns:minmax(0,.85fr) minmax(0,1.5fr) minmax(0,1.15fr)}.editor-fields .story-date-parts.year-only{grid-template-columns:1fr}

body.tier-signature .ku-story-timeline:focus-visible{outline:2px solid currentColor;outline-offset:4px;border-radius:4px}
