/* new-mine (15/11/2026): the mining concept (05-SCREEN\Tasarım\src\maden, theme A) as the one stylesheet of every user page.
   One shell, one card, one button, one table vocabulary; a page never carries its own wrapper width or card look. */
:root {
  /* 16/11/2026: dark controls and a dark autofill box from the browser itself */
  color-scheme: dark;
  --font: "Rubik", system-ui, sans-serif;
  --bg: #2f343a;
  --bg-tex: none;
  --panel: rgba(30, 34, 39, .82);
  --panel-2: rgba(255, 255, 255, .05);
  --line: rgba(255, 255, 255, .08);
  --ink: #eef1f4;
  --ink-2: #c3cad2;
  --muted: #8d97a2;
  --act-1: #4fc3cf;
  --act-2: #1f6f7d;
  --act-ink: #fff;
  --rw-1: #f7cd5b;
  --rw-2: #c98a1d;
  --rw-ink: #2a1a05;
  --hl: #f2b84b;
  --good: #7ed37a;
  --bad: #f06a6a;
  --head: #5b4b45;
  --scene: radial-gradient(120% 90% at 50% 100%, #3c4a52 0%, #20272d 60%, #14181c 100%);
  --floor: linear-gradient(180deg, #2a2620, #1a1713);
  --radius: 18px;
  --radius-s: 999px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --card: var(--panel);
  --edge: inset 0 0 0 0 transparent;
  --blur: 6px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-tex), var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; cursor: pointer; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 700; }

/* ---------- shared pieces ---------- */
.coin {
  display: inline-block;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  vertical-align: -.12em;
  background: url(/images/mine/nug.webp) center / 100% no-repeat;
  flex: none;
}
/* 17/11/2026: two units: .coin = NUG (spending, gold nugget), .coin.dig = DIG (what the mine digs, withdrawable, pickaxe coin) */
.coin.dig { background-image: url(/images/mine/dig.webp); background-size: 100%; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--edge), var(--shadow);
  padding: 18px;
  backdrop-filter: blur(var(--blur));
}
/* 15/11/2026 stone slab: a theme fills --slab (texture), --slab-shadow (rim) and --slab-filter (chipped edge); empty = plain card */
.card, .item { position: relative; isolation: isolate; border-color: var(--card-line, var(--line)); }
.card::before, .item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--slab-radius, inherit);
  background: var(--slab, none);
  background-size: var(--slab-size, auto);
  box-shadow: var(--slab-shadow, none);
  filter: var(--slab-filter, none);
  pointer-events: none;
}
/* a card inside a card (shop items) is glass over the outer slab, not a second slab */
.card .item, .card .card { background: var(--inner, var(--card)); border-color: var(--inner-line, var(--line)); box-shadow: var(--inner-edge, var(--edge)), var(--inner-shadow, var(--shadow)); }
/* every glass surface inside a slab blurs the stone behind it (tiles, method buttons, feature chips, small chips) */
.card .item, .card .card, .methods a, .methods button, .hero .feats span, .card .pill, .card .seg, .card .tabs, .ref-top .share > a, .wl-ic, .card .reflink, .card .note, .card .kpi, .card .btn.ghost, .card .tag { -webkit-backdrop-filter: blur(var(--inner-blur, var(--blur))) saturate(1.15); backdrop-filter: blur(var(--inner-blur, var(--blur))) saturate(1.15); }
.card .item::before, .card .card::before { content: none; }
/* 15/11/2026: a card title is carved into the slab: brass medallion, shadowed letters, a groove under the row */
.card > h2 { font-size: 16px; margin: -2px 0 12px; padding-bottom: 11px; display: flex; align-items: center; gap: 10px; text-shadow: 0 1px 0 rgba(0, 0, 0, .55); border-bottom: 1px solid rgba(0, 0, 0, .32); box-shadow: 0 1px 0 rgba(255, 255, 255, .07); }
.card > h2 > i:first-child { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: var(--rw-ink); text-shadow: none; background: linear-gradient(180deg, var(--rw-1), var(--rw-2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 2px 4px rgba(0, 0, 0, .45); }
.card > h2 .more { margin-left: auto; font-size: 13px; font-weight: 500; color: var(--hl); }
.muted { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-s);
  padding: 10px 22px;
  font: 600 14px var(--font);
  color: var(--act-ink);
  background: linear-gradient(180deg, var(--act-1), var(--act-2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 3px 0 rgba(0, 0, 0, .25), 0 0 16px color-mix(in srgb, var(--act-1) 30%, transparent);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.08); }
/* a price wrapped in its own span (Open / Buy on the game page) keeps the same coin gap as a bare price */
.btn > span:has(> .coin) { display: inline-flex; align-items: center; gap: 6px; }
.btn.sm { padding: 7px 14px; font-size: 13px; }
.btn.lg { padding: 13px 30px; font-size: 16px; }
.btn.rw { background: linear-gradient(180deg, var(--rw-1), var(--rw-2)); color: var(--rw-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 3px 0 rgba(0, 0, 0, .25), 0 0 18px color-mix(in srgb, var(--rw-1) 40%, transparent); }
.btn.ghost { background: var(--panel-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn[disabled] { opacity: .45; cursor: default; filter: grayscale(.6); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-s);
  background: var(--panel-2);
  border: 1px solid var(--line);
  font-size: 13px;
  white-space: nowrap;
}
.pill b { font-weight: 600; }
.tag { font-size: 12px; padding: 2px 8px; border-radius: var(--radius-s); background: color-mix(in srgb, var(--hl) 18%, transparent); color: var(--hl); font-weight: 600; }

.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-bottom: 12px; }
.field label { font-size: 13px; color: var(--muted); }
/* 16/11/2026 user ("input alanın hatalı ... text rengi değil sorun tasarımı"): a field is a sunk well, darker than the glass
   around it, so an empty and a filled field never look alike; the well colour is solid so the browser's autofill can be
   painted over with exactly the same colour */
.field .in, .adm-line .in, .item.wl .in, .wd-move .in {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--well, #171b21);
  border: 1px solid var(--well-line, rgba(255, 255, 255, .1));
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, .4), 0 1px 0 rgba(255, 255, 255, .05);
  transition: border-color .15s, box-shadow .15s;
}
.field input, .field select, .adm-line input, .adm-line select {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 500 15px var(--font);
}
.field select option { color: #111; }
.field .in:focus-within, .adm-line .in:focus-within, .item.wl .in:focus-within, .wd-move .in:focus-within { border-color: color-mix(in srgb, var(--act-1) 75%, transparent); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .4), 0 0 0 3px color-mix(in srgb, var(--act-1) 22%, transparent); }
.field .in > i, .item.wl .in > i { width: 16px; text-align: center; color: var(--muted); }
/* the browser's autofill box is covered with the well's own solid colour, the text keeps the ink colour */
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active { -webkit-text-fill-color: var(--ink); caret-color: var(--ink); -webkit-box-shadow: 0 0 0 1000px var(--well, #171b21) inset; box-shadow: 0 0 0 1000px var(--well, #171b21) inset; font: 500 15px var(--font); }

/* 16/11/2026: tabs are one sunk track, the open one lit like the top menu; a filled gold pill read as a second button */
.tabs { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; width: max-content; max-width: 100%; margin: 0 auto 14px; padding: 4px; border-radius: var(--radius-s); background: rgba(0, 0, 0, .28); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .45), 0 1px 0 rgba(255, 255, 255, .06); }
.tabs a { padding: 6px 16px; border-radius: var(--radius-s); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--hl); background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line), inset 0 -2px 0 var(--hl); }

table.tb { width: 100%; border-collapse: collapse; font-size: 14px; }
/* 15/11/2026: a log, not an admin grid: quiet sortable headers, icon + event first, muted time, coloured amounts */
.tb th { text-align: left; font-weight: 500; font-size: 12px; padding: 4px 12px 8px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tb tbody tr:hover td { background: rgba(255, 255, 255, .035); }
.tb td.ev { color: var(--ink); }
.tb td.ev i { width: 26px; height: 26px; margin-right: 10px; border-radius: 8px; display: inline-grid; place-items: center; font-size: 12px; color: var(--hl); background: rgba(0, 0, 0, .28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.tb td.when { color: var(--muted); font-size: 13px; }
/* 18/11/2026: a rejected payout's reply in the history wraps in its own cell; the saved wallet's Change sits at the field's end */
.tb td.note-cell { white-space: normal; min-width: 260px; max-width: 420px; color: var(--muted); font-size: 13px; }
.wd-form .in .addr + .btn { margin-left: auto; flex: none; }
.tb td.up { color: var(--good); font-weight: 600; }
.tb td.down { color: var(--bad); font-weight: 600; }
.tb th::after { content: " ↕"; opacity: .4; font-size: 11px; }
.tb td { padding: 7px 12px; border-top: 1px solid rgba(0, 0, 0, .22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); white-space: nowrap; }
.tb td.num, .tb th.num { text-align: right; }
.scroll { overflow-x: auto; }

/* ---------- header and navigation ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 24px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: .2px; }
/* 16/11/2026 user: "logoyu ... taşı sayfanın soluna dayama": the logo lines up with the page column (.shell 1240) inside its
   grid cell, so the menu stays in the middle of the bar */
.top .logo { margin-left: max(0px, calc((100vw - 1240px) / 2)); }
.logo .mk { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(180deg, var(--rw-1), var(--rw-2)); color: var(--rw-ink); font-size: 18px; }
/* 16/11/2026 brand pack: the mole mark replaces the hammer tile (it carries its own gold frame) */
.logo img.mk { display: block; background: none; border-radius: 10px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45)); }
.logo em { font-style: normal; color: var(--hl); }
/* 16/11/2026 user: "logo-full.webp diye ... neden kullanmıyorsun": the pack's whole logo (mole, word mark, tagline) is the
   header logo; the square mole mark stands in only where the user strip has no room (phone) */
.logo img.lf { display: block; height: 60px; width: auto; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .4)); }
.logo img.lf + img.mk { display: none; }

/* 16/11/2026: logo | picture menu in the true middle | account capsule + tools; the capsule holds balance, rate per hour and per day */
.top:has(> .top-r) { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.top:has(> .top-r) .nav { margin: 0; }
/* 17/11/2026 (one account showed the day rate over the Bonus menu at 80% browser zoom, not at 100%): the capsule fits the
   room its cell really has, whatever the zoom or the player's numbers.
   17/11/2026 user ("bakiye kartlarını ... alt alta ... sağa gereksiz kayma var"): the bar's content keeps to the page column
   (.shell 1240 less its 24 padding; a padding % reads the page width without the scrollbar, 100vw did not), the balances
   stand one over the other and the two rates are a second column. When the rates do not fit they wrap onto the hidden
   second line; the two balances always stay */
.top:has(> .top-r) { padding-left: max(24px, calc((100% - 1192px) / 2)); padding-right: max(24px, calc((100% - 1192px) / 2)); }
.top:has(> .top-r) .logo { margin-left: 0; }
.top-r { display: flex; align-items: center; justify-content: flex-end; min-width: 0; }
.top-rs { display: flex; align-items: center; gap: 12px; flex: none; min-width: 0; max-width: 100%; }
.top-rs .acct { flex: 0 1 auto; min-width: 0; max-width: 100%; flex-wrap: wrap; max-height: 50px; overflow: hidden; }
.top-rs .tools, .top-rs .guest-in { flex: none; }
/* 17/11/2026 user: NUG and DIG are two cards, NUG leads to Top up, DIG to Withdraw; the rates beside them are plain text */
.acct { display: flex; align-items: stretch; gap: 0; white-space: nowrap; }
.acct .bals, .acct .rates { display: grid; grid-auto-rows: 23px; gap: 3px; }
.acct .bal { display: flex; align-items: center; gap: 6px; padding: 0 8px 0 5px; border-radius: 8px; background: color-mix(in srgb, var(--hl) 12%, var(--panel-2)); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); color: var(--ink); font-size: 16px; font-weight: 800; transition: border-color .15s, color .15s; }
.acct .bal .coin { width: 18px; height: 18px; }
.acct .bal small { color: var(--muted); font-size: 12px; font-weight: 700; margin-left: -1px; }
.acct .bal .go { margin-left: auto; padding-left: 4px; font-size: 10px; color: var(--muted); }
.acct .bal:hover { border-color: color-mix(in srgb, var(--hl) 60%, var(--line)); color: var(--hl); }
.acct .bal:hover .go { color: var(--hl); }
.acct .bal.dig { background: color-mix(in srgb, var(--good) 10%, var(--panel-2)); }
.acct .rates { margin-left: 8px; padding-left: 10px; border-left: 1px solid var(--line); }
.acct .rate { display: flex; align-items: baseline; justify-content: flex-end; gap: 4px; align-self: center; font-size: 14px; }
.acct .rate b { color: var(--good); font-weight: 700; }
.acct .rate b i { font-style: normal; }
.acct .rate small { color: var(--muted); font-size: 12px; }

/* 16/11/2026 user: the picture menu sits in the middle of the bar; News/Support stay on the right */
.nav { display: flex; gap: 6px; margin: 0 auto; }
.nav a {
  display: grid;
  justify-items: center;
  gap: 4px;
  min-width: 74px;
  padding: 8px 10px 6px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
}
.ni { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .45)); transition: transform .15s; }
.nav a { min-width: 66px; padding: 4px 8px 6px; }
.nav a:hover .ni { transform: translateY(-2px) scale(1.06); }
.nav a.on { color: var(--hl); background: var(--panel-2); box-shadow: inset 0 -2px 0 var(--hl); }
.nav a .bd { position: absolute; }
.cash { display: flex; gap: 8px; }


.shell { max-width: 1240px; margin: 0 auto; padding: 18px 24px 40px; }
.main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }


.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.row4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mine-low { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 16px; align-items: start; }
.ups { display: grid; gap: 8px; }
.item.next { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; flex-direction: row; }
.next .ic { width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: rgba(0, 0, 0, .25); }
.item.next .btn { width: auto; margin-top: 0; }
/* 17/11/2026 buy buttons are icon + price only, so the coin leads the button without an offset */
.btn .coin { margin-left: 0; }
.next .ic img { width: 100%; height: 100%; object-fit: cover; }
.next h3 { font-size: 15px; }
.next p { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.next p b { color: var(--good); font-weight: 600; }

/* ---------- shop ---------- */
.grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.grid[hidden] { display: none; }
.item { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--edge), var(--shadow); backdrop-filter: blur(var(--blur)); }
.item .pic { position: relative; aspect-ratio: 1; border-radius: calc(var(--radius) - 6px); overflow: hidden; background: var(--pic-bg, var(--scene)); }
/* 16/11/2026: the shop's two rows of five fit the first screen (the lower row was cut at 1700x805) */
@media (min-width: 1021px) { .shop .item .pic { aspect-ratio: 6 / 5; } }
.item .pic img { position: absolute; inset: 8% 8% 0; width: 84%; height: 92%; object-fit: contain; object-position: bottom; }
.item .lv { position: absolute; top: 8px; left: 8px; z-index: 1; background: rgba(12, 10, 8, .72); border: 1px solid rgba(255, 214, 150, .18); }
.item h3 { font-size: 14px; }
.item .yield { font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.item .yield .coin, .item .yield i { margin-right: 5px; }
.item .yield b { color: var(--good); font-weight: 600; }
.item .btn { width: 100%; margin-top: auto; }
.item.owned .btn { background: var(--panel-2); color: var(--good); box-shadow: inset 0 0 0 1px var(--line); }
.item.wide .pic img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.item .yield i { color: var(--hl); }
/* 16/11/2026 user: "kartları /user/person a eşitle": a locked card still shows its art (dimmed), the lock reason is a chip on the picture */
.item.locked .pic img { filter: brightness(.42) grayscale(.55); }
.item .pic .tag.req { position: absolute; left: 6px; right: 6px; bottom: 6px; z-index: 1; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; background: rgba(12, 10, 8, .78); border: 1px solid rgba(255, 214, 150, .18); color: var(--ink-2); font-weight: 600; }
.item .pic .tag.req i { margin-right: 5px; color: var(--hl); }
.bx-ladder .item.locked .pic::after { content: "\f023"; font: 900 26px "Font Awesome 6 Free"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.item .req { font-size: 12px; color: var(--muted); }
/* 16/11/2026 user: the shop card's name, daily output and requirement line sit centred under the picture, not left */
.shop .grid > .item h3, .shop .grid > .item .yield, .shop .grid > .item .req { text-align: center; }
/* 16/11/2026 user: shop tabs stand out (icon + bigger lit tab), the cards are tighter so two rows fit one screen,
   the name sits in the corner chip and a miner card takes a hire count */
.shop-tabs { gap: 6px; padding: 5px; margin-bottom: 12px; }
.shop-tabs a { display: flex; align-items: center; gap: 8px; padding: 6px 18px 6px 10px; font-size: 15px; font-weight: 700; border: 1px solid transparent; }
.shop-tabs a img { width: 30px; height: 30px; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
.shop-tabs a:not(.on) img { opacity: .75; }
.tabs.shop-tabs a > i { width: 30px; margin: 0; font-size: 22px; text-align: center; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
.shop-tabs a:not(.on) > i { opacity: .75; }
.shop-tabs .fa-youtube { color: #ff3d3d; }
.shop-tabs a.on { color: var(--rw-ink); background: linear-gradient(180deg, var(--rw-1), var(--rw-2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 2px 8px rgba(0, 0, 0, .35); }
.shop .grid { gap: 10px; }
.shop .item { gap: 6px; padding: 8px; }
@media (min-width: 1021px) { .shop .item .pic { aspect-ratio: 4 / 3; } }
.item .tag.lv b { color: var(--good); }
.item .tag.lv b[hidden] { display: none; }
.item .pic:not(:has(.tag.own:not([hidden]))) .tag.lv { max-width: calc(100% - 16px); }
.item .tag.lv { max-width: calc(100% - 56px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 700; color: var(--ink); }
.item form:has(.hire-qty) { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 6px; }
.item form:has(.hire-qty) .btn { margin: 0; }
.hire-qty { display: grid; grid-template-columns: minmax(0, 1fr) auto; border-radius: var(--radius-s); background: var(--panel-2); border: 1px solid var(--line); overflow: hidden; }
.hire-qty input { min-width: 0; padding: 5px 2px; border: 0; outline: 0; background: none; color: var(--ink); font: 600 14px/1.2 inherit; font-family: inherit; text-align: center; -moz-appearance: textfield; }
.hire-qty input::-webkit-inner-spin-button, .hire-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
@media (max-width: 760px) {
  .shop-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; gap: 4px; padding: 4px; }
  .shop-tabs a, .tabs.shop-tabs a { flex-direction: column; gap: 2px; min-width: 0; padding: 5px 2px; font-size: 12px; text-align: center; overflow-wrap: anywhere; hyphens: auto; }
  .shop-tabs a img { width: 26px; height: 26px; }
  .tabs.shop-tabs a > i { width: 26px; font-size: 19px; }
  .shop-tabs.earn-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .item form:has(.hire-qty) { grid-template-columns: minmax(0, 1fr); }
}
.hire-qty button { padding: 0 7px; border: 0; border-left: 1px solid var(--line); background: none; color: var(--hl); font: 700 13px/1 inherit; font-family: inherit; cursor: pointer; }

/* ---------- partners ---------- */
.card.perk { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; }
.perk img { width: 56px; height: 56px; object-fit: contain; flex: none; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .45)); }
.perk span { display: grid; font-size: 13px; color: var(--ink-2); line-height: 1.25; }
.perk b { font-size: 26px; font-weight: 800; color: var(--hl); text-shadow: 0 2px 0 rgba(0, 0, 0, .35); }
.reflink { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 18px; border-radius: var(--radius-s); background: var(--panel-2); border: 1px solid var(--line); }
.reflink code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 14px var(--font); }
.ref-top { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: center; }
.ref-top > img { height: 220px; width: auto; margin: 0 auto; }
.ref-top .copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; }
.ref-top .ctas { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---------- bonus ---------- */
.bonus-top { grid-template-columns: 180px 1fr; }
.bonus-top > img { height: 150px; }
.ref-top .copy h2 { display: flex; align-items: center; gap: 8px; }
/* 16/11/2026 new mine deposit bonus: the period timer leads, then the rule, the progress and Top up; received shows the coins */
.bonus-top .copy h2 { font-size: 20px; }
.bonus-top .timer { color: var(--hl); font-weight: 800; font-variant-numeric: tabular-nums; }
.bonus-rule, .bonus-got { margin: 0; font-size: 15px; color: var(--ink-2); }
.bonus-rule b { color: var(--ink); }
.bonus-got { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bonus-got b { font-size: 20px; color: var(--good); }
.bonus-prog { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.bonus-prog .bar { height: 10px; }
.bonus-prog span { font-size: 14px; color: var(--muted); white-space: nowrap; }
.bonus-prog b { color: var(--ink); }
/* 16/11/2026 daily bonus ladder: the five tiers, the current one lit; the ad gate sits in the bonus pop-up */
.bonus-top .copy h2 .tag.own { position: static; margin-left: auto; font-size: 14px; }
.bonus-top .copy > .btn { justify-self: start; width: auto; }
.bx-ladder .item .yield, .bx-ladder .item .req { text-align: center; }
.bx-ladder .item.tip { border-color: color-mix(in srgb, var(--hl) 60%, transparent); box-shadow: inset 0 0 0 1px var(--hl), 0 0 18px color-mix(in srgb, var(--hl) 25%, transparent); }
/* 17/11/2026 user: the deposit bonus lives inside the daily bonus card as its own glass panel with its own "Ends in" */
.bx-head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; align-items: center; }
.bx-dep { display: grid; gap: 12px; align-content: center; padding: 16px 18px; }
.bx-dep-h { display: flex; align-items: center; gap: 12px; }
.bx-dep-h img { width: 56px; height: 56px; object-fit: contain; flex: none; }
.bx-dep-h h3 { margin: 0 0 2px; font-size: 16px; }
.bx-dep-h .ends { font-size: 14px; color: var(--muted); }
.bx-dep .timer { color: var(--hl); font-weight: 800; font-variant-numeric: tabular-nums; }
.db-box { position: relative; }
.db-ad { margin: 0 0 14px; }
.db-ad[hidden], .db-box .btn[hidden] { display: none; }
/* bonus gate frame (18/11/2026: the page block is gone, ZerAds runs only in the claim pop-up): a box narrower than the ad scales it */
.bx-ad { overflow: hidden; min-width: 0; }
.bx-ad iframe { display: block; margin: 0 auto; border: 0; border-radius: 10px; transform-origin: 0 0; }
.db-won { color: var(--good); font-size: 20px; }

.tasks { display: grid; gap: 8px; }
.item.task { display: grid; grid-template-columns: 44px minmax(0, 1fr) 84px 104px; gap: 14px; align-items: center; padding: 8px 12px 8px 8px; }
.task .ic img { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .45)); }
.task .ic > i { display: grid; place-items: center; width: 44px; height: 44px; font-size: 22px; color: var(--hl); }
.task p.muted { margin: 2px 0 0; font-size: 12px; }
.task h3 { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 7px; }
.task h3 small { font-size: 12px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.bar { height: 6px; border-radius: 99px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .4); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--act-2), var(--act-1)); }
.task .rwd { display: flex; align-items: center; justify-content: flex-end; gap: 5px; white-space: nowrap; font-size: 15px; font-weight: 700; color: var(--rw-1); }
.item.task .btn { margin-top: 0; }
.task.done .ic img, .task.done h3 { opacity: .55; }
/* ---------- wallet ---------- */
/* 15/11/2026: one card, method grid on the left, the form on the right */
.wd-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.wd-form .field:last-of-type { margin-bottom: 14px; }
.wd-go { width: 100%; }
.methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wd-body.pick { grid-template-columns: minmax(0, 1fr); }
.wd-body.pick .methods { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wd-body.pick .wd-side { display: none; }
.methods a { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 8px 12px; border-radius: 12px; background: var(--inner, var(--panel-2)); border: 1px solid var(--inner-line, var(--line)); box-shadow: var(--inner-edge, none); font-size: 14px; }
.methods a i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--hl) 20%, transparent); color: var(--hl); }
.methods a small { display: block; font-size: 12px; color: var(--muted); }
.methods a.on { border-color: var(--act-1); box-shadow: inset 0 0 0 1px var(--act-1); }
.st-ok { color: var(--good); font-weight: 600; }

/* ---------- guest home ---------- */
.stats { display: flex; gap: 8px; margin-left: auto; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; padding: 0; overflow: hidden; }
.hero .txt { display: grid; align-content: center; gap: 12px; padding: 28px 32px; }
.hero h1 { font-size: 32px; line-height: 1.15; }
.hero .sub { font-size: 18px; color: var(--hl); font-weight: 600; }
.hero .line { color: var(--ink-2); }
.hero .ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero .feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.hero .feats span { display: flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--inner, var(--panel-2)); border: 1px solid var(--inner-line, var(--line)); box-shadow: var(--inner-edge, none); font-size: 14px; }
.hero .feats i { color: var(--hl); }
.steps { display: grid; gap: 8px; }
.steps div { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; font-size: 14px; color: var(--ink-2); }
.steps img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; background: var(--scene); border: 1px solid var(--line); }
.list { display: grid; gap: 10px; font-size: 14px; }
.list a { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.list time { color: var(--muted); min-width: 48px; }
.list i { width: 16px; text-align: center; color: var(--hl); }
.ticker { display: flex; gap: 22px; align-items: center; overflow: hidden; white-space: nowrap; font-size: 14px; color: var(--ink-2); }
.ticker b { color: var(--good); font-weight: 600; }
/* payout proof slides; nav.js doubles the run so the loop is seamless */
.ticker .tag { flex: none; }
.tk { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.tk-run { display: flex; gap: 22px; width: max-content; animation: tk 40s linear infinite; }
.tk-run span { flex: none; }
@keyframes tk { to { transform: translateX(calc(-50% - 11px)); } }

/* ---------- mobile tab bar ---------- */
.tabbar { display: none; }

@media (max-width: 1020px) {
  .row3 { grid-template-columns: 1fr 1fr; }
  .row4 { grid-template-columns: 1fr 1fr; }
  .wd-body { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .logo span.tx, .top:has(> .top-r) .logo img.lf { display: none; }
  .top:has(> .top-r) .logo img.lf + img.mk { display: block; }
  .logo img.lf { height: 40px; }
  /* 16/11/2026 user ("diğer kullanıcı sayfalarınıda elden geçirelim"): on a phone the header art of Partners, Bonus and the
     deposit bonus stood above the text and pushed the page down; the chest sits small beside its text, the partner mascot
     (decoration: every perk has its own icon) leaves; the bonus ladder is one swipe row instead of 2+2+1; tabs stay one row */
  .ref-top:not(.bonus-top) > img { display: none; }
  .bonus-top { grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: start; }
  .bonus-top > img { width: 76px; height: 76px; object-fit: contain; }
  .bx-head { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .bx-dep { padding: 12px 14px; }
  .grid.bx-ladder { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 40%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .grid.bx-ladder > .item { scroll-snap-align: start; }
  .bonus-top .copy h2 { flex-wrap: wrap; row-gap: 4px; }
  .bonus-top .copy h2 .tag.own { white-space: nowrap; }
  .bonus-prog { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tabs a { flex: none; padding: 6px 11px; font-size: 13px; }
  .cash { margin-left: auto; }
  .cash .ghost { display: none; }
  .row3, .row4 { grid-template-columns: 1fr; }
  .row4.perks { grid-template-columns: 1fr 1fr; }
  .days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .day.big { grid-column: span 2; }
  .item.task { grid-template-columns: 36px minmax(0, 1fr) auto 72px; gap: 10px; }
  .task .ic img { width: 36px; height: 36px; }
  .mine-low { grid-template-columns: minmax(0, 1fr); }
  .methods, .wd-body.pick .methods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .methods a { flex-direction: column; justify-content: center; gap: 6px; padding: 10px 4px; text-align: center; font-size: 13px; }
  .hero .ctas { display: grid; grid-template-columns: 1fr 1fr; }
  .hero .ctas .btn { padding: 10px 8px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ref-top:not(.bonus-top) { grid-template-columns: minmax(0, 1fr); }
  .row4.perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero .txt { padding: 18px; }
  .hero h1 { font-size: 24px; }
  .tabbar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 6px 4px 8px;
    background: var(--panel);
    border-top: 1px solid var(--line);
    backdrop-filter: blur(10px);
  }
  /* 18/11/2026: the Russian labels (Заработок, Пополнить) touched each other at 390 px; the columns may shrink and a word wraps */
  .tabbar { grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: 3px; }
  .tabbar a { display: grid; justify-items: center; gap: 3px; min-width: 0; font-size: 10px; line-height: 1.15; letter-spacing: -.1px; text-align: center; overflow-wrap: anywhere; hyphens: auto; color: var(--muted); }
  .tabbar a .ni { width: 30px; height: 30px; }
  .tabbar a.on { color: var(--hl); }
}

/* ---------- theme A tokens (themes/a-celik.css) ---------- */
/* A · Lantern slate (15/11/2026): the slate tonality the user picked, made our own.
   Smooth light-to-dark slate under a warm lantern glow and a faint crystal glow, frosted glass cards,
   crystal action (16/11/2026: the green read foreign on slate, the user saw it), brass reward, amber highlight. No stripes.
   16/11/2026: the art (animal crew, mines, carts) is painted in this same slate-amber-crystal palette. */
:root {
  --bg: #2a3038;
  --bg-tex:
    radial-gradient(70% 50% at 50% -10%, rgba(255, 196, 112, .18), transparent 70%),
    radial-gradient(45% 40% at 100% 100%, rgba(112, 204, 224, .10), transparent 70%),
    linear-gradient(180deg, #505a66 0%, #2e353d 45%, #181c21 100%);
  --panel: rgba(30, 35, 42, .72);
  /* every card is a slate slab: grain + darker mottling, top light falling to a dark foot, lit chipped rim */
  --card: transparent;
  --card-line: transparent;
  --edge: 0 0 0 transparent;
  --shadow: 0 0 0 transparent;
  --blur: 0px;
  --slab:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.011' numOctaves='3' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .75 0 0 0 -.32'/%3E%3C/filter%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .34 0 0 0 -.15'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),
    radial-gradient(110% 70% at 25% 0%, rgba(255, 214, 150, .10), transparent 60%),
    linear-gradient(180deg, #535d68 0%, #3a424b 55%, #2a3037 100%);
  --slab-size: 320px 320px, auto, auto;
  --slab-shadow: inset 0 2px 0 rgba(255, 255, 255, .16), inset 0 0 0 2px rgba(255, 255, 255, .06), inset 0 -14px 22px rgba(0, 0, 0, .32);
  --slab-filter: url(#slab-edge) drop-shadow(0 10px 14px rgba(0, 0, 0, .5));
  --slab-radius: 14px;
  /* cards inside a slab are frosted glass. 16/11/2026 user ("cam arkaplan koymak yerine üst üste aynı arkaplanı giydirmişsin"):
     the old glass was thin enough for the slab's grain and mottling to show through, so a tile read as a second slab; the
     glass now blurs the stone away and carries its own smooth tint, light on top, with a bright upper rim */
  --inner: linear-gradient(180deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .06) 42%, rgba(255, 255, 255, .015) 100%), rgba(30, 36, 44, .62);
  --inner-line: rgba(255, 255, 255, .13);
  --inner-edge: inset 0 1px 0 rgba(255, 255, 255, .2);
  --inner-shadow: 0 6px 16px rgba(0, 0, 0, .28);
  --inner-blur: 26px;
  /* shop renders stand straight on the glass, no box behind them */
  --pic-bg: transparent;
  /* small chips and strips (pills, share buttons, segment tracks) are the same glass, thinner */
  --panel-2: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)), rgba(26, 31, 38, .55);
  /* a form field is a well cut into the glass */
  --well: #181c22;
  --well-line: rgba(255, 255, 255, .1);
  --line: rgba(255, 255, 255, .11);
  --ink: #f1f3f5;
  --ink-2: #c9cfd6;
  --muted: #aab3bd;
  --act-1: #55cbd6;
  --act-2: #1b6676;
  --rw-1: #f7d27a;
  --rw-2: #b9781d;
  --hl: #f2b54c;
  --good: #72d99c;
  --head: linear-gradient(180deg, #59636e, #3c444d);
  --scene: radial-gradient(80% 70% at 50% 15%, #5a6672 0%, #343c45 45%, #1b2026 100%);
  --floor: linear-gradient(180deg, #333a42, #1a1e23);
  --radius: 22px;
}


/* ---------- site parts (new-mine, 15/11/2026): pieces the concept preview did not need ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tools { display: flex; gap: 6px; }
.tools > a { position: relative; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; color: var(--ink-2); background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); }
.tools > a:hover, .tools > a.on { color: var(--hl); }
.tools > a b { position: absolute; top: -4px; right: -4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; display: grid; place-items: center; font-size: 10px; color: #fff; background: var(--bad); }
.tools > a b[hidden] { display: none; }
/* 17/11/2026 admin "view as": a slim bar over the player's pages; the admin player page holds View as next to Ban */
.viewas { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 6px 12px; background: color-mix(in srgb, var(--hl) 22%, var(--panel)); border-bottom: 1px solid var(--line); font-size: 14px; }
.viewas i { color: var(--hl); }
.viewas a { color: var(--hl); font-weight: 700; text-decoration: underline; }
.card > h2 form.more { display: flex; gap: 6px; }
/* 16/11/2026 user: "bakiye/günlük üretim kartını az yukarı çekip support news logolarını onun altına koyalım": on wide
   screens the balance capsule sits on top and the round tools under it, so the right block is as narrow as the menu */
@media (min-width: 761px) {
  .top-rs { flex-direction: column-reverse; align-items: flex-end; gap: 4px; }
  .top:has(> .top-r) { padding-top: 7px; padding-bottom: 7px; }
  .top-r .tools > a { width: 26px; height: 26px; font-size: 12px; }
  .top-r .guest-in { padding: 5px 12px; font-size: 12px; }
}
.btn.wide { width: 100%; }
button.btn { font-family: var(--font); }
span.btn { cursor: default; }
.note { margin: 0 0 12px; padding: 8px 14px; border-radius: 12px; font-size: 14px; background: var(--panel-2); border: 1px solid var(--line); }
.note.good { color: var(--good); }
.note.bad { color: var(--bad); }
.field .in i { color: var(--muted); }
/* 16/11/2026: hints read on the slate (the browser default grey vanished), the file picker wears the site's ghost button */
input::placeholder, textarea::placeholder { color: #7d8792; opacity: 1; font-weight: 400; }
input[type=file] { color: var(--ink-2); font: 500 14px var(--font); }
input[type=file]::file-selector-button { margin-right: 10px; padding: 6px 14px; border: 0; border-radius: var(--radius-s); font: 600 13px var(--font); color: var(--ink); background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }

/* the result moment and the access dialog: one centre pop-up */
/* 16/11/2026 user ("pop-up tasarımı ... kenarları tasarımı anlatımı içindeki textler vs tepeden tırnağa hatalı"): a dialog is
   not a stone slab with a chipped rim; it is one clean dark-glass panel with straight rounded edges, a title bar (icon, title,
   round close button) and its content in glass sections */
.pop { position: fixed; inset: 0; z-index: 60; display: none; place-items: start center; overflow-y: auto; overscroll-behavior: contain; padding: 80px 16px 16px; background: rgba(6, 8, 11, .66); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.pop.on { display: grid; }
.pop > .card { margin: auto 0; } /* 17/11/2026: centred when it fits, scrolls from the top on a short phone screen */
.card.pop-box { width: min(400px, 100%); text-align: center; padding: 20px 22px 22px; border-radius: 18px; border: 1px solid rgba(255, 255, 255, .12);
  background: radial-gradient(90% 60% at 50% 0%, rgba(255, 196, 112, .09), transparent 70%), linear-gradient(180deg, #3a424c 0%, #2a3038 55%, #22272e 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 30px 70px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .35); }
.card.pop-box::before { content: none; }
.pop-box > h2 { justify-content: center; font-size: 18px; margin: 0 0 16px; padding: 0 34px 14px; }
.pop-box p { margin: 0 0 16px; color: var(--ink-2); line-height: 1.45; }
.pop-art { height: 110px; width: auto; margin: -76px auto 6px; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .5)); }
.pop-x { position: absolute; z-index: 2; top: 14px; right: 14px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); color: var(--ink-2); font-size: 15px; cursor: pointer; }
.pop-x:hover { color: var(--ink); background: rgba(255, 255, 255, .13); }
.pop-box form { text-align: left; }
/* a form dialog reads from the left: its title bar too */
.tu-pop .pop-box > h2 { justify-content: flex-start; padding-left: 0; }

.toast { position: fixed; right: 16px; bottom: 16px; z-index: 55; display: grid; gap: 3px; max-width: 320px; padding: 12px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--inner-shadow); font-size: 13px; color: var(--ink-2); }
.toast[hidden] { display: none; }
.toast b { color: var(--ink); }
.foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 28px; font-size: 13px; color: var(--muted); }
.foot a:hover { color: var(--hl); }

/* ===== 16/11/2026 mine scene (user: "sahnede madenci yok.. sadece maden var"): one wide, short card.
   The player's highest open mine is the stage; the same painting, blurred, fills the card behind the counters and the Collect panel.
   Every second one owned miner type (or the guard) sends up its gain: the amount on top, its round avatar under it. ===== */
/* 16/11/2026: the card is the standard stone slab (same as Shop and every page); the scene is a window inside it */
.scene.mine > .view { position: relative; display: grid; grid-template-columns: 210px minmax(0, 1fr) 260px; align-items: center; height: 264px; overflow: hidden; border-radius: 12px; background: #0c0e11; isolation: isolate; box-shadow: 0 0 0 1px rgba(0, 0, 0, .45), 0 1px 0 1px rgba(255, 255, 255, .06); }
.scene.mine > .view::before { content: ""; position: absolute; inset: -30px; z-index: 0; background: var(--mine) center / cover no-repeat; filter: blur(18px) brightness(.42) saturate(1.15); }
.scene.mine > .view::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 0 22px rgba(0, 0, 0, .55); pointer-events: none; }
.scene .stage { position: relative; z-index: 1; align-self: stretch; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent); mask-image: linear-gradient(90deg, transparent, #000 13%, #000 87%, transparent); }
.scene .stage > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.scene .stage .lv { position: absolute; z-index: 2; left: 50%; bottom: 14px; transform: translateX(-50%); }
/* counters: slim chips on the left, each opens its shop */
.scene .res { position: relative; z-index: 2; display: grid; gap: 8px; padding-left: 20px; }
.scene .res > a { display: flex; align-items: center; gap: 8px; padding: 4px 14px 4px 6px; border-radius: 999px; background: rgba(12, 10, 8, .62); border: 1px solid rgba(255, 214, 150, .16); backdrop-filter: blur(4px); }
.scene .res > a:hover { border-color: var(--hl); }
.scene .res img { width: 30px; height: 30px; }
.scene .res span { display: grid; font-size: 12px; color: var(--ink-2); line-height: 1.15; }
.scene .res b { font-size: 15px; color: var(--ink); white-space: nowrap; }
.scene .res i { font-style: normal; }
/* the cart counter and Collect on the right */
.collect { position: relative; z-index: 2; display: grid; justify-items: center; gap: 8px; margin-right: 20px; padding: 16px 18px; border-radius: var(--radius); background: rgba(0, 0, 0, .45); border: 1px solid var(--line); }
.collect .acc { display: flex; align-items: center; gap: 10px; font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.collect .btn { width: 100%; padding: 11px 20px; font-size: 16px; }
.collect .bar { width: 100%; }
.collect small { font-size: 12px; color: var(--ink-2); }
/* the rising gain: amount on top, the round avatar of the miner who dug it under it */
.float { position: absolute; z-index: 2; display: grid; justify-items: center; gap: 4px; transform: translateX(-50%); pointer-events: none; animation: rise 2.6s ease-out forwards; }
.float b { font-size: 13px; font-weight: 800; color: var(--rw-1); text-shadow: 0 0 8px rgba(255, 200, 60, .85), 0 0 20px rgba(255, 160, 40, .5), 0 1px 2px #000; white-space: nowrap; font-variant-numeric: tabular-nums; }
.float .av { width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #3b4652, #161b21) ; border: 2px solid var(--rw-1); box-shadow: 0 0 12px rgba(255, 190, 60, .55), 0 3px 6px rgba(0, 0, 0, .6); overflow: hidden; }
.float .av img { display: block; width: 170%; max-width: none; margin: -2px 0 0 -35%; }
@keyframes rise { 0% { opacity: 0; transform: translate(-50%, 10px) scale(.8); } 14% { opacity: 1; transform: translate(-50%, 0) scale(1); } 75% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -64px) scale(1.06); } }
@media (max-width: 1020px) {
  .scene.mine > .view { grid-template-columns: 180px minmax(0, 1fr) 230px; height: 240px; }
  .scene .res { padding-left: 14px; }
  .collect { margin-right: 14px; padding: 12px 14px; }
  .collect .acc { font-size: 24px; }
}
/* phone: the mine on top with the four chips (two rows) over its ceiling, the cart and Collect in one row under it */
@media (max-width: 760px) {
  .scene.mine > .view { grid-template-columns: minmax(0, 1fr); height: auto; align-items: stretch; }
  .scene .stage { aspect-ratio: 16 / 10; -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent); mask-image: linear-gradient(180deg, #000 80%, transparent); }
  .scene .res { position: absolute; top: 12px; left: 12px; right: 12px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px; padding: 0; }
  .scene .res > a { padding: 3px 4px; gap: 4px; }
  .scene .res img { width: 22px; height: 22px; }
  .scene .res span { font-size: 10px; }
  .scene .res b { font-size: 12px; }
  .collect { grid-template-columns: minmax(0, 1fr) auto; justify-items: start; align-items: center; gap: 6px 12px; margin: 0 12px 14px; padding: 12px; }
  .collect .acc { font-size: 24px; }
  .collect .btn { width: auto; min-width: 0; grid-column: 2; grid-row: 1; }
  .collect .bar, .collect small { grid-column: 1 / -1; }
  .float .av { width: 32px; height: 32px; }
  .float b { font-size: 12px; }
}

/* next upgrades: three buys side by side, the one the mine needs most glows */
.ups.row3 { gap: 12px; }
.item.next .btn span[hidden] { display: none; }
.item.next.tip { border-color: color-mix(in srgb, var(--hl) 60%, transparent); box-shadow: inset 0 0 0 1px var(--hl), 0 0 18px color-mix(in srgb, var(--hl) 25%, transparent); }
.item.next h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item.next > div { min-width: 0; }
form.item { margin: 0; }

/* shop */
.item .tag.own { position: absolute; top: 8px; right: 8px; z-index: 1; background: color-mix(in srgb, var(--good) 22%, transparent); color: var(--good); }
.item .tag.own[hidden] { display: none; }
.item form { margin-top: auto; }

@media (max-width: 1020px) {
  .top .tools { margin-left: 0; }
  /* 17/11/2026: on a tablet or a zoomed laptop the logo is the small mark, so the menu follows it and the capsule takes the
     rest of the bar instead of an equal third that could not hold even the two balances */
  .top:has(> .top-r) { grid-template-columns: auto auto minmax(0, 1fr); }
}
@media (max-width: 920px) {
  /* the coin icons tell NUG from DIG (the title names them), so the unit word gives way before a balance would */
  .acct .bal { padding: 0 8px 0 6px; }
  .acct .bal small { display: none; }
  .top .nav { gap: 2px; }
  .top .nav a { min-width: 58px; padding: 4px 4px 6px; }
  .top .nav .ni { width: 40px; height: 40px; }
  .ups.row3 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .shell { margin-left: 0; padding: 12px 12px 30px; }
  .top, .top:has(> .top-r) { padding: 8px 12px; gap: 10px; }
  .acct .bals, .acct .rates { grid-auto-rows: 19px; }
  .top .nav, .stats { display: none; }
  .top:has(> .top-r) { grid-template-columns: auto minmax(0, 1fr); }
  .item.next h3 { white-space: normal; }
}
/* ===== 15/11/2026 account pages (news, support, settings, partners, bounty): the same card, item, field and tag vocabulary ===== */
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.card > .row2 { margin-top: 12px; }
.card > h2 .more { margin-left: auto; }
.card > h2 .pill { margin-left: 8px; }
.tag.st-success, .tag.st-ok, .tag.st-approved, .tag.st-good { color: var(--good); background: color-mix(in srgb, var(--good) 16%, transparent); }
.tag.st-warning, .tag.st-pending, .tag.st-wait { color: var(--hl); }
.tag.st-danger, .tag.st-rejected, .tag.st-bad { color: var(--bad); background: color-mix(in srgb, var(--bad) 16%, transparent); }
.tag.st-secondary, .tag.st-info { color: var(--muted); background: var(--panel-2); }
.tabs a b { margin-left: 4px; font-size: 12px; }
.tb td.acts { display: flex; gap: 6px; align-items: center; justify-content: flex-end; white-space: nowrap; }
.tb td.acts form { margin: 0; }
.tb td.ev a { color: var(--ink); font-weight: 600; }
.tb tfoot td { font-weight: 700; border-top: 1px solid var(--line); padding-top: 10px; }
.field label small { font-size: 12px; margin-left: 6px; }
.field .in.area { padding: 10px 14px; border-radius: 14px; }
.field textarea, .item textarea {
  flex: 1; width: 100%; min-width: 0; resize: vertical; border: 0; outline: 0; background: transparent;
  color: var(--ink); font: 500 15px/1.45 var(--font);
}
.field input[type=file] { font-size: 14px; color: var(--muted); }
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.form > .btn { justify-self: start; }
/* 17/11/2026 Report a bug tiers: name and line on the left, the NUG it starts from on the right */
.support .kpi { grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; }
.support .kpi span { grid-column: 1; }
.support .kpi small { grid-column: 1; }
.support .kpi b { grid-column: 2; grid-row: 1 / 3; display: flex; align-items: center; gap: 6px; font-size: 18px; }
.support .kpi b .coin { width: 20px; height: 20px; }
.support .kpi b { white-space: nowrap; }
@media (max-width: 720px) { .support .kpis { grid-template-columns: 1fr; gap: 8px; } }
.tabs a > i { margin-right: 6px; }

/* news: one item per post, the unread ones carry the highlight edge */
.news .item.post { padding: 14px 16px; margin-top: 10px; }
.news .item.post.new { box-shadow: inset 3px 0 0 var(--hl); }
.news .post h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 6px; font-size: 16px; }
.news .post h3 time { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--muted); }
.news .post p, .news .post ul { margin: 4px 0; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.news .post ul { padding-left: 18px; }

/* support: the thread reads top-down, support answers sit on the right with the action colour edge */
.thread { display: grid; gap: 10px; margin-bottom: 14px; }
.item.msg { padding: 12px 16px; max-width: 86%; }
.item.msg.staff { justify-self: end; box-shadow: inset -3px 0 0 var(--act-1); }
.msg h3 { margin: 0 0 4px; font-size: 16px; }
.msg .who { display: flex; gap: 10px; align-items: baseline; margin: 0 0 4px; font-size: 13px; }
.msg .who time { color: var(--muted); font-size: 12px; }
.msg p { margin: 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.gx-support-attachments { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.gx-support-attachments img { width: 96px; height: 72px; object-fit: cover; border-radius: var(--radius-s); border: 1px solid var(--line); }

/* settings: one row per wallet (icon, address, optional memo or password, one button); saved rows carry the good edge */
.wallets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.item.wl { display: flex; flex-direction: row; align-items: center; gap: 10px; padding: 8px 10px; margin: 0; }
.item.wl.set { box-shadow: inset 3px 0 0 var(--good); }
.wl-ic { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--panel-2); color: var(--ink-2); overflow: hidden; }
.wl-ic img { width: 26px; height: 26px; object-fit: contain; }
.item.wl .in { flex: 1; min-width: 0; min-height: 40px; padding: 0 12px; }
.item.wl .in.memo, .item.wl .in.pw { flex: 0 1 120px; }
.item.wl input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 500 14px var(--font); }
.item.wl input[readonly] { color: var(--ink-2); }
.item.wl .btn { flex: 0 0 auto; width: auto; margin-top: 0; }
details.danger { margin-top: 14px; font-size: 14px; }
details.danger summary { cursor: pointer; color: var(--muted); }
details.danger form { display: grid; gap: 0; max-width: 460px; margin-top: 10px; }
details.danger .btn { justify-self: start; }

/* partners: the fourth tile opens the bands; share icons and the income collect sit under the link */
button.card.perk { font: inherit; color: inherit; text-align: left; cursor: pointer; }
.ref-top .share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.ref-top .share > a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--panel-2); color: var(--ink-2); border: 1px solid var(--line); }
.ref-top .share > a:hover { color: var(--hl); }
.ref-collect { display: flex; align-items: center; gap: 8px; margin: 0 0 0 auto; }
.pop-box .tb { margin-top: 10px; }
.pop-box .bar { margin: 10px 0 4px; }

/* bounty: the form is one line on a wide screen, the ready text and the two rule lists under it */
.bounty-form { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 12px; align-items: end; }
.bounty-form .field { margin: 0; }
.bounty-form .btn { height: 46px; }
.item.tpl { margin-top: 14px; padding: 12px 14px; }
.item.tpl h3 { margin: 0 0 6px; font-size: 15px; }
.item.tpl textarea { display: block; min-height: 132px; padding: 10px 14px; border-radius: 14px; background: var(--panel-2); font-size: 14px; }
.item.tpl .acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.item.tpl .acts .btn { width: auto; margin-top: 0; }
.rules .item { padding: 10px 14px; }
.rules h3 { margin: 0 0 4px; font-size: 15px; display: flex; gap: 8px; align-items: center; }
.rules .ok h3 i { color: var(--good); }
.rules .no h3 i { color: var(--bad); }
.rules ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.feed li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.feed li:last-child { border-bottom: 0; }
.feed b { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }

@media (max-width: 760px) {
  .row2, .wallets { grid-template-columns: minmax(0, 1fr); }
  .bounty-form { grid-template-columns: 1fr; }
  .item.msg { max-width: 100%; }
  .item.wl { flex-wrap: wrap; }
  .item.wl .in { flex: 1 1 0; }
  .item.wl .btn { order: 1; }
  .item.wl .in.memo, .item.wl .in.pw { order: 2; flex: 1 1 calc(100% - 44px); margin-left: 44px; }
  .tools { gap: 4px; }
  .tools > a { width: 30px; height: 30px; font-size: 13px; }
  .acct .bal { font-size: 15px; gap: 6px; }
  .task h3 { flex-direction: column; gap: 2px; }
  .ref-collect { margin-left: 0; }
}

/* 15/11/2026 withdraw page: method tiles carry the provider icon, the form side holds the facts, the limit rows and the move-to-balance line */
.wd > h2 .pill { gap: 6px; }
.methods a img, .methods button img, .methods .gx-coin-badge { width: 28px; height: 28px; flex: none; object-fit: contain; border-radius: 50%; }
.methods .gx-coin-badge { display: grid; place-items: center; font-size: 10px; font-weight: 700; background: var(--panel-2); }
/* 16/11/2026: the "wallet saved" check is a text mark; the tile's round icon rule made it a third row */
.methods a small i { display: inline; width: auto; height: auto; margin-right: 4px; border-radius: 0; background: none; color: var(--good); }
.methods button { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px; border-radius: 12px; font: inherit; font-size: 14px; color: var(--ink); text-align: left; cursor: pointer; background: var(--inner, var(--panel-2)); border: 1px solid var(--inner-line, var(--line)); }
.methods button:hover, .methods a:hover { border-color: var(--act-1); }
.wd-side { display: grid; gap: 10px; }
.wd-side .note { margin: 0; }
.wd-form { display: grid; gap: 0; }
.wd-form .is-hidden { display: none; }
.wd-form .field .in + .in { margin-top: 8px; }
.wd-form .in > b { font-size: 18px; }
.wd-form .in .addr { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.wd-form .ww { margin-bottom: 12px; }
.wd-form .ww .methods { grid-template-columns: 1fr 1fr; margin-top: 8px; }
.wd-facts { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.wd-facts li { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); }
.wd-facts b { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); font-weight: 600; }
/* in a dialog the fee lines are one glass box, a hairline between rows */
.wd-facts.boxed { gap: 0; padding: 2px 14px; border-radius: 12px; background: var(--inner); border: 1px solid var(--inner-line); }
.wd-facts.boxed li { padding: 9px 0; }
.wd-facts.boxed li + li { border-top: 1px solid rgba(255, 255, 255, .07); }
.wd-facts.boxed li:last-child b { color: var(--good); }
.tu-sum b .coin { width: 18px; height: 18px; }
.tu-sum b em { font-style: normal; font-size: 14px; font-weight: 500; }
.tu-pop .tu-sum { margin-bottom: 12px; }
.wd-form .btn + .btn { margin-top: 8px; }
.wd-form > .btn.sm { justify-self: start; }
.wd-signup { justify-self: center; margin-top: 12px; font-size: 13px; color: var(--muted); }
.wd-signup:hover { color: var(--hl); }
.item.lim { padding: 10px 14px; gap: 6px; }
.item.lim h3 { display: flex; justify-content: space-between; gap: 10px; margin: 0; font-size: 14px; }
.item.lim h3 span { color: var(--hl); font-weight: 600; white-space: nowrap; }
.item.lim p { margin: 0; font-size: 13px; color: var(--muted); }
.item.lim .btn { width: auto; align-self: flex-start; margin-top: 2px; }
.lnk { padding: 0; border: 0; background: none; font: inherit; color: var(--hl); text-decoration: underline; cursor: pointer; }
.wd-move { display: flex; gap: 8px; align-items: center; }
.wd-move .in { flex: 1; min-width: 0; gap: 8px; min-height: 38px; padding: 0 12px; font-size: 14px; }
.wd-move input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 500 14px var(--font); }

/* 15/11/2026 top up: grouped method tiles; a method page is one narrow form, a crypto order puts the QR next to the address */
.tu-groups { display: grid; gap: 8px; }
.tu-groups .methods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wing { margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.wing::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.methods a > .coin { width: 28px; height: 28px; flex: none; }
.h2-ic { width: 26px; height: 26px; flex: none; object-fit: contain; border-radius: 50%; }
.tu-ready { display: flex; align-items: center; gap: 8px; }
.tu-ready { margin: 0 0 10px; font-size: 16px; }
.tu-ready b { color: var(--hl); }
.tu-links { display: flex; justify-content: space-between; gap: 12px; margin: 12px 0 0; font-size: 13px; }
.tu-links a { color: var(--muted); }
.tu-links a:hover { color: var(--hl); }
.tu-links a i { margin-right: 6px; }
.tu-links a:only-child { margin-left: auto; }
/* 16/11/2026 crypto order: the shared facts (amount, time left) on one glass strip, then the two ways to pay as tabs */
.tu-pay { display: grid; gap: 12px; }
.tu-sum { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--inner); border: 1px solid var(--inner-line); box-shadow: var(--inner-edge); }
.tu-sum > span { display: grid; gap: 2px; }
.tu-sum small { font-size: 12px; color: var(--muted); }
.tu-sum b { font-size: 18px; font-weight: 700; color: var(--hl); }
.tu-sum .tu-left { text-align: right; }
.tu-sum .tu-left b { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; font-size: 16px; color: var(--ink); font-variant-numeric: tabular-nums; }
.tu-sum .tu-left b i { font-size: 13px; color: var(--muted); }
.tabs.tu-tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin: 0; }
.tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 12px; border: 0; border-radius: var(--radius-s); background: none; font: 600 14px var(--font); color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.tabs button:hover { color: var(--ink); }
.tabs button.on { color: var(--hl); background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line), inset 0 -2px 0 var(--hl); }
.tu-opt { display: grid; gap: 12px; }
.tu-opt[hidden] { display: none; }
.tu-addr { grid-template-columns: 140px minmax(0, 1fr); align-items: center; }
.tu-qr { width: 140px; padding: 7px; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .35); }
.tu-qr img { display: block; width: 100%; height: auto; }
.tu-addr-in { display: grid; gap: 8px; min-width: 0; }
.tu-addr-in label { font-size: 13px; color: var(--muted); }
.tu-addr-in label em { font-style: normal; color: var(--hl); margin-left: 4px; }
.tu-addr-in code { display: block; padding: 10px 12px; border-radius: 10px; background: var(--well); border: 1px solid var(--well-line); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .4); font: 500 13px/1.45 ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--ink); word-break: break-all; user-select: all; }
.tu-addr-in .btn { justify-self: start; }
.tu-memo, .tu-hint { grid-column: 1 / -1; }
.tu-hint { display: flex; gap: 8px; align-items: baseline; margin: 0; font-size: 13px; line-height: 1.45; color: var(--ink-2); }
.tu-hint i { color: var(--hl); font-size: 12px; }
.tu-lead { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.tu-ww .field { margin: 0; }
.tu-ww .in .muted { font-size: 14px; font-weight: 600; }
.tu-msg { font-size: 13px; color: var(--good); }
.tu-msg.text-danger { color: var(--bad); }
@media (max-width: 420px) {
  .tu-addr { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .tu-addr-in { width: 100%; }
  .tabs button { padding: 8px 6px; font-size: 13px; }
}
/* 16/11/2026: on a phone the income lines ran under the bell and support icons; the balance stays, the game card shows the rate */
@media (max-width: 520px) {
  .acct .rates { display: none; }
  .acct .bal { padding: 0 8px 0 6px; }
  .acct .bal small { display: none; }
  /* 16/11: "+1 000 000 per day" dar kartta iki satıra iniyor, kart kardeşlerinden uzuyordu */
  .item .yield { font-size: 12px; white-space: nowrap; }
  .item .yield .wide { display: none; }
}
.wd-body.solo { grid-template-columns: 1fr; }
.wd-body.solo .tu-groups .methods { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* 16/11/2026 the picked Top up method: the site's centre pop-up, its steps stacked */
.tu-pop .pop-box { position: relative; width: min(440px, 100%); max-height: calc(100dvh - 32px); overflow: hidden auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; text-align: left; }
.tu-pop .tu-pay, .tu-pop .tu-pay > .wd-form { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.tu-pop .field { grid-template-columns: minmax(0, 1fr); }
.tu-pop .in input { min-width: 0; }
.tu-pop .pop-box > h2 { margin: 0 0 2px; }
.tu-pop .pop-box p { margin: 0; }
.tu-pop .tu-nets { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.tu-groups > .wing:first-child { margin-top: 0; }
@media (max-width: 760px) {
  .tu-groups .methods, .wd-body.solo .tu-groups .methods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wd-body > .wd-side { order: -1; }
}

/* 15/11/2026 guest dialog: the front-page numbers a returning player looks for first */

/* 15/11/2026 public pages: the game shell with a Play button instead of the menu; text pages are one card */
.pub-cta { margin-left: auto; display: flex; gap: 8px; }
.copy .gx-clone-copy h2 { margin: 16px 0 6px; font-size: 16px; }
.copy p, .copy li { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.copy ul, .copy ol { padding-left: 20px; }
.copy a { color: var(--hl); }
.card.nf { justify-items: center; text-align: center; max-width: 420px; margin: 20px auto; display: grid; gap: 8px; }
.card.nf img { width: 120px; height: auto; }
.card.nf h2 { justify-content: center; }
.card.nf { width: min(100%, 420px); }

/* ---------- admin (16/11/2026 new mine: the admin uses the game's own words; only these few rules are its own) ---------- */
.adm .nav a { position: relative; }
.adm .nav a > i { font-size: 20px; line-height: 30px; height: 30px; }
.adm .nav a .bd { top: 0; right: 6px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 99px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; background: var(--bad); }
.seg { margin-left: auto; display: flex; gap: 4px; padding: 3px; border-radius: var(--radius-s); background: var(--panel-2); border: 1px solid var(--line); }
.seg a { padding: 4px 12px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.seg a.on { background: linear-gradient(180deg, var(--rw-1), var(--rw-2)); color: var(--rw-ink); font-weight: 600; }
.seg a b { margin-left: 4px; font-size: 12px; }
/* a native list that remains (admin, later modules) opens in the site's colours, not the system's white box */
select option { background: var(--panel); color: var(--ink); }
/* 16/11/2026: a choice inside a form (payout network) is the same strip with radios */
.seg.net { margin: 0; }
.seg.net label { position: relative; flex: 1; padding: 7px 10px; border-radius: 8px; text-align: center; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.seg.net label:hover { color: var(--ink); }
.seg.net input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
/* 16/11/2026: a picked network is lit like a tab (karar: sekmeler altın dolu düğme değil), the same as the Top up dialog tabs */
.seg.net { padding: 4px; border-radius: var(--radius-s); background: rgba(0, 0, 0, .28); border: 0; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .45), 0 1px 0 rgba(255, 255, 255, .06); }
.seg.net label { border-radius: var(--radius-s); font-weight: 600; }
.seg.net label:has(input:checked) { color: var(--hl); background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line), inset 0 -2px 0 var(--hl); }
.seg.net label:has(input:focus-visible) { outline: 2px solid var(--hl); outline-offset: 1px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.kpi { display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); }
.kpi span { font-size: 12px; color: var(--muted); }
.kpi b { font-size: 20px; font-weight: 700; color: var(--ink); }
.kpi b.up { color: var(--good); }
.kpi b.down { color: var(--bad); }
.kpi small { font-size: 12px; color: var(--ink-2); }
/* a header with nothing to sort (tick-all box, row actions) carries no sort mark */
.tb th:empty::after, .tb th:has(input)::after { content: none; }
/* a list sorted by the server: its header links carry the arrow, plain headers none */
.tb[data-sort-server] th::after { content: none; }
.tb th a { color: inherit; }
.tb th a:hover, .tb th.on a { color: var(--hl); }
/* one row of inputs and buttons (search, balance change) */
.adm-line { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.adm-line .in { min-height: 38px; padding: 0 14px; }
.adm-line .in.grow { flex: 1 1 260px; }
.adm-line select option { color: #111; }
.adm-line.tight { margin: 0; flex-wrap: nowrap; justify-content: flex-end; }
.adm-line.tight .in { width: 110px; min-height: 32px; padding: 0 10px; }
/* the player's plain facts under his numbers */
.adm-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 13px; }
.adm-facts a { color: var(--hl); }
.adm-facts + .thread { margin-top: 14px; }
.adm-facts b { color: var(--ink-2); font-weight: 600; }
.adm-bulk .seg { margin-left: auto; }
.row2.adm-top { align-items: start; }
.adm-set .in { min-height: 38px; padding: 0 14px; }
.adm-set small { font-size: 12px; }
.card .form .adm-set:last-of-type { margin-bottom: 14px; }
.adm-num { width: 100px; padding: 5px 10px; border-radius: 10px; border: 1px solid var(--well-line, var(--line)); background: var(--well, #171b21); color: var(--ink); font: 500 14px var(--font); text-align: right; }
.adm-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.adm-check input { width: auto; flex: none; margin: 0; }
/* 17/11/2026 on/off settings (Telegram alerts): the box sits left of its label, like the payment method table */
.adm-set .adm-check { justify-content: flex-start; align-self: flex-start; }
.adm-bulk { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
/* 17/11/2026 user ("aksiyon butonları sayfanın sonunda değil başında olur"): a list's actions and pages sit above its table */
.adm-bulk.lead { margin: 0 0 10px; }
.adm-signin { max-width: 380px; margin: 60px auto; }
.adm-signin form { display: grid; gap: 10px; }
@media (max-width: 760px) {
  .adm .top { flex-wrap: wrap; }
  /* the admin has no tab bar: its menu stays, as one row that scrolls sideways under the logo */
  .adm .top .nav { display: flex; order: 3; width: 100%; overflow-x: auto; margin-left: 0; }
  .adm .nav a { min-width: 64px; }
  .card > h2 .seg { order: 3; width: 100%; margin: 8px 0 0; overflow-x: auto; }
  .card > h2 { flex-wrap: wrap; }
}

/* 17/11/2026 Earn (Aviso + ZerAds PTC): one card, the provider's own page fills it; tabs and the guest note use the site's pieces */
.earn .earn-frame { border-radius: 12px; overflow: hidden; background: var(--panel-2); border: 1px solid var(--line); }
.earn .earn-frame iframe { display: block; width: 100%; height: 760px; border: 0; background: #fff; }
.earn .earn-guest { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
/* 17/11/2026 languages (core/localization.php): one round button in the tools row, the current code on it; the list opens
   under it with each language in its own name */
.lang { position: relative; flex: none; }
.lang summary { list-style: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; letter-spacing: .02em; color: var(--ink-2); background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: var(--hl); }
.lang nav { position: absolute; z-index: 60; top: calc(100% + 6px); right: 0; min-width: 190px; padding: 6px; border-radius: 14px; background: rgba(24, 28, 34, .97); box-shadow: 0 12px 30px rgba(0, 0, 0, .45), inset 0 0 0 1px var(--line); display: grid; }
.lang nav a { padding: 7px 10px; border-radius: 9px; font-size: 14px; color: var(--ink); white-space: nowrap; }
.lang nav a:hover { background: rgba(255, 255, 255, .06); }
.lang nav a[aria-current] { color: var(--hl); font-weight: 700; }
@media (min-width: 761px) { .top-r .lang summary { width: 26px; height: 26px; font-size: 10px; } }
.pub-cta { align-items: center; }
@media (max-width: 760px) { .lang summary { width: 30px; height: 30px; } }
