/* ==========================================================================
   Game button language (2026-11-20, owner: "kendi oyunumuza özel butonlar ... her yerde aynı dili
   kullanmalıyız ... oyun hissiyatı vermemiz lazım"). One look for every War Pets / World Boss screen.
   Approach "ikisi karışık": this CSS is the body (plate, bevel, frame, press, glow); painted
   frame/corner art can be layered on later through --gb-art without touching the markup.
   Existing button classes are MAPPED here (the screens' JS is minified), so each screen keeps its
   layout (width, padding, gaps) and only the look changes. Square corners (standing rule).
   Variants: primary (gold) · secondary (steel) · danger (blood) · back / close plates.
   ========================================================================== */
:root{
	--gb-font:'Rajdhani',sans-serif;
	/* 2026-11-21 owner: "çok parlak çok renkli" — gold is now a dark bronze plate with a gold rim and gold ink,
	   not a yellow slab; steel/blood a step darker; rings and glows quieter. */
	--gb-gold-hi:#3d2b12;--gb-gold:#2a1d0b;--gb-gold-lo:#1b1207;--gb-gold-edge:#b38537;--gb-gold-ink:#e8cd8a;
	--gb-steel-hi:#1f2733;--gb-steel:#171e29;--gb-steel-lo:#10151e;--gb-steel-edge:#3a4555;
	--gb-blood-hi:#3e1511;--gb-blood:#2a0d0a;--gb-blood-lo:#1a0705;--gb-blood-edge:#7a2f27;
	--gb-trim:rgba(222,170,80,.32);
}

/* ---- shared plate --------------------------------------------------------- */
html body :is(
	.inv-dng-dcard-enter,.inv-dng-enter-btn,.inv-dng-btn--fight,.inv-dng-btn--continue,.inv-dng-btn--take,
	.inv-dng-preview__enter,.inv-dngtp__btn--go,.inv-dngtp__btn--save,.inv-shop__buy-btn,.inv-shop-modal__btn--confirm,
	.inv-dng-btn--skip,.inv-dngtp__btn--ghost,.inv-shop-modal__btn--cancel,.inv-dng-ticket-btn,.inv-dng-tier-buy-btn,
	.inv-dng-abandon-btn,
	.inv-game-back,.inv-dng-tier-back-btn,.inv-dng-stage-back-btn,.inv-dng-diff-back,.inv-gpd__back,.inv-dng-item-detail-back,
	.inv-dng-info-popup__close,.inv-dng-traits-close,.inv-tc-sds-close
){
	position:relative;border-radius:0 !important;font-family:var(--gb-font);font-weight:700;text-transform:uppercase;letter-spacing:.12em;
	cursor:pointer;-webkit-tap-highlight-color:transparent;transition:filter .15s,transform .08s,box-shadow .2s;
	background-image:var(--gb-art,none),linear-gradient(180deg,var(--gb-hi) 0%,var(--gb-lo) 100%) !important;
	background-size:100% 100%;
	color:var(--gb-ink) !important;border:1px solid var(--gb-edge) !important;text-shadow:var(--gb-ts);
	box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 2px 6px rgba(0,0,0,.45)!important;
}
html body :is(
	.inv-dng-dcard-enter,.inv-dng-enter-btn,.inv-dng-btn--fight,.inv-dng-btn--continue,.inv-dng-btn--take,
	.inv-dng-preview__enter,.inv-dngtp__btn--go,.inv-dngtp__btn--save,.inv-shop__buy-btn,.inv-shop-modal__btn--confirm,
	.inv-dng-btn--skip,.inv-dngtp__btn--ghost,.inv-shop-modal__btn--cancel,.inv-dng-ticket-btn,.inv-dng-tier-buy-btn,
	.inv-dng-abandon-btn,
	.inv-game-back,.inv-dng-tier-back-btn,.inv-dng-stage-back-btn,.inv-dng-diff-back,.inv-gpd__back,.inv-dng-item-detail-back,
	.inv-dng-info-popup__close,.inv-dng-traits-close,.inv-tc-sds-close
):hover:not(:disabled){filter:brightness(1.18);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 2px 6px rgba(0,0,0,.45)!important}
html body :is(
	.inv-dng-dcard-enter,.inv-dng-enter-btn,.inv-dng-btn--fight,.inv-dng-btn--continue,.inv-dng-btn--take,
	.inv-dng-preview__enter,.inv-dngtp__btn--go,.inv-dngtp__btn--save,.inv-shop__buy-btn,.inv-shop-modal__btn--confirm,
	.inv-dng-btn--skip,.inv-dngtp__btn--ghost,.inv-shop-modal__btn--cancel,.inv-dng-ticket-btn,.inv-dng-tier-buy-btn,
	.inv-dng-abandon-btn,
	.inv-game-back,.inv-dng-tier-back-btn,.inv-dng-stage-back-btn,.inv-dng-diff-back,.inv-gpd__back,.inv-dng-item-detail-back,
	.inv-dng-info-popup__close,.inv-dng-traits-close,.inv-tc-sds-close
):active:not(:disabled){transform:translateY(1px);filter:brightness(.95);box-shadow:inset 0 2px 6px rgba(0,0,0,.55),0 2px 6px rgba(0,0,0,.5)!important}
html body :is(
	.inv-dng-dcard-enter,.inv-dng-enter-btn,.inv-dng-btn--fight,.inv-dng-btn--continue,.inv-dng-btn--take,
	.inv-dng-preview__enter,.inv-dngtp__btn--go,.inv-dngtp__btn--save,.inv-shop__buy-btn,.inv-shop-modal__btn--confirm,
	.inv-dng-btn--skip,.inv-dngtp__btn--ghost,.inv-shop-modal__btn--cancel,.inv-dng-ticket-btn,.inv-dng-tier-buy-btn,
	.inv-dng-abandon-btn
):disabled{filter:grayscale(.85) brightness(.7);cursor:not-allowed}
/* gold ◆ studs at both ends of the big action buttons */
html body :is(.inv-dng-dcard-enter,.inv-dng-enter-btn,.inv-dng-btn--fight,.inv-dng-preview__enter,.inv-dngtp__btn--go,.inv-shop__buy-btn,.inv-shop-modal__btn--confirm)::after{
	content:"";position:absolute;inset:4px;pointer-events:none;border:1px solid rgba(255,236,190,.35);
	/* solid diamond studs (crossed hairlines read as an "x" at button size) */
	background:var(--gb-stud) left 6px center/8px 8px no-repeat,var(--gb-stud) right 6px center/8px 8px no-repeat;
	--gb-stud:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M4 0 8 4 4 8 0 4z' fill='%234a2a05'/%3E%3Cpath d='M4 1.6 6.4 4 4 6.4 1.6 4z' fill='%23ffe08a' opacity='.55'/%3E%3C/svg%3E")}

/* ---- variants -------------------------------------------------------------- */
html body :is(.inv-dng-dcard-enter,.inv-dng-enter-btn,.inv-dng-btn--fight,.inv-dng-btn--continue,.inv-dng-btn--take,.inv-dng-preview__enter,.inv-dngtp__btn--go,.inv-dngtp__btn--save,.inv-shop__buy-btn,.inv-shop-modal__btn--confirm){
	--gb-hi:var(--gb-gold-hi);--gb-mid:var(--gb-gold);--gb-lo:var(--gb-gold-lo);--gb-edge:var(--gb-gold-edge);--gb-ring:var(--gb-trim);--gb-glow:rgba(245,180,60,.22);
	--gb-ink:var(--gb-gold-ink);--gb-ts:0 1px 2px rgba(0,0,0,.85)}
html body :is(.inv-dng-btn--skip,.inv-dngtp__btn--ghost,.inv-shop-modal__btn--cancel,.inv-dng-ticket-btn,.inv-dng-tier-buy-btn,
	.inv-game-back,.inv-dng-tier-back-btn,.inv-dng-stage-back-btn,.inv-dng-diff-back,.inv-gpd__back,.inv-dng-item-detail-back,
	.inv-dng-info-popup__close,.inv-dng-traits-close,.inv-tc-sds-close){
	--gb-hi:var(--gb-steel-hi);--gb-mid:var(--gb-steel);--gb-lo:var(--gb-steel-lo);--gb-edge:var(--gb-steel-edge);--gb-ring:rgba(150,170,200,.16);--gb-glow:rgba(140,170,220,.18);
	--gb-ink:#c9d3df;--gb-ts:0 1px 2px rgba(0,0,0,.8)}
html body .inv-dng-abandon-btn{
	--gb-hi:var(--gb-blood-hi);--gb-mid:var(--gb-blood);--gb-lo:var(--gb-blood-lo);--gb-edge:var(--gb-blood-edge);--gb-ring:rgba(228,87,75,.28);--gb-glow:rgba(228,87,75,.22);
	--gb-ink:#fff1ee;--gb-ts:0 1px 2px rgba(0,0,0,.8)}

/* ---- back / close plates: gold chevron or cross on steel ----------------------- */
html body :is(.inv-game-back,.inv-dng-tier-back-btn,.inv-dng-stage-back-btn,.inv-dng-diff-back,.inv-gpd__back,.inv-dng-item-detail-back){color:#f2c46a !important;letter-spacing:.1em}
html body :is(.inv-dng-info-popup__close,.inv-dng-traits-close,.inv-tc-sds-close){color:#f2c46a !important;min-width:2rem;min-height:2rem;display:inline-flex;align-items:center;justify-content:center;letter-spacing:0}

@media (prefers-reduced-motion:reduce){html body :is(.inv-dng-dcard-enter,.inv-dng-btn--fight,.inv-game-back){transition:none}}

/* One back key (game-nav.js): the in-page "← Back" buttons are hidden; the top bar's BACK presses
   them for the player, and the phone's back gesture does the same. */
html body :is(#inv-dng-tier-back,#inv-dng-stage-back,.inv-wbd-lobby__back,.inv-pmk-sell-back-btn){display:none !important}

/* ==========================================================================
   Dungeon "Choose Run Type" screen in the same language (owner 2026-11-20: "bu ekrandaki
   tasarımları da aynı dile getirelim"). Overrides pet-dungeon-redesign.css: square corners, no
   chamfers (standing rule), the card wears the dungeon-card frame (hairline + corner brackets in
   the tier colour --rt), tabs/chips/buy are steel plates, ENTER is the gold action plate.
   ========================================================================== */
html body .inv-dng-rt-tab{border-radius:0;border:1px solid #070a12;color:#9fb0c8;
	background:linear-gradient(180deg,#2a3549 0%,#1c2536 46%,#121926 54%,#1a2333 100%);
	box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
html body .inv-dng-rt-tab:hover{color:#dbe5f2}
html body .inv-dng-rt-tab.is-active{color:var(--rt);
	background:linear-gradient(180deg,color-mix(in srgb,var(--rt) 16%,#1c2536) 0%,color-mix(in srgb,var(--rt) 8%,#141b29) 50%,color-mix(in srgb,var(--rt) 11%,#18202f) 100%);
	box-shadow:inset 0 1px 0 rgba(255,255,255,.2)}

html body .inv-dng-tier-pick-cards .inv-dng-tpc{border-radius:0;border:0;
	box-shadow:0 0 0 1px color-mix(in srgb,var(--rt) 35%,transparent),0 20px 48px -24px var(--rt-glow)}
html body .inv-dng-tier-pick-cards .inv-dng-tpc::after{content:"";position:absolute;inset:6px;z-index:3;pointer-events:none;
	border:1px solid color-mix(in srgb,var(--rt) 45%,transparent);
	background:
		linear-gradient(var(--rt),var(--rt)) top left/18px 2px no-repeat,linear-gradient(var(--rt),var(--rt)) top left/2px 18px no-repeat,
		linear-gradient(var(--rt),var(--rt)) top right/18px 2px no-repeat,linear-gradient(var(--rt),var(--rt)) top right/2px 18px no-repeat,
		linear-gradient(var(--rt),var(--rt)) bottom left/18px 2px no-repeat,linear-gradient(var(--rt),var(--rt)) bottom left/2px 18px no-repeat,
		linear-gradient(var(--rt),var(--rt)) bottom right/18px 2px no-repeat,linear-gradient(var(--rt),var(--rt)) bottom right/2px 18px no-repeat}
html body .inv-dng-tier-pick-cards .inv-dng-tpc-stripe{display:none}
html body .inv-dng-tier-pick-cards .inv-dng-tpc-tickets{border-radius:0;background:rgba(10,30,22,.85);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
html body .inv-dng-tier-pick-cards .inv-dng-tpc-drop{border-radius:0;border:1px solid #070a12;
	background:linear-gradient(180deg,#24304a,#141c2c);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 0 0 1px rgba(150,170,200,.2)}
html body .inv-dng-tier-pick-cards .inv-dng-tpc-perks{border-radius:0;border-color:color-mix(in srgb,var(--rt) 22%,#1e2a44)}

/* ENTER: the gold action plate on every tier */
html body .inv-dng-tier-pick-cards .inv-dng-tpc .inv-dng-tpc-enter{border-radius:0;border:1px solid var(--gb-gold-edge);color:var(--gb-gold-ink);
	background:linear-gradient(180deg,var(--gb-gold-hi) 0%,var(--gb-gold-lo) 100%);
	text-shadow:0 1px 2px rgba(0,0,0,.85);
	box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 2px 6px rgba(0,0,0,.45)}
html body .inv-dng-tier-pick-cards .inv-dng-tpc .inv-dng-tpc-enter:hover:not(:disabled){filter:brightness(1.1);
	box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 2px 6px rgba(0,0,0,.45)}
html body .inv-dng-tier-pick-cards .inv-dng-tpc .inv-dng-tpc-enter:active:not(:disabled){transform:translateY(1px);box-shadow:inset 0 2px 6px rgba(0,0,0,.55)}
html body .inv-dng-tier-pick-cards .inv-dng-tpc-enter::before{display:none}
html body .inv-dng-tier-pick-cards .inv-dng-tpc-enter:disabled{filter:grayscale(.85) brightness(.7)}

/* BUY TICKET: steel plates, the currency colour stays as the trim ring and the label tint */
html body .inv-dng-tier-pick-cards .inv-dng-tpc-buy{clip-path:none;border-radius:0;--cur:#4fd8ff;filter:none;border:1px solid #070a12;
	background:linear-gradient(180deg,#2a3549 0%,#1c2536 46%,#121926 54%,#1a2333 100%);
	box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
html body .inv-dng-tier-pick-cards .inv-dng-tpc-buy[data-currency="wc"]{--cur:#b57bff}
html body .inv-dng-tier-pick-cards .inv-dng-tpc-buy::before{display:none}
html body .inv-dng-tier-pick-cards .inv-dng-tpc-buy:hover:not(:disabled){filter:brightness(1.18);
	box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
html body .inv-dng-tier-pick-cards .inv-dng-tpc-buy:active:not(:disabled){transform:translateY(1px)}

/* ==========================================================================
   Enter Dungeon confirm (.inv-dng-conf) in the same language (owner 2026-11-20): square, gold
   frame with corner brackets, taller gate art, square chips/bars/slots; ENTER gold, Cancel steel
   (both mapped above). Cancel is also a back target in game-nav.js.
   ========================================================================== */
html body .inv-dng-conf{--dk:#c9a46a;position:relative;border-radius:0;border:0;background:#080d1a;
	box-shadow:0 0 0 1px color-mix(in srgb,var(--dk) 40%,transparent),0 0 0 4px #070a12,0 0 0 5px color-mix(in srgb,var(--dk) 25%,transparent),0 24px 60px rgba(0,0,0,.7)}
html body .inv-dng-conf::after{content:"";position:absolute;inset:6px;z-index:5;pointer-events:none;border:1px solid color-mix(in srgb,var(--dk) 40%,transparent);
	background:
		linear-gradient(var(--dk),var(--dk)) top left/18px 2px no-repeat,linear-gradient(var(--dk),var(--dk)) top left/2px 18px no-repeat,
		linear-gradient(var(--dk),var(--dk)) top right/18px 2px no-repeat,linear-gradient(var(--dk),var(--dk)) top right/2px 18px no-repeat,
		linear-gradient(var(--dk),var(--dk)) bottom left/18px 2px no-repeat,linear-gradient(var(--dk),var(--dk)) bottom left/2px 18px no-repeat,
		linear-gradient(var(--dk),var(--dk)) bottom right/18px 2px no-repeat,linear-gradient(var(--dk),var(--dk)) bottom right/2px 18px no-repeat}
html body .inv-dng-conf__hero{height:190px;background-position:center 35%}
html body .inv-dng-conf__hero-overlay{background:linear-gradient(to bottom,rgba(8,13,26,0) 30%,rgba(8,13,26,.75) 75%,#080d1a 100%)}
html body .inv-dng-conf__hero-top{left:18px;right:18px;bottom:10px;text-align:center}
html body .inv-dng-conf__hero-name{font-size:1.5rem;letter-spacing:.03em;text-shadow:0 2px 10px rgba(0,0,0,.9),0 0 18px color-mix(in srgb,var(--dk) 45%,transparent)}
html body .inv-dng-conf__hero-name::after{content:"";display:block;width:56px;height:1px;margin:.35rem auto .45rem;background:linear-gradient(90deg,transparent,var(--dk),transparent)}
html body .inv-dng-conf__hero-diff{border-radius:0;background:rgba(8,13,26,.78);padding:3px 12px}
html body .inv-dng-conf__body{padding:12px 20px 4px}
html body .inv-dng-conf__body::-webkit-scrollbar-thumb{border-radius:0}
html body .inv-dng-conf__stats{border-top:1px solid color-mix(in srgb,var(--dk) 22%,transparent);border-bottom:1px solid color-mix(in srgb,var(--dk) 22%,transparent);padding:8px 0}
html body .inv-dng-conf-section-title{color:color-mix(in srgb,var(--dk) 75%,#94a3b8);letter-spacing:.12em}
html body .inv-dng-conf-section-title::before{content:"\25C6";margin-right:6px;font-size:.6rem;color:var(--dk)}
html body .inv-dng-conf-drop-bar-wrap,html body .inv-dng-conf-drop-bar{border-radius:0}
html body .inv-dng-conf-drop-bar-wrap{height:7px;background:#0d1322;box-shadow:inset 0 1px 2px rgba(0,0,0,.6),0 0 0 1px rgba(150,170,200,.12)}
html body .inv-dng-conf-item-wrap{width:40px;height:40px;border-radius:0;border:1px solid #070a12;
	background:radial-gradient(circle at 50% 35%,#1f2a40,#0d1322 75%);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 0 0 1px rgba(150,170,200,.22)}
html body .inv-dng-conf-item-wrap:hover{box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 0 0 1px var(--dk),0 0 10px color-mix(in srgb,var(--dk) 35%,transparent)}
html body .inv-dng-conf__warning{border-radius:0}
html body .inv-dng-conf__actions{background:#080d1a;border-top:1px solid color-mix(in srgb,var(--dk) 22%,transparent);padding:14px 20px 18px;gap:12px}


/* ==========================================================================
   Second pass (owner 2026-11-20 "hepsini sırayla yapalım"): arena, items/forge, hub, world boss,
   profile, market, mail, milestones, expeditions, combat. Painted / icon buttons (hub door tray,
   combat skill + action buttons, round skill keys) keep their art on purpose.
   ========================================================================== */
html body :is(.inv-arena-btn--ghost,.inv-arena-result__back-btn,.inv-arena-target-cancel-btn,.inv-pit-btn--unequip,.inv-pit-btn--bank,.inv-pit-btn--sell,.inv-pit-action-btn,.inv-pit-tb-btn,.inv-pit-hdr-bank-btn,.inv-pit-mode-btn,.inv-pit-dur-btn,.inv-pit-expand-btn,.inv-pit-dm__filter-btn,.inv-pit-fz__pick-btn,.inv-pit-rp__socket-btn,.inv-um__btn--cancel,.inv-hub-sac-confirm__btn--cancel,.inv-hub-spa__back,.inv-pet-hub__back-btn,.inv-wbd-lobby__rename-btn,.inv-wbd-room-btn,.inv-wbd-leave-btn,.inv-wbd-vote-btn--no,.inv-pet-modal-btn,.inv-pprof-search-btn,.inv-pprof-title-btn,.inv-pprof-stats-toggle-btn,.inv-pmk-btn--cancel,.inv-pmk-btn--search,.inv-pmk-mode-btn,.inv-pmk-dur-btn,.inv-pmk-page-btn,.inv-pm-btn--ghost,.inv-hub-ap-card__btn--deact,.inv-tc-btn,.inv-tc-log-btn,.inv-tc-auto-btn,.inv-tc-speed-btn,.inv-pet-mil-login-prompt__btn,.inv-wbd-create-btn--return,.inv-arena-btn--primary,.inv-arena-btn--fight,.inv-arena-opp-card__btn,.inv-pit-btn--equip,.inv-pit-btn--upgrade,.inv-pit-craft-btn,.inv-pit-fuse__confirm-btn,.inv-pit-rp__fuse-btn,.inv-pit-up__mat-craft-btn,.inv-um__btn--confirm,.inv-pit-btn--sell-confirm,.inv-hub-evolve__btn,.inv-hub-sac-confirm__btn--confirm,.inv-pet-intro__start-btn,.inv-wiz-cta,.inv-wbd-create-btn,.inv-wbd-join-btn,.inv-wbd-start-btn,.inv-wbd-outcome__btn,.inv-wb-attack-btn,.inv-pet-modal-btn--primary,.inv-pmk-btn--buy,.inv-pmk-btn--bid,.inv-pmk-btn--list,.inv-pmk-sell-submit-btn,.inv-pm-btn--accept,.inv-pet-mil-claim-btn,.inv-exp-login__btn,.inv-game-login-cta,.inv-shop__login-btn,.inv-pet-hub__login-cta,.inv-wbd-vote-btn--yes,.inv-hub-ap-card__btn--act,.inv-arena-btn--danger,.inv-pit-btn--discard,.inv-pit-btn--dismantle,.inv-pit-btn--upgrade-risky,.inv-wbd-leave-btn--danger,.inv-pm-btn--reject,.inv-arena-modal__close,.inv-pit-bank-drawer__close,.inv-pit-detail__close,.inv-pit-mbank__close,.inv-pit-tooltip__close,.inv-um__close,.inv-hub-ap__close,.inv-pet-evolve-modal__close,.inv-pw__close,.inv-wbd-gear-modal__close,.inv-wbd-modal__close,.inv-pet-modal__close,.inv-pmk-modal__close,.inv-pmk-sell-modal__close,.inv-exp-result__close){
	position:relative;border-radius:0 !important;font-family:var(--gb-font);font-weight:700;text-transform:uppercase;letter-spacing:.1em;
	cursor:pointer;-webkit-tap-highlight-color:transparent;transition:filter .15s,transform .08s,box-shadow .2s;
	background-image:var(--gb-art,none),linear-gradient(180deg,var(--gb-hi) 0%,var(--gb-lo) 100%) !important;
	background-size:100% 100%;color:var(--gb-ink) !important;border:1px solid var(--gb-edge) !important;text-shadow:var(--gb-ts);
	box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 2px 6px rgba(0,0,0,.45)!important}
html body :is(.inv-arena-btn--ghost,.inv-arena-result__back-btn,.inv-arena-target-cancel-btn,.inv-pit-btn--unequip,.inv-pit-btn--bank,.inv-pit-btn--sell,.inv-pit-action-btn,.inv-pit-tb-btn,.inv-pit-hdr-bank-btn,.inv-pit-mode-btn,.inv-pit-dur-btn,.inv-pit-expand-btn,.inv-pit-dm__filter-btn,.inv-pit-fz__pick-btn,.inv-pit-rp__socket-btn,.inv-um__btn--cancel,.inv-hub-sac-confirm__btn--cancel,.inv-hub-spa__back,.inv-pet-hub__back-btn,.inv-wbd-lobby__rename-btn,.inv-wbd-room-btn,.inv-wbd-leave-btn,.inv-wbd-vote-btn--no,.inv-pet-modal-btn,.inv-pprof-search-btn,.inv-pprof-title-btn,.inv-pprof-stats-toggle-btn,.inv-pmk-btn--cancel,.inv-pmk-btn--search,.inv-pmk-mode-btn,.inv-pmk-dur-btn,.inv-pmk-page-btn,.inv-pm-btn--ghost,.inv-hub-ap-card__btn--deact,.inv-tc-btn,.inv-tc-log-btn,.inv-tc-auto-btn,.inv-tc-speed-btn,.inv-pet-mil-login-prompt__btn,.inv-wbd-create-btn--return,.inv-arena-btn--primary,.inv-arena-btn--fight,.inv-arena-opp-card__btn,.inv-pit-btn--equip,.inv-pit-btn--upgrade,.inv-pit-craft-btn,.inv-pit-fuse__confirm-btn,.inv-pit-rp__fuse-btn,.inv-pit-up__mat-craft-btn,.inv-um__btn--confirm,.inv-pit-btn--sell-confirm,.inv-hub-evolve__btn,.inv-hub-sac-confirm__btn--confirm,.inv-pet-intro__start-btn,.inv-wiz-cta,.inv-wbd-create-btn,.inv-wbd-join-btn,.inv-wbd-start-btn,.inv-wbd-outcome__btn,.inv-wb-attack-btn,.inv-pet-modal-btn--primary,.inv-pmk-btn--buy,.inv-pmk-btn--bid,.inv-pmk-btn--list,.inv-pmk-sell-submit-btn,.inv-pm-btn--accept,.inv-pet-mil-claim-btn,.inv-exp-login__btn,.inv-game-login-cta,.inv-shop__login-btn,.inv-pet-hub__login-cta,.inv-wbd-vote-btn--yes,.inv-hub-ap-card__btn--act,.inv-arena-btn--danger,.inv-pit-btn--discard,.inv-pit-btn--dismantle,.inv-pit-btn--upgrade-risky,.inv-wbd-leave-btn--danger,.inv-pm-btn--reject,.inv-arena-modal__close,.inv-pit-bank-drawer__close,.inv-pit-detail__close,.inv-pit-mbank__close,.inv-pit-tooltip__close,.inv-um__close,.inv-hub-ap__close,.inv-pet-evolve-modal__close,.inv-pw__close,.inv-wbd-gear-modal__close,.inv-wbd-modal__close,.inv-pet-modal__close,.inv-pmk-modal__close,.inv-pmk-sell-modal__close,.inv-exp-result__close):hover:not(:disabled){filter:brightness(1.18);box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 2px 6px rgba(0,0,0,.45)!important}
html body :is(.inv-arena-btn--ghost,.inv-arena-result__back-btn,.inv-arena-target-cancel-btn,.inv-pit-btn--unequip,.inv-pit-btn--bank,.inv-pit-btn--sell,.inv-pit-action-btn,.inv-pit-tb-btn,.inv-pit-hdr-bank-btn,.inv-pit-mode-btn,.inv-pit-dur-btn,.inv-pit-expand-btn,.inv-pit-dm__filter-btn,.inv-pit-fz__pick-btn,.inv-pit-rp__socket-btn,.inv-um__btn--cancel,.inv-hub-sac-confirm__btn--cancel,.inv-hub-spa__back,.inv-pet-hub__back-btn,.inv-wbd-lobby__rename-btn,.inv-wbd-room-btn,.inv-wbd-leave-btn,.inv-wbd-vote-btn--no,.inv-pet-modal-btn,.inv-pprof-search-btn,.inv-pprof-title-btn,.inv-pprof-stats-toggle-btn,.inv-pmk-btn--cancel,.inv-pmk-btn--search,.inv-pmk-mode-btn,.inv-pmk-dur-btn,.inv-pmk-page-btn,.inv-pm-btn--ghost,.inv-hub-ap-card__btn--deact,.inv-tc-btn,.inv-tc-log-btn,.inv-tc-auto-btn,.inv-tc-speed-btn,.inv-pet-mil-login-prompt__btn,.inv-wbd-create-btn--return,.inv-arena-btn--primary,.inv-arena-btn--fight,.inv-arena-opp-card__btn,.inv-pit-btn--equip,.inv-pit-btn--upgrade,.inv-pit-craft-btn,.inv-pit-fuse__confirm-btn,.inv-pit-rp__fuse-btn,.inv-pit-up__mat-craft-btn,.inv-um__btn--confirm,.inv-pit-btn--sell-confirm,.inv-hub-evolve__btn,.inv-hub-sac-confirm__btn--confirm,.inv-pet-intro__start-btn,.inv-wiz-cta,.inv-wbd-create-btn,.inv-wbd-join-btn,.inv-wbd-start-btn,.inv-wbd-outcome__btn,.inv-wb-attack-btn,.inv-pet-modal-btn--primary,.inv-pmk-btn--buy,.inv-pmk-btn--bid,.inv-pmk-btn--list,.inv-pmk-sell-submit-btn,.inv-pm-btn--accept,.inv-pet-mil-claim-btn,.inv-exp-login__btn,.inv-game-login-cta,.inv-shop__login-btn,.inv-pet-hub__login-cta,.inv-wbd-vote-btn--yes,.inv-hub-ap-card__btn--act,.inv-arena-btn--danger,.inv-pit-btn--discard,.inv-pit-btn--dismantle,.inv-pit-btn--upgrade-risky,.inv-wbd-leave-btn--danger,.inv-pm-btn--reject,.inv-arena-modal__close,.inv-pit-bank-drawer__close,.inv-pit-detail__close,.inv-pit-mbank__close,.inv-pit-tooltip__close,.inv-um__close,.inv-hub-ap__close,.inv-pet-evolve-modal__close,.inv-pw__close,.inv-wbd-gear-modal__close,.inv-wbd-modal__close,.inv-pet-modal__close,.inv-pmk-modal__close,.inv-pmk-sell-modal__close,.inv-exp-result__close):active:not(:disabled){transform:translateY(1px);filter:brightness(.95);box-shadow:inset 0 2px 6px rgba(0,0,0,.55),0 2px 6px rgba(0,0,0,.5)!important}
html body :is(.inv-arena-btn--ghost,.inv-arena-result__back-btn,.inv-arena-target-cancel-btn,.inv-pit-btn--unequip,.inv-pit-btn--bank,.inv-pit-btn--sell,.inv-pit-action-btn,.inv-pit-tb-btn,.inv-pit-hdr-bank-btn,.inv-pit-mode-btn,.inv-pit-dur-btn,.inv-pit-expand-btn,.inv-pit-dm__filter-btn,.inv-pit-fz__pick-btn,.inv-pit-rp__socket-btn,.inv-um__btn--cancel,.inv-hub-sac-confirm__btn--cancel,.inv-hub-spa__back,.inv-pet-hub__back-btn,.inv-wbd-lobby__rename-btn,.inv-wbd-room-btn,.inv-wbd-leave-btn,.inv-wbd-vote-btn--no,.inv-pet-modal-btn,.inv-pprof-search-btn,.inv-pprof-title-btn,.inv-pprof-stats-toggle-btn,.inv-pmk-btn--cancel,.inv-pmk-btn--search,.inv-pmk-mode-btn,.inv-pmk-dur-btn,.inv-pmk-page-btn,.inv-pm-btn--ghost,.inv-hub-ap-card__btn--deact,.inv-tc-btn,.inv-tc-log-btn,.inv-tc-auto-btn,.inv-tc-speed-btn,.inv-pet-mil-login-prompt__btn,.inv-wbd-create-btn--return,.inv-arena-btn--primary,.inv-arena-btn--fight,.inv-arena-opp-card__btn,.inv-pit-btn--equip,.inv-pit-btn--upgrade,.inv-pit-craft-btn,.inv-pit-fuse__confirm-btn,.inv-pit-rp__fuse-btn,.inv-pit-up__mat-craft-btn,.inv-um__btn--confirm,.inv-pit-btn--sell-confirm,.inv-hub-evolve__btn,.inv-hub-sac-confirm__btn--confirm,.inv-pet-intro__start-btn,.inv-wiz-cta,.inv-wbd-create-btn,.inv-wbd-join-btn,.inv-wbd-start-btn,.inv-wbd-outcome__btn,.inv-wb-attack-btn,.inv-pet-modal-btn--primary,.inv-pmk-btn--buy,.inv-pmk-btn--bid,.inv-pmk-btn--list,.inv-pmk-sell-submit-btn,.inv-pm-btn--accept,.inv-pet-mil-claim-btn,.inv-exp-login__btn,.inv-game-login-cta,.inv-shop__login-btn,.inv-pet-hub__login-cta,.inv-wbd-vote-btn--yes,.inv-hub-ap-card__btn--act,.inv-arena-btn--danger,.inv-pit-btn--discard,.inv-pit-btn--dismantle,.inv-pit-btn--upgrade-risky,.inv-wbd-leave-btn--danger,.inv-pm-btn--reject,.inv-arena-modal__close,.inv-pit-bank-drawer__close,.inv-pit-detail__close,.inv-pit-mbank__close,.inv-pit-tooltip__close,.inv-um__close,.inv-hub-ap__close,.inv-pet-evolve-modal__close,.inv-pw__close,.inv-wbd-gear-modal__close,.inv-wbd-modal__close,.inv-pet-modal__close,.inv-pmk-modal__close,.inv-pmk-sell-modal__close,.inv-exp-result__close):is(:disabled,.is-disabled,[aria-disabled=true]){filter:grayscale(.85) brightness(.7);cursor:not-allowed}
html body :is(.inv-arena-btn--ghost,.inv-arena-result__back-btn,.inv-arena-target-cancel-btn,.inv-pit-btn--unequip,.inv-pit-btn--bank,.inv-pit-btn--sell,.inv-pit-action-btn,.inv-pit-tb-btn,.inv-pit-hdr-bank-btn,.inv-pit-mode-btn,.inv-pit-dur-btn,.inv-pit-expand-btn,.inv-pit-dm__filter-btn,.inv-pit-fz__pick-btn,.inv-pit-rp__socket-btn,.inv-um__btn--cancel,.inv-hub-sac-confirm__btn--cancel,.inv-hub-spa__back,.inv-pet-hub__back-btn,.inv-wbd-lobby__rename-btn,.inv-wbd-room-btn,.inv-wbd-leave-btn,.inv-wbd-vote-btn--no,.inv-pet-modal-btn,.inv-pprof-search-btn,.inv-pprof-title-btn,.inv-pprof-stats-toggle-btn,.inv-pmk-btn--cancel,.inv-pmk-btn--search,.inv-pmk-mode-btn,.inv-pmk-dur-btn,.inv-pmk-page-btn,.inv-pm-btn--ghost,.inv-hub-ap-card__btn--deact,.inv-tc-btn,.inv-tc-log-btn,.inv-tc-auto-btn,.inv-tc-speed-btn,.inv-pet-mil-login-prompt__btn,.inv-wbd-create-btn--return,.inv-arena-modal__close,.inv-pit-bank-drawer__close,.inv-pit-detail__close,.inv-pit-mbank__close,.inv-pit-tooltip__close,.inv-um__close,.inv-hub-ap__close,.inv-pet-evolve-modal__close,.inv-pw__close,.inv-wbd-gear-modal__close,.inv-wbd-modal__close,.inv-pet-modal__close,.inv-pmk-modal__close,.inv-pmk-sell-modal__close,.inv-exp-result__close){
	--gb-hi:var(--gb-steel-hi);--gb-mid:var(--gb-steel);--gb-lo:var(--gb-steel-lo);--gb-edge:var(--gb-steel-edge);--gb-ring:rgba(150,170,200,.16);--gb-glow:rgba(140,170,220,.18);
	--gb-ink:#c9d3df;--gb-ts:0 1px 2px rgba(0,0,0,.8)}
html body :is(.inv-arena-btn--primary,.inv-arena-btn--fight,.inv-arena-opp-card__btn,.inv-pit-btn--equip,.inv-pit-btn--upgrade,.inv-pit-craft-btn,.inv-pit-fuse__confirm-btn,.inv-pit-rp__fuse-btn,.inv-pit-up__mat-craft-btn,.inv-um__btn--confirm,.inv-pit-btn--sell-confirm,.inv-hub-evolve__btn,.inv-hub-sac-confirm__btn--confirm,.inv-pet-intro__start-btn,.inv-wiz-cta,.inv-wbd-create-btn,.inv-wbd-join-btn,.inv-wbd-start-btn,.inv-wbd-outcome__btn,.inv-wb-attack-btn,.inv-pet-modal-btn--primary,.inv-pmk-btn--buy,.inv-pmk-btn--bid,.inv-pmk-btn--list,.inv-pmk-sell-submit-btn,.inv-pm-btn--accept,.inv-pet-mil-claim-btn,.inv-exp-login__btn,.inv-game-login-cta,.inv-shop__login-btn,.inv-pet-hub__login-cta,.inv-wbd-vote-btn--yes,.inv-hub-ap-card__btn--act){
	--gb-hi:var(--gb-gold-hi);--gb-mid:var(--gb-gold);--gb-lo:var(--gb-gold-lo);--gb-edge:var(--gb-gold-edge);--gb-ring:var(--gb-trim);--gb-glow:rgba(245,180,60,.22);
	--gb-ink:var(--gb-gold-ink);--gb-ts:0 1px 2px rgba(0,0,0,.85)}
html body :is(.inv-arena-btn--danger,.inv-pit-btn--discard,.inv-pit-btn--dismantle,.inv-pit-btn--upgrade-risky,.inv-wbd-leave-btn--danger,.inv-pm-btn--reject){
	--gb-hi:var(--gb-blood-hi);--gb-mid:var(--gb-blood);--gb-lo:var(--gb-blood-lo);--gb-edge:var(--gb-blood-edge);--gb-ring:rgba(228,87,75,.28);--gb-glow:rgba(228,87,75,.22);
	--gb-ink:#fff1ee;--gb-ts:0 1px 2px rgba(0,0,0,.8)}
html body :is(.inv-arena-modal__close,.inv-pit-bank-drawer__close,.inv-pit-detail__close,.inv-pit-mbank__close,.inv-pit-tooltip__close,.inv-um__close,.inv-hub-ap__close,.inv-pet-evolve-modal__close,.inv-pw__close,.inv-wbd-gear-modal__close,.inv-wbd-modal__close,.inv-pet-modal__close,.inv-pmk-modal__close,.inv-pmk-sell-modal__close,.inv-exp-result__close){color:#f2c46a !important;letter-spacing:0;display:inline-flex;align-items:center;justify-content:center;min-width:2rem;min-height:2rem}

/* Square corners across every game surface (standing rule). True circles keep their shape:
   spinners, status dots, glows, rings, sprites/portraits/avatars, skill keys, pips, VFX. Pseudo
   elements are left alone (they are glows and decorations). */
:is(#inv-game-shell,#inv-pet-hub,#inv-pw-container,.inv-um,#inv-game-dialog,#inv-dng-float-tip) :not([class*=spinner],[class*=loading],[class*=dot],[class*=glow],[class*=ring],[class*=sprite],[class*=portrait],[class*=avatar],[class*=circle],[class*=pip],[class*=vfx],[class*=stage-shadow],[class*=timing],[class*=spark],[class*=scene],[class*=-vs],[class*=sk-icon],[class*=skill__],.inv-tc-skill,.inv-arena-skill-btn,.inv-prank-rank,.inv-tc-pot-trigger,.inv-tc-scroll-side,[class*=rune-ico],[class*=-ico] img,[class*=__q],.inv-wbd-lcard__slot,.inv-wbd-open-lobbies__count,.inv-hub-tab__center-ring,.inv-hub-pqa__stat,
	.inv-arena-actions__badge,.inv-arena-ai-turn__spinner,.inv-arena-battle__vs,.inv-arena-bpet__defeated,.inv-arena-bpet__sprite,.inv-arena-sds-icon,.inv-arena-skill-btn__circle,.inv-arena-turn-pip__img,.inv-avatar-photo,.inv-dng-auto-sc,.inv-dng-auto-sc__thumb,.inv-dng-boss-portrait,.inv-dng-dot,.inv-dng-dseal-icon,.inv-dng-log-toggle,.inv-dng-log-toggle__badge,.inv-dng-potion-slot__circle,.inv-dng-potion-slot__icon,.inv-dng-pre-boss-portrait,.inv-dng-quality-badge,.inv-dng-run-buff,.inv-dng-stage-info-btn,.inv-dng-team-pet__pick,.inv-dng-tpc-tickets,.inv-evo-flash,.inv-evo-rays,.inv-exp-loading,.inv-gpd__spinner,.inv-hub-ap__spinner,.inv-hub-pqa__ring,.inv-hub-spa__spinner,.inv-lb-level-dot,.inv-pet-alert-dot,.inv-pet-arena-lb__owner-avatar,.inv-pet-arena-podium__avatar,.inv-pet-battle-result__xp,.inv-pet-compact__sprite,.inv-pet-gift-user-option__avatar,.inv-pet-hero__mood-ring,.inv-pet-history-badge,.inv-pet-hub__door-glow-inner,.inv-pet-hub__door-glow-outer,.inv-pet-hub__nav-dot,.inv-pet-hub__portrait-glow,.inv-pet-hub__roster-active-dot,.inv-pet-intro__glow,.inv-pet-lb-avatar,.inv-pet-lb-skeleton__avatar,.inv-pet-mil-loading__spinner,.inv-pet-mission-item__reward-coins,.inv-pet-mission-item__reward-xp,.inv-pet-missions__badge,.inv-pet-nav__dot,.inv-pet-nav__pet-img,.inv-pet-path-badge,.inv-pet-rare-badge,.inv-pet-sel-card__dot,.inv-pet-widget__mood-dot,.inv-pet-widget__stage-badge,.inv-pit-rg__cell-ico,.inv-pit-rg__detail-ico,.inv-pit-rp__dot,.inv-pit-rp__dot-remove,.inv-pit-rp__rune-ico,.inv-pit-rune-slot__remove,.inv-pit-slot__new,.inv-pit-up__hero-img,.inv-pit-up__mat-ring,.inv-pit-wb__pip,.inv-play-card__glow,.inv-pprof-hdr__avatar,.inv-pprof-hdr__avatar--ph,.inv-pprof-scroll-btn,.inv-pprof-switcher__active-dot,.inv-ppv__avatar,.inv-ppv__avatar-placeholder,.inv-ppv__pav-photo,.inv-ppv__pav-placeholder,.inv-ppv__slot__rarity-dot,.inv-ppv__spinner,.inv-pr-spinner,.inv-prank-active-dot,.inv-prank-owner__avatar-ph,.inv-prank-rank,.inv-pw__spinner,.inv-rank-medal,.inv-sp__info,.inv-sp__toggle-plus,.inv-submit-rankings__remove-img,.inv-submit-rankings__step-num,.inv-tc-ctrl-btn,.inv-tc-ctrl-lvl,.inv-tc-log-btn,.inv-tc-log-btn__badge,.inv-tc-mob__sprite,.inv-tc-parchment-badge,.inv-tc-pet__sprite,.inv-tc-pot-fan__circle,.inv-tc-pot-fan__icon,.inv-tc-pot-fan__qty,.inv-tc-pot-trigger,.inv-tc-potion-slot__circle,.inv-tc-potion-slot__icon,.inv-tc-round-badge,.inv-tc-scroll-side,.inv-tc-sds-icon,.inv-tc-skill__icon,.inv-tc-skill__info,.inv-um__mat-ring,.inv-wb-chest-badge,.inv-wb-loading__spinner,.inv-wb-status-badge,.inv-wb-tc-sprite,.inv-wbd-gear-modal__avatar,.inv-wbd-slot-card__avatar,.inv-wiz-dot,.ipg-effects-cat-dot,.ipg-example__badge,.ipg-example__step-num,.ipg-mat-row__dot,.ipg-species-avatar,.is-equipped-badge),
:is(#inv-game-shell,#inv-pet-hub,#inv-pw-container,.inv-um,#inv-game-dialog){border-radius:0 !important}

/* BUY TICKET fix (owner 2026-11-20 "ticket butonları çok fazla renkli"): the redesign's per-currency
   rules ([data-currency] = one more attribute) out-ranked the steel plate, so with its dark inner
   layer hidden the whole button showed the bright cyan / violet fill. Same specificity + attribute
   here; the currency stays only as the trim ring and a faint label tint. */
html body .inv-dng-tier-pick-cards .inv-dng-tpc-buy[data-currency]{filter:none !important;
	background:linear-gradient(180deg,#2a3549 0%,#1c2536 46%,#121926 54%,#1a2333 100%) !important}
html body .inv-dng-tier-pick-cards .inv-dng-tpc-buy[data-currency]:hover:not(:disabled){filter:brightness(1.18) !important}
html body .inv-dng-tier-pick-cards .inv-dng-tpc-buy[data-currency] .inv-dng-tpc-buy__lbl{color:#c9d4e3 !important}
html body .inv-dng-tier-pick-cards .inv-dng-tpc-buy[data-currency] .inv-dng-tpc-buy__cost{color:#f2f5fa !important}
html body .inv-dng-tier-pick-cards .inv-dng-tpc-buy[data-currency] .inv-dng-tpc-buy__sep{background:rgba(150,170,200,.25) !important;border-color:rgba(150,170,200,.25) !important}

/* ==========================================================================
   Hub pet + XP bars (owner 2026-11-20: "pet havada gibi duruyor ... exp barlar vb daha iyi").
   The portrait bobbed 10px up and down forever (hub-portrait-float) with nothing under it, so the
   pet read as hanging in the air. Now it stands: a breathing motion anchored at the feet
   (transform-origin near the bottom, no vertical travel), a contact shadow and a warm floor pool.
   ========================================================================== */
html body .inv-pet-hub__portrait{animation:inv-pet-breathe 4.2s ease-in-out infinite;transform-origin:50% 90%}
@keyframes inv-pet-breathe{0%,100%{transform:scale(1,1)}50%{transform:scale(1.012,1.024)}}
html body .inv-pet-hub__portrait::before{content:"";position:absolute;z-index:-1;pointer-events:none;left:50%;bottom:1%;width:60%;height:7%;transform:translateX(-50%);
	background:radial-gradient(closest-side,rgba(0,0,0,.95) 0%,rgba(0,0,0,.75) 55%,rgba(0,0,0,0) 100%)}
}
@media (prefers-reduced-motion:reduce){html body .inv-pet-hub__portrait{animation:none}}

/* XP / Growth bars: a recessed bevelled channel with 10% notches, a lit fill with a shine and a
   glowing leading edge in the column colour (--col / --col-glow from pet-scroll-panel.css). */
html body .inv-sp__bar{height:12px !important;margin-top:6px;position:relative;overflow:hidden;border-radius:0 !important;
	background:linear-gradient(180deg,#05080f,#0d1424) !important;border:1px solid #070a12;
	box-shadow:inset 0 2px 3px rgba(0,0,0,.8),0 0 0 1px color-mix(in srgb,var(--col,#94a3b8) 35%,transparent),0 1px 0 rgba(255,255,255,.05)}
html body .inv-sp__bar::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:2;
	background:repeating-linear-gradient(90deg,transparent 0,transparent calc(10% - 1px),rgba(0,0,0,.55) calc(10% - 1px),rgba(0,0,0,.55) 10%)}
html body .inv-sp__bar-fill{position:relative;height:100% !important;border-radius:0 !important;
	box-shadow:0 0 10px var(--col-glow,rgba(255,255,255,.3)),inset 0 -2px 0 rgba(0,0,0,.25)}
html body .inv-sp__bar-fill::before{content:"";position:absolute;left:0;right:0;top:0;height:45%;background:linear-gradient(180deg,rgba(255,255,255,.45),rgba(255,255,255,0))}
html body .inv-sp__bar-fill::after{content:"";position:absolute;right:-1px;top:-2px;bottom:-2px;width:3px;background:#fff;box-shadow:0 0 8px 2px var(--col-glow,rgba(255,255,255,.6));opacity:.9}
html body .inv-sp__col{border-radius:0 !important}

/* Hub pet on the floor of the background photo (owner 2026-11-20: "arka plandaki fotoğrafa
   oturtacaksın ... onun oturması gereken yer var" = the rune circle on the floor). The Feed / Train
   row sat under the pet and lifted it onto the wall; it now flanks the pet (phones too), so the
   pet drops to the bottom of the stage and stands on the circle. */
/* Crescent of round medallions around the pet (owner 2026-11-20: "yuvarlak bir buton gibi yapıp pet
   imagesinin etrafına sağ ve soluna hilal gibi dizelim ... gelecek yeni butonlarda oraya gelir").
   The layer covers the stage; game-nav.js (layoutCrescent) puts each visible button on an arc
   around the pet: Feed (and any button with data-side="left") on the left, everything else on
   the right, spread 34deg apart. A new button only needs to be a child of .inv-hub-pqa.
   Round is the owner's call for these medallions (exception to the square-corner rule). */
html body .inv-pet-hub__main .inv-hub-pqa{position:absolute;inset:0;z-index:3;pointer-events:none;display:block;margin:0;padding:0;visibility:hidden}
html body .inv-pet-hub__main .inv-hub-pqa.is-crescent{visibility:visible}
html body .inv-hub-pqa > .inv-hub-pqa__btn,html body .inv-hub-pqa > .inv-hub-pqa__train-wrap{position:absolute;transform:translate(-50%,-50%);pointer-events:auto;margin:0}
/* Train stat picker = a compass fan (owner 2026-11-20: "train butonuna basınca açılan pergel gibi
   seçenekleri çıkartsana"). The picker is a zero-size anchor on Train's centre; layoutCrescent sets
   each stat's --dx/--dy on an arc around Train (outward, or upward when there is no room) and they
   spring out of the Train medallion. */
html body .inv-hub-pqa > .inv-hub-pqa__picker{position:absolute;width:0 !important;height:0 !important;max-width:none !important;padding:0 !important;margin:0;
	background:none !important;border:0 !important;box-shadow:none !important;transform:none !important;bottom:auto !important;right:auto !important;display:block;pointer-events:none;z-index:4}
html body .inv-hub-pqa > .inv-hub-pqa__picker[hidden]{display:none}
html body .inv-hub-pqa .inv-hub-pqa__stat{--sc:#f87171;position:absolute;left:0;top:0;width:50px;height:50px;min-width:0;padding:0;display:flex;align-items:center;justify-content:center;pointer-events:auto;
	border:0 !important;border-radius:50%; /* round-ok: owner asked for round medallions 2026-11-20 */
	background:radial-gradient(circle at 50% 35%,#1d2340 0%,#0a0e1c 72%) !important;color:var(--sc) !important;font-size:0 !important;
	box-shadow:inset 0 2px 5px rgba(255,255,255,.12),inset 0 -5px 10px rgba(0,0,0,.6);
	transform:translate(calc(-50% + var(--dx,0px)),calc(-50% + var(--dy,0px)));animation:inv-fan-out .22s cubic-bezier(.2,1.4,.4,1) both;animation-delay:var(--fd,0s);transition:box-shadow .15s,filter .15s}
html body .inv-hub-pqa .inv-hub-pqa__stat:hover{filter:brightness(1.2);box-shadow:0 0 20px var(--sc),inset 0 2px 5px rgba(255,255,255,.18),inset 0 -5px 10px rgba(0,0,0,.6)}
html body .inv-hub-pqa .inv-hub-pqa__stat-ico{width:30px;height:30px}
/* the stat name sits under its medallion (the button's text node is hidden by font-size:0) */
html body .inv-hub-pqa .inv-hub-pqa__stat::after{content:attr(data-label);position:absolute;top:calc(100% + 3px);left:50%;transform:translateX(-50%);white-space:nowrap;
	font:700 .62rem/1 Rajdhani,sans-serif;letter-spacing:.1em;color:var(--sc);text-shadow:0 1px 2px #000,0 0 6px #000}
html body .inv-hub-pqa .inv-hub-pqa__stat--atk{--sc:#f87171}
html body .inv-hub-pqa .inv-hub-pqa__stat--def{--sc:#60a5fa}
html body .inv-hub-pqa .inv-hub-pqa__stat--mgc{--sc:#c084fc}
html body .inv-hub-pqa .inv-hub-pqa__stat--mdef{--sc:#a78bfa}
@keyframes inv-fan-out{from{opacity:0;transform:translate(-50%,-50%) scale(.3)}to{opacity:1;transform:translate(calc(-50% + var(--dx,0px)),calc(-50% + var(--dy,0px))) scale(1)}}
@media (prefers-reduced-motion:reduce){html body .inv-hub-pqa .inv-hub-pqa__stat{animation:none}}
/* feed / train result notice: centred under the pet at full size (an old inset rule pinned right/bottom and squeezed it to 20px — owner 2026-11-20 "bildirim görünmüyor bile") */
html body .inv-hub-pqa > .inv-feed-notice{position:absolute;left:50% !important;top:auto !important;right:auto !important;bottom:10px !important;width:max-content;max-width:min(440px,92vw);height:auto !important;transform:translateX(-50%);pointer-events:auto;z-index:6}
html body .inv-hub-pqa .inv-hub-pqa__btn{flex-direction:column !important;gap:4px !important;padding:0 !important;min-width:0 !important;background:none !important;border:0 !important;box-shadow:none !important;clip-path:none !important}
html body .inv-hub-pqa .inv-hub-pqa__btn::before,html body .inv-hub-pqa .inv-hub-pqa__btn::after{display:none !important}
html body .inv-hub-pqa .inv-hub-pqa__ring{width:66px !important;height:66px !important;border-radius:50%; /* round-ok: owner asked for round medallions 2026-11-20 */
	background:radial-gradient(circle at 50% 35%,#1d2340 0%,#0a0e1c 70%);
	box-shadow:0 0 0 2px var(--md,#c9a46a),inset 0 2px 6px rgba(255,255,255,.12),inset 0 -6px 12px rgba(0,0,0,.6);transition:transform .15s,box-shadow .15s}
html body .inv-hub-pqa .inv-hub-pqa__ring::before{inset:-2px !important;-webkit-mask:radial-gradient(farthest-side,#0000 calc(100% - 2px),#000 calc(100% - 2px)) !important;mask:radial-gradient(farthest-side,#0000 calc(100% - 2px),#000 calc(100% - 2px)) !important} /* medallion rim 4px → 2px (user 11-24 "kenarlık çok kalın"); cooldown sweep rides the rim */
html body .inv-hub-pqa img.inv-hub-pqa__icon{width:42px !important;height:42px !important}
html body .inv-hub-pqa .inv-hub-pqa__icon--glyph{font-size:1.7rem;color:#f5d68a}
html body .inv-hub-pqa .inv-hub-pqa__btn:not(:disabled):hover .inv-hub-pqa__ring{transform:scale(1.07);
	box-shadow:0 0 0 2px var(--md,#c9a46a),0 0 22px var(--md,#c9a46a),inset 0 2px 6px rgba(255,255,255,.18),inset 0 -6px 12px rgba(0,0,0,.6)}
html body .inv-hub-pqa .inv-hub-pqa__text{align-items:center !important}
html body .inv-hub-pqa .inv-hub-pqa__label{font-family:Rajdhani,sans-serif;font-size:.8rem !important;color:#f5e6c4 !important;letter-spacing:.14em !important;text-shadow:0 1px 2px #000,0 0 8px #000;
	padding:1px 8px;background:linear-gradient(90deg,transparent,rgba(4,6,12,.85) 20%,rgba(4,6,12,.85) 80%,transparent)}
html body .inv-hub-pqa .inv-hub-pqa__cd,html body .inv-hub-pqa .inv-hub-pqa__cost{text-shadow:0 1px 2px #000}
html body .inv-hub-pqa__btn--feed{--md:#e0a040}
html body .inv-hub-pqa__btn--train{--md:#8b93ff}
html body .inv-hub-pqa__btn--evolve{--md:#f2c14e}
html body .inv-hub-pqa__btn--path{--md:#c084fc}
@media (max-width:899px){
	html body .inv-hub-pqa .inv-hub-pqa__ring{width:54px !important;height:54px !important}
	html body .inv-hub-pqa img.inv-hub-pqa__icon{width:34px !important;height:34px !important}
	html body .inv-hub-pqa .inv-hub-pqa__label{font-size:.7rem !important}
}
html body .inv-pet-hub__portrait-wrap{margin-bottom:-10px}
@media (max-width:899px){
	html body .inv-pet-hub__portrait-wrap{margin-bottom:-6px}
}

/* The square-corner rule above skips every element the game CSS draws round on purpose (border-radius
   50% / pill): notification dots (the bag's new-item dot), badges, avatars, spinners, rank medals,
   sprites. Square corners are for boxes, not for dots (owner 2026-11-20 "abartma"). */

/* Hub bottom bar overlays the stage (owner 2026-11-20: opening EXP / Growth scrolls pushed the pet
   up; "pet image arkada kalsın bu seçenekler açılsın"). The bar is pinned to the bottom; the stage
   keeps the room of the bar's THIN-STRIP height (--inv-hub-bar-h, measured by game-nav.js), so
   expanding the panel or a scroll drawer covers the pet instead of moving it. */
html body .inv-pet-hub__bottom-bar{position:absolute;left:0;right:0;bottom:0}
html body .inv-pet-hub__game-area{margin-bottom:var(--inv-hub-bar-h,146px)}
.inv-sp.inv-sp--measure .inv-sp__acc,.inv-sp.inv-sp--measure .inv-sp__infobox{display:none !important}

/* ==========================================================================
   My Pets roster as portrait cards (owner 2026-11-20: "aoem'deki gibi pet profile fotoğrafları
   gibi ... arka planlarına stagelerine göre background ... seviyesini yazarız"). Two-column grid of
   3:4 portraits; the backdrop colour follows the pet's STAGE on the site's single rarity palette
   (egg common → stage 5 mythical); level top-left, feed / train marks top-right, name + stage on a
   dark strip at the bottom, the active pet in a gold frame. Square corners.
   ========================================================================== */
/* flex-wrap, not grid: the list has a fixed height, and a grid squeezed its rows to fit it (39px rows under 110px cards) */
html body .inv-pet-hub__roster-list{display:flex !important;flex-direction:row;flex-wrap:wrap;align-content:flex-start;gap:6px}
html body .inv-pet-hub__roster-item{--st:#9ca3af;position:relative;display:block !important;flex:0 0 calc(50% - 3px);width:calc(50% - 3px);height:auto;aspect-ratio:3/4;padding:0 !important;margin:0;overflow:hidden;text-align:center;
	border:1px solid #070a12 !important;border-radius:0 !important;
	background:radial-gradient(120% 85% at 50% 36%,color-mix(in srgb,var(--st) 52%,#0b1020) 0%,color-mix(in srgb,var(--st) 20%,#070b16) 55%,#04060c 100%) !important;
	box-shadow:0 0 0 1px color-mix(in srgb,var(--st) 50%,transparent),inset 0 0 0 1px rgba(255,255,255,.07);transition:filter .15s,box-shadow .15s}
html body .inv-pet-hub__roster-item[data-stage="1"]{--st:#22c55e}
html body .inv-pet-hub__roster-item[data-stage="2"]{--st:#3b82f6}
html body .inv-pet-hub__roster-item[data-stage="3"]{--st:#a855f7}
html body .inv-pet-hub__roster-item[data-stage="4"]{--st:#f59e0b}
html body .inv-pet-hub__roster-item[data-stage="5"]{--st:#ef4444}
html body .inv-pet-hub__roster-item:hover{filter:brightness(1.18);box-shadow:0 0 0 1px var(--st),0 0 12px color-mix(in srgb,var(--st) 45%,transparent),inset 0 0 0 1px rgba(255,255,255,.1)}
/* the colour edge at the foot of the card, like a quality bar */
html body .inv-pet-hub__roster-item::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--st);box-shadow:0 0 8px var(--st);z-index:3}
html body .inv-pet-hub__roster-img{position:absolute;left:50%;top:7%;width:94%;height:68%;transform:translateX(-50%);object-fit:contain;filter:drop-shadow(0 4px 6px rgba(0,0,0,.7));z-index:1}
html body .inv-pet-hub__roster-info{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:16px 4px 5px;background:linear-gradient(180deg,rgba(4,6,12,0) 0%,rgba(4,6,12,.9) 45%,rgba(4,6,12,.96) 100%)}
html body .inv-pet-hub__roster-name{font-size:.7rem;color:#f3f4f6;text-shadow:0 1px 2px #000;line-height:1.15}
html body .inv-pet-hub__roster-sub{font-size:.52rem;color:color-mix(in srgb,var(--st) 75%,#fff);letter-spacing:.08em;line-height:1.2}
html body .inv-pet-hub__roster-lvl{position:absolute;top:3px;left:3px;z-index:3;font-family:Rajdhani,sans-serif;font-weight:700;font-size:.62rem;line-height:1;letter-spacing:.04em;
	color:#fff;padding:2px 4px;background:rgba(4,6,12,.85);border:1px solid color-mix(in srgb,var(--st) 70%,transparent);text-shadow:0 1px 1px #000}
html body .inv-pet-hub__roster-badges{position:absolute;top:3px;right:3px;z-index:3;margin:0;padding:0;gap:1px;font-size:.62rem}
html body .inv-pet-hub__roster-release{position:absolute;right:2px;top:38%;z-index:3;margin:0;width:20px;height:20px;font-size:.75rem;border-radius:0 !important;opacity:0 !important;background:rgba(4,6,12,.8)}
html body .inv-pet-hub__roster-item:hover .inv-pet-hub__roster-release,html body .inv-pet-hub__roster-release:focus-visible{opacity:1 !important}
@media (hover:none){html body .inv-pet-hub__roster-release{opacity:.7 !important}}
html body .inv-pet-hub__roster-item.is-active{box-shadow:0 0 0 2px #f5c04a,0 0 14px rgba(245,192,74,.55),inset 0 0 0 1px rgba(255,236,190,.35) !important}
html body .inv-pet-hub__roster-active-dot{display:none}
/* the pet's chosen path (warrior / sage / sentinel) as an emblem under the level */
html body .inv-pet-hub__roster-path{position:absolute;top:19px;left:3px;z-index:3;width:20px;height:20px;object-fit:contain;padding:1px;
	background:rgba(4,6,12,.85);border:1px solid color-mix(in srgb,var(--pc,#f59e0b) 75%,transparent);box-shadow:0 0 6px color-mix(in srgb,var(--pc,#f59e0b) 45%,transparent)}
/* icons dead-centre in the medallions (owner 2026-11-20 "iconları tam ortala"): the stat button's
   6px gap to its hidden text pushed the icon 3px left; the glyph needs line-height 1; the painted
   icons whose art sits off the middle of their canvas get an optical nudge (measured alpha bounds). */
html body .inv-hub-pqa .inv-hub-pqa__stat{gap:0 !important}
html body .inv-hub-pqa .inv-hub-pqa__icon--glyph{display:flex;align-items:center;justify-content:center;width:100%;height:100%;line-height:1}
html body .inv-hub-pqa__btn--feed img.inv-hub-pqa__icon{transform:translate(-2%,1.5%)}
html body .inv-hub-pqa__stat--atk .inv-hub-pqa__stat-ico{transform:translateX(2%)}
html body .inv-hub-pqa__stat--mgc .inv-hub-pqa__stat-ico{transform:translate(-3%,2%)}

/* Combat Speed / Auto toggles (owner 2026-11-20: "3x hız butonu tam istediğimiz gibi değil ... auto
   mod açıkken buton farklı bir renge boyansın ki açık olduğu belli olsun"). Both are steel plates;
   switched on they light up: Auto ON green, 2× / 3× speed amber, with a lit ring and a glow. */
html body .inv-tc-auto-btn.active,html body .inv-tc-speed-btn.active{color:color-mix(in srgb,var(--tg) 70%,#fff) !important;text-shadow:0 1px 2px #000 !important;
	background:linear-gradient(180deg,color-mix(in srgb,var(--tg) 22%,#1a2230) 0%,color-mix(in srgb,var(--tg) 12%,#0c121c) 55%,color-mix(in srgb,var(--tg) 8%,#070b12) 100%) !important;
	box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;border-color:color-mix(in srgb,var(--tg) 70%,#000) !important}
html body .inv-tc-auto-btn{--tg:#4fae6a}
html body .inv-tc-speed-btn{--tg:#d9a040}

/* Balance earn / spend feedback (game-nav.js): the counter pops in the change colour and a +N / −N
   chip floats up from it. */
.inv-bal-pop{display:inline-block;animation:inv-bal-pop .6s cubic-bezier(.2,1.5,.4,1)}
.inv-bal-pop.is-gain{color:#86efac !important;text-shadow:0 0 10px rgba(134,239,172,.8)}
.inv-bal-pop.is-spend{color:#fca5a5 !important;text-shadow:0 0 10px rgba(248,113,113,.8)}
@keyframes inv-bal-pop{0%{transform:scale(1)}35%{transform:scale(1.28)}100%{transform:scale(1)}}
.inv-bal-chip{position:fixed;z-index:100000;transform:translateX(-50%);pointer-events:none;white-space:nowrap;
	font:800 .9rem/1 Rajdhani,sans-serif;letter-spacing:.04em;padding:3px 8px;background:rgba(4,6,12,.88);
	border:1px solid currentColor;text-shadow:0 1px 2px #000;animation:inv-bal-chip 1.25s ease-out forwards}
.inv-bal-chip.is-gain{color:#fcd34d;box-shadow:0 0 12px rgba(252,211,77,.45)}
.inv-bal-chip.is-spend{color:#f87171;box-shadow:0 0 12px rgba(248,113,113,.45)}
.inv-bal-chip.is-gain::before,.inv-bal-chip.is-spend::before{content:"";display:inline-block;width:14px;height:14px;margin-right:4px;vertical-align:-2px;background:center/contain no-repeat}
.inv-bal-chip.is-wc::before{background-image:url(../images/war-coin.webp)}
.inv-bal-chip.is-sc::before{background-image:url(../images/soul_coin.webp)}
@keyframes inv-bal-chip{0%{opacity:0;transform:translate(-50%,6px) scale(.7)}15%{opacity:1;transform:translate(-50%,0) scale(1.1)}30%{transform:translate(-50%,-4px) scale(1)}100%{opacity:0;transform:translate(-50%,-34px)}}
@media (prefers-reduced-motion:reduce){.inv-bal-pop,.inv-bal-chip{animation:none}}

/* Selected state for every plate (owner 2026-11-20: "hangi butona tıkladığımı anlayamıyorum ... buy now
   kısmında olduğumu anlayamıyorum veya kaç saat seçtiğimi"). The steel restyle had flattened the
   pages' own .active / .selected looks. A chosen option now turns into the gold plate with a lit
   ring and a gold underline mark, wherever it is (market mode / duration, tabs, filters, pickers).
   Only the --gb-* variables change, so non-plate elements are unaffected; the combat Auto / Speed
   toggles keep their own green / amber lit state. */
html body :is(.active,.is-active,.selected,.is-selected,[aria-pressed="true"],[aria-selected="true"]):not(.inv-tc-auto-btn,.inv-tc-speed-btn){
	--gb-hi:var(--gb-gold-hi);--gb-mid:var(--gb-gold);--gb-lo:var(--gb-gold-lo);--gb-edge:var(--gb-gold-edge);--gb-edge:#e2b45a;--gb-ring:transparent;--gb-glow:transparent;
	--gb-ink:#ffe3a3;--gb-ts:0 1px 2px rgba(0,0,0,.85)}

/* 2026-11-21 — flat dark-legacy pass follow-ups.
   1) Tier ENTER: pet-dungeon-redesign.css paints a yellow slab per tier through
      `.inv-dng-tpc[data-tier="…"] .inv-dng-tpc-enter`, which out-specifies the plate above; this
      selector carries the attribute too, so the gold plate wins on every tier. */
html body .inv-dng-tier-pick-cards .inv-dng-tpc[data-tier] .inv-dng-tpc-enter{
	background:linear-gradient(180deg,var(--gb-gold-hi) 0%,var(--gb-gold-lo) 100%);color:var(--gb-gold-ink);
	border:1px solid var(--gb-gold-edge);text-shadow:0 1px 2px rgba(0,0,0,.85);
	box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 2px 6px rgba(0,0,0,.45)}
html body .inv-dng-tier-pick-cards .inv-dng-tpc[data-tier] .inv-dng-tpc-enter:hover:not(:disabled){filter:brightness(1.18);transform:none}
/* 2) Hub: the pet bar (level / growth XP) is an absolute layer at z 30 over the stage; the Stats
      sheet (#inv-stats-section, z 11) opened underneath it and the bar cut the sheet in two
      (owner 2026-11-21). While a sheet is open the bar steps aside. */
html body .inv-pet-hub.is-stats-open .inv-pet-hub__bottom-bar{opacity:0;pointer-events:none;visibility:hidden}
/* 3) Marketplace Browse / My Listings tabs and the sell CTA were still the page's own orange
      slabs; the SC balance chip was a green pill. Same flat plates. */
html body .inv-pmk-tab{border-radius:0;font-family:var(--gb-font);font-weight:700;text-transform:uppercase;letter-spacing:.1em;background:linear-gradient(180deg,var(--gb-steel-hi),var(--gb-steel-lo));border:1px solid var(--gb-steel-edge);color:#c9d3df;box-shadow:inset 0 1px 0 rgba(255,255,255,.05),0 2px 6px rgba(0,0,0,.45)}
html body .inv-pmk-tab:hover{filter:brightness(1.18);border-color:var(--gb-steel-edge);color:#c9d3df}
html body .inv-pmk-tab.active{background:linear-gradient(180deg,var(--gb-gold-hi),var(--gb-gold-lo));border-color:#e2b45a;color:#ffe3a3}
html body .inv-pmk-tab--sell-cta,html body .inv-pmk-tab--sell-cta:hover{background:linear-gradient(180deg,var(--gb-gold-hi),var(--gb-gold-lo));border-color:var(--gb-gold-edge);color:var(--gb-gold-ink)}
html body .inv-pmk-sc-badge{border-radius:0;background:#10151e;border:1px solid #2f5a3a;color:#8fd3a3}
/* 4) Ticket buy buttons: SC (steel) and WC (gold) are different plates now, and the currency is
      spelled out next to the cost. */
html body .inv-dng-tpc-buy__cur{font-size:.68rem;font-weight:800;letter-spacing:.08em;opacity:.85;margin-left:2px}
html body .inv-dng-tier-pick-cards .inv-dng-tpc-buy[data-currency="wc"]{background:linear-gradient(180deg,var(--gb-gold-hi) 0%,var(--gb-gold-lo) 100%) !important;border-color:var(--gb-gold-edge) !important}
html body .inv-dng-tpc-buy[data-currency="wc"] .inv-dng-tpc-buy__lbl,html body .inv-dng-tpc-buy[data-currency="wc"] .inv-dng-tpc-buy__cost,html body .inv-dng-tpc-buy[data-currency="wc"] .inv-dng-tpc-buy__cur{color:var(--gb-gold-ink) !important}
