@font-face{font-family:Cormorant Garamond;font-style:normal;font-weight:300 700;font-display:swap;src:url(/fonts/cormorant-garamond-a4d7cf345b.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Cormorant Garamond;font-style:normal;font-weight:300 700;font-display:swap;src:url(/fonts/cormorant-garamond-017fab69b4.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Cormorant Garamond;font-style:normal;font-weight:300 700;font-display:swap;src:url(/fonts/cormorant-garamond-6252e819a7.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Cormorant Garamond;font-style:normal;font-weight:300 700;font-display:swap;src:url(/fonts/cormorant-garamond-cfa9a397d8.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Cormorant Garamond;font-style:normal;font-weight:300 700;font-display:swap;src:url(/fonts/cormorant-garamond-d80df8ff5a.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(/fonts/manrope-de37de877d.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(/fonts/manrope-c268b459a9.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(/fonts/manrope-2fb2e8cbfd.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(/fonts/manrope-6bbb044ab4.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(/fonts/manrope-3911b66d9f.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url(/fonts/manrope-a30ddcd349.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}.sheet.story-dialog.sheet-with-footer{height:auto;max-height:min(88dvh,780px)}.story-dialog .sheet-scroll-body{flex:0 1 auto}.story-objective{display:flex;align-items:center;gap:10px;width:100%;min-width:0;margin:10px 0;padding:10px 12px;text-align:left;color:var(--text, #eee2bb);border:1px solid #74634080;border-radius:12px;background:linear-gradient(115deg,#383222d9,#22271ed9);box-shadow:inset 0 1px #d8ba6d12;cursor:pointer}.story-objective.is-ready{border-color:#bfa15d;background:linear-gradient(115deg,#403a24,#263225)}.story-seal{display:grid;place-items:center;flex:0 0 35px;height:35px;border:1px solid #bda36480;border-radius:50%;color:#d9bf7b;background:#151d18}.story-objective-copy{display:grid;gap:3px;min-width:0;flex:1}.story-objective-copy small{font-size:10px;letter-spacing:.04em;color:#b7a578}.story-objective-copy strong{font-size:12px;line-height:1.35;font-weight:600;overflow-wrap:anywhere}.story-objective>svg{flex:none;color:#c2aa70}.story-mentor{display:flex;align-items:center;gap:12px;margin-bottom:18px;padding-bottom:14px;border-bottom:1px solid #bda36440}.story-mentor>div{flex:1;min-width:0;display:grid;gap:3px}.story-mentor small{font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#bca46f}.story-mentor strong{font-family:var(--font-heading, Georgia, serif);font-size:17px}.story-mentor span,.story-hint{font-size:12px;color:#b8b39e}.story-mentor>svg{color:#bc9e5a;flex:none}.story-dialog h2{font-size:24px;line-height:1.15;margin:10px 0 16px}.story-intro{font-size:13px;color:#dac48d}.story-dialogue{white-space:pre-line;font-size:14px;line-height:1.65;color:#e0d7bc;padding:14px 15px;border-left:2px solid #b89b5c;background:#ffffff03;border-radius:0 10px 10px 0}.story-checklist{list-style:none;padding:0;margin:18px 0 12px;display:grid;gap:10px}.story-checklist li{display:flex;align-items:center;gap:9px;font-size:13px;line-height:1.4}.story-checklist li>span{display:grid;place-items:center;flex:0 0 23px;height:23px;border-radius:50%;border:1px solid #8a784d80;color:#c7b16f}.story-checklist .done{color:#b2c493}.story-checklist .done>span{border-color:#7a9563}.story-hint{line-height:1.6}.story-footer{display:grid;gap:9px;min-width:0}.story-footer>span{text-align:center;font-size:11px;color:#cbb985}.story-footer .primary-button{width:100%;min-width:0;font-size:13px;white-space:normal;line-height:1.4}.story-skip{font-size:12px;color:#b7b19b;margin-top:20px}.story-skip summary{cursor:pointer}.story-clues{margin-top:22px;border-top:1px solid #bda36430;padding-top:10px}.story-clues h3{font-size:16px}.story-clues strong{font-size:12px;color:#cfb97e}.story-clues p{font-size:12px;line-height:1.5;color:#b7b19b}.story-chapter-end{display:flex;gap:8px;align-items:flex-start;color:#c9c48b;font-size:13px;line-height:1.6}.story-chapter-end svg{flex:none;margin-top:3px}.story-tutorial{padding:12px;border:1px solid #a68b4f70;border-radius:10px;background:#40392240;font-size:12px;line-height:1.5;margin:12px 0}.story-tutorial p{margin:0 0 10px}.story-tutorial button{width:100%;min-height:38px}.encounter.story-encounter{border-color:#bfa15d;background:linear-gradient(110deg,#49402a70,#26332670)}.story-encounter-label{color:#dac17d!important}.story-journal-entry{width:100%;display:flex;gap:10px;align-items:center;text-align:left;padding:14px;border:1px solid #8f7b49;border-radius:10px;background:#36332160;color:#ddc990;margin-bottom:14px}.story-journal-entry>span{display:grid;gap:4px;flex:1;min-width:0}.story-journal-entry small{font-size:11px;color:#b8b19b}.story-map-note{display:flex;align-items:center;gap:7px;font-size:12px;color:#dbc58c;padding:10px;border:1px solid #9b85514d;border-radius:8px;margin:0 0 12px}@media(prefers-reduced-motion:no-preference){.story-objective.is-ready .story-seal{animation:story-glow 2.8s ease-in-out infinite}@keyframes story-glow{50%{box-shadow:0 0 14px #c7a75b30}}}.tutorial-layer{position:fixed;inset:0;z-index:200;pointer-events:none;isolation:isolate}.tutorial-shade{position:absolute;inset:0;overflow:visible;fill:#0009;pointer-events:none}.tutorial-ring{position:absolute;border:2px solid #e2c06f;border-radius:12px;box-shadow:0 0 0 3px #d9b75b26,0 0 20px #e6c77930;pointer-events:none}.tutorial-coach{position:absolute;box-sizing:border-box;padding:12px 13px 9px;background:linear-gradient(130deg,#393525,#22271e);border:1px solid #a58b50;border-radius:12px;color:#f0e6c9;box-shadow:0 6px 25px #0006;pointer-events:auto;text-align:left}.tutorial-coach-heading{display:flex;gap:8px;align-items:center;min-width:0}.tutorial-coach-heading img{width:32px;height:32px;object-fit:cover;border-radius:50%;border:1px solid #9c874f;flex:none}.tutorial-coach-heading span{display:grid;gap:2px;flex:1;min-width:0}.tutorial-coach-heading strong{font-family:Georgia,serif;font-size:13px;line-height:1.2;overflow-wrap:anywhere}.tutorial-coach-heading small{font-size:10px;letter-spacing:.04em;color:#c0ad7a}.tutorial-coach-heading>svg{color:#e3c375;flex:none}.tutorial-coach p{margin:9px 0 8px;font-size:13px;line-height:1.45;color:#eee3c4}.tutorial-coach-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #ab945b33;padding-top:6px}.tutorial-coach-actions button{border:0;background:transparent;color:#cab783;padding:6px 1px;font-size:11px;min-height:30px;cursor:pointer}.tutorial-coach-actions button:first-child:not(:only-child){margin-right:auto;color:#e4c575}.tutorial-peek{position:absolute;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;color:#e5c77f;background:#292d21;border:1px solid #baa060;box-shadow:0 2px 8px #0005;pointer-events:auto;cursor:pointer}.tutorial-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px 15px;margin:16px 0 5px;padding-top:12px;border-top:1px solid #a58b503d}.tutorial-controls button{display:inline-flex;gap:6px;align-items:center;font-size:12px;min-height:36px}.tutorial-controls small{flex:0 0 100%;font-size:11px;line-height:1.5;color:#bcb39a}.tutorial-pointer{position:absolute;width:12px;height:12px;transform:translate(-50%) rotate(45deg);background:#363424;pointer-events:none}.tutorial-pointer.pointer-below{top:-7px;border-left:1px solid #a58b50;border-top:1px solid #a58b50}.tutorial-pointer.pointer-above{bottom:-7px;border-right:1px solid #a58b50;border-bottom:1px solid #a58b50}.startup-screen{width:min(100%,360px);margin:clamp(56px,18vh,140px) auto 32px;padding:24px 18px;text-align:center;color:var(--gold, #cfb87b)}.startup-emblem{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 20px;border:1px solid #c4a76a50;border-radius:50%;background:radial-gradient(circle,#a98b4020,transparent)}.startup-screen h1{font-size:22px;line-height:1.3}.startup-screen p{line-height:1.6}.startup-screen small{display:block;margin-top:18px;line-height:1.6;color:#aaa38d}.startup-screen .primary-button{width:100%;margin-top:12px}.startup-spinner{animation:startup-turn 1.8s linear infinite}@keyframes startup-turn{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.startup-spinner{animation:none}}.hangar-panel{margin:18px 0;border-top:1px solid var(--line);padding-top:14px}.hangar-row{width:100%;grid-template-columns:44px 1fr auto auto;gap:8px}.hangar-row>span:last-child{font-size:11px;color:var(--gold)}.slot-unit-name{font-size:10px!important;line-height:1.2;overflow-wrap:anywhere;color:var(--muted)}.stack-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:12px 0}.stack-actions button,.target-slots button,.quantity-buttons button{min-height:42px;border:1px solid var(--line);background:#25271a;color:#d7d0be;font-size:12px;padding:6px}.stack-actions .selected,.target-slots .selected,.recruitment-offer.selected{border-color:var(--gold);background:#393721;box-shadow:inset 0 0 12px #b5984220}.target-slots{border:0;padding:0;display:grid;grid-template-columns:repeat(6,1fr);gap:6px;margin:14px 0}.target-slots legend{padding-bottom:8px;font-size:13px;color:var(--muted)}.target-slots.visual-target-slots{gap:4px}.visual-target-slots button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:73px;padding:7px 1px 5px;border-radius:7px}.visual-target-slots .portrait,.target-slot-empty{display:grid;place-items:center;width:32px;height:32px;border-radius:50%}.target-slot-empty{border:1px dashed #80734e;color:#ab9c76}.target-slot-number{position:absolute;top:1px;left:1px;display:grid;place-items:center;width:16px;height:16px;border:1px solid #8d7d54;border-radius:50%;background:#24271d;color:#e1c585;font-size:9px;z-index:1}.target-slot-count{white-space:nowrap;font-size:10px;line-height:1.1}.visual-target-slots button:focus-visible{outline:2px solid #dfbd76;outline-offset:2px}.quantity-control{margin:14px 0}.quantity-control label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px}.quantity-control input{width:90px;min-height:42px;border:1px solid var(--line);background:#171a12;color:var(--gold);text-align:center;font-size:18px}.quantity-buttons{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:8px}.recruiter-entry{width:100%;display:flex;align-items:center;gap:10px;padding:12px;margin:10px 0;border:1px solid var(--line);background:#282619;color:var(--gold);text-align:left;min-height:44px}.recruiter-entry small{margin-left:auto;font-size:12px;color:var(--muted)}.recruiter-location{font-family:Cormorant Garamond,Georgia,serif;color:var(--gold);margin:8px 0}.recruitment-offers{display:grid;gap:8px}.recruitment-offer{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:10px;border:1px solid var(--line);background:#23251b;color:#d7d0be}.recruitment-offer .portrait{width:52px;height:52px;flex-shrink:0}.recruitment-offer span{display:grid;gap:4px}.recruitment-offer small{font-size:12px;color:var(--muted)}.purchase-total{display:flex;justify-content:space-between;align-items:center;margin:12px 0;font-size:14px}.purchase-total strong{font-size:18px;color:var(--gold)}.recruitment-notice{padding:10px;border:1px solid #71814e;color:#c7d3a3;font-size:13px}.quantity-buttons button:disabled,.target-slots button:disabled{opacity:.35}.hangar-panel .empty-message{font-size:13px;line-height:1.5}.army-panel .army-slots:has(.slot-unit-name){align-items:start}.hangar-row strong{flex:1;min-width:0}.large-army-combat .player .fighters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.large-army-combat .player .fighter{width:auto;padding:4px 5px}.large-army-combat .player .fighter .portrait{width:44px;height:44px}.large-army-combat .player .fighter .portrait svg{width:26px;height:26px}.large-army-combat .player .fighter strong{margin-top:3px}.large-army-combat .player .fighter-count{margin:1px 0 3px}.large-army-combat .battle-title{padding:8px 0 10px}.large-army-combat .enemy .fighter .portrait{width:64px;height:64px}.large-army-combat .battle-side.enemy{padding-bottom:9px;margin-bottom:8px}.large-army-combat .battle-field{padding:8px 11px}.large-army-combat .player .fighter strong,.large-army-combat .enemy .fighter strong{line-height:1.2}.large-army-combat .fighter-count{line-height:1.1}.large-army-combat .fighter>small{display:block;line-height:1.2}.large-army-combat .enemy .fighter .portrait{width:56px;height:56px}.large-army-combat .battle-title{padding:6px 0 8px}.barracks-upgrade{min-width:0;padding:0;margin:12px 0;border:1px solid var(--line);border-radius:8px;background:linear-gradient(110deg,#333424,#20271d)}.barracks-upgrade small{color:var(--muted);line-height:1.5}.social-nav{display:grid;grid-template-columns:repeat(2,1fr);gap:4px;padding:8px 10px;border-bottom:1px solid #393226;background:#1d1a16}.social-nav button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:42px;color:#a99c87;border:1px solid transparent;border-radius:7px;font-size:12px}.social-nav button.selected{color:#f0c67e;background:#30271c;border-color:#655030}.social-nav small{font-size:10px;padding:1px 4px;border-radius:4px;color:#d6c8ae;background:#373026}.social-nav .unread-badge{background:#805220;color:#fff1d0}.social-screen{padding:16px}.social-heading{display:flex;align-items:center;gap:10px;margin-bottom:14px}.social-heading h1{font-size:24px;flex:1;margin:0}.icon-button{width:38px;min-height:38px;display:grid;place-items:center;border:1px solid #423828;border-radius:7px;color:#c6b59b;flex-shrink:0}.muted{color:#ad9e86;font-size:12px;line-height:1.6}.social-empty{min-height:130px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;color:#a79a85}.player-list,.mail-list{display:grid;gap:7px;margin:15px 0}.player-list>button{display:flex;align-items:center;gap:11px;width:100%;padding:12px;text-align:left;border:1px solid #3c3327;border-radius:8px;background:#231e18}.player-list>button.self{border-color:#806131}.player-list .rank{min-width:26px;text-align:center;color:#e3b774;font-size:18px}.player-name{flex:1;min-width:0}.player-name strong{overflow-wrap:anywhere}.player-name>small,.player-list>button>b>small{display:block;color:#a89a83;font-size:11px;margin-top:4px;font-weight:400}.player-list>button>b:last-child{color:#e5c28a;text-align:center}.online-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#777064;margin:0 6px;vertical-align:middle}.online-dot.active{background:#83b474;box-shadow:0 0 5px #83b47455}.chat-history{height:min(48vh,440px);min-height:230px;overflow-y:auto;overscroll-behavior:contain;padding:5px 2px;scrollbar-width:thin}.chat-message{padding:10px 12px;background:#231e18;border:1px solid #3a3023;border-radius:8px;margin-bottom:8px}.chat-message.own{background:#2c251a;border-color:#604b2e}.chat-message header{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px;justify-content:space-between}.chat-message header button{color:#e5bd78;font-weight:600;overflow-wrap:anywhere;text-align:left}.chat-message header small,.chat-message time{font-size:10px;color:#aa9b83;font-weight:400}.chat-message p,.letter-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:14px}.chat-message p{margin:7px 0 0}.chat-composer{border-top:1px solid #493b28;padding-top:12px}.chat-composer textarea,.compose-letter input,.compose-letter textarea{display:block;width:100%;border:1px solid #56412a;border-radius:7px;padding:10px 12px;color:#eee1cb;background:#1c1813;font:inherit;resize:vertical}.chat-composer>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}.chat-composer small,.compose-letter>small{font-size:11px;color:#a39278}.chat-composer .primary-button{width:auto;padding:10px 18px;margin:0}.social-screen .primary-button,.compose-letter .primary-button,.public-profile~.primary-button{display:flex;align-items:center;justify-content:center;gap:8px}.mail-tabs{display:flex;border-bottom:1px solid #493c2b;margin-bottom:15px}.mail-tabs button{flex:1;padding:12px;color:#ac9e87}.mail-tabs .selected{color:#f1c782;border-bottom:2px solid #d2a15b}.mail-list>button{display:flex;justify-content:space-between;gap:10px;text-align:left;padding:13px 12px;border-radius:7px;border:1px solid #3c3327;background:#221d17}.mail-list>button.unread{border-left:3px solid #d2a15b;background:#2d2418}.mail-list>button>span:first-child{min-width:0;flex:1;overflow-wrap:anywhere}.mail-list strong{font-size:14px}.mail-list small,.mail-list time{font-size:10px;color:#b2a086;display:block;margin-top:5px}.mail-list>button>span:last-child{text-align:right;flex-shrink:0}.list-pagination{display:flex;justify-content:space-between;margin-top:15px}.list-pagination button{padding:10px;border:1px solid #594329;border-radius:6px}.public-profile{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;margin-bottom:20px}.public-profile h2,.public-profile p{margin:0}.public-profile small{color:#b4a086;font-size:11px}.compose-letter{display:grid;gap:14px}.compose-letter label{display:grid;gap:7px;font-size:13px;color:#cdb896}.compose-letter textarea{min-height:128px;font-size:16px;line-height:1.5}.letter-detail h2{font-size:22px;overflow-wrap:anywhere}.letter-detail>p{font-size:13px}.letter-detail .text-button{display:inline;padding:0;color:#e7bf7f}.letter-detail .letter-body{border-top:1px solid #493b29;padding:18px 0;font-size:14px}.social-notice{padding:10px 12px;background:#2d3823;color:#d3e4b7;border:1px solid #52643b;border-radius:6px;display:flex;justify-content:space-between;font-size:13px}.travel-entry{display:flex;align-items:center;gap:12px;padding:14px 20px;width:calc(100% - 32px);margin:15px 16px;border:1px solid #614c30;border-radius:9px;background:#2a2218;color:#dbb578;text-align:left}.travel-entry span{flex:1;display:grid;gap:5px}.travel-entry small{color:#aa987b;font-size:11px}.destination-list{display:grid;gap:8px;margin-top:14px}.destination-list button{display:flex;gap:12px;align-items:center;text-align:left;padding:13px;border:1px solid #55402a;border-radius:7px;background:#272017}.destination-list button>span{flex:1;min-width:0}.destination-list strong{display:block;color:#e0bc83;font-size:15px}.destination-list small{display:block;color:#b4a083;font-size:11px;line-height:1.5;margin-top:6px}.destination-list b{flex-shrink:0;font-size:11px;color:#d9b980}.destination-list button:disabled{opacity:.55}.destination-list .current:disabled{opacity:1;border-color:#847049}.race-description{border:1px solid #6a5130;background:#2a2219;padding:15px;border-radius:8px;margin:0 0 17px}.race-description h2{margin:0 0 9px;font-size:21px;color:#edc88c}.race-description p{line-height:1.6;margin-bottom:10px}.race-description strong{display:block;color:#d7bd92;font-size:12px;line-height:1.6;font-weight:500}.race-description small{display:block;color:#b6a083;line-height:1.6;margin-top:10px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(max-width:350px){.social-nav{padding:6px;gap:2px}.social-nav button{gap:3px;font-size:11px}.social-nav button svg{width:14px}.social-screen{padding:12px}.social-heading h1{font-size:22px}}.active-effects{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}.active-effects>span{display:flex;align-items:center;gap:2px}.active-effects img{width:24px;height:24px;border-radius:50%;border:1px solid #aaa078}.active-effects small{font-size:10px;color:#b3c3a7}.hero-iridium{display:flex;align-items:center;justify-content:flex-end;gap:4px;color:#a8d4e4;font-size:12px}.hero-iridium img{width:19px;height:19px;border-radius:50%;border:1px solid #81b8cc}.potion-warehouse{margin-top:25px}.potion-row{display:flex;align-items:center;text-align:left;gap:10px;width:100%;padding:12px 8px;border:1px solid var(--line);border-radius:12px;margin:8px 0;background:var(--panel)}.potion-row>span:not(.portrait){flex:1;min-width:0}.potion-row strong,.potion-row small{display:block}.potion-row small{font-size:11px;color:var(--muted);margin-top:5px}.potion-row b{font-size:11px;color:var(--gold)}.potion-row:disabled{opacity:.55}.daily-gift{text-align:center}.daily-gift h2{font:24px Georgia,serif;line-height:1.3;color:var(--gold)}.daily-gift>.portrait,.daily-gift>.item-icon{margin:20px auto}.daily-gift .portrait{width:96px;height:96px}.daily-gift p{font-size:13px;line-height:1.6}.raven-plan{margin:10px 0}.sheet[aria-label=Ворон]>p{margin:12px 0;line-height:1.6}.profile-equipment{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.profile-equipment-row.equipped{grid-column:1/-1}.profile-equipment-row{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid var(--line);border-radius:10px}.profile-equipment-row>span:not(.art-icon){min-width:0;flex:1}.profile-equipment-row small{display:block;font-size:11px;color:var(--muted);line-height:1.5}.locked-recruits{display:grid;gap:8px;margin:18px 0}.locked-recruits>div{display:flex;align-items:center;gap:8px;opacity:.55;font-size:12px}.daily-retry{margin:10px;color:var(--gold);background:var(--panel);padding:10px}.resurrection-notice{color:#a7ce9b;line-height:1.5}.game-shell .hero-bar{height:auto;min-height:90px;align-items:center;gap:10px}.hero-bar .hero-resources{width:110px}.hero-bar .gold{font-size:15px;gap:5px}.hero-bar .hero-identity{flex:1;gap:8px}.hero-bar .hero-identity>.portrait{align-self:flex-start;margin-top:3px}.hero-bar .hero-identity>span>small{white-space:normal;line-height:1.4}.hero-bar .active-effects small{margin-top:0;font-size:10px}.hero-identity{min-width:0}.hero-identity>span{min-width:0}.hero-identity strong{overflow-wrap:anywhere}.achievement-overview{display:flex;align-items:center;gap:10px;padding:12px;margin:12px 0;border:1px solid #78634370;border-radius:9px;background:linear-gradient(130deg,#333324,#20271c)}.achievement-emblem,.achievement-icon{display:grid;place-items:center;flex-shrink:0;border:1px solid #a18a4c60;border-radius:50%;background:radial-gradient(circle at 35% 20%,#6d623530,#171e15);color:#cfb775}.achievement-icon.is-mythic{color:#f28a8c;border-color:#cd626b88;background:radial-gradient(circle at 35% 20%,#82343f70,#26191d)}.achievement-emblem{width:48px;height:48px}.achievement-overview>div{flex:1;min-width:0;display:grid;gap:5px}.achievement-overview strong{font-family:Cormorant Garamond,serif;font-size:20px;color:#e7d5a9}.achievement-overview small{font-size:9px;line-height:1.5;color:#aaa68e}.achievement-overview>span:last-child{display:grid;text-align:center;gap:3px}.achievement-overview>span:last-child b{font-size:20px;color:#e2c67e}.achievement-filters{display:flex;gap:5px;margin:12px 0}.achievement-filters button{flex:1;padding:9px 5px;border:1px solid #89784c50;border-radius:6px;background:#24281c;color:#aca78e;font-size:10px}.achievement-filters button[aria-pressed=true]{color:#ead799;border-color:#a38c50;background:#46432a}.achievement-filters b{display:inline-grid;place-items:center;min-width:16px;margin-left:4px;border-radius:9px;background:#d9be78;color:#22281c;font-size:9px}.achievement-list{display:grid;gap:8px}.achievement-card{display:grid;grid-template-columns:36px minmax(0,1fr) 64px;gap:8px;align-items:start;padding:12px 9px;border:1px solid #74654055;border-radius:8px;background:linear-gradient(115deg,#292d21,#22271d)}.achievement-icon{width:36px;height:36px}.achievement-content{min-width:0}.achievement-content h2{font-family:Cormorant Garamond,serif;font-size:18px;line-height:1.15;margin:0 0 5px;color:#dccba3;overflow-wrap:anywhere}.achievement-content p{font-size:10px;line-height:1.5;color:#b8b19a;margin:0 0 9px}.achievement-progress-label{display:flex;flex-wrap:wrap;justify-content:space-between;gap:3px;font-size:8px;color:#9c9f84}.achievement-progress-label b{font-weight:500;color:#c6be95;font-variant-numeric:tabular-nums}.achievement-content progress{display:block;appearance:none;width:100%;height:4px;margin:5px 0 0;border:0;border-radius:3px;overflow:hidden;background:#10170f;color:#a99d5b}.achievement-content progress::-webkit-progress-bar{background:#11190f}.achievement-content progress::-webkit-progress-value{background:linear-gradient(90deg,#7b864f,#cbb772)}.achievement-content progress::-moz-progress-bar{background:#a99d5b}.achievement-reward{display:grid;justify-items:center;gap:7px;color:#bcaa76;font-size:13px;padding-top:2px}.achievement-reward>span{display:flex;align-items:center;gap:4px}.achievement-reward img{width:23px;height:23px;object-fit:contain}.achievement-reward small{font-size:8px;color:#8e927b}.achievement-reward .primary-button{width:64px;min-height:30px;margin:0;padding:5px 3px;font-size:9px}.achievement-card.is-ready{border-color:#b19b55;background:linear-gradient(110deg,#3b4028,#243220);box-shadow:inset 2px 0 #cab46a}.achievement-card.is-claimed{background:#20271c;border-color:#5c70413d}.achievement-card.is-claimed .achievement-reward{color:#8cae71}.achievement-notice{padding:10px;border:1px solid #7e9b5655;border-radius:7px;color:#d1d5a3;background:#30452640;font-size:11px}.achievement-footnote{margin:15px 0 5px;color:#979a81;font-size:10px;line-height:1.6}.art-icon.art-icon-contained img{padding:12%;object-fit:contain;background:#171a11}.two-handed-note{color:#c8b77f;font-size:11px;line-height:1.5;margin:8px 0}.hero-gear-frame .two-handed-mark{position:absolute;left:-3px;right:auto;bottom:-3px;background:#303524;border:1px solid #aa9656;border-radius:4px;color:#e0c992;font-size:8px;padding:1px 3px}.comparison-equipped-items{display:grid;gap:7px}.comparison-equipped-items>div{display:grid;justify-items:center;gap:3px}.bestiary-screen{padding:16px}.bestiary-book{color:#c5aa73;flex-shrink:0}.bestiary-search{display:flex;align-items:center;gap:8px;min-height:42px;margin:10px 0;padding:0 10px;border:1px solid #72603e88;border-radius:8px;background:#171e17;color:#b8ac91}.bestiary-search input{width:100%;min-width:0;min-height:40px;padding:0;border:0;background:transparent;color:#e0d2af;font:inherit;font-size:16px}.bestiary-search>svg{flex-shrink:0}.bestiary-search button{display:grid;place-items:center;flex-shrink:0;width:36px;min-height:38px;margin-right:-8px;padding:0;background:transparent;border:0;color:#b8ac91}.bestiary-search:focus-within{border-color:#d1ad63}.bestiary-view-controls{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:10px}.bestiary-view-controls label{min-width:0}.bestiary-view-controls select{min-width:0;width:100%;min-height:38px;border:1px solid #72603e88;border-radius:6px;background:#27281f;color:#d5c7a5;padding:5px 8px;font-size:12px}.bestiary-view-controls [role=group]{display:flex;gap:4px}.bestiary-view-controls button{display:grid;place-items:center;width:38px;min-height:38px;padding:0;border:1px solid #72603e66;border-radius:6px;background:#20271d;color:#b8ac91}.bestiary-view-controls button[aria-pressed=true]{border-color:#b19458;background:#473e29;color:#ebcf91}.bestiary-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bestiary-filters label{display:grid;gap:6px;min-width:0;font-size:11px;color:#b8ac91}.bestiary-filters select{width:100%;min-width:0;min-height:44px;padding:8px;border:1px solid #72603e;border-radius:8px;background:#27281f;color:#e0d2af;font:inherit;font-size:16px}.bestiary-results{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:45px;color:var(--muted);font-size:11px}.bestiary-results .text-button{display:inline-flex;align-items:center;gap:5px;min-height:38px;font-size:11px}.bestiary-grid{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0;margin:0}.bestiary-grid li{min-width:0}.bestiary-card{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;padding:14px 8px 10px;border:1px solid #6a6247;border-radius:12px;background:radial-gradient(ellipse at top,#3b3b2c66,transparent 75%),linear-gradient(145deg,#2c3025,#1b241e);color:#e0d2ad;text-align:center}.bestiary-card:active{background:#373b2a}.bestiary-card:focus-visible,.bestiary-filters select:focus-visible{outline:2px solid #e1be72;outline-offset:3px}.bestiary-portrait{position:relative;margin:0 0 9px}.bestiary-portrait .portrait{width:64px;height:64px;box-shadow:0 4px 12px #0006}.bestiary-tier{position:absolute;right:-6px;bottom:0;display:grid;place-items:center;width:23px;height:23px;border:1px solid #b49a62;border-radius:50%;background:#24281c;color:#ead396;font-size:12px}.bestiary-card>strong{font-size:13px;line-height:1.35;overflow-wrap:anywhere}.bestiary-card>small{margin:4px 0 10px;color:#a9aa91;font-size:10px}.bestiary-preview{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 10px;width:100%;padding-top:8px;margin-top:auto;border-top:1px solid #8d7a4a40;font-size:11px}.bestiary-preview>span{display:inline-flex;align-items:center;gap:3px}.bestiary-preview .game-stat-art{flex-shrink:0}.bestiary-detail{display:flex;align-items:center;gap:16px;margin-bottom:18px}.bestiary-detail .portrait{width:88px;height:88px;flex-shrink:0}.bestiary-detail>div{display:grid;gap:7px}.bestiary-detail strong{font-size:17px;color:#dfcfaa}.bestiary-detail>div>span{color:var(--muted);font-size:13px}.bestiary-base-price{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;font-size:12px;border-bottom:1px solid #8d7a4a40;color:#b5ab90}.bestiary-base-price strong{color:#dcc48d}.bestiary-note{color:var(--muted);font-size:11px;line-height:1.6;margin-bottom:0}@media(min-width:600px){.bestiary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.bestiary-grid.bestiary-list{grid-template-columns:1fr;gap:6px}.bestiary-list .bestiary-card{display:grid;grid-template-columns:48px minmax(0,1fr) 88px;grid-template-rows:1fr 1fr;gap:3px 9px;min-height:75px;padding:9px;text-align:left}.bestiary-list .bestiary-portrait{grid-row:1 / 3;grid-column:1;margin:0;align-self:center}.bestiary-list .bestiary-portrait .portrait{width:44px;height:44px}.bestiary-list .bestiary-tier{width:18px;height:18px;right:0;bottom:-3px;font-size:10px}.bestiary-list .bestiary-card>strong{grid-column:2;grid-row:1;align-self:end;font-size:12px}.bestiary-list .bestiary-card>small{grid-column:2;grid-row:2;align-self:start;margin:0}.bestiary-list .bestiary-preview{grid-column:3;grid-row:1 / 3;display:grid;gap:4px;align-self:center;justify-content:end;padding:0;margin:0;border:0;font-size:11px}.telegram-login-button{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;margin-top:14px;border:1px solid #9b8654;border-radius:12px;background:linear-gradient(120deg,#24352f,#222a24);color:#e3d5ac;font:inherit;font-size:15px;font-weight:600;cursor:pointer}.telegram-login-button:hover{border-color:#d0b36e;background:#304037}.sheet.telegram-connection-sheet,.sheet.referral-sheet{background:#25291f}.telegram-linked-check{color:#a5c486;flex-shrink:0}.telegram-account-service .settings-service-icon{color:#afc4ad}.telegram-connect-heading,.referral-intro{display:flex;align-items:center;gap:14px;margin:2px 0 18px}.telegram-connect-heading>span,.referral-intro>span,.telegram-approval-emblem{display:grid;place-items:center;flex-shrink:0;width:54px;height:54px;border:1px solid #8d8056;border-radius:50%;background:radial-gradient(circle at 35% 20%,#3c5042,#1c2923);color:#ded1a7}.telegram-connect-heading strong{font-size:20px;color:#e6d8ad}.telegram-connect-heading small{display:block;color:#aaa894;margin-top:4px;font-size:12px}.telegram-connection-sheet p{color:#b9b6a5;font-size:14px;line-height:1.5}.telegram-login-code{text-align:center;font-size:clamp(30px,9vw,42px);font-weight:600;letter-spacing:.15em;font-variant-numeric:tabular-nums;color:#ebdba8;background:#141d18;border:1px solid #6c6845;border-radius:12px;padding:14px 10px;margin:20px 0 8px}.telegram-code-caption{text-align:center;font-size:12px!important;color:#a5a18c!important;line-height:1.5}.telegram-open-bot,.telegram-connection-sheet>.secondary-button{display:flex;align-items:center;justify-content:center;gap:9px;width:100%}.telegram-connect-status{text-align:center;font-size:12px!important;min-height:22px}.telegram-request-actions{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.telegram-request-actions button{display:inline-flex;align-items:center;gap:6px;font-size:13px;padding:10px 0;min-height:44px}.telegram-connection-sheet .warning,.telegram-approval-card .warning{color:#e2b09a}.telegram-approval-screen{display:grid;align-items:center;min-height:80dvh;padding:24px 14px}.telegram-approval-card{padding:28px 22px;border:1px solid #756540;border-radius:20px;background:radial-gradient(ellipse at top,#303b2d,#1e231b 60%);text-align:center;box-shadow:0 16px 50px #0005}.telegram-approval-emblem{width:70px;height:70px;margin:0 auto 16px}.telegram-approval-card>small{font-size:12px;color:#b5a476;letter-spacing:.06em}.telegram-approval-card h1{font-family:var(--font-display, Georgia, serif);font-size:28px;line-height:1.2;margin:12px 0;color:#ecdcb0}.telegram-approval-card p{font-size:14px;line-height:1.6;color:#c3bfaa}.telegram-approval-card>.primary-button{width:100%;margin:10px 0}.telegram-approval-card>.text-button{min-height:44px;padding:12px}.telegram-confirm-rule{display:flex;gap:8px;text-align:left;background:#151e18;border-radius:10px;padding:12px;font-size:12px!important}.telegram-confirm-rule svg{flex-shrink:0;color:#b2c68c;margin-top:2px}.referral-intro{align-items:flex-start;gap:12px}.referral-intro strong{display:block;color:#e1d1a5;font-size:17px;line-height:1.35}.referral-intro p{font-size:12px;line-height:1.5;color:#aaa993;margin:5px 0 0}.referral-rewards{border:1px solid #59573d;border-radius:12px;overflow:hidden;background:#1d271e}.referral-rewards>div{display:flex;align-items:center;gap:14px;padding:11px 13px}.referral-rewards>div+div{border-top:1px solid #444732}.referral-rewards b{min-width:42px;flex-shrink:0;font:600 24px Georgia,serif;color:#e0cc90;text-align:center}.referral-rewards b small{display:block;font:10px sans-serif;color:#aca88b;margin-top:3px}.referral-rewards span{font-size:13px;line-height:1.5;color:#d0cbb4}.referral-rule{font-size:12px;line-height:1.5;color:#aaa58d;margin:14px 0 18px}.referral-link-card{padding:13px;border:1px solid #5b6247;border-radius:12px;background:#1c261e}.referral-link-card label{font-size:12px;color:#bdb596;display:block;margin-bottom:8px}.referral-link-card input{width:100%;min-width:0;font-size:16px;padding:10px;border:1px solid #494f37;border-radius:8px;color:#d6d2bd;background:#131c16;text-overflow:ellipsis}.referral-link-card>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.referral-link-card button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:9px 6px;font-size:12px}.referral-connect>p{font-size:13px;color:#b7b49d;line-height:1.5}.referral-tabs{display:flex;gap:6px;border-bottom:1px solid #4d4c35;padding-bottom:8px;margin-top:24px}.referral-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;min-height:42px;border:1px solid transparent;border-radius:9px;background:transparent;color:#aaa990;font-size:13px;cursor:pointer}.referral-tabs button[aria-selected=true]{background:#323b28;border-color:#77724a;color:#e8d49e}.referral-tabs b{font-size:11px;background:#1d251a;border-radius:8px;padding:2px 6px}.referral-tabs i{width:6px;height:6px;border-radius:50%;background:#c9b46f}.referral-inviter{font-size:12px;color:#b5b199}.referral-inviter strong{color:#e0cc90}.referral-friends{display:grid;gap:12px;margin-top:12px}.referral-friend{border:1px solid #50563d;border-radius:12px;overflow:hidden;background:#1d251b}.referral-friend header{display:flex;align-items:center;gap:10px;padding:12px;background:linear-gradient(100deg,#2c3826,#20281e)}.referral-friend-icon{display:grid;place-items:center;width:36px;height:36px;border:1px solid #70714d;border-radius:50%;color:#bdb486;background:#171f18;flex-shrink:0}.referral-friend header>div{min-width:0}.referral-friend strong{display:block;font-size:14px;color:#e0d1a5;overflow-wrap:anywhere}.referral-friend header small{display:block;color:#aaa990;font-size:11px;margin-top:4px}.referral-milestone{display:flex;justify-content:space-between;align-items:center;gap:9px;padding:10px 12px;min-height:66px;border-top:1px solid #3c422f}.referral-milestone>div{min-width:0}.referral-milestone b{display:block;font-size:12px;color:#ccc4a4}.referral-milestone small{display:block;font-size:11px;color:#a4a38e;margin-top:5px;line-height:1.4}.referral-milestone button{font-size:12px;min-height:38px;padding:8px 12px;flex-shrink:0}.referral-milestone.is-ready{background:#353b2444}.referral-claimed{display:flex;align-items:center;gap:4px;color:#a6bd88;font-size:11px;white-space:nowrap}.referral-locked{font-size:11px;color:#928f7c;white-space:nowrap}.referral-empty{text-align:center;color:#aaa98e;padding:26px 14px;font-size:13px;line-height:1.6}.referral-empty svg{color:#b4a06b}.referral-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:16px}.referral-pagination button{min-height:42px;padding:8px 12px;font-size:12px}.referral-pagination small{color:#aaa48e;font-size:11px}.referral-status,.referral-notice{font-size:12px;line-height:1.5;color:#b2be92}.referral-sheet input{scroll-margin-block:20px}@media(prefers-reduced-motion:no-preference){.telegram-login-button{transition:background .15s,border-color .15s}}@media(max-width:350px){.telegram-approval-card{padding:22px 15px}.referral-link-card>div{grid-template-columns:1fr}.referral-milestone{padding:10px 9px;gap:6px}.referral-milestone button{padding:8px 9px}.referral-intro>span{width:44px;height:44px}.referral-intro strong{font-size:15px}}.telegram-notification-intro{display:flex;align-items:center;gap:14px;padding:14px 0;color:var(--gold, #c5aa68)}.telegram-notification-intro>svg{flex:none}.telegram-notification-intro p{margin:0;color:#d4cdb6;font-size:14px;line-height:1.5}.telegram-notification-options{display:grid;gap:10px;margin:16px 0}.telegram-notification-option{display:flex;align-items:center;gap:12px;padding:15px 12px;border:1px solid #76643d66;border-radius:12px;background:#22271c;min-width:0}.telegram-notification-option>svg{color:#cbb477;flex:none}.telegram-notification-option>span{flex:1;min-width:0}.telegram-notification-option strong,.telegram-notification-option small{display:block}.telegram-notification-option strong{font-size:14px;color:#e4d6ac}.telegram-notification-option small{font-size:12px;margin-top:4px;color:#aaa58e}.telegram-notification-option input{appearance:none;position:relative;flex:none;width:40px;height:24px;border:1px solid #77735d;border-radius:20px;background:#171b14;cursor:pointer;transition:background .15s}.telegram-notification-option input:before{content:"";position:absolute;left:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#9f9c87;transition:transform .15s}.telegram-notification-option input:checked{background:#6b5931;border-color:#d6b66d}.telegram-notification-option input:checked:before{transform:translate(16px);background:#f1d896}.telegram-notification-option input:disabled{opacity:.5;cursor:default}.telegram-notification-option input:focus-visible{outline:2px solid #e4c678;outline-offset:3px}.telegram-notification-hint{font-size:12px;line-height:1.55;color:#aaa58e;margin:12px 0}.telegram-notification-connect{padding:12px;border:1px solid #76643d66;border-radius:12px;background:#292619;font-size:13px;line-height:1.5}.telegram-notification-connect .primary-button{display:flex;justify-content:center;text-decoration:none;margin-top:10px}.telegram-notification-notice{font-size:13px;color:#d9cb9a}@media(prefers-reduced-motion:reduce){.telegram-notification-option input,.telegram-notification-option input:before{transition:none}}.clan-screen{padding:12px 16px 28px}.hero-components{display:inline-flex;align-items:center;gap:3px;margin-left:8px}.clan-screen h2{font-size:21px}.clan-screen h3{margin:0 0 5px}.clan-screen p{line-height:1.45}.clan-screen input{min-width:0;width:100%;box-sizing:border-box}.clan-screen label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--muted)}.clan-banner{display:flex;gap:14px;align-items:center;padding:18px 0}.clan-banner>div{min-width:0;overflow-wrap:anywhere}.clan-banner h2,.clan-banner p{margin:0 0 5px}.clan-building{border:1px solid var(--line);border-radius:12px;padding:16px;margin:12px 0;background:#ffffff06}.clan-building>header{display:flex;gap:10px;align-items:center}.clan-building>header h2{margin:0}.clan-building>header small{color:var(--muted);font-size:13px}.clan-treasury{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:16px 0 0}.clan-treasury span{display:flex;flex-direction:column;gap:4px;font-size:13px}.clan-treasury b{font-size:23px;color:var(--gold)}.clan-deposit{display:grid;grid-template-columns:1fr 1fr;gap:10px}.clan-deposit>button{grid-column:1 / -1}.clan-withdraw{display:flex;align-items:flex-end;gap:10px;margin-top:12px}.clan-withdraw label{flex:1}.clan-withdraw button,.clan-market-links>button{min-height:44px}.clan-market-links{display:grid;gap:8px}.clan-timer{color:#d4b76a;padding:10px;background:#c4a44a14;border-radius:8px}.clan-ready{color:#9dba83}.clan-create>svg{display:block;margin:4px auto 12px;color:var(--gold)}.clan-create form{display:grid;gap:12px}.clan-search{margin:14px 0}.clan-screen .clan-member-search{display:flex;flex-direction:row;align-items:center;gap:8px;min-height:42px;margin:12px 0 0;padding:0 10px;border:1px solid #78684288;border-radius:7px;background:#171e17}.clan-member-search>svg{flex-shrink:0}.clan-screen .clan-member-search input{min-height:40px;padding:0;border:0;background:transparent;color:var(--gold);font-size:16px}.clan-member-search button{display:grid;place-items:center;width:34px;min-height:38px;padding:0;margin-right:-8px;border:0;background:transparent;color:#b8ac91;flex-shrink:0}.clan-member-search:focus-within{border-color:#d1ad63}.clan-roster-filters{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:42px;font-size:11px;color:#a9a487}.clan-screen .clan-roster-filters label{display:flex;flex-direction:row;align-items:center;gap:7px;font-size:11px;min-height:40px}.clan-screen .clan-roster-filters input{width:16px;height:16px;min-height:0;margin:0;accent-color:#bda366}.clan-member-dot{display:inline-block;width:5px;height:5px;margin-right:4px;border-radius:50%;background:#77796d;vertical-align:middle}.clan-member-dot.online{background:#a1c27e;box-shadow:0 0 4px #a1c27e55}.clan-roster-empty{padding:10px 0;text-align:center;font-size:12px;color:var(--muted)}.clan-directory article{display:flex;gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}.clan-directory article>div{min-width:0;overflow-wrap:anywhere}.clan-directory p{margin:0 0 8px;font-size:13px;color:var(--muted)}.clan-ledger{margin:18px 0}.clan-ledger summary,.clan-screen details summary{cursor:pointer;padding:12px 0}.clan-ledger p{padding:8px 0;border-bottom:1px solid var(--line);font-size:13px}.clan-merchant{display:flex;align-items:center;gap:12px;margin:18px 0}.clan-merchant h2,.clan-merchant p{margin:0 0 6px}.clan-merchant p{font-size:12px;color:var(--muted)}.exclusive-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.exclusive-card{padding:14px 8px;display:flex;flex-direction:column;align-items:center;gap:8px;border:1px solid var(--line);border-radius:12px;min-width:0;min-height:180px}.exclusive-card strong{overflow-wrap:anywhere;font-size:14px}.exclusive-card small{font-size:12px;color:var(--muted)}.exclusive-card b{color:var(--gold);margin-top:auto;font-size:14px}.exclusive-card.sold{opacity:.45}.clan-resource-icon{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:56px;height:56px;border:2px solid #a6a39a;border-radius:50%;color:#c1b58c;background:#1c1d17}.clan-resource-icon img{width:100%;height:100%;object-fit:cover;border-radius:50%}.dismantle-entry{margin-top:12px}.dismantle-entry>button{min-height:44px;width:100%}.dismantle-entry p{font-size:13px;color:var(--muted)}.clan-invitation-actions{display:grid;gap:10px;margin-top:16px}.profile-clan-action{min-height:44px;width:100%;margin:8px 0 12px}@media(min-width:360px){.exclusive-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.exclusive-card{min-height:165px;padding:12px 6px}.exclusive-card strong,.exclusive-card b{font-size:12px}}.warehouse-screen{padding:12px 16px 28px}.warehouse-screen input,.warehouse-screen select{min-width:0;width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#171811;color:#d7d0be;font:inherit;min-height:38px}.warehouse-screen input:focus,.warehouse-screen select:focus{outline:1px solid var(--gold)}.warehouse-screen label{display:block;font-size:13px}.warehouse-actions{display:flex;gap:8px;align-items:center;margin:12px 0}.warehouse-actions>input{min-width:0;flex:1}.warehouse-actions button{padding:8px 12px}.warehouse-item{display:grid;grid-template-columns:48px minmax(0,1fr);gap:10px;padding:14px;margin:10px 0;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.warehouse-item strong,.warehouse-item small{display:block}.warehouse-item p{margin:6px 0;font-size:12px}.warehouse-item>button{grid-column:2;justify-self:start;padding:8px 14px}.warehouse-resources select{width:100%;margin-top:6px}.warehouse-intro{margin:4px 0 10px;font-size:11px;color:var(--muted)}.warehouse-screen>.world-tabs>button{display:flex;align-items:center;justify-content:center;gap:6px}.warehouse-list-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:5px;margin:12px 0}.warehouse-list-heading h2{margin:0;font-size:20px}.warehouse-list-heading small{font-size:10px;color:var(--muted)}.warehouse-screen .list-update-status{display:flex;align-items:center;justify-content:space-between;gap:8px}.warehouse-screen .list-update-status .text-button{min-height:34px;font-size:11px}.compact-warehouse-resources{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:10px;padding:12px}.compact-warehouse-resources>h2{margin:0;font-size:23px}.compact-warehouse-resources>label,.warehouse-resource-totals,.compact-warehouse-resources>.warehouse-actions,.compact-warehouse-resources>.warehouse-transfer-note,.compact-warehouse-resources>.primary-button{grid-column:1 / -1;width:100%;margin:0}.warehouse-resource-totals{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 0;border-block:1px solid #76643d44}.warehouse-resource-totals>span{display:grid;gap:4px;font-size:11px;color:var(--muted)}.warehouse-resource-totals strong{font-size:19px;font-weight:500;color:var(--gold)}.warehouse-screen .warehouse-actions>input{font-size:16px}.warehouse-transfer-note{font-size:10px;color:#c1b18d;line-height:1.5}:root{font-family:Manrope,system-ui,sans-serif;color:#d7d0be;background:#100f0d;font-synthesis:none;font-size:12px;--gold: #c5a568;--muted: #817d70;--line: #3c372b;--panel: #201e19}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 50% 25%,#2b2921,#14130f 48%,#0d0d0b);min-height:100dvh}button{font:inherit;color:inherit;cursor:pointer;border:0;background:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:disabled{cursor:default;opacity:.5}button:focus-visible{outline:2px solid #dcc087;outline-offset:3px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Cormorant Garamond,Georgia,serif}svg{flex-shrink:0}small{font-size:10px}.muted,.tiny{color:var(--muted)}.tiny{font-size:10px}.game-shell{width:100%;max-width:430px;margin:auto;background:#191813;min-height:100dvh;position:relative;border-left:1px solid #373226;border-right:1px solid #373226;background-image:repeating-linear-gradient(100deg,transparent,transparent 3px,#ffffff01 4px)}main{padding-bottom:85px}.desktop-brand,.desktop-footer{display:none}.hero-bar{height:76px;padding:12px 17px;display:flex;justify-content:space-between;gap:18px;background:linear-gradient(#26241d,#1c1b16);border-bottom:1px solid #5b4b30;position:relative}.hero-bar:after{content:"";position:absolute;bottom:2px;left:10px;right:10px;border-bottom:1px solid #ffffff06}.hero-identity{display:flex;align-items:center;gap:10px;text-align:left;padding:0;min-width:0}.hero-identity strong{display:block;font-family:Georgia,serif;font-size:21px;color:#e6dcc5;letter-spacing:.3px}.hero-identity small{display:block;color:#9d9684;margin-top:4px;white-space:nowrap}.dot{padding:0 4px;color:#655f4d}.hero-resources{width:115px;flex-shrink:0;padding-top:1px}.gold{display:flex;justify-content:flex-end;gap:7px;align-items:center;font-size:17px;font-weight:700;color:#d6b973;font-variant-numeric:tabular-nums}.xp-label{font-size:9px;color:#8c8676;display:flex;justify-content:space-between;margin:7px 0 4px}.xp-label span{color:#b7af98}.xp-track,.hp-track{height:4px;background:#0c0d0b;overflow:hidden;border:1px solid #3e3b2d}.xp-track>div{height:100%;background:#9b9e66}.portrait{width:46px;height:46px;display:inline-flex;position:relative;align-items:center;justify-content:center;border-radius:50%;border:1px solid #665e44;box-shadow:inset 0 0 0 3px #151712,0 2px 4px #0006;overflow:hidden;background:radial-gradient(circle at 40% 25%,#555f3d,#242a1c 65%,#141810);flex-shrink:0;color:#b7c394}.portrait svg{height:28px;width:28px;z-index:1;filter:drop-shadow(1px 2px 1px #000)}.portrait img{width:100%;height:100%;object-fit:cover}.portrait-mark{position:absolute;bottom:-9px;left:9px;right:9px;height:30px;background:#090e0866;border-radius:50% 50% 0 0}.portrait-raider{background:radial-gradient(circle at 40% 25%,#665546,#2d211c 70%);color:#c3a47e}.portrait-militia{background:radial-gradient(circle at 40% 25%,#586577,#232a34 70%);color:#adb8c4}.portrait-ranger{background:radial-gradient(circle at 40% 25%,#536b51,#1c3126 70%);color:#b3c0a1}.portrait-skeleton{background:radial-gradient(circle at 40% 25%,#68615c,#302b28 70%);color:#c8c0af}.portrait-gold{background:radial-gradient(circle at 40% 25%,#716031,#302711 70%);color:#e2bf63}.portrait-chest{background:#423223;color:#caa56c}.portrait-hero{background:radial-gradient(circle at 40% 25%,#566745,#212c1e 70%);color:#c0cba9;border-color:#9a8150}.portrait.mini{height:32px;width:32px}.portrait.mini svg{height:20px;width:20px}.landscape{height:142px;overflow:hidden;position:relative;background:linear-gradient(180deg,#3c3e3b,#626150 45%,#776046 70%,#30271e);border-bottom:1px solid #554329}.landscape:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#141710ed,transparent 85%),repeating-linear-gradient(0deg,#00000009 0px,#00000009 1px,transparent 1px,transparent 3px);pointer-events:none}.landscape-sun{position:absolute;width:45px;height:45px;background:#bdac7980;border-radius:50%;top:17px;right:91px;box-shadow:0 0 45px #c3b58a3a}.mountains{position:absolute;left:-4%;width:110%;clip-path:polygon(0 50%,12% 39%,23% 50%,35% 20%,45% 35%,52% 15%,68% 50%,77% 40%,85% 50%,100% 25%,100% 100%,0 100%)}.mountain-back{height:130px;top:24px;background:#4e5043}.mountain-front{height:110px;top:61px;background:#423d2f;transform:scaleX(-1)}.ruin{position:absolute;background:#25291f;width:17px;height:56px;top:67px;right:71px;clip-path:polygon(0 10%,22% 10%,22% 0,46% 0,46% 10%,72% 10%,72% 2%,100% 2%,100% 100%,0 100%)}.ruin-two{right:36px;top:87px;height:39px;width:21px}.landscape-caption{position:absolute;z-index:2;bottom:14px;left:20px}.landscape-caption>span{display:flex;gap:5px;align-items:center;color:#bfad88;font-size:9px;text-transform:uppercase;letter-spacing:1.8px}.landscape h1{font-size:33px;line-height:1.2;color:#eee0be;font-weight:600;text-shadow:0 2px 3px #000;margin:6px 0}.landscape p{font-size:10px;color:#b2aa93}.location-badge{position:absolute;z-index:2;top:13px;left:17px;width:35px;height:38px;border:1px solid #c1ac704f;background:#252a2266;text-align:center;padding:3px;font-family:Georgia,serif;color:#cfc094;font-size:17px}.location-badge span{display:block;font:8px system-ui}.location-toolbar{display:flex;justify-content:space-between;align-items:center;height:33px;border-bottom:1px solid #383427;background:#24231b;padding:0 18px;font-size:10px;color:#9e9782}.location-toolbar>span{display:flex;align-items:center;gap:6px}.location-toolbar svg{color:#ae9564}.location-toolbar strong{color:#d2c29b;margin-left:3px}.encounters{padding:14px 15px 0}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:11px}.section-heading h2,.section-label{font-size:17px;font-weight:600;color:#cdbd98}.section-heading>span{font-size:11px;color:#c8b98e}.section-heading .tiny{font-size:9px;color:#7f7a69}.encounter-list{display:flex;flex-direction:column;gap:6px}.encounter{height:58px;border:1px solid #433d2d;display:flex;align-items:center;gap:12px;padding:6px 12px;width:100%;text-align:left;background:linear-gradient(105deg,#2b2b23,#22221c);border-radius:3px;position:relative}.encounter.enemy{--difficulty: #929080}.encounter.easy{--difficulty: #71935b}.encounter.medium{--difficulty: #bd9e4f}.encounter.deadly{--difficulty: #b85b48}.enemy .portrait{border-color:var(--difficulty);box-shadow:0 0 6px color-mix(in srgb,var(--difficulty) 16%,transparent),inset 0 0 0 3px #171812}.enemy:hover{border-color:var(--difficulty);background:#2d2e23}.encounter .portrait{width:40px;height:40px}.encounter-info{flex:1;min-width:0}.encounter-info strong{font-size:13px;color:#ded7c2;font-weight:600}.unit-count{color:#aaa589;margin-left:4px;font-size:12px}.encounter-info small{display:flex;gap:5px;align-items:center;color:#8f8b77;margin-top:5px;font-size:9px}.difficulty-dot{display:block;width:5px;height:5px;border-radius:50%;background:var(--difficulty);box-shadow:0 0 5px var(--difficulty)}.attack-label{color:#8f866c;display:flex;align-items:center;gap:7px;font-size:9px}.treasure{background:linear-gradient(105deg,#302b1d,#262319);border-color:#665232}.collect-button{border:1px solid #8e7543;border-radius:3px;background:linear-gradient(#514329,#3b301d);padding:9px 11px;color:#dfc38b;min-height:36px;font-size:10px}.fog{display:flex;align-items:center;justify-content:center;gap:7px;font-size:9px;color:#757362;margin:10px 0 0;padding-bottom:12px;border-bottom:1px solid #353226}.army-panel{padding:12px 15px 9px}.army-slots{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.army-slot{position:relative;padding:3px 0 0;display:flex;align-items:center;flex-direction:column;gap:7px;min-height:70px}.army-slot .portrait,.empty-circle{height:44px;width:44px}.army-slot strong{font-size:11px;font-weight:500;color:#cbc3a8}.slot-index{position:absolute;z-index:2;top:0;left:0;font-size:8px;background:#2c2b22;border:1px solid #686047;color:#c4b582;height:15px;width:15px;border-radius:50%;display:grid;place-items:center}.empty-circle{border:1px dashed #504c3b;display:grid;place-items:center;border-radius:50%;color:#615d4b;background:#14151055}.army-slot.empty{opacity:.65}.empty .slot-index{border-color:#464435;color:#817c67}.army-hint{font-size:8px;color:#797664;margin-top:9px;text-align:center}.travel-note{display:flex;justify-content:center;gap:13px;align-items:center;font-size:9px;color:#686451;padding:4px 10px 12px}.ornament{color:#8b7650}.bottom-nav{position:fixed;z-index:10;bottom:0;width:100%;max-width:428px;display:flex;background:linear-gradient(#28261e,#1b1a15);border-top:1px solid #625133;padding:3px 8px calc(5px + env(safe-area-inset-bottom));min-height:67px;box-shadow:0 -5px 16px #0003}.bottom-nav button{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;position:relative;min-height:54px;color:#817d6c;font-size:9px}.bottom-nav button.selected{color:#d0af6f}.bottom-nav i{position:absolute;top:-4px;left:22%;right:22%;height:2px;background:#c5a568;box-shadow:0 0 8px #b2935655}.bottom-nav button:disabled{opacity:.45}.toast{position:fixed;bottom:84px;left:50%;transform:translate(-50%);max-width:370px;width:calc(100% - 32px);padding:13px;background:#383220;border:1px solid #b59a61;color:#e2cb91;z-index:15;box-shadow:0 3px 15px #0008;font-size:12px}.toast small{display:block;margin-top:5px;color:#a99e7c;font-size:9px}.stack-detail{display:flex;align-items:center;gap:15px;margin:8px 0 22px}.stack-detail .portrait{width:62px;height:62px}.stack-detail h3{font-size:24px;color:#e2d4b5}.stack-detail h3 span{font-size:18px;color:#b39e6b}.stack-detail p{font-size:10px;color:#9a917b;margin-top:5px}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#433d2c;border:1px solid #433d2c}.stat-grid>div{display:flex;justify-content:space-between;padding:13px 12px;background:#24231c;font-size:10px;color:#9d9681}.stat-grid strong{font-size:12px;color:#dbcba4;font-weight:500}.warning{font-size:10px;color:#bda077;line-height:1.7;padding:14px 0 0}.page-title{text-align:center;padding:26px 0 20px;border-bottom:1px solid #3e3728}.page-title small,.battle-title small{color:#8e7b56;letter-spacing:1.6px;text-transform:uppercase;font-size:9px}.page-title h1{font-size:31px;color:#dfcea9;margin-top:6px}.secondary-screen{padding:0 16px 25px}.secondary-screen .army-panel{padding:20px 0}.parchment{background:#bbb08b;color:#3b382b;padding:20px 17px;margin-top:12px;box-shadow:inset 0 0 25px #78673e5e;border:1px solid #796c46}.parchment svg{color:#6a5a39;width:24px}.parchment h2{font-size:22px;margin:8px 0}.parchment p{font-size:11px;line-height:1.8}.coming-soon{text-align:center;padding:35px 16px;color:#9b927a}.coming-soon>svg{width:36px;height:36px;color:#a18b5b;stroke-width:1}.coming-soon h2{font-size:23px;color:#c9b891;margin:15px 0 9px}.coming-soon p{font-size:11px;line-height:1.8}.hero-detail{text-align:center;padding:25px 0}.hero-detail .portrait{width:72px;height:72px}.hero-detail h2{font-size:27px;margin-top:10px;color:#e0cea8}.hero-detail p{font-size:11px;color:#9c927b;margin-top:4px}.section-label{margin:24px 0 13px}.race-list{display:flex;flex-wrap:wrap;gap:7px}.race-list span{padding:9px 10px;border:1px solid #39372b;background:#24241c;font-size:10px;color:#868371}.race-list .chosen{border-color:#9b8553;color:#d6bc7e}.explanatory{font-size:10px;line-height:1.8;margin-top:20px}.inventory-list{padding-top:20px;display:grid;gap:8px}.inventory-item{display:flex;gap:12px;align-items:center;padding:12px;background:#26291e;border:1px solid #5d7045}.inventory-item strong{font-size:12px}.inventory-item small{display:block;color:#8e9c78;margin-top:5px}.roadmap{border-top:1px solid #3d3828}.roadmap>span{padding:17px 8px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #3d3828;color:#ada080}.roadmap small{margin-left:auto;color:#6f6b59}.prototype-note{font-size:9px;text-align:center;color:#787360;line-height:2;margin-top:30px}.combat-screen{padding:16px}.combat-heading{display:flex;align-items:center;gap:8px;color:#a39578;font-size:11px}.combat-heading strong{margin-left:auto;color:#d4bd83;font-size:10px;font-weight:500}.battle-title{text-align:center;padding:25px 0 20px}.battle-title h1{font-size:34px;margin:6px 0;color:#dcc797}.battle-title p{font-size:10px;color:#918974}.battle-field{position:relative;border:1px solid #4a402b;background:radial-gradient(ellipse,#34372a,#1b1e16);padding:18px 12px}.battle-side h2{font:9px Manrope,sans-serif;text-transform:uppercase;letter-spacing:1.5px;color:#9c9278;margin-bottom:14px}.battle-side.enemy{border-bottom:1px solid #464131;padding-bottom:23px;margin-bottom:22px}.fighters{display:flex;gap:18px;justify-content:center}.fighter{width:93px;text-align:center;position:relative;border:1px solid transparent;padding:8px 5px;background:#161b1240}.fighter.active{border-color:#ab9454;background:#74633c20}.fighter.fallen{opacity:.35;filter:grayscale(1)}.fighter strong{display:block;font-size:10px;font-weight:500;margin-top:7px}.fighter-count{display:block;font-size:15px;color:#dbc79a;margin:3px 0 5px;font-variant-numeric:tabular-nums}.fighter small{font-size:8px;color:#8c917a}.hp-track{height:4px;margin-bottom:3px}.hp-track>div{height:100%;background:#7d9563}.enemy .hp-track>div{background:#a46751}.versus{position:absolute;top:48%;left:46%;font-size:19px;background:#25281e;color:#8f7950;padding:0 7px}.damage-number{position:absolute;top:8px;left:50%;font-size:23px;font-weight:800;color:#e8a779;pointer-events:none;text-shadow:0 2px 2px #000}.initiative{display:flex;justify-content:space-between;align-items:center;margin:15px 0;font-size:9px;color:#8e8772}.initiative>div{display:flex;gap:7px}.initiative>div>span{position:relative;opacity:.6}.initiative .current .portrait{border-color:#e5c379}.initiative .spent{opacity:.25}.initiative small{position:absolute;bottom:-4px;right:-3px;background:#29251a;border:1px solid #726043;padding:1px 3px;font-size:8px;color:#d4b775}.turn-label{text-align:center;color:#bdb294;font-size:10px;margin:19px 0 10px}.combat-log{margin-top:24px;border-top:1px solid #3c3627;padding-top:15px}.combat-log h2{font-size:17px;color:#b8a47c;margin-bottom:9px}.combat-log p{font-size:9px;line-height:1.8;color:#92907b;padding:4px 0;border-bottom:1px solid #ffffff04}.combat-log p:last-child{color:#c0b28f}.result-panel{text-align:center;padding:20px 0 0}.reward-trophy{color:#c7a557;width:29px;height:29px}.reward-line{display:flex;gap:23px;justify-content:center;margin:15px 0;color:#d6c18a;font-size:13px}.reward-line span{display:flex;align-items:center;gap:5px}.item-reward{display:flex;align-items:center;gap:11px;text-align:left;padding:10px 13px;background:#303421;border:1px solid #606a40;margin-bottom:18px}.item-reward small{display:block;font-size:9px;color:#a0ab81;margin-top:3px}.empty-message{font-size:12px;padding:20px;text-align:center;color:#9f9479}.loading{text-align:center;padding:80px;color:#c7ac70}.rarity-rare{border-color:#536f8d}.rarity-epic{border-color:#856293}@media(min-width:600px){body{padding:36px 0}.desktop-brand{display:flex;flex-direction:column;align-items:center;margin-bottom:25px}.desktop-brand>span{font:28px Georgia,serif;letter-spacing:6px;color:#b7a174}.brand-rpg{font-size:12px;letter-spacing:3px;margin-left:10px}.desktop-brand small{font-size:8px;letter-spacing:2px;text-transform:uppercase;color:#736b56;margin-top:8px}.game-shell{min-height:790px;box-shadow:0 14px 75px #0008;border:1px solid #625133}.bottom-nav{position:sticky;margin-top:-70px}.desktop-footer{display:block;text-align:center;font-size:9px;color:#706752;margin-top:20px;letter-spacing:1px}main{min-height:720px}.sheet-backdrop{align-items:center}.sheet{border-radius:8px}}@media(max-width:380px){.encounter{gap:9px;padding:9px}.encounter-info strong{font-size:12px}.attack-label span{display:none}.hero-bar{padding:12px 13px}.army-slot .portrait,.empty-circle{width:40px;height:40px}.army-hint{font-size:7px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}:root{--muted: #a09a85}.hero-identity small{font-size:11px;color:#b5ab94}.xp-label{font-size:10px;color:#b0a68e}.xp-label span{color:#d0c4a9}.landscape-caption>span{font-size:10px;letter-spacing:1.2px}.landscape h1{font-size:31px}.landscape p{font-size:11px;color:#c9bea3}.location-backdrop,.location-illustration{position:absolute;inset:0;width:100%;height:100%}.location-illustration{object-fit:cover}.location-toolbar{font-size:11px;color:#bdb398}.section-heading .tiny{font-size:10px;color:#a59b82}.encounter{height:62px;background:linear-gradient(110deg,#303125,#24241c);border-color:#57503c;box-shadow:inset 0 1px #e8d6a00b,inset 0 -2px #0003}.encounter .portrait{width:44px;height:44px}.encounter-info strong{font-size:13px}.unit-count{font-size:15px;color:#dbcba3;font-weight:700;margin-left:6px}.encounter-info small{font-size:10px;color:#beb59a}.enemy .portrait{border-width:2px;box-shadow:0 0 9px color-mix(in srgb,var(--difficulty) 23%,transparent),inset 0 0 0 3px #171812}.difficulty-dot{width:6px;height:6px}.attack-label{color:#c0ac80;font-size:10px}.treasure{background:linear-gradient(105deg,#413721,#2d281a);border-color:#917541}.collect-button{font-size:11px;min-height:40px;color:#f1d9a7}.fog{font-size:10px;color:#a29b83;margin-top:9px;padding-bottom:10px}.army-slot strong{font-size:13px;color:#decba3}.slot-index{font-size:10px;width:17px;height:17px}.army-hint{font-size:10px;line-height:1.5;color:#b1a68c;margin-top:5px}.travel-note{font-size:10px;color:#9f9173}.bottom-nav button{font-size:10px;color:#aaa18b}.bottom-nav button.selected{color:#e1c084}.page-title{padding:17px 0 14px}.page-title h1{font-size:28px;margin-top:4px}.page-title small{font-size:10px}.stat-grid>div{font-size:12px;color:#bcb297;padding:14px 12px}.stat-grid strong{font-size:14px;color:#ead6ad}.warning,.explanatory,.inventory-hint{font-size:11px;line-height:1.6;color:#b7aa8c}.secondary-screen .army-panel{padding:14px 0 10px}.army-roster{border-top:1px solid #51462e;padding-top:14px}.roster-row{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;text-align:left;border:1px solid #494534;background:linear-gradient(105deg,#2c2e23,#23231c);margin:5px 0;padding:8px 10px;border-radius:2px}.roster-row .portrait{width:40px;height:40px}.roster-number{width:18px;font-family:Georgia,serif;font-size:17px;color:#c5ae79}.roster-row strong{display:block;font-size:13px;color:#e0d3b3}.roster-row small{display:block;font-size:10px;color:#b3a98e;margin-top:4px}.roster-row b{margin-left:auto;color:#dfc88e;font-size:17px;font-weight:600}.reorder-grip{margin-left:auto;color:#736d55;font-size:20px}.roster-row b+.reorder-grip{margin-left:4px}.roster-row.vacant{min-height:38px;border-style:dashed;color:#9b9278;opacity:1;background:#17191266;font-size:11px}.compact-hint{display:flex;gap:10px;align-items:center;padding:12px 10px;background:#363020;border:1px solid #65573a;margin-top:14px;color:#c9b68c}.compact-hint p{font-size:11px;line-height:1.6}.compact-hint button{min-width:32px;min-height:36px;padding:0}.hero-detail{padding:23px 0 20px;background:radial-gradient(ellipse at 50% 25%,#5f53352b,transparent 65%)}.hero-emblem{position:relative;width:112px;height:112px;margin:0 auto;display:grid;place-items:center;border:1px solid #72603b;outline:1px solid #4b432d;outline-offset:5px;border-radius:50%;background:repeating-conic-gradient(#aa8d4a17 0deg 1deg,transparent 1deg 30deg)}.hero-emblem .portrait{width:88px;height:88px;border-color:#b39353}.hero-emblem .portrait svg{width:45px;height:45px}.emblem-star{position:absolute;top:-14px;background:#242219;padding:0 5px;color:#bda066;font-size:17px}.hero-level{position:absolute;bottom:-5px;border:1px solid #a48a50;background:#373322;color:#e2c58a;font:16px Georgia,serif;width:27px;height:27px;display:grid;place-items:center;border-radius:50%}.hero-detail p{font-size:12px;color:#b8ab8f}.hero-lineage{display:flex;gap:12px;align-items:center;padding:16px 12px;margin-top:16px;border:1px solid #5b4e32;background:#2a2c21;color:#c6ae78}.hero-lineage small,.hero-lineage strong{display:block}.hero-lineage small{font-size:10px;color:#b7ac91;margin-bottom:4px}.hero-lineage strong{font-family:Georgia,serif;font-size:18px;color:#ddc697;font-weight:400}.lineage-mark{margin-left:auto;font-size:10px;color:#afa389}.equipment-panel,.bag-panel{padding-top:20px}.equipment-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.equipment-slot{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;height:104px;padding:6px 2px;min-width:0;background:linear-gradient(#26271e,#1b1d16);border:1px solid #524b36;box-shadow:inset 0 0 0 3px #11130e55;color:#9d926e}.equipment-slot span{font-size:10px;line-height:1.15;max-width:100%;color:#b9ac8c}.equipment-slot small{font-size:8px;line-height:1.1;overflow-wrap:anywhere;max-width:100%}.inventory-hint{margin:10px 0 0;font-size:10px;color:#a99e82}.bag-panel .section-heading h2{display:flex;gap:7px;align-items:center}.bag-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.bag-slot{height:76px;position:relative;display:grid;place-items:center;border:1px solid #716047;background:radial-gradient(circle,#423920,#242219);color:#ceb179;box-shadow:inset 0 0 0 3px #0f130e66}.bag-slot img{max-width:75%;max-height:75%;object-fit:contain}.bag-slot.vacant{background:#191c15;border-color:#3b3e2e;color:#424938}.item-tier{position:absolute;top:5px;left:7px;color:#b7c99b;font:11px Georgia,serif}.item-quantity{position:absolute;bottom:5px;right:7px;font-size:11px;color:#d9c897}.item-caption{display:flex;gap:10px;align-items:center;padding:13px 11px;margin-top:10px;background:#2e3422;border-left:2px solid #8caa63;color:#d9c89f}.item-caption strong{font-size:12px}.item-caption small{display:block;margin-top:5px;color:#b6c599;font-size:10px}.rarity-gem{margin-left:auto;width:8px;height:8px;background:#a4ba77;transform:rotate(45deg)}.combat-main{padding-bottom:24px;min-height:0}.combat-screen{padding:14px 16px 20px}.combat-heading{font-size:11px;color:#c1af8c}.combat-heading strong{font-size:11px}.battle-title{padding:12px 0 13px}.battle-title small{display:none}.battle-title h1{font-size:24px;margin:0 0 4px;line-height:1.15}.battle-title p{font-size:11px;color:#b5a88b}.battle-field{padding:12px 11px;background:radial-gradient(ellipse at 50% 45%,#3e422f,#1f2319);border-color:#665433;box-shadow:inset 0 0 24px #0c100a88}.battle-side h2{font-size:10px;letter-spacing:1.2px;color:#c0ac83;margin-bottom:5px}.battle-side.enemy{padding-bottom:13px;margin-bottom:12px}.fighters{gap:10px;flex-wrap:wrap}.fighter{width:98px;padding:5px 8px;border-radius:2px;background:#171c124f}.fighter.active{border-color:#cdb475;box-shadow:0 0 12px #c3a34e24,inset 0 0 15px #b6974520}.fighter-portrait-area{position:relative;display:flex;justify-content:center}.fighter .portrait{width:58px;height:58px;border-width:2px}.fighter .portrait svg{width:33px;height:33px}.enemy .fighter{width:146px;background:transparent}.enemy .fighter .portrait{width:76px;height:76px;border-color:#a78a55;box-shadow:0 0 15px #a486482b,inset 0 0 0 4px #141711}.enemy .fighter .portrait svg{width:43px;height:43px}.fighter strong{font-size:12px;margin-top:5px}.fighter-count{font-size:19px;margin:2px 0 5px;color:#ebd2a1;font-weight:600}.fighter small{font-size:10px;color:#c1b995}.hp-track{height:6px;border-color:#58583e}.fighter .damage-number{top:10px;left:35%;font-size:27px;font-weight:800;color:#ffcf98;z-index:4;text-shadow:0 2px 2px #000,0 0 8px #000}.hit-flash{position:absolute;inset:0;width:58px;height:58px;margin:auto;background:#ffe3a4;border-radius:50%;pointer-events:none;mix-blend-mode:screen}.enemy .hit-flash{width:76px;height:76px}.acting-marker{position:absolute;bottom:-3px;background:#d2b477;border:1px solid #e3c88c;color:#282419;font-size:8px;font-weight:800;letter-spacing:1px;padding:1px 5px;z-index:2}.projectile{position:absolute;left:50%;font-size:24px;color:#ddc191;z-index:3}.versus{top:50%;font-size:16px;left:calc(50% - 15px)}.turn-panel{margin:12px 0;border:1px solid #625333;background:linear-gradient(110deg,#363424,#26271d);padding:10px 11px}.turn-status{display:flex;align-items:center;gap:9px}.turn-status small{display:block;font-size:10px;color:#c5b48b;margin-bottom:3px}.turn-status strong{font-size:13px;color:#ebd4a0}.turn-indicator{width:7px;height:7px;border-radius:50%;background:#d1b56a;box-shadow:0 0 8px #d1b56a88}.turn-indicator.hostile{background:#d49372;box-shadow:0 0 8px #c17050}.round-tag{font-size:10px;color:#bcb18e;margin-left:auto}.initiative{margin:8px 0 0;border-top:1px solid #60573766;padding-top:8px;font-size:11px;color:#c3b594}.initiative>div{gap:12px;padding-bottom:3px}.initiative .portrait.mini{height:36px;width:36px}.initiative>div>span{opacity:.75}.initiative .current{opacity:1}.initiative .current .portrait{border:2px solid #e0bd6d;box-shadow:0 0 9px #e0bd6d44}.initiative small{font-size:10px;right:-3px;bottom:0}.initiative b{font-size:8px;position:absolute;bottom:-8px;left:0;color:#e5c77e;width:100%;text-align:center}.combat-log{margin-top:18px;padding-top:12px}.combat-log p{font-size:11px;color:#bfb49a;line-height:1.65}.combat-log p:last-child{color:#e0cba2}.combat-result .battle-title{padding:15px 0}.combat-result .battle-title h1{font-size:32px;color:#edcf87}.combat-result .battle-field{padding:10px}.combat-result .fighter{width:105px}.combat-result .fighter .portrait{width:56px;height:56px}.combat-result .battle-side h2{margin-bottom:8px}.result-panel{padding:14px 0 0}.reward-heading{display:flex;justify-content:center;align-items:center;gap:9px;padding:11px;border-top:1px solid #a6894c;background:linear-gradient(90deg,transparent,#8b703b23,transparent)}.reward-heading h2{font-size:21px;color:#e1c68c}.reward-trophy{width:23px;height:23px}.reward-line{margin:14px 0;gap:28px;font-size:16px;font-weight:600;color:#e7c986}.item-reward{padding:12px;margin-bottom:16px;background:radial-gradient(ellipse at 20% 50%,#505c32,#2c3421);border:1px solid #91a85f;box-shadow:inset 0 0 0 3px #a3b66f0b,0 0 18px #a3b66f11}.item-reward .portrait.mini{width:42px;height:42px;border-color:#a3b66f}.item-reward strong{font-size:13px;color:#ebd4a2}.item-reward small{font-size:11px;color:#b9cf97;margin-top:5px}@media(max-width:380px){.encounter{padding:6px 9px}.army-hint{font-size:10px}.location-toolbar{padding:0 14px}.roster-row{min-height:56px}}.stat-reset-preview{margin:20px 0;border:1px solid #bda26430}.stat-reset-preview>div{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border-bottom:1px solid #bda26420}.stat-reset-preview>div:last-child{border-bottom:0}.stat-reset-preview dt{color:#aaa38d}.stat-reset-preview dd{margin:0;text-align:right}.account-shell{min-height:100dvh;padding:24px 18px}.guest-welcome{display:grid;gap:15px;justify-items:center;text-align:center;padding:28px 8px 12px}.guest-welcome .portrait{width:92px;height:92px}.guest-welcome h2{margin:0;color:#e1c68e;font-size:24px}.account-screen .guest-welcome p{margin:0;max-width:32ch}.guest-login-button{min-height:44px;width:100%;border:1px solid #726440;border-radius:8px;color:#d5c398;background:#21241a;font-size:13px}.guest-welcome .primary-button{width:100%}.guest-welcome .account-note{max-width:38ch}.account-settings-intro{display:flex;align-items:flex-start;gap:12px;color:#cdb77f;margin-bottom:18px}.account-settings-intro svg{flex:0 0 auto;margin-top:3px}.account-settings-intro p{margin:0;color:#bcb49d;font-size:13px;line-height:1.6}.account-settings-form{display:grid;gap:14px}.account-settings-form label{display:grid;gap:7px;color:#d6c9a8;font-size:13px}.account-settings-form input{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #675d3c;border-radius:8px;background:#161912;color:#f2e4bf;font:inherit}.account-settings-form input:focus-visible{outline:2px solid #c6a565;outline-offset:2px}.account-settings-form .captcha-panel{margin:0;min-width:0}.account-settings-form .captcha-image-row{flex-wrap:wrap}.account-settings-success{display:grid;justify-items:center;gap:12px;text-align:center;padding:16px 0}.account-settings-success svg{color:#adbd7f}.account-settings-success p{margin:0;overflow-wrap:anywhere}.account-settings-success .primary-button{width:100%}.account-settings-actions{display:grid;gap:8px;margin-top:20px}.settings-save-progress{border-color:#8d7741;background:linear-gradient(105deg,#37351f,#20241b)}.settings-service small{overflow-wrap:anywhere}.account-screen{padding:25px 4px}.account-icon{color:#c6a565;width:42px;height:42px;margin-bottom:18px}.account-screen h1{color:#e1c68e;font-size:30px;line-height:1.15;margin:10px 0}.account-screen p{color:#b5aa90;font-size:12px;line-height:1.7;margin:12px 0 22px}.account-kicker{display:block;color:#a99160;letter-spacing:2px}.account-screen form{display:grid;gap:18px;margin-top:22px}.account-screen label{display:grid;gap:8px;font-size:12px;color:#d1c1a0}.account-screen input:not([type=radio]){width:100%;min-height:45px;border:1px solid #76613c;border-radius:2px;background:#141710;color:#e7d7b5;font:14px system-ui;padding:10px}.account-screen input:focus-visible{outline:2px solid #c3a365;outline-offset:2px}.account-tabs{display:flex;border-bottom:1px solid #645333}.account-tabs button{flex:1;padding:14px;font-size:12px;color:#b6aa8d}.account-tabs .selected{border-bottom:2px solid #c6a565;color:#e1c68e}.account-screen fieldset{margin:0;padding:14px 0;border:0}.account-screen legend{font-size:12px;color:#d1c1a0}.create-races{display:grid;grid-template-columns:1fr 1fr;gap:8px}.create-races label{display:flex;align-items:center;gap:7px;padding:12px 9px;background:#27291d;border:1px solid #5a5137;cursor:pointer}.create-races .chosen{border-color:#c5a165;background:#3b3824}.create-races input{accent-color:#c5a165}.account-note{color:#a89c80;font-size:11px;line-height:1.7}.text-button{min-height:44px;font-size:12px;color:#d1b981;text-decoration:underline;padding:10px}.captcha-panel{display:grid;gap:12px}.captcha-image-row{display:grid;grid-template-columns:minmax(0,200px) auto;align-items:center;gap:10px;min-height:70px}.captcha-image-row img{width:100%;height:auto;border:1px solid #76613c;border-radius:2px}.captcha-panel input{letter-spacing:4px;text-transform:uppercase}.captcha-error{color:#f1c8a9;font-size:12px}.api-error{position:relative;z-index:20;padding:12px 15px;background:#492c22;border:1px solid #b7805d;color:#f1c8a9;font-size:12px;line-height:1.6;display:flex;gap:10px;align-items:center}.api-error button{margin-left:auto;min-height:32px;color:#f5d0ae}.stat-allocation{margin-top:16px;border:1px solid #625332;padding:12px;background:#2c2c1f}.allocate-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.allocate-grid button{display:flex;align-items:center;justify-content:space-between;padding:10px;min-height:42px;border:1px solid #776440;color:#ddc38e;background:#3e3523;font-size:11px}.allocate-grid button:disabled{opacity:.5}.flee-button{width:100%;min-height:38px;font-size:12px;color:#bcb093;border:1px solid #5d5239;margin-top:7px;background:#24251c}.recovery-panel{padding:12px;border:1px solid #75613b;margin-bottom:12px}.recovery-panel p{margin-bottom:10px;font-size:11px;color:#c3b18a}.critical-label{display:block;color:#ffdb90!important;font-size:10px!important;font-weight:800}.critical-hit .hit-flash{background:#ffd063}.bag-slot.rarity-rare{border-color:#6e9fc0}.bag-slot.rarity-epic{border-color:#ae80ba}.combat-controls{display:grid;grid-template-columns:2fr 1fr;gap:8px}.combat-controls .flee-button{margin:0;min-height:48px}.rarity-mythic{--rarity: #ec6069}.enhancement-panel{margin-top:16px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#22241a}.enhancement-panel h3{font-size:19px;margin:0 0 10px}.enhancement-panel p{font-size:12px;line-height:1.5;margin:9px 0}.enhancement-panel .primary-button{margin-top:4px}.enhancement-success{color:#a7c487}.enhancement-failure{color:#d5b986}.equipment-slot{position:relative}.enhancement-badge{position:absolute;top:3px;right:3px;background:#181c15dd;color:#dec391;border-radius:8px;padding:1px 4px;font-size:10px}.chest-reward{text-align:center;padding:16px 0}.chest-reward>.art-icon{margin:18px auto 10px}.chest-reward h3{font-size:25px;margin:8px 0}.chest-reward .primary-button{margin-top:16px}.bag-slot[class*=rarity-],.equipment-slot[class*=rarity-],.item-detail-header[class*=rarity-],.combat-item-drop,.pending-item{border-color:var(--rarity)}.bag-slot[class*=rarity-]{background:radial-gradient(ellipse at 50% 30%,color-mix(in srgb,var(--rarity) 24%,#202219),color-mix(in srgb,var(--rarity) 9%,#181b15));box-shadow:inset 0 0 0 3px #0f130e66,0 0 10px color-mix(in srgb,var(--rarity) 12%,transparent)}.equipment-slot.occupied{color:#d7c49d;opacity:1}.equipment-slot:disabled{opacity:.7}.equipment-slot small{font-size:8px;color:var(--rarity)}.inventory-filters,.weapon-choice{display:flex;gap:6px;margin:12px 0}.inventory-filters button,.weapon-choice button{min-height:40px;flex:1;background:#25251b;border:1px solid #484331;font-size:12px}.inventory-filters .selected,.weapon-choice .selected{border-color:var(--gold);color:#e1c587;background:#393420}.bag-slot .bag-name{font-size:10px;line-height:1.2;text-align:center;color:#d6ccb6;max-width:100%;overflow-wrap:anywhere;padding:0 4px}.bag-slot svg{flex-shrink:0}.bag-slot{gap:5px}.item-detail-header{display:flex;gap:14px;align-items:center;border:1px solid;padding:14px;margin:12px 0;background:#21251a}.item-detail-header>svg{color:var(--rarity);flex-shrink:0}.item-detail-header h3{font-size:23px;line-height:1.1;margin-bottom:6px;color:#e3cca0}.item-detail-header p{font-size:13px;color:var(--rarity)}.item-detail-header small{font-size:12px;color:#bfb294;display:block;margin-top:5px}.item-affixes{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}.item-affixes>div{display:flex;justify-content:space-between;background:#22241a;padding:10px;font-size:13px;border-bottom:1px solid #4f4936}.item-affixes strong{color:#d5bb81}.pending-rewards{margin-top:16px;padding-top:12px;border-top:1px solid #655239}.pending-item{display:flex;gap:10px;align-items:center;width:100%;border:1px solid;padding:10px;margin:8px 0}.pending-item strong{flex:1;text-align:left}.pending-item small{font-size:12px}.combat-item-drop{display:flex;gap:10px;align-items:center;border:1px solid;padding:10px;margin:0 0 12px;background:#292919}.combat-item-drop>svg{color:var(--rarity)}.combat-item-drop strong{display:block;font-size:15px;color:#e0c697}.combat-item-drop small{display:block;color:var(--rarity);font-size:11px;margin:3px 0}.combat-item-drop p{font-size:11px;color:#cabc98;line-height:1.4}.stat-grid .stat-breakdown{display:block;grid-column:1/-1;font-size:11px;line-height:1.4;color:#b6a887}.theme-green .location-backdrop{filter:hue-rotate(40deg) saturate(.75)}.theme-grave .location-backdrop{filter:grayscale(.8) brightness(.7)}.theme-stone .location-backdrop{filter:grayscale(.6)}.theme-forest .location-backdrop{filter:hue-rotate(60deg) saturate(.8)}.theme-ash .location-backdrop{filter:sepia(.5) hue-rotate(-20deg)}.theme-cave .location-backdrop{filter:hue-rotate(210deg) saturate(.4) brightness(.65)}.stat-grid>div{display:grid;grid-template-columns:1fr auto;gap:4px}.bag-slot .bag-name{font-size:11px}.bulk-dismantle-button{width:100%;padding:10px 12px;margin-bottom:12px}.salvage-rarities{display:grid;grid-template-columns:1fr 1fr;gap:8px;border:1px solid var(--line);border-radius:12px;padding:12px}.salvage-rarities label{display:flex;gap:6px;align-items:center;font-size:13px}.salvage-filters{display:grid;grid-template-columns:minmax(0,1.3fr) 1fr 1fr;gap:8px;margin:12px 0}.salvage-filters label{min-width:0;font-size:12px}.salvage-filters input,.salvage-filters select{width:100%;min-width:0;margin-top:4px;padding:8px;box-sizing:border-box;background:#171811;color:#d7d0be;border:1px solid var(--line);border-radius:8px;font:inherit;min-height:36px}.salvage-filters input:focus,.salvage-filters select:focus{outline:1px solid var(--gold)}.salvage-rarities input,.salvage-item>input{accent-color:var(--gold);width:16px;height:16px;flex-shrink:0}.salvage-list{max-height:34dvh;overflow-y:auto;overscroll-behavior:contain}.salvage-item{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid var(--line)}.salvage-item span{min-width:0}.salvage-item strong,.salvage-item small{display:block;font-size:12px}.salvage-summary{padding:8px 0}.legendary-effect{color:var(--gold);line-height:1.5;font-size:12px}.healing-status{display:block;font-size:11px;color:var(--muted)}.rarity-mythic{--rarity: #ec6069;--rarity-rgb: 236, 96, 105}.art-icon.rarity-mythic{border-color:#ec6069;box-shadow:0 0 11px #c5363d40}.orb-stock{margin:12px 0;padding:12px;border:1px solid #92825b42;background:#15171088;border-radius:14px}.orb-stock .section-heading{gap:8px;margin:0 0 8px}.orb-stock h3{font-size:15px;margin:0}.orb-stock small{color:#a7a18e;font-size:10px}.orb-stock-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.orb-stock-grid button{display:flex;align-items:center;flex-direction:column;gap:4px;padding:5px;background:none;border:1px solid transparent;border-radius:10px}.orb-stock-grid button[aria-pressed=true]{background:#b49a5430;border-color:#b49a5460}.orb-stock-grid b{font:12px var(--font-body, sans-serif);font-variant-numeric:tabular-nums}.orb-icon{flex-shrink:0}.orb-crafting{margin:14px 0;border:1px solid #a290594f;border-radius:12px;background:#16180f80}.orb-crafting>summary{cursor:pointer;padding:13px;font-weight:600;color:#ddc890}.orb-crafting>summary span{font-size:10px;font-weight:400;color:#a7a18e;float:right}.orb-crafting-body{padding:0 12px 12px}.orb-option{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 0;border-top:1px solid #8176522b}.orb-option strong{display:block;font-size:13px;color:#e0cfaa}.orb-option small{display:block;font-size:11px;color:#b8b19b;line-height:1.45;margin-top:4px}.orb-option .orb-reason{color:#a38e7b}.orb-option button{font-size:12px;min-height:44px;padding:6px 9px}.orb-option button span{display:block;font-size:10px;margin-top:3px}.orb-confirm,.orb-result,.orb-corrupted{border:1px solid #bb9e604d;border-radius:10px;padding:12px;font-size:12px;background:#36312180}.orb-confirm-chaos,.orb-corrupted{border-color:#b875cf75;background:#3a244470}.orb-confirm p,.orb-corrupted p{color:#c8c0ae;line-height:1.5;margin:8px 0}.orb-confirm>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}.orb-corrupted{display:flex;gap:12px;align-items:start;margin:12px 0}.orb-result{margin-top:12px}.orb-stat-comparison{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:10px}.orb-stat-comparison span,.orb-stat-comparison small{display:block;margin:4px 0}.orb-stat-comparison small{color:#b7a77c}.art-icon{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;border-radius:4px;overflow:hidden;border:2px solid var(--rarity, #77735e);background:radial-gradient(ellipse at 50% 30%,#29272f,#0c0c12);box-shadow:0 2px 6px #0005;box-sizing:border-box}.art-icon img{display:block;width:100%;height:100%;object-fit:cover;border-radius:2px}.art-icon:not(.art-icon-contained) img{-webkit-mask-image:radial-gradient(circle closest-side,#000 89%,transparent 95%);mask-image:radial-gradient(circle closest-side,#000 89%,transparent 95%)}.bag-slot .art-icon img{max-width:100%;max-height:100%;object-fit:cover}.race-art-title{display:flex;align-items:center;gap:12px;margin-bottom:12px}.race-art-title h2{margin:0}.create-races label{display:flex;align-items:center;gap:8px}.portrait{border-radius:50%;border-width:2px}.portrait.small{width:36px;height:36px}.rarity-common{--rarity: #888579}.rarity-uncommon{--rarity: #7d9a62}.rarity-rare{--rarity: #749fc0}.rarity-epic{--rarity: #a687b3}.rarity-legendary{--rarity: #cea65e}.rarity-common .portrait,.rarity-uncommon .portrait,.rarity-rare .portrait,.rarity-epic .portrait,.rarity-legendary .portrait{border-color:var(--rarity)}.equipment-slot .art-icon{margin:auto}.equipment-slot .art-icon,.bag-slot .art-icon{text-overflow:clip;white-space:normal}.world-tabs{display:flex;gap:6px;margin:12px 0}.world-tabs button{flex:1;min-width:0;padding:10px 6px;border:1px solid #444738;border-radius:6px;color:#aaa998;background:#1c201a;font:inherit}.world-tabs button.selected{color:#e0d3a9;border-color:#a08955;background:#363827}.market-screen{padding:18px 16px 28px}.market-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0 10px}.market-filters .wide{grid-column:1 / -1}.market-screen label{display:grid;gap:6px;font-size:12px;color:#b4b39f}.market-screen input,.market-screen select{width:100%;min-width:0;box-sizing:border-box;border-radius:6px;border:1px solid #494c3b;background:#171b16;color:#ded7bf;padding:10px;font:inherit}.market-sell{display:grid;gap:15px;padding:15px 0}.market-list{display:grid;gap:10px;margin-top:16px}.market-card{border:1px solid #404636;background:#1c211a;border-radius:8px;overflow:hidden}.market-detail{display:flex;align-items:center;gap:12px;padding:14px;text-align:left;width:100%;background:none;color:inherit;border:0}.market-detail>span:last-child{display:grid;gap:5px;min-width:0}.market-detail strong{font-size:14px;overflow-wrap:anywhere}.market-detail small{color:#a6ac93;font-size:11px}.market-detail b{color:#d9b968;font-size:13px}.market-card-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;border-top:1px solid #3a4031;padding:9px 14px;font-size:11px;color:#a6ac93}.market-card-footer .text-button{font-size:12px}.market-receipt{display:grid;gap:7px;padding:12px;margin:10px 0;border:1px solid #8d794b66;border-radius:8px;background:#191f1766;font-size:11px}.market-receipt>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.market-receipt dt{color:#b0aa91}.market-receipt dd{margin:0;color:#e4c990;text-align:right;overflow-wrap:anywhere}.market-receipt .receipt-highlight{padding-top:8px;border-top:1px solid #87714755}.receipt-highlight dd{font-size:16px}.market-checkout{margin:0 0 8px;padding:8px 10px;gap:4px}.market-stock{display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:32px;color:#b4a88c;font-size:10px}.market-stock .text-button{min-height:32px;font-size:11px}.market-screen .warning .text-button{display:block;margin-top:6px}.quest-entry>span:not(.portrait){flex:1;display:grid;gap:5px;text-align:left}.quest-entry small{font-size:10px}.npc-intro{display:flex;gap:14px;align-items:center;margin:10px 0}.npc-intro .portrait{width:68px;height:68px}.npc-intro p{color:#bfc3aa;line-height:1.5}.quest-list{display:grid;gap:12px;margin:18px 0}.quest-card{padding:15px;border-radius:8px;border:1px solid #4a503b;background:#20271d;color:#dad7c2;text-align:left}.quest-card>strong{display:flex;justify-content:space-between;gap:8px;font-size:14px}.quest-card>strong small{color:#c5ab6a;white-space:nowrap;font-size:11px}.quest-card>p{font-size:12px;line-height:1.6;color:#b2b8a2}.quest-card.completed{opacity:.65}.quest-card>small{display:block;color:#cab679;margin-top:12px}.quest-progress{color:#abbf8d;font-size:13px}.quest-rewards{display:flex;flex-wrap:wrap;gap:10px 14px;padding:12px 0}.quest-rewards>span{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:#d1c29a}.quest-rewards .portrait{width:30px;height:30px}.quest-delivery{padding:12px 0}.delivery-item{display:flex;align-items:center;gap:10px;border:1px solid #424936;padding:10px;border-radius:6px;margin:8px 0}.delivery-item>span:last-child{display:grid;gap:4px;font-size:12px}.delivery-item small{color:#b2b8a2}.delivery-item input{accent-color:#a9ba7c;width:18px;height:18px}.nearby-panel{margin:20px 16px;padding:16px 0;border-top:1px solid #414633}.nearby-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.nearby-list button{display:flex;align-items:center;gap:9px;padding:9px 12px;border-radius:7px;border:1px solid #454a35;background:#20261c;color:#c7cdb4;text-align:left}.nearby-list button>span:last-child{display:grid;gap:3px}.nearby-list strong{font-size:12px;overflow-wrap:anywhere}.nearby-list small{font-size:10px;color:#9da788}.sale-attachment{border:1px solid #8e7b45;border-radius:8px;background:#2c2c1e;padding:15px;display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:18px 0}.sale-attachment>.primary-button{flex:1 0 100%}.world-map-back{display:flex;align-items:center;gap:6px;color:#d7b86f;padding:8px 0}.home-actions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;padding:16px 10px 13px;margin:8px 0 10px;border-top:1px solid #79643d80;border-bottom:1px solid #79643d60;background:radial-gradient(ellipse at 50% 0,#8c71351c,transparent 75%),linear-gradient(#24231b,#171b17);box-shadow:inset 0 1px #d1b57a13,0 4px 15px #0002}.home-action{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;padding:0;color:#d6c7a5;text-align:center;font-size:10px;line-height:1.3}.home-action-medallion{display:block;width:clamp(35px,11vw,49px);aspect-ratio:1;overflow:hidden;border-radius:50%;border:1px solid #9a8150;background:#141913;box-shadow:0 3px 7px #0009,0 0 0 2px #74613c29;transition:filter .18s,transform .18s,box-shadow .18s}.home-action-medallion img{display:block;width:100%;height:100%;object-fit:contain}.home-action-raven img,.home-action-market img{object-fit:cover}.home-action>span:last-child{min-height:2.6em;max-width:100%;overflow-wrap:normal}.home-action:hover .home-action-medallion{filter:brightness(1.15);transform:translateY(-2px);box-shadow:0 4px 10px #0009,0 0 9px #c7a35544}.home-action:disabled{opacity:.5}@media(max-width:350px){.home-actions{gap:3px;padding-left:7px;padding-right:7px}.home-action{font-size:8px;gap:7px}}.game-shell.chat-shell{position:fixed;top:var(--chat-top, 0px);left:50%;transform:translate(-50%);height:var(--chat-height, 100dvh);min-height:0;margin:0;display:flex;flex-direction:column;overflow:hidden}.chat-shell>.hero-bar,.chat-shell>.illustrated-nav{flex-shrink:0}.game-shell.chat-shell .illustrated-nav{position:static;transform:none;max-width:none;margin:0}.chat-shell.chat-keyboard-open>.hero-bar,.chat-shell.chat-keyboard-open>.illustrated-nav{display:none}.game-shell.chat-shell>.chat-main{display:flex;flex:1;flex-direction:column;min-height:0;padding-bottom:0;overflow:hidden}.chat-main>div{display:flex;flex-direction:column;flex:1;min-height:0}.chat-screen{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:10px 12px}.chat-screen .social-heading{flex-shrink:0;margin-bottom:5px}.chat-screen .social-heading h1{font-size:21px}.chat-screen>.muted{font-size:10px;margin:0 0 5px;line-height:1.4;flex-shrink:0}.chat-timeline{display:flex;flex-direction:column;position:relative;flex:1;min-height:0}.chat-screen .chat-history{flex:1;min-height:0;height:auto;padding:3px 0;touch-action:pan-y;-webkit-overflow-scrolling:touch;overflow-anchor:none}.chat-screen .chat-message{padding:6px 8px;margin-bottom:5px}.chat-screen .chat-message header button{font-size:11px;padding:3px 0}.chat-screen .chat-message p{margin:3px 0 0;font-size:12px;line-height:1.4}.chat-screen .chat-composer{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:4px 6px;padding-top:6px;flex-shrink:0;background:#191813}.chat-screen .chat-composer textarea{height:40px;min-height:40px;max-height:84px;padding:9px 10px;overflow-y:auto;resize:none;font-size:16px;line-height:20px}.chat-screen .chat-composer .primary-button{align-self:end;width:40px;height:40px;min-height:40px;padding:0;margin:0}.chat-screen .chat-counter{position:absolute;top:19px;right:58px;pointer-events:none;font-size:9px}.chat-screen .chat-composer.has-counter textarea{padding-right:60px}.chat-screen .chat-day-divider{display:flex;align-items:center;gap:9px;margin:10px 0 8px;color:#b2a78b;font-size:10px}.chat-day-divider:before,.chat-day-divider:after{content:"";flex:1;height:1px;background:#85714944}.chat-screen .chat-new-messages{position:absolute;bottom:7px;left:50%;transform:translate(-50%);z-index:1;max-width:calc(100% - 12px);white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;gap:5px;flex-shrink:0;min-height:32px;padding:4px 12px;font-size:11px}.chat-screen .chat-composer .warning{grid-column:1 / -1;margin:0;font-size:11px}.chat-keyboard-open .chat-screen>.muted{display:none}.profile-layout{display:grid;grid-template-columns:56px minmax(0,1fr) 56px;align-items:center;gap:10px;margin:4px 0 12px}.profile-gear-column{display:grid;gap:9px}.profile-gear-slot{display:flex;flex-direction:column;align-items:center;gap:3px;padding:0;min-width:0}.profile-gear-slot:disabled{opacity:1}.profile-gear-slot small{font-size:9px;color:#b8a78b}.profile-gear-slot.selected .art-icon{outline:2px solid #e4c582;outline-offset:3px}.empty-gear{display:grid;place-items:center;width:48px;height:48px;border:2px solid #554b3a;border-radius:50%;color:#8a7a60;background:#1c1914}.profile-layout .public-profile{min-width:0;margin:0;gap:8px}.profile-layout .public-profile .portrait{width:80px;height:80px}.profile-layout .public-profile h2{font-size:25px;overflow-wrap:anywhere}.profile-layout .public-profile p{font-size:12px;line-height:1.4}.profile-layout .public-profile small{font-size:10px;line-height:1.5}.profile-gear-detail{display:flex;align-items:center;gap:9px;padding:9px;margin:8px 0;background:#211d17;border:1px solid #5b4c33;border-radius:7px}.profile-gear-detail>div{flex:1;min-width:0}.profile-gear-detail strong{font-size:12px}.profile-gear-detail small{display:block;font-size:10px;color:#c1ad8b;line-height:1.5}.public-profile-content .profile-write{display:flex;align-items:center;justify-content:center;gap:8px;margin:8px 0 12px;min-height:42px}.public-profile-content .stat-grid>div{padding:8px 10px;font-size:12px}.public-profile-content .stat-grid strong{font-size:14px}.public-profile-content .army-hint{font-size:10px;line-height:1.5;margin:8px 0 12px}.public-profile-content h3{font-size:17px;margin-bottom:8px}.public-army{padding:12px 0}.public-army .section-heading h3{margin:0}.public-army .army-slot{min-width:0;gap:6px;padding:8px 3px;border:1px solid var(--line);border-radius:8px;background:linear-gradient(180deg,#302d20,#211f17);text-align:center}.public-army .portrait,.public-army .empty-circle{width:min(44px,100%);height:auto;aspect-ratio:1}.compact-combat{padding:10px 12px 14px}.compact-combat .battle-title{padding:8px 0}.compact-combat .battle-title h1{font-size:22px}.compact-combat .battle-title p{margin:3px 0 0;font-size:10px}.compact-combat .battle-field{padding:9px 6px}.compact-combat .battle-side.enemy{padding-bottom:9px;margin-bottom:8px}.compact-combat .battle-side h2{margin:0 0 4px}.compact-combat .fighters{display:grid;gap:3px;justify-items:center}.compact-combat .fighter{min-width:0;width:100%;max-width:76px;padding:4px 2px}.compact-combat .fighter .portrait{width:34px;height:34px}.compact-combat .enemy .fighter{max-width:100px}.compact-combat .enemy .fighter .portrait{width:46px;height:46px}.compact-combat .fighter strong{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:5px}.compact-combat .fighter-count{font-size:15px;margin:2px 0 3px}.compact-combat .fighter small{display:block;font-size:8px;line-height:1.3}.compact-combat .fighter-slot{display:none}.compact-combat .hp-track{height:4px;margin-bottom:3px}.compact-combat .hit-flash{width:34px;height:34px}.compact-combat .enemy .hit-flash{width:46px;height:46px}.compact-combat .fighter .damage-number{font-size:18px;left:10%;white-space:nowrap}.compact-combat .acting-marker{font-size:6px;padding:1px 3px}.compact-combat .versus{top:47%}.compact-combat .turn-panel{margin:8px 0;padding:7px 9px}.compact-combat .initiative{margin-top:5px;padding-top:5px}.compact-combat .initiative .portrait.mini{width:26px;height:26px}.compact-combat .initiative>div{gap:10px;padding-bottom:9px}.compact-combat .combat-controls{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:8px;align-items:center}.compact-combat .combat-controls button{margin:0;min-height:44px}.compact-combat .combat-log{margin-top:10px;padding-top:8px}.compact-combat .combat-log summary{font-size:12px;color:#d5bd91;cursor:pointer;padding:5px 0}@media(max-width:350px){.sheet{padding-left:14px;padding-right:14px}.profile-layout{grid-template-columns:50px minmax(0,1fr) 50px;gap:7px}.profile-layout .public-profile h2{font-size:22px}.compact-combat{padding-left:8px;padding-right:8px}}.compact-combat .battle-title h1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-combat .battle-title p{min-height:26px;line-height:13px}.compact-combat .fighter strong{height:12px;line-height:12px}.compact-combat .fighter-count{height:20px;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-combat .player .fighter-count{font-size:clamp(11px,3.2vw,12px)}.compact-combat .fighter>small{height:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}.compact-combat .turn-status{min-height:35px}.compact-combat .turn-status>div{min-width:0;flex:1}.compact-combat .turn-status strong{display:block;height:18px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-combat .turn-indicator,.compact-combat .round-tag{flex-shrink:0}.compact-combat .initiative>div{min-height:35px}.compact-combat .combat-controls button{height:44px;padding:0 8px;white-space:nowrap}.combat-action-spinner{animation:combat-processing .9s linear infinite}@keyframes combat-processing{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.combat-action-spinner{animation:none}}.hero-avatar-button,.hero-name-button{padding:0;min-width:0;text-align:left}.hero-avatar-button{display:block;flex-shrink:0;line-height:0}.hero-name-row{display:flex;align-items:center;gap:6px;min-width:0}.hero-name-button{overflow:hidden}.hero-name-button strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.hero-mail-alert{position:relative;display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;padding:0;border:1px solid #9d78465c;border-radius:7px;color:#e9c77d;background:#b68e3a18}.hero-mail-alert i{position:absolute;top:3px;right:3px;width:5px;height:5px;background:#e39964;border-radius:50%;box-shadow:0 0 5px #df986a77}.settings-services{display:grid;gap:10px;margin:18px 0 24px}.settings-service{display:flex;align-items:center;gap:12px;min-height:76px;padding:12px;text-align:left;border:1px solid #695739;border-radius:9px;background:linear-gradient(110deg,#343126,#22241c)}.settings-service-icon{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border:1px solid #8a754a;border-radius:50%;color:#ddc287;background:#151b18}.settings-service>span:nth-child(2){flex:1;min-width:0}.settings-service strong{display:block;font-size:15px;color:#ead4a7}.settings-service small{display:block;margin-top:4px;font-size:10px;color:#ada38b}.settings-service>span:last-child{color:#b69d6b;font-size:23px}.settings-unread{padding:3px 6px;border-radius:6px;background:#8b6230;color:#ffdfa9;font-size:11px}.chest-pickup,.gold-pickup{position:fixed;inset:0;z-index:1200;pointer-events:none;overflow:hidden}.flying-chest{position:absolute;left:0;top:0;display:block;width:48px;height:48px;border-radius:50%;border:2px solid var(--rarity, #ceb471);box-shadow:0 0 18px #cfad5577;background:#272719;overflow:hidden}.flying-chest img{display:block;width:100%;height:100%;object-fit:cover}body:has(.chest-pickup) .home-action-inventory .home-action-medallion{box-shadow:0 0 16px #d8bb7277}.flying-gold-coin{position:absolute;top:-9px;left:-9px;display:grid;place-items:center;width:19px;height:19px;border:2px solid #ffdb72;border-radius:50%;color:#865014;background:radial-gradient(circle at 32% 25%,#fff2ae,#e7ad36 48%,#ac6618);box-shadow:inset 0 0 0 1px #bd7d25,0 0 11px #f0bc4d88,0 2px 4px #0008;font:700 12px Georgia,serif;text-shadow:0 1px #ffe7a2;will-change:transform,opacity}body:has(.gold-pickup) .hero-resources .gold{animation:gold-counter-arrival .5s ease-out .65s;transform-origin:right center}@keyframes gold-counter-arrival{0%,to{transform:scale(1);filter:none}35%{transform:scale(1.1);filter:drop-shadow(0 0 7px #edbb4c)}}@media(prefers-reduced-motion:reduce){body:has(.gold-pickup) .hero-resources .gold{animation:none}}.comparison-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.comparison-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px;padding:10px 6px;border:1px solid #594c36;border-radius:9px;background:#211d17;min-width:0}.comparison-card>small{font-size:10px;color:#c7b18a}.comparison-card>strong{font-size:12px;overflow-wrap:anywhere}.comparison-card>span:last-child{font-size:10px;color:#b8a587}.comparison-empty{width:54px;height:54px;display:grid;place-items:center;border:2px solid #554b3a;border-radius:50%;color:#94836a}.item-comparison table{width:100%;border-collapse:collapse;margin:12px 0;font-size:11px}.item-comparison caption{text-align:left;color:#ceb891;font-size:12px;padding:0 0 7px}.item-comparison th,.item-comparison td{padding:7px 3px;border-bottom:1px solid #51432e}.item-comparison th{font-weight:400;text-align:left;color:#c2b298}.item-comparison td,.item-comparison thead th:not(:first-child){text-align:center}.item-comparison thead th{font-size:9px}.comparison-gain{color:#a0cd84}.comparison-loss{color:#e6a087}.recruitment-decline{width:100%;min-height:44px;margin-top:8px;padding:8px 12px;border:1px solid #695434;border-radius:4px;color:#d2c0a1;background:#242018;font-size:13px}.game-shell>main{padding-bottom:calc(104px + env(safe-area-inset-bottom))}.game-shell .illustrated-nav{position:fixed;left:50%;transform:translate(-50%);bottom:0;width:100%;max-width:430px;margin:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px;padding:8px 5px calc(8px + env(safe-area-inset-bottom));border-top:2px solid #655742;background:linear-gradient(180deg,#28241e 0,#171612 20%,#0e100f);box-shadow:0 -5px 22px #0009,inset 0 1px #bda87533}.illustrated-nav button{min-width:0;min-height:72px;gap:4px;font-size:clamp(9px,2.5vw,11px);font-weight:500;color:#aca798}.nav-medallion{position:relative;display:block;width:clamp(40px,12vw,53px);height:clamp(40px,12vw,53px);border-radius:50%;filter:saturate(.75) brightness(.85);transition:filter .18s,transform .18s}.nav-unread-dot{position:absolute;top:1px;right:1px;width:10px;height:10px;border-radius:50%;background:#ef3e36;box-shadow:0 0 0 2px #191813,0 1px 5px #0009;pointer-events:none}.nav-medallion img{display:block;width:100%;height:100%;object-fit:contain}.illustrated-nav button.selected{color:#f1d59a;text-shadow:0 1px 5px #ae823544}.illustrated-nav .selected .nav-medallion{filter:saturate(1.08) brightness(1.15) drop-shadow(0 0 5px #d3a35d60);transform:translateY(-1px)}.illustrated-nav i{top:-9px;height:2px;left:23%;right:23%}.forum-screen{padding:15px 14px 22px}.forum-screen .social-heading{margin-bottom:16px}.forum-intro{display:flex;align-items:center;gap:12px;padding:6px 0 22px}.forum-intro>img{width:66px;height:66px;object-fit:contain}.forum-intro small{font-size:8px;letter-spacing:1.5px;color:#a49470}.forum-intro h2{font-size:27px;color:#efdfb8;margin:4px 0}.forum-intro p{font-size:11px;color:#ada592}.forum-categories{display:grid;gap:10px}.forum-category{display:grid;grid-template-columns:43px minmax(0,1fr) 17px;align-items:center;gap:12px;min-height:104px;text-align:left;padding:13px 11px;border-radius:8px;border:1px solid #4a463a;box-shadow:inset 0 1px #c6b79613,0 3px 8px #0003;background:linear-gradient(115deg,#30302899,#1c201d)}.forum-category:hover{border-color:#8f7850;background:linear-gradient(115deg,#3c362a,#212520)}.forum-category>span:nth-child(2){display:grid;gap:5px}.forum-category strong{color:#e5d8b6;font-family:Cormorant Garamond,Georgia,serif;font-size:23px;line-height:1.15}.forum-category span span{color:#b6af9f;font-size:11px;line-height:1.5}.forum-category small{font-size:9px;color:#8e8979}.forum-category-icon img{width:43px;height:43px;object-fit:contain}.forum-category-0{border-color:#7e6940;background:linear-gradient(115deg,#49402a88,#20221d)}.forum-category-1 .forum-category-icon{filter:hue-rotate(18deg)}.forum-category-2 .forum-category-icon{filter:hue-rotate(60deg)}.forum-category-3 .forum-category-icon{filter:hue-rotate(110deg)}.forum-category-4 .forum-category-icon{filter:hue-rotate(160deg)}.forum-category-5 .forum-category-icon{filter:hue-rotate(210deg)}.forum-category-6 .forum-category-icon{filter:hue-rotate(270deg)}.forum-description{color:#b8ad96;line-height:1.6;margin:0 0 12px}.forum-rule{display:flex;gap:8px;align-items:center;color:#a69776;font-size:10px;line-height:1.6;margin-bottom:14px}.forum-create{margin:10px 0 16px;width:100%}.forum-empty{padding:28px 15px;text-align:center;color:#aba28f;line-height:1.8;border:1px dashed #504631;border-radius:8px}.forum-topics,.forum-posts{display:grid;gap:12px}.forum-topic-card,.forum-post{border:1px solid #494438;border-radius:9px;background:linear-gradient(135deg,#2b2a22,#1d201c);overflow:hidden}.forum-topic-link{display:block;width:100%;text-align:left;padding:15px 13px 10px}.forum-topic-link h2{font-size:23px;line-height:1.2;color:#ecd6a6;overflow-wrap:anywhere}.forum-topic-link>span{display:flex;align-items:center;justify-content:space-between;margin-top:9px;color:#a9a08b;font-size:10px}.forum-topic-card footer,.forum-post header{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:9px 12px;border-top:1px solid #ffffff0a}.forum-topic-card time,.forum-post time{font-size:9px;color:#938c7b}.forum-author{display:flex;align-items:center;gap:7px;padding:0;text-align:left;min-width:0;color:#ddcba5}.forum-author .portrait{width:31px;height:31px;flex-shrink:0}.forum-author>span{font-size:11px;overflow-wrap:anywhere}.forum-author small{display:flex;flex-wrap:wrap;align-items:center;gap:4px;color:#a09b8c;font-size:9px;margin-top:3px}.forum-admin{border:1px solid #a58a4e66;border-radius:3px;padding:1px 4px;color:#eac778;font-size:8px;font-weight:500}.forum-thread-heading{border-bottom:1px solid #665438;padding-bottom:12px;margin-bottom:12px}.forum-thread-heading small{color:#b7a078}.forum-thread-heading h2{font-size:24px;line-height:1.2;margin:7px 0;color:#ead7af;overflow-wrap:anywhere}.forum-thread-heading p{font-size:10px;color:#a9a18f}.forum-thread-tools{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:10px}.forum-thread-tools>span{flex-basis:100%;color:#a9a18f;font-size:10px}.forum-thread-tools button{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:1;min-height:38px;padding:6px 9px;border:1px solid #79653d;border-radius:6px;background:#2c2c20;color:#d5c49d;font-size:12px}.forum-thread-tools .forum-answer{background:linear-gradient(130deg,#645332,#3c3723);color:#f1d49a}.forum-bottom-answer{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;margin-top:12px}.forum-reply-context{padding:8px 10px;border-left:2px solid #a88a50;background:#171d1766;font-size:12px;color:#bdb093;overflow-wrap:anywhere}.forum-screen .warning>button{display:block;margin-top:8px}.forum-post header{background:#14161166;border-top:0;border-bottom:1px solid #ffffff09}.forum-post header>span{display:grid;gap:4px;text-align:right;font-size:9px;color:#a59c85}.forum-post>p{padding:11px 12px 14px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.65}.forum-form{padding-top:18px;margin-top:10px;border-top:1px solid #494130}.forum-form input,.forum-form textarea{font-size:16px}.forum-form .primary-button{width:100%}.social-write-hint{padding:10px 12px;margin:8px 0 12px;border:1px solid #73634055;border-radius:6px;background:#5e49201a;font-size:11px;line-height:1.6;color:#c5b58e}.chat-screen .social-write-hint{grid-column:1 / -1;margin:0;font-size:10px;padding:6px 8px}@media(max-width:350px){.forum-category{gap:9px;padding:12px 9px}.forum-category strong{font-size:21px}.forum-intro{gap:8px}.forum-intro>img{width:54px;height:54px}.forum-intro h2{font-size:24px}}.hero-profile-shell>.hero-main{min-height:0;padding-bottom:calc(92px + env(safe-area-inset-bottom))}.hero-screen{padding:12px}.hero-overview{display:grid;gap:14px}.hero-sanctum{position:relative;border:1px solid #75613e;border-radius:12px;background:radial-gradient(ellipse at 50% 24%,#62512c40,transparent 65%),linear-gradient(135deg,#29291f,#181c19 75%);box-shadow:inset 0 1px #d8be8a24,0 5px 16px #0003}.hero-paperdoll{display:grid;grid-template-columns:56px minmax(0,1fr) 56px;align-items:stretch;gap:6px;padding:14px 10px}.hero-center{min-width:0}.hero-gear-column{display:flex;flex-direction:column;justify-content:space-between;align-items:center;gap:9px;padding:5px 0}.hero-gear{display:grid;place-items:center;width:100%;min-width:0;min-height:52px;padding:0;flex:0 0 auto}.hero-gear-frame{display:grid;place-items:center;position:relative;border-radius:50%;width:52px;height:52px;border:1px solid var(--rarity, #5b5747);background:radial-gradient(#a1874c11,#0e1314);box-shadow:0 2px 6px #0007,inset 0 0 0 2px #131714}.hero-gear-frame .art-icon{border-color:var(--rarity, #4c493e);width:50px!important;height:50px!important}.hero-gear-frame b{position:absolute;bottom:-2px;right:-3px;font-size:9px;color:#f3d48f;border:1px solid #8d6f3c;border-radius:4px;padding:0 3px;line-height:15px;background:#1d2018}.hero-gear:disabled{opacity:1}.hero-gear.is-empty .art-icon{filter:grayscale(1);opacity:.24}.hero-gear.has-item:hover .hero-gear-frame{box-shadow:0 0 12px color-mix(in srgb,var(--rarity),transparent 60%);transform:translateY(-1px)}.hero-character{min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;padding:3px 2px 10px}.hero-portrait-halo{width:68px;aspect-ratio:1;position:relative;display:grid;place-items:center;margin:5px 0 9px}.hero-portrait-halo>i{position:absolute;inset:-4px;border:1px solid #b5a06b77;border-radius:50%;pointer-events:none}.hero-portrait-halo>i:first-child{inset:-8px;border:1px dashed #9c855346;animation:hero-orbit 90s linear infinite}.hero-portrait-halo:before{content:"";position:absolute;inset:-17px;border-radius:50%;background:radial-gradient(#caac5820,transparent 70%);pointer-events:none}.hero-portrait-halo .portrait{width:100%;height:100%;border:2px solid #9b8150;box-shadow:inset 0 0 15px #0008,0 5px 14px #000a}.hero-portrait-halo .portrait img{width:100%;height:100%}.hero-race-label{text-transform:uppercase;color:#b5a684;letter-spacing:1.5px;font-size:8px}.hero-character h1{color:#f2dfb5;font-size:26px;line-height:1.1;margin:3px 0 5px;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-shadow:0 2px 8px #0008}.hero-battles{display:flex;align-items:center;gap:5px;color:#a99d83;font-size:10px}.hero-battles strong{color:#d6c49d;font-weight:500}.hero-clan-seal{display:flex;align-items:center;justify-content:center;gap:4px;color:#bda578;font-size:9px;margin-top:5px;max-width:100%;min-width:0}.hero-clan-seal>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.hero-profile-shell .hero-identity strong,.hero-profile-shell .hero-identity>span>small{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.hero-attributes{border-top:1px solid #a58a4d25;padding-top:6px}.hero-section-title{display:flex;align-items:center;justify-content:space-between;gap:4px;height:25px;margin-bottom:5px}.hero-points{display:flex;align-items:center;gap:4px;border:1px solid #8b713d;border-radius:5px;padding:2px 5px;background:linear-gradient(135deg,#58432266,#2a281c);color:#e9c783}.hero-points>b{font-size:11px;font-weight:500}.hero-points>span{font-size:9px}.hero-sources-button{display:grid;place-items:center;width:24px;height:24px;padding:0;margin-left:auto;border:1px solid #544b37;border-radius:50%;color:#bda67b}.hero-stat-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.hero-stat-card{display:flex;position:relative;align-items:center;min-width:0;height:51px;border-radius:7px;border:1px solid #544c38;background:linear-gradient(135deg,#343126,#20251e);box-shadow:inset 0 1px #d0b48213,0 3px 9px #0003;padding:5px}.hero-stat-card.expanded{border-color:#ae925c}.hero-stat-read{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:3px;min-width:0;padding:12px 20px 0 0;text-align:left;flex:1;height:100%}.stat-art{display:block;flex-shrink:0;object-fit:contain;filter:drop-shadow(0 3px 4px #0006)}.hero-stat-read .stat-art{width:22px;height:22px}.hero-stat-read>span{display:grid;min-width:0}.hero-stat-read small{position:absolute;top:5px;left:6px;color:#c2b89e;font-size:9px;line-height:1.2}.hero-stat-read strong{color:#eed7aa;font-size:23px;font-family:Cormorant Garamond,Georgia,serif;line-height:1;font-weight:600;font-variant-numeric:tabular-nums}.hero-stat-add{position:absolute;bottom:6px;right:4px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:0;min-width:0;min-height:0;width:22px;height:22px;line-height:1;border:1px solid #9b814a;color:#eed095;background:linear-gradient(#645031,#392e1d);border-radius:4px;box-shadow:inset 0 1px #d2b97b33}.hero-stat-add svg{display:block;flex:0 0 14px;width:14px;height:14px;margin:0}.hero-stat-add:disabled{opacity:.5}.hero-stat-cap{position:absolute;bottom:11px;right:5px;color:#8e8d78;font-size:9px}.hero-stat-explanation{text-align:center;margin-top:10px;background:#27281f;border:1px solid #685b3d;border-radius:7px;padding:16px 10px}.hero-stat-explanation>.stat-art{margin:0 auto 7px}.hero-stat-total{display:block;font-size:30px;color:#eed7aa}.hero-stat-explanation p{color:#cdc1a5;font-size:12px;line-height:1.6;padding:10px 4px 18px}.hero-stat-explanation>div{display:flex;gap:8px;padding:0 6px;font-size:10px;color:#9f9781;justify-content:space-between}.hero-stat-explanation b{color:#d8c697;display:block;font-size:18px;margin-top:5px}.hero-stat-explanation i{font-style:normal;color:#817344;align-self:center}.hero-stat-explanation>small{display:block;margin-top:10px;color:#c1a96b}.hero-sources-table{padding-top:8px}.hero-sources-table>div{display:grid;grid-template-columns:1.3fr repeat(3,1fr);gap:6px;padding:10px 3px;border-bottom:1px solid #ffffff0a;font-size:11px}.hero-sources-table>div>:not(:first-child){text-align:right}.hero-sources-table b{font-weight:500;color:#cdc0a1}@media(min-width:600px){body:has(.hero-profile-shell){padding:12px 0}body:has(.hero-profile-shell) .desktop-brand,body:has(.hero-profile-shell) .desktop-footer{display:none}.hero-profile-shell{min-height:calc(100dvh - 24px)}}.hero-overview .army-panel{padding:0}.hero-overview .army-panel .section-heading{margin-bottom:11px}.hero-overview .army-panel h2{font-size:21px;color:#e0cba3}.hero-overview .army-panel .section-heading>span{font-size:12px}.hero-overview .army-panel .army-hint{display:none}.hero-overview .army-slot{min-width:0;min-height:0;gap:5px}.hero-overview .army-slot .portrait,.hero-overview .army-slot .empty-circle{width:39px;height:39px}.hero-overview .slot-unit-name{font-size:9px!important;line-height:1.2}@media(max-width:350px){.hero-screen{padding:8px 10px}.hero-paperdoll{grid-template-columns:46px minmax(0,1fr) 46px;padding:12px 7px;gap:5px}.hero-gear{min-height:44px}.hero-gear-frame{width:44px;height:44px}.hero-gear-frame .art-icon{width:42px!important;height:42px!important}.hero-stat-card{padding:4px}.hero-stat-read{grid-template-columns:18px minmax(0,1fr);gap:2px;padding-right:18px}.hero-stat-read .stat-art{width:18px;height:18px}.hero-stat-read small{font-size:8px;left:5px}.hero-stat-read strong{font-size:21px}.hero-stat-add{width:20px;height:20px;right:3px}}@media(max-height:700px){.hero-overview{gap:10px}.hero-profile-shell .hero-bar{min-height:82px;padding-top:6px;padding-bottom:6px}.hero-portrait-halo{width:55px}.hero-character{padding-bottom:6px}.hero-character h1{font-size:23px}.hero-paperdoll{padding-top:10px;padding-bottom:10px}.hero-stat-card{height:47px}.hero-gear-column{gap:7px}.hero-overview .army-slot .portrait,.hero-overview .army-slot .empty-circle{width:34px;height:34px}.hero-overview .army-slot strong{font-size:12px}}@media(max-height:600px){.hero-profile-shell .hero-bar{min-height:70px;padding:4px 10px;gap:6px}.hero-profile-shell .hero-identity{gap:6px}.hero-profile-shell .hero-avatar-button .portrait{width:32px;height:32px}.hero-profile-shell .hero-identity strong{font-size:18px}.hero-profile-shell .hero-identity>span>small{font-size:8px;white-space:nowrap}.hero-profile-shell .hero-resources{width:100px}.hero-profile-shell .hero-bar .active-effects img{width:20px;height:20px}.hero-profile-shell .hero-bar .gold{font-size:13px}.hero-profile-shell .xp-label{margin-top:3px;margin-bottom:3px}.hero-profile-shell .active-effects{margin-top:3px}.hero-profile-shell>.hero-main{padding-bottom:calc(66px + env(safe-area-inset-bottom))}.hero-overview{gap:8px}.hero-screen{padding-top:7px;padding-bottom:7px}.hero-paperdoll{padding-top:8px;padding-bottom:8px}.hero-gear{min-height:42px}.hero-gear-frame{width:42px;height:42px}.hero-gear-frame .art-icon{width:40px!important;height:40px!important}.hero-gear-frame b{font-size:8px;line-height:13px}.hero-portrait-halo{width:44px;margin-bottom:6px}.hero-character h1{font-size:21px;margin:2px 0 3px}.hero-character{padding:0 2px 4px}.hero-portrait-halo{margin-top:3px;margin-bottom:5px}.hero-attributes{padding-top:3px}.hero-section-title{height:21px;margin-bottom:3px}.hero-sources-button{width:21px;height:21px}.hero-clan-seal{font-size:8px;margin-top:3px}.hero-battles{font-size:9px}.hero-stat-card{height:41px}.hero-stat-read strong{font-size:20px}.hero-stat-add{bottom:4px}.hero-stat-cap{bottom:9px}.hero-overview .army-panel h2{font-size:18px}.hero-overview .army-panel .section-heading{margin-bottom:7px}.hero-overview .army-slot .portrait,.hero-overview .army-slot .empty-circle{width:29px;height:29px}.hero-overview .army-slot{gap:4px}.hero-overview .army-slot strong{font-size:10px}.hero-overview .slot-unit-name{font-size:8px!important}}.ritual-effects{position:absolute;inset:0;pointer-events:none;display:grid;place-items:center;--effect: var(--rarity, #cdb26d)}.ritual-aura{position:absolute;inset:3%;border-radius:50%;background:radial-gradient(ellipse,color-mix(in srgb,var(--effect),transparent 68%),transparent 65%);opacity:.55}.ritual-ring{position:absolute;width:166px;height:166px;border:1px solid color-mix(in srgb,var(--effect),transparent 55%);border-radius:50%;box-shadow:0 0 12px color-mix(in srgb,var(--effect),transparent 93%)}.ritual-ring.ring-two{width:184px;height:184px;border-style:dashed;opacity:.42;animation:hero-orbit 48s linear infinite reverse}.ritual-rays{position:absolute;width:220px;height:220px;border-radius:50%;background:repeating-conic-gradient(from 5deg,transparent 0deg 14deg,color-mix(in srgb,var(--effect),transparent 85%) 16deg 20deg,transparent 22deg 40deg);-webkit-mask-image:radial-gradient(black,transparent 68%);mask-image:radial-gradient(black,transparent 68%);opacity:0}.ritual-spark{position:absolute;left:50%;top:48%;width:3px;height:3px;border-radius:50%;background:#f9dda0;box-shadow:0 0 7px #efc66d;opacity:0}.ritual-caption{text-align:center;padding-top:5px}.ritual-caption .eyebrow,.forge-heading .eyebrow{font-size:8px;letter-spacing:1.8px;color:#b8a47a}.ritual-caption h3{font-size:28px;margin-top:7px;color:#ebd3a1}.chest-stage{height:235px;position:relative;display:grid;place-items:center;overflow:hidden}.chest-stage>img{position:absolute;width:260px;height:260px;object-fit:contain;filter:drop-shadow(0 12px 9px #0008)}.chest-stage .chest-unsealed{opacity:0;transform:scale(.92) translateY(10px)}.chest-platform{position:absolute;width:180px;height:31px;bottom:22px;border-radius:50%;background:radial-gradient(#0009,transparent 70%);border:1px solid #bb965b22}.chest-keyhole{display:grid;place-items:center;position:absolute;width:32px;height:32px;left:calc(50% - 16px);top:58%;color:#fce8a9;border:1px solid #c9a75b;border-radius:50%;background:#3c311ad9;box-shadow:0 0 15px #d2ae5533;opacity:.8}.phase-working .chest-sealed{animation:chest-tremble .32s ease-in-out infinite}.phase-working .chest-keyhole{animation:ritual-pulse .7s ease-in-out infinite alternate}.phase-working .ritual-aura{animation:ritual-pulse .8s ease-in-out infinite alternate}.phase-working .ring-one{animation:hero-orbit 5s linear infinite;border-style:dotted}.phase-revealing .chest-sealed,.phase-done .chest-sealed{opacity:0;transition:opacity .23s}.phase-revealing .chest-unsealed,.phase-done .chest-unsealed{opacity:1;transform:scale(1) translateY(0);transition:opacity .3s,transform .6s cubic-bezier(.2,.8,.3,1.2)}.phase-revealing .chest-keyhole,.phase-done .chest-keyhole{opacity:0}.phase-revealing .ritual-rays,.loot-reveal .ritual-rays{opacity:1;animation:hero-orbit 35s linear infinite}.phase-revealing .ritual-aura{opacity:1;transform:scale(1.25);transition:transform .6s,opacity .2s}.phase-revealing .ritual-spark,.loot-reveal .ritual-spark{animation:ritual-spark-out 1.1s ease-out var(--delay) both}.ritual-status{text-align:center;min-height:22px;color:#dfc48b;font-family:Cormorant Garamond,Georgia,serif;font-size:21px}.ritual-description{text-align:center;font-size:11px;line-height:1.7;color:#a99d83;margin:9px 0 18px}.ritual-action{width:100%;justify-content:center;gap:7px;border:1px solid #a58a50;background:linear-gradient(180deg,#745b31,#4a3a23);box-shadow:inset 0 1px #e0c58b3d,0 4px 14px #0003}.ritual-skip{display:block;margin:9px auto 0;padding:7px 12px;color:#b2a17d;font-size:10px;text-decoration:underline;text-underline-offset:3px}.loot-reveal{position:relative;padding-top:0}.loot-reveal-scene{position:relative;height:150px;display:grid;place-items:center;margin:-12px 0 0}.loot-reveal-scene>img{position:absolute;width:190px;height:190px;object-fit:contain;filter:drop-shadow(0 9px 7px #0007)}.loot-reveal-scene .ritual-ring{width:120px;height:120px}.loot-reveal-scene .ring-two{width:140px;height:140px}.loot-reveal>.art-icon{position:relative;margin:14px auto 10px;animation:loot-appear .6s cubic-bezier(.2,.8,.3,1.2) both;box-shadow:0 0 25px color-mix(in srgb,var(--rarity),transparent 65%),0 8px 18px #0008}.loot-reveal>h3{color:#efdaac;animation:loot-text-in .5s .12s both}.loot-reveal .eyebrow{display:block;margin-top:12px;font-size:9px;letter-spacing:1.5px;color:#c6ab75}.forge-panel{overflow:hidden;position:relative;padding:17px 14px;background:radial-gradient(ellipse at 50% 25%,#4c315b55,transparent 55%),linear-gradient(140deg,#292529,#171d1b);border:1px solid #726080;box-shadow:inset 0 1px #d1b0d51a}.forge-heading{text-align:center}.forge-heading h3{font-size:25px;color:#e5cfb0;margin:6px 0 0}.forge-scene{height:207px;position:relative;display:grid;place-items:center;overflow:hidden;margin:0 -10px}.forge-scene .ritual-ring{width:138px;height:138px}.forge-scene .ring-two{width:164px;height:164px;animation:hero-orbit 45s linear infinite}.forge-anvil{position:absolute;bottom:-15px;width:167px;height:167px;object-fit:contain;filter:drop-shadow(0 8px 10px #0009)}.forge-item{position:absolute;top:17px;left:calc(50% - 38px);z-index:1;filter:drop-shadow(0 0 14px #a18ac260)}.forge-item .art-icon{border:2px solid #aa8ab4}.forge-level{position:absolute;top:77px;right:calc(50% - 50px);z-index:2;border:1px solid #b69aca;border-radius:5px;padding:2px 6px;font:14px Georgia,serif;color:#e7d2f3;background:#302238}.forge-milestones{display:grid;grid-template-columns:repeat(10,1fr);gap:4px;margin:0 10px 14px}.forge-milestones i{height:5px;background:#27242b;border:1px solid #62546a;border-radius:3px}.forge-milestones .complete{background:#b79ac6;border-color:#d4badd;box-shadow:0 0 6px #ae8ab644}.forge-milestones .next{background:#9c8551;border-color:#ddbd73}.forge-quote{display:flex;gap:15px;justify-content:center;align-items:center;background:#151a1959;border:1px solid #a38ca22b;border-radius:8px;padding:10px}.forge-quote>div{width:45%;text-align:center}.forge-quote small{font-size:9px;color:#a89cb0}.forge-quote strong{display:flex;gap:4px;align-items:baseline;justify-content:center;font-size:25px;font-weight:500;color:#e0c8ed;margin-top:4px;font-family:Cormorant Garamond,Georgia,serif}.forge-quote strong span{font-size:15px}.forge-quote-divider{width:1px;height:30px;background:#89729344}.forge-panel .forge-rule{font-size:10px;color:#bdb0c3;text-align:center;margin:12px 0 9px}.forge-panel .forge-safety{display:flex;align-items:flex-start;gap:6px;color:#9b998a;font-size:9px;margin:7px 0 11px}.forge-safety svg{color:#a7a981;margin-top:1px}.forge-panel .forge-wallet{font-size:10px;color:#b5a9bc;text-align:center;margin:12px 0}.forge-wallet strong{color:#e0cee7}.forge-panel .ritual-action{font-size:11px}.forge-max{display:flex;justify-content:center;align-items:center;gap:5px;color:#d8c18b;text-align:center}.forge-panel.phase-working .forge-item{animation:forge-hover 1s ease-in-out infinite alternate}.forge-panel.phase-working .ritual-ring.ring-two{animation-duration:2.2s;border-color:#e1bcfb88}.forge-panel.phase-working .ritual-aura{background:radial-gradient(#c09ddb60,transparent 70%)}.forge-panel.forge-success .forge-item{filter:drop-shadow(0 0 22px #ebc977aa);transition:filter .4s}.forge-panel.forge-success .ritual-aura{background:radial-gradient(#dbbd644d,transparent 65%)}.forge-panel.forge-success .forge-level{color:#ffdfa0;border-color:#c3a05b;background:#3e3123}.forge-panel.forge-failure .ritual-rays,.forge-panel.forge-failure .ritual-spark{display:none}.forge-panel.forge-failure .forge-item{animation:forge-settle .45s ease-out both}.forge-panel.forge-failure .ritual-aura{opacity:.2;filter:saturate(.3)}.forge-result{text-align:center;border:1px solid #777b4b66;background:#364a231a;border-radius:8px;padding:12px 10px;margin-top:14px;animation:loot-text-in .35s ease-out both}.forge-result>strong{font:23px Cormorant Garamond,Georgia,serif;color:#d7cb9f}.forge-result p{font-size:11px;margin:6px 0 0}.forge-result.enhancement-failure{border-color:#7a664c;background:#6e512418}.forge-stat-gain{display:inline-flex;align-items:center;justify-content:center;gap:5px;margin-top:8px;color:#c9bca0;font-size:10px}.forge-stat-gain b{color:#d8e2a0;font-size:16px}@keyframes hero-orbit{to{transform:rotate(360deg)}}@keyframes ritual-pulse{0%{opacity:.45;filter:brightness(.9)}to{opacity:1;filter:brightness(1.3)}}@keyframes chest-tremble{0%,to{transform:translateY(0) rotate(-.8deg)}30%{transform:translateY(-2px) rotate(1deg)}70%{transform:translateY(1px) rotate(.2deg)}}@keyframes ritual-spark-out{0%{opacity:0;transform:rotate(var(--angle)) translate(15px) scale(.6)}15%{opacity:1}to{opacity:0;transform:rotate(var(--angle)) translate(var(--travel)) scale(.2)}}@keyframes loot-appear{0%{opacity:0;transform:translateY(18px) scale(.6);filter:brightness(1.6)}to{opacity:1;transform:translateY(0) scale(1);filter:brightness(1)}}@keyframes loot-text-in{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes forge-hover{0%{transform:translateY(0);filter:drop-shadow(0 0 7px #c59ee788)}to{transform:translateY(-10px);filter:drop-shadow(0 0 20px #c59ee7bb)}}@keyframes forge-settle{0%{transform:translateY(-8px) rotate(-3deg)}40%{transform:translateY(0) rotate(2deg)}to{transform:translateY(0) rotate(0)}}@media(prefers-reduced-motion:reduce){.hero-overview *,.ritual-effects *,.chest-stage *,.forge-panel *,.loot-reveal *{animation:none!important;transition-duration:0s!important}}:root{--control-fill: #191e19;--control-border: #655b43}:is(.game-shell,.sheet) :where(input:not([type=checkbox]):not([type=range]),select,textarea){color:#e3d8bc;background:var(--control-fill);border:1px solid var(--control-border);border-radius:7px;min-width:0;min-height:42px;padding:10px 11px;font:inherit;font-size:16px;box-sizing:border-box;box-shadow:inset 0 2px 5px #0003;color-scheme:dark}:is(.game-shell,.sheet) input::placeholder,:is(.game-shell,.sheet) textarea::placeholder{color:#979483}:is(.game-shell,.sheet) :is(button,summary,input,select,textarea):focus-visible{outline:2px solid #ddbb75;outline-offset:3px}:is(.world-tabs,.inventory-filters,.mail-tabs){gap:4px;padding:4px;border:1px solid #494735;border-radius:9px;background:#11171299}:is(.world-tabs,.inventory-filters,.mail-tabs) button{border:1px solid transparent;border-radius:6px;min-height:40px;padding:7px 5px;color:#b6af98;font-size:12px;flex:1}:is(.world-tabs,.inventory-filters,.mail-tabs) button.selected{color:#f0d5a0;background:linear-gradient(135deg,#52442c,#353526);border-color:#8b7447;box-shadow:inset 0 1px #f0d5a020}.compact-disclosure{border:1px solid #514d3b;border-radius:9px;background:#20251d80}.compact-disclosure>summary{padding:12px;min-height:44px;cursor:pointer;color:#d3c3a0;font-size:12px;box-sizing:border-box}.compact-disclosure>summary::marker{color:#aa9263}.compact-disclosure>summary.section-heading{margin:0}.compact-disclosure[open]>summary{border-bottom:1px solid #66553655}.compact-disclosure>:not(summary){margin-left:12px;margin-right:12px}.home-actions{margin:0;padding:12px 10px 13px;background:linear-gradient(#292a2099,#181e1880);border-top:1px solid #6c5a3340;border-bottom:1px solid #6c5a3380}.home-action{gap:6px}.nearby-panel{margin:14px 16px;padding:0}.nearby-panel summary{display:flex;justify-content:space-between;align-items:center;gap:8px}.nearby-panel summary:after{content:"⌄";color:#c5ab77}.nearby-panel[open] summary:after{content:"⌃"}.nearby-panel .nearby-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.nearby-list button{min-width:0;padding:6px 0}.nearby-list button>span{min-width:0}.nearby-list strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.nearby-list .portrait{width:30px;height:30px}.bag-panel{margin-top:0;padding-top:0}.secondary-screen:not(.hero-screen) .page-title{padding:0 0 12px;margin-bottom:12px}.secondary-screen:not(.hero-screen) .page-title small{display:none}.secondary-screen:not(.hero-screen) .page-title h1{margin:0;font-size:28px}.bag-slot{min-width:0;height:106px;border-radius:8px;padding:9px 4px;display:flex;flex-direction:column;justify-content:center;gap:7px}.bag-slot .bag-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.3;min-height:26px;padding:0}.bag-slot .art-icon{flex-shrink:0}.bag-search-row,.market-tools{display:flex;align-items:end;gap:8px;margin:12px 0}.bag-search{position:relative;display:flex;align-items:center;flex:1;min-width:0}.bag-search>svg{position:absolute;left:10px;color:#b7a374;pointer-events:none}.game-shell .bag-search input{width:100%;padding-left:32px}.filter-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:8px 10px;font-size:12px;border:1px solid #74623e;border-radius:7px;background:linear-gradient(#34372a,#23291e);color:#e4cca0}.filter-toggle b{display:grid;place-items:center;min-width:18px;height:18px;background:#9c7b43;color:#fff1c9;border-radius:50%;font-size:10px}.filter-toggle[aria-expanded=true]{border-color:#d0a860}.bag-filter-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px;background:#131b1480;border:1px solid #554c36;border-radius:8px;margin-bottom:12px}.bag-filter-fields label,.market-sort{display:grid;min-width:0;gap:5px;font-size:11px;color:#b6ae97}.game-shell .bag-filter-fields select{width:100%;font-size:14px}.bag-filter-fields>button{grid-column:1 / -1;min-height:36px}.equipment-panel.compact-disclosure{padding:0;margin-top:14px}.equipment-panel .equipment-grid{padding:12px 0}.inventory-filters{flex-wrap:nowrap}.inventory-filters button{font-size:11px}.bag-panel .potion-warehouse{padding:12px 0 0;margin-top:14px;border-top:1px solid #6c5c3c66}.potion-warehouse .potion-row{padding:9px 0}.potion-warehouse .potion-row .portrait{width:40px;height:40px}.potion-warehouse .potion-row strong{font-size:12px}.potion-warehouse .muted{font-size:11px;line-height:1.5}.bulk-dismantle-button{font-size:11px;margin-bottom:12px}.market-rules{margin:12px 0}.market-rules>summary{min-height:36px;padding:9px 12px;font-size:11px}.market-rules p{font-size:11px;line-height:1.6}.market-tools .market-sort{flex:1}.market-tools select{width:100%}.market-tools .filter-toggle{flex-shrink:0}.market-filters{border:1px solid #5a5139;background:#15201588;border-radius:9px;padding:12px}.market-filters label{min-width:0}.market-filters :is(select,input){width:100%}.market-filters>button{min-height:36px}.market-card{border-color:#59513b;background:linear-gradient(120deg,#2d3025,#1b221b);box-shadow:inset 0 1px #d8bf8010}.market-detail>span{min-width:0}.market-detail b{display:block;font-size:17px;font-variant-numeric:tabular-nums;color:#e5c88b}.market-detail b small{display:inline;font-size:10px;color:#b4a98e;font-weight:400}.market-card-footer{font-size:10px;color:#9f9f8a;padding:0 12px;align-items:center}.market-detail{padding:11px 12px}.clan-banner{padding:14px 0 8px}.clan-banner>svg{color:#d0b478;padding:8px;box-sizing:content-box;border:1px solid #8a7548;border-radius:50%;background:radial-gradient(#6d5b2c70,#1b2719)}.clan-screen .clan-banner h2{font-size:25px;color:#e7d1a5}.clan-banner p{font-size:12px;color:#bab199}.clan-screen>.clan-treasury{padding:10px 12px;margin:8px 0 14px;border:1px solid #63573a;border-radius:9px;background:linear-gradient(120deg,#42382480,#202b2080)}.clan-treasury span{font-size:11px;color:#bdb198}.clan-treasury b{font-size:23px;font-variant-numeric:tabular-nums}.clan-buildings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.clan-buildings-grid .clan-building{margin:0;padding:0;min-width:0;background:linear-gradient(135deg,#343429,#1b241c);border-color:#686044}.clan-buildings-grid .clan-building>summary{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:14px 12px;cursor:pointer;min-height:120px;box-sizing:border-box}.clan-building>summary::-webkit-details-marker{display:none}.clan-building>summary>svg{padding:9px;color:#d4b97e;border-radius:50%;border:1px solid #9b85517a;background:radial-gradient(#64532f,#253124);box-sizing:content-box;box-shadow:0 3px 10px #0004}.clan-building>summary h2{margin:0;font-size:19px;color:#e7d0a4}.clan-building>summary small{display:block;margin-top:6px;font:10px/1.45 Inter,sans-serif;color:#b8ae91}.clan-buildings-grid .clan-building[open]{grid-column:1 / -1;padding-bottom:14px}.clan-building[open]>summary{flex-direction:row;align-items:center;min-height:75px;border-bottom:1px solid #74603f66;margin-bottom:12px}.clan-buildings-grid .clan-building>:not(summary){margin-left:14px;margin-right:14px}.clan-building p{font-size:12px;color:#bdb49c}.clan-building .primary-button{font-size:12px;min-height:42px}.clan-deposit label,.clan-withdraw label{font-size:12px}.clan-roster{margin-top:16px}.clan-screen .compact-disclosure>summary{padding:12px}.clan-roster summary b{float:right;color:#cdb384}.clan-roster .player-list>button{padding-top:8px;padding-bottom:8px}.clan-ledger{margin:12px 0}.settings-logout{width:100%;min-height:42px;border:1px solid #6a5546;border-radius:8px;color:#bea493;font-size:12px;background:#28241d;margin-top:18px}.forum-category{min-height:84px;padding:11px;gap:10px}.forum-category strong{font-size:21px}.forum-intro{padding-bottom:12px}.chat-screen .chat-message.own{border-color:#9b8246;background:linear-gradient(110deg,#49402a99,#293325)}.chat-screen .chat-message.own header button{color:#edce8a}.hero-stat-read small{font-size:10px}.hero-gear.selected .hero-gear-frame{outline:2px solid #e4c582;outline-offset:2px}.public-sanctum{margin-bottom:12px}.public-sanctum .public-profile{padding:3px 0 10px;margin:0;gap:0}.public-profile h2{margin:4px 0;max-width:100%;overflow-wrap:anywhere;white-space:normal;font-size:22px;color:#efd9ad}.public-sanctum .public-profile p{font-size:11px;margin:3px 0 7px;color:#bfb398}.public-sanctum .public-profile small{font-size:10px;margin:5px 0 0;color:#b5aa90;line-height:1.4}.public-sanctum .battle-count{font-size:11px}.public-sanctum .hero-stat-read{padding-right:0}.public-sanctum .hero-attributes{padding-top:9px}.public-sanctum .profile-joined{font-size:9px}@media(max-width:350px){.hero-stat-read small{font-size:9px}.filter-toggle{font-size:11px;padding-inline:8px;gap:4px}.bag-search-row{flex-wrap:wrap}.bag-search{flex-basis:100%}.bag-filter-fields{grid-template-columns:1fr}.inventory-filters button{font-size:10px}.public-sanctum .hero-paperdoll{grid-template-columns:46px minmax(0,1fr) 46px;padding-inline:6px;gap:4px}.public-profile h2{font-size:22px}}@media(max-height:600px){.game-shell .illustrated-nav{padding-top:5px;padding-bottom:calc(5px + env(safe-area-inset-bottom))}.game-shell .illustrated-nav button{min-height:54px;gap:2px}.game-shell .nav-medallion{width:38px;height:38px}.game-shell>main{padding-bottom:calc(76px + env(safe-area-inset-bottom))}}.game-stat-art{display:block;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 2px 3px #0005)}.recruiter-sheet .stack-detail{gap:10px;margin-bottom:8px}.recruiter-sheet .stack-detail .portrait{width:48px;height:48px}.recruiter-sheet .stack-detail p{font-size:11px;line-height:1.45}.recruiter-sheet .recruiter-location{font-size:18px;margin:8px 0;color:#e0c48f}.recruiter-sheet .army-hint{font-size:10px;line-height:1.5;margin:8px 0;text-align:left}.recruitment-offer{border-radius:9px;min-height:80px;padding:10px;background:linear-gradient(120deg,#36372b,#23291f)}.recruitment-offer.selected{border-color:#ceb174;background:linear-gradient(120deg,#55482e,#303925);box-shadow:inset 0 0 0 1px #ad955644}.recruitment-offer .portrait{width:48px;height:48px}.recruitment-offer strong{font-size:13px}.recruitment-offer .unit-tier{display:inline-flex;border:1px solid #9c8457;border-radius:4px;padding:1px 4px;font-size:9px;color:#dac18c;margin-left:3px}.recruitment-offer .recruit-price{color:#e5c68b;font-size:13px}.recruitment-offer del{font-size:10px;color:#a99e85;margin-left:4px}.recruit-selected{color:#eed5a5;font-size:12px;margin-bottom:7px}.recruit-selected span{color:#aaa18b;font-size:10px}.recruiter-sheet .quantity-control{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:end;gap:8px;margin:0}.recruiter-sheet .quantity-control>label{display:grid;gap:3px;font-size:10px;color:#beb096}.recruiter-sheet .quantity-control input{width:100%;height:42px;text-align:center}.recruiter-sheet .quantity-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:0}.recruiter-sheet .quantity-buttons button{height:42px;min-width:0;padding:3px;border-radius:5px;font-size:11px}.recruiter-sheet .purchase-total{margin:8px 0;font-size:11px}.recruiter-sheet .purchase-total strong{font-size:16px;color:#e6c88d}.recruiter-sheet .sheet-fixed-footer .army-hint{display:none}.recruiter-sheet .sheet-fixed-footer .primary-button{min-height:44px;margin-top:0;font-size:13px}.recruiter-sheet .stack-detail .recruiter-location{display:block;margin:0 0 4px;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recruiter-sheet .stack-detail>div{min-width:0}.recruiter-checkout-panel{display:grid;grid-template-rows:18px 42px 38px 44px;gap:4px}.recruiter-checkout-panel .recruit-selected{margin:0;line-height:18px}.recruiter-checkout-panel .recruit-checkout{padding:0}.recruiter-checkout-panel .recruit-checkout>span{grid-template-rows:14px 20px}.recruiter-checkout-panel .recruit-checkout small{font:inherit;line-height:14px}.recruit-quote-retry{min-height:0;padding:0;font:inherit;line-height:14px;color:#e9ce94;text-decoration:underline}.sheet-backdrop.centered-backdrop{align-items:center;padding:12px}.sheet.centered-dialog{width:100%;max-width:360px;max-height:calc(100dvh - 24px);border-radius:14px;padding:18px;outline:none}.centered-dialog>.sheet-handle{display:none}.enemy-recruitment-dialog>.section-heading{margin-bottom:12px}.enemy-recruitment-dialog h2{font-size:19px;line-height:1.2}.enemy-recruitment-dialog .stack-detail{gap:10px;margin:0 0 12px}.enemy-recruitment-dialog .stack-detail .portrait{width:48px;height:48px;flex-shrink:0}.enemy-recruitment-dialog .stack-detail h3{font-size:15px;margin:0 0 4px}.enemy-recruitment-dialog .stack-detail p{font-size:10px;margin:0}.join-offer-price{border-block:1px solid #8d774b66;padding:10px 0;margin-bottom:12px}.join-offer-price>span{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px}.join-offer-price strong{color:#e9ce94;font-size:15px;white-space:nowrap}.join-offer-price>small{display:block;color:#b9ac8b;font-size:10px;line-height:1.4;margin-top:5px}.join-offer-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.join-offer-actions>button,.join-confirm-actions>button{min-height:44px;margin:0;padding:8px 4px;border:1px solid #8d774b88;border-radius:7px;font-size:12px}.join-attack{background:#652d2588;border-color:#a9654b!important;color:#edb39c}.join-confirmation>p{font-size:13px;margin:0 0 5px}.join-confirmation>small{display:block;color:#b9ac8b;font-size:11px}.join-confirm-actions{display:grid;grid-template-columns:1fr 1.6fr;gap:8px;margin-top:12px}.recruiter-sheet .stack-detail p{margin:0}.recruit-offer-row{display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:center;gap:6px}.recruit-offer-row .recruitment-offer{min-width:0;gap:8px;padding:9px 8px}.recruit-offer-row .recruitment-offer>span:not(.portrait){min-width:0}.recruit-inspect{display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #89764d88;border-radius:50%;background:#2b3023;color:#c9b480}.recruiter-sheet .recruit-selected{display:flex;align-items:baseline;justify-content:space-between;gap:7px;margin-bottom:4px}.recruit-selected strong{font-size:12px;font-weight:500;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recruit-selected>span{white-space:nowrap}.recruit-checkout{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:5px 0}.recruit-checkout>span{display:grid;gap:1px;color:#b9ac8b;font-size:10px}.recruit-checkout>span:last-child{text-align:right}.recruit-checkout strong{font-size:14px;font-weight:500;color:#e9ce94}.recruit-quote-status{display:flex;justify-content:space-between;align-items:center;gap:6px;margin:0 0 6px;color:#c5b38c;font-size:10px}.recruit-quote-status .text-button{min-height:30px;font-size:11px}.recruiter-sheet .warning>.text-button{display:flex;align-items:center;gap:5px;margin-top:8px}.battle-reward-cards{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.battle-reward-cards>div{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 7px;border:1px solid #8b784b66;border-radius:9px;background:linear-gradient(130deg,#3b3b2655,#20291e);min-width:0}.battle-reward-cards .portrait{width:34px;height:34px;flex-shrink:0}.battle-reward-cards>div>span{display:grid;gap:4px;text-align:left;min-width:0}.battle-reward-cards small{font-size:10px;color:#b8ae92}.battle-reward-cards strong{color:#ebd49e;font-size:18px;font-weight:500;overflow-wrap:anywhere}.combat-loot-affixes{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.combat-loot-affixes>span{padding:3px 5px;border:1px solid #87754d55;border-radius:4px;background:#20271c;color:#cfc19c;font-size:10px}.combat-result-actions{position:fixed;bottom:0;left:50%;transform:translate(-50%);z-index:30;width:100%;max-width:430px;padding:10px 12px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #8d774b;background:linear-gradient(180deg,#2b2e21,#191e17);box-shadow:0 -6px 18px #0007}.combat-result-actions .primary-button{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:44px;margin:0}.forge-action-bar>div{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-bottom:8px}.forge-action-bar strong{color:#eed3a7;font-size:16px}.forge-action-bar span{color:#c4b799;font-size:10px}.forge-action-bar .ritual-action{margin:0;min-height:44px;font-size:12px}.item-sheet .comparison-cards>div{padding:8px 6px;gap:5px}.item-sheet .comparison-cards strong{font-size:12px;line-height:1.25}.item-sheet .comparison-cards>div>span{font-size:9px}.item-sheet .item-comparison table{margin-top:8px}.item-sheet .item-comparison th,.item-sheet .item-comparison td{padding:7px 4px;font-size:10px}.item-sheet .sheet-scroll-body>.primary-button{min-height:40px;margin-top:9px}.item-sheet .forge-panel{padding:12px 10px;margin-top:12px}.item-sheet .forge-heading .eyebrow{font-size:8px}.item-sheet .forge-heading h3{font-size:22px;margin:3px 0 0}.item-sheet .forge-scene{height:115px;margin:0}.item-sheet .forge-scene .ritual-ring{width:90px;height:90px}.item-sheet .forge-scene .ring-two{width:108px;height:108px}.item-sheet .forge-anvil{width:110px;height:110px;bottom:-12px}.item-sheet .forge-item{top:5px;left:calc(50% - 26px)}.item-sheet .forge-item .art-icon{width:52px!important;height:52px!important}.item-sheet .forge-level{top:43px;right:calc(50% - 37px)}.item-sheet .forge-quote{padding:8px;margin-top:8px}.item-sheet .forge-quote strong{font-size:23px}.item-sheet .forge-rule,.item-sheet .forge-safety,.item-sheet .forge-wallet{font-size:10px;line-height:1.5;margin:7px 0}.item-sheet .dismantle-entry{margin-top:16px;padding-top:12px;border-top:1px solid #9c685955}.item-sheet .dismantle-entry>p{font-size:10px;color:#bba396}.item-sheet .dismantle-entry button{color:#d4a18d;border-color:#8a5b49}.region-description{margin:4px 0 12px}.region-description p{font-size:12px;line-height:1.6}.destination-list .territory-card{padding:13px 11px;border-radius:9px;background:linear-gradient(110deg,#30362a,#22291f);margin-bottom:7px;border-left:3px solid #786843}.destination-list .territory-card strong{font-size:15px;color:#e1cba4}.destination-list .territory-card small{font-size:10px;line-height:1.5}.destination-list .territory-card>b{font-size:10px;min-width:62px;text-align:right;color:#cdb27a}.destination-list .territory-card.current{opacity:1;border-left-color:#9fb975;background:#34412a}.destination-list .territory-card.current>b{color:#b8ce95}.destination-list .territory-card.locked{opacity:.65;border-left-color:#66665b}.quest-npc-heading{display:flex;align-items:center;gap:12px;padding:4px 0 12px;border-bottom:1px solid #7c68413d}.quest-npc-heading .portrait{width:52px;height:52px}.quest-npc-heading>div{min-width:0;display:grid;gap:6px}.quest-npc-heading strong{font-family:Cormorant Garamond,Georgia,serif;font-size:20px;color:#dfc999}.quest-npc-heading small{font-size:10px;color:#aba48c}.quest-objective{border:1px solid #78653f;border-radius:9px;padding:12px;margin:14px 0;background:linear-gradient(110deg,#493e2755,#24302355)}.quest-objective>div{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;font-size:11px}.quest-objective b{flex-shrink:0;color:#efd297}.quest-objective progress,.capacity-meter{display:block;width:100%;height:7px;appearance:none;border:0;border-radius:6px;overflow:hidden;background:#121b13;accent-color:#b59b53}.quest-objective progress::-webkit-progress-bar,.capacity-meter::-webkit-progress-bar{background:#121b13}.quest-objective progress::-webkit-progress-value,.capacity-meter::-webkit-progress-value{background:linear-gradient(90deg,#7d8d4d,#d4b975);transition:width .3s}.quest-objective.ready{border-color:#9ab87a}.quest-objective.ready b{color:#bbd79c}.quest-rewards{display:grid;grid-template-columns:repeat(auto-fit,minmax(85px,1fr));gap:7px;padding:0;margin:12px 0}.quest-rewards>span{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;padding:10px 5px;border-radius:8px;border:1px solid #7f70474a;background:#1a241c80;color:#e3cd9f;font-size:11px;line-height:1.4}.quest-rewards .portrait{width:32px;height:32px}.warehouse-categories button{font-size:11px}.warehouse-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.warehouse-filters label:first-child{grid-column:1/-1}.warehouse-filters input,.warehouse-filters select{width:100%;font-size:16px}.warehouse-filters>button{grid-column:1/-1;min-height:36px}.warehouse-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.warehouse-grid .bag-slot{height:116px}.warehouse-screen>.muted{font-size:11px;line-height:1.5}.warehouse-screen h2{font-size:20px}.warehouse-resources>.game-stat-art,.warehouse-resources>.portrait{margin:4px auto 12px;width:56px;height:56px}.warehouse-resources>h2{text-align:center;color:#dec79b}.unit-attributes{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:14px 0}.unit-attributes>div{grid-column:span 2;display:flex;align-items:center;gap:7px;padding:10px 7px;min-width:0;border:1px solid #746341;border-radius:8px;background:linear-gradient(135deg,#433b2d,#253024)}.unit-attributes>div:nth-last-child(-n+2){grid-column:span 3}.unit-attributes span{display:grid;gap:4px;min-width:0}.unit-attributes small{font-size:9px;color:#bdb298}.unit-attributes strong{font-size:17px;color:#ecd1a2;font-variant-numeric:tabular-nums}.unit-attributes .game-stat-art{width:28px;height:28px}.army-screen>.page-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.army-screen .army-panel>.army-hint{display:none}.army-screen .compact-hint{padding:0;margin:12px 0;border:0;background:none;font-size:10px;color:#b0a68b}.army-screen .capacity-meter{margin:12px 0}.barracks-upgrade.compact-disclosure{padding:0;margin:12px 0}.mail-list .mail-kind{display:inline-flex;justify-self:start;width:fit-content;padding:2px 5px;border:1px solid #92794d77;border-radius:4px;color:#cab484;font-size:9px;margin-bottom:6px}.mail-list .mail-kind.personal{color:#b1c2ce;border-color:#6e91a777}.mail-list .mail-kind.invitation{color:#bfcba0;border-color:#88a06077}.mail-pending-gold{display:block;color:#e4c16f;font-size:11px;margin-top:7px}.letter-address{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;padding:9px 0;border-bottom:1px solid #8d7a4a40}.letter-address p{margin:0;font-size:11px}.letter-address .text-button{padding:0 3px;min-height:32px;font-size:11px}.letter-address>small{font-size:10px;margin-left:auto;color:#aaa18a}.exclusive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.exclusive-card{min-height:185px;padding:13px 9px;background:linear-gradient(140deg,#34372b,#20291e);border-color:#766344}.exclusive-card strong{font-size:13px;line-height:1.4}.exclusive-card b{font-size:14px}.exclusive-card.sold{opacity:.55;border-style:dashed}.clan-resource-icon:has(.game-stat-art){background:transparent;border:0}@media(max-width:350px){.unit-attributes>div{padding:9px 5px;gap:4px}.unit-attributes .game-stat-art{width:23px;height:23px}.unit-attributes strong{font-size:15px}.forge-action-bar>div{align-items:flex-start}.forge-action-bar span{font-size:9px;text-align:right}}@media(prefers-reduced-motion:reduce){.quest-objective progress::-webkit-progress-value,.capacity-meter::-webkit-progress-value{transition:none}}.game-shell .hero-stat-card:has(.hero-stat-add) .hero-stat-read{flex:0 1 auto;width:calc(100% - 40px);max-width:calc(100% - 40px);padding-right:0}.game-shell .hero-stat-add{width:44px;height:44px;right:0;bottom:0;border:0;background:transparent;box-shadow:none;isolation:isolate}.game-shell .hero-stat-add:before{content:"";position:absolute;width:23px;height:23px;z-index:-1;border:1px solid #a68b50;border-radius:5px;background:linear-gradient(#645031,#392e1d)}.game-shell .hero-stat-read small{font-size:11px}.game-shell .hero-stat-add:focus-visible,.game-shell .enemy-inspect:focus-visible,.game-shell .fighter-inspect:focus-visible{outline:2px solid #d7bd7d;outline-offset:1px}.game-shell .hero-resources button{font:inherit;color:inherit;padding:0}.game-shell .hero-resources .gold{color:#dac084;font-size:16px;margin-left:auto}.game-shell .resource-iridium{display:inline-flex;align-items:center;gap:3px}.game-shell .hero-resources .xp-label{display:flex;width:100%;font-size:10px}.game-shell .hero-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 8px;height:auto;min-height:0;padding:6px 12px 8px}.game-shell .hero-bar:after{display:none}.game-shell .hero-bar .hero-identity{gap:7px}.game-shell .hero-bar .hero-avatar-button{display:grid;place-items:center;width:40px;height:40px}.game-shell .hero-bar .hero-avatar-button .portrait{width:36px;height:36px}.game-shell .hero-bar .hero-identity>span{flex:1}.game-shell .hero-bar .hero-identity strong{font-size:19px;line-height:23px}.game-shell .hero-bar .hero-identity>span>small{display:flex;align-items:center;font-size:10px;line-height:14px;margin-top:0}.hero-bar .hero-bar-race{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hero-bar .hero-bar-level{white-space:nowrap}.game-shell .hero-bar .hero-mail-alert{width:24px;height:24px;flex-basis:24px}.game-shell .hero-bar .hero-resources{display:grid;gap:2px;width:max-content;min-width:80px;padding:0}.game-shell .hero-bar .gold{font-size:14px;line-height:18px;gap:4px}.game-shell .hero-bar .hero-iridium{gap:6px;font-size:11px;line-height:17px}.game-shell .hero-bar .hero-iridium img{width:16px;height:16px}.game-shell .hero-bar .hero-components{margin-left:0;gap:3px}.hero-bar-bottom{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:5px;min-width:0}.game-shell .hero-bar .active-effects{gap:3px;margin:0}.game-shell .hero-bar .active-effects:empty{display:none}.game-shell .hero-bar .active-effects>button{gap:2px;min-height:20px;padding:0}.game-shell .hero-bar .active-effects>button img{width:18px;height:18px}.game-shell .hero-bar .active-effects small{font-size:9px}.game-shell .hero-bar .xp-label{display:flex;justify-content:flex-end;gap:5px;width:auto;flex-shrink:0;margin:0 0 0 auto;padding:0;font-size:9px;line-height:11px;color:#b0a68e}.game-shell .hero-bar>.xp-track{position:absolute;bottom:0;left:0;right:0;width:100%;height:4px;border:0;border-top:1px solid #4f513033;background:#0c100c}.game-shell .hero-bar>.xp-track>div{background:linear-gradient(90deg,#7f8951,#c4bd80)}.game-shell .nearby-panel{margin:10px 0;padding:0;border:1px solid var(--line);border-radius:0;background:#282619}.game-shell .nearby-panel>.nearby-entry{display:flex;align-items:center;justify-content:flex-start;gap:10px;margin:0;padding:12px;min-height:62px;color:var(--gold);list-style:none;cursor:pointer}.nearby-entry::-webkit-details-marker{display:none}.nearby-emblem{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;border:1px solid #8e7b4f;border-radius:50%;background:radial-gradient(circle at 35% 25%,#665735,#25281d 75%);box-shadow:inset 0 0 0 2px #161b13}.nearby-entry strong{font-size:12px}.nearby-entry small{margin-left:auto;font-size:11px;color:var(--muted)}.game-shell .nearby-panel>.nearby-entry:after{content:"→"}.game-shell .nearby-panel[open]>.nearby-entry:after{content:"⌄"}.game-shell .nearby-panel[open]>.nearby-entry{border-bottom:1px solid #78613a44}.nearby-panel>p{margin:10px 12px;font-size:11px}.game-shell .nearby-panel .nearby-list{grid-template-columns:minmax(0,1fr);gap:0;margin:0}.game-shell .nearby-list button{padding:10px 12px;border:0;border-radius:0;background:transparent;border-bottom:1px solid #78613a33}.game-shell .nearby-list button>span:not(.portrait):not(.nearby-player-arrow){flex:1}.game-shell .nearby-list button>.nearby-player-arrow{display:block;color:var(--gold)}.game-shell .nearby-list strong{font-size:12px}.nearby-panel>.list-pagination{margin:0 12px}.nearby-panel>.list-pagination:empty{display:none}.game-shell .active-effects>button{display:inline-flex;align-items:center;gap:3px;padding:1px 2px;min-height:26px}.game-shell .active-effects>button img{width:20px;height:20px;border-radius:50%;object-fit:cover}.game-shell .active-effects>button small{font-size:10px;color:#c5bba1}.resource-details{margin:0}.resource-details>div{display:flex;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid #74603c55}.resource-details dt{color:#b9ae94}.resource-details dd{margin:0;color:#ead09a;text-align:right;overflow-wrap:anywhere}.game-shell .market-tools{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto 36px;gap:7px;margin:10px 0;align-items:end}.game-shell .market-sort{font-size:0;gap:0}.game-shell .market-sort select{font-size:12px;min-height:40px;padding:7px}.game-shell .market-tools .filter-toggle{min-height:40px;padding:7px 9px}.market-help summary{list-style:none;display:grid;place-items:center;border:1px solid #6a6046;border-radius:7px;min-height:40px;color:#ccb17c;cursor:pointer;font-size:16px}.market-help summary::-webkit-details-marker{display:none}.market-help p{position:absolute;z-index:5;right:0;left:0;margin:6px 0;padding:12px;background:#26291e;border:1px solid #897348;border-radius:8px;color:#d0c2a2;font-size:12px;line-height:1.5;box-shadow:0 6px 20px #0008}.game-shell .market-card .market-detail{min-height:76px;padding:9px 11px 4px}.game-shell .market-card-footer{min-height:28px;padding:0 11px 4px;border-top:0}.game-shell .market-card-footer .text-button{font-size:11px;padding:2px 0;min-height:24px}.game-shell .market-buy-card .market-lot-status{display:none}.game-shell .market-list{gap:8px}.sheet-fixed-footer .muted{margin:0 0 7px;font-size:11px}.sheet-fixed-footer .primary-button{width:100%}.item-comparison th,.item-comparison td{font-size:12px}.item-comparison thead th{font-size:10px}.action-reason{color:#d4b585;font-size:12px;margin:6px 0}.game-shell .encounter.enemy{padding:0 7px 0 0;gap:2px}.enemy-inspect{display:flex;align-items:center;flex:1;gap:10px;min-width:0;height:100%;padding:7px 8px;text-align:left}.enemy-inspect .portrait{flex-shrink:0}.game-shell .encounter.enemy .attack-label{align-self:stretch;justify-content:center;padding:0 8px;min-width:48px;font-size:11px}.encounter-details>section{border-bottom:1px solid #75603e66;padding:10px 0 16px}.encounter-details .stack-detail{margin-bottom:12px}.home-quest-summary{display:flex;align-items:center;gap:8px;width:100%;min-height:40px;padding:7px 14px;border-block:1px solid #75603e55;background:#38352833;color:#c6b894;font-size:12px;text-align:left}.home-quest-summary>span:nth-child(2){flex:1}.home-quest-summary.ready{color:#efd393;background:#78612830}.landscape .location-illustration{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.landscape:has(.location-illustration):after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#060c0ac9,#10120a22),linear-gradient(0deg,#08110ed9,transparent 85%)}.landscape:has(.location-illustration) .landscape-caption,.landscape:has(.location-illustration) .location-badge{z-index:1}.fighter-portrait-area .fighter-inspect{position:absolute;inset:0;z-index:3;width:100%;height:100%;background:transparent;border:0;padding:0}.chat-new-messages{align-self:center;min-height:36px;padding:6px 14px;border:1px solid #857147;border-radius:18px;background:#383927;color:#dfc38b;font-size:12px}.barracks-controls{display:grid;gap:10px;margin:14px 0 8px}.barracks-search{display:flex;align-items:center;gap:8px;padding-left:10px;border:1px solid #74644380;border-radius:6px;background:#121b16;color:#b9a779}.barracks-search input{min-width:0;width:100%;min-height:42px;padding:8px 8px 8px 0;border:0;background:transparent;color:#e2d5b9}.barracks-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.barracks-filters label{display:grid;gap:4px;font-size:11px;color:#b8ad91}.barracks-controls select{min-width:0;width:100%;min-height:40px;padding:6px;color:#d6c59f;border:1px solid #74644380;border-radius:5px;background:#1c241c;font-size:12px}.barracks-results{display:flex;align-items:center;gap:8px;color:#b5a88b;font-size:11px}.barracks-results>label{margin-left:auto}.barracks-results select{border-color:transparent}.barracks-results .text-button{min-width:40px;min-height:40px;display:grid;place-items:center}.hangar-row .barracks-unit-name{flex:1;min-width:0}.hangar-row .barracks-unit-name strong{overflow-wrap:anywhere}.hangar-row>b{flex-shrink:0}.army-transfer-preview{margin:14px 0;padding:10px;border:1px solid #69835c77;border-radius:8px;background:#3e513226}.army-transfer-preview h3{margin:0 0 10px;color:#b7c49c;font:12px Inter,sans-serif}.army-transfer-preview>div{display:flex;align-items:center;gap:8px;padding:6px 0;font-size:12px}.army-transfer-preview .portrait{width:30px;height:30px;flex-shrink:0}.army-transfer-preview>div>span:not(.portrait){flex:1;min-width:0}.army-transfer-preview small{display:block;font-size:10px;color:#a9a58e}.army-transfer-preview b{display:flex;gap:5px;align-items:center;color:#d8c18b;font-variant-numeric:tabular-nums;white-space:nowrap}.army-transfer-preview del{text-decoration:none;font-weight:400;color:#9c9b84}.combat-casualties{margin:16px 0;border:1px solid #6d664a66;border-radius:10px;background:#13221c66;padding:12px}.combat-casualties h2{margin:0 0 10px;font-size:20px;color:#ded0ad}.casualty-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(65px,1fr));gap:8px;margin-bottom:12px}.casualty-totals>span{display:grid;grid-template-columns:auto auto;justify-content:center;align-items:center;gap:4px;color:#b3c89d}.casualty-totals strong{font-size:18px}.casualty-totals small{grid-column:1 / -1;font-size:10px;color:#b8ad92;text-align:center}.casualty-totals .loss{color:#d2a196}.casualty-list{list-style:none;margin:0;padding:0}.casualty-list li,.resurrection-troop{display:flex;gap:9px;align-items:center;padding:9px 0;border-top:1px solid #74644355}.casualty-list .portrait,.resurrection-troop .portrait{width:36px;height:36px;flex-shrink:0}.casualty-list li>div,.resurrection-troop>span:not(.portrait){flex:1;min-width:0;text-align:left}.casualty-list strong,.resurrection-troop strong{display:block;font-size:12px;color:#d5c8a5}.casualty-list small,.resurrection-troop small{display:block;margin-top:4px;color:#a6aa96;font-size:10px;line-height:1.4}.casualty-list .healing-return{display:flex;align-items:center;gap:4px;color:#a9c68b}.casualty-list b{font-size:15px;color:#ce9e8e;flex-shrink:0}.resurrection-troop{border-color:#7a8b5b66;margin:8px 0}.resurrection-troop b{color:#b4cd8f;font-size:17px}.combat-casualties .no-casualties{font-size:12px;color:#afc198;margin:6px 0 0}.clan-buildings-grid .clan-building>.building-summary{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:start;align-items:start;gap:10px 4px;min-height:176px;padding:14px 12px}.building-emblem{grid-column:1;grid-row:1;display:grid;place-items:center;width:52px;height:52px;border:1px solid #ad955a80;border-radius:50%;background:radial-gradient(circle at 36% 25%,#726242,#2c3021 75%);box-shadow:inset 0 0 0 3px #272a20,0 4px 12px #0005;color:#e0c995}.building-emblem.smithy{background:radial-gradient(circle at 36% 25%,#855c36,#302722 75%)}.building-emblem.market{background:radial-gradient(circle at 36% 25%,#695575,#252232 75%)}.building-emblem.warehouse{background:radial-gradient(circle at 36% 25%,#587269,#202f2b 75%)}.clan-building>.building-summary>.building-chevron{grid-column:2;grid-row:1;border:0;background:none;padding:0;box-shadow:none;align-self:start;margin-top:6px}.clan-building[open] .building-chevron{transform:rotate(180deg)}.building-summary h2{grid-column:1 / -1}.building-summary .building-status{display:flex;gap:4px;align-items:center;font-size:10px;color:#a5a28d;grid-column:1 / -1}.building-summary.ready .building-status{color:#b1c78e}.building-summary.building .building-status{color:#e0bd76}.building-progress{grid-column:1 / -1;display:grid;gap:6px}.building-progress>span{display:flex;justify-content:space-between;gap:4px;font-size:10px;color:#c7b990}.building-progress progress{width:100%;height:5px;display:block;accent-color:#d7b572;border:0;border-radius:5px;overflow:hidden;background:#121d15}.building-progress progress::-webkit-progress-bar{background:#121d15}.building-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#7e7447,#ddbe7c);border-radius:5px}.building-progress progress::-moz-progress-bar{background:#c7ac6e}.clan-buildings-grid .clan-building[open]>.building-summary{grid-template-columns:52px minmax(0,1fr) auto;align-items:center;min-height:86px}.clan-building[open] .building-summary h2{grid-column:2;grid-row:1}.clan-building[open] .building-summary .building-chevron{grid-column:3;grid-row:1}.clan-building[open] .building-summary .building-status{grid-column:2 / -1}.clan-building[open] .building-summary .building-progress{grid-column:1 / -1}.clan-building .building-summary h2 small{font-size:11px;margin-top:4px}@media(max-width:350px){.game-shell.hero-profile-shell .hero-resources .gold{font-size:12px}.game-shell.hero-profile-shell .hero-resources .xp-label{font-size:8px}.game-shell.hero-profile-shell .active-effects>button{min-height:20px;padding:0 2px}.game-shell.hero-profile-shell .active-effects>button img{width:18px;height:18px}.game-shell .hero-stat-add{width:40px;height:40px}.game-shell .hero-stat-add:before,.game-shell .hero-stat-add svg{transform:translateY(5px)}.game-shell .hero-stat-read small{font-size:10px}.game-shell .hero-stat-card:has(.hero-stat-add) .hero-stat-read .stat-art{width:12px;height:12px}.game-shell .hero-stat-card:has(.hero-stat-add) .hero-stat-read{grid-template-columns:12px minmax(0,1fr);gap:1px}.game-shell .hero-stat-read strong{font-size:19px}.game-shell .encounter.enemy .attack-label{min-width:42px;padding:0 5px}}.bag-sort{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0;font-size:11px;color:#b6aa8a}.bag-sort select{width:auto;min-height:34px;padding:6px 9px;font-size:12px}.bag-slot{position:relative}.bag-enhancement{position:absolute;top:6px;right:6px;padding:1px 4px;border:1px solid #a08750;border-radius:4px;background:#20241c;color:#e6c77e;font-size:10px}.bag-new-mark{position:absolute;top:7px;left:7px;width:7px;height:7px;border-radius:50%;background:#d9e5a1;box-shadow:0 0 7px #d9e5a177}.item-sheet .sheet-fixed-footer>div>.primary-button{width:100%;margin:0}.quest-entry.quest-ready{border-color:#718454;background:linear-gradient(90deg,#39472b,#272f21)}.quest-entry.quest-ready small,.quest-entry.quest-ready>b{color:#c6dda1}.mail-filter-controls{margin:10px 0 0}.mail-category-tabs{display:flex;gap:4px}.mail-category-tabs button{flex:1;min-width:0;min-height:36px;padding:5px 3px;border:1px solid #63563d66;border-radius:5px;font-size:11px;color:#b8ad92;background:#20271d}.mail-category-tabs button.selected{border-color:#ad8f53;background:#4a4028;color:#e9ce94}.mail-gold-filter{display:flex;align-items:center;gap:7px;min-height:36px;font-size:11px;color:#c2b393}.mail-gold-filter input{width:16px;height:16px;margin:0;accent-color:#bda366}.list-update-status{min-height:20px;padding:3px 0;font-size:10px;color:#a5a78b}.stale-list{opacity:.55}.stale-list .market-detail:disabled{opacity:1}.list-skeleton{display:grid;gap:8px;margin:12px 0}.skeleton-card{min-height:78px;display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #5d543955;border-radius:6px;background:#25271c;overflow:hidden}.skeleton-card>i{display:block;width:40px;height:40px;border-radius:50%;flex-shrink:0;background:#6b68462b}.skeleton-card>span{display:grid;gap:10px;width:70%}.skeleton-card b,.skeleton-card small{height:9px;display:block;border-radius:3px;background:#77735425}.skeleton-card small{width:65%}.skeleton-card{background-image:linear-gradient(100deg,transparent 20%,#c7b77e0c 50%,transparent 80%);background-size:200% 100%;animation:skeleton-glow 1.7s linear infinite}.skeleton-bag{grid-template-columns:repeat(4,minmax(0,1fr))}.bag-toolbar-skeleton{display:grid;gap:12px;min-height:200px;padding:4px 0}.bag-toolbar-skeleton>span{display:block;height:40px;border:1px solid #5d543955;background:#25271c;border-radius:6px}.bag-toolbar-skeleton>i,.bag-toolbar-skeleton>b{display:block;width:65%;height:9px;background:#77735425;border-radius:3px}.skeleton-bag .skeleton-card{min-height:106px;flex-direction:column;justify-content:center;padding:8px 5px}.skeleton-bag .skeleton-card>span{width:90%;gap:6px}.skeleton-market .skeleton-card{min-height:110px}@keyframes skeleton-glow{to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){.skeleton-card{animation:none}}.territory-services{display:flex;flex-wrap:wrap;gap:5px 10px;margin-top:8px}.territory-services>span{display:inline-flex;align-items:center;gap:4px;color:#baa77e;font-size:10px}.territory-services svg{flex-shrink:0;color:#9eaa7f}.destination-list .territory-card>span{min-width:0}.destination-list .territory-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 8px;text-align:left}.destination-list .territory-card>span:first-child{display:contents}.destination-list .territory-card>span>strong{grid-column:1}.destination-list .territory-card>span>small{grid-column:1 / -1;margin:0}.destination-list .territory-card>span>small:first-of-type{grid-column:1;grid-row:2}.destination-list .territory-card>span>small:last-of-type{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.destination-list .territory-card .territory-services{grid-column:1 / -1;margin-top:3px}.destination-list .territory-card>b{grid-column:2;grid-row:1 / 3;align-self:center}.last-combat-action{min-height:40px;padding:6px 0;border-top:1px solid #6e603c44;color:#d1be91}.last-combat-action>div{display:flex;gap:4px;align-items:center;min-width:0}.last-combat-action .portrait{width:19px;height:19px;flex-shrink:0}.last-combat-action>div>span:not(.portrait){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.last-combat-action>small{display:block;margin-top:3px;font-size:10px;color:#bcb192}.combat-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.combat-controls .last-combat-action{grid-column:1 / -1;margin:0;min-height:32px;padding:0;border:0}.combat-action-dock{position:fixed;left:50%;bottom:0;transform:translate(-50%);width:min(430px,100%);z-index:25;margin:0;padding:9px 12px calc(9px + env(safe-area-inset-bottom));border-top:1px solid #8d754566;background:#1d2018f5;box-shadow:0 -5px 18px #0005}.journal-entry,.mail-collect-all{display:flex;align-items:center;gap:10px;width:100%;padding:12px;border:1px solid #625737;border-radius:10px;background:#24271b;color:#e7d3a0}.journal-entry{margin:12px 0;text-align:left}.journal-entry>span{margin-left:auto;font-size:11px;color:#c5b981}.quest-enemy-mark{display:inline-flex;align-items:center;color:#dac77c}.journal-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:4px 0 16px}.journal-tabs button{padding:10px 4px;border:1px solid #625737;border-radius:7px;font-size:12px}.journal-tabs button[aria-pressed=true]{background:#605335;color:#fff0c3}.journal-list{display:grid;gap:12px}.journal-card{padding:12px;background:#23271e;border:1px solid #56523b;border-radius:10px}.journal-card.ready{border-color:#8caa66}.journal-card-heading{display:flex;align-items:center;gap:10px}.journal-card-heading>span:not(.portrait){flex:1;min-width:0}.journal-card-heading>.portrait{flex:0 0 42px;width:42px;height:42px}.journal-card-heading strong,.journal-card-heading small{display:block}.journal-card-heading small{font-size:11px;color:#bbb69b;margin-top:3px}.journal-card>p{font-size:12px;margin:12px 0}.journal-progress>span{display:flex;justify-content:space-between;font-size:11px}.journal-progress progress{width:100%;height:5px;accent-color:#afba71}.journal-reward{font-size:12px;display:grid;gap:5px;padding:9px 0}.journal-reward small{color:#c3bba0}.journal-map-link{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:9px;border:1px solid #70603f;border-radius:7px}.journal-empty{padding:25px 10px;text-align:center;color:#c2bca0}.quest-target{display:flex;align-items:center;gap:10px;margin:10px 0}.delivery-item .delivery-stats{color:#d5c6a5;font-size:11px;line-height:1.5;margin-top:4px}.quest-claim-footer .quest-selection-count{display:flex;justify-content:space-between;font-size:12px}.quest-claim-footer .quest-rewards{display:flex;flex-wrap:wrap;gap:5px 12px;margin:8px 0;font-size:11px}.quest-claim-footer .quest-rewards>span{display:inline-flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:5px;padding:3px 0;border:0;background:transparent}.quest-claim-footer .quest-rewards .portrait,.quest-claim-footer .quest-rewards img{width:22px;height:22px}.quest-claim-footer .primary-button{width:100%}.quest-claim-footer .warning{font-size:11px}.territory-card .territory-thumbnail{width:58px;height:58px;object-fit:cover;border-radius:50%;border:1px solid #8b7950;flex:0 0 58px}.destination-list.illustrated-destinations .territory-card{display:grid;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:7px 11px}.destination-list.illustrated-destinations .territory-card>b{grid-column:2;grid-row:auto;text-align:right;font-size:11px}.destination-list.illustrated-destinations .territory-card>.territory-thumbnail{grid-row:1 / 3;align-self:start}.destination-list.illustrated-destinations .territory-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.illustrated-destinations .territory-card.focused{outline:2px solid #d4b86b;outline-offset:-2px}.territory-quest-ready,.territory-quest-active{display:flex!important;gap:4px;align-items:center;margin-top:5px}.territory-quest-ready{color:#bbd887!important}.recent-territories{margin:12px 0}.recent-territories>small{color:#c7bea3}.recent-territories>div{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.recent-territories button{display:flex;align-items:center;gap:5px;padding:8px;border:1px solid #665c3f;border-radius:7px;font-size:11px}.mail-collect-all{margin-top:10px;text-align:left}.mail-collect-all>span{flex:1}.mail-collect-all strong,.mail-collect-all small{display:block}.mail-collect-all small{margin-top:4px;font-size:10px;color:#c6bd9a}.mail-collect-all>b{font-size:18px}.mail-list>button{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:8px;align-items:center}.mail-letter-emblem{display:flex;width:34px;align-items:center;justify-content:center}.mail-letter-emblem.gold{color:#e4bd62}.mail-letter-emblem.clan{color:#bbb0dc}.mail-letter-emblem .portrait{width:32px;height:32px}.army-bonuses{margin-top:14px}.army-bonus-table{display:grid;grid-template-columns:minmax(0,1fr) 60px 70px;gap:8px;padding:12px 0;font-size:12px}.army-bonus-table>b,.army-bonus-table>small{text-align:right}.army-bonus-table>b{color:#bcd38c}.army-bonus-table>span:not(:first-child){text-align:right}.clan-buildings-grid .clan-building-card{padding:0;overflow:hidden}.clan-buildings-grid .clan-building-card>.clan-building-open{border:0;border-radius:0;background:transparent;padding:0;margin:0;width:100%;text-align:left}.clan-building-open .building-summary{display:flex;flex-direction:column;align-items:flex-start;position:relative;gap:8px;padding:13px;min-height:190px}.clan-building-open .building-emblem{width:80px;height:80px;border-radius:50%;overflow:hidden;padding:0;margin:0}.building-emblem img{width:100%;height:100%;object-fit:cover}.clan-building-open .building-title{font-size:18px;line-height:1.2;margin:0}.clan-building-open .building-title small{display:block;margin-top:6px;font-size:11px;font-family:var(--font-body, sans-serif);font-weight:400;color:#bdb99f}.clan-building-open .building-chevron{position:absolute;right:12px;top:18px;transform:rotate(-90deg)}.clan-building-open .building-progress{width:100%}.bestiary-compare-toggle{display:flex;align-items:center;gap:5px;padding:9px 7px;border:1px solid #6d6043;border-radius:7px;font-size:11px}.bestiary-view-controls{flex-wrap:wrap}.bestiary-compare-toggle[aria-pressed=true]{background:#615335}.bestiary-card[aria-pressed=true]{outline:2px solid #d6bf77;outline-offset:-2px;background:#42452b}.bestiary-card:disabled{opacity:.45}.bestiary-screen.comparing{padding-bottom:90px}.bestiary-compare-tray{position:fixed;bottom:calc(90px + env(safe-area-inset-bottom,0px));left:50%;transform:translate(-50%);z-index:30;width:min(calc(100% - 24px),450px);display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border:1px solid #9b8452;border-radius:12px;background:#25271ef5;box-shadow:0 4px 20px #0009}.bestiary-compare-tray>div{display:flex;align-items:center;gap:7px}.bestiary-compare-tray>div>button{display:flex;align-items:center;padding:2px}.bestiary-compare-tray .primary-button{width:auto;padding:10px;font-size:12px}.unit-comparison-heading{display:grid;grid-template-columns:30% 35% 35%;align-items:center;gap:0;padding:8px 0 16px}.unit-comparison-heading>span{font-size:11px;color:#b7b19a}.unit-comparison-heading>div{display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;padding:0 4px;min-width:0}.unit-comparison-heading strong{font-size:12px;overflow-wrap:anywhere}.unit-comparison-heading small{font-size:10px;color:#bcb59e}.unit-comparison-table>div{display:grid;grid-template-columns:30% 35% 35%;align-items:center;border-top:1px solid #5b543b;padding:10px 0}.unit-comparison-table strong{font-size:12px}.unit-comparison-table [role=cell]{display:flex;flex-direction:column;text-align:center;gap:3px}.unit-comparison-table small{font-size:10px}.unit-comparison-table .better{color:#b7d787}.unit-comparison-table .worse{color:#dcac93}@media(max-width:360px){.clan-building-open .building-summary{min-height:182px;padding:10px}.clan-building-open .building-title{font-size:16px}.mail-list>button{grid-template-columns:28px minmax(0,1fr)}.mail-list>button>span:last-child{grid-column:2}}.landscape{display:flex;align-items:flex-end;height:auto;min-height:162px;padding:55px 18px 14px}.landscape .landscape-caption{position:static;min-width:0}.landscape-caption>span{position:absolute;top:16px;left:62px;right:12px;min-height:32px;font-size:9px;line-height:1.4}.landscape-caption>span svg{flex-shrink:0}.landscape h1{margin:5px 0;font-size:clamp(25px,7vw,31px);line-height:1.15;overflow-wrap:anywhere}.landscape p{margin:6px 0 0;line-height:1.45}.item-sheet.sheet-with-footer{height:auto;max-height:min(86dvh,780px)}.item-sheet .forge-panel{padding:10px;margin-top:10px}.item-sheet .forge-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.item-sheet .forge-heading h3{margin:0;font-size:16px}.item-sheet .forge-milestones{margin:8px 0}.item-sheet .forge-compact-quote{display:grid;grid-template-columns:1fr 1px 1fr;padding:7px;margin:0}.item-sheet .forge-compact-quote strong{font-size:20px}.item-sheet .forge-compact-quote small{font-size:10px}.item-sheet .forge-rule,.item-sheet .forge-safety{font-size:10px;line-height:1.4;margin:6px 0 0}.item-sheet-forge .sheet-fixed-footer>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:8px}.item-sheet-forge .sheet-fixed-footer>div>.primary-button{grid-column:1;grid-row:2;min-width:0;min-height:44px;padding:8px 5px;background:#34382b;color:#decfaf;font-size:12px}.item-sheet-forge .forge-action-bar{display:contents}.item-sheet-forge .forge-action-bar>div{grid-column:1 / -1;grid-row:1;margin:0}.item-sheet-forge .forge-action-bar strong{font-size:12px}.item-sheet-forge .forge-action-bar .ritual-action{grid-column:2;grid-row:2;width:100%;min-width:0;margin:0;padding:8px 5px;font-size:12px}.barracks-panel .section-heading{margin-bottom:5px}.barracks-panel .capacity-meter{margin:0 0 7px}.barracks-panel .barracks-upgrade{margin:0}.barracks-panel .barracks-upgrade summary{display:flex;align-items:center;gap:9px;min-height:48px;padding:8px 11px;font-size:12px}.barracks-upgrade summary>svg{color:#cfb476}.barracks-upgrade summary>span{flex:1;min-width:0;line-height:1.35}.barracks-upgrade summary small{display:block;margin-top:2px;color:#b5a781;font-size:10px}.barracks-upgrade summary>svg:last-child{transition:transform .16s ease}.barracks-upgrade[open] summary>svg:last-child{transform:rotate(180deg)}.barracks-upgrade.compact-disclosure>.barracks-upgrade-body{min-width:0;margin:0;padding:10px 11px 11px}.barracks-upgrade-body>p:first-child{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px 10px;margin:0 0 4px;font-size:11px;color:#aead91}.barracks-upgrade-body strong{color:#dfc990;font-weight:500;font-variant-numeric:tabular-nums}.barracks-upgrade-body>small{display:block;font-size:10px}.barracks-upgrade-body>.primary-button{width:100%;min-width:0;min-height:44px;margin:9px 0 0;padding:9px 8px;white-space:normal;font-size:12px;line-height:1.4}.army-screen .compact-hint{margin:6px 0 10px;font-size:9px}.barracks-controls{gap:6px;margin:8px 0}.barracks-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}.barracks-search-row .filter-toggle{padding:7px;font-size:11px}.barracks-search input{font-size:16px;min-height:40px}.barracks-active-filters{margin:0;font-size:11px;color:#d5bd87}.barracks-results select{min-height:36px}.market-detail .market-lot-total{margin-top:4px;font-size:10px;line-height:1.4;color:#b2ad99}.warehouse-controls{margin:9px 0 3px}.warehouse-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}.warehouse-search-row>label{display:flex;align-items:center;gap:7px;min-width:0;padding:0 9px;border:1px solid #665b3f;border-radius:8px;background:#171a15;color:#c1ae80}.warehouse-search-row input{width:100%;min-width:0;min-height:40px;padding:7px 0;border:0;background:transparent;font-size:16px}.warehouse-search-row .filter-toggle{display:inline-flex;align-items:center;gap:5px;padding:7px;font-size:11px}.warehouse-search-row .filter-toggle b{min-width:17px;padding:1px 4px;border-radius:50%;background:#b99a55;color:#171a15}.warehouse-filter-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;margin-top:7px}.warehouse-filter-fields label,.warehouse-filter-fields select{width:100%;min-width:0}.warehouse-filter-fields select{min-height:40px;padding:7px;font-size:12px}.warehouse-filter-fields .text-button{grid-column:1 / -1;justify-self:end}.warehouse-active-filters{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:5px;color:#d5bd87;font-size:11px}.warehouse-active-filters>button{display:grid;place-items:center;min-width:32px;min-height:32px;padding:5px;border-radius:50%}.warehouse-screen .warehouse-categories{gap:3px;margin:7px 0}.warehouse-screen .warehouse-categories button{min-width:0;min-height:36px;padding:7px 4px;font-size:11px}.combat-fx-stage{visibility:hidden;position:fixed;inset:0;z-index:26;overflow:hidden;pointer-events:none;contain:layout paint;--impact-color: #f2d294}.combat-fx-stage.is-critical{--impact-color: #ffe4a1}.combat-fx-stage.is-reflected{--impact-color: #a9e3ff}.combat-flight{position:absolute;left:0;top:0;will-change:transform;filter:drop-shadow(0 5px 5px #0009) drop-shadow(0 0 7px #ead09288)}.combat-flight .portrait{width:100%;height:100%;border:2px solid #e0c17e;box-shadow:0 0 0 3px #171a15cc,inset 0 0 0 2px #ffe8a422}.combat-flight-trail{filter:blur(1px)}.combat-dodge-echo{position:absolute;filter:grayscale(.5) blur(.5px)}.combat-dodge-echo .portrait{width:100%;height:100%;border-color:#d4e5e8}.fighter-portrait-motion{display:flex;justify-content:center}.fighter.is-attacking .fighter-portrait-motion>.portrait{opacity:0}.combat-hp-track{position:relative;overflow:hidden}.combat-hp-track>.hp-fill{position:relative;z-index:1}.compact-combat .combat-hp-track>.hp-loss-trail{position:absolute;inset:0 auto 0 0;background:#e9ce88}.fighter.just-fallen .fighter-portrait-motion{animation:combat-fall .26s ease-out both}.combat-impact{position:absolute;width:0;height:0}.combat-impact-ring{position:absolute;left:-23px;top:-23px;width:46px;height:46px;border:2px solid var(--impact-color);border-radius:50%;box-shadow:0 0 12px var(--impact-color),inset 0 0 12px #fff5;animation:combat-impact-ring var(--fx-recovery) ease-out both}.combat-impact-slash{position:absolute;left:-30px;top:-2px;width:60px;height:4px;border-radius:100%;background:#fff5d1;box-shadow:0 0 8px var(--impact-color);animation:combat-impact-slash var(--fx-recovery) ease-out both}.is-critical .combat-impact-slash{height:6px;width:76px;left:-38px}.combat-spark{position:absolute;left:-2px;top:-2px;width:4px;height:4px;border-radius:2px;background:var(--impact-color);box-shadow:0 0 5px var(--impact-color);animation:combat-spark var(--fx-recovery) ease-out both}.is-fatal .combat-spark{background:#b8aa82;box-shadow:none}.combat-impact-number{position:absolute;left:0;top:-8px;display:grid;justify-items:center;color:#ffdab3;white-space:nowrap;font-size:22px;font-weight:800;line-height:1.1;text-shadow:0 2px 2px #000,0 0 7px #000,0 0 12px #000;animation:combat-damage-number var(--fx-recovery) ease-out both}.combat-impact-number>small{font-size:9px;letter-spacing:.6px;margin-bottom:3px}.combat-impact-number>em{font-size:9px;font-weight:500;font-style:normal;margin-top:4px;color:#eee0c1}.is-critical .combat-impact-number{color:#ffe8ac;font-size:27px}.is-dodged .combat-impact-number{color:#d1e9ee}.is-reflected .combat-impact-number{color:#bfeaff}.combat-impact.is-secondary{--impact-color: #c7b0e9}.combat-impact.is-secondary .combat-impact-number{color:#dcccf5;font-size:20px}.combat-mirror{position:absolute;display:grid;place-items:center;width:62px;height:62px;border:2px solid #bce9ff;border-radius:50%;background:radial-gradient(#aee9ff55,#436aa022 60%,#b5edff99);box-shadow:0 0 20px #9ce0ff99,inset 0 0 10px #e4faff;color:#e9fbff}.combat-splash-link{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.combat-splash-link path{fill:none;stroke:#dcc9ff;stroke-width:3;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;filter:drop-shadow(0 0 4px #ceb0ff);animation:combat-splash var(--fx-recovery) ease-out both}@keyframes combat-impact-ring{0%{opacity:.95;transform:scale(.45)}to{opacity:0;transform:scale(1.65)}}@keyframes combat-impact-slash{0%{opacity:1;transform:rotate(-35deg) scaleX(.35)}to{opacity:0;transform:rotate(-35deg) scaleX(1.3)}}@keyframes combat-spark{0%{opacity:1;transform:rotate(var(--spark-angle)) translate(5px) scale(1)}to{opacity:0;transform:rotate(var(--spark-angle)) translate(var(--spark-distance)) scale(.3)}}@keyframes combat-damage-number{0%{opacity:0;transform:translate(-50%,4px) scale(.75)}18%{opacity:1;transform:translate(-50%,-7px) scale(1.08)}70%{opacity:1}to{opacity:0;transform:translate(-50%,-25px) scale(1)}}@keyframes combat-fall{0%{opacity:1;transform:scale(1)}to{opacity:.2;transform:scale(.85)}}@keyframes combat-splash{0%{opacity:0;stroke-dashoffset:1}25%{opacity:1}65%{opacity:1;stroke-dashoffset:0}to{opacity:0;stroke-dashoffset:0}}@media(prefers-reduced-motion:reduce){.combat-fx-stage{display:none}.fighter.just-fallen .fighter-portrait-motion{animation:none}}.compact-combat{padding:10px 10px 18px;--battle-portrait-size: 46px}.compact-combat:not(.combat-result){padding-bottom:calc(128px + env(safe-area-inset-bottom))}.compact-combat .battle-diorama{isolation:isolate;overflow:hidden;padding:0;border:1px solid #ad905e;border-radius:14px 14px 10px 10px;background:#17251f;box-shadow:0 8px 24px #0006,0 0 0 3px #423b281f}.battle-diorama:after{content:"";position:absolute;z-index:4;pointer-events:none;inset:3px;border:1px solid #dbc89430;border-radius:11px 11px 7px 7px;box-shadow:inset 0 0 18px #070e0c55}.battle-scenery{position:absolute;inset:0;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at 50% 42%,#4e6d6255,#10201a);--mote-color: #b5c996}.battle-landscape{position:absolute;width:100%;height:100%;object-fit:cover;object-position:50% 50%;opacity:.9}.battle-landscape[hidden]{display:none}.battle-vignette{position:absolute;inset:0;background:linear-gradient(#0a1316bb,#111b1b26 22%,#0c181a16 48%,#0c1518aa 90%),linear-gradient(90deg,#070e1188,transparent 28%,transparent 72%,#070e1188)}.battle-mist{position:absolute;left:-25%;width:150%;height:90px;top:43%;opacity:.38;background:radial-gradient(ellipse,#a2c8c338,transparent 65%);animation:battle-mist-drift 19s ease-in-out infinite alternate}.battle-mist-near{top:68%;opacity:.2;animation-duration:26s;animation-direction:alternate-reverse}.atmosphere-embers{--mote-color: #ffc88c}.atmosphere-shards{--mote-color: #c2b8f4}.atmosphere-mist{--mote-color: #bacbd0}.battle-motes{position:absolute;inset:8% 0 10%}.battle-motes i{position:absolute;top:48%;left:12%;width:3px;height:5px;border-radius:70% 0;background:var(--mote-color);opacity:0;animation:battle-mote-drift 13s linear infinite}.battle-motes i:nth-child(2){left:31%;top:65%;animation-delay:-8s}.battle-motes i:nth-child(3){left:48%;top:32%;animation-delay:-4s}.battle-motes i:nth-child(4){left:68%;top:57%;animation-delay:-11s}.battle-motes i:nth-child(5){left:81%;top:43%;animation-delay:-2s}.battle-motes i:nth-child(6){left:91%;top:78%;animation-delay:-6s}.atmosphere-shards .battle-motes i{height:6px;border-radius:0}.atmosphere-embers .battle-motes i{width:2px;height:2px;border-radius:50%;box-shadow:0 0 5px #ffbd6788;animation-direction:reverse}.atmosphere-mist .battle-motes{display:none}.battle-scene-header,.battle-formations,.battle-diorama .turn-panel,.battle-commander,.battle-outcome-caption{position:relative;z-index:1}.battle-scene-header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:77px;padding:13px 15px 11px;border-bottom:1px solid #a48c542e;background:linear-gradient(100deg,#172026d9,#17202570)}.compact-combat .battle-title{min-width:0;padding:0;text-align:left}.compact-combat .battle-title>small{display:flex;align-items:center;gap:5px;font-size:8px;line-height:13px;letter-spacing:1.3px;text-transform:uppercase;color:#cec09b}.compact-combat .battle-title h1{margin:2px 0 0;font-size:27px;line-height:1.05;color:#f1e2bb;text-shadow:0 2px 6px #000;overflow-wrap:anywhere}.battle-round{display:grid;justify-items:center;flex:0 0 53px;padding:5px 4px;border:1px solid #b097605e;border-radius:7px;background:linear-gradient(#4c493154,#141b1dd9);box-shadow:inset 0 1px #e3cfa31a}.battle-round small{font-size:8px;color:#c6bb9f}.battle-round strong{font:600 23px/1.05 Cormorant Garamond,serif;color:#e4cc93}.battle-commander{display:flex;align-items:center;gap:4px;margin-top:5px;padding:0;color:#d4bfa5;font-size:9px}.battle-commander svg:not(:first-child){margin-left:6px}.battle-formations{display:grid;gap:clamp(32px,7svh,60px);padding:14px 7px 12px}.compact-combat .battle-side{min-width:0;border:0;border-radius:8px;padding:6px 3px 8px;background:linear-gradient(#0e181b33,#0e181bc4 80%);box-shadow:0 5px 8px #0002}.compact-combat .battle-side.enemy{margin:0;padding:6px 3px 8px;border:0}.compact-combat .battle-side h2{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 4px 10px;color:#d1c6a9;font-size:8px;line-height:12px;letter-spacing:1px}.compact-combat .battle-side h2>span{display:inline-flex;align-items:center;gap:5px}.compact-combat .battle-side h2>small{font-size:10px;letter-spacing:0;color:#eddfc0;font-variant-numeric:tabular-nums}.compact-combat .battle-side.enemy h2{color:#d5b7a4}.compact-combat .fighters{gap:3px}.compact-combat .fighter,.compact-combat .enemy .fighter{max-width:86px;min-width:0;padding:4px 1px 1px;border:1px solid transparent;border-radius:6px;background:transparent}.compact-combat .fighter .portrait,.compact-combat .enemy .fighter .portrait{width:var(--battle-portrait-size);height:var(--battle-portrait-size);border:2px solid #b19a64;box-shadow:0 3px 6px #0009,0 0 0 2px #1e2926}.compact-combat .enemy .fighter .portrait{border-color:#af8460}.compact-combat .fighter .portrait svg{width:65%;height:65%}.compact-combat .fighter-position{display:grid;place-items:center;position:absolute;z-index:2;top:-4px;left:max(-2px,calc(50% - var(--battle-portrait-size) / 2 - 3px));width:15px;height:15px;border:1px solid #a38e5e;border-radius:50%;background:#202922;color:#e2d2a5;font:9px/1 Manrope,sans-serif}.compact-combat .fighter.active{border-color:transparent;background:linear-gradient(#b9a15c0a,#b9a15c12);box-shadow:none}.compact-combat .fighter.active .portrait{border-color:#f5d887;box-shadow:0 0 14px #e9c66e77,0 3px 6px #0009}.fighter.active .fighter-portrait-area:before,.fighter.active .fighter-portrait-area:after{content:"";position:absolute;pointer-events:none;left:50%;top:50%;width:calc(var(--battle-portrait-size) + 10px);height:calc(var(--battle-portrait-size) + 10px);border:1px dashed #e3c674a6;border-radius:50%;transform:translate(-50%,-50%);animation:battle-rune-orbit 18s linear infinite}.fighter.active .fighter-portrait-area:after{width:calc(var(--battle-portrait-size) + 4px);height:calc(var(--battle-portrait-size) + 4px);border:1px solid #e8cc7780;box-shadow:0 0 10px #e4bd4b28;animation:none}.compact-combat .acting-marker{display:none}.compact-combat .fighter strong{height:13px;margin-top:9px;font-size:9px;line-height:13px;color:#d7d3bf;text-shadow:0 1px 3px #000}.compact-combat .fighter-count{height:19px;margin:2px 0 4px;font-size:14px;line-height:19px;color:#f0dbac;text-shadow:0 1px 4px #000}.compact-combat .hp-track{height:4px;border-radius:3px;border:0;background:#040d10;box-shadow:0 0 0 1px #c2bc9226}.compact-combat .hp-track>.hp-fill{background:linear-gradient(90deg,#658d6d,#a7c58b)}.compact-combat .enemy .hp-track>.hp-fill{background:linear-gradient(90deg,#914a40,#d38b68)}.compact-combat .fighter>small{height:13px;font-size:8px;line-height:13px;margin-top:3px;color:#c5cbbe}.compact-combat .turn-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:69px;margin:0;padding:9px 14px 11px;border:0;border-top:1px solid #bda66f5e;border-radius:0;background:linear-gradient(105deg,#1e2926f5,#172022e8);box-shadow:inset 0 1px #eadc9d0f}.compact-combat .turn-status{min-height:40px;gap:8px}.compact-combat .turn-status small{font-size:9px}.compact-combat .turn-status strong{font-size:12px;color:#ecdbb0}.compact-combat .initiative{display:grid;gap:4px;margin:0;padding:0;border:0;width:121px;font-size:8px}.compact-combat .initiative>div{justify-content:flex-start;gap:6px;min-height:29px;padding:0}.compact-combat .initiative .portrait.mini{width:25px;height:25px}.compact-combat .initiative b{display:none}.compact-combat .initiative small{font-size:8px;padding:0 2px;background:#16231ff5;color:#e7d4a3}.battle-outcome-caption{padding:9px 15px 0;margin:0;color:#e2d6b3;font-size:10px}.battle-victory-light{position:absolute;inset:0;opacity:0;background:radial-gradient(ellipse at 50% 20%,#f3cb6c52,#f2d39b08 75%)}.battle-victory .battle-victory-light{animation:battle-victory-dawn 1.1s ease-out forwards}.battle-victory .battle-formations{padding-top:25px}.battle-scene-flash{position:absolute;pointer-events:none;inset:0;z-index:2;background:radial-gradient(ellipse at center,#f8dfa8,transparent 65%);animation:battle-scene-impact .24s ease-out both;--scene-flash-opacity: .08}.battle-scene-flash.is-critical{--scene-flash-opacity: .2}.battle-scene-flash.is-reflected{--scene-flash-opacity: .18;background:radial-gradient(ellipse at center,#9fddff,transparent 65%)}@keyframes battle-mist-drift{0%{transform:translate(-9%)}to{transform:translate(9%)}}@keyframes battle-mote-drift{0%{opacity:0;transform:translateY(-18px) rotate(0)}20%,70%{opacity:.45}to{opacity:0;transform:translate(-22px,40px) rotate(140deg)}}@keyframes battle-rune-orbit{0%{transform:translate(-50%,-50%) rotate(0)}to{transform:translate(-50%,-50%) rotate(360deg)}}@keyframes battle-scene-impact{0%{opacity:var(--scene-flash-opacity)}to{opacity:0}}@keyframes battle-victory-dawn{to{opacity:1}}@media(prefers-reduced-motion:reduce){.battle-mist,.battle-motes,.battle-scene-flash{display:none}.fighter.active .fighter-portrait-area:before{animation:none}.battle-victory .battle-victory-light{animation:none;opacity:1}}.combat-controls .last-combat-action{display:grid;grid-template-rows:22px 16px;align-content:center;height:44px;min-height:44px}.combat-controls .last-combat-action>small{margin:0}.combat-controls .last-combat-action>small:only-child{grid-row:1 / -1;align-self:center;text-align:center}.combat-action-dock .primary-button{border-radius:8px;min-height:44px;margin:0}.combat-action-dock .flee-button{border-radius:8px;min-height:44px;color:#bcb393;border-color:#77684866}.combat-action-dock>button{height:44px;padding:0 8px;white-space:nowrap}.compact-combat .combat-log{margin-top:12px;padding-top:8px}@media(max-width:350px){.compact-combat{padding:8px 6px 18px;--battle-portrait-size: 37px}.battle-scene-header{min-height:72px;padding:12px}.compact-combat .battle-title h1{font-size:24px}.battle-formations{padding-right:5px;padding-left:5px}.compact-combat .fighters{gap:2px}.compact-combat .fighter strong{font-size:8px}.compact-combat .fighter-count{font-size:12px}.compact-combat .fighter>small{font-size:7px}.compact-combat .turn-panel{gap:7px;padding:9px 10px}.compact-combat .initiative{width:110px}.compact-combat .initiative>div{gap:3px}.compact-combat .turn-status strong{font-size:11px}}@media(max-height:720px){.compact-combat{--battle-portrait-size: 42px}.battle-formations{gap:12px;padding-top:9px;padding-bottom:8px}.battle-scene-header{min-height:62px;padding-top:8px;padding-bottom:9px}.compact-combat .battle-side h2{margin-bottom:7px}.compact-combat .turn-panel{min-height:59px;padding-top:6px;padding-bottom:7px}.compact-combat .battle-side,.compact-combat .battle-side.enemy{padding-top:4px;padding-bottom:5px}.compact-combat .fighter strong{margin-top:7px}}@media(max-height:720px)and (max-width:350px){.compact-combat{--battle-portrait-size: 37px}}@media(min-height:721px){.battle-formations .fighters:has(>.fighter:nth-child(3):last-child),.battle-formations .fighters:has(>.fighter:nth-child(2):last-child){--battle-portrait-size: 54px}.battle-formations .fighters:has(>.fighter:only-child){--battle-portrait-size: 64px}}@media(max-height:650px){.battle-scene-header{padding-top:6px;padding-bottom:6px;min-height:58px}.compact-combat .battle-title h1{font-size:24px}.battle-formations{gap:8px}.compact-combat .battle-side h2{margin-bottom:5px}.compact-combat .turn-panel{min-height:56px;padding-top:5px;padding-bottom:5px}}@media(max-height:650px)and (min-width:351px){.compact-combat{--battle-portrait-size: 40px}}.fighter-target-ring{position:absolute;top:50%;left:50%;width:calc(var(--battle-portrait-size) + 12px);height:calc(var(--battle-portrait-size) + 12px);transform:translate(-50%,-50%);pointer-events:none;color:#edb08b;background:radial-gradient(transparent 52%,#edb08b20 69%,transparent 74%)}.fighter-target-ring:before,.fighter-target-ring:after{content:"";position:absolute;width:10px;height:10px;border:2px solid currentColor}.fighter-target-ring:before{top:0;left:0;border-right:0;border-bottom:0;border-radius:4px 0 0}.fighter-target-ring:after{bottom:0;right:0;border-left:0;border-top:0;border-radius:0 0 4px}.target-reflected .fighter-target-ring{color:#acdfff;background:radial-gradient(transparent 52%,#a5d9ff28 69%,transparent 74%)}.compact-combat .fighter.is-targeted .portrait{border-color:#edb08b}.compact-combat .fighter.target-reflected .portrait{border-color:#acdfff}.combat-controls .last-combat-action{--hit-accent: #d7c493;border-radius:6px;background:linear-gradient(100deg,#6273560c,transparent)}.last-combat-action.hit-critical{--hit-accent: #ffe19c}.last-combat-action.hit-reflected{--hit-accent: #afdfff}.last-combat-action.hit-dodged{--hit-accent: #c5dee2}.last-combat-action .combat-hit-participants{gap:5px}.last-combat-action .combat-hit-participants>svg{flex-shrink:0;color:var(--hit-accent)}.last-combat-action .combat-hit-participants>span:not(.portrait){font-size:10px;color:#d6cfb8}.combat-controls .last-combat-action>.combat-hit-result,.combat-controls .last-combat-action>.combat-hit-empty{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0;margin:0;font-size:10px;color:var(--hit-accent)}.combat-hit-result>svg,.combat-hit-empty>svg{flex-shrink:0}.combat-hit-result>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.combat-controls .last-combat-action>.combat-hit-empty{font-size:11px;letter-spacing:.2px}.compact-combat.combat-result{padding-bottom:calc(100px + env(safe-area-inset-bottom))}.combat-result .battle-scene-header{min-height:84px}.combat-result .battle-title h1{font-size:34px}.battle-defeat .battle-title h1{color:#dcac9b}.battle-fled .battle-title h1{color:#cfc7ad}.battle-result-army{position:relative;z-index:1;margin-top:12px;border-top:1px solid #b89f674d;background:#13202290}.battle-result-army>summary{display:flex;align-items:center;gap:7px;min-height:45px;padding:10px 14px;color:#c9c8b3;font-size:10px;cursor:pointer;list-style:none}.battle-result-army>summary::-webkit-details-marker{display:none}.battle-result-army>summary>strong{margin-left:auto;font-size:12px;font-variant-numeric:tabular-nums;color:#ecdbb0}.battle-result-army>summary>svg{flex-shrink:0}.battle-result-army[open]>summary>svg:last-child{transform:rotate(180deg)}.battle-result-army .battle-formations{padding:7px 7px 12px}.compact-combat .result-panel{padding-top:13px}.combat-rewards .reward-heading{justify-content:flex-start;padding:0 3px;border:0;background:none;gap:8px}.combat-rewards .reward-heading h2{font-size:23px;color:#ead6a5}.combat-rewards .reward-trophy{width:18px;height:18px;color:#d1ad63}.combat-rewards .battle-reward-cards{margin:11px 0;gap:7px;grid-template-columns:repeat(2,minmax(0,1fr))}.combat-rewards .battle-reward-cards>div{justify-content:flex-start;gap:9px;padding:12px 10px;border-radius:10px;background:linear-gradient(125deg,#65513136,#192622)}.combat-rewards .battle-reward-cards>div>span{gap:2px}.combat-rewards .battle-reward-cards strong{font-size:20px;font-weight:600}.combat-rewards .battle-reward-cards small{font-size:9px}.combat-rewards .game-stat-art{flex-shrink:0}.combat-rewards .combat-item-drop{min-width:0;border-radius:11px;margin-bottom:10px;padding:12px;border-color:var(--rarity, #9caeab55);background:linear-gradient(125deg,color-mix(in srgb,var(--rarity, #719da8) 12%,#202622),#18221f)}.combat-rewards .combat-equipment-drop{display:block;animation:combat-loot-arrive .35s ease-out both}.combat-loot-header{text-align:left;display:flex;align-items:center;gap:12px}.combat-loot-header>.art-icon{flex-shrink:0;border-radius:12px;box-shadow:0 0 18px color-mix(in srgb,var(--rarity) 15%,transparent)}.combat-loot-header>div{min-width:0;flex:1}.combat-rewards .combat-item-drop strong{font-size:16px;line-height:1.25;overflow-wrap:anywhere}.combat-rewards .combat-loot-quality{font-size:10px;color:var(--rarity);margin:0 0 4px}.combat-rewards .combat-loot-delivery{display:flex;align-items:center;gap:4px;font-size:9px;line-height:1.4;color:#b7c9a6;margin:5px 0 0}.combat-loot-delivery>svg{flex-shrink:0}.combat-rewards .combat-loot-delivery.is-pending{color:#e2c28a}.combat-loot-details{text-align:left;margin-top:10px;border-top:1px solid color-mix(in srgb,var(--rarity) 24%,transparent);padding-top:8px}.combat-rewards .legendary-effect{margin:0 0 6px;line-height:1.5;color:#dcd2b3;font-size:11px}.combat-rewards .combat-loot-affixes{margin-top:0;gap:5px}.combat-rewards .combat-loot-affixes>span{border:0;padding:4px 7px;background:#0b171a88;color:#e0d5b7;font-size:10px}.combat-material-drop>.art-icon{flex-shrink:0}.combat-material-drop>div{min-width:0}.combat-rewards .combat-material-drop strong{font-size:13px}.combat-rewards .combat-material-drop small{color:#aebdaa;font-size:10px}.combat-rewards .resurrection-troop{border:1px solid #79945a55;padding:10px;border-radius:10px;background:#33442c33}.compact-combat .combat-casualties{margin:12px 0 0;border-color:#a6976940;background:linear-gradient(110deg,#242e25,#19221f)}.compact-combat .combat-casualties h2{font-size:22px;margin-bottom:12px}.compact-combat .casualty-totals{gap:6px}.compact-combat .casualty-totals>span{padding:8px 5px;border-radius:7px;background:#101b1766}.compact-combat .casualty-totals strong{font-size:20px}.compact-combat .casualty-totals small{font-size:9px}.compact-combat .casualty-list strong{line-height:1.3}.compact-combat .combat-casualties .no-casualties{display:flex;align-items:center;gap:6px;padding:9px;margin:0;border:1px solid #6f8e5044;border-radius:7px;background:#30452c25;color:#c1d3ac;font-size:11px}@keyframes combat-loot-arrive{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.combat-rewards .combat-equipment-drop{animation:none}}@media(max-width:350px){.combat-loot-header{gap:9px}.combat-rewards .combat-item-drop{padding:10px}.combat-rewards .combat-item-drop strong{font-size:14px}}.game-shell>main.combat-main{padding-bottom:0}.social-screen{padding:12px}.social-screen .social-heading{gap:9px;margin-bottom:10px}.social-screen .social-heading h1{font-size:21px;line-height:1.2}.social-screen .social-heading .icon-button{width:36px;min-height:36px;border-radius:50%;background:#29291f}.social-screen .list-update-status:empty{display:none}.social-screen .list-update-status{min-height:0;margin-top:7px}.social-list-caption{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:12px 1px 8px;color:#c8b990;font-size:11px}.social-list-caption>span{display:inline-flex;align-items:center;gap:6px}.social-list-caption>small{color:#938d77;font-size:10px}.social-list-caption .online-dot{margin:0}.social-screen .player-list{gap:6px;margin:0}.social-screen .player-list>.social-player-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto 12px;gap:10px;min-height:66px;padding:10px;border-radius:9px;border-color:#71634455;background:linear-gradient(105deg,#303023,#22271f)}.social-screen .player-list>.social-player-row.self{border-color:#a79151;background:linear-gradient(100deg,#4c442b88,#2a3224)}.social-player-portrait{position:relative;display:grid;place-items:center}.social-player-portrait .portrait{width:40px;height:40px;border-width:2px}.social-player-portrait .online-dot{position:absolute;right:0;bottom:1px;width:9px;height:9px;margin:0;border:2px solid #282a20}.social-screen .player-list .rank{position:absolute;bottom:-4px;left:-3px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 3px;border:1px solid #786b49;border-radius:50%;background:#282c21;color:#bcb499;font-size:10px;line-height:1;font-variant-numeric:tabular-nums}.social-screen .rank-1 .rank{color:#f7da88;border-color:#c7a354;background:#554624}.social-screen .rank-2 .rank{color:#e2e3d9;border-color:#929a93;background:#414d46}.social-screen .rank-3 .rank{color:#edbe98;border-color:#a07c53;background:#4e3d2b}.social-screen .player-name strong{display:flex;align-items:baseline;gap:6px;font-size:14px}.social-screen .player-name>small{margin-top:3px;color:#a8a28c;font-size:10px}.social-screen .social-self-label{padding:1px 4px;border:1px solid #ac965044;border-radius:4px;color:#cbbb83;font-size:9px;font-weight:400}.social-screen .social-player-level{color:#e7cf96;text-align:right;font-size:19px;line-height:1;font-variant-numeric:tabular-nums}.social-screen .social-player-level small{margin-top:4px;color:#aca38b;font-size:9px}.social-player-arrow,.mail-letter-arrow{color:#9b8a5c}.chat-screen .chat-message{padding:7px 9px;border-color:#78664155;background:linear-gradient(110deg,#292c21,#22271e);border-radius:9px}.chat-screen .chat-history{scrollbar-width:thin;scrollbar-color:#80764e #1c241b}.chat-screen .chat-history::-webkit-scrollbar{width:4px}.chat-screen .chat-history::-webkit-scrollbar-thumb{border-radius:4px;background:#80764e}.chat-screen .chat-history::-webkit-scrollbar-track{background:#1c241b}.chat-screen .chat-message header{align-items:center;flex-wrap:nowrap;gap:8px;min-height:26px}.chat-screen .chat-message .chat-author{display:flex;align-items:center;gap:6px;min-width:0;max-width:calc(100% - 38px);padding:0;line-height:1.2}.chat-author .portrait{width:26px;height:26px;border-width:1px;flex-shrink:0}.chat-author>span:not(.portrait){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-screen .chat-author>small,.chat-screen .chat-message time{flex-shrink:0;color:#a7a08b;font-size:9px}.chat-screen .chat-message>p{margin:2px 0 0 32px;color:#d9d5c1;font-size:12px;line-height:1.5}.chat-screen .chat-message.own{border-left:2px solid #a89451}.chat-screen .chat-composer{background:transparent;border-color:#88704455}.chat-screen .chat-composer textarea{border-color:#8c784955;border-radius:11px;background:#22271e}.chat-screen .chat-composer textarea:focus{border-color:#b29a5c;outline:1px solid #b29a5c55}.chat-screen .chat-composer .primary-button{border-radius:50%}.chat-screen .chat-new-messages{align-self:center;width:auto;margin:3px 0 5px;border-radius:20px;background:#343c29}.social-mode-mail .mail-tabs{margin-bottom:10px}.social-mode-mail .mail-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px}.social-mode-mail .mail-list{margin:10px 0 0;gap:6px}.social-mode-mail .mail-list>button{grid-template-columns:34px minmax(0,1fr) 12px;gap:9px;padding:10px;border-radius:9px;border-color:#6e604155;background:linear-gradient(105deg,#2b2d22,#22271e)}.social-mode-mail .mail-list>button.unread{border-left:2px solid #d0b56c;background:linear-gradient(105deg,#403b2588,#282e20)}.social-mode-mail .mail-letter-emblem{width:34px;height:34px;border:1px solid #89734c66;border-radius:50%;background:#363b2b}.social-mode-mail .mail-letter-emblem:has(.portrait){border:0;background:none}.social-mode-mail .mail-letter-content{min-width:0}.social-mode-mail .mail-letter-meta,.social-mode-mail .mail-letter-bottom{display:flex;align-items:center;justify-content:space-between;gap:6px}.social-mode-mail .mail-list .mail-kind{margin:0 0 4px;padding:0;border:0;font-size:9px}.social-mode-mail .mail-letter-meta time{margin:0 0 4px;font-size:9px;color:#a59e87}.social-mode-mail .mail-letter-content>strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#d8caaa;font-size:13px;line-height:1.35}.social-mode-mail .unread .mail-letter-content>strong{color:#efdbad}.social-mode-mail .mail-letter-bottom>small{min-width:0;margin-top:5px;font-size:9px;color:#a59e87;overflow-wrap:anywhere}.social-mode-mail .mail-letter-bottom>.mail-read-state{flex-shrink:0;color:#8e9279}.social-mode-mail .unread .mail-read-state{color:#d3bb78}.social-mode-mail .mail-pending-gold{display:inline-flex;align-items:center;gap:3px;flex-shrink:0;margin-top:5px;color:#ebce7a;font-size:11px;font-weight:600}.social-mode-mail .mail-collect-all{margin-top:5px;padding:10px;border-color:#aa905b77;background:linear-gradient(105deg,#55462c,#303a27)}.social-mode-mail .mail-collect-all strong{font-size:12px}.social-mode-mail .mail-collect-all small{margin-top:3px;font-size:9px}.social-mode-mail .mail-collect-all>b{font-size:17px}.letter-sheet .letter-detail>h2{margin:2px 0 10px;color:#e5d3ab;font-size:20px;line-height:1.3}.letter-sheet .letter-body{padding:14px 0;border:0;margin:0;font-size:13px}.letter-sheet .sale-attachment{gap:9px;padding:11px;margin:4px 0 8px;border-color:#947b4955;background:#333a28}.letter-sheet .sale-attachment>strong{flex:1;color:#e5cd84;font-size:14px}.letter-gold-received{display:inline-flex;align-items:center;gap:3px;color:#b3c68d;font-size:10px}.letter-sheet .sheet-fixed-footer>div,.letter-invitation-buttons{display:flex;gap:7px;flex-wrap:wrap}.letter-invitation-buttons{width:100%}.letter-sheet .sheet-fixed-footer .primary-button,.letter-sheet .sheet-fixed-footer .recruitment-decline{display:flex;align-items:center;justify-content:center;flex:1;gap:6px;width:auto;min-height:43px;margin:0;padding:10px 12px;font-size:12px}.compose-recipient{display:flex;align-items:center;gap:10px;padding:10px;margin-bottom:13px;border:1px solid #82714755;border-radius:9px;background:linear-gradient(105deg,#34372a,#252c21)}.compose-recipient>span:not(.portrait){flex:1;min-width:0}.compose-recipient strong{display:block;margin-top:3px;overflow-wrap:anywhere;color:#e1c88e;font-size:14px}.compose-recipient small{display:block;color:#b1ab94;font-size:10px;font-weight:400}.compose-recipient>b{color:#ddc594;text-align:right;font-size:18px}.social-screen :is(button,textarea):focus-visible,.letter-sheet button:focus-visible,.compose-letter :is(button,input,textarea):focus-visible{outline:2px solid #cfb67a;outline-offset:2px}@media(prefers-reduced-motion:no-preference){.social-player-row,.social-mode-mail .mail-list>button{transition:border-color .15s ease,background-color .15s ease}}@media(hover:hover){.social-screen .social-player-row:hover,.social-mode-mail .mail-list>button:hover{border-color:#ad965e}}@media(max-width:350px){.social-screen{padding:10px}.social-screen .social-heading h1{font-size:19px}.social-screen .player-list>.social-player-row{gap:8px;padding:9px}.social-mode-mail .mail-list>button{gap:7px;padding:9px 8px}.social-mode-mail .mail-letter-bottom>.mail-read-state{font-size:8px}}.forum-screen{padding:12px 12px 20px}.forum-screen .social-heading{margin-bottom:10px}.forum-categories{gap:7px}.forum-category{grid-template-columns:37px minmax(0,1fr) auto;gap:9px;min-height:74px;padding:10px;border-color:#60543b;background:linear-gradient(115deg,#37342988,#20241e)}.forum-category .forum-category-icon{display:grid;place-items:center;width:37px;height:37px;border:1px solid #968052;border-radius:50%;color:#dac08b;background:radial-gradient(circle at 35% 25%,#454330,#1b221c 74%);box-shadow:inset 0 0 0 3px #12191488,0 2px 5px #0005;filter:none}.forum-category-0 .forum-category-icon{color:#f1d091;border-color:#be9958}.forum-category-2 .forum-category-icon,.forum-category-4 .forum-category-icon{color:#b6c9ab;border-color:#839879}.forum-category-3 .forum-category-icon,.forum-category-5 .forum-category-icon{color:#c8b4d4;border-color:#9680a3}.forum-category>.forum-category-copy{display:grid;gap:4px;min-width:0}.forum-category strong{font-size:20px;line-height:1.1;overflow-wrap:anywhere}.forum-category .forum-category-copy>span{font-size:10px;line-height:1.4;color:#b8b09b}.forum-category .forum-category-rule{display:flex;align-items:center;gap:4px;color:#c4aa78;font-size:8px;line-height:1.4}.forum-category .forum-category-end{display:flex;align-items:center;justify-content:flex-end;gap:5px;align-self:stretch;color:#b9a174}.forum-category .forum-category-count{min-width:29px;max-width:58px;padding:4px 5px;border:1px solid #8e795433;border-radius:5px;background:#121a1555;font-size:9px;line-height:1.3;color:#cebf9d;text-align:center;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.forum-description{margin-bottom:8px;font-size:11px;line-height:1.5}.forum-rule{align-items:flex-start;margin-bottom:8px;padding:8px 9px;border:1px solid #8e795433;border-radius:6px;background:#9c7b2420;font-size:10px}.forum-rule svg{flex-shrink:0;margin-top:1px}.forum-create{display:flex;align-items:center;justify-content:center;gap:6px;min-height:40px;margin:8px 0 12px}.forum-topics,.forum-posts{gap:8px}.forum-topic-card,.forum-post{border-color:#66583d;border-radius:8px;box-shadow:inset 0 1px #f0cf8d08}.forum-topic-link{display:grid;grid-template-columns:32px minmax(0,1fr) 16px;align-items:center;gap:9px;min-height:58px;padding:10px;color:#a7936a}.forum-topic-link>.forum-topic-emblem{display:grid;place-items:center;width:32px;height:32px;margin:0;border:1px solid #a38b5655;border-radius:50%;background:#151e18;color:#c4af82}.forum-topic-link h2{margin:0;font-size:21px;line-height:1.2}.forum-topic-card footer{gap:10px;padding:8px 10px;background:#10170f44}.forum-author{min-height:38px}.forum-author>span{min-width:0;font-size:11px}.forum-topic-meta{display:grid;flex-shrink:0;gap:4px;text-align:right;color:#c4b28d;font-size:10px;font-variant-numeric:tabular-nums}.forum-topic-meta time,.forum-post time{color:#aaa18b;font-size:9px}.forum-thread-heading{padding:0 0 10px;margin-bottom:10px}.forum-thread-heading h2{margin:5px 0 7px;font-size:24px}.forum-thread-heading p{line-height:1.5}.forum-thread-tools>span{flex:1 1 auto;font-size:9px}.forum-thread-tools button{flex:0 1 auto;min-height:36px;padding:6px 8px;font-size:11px}.forum-post-opening{border-color:#9b804b}.forum-post header{gap:10px;padding:7px 10px}.forum-post header>span{flex-shrink:0}.forum-post>p{padding:12px;color:#e0d7c1;line-height:1.65}.forum-bottom-answer{min-height:42px}.forum-form{padding-top:12px;margin-top:6px}.forum-field-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.forum-field-heading small,.forum-character-count{color:#aaa087;font-size:10px;font-variant-numeric:tabular-nums}.forum-character-count{text-align:right}.forum-category:focus-visible,.forum-topic-link:focus-visible,.forum-author:focus-visible,.settings-service:focus-visible,.settings-logout:focus-visible,.account-tabs button:focus-visible{outline:2px solid #e3c47d;outline-offset:2px}.settings-screen>.page-title{text-align:left;padding:15px 0 12px}.settings-screen>.page-title h1{margin:0;font-size:28px}.settings-services{gap:8px;margin:13px 0 18px}.settings-service{gap:10px;min-height:70px;padding:11px;border-color:#66583d;background:linear-gradient(110deg,#373329,#20251f);box-shadow:inset 0 1px #eac8850a}.settings-service-icon{width:39px;height:39px;color:#dbc28f;border-color:#988052;background:radial-gradient(circle at 35% 25%,#454330,#172019 74%);box-shadow:inset 0 0 0 3px #12191488}.settings-service-icon svg{width:20px;height:20px;stroke-width:1.5}.settings-service strong{font-family:Cormorant Garamond,Georgia,serif;font-size:21px;line-height:1.05}.settings-service small{line-height:1.45;color:#b8af98;font-size:10px}.settings-service .settings-chevron{flex:0 0 auto;color:#ab956b}.settings-service.has-unread{border-color:#a68952}.settings-unread{flex-shrink:0;max-width:64px;padding:4px 6px;border:1px solid #ba945c66;background:#75532f66;color:#f3d99e;font-size:9px;text-align:center;line-height:1.35;overflow-wrap:anywhere}.settings-online{display:flex;align-items:center;gap:5px;color:#bed3a5;font-size:12px;font-weight:500;font-variant-numeric:tabular-nums}.settings-online i{width:5px;height:5px;border-radius:50%;background:#9db986;box-shadow:0 0 6px #a1c28344}.settings-logout{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:0;min-height:44px;background:#28251d66}.settings-save-note{display:flex;align-items:center;justify-content:center;gap:6px;margin:13px 0 0;color:#a49d86;font-size:9px;line-height:1.5;text-align:center}.settings-save-note svg{flex-shrink:0;color:#a9b38e}.account-shell{display:flex;align-items:flex-start;justify-content:center;padding:24px 16px}.account-screen{width:100%;max-width:398px;padding:10px 0 20px}.account-heading{display:flex;align-items:center;gap:12px;margin-bottom:20px}.account-emblem{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border:1px solid #9d8454;border-radius:50%;background:radial-gradient(circle at 35% 25%,#464230,#182019 74%);color:#e0c58e;box-shadow:inset 0 0 0 4px #111a1599,0 3px 9px #0005}.account-heading>div{min-width:0}.account-heading h1{margin:5px 0;font-size:28px}.account-heading p{margin:5px 0 0;font-size:11px;line-height:1.5}.account-kicker{font-size:8px;line-height:1.5;letter-spacing:1px}.account-tabs{gap:4px;padding:4px;border:1px solid #66583d;border-radius:8px;background:#141b16}.account-tabs button{min-height:42px;padding:10px;border:1px solid transparent;border-radius:5px}.account-tabs .selected{border:1px solid #a58a51;background:linear-gradient(120deg,#655334,#3d3b28);color:#f1d69c}.account-screen form{gap:14px;margin-top:18px}.account-screen label{gap:6px;font-size:11px}.account-screen input:not([type=radio]){min-height:46px;border-radius:6px;border-color:#786641;background:#141c16;font-size:16px}.account-screen input::placeholder{color:#817d6a;font-size:13px}.account-screen .account-note{font-size:10px;line-height:1.4}.account-screen fieldset{min-width:0;padding:10px 0 0}.account-screen .captcha-panel{gap:9px;padding:12px;border:1px solid #64583d;border-radius:8px;background:#1a211980}.captcha-image-row{grid-template-columns:minmax(0,200px) minmax(64px,1fr);gap:8px}.captcha-image-row .text-button{padding:6px;font-size:10px}.account-screen .primary-button{min-height:46px}.character-creation .create-races{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.character-creation .create-races label{position:relative;flex-direction:column;justify-content:flex-start;gap:6px;min-width:0;padding:8px 3px;border-radius:7px;background:#1b241d;color:#b4af9a;font-size:9px;line-height:1.3;text-align:center}.character-creation .create-races .portrait{width:38px;height:38px}.character-creation .create-races input{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.character-creation .create-races label:has(input:focus-visible){outline:2px solid #e3c47d;outline-offset:2px}.character-creation .create-races .chosen{border-color:#d2ac61;background:linear-gradient(135deg,#4a422a,#293021);color:#f1d9a2;box-shadow:inset 0 0 0 1px #d9b56c33}.character-creation .race-description{margin:0;padding:12px;border-color:#847044;background:linear-gradient(120deg,#3c3524,#20271d)}.character-creation .race-art-title{gap:10px;margin-bottom:9px}.character-creation .race-art-title .portrait{width:42px;height:42px}.character-creation .race-art-title h2{margin:0;font-size:24px}.character-creation .race-description p{margin:0 0 9px;font-size:11px;line-height:1.5}.character-creation .race-description strong{padding-top:9px;border-top:1px solid #ba9c6033;font-size:11px;line-height:1.55;color:#e0cc9d}.character-creation .race-description small{font-size:10px;line-height:1.5}@media(max-width:350px){.forum-screen{padding-right:10px;padding-left:10px}.forum-category{grid-template-columns:33px minmax(0,1fr) auto;gap:7px;min-height:74px;padding:9px 8px}.forum-category .forum-category-icon{width:33px;height:33px}.forum-category strong{font-size:18px}.forum-category .forum-category-end{flex-direction:column;justify-content:center;gap:3px}.forum-category .forum-category-count{max-width:42px;font-size:9px}.forum-category .forum-category-rule{font-size:8px}.forum-topic-link{gap:7px;padding:9px}.forum-topic-link h2{font-size:20px}.forum-author .portrait{width:28px;height:28px}.forum-thread-tools>span{flex-basis:100%}.forum-thread-tools button{flex:1}.settings-service{gap:8px;padding:10px 8px}.settings-service strong{font-size:20px}.settings-service small{font-size:9px}.settings-unread{max-width:47px;padding:4px;font-size:8px}.account-shell{padding:18px 13px}.account-heading{gap:9px}.account-heading h1{font-size:25px}.account-emblem{flex-basis:42px;width:42px;height:42px}.character-creation .create-races{gap:5px}}.clan-stronghold{overflow:hidden;margin:12px 0;border:1px solid #74603c99;border-radius:12px;background:radial-gradient(ellipse at 10% 0,#66533138,transparent 65%),linear-gradient(125deg,#2d2b20,#1a211a);box-shadow:inset 0 1px #d7bd7f0d,0 5px 18px #0002}.clan-identity{display:flex;align-items:center;gap:10px;padding:12px}.clan-crest{display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;border:1px solid #aa8d5266;border-radius:50%;background:radial-gradient(circle at 35% 25%,#655431,#282b20 75%);box-shadow:inset 0 0 0 3px #25281f,0 3px 8px #0004;color:#d8bd7f}.clan-identity>div{min-width:0}.clan-overview-screen .clan-identity h2{margin:0;color:#ecdbb3;font-size:22px;line-height:1.15;overflow-wrap:anywhere}.clan-identity p{margin:4px 0 0;color:#b5ae95;font-size:10px}.clan-stronghold-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:9px 0;border-top:1px solid #7663424d;background:#11170e2b}.clan-stronghold-stats>div{display:flex;justify-content:center;align-items:center;min-width:0;gap:6px;padding:0 5px;color:#cdb174}.clan-stronghold-stats>div+div{border-left:1px solid #76634245}.clan-stronghold-stats svg,.clan-stronghold-stats img{flex-shrink:0}.clan-stronghold-stats img,.exclusive-market-status img{border-radius:50%;object-fit:cover}.clan-stronghold-stats span{display:grid;gap:2px;min-width:0}.clan-stronghold-stats small{font-size:9px;color:#aaa28b}.clan-stronghold-stats b{font-size:16px;font-weight:500;line-height:1.15;font-variant-numeric:tabular-nums;color:#e7cc92}.clan-overview-screen .clan-buildings-grid{gap:8px;margin:10px 0 12px}.clan-overview-screen .clan-building-card{border-radius:10px;border-color:#79653f80;background:linear-gradient(145deg,#39362a,#20281d 85%);box-shadow:inset 0 1px #e4cd8c0c}.clan-overview-screen .clan-building-open .building-summary{display:grid;grid-template-columns:54px minmax(0,1fr);align-content:start;align-items:center;min-height:136px;gap:6px 7px;padding:10px}.clan-overview-screen .clan-building-open .building-emblem{grid-column:1;grid-row:1;width:54px;height:54px;border-color:#aa925b88}.clan-overview-screen .clan-building-open .building-title{grid-column:1 / -1;grid-row:2;margin:0;font-size:16px;line-height:1.15;color:#e7d4aa}.clan-overview-screen .clan-building-open .building-title small{margin-top:3px;font-size:10px;line-height:1.25;color:#aaa58e}.clan-overview-screen .clan-building-open .building-status{grid-column:2;grid-row:1;flex-wrap:wrap;gap:3px;padding-top:6px;font-size:9px;line-height:1.3}.clan-overview-screen .clan-building-open .building-status svg{flex-shrink:0;width:11px;height:11px}.clan-overview-screen .clan-building-open .building-chevron{top:9px;right:8px;width:12px;height:12px;color:#a79571}.clan-overview-screen .clan-building-open .building-progress{grid-column:1 / -1;grid-row:3;gap:3px}.clan-overview-screen .building-progress>span{font-size:8px}.clan-overview-screen .building-progress progress{height:3px}.clan-overview-screen .clan-building-open:focus-visible{outline:2px solid #d6bc7d;outline-offset:-3px}.clan-exclusive-screen .clan-merchant{gap:10px;margin:12px 0}.clan-exclusive-screen .clan-merchant .portrait{width:48px;height:48px;flex-shrink:0}.clan-exclusive-screen .clan-merchant h2{margin:0 0 4px;font-size:21px;color:#e6d0a4}.clan-exclusive-screen .clan-merchant p{margin:0;font-size:10px}.exclusive-market-status{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.exclusive-market-status>div{display:flex;align-items:center;gap:7px;min-width:0;padding:9px 8px;border:1px solid #75613d66;border-radius:8px;background:#262a1f;color:#cfb77e}.exclusive-market-status svg,.exclusive-market-status img{flex-shrink:0}.exclusive-market-status>div>span{display:grid;min-width:0;gap:3px}.exclusive-market-status small{color:#ada58e;font-size:9px;line-height:1.25}.exclusive-market-status strong{font-size:13px;font-weight:500;line-height:1.2;font-variant-numeric:tabular-nums;color:#e5cb93}.clan-exclusive-screen .exclusive-rules{margin:8px 0 12px}.clan-exclusive-screen .exclusive-rules>summary{padding:9px 10px;font-size:10px;color:#b5ac91}.clan-exclusive-screen .exclusive-rules>p{margin:0;padding:0 10px 10px;color:#aaa58e;font-size:10px}.clan-exclusive-screen .exclusive-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 12px}.clan-exclusive-screen .exclusive-card{position:relative;min-height:150px;gap:4px;padding:10px 8px;border-radius:10px;border-color:#826c4480;background:radial-gradient(circle at 50% 0,#6f61352b,transparent 65%),linear-gradient(140deg,#34372a,#20271d);box-shadow:inset 0 1px #e4c7840c}.exclusive-art{display:grid;place-items:center;flex-shrink:0;width:56px;height:56px;margin-bottom:1px}.exclusive-art .portrait,.exclusive-art .clan-resource-icon{width:54px;height:54px}.exclusive-art .clan-resource-icon:has(.game-stat-art){padding:7px;border:1px solid #9f8d6280;border-radius:50%;background:radial-gradient(circle at 35% 25%,#514d36,#242a1f 75%)}.exclusive-art .clan-resource-icon .game-stat-art{width:100%;height:100%}.clan-exclusive-screen .exclusive-card>strong{display:-webkit-box;min-height:30px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;font-size:12px;font-weight:500;line-height:1.25;color:#e4d2ac}.clan-exclusive-screen .exclusive-meta{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:3px 6px;min-height:12px;font-size:9px;line-height:1.2;color:#aaa58d}.exclusive-meta .exclusive-sold-label{display:inline-flex;align-items:center;gap:2px;color:#b5ce92}.exclusive-meta .exclusive-quota-label{color:#d1b481}.clan-exclusive-screen .exclusive-price{display:flex;align-items:center;justify-content:center;gap:4px;margin-top:auto;font-size:14px;line-height:1.2;font-weight:500;color:#e4c889}.exclusive-price>span{font-size:9px;font-weight:400;color:#afa58b}.clan-exclusive-screen .exclusive-card.sold,.clan-exclusive-screen .exclusive-card.quota-reached{opacity:1;border-style:dashed;border-color:#77725366;background:linear-gradient(140deg,#292d24,#1c231b)}.clan-exclusive-screen .exclusive-card.sold .exclusive-art,.clan-exclusive-screen .exclusive-card.quota-reached .exclusive-art{opacity:.65;filter:saturate(.6)}.clan-exclusive-screen .exclusive-card.sold .exclusive-price,.clan-exclusive-screen .exclusive-card.quota-reached .exclusive-price{color:#b8ac8f}.clan-exclusive-screen .exclusive-card:focus-visible{outline:2px solid #dcc17e;outline-offset:2px}.clan-exclusive-screen .exclusive-refresh{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:44px;font-size:11px}@media(max-width:350px){.clan-overview-screen .clan-identity h2{font-size:20px}.clan-stronghold-stats>div{gap:4px}.clan-stronghold-stats b,.clan-overview-screen .clan-building-open .building-title{font-size:14px}.clan-overview-screen .clan-building-open .building-title small{font-size:9px}.exclusive-market-status>div{gap:5px;padding:8px 6px}.exclusive-market-status small{font-size:8px}}@media(hover:hover)and (prefers-reduced-motion:no-preference){.clan-overview-screen .clan-building-card,.clan-exclusive-screen .exclusive-card{transition:border-color .16s ease,background-color .16s ease}.clan-overview-screen .clan-building-card:has(.clan-building-open:hover),.clan-exclusive-screen .exclusive-card:not(:disabled):hover{border-color:#c8a96b}}.clan-transfer-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:12px}.clan-member-actions{display:grid;gap:10px;margin-top:16px}.clan-member-actions>button,.clan-rename-button{display:inline-flex;align-items:center;justify-content:center;gap:8px}.clan-managed-player{display:flex;align-items:center;gap:12px}.clan-managed-player h3,.clan-managed-player p{margin:0}.clan-management-search{display:grid;gap:8px;margin-block:14px}.clan-management-search input{width:100%;min-height:44px;font-size:16px}.clan-management-search textarea{width:100%;min-height:104px;resize:vertical;font:inherit;font-size:16px}.clan-motto{margin:12px 0;padding:12px 16px;border-left:2px solid #c8a96b;background:#c8a96b0d;color:#dfd0ad;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.clan-directory-motto{margin:6px 0;color:#b8ac8f;font-size:12px;overflow-wrap:anywhere}.clan-name-link{text-align:left;font-weight:700}.clan-directory h3 .clan-name-link{font:inherit;font-size:18px;text-decoration:none;color:#dcc17e}.clan-public-heading{display:flex;align-items:center;gap:12px;color:#dcc17e}.clan-public-heading>div{min-width:0}.clan-public-heading h3{margin:0;overflow-wrap:anywhere}.clan-public-heading p{margin:4px 0 0;font-size:12px;color:#b8ac8f}.clan-public-buildings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-block:18px}.clan-public-buildings>div{display:grid;justify-items:center;align-content:start;gap:5px;padding:10px 4px;border:1px solid #c8a96b33;border-radius:8px;text-align:center;font-size:12px}.clan-public-buildings svg{color:#c8a96b}.clan-public-buildings small{font-size:10px;color:#afa58b}.clan-public-roster-heading{display:flex;justify-content:space-between;align-items:center}.clan-public-roster-heading small{color:#afa58b;font-size:13px}.clan-overview-screen{--citadel-gold: #ddbf7d;--citadel-border: #a68a4a4d}.clan-citadel{margin-top:12px}.citadel-banner{position:relative;overflow:hidden;border:1px solid #a68a4a80;border-radius:16px;background:#20251b;box-shadow:0 10px 28px #0003,inset 0 1px #f3dda622}.citadel-banner-art{position:absolute;inset:0 0 48px;background:linear-gradient(90deg,#111b15b3,#111b1533),linear-gradient(0deg,#152018 2%,transparent 95%),url(/art/buildings/stronghold.webp) 50% 44% / cover}.citadel-banner-content{position:relative;min-height:136px;padding:12px 15px 10px}.citadel-eyebrow{display:flex;align-items:center;gap:7px;color:#d0bd8a;font-size:8px;font-weight:600;letter-spacing:1.2px;text-shadow:0 1px 4px #000;padding-right:32px}.citadel-eyebrow i{width:3px;height:3px;border-radius:50%;background:#c4a66b}.citadel-title{display:flex;align-items:center;gap:10px;margin-top:11px}.citadel-title>img{width:48px;height:48px;flex:0 0 auto;filter:drop-shadow(0 3px 5px #0007)}.citadel-title>div{min-width:0}.clan-overview-screen .citadel-title h2{margin:0;color:#fae7b9;font-size:29px;line-height:1.05;text-shadow:0 2px 8px #000;overflow-wrap:anywhere}.citadel-title p{display:flex;flex-wrap:wrap;gap:4px;margin:6px 0 0;color:#d5c8a9;font-size:10px}.citadel-title p span{color:#c09c58}.citadel-motto{margin:9px 0 0 3px;color:#dbc9a2;font-family:Cormorant Garamond,Georgia,serif;font-style:italic;font-size:16px;line-height:1.2;overflow-wrap:anywhere}.citadel-treasury{position:relative;display:grid;grid-template-columns:1fr 1fr auto;width:100%;min-height:52px;align-items:center;gap:8px;padding:10px 13px;border:0;border-top:1px solid #baa36c4d;border-radius:0;background:linear-gradient(110deg,#383a26e6,#202b20f5);color:#e7c889;text-align:left;padding-block:8px}.citadel-treasury>span{display:flex;align-items:center;gap:7px;min-width:0}.citadel-treasury span>span{display:grid;gap:3px}.citadel-treasury small{color:#b5b294;font-size:9px}.citadel-treasury strong{font-size:18px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}.citadel-treasury img{border-radius:50%}.citadel-treasury .citadel-deposit{gap:4px;padding-left:8px;border-left:1px solid #a68a4a4d}.citadel-deposit small{color:#dec58e}.citadel-perks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:12px 0;padding:10px 0;border-block:1px solid #b79e5733;background:linear-gradient(90deg,transparent,#807f3912,transparent);padding-block:8px;margin-block:9px}.citadel-perks>span{display:grid;grid-template-columns:auto auto;justify-content:center;align-items:center;gap:4px 6px;min-width:0;color:#c8b77e}.citadel-perks>span+span{border-left:1px solid #a68a4a33}.citadel-perks b{color:#e4d1a2;font-size:14px;font-weight:500;font-variant-numeric:tabular-nums}.citadel-perks small{grid-column:1/-1;text-align:center;font-size:9px;color:#aaa98c}.citadel-wait{display:flex;flex-wrap:wrap;align-items:center;gap:4px;color:#baa77f;font-size:10px;line-height:1.5}.citadel-construction{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:9px;align-items:center;width:100%;min-height:69px;padding:10px 12px;border:1px solid #c29c544d;border-radius:10px;background:linear-gradient(115deg,#3d3522,#222d21);text-align:left;color:#dcc08b}.citadel-construction>span:nth-child(2){min-width:0;display:grid;gap:4px}.citadel-construction small{font-size:8px;letter-spacing:.8px;color:#b8ab85}.citadel-construction strong{font-size:12px;font-weight:500}.citadel-construction strong>span{color:#a9a387}.citadel-work-icon{display:grid;place-items:center;width:32px;height:32px;border:1px solid #bca15d55;border-radius:50%;background:#c4a0520d}.citadel-progress{height:3px;width:100%;overflow:hidden;border-radius:3px;background:#0c130e80}.citadel-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#8b9e5b,#ead090);box-shadow:0 0 5px #d5bc6855}.citadel-work-time{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;max-width:100px;gap:4px;font-size:10px;font-variant-numeric:tabular-nums}.citadel-construction.idle{grid-template-columns:21px minmax(0,1fr) 18px;min-height:51px;border-style:dashed;border-color:#9b9a6440;background:#24302266;color:#aab68c;padding-block:8px}.citadel-construction.idle small{letter-spacing:0;font-size:9px}.citadel-section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:16px 0 10px}.citadel-section-heading>div>small{color:#99977c;font-size:8px;letter-spacing:1.5px}.clan-overview-screen .citadel-section-heading h3{margin:3px 0 0;font-family:Cormorant Garamond,Georgia,serif;color:#ead7ab;font-size:25px;font-weight:600;line-height:1.1}.citadel-section-heading>span{flex-shrink:0;padding:5px 9px;border:1px solid #9e875138;border-radius:6px;background:#2b3022;color:#d2b67c;font-size:15px}.citadel-section-heading>span small{color:#8f9277;font-size:10px}.citadel-buildings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.citadel-building{position:relative;display:block;aspect-ratio:4 / 5;min-width:0;padding:0;overflow:hidden;border:1px solid #a68a4a66;border-radius:12px;background:#1b211b;text-align:left;box-shadow:0 3px 10px #0002}.citadel-building-art{position:absolute;inset:0;overflow:hidden;border-radius:inherit}.citadel-building-art:after{position:absolute;inset:0;content:"";pointer-events:none;background:linear-gradient(0deg,#111a14fa 0%,#141d16e8 18%,#141d16a6 33%,#141d1626 48%,transparent 62%)}.citadel-building-art img{width:100%;height:100%;padding:7px 5px 22px;object-fit:contain;object-position:center top}.citadel-building:has(img[src*=clan-oracle]) .citadel-building-art img{padding:0;object-fit:cover;object-position:center 28%}.citadel-level{position:absolute;z-index:1;top:8px;left:8px;display:inline-flex;align-items:center;gap:4px;padding:4px 6px;border:1px solid #c5a96a77;border-radius:4px;background:#172017df;color:#ead294;font-size:8px;font-weight:600;letter-spacing:.3px}.citadel-building-copy{position:absolute;inset:auto 0 0;display:grid;gap:5px;padding:10px 10px 11px;text-shadow:0 1px 5px #000c}.citadel-building-copy>strong{display:flex;align-items:center;justify-content:space-between;gap:3px;color:#f0dfb6;font-family:Cormorant Garamond,Georgia,serif;font-size:clamp(18px,5.3vw,23px);font-weight:600;line-height:1.1}.citadel-building-copy>strong svg{flex-shrink:0;color:#b6a16c}.citadel-building-copy>span:not(.citadel-level-dots){min-height:27px;font-size:10px;color:#cac5a9;line-height:1.35}.citadel-level-dots{display:flex;gap:4px;margin-top:3px}.citadel-level-dots i{flex:1;height:3px;border-radius:2px;background:#73805b40}.citadel-level-dots .filled{background:linear-gradient(90deg,#b69c59,#e0c486);box-shadow:0 1px #e7d49422}.citadel-level-dots .pending{background:#a9b67b;animation:citadelPulse 2s ease-in-out infinite}.citadel-building.unbuilt .citadel-building-art img{filter:saturate(.45) brightness(.8)}.citadel-building.unbuilt{border-color:#7e805c55}.citadel-building.constructing{border-color:#d5b563b3;box-shadow:0 0 14px #c8a4530c}.citadel-building-timer{position:absolute;top:8px;right:8px;display:flex;align-items:center;justify-content:center;gap:5px;padding:4px 5px;border:1px solid #bda15c66;border-radius:4px;background:#172017e8;color:#d1c38d;font-size:8px}.citadel-building:focus-visible,.citadel-treasury:focus-visible,.citadel-construction:focus-visible{outline:2px solid #e3c786;outline-offset:3px}.citadel-building-detail{color:#c8c0a6}.citadel-detail-hero{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;align-items:center;margin-bottom:16px}.citadel-detail-hero>img{width:100px;height:112px;object-fit:contain;padding:4px;background:#192019;border:1px solid #a68a4a66;border-radius:12px}.citadel-detail-hero>img[src*=clan-oracle]{padding:0;object-fit:cover}.citadel-detail-hero>div{min-width:0}.citadel-detail-hero small{font-size:9px;color:#c1a967;letter-spacing:1px}.citadel-detail-hero h3{font-family:Cormorant Garamond,Georgia,serif;font-size:23px;margin:5px 0;line-height:1.1;color:#eed8a6}.citadel-detail-hero p{margin:0;font-size:12px;line-height:1.5;color:#aaa98e}.citadel-open-actions{display:grid;gap:7px;margin-bottom:16px}.citadel-open-actions button{display:flex;align-items:center;gap:8px;width:100%;padding:10px 12px;border:1px solid #b69c5c55;border-radius:8px;background:linear-gradient(110deg,#393e29,#242f22);color:#e1cb96;font-size:12px}.citadel-open-actions button svg:last-child{margin-left:auto}.citadel-level-list{overflow:hidden;border:1px solid #9c875240;border-radius:10px}.citadel-level-list>div{display:flex;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid #8e814333;background:#19221780}.citadel-level-list>div:last-child{border-bottom:0}.citadel-level-list>div>span{display:grid;place-items:center;width:25px;height:25px;border:1px solid #8f8a584d;border-radius:50%;flex:0 0 auto;font-size:11px;color:#a8a58b}.citadel-level-list p{display:grid;gap:4px;margin:0;min-width:0}.citadel-level-list p strong{color:#c8c6a7;font-size:13px;font-weight:500}.citadel-level-list p small{color:#969b7e;font-size:10px}.citadel-level-list svg:last-child{margin-left:auto;color:#bba86b}.citadel-level-list .current{background:linear-gradient(90deg,#62603b4d,#3a472a55);box-shadow:inset 3px 0 #bfa35e}.citadel-level-list .current>span{border-color:#bdab6a80;color:#ded29a}.citadel-level-list .current strong{color:#ead7a2}.citadel-level-list .completed{opacity:.65}.citadel-upgrade{margin-top:16px;padding-top:12px;border-top:1px solid #b79e5733}.citadel-upgrade>div{display:flex;justify-content:space-between;gap:10px;margin-bottom:12px}.citadel-upgrade>div span{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#d4bd81}.citadel-upgrade>.primary-button{width:100%;min-height:46px}.citadel-upgrade .action-reason{font-size:11px;text-align:center;margin:10px 0 0}.citadel-detail-timer,.citadel-max{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:14px;font-size:12px;color:#c6c995}.citadel-treasury-balance{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}.citadel-treasury-balance>span{display:flex;align-items:center;gap:6px;min-width:0;padding:12px 8px;background:#263020;border:1px solid #ad945345;border-radius:8px;color:#e2cb93;font-size:12px}.clan-overview-screen .clan-roster,.clan-overview-screen .clan-ledger{border:1px solid #a68a4a4d;border-radius:12px;background:linear-gradient(120deg,#303728,#20271b);overflow:hidden;margin-top:0;padding:12px}.warehouse-capacity{display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px;margin-bottom:12px;border:1px solid #b49a5c55;border-radius:10px;background:linear-gradient(110deg,#353c28,#202b20)}.warehouse-capacity span{color:#adae8f;font-size:11px}.warehouse-capacity strong{color:#dfc88e;font-size:12px;font-weight:500}.warehouse-capacity progress{grid-column:1/-1;width:100%;height:4px;border:0;accent-color:#c4b271}.warehouse-capacity small{grid-column:1/-1;color:#a1a68b;font-size:9px}@keyframes citadelPulse{50%{opacity:.35}}@media(max-width:350px){.citadel-banner-content{padding-inline:11px}.clan-overview-screen .citadel-title h2{font-size:25px}.citadel-title>img{width:48px;height:48px}.citadel-eyebrow{font-size:7px;letter-spacing:.8px}.citadel-treasury{gap:5px;padding-inline:10px}.citadel-treasury strong{font-size:16px}.citadel-deposit>svg:first-child{display:none}.citadel-building-copy{padding-inline:8px}.citadel-building-copy>span:not(.citadel-level-dots){font-size:10px}.citadel-detail-hero{grid-template-columns:76px minmax(0,1fr);gap:10px}.citadel-detail-hero>img{width:76px;height:100px}}@media(hover:hover){.citadel-building:hover{border-color:#d3b56d}.citadel-treasury:hover{background-color:#435333}}@media(prefers-reduced-motion:reduce){.citadel-level-dots .pending{animation:none}}.citadel-sheet input{min-height:44px;font-size:16px}.citadel-sheet .sheet-fixed-footer .citadel-upgrade{margin:0;padding:0;border:0}.clan-overview-screen .clan-directory article{padding:14px 12px;margin:10px 0;border:1px solid #a68a4a55;border-radius:12px;background:linear-gradient(120deg,#343a29,#20291d)}.clan-directory article>img{flex:0 0 auto;filter:drop-shadow(0 3px 4px #0005)}.clan-directory article h3{margin:0 0 7px}.clan-public-buildings{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.clan-public-buildings>div{border-color:#ad975855;background:linear-gradient(135deg,#333b28,#1f291e);padding:0 0 10px;overflow:hidden}.clan-public-buildings>div>img{width:100%;height:94px;object-fit:cover;object-position:center 43%}.clan-public-buildings>div>span{font-family:Cormorant Garamond,Georgia,serif;font-size:19px;color:#e0c997}.clan-overview-screen>.social-heading{margin-bottom:8px}.clan-overview-screen>.world-tabs{margin-block:8px 10px}.clan-overview-screen>.world-tabs>button{min-height:36px;padding-block:7px}.citadel-manage-button{position:absolute;top:4px;right:4px;display:grid;place-items:center;width:40px;min-height:40px;padding:0;border:0;background:transparent;color:#d2bc84}.citadel-manage-actions{display:grid;gap:10px}.citadel-manage-actions>button{justify-content:flex-start;min-height:46px;padding:10px 12px;border:1px solid #ad975855;border-radius:8px;background:#2d3625;font-size:14px;text-decoration:none}.recruiter-sheet .recruiter-summary{display:grid;grid-template-columns:1.1fr 1.15fr .85fr;gap:5px;margin:10px 0}.recruiter-summary>span{display:grid;grid-template-columns:15px minmax(0,1fr);align-items:center;gap:5px;min-width:0;padding:7px 5px;border:1px solid #8f794435;border-radius:8px;background:#22291c;color:#bca573}.recruiter-summary>span>span{display:grid;gap:3px;min-width:0;color:#b5ad97;font-size:9px;line-height:1.2;overflow-wrap:anywhere}.recruiter-summary strong{color:#e7d09b;font-size:12px;font-weight:500;font-variant-numeric:tabular-nums}.recruiter-sheet .recruiter-discount{display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin:-2px 0 10px;color:#c7bc9c;font-size:10px;line-height:1.35}.recruiter-discount svg,.recruiter-discount strong{color:#bdd18b}.recruiter-discount>span{color:#a5a28c}.recruiter-sheet .recruitment-offers,.recruiter-sheet .recruit-offer-row{gap:6px}.recruiter-sheet .recruit-offer-row .recruitment-offer{min-height:74px;gap:9px;padding:8px 9px;border-radius:9px}.recruiter-sheet .recruitment-offer .portrait{width:46px;height:46px}.recruiter-sheet .recruitment-offer>span:not(.portrait){gap:2px}.recruiter-sheet .recruitment-offer strong{font-size:12px;line-height:1.25;overflow-wrap:anywhere}.recruiter-sheet .recruitment-offer small{font-size:10px;line-height:1.35}.recruiter-sheet .recruitment-offer .recruit-price{font-size:12px;font-variant-numeric:tabular-nums}.recruiter-sheet .recruitment-offer .unit-tier{padding:0 3px;font-size:9px;white-space:nowrap}.recruiter-sheet .recruitment-offer.sold-out{opacity:.56;background:#25291f}.recruiter-sheet .recruitment-offer.sold-out .recruit-stock{color:#d3bea4}.recruiter-sheet .recruitment-offer.selected{box-shadow:inset 3px 0 #c6a762,inset 0 0 0 1px #ad955633}.recruiter-sheet .recruit-inspect{color:#d7bf86;border-color:#9f88545e;background:radial-gradient(circle at 35% 25%,#67553550,#252b20)}.recruiter-sheet .recruit-inspect:focus-visible{outline:2px solid #dec17b;outline-offset:3px}.bestiary-screen .bestiary-search{margin:8px 0}.bestiary-screen .bestiary-filters{gap:8px}.bestiary-screen .bestiary-filters label{gap:4px}.bestiary-screen .bestiary-filters select{min-height:40px;padding:7px 8px;font-size:16px}.bestiary-screen .bestiary-view-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) 72px;gap:6px;align-items:center;margin-top:8px}.bestiary-view-controls .bestiary-compare-toggle{display:inline-flex;align-items:center;justify-content:center;gap:4px;width:100%;min-width:0;min-height:38px;padding:7px 5px;font-size:11px;white-space:nowrap}.bestiary-view-controls .bestiary-compare-toggle svg{flex-shrink:0}.bestiary-view-controls .bestiary-compare-toggle[aria-pressed=true]{background:#53482e;color:#f0d494}.bestiary-screen .bestiary-view-controls label,.bestiary-screen .bestiary-view-controls select{min-width:0;width:100%}.bestiary-screen .bestiary-view-controls select{min-height:38px;padding:6px 3px;font-size:11px}.bestiary-view-controls [role=group]{gap:4px}.bestiary-view-controls [role=group] button{width:34px}.bestiary-screen .bestiary-results{min-height:38px;font-variant-numeric:tabular-nums}.bestiary-screen .bestiary-grid{gap:8px}.bestiary-screen .bestiary-card{padding:12px 8px 9px;border-color:#8b79494d;box-shadow:inset 0 1px #ecce8910}.bestiary-screen .bestiary-card>small{margin:3px 0 8px}.bestiary-screen .bestiary-preview{padding-top:7px;font-variant-numeric:tabular-nums;color:#dfca9d}.bestiary-screen .bestiary-list .bestiary-card{grid-template-columns:44px minmax(0,1fr) 84px;min-height:72px;padding:8px}.bestiary-screen .bestiary-list .bestiary-card>small{margin:0}.bestiary-screen .bestiary-list .bestiary-preview{padding:0}@media(max-width:360px){.recruiter-summary>span{gap:4px;padding:7px 4px}.recruiter-summary strong{font-size:11px}.recruiter-sheet .recruit-offer-row .recruitment-offer{gap:7px;padding:8px}.recruiter-sheet .recruitment-offer .portrait{width:44px;height:44px}.bestiary-view-controls .bestiary-compare-toggle{gap:3px;padding:7px 3px;font-size:10px}}.market-screen .market-sell{gap:12px}.market-sell-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:10px}.market-sell-fields.market-sell-single{grid-template-columns:minmax(0,1fr)}.market-screen .market-sell-fields input{min-height:42px;font-size:16px;font-variant-numeric:tabular-nums}.market-sell-fields+.market-stock{margin-top:-8px}.market-stock>span{min-width:0;line-height:1.4}.market-stock .text-button{flex-shrink:0;padding:4px 6px}.market-sale-preview{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;column-gap:10px;row-gap:10px;padding:11px;border:1px solid #8a744b66;border-radius:9px;background:linear-gradient(115deg,#3b322345,#191c16)}.market-sale-item-copy{display:grid;gap:4px;min-width:0}.market-sale-item-copy>strong{color:#e4d2aa;font-size:13px;line-height:1.35;overflow-wrap:anywhere}.market-sale-item-copy>small{color:#b0aa93;font-size:10px;line-height:1.4}.market-sale-item-copy .legendary-effect{margin:2px 0 0;font-size:11px;line-height:1.4}.market-sale-affixes{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:5px;margin:0}.market-sale-affixes>div{display:flex;align-items:baseline;gap:5px;padding:5px 7px;border:1px solid #80724c44;border-radius:5px;background:#11150f70;font-size:10px;line-height:1.3}.market-sale-affixes dt{color:#b8b19a}.market-sale-affixes dd{margin:0;color:#e8d29c;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums}.game-shell .market-card-footer .market-lot-status{display:inline-flex;align-items:center;gap:5px;align-self:center;padding:3px 6px;border:1px solid #8c76423d;border-radius:4px;color:#c6b37f;background:#43391a33;font-size:9px;line-height:1.3;white-space:nowrap}.market-lot-status:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}.game-shell .market-card-footer .market-status-sold{color:#afc49a;border-color:#78935b4d;background:#465b3030}.game-shell .market-card-footer .market-status-cancelled{color:#aaa798;border-color:#8a887044;background:#45423930}.market-screen .market-sell>.market-receipt{margin:0}.market-currency-balance>span{display:inline-flex;align-items:center;gap:.5rem;color:var(--text);font-size:.8rem}.market-currency-balance>small{font-size:.68rem;text-align:right}.market-unit-picker-tools{display:grid;grid-template-columns:minmax(0,1fr) 90px;gap:10px}.market-unit-picker-tools label,.market-sale-unit .market-sale-item-copy{min-width:0}.market-screen .market-sell>label{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);overflow:clip}.market-screen .market-sell select{width:100%;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis}.market-unit-picker-tools input,.market-unit-picker-tools select{width:100%;min-width:0}.market-sale-unit .market-sale-item-copy strong{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.market-quantity-rule{margin:0;font-size:11px;line-height:1.5}.moderation-mute-notice{display:flex;align-items:flex-start;gap:8px;padding:9px 10px;margin:8px 0;border:1px solid #a77b4555;border-radius:8px;background:#4c362526;color:#d1b486}.moderation-mute-notice>svg{flex-shrink:0;margin-top:1px}.moderation-mute-notice>span{display:grid;gap:3px;min-width:0}.moderation-mute-notice strong{font-size:11px;font-weight:500;line-height:1.4}.moderation-mute-notice small{color:#afa28a;font-size:10px;line-height:1.4}.chat-screen .chat-composer>.moderation-mute-notice{grid-column:1 / -1;margin:4px 0 0}.chat-screen .chat-message header .message-moderation-button,.forum-screen .forum-post header .message-moderation-button{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;min-height:32px;padding:0;margin:-3px -3px -3px 0;border:1px solid #93805a35;border-radius:50%;background:#171c151f;color:#bcad88}.chat-screen .chat-message.with-moderation .chat-author{max-width:calc(100% - 79px)}.chat-screen .chat-message.with-moderation time{margin-left:auto}.chat-screen .chat-message>.deleted-message,.forum-screen .forum-post>.deleted-message{display:flex;align-items:center;gap:6px;color:#a5a18f;font-size:11px;font-style:italic;line-height:1.5}.deleted-message>svg{flex-shrink:0}.forum-screen .forum-post.with-moderation header{display:grid;grid-template-columns:minmax(0,1fr) auto 32px;gap:7px}.forum-screen .forum-post.with-moderation .forum-author{min-width:0}.forum-screen .forum-post.with-moderation .forum-author>span{min-width:0;overflow-wrap:anywhere}.forum-screen .forum-post.with-moderation header>span{font-size:9px}.forum-screen .forum-post.with-moderation header time{font-size:8px}.moderation-player{display:flex;align-items:center;gap:10px;margin:8px 0 14px}.profile-moderation-button{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;min-height:40px;margin:8px 0 12px;border:1px solid #97825266;border-radius:8px;background:#35352666;color:#ceb98b;font-size:11px}.moderation-emblem{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border:1px solid #a18a5577;border-radius:50%;background:radial-gradient(circle at 35% 25%,#625232,#282d22 75%);color:#dcc38c}.moderation-player>div{display:grid;gap:4px;min-width:0}.moderation-player strong{font-size:20px;color:#e4cca1;overflow-wrap:anywhere}.moderation-player small,.moderation-retry-note,.moderation-loading{font-size:10px;line-height:1.4;color:#aca38b}.moderation-target-mute,.moderation-success{display:flex;align-items:center;gap:7px;padding:9px 10px;border:1px solid #95784c55;border-radius:8px;background:#4e3e2226;font-size:11px;color:#dbc18a}.moderation-target-mute svg,.moderation-success svg{flex-shrink:0}.moderation-success{color:#bed39a;border-color:#899c5f55;background:#3e4e2826}.moderation-actions{display:grid;gap:10px}.moderation-actions>button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px;border:1px solid #8b765344;border-radius:8px;background:#2b3024;font-size:12px}.moderation-actions>.moderation-delete{color:#d9aa97;border-color:#aa70524d;background:#4a2c2226}.moderation-actions>.moderation-unmute{color:#bdcf9b;border-color:#8b9b5d66}.moderation-section-label{margin-top:6px;color:#b8ab8b;font-size:10px}.moderation-duration-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.moderation-duration-options>button{display:grid;place-items:center;align-content:center;gap:6px;min-height:65px;padding:8px 4px;border:1px solid #947e4d66;border-radius:8px;background:linear-gradient(135deg,#3b3829,#252c21);color:#d3bc89;font-size:11px}.moderation-confirmation{padding:12px;border:1px solid #a28a5555;border-radius:9px;background:#3b362726}.moderation-confirmation>p{margin:0 0 12px;font-size:12px;line-height:1.6;color:#d5c5a2;overflow-wrap:anywhere}.forum-thread-tools .forum-delete-topic{color:#d5a992;border-color:#a5795555}.moderation-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.moderation-confirm-actions>button{min-width:0;min-height:44px;border:1px solid #8a77484d;border-radius:8px;font-size:11px}.moderation-retry-note{display:block;margin-top:9px}.message-moderation-button:focus-visible,.profile-moderation-button:focus-visible,.moderation-sheet button:focus-visible{outline:2px solid #dcc17e;outline-offset:2px}@media(max-width:350px){.forum-screen .forum-post.with-moderation header{gap:4px}.forum-screen .forum-post.with-moderation .forum-author .portrait{width:26px;height:26px}.forum-screen .forum-post.with-moderation header>span{max-width:65px}}.race-change-price{color:var(--gold, #d4b46d);font-weight:700;margin:0 0 8px}.race-change-sheet>.muted{font-size:12px;line-height:1.55}.race-change-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:16px 0}.race-change-grid button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;padding:9px 4px;border:1px solid #514b34;background:#1e2119;border-radius:12px;color:#c9c4ae;font-size:11px}.race-change-grid button.selected{border-color:#bd9c51;background:#353221;color:#f1dfae;box-shadow:inset 0 0 18px #b19b4120}.race-change-grid button strong{overflow-wrap:anywhere}.race-change-grid button small{color:#a79c7e;font-size:9px}.race-change-detail{padding:10px 12px;border:1px solid #514b346b;border-radius:12px;margin-bottom:14px;background:#191c16}.race-change-detail p{font-size:12px;line-height:1.5;margin:6px 0 0}.race-change-confirm{padding:12px;background:#343020;border:1px solid #7e6a3d;border-radius:12px}.race-change-confirm>div{display:flex;gap:8px}.race-change-confirm button{flex:1;min-width:0}.race-change-sheet .text-button{display:inline-flex;align-items:center;gap:6px;margin-top:12px}.clan-oracle-link{width:100%;display:flex;gap:12px;align-items:center;text-align:left;padding:12px 14px;margin:12px 0;border:1px solid #75633c;background:linear-gradient(115deg,#28281f,#1d241f);border-radius:14px;color:#e4d7b6}.clan-oracle-link>span:nth-child(2){flex:1;min-width:0}.clan-oracle-link strong,.clan-oracle-link small{display:block}.clan-oracle-link small{color:#aaa68e;margin-top:4px;font-size:12px}.oracle-portrait{display:block;width:52px;height:52px;flex:0 0 52px;overflow:hidden;border:2px solid #a48b55;border-radius:50%;background:#182622;box-shadow:0 0 0 3px #151d17,0 0 24px #a08d3120}.oracle-portrait img{display:block;width:100%;height:100%;object-fit:cover}.oracle-portrait.large{width:86px;height:86px;flex-basis:86px;border-color:#c2a56a}.oracle-hero{display:flex;gap:14px;align-items:center;padding:16px 12px;background:linear-gradient(110deg,#303326,#1b241f);border:1px solid #5a6044;border-radius:16px 16px 0 0;margin-top:12px}.oracle-hero h2{font-size:19px;margin:5px 0 8px}.oracle-hero>div{min-width:0}.oracle-sections{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;margin:14px 0;border:1px solid #4d513a;border-radius:12px;background:#171f18}.oracle-sections button{min-height:40px;padding:7px 8px;border:1px solid transparent;border-radius:8px;background:transparent;color:#aaa78f;font-size:12px}.oracle-sections button[aria-pressed=true]{border-color:#807147;background:linear-gradient(130deg,#393a28,#293429);color:#f0dcaa}.oracle-leaderboard{padding:13px 0 4px;border:1px solid #50563d;border-radius:14px;overflow:hidden;background:#1c251c}.oracle-leaderboard-heading{display:flex;align-items:center;gap:8px;padding:0 12px;color:#d4bc7e}.oracle-leaderboard-heading h2{flex:1;margin:0;font-size:17px}.oracle-leaderboard-heading>span{min-width:24px;padding:3px 5px;border:1px solid #5d6145;border-radius:7px;font-size:10px;text-align:center;color:#b8b49b}.oracle-leaderboard-rule,.oracle-leaderboard-footnote,.oracle-leaderboard-empty{margin:6px 12px 12px;color:#a8ab94;font-size:11px;line-height:1.5}.oracle-leaderboard-footnote{margin-top:12px;font-size:10px}.oracle-contributors{list-style:none;padding:0;margin:0}.oracle-contributor{display:flex;align-items:center;gap:8px;width:100%;min-height:62px;padding:9px 10px;border:0;border-top:1px solid #414a3566;border-radius:0;background:#172219;color:#acac90;text-align:left}.oracle-contributor.self{background:linear-gradient(100deg,#353923,#243021);box-shadow:inset 2px 0 #c2a265}.oracle-contributor:focus-visible,.oracle-sections button:focus-visible{outline:2px solid #e3c476;outline-offset:-3px}.oracle-contributor-rank{flex:0 0 22px;width:22px;text-align:center;font:700 15px Georgia,serif;color:#858c76}.oracle-contributor-rank.rank-1{color:#edcf7a}.oracle-contributor-rank.rank-2{color:#c8d3d1}.oracle-contributor-rank.rank-3{color:#ca9c79}.oracle-contributor .portrait{flex:0 0 36px;width:36px;height:36px}.oracle-contributor-name{flex:1;min-width:0}.oracle-contributor-name strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e0d7b7;font-size:12px}.oracle-contributor-name small,.oracle-contributor-count small{display:block;margin-top:3px;font-size:10px;color:#a5a88d}.oracle-contributor-count{flex:0 0 auto;min-width:40px;text-align:right}.oracle-contributor-count b{font-size:15px;color:#ddc98d;font-variant-numeric:tabular-nums}.oracle-contributor>svg{flex-shrink:0;color:#81876d}@media(max-width:350px){.oracle-portrait.large{width:72px;height:72px;flex-basis:72px}.oracle-hero{gap:11px}.oracle-hero h2{font-size:17px}.oracle-contributor{gap:6px;padding-inline:7px}}.oracle-hero small{color:#c3bc9a;overflow-wrap:anywhere}.oracle-hero strong{font-size:23px;color:#e1ce9a}.oracle-hero strong span{font-size:11px;font-weight:400;color:#b8b59c}.oracle-progress{display:block;width:100%;height:5px;border:0;background:#353929;accent-color:#b5b56d}.oracle-progress::-webkit-progress-bar{background:#353929}.oracle-progress::-webkit-progress-value{background:linear-gradient(90deg,#747f4d,#d2c27d)}.oracle-rule{font-size:12px;line-height:1.6;color:#aaa891}.oracle-milestones{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:16px 0}.oracle-milestone{min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;padding:12px 10px;border:1px solid #4b503b;border-radius:14px;background:#20261c}.oracle-milestone.available{border-color:#b49b58;box-shadow:inset 0 0 24px #ac8d3420}.oracle-milestone.claimed{background:#20291f;border-color:#56654c}.oracle-milestone:nth-last-child(-n+2){grid-column:1 / -1}.oracle-milestone-heading{display:flex;align-items:baseline;gap:5px;color:#c4baa0}.oracle-milestone-heading strong{font:700 23px Georgia,serif;color:#d6c49a}.oracle-milestone-heading span{font-size:10px}.oracle-reward-icon{display:block;width:53px;height:53px;border:2px solid #878263;border-radius:50%;overflow:hidden;margin:10px 0 0;background:#171c16}.oracle-reward-icon img{width:100%;height:100%;object-fit:cover}.oracle-reward-icon.legendary{border-color:#dfb557;box-shadow:0 0 12px #dca73d35}.oracle-milestone h3{font-size:13px;line-height:1.45;margin:9px 0 12px;color:#e4d9b7}.oracle-milestone button,.oracle-milestone p{margin-top:auto}.oracle-milestone button{width:100%;min-height:35px;padding:7px;font-size:12px}.oracle-milestone p{font-size:11px;line-height:1.45;margin-bottom:0;color:#b0b296}.oracle-milestone .oracle-claimed{display:flex;gap:4px;align-items:center;color:#b7c49b}.oracle-reward-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;width:100%;margin:12px 0 16px;padding:0;list-style:none;text-align:left}.oracle-reward-list li{display:flex;align-items:center;gap:7px;min-width:0;color:#e4d9b7;font-size:12px;line-height:1.35}.oracle-reward-list li>:first-child{flex:0 0 30px}.oracle-reward-list .oracle-reward-icon{width:30px;height:30px;margin:0}@media(min-width:700px){.oracle-milestones{grid-template-columns:repeat(2,minmax(0,1fr))}}.player-badges{display:inline-flex;flex:0 0 auto;flex-wrap:wrap;align-items:center;gap:4px;vertical-align:middle}.player-badge{display:inline-flex;align-items:center;justify-content:center;min-height:17px;padding:1px 6px;border:1px solid #9c8549;border-radius:5px;font-family:inherit;font-size:9px;font-weight:600;line-height:1.3;white-space:nowrap;box-shadow:inset 0 1px #fff0b01c,0 1px 2px #0005}.player-badge-vip{color:#f3d78d;background:linear-gradient(160deg,#205b3d,#103422);border-color:#b99b54;letter-spacing:.07em}.player-badge-admin{color:#e5c995;background:linear-gradient(160deg,#493c26,#2b271c);border-color:#887448}.chat-screen .chat-message .chat-author-identity{display:flex;min-width:0;flex-wrap:wrap;align-items:center;column-gap:5px;row-gap:3px;overflow:visible;white-space:normal;text-align:left}.chat-author-name{min-width:0;overflow-wrap:anywhere}.chat-screen .chat-author-identity>small{color:#a7a08b;font-size:9px;font-weight:400;white-space:nowrap}.chat-screen .chat-message.vip-message{position:relative;isolation:isolate;padding:12px 14px;border:1px solid #8c864955;border-radius:9px;background:radial-gradient(ellipse at 0 0,#32613c25,transparent 70%),linear-gradient(110deg,#172d20,#1c2a1e)}.chat-screen .chat-message.vip-message:before{content:"";position:absolute;z-index:-1;inset:0;border:18px solid transparent;border-image:url(/art/social/emerald-vip-frame.webp) 180 340 / 18px 28px / 0 stretch;pointer-events:none}.chat-screen .chat-message.vip-message .portrait{border-color:#b59f64;box-shadow:0 0 0 2px #24472e,0 2px 4px #0005}.forum-screen .forum-author-name{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px;line-height:1.5}.forum-author-name>span:first-child{min-width:0;overflow-wrap:anywhere}.forum-screen .forum-author .player-badge{font-size:8px;min-height:16px;padding:1px 5px}.telegram-mini-app .game-shell{padding-top:var(--telegram-safe-top, 0px)}.telegram-mini-app .game-shell .illustrated-nav{padding-bottom:calc(8px + max(env(safe-area-inset-bottom),var(--telegram-safe-bottom, 0px)))}[hidden]{display:none!important}.adaptive-quantity{margin:12px 0}.adaptive-quantity label{font-size:12px;color:#bdb49c}.adaptive-quantity input{width:min(42%,160px);border-radius:7px;font-variant-numeric:tabular-nums}.adaptive-quantity .quantity-buttons{gap:6px}.adaptive-quantity .quantity-buttons button,.quantity-fractions button{min-height:44px;border:1px solid #89744966;border-radius:7px;background:linear-gradient(135deg,#353a29,#20291f);color:#dfcca1;font-variant-numeric:tabular-nums}.quantity-fractions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:6px}.quantity-fractions button{min-height:36px;color:#bcb696;background:#1c281e;font-size:11px}.clan-section-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;margin:12px 0;border:1px solid #a68a4a44;border-radius:10px;background:#131c16}.clan-section-tabs button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:42px;padding:7px 4px;border:1px solid transparent;border-radius:7px;color:#b0ab90;font-size:11px}.clan-section-tabs [aria-selected=true]{color:#f0d69b;border-color:#c4a36566;background:linear-gradient(135deg,#50472e,#2b3624);box-shadow:inset 0 1px #ead18a18}.clan-section-tabs small{padding:1px 4px;border-radius:4px;background:#0003;color:#c7ba95;font-size:9px}.clan-panel-title{display:flex;align-items:center;gap:8px;margin:0 0 14px;font-size:23px;color:#e7cf9e}.clan-panel-title b{margin-left:auto;font:12px Manrope,sans-serif;color:#b9af8e}.clan-ledger>p{margin:0;padding:12px 0;border-bottom:1px solid #95814c33;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.clan-ledger>p:last-child{border-bottom:0}.clan-ledger>p small{color:#a7a48a}.settings-services.settings-group-list{display:grid;gap:18px}.settings-group{display:grid;gap:6px;min-width:0}.settings-group>h2{display:flex;align-items:center;gap:8px;margin:0 0 2px;padding:0 4px;color:#c9b681;font-family:Manrope,sans-serif;font-size:12px;font-weight:600}.settings-group .settings-service{min-height:61px;padding:9px 10px;gap:9px;border-radius:9px}.settings-group .settings-service-icon{width:34px;height:34px}.settings-group .settings-service strong{font-size:20px;line-height:1.1}.settings-group .settings-service small{line-height:1.4;overflow-wrap:anywhere}.market-unit-groups{display:grid;gap:8px}.market-unit-group{display:grid;grid-template-columns:52px minmax(0,1fr) 14px;align-items:center;gap:10px;width:100%;padding:12px 10px;border:1px solid #b5965559;border-radius:11px;background:linear-gradient(115deg,#33392a,#1c271d);text-align:left}.market-unit-group>.portrait{width:52px;height:52px}.market-unit-group>span:not(.portrait){min-width:0}.market-unit-group strong{display:block;color:#e8d5aa;font-size:14px;font-weight:600;overflow-wrap:anywhere}.market-unit-group small{display:block;margin-top:4px;color:#b4b096;font-size:10px;line-height:1.4}.market-unit-group b{display:block;margin-top:6px;color:#e1c180;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}.market-unit-group b small{display:inline;font-weight:400;color:#b9ad8a}.market-unit-group .market-group-arrow{color:#cfb278;font-size:25px}.market-group-back{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-height:44px;margin-bottom:10px;padding:8px;color:#bfb08a;font-size:11px}.market-group-back strong{margin-left:auto;color:#e5cc93;font-weight:500}.refined-item-sheet .comparison-cards{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}.refined-item-sheet .comparison-card{justify-content:flex-start;background:linear-gradient(150deg,#363627,#1b251d)}.comparison-equipped-items{display:grid;gap:7px;min-width:0;width:100%}.comparison-equipped-items>div{display:grid;justify-items:center;gap:5px;min-width:0}.comparison-equipped-items .art-icon{flex-shrink:0}.comparison-equipped-items.comparison-multiple{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}.item-sheet .comparison-multiple strong{font-size:11px}.bag-name{overflow-wrap:normal;word-break:normal;text-wrap:balance;-webkit-hyphens:auto;hyphens:auto}.item-sheet .comparison-equipped-items strong{display:block;width:100%;color:#ead7af;font-size:14px;overflow-wrap:anywhere;text-wrap:balance}.refined-item-sheet .item-comparison th,.refined-item-sheet .item-comparison td{padding:8px 4px;font-size:11px}.comparison-equipped-items>div>span,.comparison-equipped-items small{color:#b7ad91;font-size:10px;line-height:1.35}.item-special-effect{margin:10px 0;padding:10px 12px;border:1px solid #c2a05766;border-radius:9px;background:linear-gradient(120deg,#68502540,#2b372b);box-shadow:inset 3px 0 #b89a56}.item-special-effect>small{color:#e3bc70;font-size:9px;letter-spacing:.8px;text-transform:uppercase}.item-special-effect p{margin-top:4px;color:#ddd1b3;font-size:11px;line-height:1.6}.comparison-effects,.item-forge-disclosure{margin:10px 0;border:1px solid #a28a4e55;border-radius:9px;background:#25302266}.comparison-effects summary,.item-forge-disclosure summary{min-height:44px;padding:12px 10px;color:#d4c18e;font-size:11px;cursor:pointer}.comparison-effects p{display:grid;gap:4px;margin:0;padding:8px 11px;border-top:1px solid #9a865444;font-size:11px;line-height:1.6;color:#b8b69c}.comparison-effects p strong{color:#d8c79e;font-weight:500}.item-forge-disclosure summary strong{font-weight:500}.item-forge-disclosure summary>span{float:right;color:#bda365;font-size:10px}.item-sheet .item-forge-disclosure .forge-panel{margin:0;padding:10px;border:0;border-top:1px solid #a28a4e44;border-radius:0 0 9px 9px}.refined-item-sheet .item-detail-header{gap:12px;align-items:center}.refined-item-sheet .item-detail-header>div{min-width:0}.refined-item-sheet .item-detail-header h3{font-size:23px;line-height:1.1;overflow-wrap:anywhere}.stat-source-list{margin:0;padding:0;text-align:left}.stat-source-list>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 6px;border-bottom:1px solid #99865033;font-size:12px}.stat-source-list dt{color:#b6b098}.stat-source-list dd{margin:0;color:#e6d3a2;font-variant-numeric:tabular-nums}.stat-source-list .stat-source-total{border:0;background:#7a804422}.stat-source-total dt{color:#e6d3a2}.hero-stat-explanation p.stat-derived-note{padding:12px 4px 0;font-size:11px}.hero-stat-explanation .stat-derived-note b{display:inline;margin:0;font-size:inherit}.unit-source-list{display:grid;gap:8px;margin:12px 0}.unit-source-list>div{padding:9px;background:#15231a88;border:1px solid #9a875133;border-radius:6px}.unit-source-list dt{font-size:10px;color:#aead94}.unit-source-list dd{margin:5px 0 0;color:#d1bb85;font-size:12px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.exact-amount{padding:3px 1px;min-height:30px;font:inherit;color:inherit;font-variant-numeric:tabular-nums;text-decoration:underline dotted #bca56d55;text-underline-offset:4px}.exact-amount-value{margin:10px 0 18px;color:#e8cf96;text-align:center;font-size:clamp(23px,7vw,33px);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.army-slot .slot-unit-name{width:100%;font-size:clamp(8px,2.2vw,9px)!important;overflow-wrap:normal;word-break:normal;-webkit-hyphens:auto;hyphens:auto;text-wrap:balance}.army-slot .slot-unit-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.army-slot strong,.section-heading>span{font-variant-numeric:tabular-nums}.sheet>.section-heading .icon-button{width:44px;min-height:44px;display:grid;place-items:center;padding:0;flex-shrink:0}.sheet-fixed-footer .primary-button{min-height:44px;overflow-wrap:anywhere}.telegram-mini-app .sheet-backdrop{padding-top:max(8px,var(--telegram-safe-top, 0px))}.telegram-mini-app .sheet{max-height:calc(var(--telegram-viewport-height, 100dvh) - var(--telegram-safe-top, 0px) - 12px)}.telegram-mini-app .sheet-fixed-footer{padding-bottom:calc(8px + max(env(safe-area-inset-bottom),var(--telegram-safe-bottom, 0px)))}@media(max-width:600px),(pointer:coarse){.game-shell input:not([type=checkbox]):not([type=radio]),.game-shell textarea,.game-shell select,.sheet input:not([type=checkbox]):not([type=radio]),.sheet textarea,.sheet select{font-size:16px!important;min-width:0}}@media(prefers-reduced-motion:reduce){.sheet-backdrop *,.clan-section-tabs *{scroll-behavior:auto}}.chat-channel-tabs{display:grid;grid-template-columns:1fr 1fr;flex-shrink:0;gap:4px;padding:4px;margin:0 0 8px;background:#121710;border:1px solid #a38c4a40;border-radius:12px}.chat-channel-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:38px;border:1px solid transparent;border-radius:8px;color:var(--muted);background:transparent;font-size:14px}.chat-channel-tabs button[aria-selected=true]{color:#e8d4a4;background:linear-gradient(125deg,#60542c70,#293020);border-color:#bca36460;box-shadow:inset 0 1px #e7ce8e18}.chat-channel-tabs button:disabled{opacity:.4}.territory-event{display:flex;align-items:center;width:100%;gap:8px;min-height:36px;padding:7px 12px;text-align:left;border:1px solid #ab91533d;border-top:0;border-radius:0 0 10px 10px;background:linear-gradient(110deg,#303724,#22261d);color:#b7b49d;font-size:12px;line-height:1.4}.territory-event span{flex:1;min-width:0}.territory-event strong{color:#e7d7af;font-weight:600}.territory-event>svg{flex:none;color:#c6ae6f}.territory-event.event-illusion{background:linear-gradient(110deg,#30283b,#22241e)}.territory-event.event-gold_rush{background:linear-gradient(110deg,#3b321e,#24271c)}.territory-event-detail{display:flex;align-items:center;gap:16px;padding:16px;border:1px solid #ad96534a;border-radius:12px;background:#c9ae6310}.territory-event-detail>svg{color:#d1b976;flex:none}.territory-event-detail p{margin:0;line-height:1.6}.unit-card-identity{display:flex;align-items:center;gap:14px;padding:13px;border:1px solid #ad915652;border-radius:11px;background:radial-gradient(ellipse at 10% 50%,#9b7b3338,transparent 70%),#192620}.unit-card-medallion{position:relative;flex-shrink:0;padding-bottom:5px}.unit-card-medallion .portrait{width:76px;height:76px;border:2px solid #b9a065;box-shadow:0 4px 12px #0007}.unit-card-medallion>span:last-child{position:absolute;bottom:0;left:50%;transform:translate(-50%);padding:2px 8px;border-radius:4px;background:#243028;border:1px solid #a68e58;font-size:10px;color:#e7d09c;white-space:nowrap}.unit-card-copy{min-width:0;display:grid;grid-template-columns:minmax(0,1fr);align-content:center;justify-items:start;gap:3px}.unit-card-identity h3{margin:0;font-size:26px;line-height:1;color:#eddbb4;overflow-wrap:anywhere}.unit-card-identity small{color:#b8bba7;font-size:10px}.unit-card-status{display:block;max-width:100%;line-height:1.4;font-size:9px;color:#b9d09d}.unit-card-identity .unit-attack-type{margin:0;min-width:0;line-height:1.4}.unit-card-status:before{content:"";display:inline-block;width:5px;height:5px;margin-right:5px;border-radius:50%;background:currentColor}.unit-card-identity.is-fallen .portrait{filter:grayscale(1);opacity:.6}.unit-card-identity.is-fallen .unit-card-status{color:#d5a294}.unit-card-vitals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:12px 0 9px}.unit-card-vitals>div{display:flex;align-items:center;gap:9px;min-width:0;padding:10px;border-radius:8px;background:#141f1b;border:1px solid #8f9c6e2e;color:#b9c39b}.unit-card-vitals>div>span{display:grid;gap:3px;min-width:0}.unit-card-vitals svg{flex-shrink:0}.unit-card-vitals small{font-size:9px;color:#b2b7a3}.unit-card-vitals strong{font-size:18px;font-weight:600;color:#e1d3b0}.unit-card-health{overflow:hidden;height:5px;background:#111a16;border-radius:4px}.unit-card-health>span{display:block;height:100%;background:linear-gradient(90deg,#6e9c73,#b5c98d)}.unit-card-started{text-align:right;margin:6px 0 0;font-size:10px;color:#b5b69e}.unit-card-stats-heading{margin:18px 0 9px;font:500 11px Manrope,sans-serif;color:#cfc6a8}.unit-card .unit-attributes{grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}.unit-card .unit-attributes>div{grid-column:span 2;min-width:0;padding:9px 7px;gap:6px}.unit-card .unit-attributes>div:nth-child(n+4){grid-column:span 3}.unit-card .unit-attributes .game-stat-art{width:26px;height:26px}.unit-card .unit-attributes small{font-size:9px}.unit-card .unit-attributes strong{font-size:15px;font-weight:600}.unit-card-note{margin:12px 0 0;font-size:10px;color:#a5b19d;line-height:1.5}.unit-card{min-width:0;text-align:left}.unit-card+.unit-card{margin-top:14px}.unit-card-stats-heading{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px}.unit-card-stats-heading h3{margin:0;font:inherit}.unit-card-stats-heading>span{font-size:9px;color:#9eb09e}.unit-card-vitals:has(>div:only-child){grid-template-columns:1fr}.unit-card-disclosure{margin:12px 0 0}.unit-card-disclosure>summary{min-height:38px;padding:9px;border:1px solid #9c8a5540;border-radius:7px;font-size:11px;color:#d0c4a3;background:#17251e;cursor:pointer}.unit-card .army-bonuses{margin-top:12px}.encounter-details>section{padding:0}.unit-card-encounter .unit-card-identity{padding:10px}.unit-card-encounter .unit-card-medallion .portrait{width:60px;height:60px}.unit-card-encounter .unit-card-identity h3{font-size:23px}@media(max-width:350px){.unit-card-identity{gap:10px;padding:11px}.unit-card-medallion .portrait{width:64px;height:64px}.unit-card-identity h3{font-size:24px}.unit-card .unit-attributes>div{padding:8px 5px;gap:4px}.unit-card .unit-attributes .game-stat-art{width:22px;height:22px}}.unit-card .exact-amount{font:inherit;color:inherit}.enemy-recruitment-dialog .unit-card-identity{padding:9px}.enemy-recruitment-dialog .unit-card-medallion .portrait{width:56px;height:56px}.enemy-recruitment-dialog .unit-card-identity h3{font-size:23px}.market-unit-price{margin:10px 0;text-align:center;font-size:12px;color:#e1c994}.atlas-view-switch{display:flex;gap:5px;margin:10px 0;padding:3px;border:1px solid #8c78463d;border-radius:8px;background:#142019}.atlas-view-switch button{display:flex;align-items:center;justify-content:center;gap:6px;flex:1;min-height:34px;font-size:11px;color:#aeb59e;border:1px solid transparent;border-radius:5px}.atlas-view-switch button[aria-pressed=true]{background:linear-gradient(#66573566,#514a2b44);border-color:#b19a5f85;color:#efdbab}.territory-atlas{min-width:0}.atlas-canvas{position:relative;isolation:isolate;width:100%;aspect-ratio:3 / 4;border:1px solid #aa8e5488;border-radius:10px;background:radial-gradient(ellipse at 40% 45%,#485438,#162920);box-shadow:inset 0 0 0 3px #171b1588}.atlas-painting{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit}.atlas-painting[hidden]{display:none}.atlas-shade{position:absolute;z-index:-1;pointer-events:none;inset:0;border-radius:inherit;background:linear-gradient(#14201715,#0c171022),radial-gradient(ellipse,transparent 45%,#17201399);box-shadow:inset 0 0 0 3px #151e1966,inset 0 0 20px #101b1899}.atlas-roads{position:absolute;pointer-events:none;inset:0;width:100%;height:100%;overflow:visible}.atlas-roads path{fill:none;stroke:#f0d69890;stroke-width:.45;stroke-dasharray:1 1.5;stroke-linecap:round;filter:drop-shadow(0 1px 1px #000)}.atlas-node{position:absolute;display:grid;place-items:center;width:44px;height:44px;padding:0;transform:translate(-50%,-50%);border-radius:50%;color:#e1cc98}.atlas-marker{display:grid;place-items:center;width:34px;height:34px;border:1px solid #d6b66f;border-radius:50%;background:radial-gradient(#566140,#1c2a21 75%);box-shadow:0 2px 7px #000a,0 0 0 3px #14211e9c}.atlas-marker b{font:600 18px Georgia,serif}.atlas-node.locked .atlas-marker{border-color:#aaa894;background:#26312ef0;color:#bfc4b5}.atlas-node.current .atlas-marker{border-color:#d0e3a6;background:radial-gradient(#6b814c,#2c4430);color:#ebf4d3}.atlas-node.selected .atlas-marker{box-shadow:0 0 0 3px #ffe0a15c,0 0 18px #e3c98699;border-color:#ffe5a5}.atlas-node-label{position:absolute;top:43px;left:50%;transform:translate(-50%);min-width:82px;width:max-content;max-width:116px;padding:3px 5px;border:1px solid #c4ac6c55;border-radius:4px;background:#15221de8;box-shadow:0 2px 5px #0005;text-align:center}.atlas-node-label strong{display:block;color:#ece1c5;font-size:10px;font-weight:600;line-height:1.2;overflow-wrap:anywhere}.atlas-node-label small{display:block;margin-top:2px;font-size:8px;color:#bfc6a9}.atlas-node.selected .atlas-node-label{border-color:#edcd88;background:#303929f2}.atlas-node.locked .atlas-node-label strong{color:#bdc0b2}.atlas-quest{position:absolute;right:-1px;top:-1px;display:grid;place-items:center;width:17px;height:17px;background:#614c26;color:#f1d59d;border:1px solid #ceb370;border-radius:50%;box-shadow:0 2px 4px #0007}.atlas-quest.ready{background:#49663f;color:#eef8d0;border-color:#c2d59d}.atlas-legend{display:flex;flex-wrap:wrap;gap:5px 12px;justify-content:center;padding:9px 0 3px;color:#b0b39b}.atlas-legend>span{display:inline-flex;align-items:center;gap:4px;font-size:9px}.atlas-empty{padding:40px 20px;text-align:center;color:#c4bea2}.atlas-destination{text-align:left;min-width:0}.atlas-destination-heading{display:flex;gap:10px;align-items:center}.atlas-destination-heading img{flex-shrink:0;width:46px;height:46px;object-fit:cover;border:1px solid #bca16480;border-radius:7px}.atlas-destination-heading>div{min-width:0}.atlas-destination h3{margin:0;font-size:22px;line-height:1.05;color:#eddbb0;overflow-wrap:anywhere}.atlas-destination-heading small{display:block;margin-top:5px;font-size:9px;color:#bfc0a8}.atlas-services{display:flex;flex-wrap:wrap;gap:5px 10px;margin-top:9px}.atlas-services>span{display:inline-flex;align-items:center;gap:4px;color:#babda5;font-size:9px}.atlas-destination-description{margin-top:6px;color:#b8b49b;font-size:10px}.atlas-destination-description>summary{width:fit-content;cursor:pointer}.atlas-destination-description p{margin-top:5px;line-height:1.4;max-height:65px;overflow-y:auto}.atlas-destination-quest{display:block;margin-top:7px;color:#ceb579;font-size:10px}.atlas-destination-quest.ready{color:#b7d29a}.atlas-destination .primary-button{display:flex;justify-content:center;align-items:center;gap:7px;width:100%;min-height:44px;margin:9px 0 0;border-radius:7px;font-size:12px}.atlas-map-sheet .sheet-fixed-footer{padding:10px 12px calc(10px + max(env(safe-area-inset-bottom),var(--telegram-safe-bottom, 0px)));background:linear-gradient(110deg,#273128,#19271f);border-top-color:#a68f595e}.atlas-map-sheet .sheet-scroll-body{padding-bottom:8px}.atlas-map-sheet .region-description{margin:7px 0}.atlas-map-sheet .world-map-back{margin-bottom:6px}.atlas-map-sheet .atlas-view-switch{position:sticky;z-index:2;top:0;background:#1a261ef5}@media(max-width:350px){.atlas-node-label{max-width:100px;min-width:72px}.atlas-node-label strong{font-size:9px}.atlas-marker{width:30px;height:30px}.atlas-destination h3{font-size:20px}}@media(prefers-reduced-motion:reduce){.atlas-node,.atlas-marker{transition:none}}.atlas-toolbar{display:flex;align-items:center;gap:7px;margin:0 0 10px}.atlas-toolbar .atlas-view-switch{flex:1;margin:0}.atlas-back{display:flex;align-items:center;justify-content:center;gap:4px;min-height:40px;padding:0 5px;color:#d8c592;font-size:10px}@media(max-height:720px){.atlas-map-sheet .atlas-destination-heading img{width:36px;height:36px}.atlas-map-sheet .atlas-destination h3{font-size:19px}.atlas-map-sheet .atlas-services{margin-top:5px}.atlas-map-sheet .atlas-destination-quest{margin-top:4px}.atlas-map-sheet .atlas-destination .primary-button{margin-top:7px}}.chat-event{--event-color: #e4bd6a;--event-edge: #b496506e;--event-glow: #af7e2324;position:relative;display:grid;grid-template-columns:46px minmax(0,1fr);gap:9px 11px;margin:8px 0;padding:11px 12px 12px;border:1px solid var(--event-edge);border-radius:9px;background:radial-gradient(ellipse at 0 50%,var(--event-glow),transparent 75%),linear-gradient(110deg,#252b20,#1d261e);box-shadow:inset 3px 0 var(--event-edge),inset 0 1px #f0e5ad0a;overflow:hidden}.chat-event:after{content:"";position:absolute;right:0;top:0;width:70px;height:70px;border-radius:0 0 0 100%;border-left:1px solid var(--event-edge);opacity:.15;pointer-events:none}.event-enhancement{--event-color: #a9d9bb;--event-edge: #69a58b60;--event-glow: #41856825}.event-exaltation{--event-color: #f1a09f;--event-edge: #b767696b;--event-glow: #b53d4925}.chat-event-meta{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--event-color);font-size:8px;text-transform:uppercase;letter-spacing:.1em;line-height:1.2}.chat-event-meta>span{display:inline-flex;align-items:center;gap:5px}.chat-event-meta>time{color:#a4a38b;font-size:9px;letter-spacing:0}.chat-event-medallion{align-self:center;position:relative;width:46px;height:46px}.chat-event-medallion>img{width:46px;height:46px;object-fit:contain;filter:drop-shadow(0 0 7px #db586a50)}.chat-event .chat-event-medallion .art-icon{box-shadow:0 0 14px var(--event-glow)}.chat-event-copy{min-width:0;align-self:center}.chat-screen .chat-event-copy>p{margin:0 0 3px;color:#b4b6a1;font-size:11px;line-height:1.3}.chat-event-copy>p strong{font-weight:600;color:#e4dbbb;overflow-wrap:anywhere}.chat-event-item{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 6px}.chat-event-item b{font-size:14px;font-weight:600;line-height:1.25;color:var(--event-color);overflow-wrap:anywhere}.chat-event-item>span{padding:1px 4px;border:1px solid var(--event-edge);border-radius:4px;color:var(--event-color);font-size:9px;line-height:1.25}.chat-event-copy>small{display:block;margin-top:4px;color:#969f8c;font-size:9px}.chat-event-medallion>img{border-radius:50%}.chat-event-copy .chat-event-player{padding:0;font:inherit;font-weight:600;color:#e4dbbb;overflow-wrap:anywhere}.chat-event-player:hover{text-decoration:underline}.chat-event-meta>time{margin-left:auto}.chat-event-moderation{display:grid;place-items:center;padding:0;color:#b5ad91;min-width:24px;min-height:24px;margin:-6px -6px -6px 0;z-index:1}@media(max-width:350px){.chat-event{padding:10px;gap:8px 9px}.chat-event-item b{font-size:13px}.chat-event-meta{font-size:7px;letter-spacing:.08em}}.mechanic-help-button{display:inline-grid;place-items:center;flex:0 0 34px;width:34px;height:34px;min-height:34px;margin:0;padding:0;border:1px solid #ac955740;border-radius:50%;background:#ba9b4910;color:#c9b579;vertical-align:middle;cursor:pointer}.mechanic-help-button:hover,.mechanic-help-button:focus-visible{color:#ffe2a2;border-color:#c5a960;background:#c4a65520}.help-title{display:flex;align-items:center;justify-content:flex-start;gap:7px}.social-heading .help-title{justify-content:center}.help-inline{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin:0 0 8px;font-size:11px;color:#b3aa8f}.settings-group h2 .mechanic-help-button{margin-left:auto}.help-book{color:#ded5bc;min-width:0}.help-book-heading{display:flex;align-items:center;gap:12px;margin:7px 0 12px}.help-book-heading>span{flex:none;display:grid;place-items:center;width:52px;height:52px;border-radius:15px;border:1px solid #c3a55d73;color:#e0c27c;background:radial-gradient(ellipse at 30% 20%,#ac934b38,#131c16);box-shadow:inset 0 0 0 3px #d8b8650c}.help-book-heading h2{margin:3px 0 0;font:600 22px/1.18 Georgia,serif;color:#efdfb6;overflow-wrap:anywhere}.help-book-heading small{color:#b5a16b;font-size:10px;letter-spacing:.06em}.help-book-intro{margin:12px 0 17px;color:#c7bfa7;font-size:13px;line-height:1.6}.help-book-toggle{display:flex;gap:11px;align-items:center;padding:12px;margin:12px 0;border:1px solid #a991574a;border-radius:12px;background:#b4a15b0b;cursor:pointer}.help-book-toggle input{flex:none;width:20px;height:20px;margin:0;accent-color:#b9a363}.help-book-toggle span{display:grid;gap:5px}.help-book-toggle strong{font-size:13px;color:#e3d3aa}.help-book-toggle small{color:#ada78e;font-size:11px;line-height:1.5}.help-book-progress{display:flex;justify-content:space-between;align-items:center;margin:16px 0 9px;font-size:11px;color:#bcb397}.help-book-progress b{color:#d9c185;font-variant-numeric:tabular-nums}.help-book-search{box-sizing:border-box;width:100%;min-width:0;margin:0 0 12px;padding:11px 12px;font-size:16px}.help-book-topics{display:grid;gap:6px}.help-book-topics>button{display:flex;gap:10px;align-items:center;width:100%;padding:11px 10px;border:1px solid #a9935638;border-radius:10px;background:linear-gradient(100deg,#3438298c,#23261f);color:#d3bf85;text-align:left;cursor:pointer}.help-topic-icon{display:grid;place-items:center;width:35px;height:35px;flex:none;border-radius:10px;background:#ccb6660c}.help-book-topics>button>span:nth-child(2){display:grid;gap:5px;min-width:0;flex:1}.help-book-topics strong{font-size:13px;line-height:1.3;color:#dfd2ac}.help-book-topics small{font-size:10px;line-height:1.4;color:#aaa48e}.help-book-topics>button>svg{flex:none;width:17px}.help-book-storage,.help-book-empty{margin:17px 0 3px;font-size:11px;line-height:1.6;color:#a49f89}.help-book-back{display:inline-flex;gap:6px;align-items:center;min-height:40px;margin:0 0 9px;font-size:12px}.help-book-route{display:flex;gap:8px;align-items:flex-start;margin:12px 0;padding:11px;border-left:2px solid #ab965f;background:#b49a4910;color:#c4b482;font-size:11px;line-height:1.6}.help-book-route svg{flex:none;margin-top:1px}.help-book-sections section{margin:0;padding:13px 0;border-top:1px solid #a6935930}.help-book-sections h3{margin:0 0 6px;font-size:14px;line-height:1.4;color:#e0c98e}.help-book-sections p{margin:0;font-size:13px;line-height:1.65;color:#bdb7a2}.help-book-read{display:flex;justify-content:center;align-items:center;gap:7px;width:100%;margin-top:13px}.help-book-practice{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;min-height:44px;margin:4px 0 18px;font-size:13px}.practice-layer .tutorial-coach-actions{flex-wrap:wrap;justify-content:space-between}.practice-layer .tutorial-coach-actions button{min-height:36px}.practice-layer .tutorial-coach-actions .practice-next{margin-left:auto;padding:5px 12px;border:1px solid #b79b5259;border-radius:7px;background:#b99b541c;color:#f1d58b}.practice-resume{position:fixed;z-index:200;left:50%;bottom:calc(102px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:9px;box-sizing:border-box;width:min(410px,calc(100% - 24px));padding:10px;border:1px solid #a98d50;border-radius:12px;color:#e1c786;background:linear-gradient(120deg,#383422,#20251c);box-shadow:0 5px 25px #0008;transform:translate(-50%)}.practice-resume>span{display:grid;gap:4px;flex:1;min-width:0}.practice-resume small{color:#b0a37a;font-size:10px}.practice-resume strong{font-size:12px;line-height:1.3}.practice-resume>svg{flex:none}.practice-resume button{min-height:36px;padding:5px 7px;border:1px solid #b29a5352;border-radius:8px;background:#b8a45214;color:#e0c684;font-size:11px;cursor:pointer}.practice-resume .practice-stop{display:grid;place-items:center;padding:5px;border:0;background:transparent}@media(max-width:360px){.help-book-heading h2{font-size:20px}.help-book-heading{gap:9px}.help-book-heading>span{width:44px;height:44px}.help-book-topics>button{gap:7px;padding:10px 8px}}body:has(.combat-shell){padding:0;background:#080f18}.game-shell.combat-shell{--battle-safe-top: max( env(safe-area-inset-top, 0px), var(--telegram-safe-top, 0px) );--battle-safe-bottom: max( env(safe-area-inset-bottom, 0px), var(--telegram-safe-bottom, 0px) );--battle-viewport: var(--telegram-viewport-height, 100dvh);--battle-room: calc( var(--battle-viewport) - var(--battle-safe-top) - var(--battle-safe-bottom) );--battle-dock-height: calc(96px + var(--battle-safe-bottom));width:100%;max-width:560px;min-height:0;margin:0 auto;padding:0;border:0;background:#0b1720;box-shadow:0 0 60px #0008}.combat-shell>main.combat-main{margin:0;padding:0;min-height:0}.combat-shell>.api-error{position:fixed;z-index:50;top:calc(var(--battle-safe-top) + 108px);left:50%;transform:translate(-50%);width:calc(100% - 24px);max-width:520px;margin:0;box-shadow:0 4px 18px #0009}.combat-screen.immersive-combat{--battle-token-size: clamp( 34px, min(21vw, 11svh, calc((var(--battle-room, 100dvh) - 360px) / 4)), 96px );position:relative;isolation:isolate;min-height:var(--battle-viewport, 100dvh);padding:var(--battle-safe-top, 0px) 0 var(--battle-dock-height, 96px);color:#edf4fc;background:#0b1820;overflow:hidden}.immersive-combat:not(.combat-result){height:var(--battle-viewport, 100dvh)}.immersive-combat>.battle-scenery{z-index:-1;background:#192c34}.immersive-combat .battle-landscape{opacity:1;object-fit:cover;object-position:center}.immersive-combat .battle-landscape[hidden]{display:none}.immersive-combat .battle-vignette{background:linear-gradient(#03101ba8,transparent 24%,transparent 64%,#03101b33 85%,#03101b95),linear-gradient(90deg,#03101b33,transparent 30%,transparent 70%,#03101b33)}.immersive-combat .battle-mist{opacity:.12}.immersive-combat .battle-field.battle-diorama{position:relative;z-index:1;display:flex;flex-direction:column;width:100%;height:100%;min-height:0;margin:0;padding:0 max(12px,env(safe-area-inset-right,0px)) 0 max(12px,env(safe-area-inset-left,0px));border:0;border-radius:0;background:none;box-shadow:none;overflow:visible;isolation:auto}.immersive-combat .battle-diorama:after{display:none}.combat-chrome{position:absolute;z-index:-1;inset:0;display:block;width:100%;height:100%;pointer-events:none}.combat-hud{position:relative;z-index:3;flex:none;width:100%;padding:5px 0 0;text-align:center;color:#edf7ff}.combat-hud>button{position:absolute;z-index:2;right:0;top:6px;display:grid;place-items:center;width:28px;height:28px;border:1px solid #7b94a45c;border-radius:3px;background:#0e1e2c99;color:#cbdce9}.combat-hud h1{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;width:192px;height:32px;min-height:32px;margin:0 auto 1px;padding:0 8px;background:none;font:600 23px/1 Georgia,serif;color:#e0f2ff;text-shadow:0 0 10px #3699ffc9,0 2px 3px #000}.combat-hud.is-hostile h1{color:#ffddd6;text-shadow:0 0 10px #db5b5673,0 2px 3px #000}.combat-turn-order{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;gap:clamp(7px,2.8vw,14px);width:calc(100% + 24px);height:62px;min-height:62px;margin-left:-12px;padding:7px 12px;background:linear-gradient(90deg,#07121f33,#07121fe8 12%,#122236e8,#07121fe8 88%,#07121f33);box-shadow:inset 0 1px #c8def04a,inset 0 -1px #7598b455,0 3px 12px #0004}.combat-turn-order>button{position:relative;display:grid;place-items:center;flex:none;width:42px;height:42px;margin:0;padding:0;border:1.5px solid #a1b5c4;border-radius:50%;background:#07111c;box-shadow:0 2px 6px #000c}.combat-turn-order .portrait.mini{display:block;width:100%;height:100%;margin:0;border:0;box-shadow:none}.combat-turn-order .current{width:48px;height:48px;border-color:#c6efff;box-shadow:0 0 0 2px #3f98d7,0 0 17px #259df8d9}.combat-turn-order .hostile:not(.current){border-color:#b76a59}.immersive-combat:not(.combat-result) .battle-formations{flex:1;display:flex;flex-direction:column;justify-content:space-between;gap:24px;min-height:0;margin:0;padding:min(11svh,max(16px,calc((var(--battle-room, 100dvh) - 4 * var(--battle-token-size) - 300px) / 2))) 0}.immersive-combat:not(.combat-result):not(.tactical-combat) .battle-formations:not(:has(.fighters>.fighter:nth-child(4))){padding-top:clamp(36px,14svh,140px);padding-bottom:clamp(36px,16svh,160px)}.immersive-combat .battle-side,.immersive-combat .battle-side.enemy{position:relative;width:100%;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}.immersive-combat .battle-side h2{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.immersive-combat .battle-formations .fighters{display:grid;grid-template-columns:repeat(var(--formation-columns, 3),minmax(0,1fr));align-content:center;justify-items:center;gap:14px 8px;width:100%;padding:0}.immersive-combat .battle-side .fighter,.immersive-combat .battle-side.enemy .fighter{position:relative;display:grid;grid-template-columns:var(--battle-token-size);align-items:center;row-gap:5px;width:var(--battle-token-size);max-width:none;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}.immersive-combat .fighter .fighter-portrait-area{position:relative;display:block;grid-column:1;grid-row:1;width:var(--battle-token-size);height:var(--battle-token-size);min-height:var(--battle-token-size);padding:0}.immersive-combat .battle-side .fighter .portrait{display:block;width:var(--battle-token-size);height:var(--battle-token-size);border:2px solid #80b5d8;border-radius:50%;background:#09121a;box-shadow:0 0 0 1px #102434,0 3px 7px #000a,inset 0 0 0 1px #d2efff66}.immersive-combat .battle-side.enemy .fighter .portrait{border-color:#ab6452;box-shadow:0 0 0 1px #32251e,0 3px 7px #000a}.immersive-combat .battle-side .fighter.active .portrait{border-color:#b4e5ff;box-shadow:0 0 0 2px #3188cb,0 0 20px #46b4ff,0 3px 7px #0009}.immersive-combat .fighter.active .fighter-portrait-area:before,.immersive-combat .fighter.active .fighter-portrait-area:after{display:none}.immersive-combat .fighter .fighter-position{display:none}.immersive-combat .fighter-inspect{position:absolute;z-index:4;inset:0;min-width:44px;min-height:44px;margin:auto;border:0;border-radius:50%;background:none}.immersive-combat .fighter>strong,.immersive-combat .fighter>small{display:none}.immersive-combat .fighter .fighter-count{position:absolute;z-index:3;bottom:3px;left:50%;display:flex;align-items:center;justify-content:center;width:82%;height:24px;min-height:0;margin:0;padding:1px 0 2px;transform:translate(-50%);border:0;border-radius:0 0 18px 18px;background:linear-gradient(#02070c00,#02070ce8 24% 78%,#02070c00);color:#fff;font:600 clamp(12px,3.8vw,17px)/1.1 Manrope,sans-serif;text-shadow:0 1px 3px #000;pointer-events:none}.immersive-combat .battle-side .fighter .hp-track{position:relative;grid-column:1;grid-row:2;align-self:center;width:100%;max-width:none;height:8px;min-height:0;margin:0;padding:0;overflow:hidden;border:1px solid #97acba;border-radius:1px;background:#050b12;box-shadow:0 0 0 1px #02070b,1px 1px 5px #000b}.immersive-combat .battle-side .fighter .hp-fill,.immersive-combat .combat-hp-track>.hp-loss-trail{position:absolute;inset:0;height:100%;min-height:0;border-radius:0;background:linear-gradient(#8bd6ff,#3d88bf);transition-property:width}.immersive-combat .battle-side.enemy .fighter .hp-fill{background:linear-gradient(#ef8664,#ae3328)}.immersive-combat .combat-hp-track>.hp-loss-trail{background:#ffdc92}.immersive-combat .fighter-target-ring{border-color:#c4ebff;box-shadow:0 0 17px #77c5ff8a}.immersive-combat .fighter.fallen{opacity:.22;filter:grayscale(1)}.combat-action-dock.immersive-combat-dock,.combat-result-actions.immersive-combat-dock{position:fixed;z-index:25;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);align-items:center;gap:10px;left:50%;bottom:0;transform:translate(-50%);width:min(560px,100%);max-width:560px;margin:0;padding:12px 16px calc(18px + max(env(safe-area-inset-bottom,0px),var(--telegram-safe-bottom, 0px)));border:0;background:linear-gradient(#04101b00,#04101b40 30%,#04101b70);box-shadow:none;color:#eef7ff}.immersive-combat-dock.combat-controls>button,.combat-result-actions.immersive-combat-dock>button{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:62px;min-height:62px;margin:0;padding:6px 10px;border:0;border-radius:0;background:none;color:#f1f8ff;font:500 clamp(20px,5.7vw,27px)/1.1 Georgia,serif;white-space:nowrap;box-shadow:none;text-shadow:0 2px 4px #000}.immersive-combat-dock .combat-chrome{width:100%;height:100%;filter:drop-shadow(0 2px 5px #0009)}.immersive-combat-dock .combat-chrome.is-blue{filter:drop-shadow(0 0 5px #147bd1b3) drop-shadow(0 2px 5px #000a)}.immersive-combat-dock button>svg:not(.combat-chrome){flex:none;width:27px;height:27px;color:#d9f1ff;filter:drop-shadow(0 0 4px #3c9bff)}.immersive-combat-dock.combat-controls>.flee-button{color:#d5dce5;background:none;border:0;font-size:clamp(16px,4.7vw,22px);box-shadow:none}.immersive-combat-dock .flee-button>svg:not(.combat-chrome){width:22px;height:22px;color:#a8b9c9;filter:none}.immersive-combat-dock button:disabled{opacity:.6}.combat-result-actions.immersive-combat-dock{display:block}.combat-result-actions.immersive-combat-dock>button{font-size:20px}.immersive-combat.combat-result .battle-field{height:auto;min-height:0;padding:0 14px 12px}.immersive-combat.combat-result .combat-hud{padding:20px 0 12px}.immersive-combat.combat-result .combat-hud h1{width:230px;height:52px;margin:0 auto;font-size:36px}.immersive-combat .battle-outcome-caption{position:relative;z-index:2;margin:0 0 16px;padding:0;text-align:center;color:#d9e3ed;font-size:12px;text-shadow:0 1px 5px #000}.immersive-combat .battle-result-army{position:relative;z-index:2;margin:0;border-color:#849fb64d;background:#132534d9}.immersive-combat .battle-result-army .battle-formations{padding:14px 6px}.immersive-combat .result-panel{position:relative;z-index:2;display:grid;gap:12px;min-height:0;margin:0;padding:0 14px 20px;border:0;background:none;box-shadow:none}.immersive-combat .combat-rewards,.immersive-combat .combat-casualties{margin:0;padding:14px;border:1px solid #839fb64d;border-radius:8px;background:#12202eed;box-shadow:0 6px 18px #0004}.immersive-combat .combat-rewards h2,.immersive-combat .combat-casualties h2{color:#e7eef5}.immersive-combat .battle-reward-cards>div,.immersive-combat .resurrection-troop,.immersive-combat .combat-item-drop:not(.combat-equipment-drop),.immersive-combat .casualty-totals>span,.immersive-combat .casualty-list>li{background:#213548b3;border-color:#8ba8c947}.immersive-combat .combat-equipment-drop{background:#192c3ceb}.immersive-combat .battle-reward-cards strong{color:#f0f7ff;font-weight:700}.immersive-combat .combat-rewards small,.immersive-combat .combat-casualties small{color:#c2d1df}.immersive-combat .legendary-effect{color:#c6d5e4}.immersive-combat .combat-loot-affixes span{background:#2b4051;color:#dceaf6}.immersive-combat .resurrection-troop b{color:#9cd4f5}.sheet.combat-unit-sheet,.sheet.combat-journal-sheet{background:#182431;color:#dce7f2;border-color:#738da4}.combat-journal-sheet .combat-log{margin:14px 0 0;padding:10px 0 0;border-top:1px solid #647c9347;color:#c2ceda;font-size:12px;line-height:1.6}.combat-journal-sheet .combat-log p{padding:9px 0;margin:0;border-bottom:1px solid #647c9326}.combat-journal-context{font-size:13px;color:#d4e5f4}@media(orientation:portrait)and (min-height:761px){.immersive-combat:not(.combat-result):not(.tactical-combat) .fighters:not(:has(.fighter:nth-child(4))){--battle-token-size: clamp(64px, min(25vw, 13svh), 112px)}}@media(max-height:760px){.game-shell.combat-shell{--battle-dock-height: calc(72px + var(--battle-safe-bottom))}.combat-screen.immersive-combat{--battle-token-size: clamp( 34px, min(20vw, 11svh, calc((var(--battle-room, 100dvh) - 300px) / 4)), 80px )}.combat-hud{padding-top:3px}.combat-hud h1{height:28px;min-height:28px;font-size:20px;width:180px}.combat-turn-order{height:47px;min-height:47px;gap:9px;padding:5px 12px}.combat-turn-order>button{height:32px;width:32px}.combat-turn-order .current{height:36px;width:36px}.immersive-combat:not(.combat-result) .battle-formations,.immersive-combat:not(.combat-result):not(.tactical-combat) .battle-formations:not(:has(.fighters>.fighter:nth-child(4))){padding-top:16px;padding-bottom:24px;gap:14px}.immersive-combat .battle-formations .fighters{row-gap:8px}.immersive-combat .fighter .fighter-count{height:20px;font-size:12px;bottom:2px}.immersive-combat-dock.combat-controls>button{height:48px;min-height:48px;font-size:20px}.immersive-combat-dock.combat-controls>.flee-button{font-size:16px;gap:7px}.combat-action-dock.immersive-combat-dock{padding-top:10px;padding-bottom:calc(14px + max(env(safe-area-inset-bottom,0px),var(--telegram-safe-bottom, 0px)))}}@media(orientation:landscape)and (max-height:550px){.game-shell.combat-shell{max-width:900px;--battle-dock-height: calc(78px + var(--battle-safe-bottom))}.combat-screen.immersive-combat{--battle-token-size: clamp( 28px, min(12vw, 18svh, calc((var(--battle-room, 100dvh) - 196px) / 2)), 78px )}.immersive-combat .battle-formations .fighters{grid-template-columns:repeat(var(--formation-wide-columns, 3),minmax(0,1fr))}.immersive-combat:not(.combat-result) .battle-formations,.immersive-combat:not(.combat-result):not(.tactical-combat) .battle-formations:not(:has(.fighters>.fighter:nth-child(4))){padding-top:10px;padding-bottom:16px;gap:14px}.combat-hud{display:flex;align-items:center;justify-content:center;gap:16px;height:52px;padding-top:3px}.combat-hud h1{flex:none;width:180px;margin:0}.combat-turn-order{width:auto;height:47px;min-height:47px;margin:0;padding:5px 20px}.combat-hud>button{right:0;top:14px}.combat-action-dock.immersive-combat-dock,.combat-result-actions.immersive-combat-dock{width:min(900px,100%);max-width:900px;padding:10px max(18px,env(safe-area-inset-right,0px)) calc(12px + max(env(safe-area-inset-bottom,0px),var(--telegram-safe-bottom, 0px))) max(18px,env(safe-area-inset-left,0px))}}@media(orientation:landscape)and (max-height:550px){.immersive-combat.combat-result .combat-hud{display:block;height:auto;padding:10px 0 12px}}body:has(.hero-profile-shell){padding:0;background:#090b11}.game-shell.hero-profile-shell{--profile-safe-top: max( env(safe-area-inset-top, 0px), var(--telegram-safe-top, 0px) );--profile-safe-bottom: max( env(safe-area-inset-bottom, 0px), var(--telegram-safe-bottom, 0px) );height:var(--telegram-viewport-height, 100dvh);min-height:0;padding-top:var(--profile-safe-top);display:flex;flex-direction:column;background-color:#10121a;background-size:cover;background-position:center;border-color:var(--frontier-line);color:var(--frontier-ivory)}.hero-profile-shell .desktop-footer{display:none}.game-shell.hero-profile-shell>.hero-main{flex:1;min-height:0;padding:0;display:flex;flex-direction:column;overflow:auto;scrollbar-width:thin}.hero-profile-shell .hero-main>div{flex:1;min-height:440px;display:flex;flex-direction:column}.hero-profile-shell .hero-screen{flex:1;display:flex;flex-direction:column;min-height:0;padding:0}.hero-profile-shell .hero-overview{flex:1;min-height:440px;height:100%;display:block}.game-shell.ruby-game-shell .hero-bar.hero-bar-ruby{flex:0 0 auto;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:52px 18px;align-items:center;gap:3px 8px;height:90px;min-height:0;padding:9px 12px 8px;border:0;background:linear-gradient(#070a13d9,#0a0d1570 78%,transparent);box-shadow:none;z-index:1}.hero-bar-ruby .hero-identity{min-width:0;gap:9px}.game-shell.ruby-game-shell .hero-bar-ruby .hero-avatar-button{width:52px;height:52px}.game-shell.ruby-game-shell .hero-bar-ruby .hero-avatar-button .portrait{width:50px;height:50px;border:1px solid var(--frontier-gold);box-shadow:0 2px 9px #000a}.hero-bar-ruby .hero-identity>span{display:block;min-width:0}.game-shell.ruby-game-shell .hero-bar-ruby .hero-identity strong{font-size:21px;line-height:25px;color:var(--frontier-ivory);letter-spacing:0}.game-shell.ruby-game-shell .hero-bar-ruby .hero-identity>span>small{margin:0;font-size:11px;line-height:16px;color:var(--frontier-muted)}.hero-bar-ruby .hero-bar-race,.hero-bar-ruby .dot{display:none}.hero-bar-ruby .hero-mini-xp{display:block;width:min(100%,112px);height:12px;padding:4px 0}.hero-mini-xp-track{display:block;height:4px;overflow:hidden;background:#090c14d9;border:1px solid rgb(var(--frontier-gold-rgb) / .388);border-radius:3px}.hero-mini-xp-track>span{display:block;height:100%;background:linear-gradient(90deg,var(--frontier-selection),var(--frontier-selection));box-shadow:0 0 6px var(--frontier-gold-soft)}.game-shell.ruby-game-shell .hero-bar-ruby .hero-resources{display:flex;align-self:start;align-items:center;justify-content:end;gap:5px;width:auto;min-width:0;margin-top:5px;padding:0}.game-shell.ruby-game-shell .hero-bar-ruby .hero-iridium{display:contents}.game-shell.ruby-game-shell .hero-bar-ruby :is(.gold,.resource-iridium){display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:0;height:32px;padding:0 7px;margin:0;border:1px solid rgb(var(--frontier-gold-rgb) / .314);border-radius:16px;background:#080c14c9;font:600 12px/16px Manrope,sans-serif;color:var(--frontier-ivory);white-space:nowrap}.game-shell.ruby-game-shell .hero-bar-ruby .gold svg{width:17px;height:17px;color:#e6bf70}.game-shell.ruby-game-shell .hero-bar-ruby .hero-iridium img{width:18px;height:21px;object-fit:contain}.hero-bar-ruby .hero-bar-bottom{grid-column:1 / -1;justify-content:space-between;min-height:18px}.game-shell.ruby-game-shell .hero-bar-ruby .active-effects{display:flex;gap:6px;margin:0;max-width:100%;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.game-shell.ruby-game-shell .hero-bar-ruby .active-effects>button{flex-shrink:0;display:inline-flex;align-items:center;gap:2px;min-height:18px;padding:0;color:var(--frontier-muted)}.game-shell.ruby-game-shell .hero-bar-ruby .active-effects>button img{width:17px;height:17px}.game-shell.ruby-game-shell .hero-bar-ruby .active-effects small{font-size:9px;line-height:12px}.hero-bar-ruby .hero-mail-alert{border-color:var(--frontier-gold);background:rgb(var(--frontier-selection-deep-rgb) / .733);color:var(--frontier-ivory)}.game-shell .illustrated-nav{border-color:var(--frontier-line);background:linear-gradient(rgb(var(--frontier-panel-rgb) / .937),#0e1018 26%,#090b12);box-shadow:0 -5px 22px #05060caa,inset 0 1px rgb(var(--frontier-gold-soft-rgb) / .169)}.game-shell .illustrated-nav button{color:var(--frontier-muted)}.game-shell .illustrated-nav button.selected{color:var(--frontier-gold-soft);text-shadow:0 1px 6px rgb(var(--frontier-muted-rgb) / .267)}.game-shell .illustrated-nav .selected .nav-medallion{filter:saturate(.9) brightness(1.1) drop-shadow(0 0 5px rgb(var(--frontier-selection-rgb) / .4))}.game-shell .illustrated-nav i{background:var(--frontier-selection);box-shadow:0 0 8px rgb(var(--frontier-gold-soft-rgb) / .4)}.game-shell.hero-profile-shell .illustrated-nav{position:relative;left:auto;bottom:auto;transform:none;flex:0 0 auto;width:100%;max-width:100%;margin:0}.ruby-hero{position:relative;isolation:isolate;container-type:size;height:100%;min-height:440px;overflow:hidden;border:0;border-radius:0;background:transparent;box-shadow:none}.hero-artwork{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}.hero-hall{display:none}.hero-full-figure{position:absolute;inset:0 auto auto -10%;width:120%;max-width:none;height:100%;object-fit:contain;object-position:center top;filter:drop-shadow(0 10px 14px #0008);animation:ruby-figure-enter .4s ease-out both}.hero-scene-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,#070a1215 55%,#080a13b8 83%,#090b14f5)}.hero-artwork-fallback{position:absolute;inset:8% 0 auto;display:grid;place-items:center}.hero-artwork-fallback .portrait{width:180px;height:180px;border-color:var(--frontier-gold)}.ruby-hero .hero-paperdoll{--gear-size: clamp(44px, calc((100cqh - 255px)/5) , 68px);display:grid;height:100%;grid-template-columns:var(--gear-size) minmax(0,1fr) var(--gear-size);grid-template-rows:minmax(0,1fr) auto auto;gap:0 10px;padding:10px 12px}.ruby-hero .hero-center{display:contents}.ruby-hero .hero-gear-column{grid-row:1;display:flex;justify-content:space-between;gap:4px;padding:clamp(0px,calc((100cqh - 550px)*.4),65px) 0 5px}.ruby-hero .hero-gear-0{grid-column:1}.ruby-hero .hero-gear-1{grid-column:3}.ruby-hero .hero-gear{width:var(--gear-size);height:var(--gear-size);min-height:var(--gear-size);padding:0}.ruby-hero .hero-gear-frame{position:relative;width:var(--gear-size);height:var(--gear-size);border:1px solid var(--rarity, var(--frontier-line));border-radius:4px;background:#0d111ce8;box-shadow:inset 0 0 0 2px #080912,0 3px 8px #0009,0 0 7px color-mix(in srgb,var(--rarity, var(--frontier-gold-soft)),transparent 80%)}.ruby-hero .hero-gear-frame .art-icon{width:calc(var(--gear-size) - 3px)!important;height:calc(var(--gear-size) - 3px)!important;border:0;border-radius:2px}.ruby-hero .hero-gear-frame b{right:2px;bottom:2px;padding:0 3px;border:0;border-radius:2px;background:#070a13e6;color:var(--frontier-ivory);font:600 10px/15px Manrope,sans-serif}.ruby-hero .two-handed-mark{background:#090c17e0;border-color:var(--frontier-gold);color:var(--frontier-ivory)}.ruby-hero .hero-gear.is-empty .hero-gear-frame{border-color:rgb(var(--frontier-line-rgb) / .302);background:#090d15a1;box-shadow:inset 0 0 12px #0005}.ruby-hero .hero-gear.is-empty .art-icon{opacity:.18}.ruby-hero .hero-gear.selected .hero-gear-frame{outline:2px solid var(--frontier-gold);outline-offset:2px}.ruby-hero .rarity-epic{--rarity: #b475ea}.ruby-hero .rarity-rare{--rarity: #68b3e4}.ruby-hero .rarity-legendary{--rarity: #e8b96a}.ruby-hero .rarity-mythic{--rarity: #f06b87}.ruby-hero .ruby-identity{grid-column:1 / -1;grid-row:2;display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;padding:4px 0 7px;text-align:center}.ruby-hero .ruby-identity :is(h1,h2){width:fit-content;min-width:164px;max-width:96%;margin:0;padding:3px 23px 4px;border:1px solid rgb(var(--frontier-gold-rgb) / .529);border-radius:2px;clip-path:polygon(11px 0,calc(100% - 11px) 0,100% 50%,calc(100% - 11px) 100%,11px 100%,0 50%);background:linear-gradient(90deg,#101019b0,rgb(var(--frontier-panel-rgb) / .933),#101019b0);color:var(--frontier-ivory);font-size:28px;font-weight:600;line-height:28px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 2px 5px #000}.ruby-identity .hero-identity-meta{display:flex;align-items:baseline;justify-content:center;gap:9px;height:18px;min-height:18px;margin:0;color:var(--frontier-ivory);font:500 11px/18px Manrope,sans-serif;text-shadow:0 1px 4px #000}.ruby-identity .hero-profile-level,.ruby-identity .battle-count{display:block;height:18px;margin:0;padding:0;color:inherit;font:inherit;white-space:nowrap}.ruby-identity .battle-count strong{display:inline;margin:0;padding:0;color:var(--frontier-ivory);font:inherit;font-weight:inherit}.hero-meta-divider{width:1px;height:10px;flex:0 0 1px;background:rgb(var(--frontier-raised-rgb) / .4)}.hero-identity-context{display:flex;align-items:center;justify-content:center;gap:10px;height:15px;min-height:15px;width:100%;min-width:0;font:400 10px/15px Manrope,sans-serif;color:var(--frontier-muted);text-shadow:0 1px 4px #000}.ruby-identity .hero-race-label{font:inherit;color:inherit;letter-spacing:0;text-transform:none;white-space:nowrap}.ruby-identity .hero-clan-seal{display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:55%;height:15px;margin:0;color:inherit;font:inherit}.ruby-identity .hero-clan-seal>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hero-presence{display:inline-flex;align-items:center;gap:4px;min-width:0;margin:0;color:var(--frontier-muted);white-space:nowrap}.hero-presence .online-dot{flex:0 0 5px;width:5px;height:5px;margin:0}.ruby-hero .hero-attributes{grid-column:1 / -1;grid-row:3;min-width:0;border:0;padding:0}.ruby-hero .hero-section-title{display:flex;align-items:center;justify-content:space-between;height:26px;margin:0 0 3px}.ruby-hero .hero-points{padding:2px 6px;color:var(--frontier-ivory);background:rgb(var(--frontier-selection-deep-rgb) / .788);border:1px solid rgb(var(--frontier-line-rgb) / .6);border-radius:4px}.ruby-hero .hero-sources-button{display:grid;place-items:center;width:28px;height:26px;margin-left:auto;padding:0;border:0;border-radius:4px;color:var(--frontier-gold-soft);background:#11121b70}.ruby-hero .hero-stat-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.ruby-hero .hero-stat-card{display:flex;align-items:center;gap:2px;height:clamp(44px,8cqh,54px);min-width:0;min-height:0;padding:5px;border:1px solid rgb(var(--frontier-line-rgb) / .439);border-radius:4px;background:linear-gradient(135deg,rgb(var(--frontier-panel-rgb) / .859),#0b0f1aef);box-shadow:inset 0 1px rgb(var(--frontier-gold-soft-rgb) / .039)}:is(.hero-profile-shell,.ruby-profile-sheet) .ruby-hero .hero-stat-card .hero-stat-read{display:grid;grid-template-columns:23px minmax(0,1fr);align-items:center;gap:5px;width:auto;max-width:none;height:100%;flex:1 1 0;min-width:0;padding:0;margin:0;text-align:left}:is(.hero-profile-shell,.ruby-profile-sheet) .ruby-hero .hero-stat-card .hero-stat-read .stat-art{width:23px;height:27px;margin:0}.ruby-hero .hero-stat-read>span{display:flex;flex-direction:column;justify-content:center;gap:1px;min-width:0}:is(.hero-profile-shell,.ruby-profile-sheet) .ruby-hero .hero-stat-card .hero-stat-read small{position:static;display:block;width:max-content;max-width:100%;margin:0;padding:0;color:var(--frontier-muted);font:400 10px/13px Manrope,sans-serif;white-space:nowrap}:is(.hero-profile-shell,.ruby-profile-sheet) .ruby-hero .hero-stat-card .hero-stat-read strong{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;color:var(--frontier-ivory);font:600 18px/22px Manrope,sans-serif;font-variant-numeric:tabular-nums}.hero-profile-shell .ruby-hero .hero-stat-card .hero-stat-add{position:relative;inset:auto;display:grid;place-items:center;flex:0 0 24px;align-self:end;width:24px;height:26px;min-height:0;margin:0 -1px -2px 0;padding:0;border:0;border-radius:4px;color:var(--frontier-ivory);background:transparent}.hero-profile-shell .ruby-hero .hero-stat-card .hero-stat-add:before{position:absolute;inset:auto;width:21px;height:21px;border:1px solid var(--frontier-gold);border-radius:4px;background:linear-gradient(var(--frontier-selection),var(--frontier-selection-deep));transform:none}.hero-profile-shell .ruby-hero .hero-stat-card .hero-stat-add svg{width:13px;height:13px;margin:0;transform:none}.ruby-hero .hero-stat-cap{position:static;align-self:end;flex:0 0 auto;margin:0 0 4px -3px;color:var(--frontier-muted);font:400 9px/12px Manrope,sans-serif}.ruby-hero .hero-stat-card.expanded{border-color:var(--frontier-gold)}.ruby-hero :is(button,a):focus-visible{outline:2px solid var(--frontier-gold);outline-offset:2px}.sheet-backdrop.page-backdrop{inset:0;display:block;padding:0;background:#090c14}.sheet.page-sheet.ruby-profile-sheet{--profile-safe-top: max( env(safe-area-inset-top, 0px), var(--telegram-safe-top, 0px) );--profile-safe-bottom: max( env(safe-area-inset-bottom, 0px), var(--telegram-safe-bottom, 0px) );position:fixed;inset:0;display:flex;flex-direction:column;width:100%;max-width:none;height:var(--telegram-viewport-height, 100dvh);max-height:none;margin:0;padding:var(--profile-safe-top) 0 var(--profile-safe-bottom);overflow:hidden;border:0;border-radius:0;background-color:#0d111b;background-position:center;background-size:cover;color:var(--frontier-ivory)}.ruby-profile-sheet>.sheet-handle{display:none}.sheet.page-sheet.ruby-profile-sheet>.section-heading{display:flex;align-items:center;justify-content:space-between;flex:0 0 50px;width:100%;max-width:430px;height:50px;margin:0 auto;padding:3px 12px;border:0;background:linear-gradient(#090d18e0,#090d1866)}.ruby-profile-sheet>.section-heading h2{margin:0;color:var(--frontier-ivory);font-size:21px;line-height:26px}.ruby-profile-sheet>.section-heading .icon-button{display:grid;place-items:center;width:40px;height:40px;min-height:40px;padding:0;border:1px solid rgb(var(--frontier-gold-rgb) / .439);border-radius:6px;color:var(--frontier-ivory);background:#0b0f1b90}.sheet.page-sheet.ruby-profile-sheet>.sheet-scroll-body{container-type:size;flex:1;min-height:0;max-height:none;padding:0;overflow:auto;scrollbar-width:thin}.ruby-profile-sheet .public-profile-content{width:100%;max-width:430px;margin:0 auto;padding:0}.ruby-profile-sheet .ruby-hero{height:100cqh;min-height:440px}.ruby-profile-sheet .public-profile-joined{display:block;margin:12px 12px 0;color:var(--frontier-muted);font:400 10px/16px Manrope,sans-serif}.ruby-profile-sheet .public-profile-content>.army-hint{display:flex;align-items:center;gap:5px;margin:8px 12px;text-align:left;color:var(--frontier-muted);font-size:11px}.ruby-profile-sheet .clan-name-link{color:var(--frontier-gold-soft)}.ruby-profile-sheet .public-army{margin:12px;padding:12px 8px;border:1px solid rgb(var(--frontier-line-rgb) / .533);border-radius:6px;background:#10131de8}.ruby-profile-sheet .public-army :is(h3,strong){color:var(--frontier-ivory)}.ruby-profile-sheet .public-army :is(.slot-unit-name,.section-heading>span){color:var(--frontier-muted)}.ruby-profile-sheet .public-army .portrait{border-color:var(--frontier-line)}.ruby-profile-sheet .public-army .slot-index{background:var(--frontier-panel);border-color:var(--frontier-line);color:var(--frontier-ivory)}.sheet.page-sheet.ruby-profile-sheet>.sheet-fixed-footer{flex:0 0 auto;width:100%;padding:10px 12px;margin:0;border-top:1px solid rgb(var(--frontier-line-rgb) / .333);background:#0b0e18f0;box-shadow:0 -4px 18px #05070d80}.profile-footer-content{width:100%;max-width:406px;margin:0 auto}.profile-actions{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);align-items:stretch;gap:8px}.ruby-profile-sheet .profile-actions>.profile-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:100%;max-width:none;height:46px;min-height:46px;margin:0;padding:0 10px;border:1px solid rgb(var(--frontier-gold-rgb) / .502);border-radius:6px;color:var(--frontier-ivory);background:linear-gradient(var(--frontier-panel),var(--frontier-panel));font:500 12px/16px Manrope,sans-serif;white-space:nowrap;box-shadow:inset 0 1px rgb(var(--frontier-gold-soft-rgb) / .047)}.ruby-profile-sheet .profile-actions>.profile-write{border-color:var(--frontier-gold);color:var(--frontier-ivory);background:linear-gradient(var(--frontier-selection),var(--frontier-selection-deep))}.ruby-profile-sheet .profile-actions>.profile-action:disabled{opacity:.5}.ruby-profile-sheet .profile-actions .profile-action svg{flex:0 0 17px;width:17px;height:17px}.profile-footer-content>:is(.warning,.social-notice){margin:0 0 8px;font-size:11px}.profile-footer-content .social-write-hint{margin:8px 0 0}.ruby-profile-sheet .profile-loading{display:grid;place-items:center;min-height:100%;padding:24px;margin:0;color:var(--frontier-gold-soft)}.ruby-detail-sheet{border-color:var(--frontier-line);background:linear-gradient(145deg,var(--frontier-panel),#101118);color:var(--frontier-ivory)}.ruby-detail-sheet h2,.ruby-detail-sheet .hero-stat-total{color:var(--frontier-ivory)}.ruby-detail-sheet .hero-stat-explanation{background:var(--frontier-deep);border-color:var(--frontier-line)}.ruby-detail-sheet .hero-stat-explanation :is(p,b,small){color:var(--frontier-muted)}.ruby-detail-sheet .profile-gear-detail{grid-template-columns:40px minmax(0,1fr);background:var(--frontier-deep);border-color:var(--frontier-line)}@keyframes ruby-figure-enter{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@media(max-width:350px){.game-shell.ruby-game-shell .hero-bar.hero-bar-ruby{padding-inline:8px;column-gap:5px}.game-shell.ruby-game-shell .hero-bar-ruby .hero-identity strong{font-size:19px}.game-shell.ruby-game-shell .hero-bar-ruby :is(.gold,.resource-iridium){gap:3px;padding-inline:5px;font-size:11px}.ruby-hero .hero-paperdoll{padding-inline:8px;column-gap:6px}.ruby-hero .hero-stat-card{padding:4px;gap:1px}:is(.hero-profile-shell,.ruby-profile-sheet) .ruby-hero .hero-stat-card .hero-stat-read{grid-template-columns:18px minmax(0,1fr);gap:3px}:is(.hero-profile-shell,.ruby-profile-sheet) .ruby-hero .hero-stat-card .hero-stat-read .stat-art{width:18px;height:24px}:is(.hero-profile-shell,.ruby-profile-sheet) .ruby-hero .hero-stat-card .hero-stat-read small{font-size:9px}:is(.hero-profile-shell,.ruby-profile-sheet) .ruby-hero .hero-stat-card .hero-stat-read strong{font-size:16px}.hero-profile-shell .ruby-hero .hero-stat-card .hero-stat-add{flex-basis:22px;width:22px}.hero-identity-context{gap:6px;font-size:9px}}@media(max-height:700px){.game-shell.ruby-game-shell .hero-bar.hero-bar-ruby{grid-template-rows:44px 16px;height:76px;padding-block:5px;row-gap:3px}.game-shell.ruby-game-shell .hero-bar-ruby .hero-avatar-button,.game-shell.ruby-game-shell .hero-bar-ruby .hero-avatar-button .portrait{width:42px;height:42px}.game-shell.ruby-game-shell .hero-bar-ruby .hero-identity strong{font-size:19px;line-height:22px}.game-shell.ruby-game-shell .hero-bar-ruby .hero-identity>span>small{font-size:10px;line-height:13px}.hero-bar-ruby .hero-mini-xp{height:9px;padding-block:3px}.ruby-hero .hero-paperdoll{padding-block:6px 8px}.ruby-hero .hero-gear-column{padding-top:0}.ruby-hero .ruby-identity{padding-block:2px 5px;gap:2px}.ruby-hero .ruby-identity :is(h1,h2){font-size:24px;line-height:24px;padding-block:2px}.ruby-identity .hero-identity-meta,.ruby-identity .hero-profile-level,.ruby-identity .battle-count{height:16px;min-height:16px;line-height:16px;font-size:10px}.hero-identity-context{height:13px;min-height:13px;line-height:13px}.ruby-hero .hero-section-title{height:24px}}@media(orientation:landscape)and (max-height:500px){.hero-profile-shell .hero-main>div,.hero-profile-shell .hero-overview,.ruby-hero,.ruby-profile-sheet .ruby-hero{min-height:500px}}@media(prefers-reduced-motion:reduce){.hero-full-figure{animation:none}}:is(.hero-profile-shell,.ruby-profile-sheet) .ruby-hero .hero-stat-card .hero-stat-read strong[data-compact-value]{font-size:14px;letter-spacing:-.2px}:root{--ruby-accent: var(--frontier-gold);--ruby-line: var(--frontier-line);--ruby-surface: var(--frontier-panel);--ruby-text: var(--frontier-ivory);--ruby-muted: var(--frontier-muted)}body:has(.ruby-game-shell){padding:0;background:#09090e}body:has(.ruby-game-shell) :is(.desktop-brand,.desktop-footer){display:none}.game-shell.ruby-game-shell{--panel: var(--frontier-panel);--line: var(--frontier-line);--muted: var(--frontier-muted);background-color:var(--frontier-deep);color:var(--ruby-text);border-color:var(--frontier-line)}.game-shell.ruby-game-shell:not(.hero-profile-shell):not(.chat-shell){min-height:var(--telegram-viewport-height, 100dvh);padding-top:max(env(safe-area-inset-top,0px),var(--telegram-safe-top, 0px))}.game-shell.ruby-game-shell .hero-bar.hero-bar-ruby{position:relative;top:auto;z-index:8;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom:0;box-shadow:none}.game-shell.ruby-game-shell .hero-bar.hero-bar-ruby:after{display:none}.hero-bar-ruby :is(.hero-name-button,.hero-bar-level){text-shadow:0 1px 5px #000,0 1px 2px #000}.ruby-game-shell :is(.secondary-heading h1,.social-heading h1,.section-heading h2){color:var(--frontier-ivory)}.ruby-game-shell .secondary-heading h1,.ruby-game-shell .social-heading h1{color:var(--frontier-ivory)}.ruby-game-shell :is(.settings-service,.forum-category){background:linear-gradient(115deg,var(--frontier-panel),var(--frontier-deep));border-color:var(--frontier-line);color:var(--frontier-ivory)}.ruby-game-shell :is(.settings-service-icon,.social-heading .icon-button){background:var(--frontier-panel);border-color:var(--frontier-line);color:var(--frontier-muted)}.ruby-game-shell :is(.settings-group h2,.settings-chevron),.ruby-game-shell .settings-group .settings-service strong,.ruby-game-shell .forum-category strong{color:var(--frontier-ivory)}.ruby-game-shell .settings-service small{color:var(--frontier-muted)}.ruby-game-shell .chat-channel-tabs,.ruby-game-shell .chat-composer textarea{background:var(--frontier-deep);border-color:var(--frontier-line);color:var(--frontier-ivory)}.ruby-game-shell .chat-channel-tabs button[aria-selected=true]{background:linear-gradient(var(--frontier-selection),var(--frontier-panel));border-color:var(--frontier-line);color:var(--frontier-ivory)}.ruby-game-shell .chat-composer textarea:focus{border-color:var(--frontier-gold);box-shadow:0 0 0 2px rgb(var(--frontier-gold-soft-rgb) / .18)}.ruby-game-shell .primary-button,body:has(.ruby-game-shell)>.sheet-backdrop .primary-button{border-color:var(--frontier-line);background:linear-gradient(var(--frontier-selection),var(--frontier-panel));color:var(--frontier-ivory);box-shadow:inset 0 1px rgb(var(--frontier-gold-soft-rgb) / .133),0 3px 8px #05071044}body:has(.ruby-game-shell)>.sheet-backdrop>.sheet:not(.page-sheet){background:linear-gradient(135deg,var(--frontier-panel),var(--frontier-deep));border-color:var(--frontier-line);color:var(--frontier-ivory);--muted: var(--frontier-muted);--line: rgb(var(--frontier-line-rgb) / .439)}body:has(.ruby-game-shell)>.sheet-backdrop>.sheet:not(.page-sheet)>.section-heading h2{color:var(--frontier-ivory)}body:has(.ruby-game-shell)>.sheet-backdrop .sheet-fixed-footer{background-color:var(--frontier-deep);border-color:rgb(var(--frontier-line-rgb) / .439)}body:has(.ruby-game-shell)>.sheet-backdrop .icon-button{border-color:rgb(var(--frontier-line-rgb) / .369);color:var(--frontier-gold-soft)}.game-shell.ruby-game-shell.world-shell:not(.hero-profile-shell):not(.chat-shell){display:flex;flex-direction:column;height:var(--telegram-viewport-height, 100dvh);min-height:0;background-size:cover;background-position:center;overflow:hidden}.world-shell:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#08081038,#08081008 28%,#08091022 50%,rgb(var(--frontier-canvas-rgb) / .851) 87%,var(--frontier-canvas))}.world-shell>.world-main{position:relative;flex:1;min-height:0;padding:0;overflow:hidden}.world-main>div{height:100%;min-height:0}.game-shell.world-shell .illustrated-nav{position:relative;left:auto;bottom:auto;transform:none;flex:0 0 auto;width:100%;max-width:100%;margin:0}.ruby-location-screen{position:relative;display:flex;flex-direction:column;height:100%;min-height:0;padding:5px 10px 0}.world-content{display:flex;flex:1;flex-direction:column;min-height:0;overflow:hidden auto;overscroll-behavior:contain;scrollbar-width:thin}.world-footer{position:relative;z-index:5;flex:0 0 auto;padding-top:4px;background:linear-gradient(rgb(var(--frontier-deep-rgb) / .212),rgb(var(--frontier-deep-rgb) / .702))}.world-status-bar{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-end;gap:7px;min-height:36px;margin:2px 0 0}.ruby-location-screen .landscape{position:relative;display:flex;align-items:center;flex:0 0 auto;gap:9px;min-height:43px;height:auto;margin:0;padding:0 2px;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible}.ruby-location-screen .landscape:after{display:none}.ruby-location-screen .landscape .landscape-caption{position:static;padding:0;min-width:0}.ruby-location-screen .landscape-caption>span{display:none}.ruby-location-screen .landscape h1{margin:0;color:#fff2f1;font-size:clamp(27px,8.7vw,37px);font-weight:700;line-height:1.05;letter-spacing:-.3px;text-shadow:0 2px 7px #000,0 1px 2px #000}.ruby-location-screen .location-badge{position:static;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:auto;height:24px;min-width:35px;min-height:0;padding:0 5px;border:1px solid rgb(var(--frontier-gold-rgb) / .6);border-radius:3px;color:var(--frontier-ivory);background:rgb(var(--frontier-deep-rgb) / .722);font:500 12px/20px Manrope,sans-serif}.ruby-location-screen .territory-event{display:flex;align-items:center;flex:0 1 auto;gap:7px;min-height:29px;width:auto;max-width:calc(100% - 43px);min-width:0;margin:0;padding:5px 11px;border:1px solid rgb(var(--frontier-line-rgb) / .49);border-radius:0;clip-path:polygon(3% 0,97% 0,100% 50%,97% 100%,3% 100%,0 50%);color:var(--frontier-ivory);background:linear-gradient(90deg,rgb(var(--frontier-selection-deep-rgb) / .812),rgb(var(--frontier-deep-rgb) / .859) 65%);font-size:11px;text-shadow:0 1px #000;text-align:left}.ruby-location-screen .territory-event>span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ruby-location-screen .territory-event>svg{flex-shrink:0}.ruby-location-screen .story-objective.story-objective-compact{position:relative;display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;min-height:0;margin:0;padding:0;border:1px solid var(--frontier-line);border-radius:5px;background:rgb(var(--frontier-panel-rgb) / .902)}.story-objective-compact .story-seal{width:100%;height:100%;border:0;border-radius:inherit;background:none;color:var(--frontier-ivory)}.ruby-location-screen .story-objective-compact.is-ready{border-color:var(--frontier-gold);box-shadow:0 0 8px rgb(var(--frontier-gold-soft-rgb) / .333)}.story-objective-compact.is-ready:after{content:"";position:absolute;top:3px;right:3px;width:5px;height:5px;border-radius:50%;background:var(--frontier-gold-soft)}.ruby-location-screen .territory-event strong{font-weight:600;color:var(--frontier-ivory)}.ruby-location-screen .world-scene{position:relative;flex:1 0 140px;min-height:140px;isolation:isolate}.world-services{position:absolute;bottom:7px;left:0;right:0;z-index:3;display:flex;align-items:flex-end;gap:5px;min-height:43px}.world-quest{flex:1;min-width:0}.ruby-location-screen .quest-entry{display:flex;gap:7px;align-items:center;width:100%;min-height:43px;height:43px;margin:0;padding:4px 7px;border:1px solid var(--frontier-line);border-radius:2px;background:linear-gradient(90deg,rgb(var(--frontier-deep-rgb) / .922),rgb(var(--frontier-deep-rgb) / .839));box-shadow:0 2px 7px #0008,inset 0 1px rgb(var(--frontier-gold-soft-rgb) / .133);text-align:left}.ruby-location-screen .quest-entry .portrait{flex:0 0 32px;width:32px;height:32px;border-radius:2px;border-color:var(--frontier-gold)}.ruby-location-screen .quest-entry>span:not(.portrait){display:block;flex:1;min-width:0}.ruby-location-screen .quest-entry strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 15px/17px Cormorant Garamond,Georgia,serif;color:#fff0ee}.ruby-location-screen .quest-entry small{width:100%;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--frontier-muted);font-size:9px;line-height:13px;margin-top:1px;text-align:left}.ruby-location-screen .quest-entry>b{margin-left:auto;color:var(--frontier-ivory);font-size:17px}.ruby-location-screen .quest-entry.quest-ready{border-color:#b8c4a6}.ruby-location-screen .quest-entry.quest-ready small{color:#c9e2bd}.ruby-location-screen .world-service-icon,.world-nearby .nearby-entry{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 34px;width:34px;height:39px;min-height:0;margin:0;padding:0;border:1px solid var(--frontier-line);border-radius:3px;background:rgb(var(--frontier-deep-rgb) / .902);color:var(--frontier-muted)}.ruby-location-screen .world-service-icon .portrait{width:25px;height:25px;border:0;border-radius:2px}.ruby-location-screen .recruiter-entry.world-service-icon{flex-direction:column;gap:1px}.world-service-caption{color:var(--frontier-ivory);font:500 7px/8px Manrope,sans-serif}.world-journal>i{position:absolute;top:3px;right:3px;width:5px;height:5px;background:var(--frontier-gold-soft);border-radius:50%;box-shadow:0 0 4px var(--frontier-gold-soft)}.world-nearby{position:relative;flex:0 0 34px;width:34px;height:39px}.world-nearby .nearby-panel{position:static;margin:0;padding:0;border:0;border-radius:3px;background:none}.ruby-location-screen .world-nearby .nearby-entry{width:34px;height:39px;min-height:0;padding:0}.ruby-location-screen .world-nearby .nearby-entry:after{display:none}.world-nearby .nearby-entry :is(strong,small,b){display:none}.world-nearby .nearby-emblem{width:28px;height:28px;border:0;background:none}.world-nearby .nearby-panel[open]{position:absolute;bottom:0;right:0;z-index:20;width:min(330px,calc(100vw - 30px));padding:9px;background:rgb(var(--frontier-deep-rgb) / .961);border:1px solid var(--frontier-line);box-shadow:0 6px 25px #0009}.world-nearby .nearby-panel[open] .nearby-entry{width:100%;padding:0 6px}.world-nearby .nearby-panel[open] .nearby-entry :is(strong,small){display:block}.world-nearby .nearby-panel[open] .nearby-list{max-height:200px;overflow-y:auto}.world-discoveries{position:absolute;top:12px;right:0;z-index:2;display:flex;flex-direction:column;gap:7px;width:113px;max-height:calc(100% - 65px);overflow-y:auto;scrollbar-width:thin}.world-discoveries .location-encounter-slot{flex:0 0 auto}.ruby-location-screen .world-discoveries .encounter{position:relative;display:flex;align-items:center;gap:6px;width:100%;min-height:45px;height:45px;max-height:45px;margin:0;padding:5px 7px;border:1px solid #bc9b727d;border-radius:3px;background:linear-gradient(110deg,rgb(var(--frontier-panel-rgb) / .91),rgb(var(--frontier-deep-rgb) / .878));box-shadow:0 2px 8px #0006;text-align:left}.world-discoveries .portrait{flex:0 0 29px;width:29px;height:29px;border:0;background:none}.world-discoveries .encounter-info{flex:1;min-width:0}.world-discoveries .encounter-info strong{display:block;color:var(--frontier-ivory);font-size:11px;line-height:14px}.world-discoveries .encounter-info small{display:block;margin:0;color:var(--frontier-muted);font-size:8px;line-height:11px}.world-discoveries .treasure strong{font-size:0;line-height:0}.world-discoveries .treasure strong .unit-count{display:block;margin:0;color:#f0d49c;font-size:12px;line-height:16px}.world-discoveries .treasure small,.world-discoveries .chest>.tiny{display:none}.world-discoveries .collect-button{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:0;color:transparent}.ruby-location-screen .encounters{flex:0 0 auto;margin:0;padding:0;background:none;border:0}.ruby-location-screen .encounters>.section-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:24px;margin:0 0 3px}.ruby-location-screen .encounters h2{margin:0;color:#fff0f2;font-size:22px;line-height:25px;font-weight:700;text-shadow:0 2px 4px #000}.ruby-location-screen .encounters .section-heading .tiny{color:var(--frontier-muted);font-size:8px;line-height:11px;text-shadow:0 1px 3px #000}.ruby-location-screen .encounter-list{display:flex;flex-direction:row;flex-wrap:nowrap;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:var(--frontier-selection) #0c0c13;padding:2px 1px 7px;margin:0 -1px}.ruby-location-screen .encounter-list .location-encounter-slot{display:flex;flex:0 0 calc(50% - 4px);min-width:0;scroll-snap-align:start}.ruby-location-screen .encounter.enemy{position:relative;display:flex;align-items:stretch;flex:1;width:100%;height:auto;min-height:0;margin:0;padding:0;overflow:hidden;border:1px solid var(--frontier-gold);border-radius:2px;background:#14141e;box-shadow:0 2px 5px #0007}.ruby-location-screen .enemy-inspect{position:relative;display:flex;flex-direction:column;width:100%;height:auto;min-height:174px;flex:1;margin:0;padding:0;overflow:hidden;text-align:left;background:none;border:0}.ruby-location-screen .enemy-inspect>.portrait{position:absolute;inset:0;display:block;width:100%;height:100%;margin:0;border:0;border-radius:0;overflow:hidden;background:radial-gradient(ellipse at 50% 60%,var(--frontier-panel),var(--frontier-deep))}.ruby-location-screen .enemy-inspect>.portrait img{position:static;width:100%;height:100%;max-width:100%;object-fit:cover;object-position:center top;transform:none}.ruby-location-screen .enemy-inspect>.encounter-info{position:relative;display:block;min-height:55px;margin:88px 0 0;width:100%;flex:1;padding:15px 8px 6px;background:linear-gradient(transparent,#090b13e8 23%,#090912);text-shadow:0 1px 3px #000}.ruby-location-screen .encounter.enemy .encounter-info strong{display:block;color:var(--frontier-ivory);font:700 17px/19px Cormorant Garamond,Georgia,serif}.ruby-location-screen .encounter.enemy .encounter-info .unit-count{color:var(--frontier-ivory);font-size:11px;line-height:13px;margin:0}.ruby-location-screen .encounter.enemy small{display:block;margin:1px 0 0;color:var(--frontier-muted);font-size:8px;line-height:10px}.ruby-location-screen .difficulty-dot{display:inline-block;margin-right:4px;width:4px;height:4px;vertical-align:middle}.ruby-location-screen .encounter-detail{position:absolute;top:4px;right:4px;z-index:2;display:grid;place-items:center;width:24px;height:24px;min-height:0;margin:0;padding:0;border:1px solid rgb(var(--frontier-gold-rgb) / .667);border-radius:50%;background:#11121cbd;color:var(--frontier-ivory)}.ruby-location-screen .home-actions{position:relative;display:grid;flex:0 0 auto;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;margin:0;padding:8px 0 5px;border:0;background:none}.ruby-location-screen .home-action{min-width:0;gap:3px;min-height:0;padding:0;color:var(--frontier-ivory);font-size:8px;line-height:12px;text-shadow:0 1px 3px #000}.ruby-location-screen .home-action>span:last-child{height:12px;min-height:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;line-height:12px}.ruby-location-screen .home-action-medallion{width:clamp(31px,9.5vw,40px);height:clamp(31px,9.5vw,40px);padding:1px;border:1px solid var(--frontier-gold);border-radius:50%;background:rgb(var(--frontier-deep-rgb) / .722);box-shadow:0 2px 5px #0008}.ruby-location-screen .home-action-medallion img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.ruby-location-screen .story-objective{flex:0 0 auto;margin:4px 0 0;padding:5px 7px;min-height:0;background:rgb(var(--frontier-deep-rgb) / .902);border-color:var(--frontier-line)}.ruby-location-screen .warning{margin:4px 0;font-size:10px;line-height:14px;background:#19121be8}.ruby-location-screen .empty-message{margin:7px 0;padding:8px;color:var(--frontier-muted);background:#12121baa;font-size:11px}@media(max-width:350px){.ruby-location-screen{padding-left:7px;padding-right:7px}.world-services{gap:4px}.ruby-location-screen .world-service-icon,.world-nearby,.world-nearby .nearby-entry{width:30px;flex-basis:30px}.ruby-location-screen .quest-entry{gap:4px;padding:4px}.ruby-location-screen .quest-entry .portrait{width:25px;flex-basis:25px;height:29px}.ruby-location-screen .quest-entry strong{font-size:13px}.ruby-location-screen .home-action{font-size:7px}}@media(max-height:650px){.game-shell.world-shell{background-position:50% 12%}}.game-shell.ruby-game-shell>main{position:relative;z-index:1}.game-shell.ruby-game-shell.chat-shell{background-size:cover;background-position:center}.game-shell.ruby-game-shell:not(.hero-profile-shell):not(.world-shell):not(.chat-shell){height:var(--telegram-viewport-height, 100dvh);min-height:0;display:flex;flex-direction:column;overflow:hidden;background-size:cover;background-position:center}.ruby-game-shell:not(.hero-profile-shell):not(.world-shell):not(.chat-shell)>main{position:relative;z-index:1;flex:1;min-height:0;padding-bottom:12px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--frontier-raised) var(--frontier-deep)}.game-shell.ruby-game-shell:not(.hero-profile-shell):not(.world-shell):not(.chat-shell) .illustrated-nav{position:relative;left:auto;bottom:auto;transform:none;flex:0 0 auto;width:100%;max-width:100%;margin:0}.ruby-game-shell:not(.hero-profile-shell):not(.world-shell):before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(rgb(var(--frontier-canvas-rgb) / .333),rgb(var(--frontier-deep-rgb) / .467) 18%,rgb(var(--frontier-deep-rgb) / .788) 67%,rgb(var(--frontier-deep-rgb) / .929))}.ruby-game-shell .hero-bar{flex-shrink:0}.ruby-game-shell :is(.secondary-heading,.social-heading){margin-bottom:12px;border-color:rgb(var(--frontier-line-rgb) / .302)}.ruby-game-shell :is(.secondary-heading,.social-heading) h1{color:var(--frontier-ivory);text-shadow:0 2px 6px #000b}.ruby-game-shell .page-title h1{color:var(--frontier-ivory);text-shadow:0 2px 6px #000b}.ruby-game-shell .page-title small{color:var(--frontier-muted)}.ruby-game-shell .secondary-heading h1{font-size:30px;line-height:1.08}.ruby-game-shell :is(.social-heading,.secondary-heading) .icon-button{border:1px solid rgb(var(--frontier-line-rgb) / .341);background:rgb(var(--frontier-deep-rgb) / .851);color:var(--frontier-ivory)}.ruby-game-shell :is(.world-tabs,.mail-tabs,.market-tabs,.clan-section-tabs){padding:4px;gap:4px;border:1px solid rgb(var(--frontier-line-rgb) / .333);border-radius:6px;background:rgb(var(--frontier-deep-rgb) / .875)}.ruby-game-shell :is(.world-tabs,.mail-tabs,.market-tabs,.clan-section-tabs) button{color:var(--frontier-muted);background:transparent;border-color:transparent}.ruby-game-shell :is(.world-tabs,.mail-tabs,.market-tabs,.clan-section-tabs) button:is(.selected,[aria-selected=true]){color:var(--frontier-ivory);border-color:var(--frontier-gold);background:linear-gradient(var(--frontier-selection),var(--frontier-selection-deep));box-shadow:inset 0 1px rgb(var(--frontier-gold-soft-rgb) / .18)}.game-shell.ruby-game-shell :is(.market-sort select,.barracks-results select){font-size:16px;border-color:rgb(var(--frontier-line-rgb) / .369);background:rgb(var(--frontier-deep-rgb) / .91);color:var(--frontier-ivory);border-radius:5px}.ruby-game-shell :is(.barracks-search,.filter-toggle,.market-help summary){border-color:rgb(var(--frontier-line-rgb) / .4);background:rgb(var(--frontier-panel-rgb) / .91);color:var(--frontier-muted);border-radius:5px}.ruby-game-shell .filter-toggle[aria-expanded=true]{background:rgb(var(--frontier-selection-deep-rgb) / .851);border-color:var(--frontier-gold)}.ruby-game-shell .barracks-search input{background:transparent}.ruby-game-shell .capacity-meter{accent-color:var(--frontier-gold);background:var(--frontier-panel)}.ruby-game-shell .capacity-meter::-webkit-progress-bar{background:var(--frontier-panel)}.ruby-game-shell .capacity-meter::-webkit-progress-value{background:linear-gradient(90deg,var(--frontier-progress),var(--frontier-gold-soft))}.ruby-game-shell .capacity-meter::-moz-progress-bar{background:linear-gradient(90deg,var(--frontier-progress),var(--frontier-gold-soft))}.ruby-game-shell :is(.market-row,.market-sale-preview,.market-receipt,.market-filters,.market-empty,.market-sell,.market-currency-balance){border-color:rgb(var(--frontier-line-rgb) / .302);background:linear-gradient(120deg,rgb(var(--frontier-panel-rgb) / .91),rgb(var(--frontier-deep-rgb) / .918));color:var(--frontier-ivory);box-shadow:inset 0 1px rgb(var(--frontier-gold-soft-rgb) / .055)}.ruby-game-shell :is(.market-card,.market-unit-group,.market-group-back){border-color:rgb(var(--frontier-line-rgb) / .4);background:linear-gradient(105deg,rgb(var(--frontier-panel-rgb) / .851),rgb(var(--frontier-deep-rgb) / .878));border-radius:5px;color:var(--frontier-ivory)}.ruby-game-shell :is(.market-card,.market-unit-group) strong{color:var(--frontier-ivory)}.ruby-game-shell :is(.market-group-arrow,.market-card .muted){color:var(--frontier-muted)}.ruby-game-shell :is(.market-row,.market-sale-preview) strong{color:var(--frontier-ivory)}.ruby-game-shell :is(.market-row,.market-sale-preview,.market-receipt) small{color:var(--frontier-muted)}.ruby-game-shell :is(.market-sale-affixes,.market-quantity-rule,.market-stock){color:var(--frontier-muted)}.ruby-game-shell .market-receipt .receipt-highlight{border-color:rgb(var(--frontier-line-rgb) / .439);background:rgb(var(--frontier-selection-deep-rgb) / .333)}.ruby-game-shell :is(.army-panel,.hangar-panel,.barracks-panel,.hangar-upgrade,.army-capacity,.army-unit,.hangar-unit,.unit-transfer,.equipment-panel,.bag-panel){border-color:rgb(var(--frontier-line-rgb) / .314);background-color:rgb(var(--frontier-deep-rgb) / .851);color:var(--frontier-ivory)}.ruby-game-shell :is(.hangar-unit,.army-unit){background:linear-gradient(100deg,rgb(var(--frontier-panel-rgb) / .875),#151421ed);border-radius:5px}.ruby-game-shell .army-screen :is(.roster-row,.barracks-upgrade){border-color:rgb(var(--frontier-line-rgb) / .376);background:linear-gradient(100deg,rgb(var(--frontier-panel-rgb) / .851),rgb(var(--frontier-deep-rgb) / .902));border-radius:5px}.ruby-game-shell .army-screen .barracks-unit-name strong{color:var(--frontier-ivory)}.ruby-game-shell .army-screen :is(.section-heading h2,.hangar-unit strong,.army-unit strong){color:var(--frontier-ivory)}.ruby-game-shell .army-screen :is(.army-hint,.slot-unit-name,.muted){color:var(--frontier-muted)}.ruby-game-shell .army-screen .army-slot .slot-index{background:var(--frontier-deep);border-color:var(--frontier-line);color:var(--frontier-ivory)}.ruby-game-shell .settings-services{gap:12px}.ruby-game-shell .settings-group{gap:6px}.ruby-game-shell .settings-group h2{margin:5px 3px 4px;color:var(--frontier-muted);font:600 10px/16px Manrope,sans-serif;letter-spacing:1px;text-transform:uppercase}.ruby-game-shell .settings-group .settings-service{min-height:60px;padding:9px 10px;gap:10px;border-radius:5px;border-color:rgb(var(--frontier-line-rgb) / .314);background:linear-gradient(105deg,rgb(var(--frontier-panel-rgb) / .859),rgb(var(--frontier-deep-rgb) / .91));box-shadow:inset 0 1px rgb(var(--frontier-gold-soft-rgb) / .09),0 2px 5px #0002}.ruby-game-shell .settings-group .settings-service-icon{width:36px;height:36px;border-radius:6px;background:linear-gradient(var(--frontier-panel),var(--frontier-panel));border-color:rgb(var(--frontier-line-rgb) / .502);color:var(--frontier-gold-soft)}.ruby-game-shell .settings-group .settings-service strong{color:var(--frontier-ivory);font:600 13px/18px Manrope,sans-serif}.ruby-game-shell .settings-group .settings-service small{margin-top:2px;color:var(--frontier-muted);font:400 10px/14px Manrope,sans-serif}.ruby-game-shell .forum-category{min-height:74px;border-radius:5px;border-color:rgb(var(--frontier-line-rgb) / .4);background:linear-gradient(115deg,rgb(var(--frontier-panel-rgb) / .929),rgb(var(--frontier-deep-rgb) / .91))}.ruby-game-shell .forum-category-icon{border-color:rgb(var(--frontier-line-rgb) / .502);background:linear-gradient(var(--frontier-raised),var(--frontier-panel));color:var(--frontier-ivory)}.ruby-game-shell .forum-category strong{color:var(--frontier-ivory)}.ruby-game-shell :is(.forum-category small,.forum-description,.forum-rule,.forum-topic-meta){color:var(--frontier-muted)}.ruby-game-shell :is(.forum-topic-card,.forum-post,.forum-composer,.mail-letter,.compose-panel,.social-player-row){border-color:rgb(var(--frontier-line-rgb) / .349);background:linear-gradient(115deg,rgb(var(--frontier-panel-rgb) / .922),rgb(var(--frontier-deep-rgb) / .922));color:var(--frontier-ivory);border-radius:5px}.ruby-game-shell .social-player-row.self{border-color:var(--frontier-gold);background:linear-gradient(110deg,rgb(var(--frontier-selection-deep-rgb) / .612),rgb(var(--frontier-panel-rgb) / .922))}.ruby-game-shell :is(.social-player-row strong,.forum-topic-title,.forum-post-body,.letter-body){color:var(--frontier-ivory)}.ruby-game-shell .chat-message:not(.vip-message){border-color:rgb(var(--frontier-line-rgb) / .38);border-radius:7px 7px 7px 2px;background:linear-gradient(110deg,rgb(var(--frontier-panel-rgb) / .91),rgb(var(--frontier-panel-rgb) / .933));color:var(--frontier-ivory)}.ruby-game-shell .chat-message.own:not(.vip-message){border-color:rgb(var(--frontier-line-rgb) / .533);background:linear-gradient(110deg,rgb(var(--frontier-selection-deep-rgb) / .851),rgb(var(--frontier-panel-rgb) / .91))}.ruby-game-shell .chat-message:not(.vip-message) :is(.message-author,.chat-author-name,.chat-message-name){color:var(--frontier-ivory)}.ruby-game-shell .chat-message:not(.vip-message) :is(time,.chat-message-level){color:var(--frontier-muted)}.ruby-game-shell .chat-channel-tabs{border-radius:5px}.ruby-game-shell .chat-composer{border-color:rgb(var(--frontier-line-rgb) / .333)}.ruby-game-shell .clan-overview-screen{--citadel-gold: var(--frontier-gold);--citadel-border: rgb(var(--frontier-line-rgb) / .314)}.ruby-game-shell :is(.citadel-banner,.citadel-construction,.citadel-research,.citadel-recruit,.clan-summary,.clan-building,.clan-member){border-color:rgb(var(--frontier-gold-rgb) / .376);background-color:rgb(var(--frontier-deep-rgb) / .91);border-radius:6px}.ruby-game-shell .citadel-banner-art{background:linear-gradient(90deg,rgb(var(--frontier-deep-rgb) / .667),rgb(var(--frontier-deep-rgb) / .063)),linear-gradient(0deg,var(--frontier-deep),transparent 95%),url(/art/hubs/citadel-frontier.webp) 50% 32% / cover}.ruby-game-shell .clan-overview-screen .citadel-title h2{color:var(--frontier-ivory)}.ruby-game-shell :is(.citadel-eyebrow,.citadel-title p,.citadel-motto){color:var(--frontier-muted)}.ruby-game-shell .citadel-treasury{background:rgb(var(--frontier-deep-rgb) / .902);border-color:rgb(var(--frontier-line-rgb) / .333)}.ruby-game-shell .citadel-building{border-color:rgb(var(--frontier-gold-rgb) / .42);background-color:rgb(var(--frontier-panel-rgb) / .91)}.ruby-game-shell .citadel-building-copy>strong{color:var(--frontier-ivory)}.ruby-game-shell .citadel-building-copy>span:not(.citadel-level-dots){color:var(--frontier-muted)}.ruby-game-shell .citadel-building-art:after{background:linear-gradient(transparent 30%,rgb(var(--frontier-deep-rgb) / .878) 73%,var(--frontier-deep))}.ruby-game-shell :is(.citadel-level,.citadel-building-timer,.citadel-manage-button){background:rgb(var(--frontier-panel-rgb) / .91);color:var(--frontier-ivory);border-color:rgb(var(--frontier-gold-rgb) / .4)}.ruby-game-shell .citadel-level-dots i{background:rgb(var(--frontier-gold-soft-rgb) / .239)}.ruby-game-shell :is(.citadel-section-heading>span,.clan-section-tabs small){background:rgb(var(--frontier-panel-rgb) / .863);border-color:rgb(var(--frontier-line-rgb) / .4);color:var(--frontier-muted)}.ruby-game-shell .citadel-perks{color:var(--frontier-muted);border-color:rgb(var(--frontier-line-rgb) / .333)}.ruby-game-shell .clan-overview-screen .citadel-section-heading h3{color:var(--frontier-ivory)}.ruby-game-shell :is(.citadel-construction,.citadel-construction.idle){background:linear-gradient(110deg,rgb(var(--frontier-panel-rgb) / .91),rgb(var(--frontier-deep-rgb) / .91));color:var(--frontier-ivory)}.ruby-game-shell :is(.citadel-construction strong,.citadel-perks b){color:var(--frontier-ivory)}.ruby-game-shell :is(.citadel-construction small,.citadel-perks small,.citadel-section-heading>div>small){color:var(--frontier-muted)}.ruby-game-shell .citadel-level-dots .filled{background:linear-gradient(90deg,var(--frontier-progress),var(--frontier-gold-soft))}.ruby-game-shell :is(.citadel-level-dots .pending,.citadel-progress i){background:var(--frontier-gold-soft)}.ruby-game-shell :is(.bestiary-card,.achievement-card){border-color:rgb(var(--frontier-line-rgb) / .439);background-color:rgb(var(--frontier-panel-rgb) / .902)}@media(max-width:350px){.ruby-game-shell .settings-group .settings-service{padding:8px;gap:8px}.ruby-game-shell .settings-group .settings-service strong{font-size:12px}}body:has(.ruby-game-shell){--muted: var(--frontier-muted);--line: var(--frontier-line);--panel: var(--frontier-deep);color:var(--frontier-ivory)}body:has(.ruby-game-shell) :focus-visible{outline-color:var(--frontier-gold)}body:has(.ruby-game-shell) :is(.bag-panel,.equipment-panel){border-radius:7px;padding:12px}body:has(.ruby-game-shell) :is(.section-heading,.comparison-card h3,.forge-heading,.warehouse-list-heading,.oracle-milestone-heading){border-color:rgb(var(--frontier-line-rgb) / .361)}body:has(.ruby-game-shell) :is(.bag-panel h2,.equipment-panel h2,.comparison-card strong,.forge-heading h3,.orb-option strong,.recruiter-location strong,.recruit-price,.quest-rewards,.journal-reward,.oracle-reward-list,.warehouse-resource-totals strong){color:var(--frontier-ivory)}body:has(.ruby-game-shell) :is(.bag-search,.bag-sort select,.bag-filter-fields select,.filter-toggle,.inventory-filters button,.weapon-choice button,.quantity-buttons button,.quantity-fractions button,.quantity-control input,.recruiter-summary>div,.recruit-inspect,.unit-tier,.unit-card-disclosure,.atlas-legend,.atlas-destination,.mail-category-tabs button,.mail-filter-controls button,.clan-transfer-button,.race-change-price,.stat-reset-preview){background:rgb(var(--frontier-deep-rgb) / .91);border-color:rgb(var(--frontier-line-rgb) / .502);color:var(--frontier-ivory);box-shadow:inset 0 1px rgb(var(--frontier-gold-soft-rgb) / .035)}body:has(.ruby-game-shell) :is(input,textarea,select){color-scheme:dark}body:has(.ruby-game-shell) :is(.bag-search input,.bag-filter-fields select,.bag-sort select,.compose-letter input,.compose-letter textarea,.account-settings-form input,.quantity-control input){font-size:16px}body:has(.ruby-game-shell) :is(.inventory-filters button,.weapon-choice button,.mail-category-tabs button)[aria-pressed=true],body:has(.ruby-game-shell) :is(.inventory-filters .selected,.weapon-choice .selected,.recruit-offer-row.recruit-selected,.atlas-node.selected,.race-change-grid .selected){background:linear-gradient(120deg,var(--frontier-selection),var(--frontier-panel));border-color:var(--frontier-gold);color:var(--frontier-ivory);box-shadow:inset 0 1px #f2bec029,0 0 12px rgb(var(--frontier-gold-soft-rgb) / .071)}body:has(.ruby-game-shell) :is(.recruit-offer-row,.mail-letter,.journal-list>button,.warehouse-grid .bag-slot,.delivery-item,.exclusive-rules,.account-note,.referral-intro,.referral-friend,.help-book-section,.mechanic-help-section){background:rgb(var(--frontier-deep-rgb) / .929);border-color:rgb(var(--frontier-line-rgb) / .439)}body:has(.ruby-game-shell) :is(.forge-quote,.forge-milestones,.oracle-progress,.clan-ledger,.letter-address,.letter-body,.letter-detail,.sale-attachment,.account-settings-intro,.unit-comparison-table){background-color:rgb(var(--frontier-deep-rgb) / .91);border-color:rgb(var(--frontier-line-rgb) / .4)}body:has(.ruby-game-shell) :is(.forge-milestones .complete,.oracle-milestone.available,.achievement-card.claimable){border-color:rgb(var(--frontier-gold-rgb) / .549);background-color:var(--frontier-panel)}body:has(.ruby-game-shell) :is(.forge-milestones .next,.forge-stat-gain,.oracle-progress strong){color:var(--frontier-gold-soft)}body:has(.ruby-game-shell) :is(.forge-action-bar,.recruiter-checkout-panel,.sheet-fixed-footer){border-color:rgb(var(--frontier-line-rgb) / .502);background-color:rgb(var(--frontier-deep-rgb) / .949)}body:has(.ruby-game-shell) :is(.inventory-hint,.forge-rule,.forge-safety,.comparison-card small,.recruiter-summary small,.oracle-rule,.warehouse-help,.account-note,.referral-rule,.unit-card-stat-label){color:var(--frontier-muted)}body:has(.ruby-game-shell) .comparison-card .art-icon:not(.orb-icon){border-radius:5px}body:has(.ruby-game-shell) .item-comparison :is(td,th){border-color:rgb(var(--frontier-line-rgb) / .333)}body:has(.ruby-game-shell) .item-special-effect{background:var(--frontier-panel);border-color:rgb(var(--frontier-gold-rgb) / .325);color:var(--frontier-ivory)}body:has(.ruby-game-shell) :is(.item-forge-disclosure,.orb-crafting,.dismantle-entry){border-color:rgb(var(--frontier-line-rgb) / .369)}body:has(.ruby-game-shell) :is(.item-forge-disclosure summary,.orb-crafting summary,.dismantle-entry){color:var(--frontier-ivory)}body:has(.ruby-game-shell) .orb-option{border-color:rgb(var(--frontier-line-rgb) / .439)}body:has(.ruby-game-shell) .orb-option button{border-color:rgb(var(--frontier-line-rgb) / .502);color:var(--frontier-ivory);background:var(--frontier-selection-deep)}body:has(.ruby-game-shell) .territory-atlas{background-color:var(--frontier-deep);border-color:var(--frontier-line)}body:has(.ruby-game-shell) .atlas-node-label{background-color:rgb(var(--frontier-deep-rgb) / .922);border-color:var(--frontier-line);color:var(--frontier-ivory)}body:has(.ruby-game-shell) :is(.oracle-contributor,.oracle-sections,.oracle-leaderboard,.clan-member-actions,.clan-ledger>div,.mail-letter-meta,.letter-detail .section-heading){border-color:rgb(var(--frontier-line-rgb) / .314)}body:has(.ruby-game-shell) :is(.account-settings-form input,.compose-recipient,.compose-letter textarea){background:var(--frontier-deep);border-color:var(--frontier-line);color:var(--frontier-ivory)}body:has(.ruby-game-shell) .recruiter-summary>span{background:var(--frontier-panel);border-color:rgb(var(--frontier-line-rgb) / .4);color:var(--frontier-muted)}body:has(.ruby-game-shell) .recruiter-summary>span>span{color:var(--frontier-muted)}body:has(.ruby-game-shell) .recruiter-summary strong,body:has(.ruby-game-shell) .recruiter-location,body:has(.ruby-game-shell) .recruit-selected strong{color:var(--frontier-ivory)}body:has(.ruby-game-shell) .recruiter-sheet .recruitment-offer{background:linear-gradient(125deg,var(--frontier-panel),var(--frontier-deep));border-color:rgb(var(--frontier-line-rgb) / .502);box-shadow:inset 0 1px rgb(var(--frontier-gold-soft-rgb) / .035)}body:has(.ruby-game-shell) .recruiter-sheet .recruitment-offer.selected{background:linear-gradient(120deg,var(--frontier-selection),var(--frontier-panel));border-color:var(--frontier-gold);box-shadow:inset 3px 0 var(--frontier-gold-soft),inset 0 1px #f2bec029}body:has(.ruby-game-shell) .recruiter-sheet .recruitment-offer.sold-out{background:var(--frontier-panel)}body:has(.ruby-game-shell) .recruiter-checkout-panel{background:var(--frontier-deep)}body:has(.ruby-game-shell) :is(.item-forge-disclosure>summary,.orb-crafting>summary){background:var(--frontier-panel)}body:has(.ruby-game-shell) .comparison-equipped-items>div>span,body:has(.ruby-game-shell) .item-comparison :is(caption,th,td:first-child){color:var(--frontier-muted)}.ruby-game-shell .inventory-screen>.page-title{padding:0 0 9px;margin:0 0 10px;text-align:left}.ruby-game-shell .inventory-screen>.page-title h1{margin:0;font-size:25px;line-height:1.15}.ruby-game-shell .inventory-screen>.page-title small{display:none}.ruby-game-shell .inventory-loadout{margin:0 0 12px}.ruby-game-shell .inventory-loadout .section-heading{margin:0 0 10px}.ruby-game-shell .inventory-loadout h2{margin:0;font-size:21px}.ruby-game-shell .inventory-loadout .equipment-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:0;padding:0}.ruby-game-shell .inventory-loadout .equipment-slot{display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:75px;height:75px;gap:4px;padding:5px 2px;border:1px solid var(--frontier-line);border-radius:5px;background:rgb(var(--frontier-deep-rgb) / .8);box-shadow:inset 0 0 12px #0004;overflow:hidden}.ruby-game-shell .inventory-loadout .equipment-slot.occupied{border-color:var(--rarity);background:radial-gradient(ellipse at 50% 25%,color-mix(in srgb,var(--rarity) 18%,var(--frontier-panel)),var(--frontier-deep))}.ruby-game-shell .inventory-loadout .equipment-slot:disabled{opacity:.45}.ruby-game-shell .inventory-loadout .equipment-slot>span:not(.art-icon){font-size:9px;line-height:1.15;min-height:11px;color:var(--frontier-muted);text-align:center}.ruby-game-shell .inventory-loadout .art-icon{width:42px!important;height:42px!important;border-radius:3px}.ruby-game-shell .inventory-loadout .enhancement-badge{top:2px;right:2px;z-index:1;background:rgb(var(--frontier-deep-rgb) / .929);color:var(--frontier-ivory)}.ruby-game-shell .bag-panel .section-heading{margin:0 0 10px}.ruby-game-shell .bag-panel .inventory-filters{display:flex;gap:5px;overflow-x:auto;scrollbar-width:none;margin:10px 0;padding:1px 1px 5px}.ruby-game-shell .inventory-filters button{flex:0 0 auto;min-height:34px;padding:6px 10px;font-size:12px;border-radius:5px}.ruby-game-shell .bag-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:7px}.ruby-game-shell .bag-search{min-height:40px;border:1px solid rgb(var(--frontier-line-rgb) / .502);border-radius:5px}.ruby-game-shell .bag-search input{background:transparent;border-color:transparent;box-shadow:none;min-width:0;height:40px}.ruby-game-shell .bag-search svg{color:var(--frontier-muted)}.ruby-game-shell .bag-panel .section-heading>span{color:var(--frontier-muted)}.ruby-game-shell .bag-sort{margin:7px 0;color:var(--frontier-muted)}.ruby-game-shell .bag-sort select{max-width:58%;min-height:35px}.ruby-game-shell .bag-panel .bulk-dismantle-button{margin:0 0 10px;padding:6px;min-height:32px;color:var(--frontier-muted)}.ruby-game-shell .bag-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.ruby-game-shell .bag-grid .bag-slot{min-width:0;min-height:112px;padding:9px 4px 7px;gap:7px;border-radius:5px;border:1px solid var(--rarity, var(--frontier-line));background:radial-gradient(ellipse at 50% 23%,color-mix(in srgb,var(--rarity, var(--frontier-raised)) 14%,var(--frontier-panel)),var(--frontier-deep));box-shadow:inset 0 0 0 2px rgb(var(--frontier-canvas-rgb) / .502),0 2px 7px #0004}.ruby-game-shell .bag-grid .bag-name{font-size:11px;line-height:1.25;height:2.5em;color:var(--frontier-ivory)}.ruby-game-shell .bag-grid .art-icon:not(.orb-icon){width:48px!important;height:48px!important;border-radius:4px}.ruby-game-shell .bag-grid .bag-slot.vacant{opacity:.3}.ruby-game-shell .bag-grid .inventory-stack{position:relative;padding-top:9px}.ruby-game-shell .bag-stack-count{position:absolute;top:3px;right:3px;padding:2px 3px;max-width:calc(100% - 6px);border:1px solid rgb(var(--frontier-gold-rgb) / .322);border-radius:3px;color:var(--frontier-ivory);background:rgb(var(--frontier-deep-rgb) / .949);font-size:10px;line-height:1;z-index:1}.inventory-stack-art{display:grid;place-items:center;flex:0 0 auto;border:1px solid var(--frontier-line);border-radius:5px;background:radial-gradient(rgb(var(--frontier-raised-rgb) / .2),var(--frontier-deep));overflow:hidden}.inventory-stack-art img{width:100%;height:100%;object-fit:contain}.stack-art-relicShards{color:var(--frontier-gold-soft);background:radial-gradient(rgb(var(--frontier-selection-rgb) / .333),var(--frontier-deep));border-color:var(--frontier-gold);filter:drop-shadow(0 0 5px rgb(var(--frontier-selection-rgb) / .125))}.ruby-game-shell .bag-overflow{padding:10px;border:1px solid var(--frontier-gold);border-radius:5px;color:var(--frontier-ivory);background:rgb(var(--frontier-selection-deep-rgb) / .459);font-size:12px;line-height:1.5}.inventory-stack-heading{display:flex;align-items:center;gap:16px;margin:3px 0 18px}.inventory-stack-heading>div{display:grid;gap:6px}.inventory-stack-heading strong{font-size:22px;color:var(--frontier-ivory)}.inventory-stack-heading>div>span{color:var(--frontier-muted);font-size:12px}.inventory-stack-sheet>p{line-height:1.6}.inventory-stack-sheet .primary-button{width:100%;margin-top:12px}.inventory-orb-targets{display:grid;gap:8px}.inventory-orb-target{display:flex;align-items:center;gap:12px;text-align:left;padding:10px;border:1px solid var(--rarity);border-radius:5px;background:var(--frontier-panel)}.inventory-orb-target>span:not(.art-icon){display:grid;gap:4px;min-width:0;flex:1}.inventory-orb-target strong{font-size:13px;overflow-wrap:anywhere}.inventory-orb-target small{color:var(--frontier-muted)}.inventory-orb-target .art-icon{border-radius:4px}@media(max-width:350px){.ruby-game-shell .bag-panel,.ruby-game-shell .inventory-loadout{padding:9px}.ruby-game-shell .inventory-loadout .equipment-grid{gap:5px}.ruby-game-shell .inventory-loadout .equipment-slot{min-height:71px;height:71px}.ruby-game-shell .inventory-loadout .art-icon{width:36px!important;height:36px!important}.ruby-game-shell .bag-grid{gap:5px}.ruby-game-shell .bag-grid .bag-slot{min-height:106px}.ruby-game-shell .bag-grid .bag-name{font-size:10px}.ruby-game-shell .filter-toggle{font-size:11px;padding:7px}}.ruby-game-shell :is(.market-screen,.forum-screen,.settings-screen,.social-mode-mail){--muted: var(--frontier-muted);--line: var(--frontier-line);--panel: var(--frontier-deep);color:var(--frontier-ivory)}.ruby-game-shell :is(.market-screen,.forum-screen,.social-mode-mail)>.social-heading{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;align-items:center;gap:9px;min-height:40px;margin:0 0 10px;padding:0 0 8px}.ruby-game-shell :is(.market-screen,.forum-screen,.social-mode-mail)>.social-heading h1{min-width:0;margin:0;font-size:25px;line-height:1.1;color:var(--frontier-ivory)}.ruby-game-shell :is(.market-screen,.forum-screen,.social-mode-mail)>.social-heading .icon-button{width:36px;height:36px;padding:6px;border-radius:6px;border:1px solid rgb(var(--frontier-line-rgb) / .439);background:rgb(var(--frontier-deep-rgb) / .937);color:var(--frontier-ivory)}.ruby-game-shell :is(.market-screen,.forum-screen,.social-mode-mail) .list-update-status{min-height:18px;height:auto;margin:2px 0 4px;padding:0;font-size:10px;line-height:18px;color:var(--frontier-muted)}.ruby-game-shell :is(.market-screen,.forum-screen,.social-mode-mail) .social-empty,body:has(.ruby-game-shell) :is(.forum-empty,.market-empty){padding:20px 14px;border:1px dashed rgb(var(--frontier-line-rgb) / .502);border-radius:6px;background:rgb(var(--frontier-deep-rgb) / .941);color:var(--frontier-muted)}.ruby-game-shell .market-screen>.market-currency-balance{min-height:35px;margin:0 0 9px;padding:6px 9px;background:rgb(var(--frontier-deep-rgb) / .937);border:1px solid rgb(var(--frontier-line-rgb) / .302);border-radius:6px;box-shadow:inset 0 1px rgb(var(--frontier-gold-soft-rgb) / .031)}.ruby-game-shell .market-currency-balance>span{gap:6px;color:var(--frontier-ivory);font-size:12px}.ruby-game-shell .market-currency-balance .portrait{width:24px;height:24px;flex:0 0 24px;border:0;background:transparent}.ruby-game-shell .market-currency-balance>small{color:var(--frontier-muted);font-size:10px}.ruby-game-shell .market-screen>.world-tabs{display:flex;gap:4px;padding:3px;margin:0 0 7px;border:1px solid rgb(var(--frontier-line-rgb) / .439);border-radius:6px;background:rgb(var(--frontier-deep-rgb) / .937)}.ruby-game-shell .market-screen>.world-tabs button{flex:1;min-width:0;min-height:33px;padding:6px 5px;border-radius:4px;font-size:12px;line-height:1.2;color:var(--frontier-muted)}.ruby-game-shell .market-screen>.world-tabs button.selected{color:var(--frontier-ivory);background:linear-gradient(120deg,var(--frontier-selection),var(--frontier-selection-deep));border-color:var(--frontier-gold);box-shadow:inset 0 1px rgb(var(--frontier-gold-soft-rgb) / .173)}.ruby-game-shell .market-tools{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:start;gap:6px;margin:10px 0 2px}.ruby-game-shell .market-tools .market-sort{min-width:0}.ruby-game-shell .market-tools :is(select,.filter-toggle,.market-help>summary){min-height:38px;margin:0;border-radius:5px;background:rgb(var(--frontier-deep-rgb) / .961);border-color:rgb(var(--frontier-line-rgb) / .42);color:var(--frontier-ivory)}.ruby-game-shell .market-tools .market-sort select{width:100%;padding:7px;font-size:16px}.ruby-game-shell .market-tools .filter-toggle{padding:7px 9px;font-size:11px}.ruby-game-shell .market-tools .market-help>summary{width:34px;padding:7px}.ruby-game-shell .market-filters{padding:12px;border-radius:6px;background:rgb(var(--frontier-deep-rgb) / .969);border-color:rgb(var(--frontier-line-rgb) / .502)}.ruby-game-shell .market-screen :is(.market-filters,.market-sell) label{color:var(--frontier-muted);font-size:11px;line-height:1.4}.ruby-game-shell .market-screen :is(.market-filters,.market-sell) :is(input,select){font-size:16px;min-width:0;min-height:42px;border-color:rgb(var(--frontier-line-rgb) / .541);background:var(--frontier-deep)}.ruby-game-shell .market-list{display:grid;gap:8px}.ruby-game-shell .market-screen .market-card{min-width:0;border:1px solid rgb(var(--frontier-line-rgb) / .502);border-left:3px solid var(--rarity, var(--frontier-line));border-radius:6px;overflow:hidden;background:linear-gradient(115deg,rgb(var(--frontier-panel-rgb) / .969),rgb(var(--frontier-deep-rgb) / .98));box-shadow:inset 0 1px rgb(var(--frontier-gold-soft-rgb) / .035),0 3px 9px rgb(var(--frontier-canvas-rgb) / .251)}.ruby-game-shell .market-screen .market-detail{display:flex;align-items:center;width:100%;min-width:0;min-height:76px;padding:10px;gap:12px;text-align:left}.ruby-game-shell .market-detail>.art-icon{width:48px!important;height:48px!important;flex:0 0 48px;border-radius:4px}.ruby-game-shell .market-detail>.portrait{width:48px;height:48px;flex:0 0 48px}.ruby-game-shell .market-detail>span:last-child{min-width:0;flex:1;gap:3px}.ruby-game-shell .market-detail strong{font-size:14px;line-height:1.25;overflow-wrap:anywhere;color:var(--frontier-ivory)}.ruby-game-shell .market-detail small{font-size:10px;line-height:1.3;color:var(--frontier-muted)}.ruby-game-shell .market-detail b{font-size:18px;line-height:1.25;color:#e8c789}.ruby-game-shell .market-detail b span{font-size:10px;font-weight:400;color:var(--frontier-muted)}.ruby-game-shell .market-card-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:27px;margin:0;padding:4px 10px 6px;border-top:1px solid rgb(var(--frontier-line-rgb) / .145)}.ruby-game-shell .market-card-footer>.text-button{margin:0;padding:2px 0;text-decoration:none;color:var(--frontier-muted);font-size:11px;min-width:0;max-width:65%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ruby-game-shell .market-card-footer .market-lot-status{margin:0;border-color:rgb(var(--frontier-line-rgb) / .278);background:rgb(var(--frontier-selection-deep-rgb) / .239);color:var(--frontier-muted);font-size:9px;padding:2px 5px}.ruby-game-shell .market-card-footer .market-status-sold{color:#b8d6c5;border-color:#729d886b;background:#17322680}.ruby-game-shell .market-card-footer .market-status-cancelled{color:var(--frontier-muted);border-color:rgb(var(--frontier-line-rgb) / .4);background:rgb(var(--frontier-panel-rgb) / .502)}.ruby-game-shell .market-card[class*=rarity-] .market-detail{min-height:66px;padding:9px 10px}.ruby-game-shell .market-card[class*=rarity-] .market-detail>span:last-child{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;column-gap:7px;row-gap:5px}.ruby-game-shell .market-card[class*=rarity-] .market-detail strong{grid-column:1/-1}.ruby-game-shell .market-card[class*=rarity-] .market-detail b{font-size:17px;white-space:nowrap}.ruby-game-shell .market-buy-card .market-card-footer .market-lot-status{display:none}.ruby-game-shell .market-buy-card .market-card-footer:after{content:"›";color:var(--frontier-muted);font-size:18px;line-height:1}.ruby-game-shell .market-unit-groups{gap:8px}.ruby-game-shell .market-unit-group{min-height:73px;padding:10px;border-radius:6px;border-color:rgb(var(--frontier-line-rgb) / .439);background:linear-gradient(120deg,rgb(var(--frontier-panel-rgb) / .961),rgb(var(--frontier-deep-rgb) / .98))}.ruby-game-shell .market-unit-group strong{color:var(--frontier-ivory);font-size:14px;line-height:1.3}.ruby-game-shell .market-unit-group small{color:var(--frontier-muted);font-size:11px}.ruby-game-shell .market-screen .market-sell{padding:12px;gap:11px;margin-top:10px;background:rgb(var(--frontier-deep-rgb) / .961);border:1px solid rgb(var(--frontier-line-rgb) / .439);border-radius:6px}.ruby-game-shell .market-sell h2{font-size:22px;line-height:1.15;margin:0 0 2px;color:var(--frontier-ivory)}.ruby-game-shell .market-sell>.muted{margin:0;font-size:11px;line-height:1.5;color:var(--frontier-muted)}.ruby-game-shell .market-screen :is(.market-sale-preview,.market-receipt){background:var(--frontier-deep);border-color:rgb(var(--frontier-line-rgb) / .439);border-radius:5px}.ruby-game-shell .market-screen .market-sale-preview{padding:10px;gap:8px}.ruby-game-shell .market-screen .market-sale-preview .art-icon{border-radius:4px}.ruby-game-shell .social-mode-mail .mail-tabs{padding:3px;gap:4px;margin:0 0 9px;border-color:rgb(var(--frontier-line-rgb) / .439);background:rgb(var(--frontier-deep-rgb) / .961);border-radius:6px}.ruby-game-shell .social-mode-mail .mail-tabs button{min-height:35px;padding:6px;font-size:12px;border-radius:4px}.ruby-game-shell .social-mode-mail .mail-filter-controls{gap:9px;margin:0 0 10px}.ruby-game-shell .social-mode-mail .mail-category-tabs{display:flex;gap:4px;overflow-x:auto;scrollbar-width:thin;padding:1px 0 3px}.ruby-game-shell .social-mode-mail .mail-category-tabs button{flex:1 0 auto;min-height:30px;padding:5px 8px;font-size:11px;border-radius:5px;background:rgb(var(--frontier-deep-rgb) / .961);border-color:rgb(var(--frontier-line-rgb) / .478);color:var(--frontier-muted)}.ruby-game-shell .social-mode-mail .mail-category-tabs button.selected{background:var(--frontier-selection-deep);color:var(--frontier-ivory);border-color:var(--frontier-gold)}.ruby-game-shell .social-mode-mail .mail-gold-filter{min-height:26px;gap:7px;margin:0;font-size:11px;color:var(--frontier-muted)}.ruby-game-shell .social-mode-mail input[type=checkbox]{accent-color:var(--frontier-gold)}.ruby-game-shell .social-mode-mail .mail-collect-all{min-height:51px;margin:0;padding:8px 10px;border-radius:6px;border:1px solid rgb(var(--frontier-line-rgb) / .502);background:linear-gradient(115deg,rgb(var(--frontier-selection-deep-rgb) / .941),rgb(var(--frontier-deep-rgb) / .969));color:var(--frontier-ivory)}.ruby-game-shell .social-mode-mail .mail-collect-all strong{color:var(--frontier-ivory);font-size:12px}.ruby-game-shell .social-mode-mail .mail-collect-all small{color:var(--frontier-muted);font-size:10px}.ruby-game-shell .social-mode-mail .mail-collect-all>b{font-size:16px;color:#ecc98b;white-space:nowrap}.ruby-game-shell .social-mode-mail .mail-list{gap:7px}.ruby-game-shell .social-mode-mail .mail-list>button{display:grid;grid-template-columns:35px minmax(0,1fr) 12px;align-items:center;gap:10px;min-height:77px;padding:10px;border:1px solid rgb(var(--frontier-line-rgb) / .396);border-radius:6px;background:linear-gradient(110deg,rgb(var(--frontier-panel-rgb) / .973),rgb(var(--frontier-deep-rgb) / .98));box-shadow:inset 0 1px rgb(var(--frontier-gold-soft-rgb) / .039)}.ruby-game-shell .social-mode-mail .mail-list>button.unread{border-left:3px solid var(--frontier-gold);background:linear-gradient(110deg,rgb(var(--frontier-selection-deep-rgb) / .961),rgb(var(--frontier-deep-rgb) / .973))}.ruby-game-shell .social-mode-mail .mail-list>button.has-gold{border-color:#9b765971;border-left:3px solid #d8ae68;background:linear-gradient(110deg,#33251ff5,rgb(var(--frontier-deep-rgb) / .976))}.ruby-game-shell .social-mode-mail .mail-letter-emblem{width:35px;height:35px;border-radius:6px;background:var(--frontier-deep);border-color:rgb(var(--frontier-line-rgb) / .522);color:var(--frontier-gold-soft)}.ruby-game-shell .social-mode-mail .mail-letter-emblem.gold{color:#e2be74;background:#2d2015;border-color:#ae84576e}.ruby-game-shell .social-mode-mail .mail-letter-emblem .portrait{width:35px;height:35px}.ruby-game-shell .social-mode-mail .mail-letter-content{min-width:0;gap:4px}.ruby-game-shell .social-mode-mail .mail-letter-content>strong{color:var(--frontier-ivory);font-size:13px;line-height:1.3}.ruby-game-shell .social-mode-mail :is(.mail-letter-meta time,.mail-letter-bottom>span,.mail-kind){color:var(--frontier-muted);font-size:10px}.ruby-game-shell .social-mode-mail .mail-pending-gold{color:#eac68a;font-size:11px}.ruby-game-shell .social-mode-mail .mail-read-state{color:var(--frontier-gold-soft);font-size:10px}.ruby-game-shell .social-mode-mail .mail-letter-arrow{color:var(--frontier-muted)}.ruby-game-shell .forum-categories{display:grid;gap:7px;margin-top:1px}.ruby-game-shell .forum-category{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:65px;padding:10px 11px;border-radius:6px;border:1px solid rgb(var(--frontier-line-rgb) / .471);background:linear-gradient(110deg,rgb(var(--frontier-panel-rgb) / .969),rgb(var(--frontier-deep-rgb) / .98));box-shadow:inset 0 1px rgb(var(--frontier-gold-soft-rgb) / .039)}.ruby-game-shell .forum-category-icon{width:34px;height:34px;border-radius:6px;background:var(--frontier-deep);border:1px solid rgb(var(--frontier-line-rgb) / .42);color:var(--frontier-gold-soft);box-shadow:inset 0 0 10px rgb(var(--frontier-gold-soft-rgb) / .031)}.ruby-game-shell .forum-category-copy{min-width:0;gap:4px}.ruby-game-shell .forum-category-copy>strong{color:var(--frontier-ivory);font-size:19px;line-height:1.1}.ruby-game-shell .forum-category-copy>span{color:var(--frontier-muted);font-size:11px;line-height:1.4}.ruby-game-shell .forum-category-rule{color:var(--frontier-muted);font-size:9px}.ruby-game-shell .forum-category-end{gap:7px;color:var(--frontier-muted)}.ruby-game-shell .forum-category-count{border-color:rgb(var(--frontier-line-rgb) / .333);border-radius:4px;padding:4px 5px;color:var(--frontier-muted);background:var(--frontier-deep);font-size:10px}.ruby-game-shell .forum-category-0{border-color:rgb(var(--frontier-line-rgb) / .549);background:linear-gradient(110deg,rgb(var(--frontier-selection-deep-rgb) / .961),rgb(var(--frontier-deep-rgb) / .976))}.ruby-game-shell :is(.forum-category-description,.forum-rule){margin:5px 0 10px;color:var(--frontier-muted);font-size:12px;line-height:1.5}.ruby-game-shell .forum-create{min-height:38px;padding:8px 12px;margin:0 0 12px;font-size:12px}.ruby-game-shell .forum-topics{gap:9px}.ruby-game-shell .forum-topic-card{padding:0;border:1px solid rgb(var(--frontier-line-rgb) / .471);border-radius:6px;background:linear-gradient(120deg,rgb(var(--frontier-panel-rgb) / .969),rgb(var(--frontier-deep-rgb) / .98));overflow:hidden;box-shadow:inset 0 1px rgb(var(--frontier-gold-soft-rgb) / .039)}.ruby-game-shell .forum-topic-link{padding:12px;gap:9px}.ruby-game-shell .forum-topic-link h2{font-size:18px;line-height:1.3;color:var(--frontier-ivory)}.ruby-game-shell .forum-topic-emblem{width:30px;height:30px;border-radius:5px;border-color:rgb(var(--frontier-line-rgb) / .502);background:var(--frontier-panel);color:var(--frontier-muted)}.ruby-game-shell .forum-topic-card footer{padding:9px 12px;border-color:rgb(var(--frontier-line-rgb) / .318);background:rgb(var(--frontier-deep-rgb) / .302);gap:10px}.ruby-game-shell .forum-author{min-width:0;gap:7px;color:var(--frontier-muted)}.ruby-game-shell .forum-author>span{min-width:0}.ruby-game-shell .forum-author-name{min-width:0;max-width:100%;gap:5px;flex-wrap:wrap}.ruby-game-shell .forum-author-name>span:first-child{overflow-wrap:anywhere}.ruby-game-shell .forum-author small{color:var(--frontier-muted);font-size:10px}.ruby-game-shell .forum-topic-meta{color:var(--frontier-muted);gap:4px;font-size:10px}.ruby-game-shell .forum-topic-meta time{color:var(--frontier-muted);font-size:9px}.ruby-game-shell .forum-thread-heading{margin:0 0 12px;padding:13px;border:1px solid rgb(var(--frontier-line-rgb) / .502);border-radius:6px;background:linear-gradient(120deg,rgb(var(--frontier-selection-deep-rgb) / .961),rgb(var(--frontier-deep-rgb) / .969))}.ruby-game-shell .forum-thread-heading>h2{color:var(--frontier-ivory);font-size:24px;line-height:1.2;overflow-wrap:anywhere}.ruby-game-shell .forum-thread-heading>:is(small,p){color:var(--frontier-muted);font-size:10px}.ruby-game-shell .forum-thread-tools{border-color:rgb(var(--frontier-line-rgb) / .314);gap:7px;flex-wrap:wrap}.ruby-game-shell .forum-thread-tools>span{color:var(--frontier-muted);font-size:10px}.ruby-game-shell .forum-thread-tools button{background:var(--frontier-panel);border-color:rgb(var(--frontier-line-rgb) / .431);color:var(--frontier-ivory);border-radius:5px;min-height:32px}.ruby-game-shell .forum-posts{gap:9px}.ruby-game-shell .forum-post{padding:12px;border:1px solid rgb(var(--frontier-line-rgb) / .447);border-radius:6px;background:rgb(var(--frontier-deep-rgb) / .961)}.ruby-game-shell .forum-post-opening{border-top:2px solid var(--frontier-line);background:linear-gradient(125deg,rgb(var(--frontier-panel-rgb) / .969),rgb(var(--frontier-deep-rgb) / .98))}.ruby-game-shell .forum-post header{gap:8px;border-color:rgb(var(--frontier-line-rgb) / .329);padding-bottom:10px}.ruby-game-shell .forum-post header>span{color:var(--frontier-muted);font-size:10px;flex-shrink:0}.ruby-game-shell .forum-post time{color:var(--frontier-muted);font-size:9px}.ruby-game-shell .forum-post>p{margin:11px 0 0;color:var(--frontier-ivory);font-size:13px;line-height:1.6;overflow-wrap:anywhere}.ruby-game-shell .forum-post>p.deleted-message{color:var(--frontier-muted);font-style:italic}.ruby-game-shell .forum-bottom-answer{min-height:40px;font-size:13px;border-radius:5px}.ruby-game-shell .settings-screen>.page-title{padding:0 0 10px;margin:0 0 12px;text-align:left}.ruby-game-shell .settings-screen>.page-title h1{font-size:25px;margin:0;line-height:1.15}.ruby-game-shell .settings-group-list{gap:13px}.ruby-game-shell .settings-group{gap:0;padding:0;overflow:hidden;border:1px solid rgb(var(--frontier-line-rgb) / .439);border-radius:7px;background:rgb(var(--frontier-deep-rgb) / .957)}.ruby-game-shell .settings-group h2{margin:0;padding:10px 12px;border-bottom:1px solid rgb(var(--frontier-line-rgb) / .302);color:var(--frontier-muted);font-size:10px;line-height:1.4;letter-spacing:1px;background:rgb(var(--frontier-panel-rgb) / .38)}.ruby-game-shell .settings-group .settings-service{min-height:55px;padding:9px 11px;margin:0;gap:10px;border:0;border-bottom:1px solid rgb(var(--frontier-line-rgb) / .2);border-radius:0;box-shadow:none;background:transparent}.ruby-game-shell .settings-group .settings-service:last-child{border-bottom:0}.ruby-game-shell .settings-group .settings-service-icon{width:32px;height:32px;flex:0 0 32px;border-radius:5px;background:var(--frontier-panel);border-color:rgb(var(--frontier-line-rgb) / .431);color:var(--frontier-gold-soft)}.ruby-game-shell .settings-group .settings-service-icon svg{width:19px;height:19px}.ruby-game-shell .settings-group .settings-service strong{color:var(--frontier-ivory);font-size:13px;line-height:1.3}.ruby-game-shell .settings-group .settings-service small{margin-top:3px;color:var(--frontier-muted);font-size:10px;line-height:1.35}.ruby-game-shell .settings-group .settings-chevron{color:var(--frontier-muted)}.ruby-game-shell .settings-group .settings-unread{color:var(--frontier-ivory);background:var(--frontier-selection);border-color:rgb(var(--frontier-line-rgb) / .302);border-radius:4px;font-size:9px;padding:4px 5px}.ruby-game-shell .settings-group .settings-online{color:#c5d5c2;font-size:11px}body:has(.ruby-game-shell) :is(.market-purchase-sheet,.forum-compose-sheet,.letter-sheet,.sheet:has(.compose-letter),.sheet:has(.account-settings-form),.citadel-sheet){background:linear-gradient(145deg,var(--frontier-panel),var(--frontier-deep) 65%);border-color:rgb(var(--frontier-line-rgb) / .541);color:var(--frontier-ivory)}body:has(.ruby-game-shell) :is(.market-purchase-sheet,.forum-compose-sheet,.letter-sheet)>.sheet-scroll-body{scrollbar-color:var(--frontier-raised) var(--frontier-deep)}body:has(.ruby-game-shell) :is(.market-purchase-sheet,.letter-sheet) :is(.market-receipt,.letter-address,.letter-body,.sale-attachment){background:var(--frontier-deep);border-color:rgb(var(--frontier-line-rgb) / .376);border-radius:6px;color:var(--frontier-ivory)}body:has(.ruby-game-shell) .market-purchase-sheet :is(.market-unit-price,.market-quantity,.market-checkout){border-color:rgb(var(--frontier-line-rgb) / .4);background-color:rgb(var(--frontier-deep-rgb) / .949);border-radius:6px}body:has(.ruby-game-shell) .market-purchase-sheet :is(.market-receipt strong,.market-receipt dd){color:var(--frontier-ivory)}body:has(.ruby-game-shell) .market-purchase-sheet .receipt-highlight{background:rgb(var(--frontier-selection-deep-rgb) / .4);border-color:rgb(var(--frontier-line-rgb) / .439)}body:has(.ruby-game-shell) :is(.letter-sheet,.forum-compose-sheet,.sheet:has(.compose-letter)) .compose-letter{padding:0;gap:11px;border:0;background:transparent}body:has(.ruby-game-shell) .compose-letter :is(input,textarea){min-width:0;font-size:16px;background:var(--frontier-deep);border-color:rgb(var(--frontier-line-rgb) / .522);color:var(--frontier-ivory);border-radius:5px}body:has(.ruby-game-shell) .compose-letter textarea{min-height:128px;max-height:35dvh;line-height:1.5}body:has(.ruby-game-shell) :is(.compose-recipient,.forum-reply-context,.account-note,.account-settings-intro,.race-change-price,.stat-reset-preview,.telegram-account){color:var(--frontier-muted);border-color:rgb(var(--frontier-line-rgb) / .42);background-color:rgb(var(--frontier-deep-rgb) / .949)}body:has(.ruby-game-shell) :is(.clan-deposit,.clan-ledger,.clan-roster,.clan-directory,.clan-merchant,.clan-withdraw,.exclusive-market-status,.exclusive-rules,.exclusive-card,.citadel-treasury-balance,.citadel-level-list>div){color:var(--frontier-ivory);border-color:rgb(var(--frontier-line-rgb) / .42);background-color:rgb(var(--frontier-deep-rgb) / .961)}body:has(.ruby-game-shell) :is(.clan-resource-icon,.clan-role,.clan-member-rank,.exclusive-meta){color:var(--frontier-muted);border-color:rgb(var(--frontier-line-rgb) / .42);background-color:var(--frontier-panel)}body:has(.ruby-game-shell) :is(.clan-panel-title,.citadel-sheet h3,.clan-merchant strong,.exclusive-card strong){color:var(--frontier-ivory)}body:has(.ruby-game-shell) :is(.clan-deposit,.clan-withdraw,.clan-ledger) :is(input,select){font-size:16px;background:var(--frontier-deep);border-color:rgb(var(--frontier-line-rgb) / .51);color:var(--frontier-ivory);border-radius:5px}body:has(.ruby-game-shell) .citadel-treasury-balance>span{padding:11px 9px;background:var(--frontier-panel);border-color:rgb(var(--frontier-line-rgb) / .439);border-radius:5px;color:var(--frontier-gold-soft)}body:has(.ruby-game-shell) .citadel-sheet .clan-deposit{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;padding:11px;border:1px solid rgb(var(--frontier-line-rgb) / .38);border-radius:6px}body:has(.ruby-game-shell) .citadel-sheet .clan-deposit label{display:grid;min-width:0;gap:5px;font-size:11px;color:var(--frontier-muted)}body:has(.ruby-game-shell) .citadel-sheet .clan-deposit input{width:100%;min-width:0;min-height:42px}body:has(.ruby-game-shell) .citadel-sheet .clan-deposit button{grid-column:1/-1;min-height:42px}body:has(.ruby-game-shell) .citadel-sheet .clan-withdraw{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:9px;padding:11px;border:1px solid rgb(var(--frontier-line-rgb) / .38);border-radius:6px}body:has(.ruby-game-shell) .citadel-sheet .clan-withdraw label{display:grid;min-width:0;gap:5px;color:var(--frontier-muted);font-size:11px}body:has(.ruby-game-shell) .citadel-sheet .clan-withdraw input{width:100%;min-width:0;min-height:42px}body:has(.ruby-game-shell) .citadel-sheet .clan-withdraw button{min-height:42px;padding:8px 12px;border-radius:5px;color:var(--frontier-gold-soft);background:var(--frontier-selection-deep);border:1px solid rgb(var(--frontier-line-rgb) / .471)}body:has(.ruby-game-shell) .letter-sheet .letter-detail>h2{font-size:22px;color:var(--frontier-ivory)}body:has(.ruby-game-shell) .moderation-sheet{background:linear-gradient(145deg,var(--frontier-panel),var(--frontier-deep) 65%);border-color:rgb(var(--frontier-line-rgb) / .541)}body:has(.ruby-game-shell) .moderation-sheet :is(.moderation-player,.moderation-target-mute,.moderation-confirmation){background:var(--frontier-deep);border-color:rgb(var(--frontier-line-rgb) / .439);color:var(--frontier-muted)}body:has(.ruby-game-shell) .moderation-sheet .moderation-duration-options button{min-height:42px;color:var(--frontier-gold-soft);background:var(--frontier-selection-deep);border-color:rgb(var(--frontier-line-rgb) / .459);border-radius:5px}body:has(.ruby-game-shell) .moderation-sheet .moderation-delete{border-color:rgb(var(--frontier-line-rgb) / .42);color:var(--frontier-ivory);background:var(--frontier-selection-deep)}body:has(.ruby-game-shell) .moderation-sheet .moderation-section-label{color:var(--frontier-muted)}.ruby-game-shell .social-mode-mail .social-empty .text-button{color:var(--frontier-gold-soft)}body:has(.ruby-game-shell) .letter-sheet .letter-address .text-button{color:var(--frontier-gold-soft)}@media(hover:hover){.ruby-game-shell :is(.market-card,.forum-topic-card,.forum-category,.social-mode-mail .mail-list>button):hover{border-color:var(--frontier-gold)}.ruby-game-shell .settings-group .settings-service:hover{background:rgb(var(--frontier-selection-rgb) / .18)}}@media(max-width:350px){.ruby-game-shell :is(.market-screen,.forum-screen,.social-mode-mail)>.social-heading h1{font-size:22px}.ruby-game-shell .market-currency-balance>small{font-size:9px}.ruby-game-shell .market-tools{gap:4px}.ruby-game-shell .market-tools .filter-toggle{padding:7px 6px;font-size:10px}.ruby-game-shell .market-tools .market-help>summary{width:30px}.ruby-game-shell .forum-category{gap:8px;padding:9px;grid-template-columns:30px minmax(0,1fr) auto}.ruby-game-shell .forum-category-icon{width:30px;height:30px}.ruby-game-shell .forum-category-copy>strong{font-size:17px}.ruby-game-shell .forum-category-count{font-size:9px;padding:3px}.ruby-game-shell .forum-post{padding:10px}.ruby-game-shell .forum-post header{flex-wrap:wrap}.ruby-game-shell .forum-post .forum-author{flex:1}.ruby-game-shell .settings-group .settings-service{padding:8px;gap:8px}.ruby-game-shell .settings-group .settings-service strong{font-size:12px}.ruby-game-shell .settings-group .settings-service small{font-size:9px}.ruby-game-shell .social-mode-mail .mail-collect-all>b{font-size:14px}}@media(prefers-reduced-motion:no-preference){.ruby-game-shell :is(.market-card,.forum-topic-card,.forum-category,.settings-service){transition:border-color .15s ease,background-color .15s ease}}.ruby-game-shell :is(.bestiary-screen,.achievements-screen)>.social-heading{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;align-items:center;gap:9px;min-height:40px;margin:0 0 11px;padding:0 0 8px}.ruby-game-shell :is(.bestiary-screen,.achievements-screen)>.social-heading h1{min-width:0;margin:0;font-size:25px;line-height:1.1;color:var(--frontier-ivory)}.ruby-game-shell :is(.bestiary-screen,.achievements-screen)>.social-heading .icon-button{width:36px;height:36px;padding:6px;border:1px solid rgb(var(--frontier-line-rgb) / .439);border-radius:6px;background:rgb(var(--frontier-deep-rgb) / .937);color:var(--frontier-muted)}.ruby-game-shell :is(.bestiary-screen,.achievements-screen) .social-empty{border:1px dashed rgb(var(--frontier-line-rgb) / .502);border-radius:6px;background:rgb(var(--frontier-deep-rgb) / .949);color:var(--frontier-muted)}.ruby-game-shell .army-screen{--muted: var(--frontier-muted);--line: rgb(var(--frontier-line-rgb) / .451)}.ruby-game-shell .army-screen :is(.army-panel,.hangar-panel){background:rgb(var(--frontier-deep-rgb) / .957);border:1px solid rgb(var(--frontier-line-rgb) / .451);border-radius:6px;padding:12px;box-shadow:inset 0 1px rgb(var(--frontier-gold-soft-rgb) / .031)}.ruby-game-shell .army-screen .army-panel{margin-top:0}.ruby-game-shell .army-screen .section-heading{margin-bottom:10px;gap:8px}.ruby-game-shell .army-screen .section-heading h2{font-size:22px;line-height:1.1;margin:0;color:var(--frontier-ivory)}.ruby-game-shell .army-screen .section-heading>span{color:var(--frontier-muted);font-size:11px}.ruby-game-shell .army-screen .army-slot strong{color:var(--frontier-ivory)}.ruby-game-shell .army-screen .slot-unit-name{color:var(--frontier-muted)}.ruby-game-shell .army-screen :is(.army-hint,.compact-hint){margin:9px 0 13px;color:var(--frontier-muted);font-size:11px;line-height:1.5}.ruby-game-shell .army-screen .barracks-panel{margin-top:12px}.ruby-game-shell .army-screen .capacity-meter{height:4px;margin:0 0 10px;border-radius:4px}.ruby-game-shell .army-screen .barracks-upgrade{border-color:rgb(var(--frontier-line-rgb) / .459);border-radius:6px;margin:0 0 10px;background:rgb(var(--frontier-panel-rgb) / .851)}.ruby-game-shell .army-screen .barracks-upgrade>summary{min-height:48px;padding:10px;color:var(--frontier-ivory);background:rgb(var(--frontier-panel-rgb) / .439)}.ruby-game-shell .army-screen .barracks-upgrade>summary small{color:var(--frontier-muted);font-size:10px;line-height:1.35}.ruby-game-shell .army-screen .barracks-upgrade-body{padding:10px;border-color:rgb(var(--frontier-line-rgb) / .412);background:var(--frontier-deep);color:var(--frontier-muted)}.ruby-game-shell .army-screen .barracks-upgrade-body :is(small,p>span){color:var(--frontier-muted)}.ruby-game-shell .army-screen .barracks-upgrade-body strong{color:var(--frontier-ivory)}.ruby-game-shell .army-screen .barracks-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:7px;margin:0 0 8px}.ruby-game-shell .army-screen .barracks-search{min-width:0;min-height:40px;border:1px solid rgb(var(--frontier-line-rgb) / .541);border-radius:5px;background:var(--frontier-deep);color:var(--frontier-muted)}.ruby-game-shell .army-screen .barracks-search input{min-width:0;font-size:16px;min-height:40px;background:transparent;border:0;color:var(--frontier-ivory)}.ruby-game-shell .army-screen .filter-toggle{min-height:40px;padding:7px 9px;font-size:11px;background:var(--frontier-panel);color:var(--frontier-gold-soft);border-color:rgb(var(--frontier-line-rgb) / .459)}.ruby-game-shell .army-screen .barracks-filters{padding:10px;gap:8px;background:var(--frontier-deep);border:1px solid rgb(var(--frontier-line-rgb) / .451);border-radius:6px}.ruby-game-shell .army-screen .barracks-filters label{color:var(--frontier-muted);font-size:11px}.ruby-game-shell .army-screen :is(.barracks-filters,.barracks-results) select{min-width:0;font-size:16px;background:var(--frontier-deep);border-color:rgb(var(--frontier-line-rgb) / .439);color:var(--frontier-ivory);border-radius:5px}.ruby-game-shell .army-screen .barracks-results{min-height:33px;margin:5px 0 8px;gap:8px}.ruby-game-shell .army-screen .barracks-results>span{color:var(--frontier-muted);font-size:11px}.ruby-game-shell .army-screen .roster-row.hangar-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;gap:3px 9px;min-height:66px;padding:9px;border-radius:6px;border:1px solid rgb(var(--frontier-line-rgb) / .451);background:linear-gradient(115deg,rgb(var(--frontier-panel-rgb) / .969),rgb(var(--frontier-deep-rgb) / .98));color:var(--frontier-ivory)}.ruby-game-shell .army-screen .roster-row.hangar-row>.portrait{grid-column:1;grid-row:1/3;width:42px;height:42px;border-color:var(--frontier-line)}.ruby-game-shell .army-screen .barracks-unit-name{grid-column:2;grid-row:1/3;min-width:0}.ruby-game-shell .army-screen .barracks-unit-name strong{color:var(--frontier-ivory);font-size:13px;line-height:1.3}.ruby-game-shell .army-screen .barracks-unit-name small{color:var(--frontier-muted);font-size:10px;line-height:1.4}.ruby-game-shell .army-screen .roster-row.hangar-row>b{grid-column:3;grid-row:1;font-size:15px;color:var(--frontier-ivory);text-align:right}.ruby-game-shell .army-screen .roster-row.hangar-row>span:last-child{grid-column:3;grid-row:2;font-size:10px;color:var(--frontier-muted);text-align:right}body:has(.ruby-game-shell) :is(.army-stack-sheet,.army-slot-sheet,.bestiary-unit-sheet,.bestiary-compare-sheet){background:linear-gradient(145deg,var(--frontier-panel),var(--frontier-deep) 68%);border-color:rgb(var(--frontier-line-rgb) / .522);color:var(--frontier-ivory)}body:has(.ruby-game-shell) .unit-card .unit-card-identity{padding:11px;gap:12px;border-radius:6px;border-color:rgb(var(--frontier-line-rgb) / .502);background:radial-gradient(ellipse at 5% 40%,rgb(var(--frontier-selection-rgb) / .2),transparent 65%),var(--frontier-panel)}body:has(.ruby-game-shell) .unit-card .unit-card-medallion .portrait{width:66px;height:66px;border-color:var(--frontier-line)}body:has(.ruby-game-shell) .unit-card .unit-card-medallion>span:last-child{background:var(--frontier-selection-deep);border-color:var(--frontier-gold);color:var(--frontier-ivory);border-radius:4px}body:has(.ruby-game-shell) .unit-card .unit-card-identity h3{margin:5px 0 7px;font-size:24px;line-height:1.1;color:var(--frontier-ivory)}body:has(.ruby-game-shell) .unit-card .unit-card-identity small{color:var(--frontier-muted)}body:has(.ruby-game-shell) .unit-card .unit-card-status{color:#accbb9}body:has(.ruby-game-shell) .unit-card .unit-card-vitals{gap:8px;background:transparent;border:0;box-shadow:none}body:has(.ruby-game-shell) .unit-card .unit-card-vitals>div{border:1px solid rgb(var(--frontier-line-rgb) / .42);border-radius:6px;background:var(--frontier-deep);color:var(--frontier-muted);padding:10px}body:has(.ruby-game-shell) .unit-card .unit-card-vitals small{color:var(--frontier-muted)}body:has(.ruby-game-shell) .unit-card .unit-card-vitals strong{color:var(--frontier-ivory);font-size:18px}body:has(.ruby-game-shell) .unit-card .unit-card-stats-heading{color:var(--frontier-muted);margin:13px 0 8px}body:has(.ruby-game-shell) .unit-card .unit-attributes{border:0;background:transparent;box-shadow:none}body:has(.ruby-game-shell) .unit-card .unit-attributes>div{background:var(--frontier-deep);border-color:rgb(var(--frontier-line-rgb) / .439);border-radius:5px}body:has(.ruby-game-shell) .unit-card .unit-attributes small{color:var(--frontier-muted)}body:has(.ruby-game-shell) .unit-card .unit-attributes strong{color:var(--frontier-ivory)}body:has(.ruby-game-shell) .unit-card :is(.unit-card-note,.unit-card-started){color:var(--frontier-muted)}body:has(.ruby-game-shell) .unit-card .unit-card-disclosure{border-color:rgb(var(--frontier-line-rgb) / .451);border-radius:5px;background:var(--frontier-panel)}body:has(.ruby-game-shell) .unit-card .unit-card-disclosure>summary{color:var(--frontier-muted);background:var(--frontier-panel)}body:has(.ruby-game-shell) .unit-card .army-bonuses{border-color:rgb(var(--frontier-line-rgb) / .451);background:var(--frontier-deep)}body:has(.ruby-game-shell) .unit-card .army-bonuses>summary{color:var(--frontier-muted);background:var(--frontier-panel)}body:has(.ruby-game-shell) .army-stack-sheet .stack-actions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin:12px 0}body:has(.ruby-game-shell) .army-stack-sheet .stack-actions>button{grid-column:span 2;min-width:0;min-height:35px;padding:7px 3px;font-size:12px;border-radius:5px;background:var(--frontier-panel);border-color:rgb(var(--frontier-line-rgb) / .475);color:var(--frontier-muted)}body:has(.ruby-game-shell) .army-stack-sheet .stack-actions>button:nth-last-child(-n+2){grid-column:span 3}body:has(.ruby-game-shell) .army-stack-sheet .stack-actions>button.selected{color:var(--frontier-ivory);border-color:var(--frontier-gold);background:linear-gradient(120deg,var(--frontier-selection),var(--frontier-selection-deep))}body:has(.ruby-game-shell) .army-stack-sheet .army-transfer-preview{background:var(--frontier-panel);border-color:rgb(var(--frontier-line-rgb) / .486);color:var(--frontier-muted);border-radius:6px}body:has(.ruby-game-shell) :is(.army-stack-sheet,.army-slot-sheet) .army-hint{color:var(--frontier-muted)}body:has(.ruby-game-shell) .army-stack-sheet .visual-target-slots button{background:var(--frontier-panel);border-color:rgb(var(--frontier-line-rgb) / .451)}body:has(.ruby-game-shell) .army-stack-sheet .visual-target-slots button.selected{border-color:var(--frontier-gold);background:var(--frontier-selection-deep)}body:has(.ruby-game-shell) .army-stack-sheet .visual-target-slots legend{color:var(--frontier-muted)}body:has(.ruby-game-shell) .army-stack-sheet .target-slot-number{color:var(--frontier-gold-soft);border-color:var(--frontier-line);background:var(--frontier-panel)}body:has(.ruby-game-shell) .army-slot-sheet .roster-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:10px;padding:9px;border-radius:6px;border-color:rgb(var(--frontier-line-rgb) / .502);background:var(--frontier-panel);color:var(--frontier-ivory);font-size:13px}body:has(.ruby-game-shell) .army-slot-sheet .roster-row .portrait{width:40px;height:40px}.ruby-game-shell .bestiary-screen .bestiary-book{color:var(--frontier-muted)}.ruby-game-shell .bestiary-screen .bestiary-search{min-height:40px;margin:0 0 10px;border:1px solid rgb(var(--frontier-line-rgb) / .502);border-radius:6px;background:rgb(var(--frontier-deep-rgb) / .961);color:var(--frontier-muted)}.ruby-game-shell .bestiary-screen .bestiary-search input{font-size:16px;min-width:0;min-height:40px;background:transparent;border:0;color:var(--frontier-ivory)}.ruby-game-shell .bestiary-screen .bestiary-filters{gap:9px;margin-bottom:9px}.ruby-game-shell .bestiary-screen .bestiary-filters label{gap:5px;color:var(--frontier-muted);font-size:11px}.ruby-game-shell .bestiary-screen :is(.bestiary-filters select,.bestiary-view-controls select){font-size:16px;min-width:0;min-height:38px;border-color:rgb(var(--frontier-line-rgb) / .475);border-radius:5px;background:rgb(var(--frontier-deep-rgb) / .961);color:var(--frontier-ivory)}.ruby-game-shell .bestiary-screen .bestiary-view-controls{gap:6px;margin-top:0}.ruby-game-shell .bestiary-screen .bestiary-view-controls button{min-height:38px;border:1px solid rgb(var(--frontier-line-rgb) / .486);background:var(--frontier-panel);color:var(--frontier-muted);border-radius:5px}.ruby-game-shell .bestiary-screen .bestiary-view-controls button[aria-pressed=true]{border-color:var(--frontier-gold);background:var(--frontier-selection-deep);color:var(--frontier-ivory)}.ruby-game-shell .bestiary-screen .bestiary-results{min-height:29px;margin:6px 0;color:var(--frontier-muted);font-size:11px}.ruby-game-shell .bestiary-screen .bestiary-grid{gap:9px}.ruby-game-shell .bestiary-screen .bestiary-portrait{margin-bottom:3px}.ruby-game-shell .bestiary-screen .bestiary-card{padding:11px 9px 9px;min-width:0;border:1px solid rgb(var(--frontier-line-rgb) / .502);border-radius:7px;background:radial-gradient(ellipse at 50% 8%,rgb(var(--frontier-selection-rgb) / .149),transparent 60%),rgb(var(--frontier-deep-rgb) / .961);color:var(--frontier-ivory);box-shadow:inset 0 1px rgb(var(--frontier-gold-soft-rgb) / .11)}.ruby-game-shell .bestiary-screen .bestiary-portrait>.portrait{width:60px;height:60px;border-color:var(--frontier-line)}.ruby-game-shell .bestiary-screen .bestiary-tier{min-width:28px;width:auto;height:21px;padding:2px 5px;border-radius:5px;border-color:var(--frontier-gold);background:var(--frontier-selection-deep);color:var(--frontier-ivory);font-size:10px}.ruby-game-shell .bestiary-screen .bestiary-card>strong{min-height:28px;margin:5px 0 0;color:var(--frontier-ivory);font-size:14px;line-height:1.2}.ruby-game-shell .bestiary-screen .bestiary-card>small{margin:4px 0 8px;color:var(--frontier-muted);font-size:10px}.ruby-game-shell .bestiary-screen .bestiary-preview{padding-top:8px;border-color:rgb(var(--frontier-line-rgb) / .38);color:var(--frontier-muted);font-size:11px;gap:6px}.ruby-game-shell .bestiary-screen .bestiary-card[aria-pressed=true]{border-color:var(--frontier-gold);background:radial-gradient(ellipse at 50% 20%,rgb(var(--frontier-selection-rgb) / .4),transparent 80%),rgb(var(--frontier-panel-rgb) / .961);box-shadow:inset 0 0 0 1px rgb(var(--frontier-gold-soft-rgb) / .502),0 0 12px rgb(var(--frontier-gold-soft-rgb) / .098)}.ruby-game-shell .bestiary-screen .bestiary-list .bestiary-card{gap:5px 10px;padding:9px}.ruby-game-shell .bestiary-screen .bestiary-list .bestiary-portrait>.portrait{width:48px;height:48px}.ruby-game-shell .bestiary-screen .bestiary-list .bestiary-card>strong{min-height:0;margin:0}.ruby-game-shell .bestiary-screen .bestiary-list .bestiary-card>small{margin:0}.ruby-game-shell .bestiary-screen .bestiary-compare-tray{padding:9px;border:1px solid rgb(var(--frontier-line-rgb) / .565);border-radius:6px;background:rgb(var(--frontier-panel-rgb) / .969);box-shadow:0 -5px 20px rgb(var(--frontier-canvas-rgb) / .702)}body:has(.ruby-game-shell) .bestiary-compare-sheet .unit-comparison-heading{border-color:rgb(var(--frontier-line-rgb) / .412);color:var(--frontier-muted)}body:has(.ruby-game-shell) .bestiary-compare-sheet .unit-comparison-heading>span{color:var(--frontier-muted)}body:has(.ruby-game-shell) .bestiary-compare-sheet .unit-comparison-heading strong{color:var(--frontier-ivory);font-size:13px;line-height:1.3}body:has(.ruby-game-shell) .bestiary-compare-sheet .unit-comparison-heading small{color:var(--frontier-muted)}body:has(.ruby-game-shell) .bestiary-compare-sheet .unit-comparison-table{border-color:rgb(var(--frontier-line-rgb) / .412);border-radius:6px;background:var(--frontier-deep)}body:has(.ruby-game-shell) .bestiary-compare-sheet .unit-comparison-table>div{border-color:rgb(var(--frontier-line-rgb) / .31)}body:has(.ruby-game-shell) .bestiary-compare-sheet .unit-comparison-table strong{color:var(--frontier-muted)}body:has(.ruby-game-shell) .bestiary-compare-sheet .unit-comparison-table b{color:var(--frontier-ivory)}body:has(.ruby-game-shell) .bestiary-compare-sheet .unit-comparison-table .better{background:#1c372a75}body:has(.ruby-game-shell) .bestiary-compare-sheet .unit-comparison-table .worse{background:rgb(var(--frontier-selection-deep-rgb) / .459)}body:has(.ruby-game-shell) .bestiary-unit-sheet .bestiary-base-price{color:var(--frontier-muted);border-color:rgb(var(--frontier-line-rgb) / .439);background:var(--frontier-panel)}.ruby-game-shell .achievements-screen{padding-inline:14px;padding-bottom:14px}.ruby-game-shell .achievements-screen .achievement-overview{min-height:76px;gap:11px;padding:12px;border:1px solid rgb(var(--frontier-line-rgb) / .502);border-radius:7px;background:linear-gradient(115deg,rgb(var(--frontier-selection-deep-rgb) / .937),rgb(var(--frontier-deep-rgb) / .969));color:var(--frontier-ivory)}.ruby-game-shell .achievements-screen .achievement-emblem{width:38px;height:38px;border-radius:6px;border-color:rgb(var(--frontier-line-rgb) / .518);color:var(--frontier-gold-soft);background:var(--frontier-panel)}.ruby-game-shell .achievements-screen .achievement-emblem svg{width:22px;height:22px}.ruby-game-shell .achievements-screen .achievement-overview strong{color:var(--frontier-ivory);font-size:18px;line-height:1.2}.ruby-game-shell .achievements-screen .achievement-overview small{color:var(--frontier-muted);font-size:10px;line-height:1.4}.ruby-game-shell .achievements-screen .achievement-overview b{color:var(--frontier-ivory);font-size:24px}.ruby-game-shell .achievements-screen .achievement-filters{display:flex;padding:3px;gap:4px;margin:10px 0;border:1px solid rgb(var(--frontier-line-rgb) / .463);background:rgb(var(--frontier-deep-rgb) / .961);border-radius:6px}.ruby-game-shell .achievements-screen .achievement-filters button{flex:1;min-width:0;min-height:34px;padding:6px 4px;border-color:transparent;border-radius:4px;font-size:11px;color:var(--frontier-muted);background:transparent}.ruby-game-shell .achievements-screen .achievement-filters button[aria-pressed=true]{background:var(--frontier-selection);border-color:var(--frontier-gold);color:var(--frontier-ivory)}.ruby-game-shell .achievements-screen .achievement-filters b{background:var(--frontier-selection);color:var(--frontier-muted)}.ruby-game-shell .achievements-screen .achievement-list{gap:9px}.ruby-game-shell .achievements-screen .achievement-card{gap:10px;padding:12px;min-width:0;border:1px solid rgb(var(--frontier-line-rgb) / .459);border-radius:6px;background:rgb(var(--frontier-deep-rgb) / .969);color:var(--frontier-muted)}.ruby-game-shell .achievements-screen .achievement-card.is-ready{border-left:3px solid var(--frontier-gold);border-color:rgb(var(--frontier-line-rgb) / .549);box-shadow:inset 2px 0 var(--frontier-gold-soft);background:linear-gradient(115deg,rgb(var(--frontier-selection-deep-rgb) / .961),rgb(var(--frontier-deep-rgb) / .973))}.ruby-game-shell .achievements-screen .achievement-card.is-claimed{background:rgb(var(--frontier-deep-rgb) / .949);border-color:rgb(var(--frontier-line-rgb) / .478)}.ruby-game-shell .achievements-screen .achievement-icon{width:32px;height:32px;border-radius:5px;border-color:rgb(var(--frontier-line-rgb) / .471);background:var(--frontier-panel);color:var(--frontier-gold-soft)}.ruby-game-shell .achievements-screen .achievement-icon.is-mythic{color:#f1acbb;background:#4a2033;border-color:#b56b8580}.ruby-game-shell .achievements-screen .achievement-content h2{color:var(--frontier-ivory);font-size:19px;line-height:1.15}.ruby-game-shell .achievements-screen .achievement-content>p{color:var(--frontier-muted);font-size:11px;line-height:1.4}.ruby-game-shell .achievements-screen .achievement-progress-label{color:var(--frontier-muted);font-size:9px;line-height:1.3}.ruby-game-shell .achievements-screen .achievement-progress-label b{color:var(--frontier-muted)}.ruby-game-shell .achievements-screen .achievement-card progress{height:4px;border-radius:4px;background:var(--frontier-panel);accent-color:var(--frontier-gold)}.ruby-game-shell .achievements-screen .achievement-card progress::-webkit-progress-bar{background:var(--frontier-panel);border-radius:4px}.ruby-game-shell .achievements-screen .achievement-card progress::-webkit-progress-value{background:linear-gradient(90deg,var(--frontier-progress),var(--frontier-gold-soft));border-radius:4px}.ruby-game-shell .achievements-screen .achievement-card progress::-moz-progress-bar{background:linear-gradient(90deg,var(--frontier-progress),var(--frontier-gold-soft));border-radius:4px}.ruby-game-shell .achievements-screen .achievement-reward{color:var(--frontier-gold-soft);min-width:57px}.ruby-game-shell .achievements-screen .achievement-reward>span{color:var(--frontier-gold-soft);font-size:13px}.ruby-game-shell .achievements-screen .achievement-reward .primary-button{min-height:34px;padding:7px 10px;font-size:11px;border-radius:5px}.ruby-game-shell .achievements-screen .achievement-reward>small{color:var(--frontier-muted)}.ruby-game-shell .achievements-screen .achievement-notice{background:rgb(var(--frontier-panel-rgb) / .961);border-color:rgb(var(--frontier-line-rgb) / .502)}.ruby-game-shell .achievements-screen :is(.achievement-footnote,.achievement-notice){color:var(--frontier-muted);font-size:11px;line-height:1.5}@media(max-width:350px){.ruby-game-shell :is(.bestiary-screen,.achievements-screen)>.social-heading h1{font-size:22px}.ruby-game-shell .army-screen .roster-row.hangar-row{grid-template-columns:36px minmax(0,1fr) auto;gap:3px 7px;padding:8px}.ruby-game-shell .army-screen .roster-row.hangar-row>.portrait{width:36px;height:36px}.ruby-game-shell .army-screen .barracks-unit-name strong{font-size:12px}.ruby-game-shell .army-screen .roster-row.hangar-row>b{font-size:14px}.ruby-game-shell .bestiary-screen .bestiary-view-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 64px;gap:4px}.ruby-game-shell .bestiary-screen .bestiary-view-controls [role=group] button{width:30px}.ruby-game-shell .bestiary-screen .bestiary-card{padding:10px 7px 8px}.ruby-game-shell .bestiary-screen .bestiary-portrait>.portrait{width:60px;height:60px}.ruby-game-shell .achievements-screen .achievement-overview{gap:8px;padding:10px}.ruby-game-shell .achievements-screen .achievement-overview strong{font-size:16px}.ruby-game-shell .achievements-screen .achievement-overview small{font-size:9px}.ruby-game-shell .achievements-screen .achievement-emblem{display:none}.ruby-game-shell .achievements-screen .achievement-card{padding:10px;gap:8px}.ruby-game-shell .achievements-screen .achievement-icon{width:28px;height:28px}.ruby-game-shell .achievements-screen .achievement-content h2{font-size:17px}body:has(.ruby-game-shell) .army-stack-sheet .stack-actions>button{font-size:11px}}@media(hover:hover){.ruby-game-shell :is(.bestiary-card,.roster-row.hangar-row):hover{border-color:var(--frontier-gold)}}.frontier-icon{display:block;flex:0 0 auto;width:44px;height:44px;background-image:url(/art/navigation/frontier-v1.webp);background-repeat:no-repeat;background-size:400% 400%;background-position:calc(var(--icon-column) * 100% / 3) calc(var(--icon-row) * 100% / 3)}.game-shell .frontier-nav{z-index:30;isolation:isolate;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:5px 7px calc(6px + max(env(safe-area-inset-bottom,0px),var(--telegram-safe-bottom, 0px)));border-top:1px solid #b09b6a9c;background:linear-gradient(180deg,#151a20f5,#080d14 80%);box-shadow:0 -4px 16px #04080db3,inset 0 2px #ead9a417}.game-shell .frontier-nav:before{content:"";position:absolute;inset:3px 4px auto;height:6px;border:1px solid #b9a06a70;border-bottom:0;clip-path:polygon(0 100%,1.5% 0,98.5% 0,100% 100%);pointer-events:none}.game-shell .frontier-nav .primary-navigation-button{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:65px;padding:4px 2px 1px;gap:1px;border:0;border-radius:0;box-shadow:none;background:transparent;color:#d7d0c4;font:600 15px/17px Cormorant Garamond,Georgia,serif;text-shadow:0 1px 3px #000}.game-shell .frontier-nav .primary-navigation-button+.primary-navigation-button:before{content:"";position:absolute;left:0;top:16px;bottom:12px;width:1px;background:linear-gradient(transparent,#b5a47b40,transparent)}.frontier-nav .navigation-symbol{position:relative;width:44px;height:44px;filter:saturate(.68) brightness(.9);transition:filter .18s}.game-shell .frontier-nav .primary-navigation-button:is(.selected,.is-open){color:#f2d994;background:radial-gradient(ellipse at 50% 70%,#a982282c,transparent 72%);text-shadow:0 0 9px #cfad5b55,0 1px 3px #000}.frontier-nav .primary-navigation-button:is(.selected,.is-open) .navigation-symbol{filter:brightness(1.12) saturate(1) drop-shadow(0 0 5px #f3ce6a55)}.frontier-nav .nav-unread-dot{top:1px;right:0;width:8px;height:8px;background:#f04740;box-shadow:0 0 0 2px #111820,0 0 5px #e43c3b55}.game-shell .frontier-nav:has(.navigation-menu){z-index:95}.game-shell .frontier-nav :focus-visible{outline-color:#f0d79a}.game-shell .frontier-nav .navigation-menu-dismiss{position:fixed;inset:0;z-index:0;display:block;width:100vw;height:100dvh;min-height:0;max-width:none;margin:0;padding:0;border:0;border-radius:0;background:linear-gradient(90deg,#02070c1a,#02070c66);box-shadow:none;cursor:default}.game-shell .frontier-nav .navigation-menu{position:absolute;z-index:3;right:8px;bottom:calc(100% + 8px);display:flex;flex-direction:column;gap:5px;width:158px;max-width:calc(100vw - 24px);max-height:calc(min(100dvh,var(--telegram-viewport-height, 100dvh)) - max(env(safe-area-inset-top,0px),var(--telegram-safe-top, 0px)) - max(env(safe-area-inset-bottom,0px),var(--telegram-safe-bottom, 0px)) - 100px);padding:7px;overflow:auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#9f8b64 #101720;border:1px solid #b39b698f;border-radius:9px 9px 4px;background:linear-gradient(100deg,#10141cea,#111820f7);box-shadow:0 8px 28px #000a,inset 0 1px #f0deb72b;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);transform-origin:bottom right}.game-shell .frontier-nav .navigation-menu>button{display:flex;flex:0 0 auto;flex-direction:row;align-items:center;justify-content:flex-end;min-height:48px;width:100%;min-width:0;gap:8px;margin:0;padding:3px 4px 3px 7px;border:1px solid #a7946e33;border-radius:5px;background:linear-gradient(90deg,#1a20264d,#30332c50);box-shadow:none;color:#eee0bd;font:600 16px/18px Cormorant Garamond,Georgia,serif;text-shadow:0 1px 3px #000}.navigation-menu-label{text-align:right}.navigation-menu-symbol{position:relative;flex:0 0 auto;width:40px;height:40px}.navigation-menu-symbol .frontier-icon{width:40px;height:40px}.game-shell.chat-shell .frontier-nav{position:relative;left:auto;bottom:auto;transform:none}.game-shell.chat-shell.chat-keyboard-open>.frontier-nav{display:none}.ruby-location-screen .home-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:4px 0 6px;border-top:1px solid #c5ab6a55;background:linear-gradient(180deg,#080e1566,#080e15cf)}.ruby-location-screen .home-action{display:flex;flex-direction:row;align-items:center;justify-content:center;min-height:44px;padding:2px 3px;gap:5px;border:0;border-radius:0;color:#ece2cc;background:transparent;box-shadow:none}.ruby-location-screen .home-action+.home-action{border-left:1px solid #aa97663d}.ruby-location-screen .home-action>.frontier-icon{width:36px;height:36px}.ruby-location-screen .home-action>span:last-child{height:auto;overflow:visible;font:600 15px/18px Cormorant Garamond,Georgia,serif;white-space:nowrap;text-overflow:clip}@media(max-width:350px){.game-shell .frontier-nav{padding-inline:4px}.game-shell .frontier-nav .primary-navigation-button{min-height:61px;font-size:14px}.frontier-nav .navigation-symbol,.frontier-nav .navigation-symbol .frontier-icon{width:40px;height:40px}.ruby-location-screen .home-action>.frontier-icon{width:31px;height:31px}.ruby-location-screen .home-action>span:last-child{font-size:14px}}@media(hover:hover){.game-shell .frontier-nav .navigation-menu>button:hover{border-color:#d0b979;background:#65563055}}@media(prefers-reduced-motion:reduce){.frontier-nav .navigation-symbol{transition:none}}.game-shell.ruby-game-shell .hero-bar-ruby .hero-avatar-button .portrait{border-color:#d1bc82;box-shadow:0 0 0 2px #172220b0,0 2px 9px #000a}.game-shell.ruby-game-shell .hero-bar-ruby .hero-identity strong{color:#fff5db}.game-shell.ruby-game-shell .hero-bar-ruby .hero-bar-level{color:#e4dfcf}.hero-bar-ruby .hero-mini-xp-track{border-color:#d5c39588;border-radius:2px;background:#0a141de6}.hero-bar-ruby .hero-mini-xp-track>span{background:linear-gradient(90deg,#2582b9,#8cdaef);box-shadow:0 0 5px #8ed5f05e}.hud-currency{display:inline-block;flex:0 0 23px;width:23px;height:25px;background:url(/art/navigation/currencies-v1.webp) no-repeat;background-size:200% 100%}.hud-currency-gold{background-position:0 50%}.hud-currency-iridium{background-position:100% 50%;flex-basis:26px;width:26px;height:29px}.game-shell.ruby-game-shell .hero-bar-ruby :is(.gold,.resource-iridium){gap:3px;height:31px;padding:0 8px 0 5px;border-color:#c6b4819e;border-radius:4px;background:linear-gradient(180deg,#24303bbd,#0b1621de);clip-path:polygon(8px 0,calc(100% - 8px) 0,100% 50%,calc(100% - 8px) 100%,8px 100%,0 50%);box-shadow:inset 0 1px #ead8a226;color:#fff5df}.game-shell.ruby-game-shell .hero-bar-ruby .hero-mail-alert{color:#edcf87;border-color:#c7ae7080;background:#0e2024cc;border-radius:50%}.game-shell.ruby-game-shell .hero-bar-ruby .active-effects small{color:#ded5ba}.world-shell:before{background:linear-gradient(180deg,#020a121c,transparent 28%,#020a1209 65%,#020b1459 100%)}.world-footer{background:linear-gradient(transparent,#07111ac2)}.ruby-location-screen{padding-top:2px}.ruby-location-screen .world-content{scrollbar-color:#a89463 #0c1720}.ruby-location-screen .landscape h1{color:#fff5d9;text-shadow:0 2px 6px #000b,0 1px 2px #000}.ruby-location-screen .location-badge{border-color:#c1b17b91;background:#0b1721cc;color:#f3ebd5;border-radius:0;clip-path:polygon(4px 0,calc(100% - 4px) 0,100% 50%,calc(100% - 4px) 100%,4px 100%,0 50%)}.ruby-location-screen .world-status-bar{justify-content:flex-start;margin-top:0}.ruby-location-screen .territory-event{min-height:29px;padding:5px 10px;border-color:#b8ac7f85;background:linear-gradient(90deg,#072b3bea,#0a1925d9);color:#e3ecdd;font:600 14px/17px Cormorant Garamond,Georgia,serif}.ruby-location-screen .territory-event strong{color:#f5ecd3}.ruby-location-screen .territory-event-bonus{font:500 13px/17px Cormorant Garamond,Georgia,serif;color:#c7e4e9}.ruby-location-screen .territory-event>svg:first-child{color:#9ad7f4;filter:drop-shadow(0 0 4px #2378c27a)}.ruby-location-screen .story-objective.story-objective-compact{margin-left:auto;border-radius:50%;border-color:#c0a66e96;background:#102019dc;box-shadow:inset 0 1px #e5cf9633,0 2px 5px #0006}.ruby-location-screen .story-objective-compact .story-seal{color:#e2c685}.ruby-location-screen .story-objective-compact.is-ready{border-color:#e6cc88;box-shadow:0 0 7px #e2bc5959}.ruby-location-screen .story-objective-compact.is-ready:after{background:#f4cf78}.ruby-location-screen .quest-entry{min-height:51px;height:51px;padding:4px 6px 4px 3px;gap:8px;border-color:#bbab7a85;border-radius:25px 3px 3px 25px;background:linear-gradient(90deg,#0b191cf0,#0b151dc9);box-shadow:inset 0 1px #e5d4ab1c,0 2px 5px #0006}.ruby-location-screen .quest-entry .portrait{flex-basis:41px;width:41px;height:41px;border-radius:50%;border-color:#d2bc7e}.ruby-location-screen .quest-entry strong{color:#fff0d2;font-size:16px;line-height:18px}.ruby-location-screen .quest-entry small{color:#c7d0c3;font-size:9px}.ruby-location-screen .quest-entry>b{color:#dbc58e}.ruby-location-screen .world-service-icon,.ruby-location-screen .world-nearby .nearby-entry{border-radius:50%;border-color:#ad9b6c99;background:#0c1a21dd;color:#e8d5a7}.ruby-location-screen .world-service-icon .portrait{border-radius:50%}.ruby-location-screen .world-service-caption{color:#e2d5ba}.ruby-location-screen .world-journal>i{background:#f2cb70;box-shadow:0 0 4px #d8ae54}.ruby-location-screen .world-nearby .nearby-panel[open]{border-color:#b8a47b;background:#0d1a22f5}.ruby-location-screen .world-discoveries .encounter{border-color:#bcab7480;background:linear-gradient(110deg,#182b2fe6,#0c1824e6);border-radius:5px}.ruby-location-screen .world-discoveries .encounter-info strong{color:#f0ddb1}.ruby-location-screen .world-discoveries .encounter-info small{color:#c1cbca}.ruby-location-screen .encounters{display:flex;flex-direction:column;flex:0 1 auto;min-height:0;max-height:clamp(164px,29dvh,270px);padding-bottom:5px}.ruby-location-screen .encounters>.section-heading{flex:0 0 auto;min-height:29px;margin-bottom:5px}.ruby-location-screen .encounters h2{color:#fff0cf;font-size:23px;line-height:27px}.ruby-location-screen .encounters>.section-heading:after{content:"";flex:1;order:1;height:1px;background:linear-gradient(90deg,#d3bb7da3,#bba87426)}.ruby-location-screen .encounters>.section-heading>.tiny{order:2;color:#d6cfba;font-size:8px}.ruby-location-screen .encounter-list{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;gap:7px;width:100%;margin:0;padding:2px 3px 3px 1px;overflow-x:hidden;overflow-y:auto;scroll-snap-type:none;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#b8a36a90 #0d182270}.ruby-location-screen .encounter-list .location-encounter-slot{display:block;flex:0 0 auto;width:100%;min-width:0;scroll-snap-align:none}.ruby-location-screen .encounter.enemy{display:block;min-height:70px;border-color:#b5a06b9c;border-radius:35px 3px 3px 35px;background-color:#0b1720;background-size:100% 100%,auto 190%;background-position:center,right 44%;background-repeat:no-repeat;box-shadow:inset 0 1px #e9d49d20,0 2px 4px #0006}.ruby-location-screen .enemy-inspect{display:grid;grid-template-columns:56px minmax(0,1fr);align-items:center;gap:11px;min-height:70px;width:100%;margin:0;padding:5px 92px 5px 5px;overflow:visible}.ruby-location-screen .enemy-inspect>.portrait{position:relative;inset:auto;width:56px;height:56px;border:1px solid #d0b87e;border-radius:50%;background:#0b151d;box-shadow:0 0 0 2px #1d292ac9,0 2px 4px #0008}.ruby-location-screen .enemy-inspect>.portrait img{object-fit:contain;object-position:center;padding:2px}.ruby-location-screen .enemy-inspect>.encounter-info{display:block;min-width:0;min-height:0;margin:0;padding:0;background:none}.ruby-location-screen .encounter.enemy .encounter-info strong{margin-bottom:2px;font-size:19px;line-height:21px;color:#fbefd3;overflow-wrap:anywhere}.ruby-location-screen .encounter.enemy .encounter-info .unit-count{display:inline;margin-right:7px;font-size:12px;line-height:16px;color:#f0e5ca}.ruby-location-screen .encounter.enemy small{display:inline;color:#bcc8c6;font-size:9px;line-height:13px}.ruby-location-screen .encounter.enemy small+small{display:block;color:#a3b0b1;font-size:8px;line-height:11px}.ruby-location-screen .encounter-attack{position:absolute;z-index:2;top:50%;right:6px;transform:translateY(-50%);width:80px;min-height:40px;margin:0;padding:7px 4px;border:1px solid #c3af7891;border-radius:3px;background:linear-gradient(#233c40e6,#10232de6);color:#f0dba7;font:700 15px/20px Cormorant Garamond,Georgia,serif;box-shadow:inset 0 1px #f1d99d21}.ruby-location-screen .empty-message{color:#d4dacd;background:#0b1720c4}.world-shell :focus-visible{outline-color:#efd597}body:has(.ruby-game-shell)>.sheet-backdrop>.sheet:not(.page-sheet){--muted: #acb8b8;--line: #a8946873;border-color:#bda5759e;background:linear-gradient(145deg,#1b2c33,#0b1721 70%);color:#e5e2d4}body:has(.ruby-game-shell)>.sheet-backdrop>.sheet:not(.page-sheet)>.section-heading h2{color:#f0e1bd}body:has(.ruby-game-shell)>.sheet-backdrop .sheet-fixed-footer{background:#0b1822;border-color:#a8946873}body:has(.ruby-game-shell)>.sheet-backdrop .icon-button{color:#dfd2b0;border-color:#af9c746b}body:has(.ruby-game-shell) .unit-card .unit-card-identity{background:#12242d;border-color:#aa986e80}body:has(.ruby-game-shell) .unit-card .unit-card-identity h3{color:#f5e6c6}body:has(.ruby-game-shell) .unit-card .unit-card-identity small{color:#b2c0c1}body:has(.ruby-game-shell) .unit-card .unit-card-medallion .portrait{border-color:#bca873}body:has(.ruby-game-shell) .unit-card .unit-card-medallion>span:last-child{background:#1e3034;color:#e8d49d;border-color:#c2aa74}body:has(.ruby-game-shell) .unit-card .unit-attributes>div{background:#0e1d28;border-color:#978a6973}body:has(.ruby-game-shell) .unit-card .unit-attributes strong{color:#efe1c0}body:has(.ruby-game-shell) .unit-card .unit-attributes small{color:#b7c0be}body:has(.ruby-game-shell) .unit-card .unit-card-stats-heading{color:#d5d5c6}body:has(.ruby-game-shell) .unit-card :is(.unit-card-note,.unit-card-started){color:#a9b5b4}body:has(.ruby-game-shell) .unit-card :is(.army-bonuses,.unit-card-disclosure){background:#10212b;border-color:#a8946873}body:has(.ruby-game-shell) .unit-card :is(.army-bonuses,.unit-card-disclosure)>summary{background:#192d34;color:#dfd2ae}body:has(.ruby-game-shell) .unit-card .unit-card-vitals>div{background:#0e1d28;border-color:#978a6973;color:#c5c7b9}body:has(.ruby-game-shell) .unit-card .unit-card-vitals strong{color:#efe1c0}body:has(.ruby-game-shell) .unit-card .unit-card-vitals small{color:#adbcbe}@media(max-width:350px){.ruby-location-screen .territory-event-bonus{display:none}.game-shell.ruby-game-shell .hero-bar-ruby :is(.gold,.resource-iridium){padding-inline:4px;gap:1px}.hud-currency{flex-basis:20px;width:20px;height:23px}.ruby-location-screen .quest-entry{gap:5px}.ruby-location-screen .quest-entry .portrait{flex-basis:35px;width:35px;height:35px}.ruby-location-screen .quest-entry strong{font-size:14px}.ruby-location-screen .enemy-inspect{gap:8px;padding-right:81px;grid-template-columns:48px minmax(0,1fr);min-height:66px}.ruby-location-screen .enemy-inspect>.portrait{width:48px;height:48px}.ruby-location-screen .encounter.enemy .encounter-info strong{font-size:17px;line-height:19px}.ruby-location-screen .encounters h2{font-size:21px}.ruby-location-screen .encounter-attack{width:70px;font-size:14px}}@media(max-height:650px){.ruby-location-screen .world-scene{flex-basis:100px;min-height:100px}}.world-quick-services{display:flex;flex:0 0 auto;align-items:flex-end;gap:4px}.world-service-emblem{display:grid;flex:0 0 auto;place-items:center;width:39px;height:39px;border:1px solid #bba66f9e;border-radius:50%;background:linear-gradient(135deg,#1f353a,#0b1a25);box-shadow:inset 0 1px #e6cd9633,0 2px 4px #0006}.world-service-art{display:block;width:36px;height:36px;background:url(/art/navigation/world-services-v1.webp) no-repeat;background-size:300% 100%}.world-service-art-recruiter{background-position:0 50%}.world-service-art-journal{background-position:50% 50%}.world-service-art-players{background-position:100% 50%}.ruby-location-screen .world-services{gap:6px}.ruby-location-screen .world-services .quest-entry{height:auto;min-height:58px;padding-block:5px}.ruby-location-screen .world-services .quest-entry strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;font-size:15px;line-height:17px}.ruby-location-screen .world-services .world-service-icon,.ruby-location-screen .world-nearby .nearby-entry{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;flex:0 0 44px;width:44px;height:55px;min-height:0;margin:0;padding:1px 0 0;gap:3px;border:0;border-radius:0;background:transparent;box-shadow:none}.ruby-location-screen .world-service-caption{display:block;width:100%;color:#e6dcc4;font:500 9px/11px Manrope,sans-serif;text-align:center;white-space:nowrap;text-shadow:0 1px 3px #000,0 1px 2px #000}.ruby-location-screen .world-nearby{flex:0 0 44px;width:44px;height:55px}.ruby-location-screen .world-journal>i{top:2px;right:3px;width:6px;height:6px;border:1px solid #20313a}@media(max-width:350px){.ruby-location-screen .world-services{flex-wrap:wrap;gap:5px}.ruby-location-screen .world-quest{flex:1 0 100%}.world-quick-services{margin-left:auto;gap:8px}.ruby-location-screen .world-scene{min-height:160px;flex-basis:160px}.world-service-emblem{width:36px;height:36px}.world-service-art{width:33px;height:33px}}body:has(.ruby-game-shell) .nearby-players-sheet .nearby-dialog-panel{padding:0;margin:0;border:0;background:none}body:has(.ruby-game-shell) .nearby-players-sheet .nearby-list{max-height:none;grid-template-columns:1fr;gap:7px}body:has(.ruby-game-shell) .nearby-players-sheet .nearby-list>button{display:grid;grid-template-columns:36px minmax(0,1fr) 18px;align-items:center;gap:10px;min-height:56px;padding:8px 10px;background:#10212b;border:1px solid #9c8d6c75;border-radius:5px;color:#e5d5b4}body:has(.ruby-game-shell) .nearby-players-sheet .nearby-list>button>span:nth-child(2){display:grid;gap:3px;min-width:0}body:has(.ruby-game-shell) .nearby-players-sheet .nearby-list .portrait{width:36px;height:36px}body:has(.account-shell){margin:0;padding:0;background:#060e16}.game-shell.account-shell{position:relative;isolation:isolate;display:block;width:100%;max-width:430px;height:var(--telegram-viewport-height, 100dvh);min-height:0;margin:0 auto;padding:0;border:0;overflow:hidden auto;overscroll-behavior:contain;background:#0b1721 url(/art/entry/legacy-gate-v1.webp) center 46% / cover no-repeat;color:#efe7d3}.account-shell:before{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background:linear-gradient(#020a154a,transparent 35%,#030b123b 65%,#030b1280)}.account-shell .account-screen{position:relative;width:100%;max-width:none}.account-shell .legacy-entry{display:flex;flex-direction:column;gap:24px;min-height:100%;padding:calc(18px + max(env(safe-area-inset-top,0px),var(--telegram-safe-top, 0px))) 18px calc(17px + max(env(safe-area-inset-bottom,0px),var(--telegram-safe-bottom, 0px)))}.legacy-entry-heading{flex:0 0 auto;text-align:center}.legacy-brand{display:flex;flex-direction:column;align-items:center;gap:5px;text-align:center;color:#eed69e}.legacy-brand-seal{display:grid;place-items:center;height:43px;width:43px;filter:drop-shadow(0 2px 5px #0008)}.legacy-brand-seal>.frontier-icon{width:43px;height:43px}.account-shell .legacy-brand :is(h1,p){margin:0;padding:0;font-family:Cormorant Garamond,Georgia,serif;line-height:.95;color:#f2dca5;text-shadow:0 2px 2px #061018,0 3px 12px #02080ed9}.legacy-brand-title{display:block;font-size:clamp(51px,16vw,68px);font-weight:700;letter-spacing:5px;text-transform:uppercase}.legacy-brand-subtitle{display:block;margin-top:7px;font-size:clamp(19px,6vw,25px);font-weight:600;letter-spacing:6px;text-transform:uppercase;color:#f5e8cc}.legacy-brand-rule{display:flex;align-items:center;gap:9px;width:175px;height:9px;margin-top:5px}.legacy-brand-rule:before,.legacy-brand-rule:after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,#d1b979)}.legacy-brand-rule:after{transform:scaleX(-1)}.legacy-brand-rule>i{width:5px;height:5px;border:1px solid #e0c380;background:#806b3d;transform:rotate(45deg)}.account-shell .legacy-tagline{width:fit-content;margin:8px auto 0;padding:4px 10px;border:1px solid #e5cd9529;border-radius:3px;background:#071923a6;color:#f4ead2;font-size:11px;line-height:16px;letter-spacing:.25px;text-shadow:0 1px 5px #000}.legacy-entry-card{margin-top:auto;padding:17px 16px 15px;border:1px solid #c3aa748c;border-radius:9px;background:linear-gradient(125deg,#172e36e6,#07141deb);-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);box-shadow:inset 0 1px #eed6a32b,0 5px 24px #0006}.account-shell .guest-welcome{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;text-align:center}.account-shell .guest-welcome h2{margin:0;color:#f4e3bb;font:700 26px/28px Cormorant Garamond,Georgia,serif}.account-shell .guest-welcome>p{margin:0 0 2px;color:#bac8c8;font:400 12px/18px Manrope,sans-serif}.account-shell :is(.guest-welcome .primary-button,.guest-login-button,.telegram-login-button,.legacy-login-form .primary-button,.legacy-creation .primary-button){display:flex;align-items:center;justify-content:center;gap:9px;min-height:46px;width:100%;margin:0;padding:10px 12px;border:1px solid #bba36e;border-radius:5px;font:600 14px/20px Manrope,sans-serif;background:linear-gradient(135deg,#24463c,#102d2c);color:#f5e6c4;box-shadow:inset 0 1px #e8ce9530,0 2px 5px #0005}.account-shell .guest-welcome .guest-login-button{background:#0d1c27c4;border-color:#81908b8c;color:#e3dfcf;box-shadow:none}.account-shell .guest-welcome .account-note{margin:0;padding:0 4px;color:#a8b8b9;font-size:10px;line-height:15px}.account-shell .legacy-entry .telegram-login-button{margin-top:13px;background:linear-gradient(125deg,#153746,#102330);border-color:#8daeba9c;color:#e4f0eb;font-size:13px}.account-shell .telegram-login-button>svg{color:#a8d9ec;width:19px;height:19px;flex-shrink:0}.account-shell .legacy-login-form{display:flex;flex-direction:column;gap:12px;margin:0;padding:0}.account-shell .legacy-login-form h2{margin:0 0 2px;text-align:center;color:#f3dfb0;font:700 28px/30px Cormorant Garamond,Georgia,serif}.account-shell .legacy-login-form label,.account-shell .legacy-creation form>label{color:#c7d1ce;font-size:12px;gap:6px}.account-shell input:not([type=radio]){width:100%;min-width:0;min-height:46px;border:1px solid #8d967d91;border-radius:5px;background:#0a1823eb;padding:10px 12px;color:#f1e7d2;font:400 16px/22px Manrope,sans-serif}.account-shell input::placeholder{color:#839696;font-size:14px}.account-shell :focus-visible{outline-color:#edcb88;outline-offset:3px}.account-shell .account-note{color:#a8b8b9;font-size:11px;line-height:16px}.account-shell .legacy-login-form>.text-button{margin:0;padding:4px;min-height:32px;color:#c5d0ce;font-size:11px;line-height:16px}.legacy-entry-login .legacy-brand-title{font-size:49px}.legacy-entry-login .legacy-brand-subtitle{font-size:20px}.legacy-entry-login .legacy-brand-seal{height:33px}.legacy-entry-login .legacy-tagline{display:none}.account-shell .legacy-creation{min-height:100%;padding:calc(14px + max(env(safe-area-inset-top,0px),var(--telegram-safe-top, 0px))) 17px calc(18px + max(env(safe-area-inset-bottom,0px),var(--telegram-safe-bottom, 0px)));background:#06121b80}.legacy-brand.is-compact{flex-direction:row;justify-content:center;gap:10px;margin:0 0 16px}.legacy-brand.is-compact .legacy-brand-seal,.legacy-brand.is-compact .frontier-icon{width:33px;height:33px}.legacy-brand.is-compact .legacy-brand-title{font-size:31px;letter-spacing:3px}.legacy-brand.is-compact .legacy-brand-subtitle{margin-top:4px;font-size:13px;letter-spacing:3px}.legacy-brand.is-compact .legacy-brand-rule{display:none}.account-shell .legacy-creation .account-heading{gap:10px;margin-bottom:12px}.account-shell .legacy-creation .account-emblem{width:38px;height:38px;flex-basis:38px;color:#e4cb92;background:#112c31;border-color:#bda16d}.account-shell .legacy-creation .account-heading h1{margin:0;font-size:28px;line-height:31px;color:#f3e1b9}.account-shell .legacy-creation .account-heading p{margin-top:4px;color:#c4cfca;font-size:11px}.account-shell .legacy-creation form{margin:0;padding:15px;border:1px solid #ae9a6b87;border-radius:7px;background:#0d2029eb;gap:14px}.account-shell .legacy-creation fieldset{padding:0;border:0}.account-shell .legacy-creation legend{margin-bottom:8px;color:#c7d1ce;font-size:12px}.account-shell .legacy-creation .create-races{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.account-shell .legacy-creation .create-races label{display:flex;flex-direction:row;align-items:center;min-height:48px;gap:7px;padding:6px;border:1px solid #8a947c6e;border-radius:5px;background:#10242ee6;color:#cbd3cc}.account-shell .legacy-creation .create-races .portrait{flex:0 0 30px;width:30px;height:30px}.account-shell .legacy-creation .create-races label>span:not(.portrait){color:inherit;font-size:11px;line-height:14px}.account-shell .legacy-creation .create-races .chosen{border-color:#dfc183;background:linear-gradient(125deg,#324c3a,#17313b);color:#ffe4ae;box-shadow:inset 0 0 0 1px #bc9c5e40}.account-shell .legacy-creation .race-description{margin:0;padding:12px;border:1px solid #9b9c7280;border-radius:6px;background:#172d2c}.account-shell .legacy-creation .race-description :is(p,small){color:#bdcbc5;font-size:11px;line-height:17px}.account-shell .legacy-creation .race-description h2{color:#eeddaf;font-size:24px}.account-shell .legacy-creation .race-description>strong{display:block;color:#d9dab1;font-size:12px;line-height:18px}.account-shell .legacy-creation>.text-button{min-height:40px;color:#d7d5bf}.account-shell .startup-screen{width:100%;margin:0;min-height:100%;padding:30px 24px;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#e0ddcc;background:#06121b94}.account-shell .startup-screen .legacy-brand{margin-bottom:30px}.account-shell .startup-emblem{color:#d4c093;background:#152b32e6;border-color:#b39b6c}.account-shell .startup-screen>p{color:#e3dfce;font:500 13px/1.6 Manrope,sans-serif;text-shadow:0 1px 4px #020b13}.account-shell .startup-screen>h1{margin:0 0 10px;color:#f1e2bd;font:700 27px/1.15 Cormorant Garamond,Georgia,serif;text-shadow:0 2px 5px #020b13}.account-shell .startup-screen>small{color:#ced7d2;font:500 11px/1.6 Manrope,sans-serif;text-shadow:0 1px 4px #020b13}.account-shell .startup-screen>.primary-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:46px;color:#f2e5c3;background:linear-gradient(135deg,#23453d,#102c2d);border:1px solid #bea36a;font:700 13px/1.3 Manrope,sans-serif}.account-shell .api-error{position:relative;z-index:2;margin:12px}body:has(.account-shell)>.sheet-backdrop>.sheet{border-color:#b5a071;background:linear-gradient(135deg,#18313a,#0b1b27);color:#e5e3d3}body:has(.account-shell) .telegram-login-code{color:#f0dba2;background:#091a28;border-color:#a5956e}@media(max-width:350px){.account-shell .legacy-entry{padding-inline:14px;gap:18px}.legacy-entry-card{padding:15px 13px 13px}.legacy-brand-seal,.legacy-brand-seal>.frontier-icon{width:36px;height:36px}.legacy-brand-title{font-size:51px}.legacy-brand-subtitle{font-size:19px}.account-shell .guest-welcome h2{font-size:24px;line-height:26px}}@media(max-height:650px){.account-shell .legacy-entry{gap:14px;padding-top:calc(10px + max(env(safe-area-inset-top,0px),var(--telegram-safe-top, 0px)));padding-bottom:calc(11px + max(env(safe-area-inset-bottom,0px),var(--telegram-safe-bottom, 0px)))}.legacy-brand-seal,.legacy-brand-seal>.frontier-icon{height:31px;width:31px}.legacy-brand-title{font-size:47px}.legacy-brand-subtitle{font-size:18px}.account-shell .legacy-tagline{margin-top:5px;font-size:10px}.legacy-entry-card{padding-top:13px}}:root{--frontier-canvas-rgb: 6 18 28;--frontier-deep-rgb: 10 26 37;--frontier-panel-rgb: 16 35 46;--frontier-raised-rgb: 25 48 58;--frontier-ivory-rgb: 240 231 210;--frontier-muted-rgb: 171 189 189;--frontier-gold-rgb: 204 177 116;--frontier-gold-soft-rgb: 238 216 163;--frontier-line-rgb: 156 139 100;--frontier-selection-rgb: 37 74 63;--frontier-selection-deep-rgb: 16 42 44;--frontier-progress-rgb: 141 123 72;--frontier-canvas: rgb(var(--frontier-canvas-rgb));--frontier-deep: rgb(var(--frontier-deep-rgb));--frontier-panel: rgb(var(--frontier-panel-rgb));--frontier-raised: rgb(var(--frontier-raised-rgb));--frontier-ivory: rgb(var(--frontier-ivory-rgb));--frontier-muted: rgb(var(--frontier-muted-rgb));--frontier-gold: rgb(var(--frontier-gold-rgb));--frontier-gold-soft: rgb(var(--frontier-gold-soft-rgb));--frontier-line: rgb(var(--frontier-line-rgb));--frontier-selection: rgb(var(--frontier-selection-rgb));--frontier-selection-deep: rgb(var(--frontier-selection-deep-rgb));--frontier-progress: rgb(var(--frontier-progress-rgb))}body:has(.ruby-game-shell),.ruby-game-shell{--muted: var(--frontier-muted);--line: rgb(var(--frontier-line-rgb) / .5);--panel: var(--frontier-panel);--text: var(--frontier-ivory);--gold: var(--frontier-gold-soft)}.frontier-section-title{display:flex;align-items:center;gap:9px;min-width:0;text-align:left}.ruby-game-shell .social-heading>.frontier-section-title{flex:1}.frontier-section-emblem{display:grid;flex:0 0 42px;place-items:center;width:42px;height:42px;border:1px solid rgb(var(--frontier-gold-rgb) / .7);border-radius:50%;color:var(--frontier-gold-soft);background:linear-gradient(135deg,#263c40,#081b27);box-shadow:inset 0 1px #fff1c829,0 2px 5px #0006}.frontier-section-emblem .frontier-icon{width:36px;height:36px}.ruby-game-shell :is(.social-heading,.page-title) .frontier-section-title h1{min-width:0;margin:0;color:var(--frontier-gold-soft);font-size:26px;line-height:1.1;text-align:left;justify-content:flex-start;text-wrap:balance}.ruby-game-shell .frontier-section-title .help-button{flex:0 0 auto}.ruby-game-shell .page-title:has(.frontier-section-title){padding:0 0 10px;margin-bottom:12px;border-bottom:1px solid rgb(var(--frontier-line-rgb) / .4)}.ruby-game-shell .social-heading:has(.frontier-section-title){display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:9px}.ruby-game-shell .social-heading:has(.frontier-section-title)>.icon-button{width:44px;height:44px;min-height:44px}.ruby-game-shell .forum-category-icon{color:var(--frontier-gold-soft)}.ruby-game-shell .settings-group>h2{letter-spacing:.09em;color:var(--frontier-gold)}.ruby-game-shell .settings-service .settings-chevron{color:var(--frontier-gold)}.ruby-game-shell .market-card-seller{border-top-color:rgb(var(--frontier-line-rgb) / .3)}.ruby-game-shell .oracle-screen{padding:0 14px 14px}.ruby-game-shell :is(.oracle-hero,.warehouse-capacity,.oracle-personal,.oracle-guide,.warehouse-help){border:1px solid rgb(var(--frontier-line-rgb) / .5);border-radius:6px;background:linear-gradient(135deg,rgb(var(--frontier-panel-rgb) / .97),rgb(var(--frontier-deep-rgb) / .97));color:var(--frontier-ivory)}.ruby-game-shell .oracle-hero{gap:12px;padding:12px}.ruby-game-shell .oracle-hero .oracle-portrait{width:74px;height:74px;flex-basis:74px}.ruby-game-shell .oracle-hero h2{font-size:23px;color:var(--frontier-gold-soft)}.ruby-game-shell .oracle-hero strong{font-size:26px;color:var(--frontier-gold-soft)}.ruby-game-shell .oracle-hero small,.ruby-game-shell .oracle-hero strong span{color:var(--frontier-muted)}.ruby-game-shell .oracle-personal{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px}.ruby-game-shell .oracle-personal :is(span,small){display:grid;gap:4px;font-size:11px;color:var(--frontier-muted)}.ruby-game-shell .oracle-personal strong{font-size:16px;color:var(--frontier-gold-soft)}.ruby-game-shell .oracle-personal small{text-align:right}.ruby-game-shell .oracle-sections{gap:4px;padding:3px;border:1px solid rgb(var(--frontier-line-rgb) / .5);border-radius:6px;background:rgb(var(--frontier-deep-rgb) / .95)}.ruby-game-shell .oracle-sections button{min-height:38px;padding:8px;border:1px solid transparent;border-radius:4px;background:transparent;color:var(--frontier-muted)}.ruby-game-shell .oracle-sections button[aria-pressed=true]{border-color:var(--frontier-gold);background:linear-gradient(var(--frontier-selection),var(--frontier-selection-deep));color:var(--frontier-ivory)}.ruby-game-shell :is(.oracle-guide,.warehouse-help){padding:10px 12px}.ruby-game-shell :is(.oracle-guide,.warehouse-help) summary{cursor:pointer;color:var(--frontier-gold-soft);font-size:12px}.ruby-game-shell .oracle-guide .oracle-rule{margin:10px 0 0;color:var(--frontier-muted);font-size:12px;line-height:1.6}.ruby-game-shell .warehouse-capacity{padding:12px}.ruby-game-shell .warehouse-search-row>label{border:1px solid rgb(var(--frontier-line-rgb) / .5);background:var(--frontier-deep);color:var(--frontier-muted)}.ruby-game-shell .warehouse-search-row input{background:transparent;color:var(--frontier-ivory)}.ruby-game-shell .warehouse-screen .empty-message{padding:22px 14px;border:1px dashed rgb(var(--frontier-line-rgb) / .5);border-radius:6px;background:rgb(var(--frontier-deep-rgb) / .94);color:var(--frontier-muted)}.ruby-game-shell :is(.oracle-progress,.warehouse-capacity progress){width:100%;height:5px;border:0;border-radius:2px;background:var(--frontier-deep);accent-color:var(--frontier-gold)}.ruby-game-shell :is(.oracle-progress,.warehouse-capacity progress)::-webkit-progress-bar{background:var(--frontier-deep);border-radius:2px}.ruby-game-shell :is(.oracle-progress,.warehouse-capacity progress)::-webkit-progress-value{background:linear-gradient(90deg,var(--frontier-progress),var(--frontier-gold-soft));border-radius:2px}.ruby-game-shell :is(.oracle-progress,.warehouse-capacity progress)::-moz-progress-bar{background:linear-gradient(90deg,var(--frontier-progress),var(--frontier-gold-soft))}@media(max-width:350px){.frontier-section-title{gap:7px}.frontier-section-emblem{flex-basis:36px;width:36px;height:36px}.frontier-section-emblem .frontier-icon{width:31px;height:31px}.ruby-game-shell :is(.social-heading,.page-title) .frontier-section-title h1{font-size:23px}}.sheet-backdrop{position:fixed;inset:0;background:rgb(var(--frontier-canvas-rgb) / .72);z-index:100;display:flex;align-items:flex-end;justify-content:center}.sheet{width:100%;max-width:430px;background:linear-gradient(145deg,var(--frontier-panel),var(--frontier-deep));--sheet-gutter: var(--ui-gutter, 14px);padding:10px var(--sheet-gutter) calc(18px + env(safe-area-inset-bottom));border:1px solid rgb(var(--frontier-line-rgb) / .65);border-radius:12px 12px 0 0;max-height:85dvh;overflow:auto;box-shadow:0 -10px 50px #0008;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:var(--frontier-line) var(--frontier-deep)}.sheet-handle{width:32px;height:3px;background:var(--frontier-gold);margin:0 auto 15px;border-radius:3px}.icon-button{min-height:36px;min-width:36px;display:grid;place-items:center;color:var(--frontier-gold-soft)}.sheet.sheet-with-footer{--sheet-gutter: var(--ui-gutter, 14px);display:flex;flex-direction:column;height:min(86dvh,780px);max-height:calc(100dvh - 14px);overflow:hidden;padding:10px 0 0}.sheet-with-footer>.sheet-handle,.sheet-with-footer>.section-heading{flex-shrink:0}.sheet-with-footer>.section-heading{margin:0 var(--sheet-gutter) 12px}.sheet-scroll-body{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0 var(--sheet-gutter) 12px;scrollbar-width:thin;scrollbar-color:var(--frontier-line) var(--frontier-deep)}.sheet-fixed-footer{flex:0 0 auto;width:100%;min-width:0;padding:8px var(--sheet-gutter) calc(8px + env(safe-area-inset-bottom));border-top:1px solid rgb(var(--frontier-line-rgb) / .45);background:var(--frontier-deep);box-shadow:0 -8px 15px #0002;position:relative;z-index:2}.sheet-scroll-body::-webkit-scrollbar{width:6px}.sheet-scroll-body::-webkit-scrollbar-track{background:var(--frontier-deep)}.sheet-scroll-body::-webkit-scrollbar-thumb{background:var(--frontier-line);border-radius:6px}body:has(.ruby-game-shell) :is(.ui-panel,.bag-panel,.equipment-panel,.comparison-card,.enhancement-panel,.orb-stock,.orb-option,.orb-confirm,.recruiter-summary,.recruiter-checkout-panel,.quest-target,.quest-delivery,.journal-card,.oracle-milestone,.warehouse-resource-totals,.race-change-detail,.referral-link-card,.referral-reward,.unit-card-vitals,.unit-attributes){background:linear-gradient(135deg,rgb(var(--frontier-panel-rgb) / .91),rgb(var(--frontier-deep-rgb) / .937));border-color:rgb(var(--frontier-line-rgb) / .502);box-shadow:inset 0 1px rgb(var(--frontier-gold-soft-rgb) / .039);color:var(--frontier-ivory)}:root{--ui-control-height: 44px;--ui-action-height: 48px;--ui-radius: 6px;--ui-gutter: 14px;--ui-gap: 8px;--ui-control-fill: linear-gradient( 145deg, var(--frontier-panel), var(--frontier-deep) );--ui-action-fill: linear-gradient( 145deg, var(--frontier-selection), var(--frontier-selection-deep) )}.primary-button,.secondary-button,.ui-button{min-height:var(--ui-control-height);display:inline-flex;align-items:center;justify-content:center;gap:var(--ui-gap);max-width:100%;min-width:0;padding:10px 14px;border:1px solid rgb(var(--frontier-line-rgb) / .65);border-radius:var(--ui-radius);background:var(--ui-control-fill);color:var(--frontier-ivory);font:600 13px/1.4 Manrope,sans-serif;text-align:center;overflow-wrap:anywhere;box-shadow:inset 0 1px rgb(var(--frontier-gold-soft-rgb) / .08);transition:border-color .15s,background-color .15s,box-shadow .15s}.primary-button,.secondary-button{width:100%}.primary-button,.ui-button-primary{min-height:var(--ui-action-height);background:var(--ui-action-fill);border-color:var(--frontier-gold);color:var(--frontier-gold-soft)}.ui-button-secondary{min-height:var(--ui-control-height);background:var(--ui-control-fill);color:var(--frontier-ivory)}.ui-button-danger{background:linear-gradient(145deg,#4e302c,#2c2023);border-color:#ba8a6a;color:#f2d6bc}.ui-button-icon{width:44px;min-width:44px;min-height:44px;padding:8px;flex:0 0 auto}.ui-button:hover:not(:disabled),.primary-button:hover:not(:disabled),.secondary-button:hover:not(:disabled){border-color:var(--frontier-gold-soft);filter:brightness(1.08)}.ui-button:focus-visible,.ui-input:focus-visible{outline:2px solid var(--frontier-gold-soft);outline-offset:2px}.ui-button:disabled{cursor:default}.adaptive-quantity .ui-button{padding:8px 3px;min-height:44px;font-size:11px;overflow-wrap:normal}.ui-button-spinner{animation:ui-spin .9s linear infinite;flex-shrink:0}.ui-input{min-width:0;max-width:100%;min-height:var(--ui-control-height);border:1px solid rgb(var(--frontier-line-rgb) / .55);border-radius:var(--ui-radius);padding:10px 12px;background-color:var(--frontier-deep);color:var(--frontier-ivory);font-family:Manrope,sans-serif;font-size:max(16px,1em);line-height:1.4;accent-color:var(--frontier-gold)}.ui-input::placeholder{color:var(--frontier-muted);opacity:.85}.ui-input[aria-invalid=true]{border-color:#d59b80}.ui-input:disabled{opacity:.55}.ui-panel{min-width:0;border:1px solid rgb(var(--frontier-line-rgb) / .5);border-radius:var(--ui-radius)}.ui-filter-panel{padding:12px;gap:var(--ui-gap)}.ui-confirmation{padding:12px}.ui-confirmation>p:first-child{margin-top:0;color:var(--frontier-ivory);font-weight:600}.ui-confirmation>small{color:var(--frontier-muted);line-height:1.5}.ui-confirm-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ui-gap)}@keyframes ui-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.ui-button,.ui-input{transition:none}.ui-button-spinner{animation:none}}.sheet.page-sheet.world-map-sheet{--map-safe-top: max( env(safe-area-inset-top, 0px), var(--telegram-safe-top, 0px) );--map-safe-bottom: max( env(safe-area-inset-bottom, 0px), var(--telegram-safe-bottom, 0px) );position:fixed;inset:0;display:flex;flex-direction:column;width:100%;max-width:none;height:var(--telegram-viewport-height, 100dvh);max-height:none;margin:0;padding:var(--map-safe-top) 0 var(--map-safe-bottom);overflow:hidden;border:0;border-radius:0;color:var(--frontier-ivory);background:radial-gradient(ellipse at 50% 0%,#29444c55,transparent 65%),var(--frontier-canvas);box-shadow:none}.world-map-sheet>.sheet-handle{display:none}.sheet.world-map-sheet>.section-heading{flex:0 0 auto;display:grid;grid-template-columns:40px minmax(0,1fr) 44px;gap:9px;align-items:center;min-height:66px;margin:0;padding:10px 14px;border-bottom:1px solid rgb(var(--frontier-line-rgb) / .45);background:linear-gradient(145deg,var(--frontier-panel),var(--frontier-deep))}.world-map-sheet>.section-heading .frontier-icon{width:38px;height:38px}.world-map-sheet>.section-heading h2{margin:0;font:600 clamp(23px,6vw,30px)/1.05 "Cormorant Garamond",Georgia,serif;color:var(--frontier-gold-soft);text-align:left}.world-map-sheet>.section-heading .icon-button{width:44px;height:44px;min-width:44px;min-height:44px}.world-map-sheet>.sheet-scroll-body{width:100%;max-width:1100px;align-self:center;padding:12px 14px 16px;overscroll-behavior:contain;scrollbar-color:var(--frontier-line) var(--frontier-deep)}.world-map-intro{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:10px}.world-map-intro .help-inline{margin:0;color:var(--frontier-muted);font-size:11px}.world-map-intro .story-map-note{width:auto;max-width:100%;margin:0;padding:7px 10px;min-height:36px;border-color:rgb(var(--frontier-line-rgb) / .4);background:var(--frontier-panel);font-size:11px}.world-map-sheet .world-region-list{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:12px 0 0}.world-map-sheet .world-region-card{display:grid;align-items:center;text-align:left;width:100%;position:relative;isolation:isolate;overflow:hidden;min-height:140px;padding:20px 18px;grid-template-columns:minmax(0,1fr) auto;gap:12px;border-radius:var(--ui-radius);border-color:rgb(var(--frontier-line-rgb) / .7);background:var(--frontier-deep);box-shadow:inset 0 0 0 3px #07131b66,0 3px 12px #0004}.world-map-sheet .world-region-card:after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#06121ce8,#0a1d27b0 60%,#0b1c254d),linear-gradient(0deg,#07131bbb,transparent 80%);pointer-events:none}.world-map-sheet .world-region-icon{position:absolute;z-index:-2;inset:0;width:100%;height:100%;border:0;border-radius:0;background:none}.world-map-sheet .world-region-icon img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 45%}.world-map-sheet .world-region-info{display:grid;min-width:0;justify-items:start;text-align:left;gap:7px}.world-map-sheet .world-region-info strong{font:600 clamp(24px,6.5vw,32px)/1.05 "Cormorant Garamond",Georgia,serif;color:var(--frontier-ivory);text-shadow:0 2px 4px #000a}.world-map-sheet .world-region-info small{color:#c4cec7;font-size:11px}.world-map-sheet .world-region-info em{color:var(--frontier-gold-soft);font-size:10px}.world-map-sheet .world-region-arrow{display:grid;gap:4px;justify-items:center;font-size:10px;color:var(--frontier-gold-soft)}.world-map-sheet .world-region-card.current{border-color:var(--frontier-gold)}.world-map-sheet .atlas-toolbar{gap:8px}.world-map-sheet .atlas-view-switch{padding:3px;background:var(--frontier-deep);border-color:var(--frontier-line);border-radius:var(--ui-radius)}.world-map-sheet .atlas-view-switch button{min-height:40px;color:var(--frontier-muted);border-radius:4px}.world-map-sheet .atlas-view-switch button[aria-pressed=true]{background:var(--ui-action-fill);border-color:var(--frontier-gold);color:var(--frontier-gold-soft)}.world-map-sheet .atlas-back,.world-map-sheet .world-map-back{min-height:44px;color:var(--frontier-gold-soft)}.world-map-sheet .atlas-canvas{height:auto;min-height:410px;max-width:650px;margin:auto;aspect-ratio:3/4;border-color:var(--frontier-line);border-radius:var(--ui-radius);background:var(--frontier-deep)}.world-map-sheet .atlas-painting{object-fit:cover}.world-map-sheet .atlas-marker{border-color:var(--frontier-gold);background:var(--ui-control-fill);color:var(--frontier-ivory)}.world-map-sheet .atlas-node.current .atlas-marker{background:var(--ui-action-fill);border-color:var(--frontier-gold-soft);color:var(--frontier-gold-soft)}.world-map-sheet .atlas-node.selected .atlas-marker{box-shadow:0 0 0 2px #e2c48b66,0 0 15px #c9a96655}.world-map-sheet .atlas-node-label{background:#0a1c27ee;border-color:rgb(var(--frontier-line-rgb) / .65);color:var(--frontier-ivory)}.world-map-sheet .atlas-node.selected .atlas-node-label{background:#1a332fed;border-color:var(--frontier-gold)}.world-map-sheet .atlas-node-label strong{color:var(--frontier-ivory)}.world-map-sheet .atlas-node-label small,.world-map-sheet .atlas-legend{color:var(--frontier-muted)}.world-map-sheet .atlas-node.edge-left .atlas-node-label{left:0;transform:none}.world-map-sheet .atlas-node.edge-right .atlas-node-label{left:auto;right:0;transform:none}.world-map-sheet>.sheet-fixed-footer{padding:10px 14px;border-top:1px solid var(--frontier-line);background:linear-gradient(145deg,var(--frontier-panel),var(--frontier-deep));box-shadow:0 -5px 20px #0005}.world-map-sheet .atlas-destination{width:100%;max-width:1072px;margin:auto;background:transparent;border:0}.world-map-sheet .atlas-destination h3{color:var(--frontier-ivory);font:600 25px/1.05 Cormorant Garamond,Georgia,serif}.world-map-sheet .atlas-destination :is(small,.atlas-services>span,.atlas-destination-description){color:var(--frontier-muted)}.world-map-sheet .atlas-destination .primary-button{margin-top:9px;min-height:44px}.world-map-sheet .territory-card{border-color:rgb(var(--frontier-line-rgb) / .5);border-radius:var(--ui-radius);background:var(--ui-control-fill);color:var(--frontier-ivory)}.world-map-sheet .territory-card strong{color:var(--frontier-ivory)}.world-map-sheet .territory-card.current{border-color:var(--frontier-gold);background:var(--ui-action-fill)}@media(min-width:700px){.world-map-sheet .world-region-list{grid-template-columns:repeat(2,minmax(0,1fr))}.world-map-sheet.atlas-map-sheet>.sheet-scroll-body{max-width:750px}}@media(max-height:650px){.sheet.world-map-sheet>.section-heading{min-height:58px;padding-block:6px}.world-map-sheet .atlas-destination-heading img{width:32px;height:32px}.world-map-sheet .atlas-destination h3{font-size:22px}.world-map-sheet .atlas-services{margin-top:5px}.world-map-sheet .atlas-destination-description{display:none}}.chat-screen .chat-message{width:100%;min-width:0;min-height:72px;margin-left:0;padding:12px 14px;box-sizing:border-box}.chat-screen .chat-message header{min-width:0}.chat-screen .frontier-section-emblem{flex:0 0 42px;width:42px;height:42px;min-width:42px;aspect-ratio:1;display:grid;place-items:center;overflow:hidden}.chat-screen .frontier-section-emblem .frontier-icon[data-navigation-icon=chat]{width:30px;height:30px;transform:translateY(-1px)}.chat-screen .chat-message>p{overflow-wrap:anywhere;white-space:pre-wrap}.unit-attack-type{display:inline-flex;align-items:center;gap:5px;max-width:100%;font:500 11px/1.4 Manrope,sans-serif;color:#d6c391}.unit-attack-type.ranged{color:#a7cde2}.army-formation-panel .unit-attack-type{justify-content:center;font-size:10px}.projectile-magic{--spell-color: #a3defa;--impact-color: var(--spell-color)}.projectile-magic[data-spell-race=human]{--spell-color: #f4d28a}.projectile-magic[data-spell-race=undead],.projectile-magic[data-spell-race=dark_elf]{--spell-color: #b68af1}.projectile-magic[data-spell-race=demon]{--spell-color: #fa9567}.bestiary-card .unit-attack-type{justify-content:center}.army-formation-panel .army-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 8px}.army-formation-panel .army-slot{position:relative;padding-top:20px}.army-rank-name{position:absolute;top:0;left:0;right:0;font:500 9px/1.2 Manrope,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:#bba878}.formation-auto-button{margin:0 0 16px;min-height:44px}.game-shell:has(.tactical-combat:not(.combat-result)){--battle-dock-height: calc(124px + var(--battle-safe-bottom))}.immersive-combat.tactical-combat{--battle-token-size: clamp( 44px, min(21vw, calc((var(--battle-room, 100dvh) - 280px) / 4)), 92px )}.immersive-combat.tactical-combat:not(.combat-result) .battle-formations.tactical-formations{position:relative;display:grid;grid-template-columns:minmax(0,1fr);justify-items:stretch;grid-template-rows:repeat(2,minmax(0,1fr));flex:1;gap:28px;min-height:0;width:100%;padding:12px 0 10px}.tactical-combat .battle-side.tactical-side{width:100%;max-width:none;justify-self:stretch;grid-column:1/-1;display:grid;grid-template-rows:repeat(2,minmax(0,1fr));min-height:0;gap:10px}.tactical-combat .tactical-rank{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;min-height:0;gap:5px}.tactical-combat .rank-caption{font:600 9px/1.2 Manrope,sans-serif;letter-spacing:.15em;text-transform:uppercase;color:#eee1b3;text-shadow:0 1px 5px #000;opacity:.85}.tactical-combat .tactical-rank .fighters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;justify-items:stretch;gap:10px;padding:0 10px}.tactical-cell{display:flex;justify-content:center;align-items:center;min-width:0;min-height:calc(var(--battle-token-size) + 13px)}.tactical-empty{display:block;width:var(--battle-token-size);height:var(--battle-token-size);border:1px dashed #c5d4d02b;border-radius:50%;background:radial-gradient(#08141b18,#08141b33);opacity:.55}.tactical-divider{position:absolute;top:50%;left:0;right:0;display:flex;gap:10px;align-items:center;justify-content:center;transform:translateY(-50%);color:#d4c7a5;font:500 9px/1 Manrope,sans-serif;letter-spacing:.08em;text-shadow:0 1px 4px #000;pointer-events:none}.tactical-divider i{height:1px;flex:1;background:linear-gradient(90deg,transparent,#d7b87588,transparent)}.tactical-combat .fighter .portrait{transition:border-color .15s,box-shadow .15s,filter .15s}.tactical-combat .fighter.fallen{opacity:.28;filter:grayscale(1);pointer-events:none}.fighter-attack-kind{position:absolute;z-index:5;left:-3px;bottom:0;display:grid;place-items:center;width:22px;height:22px;border:1px solid #a58d5e;border-radius:50%;background:#091a24;pointer-events:none}.fighter-attack-kind .unit-attack-type{display:flex}.fighter-cover{position:absolute;top:-3px;left:-3px;z-index:5;display:grid;place-items:center;width:24px;height:24px;border:1px solid #718a9d;border-radius:50%;background:#0a1c2deb;color:#c0d8eb;pointer-events:none}body:has(.tactical-combat:not(.combat-result)) .combat-action-dock.immersive-combat-dock{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:8px;padding-top:7px}.combat-target-caption{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;height:32px;gap:2px;color:#eee1bd;text-align:center;font:600 12px/1.2 Manrope,sans-serif}.combat-target-caption span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.combat-target-caption small{font-size:10px;color:#a7bdc9}.tactical-combat .battle-side.is-promoted .tactical-front .rank-caption{color:#ffe0a2}.tactical-combat .battle-side.is-promoted .tactical-front .fighters{animation:line-advance .2s ease-out}@keyframes line-advance{0%{opacity:.35;filter:brightness(1.5)}to{opacity:1;filter:brightness(1)}}.tactical-combat .fighter[data-attack-type=ranged].is-attacking .fighter-portrait-motion>.portrait{opacity:1}.is-projectile .combat-flight{border:0;background:none;box-shadow:none;border-radius:0}.projectile-core{display:block;position:relative;width:100%;height:100%}.projectile-arrow .projectile-core:before{content:"";position:absolute;left:0;top:12px;height:3px;width:28px;background:linear-gradient(90deg,#e6c98b55,#f4e3bb);box-shadow:0 0 7px #d5b25e}.projectile-arrow .projectile-core:after{content:"";position:absolute;right:-3px;top:8px;border-left:10px solid #f3ead4;border-top:6px solid transparent;border-bottom:6px solid transparent}.projectile-magic .projectile-core{border-radius:50%;background:radial-gradient(circle,#fff 0 9%,var(--spell-color) 15%,var(--spell-color) 34%,#7345d955 55%,transparent 70%);filter:drop-shadow(0 0 10px var(--spell-color))}.projectile-stone .projectile-core{width:23px;height:23px;margin:2px;border:1px solid #a5a2a1;border-radius:42% 58% 45% 55%;background:radial-gradient(at 30% 20%,#aeb5bb,#596470 60%,#29323a);box-shadow:0 2px 4px #0008}.projectile-axe .projectile-core{color:#e2d6bc;filter:drop-shadow(0 0 5px #d3ab65)}@media(max-height:650px){.immersive-combat.tactical-combat .combat-turn-order{margin-bottom:0}.immersive-combat.tactical-combat .combat-hud{padding-top:0}.tactical-combat .tactical-rank{gap:3px}.tactical-combat .fighter .fighter-count{font-size:12px;height:20px}}@media(orientation:landscape)and (max-height:520px){.immersive-combat.tactical-combat{--battle-token-size: clamp(42px, 13vh, 64px)}.immersive-combat.tactical-combat:not(.combat-result) .battle-formations.tactical-formations{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:minmax(0,1fr);gap:32px;padding:4px 0}.tactical-combat .tactical-side.enemy{order:2}.tactical-combat .tactical-side.player{order:1}.tactical-divider{display:none}.tactical-combat .battle-side.tactical-side{grid-column:auto;gap:6px}}@media(prefers-reduced-motion:reduce){.tactical-combat .fighter .portrait{transition:none}.tactical-combat .battle-side.is-promoted .tactical-front .fighters{animation:none}}.combat-symbol{position:relative;display:block;flex:0 0 auto;width:32px;height:32px}.combat-symbol:before{content:"";position:absolute;inset:0 12.5%;background:url(/art/interface/combat-symbols-frontier-v1.webp) no-repeat;background-size:400% 100%;background-position:calc(var(--combat-symbol) * 100% / 3) 50%}body:has(.frontier-battle){background:#081218}.frontier-battle.immersive-combat{color:var(--frontier-ivory)}.frontier-battle .battle-vignette{background:linear-gradient(#06111a99,transparent 24%,transparent 68%,#06111a66),linear-gradient(90deg,#06111a30,transparent 28%,transparent 72%,#06111a30)}.frontier-battle .combat-hud{padding-top:5px}.frontier-battle .combat-hud h1{width:clamp(168px,52vw,236px);height:38px;min-height:38px;margin:0 auto 3px;padding:0 15px;color:#f0e5ca;font:600 clamp(21px,6.2vw,29px)/1 "Cormorant Garamond",Georgia,serif;text-shadow:0 2px 4px #000b;white-space:nowrap}.frontier-battle .combat-hud.is-hostile h1{color:#edccb5;text-shadow:0 2px 4px #000b}.frontier-battle .combat-round{position:absolute;top:5px;left:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;width:43px;height:36px;border:1px solid #b69b6255;background:linear-gradient(145deg,#233039ad,#0a161dab);clip-path:polygon(6px 0,calc(100% - 6px) 0,100% 6px,100% calc(100% - 6px),calc(100% - 6px) 100%,6px 100%,0 calc(100% - 6px),0 6px)}.combat-round small{font:500 8px/1.2 Manrope,sans-serif;text-transform:uppercase;letter-spacing:.08em;color:#bcae8e}.combat-round strong{font:600 18px/1 Cormorant Garamond,Georgia,serif;color:#ead8ac}.frontier-battle .combat-hud>button{top:3px;right:-2px;width:40px;height:40px;min-height:40px;border:0;background:none;box-shadow:none;padding:2px}.frontier-battle .combat-hud .world-service-emblem{width:34px;height:34px;background:linear-gradient(145deg,#263336d9,#0a171ed9);border-color:#b79b6277}.frontier-battle .combat-hud .world-service-art{width:31px;height:31px}.frontier-battle .combat-turn-order{height:56px;min-height:56px;padding:6px 12px;background:linear-gradient(90deg,transparent,#09171dd9 18%,#17242be3 50%,#09171dd9 82%,transparent);box-shadow:inset 0 1px #b5a07355,inset 0 -1px #b5a07344,0 3px 9px #0004}.frontier-battle .combat-turn-order>button{width:clamp(30px,9.8vw,44px);height:clamp(30px,9.8vw,44px);border-color:#a79470;background:#0b171c;box-shadow:0 2px 5px #0009}.frontier-battle .combat-turn-order .current{width:clamp(34px,10.8vw,48px);height:clamp(34px,10.8vw,48px);border-color:#efd8a0;box-shadow:0 0 0 1px #8f713d,0 0 11px #d3b47477}.frontier-battle .combat-turn-order .hostile:not(.current){border-color:#a07861}.frontier-battle .battle-side .fighter .portrait{border-color:#a18c62;box-shadow:0 0 0 1px #17201b,0 3px 8px #0009,inset 0 0 0 1px #d9c69733}.frontier-battle .battle-side.enemy .fighter .portrait{border-color:#a47c61;box-shadow:0 0 0 1px #251b18,0 3px 8px #0009}.frontier-battle .battle-side .fighter.active .portrait{border-color:#f1dfaa;box-shadow:0 0 0 2px #9e7e46,0 0 15px #d3b37470,0 3px 8px #0009}.frontier-battle .battle-side.enemy .fighter.active .portrait{border-color:#dfad8c;box-shadow:0 0 0 2px #8b5940,0 0 13px #bc795b66,0 3px 8px #0009}.frontier-battle .fighter-target-ring{border-color:#e3c789;box-shadow:0 0 10px #bf984d55}.frontier-battle .fighter .fighter-count{color:#f4ead7;font-weight:600;text-shadow:0 1px 4px #000}.frontier-battle .battle-side .fighter .hp-track{height:7px;border-color:#97815a;background:#081012;box-shadow:0 0 0 1px #071013,0 2px 4px #0009}.frontier-battle .battle-side .fighter .hp-fill{background:linear-gradient(#cfbc83,#8d7848)}.frontier-battle .battle-side.enemy .fighter .hp-fill{background:linear-gradient(#d48e75,#984b3c)}.frontier-battle .combat-hp-track>.hp-loss-trail{background:#f1e3c0}.frontier-battle .fighter-attack-kind{width:25px;height:25px;border:1px solid #a48d5d99;background:radial-gradient(#1c282a,#0a161c);box-shadow:0 1px 4px #0009}.frontier-battle .fighter-attack-kind .combat-symbol{width:23px;height:23px}.frontier-battle .fighter-cover{width:26px;height:26px;top:-4px;left:-4px;border-color:#ad986888;background:radial-gradient(#1c282a,#0a161c);box-shadow:0 1px 4px #0009}.frontier-battle .fighter-cover .combat-symbol{width:24px;height:24px}.frontier-battle .rank-caption{text-shadow:0 1px 3px #000,0 0 6px #000;display:inline-flex;align-items:center;gap:8px;color:#dbcca7;font-weight:500;letter-spacing:.12em}.frontier-battle .rank-caption:before,.frontier-battle .rank-caption:after{content:"";display:block;width:18px;height:1px;background:linear-gradient(90deg,transparent,#b09a68)}.frontier-battle .rank-caption:after{transform:rotate(180deg)}.frontier-battle .tactical-divider{gap:10px}.frontier-battle .tactical-divider .combat-symbol{width:20px;height:20px;opacity:.7}.frontier-battle .tactical-empty{border-color:#b9a37430;background:radial-gradient(#13222120,#08141930)}body:has(.frontier-battle) .immersive-combat-dock{color:#e9dfc8;background:linear-gradient(#07121900,#07121933 30%,#071219b3)}body:has(.frontier-battle) .immersive-combat-dock.combat-controls>button,body:has(.frontier-battle) .combat-result-actions.immersive-combat-dock>button{color:#f2e7d0;font-family:Cormorant Garamond,Georgia,serif;font-size:clamp(22px,5.8vw,29px);font-weight:600;text-shadow:0 2px 3px #000b}body:has(.frontier-battle) .immersive-combat-dock .combat-chrome{filter:drop-shadow(0 2px 5px #000a)}body:has(.frontier-battle) .immersive-combat-dock .combat-chrome.is-gold{filter:drop-shadow(0 0 3px #b8934d44) drop-shadow(0 3px 5px #000a)}body:has(.frontier-battle) .immersive-combat-dock .combat-symbol{width:36px;height:36px;filter:drop-shadow(0 1px 2px #0008)}body:has(.frontier-battle) .immersive-combat-dock .flee-button .combat-symbol{width:28px;height:28px}body:has(.frontier-battle) .immersive-combat-dock.combat-controls>.flee-button{font-size:clamp(15px,4.5vw,22px);gap:6px;padding-inline:6px;color:#d8d0bc}body:has(.frontier-battle) .immersive-combat-dock .frontier-icon{width:30px;height:30px}body:has(.frontier-battle) .immersive-combat-dock .combat-action-spinner{color:#e9d7a6;filter:none}body:has(.frontier-battle) .combat-target-caption{color:#dfd3b6;font-weight:500}body:has(.frontier-battle) .combat-target-caption small{color:#b5b8aa}.frontier-battle .combat-rewards,.frontier-battle .combat-casualties,.frontier-battle .battle-result-army{border-color:#ad98684d;background:linear-gradient(145deg,#182a31ed,#0d1d25f0);box-shadow:inset 0 1px #e7d3a30a,0 5px 16px #02090c33}.frontier-battle .reward-heading h2,.frontier-battle .combat-casualties>h2{color:#ead9b0;font-family:Cormorant Garamond,Georgia,serif;font-weight:600}.frontier-battle .reward-heading{gap:9px}.frontier-battle .reward-heading .frontier-icon{width:34px;height:34px}.frontier-battle .combat-casualties>h2{display:flex;align-items:center;gap:8px}.frontier-battle .combat-casualties>h2 .combat-symbol{width:28px;height:28px}.frontier-battle .battle-reward-cards>div,.frontier-battle .casualty-totals>span{border-color:#a68e5d44;background:#13262dc9}.frontier-battle .battle-reward-cards strong,.frontier-battle .casualty-totals strong{color:#eee0bd}.frontier-battle .battle-reward-cards>div{display:grid;grid-template-columns:24px minmax(0,1fr);grid-template-rows:24px auto;gap:7px 6px;min-height:0;padding:10px}.frontier-battle .battle-reward-cards>div>.portrait{width:24px;height:24px}.frontier-battle .battle-reward-cards>div>span:last-child{display:contents}.frontier-battle .battle-reward-cards small{grid-column:2;grid-row:1;align-self:center}.frontier-battle .battle-reward-cards strong{grid-column:1/-1;grid-row:2;justify-self:start;white-space:nowrap;font-size:clamp(19px,5.4vw,23px);line-height:1.2}.frontier-battle .casualty-list li:nth-child(odd){background:#24343a66}.frontier-battle .battle-outcome-caption{color:#d5cebc}.frontier-battle .casualty-totals svg,.frontier-battle .no-casualties{color:#cbb67e}.frontier-battle .casualty-totals .loss svg,.frontier-battle .casualty-totals .loss strong{color:#d3947c}body:has(.frontier-battle) :is(.combat-unit-sheet,.combat-journal-sheet){border-color:#ad986877;background:linear-gradient(145deg,#172a31,#0c1c24)}@media(max-height:650px){.frontier-battle .combat-hud{padding-top:3px}.frontier-battle .combat-hud h1{height:28px;min-height:28px;font-size:21px;margin-bottom:1px}.frontier-battle .combat-turn-order{height:44px;min-height:44px;padding-block:4px}.frontier-battle .combat-turn-order>button{width:30px;height:30px}.frontier-battle .combat-turn-order .current{width:34px;height:34px}.frontier-battle .combat-round{height:28px;top:3px;width:39px}.combat-round strong{font-size:15px}.frontier-battle .combat-hud>button{width:34px;height:34px;top:0}.frontier-battle .combat-hud .world-service-emblem{width:30px;height:30px}.frontier-battle .combat-hud .world-service-art{width:28px;height:28px}}@media(orientation:landscape)and (max-height:550px){.frontier-battle .combat-hud{height:52px;padding-top:3px;gap:12px}.frontier-battle .combat-hud h1{width:176px;height:32px;min-height:32px;margin:0 0 0 46px;font-size:24px}.frontier-battle .combat-turn-order{width:auto;margin:0;padding:5px 16px;height:44px;min-height:44px}.frontier-battle .combat-round{top:10px}.frontier-battle .combat-hud>button{top:9px}}@media(prefers-reduced-motion:reduce){.frontier-battle .fighter .portrait{transition:none}}body .portrait.portrait-unit{aspect-ratio:1;border-radius:0!important;border:0!important;background:none!important;box-shadow:none!important;overflow:visible!important;isolation:isolate}body .portrait.portrait-unit img{display:block;width:100%;height:100%;border-radius:0!important;object-fit:contain!important;object-position:center!important;clip-path:none!important;-webkit-mask-image:none!important;mask-image:none!important;filter:drop-shadow(0 2px 3px #0007)}body .combat-turn-order>button:has(.portrait-unit){border-radius:5px;background:transparent}body .fighter-portrait-area:has(.portrait-unit) :is(.fighter-target-ring,.fighter-inspect){border-radius:5px}body .fighter-portrait-area:has(.portrait-unit):before,body .fighter-portrait-area:has(.portrait-unit):after,body .tactical-empty{border-radius:5px}body .fighter.active .portrait.portrait-unit img{filter:drop-shadow(0 0 5px #edd08fa6)}body .fighter.is-targeted .portrait.portrait-unit img{filter:drop-shadow(0 0 5px #eaa189a6)}body .ruby-location-screen .enemy-inspect>.portrait.portrait-unit img{object-fit:contain!important;object-position:center!important}.projectile-spear .projectile-core:before{content:"";position:absolute;width:48px;height:3px;top:13px;left:-14px;background:linear-gradient(#d9b78a,#80552d);box-shadow:0 0 3px #000}.projectile-spear .projectile-core:after{content:"";position:absolute;width:14px;height:10px;top:9px;left:29px;background:linear-gradient(#f1e5cb,#7d9199);clip-path:polygon(0 0,100% 50%,0 100%,25% 50%)}body:has(.tabletop-battle){--tabletop-safe-top: max( env(safe-area-inset-top, 0px), var(--telegram-safe-top, 0px) );--tabletop-safe-bottom: max( env(safe-area-inset-bottom, 0px), var(--telegram-safe-bottom, 0px) );--tabletop-viewport: var(--telegram-viewport-height, 100dvh);--tabletop-room: calc( var(--tabletop-viewport) - var(--tabletop-safe-top) - var(--tabletop-safe-bottom) );--tabletop-tray-width: min( calc(100vw - 16px) , 544px, calc(var(--tabletop-room) * .077 * 1100 / 189) );--tabletop-tray-height: calc(var(--tabletop-tray-width) * 189 / 1100);--tabletop-footer-gap: calc(var(--tabletop-room) * .014);--tabletop-button-height: calc(var(--tabletop-tray-height) * .6);background:#1f1b17}.game-shell.combat-shell:has(.tabletop-battle){--battle-dock-height: calc( var(--tabletop-tray-height) + var(--tabletop-footer-gap) + var(--battle-safe-bottom) );background:#1f1b17}.immersive-combat.tabletop-battle{--tabletop-header-height: clamp( 96px, calc(var(--battle-room, 100dvh) * .155), 144px );--tabletop-surface-top: calc( var(--battle-safe-top, 0px) + max( calc(var(--battle-room, 100dvh) * .215), calc(var(--tabletop-header-height) + 14px) ) );--tabletop-surface-bottom: calc( var(--battle-safe-bottom, 0px) + max( calc(var(--battle-room, 100dvh) * .235), calc(var(--tabletop-tray-height) + var(--tabletop-footer-gap) + 10px) ) );--tabletop-surface-height: calc( var(--battle-viewport, 100dvh) - var(--tabletop-surface-top) - var(--tabletop-surface-bottom) );--battle-token-size: clamp( 28px, min( calc((min(100vw, 560px) * .8 - 24px) / 3), calc(var(--tabletop-surface-height) * .26 - 12px) ), 126px );color:#fff0cc;background:#1f1b17}.tabletop-battle>.battle-scenery{top:var(--tabletop-safe-top);bottom:var(--tabletop-safe-bottom);background:#70492a}.tabletop-battle .battle-landscape{object-fit:fill;object-position:center;filter:brightness(.86) saturate(.88) contrast(1.06)}.tabletop-battle .battle-vignette{background:linear-gradient(90deg,#1c100c20,transparent 18%,transparent 82%,#1c100c20)}.tabletop-battle :is(.battle-mist,.battle-motes){display:none}.tabletop-battle .battle-field.battle-diorama{padding-inline:5.5%;perspective:none}.tabletop-battle .combat-hud{position:relative;display:block;flex:0 0 var(--tabletop-header-height);align-self:center;width:min(94%,calc(var(--tabletop-header-height) * 2.5));height:var(--tabletop-header-height);margin:6px auto 0;padding:0;border:0;background:url(/art/interface/tabletop-hud-v2.webp) center / 100% 100% no-repeat;filter:drop-shadow(0 4px 3px #130e09aa)}.tabletop-battle .combat-hud h1{position:absolute;top:13%;left:10%;display:grid;place-items:center;width:59%;height:34%;min-height:0;margin:0;padding:0 0 2px;background:none;color:#fff0c6;font:700 clamp(23px,7.2vw,39px)/1 "Cormorant Garamond",Georgia,serif;text-shadow:0 2px #29150e,0 3px 4px #000b;filter:none}.tabletop-battle .combat-hud h1 .combat-chrome{display:none}.tabletop-battle .combat-hud.is-hostile h1{background:none;color:#ffcfb2;font-size:clamp(18px,5.9vw,32px)}.tabletop-battle .combat-hud>.combat-round{position:absolute;inset:9% auto auto 73.45%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;width:18%;height:43%;min-height:0;padding:0;border:0;border-radius:0;clip-path:none;background:none;box-shadow:none;text-shadow:0 2px #1e0b05}.tabletop-battle .combat-round small{font:700 calc(var(--tabletop-header-height) * .096)/1.05 "Cormorant Garamond",Georgia,serif;text-transform:none;letter-spacing:0;color:#f9e5af}.tabletop-battle .combat-round strong{font:700 calc(var(--tabletop-header-height) * .22)/1 "Cormorant Garamond",Georgia,serif;color:#fff2ce;font-variant-numeric:lining-nums tabular-nums}.tabletop-battle .combat-round :is(small,strong){display:block;width:100%;margin:0;padding:0;text-align:center;white-space:nowrap}.tabletop-battle .combat-turn-order{position:absolute;left:6%;top:58%;display:flex;align-items:center;justify-content:center;gap:4px;width:88%;height:28%;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:hidden}.tabletop-battle .combat-turn-order>button,.tabletop-battle .combat-turn-order>button.current{position:relative;flex:0 0 min(calc((100% - 24px) / 7),calc(var(--tabletop-header-height) * .24));width:min(calc((100% - 24px) / 7),calc(var(--tabletop-header-height) * .24));height:auto;aspect-ratio:1;min-width:0;min-height:0;max-width:none;max-height:none;padding:0;border:0;border-radius:0;box-shadow:none;background:none}.tabletop-battle .combat-turn-order>button.current .portrait img{filter:drop-shadow(0 0 3px #ffd977) drop-shadow(0 0 1px #fff0b2)}.tabletop-battle .combat-turn-order>button.current:after{content:"";position:absolute;left:calc(50% - 3px);top:1px;width:6px;height:6px;transform:rotate(45deg);border:1px solid #fff0a6;background:#e9ac32;box-shadow:0 0 5px #ffd176}.tabletop-battle .combat-turn-order .portrait.mini{width:100%;height:100%}.tabletop-battle:not(.combat-result) .battle-field.battle-diorama{position:static}.immersive-combat.tabletop-battle.tactical-combat:not(.combat-result) .battle-formations.tactical-formations{position:absolute;top:var(--tabletop-surface-top);bottom:var(--tabletop-surface-bottom);left:10%;right:10%;display:block;width:auto;height:auto;margin:0;padding:0;transform:none;perspective:none}.tabletop-battle .battle-side.tactical-side,.tabletop-battle .battle-side.tactical-side.enemy{position:absolute;inset:0;display:block;width:100%;height:100%;margin:0;padding:0;pointer-events:none}.tabletop-battle .tactical-rank{position:absolute;top:var(--tabletop-rank-position);left:0;width:100%;height:calc(var(--battle-token-size) + 12px);min-height:0;gap:0;transform:translateY(-50%)}.tabletop-battle .enemy .tactical-rear{--tabletop-rank-position: 10%;--tabletop-rank-scale: .9}.tabletop-battle .enemy .tactical-front{--tabletop-rank-position: 32%;--tabletop-rank-scale: .96}.tabletop-battle .player .tactical-front{--tabletop-rank-position: 65%;--tabletop-rank-scale: 1}.tabletop-battle .player .tactical-rear{--tabletop-rank-position: 88%;--tabletop-rank-scale: 1.02}.tabletop-battle .tactical-rank .fighters{width:100%;padding:0;gap:12px;transform:scale(var(--tabletop-rank-scale));transform-origin:50% 50%;transform-style:preserve-3d;perspective:680px;perspective-origin:50% 50%}.tabletop-battle .tactical-cell{min-height:0;transform-style:preserve-3d;transform:rotateX(28deg);pointer-events:auto}.tabletop-battle :is(.rank-caption,.tactical-divider,.fighter-attack-kind,.acting-marker){display:none}.tabletop-battle .tactical-empty{width:calc(var(--battle-token-size) + 12px);height:calc(var(--battle-token-size) + 22px);border:1px solid #4224134d;border-radius:5px;background:#45271319;box-shadow:inset 0 2px 5px #37200e55;opacity:.42}.tabletop-battle.immersive-combat .battle-side .fighter,.tabletop-battle.immersive-combat .battle-side.enemy .fighter{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;width:var(--battle-token-size);min-width:0;padding:0;margin:0;border:0;border-radius:0;background:none;box-shadow:none;transform:translateZ(0);transition:filter .12s,opacity .16s}.tabletop-battle .battle-side .fighter :is(.fighter-portrait-area,.fighter-portrait-motion,.portrait){width:var(--battle-token-size);height:var(--battle-token-size);min-height:0;margin:0;padding:0}.tabletop-battle .fighter .portrait.portrait-unit img{transform:none;filter:drop-shadow(0 2px 1.2px #21130b99)}.tabletop-battle .fighter .fighter-count{width:82%;height:clamp(19px,3.3dvh,29px);bottom:5%;padding:1px 0 0;border-radius:2px;background:linear-gradient(transparent,#110d0ae8 40%);font:700 clamp(14px,5.2vw,24px)/1 "Cormorant Garamond",Georgia,serif;color:#fff0bf;text-shadow:0 1px 3px #000,1px 1px #160b05}.tabletop-battle.immersive-combat .battle-side .fighter .hp-track{flex:none;width:90%;height:10px;margin:1px 0 0;border:1px solid #d6ba80;border-radius:3px;background:#17130f;box-shadow:0 0 0 1px #21180f,inset 0 1px 3px #000}.tabletop-battle .battle-side.player .fighter .hp-fill{background:linear-gradient(#91ff98,#24d85c 35%,#07983b 80%,#066624)}.tabletop-battle .battle-side.enemy .fighter .hp-fill{background:linear-gradient(#ffb49a,#f74737 35%,#cf271f 80%,#8a1718)}.tabletop-battle .fighter-cover{top:-3px;left:-3px;width:17px;height:17px;border-radius:3px;border:1px solid #d9b97b;background:#182933e6}.tabletop-battle .fighter-cover .combat-symbol{width:16px;height:16px}.tabletop-battle .fighter-target-ring{display:none}.tabletop-battle .fighter.fallen{opacity:.27;filter:grayscale(1)}body:has(.tabletop-battle) .combat-action-dock.immersive-combat-dock.combat-controls,body:has(.tabletop-battle) .combat-result-actions.immersive-combat-dock{position:fixed;left:50%;bottom:calc(var(--tabletop-safe-bottom) + var(--tabletop-footer-gap));transform:translate(-50%);display:block;width:var(--tabletop-tray-width);max-width:none;height:var(--tabletop-tray-height);margin:0;padding:0;border:0;background:url(/art/interface/tabletop-controls-v3.webp) center / 100% 100% no-repeat;box-shadow:none}body:has(.tabletop-battle) .combat-target-caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}body:has(.tabletop-battle) .immersive-combat-dock.combat-controls>button{position:absolute;top:17%;left:7.5%;width:35.2%;height:60%;min-height:0;margin:0;padding:0 2px;gap:4px;border:0;border-radius:0;background:none;box-shadow:none;filter:none;color:#fff0c5;font:700 clamp(14px,calc(var(--tabletop-tray-height) * .37),29px)/1 "Cormorant Garamond",Georgia,serif;text-shadow:0 2px #35140b,0 2px 4px #000}body:has(.tabletop-battle) .immersive-combat-dock .combat-chrome{display:none}body:has(.tabletop-battle) .immersive-combat-dock.combat-controls>.magic-button{left:45.3%;background:none;opacity:.64;filter:none}body:has(.tabletop-battle) .immersive-combat-dock.combat-controls>.flee-button{left:calc(87.8% - var(--tabletop-button-height) / 2);width:var(--tabletop-button-height);height:var(--tabletop-button-height);padding:0;border:0;background:none;box-shadow:none}body:has(.tabletop-battle) .immersive-combat-dock :is(.combat-symbol,.tabletop-magic-emblem){display:inline-block;flex:0 0 calc(var(--tabletop-tray-height) * .48);width:calc(var(--tabletop-tray-height) * .48);height:calc(var(--tabletop-tray-height) * .48)}body:has(.tabletop-battle) .immersive-combat-dock .flee-button .combat-symbol{display:none}.tabletop-magic-emblem{background:url(/art/interface/tabletop-magic-v2.webp) center / contain no-repeat;filter:drop-shadow(0 2px 2px #14213c)}body:has(.tabletop-battle) .immersive-combat-dock>button:disabled:not(.magic-button){opacity:.62}body:has(.tabletop-battle) .combat-result-actions.immersive-combat-dock{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:0;place-items:center;background:none}body:has(.tabletop-battle) .combat-result-actions.immersive-combat-dock>button{width:100%;height:76%;min-height:0;margin:0;padding:0 12px;background:url(/art/interface/tabletop-blue-v1.webp) center / 100% 100% no-repeat;font:700 clamp(16px,calc(var(--tabletop-tray-height) * .34),27px)/1 "Cormorant Garamond",Georgia,serif;color:#fff0c5}body:has(.tabletop-battle) .combat-result-actions.immersive-combat-dock>button .frontier-icon{width:24px;height:24px}body:has(.tabletop-battle) .tabletop-retreat-dialog{width:min(340px,calc(100vw - 32px));border:4px ridge #b28c50;border-radius:11px;background:linear-gradient(125deg,#654529,#38271b 65%,#52351f);color:#f6e2b8;box-shadow:inset 0 0 0 2px #22150e,0 15px 50px #000a}.tabletop-retreat-dialog .section-heading h2{color:#fff0c5;font-size:32px;text-shadow:0 2px #22100a}.tabletop-retreat-dialog p{margin:5px 0 19px;color:#e0cdb0;font-size:13px;line-height:1.5}.tabletop-retreat-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tabletop-retreat-actions>button.ui-button{min-height:50px;border:0;background:url(/art/interface/tabletop-red-v1.webp) center / 100% 100% no-repeat;color:#fff0c5;font:700 24px/1 Cormorant Garamond,Georgia,serif;text-shadow:0 2px #25110a}.tabletop-retreat-actions>.tabletop-confirm-no.ui-button{background-image:url(/art/interface/tabletop-blue-v1.webp)}.combat-screen.immersive-combat.tabletop-battle.combat-result{display:flex;flex-direction:column;height:var(--tabletop-viewport);min-height:var(--tabletop-viewport);max-height:var(--tabletop-viewport);overflow:hidden}.tabletop-result-scroll{flex:1;min-height:0;width:100%;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:14px 10px 12px}.tabletop-battle .result-panel.tabletop-report{display:grid;gap:15px;width:min(100%,450px);margin:0 auto;padding:7px 5px 8px;border:solid transparent;border-width:37px 23px 35px;border-image:url(/art/interface/tabletop-report-v3.webp) 14% 10% fill / 37px 23px 35px stretch;border-radius:0;background:none;box-shadow:none;color:#50351f;filter:drop-shadow(0 5px 8px #24160db0)}.tabletop-report-heading{text-align:center}.tabletop-report-heading h1{margin:0 0 5px;font:700 clamp(34px,10vw,46px)/1 "Cormorant Garamond",Georgia,serif;color:#244e70;text-shadow:0 1px #fff4d7}.tabletop-report .battle-outcome-caption{margin:0;color:#775b3c;font-size:12px;line-height:1.4;text-shadow:none}.tabletop-battle .tabletop-report :is(.combat-rewards,.combat-casualties,.battle-result-army){margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:#50351f}.tabletop-battle .tabletop-report :is(.combat-rewards h2,.combat-casualties h2){margin:0;color:#5a3a1d;font:700 25px/1.05 Cormorant Garamond,Georgia,serif}.tabletop-report .reward-heading{margin-bottom:9px}.tabletop-report .battle-reward-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tabletop-battle .tabletop-report .battle-reward-cards>div,.tabletop-battle .tabletop-report .casualty-totals>span{padding:8px;border:1px solid #9c713e55;border-radius:5px;background:#af7c2312;box-shadow:inset 0 1px #fff7dd99;color:#50351f}.tabletop-battle .tabletop-report .battle-reward-cards strong{color:#553410;font:700 clamp(24px,7vw,32px)/1 "Cormorant Garamond",Georgia,serif}.tabletop-battle .tabletop-report :is(.combat-rewards small,.combat-casualties small){color:#7b6246}.tabletop-report .combat-casualties{padding-top:12px!important;border-top:1px solid #9c713e55!important}.tabletop-report .casualty-totals{margin:9px 0}.tabletop-battle .tabletop-report .casualty-totals strong{color:#365932;font:700 24px/1 Cormorant Garamond,Georgia,serif}.tabletop-battle .tabletop-report .casualty-totals .loss strong{color:#9c4528}.tabletop-battle .tabletop-report :is(.no-casualties,.army-hint,.healing-return){color:#516447}.tabletop-report .casualty-breakdown,.tabletop-report .battle-result-army{border-top:1px solid #9c713e55!important}.tabletop-report :is(.casualty-breakdown,.battle-result-army)>summary{display:flex;align-items:center;gap:7px;min-height:40px;padding:7px 0;cursor:pointer;list-style:none;color:#63431f;font:700 17px/1.2 Cormorant Garamond,Georgia,serif}.tabletop-report summary::-webkit-details-marker{display:none}.tabletop-report summary>:last-child{margin-left:auto}.tabletop-report .battle-result-army summary strong{color:#365932;font:700 20px/1 Cormorant Garamond,Georgia,serif}.tabletop-battle .tabletop-report .casualty-list li strong{color:#50351f}.tabletop-report .casualty-list{margin:0}.tabletop-battle .tabletop-report .casualty-list>li:nth-child(n){padding:8px 0;border-bottom:1px solid #9c713e33;background:none;color:#50351f}.tabletop-report .casualty-list li b{color:#9c4528}.tabletop-survivors{display:grid}.tabletop-survivors>button{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;padding:8px 0;border:0;border-top:1px solid #9c713e33;background:none;text-align:left;color:#50351f}.tabletop-survivors>button .portrait{width:40px;height:40px}.tabletop-survivors>button span{min-width:0}.tabletop-survivors>button strong{display:block;font:700 19px/1 Cormorant Garamond,Georgia,serif}.tabletop-survivors>button small{font-size:10px;color:#7b6246}.tabletop-survivors>button b{font-size:15px;white-space:nowrap}.tabletop-report-journal{display:flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:7px;border:1px solid #9b784b88;border-radius:4px;color:#5f4228;background:#af7c231a;font:700 18px/1 Cormorant Garamond,Georgia,serif}.tabletop-battle .tabletop-report :is(.resurrection-troop,.combat-material-drop,.combat-equipment-drop){color:#50351f;background-color:#cba46c29}.tabletop-battle .tabletop-report .legendary-effect{border-color:#9c713e55;background:none;color:#78501e}.tabletop-battle .tabletop-report .combat-rewards strong{color:#553410}.tabletop-battle .tabletop-report .combat-equipment-drop{background:#cba46c29}.tabletop-battle .tabletop-report .combat-loot-delivery{color:#3e693c}.tabletop-battle .tabletop-report .combat-loot-delivery.is-pending{color:#8b4f1f}.tabletop-battle .tabletop-report .resurrection-troop b{color:#3e693c}.tabletop-battle .tabletop-report .resurrection-notice{padding:8px;border:1px solid #9c713e55;border-radius:4px;background:#af7c2312;color:#6e542f;font-size:12px;line-height:1.4}.tabletop-battle .tabletop-report .combat-loot-affixes span{color:#50351f;background:#a67e3d22}body:has(.tabletop-battle) :is(.combat-unit-sheet,.combat-journal-sheet){border-color:#ad8750;background:linear-gradient(135deg,#503921,#2b211a);color:#f2e0b6}body:has(.tabletop-battle) :is(.combat-unit-sheet,.combat-journal-sheet,.tabletop-retreat-dialog) .icon-button{border-color:#b3925e;background:#4b3524;color:#f7e4bb}body:has(.tabletop-battle) .combat-unit-sheet .unit-card-identity{border-color:#a1814e88;background:#30241b}body:has(.tabletop-battle) .combat-unit-sheet :is(.unit-card-vitals>div,.unit-attributes>div){border-color:#a1814e66;background:#261e18}body:has(.tabletop-battle) :is(.combat-unit-sheet,.combat-journal-sheet) :is(h2,h3,strong){color:#f4dfb0}body:has(.tabletop-battle) .combat-impact-number{color:#ff5d36;font:700 30px/1 Cormorant Garamond,Georgia,serif;text-shadow:2px 2px #2a0b05,-1px -1px #2a0b05,0 3px 8px #000b}body:has(.tabletop-battle) .combat-flight .portrait-unit img{transform:none;filter:none}.tabletop-fx:not(.is-projectile) .combat-flight:first-child .portrait-unit{outline:none;outline-offset:0;transform-origin:center;filter:none}.tabletop-fx:not(.is-projectile) .combat-flight{filter:none}.tabletop-fx .combat-flight-shadow{position:absolute;left:50%;width:94%;height:20%;border-radius:50%;background:radial-gradient(ellipse,#160b04d9 12%,#1f1008a6 40%,transparent 73%);pointer-events:none}.tabletop-battle .fighter.is-attacking[data-attack-type=ranged] .fighter-portrait-motion>.portrait{opacity:1}.tabletop-battle .battle-scene-flash,.tabletop-battle .fighter.just-fallen .fighter-portrait-motion{animation-duration:var(--combat-hit-recovery, .2116s)}@media(max-height:600px){.immersive-combat.tabletop-battle{--tabletop-header-height: 96px}.tabletop-battle .combat-hud h1{font-size:25px}.tabletop-battle .combat-hud.is-hostile h1{font-size:18px}.tabletop-battle .battle-side .fighter .hp-track{height:7px}}@media(prefers-reduced-motion:reduce){.tabletop-battle .fighter{transition:none}}@media(orientation:landscape)and (max-height:480px){body:has(.tabletop-battle){--tabletop-tray-width: min(80vw, 380px)}.immersive-combat.tabletop-battle{--tabletop-header-height: 90px;--battle-token-size: clamp( 28px, min(10vw, calc(var(--tabletop-surface-height) * .43 - 12px)), 84px )}.tabletop-battle .battle-side.tactical-side,.tabletop-battle .battle-side.tactical-side.enemy{width:48%}.tabletop-battle .battle-side.tactical-side.player{left:0;right:auto}.tabletop-battle .battle-side.tactical-side.enemy{left:auto;right:0}.tabletop-battle .enemy .tactical-rear,.tabletop-battle .player .tactical-front{--tabletop-rank-position: 24%;--tabletop-rank-scale: .96}.tabletop-battle .enemy .tactical-front,.tabletop-battle .player .tactical-rear{--tabletop-rank-position: 76%;--tabletop-rank-scale: 1.02}.tabletop-battle .combat-hud h1{font-size:22px}.tabletop-battle .combat-hud.is-hostile h1{font-size:16px}.tabletop-battle .combat-round small{font-size:10px}.tabletop-battle .combat-round strong{font-size:20px}.tabletop-battle.immersive-combat .battle-side .fighter,.tabletop-battle.immersive-combat .battle-side.enemy .fighter{border:0;padding:0;gap:1px}.tabletop-battle.immersive-combat .battle-side .fighter .hp-track{height:4px;margin-top:1px}.tabletop-battle .fighter-cover{display:none}.tabletop-battle .fighter .fighter-count{height:13px;font-size:11px}}.painted-settings-icon{display:inline-block;flex:0 0 auto;width:40px;height:40px;vertical-align:middle;pointer-events:none}.game-shell.ruby-game-shell:has(.painted-settings){background-position:center;background-size:cover}.game-shell.ruby-game-shell:has(.painted-settings):before{background:linear-gradient(#0c11142e,transparent 25%,#0a101329 80%)}.game-shell.ruby-game-shell:has(.painted-settings)>main{padding:0 8px 16px;scrollbar-color:#a67c36 #142632}.ruby-game-shell .painted-settings{--settings-cream: #f8e6bb;--settings-quiet: #cabda1;--settings-panel: url(/art/settings/panel-v1.webp);color:var(--settings-cream);padding:0}.ruby-game-shell .painted-settings>.page-title{width:min(100%,350px);margin:0 auto 3px;padding:0;min-height:65px;background:url(/art/interface/tabletop-blue-v1.webp) center / 100% 100% no-repeat;filter:drop-shadow(0 3px 3px #130e0999)}.painted-settings .frontier-section-title{justify-content:center;min-height:65px;gap:10px}.painted-settings .frontier-section-emblem{width:37px;height:37px;border:0;box-shadow:none;background:none;overflow:visible}.painted-settings .frontier-section-emblem .painted-settings-icon{width:40px;height:40px}.ruby-game-shell .painted-settings>.page-title h1{font:700 34px/1 Cormorant Garamond,Georgia,serif;color:#fff0c8;text-shadow:0 2px #091725,0 3px 5px #0009}.settings-bookmarks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));position:sticky;top:4px;z-index:3;gap:3px;padding:3px 0 9px}.settings-bookmarks>button{min-width:0;height:42px;border:0;border-radius:0;padding:0 12px 2px;background:url(/art/interface/tabletop-blue-v1.webp) center / 100% 100% no-repeat;color:#f6e2b5;font:700 19px/1 Cormorant Garamond,Georgia,serif;text-shadow:0 2px #092037;filter:drop-shadow(0 2px 2px #1d0d05b0)}.settings-book{display:grid;gap:13px}.painted-settings :is(#settings-game,#settings-social,#settings-account){scroll-margin-top:55px}.ruby-game-shell .painted-settings :is(.combat-preferences,.settings-group){min-width:0;padding:2px 2px 4px;margin:0;border:22px solid transparent;border-image:var(--settings-panel) 18% fill / 22px stretch;border-radius:0;background:none;box-shadow:none;overflow:visible;filter:drop-shadow(0 4px 5px #1b0d07b0)}.ruby-game-shell .painted-settings :is(.settings-group>h2,.combat-preferences>h2){display:flex;align-items:center;gap:9px;margin:-4px 0 9px;padding:0 0 9px;min-height:42px;border:0;border-bottom:1px solid #b28a4659;background:none;color:#f3dfae;font:700 27px/1.05 Cormorant Garamond,Georgia,serif;letter-spacing:0;text-transform:none;text-shadow:0 2px #06111a}.painted-settings :is(.settings-group>h2,.combat-preferences>h2) .painted-settings-icon{width:36px;height:36px}.ruby-game-shell .painted-settings .settings-group-list{display:grid;margin:0;gap:13px}.ruby-game-shell .painted-settings .settings-group .settings-service{display:flex;width:100%;gap:10px;margin:0;padding:10px 0;min-height:72px;border:0;border-bottom:1px solid #bd995e30;border-radius:0;background:transparent;box-shadow:none;color:var(--settings-cream)}.ruby-game-shell .painted-settings .settings-group .settings-service:last-child{border-bottom:0;padding-bottom:3px}.ruby-game-shell .painted-settings .settings-service .settings-service-icon{display:grid;place-items:center;width:45px;height:45px;flex:0 0 45px;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible}.painted-settings .settings-service-icon>.painted-settings-icon{width:45px;height:45px;filter:drop-shadow(0 2px 1px #0008)}.ruby-game-shell .painted-settings .settings-group .settings-service strong{color:#f9e6bc;font:700 22px/1.04 Cormorant Garamond,Georgia,serif;text-shadow:0 2px #07141b}.ruby-game-shell .painted-settings .settings-group .settings-service small{color:var(--settings-quiet);font-size:11px;font-weight:400;line-height:1.4;margin-top:4px;overflow-wrap:anywhere}.ruby-game-shell .painted-settings .settings-group .settings-chevron{width:15px;flex:0 0 15px;color:#e0b766}.ruby-game-shell .painted-settings .settings-group .settings-online{color:#98d6ba;font-size:11px;flex-shrink:0}.ruby-game-shell .painted-settings .settings-group .settings-unread{color:#ffedc0;background:#704b1d;border:1px solid #d3a354}.painted-settings .settings-service>span:nth-child(2){min-width:0}.painted-settings .settings-group .mechanic-help-button{margin-left:auto;background:#263e4c;border-color:#b59555;color:#f0d6a0}.painted-settings .combat-preferences fieldset{min-width:0;margin:0;padding:0;border:0}.painted-settings .combat-preferences legend{padding:0 0 7px;color:#d6c9ad;font-size:12px}.painted-settings .combat-speed-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.painted-settings .combat-speed-options button,.painted-settings .combat-sound-preview{min-width:0;min-height:49px;padding:2px 9px 4px;border:0;border-radius:0;background:url(/art/interface/tabletop-blue-v1.webp) center / 100% 100% no-repeat;color:#fff0c6;font:700 25px/1 Cormorant Garamond,Georgia,serif;text-shadow:0 2px #071b2b}.painted-settings .combat-speed-options button{position:relative;filter:saturate(.55) brightness(.78)}.painted-settings .combat-speed-options button[aria-pressed=true]{filter:drop-shadow(0 0 5px #f3bd5b68)}.painted-settings .combat-speed-options button[aria-pressed=true]:after{content:"";position:absolute;bottom:-3px;left:calc(50% - 4px);width:8px;height:8px;transform:rotate(45deg);border:1px solid #f8dfa0;background:#d7a649;box-shadow:0 1px 3px #0008}.painted-settings .combat-sound-toggle{display:flex;align-items:center;gap:9px;width:100%;min-height:70px;margin:11px 0 0;padding:7px 0;border:0;border-top:1px solid #bc965b38;border-bottom:1px solid #bc965b38;border-radius:0;background:none;text-align:left;color:#f6e3b7}.painted-settings .combat-sound-toggle>span:not(.painted-settings-icon){flex:1;font:700 23px/1.1 Cormorant Garamond,Georgia,serif}.painted-settings .combat-sound-toggle small{display:block;margin-top:3px;color:#c7bca3;font:400 11px/1.2 Manrope,sans-serif}.painted-sound-switch{display:block;flex:0 0 48px;height:27px;padding:3px;border:2px solid #8f6a34;border-radius:18px;background:#1c1712;box-shadow:inset 0 2px 4px #000c,0 1px #d5b56b69}.painted-sound-switch>i{display:block;width:17px;height:17px;border:1px solid #f1d399;border-radius:50%;background:radial-gradient(circle at 35% 25%,#ffecaa,#b58439 67%,#543314);box-shadow:0 1px 3px #000b;transition:transform .14s}.combat-sound-toggle[aria-pressed=true] .painted-sound-switch{background:#164e79;border-color:#d6a85c}.combat-sound-toggle[aria-pressed=true] .painted-sound-switch>i{transform:translate(21px)}.painted-settings .combat-volume{display:block;margin:12px 0 3px;color:#d6c9ad;font-size:12px}.painted-settings .combat-volume>span{display:flex;justify-content:space-between}.painted-settings .combat-volume b{color:#f5d998;font-variant-numeric:tabular-nums}.painted-settings .combat-volume input{appearance:none;display:block;width:100%;height:32px;padding:0;margin:5px 0;border:0;background:transparent;cursor:pointer}.painted-settings .combat-volume input::-webkit-slider-runnable-track{height:9px;border:1px solid #95703c;border-radius:5px;background:linear-gradient(90deg,#367db5 var(--sound-volume),#081820 var(--sound-volume));box-shadow:inset 0 2px 3px #0009,0 1px #e4bb652b}.painted-settings .combat-volume input::-moz-range-track{height:7px;border:1px solid #95703c;border-radius:5px;background:#081820}.painted-settings .combat-volume input::-moz-range-progress{height:7px;background:#367db5;border-radius:4px}.painted-settings .combat-volume input::-webkit-slider-thumb{appearance:none;width:21px;height:21px;margin-top:-7px;border:2px solid #765020;border-radius:50%;background:radial-gradient(circle at 35% 25%,#ffedb0,#d0a254 53%,#795125 82%);box-shadow:0 1px 3px #0009,inset 0 0 0 1px #ffdfa3}.painted-settings .combat-volume input::-moz-range-thumb{width:17px;height:17px;border:2px solid #765020;border-radius:50%;background:#d0a254}.painted-settings .combat-volume input:disabled{opacity:.4}.painted-settings .combat-sound-preview{width:100%;min-height:48px;font-size:21px;margin-top:1px}.painted-settings .combat-sound-preview:disabled{filter:grayscale(.8);opacity:.5}.ruby-game-shell .painted-settings .settings-logout{display:flex;width:min(100%,320px);margin:0 auto;padding:7px 18px;justify-content:center;align-items:center;min-height:58px;border:0;border-radius:0;background:url(/art/interface/tabletop-red-v1.webp) center / 100% 100% no-repeat;color:#ffebc5;font:700 24px/1 Cormorant Garamond,Georgia,serif;text-shadow:0 2px #2d1008}.painted-settings .settings-logout .painted-settings-icon{width:32px;height:32px}.ruby-game-shell .painted-settings .settings-save-note{margin:-4px 10px 0;padding:7px;border-radius:5px;background:#081822b8;color:#ddd0b3;font-size:10px;line-height:1.55}.painted-settings .settings-save-note svg{color:#c7bb8f}.painted-settings :is(button,input):focus-visible{outline:2px solid #f1c772;outline-offset:3px}.painted-settings :is(button):active:not(:disabled){transform:translateY(1px)}body:has(.painted-settings) .sheet{--frontier-ivory: #f6e4bd;--frontier-muted: #c7bba2;--frontier-gold-soft: #e2bf76;--frontier-deep: #0a1e2a;--frontier-panel: #132d3e;--muted: #c7bba2;--text: #f6e4bd;color:#f6e4bd;width:calc(100% - 12px);max-width:460px;border:21px solid transparent;border-image:url(/art/settings/panel-v1.webp) 18% fill / 21px stretch;border-radius:0;background:none;box-shadow:none;padding:1px 4px calc(5px + env(safe-area-inset-bottom))}body:has(.painted-settings) .sheet .section-heading{gap:10px;align-items:center}body:has(.painted-settings) .sheet .section-heading h2{color:#f5dfaf;font:700 29px/1.05 Cormorant Garamond,Georgia,serif;text-shadow:0 2px #06121c}body:has(.painted-settings) .sheet .sheet-handle{width:35px;height:3px;margin:-3px auto 11px;background:#b99554}body:has(.painted-settings) .sheet .ui-button:not(.icon-button),body:has(.painted-settings) .sheet :is(.primary-button,.secondary-button):not(.ui-button){min-height:54px;padding:8px 17px;border:0;border-radius:0;box-shadow:none;background:url(/art/interface/tabletop-blue-v1.webp) center / 100% 100% no-repeat;color:#fff0cb;font:700 23px/1 Cormorant Garamond,Georgia,serif;text-shadow:0 2px #0a1a2b}body:has(.painted-settings) .sheet .ui-button.ui-button-danger{background-image:url(/art/interface/tabletop-red-v1.webp)}body:has(.painted-settings) .sheet .section-heading>.icon-button{width:40px;height:40px;min-width:40px;border:0;border-radius:0;color:#f7e1ac;background:url(/art/settings/panel-v1.webp) center / 100% 100% no-repeat}body:has(.painted-settings) .sheet :is(input,select,textarea){font-size:16px;color:#f6e5bd;border:1px solid #a98449;background:#071a26;box-shadow:inset 0 2px 5px #0007}body:has(.painted-settings) .sheet :is(.ui-panel,.account-settings-intro,.race-change-summary,.telegram-link-status,.action-reason){border-color:#ae8c4c5c;background:#0e2938;box-shadow:inset 0 1px #e7c17d16;color:#e6d4b1}body:has(.painted-settings) .sheet :is(.muted,.stat-reset-intro,.rename-copy,.telegram-hint){color:#c9bda3}body:has(.painted-settings) .sheet .sheet-fixed-footer{background:#102c3c;border-color:#a786465c}@media(max-width:350px){.ruby-game-shell .painted-settings :is(.combat-preferences,.settings-group){border-width:19px;border-image-width:19px;padding:1px 0 2px}.ruby-game-shell .painted-settings .settings-group .settings-service{gap:6px}.ruby-game-shell .painted-settings .settings-group .settings-service strong{font-size:20px}.ruby-game-shell .painted-settings .settings-service .settings-service-icon{flex-basis:38px;width:38px}.painted-settings .settings-service-icon>.painted-settings-icon{width:38px;height:38px}.settings-bookmarks>button{padding-inline:8px;font-size:18px}}@media(prefers-reduced-motion:reduce){.painted-sound-switch>i{transition:none}}.painted-feature-icon{display:inline-block;width:40px;height:40px;flex:0 0 auto;vertical-align:middle;pointer-events:none}.painted-feature-icon>img{width:100%;height:100%;object-fit:contain}:is(.painted-service-page,.painted-help-sheet){--service-cream: #f8e7c3;--service-quiet: #c0c5c1;--service-line: #b7945550;--service-panel: url(/art/settings/panel-v1.webp);color:var(--service-cream)}.game-shell.ruby-game-shell:has(.painted-service-page){background-position:center;background-size:cover}.game-shell.ruby-game-shell:has(.painted-service-page):before{background:linear-gradient(#0c11142e,transparent 25%,#0a101329 80%)}.game-shell.ruby-game-shell:has(.painted-service-page)>main{padding:0 8px 16px;scrollbar-color:#ae874b #0d2638}.ruby-game-shell .painted-service-page{padding:0}.ruby-game-shell .painted-service-page>.service-heading{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:5px;min-height:66px;margin:0 0 10px;padding:0;border:0}.ruby-game-shell .painted-service-page>.service-heading .frontier-section-title{position:relative;display:grid;place-items:center;min-height:63px;padding:8px 12px;gap:0;background:url(/art/interface/tabletop-blue-v1.webp) center/100% 100% no-repeat;filter:drop-shadow(0 3px 3px #150b0780)}.ruby-game-shell .painted-service-page>.service-heading h1{display:block;width:100%;margin:0;padding:0;text-align:center;white-space:nowrap;text-wrap:nowrap;font:700 clamp(23px,6.4vw,27px)/1 "Cormorant Garamond",Georgia,serif;color:#ffedc4;text-shadow:0 2px #081a2b}.ruby-game-shell .painted-service-page .frontier-section-emblem{position:absolute;top:50%;left:11px;transform:translateY(-50%);width:30px;height:30px;border:0;border-radius:0;background:none;box-shadow:none}.ruby-game-shell .painted-service-page .frontier-section-emblem>:is(.painted-feature-icon,.painted-settings-icon){width:30px;height:30px}.ruby-game-shell .painted-service-page .frontier-section-action{position:absolute;right:18px;top:50%;transform:translateY(-50%);display:grid;place-items:center}.ruby-game-shell .painted-service-page .mechanic-help-button{width:22px;height:22px;min-width:22px;min-height:22px;margin:0;padding:0;background:#163c55;border:1px solid #d5af62;color:#f4d79e}.ruby-game-shell .painted-service-page>.service-heading>.icon-button{width:40px;height:42px;min-height:42px;padding:8px;display:grid;place-items:center;border:0;border-radius:0;background:url(/art/settings/panel-v1.webp) center/100% 100% no-repeat;color:#f2dbad;box-shadow:none}.ruby-game-shell .painted-service-page>.service-heading-long .frontier-section-emblem{display:none}.ruby-game-shell .painted-service-page>.service-heading-long h1{font-size:23px;line-height:.95;white-space:normal;text-wrap:balance;max-width:220px}.ruby-game-shell .painted-referrals-page .frontier-section-emblem{display:none}.ruby-game-shell .painted-service-page>.service-panel{border:22px solid transparent;border-image:var(--service-panel) 18% fill / 22px / 0 stretch;border-radius:0;padding:1px 2px 6px;background:none;box-shadow:none;min-width:0;filter:drop-shadow(0 4px 5px #1b0d0780)}.ruby-game-shell .painted-service-page :is(.primary-button,.secondary-button,.list-pagination button){min-height:45px;min-width:0;padding:8px 14px;border:0;border-radius:0;background:url(/art/interface/tabletop-blue-v1.webp) center/100% 100% no-repeat;color:#fff0c7;box-shadow:none;font:700 22px/1 Cormorant Garamond,Georgia,serif;text-shadow:0 2px #0a2137;overflow-wrap:normal;word-break:normal}.ruby-game-shell .painted-service-page :is(.primary-button,.secondary-button):active:not(:disabled){transform:translateY(1px);filter:brightness(.88)}.ruby-game-shell .painted-service-page button:disabled{cursor:default;opacity:.58}.ruby-game-shell .painted-service-page :is(input:not([type=checkbox]),textarea),body .painted-help-sheet .help-book-search{min-height:44px;min-width:0;font:400 16px/1.4 Manrope,sans-serif;color:#f3e5c8;border:1px solid #987a43;border-radius:6px;background:#071b29;box-shadow:inset 0 2px 5px #0008,0 1px #e9ca7f20}.ruby-game-shell .painted-service-page :is(input,textarea)::placeholder,body .painted-help-sheet input::placeholder{color:#a0b0b5;opacity:1}.ruby-game-shell .painted-service-page :is(.achievement-filters,.mail-tabs,.mail-category-tabs,.referral-tabs){display:grid;gap:3px;margin:0 0 14px;padding:3px;min-width:0;border:1px solid #97784770;border-radius:6px;background:linear-gradient(#071b2b,#112c3d);box-shadow:inset 0 2px 4px #0008}.ruby-game-shell .painted-service-page :is(.achievement-filters,.referral-tabs){grid-template-columns:repeat(3,minmax(0,1fr))}.ruby-game-shell .painted-service-page :is(.mail-tabs,.referral-tabs){grid-template-columns:repeat(2,minmax(0,1fr))}.ruby-game-shell .painted-service-page .mail-category-tabs{grid-template-columns:repeat(5,minmax(0,1fr));padding:0;border:0;background:none;box-shadow:none;margin-bottom:9px}.ruby-game-shell .painted-service-page :is(.achievement-filters,.mail-tabs,.mail-category-tabs,.referral-tabs)>button{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:40px;margin:0;padding:5px;border:1px solid transparent;border-radius:4px;background:transparent;color:#aebdc3;box-shadow:none;filter:none;font:600 13px/1.2 Manrope,sans-serif;text-shadow:none;white-space:nowrap}.ruby-game-shell .painted-service-page :is(.achievement-filters,.mail-tabs,.mail-category-tabs,.referral-tabs)>button:is([aria-pressed=true],[aria-selected=true]){background:linear-gradient(#235779,#15394f);border:1px solid #c5a567;color:#fff1ce;box-shadow:inset 0 1px #f8df9a20,0 1px 3px #0008;filter:none}.ruby-game-shell .painted-service-page .mail-tabs>button{min-height:43px;font:700 clamp(16px,4.6vw,20px)/1 "Cormorant Garamond",Georgia,serif;gap:6px}.ruby-game-shell .painted-service-page .mail-tabs .painted-settings-icon{width:25px;height:25px}.ruby-game-shell .painted-service-page :is(.achievement-filters,.referral-tabs) b{min-width:17px;height:17px;margin:0;padding:0 4px;border:1px solid #ae8f51;border-radius:10px;background:#0a2233;color:#f5ddb0;font:600 10px/15px Manrope,sans-serif}.ruby-game-shell .painted-service-page .service-reward{display:inline-flex;align-items:center;justify-content:flex-start;gap:4px;min-width:0;line-height:1.2;white-space:nowrap;vertical-align:middle}.ruby-game-shell .painted-service-page .service-reward>:is(img,.painted-feature-icon,.painted-settings-icon){width:25px;height:25px;flex:0 0 25px;min-width:0;margin:0;border:0;background:none;object-fit:contain}.ruby-game-shell .painted-service-page .service-reward b{width:auto;min-width:0;margin:0;color:#f5dfb4;font:700 16px/1.2 Manrope,sans-serif;text-align:left;letter-spacing:0}.ruby-game-shell .painted-service-page .service-reward>.service-currency{width:23px;height:25px;flex:0 0 23px}.ruby-game-shell .painted-service-page .service-reward small{display:inline;margin:0;color:#b9c4c5;font:400 12px/1.2 Manrope,sans-serif}.ruby-game-shell .painted-service-page :is(.service-empty,.help-book-empty){display:flex;flex-direction:column;align-items:center;gap:10px;padding:25px 8px;text-align:center;color:var(--service-quiet);background:none;border:0;font:400 14px/1.5 Manrope,sans-serif}.ruby-game-shell .painted-service-page .service-empty>:is(.painted-feature-icon,.painted-settings-icon){width:67px;height:67px}.ruby-game-shell .painted-service-page .service-empty>strong{color:var(--service-cream);font:700 25px/1.05 Cormorant Garamond,Georgia,serif}.ruby-game-shell .painted-service-page .service-empty p{margin:0;color:var(--service-quiet);font:400 14px/1.55 Manrope,sans-serif}.ruby-game-shell .painted-service-page :is(.service-quiet-button,.text-button){border:0;background:none;color:#e5c58a;text-decoration:underline;text-underline-offset:3px;font:500 13px/1.3 Manrope,sans-serif;padding:8px 2px;min-height:40px}.service-skeleton{display:grid;gap:0}.service-skeleton-row{display:flex;gap:12px;min-height:105px;align-items:center;border-bottom:1px solid #b7945533}.service-skeleton-row>i{width:46px;height:46px;flex:0 0 46px;border-radius:10px}.service-skeleton-row>span{display:grid;gap:10px;flex:1}.service-skeleton-row :is(i,b,small){display:block;background:linear-gradient(100deg,#163548 20%,#264c60,#163548 70%);background-size:220% 100%;animation:service-loading 1.6s ease-in-out infinite}.service-skeleton-row b{width:75%;height:16px;border-radius:3px}.service-skeleton-row small{width:92%;height:11px;border-radius:3px}.painted-achievements .service-skeleton-row{min-height:113px}@keyframes service-loading{to{background-position:-220% 0}}.ruby-game-shell .painted-achievements .achievement-overview{display:flex;gap:10px;align-items:center;border:0;border-radius:0;background:none;box-shadow:none;padding:1px 0 15px;margin:0 0 12px;border-bottom:1px solid var(--service-line);min-height:0}.ruby-game-shell .painted-achievements .achievement-emblem{width:47px;height:47px;flex:0 0 47px;border:0;background:none;box-shadow:none}.ruby-game-shell .painted-achievements .achievement-emblem .painted-settings-icon{width:47px;height:47px}.ruby-game-shell .painted-achievements .achievement-overview>div{flex:1;min-width:0}.ruby-game-shell .painted-achievements .achievement-overview strong{display:block;font:700 25px/1.05 Cormorant Garamond,Georgia,serif;color:#fae8bf}.ruby-game-shell .painted-achievements .achievement-overview small{display:block;margin-top:5px;font:400 11px/1.35 Manrope,sans-serif;color:#bfcbc9}.ruby-game-shell .painted-achievements .achievement-overview>span:last-child{width:63px;flex:0 0 63px;text-align:center;color:#eaca87}.ruby-game-shell .painted-achievements .achievement-overview>span:last-child b{font:700 34px/.9 Cormorant Garamond,Georgia,serif}.ruby-game-shell .painted-achievements .achievement-list{display:grid;gap:0}.ruby-game-shell .painted-achievements .achievement-card{display:grid;grid-template-columns:48px minmax(0,1fr);gap:6px 10px;position:relative;border:0;border-bottom:1px solid var(--service-line);border-radius:0;background:none;box-shadow:none;padding:16px 0;margin:0;min-height:113px;filter:none;overflow:visible}.ruby-game-shell .painted-achievements .achievement-card:last-child{border-bottom:0}.ruby-game-shell .painted-achievements .achievement-card>:is(.achievement-icon,.orb-icon){grid-column:1;grid-row:1 / span 2;width:48px;height:48px;align-self:center;border:0;border-radius:0;background:none;box-shadow:none;padding:0}.ruby-game-shell .painted-achievements .achievement-icon>:is(.painted-feature-icon,.painted-settings-icon){width:48px;height:48px}.ruby-game-shell .painted-achievements .achievement-card.is-ready>:is(.achievement-icon,.orb-icon){filter:drop-shadow(0 0 8px #5fbbef77)}.ruby-game-shell .painted-achievements .achievement-content{display:block;grid-column:2;min-width:0}.ruby-game-shell .painted-achievements .achievement-content h2{margin:0 0 5px;color:#fae9c4;font:700 23px/1.03 Cormorant Garamond,Georgia,serif}.ruby-game-shell .painted-achievements .achievement-content p{margin:0;color:#c4cdcc;font:400 13px/1.45 Manrope,sans-serif;overflow-wrap:anywhere}.ruby-game-shell .painted-achievements .achievement-progress-label{display:flex;justify-content:space-between;gap:8px;margin:10px 0 5px;color:#a9bec9;font:400 11px/1.2 Manrope,sans-serif}.ruby-game-shell .painted-achievements .achievement-progress-label b{flex-shrink:0;color:#d7e4df;font-weight:600}.ruby-game-shell .painted-achievements .achievement-content progress{width:100%;height:7px;border:1px solid #5b7582;border-radius:4px;background:#061c29;display:block;appearance:none;overflow:hidden}.ruby-game-shell .painted-achievements .achievement-content progress::-webkit-progress-bar{background:#061c29}.ruby-game-shell .painted-achievements .achievement-content progress::-webkit-progress-value{background:linear-gradient(#85d2f7,#317db0);border-radius:3px}.ruby-game-shell .painted-achievements .achievement-content progress::-moz-progress-bar{background:linear-gradient(#85d2f7,#317db0);border-radius:3px}.ruby-game-shell .painted-achievements .achievement-reward{grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;margin:0;padding:0;border:0;background:none}.ruby-game-shell .painted-achievements .achievement-reward .primary-button{width:114px;min-width:114px;min-height:42px;padding:7px 12px;font-size:21px;white-space:nowrap}.ruby-game-shell .painted-achievements .achievement-reward>small{display:none}.ruby-game-shell .painted-achievements .achievement-card.is-claimed{opacity:.66}.ruby-game-shell .painted-achievements .achievement-claimed{display:flex;align-items:center;gap:5px;color:#bec8c2;font:400 12px/1.2 Manrope,sans-serif}.ruby-game-shell .painted-achievements .achievement-footnote{margin:12px 0 0;color:#aabbbd;font:400 11px/1.5 Manrope,sans-serif}.ruby-game-shell .painted-service-page.painted-achievements .achievement-card:is(.is-ready,.is-claimed){border:0;border-bottom:1px solid var(--service-line);border-radius:0;background:none;box-shadow:none}.ruby-game-shell .painted-service-page .service-reward .service-reward-quality{font-size:9px;color:#d4aff5}:is(.painted-service-page,.painted-help-sheet) .help-book{margin:0;padding:0;min-width:0}:is(.painted-service-page,.painted-help-sheet) .help-book-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:63px;padding:0 0 12px;margin:0;background:none;border:0;border-bottom:1px solid var(--service-line);border-radius:0}:is(.painted-service-page,.painted-help-sheet) .help-toggle-copy{display:grid;gap:4px;min-width:0}:is(.painted-service-page,.painted-help-sheet) .help-toggle-copy strong{font:700 21px/1 Cormorant Garamond,Georgia,serif;color:#f4e4bf}:is(.painted-service-page,.painted-help-sheet) .help-toggle-copy small{font:400 11px/1.4 Manrope,sans-serif;color:#bdc9c7}.service-switch{position:relative;display:block;flex:0 0 47px;height:27px;border:2px solid #a8803e;border-radius:18px;background:#141919;box-shadow:inset 0 2px 4px #000a,0 1px #c5a56840}.service-switch input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;z-index:1;cursor:pointer}.service-switch i{position:absolute;top:3px;left:3px;width:17px;height:17px;border:1px solid #edcd89;border-radius:50%;background:radial-gradient(circle at 35% 25%,#f8e6a9,#ae7c32 67%,#62411b);box-shadow:0 1px 3px #000b;transition:transform .14s}.service-switch:has(input:checked){background:#16425c}.service-switch input:checked+i{transform:translate(20px)}.service-switch:has(input:focus-visible){outline:2px solid #fae7a8;outline-offset:3px}:is(.painted-service-page,.painted-help-sheet) .help-book-progress{display:flex;justify-content:space-between;gap:10px;padding:11px 0;margin:0;color:#b7c5c5;font:400 12px/1.3 Manrope,sans-serif}:is(.painted-service-page,.painted-help-sheet) .help-book-progress b{color:#e9d19d}:is(.painted-service-page,.painted-help-sheet) .help-book-search{display:block;width:100%;margin:0 0 14px;padding:10px 12px}:is(.painted-service-page,.painted-help-sheet) .help-book-topics{display:block;margin:0}:is(.painted-service-page,.painted-help-sheet) .help-topic-group{margin:0 0 17px}:is(.painted-service-page,.painted-help-sheet) .help-topic-group>h2{color:#b6c3c5;font:600 12px/1.3 Manrope,sans-serif;letter-spacing:.08em;text-transform:uppercase;margin:0;padding:0 0 5px}:is(.painted-service-page,.painted-help-sheet) .help-book-topics button{display:flex;width:100%;align-items:center;gap:10px;padding:9px 0;min-height:65px;border:0;border-bottom:1px solid var(--service-line);border-radius:0;background:none;box-shadow:none;text-align:left;color:#f6e5c1}:is(.painted-service-page,.painted-help-sheet) .help-topic-icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border:0;border-radius:0;background:none;box-shadow:none}:is(.painted-service-page,.painted-help-sheet) .help-topic-icon>:is(.painted-feature-icon,.painted-settings-icon){width:42px;height:42px}:is(.painted-service-page,.painted-help-sheet) .help-book-topics button>span:nth-child(2){flex:1;min-width:0}:is(.painted-service-page,.painted-help-sheet) .help-book-topics button strong{display:block;font:700 22px/1.05 Cormorant Garamond,Georgia,serif}:is(.painted-service-page,.painted-help-sheet) .help-book-topics button>svg{width:17px;height:17px;flex:0 0 17px;color:#d5b375}:is(.painted-service-page,.painted-help-sheet) .help-book-heading{display:flex;align-items:center;gap:10px;margin:12px 0;padding:0}:is(.painted-service-page,.painted-help-sheet) .help-book-heading>span{width:50px;height:50px;flex:0 0 50px;display:grid;place-items:center;border:0;background:none}:is(.painted-service-page,.painted-help-sheet) .help-book-heading :is(.painted-settings-icon,.painted-feature-icon){width:50px;height:50px}:is(.painted-service-page,.painted-help-sheet) .help-book-heading h2{margin:3px 0 0;color:#f5e5c1;font:700 29px/1 Cormorant Garamond,Georgia,serif}:is(.painted-service-page,.painted-help-sheet) .help-book-heading small{color:#b4c1c2;font-size:11px}:is(.painted-service-page,.painted-help-sheet) .help-book-route{display:flex;align-items:flex-start;gap:8px;padding:10px;color:#bdced1;background:#071e2d80;border:1px solid #8e795742;border-radius:4px;font:400 12px/1.4 Manrope,sans-serif}:is(.painted-service-page,.painted-help-sheet) .help-book-route svg{flex:0 0 16px}:is(.painted-service-page,.painted-help-sheet) :is(.help-book-intro,.help-book-sections p){color:#d4d9ce;font:400 14px/1.65 Manrope,sans-serif}:is(.painted-service-page,.painted-help-sheet) .help-book-sections{display:grid;gap:0}:is(.painted-service-page,.painted-help-sheet) .help-book-sections section{border:0;border-bottom:1px solid var(--service-line);border-radius:0;background:none;padding:16px 0}:is(.painted-service-page,.painted-help-sheet) .help-book-sections h3{margin:0 0 7px;color:#f4e3bd;font:700 24px/1 Cormorant Garamond,Georgia,serif}:is(.painted-service-page,.painted-help-sheet) .help-book-sections p{margin:0}:is(.painted-service-page,.painted-help-sheet) :is(.help-book-read,.help-book-practice){width:100%;margin:12px 0 0}:is(.painted-service-page,.painted-help-sheet) .help-book-storage{color:#b3c1c1;font-size:12px;line-height:1.5}body .sheet.page-sheet.painted-help-sheet{width:min(100% - 12px,470px);height:calc(var(--telegram-viewport-height, 100dvh) - max(8px,env(safe-area-inset-top,0px),var(--telegram-safe-top, 0px)) - max(8px,env(safe-area-inset-bottom,0px),var(--telegram-safe-bottom, 0px)));max-height:900px;margin:0;padding:14px 9px;border:18px solid transparent;border-image:var(--service-panel) 18% fill / 18px / 0 stretch;border-radius:0;display:flex;flex-direction:column;background:none}body .page-backdrop:has(.painted-help-sheet){align-items:center;padding:max(8px,env(safe-area-inset-top,0px),var(--telegram-safe-top, 0px)) 0 max(8px,env(safe-area-inset-bottom,0px),var(--telegram-safe-bottom, 0px))}body .painted-help-sheet>.section-heading{flex:0 0 auto;align-items:center;margin:0 0 13px;padding:0 0 12px;border-bottom:1px solid var(--service-line)}body .painted-help-sheet>.section-heading h2{color:#f7e5be;font:700 29px/1 Cormorant Garamond,Georgia,serif}body .painted-help-sheet>.sheet-scroll-body{flex:1;min-height:0;overflow:auto;scrollbar-color:#a88345 #112c3d}body .painted-help-sheet>.sheet-handle{background:#bb9252;flex:0 0 3px;width:30px;margin:-4px auto 10px}body .painted-help-sheet .icon-button{flex:0 0 38px;width:38px;height:40px;border:0;border-radius:0;background:url(/art/settings/panel-v1.webp) center/100% 100% no-repeat;color:#f6dfa9}body .painted-help-sheet :is(.primary-button,.secondary-button){min-height:45px;border:0;border-radius:0;background:url(/art/interface/tabletop-blue-v1.webp) center/100% 100% no-repeat;color:#ffedc5;font:700 22px/1 Cormorant Garamond,Georgia,serif}.ruby-game-shell .painted-referrals-page .referral-intro{display:block;padding:0;margin:0 0 12px;border:0;background:none}.ruby-game-shell .painted-referrals-page .referral-intro p{margin:0;color:#c7d1cc;font:400 13px/1.5 Manrope,sans-serif}.ruby-game-shell .painted-referrals-page .referral-rewards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:0;margin:0 0 10px;border:0;border-radius:0;background:none}.ruby-game-shell .painted-referrals-page .painted-referral-reward{display:flex;flex-direction:column;justify-content:flex-start;align-items:center;gap:8px;min-width:0;min-height:139px;padding:10px 5px;border:1px solid #b6965c88;border-radius:7px;background:linear-gradient(145deg,#1b4359,#0a2336);box-shadow:inset 0 1px #ffdfa322,0 2px 4px #0006;text-align:center}.ruby-game-shell .painted-referrals-page .painted-referral-reward>b{width:auto;display:block;margin:0;color:#f2d89c;font:700 34px/.9 Cormorant Garamond,Georgia,serif}.ruby-game-shell .painted-referrals-page .painted-referral-reward>b small{display:block;margin:5px 0 0;color:#b8c7ca;font:400 10px/1 Manrope,sans-serif}.ruby-game-shell .painted-referrals-page .referral-reward-parts{display:grid;gap:4px;justify-items:center}.ruby-game-shell .painted-referrals-page .referral-reward-parts .service-reward{justify-content:center}.ruby-game-shell .painted-referrals-page .referral-rule{margin:0 0 12px;padding:0;color:#b9c7c7;border:0;background:none;font:400 12px/1.5 Manrope,sans-serif}.ruby-game-shell .painted-referrals-page .referral-rule summary{cursor:pointer;padding:7px 0;color:#d6c597}.ruby-game-shell .painted-referrals-page .referral-rule p{margin:5px 0 10px;color:#c4ceca;font-size:13px}.ruby-game-shell .painted-referrals-page .referral-link-card{padding:0 0 14px;margin:0 0 14px;border:0;border-bottom:1px solid var(--service-line);border-radius:0;background:none}.ruby-game-shell .painted-referrals-page .referral-link-card label{display:block;color:#b9c7c7;font-size:12px;margin:0 0 7px}.ruby-game-shell .painted-referrals-page .referral-link-card input{display:block;width:100%;padding:10px;margin:0 0 9px;text-overflow:ellipsis}.ruby-game-shell .painted-referrals-page .referral-link-card>div{display:grid;grid-template-columns:47px minmax(0,1fr);gap:8px}.ruby-game-shell .painted-referrals-page .referral-link-card .ui-button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:6px 12px;white-space:nowrap}.ruby-game-shell .painted-referrals-page .referral-link-card .secondary-button{border:1px solid #a9874f;border-radius:5px;background:linear-gradient(#23465c,#0b273c);box-shadow:inset 0 1px #f4dc9b25}.ruby-game-shell .painted-referrals-page .referral-link-card .ui-button svg{width:18px;height:18px;flex:0 0 18px}.ruby-game-shell .painted-referrals-page .referral-friends{display:grid;gap:0}.ruby-game-shell .painted-referrals-page .referral-friend{border:0;border-radius:0;border-bottom:1px solid var(--service-line);margin:0;padding:7px 0 16px;background:none}.ruby-game-shell .painted-referrals-page .referral-friend:last-child{border-bottom:0}.ruby-game-shell .painted-referrals-page .referral-friend header{display:flex;align-items:center;gap:10px;margin:0 0 8px;padding:0 0 8px;border:0;border-radius:0;background:none}.ruby-game-shell .painted-referrals-page .referral-friend header>div{flex:1;min-width:0}.ruby-game-shell .painted-referrals-page .referral-friend-icon{width:40px;height:40px;flex:0 0 40px;border:0;border-radius:0;background:none}.ruby-game-shell .painted-referrals-page .referral-friend-icon .painted-settings-icon{width:40px;height:40px}.ruby-game-shell .painted-referrals-page .referral-friend header strong{color:#f5e5bd;font:700 24px/1.05 Cormorant Garamond,Georgia,serif;overflow-wrap:anywhere}.ruby-game-shell .painted-referrals-page .referral-friend header small{display:block;color:#b5c5c7;font:400 11px/1.4 Manrope,sans-serif;margin-top:4px}.ruby-game-shell .painted-referrals-page .referral-milestone{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 0;border:0;border-top:1px solid #b794552b;background:none}.ruby-game-shell .painted-referrals-page .referral-milestone-copy{flex:1;min-width:0}.ruby-game-shell .painted-referrals-page .referral-milestone-copy>b{display:block;color:#c5d2d1;font:600 12px/1.3 Manrope,sans-serif;margin-bottom:5px}.ruby-game-shell .painted-referrals-page .referral-milestone-rewards{display:flex;flex-wrap:wrap;gap:4px 9px}.ruby-game-shell .painted-referrals-page .referral-milestone .primary-button{flex:0 0 95px;min-width:95px;min-height:42px;padding:6px 12px;font-size:21px}.ruby-game-shell .painted-referrals-page :is(.referral-claimed,.referral-locked){color:#aec3c5;font:400 11px/1.4 Manrope,sans-serif;white-space:nowrap}.ruby-game-shell .painted-referrals-page .referral-tabs i{flex:0 0 5px;width:5px;height:5px;margin:0;border-radius:50%;background:#f4d28b}.ruby-game-shell .painted-referrals-page .referral-inviter{margin:0 0 13px;font:400 12px/1.4 Manrope,sans-serif;color:#afc0c4}.ruby-game-shell .painted-referrals-page :is(.referral-status,.referral-notice){color:#d6e2db;font:400 12px/1.5 Manrope,sans-serif}.ruby-game-shell .painted-referrals-page .referral-empty{display:flex;flex-direction:column;gap:10px;align-items:center;padding:25px 4px;text-align:center;font:400 14px/1.55 Manrope,sans-serif;color:#c3ceca}.ruby-game-shell .painted-referrals-page .referral-empty>.painted-feature-icon{width:68px;height:68px}.ruby-game-shell .painted-referrals-page .referral-pagination{display:flex;align-items:center;gap:8px;margin-top:12px}.ruby-game-shell .painted-referrals-page .referral-pagination small{color:#bfccca;font-size:11px}.ruby-game-shell .painted-mail .mail-filter-controls{border:0;background:none;padding:0;margin:0 0 6px}.ruby-game-shell .painted-mail .mail-category-tabs>button{font-size:12px;min-height:38px;padding:4px 1px}.ruby-game-shell .painted-mail .mail-gold-filter{display:flex;align-items:center;gap:8px;margin:0;padding:4px 0 11px;color:#c3ceca;font:400 11px/1.4 Manrope,sans-serif}.ruby-game-shell .painted-mail input[type=checkbox]{position:relative;appearance:none;width:19px;height:19px;flex:0 0 19px;padding:0;margin:0;border:1px solid #c4a060;border-radius:4px;background:#091e2b;box-shadow:inset 0 1px 3px #0007}.ruby-game-shell .painted-mail input[type=checkbox]:checked{background:#245e7d}.ruby-game-shell .painted-mail input[type=checkbox]:checked:after{content:"✓";position:absolute;inset:0;display:grid;place-items:center;font-size:16px;line-height:17px;color:#f8e3ac}.ruby-game-shell .painted-mail .mail-collect-all{display:flex;align-items:center;gap:7px;width:100%;min-height:60px;margin:2px 0 12px;padding:9px 13px;border:0;border-radius:0;background:url(/art/interface/tabletop-blue-v1.webp) center/100% 100% no-repeat;color:#f8e7be;box-shadow:none}.ruby-game-shell .painted-mail .mail-collect-all>.painted-feature-icon{width:28px;height:28px;flex:0 0 28px}.ruby-game-shell .painted-mail .mail-collect-all>.mail-collect-copy{flex:1;min-width:0;text-align:left}.ruby-game-shell .painted-mail .mail-collect-all strong{display:block;font:700 19px/1 Cormorant Garamond,Georgia,serif;overflow-wrap:normal;word-break:normal}.ruby-game-shell .painted-mail .mail-collect-all small{display:block;margin-top:4px;color:#d0d8cd;font:400 9px/1.2 Manrope,sans-serif}.ruby-game-shell .painted-mail .mail-collect-rewards{flex:0 0 auto;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:2px 6px;max-width:45%}.ruby-game-shell .painted-mail .mail-collect-rewards .service-reward b{font-size:13px;color:#ffe4a7}.ruby-game-shell .painted-mail .mail-collect-rewards .service-reward>:is(img,.painted-feature-icon){width:21px;height:21px;flex-basis:21px}.ruby-game-shell .painted-mail .mail-collect-rewards .service-reward>.service-currency{width:19px;height:21px;flex:0 0 19px}.ruby-game-shell .painted-mail .mail-list{display:grid;gap:0}.ruby-game-shell .painted-mail .mail-list>button{display:flex;width:100%;position:relative;align-items:center;gap:10px;min-height:101px;margin:0;padding:14px 0;border:0;border-bottom:1px solid var(--service-line);border-radius:0;background:none;box-shadow:none;color:#e7e6d5;text-align:left;filter:none}.ruby-game-shell .painted-mail .mail-list>button:last-child{border-bottom:0}.ruby-game-shell .painted-mail .mail-list>button.unread:before{content:"";position:absolute;left:-9px;top:24px;bottom:24px;width:3px;border-radius:3px;background:#7fc9f3;box-shadow:0 0 7px #429cd660}.ruby-game-shell .painted-mail .mail-letter-emblem{display:grid;place-items:center;flex:0 0 43px;width:43px;height:43px;padding:0;border:0;border-radius:0;background:none;box-shadow:none}.ruby-game-shell .painted-mail .mail-letter-emblem>:is(.painted-feature-icon,.painted-settings-icon){width:43px;height:43px}.ruby-game-shell .painted-mail .mail-letter-content{flex:1;min-width:0;display:grid;gap:5px}.ruby-game-shell .painted-mail .mail-letter-meta{display:flex;justify-content:space-between;align-items:center;gap:5px;margin:0}.ruby-game-shell .painted-mail .mail-kind{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#b7c7c8;font:500 11px/1.2 Manrope,sans-serif;letter-spacing:0;text-transform:none}.ruby-game-shell .painted-mail .mail-letter-meta time{flex:0 0 auto;color:#9fb5c0;font:400 10px/1.2 Manrope,sans-serif}.ruby-game-shell .painted-mail .mail-letter-content>strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;margin:0;color:#eee5cd;font:700 22px/1.05 Cormorant Garamond,Georgia,serif;overflow-wrap:anywhere}.ruby-game-shell .painted-mail .mail-letter-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:18px}.ruby-game-shell .painted-mail .mail-pending-gold{display:flex;flex-wrap:wrap;gap:3px 9px;margin:0;background:none;color:#ead9ae}.ruby-game-shell .painted-mail .mail-pending-gold .service-reward b{font-size:13px}.ruby-game-shell .painted-mail .mail-pending-gold .service-reward>:is(img,.painted-feature-icon){width:20px;height:20px;flex-basis:20px}.ruby-game-shell .painted-mail .mail-read-state{color:#95adb6;font:400 10px/1.2 Manrope,sans-serif}.ruby-game-shell .painted-mail .mail-pending-gold .service-reward>.service-currency{width:18px;height:20px;flex:0 0 18px}.ruby-game-shell .painted-mail .mail-list>button.unread .mail-read-state{color:#b4d6e8}.ruby-game-shell .painted-mail .mail-letter-arrow{flex:0 0 12px;width:12px;color:#c2a26b}.ruby-game-shell .painted-mail .list-pagination{display:flex;justify-content:space-between;gap:7px;margin-top:12px}.ruby-game-shell .painted-service-page.painted-mail .mail-list>button:is(.unread,.has-gold){border:0;border-bottom:1px solid var(--service-line);border-radius:0;background:none;box-shadow:none}.ruby-game-shell .painted-service-page.painted-mail .mail-letter-emblem:is(.gold,.clan,.personal){background:none;border:0;box-shadow:none}body:has(.painted-mail) .sheet:is(.letter-sheet,.compose-letter){--frontier-ivory: #f4e5c3;--frontier-muted: #bcc9c8;border:18px solid transparent;border-image:url(/art/settings/panel-v1.webp) 18% fill / 18px / 0 stretch;border-radius:0;background:none;padding:14px}body:has(.painted-mail) :is(.letter-sheet,.compose-letter) .section-heading h2{color:#f3e0b4;font:700 30px/1 Cormorant Garamond,Georgia,serif}body:has(.painted-mail) :is(.letter-sheet,.compose-letter) .icon-button{border:0;border-radius:0;color:#f1d69a;background:url(/art/settings/panel-v1.webp) center/100% 100% no-repeat}body:has(.painted-mail) :is(.letter-sheet,.compose-letter) :is(.primary-button,.secondary-button){min-height:46px;border:0;border-radius:0;background:url(/art/interface/tabletop-blue-v1.webp) center/100% 100% no-repeat;color:#fae8bd;font:700 22px/1 Cormorant Garamond,Georgia,serif;box-shadow:none}body:has(.painted-mail) :is(.letter-sheet,.compose-letter) :is(.letter-address,.compose-recipient,.sale-attachment){background:#102f41;border-color:#a7894d50;color:#d3dccf}body:has(.painted-mail) .letter-body{background:#0c293b;border-color:#a7894d30;color:#e0e4d8;font:400 14px/1.65 Manrope,sans-serif}body:has(.painted-mail) :is(.letter-sheet,.compose-letter) :is(input,textarea){font-size:16px;color:#f0e3c3;border-color:#a98a4e;background:#071d2c}body:has(.painted-mail) .letter-sheet .sheet-fixed-footer{background:#0d2b3d;border-color:#a98a4e40}:is(.painted-service-page,.painted-help-sheet) :is(button,input,textarea):focus-visible{outline:2px solid #f0cf87;outline-offset:2px}@media(max-width:350px){.ruby-game-shell .painted-service-page .frontier-section-emblem{display:none}.ruby-game-shell .painted-service-page>.service-heading h1{font-size:23px}.ruby-game-shell .painted-service-page>.service-heading-long h1{font-size:22px}.ruby-game-shell .painted-service-page>.service-panel{border-width:18px;border-image-width:18px;padding-inline:1px}.ruby-game-shell .painted-service-page :is(.achievement-filters,.referral-tabs)>button{font-size:11px;padding-inline:2px;gap:3px}.ruby-game-shell .painted-service-page .mail-tabs>button{font-size:16px;gap:3px;padding-inline:3px}.ruby-game-shell .painted-service-page .mail-tabs .painted-settings-icon{width:20px;height:20px}.ruby-game-shell .painted-achievements .achievement-overview{gap:7px}.ruby-game-shell .painted-achievements .achievement-overview strong{font-size:23px}.ruby-game-shell .painted-achievements .achievement-overview small{font-size:10px}.ruby-game-shell .painted-achievements .achievement-overview>span:last-child{width:53px;flex-basis:53px}.ruby-game-shell .painted-achievements .achievement-card{grid-template-columns:42px minmax(0,1fr);gap:6px 8px}.ruby-game-shell .painted-achievements .achievement-card>:is(.achievement-icon,.orb-icon){width:42px;height:42px}.ruby-game-shell .painted-achievements .achievement-icon>:is(.painted-feature-icon,.painted-settings-icon){width:42px;height:42px}.ruby-game-shell .painted-achievements .achievement-reward .primary-button{width:105px;min-width:105px;font-size:20px}.ruby-game-shell .painted-mail .mail-category-tabs>button{font-size:11px}.ruby-game-shell .painted-mail .mail-list>button{gap:7px}.ruby-game-shell .painted-mail .mail-letter-content>strong{font-size:21px}.ruby-game-shell .painted-mail .mail-collect-all{padding-inline:10px;gap:5px}.ruby-game-shell .painted-mail .mail-collect-all strong{font-size:17px}}@media(prefers-reduced-motion:reduce){.service-skeleton-row :is(i,b,small){animation:none}.service-switch i{transition:none}}.race-icon{display:block;flex:0 0 auto;width:64px;height:64px;aspect-ratio:1}.race-icon>img{display:block;width:100%;height:100%;object-fit:contain}.ruby-game-shell .painted-online .social-list-caption{display:flex;align-items:center;justify-content:space-between;margin:0 0 8px;padding:3px 6px 10px;border-bottom:1px solid var(--service-line);color:var(--service-quiet);font-size:13px}.ruby-game-shell .painted-online .player-list{gap:0}.ruby-game-shell .painted-online .social-player-row{display:grid;grid-template-columns:64px minmax(0,1fr) 36px 12px;align-items:center;gap:9px;width:100%;min-height:90px;padding:10px 3px;border:0;border-bottom:1px solid var(--service-line);border-radius:0;background:none;box-shadow:none;text-align:left}.ruby-game-shell .painted-online .social-player-row.self{background:linear-gradient(90deg,#315b752e,transparent);border-color:var(--service-line);box-shadow:none}.ruby-game-shell .painted-online .social-player-row:last-child{border-bottom:0}.ruby-game-shell .painted-online .social-player-row:hover{background-color:#5c8fb41a}.ruby-game-shell .painted-online .social-player-portrait{width:64px;height:64px}.ruby-game-shell .painted-online .social-player-portrait>.online-dot{right:2px;bottom:3px;width:9px;height:9px;border:2px solid #102b3b}.ruby-game-shell .painted-online .player-name{min-width:0;gap:4px}.ruby-game-shell .painted-online .player-name>strong{display:block;overflow-wrap:anywhere;color:#ffedc6;font:700 24px/1.05 Cormorant Garamond,Georgia,serif}.ruby-game-shell .painted-online .player-name>small{color:#bbc8c9;font-size:12px}.ruby-game-shell .painted-online .social-self-label{display:inline-block;margin-left:5px;padding:1px 4px;border:1px solid #bca16c66;border-radius:3px;color:#d6c19a;font:500 10px/1.4 Manrope,sans-serif;vertical-align:middle}.ruby-game-shell .painted-online .social-player-level{color:#f2d49c;font:700 29px/1 Cormorant Garamond,Georgia,serif;text-align:center}.ruby-game-shell .painted-online .social-player-level small{display:block;margin-top:3px;color:#b5bdba;font:500 10px/1.2 Manrope,sans-serif}.ruby-game-shell .painted-online .social-player-arrow{width:12px;color:#d5b87d}.ruby-game-shell .painted-bestiary .bestiary-search{height:46px;margin:0 0 10px;padding:0 12px;border:1px solid #b18c555c;border-radius:5px;background:#061e30b8;box-shadow:inset 0 2px 6px #0005}.ruby-game-shell .painted-bestiary .bestiary-search input{min-width:0;height:44px;padding:0;font-size:16px;color:#f5e7cc;border:0;border-radius:0;box-shadow:none;background:transparent;outline:none}.ruby-game-shell .painted-bestiary .bestiary-search:focus-within{outline:2px solid #e9c67d;outline-offset:2px}.ruby-game-shell .painted-bestiary .bestiary-filters{display:grid;grid-template-columns:1.4fr 1fr;gap:9px;padding:0;margin:0 0 9px;border:0;background:none;box-shadow:none}.ruby-game-shell .painted-bestiary .bestiary-filters label{gap:4px;font-size:11px}.ruby-game-shell .painted-bestiary select{width:100%;min-width:0;height:44px;min-height:44px;padding:7px 10px;border:1px solid #b18c555c;border-radius:4px;background-color:#071d2de8;color:#f3dfb7;font-size:16px}.ruby-game-shell .painted-bestiary .bestiary-view-controls{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) 42px 42px;gap:6px;margin:0 0 8px}.ruby-game-shell .painted-bestiary .bestiary-view-controls>div{display:contents}.ruby-game-shell .painted-bestiary .bestiary-view-controls button{width:100%;min-width:0;height:42px;min-height:42px;padding:5px;border:1px solid #b18c555c;border-radius:4px;background:#143a52b5;color:#c5c9bd;font-size:11px}.ruby-game-shell .painted-bestiary .bestiary-view-controls button[aria-pressed=true]{background:#315f7c;border-color:#d4b778;color:#ffedc2}.ruby-game-shell .painted-bestiary .bestiary-view-controls select{height:42px;min-height:42px;font-size:16px;padding:5px}.ruby-game-shell .painted-bestiary .bestiary-results{display:flex;align-items:center;gap:6px;min-height:28px;margin:0 0 8px;color:#b7c4c3;font-size:11px}.ruby-game-shell .painted-bestiary .bestiary-results .race-icon{width:26px;height:26px}.ruby-game-shell .painted-bestiary .bestiary-results>span{display:inline-flex;align-items:center;gap:5px}.ruby-game-shell .painted-bestiary .bestiary-grid{gap:9px}.ruby-game-shell .painted-bestiary>.service-panel{filter:none}.ruby-game-shell .painted-bestiary .bestiary-card{position:relative;padding:10px 7px;min-height:240px;border:1px solid #a27e4c69;border-radius:5px;background:linear-gradient(155deg,#244a635e,#081d2b96);box-shadow:inset 0 1px #d5c09612,0 2px 5px #020c1580;color:#f6e5c0}.ruby-game-shell .painted-bestiary .bestiary-card[aria-pressed=true]{border-color:#e3c681;background:linear-gradient(155deg,#447294a1,#102e43)}.ruby-game-shell .painted-bestiary .bestiary-portrait{margin:0 auto 5px}.ruby-game-shell .painted-bestiary .bestiary-portrait .portrait{display:block;width:104px;height:104px;border:0;border-radius:0;box-shadow:none;background:none}.ruby-game-shell .painted-bestiary .bestiary-tier{right:1px;bottom:-1px;min-width:25px;height:21px;padding:1px 4px;border:1px solid #bd9c60;border-radius:3px;background:#132838;color:#f2d3a1;font-size:11px}.ruby-game-shell .painted-bestiary .bestiary-card>strong{display:flex;align-items:center;justify-content:center;min-height:43px;margin:0;color:#f6e5c0;font:700 22px/1 Cormorant Garamond,Georgia,serif;overflow-wrap:anywhere}.ruby-game-shell .painted-bestiary .bestiary-card>.unit-attack-type{margin:3px 0 0;color:#d8c6a1;font-size:11px;line-height:1.3}.ruby-game-shell .painted-bestiary .bestiary-card>small{margin:4px 0 7px;color:#b9c7c8;font-size:11px}.ruby-game-shell .painted-bestiary .bestiary-preview{gap:8px;flex-wrap:wrap;margin-top:0;padding-top:8px;border-color:#ae8c4a40;font-size:12px}.ruby-game-shell .painted-bestiary .bestiary-grid.bestiary-list{grid-template-columns:1fr;gap:0}.ruby-game-shell .painted-bestiary .bestiary-list .bestiary-card{display:grid;grid-template-columns:62px minmax(0,1fr) 62px;grid-template-rows:auto auto auto;gap:3px 8px;min-height:94px;padding:10px 1px;border:0;border-bottom:1px solid #ae8c4a40;border-radius:0;background:none;box-shadow:none}.ruby-game-shell .painted-bestiary .bestiary-list .bestiary-portrait{grid-row:1 / 4;grid-column:1;align-self:center;margin:0}.ruby-game-shell .painted-bestiary .bestiary-list .bestiary-portrait .portrait{width:62px;height:62px}.ruby-game-shell .painted-bestiary .bestiary-list .bestiary-tier{min-width:20px;height:18px;padding:0 3px;font-size:10px}.ruby-game-shell .painted-bestiary .bestiary-list .bestiary-card>strong{display:block;grid-column:2;grid-row:1;align-self:end;min-height:0;font-size:22px;text-align:left}.ruby-game-shell .painted-bestiary .bestiary-list .bestiary-card>.unit-attack-type{grid-column:2;grid-row:2;align-self:center;justify-self:start;margin:0}.ruby-game-shell .painted-bestiary .bestiary-list .bestiary-card>small{grid-column:2;grid-row:3;margin:0}.ruby-game-shell .painted-bestiary .bestiary-list .bestiary-preview{grid-column:3;grid-row:1 / 4;align-self:center;padding:0;margin:0;border:0;gap:5px}.ruby-game-shell .painted-bestiary.comparing{padding-bottom:95px}.ruby-game-shell .painted-bestiary .bestiary-compare-tray{bottom:calc(86px + max(env(safe-area-inset-bottom,0px),var(--telegram-safe-bottom, 0px)));width:min(calc(100% - 26px),432px);min-height:72px;padding:10px 15px;border:9px solid transparent;border-image:url(/art/settings/panel-v1.webp) 18% fill / 9px / 0 stretch;border-radius:0;background:#102d43;box-shadow:0 4px 14px #000a}.ruby-game-shell .painted-bestiary .bestiary-compare-tray .portrait{width:40px;height:40px;border:0;border-radius:0;background:none;box-shadow:none}.ruby-game-shell .painted-bestiary .bestiary-compare-tray .primary-button{min-height:40px;font-size:16px;padding:5px 11px}body:has(.painted-bestiary) :is(.bestiary-unit-sheet,.bestiary-compare-sheet){width:min(calc(100% - 12px),470px);padding:12px 8px;border:17px solid transparent;border-image:url(/art/settings/panel-v1.webp) 18% fill / 17px / 0 stretch;border-radius:0;background:none;color:#f6e5c1;--muted: #b5c4c3}body:has(.painted-bestiary) :is(.bestiary-unit-sheet,.bestiary-compare-sheet) .section-heading{align-items:center;margin:0 0 15px;gap:8px}body:has(.painted-bestiary) :is(.bestiary-unit-sheet,.bestiary-compare-sheet) .section-heading h2{color:#f6dfaf;font:700 28px/1 Cormorant Garamond,Georgia,serif}body:has(.painted-bestiary) :is(.bestiary-unit-sheet,.bestiary-compare-sheet) .section-heading .icon-button{flex:0 0 38px;width:38px;height:40px;border:0;border-radius:0;color:#f5dfad;background:url(/art/settings/panel-v1.webp) center/100% 100% no-repeat}body:has(.painted-bestiary) :is(.bestiary-unit-sheet,.bestiary-compare-sheet) .portrait{border:0;border-radius:0;background:none;box-shadow:none}body:has(.painted-bestiary) .unit-comparison-heading{grid-template-columns:28% 36% 36%}body:has(.painted-bestiary) .unit-comparison-heading>span{font-size:10px;overflow-wrap:anywhere}body:has(.painted-bestiary) .unit-comparison-heading strong{color:#ead7ae;font:700 19px/1.05 Cormorant Garamond,Georgia,serif}body:has(.painted-bestiary) .unit-comparison-table>div{border-color:#b38e5150}body:has(.painted-bestiary) .unit-comparison-table [role=rowheader]{font-size:11px}body:has(.painted-bestiary) .bestiary-compare-sheet>.muted.tiny{font-size:11px;line-height:1.5}body .sheet.page-sheet.painted-race-change{width:min(calc(100% - 12px),470px);height:calc(var(--telegram-viewport-height, 100dvh) - max(env(safe-area-inset-top,0px),var(--telegram-safe-top, 0px)) - max(env(safe-area-inset-bottom,0px),var(--telegram-safe-bottom, 0px)) - 12px);max-height:920px;padding:10px 12px 12px;border:15px solid transparent;border-image:url(/art/settings/panel-v1.webp) 18% fill / 15px / 0 stretch;border-radius:0;display:flex;flex-direction:column;margin:0;background:none;color:#f5e3bd;box-shadow:0 10px 35px #000c}body .page-backdrop:has(.painted-race-change){display:flex;align-items:center;justify-content:center;padding:max(6px,env(safe-area-inset-top,0px),var(--telegram-safe-top, 0px)) 0 max(6px,env(safe-area-inset-bottom,0px),var(--telegram-safe-bottom, 0px))}body .sheet.page-sheet.painted-race-change .sheet-handle{display:none}body .sheet.page-sheet.painted-race-change>.section-heading{flex:0 0 auto;min-height:52px;margin:0 0 10px;gap:8px;padding:0 0 10px;border-bottom:1px solid #ae8c4a50}body .sheet.page-sheet.painted-race-change .section-heading h2{font:700 29px/1 Cormorant Garamond,Georgia,serif}body .sheet.page-sheet.painted-race-change .section-heading .painted-settings-icon{width:38px;height:38px}body .sheet.page-sheet.painted-race-change .sheet-scroll-body{flex:1;min-height:0;overflow:auto;padding:0 2px 8px;scrollbar-color:#a88850 #102b3e}body .sheet.page-sheet.painted-race-change .race-change-price .race-cost-icon{width:34px;height:38px;flex-basis:34px}body .sheet.page-sheet.painted-race-change .race-change-price>.painted-feature-icon{width:38px;height:38px}body .sheet.page-sheet.painted-race-change .race-change-price{background:none;border:0;padding:0}body .sheet.page-sheet.painted-race-change .race-change-price{display:flex;align-items:center;gap:10px;margin:0 0 5px;color:#f2dbac;font:700 22px/1.15 Cormorant Garamond,Georgia,serif}body .sheet.page-sheet.painted-race-change .race-change-price>.painted-settings-icon{width:38px;height:38px}body .sheet.page-sheet.painted-race-change .race-change-price small{display:flex;align-items:center;gap:5px;margin-top:6px;color:#bac6c5;font:500 11px/1.5 Manrope,sans-serif}body .sheet.page-sheet.painted-race-change .service-reward{display:inline-flex;align-items:center;gap:3px}body .sheet.page-sheet.painted-race-change .service-reward .service-currency{width:19px;height:21px}body .sheet.page-sheet.painted-race-change .race-change-rules{margin:0 0 12px;border-bottom:1px solid #ae8c4a40;color:#c3c7bd}body .sheet.page-sheet.painted-race-change .race-change-rules summary{min-height:40px;padding:11px 0;color:#d2bd94;cursor:pointer;font-size:12px}body .sheet.page-sheet.painted-race-change .race-change-rules p{margin:0 0 12px;font-size:13px;line-height:1.55}body .sheet.page-sheet.painted-race-change .race-change-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px 5px;margin:0 0 14px}body .sheet.page-sheet.painted-race-change .race-change-grid>button{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;grid-column:span 2;gap:4px;min-width:0;min-height:119px;padding:5px 2px;border:1px solid #b4945e38;border-radius:4px;background:linear-gradient(#35556a38,#0a1d2e69);box-shadow:none;color:#e6d5b3}body .sheet.page-sheet.painted-race-change .race-change-grid>button:nth-child(5){grid-column:2 / span 2}body .sheet.page-sheet.painted-race-change .race-change-grid>button.selected{border-color:#e6c98a;background:linear-gradient(#487b9aa1,#12334c);box-shadow:inset 0 0 0 1px #b6c1a526}body .sheet.page-sheet.painted-race-change .race-change-grid .race-icon{width:min(100%,74px);height:auto}body .sheet.page-sheet.painted-race-change .race-change-grid strong{display:grid;place-items:center;flex:1;min-height:30px;font:700 18px/.95 Cormorant Garamond,Georgia,serif;text-align:center}body .sheet.page-sheet.painted-race-change .race-change-grid small{min-height:12px;color:#bec9c5;font-size:9px;line-height:1.2}body .sheet.page-sheet.painted-race-change .race-change-detail{margin:0;padding:13px 2px 8px;border:0;border-top:1px solid #ae8c4a65;border-radius:0;background:none;box-shadow:none}body .sheet.page-sheet.painted-race-change .race-change-detail>strong{font:700 26px/1 Cormorant Garamond,Georgia,serif;color:#f8dfad}body .sheet.page-sheet.painted-race-change .race-change-detail p{margin:9px 0 0;font-size:13px;line-height:1.6}body .sheet.page-sheet.painted-race-change .race-change-detail .race-current-note{margin:9px 0 0;color:#afbfbc;font-size:11px}body .sheet.page-sheet.painted-race-change .sheet-fixed-footer{flex:0 0 auto;margin:0;padding:9px 0 0;border:0;border-top:1px solid #ae8c4a65;background:none}body .sheet.page-sheet.painted-race-change .sheet-fixed-footer .primary-button{width:100%;min-height:48px;margin:0;padding:9px 14px;font:700 22px/1.1 Cormorant Garamond,Georgia,serif}body .sheet.page-sheet.painted-race-change .race-change-confirm{padding:0;border:0;background:none}body .sheet.page-sheet.painted-race-change .race-change-confirm p{margin:0 0 8px;font-size:13px;line-height:1.4}body .sheet.page-sheet.painted-race-change .race-change-confirm>div{display:grid;grid-template-columns:1fr 1fr;gap:8px}body .sheet.page-sheet.painted-race-change .race-change-confirm button{width:100%;min-height:48px;padding:8px;font:700 18px/1.1 Cormorant Garamond,Georgia,serif}body .sheet.page-sheet.painted-race-change .race-change-confirm .primary-button{font-size:18px}body .sheet.page-sheet.painted-race-change .race-change-confirm>div>button:first-child{border:0;border-radius:0;background:url(/art/interface/tabletop-blue-v1.webp) center/100% 100% no-repeat;color:#e3d2b1}@media(max-width:350px){.ruby-game-shell .painted-online .social-player-row{grid-template-columns:55px minmax(0,1fr) 29px 10px;gap:6px}.ruby-game-shell .painted-online .social-player-portrait,.ruby-game-shell .painted-online .race-icon{width:55px;height:55px}.ruby-game-shell .painted-online .player-name>strong{font-size:21px}.ruby-game-shell .painted-bestiary .bestiary-portrait .portrait{width:88px;height:88px}.ruby-game-shell .painted-bestiary .bestiary-card>strong{font-size:21px}.ruby-game-shell .painted-bestiary .bestiary-view-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 35px 35px;gap:4px}.ruby-game-shell .painted-bestiary .bestiary-view-controls>button{font-size:10px}.ruby-game-shell .painted-bestiary .bestiary-list .bestiary-portrait .portrait{width:62px;height:62px}body .sheet.page-sheet.painted-race-change{padding:8px 7px;border-width:12px;border-image-width:12px}body .sheet.page-sheet.painted-race-change .race-change-grid>button{min-height:105px}body .sheet.page-sheet.painted-race-change .race-change-grid strong{font-size:17px}}body .art-icon.painted-item-icon{position:relative;isolation:isolate;display:inline-block;flex:0 0 auto;padding:0;border:0;border-radius:0;overflow:hidden;background:none;box-shadow:none;vertical-align:middle}.painted-item-backdrop{position:absolute;inset:7.3%;clip-path:polygon(6% 0,94% 0,100% 6%,100% 94%,94% 100%,6% 100%,0 94%,0 6%);background-position:center;background-size:cover;background-repeat:no-repeat}body .art-icon.painted-item-icon>img.painted-item-subject,body .art-icon.painted-item-icon>img.painted-item-frame{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;object-fit:contain;background:none;-webkit-mask-image:none;mask-image:none;pointer-events:none}body .art-icon.painted-item-icon>img.painted-item-subject{z-index:1;transform-origin:center;filter:drop-shadow(0 1px 1px #0008)}body .art-icon.painted-item-icon>img.painted-item-frame{z-index:2;transform:none;filter:none}.ruby-hero .hero-gear.has-item .hero-gear-frame{border:0;background:none;box-shadow:none}.ruby-hero .hero-gear.has-item .hero-gear-frame .painted-item-icon{width:var(--gear-size)!important;height:var(--gear-size)!important}.ruby-game-shell .bag-grid .art-icon.painted-item-icon,.ruby-game-shell .bag-grid .art-icon.orb-icon.painted-item-icon{width:52px!important;height:52px!important;border-radius:0}.painted-item-icon.orb-icon,.painted-item-icon.inventory-stack-art{border:0;border-radius:0;background:none}body .portrait.portrait-race{aspect-ratio:1;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;overflow:visible!important;isolation:isolate}body .portrait.portrait-race>img{display:block;width:100%;height:100%;border-radius:0!important;object-fit:contain!important;object-position:center!important;clip-path:none!important;-webkit-mask-image:none!important;mask-image:none!important;filter:drop-shadow(0 2px 2px #0006)}.hero-avatar-button:has(.portrait-race),.hero-artwork-fallback:has(.portrait-race){border-radius:0;overflow:visible;background:none;box-shadow:none}body .combat-turn-order>button:has(.portrait-race){border-radius:5px;background:transparent}.painted-social,.painted-social-sheet{--social-cream: #f8e7c3;--social-quiet: #c4c7bd;--social-gold: #c49a59;--social-line: #b7945557;--social-frame: url(/art/settings/panel-v1.webp);color:var(--social-cream)}.game-shell.ruby-game-shell:has(.painted-social){background-image:url(/art/settings/desk-v1.webp)!important;background-position:center;background-size:cover}.game-shell.ruby-game-shell:has(.painted-social):before{background:linear-gradient(#0a142629,#11172612 50%,#07121c66)}.ruby-game-shell .painted-social>.social-heading{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;align-items:center;gap:6px;min-height:66px;margin:0 0 8px;padding:0}.painted-social>.social-heading .frontier-section-title{display:grid;place-items:center;min-height:64px;padding:10px 12px;background:url(/art/interface/tabletop-blue-v1.webp) center/100% 100% no-repeat;filter:drop-shadow(0 3px 3px #150b0780)}.painted-social>.social-heading .frontier-section-emblem{display:none}.ruby-game-shell .painted-social>.social-heading h1{display:block;width:100%;margin:0;padding:0;color:#fff0ca;font:700 clamp(23px,7.2vw,32px)/1.02 "Cormorant Garamond",Georgia,serif;text-align:center;text-shadow:0 2px 2px #07121c;overflow-wrap:anywhere}.painted-social>.social-heading>.icon-button,.painted-social-sheet>.section-heading>.icon-button{width:42px;height:42px;min-height:42px;padding:10px;border:0;border-radius:0;color:#f8e7c3;background:none;border-image:var(--social-frame) 18% fill / 8px / 0 stretch;box-shadow:0 2px 3px #0005}.painted-social :is(.primary-button,.secondary-button),.painted-social-sheet :is(.primary-button,.secondary-button){border:0;border-radius:0;background:url(/art/interface/tabletop-blue-v1.webp) center/100% 100% no-repeat;box-shadow:0 2px 3px #0005;color:#fff0cc;font:700 19px/1.15 Cormorant Garamond,Georgia,serif;padding:11px 18px}.painted-social :is(.ui-input,input,textarea,select),.painted-social-sheet :is(.ui-input,input,textarea,select){font-size:16px;color:#f4e5c5;border-color:#ac864d;background:linear-gradient(150deg,#102b3cf2,#0b1c2af5);box-shadow:inset 0 2px 4px #0005}.painted-social :is(input,textarea)::placeholder,.painted-social-sheet :is(input,textarea)::placeholder{color:#b0b7ae}.ruby-game-shell .painted-chat .chat-channel-tabs{margin:0 0 8px;gap:6px;padding:0;border:0;background:none;box-shadow:none}.painted-chat .chat-channel-tabs>button{min-height:44px;border:1px solid #ad884b78;border-radius:5px;background:#102837e8;color:#d6d3c1;font-size:14px}.painted-chat .chat-channel-tabs>button[aria-selected=true]{border-color:transparent;border-radius:0;background:url(/art/interface/tabletop-blue-v1.webp) center/100% 100% no-repeat;color:#fff0ca;box-shadow:0 2px 3px #0006}.ruby-game-shell .painted-chat .chat-message:not(.vip-message){padding:8px 9px;min-height:82px;border:7px solid transparent;border-radius:0;border-image:var(--social-frame) 18% fill / 7px / 0 stretch;background:linear-gradient(145deg,#123247eb,#0b1d2ef2),url(/art/items/painted-v1/background-rare.webp) center/cover;box-shadow:0 2px 4px #0005}.painted-chat .chat-message.own:not(.vip-message){filter:drop-shadow(0 0 2px #5291b330)}.painted-chat .chat-message header{gap:6px;align-items:start}.painted-chat .chat-author{align-items:center;gap:8px}.painted-chat .chat-author .portrait-race{width:36px;height:36px;flex:0 0 36px}.painted-chat .chat-author-identity{min-width:0;gap:3px 5px}.painted-chat .chat-author-name{color:#ffe3a5;font-weight:700}.painted-chat .chat-message>p{color:#f0e4cc;margin-top:6px;font-size:15px;line-height:1.5}.painted-chat .chat-message time,.painted-chat .chat-author-identity>small{color:#b9bcb3;font-size:11px}.painted-chat .chat-composer{border-top-color:var(--social-line);background:#0c2030ed}.painted-chat .chat-composer textarea{border-radius:6px;font-size:16px}.painted-chat .chat-composer>.primary-button{padding:8px;border-radius:0;border:0;background:url(/art/interface/tabletop-blue-v1.webp) center/100% 100% no-repeat;color:#ffe6ad}.painted-chat .chat-new-messages{border-color:#b89859;background:#103148f5;color:#ffe9bc;box-shadow:0 2px 5px #0006}.painted-chat .chat-day-divider>span{padding:3px 12px;border:1px solid #ab88495e;border-radius:4px;color:#e1d5b9;background:#0d273ae6}.ruby-game-shell .painted-forum .forum-categories{gap:9px}.ruby-game-shell .painted-forum :is(.forum-category,.forum-topic-card,.forum-post,.forum-thread-heading),.ruby-game-shell .painted-rankings .social-player-row{border:8px solid transparent;border-radius:0;border-image:var(--social-frame) 18% fill / 8px / 0 stretch;background:linear-gradient(145deg,#123247eb,#0b1d2ef2),url(/art/items/painted-v1/background-rare.webp) center/cover;box-shadow:0 2px 4px #0005}.ruby-game-shell .painted-forum .forum-category{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:86px;padding:9px 8px}.painted-forum .forum-category-icon{width:42px;height:42px;border:0;border-radius:0;background:none;box-shadow:none}.painted-forum .forum-category-icon :is(.painted-feature-icon,.painted-settings-icon){width:42px;height:42px}.painted-forum .forum-category-copy>strong{color:#ffe9bb;font:700 24px/1.05 Cormorant Garamond,Georgia,serif}.painted-forum .forum-category-copy>span{margin-top:4px;color:#c7c7b8;font-size:12px;line-height:1.4}.painted-forum .forum-category-end{gap:5px;color:#d6b671}.painted-forum .forum-category-count{color:#c6c0a9;font-size:11px}.painted-forum .forum-category-admin{color:#d9bb79}.painted-forum .forum-topic-card{padding:8px}.painted-forum .forum-topic-link{padding:6px 1px 10px;gap:9px;color:#f5dfb0;background:none;border:0}.painted-forum .forum-topic-link h2{font:700 24px/1.1 Cormorant Garamond,Georgia,serif;color:#ffe9bd}.painted-forum .forum-topic-emblem{width:36px;height:36px;border:0;background:none}.painted-forum .forum-topic-emblem .painted-settings-icon{width:36px;height:36px}.painted-forum .forum-topic-card>footer{padding:9px 0 0;border-top:1px solid var(--social-line);gap:7px}.painted-forum .forum-author .portrait-race{width:34px;height:34px}.painted-forum .forum-author-name{color:#ffe2a2}.painted-forum .forum-topic-meta,.painted-forum .forum-author small,.painted-forum .forum-post time{color:#b6bdb4}.painted-forum .forum-thread-heading{padding:12px 10px}.painted-forum .forum-thread-heading h2{color:#ffe6b3;font:700 28px/1.05 Cormorant Garamond,Georgia,serif}.painted-forum .forum-post{padding:10px}.painted-forum .forum-post>p{color:#f0e3c8;font-size:15px;line-height:1.55}.painted-forum .forum-post-opening{border-image-width:10px}.painted-forum :is(.forum-description,.forum-rule,.forum-empty){color:#e5d9bf;background:#0e273beb;border-color:var(--social-line)}.painted-forum .forum-thread-tools>button{min-height:40px;padding:7px 10px;border-color:#b58d5180;border-radius:4px;background:#15364c;color:#f2dfb8}.painted-forum .forum-thread-tools>.forum-delete-topic{color:#ffc5ac;border-color:#bd746367;background:#452b2c}.ruby-game-shell .painted-rankings .social-player-row{padding:8px}.painted-rankings .social-player-row.self{filter:drop-shadow(0 0 3px #d9b66f55)}body .sheet.painted-social-sheet{border:16px solid transparent;border-radius:0;border-image:var(--social-frame) 18% fill / 16px / 0 stretch;background:#0d2639;color:var(--social-cream)}body .sheet.painted-social-sheet>.section-heading h2{font:700 29px/1.05 Cormorant Garamond,Georgia,serif;color:#ffe8b7}body .sheet.forum-compose-sheet.painted-social-sheet{height:auto;min-height:0}.painted-social-sheet>.section-heading{min-height:44px;align-items:center;gap:10px;margin-bottom:14px}.forum-compose-sheet.painted-social-sheet>.sheet-scroll-body{flex:0 1 auto}.painted-social-sheet .forum-form{margin-top:8px;padding-top:4px}.painted-social-sheet .forum-form textarea{min-height:128px}body .sheet.painted-social-sheet .primary-button,body .sheet.painted-social-sheet .secondary-button{min-height:46px;padding:10px 18px;border:0;border-radius:0;background:url(/art/interface/tabletop-blue-v1.webp) center/100% 100% no-repeat;color:#ffebc5;font:700 20px/1.1 Cormorant Garamond,Georgia,serif}body .sheet.painted-social-sheet .moderation-confirm-actions .primary-button{background-image:url(/art/interface/tabletop-red-v1.webp)}.painted-social-sheet .sheet-fixed-footer{border-top-color:var(--social-line);background:#0b2335f5}@media(max-width:350px){.painted-forum .forum-category{grid-template-columns:36px minmax(0,1fr) auto;gap:6px;padding-inline:5px}.painted-forum .forum-category-icon,.painted-forum .forum-category-icon :is(.painted-feature-icon,.painted-settings-icon){width:36px;height:36px}.painted-forum .forum-category-copy>strong{font-size:22px}.painted-chat .chat-message:not(.vip-message){padding-inline:6px}}.painted-army,.painted-market,.painted-command-sheet{--command-fill: linear-gradient(140deg, #143349ed, #0b1d2ef5);--command-line: #ba945c69;--command-blue: url(/art/interface/tabletop-blue-v1.webp);--command-frame: url(/art/settings/panel-v1.webp)}.ruby-game-shell .painted-army>.page-title{justify-content:center;min-height:64px;margin:0 0 10px;padding:8px 20px;background:var(--command-blue) center/100% 100% no-repeat}.painted-army>.page-title .frontier-section-emblem{display:none}.ruby-game-shell .painted-army>.page-title h1{display:block;margin:0;color:#ffedc8;font:700 31px/1 Cormorant Garamond,Georgia,serif;text-align:center}.ruby-game-shell .painted-army :is(.army-panel,.hangar-panel),.ruby-game-shell .painted-market :is(.market-card,.market-unit-group,.market-sell),.painted-command-sheet :is(.unit-card-identity,.army-transfer-preview){min-width:0;border:8px solid transparent;border-radius:0;border-image:var(--command-frame) 18% fill / 8px / 0 stretch;background:var(--command-fill);box-shadow:0 3px 5px #0005}.ruby-game-shell .painted-army :is(.army-panel,.hangar-panel){padding:10px}.painted-army .section-heading{gap:8px;align-items:center}.painted-army .section-heading h2{color:#ffe6b0;font:700 25px/1.1 Cormorant Garamond,Georgia,serif}.painted-army .section-heading>span{font-size:12px;color:#e0d3b7;white-space:nowrap}.ruby-game-shell .painted-army .army-slots{gap:7px}.ruby-game-shell .painted-army .army-slot{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:14px auto 23px 14px 32px;justify-items:center;align-content:start;align-items:center;gap:2px;min-width:0;padding:7px 3px;border:1px solid #b18e5745;border-radius:5px;background:linear-gradient(140deg,#29495a52,#071a2a85);box-shadow:inset 0 1px #ffe3a00c}.painted-army .army-slot .army-rank-name{position:static;grid-row:1;color:#c7b485;font-size:8px;letter-spacing:.06em}.ruby-game-shell .painted-army .army-slot .portrait{grid-row:2;width:clamp(60px,20vw,86px);height:clamp(60px,20vw,86px)}.ruby-game-shell .painted-army .army-slot .slot-index{top:21px;left:2px;width:19px;height:19px;font-size:10px;background:#142532;border:1px solid #bd9c60;color:#ffe4a9;z-index:1}.ruby-game-shell .painted-army .army-slot>strong{grid-row:3;font:700 17px/1 Manrope,serif;letter-spacing:normal;color:#ffdf9a;font-variant-numeric:tabular-nums}.painted-army .army-slot .unit-attack-type{grid-row:4;font-size:9px;gap:3px}.painted-army .army-slot .unit-attack-type svg{width:12px;height:12px}.ruby-game-shell .painted-army .army-slot .slot-unit-name{grid-row:5;align-self:start;color:#e5d8bc;font:600 16px/1 Cormorant Garamond,Georgia,serif;font-size:16px!important;overflow-wrap:anywhere}.ruby-game-shell .painted-army .army-slot.empty .empty-circle{grid-row:2;width:clamp(60px,20vw,86px);height:clamp(60px,20vw,86px);border:1px dashed #b59a606e;border-radius:5px;background:#0b1c2a66;color:#ad9d7b}.painted-army .army-slot.empty>small{grid-row:3}.painted-army :is(.army-hint,.compact-hint){color:#c1c6bc;font-size:11px;line-height:1.5}.painted-army>.compact-hint{margin:8px 3px}.painted-army .formation-auto-button{width:100%;min-height:42px;margin:0 0 12px;padding:8px 10px;border:1px solid var(--command-line);border-radius:4px;background:#123148ee;color:#e9ddbe}.painted-army .capacity-meter{width:100%;height:6px;margin:6px 0 10px;accent-color:#82b8d6}.painted-army .capacity-meter::-webkit-progress-value{background:linear-gradient(90deg,#3d83b1,#a5d9e9)}.painted-army .capacity-meter::-moz-progress-bar{background:linear-gradient(90deg,#3d83b1,#a5d9e9)}.ruby-game-shell .painted-army .barracks-upgrade{margin:0 0 10px;background:#102b3ce6;border:1px solid var(--command-line);border-radius:5px}.painted-army .barracks-upgrade summary{padding:10px;color:#f1dcad}.painted-army .barracks-upgrade summary small{color:#b9c8ca}.painted-army .barracks-upgrade-body{padding:0 10px 10px}.painted-army .barracks-upgrade-body .primary-button{width:100%;min-width:0;font-size:17px}.painted-army :is(.barracks-search,.filter-toggle,.barracks-filters){border-color:var(--command-line);background:#0d2637ed;color:#eddfc0}.painted-army .barracks-search input{border:0;background:none;box-shadow:none}.painted-army .barracks-results{color:#c4c9c1}.ruby-game-shell .painted-army .hangar-row,.painted-command-sheet .hangar-row{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px 0;border:0;border-bottom:1px solid var(--command-line);border-radius:0;background:none;box-shadow:none;text-align:left}.painted-army .hangar-row>.portrait,.painted-command-sheet .hangar-row>.portrait{grid-column:1;grid-row:1/3;width:52px;height:52px}.ruby-game-shell .painted-army .barracks-unit-name{grid-column:2;grid-row:1/3}.ruby-game-shell .painted-army .barracks-unit-name strong,.painted-command-sheet .hangar-row>strong{font:700 22px/1.05 Cormorant Garamond,Georgia,serif;color:#ffe6b2}.painted-army .barracks-unit-name small{color:#abbfc7;font-size:10px}.painted-army .hangar-row>b{grid-column:3;color:#f3d190;font-size:17px;align-self:end}.painted-army .hangar-row>span:last-child{grid-column:3;grid-row:2;color:#b6c8cc;font-size:10px;align-self:start}.painted-army .potion-row{border-color:var(--command-line);background:#0d2739}.ruby-game-shell .painted-market .world-tabs{gap:5px;margin:0 0 9px;padding:0;background:none;border:0}.ruby-game-shell .painted-market .world-tabs>button{min-width:0;min-height:43px;padding:7px;border:1px solid var(--command-line);border-radius:4px;background:#0e293de8;color:#cbd2c8;font-size:13px}.ruby-game-shell .painted-market .world-tabs>button.selected{border-color:transparent;border-radius:0;background:var(--command-blue) center/100% 100% no-repeat;color:#fff0cc}.painted-market .market-currency-balance{margin:0 0 12px;padding:4px 3px;color:#c4c7bd}.painted-market .market-currency-balance>span{color:#f9dda0;font-weight:700}.painted-market .market-currency-balance .portrait{width:26px;height:26px}.ruby-game-shell .painted-market :is(.market-card,.market-unit-group){padding:9px;margin:0}.painted-market .market-list{display:grid;gap:10px}.painted-market .market-detail{grid-template-columns:64px minmax(0,1fr);gap:12px;padding:0}.painted-market .market-detail>span:last-child{display:grid;grid-template-columns:minmax(0,1fr);gap:5px}.painted-market .market-detail>span:last-child>:is(strong,small,b){grid-column:1;grid-row:auto;justify-self:start;white-space:normal}.painted-market .market-detail>.portrait{width:64px;height:64px}.painted-market .market-detail strong,.painted-market .market-unit-group strong,.painted-market .market-sale-item-copy>strong{color:#ffe6b1;font:700 24px/1.05 Cormorant Garamond,Georgia,serif}.painted-market .market-detail :is(small,.market-lot-total){color:#b8c7cc;line-height:1.5}.painted-market .market-detail b{color:#f4cf8c;font-size:18px}.painted-market .market-card-footer{margin-top:8px;padding-top:8px;border-top:1px solid var(--command-line)}.painted-market .market-card-footer .text-button{min-height:30px;padding:3px 0;color:#c9d9dd}.painted-market :is(.market-tools,.market-sort){min-width:0;color:#cfccbc}.painted-market :is(.market-help,.market-filters,.filter-toggle){border-color:var(--command-line);border-radius:4px;background:#102a3ce8;color:#e8d8b3}.painted-market .filter-toggle{min-height:43px}.painted-market .market-filters,.ruby-game-shell .painted-market .market-sell{padding:12px}.painted-market .market-sell label{color:#c8cfca;font-size:12px;gap:6px}.painted-market .market-sale-preview{background:#0d273be8;border-color:var(--command-line);border-radius:5px}.painted-market .market-receipt,.painted-command-sheet .market-receipt{background:#0b2234;border-color:var(--command-line);border-radius:5px}.painted-market .market-receipt :is(dt,small),.painted-command-sheet .market-receipt :is(dt,small){color:#b8c8cb}.painted-market .market-receipt dd,.painted-command-sheet .market-receipt dd{color:#efd2a0}.painted-market .receipt-highlight,.painted-command-sheet .receipt-highlight{background:#29475466;border-color:var(--command-line)}body .sheet.painted-command-sheet{padding:12px}.painted-command-sheet :is(.unit-card-identity,.army-transfer-preview){padding:10px}.painted-command-sheet .unit-card-copy h3{font-size:27px}.painted-command-sheet .unit-card-copy>.unit-card-status{position:static;color:#b9d5c9}.painted-command-sheet :is(.unit-card-vitals>div,.unit-attributes>div,.army-unit-bonuses,.unit-card-disclosure){background:#0d2538;border-color:var(--command-line);border-radius:5px}.painted-command-sheet .unit-attributes{gap:5px}.painted-command-sheet :is(.unit-attributes strong,.unit-card-vitals strong){color:#f8dfad}.painted-command-sheet :is(.unit-card-note,.army-hint,.unit-card-stats-heading>span){color:#bac7c9}.painted-command-sheet .stack-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:0;background:none;border:0}.painted-command-sheet .stack-actions>button{min-height:41px;padding:7px;border:1px solid var(--command-line);border-radius:4px;background:#122e42;color:#d0d5ca}.painted-command-sheet .stack-actions>button:last-child{grid-column:1/-1}.painted-command-sheet .stack-actions>button.selected{background:var(--command-blue) center/100% 100% no-repeat;border-color:transparent;border-radius:0;color:#fff0ca}.painted-command-sheet .visual-target-slots>button{border-color:var(--command-line);background:#102c40;border-radius:5px}.painted-command-sheet .visual-target-slots>button.selected{background:#285b77;border-color:#e3ba70;box-shadow:inset 0 0 0 1px #e3ba7055}.painted-command-sheet .army-transfer-preview{margin:10px 0}.painted-command-sheet .army-transfer-preview :is(h3,b){color:#f3d7a4}body .sheet.painted-command-sheet .quantity-buttons .secondary-button,body .sheet.painted-command-sheet .quantity-fractions .secondary-button{min-width:0;min-height:42px;padding:5px 2px;border:1px solid var(--command-line);border-radius:4px;background:#18374b;font:600 14px/1.1 Manrope,sans-serif}.painted-command-sheet .adaptive-quantity{display:grid;grid-template-columns:72px minmax(0,1fr);gap:7px;align-items:end}.painted-command-sheet .adaptive-quantity>label{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;min-width:0}.painted-command-sheet .adaptive-quantity input{width:100%;min-height:42px;font-size:18px}body .sheet.market-purchase-sheet.painted-command-sheet{height:auto;min-height:0}.market-purchase-sheet.painted-command-sheet>.sheet-scroll-body{flex:0 1 auto}@media(max-height:600px){body .sheet.painted-command-sheet.sheet-with-footer>.sheet-fixed-footer{max-height:min(65dvh,calc(var(--telegram-viewport-height, 100dvh) - var(--telegram-safe-top, 0px) - 150px));overflow:auto;overscroll-behavior:contain}}.painted-command-sheet .quantity-buttons{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:4px}.painted-command-sheet .quantity-fractions{grid-column:1/-1;gap:5px}.painted-command-sheet .sheet-fixed-footer{border-color:var(--command-line);background:#0c2437;box-shadow:0 -4px 14px #0004}.painted-command-sheet .recruiter-checkout-panel{grid-template-rows:minmax(18px,auto) auto 46px 46px;gap:6px;min-width:0;margin:0;padding:0;border:0;background:none;box-shadow:none}.painted-recruiter .recruiter-checkout-panel .adaptive-quantity{height:auto;min-height:42px;margin:0}.painted-recruiter .recruiter-checkout-panel .recruit-checkout>span{grid-template-rows:14px 24px}.painted-recruiter .recruiter-location{color:#ffe4ab;font:700 25px/1.05 Cormorant Garamond,Georgia,serif}.painted-recruiter .recruiter-summary{padding:8px;border:1px solid var(--command-line);border-radius:5px;background:#102c40}.painted-recruiter .recruiter-summary strong{color:#f2d7a3;font-variant-numeric:tabular-nums}.painted-recruiter .recruit-offer-row{grid-template-columns:minmax(0,1fr) 38px;gap:5px}.painted-recruiter .recruitment-offer{min-height:94px;padding:10px;border:1px solid var(--command-line);border-radius:5px;background:#102a3c;box-shadow:none}.painted-recruiter .recruitment-offer.selected{border-color:#f2ce87;background:linear-gradient(140deg,#255772,#133247);box-shadow:inset 3px 0 #d5ad61}.painted-recruiter .recruitment-offer .portrait{width:62px;height:62px}.painted-recruiter .recruitment-offer strong{color:#ffe5af;font:700 23px/1.05 Cormorant Garamond,Georgia,serif}.painted-recruiter .recruitment-offer :is(small,del){color:#b2c6ce}.painted-recruiter .recruitment-offer .recruit-price{color:#f5d392}.painted-recruiter .recruit-inspect{width:38px;height:42px;border-radius:5px;border-color:var(--command-line);color:#ecd4a5;background:#143146}.painted-recruiter .recruit-selected strong{color:#f8dfa9}.painted-recruiter .recruit-selected>span{color:#adc3cd}.painted-recruiter .recruit-checkout{min-height:46px;font-variant-numeric:tabular-nums}.painted-recruiter .recruit-checkout strong{min-height:24px;color:#f0d49c}.painted-recruiter .recruit-checkout small{color:#b7c6c7}@media(max-width:359px){.painted-command-sheet .adaptive-quantity{grid-template-columns:minmax(0,1fr)}.painted-command-sheet .quantity-fractions{grid-column:1}.painted-army .section-heading h2{font-size:23px}.painted-army .section-heading>span{font-size:10px}.painted-army .army-slot .unit-attack-type{font-size:8px}.painted-market .market-detail{grid-template-columns:56px minmax(0,1fr);gap:8px}.painted-market .market-detail strong{font-size:22px}}.painted-clan,.painted-clan-sheet,.painted-oracle,.painted-warehouse,.painted-exclusive{--clan-frame: url(/art/settings/panel-v1.webp);--clan-blue: url(/art/interface/tabletop-blue-v1.webp);--clan-fill: linear-gradient(145deg, #15364bea, #0b2030f5);--clan-line: #be995b70;--clan-cream: #ffebc2}.ruby-game-shell .painted-clan :is(.citadel-banner,.clan-create,.clan-directory>article),.ruby-game-shell .painted-oracle :is(.oracle-hero,.oracle-personal,.oracle-milestone,.oracle-leaderboard),.ruby-game-shell .painted-warehouse :is(.warehouse-capacity,.warehouse-resources),.ruby-game-shell .painted-exclusive :is(.clan-merchant,.exclusive-card),.painted-clan-sheet :is(.citadel-detail-hero,.citadel-treasury-balance,.clan-public-heading){border:8px solid transparent;border-radius:0;border-image:var(--clan-frame) 18% fill / 8px / 0 stretch;background:var(--clan-fill);box-shadow:0 3px 6px #0005}.painted-clan .clan-citadel{margin-top:10px}.ruby-game-shell .painted-clan .citadel-banner-art{inset:0;background:linear-gradient(145deg,#214968a6,#091c2bbd)}.painted-clan .citadel-banner-content{min-height:110px;padding:12px}.painted-clan .citadel-eyebrow{color:#d1bb89;letter-spacing:.08em;font-size:8px;flex-wrap:wrap;gap:5px}.painted-clan .citadel-title{gap:9px;margin-top:9px}.painted-clan .citadel-title>img{width:54px;height:54px;object-fit:contain}.ruby-game-shell .painted-clan .citadel-title h2{font:700 28px/1 Cormorant Garamond,Georgia,serif;color:var(--clan-cream)}.painted-clan .citadel-title p{color:#b9cdd2;font-size:10px;line-height:1.5}.painted-clan .citadel-motto{margin:10px 0 0;font-size:16px;color:#e0d0ad}.painted-clan .citadel-manage-button{background:#14354d;border-color:var(--clan-line);border-radius:5px;color:#eddaaf}.ruby-game-shell .painted-clan .citadel-treasury{width:100%;background:#0d2538;border-color:var(--clan-line);padding:10px}.painted-clan .citadel-treasury strong{color:#ffdf9e;font-variant-numeric:tabular-nums}.painted-clan .citadel-treasury small{color:#bbcbca}.painted-clan .citadel-perks{gap:5px;margin:9px 0;padding:0;border:0;background:none}.painted-clan .citadel-perks>span{min-width:0;padding:8px 5px;border:1px solid var(--clan-line);border-radius:5px;background:#133248e8;color:#eed6a4}.painted-clan .citadel-perks small{color:#b9c9c8}.ruby-game-shell .painted-clan .citadel-construction{padding:10px;border:1px solid var(--clan-line);border-radius:5px;background:linear-gradient(130deg,#24516c,#112a3e);color:#e8d6ad}.painted-clan .citadel-construction small{color:#b5c8cc}.painted-clan .citadel-progress{background:#081d2f}.painted-clan .citadel-progress>i{background:linear-gradient(90deg,#4597c1,#ace7f7)}.painted-clan .citadel-section-heading{margin:18px 0 10px}.painted-clan .citadel-section-heading h3{font:700 30px/1 Cormorant Garamond,Georgia,serif;color:var(--clan-cream)}.painted-clan .citadel-section-heading>span{background:#133147;border-color:var(--clan-line);color:#efcf91}.painted-clan .citadel-buildings{gap:10px}.ruby-game-shell .painted-clan .citadel-building{aspect-ratio:2/3;padding:0;border:6px solid transparent;border-radius:0;border-image:var(--clan-frame) 18% fill / 7px / 0 stretch;background:radial-gradient(ellipse at 50% 30%,#376a8466,transparent 70%),#0e2a3c;box-shadow:0 3px 6px #0006;isolation:isolate}.ruby-game-shell .painted-clan .citadel-building-art{inset:0;border-radius:0}.ruby-game-shell .painted-clan .citadel-building-art>img{width:100%;height:100%;padding:12px 4px 86px;object-fit:contain!important;object-position:center top!important;filter:drop-shadow(0 4px 4px #0006)}.ruby-game-shell .painted-clan .citadel-building-art:after{background:linear-gradient(0deg,#0a2034 0%,#0a2034dd 24%,transparent 42%)}.painted-clan .citadel-level{top:5px;left:5px;padding:3px 5px;border-radius:3px;border-color:#d6b6758c;background:#10283beb;color:#f2d398;font-size:8px}.painted-clan .citadel-building-copy{gap:5px;padding:7px 7px 9px;min-height:86px;align-content:end}.ruby-game-shell .painted-clan .citadel-building-copy>strong{color:var(--clan-cream);font-size:clamp(20px,5.5vw,26px);line-height:1}.painted-clan .citadel-building-copy>span:not(.citadel-level-dots){color:#bbd0d1;font-size:10px;line-height:1.35;min-height:14px}.painted-clan .citadel-level-dots{gap:4px}.painted-clan .citadel-level-dots i{background:#64768945}.painted-clan .citadel-level-dots i.filled{background:linear-gradient(90deg,#bb8d43,#ffe3a5)}.painted-clan .citadel-building.unbuilt{filter:none;opacity:.8}.painted-clan .citadel-building.unbuilt img{filter:saturate(.65) drop-shadow(0 3px 3px #0006)}.painted-clan .citadel-building-timer{background:#112d42;border-color:var(--clan-line);color:#cde6ec}.ruby-game-shell :is(.painted-clan,.painted-warehouse) .world-tabs,.painted-clan .clan-section-tabs,.painted-oracle .oracle-sections{gap:5px;padding:0;margin:0 0 10px;border:0;background:none;box-shadow:none}.ruby-game-shell :is(.painted-clan,.painted-warehouse) .world-tabs>button,.painted-clan .clan-section-tabs>button,.painted-oracle .oracle-sections>button{min-width:0;min-height:43px;padding:8px;border:1px solid var(--clan-line);border-radius:4px;background:#102c40e8;color:#cad5ce;font-size:12px}.ruby-game-shell :is(.painted-clan,.painted-warehouse) .world-tabs>button.selected,.painted-clan .clan-section-tabs>button[aria-selected=true],.painted-oracle .oracle-sections>button[aria-pressed=true]{border-color:transparent;border-radius:0;background:var(--clan-blue) center/100% 100% no-repeat;color:#ffedc3}.painted-clan :is(.clan-search,.clan-member-search,.clan-roster-filters>button),.painted-warehouse :is(.warehouse-search-row,.filter-toggle,.warehouse-filter-fields){background:#102b3de8;border-color:var(--clan-line);color:#d6d8c7}.painted-clan :is(.clan-panel-title,.clan-roster h2,.clan-directory h2){color:var(--clan-cream);font:700 26px/1.1 Cormorant Garamond,Georgia,serif}.painted-clan .player-list>button,.painted-clan-sheet .player-list>button{min-height:78px;padding:10px 6px;border:0;border-bottom:1px solid var(--clan-line);border-radius:0;background:#102d3ec9;color:#f1deb5;box-shadow:none}.painted-clan .player-name>strong,.painted-clan-sheet .player-name>strong{color:#ffe5af;font:700 22px/1.05 Cormorant Garamond,Georgia,serif}.painted-clan :is(.player-name small,.clan-directory-motto,.clan-ledger p,.muted),.painted-clan-sheet :is(.muted,.player-name small){color:#bdcbd0}.painted-clan .clan-ledger{background:#10283de8;border:1px solid var(--clan-line);border-radius:5px;padding:12px}.painted-clan-sheet .citadel-detail-hero{padding:10px}.painted-clan-sheet .citadel-detail-hero>img{width:108px;height:108px;object-fit:contain!important;padding:0;border:0;border-radius:0;background:none}.painted-clan-sheet :is(.citadel-detail-hero h3,.citadel-levels strong,.clan-public-heading h3){color:#ffe2a6}.painted-clan-sheet .citadel-detail-hero p{color:#bacdd2;font-size:12px}.painted-clan-sheet :is(.citadel-levels>div,.citadel-open-actions>button,.citadel-manage-actions>button,.clan-member-actions>button){border-color:var(--clan-line);border-radius:4px;background:#132f44;color:#ebdbb8}.painted-clan-sheet .citadel-levels>.current{border-color:#e4bd76;background:#23526c}.painted-clan-sheet .citadel-levels>.completed{background:#1b3b4b}.painted-clan-sheet .citadel-levels>div>span{border-color:var(--clan-line);background:#153247;color:#efd6a1}.painted-clan-sheet .citadel-open-actions>button{min-height:44px}.painted-clan-sheet .citadel-treasury-balance{padding:10px;color:#f5d497}.painted-clan-sheet .clan-deposit{gap:10px}.painted-clan-sheet .clan-deposit label{min-width:0;color:#c2d0d1;font-size:12px}.painted-clan-sheet .clan-deposit .primary-button{grid-column:1/-1}.painted-clan-sheet .clan-withdraw{padding:10px 0;border-color:var(--clan-line)}.painted-clan-sheet .clan-withdraw>button{min-height:44px;padding:8px;background:#20435b;border:1px solid var(--clan-line);border-radius:4px;color:#f1dab0}.painted-clan-sheet .clan-member-actions .recruitment-decline{color:#ffd2bf;background:#502e32;border-color:#b87969}.painted-clan-sheet .clan-public-heading{padding:10px}.painted-clan-sheet .clan-public-buildings>div{padding:8px;border-color:var(--clan-line);border-radius:5px;background:#123145;color:#ead5ad}.painted-clan-sheet .clan-public-buildings img{width:64px;height:64px;object-fit:contain;border-radius:0}.painted-clan-sheet .clan-motto{color:#d6c7a3;border-color:var(--clan-line);background:#153248}.painted-warehouse .warehouse-capacity{padding:10px;color:#c4d0cf}.painted-warehouse .warehouse-capacity strong{color:#f4d79f}.painted-warehouse .warehouse-controls{padding:0}.painted-warehouse :is(.warehouse-resource-totals,.warehouse-actions){background:#102d41;border-color:var(--clan-line);border-radius:4px}.painted-warehouse .warehouse-resources{padding:12px}.painted-warehouse .warehouse-resources h2{font:700 26px/1 Cormorant Garamond,Georgia,serif;color:#ffe3ab}.painted-warehouse .warehouse-resource-totals strong{color:#f4d69e}.painted-warehouse .warehouse-grid{gap:8px}.painted-warehouse .bag-slot{border-radius:5px}.ruby-game-shell .painted-oracle .oracle-hero{display:grid;grid-template-columns:136px minmax(0,1fr);gap:10px;align-items:center;padding:10px}.painted-oracle .oracle-hero h2{color:#ffe5af;font:700 29px/1 Cormorant Garamond,Georgia,serif}.painted-oracle .oracle-hero>div>strong{color:#f5d59e;font-size:23px}.painted-oracle .oracle-hero :is(small,strong span){color:#b9cfd3}.ruby-game-shell .painted-oracle .oracle-hero .oracle-portrait{width:136px;height:152px;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible}.painted-oracle .oracle-portrait img{width:100%;height:100%;object-fit:contain!important;border-radius:0}.painted-oracle .oracle-progress{height:6px;accent-color:#8ec8e9;margin:10px 0}.ruby-game-shell .painted-oracle .oracle-progress::-webkit-progress-value{background:linear-gradient(90deg,#488ac5,#b6e9fa)}.ruby-game-shell .painted-oracle .oracle-progress::-moz-progress-bar{background:linear-gradient(90deg,#488ac5,#b6e9fa)}.painted-oracle .oracle-personal{padding:9px;color:#c3d3d5}.painted-oracle .oracle-personal strong{color:#f4d89d}.painted-oracle .oracle-guide{background:#102e43;border-color:var(--clan-line);border-radius:5px;color:#d7ddce}.painted-oracle .oracle-milestone{padding:10px;column-gap:10px}.painted-oracle .oracle-milestone.available{border-image-width:10px;filter:drop-shadow(0 0 2px #d9ad5966)}.painted-oracle .oracle-milestone-heading strong{color:#f7d99d;font:700 31px/1 Cormorant Garamond,Georgia,serif}.painted-oracle :is(.oracle-milestone-heading span,.oracle-rule,.oracle-ineligible,.oracle-remaining,.oracle-leaderboard-rule,.oracle-leaderboard-footnote){color:#c0cbcd}.painted-oracle .oracle-milestone .primary-button{min-width:0;min-height:42px;font-size:17px;padding:8px 12px}.painted-oracle .oracle-leaderboard{padding:10px}.painted-oracle .oracle-leaderboard-heading h2{color:#ffe4ad}.painted-oracle .oracle-contributor{background:#102e42;border-color:var(--clan-line);border-radius:4px}.painted-oracle .oracle-contributor-name strong{color:#ffdfa3}.painted-oracle .oracle-contributor-count b{color:#f3d497}.painted-exclusive .clan-merchant{padding:10px}.painted-exclusive .clan-merchant h2{color:#ffe5af}.painted-exclusive :is(.exclusive-market-status,.exclusive-rules){background:#102b3fe8;border-color:var(--clan-line);border-radius:5px;color:#bdccd0}.painted-exclusive .exclusive-card{padding:12px}.painted-exclusive .exclusive-card>strong{color:#ffe4aa}.painted-exclusive .exclusive-price{color:#f7d79a}@media(max-width:359px){.painted-clan .citadel-title>img{width:54px;height:54px}.ruby-game-shell .painted-clan .citadel-title h2{font-size:28px}.painted-clan .citadel-section-heading h3{font-size:27px}.painted-clan .citadel-building-copy>span:not(.citadel-level-dots){font-size:9px}.painted-clan-sheet .citadel-detail-hero{display:grid;grid-template-columns:80px minmax(0,1fr);gap:8px}.painted-clan-sheet .citadel-detail-hero>img{width:80px;height:92px}.ruby-game-shell .painted-oracle .oracle-hero{grid-template-columns:96px minmax(0,1fr);padding:7px;gap:6px}.ruby-game-shell .painted-oracle .oracle-hero .oracle-portrait{width:96px;height:122px}.painted-oracle .oracle-hero h2{font-size:25px}.painted-clan .clan-section-tabs>button{padding:7px 4px;font-size:11px}}.painted-adventure-sheet,.painted-world-map{--adventure-frame: url(/art/settings/panel-v1.webp);--adventure-blue: url(/art/interface/tabletop-blue-v1.webp);--adventure-fill: linear-gradient(145deg, #16374aee, #0b1e30f7);--adventure-line: #ba945c70;--adventure-cream: #ffebc5;--adventure-muted: #c5c9bd}body .sheet.painted-adventure-sheet{padding:12px 12px max(12px,env(safe-area-inset-bottom,0px),var(--telegram-safe-bottom, 0px));background:linear-gradient(#0a2438e6,#0d2538ed),url(/art/settings/desk-v1.webp) center/cover}body .sheet.painted-adventure-sheet,body .sheet.painted-adventure-sheet.sheet-with-footer{max-height:min(88dvh,calc(var(--telegram-viewport-height, 100dvh) - max(env(safe-area-inset-top,0px),var(--telegram-safe-top, 0px)) - 8px))}.painted-adventure-sheet>.section-heading{display:grid;grid-template-columns:minmax(0,1fr) 42px;align-items:center;gap:8px}body .sheet.painted-adventure-sheet>.section-heading h2{min-width:0;max-height:3.15em;overflow-y:auto;margin:0;font-size:clamp(26px,7.5vw,32px);overflow-wrap:anywhere}.painted-adventure-sheet>.sheet-scroll-body{min-width:0;scrollbar-color:#a38350 #0d2435}.painted-adventure-sheet .help-inline{color:var(--adventure-muted);font-size:12px}.painted-adventure-sheet :is(.npc-intro,.quest-npc-heading,.story-mentor){display:flex;align-items:center;gap:10px;margin:8px 0 12px;padding:10px;border:1px solid var(--adventure-line);border-radius:5px;background:var(--adventure-fill)}.painted-adventure-sheet :is(.npc-intro,.quest-npc-heading,.story-mentor)>.portrait{flex:0 0 56px;width:56px;height:56px;border-color:#c59c5e}.painted-adventure-sheet :is(.npc-intro p,.quest-npc-heading>div,.story-mentor>div){min-width:0;margin:0}.painted-adventure-sheet :is(.quest-npc-heading strong,.story-mentor strong){color:var(--adventure-cream);font:700 23px/1.05 Cormorant Garamond,Georgia,serif}.painted-adventure-sheet :is(.quest-npc-heading small,.story-mentor small,.story-mentor span){color:var(--adventure-muted);font-size:11px;line-height:1.4;text-transform:none;letter-spacing:0}.painted-adventure-sheet :is(.quest-list,.journal-list){display:grid;gap:12px}.painted-adventure-sheet :is(.quest-card,.journal-card,.story-journal-entry){min-width:0;padding:10px;border:7px solid transparent;border-radius:0;border-image:var(--adventure-frame) 18% fill / 7px / 0 stretch;background:var(--adventure-fill);color:var(--adventure-cream);box-shadow:0 3px 5px #0005}.painted-adventure-sheet :is(.journal-card.ready,.quest-card:not(.completed):hover){background:linear-gradient(145deg,#21455a,#0d263b)}.painted-adventure-sheet :is(.quest-card>strong,.journal-card-heading strong){color:var(--adventure-cream);font:700 25px/1.05 Cormorant Garamond,Georgia,serif;overflow-wrap:anywhere}.painted-adventure-sheet .quest-card>strong{display:flex;justify-content:space-between;align-items:start;gap:8px}.painted-adventure-sheet .quest-card>strong small{flex:none;margin:0;padding:4px 6px;border:1px solid var(--adventure-line);border-radius:3px;color:#f2d390;font:600 11px/1.2 Manrope,sans-serif}.painted-adventure-sheet :is(.quest-card>p,.journal-card>p,.npc-intro p){color:#e4ddca;font-size:13px;line-height:1.55}.painted-adventure-sheet :is(.quest-card>small,.journal-card-heading small,.journal-reward>small){color:var(--adventure-muted);font-size:11px;line-height:1.45}.painted-adventure-sheet .journal-card-heading>.portrait{flex-basis:46px;width:46px;height:46px}.painted-adventure-sheet :is(.journal-tabs,.story-journal-entry){margin:10px 0 14px}.painted-adventure-sheet .journal-tabs{gap:4px}.painted-adventure-sheet .journal-tabs button{min-height:44px;padding:7px 3px;border:1px solid var(--adventure-line);border-radius:4px;background:#0c2033;color:var(--adventure-muted);font-size:11px}.painted-adventure-sheet .journal-tabs button[aria-pressed=true]{border-color:transparent;border-radius:0;background:var(--adventure-blue) center/100% 100% no-repeat;color:#fff0cb}.painted-adventure-sheet .journal-map-link{min-height:44px;padding:10px 14px;border:0;border-radius:0;background:var(--adventure-blue) center/100% 100% no-repeat;color:#fff0cb;font:700 19px/1.1 Cormorant Garamond,Georgia,serif}body .sheet.painted-adventure-sheet :is(.quest-objective,.quest-target,.quest-delivery){padding:10px;border:1px solid var(--adventure-line);border-radius:5px;background:#0c2235;color:#eee1c5}.painted-adventure-sheet .quest-objective>div{align-items:start;gap:8px}.painted-adventure-sheet .quest-objective b{flex:none;color:#f6d68e}.painted-adventure-sheet :is(.quest-objective progress,.journal-progress progress){display:block;width:100%;height:8px;margin-top:8px;overflow:hidden;border:1px solid #82704b;border-radius:5px;background:#061523;accent-color:#57b7e9}.painted-adventure-sheet progress::-webkit-progress-bar{background:#061523}.painted-adventure-sheet progress::-webkit-progress-value{background:linear-gradient(#92daf5,#3297ce)}.painted-adventure-sheet progress::-moz-progress-bar{background:linear-gradient(#92daf5,#3297ce)}.painted-adventure-sheet .journal-progress>span{gap:8px;font-size:12px;color:var(--adventure-muted)}.painted-adventure-sheet .journal-progress b{flex:none;color:#f6d68e}.painted-adventure-sheet .delivery-item{display:grid;grid-template-columns:22px 40px minmax(0,1fr);align-items:center;gap:8px;padding:10px 7px;border-color:var(--adventure-line);background:#143043}.painted-adventure-sheet .delivery-item:has(input:checked){border-color:#e8c17a;background:#234b62}.painted-adventure-sheet .delivery-item>input{width:20px;height:20px;accent-color:#4da6d1}.painted-adventure-sheet .quest-delivery h3{color:var(--adventure-cream);font-size:23px}.painted-adventure-sheet .delivery-item strong{overflow-wrap:anywhere}.painted-adventure-sheet .quest-rewards{display:block;margin:10px 0}.adventure-rewards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;min-width:0;text-align:left}.adventure-rewards>span{display:flex;flex-direction:row;align-items:center;justify-content:start;gap:7px;min-width:0;min-height:48px;padding:6px 8px;border:1px solid #b08c5145;border-radius:4px;background:#071d2d85;color:#eee1c6;font-size:12px;line-height:1.35;overflow-wrap:anywhere}.adventure-rewards>span>:first-child{flex:0 0 30px;width:30px;height:30px}.adventure-rewards>span>span{min-width:0}.adventure-rewards b{display:block;color:#ffe4a5;font-size:15px}.adventure-rewards small{display:block;color:#c5c9bd;font-size:10px}.painted-adventure-sheet>.sheet-fixed-footer{flex:0 0 auto;min-height:0;max-height:min(55dvh,calc(var(--telegram-viewport-height, 100dvh) - 190px - var(--telegram-safe-top, 0px) - var(--telegram-safe-bottom, 0px)));overflow-y:auto;padding:10px 4px 4px;border-top:1px solid var(--adventure-line);background:#0b2438}.painted-adventure-sheet .quest-selection-count{display:flex;justify-content:space-between;gap:8px;color:#f4dfb3}.painted-adventure-sheet .story-dialogue{padding:13px;border:1px solid var(--adventure-line);border-radius:5px;background:#0a2033cc;color:#eee2ca;font-size:14px;line-height:1.6}.painted-adventure-sheet :is(.story-hint,.story-intro,.story-clues p){color:#c5c9bd}.painted-adventure-sheet .story-checklist li{color:#d3d4c6}.painted-adventure-sheet .story-checklist li>span{flex-basis:28px;height:28px;border-radius:4px;border-color:#bd965b;background:#122e42}.painted-adventure-sheet .story-checklist .done{color:#bde0b1}.painted-adventure-sheet .story-checklist .done>span{background:#264935}.painted-adventure-sheet .story-footer .primary-button{white-space:normal}.painted-adventure-sheet .story-clues>div{padding:10px;border:1px solid var(--adventure-line);background:#102c40;border-radius:4px}body .sheet.page-sheet.painted-world-map{color:var(--adventure-cream);background:linear-gradient(#071e32b5,#081b2a91),url(/art/settings/desk-v1.webp) center/cover}body .sheet.painted-world-map>.section-heading{grid-template-columns:38px minmax(0,1fr) 44px;padding:8px 12px;gap:8px;border-bottom:1px solid #b3915366;background:#0b2235c9}.painted-world-map>.section-heading h2{display:grid;align-items:center;min-height:54px;padding:9px 14px;background:var(--adventure-blue) center/100% 100% no-repeat;color:#fff0cb;font-weight:700;text-align:center}body .sheet.painted-world-map>.section-heading .icon-button{border:0;border-radius:0;border-image:var(--adventure-frame) 18% fill / 8px / 0 stretch;background:none;color:var(--adventure-cream)}.painted-world-map :is(.world-map-intro .help-inline,.muted,.atlas-legend){color:var(--adventure-muted)}.painted-world-map .world-region-card{border:8px solid transparent;border-radius:0;border-image:var(--adventure-frame) 18% / 8px / 0 stretch;min-height:155px;padding:17px 12px}.painted-world-map .world-region-card.current{filter:drop-shadow(0 0 3px #e7bd6960)}.painted-world-map .world-region-card:after{background:linear-gradient(90deg,#071d2df2,#0b2132b3 62%,#0b1c2540)}.painted-world-map .world-region-info strong{color:#fff0cb;font-weight:700}.painted-world-map .world-region-info em{color:#f5d28c;font-size:11px}.painted-world-map .atlas-view-switch{border:1px solid var(--adventure-line);background:#0c2336}.painted-world-map .atlas-view-switch button[aria-pressed=true]{border:0;border-radius:0;background:var(--adventure-blue) center/100% 100% no-repeat;color:var(--adventure-cream)}.painted-world-map :is(.atlas-back,.world-map-back){padding-inline:8px;color:#ffe1a4;font-size:12px}.painted-world-map .atlas-canvas{border:10px solid transparent;border-radius:0;border-image:var(--adventure-frame) 18% / 10px / 0 stretch;box-shadow:0 4px 9px #0008}.painted-world-map .atlas-shade{background:linear-gradient(#071d2d05,#071d2d15);box-shadow:inset 0 0 20px #071c2b66}.painted-world-map .atlas-marker{width:34px;height:34px;border:3px solid #ad8748;background:linear-gradient(#285778,#123048);color:#fff0c5;box-shadow:0 2px 3px #0009,inset 0 0 0 1px #e6c78b99}.painted-world-map .atlas-node.current .atlas-marker{border-color:#eed089;background:linear-gradient(#387c9f,#184768)}.painted-world-map .atlas-node.selected .atlas-marker{box-shadow:0 0 0 3px #fae6a455,0 0 15px #f1c767aa}.painted-world-map .atlas-node.locked .atlas-marker{background:#27394b;border-color:#8d8e8a}.painted-world-map .atlas-node-label{padding:5px;border-color:#c49e5d99;background:#0b253aef}.painted-world-map .atlas-node.selected .atlas-node-label{background:#214b65f5;border-color:#f6d797}.painted-world-map .atlas-node-label strong{color:#fff0cb;font-size:11px}.painted-world-map .atlas-node-label small{color:#d3d7c9;font-size:9px}body .sheet.painted-world-map>.sheet-fixed-footer{flex:0 0 auto;min-height:0;max-height:46%;overflow-y:auto;padding:10px 14px;border-top:6px solid transparent;border-image:var(--adventure-frame) 18% / 6px 0 0 / 0 stretch;background:#0b2438f5}body .sheet.painted-world-map .atlas-destination{padding:0;background:transparent}.painted-world-map .atlas-destination h3{color:#ffe8b5;font-weight:700}.painted-world-map .atlas-services>span{padding:4px 6px;border:1px solid #ba945c40;border-radius:3px;background:#15354c;color:#dad8c6;font-size:10px}body .sheet.painted-world-map .atlas-destination .primary-button{min-height:48px;padding:10px 18px;border:0;border-radius:0;background:var(--adventure-blue) center/100% 100% no-repeat;color:#fff0c5;font:700 22px/1.1 Cormorant Garamond,Georgia,serif}.painted-world-map .territory-card{border:7px solid transparent;border-radius:0;border-image:var(--adventure-frame) 18% fill / 7px / 0 stretch;background:var(--adventure-fill);padding:10px}.painted-world-map .territory-card.current{background:linear-gradient(145deg,#265570,#12344d)}.painted-world-map .territory-card strong{color:var(--adventure-cream)}.painted-world-map :is(.story-map-note,.recent-territories button){background:#123148;border-color:var(--adventure-line);color:#f8dda6}@media(max-width:350px){body .sheet.painted-adventure-sheet{padding:8px 8px max(8px,env(safe-area-inset-bottom,0px),var(--telegram-safe-bottom, 0px));border-width:12px;border-image-width:12px}.painted-adventure-sheet :is(.journal-card,.quest-card){padding:7px}.painted-adventure-sheet .journal-tabs button{font-size:10px}.adventure-rewards>span{gap:5px;padding:5px}.painted-world-map>.section-heading h2{font-size:23px}.painted-world-map .atlas-node-label{max-width:96px}.painted-world-map .atlas-node-label strong{font-size:10px}}@media(min-width:700px){.painted-world-map .world-region-card{min-height:210px}}.painted-inventory,.painted-inventory-sheet{--bag-frame: url(/art/settings/panel-v1.webp);--bag-blue: url(/art/interface/tabletop-blue-v1.webp);--bag-red: url(/art/interface/tabletop-red-v1.webp);--bag-fill: linear-gradient(145deg, #16374bed, #0c2133f7);--bag-line: #ba945c70;--bag-cream: #ffebc5;--bag-muted: #c3c9c3}.ruby-game-shell .painted-inventory>.page-title{justify-content:center;min-height:64px;margin:0 0 10px;padding:8px 20px;background:var(--bag-blue) center/100% 100% no-repeat}.painted-inventory>.page-title .frontier-section-emblem{display:none}.painted-inventory>.page-title .frontier-section-title{display:block;width:100%}.ruby-game-shell .painted-inventory>.page-title h1{display:block;width:100%;margin:0;color:#ffedc8;font:700 31px/1 Cormorant Garamond,Georgia,serif;text-align:center}.ruby-game-shell .painted-inventory :is(.equipment-panel,.bag-panel,.pending-rewards),body .painted-inventory-sheet :is(.comparison-card,.item-detail-header,.forge-panel,.orb-option){min-width:0;border:7px solid transparent;border-radius:0;border-image:var(--bag-frame) 18% fill / 7px / 0 stretch;background:var(--bag-fill);padding:10px;box-shadow:0 3px 5px #0005}.painted-inventory :is(.section-heading h2,.pending-rewards h2){color:var(--bag-cream);font:700 25px/1.1 Cormorant Garamond,Georgia,serif}.painted-inventory .section-heading{gap:8px;margin-bottom:10px}.painted-inventory .section-heading>:last-child:not(h2){color:#f2cf8c;font-size:11px;flex:none}.painted-inventory .equipment-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.ruby-game-shell .painted-inventory .equipment-slot{min-width:0;min-height:82px;padding:4px 0;border:1px solid #b0935d66;border-radius:5px;background:#081d2bbf;color:#ead9b7;box-shadow:inset 0 1px 3px #0007}.painted-inventory .equipment-slot.occupied{border-color:color-mix(in srgb,var(--rarity) 65%,#c1a16e)}.painted-inventory .equipment-slot small{color:#d7d2bf;font-size:9px}.painted-inventory .enhancement-badge,.painted-inventory :is(.bag-stack-count,.bag-enhancement){z-index:3;border:1px solid #c0a36f;border-radius:3px;background:#071b2bf5;color:#ffe4a3;font-size:10px}.ruby-game-shell .painted-inventory .inventory-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;width:100%;padding:0;margin:10px 0;overflow:visible;background:none;border:0}.painted-inventory .inventory-filters button{min-width:0;min-height:42px;padding:6px 3px;border:1px solid var(--bag-line);border-radius:4px;background:#0b2235;color:var(--bag-muted);font-size:11px}.ruby-game-shell .painted-inventory .inventory-filters button.selected,.painted-inventory-sheet .weapon-choice button.selected{border-color:transparent;border-radius:0;background:var(--bag-blue) center/100% 100% no-repeat;color:#fff0cb}.painted-inventory :is(.bag-search,.filter-toggle,.bag-filter-fields){border-color:var(--bag-line);background:#0c2336;color:#e9ddc4}.painted-inventory .bag-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}.painted-inventory .bag-search{min-width:0}.painted-inventory .bag-search input{width:100%;border:0;box-shadow:none;background:transparent;padding:10px 8px 10px 32px}.painted-inventory .filter-toggle{min-height:44px;padding:8px;font-size:11px}.painted-inventory .bag-sort{gap:8px;color:var(--bag-muted)}.painted-inventory .bag-sort select{min-width:0;min-height:44px;max-width:65%}.painted-inventory .bag-heading-tools{display:flex;align-items:center;justify-content:end;gap:7px;flex:none;color:#f2cf8c;font-size:11px}.painted-inventory .bag-filter-fields .bag-sort{grid-column:1 / -1;display:grid;gap:6px}.painted-inventory .bag-filter-fields .bag-sort select{max-width:none;width:100%}.ruby-game-shell .painted-inventory .bag-panel .bulk-dismantle-button{display:grid;place-items:center;width:42px;min-height:42px;padding:5px;margin:0;border:1px solid var(--bag-line);border-radius:4px;background:#17374c;color:#ead4a7}.ruby-game-shell .painted-inventory .bag-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.ruby-game-shell .painted-inventory .bag-slot{min-width:0;min-height:110px;padding:7px 2px;border:1px solid color-mix(in srgb,var(--rarity, #a18a61) 60%,#405367);border-radius:5px;background:linear-gradient(#17374bde,#091e2ff2);box-shadow:inset 0 1px 3px #0006}.ruby-game-shell .painted-inventory .bag-slot.vacant{background:#071a29b3;opacity:.55}.painted-inventory .bag-slot .bag-name{color:#efe2c6;font-size:10px;line-height:1.3;padding-inline:1px}.painted-inventory .bag-overflow{border-color:#b68b4f;background:#493923bb;color:#ffe5af}.painted-inventory .inventory-hint{color:var(--bag-muted)}.painted-inventory .pending-item{background:#14364b;border-radius:4px}body .sheet.painted-inventory-sheet{padding:12px 12px max(12px,env(safe-area-inset-bottom,0px),var(--telegram-safe-bottom, 0px));background:linear-gradient(#0b2439e8,#0b2439ed),url(/art/settings/desk-v1.webp) center/cover}body .sheet.painted-inventory-sheet,body .sheet.painted-inventory-sheet.sheet-with-footer{max-height:min(88dvh,calc(var(--telegram-viewport-height, 100dvh) - max(env(safe-area-inset-top,0px),var(--telegram-safe-top, 0px)) - 8px))}.painted-inventory-sheet>.section-heading{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:8px}body .sheet.painted-inventory-sheet>.section-heading h2{min-width:0;margin:0;color:var(--bag-cream);font-size:clamp(26px,7.5vw,32px)}.painted-inventory-sheet :is(.inventory-hint,.help-inline,.muted){color:var(--bag-muted)}.painted-inventory-sheet .comparison-cards{gap:8px}body .painted-inventory-sheet .comparison-card{padding:9px 5px}.painted-inventory-sheet .comparison-card>small{color:#c5d0d0;font-size:11px}.painted-inventory-sheet .comparison-card strong{color:#ffebc5;font-size:13px;line-height:1.35;overflow-wrap:anywhere}.painted-inventory-sheet .comparison-card span{color:#d0ccbc}.painted-inventory-sheet .item-comparison table{width:100%;table-layout:fixed;border-collapse:collapse}.painted-inventory-sheet .item-comparison caption{text-align:left;color:#f0d59e;margin:12px 0 6px}.painted-inventory-sheet .item-comparison :is(th,td){padding:9px 3px;border-color:var(--bag-line);color:#d9dfd9;font-size:11px;overflow-wrap:anywhere}.painted-inventory-sheet .item-comparison th:first-child{width:37%;text-align:left}.painted-inventory-sheet .item-comparison tbody tr:nth-child(odd){background:#12334a8c}.painted-inventory-sheet .item-comparison td.comparison-gain{color:#a9e5b1}.painted-inventory-sheet .item-comparison td.comparison-loss{color:#ffb19e}.painted-inventory-sheet .item-detail-header h3{color:var(--bag-cream);font:700 26px/1.1 Cormorant Garamond,Georgia,serif}.painted-inventory-sheet :is(.item-affixes,.item-special-effect,.orb-corrupted,.orb-result){padding:10px;border:1px solid var(--bag-line);border-radius:5px;background:#102d42;color:#eee0c6}.painted-inventory-sheet :is(.item-forge-disclosure,.orb-crafting){border:1px solid var(--bag-line);background:#0d273b;border-radius:5px}body .sheet.painted-inventory-sheet :is(.item-forge-disclosure,.orb-crafting)>summary{min-height:48px;padding:12px 9px;color:#ffe4af;background:#16364c}.painted-inventory-sheet :is(.item-forge-disclosure,.orb-crafting)>summary span{color:#bbcfd7}.painted-inventory-sheet .forge-heading{flex-wrap:wrap}.painted-inventory-sheet .forge-heading .eyebrow{color:#e0bf7e}.painted-inventory-sheet .forge-heading h3{color:var(--bag-cream)}.painted-inventory-sheet .forge-quote{border-color:var(--bag-line);background:#0a2235}.painted-inventory-sheet .forge-quote strong{color:#ffe4a8}.painted-inventory-sheet .forge-quote small{color:#c3ced0}.painted-inventory-sheet .forge-milestones i{border-color:#897452;background:#102439}.painted-inventory-sheet .forge-milestones i.complete{background:linear-gradient(#98def3,#4295c8)}.painted-inventory-sheet .forge-milestones i.next{border-color:#e3bf77}.painted-inventory-sheet :is(.forge-rule,.forge-safety){color:#d3d7cd;font-size:12px}.painted-inventory-sheet :is(.forge-result,.forge-max){padding:12px;border:1px solid #c8a361;background:#153a50;border-radius:5px}.painted-inventory-sheet .orb-option{display:grid;grid-template-columns:42px minmax(0,1fr);gap:8px}.painted-inventory-sheet .orb-option>div{min-width:0}.painted-inventory-sheet .orb-option strong{color:#ffe4af;font-size:15px}.painted-inventory-sheet .orb-option small{color:#c5cfcc;font-size:12px;line-height:1.5}body .sheet.painted-inventory-sheet .orb-option>button{grid-column:1 / -1;display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;border:0;border-radius:0;background:var(--bag-blue) center/100% 100% no-repeat;color:#ffebc5}.painted-inventory-sheet .orb-confirm{padding:12px;border-color:#cba565;background:#17364c}.painted-inventory-sheet .orb-confirm-chaos{border-color:#d88a75;background:#382738}.painted-inventory-sheet .orb-confirm>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.painted-inventory-sheet .orb-confirm>div>button{min-height:44px;color:#ffebc5}.painted-inventory-sheet .orb-stat-comparison>div{background:#0b2538;color:#f1e0bd}.painted-inventory-sheet>.sheet-fixed-footer{flex:0 0 auto;min-height:0;max-height:min(55dvh,calc(var(--telegram-viewport-height, 100dvh) - 180px - var(--telegram-safe-top, 0px) - var(--telegram-safe-bottom, 0px)));overflow-y:auto;padding:10px 0 0;border-top-color:var(--bag-line);background:#0a2236}body .sheet.painted-chest-sheet.sheet-with-footer{height:auto}.painted-chest-sheet>.sheet-scroll-body{flex:0 1 auto}.painted-chest-sheet>.sheet-fixed-footer{display:none}body .sheet.painted-inventory-sheet .sheet-fixed-footer :is(.primary-button,.secondary-button){min-height:48px;padding:10px 13px;background:var(--bag-blue) center/100% 100% no-repeat;font-size:19px;color:#ffedc5}.painted-inventory-sheet .weapon-choice button{min-height:44px;background:#102d43;border-color:var(--bag-line);color:#e3d9bf}.painted-inventory-sheet .dismantle-entry .recruitment-decline{min-height:48px;padding:10px 18px;border:0;border-radius:0;background:var(--bag-red) center/100% 100% no-repeat;color:#ffe4c2;font:700 19px/1.1 Cormorant Garamond,Georgia,serif}.painted-inventory-sheet :is(.inventory-stack-heading,.inventory-orb-target,.salvage-item){padding:10px;border:1px solid var(--bag-line);border-radius:5px;background:#14344a;color:#f1e0bd}.painted-inventory-sheet .inventory-stack-heading{gap:12px}.painted-inventory-sheet .inventory-stack-heading strong{color:#ffe5a8}.painted-inventory-sheet .inventory-orb-target{min-height:66px}.painted-inventory-sheet .inventory-orb-target span{min-width:0}.painted-inventory-sheet .inventory-orb-target strong{overflow-wrap:anywhere}.painted-inventory-sheet .inventory-orb-target small{color:#becdcf}.painted-inventory-sheet .relic-craft-options{display:grid;gap:10px}.painted-inventory-sheet .relic-craft-options>button{min-height:64px;padding:12px 20px;border:0;border-radius:0;background:var(--bag-blue) center/100% 100% no-repeat;color:#ffe4b4;font:700 21px/1.15 Cormorant Garamond,Georgia,serif}.painted-inventory-sheet .salvage-rarities{border-color:var(--bag-line);border-radius:5px;padding:10px}.painted-inventory-sheet .salvage-rarities label{min-height:36px;padding:4px;color:#e6d7b6}.painted-inventory-sheet .salvage-item{display:grid;grid-template-columns:22px 36px minmax(0,1fr);gap:8px}.painted-inventory-sheet .salvage-item:has(input:checked){border-color:#e2bf7f;background:#25506a}.painted-inventory-sheet input[type=checkbox]{width:20px;height:20px;accent-color:#4da6d1}.painted-inventory-sheet .salvage-item small{color:#c0cccd}.painted-inventory-sheet .salvage-summary{padding:12px;border:1px solid var(--bag-line);border-radius:5px;background:#102d42}.painted-inventory-sheet .warehouse-actions>button{min-height:44px;background:#183c54;color:#f2dba9;border-color:var(--bag-line)}.painted-inventory-sheet .chest-reward>.portrait{display:block;margin:18px auto 10px}.painted-inventory-sheet :is(.chest-opening h3,.chest-reward h3){color:#ffe6ae;font:700 29px/1.1 Cormorant Garamond,Georgia,serif}.painted-inventory-sheet :is(.ritual-status,.ritual-description){color:#d2d8cc}@media(max-width:350px){.ruby-game-shell .painted-inventory :is(.equipment-panel,.bag-panel,.pending-rewards){padding:7px}.painted-inventory .equipment-grid{gap:3px}.painted-inventory .equipment-slot small{font-size:8px}.painted-inventory .inventory-filters button{font-size:10px}.painted-inventory .bag-search-row{grid-template-columns:minmax(0,1fr)}.painted-inventory .filter-toggle{justify-content:center}.painted-inventory .bag-sort{display:grid}.painted-inventory .bag-sort select{max-width:100%;width:100%}body .sheet.painted-inventory-sheet{padding:8px 8px max(8px,env(safe-area-inset-bottom,0px),var(--telegram-safe-bottom, 0px));border-width:12px;border-image-width:12px}.painted-inventory-sheet .item-comparison :is(th,td){font-size:10px}body .sheet.painted-inventory-sheet .sheet-fixed-footer :is(.primary-button,.secondary-button){font-size:17px;padding-inline:9px}}.painted-hero,.painted-hero-sheet,.painted-public-profile{--hero-frame: url(/art/settings/panel-v1.webp);--hero-blue: url(/art/interface/tabletop-blue-v1.webp);--hero-red: url(/art/interface/tabletop-red-v1.webp);--hero-fill: linear-gradient(145deg, #183b51ee, #0c2438f5);--hero-line: #c09a5b70;--hero-cream: #ffebc5;--hero-muted: #c2cdd0}.hero-profile-shell .ruby-hero.painted-hero,.painted-public-profile .ruby-hero.painted-hero{min-height:520px}.painted-hero .hero-full-figure.hero-painted-scene{display:block;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;filter:none}body .portrait.portrait-raven{border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;overflow:visible!important}body .portrait.portrait-raven>img{object-fit:contain;border-radius:0}.active-effects button img[src*="/art/companions/"]{border-radius:0;object-fit:contain}.painted-hero .hero-scene-shade{background:linear-gradient(180deg,transparent 25%,#07172b08 48%,#07172b4a 67%,#07172bea 92%)}.ruby-hero.painted-hero .ruby-identity :is(h1,h2){min-height:46px;max-width:100%;padding:8px 30px;border:0;border-radius:0;background:var(--hero-blue) center/100% 100% no-repeat;color:#ffedc4;font:700 clamp(24px,6.5vw,29px)/1.05 "Cormorant Garamond",Georgia,serif;text-shadow:0 2px 2px #06172b;box-shadow:0 2px 5px #0006}.painted-hero .hero-identity-meta{color:#fff0ce;gap:8px}.ruby-hero.painted-hero .ruby-identity :is(h1,h2)[data-compact-name]{font-size:clamp(17px,5.4vw,22px);letter-spacing:-.15px}.painted-hero .hero-identity-context{color:#d0d9d6}.painted-hero .hero-clan-seal{background:#112c40b8;border-color:#b694594d}.ruby-hero.painted-hero .hero-section-title{height:34px}.ruby-hero.painted-hero .hero-points{padding:5px 8px;background:#12344be8;border-color:#d0ac67;color:#ffe7ac}.ruby-hero.painted-hero .hero-sources-button{width:36px;height:34px;border:0;border-radius:0;border-image:var(--hero-frame) 18% fill / 6px / 0 stretch;background:none;color:#ffdfa1}.ruby-hero.painted-hero .hero-stat-cards{gap:6px}.ruby-hero.painted-hero .hero-stat-card{position:relative;min-height:62px;height:62px;padding:5px;border:5px solid transparent;border-radius:0;border-image:var(--hero-frame) 18% fill / 5px / 0 stretch;background:var(--hero-fill);box-shadow:0 2px 4px #0006}:is(.hero-profile-shell,.painted-public-profile) .ruby-hero.painted-hero .hero-stat-card .hero-stat-read{grid-template-columns:19px minmax(0,1fr);gap:4px;min-height:42px}:is(.hero-profile-shell,.painted-public-profile) .ruby-hero.painted-hero .hero-stat-read .stat-art{width:19px;height:23px}:is(.hero-profile-shell,.painted-public-profile) .ruby-hero.painted-hero .hero-stat-read small{width:100%;color:#d7daca;font-size:9px;white-space:normal;line-height:1.15}:is(.hero-profile-shell,.painted-public-profile) .ruby-hero.painted-hero .hero-stat-read strong{color:#fff0cc;font-size:18px}.hero-profile-shell .ruby-hero.painted-hero .hero-stat-card:has(.hero-stat-add) .hero-stat-read strong{padding-right:22px}.hero-profile-shell .ruby-hero.painted-hero .hero-stat-card .hero-stat-add{position:absolute;inset:auto 0 0 auto;width:34px;height:34px;margin:0;color:#fff1cb}.hero-profile-shell .ruby-hero.painted-hero .hero-stat-card .hero-stat-add:before{width:24px;height:24px;border:1px solid #d4b271;border-radius:4px;background:linear-gradient(#3978a3,#164262)}.ruby-hero.painted-hero .hero-stat-cap{color:#d0d9d5}.painted-hero .hero-gear-frame b{border:1px solid #ac9059;color:#ffe0a1}body .sheet.page-sheet.painted-public-profile>.section-heading{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:8px;flex-basis:auto;height:auto;min-height:68px;padding:9px 12px;background:#0a2338dc;border-bottom-color:var(--hero-line)}body .sheet.painted-public-profile>.section-heading h2{display:grid;place-items:center;min-height:50px;width:100%;padding:8px 16px;background:var(--hero-blue) center/100% 100% no-repeat;color:#ffebc3;font:700 27px/1.05 Cormorant Garamond,Georgia,serif}.painted-public-profile>.section-heading .icon-button{border:0;border-radius:0;border-image:var(--hero-frame) 18% fill / 7px / 0 stretch;background:none;color:#ffe2aa}body .sheet.painted-public-profile>.sheet-fixed-footer{background:#0b2438f5;border-top:5px solid transparent;border-image:var(--hero-frame) 18% / 5px 0 0 / 0 stretch;max-height:40%;overflow-y:auto}.painted-public-profile .profile-actions>.profile-action{min-height:52px;height:auto;padding:10px 15px;border:0;border-radius:0;background:var(--hero-blue) center/100% 100% no-repeat;color:#ffe9bb;font:700 19px/1.1 Cormorant Garamond,Georgia,serif}.painted-public-profile .profile-actions>.profile-moderation-button{background-image:var(--hero-red)}.painted-public-profile .public-profile-joined{color:#d5dad2}.painted-public-profile .public-army{padding:10px;border:7px solid transparent;border-radius:0;border-image:var(--hero-frame) 18% fill / 7px / 0 stretch;background:var(--hero-fill)}.painted-public-profile .public-army .army-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.painted-public-profile .public-army .army-slot{min-width:0;padding:8px 2px;border-color:var(--hero-line);background:#0c263b;border-radius:4px}.painted-public-profile .public-army .portrait-unit{width:60px;height:60px}.painted-public-profile .public-army .slot-unit-name{font-size:11px!important;color:#e7dac2;white-space:normal;overflow-wrap:anywhere}body .sheet.painted-hero-sheet{padding:12px 12px max(12px,env(safe-area-inset-bottom,0px),var(--telegram-safe-bottom, 0px));background:linear-gradient(#0b2438e8,#0c263aef),url(/art/settings/desk-v1.webp) center/cover}body .sheet.painted-hero-sheet,body .sheet.painted-hero-sheet.sheet-with-footer{max-height:min(88dvh,calc(var(--telegram-viewport-height, 100dvh) - max(env(safe-area-inset-top,0px),var(--telegram-safe-top, 0px)) - 8px))}.sheet-backdrop.centered-backdrop:has(.painted-hero-sheet){padding-top:max(8px,env(safe-area-inset-top,0px),var(--telegram-safe-top, 0px));padding-bottom:max(8px,env(safe-area-inset-bottom,0px),var(--telegram-safe-bottom, 0px))}body .sheet.painted-hero-sheet.centered-dialog{max-height:min(88dvh,calc(var(--telegram-viewport-height, 100dvh) - max(env(safe-area-inset-top,0px),var(--telegram-safe-top, 0px)) - max(env(safe-area-inset-bottom,0px),var(--telegram-safe-bottom, 0px)) - 16px))}body .sheet.painted-hero-sheet.sheet-with-footer{height:auto}.painted-hero-sheet>.section-heading{display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:8px}body .sheet.painted-hero-sheet>.section-heading h2{margin:0;min-width:0;color:#ffe8b6;overflow-wrap:anywhere}.painted-hero-sheet>.sheet-scroll-body{flex:0 1 auto}.painted-hero-sheet>.sheet-fixed-footer{flex:0 0 auto;min-height:0;max-height:40%;overflow-y:auto;padding:10px 0 0;border-top-color:var(--hero-line);background:#0b2438}.painted-hero-sheet>.sheet-fixed-footer:not(:has(button)){display:none}.painted-hero-sheet :is(.help-inline,.muted,.inventory-hint){color:var(--hero-muted)}.painted-hero-sheet .hero-stat-explanation{text-align:center}.painted-hero-sheet .hero-stat-total{color:#ffe5a7;font:700 38px/1.1 Cormorant Garamond,Georgia,serif}.painted-hero-sheet .stat-source-list{margin-top:14px;padding:10px 12px;border:7px solid transparent;border-radius:0;border-image:var(--hero-frame) 18% fill / 7px / 0 stretch;background:var(--hero-fill);text-align:left}.painted-hero-sheet .stat-source-list>div{gap:10px;padding:9px 0;border-color:var(--hero-line)}.painted-hero-sheet .stat-source-list dt{color:#d4d9d0}.painted-hero-sheet .stat-source-list dd{color:#ffe6ad;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.painted-hero-sheet .stat-source-total{color:#fff0c9}.painted-hero-sheet .hero-sources-table{padding:6px;border:1px solid var(--hero-line);border-radius:4px;background:#102e44}.painted-hero-sheet .hero-sources-table>div{grid-template-columns:1.35fr repeat(3,minmax(0,1fr));gap:5px;padding:12px 5px;border-color:#b3915650}.painted-hero-sheet .hero-sources-table>div:first-child{color:#b7d4e1}.painted-hero-sheet .hero-sources-table :is(span,b){min-width:0;overflow-wrap:anywhere}.painted-hero-sheet .hero-sources-table b{color:#ffe1a2;font-size:12px}.painted-hero-sheet .profile-gear-detail{align-items:start;gap:12px;padding:12px;border:1px solid var(--hero-line);background:#14364b;border-radius:5px}.painted-hero-sheet .profile-gear-detail>div{min-width:0}.painted-hero-sheet .profile-gear-detail strong{color:#ffebc3;font:700 25px/1.1 Cormorant Garamond,Georgia,serif;overflow-wrap:anywhere}.painted-hero-sheet .profile-gear-detail small{display:block;color:#cbd7d6;line-height:1.5}.painted-hero-sheet .daily-gift h2{color:#ffe6ae;font:700 27px/1.1 Cormorant Garamond,Georgia,serif}.painted-hero-sheet .daily-gift>.portrait{margin:15px auto}.painted-hero-sheet .daily-gift h3{color:#ffe6ae;font:700 28px/1.1 Cormorant Garamond,Georgia,serif}.painted-hero-sheet .daily-gift p{color:#d5dccf;font-size:13px;line-height:1.5}.painted-hero-sheet .daily-gift .eyebrow{color:#f1cd88}.painted-hero-sheet :is(.stack-detail,.territory-event-detail){padding:12px;border:1px solid var(--hero-line);border-radius:5px;background:#13344a}.painted-hero-sheet .stack-detail h3{color:#ffe6af}body .sheet.painted-hero-sheet .raven-plan{min-height:62px;margin:8px 0;padding:12px 22px;white-space:normal}.painted-hero-sheet.enemy-recruitment-dialog>.section-heading:not(:has(button)){display:block}.painted-hero-sheet .join-offer-price{padding:12px;border:1px solid var(--hero-line);border-radius:5px;background:#103047}.painted-hero-sheet .join-offer-price strong{color:#ffe3a2}.painted-hero-sheet .join-confirmation{border-color:#c49e5c;background:#14364c}.painted-hero-sheet :is(.join-offer-actions,.join-confirm-actions){gap:8px}.painted-hero-sheet .join-offer-actions>button,.painted-hero-sheet .join-confirm-actions>button{min-height:48px;border:0;border-radius:0;padding:10px 16px;background:var(--hero-blue) center/100% 100% no-repeat;color:#ffebc1;font:700 20px/1.1 Cormorant Garamond,Georgia,serif}.painted-hero-sheet .join-offer-actions>.recruitment-decline,.painted-hero-sheet .join-confirm-actions>.recruitment-decline{background-image:var(--hero-red)}@media(max-width:350px){.ruby-hero.painted-hero .hero-stat-card{padding:4px}:is(.hero-profile-shell,.painted-public-profile) .ruby-hero.painted-hero .hero-stat-card .hero-stat-read{grid-template-columns:16px minmax(0,1fr);gap:3px}:is(.hero-profile-shell,.painted-public-profile) .ruby-hero.painted-hero .hero-stat-read .stat-art{width:16px;height:21px}:is(.hero-profile-shell,.painted-public-profile) .ruby-hero.painted-hero .hero-stat-read strong{font-size:16px}.hero-profile-shell .ruby-hero.painted-hero .hero-stat-card .hero-stat-add{width:28px}body .sheet.painted-hero-sheet{padding:8px 8px max(8px,env(safe-area-inset-bottom,0px),var(--telegram-safe-bottom, 0px));border-width:12px;border-image-width:12px}.painted-hero-sheet .hero-sources-table{padding:3px}.painted-hero-sheet .hero-sources-table>div{padding-inline:2px;font-size:10px}.painted-public-profile .profile-actions>.profile-action{padding-inline:9px;font-size:17px}}.frontier-icon.painted-navigation-icon{background-image:none}.painted-navigation-icon>img{display:block;width:100%;height:100%;object-fit:contain}.painted-hud,.painted-nav,.painted-hud-sheet{--chrome-header: url(/art/navigation/painted-v2/slate-header-v1.webp);--chrome-frame: url(/art/navigation/painted-v2/slate-dock-v1.webp);--chrome-inset: url(/art/navigation/painted-v2/slate-inset-v1.webp);--chrome-cream: #f9ebcd;--chrome-gold: #d2ae71;--chrome-line: #b591574d}.game-shell.ruby-game-shell .hero-bar.hero-bar-ruby.painted-hud{grid-template-columns:minmax(0,1fr) clamp(146px,42vw,174px);grid-template-rows:32px 16px;gap:2px 8px;height:66px;min-height:66px;padding:8px 10px 6px;border:0;border-radius:0;border-image:none;border-bottom:2px solid #9c8157;background:#1c252b var(--chrome-header) center / auto 420% no-repeat;box-shadow:none}.painted-hud:before,.painted-hud:after{display:none}.painted-hud .hero-identity{grid-column:1;grid-row:1 / 3;gap:8px;align-items:center}.painted-hud .hero-avatar-group{position:relative;flex:0 0 48px;width:48px;height:48px}.game-shell.ruby-game-shell .painted-hud .hero-avatar-button{display:block;width:48px;height:48px;min-height:48px;border:0;border-radius:0;background:transparent;box-shadow:none}.game-shell.ruby-game-shell .painted-hud .hero-avatar-button .portrait{width:48px;height:48px;filter:drop-shadow(0 2px 3px #0009)}.painted-hud .hero-identity>span{min-width:0;display:grid;gap:0}.painted-hud .hero-name-row{min-width:0;display:block}.painted-hud .hero-name-button{display:block;min-width:0;max-width:100%;padding:0}.game-shell.ruby-game-shell .painted-hud .hero-identity strong{display:block;color:var(--chrome-cream);font:700 23px/24px Cormorant Garamond,Georgia,serif;text-shadow:0 2px 3px #000;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.game-shell.ruby-game-shell .painted-hud .hero-identity>span>small{color:#e7ddc6;font:500 11px/15px Manrope,sans-serif;text-shadow:0 1px 3px #000}.game-shell.ruby-game-shell .painted-hud .hero-mini-xp{width:100%;max-width:134px;height:11px;min-height:0;padding:2px 0 4px}.painted-hud .hero-mini-xp-track{height:5px;border:1px solid #a98b57;border-radius:3px;background:#090e12;box-shadow:0 1px 2px #0008}.painted-hud .hero-mini-xp-track>span{background:linear-gradient(#85dfff,#2583b9);box-shadow:0 0 4px #48a7dc66}.game-shell.ruby-game-shell .painted-hud .hero-mail-alert{position:absolute;inset:auto -4px -1px auto;display:grid;place-items:center;width:24px;height:24px;min-width:24px;min-height:24px;padding:3px;margin:0;border:0;border-radius:0;background:var(--chrome-inset) center / 100% 100% no-repeat;color:#f1ddb1;box-shadow:0 2px 3px #0008}.painted-hud .hero-mail-alert .painted-settings-icon{width:17px;height:17px}.painted-hud .hero-mail-alert i{position:absolute;top:-1px;right:-1px;width:6px;height:6px;border-radius:50%;background:#ed5e50;box-shadow:0 0 0 1px #20282b}.game-shell.ruby-game-shell .painted-hud .hero-resources{grid-column:2;grid-row:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;align-self:start;align-items:start;width:100%;min-width:0;margin:0}.game-shell.ruby-game-shell .painted-hud .hero-iridium{display:contents}.game-shell.ruby-game-shell .painted-hud :is(.gold,.resource-iridium){display:flex;align-items:center;justify-content:center;gap:2px;width:100%;min-width:0;height:32px;min-height:32px;margin:0;padding:0 3px;border:0;border-radius:0;background:var(--chrome-inset) center / 100% 100% no-repeat;color:#f7e8c7;clip-path:none;font:700 clamp(11px,3.2vw,13px)/1.1 Manrope,sans-serif;box-shadow:none}.game-shell.ruby-game-shell .painted-hud .hud-currency{flex:0 0 21px;width:21px;height:25px}.game-shell.ruby-game-shell .painted-hud :is(.gold,.resource-iridium)>span:last-child{min-width:0;white-space:nowrap}.game-shell.ruby-game-shell .painted-hud .hero-bar-bottom{grid-column:2;grid-row:2;margin:0;padding:0;min-height:16px;height:16px}.game-shell.ruby-game-shell .painted-hud .active-effects{gap:3px;justify-content:flex-end;align-items:center}.game-shell.ruby-game-shell .painted-hud .active-effects>button{min-height:16px;height:16px;padding:0;gap:2px;color:#e5dcc8;text-shadow:0 1px 2px #000}.game-shell.ruby-game-shell .painted-hud .active-effects>button img{width:16px;height:16px;object-fit:contain}.game-shell.ruby-game-shell .painted-hud .active-effects small{color:#e5dcc8;font-size:8px}.game-shell .frontier-nav.painted-nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:4px 10px calc(4px + max(env(safe-area-inset-bottom,0px),var(--telegram-safe-bottom, 0px)));border:0;border-radius:0;border-image:none;border-top:2px solid #9c8157;background:#1c252b var(--chrome-frame) center / auto 420% no-repeat;box-shadow:none}.game-shell .painted-nav:before{display:none}.game-shell .painted-nav .primary-navigation-button{min-height:58px;padding:1px 1px 2px;gap:0;border:0;border-radius:0;background:transparent;color:#e8dec9;font:700 16px/17px Cormorant Garamond,Georgia,serif;text-shadow:0 2px 2px #070b0d}.game-shell .painted-nav .primary-navigation-button+.primary-navigation-button:before{display:none}.game-shell .painted-nav .primary-navigation-button:is(.selected,.is-open){border:0;background:radial-gradient(ellipse at 50% 48%,#c38f3436,transparent 72%);box-shadow:none;color:#ffe1a0;text-shadow:0 1px 2px #000}.painted-nav .primary-navigation-button:is(.selected,.is-open):after{display:none}.painted-nav .navigation-symbol,.painted-nav .navigation-symbol .frontier-icon{width:38px;height:38px}.painted-nav .navigation-symbol{filter:brightness(.97)}.painted-nav .primary-navigation-button:is(.selected,.is-open) .navigation-symbol{filter:brightness(1.13) drop-shadow(0 1px 3px #b17f3355)}.painted-nav .nav-unread-dot{top:1px;right:0;width:7px;height:7px;background:#ed5b50;box-shadow:0 0 0 2px #222c30,0 1px 3px #0009}.game-shell .painted-nav .navigation-menu{right:9px;bottom:calc(100% + 5px);width:172px;padding:10px;gap:4px;border:0;border-radius:0;border-image:var(--chrome-frame) 64 100 fill / 14px / 0 stretch;background:none;box-shadow:0 5px 16px #0009;scrollbar-color:#9c8051 #202a2e}.game-shell .painted-nav .navigation-menu>button{min-height:46px;padding:3px 5px 3px 8px;gap:8px;border:0;border-radius:0;background:var(--chrome-inset) center / 100% 100% no-repeat;color:#f5e6c6;font:700 19px/1.1 Cormorant Garamond,Georgia,serif}.painted-nav .navigation-menu-symbol,.painted-nav .navigation-menu-symbol .frontier-icon{width:32px;height:32px}.painted-hud-sheet .resource-details{margin:6px 0;padding:0}.painted-hud-sheet .resource-details>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:center;gap:10px;padding:12px 8px;border-bottom:1px solid var(--chrome-line);background:#14374c88}.painted-hud-sheet .resource-details>div:nth-child(2n){background:#0b253a88}.painted-hud-sheet .resource-details dt{display:flex;align-items:center;gap:7px;min-width:0;color:#d5dbd2;font-size:12px}.painted-hud-sheet .resource-details dd{min-width:0;margin:0;text-align:right;color:#ffe6ac;font:700 18px/1.25 Manrope,sans-serif;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.painted-hud-sheet .resource-details .hud-currency{flex:0 0 24px;width:24px;height:27px}@media(max-width:350px){.game-shell.ruby-game-shell .hero-bar.hero-bar-ruby.painted-hud{padding-inline:10px;column-gap:6px}.painted-hud .hero-identity{gap:7px}.game-shell.ruby-game-shell .painted-hud .hero-identity strong{font-size:21px}.game-shell .painted-nav .primary-navigation-button{font-size:16px}}.game-shell.ruby-game-shell:has(.painted-hud){border-inline:0}.ruby-location-screen .location-title-group{display:flex;align-items:center;gap:7px;flex:1;min-width:0}.ruby-location-screen .landscape .landscape-caption{flex:0 1 auto}.ruby-location-screen .landscape{gap:7px}.ruby-location-screen .location-map-action{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;min-height:40px;padding:4px;margin-left:auto;border:1px solid #bca16b80;border-radius:0;background:#19252dda;box-shadow:0 2px 4px #0005}.location-map-action .frontier-icon{width:30px;height:30px}.hero-has-shortcuts .ruby-identity{grid-column:2;min-width:0}.hero-has-shortcuts .ruby-identity :is(h1,h2){width:100%;min-width:0;max-width:100%;padding-inline:18px}.hero-equipment-shortcuts{display:contents}.ruby-hero .hero-quick-action{grid-row:2;align-self:end;justify-self:center;display:grid;place-items:center;width:var(--gear-size);height:44px;min-height:44px;margin:0;padding:4px;border:0;border-radius:0;background:transparent;box-shadow:none;filter:drop-shadow(0 2px 3px #0008)}.hero-quick-action-army{grid-column:1}.hero-quick-action-inventory{grid-column:3}.hero-quick-action .frontier-icon{width:36px;height:36px}.game-shell.account-shell{--entry-frame: url(/art/settings/panel-v1.webp);--entry-button: url(/art/interface/tabletop-blue-v1.webp);--entry-cream: #ffebbe;--entry-muted: #c6d1dc;--entry-top: max( env(safe-area-inset-top, 0px), var(--telegram-safe-top, 0px) );--entry-bottom: max( env(safe-area-inset-bottom, 0px), var(--telegram-safe-bottom, 0px) );background:#11233b url(/art/entry/painted-castle-v1.webp) center / cover no-repeat;color:var(--entry-cream)}.account-shell:before{background:linear-gradient(#07122535,transparent 33%,#09132118 60%,#080d174d)}.account-shell .painted-entry{gap:24px;padding:calc(var(--entry-top) + 24px) 16px calc(var(--entry-bottom) + 20px)}.account-shell .legacy-brand{gap:4px}.account-shell .legacy-brand-seal,.account-shell .legacy-brand-seal>.frontier-icon{width:64px;height:64px}.account-shell .legacy-brand :is(h1,p){color:#ffe1a0;text-shadow:0 2px #513114,0 3px 3px #080d19,0 0 15px #061022b3}.account-shell .legacy-brand-title{font-size:clamp(49px,15vw,65px);letter-spacing:2px}.account-shell .legacy-brand-subtitle{margin-top:4px;font-size:clamp(19px,5.8vw,25px);letter-spacing:4px}.account-shell .legacy-brand-rule{margin-top:2px}.account-shell .legacy-tagline{margin-top:9px;padding:0;border:0;background:none;color:#ffedcf;font-size:11px;line-height:17px;text-shadow:0 1px 3px #07111e,0 2px 5px #07111e}.account-shell :is(.legacy-entry-card,.creation-race-card,.telegram-approval-card){min-width:0;border:14px solid transparent;border-radius:0;border-image:var(--entry-frame) 18% fill / 14px / 0 stretch;background:#0b233bf2;box-shadow:0 6px 14px #02071180;-webkit-backdrop-filter:none;backdrop-filter:none}.account-shell .legacy-entry-card{padding:12px 9px 10px}.account-shell .guest-welcome{gap:10px}.account-shell .guest-welcome h2,.account-shell .legacy-login-form h2{margin:0 0 2px;color:var(--entry-cream);font:700 clamp(25px,7.3vw,31px)/1.05 "Cormorant Garamond",Georgia,serif;text-shadow:0 2px 2px #020b17}.account-shell .guest-welcome>p{margin:0 0 3px;color:var(--entry-muted);font:400 12px/18px Manrope,sans-serif}.account-shell :is(.painted-entry,.painted-creation,.startup-screen) .primary-button,.account-shell .telegram-approval-card .primary-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:54px;margin:0;padding:10px 20px;border:0;border-radius:0;background:var(--entry-button) center / 100% 100% no-repeat;box-shadow:none;color:var(--entry-cream);font:700 26px/1.1 Cormorant Garamond,Georgia,serif;text-shadow:0 2px 2px #061024}.account-shell :is(.guest-login-button,.telegram-login-button){min-height:44px;margin:0;padding:9px 12px;border:1px solid #849bac8c;border-radius:4px;background:linear-gradient(#173b55,#0d263c);box-shadow:inset 0 1px #b7d6e518,0 2px 4px #020b1766;color:#f4e7cb;font:600 13px/20px Manrope,sans-serif}.account-shell .guest-welcome .guest-login-button{background:linear-gradient(#173b55,#0d263c);border-color:#849bac8c;box-shadow:inset 0 1px #b7d6e518}.account-shell .painted-entry .telegram-login-button{margin-top:12px;border-color:#648ea180;background:#11344b;font-size:12px}.account-shell .telegram-login-button>svg{color:#a5e1ff}.account-shell .guest-welcome .account-note,.account-shell .account-note{margin:0;color:#b7c6d2;font:400 10px/15px Manrope,sans-serif}.account-shell .legacy-entry-login .legacy-brand-seal,.account-shell .legacy-entry-login .legacy-brand-seal>.frontier-icon{width:44px;height:44px}.account-shell .legacy-entry-login .legacy-brand-title{font-size:49px}.account-shell .legacy-entry-login .legacy-brand-subtitle{font-size:19px}.account-shell .legacy-login-form{gap:11px}.account-shell .legacy-login-form h2{margin-bottom:5px}.account-shell .legacy-login-form label,.account-shell .painted-creation form>label{display:flex;flex-direction:column;gap:5px;color:#e2dbca;font-size:12px}.account-shell input:not([type=radio]){min-height:46px;border:1px solid #7692aa9c;border-radius:4px;background:#071a2deb;box-shadow:inset 0 2px 4px #0005;color:#fff0d3;font:400 16px/22px Manrope,sans-serif}.account-shell input::placeholder{color:#9dabb9;font-size:14px}.account-shell .legacy-login-form>.text-button,.account-shell .painted-creation>.text-button{min-height:44px;padding:8px;color:#d1dbe4;font-size:12px}.account-shell .painted-creation{padding:calc(var(--entry-top) + 14px) 16px calc(var(--entry-bottom) + 12px);background:linear-gradient(#091a335c,#091c336b)}.account-shell .legacy-brand.is-compact{margin-bottom:16px}.account-shell .legacy-brand.is-compact .legacy-brand-seal,.account-shell .legacy-brand.is-compact .frontier-icon{width:38px;height:38px}.account-shell .legacy-brand.is-compact .legacy-brand-title{font-size:30px}.account-shell .legacy-brand.is-compact .legacy-brand-subtitle{margin-top:3px;font-size:12px;letter-spacing:3px}.account-shell .painted-creation .account-heading{display:block;margin:0 0 15px;text-align:center}.account-shell .painted-creation .account-emblem{display:none}.account-shell .painted-creation .account-heading h1{color:var(--entry-cream);font:700 32px/1.05 Cormorant Garamond,Georgia,serif;text-shadow:0 2px 3px #071023}.account-shell .painted-creation .account-heading p{margin:6px auto 0;max-width:32ch;color:#e0dfd6;font-size:11px;line-height:17px}.account-shell .painted-creation form{display:flex;flex-direction:column;gap:15px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}.account-shell .painted-creation fieldset{min-width:0;margin:0}.account-shell .painted-creation legend{color:#e6dcc7;font-size:12px}.account-shell .painted-creation .create-races{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 8px}.account-shell .painted-creation .create-races label{position:relative;display:flex;flex:0 0 calc((100% - 24px)/4);flex-direction:column;align-items:center;justify-content:flex-start;gap:5px;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:#e2dccd}.account-shell .painted-creation .create-races input{position:absolute;z-index:1;inset:0;width:100%;height:100%;margin:0;opacity:0;overflow:visible;clip-path:none;cursor:pointer}.account-shell .painted-creation .create-races .portrait{flex:none;width:min(100%,74px);height:auto}.account-shell .painted-creation .create-races label>span:not(.portrait){display:grid;place-items:start center;min-height:28px;color:inherit;font-size:11px;line-height:14px;text-align:center;text-shadow:0 1px 3px #020b17}.account-shell .painted-creation .create-races .chosen{border:0;background:none;box-shadow:none;color:#ffe4a0}.account-shell .painted-creation .create-races .chosen img{filter:drop-shadow(0 0 3px #ffe27a) drop-shadow(0 0 1px #f8cc51)}.account-shell .painted-creation .create-races label:has(input:focus-visible){outline:2px solid #f4d18a;outline-offset:3px}.account-shell .creation-race-card{padding:7px 7px 5px}.account-shell .painted-creation .race-description{display:grid;grid-template-columns:minmax(0,1fr) 80px;gap:7px 12px;margin:0 0 12px;padding:0;border:0;border-radius:0;background:none}.account-shell .painted-creation .race-art-title{display:contents}.account-shell .painted-creation .race-art-title .portrait{grid-column:2;grid-row:1 / 3;align-self:start;width:80px;height:80px;margin:0}.account-shell .painted-creation .race-art-title h2{grid-column:1;grid-row:1;margin:0;color:var(--entry-cream);font:700 27px/1 Cormorant Garamond,Georgia,serif}.account-shell .painted-creation .race-description>p{grid-column:1;margin:0;color:#c4d1dc;font-size:12px;line-height:17px}.account-shell .painted-creation .race-description>strong{grid-column:1 / -1;display:block;margin-top:3px;padding-top:9px;border-top:1px solid #bea36a40;color:#f2deb1;font-size:12px;font-weight:500;line-height:17px}.account-shell .painted-creation .race-description>small{grid-column:1 / -1;color:#aebfcd;font-size:11px;line-height:16px}.account-shell .painted-creation>.text-button{display:block;margin:7px auto 0}.account-shell .telegram-approval-screen{min-height:100%;padding:calc(var(--entry-top) + 20px) 16px calc(var(--entry-bottom) + 20px)}.account-shell .telegram-approval-card{padding:22px 16px;color:var(--entry-cream)}.account-shell .telegram-approval-emblem{border-radius:8px;border-color:#b19a68;background:linear-gradient(#234e70,#0c233a);color:#b0e7ff}.account-shell .telegram-approval-card :is(p,small){color:#c5d2df}.account-shell .telegram-approval-card h1{color:var(--entry-cream)}.account-shell .startup-screen{background:#081b334d}.account-shell .startup-emblem{border-color:#a58c58;background:#173e58;color:#ffdfa2}.account-shell .api-error{position:relative;z-index:2;margin:calc(var(--entry-top) + 10px) 16px 0;padding:12px;border:1px solid #cb8e65;border-radius:5px;background:#45272def;color:#ffe2ca}.account-shell:has(>.api-error) .painted-entry,.account-shell:has(>.api-error) .painted-creation{min-height:calc(100% - 90px - var(--entry-top));padding-top:16px}body:has(.account-shell) .sheet.telegram-connection-sheet{border:9px solid transparent;border-radius:0;border-image:url(/art/settings/panel-v1.webp) 18% fill / 9px / 0 stretch;background:#0b233b;color:#ffebbe}body:has(.account-shell) .telegram-connect-heading>span{border-radius:8px;border-color:#a58c58;background:#173e58;color:#b0e7ff}body:has(.account-shell) .telegram-connect-heading strong{color:#ffebbe}body:has(.account-shell) .telegram-connection-sheet :is(p,small){color:#c4d2df}body:has(.account-shell) .telegram-login-code{border-radius:5px;border-color:#8ca9ba80;background:#081b2c;color:#ffe4a8}body:has(.account-shell) .telegram-connection-sheet .primary-button{min-height:50px;border:0;border-radius:0;background:url(/art/interface/tabletop-blue-v1.webp) center / 100% 100% no-repeat;color:#ffebbe}@media(max-height:700px){.account-shell .painted-entry{gap:20px;padding-top:calc(var(--entry-top) + 16px);padding-bottom:calc(var(--entry-bottom) + 14px)}.account-shell .legacy-brand-seal,.account-shell .legacy-brand-seal>.frontier-icon{width:44px;height:44px}.account-shell .legacy-brand-title{font-size:49px}.account-shell .legacy-brand-subtitle{font-size:19px}.account-shell .legacy-entry-card{padding:13px 12px 11px}}.world-shell>.world-main{container-type:size;container-name:world-area}.painted-world{--world-frame: url(/art/settings/panel-v1.webp);--world-blue: url(/art/interface/tabletop-blue-v1.webp);--world-cream: #ffebc5;--world-quiet: #bccbda;--world-line: #bd9c6159}.painted-world .world-scene{flex-basis:180px;min-height:180px}.ruby-location-screen.painted-world .location-map-action{border-color:#bfa16e91;border-radius:3px;background:linear-gradient(#173a53e8,#0b243be8);box-shadow:inset 0 1px #f0d4a315,0 2px 4px #0004}.painted-world .territory-event{background:linear-gradient(90deg,#123b59f2,#0c263de8);border-color:#be9c6680}.painted-world .world-discoveries .encounter{background:linear-gradient(#16364ce8,#0b2339ed);border-color:#b49a666b}.ruby-location-screen.painted-world .world-services{display:flex;flex-direction:column;align-items:stretch;gap:8px;bottom:6px}.painted-world .world-quest{flex:0 0 auto;width:100%}.ruby-location-screen.painted-world .world-services .quest-entry{min-height:64px;height:auto;gap:9px;padding:4px 8px 4px 4px;border:6px solid transparent;border-radius:0;border-image:var(--world-frame) 18% fill / 6px / 0 stretch;background:#0d263bf2;box-shadow:0 2px 5px #0006}.painted-world .world-services .quest-entry .portrait{flex:0 0 44px;width:44px;height:44px}.ruby-location-screen.painted-world .world-services .quest-entry strong{font:700 21px/1.05 Cormorant Garamond,Georgia,serif;color:var(--world-cream)}.painted-world .world-services .quest-entry small{display:block;margin-top:4px;color:var(--world-quiet);font:500 11px/15px Manrope,sans-serif}.painted-world .world-services .quest-entry>b{flex:0 0 16px;color:#e8c07b;font-size:22px}.painted-world .world-services .quest-entry.quest-ready{box-shadow:0 0 7px #e5c27545}.painted-world .world-services .quest-entry.quest-ready small{color:#ffe3a1}.painted-world .world-quick-services{position:static;display:flex;align-self:flex-end;align-items:start;gap:8px;margin:0}.painted-world-service-icon{width:44px;height:44px;border:0;border-radius:0;background:none;box-shadow:none}.painted-world-service-icon .world-service-art{display:block;width:100%;height:100%;object-fit:contain;background:none;filter:drop-shadow(0 2px 2px #0009)}.ruby-location-screen.painted-world :is(.world-services .world-service-icon,.world-nearby .nearby-entry){display:flex;flex:0 0 auto;flex-direction:column;align-items:center;justify-content:start;gap:2px;width:56px;height:62px;min-height:44px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}.painted-world .world-service-caption{font:600 10px/14px Manrope,sans-serif;color:#fff0d2;text-shadow:0 1px 3px #000,0 1px 6px #000}.ruby-location-screen.painted-world .world-nearby{flex:0 0 auto;width:56px;height:62px}.painted-world .world-journal>i{top:2px;right:6px}.ruby-location-screen.painted-world .encounters{max-height:clamp(148px,31cqh,208px);padding-bottom:7px}.painted-world .encounters>.section-heading{gap:8px;min-height:31px;margin-bottom:5px}.painted-world .encounters>.section-heading h2{font:700 25px/1 Cormorant Garamond,Georgia,serif}.painted-world .encounters>.section-heading>.tiny{padding:3px 5px;border-radius:3px;background:#0a2135c4;font:400 10px/14px Manrope,sans-serif;color:#d0dce4;text-shadow:0 1px 2px #000;text-align:right}.painted-world .encounter-list{gap:7px;padding:1px 2px 3px 0;scrollbar-color:#ad925f80 #0b213575}.ruby-location-screen.painted-world .encounter.enemy{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:78px;border:1px solid #b3945c82;border-radius:3px;background:linear-gradient(115deg,#15364bf5,#0a2035f5);box-shadow:inset 0 1px #f4d5a00d,0 2px 5px #0005}.ruby-location-screen.painted-world .enemy-inspect{display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:9px;min-width:0;min-height:76px;width:100%;padding:7px 0 7px 7px;text-align:left}.painted-world .enemy-inspect>.portrait{width:54px;height:54px}.painted-world .enemy-inspect>.portrait img{padding:0}.ruby-location-screen.painted-world .encounter.enemy .encounter-info strong{display:block;margin:0 0 3px;font:700 21px/1.05 Cormorant Garamond,Georgia,serif;color:var(--world-cream);white-space:normal;overflow-wrap:anywhere}.painted-world .encounter.enemy .encounter-info .unit-count{color:#ffe6b0;font:700 12px/16px Manrope,sans-serif}.ruby-location-screen.painted-world .encounter.enemy small{color:var(--world-quiet);font:400 10px/15px Manrope,sans-serif}.ruby-location-screen.painted-world .encounter.enemy small+small{display:block;margin-top:3px;color:#c0cbd1;font-size:10px;line-height:14px}.ruby-location-screen.painted-world .encounter-attack{position:static;align-self:center;width:84px;min-height:44px;margin:0 6px;padding:8px 4px;border:0;border-radius:0;transform:none;background:var(--world-blue) center / 100% 100% no-repeat;box-shadow:none;color:var(--world-cream);font:700 17px/20px Cormorant Garamond,Georgia,serif;text-shadow:0 1px 2px #041125}.painted-world .encounter-attack:disabled{opacity:.5}.painted-world .empty-message{padding:12px;border:1px solid var(--world-line);border-radius:3px;background:#0b263ce8;color:var(--world-quiet)}.game-shell .painted-nav .navigation-menu{right:8px;bottom:calc(100% + 6px);width:188px;padding:6px;gap:0;border:10px solid transparent;border-radius:0;border-image:url(/art/settings/panel-v1.webp) 18% fill / 10px / 0 stretch;background:#0d263b;box-shadow:0 5px 18px #0009;-webkit-backdrop-filter:none;backdrop-filter:none}.game-shell .painted-nav .navigation-menu>button{justify-content:space-between;min-height:48px;padding:5px 6px;gap:10px;border:0;border-bottom:1px solid #a5bfdc26;border-radius:0;background:none;box-shadow:none;font-size:20px;color:#f8e8c8}.game-shell .painted-nav .navigation-menu>button:last-child{border-bottom:0}.painted-nav .navigation-menu-label{flex:1;text-align:left}.game-shell .painted-nav .navigation-menu>button:is(:hover,:focus-visible){background:#264c6c85;outline-offset:-2px}body:has(.ruby-game-shell) .sheet.painted-world-sheet .nearby-list>button{grid-template-columns:40px minmax(0,1fr) 18px;min-height:64px;border:1px solid #bb9a5b57;border-radius:3px;background:#102e46}body:has(.ruby-game-shell) .sheet.painted-world-sheet .nearby-list strong{color:#ffebc5;font:600 14px/19px Manrope,sans-serif;overflow-wrap:anywhere}body:has(.ruby-game-shell) .sheet.painted-world-sheet .nearby-list .portrait{width:40px;height:40px}.painted-world-sheet .nearby-list small{color:#b6c7d6;font-size:11px}@container world-area (min-height: 580px){.painted-world .world-quick-services{position:absolute;right:0;bottom:calc(100% + 10px);display:grid;gap:8px}}@container world-area (max-height: 470px){.painted-world .world-scene{flex-basis:160px;min-height:160px}.ruby-location-screen.painted-world .world-services .quest-entry{min-height:58px}.ruby-location-screen.painted-world :is(.world-services .world-service-icon,.world-nearby .nearby-entry),.ruby-location-screen.painted-world .world-nearby{height:54px}.painted-world-service-icon{width:38px;height:38px}}
