*{box-sizing:border-box}body{margin:0;background:#f7f3ea;color:#20241f;font:16px system-ui,sans-serif}header,main,footer{max-width:1050px;margin:auto;padding:24px}header a{font-weight:900;color:inherit;text-decoration:none;font-size:26px}header span{color:#d74327;margin-left:6px}.hero{background:#dafa74;border:2px solid;border-radius:32px;padding:clamp(26px,7vw,75px);margin-bottom:24px}h1{font-size:clamp(35px,8vw,75px);line-height:1.08;letter-spacing:-.065em;margin:12px 0}h2{letter-spacing:-.035em}p{line-height:1.65}.hero p{font-size:19px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:14px}button,input{font:inherit}button,.button{cursor:pointer;border:2px solid #20241f;border-radius:14px;background:white;color:inherit;padding:12px 17px;font-weight:750;text-decoration:none;display:inline-block}button:hover,.button:hover{background:#f5df7b}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #d74327;outline-offset:3px}.card{text-align:left;min-height:125px;padding:18px;display:flex;flex-direction:column;gap:8px}.card b{font-size:21px}.card:nth-child(3n+1){background:#ffdbc5}.card:nth-child(3n+2){background:#e5defe}.card:nth-child(3n){background:#fbe99b}.card:hover{filter:brightness(.96)}.filters,.actions{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.primary,[aria-pressed=true]{background:#20241f;color:white}.primary:hover,[aria-pressed=true]:hover{background:#3d463c}.panel{max-width:650px;margin:auto;background:#fffdf8;border:2px solid;border-radius:26px;padding:clamp(20px,5vw,44px)}.panel h1{font-size:clamp(30px,6vw,52px)}.choices{display:grid;gap:10px}.choices button{text-align:left}input{width:100%;border:2px solid;border-radius:12px;padding:12px;margin:8px 0 16px}.back{display:inline-block;color:inherit;margin-bottom:18px}.result{background:#dafa74;border-radius:18px;padding:24px;margin:16px 0}canvas{display:block;max-width:100%;height:auto;border-radius:12px;margin-top:12px}footer{color:#556052;font-size:13px}footer a{color:inherit}.legal{max-width:760px}.legal h1{font-size:clamp(28px,6vw,42px)}.legal h2{font-size:19px;margin:28px 0 8px}.legal ul{padding-left:20px;margin:8px 0}.legal li{line-height:1.65;margin:4px 0;overflow-wrap:anywhere}.legal code{background:#f1ecdd;border-radius:6px;padding:1px 6px;font-size:.88em;overflow-wrap:anywhere}.legal a{color:#b8331b}progress{width:100%;accent-color:#637c16}.muted{color:#4f584d}

header{padding-block:18px}header a{display:inline-flex;align-items:center;gap:2px}header span{display:grid;place-items:center;background:#dddbff;color:#35308e;width:33px;height:33px;border:1px solid;border-radius:50%}.hero{display:grid;grid-template-columns:1fr 1fr;padding:0;overflow:hidden;box-shadow:5px 6px 0 #20241f}.hero-copy{padding:clamp(24px,5vw,58px);align-self:center}.hero-art{width:100%;height:100%;min-height:315px;display:block;object-fit:cover;border-left:2px solid #20241f}.hero h1{font-size:clamp(42px,6vw,78px);max-width:8ch}.card{padding:0 0 16px;overflow:hidden;gap:8px;box-shadow:3px 3px 0 #20241f;transition:transform .15s}.card:hover{transform:translateY(-3px)}.card small,.card b,.card-meta{padding-inline:16px}.card[data-genre],.panel[data-genre]{--genre:#ffd4ba;--ink:#623298}.card[data-genre=궁합],.panel[data-genre=궁합]{--genre:#eee2ff;--ink:#5945a8}.card[data-genre=전생],.panel[data-genre=전생]{--genre:#fce9ae;--ink:#9b5417}.card[data-genre=운세],.panel[data-genre=운세]{--genre:#ddf1a9;--ink:#416d3d}.card[data-genre=퀴즈],.panel[data-genre=퀴즈]{--genre:#ffcfd7;--ink:#a94559}.card[data-genre=게임],.panel[data-genre=게임]{--genre:#d3e3ff;--ink:#344eaa}.card[data-genre]{background:#fffdf8}.card-art{display:grid;place-items:center;width:100%;height:94px;background:radial-gradient(circle at 50% 55%,#fff9 0 25%,transparent 26%),repeating-linear-gradient(-35deg,transparent 0 14px,#fff4 15px 18px),var(--genre);font-size:51px;border-bottom:2px solid #20241f;text-shadow:2px 4px 0 #20241f25}.card small{color:var(--ink);font-weight:800}.play-art{height:clamp(112px,24vw,190px);border:2px solid #20241f;border-radius:18px;background:linear-gradient(90deg,var(--genre) 15%,transparent 68%),url('/neodo-assets/arcade.jpg?v=art3') center 51%/cover;display:flex;align-items:center;padding-inline:24px}.play-art span{font-size:56px;display:grid;place-items:center;width:92px;height:82px;background:var(--genre);border:2px solid;border-radius:18px;box-shadow:4px 4px 0 #20241f;transform:rotate(-7deg)}.panel .back+.back{margin-left:14px}.result{outline:1px solid #20241f}@media(max-width:640px){header,main,footer{padding-inline:16px}.hero{grid-template-columns:1fr}.hero-copy{padding:24px}.hero h1{max-width:none}.hero-art{border-left:0;border-top:2px solid #20241f;min-height:0;aspect-ratio:1.75}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card b{font-size:16px}.card small,.card b,.card-meta{padding-inline:10px}.card-art{height:72px;font-size:42px}}@media(prefers-reduced-motion:reduce){.card{transition:none}}

.result-art{display:block;height:clamp(200px,60vw,340px);width:auto;max-width:100%;object-fit:contain;margin:14px auto;border:2px solid #20241f;border-radius:16px;box-shadow:4px 4px 0 #20241f}
.mbti-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.mbti-grid button{padding:12px 6px}.card[data-genre=MBTI],.panel[data-genre=MBTI]{--genre:#c5ece7;--ink:#236760}
.result-quote{background:#fffdf8;border:2px solid #20241f;border-radius:14px;padding:12px 16px;box-shadow:3px 3px 0 #20241f;margin:16px 0}
.result-quote strong,.result-byline{font-size:.85rem;color:#435518}.result-quote p{margin:4px 0 0;font-weight:750}.result-byline{overflow-wrap:anywhere}
textarea[aria-label="공유 문구"]{display:block;width:100%;min-height:8em;padding:12px;font:inherit;border:2px solid #20241f;border-radius:12px}
.timer-arena{display:grid;place-items:center;min-block-size:clamp(190px,38vh,310px);border:2px solid #20241f;border-radius:22px;background:#e2ecff;text-align:center}.timer-arena>button{min-inline-size:min(100%,10rem);min-block-size:56px;font-size:1.2rem}.timer-active{position:relative;isolation:isolate;background:repeating-conic-gradient(from 12deg at 50% 52%,#152c87 0 10deg,#233eaa 10deg 24deg);box-shadow:4px 4px 0 #20241f}.timer-status{position:absolute;inset-block-start:12px;inset-inline:0;margin:0 auto;width:max-content;border-radius:999px;background:#101e57;color:#fff;padding:5px 13px;font-weight:800}.timer-arena .timer-stop{background:#e5ff85;min-inline-size:min(90%,15rem);min-block-size:80px;color:#191d14;font-size:clamp(1.65rem,5vw,2.4rem);box-shadow:5px 5px 0 #111d55}.timer-arena .timer-stop:hover{background:#f5ffb4}.timer-arena .timer-stop:focus-visible{outline-color:white}@media(prefers-reduced-motion:no-preference){.timer-active .timer-stop{animation:timer-enter .18s ease-out}@keyframes timer-enter{from{scale:.88}to{scale:1}}}
[hidden]{display:none!important}
header{padding-block:13px}
header .brand{display:inline-flex;align-items:center;max-width:100%;text-decoration:none}
.brand img{display:block;width:min(100%, 336px);height:auto}
.hero-art{aspect-ratio:1.3}.hero h1{max-width:9ch}
.featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:0 0 34px}
.featured-card{display:grid;grid-template-rows:150px 1fr;color:inherit;text-decoration:none;overflow:hidden;border:2px solid #20241f;border-radius:18px;background:#f8d9fa;box-shadow:3px 4px 0 #20241f}
.featured-card:nth-child(2){background:#daddff}.featured-card:nth-child(3){background:#dff792}.featured-card:hover{transform:translateY(-3px)}
.featured-card img{width:100%;height:100%;object-fit:cover;border-bottom:2px solid #20241f}
.featured-card>div{padding:10px 13px 12px}.featured-card small{font-weight:850}.featured-card strong{display:block;font-size:clamp(1rem,2vw,1.28rem);margin-top:4px}.featured-card p{margin:5px 0 0;font-size:.9rem;line-height:1.4}
.panel.showing-result{max-width:790px;padding:clamp(10px,3vw,24px)}
.showing-result>.back{margin-bottom:8px}.showing-result .result{margin:0;padding:clamp(12px,3vw,24px);border:2px solid #20241f;outline:0;background:var(--genre,#dafa74);box-shadow:3px 4px 0 #20241f}
.result-composition{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:16px;align-items:center}
.result-source{font-weight:800;color:#34313c}.result-copy h1{font-size:clamp(26px,5vw,46px);margin:7px 0}.result-copy>p{margin:9px 0;line-height:1.42}.result-copy .result-quote{margin:10px 0 4px;padding:8px 11px}.result-quote p{line-height:1.45}
.result-composition .result-art{display:block;width:100%;max-width:320px;height:auto;max-height:300px;object-fit:contain;margin:0 auto;background:#fffdf8}
.result-actions{margin:16px 0 0}.result-detail{padding:10px 0;border-bottom:1px solid #20241f38;margin:5px 0}.result-detail summary{cursor:pointer;font-weight:750}
@media(max-width:640px){.brand img{width:min(100%, 276px)}.hero h1{max-width:none}.hero-art{aspect-ratio:1.8}.featured-grid{grid-template-columns:1fr;gap:9px}.featured-card{grid-template-columns:95px 1fr;grid-template-rows:1fr}.featured-card img{border-bottom:0;border-right:2px solid #20241f;aspect-ratio:1}.featured-card>div{padding:8px 10px}.featured-card p{font-size:.82rem}.result-composition{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:8px}.result-copy h1{font-size:clamp(23px,6vw,34px)}.result-copy p{font-size:.88rem}.result-source{font-size:.72rem}.result-actions>.button,.result-actions>button{padding:9px 10px;font-size:.88rem}}
@media(max-width:345px){.result-composition{grid-template-columns:1fr}.result-composition .result-art{max-width:160px}}
.ad-slot{--ad-gap:clamp(56px,14vw,88px);clear:both;display:block;width:100%;max-width:680px;margin:var(--ad-gap) auto 0;contain:layout;overflow:hidden}
.ad-slot:not(.ad-slot-preview){padding-top:10px;border-top:1px solid #20241f55}.ad-slot:not(.ad-slot-preview)::before{content:'광고';display:block;margin-bottom:6px;font-size:.72rem;color:#5a5a48;letter-spacing:.08em}
.ad-slot-preview{min-height:250px;display:grid;align-content:center;gap:4px;padding:24px;text-align:center;border:1px dashed #777;background:#f0efed;border-radius:10px;color:#383838}.ad-slot-preview p{margin:0;font-size:.85rem}
@media(max-width:640px){.ad-slot{max-width:none}}
.result-copy,.featured-card>div{word-break:keep-all;overflow-wrap:anywhere}

.result-copy .result-names,.story-scene .result-names{display:inline-block;max-width:100%;background:#fff5d8;border:2px solid #20241f;padding:5px 9px;box-shadow:2px 3px #20241f;border-radius:9px;font-size:clamp(24px,5vw,43px);font-weight:950;letter-spacing:-.06em;overflow-wrap:anywhere;line-height:1.16}
.story-episode{padding:clamp(14px,4vw,24px);margin:18px 0;background:#fff5dc;border:2px solid #292133;border-radius:18px;box-shadow:3px 4px #292133}.story-episode h2{margin:6px 0 12px}.story-episode>p{margin:0 0 14px}.story-episode>p:last-child{margin:0}.story-scene small{display:block;font-weight:850;margin-bottom:8px}.story-scene .choices{margin-top:18px}.story-scene .choices button{background:#e7d6ff}.story-reply{padding:12px;border-radius:10px;background:#eedfff;font-weight:750}.card-toggle{display:flex;align-items:center;gap:8px;margin-top:10px}.card-toggle input{width:auto;margin:0}.showing-result .result-source{display:block}
.chat-bubbles{background:#dbe4fb;padding:14px;border:2px solid #20241f;border-radius:18px;display:flex;flex-direction:column;align-items:flex-start;gap:9px}.chat-bubbles button{width:fit-content;max-width:86%;margin:0;background:#f4f7ff;text-align:left;border-radius:16px 16px 16px 4px;font-weight:650}.chat-bubbles button.mine{align-self:flex-end;border-radius:16px 16px 4px 16px;background:#ffe14a}.typo-clock{position:sticky;top:0;z-index:2;background:#f7f3ea;padding:8px 0 4px}.typo-clock-bar{height:14px;border:2px solid #20241f;border-radius:99px;overflow:hidden;background:#fff}.typo-clock-bar i{display:block;height:100%;background:#8fd16a;transition:background .3s}.typo-clock.hurry .typo-clock-bar i{background:#ef6a4c}.typo-clock-label{margin:6px 0 0;font-weight:850;font-variant-numeric:tabular-nums}.timer-between p{font-weight:900;font-size:1.3rem}
.shelf-promo{background:#ffc8d8;border:2px dashed #20241f;border-radius:15px;padding:16px;margin-bottom:14px}.shelf-choices button:nth-child(odd){background:#eef8c1}.shelf-choices button:nth-child(even){background:#e6ddff}.story-scene .choices button:hover,.shelf-choices button:hover,.chat-bubbles button:hover{filter:brightness(.94)}.chat-bubbles button:hover{background:#f4f7ff}.chat-bubbles button.mine:hover{background:#ffe14a}
form select{display:block;width:100%;margin:8px 0 16px;padding:10px;border:2px solid #20241f;border-radius:10px;font:inherit;background:#fffdf4}
.story-scene-art{float:right;width:clamp(76px,23%,136px);aspect-ratio:1;object-fit:cover;border:2px solid #292133;border-radius:12px;margin:0 0 8px 12px}.story-scene .choices{clear:both}.story-trail{font-size:.9rem;line-height:1.6;color:#50503e}
.daily-feature{display:flex;align-items:center;flex-wrap:wrap;gap:10px 13px;padding:14px;margin:0 0 24px;color:#201f22;text-decoration:none;background:#f7d4b9;border:2px solid #20241f;border-radius:14px;box-shadow:3px 4px #20241f}.daily-feature:hover{background:#ffe3ce}.daily-feature small{margin-left:auto;font-weight:700}.daily-pill{display:inline-block;background:#fff4bd;border:1px solid #20241f;border-radius:100px;padding:4px 8px;font-size:.75rem;font-weight:850}.result-copy>.daily-pill{margin-top:6px}
.panel.showing-result{max-width:650px}
.showing-result .result{background:var(--card-paper);border-color:var(--card-ink);color:var(--card-ink);box-shadow:4px 5px var(--card-ink)}
.showing-result .result-composition{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.result-stamp{display:flex;align-items:center;gap:8px;font-weight:850}
.result-star,.result-category{display:grid;place-items:center;white-space:nowrap;border:1.5px solid var(--card-ink);border-radius:8px}
.result-star{width:28px;height:28px;background:var(--card-brand);font-size:17px;flex-shrink:0}
.result-category{background:var(--card-accent);border-radius:999px;padding:3px 10px;margin-left:auto}
.result-composition>.result-names{margin:0;color:var(--card-ink);background:var(--card-name);border:2px solid var(--card-ink);border-radius:12px;padding:6px 10px;font-size:clamp(24px,6vw,40px);font-weight:950;line-height:1.18;overflow-wrap:anywhere}
.result-art-frame{display:grid;grid-template-columns:minmax(22px,1fr) auto minmax(22px,1fr);align-items:center;justify-items:center;padding:8px;border:2px solid var(--card-ink);border-radius:16px;background:var(--card-accent);gap:6px}
.result-art-frame>span{font-size:22px}.result-art-frame>span:first-child{align-self:start;margin-top:15px}.result-art-frame>span:last-child{align-self:end;margin-bottom:15px}
.result-composition .result-art{height:clamp(126px,44vw,245px);width:auto;max-width:100%;border-color:var(--card-ink);box-shadow:3px 3px 0 var(--card-ink)}
.result-copy .result-quote{background:var(--card-accent);border-color:var(--card-ink);box-shadow:none}
.result-copy .result-quote strong{color:var(--card-ink)}
.result-copy h1{margin-block:3px}
.result-composition>.daily-pill{justify-self:start}
@media(max-width:640px){.result-stamp{gap:6px}.showing-result .result-composition{gap:8px}.result-art-frame>span{font-size:16px}}
.story-episode,.result-stamp,.result-composition>.result-names{word-break:keep-all;overflow-wrap:anywhere}
.card-meta{display:flex;flex-wrap:wrap;gap:6px 10px;margin-top:auto;font-size:.8rem;font-weight:750;color:#5a5a48}.card-new{font-style:normal;background:#d74327;color:#fff;border-radius:99px;padding:1px 8px;letter-spacing:.04em}
.result-insight{margin:18px 0;padding:clamp(14px,4vw,22px);background:#fff;border:2px solid #20241f;border-radius:18px;box-shadow:3px 4px #20241f}.result-insight h2{margin:0 0 6px;font-size:1.35rem}.result-insight>p{margin:0 0 10px}.rank-chart{display:block;width:100%;max-width:520px;height:auto;margin:6px 0 8px;overflow:visible}.rank-chart .bar{fill:#e4e0d4}.rank-chart .bar.better{fill:#b9cdfb}.rank-chart .bar.mine{fill:#d74327}.rank-chart .marker{stroke:#20241f;stroke-width:2}.rank-chart .marker.friend{stroke:#7a55c7;stroke-dasharray:4 3}.rank-chart text{font:800 11px system-ui,sans-serif;fill:#20241f}.rank-chart .marker-label.friend{fill:#7a55c7}.rank-chart .axis{font-weight:650;fill:#6b6b5a}
.play-total{display:inline-block;margin:14px 0 0;padding:4px 12px;border:2px solid #20241f;border-radius:99px;background:#fff;font-weight:850;font-variant-numeric:tabular-nums}
.here-now{display:inline-flex;align-items:center;gap:7px;margin:12px 12px 0 0;font-weight:850;font-size:.95rem}.here-now::before{content:'';width:9px;height:9px;border-radius:50%;background:#2fb36a;box-shadow:0 0 0 3px #2fb36a33;animation:here-pulse 2s ease-in-out infinite}@keyframes here-pulse{50%{box-shadow:0 0 0 6px #2fb36a11}}@media (prefers-reduced-motion:reduce){.here-now::before{animation:none}}.card-here{color:#1d7a47;font-weight:850}
.lucky-list{display:grid;grid-template-columns:auto 1fr;gap:6px 14px;margin:0;align-items:baseline}.lucky-list dt{font-weight:650;color:#6b6b5a}.lucky-list dd{margin:0;font-weight:850;font-size:1.1rem}
.choices button.with-art{display:flex;align-items:center;gap:12px}.choice-art{width:72px;height:72px;flex:none;object-fit:cover;border-radius:12px;border:2px solid #20241f}
@media(max-width:640px){.mbti-grid button{font-size:15px;padding:12px 4px}.choice-art{width:56px;height:56px}}
.next-rounds{margin:22px 0 8px}.next-rounds h2{margin:0 0 10px;font-size:1.2rem}.next-rounds .choices{display:grid;gap:8px}.next-rounds a{display:grid;gap:2px;text-align:left}.next-rounds small{font-weight:550;color:#3d4038}

.timer-active{overflow:hidden;background:#152c87}
.timer-lines{position:absolute;left:50%;top:50%;width:240vmax;height:240vmax;background:repeating-conic-gradient(from 0deg at 50% 50%,#17368f 0 28deg,#1e429f 28deg 64deg);pointer-events:none;z-index:0;transform:translate(-50%, -50%)}
.timer-active>.timer-status,.timer-active>.timer-stop{position:relative;z-index:1}
@media(prefers-reduced-motion:reduce){.timer-lines{transition:none}}

.typo-scene-art{display:block;width:min(100%,260px);height:94px;object-fit:contain;margin:0 auto 9px}

.panel .choices,.panel .result-actions{gap:14px}.panel .result-actions :is(button,a){min-height:44px}.panel .next-rounds .choices{gap:16px}

.hero .home-presence:not([hidden]){display:flex;width:fit-content;margin:16px 0 0;font-size:14px;line-height:1.5}

.play-intro .here-now:not([hidden]){display:flex;width:fit-content;margin:12px 0 0}

.pair-start-actions{gap:14px}.pair-start-actions button{min-height:44px}

.friend-map{display:grid;gap:12px;padding:0;list-style:none}.friend-map li{display:grid;gap:6px;padding:14px;border:2px solid;border-radius:14px;background:#fff3cf;overflow-wrap:anywhere}.friend-map-people{overflow-wrap:anywhere}

.result-primary-action > :is(button,a){display:inline-flex;align-items:center;justify-content:center;min-height:44px}
@media(max-width:640px){.result-primary-action > :is(button,a){width:100%;box-sizing:border-box}}

.result-primary-action{display:flex;flex-wrap:wrap;gap:8px}
@media(max-width:640px){.result-primary-action:has(> :nth-child(2)) > :is(button,a){width:auto;flex:1 1 109px}}
