@font-face{font-family:Adaptive Sans;src:url(/static/assets/fonts/Carlito-Regular.ttf) format("truetype");font-display:swap}@font-face{font-family:Adaptive Sans;src:url(/static/assets/fonts/Carlito-Bold.ttf) format("truetype");font-weight:700;font-display:swap}:root{font-family:Adaptive Sans,Arial,sans-serif;color:#062f45;background:#f7e8d8;font-synthesis:none;--paper: #f7e8d8;--paper-light: #fff5ea;--navy: #082f48;--red: #a70d0d;--bright-red: #d00808;--brown: #8d6657;--muted-brown: #9b7a6b;--line: #dfc4a2;--gold: #8c7000}*{box-sizing:border-box}html{min-height:100%;background:var(--paper)}body{min-width:320px;min-height:100%;margin:0;background:var(--paper)}button,textarea,input{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.48}button:focus-visible,textarea:focus-visible,input:focus-visible{outline:3px solid #ff6b33;outline-offset:3px}.mobile-page,.start-screen{width:min(100%,760px);min-height:100vh;margin:0 auto;padding:calc(22px + env(safe-area-inset-top)) clamp(18px,5vw,38px) calc(42px + env(safe-area-inset-bottom))}.brand{display:flex;align-items:center;justify-content:center;gap:5px;color:#b21313;font-size:clamp(23px,5.1vw,40px);font-weight:700;line-height:1}.brand-logo{display:block;flex:0 0 54px;width:54px;height:54px;background-color:var(--paper);background-image:url(/static/assets/logo.jpg);background-position:center;background-size:cover;background-blend-mode:multiply}.brand b{text-transform:uppercase}.copyright-mark{font-size:1.28em;font-weight:400}.brand.compact{padding-bottom:16px;color:#dc948c;border-bottom:2px solid #edd9c2;font-size:clamp(20px,4.3vw,32px);font-weight:700}.brand.compact .brand-logo{flex-basis:42px;width:42px;height:42px}.auth-page{position:relative;display:grid;min-height:100dvh;overflow:hidden;place-items:center;padding:calc(34px + env(safe-area-inset-top)) 20px calc(34px + env(safe-area-inset-bottom));background:radial-gradient(circle at 10% 12%,#fff8ef 0 5%,transparent 28%),radial-gradient(circle at 88% 84%,#ddbca25c 0 8%,transparent 31%),var(--paper)}.auth-shell{position:relative;z-index:2;width:min(100%,610px);text-align:center}.auth-page .brand{font-size:clamp(22px,4.4vw,34px)}.auth-page .brand-logo{flex-basis:48px;width:48px;height:48px}.auth-intro{margin:clamp(32px,6vh,62px) auto 24px}.auth-intro p{margin:0 0 7px;color:#80513d;font-size:clamp(18px,3vw,25px);font-style:italic}.auth-intro h1{margin:0;color:var(--red);font:700 clamp(31px,5.5vw,45px) Georgia,serif;line-height:1.08}.auth-intro span{display:block;margin-top:13px;color:#785a4b;font-size:clamp(16px,2.6vw,21px)}.auth-card{padding:14px clamp(18px,5vw,34px) 25px;border:5px solid #7f685d;border-radius:38px;background:#fff4e9e8;box-shadow:inset 0 7px 14px #7d563015,0 14px 26px #4d372e3b;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:21px}.auth-tabs button{padding:12px 7px;color:#856759;border:0;border-bottom:3px solid transparent;background:transparent;font-size:clamp(18px,3.2vw,23px);font-weight:700}.auth-tabs button.active{color:var(--red);border-bottom-color:#a88400}.auth-form{display:grid;gap:15px;text-align:left}.auth-form label{display:grid;gap:6px;color:#714936;font-size:17px;font-weight:700}.auth-form input{width:100%;min-height:54px;padding:12px 17px;color:var(--navy);border:3px solid #ab8d7c;border-radius:20px;background:#fffaf5;font-size:18px;transition:border-color .2s ease,box-shadow .2s ease}.auth-form input::placeholder{color:#aa9185;font-weight:400}.auth-form input:focus{border-color:#9b7c00;box-shadow:0 0 0 4px #a884001c}.auth-error{margin:0;padding:9px 12px;color:#9e0909;border-radius:12px;background:#ffd9d3;font-weight:700;text-align:center}.auth-submit{margin-top:5px;padding:14px 20px;font-size:clamp(23px,4vw,31px)}.auth-switch{margin:20px 0 0;color:#76594b;font-size:16px}.auth-switch button{padding:2px;color:var(--red);border:0;border-bottom:1px solid currentColor;background:transparent;font-weight:700}.auth-footnote{margin:17px 12px 0;color:#886b5d;font-size:14px}.auth-board{position:absolute;z-index:1;right:max(-85px,-6vw);bottom:max(-65px,-5vw);width:min(31vw,310px);opacity:.11;transform:rotate(-8deg);filter:sepia(.2)}.profile-entry{position:fixed;z-index:80;top:calc(16px + env(safe-area-inset-top));left:max(16px,env(safe-area-inset-left));display:flex;align-items:center;gap:9px;max-width:min(270px,42vw);padding:6px 14px 6px 7px;color:#6e4d3e;border:2px solid #d2b69a;border-radius:999px;background:#fff4e9e8;box-shadow:0 4px 10px #4a2b1c20;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.profile-entry>span{display:grid;flex:0 0 34px;height:34px;place-items:center;color:#fff2d8;border-radius:50%;background:#8d6657;font-weight:700}.profile-entry b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-entry:hover{color:var(--red);border-color:#a88400}.profile-page{width:min(100%,820px)}.profile-heading{display:flex;align-items:center;gap:18px;margin:34px 0 24px;text-align:left}.profile-heading .profile-avatar{display:grid;flex:0 0 82px;height:82px;place-items:center;color:#fff1d5;border:4px solid #a88400;border-radius:50%;background:#8d6657;box-shadow:0 6px 14px #4d372e35;font-size:38px;font-weight:700}.profile-heading h1{margin:0 0 3px;color:var(--red);font:700 clamp(31px,5vw,43px) Georgia,serif}.profile-heading b,.profile-heading small{display:block}.profile-heading b{color:var(--navy);font-size:clamp(19px,3.4vw,26px)}.profile-heading small{margin-top:3px;color:#84695c;font-size:16px}.profile-grid{display:grid;grid-template-columns:.82fr 1.18fr;gap:16px;margin-bottom:16px}.profile-panel{padding:22px;color:var(--navy);border:3px solid #bca28d;border-radius:28px;background:#fff4e9;box-shadow:0 8px 18px #4d372e1f}.profile-panel h2{margin:0;color:#754027;font-size:clamp(22px,3.7vw,29px)}.profile-panel p{color:#7c6256}.balance-panel{display:flex;flex-direction:column;align-items:flex-start;background:linear-gradient(145deg,#fff6eb,#eddbc9)}.balance-panel>span{color:#76594b;font-size:18px}.balance-panel>strong{margin:4px 0 17px;color:var(--red);font-size:clamp(35px,6vw,50px);line-height:1}.balance-panel>small{margin-top:8px;color:#806a5e;line-height:1.2}.profile-action{width:100%;padding:11px 16px;color:#fff1d4;border:0;border-radius:18px;background:#8d6657;font-size:18px;font-weight:700}.promo-panel p{margin:6px 0 13px}.promo-form{display:grid;grid-template-columns:1fr auto;gap:8px}.promo-form input,.profile-form input{min-width:0;padding:11px 13px;color:var(--navy);border:2px solid #c5aa92;border-radius:15px;background:#fffaf5}.promo-form button{padding:10px 15px;color:#fff1d4;border:0;border-radius:15px;background:#8d6657;font-weight:700}.profile-message{margin:11px 0 0!important;padding:8px 10px;border-radius:12px;font-size:15px;font-weight:700}.profile-message.success{color:#35622d;background:#deefd8}.profile-message.error-message{color:#9f1010;background:#f6d8d1}.password-panel{margin-bottom:16px}.password-panel summary{color:#754027;font-size:clamp(21px,3.6vw,28px);font-weight:700;cursor:pointer}.password-panel[open] summary{margin-bottom:18px}.profile-form{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.profile-form label{display:grid;gap:5px;color:#714f40;font-size:14px;font-weight:700}.profile-form .profile-action,.profile-form .profile-message{grid-column:1 / -1}.profile-games{padding-bottom:12px}.profile-games>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:13px;border-bottom:2px solid #e2cbb4;text-align:left}.profile-games>header p{margin:3px 0 0}.profile-games>header>span{display:grid;min-width:43px;height:43px;place-items:center;color:#fff0d3;border-radius:50%;background:#8d6657;font-size:20px;font-weight:700}.profile-games-list{max-height:410px;overflow-y:auto;padding:2px 2px 8px;scrollbar-color:#9a7868 transparent}.profile-games-list>p{text-align:center}.profile-games-list button{display:grid;grid-template-columns:minmax(165px,.45fr) 1fr;gap:15px;width:100%;margin-top:10px;padding:13px 15px;color:var(--navy);border:1px solid #ddc3a7;border-radius:16px;background:#fffaf4;text-align:left}.profile-games-list button:hover{border-color:#a88400;background:#fff7df}.profile-games-list button span:first-child b,.profile-games-list button small{display:block}.profile-games-list button small{margin-top:4px;color:#846b5e}.logout-button{width:100%;margin-top:18px;padding:12px 18px;color:#a70d0d;border:2px solid #c98d7f;border-radius:18px;background:transparent;font-size:17px;font-weight:700}.logout-button:hover{color:#fff4e6;background:#a70d0d}.back-button{display:block;margin:0 0 8px;padding:7px 0;color:#80513d;border:0;background:transparent;font-size:17px}.back-button:hover{color:var(--red)}.error{margin:14px 0 0;color:#a00;font-weight:700;text-align:center}.start-screen{width:min(100%,820px);padding-top:clamp(50px,13vh,170px);text-align:center}.start-identity{margin-bottom:24px}.mantra-row{display:flex;align-items:center;justify-content:center;gap:24px;margin:18px auto 0;color:#b6917e}.mantra-row p{margin:0;text-align:right;font-size:clamp(13px,2.5vw,21px);font-weight:700;line-height:1.25}.mantra-row img{width:clamp(100px,22vw,165px);opacity:.5}.online-caption{margin:26px 0 4px;color:#74402a;font-size:clamp(24px,4.8vw,39px);font-style:italic}.start-title{margin:0;color:#050505;font-size:clamp(38px,7.4vw,62px);font-weight:400;line-height:1.03;letter-spacing:-.035em}.start-title b{font-weight:700}.format-caption{margin:48px 0 36px;color:var(--red);font-size:clamp(27px,5vw,40px);font-style:italic}.game-options{display:grid;gap:18px}.game-option{position:relative;min-height:142px;padding:20px clamp(90px,17vw,140px) 18px 24px;color:#0a2c50;border:7px solid #67635f;border-radius:999px;background:#fff3e7;box-shadow:inset 0 7px 11px #56381b1c,0 11px 9px #4d372e42;text-align:center}.game-option-copy b,.game-option-copy strong,.game-option-copy small{display:block}.game-option-copy b{font-size:clamp(25px,4.8vw,39px);line-height:1.05}.game-option-copy strong{margin-top:7px;color:#ff3737;font-size:clamp(22px,4vw,32px)}.game-option-copy small{color:#754c3a;font-size:clamp(20px,3.5vw,29px);font-style:italic}.price-tag{position:absolute;right:clamp(-8px,-1vw,-2px);top:50%;min-width:clamp(104px,18vw,150px);padding:10px 12px;color:#080808;border-radius:16px;background:#dfbd9e;font-size:clamp(22px,4vw,34px);transform:translateY(-50%)}textarea{width:100%;min-height:138px;resize:vertical;padding:18px 22px;color:var(--navy);border:7px solid var(--gold);border-radius:46px;background:#fff5eb;font-size:clamp(19px,3.4vw,27px);line-height:1.2}textarea::placeholder{color:#9f8375;font-style:italic}.paper-button,.primary-button,.action-button{width:100%;padding:18px 24px;color:#fff3d1;border:0;border-radius:38px;background-color:#9a776a;background-image:radial-gradient(#ffffff12 1px,transparent 1px);background-size:5px 5px;box-shadow:0 5px 4px #5d351d30;font-size:clamp(28px,5.4vw,44px);font-weight:700;text-shadow:0 2px 2px #503023}.solo-setup .brand{margin-top:4px}.setup-copy{margin:clamp(70px,12vh,130px) 2px 42px}.setup-copy h1{margin:0;color:#754027;font-size:clamp(30px,5.5vw,45px);line-height:1.25;text-align:center}.setup-copy h2{margin:8px 0 58px;color:var(--navy);font-size:clamp(28px,5vw,40px);font-style:italic;text-align:center}.setup-copy p{color:#7d6255;font-size:clamp(22px,4vw,33px);font-style:italic;line-height:1.4}.setup-copy p b{color:#c10000;font-style:normal}.single-confirmation{display:grid;grid-template-columns:56px 1fr;gap:22px;align-items:start;color:var(--navy);font-size:clamp(23px,4.2vw,34px);font-weight:700;line-height:1.35}.single-confirmation input{width:50px;height:50px;margin:4px 0 0;accent-color:var(--brown)}.query-label{display:block;margin:64px 0 24px;color:var(--red);font-size:clamp(35px,6vw,50px);font-weight:700;font-style:italic;text-align:center}.solo-setup textarea{transition:border-color .2s ease,background-color .2s ease,color .2s ease,opacity .2s ease}.solo-setup textarea:disabled{cursor:not-allowed;color:#8d8985;border-color:#b9b5af;background:#dedbd7;opacity:.72}.solo-setup textarea:disabled::placeholder{color:#8d8985}.solo-setup .paper-button{margin-top:34px}.authorship-note{margin:70px 10px 0;color:#80553f;font-size:clamp(18px,3.2vw,27px);line-height:1.35;text-align:center}.query-strip{margin:22px 0 0;padding:17px 4px;border-block:2px solid var(--line);font-size:clamp(20px,4vw,32px);font-weight:700}.query-strip b{color:#9a2413}.solo-turn-stage{min-height:720px;padding:18px 10px 58px;display:flex;flex-direction:column}.solo-turn-stage h1,.solo-result-page>h1{margin:0 0 10px;color:var(--red);font:700 clamp(39px,6.2vw,54px) Georgia,serif;text-align:center}.start-instruction{margin:20px 0;color:#c60000;font-size:clamp(25px,4.3vw,36px);font-style:italic;line-height:1.45}.solo-roll{display:flex;justify-content:center;flex-wrap:wrap;gap:22px;margin:0 0 24px;color:var(--red);font-size:clamp(27px,4.8vw,39px)}.solo-meaning{margin:0;color:var(--navy);font-size:clamp(27px,4.8vw,40px);line-height:1.35}.reflection-pause{margin:auto 0 24px;color:#c00000;font-size:clamp(24px,4vw,34px);font-style:italic;line-height:1.35}.solo-turn-stage .paper-button{margin-top:auto}.solo-board-stage{padding:55px 2px 0;border-top:2px solid var(--line)}.board-wrap{position:relative;width:min(76%,530px);aspect-ratio:1 / .92;margin:0 auto;filter:drop-shadow(6px 8px 4px #49240f35)}.board-wrap>img:first-child{width:100%;height:100%;object-fit:fill}.board-wrap .token{position:absolute;width:12%;transform:translate(-50%,-50%);filter:drop-shadow(0 3px 2px #1238);transition:left .45s ease,top .45s ease}.board-wrap .token.outside{left:-20%;top:50%}.duo-board .duo-token.slot-1.outside{left:-18%;top:42%}.duo-board .duo-token.slot-2.outside{left:-18%;top:59%}.duo-board .duo-token.exited{left:116%}.duo-board .duo-token.slot-1.exited{top:42%}.duo-board .duo-token.slot-2.exited{top:59%}.early-exit{display:block;width:min(72%,520px);margin:42px auto 0;padding:13px;color:#80513d;border:0;border-radius:13px;background:#ff7655;font-size:clamp(21px,3.8vw,31px)}.solo-result-page .query-strip{margin-bottom:14px}.turns-archive{max-height:min(46vh,570px);overflow-y:auto;overscroll-behavior:contain;padding:0 20px;border-block:2px solid var(--line);background:#f9ecde80;scrollbar-color:#987264 transparent}.turn-result{padding:18px 0 24px;border-bottom:1px solid #dfc4a2}.turn-result:last-child{border-bottom:0}.turn-result h2{margin:0 0 8px;color:var(--navy);font:700 clamp(28px,4.5vw,38px) Georgia,serif}.roll-line{display:flex;flex-wrap:wrap;gap:18px;margin:0 0 12px;color:var(--red);font-size:clamp(18px,3.3vw,26px)}.turn-result>p:not(.roll-line){font-size:clamp(20px,3.5vw,29px);line-height:1.35}.meaning{color:var(--navy)}.archive-hint{margin:0 0 12px;color:#86604e;font-size:18px;font-style:italic;text-align:center}.result-questions{margin-top:28px;color:#bf0000;font-size:clamp(23px,4vw,34px);font-style:italic;line-height:1.35}.result-questions p{margin-bottom:18px}.result-questions ol{margin:8px 0 22px 1.15em;padding:0}.result-questions label{display:block;margin:20px 0 10px;color:#090909;font-weight:700}.result-questions textarea{min-height:145px;font-style:normal}.second-step{margin-top:50px}.second-step label{color:#bd0000;font-weight:400}.second-step textarea{margin-bottom:26px}.result-reminder{display:grid;grid-template-columns:82px 1fr;gap:20px;align-items:center;margin:28px 8px;color:var(--navy);font-size:clamp(20px,3.5vw,29px);font-style:italic;line-height:1.2}.result-reminder>span{display:grid;width:72px;height:72px;place-items:center;color:#fff3df;border-radius:50%;background:#c00;font-size:57px;font-weight:700}.result-reminder p{margin:0}.solo-result-page>.paper-button{margin-top:22px}.stagnation-note{white-space:pre-line;margin:24px 0 0;padding:18px 20px;color:#9d1711;border-left:6px solid #a88400;border-radius:0 20px 20px 0;background:#f1dcc7;font-size:clamp(20px,3.5vw,29px);font-style:italic;line-height:1.38}.information-button{position:fixed;z-index:80;top:calc(16px + env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right));display:grid;width:50px;height:50px;place-items:center;padding:0 0 2px;color:#fff2d3;border:4px solid #a88400;border-radius:50%;background:#8d6657;box-shadow:0 5px 10px #4a2b1c42;font:italic 700 31px Georgia,serif}.information-button:hover{background:#a70d0d}.information-overlay{position:fixed;z-index:1000;inset:0;display:grid;place-items:center;padding:max(18px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));background:#29170fb0;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.information-dialog{position:relative;width:min(100%,760px);max-height:calc(100dvh - 36px);overflow-y:auto;overscroll-behavior:contain;padding:38px 42px 44px;color:var(--navy);border:4px solid #9a776a;border-radius:34px;background:var(--paper-light);box-shadow:0 18px 48px #1d0e0973;scrollbar-color:#9a776a transparent}.information-dialog h2{margin:0 48px 24px 0;color:var(--red);font:700 clamp(28px,4.7vw,40px) Georgia,serif;line-height:1.12}.information-dialog h3{margin:27px 0 7px;color:#754027;font-size:clamp(21px,3.5vw,28px)}.information-dialog p{margin:0 0 15px;font-size:clamp(18px,3vw,24px);line-height:1.38}.information-dialog em{font-weight:700}.information-close{position:sticky;z-index:2;top:0;float:right;display:grid;width:44px;height:44px;place-items:center;margin:-22px -25px 0 10px;padding:0 0 4px;color:#fff4dc;border:0;border-radius:50%;background:#9a776a;font-size:34px;line-height:1}.rules-list{margin:0;padding-left:1.35em}.rules-list li{padding-left:7px}.rules-list li::marker{color:var(--red);font-size:1.15em;font-weight:700}.rules-list li h3{margin-top:24px}.rules-reminder{margin-top:30px!important;padding:17px 20px;color:#8f1712;border-radius:18px;background:#f0dcc8}.landing-shell,.narrow-page,.game-page{width:min(100%,1100px);min-height:100vh;margin:0 auto;padding:calc(20px + env(safe-area-inset-top)) 24px calc(34px + env(safe-area-inset-bottom))}.landing-shell{width:min(100%,900px)}.narrow-page{width:min(100%,720px);text-align:center}.hero{text-align:center}.hero-visual{width:min(54vw,260px);margin:24px auto 12px}.hero-board{width:100%;filter:drop-shadow(0 6px 5px #5d351d50)}.hero h1{margin:0;color:var(--navy);font-size:clamp(43px,9vw,70px);line-height:.95}.subtitle{color:var(--red);font-size:clamp(21px,4.5vw,30px);font-style:italic}.start-form{margin-top:34px}.start-form>label{display:block;margin-bottom:14px;color:var(--red);font-size:clamp(25px,5vw,37px);font-style:italic;text-align:center}.start-form textarea{border-width:2px;border-color:#cbb295;border-radius:22px}.primary-button{margin-top:22px;border-radius:16px;font-size:25px}.join-row{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:18px}.join-row input{min-width:0;padding:13px 15px;color:var(--navy);border:2px solid #cbb295;border-radius:13px;background:#fff8ee;font-size:19px;text-transform:uppercase}.join-row button,.secondary-button{padding:12px 18px;color:#fff0d8;border:0;border-radius:13px;background:#a95005}.panel{padding:24px;border:1px solid #dec7aa;border-radius:24px;background:#fff8eecc;box-shadow:0 7px 22px #6d3b1714}.lobby-page{width:min(100%,860px)}.lobby-card{text-align:center}.kicker{margin:0;color:#8c6756;font-size:18px;text-transform:uppercase;letter-spacing:.08em}.room-code{margin:8px 0 14px;color:var(--navy);font-size:clamp(48px,12vw,86px);letter-spacing:.12em}.players{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:24px}.player{display:flex;align-items:center;gap:12px;padding:13px;text-align:left;border:2px solid #dac2a5;border-radius:16px;background:#fbefe4}.player>span{display:grid;flex:0 0 45px;height:45px;place-items:center;color:#fff;border-radius:50%;background:#967568;font-size:22px;font-weight:700}.player.ready{border-color:#6b9b63}.player.ready>span{background:#57804f}.player>span img{width:42px;height:34px;object-fit:contain}.player b,.player small{display:block}.player small{color:#7d665b}.token-picker{margin-top:18px;text-align:center}.token-picker h2{margin:0 0 6px;color:var(--navy)}.token-picker>p{margin:0 0 16px;color:#80675b}.token-options{display:grid;grid-template-columns:1fr 1fr;gap:14px}.token-option{display:flex;min-width:0;align-items:center;gap:12px;padding:13px;color:var(--navy);text-align:left;border:2px solid #d8c0a4;border-radius:18px;background:#fbefe4}.token-option.selected{border-color:var(--gold);background:#fff8df;box-shadow:0 0 0 3px #8c700026}.token-option img{width:62px;flex:0 0 62px}.token-option span,.token-option b,.token-option small{display:block}.token-option small{margin-top:4px;color:#80675b}.safety{margin-top:18px}.safety-warning{color:#aa1c16}.safety label{display:grid;grid-template-columns:34px 1fr;gap:14px;align-items:start;margin:16px 0;font-size:19px;text-align:left}.safety input{width:28px;height:28px;accent-color:var(--navy)}.game-grid,.result-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,48%);gap:clamp(22px,5vw,54px);align-items:start}.duo-game .board-wrap,.result-grid .board-wrap{width:100%}.game-meta{display:flex;justify-content:space-between;margin-bottom:20px;color:#8b6658;font-size:20px}.instruction{color:#c21713;font-size:20px}.action-button{width:min(100%,420px);margin-top:22px;font-size:27px}.duo-phase{color:var(--navy)}.duo-phase .turn-result{padding-top:0}.duo-waiting{padding:12px 15px;color:#765b50;border-radius:14px;background:#ead9c9}.role-selection h1{margin:0 0 10px;color:var(--red);font:700 clamp(30px,5vw,45px) Georgia,serif}.role-selection h2{margin:24px 0 12px;color:var(--red)}.role-selection>p{font-size:20px;line-height:1.35}.role-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.role-options button{padding:16px;color:var(--navy);text-align:left;border:2px solid #d3b799;border-radius:17px;background:#fff7eb}.role-options button.selected{color:#fff9e9;border-color:#765448;background:#8d6657}.role-options b,.role-options small{display:block}.role-options b{font-size:21px}.role-options small{margin-top:5px;line-height:1.25}.private-result-note{color:#8c6252;font-style:italic}.role-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.role-summary span{padding:11px 13px;border:1px solid #dec5a9;border-radius:14px;background:#fff7eb}.role-summary b,.role-summary small{display:block}.role-summary small{margin-top:4px;color:#875e4e}.component-result{padding:16px;color:var(--red);border-radius:16px;background:#f3dfcb;font-size:21px}.component-result small{color:#765b50}.swap-roles{display:block;width:min(100%,420px);margin-top:15px;padding:10px 14px;color:#80523e;border:1px solid #b88970;border-radius:13px;background:transparent}.swap-roles.requested{color:#fff8e7;background:#8d6657}.swap-hint{color:#a33b2c;font-size:15px}.exit-button{display:block;margin:42px auto 0;padding:10px 17px;color:#a82112;border:1px solid #dc8b6f;border-radius:12px;background:transparent}.sync-players{display:flex;justify-content:center;gap:8px;margin-top:15px}.sync-players span{padding:7px 10px;border-radius:99px;background:#d7c2ae}.sync-players span.done{color:#fff;background:#5c8755}.result-page>h1{margin:24px 0;color:var(--navy);text-align:center;font-size:clamp(38px,8vw,65px)}.reflection{margin-top:32px;text-align:center}.reflection label{display:block;margin-bottom:12px;color:var(--red);font-size:22px;font-weight:700}.home-link{margin-top:20px;padding:8px;color:#a95005;border:0;background:transparent;font-size:18px}.duo-entry-page,.duo-lobby-page,.duo-game-page,.duo-result-page{width:min(100%,760px)}.duo-entry-copy{margin:clamp(82px,14vh,145px) 0 42px;text-align:center}.duo-entry-copy h1{margin:0;color:#754027;font-size:clamp(31px,5.4vw,44px);line-height:1.2}.duo-entry-copy h2{margin:10px 0 76px;color:var(--navy);font-size:clamp(28px,5vw,40px);font-style:italic}.duo-entry-copy p{margin:0;color:var(--red);font-size:clamp(37px,6.5vw,55px);font-weight:700;line-height:1.04}.duo-entry-actions{width:100%}.duo-entry-actions .paper-button{min-height:88px}.duo-join-row{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:12px;margin-top:20px}.duo-join-row input,.duo-join-row button{min-width:0;min-height:76px;padding:14px 18px;color:#fff2d3;border:0;border-radius:28px;background-color:#9a776a;background-image:radial-gradient(#ffffff12 1px,transparent 1px);background-size:5px 5px;box-shadow:0 5px 4px #5d351d30;font-size:clamp(23px,4.4vw,35px);font-weight:700}.duo-join-row input{color:var(--navy);background-color:#d9c4b8;text-transform:uppercase}.duo-join-row input::placeholder{color:#806e65;text-transform:lowercase}.duo-authorship{margin-top:clamp(90px,14vh,155px)}.duo-room-head{padding-top:44px;text-align:center}.duo-room-head>p{margin:0;color:#7f655a;font-size:clamp(20px,3.5vw,28px);text-transform:lowercase}.duo-room-head>h1{display:inline-block;margin:10px 0 18px;padding:14px 30px;color:#f3dfc8;border-radius:34px;background:#967469;font-size:clamp(42px,8.3vw,70px);letter-spacing:.09em;line-height:1}.duo-room-head>button{padding:8px 30px;color:#705c54;border:0;border-radius:999px;background:#dfc5ae;font-size:clamp(17px,3.2vw,25px)}.duo-lobby-page .players{margin:25px 0 0}.duo-lobby-page .player{min-height:88px;padding:14px 20px;border:0;border-radius:34px;background:#ead8cb}.duo-lobby-page .player>span{flex-basis:58px;height:58px;background:#a58c82}.duo-lobby-page .player>span img{width:52px;height:42px}.duo-lobby-page .player b{color:#655751;font-size:clamp(20px,3.7vw,30px)}.duo-lobby-page .player small{margin-top:4px;font-size:16px}.duo-lobby-page .player.ready{box-shadow:inset 0 0 0 3px #7e9d73}.duo-lobby-page .token-picker{margin-top:34px}.duo-lobby-page .token-picker h2{color:var(--red);font-size:clamp(27px,4.5vw,37px);font-style:italic}.duo-lobby-page .token-options{margin-top:17px}.duo-lobby-page .token-option{min-height:100px;padding:14px 18px;border:3px solid #c8ae98;border-radius:32px;background:#f2e2d5}.duo-lobby-page .token-option.selected{border-color:var(--gold);background:#fff3db}.duo-lobby-page .token-option img{width:70px;flex-basis:70px}.duo-lobby-page .token-option b{font-size:19px}.duo-lobby-form{margin-top:54px}.duo-warning{color:#82675c;font-size:clamp(22px,4vw,33px);font-style:italic;font-weight:700;line-height:1.42}.duo-warning b{color:#c10000;font-style:normal}.duo-confirmation{display:grid;grid-template-columns:58px 1fr;gap:22px;align-items:start;margin:50px 0 72px;color:var(--navy);font-size:clamp(23px,4.2vw,34px);font-weight:700;line-height:1.35}.duo-confirmation input{width:52px;height:52px;margin:4px 0 0;accent-color:var(--brown)}.duo-query-label{display:block;margin:0 0 25px;color:var(--red);font-size:clamp(35px,6vw,49px);font-weight:700;font-style:italic;text-align:center}.duo-lobby-form textarea{transition:border-color .2s ease,background-color .2s ease,opacity .2s ease}.duo-lobby-form textarea:disabled{cursor:not-allowed;color:#8d8985;border-color:#b9b5af;background:#dedbd7;opacity:.72}.duo-lobby-form textarea:disabled::placeholder{color:#8d8985}.query-owner-hint{margin:10px 10px 0;color:#86695b;font-size:17px;font-style:italic;text-align:center}.duo-lobby-form .paper-button{margin-top:34px}.duo-game-page .query-strip,.duo-result-page .query-strip{margin-top:22px}.duo-turn-stage{min-height:705px;padding:18px 10px 58px}.duo-phase{display:flex;min-height:629px;flex-direction:column;color:var(--navy)}.duo-phase>h1{margin:0 0 12px;color:var(--red);font:700 clamp(39px,6.2vw,54px) Georgia,serif;text-align:center}.duo-explanation{margin:42px 0 0;color:#c00000;font-size:clamp(23px,4vw,34px);font-style:italic;line-height:1.42}.duo-phase .turn-result{padding:0;border:0}.duo-phase .roll-line{justify-content:center;color:var(--red);font-size:clamp(26px,4.8vw,39px);font-weight:700}.duo-phase .turn-result>p:not(.roll-line){margin:18px 0 0;color:var(--navy);font-size:clamp(26px,4.7vw,39px);line-height:1.35}.duo-phase .reflection-pause{margin:auto 0 22px}.duo-phase .paper-button{margin-top:auto}.duo-waiting{margin:auto 0 20px;padding:13px 18px;color:#73594f;border-radius:18px;background:#ead9c9;font-size:18px;text-align:center}.duo-board-stage{padding:55px 2px 0;border-top:2px solid var(--line)}.duo-board-stage .board-wrap{width:min(76%,530px)}.duo-board-stage .sync-players{flex-wrap:wrap}.duo-board-stage .sync-players span{color:#715b52}.duo-board-stage .sync-players span.done{color:#fff}.duo-turn-stage .role-selection>p{font-size:clamp(23px,4.2vw,34px);line-height:1.42}.duo-turn-stage .role-selection h2{margin:38px 0 18px;color:var(--navy);font-size:clamp(25px,4.4vw,36px);font-weight:400}.duo-turn-stage .role-options{gap:15px}.duo-turn-stage .role-options button{min-height:110px;padding:18px;border-width:3px;border-radius:28px}.duo-turn-stage .role-options b{font-size:clamp(21px,3.8vw,30px)}.duo-turn-stage .role-options small{font-size:16px}.private-result-note{margin-top:28px;font-size:19px;text-align:center}.shared-phase .role-summary{margin-bottom:30px}.shared-phase .role-summary span{padding:14px 17px;border-radius:20px}.component-result{margin:auto 0 15px}.swap-roles{width:100%;margin:16px 0 0;padding:13px 17px;font-size:17px}.swap-hint{margin:8px 0 0;text-align:center}.duo-result-page>h1{margin-top:18px}.duo-result-page .turns-archive{background:transparent}.duo-result-page .paper-button{margin-top:22px}.splash{display:grid;min-height:100vh;place-content:center;gap:12px;color:var(--navy);text-align:center;font-size:20px}.splash img{width:100px;animation:pulse 1.2s ease-in-out infinite alternate}@keyframes pulse{to{transform:translateY(-8px)}}@media(max-width:620px){.auth-page{padding:calc(15px + env(safe-area-inset-top)) 12px calc(18px + env(safe-area-inset-bottom));place-items:start center;overflow-y:auto}.auth-page .brand{font-size:17px}.auth-page .brand-logo{flex-basis:34px;width:34px;height:34px}.auth-intro{margin:20px auto 13px}.auth-intro p{margin-bottom:3px;font-size:15px}.auth-intro h1{font-size:27px}.auth-intro span{margin-top:7px;font-size:14px}.auth-card{padding:9px 14px 17px;border-width:4px;border-radius:28px}.auth-tabs{margin-bottom:12px}.auth-tabs button{padding:9px 4px;font-size:17px}.auth-form{gap:10px}.auth-form label{gap:4px;font-size:14px}.auth-form input{min-height:44px;padding:9px 13px;border-width:2px;border-radius:15px;font-size:16px}.auth-error{padding:7px 9px;font-size:14px}.auth-submit{margin-top:2px;padding:10px 14px;font-size:21px}.auth-switch{margin-top:13px;font-size:14px}.auth-footnote{margin-top:10px;font-size:12px}.auth-board{width:200px;opacity:.07}.profile-entry{top:calc(8px + env(safe-area-inset-top));left:max(8px,env(safe-area-inset-left));width:38px;height:38px;padding:3px;border-width:2px}.profile-entry>span{flex-basis:28px;height:28px;font-size:13px}.profile-entry b{display:none}.profile-page .brand.compact{padding-inline:42px}.profile-heading{gap:12px;margin:17px 0 14px}.profile-heading .profile-avatar{flex-basis:58px;height:58px;border-width:3px;font-size:27px}.profile-heading h1{font-size:27px}.profile-heading b{font-size:17px}.profile-heading small{font-size:13px}.profile-grid{grid-template-columns:1fr;gap:10px;margin-bottom:10px}.profile-panel{padding:14px;border-width:2px;border-radius:21px}.profile-panel h2{font-size:21px}.balance-panel>span{font-size:15px}.balance-panel>strong{margin:2px 0 11px;font-size:36px}.balance-panel>small{font-size:12px}.profile-action{padding:9px 12px;border-radius:14px;font-size:16px}.promo-panel p{margin:4px 0 9px;font-size:14px}.promo-form input{padding:9px 10px;font-size:14px}.promo-form button{padding:9px 11px;font-size:14px}.profile-message{font-size:13px}.password-panel{margin-bottom:10px}.password-panel summary{font-size:19px}.password-panel[open] summary{margin-bottom:12px}.profile-form{grid-template-columns:1fr;gap:9px}.profile-form input{padding:9px 11px;font-size:15px}.profile-games>header{padding-bottom:9px}.profile-games>header p{font-size:13px}.profile-games>header>span{min-width:36px;height:36px;font-size:16px}.profile-games-list{max-height:290px}.profile-games-list button{grid-template-columns:1fr;gap:4px;margin-top:7px;padding:9px 10px;font-size:14px}.logout-button{margin-top:12px;padding:10px 14px;font-size:15px}.mobile-page,.start-screen,.landing-shell,.narrow-page,.game-page{padding:calc(10px + env(safe-area-inset-top)) 12px calc(18px + env(safe-area-inset-bottom))}.back-button{margin-bottom:2px;padding:4px 0;font-size:14px}.brand.compact{padding-bottom:8px;font-size:16px}.brand.compact .brand-logo{flex-basis:30px;width:30px;height:30px}.start-screen{padding-top:calc(14px + env(safe-area-inset-top))}.start-screen .brand{font-size:17px}.start-screen .brand-logo{flex-basis:34px;width:34px;height:34px}.mantra-row{gap:8px;margin-top:8px}.mantra-row p{font-size:10px;line-height:1.1}.mantra-row img{width:78px}.start-identity{margin-bottom:8px}.online-caption{margin:8px 0 1px;font-size:18px}.start-title{font-size:28px;line-height:1}.format-caption{margin:18px 0 12px;font-size:21px}.game-options{gap:9px}.game-option{min-height:82px;padding:9px 78px 8px 12px;border-width:4px}.game-option-copy b{font-size:19px}.game-option-copy strong{margin-top:1px;font-size:17px}.game-option-copy small{font-size:15px}.price-tag{min-width:76px;padding:7px 5px;border-radius:10px;font-size:17px}textarea{min-height:90px;padding:11px 14px;border-width:4px;border-radius:28px;font-size:16px}.paper-button,.primary-button,.action-button{padding:11px 15px;border-radius:24px;font-size:22px}.setup-copy{margin:24px 0 18px}.setup-copy h1{font-size:22px;line-height:1.15}.setup-copy h2{margin:4px 0 20px;font-size:20px}.setup-copy p{font-size:16px;line-height:1.3}.single-confirmation{grid-template-columns:30px 1fr;gap:10px;font-size:16px;line-height:1.25}.single-confirmation input{width:28px;height:28px;margin-top:1px}.query-label{margin:25px 0 10px;font-size:24px}.solo-setup .paper-button{margin-top:15px}.authorship-note{margin:28px 4px 0;font-size:14px;line-height:1.25}.query-strip{margin-top:10px;padding:9px 2px;font-size:16px}.solo-turn-stage{min-height:360px;padding:10px 4px 24px}.solo-turn-stage h1,.solo-result-page>h1{margin-bottom:5px;font-size:29px}.start-instruction{margin:10px 0;font-size:19px;line-height:1.3}.solo-roll{gap:10px;margin-bottom:12px;font-size:19px}.solo-meaning{font-size:19px;line-height:1.25}.reflection-pause{margin:auto 0 12px;font-size:17px;line-height:1.25}.solo-board-stage{padding-top:24px}.board-wrap{width:65%}.early-exit{width:68%;margin-top:20px;padding:8px;font-size:16px}.turns-archive{max-height:260px;padding:0 10px}.turn-result{padding:10px 0 12px}.turn-result h2{margin-bottom:4px;font-size:21px}.roll-line{gap:9px;margin-bottom:6px;font-size:15px}.turn-result>p:not(.roll-line){font-size:16px;line-height:1.25}.archive-hint{margin-bottom:7px;font-size:14px}.result-questions{margin-top:16px;font-size:17px;line-height:1.25}.result-questions p{margin-bottom:10px}.result-questions ol{margin-bottom:12px}.result-questions label{margin:12px 0 7px}.result-questions textarea{min-height:90px}.second-step{margin-top:22px}.second-step textarea{margin-bottom:14px}.result-reminder{grid-template-columns:44px 1fr;gap:10px;margin:15px 4px;font-size:15px}.result-reminder>span{width:42px;height:42px;font-size:32px}.solo-result-page>.paper-button{margin-top:12px}.stagnation-note{margin-top:12px;padding:11px 13px;border-left-width:4px;border-radius:0 13px 13px 0;font-size:16px;line-height:1.3}.information-button{top:calc(8px + env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right));width:38px;height:38px;border-width:3px;box-shadow:0 3px 7px #4a2b1c38;font-size:24px}.information-overlay{padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}.information-dialog{max-height:calc(100dvh - 16px);padding:24px 18px 28px;border-width:3px;border-radius:24px}.information-dialog h2{margin:0 38px 15px 0;font-size:24px}.information-dialog h3{margin:18px 0 4px;font-size:18px}.information-dialog p{margin-bottom:10px;font-size:16px;line-height:1.3}.information-close{width:36px;height:36px;margin:-14px -8px 0 6px;font-size:28px}.rules-list{padding-left:1.2em}.rules-list li{padding-left:3px}.rules-list li h3{margin-top:17px}.rules-reminder{margin-top:19px!important;padding:12px 13px}.hero-visual{width:150px;margin:12px auto 7px}.hero h1{font-size:34px}.subtitle{margin:8px 0;font-size:18px}.start-form{margin-top:18px}.start-form>label{margin-bottom:8px;font-size:22px}.primary-button{margin-top:12px;font-size:21px}.join-row{margin-top:10px}.panel{padding:15px}.room-code{margin:4px 0 8px;font-size:45px}.players{gap:8px;margin-top:12px}.player{padding:9px}.player>span{flex-basis:38px;height:38px}.player>span img{width:36px;height:29px}.token-picker{margin-top:10px}.token-picker>p{margin-bottom:10px;font-size:14px}.token-options{gap:8px}.token-option{display:grid;gap:4px;justify-items:center;padding:9px 6px;text-align:center}.token-option img{width:48px}.token-option b{font-size:14px}.token-option small{font-size:11px}.safety{margin-top:10px}.safety label{margin:10px 0;font-size:16px}.game-meta{margin-bottom:10px;font-size:15px}.instruction{font-size:17px}.role-selection h1{font-size:27px}.role-selection h2{margin:16px 0 8px;font-size:20px}.role-selection>p{font-size:16px}.role-options{gap:8px}.role-options button{padding:10px}.role-options b{font-size:17px}.role-options small{font-size:12px}.role-summary{gap:7px;margin-bottom:12px}.role-summary span{padding:8px;font-size:13px}.component-result{padding:11px;font-size:17px}.duo-waiting{padding:9px 11px;font-size:14px}.swap-roles{margin-top:10px;padding:8px 11px;font-size:14px}.exit-button{margin-top:22px}.join-row,.players,.game-grid,.result-grid{grid-template-columns:1fr}.game-grid aside,.result-grid aside{grid-row:1}.duo-game .board-wrap,.result-grid .board-wrap{width:min(72%,330px)}.duo-entry-copy{margin:38px 0 25px}.duo-entry-copy h1{font-size:23px;line-height:1.15}.duo-entry-copy h2{margin:5px 0 34px;font-size:21px}.duo-entry-copy p{font-size:28px;line-height:1.02}.duo-entry-actions .paper-button{min-height:54px}.duo-join-row{gap:7px;margin-top:10px}.duo-join-row input,.duo-join-row button{min-height:48px;padding:8px 10px;border-radius:19px;font-size:17px}.duo-authorship{margin-top:45px}.duo-room-head{padding-top:18px}.duo-room-head>p{font-size:15px}.duo-room-head>h1{margin:5px 0 9px;padding:9px 18px;border-radius:23px;font-size:39px}.duo-room-head>button{padding:6px 18px;font-size:15px}.duo-lobby-page .players{gap:7px;margin-top:13px}.duo-lobby-page .player{min-height:61px;gap:8px;padding:8px 10px;border-radius:22px}.duo-lobby-page .player>span{flex-basis:40px;height:40px;font-size:17px}.duo-lobby-page .player>span img{width:37px;height:30px}.duo-lobby-page .player b{font-size:16px}.duo-lobby-page .player small{margin-top:1px;font-size:11px}.duo-lobby-page .token-picker{margin-top:18px}.duo-lobby-page .token-picker h2{font-size:22px}.duo-lobby-page .token-options{margin-top:8px}.duo-lobby-page .token-option{min-height:72px;padding:8px 6px;border-width:2px;border-radius:21px}.duo-lobby-page .token-option img{width:46px}.duo-lobby-page .token-option b{font-size:13px}.duo-lobby-form{margin-top:25px}.duo-warning{font-size:16px;line-height:1.32}.duo-confirmation{grid-template-columns:31px 1fr;gap:10px;margin:23px 0 30px;font-size:16px;line-height:1.25}.duo-confirmation input{width:29px;height:29px;margin-top:1px}.duo-query-label{margin-bottom:10px;font-size:24px}.query-owner-hint{margin-top:6px;font-size:13px}.duo-lobby-form .paper-button{margin-top:15px}.duo-game-page .query-strip,.duo-result-page .query-strip{margin-top:10px}.duo-turn-stage{min-height:375px;padding:10px 4px 24px}.duo-phase{min-height:341px}.duo-phase>h1{margin-bottom:5px;font-size:29px}.duo-explanation{margin-top:20px;font-size:17px;line-height:1.3}.duo-phase .roll-line{gap:10px;margin-bottom:9px;font-size:19px}.duo-phase .turn-result>p:not(.roll-line){margin-top:8px;font-size:19px;line-height:1.25}.duo-phase .reflection-pause{margin:auto 0 12px}.duo-waiting{margin:auto 0 10px;padding:8px 11px;font-size:14px}.duo-board-stage{padding-top:24px}.duo-board-stage .board-wrap{width:65%}.duo-board-stage .sync-players{margin-top:10px;font-size:12px}.duo-board-stage .sync-players span{padding:5px 8px}.duo-turn-stage .role-selection>p{font-size:16px;line-height:1.3}.duo-turn-stage .role-selection h2{margin:18px 0 9px;font-size:19px}.duo-turn-stage .role-options{gap:8px}.duo-turn-stage .role-options button{min-height:78px;padding:9px;border-width:2px;border-radius:19px}.duo-turn-stage .role-options b{font-size:17px}.duo-turn-stage .role-options small{font-size:12px}.private-result-note{margin-top:13px;font-size:14px}.shared-phase .role-summary{margin-bottom:12px}.shared-phase .role-summary span{padding:8px;border-radius:13px}.component-result{margin:auto 0 8px}.swap-roles{margin-top:9px;padding:8px 11px;font-size:14px}.duo-result-page>h1{margin-top:10px}.duo-result-page .paper-button{margin-top:12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
