/* Lane X8: church culture sheets — 교인 유형 테스트 (type), 새벽기도·대림 특새 (dawn), 달란트 시장 (market).
   Lives inside the existing sheet (builds on rhythm.css .rh); nothing floats over the scene except the save-image lightbox. */
.cu{--c:#e9b85c;gap:14px}
.cu button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.cu-card{border-radius:20px;border:1px solid var(--line);background:rgba(255,255,255,.035);padding:18px 16px;display:flex;flex-direction:column;gap:10px}
.cu-eyebrow{color:var(--c);font-weight:700;font-size:12.5px;letter-spacing:.06em;margin:0}
.cu-h{margin:0;font-family:var(--f-display);font-size:23px;line-height:1.35;color:#fff;text-wrap:balance}
.cu-sub{margin:0;color:var(--muted);font-size:14px;line-height:1.6}
.cu-big{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:52px;border-radius:999px;border:0;background:var(--gold);color:var(--gold-ink);font-weight:700;font-size:16px;font-family:inherit}
.cu-big:disabled{opacity:.55}
.cu-soft{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;border-radius:999px;border:1px solid rgba(233,184,92,.5);background:none;color:var(--ink);font-size:15px;font-family:inherit}
.cu-row{display:flex;gap:8px;flex-wrap:wrap}.cu-row>*{flex:1 1 140px}
.cu-note{margin:0;color:var(--muted);font-size:13px;line-height:1.6;text-align:center}

/* type test */
.cu-hero{font-size:56px;line-height:1;text-align:center;margin:4px 0}
.cu-dots{display:flex;gap:5px;justify-content:center;flex-wrap:wrap}
.cu-dot{width:9px;height:9px;border-radius:50%;background:rgba(239,232,216,.18)}
.cu-dot.done{background:var(--gold)}.cu-dot.now{background:#fff;box-shadow:0 0 0 3px rgba(233,184,92,.35)}
.cu-q{margin:6px 0 2px;font-family:var(--f-display);font-size:21px;line-height:1.5;color:#fff;text-wrap:balance}
.cu-ans{display:flex;flex-direction:column;gap:10px}
.cu-a{min-height:56px;padding:12px 16px;border-radius:16px;border:1px solid var(--line);background:rgba(255,255,255,.05);color:var(--ink);font-size:16px;line-height:1.45;text-align:start;font-family:inherit;word-break:keep-all}
.cu-a:active,.cu-a[aria-pressed="true"]{background:var(--gold-soft);border-color:rgba(233,184,92,.6)}
.cu-back{align-self:flex-start;min-height:44px;padding:0 12px;background:none;border:0;color:var(--muted);font-size:14px;font-family:inherit}
.cu-ill{position:relative;border-radius:22px;aspect-ratio:1200/760;overflow:hidden;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 50% 38%,color-mix(in srgb,var(--c) 55%,#0c101d) 0,color-mix(in srgb,var(--c) 18%,#0c101d) 62%,#0c101d 100%);box-shadow:0 0 40px color-mix(in srgb,var(--c) 28%,transparent)}
.cu-ill img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cu-emo{font-size:104px;line-height:1;filter:drop-shadow(0 6px 18px rgba(0,0,0,.35));animation:cuBob 4s ease-in-out infinite}
@keyframes cuBob{50%{transform:translateY(-6px)}}
.cu-name{margin:0;font-family:var(--f-display);font-size:26px;line-height:1.3;color:#fff;text-align:center;text-wrap:balance}
.cu-tag{margin:0;color:#ffd88a;text-align:center;font-size:15px}
.cu-desc{margin:0;line-height:1.75;font-size:15px}
.cu-chips{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
.cu-chip{padding:5px 12px;border-radius:999px;background:color-mix(in srgb,var(--c) 20%,transparent);border:1px solid color-mix(in srgb,var(--c) 55%,transparent);font-size:13px}
.cu-buddy{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.05);font-size:14px}
.cu-buddy b{font-weight:700}.cu-buddy span.e{font-size:26px}

/* lightbox (save the story image: long-press, since downloads are blocked in in-app browsers) */
.cu-lb{position:fixed;inset:0;z-index:90;background:rgba(5,7,14,.92);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:calc(env(safe-area-inset-top,0px) + 12px) 16px calc(env(safe-area-inset-bottom,0px) + 12px)}
.cu-lb img{max-width:100%;max-height:calc(100dvh - 150px);border-radius:14px;-webkit-touch-callout:default;user-select:auto}
.cu-lb p{margin:0;color:#efe8d8;font-size:14px;text-align:center}
.cu-lb button{min-height:48px;padding:0 28px;border-radius:999px;border:1px solid rgba(233,184,92,.6);background:none;color:#efe8d8;font-size:15px}

/* dawn */
.cu-scene{position:relative;border-radius:22px;overflow:hidden;min-height:190px;padding:18px 16px;display:flex;flex-direction:column;justify-content:flex-end;gap:4px;background:linear-gradient(180deg,#0a0e24 0,#1c2347 45%,#6a4a6e 78%,#e3a06b 100%);color:#fff}
.cu-scene .lights{position:absolute;inset:0 0 40px 0;pointer-events:none}
.cu-lt{position:absolute;width:6px;height:6px;border-radius:50%;background:#ffe3a6;box-shadow:0 0 10px 3px rgba(255,214,140,.7);animation:cuTw 3.6s ease-in-out infinite}
@keyframes cuTw{50%{opacity:.35;transform:scale(.7)}}
.cu-scene b{font-family:var(--f-display);font-size:20px;position:relative}
.cu-scene small{position:relative;color:#f6e6cf;font-size:13px}
.cu-verse{border-left:3px solid var(--gold);padding:4px 0 4px 12px;margin:0;font-family:var(--f-display);line-height:1.75;font-size:16px}
.cu-verse small{display:block;color:var(--muted);font-size:13px;margin-top:4px}
.cu-prayer{margin:0;color:#e5dcc8;line-height:1.8;font-size:14.5px;white-space:pre-line}
.cu-ring{position:relative;width:96px;height:96px;margin:0 auto}
.cu-ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.cu-ring circle{fill:none;stroke-width:6}
.cu-ring .bg{stroke:rgba(239,232,216,.15)}.cu-ring .fg{stroke:var(--gold);stroke-linecap:round;transition:stroke-dashoffset .4s linear}
.cu-ring span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:13px;color:var(--muted);text-align:center}
.cu-board{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}
.cu-cell{position:relative;aspect-ratio:1;border-radius:14px;border:1.5px dashed rgba(239,232,216,.22);background:none;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:11px;line-height:1.1;font-family:inherit;padding:0;min-width:0}
.cu-cell i{font-style:normal;font-size:18px;line-height:1}
.cu-cell.lit{border:1.5px solid #f3c56f;border-style:solid;background:radial-gradient(circle,rgba(255,214,140,.35),rgba(255,214,140,.08));color:#ffe3a6}
.cu-cell.dawn::after{content:"★";position:absolute;top:1px;right:4px;font-size:10px;color:#fff3c8}
.cu-cell.mended{border-style:dashed;border-color:#f3c56f;background:repeating-linear-gradient(45deg,rgba(255,214,140,.2) 0 4px,rgba(255,214,140,.06) 4px 8px)}
.cu-cell.today{box-shadow:0 0 0 2px var(--gold),0 0 14px rgba(233,184,92,.45);color:#fff}
.cu-cell.open.miss{border-style:solid;border-color:rgba(239,232,216,.3)}
.cu-cell.mendable{border-color:#9ad4ff;color:#cfe9ff;animation:cuTw 2.4s ease-in-out infinite}
.cu-pop{animation:cuPop .7s cubic-bezier(.2,1.6,.4,1)}
@keyframes cuPop{0%{transform:scale(.2) rotate(-25deg);opacity:0}60%{transform:scale(1.25) rotate(6deg);opacity:1}100%{transform:scale(1) rotate(0)}}
.cu-legend{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;color:var(--muted);font-size:12px}
.cu-sheet{background:rgba(255,235,190,.04);border:1px solid var(--line);border-radius:20px;padding:14px 12px;display:flex;flex-direction:column;gap:10px}

/* market */
.cu-coin{display:flex;align-items:center;justify-content:center;gap:12px;padding:16px;border-radius:20px;background:linear-gradient(135deg,rgba(246,189,96,.22),rgba(246,189,96,.05));border:1px solid rgba(246,189,96,.4)}
.cu-coin .c{width:56px;height:56px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffe9a8,#f0b33f 60%,#b8801d);display:flex;align-items:center;justify-content:center;font-weight:800;color:#6b4710;font-size:26px;box-shadow:inset 0 -3px 0 rgba(0,0,0,.18),0 4px 14px rgba(240,179,63,.4)}
.cu-coin b{font-family:var(--f-display);font-size:34px;color:#ffe3a6;line-height:1}
.cu-coin small{display:block;color:var(--muted);font-size:12.5px;margin-top:2px}
.cu-earn{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.cu-earn li{display:flex;align-items:center;gap:10px;min-height:48px;padding:6px 12px;border-radius:14px;background:rgba(255,255,255,.04);font-size:14px}
.cu-earn li span.t{flex:1;min-width:0}.cu-earn li small{display:block;color:var(--muted);font-size:12px}
.cu-earn .plus{color:#ffd88a;font-weight:700;white-space:nowrap}
.cu-earn button{min-height:40px;padding:0 16px;border-radius:999px;border:0;background:var(--gold);color:var(--gold-ink);font-weight:700;font-size:14px;font-family:inherit}
.cu-earn .got{color:#b5e48c;font-weight:700}
.cu-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.cu-item{display:flex;flex-direction:column;align-items:center;gap:4px;padding:14px 8px 10px;border-radius:18px;border:1px solid var(--line);background:rgba(255,255,255,.04);text-align:center;min-width:0}
.cu-item .e{font-size:40px;line-height:1.1}.cu-item .n{font-size:13.5px;line-height:1.35;min-height:2.7em;word-break:keep-all}
.cu-item .p{color:#ffd88a;font-weight:700;font-size:14px}
.cu-item button{width:100%;min-height:42px;border-radius:999px;border:1px solid rgba(233,184,92,.55);background:none;color:var(--ink);font-size:14px;font-family:inherit}
.cu-item button.buy{background:var(--gold);border-color:var(--gold);color:var(--gold-ink);font-weight:700}
.cu-item button:disabled{opacity:.5}.cu-item.own{background:rgba(181,228,140,.08);border-color:rgba(181,228,140,.35)}
@media (prefers-reduced-motion:reduce){.cu-emo,.cu-lt,.cu-cell.mendable{animation:none}.cu-pop{animation:none}.cu-ring .fg{transition:none}}
@media (max-width:360px){.cu-board{grid-template-columns:repeat(5,1fr)}}
@media (max-height:480px){.cu-scene{min-height:96px;padding:10px 14px}.cu-scene b{font-size:17px}} /* landscape phones: keep the lamp button within reach */
/* lane UX1: "다음 목표" line in the talent market */
.cu-goal{margin:4px 0 0;padding:10px 12px;border-radius:14px;border:1px solid rgba(246,189,96,.35);background:rgba(246,189,96,.08);font-size:13.5px;text-align:center}
.cu-goal span{display:block;margin-bottom:6px}
.cu-goal i{display:block;height:6px;border-radius:999px;background:rgba(255,255,255,.12);position:relative;overflow:hidden}
.cu-goal i::after{content:'';position:absolute;inset:0 auto 0 0;width:var(--p,0%);background:linear-gradient(90deg,#f0b33f,#ffe9a8);border-radius:inherit}
/* lane UX2: wear / hold an owned item */
.cu-item button.wear{background:rgba(233,184,92,.14);font-weight:600}
.cu-item button.on{background:var(--gold);border-color:var(--gold);color:var(--gold-ink);font-weight:700}
