@import url('https://fonts.googleapis.com/css2?family=Gowun+Dodum&display=swap');
:root{--base:#273f49;--deep:#162a34;--deepest:#0d222b;--pale:#e4e8e9;--mist:#bac8d0;--muted:#9fb0b9;--edge:rgba(228,235,240,.19);--edge-hi:rgba(237,246,250,.35);--teal:#b5ded9;--button:#bcd5d3;--button-text:#1b343e;--radius:6px;font-family:'Apple SD Gothic Neo','Malgun Gothic','Noto Sans KR','Gowun Dodum', 'Apple SD Gothic Neo', sans-serif;color:var(--pale);background:var(--base);font-synthesis:weight}
*{box-sizing:border-box}html{min-height:100%;scroll-behavior:smooth}body{margin:0;min-height:100vh;background:radial-gradient(ellipse 110% 78% at 45% 20%,#78929c 0%,#506d79 37%,#2d4c58 65%,#18323e 100%);color:var(--pale);line-height:1.65;overflow-x:hidden}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #d7f6e7;outline-offset:3px}.hidden{display:none!important}.ambient{position:fixed;pointer-events:none;inset:auto;z-index:-1;border-radius:100%;filter:blur(100px);opacity:.3}.ambient-one{width:50vw;height:50vw;top:-22vw;right:-7vw;background:#bfafc9}.ambient-two{width:50vw;height:65vw;bottom:-35vw;left:-18vw;background:#9baab4}.page-width{width:min(1160px,calc(100% - 70px));margin-left:auto;margin-right:auto}.site-header{height:93px;display:flex;align-items:center;justify-content:space-between;gap:20px}.wordmark{font:normal 38px/.9 'Gowun Dodum', 'Apple SD Gothic Neo', sans-serif;letter-spacing:-2px;color:#eef0ec}.wordmark-period{font-style:normal;color:#a0d5cc}.nav-right{display:flex;gap:24px;align-items:center}.nav-overline,.small-label,.hero-label,.eyebrow,.hero-counter,.leader-aside,.label-aside,.site-footer,.room-index,.cert-box>span,.status-chip{font-size:10px;letter-spacing:2.1px;font-weight:650}.nav-overline{color:#d5e0e4;opacity:.82}.status-chip{display:inline-flex;gap:9px;align-items:center;border:1px solid var(--edge-hi);padding:8px 12px;border-radius:999px;color:#f4f8f8;letter-spacing:.7px;white-space:nowrap;background:rgba(23,48,58,.22)}.status-dot{background:#cde5d4;height:6px;width:6px;border-radius:50%;box-shadow:0 0 12px #d5e8dc}.hero{height:530px;position:relative;overflow:hidden;border:1px solid var(--edge);isolation:isolate;background:#9aabb6;box-shadow:0 30px 70px rgba(12,29,39,.16)}.hero-image{position:absolute;width:100%;height:100%;object-fit:cover;object-position:50% 48%;inset:0;filter:saturate(.73) brightness(.75) contrast(.98)}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,32,43,.66) 0%,rgba(29,51,63,.44) 35%,rgba(15,33,43,.14) 77%),linear-gradient(0deg,rgba(18,42,54,.72) 0%,transparent 50%,rgba(24,44,52,.17) 100%)}.hero-label{position:absolute;top:29px;left:34px;right:34px;display:flex;align-items:center;gap:15px;color:#ecf3f3;opacity:.84;font-size:10px;z-index:2}.hairline{height:1px;flex:1;background:rgba(238,247,246,.56)}.hero-copy{position:absolute;left:7.7%;right:15px;bottom:64px;z-index:2}.eyebrow{font-size:10px;color:#e2f3f1}.hero h1{margin:5px 0 7px;color:#f5f7f6;font-family:'Gowun Dodum', 'Apple SD Gothic Neo', sans-serif;font-weight:400;font-size:clamp(53px,7.1vw,99px);letter-spacing:-4px;line-height:1.13;text-shadow:0 6px 22px rgba(10,30,38,.14)}.hero h1 em{font-weight:400;color:#e0edea}.hero-sub{margin:15px 0 0;font-size:14px;line-height:2.05;letter-spacing:.2px;color:#e9efee}.hero-counter{position:absolute;right:35px;bottom:32px;color:#f5f6f6}.hero-counter span{opacity:.55}.below-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:29px 0 31px;border-bottom:1px solid var(--edge)}.intro-copy{display:flex;align-items:center;gap:22px;line-height:1.5;font-size:12px;color:#e5eff0}.small-label{color:#c7dce0;white-space:nowrap}.live-count{display:flex;gap:20px;align-items:center;white-space:nowrap;font-size:10px;letter-spacing:1.3px;color:#cbd8de}.live-count b{color:#fff;font-size:15px;margin-left:8px;font-weight:500;letter-spacing:.1px}.live-count i{height:13px;width:1px;background:var(--edge)}.primary-panel{padding:44px 0 54px}.event-message{max-width:710px;margin:auto;font-size:13px;text-align:center;color:#e7efef;min-height:0}.glass-card{border:1px solid var(--edge-hi);background:linear-gradient(145deg,rgba(213,226,232,.13),rgba(17,43,55,.22));box-shadow:0 24px 80px rgba(10,31,42,.13);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-radius:var(--radius)}.register-card{max-width:710px;margin:auto;padding:34px 39px 38px}.panel-header{display:flex;justify-content:space-between;align-items:center}.tiny-ornament{font-size:22px;color:#d9f1e7}.glass-card h2,.leaderboard-section h2{font-family:'Gowun Dodum', 'Apple SD Gothic Neo', sans-serif;font-weight:400;letter-spacing:-.7px}.register-card h2{font-size:35px;margin:12px 0 5px}.glass-card p{color:#d6e1e4}.register-card>p{margin:0 0 27px;font-size:12px;line-height:2}.field-group{display:flex;flex-direction:column;gap:11px}.field-group label,.answer-form label{font-size:11px;letter-spacing:.5px;color:#edf5f3}.input-row{display:flex;gap:9px}.field-group input:not([type=checkbox]),.field-group textarea,.answer-form input{min-height:47px;padding:12px 16px;flex:1;min-width:0;background:rgba(12,34,45,.26);border:1px solid var(--edge-hi);border-radius:3px;color:#fff;outline:none}.field-group textarea{width:100%;resize:vertical;line-height:1.8}.field-group input:focus,.field-group textarea:focus,.answer-form input:focus{border-color:#cde5e2;box-shadow:0 0 0 2px rgba(204,242,237,.13)}input::placeholder,textarea::placeholder{color:#b2c3cb}.field-group input:disabled{opacity:.5}.primary-button,.outline-button,.soft-button,.danger-button{border-radius:3px;border:1px solid transparent;padding:12px 20px;min-height:47px;white-space:nowrap;font-size:12px;letter-spacing:.2px;transition:background .16s,border-color .16s,transform .16s}.primary-button{background:var(--button);color:var(--button-text);font-weight:750}.primary-button:hover{background:#e1f1ed}.outline-button{background:transparent;border-color:var(--edge-hi);color:#edf6f4}.outline-button:hover{background:rgba(255,255,255,.12)}.soft-button{background:rgba(185,210,214,.15);border-color:var(--edge);color:#e8f6f5}.soft-button:hover{background:rgba(195,220,225,.26)}.text-link{margin-top:23px;border:0;background:transparent;color:#d6e7e5;font-size:12px;padding:0;text-decoration:underline;text-underline-offset:5px}.text-link:hover{color:#fff}.center-card{max-width:710px;margin:auto;padding:45px 30px;text-align:center}.lock-emblem{font:110px/1 'Gowun Dodum', 'Apple SD Gothic Neo', sans-serif;color:#d9e6e8;margin:18px auto 8px;font-weight:300}.center-card h2{font-size:35px;margin:10px auto}.center-card p{font-size:13px;line-height:2}.countdown{font:clamp(32px,6vw,56px)/1.5 'Gowun Dodum', 'Apple SD Gothic Neo', sans-serif;letter-spacing:4px;color:#f3f6f1;margin:20px 0}.waiting-player{font-size:12px;color:#cee9e5;margin-top:18px}.center-card>.outline-button{margin-top:15px}.game-layout{display:grid;grid-template-columns:minmax(0,760px) minmax(190px,1fr);gap:30px;align-items:stretch}.room-card{padding:35px 44px 40px}.room-heading{display:flex;justify-content:space-between;align-items:center}.room-index{font:32px/.95 'Gowun Dodum', 'Apple SD Gothic Neo', sans-serif;letter-spacing:-.6px;color:#f3f8f6}.room-index span{font-size:14px;color:#b4cad1}.progress-bar{display:flex;gap:7px;margin:24px 0 12px}.progress-bar>i{height:3px;flex:1;background:rgba(229,245,241,.21)}.progress-bar>i.active{background:#cde9df;box-shadow:0 0 10px rgba(194,238,225,.3)}.door-divider{display:flex;gap:22px;align-items:center;margin:28px 0 10px}.door-symbol{font-size:19px;color:#c9e5dc}.divider-line{height:1px;flex:1;background:var(--edge)}.room-card h2{font-size:42px;margin:9px 0 4px}.room-intro{font-size:13px;margin-top:4px}.question-text{white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid var(--edge);background:rgba(9,29,40,.24);padding:25px 26px;min-height:145px;font-size:15px;line-height:2.2;margin:28px 0 18px;color:#f6f8f7}.question-image{max-width:100%;max-height:520px;object-fit:contain;display:block;margin:0 auto 22px;border:1px solid var(--edge)}.hint-box{padding:19px;background:rgba(206,227,224,.13);border-left:2px solid #d9efea;margin:13px 0 24px}.hint-box p{white-space:pre-wrap;overflow-wrap:anywhere;margin:7px 0 0;font-size:13px}.answer-form{margin-top:29px}.answer-form label{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}.label-aside{font-size:9px;color:#b9ccd4}.form-result{color:#d8f5e5;font-size:12px;min-height:16px}.form-result.error{color:#ffd4d4}.side-note{border:1px solid var(--edge);padding:28px;display:flex;flex-direction:column;min-height:390px;justify-content:flex-end;align-items:flex-start;background:radial-gradient(ellipse at 80% 15%,rgba(202,222,221,.18),transparent 60%),rgba(12,34,45,.08)}.side-orbit{font:110px/1 'Gowun Dodum', 'Apple SD Gothic Neo', sans-serif;color:rgba(222,238,232,.4);margin:auto}.side-note p{font:normal 26px/1.6 'Gowun Dodum', 'Apple SD Gothic Neo', sans-serif;color:#f2f8f5}.side-line{height:1px;width:100%;background:var(--edge);margin:23px 0}.side-note>span:last-child{font-size:9px;letter-spacing:1.5px;color:#c8d9df}.finish-symbol{font:69px/1 'Gowun Dodum', 'Apple SD Gothic Neo', sans-serif;margin:25px auto 0;color:#e2f1e9}.finish-rank{font-size:14px;margin-top:22px}.finish-rank strong{font:40px 'Gowun Dodum', 'Apple SD Gothic Neo', sans-serif;color:#fff;margin-left:10px}.cert-box{margin:21px auto 19px;border:1px solid var(--edge-hi);background:rgba(7,30,41,.2);padding:19px 25px;display:flex;flex-direction:column;gap:9px;max-width:390px;word-break:break-word}.cert-box span{font-size:9px;letter-spacing:2px;color:#cddcdf}.cert-box strong{font:22px 'Gowun Dodum', 'Apple SD Gothic Neo', sans-serif;letter-spacing:2px;color:#f8ffff}.leaderboard-section{border-top:1px solid var(--edge);margin:0 0 80px;padding:33px 0}.leader-title{display:flex;justify-content:space-between;gap:20px;align-items:flex-end}.leaderboard-section h2{font-size:32px;margin:2px 0 0}.leader-aside{letter-spacing:0;font-size:12px;color:#d4e1e5}.leaderboard{margin-top:25px;border-top:1px solid var(--edge)}.leader-row{display:flex;align-items:center;gap:24px;border-bottom:1px solid var(--edge);padding:16px 9px;font-size:13px}.leader-row .rank-no{font:24px 'Gowun Dodum', 'Apple SD Gothic Neo', sans-serif;min-width:38px;color:#e5efef}.leader-row .rank-name{flex:1;overflow-wrap:anywhere}.leader-row .rank-time{color:#c6d4da;font-size:11px;letter-spacing:.8px}.empty-state{font-size:12px;color:#d7e4e8;opacity:.85;padding:24px 9px}.site-footer{border-top:1px solid var(--edge);display:flex;justify-content:space-between;gap:20px;padding:23px 0 37px;color:#d1dfe3;letter-spacing:1.2px}.footer-star{margin:0 4px}.modal{width:min(440px,calc(100% - 24px));max-height:calc(100dvh - 30px);overflow-y:auto;background:#36525e;color:#ecf4f3;border:1px solid rgba(233,244,240,.34);padding:0;border-radius:5px;box-shadow:0 20px 100px #08161f99}.modal::backdrop{background:rgba(4,21,30,.75);backdrop-filter:blur(6px)}.modal-dismiss{position:absolute;right:11px;top:7px}.modal-dismiss button{border:0;background:transparent;color:#ebf2f2;font-size:29px}.modal-content{padding:36px 35px 39px}.modal-content h2{font:35px 'Gowun Dodum', 'Apple SD Gothic Neo', sans-serif;margin:12px 0 4px}.modal-content p{font-size:12px;line-height:1.9;color:#dde8e8;margin:0 0 22px}.modal-content .field-group input{flex:auto}.modal-content .primary-button{margin-top:9px}.center-modal{text-align:center}.center-modal .primary-button,.center-modal .outline-button{width:100%;margin-top:10px}.center-modal .cert-box strong{font-size:24px}.toast{position:fixed;z-index:1000;right:22px;bottom:20px;padding:13px 22px;background:#e0efeb;color:#193440;box-shadow:0 10px 50px #04151e66;border-radius:4px;font-size:12px;opacity:0;transform:translateY(10px);transition:opacity .22s,transform .22s;pointer-events:none;max-width:calc(100vw - 44px)}.toast.visible{opacity:1;transform:translateY(0)}
/* Admin */
.admin-main{padding-bottom:70px}.admin-login{max-width:460px;margin:50px auto 110px;padding:45px}.admin-login h1,.admin-top h1{font:52px 'Gowun Dodum', 'Apple SD Gothic Neo', sans-serif;font-weight:400;margin:10px 0}.admin-login h1 em,.admin-top h1 em{font-weight:400;color:#c5ded8}.admin-login>p,.admin-top p{color:#dbe5e9;font-size:12px;line-height:1.9}.admin-login .field-group{margin-top:32px}.admin-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:10px 0 32px}.admin-top h1{margin:3px 0 5px}.admin-top p{margin:0}.admin-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:25px}.stat-tile{border:1px solid var(--edge);background:rgba(9,35,44,.14);padding:17px 20px;min-height:110px;display:flex;flex-direction:column;justify-content:space-between}.stat-tile span{font-size:11px;color:#cadae0}.stat-tile strong{font:35px 'Gowun Dodum', 'Apple SD Gothic Neo', sans-serif;color:#f4f8f7;font-weight:400}.stat-tile .stat-phase{font:18px/1.6 'Malgun Gothic',sans-serif}.admin-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:stretch}.admin-box{padding:27px}.admin-box h2,.admin-editor h2,.danger-zone h2{font-size:29px;margin:0}.section-header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px}.helper-text{color:#c8d8de;font-size:11px;line-height:1.8}.admin-box>.helper-text{margin-top:-4px}.admin-box .field-group{margin:22px 0}.admin-box .field-group input:not([type=checkbox]){width:100%}.checkline{display:flex!important;align-items:center;gap:10px;color:#dfe9e9!important;cursor:pointer}.checkline input{accent-color:#bde6df;width:17px;height:17px}.button-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.button-grid>*{min-width:0;white-space:normal}.room-stats{display:flex;flex-direction:column;gap:7px;margin:20px 0}.room-stat{display:flex;align-items:center;gap:12px;font-size:11px}.room-stat>span:first-child{width:58px}.room-stat .bar{height:5px;background:rgba(214,234,230,.18);flex:1;overflow:hidden}.room-stat .bar>i{display:block;height:100%;background:#c4e0dc}.room-stat b{width:30px;text-align:right;font-weight:500}.mini-leaders{border-top:1px solid var(--edge);padding-top:18px;color:#e0ebe9;font-size:11px}.mini-leaders>div{white-space:pre-wrap;margin-top:8px}.admin-editor{margin-top:22px;padding:27px}.room-tabs{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:6px;margin:27px 0 27px}.room-tab{border:1px solid var(--edge);background:rgba(14,36,46,.15);color:#d7e3e5;padding:12px 3px;font:18px 'Gowun Dodum', 'Apple SD Gothic Neo', sans-serif;min-width:0}.room-tab small{display:block;font:8px 'Gowun Dodum', 'Apple SD Gothic Neo', sans-serif;letter-spacing:1px;margin-top:4px;color:#b6d1d5}.room-tab.active{background:#d0e3df;color:#223a45;border-color:#d0e3df}.room-tab.active small{color:#425963}.room-editor-form{display:flex;flex-direction:column;gap:20px}.form-row{display:grid;grid-template-columns:3fr 1fr;gap:16px}.admin-editor .field-group input:not([type=checkbox]),.admin-editor .field-group textarea{width:100%}.image-manager{border:1px solid var(--edge);padding:19px 20px;display:flex;flex-direction:column;gap:16px}.image-manager p{margin:6px 0 0}.image-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.image-actions input{color:#d7e7e8;font-size:11px;max-width:100%}.image-actions input::file-selector-button{padding:9px 14px;border:1px solid var(--edge-hi);background:rgba(255,255,255,.12);color:#f2f5f5;margin-right:10px;cursor:pointer}.admin-image-preview{max-height:260px;width:auto;max-width:100%;object-fit:contain;align-self:flex-start;border:1px solid var(--edge)}.editor-actions{display:flex;justify-content:space-between;align-items:center;gap:20px}.danger-zone{padding:23px 27px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px}.danger-zone p{font-size:12px;margin:0}.danger-button{background:#713f4a55;border-color:#dbb3b9;color:#ffeaed}.danger-button:hover{background:#8e3d4d66}.small-button{min-height:34px;padding:7px 10px}.admin-body .site-footer{margin-top:22px}
@media(max-width:850px){.hero{height:470px}.page-width{width:min(100% - 44px,1160px)}.hero h1{font-size:clamp(45px,8vw,72px)}.below-hero{align-items:flex-start}.intro-copy{flex-direction:column;align-items:flex-start;gap:7px}.game-layout{grid-template-columns:1fr}.side-note{display:none}.admin-grid{grid-template-columns:1fr}.room-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:580px){.page-width{width:calc(100% - 28px)}.site-header{height:70px}.wordmark{font-size:31px}.nav-right{gap:9px}.nav-overline{display:none}.hero{height:510px}.hero-image{object-position:50% 36%;filter:saturate(.7) brightness(.77)}.hero-shade{background:linear-gradient(0deg,rgba(11,31,41,.88) 0%,rgba(22,45,55,.46) 47%,rgba(25,49,60,.15) 100%)}.hero-copy{bottom:43px;left:23px;right:20px}.hero h1{font-size:clamp(42px,11vw,61px);letter-spacing:-2.6px}.hero-sub{font-size:11px}.hero-label{top:20px;left:20px;right:20px;font-size:8px;letter-spacing:1.2px}.hero-counter{bottom:18px;right:16px}.below-hero{display:block;padding:23px 4px}.live-count{justify-content:flex-start;margin-top:20px}.primary-panel{padding:23px 0 43px}.register-card,.room-card{padding:25px 20px 28px}.register-card h2{font-size:29px}.input-row{flex-direction:column}.input-row>input,.input-row>button{width:100%}.center-card{padding:30px 19px}.center-card h2{font-size:29px}.room-card h2{font-size:34px}.question-text{padding:19px 17px;font-size:14px}.leader-title{display:block}.leader-aside{display:block;margin-top:9px}.leaderboard-section{margin-bottom:50px}.site-footer{flex-direction:column;gap:6px;padding-bottom:30px;line-height:1.7}.modal-content{padding:33px 25px}.admin-login{margin:30px auto 70px;padding:29px 24px}.admin-login h1,.admin-top h1{font-size:42px}.admin-top{flex-direction:column;gap:10px}.admin-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-box,.admin-editor{padding:19px}.form-row{grid-template-columns:1fr}.room-tabs{grid-template-columns:repeat(5,minmax(0,1fr))}.room-tab{padding:9px 3px}.editor-actions,.danger-zone{flex-direction:column;align-items:stretch}.editor-actions .primary-button{width:100%}.image-actions{flex-direction:column;align-items:stretch}.button-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Mobile: preserve all five members in the supplied artwork rather than cropping the outer faces. */
@media(max-width:580px){.hero{background:linear-gradient(#7d96a2 0%,#344f5d 80%,#263e4a 100%)}.hero-image{height:auto;object-fit:contain;object-position:top;inset:0 auto auto 0}.hero-shade{background:linear-gradient(0deg,rgba(11,31,41,.91) 0%,rgba(22,45,55,.62) 39%,rgba(23,48,59,.04) 85%)}}
/* v2 — community escape-room platform: preserve the original RESCENE visual language */
.hero-actions{display:flex;gap:10px;margin-top:25px;flex-wrap:wrap}
.hero-actions a{display:inline-flex;align-items:center;justify-content:center}
.hero h1{font-size:clamp(48px,6.1vw,84px)}
.collection-section{padding:43px 0 100px}
.collection-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.collection-heading h2{font:normal 39px/1.25 'Gowun Dodum', 'Apple SD Gothic Neo', sans-serif;margin:7px 0 0}
.quiet-desc{font-size:12px;line-height:1.9;color:#d7e5e6;margin:12px 0 29px}
.games-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.game-card{display:flex;flex-direction:column;padding:25px;min-height:256px}
.game-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.room-pill{font-size:11px;color:#e8f8f2;border:1px solid var(--edge-hi);padding:4px 9px;border-radius:20px}
.game-card h3{font:normal 29px/1.4 'Gowun Dodum', 'Apple SD Gothic Neo', sans-serif;margin:18px 0 9px;overflow-wrap:anywhere}
.game-card .game-description{font-size:12px;line-height:1.8;color:#d9e8e9;white-space:pre-wrap;flex:1;margin:0}
.game-byline{font-size:10px;color:#c5d9da;margin:20px 0 14px;line-height:1.7}
.game-card .primary-button{text-align:center}
.collection-empty{padding:40px 24px;max-width:650px;grid-column:1/-1}
.collection-empty h3{font:normal 29px 'Gowun Dodum', 'Apple SD Gothic Neo', sans-serif;margin:17px 0 7px}
.collection-empty p{font-size:12px;margin:0 0 21px}
.collection-empty a{display:inline-block}
.mini-nav{padding:8px 15px;min-height:35px;font-size:11px}
.slim-main{max-width:920px;padding-bottom:65px}
.page-lead{margin:20px 0 30px}
.page-lead h1{font:normal clamp(42px,6vw,67px)/1.2 'Gowun Dodum', 'Apple SD Gothic Neo', sans-serif;margin:11px 0}
.page-lead h1 em{color:#c3ddd6;font-weight:400}
.page-lead p{font-size:13px;line-height:1.9;color:#e0e9e8;max-width:760px}
.create-form-card{padding:37px;max-width:730px;margin-bottom:45px}
.create-form-card .field-group{gap:13px}
.count-select-row{display:flex;gap:15px;align-items:center}
.count-select-row input{max-width:142px}
.count-select-row span{font-size:12px;color:#d7e7e9}
.create-form-card .field-group>button{margin-top:8px}
.create-form-card .helper-text{margin:-1px 0 3px}
.form-result{font-size:12px;min-height:16px;color:#ffe1df;line-height:1.8}
.form-result.is-good{color:#bbf8df}
.creator-head{display:flex;align-items:start;justify-content:space-between;gap:20px}
.studio-info-row{display:flex;align-items:center;gap:15px;flex-wrap:wrap;border-bottom:1px solid var(--edge);padding:0 0 25px;margin-bottom:22px}
.studio-info-row #studio-count{font-size:12px;color:#deeceb;margin-right:auto}
.studio-editor{padding:27px 29px}
.studio-editor .section-header h2{font:normal 31px 'Gowun Dodum', 'Apple SD Gothic Neo', sans-serif;margin:4px 0 0}
.dynamic-tabs{display:flex;flex-wrap:wrap;gap:7px;overflow:visible;grid-template-columns:none;margin:22px 0 28px}
.dynamic-tabs .room-tab{width:65px;min-height:62px;padding:7px 2px;flex:0 0 auto}
.dynamic-tabs .room-tab small{font-size:9px}
.studio-editor .field-group{gap:13px}
.studio-editor .field-group>input,.studio-editor .field-group>textarea{width:100%;flex:auto}
.studio-editor .field-group textarea{min-height:90px}
.studio-editor #room-prompt{min-height:160px}
.read-only input,.read-only textarea{opacity:.72}
.publish-card{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-top:21px;padding:25px 29px}
.publish-card h2{font:normal 28px 'Gowun Dodum', 'Apple SD Gothic Neo', sans-serif;margin:7px 0 3px}
.publish-card p{font-size:12px;line-height:1.9;color:#dce8e9;margin:4px 0 0}
.results-wrap{margin-top:13px}
.results-summary,.locked-results{padding:19px 25px;margin-top:9px;font-size:12px;color:#e3ecec}
.results-list{overflow:hidden;margin-top:10px}
.result-row{display:flex;align-items:center;gap:24px;padding:13px 21px;border-bottom:1px solid var(--edge);font-size:13px}
.result-row:last-child{border-bottom:0}
.result-row strong{font:normal 23px 'Gowun Dodum', 'Apple SD Gothic Neo', sans-serif;min-width:40px;color:#f8ffff}
.result-row span{flex:1;overflow-wrap:anywhere}
.result-row small{font-size:11px;color:#bcd0d7}
.studio-warning{margin:28px 2px}
.play-heading{margin-bottom:24px}
.play-heading p{max-width:800px;white-space:pre-line}
.notice{font-size:13px;text-align:center;color:#ffe5e5;margin:12px 0}
.play-card{max-width:820px;margin:0 auto 65px;padding:34px 38px}
.play-card .question-text{white-space:pre-wrap;overflow-wrap:anywhere}
.dynamic-progress{display:flex;gap:4px;min-height:10px;flex-wrap:nowrap}
.progress-piece{display:block;flex:1;min-width:1px;background:rgba(220,240,236,.19);height:8px;border-radius:2px}
.progress-piece.filled{background:#d5f2ec}
.finish-identifier{padding:12px;border-top:1px solid var(--edge);font-size:13px}
#finish-panel{margin:30px auto 70px}
#finish-panel a{display:inline-block;margin-top:14px}
.moderation-row{display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--edge);padding:18px 0}
.moderation-row:last-child{border-bottom:0}
.moderation-details{min-width:0;flex:1}
.moderation-details strong{font-size:16px;font-weight:550;overflow-wrap:anywhere}
.moderation-details p{font-size:12px;margin:4px 0}
.moderation-details small{color:#c5d7da;font-size:11px}
#admin-view .admin-box{margin-top:20px}
#admin-view .admin-box .section-header h2{font:normal 29px 'Gowun Dodum', 'Apple SD Gothic Neo', sans-serif;margin:5px 0}
#admin-view .helper-text{margin:12px 0 15px}
@media(max-width:950px){.games-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.hero h1{font-size:clamp(40px,10.5vw,53px);letter-spacing:-2px}.hero-actions{flex-direction:column;align-items:stretch;margin-right:9px}.hero-actions a{min-height:38px;padding:9px 12px}.games-grid{grid-template-columns:1fr}.collection-section{padding:29px 0 60px}.collection-heading h2{font-size:30px}.collection-heading .outline-button{font-size:10px;padding:8px;min-height:36px}.game-card{min-height:unset}.page-lead{margin:12px 0 25px}.page-lead h1{font-size:42px}.create-form-card,.studio-editor{padding:23px 20px}.count-select-row{flex-wrap:wrap}.creator-head,.publish-card{flex-direction:column;align-items:stretch}.studio-info-row{gap:11px}.dynamic-tabs .room-tab{width:56px;min-height:57px}.play-card{padding:23px 19px}.result-row{gap:12px}.result-row small{font-size:9px}.moderation-row{flex-direction:column;align-items:stretch}.moderation-row button{align-self:flex-end}.nav-overline{display:none}}

/* v3 rounded typography — throughout headings, buttons, inputs and status labels. */
:root{--radius:22px;--button:#ddf8ee;--button-text:#173c42;font-family:'Gowun Dodum','Apple SD Gothic Neo','Malgun Gothic',sans-serif}
html,body,body *,button,input,select,textarea{font-family:'Gowun Dodum','Apple SD Gothic Neo','Malgun Gothic',sans-serif}
h1,h2,h3,h4,.hero h1,.wordmark,.game-card h3,.page-lead h1,.glass-card h2{font-weight:700;letter-spacing:-.035em}
.wordmark{font-size:36px;letter-spacing:-1.8px}
.hero h1{font-style:normal;font-weight:700;letter-spacing:-.035em}
.primary-button,.outline-button,.soft-button,.danger-button,.room-tab,.file-label,.mini-nav{
  border-radius:999px;min-height:46px;font-size:14px;font-weight:700;
  border:1px solid rgba(228,249,244,.48);letter-spacing:0;
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  text-align:center;line-height:1.35;transition:background-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.primary-button{background:#d9f8ee;color:#153743;border-color:#e9fffa;box-shadow:0 5px 18px rgba(8,34,42,.25)}
.primary-button:hover:not(:disabled){background:#f0fffb;box-shadow:0 8px 25px rgba(9,34,38,.32);transform:translateY(-1px)}
.outline-button{color:#f7fffd;background:rgba(18,48,61,.60);border:1.5px solid rgba(230,255,249,.70);box-shadow:0 3px 14px rgba(10,33,44,.2)}
.outline-button:hover:not(:disabled){background:rgba(198,236,226,.25);border-color:#fff}
.soft-button{background:rgba(198,239,229,.27);border-color:rgba(236,255,252,.65);color:#fff}
.danger-button{background:#76434b;border-color:#ffd8dd;color:#fff}
.room-tab{width:auto;border-radius:17px;box-shadow:none}
.room-tab.active{background:#dbf8f1;border-color:#f9fffd;color:#183e48}
.field-group input:not([type=checkbox]),.field-group textarea,.answer-form input{border-radius:16px;border:1px solid rgba(235,255,251,.54);background:rgba(12,35,46,.43);font-size:15px}
input::placeholder,textarea::placeholder{color:#cbd9dd}
.small-label,.eyebrow,.hero-label,.nav-overline,.site-footer{letter-spacing:.75px;font-size:11px}
.hero-actions a{padding:12px 22px}
.game-card .primary-button{width:100%}
.puzzle-image-editor{border:1px solid rgba(223,251,244,.48);border-radius:20px;padding:21px;background:rgba(16,46,58,.22);margin:5px 0;display:flex;flex-direction:column;gap:12px}
.puzzle-image-editor-head{display:flex;align-items:start;justify-content:space-between;gap:12px}
.puzzle-image-editor-head strong{font-size:16px;color:#fff}
.puzzle-image-editor-head p{margin:5px 0 0;font-size:12px;line-height:1.7;color:#d8ebeb}
.image-tag{border:1px solid rgba(230,249,246,.48);color:#eafffa;border-radius:50px;padding:5px 9px;white-space:nowrap;font-size:10px}
.puzzle-image-box{background:rgba(8,28,39,.42);border:1px solid rgba(223,251,244,.3);border-radius:18px;overflow:hidden;display:flex;justify-content:center;align-items:center;min-height:160px;padding:12px}
.puzzle-image-box img{max-width:100%;max-height:320px;object-fit:contain;border-radius:12px}
.puzzle-image-buttons{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.puzzle-image-buttons .primary-button,.puzzle-image-buttons .outline-button{flex:1;min-width:145px}
.file-label{width:fit-content;padding:10px 20px;background:rgba(226,248,242,.20);color:#fff;cursor:pointer}
.file-label:hover{background:rgba(226,248,242,.32)}
#room-image-file{font-size:13px;max-width:100%;color:#edf8f7;min-height:0;border:0;background:none;padding:1px}
#room-image-file::file-selector-button{display:none}
.question-image-wrap{width:100%;margin:20px 0 16px;background:rgba(7,26,37,.29);border-radius:20px;display:flex;justify-content:center;align-items:center;padding:13px;border:1px solid rgba(224,244,240,.3)}
.question-image-wrap img{display:block;width:auto;height:auto;max-height:520px;max-width:100%;border-radius:12px;object-fit:contain}
@media(max-width:580px){.puzzle-image-editor{padding:15px}.puzzle-image-editor-head{flex-direction:column}.puzzle-image-buttons{flex-direction:column}.puzzle-image-buttons button{width:100%}.hero-actions a{font-size:14px;min-height:49px}.mini-nav{min-height:42px;font-size:12px}.wordmark{font-size:29px}}

.dynamic-tabs .room-tab{display:flex;flex-direction:column;gap:3px;padding:9px 4px}
.dynamic-tabs .room-tab small{line-height:1.4}
