/* The guide never paints over the lesson: a separate, compact dialogue area. */
.tour274-overlay{position:fixed;inset:0;z-index:2147483000;pointer-events:none;isolation:isolate;overflow:hidden;text-align:left;color:#f4e4c6;line-height:1.35;contain:layout style}
.tour274-focus{position:fixed;border:2px solid #dfb96b;border-radius:7px;box-shadow:0 0 0 9999px #0b0705df,0 0 12px #d4a84f55;pointer-events:none;box-sizing:border-box}
.tour274-centered .tour274-focus{border:0;border-radius:0;box-shadow:none;background:#0b0705ed}
.tour274-card.service-ui{position:fixed;pointer-events:auto;box-sizing:border-box;isolation:isolate;padding:12px 12px 4px;margin:0;border:0;border-radius:0;background:none;color:#f4e4c6!important;text-shadow:0 1px 2px #080402!important;box-shadow:none;overflow:auto;overscroll-behavior:contain;font-family:Georgia,'Times New Roman',serif;outline:0}
.tour275-dialog::before{content:"";position:absolute;z-index:-1;inset:3px 0 0;background:radial-gradient(ellipse at 65% 48%,#24160eb3,transparent 78%);pointer-events:none}
.tour275-body{display:grid;grid-template-columns:36% minmax(0,1fr);gap:12px;align-items:center;min-height:174px}
.tour275-body>.tour274-nika{display:block;float:none;width:100%;height:208px;object-fit:contain;object-position:center bottom;margin:0;align-self:end;mask-image:linear-gradient(#000 88%,transparent 100%);-webkit-mask-image:linear-gradient(#000 88%,transparent 100%);filter:drop-shadow(0 3px 5px #0009)}
.tour274-copy{padding:4px 0 0;min-width:0}
.tour275-speaker{display:flex;align-items:center;gap:9px;justify-content:flex-start;font-size:12px;letter-spacing:.19em;color:#d8ac68;font-weight:bold;margin:0 0 8px;text-shadow:0 1px 2px #080402}
.tour275-speaker:after{content:"";height:1px;flex:1;background:linear-gradient(90deg,#b68a45,transparent)}
.tour274-copy h2{display:block;padding:0;margin:0 0 8px;font-size:23px;line-height:1.12;color:#f5dfb5;text-shadow:0 2px 3px #100905;font-weight:500;text-wrap:balance}
.tour274-copy h2 .kg-icon{display:inline-block;width:23px;height:23px;object-fit:contain;vertical-align:-3px;margin-right:6px}
.tour274-copy p{font-size:16px;line-height:1.35;font-weight:400;padding:0;margin:0;color:#f0e3ce;text-shadow:0 1px 2px #080402;text-wrap:pretty}
.tour274-card footer{display:flex;gap:8px;align-items:center;justify-content:flex-end;padding:4px 0 0;margin:0;background:none;border:0;box-shadow:none;min-height:44px}
.tour274-card.service-ui .kg-button{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;width:auto;max-width:100%;padding:9px 12px;margin:0;color:#f3e4c6;font-family:inherit;font-size:16px;line-height:1.15;border:0;background:none;text-shadow:0 1px 1px #180a04;box-shadow:none;cursor:pointer}
.tour274-card .kg-button>.kg-surface,.tour274-card .kg-button>.kg-frame{z-index:-1;display:block;position:absolute;inset:0;pointer-events:none}
.tour274-card .kg-button>.kg-surface{background-repeat:repeat;border-radius:7px}
.tour274-card .kg-button>.kg-frame{width:100%;height:100%}
.tour274-card.service-ui .kg-button:disabled{opacity:.55;filter:saturate(.35);background:none!important;color:#dfcfae!important;cursor:default}
.tour274-card.service-ui .tour276-arrow{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px!important;min-width:44px;max-width:44px;height:44px;min-height:44px;padding:4px!important;margin:0;border:0;border-radius:50%;background:none!important;box-shadow:none!important;cursor:pointer;line-height:1;filter:none}
.tour274-card.service-ui .tour276-arrow>.kg-base{position:static;display:block;width:36px;height:36px;max-width:none;max-height:none;object-fit:contain;pointer-events:none;filter:drop-shadow(0 2px 3px #0009)}
.tour274-card .tour276-forward>.kg-base{transform:rotate(180deg)}
.tour274-card.service-ui .tour276-arrow:disabled{opacity:.35;filter:grayscale(.5);cursor:default}
.tour274-card :is(.kg-button,.tour276-arrow,.tour274-link):focus-visible{outline:2px solid #ffd58d;outline-offset:2px}
.tour274-card .tour274-link{font-family:inherit;font-size:13px;font-weight:400;color:#cfb58d;background:transparent;border:0;box-shadow:none;min-height:44px;padding:7px 4px;width:auto;flex:none;text-decoration:underline;text-underline-offset:4px;text-shadow:none}
.tour275-reward{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:8px;align-items:center;padding:9px 0 5px;margin-top:3px;border-top:1px solid #b68a454d}
.tour275-reward>.kg-icon{width:36px;height:36px;object-fit:contain}
.tour275-reward strong{display:block;font-size:22px;line-height:1.05;color:#f0cc85;text-shadow:0 1px 2px #080402}
.tour275-reward small{display:block;font-size:12px;line-height:1.2;color:#d3bb95;margin-top:4px}
.tour275-reward .kg-button{font-size:15px!important;min-height:44px!important;padding:9px 11px!important}
.tour274-instruction{flex:1;padding:0;margin:0 4px;font-size:12px;line-height:1.3;text-align:right;color:#cfb58d;text-shadow:0 1px 2px #080402}
.tour274-instruction:empty{display:none}
.tour275-progress{display:block;margin:0 auto 0 0;white-space:nowrap;font-size:11px;line-height:1;letter-spacing:.1em;color:#b8a084}
.tour274-card[data-density="compact"] .tour275-body{min-height:150px;grid-template-columns:29% minmax(0,1fr);gap:10px}
.tour274-card[data-density="compact"] .tour274-nika{height:172px}
.tour274-card[data-density="compact"] .tour274-copy h2{font-size:21px;margin-bottom:6px}
.tour274-card[data-density="compact"] .tour274-copy p{font-size:15px;line-height:1.32}
.tour274-card[data-density="compact"] .tour275-speaker{margin-bottom:6px;font-size:11px}
.tour274-card[data-density="tight"]{padding:8px 10px 3px}
.tour274-card[data-density="tight"] .tour275-body{min-height:130px;grid-template-columns:25% minmax(0,1fr);gap:9px}
.tour274-card[data-density="tight"] .tour274-nika{height:148px}
.tour274-card[data-density="tight"] .tour274-copy{padding:0}
.tour274-card[data-density="tight"] .tour274-copy h2{font-size:20px;margin-bottom:5px}
.tour274-card[data-density="tight"] .tour274-copy p{font-size:14px;line-height:1.28}
.tour274-card[data-density="tight"] .tour275-speaker{margin-bottom:5px;font-size:11px}
.tour274-card.service-ui.tour275-welcome{padding:0;overflow:hidden;background:#130b08}
.tour275-welcome .tour275-scene{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center top;float:none;margin:0;z-index:-1}
.tour275-brand{position:absolute;left:8%;right:8%;top:max(14px,env(safe-area-inset-top));display:block;text-align:center;color:#e0ba78;letter-spacing:.21em;font-size:22px;line-height:1.3;text-shadow:0 2px 4px #180b04}
.tour275-welcome-copy{position:absolute;left:7%;right:7%;bottom:max(12px,env(safe-area-inset-bottom));text-align:center;color:#f5e6c7}
.tour275-welcome .tour275-speaker{justify-content:center;color:#e1ba7c;font-size:15px;margin-bottom:14px}
.tour275-welcome .tour275-speaker:after{flex:none;width:35px;background:linear-gradient(90deg,#b68a45,transparent)}
.tour275-welcome .tour275-speaker:before{content:"";height:1px;width:35px;background:linear-gradient(90deg,transparent,#b68a45)}
.tour275-welcome-copy h2{font-size:36px;line-height:1.04;font-weight:500;color:#f8e8c6;text-shadow:0 2px 6px #150a05;margin:0 0 12px;padding:0;text-wrap:balance}
.tour275-welcome-copy p{font-size:19px;line-height:1.3;font-weight:400;color:#f3e5c8;text-shadow:0 1px 3px #110703;margin:0 auto 12px;max-width:330px;padding:0}
.tour275-welcome footer{display:flex;justify-content:center;gap:18px;padding:0}
.tour275-welcome .tour276-arrow{order:2}
.tour275-welcome .tour274-link{color:#d0b68e;font-size:15px}
@media(max-height:740px){.tour275-welcome-copy h2{font-size:30px}.tour275-welcome-copy p{font-size:17px;margin-bottom:9px}.tour275-welcome .tour275-speaker{margin-bottom:9px}}
@media(max-height:600px){.tour275-welcome-copy h2{font-size:25px}.tour275-welcome-copy p{font-size:15px;margin-bottom:8px}.tour275-welcome-copy{bottom:6px}.tour275-welcome .tour275-speaker{margin-bottom:6px;font-size:12px}.tour275-brand{font-size:18px}}
/* Only while inspecting a lesson. The HUD/navigation return unchanged afterwards. */
body[data-tour276-stage] :is(#game-header,#game-footer,#game-top-brand){visibility:hidden!important}
body[data-tour276-stage] #game-content{position:fixed!important;inset:auto!important;left:var(--tour276-scene-left,8px)!important;top:var(--tour276-scene-top,8px)!important;width:var(--tour276-scene-width,calc(100vw - 16px))!important;height:var(--tour276-scene-height,60dvh)!important;min-height:0!important;max-height:none!important;margin:0!important;align-self:unset!important;box-sizing:border-box}
body[data-tour276-stage] #game-content>#modal[open]{position:absolute!important;inset:0!important;height:100%!important;max-height:100%!important;min-height:0!important;margin:0!important;overflow:hidden!important;padding:6px!important;box-sizing:border-box}
body[data-tour276-stage] #main{height:100%!important;min-height:0!important;max-height:100%!important}
body[data-tour276-stage] :is(.ic-ui,.shop-ui,.hm-modal){height:100%;min-height:0;max-height:100%;box-sizing:border-box}
body[data-tour276-stage] :is(.ic-scroll,.shop-scroll){scroll-padding:6px;overscroll-behavior:contain}
body[data-tour276-stage] :is(.ic-scroll,.shop-content,.work-content){gap:6px!important}
body[data-tour276-stage] :is(.ic-scroll,.shop-content,.work-content)>.sw-head{min-height:36px!important;padding:5px 10px!important;margin:0 0 6px!important;gap:6px!important}
body[data-tour276-stage] :is(.ic-scroll,.shop-content,.work-content)>.sw-head h2{font-size:18px!important;line-height:1.2!important}
body[data-tour276-stage] :is(.ic-scroll,.shop-content,.work-content)>.sw-head .kg-round{width:30px!important;height:30px!important;min-height:30px!important}
body[data-tour276-stage] :is(.ic-scroll,.shop-content,.work-content) .sw-panel{padding:9px 11px!important;margin:0 0 6px!important}
body[data-tour276-stage] :is(.ic-scroll,.shop-content) .item-heading{grid-template-columns:76px minmax(0,1fr)!important;gap:10px!important;padding:9px!important;margin:0 0 6px!important;min-height:0!important}
body[data-tour276-stage] .item-heading .item-portrait{width:76px!important;max-width:76px!important;min-width:0!important}
body[data-tour276-stage] .item-heading .item-summary{gap:3px!important;min-width:0}
body[data-tour276-stage] .item-heading h2{font-size:19px!important;line-height:1.15!important;margin:2px 0!important}
body[data-tour276-stage] .item-heading :is(.item-quality,.item-location){font-size:12px!important;line-height:1.2!important}
body[data-tour276-stage] .item-heading :is(.item-power,.personal-item217){font-size:12px!important;min-height:0!important;margin:2px 0!important;padding:3px 6px!important}
body[data-tour276-stage] .item-heading :is(.item-power,.personal-item217) .kg-icon{width:20px!important;height:20px!important}
body[data-tour276-stage] .item-heading .item-power b{font-size:15px!important}
body[data-tour276-stage] .ic-quality174{font-size:14px!important;line-height:1.2!important}
body[data-tour276-stage] .ic-quality174 b{font-size:18px!important}
body[data-tour276-stage] :is(.ic-scroll,.shop-content) .section-caption{margin:0 0 4px!important}
body[data-tour276-stage] :is(.ic-scroll,.shop-content) :is(.section-caption,.ic-requirements174) h3{font-size:16px!important;margin:0 0 4px!important}
body[data-tour276-stage] :is(.ic-scroll,.shop-content) .property-list{margin:0!important}
body[data-tour276-stage="item"] :is(.ic-scroll,.shop-content) .sw-panel>.property-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}
body[data-tour276-stage="item"] :is(.ic-scroll,.shop-content) .ic-property{min-height:28px!important;padding:4px 0!important;font-size:13px!important;line-height:1.25!important;gap:5px!important;box-sizing:border-box}
body[data-tour276-stage="item"] :is(.ic-scroll,.shop-content) .ic-property :is(dt,dd){font-size:13px!important;line-height:1.25!important;min-width:0}
body[data-tour276-stage="item"] :is(.ic-scroll,.shop-content) .ic-property dt{gap:5px!important}
body[data-tour276-stage="item"] :is(.ic-scroll,.shop-content) .ic-property .kg-icon{width:21px!important;height:21px!important;flex:0 0 21px!important}
body[data-tour276-stage="item"] .ic-property-group{padding:6px!important;margin-top:6px!important}
body[data-tour276-stage="item"] .ic-property-group h4{font-size:13px!important;margin:0 0 4px!important}
body[data-tour276-stage="item"] .ic-property-group .ic-property small{font-size:11px!important}
body[data-tour276-stage] :is(.ic-dock,.shop-dock){padding:6px 9px!important;gap:4px!important;min-height:0!important}
body[data-tour276-stage] :is(.ic-dock,.shop-dock)>.kg-button{min-height:42px!important;height:auto!important;padding:10px!important;font-size:16px!important;line-height:1.2!important}
body[data-tour276-stage] .shop-dock>small{font-size:12px!important;line-height:1.25!important}
body[data-tour276-stage] :is(button,select)[data-tour274-target]{outline:2px solid #edbc61!important;outline-offset:1px!important;filter:brightness(1.12)}
body[data-tour276-stage="weapon"] .ic-dock{display:none}
body[data-tour276-stage="workshop"] .tour275-work-item .selected-item{align-items:center;gap:12px}
body[data-tour276-stage="workshop"] .tour275-work-item .selected-item>div:first-child{width:66px;flex:0 0 66px}
body[data-tour276-stage="workshop"] .tour275-work-item .selected-item h2{font-size:20px;margin:3px 0}
body[data-tour276-stage="workshop"] .tour275-work-item .selected-item strong{font-size:14px}
body[data-tour276-stage="workshop"] .tour275-work-item .selected-item strong .kg-icon{width:22px;height:22px;vertical-align:middle}
body[data-tour276-stage="workshop"] .tour275-work-quote h2{font-size:17px!important;margin:0 0 4px!important}
body[data-tour276-stage="workshop"] .tour275-work-quote h2 .kg-icon{width:23px;height:23px}
body[data-tour276-stage="workshop"] .tour275-work-quote .step-transition{padding:4px 0!important;margin:0!important;min-height:0!important;gap:10px}
body[data-tour276-stage="workshop"] .tour275-work-quote .step-transition b{font-size:24px!important}
body[data-tour276-stage="workshop"] .tour275-work-quote .step-transition :is(img,.kg-icon){width:28px!important;height:28px!important}
body[data-tour276-stage="workshop"] .work-changes194 .ic-property{min-height:28px!important;padding:5px 0!important;font-size:14px!important}
body[data-tour276-stage="workshop"] .work-changes194 :is(dt,dd){font-size:14px!important}
body[data-tour276-stage="workshop"] .work-changes194 .kg-icon{width:23px!important;height:23px!important}
body[data-tour276-stage="workshop"] .tour275-work-quote p{font-size:13px!important;line-height:1.25!important;margin:4px 0 0!important}
body[data-tour276-stage="workshop"] .tour275-work-quote .positive{color:#225a32}
body[data-tour276-stage="workshop"] .mat-costs{display:grid;grid-template-columns:1fr 1fr;gap:6px 15px}
body[data-tour276-stage="workshop"] .mat-costs>div{font-size:13px!important;padding:3px 0!important;min-height:0!important;gap:6px}
body[data-tour276-stage="workshop"] .mat-costs :is(strong,small){font-size:13px!important}
body[data-tour276-stage="workshop"] .mat-costs .kg-icon{width:23px!important;height:23px!important}
body[data-tour276-stage="workshop"] .work-content>.sw-panel:last-child p{font-size:12px!important;line-height:1.25;margin:0!important}
/* Keep all base stats above the actual action dock, including on short phones. */
body[data-tour276-stage] :is(#game-header,#game-footer,#game-top-brand){display:none!important}
body[data-tour276-stage] .item-heading .item-summary{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;align-content:start!important;gap:4px 6px!important}
body[data-tour276-stage] .item-summary>.item-quality,body[data-tour276-stage] .item-summary>h2{grid-column:1 / -1}
body[data-tour276-stage] .item-heading .item-portrait{align-self:start;height:auto!important}
body[data-tour276-stage] .item-heading .item-personal217{grid-column:1;grid-row:3;margin:0!important;padding:0!important;min-height:0!important;font-size:12px!important}
body[data-tour276-stage] .item-heading .item-personal217 summary{gap:4px!important;min-height:20px!important;font-size:12px!important;line-height:1.2!important;padding:0!important;margin:0!important}
body[data-tour276-stage] .item-heading .item-personal217 img{width:20px!important;height:20px!important}
body[data-tour276-stage] .item-heading .item-location{grid-column:1;grid-row:4;margin:0!important;padding:0!important;line-height:1.2!important}
body[data-tour276-stage] .item-heading .item-power{grid-column:2;grid-row:3 / 5;margin:0!important;align-self:center}
body[data-tour276-stage="item"] #modal .ic-ui[data-item-context="equipped"] .ic-dock{display:none!important}
body[data-tour276-stage="workshop"] .tour276-upgrade{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 6px}
body[data-tour276-stage="workshop"] .tour276-upgrade h2{display:flex!important;align-items:center;gap:7px;margin:0!important;font-size:18px!important}
body[data-tour276-stage="workshop"] .tour276-upgrade strong{font-size:26px;line-height:1.2;white-space:nowrap;color:#244e30}
body[data-tour276-stage="workshop"] .tour276-upgrade i{font-style:normal;color:#9b763b;font-size:22px;margin:0 4px}

/* The item name already titles this lesson; remove the duplicate window bar only here. */
body[data-tour276-stage="item"] #modal .ic-scroll>.sw-head,
body[data-tour276-stage="item"] #main .shop-content:has(.ic-detail)>.sw-head{display:none!important}
/* The real training form scrolls within its reserved pane; confirmation stays inside it. */
body[data-tour276-stage="training"] #modal .hero-native{position:static!important;height:100%!important;max-height:100%!important;min-height:0!important;overflow:auto!important;overscroll-behavior:contain;box-sizing:border-box;padding-bottom:58px!important}
body[data-tour276-stage="training"] #modal .hm-head{grid-template-columns:28px minmax(0,1fr) 32px 32px!important;padding:6px 8px!important;min-height:0!important}
body[data-tour276-stage="training"] #modal .hm-head h2{font-size:18px!important}
body[data-tour276-stage="training"] #modal .hm-head>.kg-icon{width:28px!important;height:28px!important}
body[data-tour276-stage="training"] #modal .hm-head .kg-round{width:32px!important;height:32px!important;min-height:32px!important}
body[data-tour276-stage="training"] #modal .sw-balance-panel{padding:8px 12px!important;margin:5px 0!important}
body[data-tour276-stage="training"] #modal .sw-balance{gap:12px!important;min-height:0!important}
body[data-tour276-stage="training"] #modal .sw-balance>.kg-icon{width:40px!important;height:40px!important}
body[data-tour276-stage="training"] #modal .sw-balance strong{font-size:27px!important;line-height:1.1!important}
body[data-tour276-stage="training"] #modal .sw-balance small{font-size:11px!important;line-height:1.2!important}
body[data-tour276-stage="training"] #modal #apply-training{position:absolute!important;z-index:20;left:10px!important;right:10px!important;bottom:8px!important;width:calc(100% - 20px)!important;margin:0!important;min-height:44px!important;padding:10px 12px!important;font-size:16px!important;box-shadow:0 -5px 0 #e8d7b9}
body[data-tour276-stage="training"] #modal #apply-training:disabled{display:none!important}
body[data-tour276-stage="training"] #modal #apply-training+.hm-note{display:none!important}
/* Context is part of the lesson: portrait, selected mission, comparison and loot. */
body[data-tour276-stage="hero"] #main{overflow:hidden!important}
body[data-tour276-stage="hero"] #main .hg-page,body[data-tour276-stage="hero"] #main .hg-content{height:100%!important;min-height:0!important;box-sizing:border-box}
body[data-tour276-stage="hero"] #main .hg-content{display:flex!important;align-items:center;justify-content:center;padding:8px!important}
body[data-tour276-stage="hero"] #main .hg-content>:not(.hg-stage){display:none!important}
body[data-tour276-stage="hero"] #main .hg-stage{width:100%!important;max-width:min(100%,calc((var(--tour276-scene-height) - 24px) * .86))!important;margin:0!important;box-sizing:border-box;flex:none!important}
body[data-tour276-stage="hero"] #main .hg-background-button{visibility:hidden!important}
body[data-tour276-stage="mission"] #main .st-screen{display:flex!important;align-items:center;justify-content:center;height:100%;box-sizing:border-box;padding:8px}
body[data-tour276-stage="mission"] #main .st-screen>:not(#street-card){display:none!important}
body[data-tour276-stage="mission"] #main #street-card{width:100%;max-height:100%;overflow:auto}
body[data-tour276-stage="mission"] #main .st-mission{margin:0;padding:14px!important}
body[data-tour276-stage="mission"] #main .st-mission-heading h2{font-size:24px!important;line-height:1.15!important}
body[data-tour276-stage="mission"] #main .st-enemy{width:76px;flex:0 0 76px}
body[data-tour276-stage="mission"] #main .st-enemy-image{width:100%;height:92px;object-fit:contain}
body[data-tour276-stage="mission"] #main .st-prepare{min-height:44px;font-size:17px!important;line-height:1.2!important;padding:10px!important}
body[data-tour276-stage="comparison"] #modal .prep-ui{height:100%!important;max-height:100%!important;min-height:0!important;display:grid!important;grid-template-rows:minmax(0,1fr) auto!important}
body[data-tour276-stage="comparison"] #modal .prep-scroll{display:flex!important;flex-direction:column;padding:6px!important;gap:7px!important;min-height:0!important;overflow:auto!important;flex:initial!important}
body[data-tour276-stage="comparison"] #modal .prep-scroll>:not(.prep-title):not(.prep-intel){display:none!important}
body[data-tour276-stage="comparison"] #modal .prep-title{margin:0!important;padding:3px 6px!important}
body[data-tour276-stage="comparison"] #modal .prep-title h2{font-size:19px!important;line-height:1.2!important;margin:3px 0!important}
body[data-tour276-stage="comparison"] #modal .prep-title small{font-size:11px!important}
body[data-tour276-stage="comparison"] #modal .prep-intel{padding:10px!important;margin:0!important}
body[data-tour276-stage="comparison"] #modal .prep-intel h3{font-size:18px!important;line-height:1.2!important;margin:0 0 8px!important}
body[data-tour276-stage="comparison"] #modal .comparison-head,body[data-tour276-stage="comparison"] #modal .comparison-row{grid-template-columns:minmax(0,1.35fr) repeat(3,minmax(0,.7fr))!important;gap:4px!important;font-size:12px!important;padding:5px 0!important}
body[data-tour276-stage="comparison"] #modal .comparison-row{min-height:40px!important}
body[data-tour276-stage="comparison"] #modal .comparison-row :is(dt,dd){font-size:13px!important;line-height:1.2!important;gap:4px!important}
body[data-tour276-stage="comparison"] #modal .comparison-row .kg-icon{width:23px!important;height:23px!important;flex:0 0 23px!important}
body[data-tour276-stage="comparison"] #modal .prep-note{font-size:12px!important;line-height:1.3!important;margin:6px 0!important}
body[data-tour276-stage="comparison"] #modal .prep-forecast{font-size:12px!important;margin:6px 0!important;padding:7px 0!important}
body[data-tour276-stage="comparison"] #modal .prep-forecast b{font-size:20px!important;line-height:1.2!important}
body[data-tour276-stage="comparison"] #modal .prep-dock{padding:6px 9px!important;gap:4px!important}
body[data-tour276-stage="comparison"] #modal .prep-dock>.kg-button{padding:10px!important;min-height:44px!important;font-size:16px!important;line-height:1.2!important}
body[data-tour276-stage="rewards"] #modal .common-result{height:auto!important;max-height:100%!important;min-height:0!important;box-sizing:border-box}
body[data-tour276-stage="rewards"] #modal .result-scroll145{flex:0 1 auto!important;padding:6px!important;gap:0!important}
body[data-tour276-stage="rewards"] #modal .result-scroll145>:not([data-result-rewards]){display:none!important}
body[data-tour276-stage="rewards"] #modal [data-result-rewards]{padding:6px!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important}
body[data-tour276-stage="rewards"] #modal [data-result-rewards]>:is(.kg-surface,.kg-frame){display:none!important}
body[data-tour276-stage="rewards"] #modal [data-result-rewards] .section-head{gap:6px;margin-bottom:6px!important}
body[data-tour276-stage="rewards"] #modal [data-result-rewards] h3{font-size:17px!important;line-height:1.2!important;margin:4px 0 8px!important}
body[data-tour276-stage="rewards"] #modal .section-head .pill{font-size:10px!important;padding:3px 5px!important;white-space:nowrap}
body[data-tour276-stage="rewards"] #modal .currency-reward{display:flex!important;flex-direction:column;align-items:center;gap:3px!important;padding:3px 0!important}
body[data-tour276-stage="rewards"] #modal .currency-reward>span{height:30px!important;line-height:1!important;font-size:24px!important}
body[data-tour276-stage="rewards"] #modal .currency-reward>span img{width:28px!important;height:28px!important;object-fit:contain}
body[data-tour276-stage="rewards"] #modal .currency-reward b{font-size:20px!important;line-height:1.2!important}
body[data-tour276-stage="rewards"] #modal .currency-reward small{font-size:12px!important;line-height:1.2!important}
body[data-tour276-stage="rewards"] #modal .reward-loot-grid{grid-template-columns:minmax(0,1fr)!important;gap:6px!important}
body[data-tour276-stage="rewards"] #modal .reward-loot{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;gap:4px 10px!important;padding:9px 0 0!important;text-align:left!important;min-width:0;align-items:start;background:none!important;box-shadow:none!important;border:0!important;border-top:1px solid #b99a69!important;border-radius:0!important}
body[data-tour276-stage="rewards"] #modal .reward-loot>.equipment-visual{grid-column:1;grid-row:1 / 5;width:72px!important;max-width:72px!important;margin:0!important}
body[data-tour276-stage="rewards"] #modal .reward-loot>:not(.equipment-visual){grid-column:2;margin:0!important}
body[data-tour276-stage="rewards"] #modal .reward-loot .loot-rarity{font-size:11px!important;line-height:1.2!important}
body[data-tour276-stage="rewards"] #modal .reward-loot strong{font-size:18px!important;line-height:1.15!important}
body[data-tour276-stage="rewards"] #modal .reward-loot small{font-size:12px!important;line-height:1.25!important}
body[data-tour276-stage="rewards"] #modal .reward-loot .loot-properties{font-size:11px!important;line-height:1.3!important}
body[data-tour276-stage="rewards"] #modal .reward-loot em{display:none!important}
body[data-tour276-stage="rewards"] #modal [data-result-continue]{padding:10px!important;min-height:44px!important;font-size:16px!important;line-height:1.2!important}
/* WebKit must size the whole preparation grid inside the reserved pane. */
body[data-tour276-stage="comparison"] #modal .prep-ui{box-sizing:border-box!important;padding:0!important;margin:0!important;overflow:hidden!important}
body[data-tour276-stage="comparison"] #modal .prep-scroll,body[data-tour276-stage="comparison"] #modal .prep-dock{box-sizing:border-box!important}
body[data-tour276-stage="comparison"] #modal .prep-dock>.kg-button .kg-icon{width:24px!important;height:24px!important}
@media(max-height:740px){
 body[data-tour276-stage="comparison"] #modal .prep-intel{padding:8px!important}
 body[data-tour276-stage="comparison"] #modal .prep-intel h3{margin-bottom:5px!important}
 body[data-tour276-stage="comparison"] #modal .comparison-head,body[data-tour276-stage="comparison"] #modal .comparison-row{padding:4px 0!important}
 body[data-tour276-stage="comparison"] #modal .comparison-row{min-height:34px!important}
 body[data-tour276-stage="comparison"] #modal .prep-note{margin:3px 0!important}
 body[data-tour276-stage="comparison"] #modal .prep-forecast{padding:4px 0!important;margin:4px 0!important}
}
