@font-face {
  font-family: "Life Pretendard";
  src: local("Pretendard Variable"), url("/assets/pretendard-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 45 920;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #222329;
  --muted: #656871;
  --citrus: #ff681c;
  --orange: #b93c05;
  --primary: var(--citrus);
  --on-citrus: #2e180b;
  --tint: #fff1e6;
  --wash: #f6f6f7;
  --line: #e9e9eb;
  --paper: #fff;
  --font: "Life Pretendard", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: white; color: var(--ink); font: 450 1rem/1.55 var(--font); word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4,p,figure { margin: 0; }
h1,h2,h3,h4 { line-height: 1.25; letter-spacing: -.038em; }
a { color: inherit; text-decoration: none; }
button,input { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
button:disabled { cursor: default; }
button,a,summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible { outline: 3px solid #1469a0; outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
i[data-icon] { display: inline-flex; }
summary { cursor: pointer; }
button:enabled:active { transform: translateY(1px); }
.top { border-bottom: 1px solid var(--line); background: white; }
.bar,.shell { width: min(100%, 1224px); margin-inline: auto; padding-inline: clamp(20px,4vw,56px); }
.bar { height: 76px; display: flex; align-items: center; gap: 66px; }
.brand { display: inline-flex; gap: 10px; align-items: center; font-size: 1.31rem; font-weight: 790; letter-spacing: -.055em; white-space: nowrap; }
.brand-face { height: 34px; width: 34px; flex: none; border-radius: 11px; background: var(--citrus) url("/assets/brand-face.webp") center / cover no-repeat; }
.main-nav { display: flex; gap: 30px; align-self: stretch; }
.main-nav a { position: relative; display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--muted); font-size: .94rem; font-weight: 570; padding-inline: 4px; }
.main-nav a .ic { width: 18px; height: 18px; }
.main-nav a[aria-current=page] { color: var(--ink); font-weight: 740; }
.main-nav a[aria-current=page]::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--citrus); border-radius: 2px 2px 0 0; }
.bar-tools { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.balance { min-height: 44px; display: flex; align-items: center; gap: 7px; padding: 5px 9px; font-size: .96rem; font-variant-numeric: tabular-nums; }
.point-mark { width: 22px; height: 22px; display: grid; place-items: center; background: #ffda79; border: 2px solid #ffcd54; box-shadow: inset 0 0 0 1px #ffe8ad; color: #784600; border-radius: 50%; font-size: .82rem; line-height: 1; font-weight: 810; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; flex: none; padding: 0; }
.icon-btn .ic { width: 21px; height: 21px; }
.icon-btn:hover,.balance:hover { background: var(--wash); }
.shell { padding-bottom: 28px; }
.day-head { padding: 32px 0 22px; }
.day-time { display: flex; gap: 7px; align-items: center; color: var(--muted); font-size: .88rem; font-weight: 490; font-variant-numeric: tabular-nums; }
.day-time>span { border-right: 1px solid #c6c7ca; padding-right: 7px; line-height: 1; }
.title-line { display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.title-line h1,.page-head h1 { font-size: clamp(2rem,3.2vw,2.9rem); font-weight: 765; letter-spacing: -.055em; }
.name-btn { color: #72757c; align-self: center; }
.name-btn .ic { width: 16px; height: 16px; }
.dashboard,.below { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); column-gap: clamp(32px,4.7vw,68px); align-items: start; }
.moment,.vote-panel,.below>* { min-width: 0; }
.hero { position: relative; overflow: hidden; isolation: isolate; border-radius: 21px; background: #ebe9e3; aspect-ratio: 3/2; }
.hero img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero.has-photo img { object-fit: cover; }
.day-badge,.hero-shot-meta .shot-setting { display: inline-flex; align-items: center; gap: 6px; color: white; background: #242120db; font-size: .84rem; line-height: 1.25; font-weight: 610; padding: 6px 10px; border-radius: 8px; }
.day-badge { position: absolute; left: 14px; top: 14px; color: var(--on-citrus); background: var(--citrus); font-weight: 720; }
.hero-shot-meta { position: absolute; bottom: 14px; left: 14px; }
.hero-shot-meta .shot-outfit { display: none; }
.hero-shot-meta .ic { width: 15px; height: 15px; }
.voice { display: flex; align-items: start; gap: 12px; padding: 19px 4px 2px; }
.speech-mark { color: var(--citrus); font-family: Georgia,serif; font-size: 3.8rem; line-height: .87; height: .6em; }
.voice strong { font-size: 1.25rem; font-weight: 710; letter-spacing: -.035em; }
.voice p { color: var(--muted); margin-top: 2px; font-size: .99rem; }
.voice.has-scene-lead .speech-mark,.voice.has-scene-lead strong { display: none; }
.voice.has-scene-lead p { display: block; line-height: 1.55; font-size: 1rem; margin: 0; color: #3e424a; word-break: keep-all; overflow-wrap: anywhere; }
.vote-panel { padding: 0; }
.vote-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vote-kind { display: inline-flex; gap: 7px; align-items: center; color: var(--orange); font-size: .96rem; font-weight: 690; }
.vote-kind .ic { width: 20px; height: 20px; }
.live-state { display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; font-weight: 560; color: var(--muted); }
.live-state:empty { display: none; }
.live-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #868991; }
.vote-panel:has(.choice) .live-state::before { background: var(--citrus); }
#scene-title { max-width: 19em; font-size: clamp(1.65rem,2.55vw,2.25rem); font-weight: 730; line-height: 1.21; letter-spacing: -.047em; margin: 10px 0 9px; }
.scene-body { color: #4e5159; font-size: 1.015rem; line-height: 1.62; }
.scene-body:empty { display: none; }
.incoming { margin: 7px 0 1px; }
.incoming summary,.vote-guide>summary { color: var(--muted); font-size: .86rem; font-weight: 570; list-style: none; }
.incoming summary::-webkit-details-marker,.vote-guide>summary::-webkit-details-marker { display: none; }
.incoming summary { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; }
.incoming summary .ic { width: 16px; height: 16px; }
.incoming summary::after,.vote-guide>summary::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-2px) rotate(45deg); margin-left: 3px; }
.incoming[open]>summary::after,.vote-guide[open]>summary::after { transform: translateY(2px) rotate(225deg); }
.choice-list { margin: 17px 0 11px; display: grid; gap: 8px; }
.incoming:not([hidden])+.choice-list { margin-top: 6px; }
.choice { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 14px; border-radius: 13px; border: 1px solid #e4e5e8; background: white; font-size: 1rem; font-weight: 630; line-height: 1.36; text-align: left; transition: border-color .15s,background-color .15s; }
.choice:not([aria-disabled=true]):hover { background: #faf9f8; border-color: #b8b8bc; }
.choice[aria-pressed=true],.choice[aria-pressed=true]:hover { background: var(--tint); border-color: #ed590e; color: #742c06; box-shadow: inset 0 0 0 1px #ed590e; }
.choice[aria-disabled=true] { cursor: default; }
.choice-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #51545d; background: #f0f1f3; flex: none; }
.choice[aria-pressed=true] .choice-icon { background: #ffe3cf; color: #9d3f12; }
.choice-icon { font-variant-numeric: tabular-nums; font-weight: 750; }
.choice-text { display: grid; min-width: 0; gap: 3px; }
.choice-text strong { font-weight: 680; word-break: keep-all; overflow-wrap: anywhere; }
.choice-stake { font-size: .875rem; font-weight: 430; color: #545861; line-height: 1.43; word-break: keep-all; overflow-wrap: anywhere; }
.choice[aria-pressed=true] .choice-stake { color: #854014; }
.choice-check { margin-left: auto; display: inline-flex; gap: 4px; align-items: center; justify-content: center; white-space: nowrap; font-size: .8rem; font-weight: 670; flex: none; }
.choice-check:empty { width: 19px; height: 19px; border: 1.5px solid #bec0c6; border-radius: 50%; }
.choice-check .ic { width: 18px; height: 18px; }
.choice-check[hidden] { display: none; }
.choice[data-state=idle]::after { content: ""; margin-left: auto; width: 19px; height: 19px; border: 1.5px solid #bec0c6; border-radius: 50%; flex: none; }
.choice[data-state=mine] .choice-check,.choice[data-state=selected] .choice-check { color: #913105; }
.cta,.sub-btn { min-height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; font-size: 1rem; line-height: 1.4; font-weight: 680; }
.cta { color: var(--on-citrus); background: var(--primary); }
.cta:not([aria-disabled=true]):enabled:hover { background: #ff7837; }
.cta:disabled,.cta[aria-disabled=true],.sub-btn:disabled { background: #e8e8eb; color: #666972; cursor: default; }
.sub-btn { background: #f1f2f3; }
.text-btn { color: var(--orange); min-height: 44px; font-weight: 650; }
.vote-action { width: 100%; min-height: 51px; }
.vote-action .ic { width: 18px; height: 18px; }
.vote-info,.vote-tail { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .86rem; }
.vote-info { margin-top: 10px; font-variant-numeric: tabular-nums; }
.vote-info b { color: var(--orange); font-weight: 670; }
.vote-tail { position: relative; flex-wrap: wrap; margin-top: 10px; border-top: 1px solid var(--line); }
.vote-guide>summary { display: flex; align-items: center; justify-content: flex-end; min-height: 44px; gap: 3px; }
.vote-tail:has(.vote-guide[open]) { align-items: baseline; }
.vote-tail .vote-guide[open] { width: 100%; }
.vote-tail:has(.vote-guide[open]) #cutoff { margin-top: 12px; }
.guide-copy { margin: 0 0 12px; padding: 13px 16px; border-radius: 12px; background: var(--wash); }
.guide-copy p+p { margin-top: 6px; }
.rounds { display: flex; gap: 10px; margin-bottom: 8px; }
.rounds .current { color: var(--orange); font-weight: 700; }
.rounds .ic { width: 16px; height: 16px; }
.below { padding-top: 28px; border-top: 1px solid var(--line); margin-top: 30px; row-gap: 28px; }
.section-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 15px; }
.section-head h2,.list-heading h2 { font-size: 1.38rem; font-weight: 730; letter-spacing: -.04em; }
.section-head>span { color: var(--muted); font-size: .86rem; }
.album-date input { display: block; max-width: 100%; min-width: 0; padding: 4px 8px; min-height: 44px; background: transparent; color: var(--muted); border: 0; border-radius: 8px; font: 530 .87rem var(--font); }
.photo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; align-items: start; }
.snap-tile { padding: 0; width: 100%; min-width: 0; text-align: left; background: transparent; }
.snap-tile img { width: 100%; display: block; aspect-ratio: 1.2; object-fit: cover; border-radius: 13px; background: var(--wash); }
.snap-caption { display: grid; font-size: .85rem; color: var(--muted); gap: 2px; padding: 8px 1px 0; }
.snap-caption b,.snap-pending b { color: var(--ink); font-size: .94rem; font-weight: 650; }
.snap-caption span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.snap-pending { display: flex; flex-direction: column; align-items: stretch; color: var(--muted); }
.snap-pending .slot-mark { width: 100%; aspect-ratio: 1.2; border-radius: 13px; background: var(--wash); display: grid; place-items: center; color: #aaa9af; }
.slot-mark .ic { width: 25px; height: 25px; }
.snap-pending b { margin: 8px 0 2px; }
.snap-pending small { font-size: .85rem; }
.character-notes { min-width: 0; }
#metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.metric { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px; }
.metric>span { grid-column: 1/-1; display: flex; align-items: center; gap: 4px; font-size: .86rem; color: var(--muted); }
.metric i { font-style: normal; display: inline-flex; }
.metric .ic { width: 16px; height: 16px; }
.metric strong { grid-row: 2; grid-column: 1; font-size: 1.2rem; font-weight: 680; font-variant-numeric: tabular-nums; }
.meter { grid-column: 2; grid-row: 2; height: 4px; background: #eeeff0; border-radius: 2px; overflow: hidden; }
.meter b { display: block; height: 100%; background: #dc9b42; border-radius: inherit; }
.joy .meter b { background: #df8680; }.trust .meter b { background: #6c9e96; }
.current-life { border-top: 1px solid var(--line); margin-top: 23px; padding-top: 23px; }
.current-life h3 { font-size: 1.06rem; font-weight: 640; }
#thread-detail,#project-steps { margin-top: 5px; color: var(--muted); font-size: .94rem; }
.living-money { margin: 14px 0 4px; display: flex; justify-content: space-between; gap: 10px; font-size: .94rem; }
.living-money span { color: var(--muted); }
#connection:not([hidden]) { padding: 12px 16px; margin-top: 16px; border-radius: 12px; color: #763907; background: #fff3e8; }
#connection .text-btn { margin-left: 6px; }
@media(max-width:860px) {
  .bar,.shell { width: min(100%,680px); padding-inline: 22px; }
  .bar { height: 55px; gap: 8px; }
  .brand { font-size: 1.13rem; gap: 8px; }
  .brand-face { width: 29px; height: 29px; border-radius: 9px; }
  .bar-tools { gap: 0; }
  .share-btn { margin-right: -7px; }
  .main-nav { position: fixed; z-index: 10; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(3,1fr); padding: 4px max(10px,calc((100vw - 640px)/2)) calc(4px + env(safe-area-inset-bottom)); gap: 0; background: white; border-top: 1px solid var(--line); }
  .main-nav a { min-height: 49px; gap: 2px; flex-direction: column; font-size: .77rem; font-weight: 570; }
  .main-nav a .ic { width: 21px; height: 21px; }
  .main-nav a[aria-current=page] { color: var(--orange); }
  .main-nav a[aria-current=page] .ic { stroke: #a93804; fill: #ffa261; }
  .main-nav a[aria-current=page]::after { display: none; }
  .shell { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .day-head { padding: 15px 0 9px; }
  .day-time { font-size: .82rem; }
  .title-line { margin-top: 0; }
  .title-line h1,.page-head h1 { font-size: 2rem; }
  .dashboard,.below { display: block; }
  .hero { aspect-ratio: 2.25; border-radius: 16px; }
  .hero.has-photo img { object-position: 50% 32%; }
  .hero-shot-meta { left: 10px; bottom: 9px; }
  .day-badge { top: 9px; left: 10px; }
  .day-badge,.hero-shot-meta .shot-setting { font-size: .75rem; padding: 5px 8px; border-radius: 7px; }
  .voice { align-items: baseline; padding: 11px 1px 14px; gap: 8px; border-bottom: 1px solid var(--line); }
  .voice>div { flex: 1; }
  .voice strong { font-size: 1rem; }
  .voice p { display: inline; margin-left: 5px; font-size: .91rem; line-height: 1.45; }
  .speech-mark { align-self: start; font-size: 2.45rem; }
  .vote-panel { padding-top: 17px; }
  #scene-title { font-size: 1.62rem; margin: 6px 0 6px; }
  .scene-body { font-size: 1rem; line-height: 1.52; }
  .vote-kind { font-size: .9rem; }.vote-kind .ic { width: 18px; height: 18px; }
  .incoming { margin: 2px 0 0; }.incoming summary { min-height: 44px; }
  .choice-list { gap: 6px; margin: 12px 0 9px; }
  .choice { min-height: 50px; padding: 8px 12px; gap: 9px; }
  .choice-icon { height: 30px; width: 30px; border-radius: 9px; }
  .choice-icon .ic { width: 18px; height: 18px; }
  .below { margin-top: 12px; padding-top: 22px; }
  .character-notes { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 24px; }
  .section-head { margin-bottom: 11px; }
  .photo-grid { gap: 7px; }
  .section-head h2 { font-size: 1.28rem; }
}
@media(max-width:640px) and (max-height:860px) {
  .hero { aspect-ratio: 2.55; }
  .day-head { padding-top: 12px; padding-bottom: 7px; }
  .voice { padding: 8px 1px 9px; }
  .vote-panel { padding-top: 12px; }
  .choice-list { margin-top: 8px; }
}
@media(max-width:375px) {
  .bar,.shell { padding-inline: 16px; }
  #scene-title { font-size: 1.52rem; }
  .hero { aspect-ratio: 2.45; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
