:root{font-family:DM Sans,system-ui,sans-serif;color:#193a35;background:#f5f3eb;font-synthesis:none;--white: #e8e6d8;--blue: #76aeca;--green: #78b99b;--red: #db827c;--black: #70483d;--gold: #e6bd63;--ink: #193a35;--muted: #647a70;--line: #d9e0d6;--teal: #286253}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;transition:background .15s,transform .15s}button:disabled{cursor:default;opacity:.48}button:not(:disabled):active{transform:translateY(1px)}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #cc8d28;outline-offset:3px}a{color:var(--teal)}h1,h2,h3,p{margin:0}h1,h2{font-family:Fraunces,Georgia,serif}h2{font-size:25px}button{border:0}.app-shell{max-width:1500px;margin:auto;padding:28px 42px 16px}.app-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:26px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;text-decoration:none;align-items:center;color:var(--ink)}.brand-mark{color:#78b99b;font-size:37px;text-shadow:2px 2px #c4dacd}.eyebrow{font-size:10px;letter-spacing:2.3px;font-weight:700;display:block}.brand h1{font-size:30px;font-weight:500;line-height:1.2}.brand h1 span{font-size:16px;margin-left:8px;color:#c59e57}nav{display:flex;gap:12px;align-items:center}.quiet,.outline,.primary{padding:11px 17px;border-radius:8px;font-size:13px;font-weight:600}.quiet{background:transparent;color:var(--ink)}.quiet:hover{background:#e6ebe3}.outline{border:1px solid #becdc0;background:#fff9;color:var(--ink)}.primary{background:var(--teal);color:#fff;box-shadow:0 3px #163e3420}.primary:hover{background:#1f5145}.wide{width:100%}.welcome{min-height:680px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:50px}.welcome-copy{padding-left:40px}.welcome .eyebrow{color:var(--teal);margin-bottom:25px}.welcome h2{font-size:clamp(44px,5vw,76px);line-height:1.08;font-weight:500}.welcome em{font-style:normal;color:#4d826b}.welcome-copy>p:not(.eyebrow){font-size:16px;line-height:1.8;max-width:420px;margin:26px 0;color:var(--muted)}.welcome .primary{font-size:15px;padding:16px 26px}.welcome .primary span{margin-left:45px}.welcome-note{display:block;font-size:11px;color:var(--muted);margin-top:18px}.welcome-art{position:relative;background:radial-gradient(ellipse,#dce9d7 0%,#eaf0e0 45%,transparent 70%);min-height:430px;display:flex;align-items:center;justify-content:center}.character{display:inline-block;width:100px;height:100px;background-image:url(/art/rivals.png);background-size:400% 300%;background-repeat:no-repeat;image-rendering:pixelated;flex-shrink:0}.welcome-art .character{width:175px;height:175px;transform:translateY(30px)}.welcome-art .character:first-of-type{transform:translateY(-20px)}.art-caption{position:absolute;bottom:45px;color:#6c8974;font-size:11px;letter-spacing:2px;text-transform:uppercase}.orbit{position:absolute;color:#c4ad68;font-size:35px}.orbit-one{left:30%;top:40px}.orbit-two{right:8%;top:110px}.noble-portrait{display:block;width:52px;height:52px;background:url(/art/nobles.png);background-size:500% 200%;image-rendering:pixelated;flex-shrink:0;border-radius:7px}.costs{display:flex;gap:4px;align-items:center;flex-wrap:wrap}.gem{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;background:var(--white);color:#15332d;border:1px solid #0002;border-radius:6px;box-shadow:inset 0 2px #fff6;font-size:12px;font-weight:700;flex-shrink:0}.gem span{line-height:1}.gem-white{background:var(--white)}.gem-blue{background:var(--blue)}.gem-green{background:var(--green)}.gem-red{background:var(--red)}.gem-black{background:var(--black);color:#fff}.gem-gold{background:var(--gold)}.app-footer{padding:25px 0 8px;margin-top:25px;border-top:1px solid var(--line);font-size:10px;color:#8b9786;display:flex;justify-content:space-between}.modal-backdrop{position:fixed;inset:0;z-index:50;background:#162e2b88;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;justify-content:center;align-items:center;padding:20px}.dialog{background:#faf9f0;border:1px solid #e3e5d6;border-radius:16px;padding:26px;max-width:490px;width:100%;max-height:calc(100dvh - 40px);overflow:auto;box-shadow:0 20px 80px #10292450}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.icon-button{font-size:25px;background:transparent;color:var(--muted);padding:3px 9px;border-radius:5px}.dialog p{font-size:13px;line-height:1.7;margin:12px 0}.dialog .subtle{font-size:11px;color:var(--muted)}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.field{display:block;font-size:12px;font-weight:600;margin:16px 0}.field select{appearance:none;display:block;height:44px;margin-top:8px;width:100%;padding:10px 36px 10px 12px;border:1px solid #ccd5c7;border-radius:8px;background:#fffdf6;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23193a35' stroke-width='1.5'/%3E%3C/svg%3E");background-position:right 12px center;background-size:16px 16px;background-repeat:no-repeat;color:var(--ink)}.setup-characters{display:flex;justify-content:center;height:122px;margin:13px 0;background:radial-gradient(ellipse,#dfe9d6,transparent 75%)}.setup-characters .character{width:110px;height:110px}.payment-grid{display:flex;flex-direction:column;gap:9px;margin:18px 0}.payment-row{display:flex;gap:10px;align-items:center;font-size:12px}.payment-row small{color:var(--muted);font-size:10px}.payment-row input{margin-left:auto;width:80px;border:1px solid #c6d3c2;border-radius:6px;padding:8px;color:var(--ink);background:#fffdf6}.notice{background:#f7eacb;border:1px solid #ebd49f;padding:11px 14px;border-radius:7px;font-size:12px;line-height:1.6;margin:12px 0}.detail-card{width:184px;margin:20px auto}.detail-card .development{min-height:185px;width:100%}.detail-card .card-name{font-size:11px}.history{margin:0;padding:0 0 0 20px}.history li{padding:10px 5px;border-bottom:1px solid var(--line);font-size:11px}.history small{color:var(--muted)}.history p{margin:5px 0;font-size:12px}.quick-rules p{margin-bottom:17px}.quick-rules a{font-size:12px}.noble-choices{display:flex;flex-direction:column;gap:12px;margin:22px 0}.results{max-width:670px;margin:30px auto;background:#e8eedf;border:1px solid #cbd8c4;border-radius:15px;text-align:center;padding:30px}.results h2{font-size:34px;margin:14px 0}.results p{font-size:12px;line-height:1.7;color:var(--muted)}.results ol{list-style:none;padding:0;margin:22px 0}.results li{padding:13px;display:flex;justify-content:space-between;border-bottom:1px solid #cbd8c4;font-size:13px}.results li span{font-size:11px}.empty-tier{font-size:12px;color:var(--muted);padding:30px;grid-column:1/-1}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1200px){.thinking{animation:bob 2s ease-in-out infinite}}@keyframes bob{50%{transform:translateY(-3px)}}@media(max-width:1150px){.app-shell{padding:25px}.costs .gem{width:22px;height:22px;font-size:10px}.welcome-copy{padding-left:0}.welcome-art .character{width:145px;height:145px}}@media(max-width:900px){.welcome{min-height:600px;gap:0}.welcome-art .character{width:120px;height:120px}.welcome h2{font-size:52px}}@media(max-width:600px){.app-shell{padding:18px 12px 8px}.app-header{gap:8px;padding-bottom:18px}.brand-mark{font-size:24px}.brand{gap:6px}.brand h1{font-size:25px}.brand .eyebrow{font-size:7px;letter-spacing:1px}.brand h1 span{font-size:11px}.app-header nav{gap:0}.app-header button{padding:10px 9px;font-size:10px}.app-header .outline{margin-left:4px}.welcome{grid-template-columns:1fr;min-height:auto;padding:40px 10px 0;text-align:center}.welcome h2{font-size:49px}.welcome-copy>p:not(.eyebrow){font-size:14px}.welcome-art{min-height:280px}.welcome-art .character{width:125px;height:125px}.art-caption{bottom:28px}.orbit-one{top:15px}.orbit-two{top:30px}.noble-portrait{width:42px;height:42px}.app-footer{font-size:8px;line-height:1.8;gap:20px;margin-top:18px}.modal-backdrop{padding:12px}.dialog{padding:20px;max-height:calc(100dvh - 24px);border-radius:13px}.dialog-heading h2{font-size:23px}.payment-row input{padding:10px}.setup-characters .character{width:100px;height:100px}.results{padding:23px 14px}.results h2{font-size:29px}.results li{gap:12px;font-size:12px}.results li span{font-size:10px}.detail-card .development{min-height:185px}.detail-card .development .costs{min-height:25px}.detail-card .development .costs .gem{width:25px;height:25px;font-size:12px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.purchase-summary{display:flex;gap:20px;align-items:center;margin:20px 0}.purchase-summary>.development{width:150px;flex-shrink:0}.purchase-summary strong,.purchase-summary small{display:block;margin-bottom:9px;font-size:11px}.purchase-summary small{color:var(--muted);margin-top:17px}.purchase-summary .counts{flex-wrap:wrap}@media(max-width:600px){.purchase-summary{gap:12px}.purchase-summary>.development{width:120px}}.app-shell{max-width:1320px;padding:20px 24px 12px}.app-header{padding-bottom:14px}button,input,select{min-height:44px;min-width:44px}::selection{background:#d5e6d5;color:#193a35}input{caret-color:#28583f}.gem,.score,.points{font-variant-numeric:tabular-nums}.turn-banner{display:flex;align-items:center;gap:12px;margin:14px 0;padding:10px 14px;background:#e9eddf;border:1px solid #d5deca;border-radius:10px}.turn-banner strong{font-size:13px}.turn-banner p{margin:3px 0 0;font-size:11px;color:#50664f}.round-badge{white-space:nowrap;padding:8px;background:#f9faf3;border-radius:6px;font-size:11px}.autosave{margin-left:auto;white-space:nowrap;font-size:10px;color:#50664f}.final-round{background:#f3e6c9;border-color:#c8b37f}.opponents{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:12px;margin:0 0 16px}.player-panel{min-width:0;padding:10px 12px;background:#fffdf6;border:1px solid #d5ded0;border-radius:10px}.player-panel.active{border-color:#426a4d;background:#f1f5e9}.player-heading{display:flex;align-items:center;gap:8px;margin-bottom:8px}.player-heading .character{width:48px;height:48px;flex-shrink:0}.player-heading>div{min-width:0}.player-heading h3{font-size:14px}.player-heading small{display:block;margin-top:3px;font-size:10px;color:#53684f}.score{margin-left:auto;font:24px Georgia,serif}.score small{font:10px system-ui,sans-serif;text-align:center}.turn-tag{display:inline;margin-left:4px;font:10px system-ui,sans-serif;color:#426a4d}.human-avatar{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;font-size:27px;color:#7c6a34;background:#e9eddf;border-radius:50%}.holding{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:5px 0}.holding>span:first-child{font-size:11px}.holding small{font-size:10px;color:#53684f}.counts{display:inline-flex;gap:4px}.counts .gem{width:22px;height:22px;font-size:12px}.reserves{display:flex;align-items:center;flex-wrap:wrap;gap:5px;border-top:1px solid var(--line);margin-top:8px;padding-top:7px}.reserve-label{font-size:10px;color:#53684f}.reserve-chip{display:inline-flex;align-items:center;flex-wrap:wrap;gap:4px;padding:6px;font-size:11px;background:#edf0e4;color:#354e3c;border:1px solid transparent;border-radius:6px}.reserve-chip .gem{width:18px;height:18px;font-size:11px}.reserve-chip small{font-size:10px}.reserve-chip:disabled{opacity:1}.owned-nobles{display:block;color:#53684f;font-size:11px;margin-top:7px;line-height:1.5}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;align-items:start;gap:18px}.table{min-width:0;background:#eee8d9;border:0;border-radius:12px;padding:12px}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:8px}.section-heading h2{font-size:18px}.section-heading small{font-size:11px;line-height:1.5;color:#58664c;max-width:55ch}.nobles-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-bottom:12px}.noble{min-width:0;display:flex;align-items:center;gap:6px;padding:6px;background:#fcf8ed;border:1px solid #ded5c0;border-radius:7px}.noble-portrait{display:block;flex-shrink:0;width:44px;height:44px;border-radius:5px;background:url(/art/nobles.png);background-size:500% 200%;image-rendering:pixelated}.noble>div{min-width:0}.noble strong{display:block;font-size:10px;margin-bottom:4px;line-height:1.25}.costs{display:flex;align-items:center;gap:4px}.fixed-costs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.cost-slot{display:flex;justify-content:center;min-width:0}.gem.gem-zero{background:transparent;border-color:transparent;box-shadow:none}.noble .gem{width:16px;height:19px;font-size:12px;border-radius:4px}.market-row{display:grid;grid-template-columns:52px minmax(0,1fr);gap:8px;margin-bottom:9px}.market-row:last-child{margin-bottom:0}.cards-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.tier-info{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-align:center;color:#53664f}.tier-roman{font:22px Georgia,serif;color:#35573d}.tier-info>small,.tier-info>span:last-of-type{font-size:10px}.blind-reserve{width:48px;padding:5px 2px;margin-top:4px;background:#e2e7d5;border:1px solid #b9c7ae;border-radius:6px;color:#37573c;font-size:17px}.blind-reserve span{display:block;font-size:9px;line-height:1.2}.development{position:relative;display:flex;flex-direction:column;min-width:0;height:154px;padding:7px;overflow:hidden;border:1px solid #c8c6b1;border-radius:8px;background:#faf4e5;color:#193a35;text-align:left;box-shadow:0 2px 5px #53472a18}.development:disabled{opacity:1}.development:not(:disabled):hover{border-color:#426a4d;box-shadow:0 3px 9px #53472a30}.card-scene{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;image-rendering:pixelated;pointer-events:none}.card-top{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center}.points{display:inline-flex;align-items:baseline;padding:2px 5px;border-radius:4px;background:#fff8eaf2;font:23px Georgia,serif}.points small{margin-left:2px;font:9px system-ui,sans-serif}.card-top .gem{margin-left:auto;width:25px;height:25px;border-radius:5px;box-shadow:0 1px 3px #283b3040}.card-top .gem span{font-size:17px}.card-name{z-index:1;position:relative;margin-top:auto;align-self:flex-start;background:#fff8eaf2;padding:2px 4px;font-size:10px;color:#395137;border-radius:3px 3px 0 0}.development .costs{position:relative;z-index:1;background:#fff8eaf2;border-radius:0 4px 4px;padding:4px 0;width:100%}.development .costs .gem{width:25px;height:24px;font-size:14px}.affordable{border:2px solid #426a4d}.development.affordable{padding:6px}.buy-badge{display:inline-flex;align-items:center;justify-content:center;gap:3px;background:#e8f1db;color:#244c30;border-radius:3px;padding:3px 4px;font-size:11px;font-weight:700;line-height:1.2}.development>.buy-badge{position:absolute;top:42px;right:5px;z-index:2}.player-dock{display:grid;gap:12px;min-width:0}.bank-section{min-width:0;border:1px solid #d5ded0;border-radius:10px;background:#fffdf6;padding:12px}.bank-section .section-heading{display:block}.bank-section .section-heading small{display:block;margin-top:5px}.bank{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;margin:10px 0}.bank-color{min-width:0;text-align:center}.token-stack{width:100%;padding:5px 0;display:flex;flex-direction:column;align-items:center;gap:6px;color:#193a35;background:none;border:1px solid transparent;border-radius:6px}.token-stack .gem{width:34px;height:34px;border-radius:50%;font-size:17px}.token-stack>span:last-child{font-size:10px}.token-stack.selected{background:#dce8cc;border-color:#426a4d}.bank-color>small{display:block;font-size:9px;padding-top:10px;color:#53664f}.bank-footer{display:flex;flex-direction:column;align-items:stretch;gap:8px;border-top:1px solid var(--line);padding-top:10px}.bank-footer>span{font-size:11px;color:#53664f}.bank-footer button{font-size:12px}.personal .holding{margin:10px 0}.personal .counts .gem{width:27px;height:27px;font-size:14px}.personal .reserve-label{width:100%}.personal .reserves{align-items:start}.detail-card .development,.purchase-summary>.development{height:200px}.detail-card .development .costs{min-height:0}@media(max-width:1100px){.game-layout{grid-template-columns:minmax(0,1fr)}.player-dock{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}.noble{flex-direction:column;text-align:center}.noble strong{display:none}.noble .fixed-costs{gap:2px}.noble .gem{width:20px}}@media(max-width:700px){.app-shell{padding:12px 10px 8px}.app-header{gap:6px;padding-bottom:10px;flex-wrap:wrap}.brand h1{font-size:24px}.app-header nav{margin-left:auto;gap:0}.app-header button{font-size:11px;padding:7px}.turn-banner{margin:10px 0;padding:8px;gap:8px}.turn-banner strong{font-size:12px}.turn-banner p{font-size:10px;line-height:1.5}.round-badge{font-size:10px;padding:6px}.autosave{display:none}.opponents{gap:5px;margin-bottom:10px}.opponent{padding:6px}.opponent .player-heading{display:grid;grid-template-columns:1fr auto;gap:3px;margin-bottom:5px}.opponent .character{width:36px;height:36px;grid-column:1}.opponent .player-heading>div{grid-column:1;grid-row:2}.opponent .score{grid-column:2;grid-row:1 / 3;font-size:21px}.opponent .player-heading h3{font-size:12px}.opponent .player-heading small{font-size:9px}.opponent .turn-tag{display:block;margin:2px 0 0;font-size:9px}.opponent .holding{display:block;margin:4px 0}.opponent .holding>span:first-child{display:block;margin-bottom:3px;font-size:10px}.opponent .counts{display:flex;gap:2px}.opponent .counts .gem{width:14px;height:17px;border-radius:3px;font-size:11px}.opponent .reserve-label{font-size:9px}.opponent .reserve-chip{font-size:10px;gap:3px}.opponent .reserve-chip small{font-size:9px}.game-layout{gap:10px}.table{padding:7px;border-radius:9px}.section-heading{display:block;margin-bottom:6px}.section-heading h2{font-size:17px}.nobles-section .section-heading small{display:none}.nobles-row{gap:4px;margin-bottom:9px}.noble{padding:4px 2px;gap:4px}.noble-portrait{width:34px;height:34px}.noble .fixed-costs{gap:1px}.noble .gem{width:10px;height:17px;border-radius:2px;font-size:11px}.market-row{grid-template-columns:44px minmax(0,1fr);gap:5px;margin-bottom:7px}.cards-row{gap:5px}.tier-info{gap:2px}.tier-info>small,.tier-info>span:last-of-type{font-size:9px}.blind-reserve{width:44px}.blind-reserve span{font-size:8px}.development{height:139px;padding:4px;border-radius:6px}.development.affordable{padding:3px}.points{font-size:19px;padding:2px 3px}.points small{font-size:7px;margin-left:1px}.card-top .gem{width:17px;height:21px;border-radius:3px}.card-top .gem span{font-size:12px}.card-name{display:none}.development .fixed-costs{display:grid;grid-template-columns:18px;gap:2px;width:22px;margin-top:auto;padding:3px 2px;border-radius:4px}.development .costs .gem{width:18px;height:17px;font-size:12px;border-radius:3px}.development>.buy-badge{top:34px;right:2px;max-width:calc(100% - 6px);font-size:10px;padding:2px;gap:1px}.development>.buy-badge svg{display:none}.player-dock{grid-template-columns:minmax(0,1fr);gap:10px}.bank-section{padding:10px}.bank-footer{flex-direction:row;align-items:center;justify-content:space-between}.bank-footer>span{font-size:10px}.bank-footer button{white-space:nowrap;padding:8px;font-size:11px}.personal .counts .gem{width:25px;height:25px}.app-footer{margin-top:14px;padding-top:12px}.detail-card .development,.purchase-summary>.development{height:200px}.detail-card .development .fixed-costs,.purchase-summary .development .fixed-costs{grid-template-columns:repeat(5,minmax(0,1fr));width:100%}}@media(max-width:360px){.app-header nav{width:100%;justify-content:flex-end}.opponent .counts{gap:1px}.opponent .counts .gem{width:12px;font-size:10px}.personal .holding{display:block}.personal .holding>span:first-child{display:block;margin-bottom:5px}.noble .gem{width:8px;font-size:10px}.points{font-size:17px;padding:2px}.points small{font-size:6px}.card-top .gem{width:14px;height:19px}.development>.buy-badge{font-size:9px}}@media(max-width:700px){.opponent .player-heading{display:flex;gap:4px}.opponent .player-heading .character{width:24px;height:32px}.opponent .score{font-size:17px}.opponent .player-heading h3{font-size:11px}.opponent .development-count{display:none}.opponent .player-heading small{font-size:9px}}@media(max-width:700px){.opponent .player-heading .character{width:32px;height:32px}.noble .fixed-costs{grid-template-columns:repeat(3,14px);gap:2px}.noble .gem{width:14px;height:18px;font-size:12px}}@media(max-width:360px){.opponent .player-heading .character{width:24px;height:24px}.cards-row{grid-template-columns:repeat(2,minmax(0,1fr))}.development .fixed-costs{grid-template-columns:repeat(5,minmax(0,1fr));width:100%;gap:2px;padding:3px 0}.development .costs .gem{width:18px;height:22px;font-size:14px}.card-top .gem{width:21px;height:21px}.points{font-size:21px}.points small{font-size:9px}.development>.buy-badge{font-size:11px}.noble .fixed-costs{grid-template-columns:repeat(3,12px)}.noble .gem{width:12px}}.gem[data-color]{position:relative;background:transparent;border-color:transparent;box-shadow:none}.ingredient-icon{width:100%;height:100%;stroke:none;image-rendering:pixelated}.gem .ingredient-icon{position:absolute;inset:0}.gem-value{position:relative;z-index:1}.gem:has(.gem-value:not(:empty)) .ingredient-icon path[fill=none]{opacity:.2}.bakery-icon{display:block;width:34px;height:34px}.brand-mark{text-shadow:none;color:var(--teal)}.human-avatar .bakery-icon{width:30px;height:30px}.orbit{width:42px;height:42px}.orbit-one .ingredient-icon{fill:var(--red)}.orbit-two .ingredient-icon{fill:var(--gold)}.card-scene{object-fit:contain;background:#fff3d9}.card-name{max-width:100%;font-size:9px}.token-stack:disabled{opacity:1}.token-stack .gem{width:44px;height:34px;gap:2px}.token-stack .ingredient-icon{position:static;width:22px;height:22px;flex-shrink:0}.token-stack .gem-value{width:18px;flex-shrink:0;color:#193a35;background:#fff9ed;border-radius:3px;font:800 22px/1.15 system-ui,sans-serif;font-variant-numeric:tabular-nums}.token-stack .gem-value:empty{background:transparent}.counts .gem[data-color]:not(.gem-zero){background:#fff9ed;color:#193a35}.counts .gem[data-color]{border:0;gap:1px}.counts .gem .ingredient-icon{position:static;width:45%;height:auto;flex-shrink:0}.counts .gem-value{font-variant-numeric:tabular-nums;flex-shrink:0}.bank-color .token-stack>span:last-child{line-height:1.15}@media(max-width:700px){.brand h1{font-size:21px;max-width:120px}.brand{gap:6px}.brand-mark .bakery-icon{width:28px;height:28px}.development .card-scene{object-position:center 12px}.bank-color .token-stack>span:last-child{font-size:10px}}.nobles-row{grid-template-columns:repeat(var(--guest-count),minmax(0,180px))}.development,.noble{--cost-width: max(19px, 24cqw);--cost-height: max(9.5px, 14cqw);--cost-gap: 1cqw;--reward-height: max(16px, 20cqw);position:relative;width:100%;height:auto;min-height:0;aspect-ratio:3 / 4;container-type:inline-size;align-self:start;padding:6px;overflow:hidden;border-radius:10px;background:#f5dfb7;color:#193a35;text-align:left;isolation:isolate}.development .card-scene{inset:0;width:100%;height:100%;object-fit:cover;object-position:center;background:#f5dfb7}.card-top{position:absolute;top:3cqw;left:3cqw;display:flex;justify-content:flex-start;align-items:center;gap:2cqw;height:var(--reward-height);width:max-content;max-width:calc(100% - 12px);padding:1.5cqw;background:#fff9ed;border-radius:7px;box-shadow:0 2px 5px #533a2330}.card-top .points,.noble-points{background:#fff9ed;color:#193a35;font:800 max(12px,15cqw)/1 system-ui,sans-serif;font-variant-numeric:tabular-nums;padding:0 1.5cqw}.development .card-top>.gem+.points{border-left:1px solid #a8b4a0;padding-left:3cqw}.card-top .points small,.noble-points small{margin-left:1cqw;font:700 max(6px,4.5cqw)/1 system-ui,sans-serif}.card-top .gem{flex-shrink:0;margin:0;width:max(12px,16cqw);height:max(12px,16cqw);border:0;border-radius:4px;box-shadow:none}.card-top .gem-white{background:#d4e9dd}.card-top .gem-blue{background:#d9e3fa}.card-top .gem-green{background:#dceccc}.card-top .gem-red{background:#f9d9cd}.card-top .gem-black{background:#eedfc8}.development .card-name,.noble .noble-name{position:absolute;z-index:2;left:0;right:0;bottom:0;display:block;min-height:0;height:18cqw;margin:0;padding:0 3.5cqw;background:#fff9ed;color:#193a35;border-radius:0;font:700 max(7.5px,6cqw)/18cqw system-ui,sans-serif;overflow:hidden;max-width:none;white-space:nowrap;text-overflow:ellipsis}.development .fixed-costs,.noble .fixed-costs,.detail-card .development .fixed-costs,.purchase-summary .development .fixed-costs{position:absolute;z-index:2;top:25cqw;right:3cqw;display:grid;grid-template-columns:var(--cost-width);grid-auto-rows:var(--cost-height);gap:var(--cost-gap);width:var(--cost-width);margin:0;padding:0;background:transparent}.development .costs .gem,.detail-card .development .costs .gem,.purchase-summary .development .costs .gem,.noble .costs .gem{display:flex;align-items:center;justify-content:space-between;gap:2px;width:var(--cost-width);height:var(--cost-height);padding:0 1cqw;border:0;border-radius:5px;background:#fff9ed;color:#193a35;box-shadow:0 2px 4px #533a2330;font:800 max(9.5px,11cqw)/1 system-ui,sans-serif;font-variant-numeric:tabular-nums;text-shadow:none}.development .costs .ingredient-icon,.noble .costs .ingredient-icon{position:static;flex-shrink:0;width:max(7px,9.5cqw);height:max(7px,9.5cqw)}.development .costs .gem-value,.noble .costs .gem-value{min-width:1ch;text-align:center}.development .costs .gem.gem-zero,.noble .costs .gem.gem-zero{background:transparent;box-shadow:none}.development.affordable{padding:5px;border-color:#426a4d}.development>.buy-badge{top:auto;right:auto;left:3cqw;bottom:21cqw;max-width:calc(100% - var(--cost-width) - 9cqw);background:#244c30;color:#fff9ed;font-size:max(7px,5.5cqw);box-shadow:0 2px 4px #533a2330}.detail-card .development,.purchase-summary>.development{height:auto;min-height:0}.noble{display:block;min-height:0}.noble{border-color:#c8c6b1;box-shadow:0 2px 5px #53472a18}.noble .noble-portrait{position:absolute;inset:0;width:100%;height:calc(100% - 18cqw);overflow:hidden;border-radius:0;background-image:none}.noble-portrait:before{content:"";position:absolute;top:0;left:50%;height:100%;aspect-ratio:1;transform:translate(-50%);background-image:url(/art/nobles.png);background-size:500% 200%;background-position:inherit;image-rendering:pixelated}.purchase-summary>.development{width:184px}.purchase-summary>div{min-width:0}.player-shelf{--reserve-width: 54px;--reserve-step: 22px;--reserve-rise: 18px;--coin-size: 18px;display:grid;grid-template-columns:minmax(0,1fr) calc(var(--reserve-width) + 2 * var(--reserve-step));column-gap:4px;align-items:end;align-self:end;min-width:0}.collection-shelf{--pile-pitch: calc((100cqw - var(--reserve-width)) / 4);container-type:inline-size;display:flex;flex-direction:column;gap:4px;min-width:0}.collection-piles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) var(--reserve-width);align-items:end;gap:0;height:auto;min-width:0}.collection-pile{width:var(--reserve-width);display:flex;flex-direction:column;align-items:center;max-height:calc(var(--reserve-width) * 4 / 3 + 24px);min-width:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#7f9a70 #edf0e4}.purchased-card{position:relative;flex-shrink:0;width:min(100%,var(--reserve-width));height:3px;overflow:hidden;border-radius:3px}.purchased-card:last-child{height:auto;aspect-ratio:3 / 4}.purchased-card .development{width:100%;height:auto;aspect-ratio:3 / 4;min-width:0;min-height:0;padding:0;border:1px solid #aebca7;border-radius:3px;pointer-events:none}.purchased-card .development .card-scene{inset:0;width:100%;height:100%;object-fit:cover}.purchased-card .card-top,.purchased-card .fixed-costs,.purchased-card .buy-badge,.purchased-card .card-name{display:none}.pile-count{position:absolute;z-index:2;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;min-width:18px;height:20px;padding:0 2px;border:2px solid #426a4d;border-radius:4px;background:#fff9ed;color:#193a35;font:800 14px/1 system-ui,sans-serif;font-variant-numeric:tabular-nums}.empty-pile{position:relative;width:min(100%,var(--reserve-width));aspect-ratio:3 / 4;border:1px solid #d5ded0;border-radius:3px;background:#f5f3eb}.empty-pile>.ingredient-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:12px;height:12px;opacity:.4}.reserved-shelf{min-width:0}.reserve-heading{display:flex;align-items:center;justify-content:space-between;gap:2px;height:20px;margin-bottom:4px}.reserved-shelf .reserve-label{width:auto;flex:none;font-size:9px;line-height:1;text-align:right;color:#53684f;white-space:nowrap}.reserved-cards{position:relative;height:calc(var(--reserve-width) * 4 / 3 + 2 * var(--reserve-rise))}.reserved-card{position:absolute;left:calc(var(--reserve-offset, 0) * var(--reserve-step));top:calc((2 - var(--reserve-offset, 0)) * var(--reserve-rise));width:var(--reserve-width);aspect-ratio:3 / 4;min-width:0;z-index:calc(3 - var(--reserve-offset, 0))}.reserve-select{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;border-radius:5px;background:transparent}.reserved-card.front .reserve-select{pointer-events:none}.reserve-select:focus-visible{outline:2px solid #193a35;outline-offset:-2px}.reserved-card.rear .development{pointer-events:none}.reserved-card .development{--cost-gap: 0px;--cost-height: 9.5px;border-width:1px;height:auto;min-height:0;min-width:0;aspect-ratio:3 / 4;padding:1px;border-radius:5px}.reserved-card .development .card-top{top:1px;left:1px;max-width:calc(100% - 2px);gap:1px;padding:1px;border-radius:3px}.reserved-card .card-top .gem{width:12px;height:12px}.reserved-card .card-top .points{font-size:12px;padding:0}.reserved-card .development .card-top>.gem+.points{padding-left:1px}.reserved-card .card-top .points small{font-size:5px;margin-left:0}.reserved-card .development .card-name{height:9px;line-height:9px;font-size:7.5px;padding:0 2px}.reserved-card .development .fixed-costs{top:12px;right:1px}.reserved-card .development>.buy-badge{left:2px;bottom:11px;font-size:7px;padding:1px}.reserved-card .development>.buy-badge svg{display:none}.reserved-card.empty{border:1px solid #d5ded0;border-radius:5px;background:#f5f3eb}.reserve-back,.reserve-back svg{display:block;width:100%;height:100%}.shelf-tokens{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) var(--reserve-width);gap:0;min-width:0}.shelf-tokens .token-coins{width:var(--reserve-width)}.shelf-tokens .coin-row{width:min(max(var(--coin-size),var(--pile-pitch)),calc(var(--coin-size) + (var(--coins) - 1) * 7px))}.token-coins{display:flex;justify-content:center;align-items:center;height:20px;min-width:0}.coin-row{position:relative;display:block;width:min(100%,calc(var(--coin-size) + (var(--coins) - 1) * 7px));height:var(--coin-size)}.ingredient-coin{position:absolute;display:grid;place-items:center;width:var(--coin-size);height:var(--coin-size);border:1px solid #69775a;border-radius:50%;background:#fff4d8}.ingredient-coin .ingredient-icon{width:13px;height:13px}.ingredient-coin.blue{background:#c8dcf4}.ingredient-coin.green{background:#d3e8ba}.ingredient-coin.red{background:#f7ced0}.ingredient-coin.black{background:#dcc3a5}.ingredient-coin.gold{background:#f3ce73;border-color:#94652d}.wild-tokens{flex:1;min-width:0}.wild-tokens .token-coins{justify-content:start}.player-panel .owned-nobles{font-size:9px;margin-top:3px}.player-inspect,.guest-inspect,.mobile-reserve-count,.phone-collections{display:none}.player-heading{position:relative}.guest-details{width:210px;max-width:100%;margin:12px auto}.card-back-icon{width:16px;height:16px;vertical-align:middle}.ingredient-preview{display:flex;flex-direction:column;gap:6px;min-width:0}.ingredient-preview>span{color:#53664f;font-size:11px}.preview-chips{display:flex;gap:4px;align-items:center;min-height:44px}.preview-chip{display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:2px;border:1px solid #aabb9d;border-radius:6px;background:#edf0e4;color:#193a35}.preview-chip .gem{gap:2px}.preview-chip .ingredient-icon{position:static;width:16px;height:16px}.preview-chip .gem-value{font-size:14px}.opponents{grid-template-columns:repeat(var(--opponent-count, 1),minmax(0,1fr));gap:8px;margin:0 0 8px}.opponents[data-opponent-count="2"]{--opponent-count: 2}.opponents[data-opponent-count="3"]{--opponent-count: 3}.compact-opponent{container-type:inline-size;padding:6px 8px;display:grid;grid-template-columns:92px minmax(0,1fr);gap:8px;align-items:center}.opponent-heading{display:grid;grid-template-columns:44px minmax(0,1fr);grid-template-rows:24px 24px;align-items:center;gap:0 4px;min-width:0;padding:0;background:transparent;color:var(--ink);text-align:left;border-radius:4px}.opponent-heading .character{grid-row:1 / 3;width:44px;height:48px}.opponent-heading h3{font-size:13px}.opponent-score{font:800 21px/1 system-ui,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap}.opponent-score small{margin-left:2px;font-size:8px}.opponent-inventory{display:grid;grid-template-columns:minmax(0,1fr) 164px;gap:12px;align-items:center;min-width:0}.opponent-stats{min-width:0;display:grid;gap:6px}.opponent-stat{display:flex;align-items:center;gap:8px;min-width:0}.opponent-stat>span:first-child{width:72px;flex:none;color:#53684f;font-size:11px;font-weight:600}.opponent-stat>span:first-child small{font-size:9px}.opponent-stat .counts{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;width:100%;max-width:240px}.opponent-stat .count{min-width:0}.opponent-stat .gem{display:flex;width:100%;height:25px;gap:2px;border-radius:3px;font:800 17px/1 system-ui,sans-serif}.opponent-stat .gem .ingredient-icon{width:16px;height:16px}.opponent-guests{font-size:10px;color:#53684f}.opponent-reserves{min-width:0}.opponent-reserve-label{display:block;text-align:right;margin-bottom:3px;font-size:10px;color:#53684f;line-height:12px}.opponent-reserve-inspect{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;width:100%;min-height:44px;padding:0;background:none;color:var(--ink);border-radius:4px}.opponent-reserve-summary{display:block;position:relative;width:100%;height:70px;border:1px solid #aebca7;border-radius:4px;background:#fff9ed;overflow:hidden;container-type:inline-size}.opponent-reserve-summary.empty{border-style:dashed;background:transparent}.opponent-reserve-reward{display:flex;align-items:center;gap:2px;height:14px;padding:1px 2px;background:#e9eddf}.opponent-reserve-reward .ingredient-icon{width:11px;height:11px;flex:none}.opponent-reserve-reward strong{font:800 11px/1 system-ui,sans-serif}.opponent-reserve-reward small{font-size:5px;margin-left:1px}.opponent-reserve-costs{display:grid;grid-template-rows:repeat(5,10px);justify-content:end;gap:0;padding:1px}.opponent-cost-slot{display:flex;justify-content:end;align-items:center;gap:2px;width:22px;height:10px}.opponent-cost-slot .ingredient-icon{width:9px;height:9px}.opponent-cost-slot strong{font:800 10px/1 system-ui,sans-serif;min-width:1ch}.opponent-reserve-summary.private{background:#426a4d;color:#fff9ed;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px}.opponent-reserve-summary.private .card-back-icon{width:18px;height:24px}.opponent-reserve-summary.private small{font-size:9px}@container (max-width: 430px){.opponent-inventory{grid-template-columns:minmax(0,1fr) 126px;gap:6px}.opponent-stat{display:block}.opponent-stat>span:first-child{display:block;width:auto;margin-bottom:2px}.opponent-stat .counts{gap:2px}.opponent-stat .gem{height:20px;font-size:14px}.opponent-stat .gem .ingredient-icon{width:12px;height:12px}}@container (max-width: 270px){.opponent-inventory{grid-template-columns:minmax(0,1fr);gap:3px}.opponent-stats{gap:3px}.opponent-stat>span:first-child{font-size:9px;line-height:11px}.opponent-reserve-inspect{height:70px}.opponent-reserve-summary{width:min(100%,49px);height:100%;justify-self:center}}@container (max-width: 150px){.opponent-stat .counts{gap:1px}.opponent-stat .gem{font-size:12px;gap:1px}.opponent-stat .gem .ingredient-icon{width:10px;height:10px}}.player-panel:not(.compact-opponent){display:grid;grid-template-columns:40px minmax(0,1fr);gap:6px}.player-panel .player-heading{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:2px;height:auto;min-width:0;max-width:none;margin:0}.player-panel .player-heading h3{font-size:10px;line-height:14px;max-width:100%;overflow:hidden;text-overflow:ellipsis}.player-panel .player-heading .character{position:relative;width:40px;height:90px;margin:auto 0;overflow:hidden;background-image:none}.player-panel .player-heading .character:before{content:"";position:absolute;top:0;left:50%;transform:translate(-50%);height:100%;aspect-ratio:1;background-image:url(/art/rivals.png);background-size:400% 300%;background-position:inherit;background-repeat:no-repeat}.player-panel .player-heading .human-avatar{width:38px;height:90px;border-radius:5px;margin:auto 0;background:transparent}.player-panel .human-avatar img{display:block;width:100%;height:100%;object-fit:cover;image-rendering:pixelated}.player-panel .player-heading .score{margin:0;display:flex;align-items:baseline;gap:2px;padding:2px 3px;border:1px solid #aebca7;border-radius:4px;background:#fff9ed;font:800 16px/1 system-ui,sans-serif}.player-panel .player-heading .score small{display:inline;margin:0;font:700 8px/1 system-ui,sans-serif}.player-panel .owned-nobles{grid-column:1 / -1}.game-layout>.table{grid-column:1;grid-row:1}.game-layout>.player-dock{grid-column:2;grid-row:1}.game-layout>.your-collection{grid-column:1 / -1;grid-row:2;min-width:0}@media(min-width:701px)and (min-height:501px),(min-width:951px){.app-shell.playing{height:100dvh;min-height:850px;display:flex;flex-direction:column;padding:12px 24px;gap:8px}.playing .app-header{flex:none;padding-bottom:8px}.playing .turn-banner{flex:none;margin:0;padding:6px 12px}.playing .opponents{flex:none;margin:0}.playing .game-layout{flex:1;min-height:0;grid-template-columns:minmax(0,1fr) 310px;grid-template-rows:minmax(0,1fr) 232px;gap:8px;align-items:stretch}.playing .table{min-height:0;width:min(100%,620px);justify-self:center;padding:8px;background:none;display:grid;grid-template-rows:minmax(80px,.8fr) minmax(0,3fr);gap:6px}.playing .nobles-section{min-height:0}.playing .nobles-section .section-heading{display:none}.playing .nobles-row{container-type:size;height:100%;margin:0;gap:8px;grid-template-columns:repeat(var(--guest-count),minmax(0,1fr))}.playing .nobles-row .noble{width:min(100%,75cqh);justify-self:center}.playing .market{min-height:0;display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:6px}.playing .market-row{min-height:0;grid-template-rows:minmax(0,1fr);margin:0}.playing .cards-row{container-type:size;min-height:0;height:100%;grid-template-columns:repeat(4,minmax(0,1fr))}.playing .cards-row .development{width:min(100%,75cqh);justify-self:center}.playing .table .development,.playing .table .noble{--cost-width: max(28px,24cqw);--cost-height: max(14px,14cqw);align-self:center}.playing .table .costs .gem{font-size:max(14px,11cqw)}.playing .player-dock{grid-template-columns:1fr;align-content:center}.playing .app-footer{display:none}.your-collection .personal{grid-template-columns:64px minmax(0,1fr);max-width:1000px;height:100%;margin:auto;padding:8px 12px}.your-collection .player-heading h3{font-size:14px}.your-collection .player-heading .human-avatar{width:60px;height:154px}.your-collection .player-heading .score{font-size:24px}.your-collection .player-heading .score small{font-size:10px}.your-collection .player-shelf{--reserve-width: 100px;--reserve-step: 28px;--reserve-rise: 24px;--coin-size: 28px;column-gap:12px}.your-collection .pile-count{min-width:28px;height:30px;font-size:23px}.your-collection .reserved-shelf .reserve-label{font-size:11px}.your-collection .reserve-heading,.your-collection .token-coins{height:28px}.your-collection .ingredient-coin .ingredient-icon{width:18px;height:18px}.your-collection .reserved-card .development{--cost-height: 12px;--cost-width: 24px}.your-collection .reserved-card .development .fixed-costs{top:22px}.your-collection .reserved-card .development .card-top{height:21px}.your-collection .reserved-card .card-top .gem{width:18px;height:18px}.your-collection .reserved-card .card-top .points{font-size:16px}.your-collection .reserved-card .development .card-name{height:13px;line-height:13px;font-size:9px}.your-collection .reserved-card .development>.buy-badge{bottom:16px;font-size:8px}.playing .notice{margin:0}}@media(max-width:700px),(max-width:950px)and (max-height:500px){.app-shell.playing{height:100dvh;min-height:0;padding:max(4px,env(safe-area-inset-top)) max(4px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(4px,env(safe-area-inset-left));display:flex;flex-direction:column;gap:4px;overflow:hidden}.playing .app-header{flex:0 0 44px;padding:0;flex-wrap:nowrap;gap:3px}.playing .brand-mark{display:none}.playing .brand h1{font-size:17px;white-space:nowrap}.playing .app-header nav{width:auto;gap:0;flex-wrap:nowrap}.playing .app-header button{padding:4px 5px;font-size:11px}.playing .turn-banner{flex:0 0 20px;margin:0;padding:0 5px;gap:5px;border:0;border-radius:4px}.playing .round-badge{padding:0;background:none;font-size:10px}.playing .turn-banner strong{font-size:11px}.playing .turn-banner p,.playing .autosave,.playing .app-footer{display:none}.playing .notice{margin:0;font-size:11px}.playing .opponents{flex:none;display:grid;margin:0;gap:4px}.playing .compact-opponent{grid-template-columns:minmax(0,1fr);padding:4px;gap:3px}.playing .opponent-heading{grid-template-columns:30px minmax(0,1fr) auto;grid-template-rows:44px;gap:2px}.playing .opponent-heading .character{grid-row:1;width:30px;height:36px;position:relative;overflow:hidden;background-image:none}.playing .opponent-heading .character:before{content:"";position:absolute;top:-8px;left:50%;transform:translate(-50%);width:64px;height:64px;background-image:url(/art/rivals.png);background-size:400% 300%;background-position:inherit;image-rendering:pixelated}.playing .opponent-heading h3{font-size:11px}.playing .opponent-score{font-size:17px}.playing .opponent-score small{font-size:7px}.playing .opponent-stat .gem{background:transparent}.playing .game-layout{flex:1;min-height:0;display:grid;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) 88px 142px;gap:4px;align-items:stretch}.playing .table{grid-column:1;grid-row:1;min-height:0;padding:0;display:grid;grid-template-rows:minmax(70px,.72fr) minmax(0,3fr);gap:4px;border:0;background:none}.playing .section-heading{display:none}.playing .nobles-section{min-height:0;margin:0;padding:0;border:0}.playing .nobles-row{container-type:size;height:100%;margin:0;display:grid;grid-template-columns:repeat(var(--guest-count),minmax(0,1fr));gap:4px}.playing .nobles-row .noble{width:min(100%,75cqh)}.playing .market{min-height:0;display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:4px}.playing .market-row{min-height:0;margin:0;grid-template-rows:minmax(0,1fr);grid-template-columns:44px minmax(0,1fr);gap:4px}.playing .cards-row{container-type:size;height:100%;min-height:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.playing .cards-row .development{width:min(100%,75cqh)}.playing .tier-info{position:relative;min-height:0;padding:0;display:flex;flex-direction:column;justify-content:center;gap:2px}.playing .tier-info .tier-roman{position:absolute;top:0;left:0;right:0}.playing .tier-info>span:not(.tier-roman){position:absolute;bottom:0;left:0;right:0;font-size:8px;white-space:nowrap}.playing .tier-roman{font-size:14px;line-height:1}.playing .tier-info>small{display:none}.playing .tier-info>span:not(.tier-roman){font-size:9px;line-height:1}.playing .blind-reserve{margin:0;width:44px;padding:0;min-height:44px}.playing .blind-reserve>span:last-child{font-size:8px}.playing .table .development,.playing .table .noble{--cost-gap: 0px;min-width:0;min-height:0;height:auto;aspect-ratio:3 / 4;padding:2px;border-radius:6px;align-self:center;justify-self:center}.playing .player-dock{grid-column:1;grid-row:2;min-height:0;grid-template-columns:1fr;align-items:stretch;gap:4px;grid-template-rows:88px}.playing .bank-section{padding:0;border:0;background:none;border-radius:0}.playing .bank{height:44px;margin:0;gap:3px}.playing .token-stack{height:44px;min-width:44px;padding:2px 0;gap:0}.playing .token-stack>span:last-child{display:none}.playing .token-stack .gem{width:46px;height:36px;gap:2px}.playing .token-stack .ingredient-icon{width:24px;height:24px}.playing .token-stack .gem-value{width:18px;font-size:18px}.playing .bank-color>small{display:none}.playing .bank-footer{height:44px;margin:0;padding:0;border:0;display:flex;flex-direction:row;align-items:center;gap:4px;justify-content:space-between}.playing .bank-footer .primary{padding:4px 10px;font-size:13px;flex-shrink:0}.playing .ingredient-preview{flex:1;display:flex;flex-direction:row;align-items:center;gap:2px}.playing .ingredient-preview>span{max-width:44px;font-size:8px;line-height:1.2}.playing .preview-chips{gap:2px}.playing .preview-chip{border-radius:4px}.playing .your-collection{display:block;grid-column:1;grid-row:3;min-height:0}.playing .your-collection .personal{grid-template-columns:32px minmax(0,1fr);height:100%;min-width:0;padding:4px;gap:4px}.playing .your-collection .player-heading h3{font-size:9px;overflow:visible;text-overflow:clip}.playing .your-collection .player-heading .human-avatar{width:30px;height:90px}.playing .your-collection .player-heading .score{font-size:16px}.playing .player-shelf{--reserve-width: 54px}.playing .your-collection .owned-nobles{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.playing .guest-inspect{display:block;position:absolute;inset:0;width:100%;height:100%;padding:0;background:transparent;border:0;border-radius:inherit;z-index:3}.playing .guest-inspect:focus-visible{outline:3px solid #426a4d;outline-offset:-3px}.playing .player-details .player-panel{padding:12px}.playing .results{position:fixed;z-index:4;inset:auto 8px 8px;max-height:calc(100dvh - 64px);overflow:auto}}@media(min-width:701px)and (min-height:501px)and (max-height:950px){.playing .table{grid-template-rows:112px minmax(0,1fr)}.playing .market{grid-template-rows:repeat(3,112px);overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#7f9a70 #edf0e4}}@media(max-width:700px)and (max-height:760px),(min-width:701px)and (max-width:950px)and (max-height:500px){.app-shell.playing{height:100dvh;min-height:0;overflow:hidden;gap:2px}.playing .brand{visibility:hidden}.playing .turn-banner{position:absolute;top:max(4px,env(safe-area-inset-top));left:4px;width:calc(100% - 200px);height:44px}.playing .round-badge{display:none}.playing .turn-banner strong{display:block;line-height:1.2}.playing .compact-opponent{position:relative;padding:4px;gap:0}.playing .opponent-heading{position:absolute;top:0;left:4px;right:4px;height:44px;grid-template-rows:20px;align-content:start;z-index:1}.playing .opponent-heading .character{width:22px;height:20px}.playing .opponent-heading .character:before{width:46px;height:46px;top:-6px}.playing .opponent-heading h3{font-size:10px}.playing .opponent-score{font-size:14px}.playing .opponent-inventory{padding-top:18px;display:grid;grid-template-columns:1fr;gap:0}.playing .opponent-stats{gap:2px}.playing .opponent-stat{display:block}.playing .opponent-stat>span:first-child{display:block;margin:0;width:auto;font-size:8px;line-height:8px}.playing .opponent-stat>span:first-child small{font-size:7px}.playing .opponent-stat .counts{height:12px;gap:1px}.playing .opponent-stat .gem{font-size:11px;height:12px;gap:1px}.playing .opponent-stat .gem .ingredient-icon{width:7px;height:7px}.playing .opponent-guests{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}.playing .opponent-reserves{padding-top:2px}.playing .opponent-reserve-label{line-height:9px;font-size:8px;margin:0 0 1px}.playing .opponent-reserve-inspect{min-height:44px;height:18px;position:relative;align-items:end;margin-top:-26px}.playing .opponent-reserve-summary{width:100%;height:18px;border-radius:3px}.playing .opponent-reserve-costs{display:none}.playing .opponent-reserve-reward{height:16px;padding:1px;gap:1px}.playing .opponent-reserve-reward .ingredient-icon{width:9px;height:9px}.playing .opponent-reserve-reward strong{font-size:10px}.playing .opponent-reserve-summary.private{flex-direction:row;gap:1px}.playing .opponent-reserve-summary.private .card-back-icon{width:8px;height:12px}.playing .opponent-reserve-summary.private small{font-size:7px}.playing .game-layout{grid-template-rows:minmax(0,1fr) 88px 142px;gap:2px}.playing .table{grid-template-rows:72px minmax(0,1fr);gap:2px}.playing .market{grid-template-rows:repeat(3,96px);gap:4px;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;touch-action:pan-y;scroll-snap-type:y proximity;scrollbar-width:thin;scrollbar-color:#7f9a70 #edf0e4}.playing .market-row{scroll-snap-align:start}.playing .market-row{gap:2px}.playing .tier-info>span:not(.tier-roman){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.playing .tier-info{position:relative}.playing .tier-roman{position:absolute;left:2px;top:1px;z-index:1;font-size:11px;pointer-events:none}.playing .blind-reserve{min-height:44px}.playing .player-shelf{--reserve-width: 54px;--reserve-step: 22px;--reserve-rise: 18px;--bought-width: 38px}.playing .collection-shelf{--pile-pitch: calc((100cqw - var(--bought-width)) / 4)}.playing .collection-piles,.playing .shelf-tokens{grid-template-columns:repeat(4,minmax(0,1fr)) var(--bought-width)}.playing .collection-pile{width:var(--bought-width);max-height:calc(var(--bought-width) * 4 / 3 + 16px)}.playing .purchased-card,.playing .empty-pile{width:min(100%,var(--bought-width))}.playing .shelf-tokens .token-coins{width:var(--bought-width)}.playing .wild-tokens .coin-row{max-width:100%}.playing .your-collection .player-heading .human-avatar{height:68px}}@media(min-width:701px)and (max-width:950px)and (max-height:500px){.playing .opponent-inventory{grid-template-columns:minmax(0,1fr)}.playing .opponent-stats{display:grid;grid-template-columns:1fr 1fr;gap:4px}.playing .opponent-stat .gem .ingredient-icon{width:10px;height:10px}.playing .opponent-stat .gem{font-size:12px}.playing .opponent-reserve-label{font-size:9px}.playing .game-layout{grid-template-columns:minmax(0,1fr) 270px;grid-template-rows:minmax(0,1fr) 142px}.playing .table{grid-column:1;grid-row:1;grid-template-columns:minmax(0,1fr) 70px;grid-template-rows:minmax(0,1fr);gap:2px}.playing .nobles-section{grid-column:2;grid-row:1}.playing .nobles-row{grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(var(--guest-count),96px);gap:2px;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#7f9a70 #edf0e4}.playing .market{grid-column:1;grid-row:1}.playing .player-dock{grid-column:2;grid-row:1;align-content:center}.playing .your-collection{grid-column:1 / -1;grid-row:2;max-width:500px;width:100%;justify-self:center}.playing .bank{gap:0}}
