.language-catalog{margin-bottom:.8rem;border:1px solid #ae915766;border-radius:8px;background:#17130f}.language-catalog summary{cursor:pointer;padding:.65rem .8rem;color:#f2e0bd}.language-catalog summary strong{float:right;color:#f2c77f;font-size:.8rem}.language-catalog ul{list-style:none;padding:0 .8rem;margin:0}.language-catalog li{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.45rem 0;border-top:1px solid #ad91592b;color:#f2e0bd}.language-catalog small{color:#b7ac9e;text-align:right}.language-catalog .current-language{color:#eac37b}.community-top .community-settings{display:grid;place-items:center;flex:none;width:32px;height:32px;border:1px solid #a8885355;border-radius:7px;color:#e8c480;font-size:17px;background:#17130f}.community-top .community-settings:focus-visible{outline:2px solid #efc37d}.language-picker{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:.65rem .8rem;color:#f2e0bd}.language-picker select{min-width:0;max-width:60%;font:inherit}.install-invite{position:fixed;inset:0;overflow:auto;display:grid;place-items:center;padding:1rem;background:radial-gradient(ellipse at top,#352411,#080605 65%);color:#f3e3c8}.install-invite section{width:min(100%,34rem);text-align:center}.install-invite h1{color:#f4cc81;overflow-wrap:anywhere}.install-platforms{display:flex;justify-content:center;flex-wrap:wrap;gap:.6rem}.install-platforms button,.install-continue{display:inline-block;padding:.65rem 1rem;border:1px solid #9b7340;border-radius:.45rem;background:#1e160f;color:#ffe6b5;text-decoration:none}.install-platforms button[aria-pressed=true],.install-continue{background:#f3cc86;color:#211407}.alliance-share{display:grid;gap:.5rem;margin-block:1rem;padding:.8rem;border:1px solid #725633;border-radius:.65rem}.alliance-share input{width:100%;min-width:0;padding:.5rem;color:#ffe6b5;background:#16110c;border:1px solid #725633}.alliance-share small:empty{display:none}.progress-badge{display:flex;align-items:center;gap:7px;padding:5px 9px;border:1px solid #b38a4566;border-radius:6px;background:linear-gradient(135deg,#362712,#110e09);color:#ffe2a0;min-height:32px;margin-left:auto}.progress-badge b{font-size:11px;white-space:nowrap}.progress-badge i,.xp-track i{display:block;height:100%;background:linear-gradient(90deg,#ac7025,#ffe2a0);box-shadow:0 0 9px #eeb94c88}.progress-badge small{font-size:10px}.progress-backdrop{position:fixed;inset:0;z-index:220;background:#000c;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:grid;place-items:center;padding:12px}.progress-screen{width:min(850px,100%);max-height:calc(100dvh - 24px);display:flex;flex-direction:column;background:linear-gradient(135deg,#221a12,#080706);border:1px solid #c8a05d;border-radius:12px;box-shadow:0 15px 80px #000;color:#f0d5a0;overflow:hidden}.progress-screen>header{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;border-bottom:1px solid #ba94554d}.progress-screen header small{font-size:8px;letter-spacing:1px}.progress-screen h2{font-size:21px;margin:4px 0}.progress-screen header button{font-size:28px;min-width:40px;min-height:40px}.progress-content{padding:16px 20px;overflow:auto;min-height:0}.progress-level{display:flex;gap:18px;align-items:center}.progress-level>strong{font:48px Cinzel Variable,serif;width:76px;height:76px;display:grid;place-items:center;border:1px solid #d6ac60;border-radius:50%;background:#473213;flex-shrink:0}.progress-level>div{flex:1}.progress-level h3{margin:0;font-size:20px}.progress-level p{font-size:12px;color:#d2c4ac}.xp-track{height:8px;border-radius:8px;background:#40311c;overflow:hidden}.progress-stats{display:flex;gap:12px;justify-content:space-between;margin:18px 0}.progress-stats span{font-size:12px;background:#1f1810;padding:10px;border:1px solid #ad874544;border-radius:6px;flex:1}.progress-content>h3{font-size:15px}.progress-mission{display:flex;justify-content:space-between;gap:12px;padding:12px;background:#302713;border:1px solid #b9914855;border-radius:6px;font-size:12px}.progress-mission span{color:#d2bc8d}.progress-content .progress-explanation{font-size:11px;line-height:1.6;color:#b9af9d;margin:12px 0}.progress-rewards{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.progress-rewards>div{padding:12px 9px;display:flex;flex-direction:column;gap:7px;border:1px solid #7c683b55;border-radius:7px;background:#15110c;opacity:.65}.progress-rewards>.unlocked{border-color:#e4be74;opacity:1;background:#382910}.progress-rewards span{font-size:10px}.progress-rewards b{font-family:Cinzel Variable,serif;font-size:12px}.progress-rewards small{font-size:9px;color:#c1b08f}@media(max-width:600px){.progress-rewards{grid-template-columns:1fr 1fr}.progress-stats{gap:5px}.progress-stats span{font-size:10px;padding:7px}}@media(orientation:landscape)and (max-height:600px){.progress-screen h2{font-size:17px}.progress-screen>header{padding:5px 14px}.progress-content{padding:12px 16px}.progress-badge{min-height:28px;padding:3px 7px}.progress-level>strong{width:58px;height:58px;font-size:36px}.progress-stats{margin:12px 0}}.progress-rewards button{padding:6px;border:1px solid #ddbb73;border-radius:4px;font-size:10px}.progress-rewards button[aria-pressed=true]{background:#876132;color:#fff1c6}.progress-badge{gap:7px;padding:3px 9px 3px 4px;min-width:155px;border-color:#b79958aa;border-radius:7px;box-shadow:inset 0 1px #f5d89c33,0 3px 8px #0008;background:linear-gradient(120deg,#392816,#100d09 75%)}.progress-badge>.medieval-object{width:32px;height:32px}.badge-progress{flex:1;display:flex;flex-direction:column;gap:5px;min-width:90px}.badge-progress>span:first-child{display:flex;justify-content:space-between;gap:14px;align-items:center}.badge-progress b{font-size:9px;letter-spacing:1px}.badge-progress small{font-size:8px;color:#c5b18c}.badge-track{display:block;width:100%;height:6px;border-radius:5px;background:#080706;box-shadow:inset 0 1px 3px #000;border:1px solid #a1824944;overflow:hidden}.badge-track i{border-radius:5px;min-width:2px;transition:width .6s ease-out;background:linear-gradient(90deg,#9b5428,#dba850,#ffdf8d)}.progress-level>strong .medieval-object{width:60px;height:60px}.level-gallery-head{display:flex;justify-content:space-between;align-items:center;margin:16px 0 9px}.level-gallery-head h3{font-size:15px;margin:0}.level-gallery-head>div{display:flex;align-items:center;gap:10px;font-size:10px}.level-gallery-head button{height:29px;width:29px;border:1px solid #b9985555;border-radius:5px;font-size:22px}.level-object-gallery{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.level-object-gallery>div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;min-width:0;padding:10px 6px;border:1px solid #735d3c55;border-radius:7px;background:linear-gradient(135deg,#292019,#100d09);opacity:.45}.level-object-gallery>.current{border-color:#ebbf70;box-shadow:inset 0 0 25px #c99d4222}.level-object-gallery small{font-size:8px;letter-spacing:1px;color:#c4aa7b}.level-object-gallery b{font:10px Cinzel Variable,serif;line-height:1.5}.level-object-gallery span{font-size:8px;color:#bbab90}.progress-screen .xp-track{height:11px;border:1px solid #8d6b3b77;box-shadow:inset 0 1px 4px #000}.progress-screen .progress-level h3{font-size:18px}@media(orientation:landscape)and (max-height:600px){.progress-badge{min-width:143px;gap:4px;padding:2px 5px 2px 2px}.progress-badge>.medieval-object{width:26px;height:26px}.badge-progress{gap:3px;min-width:90px}.badge-track{height:6px}.progress-level>strong .medieval-object{width:45px;height:45px}.progress-screen .progress-level h3{font-size:15px}.level-object-gallery .medieval-object{width:38px;height:38px}.level-object-gallery>div{padding:7px 5px}}@media(max-width:550px){.level-object-gallery{grid-template-columns:repeat(3,1fr)}}.progress-tabs{display:flex;gap:6px;padding:7px 16px;border-bottom:1px solid #b2904e33}.progress-tabs button{flex:1;padding:7px;border:1px solid #987a4844;border-radius:5px;font-size:10px}.progress-tabs button[aria-pressed=true]{background:#5c3620;border-color:#d7ae68;color:#ffe1a9}.progress-screen[data-page=objects] .progress-overview,.progress-screen[data-page=objects] .progress-usable-rewards,.progress-screen[data-page=overview] .progress-objects,.progress-screen[data-page=overview] .progress-usable-rewards,.progress-screen[data-page=rewards] .progress-overview,.progress-screen[data-page=rewards] .progress-objects{display:none}.progress-screen{height:min(650px,calc(100dvh - 24px))}.progress-content{overflow:hidden;flex:1}.progress-overview>h3,.progress-usable-rewards>h3{font-size:14px}.progress-content .progress-explanation{font-size:10px}.progress-objects .progress-explanation{font-size:9px}.level-gallery-head{margin-top:10px}.progress-level p{font-size:11px}.progress-stats{margin:10px 0}.progress-mission{padding:9px}@media(orientation:landscape)and (max-height:600px){.progress-screen>header{min-height:44px}.progress-tabs{padding:4px 16px}.progress-tabs button{padding:5px}.progress-content{padding:8px 16px}.progress-level p{font-size:10px;margin:7px 0}.progress-stats{margin:8px 0}.progress-stats span{padding:6px;font-size:10px}.progress-overview>h3{margin:9px 0}.progress-mission{padding:8px;font-size:10px}.progress-overview .progress-explanation{margin:8px 0;font-size:9px}.progress-usable-rewards>h3{margin:9px 0}.progress-rewards>div{padding:8px;gap:4px}.progress-rewards b{font-size:10px}.progress-rewards small{font-size:8px}}@media(orientation:landscape)and (max-height:600px){.progress-screen>header{height:42px;min-height:42px;padding:4px 14px;flex-shrink:0}.progress-screen header small{display:block;line-height:10px;font-size:7px}.progress-screen header h2{font-size:16px;line-height:21px;margin:0}.progress-screen header button{height:32px;min-height:32px}.progress-tabs{flex-shrink:0;padding:4px 16px}.progress-level{gap:12px;min-height:46px}.progress-level>strong{height:46px;width:46px}.progress-screen .progress-level h3{font-size:13px;line-height:18px;margin:0}.progress-screen .progress-level p{font-size:9px;line-height:13px;margin:4px 0}.progress-level .xp-track{height:8px}.progress-level>strong .realistic-object{width:43px;height:43px}.level-gallery-head{margin:6px 0}.level-gallery-head h3{font-size:12px}.level-gallery-head button{height:24px;width:26px}.level-object-gallery>div{padding:5px 4px;gap:3px}.level-object-gallery .realistic-object{width:49px;height:49px}.level-object-gallery b{font-size:9px;line-height:1.3}.level-object-gallery small,.level-object-gallery span{font-size:7px}.progress-objects>.progress-explanation{display:none}}.level-object-gallery{grid-template-columns:repeat(5,minmax(0,1fr))}.level-eras{display:flex;gap:5px;margin-top:12px}.level-eras button{flex:1;font-size:9px;padding:7px 3px;border:1px solid #a4824744;border-radius:4px;color:#a99c84;background:#100c08}.level-eras button[aria-pressed=true]{border-color:#e0b96f;color:#f6daa2;background:#50351e}.level-eras button:focus-visible{outline:2px solid #f3d89b;outline-offset:2px}@media(orientation:landscape)and (max-height:600px){.level-eras{margin-top:7px;gap:4px}.level-eras button{padding:5px 2px;font-size:8px}.level-gallery-head{margin:5px 0}.level-object-gallery .realistic-object{width:51px;height:51px}}.community-top button.progress-badge,.topbar button.progress-badge{display:grid;grid-template-columns:auto minmax(0,1fr);width:clamp(132px,15vw,210px);min-width:0;padding:4px 8px 4px 4px;gap:7px;border-color:#b39154;background:linear-gradient(90deg,#17100de8,#21170fce 55%,#140e0be0),url(/art/westeros-castle.webp) right 42% / cover;box-shadow:inset 0 0 0 2px #20180f,inset 0 0 0 3px #bd965042,0 3px 8px #0008}.progress-badge>.realistic-object{width:36px;height:36px;border:1px solid #ac864d99;border-radius:6px;box-shadow:0 2px 6px #0008}.progress-badge .badge-progress{min-width:0}.progress-badge .badge-track{width:100%;box-sizing:border-box}@media(orientation:landscape)and (max-height:600px){.progress-badge>.realistic-object{width:28px;height:28px}}.realm-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:0;width:100%;min-height:345px;padding:19px 18px 15px;border:1px solid #c8a45f;border-radius:12px;text-align:center;isolation:isolate;box-shadow:0 9px 23px #0005;color:var(--card-ink);background:radial-gradient(ellipse at 20% 12%,#fff7de99,transparent 56%),repeating-linear-gradient(17deg,#6b4b1808 0 1px,transparent 1px 5px),linear-gradient(145deg,#e8d7ad,#f1e4c1 48%,#ccb98d);font-family:DM Sans Variable,sans-serif;overflow:hidden}.realm-card:before{content:"";position:absolute;inset:7px;border:1px solid #8b6d3e88;border-radius:7px;pointer-events:none}.realm-card:after{content:"✧";position:absolute;left:13px;bottom:10px;color:#876b3a88}.realm-card:hover:not(:disabled){background:radial-gradient(ellipse at 20% 12%,#fff9e699,transparent 56%),repeating-linear-gradient(17deg,#6b4b1808 0 1px,transparent 1px 5px),linear-gradient(145deg,#f1dfb5,#f7eccc 48%,#d5bf91);border-color:#ffe2a0}.realm-card:disabled{opacity:.72;filter:saturate(.75)}.card-category{font-size:8px;font-weight:800;letter-spacing:2px}.card-title-rule{display:flex;align-items:center;width:85%;gap:8px;font-size:10px;margin:8px 0 3px;opacity:.65}.card-title-rule:before,.card-title-rule:after{content:"";height:1px;background:currentColor;flex:1}.card-title{font-family:Cinzel Variable,Georgia,serif;font-size:21px;font-weight:650;line-height:1.2;min-height:27px}.card-engraving{width:100%;height:148px;flex-shrink:0;margin:4px 0 7px}.card-effect{font-size:12px;line-height:1.45;max-width:210px;flex:1}.card-status{margin-top:12px;padding-top:9px;width:100%;border-top:1px solid #8b6d3e55;font-size:8px;font-weight:800;line-height:1.4;letter-spacing:.8px}.card-back{color:#d9bd7c;background:radial-gradient(circle,#273b48,#0c1c27 75%);justify-content:center;min-height:345px}.card-back:before{border-color:#c9a85d99}.card-back-seal{width:145px;height:145px;fill:none;stroke:#bfa163;stroke-width:1.3;margin:14px 0}.card-back-title{font:24px/1.15 Cinzel Variable,Georgia,serif;letter-spacing:2px}.card-back-kicker,.card-back-footer{font-size:8px;letter-spacing:2px}.card-back-footer{margin-top:17px}.development-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:18px;margin-top:22px}.cards-panel .realm-card{margin:12px 0;min-height:322px}.cards-panel .card-title{font-size:19px}.cards-panel .card-engraving{height:125px}.cards-panel .card-effect{font-size:11px}.cards-panel .card-status{font-size:9px;letter-spacing:0}.realm-card:focus-visible{outline:3px solid #fff0bc;outline-offset:3px}.realm-card.resource-realm-card,.realm-card.card-front{background:linear-gradient(145deg,#2d2216,#0c0b09 45%,#21190f);color:#efd7a5;border:1px solid #bd9857;padding:14px 12px 12px;box-shadow:0 10px 24px #0008,inset 0 0 0 3px #6f51232a}.realm-card.resource-realm-card:hover,.realm-card.card-front:hover{background:linear-gradient(145deg,#3a2c19,#100e0a 45%,#2d2011)}.realm-card .card-category{color:#c6af86;letter-spacing:1.3px}.realm-card .card-title{color:#ffe0a0;font-size:19px;text-shadow:0 2px 5px #000;min-height:24px}.realm-card .card-title-rule{color:#d5aa57;margin:5px 0}.card-scene{width:100%;height:178px;flex-shrink:0;margin:9px 0 12px;background-size:300% 200%;background-position:var(--art-x) var(--art-y);background-repeat:no-repeat;border:1px solid #a27a4166;border-radius:4px;box-shadow:inset 0 0 16px #0005}.resource-scene{background-image:url(/art/resource-cards-v40.webp)}.development-scene{background-image:url(/art/development-cards-v40.webp)}.realm-card .card-effect{color:#e0d4bd;font-size:11px;line-height:1.5}.realm-card .card-status{color:#c6ac77;border-color:#ba8d484d;font-size:8px}.cards-panel .card-scene{height:150px}.realm-card.card-back,.realm-card.illustrated-back{background:#080706;color:#edc477;min-height:345px;padding:15px 12px;justify-content:center;gap:8px;border-color:#bd9857}.development-back-art,.resource-back-art{width:100%;height:220px;flex-shrink:0;background-size:300% 200%;background-position:100% 100%;background-repeat:no-repeat;border-radius:5px}.development-back-art{background-image:url(/art/development-cards-v40.webp)}.resource-back-art{background-image:url(/art/resource-cards-v40.webp)}.card-back .card-back-title{font-size:20px;letter-spacing:1px}.illustrated-back>strong{font:18px Cinzel Variable,Georgia,serif}.illustrated-back>span{font-size:9px;letter-spacing:2px}.trade-card-face .realm-card .card-scene{width:100%;height:48px;margin:0;border:0;border-radius:2px}.trade-card-face .resource-realm-card{padding:4px 2px;min-height:0;height:86px;background:#17110a}.trade-card-face .realm-card .card-title{font-size:9px;min-height:19px;margin:3px 0}.trade-card-face .resource-realm-card:after{display:none}.trade-card-face .resource-realm-card:before{inset:2px}@media(orientation:landscape)and (max-height:600px){.modal .card-scene{height:135px}.modal .realm-card .card-title{font-size:17px}.modal .card-effect{font-size:10px}.modal .development-back-art,.modal .resource-back-art{height:190px}}.trade-market{padding-bottom:12px}.trade-market h3{margin:12px 0}.trade-market h4{margin:10px 0 6px}.trade-destinations{display:grid;grid-template-columns:1fr 1fr;gap:6px}.trade-destinations button,.trade-houses button{padding:10px 6px;border:1px solid #b393594d;border-radius:6px;background:#12232c;color:#d9c8a3;font-size:12px}.trade-destinations button[aria-pressed=true],.trade-houses button[aria-pressed=true]{background:#644d2b;border-color:#e1bc70;color:#fff0ce}.trade-houses{display:flex;gap:5px;flex-wrap:wrap}.trade-card-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.trade-card-choice{min-width:0;position:relative}.trade-card-face{position:relative;display:block;width:100%;padding:0;border:2px solid transparent;border-radius:6px;background:transparent;overflow:hidden;cursor:pointer}.trade-card-face:disabled{opacity:.4}.trade-card-choice.chosen .trade-card-face{border-color:#e5bc6c;box-shadow:0 0 10px #e5bc6c44}.trade-card-face .realm-card{width:100%;min-width:0;height:86px;min-height:0;aspect-ratio:auto;padding:4px 2px;border-radius:3px;margin:0;box-shadow:none;transform:none}.trade-card-face .card-category,.trade-card-face .card-effect,.trade-card-face .card-status,.trade-card-face .card-title-rule{display:none}.trade-card-face .card-title{font-size:9px;margin:3px 0;letter-spacing:0}.trade-card-face .card-engraving{width:100%;height:48px;margin:0}.trade-card-stock{display:block;background:#13252e;font-size:9px;color:#d9ccac;padding:4px 0;white-space:nowrap}.trade-card-amount{position:absolute;right:2px;bottom:24px;min-width:22px;padding:3px;border-radius:12px;background:#2b2018;color:#ffe0a2;font-weight:700;font-size:13px}.trade-card-stepper{display:flex;align-items:center;justify-content:space-between;background:#0e1c24;border-radius:4px;margin-top:3px}.trade-card-stepper button{padding:4px;min-width:24px;min-height:30px;color:#f1d39a}.trade-card-stepper span{font-size:11px}.trade-exchange-arrow{text-align:center;color:#c7a362;font-size:20px;height:19px}.trade-quantity{display:flex;align-items:center;gap:14px;margin:14px 0}.trade-quantity span{flex:1;font-size:12px}.trade-quantity button{width:36px;height:36px;background:#24333b;border:1px solid #b3935955;border-radius:6px}.trade-summary{font-size:12px;text-align:center;color:#f0d497}.trade-market>.primary{width:100%}.trade-market .muted{font-size:11px;line-height:1.5}.trade-market button:focus-visible{outline:2px solid #ffe3a3;outline-offset:2px}.medieval-object{width:48px;height:48px;flex-shrink:0;filter:drop-shadow(0 2px 3px #000a)}.bazar-backdrop{position:fixed;inset:0;z-index:210;background:#000d;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:grid;place-items:center;padding:12px;color:#ecd8ad}.medieval-shop{width:min(1000px,100%);height:min(650px,calc(100dvh - 24px));display:flex;flex-direction:column;overflow:hidden;border:1px solid #b48d4b;border-radius:12px;background:radial-gradient(ellipse at 25% 20%,#33231b,#0d0b09 65%);box-shadow:0 20px 80px #000}.medieval-shop>header{display:flex;align-items:center;gap:20px;padding:12px 22px;border-bottom:1px solid #aa854544}.medieval-shop header small{font-size:8px;letter-spacing:3px;color:#bc9759}.medieval-shop h2{font:26px Cinzel Variable,serif;margin:4px 0}.medieval-shop header p{font-size:11px;color:#b5a58d}.medieval-shop header>button{margin-left:auto;font-size:28px;width:38px;height:38px}.shop-tabs{display:flex;padding:8px 18px;gap:8px}.shop-tabs button{flex:1;border:1px solid #8a693d77;border-radius:5px;padding:9px;font-size:11px}.shop-tabs button[aria-pressed=true]{background:linear-gradient(90deg,#74241b,#3c1913);border-color:#d3a65d;color:#ffe1a4}.bazar-content{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px;padding:10px 22px 20px;flex:1;min-height:0}.shop-preview{display:flex;flex-direction:column;align-items:center;gap:8px;min-height:0}.shop-character{width:100%;min-height:0;flex:1;max-width:210px;position:relative;border-radius:55px 55px 9px 9px;border:1px solid #b8995d;background-size:300% 200%}.shop-character>span{position:absolute;bottom:8px;left:0;right:0;text-align:center;font-size:8px;letter-spacing:3px;text-shadow:0 2px 5px #000}.shop-preview>b{font:14px Cinzel Variable,serif}.shop-preview>small{font-size:10px;color:#ccb480}.shop-equipped{position:absolute;right:3%;bottom:15%;width:60px;height:60px;border-radius:8px;background:#0c0909b8;border:1px solid #c09a5a88;display:grid;place-items:center}.shop-equipped.item-helmet,.shop-equipped.item-crown{top:5%;right:4%;bottom:auto}.shop-equipped.item-armor,.shop-equipped.item-cloak{top:45%;right:5%}.shop-character-picker{display:flex;gap:3px;width:100%}.shop-character-picker button{flex:1;padding:6px 2px;border:1px solid #846b4244;font-size:8px;border-radius:4px}.shop-character-picker button[aria-pressed=true]{border-color:#edc682;color:#ffe5b7;background:#54391e}.shop-catalog{min-height:0;display:flex;flex-direction:column;gap:12px}.shop-catalog-head{display:flex;align-items:center;justify-content:space-between}.shop-catalog h3{font:19px Cinzel Variable,serif;margin:0}.shop-catalog-head>div{display:flex;align-items:center;gap:10px;font-size:10px}.shop-catalog-head button{width:29px;height:27px;border:1px solid #9c7c4844;border-radius:4px;font-size:22px}.shop-products{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:10px;flex:1;min-height:0}.shop-product{display:flex;align-items:center;gap:14px;border:1px solid #7b644450;border-radius:8px;padding:14px;text-align:left;background:linear-gradient(135deg,#28211c,#12100d);min-width:0}.shop-product>.medieval-object{width:64px;height:64px}.shop-product>div{display:flex;flex-direction:column;gap:8px}.shop-product small{font-size:9px;color:#bba88b}.shop-product b{font:13px Cinzel Variable,serif}.shop-product span{font-size:9px;color:#c3a365}.shop-product[aria-pressed=true]{border-color:#f1c575;box-shadow:inset 0 0 25px #c4932922,0 0 0 1px #c59a4b44}.rarity-Épico{border-color:#986d9755}.rarity-Legendario{border-color:#e1b35b88}.shop-catalog footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:10px;border-top:1px solid #a7895244}.shop-catalog footer>div{display:flex;flex-direction:column;gap:4px}.shop-catalog footer b{font-size:11px}.shop-catalog footer small{font-size:9px;color:#a89b86}.shop-catalog footer button{background:#372b1d;border:1px solid #80694788;padding:10px;border-radius:5px;font-size:10px;opacity:.65;flex-shrink:0}.shop-exclusive-cards{display:flex;gap:14px;min-height:0;flex:1}.shop-exclusive-cards>button{display:flex;flex-direction:column;min-height:0;flex:1;max-width:230px;border:1px solid #b68a5355;padding:5px;border-radius:7px;background:#221915}.shop-exclusive-cards .character-portrait{flex:1;min-height:0;width:100%;background-size:300% 200%;border:0;aspect-ratio:auto}.shop-exclusive-cards button>div:last-child{display:flex;flex-direction:column;gap:5px;padding:9px}.shop-exclusive-cards small{font-size:8px;letter-spacing:2px;color:#d9b56d}.shop-exclusive-cards b{font:13px Cinzel Variable,serif}.shop-exclusive-cards span{font-size:9px;color:#bbab8e}.shop-exclusive-cards button[aria-pressed=true]{border-color:#edc272}.shop-expansion{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px}.shop-expansion p{font-size:12px;max-width:330px}.shop-expansion small{font-size:9px;color:#c9a365;letter-spacing:3px}@media(orientation:landscape)and (max-height:600px){.bazar-backdrop{padding:6px}.medieval-shop{height:calc(100dvh - 12px)}.medieval-shop>header{padding:5px 14px;min-height:40px}.medieval-shop h2{font-size:19px;margin:0}.medieval-shop header small{font-size:6px}.medieval-shop header p{font-size:9px}.shop-tabs{padding:5px 12px}.shop-tabs button{padding:6px;font-size:10px}.bazar-content{grid-template-columns:155px minmax(0,1fr);gap:14px;padding:5px 14px 10px}.shop-preview{gap:4px}.shop-preview>b{font-size:10px}.shop-preview>small{font-size:8px}.shop-character-picker button{font-size:7px;padding:4px 1px}.shop-equipped{width:43px;height:43px}.shop-equipped .medieval-object{width:38px;height:38px}.shop-catalog{gap:6px}.shop-catalog h3{font-size:14px}.shop-products{gap:6px}.shop-product{padding:6px;gap:7px}.shop-product>.medieval-object{width:44px;height:44px}.shop-product>div{gap:4px}.shop-product b{font-size:10px}.shop-product small,.shop-product span{font-size:8px}.shop-catalog footer{padding-top:5px;gap:6px}.shop-catalog footer b{font-size:9px}.shop-catalog footer small{font-size:8px;max-width:220px}.shop-catalog footer button{font-size:8px;padding:7px}.shop-exclusive-cards button>div:last-child{padding:5px;gap:2px}.shop-exclusive-cards b{font-size:10px}.shop-exclusive-cards span{font-size:8px}}.shop-exclusive-cards>button{display:grid;grid-template-rows:minmax(0,1fr) auto;justify-items:center}.shop-exclusive-cards .character-portrait{height:100%;width:auto;aspect-ratio:2/3;max-width:100%;align-self:center}.shop-character{flex:none;height:calc(100% - 70px);width:auto;aspect-ratio:2/3}.realistic-object{display:inline-block;background-image:url(/art/medieval-objects-v44.webp);background-size:400% 500%;background-repeat:no-repeat;border-radius:7px;filter:drop-shadow(0 3px 4px #000a)}.realistic-object.grade-0{filter:saturate(.65) brightness(.85) drop-shadow(0 3px 3px #000)}.realistic-object.grade-1{filter:saturate(.75) brightness(1.04) drop-shadow(0 3px 3px #000)}.realistic-object.grade-2{filter:sepia(.16) saturate(1.1) brightness(1.08) drop-shadow(0 3px 3px #000)}.realistic-object.grade-3{filter:sepia(.2) saturate(1.4) drop-shadow(0 3px 3px #000)}.realistic-object.grade-4{filter:brightness(1.2) saturate(1.1) drop-shadow(0 0 4px #b8864355)}.shop-product>.medieval-object{width:78px;height:78px}.shop-product[aria-pressed=true]{background:radial-gradient(ellipse at 20% 50%,#66502c55,#17110c 70%)}.shop-preview .equipped-render{background-size:300% 200%;transition:opacity .15s ease}.shop-hd-loading{position:absolute;inset:0;background:#100d09;display:grid;place-items:center;font-size:11px;text-align:center;padding:12px;color:#e5c890}.shop-feature-list{display:flex;gap:7px;flex-wrap:wrap;justify-content:center}.shop-feature-list>span{font-size:10px;padding:8px 12px;border:1px solid #b08b4844;border-radius:5px;background:#38271a55}.friends-edition>.medieval-object{width:80px;height:80px}.progress-badge>.realistic-object{width:38px;height:38px}.progress-level>strong .realistic-object{width:64px;height:64px}.level-object-gallery .realistic-object{width:68px;height:68px}.level-object-gallery>div{opacity:.75}.level-object-gallery>.earned{opacity:1}@media(orientation:landscape)and (max-height:600px){.shop-product>.medieval-object{width:60px;height:60px}.shop-tabs button{font-size:9px}.shop-expansion{gap:9px}.shop-expansion p{margin:2px 0;font-size:11px}.friends-edition>.medieval-object{width:48px;height:48px}.shop-feature-list>span{font-size:8px;padding:5px 8px}.progress-badge>.realistic-object{width:29px;height:29px}.progress-level>strong .realistic-object{width:49px;height:49px}.level-object-gallery .realistic-object{width:54px;height:54px}}.realistic-object.grade-1{background-image:url(/art/medieval-objects-tier-1-v45.webp);filter:drop-shadow(0 3px 4px #000a)}.realistic-object.grade-2{background-image:url(/art/medieval-objects-tier-2-v45.webp);filter:drop-shadow(0 3px 4px #000a)}.realistic-object.grade-3{background-image:url(/art/medieval-objects-tier-3-v45.webp);filter:drop-shadow(0 3px 4px #000a)}.realistic-object.grade-4{background-image:url(/art/medieval-objects-tier-4-v45.webp);filter:drop-shadow(0 3px 4px #000a)}.realistic-object.grade-0{filter:drop-shadow(0 3px 4px #000a)}.expansion-catalog{grid-template-columns:minmax(0,1fr)}.expansion-catalog .shop-preview,.expansion-catalog .shop-catalog footer{display:none}.expansion-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:8px;flex:1;min-height:0}.expansion-cover{position:relative;overflow:hidden;border:1px solid #a8895166;border-radius:7px;background-color:#241a12;background-image:url(/art/expansions-v46.webp);background-size:300% 200%;background-repeat:no-repeat}.expansion-cover>div{position:absolute;inset:auto 0 0;padding:16px 9px 7px;background:linear-gradient(transparent,#100b07 72%)}.expansion-cover small{color:#f3cb82;font-size:8px;font-weight:700;letter-spacing:1.4px}.expansion-cover h3{color:#fff0cd;font-size:clamp(11px,2.4vh,20px);line-height:1.15;margin:3px 0 0}.expansion-cover p{color:#efddbb;font-size:clamp(8px,1.8vh,13px);margin:3px 0 0;line-height:1.15}.expansion-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.expansion-cover.expansion-space{background-size:100% 100%;background-image:radial-gradient(circle at 66% 36%,#f0d5a4 0%,#c68b65 10%,#6d3f54 19%,transparent 20%),radial-gradient(circle at 28% 24%,#d7e7ff 0 1px,transparent 2px),radial-gradient(circle at 78% 17%,#d7e7ff 0 1px,transparent 2px),radial-gradient(circle at 39% 51%,#d7e7ff 0 1px,transparent 2px),linear-gradient(140deg,#0b101b,#212f51,#201728)}.expansion-cover a{display:inline-block;margin-top:4px;font-size:10px;color:#ffe0a1;text-underline-offset:2px}.expansion-cover .expansion-preview-button{background:#f2c879;color:#25180d;font-weight:700;text-decoration:none;border-radius:4px;padding:3px 7px}.expansion-preview-button:focus-visible{outline:2px solid white;outline-offset:2px}.expansion-catalog .expansion-cover h3{background:none;color:#fff0cd;-webkit-text-fill-color:#fff0cd;text-shadow:0 1px 4px #000}.expansion-catalog .expansion-cover p{font-size:clamp(9px,2.6vh,12px);line-height:1.2}.community-app{--comm-gold:#d1ae70;max-width:1100px;margin:auto;padding:24px 28px 112px;color:#e9e3d7;min-height:100dvh;background:radial-gradient(ellipse at 80% 5%,#30464a66,transparent 48%),#101d26}.community-top{display:flex;align-items:center;gap:12px;margin-bottom:30px}.community-wordmark{display:flex;align-items:center;gap:10px;color:#d1ae70;text-decoration:none;font:32px Cinzel Variable,Georgia,serif}.community-wordmark span{font-size:9px;letter-spacing:3px;line-height:1.5;color:#e9e3d7}.community-wordmark b{font-size:19px;font-weight:500;letter-spacing:2px}.beta-pill{font-size:8px;letter-spacing:2px;border:1px solid #d1ae704d;border-radius:20px;padding:4px 7px;color:#d1ae70}.community-icon{margin-left:auto;border:1px solid #b79c6c55;border-radius:50%;width:45px;height:45px;padding:2px;font-size:28px;overflow:hidden}.community-app h1{font-size:clamp(30px,5vw,48px);line-height:1.15;margin:16px 0}.community-app h1 em{color:#d1ae70;font-style:normal}.community-app p{color:#9fadb2;font-size:13px;line-height:1.7}.community-app .eyebrow{font-size:8px;letter-spacing:2.5px}.character-portrait{background-image:url(/art/characters-v23.webp);background-size:300% 200%;background-position:var(--portrait-x) var(--portrait-y);aspect-ratio:2/3;width:100%;border:1px solid var(--character-color,#c6a15b);position:relative;background-color:#26363c;overflow:hidden;box-shadow:inset 0 0 25px #0005}.character-portrait.mini{width:42px;height:47px;aspect-ratio:auto;border-radius:9px;flex-shrink:0;background-size:300% 200%}.community-icon .mini{width:100%;height:100%;border:0;border-radius:50%}.portrait-item{position:absolute;right:8%;bottom:12%;color:#f6d28f;font-size:30px;filter:drop-shadow(0 2px 2px #000)}.equipment-brooch{box-shadow:inset 0 0 0 2px #bb965b,inset 0 0 20px #0004}.equipment-crown{border:3px solid #d8b767;box-shadow:0 0 20px #ce9d3430}.equipment-ember{box-shadow:inset 0 0 0 3px #b9693b,0 0 18px #be521e44}.character-card{display:block;text-align:left;border:1px solid #a98e5c55;border-radius:11px;padding:5px;background:linear-gradient(145deg,#23343d,#101d27);overflow:hidden;min-width:0;position:relative}.character-card .character-portrait{border-radius:7px 7px 2px 2px}.character-card.selected{border-color:#e4c68c;box-shadow:0 0 0 2px #c6a15b33}.character-card.selected:after{content:"✓";position:absolute;top:12px;right:12px;background:#d1ae70;color:#19232b;width:23px;height:23px;display:grid;place-items:center;border-radius:50%;font-weight:700}.character-caption{padding:10px 6px 7px}.character-caption small{font-size:7px;letter-spacing:1.4px;color:#c7a86d}.character-caption h3{font-size:14px;line-height:1.35;margin:6px 0}.character-caption p{font-size:10px;margin:0}.character-caption>span{display:block;font-size:9px;color:#d8c08e;margin-top:8px}.identity-intro{max-width:700px;margin:auto;padding-top:12px}.identity-label{display:block;font-size:12px;color:#d8c8a9;margin:24px 0 7px}.identity-label input{display:block;width:100%;padding:14px;margin-top:9px;border-radius:8px}.identity-intro>small{display:block;font-size:10px;color:#8f9fa7;line-height:1.6}.identity-starters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:25px 0}.wide{width:100%;border-radius:7px;min-height:47px}.community-link{display:block;text-align:center;text-decoration:none;border-radius:7px;margin:24px 0 12px}.text-link{display:block;color:#d1ae70;font-size:11px;margin-top:20px}.commander-welcome{display:grid;grid-template-columns:1fr 155px;align-items:center;gap:20px;margin-bottom:24px}.commander-welcome>.character-portrait{height:205px;aspect-ratio:auto;border-radius:65px 65px 10px 10px;-webkit-mask-image:linear-gradient(#000 75%,transparent);mask-image:linear-gradient(#000 75%,transparent)}.commander-welcome h1{font-size:32px;overflow-wrap:anywhere}.play-modes{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mode-hero{grid-column:1/-1;text-align:left;border-radius:14px;border:1px solid #c7a96d88;min-height:190px;padding:24px;position:relative;background:linear-gradient(90deg,#17252bf0 15%,#182e3980),url(/art/westeros-castle.webp) center/cover}.mode-hero small{font-size:8px;color:#cfb277;letter-spacing:2px}.mode-hero h2{font-size:30px;margin:15px 0 5px}.mode-hero p{margin:0 0 20px}.mode-hero>span{display:inline-block;font-size:10px;letter-spacing:1px;background:#d1ae70;color:#17232b;padding:12px 18px;border-radius:5px;font-weight:700}.mode-secondary{display:flex;gap:13px;align-items:center;text-align:left;padding:21px 16px;border-radius:12px;border:1px solid #a58b5a44;background:#20313a88}.mode-secondary>span{font-size:27px;color:#c7a86e}.mode-secondary h2{font-size:18px;margin:0}.mode-secondary p{font-size:11px;margin:5px 0 0}.mode-secondary>b{margin-left:auto;color:#d1ae70}.install-strip{display:flex;align-items:center;gap:12px;border:1px solid #9aa79d2c;border-radius:10px;padding:15px;margin:24px 0}.install-strip>span{font-size:27px;color:#c1aa7b}.install-strip b{font-size:12px}.install-strip p{font-size:10px;margin:4px 0 0}.install-strip button{margin-left:auto;color:#d7b780;font-size:11px;border:1px solid #a68d6155;border-radius:5px;padding:9px}.home-minor{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}.home-minor button{font-size:10px;color:#91a1a9;text-decoration:underline;text-underline-offset:3px}.community-nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:min(100%,1100px);display:grid;grid-template-columns:repeat(4,1fr);background:#12202bf5;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-top:1px solid #bf9e5d3b;z-index:65;padding:10px 12px max(12px,env(safe-area-inset-bottom))}.community-nav button{display:flex;flex-direction:column;align-items:center;gap:4px;position:relative;font-size:10px;color:#8fa1aa}.community-nav button>span{font-size:23px;line-height:1.2}.community-nav button.active{color:#e0bd7a}.community-nav i{position:absolute;top:0;right:24%;background:#984b42;color:#fff;border-radius:50%;width:16px;height:16px;font-size:9px;font-style:normal;display:grid;place-items:center}.community-section{max-width:760px;margin:auto}.community-section>h2{font-size:21px;margin-top:30px}.friend-search{display:flex;gap:8px;margin:22px 0}.friend-search input{flex:1;width:100%;border-radius:7px;font-size:12px}.friend-search button,.ally-row button{background:#cfad7030;border:1px solid #cfad7060;border-radius:5px;padding:9px 11px;font-size:10px;color:#dbc08c}.ally-row{display:flex;gap:11px;align-items:center;padding:13px 0;border-bottom:1px solid #d7bb7c22}.ally-row>div:not(.character-portrait){flex:1;min-width:0}.ally-row b{display:block;font-size:12px;overflow-wrap:anywhere}.ally-row small{display:block;font-size:9px;color:#91a1aa;margin-top:5px}.community-empty{text-align:center;padding:28px 12px;font-size:36px;color:#bea16c}.community-empty h3{font-size:18px;color:#d9dedb}.community-empty button{border-bottom:1px solid #b7a17077;font-size:11px;color:#d8bd87}.notification-invite{border:1px solid #c5a76a33;border-radius:12px;padding:20px;margin:28px 0;background:#27383855}.notification-invite>span{font-size:26px;color:#d1b279}.notification-invite h3{font-size:19px;margin:10px 0}.notification-invite button{background:#c4a46a;color:#17232a;font-size:11px;border-radius:6px;padding:12px 18px}.notification-invite small{display:block;color:#8ea0aa;font-size:9px;line-height:1.6;margin-top:13px}.equipped-preview{display:flex;gap:24px;align-items:center}.equipped-preview>.character-card{width:210px;flex-shrink:0}.equipped-preview b{font:19px Cinzel Variable,Georgia,serif;overflow-wrap:anywhere}.sample-score{font:36px Cinzel Variable,Georgia,serif;color:#d1ae70}.sample-score small{font:8px sans-serif;letter-spacing:1px}.equipment-options{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.equipment-options>button{border:1px solid #9c88584d;border-radius:7px;padding:12px;font-size:11px}.equipment-options>button.selected{background:#c8ac7040;border-color:#c8ac70}.cosmetic-note{font-size:10px!important}.equipment-product{flex:1;min-width:130px;padding:18px 14px;border:1px solid #c6a15b44;border-radius:10px;display:flex;flex-direction:column;gap:10px}.equipment-product>span{font-size:32px;color:#c9aa6f}.equipment-product b{font-size:12px}.equipment-product small{font-size:9px;color:#91a1a9}.equipment-product button{font-size:9px;padding:10px 0}.store-tryon{display:flex;gap:20px;align-items:center;border:1px solid #c6a15b3f;border-radius:12px;padding:18px;margin:25px 0}.store-tryon>.character-portrait{width:110px;flex-shrink:0;border-radius:6px}.store-tryon small{font-size:8px;color:#bca16a}.store-tryon h3{font-size:18px;margin:9px 0}.store-tryon button{font-size:10px;background:#c6a15b2b;border:1px solid #c6a15b55;border-radius:4px;padding:9px}.expansion-soon{border:1px dashed #b19b6e66;border-radius:12px;padding:24px;background:linear-gradient(145deg,#35424755,#17212d)}.expansion-soon>span{font-size:35px;color:#b9a272}.expansion-soon h3{font-size:22px;margin:15px 0}.expansion-soon small{font-size:8px;letter-spacing:1.2px;color:#bdab85}.install-help{position:fixed;bottom:95px;left:50%;transform:translate(-50%);width:min(90%,430px);background:#e4d2aa;color:#43301d;border:1px solid #b5915a;box-shadow:0 12px 40px #0009;z-index:80;padding:22px;border-radius:12px}.install-help p{color:#5b4934}.install-help button{color:#4d371d;border-bottom:1px solid #8e6e3a}.community-message{position:fixed;left:50%;transform:translate(-50%);bottom:91px;width:min(90%,500px);background:#dfc99e;color:#3d3020;border:1px solid #b3955f;z-index:81;border-radius:8px;padding:15px 40px 15px 16px;font-size:12px;line-height:1.5;box-shadow:0 8px 25px #0007}.community-message button{position:absolute;right:10px;top:10px}.community-loading{padding:90px 20px;text-align:center;color:#bba774}.inbox-preview{margin:25px 0}.inbox-preview>button{width:100%;display:flex;gap:12px;align-items:center;padding:12px;background:#8a79551f;border-radius:8px;text-align:left}.inbox-preview button>span{flex:1;font-size:12px}.inbox-preview button>b{font-size:10px;color:#c6a15b}.social-overlay{position:fixed;inset:0;overflow:auto;z-index:55;background:#101d26}.at-home:has(.community-app)>.topbar{display:none}.at-home:has(.community-app){background:#0b151e}.lobby-allies{margin:30px auto;max-width:500px;text-align:left}.lobby-allies>p{font-size:12px;color:#8e9ca5}.lobby-allies .ally-row>b{flex:1}.player-identity{display:flex;align-items:center;gap:8px}.player .character-portrait.mini{width:38px;height:45px}.player .points{font-size:27px}.player .points small{font-size:7px}.point-number{display:inline-block;animation:point-arrival .7s ease-out}.player-score-track{height:3px;border-radius:2px;background:#d0bd8b18;margin-top:7px;overflow:hidden}.player-score-track>i{display:block;height:100%;background:var(--house);transition:width .65s ease-out}.player-username{color:#8fadb5;font-size:9px;display:block;margin-top:3px}@keyframes point-arrival{0%{transform:scale(1.4);color:#ffe4a0}to{transform:scale(1)}}@media(max-width:760px){.community-app{padding:19px 20px 110px}.community-top{margin-bottom:22px}.community-app h1{font-size:32px}.identity-starters{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.character-caption h3{font-size:13px}.character-caption small{font-size:6px}.community-app .identity-intro .character-card .character-portrait{aspect-ratio:4/5}.commander-welcome{grid-template-columns:1fr 105px;gap:8px}.commander-welcome h1{font-size:27px}.commander-welcome p{font-size:11px}.commander-welcome>.character-portrait{height:165px}.play-modes{grid-template-columns:1fr}.mode-hero{min-height:185px;padding:23px}.mode-hero h2{font-size:29px}.mode-secondary{padding:19px 15px}.mode-secondary h2{font-size:19px}.community-nav{padding-top:10px}.community-section>p{font-size:12px}.equipped-preview{gap:16px}.equipped-preview>.character-card{width:48%}.equipped-preview b{font-size:15px}.equipped-preview p{font-size:10px}.community-icon{width:42px;height:42px}.store-tryon{padding:15px;gap:15px}.store-tryon h3{font-size:15px}.store-tryon p{font-size:10px}.in-game>.players-panel{position:sticky!important;top:0;z-index:22;background:#13212af5;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);display:flex!important;overflow-x:auto;padding:9px 10px!important;gap:7px;margin:0!important}.in-game .players-panel>.eyebrow,.in-game .players-panel .achievements,.in-game .players-panel .turn-counter{display:none}.in-game .players-panel .player{flex:0 0 auto;min-width:112px;max-width:135px;padding:7px;gap:6px;margin:0;display:grid;grid-template-columns:30px 1fr;position:relative}.in-game .player .character-portrait.mini{width:30px;height:37px;border-radius:5px}.in-game .player>div:nth-child(2){min-width:0}.in-game .player strong{font-size:9px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.in-game .player span:not(.point-number){font-size:7px}.in-game .player .player-stats{display:none}.in-game .player>.points{grid-column:2;font-size:19px;position:absolute;right:7px;bottom:7px}.in-game .player .points small{font-size:5px}.in-game .player .player-score-track{width:35px;margin-top:9px}.in-game .player-username{max-width:70px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.in-game .player .player-identity{display:none}.in-game .player .piece-color{width:5px;height:5px;margin-right:3px}.in-game .board{margin-top:62px}.in-game .turn-banner{top:180px}.lobby{padding:30px 20px!important}.lobby h1{font-size:31px}.lobby-seats{grid-template-columns:repeat(2,1fr)!important;gap:10px!important}.lobby-seats>div{padding:14px 8px!important}.lobby-seats h3{font-size:13px}.lobby-seats .character-portrait{width:70px;height:85px;margin:auto;border-radius:9px}.topbar .brand{font-size:13px}.topbar .brand small{font-size:6px}.topbar nav{max-width:65%!important}.topbar nav button{font-size:8px!important}}.community-resume{display:block;position:relative;z-index:3;margin:-95px auto 110px;border:1px solid #c6a15b55;color:#d1ae70;background:#13232c;font-size:11px;border-radius:6px;padding:12px;max-width:90%}@media(max-width:760px){.in-game>.players-panel{display:grid!important;grid-template-columns:repeat(var(--player-count,3),minmax(0,1fr));overflow:visible}.in-game .players-panel .player{min-width:0;max-width:none;min-height:70px;grid-template-columns:26px 1fr;padding:6px 5px;gap:5px}.in-game .player .character-portrait.mini{width:26px;height:34px}.in-game .player .player-username{max-width:54px}.in-game .player .points{font-size:20px;right:5px;bottom:5px}.in-game .player .player-score-track{width:26px}.in-game .topbar{height:auto;min-height:64px;padding:9px 12px;align-items:flex-start}.in-game .brand-mark{font-size:27px}.in-game .brand{font-size:11px;gap:6px;max-width:40%}.in-game .brand small{font-size:5px;letter-spacing:1px}.in-game .topbar nav{gap:2px 10px;justify-content:flex-end}.in-game .topbar nav button{min-height:25px!important;padding:4px 0!important}.in-game .turn-banner{top:195px}.in-game .board{min-height:340px;height:48dvh;margin-top:62px}}@media(max-width:760px){main.in-game{overflow:clip}.in-game .turn-banner{top:145px;left:12px;right:12px;pointer-events:none}.in-game .turn-banner h2{font-size:16px;margin:4px 0}.in-game .turn-banner>span{font-size:7px}.in-game .turn-banner small{display:none}.in-game>.players-panel .points{font-size:23px}.in-game>.players-panel .player strong{font-size:8px}.in-game .player>div>span{display:none}}.players-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;color:#c6a15b;font-size:8px;letter-spacing:2px}.players-toolbar>div{display:flex;gap:5px}.players-toolbar button{width:27px;height:25px;padding:0;border:1px solid #c6a15b55;border-radius:4px;font-size:16px;line-height:1;letter-spacing:0}.rival-name{font-size:12px!important;overflow-wrap:anywhere}.player-house{display:block;font-size:10px!important;color:#b7bfc2;margin-top:4px}.turn-indicator{display:block;font-size:7px;color:#91a2ab;letter-spacing:.7px;margin-top:4px}.player.active .turn-indicator{color:#e7c37e}.players-minimal .character-portrait,.players-minimal .player-house,.players-minimal .player-score-track,.players-minimal .player-stats,.players-minimal .achievements,.players-minimal .turn-counter,.players-compact .player-stats,.players-compact .achievements{display:none!important}.players-minimal .player{padding:9px 10px!important;gap:8px}.players-minimal .player-main{flex:1}.players-minimal .points{font-size:20px}.players-expanded .character-portrait.mini{width:48px!important;height:61px!important}.players-expanded .player-stats{display:flex!important;margin-top:8px;gap:8px}.players-expanded .player-stats span{font-size:9px!important}@media(max-width:760px){.in-game>.players-panel{gap:6px;padding:7px 10px!important}.players-toolbar{grid-column:1/-1;letter-spacing:1.5px;margin:0;min-height:25px}.players-toolbar button{height:23px;width:28px}.in-game .players-panel .player{min-height:83px;grid-template-columns:26px 1fr;padding:6px 4px;gap:5px;align-items:start}.in-game .rival-name{font-size:8px!important;white-space:normal!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.25;min-height:20px}.in-game .player .player-house{display:block!important;font-size:7px!important;line-height:1.4}.in-game .turn-indicator{font-size:5px!important;letter-spacing:.25px;margin-top:4px}.in-game .player .points{font-size:21px!important;bottom:4px;right:4px}.in-game .player .points small{font-size:5px!important}.in-game .player-score-track{display:none}.in-game>.turn-banner{position:relative;order:2;top:auto;left:auto;right:auto;margin:9px 12px 7px;min-height:41px}.in-game>.turn-banner h2{font-size:16px;margin:5px 0}.in-game>.board{order:3;margin-top:0;height:46dvh;min-height:330px}.in-game>.cost-parchment{order:4}.in-game>.action-panel{order:5}.in-game>.players-expanded{grid-template-columns:repeat(2,minmax(0,1fr))}.in-game .players-expanded .player{grid-template-columns:46px 1fr;min-height:115px;padding:9px}.in-game .players-expanded .rival-name{font-size:11px!important;min-height:25px}.in-game .players-expanded .player-house{font-size:9px!important}.in-game .players-expanded .turn-indicator{font-size:7px!important}.in-game .players-expanded .points{font-size:26px!important;bottom:7px;right:7px}.in-game .players-expanded .player-stats{grid-column:1/-1}.in-game .players-expanded .achievements{display:block;grid-column:1/-1;font-size:9px}.in-game .players-minimal .player{display:block;min-height:61px;padding:6px!important}.in-game .players-minimal .rival-name{font-size:8px!important;min-height:20px;padding-right:0}.in-game .players-minimal .turn-indicator{font-size:5px!important;max-width:44px;margin-top:7px}.in-game .players-minimal .points{font-size:18px!important}.in-game .players-minimal .points small{display:none}.in-game .players-minimal .player-main{width:100%}}@media(max-width:760px){.in-game .players-minimal .player .player-house{display:none!important}.in-game .players-minimal .turn-indicator{margin-top:6px}.in-game .players-minimal .rival-name{font-size:8px!important}}@media(max-width:760px)and (orientation:portrait){.in-game>.cost-parchment{position:absolute;z-index:5;left:10px;top:370px;bottom:auto;width:140px;max-height:190px;overflow:auto;margin:0;padding:9px;opacity:.94}.in-game .cost-parchment summary{font-size:9px}.in-game .cost-parchment[open]>div{display:block}.in-game .cost-parchment p{font-size:8px;line-height:1.35;margin:6px 0;padding-bottom:5px}.in-game .cost-parchment b{font-size:9px}.in-game .cost-parchment small{font-size:7px}}@media(orientation:landscape)and (min-width:600px){main.in-game{display:block!important;height:100dvh;min-height:100dvh;overflow:hidden}.in-game>.topbar{height:42px;min-height:42px;padding:7px 12px;align-items:center;flex-wrap:nowrap}.in-game .brand{font-size:11px;gap:7px}.in-game .brand-mark{font-size:24px}.in-game .brand small{font-size:5px;letter-spacing:1px;margin-top:2px}.in-game .topbar nav{max-width:70%;gap:12px;flex-wrap:nowrap}.in-game .topbar nav button{font-size:8px;min-height:24px;padding:3px 0}.in-game>.players-panel{position:absolute!important;inset:44px 190px auto 8px;width:auto;margin:0!important;display:grid!important;grid-template-columns:repeat(var(--player-count,4),minmax(0,1fr));gap:5px;padding:4px!important;z-index:8;background:#11222ad9;border:1px solid #bba16b22;border-radius:7px}.in-game .players-toolbar{grid-column:1/-1;min-height:14px;height:14px;margin:0;font-size:6px}.in-game .players-toolbar button{width:24px;height:17px;font-size:12px}.in-game .players-panel .player{margin:0;padding:4px!important;min-width:0;max-width:none;min-height:42px;display:grid;grid-template-columns:22px 1fr;gap:5px;position:relative;border-radius:3px}.in-game .player .character-portrait.mini{width:22px!important;height:28px!important;border-radius:4px}.in-game .rival-name{font-size:7px!important;line-height:1.2;min-height:12px;white-space:nowrap!important;display:block!important;text-overflow:ellipsis;overflow:hidden}.in-game .player .player-house{font-size:6px!important;margin-top:2px;display:block}.in-game .turn-indicator{font-size:5px!important;letter-spacing:0;margin-top:2px}.in-game .player .points{position:absolute;right:5px;bottom:4px;font-size:17px!important}.in-game .points small{display:none}.in-game .player-score-track,.in-game .player-stats,.in-game .achievements,.in-game .turn-counter{display:none!important}.in-game>.players-minimal .player{display:block;min-height:32px!important}.in-game .players-minimal .player-house,.in-game .players-minimal .character-portrait{display:none!important}.in-game>.players-expanded{grid-template-columns:repeat(2,minmax(0,1fr));max-height:180px;overflow:auto}.in-game .players-expanded .player{min-height:66px!important;grid-template-columns:34px 1fr}.in-game .players-expanded .character-portrait.mini{width:34px!important;height:46px!important}.in-game .players-expanded .rival-name{font-size:9px!important}.in-game .players-expanded .player-stats{display:flex!important}.in-game>.board{position:absolute!important;inset:42px 182px 41px 0;width:auto;height:auto!important;min-height:0;margin:0!important}.in-game .camera{left:10px;bottom:10px;gap:4px}.in-game .camera button{min-width:28px;min-height:28px;width:28px;height:28px;padding:2px;font-size:14px}.in-game .map-caption,.in-game .map-tip{display:none}.in-game>.turn-banner{position:absolute;left:auto;right:194px;top:117px;width:250px;margin:0;min-height:0;pointer-events:none;z-index:6;text-align:right}.in-game .turn-banner>span{font-size:6px}.in-game .turn-banner h2{font-size:13px;margin:3px 0}.in-game .turn-banner small{display:none}.in-game>.action-panel{position:absolute;right:7px;top:47px;bottom:47px;width:168px;margin:0;padding:0 9px 10px;max-height:none;overflow:auto}.in-game .panel-tabs{margin-bottom:0;gap:3px}.in-game .panel-tabs button{font-size:8px;padding:9px 2px}.in-game .medieval-dice{height:57px}.in-game .medieval-dice canvas{width:145px;height:66px}.in-game .medieval-dice small{font-size:7px;bottom:-1px}.in-game .roll-button{width:100%;margin:5px 0 0;padding:7px 3px;min-height:30px;height:auto;font-size:7px}.in-game .build-actions{display:flex;flex-direction:column;gap:4px;margin-top:8px}.in-game .build-actions button{min-height:37px;padding:6px;gap:6px;font-size:9px}.in-game .build-icon{font-size:18px!important}.in-game .cost{font-size:7px;gap:6px;margin-top:3px}.in-game .end-turn{font-size:8px;padding:8px;margin-top:7px}.in-game .resource-bar{position:absolute;bottom:0;left:0;right:0;min-height:38px;height:38px;display:flex;align-items:center;flex-wrap:nowrap;padding:5px 10px;gap:9px;border-radius:0}.in-game .resource-bar .hand-title,.in-game .save-badge{display:none}.in-game .resource-bar .resource{min-width:0;padding:0 8px;gap:6px}.in-game .resource small{font-size:7px}.in-game .resource strong{font-size:18px}.in-game .resource-icon{font-size:17px}.in-game .resource-bar>.outline{padding:5px 9px;font-size:8px;white-space:nowrap}.in-game>.cost-parchment{position:absolute;left:10px;top:auto;bottom:82px;width:132px;max-height:175px;overflow:auto;z-index:5;margin:0;padding:9px;transform:rotate(-1deg);opacity:.96}.in-game .cost-parchment summary{font-size:9px}.in-game .cost-parchment[open]>div{display:block}.in-game .cost-parchment p{font-size:8px;line-height:1.35;margin:5px 0;padding-bottom:4px}.in-game .cost-parchment b{font-size:9px}.in-game .cost-parchment small{font-size:7px}.in-game .hidden-chronicle{font-size:8px}.in-game .notification{top:auto;bottom:47px;max-width:390px;font-size:10px}.in-game .selection-help,.in-game .position-select{font-size:8px}}@media(orientation:landscape)and (min-width:600px){.in-game>.cost-parchment{width:140px;max-height:205px;bottom:78px}.in-game .cost-parchment p{margin:4px 0}.in-game .cost-parchment small{font-size:6px;line-height:1.35}}.in-game>.cost-parchment:not([open]){width:94px;max-width:94px;height:auto;max-height:32px;min-height:28px;padding:6px 8px;margin:0;background:#0d1e2852;border:1px solid rgba(211,181,119,.3);border-radius:6px;box-shadow:none;transform:none;opacity:1;overflow:hidden;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.in-game>.cost-parchment:not([open]) summary{font-size:9px;color:#e8d3a8;line-height:16px;white-space:nowrap;list-style:none;text-shadow:0 1px 3px #000}.in-game>.cost-parchment:not([open]) summary::-webkit-details-marker{display:none}.in-game>.cost-parchment:not([open]) summary::marker{content:""}.ally-row .ally-online{color:#b6dda1}.ally-notice-label{color:#e7c58b;font-size:.8em}@font-face{font-family:Cinzel Variable;font-style:normal;font-display:swap;font-weight:400 900;src:url(/assets/cinzel-latin-wght-normal-DMUuCU8H.woff2) format("woff2-variations")}@font-face{font-family:DM Sans Variable;font-style:normal;font-display:swap;font-weight:100 1000;src:url(/assets/dm-sans-latin-wght-normal-Xz1IZZA0.woff2) format("woff2-variations")}:root{font-family:DM Sans Variable,system-ui,sans-serif;color:#dce7ef;background:#101014;font-synthesis:none;--gold:#c6a15b;--dim:#8c969c;--line:#c6a15b30;--panel:#141b22ed}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;color:inherit;background:none;border:1px solid transparent;transition:background .2s,border-color .2s,transform .2s}button:hover:not(:disabled){background:#c6a15b12}button:disabled{opacity:.35;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #e6c477;outline-offset:4px}a{color:var(--gold)}input,select{background:#0d1319;border:1px solid #c6a15b3b;color:#e0e6e8;border-radius:3px;padding:10px;min-width:0}select{max-width:100%}input[type=number]{width:65px}input[type=checkbox]{accent-color:var(--gold);width:21px;height:21px}h1,h2,h3,h4{font-family:Cinzel Variable,Georgia,serif;font-weight:500}h2{font-size:23px}h3{font-size:18px}p{line-height:1.7}.muted{font-size:12px;color:var(--dim)}small{font-size:11px}.at-home,.in-game{min-height:100dvh;isolation:isolate;position:relative;overflow:hidden;background:radial-gradient(ellipse at 72% 39%,#253844,transparent 65%),#101318}.topbar{height:91px;border-bottom:1px solid #ffffff0a;display:flex;align-items:center;justify-content:space-between;padding:0 3.4%;position:relative;z-index:15;background:linear-gradient(#101419dd,#10141922)}.brand{display:flex;gap:13px;align-items:center;text-align:left;font-family:Cinzel Variable,Georgia,serif;font-size:20px;letter-spacing:2px;padding:0}.brand i{font-size:12px;font-weight:400;font-style:normal}.brand small{display:block;font-family:DM Sans Variable,sans-serif;font-size:8px;letter-spacing:3.5px;color:#a1a3a2;margin-top:5px}.brand-mark{font-size:40px;color:var(--gold);line-height:1}.topbar nav{display:flex;gap:30px}.topbar nav button{color:#b5bcbf;font-size:12px;padding:10px 0}.topbar nav span{margin-left:10px;color:var(--gold)}.board{position:absolute;inset:80px 305px 105px 240px;z-index:1}.canvas-host{width:100%;height:100%;position:absolute;inset:0}.canvas-host canvas{display:block;width:100%;height:100%;touch-action:none;outline:none}.menu-board{inset:35px -16% -25px 25%;filter:saturate(.75);opacity:.95;pointer-events:none}.hero-vignette{position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(90deg,#101318,#101318ed 24%,#10131811 62%,#10131811),linear-gradient(0deg,#101318 1%,transparent 25%,transparent 78%,#10131888)}.hero{position:relative;z-index:3;max-width:650px;margin:6vh 0 130px 8.2%;pointer-events:none}.hero button{pointer-events:auto}.eyebrow{font-size:10px;letter-spacing:3px;color:var(--gold);display:flex;align-items:center;gap:12px}.eyebrow>span{width:24px;height:1px;background:var(--gold)}.hero h1{font-size:clamp(64px,6.2vw,105px);letter-spacing:5px;line-height:1.02;margin:35px 0 20px;color:#eee7d7;text-shadow:0 4px 35px #0006;font-weight:500}.hero h1 .of{font-size:.38em;vertical-align:middle;color:var(--gold);letter-spacing:4px;margin-right:9px}.title-rule{display:flex;align-items:center;gap:15px;width:310px;color:var(--gold);font-size:12px}.title-rule span{width:130px;height:1px;background:linear-gradient(90deg,#c6a15b77,transparent)}.title-rule span:first-child{transform:rotate(180deg)}.tagline{font-family:Georgia,serif;font-size:23px;line-height:1.4;color:#c9cbd0;margin:25px 0 15px}.tagline em{font-style:normal;color:#c6a15b}.intro{font-size:13px;line-height:1.8;color:#87939a}.hero-actions{display:flex;align-items:flex-start;flex-direction:column;gap:12px;margin-top:30px}.primary{background:linear-gradient(115deg,#c6a15b,#b8914a);border:1px solid #d1b478;color:#191918;padding:16px 23px;letter-spacing:1.5px;font-size:10px;font-weight:700;border-radius:3px;box-shadow:0 3px 15px #0003;min-height:46px}.primary:hover:not(:disabled){background:linear-gradient(115deg,#d9b86d,#c6a15b);transform:translateY(-1px)}.hero .primary{width:334px;display:flex;justify-content:space-between;align-items:center;padding:20px 23px}.hero .primary span{font-size:19px;line-height:1}.secondary-actions{display:flex;gap:7px;flex-wrap:wrap}.secondary-actions button{border:1px solid #ffffff18;padding:12px 10px;border-radius:3px;font-size:10px;color:#aab1b4}.resume{font-size:11px;color:var(--gold);padding:5px 0}.hero-meta{display:flex;gap:20px;font-size:8px;letter-spacing:1.2px;color:#808c95;margin-top:36px}.hero-bottom{position:absolute;bottom:25px;left:3.4%;right:3.4%;border-top:1px solid #ffffff10;display:flex;align-items:center;justify-content:space-between;padding-top:20px;z-index:4;font-size:8px;letter-spacing:1.3px;color:#7e858b;gap:20px}.hero-bottom b{font-weight:400;color:#b1aaa0}.hero-bottom div{display:flex;gap:20px}.hero-bottom small{font-size:7px;letter-spacing:1px}.modal{position:fixed;background:linear-gradient(150deg,#1b242b,#11171d);color:#dce7ef;border:1px solid #c6a15b60;border-radius:6px;max-width:700px;width:calc(100vw - 36px);max-height:90dvh;padding:30px;box-shadow:0 25px 100px #000c;z-index:100}.modal::backdrop{background:#070b10c9;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.modal-head h2{margin:0;color:#e5d7b9}.icon-button{font-size:25px;color:#a2acb4;width:34px;height:34px;line-height:1}.mode-tabs,.panel-tabs{display:flex;gap:3px;border-bottom:1px solid var(--line);margin-bottom:20px}.mode-tabs button,.panel-tabs button{flex:1;padding:12px 6px;font-size:11px;color:#95a0a6;white-space:nowrap}.mode-tabs .selected,.panel-tabs .selected{color:var(--gold);border-bottom:2px solid var(--gold)}.form-row{display:flex;gap:20px;margin-top:20px}.form-row label,.form-label{display:flex;flex-direction:column;gap:9px;font-size:12px;color:#a9b1b6;flex:1}.form-label{margin:16px 0}.house-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.house-grid button{border:1px solid #ffffff13;background:#0f171d66;display:flex;align-items:center;flex-direction:column;padding:12px 5px;border-radius:4px;min-height:127px}.house-grid .chosen{border-color:var(--house);background:color-mix(in srgb,var(--house) 10%,transparent)}.house-grid strong{font-family:Cinzel Variable,Georgia,serif;font-weight:500;margin:6px 0;font-size:12px}.house-grid small{font-size:9px;color:#8b989e}.seat-choices{display:flex;gap:12px;margin-top:20px}.seat-choices label{display:flex;flex:1;flex-direction:column;gap:8px;font-size:11px;color:#939da6}.full{width:100%}.outline{border:1px solid var(--gold);color:var(--gold);padding:12px 18px;border-radius:3px;font-size:11px}.settings{display:flex;flex-direction:column;gap:24px}.settings label{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:13px}.rules{font-size:13px;color:#acb7bd}.rules h3{color:var(--gold);margin-bottom:8px}.rules li{margin-bottom:7px}.lobby{position:relative;z-index:5;max-width:1000px;margin:7vh auto;text-align:center;padding:25px}.lobby>.eyebrow{justify-content:center}.lobby h1{font-size:38px}.room-code{color:var(--gold);letter-spacing:5px;margin:0 10px}.lobby-seats{display:flex;gap:20px;justify-content:center;margin:45px 0}.lobby-seats>div{border:1px solid #c6a15b35;background:#141c2490;min-width:170px;padding:30px 15px;border-radius:4px}.lobby-seats h3{margin:15px 0 0}.lobby-seats p{font-size:12px;color:#97a4ac}.empty-seat{border-style:dashed!important;opacity:.5}.empty-seat>span{font-size:65px;color:#67717b}.players-panel{position:absolute;left:25px;top:121px;width:214px;z-index:4}.players-panel>.eyebrow{margin:0 0 17px 9px;font-size:9px}.player{display:flex;gap:10px;align-items:center;border:1px solid #c6a15b10;border-radius:4px;background:linear-gradient(120deg,#182129d9,#131a21c4);padding:14px 10px;margin-bottom:9px;position:relative}.player.active{border-color:#c6a15b60;box-shadow:inset 3px 0 0 var(--house)}.player>svg{flex-shrink:0;width:35px}.player strong{display:block;font-family:Cinzel Variable,Georgia,serif;font-size:12px;font-weight:500}.player strong small{font-family:DM Sans Variable,sans-serif;color:var(--gold);font-size:7px;margin-left:4px}.player>div>span{display:block;color:#84919a;font-size:9px;margin-top:4px}.player-stats{display:flex;gap:10px;font-size:9px;color:#9ca7ad;margin-top:7px}.points{font-family:Cinzel Variable,Georgia,serif;font-weight:500;font-size:25px;color:var(--house);margin-left:auto;text-align:center}.points small{display:block;font:6px DM Sans Variable,sans-serif;color:#848d93;letter-spacing:1px;margin-top:-2px}.achievements{margin:22px 8px;color:#7f8d96;font-size:10px;display:flex;flex-direction:column;gap:15px}.achievements b{display:block;font-weight:400;font-size:10px;color:#c2b28e;margin:5px 0 0 15px}.turn-counter{border-top:1px solid #ffffff10;padding:18px 8px;font-size:8px;letter-spacing:1.5px;color:var(--gold);display:flex;justify-content:space-between;gap:7px}.turn-counter span{color:#8a9a9d;font-size:8px;letter-spacing:0}.turn-banner{position:absolute;top:120px;left:270px;right:330px;text-align:center;z-index:3;pointer-events:none}.turn-banner>span{font-size:8px;letter-spacing:2.3px;color:var(--gold)}.turn-banner h2{font-size:21px;letter-spacing:.7px;margin:9px 0 6px;text-shadow:0 3px 15px #000}.turn-banner small{font-size:10px;color:#93a3ac}.live-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--gold);margin-right:8px}.action-panel{position:absolute;right:25px;top:120px;bottom:122px;width:270px;z-index:5;background:linear-gradient(135deg,#1b242be8,#10171ef5);border:1px solid #c6a15b29;border-radius:5px;box-shadow:0 10px 40px #0004;overflow:auto;scrollbar-width:thin;scrollbar-color:#3f4445 transparent;padding:0 15px 16px}.panel-tabs{position:sticky;top:0;margin:0 -4px 10px;background:#172028;z-index:3}.panel-tabs button{font-size:9px;padding:17px 4px}.dice{display:flex;justify-content:center;gap:13px;margin:13px 0;color:#e0d9c7;perspective:400px}.dice span{font-size:53px;line-height:1;display:inline-block;filter:drop-shadow(0 4px 4px #0008)}.dice.rolling span{animation:tumble .25s infinite alternate}.dice.rolling span:last-child{animation-delay:.1s}.roll-button{width:100%;padding:13px 6px;font-size:9px;letter-spacing:1px}.roll-button b{margin-left:5px}.build-actions{display:flex;flex-direction:column;gap:7px;margin-top:17px}.build-actions button{display:flex;align-items:center;text-align:left;gap:12px;background:#ffffff03;border:1px solid #ffffff0c;padding:12px 10px;border-radius:3px;font-size:11px}.build-actions button>span:last-child{margin-left:auto;color:#b9a375;font-size:18px}.build-actions .build-icon{font-size:24px;color:#a9a38e;width:25px;text-align:center}.build-actions .chosen{border-color:var(--gold);background:#c6a15b14}.cost{display:flex;gap:9px;color:#84929b;font-size:9px;margin-top:6px}.end-turn{width:100%;border:1px solid #c6a15b43;color:var(--gold);font-size:9px;letter-spacing:1px;padding:14px 8px;margin-top:15px;border-radius:3px}.position-select{font-size:9px;color:#9da8ac;margin-top:13px}.position-select>div{display:flex;gap:7px;margin-top:8px}.position-select select{font-size:10px;padding:8px;width:100%}.position-select button{border:1px solid #c6a15b40;color:var(--gold);border-radius:3px}.map-caption{position:absolute;bottom:40px;left:42%;text-align:center;pointer-events:none;transform:rotate(-9deg);opacity:.5}.map-caption span{font-family:Georgia,serif;letter-spacing:5px;font-size:20px}.map-caption small{display:block;margin-top:7px;font-style:italic;color:#a1b2bf;font-size:10px}.map-tip{position:absolute;bottom:5px;left:0;right:0;text-align:center;font-size:8px;letter-spacing:.4px;color:#78909c;pointer-events:none}.camera{position:absolute;bottom:20px;left:16px;display:flex;gap:4px;z-index:4}.camera button{background:#17212bcc;border:1px solid #c6a15b33;width:32px;height:32px;font-size:18px;color:#b2aaa0;border-radius:3px}.resource-bar{position:absolute;z-index:6;left:25px;right:25px;bottom:22px;display:flex;align-items:center;justify-content:center;gap:11px;padding:14px 22px;border:1px solid #c6a15b29;border-radius:5px;background:linear-gradient(120deg,#1a242ceb,#10171ef2);box-shadow:0 10px 50px #0008}.hand-title{display:flex;align-items:center;gap:10px;margin-right:20px;font-size:8px;letter-spacing:1.4px;color:#89969f}.hand-title small{display:block;letter-spacing:0;font-size:10px;color:#c6b898;margin-top:5px}.resource{display:flex;align-items:center;gap:13px;border-left:1px solid #ffffff10;padding:0 17px;min-width:112px}.resource-icon{font-size:30px;line-height:1;color:#8d9c82;filter:drop-shadow(0 3px 3px #000)}.resource-brick .resource-icon{color:#a57861}.resource-grain .resource-icon{color:#c6b06d}.resource-ore .resource-icon{color:#8f9eac}.resource small{display:block;font-size:9px;color:#92a0a9}.resource strong{font-family:Cinzel Variable,Georgia,serif;font-size:25px;line-height:1.3;font-weight:500}.save-badge{font-size:8px;color:#768f83;margin-left:auto;white-space:nowrap}.bank-trade{display:flex;flex-direction:column;gap:12px}.bank-trade label{font-size:10px;color:#9eaab2;display:flex;flex-direction:column;gap:6px}.bank-trade label input{width:100%}.trade-panel h3,.cards-panel h3,.chronicle h3{font-size:14px;color:#d3c6a5}.trade-panel h4{font:11px DM Sans Variable,sans-serif;color:var(--gold);margin:18px 0 8px}.trade-panel>select{width:100%;font-size:11px}.trade-panel .primary{padding:12px 9px;font-size:9px}.trade-panel .outline{width:100%;margin-top:15px}.hand-inputs{display:flex;flex-direction:column;gap:7px}.hand-inputs label{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#aab6be}.trade-panel .hand-inputs label{font-size:10px}.trade-panel .hand-inputs input{padding:5px;width:55px;font-size:11px}.development-card{display:flex;align-items:center;gap:15px;background:linear-gradient(130deg,#c6a15b0e,#0002);border:1px solid #c6a15b30;padding:18px 12px;border-radius:4px;width:100%;text-align:left;margin-top:12px}.development-card>span{font-size:29px;color:var(--gold)}.development-card strong{font-family:Cinzel Variable,Georgia,serif;font-size:12px;font-weight:500}.development-card small{display:block;color:#85959e;font-size:9px;margin-top:7px}.empty-state{text-align:center;color:#75848e;padding:35px 0}.empty-state>span,.empty-state{font-size:32px}.empty-state p{font-size:12px}.chronicle>div{display:flex;gap:10px;border-bottom:1px solid #ffffff08;padding:12px 0;font-size:10px;line-height:1.6;color:#99a8b1}.chronicle small{font-size:8px;color:#6e858f}.chronicle b{font-weight:500;color:#c5b78f}.selection-help{font-size:10px;color:#d0b980;margin-top:10px;line-height:1.6}.selection-help button{display:block;border:1px solid #c6a15b40;padding:8px;margin-top:7px;font-size:10px}.offer-toast{position:fixed;z-index:30;left:50%;bottom:120px;transform:translate(-50%);background:#1b262ff5;border:1px solid var(--gold);border-radius:5px;padding:20px 25px;box-shadow:0 10px 60px #0008;min-width:310px;font-size:12px}.offer-toast b{color:var(--gold);font-family:Cinzel Variable,Georgia,serif;font-weight:500}.offer-toast p{color:#b2c0c9;font-size:11px}.offer-toast button{border:1px solid #c6a15b60;padding:9px 16px;font-size:10px;margin-right:10px}.privacy-screen,.victory{position:fixed;z-index:90;inset:0;background:radial-gradient(ellipse at 50% 40%,#263039,#0c1118 70%);display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px}.privacy-screen h1{font-size:40px;color:#e1d4b5}.privacy-screen p{font-size:14px;color:#92a3ad;margin-bottom:35px}.privacy-screen .eyebrow{margin-top:30px}.victory{background:radial-gradient(ellipse,#3b3021,#0a1018 65%);z-index:95}.victory .crown{font-size:90px;color:var(--gold);line-height:1;margin-bottom:25px;text-shadow:0 0 70px #c6a15b70}.victory h1{font-size:clamp(24px,4vw,53px);letter-spacing:3px;color:#e2d7bf;line-height:1.4;margin-top:20px}.victory h1 em{font-style:normal;color:var(--gold);letter-spacing:12px}.victory>.eyebrow{margin-bottom:25px}.victory p{font-size:12px;color:#9aabaf;margin-bottom:30px}.victory.animated{animation:reveal 1s ease-out}.notification{position:fixed;z-index:150;top:105px;left:50%;transform:translate(-50%);background:#1c3031;border:1px solid #65877a;box-shadow:0 8px 35px #0008;color:#dce7ef;padding:13px 15px 13px 22px;border-radius:5px;font-size:12px;display:flex;align-items:center;gap:20px;max-width:90vw}.notification.error{background:#3c2024;border-color:#9b5255}.notification button{font-size:20px}.victim-list{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}.victim-list button{border:1px solid #c6a15b60;padding:16px}.webgl-failure{position:absolute;bottom:10px;text-align:center;font-size:13px;padding:20px;background:#17212a;color:#e0c68c}.fatal{padding:10vw;line-height:1.6}.fatal button{border:1px solid var(--gold);padding:12px;margin:20px}.modal>.primary{margin-top:20px}.in-game{height:100dvh;min-height:700px}@keyframes tumble{0%{transform:rotateX(10deg) rotate(-15deg) translateY(2px)}to{transform:rotateX(50deg) rotate(25deg) translateY(-7px)}}@keyframes reveal{0%{opacity:0;transform:scale(1.04)}to{opacity:1;transform:scale(1)}}.dice-table{display:flex;justify-content:center;gap:25px;padding:24px 0 22px;margin:12px 0 15px;background:radial-gradient(ellipse,#4b505044,transparent 70%);border-bottom:1px solid #ffffff08;perspective:400px}.die-space{width:39px;height:39px;perspective:400px}.die-cube{width:39px;height:39px;position:relative;transform-style:preserve-3d;transition:transform .5s ease-out}.die-face{position:absolute;width:39px;height:39px;display:flex;align-items:center;justify-content:center;border:1px solid #6d6558;border-radius:4px;background:linear-gradient(135deg,#e7dfc9,#b2a58c);color:#252a2d;box-shadow:inset 0 0 4px #8a7961;font-size:39px;line-height:1;backface-visibility:hidden}.face-1{transform:translateZ(19.5px)}.face-2{transform:rotateX(90deg) translateZ(19.5px)}.face-3{transform:rotateY(90deg) translateZ(19.5px)}.face-4{transform:rotateY(-90deg) translateZ(19.5px)}.face-5{transform:rotateX(-90deg) translateZ(19.5px)}.face-6{transform:rotateY(180deg) translateZ(19.5px)}.tossing .die-cube{animation:cast-die .3s linear infinite}.tossing .die-space:last-child .die-cube{animation-direction:reverse;animation-delay:.07s}.skip-dice{display:block;font-size:9px;color:var(--gold);margin:-9px auto 8px;position:relative}.hero-art{position:absolute;inset:0;background:url(/art/westeros-castle.webp) 62% center/cover no-repeat;opacity:.9;z-index:1}.hero-art.alive{animation:castle-drift 65s ease-in-out infinite alternate}.mist{position:absolute;inset:0;z-index:2;pointer-events:none;background:radial-gradient(ellipse at 75% 75%,#a7c2d518,transparent 45%);opacity:.6}.mist.drifting{animation:mist-drift 20s ease-in-out infinite alternate}.at-home:has(.hero-art) .hero-vignette{background:linear-gradient(90deg,#101318f5,#101318cf 30%,#10131820 70%),linear-gradient(0deg,#101318 1%,transparent 35%,transparent 85%,#10131866)}.in-game:has(.privacy-screen) .resource-bar,.in-game:has(.privacy-screen) .action-panel{visibility:hidden}@keyframes castle-drift{0%{transform:scale(1.01) translate(0)}to{transform:scale(1.07) translate(-1%)}}@keyframes mist-drift{0%{transform:translate(-6%);opacity:.3}to{transform:translate(6%);opacity:.9}}@keyframes cast-die{0%{transform:rotateX(0) rotateY(0) translateY(0)}to{transform:rotateX(360deg) rotateY(180deg) translateY(-8px)}}@media(min-width:1600px){.hero{margin-top:10vh}.hero h1{font-size:112px}.in-game .board{inset:70px 330px 120px 270px}.players-panel{width:235px}.action-panel{width:290px}.hero .intro{font-size:15px}.hero .primary{width:365px}}@media(max-width:1100px){.board{inset:110px 260px 115px 185px}.players-panel{left:14px;width:165px}.player{padding:11px 8px;gap:5px}.player>svg{width:29px}.player strong{font-size:10px}.player>div>span{font-size:8px}.player-stats{gap:7px;font-size:8px}.points{font-size:21px}.action-panel{right:14px;width:240px;padding:0 12px 13px}.turn-banner{left:190px;right:265px}.turn-banner h2{font-size:17px}.turn-banner small{font-size:9px}.resource-bar{left:14px;right:14px;padding:13px;gap:3px}.resource{min-width:90px;padding:0 11px;gap:10px}.resource-icon{font-size:23px}.hand-title{margin-right:8px}.save-badge{display:none}.hero{margin-left:6%;max-width:520px}.hero-bottom small{max-width:140px;text-align:right;line-height:1.7}}@media(max-width:760px){.topbar{height:73px;padding:0 18px}.brand{font-size:14px;letter-spacing:1px;gap:9px}.brand small{font-size:6px;letter-spacing:1.7px}.brand-mark{font-size:31px}.topbar nav{gap:12px}.topbar nav button{font-size:9px}.topbar nav span{display:none}.hero{margin:35px 0 140px 7%;max-width:86%}.hero>.eyebrow{font-size:8px;letter-spacing:2.2px}.hero h1{font-size:70px;margin-top:25px}.hero .tagline{font-size:21px}.intro{font-size:12px}.menu-board{inset:0 -65% 15% 5%;opacity:.65}.hero-vignette{background:linear-gradient(90deg,#101318f5,#10131888 60%,#10131822),linear-gradient(0deg,#101318,transparent 45%)}.hero-bottom{left:7%;right:7%;bottom:18px;flex-wrap:wrap;gap:15px}.hero-bottom>span{font-size:7px}.hero-bottom div{gap:12px}.hero-bottom small{max-width:none;font-size:6px}.hero .primary{width:100%;max-width:350px}.hero-meta{font-size:7px;gap:12px}.modal{padding:22px;max-height:93dvh}.house-grid{gap:6px}.house-grid button{padding:9px 2px;min-height:112px}.house-grid small{font-size:7px}.house-grid strong{font-size:10px}.house-grid svg{width:45px;height:45px}.seat-choices{gap:6px}.seat-choices label{font-size:9px}.seat-choices select{font-size:11px;padding:9px 4px}.settings label{font-size:11px}.settings select{max-width:180px;font-size:11px}.lobby h1{font-size:27px}.lobby-seats{display:grid;grid-template-columns:1fr 1fr;gap:12px}.lobby-seats>div{min-width:0;padding:20px 10px}.in-game{height:auto;min-height:100dvh;padding-bottom:88px}.in-game .topbar{position:relative}.players-panel{position:relative;display:flex;flex-wrap:wrap;gap:5px;left:auto;top:auto;width:100%;padding:12px 12px 0}.players-panel>.eyebrow,.achievements,.turn-counter{display:none}.player{flex:1;margin:0;min-width:78px;padding:7px 5px;gap:3px}.player>svg{width:23px;height:30px}.player strong{font-size:8px}.player strong small{display:none}.player>div>span{display:none}.player-stats{font-size:7px;gap:4px;margin-top:4px}.points{font-size:18px}.points small{font-size:4px}.board{position:relative;inset:auto;height:48dvh;min-height:300px;width:100%;margin-top:50px}.turn-banner{top:157px;left:10px;right:10px}.turn-banner h2{font-size:17px;margin:6px 0}.turn-banner>span{font-size:7px}.turn-banner small{font-size:8px}.map-caption{bottom:25px;left:40%}.map-caption span{font-size:14px}.map-caption small,.map-tip{display:none}.camera{bottom:10px;left:12px}.action-panel{position:relative;right:auto;top:auto;bottom:auto;width:auto;margin:0 12px 15px;max-height:520px;padding:0 14px 14px;overflow:auto}.panel-tabs{margin-bottom:8px}.panel-tabs button{font-size:10px;padding:14px}.dice{position:absolute;top:54px;left:17px;gap:7px;margin:5px 0}.dice span{font-size:36px}.roll-button{width:calc(100% - 105px);margin-left:105px;font-size:8px;height:43px;min-height:43px}.build-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:12px}.build-actions button{padding:9px 8px;gap:8px;font-size:10px}.build-actions .build-icon{font-size:19px}.cost{font-size:8px;gap:7px;margin-top:4px}.end-turn{margin-top:9px;padding:12px}.position-select{margin-top:8px}.position-select>div{margin-top:5px}.resource-bar{position:fixed;left:0;right:0;bottom:0;gap:0;border-radius:0;padding:10px 7px;justify-content:space-around;box-shadow:0 -5px 30px #0006;z-index:20}.hand-title{display:none}.resource{min-width:0;border:0;gap:7px;padding:0 5px}.resource small{font-size:7px}.resource strong,.resource-icon{font-size:20px}.offer-toast{bottom:85px;max-width:calc(100vw - 30px);padding:15px;min-width:290px}.notification{top:80px;font-size:11px}.trade-panel .hand-inputs{display:grid;grid-template-columns:1fr 1fr;gap:10px}.trade-panel h3{margin-top:15px}.bank-trade{display:grid;grid-template-columns:1fr 1fr}.bank-trade .primary{align-self:end}.privacy-screen h1{font-size:29px}.privacy-screen p{font-size:12px}}@media(max-width:760px){.hero h1{font-size:60px;letter-spacing:3px}.dice-table{position:absolute;top:55px;left:17px;gap:12px;padding:0;margin:0;border:0;background:none}.die-space,.die-cube{width:31px;height:31px}.die-face{width:31px;height:31px;font-size:31px}.face-1{transform:translateZ(15.5px)}.face-2{transform:rotateX(90deg) translateZ(15.5px)}.face-3{transform:rotateY(90deg) translateZ(15.5px)}.face-4{transform:rotateY(-90deg) translateZ(15.5px)}.face-5{transform:rotateX(-90deg) translateZ(15.5px)}.face-6{transform:rotateY(180deg) translateZ(15.5px)}.skip-dice{margin:0 0 5px 110px;font-size:8px}.board .camera button{min-height:36px;min-width:36px}.hero-art{background-position:68% center}.topbar nav button{min-height:42px}.house-grid button{min-height:115px}}@media(max-width:760px){main.in-game{display:flex;flex-direction:column}.in-game>.topbar{order:0;flex-shrink:0}.in-game>.players-panel{order:1}.in-game>.board{order:2}.in-game>.action-panel{order:3}.in-game>.turn-banner{order:4}.turn-banner small{display:block;padding:0 10px;line-height:1.6}.lobby-seats small{font-size:10px}.in-game:has(.privacy-screen) .players-panel{visibility:hidden}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}.board.cinematic-board{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;margin:0!important;z-index:50;background:#090c10}.cinematic-title{position:absolute;top:15px;left:50%;transform:translate(-50%);font:clamp(26px,3.1vw,52px) "Cinzel Variable",Georgia,serif;color:#e9c48b;text-shadow:0 2px 12px #000;white-space:nowrap;pointer-events:none}.cinematic-title span{display:block;text-align:center;font:16px Georgia;color:#b78c49;letter-spacing:2px;margin-top:-4px}.exit-cinematic{position:absolute;right:20px;top:20px;padding:10px 14px;font-size:11px;background:#0a0e13aa;border:1px solid #c6a15b55;border-radius:3px}.cinematic-board .map-caption,.cinematic-board .map-tip{display:none}.cinematic-board .camera{bottom:20px;left:20px}@media(min-width:761px){.in-game .topbar,.in-game .players-panel,.in-game .action-panel,.in-game .resource-bar,.in-game .turn-banner{pointer-events:auto}.in-game .players-panel,.in-game .action-panel{-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}}@media(max-width:760px){.cinematic-board .exit-cinematic{top:auto;bottom:20px;right:16px}.cinematic-board .cinematic-title{top:18px;font-size:26px}}.world-loading{position:absolute;right:16px;bottom:18px;padding:7px 11px;border:1px solid #b7965b35;border-radius:3px;background:#0a1019b8;color:#d3bd93;font-size:10px;letter-spacing:.4px;pointer-events:none}.piece-color{display:inline-block;width:9px;height:9px;margin-right:6px;border-radius:2px;border:1px solid #ffffff66;vertical-align:middle}@media(max-width:760px){.topbar{gap:10px}.topbar nav{gap:2px 10px;justify-content:flex-end;flex-wrap:wrap;max-width:60%}.topbar nav button{font-size:9px;padding:6px 0;min-height:32px;white-space:nowrap}}.medieval-dice{height:116px;display:flex;justify-content:center;align-items:center;position:relative}.medieval-dice canvas{width:220px;height:100px;max-width:100%}.medieval-dice>span{position:absolute;font-size:30px}.medieval-dice small{position:absolute;bottom:0;color:#d8bd84;font-size:11px;letter-spacing:2px}@media(max-width:760px){.medieval-dice{height:100px}.resource-bar{flex-wrap:wrap}.resource-bar>.outline{font-size:9px}}.hidden-chronicle{margin-top:15px;font-size:10px;color:#8b979e}.hidden-chronicle summary{cursor:pointer}.cost-parchment{position:absolute;left:22px;bottom:118px;width:202px;z-index:6;color:#4b3520;background:radial-gradient(ellipse at 40% 20%,#f4e5bb,#c4a674);border:1px solid #8e6b38;border-radius:12px 4px 14px;box-shadow:0 7px 25px #0007,inset 0 0 22px #7a502a44;padding:14px 15px;transform:rotate(-1deg)}.cost-parchment summary{font:14px Cinzel Variable,Georgia,serif;cursor:pointer;color:#65451f}.cost-parchment p{margin:12px 0;font-size:10px;line-height:1.5;border-bottom:1px solid #76552c33;padding-bottom:8px}.cost-parchment b{display:block;font:12px Cinzel Variable,Georgia,serif}.cost-parchment small{display:block;font-size:9px;line-height:1.5}.cost-parchment p span{display:block;margin-top:3px}@media(max-width:1100px){.cost-parchment{left:12px;bottom:98px;width:180px;padding:10px;max-height:290px;overflow:auto}.cost-parchment summary{font-size:11px}}@media(max-width:760px){.cost-parchment{position:relative;order:3;align-self:flex-start;left:auto;bottom:auto;margin:0 12px 12px;width:calc(100% - 24px);transform:none}.cost-parchment[open]>div{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.cost-parchment small{grid-column:1/-1}}@media(min-width:1101px){.cost-parchment{left:252px;top:104px;bottom:auto;width:218px;padding:12px;transform:rotate(-1deg)}.cost-parchment>div{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.cost-parchment p{font-size:9px;margin:8px 0;padding-bottom:6px}.cost-parchment b{font-size:10px}.cost-parchment small{grid-column:1/-1;font-size:8px}}@media(max-width:760px){.roll-button{width:100%;margin-left:0}.skip-dice{margin-left:0}}:root{--gold:#edbe63;--dim:#b6a99a;--line:#d9a44940;--panel:#171211f2;--brand-black:#090808;--brand-red:#a31d17;--brand-gold:#edbe63;--brand-ivory:#f4e5c9;background:var(--brand-black);color:var(--brand-ivory)}body{background:#090808}.brand-logo{width:44px;height:44px;object-fit:contain;flex-shrink:0;border-radius:9px}.community-brand-logo{width:48px;height:48px;object-fit:contain;border-radius:10px}.install-brand-logo{width:42px;height:42px;object-fit:contain;border-radius:8px;flex-shrink:0}.community-app{--comm-gold:var(--brand-gold);background:radial-gradient(ellipse at 90% 0,#6f19142b,transparent 42%),radial-gradient(ellipse at 0 45%,#8c5b1514,transparent 50%),#090808;color:var(--brand-ivory)}.community-wordmark{color:var(--brand-gold)}.community-top{border-bottom:1px solid #d9a4492b;padding-bottom:14px;margin-bottom:16px}.beta-pill{color:#f1c777;background:#4e1715;border-color:#c17b3f70}.brand-intro{text-align:center;margin:0 auto 22px;max-width:350px}.brand-intro>img{display:block;width:100%;height:auto;filter:drop-shadow(0 12px 25px #0006)}.brand-intro>p{font-size:9px;letter-spacing:2.6px;color:#d8b574;margin:2px 0 0}.community-app h1 em,.community-app .eyebrow{color:var(--brand-gold)}.primary,.community-app .primary{background:linear-gradient(145deg,#f1cf83,#dba64c);border-color:#f4d28b;color:#271507}.primary:hover:not(:disabled){background:linear-gradient(145deg,#ffe3a3,#edba63);box-shadow:0 0 18px #d9992924}.outline{border-color:#cda75d77;color:#f0ce8b}.community-nav{background:#110d0df5;border-color:#c8a05550}.community-nav button{color:#b8a99a}.community-nav button.active,.community-nav button[aria-current=page]{color:#f6cc79;background:#7c201c38}.community-icon{background:#1c1413;border-color:#bc8b4944}.mode-hero{background:linear-gradient(90deg,#190b0bf5 5%,#291310a0),url(/art/westeros-castle.webp) center/cover;border-color:#d2a74f99}.mode-hero span{color:#f2cb7b}.mode-secondary{background:linear-gradient(135deg,#271714,#16100f);border-color:#bc8a414d}.mode-secondary:hover:not(:disabled){border-color:#dba64c}.mode-secondary>span{color:#edbe63}.install-strip,.push-banner,.inbox-preview{background:#1b1310;border-color:#b88c4444}.community-resume{background:#251711;color:#f0cb7f;border-color:#c19a5166}.community-app input,.community-app select{background:#130f0e;border-color:#aa804b66;color:#f4e5c9}.community-app .muted,.community-app p,.community-app small{color:#c1b5a5}.community-app .mode-hero small{color:#e3be7b}.community-app .mode-hero p{color:#e7d6be}.modal{background:#171211;color:#f4e5c9;border-color:#bc934c88}.topbar{background:#100c0ded;border-color:#c3914833}.action-panel{background:#161110ed;border-color:#bc934c55}.panel-tabs button.active,.panel-tabs button.chosen{color:#f2cd82;border-color:#edbe63}.players-panel{color:#f4e5c9}.resource-bar{background:#171110ed;border-color:#bc934c55}.trade-destinations button,.trade-houses button{background:#241613;color:#ead6af;border-color:#9d733f66}.trade-destinations button[aria-pressed=true],.trade-houses button[aria-pressed=true]{background:#76241b;border-color:#efc16b;color:#fff0d4}.trade-card-stock,.trade-card-stepper{background:#201511}.trade-quantity button{background:#322018;border-color:#b68a4b77}.offer-toast{background:#221513f5}.notification{background:#251c14;color:#f4e5c9;border-color:#b88c44}.notification.error{background:#441b18;border-color:#bb5546}@media(max-width:760px){.brand-intro{max-width:250px;margin-bottom:20px}.brand-intro>p{font-size:8px;letter-spacing:1.7px}.brand-logo{width:34px;height:34px}.community-brand-logo{width:42px;height:42px}.community-nav{background:#110d0df5}.in-game>.players-panel{background:#171110f5!important}}@media(orientation:landscape){.brand-intro{max-width:240px;margin-bottom:16px}.brand-intro>p{font-size:7px}.in-game .brand-logo{width:29px;height:29px}.in-game>.resource-bar{background:#171110f5}.in-game>.action-panel{background:#161110ed}}:root{--brand-black:#000;background:#000}html,body,#root,.at-home,.community-app{background:#000}.commander-welcome{display:block}.community-app h1,.community-app h2,.community-app h3,.community-wordmark>span,.brand>span,.brand-intro>p{color:#edbe63}@supports (background-clip:text){.community-app h1,.community-app h1 em,.community-app h2,.community-app h3,.community-wordmark>span,.brand>span,.brand-intro>p{background-image:url(/brand/gold-texture-v36.webp);background-size:144px 144px;background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent;filter:drop-shadow(0 1px 1px #000)}}.community-app .mode-hero{padding:24px;background:linear-gradient(90deg,#000,#130b09e6 45%,#180b0980),url(/art/westeros-castle.webp) center/cover;border:1px solid #b68a47;box-shadow:inset 0 1px #e9c27a24}.community-app .mode-hero>span{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:12px;padding:12px 20px;border:1px solid #ffe0a0;border-radius:6px;background:linear-gradient(145deg,#ffdf99,#dda947);color:#1c1005;-webkit-text-fill-color:#1c1005;font-size:12px;font-weight:850;letter-spacing:.7px;text-shadow:none;box-shadow:0 3px 12px #0008}.community-app .mode-hero:hover:not(:disabled)>span{background:#ffe3a6;color:#120900}.community-app .mode-hero:focus-visible{outline:2px solid #ffe0a0;outline-offset:4px}.community-nav{background:#050505f5}.community-app .mode-secondary{background:linear-gradient(130deg,#211410,#080706)}@media(orientation:landscape)and (min-width:600px){.community-app{padding:10px 20px 80px}.community-top{min-height:43px;margin-bottom:8px;padding-bottom:7px}.community-brand-logo{width:36px;height:36px}.community-wordmark{font-size:25px}.brand-intro{float:left;width:128px;max-width:128px;margin:0 22px 10px 0}.brand-intro>p{display:none}.commander-welcome{min-height:128px;margin:0 0 10px;display:flex;align-items:center}.commander-welcome h1{font-size:27px;margin:7px 0}.commander-welcome p{font-size:11px;margin:6px 0}.commander-welcome .eyebrow{font-size:8px}.play-modes{clear:both;grid-template-columns:1.35fr 1fr 1fr;gap:9px}.community-app .mode-hero{grid-column:auto;min-height:139px;padding:12px 14px}.community-app .mode-hero h2{font-size:20px;margin:7px 0}.community-app .mode-hero small{font-size:7px}.community-app .mode-hero p{font-size:10px;margin:5px 0}.community-app .mode-hero>span{min-height:34px;font-size:10px;padding:8px 12px;margin-top:7px}.mode-secondary{padding:12px 10px;gap:8px}.mode-secondary h2{font-size:16px}.mode-secondary p{font-size:10px}.mode-secondary>span{font-size:22px}.community-nav{padding:6px 10px max(7px,env(safe-area-inset-bottom))}.community-nav button{font-size:9px}.install-strip{margin-top:15px}}@media(orientation:landscape)and (min-width:600px){.brand-intro{width:110px;max-width:110px;margin-bottom:6px}.commander-welcome{min-height:110px;margin-bottom:6px}.community-app .mode-hero{min-height:132px}}@media(orientation:landscape)and (max-height:380px)and (min-width:600px){.community-top{margin-bottom:5px;padding-bottom:5px;min-height:36px}.community-brand-logo{width:30px;height:30px}.community-icon{width:32px;height:32px}.brand-intro{width:84px;max-width:84px;margin-right:18px}.commander-welcome{min-height:84px}.commander-welcome h1{font-size:24px;margin:4px 0}.commander-welcome p{margin:4px 0;font-size:10px}.community-app .mode-hero{padding:9px 12px;min-height:122px}.community-app .mode-hero h2{font-size:18px;margin:4px 0}.community-app .mode-hero p{font-size:9px;margin:3px 0}.community-app .mode-hero>span{margin-top:5px;min-height:32px;padding:7px 12px}.community-nav{padding:3px 6px}.community-nav button{padding:3px;font-size:8px}}.landscape-prompt{display:none}@media(orientation:portrait)and (max-width:700px){body{overflow:hidden}.landscape-prompt{position:fixed;inset:0;z-index:9999;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:#000;color:#f1d49c;text-align:center;padding:28px}.landscape-prompt>img{border-radius:22px}.landscape-prompt>span{font-size:52px;color:#edbe63}.landscape-prompt h1{font-size:26px;margin:0}.landscape-prompt p{font-size:14px;line-height:1.5;max-width:280px;margin:0}.landscape-prompt button{padding:14px 20px;min-height:46px;margin-top:6px}}@media(orientation:landscape)and (min-width:600px){body:has(.community-home){overflow:hidden}.community-home{height:100dvh;min-height:0;max-height:100dvh;width:100%;max-width:none;margin:0;padding:8px max(14px,env(safe-area-inset-right)) 6px max(14px,env(safe-area-inset-left));display:grid;grid-template-columns:112px minmax(0,1fr);grid-template-rows:38px minmax(58px,.72fr) minmax(98px,1fr) 36px 40px;grid-template-areas:"top top" "logo welcome" "modes modes" "tools tools" "nav nav";gap:6px 16px;overflow:hidden}.community-home .community-top{grid-area:top;min-height:0;margin:0;padding:0 0 5px}.community-home .community-brand-logo{width:30px;height:30px}.community-home .community-wordmark{font-size:23px}.community-home .community-icon{width:32px;height:32px}.community-home .brand-intro{grid-area:logo;float:none;display:flex;align-items:center;justify-content:center;width:100%;max-width:none;min-height:0;height:100%;margin:0}.community-home .brand-intro>img{width:auto;max-width:100%;height:100%;object-fit:contain}.community-home .brand-intro>p{display:none}.community-home .commander-welcome{grid-area:welcome;min-height:0;margin:0;display:flex;align-items:center}.community-home .commander-welcome h1{font-size:clamp(19px,5dvh,29px);line-height:1.14;margin:4px 0}.community-home .commander-welcome p{font-size:10px;margin:4px 0}.community-home .commander-welcome .eyebrow{font-size:7px}.community-home .play-modes{grid-area:modes;min-height:0;clear:none;display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:8px;margin:0}.community-home .mode-hero{min-height:0;height:100%;padding:9px 12px;border-radius:9px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;overflow:hidden}.community-home .mode-hero small{font-size:7px}.community-home .mode-hero h2{font-size:clamp(16px,4.5dvh,23px);margin:4px 0}.community-home .mode-hero p{font-size:9px;margin:3px 0}.community-home .mode-hero>span{font-size:10px;min-height:30px;padding:7px 12px;margin-top:5px;flex-shrink:0}.community-home .mode-secondary{min-height:0;height:100%;padding:10px;gap:8px;border-radius:9px}.community-home .mode-secondary h2{font-size:clamp(14px,4dvh,19px);line-height:1.2;margin:4px 0}.community-home .mode-secondary p{font-size:9px;margin:4px 0}.community-home .mode-secondary>span{font-size:20px}.community-home .home-minor{grid-area:tools;display:flex;gap:6px;margin:0;padding:0;min-height:0}.community-home .home-minor>button{flex:1;min-width:0;min-height:34px;margin:0;padding:5px 6px;font-size:9px;line-height:1.15;text-decoration:none;border:1px solid #b68a4755;border-radius:5px;background:#15100c;color:#efcd89}.community-home .home-minor>button:hover{border-color:#efcd89;background:#302016}.community-home .community-nav{grid-area:nav;position:static;transform:none;inset:auto;width:100%;height:40px;padding:0;margin:0;min-height:0;border-top:1px solid #a47a3744}.community-home .community-nav button{padding:3px;font-size:9px;min-height:38px}.community-home .community-nav button>span{font-size:17px;margin:0 0 2px}.community-home .community-message{max-height:90px;overflow:auto}.community-home .install-help{position:fixed;z-index:90;inset:10px 15%;width:auto;max-height:calc(100dvh - 20px);overflow:auto;box-shadow:0 0 0 100vmax #000a;background:#15100c;border:1px solid #edbe63;border-radius:9px;padding:16px}.community-home .install-help h3{margin:0 0 8px}.community-home .install-help p{font-size:12px}.community-home .install-help button{padding:8px 16px;border:1px solid #edbe63}}@media(orientation:landscape)and (max-height:340px)and (min-width:600px){.community-home{grid-template-columns:78px minmax(0,1fr);grid-template-rows:32px minmax(40px,.5fr) minmax(86px,1fr) 34px 36px;gap:4px 12px;padding-top:4px;padding-bottom:4px}.community-home .community-top{padding-bottom:2px}.community-home .commander-welcome .eyebrow,.community-home .commander-welcome p,.community-home .mode-hero>small{display:none}.community-home .commander-welcome h1{font-size:21px}.community-home .mode-hero{padding:6px 10px}.community-home .mode-hero h2{font-size:17px;margin:3px 0}.community-home .mode-hero p{font-size:8px;margin:2px 0}.community-home .mode-hero>span{min-height:28px;padding:6px 10px;margin-top:3px}.community-home .community-nav{height:36px}.community-home .community-nav button{min-height:34px;font-size:8px}.community-home .community-nav button>span{font-size:14px}.community-home .home-minor>button{min-height:32px;font-size:8px}}html{color-scheme:dark;overscroll-behavior:none}body{overscroll-behavior:none}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{-webkit-user-select:none;user-select:none}button:focus-visible,a:focus-visible{outline:2px solid #ffe1a1;outline-offset:3px;box-shadow:0 0 0 5px #b8782c33,0 0 24px #ebbc5744}button:active:not(:disabled){transform:translateY(1px);filter:brightness(1.12)}*{scrollbar-width:thin;scrollbar-color:#af8744 #100d0a}*::-webkit-scrollbar{width:5px;height:5px}*::-webkit-scrollbar-track{background:#100d0a;border-radius:5px}*::-webkit-scrollbar-thumb{background:linear-gradient(#edc678,#8e6129);border:1px solid #33200c;border-radius:5px}*::-webkit-scrollbar-button{display:none}.modal{border-radius:12px;border:1px solid #b68c48;box-shadow:0 25px 100px #000e,inset 0 1px #ffe0a33b;overscroll-behavior:contain;scrollbar-gutter:stable}.modal::backdrop{background:#000c;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}.modal-head{border-bottom:1px solid #aa82484d;padding-bottom:12px}.modal button,.workshop-builds button,.equipment-options button{border-radius:6px}.action-panel{box-shadow:inset 0 1px #efd09b24,0 8px 24px #0006}.panel-tabs{border-bottom:1px solid #ad824a44}.panel-tabs button{position:relative}.panel-tabs button.active:after{content:"";position:absolute;bottom:0;left:15%;right:15%;height:2px;background:#edc678;box-shadow:0 0 8px #e7b55b}.community-nav button.active{box-shadow:inset 0 2px #dab363,inset 0 -12px 30px #841e171c}.community-home .mode-hero,.community-home .mode-secondary{box-shadow:inset 0 1px #f4d8a42b,0 3px 9px #0008}.community-home .mode-secondary:hover{border-color:#ddb65f;box-shadow:inset 0 1px #ffdf9f55,0 0 18px #bd8c2422}.character-card{padding:4px;border:1px solid #947044;background:linear-gradient(135deg,#645033,#1b1713 15%,#35281b 80%,#89643a);border-radius:10px;box-shadow:0 10px 20px #0009,inset 0 0 0 1px #f9deb22c;transition:border-color .18s,box-shadow .18s,transform .18s}.character-card .character-portrait{border-radius:6px 6px 1px 1px;box-shadow:inset 0 -55px 40px -35px #000c,inset 0 0 0 1px #d1ad6f3b}.character-caption{background:linear-gradient(150deg,#211a12,#0a0908);border-top:1px solid #c29b554d;padding:11px 8px 9px}.character-caption h3{font-size:13px;letter-spacing:.3px}.character-caption small{color:#e5c080}.character-card:hover:not(:disabled),.character-card.selected{border-color:#ffe2a0;box-shadow:0 0 0 1px #cc9e4f80,0 12px 26px #000a,0 0 18px #c58a2826}.character-card.selected:after{border:1px solid #ffdda0;box-shadow:0 3px 9px #0008;background:linear-gradient(#ffe2a1,#bd8b3c);color:#160d05}.character-portrait{image-rendering:auto;background-repeat:no-repeat}.equipment-crown{box-shadow:inset 0 0 0 2px #ecc572,0 0 20px #ce9d3430}@media(orientation:landscape){body:has(.community-app){overflow:hidden}.community-app:not(.community-home){height:100dvh;min-height:0;display:flex;flex-direction:column;padding:8px 18px 7px;overflow:hidden}.community-app:not(.community-home)>.community-top{flex:0 0 39px;margin:0 0 8px;padding-bottom:5px}.community-app:not(.community-home)>.community-section,.community-app:not(.community-home)>.identity-intro{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:8px 12px 18px;margin:0;max-width:none;-webkit-mask-image:linear-gradient(transparent,#000 8px,#000 calc(100% - 8px),transparent);mask-image:linear-gradient(transparent,#000 8px,#000 calc(100% - 8px),transparent)}.community-app:not(.community-home)>.community-nav{position:static;transform:none;width:100%;flex:0 0 40px;padding:2px;margin:0}.community-app:not(.community-home) .community-nav button{padding:2px;font-size:9px}.community-app:not(.community-home) .community-nav button>span{font-size:16px}.community-section>h1{font-size:26px;margin:8px 0}.community-section>h1 br{display:none}.community-section>.identity-starters{grid-template-columns:repeat(4,minmax(110px,1fr));margin:12px 0;gap:12px}.community-section .equipped-preview{max-width:550px;margin:auto}.community-section .equipped-preview>.character-card{width:150px}.community-section .character-card .character-portrait{max-height:215px}.community-section .character-caption{padding:7px}.community-section .character-caption h3{font-size:12px}.community-section .cosmetic-note{font-size:10px}.house-workshop{height:100dvh;overflow-y:auto;overscroll-behavior:contain}.modal{max-height:calc(100dvh - 20px);max-width:min(920px,96vw);padding:14px 20px}.modal .house-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:5px}.modal .house-grid button{min-height:90px;padding:7px 2px}.modal .house-grid svg{width:35px;height:35px}.modal .house-grid strong{font-size:10px}.modal .house-grid small{font-size:7px}.modal-head h2{font-size:20px;margin:0}.modal .realm-card{min-height:260px}.modal .card-engraving{height:100px}.modal .development-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){button,.character-card{transition:none}}.character-portrait{background-image:url(/art/characters-v39.webp)}@media(orientation:landscape){.community-app .community-section>h1{font-size:26px;margin:8px 0}.community-app .community-section>h1 em:before{content:" "}}html,body{width:100%;height:100%;overflow:hidden}#root{position:fixed;inset:0;width:100%;height:100dvh;overflow:hidden}#root>main{height:100%;overflow:auto;overscroll-behavior:none}.fullscreen-button{width:32px;height:32px;min-width:32px;padding:0;border:1px solid #b18a4d66;border-radius:5px;background:#21170e;color:#f6d799;font-size:24px;line-height:1;display:grid;place-items:center}.fullscreen-hint{position:fixed;z-index:300;left:50%;bottom:55px;transform:translate(-50%);width:min(400px,90vw);padding:12px 16px;background:#221910;border:1px solid #bd9755;border-radius:7px;color:#f2ddb6;font-size:12px;display:flex;gap:12px;align-items:center}.fullscreen-hint button{font-size:23px}.community-top .community-icon{margin-left:0}.social-overlay,.house-workshop{max-height:100dvh;overscroll-behavior:contain}.house-workshop{overflow:auto}@media(orientation:landscape){#root>main.at-home,#root>main.in-game{height:100dvh;min-height:0;overflow:hidden}.community-home{width:100%;height:100dvh;max-height:100dvh;overflow:hidden}.in-game .board{touch-action:none}.in-game .action-panel,.progress-content,.community-section,.modal{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.community-top{gap:8px}.community-top .progress-badge{margin-left:auto}.in-game .topbar .fullscreen-button{width:25px;height:25px;min-width:25px;font-size:20px}.in-game .topbar nav{align-items:center}}.world-preparing .canvas-host,.world-preparing .placement-overlay,.world-preparing .camera,.world-preparing .map-caption,.world-preparing .map-tip{visibility:hidden}.world-loading-screen{position:absolute;inset:0;z-index:24;background:#000;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#e6c387;text-align:center;padding:20px}.world-loading-screen img{width:min(180px,32vh);height:auto}.world-loading-screen b{font:16px Cinzel Variable,Georgia,serif}.world-loading-screen span{font-size:11px;color:#c5b9a4}.world-loading-screen button{padding:10px 16px;border:1px solid #c6a15b;border-radius:5px;background:#342410;color:#ffe1a1}#root>main.at-home,#root>main.in-game{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:100%;overflow:hidden;margin:0}.community-home{position:absolute;inset:0;max-width:none;margin:0}.social-overlay{position:fixed;inset:0;overflow:hidden}.house-workshop{position:fixed;inset:0;min-height:0;overflow:auto}.lobby{max-height:100%;overflow:auto}.community-loading{overflow:hidden}@media(orientation:landscape)and (min-height:601px){.community-home{padding:clamp(16px,2.5vh,30px) clamp(24px,4vw,70px);grid-template-columns:minmax(150px,22%) minmax(0,1fr);grid-template-rows:64px minmax(130px,.75fr) minmax(180px,1fr) 48px 60px;gap:clamp(10px,2vh,20px) 30px}.community-home .community-top{min-height:60px}.community-home .community-brand-logo{width:48px;height:48px}.community-home .community-wordmark{font-size:30px}.community-home .commander-welcome h1{font-size:clamp(28px,4vh,48px)}.community-home .commander-welcome p{font-size:14px}.community-home .commander-welcome .eyebrow{font-size:10px}.community-home .mode-hero{padding:24px}.community-home .mode-hero h2{font-size:clamp(22px,2.3vw,34px)}.community-home .mode-hero p,.community-home .mode-secondary p{font-size:13px}.community-home .mode-hero>span{font-size:13px;padding:12px 18px;min-height:44px}.community-home .mode-secondary h2{font-size:clamp(20px,2vw,30px)}.community-home .mode-secondary{padding:22px 18px}.community-home .home-minor>button{min-height:44px;font-size:12px}.community-home .community-nav{height:60px}.community-home .community-nav button{min-height:54px;font-size:12px}.community-home .community-nav button>span{font-size:22px}.in-game>.action-panel{width:240px;top:64px;bottom:59px}.in-game>.board{inset:58px 254px 54px 0}.in-game>.topbar{height:58px}.in-game>.resource-bar{height:50px}.in-game>.turn-banner{right:270px;top:155px}.in-game>.players-panel{top:67px;right:266px;max-width:650px}.in-game .build-actions button{min-height:48px;font-size:12px}.in-game .panel-tabs button{font-size:11px}.in-game .medieval-dice{height:90px}.in-game .medieval-dice canvas{width:200px;height:90px}.in-game .roll-button{min-height:40px;font-size:10px}}@media(orientation:landscape)and (min-width:600px){.community-home{grid-template-rows:38px minmax(58px,.72fr) minmax(98px,1fr) 40px;grid-template-areas:"top top" "logo welcome" "modes modes" "nav nav"}}@media(orientation:landscape)and (min-height:601px){.community-home{grid-template-rows:64px minmax(130px,.75fr) minmax(180px,1fr) 60px}}@media(orientation:landscape)and (max-height:340px)and (min-width:600px){.community-home{grid-template-rows:32px minmax(40px,.5fr) minmax(86px,1fr) 36px}}@media(orientation:landscape)and (max-height:600px){.in-game>.action-panel{display:flex;flex-direction:column;gap:4px;overflow:hidden;padding:5px}.in-game .panel-tabs{flex-shrink:0;margin:0;min-height:25px}.in-game .panel-tabs button{padding:6px 2px}.in-game .medieval-dice{height:44px;min-height:44px;margin:0;flex-shrink:0}.in-game .medieval-dice canvas{width:140px;height:44px}.in-game .roll-button{min-height:26px;height:26px;margin:0;padding:4px;font-size:8px;flex-shrink:0}.in-game .build-actions{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin:0;flex-shrink:0}.in-game .build-actions button{display:flex;justify-content:center;align-items:center;min-height:49px;padding:5px 2px;gap:2px;font-size:9px;text-align:center}.in-game .build-actions .build-icon{display:none}.in-game .build-actions button>span:last-child{display:none}.in-game .build-actions small{font-size:7px}.in-game .end-turn{min-height:28px;height:28px;padding:5px 2px;margin:0;font-size:8px;flex-shrink:0}.in-game .action-panel>details,.in-game .hidden-chronicle{display:none}}@media(orientation:landscape)and (max-height:600px){.in-game>.action-panel:has(.trade-market),.in-game>.action-panel:has(.cards-panel){width:min(640px,85vw);background:#100e0bf5;z-index:80}.in-game .trade-market{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;padding:0;min-height:0}.in-game .trade-market>h3,.in-game .trade-market>.muted,.in-game .trade-exchange-arrow{display:none}.in-game .trade-destinations{grid-column:1/-1;grid-row:1}.in-game .trade-destinations button{padding:5px;font-size:10px}.in-game .trade-market>h4{grid-row:2;margin:0;font-size:10px}.in-game .trade-market>h4:first-of-type{grid-column:1}.in-game .trade-market>h4:last-of-type{grid-column:2}.in-game .trade-card-row{grid-row:3;gap:3px}.in-game .trade-card-row:first-of-type{grid-column:1}.in-game .trade-card-face .realm-card{height:70px}.in-game .trade-card-face .card-scene{height:40px;min-height:40px}.in-game .trade-card-stock{font-size:8px;padding:2px 0}.in-game .trade-card-amount{font-size:10px;bottom:18px}.in-game .trade-quantity{grid-column:1;grid-row:4;margin:0;gap:6px}.in-game .trade-quantity span{font-size:9px}.in-game .trade-quantity button{width:27px;height:27px}.in-game .trade-summary{grid-column:2;grid-row:4;font-size:10px;margin:0;align-self:center}.in-game .trade-market>.primary{grid-column:1/-1;grid-row:5;min-height:27px;padding:5px;font-size:10px}.in-game .trade-houses{grid-column:1/-1;grid-row:2;justify-content:center}.in-game .trade-houses button{padding:4px 10px;font-size:9px}.in-game .trade-market:has(.trade-houses)>h4{grid-row:3}.in-game .trade-market:has(.trade-houses)>.trade-card-row{grid-row:4}.in-game .trade-market:has(.trade-houses)>.trade-summary{grid-row:5;grid-column:1}.in-game .trade-market:has(.trade-houses)>.primary{grid-row:5;grid-column:2}.in-game .trade-card-stepper button{min-height:24px;padding:1px}.in-game .cards-panel{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;min-height:0;align-items:flex-start}.in-game .cards-panel>h3,.in-game .cards-panel>.muted{display:none}.in-game .cards-panel>.realm-card{flex:0 0 125px;width:125px;min-height:0;height:210px;margin:0;padding:6px}.in-game .cards-panel .card-scene{height:90px;min-height:90px}.in-game .cards-panel .card-title{font-size:11px}.in-game .cards-panel .card-effect,.in-game .cards-panel .card-status{font-size:8px}}.community-home .play-modes>button{background-color:#15110f;background-image:linear-gradient(90deg,#100b09f2,#100b09ad 48%,#100b0933),var(--mode-cover);background-position:center,right center;background-size:cover;border:1px solid #b68a4799;text-shadow:0 1px 4px #000}.community-home .mode-hero{--mode-cover: url(/art/westeros-castle.webp)}.community-home .mode-match{--mode-cover: url(/art/menu-match.webp)}.community-home .mode-allies{--mode-cover: url(/art/menu-allies.webp)}.community-home .play-modes>button:is(:hover,:focus-visible){border-color:#e5bd71}.community-home .play-modes>button p{color:#eee3d4}.community-home .mode-hero>span{text-shadow:none}.in-game .webgl-failure{inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(90%,340px);max-height:75%;overflow:auto;padding:12px;border:1px solid #c6a15b66;border-radius:9px;background:#121b25;text-align:left}.webgl-failure p{margin:.3rem 0;font-size:11px}.webgl-failure .position-select{margin-top:8px}.webgl-failure .position-select label{display:block;margin-top:4px}.webgl-failure .position-select button{min-width:36px}.community-home .offline-modes{grid-template-columns:1fr}.community-home:has(.offline-modes) .community-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
