/* ─── WINDOW / MODAL REDESIGN ────────────────────────────────────────────────
 * Global design pass for all interactive windows & modals:
 *   • Border thickness = 2px (matches the lootbox window), color preserved.
 *   • Background fills made 70% opaque (30% transparent), hue preserved.
 * Loaded last so it overrides per-window CSS (and JS-injected minigame CSS).
 * EXCLUDED on purpose: the shared .modal-box (backs tiny popups), small
 * confirmations ("are you sure", "not enough cash"), reward/toast popups,
 * help/rules overlays, loading screens, the adventure pixel-art menu, and the
 * jo-crystal gem menu (non-rectangular).
 * ──────────────────────────────────────────────────────────────────────────── */

/* effects.css windows */
.vip-modal { border-width: 2px !important; background: rgba(26,13,48,0.70) !important; }
.daily-modal { border-width: 2px !important; background: rgba(42,16,32,0.70) !important; }
.ad-box { border-width: 2px !important; background: rgba(42,16,32,0.70) !important; }
.scratch-box { border-width: 2px !important; background: rgba(42,16,32,0.70) !important; }

/* cosmetics.css windows (.cosm-modal also backs stroke_style & synergies) */
.cosm-modal { border-width: 2px !important; background: rgba(26,8,32,0.70) !important; position: relative; }
.prestige-modal { border-width: 2px !important; background: rgba(13,8,24,0.70) !important; position: relative; }

/* perk-tree windows (addons.css .modal-box.apt-modal family) */
.modal-box.apt-modal { border-width: 2px !important; background: radial-gradient(ellipse at 50% 0%,rgba(60,21,48,0.70) 0%,rgba(34,16,24,0.70) 65%) !important; position: relative; }
.modal-box.apt-modal.apt-modal-arcane { background: radial-gradient(ellipse at 50% 0%,rgba(20,40,92,0.70) 0%,rgba(9,16,40,0.70) 65%) !important; }

/* in-game Hotkeys window (options.js, inline-styled — bg overridden via !important) */
.hotkeys-modal { border-width: 2px !important; background: rgba(26,10,36,0.70) !important; }

/* casino.css windows */
.casino-modal { border-width: 2px !important; background: linear-gradient(180deg,rgba(26,8,32,0.70) 0%,rgba(12,4,16,0.70) 100%) !important; }
.minigames-modal { border-width: 2px !important; background: linear-gradient(180deg,rgba(10,24,48,0.70) 0%,rgba(4,8,16,0.70) 100%) !important; }

/* lootbox.css windows */
.lootbox-modal { border-width: 2px !important; background: linear-gradient(155deg,rgba(20,8,32,0.70),rgba(34,15,53,0.70) 45%,rgba(20,8,32,0.70)) !important; }
.lootbox-results-wrap { border-width: 2px !important; background: radial-gradient(ellipse at top,rgba(26,10,42,0.70),rgba(14,5,24,0.70) 80%) !important; }

/* addons.css windows */
.bank-modal { border-width: 2px !important; background: rgba(9,45,23,0.70) !important; }
.ghost-modal { border-width: 2px !important; background: rgba(26,34,48,0.70) !important; }
.dragon-modal { border-width: 2px !important; background: rgba(8,22,12,0.70) !important; }
.cel-modal { border-width: 2px !important; background: radial-gradient(ellipse at 50% 0%,rgba(26,33,80,0.70),rgba(10,14,40,0.70) 70%) !important; }

/* cylinder_army.css windows (.cylarmy-modal & .exped-modal extend .modal-box) */
.cylarmy-modal { border-width: 2px !important; background: radial-gradient(ellipse at 50% 0%,rgba(60,21,48,0.70) 0%,rgba(34,16,24,0.70) 65%) !important; }
.harem-training-modal { border-width: 2px !important; background: rgba(13,8,24,0.70) !important; }

/* expedition.css window */
.exped-modal { border-width: 2px !important; background: radial-gradient(ellipse at 50% 0%,rgba(60,21,48,0.70) 0%,rgba(34,16,24,0.70) 65%) !important; }

/* equipment.css window */
.equip-window { border-width: 2px !important; background: linear-gradient(160deg,rgba(26,13,40,0.70),rgba(20,10,32,0.70)) !important; }

/* cyl_minigames.css window (wave / choir / parade) */
.cyl-mini-modal { border-width: 2px !important; background: radial-gradient(ellipse at 50% 0%,rgba(28,24,40,0.70) 0%,rgba(12,10,20,0.70) 80%) !important; }

/* cock_fight.css window (also reused by raid & cock_rings) */
.cf-modal { border-width: 2px !important; background: linear-gradient(180deg,rgba(22,10,40,0.70) 0%,rgba(13,8,24,0.70) 100%) !important; }

/* castle_raid.css window */
.cr-modal { border-width: 2px !important; background: radial-gradient(ellipse at 50% 50%,rgba(28,28,40,0.70) 0%,rgba(12,12,20,0.70) 80%) !important; }

/* virility_shop.css windows */
.vir-wheel-modal { border-width: 2px !important; background: linear-gradient(145deg,rgba(26,10,30,0.70),rgba(42,15,58,0.70)) !important; }
.premium-shop-modal { border-width: 2px !important; background: rgba(26,10,15,0.70) !important; }
.fake-pay-modal { border-width: 2px !important; background: rgba(26,10,15,0.70) !important; }

/* cum_champion.css window */
.cc-modal { border-width: 2px !important; background: radial-gradient(ellipse at 50% 30%,rgba(42,8,32,0.70) 0%,rgba(20,4,28,0.70) 70%,rgba(8,2,14,0.70) 100%) !important; }

/* cylinder_city.css window */
.ccity-modal { border-width: 2px !important; background: rgba(10,20,24,0.70) !important; }

/* racing.css window */
.racing-modal { border-width: 2px !important; background: rgba(13,8,24,0.70) !important; }

/* skateboarding.css windows */
.skb-modal { border-width: 2px !important; background: radial-gradient(ellipse at 50% 0%,rgba(24,26,16,0.70) 0%,rgba(12,14,8,0.70) 80%) !important; }
.skb2-modal { border-width: 2px !important; background: radial-gradient(ellipse at 50% 0%,rgba(16,22,34,0.70) 0%,rgba(6,8,14,0.70) 80%) !important; }
.skb3-modal { border-width: 2px !important; background: radial-gradient(ellipse at 50% 0%,rgba(26,12,12,0.70) 0%,rgba(8,4,10,0.70) 80%) !important; }

/* JS-injected casino / minigame windows */
.roulette-modal { border-width: 2px !important; background: rgba(14,10,24,0.70) !important; }
.plinko-modal { border-width: 2px !important; background: rgba(15,6,24,0.70) !important; }
.slots-modal { border-width: 2px !important; background: rgba(15,6,24,0.70) !important; }
.coinf-modal { border-width: 2px !important; background: rgba(15,8,32,0.70) !important; }
.bj-modal { border-width: 2px !important; background: rgba(10,22,40,0.70) !important; }
.bg-modal { border-width: 2px !important; background: rgba(24,8,40,0.70) !important; }
.cw-modal { border-width: 2px !important; background: rgba(26,8,32,0.70) !important; }
.wf-modal { border-width: 2px !important; background: rgba(15,8,32,0.70) !important; }
.dice-modal { border-width: 2px !important; background: rgba(26,26,42,0.70) !important; }
.sell-modal { border-width: 2px !important; background: rgba(15,6,24,0.70) !important; }
.convert-modal { border-width: 2px !important; background: rgba(10,15,32,0.70) !important; }
.fish-modal { border-width: 2px !important; background: rgba(8,24,42,0.70) !important; }
.adv-modal { border-width: 2px !important; background: rgba(6,17,10,0.70) !important; }
.adv-tb-modal { border-width: 2px !important; background: rgba(10,14,26,0.70) !important; }
.autochess-modal { border-width: 2px !important; background: rgba(10,10,20,0.70) !important; }
.surv-modal { border-width: 2px !important; background: rgba(10,10,20,0.70) !important; }
.cyldef-modal { border-width: 2px !important; background: rgba(10,10,20,0.70) !important; }
