/* Blip growth (drone-v2). Fixed layout, no scroll: every block is flex:none except
   the star list, which shares the leftover height. Motion is transform/opacity only. */
.scout-view #content{padding:8px 12px 6px;gap:7px;overflow:hidden}
.drone-panel{flex:1;min-height:0;display:flex;flex-direction:column;gap:7px;color:var(--navy-600)}
.drone-panel.is-locked{justify-content:center;text-align:center;color:var(--cream-350)}
.drone-hero{position:relative;flex:none;height:118px;border:3px solid #c4a268;border-radius:20px;overflow:hidden;background:#26405c;box-shadow:0 4px #101c2d55}
.drone-hero-scene{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 58%}
.drone-hero::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#10203500 30%,#102035b8 78%);pointer-events:none}
.drone-hero-blip{position:absolute;left:6%;top:50%;width:84px;height:84px;margin-top:-46px;object-fit:contain;z-index:1;filter:drop-shadow(0 5px 7px #0007);animation:drone-hover 3.2s ease-in-out infinite}
@keyframes drone-hover{0%,100%{transform:translateY(2px) rotate(-2deg)}50%{transform:translateY(-3px) rotate(2deg)}}
.drone-hero-copy{position:absolute;right:52px;top:50%;transform:translateY(-50%);z-index:1;display:flex;flex-direction:column;align-items:flex-end;gap:3px;text-align:right;color:var(--cream-200)}
.drone-hero-copy small{font:800 11px/1.1 system-ui;letter-spacing:1.5px;text-transform:uppercase;color:var(--gold-100);filter:drop-shadow(0 1px 2px #0009)}
.detail-view #content .drone-hero-copy h1,.drone-hero-copy h1{margin:0;font:32px/1 Lucky,system-ui;color:var(--cream-200);filter:drop-shadow(0 2px #1b263e) drop-shadow(0 0 8px #0008)}
.drone-hero .help-button{position:absolute;right:4px;top:4px;z-index:2}
.drone-stats{flex:none;display:flex;align-items:stretch;gap:7px}
.drone-level-box{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:1px;padding:7px 12px;background:linear-gradient(120deg,var(--card-face),#eed7a9);border:3px solid #b79e71;border-radius:17px}
.drone-level{display:block;font:28px/1.05 Lucky,system-ui;color:var(--navy-600);transform-origin:left center}
.drone-pulse{font:800 15px/1.2 system-ui;color:#35536a}
.drone-level-box small{font:700 11px/1.2 system-ui;color:#7b6a48}
.drone-wallet{flex:none;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:6px 10px;background:#1c2d45;border:3px solid #5e7086;border-radius:17px;color:var(--cream-350)}
.drone-wallet span{display:flex;align-items:center;gap:6px;font:800 16px/1 system-ui}
.drone-wallet b{min-width:3ch;text-align:right;transform-origin:right center}
.drone-coin,.drone-core{width:26px;height:26px;object-fit:contain;flex:none}
.drone-core-inline{width:18px;height:18px;object-fit:contain;vertical-align:-4px;margin-right:2px}
.drone-core-mark{display:inline-flex;flex:none}.drone-core-mark svg{width:100%;height:100%;display:block}
.drone-upgrade{flex:none;display:grid;grid-template-columns:1fr 1fr;gap:8px;min-height:62px}
.drone-upgrade.is-capped{grid-template-columns:1fr}
.drone-upgrade .secondary,.drone-actions .secondary{width:100%;min-height:52px;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:6px 8px;font-size:18px;line-height:1.05}
.drone-upgrade .button-label,.drone-actions .button-label{white-space:nowrap}
.drone-cost{display:flex;align-items:center;justify-content:center;gap:3px;font:800 13px/1 system-ui;color:#fff;filter:drop-shadow(0 1px #1b263e);-webkit-text-stroke:0}
.drone-cost img{width:18px;height:18px;object-fit:contain}
.drone-cap-note{margin:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:8px 12px;border:3px dashed #c4a268;border-radius:17px;background:#2a3f5b;color:var(--gold-100);font:800 15px/1.2 system-ui}
/* AB23 (build 40): every star row is a full-width button (>=44px) that opens its perk
   preview. The rows share the list height, so the tap targets meet edge to edge. */
.drone-stars{flex:1 1 auto;min-height:0;margin:0;padding:3px 6px;list-style:none;display:flex;flex-direction:column;justify-content:space-evenly;gap:0;background:linear-gradient(120deg,var(--card-face),#eed7a9);border:3px solid #b79e71;border-radius:17px;overflow:hidden}
.drone-star-item{flex:1 1 0;min-height:44px;max-height:58px;display:flex}
.drone-star-row{position:relative;isolation:isolate;flex:1;width:100%;min-width:0;min-height:44px;margin:0;border:0;background:none;display:grid;grid-template-columns:40px minmax(0,1fr) auto 10px;align-items:center;gap:8px;padding:2px 4px 2px 4px;border-radius:10px;font:700 14px/1.15 system-ui;color:#3f4b58;text-align:left;transition:transform .12s}
/* The tinted face sits 2px inside the 44px target, so neighbouring faces keep the
   F05 4px clearance (layout-gate.mjs reads a painted ::before minus its insets). */
.drone-star-row::before{content:'';position:absolute;inset:2px 0;z-index:-1;border-radius:10px;background:var(--drone-row-bg,transparent)}
.drone-star-row:active{transform:scale(.98)}
.drone-star-more{font:900 18px/1 system-ui;color:#9a8762;justify-self:end}
.drone-star-row.is-active{--drone-row-bg:#e5f4d7;color:#26502e}
.drone-star-row.is-next{--drone-row-bg:#ffe9b0;color:#4b3a1d}
.drone-star-row.is-locked{opacity:.72}
.drone-star-badge{display:inline-flex;align-items:center;justify-content:center;height:24px;border-radius:var(--vs-radius);background:#4c465d;color:#ffd96b;font:800 13px/1 system-ui}
.drone-star-row.is-active .drone-star-badge{background:#3f8d4c;color:var(--shine-100)}
.drone-perk-name{min-width:0;display:flex;flex-direction:column;overflow:hidden;text-overflow:ellipsis}
.drone-perk-soon{font:700 10px/1.1 system-ui;color:#7b6a48}
/* b148 AC707: a ★6–★10 row's change, numbers only (the words are in its sheet). */
.drone-perk-delta{font:800 11px/1.15 system-ui;color:#6b5a3a;white-space:nowrap}
.drone-perk-state{display:flex;align-items:center;gap:2px;white-space:nowrap;font:800 12px/1 system-ui}
.drone-perk-state.is-on{color:#2f7a3c}
.drone-actions{flex:none;display:grid;grid-template-columns:1fr 1fr;gap:8px}
/* The warm face of a ready purchase (same tokens as the Chests key draw). */
#online .drone-actions .secondary.is-ready:not(:disabled),#modal .equipment-actions .secondary.is-ready:not(:disabled){--small-top:var(--btn-commit-top);--small-bottom:var(--btn-commit-bottom);--small-edge:var(--btn-commit-edge);--small-lip:var(--btn-commit-lip);--small-shine:var(--btn-commit-shine)}
/* Star pips: 5 small antenna dots. */
.drone-pips{display:inline-flex;gap:3px;align-items:center}
.drone-pips i,.drone-pip-static{display:inline-block;width:10px;height:10px;border-radius:50%;background:#3a4a60;border:1.5px solid #1b263e;box-shadow:inset 0 1px #fff3}
.drone-pips i.is-on,.drone-pip-static.is-on{background:radial-gradient(circle at 35% 30%,var(--gold-50),#ffcf3f 55%,#e59a18);border-color:#6d4515}
.drone-hero-pips i{width:12px;height:12px}
/* b148 AC707: stars 6–10 repaint the five pips in the collection high-tier pink. */
.drone-pips i.is-on.is-high{background:radial-gradient(circle at 35% 30%,#ffd6e1,#ff6f93 55%,#e2325f);border-color:#8a1838}
.drone-home-hit{position:absolute;left:calc(69% - 6px);bottom:calc(46% - 18px);width:56px;height:66px;padding:0;margin:0;border:0;background:none;display:flex;align-items:flex-end;justify-content:center;z-index:3;-webkit-tap-highlight-color:transparent}
/* Home Patrol "!": the top-right corner of Blip's visible face, like other badges. The
   56px hit box runs under the event rail, so the badge sits 13px inside its edge
   (clear of the rail and of the hero at every profile). */
.drone-home-hit>.attention-badge.attention-scout{top:-4px;right:13px}
/* b133 AC655: Equipment's Blip carries the same "!" as Home's (the hit box hugs the painted Blip, 8px padding). */
.drone-eq-hit>.attention-badge.attention-scout{top:2px;right:2px}
/* Star-up confirm and receipt. */
/* Star-up dialog (U08, build 31): a reward moment. Motion is transform/opacity only. */
.drone-star-modal{text-align:center}
.drone-star-modal h1{margin:0 0 6px}
.drone-star-stage{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;margin:0 0 9px;padding:8px 6px 10px;border:3px solid #c4a268;border-radius:18px;background:radial-gradient(circle at 50% 36%,#3f6f93,#1d3350 74%);box-shadow:inset 0 2px #ffffff2e,0 3px #10203555;overflow:hidden;isolation:isolate}
.drone-star-rays{position:absolute;z-index:-1;left:50%;top:36%;width:300px;height:300px;margin:-150px 0 0 -150px;border-radius:50%;background:repeating-conic-gradient(#ffe7a02e 0 8deg,transparent 8deg 22deg);-webkit-mask-image:radial-gradient(circle,#000 18%,transparent 66%);mask-image:radial-gradient(circle,#000 18%,transparent 66%);pointer-events:none}
.drone-star-blip{width:72px;height:72px;object-fit:contain;filter:drop-shadow(0 4px 6px #0008)}
.drone-star-checks{list-style:none;margin:0 0 8px;padding:0;display:flex;flex-direction:column;gap:6px;text-align:left}
.drone-req{display:grid;grid-template-columns:34px minmax(0,1fr) 24px;align-items:center;gap:9px;padding:6px 9px;border:2px solid #d6bd86;border-radius:14px;background:var(--cream-200)}
.drone-req-icon{display:grid;place-items:center;width:34px;height:34px;border:2px solid #0f1a2c;border-radius:50%;background:#1f3551}
.drone-req-icon>svg{width:19px;height:19px;fill:#ffd45a}
.drone-req-icon .drone-req-core{width:26px;height:26px}
.drone-req-body{min-width:0}
.drone-req-body b{display:block;font:800 14px/1.2 system-ui;color:#2d3a48}
.drone-req-bar{display:block;height:9px;margin-top:4px;border:1.5px solid #b89d68;border-radius:6px;background:#e9dab6;overflow:hidden}
.drone-req-bar i{display:block;height:100%;border-radius:4px;background:linear-gradient(#9ae6f4,#2fb2d4);transform-origin:left center;transform:scaleX(var(--fill,0))}
.drone-req.is-ok{border-color:#9cc47a;background:#f1fae4}
.drone-req.is-missing{grid-template-columns:34px minmax(0,1fr)}
.drone-req.is-ok .drone-req-bar i{background:linear-gradient(#bfec8a,#58b43f)}
.drone-req-state{display:grid;place-items:center;width:24px;height:24px;border:2px solid #8a3a26;border-radius:50%;background:#df6f55;color:#fff;font:900 12px/1 system-ui}
.drone-req.is-ok .drone-req-state{border-color:#2f6a24;background:#5fb548}
.drone-star-modal h2{margin:2px 0 6px;font-size:19px}
.drone-unlock-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:92px minmax(0,1fr);gap:7px;text-align:left}
.drone-unlock-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;padding:8px 6px;border:2px solid #9cc47a;border-radius:14px;background:linear-gradient(#f4fbe9,#dcefc6);box-shadow:0 2px #9cc47a;text-align:center}
.drone-unlock-card.is-perk{flex-direction:row;justify-content:flex-start;gap:8px;padding:8px 9px;border-color:#e0b25a;background:linear-gradient(#fff9df,var(--gold-100));box-shadow:0 2px #d19a3a;text-align:left}
.drone-unlock-cards>.drone-unlock-card:only-child{grid-column:1/-1}
.drone-unlock-icon{position:relative;flex:none;display:grid;place-items:center;width:36px;height:36px;border:2px solid #25542d;border-radius:50%;background:#3f8d4c}
.drone-unlock-icon svg{width:21px;height:21px;fill:var(--shine-100)}
.is-perk .drone-unlock-icon{width:42px;height:42px;border:0;background:none}
.is-perk .drone-unlock-icon svg{width:42px;height:42px;fill:#ffc93a;stroke:#6d4515;stroke-width:1.5;stroke-linejoin:round}
.is-perk .drone-unlock-icon em{position:absolute;inset:0;display:grid;place-items:center;padding-top:3px;font:900 13px/1 system-ui;font-style:normal;color:#6d4515}
/* V19 (build 33): invisible tap target over the canvas-painted Blip on Equipment. */
.drone-eq-hit{position:absolute;left:0;top:0;z-index:3;min-width:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:50%;background:none;pointer-events:auto;cursor:pointer;-webkit-tap-highlight-color:transparent}
.drone-eq-hit[hidden]{display:none}
.drone-eq-hit:focus-visible{outline:3px solid #ffd45a;outline-offset:2px}
/* V12 (build 33): generated game-style icons (drone-icons-v1) replace the badge circles. */
.drone-core-mark>img{width:100%;height:100%;object-fit:contain;display:block}
.drone-req-icon{border:0;border-radius:0;background:none}
.drone-req-icon>img,.drone-req-icon .drone-req-core{width:34px;height:34px;object-fit:contain;display:block}
.drone-unlock-icon{width:44px;height:44px;border:0;border-radius:0;background:none}
.drone-unlock-icon>img{width:44px;height:44px;object-fit:contain;display:block}
.is-perk .drone-unlock-icon{width:44px;height:44px}
.is-perk .drone-unlock-icon em{padding-top:5px;font-size:15px;color:#5a340c;filter:drop-shadow(0 1px 0 #ffe9a0)}
.drone-unlock-card b{font:800 14px/1.2 system-ui;color:#2d3a48}
.drone-unlock-copy{min-width:0}
.drone-unlock-copy small{display:block;margin-top:2px;font:600 12px/1.25 system-ui;color:#5a4c33}
.drone-unlock-copy .drone-unlock-soon{display:inline;margin:0;font:700 11px/1 system-ui;color:#8a6a2a}
#modal:has(.drone-star-modal) .equipment-actions{grid-template-columns:minmax(0,2fr) minmax(0,3fr)}
/* AC907 (build 226 feedback, owner: "Daj te dwa buttony w jednej linii"): Patrol Log Close and Claim all share one
   row, Close left, Claim all right, both on the full 56px/24px footer tier; the action takes the wider column. */
#modal:has(.drone-patrol)>.equipment-actions{grid-template-columns:minmax(0,2fr) minmax(0,3fr)}
#modal .equipment-actions .secondary.drone-star-go{font-size:22px}
@media(max-height:720px){.drone-star-blip{width:56px;height:56px}.drone-star-stage .star-row{--sr:30px}.drone-star-stage{padding:6px 6px 8px;margin-bottom:7px}}
@media(prefers-reduced-motion:no-preference){
 .drone-star-modal:not(.is-receipt) .drone-req-bar i{animation:drone-req-fill .55s .12s var(--ease-out) both}
}
@keyframes drone-req-fill{from{transform:scaleX(0)}}
/* b133 AC656: the stars are the shared uiStarRow (5 sockets); the confirm sheet's next socket glows. The receipt's
   celebration (droneStarCelebrate) times Blip's pop, the light burst born behind Blip, the new star's slam with its ring and
   sparks, the cards and Close with Web Animations; without motion everything below is the end state. */
.drone-star-stage>.star-row,.drone-star-pop{position:relative;z-index:1}
.drone-star-stage .star-slot.is-next .star-socket-rim{background:#ffbf3a;filter:drop-shadow(0 0 4px #ffd45acc)}
.drone-star-stage .star-slot.is-next .star-socket-hole{background:radial-gradient(circle at 50% 70%,#a8743a 0,#6e4524 60%,#432817 100%)}
@media(prefers-reduced-motion:no-preference){.drone-star-stage .star-slot.is-next .star-socket{animation:drone-next-beat 1.4s ease-in-out infinite alternate}}
@keyframes drone-next-beat{from{transform:scale(.94)}to{transform:scale(1.08)}}
.drone-star-stage.is-receipt-stage{padding-top:30px;gap:10px}
.drone-star-stage.is-receipt-stage .drone-star-blip{width:72px;height:72px}
.drone-star-clip{z-index:0;border-radius:inherit}
#modal .drone-star-aura{position:absolute;inset:auto;left:50%;top:66px;width:72px;height:72px;translate:-50% -50%;--lb-size:440%;--lb-blend:screen;--lb-tint:#ffd36a;--lb-delay:.2s}
.drone-star-pop{display:block;line-height:0;transform-origin:50% 72%}
.drone-star-impact{position:absolute;z-index:2;left:50%;top:80%;width:0;height:0;pointer-events:none}
.drone-star-impact>b{position:absolute;left:-26px;top:-26px;width:52px;height:52px;border:3px solid var(--shine-100);border-radius:50%;box-shadow:0 0 10px 3px #ffd45a99,inset 0 0 8px 2px #ffd45a77;opacity:0}
.drone-star-impact>i{position:absolute;left:-3px;top:-6px;width:6px;height:12px;border-radius:3px;background:linear-gradient(#fffbe0,#ffcf4a);box-shadow:0 0 4px #ffd45acc;opacity:0}
@media(max-height:720px){.drone-star-stage.is-receipt-stage{padding-top:24px}.drone-star-stage.is-receipt-stage .drone-star-blip{width:64px;height:64px}#modal .drone-star-aura{top:56px;width:64px;height:64px}}
/* Patrol Log. */
/* AB15 (build 39): Blip + title are one optically centered group. The h1 box is
   trimmed to the cap band (text-box), so align-items centers the icon on the
   letters rather than on the taller line box; the icon then lifts by the offset
   of Blip's head inside core.png (head centre at ~61% of the canvas because of
   the antenna), so the face, not the antenna tip, sits on the cap midline. */
.drone-patrol header{position:relative;padding-right:40px;display:flex;align-items:center;justify-content:center;gap:10px;margin:4px 0 12px}
/* `#modal h1` adds margin-bottom:8px (ID specificity), which pushed the title up off the
   icon axis; this rule must outrank it. */
#modal .drone-patrol h1{margin:0;line-height:1;text-box:trim-both cap alphabetic}
.drone-patrol-core{width:34px;height:34px;object-fit:contain;transform:translateY(-11%)}
.drone-task-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.drone-task,.drone-weekly{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px 10px;border:2px solid #b79e71;border-radius:14px;background:var(--cream-200)}
.drone-task.is-ready,.drone-weekly.is-ready{background:var(--gold-50);border-color:#e0a93a}
.drone-task.is-claimed,.drone-weekly.is-claimed{opacity:.7}
.drone-task>div,.drone-weekly>div{min-width:0;display:flex;flex-direction:column;gap:3px}
.drone-task strong,.drone-weekly strong{font:800 15px/1.15 system-ui}
.drone-task small,.drone-weekly small{font:700 12px/1.2 system-ui;color:#6b5a3a}
/* AC244 supersedes AB22: the Tasks action tier in every Patrol state. */
#modal .drone-task .secondary,#modal .drone-weekly .secondary{margin:0;box-sizing:border-box;width:88px;min-width:88px;max-width:88px;height:44px;min-height:44px;max-height:44px;padding:4px 6px;display:flex;align-items:center;justify-content:center;gap:3px;font-size:16px}
/* AC282: center the star on the visible letter band, not the text baseline. */
:is(#online,#modal) button>.drone-star-label{display:flex;align-items:center;justify-content:center;gap:.16em;line-height:1}
.drone-button-copy{white-space:pre;text-box:trim-both cap alphabetic}
.drone-button-star{display:block;flex:none;width:1em;height:1em;object-fit:contain;transform:translateY(.08em)}
@supports(text-box:trim-both cap alphabetic){.drone-button-star{transform:none}}

.drone-meter{display:block;height:8px;border-radius:5px;background:var(--navy-600);overflow:hidden}
.drone-meter i{display:block;height:100%;background:linear-gradient(#bfec73,#68b349);transform-origin:left center}
.drone-patrol-note{display:block;margin:6px 2px;font:700 12px/1.3 system-ui;color:#6b5a3a;text-align:center}
.drone-week{display:flex;gap:4px}
.drone-week i{width:18px;height:10px;border-radius:3px;background:#cfc2a2;border:1px solid #8b7a55}
.drone-week i.is-on{background:linear-gradient(#bfec73,#68b349);border-color:#3e7a37}
.drone-help p{font-size:15px}
@media(max-height:720px){
 .detail-view #content .drone-hero-copy h1,.drone-hero-copy h1{font-size:27px}
 .drone-level{font-size:23px}.drone-pulse{font-size:14px}
 .drone-upgrade{min-height:54px}.drone-upgrade .secondary,.drone-actions .secondary{min-height:48px;font-size:17px}
 .drone-star-row{font-size:13px}
 .drone-hero{height:96px}.drone-hero-blip{width:70px;height:70px;margin-top:-38px}
 /* AB23: room for five 44px perk rows at 375x667 (gaps, stats and upgrade padding). */
 .drone-panel,.scout-view #content{gap:4px}
 .drone-level-box{padding:3px 12px}.drone-wallet{padding:3px 10px}
 .drone-stars{padding:1px 6px;border-width:2px}
}
/* AB23: perk preview (fixed, no scroll). */
.drone-perk-modal{text-align:center}
.drone-perk-modal header{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 0 4px}
.drone-perk-modal header .drone-star-badge{flex:none;min-width:44px;padding:0 8px}
#modal .drone-perk-modal h1{margin:0;font-size:28px;line-height:1.05}
.drone-perk-status{margin:0 0 10px;font:800 14px/1.2 system-ui;color:#6b5a3a}
.drone-perk-modal.is-active .drone-perk-status{color:#2f7a3c}
.drone-perk-modal.is-active .drone-star-badge{background:#3f8d4c;color:var(--shine-100)}
.drone-perk-effect{display:flex;align-items:center;gap:10px;padding:10px 12px;border:2px solid #e0b25a;border-radius:14px;background:linear-gradient(#fff9df,var(--gold-100));box-shadow:0 2px #d19a3a;text-align:left}
.drone-perk-effect .drone-unlock-icon{width:44px;height:44px;border:0;background:none}
.drone-perk-effect .drone-unlock-icon em{position:absolute;inset:0;display:grid;place-items:center;padding-top:5px;font:900 15px/1 system-ui;font-style:normal;color:#5a340c;filter:drop-shadow(0 1px 0 #ffe9a0)}
.drone-perk-effect p{margin:0;min-width:0;font:700 15px/1.3 system-ui;color:#2d3a48}
.drone-perk-effect small{display:block;margin-bottom:2px;font:800 11px/1.1 system-ui;letter-spacing:.5px;text-transform:uppercase;color:#8a6a2a}
.drone-perk-modal h2{margin:12px 0 6px;font-size:19px}
.drone-perk-facts{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px;text-align:left}
.drone-perk-fact{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:40px;padding:4px 10px;border:2px solid #c9b68e;border-radius:var(--vs-radius);background:var(--cream-200)}
.drone-perk-fact.is-ok{border-color:#9cc47a;background:#eef8e2}
.drone-perk-fact b{font:800 14px/1.2 system-ui;color:#2d3a48}
.drone-perk-fact-icon{display:grid;place-items:center;width:30px;height:30px}
.drone-perk-fact-icon img,.drone-perk-fact-icon .drone-core-mark{width:28px;height:28px;object-fit:contain}
.drone-perk-fact-icon .drone-core-mark img{width:28px;height:28px}
.drone-perk-fact-ok{font:900 16px/1 system-ui;color:#2f7a3c}
@media(prefers-reduced-motion:reduce){.drone-star-row{transition:none}.drone-hero-blip{animation:none}}
body:has(#modal[open]) .drone-hero-blip{animation-play-state:paused}
/* Build 42 (layout gate): at 375 px the Blip tap target came within 1.8 px of the Home
   event rail; Blip and its target sit 6 px further left on narrow phones. */
@media (max-width:380px){.home-scout{left:calc(69% - 6px)}.drone-home-hit{left:calc(69% - 12px)}}
/* AC53 (build 53): the Upgrade price has no chip, so it centres in the face with a
   smaller bottom lift (shared rule in story-ui.css, gate PRICE_FACE). */
.drone-upgrade .secondary{--price-face-pad:9px}
/* AC631: the two-row Upgrade face (label + coin price) read 0.7–1.1px low; its content shifts more than the lip shift.
   Half a px was not enough: it still measured 0.67px (375px) to 1.1px (393px) low, so the extra shift is 1px. */
:is(#online,#modal,#error) .drone-upgrade button.secondary{--face-shift:calc(var(--face-lip,0px) / -2 - 1px)}
/* AC128 (build 56): a ★ in Blip copy is gold, with a thin dark outline so it reads on cream and on dark buttons. */
.drone-star-gold{color:#ffc23a;-webkit-text-stroke:.06em #6d4515;paint-order:stroke fill}

.drone-patrol header>.help-button{position:absolute;right:-4px;top:50%;transform:translateY(-50%)}

/* Visual polish r2 (meta lane). #289: the header pads both sides by the (?) column, so Blip + "Patrol Log" centre on
   the sheet axis. #287: an empty meter is a recessed cream track (the Tasks track look), never a solid navy bar.
   #288: a claimed row shows a flat green stamp (check + "Claimed"): no plate, lip or drop, so it never reads as a
   pressable grey button; the row keeps its .7 opacity. */
.drone-patrol header{padding-left:40px}
.drone-meter{background:#e3cfa6;border:1px solid #b79e71;box-shadow:inset 0 1px 2px #7a5a3055}
#modal :is(.drone-task,.drone-weekly).is-claimed .secondary:disabled{--face-lip:0px;--face-shift:0px;filter:none;color:#2f7a3a;-webkit-text-stroke:0;text-shadow:none;font:800 13px/1 system-ui,sans-serif;letter-spacing:0}
#modal :is(.drone-task,.drone-weekly).is-claimed .secondary:disabled::before{inset:7px 0;border:2px solid #5d9f55;border-radius:999px;background:#e4f1d2;box-shadow:none}
#modal :is(.drone-task,.drone-weekly).is-claimed .secondary:disabled::after{display:none}
#modal :is(.drone-task,.drone-weekly).is-claimed .secondary:disabled .button-label{display:inline-flex;align-items:center;gap:4px;translate:none}
#modal :is(.drone-task,.drone-weekly).is-claimed .secondary:disabled .button-label::before{content:'';flex:none;width:13px;height:13px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='4 6 16 12.6'%3E%3Cpath d='M5.2 12.8L9.9 17.3L18.9 7' fill='none' stroke='%23000' stroke-width='3.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='4 6 16 12.6'%3E%3Cpath d='M5.2 12.8L9.9 17.3L18.9 7' fill='none' stroke='%23000' stroke-width='3.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
#modal :is(.drone-task,.drone-weekly).is-claimed .secondary:disabled{padding-inline:4px}
#modal :is(.drone-task,.drone-weekly).is-claimed .secondary:disabled:lang(pl){font-size:12px}
/* AC810 (build 184): the Blip card's Read more page shows the Patrol Log read-only: a small cream log with a Scout
   Core mark on its corner, today's task names and their +Core reward, in place of the card art. */
#modal .discovery-journal-log{position:relative;width:min(100%,286px);margin:8px auto 4px;padding:14px 10px 10px;border:2px solid var(--vs-ink,#2b2230);border-radius:16px;background:#f6e9cc;box-shadow:0 3px 0 #2b223055;text-align:left}
#modal .discovery-journal-mark{position:absolute;top:-16px;left:50%;display:grid;place-items:center;width:34px;height:34px;margin-left:-17px;border:2px solid var(--vs-ink,#2b2230);border-radius:50%;background:#fffaf0}
#modal .discovery-journal-mark img{width:24px;height:24px;object-fit:contain}
#modal .discovery-journal-log ul{display:grid;gap:5px;margin:0;padding:0;list-style:none}
#modal .discovery-journal-log li{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:32px;padding:4px 8px 4px 10px;border:1px solid #d6bf94;border-radius:10px;background:#fffaf0;color:#2e4051;font:700 13px/1.2 system-ui}
#modal .discovery-journal-log li>span{min-width:0}
#modal .discovery-journal-core{display:inline-flex;flex:none;align-items:center;gap:2px;color:#3f8a3a;font:800 13px/1 system-ui}
#modal .discovery-journal-core img{width:18px;height:18px;object-fit:contain}
