:root {
  --paper: #fffaf5;
  --white: #fffefd;
  --ink: #292524;
  --muted: #71635e;
  --line: #ebdfd8;
  --coral: #d33450;
  --orange: #d33450;
  --orange-light: #fff0f0;
  --rose: #ffe8e8;
  --butter: #fff0b5;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  --serif: var(--sans);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 14px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; border: 0; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
button svg, a svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: calc(100% - 80px); max-width: 1180px; margin-inline: auto; }
h1, h2, h3, p { margin-top: 0; }
h2 { margin-bottom: 0; }
.site-header { min-height: 94px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 23px; font-weight: 900; line-height: 1.3; letter-spacing: -1.2px; white-space: nowrap; }
.brand-period { color: var(--coral); }
.brand-mark { display: grid; place-items: center; width: 33px; height: 35px; color: var(--coral); transform: rotate(-12deg); }
.brand-mark svg { width: 30px; height: 30px; stroke-width: 1.8; fill: var(--coral); }
.brand-subtitle { color: var(--muted); font-size: 11px; letter-spacing: .03em; font-weight: 500; margin-left: 18px; }
.header-actions { display: flex; align-items: center; gap: 17px; }
.prototype-pill { display: inline-flex; gap: 7px; align-items: center; padding: 5px 9px; font: 600 10px/1.5 var(--mono); letter-spacing: .06em; border: 1px solid #e8d9d0; border-radius: 5px; color: #806e67; transform: rotate(-2deg); }
.prototype-pill > span { width: 5px; height: 5px; background: var(--coral); border-radius: 50%; }
.quiet-button { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--muted); font-size: 12px; min-height: 44px; padding: 4px 0; }
.question-icon { width: 17px; height: 17px; border: 1px solid #bca8a0; border-radius: 50%; display: grid; place-items: center; font: 11px/1 var(--sans); }
.icon-button { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; background: transparent; color: var(--muted); flex: none; transition: background .18s, color .18s; }
.icon-button:hover { background: var(--rose); color: var(--coral); }
.intro { position: relative; padding: 30px 125px 28px 0; animation: page-enter .7s cubic-bezier(.2,.7,.3,1) both; }
.eyebrow { font: 650 10px/1.6 var(--mono); letter-spacing: .14em; color: var(--muted); margin: 0 0 18px; }
.eyebrow > svg { width: 16px; height: 16px; fill: none; stroke: var(--coral); stroke-width: 1.6; vertical-align: -3px; margin-right: 7px; }
.tiny-spark { color: var(--coral); font-size: 17px; vertical-align: -1px; margin-right: 8px; }
h1 { font-size: clamp(34px, 4vw, 46px); font-weight: 900; letter-spacing: -.065em; line-height: 1.45; margin: 0; }
.hero-break { display: none; }
.intro-line { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 13px 0 0; }
.hero-emphasis { color: var(--coral); display: inline-block; position: relative; }
.hero-emphasis > svg { width: 32px; height: 32px; fill: none; stroke: var(--coral); stroke-width: 1.4; position: absolute; right: -45px; top: 12px; transform: rotate(17deg); }
.hero-emphasis::after { content: ''; position: absolute; left: 1px; right: -3px; bottom: 2px; height: 4px; border-radius: 100%; background: #f8ccd0; transform: rotate(-2deg); }
.intro-aside { padding: 12px 162px 0 0; position: relative; min-height: 145px; }
.intro-aside > p:first-child { font-size: 15px; font-weight: 700; line-height: 1.95; margin-bottom: 10px; letter-spacing: -.01em; }
.intro-aside .intro-small { font-size: 12px; color: var(--muted); line-height: 1.9; margin: 0; }
.moment-signet { position: absolute; right: 2px; top: 50%; margin-top: -48px; width: 96px; height: 96px; border-radius: 50%; background: var(--butter); color: #9a743a; display: flex; align-items: center; justify-content: center; flex-direction: column; transform: rotate(9deg); box-shadow: inset 0 0 0 7px var(--butter), inset 0 0 0 8px #d7b66c; animation: signet-arrive .9s cubic-bezier(.2,.8,.3,1) .2s both; }
.signet-time { font: 700 26px/1.3 var(--mono); color: var(--ink); letter-spacing: -.08em; }
.signet-caption { font-size: 10px; text-align: center; font-weight: 650; line-height: 1.65; margin-top: 6px; }
.signet-star { position: absolute; top: -17px; right: -1px; font-size: 35px; color: var(--coral); }
.moment-signet > svg { position: absolute; right: 11px; bottom: 13px; width: 15px; height: 15px; fill: none; stroke: #c99445; stroke-width: 1.4; transform: rotate(-18deg); }
.perspective-marks { display: flex; align-items: center; gap: 3px; color: var(--coral); }
.perspective-marks > svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.perspective-marks > svg:nth-child(2) { color: #c5a04d; }
.perspective-marks > svg:nth-child(3) { color: #856870; }
.people-preview { display: flex; gap: 9px; align-items: center; margin-top: 15px; color: var(--muted); font-size: 11px; }
.avatar-stack { display: flex; padding-left: 4px; }
.avatar-stack span { width: 25px; height: 25px; margin-left: -4px; border: 2px solid var(--paper); border-radius: 50%; display: grid; place-items: center; color: #90655e; background: #f7ddd6; font-size: 10px; font-weight: 700; }
.avatar-stack span:nth-child(2) { background: #ede5f7; color: #82698c; }
.avatar-stack span:nth-child(3) { background: #fff0b5; color: #b69a48; }
.avatar-stack span:nth-child(4) { background: #dae9e5; color: #708b81; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 0 26px; padding: 0; border: 1px solid var(--line); border-radius: 13px; background: #f8f0e9; overflow: hidden; }
.steps li { display: flex; align-items: center; gap: 12px; position: relative; min-height: 48px; padding: 10px 22px; font-size: 12px; font-weight: 650; color: #806e68; }
.steps li + li { border-left: 1px solid var(--line); }
.step-number { font: 500 11px var(--mono); color: #7f6d67; }
.steps .active { background: var(--white); color: var(--ink); }
.steps .active .step-number { color: var(--coral); }
.steps .complete { color: #846d64; }
.steps li > svg { width: 17px; height: 17px; margin-left: auto; fill: none; stroke: currentColor; stroke-width: 1.7; }
.step-dot { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px #ffe8e9; }
.workspace { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; gap: 35px; }
.player-column { position: sticky; top: 24px; min-width: 0; }
.video-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 17px; }
.video-heading > div { min-width: 0; }
.video-kicker, .section-label { color: var(--coral); font: 650 10px/1.7 var(--mono); letter-spacing: .08em; margin: 0 0 5px; }
.video-kicker span { color: var(--muted); border-left: 1px solid var(--line); margin-left: 7px; padding-left: 8px; font-family: var(--sans); letter-spacing: 0; }
.video-heading h2 { font-size: 21px; font-weight: 800; line-height: 1.5; letter-spacing: -.03em; overflow-wrap: anywhere; }
.video-heading p { font-size: 11px; color: var(--muted); margin: 3px 0 0; }
.text-button { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #8c6b61; font-size: 12px; white-space: nowrap; padding: 7px 0; }
.text-button > span { font-size: 18px; }
.text-button:hover { color: var(--coral); }
.media-card { border-radius: 15px; overflow: hidden; background: #17181d; box-shadow: 0 10px 35px #7440340c; }
.youtube-screen { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 200px; }
.youtube-screen iframe, .youtube-screen > div { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.demo-screen { position: relative; aspect-ratio: 16/9; min-height: 200px; overflow: hidden; }
.demo-screen canvas { width: 100%; height: 100%; display: block; }
.screen-top, .screen-bottom { position: absolute; left: 22px; right: 22px; display: flex; justify-content: space-between; color: #fff8ed99; font: 10px/1.8 var(--mono); letter-spacing: .12em; pointer-events: none; }
.screen-top { top: 20px; }
.screen-bottom { bottom: 22px; align-items: flex-end; }
.screen-bottom b { font-weight: 600; }
.demo-film-label { text-align: right; }
.live-label { display: flex; align-items: center; gap: 5px; }
.live-label i { width: 5px; height: 5px; background: #efbda3; border-radius: 50%; }
.big-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 64px; height: 64px; border-radius: 50%; background: #fff8eff0; color: #4d4651; display: grid; place-items: center; transition: opacity .2s, transform .2s; }
.big-play svg { width: 26px; height: 26px; fill: currentColor; stroke-width: 0; margin-left: 4px; }
.big-play:hover { transform: translate(-50%,-50%) scale(1.08); }
.demo-screen.is-playing .big-play { opacity: 0; pointer-events: none; }
.demo-screen.is-playing:hover .big-play { opacity: .7; pointer-events: auto; }
.transport { min-height: 54px; display: flex; align-items: center; gap: 9px; color: #fff5eb; padding: 0 12px; background: #24242d; }
.transport-play { width: 35px; min-height: 44px; background: transparent; color: inherit; display: grid; place-items: center; }
.transport-play svg { width: 15px; height: 15px; fill: currentColor; }
.current-time, .duration-time { font: 11px var(--mono); }
.duration-time { color: #a6a1ab; }
.seek-range { appearance: none; -webkit-appearance: none; flex: 1; min-width: 0; height: 4px; background: linear-gradient(to right, var(--coral) var(--progress,0%), #615762 var(--progress,0%)); border-radius: 4px; accent-color: var(--coral); cursor: pointer; }
.seek-range::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: #ffadb7; border: 2px solid #24242d; }
.seek-range::-moz-range-thumb { width: 10px; height: 10px; border-radius: 50%; background: #ffadb7; border: 2px solid #24242d; }
.skip-button { position: relative; width: 32px; min-height: 44px; background: transparent; color: #c2b5bd; font-size: 26px; line-height: 1; }
.skip-button small { position: absolute; left: 14px; top: 23px; font-size: 9px; }
.player-error { background: #fff0e4; border: 1px solid #eecdb7; border-radius: 11px; padding: 14px; margin-top: 12px; font-size: 12px; }
.player-error p { margin-bottom: 0; }
.video-meta { display: flex; align-items: start; justify-content: space-between; gap: 12px; margin: 14px 1px 16px; font-size: 11px; color: var(--muted); }
.video-meta > span:first-child { max-width: 78%; }
.video-meta > span:last-child { white-space: nowrap; }
.video-meta b { color: var(--ink); font: 600 12px var(--mono); margin-left: 3px; }
.status-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--coral); margin-right: 6px; vertical-align: 2px; }
.pick-button { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 60px; padding: 13px 20px; background: var(--coral); color: white; border-radius: 12px; font-size: 15px; font-weight: 750; box-shadow: 0 5px 0 #b8314512; transition: background .2s, transform .2s, box-shadow .2s; }
.pick-button:hover { background: #df3c54; transform: translateY(-2px); box-shadow: 0 7px 0 #b8314512; }
.pick-button:active { transform: translateY(1px); box-shadow: 0 2px 0 #b8314512; }
.pick-button > svg { width: 21px; height: 21px; }
.pick-time { margin-left: auto; padding-left: 18px; border-left: 1px solid #ffb4be8c; font: 600 17px var(--mono); letter-spacing: -.03em; }
.pick-button:disabled { background: #eee0da; color: #806e67; box-shadow: none; transform: none; }
.below-player { display: flex; gap: 13px; align-items: flex-start; padding: 23px 2px 14px; }
.mini-star { color: var(--coral); font: 36px/1.3 var(--sans); }
.below-player p { font-size: 12px; line-height: 1.9; color: var(--muted); margin: 0; }
.below-player strong { color: #92645c; font-weight: 650; }
.hand-arrow { margin-left: auto; color: #896b5e; font: 39px/1.2 var(--sans); transform: rotate(9deg); }
.local-note { margin: 16px 0 0; color: #7e6e68; font-size: 11px; line-height: 1.9; }
.local-note > span { display: inline-block; border: 1px solid #dfcec3; border-radius: 4px; padding: 0 5px; margin-right: 4px; font-size: 10px; color: #846c62; }
.mobile-break { display: none; }
.selection-panel { position: relative; min-width: 0; padding: 25px; background: var(--white); border: 1px solid #ebdad2; border-radius: 19px; box-shadow: 0 8px 0 #f0e3d957, 0 20px 55px #8a4e3b05; }
.panel-topline { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 12px; }
.panel-kicker { font: 650 10px/1.5 var(--mono); color: var(--coral); letter-spacing: .1em; }
.count-pill { display: inline-flex; align-items: center; gap: 5px; color: #ad5460; background: #fff0f0; padding: 4px 9px; border-radius: 20px; white-space: nowrap; font: 650 13px/1.5 var(--mono); }
.count-pill > span { font-size: 11px; color: #886b6b; }
.count-pill svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.selection-panel h2 { font-size: 21px; font-weight: 850; letter-spacing: -.04em; line-height: 1.55; }
.panel-description:empty { display: none; }
.panel-description { color: var(--muted); font-size: 12px; margin: 9px 0 20px; line-height: 1.9; }
.empty-state { min-height: 170px; padding: 22px 10px; margin-top: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: #fff8f6; border: 1px dashed #edcfc7; border-radius: 13px; }
.empty-illustration { width: 100px; height: 70px; position: relative; margin-bottom: 16px; }
.empty-frame { position: absolute; left: 5px; top: 10px; width: 82px; height: 50px; display: flex; align-items: center; justify-content: center; gap: 5px; border: 1.5px solid #e8a99f; border-radius: 7px; transform: rotate(-10deg); background: #fff9f4; box-shadow: 4px 5px 0 #fae3d8; }
.empty-frame::before, .empty-frame::after { content: none; }
.empty-frame svg { width: 17px; height: 17px; fill: none; stroke: var(--coral); stroke-width: 1.7; }
.empty-frame b { color: var(--coral); font: 650 14px var(--mono); }
.empty-cursor { position: absolute; right: 0; bottom: -6px; font: 37px/1 var(--sans); color: var(--coral); -webkit-text-stroke: 2px #fff8f6; transform: rotate(8deg); }
.empty-star { position: absolute; right: 3px; top: -13px; font-size: 27px; color: #df9d71; }
.empty-state p { color: #926761; font-size: 13px; line-height: 1.8; margin: 0; }
.empty-state > span { font-size: 10px; color: #846d67; }
.disclosure { text-align: center; color: var(--muted); font-size: 12px; line-height: 1.9; margin: 23px 0 15px; }
.disclosure > span { display: block; font-size: 10px; color: #806e67; margin-top: 6px; }
.commit-button, .dialog-primary { width: 100%; min-height: 55px; padding: 13px 16px; display: flex; align-items: center; justify-content: space-between; gap: 9px; border-radius: 10px; color: #fffaf5; background: var(--ink); text-align: left; font-size: 12px; font-weight: 650; transition: transform .18s, background .18s; }
.commit-button > svg { width: 18px; height: 18px; }
.commit-button:disabled { background: #ece4df; color: #7e6e67; }
.commit-button:not(:disabled):hover, .dialog-primary:hover { transform: translateY(-1px); background: #51423d; }
.commit-footnote { text-align: center; color: #806d64; font-size: 10px; margin: 10px 0 0; }
.draft-card { background: #fffbf7; border: 1px solid #efd9ce; border-radius: 12px; padding: 14px; margin-top: 13px; animation: card-enter .35s ease both; }
.draft-card-top { display: flex; align-items: center; gap: 7px; }
.draft-index { font: 10px var(--mono); color: #846d63; }
.draft-time { width: 102px; min-width: 0; height: 44px; padding: 0; border: 0; background: transparent; color: var(--coral); font: 600 31px/1 var(--mono); letter-spacing: -.08em; border-radius: 4px; }
.time-nudge { display: flex; gap: 3px; margin-left: auto; }
.time-nudge button { min-width: 38px; min-height: 44px; padding: 4px; background: #f9eee8; color: #8d695b; border-radius: 7px; font: 12px var(--mono); }
.time-nudge button:hover { background: #f8e0d7; }
.delete-pick { width: 34px; min-height: 44px; padding: 6px; display: grid; place-items: center; background: transparent; color: #846c63; border-radius: 7px; }
.delete-pick svg { width: 16px; height: 16px; }
.note-field { position: relative; margin-top: 9px; }
.note-field textarea { width: 100%; min-height: 105px; max-height: 240px; display: block; resize: vertical; background: #fff5ef; border: 1px solid transparent; border-radius: 9px; padding: 13px 11px 25px; color: #76594e; font-size: 14px; line-height: 1.85; }
.note-field textarea::placeholder { color: #826e64; }
.note-field textarea:focus { background: #fffaf7; border-color: #f2b9b4; }
.note-counter { position: absolute; right: 9px; bottom: 6px; font: 10px var(--mono); color: #806c63; pointer-events: none; }
.draft-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 5px; }
.draft-card-bottom > span { font-size: 10px; color: #816c61; }
.preview-pick { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 6px 0; font-size: 11px; color: #94675a; background: transparent; }
.preview-pick svg { width: 13px; height: 13px; }
.reveal-note { display: flex; align-items: start; gap: 11px; background: #fff0e5; border-radius: 10px; padding: 13px; margin-bottom: 19px; }
.reveal-note > span { font: 28px/1.4 var(--sans); color: #de8c67; }
.reveal-note p { color: #906654; font-size: 12px; line-height: 1.9; margin: 0; }
.reveal-note strong { color: #9c634d; font-weight: 650; }
.community-view-tabs { display: grid; grid-template-columns: 1.28fr .72fr; gap: 4px; background: #f9efeb; border: 1px solid #f1e2db; border-radius: 11px; padding: 4px; margin-bottom: 17px; }
.community-view-tabs button { min-height: 44px; border-radius: 8px; background: transparent; color: #886c62; font-size: 11px; padding: 8px 6px; transition: color .18s, background .18s, box-shadow .18s; }
.community-view-tabs button.active, .community-view-tabs button[aria-pressed="true"] { background: #fffefd; color: var(--coral); box-shadow: 0 2px 7px #9b5e4210; font-weight: 750; }
.community-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.community-toolbar > span { color: #836b61; font-size: 11px; }
.list-filters { display: flex; padding: 2px; background: #f6eee7; border-radius: 8px; }
.list-filters button { min-height: 36px; padding: 6px 11px; border-radius: 6px; background: transparent; color: #836b5e; font-size: 11px; }
.list-filters button.active { background: #fffcf9; color: #8f6756; font-weight: 650; box-shadow: 0 1px 3px #98644a0c; }
.community-moment { position: relative; padding: 17px 0 14px; border-top: 1px solid var(--line); transition: background .2s, border-color .2s; }
.community-moment.is-mine { margin: 0 -11px 8px; padding: 15px 11px 13px; background: #fff2f1; border-radius: 11px; border: 1px solid #f4d7d5; }
.community-moment.is-current { margin: 0 -11px 8px; padding: 15px 11px 13px; background: #fff5d7; border-radius: 11px; border: 1px solid #ebd99a; }
.moment-main { display: flex; }
.moment-copy { width: 100%; min-width: 0; }
.moment-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 5px; }
.moment-time-button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; background: transparent; color: var(--coral); font: 600 32px/1.2 var(--mono); letter-spacing: -.08em; border-radius: 4px; }
.moment-time-button:hover { color: #c8364c; }
.moment-time-button svg { width: 14px; height: 14px; }
.moment-time-button svg.seek-icon, .preview-pick svg.seek-icon { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.moment-author { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: #836c63; white-space: nowrap; }
.author-dot { height: 5px; width: 5px; background: var(--author-color,#dfb6a4); border-radius: 50%; }
.is-mine .moment-author { color: #97656b; }
.moment-note { color: #775f55; font-size: 14px; line-height: 1.95; margin: 2px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.moment-empty-note { font-size: 12px; color: #826e64; }
.moment-playing-label { display: flex; gap: 5px; align-items: center; font-size: 10px; color: #b58e44; margin: 7px 0 0; }
.moment-playing-label::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: #c69e49; }
.moment-note-footer { display: flex; justify-content: flex-end; margin-top: 4px; }
.note-like-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 7px 10px; border: 1px solid transparent; border-radius: 24px; color: #816b61; background: transparent; font-size: 11px; font-weight: 500; line-height: 1.5; transition: color .18s, background .18s, border-color .18s; }
.note-like-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.note-like-count { font: 600 11px var(--mono); min-width: 1ch; }
.note-like-button[aria-pressed="true"] { color: var(--coral); background: #ffecec; border-color: #ffe1e3; }
.note-like-button[aria-pressed="true"] svg { fill: currentColor; }
.note-like-button:disabled { color: #806c64; background: transparent; }
.new-posts { width: 100%; min-height: 60px; display: flex; align-items: center; flex-direction: column; gap: 1px; padding: 10px; margin-bottom: 17px; border: 1px solid #edcbbb; border-radius: 11px; background: #fff1e7; color: #926753; font-size: 12px; }
.new-posts span:last-child { font-size: 10px; color: #856a5e; }
.more-button { display: block; width: 100%; min-height: 46px; margin-top: 10px; padding: 10px; background: #fbf0e9; color: #8c6b5d; border-radius: 9px; font-size: 12px; }
.community-empty { padding: 28px 13px; border-radius: 11px; background: #fbf4ed; color: #846e62; font-size: 12px; line-height: 2; text-align: center; }
.share-card { display: flex; flex-wrap: wrap; gap: 11px; padding: 19px 17px; margin-top: 24px; border: 1px solid #eedcb0; border-radius: 13px; background: #fff7dc; }
.share-card > div { flex-basis: 100%; }
.share-card p { flex: 1; align-self: center; font-size: 14px; font-weight: 750; color: #9e7942; margin: 0; }
.share-card > div > span { font-size: 11px; color: #846f54; }
.share-card small { flex-basis: 100%; font-size: 10px; line-height: 1.9; color: #816e55; }
.share-button { min-height: 47px; padding: 11px 14px; border-radius: 9px; display: flex; align-items: center; justify-content: center; gap: 8px; background: #2c2725; color: #fff8e9; font-size: 12px; font-weight: 650; transition: background .18s, transform .18s; }
.share-button:hover { background: #594338; transform: translateY(-1px); }
.share-button svg { width: 17px; height: 17px; }
.discovery-button, .delete-own-button { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; min-height: 49px; padding: 12px 0 0; border-top: 1px solid var(--line); margin-top: 19px; color: #846b5e; background: transparent; font-size: 11px; text-align: left; }
.delete-own-button { justify-content: center; text-align: center; color: #876c61; }
.selected-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; background: #fff0ef; border: 1px solid #f2d4d0; border-radius: 11px; padding: 10px 13px; margin-top: 16px; }
.selected-summary > span { font-size: 11px; color: #906461; margin-right: auto; }
.selected-summary button { min-height: 44px; padding: 6px 10px; background: #fffaf7; border-radius: 7px; color: #976161; font: 600 14px var(--mono); }
.ranking-intro { color: #846b5e; font-size: 11px; line-height: 1.95; margin: 0 0 16px; }
.ranking-item { background: #fffaf6; border: 1px solid #ecdcd1; border-radius: 12px; margin: 10px 0; overflow: hidden; transition: border-color .2s, background .2s; }
.ranking-item[open] { border-color: #edc0b4; background: #fffaf6; }
.ranking-row { display: grid; grid-template-columns: 30px 87px 1fr; align-items: center; gap: 6px; list-style: none; cursor: pointer; padding: 17px 13px 13px; min-height: 91px; color: #856b5a; }
.ranking-row::-webkit-details-marker { display: none; }
.ranking-row::marker { content: ''; }
.ranking-position { align-self: start; padding-top: 6px; font-size: 11px; font-weight: 700; color: #826d5f; }
.ranking-item:first-child .ranking-position { color: var(--coral); }
.ranking-time { font: 600 29px/1.3 var(--mono); letter-spacing: -.08em; color: var(--coral); }
.ranking-count { text-align: right; color: #886c5b; font-size: 12px; white-space: nowrap; }
.ranking-count strong { color: #93674d; font: 700 18px var(--mono); }
.ranking-count small { display: block; color: #846e61; font-size: 10px; line-height: 1.8; }
.ranking-notes-toggle { grid-column: 2/-1; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #846e60; font-size: 10px; }
.ranking-notes-toggle > span { font-size: 19px; line-height: 1; transition: transform .2s; }
.ranking-item[open] .ranking-notes-toggle > span { transform: rotate(180deg); }
.ranking-comments { border-top: 1px dashed #ead5c6; margin: 0 13px 0 48px; padding: 2px 0 11px; }
.ranking-comment { padding: 9px 0 4px; border-top: 1px solid #f0e4d9; overflow-wrap: anywhere; }
.ranking-comment:first-child { border-top: 0; }
.ranking-comment-meta { display: flex; align-items: center; gap: 5px; font-size: 10px; }
.ranking-comment-meta .moment-time-button { font-size: 13px; letter-spacing: -.03em; gap: 5px; }
.ranking-comment-meta .moment-time-button svg { width: 12px; height: 12px; }
.ranking-comment-meta .moment-author { margin-left: auto; }
.ranking-comment .moment-note { font-size: 13px; margin-top: 0; }
.ranking-empty-note { color: #816d5e; font-size: 11px; line-height: 1.9; margin: 8px 0; }
.shared-entry-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; background: #fff0ed; border: 1px solid #efc8bf; border-radius: 12px; padding: 13px; margin-top: 16px; }
.shared-entry-mark { color: var(--coral); font-size: 28px; }
.shared-entry-banner > div { flex: 1; min-width: 0; }
.shared-entry-banner p { color: #89685d; font-size: 10px; margin: 0; }
.shared-entry-banner strong { font: 600 23px var(--mono); color: var(--coral); letter-spacing: -.06em; }
.shared-entry-help { display: block; font-size: 10px; line-height: 1.8; color: #846b61; }
.shared-play-button { display: inline-flex; justify-content: center; align-items: center; gap: 5px; min-height: 44px; padding: 8px 11px; border-radius: 8px; background: #ffe1da; color: #996557; font-size: 11px; }
.shared-play-button svg { width: 12px; height: 12px; fill: currentColor; stroke-width: 0; }
.shared-entry-banner > .icon-button { width: 35px; }
.shared-entry-banner > .icon-button svg { width: 15px; height: 15px; }
.closing-note { display: flex; align-items: center; gap: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 64px; padding: 30px 0; }
.closing-note > span:first-child { font-size: 44px; line-height: 1; color: #e6a385; transform: rotate(12deg); }
.closing-note p { color: #856b61; font-size: 12px; line-height: 2; margin: 0; }
.closing-note p b { color: #916756; font-weight: 650; }
.closing-en { margin-left: auto; font: 600 10px/1.9 var(--mono); letter-spacing: .1em; color: #846e64; }
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 27px 0 34px; color: #806c61; font-size: 10px; }
.site-footer > span:first-child { font-size: 13px; color: #886b5b; font-weight: 800; }
.site-footer > span:nth-child(2) { font-family: var(--mono); }
.site-footer button { min-height: 44px; color: #826b5e; background: transparent; font-size: 10px; padding: 5px 0; }
.toast { position: fixed; bottom: 25px; left: 50%; transform: translate(-50%,15px); padding: 13px 21px; background: #392e2a; color: #fff7eb; border-radius: 12px; box-shadow: 0 6px 30px #59332226; max-width: calc(100% - 32px); width: max-content; font-size: 12px; text-align: center; opacity: 0; pointer-events: none; z-index: 200; transition: opacity .2s, transform .2s; }
.toast.visible { opacity: 1; transform: translate(-50%,0); }
.back-to-player { display: none; position: fixed; bottom: max(16px, env(safe-area-inset-bottom)); left: 20px; right: 20px; min-height: 51px; padding: 12px 16px; align-items: center; gap: 9px; border-radius: 12px; background: #fff9f2f5; border: 1px solid #eac3b0; backdrop-filter: blur(12px); box-shadow: 0 7px 25px #753e2721; color: #976655; font-size: 12px; z-index: 40; }
.back-to-player svg { width: 14px; height: 14px; }
.back-to-player > span:last-child { margin-left: auto; }
dialog { width: min(560px, calc(100% - 34px)); max-height: 87dvh; overflow: auto; padding: 29px; background: var(--paper); border: 1px solid #ead6c9; border-radius: 22px; color: var(--ink); box-shadow: 0 25px 100px #3c211b4a; }
dialog[open] { animation: dialog-enter .25s ease both; }
dialog::backdrop { background: #39281f70; backdrop-filter: blur(5px); }
.dialog-header { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 24px; }
.dialog-header .eyebrow { font-size: 9px; color: #896a5e; margin-bottom: 8px; }
.dialog-header h2 { font-size: 21px; font-weight: 850; line-height: 1.65; letter-spacing: -.04em; }
.dialog-header > .icon-button { margin-top: -5px; margin-right: -8px; }
.dialog-help, .mock-disclaimer { color: #836d61; font-size: 12px; line-height: 1.95; }
.dialog-primary { margin-top: 17px; font-size: 13px; }
.secondary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 15px; border-radius: 9px; background: #f3e8df; border: 1px solid #ebd9cb; color: #8b6c5b; font-size: 12px; }
.dialog-actions { display: flex; gap: 10px; margin-top: 23px; }
.dialog-actions > * { flex: 1; margin: 0; }
.demo-choice, .tool-choice { display: flex; align-items: center; gap: 13px; width: 100%; min-height: 80px; padding: 14px; border-radius: 11px; border: 1px solid #eddccd; background: #fffdf9; color: #a27c63; text-align: left; }
.demo-choice img { width: 90px; height: 55px; object-fit: cover; border-radius: 6px; }
.demo-choice > span:nth-child(2), .tool-choice > span:first-child { flex: 1; }
.demo-choice b, .tool-choice b { display: block; font-size: 13px; font-weight: 750; color: #9e745c; }
.demo-choice small, .tool-choice small { display: block; margin-top: 5px; font-size: 10px; line-height: 1.8; color: #baa18d; }
.dialog-divider { display: flex; align-items: center; gap: 13px; font-size: 11px; color: #806c60; margin: 24px 0; }
.dialog-divider::before, .dialog-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
#youtube-form > label { display: block; font-size: 12px; font-weight: 650; color: #886b58; margin-bottom: 8px; }
.url-input-row { display: flex; }
.url-input-row input { width: 0; flex: 1; min-height: 48px; border: 1px solid #e5d2c1; border-radius: 8px 0 0 8px; padding: 10px; background: #fffefd; font-size: 13px; color: #8a6850; }
.url-input-row input::placeholder { color: #816e64; }
.url-input-row button { min-height: 48px; padding: 10px 15px; border-radius: 0 8px 8px 0; background: #b77d61; color: #fffaf3; font-size: 12px; }
.field-error { color: #d65560; font-size: 11px; margin-top: 9px; }
.field-error:empty { display: none; }
.guide-list { list-style: none; padding: 0; margin: 0 0 20px; }
.guide-list li { display: flex; gap: 16px; padding: 17px 0; border-top: 1px solid var(--line); }
.guide-list li > span { color: var(--coral); font: 600 15px var(--mono); padding-top: 3px; }
.guide-list h3 { color: #8d6850; font-size: 14px; line-height: 1.8; margin: 0 0 5px; }
.guide-list p { color: #816c5f; font-size: 12px; line-height: 1.9; margin: 0; }
.guide-details { border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.guide-details > summary { padding: 12px 0; min-height: 44px; cursor: pointer; }
.guide-details > p { margin: 0 0 15px; line-height: 1.9; }
.mock-disclaimer { background: #f6ece1; border-radius: 9px; padding: 13px; }
.tool-choice + .tool-choice { margin-top: 11px; }
.feedback-options { display: flex; gap: 10px; margin: 23px 0; }
.feedback-options button { flex: 1; min-height: 59px; padding: 12px; background: #ffede2; border: 1px solid #edcdb4; border-radius: 11px; color: #8f684d; font-size: 12px; }
.feedback-options button.selected, .feedback-options button[aria-pressed="true"] { background: var(--rose); color: var(--coral); border-color: #f5b8bd; }
.copy-link-input { width: 100%; min-height: 150px; padding: 13px; border: 1px solid #e4cebc; border-radius: 9px; background: #fffdf9; color: #8f6b52; font-size: 13px; }
.share-moment-preview { position: relative; background: #fff0ee; border: 1px solid #f1cfc8; border-radius: 13px; padding: 21px; margin-bottom: 23px; }
#share-title { color: #886a5f; font-size: 11px; margin: 0 0 11px; overflow-wrap: anywhere; }
#share-time { color: var(--coral); font: 600 45px/1.2 var(--mono); letter-spacing: -.08em; }
#share-note { color: #946459; font-size: 15px; line-height: 1.95; white-space: pre-wrap; overflow-wrap: anywhere; margin: 12px 0 0; }
.share-text-label { display: block; color: #876b58; font-size: 12px; font-weight: 650; margin-bottom: 8px; }
#share-text { width: 100%; min-height: 150px; max-height: 300px; resize: vertical; border: 1px solid #e7d3c2; border-radius: 9px; padding: 13px; background: #fffdf9; color: #8d6b51; font-size: 13px; line-height: 1.95; }
.share-limit-note { color: #9c6350; font-size: 10px; line-height: 1.9; margin: 7px 0; }
.share-limit-note:empty { display: none; }
.share-mode-note { font-size: 11px; line-height: 1.95; color: #816c5e; margin: 14px 0 18px; }
.share-x-link { margin: 0; justify-content: center; gap: 12px; }
.share-x-link > span:last-child { margin-left: auto; }
.x-symbol { margin-right: auto; font-size: 21px; font-weight: 500; }
.share-compose-help { color: #846e61; text-align: center; font-size: 10px; margin: 9px 0 19px; }
.share-copy-actions { display: flex; gap: 9px; }
.share-copy-actions > button { flex: 1; font-size: 11px; }
.preview-shared-moment { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 55px; color: #886b58; font-size: 11px; line-height: 1.9; margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); }
/* Small, finite motions give each contribution a little life. */
.motion-picked { animation: picked-pulse .65s ease both; }
.motion-reveal { animation: reveal-open .65s cubic-bezier(.2,.7,.3,1) both; }
.motion-like svg { animation: like-pop .42s cubic-bezier(.2,.8,.3,1); }
.motion-list > * { animation: card-enter .4s cubic-bezier(.2,.7,.3,1) both; animation-delay: calc(min(var(--item-order,0),7) * 45ms); }
.motion-list > :nth-child(2) { animation-delay: 45ms; }
.motion-list > :nth-child(3) { animation-delay: 90ms; }
.motion-list > :nth-child(4) { animation-delay: 135ms; }
.motion-list > :nth-child(5) { animation-delay: 180ms; }
.motion-list > :nth-child(n+6) { animation-delay: 225ms; }
.celebration-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; border-radius: inherit; z-index: 10; }
.confetti-piece { position: absolute; left: 50%; top: 150px; width: 14px; height: 14px; pointer-events: none; z-index: 150; border-radius: 2px; background: transparent !important; animation: love-confetti .85s ease-out both; animation-delay: var(--delay,0ms); }
.confetti-piece > svg { width: 100%; height: 100%; display: block; fill: currentColor; stroke: currentColor; stroke-width: 1; }
@keyframes page-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes signet-arrive { from { opacity: 0; transform: translateY(10px) rotate(-6deg) scale(.9); } to { opacity: 1; transform: translateY(0) rotate(9deg) scale(1); } }
@keyframes card-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes picked-pulse { 0%, 100% { box-shadow: 0 8px 0 #f0e3d957, 0 20px 55px #8a4e3b05; } 40% { box-shadow: 0 0 0 5px #ffdde2, 0 15px 40px #ef4e6413; } }
@keyframes reveal-open { from { opacity: .5; transform: translateY(13px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes like-pop { 0%, 100% { transform: scale(1); } 35% { transform: scale(1.36) rotate(-12deg); } 65% { transform: scale(.94) rotate(7deg); } }
@keyframes dialog-enter { from { opacity: .4; transform: translateY(13px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes love-confetti { 0% { opacity: 0; transform: translate(0,0) rotate(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx),var(--dy)) rotate(var(--rot)); } }
@media (hover:hover) { .note-like-button:not(:disabled):hover { background: #fff0f0; color: #a05e66; } .note-like-button[aria-pressed="true"]:hover { background: #ffdee2; color: #db4059; } }
@media (max-width:1100px) {
  .wrap { width: calc(100% - 56px); }
  .brand-subtitle { display: none; }
  .intro-aside { padding-right: 132px; }
  .moment-signet { width: 90px; height: 90px; margin-top: -45px; }
  .signet-time { font-size: 27px; }
  .signet-caption { font-size: 9px; }
  .steps li { padding-inline: 17px; gap: 9px; font-size: 11px; }
  .workspace { gap: 25px; }
  .selection-panel { padding: 21px; }
  .selection-panel h2 { font-size: 20px; }
  .ranking-row { grid-template-columns: 24px 78px 1fr; padding-inline: 11px; }
  .ranking-time { font-size: 27px; }
  .ranking-count { font-size: 11px; }
  .ranking-comments { margin-left: 39px; }
  .draft-card { padding: 11px; }
  .draft-card-top { gap: 4px; }
  .draft-index { display: none; }
  .draft-time { width: 94px; font-size: 30px; }
  .time-nudge button { min-width: 33px; }
  .delete-pick { width: 29px; }
}
@media (max-width:800px) {
  .wrap { width: calc(100% - 44px); }
  .site-header { min-height: 80px; }
  .brand { font-size: 22px; }
  .header-actions { gap: 13px; }
  .intro { padding: 24px 0; }
  .hero-break { display: block; }
  .intro-line { font-size: 13px; margin-top: 13px; }
  h1 { font-size: clamp(39px,8vw,57px); letter-spacing: -.065em; }
  .eyebrow { font-size: 9px; margin-bottom: 15px; letter-spacing: .09em; }
  .hero-emphasis > svg { width: 28px; height: 28px; right: -39px; top: 9px; }
  .intro-aside { min-height: 113px; padding: 0 138px 0 0; margin-top: 22px; }
  .intro-aside > p:first-child { font-size: 14px; margin-bottom: 8px; }
  .intro-aside .intro-small { font-size: 11px; }
  .moment-signet { display: none; }
  .steps { margin-bottom: 24px; border-radius: 10px; }
  .steps li { min-height: 44px; padding: 10px 12px; gap: 8px; font-size: 12px; }
  .step-number { font-size: 10px; }
  .steps li > svg { width: 13px; height: 13px; }
  .step-dot { width: 5px; height: 5px; }
  .workspace { display: block; }
  .player-column { position: static; }
  .video-heading { margin-bottom: 14px; }
  .video-heading h2 { font-size: 22px; }
  .media-card { border-radius: 13px; }
  .pick-button { min-height: 59px; }
  .selection-panel { margin-top: 29px; padding: 24px; border-radius: 17px; }
  .selection-panel h2 { font-size: 23px; }
  .panel-description { font-size: 13px; }
  .panel-kicker { font-size: 10px; }
  .empty-state { min-height: 165px; }
  .empty-state > span { font-size: 11px; }
  .draft-card { padding: 15px; }
  .draft-card-top { gap: 7px; }
  .draft-index { display: inline; }
  .draft-time { width: 110px; font-size: 34px; }
  .time-nudge button { min-width: 42px; }
  .delete-pick { width: 35px; }
  .draft-card-bottom > span, .preview-pick { font-size: 11px; }
  .note-field textarea { font-size: 16px; min-height: 111px; }
  .list-filters button { min-height: 44px; }
  .community-view-tabs button { font-size: 12px; min-height: 47px; }
  .community-toolbar > span { font-size: 12px; }
  .moment-author { font-size: 11px; }
  .note-like-button { font-size: 12px; }
  .note-like-count { font-size: 12px; }
  .ranking-row { grid-template-columns: 31px 94px 1fr; padding: 17px 14px 13px; }
  .ranking-time { font-size: 31px; }
  .ranking-count { font-size: 12px; }
  .ranking-position { font-size: 12px; }
  .ranking-comments { margin-left: 51px; }
  .ranking-intro { font-size: 12px; }
  .share-card small { flex-basis: 100%; font-size: 11px; }
  .share-card > div > span { font-size: 12px; }
  .share-button { min-height: 49px; font-size: 13px; }
  .discovery-button, .delete-own-button { font-size: 12px; }
  .back-to-player:not([hidden]) { display: flex; }
  .closing-note { margin-top: 42px; padding: 26px 0; }
  .closing-en { font-size: 9px; }
  .site-footer { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  .toast { bottom: 82px; }
}
@media (max-width:540px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 74px; gap: 8px; }
  .brand { font-size: 20px; letter-spacing: -1.2px; gap: 7px; }
  .brand-mark { width: 26px; }
  .brand-mark svg { width: 26px; height: 26px; }
  .prototype-pill { display: none; }
  .header-actions { gap: 8px; }
  .header-actions > .icon-button { width: 35px; }
  .quiet-button { font-size: 11px; gap: 5px; }
  .intro { padding-top: 22px; }
  h1 { font-size: clamp(38px,10vw,47px); line-height: 1.45; }
  .hero-emphasis > svg { width: 25px; height: 25px; right: -34px; top: 9px; }
  .intro-aside { padding-right: 111px; margin-top: 23px; min-height: 112px; }
  .intro-aside > p:first-child { font-size: 14px; line-height: 1.95; }
  .intro-aside .intro-small { font-size: 12px; line-height: 1.9; }
  .moment-signet { width: 98px; height: 98px; margin-top: 0; right: 0; box-shadow: inset 0 0 0 5px var(--butter), inset 0 0 0 6px #d7b66c; }
  .signet-time { font-size: 24px; }
  .signet-caption { margin-top: 4px; font-size: 8px; }
  .signet-star { font-size: 28px; top: -16px; }
  .steps li { padding: 10px; font-size: 12px; min-height: 44px; }
  .steps li > svg { right: 7px; width: 11px; height: 11px; }
  .step-dot { right: 10px; }
  .video-heading h2 { font-size: 20px; }
  .video-kicker, .video-heading p { font-size: 10px; }
  .text-button { font-size: 11px; gap: 4px; }
  .video-meta { font-size: 10px; margin-top: 12px; }
  .video-meta > span:first-child { max-width: 74%; }
  .pick-button { min-height: 58px; padding-inline: 16px; font-size: 14px; }
  .pick-time { font-size: 16px; padding-left: 14px; }
  .below-player { gap: 10px; padding-top: 20px; }
  .below-player p { font-size: 11px; }
  .mini-star { font-size: 31px; }
  .hand-arrow { font-size: 32px; }
  .local-note { font-size: 10px; }
  .selection-panel { padding: 22px 19px; margin-top: 25px; }
  .selection-panel h2 { font-size: 21px; }
  .panel-description { font-size: 13px; }
  .draft-card { padding: 12px; }
  .draft-index { display: none; }
  .draft-time { width: 104px; font-size: 32px; }
  .time-nudge button { min-width: 36px; }
  .delete-pick { width: 30px; }
  .draft-card-bottom { gap: 5px; }
  .draft-card-bottom > span { font-size: 9px; }
  .preview-pick { font-size: 10px; }
  .note-field textarea { font-size: 16px; padding-inline: 10px; }
  .commit-button { padding-inline: 13px; font-size: 12px; }
  .reveal-note { gap: 9px; padding: 12px; }
  .reveal-note p { font-size: 12px; }
  .community-view-tabs button { font-size: 12px; }
  .community-toolbar > span { font-size: 11px; }
  .list-filters button { font-size: 10px; padding-inline: 10px; }
  .moment-time-button { font-size: 33px; }
  .moment-note { font-size: 14px; }
  .moment-author { font-size: 10px; }
  .ranking-row { grid-template-columns: 26px 82px 1fr; padding: 16px 11px 13px; }
  .ranking-time { font-size: 28px; }
  .ranking-count { font-size: 11px; }
  .ranking-comments { margin-left: 43px; }
  .ranking-intro { font-size: 12px; }
  .ranking-comment .moment-note { font-size: 14px; }
  .share-card { padding: 17px 14px; }
  .share-card p { font-size: 13px; }
  .share-card > div > span { font-size: 11px; }
  .share-card small { flex-basis: 100%; font-size: 10px; }
  .selected-summary > span { font-size: 10px; }
  .selected-summary button { font-size: 13px; }
  .shared-entry-banner { padding: 12px; gap: 8px; }
  .shared-entry-mark { display: none; }
  .shared-entry-banner > div { flex-basis: calc(100% - 40px); }
  .shared-entry-banner > .icon-button { order: 2; align-self: start; }
  .shared-entry-banner .shared-play-button { order: 3; margin-top: 2px; }
  .closing-note { gap: 13px; }
  .closing-note > span:first-child { font-size: 36px; }
  .closing-note p { font-size: 12px; }
  .closing-en { display: none; }
  .site-footer { gap: 3px 12px; flex-wrap: wrap; }
  .site-footer > span:nth-child(2) { font-size: 9px; }
  .site-footer button { text-align: right; }
  dialog { padding: 23px 20px; border-radius: 18px; }
  .dialog-header h2 { font-size: 20px; }
  .dialog-header { gap: 8px; margin-bottom: 21px; }
  .dialog-help, .guide-list p { font-size: 12px; }
  .guide-list h3 { font-size: 13px; }
  .url-input-row input { font-size: 16px; }
  .demo-choice { gap: 10px; padding: 11px; }
  .demo-choice img { width: 75px; height: 49px; }
  .demo-choice b, .tool-choice b { font-size: 12px; }
  .demo-choice small { font-size: 9px; }
  .share-copy-actions { flex-direction: column; }
  .share-copy-actions > button { font-size: 12px; }
  .share-moment-preview { padding: 18px; }
  #share-text { font-size: 16px; }
  .share-mode-note, .share-compose-help { font-size: 12px; }
  .preview-shared-moment { font-size: 11px; }
  .feedback-options { gap: 8px; }
  .feedback-options button { font-size: 11px; padding: 10px; }
}
@media (max-width:360px) {
  .wrap { width: calc(100% - 30px); }
  .brand { font-size: 18px; }
  .header-actions { gap: 4px; }
  .question-icon { display: none; }
  h1 { font-size: 35px; }
  .hero-emphasis > svg { right: -29px; width: 21px; }
  .intro-aside { padding-right: 0; }
  .intro-aside > p:first-child { font-size: 14px; }
  .moment-signet { display: none; }
  .signet-time { font-size: 21px; }
  .signet-caption { font-size: 7px; }
  .steps li { font-size: 11px; padding-inline: 8px; gap: 6px; }
  .selection-panel { padding-inline: 16px; }
  .draft-card-top { gap: 4px; }
  .draft-time { width: 90px; font-size: 29px; }
  .time-nudge button { min-width: 32px; }
  .delete-pick { width: 28px; }
  .ranking-row { grid-template-columns: 22px 75px 1fr; gap: 4px; }
  .ranking-time { font-size: 26px; }
  .ranking-count { font-size: 10px; }
}
/* Motion is on by default and follows the device accessibility preference. */
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .confetti-piece { display: none; }
}
