:root { color-scheme:light; --ink:#28221e; --wine:#711f2d; --wine2:#9c3e43; --paper:#f8f0e1; --cream:#fff9ee; --sand:#e6d4b7; --border:#ddc8ad; --muted:#74665b; --leaf:#5a715c; --sky:#dceaf0; --gold:#a67927; --ease:cubic-bezier(.25,.8,.25,1); font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif; }
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;background:var(--paper);color:var(--ink);background-image:radial-gradient(#a77b570d 1px,transparent 1px);background-size:8px 8px;font-size:15px;line-height:1.52}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #2377a5;outline-offset:3px}a{color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.12}svg{display:block}img{max-width:100%}button{border:0}button:active:not(:disabled){transform:translateY(1px)}.woven-top{height:9px;background-color:var(--wine);background-image:repeating-linear-gradient(90deg,#ffe2bc 0 5px,transparent 5px 12px,#a73c45 12px 17px,transparent 17px 24px);background-size:72px 9px}.wrap{width:min(1310px,calc(100% - 32px));margin:0 auto}.masthead{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:23px 0}.logo{display:flex;align-items:center;gap:11px;text-decoration:none;font-weight:900;color:var(--wine);font-size:18px;letter-spacing:-.055em}.logo-mark{width:43px;height:43px;display:grid;place-items:center;background:var(--wine);color:#ffdfb2;clip-path:polygon(50% 0,63% 22%,86% 9%,80% 35%,100% 50%,80% 65%,86% 91%,63% 78%,50% 100%,37% 78%,14% 91%,20% 65%,0 50%,20% 35%,14% 9%,37% 22%)}.logo-mark svg{width:22px;height:22px}.subtle-tag{border:1px solid #d5bb9e;border-radius:99px;padding:6px 11px;background:#fffbf2;color:var(--wine);font-size:.76rem;font-weight:750}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:13px 18px;border-radius:12px;font-weight:800;text-align:center;line-height:1.26;transition:background-color .2s var(--ease),transform .2s var(--ease),box-shadow .2s var(--ease);text-decoration:none;min-height:46px}.btn:hover:not(:disabled){transform:translateY(-2px)}.btn-primary{background:var(--wine);color:#fff7e9;box-shadow:0 7px 20px #70212826}.btn-primary:hover{background:#8d2634}.btn-soft{background:#ebdfcf;color:#5f332f}.btn-border{border:1.5px solid var(--wine);color:var(--wine);background:transparent}.btn-green{background:#2c6452;color:white}.btn-red{background:#f7e2df;color:#8e252d}.btn-sm{padding:9px 12px;min-height:38px;font-size:.84rem}.btn-wide{width:100%}.tiny{font-size:.75rem}.small{font-size:.84rem}.muted{color:var(--muted)}.eyebrow{font-size:.73rem;text-transform:uppercase;letter-spacing:.18em;font-weight:900;color:var(--wine)}.serif{font-family:Georgia,"Times New Roman",serif;font-weight:normal;font-style:italic;letter-spacing:-.065em}.heart{color:var(--wine)}.ornament{height:16px;background-image:linear-gradient(45deg,transparent 45%,#822934 47%,#822934 53%,transparent 55%),linear-gradient(-45deg,transparent 45%,#822934 47%,#822934 53%,transparent 55%);background-size:25px 16px;opacity:.56}.landing{padding-bottom:70px}.hero{display:grid;grid-template-columns:1.08fr .92fr;gap:clamp(24px,5vw,80px);align-items:center;padding:46px 0 48px}.hero h1{font-size:clamp(3rem,7.3vw,7rem);font-weight:850;line-height:.99;letter-spacing:-.075em;color:#261c1b;margin:15px 0 22px}.hero h1 .serif{display:block;color:var(--wine)}.hero-copy{max-width:580px}.hero-copy>p:not(.eyebrow){font-size:1.09rem;color:#574b43;line-height:1.68;max-width:510px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin:27px 0 16px}.hero-markers{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.hero-art{position:relative;isolation:isolate;min-height:450px;background:#e8d0b3;border-radius:220px 220px 26px 26px;border:1px solid #c8ab8c;box-shadow:0 23px 45px #3d231d12;display:flex;align-items:center;justify-content:center;overflow:hidden}.hero-art:before{content:"";position:absolute;inset:12px;border:1px solid #8d423f85;border-radius:215px 215px 20px 20px;pointer-events:none;z-index:2}.hero-art:after{content:"";position:absolute;width:360px;height:360px;border:80px solid #c2816e1e;border-radius:50%;left:-75px;top:-90px}.hero-art img{width:min(100%,560px);height:390px;object-fit:cover;object-position:50% 44%;mix-blend-mode:multiply;filter:saturate(.88);position:relative;z-index:1;mask-image:linear-gradient(180deg,#000 82%,transparent)}.art-sticker{position:absolute;right:24px;bottom:28px;z-index:3;background:#fffaf1;border:1px solid var(--wine);border-radius:10px;padding:10px 15px;color:var(--wine);font-family:Georgia,serif;font-style:italic;transform:rotate(-6deg);box-shadow:4px 5px 0 #7b252a20}.cards{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:14px 0}.entry{background:var(--cream);border:1px solid var(--border);border-radius:22px;padding:23px;box-shadow:0 12px 30px #49260c09;display:flex;flex-direction:column;gap:14px}.entry__header{display:flex;align-items:center;gap:11px}.entry__icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#f1dbca;color:var(--wine);font-size:1.4rem}.entry h2{font-size:1.45rem;letter-spacing:-.045em;color:#422a25}.entry p{color:#695a50;font-size:.88rem}.field{display:grid;gap:6px}.field span{font-size:.78rem;font-weight:800;color:#695348}.input,.textarea,.select{width:100%;background:#fffcf5;border:1.5px solid #d5bda7;border-radius:12px;color:var(--ink);padding:11px 13px;outline:0;min-height:46px}.textarea{min-height:108px;resize:vertical}.input:focus,.textarea:focus,.select:focus{border-color:var(--wine);box-shadow:0 0 0 3px #711f2d16}.fieldrow{display:grid;grid-template-columns:1fr 1fr;gap:11px}.segments{display:grid;grid-template-columns:1fr 1fr;gap:6px}.segments button{border:1px solid #d6c0ab;background:#f5eade;border-radius:10px;padding:11px 7px;font-size:.79rem;font-weight:800}.segments button[aria-pressed="true"]{background:var(--wine);border-color:var(--wine);color:white}.section-note{padding:18px 22px;background:#f1e5d2;border-left:4px solid #ad7153;border-radius:10px;font-size:.91rem}.footer{padding:24px 0 45px;color:#726255;font-size:.79rem;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.statusbar{display:flex;align-items:center;gap:9px;color:#6c5548;font-size:.81rem}.dot{width:8px;height:8px;border-radius:50%;background:#9f9b8d}.dot.is-online{background:#338062}.dash-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:17px 0 23px}.dash-title{font-size:clamp(1.7rem,3vw,2.6rem);letter-spacing:-.05em;color:var(--wine);margin-top:5px}.dash-heading{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.room-chip{border:1px dashed var(--wine);padding:8px 12px;border-radius:10px;background:#fff9ef;font-weight:900;letter-spacing:.09em}.dashboard{display:grid;grid-template-columns:minmax(0,1fr) 365px;gap:18px;align-items:start;padding-bottom:60px}.board-card,.control-card,.stat-card{background:var(--cream);border:1px solid var(--border);border-radius:22px;box-shadow:0 11px 24px #3b251411}.board-card{padding:19px;min-width:0}.section-card-title{font-size:1.03rem;font-weight:900;color:var(--wine);letter-spacing:-.025em}.board-card-head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding-bottom:14px}.board-bg{padding:12px;background:#eedfc8;border-radius:15px;border:1px solid #c9a785;overflow:hidden;position:relative}.board-bg:before{content:"";position:absolute;inset:4px;border:1px dashed #b58167;pointer-events:none;border-radius:12px}.board-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:5px;position:relative}.tile{display:flex;flex-direction:column;align-items:center;justify-content:space-between;min-height:67px;position:relative;border:1px solid #caa38c;border-radius:8px;background:#fff9ed;padding:5px 2px 4px;color:#60342f;line-height:1.1;min-width:0}.tile .num{font-size:.66rem;color:#886655;font-weight:800;align-self:flex-start;padding-left:4px}.tile .tile-icon{font-size:1.08rem;line-height:1.2}.tile .tile-value{font-size:.68rem;font-weight:900}.tile.t-personal{background:#f4d8d0}.tile.t-science{background:#dce8ed;color:#285867}.tile.t-mime,.tile.t-draw{background:#e6e4d2;color:#47533b}.tile.t-event,.tile.t-wish{background:#f0e1b6;color:#885c18}.tile.t-relay,.tile.t-call{background:#dbe7d6;color:#375d47}.tile.t-skip{background:#b94b4a;color:#fff8f0}.tile.t-skip .num{color:#fff4df}.tile.t-shop{background:#f8e9cf;color:#76562d}.tile.t-dilemma{background:#e7dce9;color:#6a456d}.tile.is-current{outline:3px solid #a3761d;outline-offset:-3px;z-index:1}.tile .pawns{position:absolute;right:1px;bottom:0;display:flex;gap:2px}.pawn{width:14px;height:14px;border-radius:50%;border:1.5px solid white;display:inline-block;background:#711f2d;box-shadow:0 1px 3px #3335}.pawn.p2{background:#397385}.board-legend{display:flex;flex-wrap:wrap;gap:12px;padding-top:13px;font-size:.75rem;color:#68584b}.board-legend span{display:inline-flex;align-items:center;gap:5px}.dotlabel{width:9px;height:9px;border-radius:50%;display:inline-block;background:#e6b2a9}.legend-blue{background:#bbd5e2}.legend-gold{background:#e3c78c}.control-stack{display:grid;gap:14px;position:sticky;top:14px}.control-card{padding:20px}.score-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:13px}.score{background:#f7efdf;border:1px solid #e4d0b7;padding:11px;border-radius:13px;min-width:0}.score.is-active{border-color:#ad7c3f;box-shadow:inset 0 0 0 1px #ba8a56}.score b{display:block;font-size:1.17rem;color:var(--wine);font-variant-numeric:tabular-nums}.score small{display:block;font-size:.69rem;color:#6d584b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.labelover{font-size:.72rem;letter-spacing:.09em;text-transform:uppercase;font-weight:900;color:#89654d;margin-bottom:6px}.game-prompt{background:#f4e9da;border:1px solid #ddc6ae;border-radius:13px;padding:17px;margin:13px 0}.game-prompt p{font-family:Georgia,serif;font-size:clamp(1.27rem,2.2vw,1.65rem);line-height:1.38;color:#462b2a}.tag-row{display:flex;justify-content:space-between;gap:5px;align-items:center;margin-bottom:9px}.tag{display:inline-flex;padding:5px 9px;border-radius:99px;font-weight:900;font-size:.72rem;background:#eed4c4;color:#6c2730}.tag.money{background:#e5e8d7;color:#345942}.status-message{background:#e7ece1;border-left:3px solid #4b7963;padding:11px 13px;border-radius:8px;font-size:.84rem;margin:12px 0}.dice{display:grid;place-items:center;width:94px;height:94px;margin:13px auto 18px;border:3px solid #77252b;border-radius:19px;background:#fff6e6;color:#72242d;font-size:4rem;box-shadow:5px 6px 0 #a9866940}.dice.is-rolling{animation:roll .6s var(--ease)}@keyframes roll{0%{transform:rotate(-20deg) scale(.9)}30%{transform:rotate(25deg) scale(1.05)}65%{transform:rotate(-15deg)}100%{transform:none}}.action-row{display:flex;gap:9px;flex-wrap:wrap}.action-row>*{flex:1}.tip{font-size:.81rem;color:#715f54;margin:12px 0 0}.event-spot{background:#f0e4d6;border:1px solid #dcc1a7;border-radius:15px;padding:17px;margin:12px 0}.event-spot b{color:#702830}.form-column{display:grid;gap:13px;margin-top:13px}.waiting{padding:25px 13px;text-align:center;background:#f0eadd;border:1px dashed #c4a98f;border-radius:14px;color:#715a50}.waiting .loading-dots{font-size:1.9rem;letter-spacing:.2em}.invite{border:1px dashed var(--wine);border-radius:14px;background:#fff8ef;padding:18px;display:grid;gap:13px;margin-top:13px}.invite-code{font-size:clamp(1.5rem,6vw,2.25rem);color:var(--wine);font-weight:900;letter-spacing:.16em;text-align:center}.mini-log{padding:8px 0;font-size:.76rem;color:#6c5b52;border-bottom:1px solid #ecdfca}.review-note{font-size:.79rem;color:#765b55}.reveal-screen{position:fixed;inset:0;z-index:100;overflow:auto;background:#6e202b;color:#fff8ed;padding:clamp(22px,4vw,65px);min-height:100dvh}.reveal-screen[hidden]{display:none}.reveal-screen:before{content:"";position:fixed;inset:12px;border:2px solid #f0c8a2;opacity:.6;pointer-events:none}.reveal-inner{position:relative;width:min(1100px,100%);min-height:calc(100dvh - 100px);margin:auto;display:flex;flex-direction:column;justify-content:center;gap:23px}.reveal-top{display:flex;justify-content:space-between;align-items:center;gap:16px}.reveal-top .eyebrow{color:#eed0ab}.reveal-head{font-size:clamp(2.1rem,6.3vw,5.1rem);line-height:1.1;font-family:Georgia,serif;font-weight:500;letter-spacing:-.06em}.reveal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:15px}.reveal-answer{background:#fff7e9;color:#52282d;padding:clamp(19px,3vw,36px);border-radius:17px;box-shadow:0 8px 30px #2b020630;min-width:0;overflow-wrap:anywhere}.reveal-answer h3{font-size:.85rem;text-transform:uppercase;letter-spacing:.06em;color:#7b5d51;margin-bottom:14px}.reveal-answer p{font-size:clamp(1.45rem,4vw,3.3rem);font-weight:800;line-height:1.24;letter-spacing:-.035em}.reveal-footer{display:flex;flex-wrap:wrap;gap:11px;align-items:center}.reveal-footer .btn{min-width:165px}.reveal-screen .btn-border{border-color:#f5c7af;color:white}.toasts{position:fixed;z-index:200;top:20px;right:20px;left:20px;display:grid;place-items:end;pointer-events:none;gap:8px}.toast{background:#48222a;color:white;border-radius:13px;padding:12px 17px;box-shadow:0 12px 28px #2d121545;max-width:min(420px,100%);font-size:.87rem;pointer-events:auto}.noscript{padding:25px;text-align:center;background:#fff2c3;color:#412622}.loading{text-align:center;padding:80px 25px;color:#6b5344}.roundstamp{background:#f6e2c5;border-radius:99px;padding:6px 10px;font-weight:800;color:#8a433a;font-size:.75rem}.card-back{padding:18px;background:#f1dfca;border:2px solid #b58967;border-radius:16px;display:grid;place-items:center;min-height:100px;color:var(--wine);font-family:Georgia,serif;font-style:italic;font-size:1.45rem}.disconnected{background:#fbe0d7;border:1px solid #bc8f79;color:#712d2d;padding:10px 14px;border-radius:10px;margin-bottom:16px}.key-hint{font-size:.75rem;color:#86664e}.review-steps{display:flex;gap:6px;justify-content:center;margin-bottom:10px}.review-steps span{height:5px;width:37px;background:#c7b39d;border-radius:6px}.review-steps .done{background:var(--wine)}
@media(max-width:1000px){.hero{gap:25px}.hero-art{min-height:350px}.hero-art img{height:320px}.dashboard{grid-template-columns:minmax(0,1fr)}.control-stack{position:static;grid-row:1}.board-grid{grid-template-columns:repeat(8,minmax(0,1fr))}.tile{min-height:69px}.control-stack{grid-template-columns:1fr 1fr}.control-stack>.control-card:first-child{grid-column:span 2}}
@media(max-width:650px){.wrap{width:min(100% - 24px,650px)}.masthead{padding:15px 0}.masthead .subtle-tag{display:none}.hero{display:flex;flex-direction:column;align-items:stretch;padding:24px 0 28px}.hero h1{font-size:clamp(3rem,14vw,4.7rem);margin:10px 0 15px}.hero-copy>p:not(.eyebrow){font-size:.96rem}.hero-actions>.btn{flex:1}.hero-art{height:250px;min-height:0;border-radius:160px 160px 22px 22px;order:-1;max-width:100%}.hero-art img{width:100%;height:246px;object-fit:contain;object-position:50% 50%}.hero-art:before{border-radius:155px 155px 16px 16px}.art-sticker{bottom:12px;right:14px;font-size:.75rem;padding:6px 10px}.cards{grid-template-columns:1fr}.entry{padding:18px}.fieldrow{grid-template-columns:1fr 1fr}.dashboard{gap:13px}.dash-head{padding:14px 0;flex-direction:column}.dash-heading{width:100%;justify-content:space-between}.control-stack{grid-template-columns:1fr;gap:12px}.control-stack>.control-card:first-child{grid-column:auto}.control-card,.board-card{padding:14px}.board-bg{padding:7px}.board-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}.tile{min-height:57px;padding:4px 1px 3px;border-radius:6px}.tile .tile-icon{font-size:.94rem}.tile .num{font-size:.61rem}.tile .tile-value{font-size:.60rem}.board-legend{gap:8px}.reveal-screen{padding:20px 18px}.reveal-inner{min-height:calc(100dvh - 40px);gap:14px}.reveal-head{font-size:clamp(2.1rem,11vw,3.2rem)}.reveal-grid{grid-template-columns:1fr}.reveal-answer{padding:20px}.reveal-answer p{font-size:clamp(1.45rem,6vw,2.35rem)}.reveal-footer .btn{flex:1;min-width:0}.footer{font-size:.72rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

.room-code-input{text-transform:uppercase;letter-spacing:.12em;font-weight:900}.mime-secret{font-size:1.45rem}.reveal-screen .review-note{color:#ffe0c4}

.option-grid{display:flex;flex-wrap:wrap;gap:7px}.option{border:1px solid #b98b7d;background:#f8e9db;color:#702c31;border-radius:99px;padding:7px 11px;font-size:.8rem;font-weight:750}.option:hover{background:#ead2bf}.option:focus-visible{outline:3px solid #277bb5;outline-offset:2px}

/* Conversation and roleplay: original ornaments; clear focus; no dark patterns */
.psych-note{margin:22px 0;padding:20px 24px;border:1px solid #bd9e84;border-left:5px solid #8e3945;background:#fff6e9;border-radius:14px;line-height:1.68}
.psych-note b{color:var(--wine)}.psych-note p{margin:8px 0 0;color:#5a4943}
.psych-lesson{border:1px solid #d9c7ad;background:linear-gradient(155deg,#fffaf0 70%,#f7e8db);padding:20px;border-radius:14px;position:relative}
.psych-lesson:before,.psych-lesson:after{content:'✣';position:absolute;color:#8a3b45;font-size:23px;top:9px}.psych-lesson:before{left:9px}.psych-lesson:after{right:9px}
.psych-question{font-family:Georgia,serif;font-size:clamp(1.1rem,2.3vw,1.48rem);font-weight:700;color:#5e2732;line-height:1.42}
.role-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}
.role-grid>div{background:#f3e6d3;border:1px solid #ddc6aa;border-radius:10px;padding:12px;min-width:0}
.role-grid b{color:#70323c}.role-grid p{font-size:.9rem;margin:6px 0 0}
.role-timer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0}.role-timer span{font-variant-numeric:tabular-nums;font-size:1.05rem;font-weight:900;color:#7b2639}
.t-reflection{background:#e8e9d6;border-color:#b7b995}.t-roleplay{background:#e7dced;border-color:#bb9bad}
.t-reflection .tile-icon,.t-roleplay .tile-icon{color:#713b6d}
@media(max-width:520px){.role-grid{grid-template-columns:1fr}.psych-lesson{padding:15px}}
.practice-counter{background:#eef1de;color:#405443;padding:10px 12px;border-radius:9px;font-size:.84rem;margin:12px 0 0}

/* V4 · Modular adventure builder — original Ukrainian folk editorial direction */
.new-hero {padding-top:33px;padding-bottom:46px}
.new-hero h1{font-size:clamp(2.9rem,6.4vw,6rem)}
.game-setup{padding:12px 0 38px}
.setup-headline{font-family:Georgia,serif;font-size:clamp(1.65rem,3.7vw,2.65rem);font-weight:500;color:var(--wine);margin:9px 0 23px;letter-spacing:-.04em}
.mode-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-bottom:28px}
.mode-card{min-width:0;min-height:100px;display:flex;gap:13px;text-align:left;align-items:center;background:#fffaf0;border:1.5px solid #dbc6a8;border-radius:15px;padding:15px;box-shadow:0 8px 18px #6b32220a;transition:background .2s,transform .2s,border-color .2s,box-shadow .2s}
.mode-card[aria-pressed="true"]{background:#f4e0d1;border:2px solid #8a343b;box-shadow:0 7px 0 #78283217}
.mode-card:hover{transform:translateY(-3px)}.mode-card strong{display:block;color:#602d30;font-size:.98rem;line-height:1.25}
.mode-card small{font-size:.76rem;color:#73584f;line-height:1.35;display:block;margin-top:5px}
.mode-symbol{flex:none;width:47px;height:47px;border-radius:12px;background:#f2e7d7;color:#8d2831;font-family:Georgia,serif;display:grid;place-items:center;font-size:1.7rem}
.mode-card[aria-pressed="true"] .mode-symbol{background:#80313b;color:#ffeddd}
.setup-columns{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(300px,.78fr);gap:18px;align-items:start}
.creator{padding:clamp(17px,2.4vw,30px);gap:17px}.creator h2{font-family:Georgia,serif;font-size:clamp(1.5rem,2.8vw,2rem);font-weight:500;color:#63303b}
.block-topline{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:7px}
.block-select{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.block-toggle{position:relative;display:flex;align-items:center;gap:9px;min-width:0;padding:10px 8px;border:1.5px solid #dfcdb7;background:#faf3e9;border-radius:12px;cursor:pointer;transition:background .18s,border-color .18s,transform .18s}
.block-toggle:hover{transform:translateY(-2px);border-color:#a86e65}
.block-toggle:has(input:checked){background:#f3e1d6;border-color:#ad5d55}
.block-toggle:has(input:focus-visible){outline:3px solid #2578a1;outline-offset:2px}
.block-toggle input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.block-symbol{width:36px;height:36px;flex:none;display:grid;place-items:center;border-radius:10px;background:#ede3d2;color:#8c3e42;font-size:1.32rem;font-family:Georgia,serif}
.block-toggle:has(input:checked) .block-symbol{background:#81323c;color:#fff2da}
.block-copy{min-width:0;flex:1;display:grid;gap:2px}.block-copy strong{font-size:.82rem;line-height:1.22;color:#523531}
.block-copy small{font-size:.66rem;line-height:1.3;color:#7b6b5e}
.block-check{opacity:0;flex:none;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;font-size:.66rem;font-weight:900;background:#4c725d;color:white}
.block-toggle:has(input:checked) .block-check{opacity:1}
.duration-row{display:flex;align-items:center;gap:12px}.duration-row .input{width:min(240px,70%)}
.duration-label{display:grid;gap:0;line-height:1.15}.duration-label b{color:#732b34;font-size:1.65rem;font-family:Georgia,serif}
.duration-label small{color:#7c6759;font-size:.73rem}
.setup-aside{display:grid;gap:16px;position:sticky;top:22px}
.preview-panel{background:#f7ebd8;border:1.5px solid #cfaa89;border-radius:20px;padding:22px;position:relative;overflow:hidden}
.preview-panel:before{content:"";position:absolute;pointer-events:none;inset:10px;border:1px dashed #b07b68;border-radius:12px;opacity:.58}
.preview-panel>*{position:relative}.preview-panel h3{margin:10px 0 4px;font-family:Georgia,serif;color:#61242f;font-size:1.55rem;letter-spacing:-.03em;font-weight:500}
.route-preview{display:flex;flex-wrap:wrap;justify-content:center;gap:5px;margin:23px 0 19px;padding:12px 7px;background:#fff8e9;border:1px solid #e6d2b7;border-radius:13px;min-height:110px;align-items:center}
.preview-tile{width:29px;height:31px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #d6b4a8;border-radius:6px;background:#f5d6cf;color:#75323b;font-family:Georgia,serif;line-height:1;font-size:1.12rem;transition:transform .2s}
.preview-tile small{font-family:system-ui,sans-serif;font-size:.52rem;line-height:1;color:#856251;margin-top:3px}
.preview-tile:nth-child(5n){transform:rotate(3deg)}.preview-tile:nth-child(9n){transform:rotate(-4deg)}
.preview-tile.t-science{background:#dceaf0;color:#38637b}.preview-tile.t-mime,.preview-tile.t-humor{background:#e6e7c9;color:#59693e}
.preview-tile.t-reflection,.preview-tile.t-roleplay{background:#e7d9e3;color:#7b4d78}
.preview-tile.t-event,.preview-tile.t-letter,.preview-tile.t-wish{background:#f7e4b8;color:#885e27}
.preview-tile.t-skip{background:#a9484a;color:white}.route-end{font-size:.64rem;font-weight:900;letter-spacing:.05em;background:#79323b;color:#f9ebd7;padding:5px 9px;border-radius:99px}
.route-legend{display:flex;flex-wrap:wrap;gap:11px;color:#6e5548;font-size:.72rem;font-weight:750}.preview-disclaimer{font-size:.72rem;color:#786557;line-height:1.5;margin-top:15px}
.join-compact h3{font-size:1.28rem;font-family:Georgia,serif;color:#672c36}
.join-compact{padding:21px}.btn-create{font-size:1rem;letter-spacing:.015em;min-height:56px}
/* Motion is purposeful: light response in builder; server-authored dice and sequential pawn travel. */
.dice-pair{display:flex;justify-content:center;gap:11px;flex-wrap:wrap}
.dice-pair .dice{width:75px;height:75px;margin:13px 0 17px;font-size:3.2rem;border-radius:16px}
.dice-splash{position:fixed;z-index:110;left:50%;top:24%;transform:translate(-50%, -30%) scale(.86);opacity:0;pointer-events:none;background:#fff7e9;border:2px solid #8b393e;border-radius:20px;padding:22px 32px;text-align:center;box-shadow:0 20px 65px #2c131340;transition:opacity .25s,transform .55s cubic-bezier(.19,.89,.22,1.28);color:#642830}
.dice-splash.is-settled{opacity:1;transform:translate(-50%,-30%) scale(1)}
.flying-dice{display:flex;justify-content:center;gap:15px}.flying-die{display:block;font-size:4.8rem;animation:dice-flight .85s ease both}
.flying-die:nth-child(2){animation-delay:.07s}
.dice-splash strong{display:block;margin-top:3px}
@keyframes dice-flight{0%{transform:rotate(-175deg) translate(-35px,-90px) scale(.55)}45%{transform:rotate(60deg) translate(12px,10px) scale(1.2)}75%{transform:rotate(-16deg) translateY(-9px)}100%{transform:none}}
.pawn-ghost{position:fixed;z-index:105;width:22px;height:22px;background:#822d39;border:3px solid white;border-radius:50%;box-shadow:0 3px 8px #2a0d1740,0 0 0 2px #812d39;pointer-events:none;transition:left .12s linear,top .12s linear}
.pawn-ghost.p2{background:#34788c;box-shadow:0 3px 8px #2a0d1740,0 0 0 2px #34788c}
.tile.t-humor{background:#f6e0b5;color:#845a2c}.tile.t-memory{background:#e3d8e9;color:#6e5272}.tile.t-who{background:#cfe7da;color:#365f50}
.tile{transition:transform .25s var(--ease),box-shadow .25s var(--ease)}.tile.is-current{box-shadow:0 0 0 3px #b78e3470,0 5px 13px #3c1d1d24;transform:scale(1.045)}
@media(max-width:1000px){.setup-columns{grid-template-columns:1fr}.setup-aside{position:static;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.mode-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.new-hero h1{font-size:clamp(2.7rem,13vw,4.5rem)}.mode-cards{grid-template-columns:1fr 1fr;gap:8px}.mode-card{min-height:103px;flex-direction:column;align-items:flex-start;padding:11px;gap:8px}.mode-symbol{width:34px;height:34px;font-size:1.24rem}.mode-card strong{font-size:.81rem}.mode-card small{font-size:.66rem}.setup-aside{grid-template-columns:1fr}.block-select{grid-template-columns:1fr 1fr;gap:6px}.block-toggle{padding:9px 6px;gap:6px}.block-symbol{width:28px;height:31px;font-size:1.12rem}.block-copy strong{font-size:.7rem}.block-copy small{font-size:.57rem}.block-check{width:15px;height:15px}.preview-panel{padding:16px}.preview-tile{width:27px;height:29px}.route-preview{padding:9px 5px}}
@media(max-width:375px){.block-select{grid-template-columns:1fr}.fieldrow{grid-template-columns:1fr}.mode-card small{line-height:1.2}}
@media(prefers-reduced-motion:reduce){.flying-die,.dice-splash,.pawn-ghost{animation:none!important;transition:none!important}.mode-card,.block-toggle,.tile,.preview-tile{transition:none!important;transform:none!important}}
