/* Külyurt105 — shared Ottoman palette and readable action hierarchy */


:root{--u105-panel:#172e2b;--u105-raised:#24423b;--u105-line:#a88c55;--u105-text:#f4ead4;--u105-muted:#c4c5ae;--u105-gold:#edc870}


#sheets .sheet{background:linear-gradient(145deg,#263e35,#172e2b)!important;color:var(--u105-text)!important;border-color:#a88c5580!important;box-shadow:0 16px 60px #07110f99!important}


#sheets .sheet-head{background:linear-gradient(#344a3d,#25382e)!important;border-bottom:1px solid #b3965c88}


#sheets .card,#sheets .shop-card,#sheets .gem-pack{background:linear-gradient(145deg,#314a3d,#20392f)!important;border:1px solid #a88c5555!important;box-shadow:0 3px 10px #07110f33!important;color:var(--u105-text)!important}


#sheets .btn,#sheets button{min-height:44px;font-size:13px;line-height:1.3}


#sheets .btn.primary,#sheets button.primary{background:linear-gradient(#f5d989,#c59643)!important;border-color:#eed28a!important;color:#352611!important;box-shadow:inset 0 1px #fff5c2,0 3px 7px #0003!important}


#sheets button.ghost,#sheets .seg>button:not(.primary):not(.on){background:#294438!important;color:#ede3c9!important;border-color:#ae97614d!important}


#sheets .seg>button.on,#sheets .seg>button.primary{background:linear-gradient(#eed38a,#c69c4b)!important;color:#332813!important}


#sheets .muted,#sheets .small.muted{color:#c3c6b3!important}#sheets .gem-n{color:#f4e7bb!important}#sheets .shop-head{background:#23443c!important;border-color:#9aaf8b77!important;box-shadow:none!important}


#sheets .gem-pack .btn,#sheets .gem-pack a{background:linear-gradient(#e5ce90,#b99551)!important;color:#302716!important}


#sheets button:disabled{filter:saturate(.2);opacity:.53;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #e8c778;outline-offset:3px}


#sheets .sheet-body{font-size:14px;line-height:1.5}#sheets .sheet-body>.seg{position:sticky;top:-1px;z-index:4;padding:8px 0;background:#20382f;gap:5px;flex-wrap:wrap}


#sheets .sheet-body>.seg>button{font-size:12px!important;min-height:42px;flex:1}


#hud .nav .lbl{font-size:12px!important;line-height:1.2}#hud .nav button{min-height:54px}.bag105{position:fixed;left:12px;bottom:100px;z-index:20;display:flex;gap:6px;align-items:center;min-height:44px;border:1px solid #b49b65;border-radius:14px;padding:8px 12px;background:linear-gradient(#40533d,#263e32);color:#f3e6be;box-shadow:0 3px 12px #0004;font-size:13px}.bag105 .ic{width:23px;height:23px}


.inventory105{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px}.inventory-tile105{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:125px!important;background:#294437!important;border:1px solid #a88c5566;border-radius:15px;padding:14px;color:#f4ead4}.inventory-tile105 .ic{width:38px;height:38px}


#sheets .pass87{display:grid!important;grid-template-columns:1fr 1fr;gap:10px}#sheets .pass-tier87{grid-column:1/-1;padding:12px;border-bottom:1px solid #ad925c66;color:#f4d995;font-weight:bold}#sheets .pass87 .card{min-width:0}#sheets .vip-grid87{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}


#sheets .profile87{background:radial-gradient(ellipse at 50% 30%,#688574,#253c32 70%)!important}.profile87 canvas{filter:drop-shadow(0 12px 10px #07110f66)}.profile-choice97{padding:12px;border:1px solid #b49b654d;border-radius:12px;background:#1b302a}.profile-hero97{min-height:44px;font-size:14px}


#sheets .troop-card .stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}#sheets .tier-strip{max-width:100%;overflow:auto;scrollbar-color:#a88c55 #1b302a}#sheets .troop-card>.primary{position:sticky;bottom:0;z-index:3;min-height:50px;width:100%;box-shadow:0 -8px 16px #142a24!important}


button{transition:transform .12s ease,filter .15s ease}button:active:not(:disabled){transform:translateY(1px) scale(.98)}.sheet-wrap.in .sheet{animation:sheet105 .18s ease-out}@keyframes sheet105{from{opacity:.6;transform:translateY(12px)}to{opacity:1;transform:none}}


.intro .sky{overflow:hidden}.intro .sky svg.cinema105{width:100%;height:100%;position:absolute;inset:0}.cinema105 .caravan105{animation:arrive105 14s linear infinite}.cinema105 .stream105{stroke-dasharray:12 9;animation:water105 1.6s linear infinite}.cinema105 .village105{transform-box:fill-box;transform-origin:50% 100%;animation:build105 2.4s ease-out both}.cinema105 .glow105{animation:glow105 3s ease-in-out infinite alternate}.cinema-label105{position:absolute;top:8%;left:8%;color:#ead6a2;font-size:12px;letter-spacing:3px;text-transform:uppercase}.intro .story{font-size:clamp(17px,2.8vw,25px);line-height:1.65}.intro .panel{background:linear-gradient(transparent,#11231fd9 35%);border-radius:18px;padding:22px}


@keyframes arrive105{from{transform:translateX(-170px)}to{transform:translateX(700px)}}@keyframes water105{to{stroke-dashoffset:-42}}@keyframes build105{from{opacity:0;transform:scaleY(.2)}to{opacity:1;transform:scaleY(1)}}@keyframes glow105{to{opacity:.6}}@media(max-width:600px){#sheets .sheet{border-radius:20px 20px 0 0}.bag105{left:8px;bottom:90px;padding:7px 9px}.bag105 span:not(.ic){font-size:12px}#sheets .sheet-body{padding:14px}.res-strip .res-chip{min-height:38px}.profile87 canvas{max-height:310px}.intro .panel{padding:16px}}


@media(prefers-reduced-motion:reduce){.cinema105 *,.sheet-wrap.in .sheet{animation:none!important}button{transition:none}}





.troop-stats105 summary{min-height:44px;padding:12px;cursor:pointer;color:#dfc68e}.troop-stats105{background:#1a3229;border:1px solid #ad925c44;border-radius:10px;padding:0 8px}.quick87{display:flex;flex-wrap:wrap;gap:6px}.quick87 button{flex:1;min-width:100px}





.security105{padding:14px;border:1px solid #a88c5555;border-radius:12px;background:#182e27}.security105 summary{min-height:44px;cursor:pointer;font-weight:bold}.profile-equip105{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;width:100%;padding:10px}.profile-equip105>b{grid-column:1/-1}.profile-equip105 button{min-width:0}





.cinema-real105{position:absolute;inset:0;width:100%;height:100%;z-index:1}.cinema-ready105 .cinema105{opacity:0;transition:opacity .5s}.cinema-label105{z-index:2}.intro .sky>canvas:not(.cinema-real105){z-index:2;pointer-events:none}





.world105{position:fixed;right:12px;bottom:92px;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:58px;height:64px;border:1px solid #c9b677;border-radius:20px;background:radial-gradient(ellipse at 35% 20%,#618477,#233f35);color:#f3e6c4;box-shadow:0 5px 15px #0005;font-size:12px}.world105 .ic{width:30px;height:30px}#hud .nav>button{flex:1!important;width:auto!important;max-width:none!important}#hud .nav{padding-right:4px!important;gap:0!important}


.intro .sky{z-index:0;pointer-events:none}.intro .panel{position:relative;z-index:3}.intro .cinema-label105{z-index:2}





.roster105 summary{min-height:48px;display:list-item;padding:12px;border:1px solid #b49b6555;border-radius:12px;background:#294438;cursor:pointer;font-weight:bold;color:#ebd399}.roster105 .hero-grid{padding-top:10px}.sheet-body>[hidden]{display:none!important}.enemy-row .e{min-width:0}.enemy-row .enemy-class .ic{width:18px;height:18px}





.gear-icon105{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border:1px solid #aa9564;border-radius:10px;background:radial-gradient(#567064,#273e34);box-shadow:inset 0 0 10px #0003}.gear-icon105 svg{width:40px;height:40px}.gear-icon105.tier-2{border-color:#7eabcc}.gear-icon105.tier-3{border-color:#b791c9}.gear-icon105.tier-4{border-color:#e2bd6e}.gear-orbit87 button,.profile-equip105 button{display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;font-size:12px!important;padding:8px!important;min-height:90px!important}.gear-orbit87{gap:7px!important}





.tiers105 summary{min-height:44px;padding:12px;border-radius:12px;border:1px solid #af955c77;background:#294437;cursor:pointer;font-weight:bold}.tiers105 .tier-strip{padding-top:10px}.sheet-body[data-page="explore"]>.card:last-child>.primary{position:sticky;bottom:0;z-index:3;min-height:50px}.sheet-body[data-page="troops"] .troop-art{min-height:180px}





.lvbadge.quiet105{background:transparent!important;border:none!important;box-shadow:none!important;padding:0!important}.lvbadge.quiet105>span{display:none!important}





/*106: dialogue presentation*/


.speaker106{display:flex;align-items:center;gap:12px;margin:0 0 14px;font-family:system-ui,sans-serif;text-align:left}.speaker106 .por{flex:0 0 54px;width:54px;height:54px;border-radius:50%;border:2px solid #c5a86d;overflow:hidden;background:#243e35}.speaker106 b{display:block;font-size:17px;color:#f0d391}.speaker106 span{display:block;font-size:12px;color:#c1cbbb;margin-top:3px}.speaker106 small{margin-left:auto;color:#b7c2b4;font-size:12px;white-space:nowrap}.dialogue-text106{margin:0;font-size:clamp(16px,2vw,22px);line-height:1.6}.intro .panel{background:linear-gradient(145deg,#142d25ed,#223b30e8);border:1px solid #b59a5c66;box-shadow:0 16px 45px #06120d55;max-width:640px}.intro .story{font-size:20px;line-height:1.65;min-height:0}.intro .btn:not(.primary){background:#2a4739;color:#ecdfba;border:1px solid #9e8e61}.intro .dots{gap:6px}.intro .dots i{width:6px;height:6px}@media(max-width:600px){.intro .panel{padding:17px 16px;max-width:100%}.intro .story{font-size:16px}.speaker106{margin-bottom:10px}.speaker106 .por{width:44px;height:44px;flex-basis:44px}.speaker106 b{font-size:15px}.speaker106 .por svg{width:44px;height:44px}.intro .row{flex-wrap:wrap}.intro .row .btn{min-height:44px;padding:10px 14px}.intro .panel>.story{max-height:34dvh;overflow-y:auto}}





/* UI108: reserved HUD lanes, shared map dock, legible city actions. */


#hud{--rail-top108:calc(124px + env(safe-area-inset-top));--nav-height108:74px;--dock-space108:294px;}


#hud .topbar .avatar{width:52px;height:52px;flex-shrink:0;}


#hud .topbar .res-chip{min-height:40px;}


#hud .topbar .res-chip .v{font-size:13px;}#hud .topbar .res-chip .s{font-size:10px;}


#hud .topbar .who .nm{font-size:15px;}


#hud .hud-left108{position:absolute;left:8px;top:var(--rail-top108);display:flex;flex-direction:column;gap:12px;max-height:calc(100dvh - var(--rail-top108) - 180px - env(safe-area-inset-bottom));max-width:min(252px,calc(100vw - 100px));pointer-events:none;}


#hud .hud-left108 .side-left{position:static;display:flex;gap:6px;flex:none;align-items:flex-start;}


#hud .side-left .side-chip{height:44px;min-height:44px;min-width:112px;padding:4px 10px 4px 6px;gap:6px;border-radius:10px;pointer-events:auto;}


#hud .side-left .side-chip>.ic{width:26px;height:26px;flex-basis:26px;}#hud .side-left .side-chip>.ic svg{width:23px;height:23px;}


#hud .side-left .side-chip .k{font-size:10px;}#hud .side-left .side-chip .v{font-size:14px;}


#hud .hud-left108 .march-list{position:static;display:flex;gap:6px;min-height:0;max-width:100%;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;pointer-events:auto;}


#hud .march-chip{min-height:44px;flex-shrink:0;font-size:12px;padding:7px 9px;background:linear-gradient(#29463ff2,#1c342df5);border:1px solid #b7a16b;border-radius:10px;box-shadow:0 2px 5px #0004;}


#hud .side-right{top:var(--rail-top108);right:8px;gap:7px;width:70px;max-height:calc(100dvh - var(--rail-top108) - var(--dock-space108) - env(safe-area-inset-bottom));overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;overscroll-behavior:contain;pointer-events:auto;padding:2px 0 6px;}


#hud .side-right .rbtn{width:66px;min-height:62px;flex-shrink:0;gap:3px;}


#hud .side-right .rbtn .ring{width:44px;height:44px;border-radius:13px;}


#hud .side-right .rbtn .ring .ic,#hud .side-right .rbtn .ring svg{width:28px;height:28px;}


#hud .side-right .rbtn .lb{font-size:11px;line-height:1.15;max-width:66px;overflow-wrap:anywhere;}


#hud .nav{width:min(640px,100%);min-height:var(--nav-height108);padding:5px 5px calc(5px + env(safe-area-inset-bottom));align-items:center;}


#hud .nav>button{min-height:62px;padding:4px 2px;gap:4px;}#hud .nav>button .ic,#hud .nav>button .ic svg{width:32px;height:32px;}#hud .nav .lbl{font-size:13px!important;}


#hud .world-dock108{position:absolute;right:12px;bottom:calc(var(--nav-height108) + 14px + env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:center;gap:10px;width:72px;pointer-events:none;}


#hud .world-dock108 .world105{position:static;display:flex;width:70px;height:76px;border-radius:20px;font-size:13px;pointer-events:auto;}


#hud .world105 .ic{width:35px;height:35px;}


#hud .world-dock108 .world-tools{position:static;display:flex;flex-direction:column;align-items:center;gap:9px;pointer-events:auto;}


#hud .world-tools .icon-btn{width:48px;height:48px;min-height:48px;border-radius:13px;}#hud .world-tools .icon-btn .ic{width:27px;height:27px;}


#hud .quest-card{bottom:calc(var(--nav-height108) + 12px + env(safe-area-inset-bottom));right:98px;max-width:min(470px,calc(100vw - 110px));min-height:60px;}


.city-ov:not(.world-ov) .lvbadge{margin:0;translate:-50% -100%;gap:4px;}


.city-ov:not(.world-ov) .city-action{min-width:46px;min-height:46px;padding:5px 8px;border-radius:13px;box-shadow:0 3px 7px #0005,inset 0 1px #fff8;}


.city-ov:not(.world-ov) .city-action>i{width:29px;height:29px;}.city-ov:not(.world-ov) .city-action svg{width:27px;height:27px;}


.city-ov:not(.world-ov) .city-action>em{font-size:12px;}


.city-ov:not(.world-ov) .lvbadge>b{font-size:11px;min-width:26px;padding:3px 6px;}


.city-ov:not(.world-ov) .lvbadge>span{font-size:12px;max-width:140px;text-align:center;padding:4px 7px;border:1px solid #a9935c88;background:#243b31ed;}


.city-ov:not(.world-ov) .city-action.ca-wait{background:linear-gradient(#d4e4dc,#89b0a1);}


.city-ov:not(.world-ov) .city-action.ca-done,.city-ov:not(.world-ov) .city-action.ca-harvest{border-color:#f5d57c;}


.city-ov:not(.world-ov) .pmark{width:44px;height:44px;border-radius:12px;}.city-ov:not(.world-ov) .pmark svg{width:25px;height:25px;}


@media(max-width:480px){#hud{--rail-top108:calc(120px + env(safe-area-inset-top));--nav-height108:70px;}#hud .nav>button .ic,#hud .nav>button .ic svg{width:29px;height:29px;}#hud .nav .lbl{font-size:12px!important;}#hud .side-left .side-chip{min-width:104px;}#hud .topbar .res-chip{padding-right:15px!important;gap:2px;}#hud .topbar .res-chip>.ic{width:20px;height:20px;flex-basis:20px;}#hud .topbar .res-chip .v{font-size:12px;}#hud .topbar .res-chip .s{font-size:9px;}#hud .world-dock108{right:8px;}#hud .quest-card .d{display:none;}}


@media(max-height:600px){#hud{--rail-top108:calc(112px + env(safe-area-inset-top));--nav-height108:62px;--dock-space108:264px;}#hud .side-left .side-chip{height:40px;min-height:40px;}#hud .side-right .rbtn{min-height:56px;}#hud .nav>button{min-height:50px;}#hud .world-dock108{gap:7px;}#hud .world-dock108 .world105{height:62px;width:64px;}#hud .world-tools .icon-btn{width:44px;height:44px;min-height:44px;}#hud .topbar .avatar{width:44px;height:44px;}#hud .topbar .res-chip{min-height:36px;}}





@media(max-height:600px) and (min-width:600px){#hud .side-right{width:140px;display:grid;grid-template-columns:repeat(2,66px);align-content:start;max-height:calc(100dvh - var(--rail-top108) - 150px);gap:5px 4px;}#hud .hud-left108{max-width:360px;max-height:calc(100dvh - var(--rail-top108) - 140px);gap:8px;}#hud .hud-left108 .side-left{flex-direction:row;gap:5px;}#hud .side-left .side-chip{min-width:100px;padding-right:5px;}#hud .world-dock108{flex-direction:row;width:auto;gap:10px;}#hud .world-dock108 .world-tools{flex-direction:row;}#hud .quest-card{right:200px;max-width:440px;}#hud .nav{max-width:640px;}}




/* Keep press/ripple effects from reactivating the old fixed offsets. */

#hud .world-dock108 .world105{position:relative;inset:auto;}

#hud{--dock-space108:184px;}#hud:has(.world-tools){--dock-space108:294px;}


#hud .side-right .rbtn .lb{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:clip;}
#hud .side-right .rbtn .ring{flex-shrink:0;}
#hud .side-right,#hud .march-list{scrollbar-color:#aa925c #243b31;}
#hud .side-right::-webkit-scrollbar,#hud .march-list::-webkit-scrollbar{width:4px;}
#hud .side-right::-webkit-scrollbar-track,#hud .march-list::-webkit-scrollbar-track{background:#243b31;}
#hud .side-right::-webkit-scrollbar-thumb,#hud .march-list::-webkit-scrollbar-thumb{background:#aa925c;border-radius:4px;}

/* Journey and Sovereign Court110: one actionable objective, readable progression. */
#hud .quest-card.goal110{padding:0;gap:0;min-height:90px;max-height:146px;align-items:stretch;border-radius:14px;overflow:hidden;}
#hud .goal-main110{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px;text-align:left;padding:10px 12px;border:0;border-radius:0;background:transparent;color:#f5ebcf;cursor:pointer;}
#hud .goal-main110>small{color:#d4bc7b;font-size:10px;line-height:1.2;}#hud .goal-main110>b{font-size:14px;line-height:1.2;}#hud .goal-detail110{font-size:11px;line-height:1.25;color:#d8dfcf;}
#hud .goal-bottom110{display:flex;justify-content:space-between;align-items:center;gap:6px;width:100%;font-size:11px;}#hud .goal-bottom110>strong{padding:5px 10px;border-radius:8px;background:linear-gradient(#efce76,#c59740);color:#30291c;font-size:12px;}
#hud .goal-book110{width:44px;min-width:44px;border:0;border-left:1px solid #b6a06b66;background:#223d32;color:#ead7a1;border-radius:0;display:grid;place-items:center;}#hud .goal-book110 .ic{width:24px;height:24px;}
.journey-current110{border-color:#e4c471!important;box-shadow:inset 3px 0 #d5b15a;}.realm110{display:flex;flex-direction:column;gap:12px;}.realm110 h3{margin:0;font-size:17px;}.realm110 p{margin:0;line-height:1.55;}.realm-header110{display:flex;gap:12px;padding:16px;border:1px solid #c9b677;border-radius:14px;background:linear-gradient(140deg,#3c5140,#203c32);color:#f4e1a8;}.realm-header110>.ic{width:34px;height:34px;flex:none;}.realm-header110>div{display:flex;flex-direction:column;gap:5px;}.realm-header110 b{font-size:18px;}.realm110 .realm-tabs110{position:sticky;top:-2px;z-index:2;display:grid;grid-template-columns:repeat(4,1fr);background:#233b30;}.realm-tabs110 button{min-width:0;min-height:44px;font-size:12px;padding:8px 5px;}.realm110 .card{margin:0;}.realm110 .realm-target110 input{min-width:0;flex:1;width:100%;}.realm-target110 select{width:100%;min-height:44px;}.realm-ranking110{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #c9b67733;}.realm-authority110{font-size:27px;color:#edd38d;}.realm-log110{padding:8px 0;border-bottom:1px solid #c9b67733;}.wlabel.capital110{font-size:12px!important;width:auto!important;min-width:100px;padding:5px 8px!important;background:#294438!important;border:1px solid #efd283!important;color:#ffe3a0!important;white-space:nowrap;border-radius:8px!important;}
@media(max-width:480px){#hud .quest-card.goal110{max-height:160px;min-height:102px;}#hud .goal-main110{padding:8px;gap:3px;}#hud .goal-main110>b{font-size:13px;}#hud .goal-detail110{font-size:10px;}#hud .goal-bottom110>strong{font-size:11px;padding:5px 7px;}}
@media(max-height:600px){#hud .quest-card.goal110{min-height:76px;max-height:112px;}#hud .goal-detail110{display:none;}}

.wlabel.capital110{height:auto!important;min-height:28px!important;line-height:16px!important;display:block!important;}

/* City112: clean military hierarchy, one camp per sheet. */
.training112{display:flex;flex-direction:column;gap:12px;}.training112 .camp-head{margin:0;padding:14px;border:1px solid #aa9769;background:linear-gradient(135deg,#345245,#213b32);border-radius:14px;}.training112 .camp-head b{font-size:18px;}.training112 .camp-head .small{font-size:11px;line-height:1.4;}.training112 .advancement112{margin:0;}.training112 .tiers112{display:flex;gap:7px;overflow-x:auto;max-width:100%;padding:5px 2px 10px;scrollbar-width:thin;scrollbar-color:#ad9462 #243d31;}.training112 .tier-chip{flex:0 0 58px;min-height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid #958463;background:#2b4438;color:#ede3c5;border-radius:9px;}.training112 .tier-chip.on{background:linear-gradient(#ecd18b,#c19a49);color:#302a20;border-color:#f8e4ac;box-shadow:0 0 0 1px #e1ba65;}.training112 .tier-chip.locked{opacity:.67;cursor:pointer;}.training112 .tier-chip.locked.on{opacity:1;}.training112 .tier-chip .ic{width:14px;height:14px;}.training112 .troop-art{height:200px;min-height:160px;background-size:contain;background-position:center;background-repeat:no-repeat;border-radius:12px;background-color:#263e35;}.training112 .troop-card{margin:0;gap:12px;}.training112 .troop-sum{margin:0;gap:6px;}.training112 .troop-sum b{font-size:17px;}.training112 .troop-sum span{font-size:10px;}.training112 .seg{min-height:44px;}.training112 .seg .btn{flex:1;min-height:44px;}.training112 .card{box-shadow:inset 0 1px #ffffff08;}.training112 .stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));}.training112 .troop-stats105 summary{padding:8px 0;}.training112 .gem-btn{min-height:44px;}
@media(max-width:480px){.training112 .troop-art{height:175px;}.training112 .camp-head b{font-size:16px;}.training112 .tier-chip{flex-basis:54px;}.training112 .row{min-width:0;}.training112 .tier-strip{scroll-snap-type:x proximity;}.training112 .tier-chip{scroll-snap-align:start;}}

.training112>.camp-head{order:0;padding:10px;}.training112>.camp-head .small{display:none;}.training112>.advancement112{order:1;padding:10px;gap:6px;}.training112>.seg{order:2;}.training112>.troop-card{order:3;}.training112>.gem-btn{order:4;}.training112>.troop-sum{order:5;}.training112>.counter112{order:7;}.training112>.camp-help112{order:8;}.training112>.small{order:9;}.training112>.col{order:0;}.training112>.card:not(.advancement112):not(.troop-card){order:0;}

.training112>.troop-card{order:3;}.training112>.seg{order:2;}.training112>.advancement112{order:1;}


@media(max-width:640px){.sheet.training-sheet112{height:calc(100dvh - env(safe-area-inset-top,0px));max-height:calc(100dvh - env(safe-area-inset-top,0px));border-radius:16px 16px 0 0;}.training-sheet112 .sheet-head{flex-shrink:0;}.training112 .troop-card>.btn.primary{position:sticky;bottom:0;z-index:3;min-height:48px;box-shadow:0 -6px 12px #20382bd9;}.training112 .camp-head{min-height:52px;}.training112 .troop-art{height:160px;min-height:140px;}}

/* City114 march formation: readable counts, effective ratios, no billion-scale sliders. */
.march114 .march-cap114 strong{font-size:1.35rem;color:var(--gold)}
.ratio-fields114{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.ratio-fields114 input{width:100%;min-width:0;min-height:44px}
.march114 .march-class114 input[type=number]{width:106px;min-width:0;min-height:44px}
.march114 .march-class114 input[type=range]{flex:1;min-width:0;width:100%;height:40px}
.march114 .march-class114 .tiny{overflow-wrap:anywhere}
.march114>.primary.wide{position:sticky;bottom:0;z-index:3;min-height:48px;box-shadow:0 -5px 12px #17271edd}

.hero-slots114{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.hero-slots114 .hero-tile{width:100%;min-height:108px}
.hero-picker114 summary,.march114 details summary{cursor:pointer;min-height:38px;padding:7px 0}
@media(max-width:640px){.sheet.march-sheet114{top:0!important;bottom:0!important;left:0!important;right:0!important;width:100%!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important}.sheet.march-sheet114 .sheet-head{padding-top:max(10px,env(safe-area-inset-top))}.hero-slots114 .hero-tile{min-height:100px}.march114 .march-cap114 p{margin:0}}

/* Külyurt116 military placards: one stable anchor, clean three-state action. */
.city-ov:not(.world-ov) .lvbadge.military116{display:flex;flex-direction:column;align-items:center;gap:3px;isolation:isolate}
.city-ov:not(.world-ov) .military116 .city-action{order:-1;position:relative!important;inset:auto!important;transform:none!important;display:flex;align-items:center;justify-content:center;gap:5px;min-width:74px;min-height:44px;max-width:104px;padding:5px 9px;border:1px solid #d8b66d;border-radius:12px;background:linear-gradient(#375448,#20382f);color:#f4dfae;box-shadow:0 3px 8px #10251d80,inset 0 1px #fff2}
.city-ov:not(.world-ov) .military116 .city-action>i{display:block;width:27px;height:27px;flex-shrink:0}
.city-ov:not(.world-ov) .military116 .city-action svg{width:27px;height:27px;filter:none}
.city-ov:not(.world-ov) .military116 .city-action>em{position:static!important;inset:auto!important;transform:none!important;white-space:nowrap;font-style:normal;font-size:11px;line-height:1.2;background:none!important;border:0!important;padding:0!important;color:inherit}
.city-ov:not(.world-ov) .military116 .city-action[data-state116=ready]{background:linear-gradient(#f4d284,#bc8a39);color:#302715;border-color:#ffe4a3}
.city-ov:not(.world-ov) .military116 .city-action[data-state116=busy]{background:linear-gradient(#446576,#2b4355);color:#edf2ec;border-color:#9eafb3}
.city-ov:not(.world-ov) .military116>b{position:static!important;inset:auto!important;transform:none!important;background:#263a30eb;border:1px solid #ad925b;color:#e7d4aa}
.city-ov:not(.world-ov) .military116>span{font-size:10px;max-width:110px;padding:2px 5px;background:#20372ee8;border:0}
#hud .nav .ic svg,#hud .rbtn .ic svg{filter:drop-shadow(0 1px 1px #10241dcc)}
.city-ov:not(.world-ov) .military116 .city-action>em{display:block!important;visibility:visible!important;opacity:1!important;max-width:none!important;}.city-ov:not(.world-ov) .military116 .city-action:after{display:none!important;}

/* City117: understated near-ground labels and palace court composition. */
.city-ov:not(.world-ov) .lvbadge:not(.named)>b,.city-ov:not(.world-ov) .lvbadge:not(.named)>span{display:none!important}
.city-ov:not(.world-ov) .lvbadge.named:not(.military116){background:#243b31d9;border:1px solid #bda46d66;border-radius:8px;padding:3px 6px;gap:2px;pointer-events:none}
.city-ov:not(.world-ov) .lvbadge.named:not(.military116)>b,.city-ov:not(.world-ov) .lvbadge.named:not(.military116)>span{position:static!important;transform:none!important;inset:auto!important;background:none!important;border:0!important;padding:0!important;font-size:10px}
.royal-banner117{display:flex;align-items:center;gap:16px;min-height:155px;padding:24px 20px;background:radial-gradient(ellipse at 25% 0%,#bc915e66,transparent 65%),linear-gradient(130deg,#314f46,#192e2c);border:1px solid #c6a66d;border-radius:14px;box-shadow:inset 0 0 0 5px #17292466;margin-bottom:14px}
.royal-banner117 h2{margin:4px 0;color:#f3d89d;font-size:26px}.royal-banner117 p{margin:0;color:#c6d4cc}.royal-banner117 .small{letter-spacing:2px;color:#d6b67c;font-size:10px}.royal-seal117{display:grid;place-items:center;flex-shrink:0;width:75px;height:85px;background:#1d3934;border:2px solid #c7a66c;border-radius:45% 45% 38% 38%;box-shadow:0 4px 12px #0004}.royal-seal117 .ic{width:46px;height:46px}.realm110 .realm-tabs110{position:sticky;top:0;z-index:2;background:#213a32;padding:6px;border-radius:10px;gap:4px}.realm110>.card{border-color:#b6975a55;border-radius:12px}.realm110>.card>h3{color:#eed199;border-bottom:1px solid #b6975a33;padding-bottom:8px}.world-ov .capital110{font-weight:bold;color:#f7dfa3;background:#253c35e8;border:1px solid #cdaa62;padding:7px 11px;border-radius:9px}

button,[role=button],summary{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button>svg,button>.ic,button>.ic *{pointer-events:none}#hud button,.city-action{user-select:none;-webkit-user-select:none}

/* City118: heraldic training medallions; one clear action per camp. */
.lvbadge.military116 .city-action[data-troop118]{position:relative;display:flex;flex-direction:column;gap:0;width:94px;min-width:94px;height:96px;min-height:96px;padding:0 3px 7px;border:0;border-radius:0;background:transparent!important;box-shadow:none!important;color:#fff2cd;filter:drop-shadow(0 3px 3px #151e25aa);transform:none;overflow:visible;isolation:isolate}
.lvbadge.military116 .city-action[data-troop118]::before{content:'';position:absolute;z-index:-1;inset:4px 7px 0;background:linear-gradient(145deg,#344e54,#14292e);border:1px solid #c3a369;clip-path:polygon(16% 0,84% 0,100% 12%,100% 86%,50% 100%,0 86%,0 12%)}
.lvbadge.military116 .city-action[data-troop118]::after{content:'';position:absolute;left:20px;right:20px;bottom:13px;height:3px;border-radius:2px;background:linear-gradient(90deg,#edd49c var(--train-progress),#253e44 var(--train-progress));box-shadow:none;border:0;transform:none}
.lvbadge.military116 .city-action .medallion118{position:relative;display:grid;place-items:center;width:51px;height:51px;margin:-5px 0 1px;border:2px solid #d9bd7b;border-radius:50%;background:radial-gradient(circle at 40% 30%,#435f61,#172d33 75%);box-shadow:inset 0 0 0 3px #192f34,0 2px 5px #0007}
.lvbadge.military116 .city-action .medallion118 i{width:33px;height:33px;display:block;margin:0}.lvbadge.military116 .city-action .medallion118 svg{width:33px;height:33px;filter:none}
.medallion-check118{position:absolute;right:-5px;bottom:-1px;width:17px;height:17px;border-radius:50%;background:#dbbe78;color:#23343a;font:800 14px/17px system-ui;text-shadow:none}
.lvbadge.military116 .city-action .training-name118{font:700 11px/15px system-ui;letter-spacing:.15px;color:#ecdfc2;white-space:nowrap}
.lvbadge.military116 .city-action[data-troop118] em{font:700 11px/15px system-ui;color:#e8d397;background:none;padding:0;margin:0;white-space:nowrap;max-width:90px;overflow:hidden;text-overflow:ellipsis}
.lvbadge.military116 .city-action[data-state116=busy]::before{background:linear-gradient(145deg,#254b65,#142b3d)}
.lvbadge.military116 .city-action[data-state116=ready]::before{background:linear-gradient(145deg,#76592a,#3e3020);border-color:#ffe8a6}
.lvbadge.military116 .city-action[data-state116=ready] .medallion118{background:radial-gradient(circle,#91713c,#49371e);border-color:#ffe3a1}
.lvbadge.military116 .city-action[data-state116=ready] .medallion-check118{background:#f9dc8c;color:#433116}
.lvbadge.military116:not(.named)>b,.lvbadge.military116:not(.named)>span{display:none!important}
.guild-banner118{padding-top:14px;border-top:1px solid #ad915438;margin-top:10px}.guild-banner118 summary{font-weight:700;color:#e3c284;cursor:pointer}.banner-grid118{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:12px}.banner-choice118{min-width:0;padding:5px!important;border:1px solid #796b54!important;background:#152d30!important;border-radius:8px!important}.banner-choice118 svg{display:block;width:100%;height:52px}.banner-choice118.chosen{border-color:#f3d78b!important;box-shadow:0 0 0 2px #d9b96255}.banner-choice118:disabled{opacity:.8}.royal-seal117 svg{width:54px;height:50px;border-radius:8px}.realm110 .realm-tabs110{position:sticky;top:0;z-index:3}

.city-ov:not(.world-ov) .lvbadge.military116 .city-action[data-troop118] .training-name118,.city-ov:not(.world-ov) .lvbadge.military116 .city-action[data-troop118] .medallion-check118{display:block!important;visibility:visible!important;opacity:1!important}
.city-ov:not(.world-ov) .lvbadge.military116 .city-action[data-troop118]::after{display:block!important}

/* City119: stable touch targets; visual icons never steal a tap. */
button,.btn,[role=button],summary{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
button{ -webkit-touch-callout:none;user-select:none;-webkit-user-select:none }
button>svg,button .ic,button .ic *{pointer-events:none}
.sheet-head .icon-btn{flex:0 0 48px;min-width:48px;min-height:48px;touch-action:manipulation}
.sheet-head{position:relative;z-index:4}.sheet-body{overscroll-behavior:contain}
@media(pointer:coarse){button:active:not(:disabled){transform:none;filter:brightness(1.12)}}

/* Explicit mode also works in WebViews without CSS :has support. */
#hud.world-mode119{--dock-space108:294px;}
#hud .side-right{scroll-padding:8px;scroll-behavior:auto;}
@media(max-height:600px){#hud.world-mode119{--dock-space108:264px;}}

/* City121: exploration 2+3; world march remains a separate 3-commander mode. */
.formation.formation121{display:flex;flex-direction:column;gap:8px}
.formation-row121{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}
.formation-row121.rear121{grid-template-columns:repeat(3,minmax(0,1fr))}
.formation121 .slot{min-width:0;min-height:108px;flex-direction:column;justify-content:center;text-align:center;padding:8px 4px}
.formation121 .slot .col{min-width:0;max-width:100%;text-align:center!important;align-items:center}
.formation121 .slot b{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.formation121 .squad-tag{font-size:10px;white-space:normal;justify-content:center;flex-wrap:wrap}
.bt-dock.five121{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;max-width:490px;margin:auto}
.bt-dock.five121 .bt-card{width:100%;min-width:0;min-height:48px}
.bt-dock.five121 .bt-ring{width:min(64px,calc((100vw - 56px)/5));height:min(64px,calc((100vw - 56px)/5));padding:4px}
.bt-dock.five121 .bt-hp{width:80%}
.bt-dock.five121 .bt-nm{max-width:100%;font-size:10px}

/* City122: stable training amount/quote; same selection drives cost and request. */
.amount122{gap:10px;min-width:0;padding:12px;border-radius:12px;background:rgba(0,0,0,.12)}
.amount122 input[type=number]{width:100%;min-width:0;box-sizing:border-box;min-height:44px}
.amount122 input[type=range]{width:100%;min-width:0;min-height:30px}
.quote122{font-size:12px;gap:6px}
.quote122 .row>span{min-width:0;overflow-wrap:anywhere}
.training-ready122{border-color:#bda04b;background:rgba(96,119,65,.24)}

/* City123: readable march controls and bounded battle summaries. */
.march123 .target123{border-left:3px solid var(--gold,#d7b65c)}
.march123 .march-class114 input[type=number]{min-height:44px;width:96px;max-width:34%;font-variant-numeric:tabular-nums}
.march123 .ratio-fields114 input{min-height:44px;width:100%;box-sizing:border-box}
.march123 .march-summary123 .kv{font-variant-numeric:tabular-nums;gap:10px 16px}
.march123 .risk123{border-color:#bb9762;background:rgba(133,82,35,.12)}
.march123 .march-send123{min-height:48px;margin-top:8px}
.war-detail123{overflow-wrap:anywhere}.round-strip{flex-wrap:wrap;gap:3px}.round-strip>span{min-width:20px}

/* City124: progression and research effects. */
.research124 .focus124{border-color:var(--gold,#d7b65c)}
.research124 .research-effect124{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
.tier-plan124.locked124{border-style:dashed;opacity:.8}
.safety124 .kv{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.development124 .row.wrap{gap:8px}

/* City125 guild and rally clarity. */
.rally-member125{display:grid;gap:4px;padding:9px;border:1px solid #8c825544;border-radius:9px;overflow-wrap:anywhere}
.donation125 input{min-height:44px;max-width:100%;box-sizing:border-box}
.rally125 details p{line-height:1.55}.rally125 .btn{min-height:44px}

/* City126: clear reign boundaries and application status. */
.realm-times126{display:grid;gap:10px;font-variant-numeric:tabular-nums}
.realm-times126 .row{gap:12px;flex-wrap:wrap}.realm-times126 b{margin-left:auto}
.request126{border-left:3px solid var(--gold,#d7b65c);padding:8px;line-height:1.5}

/* City127 — complete interface package. Scene, economy and battle rules untouched. */
:root{--ink:#14262d;--ink2:#1c333b;--ink3:#29454b;--text:#f4eddf;--muted:#bdcbd0;--dim:#9bafb6;--line:#b69a633d;--tuff:#eddbb7;--u105-text:#f4eddf;--u105-muted:#bdcbd0;--u105-gold:#edc870;--ui127-panel:#192e36;--ui127-card:#223b43;--ui127-edge:#c7ae733b;--ui127-gold:#e6c47d}
#sheets .sheet:not(.bfull){top:calc(10px + var(--safe-t));bottom:0;max-height:none;border:1px solid var(--ui127-edge)!important;border-bottom:0!important;border-image:none;border-radius:18px 18px 0 0;background:linear-gradient(155deg,#203a42,#14262e)!important;color:var(--text)!important;box-shadow:0 10px 35px #04101780!important}
#sheets .sheet-head{min-height:60px;flex:none;padding:7px 10px;gap:8px;background:#1a3038!important;border-bottom:1px solid var(--ui127-edge);border-radius:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0}
#sheets .sheet-head h2{font-size:19px;line-height:1.2;white-space:normal;text-wrap:balance;color:#f1dfbb;margin:0;min-width:0}
#sheets .sheet-head .icon-btn{flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:10px;border:1px solid #bfa76e60;border-radius:12px;background:#263f47;color:#f3e5c8;box-shadow:none}
#sheets .sheet-body{padding:13px 13px calc(18px + var(--safe-b));gap:13px;min-height:0;scrollbar-gutter:auto;scrollbar-width:thin;scrollbar-color:#82948d #192e36;color-scheme:dark;overscroll-behavior:contain;font-size:14px;line-height:1.5}
#sheets .sheet-body>*{min-width:0;max-width:100%}
#sheets .sheet-body p{margin:0;line-height:1.55}
#sheets .sheet-body h3{font-size:17px;color:#ead5a9;line-height:1.35}
#sheets .card,#sheets .shop-card,#sheets .gem-pack{padding:13px;border-radius:12px;background:#223b43!important;border:1px solid var(--ui127-edge)!important;box-shadow:none!important;color:var(--text)!important}
#sheets .card .card{background:#1b323a!important;padding:13px}
#sheets .muted,#sheets .small.muted{color:#bdcbd0!important}
#sheets .lead{font-size:14px;line-height:1.55;color:#c9d4d5}
#sheets .btn{min-height:44px;min-width:0;padding:9px 13px;white-space:normal;overflow-wrap:break-word;text-align:center;border:1px solid #9db3b44d;border-radius:10px;background:#2a454e;color:#ede9de;box-shadow:none;font-size:13px;line-height:1.3;font-weight:650}
#sheets .btn.primary,#sheets button.primary{background:linear-gradient(#f3d58a,#d3a74e)!important;color:#302512!important;border:1px solid #f2d18b!important;box-shadow:inset 0 1px #fff1bb,0 2px 0 #856128!important}
#sheets .btn.cini{background:#2a605e!important;color:#edf7ee!important;border-color:#70aaa080!important;box-shadow:none!important}
#sheets .btn.ghost,#sheets button.ghost{background:#243e47!important;color:#e1e8e7!important;border-color:#8faeb040!important;box-shadow:none!important}
#sheets .btn.danger{background:#773e3c;color:#fff0e7;border-color:#c1786d}
#sheets button:disabled{opacity:.55;filter:saturate(.5);box-shadow:none!important}
#sheets .btn.small{min-height:44px;font-size:12px;padding:8px 11px}
#sheets .btn.wide{width:100%}
#sheets input:not([type=checkbox]):not([type=range]),#sheets select,#sheets textarea{min-width:0;max-width:100%;min-height:44px;border:1px solid #91aeb75c;border-radius:9px;padding:10px 12px;background:#10262f;color:#f3eee2;font:inherit;box-sizing:border-box}
#sheets input[type=range]{accent-color:#dfba6b;min-height:36px;max-width:100%}
#sheets input[type=checkbox]{accent-color:#dfba6b;width:20px;height:20px;flex:none}
#sheets a{color:#b7e5dc;text-underline-offset:3px}
#sheets details{border-color:var(--ui127-edge);border-radius:10px}
#sheets summary{min-height:44px;padding:10px 0;cursor:pointer;line-height:1.5;color:#e4d4ae}
#sheets .sheet-body .seg{display:flex!important;flex-wrap:nowrap!important;align-items:stretch;gap:4px;padding:4px;background:#11282f!important;border:1px solid #b6c7bc24;border-radius:12px;overflow-x:auto!important;overflow-y:hidden!important;max-width:100%;scrollbar-width:thin;scrollbar-color:#778d8c transparent;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
#sheets .sheet-body>.seg{position:sticky;top:-13px;z-index:4;margin:0;flex:none}
#sheets .sheet-body .seg>button{flex:1 0 auto!important;min-width:72px!important;max-width:190px;min-height:44px!important;padding:10px 14px!important;font-size:12px!important;white-space:nowrap;scroll-snap-align:start;border:0!important;background:transparent!important;color:#c4d1d2!important;box-shadow:none!important;overflow:hidden;text-overflow:ellipsis}
#sheets .sheet-body .seg>button.on,#sheets .sheet-body .seg>button.primary{background:#dfbf7a!important;color:#302715!important;box-shadow:none!important;border-radius:8px!important}
#sheets .kv{grid-template-columns:minmax(0,1fr) minmax(0,auto);column-gap:12px;row-gap:9px;font-variant-numeric:tabular-nums}
#sheets .kv>b{text-align:right;overflow-wrap:anywhere}
#sheets .reward{gap:6px;flex-wrap:wrap}
#sheets .profile-links127{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#sheets .profile-links127 button{min-width:0;width:100%;padding:10px 8px;font-size:12px;line-height:1.25;white-space:normal;overflow-wrap:break-word;hyphens:auto;-webkit-hyphens:auto}
#sheets .profile-links127 button:last-child:nth-child(odd){grid-column:1/-1}
#sheets .profile87{background:linear-gradient(#26434e,#1a3039)!important;padding:10px}
#sheets .profile-choice97{display:grid;gap:10px;padding:13px;background:#182f38;border-color:#8fa8aa4d;text-align:left}
#sheets .profile-choice97 label{display:grid;gap:6px;font-size:12px;color:#c9d4d5}
#sheets .profile-choice97 select{width:100%}
#sheets .profile-choice97 .btn{width:100%}
#sheets .profile-equip105{padding:8px 0;gap:6px}
#sheets .profile-equip105 button{min-height:78px!important;font-size:11px!important;padding:6px!important}
#sheets .gear-icon105{width:38px;height:38px;background:#294650}
#sheets .gear-icon105 svg{width:33px;height:33px}
#sheets .shop-head{padding:13px;background:#24434c!important;border:1px solid var(--ui127-edge)!important;border-radius:12px;box-shadow:none!important}
#sheets .shop-head .gem-big{width:40px;min-width:40px}
#sheets .gem-n{font-size:24px!important;color:#f0dcaf!important;font-variant-numeric:tabular-nums}
#sheets .gem-pack .btn{width:100%;white-space:normal}
#sheets .inventory105{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
#sheets .inventory-tile105{min-width:0;min-height:126px!important;padding:13px!important;background:#243f48!important;border:1px solid var(--ui127-edge)!important;border-radius:12px;font-size:12px}
#sheets .inventory-tile105 .ic{width:32px;height:32px}
#sheets .royal-banner117{min-height:0;padding:13px;gap:12px;margin:0;border:1px solid var(--ui127-edge);border-radius:12px;background:#24434c;box-shadow:none}
#sheets .royal-banner117 h2{font-size:20px;margin:2px 0}
#sheets .royal-banner117 p{font-size:12px}
#sheets .royal-seal117{width:48px;height:54px;border-width:1px;box-shadow:none;background:#19313a}
#sheets .royal-seal117 svg,#sheets .royal-seal117 .ic{width:34px;height:34px}
#sheets .realm-header110{padding:13px;gap:10px;background:#203c46;border:1px solid var(--ui127-edge);border-radius:12px}
#sheets .realm-header110 b{font-size:16px}
#sheets .realm110 .realm-tabs110{background:#122b33;top:-13px;min-height:52px;padding:4px}
#sheets .realm-times126{font-size:13px;gap:9px}
#sheets .training112 .camp-head{padding:13px;background:#24434c;border:1px solid var(--ui127-edge);border-radius:12px}
#sheets .training112 .camp-head b{font-size:16px}
#sheets .training112 .tier-chip{flex:0 0 68px;padding:8px 6px;min-width:68px;min-height:62px!important;max-width:90px;font-size:12px;box-shadow:none;background:#233f49;color:#e2e9e7;border:1px solid #92a7ab66;border-radius:8px}
#sheets .training112 .tier-chip span{display:block;max-width:100%;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#sheets .training112 .tier-chip span[title]{cursor:help}
#sheets .training112 .tier-chip.on{background:#dfbf7a;color:#302715;border-color:#edcf8b}
#sheets .training112 .troop-art{background-color:#1a333c}
#sheets .tier-plan124,#sheets .quote122{overflow-wrap:anywhere}
#sheets .research124 .card{padding:13px}
#sheets .rally-member125{border-color:var(--ui127-edge);background:#1b333b}
#sheets .pass87{gap:9px}
#sheets .pass87 .card{padding:10px}
#sheets .pass87 .btn{font-size:12px}
#sheets .pass-tier87{color:#e7ce96;padding:9px 2px;border-color:var(--ui127-edge);position:sticky;top:-13px;z-index:3;background:#192e36;margin-top:-9px;margin-bottom:4px}
#sheets .hero-grid{gap:9px}
#sheets .hero-tile{min-width:0}
#sheets .hero-tile button{min-width:0}
#sheets .round-strip{gap:4px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#778d8c transparent}
#sheets .report-row{min-height:48px;padding:10px;border-radius:8px}
#sheets .quest-card{padding:13px;border-radius:12px}
#sheets .guild-card{padding:13px;border-radius:12px}
#sheets .vip-grid87{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}
#sheets .vip-pack{padding:13px;border-radius:12px}
#hud .nav{background:linear-gradient(#243f47f5,#142932fa)!important;border:1px solid #b9a36b60!important;border-bottom:0!important;border-image:none!important;box-shadow:0 -3px 14px #07172155;border-radius:16px 16px 0 0!important;padding:5px 5px calc(5px + var(--safe-b))!important}
#hud .nav>button{min-height:56px;color:#d1dcda;border-radius:11px;padding:5px 3px;gap:3px}
#hud .nav>button.on{background:#c3ac6840;color:#fff0c8}
#hud .nav .ic{width:25px!important;height:25px!important}
#hud .nav .lbl{font-size:11px!important;font-weight:650;text-shadow:0 1px 2px #05171c;letter-spacing:-.01em;line-height:1.15}
#hud .side-right{scrollbar-width:thin;scrollbar-color:#aaac8e transparent;padding:2px;gap:6px}
#hud .side-right .rbtn{width:62px;min-height:62px;gap:2px;padding:5px 3px;border:1px solid #a6ae8b70;border-radius:12px;background:#1d3942ed;color:#f4e6c6;box-shadow:0 2px 5px #071b2530}
#hud .side-right .rbtn .ring{width:30px;height:30px;min-height:30px;background:transparent!important;border:0!important;border-radius:0;box-shadow:none!important;overflow:visible}
#hud .side-right .rbtn .ring .ic,#hud .side-right .rbtn .ring svg{width:26px;height:26px}
#hud .side-right .rbtn .lb{font-size:10px;line-height:1.2;color:#f4e6c6;text-shadow:0 1px 2px #071b25;max-width:56px;overflow-wrap:break-word;hyphens:auto;-webkit-hyphens:auto}
#hud .world-dock108{gap:6px}
#hud .world-dock108 .world105{width:62px;height:62px;min-height:62px;padding:6px;border:1px solid #cfb16d;background:#1e4149;border-radius:16px;color:#f2dfb4;box-shadow:0 3px 8px #091e2855}
#hud .world-dock108 .world105 .ic{width:30px;height:30px}
#hud .world-dock108 .world105 span:not(.ic){font-size:11px;line-height:1.15;text-shadow:0 1px 2px #071b25}
#hud .world-tools .icon-btn{width:44px;height:44px;min-height:44px;padding:10px;border-radius:12px;background:#213e48;color:#f2d79f;border:1px solid #a5a57d80}
#hud .side-left .side-chip{background:#203d46e8;border-color:#9cae9666;border-radius:11px;box-shadow:0 2px 5px #071b2530;padding:7px 9px;min-height:44px}
#hud .res-chip{background:#1b323beF!important;border:1px solid #bea36770!important;border-radius:9px;color:#f3e7ca;box-shadow:none!important;padding:7px 10px;min-height:44px}
#hud .res-chip .v{font-size:13px;font-variant-numeric:tabular-nums;text-shadow:0 1px 2px #071b25}
#hud .res-chip .s{font-size:10px;color:#c9d4d5}
#hud .tb-main .gems{background:#234951;border-color:#b6cfba66;padding:7px 10px}
.toasts .toast{background:#1e3c46;color:#f4eddf;border:1px solid #bba16c80;border-radius:12px;box-shadow:0 4px 14px #061c2866;padding:12px 14px}
.confirm-wrap .confirm{background:#1c3540;border:1px solid #c0a26588;color:#f4eddf;max-width:calc(100vw - 28px);border-radius:16px;padding:16px}
.confirm-wrap .confirm .btn{min-height:44px}
@media(min-width:700px){#sheets .sheet:not(.full):not(.bfull){top:18px;bottom:18px;right:18px;left:auto;width:min(480px,calc(100vw - 36px));border-bottom:1px solid var(--ui127-edge)!important;border-radius:18px}#sheets .sheet.full:not(.bfull){inset:18px;width:auto;border-bottom:1px solid var(--ui127-edge)!important;border-radius:18px}#sheets .inventory105{grid-template-columns:repeat(3,minmax(0,1fr))}#sheets .profile-links127{grid-template-columns:repeat(3,minmax(0,1fr))}#sheets .vip-grid87{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}}
@media(max-width:350px){#sheets .sheet-body{padding-left:11px;padding-right:11px;gap:11px}#sheets .sheet-head h2{font-size:17px}#sheets .profile-links127{gap:6px}#sheets .profile-links127 button{font-size:11px;padding:9px 7px}#sheets .pass87 .card{padding:9px}#hud .nav .lbl{font-size:10px!important}#hud .side-right .rbtn .lb{font-size:9px}#sheets .training112 .tier-chip{flex:0 0 64px;min-width:64px;padding:7px 5px}#sheets .training112 .tier-chip span{font-size:10px}}
@media(max-width:320px){#sheets .sheet-head h2{font-size:16px}#sheets .profile-links127 button{font-size:10px;padding:8px 6px}#hud .nav .lbl{font-size:9px!important;letter-spacing:-.02em}#hud .side-right .rbtn{width:58px;min-height:58px}#hud .side-right .rbtn .lb{font-size:9px;max-width:52px}#sheets .seg>button{min-width:68px!important;font-size:11px!important;padding:9px 12px!important}}
@media(prefers-reduced-motion:reduce){.sheet-wrap.in .sheet{animation:none!important}.sheet,.scrim,button{transition:none!important}}
.reduce-motion .sheet-wrap.in .sheet{animation:none!important}

/* Codex final integration: keep navigation above reward content. */
#sheets .progression87 .seg{position:sticky;top:-13px;z-index:12;background:#11282f!important}
#sheets .pass-head87{position:static;z-index:auto;background:#223b43;color:#cbd7d8;padding:12px;border:1px solid #c7ae733b;border-radius:10px}
#sheets .pass-tier87{position:static;z-index:auto;margin-top:0;background:transparent}
#sheets .profile-choice97{display:grid!important;grid-template-columns:1fr;gap:10px;text-align:left}
#sheets .profile-choice97>label{display:grid;gap:6px;min-width:0;width:100%}
#sheets .profile-choice97 select,#sheets .profile-choice97 button{width:100%!important;max-width:100%}

/* City128: Claude's light, depth and interaction treatment, ported to the live UI.
   Layout and game logic remain from City127. No legacy stylesheet replacement. */
:root{--saffron:#f0c056;--saffronD:#c79338;--cini:#2eb39f;--ciniL:#68d4c5;--ok:#8ee09c;--warn:#f5b04a;--bad:#e8745f;--ui128-top:#36565b;--ui128-bottom:#1a333e;--ui128-gold:#f2ce7a;--ui128-border:#c8af755e}
#sheets .sheet:not(.bfull){background:linear-gradient(155deg,#28434b,#152a34 80%)!important;box-shadow:0 12px 40px #020e16a6,inset 0 1px #e9f2ec12!important;border-color:#c9b17a70!important}
#sheets .sheet-head{background:linear-gradient(#335059,#203a44)!important;box-shadow:inset 0 1px #e9f2ec17,0 3px 10px #05162033}
#sheets .sheet-head h2{text-shadow:0 2px 3px #0007;color:#f5dfb3}
#sheets .card,#sheets .shop-card,#sheets .gem-pack{background:linear-gradient(145deg,#2d4952,#1d343f)!important;box-shadow:0 4px 12px #06121c40,inset 0 1px #f5f0d914!important;border-color:#bda57250!important}
#sheets .card .card{background:linear-gradient(#243e48,#1a303a)!important;box-shadow:inset 0 1px #ffffff0a!important}
#sheets .btn{background:linear-gradient(#38565e,#263f4b)!important;border:1px solid #b4c8c04a!important;box-shadow:0 3px 8px #06131c50,inset 0 1px #ffffed19!important;transition:transform .12s ease,box-shadow .18s ease,border-color .18s ease}
#sheets .btn.primary,#sheets button.primary{background:linear-gradient(#ffe59a,#edbc57 62%,#d99c38)!important;border-color:#ffe3a0!important;box-shadow:0 2px 0 #855c21,0 4px 12px #c9942836,inset 0 1px #fff4c6!important;color:#30200d!important;text-shadow:0 1px #fff5d055}
#sheets .btn.cini{background:linear-gradient(#46b6a4,#237b72)!important;border-color:#8cdbca99!important;box-shadow:0 2px 0 #143e3c,0 4px 10px #1d8b7d25,inset 0 1px #b8f6dd44!important;color:#effff6!important}
#sheets .btn.danger{background:linear-gradient(#b65a58,#81363e)!important;border-color:#ed999173!important;color:#fff3e7!important;box-shadow:0 2px 0 #4e1b25,0 4px 10px #601d2840,inset 0 1px #ffd3b825!important}
#sheets .btn.ghost,#sheets button.ghost{background:linear-gradient(#2b454f,#203741)!important;border-color:#b2c4ba30!important;box-shadow:inset 0 1px #ffffed0d!important;color:#d7e2df!important}
#sheets button:disabled{box-shadow:inset 0 1px #ffffff0a!important;opacity:.52;filter:saturate(.35)}
#sheets .btn:active:not(:disabled),#sheets .tier-chip:active:not(:disabled){transform:translateY(1px) scale(.98)}
#sheets .sheet-head .icon-btn{background:linear-gradient(#3b5960,#27414d)!important;border-color:#c9b58080!important;box-shadow:0 2px 6px #071a2440,inset 0 1px #ffffff16!important}
#sheets .sheet-body .seg{background:linear-gradient(#142a34,#1b3540)!important;border-color:#b8a46b3d!important;box-shadow:inset 0 2px 5px #06111a55}
#sheets .sheet-body .seg>button{background:transparent!important;border:1px solid transparent!important;box-shadow:none!important;transition:background .15s ease,transform .12s ease}
#sheets .sheet-body .seg>button.on,#sheets .sheet-body .seg>button.primary{background:linear-gradient(#ffe09b,#dca747)!important;border-color:#f3d18a99!important;color:#33230f!important;box-shadow:0 2px 4px #030d1633,inset 0 1px #fff4cf66!important}
#sheets input:not([type=checkbox]):not([type=range]),#sheets select,#sheets textarea{background:linear-gradient(#122832,#19333c)!important;border-color:#aabbb44d!important;box-shadow:inset 0 2px 5px #030d1755;color:#f5ecdb}
#sheets input:focus,#sheets select:focus,#sheets textarea:focus{border-color:#edc87a!important;box-shadow:0 0 0 2px #e5bd6b25,inset 0 2px 5px #030d1755!important;outline-offset:2px}
#sheets input[type=range]{accent-color:#e5bc69;box-shadow:none!important}
#sheets .cost .c,#sheets .reward .r{background:linear-gradient(#172f39,#10252e);border:1px solid #d7d0ac22;box-shadow:0 2px 5px #0003;border-radius:9px}
#sheets .cost .c.miss{color:#ffad96;border-color:#e98d7280}
#sheets .bar{background:linear-gradient(#0c1e27,#142a33);border:1px solid #b9c0a326;box-shadow:inset 0 2px 4px #0006}
#sheets .bar i{background:linear-gradient(90deg,#bd8435,#f2cd7b);box-shadow:inset 0 1px #fff7c533,0 0 6px #dfb65c33}
#sheets .bar.cini i{background:linear-gradient(90deg,#248273,#83d9c4);box-shadow:inset 0 1px #e3fff633}
#sheets .bar.red i{background:linear-gradient(90deg,#8c3c4b,#ed917d);box-shadow:inset 0 1px #ffe3c533}
#sheets .pill{border:1px solid #ddd4ae22;background:linear-gradient(#c2c2a218,#d6d6a80c);box-shadow:inset 0 1px #fff1ce0d}
#sheets .pill.cini{background:linear-gradient(#2eb39f40,#2eb39f24);border-color:#68d4c54d;color:#c3f9e6}
#sheets .pill.saffron{background:linear-gradient(#f0c05640,#f0c05624);border-color:#f0c05666;color:#ffe8b8}
#sheets .pill.kilim{background:linear-gradient(#c3495a45,#a82a3f22);border-color:#d24a5e66;color:#ffd1d3}
#sheets .training112 .tier-chip{background:linear-gradient(#34535d,#1d3541)!important;box-shadow:0 3px 7px #06131b4d,inset 0 1px #ffffff12;border-color:#a6b7af66}
#sheets .training112 .tier-chip.on{background:linear-gradient(#ffe19a,#dfa949)!important;border-color:#ffe8b0!important;box-shadow:0 0 0 1px #efd18a50,0 3px 8px #c996352b;color:#30220e!important}
#sheets .stat-grid{background:linear-gradient(#10263066,#1a333c44);box-shadow:inset 0 2px 5px #0003;border-radius:10px}
#sheets .slot.filled,#sheets .guard-slot.filled{border-color:#e7c27399;box-shadow:inset 0 0 10px #e9bd4b15,0 3px 7px #0003}
#sheets .hero-tile{box-shadow:inset 0 0 14px color-mix(in srgb,var(--rc) 20%,transparent),0 4px 10px #03131d66;transition:transform .15s ease,box-shadow .15s ease}
#sheets .hero-tile.r-mythic{box-shadow:inset 0 0 16px #efbc493d,0 3px 10px #c9972828}
#sheets .hero-tile.sel{outline:1px solid #fff0bc;outline-offset:1px;box-shadow:0 0 0 2px #f0c05633,inset 0 0 16px #efbc4940}
#sheets .troop-art{box-shadow:inset 0 1px #e3ecdc1c,inset 0 -10px 16px #081c2940,0 3px 10px #06151c33}
#sheets .tier-big{box-shadow:0 2px 0 #715124,0 3px 7px #0005,inset 0 1px #fff5bd55}
#sheets .profile87{background:radial-gradient(ellipse at 50% 5%,#436775,#1c3541 72%)!important}
#sheets .profile-choice97,#sheets .royal-banner117,#sheets .realm-header110{background:linear-gradient(140deg,#33545d,#1c3541)!important;border-color:#c9ae7860;box-shadow:inset 0 1px #fff3cf12,0 3px 9px #05192533}
#sheets .shop-head{background:linear-gradient(130deg,#355b64,#1e3b46)!important;box-shadow:inset 0 1px #e9f6de20,0 3px 10px #03172140!important}
#hud .side-right .rbtn{background:linear-gradient(150deg,#36545e,#1d3543)!important;border:1px solid #c9b78199!important;box-shadow:0 3px 8px #06111c66,inset 0 1px #fff2cf26!important;border-radius:12px!important;color:#f5e5c5!important;isolation:isolate;opacity:1;backdrop-filter:none!important}
#hud .side-right .rbtn .ring{background:transparent!important;border:0!important;box-shadow:none!important;filter:none!important}
#hud .side-right .rbtn .lb{color:#f5e5c5!important;text-shadow:0 1px 2px #071019!important;font-size:11px!important;line-height:1.2}
#hud .side-right .rbtn .ic{filter:drop-shadow(0 1px 1px #0008)}
#hud .side-right .rbtn .badge,#hud .nav .badge{background:linear-gradient(#ef7782,#b63851)!important;border:1px solid #ffd4b34d;color:#fff4df;box-shadow:0 2px 5px #0006}
#hud .res-chip,#hud .side-left .side-chip{background:linear-gradient(145deg,#2a4855,#18323e)!important;border:1px solid #c5ad756e!important;box-shadow:0 3px 8px #07132150,inset 0 1px #ffffff17!important;backdrop-filter:none!important}
#hud .res-chip .v,#hud .side-chip b{color:#fff0d0;text-shadow:0 1px 2px #04101b}
#hud .res-chip .s{color:#b9c9c6}
#hud .res-chip.full .v{color:#ffd885}
#hud .side-left .side-chip.low{border-color:#e18c72aa!important;box-shadow:inset 3px 0 #d76a58,0 3px 8px #07132150!important}
#hud .nav{background:linear-gradient(#324e58,#1c3441)!important;border-color:#d8ba7c88!important;box-shadow:0 -4px 16px #06131f66,inset 0 1px #fff2cb24!important}
#hud .nav>button.on{background:linear-gradient(#e8bd5540,#e8bd551a);color:#fff0c6;box-shadow:inset 0 1px #ffe8aa22}
#hud .nav>button.on .ic{filter:drop-shadow(0 0 3px #eabd5b55)}
#hud .quest-card{background:linear-gradient(135deg,#2e4854,#182f3d)!important;border:1px solid #d2b47288!important;box-shadow:0 5px 14px #03111c66,inset 0 1px #fff3d61a!important;backdrop-filter:none!important}
#hud .quest-card.ready{border-color:#f0cc7b!important;box-shadow:inset 3px 0 #edc66d,0 5px 14px #03111c66!important}
#hud .world-dock108 .world105,#hud .world-tools .icon-btn{background:linear-gradient(#3a5b64,#203c49)!important;box-shadow:0 3px 9px #06121b66,inset 0 1px #fff3cf22!important;border-color:#d8b974!important}
.toasts .toast{background:linear-gradient(#34505b,#1b3340);box-shadow:0 5px 18px #04111d80,inset 0 1px #fff4ce22}
.confirm-wrap .confirm{background:linear-gradient(145deg,#2a4550,#182f3c);box-shadow:0 12px 36px #0008,inset 0 1px #fff4ce22}
@media(hover:hover) and (pointer:fine){#sheets .btn:hover:not(:disabled){box-shadow:0 5px 12px #03131b66,inset 0 1px #fff6d62b!important;border-color:#d9bf8399!important}#sheets .btn.primary:hover:not(:disabled){box-shadow:0 2px 0 #855c21,0 5px 16px #edbf554d,inset 0 1px #fff4c6!important}#sheets .hero-tile:hover:not(:disabled){transform:translateY(-2px)}#hud .rbtn:hover,#hud .nav>button:hover{filter:brightness(1.1)}}
@media(prefers-reduced-motion:no-preference){#hud .nav .badge{animation:notice128 1s ease-in-out 2}#sheets .btn.primary:not(:disabled):active{transform:translateY(1px) scale(.98)}}
@keyframes notice128{50%{transform:scale(1.08)}}
@media(prefers-reduced-motion:reduce){#hud .badge,#hud .quest-card,#hud .res-chip .v{animation:none!important}#sheets .btn,#sheets .hero-tile,#sheets .tier-chip{transition:none!important}}
.reduce-motion #hud .badge,.reduce-motion #hud .quest-card,.reduce-motion #hud .res-chip .v{animation:none!important}
.reduce-motion #sheets .btn,.reduce-motion #sheets .hero-tile{transition:none!important;transform:none!important}

/* City129: compact command lanes and reward navigation. */
#hud .topbar .res-strip{width:min(680px,calc(100% - 4px));align-self:center;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
#hud .topbar .res-chip{min-width:0;justify-content:flex-start}
#hud .side-right{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;align-items:stretch;width:132px;gap:6px;max-height:calc(100dvh - var(--rail-top108) - 180px - env(safe-area-inset-bottom));padding:2px}
#hud .side-right .rbtn{width:100%;height:64px;min-height:64px;padding:5px 3px;gap:3px}
#hud .side-right .rbtn.hidden{display:none!important}
#hud .side-right .rbtn .ring{width:28px;height:28px;min-height:28px}
#hud .side-right .rbtn .ring .ic,#hud .side-right .rbtn .ring svg{width:25px;height:25px}
#hud .side-right .rbtn .lb{font-size:10px!important;line-height:1.2;max-width:100%}
#hud .side-right .rbtn .badge{right:-9px;top:-3px}
#hud .side-left .side-chip{min-width:100px;min-height:44px;padding:5px 8px 5px 6px}
#hud .side-left .side-chip .k{font-size:10px}
#hud .side-left .side-chip .v{font-size:13px}
#hud .nav{border-radius:19px 19px 0 0!important;min-height:72px}
#hud .nav>button{min-height:56px;border-radius:12px}
#hud .nav>button.on{box-shadow:inset 0 2px #e5c57666;background:linear-gradient(180deg,#d0a95826,transparent)!important}
#hud .world-dock108 .world105{width:62px;height:64px;border-radius:17px}
#hud .world-dock108{width:64px;right:10px}
#hud .world105 .ic{width:30px;height:30px}
#sheets .sheet:focus{outline:none}
#sheets .activity-tabs129{margin-bottom:4px!important}
#sheets .activity-banner129{padding:21px 18px;border-radius:16px;border:1px solid #c8ac6c80;background:radial-gradient(ellipse at top right,#d2ab4a24,transparent 75%),linear-gradient(135deg,#294f5b,#172f3c);box-shadow:inset 0 1px #fff3}
#sheets .activity-kicker129{font-size:10px;font-weight:800;letter-spacing:.16em;color:#dec28b}
#sheets .activity-banner129 h3{font-family:Georgia,serif;font-size:23px;line-height:1.2;color:#f6e8c4;margin:9px 0}
#sheets .activity-banner129 p{margin:0;color:#c3d7d7;font-size:13px;line-height:1.5}
#sheets .activity-grid129{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#sheets .activity-tile129{display:flex;align-items:center;gap:12px;position:relative;min-width:0;width:100%;min-height:104px;padding:14px 12px;border:1px solid #a6b8ac4d;border-radius:13px;background:linear-gradient(140deg,#34515b,#213b47);color:#f4e9d2;text-align:left;box-shadow:inset 0 1px #fff1,0 3px 7px #06141d33;cursor:pointer;touch-action:manipulation}
#sheets .activity-grid129 .activity-tile129{flex-direction:column;align-items:flex-start;gap:10px;min-height:168px}
#sheets .activity-icon129{display:grid;place-items:center;flex:none;width:38px;height:38px;background:#c4a7681a;border:1px solid #d9c3884d;border-radius:11px;color:#e9cc82}
#sheets .activity-icon129 .ic,#sheets .activity-icon129 svg{width:25px;height:25px}
#sheets .activity-copy129{display:flex;flex:1;min-width:0;flex-direction:column;gap:6px}
#sheets .activity-copy129 b{font-size:15px;line-height:1.25;color:#f3e7c8}
#sheets .activity-copy129>span{font-size:12px;line-height:1.4;color:#bcd0d2}
#sheets .activity-copy129 small{color:#dbbf86;font-size:11px;line-height:1.3}
#sheets .activity-tile129>.ic{width:17px;height:17px;flex:none;color:#a4bfbe}
#sheets .activity-grid129 .activity-tile129>.ic{position:absolute;right:11px;top:22px}
#sheets .activity-tile129.ready129{border-color:#ddc17c;background:linear-gradient(135deg,#455547,#233c3d)}
#sheets .activity-tile129.ready129 small{color:#a6e6bc}
#sheets .activity-footer129{display:flex;gap:8px;align-items:flex-start;font-size:11px;color:#a8c1c4;line-height:1.5;padding:0 3px}
#sheets .activity-footer129 .ic{width:16px;height:16px;flex:none}
#sheets .activity-progress129{display:flex;justify-content:space-between;gap:12px;align-items:center}
#sheets .login-grid129{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#sheets .login-day129{min-width:0;margin:0;padding:12px;gap:10px}
#sheets .login-day129 .reward{flex-wrap:wrap;gap:5px;font-size:11px}
#sheets .login-day129 .btn{width:100%;font-size:12px;min-height:44px}
#sheets .login-day129 .row .ic{width:19px;height:19px;color:#b8c8ba}
#sheets .login-day129.ready129{border-color:#d7b464!important;box-shadow:inset 0 2px #dfc17b!important}
#sheets .login-day129.claimed129{opacity:.72}
#sheets .login-day129:last-child{grid-column:1/-1;background:linear-gradient(130deg,#5a5136,#2b4345)!important}
#sheets .progression87 .bar{min-height:7px}
@media(min-width:800px){#hud .topbar .res-strip{align-self:flex-start;margin-left:62px;width:min(680px,calc(100% - 240px))}#hud .topbar{background:linear-gradient(180deg,#162c36d9,transparent 110%)}#hud .side-right{width:148px}#hud .side-right .rbtn{height:68px;min-height:68px}#hud .side-right .rbtn .lb{font-size:11px!important}}
@media(max-width:350px){#hud .side-right{width:116px;gap:4px}#hud .side-right .rbtn{min-height:60px;height:60px}#hud .side-right .rbtn .lb{font-size:9px!important}#hud .side-left .side-chip{min-width:94px}#sheets .activity-banner129{padding:16px 14px}#sheets .activity-banner129 h3{font-size:21px}#sheets .activity-grid129{gap:8px}#sheets .activity-tile129{padding:12px 10px}#sheets .activity-copy129 b{font-size:14px}}
@media(max-height:600px) and (min-width:600px){#hud .side-right{grid-template-columns:repeat(3,minmax(0,1fr));width:204px;max-height:calc(100dvh - var(--rail-top108) - 90px)}#hud .side-right .rbtn{height:58px;min-height:58px}#hud .side-right .rbtn .ring{width:23px;height:23px;min-height:23px}#hud .side-right .rbtn .lb{font-size:9px!important}}
@media(hover:hover) and (pointer:fine){#sheets .activity-tile129:hover{border-color:#dac28e;filter:brightness(1.06)}}
@media(prefers-reduced-motion:reduce){#sheets .activity-tile129{transition:none}}

#hud .side-right .rbtn.storm-chip{grid-column:1/-1;flex-direction:row;min-height:40px;height:40px;gap:7px;padding:5px 8px}
#hud .side-right .storm-chip .ring{width:23px;min-height:23px;height:23px}
#hud .side-right .storm-chip .lb{display:block;overflow:visible;white-space:normal;font-size:10px!important;text-align:left;max-width:none;-webkit-line-clamp:unset;flex:1}
#hud .side-right .storm-chip .lb>span{display:inline}

/* City130 — WoS reference hierarchy: floating event art; separate permanent utilities. */
#hud .side-right{display:flex!important;flex-direction:column!important;width:64px!important;gap:10px!important;align-items:center!important;max-height:calc(100dvh - var(--rail-top108) - 280px)!important;right:7px;padding:2px!important}
#hud .side-right .rbtn,#hud .utility-rail130 .rbtn{display:flex;flex-direction:column;align-items:center;justify-content:center;width:60px;height:62px;min-height:62px;gap:0;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;backdrop-filter:none!important;color:#fff4d9!important;isolation:isolate}
#hud .side-right .rbtn .ring,#hud .utility-rail130 .rbtn .ring{position:relative;display:grid;place-items:center;width:44px;height:44px;min-height:44px;background:transparent!important;border:0!important;box-shadow:none!important}
#hud .side-right .rbtn .ring .ic,#hud .side-right .rbtn .ring svg,#hud .utility-rail130 .rbtn .ring .ic,#hud .utility-rail130 .rbtn .ring svg{width:42px;height:42px;filter:drop-shadow(0 2px 2px #10242dbb)}
#hud .side-right .rbtn .lb,#hud .utility-rail130 .rbtn .lb{font-size:10px!important;font-weight:800;line-height:1.2;max-width:62px;color:#fff8e8!important;text-shadow:0 1px 2px #152c35,1px 0 2px #152c35,-1px 0 2px #152c35,0 -1px 2px #152c35;white-space:normal;display:block;overflow:visible;-webkit-line-clamp:unset}
#hud .side-right .rbtn .badge,#hud .utility-rail130 .badge{position:absolute;top:1px;right:-2px;min-width:15px;height:15px;font-size:9px;line-height:13px;border-radius:8px;background:#c74b52;color:white;border:1px solid #ffe1ba}
#hud .utility-rail130{position:absolute;right:8px;bottom:calc(var(--nav-height108) + 94px + env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:center;gap:6px;width:62px;pointer-events:auto}
#hud .utility-rail130 .rbtn{min-height:54px;height:54px}
#hud .utility-rail130 .rbtn .ring,#hud .utility-rail130 .rbtn .ring .ic,#hud .utility-rail130 .rbtn .ring svg{width:36px;min-height:36px;height:36px}
#hud .vip-top130{display:flex;align-items:center;justify-content:center;gap:2px;background:linear-gradient(#dcc589,#a9823f)!important;border:1px solid #f3dfad!important;border-radius:5px!important;color:#352819!important;min-width:46px;min-height:27px;height:27px;padding:2px 5px!important;box-shadow:inset 0 1px #fff6}
#hud .vip-top130 .ring{width:17px;height:17px;position:relative;display:flex}
#hud .vip-top130 .ic,#hud .vip-top130 svg{width:16px;height:16px}
#hud .vip-top130 .lb{font-size:10px;font-weight:900}
#hud .vip-top130 .badge{position:absolute;right:-5px;top:-6px;background:#be3e49;border-radius:50%;font-size:9px;color:white}
#hud .operations130{display:flex;flex-direction:column;gap:6px;pointer-events:auto;max-width:128px}
#hud .operations130 .rbtn{display:flex;flex-direction:row;align-items:center;gap:5px;width:118px;min-height:36px;height:auto;padding:5px 7px;border:1px solid #a6bba566;border-radius:8px;background:#203f49df;color:#f2e5c6;box-shadow:0 2px 4px #10232e33}
#hud .operations130 .ring{position:relative;display:flex;width:22px;height:22px;flex:none}
#hud .operations130 .ic,#hud .operations130 svg{width:22px;height:22px}
#hud .operations130 .lb{font-size:10px;font-weight:700;line-height:1.3;text-align:left;white-space:normal}
#hud .operations130 .hidden{display:none!important}
@media(max-width:350px){#hud .topbar .who{min-width:0}#hud .topbar .who .nm{max-width:90px;overflow:hidden;text-overflow:ellipsis}#hud .vip-top130{min-width:40px;padding:2px!important}#hud .side-right{right:3px!important;width:58px!important}#hud .operations130 .rbtn{width:106px}}
@media(max-height:600px){#hud .side-right{gap:3px!important;max-height:calc(100dvh - var(--rail-top108) - 95px)!important}#hud .side-right .rbtn{height:52px;min-height:52px}#hud .utility-rail130{right:80px;bottom:calc(var(--nav-height108) + 12px);flex-direction:row;width:auto}#hud .operations130{max-width:220px;flex-direction:row}#hud .operations130 .rbtn{width:105px}}
#hud .tb-main .vip-top130 .lb{display:block!important;color:#352819!important;font-size:10px!important;line-height:1.2!important;text-shadow:none!important}
#hud .hud-left108 .operations130 .rbtn{background:linear-gradient(#31515bea,#1e3844e8)!important;border:1px solid #b8bd9766!important;border-radius:8px!important;box-shadow:0 2px 4px #10232e33!important;min-height:36px!important;height:auto!important;width:118px!important;padding:5px 7px!important;display:flex!important;flex-direction:row!important;color:#f2e5c6!important}
#hud .hud-left108 .operations130 .rbtn .lb{display:block!important;color:#f2e5c6!important;font-size:10px!important;line-height:1.3!important;text-shadow:none!important}
#hud .hud-left108 .operations130 .rbtn .ring{background:transparent!important;border:0!important;box-shadow:none!important;width:22px!important;min-height:22px!important;height:22px!important}
#hud .hud-left108 .operations130 .rbtn .ring .ic,#hud .hud-left108 .operations130 .rbtn .ring svg{width:22px!important;height:22px!important}
@media(max-width:350px){#hud .hud-left108 .operations130 .rbtn{width:106px!important}}
#hud .tb-main .vip-top130{flex-direction:row!important;gap:3px!important;overflow:visible!important}
#hud .tb-main .vip-top130 .ring{width:16px!important;height:16px!important;min-height:16px!important;flex:0 0 16px!important;display:flex!important;align-items:center;background:transparent!important;border:0!important;box-shadow:none!important}
#hud .tb-main .vip-top130 .ring .ic,#hud .tb-main .vip-top130 .ring svg{width:16px!important;height:16px!important}
#hud .tb-main .vip-top130 .lb{height:auto!important;min-height:12px!important;flex:0 0 auto!important}

/* City131: compact top status, explicit workforce, restrained interaction motion. */
#hud{--rail-top108:calc(168px + env(safe-area-inset-top))}
#hud .topbar .status-strip131{display:grid;grid-template-columns:.8fr .72fr 1.55fr;gap:5px;width:min(680px,100%);align-self:center;margin:6px 0 0;pointer-events:auto}
#hud .status-strip131 .side-chip{display:flex;align-items:center;justify-content:flex-start;gap:5px;min-width:0;width:100%;height:44px;min-height:44px;padding:4px 6px;border:1px solid #b4c1b05c;border-radius:8px;background:linear-gradient(#294752ed,#1b333ee8);color:#f3e7cb;box-shadow:inset 0 1px #ffffff12;overflow:hidden}
#hud .status-strip131 .side-chip>.ic{width:22px;height:22px;flex:0 0 22px}
#hud .status-strip131 .side-chip svg{width:22px;height:22px}
#hud .status-strip131 .stack{display:flex;flex-direction:column;min-width:0;gap:1px;align-items:flex-start}
#hud .status-strip131 .v{font-size:12px;line-height:1.2;font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums}
#hud .status-strip131 .k{font-size:10px;line-height:1.2;color:#c8d5cf;white-space:nowrap}
#hud .status-strip131 .workers131 .v{font-size:11px}
#hud .status-strip131 .workers131 .k{font-size:9px}
#hud .status-strip131 .low{border-color:#d98069;background:linear-gradient(#563c3d,#342f39)}
#hud .hud-left108 .side-left:empty{display:none}
#hud .side-right .rbtn .ring,#hud .utility-rail130 .rbtn .ring{transition:transform 150ms ease-out,filter 150ms ease-out;transform-origin:50% 70%}
#hud .side-right .rbtn:active .ring,#hud .utility-rail130 .rbtn:active .ring{transform:scale(.91) translateY(1px);filter:brightness(1.15)}
#hud button:active:not(:disabled){transition-duration:70ms}
#sheets .sheet-wrap.in .sheet{transition:transform 190ms cubic-bezier(.2,.75,.2,1),opacity 150ms ease-out}
#sheets .sheet-head .icon-btn:active{transform:scale(.92)}
@media(min-width:800px){#hud .topbar .status-strip131{align-self:flex-start;margin-left:62px;width:min(680px,calc(100% - 240px))}#hud .status-strip131 .workers131 .v{font-size:12px}}
@media(max-width:350px){#hud .status-strip131{grid-template-columns:.7fr .65fr 1.65fr!important;gap:4px!important}#hud .status-strip131 .side-chip{padding:4px;gap:3px}#hud .status-strip131 .side-chip>.ic,#hud .status-strip131 .side-chip svg{width:18px;height:18px;flex-basis:18px}#hud .status-strip131 .v{font-size:11px}#hud .status-strip131 .workers131 .v{font-size:10px}#hud .status-strip131 .k{font-size:9px}}
@media(max-height:600px) and (min-width:600px){#hud{--rail-top108:calc(160px + env(safe-area-inset-top))}#hud .topbar .status-strip131{width:min(570px,calc(100% - 100px));align-self:flex-start;margin-left:56px}#hud .status-strip131 .side-chip{height:38px;min-height:38px}}
@media(hover:hover) and (pointer:fine){#hud .side-right .rbtn:hover .ring,#hud .utility-rail130 .rbtn:hover .ring{transform:translateY(-2px);filter:brightness(1.1)}}
@media(prefers-reduced-motion:reduce){#hud .rbtn .ring,#sheets .sheet-wrap.in .sheet{transition:none!important}#hud .rbtn:active .ring,#hud .rbtn:hover .ring{transform:none!important}}

/* City132 — unified frost-blue HUD, compact header and six-position footer. */
#hud{--rail-top108:calc(116px + env(safe-area-inset-top));--nav-height108:68px;--dock-space108:250px}
#hud .topbar.hud-header132{position:absolute;top:0;left:0;right:auto;width:min(600px,100%);display:flex;flex-direction:column;gap:0;padding:calc(4px + env(safe-area-inset-top)) 6px 4px;background:linear-gradient(180deg,#65859bf5,#526f88ec 65%,#58748bb3);border:0;border-bottom:1px solid #cbdde2a6;border-radius:0 0 9px 0;box-shadow:0 2px 6px #223e5026;box-sizing:border-box;pointer-events:auto;color:#fff6da;backdrop-filter:none}
#hud .topbar.hud-header132 .tb-main{display:grid;grid-template-columns:44px minmax(50px,1fr) 46px 106px;align-items:center;gap:6px;min-height:44px;padding:0;margin:0;background:none}
#hud .topbar.hud-header132 .avatar{width:44px;height:44px;min-height:44px;border:2px solid #edd6a2;border-radius:8px;background:#d9d8c8;box-shadow:inset 0 0 0 1px #fff6,0 1px 3px #233b4c80;padding:0;overflow:visible;position:relative}
#hud .topbar.hud-header132 .av-img{display:block;width:100%;height:100%;border-radius:5px;overflow:hidden}
#hud .topbar.hud-header132 .av-img img{width:100%;height:100%;object-fit:cover}
#hud .topbar.hud-header132 .avatar .lvl{position:absolute;bottom:-4px;left:50%;transform:translateX(-50%);min-width:27px;height:14px;line-height:12px;font-size:9px;border-radius:4px;border:1px solid #f3dfac;background:#d4b675;color:#3a2b19}
#hud .topbar.hud-header132 .who{display:flex;flex-direction:column;gap:2px;min-width:0;align-self:center;text-shadow:0 1px 1px #24425e80}
#hud .topbar.hud-header132 .who .nm{font-family:system-ui,sans-serif;font-weight:800;font-size:12px;line-height:16px;max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#fff7df;letter-spacing:0}
#hud .topbar.hud-header132 .who .pow{display:flex;align-items:center;gap:4px;font-family:system-ui,sans-serif;font-size:12px;line-height:16px;font-weight:800;color:#fff2c8;background:none;border:0;padding:0;box-shadow:none;white-space:nowrap}
#hud .topbar.hud-header132 .who .pow .ic,#hud .topbar.hud-header132 .who .pow svg{width:15px;height:15px}
#hud .topbar.hud-header132 .gem-pill{height:30px;min-height:30px;display:flex;align-items:center;justify-content:flex-end;gap:4px;border:0;border-radius:5px;background:#3d5b7c99;box-shadow:inset 0 1px #dcebf129;padding:3px 5px;color:#fff8e4;font-size:12px;white-space:nowrap}
#hud .topbar.hud-header132 .gem-pill>.ic,#hud .topbar.hud-header132 .gem-pill svg{width:19px;height:19px;filter:none}
#hud .topbar.hud-header132 .gem-pill .plus{font-size:21px;line-height:22px;color:#b9ef9b;background:none;box-shadow:none;border:0;width:17px;height:23px;border-radius:0;font-weight:900}
#hud .topbar.hud-header132 .vip-top130{min-width:0;width:46px;height:27px;min-height:27px;box-shadow:inset 0 1px #fff6!important;border:1px solid #f2daa7!important;background:linear-gradient(#efdaa6,#cfad69)!important;border-radius:4px!important}
#hud .topbar.hud-header132 .res-strip{align-self:stretch;width:100%;margin:4px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;background:#38597970;border-top:1px solid #d4e2e333;border-bottom:1px solid #c1d3df55;border-radius:0}
#hud .topbar.hud-header132 .res-chip{display:flex;align-items:center;justify-content:center;gap:4px;width:100%;min-width:0;height:24px;min-height:24px;margin:0;padding:2px 3px!important;border:0!important;border-right:1px solid #dce7e32e!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;color:#fff7dd;text-shadow:0 1px 1px #18385166}
#hud .topbar.hud-header132 .res-chip:last-child{border-right:0!important}
#hud .topbar.hud-header132 .res-chip>.ic,#hud .topbar.hud-header132 .res-chip>.ic svg{width:17px;height:17px;flex-basis:17px;filter:drop-shadow(0 1px 1px #1a334380)}
#hud .topbar.hud-header132 .res-chip .stack{display:block;min-width:0}
#hud .topbar.hud-header132 .res-chip .v{font-size:11px;font-weight:800;line-height:18px;white-space:nowrap;font-variant-numeric:tabular-nums}
#hud .topbar.hud-header132 .res-chip .s,#hud .topbar.hud-header132 .res-chip:after{display:none!important}
#hud .topbar.hud-header132 .status132{display:grid;grid-template-columns:.65fr .6fr 1.65fr;width:100%;align-self:stretch;gap:0;margin:0;padding:0;background:none}
#hud .topbar.hud-header132 .status132 .side-chip{height:28px;min-height:28px;padding:2px 4px;gap:4px;align-items:center;justify-content:center;background:transparent;border:0;border-right:1px solid #dce7e32e;border-radius:0;box-shadow:none;color:#fff6df;overflow:visible}
#hud .topbar.hud-header132 .status132 .side-chip:last-child{border-right:0}
#hud .topbar.hud-header132 .status132 .side-chip>.ic,#hud .topbar.hud-header132 .status132 .side-chip>.ic svg{width:16px;height:16px;flex-basis:16px;filter:brightness(1.15)}
#hud .topbar.hud-header132 .status132 .stack{display:flex;flex-direction:row;gap:4px;align-items:center;flex-wrap:nowrap}
#hud .topbar.hud-header132 .status132 .v{font-size:10px;line-height:13px;font-weight:800;color:#fff4d5}
#hud .topbar.hud-header132 .status132 .k{font-size:9px;line-height:12px;color:#e0e9e4;font-weight:600}
#hud .topbar.hud-header132 .status132 .workers131 .stack{flex-direction:column;align-items:flex-start;gap:0}
#hud .topbar.hud-header132 .status132 .workers131 .v{font-size:10px}
#hud .topbar.hud-header132 .status132 .workers131 .k{font-size:8px}
#hud .topbar.hud-header132 .status132 .low{color:#ffe0c0;background:#7e3c3e88}
#hud .topbar.hud-header132 .status132 .breath .k,#hud .topbar.hud-header132 .status132 .hope .k{display:none}
#hud .hud-left108{left:4px;top:var(--rail-top108);gap:6px}
#hud .hud-left108 .operations130{gap:7px;max-width:124px}
#hud .hud-left108 .operations130 .rbtn{border-radius:0 7px 7px 0!important;border:0!important;border-left:2px solid #d7c18b!important;background:linear-gradient(90deg,#54768cdd,#54768c66)!important;box-shadow:none!important;width:113px!important;padding:5px 6px!important;min-height:36px!important;gap:6px!important}
#hud .hud-left108 .operations130 .rbtn .lb{font-size:10px!important;color:#fff7df!important;text-shadow:0 1px 1px #20374d66!important}
#hud .side-right{right:2px!important;width:64px!important;gap:11px!important;top:var(--rail-top108);padding:0!important;max-height:calc(100dvh - var(--rail-top108) - 255px)!important}
#hud .side-right .rbtn{min-height:61px;height:61px;width:62px}
#hud .side-right .rbtn .ring{height:43px;min-height:43px;width:43px}
#hud .side-right .rbtn .ring .ic,#hud .side-right .rbtn .ring svg{width:41px;height:41px;filter:drop-shadow(0 2px 1px #2e455d99)}
#hud .side-right .rbtn .lb{font-size:10px!important;color:#fff6dd!important;line-height:12px;max-width:62px;text-shadow:0 1px 2px #223c51,1px 0 1px #223c51,-1px 0 1px #223c51}
#hud .nav.nav132{position:absolute;left:50%;bottom:0;right:auto;transform:translateX(calc(-50% - 32px));display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:min(576px,calc(100% - 64px));max-width:none;min-height:68px;height:calc(68px + env(safe-area-inset-bottom));margin:0;padding:0 0 env(safe-area-inset-bottom);gap:0;border:0;border-top:1px solid #d9e4df!important;border-radius:0!important;background:linear-gradient(180deg,#829db5f5,#4f6c8cf7)!important;box-shadow:0 -2px 8px #28455c33!important;overflow:visible}
#hud .nav.nav132>button{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:64px;height:64px;padding:4px 1px 2px;gap:0;border:0!important;border-right:1px solid #dce8e121!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#fff7df;position:relative}
#hud .nav.nav132>button .ic,#hud .nav.nav132>button .ic svg{width:36px;height:36px;filter:drop-shadow(0 2px 1px #20395377)}
#hud .nav.nav132 .lbl{display:block;font-family:system-ui,sans-serif;font-size:10px!important;font-weight:800;line-height:15px;color:#fff8e5;text-shadow:0 1px 1px #293f5580;letter-spacing:-.02em;white-space:nowrap}
#hud .nav.nav132>button.on{background:linear-gradient(180deg,#f6e5b43b,transparent)!important;box-shadow:inset 0 2px #f0d398!important}
#hud .nav.nav132 .badge{right:9px;top:4px;min-width:15px;height:15px;font-size:9px;border-radius:8px;line-height:13px;background:#c94d53!important;border:1px solid #f8dfb9;color:#fff8e6;box-shadow:0 1px 2px #344b6066}
#hud .nav.nav132>button.locked{opacity:.58}
#hud .nav.nav132 .lk{width:12px;height:12px;position:absolute;right:7px;bottom:22px}
#hud .world-dock108{right:max(0px,calc((100% - 640px)/2));bottom:0;width:64px;gap:10px}
#hud .world-dock108 .world105{height:calc(68px + env(safe-area-inset-bottom));min-height:68px;width:64px;padding:3px 1px calc(3px + env(safe-area-inset-bottom));gap:0;border:0;border-top:1px solid #e3e9dc;border-radius:0;background:linear-gradient(#aac0cf,#6e8eaa)!important;color:#fff7da;box-shadow:inset 1px 0 #e2e7d670;justify-content:center}
#hud .world-dock108 .world105 .ic,#hud .world-dock108 .world105 svg{height:39px;width:39px;filter:drop-shadow(0 2px 1px #2b455c66)}
#hud .world-dock108 .world105>span:last-child{font-family:system-ui,sans-serif;font-size:10px;font-weight:800;text-shadow:0 1px 1px #233e56}
#hud .utility-rail130{right:3px;bottom:calc(87px + env(safe-area-inset-bottom));gap:9px;width:57px}
#hud.world-mode119 .utility-rail130{bottom:calc(274px + env(safe-area-inset-bottom))}
#hud .utility-rail130 .rbtn{width:54px;min-height:49px;height:49px}
#hud .utility-rail130 .rbtn .lb{font-size:9px!important}
#hud .utility-rail130 .rbtn .ring,#hud .utility-rail130 .rbtn .ring svg,#hud .utility-rail130 .rbtn .ring .ic{width:34px;height:34px;min-height:34px}
#hud .quest-card{position:absolute;left:6px;right:68px;bottom:calc(80px + env(safe-area-inset-bottom));max-width:430px;width:auto;min-height:48px;height:auto;display:flex;align-items:stretch;border:1px solid #dce4d1a6;border-left:3px solid #e5cc8d;border-radius:5px;background:linear-gradient(90deg,#5e7d94e8,#7590a6cd);box-shadow:0 2px 5px #29455933;padding:0;overflow:hidden}
#hud .quest-card .goal-main110{display:flex;flex:1;min-width:0;flex-direction:column;justify-content:center;gap:2px;padding:6px 8px!important;background:none;border:0;color:#fff9df;text-align:left}
#hud .quest-card .goal-main110>small,#hud .quest-card .goal-detail110{display:none!important}
#hud .quest-card .goal-main110>b{font-family:system-ui,sans-serif;font-size:12px;line-height:15px;color:#fff7da;font-weight:800;text-shadow:0 1px 1px #31465c55;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#hud .quest-card .goal-bottom110{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:10px;color:#e4eddf}
#hud .quest-card .goal-bottom110 strong{background:none!important;border:0!important;padding:0!important;color:#f8e0a4;font-size:10px;font-weight:800}
#hud .quest-card .goal-book110{width:40px;flex:0 0 40px;background:#3d5f7c66;border:0;border-left:1px solid #d2dec652;color:#ffe4a7}
#hud .quest-card .goal-book110 .ic,#hud .quest-card .goal-book110 svg{width:25px;height:25px}
#hud .topbar.hud-header132 button{touch-action:manipulation}
@media(max-width:350px){#hud .topbar.hud-header132 .tb-main{grid-template-columns:42px minmax(35px,1fr) 42px 97px;gap:4px}#hud .topbar.hud-header132 .avatar{width:42px;height:42px}#hud .topbar.hud-header132 .who .nm,#hud .topbar.hud-header132 .who .pow{font-size:11px}#hud .topbar.hud-header132 .gem-pill{font-size:11px;gap:3px}#hud .topbar.hud-header132 .vip-top130{width:42px}#hud .nav.nav132 .lbl{font-size:9px!important}#hud .nav.nav132>button .ic,#hud .nav.nav132>button .ic svg{width:31px;height:34px}}
@media(min-width:800px){#hud .topbar.hud-header132{left:10px;top:6px;border-radius:7px;width:560px;padding:5px 8px}#hud .topbar.hud-header132 .tb-main{grid-template-columns:46px minmax(80px,1fr) 54px 126px}#hud .topbar.hud-header132 .res-chip{height:25px;min-height:25px}#hud .topbar.hud-header132 .res-chip .v{font-size:12px}#hud .topbar.hud-header132 .status132 .v{font-size:11px}#hud .topbar.hud-header132 .status132 .k{font-size:10px}#hud .nav.nav132 .lbl{font-size:12px!important}#hud .side-right{right:8px!important}#hud .hud-left108{left:10px}}
@media(max-height:600px) and (min-width:600px){#hud{--rail-top108:116px}#hud .topbar.hud-header132{width:490px;left:4px;top:0;padding:3px 6px}#hud .topbar.hud-header132 .tb-main{min-height:39px;grid-template-columns:39px minmax(50px,1fr) 46px 110px}#hud .topbar.hud-header132 .avatar{height:38px;width:38px}#hud .topbar.hud-header132 .res-chip{height:22px;min-height:22px}#hud .topbar.hud-header132 .status132 .side-chip{min-height:25px;height:25px}#hud .side-right{top:8px!important;max-height:calc(100dvh - 88px)!important;gap:4px!important}#hud .side-right .rbtn{height:54px;min-height:54px}#hud .utility-rail130{right:76px;bottom:79px;flex-direction:row;width:auto}#hud.world-mode119 .utility-rail130{bottom:79px;right:144px}#hud .hud-left108 .operations130{flex-direction:row;max-width:250px}#hud .hud-left108 .operations130 .rbtn{width:111px!important}#hud .quest-card{left:8px;right:210px;max-width:430px}}
@media(hover:hover) and (pointer:fine){#hud .nav.nav132>button:hover{background:#e1eced20!important}#hud .topbar.hud-header132 button:hover{filter:brightness(1.08)}}
@media(prefers-reduced-motion:reduce){#hud .nav132 button,#hud .hud-header132 button{transition:none!important}}
#hud .topbar.hud-header132{background:linear-gradient(180deg,#6989a1,#56748c)!important}
#hud .nav.nav132>button>.ic{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;flex:0 0 36px!important;max-width:none!important;display:flex!important;align-items:center;justify-content:center}
#hud .nav.nav132>button>.ic svg{width:36px!important;height:36px!important;min-width:36px!important;max-width:none!important}
#hud .quest-card{min-height:48px!important;max-height:58px!important;height:48px!important;background:linear-gradient(90deg,#5e7d94f5,#7894aaee)!important;border-radius:4px!important;box-shadow:0 2px 5px #29455933!important;border-color:#dce4d1a6!important;border-left:3px solid #e5cc8d!important}
#hud .quest-card .goal-main110{min-height:0!important;height:46px!important;align-items:flex-start!important;justify-content:center!important}
#hud .quest-card .goal-book110{min-height:0!important;height:46px!important;width:40px!important;flex-basis:40px!important;background:#3d5f7c66!important;box-shadow:none!important}
#hud .quest-card .goal-bottom110{width:100%;min-height:12px;line-height:12px}
#hud .quest-card::before,#hud .quest-card::after{display:none!important}
@media(max-width:350px){#hud .nav.nav132>button>.ic,#hud .nav.nav132>button>.ic svg{width:32px!important;min-width:32px!important;height:34px!important;min-height:34px!important;flex-basis:34px!important}}
@media(max-width:799px) and (min-height:601px){#hud{--rail-top108:calc(101px + env(safe-area-inset-top))}#hud .topbar.hud-header132 .tb-main{min-height:38px;grid-template-columns:38px minmax(35px,1fr) 44px 103px;gap:5px}#hud .topbar.hud-header132 .avatar{width:38px;height:38px;min-height:38px}#hud .topbar.hud-header132 .who .nm,#hud .topbar.hud-header132 .who .pow{font-size:11px;line-height:14px}#hud .topbar.hud-header132 .res-strip{margin-top:3px}#hud .topbar.hud-header132 .res-chip{height:22px;min-height:22px}#hud .topbar.hud-header132 .status132 .side-chip{height:22px;min-height:22px;padding-top:0;padding-bottom:0}#hud .topbar.hud-header132 .status132 .workers131 .v{font-size:9px;line-height:11px}#hud .topbar.hud-header132 .status132 .workers131 .k{font-size:8px;line-height:10px}#hud .topbar.hud-header132 .vip-top130{width:44px}#hud .topbar.hud-header132 .gem-pill{font-size:11px;height:27px;min-height:27px}}
@media(max-width:350px) and (min-height:601px){#hud .topbar.hud-header132 .tb-main{grid-template-columns:38px minmax(30px,1fr) 40px 96px;gap:4px}#hud .topbar.hud-header132 .vip-top130{width:40px}}

/* City133 — approved Ottoman navy/brass art, text stays live and localized. */
#hud{--rail-top108:calc(111px + env(safe-area-inset-top));--nav-height108:76px}
#hud .art133{display:block!important;background-image:url('./assets/ui/ottoman-icons133.webp')!important;background-repeat:no-repeat!important;background-size:400% 300%!important;background-position:var(--art-x133) var(--art-y133)!important;flex:none;pointer-events:none;filter:drop-shadow(0 2px 1px #18253177)}
#hud .art133 svg{display:none!important}
#hud .topbar.hud-header132{isolation:isolate;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:calc(7px + env(safe-area-inset-top)) 10px 7px;color:#fff0d0}
#hud .topbar.hud-header132::before{content:'';position:absolute;inset:-2px -2px 0;z-index:-1;pointer-events:none;border:11px solid transparent;border-image:url('./assets/ui/ottoman-frame133.webp') 125 fill / 11px / 0 stretch;filter:drop-shadow(0 2px 2px #0a172c66)}
#hud .topbar.hud-header132 .tb-main{grid-template-columns:42px minmax(35px,1fr) 45px 105px;gap:5px;min-height:42px}
#hud .topbar.hud-header132 .avatar{width:42px;height:42px;min-height:42px;border:2px solid #d9b16b;box-shadow:inset 0 0 0 1px #ffe8a4,0 1px 3px #020b14;background:#6a4c2e;border-radius:7px}
#hud .topbar.hud-header132 .avatar .lvl{background:linear-gradient(#f5dda0,#b88a43);border-color:#f1d69a;color:#302218;font-weight:900;box-shadow:0 1px 2px #0006}
#hud .topbar.hud-header132 .who .nm{font-size:13px;line-height:16px;font-weight:900;letter-spacing:.01em;color:#fff0d1;text-shadow:0 2px 1px #07111b}
#hud .topbar.hud-header132 .who .pow{color:#efd092;font-size:12px;line-height:15px;text-shadow:0 1px 2px #07111b}
#hud .topbar.hud-header132 .gem-pill{border:1px solid #d4ad6680!important;border-radius:5px;background:linear-gradient(#183d48,#102b3b)!important;box-shadow:inset 0 1px #9bb8af40,0 1px 2px #0005;color:#fff0d1}
#hud .topbar.hud-header132 .vip-top130{background:linear-gradient(#fff0b6,#d1aa60 60%,#ae7a30)!important;border:1px solid #f5d48b!important;color:#442b12!important;box-shadow:inset 0 0 0 1px #ac7a3744,0 1px 3px #07111b!important}
#hud .topbar.hud-header132 .res-strip{background:transparent;border-top:0;border-bottom:1px solid #baa06c77;margin-top:3px}
#hud .topbar.hud-header132 .res-chip{height:23px;min-height:23px;border-right-color:#baa06c44!important;color:#f6e4bc;text-shadow:0 1px 1px #0008}
#hud .topbar.hud-header132 .res-chip .v{font-size:11px;font-weight:800}
#hud .topbar.hud-header132 .status132 .side-chip{border-right-color:#baa06c44;color:#e8d29f}
#hud .topbar.hud-header132 .status132 .v{color:#f4e3bd;text-shadow:0 1px #07111b}
#hud .topbar.hud-header132 .status132 .k{color:#c3c4b4}
#hud .hud-left108 .operations130{gap:8px;max-width:126px}
#hud .hud-left108 .operations130 .rbtn{position:relative;isolation:isolate;background:transparent!important;border:0!important;box-shadow:none!important;width:121px!important;min-height:36px!important;padding:4px 8px!important}
#hud .hud-left108 .operations130 .rbtn::before{content:'';position:absolute;inset:0;z-index:-1;border:7px solid transparent;border-image:url('./assets/ui/ottoman-frame133.webp') 125 fill / 7px / 0 stretch;pointer-events:none;filter:drop-shadow(0 2px 1px #07111b55)}
#hud .hud-left108 .operations130 .rbtn .lb{font-size:10px!important;color:#f9e4b9!important;text-shadow:0 1px 1px #0009!important}
#hud .hud-left108 .operations130 .rbtn .ring,#hud .hud-left108 .operations130 .rbtn .ring>.art133{width:27px!important;height:27px!important;min-height:27px!important;flex-basis:27px!important}
#hud .side-right{width:58px!important;right:4px!important;gap:8px!important;top:var(--rail-top108)!important;max-height:calc(100dvh - var(--rail-top108) - 250px)!important}
#hud .side-right .rbtn{width:56px!important;min-height:57px!important;height:57px!important;padding:0!important;gap:0!important;overflow:visible!important}
#hud .side-right .rbtn .ring{width:41px!important;height:41px!important;min-height:41px!important}
#hud .side-right .rbtn .ring>.art133{width:43px!important;height:43px!important;min-width:43px!important;flex-basis:43px!important;filter:drop-shadow(0 2px 1px #07121a66)}
#hud .side-right .rbtn .lb{position:relative;min-width:52px;max-width:58px!important;width:fit-content;max-height:26px;font-family:system-ui,sans-serif;font-size:9px!important;line-height:12px!important;font-weight:800;color:#fff0d0!important;text-shadow:0 1px 2px #0a1420,1px 0 1px #0a1420,-1px 0 1px #0a1420;background:linear-gradient(90deg,#15293700,#152937c9 18%,#152937d9 82%,#15293700);border-radius:3px;padding:1px 2px;white-space:normal;overflow:hidden}
#hud .utility-rail130{width:54px;right:4px;gap:9px;bottom:calc(91px + env(safe-area-inset-bottom))}
#hud .utility-rail130 .rbtn{width:52px;height:52px;min-height:52px;gap:0}
#hud .utility-rail130 .rbtn .ring{width:39px!important;height:39px!important;min-height:39px!important}
#hud .utility-rail130 .rbtn .ring>.art133{width:41px!important;height:41px!important}
#hud .utility-rail130 .rbtn .lb{font-family:system-ui,sans-serif;font-size:9px!important;line-height:12px;color:#ffe7b5!important;min-width:42px;background:linear-gradient(90deg,transparent,#152937ce 20%,#152937ce 80%,transparent);padding:0 2px}
#hud .side-right .badge,#hud .utility-rail130 .badge,#hud .nav.nav132 .badge{background:radial-gradient(circle at 30% 20%,#ed8068,#b1252e 85%)!important;border:1px solid #f5d193!important;color:#fff3d7!important;box-shadow:0 1px 2px #130c18a6!important;font-weight:900}
#hud .nav.nav132{isolation:isolate;background:transparent!important;border:0!important;box-shadow:none!important;min-height:76px;height:calc(76px + env(safe-area-inset-bottom));padding:3px 0 calc(3px + env(safe-area-inset-bottom));overflow:visible}
#hud .nav.nav132::before{content:'';position:absolute;inset:0 -64px 0 0;z-index:-1;pointer-events:none;border:10px solid transparent;border-image:url('./assets/ui/ottoman-frame133.webp') 125 fill / 10px / 0 stretch;filter:drop-shadow(0 -2px 2px #07132255)}
#hud .nav.nav132>button{height:70px;min-height:70px;padding:1px 0 2px;gap:0;border-right:1px solid #b89c6340!important;overflow:visible}
#hud .nav.nav132>button>.art133{width:49px!important;height:49px!important;min-width:49px!important;min-height:49px!important;flex:0 0 49px!important;filter:drop-shadow(0 2px 1px #0008);transform-origin:50% 75%;transition:transform 170ms cubic-bezier(.2,.8,.2,1),filter 150ms ease}
#hud .nav.nav132 .lbl{font-family:system-ui,sans-serif;font-size:10px!important;font-weight:800;color:#ffe9bb;text-shadow:0 1px 2px #030b14;line-height:14px;letter-spacing:-.02em}
#hud .nav.nav132>button.on{box-shadow:inset 0 2px #f3d38a!important;background:radial-gradient(ellipse at 50% 30%,#e4bd5b26,transparent 75%)!important}
#hud .nav.nav132 .badge{top:3px;right:7px}
#hud .world-dock108 .world105{isolation:isolate;background:transparent!important;box-shadow:none!important;border:0!important;height:calc(76px + env(safe-area-inset-bottom));min-height:76px;padding:1px 2px calc(5px + env(safe-area-inset-bottom));gap:0}
#hud .world-dock108 .world105::before{content:'';position:absolute;inset:2px 3px 3px;z-index:-1;border:7px solid transparent;border-image:url('./assets/ui/ottoman-frame133.webp') 125 fill / 7px / 0 stretch;pointer-events:none}
#hud .world-dock108 .world105>.art133{width:51px!important;height:51px!important;min-width:51px!important;flex-basis:51px!important;filter:drop-shadow(0 2px 1px #0008)}
#hud .world-dock108 .world105>span:last-child{font-size:10px;color:#ffe9bb;font-weight:900;line-height:14px;text-shadow:0 1px 2px #030b14}
#hud .quest-card{isolation:isolate;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;bottom:calc(88px + env(safe-area-inset-bottom));left:6px;right:66px}
#hud .quest-card::before{display:block!important;content:'';position:absolute;inset:0;z-index:-1;border:7px solid transparent;border-image:url('./assets/ui/ottoman-frame133.webp') 125 fill / 7px / 0 stretch;pointer-events:none}
#hud .quest-card .goal-main110{padding:5px 10px!important}
#hud .quest-card .goal-main110>b{color:#ffe7b5;font-weight:800}
#hud .quest-card .goal-bottom110{color:#d5cfb8}
#hud .quest-card .goal-book110{background:#172c3f55!important;color:#e8c17c;border-left:1px solid #c0a56566}
#sheets .sheet{background:linear-gradient(145deg,#1c3349,#102235 75%)!important;border:1px solid #b49861!important;box-shadow:0 8px 35px #030d1d80}
#sheets .sheet-head{background:linear-gradient(#29465b,#162e43)!important;border-bottom-color:#bb9b58!important}
#sheets .sheet-head h2{font-family:system-ui,sans-serif;font-weight:800;color:#f4dba7!important;letter-spacing:.01em}
#sheets .sheet-head .icon-btn{color:#ecd29d!important;border-color:#b4986177!important;background:#10273a!important}
#sheets .seg,#sheets .tabs{background:#142c40!important}
#sheets .card,#sheets .item{background:linear-gradient(140deg,#284253,#1b3247)!important;border-color:#b39a5c4d!important}
#sheets .btn.primary{color:#392611!important;background:linear-gradient(#fff0b5,#e1bf75 50%,#be903f)!important;border-color:#ffe3a2!important;box-shadow:inset 0 1px #fff5c9,0 2px 0 #76511e!important}
#sheets .sheet-wrap.in .sheet{transition:transform 200ms cubic-bezier(.18,.8,.22,1),opacity 160ms ease-out}
#hud .nav132 button:active>.art133,#hud .world105:active>.art133{transform:translateY(2px) scale(.9);filter:brightness(1.15)}
#hud .side-right .rbtn:active .ring,#hud .utility-rail130 .rbtn:active .ring{transform:translateY(2px) scale(.9)}
@keyframes hudEnter133{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
#hud.hud-enter133 .hud-header132,#hud.hud-enter133 .side-right,#hud.hud-enter133 .utility-rail130{animation:hudEnter133 420ms cubic-bezier(.2,.7,.2,1) both}
#hud.hud-enter133 .side-right{animation-delay:80ms}
#hud.hud-enter133 .utility-rail130{animation-delay:140ms}
@media(max-width:350px){#hud .topbar.hud-header132{padding-left:8px;padding-right:8px}#hud .topbar.hud-header132 .tb-main{grid-template-columns:38px minmax(30px,1fr) 40px 96px}#hud .nav.nav132>button>.art133{width:43px!important;min-width:43px!important;height:46px!important;min-height:46px!important;flex-basis:46px!important}#hud .nav.nav132 .lbl{font-size:9px!important}#hud .side-right{width:53px!important;right:2px!important}#hud .side-right .rbtn{width:51px!important}#hud .side-right .rbtn .lb{min-width:48px;max-width:53px!important}}
@media(min-width:800px){#hud .topbar.hud-header132{padding:8px 12px}#hud .side-right{width:66px!important;right:8px!important}#hud .side-right .rbtn{height:65px!important;min-height:65px!important;width:64px!important}#hud .side-right .rbtn .ring,#hud .side-right .rbtn .ring>.art133{width:49px!important;height:49px!important;min-height:49px!important}#hud .side-right .rbtn .lb{font-size:10px!important;min-width:59px;max-width:64px!important}#hud .nav.nav132 .lbl{font-size:12px!important}}
@media(max-height:600px) and (min-width:600px){#hud{--rail-top108:115px}#hud .topbar.hud-header132{padding:5px 8px}#hud .side-right{top:6px!important;gap:4px!important}#hud .side-right .rbtn{height:54px!important;min-height:54px!important}#hud .side-right .rbtn .ring,#hud .side-right .rbtn .ring>.art133{width:39px!important;height:39px!important;min-height:39px!important}#hud .utility-rail130{bottom:87px}#hud.world-mode119 .utility-rail130{bottom:87px;right:144px}#hud .quest-card{bottom:87px}}
@media(hover:hover) and (pointer:fine){#hud .nav132 button:hover>.art133,#hud .world105:hover>.art133{transform:translateY(-3px);filter:brightness(1.12) drop-shadow(0 3px 2px #0007)}#hud .side-right .rbtn:hover .ring,#hud .utility-rail130 .rbtn:hover .ring{transform:translateY(-2px) scale(1.04)}}
@media(prefers-reduced-motion:reduce){#hud.hud-enter133 .hud-header132,#hud.hud-enter133 .side-right,#hud.hud-enter133 .utility-rail130{animation:none!important}#hud .art133,#hud .ring,#sheets .sheet-wrap.in .sheet{transition:none!important}#hud button:active>.art133,#hud button:hover>.art133{transform:none!important}}
#hud .quest-card::before{display:block!important;position:absolute!important;inset:0!important;width:auto!important;height:auto!important;min-width:0!important;max-width:none!important;transform:none!important;clip-path:none!important;border:7px solid transparent!important;border-image:url('./assets/ui/ottoman-frame133.webp') 125 fill / 7px / 0 stretch!important;background:none!important;opacity:1!important;animation:none!important}
#hud .quest-card .goal-book110{position:relative;z-index:1}
#hud .side-right .rbtn .lb{min-width:49px;max-width:56px!important;background:linear-gradient(#f9e6b8,#d5b278);color:#3c2818!important;text-shadow:0 1px #fff2!important;border:1px solid #c19a58;clip-path:polygon(7% 0,93% 0,100% 50%,93% 100%,7% 100%,0 50%);font-size:9px!important;line-height:12px!important;padding:1px 3px;letter-spacing:-.025em}
#hud .utility-rail130 .rbtn .lb{background:linear-gradient(#233c4d,#10293c);border:1px solid #b08b4b;clip-path:polygon(7% 0,93% 0,100% 50%,93% 100%,7% 100%,0 50%);padding:1px 3px;color:#ffe4ab!important;min-width:43px;font-weight:800}

/* City134: desktop spans the screen; phone layout stays compact. */
#hud .topbar.hud-header132 .gem-pill .gem-art134{width:22px!important;height:30px!important;min-width:22px;overflow:visible;filter:drop-shadow(0 1px 2px #001326)}
#hud .topbar.hud-header132 .gem-pill .gem-art134 svg{width:100%!important;height:100%!important}
#hud .topbar.hud-header132 .gem-pill{overflow:visible!important;position:relative;border:1px solid #e9c578!important;box-shadow:inset 0 1px #b4d7d060,0 2px 2px #0007!important}
#hud .topbar.hud-header132 .gem-pill .plus{background:linear-gradient(#71a557,#345e39)!important;border:1px solid #ddc57d!important;border-radius:3px;color:#fff0b9;box-shadow:inset 0 1px #b8da8b,0 1px 2px #0008}
#hud .topbar.hud-header132 .who .pow{padding:1px 6px;border:1px solid #ad8c51;border-radius:1px 9px 9px 1px;background:linear-gradient(100deg,#274050,#142d3a);width:fit-content;max-width:100%;box-shadow:inset 0 1px #f8df9a28}
#hud .topbar.hud-header132 .vip-top130{border-radius:4px!important;clip-path:polygon(10% 0,90% 0,100% 17%,100% 83%,90% 100%,10% 100%,0 83%,0 17%);font-weight:900;text-shadow:0 1px #ffe6a0}
#hud .topbar.hud-header132::after{content:'◇';position:absolute;bottom:-11px;left:calc(50% - 10px);font:26px/22px Georgia,serif;color:#e4bf77;text-shadow:0 1px #091a2d,1px 0 #091a2d,-1px 0 #091a2d;pointer-events:none}
#hud .nav.nav132::after{content:'◇';position:absolute;top:-11px;left:60%;font:24px/22px Georgia,serif;color:#e4bf77;text-shadow:0 1px #091a2d;pointer-events:none}
#hud .status132 .side-chip + .side-chip{border-left:1px solid #e5c98b55}
#hud .status132 .side-chip{background:transparent!important}
#hud .nav.nav132>button,#hud .world105,#hud .side-right .rbtn,#hud .utility-rail130 .rbtn{transition:transform 150ms ease,filter 150ms ease!important}
#hud .nav.nav132>button:active,#hud .world105:active{transform:translateY(2px);filter:brightness(1.16)}
@keyframes gleam134{from{opacity:0;transform:translateX(-150%) skewX(-20deg)}25%{opacity:.55}to{opacity:0;transform:translateX(650%) skewX(-20deg)}}
#hud .vip-top130{position:relative;overflow:hidden}
#hud .vip-top130::after{content:'';position:absolute;inset:0 auto 0 0;width:25%;background:linear-gradient(90deg,transparent,#fff8d8,transparent);pointer-events:none;opacity:0}
@media(hover:hover) and (pointer:fine){#hud .vip-top130:hover::after{animation:gleam134 650ms ease-out}#hud .gem-pill:hover .gem-art134{transform:translateY(-2px);filter:brightness(1.2) drop-shadow(0 2px 3px #48bbff88)}}
@media(min-width:1000px) and (min-height:601px){
 #hud .topbar.hud-header132{left:0!important;right:0!important;top:0!important;width:100%!important;max-width:none!important;transform:none!important;display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:4px 20px;padding:8px 22px 10px!important;box-sizing:border-box}
 #hud .topbar.hud-header132 .tb-main{grid-column:1/-1;grid-template-columns:50px minmax(0,1fr) 84px 190px!important;min-height:49px;gap:12px}
 #hud .topbar.hud-header132 .avatar{width:48px;height:48px;min-height:48px}
 #hud .topbar.hud-header132 .who .nm{font-size:18px;line-height:22px}
 #hud .topbar.hud-header132 .who .pow{font-size:14px;line-height:18px;min-width:150px}
 #hud .topbar.hud-header132 .vip-top130{width:84px;height:34px;min-height:34px;font-size:17px}
 #hud .topbar.hud-header132 .gem-pill{height:36px;min-height:36px;font-size:18px;gap:10px}
 #hud .topbar.hud-header132 .gem-pill .gem-art134{width:27px!important;height:38px!important}
 #hud .topbar.hud-header132 .res-strip{margin:0!important;border:0!important;align-self:center}
 #hud .topbar.hud-header132 .res-chip{height:30px;min-height:30px;justify-content:center;gap:9px}
 #hud .topbar.hud-header132 .res-chip .v{font-size:15px}
 #hud .topbar.hud-header132 .res-chip>.ic{width:25px;height:25px}
 #hud .topbar.hud-header132 .status132{margin:0!important;align-self:center}
 #hud .topbar.hud-header132 .status132 .side-chip{height:32px;min-height:32px;justify-content:center}
 #hud .topbar.hud-header132 .status132 .v{font-size:13px}
 #hud .topbar.hud-header132 .status132 .k{font-size:10px}
 #hud .nav.nav132{left:0!important;right:auto!important;bottom:0!important;width:calc(100% * 5 / 6)!important;max-width:none!important;transform:none!important;grid-template-columns:repeat(5,minmax(0,1fr));height:84px;min-height:84px}
 #hud .nav.nav132>button{height:78px;min-height:78px}
 #hud .nav.nav132>button>.art133{width:53px!important;height:53px!important;min-height:53px!important;flex-basis:53px!important}
 #hud .nav.nav132 .lbl{font-size:13px!important}
 #hud .nav.nav132::before{right:-20%!important}
 #hud .world-dock108{right:0!important;width:calc(100% / 6)!important}
 #hud .world-dock108 .world105{width:100%!important;height:84px;min-height:84px}
 #hud .world-dock108 .world105::before{inset:2px 7px 3px}
 #hud .world-dock108 .world105>span:last-child{font-size:13px}
 #hud .side-right{top:124px!important}
 #hud .hud-left108{top:124px!important}
 #hud .utility-rail130{bottom:100px!important}
 #hud.world-mode119 .utility-rail130{bottom:280px!important}
 #hud .quest-card{bottom:98px!important}
}
@media(prefers-reduced-motion:reduce){#hud .vip-top130::after{animation:none!important}#hud .nav.nav132>button,#hud .world105,#hud .side-right .rbtn,#hud .utility-rail130 .rbtn,#hud .gem-art134{transition:none!important;transform:none!important}}

/* City135: one shared navy/brass language for every game sheet. */
#sheets{--panel:#142b3e;--panel2:#203b50;--bg:#102236;--text:#f7e7c3;--muted:#b6c4c8;--line:#a88b515c;--gold:#eac785;--accent:#d9b56f;color:#f4e7cb;color-scheme:dark}
#sheets .sheet-wrap .sheet{background:linear-gradient(145deg,#20394f,#102236 80%)!important;color:#f4e7cb!important;border:1px solid #c6a366!important;border-radius:12px 12px 7px 7px!important;box-shadow:inset 0 0 0 3px #081a2a,inset 0 0 0 4px #8e74434d,0 12px 40px #020b1d99!important}
#sheets .sheet-wrap .sheet .sheet-head{background:linear-gradient(#304c61,#152d42)!important;border-bottom:1px solid #c2a16a!important;box-shadow:inset 0 1px #e7c78d55,0 3px 8px #04101c44!important;color:#f6d89e!important}
#sheets .sheet-wrap .sheet .sheet-head h2{color:#f6d89e!important;text-shadow:0 2px 1px #071422;font-weight:800}
#sheets .sheet-wrap .sheet .sheet-head .icon-btn{background:linear-gradient(#30485c,#11283b)!important;color:#f5d99f!important;border:1px solid #b99a60!important;border-radius:7px!important;box-shadow:inset 0 1px #ffe9a92b,0 2px 3px #0004!important}
#sheets .sheet-wrap .sheet .sheet-body{background:transparent!important;color:#f2e7d0!important;scrollbar-color:#ab8c51 #12283c}
#sheets .sheet-wrap .sheet :is(.card,.item,.mail-item,.stat,.stat-box,.hint,.notice,.info-box,.profile-box,.research-branch,.mil-site-card,.troop-train-card){background:linear-gradient(140deg,#294357,#192f43)!important;border-color:#b59a625c!important;color:#eee2c6;box-shadow:inset 0 1px #b4cbce0b,0 2px 4px #0002}
#sheets .sheet-wrap .sheet :is(.tiny.muted,.muted,.desc,.sub){color:#b8c6ce!important}
#sheets .sheet-wrap .sheet :is(h3,h4,.section-title){color:#e8c887!important;text-shadow:0 1px #071522}
#sheets .sheet-wrap .sheet :is(.tabs,.seg,.p-tabs,.hero-tabs){background:#10263a!important;border-color:#947b4c66!important;box-shadow:inset 0 1px 4px #0004}
#sheets .sheet-wrap .sheet :is(.tabs,.seg,.p-tabs,.hero-tabs)>button{background:linear-gradient(#294356,#1b3044)!important;color:#c6d0d4!important;border-color:#a48a5544!important}
#sheets .sheet-wrap .sheet :is(.tabs,.seg,.p-tabs,.hero-tabs)>button:is(.on,.active,[aria-selected=true]){background:linear-gradient(#f2daa0,#bc934b)!important;color:#302319!important;border-color:#f5d69a!important;box-shadow:inset 0 1px #fff0b9,0 2px 3px #0004!important}
#sheets .sheet-wrap .sheet .btn{background:linear-gradient(#345467,#1c354a)!important;border:1px solid #ac915c!important;color:#f4dfb8!important;box-shadow:inset 0 1px #d9e8df18,0 2px 0 #071625!important;border-radius:7px;transition:filter 130ms ease,transform 130ms ease}
#sheets .sheet-wrap .sheet .btn.primary{background:linear-gradient(#ffedb2,#dfbb71 52%,#b58437)!important;color:#34230f!important;border-color:#f2d28c!important;box-shadow:inset 0 1px #fff9dc,0 2px 0 #76501d!important;text-shadow:0 1px #fff1be66}
#sheets .sheet-wrap .sheet .btn.danger{background:linear-gradient(#783e45,#4a2935)!important;color:#ffe0ce!important;border-color:#ba7971!important}
#sheets .sheet-wrap .sheet .btn:disabled{opacity:.46;filter:saturate(.5);cursor:default}
#sheets .sheet-wrap .sheet :is(input:not([type=range]):not([type=checkbox]),select,textarea){background:#10263a!important;color:#f7e5bd!important;border-color:#a88e58!important;box-shadow:inset 0 2px 4px #020b1766!important}
#sheets .sheet-wrap .sheet :is(input,select,textarea):focus-visible{outline:2px solid #f0d298;outline-offset:2px}
#sheets .sheet-wrap .sheet .mail-item{padding:0!important;border:1px solid #8d7a505c!important;border-radius:8px!important;overflow:hidden}
#sheets .sheet-wrap .sheet .mail-item.unread{border-color:#e1bc70!important;background:linear-gradient(110deg,#344d60,#1d354b)!important;box-shadow:inset 3px 0 #e7c271}
#sheets .sheet-wrap .sheet .mail-open{background:transparent!important;color:#f4e3bf!important;padding:14px 12px!important}
#sheets .sheet-wrap .sheet .mail-del{background:#152b3e!important;border-left:1px solid #8d7a505c!important;color:#baaba0!important}
#sheets .sheet-wrap .sheet .mail-bar{background:transparent!important;gap:8px;padding-bottom:10px}
#sheets .sheet-wrap .sheet :is(.progress,.bar){background:#0c2032!important;border-color:#8a754842!important}
#sheets .sheet-wrap .sheet hr{border-color:#ad92504d!important}
#sheets .sheet-wrap .sheet details{border-color:#ad92504d!important;background:#183044!important}
#sheets .sheet-wrap .sheet summary{color:#ecd29e!important}
@media(hover:hover) and (pointer:fine){#sheets .sheet-wrap .sheet .btn:not(:disabled):hover{filter:brightness(1.13);transform:translateY(-1px)}#sheets .sheet-wrap .sheet .mail-open:hover{background:#47607840!important}}
#sheets .sheet-wrap .sheet .btn:not(:disabled):active{transform:translateY(1px);filter:brightness(1.12)}
@media(prefers-reduced-motion:reduce){#sheets .sheet-wrap .sheet .btn{transition:none!important;transform:none!important}}

/* City136 — world controls, header filigree and phone edge containment. */
#hud{overflow-x:clip}
#hud .topbar.hud-header132::before{inset:0!important}
#hud .topbar.hud-header132::after{content:''!important;position:absolute!important;inset:0 0 -8px!important;width:auto!important;height:auto!important;background:url('./assets/ui/header-filigree136.svg') center/100% 100% no-repeat;font-size:0;z-index:3;pointer-events:none;filter:drop-shadow(0 1px 1px #06132266)}
#hud .world-tools .icon-btn{background:linear-gradient(145deg,#29455a,#102339)!important;color:#f6d89c!important;border:1px solid #d9b876!important;border-radius:8px!important;box-shadow:inset 0 0 0 2px #102236,inset 0 0 0 3px #96774866,0 2px 4px #03101b80!important;transition:transform 140ms ease,filter 140ms ease}
#hud .world-tools .icon-btn:active{transform:scale(.94);filter:brightness(1.18)}
@media(hover:hover) and (pointer:fine){#hud .world-tools .icon-btn:hover{filter:brightness(1.2);transform:translateY(-1px)}}
@media(max-width:999px){
 #hud .nav.nav132{left:0!important;right:64px!important;width:calc(100% - 64px)!important;max-width:none!important;transform:none!important;box-sizing:border-box}
 #hud .nav.nav132::before{inset:0 -64px 0 0!important;border-image-outset:0!important;clip-path:inset(0 0 0 0)}
 #hud .world-dock108{right:0!important;max-width:64px}
 #hud .world-dock108 .world105{max-width:64px;box-sizing:border-box}
 #hud .world-dock108 .world105::before{inset:3px 3px 3px!important}
 #hud .nav.nav132>button{min-width:0!important;box-sizing:border-box}
 #hud .nav.nav132 .lbl{max-width:100%;overflow:hidden;text-overflow:ellipsis}
 #hud .topbar.hud-header132{left:0!important;right:0!important;max-width:100%!important;box-sizing:border-box}
}
@media(max-height:600px) and (min-width:600px) and (max-width:999px){#hud .world-dock108{max-width:none;width:auto}#hud .topbar.hud-header132{max-width:calc(100% - 78px)!important}#hud .nav.nav132{right:64px!important}}
@media(prefers-reduced-motion:reduce){#hud .world-tools .icon-btn{transition:none!important;transform:none!important}}

/* City137 — shaped reference chrome, shared throughout the game. */
#hud .topbar.hud-header132{padding-bottom:11px!important}
#hud .topbar.hud-header132::before{border:20px solid transparent!important;border-image:url('./assets/ui/frame137.svg') 70 80 70 80 fill / 20px / 0 stretch!important;filter:drop-shadow(0 3px 2px #07162480)}
#hud .topbar.hud-header132::after{inset:auto!important;left:calc(50% - 25px)!important;bottom:-9px!important;width:50px!important;height:18px!important;background:url('./assets/ui/crest137.svg') center/100% 100% no-repeat!important;filter:drop-shadow(0 1px #071625)}
#hud .topbar.hud-header132 .who .pow{border:0!important;background:transparent!important;box-shadow:none!important;position:relative;isolation:isolate;padding:3px 10px 3px 5px;min-height:18px}
#hud .topbar.hud-header132 .who .pow::before{content:'';position:absolute;inset:0 -3px 0 0;border:7px solid transparent;border-image:url('./assets/ui/plaque137.svg') 22 fill / 7px / 0 stretch;z-index:-1;pointer-events:none}
#hud .topbar.hud-header132 .avatar{border:2px solid #f0d18e!important;outline:1px solid #755027;outline-offset:1px;border-radius:12px 12px 8px 8px!important;box-shadow:inset 0 0 0 2px #ad7a3b,0 2px 3px #020c16!important;overflow:visible!important;position:relative}
#hud .topbar.hud-header132 .avatar .av-img{overflow:hidden;border-radius:9px 9px 5px 5px}
#hud .topbar.hud-header132 .avatar .lvl{border:1px solid #ffedac!important;bottom:-4px!important;border-radius:2px 2px 7px 7px!important;min-width:25px;text-shadow:0 1px #fff5d060;box-shadow:inset 0 0 0 1px #a97632,0 2px 2px #08132280!important}
#hud .topbar.hud-header132 .res-chip .resource137{width:24px!important;height:24px!important;min-width:24px!important;filter:drop-shadow(0 2px 1px #08132399)}
#hud .topbar.hud-header132 .res-chip .resource137 svg{width:100%!important;height:100%!important}
#hud .topbar.hud-header132 .res-strip{border-bottom:1px solid #dabd7d77!important;padding-bottom:2px}
#hud .topbar.hud-header132 .res-chip{border-right:1px solid #c9b68566!important}
#hud .topbar.hud-header132 .res-chip:last-child{border-right:0!important}
#hud .topbar.hud-header132 .gem-pill{border-radius:3px 8px 8px 3px!important;box-shadow:inset 0 0 0 1px #061c2e,inset 0 0 0 2px #e2c17e66,0 2px 2px #020c1680!important}
#hud .topbar.hud-header132 .vip-top130{border-radius:5px!important;box-shadow:inset 0 0 0 2px #e2b66a,inset 0 0 0 3px #fff1b599,0 2px 3px #051423!important}
#hud .nav.nav132::before{border:14px solid transparent!important;border-image:url('./assets/ui/frame137.svg') 70 80 70 80 fill / 14px / 0 stretch!important;filter:drop-shadow(0 -2px 2px #04142380)}
#hud .nav.nav132::after{content:''!important;top:-7px;left:calc(60% - 17px);width:34px;height:12px;background:url('./assets/ui/crest137.svg') center/100% 100% no-repeat;transform:rotate(180deg);font-size:0}
#hud .nav.nav132>button{border-right:1px solid #bda77555!important;box-shadow:inset -1px 0 #050f1c44}
#hud .world-dock108 .world105::before{border:12px solid transparent!important;border-image:url('./assets/ui/frame137.svg') 70 80 70 80 fill / 12px / 0 stretch!important}
#hud .hud-left108 .operations130 .rbtn::before{border-image:url('./assets/ui/plaque137.svg') 22 fill / 8px / 0 stretch!important}
#hud .hud-left108 .operations130 .rbtn{padding-left:7px!important;padding-right:11px!important}
#hud .world-tools .icon-btn{background:linear-gradient(145deg,#29455a,#102339)!important;border-color:#e5c17d!important;box-shadow:inset 0 0 0 2px #102236,inset 0 0 0 3px #b69a5d80,0 2px 3px #03101b80!important;color:#f6d89c!important}
/* Chrome is shared by all sheets, including nested menus and confirmations. */
#sheets .sheet-wrap .sheet{border:9px solid transparent!important;border-image:url('./assets/ui/frame137.svg') 70 80 70 80 fill / 10px / 0 stretch!important;border-radius:12px!important;background:#132b40!important;box-shadow:0 10px 36px #010a1680!important;box-sizing:border-box;max-width:calc(100vw - 16px)!important}
#sheets .sheet-wrap .sheet .sheet-head{margin:-1px -1px 0;padding:8px 3px 11px;background:linear-gradient(#29465c,#173146)!important;border-bottom:1px solid #c5a66a!important;position:relative}
#sheets .sheet-wrap .sheet .sheet-head::after{content:'';position:absolute;left:calc(50% - 20px);bottom:-7px;width:40px;height:14px;background:url('./assets/ui/crest137.svg') center/100% 100% no-repeat;pointer-events:none;z-index:2}
#sheets .sheet-wrap .sheet .sheet-head h2{font-family:Georgia,'Times New Roman',serif!important;font-size:20px;font-weight:700;line-height:1.2;text-shadow:0 2px #071725,0 0 1px #fff4b944;padding:0 5px}
#sheets .sheet-wrap .sheet .sheet-body{padding-top:16px;background:linear-gradient(135deg,#243e5222,#0b203344)!important;overflow-x:hidden;box-sizing:border-box;min-width:0}
#sheets .sheet-wrap .sheet :is(.card,.item,.mail-item,.stat-box,.info-box){border-radius:8px!important;border:1px solid #b99c625e!important;box-shadow:inset 0 1px #e3cf9730,inset 0 -2px #06172655,0 2px 4px #030d1926!important}
#sheets .sheet-wrap .sheet :is(h3,h4,.section-title){font-family:Georgia,'Times New Roman',serif!important;letter-spacing:.01em}
#sheets .sheet-wrap .sheet .btn{border-radius:3px 8px 3px 8px!important;box-shadow:inset 0 0 0 1px #0c2033,inset 0 0 0 2px #c2a66a45,0 2px 0 #061726!important}
#sheets .sheet-wrap .sheet .btn.primary{box-shadow:inset 0 0 0 1px #9c6c2a,inset 0 0 0 2px #fff1b977,0 3px 0 #77501e!important;border-color:#ffdda0!important}
#sheets .sheet-wrap .sheet :is(.tabs,.seg,.p-tabs)>button{border-radius:3px 7px 3px 7px!important;box-shadow:inset 0 1px #f1d69b22}
#sheets .sheet-wrap .sheet :is(.tabs,.seg,.p-tabs)>button:is(.on,.active,[aria-selected=true]){box-shadow:inset 0 0 0 1px #b18b45,inset 0 0 0 2px #fff1b966!important}
#sheets .sheet-wrap .sheet :is(.realm-tabs110,.reward87-tabs,.shop-tabs,.inv-tabs,.tabs110){background:#132a3e!important;border-color:#ad8d55!important}
#sheets .sheet-wrap .sheet :is(.realm-tabs110,.reward87-tabs,.shop-tabs,.inv-tabs,.tabs110)>button{background:linear-gradient(#304b60,#182f43)!important;color:#f2dfb7!important;border-color:#ab8d5555!important}
#sheets .sheet-wrap .sheet :is(.realm-tabs110,.reward87-tabs,.shop-tabs,.inv-tabs,.tabs110)>button.on{background:linear-gradient(#f5dda3,#ba8c42)!important;color:#33230e!important}
#sheets .sheet-wrap .sheet :is(.royal-banner117,.royal-seal117,.g127-hero,.profile-summary,.mail-bar){border-color:#b99b615e!important;background:linear-gradient(130deg,#2c475b,#162e43)!important}
#sheets .sheet-wrap .sheet :is(input,select,textarea){max-width:100%;box-sizing:border-box}
#sheets .sheet-wrap .sheet :is(.row,.col,.grow){min-width:0}
@keyframes press137{0%{transform:translateY(1px) scale(.96)}55%{transform:translateY(-2px) scale(1.035)}100%{transform:translateY(0) scale(1)}}
@keyframes sheet137{from{opacity:0;transform:scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes badge137{0%,100%{transform:scale(1)}40%{transform:scale(1.17)}70%{transform:scale(.98)}}
#hud .rbtn .ring,#hud .nav.nav132>button>.art133,#hud .world105>.art133{transform-origin:50% 75%;transition:transform 170ms cubic-bezier(.2,.8,.2,1),filter 150ms ease}
#hud .rbtn:focus-visible .ring,#hud .nav.nav132>button:focus-visible>.art133,#hud .world105:focus-visible>.art133{animation:press137 350ms ease-out}
#hud .rbtn:active .ring,#hud .nav.nav132>button:active>.art133,#hud .world105:active>.art133{transform:translateY(2px) scale(.88)!important;filter:brightness(1.15)}
#hud .badge{animation:badge137 450ms ease-out 2}
#sheets .sheet-wrap.in .sheet{animation:sheet137 230ms cubic-bezier(.18,.75,.25,1)}
#sheets .sheet-wrap .sheet button:focus-visible,#hud button:focus-visible{outline:2px solid #ffe3a3!important;outline-offset:2px}
@media(hover:hover) and (pointer:fine){#hud .rbtn:hover .ring{transform:translateY(-3px) rotate(-3deg)}#hud .nav.nav132>button:hover>.art133,#hud .world105:hover>.art133{transform:translateY(-4px) scale(1.06)}#sheets .sheet-wrap .sheet .btn:not(:disabled):hover{filter:brightness(1.15)}}
@media(max-width:999px){
 #hud{overflow-x:clip!important}
 #hud .topbar.hud-header132{left:0!important;right:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box}
 #hud .nav.nav132{left:0!important;right:64px!important;width:calc(100% - 64px)!important;max-width:none!important;transform:none!important}
 #hud .world-dock108{right:0!important;width:64px!important;max-width:64px!important}
 #hud .world-dock108 .world105{width:64px!important;max-width:64px!important}
 #hud .nav.nav132>button{min-width:0;max-width:100%}
 #hud .nav.nav132 .lbl{font-size:10px!important;letter-spacing:-.03em;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #sheets .sheet-wrap .sheet{width:calc(100% - 12px)!important;max-width:calc(100vw - 12px)!important;margin-left:auto!important;margin-right:auto!important;border-width:7px!important}
}
@media(max-width:350px){#hud .nav.nav132 .lbl{font-size:8px!important}#hud .topbar.hud-header132 .res-chip .resource137{width:20px!important;min-width:20px!important;height:20px!important}#hud .topbar.hud-header132 .who .pow{padding-right:7px;font-size:10px}}
@media(prefers-reduced-motion:reduce){#hud .badge,#hud .rbtn .ring,#hud .nav.nav132>button>.art133,#hud .world105>.art133,#sheets .sheet-wrap.in .sheet{animation:none!important;transition:none!important}#hud .rbtn:hover .ring,#hud .rbtn:active .ring,#hud .nav.nav132>button:hover>.art133,#hud .nav.nav132>button:active>.art133,#hud .world105:hover>.art133,#hud .world105:active>.art133{transform:none!important}}

#sheets .sheet-wrap .sheet{max-height:calc(100dvh - 12px - env(safe-area-inset-top))!important;min-height:0!important}
#sheets .sheet-wrap .sheet .sheet-head{flex-shrink:0}
#sheets .sheet-wrap .sheet .sheet-body{min-height:0;flex:1 1 auto;overflow-y:auto}
#sheets .sheet-wrap .sheet :is(.camp-head,.tier-chip,.troop-sum>div,.training112>.col,.training112 .counter112){background:linear-gradient(140deg,#294357,#182e42)!important;border-color:#b49a625c!important}
#sheets .sheet-wrap .sheet .tier-chip.on{background:linear-gradient(#f4dda2,#b78a42)!important;color:#332610!important}
#sheets .sheet-wrap .sheet .troop-sum{grid-template-columns:repeat(4,minmax(0,1fr))!important;max-width:100%}
#sheets .sheet-wrap .sheet .troop-sum>div{min-width:0;overflow-wrap:anywhere}
#sheets .sheet-wrap .sheet .troop-sum b{font-size:clamp(10px,3vw,16px);max-width:100%;overflow-wrap:anywhere}
@media(max-width:350px){#sheets .sheet-wrap .sheet .troop-sum{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

@keyframes iconBreathe137{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}
#hud .side-right .ring>.art133,#hud .utility-rail130 .ring>.art133{animation:iconBreathe137 1600ms ease-in-out 2}
#hud .side-right .rbtn:nth-child(2) .art133{animation-delay:180ms}
#hud .side-right .rbtn:nth-child(3) .art133{animation-delay:360ms}
@media(prefers-reduced-motion:reduce){#hud .side-right .ring>.art133,#hud .utility-rail130 .ring>.art133{animation:none!important}}

/* City138 — balanced header, quiet VIP dot and visible reward sections. */
#hud .topbar.hud-header132 .tb-main{align-items:center}
#hud .topbar.hud-header132 .who{min-width:0;gap:2px;justify-content:center}
#hud .topbar.hud-header132 .gem-pill{display:grid!important;grid-template-columns:22px minmax(0,1fr) 22px!important;gap:4px!important;align-items:center;justify-items:center;padding:2px 4px!important;box-sizing:border-box;min-width:0}
#hud .topbar.hud-header132 .gem-pill>.v{font-variant-numeric:tabular-nums;text-align:center;white-space:nowrap;line-height:1.2}
#hud .topbar.hud-header132 .gem-pill>.plus{display:grid;place-items:center;width:22px;height:22px;min-width:22px;box-sizing:border-box;line-height:20px!important;font-size:22px!important;padding:0!important;align-self:center}
#hud .topbar.hud-header132 .gem-pill>.gem-art134{justify-self:center;width:21px!important;min-width:21px!important;height:29px!important}
#hud .topbar.hud-header132 .vip-top130{overflow:visible!important;clip-path:none!important;position:relative;min-width:0;display:flex;align-items:center;justify-content:center;gap:2px;padding:2px!important}
#hud .topbar.hud-header132 .vip-top130 .badge{position:absolute!important;top:3px!important;right:3px!important;left:auto!important;width:7px!important;height:7px!important;min-width:7px!important;max-width:7px!important;min-height:7px!important;line-height:0!important;font-size:0!important;padding:0!important;border-radius:50%!important;background:#ef4f46!important;border:1px solid #ffceb1!important;box-shadow:0 1px 2px #071423!important;animation:none!important;pointer-events:none}
#hud .topbar.hud-header132 .res-strip{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;align-items:center}
#hud .topbar.hud-header132 .res-chip{min-width:0;justify-content:center!important;gap:4px!important;padding:0 2px!important}
#hud .topbar.hud-header132 .status132{display:grid!important;grid-template-columns:minmax(0,.8fr) minmax(0,.8fr) minmax(0,1.5fr);gap:0;align-items:center}
#hud .topbar.hud-header132 .status132 .side-chip{width:100%!important;min-width:0!important;justify-content:center!important;padding:0 3px!important;box-sizing:border-box}
#hud .topbar.hud-header132 .status132 .stack{min-width:0;line-height:1.15}
#hud .topbar.hud-header132 .status132 .v,#hud .topbar.hud-header132 .status132 .k{font-variant-numeric:tabular-nums;white-space:nowrap}
/* Safe areas: phones with notches/curved display corners retain real touch padding. */
@media(max-width:999px){
 #hud .topbar.hud-header132{padding-top:calc(3px + env(safe-area-inset-top,0px))!important;padding-left:max(10px,env(safe-area-inset-left,0px))!important;padding-right:max(10px,env(safe-area-inset-right,0px))!important;padding-bottom:9px!important}
 #hud .topbar.hud-header132 .tb-main{grid-template-columns:42px minmax(0,1fr) 54px 115px!important;gap:8px!important;min-height:42px!important}
 #hud .topbar.hud-header132 .gem-pill{height:30px!important;min-height:30px!important;font-size:12px!important}
 #hud .topbar.hud-header132 .vip-top130{width:54px!important;min-width:54px!important;height:36px!important;min-height:36px!important;padding:4px 6px!important;font-size:11px!important}
 #hud .topbar.hud-header132 .res-chip{height:22px!important;min-height:22px!important}
 #hud .topbar.hud-header132 .res-strip{margin-top:2px!important;padding-bottom:1px}
 #hud .topbar.hud-header132 .status132 .side-chip{height:22px!important;min-height:22px!important}
 #hud .topbar.hud-header132 .workers131 .v{font-size:9px!important}
 #hud .topbar.hud-header132 .workers131 .k{font-size:8px!important}
 #hud .nav.nav132>button:first-child{padding-left:max(2px,env(safe-area-inset-left,0px))!important}
 #hud .world-dock108 .world105{padding-right:max(4px,env(safe-area-inset-right,0px))!important;border-radius:0 0 16px 0}
 #sheets .sheet-wrap .sheet{padding-left:max(0px,env(safe-area-inset-left,0px));padding-right:max(0px,env(safe-area-inset-right,0px));border-radius:16px!important}
}
@media(max-width:350px){
 #hud .topbar.hud-header132 .tb-main{grid-template-columns:36px minmax(0,1fr) 48px 103px!important;gap:6px!important}
 #hud .topbar.hud-header132 .avatar{width:36px!important;height:38px!important;min-height:38px!important}
 #hud .topbar.hud-header132 .vip-top130{width:48px!important;min-width:48px!important;height:34px!important;min-height:34px!important}
 #hud .topbar.hud-header132 .gem-pill{font-size:11px!important;grid-template-columns:19px minmax(0,1fr) 20px!important;gap:2px!important}
 #hud .topbar.hud-header132 .gem-pill>.plus{width:20px;height:20px;min-width:20px;font-size:20px!important}
 #hud .topbar.hud-header132 .gem-pill>.gem-art134{width:19px!important;min-width:19px!important}
 #hud .topbar.hud-header132 .res-chip .v{font-size:10px!important}
 #hud .topbar.hud-header132 .res-chip .resource137{width:18px!important;min-width:18px!important;height:18px!important}
 #hud .topbar.hud-header132 .who .nm{font-size:11px!important}
 #hud .topbar.hud-header132 .who .pow{font-size:10px!important}
}
/* Six sections are directly visible: no horizontal native scrollbar. */
#sheets .sheet-wrap .sheet .activity-tabs129.reward-tabs138{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;overflow:visible!important;gap:5px!important;padding:6px!important;max-width:100%;height:auto!important;position:sticky;top:0;z-index:8;scrollbar-width:none;border:1px solid #b3975e!important;border-radius:8px;background:linear-gradient(#203b52,#10263b)!important;box-shadow:0 3px 5px #04101d80!important;box-sizing:border-box}
#sheets .sheet-wrap .sheet .activity-tabs129.reward-tabs138::-webkit-scrollbar{display:none;width:0;height:0}
#sheets .sheet-wrap .sheet .activity-tabs129.reward-tabs138 .btn{min-width:0!important;width:100%!important;max-width:100%!important;min-height:36px!important;padding:6px 3px!important;white-space:normal!important;overflow-wrap:anywhere;line-height:1.15;font-size:11px!important;box-sizing:border-box;background:linear-gradient(#304b61,#193047)!important;color:#ddcfb0!important;border-color:#987e4e88!important}
#sheets .sheet-wrap .sheet .activity-tabs129.reward-tabs138 .btn[aria-selected=true]{background:linear-gradient(#f6dda0,#bb8c43)!important;color:#36250f!important;border-color:#ffe4a0!important}
#sheets .sheet-wrap .progression87 :is(.activity-banner129,.activity-tile129,.activity-footer129,.activity-progress129,.pass-head87,.pass-tier87,.vip-pack,.reward .r,.cost .c){background:linear-gradient(135deg,#2c465b,#172e43)!important;border-color:#b79a615c!important;color:#eee0c0!important;box-shadow:inset 0 1px #f0dba226,0 2px 3px #06162655}
#sheets .sheet-wrap .progression87 .activity-icon129{background:#122b41!important;border:1px solid #b79a6166;color:#eed094!important}
#sheets .sheet-wrap .progression87 .activity-copy129>small,#sheets .sheet-wrap .progression87 .activity-kicker129{color:#efcb85!important}
#sheets .sheet-wrap .progression87 .activity-copy129>span{color:#bfccd4!important}
#sheets .sheet-wrap .progression87 .pass-tier87{position:static!important;padding:9px 10px;margin:7px 0 0;border:1px solid #b79a6166;border-radius:6px}
#sheets .sheet-wrap .progression87 .pass-head87{position:static!important;padding:10px!important;border:1px solid #b79a615c!important;border-radius:8px;font-size:12px;line-height:1.45}
#sheets .sheet-wrap .progression87 .pass87{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
#sheets .sheet-wrap .progression87 :is(.pass87,.vip-grid87)>.card{min-width:0;max-width:100%;box-sizing:border-box;background:linear-gradient(140deg,#284155,#142b40)!important}
#sheets .sheet-wrap .progression87 .ready87,#sheets .sheet-wrap .progression87 .ready129{border-color:#e7c47c!important;box-shadow:inset 0 0 0 1px #d1a75144!important}
#sheets .sheet-wrap .progression87 :is(.pass87,.vip-grid87) .btn{min-width:0;max-width:100%;white-space:normal;line-height:1.2;font-size:11px!important;padding:8px 4px!important}
#sheets .sheet-wrap .progression87 .vip-grid87{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#sheets .sheet-wrap .progression87 .reward{min-width:0;gap:4px!important}
#sheets .sheet-wrap .progression87 .reward .r{max-width:100%;font-size:11px!important;padding:3px 5px!important}
#sheets .sheet-wrap .progression87 .bar{background:#0c2032!important;border-color:#957d4d77!important}
#sheets .sheet-wrap .progression87 .bar>i{background:linear-gradient(90deg,#b08036,#f5d991)!important}

#sheets .sheet-wrap .sheet .reward-tabs138{grid-auto-flow:row!important;grid-template-rows:none!important;grid-auto-columns:auto!important}
#sheets .sheet-wrap .sheet .reward-tabs138>.btn{grid-column:auto!important;grid-row:auto!important}

/* City141 — carry the navy/brass art direction into the city controls and dialogue. */
.city-ov:not(.world-ov) .city-action{
 background:linear-gradient(145deg,#324f65,#142c40)!important;color:#f5e4bd!important;
 border:1px solid #c9aa6c!important;border-radius:10px 4px!important;
 box-shadow:inset 0 1px #fce6aa66,inset 0 0 0 2px #0b203855,0 3px 7px #06182966!important;
 transition:filter .16s,scale .16s!important;
}
.city-ov:not(.world-ov) .city-action:active{scale:.96}
.city-ov:not(.world-ov) .city-action>em{color:#f5e4bd!important;text-shadow:0 1px 2px #061525}
.city-ov:not(.world-ov) .city-action:is(.ca-done,.ca-ready,.ca-harvest){background:linear-gradient(145deg,#715933,#3c3023)!important;border-color:#f3d493!important}
.city-ov:not(.world-ov) .pmark{background:linear-gradient(140deg,#34566e,#142d44)!important;color:#f6dea2!important;border:1px solid #cfb172!important;border-radius:9px 3px!important;box-shadow:inset 0 1px #f9e3a366,0 2px 6px #08192c66!important}
.city-ov:not(.world-ov) .pmark.focus{background:linear-gradient(140deg,#6c5732,#253e51)!important;outline:1px solid #f5d790;outline-offset:2px}
.city-ov:not(.world-ov) .pbar{border-color:#c9ab70!important;background:#102b40!important}
.city-ov:not(.world-ov) .pbar>b{background:linear-gradient(90deg,#ad7d39,#f4d799)!important}
.city-ov:not(.world-ov) .lvbadge.military116 .city-action[data-troop118]{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}
.city-ov:not(.world-ov) .lvbadge.military116 .city-action[data-troop118]::before{background:linear-gradient(145deg,#34546d,#112c44)!important;border-color:#d0b174!important;box-shadow:inset 0 1px #f6dda65c}
.city-ov:not(.world-ov) .lvbadge.military116 .city-action[data-troop118] .medallion118{background:radial-gradient(circle at 35% 25%,#426982,#18344d 75%)!important;border-color:#d5b777!important;box-shadow:inset 0 0 0 3px #173047,0 2px 5px #0007!important}
.city-ov:not(.world-ov) .lvbadge.military116 .city-action[data-state116=ready]::before{background:linear-gradient(145deg,#745d35,#34302c)!important;border-color:#ffe3a0!important}
.city-ov:not(.world-ov) .lvbadge.military116 .city-action[data-state116=ready] .medallion118{background:radial-gradient(circle at 35% 25%,#8f7240,#483c29)!important}
#hud .topbar.hud-header132,#hud .nav.nav132{box-shadow:inset 0 1px #ffedbd66,inset 0 -1px #b28a4344,0 3px 9px #081a2b55!important}
#hud .topbar.hud-header132 .who .nm{color:#f8e6c1!important;text-shadow:0 2px 2px #071b2b,0 0 12px #d0ac5a22}
#hud .topbar.hud-header132 .res-chip .v{font-variant-numeric:tabular-nums;color:#f4e8cd!important}
#hud .nav.nav132 .nav-btn[aria-current=page],#hud .nav.nav132 .nav-btn.active{background:linear-gradient(180deg,#d9b6691a,#c4a15a30)!important}
#sheets .sheet-wrap .sheet .btn:focus-visible,#hud button:focus-visible,.city-ov button:focus-visible{outline:2px solid #f2d28a!important;outline-offset:2px}
#sheets .sheet-wrap .sheet .btn.primary{background:linear-gradient(180deg,#f7e2ae,#ddb770 48%,#b98943)!important;box-shadow:inset 0 1px #fff4d7,inset 0 -2px #8c622d77,0 2px 4px #07172655!important;color:#302414!important}
.intro .panel{background:linear-gradient(145deg,#142d43ed,#29455ee8)!important;border-color:#c8a66b88!important}
.intro .btn:not(.primary),.speaker106 .por{background:#1c3a52!important;border-color:#bea16a!important;color:#f3e3bf!important}
@media(hover:hover) and (pointer:fine){.city-ov:not(.world-ov) .city-action:hover{filter:brightness(1.12)}}
@media(prefers-reduced-motion:reduce){.city-ov:not(.world-ov) .city-action{transition:none!important}}

#sheets .sheet-wrap .sheet .say .bubble{background:linear-gradient(135deg,#35536b,#1e384f)!important;color:#f3e5c6!important;border:1px solid #c4a66a88;box-shadow:inset 0 1px #f6e1ad33;border-radius:12px 4px;padding:11px 13px}
#sheets .sheet-wrap .sheet .say .bubble b{color:#f1cf8c!important;text-shadow:0 1px 1px #122333}
#sheets .sheet-wrap .sheet .sheet-head h2{text-shadow:0 1px 2px #081a2e,0 0 10px #d8bc7222}

/* City142 — frost-and-hearth survival entry (#boot, .intro) & HUD warmth accents. */
#boot.boot{background:radial-gradient(circle at 50% 44%,#46311d 0%,#142a40 42%,#071320 100%)!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:24px;box-sizing:border-box}
#boot .boot-head142{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;margin-bottom:6px}
#boot .boot-kicker142{color:#efc978;font:700 11px/1.2 system-ui,sans-serif;letter-spacing:2.4px;text-transform:uppercase}
#boot .boot-logo142{font:700 clamp(32px,7vw,46px)/1.05 Georgia,serif;letter-spacing:.08em;color:#fff0cc;text-shadow:0 2px 0 #3a230d,0 0 26px #f3b34c66}
#boot .boot-sub142{color:#c6d9e8;font:13px/1.35 system-ui,sans-serif;max-width:320px}
#boot .boot-mark{width:62px;height:62px;border:3px solid #f4ca73;border-top-color:#ffeed0;border-right-color:transparent;box-shadow:0 0 28px #f2a83b55,inset 0 0 14px #ffd27a44}
#boot .load-note55{position:static!important;margin:4px 0 0!important;color:#f3dfc0!important;font:600 13.5px/1.35 system-ui,sans-serif!important;text-align:center;text-shadow:0 1px 2px #04101c}
#boot .boot-bar142{width:min(260px,78vw);height:7px;border-radius:99px;background:#0a1c2dcc;border:1px solid #c9a76388;overflow:hidden;box-shadow:inset 0 1px 3px #0009}
#boot .boot-bar142>i{display:block;height:100%;width:18%;border-radius:99px;background:linear-gradient(90deg,#b88234,#f6d687,#fff1c2);box-shadow:0 0 10px #f6ca6b99;transition:width .22s ease-out}
.intro{background:radial-gradient(120% 85% at 50% 16%,#4b3420 0%,#152d44 48%,#081523 100%)!important}
.intro .cinema-label105{padding:5px 12px;border-radius:99px;background:#0b1f32cc;border:1px solid #d1b06a77;color:#f5dfad!important;box-shadow:0 4px 14px #0006;backdrop-filter:blur(4px)}
.intro .panel{background:linear-gradient(155deg,#132c42f2 0%,#0d2032f5 65%,#1c3042f2 100%)!important;border:1px solid #d4b36a!important;border-radius:18px 6px 18px 6px!important;box-shadow:inset 0 1px #ffeab355,inset 0 0 28px #ff9d3b14,0 18px 48px #020b14cc!important}
.intro .logo{color:#fff0cc!important;text-shadow:0 2px 0 #3a230d,0 0 28px #f3b34c66!important}
.intro .tagline{color:#efc978!important;letter-spacing:.04em}
.intro .dots i{background:#32516b!important;transition:width .2s,background .2s}
.intro .dots i.on{width:20px!important;border-radius:6px!important;background:linear-gradient(90deg,#ffe094,#d6983a)!important;box-shadow:0 0 8px #f5c35b88}
#hud .topbar.hud-header132 .status132>.side-chip:first-child:not(.low) .v{color:#ffe4a8!important;text-shadow:0 0 8px #f2a83b44}
#hud .topbar.hud-header132 .status132>.side-chip.low .v{color:#ff9b85!important}

/* City143 — 3-camp military switcher, rank titles, 6-stat grid & tactical traits. */
.camp-tabs143{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:4px}
.camp-tab143{display:flex;flex-direction:column;gap:3px;padding:7px 8px;min-height:48px;border-radius:10px 4px;border:1px solid #9c824e88;background:linear-gradient(145deg,#1d364b,#0f2336);color:#e6d7b8;cursor:pointer;text-align:left;box-sizing:border-box}
.camp-tab143 .ic{width:18px;height:18px;flex-shrink:0}
.camp-tab143 b{font-size:12px;color:#f5e5c0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.camp-tab143 small{font-size:10.5px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.camp-tab143.on{background:linear-gradient(145deg,#33546e,#193349);border-color:#ebca82;box-shadow:inset 0 1px #ffeab566,0 3px 8px #04101d88}
.camp-tab143.ready{border-color:#e5bd68}
.camp-state143{font-size:10px;padding:1px 5px;border-radius:99px;background:#0a1c2ccc;color:#c7d8e6;white-space:nowrap}
.camp-state143.ok{background:#2d5a46;color:#d6f5e3;font-weight:700}
.troop-stats143{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 10px;padding:8px 10px;border-radius:10px;background:#0e2336cc;border:1px solid #a88c5544}
.tstat143{display:flex;flex-direction:column;gap:3px;min-width:0}
.tbar143{height:5px;border-radius:99px;background:#091826;overflow:hidden;border:1px solid #7592a833}
.tbar143>i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#be893c,#f7d98e)}
.troop-skills143{gap:6px;padding:8px 10px;border-radius:10px;background:#11273bcc;border:1px solid #b5985d44}
.tskill143{display:flex;align-items:flex-start;gap:7px;font-size:12px;line-height:1.35;color:#e6d8bc}
.tskill143 .ic{width:16px;height:16px;flex:0 0 16px;margin-top:1px}
.tskill143.ok{color:#f4d48c;font-weight:600}

/* City144 — frost/blizzard HUD vignette, floating city action bubbles, goal card & world labels polish. */
@keyframes floatAction144{0%,100%{translate:0 0}50%{translate:0 -3px}}
@keyframes readyPulse144{0%,100%{box-shadow:inset 0 1px #fff3c499,0 0 0 0 #f3c86866,0 4px 10px #04122099}50%{box-shadow:inset 0 1px #fff3c4cc,0 0 0 5px #f3c86800,0 6px 14px #f3b84b55}}
@keyframes stormFrost144{0%,100%{opacity:.55}50%{opacity:.88}}
@keyframes goalReady144{0%,100%{box-shadow:inset 0 1px #fff2c266,0 6px 18px #03101ecc,0 0 0 1px #f3ce7b55}50%{box-shadow:inset 0 1px #fff5d699,0 6px 22px #f0b94e44,0 0 12px #f5cf7a66}}
#hud::before{content:'';position:fixed;inset:0;pointer-events:none;z-index:1;opacity:0;transition:opacity .45s ease;box-shadow:inset 0 0 42px #7ec8ff33,inset 0 0 95px #12345655}
#hud[data-weather144=cold]::before{opacity:.65;box-shadow:inset 0 0 46px #8cd0ff44,inset 0 0 110px #0d2a4566}
#hud[data-weather144=storm]::before{opacity:.85;box-shadow:inset 0 0 64px #9ed8ff66,inset 0 0 140px #0a223a88;animation:stormFrost144 2.8s ease-in-out infinite}
.city-ov:not(.world-ov) .city-action{animation:floatAction144 2.6s ease-in-out infinite}
.city-ov:not(.world-ov) .city-action:is(.ca-done,.ca-ready,.ca-harvest),.city-ov:not(.world-ov) .lvbadge.military116 .city-action[data-state116=ready] .medallion118{animation:floatAction144 2.4s ease-in-out infinite,readyPulse144 1.9s ease-in-out infinite}
.city-ov:not(.world-ov) .lvbadge>b{background:linear-gradient(145deg,#33536b,#132a3e)!important;color:#f8e2a6!important;border:1px solid #d7b774!important;box-shadow:inset 0 1px #fff0be55,0 2px 5px #04111ecc!important}
.city-ov:not(.world-ov) .lvbadge.kor>b{background:linear-gradient(145deg,#7a4526,#3d1f14)!important;color:#ffe4a8!important;border-color:#ffbe6b!important;box-shadow:0 0 8px #ff943666!important}
.city-ov:not(.world-ov) .lvbadge>span{background:linear-gradient(145deg,#1b354be6,#0e2133e6)!important;color:#f5e6c4!important;border:1px solid #c6a76888!important;text-shadow:0 1px 2px #04101c!important;backdrop-filter:blur(3px)}
#hud .quest-card.goal110{background:linear-gradient(145deg,#1c374df2,#0e2235f5)!important;border:1px solid #cfb06e!important;border-radius:12px 5px 12px 5px!important;box-shadow:inset 0 1px #ffebb544,0 8px 22px #030e1bcc!important;backdrop-filter:blur(5px);transition:transform .16s ease,box-shadow .2s ease}
#hud .quest-card.goal110.ready{border-color:#ffe094!important;animation:goalReady144 2.1s ease-in-out infinite}
#hud .quest-card.goal110 .goal-main110 small{color:#eec978!important;font-weight:700;letter-spacing:.02em}
#hud .quest-card.goal110 .goal-main110 b{color:#fff0cc!important;text-shadow:0 1px 2px #051322}
#hud .quest-card.goal110 .goal-bottom110 strong{padding:3px 9px;border-radius:99px;background:linear-gradient(180deg,#f7e0a6,#c79444);color:#2b1d0c!important;font-weight:800;box-shadow:inset 0 1px #fff6d6,0 2px 4px #04101c88}
#hud .quest-card.goal110 .goal-book110{background:linear-gradient(145deg,#2b4960,#142b3f)!important;border:1px solid #cca968!important;color:#f6da9c!important;border-radius:9px 4px!important;box-shadow:inset 0 1px #ffebb344,0 2px 5px #030f1c88}
#hud .nav.nav132>button.on{background:radial-gradient(circle at 50% 18%,#f4cf7b2e,#c99b4908 72%)!important;box-shadow:inset 0 2px 0 #f5d58c!important}
#hud .nav.nav132>button.on .lbl{color:#ffe6a8!important;font-weight:800;text-shadow:0 1px 4px #f2b84b44}
.world-ov .wlabel.city{background:linear-gradient(145deg,#183147eb,#0d1f30eb)!important;color:#f3e4c2!important;border:1px solid #c2a36699!important;border-radius:8px 3px!important;padding:2px 8px!important;box-shadow:0 3px 8px #020b1699!important;font-weight:700}
.world-ov .wlabel.city.me{background:linear-gradient(145deg,#1f4c5eeb,#112c3deb)!important;border-color:#ffd984!important;color:#fff2ce!important;box-shadow:0 0 10px #f3c66244,0 3px 8px #020b16aa!important}
.world-ov .wlabel.lvl{background:linear-gradient(145deg,#2a455a,#13283a)!important;color:#f7dfa0!important;border:1px solid #d1b170!important;box-shadow:0 2px 4px #030e1b99!important}
.world-ov .wrefresh{background:linear-gradient(145deg,#173046e6,#0d1f30e6)!important;color:#f3dfb4!important;border:1px solid #c5a56688!important;border-radius:99px!important;padding:4px 12px!important;box-shadow:0 4px 12px #020b1688!important}
@media(prefers-reduced-motion:reduce){#hud[data-weather144=storm]::before,.city-ov:not(.world-ov) .city-action,#hud .quest-card.goal110.ready{animation:none!important}}

/* City145 — Whiteout Survival (WoS) 1-to-1 UI layout integrated with Külyurt's Ottoman/Anatolian Navy-Brass-Gold-Teal theme. */
@keyframes wosSheen145{0%,72%{transform:translateX(-140%) skewX(-22deg)}100%{transform:translateX(240%) skewX(-22deg)}}
@keyframes wosPulseGold145{0%,100%{box-shadow:inset 0 0 0 1px #0c2033,inset 0 0 0 2px #ffdf9a66,0 3px 0 #0a1b2c,0 0 0 0 #f4c66866}50%{box-shadow:inset 0 0 0 1px #0c2033,inset 0 0 0 2px #ffe8b0aa,0 3px 0 #0a1b2c,0 0 14px 3px #f4c66888}}
@keyframes wosDrawerIn145{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}

.wos-dual-btns145{display:grid;grid-template-columns:repeat(auto-fit,minmax(136px,1fr));gap:10px;width:100%;margin-top:4px}
#sheets .sheet-wrap .sheet :is(.btn-wos-sapphire145,.btn-wos-gold145){display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;min-height:54px!important;padding:7px 12px!important;border-radius:10px!important;position:relative;overflow:hidden;cursor:pointer;text-align:center;transition:transform 130ms cubic-bezier(.2,.8,.2,1),filter 130ms ease,box-shadow 130ms ease}
#sheets .sheet-wrap .sheet :is(.btn-wos-sapphire145,.btn-wos-gold145)::after{content:"";position:absolute;top:0;bottom:0;left:0;width:42%;background:linear-gradient(90deg,transparent,#fff8dc38,transparent);transform:translateX(-140%) skewX(-22deg);pointer-events:none;animation:wosSheen145 4.8s ease-in-out infinite}
#sheets .sheet-wrap .sheet .btn-wos-sapphire145{background:linear-gradient(180deg,#3488b8 0%,#1a5578 54%,#0f354d 100%)!important;color:#fff8e8!important;border:1.5px solid #8bd4f8!important;box-shadow:inset 0 1.5px 0 #b8e8ff88,inset 0 0 0 1px #082233,0 3px 0 #081e2e,0 6px 14px #020c1acc!important;text-shadow:0 1px 2px #051320!important}
#sheets .sheet-wrap .sheet .btn-wos-gold145{background:linear-gradient(180deg,#ffe699 0%,#e0a034 52%,#a36512 100%)!important;color:#231202!important;border:1.5px solid #fff0b8!important;box-shadow:inset 0 1.5px 0 #fff9df,inset 0 0 0 1px #8c550b,0 3px 0 #663c06,0 6px 14px #020c1acc!important;text-shadow:0 1px 0 #fff6cf88!important}
#sheets .sheet-wrap .sheet :is(.btn-wos-sapphire145,.btn-wos-gold145):not(:disabled):hover{filter:brightness(1.07);transform:translateY(-1px)}
#sheets .sheet-wrap .sheet :is(.btn-wos-sapphire145,.btn-wos-gold145):not(:disabled):active{transform:translateY(2px)!important;filter:brightness(1.04)}
#sheets .sheet-wrap .sheet :is(.btn-wos-sapphire145,.btn-wos-gold145):disabled{opacity:.46!important;filter:saturate(.45)!important;cursor:default}
#sheets .sheet-wrap .sheet :is(.btn-wos-sapphire145,.btn-wos-gold145):disabled::after{display:none}
.wos-btn-main145{display:inline-flex;align-items:center;justify-content:center;gap:6px;font:700 13px/1.15 'Segoe UI',Roboto,Helvetica,sans-serif;letter-spacing:.03em;text-transform:uppercase}
.btn-wos-gold145 .wos-btn-main145,.btn-wos-gold145 .wos-btn-main145 *{color:#231202!important;text-shadow:0 1px 0 #fff6cf88!important}
.btn-wos-sapphire145 .wos-btn-main145,.btn-wos-sapphire145 .wos-btn-main145 *{color:#ffffff!important}
.wos-btn-main145 .ic{width:16px;height:16px;flex-shrink:0}
.wos-btn-sub145{display:inline-flex;align-items:center;justify-content:center;gap:4px;font:700 11.5px/1.15 'Segoe UI',Roboto,Helvetica,sans-serif;padding:2px 10px;border-radius:999px;background:#07192999;border:1px solid #9adbf844;color:#e6f6ff}
.btn-wos-gold145 .wos-btn-sub145,.btn-wos-gold145 .wos-btn-sub145 *{background:#2e190226;border-color:#6e430944;color:#231202!important;text-shadow:none!important}
.wos-btn-sub145 .ic{width:13px;height:13px;flex-shrink:0}

/* Building modal WoS header & quick function strip */
.wos-bhead145{padding-bottom:6px;border-bottom:1px solid #b89b5e38}
.wos-blinks145{display:flex;flex-wrap:wrap;gap:8px;padding:4px 0}
.wos-blinks145 .wos-blink145{flex:1 1 140px;min-height:42px;font-weight:700}
.wos-upgrade-card145{border:1.5px solid #d5b47188!important}

/* WoS Barracks Full-Stage Showcase (.wos-stage145) & Camp Tabs (.camp-tabs143) — City148 */
.wos-training145{display:flex;flex-direction:column;gap:8px}
#sheets .sheet-wrap .sheet .camp-tabs143{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;padding:4px!important;margin-bottom:2px!important;background:#0c1d2de6!important;border:1px solid #b8985855!important;border-radius:11px!important}
#sheets .sheet-wrap .sheet .camp-tab143{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;padding:6px 6px!important;min-height:52px!important;min-width:0!important;border-radius:8px!important;border:1px solid #8fa8bc33!important;background:linear-gradient(180deg,#1f394e 0%,#112334 100%)!important;color:#f0e2c4!important;box-shadow:inset 0 1px 0 #ffffff14,0 2px 5px #020b1680!important;text-align:center!important}
#sheets .sheet-wrap .sheet .camp-tab143.on{background:linear-gradient(180deg,#ffe494 0%,#dfa034 54%,#a36512 100%)!important;border-color:#fff1ba!important;color:#231202!important;box-shadow:inset 0 1.5px 0 #fff9df,0 3px 8px #020b16b3!important}
#sheets .sheet-wrap .sheet .camp-tab143.on :is(b,small,em,.muted){color:#231202!important;text-shadow:none!important}
.camp-tab-top146{display:inline-flex;align-items:center;justify-content:center;gap:4px;max-width:100%;min-width:0}
.camp-tab-top146 .ic{width:16px;height:16px;flex-shrink:0}
.camp-tab-top146 b{font:700 12px/1.15 'Segoe UI',Roboto,Helvetica,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.camp-tier-tag148{font:700 9.5px/1.1 'Segoe UI',Roboto,sans-serif;font-style:normal;padding:1px 5px;border-radius:999px;background:#09192899;border:1px solid #d5b47066;color:#ffe4a3;flex-shrink:0}
#sheets .sheet-wrap .sheet .camp-tab143.on .camp-tier-tag148{background:#2e190229;border-color:#6b410855;color:#231202!important}
#sheets .sheet-wrap .sheet .camp-state143{display:inline-block;max-width:100%;font:600 10.5px/1.15 'Segoe UI',Roboto,Helvetica,sans-serif;padding:1.5px 8px;border-radius:999px;background:#0a1b2b99;color:#cfe0ec;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#sheets .sheet-wrap .sheet .camp-tab143.on .camp-state143{background:#2e190222;color:#231202!important;font-weight:700}
#sheets .sheet-wrap .sheet .camp-state143.ok{background:linear-gradient(180deg,#2f6b52,#1d4635)!important;border:1px solid #8ee5b8!important;color:#eafff3!important;font-weight:700}

.wos-stage145{position:relative;min-height:236px;border-radius:12px;overflow:hidden;border:1.5px solid #d2ae68;background:radial-gradient(circle at 68% 42%,#2e5a78 0%,#163046 52%,#0b1a28 100%)!important;box-shadow:inset 0 1px 0 #fff3c833,inset 0 0 32px #040e1acc,0 8px 20px #020b1699;display:flex;flex-direction:column;justify-content:space-between;isolation:isolate}
.wos-stage145.kor{border-color:#f0b25c;background:radial-gradient(circle at 68% 42%,#613822 0%,#261d2c 54%,#0c1724 100%)!important}
.wos-stage145 .wos-stage-art145{position:absolute!important;right:52px!important;top:6px!important;bottom:36px!important;width:172px!important;height:auto!important;margin:0!important;border:0!important;background:transparent!important;z-index:1;pointer-events:none;display:flex;align-items:center;justify-content:center}
.wos-stage-podium148{position:absolute;bottom:4px;left:50%;transform:translateX(-50%);width:136px;height:32px;border-radius:50%;background:radial-gradient(ellipse at 50% 50%,#ffe29455 0%,#4ca6d833 52%,transparent 76%);border:1px solid #e5c37a44;box-shadow:0 0 18px #f5c96a33}
.wos-stage-img148{position:relative;z-index:1;width:100%;height:100%;max-height:194px;object-fit:contain;border-radius:12px;filter:drop-shadow(0 8px 16px #020a14cc);-webkit-mask-image:radial-gradient(ellipse 86% 88% at 50% 48%,#000 68%,transparent 100%);mask-image:radial-gradient(ellipse 86% 88% at 50% 48%,#000 68%,transparent 100%);opacity:0;transition:opacity 200ms ease}
.wos-stage-art145.on .wos-stage-img148{opacity:1}
.wos-stage-top146{position:relative;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:8px;padding:10px 10px 6px;width:100%;box-sizing:border-box;pointer-events:none}
.wos-stage-tl145{position:relative;z-index:2;padding:7px 10px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;flex:0 1 auto;min-width:0;max-width:calc(100% - 76px);pointer-events:auto;background:linear-gradient(135deg,#081828d9 0%,#0b1f3399 74%,transparent 100%);border-radius:10px}
.wos-rank-row145{display:flex;align-items:center;gap:8px;max-width:100%}
.wos-tier-shield145{display:grid;place-items:center;min-width:38px;height:40px;padding:0 7px;flex-shrink:0;background:linear-gradient(160deg,#ffe596 0%,#d79b35 58%,#8f580d 100%);color:#231202!important;font:700 14px/1 'Segoe UI',Roboto,Helvetica,sans-serif;letter-spacing:.02em;clip-path:polygon(50% 0%,100% 18%,100% 74%,50% 100%,0% 74%,0% 18%);box-shadow:0 3px 8px #0009;text-shadow:0 1px 0 #fff6d588}
.wos-tier-shield145.kor{background:linear-gradient(160deg,#ff9d47 0%,#c93f12 58%,#6e1805 100%);color:#fff9ed!important;text-shadow:0 1.5px 3px #2b0700!important}
.wos-tier-shield145.locked{filter:grayscale(.75) opacity(.8)}
.wos-title-line148{display:flex;align-items:center;gap:6px;max-width:100%;min-width:0}
.wos-rank-title145{font:700 15px/1.2 'Segoe UI',Roboto,Helvetica,sans-serif;letter-spacing:.02em;color:#fff5dc;text-shadow:0 1.5px 3px #020a14;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wos-inline-info148{flex:0 0 20px;width:20px;height:20px;min-height:20px!important;padding:0!important;border-radius:50%!important;background:linear-gradient(180deg,#2c536e,#142c40)!important;border:1px solid #dcb971!important;color:#ffe9b5!important;font:700 11.5px/18px Georgia,serif!important;display: inline-grid;place-items:center;cursor:pointer;box-shadow:0 2px 4px #020b1699!important}
.wos-inline-info148.on{background:linear-gradient(180deg,#ffe291,#cf8e2b)!important;color:#231202!important;border-color:#fff2be!important}
.wos-rank-sub145{font:600 11px/1.2 'Segoe UI',Roboto,Helvetica,sans-serif;color:#c9dce9;text-shadow:0 1px 2px #020a14}
.wos-counter-pill145{display:inline-flex;align-items:center;gap:5px;padding:2.5px 10px;border-radius:999px;background:linear-gradient(180deg,#1c384ee6,#0e2132e6);border:1px solid #d5b36e99;color:#ffe29a;font:600 11px/1.2 'Segoe UI',Roboto,Helvetica,sans-serif;box-shadow:inset 0 1px #fff1c222}
.wos-counter-pill145 .ic{width:12px;height:12px;flex-shrink:0}
.wos-owned-strip145{display:flex;flex-wrap:wrap;gap:4px 6px}
.wos-owned-chip148{padding:1.5px 8px;border-radius:999px;background:#091928bf;border:1px solid #8ba6bc33;font:600 10.5px/1.2 'Segoe UI',Roboto,Helvetica,sans-serif;color:#dbe8f2}
.wos-owned-chip148.warn{color:#ff9e88;border-color:#e06c6266}

/* WoS Circular Medallion Stage Buttons (Terfi & Detay) — City148 */
.wos-stage-tr145{position:relative;z-index:3;display:flex;flex-direction:column;align-items:center;gap:10px;flex:0 0 auto;pointer-events:auto}
#sheets .sheet-wrap .sheet .wos-stage-btn145{position:relative;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:0!important;min-width:60px!important;min-height:56px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;cursor:pointer;filter:drop-shadow(0 4px 8px #020b16cc);transition:transform 130ms cubic-bezier(.2,.8,.2,1),filter 130ms ease}
#sheets .sheet-wrap .sheet .wos-stage-btn145:hover{transform:translateY(-1.5px) scale(1.04);filter:drop-shadow(0 6px 10px #020b16eb) brightness(1.06)}
#sheets .sheet-wrap .sheet .wos-stage-btn145:active{transform:translateY(1px) scale(.95)}
.wos-sbtn-ring145{position:relative;z-index:1;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:radial-gradient(circle at 34% 24%,#3f6c8a 0%,#1b3c54 60%,#0f2436 100%);border:2px solid #e2c078;box-shadow:inset 0 0 0 1.5px #091c2c,inset 0 1.5px 0 #fff4cf55,0 3px 0 #081724;color:#fff3d1;transition:background 150ms ease,border-color 150ms ease,color 150ms ease}
.wos-stage-btn145.promote .wos-sbtn-ring145{background:radial-gradient(circle at 34% 24%,#45986c 0%,#1f6340 60%,#113d26 100%);border-color:#e8c97e;color:#f5fff8}
.wos-sbtn-ring145 .ic,.wos-sbtn-ring145 svg{width:21px;height:21px;display:block}
.wos-stage-btn145.pulse .wos-sbtn-ring145{animation:wosPulseGold145 2.1s ease-in-out infinite;border-color:#ffeba6}
.wos-sbtn-lb145{position:relative;z-index:2;margin-top:-6px;padding:2px 9px;border-radius:999px;background:linear-gradient(180deg,#1d384ef5 0%,#0e2233fa 100%);border:1.5px solid #dcb971;font:700 10.5px/1.15 'Segoe UI',Roboto,Helvetica,sans-serif;color:#fff3d6;letter-spacing:.025em;white-space:nowrap;box-shadow:0 2px 6px #020b16cc;text-shadow:0 1px 2px #020b16}
#sheets .sheet-wrap .sheet .wos-stage-btn145.on .wos-sbtn-ring145{background:radial-gradient(circle at 35% 24%,#ffe896 0%,#dfa035 55%,#9b5d0f 100%)!important;color:#231202!important;border-color:#ffeca8!important;box-shadow:inset 0 0 0 1.5px #784608,inset 0 1.5px 0 #fff9df,0 3px 0 #593305!important}
#sheets .sheet-wrap .sheet .wos-stage-btn145.on .wos-sbtn-lb145{background:linear-gradient(180deg,#ffe28a 0%,#ca8928 100%)!important;color:#231202!important;border-color:#fff0b3!important;text-shadow:0 1px 0 #fff6cf80!important}
.wos-dot145{position:absolute;top:0;right:6px;width:10px;height:10px;border-radius:50%;background:#ff5a4f;border:1.5px solid #fff3d1;box-shadow:0 0 6px #ff5a4f;z-index:3}

.wos-stage-stats145{position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:7px 10px;background:linear-gradient(180deg,#0c2133e6,#081523f8);border-top:1px solid #cca96466;backdrop-filter:blur(4px);margin-top:auto}
.wos-sstat145{display:flex;flex-direction:column;align-items:center;text-align:center;gap:1px;padding:2px 4px;border-right:1px solid #b5975a33}
.wos-sstat145:last-child{border-right:0}
.wos-sstat145 span{font:600 10px/1.1 'Segoe UI',Roboto,Helvetica,sans-serif;color:#b8cad6;text-transform:uppercase;letter-spacing:.03em}
.wos-sstat145 b{font:700 13.5px/1.15 'Segoe UI',Roboto,Helvetica,sans-serif;color:#fff4d8}
.wos-sstat145.pow b{color:#ffd87a}
.wos-drawer145{animation:wosDrawerIn145 180ms cubic-bezier(.2,.8,.2,1)}

/* WoS Tier Carousel & Bottom Console (.wos-console145) — City148 */
#sheets .sheet-wrap .sheet .wos-tiers145{padding:4px 2px!important;margin:0!important;scrollbar-width:none!important;-ms-overflow-style:none!important}
#sheets .sheet-wrap .sheet .wos-tiers145::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
#sheets .sheet-wrap .sheet .wos-tiers145 .tier-chip{position:relative;border-radius:9px!important;min-width:58px!important;padding:6px 6px!important;border:1.5px solid #9ab4c833!important;background:linear-gradient(180deg,#1d364b 0%,#112334 100%)!important;color:#f2e4c6!important}
#sheets .sheet-wrap .sheet .wos-tiers145 .tier-chip b{font:700 12.5px/1.15 'Segoe UI',Roboto,Helvetica,sans-serif!important;color:#fff2d4!important}
#sheets .sheet-wrap .sheet .wos-tiers145 .tier-chip span{font:600 10.5px/1.15 'Segoe UI',Roboto,Helvetica,sans-serif!important;color:#b8cad8!important}
#sheets .sheet-wrap .sheet .wos-tiers145 .tier-chip.on{background:linear-gradient(180deg,#ffe596 0%,#dfa035 55%,#a36513 100%)!important;border-color:#fff2be!important;box-shadow:inset 0 1.5px 0 #fff9df,0 3px 8px #020b16aa!important}
#sheets .sheet-wrap .sheet .wos-tiers145 .tier-chip.on :is(b,span){color:#231202!important;text-shadow:0 1px 0 #fff6cf80!important;font-weight:700!important}
.wos-tier-up148{position:absolute;top:3px;right:3px;width:14px;height:14px;border-radius:50%;background:linear-gradient(180deg,#48b878,#1f7344);border:1px solid #d4ffe4;color:#ffffff;font:700 9px/12px 'Segoe UI',sans-serif;font-style:normal;text-align:center;box-shadow:0 1px 3px #020b1699}

#sheets .sheet-wrap .sheet .wos-console145{padding:11px 12px!important;border-radius:12px!important;background:linear-gradient(180deg,#1b3449 0%,#0f2132 100%)!important;border:1.5px solid #c9a86888!important;box-shadow:inset 0 1px 0 #fff3c822,0 4px 12px #030e1b88!important;gap:9px!important}
.wos-console-head145{padding-bottom:2px}
.wos-console-title145{font:700 13.5px/1.2 'Segoe UI',Roboto,Helvetica,sans-serif;color:#ffeac0}
.wos-slider-row145{display:grid;grid-template-columns:38px minmax(0,1fr) 38px 68px 52px;align-items:center;gap:6px}
#sheets .sheet-wrap .sheet :is(.wos-step-btn145,.wos-max-btn145){height:36px!important;min-height:36px!important;padding:0 6px!important;border-radius:8px!important;border:1px solid #c9a868!important;background:linear-gradient(180deg,#2d4c63,#162f44)!important;color:#fff2d0!important;font:700 15px/1 'Segoe UI',Roboto,Helvetica,sans-serif!important;box-shadow:inset 0 1px 0 #fff1c233,0 2px 0 #091826!important;cursor:pointer;transition:transform 100ms ease,filter 100ms ease}
#sheets .sheet-wrap .sheet .wos-max-btn145{font-size:11px!important;letter-spacing:.04em;background:linear-gradient(180deg,#ffe494,#dfa034 52%,#a36512)!important;color:#231202!important;border-color:#fff0b5!important;box-shadow:inset 0 1px 0 #fff9df,0 2px 0 #663c06!important}
#sheets .sheet-wrap .sheet :is(.wos-step-btn145,.wos-max-btn145):active{transform:translateY(1.5px)!important}
#sheets .sheet-wrap .sheet .wos-num-input145{height:36px;padding:0 6px;border-radius:8px;background:#0b1c2c!important;border:1px solid #c9a86888!important;color:#fff4d8!important;text-align:center;font:700 13px/1 'Segoe UI',Roboto,Helvetica,sans-serif}
.wos-range145{width:100%;height:8px;accent-color:#ebb854;cursor:pointer}
.wos-cost-strip145{display:grid;grid-template-columns:repeat(auto-fit,minmax(78px,1fr));gap:6px}
.wos-cost-pill145{display:flex;align-items:center;gap:6px;padding:6px 9px;border-radius:8px;background:linear-gradient(180deg,#152b3ee6,#0c1c2be6);border:1px solid #b8985855;box-shadow:inset 0 1px #fff1c214}
.wos-cost-pill145 .ic{width:18px;height:18px;flex-shrink:0}
.wos-cost-pill145 b{font:700 12px/1.15 'Segoe UI',Roboto,Helvetica,sans-serif;color:#fff2d6}
.wos-cost-pill145 small{font:600 10px/1.15 'Segoe UI',Roboto,Helvetica,sans-serif;color:#9eb5c7}
.wos-cost-pill145.bad{border-color:#e06c62;background:linear-gradient(180deg,#3d1d26e6,#261118e6)}
.wos-cost-pill145.bad b{color:#ff9e94}

/* WoS 3D City Radial Building Context Menu (.bmenu145) — Non-overlapping Flex Arc (City147) */
@keyframes bmenuPop145{from{opacity:0}to{opacity:1}}
.city-ov .bmenu145{position:absolute;left:0;top:0;width:max-content!important;height:auto!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:54px;z-index:35;pointer-events:none;animation:bmenuPop145 140ms ease-out}
.city-ov .bmenu-head145{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:4px 16px 4px 6px;border-radius:999px;background:linear-gradient(180deg,#1e3a52f2 0%,#0f2336f8 100%);border:1.5px solid #e2c078;box-shadow:0 6px 16px #020b16d9,inset 0 1px 0 #fff4cf44,inset 0 0 0 1px #091826;color:#fff6df;white-space:nowrap;pointer-events:auto;cursor:pointer}
.city-ov .bmenu-head145 b{display:inline-flex;align-items:center;justify-content:center;padding:2.5px 9px;border-radius:999px;background:linear-gradient(180deg,#ffe291 0%,#cf8e2b 100%);border:1px solid #fff2be;color:#231202;font:700 11.5px/1.15 'Segoe UI',Roboto,Helvetica,sans-serif;letter-spacing:.03em;box-shadow:0 1px 3px #020b1680}
.city-ov .bmenu-head145.kor b{background:linear-gradient(180deg,#ffb85c 0%,#c94c16 100%);border-color:#ffe3b3;color:#fff9ec;text-shadow:0 1px 2px #3b1102}
.city-ov .bmenu-head145 span{font:700 13.5px/1.2 'Segoe UI',Roboto,Helvetica,sans-serif;letter-spacing:.025em;color:#fff6df;text-shadow:0 1.5px 3px #020a14}
.city-ov .bmenu-arc145{position:relative;display:flex!important;flex-direction:row!important;align-items:flex-start!important;justify-content:center!important;gap:18px!important;width:max-content!important;padding:4px 10px 14px;pointer-events:auto}
.city-ov .bmenu-arc145>.bmenu-btn145:nth-child(2){transform:translateY(12px)}
.city-ov .bmenu-btn145{flex:0 0 74px!important;width:74px!important;min-width:74px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:0!important;background:transparent!important;border:0!important;padding:0!important;margin:0!important;cursor:pointer;color:#fff2d0;filter:drop-shadow(0 5px 10px #020b16d9);pointer-events:auto;transition:transform 130ms cubic-bezier(.2,.8,.2,1),filter 130ms ease}
.city-ov .bmenu-btn145:hover{filter:drop-shadow(0 6px 12px #020b16f2) brightness(1.08)}
.city-ov .bmenu-btn145:active{transform:scale(.92)}
.city-ov .bmenu-arc145>.bmenu-btn145:nth-child(2):active{transform:translateY(12px) scale(.92)}
.city-ov .bmenu-ring145{position:relative;z-index:1;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:radial-gradient(circle at 34% 24%,#436e8c 0%,#1d3d54 58%,#102536 100%);border:2.2px solid #e2c078;box-shadow:inset 0 0 0 1.5px #091b2a,inset 0 1.5px 0 #fff4cf66,0 3px 0 #081724;color:#fff3d1}
.city-ov .bmenu-btn145.gold .bmenu-ring145{background:radial-gradient(circle at 35% 24%,#ffe896 0%,#dfa035 55%,#9b5d0f 100%);border-color:#ffeca8;box-shadow:inset 0 0 0 1.5px #784608,inset 0 1.5px 0 #fff9df,0 3px 0 #593305;color:#261403}
.city-ov .bmenu-btn145.sapphire .bmenu-ring145{background:radial-gradient(circle at 35% 24%,#3c8db8 0%,#1a5375 58%,#0e3148 100%);border-color:#e2c078;box-shadow:inset 0 0 0 1.5px #082030,inset 0 1.5px 0 #a8e4ff66,0 3px 0 #071824;color:#fff5dc}
.city-ov .bmenu-ring145 i,.city-ov .bmenu-ring145 svg{width:25px;height:25px;display:block}
.city-ov .bmenu-btn145 em{position:relative;z-index:2;margin-top:-7px;min-width:58px;text-align:center;font:700 11.5px/1.2 'Segoe UI',Roboto,Helvetica,sans-serif;font-style:normal;letter-spacing:.025em;text-decoration:none;padding:2.5px 11px;border-radius:999px;background:linear-gradient(180deg,#1d384ef5 0%,#0e2233fa 100%);border:1.5px solid #dcb971;box-shadow:0 3px 8px #020b16cc,inset 0 1px 0 #fff3c833;color:#fff3d6;white-space:nowrap;text-shadow:0 1px 2px #020b16}
.city-ov .bmenu-btn145.gold em{background:linear-gradient(180deg,#ffe28a 0%,#ca8928 100%);border-color:#fff0b3;color:#231202;text-shadow:0 1px 0 #fff6cf80}

/* Compact Circular WoS Military Medallions above Barracks/Stables/Range — High Specificity Override */
.city-ov:not(.world-ov) .lvbadge.military116 .city-action[data-troop118]{width:62px!important;min-width:62px!important;max-width:62px!important;height:68px!important;min-height:68px!important;padding:0!important;align-items:center!important;justify-content:flex-start!important;background:transparent!important;border:0!important;box-shadow:none!important}
.city-ov:not(.world-ov) .lvbadge.military116 .city-action[data-troop118]::before,.city-ov:not(.world-ov) .lvbadge.military116 .city-action[data-troop118]::after,.city-ov:not(.world-ov) .lvbadge.military116 .city-action[data-troop118] .training-name118{display:none!important;content:none!important}
.city-ov:not(.world-ov) .lvbadge.military116 .city-action[data-troop118] .medallion118{width:46px!important;height:46px!important;margin:0!important;border:2px solid #e5c37a!important;background:conic-gradient(#f5cf76 var(--train-progress,0%),#27445a var(--train-progress,0%))!important;padding:3px!important;box-sizing:border-box;box-shadow:0 4px 10px #020b16cc!important}
.city-ov:not(.world-ov) .lvbadge.military116 .city-action[data-troop118] .medallion118>i{width:100%!important;height:100%!important;border-radius:50%;display:grid!important;place-items:center;background:radial-gradient(circle at 38% 30%,#355870,#13293c 76%)}
.city-ov:not(.world-ov) .lvbadge.military116 .city-action[data-troop118] .medallion118 svg{width:24px!important;height:24px!important}
.city-ov:not(.world-ov) .lvbadge.military116 .city-action[data-troop118] .medallion-check118{right:-3px!important;bottom:-2px!important;width:16px!important;height:16px!important;font:800 11px/16px system-ui,sans-serif!important}
.city-ov:not(.world-ov) .lvbadge.military116 .city-action[data-troop118]>em{margin-top:-4px!important;padding:1.5px 7px!important;border-radius:99px!important;background:linear-gradient(180deg,#1b364cf2,#0d2032f5)!important;border:1px solid #d5b470aa!important;font:800 10px/1.2 system-ui,sans-serif!important;color:#f8e6be!important;box-shadow:0 2px 5px #020b16aa!important}
.city-ov:not(.world-ov) .lvbadge.military116 .city-action[data-state116=ready]>em{background:linear-gradient(180deg,#f7df9b,#c28932)!important;color:#271704!important;border-color:#fff2c2!important}

/* Left HUD Troop Queue Chip (.troop-chip145) */
#hud .operations130 .troop-chip145.ready{border-color:#ffe094!important;box-shadow:0 0 10px #f2be5c55!important}
#hud .operations130 .troop-chip145.busy .lb{color:#9be2ff!important}

/* City146 — Whiteout Survival (WoS) Authentic Top HUD Bar (Avatar, VIP Shield, Power Plaque, Gem Capsule & 4 Resource Capsules) */
#hud .topbar.hud-header132.wos-top146{background:linear-gradient(180deg,#091929f5 0%,#0f263be6 76%,#0d213400 100%)!important;padding:calc(6px + env(safe-area-inset-top,0px)) 10px 8px!important;gap:5px!important}
#hud .topbar.hud-header132.wos-top146 .tb-main{display:grid!important;grid-template-columns:46px minmax(0,1fr) auto minmax(98px,auto)!important;align-items:center!important;gap:7px!important;min-height:46px!important}
#hud .topbar.hud-header132.wos-top146 .avatar{width:46px!important;height:46px!important;min-height:46px!important;border-radius:10px 4px 10px 4px!important;border:2px solid #f3d48e!important;background:radial-gradient(circle at 50% 30%,#385c78,#14293c)!important;box-shadow:inset 0 0 0 1.5px #9b6c29,0 3px 8px #020b16cc!important}
#hud .topbar.hud-header132.wos-top146 .avatar .av-img{border-radius:7px 2px 7px 2px!important}
#hud .topbar.hud-header132.wos-top146 .avatar .lvl{bottom:-5px!important;left:50%!important;transform:translateX(-50%)!important;min-width:26px!important;height:16px!important;line-height:14px!important;padding:0 6px!important;border-radius:99px!important;background:linear-gradient(180deg,#fff0b8,#d69f42 58%,#966115)!important;border:1px solid #fff3c4!important;color:#271704!important;font:900 10px/14px system-ui,sans-serif!important;box-shadow:0 2px 4px #020b16cc!important}
#hud .topbar.hud-header132.wos-top146 .who{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:2px!important;min-width:0!important}
#hud .topbar.hud-header132.wos-top146 .who .nm{font:800 12.5px/1.15 system-ui,sans-serif!important;color:#fff2d2!important;text-shadow:0 1px 3px #020b16!important;max-width:100%!important}
#hud .topbar.hud-header132.wos-top146 .who .pow{display:inline-flex!important;align-items:center!important;gap:4px!important;padding:2px 10px 2px 6px!important;border-radius:99px!important;background:linear-gradient(90deg,#18344bf0,#0e2234d9)!important;border:1px solid #d4b26e99!important;box-shadow:inset 0 1px #fff1c229,0 2px 4px #020b1688!important;color:#ffe6a6!important;font:800 11.5px/1.15 system-ui,sans-serif!important}
#hud .topbar.hud-header132.wos-top146 .who .pow::before{display:none!important}
#hud .topbar.hud-header132.wos-top146 .vip-top130.wos-vip146{display:inline-flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:4px!important;min-width:62px!important;width:auto!important;height:32px!important;min-height:32px!important;padding:0 9px!important;border-radius:4px 10px 4px 10px!important;background:linear-gradient(180deg,#fff2be 0%,#e2ad52 50%,#a36c1f 100%)!important;border:1.5px solid #ffeba8!important;box-shadow:inset 0 1px 0 #fffdf0,inset 0 0 0 1px #8c5a14,0 2px 0 #5e3b0a,0 4px 8px #020b16aa!important;color:#2b1905!important;cursor:pointer}
#hud .topbar.hud-header132.wos-top146 .vip-top130.wos-vip146 .wos-vip-ic146{display:grid;place-items:center;width:15px;height:15px;color:#523007}
#hud .topbar.hud-header132.wos-top146 .vip-top130.wos-vip146 .wos-vip-ic146 svg{width:14px;height:14px}
#hud .topbar.hud-header132.wos-top146 .vip-top130.wos-vip146 .lb{position:static!important;margin:0!important;padding:0!important;background:none!important;border:0!important;clip-path:none!important;color:#281704!important;font:900 11.5px/1 system-ui,sans-serif!important;letter-spacing:.02em;text-shadow:0 1px 0 #fff5cf88!important}
#hud .topbar.hud-header132.wos-top146 .gem-pill{display:grid!important;grid-template-columns:20px minmax(0,1fr) 22px!important;align-items:center!important;gap:4px!important;height:32px!important;min-height:32px!important;padding:0 4px 0 7px!important;border-radius:99px!important;background:linear-gradient(180deg,#173349f2,#0b1c2cf5)!important;border:1.5px solid #d2b06b!important;box-shadow:inset 0 1px #8ad8ff33,0 3px 7px #020b1699!important}
#hud .topbar.hud-header132.wos-top146 .gem-pill>.plus{width:21px!important;height:21px!important;min-width:21px!important;border-radius:50%!important;background:linear-gradient(180deg,#f7e2ae,#c5913e)!important;border:1px solid #ffeba8!important;color:#291805!important;font:900 15px/19px system-ui,sans-serif!important;box-shadow:0 1px 3px #020b1688!important}

/* WoS 4 Individual Resource Capsules (.wos-res146) */
#hud .topbar.hud-header132.wos-top146 .res-strip.wos-res146{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;margin:2px 0 0!important;padding:0!important;background:transparent!important;border:0!important}
#hud .topbar.hud-header132.wos-top146 .res-strip.wos-res146 .res-chip{position:relative!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:3px!important;height:26px!important;min-height:26px!important;padding:0 5px 0 3px!important;border-radius:99px!important;background:linear-gradient(180deg,#162f44eb,#0b1b2af2)!important;border:1px solid #c9a86888!important;box-shadow:inset 0 1px #fff1c222,0 2px 5px #020b1688!important}
#hud .topbar.hud-header132.wos-top146 .res-strip.wos-res146 .res-chip .resource137{width:20px!important;height:20px!important;min-width:20px!important;flex:0 0 20px!important}
#hud .topbar.hud-header132.wos-top146 .res-strip.wos-res146 .res-chip .stack{flex:1 1 auto;min-width:0;text-align:center}
#hud .topbar.hud-header132.wos-top146 .res-strip.wos-res146 .res-chip .v{font:800 11px/1.1 system-ui,sans-serif!important;color:#f8ebd0!important;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#hud .topbar.hud-header132.wos-top146 .res-strip.wos-res146 .res-chip .wos-res-plus146{flex:0 0 13px;width:13px;height:13px;border-radius:50%;background:linear-gradient(180deg,#32546e,#183146);border:1px solid #d4b26e88;color:#f5d996;font:900 10px/11px system-ui,sans-serif;text-align:center;font-style:normal}

/* WoS Survival & Furnace Climate Strip (.wos-status146) */
#hud .topbar.hud-header132.wos-top146 .status132.wos-status146{display:grid!important;grid-template-columns:.78fr .72fr 1.5fr!important;gap:5px!important;margin:2px 0 0!important;padding:0!important}
#hud .topbar.hud-header132.wos-top146 .status132.wos-status146 .side-chip{height:24px!important;min-height:24px!important;padding:0 6px!important;border-radius:99px!important;background:linear-gradient(180deg,#142b3ee0,#0a1826eb)!important;border:1px solid #b8985866!important;box-shadow:inset 0 1px #fff1c218!important}
@media(max-width:360px){
 #hud .topbar.hud-header132.wos-top146 .tb-main{grid-template-columns:40px minmax(0,1fr) auto 92px!important;gap:5px!important}
 #hud .topbar.hud-header132.wos-top146 .vip-top130.wos-vip146{min-width:54px!important;padding:0 6px!important;height:29px!important;min-height:29px!important}
 #hud .topbar.hud-header132.wos-top146 .res-strip.wos-res146 .res-chip .wos-res-plus146{display:none}
}

/* City150 — WoS World Map Badges (Beasts, Collectible Loot Caches, Resources, Bosses) & World Search UI */
.world-ov .wlabel.lvl{
 width:auto!important;min-width:max-content!important;height:auto!important;
 padding:2px 8px!important;border-radius:999px!important;
 font:800 10.5px/1.25 system-ui,-apple-system,sans-serif!important;
 letter-spacing:.01em;white-space:nowrap!important;
 pointer-events:auto!important;cursor:pointer!important;
 box-shadow:0 3px 8px #020b16cc,inset 0 1px 0 #ffffff33!important;
 transform-origin:50% 100%;
}
.world-ov .wlabel.lvl.wlabel-beast150{
 background:linear-gradient(180deg,#8c2320f2 0%,#4f1110f5 100%)!important;
 border:1.5px solid #ff9b7a!important;color:#fff2ea!important;
}
.world-ov .wlabel.lvl.wlabel-loot150{
 background:linear-gradient(180deg,#ffe48cf5 0%,#c78822f5 100%)!important;
 border:1.5px solid #fff6c7!important;color:#271503!important;
 text-shadow:0 1px 0 #fff7d688!important;
 animation:wosLootPulse150 2.2s ease-in-out infinite;
}
.world-ov .wlabel.lvl.wlabel-res150{
 background:linear-gradient(180deg,#1a3b52f0 0%,#0d2233f5 100%)!important;
 border:1.2px solid #8ec8e8aa!important;color:#e8f6ff!important;
}
.world-ov .wlabel.lvl.wlabel-boss150{
 background:linear-gradient(180deg,#591834f5 0%,#2b0918fa 100%)!important;
 border:1.5px solid #ffb85c!important;color:#ffe6b8!important;
 font-size:11px!important;padding:3px 10px!important;
}
@keyframes wosLootPulse150{
 0%,100%{box-shadow:0 3px 8px #020b16cc,0 0 0 0 #ffd25e66}
 50%{box-shadow:0 3px 12px #ffd25eaa,0 0 0 4px #ffd25e22}
}
.wloot-card150{
 background:linear-gradient(180deg,#132c41f0 0%,#0b1c2bf5 100%)!important;
 border:1px solid #dcb86e88!important;
 padding:8px 10px!important;
}
.wsearch-tabs150{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;margin-bottom:8px!important;
}
.wsearch-list150{display:flex;flex-direction:column;gap:6px}
.wsearch-item150{padding:8px 10px!important;align-items:center!important}
.wsearch-ic150{
 width:34px;height:34px;border-radius:10px;
 display:grid;place-items:center;font-size:18px;
 background:radial-gradient(circle at 35% 28%,#2f5470,#122638);
 border:1px solid #d4b26e88;
}
.world-tools .wsearch-btn150{
 font-size:17px!important;
 background:linear-gradient(180deg,#ffe28a 0%,#c78928 100%)!important;
 border-color:#fff2bd!important;color:#261403!important;
}


/* ==========================================================================
   City150/151 — WoS Right-Aligned World Tools & Compact Blizzard Chip
   ========================================================================== */

/* Dünya haritası araç butonları (Ara / Karakollar / Odakla) sağ kenara dayalı, Dünya butonu eski yerinde */
#hud .world-dock108 .world-tools {
  position: fixed !important;
  right: 10px !important;
  bottom: calc(var(--nav-height108) + 14px + env(safe-area-inset-bottom)) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  width: auto !important;
  pointer-events: auto !important;
  z-index: 25 !important;
}

@media (min-width: 1000px) and (min-height: 601px) {
  #hud .world-dock108 .world-tools {
    right: 12px !important;
    bottom: 96px !important;
  }
}

#hud .world-tools .icon-btn {
  width: 46px !important;
  height: 46px !important;
  min-height: 46px !important;
  border-radius: 12px !important;
  background: radial-gradient(circle at 35% 25%, #2a4c68 0%, #11273c 100%) !important;
  border: 1.5px solid #dfbe78 !important;
  box-shadow: inset 0 0 0 1.5px #0a1b2a, inset 0 1px 0 rgba(255,255,255,0.25), 0 4px 10px rgba(0,0,0,0.65) !important;
  color: #fff2d0 !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  cursor: pointer !important;
  transition: transform 140ms ease, filter 140ms ease, box-shadow 140ms ease !important;
}

#hud .world-tools .icon-btn:hover {
  transform: translateY(-2px) scale(1.05) !important;
  filter: brightness(1.18) !important;
}

#hud .world-tools .icon-btn:active {
  transform: scale(0.92) !important;
}

#hud .world-tools .icon-btn .ic,
#hud .world-tools .icon-btn .ic svg {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
}

#hud .world-tools .wsearch-btn150 {
  background: radial-gradient(circle at 35% 25%, #3c6585 0%, #15324d 100%) !important;
  border-color: #ffd77a !important;
  color: #fff8e0 !important;
}

/* ==========================================================================
   Kompakt Kül Fırtınası Kartı (.wos-storm-chip150)
   Üstteki Asker Eğit / İnşaat butonlarıyla birebir aynı boyut (121x36px)
   ========================================================================== */

/* Same operation frame, with a readable two-line weather label. */
#hud .hud-left108 .operations130 .rbtn.storm-chip.wos-storm-chip150 {
 height:36px!important;min-height:36px!important;box-sizing:border-box;
 display:flex!important;align-items:center;gap:5px!important;overflow:hidden;border-radius:0!important;
}
#hud .hud-left108 .operations130 .rbtn.storm-chip.wos-storm-chip150.hidden{display:none!important}
#hud .hud-left108 .operations130 .storm-chip .storm-lb150{
 display:flex!important;flex-direction:column;justify-content:center;min-width:0;flex:1;gap:1px;overflow:hidden;text-align:left;
}
#hud .hud-left108 .operations130 .storm-chip .storm-head150,
#hud .hud-left108 .operations130 .storm-chip .storm-time150{
 display:block!important;position:static!important;margin:0!important;white-space:nowrap!important;
 max-width:100%;overflow:hidden;text-overflow:ellipsis;font:700 9px/12px system-ui!important;
}
#hud .hud-left108 .operations130 .storm-chip .storm-time150{color:#fff3cf!important;font-variant-numeric:tabular-nums}
#hud .hud-left108 .operations130 .storm-chip.active .storm-head150{color:#ffb89c!important}


.rally-roster151{display:grid;gap:10px;min-width:0}
.rally-member151{display:grid;gap:8px;padding:12px;border:1px solid #b9914b66;border-radius:12px;background:linear-gradient(135deg,#203d50,#101e2c)}
.rally-member151 .row{flex-wrap:wrap;gap:6px}
.rally-classes151{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.rally-classes151>span{display:grid;gap:3px;text-align:center;background:#07172366;border-radius:7px;padding:7px 3px;overflow-wrap:anywhere}
.rally-member151 .bar{height:5px;margin:0}

/* ==========================================================================
   City152 — visible HUD/troop polish (WoS hierarchy, Külyurt identity)
   Keeps server/economy/DB unchanged; visual/interaction layer only.
   ========================================================================== */
:root{--c152-navy:#10273a;--c152-navy2:#18374f;--c152-brass:#d8b56b;--c152-brass2:#f2d694;--c152-amber:#e3a643;--c152-ink:#f7ecd3;--c152-mist:#bfd3de;--c152-danger:#ff8f7c;--c152-ok:#9fe0a8;}

/* HUD readability + hierarchy */
#hud .topbar.hud-header132.wos-top146.city152-hud{backdrop-filter:blur(2px)}
#hud .topbar.hud-header132.wos-top146.city152-hud .res-chip.city152-res{overflow:hidden;min-width:0}
#hud .topbar.hud-header132.wos-top146.city152-hud .res-chip.city152-res .stack{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;line-height:1.05;min-width:0;flex:1}
#hud .topbar.hud-header132.wos-top146.city152-hud .res-chip.city152-res .v{font:800 11.5px/1.05 system-ui,sans-serif!important;letter-spacing:.01em;color:var(--c152-ink)!important;text-shadow:0 1px 2px #04111d}
#hud .topbar.hud-header132.wos-top146.city152-hud .res-chip.city152-res .s{display:block!important;font:700 9.5px/1.05 system-ui,sans-serif!important;color:var(--c152-mist)!important;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
#hud .topbar.hud-header132.wos-top146.city152-hud .res-chip.full{box-shadow:inset 0 0 0 1px #ffd06d88,0 0 10px #d6a54533!important}
#hud .topbar.hud-header132.wos-top146.city152-hud .res-chip.neg .s{color:#ffb0a1!important}
#hud .topbar.hud-header132.wos-top146.city152-hud .status132 .side-chip .k{font:700 9px/1 system-ui,sans-serif;opacity:.92}
#hud .topbar.hud-header132.wos-top146.city152-hud .status132 .side-chip .v{font:800 11px/1.05 system-ui,sans-serif;font-variant-numeric:tabular-nums}
#hud .topbar.hud-header132.wos-top146.city152-hud .pow-v152,#hud .topbar.hud-header132.wos-top146.city152-hud .who .pow{font-variant-numeric:tabular-nums}

/* Badges: keep icons/text readable */
#hud .topbar.hud-header132.wos-top146 .gem-pill,#hud .topbar.hud-header132.wos-top146 .vip-top130.wos-vip146,#hud .topbar.hud-header132.wos-top146 .res-chip{position:relative}
#hud .topbar.hud-header132.wos-top146 .vip-top130.wos-vip146 .badge{top:-3px!important;right:-3px!important;z-index:3}
#hud .topbar.hud-header132.wos-top146 .gem-pill .badge{top:-4px;right:-4px}
#hud .operations130 .rbtn .ring .badge,#hud .utility-rail130 .rbtn .ring .badge,#hud .nav.nav132 .badge{z-index:4;pointer-events:none}
#hud .operations130 .rbtn .ring,#hud .utility-rail130 .rbtn .ring{overflow:visible}

/* Desktop: full-width top frame, balanced bottom dock */
@media(min-width:1000px) and (min-height:601px){
 #hud .topbar.hud-header132.wos-top146.city152-hud{grid-template-columns:minmax(420px,1.35fr) minmax(300px,1fr);gap:6px 24px;max-width:none!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .tb-main{grid-template-columns:50px minmax(180px,1fr) 92px 190px!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .res-chip.city152-res .v{font-size:13px!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .res-chip.city152-res .s{font-size:10px!important}
 #hud .nav.nav132{height:86px;min-height:86px;border-top-color:#d7be7a66!important}
 #hud .world-dock108 .world105{height:86px;min-height:86px}
}

/* Mobile: compact but touch-friendly */
@media(max-width:390px){
 #hud .topbar.hud-header132.wos-top146.city152-hud .tb-main{grid-template-columns:36px minmax(0,1fr) 48px 96px!important;gap:4px!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .res-strip.wos-res146{gap:3px!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .res-chip.city152-res{padding:0 2px 0 2px!important;gap:2px!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .res-chip.city152-res .resource137{width:17px!important;height:17px!important;min-width:17px!important;flex-basis:17px!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .res-chip.city152-res .v{font-size:10px!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .res-chip.city152-res .s{font-size:8.5px!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .status132.wos-status146{gap:3px!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .status132 .side-chip{padding:0 4px!important}
 #hud .nav.nav132 .lbl{font-size:8.5px!important}
 #hud .operations130 .rbtn{width:108px!important}
}

/* Troop panel: clearer hierarchy, states, no horizontal overflow */
#sheets .sheet.training-sheet112 .sheet-body{overflow-x:hidden}
#sheets .sheet.training-sheet112 .camp-tabs143 .camp-tab143{min-width:0}
#sheets .sheet.training-sheet112 .wos-stage145{min-height:228px}
#sheets .sheet.training-sheet112 .wos-stage-tl145{max-width:min(58%,calc(100% - 78px))}
#sheets .sheet.training-sheet112 .wos-stage-art145{right:46px!important;width:160px!important}
#sheets .sheet.training-sheet112 .wos-stage-img148{max-height:186px;filter:drop-shadow(0 10px 16px #020a14cc) saturate(1.04)}
#sheets .sheet.training-sheet112 .wos-owned-chip148.state{border-color:#d6ba7666}
#sheets .sheet.training-sheet112 .wos-owned-chip148.ok{background:#153626cc;border-color:#79c89188;color:#daf7e2}
#sheets .sheet.training-sheet112 .wos-owned-chip148.warn{background:#3a1a20cc}
#sheets .sheet.training-sheet112 .wos-cost-pill145{min-width:0}
#sheets .sheet.training-sheet112 .wos-cost-pill145 b{font-size:12.5px}
#sheets .sheet.training-sheet112 .wos-cost-pill145 small{display:block}
#sheets .sheet.training-sheet112 .wos-slider-row145{grid-template-columns:36px minmax(90px,1fr) 36px minmax(64px,76px) 54px}
#sheets .sheet.training-sheet112 .wos-range145{--wos-pct:50%;height:10px;border-radius:999px;background:linear-gradient(90deg,var(--c152-amber) 0 var(--wos-pct),#163046 var(--wos-pct) 100%);border:1px solid #caa76266}
#sheets .sheet.training-sheet112 .wos-dual-btns145{grid-template-columns:repeat(2,minmax(0,1fr))}
#sheets .sheet.training-sheet112 .wos-console145 .wos-state-note152{padding:7px 9px;border-radius:9px;border:1px solid #caa76255;background:linear-gradient(180deg,#13293de6,#0b1d2de8);font:600 11px/1.3 system-ui,sans-serif;color:#e8d9bb}
#sheets .sheet.training-sheet112 .wos-console145 .wos-state-note152.bad{border-color:#df7f7366;color:#ffd0c8;background:linear-gradient(180deg,#3a1b22e6,#261018e8)}
#sheets .sheet.training-sheet112 .wos-console145 .wos-state-note152.lock{border-color:#98a8b666;color:#d8e3eb}

/* Troop mobile layout */
@media(max-width:390px){
 #sheets .sheet.training-sheet112 .wos-stage145{min-height:214px}
 #sheets .sheet.training-sheet112 .wos-stage-top146{gap:4px;padding:8px 7px 4px}
 #sheets .sheet.training-sheet112 .wos-stage-tl145{max-width:calc(100% - 66px);padding:6px 7px}
 #sheets .sheet.training-sheet112 .wos-stage-art145{right:34px!important;top:18px!important;width:132px!important;bottom:40px!important}
 #sheets .sheet.training-sheet112 .wos-stage-img148{max-height:154px}
 #sheets .sheet.training-sheet112 .wos-stage-stats145{gap:3px;padding:6px 6px}
 #sheets .sheet.training-sheet112 .wos-sstat145 b{font-size:12px}
 #sheets .sheet.training-sheet112 .wos-slider-row145{grid-template-columns:34px minmax(0,1fr) 34px 58px 46px;gap:4px}
 #sheets .sheet.training-sheet112 .wos-cost-strip145{grid-template-columns:repeat(2,minmax(0,1fr))}
 #sheets .sheet.training-sheet112 .wos-dual-btns145{grid-template-columns:1fr}
 #sheets .sheet.training-sheet112 .camp-tab143{padding:5px 3px!important}
 #sheets .sheet.training-sheet112 .camp-tab-top146 b{font-size:11px}
}

/* Desktop troop panel: more room, clearer vitrine */
@media(min-width:1366px){
 #sheets .sheet.training-sheet112{max-width:560px}
 #sheets .sheet.training-sheet112 .wos-stage145{min-height:258px}
 #sheets .sheet.training-sheet112 .wos-stage-art145{right:64px!important;width:188px!important}
 #sheets .sheet.training-sheet112 .wos-stage-img148{max-height:214px}
 #sheets .sheet.training-sheet112 .wos-stage-tl145{max-width:320px}
}

/* Soft transitions/press states (performance-safe transforms/opacity/filter) */
#hud .res-chip,#hud .side-chip,#hud .gem-pill,#hud .avatar,#hud .vip-top130.wos-vip146,#hud .operations130 .rbtn,#hud .nav.nav132>button,#sheets .sheet.training-sheet112 .camp-tab143,#sheets .sheet.training-sheet112 .tier-chip,#sheets .sheet.training-sheet112 .btn-wos-sapphire145,#sheets .sheet.training-sheet112 .btn-wos-gold145,#sheets .sheet.training-sheet112 .wos-stage-btn145{transition:transform 140ms ease,filter 140ms ease,box-shadow 160ms ease,background-color 160ms ease,border-color 160ms ease}
#hud .res-chip:active,#hud .side-chip:active,#hud .gem-pill:active,#hud .avatar:active,#hud .vip-top130.wos-vip146:active{transform:scale(.985)}
#hud .operations130 .rbtn:active{transform:translateX(1px) scale(.985)}
#sheets .sheet.training-sheet112 .camp-tab143:active,#sheets .sheet.training-sheet112 .tier-chip:active{transform:scale(.97)}
#sheets .sheet.training-sheet112 .wos-stage145::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 70% 30%,#ffe7a812 0,transparent 55%);opacity:.9}
@keyframes c152SheetIn{from{opacity:0;transform:translateY(10px) scale(.995)}to{opacity:1;transform:translateY(0) scale(1)}}
#sheets .sheet-wrap.in .sheet.training-sheet112{animation:c152SheetIn 180ms cubic-bezier(.2,.8,.2,1)}
@keyframes c152Pulse{0%,100%{box-shadow:0 0 0 0 #e0a03400}50%{box-shadow:0 0 0 4px #e0a03422}}
#sheets .sheet.training-sheet112 .training-ready122{animation:c152Pulse 2.2s ease-in-out infinite;border-color:#d9ba72aa!important}

@media(prefers-reduced-motion:reduce){
 #hud .res-chip,#hud .side-chip,#hud .gem-pill,#hud .avatar,#hud .vip-top130.wos-vip146,#hud .operations130 .rbtn,#hud .nav.nav132>button,#sheets .sheet.training-sheet112 .camp-tab143,#sheets .sheet.training-sheet112 .tier-chip,#sheets .sheet.training-sheet112 .btn-wos-sapphire145,#sheets .sheet.training-sheet112 .btn-wos-gold145,#sheets .sheet.training-sheet112 .wos-stage-btn145,#sheets .sheet-wrap.in .sheet.training-sheet112,#sheets .sheet.training-sheet112 .training-ready122{transition:none!important;animation:none!important}
 #hud .res-chip:active,#hud .side-chip:active,#hud .gem-pill:active,#hud .avatar:active,#hud .vip-top130.wos-vip146:active,#hud .operations130 .rbtn:active,#sheets .sheet.training-sheet112 .camp-tab143:active,#sheets .sheet.training-sheet112 .tier-chip:active{transform:none!important}
}

/* City152 repair: reserve separate rows for labels, complete soldier, and stats. */
#sheets .sheet.training-sheet112 .wos-stage145{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 190px auto;min-height:0}
#sheets .sheet.training-sheet112 .wos-stage-top146{grid-row:1;grid-column:1;min-width:0}
#sheets .sheet.training-sheet112 .wos-stage-tl145{max-width:calc(100% - 70px);min-width:0}
#sheets .sheet.training-sheet112 .wos-rank-sub145{overflow-wrap:anywhere}
#sheets .sheet.training-sheet112 .wos-stage-art145{position:relative!important;grid-row:2;grid-column:1;inset:auto!important;justify-self:center;width:100%!important;height:190px!important;min-width:0}
#sheets .sheet.training-sheet112 .wos-stage-img148{width:100%;height:100%;max-height:none;object-fit:contain;border-radius:0;-webkit-mask-image:none;mask-image:none}
#sheets .sheet.training-sheet112 .wos-stage-stats145{position:relative;grid-row:3;grid-column:1;width:100%;box-sizing:border-box}
#sheets .sheet.training-sheet112 .wos-cost-pill145 small{white-space:normal;overflow-wrap:anywhere;text-align:center}
@media(max-width:390px){
 #sheets .sheet.training-sheet112 .wos-stage145{grid-template-rows:auto 170px auto;min-height:0}
 #sheets .sheet.training-sheet112 .wos-stage-art145{height:170px!important}
 #sheets .sheet.training-sheet112 .wos-counter-pill145{white-space:normal}
}

/* City153 — observed reference hierarchy, original Külyurt styling. */
#sheets .sheet.training-sheet112{width:min(100%,580px)!important;max-width:580px!important;background:linear-gradient(145deg,#243b50,#102437 65%,#142638)!important}
#sheets .sheet.training-sheet112 .sheet-body{padding:12px!important;overflow-x:hidden}
#sheets .sheet-wrap .sheet .training153 .camp-tabs143{background:#0b1b2c!important;border:1px solid #8d9eac66!important;border-radius:10px!important;padding:4px!important;gap:4px!important}
#sheets .sheet-wrap .sheet .training153 .camp-tab143{border-radius:7px!important;background:transparent!important;border:1px solid transparent!important;box-shadow:none!important;min-height:50px!important}
#sheets .sheet-wrap .sheet .training153 .camp-tab143.on{background:linear-gradient(#f8df9b,#c49345)!important;border-color:#fff0c3!important;box-shadow:inset 0 1px #fff7d9,0 2px 5px #0005!important}
#sheets .sheet.training-sheet112 .wos-stage145{border:0!important;box-shadow:inset 0 0 55px #0b1b2b88!important;border-radius:12px!important;background:radial-gradient(ellipse at 50% 45%,#63859c 0,#2c4b65 45%,#172d44 100%)!important;grid-template-rows:auto 260px auto!important}
#sheets .sheet-wrap .sheet .training153 .wos-stage145::before{inset:12% 16% 13%!important;border:1px solid #d4bd8655;border-radius:48% 48% 6px 6px;background:linear-gradient(90deg,transparent,#e5d49b15,transparent)!important;box-shadow:0 0 0 7px #e8d18d08,inset 0 0 32px #cedeea12}
#sheets .sheet-wrap .sheet .training153 .wos-stage145.kor{background:radial-gradient(ellipse at 50% 42%,#8a7961,#4c4e59 45%,#172d44 100%)!important}
#sheets .sheet-wrap .sheet .training153 .wos-stage-top146{padding:12px!important;align-items:flex-start;gap:8px!important}
#sheets .sheet.training-sheet112 .wos-stage-tl145{padding:0!important;background:none!important;max-width:calc(100% - 58px)!important;gap:6px}
#sheets .sheet-wrap .sheet .training153 .wos-rank-title145{font-size:19px!important;white-space:normal!important;letter-spacing:0}
#sheets .sheet-wrap .sheet .training153 .wos-rank-sub145{font-size:11px!important;line-height:1.35!important;color:#d7e2eb!important}
#sheets .sheet-wrap .sheet .training153 .wos-counter-pill145{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;color:#ffe8af;font-size:11px}
#sheets .sheet-wrap .sheet .training153 .wos-owned-strip145{gap:4px}
#sheets .sheet-wrap .sheet .training153 .wos-owned-chip148{background:#10233699!important;border:0!important;color:#d4e4ed!important;padding:3px 6px!important;font-size:10px!important}
#sheets .sheet-wrap .sheet .training153 .wos-owned-chip148.state.ok{color:#b1edc0!important}
#sheets .sheet-wrap .sheet .training153 .wos-stage-tr145{gap:8px!important}
#sheets .sheet-wrap .sheet .training153 .wos-stage-btn145{min-width:48px!important;min-height:45px!important}
#sheets .sheet-wrap .sheet .training153 .wos-sbtn-ring145{width:36px!important;height:36px!important}
#sheets .sheet-wrap .sheet .training153 .wos-sbtn-lb145{font-size:10px!important;min-width:42px!important}
#sheets .sheet.training-sheet112 .wos-stage-art145{height:260px!important;isolation:isolate;pointer-events:auto!important}
#sheets .sheet-wrap .sheet .training153 .training-canvas153{position:absolute;inset:0;width:100%;height:100%;z-index:2;touch-action:pan-y;cursor:grab}
#sheets .sheet-wrap .sheet .training153 .training-canvas153:active{cursor:grabbing}
#sheets .sheet-wrap .sheet .training153 .live153>.wos-stage-img148{visibility:hidden}
#sheets .sheet-wrap .sheet .training153 .wos-stage-img148{height:100%;width:100%;object-fit:contain}
#sheets .sheet-wrap .sheet .training153 .wos-stage-podium148{bottom:10px;width:160px;height:32px;background:radial-gradient(ellipse,#f1d9a555,#182b4066 60%,transparent);border:1px solid #d8c29355}
#sheets .sheet-wrap .sheet .training153 .training-hint153{position:absolute;bottom:0;left:0;right:0;text-align:center;font:10px/1.4 system-ui,sans-serif;color:#bdcedc;z-index:3;pointer-events:none}
#sheets .sheet-wrap .sheet .training153 .wos-stage-stats145{background:#102339bb!important;border-top:1px solid #b9c9d533!important;padding:10px 5px!important}
#sheets .sheet-wrap .sheet .training153 .wos-sstat145 span{font-size:10px!important;color:#b1c3d3!important}
#sheets .sheet-wrap .sheet .training153 .wos-sstat145 b{font-size:16px!important;color:#fff4d8!important}
#sheets .sheet-wrap .sheet .training153 .wos-tiers145{gap:7px!important;padding:8px 2px 10px!important;scroll-snap-type:x mandatory;scrollbar-width:none}
#sheets .sheet-wrap .sheet .training153 .wos-tiers145::-webkit-scrollbar{display:none}
#sheets .sheet-wrap .sheet .training153 .wos-tiers145 .tier-chip{position:relative;flex:0 0 66px!important;min-width:66px!important;height:92px!important;padding:4px!important;border-radius:9px!important;background:linear-gradient(#263f58,#172c42)!important;border:1px solid #7b95ad77!important;display:flex;flex-direction:column;align-items:center;gap:1px;scroll-snap-align:center;overflow:hidden}
#sheets .sheet-wrap .sheet .training153 .tier-frame153{display:block;width:50px;height:51px;flex-shrink:0;background:radial-gradient(ellipse,#839bb8,#344665);border:1px solid #c0c9dc99;border-radius:40% 40% 6px 6px;overflow:hidden}
#sheets .sheet-wrap .sheet .training153 .tier-chip.kor .tier-frame153{background:radial-gradient(ellipse,#ad8c61,#614326);border-color:#e9c981}
#sheets .sheet-wrap .sheet .training153 .tier-portrait153{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 2px #0008)}
#sheets .sheet-wrap .sheet .training153 .wos-tiers145 .tier-chip.on{border:2px solid #ffe7a7!important;background:linear-gradient(#aa8048,#5c442d)!important;box-shadow:0 0 9px #f6d28b44!important;padding:3px!important}
#sheets .sheet-wrap .sheet .training153 .wos-tiers145 .tier-chip.locked{filter:grayscale(.9);opacity:.55}
#sheets .sheet-wrap .sheet .training153 .tier-chip>b{font-size:12px!important;line-height:14px}
#sheets .sheet-wrap .sheet .training153 .tier-chip>span:last-child{font-size:10px!important;line-height:13px}
#sheets .sheet-wrap .sheet .training153 .wos-tier-up148{position:absolute;top:3px;right:3px;z-index:2;color:#9ff2ac;text-shadow:0 1px 3px #071b12}
#sheets .sheet-wrap .sheet .training153 .wos-console145{border:0!important;background:#0e2235!important;box-shadow:inset 0 1px #cad9e533!important;border-radius:12px!important;padding:12px!important;gap:12px!important}
#sheets .sheet-wrap .sheet .training153 .wos-console-head145{gap:4px}
#sheets .sheet-wrap .sheet .training153 .wos-console-title145{font:700 15px/1.3 system-ui,sans-serif!important;color:#fff4d4}
#sheets .sheet-wrap .sheet .training153 .wos-console-head145>small{font-size:10px!important}
#sheets .sheet-wrap .sheet .training153 .wos-cost-strip145{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;order:-1;background:#1c354b;padding:10px;border-radius:9px}
#sheets .sheet-wrap .sheet .training153 .wos-cost-pill145{display:flex!important;gap:7px!important;text-align:left!important;align-items:center!important;border:0!important;background:none!important;box-shadow:none!important;padding:0!important;min-width:0}
#sheets .sheet-wrap .sheet .training153 .wos-cost-pill145>.ic{width:25px!important;height:25px!important;flex:0 0 25px}
#sheets .sheet-wrap .sheet .training153 .wos-cost-pill145>.col{min-width:0;gap:2px}
#sheets .sheet-wrap .sheet .training153 .wos-cost-pill145 b{font:700 12px/1.25 system-ui,sans-serif!important;white-space:nowrap}
#sheets .sheet-wrap .sheet .training153 .cost-needed153{font-weight:500;color:#bacbd9;font-size:11px}
#sheets .sheet-wrap .sheet .training153 .wos-cost-pill145 .cost-label153{text-align:left!important;color:#b6cada;font-size:10px}
#sheets .sheet-wrap .sheet .training153 .wos-slider-row145{grid-template-columns:34px minmax(30px,1fr) 34px 58px 42px!important;gap:5px!important}
#sheets .sheet-wrap .sheet .training153 .wos-step-btn145,#sheets .sheet-wrap .sheet .training153 .wos-max-btn145{height:36px!important;min-height:36px!important;padding:0!important;border:1px solid #c6d7e988!important;background:linear-gradient(#4f7fa1,#234965)!important;border-radius:7px!important;color:#fff!important;font-size:18px!important}
#sheets .sheet-wrap .sheet .training153 .wos-max-btn145{font-size:11px!important}
#sheets .sheet-wrap .sheet .training153 .wos-num-input145{background:#091c2f!important;border:1px solid #9cb8cb66!important;border-radius:6px!important;color:#fff!important;width:58px!important;box-sizing:border-box}
#sheets .sheet-wrap .sheet .training153 .wos-range145{accent-color:#e4bd68;background:linear-gradient(90deg,#e4bd68 0 var(--wos-pct),#314b60 var(--wos-pct) 100%)!important;height:9px!important}
#sheets .sheet-wrap .sheet .training153 .wos-dual-btns145{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
#sheets .sheet-wrap .sheet .training153 .wos-dual-btns145>button{min-height:58px!important;border-radius:10px!important;padding:8px 3px!important;box-shadow:inset 0 2px #fff4,0 3px 0 #04111e88!important}
#sheets .sheet-wrap .sheet .training153 .wos-btn-main145{font-size:12px!important;line-height:1.3!important}
#sheets .sheet-wrap .sheet .training153 .wos-btn-sub145{font-size:13px!important}
#sheets .sheet-wrap .sheet .training153 .wos-state-note152[hidden]{display:none!important}
@media(max-width:640px){
 #hud .topbar.hud-header132.wos-top146.city152-hud{padding:4px 7px 5px!important;display:grid!important;grid-template-rows:46px 24px 21px!important;gap:3px!important;height:auto!important;min-height:0!important;box-sizing:border-box;border-radius:0 0 18px 18px!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .tb-main{display:grid!important;grid-template-columns:44px minmax(0,1fr) 53px 94px!important;gap:6px!important;align-items:center!important;min-width:0!important;height:46px!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .tb-main>.avatar{width:44px!important;height:46px!important;min-width:0!important;min-height:0!important;margin:0!important;grid-area:auto!important;transform:none!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .avatar .av-img{width:100%!important;height:100%!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .avatar .lvl{bottom:-1px!important;font-size:9px!important;padding:1px 4px!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .tb-main>.who{width:auto!important;min-width:0!important;margin:0!important;gap:3px!important;align-self:center!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .who .nm{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 12px/16px system-ui,sans-serif!important;letter-spacing:0!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .who .pow{width:auto!important;min-width:0!important;max-width:100%!important;padding:2px 5px!important;font:700 11px/13px system-ui,sans-serif!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .tb-main>.vip-top130{width:53px!important;min-width:0!important;height:29px!important;min-height:29px!important;margin:0!important;padding:0 4px!important;gap:2px!important;box-sizing:border-box;justify-self:stretch!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .vip-top130 .lb{font:700 11px/1 system-ui,sans-serif!important;padding:0!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .vip-top130 .wos-vip-ic146{display:none!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .tb-main>.gem-pill{width:94px!important;min-width:0!important;height:29px!important;min-height:29px!important;margin:0!important;grid-template-columns:17px minmax(0,1fr) 19px!important;gap:3px!important;padding:0 3px!important;box-sizing:border-box}
 #hud .topbar.hud-header132.wos-top146.city152-hud .gem-art134{width:17px!important;height:24px!important;margin:0!important;min-width:0!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .gem-pill .v{font-size:11px!important;white-space:nowrap;min-width:0}
 #hud .topbar.hud-header132.wos-top146.city152-hud .gem-pill>.plus{width:18px!important;min-width:18px!important;height:18px!important;font-size:13px!important;line-height:16px!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .res-strip.wos-res146{height:24px!important;min-height:0!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .res-chip.city152-res{min-width:0!important;height:24px!important;min-height:24px!important;padding:0 4px!important;gap:3px!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .res-chip .stack{min-width:0!important;gap:0!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .res-chip .s{display:none!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .res-chip .v{font:700 10px/1 system-ui,sans-serif!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .res-chip .resource137{width:18px!important;height:18px!important;min-width:18px!important;flex-basis:18px!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .res-chip .wos-res-plus146{font-size:10px!important;width:12px!important;min-width:12px!important;height:12px!important;margin-left:auto}
 #hud .topbar.hud-header132.wos-top146.city152-hud .status132.wos-status146{height:21px!important;min-height:0!important;gap:4px!important;grid-template-columns:72px 52px minmax(0,1fr)!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .status132 .side-chip{height:21px!important;min-height:21px!important;padding:0 4px!important;min-width:0!important;font-size:10px!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .status132 .side-chip>.ic{width:13px!important;height:13px!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .workers131 .stack{display:flex!important;flex-direction:row!important;gap:5px!important;align-items:center}
 #hud .topbar.hud-header132.wos-top146.city152-hud .workers131 .v{font-size:9px!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .workers131 .k{font-size:8px!important}
 #hud .operations130{top:112px!important;gap:6px!important}
 #hud .operations130 .rbtn{width:108px!important;min-height:37px!important;height:37px!important}
 #hud .side-right{top:111px!important}
 #sheets .sheet.training-sheet112{border-radius:0!important;height:100dvh!important;max-height:100dvh!important}
 #sheets .sheet.training-sheet112 .sheet-head{min-height:49px!important;padding:6px 10px!important}
 #sheets .sheet.training-sheet112 .sheet-head h2{font-size:19px!important}
 #sheets .sheet.training-sheet112 .sheet-body{padding:8px!important}
 #sheets .sheet.training-sheet112 .wos-stage145{grid-template-rows:auto 210px auto!important}
 #sheets .sheet.training-sheet112 .wos-stage-art145{height:210px!important}
 #sheets .sheet-wrap .sheet .training153 .wos-stage-top146{padding:9px!important}
 #sheets .sheet-wrap .sheet .training153 .wos-rank-title145{font-size:17px!important}
 #sheets .sheet-wrap .sheet .training153 .camp-tab143{min-height:44px!important;padding:4px 2px!important}
 #sheets .sheet-wrap .sheet .training153 .camp-tab-top146 b{font-size:11px!important}
 #sheets .sheet-wrap .sheet .training153 .camp-state143{font-size:9px!important;padding:1px 3px!important}
 #sheets .sheet-wrap .sheet .training153 .wos-owned-chip148{font-size:9px!important}
 #sheets .sheet-wrap .sheet .training153 .wos-tiers145 .tier-chip{flex-basis:61px!important;min-width:61px!important;height:87px!important}
 #sheets .sheet-wrap .sheet .training153 .wos-console145{padding:10px!important;gap:10px!important}
}
@media(max-width:350px){
 #hud .topbar.hud-header132.wos-top146.city152-hud .tb-main{grid-template-columns:40px minmax(0,1fr) 44px 82px!important;gap:4px!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .tb-main>.avatar{width:40px!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .tb-main>.vip-top130{width:44px!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .tb-main>.gem-pill{width:82px!important;grid-template-columns:14px minmax(0,1fr) 16px!important;gap:2px!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .gem-pill>.plus{width:16px!important;min-width:16px!important;height:16px!important}
 #hud .topbar.hud-header132.wos-top146.city152-hud .workers131 .k{display:none!important}
}
@media(prefers-reduced-motion:reduce){#sheets .sheet-wrap .sheet .training153 *{animation:none!important;transition:none!important}}

/* Keep the mobile action row reachable within the screen, with scroll for details. */
@media(max-width:640px){
 #sheets .sheet-wrap:has(>.training-sheet112){padding:0!important;align-items:stretch!important}
 #sheets .sheet.training-sheet112{margin:0!important;top:0!important}
 #sheets .sheet.training-sheet112 .wos-stage145{grid-template-rows:auto 155px auto!important}
 #sheets .sheet.training-sheet112 .wos-stage-art145{height:155px!important}
 #sheets .sheet-wrap .sheet .training153 .wos-stage-top146{padding:8px!important}
 #sheets .sheet-wrap .sheet .training153 .wos-stage-stats145{padding:7px 4px!important}
 #sheets .sheet-wrap .sheet .training153 .wos-console145{gap:8px!important}
 #sheets .sheet-wrap .sheet .training153 .wos-cost-strip145{padding:8px!important;gap:6px!important}
 #sheets .sheet-wrap .sheet .training153 .wos-dual-btns145>button{min-height:53px!important}
}

@media(min-width:641px){
 #sheets .sheet.training-sheet112 .wos-stage145{grid-template-rows:auto 175px auto!important}
 #sheets .sheet.training-sheet112 .wos-stage-art145{height:175px!important}
 #sheets .sheet-wrap .sheet .training153 .wos-console145{gap:8px!important;padding:10px!important}
}
@media(max-width:640px){
 #hud .topbar.hud-header132.wos-top146.city152-hud .res-chip.city152-res .s{display:none!important}
}

/* City154: an actual two-band command HUD, not a stack of unrelated pills. */
#hud .topbar.hud154{position:absolute!important;inset:0 0 auto!important;transform:none!important;width:100%!important;max-width:none!important;min-width:0!important;height:91px!important;min-height:0!important;margin:0!important;padding:5px 12px 7px 8px!important;box-sizing:border-box;display:grid!important;grid-template-columns:67px minmax(0,1fr)!important;grid-template-rows:32px 40px!important;column-gap:8px!important;row-gap:4px!important;border:0!important;border-bottom:1px solid #b7d8ea!important;border-radius:0 0 9px 9px!important;background:linear-gradient(180deg,#284e70f5 0%,#366b94f5 45%,#194569f5 46%,#34749cf0 100%)!important;box-shadow:0 2px 0 #0c2c46,0 5px 10px #05152855,inset 0 1px #bce6fa88!important;overflow:visible!important;isolation:isolate}
#hud .topbar.hud154::before,#hud .topbar.hud154::after{display:none!important}
#hud .hud154>.avatar{grid-column:1;grid-row:1/3;width:65px!important;height:74px!important;min-width:0!important;min-height:0!important;align-self:start!important;margin:0!important;transform:none!important;padding:3px!important;border:1px solid #e7d4a0!important;border-radius:8px!important;background:linear-gradient(145deg,#eff4ef,#a0b6c6 42%,#f2d48c 43%,#8c7043)!important;box-shadow:0 2px 4px #0a223799,inset 0 0 0 1px #ffffff99!important}
#hud .hud154 .avatar .av-img{display:block!important;width:100%!important;height:100%!important;overflow:hidden!important;border-radius:5px!important;background:#243c51!important}
#hud .hud154 .avatar img{width:100%!important;height:100%!important;object-fit:cover!important}
#hud .hud154 .avatar .lvl{position:absolute!important;bottom:-2px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;min-width:25px;padding:1px 5px!important;line-height:12px!important;font-size:10px!important;background:linear-gradient(#f7e3a4,#b89046)!important;color:#39280d!important;border:1px solid #ffedb7!important;border-radius:5px!important;white-space:nowrap}
#hud .hud154 .hud-resources154{grid-column:2;grid-row:1;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 148px;gap:12px;align-items:center}
#hud .hud154 .res-strip{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;width:100%!important;min-width:0!important;margin:0!important;height:32px!important;max-height:32px!important;padding:0!important;overflow:hidden!important;background:none!important;border:0!important}
#hud .hud154 .res-chip{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;width:auto!important;min-width:0!important;min-height:0!important;height:30px!important;max-height:30px!important;margin:0!important;padding:0 5px!important;background:none!important;border:0!important;border-right:1px solid #b7d8ea33!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important;color:#fff!important}
#hud .hud154 .res-chip:last-child{border-right:0!important}
#hud .hud154 .res-chip .stack{display:block!important;min-width:0!important;width:auto!important;flex:0 1 auto!important}
#hud .hud154 .res-chip .v{display:block!important;font:700 14px/1.2 system-ui,sans-serif!important;color:#f2f7fc!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 2px #082741}
#hud .hud154 .res-chip .s,#hud .hud154 .wos-res-plus146{display:none!important}
#hud .hud154 .resource137{width:24px!important;height:24px!important;min-width:24px!important;flex:0 0 24px!important;filter:drop-shadow(0 1px 1px #061e35)}
#hud .hud154 .gem-pill{position:relative!important;display:grid!important;grid-template-columns:22px minmax(0,1fr) 23px!important;align-items:center!important;gap:4px!important;min-width:0!important;width:100%!important;height:30px!important;min-height:0!important;padding:0 3px!important;margin:0!important;background:#0c2c4566!important;border:0!important;border-radius:4px!important;box-shadow:none!important;box-sizing:border-box}
#hud .hud154 .gem-art134{width:21px!important;min-width:0!important;height:28px!important;margin:0!important}
#hud .hud154 .gem-pill .v{font:700 14px/1.2 system-ui,sans-serif!important;color:#fff!important;white-space:nowrap;min-width:0}
#hud .hud154 .gem-pill>.plus{display:grid!important;place-items:center;width:23px!important;min-width:0!important;height:23px!important;min-height:0!important;padding:0!important;margin:0!important;background:linear-gradient(#72dc78,#3e9c50)!important;color:#f0ffe6!important;border:1px solid #b3edb2!important;border-radius:4px!important;font:800 22px/1 system-ui,sans-serif!important;text-shadow:0 1px 2px #1b6334;box-shadow:0 1px 1px #052f3a88!important}
#hud .hud154 .hud-command154{grid-column:2;grid-row:2;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) 70px 96px minmax(0,1fr);align-items:center;gap:14px}
#hud .hud154 .who{position:static!important;display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0!important;width:auto!important;margin:0!important;padding:0!important;align-self:center!important}
#hud .hud154 .who .nm{font:600 10px/1.2 system-ui,sans-serif!important;color:#d3e8f5!important;letter-spacing:0!important;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#hud .hud154 .who .pow{display:flex!important;align-items:center!important;gap:5px!important;width:max-content!important;max-width:100%!important;min-width:0!important;height:auto!important;margin:0!important;padding:0!important;background:none!important;border:0!important;border-radius:0!important;clip-path:none!important;box-shadow:none!important;font:800 17px/1.1 system-ui,sans-serif!important;color:#f1f8ff!important;white-space:nowrap}
#hud .hud154 .pow::before,#hud .hud154 .pow::after{display:none!important}
#hud .hud154 .pow .ic{width:20px!important;height:20px!important;min-width:20px!important}
#hud .hud154 .breath{position:relative!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;width:65px!important;height:65px!important;min-width:0!important;min-height:0!important;align-self:start!important;margin:0!important;margin-top:-9px!important;padding:5px 0 0!important;gap:0!important;border:2px solid #9cd5ed!important;border-radius:50%!important;background:radial-gradient(circle at 45% 30%,#77ccea,#2981b0 65%,#14517c)!important;box-shadow:0 2px 0 #103f65,0 0 0 3px #477c9baa,inset 0 2px 6px #c1f4ff88!important;box-sizing:border-box;z-index:2}
#hud .hud154 .breath>.ic{display:none!important}
#hud .hud154 .breath .stack{display:flex!important;flex-direction:column!important;align-items:center!important;gap:1px!important}
#hud .hud154 .breath .k{display:block!important;font:600 9px/1 system-ui,sans-serif!important;color:#d8f4ff!important;text-transform:uppercase}
#hud .hud154 .breath .v{font:800 16px/1.1 system-ui,sans-serif!important;color:#fff!important;white-space:nowrap;text-shadow:0 1px 3px #0b4c7c}
#hud .hud154 .vip-top130{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;width:96px!important;height:30px!important;min-height:0!important;min-width:0!important;padding:0 4px!important;margin:0!important;background:linear-gradient(#efd998,#c99c47)!important;border:1px solid #fff0b7!important;border-radius:5px!important;box-shadow:0 1px 2px #11344a99!important;transform:none!important}
#hud .hud154 .vip-top130 .lb{font:800 14px/1 system-ui,sans-serif!important;color:#5b3d11!important;letter-spacing:0!important;margin:0!important;padding:0!important;text-shadow:none!important}
#hud .hud154 .vip-top130 .wos-vip-ic146{display:block!important;width:17px!important;height:17px!important}
#hud .hud154 .vip-top130 .wos-vip-ic146>.ic{width:17px!important;height:17px!important}
#hud .hud154 .vip-top130 .badge{position:absolute!important;top:-3px!important;right:-3px!important;width:7px!important;height:7px!important;min-width:0!important;padding:0!important;border:1px solid #ffe3b3!important;border-radius:50%!important;background:#ed5b4d!important}
#hud .hud154 .hud-people154{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0}
#hud .hud154 .hud-people154 .side-chip{display:flex!important;align-items:center!important;gap:4px!important;width:auto!important;height:31px!important;min-height:0!important;min-width:0!important;margin:0!important;padding:0!important;background:none!important;box-shadow:none!important;border:0!important;border-radius:0!important;color:#edf6fa!important}
#hud .hud154 .hud-people154 .side-chip>.ic{width:21px!important;height:21px!important;min-width:0!important}
#hud .hud154 .hud-people154 .stack{display:flex!important;gap:4px!important;align-items:center!important;flex-direction:row!important}
#hud .hud154 .hud-people154 .v{font:700 12px/1.2 system-ui,sans-serif!important;white-space:nowrap;color:#fff!important}
#hud .hud154 .hud-workers-label154{font:500 10px/1.2 system-ui,sans-serif;color:#cce3f1}
#hud .hud154 .hope .k{display:none!important}
#hud:has(.hud154) .operations130{top:110px!important}
#hud:has(.hud154) .side-right{top:110px!important}
#sheets .tier-carousel154{position:relative;display:grid;grid-template-columns:27px minmax(0,1fr) 27px;gap:3px;align-items:center;width:100%;min-width:0}
#sheets .tier-carousel154 .wos-tiers145{width:100%!important;min-width:0!important;cursor:grab;user-select:none;-webkit-user-select:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y}
#sheets .tier-carousel154 .wos-tiers145.dragging154{cursor:grabbing;scroll-snap-type:none!important;scroll-behavior:auto!important}
#sheets .tier-carousel154 img{-webkit-user-drag:none;pointer-events:none}
#sheets .sheet-wrap .sheet .tier-arrow154{display:grid!important;place-items:center;width:27px!important;height:42px!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:1px solid #a9c6d788!important;border-radius:6px!important;background:linear-gradient(#416d8c,#18374f)!important;box-shadow:inset 0 1px #e9f6ff33!important;color:#fff!important;z-index:1}
#sheets .sheet-wrap .sheet .tier-arrow154>.ic{width:17px;height:17px}
#sheets .sheet-wrap .sheet .tier-arrow154:disabled{opacity:.3!important;cursor:default}
@media(max-width:640px){
 #hud .topbar.hud154{height:79px!important;padding:3px 5px 5px!important;grid-template-columns:48px minmax(0,1fr)!important;grid-template-rows:26px 36px!important;gap:3px 5px!important;border-radius:0 0 4px 4px!important}
 #hud .hud154>.avatar{width:47px!important;height:62px!important;padding:2px!important;border-radius:5px!important}
 #hud .hud154 .avatar .lvl{font-size:9px!important;line-height:10px!important;padding:1px 3px!important}
 #hud .hud154 .hud-resources154{grid-template-columns:minmax(0,1fr) 86px;gap:4px}
 #hud .hud154 .res-strip{height:26px!important;max-height:26px!important}
 #hud .hud154 .res-chip{padding:0 2px!important;gap:2px!important;height:25px!important;max-height:25px!important}
 #hud .hud154 .res-chip .v{font-size:9px!important;letter-spacing:-.2px!important}
 #hud .hud154 .resource137{width:14px!important;height:17px!important;min-width:14px!important;flex-basis:14px!important}
 #hud .hud154 .gem-pill{height:25px!important;grid-template-columns:15px minmax(0,1fr) 17px!important;gap:2px!important;padding:0 2px!important}
 #hud .hud154 .gem-art134{width:14px!important;height:22px!important}
 #hud .hud154 .gem-pill .v{font-size:10px!important}
 #hud .hud154 .gem-pill>.plus{width:17px!important;height:18px!important;font-size:17px!important;border-radius:2px!important}
 #hud .hud154 .hud-command154{grid-template-columns:minmax(0,1fr) 51px 52px minmax(0,1fr);gap:5px}
 #hud .hud154 .who .nm{font-size:8px!important;line-height:10px!important}
 #hud .hud154 .who .pow{font-size:12px!important;gap:2px!important}
 #hud .hud154 .pow .ic{width:14px!important;height:14px!important;min-width:14px!important}
 #hud .hud154 .breath{width:49px!important;height:49px!important;margin-top:-3px!important;padding-top:3px!important}
 #hud .hud154 .breath .k{font-size:7px!important}
 #hud .hud154 .breath .v{font-size:13px!important}
 #hud .hud154 .vip-top130{width:52px!important;height:26px!important;gap:2px!important;padding:0 2px!important}
 #hud .hud154 .vip-top130 .lb{font-size:11px!important}
 #hud .hud154 .vip-top130 .wos-vip-ic146{width:12px!important;height:12px!important}
 #hud .hud154 .vip-top130 .wos-vip-ic146>.ic{width:12px!important;height:12px!important}
 #hud .hud154 .hud-people154{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:2px}
 #hud .hud154 .hud-people154 .side-chip{height:14px!important;gap:2px!important}
 #hud .hud154 .hud-people154 .side-chip>.ic{width:13px!important;height:13px!important}
 #hud .hud154 .hud-people154 .v{font-size:9px!important}
 #hud .hud154 .hud-workers-label154{font-size:8px!important}
 #hud .hud154 .hud-people154 .stack{gap:2px!important}
 #hud:has(.hud154) .operations130{top:96px!important}
 #hud:has(.hud154) .side-right{top:96px!important}
}
@media(max-width:350px){
 #hud .hud154 .hud-resources154{grid-template-columns:minmax(0,1fr) 76px;gap:2px}
 #hud .hud154 .resource137{width:11px!important;min-width:11px!important;flex-basis:11px!important}
 #hud .hud154 .res-chip .v{font-size:8px!important}
 #hud .hud154 .hud-command154{grid-template-columns:minmax(0,1fr) 46px 46px minmax(0,1fr);gap:3px}
 #hud .hud154 .breath{width:45px!important;height:45px!important}
 #hud .hud154 .vip-top130{width:46px!important}
 #hud .hud154 .hud-workers-label154{display:none!important}
}

#hud .hud154 .res-chip::before,#hud .hud154 .res-chip::after{display:none!important;content:none!important}
#hud .hud154 .resource137{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important}
#hud .hud154 .res-chip .v{text-overflow:clip!important}

#hud .hud154 .ic>svg{width:100%!important;height:100%!important;min-width:0!important;max-width:100%!important;max-height:100%!important}

/* VIP is one horizontal unit; old event-button column layout must not shrink its label. */
#hud .hud154 .hud-command154{height:40px;min-height:0}
#hud .hud154 .vip-top130{flex-direction:row!important;flex-wrap:nowrap!important;align-self:center!important;justify-self:center!important;box-sizing:border-box!important;line-height:1!important;overflow:visible!important}
#hud .hud154 .vip-top130 .wos-vip-ic146{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex-shrink:0!important;line-height:1!important}
#hud .hud154 .vip-top130 .lb{display:block!important;flex:0 0 auto!important;height:auto!important;min-height:0!important;line-height:1!important;white-space:nowrap!important;align-self:center!important;transform:none!important}
@media(max-width:640px){#hud .hud154 .hud-command154{height:36px}}

/* Manus local UX pass — hedef kartı kısa açıklama ve ilerlemeyi görünür tutar. */
#hud .quest-card.goal110{min-height:82px!important;max-height:118px!important;height:auto!important;}
#hud .quest-card.goal110 .goal-main110{height:auto!important;min-height:80px!important;justify-content:flex-start!important;gap:3px!important;padding:8px 10px!important;}
#hud .quest-card.goal110 .goal-main110>small,#hud .quest-card.goal110 .goal-detail110{display:block!important;}
#hud .quest-card.goal110 .goal-detail110{display:-webkit-box!important;overflow:hidden;max-width:100%;-webkit-box-orient:vertical;-webkit-line-clamp:2;}
#hud .quest-card.goal110 .goal-bottom110{margin-top:auto;min-height:18px;}
#hud .quest-card.goal110 .goal-bottom110>strong{padding:3px 9px!important;border-radius:99px!important;background:linear-gradient(180deg,#f7e0a6,#c79444)!important;color:#2b1d0c!important;font-size:10px!important;}
#hud .quest-card.goal110 .goal-book110{height:auto!important;min-height:80px!important;}
@media(max-width:480px){#hud .quest-card.goal110{min-height:92px!important;max-height:126px!important;}#hud .quest-card.goal110 .goal-main110{min-height:90px!important;padding:8px!important;}#hud .quest-card.goal110 .goal-detail110{font-size:10px!important;}}
/* Manus profile pass — WOS bilgi hiyerarşisi, Külyurt görsel dili. */
#sheets .profile-links127{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 12px;}
#sheets .profile-links127 button{min-width:0;min-height:46px!important;padding:9px 8px!important;border-radius:10px!important;background:linear-gradient(180deg,#294a61,#172f43)!important;border:1px solid #bfa66c!important;color:#f7e8bd!important;font-weight:800;box-shadow:inset 0 1px #fff3,0 3px 8px #06132166;}
#sheets .profile-links127 button:last-child{grid-column:1/-1;}
#sheets .profile87{position:relative;overflow:hidden;padding:14px!important;border:1px solid #c6a968!important;border-radius:16px!important;background:radial-gradient(ellipse at 50% 24%,#476e8d 0,#1d3b55 58%,#10283d 100%)!important;box-shadow:inset 0 1px #fff4,0 10px 28px #06132188!important;}
#sheets .profile87::before{content:'BEKÇİ PROFİLİ';display:block;margin:0 0 8px;color:#f3d98f;font-size:11px;font-weight:900;letter-spacing:.16em;text-align:left;}
#sheets .profile87 h2{margin:8px 0 2px!important;color:#fff0c4!important;font-size:24px!important;text-shadow:0 2px 3px #071421!important;}
#sheets .profile87>div:not(.profile-choice97):not(.profile-equip105){color:#cbd9dc;}
#sheets .profile87 code{display:inline-block;margin:4px 0 6px;padding:4px 10px;border:1px solid #c9ad6b;border-radius:99px;background:#102b42aa;font-size:15px!important;}
#sheets .profile87>.cini{min-height:38px!important;padding:7px 12px!important;}
#sheets .profile87 .profile-choice97{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;margin-top:12px;padding:10px;border-color:#c1a66b88;background:#102c43aa;}
#sheets .profile87 .profile-choice97 label{min-width:0;color:#f1dfb0;font-size:12px;font-weight:800;text-align:left;}
#sheets .profile87 .profile-choice97 select{display:block;width:100%;min-height:42px;margin-top:5px;border:1px solid #bda369;border-radius:9px;background:#1a3b56;color:#fff0c7;padding:8px;}
#sheets .profile87 .profile-choice97 .btn{min-height:42px!important;white-space:nowrap;}
#sheets .profile87~.kv{display:grid;grid-template-columns:1fr auto;gap:0 12px;margin:12px 0;padding:12px 14px;border:1px solid #bda36988;border-radius:13px;background:linear-gradient(145deg,#203e57,#142b40)!important;}
#sheets .profile87~.kv span{padding:7px 0;color:#b9cbd0;border-bottom:1px solid #bba36b33;}
#sheets .profile87~.kv b{padding:7px 0;color:#f4dfaa;text-align:right;border-bottom:1px solid #bba36b33;}
#sheets .profile87~.kv span:nth-last-of-type(1),#sheets .profile87~.kv b:nth-last-of-type(1){border-bottom:0;}
#sheets .profile-equip105{margin-top:12px;border:1px solid #bda36988;border-radius:13px;background:#142d43aa;}
#sheets .profile-equip105>b{color:#f3d992;font-size:13px;}
#sheets .profile-equip105 button{min-height:82px!important;border:1px solid #b49a654d;border-radius:10px;background:#23445e;color:#f2e4bd;}
@media(max-width:560px){#sheets .profile-links127{grid-template-columns:repeat(2,minmax(0,1fr));}#sheets .profile-links127 button:last-child{grid-column:1/-1;}#sheets .profile87 .profile-choice97{grid-template-columns:1fr;}#sheets .profile87 .profile-choice97 .btn{width:100%;}#sheets .profile87 h2{font-size:21px!important;}}
/* City145 — shared navy/brass sheet system; replaces legacy green tab surfaces. */
:root{--u105-panel:#172e45;--u105-raised:#24465f;--u105-line:#b79a61;--u105-text:#f4ead4;--u105-muted:#c4d0d4;--u105-gold:#edc870;}
#sheets .sheet{background:linear-gradient(145deg,#203f59,#10283e)!important;color:#f4ead4!important;border-color:#b79a6188!important;}
#sheets .sheet-head{background:linear-gradient(180deg,#294b65,#19334c)!important;border-bottom-color:#c4a56a99!important;}
#sheets .sheet-body>.seg,#sheets .sheet-wrap .sheet :is(.tabs,.seg,.p-tabs,.hero-tabs){background:#10283e!important;border-color:#b79a6166!important;box-shadow:inset 0 1px #f5dfad22,0 3px 8px #06152366!important;}
#sheets .sheet-body>.seg>button,#sheets .sheet-wrap .sheet :is(.tabs,.seg,.p-tabs,.hero-tabs)>button,#sheets button.ghost,#sheets .seg>button:not(.primary):not(.on){background:linear-gradient(180deg,#2b4c64,#183149)!important;color:#eadfca!important;border:1px solid #b79a6166!important;box-shadow:inset 0 1px #f6e5bd1c,0 2px 4px #06152355!important;transition:filter .15s ease,transform .12s ease,background .18s ease!important;}
#sheets .sheet-body>.seg>button.on,#sheets .sheet-body>.seg>button.primary,#sheets .sheet-wrap .sheet :is(.tabs,.seg,.p-tabs,.hero-tabs)>button:is(.on,.active,[aria-selected=true]),#sheets .seg>button.primary{background:linear-gradient(180deg,#f4dc9b,#c18c3c)!important;color:#30230f!important;border-color:#ffe9ad!important;box-shadow:inset 0 1px #fff7dc,0 3px 7px #06152388!important;}
#sheets .sheet-body>.seg>button:not(:disabled):hover,#sheets .sheet-wrap .sheet :is(.tabs,.seg,.p-tabs,.hero-tabs)>button:not(:disabled):hover{filter:brightness(1.12);}
#sheets .sheet-body>.seg>button:not(:disabled):active,#sheets .sheet-wrap .sheet :is(.tabs,.seg,.p-tabs,.hero-tabs)>button:not(:disabled):active{transform:translateY(1px) scale(.98);}
#sheets .sheet-wrap .sheet :is(.card,.skill-card,.trait-card,.kv,.inventory-tile105,.profile-choice97){background:linear-gradient(145deg,#294a62,#18334b)!important;border-color:#b79a615c!important;color:#f2e4c5!important;}
#sheets .sheet-wrap .sheet :is(.card,.skill-card,.trait-card) .muted,#sheets .sheet-wrap .sheet :is(.card,.skill-card,.trait-card) .small{color:#c6d3d5!important;}
@media(prefers-reduced-motion:reduce){#sheets .sheet-body>.seg>button,#sheets .sheet-wrap .sheet :is(.tabs,.seg,.p-tabs,.hero-tabs)>button{transition:none!important;}}


/* City145 camera dock — compact, thumb-friendly and hidden with the city overlay. */
.city-camera-dock145{position:fixed;right:12px;bottom:calc(86px + var(--safe-b));z-index:16;display:flex;flex-direction:column;gap:5px;padding:5px;border:1px solid #b79a6166;border-radius:14px;background:linear-gradient(180deg,#10283ee8,#081a2be8);box-shadow:0 5px 16px #06152388;pointer-events:auto}
.city-camera-dock145 button{width:36px;height:32px;padding:0;border:1px solid #b79a6166;border-radius:9px;background:linear-gradient(180deg,#2b4c64,#183149);color:#eadfca;font:700 20px/1 "Segoe UI",sans-serif;cursor:pointer;box-shadow:inset 0 1px #f6e5bd1c,0 2px 4px #06152355;transition:filter .18s ease,transform .12s ease}
.city-camera-dock145 button:hover{filter:brightness(1.14)}.city-camera-dock145 button:active{transform:translateY(1px) scale(.96)}.city-camera-dock145 button[data-cam="home"]{color:#f4dc9b;font-size:18px}
@media(max-width:600px){.city-camera-dock145{right:8px;bottom:calc(92px + var(--safe-b));gap:4px;padding:4px}.city-camera-dock145 button{width:34px;height:30px}}
@media(prefers-reduced-motion:reduce){.city-camera-dock145 button{transition:none}}


/* City146 — unified navy/brass interaction skin for exploration, camps and city bubbles. */
#sheets .sheet-wrap .sheet .roster105>summary,
#sheets .sheet-wrap .sheet .squad-info,
#sheets .sheet-wrap .sheet .formation121 .slot,
#sheets .sheet-wrap .sheet .camp-help112,
#sheets .sheet-wrap .sheet .training112>.col,
#sheets .sheet-wrap .sheet .training112 .counter112{
  background:linear-gradient(145deg,#294b63,#183149)!important;
  border-color:#b79a6166!important;color:#eadfca!important;
  box-shadow:inset 0 1px #f6e5bd1c,0 3px 8px #06152366!important;
}
#sheets .sheet-wrap .sheet .roster105>summary{min-height:48px;color:#f4dc9b!important}
#sheets .sheet-wrap .sheet .formation121 .slot.filled{border-color:#d7b56b!important;background:linear-gradient(145deg,#345c73,#1b3850)!important}
#sheets .sheet-wrap .sheet .training112 .camp-head{background:linear-gradient(145deg,#294b63,#183149)!important;border-color:#b79a6166!important}
#sheets .sheet-wrap .sheet .training112 .tier-chip{background:linear-gradient(180deg,#2b4c64,#183149)!important;color:#eadfca!important;border-color:#b79a6166!important}
#sheets .sheet-wrap .sheet .training112 .tier-chip.on{background:linear-gradient(180deg,#f4dc9b,#c18c3c)!important;color:#30230f!important;border-color:#ffe9ad!important}
#sheets .sheet-wrap .sheet .training112 .troop-art{background-color:#10283e!important}
#sheets .sheet-wrap .sheet .btn.primary.wide,
#sheets .sheet-wrap .sheet .roster105>summary{transition:filter .18s ease,transform .12s ease,background .18s ease!important}
#sheets .sheet-wrap .sheet .roster105>summary:hover,
#sheets .sheet-wrap .sheet .btn.primary.wide:hover{filter:brightness(1.1)}
#sheets .sheet-wrap .sheet .roster105>summary:active,
#sheets .sheet-wrap .sheet .btn.primary.wide:active{transform:translateY(1px) scale(.985)}

/* City action bubbles: idle/busy/readiness have distinct, readable meanings. */
.city-ov:not(.world-ov) .military116 .city-action,
.city-ov:not(.world-ov) .city-action{
  background:linear-gradient(180deg,#2b4c64,#183149)!important;
  color:#eadfca!important;border-color:#b79a6166!important;
  box-shadow:inset 0 1px #f6e5bd1c,0 3px 8px #06152388!important;
}
.city-ov:not(.world-ov) .military116 .city-action[data-state116="ready"],
.city-ov:not(.world-ov) .city-action.ca-done,
.city-ov:not(.world-ov) .city-action.ca-harvest{
  background:linear-gradient(180deg,#f4dc9b,#c18c3c)!important;
  color:#30230f!important;border-color:#ffe9ad!important;
  box-shadow:inset 0 1px #fff7dc,0 3px 8px #06152388!important;
}
.city-ov:not(.world-ov) .military116 .city-action[data-state116="busy"],
.city-ov:not(.world-ov) .city-action.ca-wait{
  background:linear-gradient(180deg,#446576,#2b4355)!important;
  color:#edf2ec!important;border-color:#9eafb3!important;
}
.city-ov:not(.world-ov) .city-action>em{color:inherit!important}
@media(prefers-reduced-motion:reduce){#sheets .sheet-wrap .sheet .roster105>summary,#sheets .sheet-wrap .sheet .btn.primary.wide{transition:none!important}}

/* ==========================================================================
   City152 — 4X (WoS tarzı) geçişler: bulut perdesi + menü/buton hareketleri
   ========================================================================== */
.cloud-wipe151{position:fixed;inset:0;z-index:9000;pointer-events:all;overflow:hidden;background:transparent;transition:background .5s ease}
.cloud-wipe151.in{background:#dfeaf3d9}
.cloud-wipe151.out{background:transparent;pointer-events:none}
.cloud-wipe151 .cp{position:absolute;border-radius:50%;background:radial-gradient(ellipse at 40% 35%,#ffffff 0%,#eef5fb 45%,#c9dbea 100%);filter:blur(6px);box-shadow:0 0 60px 30px #ffffffcc;opacity:0;transition:transform .55s cubic-bezier(.3,.7,.2,1),opacity .4s ease}
.cloud-wipe151 .cp.l{transform:translateX(-120vw)}
.cloud-wipe151 .cp.r{transform:translateX(120vw)}
.cloud-wipe151.in .cp{opacity:1;transform:translateX(0)}
.cloud-wipe151.out .cp.l{opacity:0;transform:translateX(-120vw);transition:transform .6s ease-in,opacity .5s ease-in}
.cloud-wipe151.out .cp.r{opacity:0;transform:translateX(120vw);transition:transform .6s ease-in,opacity .5s ease-in}

/* Paneller alttan yaylanarak açılır, arka perde yumuşakça kararır */
#sheets .sheet-wrap.in .sheet{animation:sheetPop152 .26s cubic-bezier(.2,.9,.25,1.05)}
@keyframes sheetPop152{from{opacity:0;transform:translateY(26px) scale(.97)}to{opacity:1;transform:none}}
#sheets .scrim{transition:opacity .22s ease}

/* HUD butonları: dokunma geri bildirimi ve nav seçimi */
#hud .nav.nav132>button,#hud .world105,#hud .world-tools .icon-btn,#hud .hud-left108 .operations130 .rbtn,#hud .side-right .rbtn,#hud .utility-rail130 .rbtn{transition:transform .14s cubic-bezier(.2,.8,.2,1),filter .14s ease}
#hud .nav.nav132>button:active,#hud .world105:active,#hud .hud-left108 .operations130 .rbtn:active,#hud .side-right .rbtn:active,#hud .utility-rail130 .rbtn:active{transform:scale(.93)!important;filter:brightness(1.15)}
#hud .nav.nav132>button.on>.art133{transform:translateY(-4px) scale(1.1)}
#hud .nav.nav132>button.on::after{content:'';position:absolute;left:18%;right:18%;bottom:2px;height:3px;border-radius:3px;background:linear-gradient(90deg,transparent,#f6d98a,transparent)}
#hud .badge{animation:badgeBob152 1.8s ease-in-out infinite}
@keyframes badgeBob152{0%,100%{transform:scale(1)}50%{transform:scale(1.12)}}
#sheets .btn.primary:not(:disabled){position:relative;overflow:hidden}
@media(prefers-reduced-motion:reduce){.cloud-wipe151 *,#sheets .sheet-wrap.in .sheet,#hud .badge{animation:none!important;transition:none!important}}

/* ==========================================================================
   City153 — WoS tarzı giriş/yükleme ekranı ve HUD giriş animasyonu
   ========================================================================== */
#boot.boot{background:linear-gradient(180deg,#05101d 0%,#0e2740 46%,#2b4b66 78%,#c9dcec 100%)!important;overflow:hidden}
#boot.boot::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 50% 38%,#6fb4e640 0%,transparent 55%),radial-gradient(ellipse at 50% 112%,#fff 0%,#dbe8f4aa 22%,transparent 52%);pointer-events:none}
#boot .boot-snow152{position:absolute;inset:0;pointer-events:none;overflow:hidden}
#boot .boot-snow152 i{position:absolute;top:-10px;border-radius:50%;background:#fff;box-shadow:0 0 6px #fff;animation:bootSnow152 8s linear infinite}
@keyframes bootSnow152{from{transform:translate(0,-10px)}to{transform:translate(-40px,105vh)}}
#boot .boot-head142{position:relative;z-index:2;margin-bottom:18px}
#boot .boot-logo142{font-size:clamp(40px,9vw,64px)!important;letter-spacing:.14em!important;background:linear-gradient(180deg,#fffbe8 0%,#ffe08a 45%,#c98a2a 100%);-webkit-background-clip:text;background-clip:text;color:transparent!important;-webkit-text-stroke:1px #4a2c0a;filter:drop-shadow(0 3px 0 #3a230d) drop-shadow(0 0 22px #f3b34c88)}
#boot .boot-kicker142{color:#bfe3ff;text-shadow:0 1px 3px #000a}
#boot .boot-sub142{color:#e3eef8;text-shadow:0 1px 3px #000a}
#boot .boot-mark{position:relative;z-index:2}
#boot .boot-bar142{position:relative;z-index:2;width:min(340px,80vw);height:12px;border:2px solid #e0bf78;background:#06121fcc;box-shadow:0 0 0 2px #0a1c2d,0 4px 12px #0008}
#boot .boot-bar142>i{background:linear-gradient(180deg,#ffeaa6,#e0a53a 55%,#a9691a)}
#boot .load-note55{position:relative;z-index:2;color:#fff!important}
#boot .boot-tip152{position:absolute;z-index:2;left:0;right:0;bottom:7%;margin:0;padding:0 18px;text-align:center;color:#17324b;font:700 13px/1.4 system-ui,sans-serif;text-shadow:0 1px 0 #ffffffaa}
#boot .boot-start152{position:relative;z-index:3;margin-top:6px;padding:12px 34px;border:2px solid #fff0b8;border-radius:10px;background:linear-gradient(180deg,#ffe699,#e0a034 55%,#a36512);color:#231202;font:900 15px/1.1 system-ui,sans-serif;letter-spacing:.08em;cursor:pointer;box-shadow:inset 0 1.5px #fff9df,0 4px 0 #663c06,0 8px 18px #000a;animation:bootStart152 1.4s ease-in-out infinite}
@keyframes bootStart152{0%,100%{transform:scale(1);filter:brightness(1)}50%{transform:scale(1.05);filter:brightness(1.12)}}
#boot.ready152 .boot-bar142{opacity:.7}
#boot.out{transition:opacity .5s ease,transform .6s ease;transform:scale(1.06)}

/* HUD girişi: üst bar aşağı, alt menü yukarı, yan butonlar kayarak gelir */
#hud.hud-enter133 .topbar{animation:hudTop153 .55s cubic-bezier(.2,.9,.25,1) both}
#hud.hud-enter133 .nav.nav132,#hud.hud-enter133 .world-dock108{animation:hudBottom153 .55s .08s cubic-bezier(.2,.9,.25,1) both}
#hud.hud-enter133 .hud-left108{animation:hudLeft153 .5s .15s cubic-bezier(.2,.9,.25,1) both}
#hud.hud-enter133 .side-right,#hud.hud-enter133 .utility-rail130{animation:hudRight153 .5s .15s cubic-bezier(.2,.9,.25,1) both}
@keyframes hudTop153{from{transform:translateY(-110%);opacity:0}to{transform:none;opacity:1}}
@keyframes hudBottom153{from{transform:translateY(110%);opacity:0}to{transform:none;opacity:1}}
@keyframes hudLeft153{from{transform:translateX(-120%);opacity:0}to{transform:none;opacity:1}}
@keyframes hudRight153{from{transform:translateX(120%);opacity:0}to{transform:none;opacity:1}}
@media(prefers-reduced-motion:reduce){#boot .boot-snow152 i,#boot .boot-start152,#hud.hud-enter133 *{animation:none!important}}

/* Reserve a separate column for the city camera beside the right HUD rail. */
.city-camera-dock145{right:calc(92px + env(safe-area-inset-right,0px));bottom:calc(96px + var(--safe-b))}
@media(max-width:640px){
 .city-camera-dock145{right:calc(8px + env(safe-area-inset-right,0px));bottom:calc(234px + var(--safe-b));flex-direction:row;gap:3px;padding:3px}
 .city-camera-dock145 button{width:44px;height:44px;touch-action:manipulation}
}

#hud .march-list .march-chip{background:linear-gradient(180deg,#2b4c64,#183149);color:#eadfca;border-color:#b79a61}

/* Shared feedback for gathering and marches. */
.toasts .toast.ok{background:linear-gradient(180deg,#29465d,#142a3e)!important;color:#f6ead3!important;border-color:#d6b471!important}
.toasts .toast.ok .ic{color:#f3d58e!important}
.city-ov:not(.world-ov) .lvbadge .city-action.ca-harvest{display:inline-flex;align-items:center;gap:5px;min-width:44px;min-height:44px;padding:4px 8px;border-radius:13px;background:linear-gradient(180deg,#29465d,#142a3e)!important;color:#f6e2b3!important;border:1px solid #e1bd72!important;box-shadow:0 3px 8px #091523a0!important;animation:none}
.city-ov:not(.world-ov) .lvbadge .city-action.ca-harvest>i{color:#f3d58e}
.hero-slots114 .hero-tile{height:auto!important;min-height:130px!important;padding-bottom:10px}.hero-slots114 .commander-power{display:block;color:#f6d99b;font-size:12px;font-weight:800}


/* Android: avoid resampling the animated WebGL scene behind HUD surfaces. */
html.android-perf156 #hud .topbar.hud-header132.wos-top146.city152-hud,
html.android-perf156 #hud .quest-card.goal110,
html.android-perf156 .city-ov:not(.world-ov) .lvbadge > span,
html.android-perf156 #hud .chip {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Mobile camera gestures provide zoom and pan without a floating control panel. */
@media (pointer: coarse), (max-width: 700px) {
    .city-camera-dock145 {
        display: none !important;
    }
}

/* Camera controls are provided by mouse and touch gestures. */
.city-camera-dock145 {
    display: none !important;
}
/* Sancak202 — dünya↔şehir geçiş arması */
.cloud-wipe151 .wipe-crest202{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(.82);display:flex;flex-direction:column;align-items:center;gap:10px;opacity:0;transition:opacity .3s ease .12s,transform .45s cubic-bezier(.2,.8,.2,1) .1s;z-index:2;pointer-events:none}
.cloud-wipe151.in .wipe-crest202{opacity:1;transform:translate(-50%,-50%) scale(1)}
.cloud-wipe151.out .wipe-crest202{opacity:0;transform:translate(-50%,-50%) scale(1.12);transition:opacity .25s ease,transform .35s ease}
.wipe-crest202 img{width:92px;height:92px;border-radius:50%;object-fit:cover;border:3px solid #d8b066;box-shadow:0 0 0 5px #1b3248cc,0 10px 30px #0b182866;background:#1b3248}
.wipe-crest202 .ring{position:absolute;top:-10px;width:112px;height:112px;border-radius:50%;border:2px dashed #e7c77d;opacity:.75;animation:crest202 2.4s linear infinite}
.wipe-crest202 b{font:700 15px/1 system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#1b3248;background:linear-gradient(90deg,#f6e2ad,#e2b55c);padding:7px 16px;border-radius:99px;box-shadow:0 4px 14px #0003}
@keyframes crest202{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.wipe-crest202 .ring{animation:none}}
/* Ui203 — WoS düzeni: kompakt görev şeridi, toplu kaynak barı, ince alt bar */
#hud .quest-card.goal110{width:min(258px,calc(100vw - 84px))!important;min-height:0!important;height:auto!important}
#hud .quest-card.goal110 .goal-main110{min-height:0!important;height:auto!important;padding:6px 10px 7px!important;gap:2px!important}
#hud .quest-card.goal110 .goal-detail110{display:none!important}
#hud .quest-card.goal110 .goal-main110 small{font-size:10px!important;line-height:1.1!important}
#hud .quest-card.goal110 .goal-main110 b{font-size:13.5px!important;line-height:1.2!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
#hud .quest-card.goal110 .goal-bottom110{position:static!important;margin-top:2px!important}
#hud .quest-card.goal110 .goal-bottom110 strong{padding:2px 14px!important;font-size:11.5px!important}
#hud .quest-card.goal110 .goal-book110{width:38px!important;min-height:0!important;height:auto!important}
/* Ui203 — alt menü: Dünya butonu diğer beşiyle aynı (6 eşit hücre, tek çerçeve) */
#hud .nav.nav132{display:flex!important}
#hud .nav.nav132>button{flex:0 0 calc((100vw - 10px)/6)!important;width:calc((100vw - 10px)/6)!important;max-width:none!important}
#hud .world-dock108{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end!important}
#hud .world-dock108 .world105{position:relative!important;inset:auto!important;transform:none!important;align-self:center!important;flex:0 0 calc((100vw - 10px)/6)!important;width:calc((100vw - 10px)/6)!important;height:70px!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;gap:0!important;justify-content:center!important;margin:0 5px 0 0!important;padding:1px 0 2px 2px!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}
#hud .world-dock108 .world105::before{display:none!important}
#hud .world-dock108{align-items:flex-start!important}
#hud .world-dock108 .world105{margin-bottom:3px!important}
@media(min-width:1000px){#hud .world-dock108 .world105{margin-bottom:4px!important}}
#hud .world-dock108 .world105>span:not(.ic){font-weight:800!important;letter-spacing:-.03em!important}
@media(max-width:480px){#hud .world-dock108 .world105>span:not(.ic){font-size:8.5px!important}#hud .world-dock108 .world105>.ic{width:49px!important;height:49px!important;min-width:49px!important;flex-basis:49px!important}}
@media(min-width:1000px){
 #hud .world-dock108 .world105{height:78px!important}
 #hud .world-dock108 .world105>span:not(.ic){font-size:13px!important;letter-spacing:-.02em!important}
 #hud .world-dock108 .world105>.ic{width:53px!important;height:53px!important;min-width:53px!important;flex-basis:53px!important}
 #hud .side-right .rbtn{width:76px!important;height:76px!important}
 #hud .side-right .rbtn .ring,#hud .side-right .rbtn .ic{width:58px!important;height:58px!important}
}
/* Ui203 — WoS teması: üst bar, kapsüller, avatar, güç, Nefes, VIP, yan düğmeler + animasyonlar (konum/boyut değişmez) */
#hud .topbar.hud154{background:linear-gradient(180deg,rgba(9,22,37,.95) 0%,rgba(17,39,62,.92) 55%,rgba(15,34,55,.86) 100%)!important;box-shadow:0 2px 0 #c99a4a,0 3px 0 #4a3210,0 10px 22px rgba(3,9,18,.5)!important}
#hud .res-strip.wos-res146{gap:3px!important}
#hud .res-strip.wos-res146 .res-chip,#hud .gem-pill,#hud .hud-people154 .side-chip{position:relative;background:linear-gradient(180deg,#081422 0%,#10263d 100%)!important;border:1px solid rgba(224,180,90,.6)!important;border-radius:99px!important;box-shadow:inset 0 2px 4px rgba(0,0,0,.65),0 1px 0 rgba(255,233,168,.14)!important;transition:transform .12s ease,filter .12s ease}
#hud .res-chip .v,#hud .gem-pill .v,#hud .hud-people154 .v{color:#fff!important;font-weight:800!important;text-shadow:0 1px 0 #000,0 0 6px rgba(0,0,0,.6)!important}
#hud .res-chip .ic,#hud .gem-pill .ic{filter:drop-shadow(0 1px 1px #000a) drop-shadow(0 0 4px rgba(255,214,120,.35))}
#hud .hud-resources154 .gem-pill.gem-pill{background:linear-gradient(180deg,#0c1a3a,#1b2f66)!important;border:1px solid rgba(150,200,255,.75)!important;border-radius:99px!important;box-shadow:inset 0 2px 4px rgba(0,0,0,.65),0 0 8px rgba(110,180,255,.3)!important}
#hud .avatar{border:2px solid #e0b45a!important;border-radius:10px!important;background:linear-gradient(160deg,#fff1c2,#d9a44a 45%,#7a4f16)!important;box-shadow:0 0 0 2px #241504,0 0 12px rgba(255,205,110,.55)!important;overflow:visible!important}
#hud .avatar .av-img{border-radius:7px!important;overflow:hidden}
#hud .avatar .lvl{background:linear-gradient(180deg,#ffe9a8,#d6a046 55%,#9a6a22)!important;color:#2a1600!important;border:1px solid #fff1c4!important;border-radius:99px!important;box-shadow:0 2px 4px rgba(0,0,0,.55)!important;font-weight:900!important;text-shadow:0 1px 0 #ffe9b0!important}
#hud .who .nm{color:#f6e6bf!important;text-shadow:0 1px 0 #000!important;font-weight:800!important}
#hud .pow{background:linear-gradient(90deg,rgba(5,12,22,.9),rgba(5,12,22,.15))!important;border-left:3px solid #e0b45a!important;border-radius:0 99px 99px 0!important;padding:1px 12px 1px 5px!important}
#hud .pow .pow-v152,#hud .pow .pow-v152 *{color:#ffe7a6!important;font-weight:900!important;text-shadow:0 1px 0 #000,0 0 8px rgba(255,190,80,.35)!important}
#hud .side-chip.stat.breath{overflow:visible!important;box-shadow:0 0 0 2px #0a1d30,0 0 14px rgba(120,210,255,.55),inset 0 -6px 10px rgba(0,30,60,.45),inset 0 4px 8px rgba(255,255,255,.25)!important;animation:breath203 3.2s ease-in-out infinite}
#hud .side-chip.stat.breath::before{content:"";position:absolute;inset:-5px;border-radius:50%;background:conic-gradient(from 0deg,transparent 0 62%,rgba(255,236,170,.95) 82%,transparent 100%);-webkit-mask:radial-gradient(circle,transparent 63%,#000 66%);mask:radial-gradient(circle,transparent 63%,#000 66%);animation:spin203 3s linear infinite;pointer-events:none}
#hud .vip-chip{position:relative!important;isolation:isolate;overflow:hidden!important;clip-path:inset(0 round 8px);border-radius:8px!important;background:linear-gradient(180deg,#fff0bd 0%,#e7bd62 48%,#c08a2e 52%,#e0ad4f 100%)!important;border:1px solid #fff4cf!important;box-shadow:0 0 0 1px #6b4512,0 3px 8px rgba(0,0,0,.45)!important;animation:vip203 2.6s ease-in-out infinite}
#hud .vip-chip .lb{color:#3a2000!important;font-weight:900!important;text-shadow:0 1px 0 #fff3c8!important}
#hud .vip-chip::before{content:"";position:absolute;top:-20%;bottom:-20%;width:38%;left:-60%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.85),transparent);transform:skewX(-18deg);animation:sheen203 3.4s ease-in-out infinite;pointer-events:none}
#hud .badge{animation:badge203 1.5s ease-in-out infinite;box-shadow:0 0 0 2px #fff3d6,0 0 10px rgba(255,60,40,.75)!important}
#hud .side-right .rbtn .ring,#hud .utility-rail130 .rbtn .ring{animation:bob203 3.2s ease-in-out infinite}
#hud .side-right .rbtn:nth-child(2) .ring,#hud .utility-rail130 .rbtn:nth-child(2) .ring{animation-delay:-1.1s}
#hud .side-right .rbtn:nth-child(3) .ring{animation-delay:-2.1s}
#hud .side-right .rbtn .lb,#hud .utility-rail130 .rbtn .lb{background:linear-gradient(180deg,#183552,#0c1d31)!important;color:#ffe7a6!important;border:1px solid #c99a4a!important;border-radius:99px!important;text-shadow:0 1px 0 #000!important}
#hud .queue-chip .lb,#hud .troop-chip145 .lb{color:#fff1cc!important;text-shadow:0 1px 0 #000,0 0 6px rgba(0,0,0,.5)!important}
#hud .queue-chip .ring .ic,#hud .troop-chip145 .ring .ic{animation:tool203 4s ease-in-out infinite;transform-origin:70% 80%}
#hud :is(.res-chip,.gem-pill,.avatar,.side-chip,.vip-chip,.rbtn):active{transform:scale(.93)!important;filter:brightness(1.18)!important}
@media(hover:hover) and (pointer:fine){#hud :is(.res-chip,.gem-pill,.side-chip,.vip-chip):hover{filter:brightness(1.15)}}
@keyframes spin203{to{transform:rotate(360deg)}}
@keyframes breath203{0%,100%{filter:brightness(1)}50%{filter:brightness(1.12)}}
@keyframes sheen203{0%,55%{left:-60%}85%,100%{left:130%}}
@keyframes vip203{0%,100%{box-shadow:0 0 0 1px #6b4512,0 3px 8px rgba(0,0,0,.45)}50%{box-shadow:0 0 0 1px #6b4512,0 0 14px rgba(255,214,120,.8)}}
@keyframes badge203{0%,100%{transform:scale(1)}50%{transform:scale(1.18)}}
@keyframes bob203{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes tool203{0%,80%,100%{transform:rotate(0)}85%{transform:rotate(-14deg)}90%{transform:rotate(8deg)}95%{transform:rotate(-4deg)}}
@media(prefers-reduced-motion:reduce){#hud .side-chip.stat.breath,#hud .side-chip.stat.breath::before,#hud .vip-chip,#hud .vip-chip::before,#hud .badge,#hud .rbtn .ring,#hud .ring .ic{animation:none!important}}
/* Ui203 — alt menü üst menü gibi hafif saydam (yerleşim aynı) */
#hud .nav.nav132::before{border-image:none!important;border:0!important;background:linear-gradient(0deg,rgba(9,22,37,.95) 0%,rgba(17,39,62,.92) 45%,rgba(15,34,55,.86) 100%)!important;box-shadow:0 -2px 0 #c99a4a,0 -3px 0 #4a3210,0 -10px 22px rgba(3,9,18,.45)!important}
#hud .nav.nav132>button{position:relative}
#hud .nav.nav132>button::after,#hud .world-dock108 .world105::after{content:""!important;display:block!important;position:absolute!important;inset:4px 6px!important;border:0!important;border-radius:14px!important;background:radial-gradient(ellipse at 50% 42%,rgba(255,222,140,.55),rgba(255,190,80,.12) 55%,transparent 72%)!important;opacity:0;transform:scale(.55);transition:opacity .45s ease,transform .45s cubic-bezier(.2,.8,.2,1);pointer-events:none;z-index:0}
#hud .nav.nav132>button:active::after,#hud .world-dock108 .world105:active::after{opacity:1;transform:scale(1);transition:none}
#hud .nav.nav132>button>.ic,#hud .world-dock108 .world105>.ic{position:relative;z-index:1;animation:none!important;transition:transform .28s cubic-bezier(.3,1.6,.5,1),filter .25s ease!important}
#hud .nav.nav132>button .lbl,#hud .world-dock108 .world105>span:not(.ic){position:relative;z-index:1;transition:color .2s ease,transform .25s ease}
@media(hover:hover) and (pointer:fine){
 #hud .nav.nav132>button:hover>.ic,#hud .world-dock108 .world105:hover>.ic{transform:translateY(-5px) scale(1.1) rotate(-4deg)!important;filter:brightness(1.18) drop-shadow(0 4px 3px #000a) drop-shadow(0 0 8px rgba(255,214,120,.65))!important}
 #hud .nav.nav132>button:hover .lbl,#hud .world-dock108 .world105:hover>span:not(.ic){color:#ffe7a6!important;transform:translateY(-1px)}
 #hud .nav.nav132>button:hover::after,#hud .world-dock108 .world105:hover::after{opacity:.55;transform:scale(.9)}
}
#hud .nav.nav132>button:active>.ic,#hud .world-dock108 .world105:active>.ic{transform:translateY(2px) scale(.88)!important;filter:brightness(1.25) drop-shadow(0 0 6px rgba(255,214,120,.8))!important;transition:none!important}
#hud .nav.nav132{-webkit-backdrop-filter:blur(3px) saturate(1.1);backdrop-filter:blur(3px) saturate(1.1)}
#hud .nav.nav132>button .lbl,#hud .world-dock108 .world105>span:not(.ic){text-shadow:0 1px 0 #000,0 0 6px rgba(0,0,0,.8)!important}
/* Ui203 — WoS bina bilgi paneli: ortada vitrin + altın kaide, altın başlık/rozet, ikonlu etki satırları */
#sheets .sheet-body[data-page="b"] .b-head.wos-bhead145{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;gap:4px!important;padding:2px 0 12px!important;margin-bottom:10px!important;border-bottom:1px solid rgba(224,180,90,.35)!important;background:none!important}
#sheets .sheet-body[data-page="b"] .b-art{position:relative!important;width:min(240px,72%)!important;height:auto!important;aspect-ratio:1/.8;display:grid!important;place-items:center!important;margin:0 auto!important;background:radial-gradient(ellipse 58% 20% at 50% 84%,rgba(255,214,120,.5),transparent 72%),radial-gradient(circle at 50% 42%,rgba(130,190,240,.3),transparent 64%)!important;border:0!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important}
#sheets .sheet-body[data-page="b"] .b-art::after{content:"";position:absolute;left:14%;right:14%;bottom:7%;height:17%;border-radius:50%;border:2px solid rgba(232,191,98,.8);box-shadow:0 0 16px rgba(255,200,100,.55),inset 0 0 14px rgba(255,200,100,.35);background:radial-gradient(ellipse at 50% 40%,rgba(255,236,190,.25),rgba(20,40,64,.35));z-index:0;animation:podium203 3.6s ease-in-out infinite}
#sheets .sheet-body[data-page="b"] .b-art canvas{position:relative;z-index:1;width:100%!important;height:100%!important;object-fit:contain;animation:float203 4.2s ease-in-out infinite;filter:drop-shadow(0 8px 10px rgba(0,0,0,.45))}
#sheets .sheet-body[data-page="b"] .b-head .col.grow{width:100%!important;align-items:center!important}
#sheets .sheet-body[data-page="b"] .b-head .row.between{justify-content:center!important;gap:10px!important;flex-wrap:wrap}
#sheets .sheet-body[data-page="b"] .b-head h3{margin:0!important;font-size:22px!important;letter-spacing:.02em;color:#ffe3a0!important;-webkit-text-fill-color:#ffe3a0!important;text-shadow:0 1px 0 #3a2208,0 2px 6px rgba(0,0,0,.6),0 0 14px rgba(255,200,100,.35)!important}
#sheets .sheet-body[data-page="b"] .card .kv>.k:first-child+.v{display:none!important}
#sheets .sheet-body[data-page="b"] .lvl-badge{background:linear-gradient(180deg,#ffe9a8,#d6a046 55%,#9a6a22)!important;color:#2a1600!important;border:1px solid #fff1c4!important;border-radius:99px!important;padding:3px 12px!important;font-weight:900!important;box-shadow:0 2px 6px rgba(0,0,0,.45)!important;text-shadow:0 1px 0 #ffe9b0!important}
#sheets .sheet-body[data-page="b"] .lvl-badge.kor{background:linear-gradient(180deg,#ffb27a,#e0602a 55%,#9a2e10)!important;color:#fff!important;text-shadow:0 1px 0 #5a1600!important;border-color:#ffd2b0!important}
#sheets .sheet-body[data-page="b"] .b-head .lead{color:#cfdcea!important;max-width:34ch;margin:4px auto 0!important}
#sheets .sheet-body[data-page="b"] .card{background:linear-gradient(180deg,rgba(10,24,40,.75),rgba(18,40,64,.6))!important;border:1px solid rgba(224,180,90,.45)!important;border-radius:12px!important;box-shadow:inset 0 1px 0 rgba(255,233,168,.12),0 4px 12px rgba(0,0,0,.3)!important}
#sheets .sheet-body[data-page="b"] .card .kv>.k:first-child{grid-column:1/-1;color:#e7b95c!important;font-weight:800!important;letter-spacing:.08em;text-transform:uppercase;font-size:12px!important;padding-bottom:6px;border-bottom:1px solid rgba(224,180,90,.25)}
#sheets .sheet-body[data-page="b"] .card .kv>.k:not(:first-child){position:relative;padding-left:16px!important;color:#f1f5fa!important}
#sheets .sheet-body[data-page="b"] .card .kv>.k:not(:first-child)::before{content:"";position:absolute;left:2px;top:50%;width:7px;height:7px;transform:translateY(-50%) rotate(45deg);background:linear-gradient(135deg,#ffe9a8,#c99a4a);box-shadow:0 0 6px rgba(255,210,120,.6)}
#sheets .sheet-body[data-page="b"] .card .kv>.v.ok{color:#8ef08a!important;font-weight:800!important}
#sheets .sheet-body[data-page="b"]>.pill.saffron{display:block!important;text-align:center!important;margin:12px auto 0!important;width:max-content;min-width:60%;padding:7px 22px!important;border-radius:6px!important;background:linear-gradient(180deg,#ffe9a8,#d6a046 55%,#9a6a22)!important;color:#2a1600!important;font-weight:900!important;letter-spacing:.06em;border:1px solid #fff1c4!important;box-shadow:0 3px 10px rgba(0,0,0,.4),0 0 14px rgba(255,200,100,.35)!important;clip-path:polygon(4% 0,96% 0,100% 50%,96% 100%,4% 100%,0 50%)}
@keyframes float203{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes podium203{0%,100%{box-shadow:0 0 12px rgba(255,200,100,.45),inset 0 0 12px rgba(255,200,100,.3)}50%{box-shadow:0 0 22px rgba(255,210,120,.75),inset 0 0 16px rgba(255,210,120,.45)}}
@media(prefers-reduced-motion:reduce){#sheets .sheet-body[data-page="b"] .b-art canvas,#sheets .sheet-body[data-page="b"] .b-art::after{animation:none!important}}
#sheets .sheet-body[data-page="b"] .b-art img{position:relative;z-index:1;width:100%!important;height:100%!important;object-fit:contain;animation:float203 4.2s ease-in-out infinite;filter:drop-shadow(0 8px 10px rgba(0,0,0,.45))}
/* Ui203 — WoS tarzı profil kartı: yuvarlak portre, dönen altın halka, canlı kahraman (nefes + ışık süzmesi), kalkan rozet (konum/boyut aynı) */
#hud .topbar button.avatar.avatar{border-radius:50%!important;overflow:visible!important;isolation:isolate;padding:0!important;background:radial-gradient(circle at 50% 35%,#2b4d6e,#0c1a2b 70%)!important;border:2px solid #f0cf7a!important;box-shadow:0 0 0 2px #3a2208,0 0 0 4px rgba(224,180,90,.55),0 4px 12px rgba(0,0,0,.55),0 0 18px rgba(255,200,100,.35)!important;aspect-ratio:1/1!important;height:auto!important}
#hud .topbar button.avatar.avatar::before{content:"";position:absolute;inset:-7px;border-radius:50%;background:conic-gradient(from 0deg,transparent 0 18%,rgba(255,226,150,.95) 25%,transparent 32% 52%,rgba(255,180,80,.85) 60%,transparent 67% 100%);-webkit-mask:radial-gradient(circle,transparent 66%,#000 69%,#000 73%,transparent 76%);mask:radial-gradient(circle,transparent 66%,#000 69%,#000 73%,transparent 76%);animation:spin203 6s linear infinite;pointer-events:none;z-index:2}
#hud .topbar button.avatar.avatar .av-img{position:absolute!important;inset:2px!important;width:auto!important;height:auto!important;border-radius:50%!important;overflow:hidden!important;z-index:1}
#hud .topbar button.avatar.avatar .av-img img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:28% 14%!important;transform-origin:50% 85%;animation:heroBreath203 4.2s ease-in-out infinite}
#hud .topbar button.avatar.avatar .av-img::after{content:"";position:absolute;top:-20%;bottom:-20%;width:40%;left:-70%;background:linear-gradient(100deg,transparent,rgba(255,240,200,.55),transparent);transform:skewX(-16deg);animation:sheen203 5.5s ease-in-out infinite;pointer-events:none}
#hud .topbar button.avatar.avatar .lvl{position:absolute!important;left:50%!important;right:auto!important;bottom:-8px!important;top:auto!important;transform:translateX(-50%)!important;z-index:3;min-width:30px;text-align:center;padding:1px 7px 2px!important;border-radius:4px 4px 10px 10px!important;clip-path:polygon(0 0,100% 0,100% 62%,50% 100%,0 62%);padding-bottom:5px!important}
#hud .who .nm{background:linear-gradient(90deg,rgba(5,12,22,.85),rgba(5,12,22,0));padding:1px 14px 1px 6px;border-radius:3px;border-bottom:1px solid rgba(224,180,90,.6)}
@keyframes heroBreath203{0%,100%{transform:scale(1.02) translateY(0)}50%{transform:scale(1.07) translateY(-1.5px)}}
@media(prefers-reduced-motion:reduce){#hud .topbar button.avatar.avatar::before,#hud .topbar button.avatar.avatar .av-img img,#hud .topbar button.avatar.avatar .av-img::after{animation:none!important}}
/* Ui203 — toplama baloncuğu: kaynağın kendi ikonu, altın çerçeveli krem balon + sivri uç, altında koyu miktar kapsülü, süzülme + ışıma */
.city-ov:not(.world-ov) .lvbadge .city-action.ca-harvest.ca-harvest{display:flex!important;flex-direction:column!important;align-items:center!important;gap:0!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;min-width:0!important;width:auto!important;height:auto!important;animation:bob203 2.4s ease-in-out infinite!important;filter:drop-shadow(0 4px 6px rgba(0,0,0,.45))}
.city-ov:not(.world-ov) .lvbadge .city-action.ca-harvest.ca-harvest>i{position:relative;display:grid!important;place-items:center;width:44px!important;height:44px!important;border-radius:50%!important;background:radial-gradient(circle at 40% 30%,#fffaf0,#f3e6c8 60%,#d9c294)!important;border:2.5px solid #e0b45a!important;box-shadow:0 0 0 1.5px #5a3a10,0 0 14px rgba(255,210,120,.65)!important;animation:harvestGlow203 1.8s ease-in-out infinite}
.city-ov:not(.world-ov) .lvbadge .city-action.ca-harvest.ca-harvest>i::after{content:"";position:absolute;left:50%;bottom:-8px;transform:translateX(-50%);border:7px solid transparent;border-top:8px solid #e0b45a;border-bottom:0}
.city-ov:not(.world-ov) .lvbadge .city-action.ca-harvest.ca-harvest>i svg{width:28px!important;height:28px!important}
.city-ov:not(.world-ov) .lvbadge .city-action.ca-harvest.ca-harvest>em{margin-top:9px!important;background:linear-gradient(180deg,#1b3550,#0b1a2b)!important;color:#ffe7a6!important;border:1px solid #c99a4a!important;border-radius:99px!important;padding:1px 9px!important;font:900 11px/1.35 system-ui,sans-serif!important;font-style:normal!important;text-shadow:0 1px 0 #000!important;clip-path:none!important;white-space:nowrap}
@keyframes harvestGlow203{0%,100%{box-shadow:0 0 0 1.5px #5a3a10,0 0 10px rgba(255,210,120,.45)}50%{box-shadow:0 0 0 1.5px #5a3a10,0 0 20px rgba(255,214,120,.95)}}
@media(prefers-reduced-motion:reduce){.city-ov .lvbadge .city-action.ca-harvest,.city-ov .lvbadge .city-action.ca-harvest>i{animation:none!important}}
.city-ov:not(.world-ov) .lvbadge .city-action.ca-harvest.ca-harvest::before,.city-ov:not(.world-ov) .lvbadge .city-action.ca-harvest.ca-harvest::after{display:none!important}
.city-ov:not(.world-ov) .lvbadge .city-action.ca-harvest.ca-harvest{background-image:none!important;outline:0!important}
.city-ov:not(.world-ov) .lvbadge .city-action.ca-harvest.ca-harvest>i.res203 svg{width:30px!important;height:30px!important;min-width:30px!important}
/* Ui203 — asker eğitim paneli: Osmanlı ocak avlusu sahnesi (kemer, meşale ışıltısı, kilim zemin), büyük nefes alan asker, altın değerler, canlı EĞİT */
#sheets .training153 .wos-stage145{position:relative;overflow:hidden;background:radial-gradient(ellipse 22% 38% at 8% 40%,rgba(255,170,70,.32),transparent 70%),radial-gradient(ellipse 22% 38% at 92% 40%,rgba(255,170,70,.32),transparent 70%),radial-gradient(ellipse 60% 55% at 50% 42%,rgba(110,160,210,.28),transparent 70%),linear-gradient(180deg,#14283f 0%,#1d3854 55%,#2a2a33 56%,#3a2e28 100%)!important;border:1px solid rgba(224,180,90,.55)!important;box-shadow:inset 0 0 40px rgba(0,0,0,.45),0 6px 16px rgba(0,0,0,.35)!important}
#sheets .training153 .wos-stage145::after{content:"";position:absolute;left:0;right:0;bottom:0;height:44%;background:repeating-linear-gradient(45deg,rgba(150,40,30,.22) 0 10px,rgba(30,90,100,.18) 10px 20px),repeating-linear-gradient(-45deg,rgba(224,180,90,.12) 0 10px,transparent 10px 20px);-webkit-mask:linear-gradient(180deg,transparent,#000 40%);mask:linear-gradient(180deg,transparent,#000 40%);pointer-events:none;z-index:0}
#sheets .training153 .wos-stage-art145{position:relative;z-index:1}
#sheets .training153 .wos-stage-img148{transform-origin:50% 92%;animation:soldierBreath203 3.6s ease-in-out infinite;filter:drop-shadow(0 10px 10px rgba(0,0,0,.5))}
#sheets .training153 .wos-stage-podium148{box-shadow:0 0 22px rgba(255,200,100,.55),inset 0 0 18px rgba(255,210,120,.45)!important;border-color:rgba(232,191,98,.9)!important;animation:podium203 3.2s ease-in-out infinite}
#sheets .training153 .wos-stage145 :is(.wos-stats145,.wos-stat-row145) b,#sheets .training153 .wos-stage145 dd{color:#ffe3a0!important;text-shadow:0 1px 0 #000,0 0 8px rgba(255,190,80,.35)!important}
#sheets .training153 .wos-tiers145 .on,#sheets .training153 .wos-tiers145 [aria-pressed="true"]{box-shadow:0 0 0 2px #f0cf7a,0 0 16px rgba(255,210,120,.7)!important}
#sheets .training153 .wos-tiers145>*{transition:transform .18s ease}
@media(hover:hover) and (pointer:fine){#sheets .training153 .wos-tiers145>*:hover{transform:translateY(-3px)}}
#sheets .training153 .btn-wos-gold145{position:relative;overflow:hidden;animation:trainPulse203 2.4s ease-in-out infinite}
#sheets .training153 .btn-wos-gold145::after{content:"";position:absolute;top:-30%;bottom:-30%;width:30%;left:-50%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.6),transparent);transform:skewX(-18deg);animation:sheen203 3.2s ease-in-out infinite;pointer-events:none}
@keyframes soldierBreath203{0%,100%{transform:scale(1.12) translateY(0)}50%{transform:scale(1.15) translateY(-2px)}}
@keyframes trainPulse203{0%,100%{box-shadow:0 4px 0 #8a5a10,0 6px 14px rgba(0,0,0,.4)}50%{box-shadow:0 4px 0 #8a5a10,0 0 22px rgba(255,200,90,.75)}}
@media(prefers-reduced-motion:reduce){#sheets .training153 .wos-stage-img148,#sheets .training153 .wos-stage-podium148,#sheets .training153 .btn-wos-gold145,#sheets .training153 .btn-wos-gold145::after{animation:none!important}}
/* Ui203 — olay/hikâye penceresi: sinematik kapak görseli, altın çerçeveli portre, parşömen balon, kurdele seçenek kartları */
#sheets .sheet-body[data-page="event"]{position:relative;padding-top:178px!important}
#sheets .sheet-body[data-page="event"]::before{content:"";position:absolute;left:0;right:0;top:0;height:230px;background:linear-gradient(180deg,rgba(10,22,36,0) 45%,rgba(18,40,62,1) 100%),url("sancak200/hikaye/ev_kervan.webp") center 35%/cover no-repeat;border-bottom:1px solid rgba(224,180,90,.4);pointer-events:none;z-index:0;animation:evPan203 18s ease-in-out infinite alternate}
#sheets .sheet-body[data-page="event"]>*{position:relative;z-index:1}
#sheets .sheet-body[data-page="event"] .say{align-items:flex-end!important;gap:12px!important;margin-bottom:14px!important}
#sheets .sheet-body[data-page="event"] .say .por{flex:0 0 86px!important;width:86px!important;height:86px!important;border-radius:50%!important;overflow:hidden;background:radial-gradient(circle at 50% 35%,#3a5e82,#0c1a2b)!important;box-shadow:0 0 0 3px #e0b45a,0 0 0 5px #2a1a06,0 6px 14px rgba(0,0,0,.55),0 0 16px rgba(255,200,100,.35)!important}
#sheets .sheet-body[data-page="event"] .say .por svg,#sheets .sheet-body[data-page="event"] .say .por img{width:100%!important;height:100%!important;object-fit:cover}
#sheets .sheet-body[data-page="event"] .say .bubble{background:linear-gradient(180deg,#f7ead0,#e9d6ad)!important;color:#3a2610!important;border:1px solid #b8893c!important;border-radius:12px 12px 12px 2px!important;box-shadow:0 6px 16px rgba(0,0,0,.4),inset 0 0 18px rgba(150,100,40,.18)!important;font-size:15px!important;line-height:1.45!important}
#sheets .sheet-body[data-page="event"] .say .bubble b{display:block;color:#8a2a16!important;font-weight:900!important;letter-spacing:.03em;margin-bottom:3px}
#sheets .sheet-body[data-page="event"] .sec-title{text-align:center!important;color:#ffe3a0!important;letter-spacing:.1em;text-transform:uppercase;font-size:13px!important;margin:6px 0 10px!important}
#sheets .sheet-body[data-page="event"] .btn.choice{position:relative;text-align:left!important;padding:12px 44px 12px 16px!important;margin-bottom:10px!important;background:linear-gradient(90deg,#1c3a58,#12263c)!important;border:1px solid #c99a4a!important;border-left:4px solid #e0b45a!important;border-radius:8px!important;box-shadow:0 4px 10px rgba(0,0,0,.35)!important;transition:transform .15s ease,box-shadow .15s ease}
#sheets .sheet-body[data-page="event"] .btn.choice::after{content:"";position:absolute;right:16px;top:50%;width:10px;height:10px;border-top:3px solid #f0cf7a;border-right:3px solid #f0cf7a;transform:translateY(-50%) rotate(45deg)}
#sheets .sheet-body[data-page="event"] .btn.choice b{color:#ffe9b8!important}
@media(hover:hover) and (pointer:fine){#sheets .sheet-body[data-page="event"] .btn.choice:hover{transform:translateX(4px);box-shadow:0 4px 14px rgba(0,0,0,.4),0 0 14px rgba(255,200,100,.35)!important}}
#sheets .sheet-body[data-page="event"] .btn.choice:active{transform:scale(.98)}
@keyframes evPan203{from{background-position:center 30%}to{background-position:center 45%}}
@media(prefers-reduced-motion:reduce){#sheets .sheet-body[data-page="event"]::before{animation:none}}
/* Ui203 — Külyurt'a özgü açılış: "Sancağın Doğuşu" sahnesi, Pınar alevi, altın kabartma logo, ateşli ilerleme çubuğu, parşömen ipucu */
#boot.boot{background:#0b0d14!important;overflow:hidden}
#boot.boot::before{content:"";position:absolute;inset:-4%;background:linear-gradient(180deg,rgba(8,10,18,.55) 0%,rgba(8,10,18,.15) 35%,rgba(8,10,18,.35) 62%,rgba(10,6,4,.92) 100%),url("sancak200/hikaye/intro_4.webp") center 40%/cover no-repeat;animation:bootPan203 24s ease-in-out infinite alternate;z-index:0}
#boot.boot::after{content:"";position:absolute;left:-10%;right:-10%;bottom:-12%;height:45%;background:radial-gradient(ellipse 50% 60% at 50% 100%,rgba(255,150,50,.5),rgba(255,110,30,.18) 45%,transparent 70%);animation:emberGlow203 3.2s ease-in-out infinite;pointer-events:none;z-index:0}
#boot.boot>*{position:relative;z-index:1}
#boot .boot-snow152{position:absolute!important;inset:0;z-index:1}
#boot .boot-head142{text-align:center;filter:drop-shadow(0 6px 18px rgba(0,0,0,.6))}
#boot .boot-kicker142{display:inline-block;color:#f3dca2!important;letter-spacing:.32em!important;font-weight:800!important;font-size:clamp(10px,2.6vw,13px)!important;padding:3px 14px;border-top:1px solid rgba(232,191,98,.6);border-bottom:1px solid rgba(232,191,98,.6);text-shadow:0 1px 2px #000}
#boot .boot-logo142{display:block;font-size:clamp(46px,13vw,104px)!important;line-height:1!important;margin:10px 0 6px!important;background:none!important;color:#ffd77a!important;-webkit-text-fill-color:#ffd77a!important;-webkit-text-stroke:0;text-shadow:0 1px 0 #fff3c4,0 3px 0 #8a5a14,0 5px 0 #3a2208,0 8px 16px rgba(0,0,0,.6),0 0 30px rgba(255,190,80,.55)!important;filter:none!important;letter-spacing:.06em}
#boot .boot-logo142::before,#boot .boot-logo142::after{content:"";position:absolute;top:50%;width:clamp(28px,10vw,90px);height:2px;background:linear-gradient(90deg,transparent,#e8bf62);-webkit-text-fill-color:initial}
#boot .boot-logo142::before{right:100%;margin-right:10px}
#boot .boot-logo142::after{left:100%;margin-left:10px;transform:scaleX(-1)}
#boot .boot-logo142{position:relative}
#boot .boot-sub142{color:#f6ead2!important;font-size:clamp(12px,3.2vw,15px)!important;text-shadow:0 1px 3px #000;font-style:italic}
#boot .boot-mark{width:58px!important;height:78px!important;border:0!important;border-radius:0!important;background:none!important;animation:none!important;position:relative;margin:22px auto 6px!important}
#boot .boot-mark::before{content:"";position:absolute;left:50%;bottom:6px;width:38px;height:62px;transform:translateX(-50%);border-radius:50% 50% 45% 45%/62% 62% 38% 38%;background:radial-gradient(ellipse at 50% 78%,#fff3c4 0%,#ffcf5a 22%,#ff8a1f 55%,rgba(220,60,20,.0) 75%);filter:blur(.4px) drop-shadow(0 0 16px rgba(255,150,40,.85));animation:flame203 1.1s ease-in-out infinite alternate;transform-origin:50% 100%}
#boot .boot-mark::after{content:"";position:absolute;left:50%;bottom:0;width:54px;height:12px;transform:translateX(-50%);border-radius:50%;background:linear-gradient(180deg,#8a6a40,#4a3420);box-shadow:0 0 0 2px #c99a4a,0 4px 10px rgba(0,0,0,.6)}
#boot .boot-bar142{width:min(360px,78vw)!important;height:14px!important;border-radius:99px!important;background:linear-gradient(180deg,#0a0f18,#1a2433)!important;border:2px solid #c99a4a!important;box-shadow:0 0 0 1px #2a1a06,inset 0 2px 4px rgba(0,0,0,.7),0 4px 12px rgba(0,0,0,.5)!important;overflow:hidden;position:relative}
#boot .boot-bar142>i{height:100%!important;border-radius:99px!important;background:linear-gradient(90deg,#b8451a,#ff8a1f 45%,#ffd25a 85%,#fff3c4)!important;box-shadow:0 0 12px rgba(255,160,50,.8)!important;position:relative;overflow:hidden}
#boot .boot-bar142>i::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.55) 50%,transparent 70%);animation:barSheen203 1.6s linear infinite}
#boot .load-note55{color:#f3dca2!important;font-weight:700!important;text-shadow:0 1px 2px #000;letter-spacing:.04em}
#boot .boot-tip152{position:absolute!important;left:50%;bottom:calc(26px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(560px,90vw);margin:0!important;padding:9px 22px!important;text-align:center;color:#3a2610!important;font-weight:700!important;font-size:clamp(12px,3.2vw,14px)!important;background:linear-gradient(180deg,#f7ead0,#e5cf9f)!important;border:1px solid #b8893c;border-radius:4px;box-shadow:0 6px 16px rgba(0,0,0,.5);clip-path:polygon(3% 0,97% 0,100% 50%,97% 100%,3% 100%,0 50%)}
#boot .boot-start152{background:linear-gradient(180deg,#fff0bd,#e7bd62 48%,#c08a2e 52%,#e0ad4f)!important;color:#2a1600!important;border:1px solid #fff4cf!important;border-radius:6px!important;clip-path:polygon(5% 0,95% 0,100% 50%,95% 100%,5% 100%,0 50%);padding:14px 42px!important;font-weight:900!important;letter-spacing:.12em!important;box-shadow:0 0 22px rgba(255,200,90,.6)!important;animation:startPulse203 1.8s ease-in-out infinite}
@keyframes bootPan203{from{transform:scale(1.04) translate(-1%,0)}to{transform:scale(1.12) translate(1%,-1%)}}
@keyframes emberGlow203{0%,100%{opacity:.75}50%{opacity:1}}
@keyframes flame203{0%{transform:translateX(-50%) scale(1,1) skewX(-3deg)}100%{transform:translateX(-50%) scale(.92,1.08) skewX(3deg)}}
@keyframes barSheen203{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
@keyframes startPulse203{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}
@media(prefers-reduced-motion:reduce){#boot.boot::before,#boot.boot::after,#boot .boot-mark::before,#boot .boot-bar142>i::after,#boot .boot-start152{animation:none!important}}
/* Ui203 — şehir↔dünya geçişi: hacimli fırtına bulutları (mavi gölge + altın kenar ışığı), merkezde gece karartması, armada "hazırlanıyor" notu */
.cloud-wipe151.in{background:radial-gradient(ellipse at 50% 50%,rgba(16,32,52,.55),rgba(214,226,238,.92) 70%)!important}
.cloud-wipe151 .cp{background:radial-gradient(ellipse at 38% 28%,#fffdf6 0%,#f2f6fb 34%,#c4d4e4 66%,#8ea6bf 100%)!important;box-shadow:0 0 70px 34px rgba(240,246,252,.85),inset -18px -26px 40px rgba(90,120,155,.35),inset 14px 14px 30px rgba(255,226,170,.35)!important;filter:blur(5px)!important}
.cloud-wipe151.in .cp:nth-child(odd){transition:transform .62s cubic-bezier(.2,.8,.2,1),opacity .4s ease!important}
.cloud-wipe151.in .cp:nth-child(even){transition:transform .78s cubic-bezier(.2,.8,.2,1),opacity .5s ease!important}
.cloud-wipe151 .wipe-crest202 img{box-shadow:0 0 0 5px #1b3248cc,0 0 0 8px rgba(224,180,90,.6),0 12px 34px rgba(11,24,40,.55),0 0 40px rgba(255,200,100,.5)!important}
.cloud-wipe151 .wipe-crest202 .wipe-note203{font:700 13px/1 system-ui,sans-serif;letter-spacing:.08em;color:#1b3248;background:rgba(255,255,255,.75);padding:5px 12px;border-radius:99px;animation:notePulse203 1.2s ease-in-out infinite}
@keyframes notePulse203{0%,100%{opacity:.65}50%{opacity:1}}
/* Ui203 — Hedef Bul paneli */
#sheets .ws203-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:10px}
#sheets .ws203-cat{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 4px 8px;border-radius:10px;background:linear-gradient(180deg,#1c3a58,#10233a);border:1px solid rgba(201,154,74,.55);color:#e9eef5;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}
#sheets .ws203-cat .ws203-ico{font-size:26px;line-height:1;filter:drop-shadow(0 2px 2px #000a)}
#sheets .ws203-cat b{font-size:11.5px;font-weight:800}
#sheets .ws203-cat.on{background:linear-gradient(180deg,#ffe9a8,#d6a046 60%,#9a6a22);color:#2a1600;border-color:#fff1c4;box-shadow:0 0 14px rgba(255,200,100,.55);transform:translateY(-2px)}
#sheets .ws203-res{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}
#sheets .ws203-chip{padding:6px 12px;border-radius:99px;background:#10233a;border:1px solid rgba(201,154,74,.5);color:#e9eef5;font-weight:700;cursor:pointer}
#sheets .ws203-chip.on{background:#e0b45a;color:#2a1600;border-color:#fff1c4}
#sheets .ws203-level{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:12px;background:linear-gradient(180deg,rgba(10,24,40,.75),rgba(18,40,64,.6));border:1px solid rgba(224,180,90,.45);margin-bottom:10px}
#sheets .ws203-lab{color:#e7b95c;font-weight:800;font-size:12px;letter-spacing:.06em;text-transform:uppercase}
#sheets .ws203-step{width:34px;height:34px;border-radius:50%;background:linear-gradient(180deg,#2a5a86,#173a5c);border:1px solid #c99a4a;color:#fff;font-size:20px;font-weight:900;line-height:1;cursor:pointer}
#sheets .ws203-range{flex:1;accent-color:#e0b45a}
#sheets .ws203-val{min-width:38px;text-align:center;padding:4px 8px;border-radius:8px;background:#0a1626;border:1px solid #c99a4a;color:#ffe3a0;font-size:16px}
#sheets .ws203-go{margin-bottom:12px}
#sheets .ws203-list{display:flex;flex-direction:column;gap:7px}
#sheets .ws203-item{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:8px 12px 8px 8px;border-radius:10px;background:linear-gradient(90deg,#1c3a58,#12263c);border:1px solid rgba(201,154,74,.45);color:#e9eef5;cursor:pointer;transition:transform .15s ease}
#sheets .ws203-item:active{transform:scale(.98)}
@media(hover:hover) and (pointer:fine){#sheets .ws203-item:hover{transform:translateX(3px)}}
#sheets .ws203-badge{position:relative;flex:0 0 48px;height:48px;border-radius:10px;display:grid;place-items:center;background:radial-gradient(circle at 50% 35%,#3a5e82,#0c1a2b);box-shadow:0 0 0 2px #e0b45a}
#sheets .ws203-badge i{font-style:normal;font-size:24px}
#sheets .ws203-badge em{position:absolute;bottom:-7px;left:50%;transform:translateX(-50%);font-style:normal;font-size:10px;font-weight:900;padding:0 6px;border-radius:99px;background:#e0b45a;color:#2a1600;white-space:nowrap}
#sheets .ws203-txt{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
#sheets .ws203-txt b{color:#ffe9b8}
#sheets .ws203-txt small{color:#9fb3c8}
#sheets .ws203-arrow{color:#f0cf7a;font-size:26px;font-weight:900}
/* Ui203 — sefer ekranı: güç karşılaştırması, kahraman kartı güç satırı, sabit alt çubuk */
#sheets .march123 .vs203{padding:12px 14px!important;border:1px solid rgba(224,180,90,.55)!important;background:linear-gradient(180deg,rgba(10,24,40,.85),rgba(18,40,64,.7))!important}
#sheets .march123 .vs-row203{display:flex;align-items:center;justify-content:space-between;gap:8px}
#sheets .march123 .vs-side203{display:flex;flex-direction:column;gap:2px}
#sheets .march123 .vs-side203.foe{text-align:right}
#sheets .march123 .vs-side203 small{color:#9fb3c8;font-size:11px;letter-spacing:.04em;text-transform:uppercase}
#sheets .march123 .vs-side203 b{font-size:20px;font-weight:900;color:#ffe3a0;text-shadow:0 1px 0 #000}
#sheets .march123 .vs-side203.foe b{color:#ff9d8a}
#sheets .march123 .vs-tag203{padding:4px 12px;border-radius:99px;font-weight:900;font-size:12px;letter-spacing:.06em;background:#24405a;color:#fff;border:1px solid rgba(255,255,255,.25)}
#sheets .march123 .vs203.easy .vs-tag203{background:#2f8a4a}
#sheets .march123 .vs203.even .vs-tag203{background:#b58a1e}
#sheets .march123 .vs203.hard .vs-tag203{background:#c0612a}
#sheets .march123 .vs203.deadly .vs-tag203{background:#a3242a;animation:badge203 1.2s ease-in-out infinite}
#sheets .march123 .vs-bar203{margin-top:9px;height:10px;border-radius:99px;background:linear-gradient(90deg,#8a2a2a,#c0402e);overflow:hidden;box-shadow:inset 0 1px 3px rgba(0,0,0,.6)}
#sheets .march123 .vs-bar203 i{display:block;height:100%;background:linear-gradient(90deg,#2a6fb0,#5fb3f0);box-shadow:0 0 8px rgba(95,179,240,.7);transition:width .35s ease}
#sheets .march123 .hero-tile .commander-power{display:flex!important;align-items:center;justify-content:center;gap:4px;white-space:nowrap;font-size:12px!important}
#sheets .march123 .hero-tile .commander-power::before{content:none!important}
#sheets .march123 .hero-tile .small.row{justify-content:center}
#sheets .march123 .march-foot203{position:sticky;bottom:-1px;z-index:5;display:flex;align-items:center;gap:10px;margin:12px -14px -14px;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:linear-gradient(180deg,rgba(14,30,48,.92),#0c1a2b);border-top:1px solid rgba(224,180,90,.55);box-shadow:0 -8px 18px rgba(0,0,0,.4)}
#sheets .march123 .march-foot203 .col{flex:1;min-width:0}
#sheets .march123 .march-foot203 .foot-info203{color:#ffe3a0;font-weight:800}
#sheets .march123 .march-foot203 .march-send123{flex:0 0 auto;width:auto!important;min-width:150px;position:relative;overflow:hidden}
#sheets .march123 .march-foot203 .march-send123::after{content:"";position:absolute;top:-30%;bottom:-30%;width:30%;left:-50%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent);transform:skewX(-18deg);animation:sheen203 3s ease-in-out infinite;pointer-events:none}
/* Ui203 — hedef kartı: kapak + belirgin saldırı */
#sheets .sheet-body[data-page="wpick"]{position:relative;padding-top:132px!important}
#sheets .sheet-body[data-page="wpick"]::before{content:"";position:absolute;left:0;right:0;top:0;height:170px;background:linear-gradient(180deg,rgba(10,22,36,0) 40%,rgba(18,40,62,1) 100%),url("sancak200/hikaye/ev_baskin.webp") center 40%/cover no-repeat;border-bottom:1px solid rgba(224,180,90,.4);pointer-events:none}
#sheets .sheet-body[data-page="wpick"]>*{position:relative;z-index:1}
#sheets .sheet-body[data-page="wpick"] .btn.danger{background:linear-gradient(180deg,#d8553a,#9c2a1c 60%,#7a1e14)!important;border:1px solid #f0cf7a!important;color:#fff!important;font-weight:900!important;letter-spacing:.08em;box-shadow:0 4px 0 #4a1008,0 0 18px rgba(255,120,60,.45)!important;animation:trainPulse203 2.2s ease-in-out infinite}
#sheets .march123 .hero-tile .small.row .ic,#sheets .march123 .hero-tile .commander-power .ic{position:static!important;transform:none!important;width:16px!important;height:16px!important}
#sheets .march123 .march-foot203{margin:12px 0 0!important;border-radius:12px;border:1px solid rgba(224,180,90,.55)}
#sheets .march123 .hero-tile .small.row .ic{display:none!important}
