/* =========================================================================
   Rise Of War · Kratos — dark smoke theme
   Mobile-first. Display face: Cinzel (matches the KRATOS wordmark in game).
   ========================================================================= */

:root {
  --bg:          #0a0c0f;
  --bg-2:        #0e1116;
  --card:        #11151a;
  --card-2:      #151a20;
  --line:        #222831;
  --line-2:      #2c333d;

  --ink:         #e7ecf3;
  --ink-2:       #a8b0bd;
  --ink-3:       #737c8a;

  --gold:        #c9a25e;
  --gold-2:      #e9c980;
  --ember:       #ff8c30;
  --ember-dim:   #7a4418;
  --steel:       #7f95b5;
  --good:        #6fc98a;
  --bad:         #e0685f;

  --r:           10px;
  --r-sm:        7px;
  --wrap:        1180px;
  --hdr-h:       64px;

  --shadow:      0 18px 46px rgba(0,0,0,.55);
  --ease:        cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.62 Inter, "Segoe UI", Tahoma, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient smoke + low ember horizon. Fixed so it does not scroll away. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 60% at 68% 88%, rgba(255,120,40,.13), transparent 62%),
    radial-gradient(90% 55% at 12% 8%,  rgba(90,120,170,.10), transparent 60%),
    linear-gradient(180deg, #0b0e12 0%, #0d1116 42%, #090b0e 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .28;                     /* subtle drift, not a blotchy overlay */
  background-image: url("../img/smoke.png");
  background-size: 1400px auto;
  mix-blend-mode: screen;
}

img { max-width: 100%; height: auto; border: 0; }
a { color: var(--gold-2); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--ember); }

h1, h2, h3, .brand-main, .display {
  font-family: Cinzel, Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: .02em;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--gold); color: #14100a; padding: 10px 16px; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------------------------------------------------------------- header */
.hdr {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10,12,15,.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.hdr-in { display: flex; align-items: center; gap: 18px; height: var(--hdr-h); }

.brand { display: flex; flex-direction: column; line-height: 1; flex: 0 0 auto; }
.brand-top {
  font-size: 9px; letter-spacing: .34em; color: var(--gold);
  text-transform: uppercase;
}
.brand-main {
  font-size: 20px; letter-spacing: .16em; color: var(--ink);
  margin-top: 3px;
}

.nav { display: none; margin-left: auto; gap: 4px; }
.nav a {
  position: relative;
  padding: 9px 13px; border-radius: var(--r-sm);
  color: var(--ink-2); font-size: 13.5px; font-weight: 500;
  transition: color .18s var(--ease), background .18s var(--ease);
}
.nav a:hover { color: var(--ink); background: rgba(255,255,255,.04); }
.nav a.on { color: var(--gold-2); }
.nav a.on::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px;
  height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hdr-act { display: none; gap: 8px; }

.burger {
  margin-left: auto; width: 42px; height: 38px; display: grid; place-content: center; gap: 5px;
  background: none; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer;
}
.burger span {
  display: block; width: 18px; height: 1.5px; background: var(--ink-2);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.drawer {
  position: sticky; top: var(--hdr-h); z-index: 39;
  background: rgba(12,15,19,.97);
  border-bottom: 1px solid var(--line);
  animation: drop .22s var(--ease);
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.drawer nav { display: flex; flex-direction: column; padding: 8px 18px 16px; }
.drawer a {
  padding: 12px 2px; color: var(--ink-2); font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.drawer a.on, .drawer a.gold { color: var(--gold-2); }
.drawer-sep { height: 10px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--r-sm);
  font: 600 13.5px/1 Inter, sans-serif; letter-spacing: .02em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .16s var(--ease), background .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 8px 13px; font-size: 12.5px; }
.btn-lg { padding: 14px 26px; font-size: 15px; }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #171208; border-color: #d8b774;
}
.btn-gold:hover { box-shadow: 0 0 0 3px rgba(201,162,94,.18); color: #171208; }

.btn-ghost { background: rgba(255,255,255,.03); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); background: rgba(201,162,94,.07); }

.btn-quiet { background: none; color: var(--ink-3); border-color: transparent; }
.btn-quiet:hover { color: var(--ink); }

.btn[disabled], .btn.is-off { opacity: .45; pointer-events: none; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 56px 0 44px; overflow: hidden; }
.hero-in { position: relative; z-index: 1; text-align: center; }
.hero-kick {
  font-size: 10px; letter-spacing: .42em; color: var(--gold);
  text-transform: uppercase; margin: 0 0 14px;
}
.hero h1 {
  margin: 0; font-size: clamp(38px, 11vw, 84px); line-height: .98;
  letter-spacing: .1em;
  background: linear-gradient(180deg, #eef2f8 6%, #9aa5b4 44%, #6b6250 62%, var(--gold-2) 84%, #7d6636 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 16px auto 26px; max-width: 46ch; color: var(--ink-2); font-size: 15.5px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 11px; justify-content: center; }

.hero-rule {
  width: min(420px, 80%); height: 1px; margin: 26px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .55;
}

/* ---------------------------------------------------------------- stats */
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  margin: 30px 0 0;
}
.stat {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 14px; text-align: center;
}
.stat b { display: block; font-size: 25px; font-family: Cinzel, serif; color: var(--ink); }
.stat b.gold { color: var(--gold-2); }
.stat b.up   { color: var(--good); }
.stat b.down { color: var(--bad); }
.stat span { display: block; margin-top: 5px; font-size: 10.5px; letter-spacing: .18em;
             text-transform: uppercase; color: var(--ink-3); }

/* ---------------------------------------------------------------- sections */
.sec { padding: 48px 0; }
.sec-head { margin: 0 0 22px; }
.sec-head .kicker,
.kicker { margin: 0 0 7px; font-size: 10px; letter-spacing: .34em;
          text-transform: uppercase; color: var(--gold); }
.sec-head h2 { margin: 0; font-size: clamp(23px, 5vw, 31px); }
.sec-head p  { margin: 9px 0 0; color: var(--ink-2); max-width: 62ch; }

.cards { display: grid; grid-template-columns: 1fr; gap: 14px; }

.card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px;
}
.card h3 { margin: 0 0 8px; font-size: 17px; }
.card p  { margin: 0; color: var(--ink-2); font-size: 14px; }

.card-link { display: block; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.card-link:hover { border-color: var(--gold); transform: translateY(-2px); }
.card-link .more { display: inline-block; margin-top: 12px; font-size: 12.5px;
                   letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }

/* ---------------------------------------------------------------- page shell */
.page { padding: 34px 0 60px; }
.page-head { margin: 0 0 22px; }
.page-head h1 { margin: 0; font-size: clamp(25px, 6vw, 36px); }

.page-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.page-side { display: grid; gap: 14px; align-content: start; }

.panel {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--r); padding: 16px;
}
.panel h3 {
  margin: 0 0 12px; font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); font-family: Inter, sans-serif; font-weight: 600;
}
.panel-note { margin: 0 0 12px; color: var(--ink-2); font-size: 13.5px; }
.panel-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.panel-nav { display: flex; flex-direction: column; }
.panel-nav a {
  padding: 8px 10px; border-radius: var(--r-sm); color: var(--ink-2); font-size: 13.5px;
  border-left: 2px solid transparent;
}
.panel-nav a:hover { background: rgba(255,255,255,.035); color: var(--ink); }
.panel-nav a.on { color: var(--gold-2); border-left-color: var(--gold); background: rgba(201,162,94,.07); }
.panel-more { display: inline-block; margin-top: 10px; font-size: 12.5px; }

.kv { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0;
      border-bottom: 1px dashed rgba(255,255,255,.05); font-size: 13.5px; }
.kv:last-of-type { border-bottom: 0; }
.kv span { color: var(--ink-3); }
.kv b { font-weight: 600; }
.kv b.gold { color: var(--gold-2); }
.kv b.up   { color: var(--good); }
.kv b.down { color: var(--bad); }

.mini-rank { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.mini-rank li {
  counter-increment: r; display: flex; flex-direction: column;
  padding: 7px 0 7px 26px; position: relative; border-bottom: 1px solid rgba(255,255,255,.04);
}
.mini-rank li:last-child { border-bottom: 0; }
.mini-rank li::before {
  content: counter(r); position: absolute; left: 0; top: 8px;
  font-size: 11px; color: var(--gold); font-weight: 700;
}
.mr-name { font-size: 13.5px; font-weight: 600; }
.mr-meta { font-size: 11.5px; color: var(--ink-3); }

/* ---------------------------------------------------------------- forms */
.form { display: grid; gap: 15px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.field .hint { font-size: 12px; color: var(--ink-3); }

input[type=text], input[type=password], input[type=email], input[type=tel],
input[type=number], select, textarea {
  width: 100%; padding: 12px 13px;
  background: #0b0e12; color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font: 400 14.5px Inter, sans-serif;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,94,.14);
}
input::placeholder, textarea::placeholder { color: #4d5561; }
textarea { min-height: 130px; resize: vertical; }

/* eykalzz item mall 6.9.2026
   The file input was never in the list above, so on a dark card it rendered as
   a bright system control with near-unreadable text. The icon upload in
   /admin/items.php is the first place the site uses one. */
input[type=file] {
  width: 100%; padding: 9px 11px;
  background: #0b0e12; color: var(--ink-2);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font: 400 13px Inter, sans-serif; cursor: pointer;
}
input[type=file]::file-selector-button {
  margin-right: 12px; padding: 7px 13px;
  background: rgba(255,255,255,.04); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font: 600 12.5px Inter, sans-serif; cursor: pointer;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
input[type=file]::file-selector-button:hover { border-color: var(--gold); color: var(--gold-2); }
/* Tints the native tick gold instead of the browser's default blue. */
input[type=checkbox], input[type=radio] { accent-color: var(--gold); }

.field-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
.inline-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; }

.form-note { font-size: 13px; color: var(--ink-2); }
.form-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }

.auth-wrap { max-width: 470px; margin: 0 auto; }

/* ---------------------------------------------------------------- messages */
.flashes { display: grid; gap: 8px; padding-top: 16px; }
.msg, .flash {
  padding: 12px 14px; border-radius: var(--r-sm); font-size: 13.5px;
  border: 1px solid var(--line-2); background: var(--card);
}
.msg-error, .flash-error { border-color: #6b322e; background: #1b1210; color: #f0b5b0; }
.msg-ok,    .flash-ok    { border-color: #2f5c3f; background: #101a14; color: #a8e0bd; }
.msg-warn,  .flash-warn  { border-color: #6a5526; background: #1a160e; color: #e6cf9a; }
.msg-info,  .flash-info  { border-color: var(--line-2); color: var(--ink-2); }

/* ---------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch;
              border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
table.data { width: 100%; border-collapse: collapse; min-width: 560px; }
table.data th, table.data td { padding: 11px 13px; text-align: left; font-size: 13.5px;
                               border-bottom: 1px solid rgba(255,255,255,.045); }
table.data th {
  font: 600 10.5px/1 Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); background: #0d1116; white-space: nowrap; position: sticky; top: 0;
}
table.data tbody tr:hover { background: rgba(255,255,255,.022); }
table.data tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.rank-1 .rk, .rank-2 .rk, .rank-3 .rk { font-weight: 700; }
.rank-1 .rk { color: #f0d089; }
.rank-2 .rk { color: #cfd6e0; }
.rank-3 .rk { color: #d6a271; }

.tag {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--line-2); color: var(--ink-2);
}
.tag-human { border-color: #35506f; color: #9dbfe3; }
.tag-akkan { border-color: #3c5c40; color: #a4d6a8; }
.tag-gold  { border-color: #6a5526; color: var(--gold-2); }

/* ---------------------------------------------------------------- tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 16px; }
.tabs a {
  padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 500;
  color: var(--ink-2); border: 1px solid var(--line-2); background: rgba(255,255,255,.02);
}
.tabs a:hover { border-color: var(--gold); color: var(--gold-2); }
.tabs a.on { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #171208;
             border-color: #d8b774; font-weight: 600; }

/* ---------------------------------------------------------------- packages */
.packs { display: grid; grid-template-columns: 1fr; gap: 13px; }
/* eykalzz points system 6.9.2026 - the bonus badge is absolutely positioned in
   the top-right corner, so the padding above the point figure has to clear it.
   At 22px the badge (top:10px, ~19px tall) sat right on top of "12,000". 36px
   leaves the number starting below it at every card width. Every card gets the
   same padding, badge or not, so a row of them still lines up. */
.pack {
  position: relative; padding: 36px 18px 22px; text-align: center;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.pack:hover { border-color: var(--gold); transform: translateY(-2px); }
.pack-pts { font-family: Cinzel, serif; font-size: 31px; color: var(--gold-2); line-height: 1; }
.pack-lbl { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3);
            margin-top: 6px; }
.pack-price { margin: 14px 0 4px; font-size: 19px; font-weight: 700; }
/* nowrap: a two-line badge would grow back down into the number. */
.pack-bonus { position: absolute; top: 10px; right: 10px; white-space: nowrap; }
.pack form { margin-top: 14px; }
.pack .btn + .btn, .pack form + form { margin-top: 8px; }

/* eykalzz points system 6.9.2026 - the ringgit price goes UNDER the label, not
   beside it. .btn is white-space:nowrap, and at four cards across one line of
   "FPX / Online banking RM450.00" is wider than the card - which is what shoved
   the whole pack grid out over the sidebar. Stacking keeps the button inside
   its card at every width. */
.pack .btn-stack { flex-direction: column; gap: 1px; padding: 7px 10px; line-height: 1.3; }
.pack-myr { font-size: 11px; font-weight: 500; letter-spacing: .04em; opacity: .72; }

/* At the 900px breakpoint four cards leaves each one about 136px wide, which
   is narrower than "FPX / Online banking" on one line - and .btn is nowrap, so
   the label used to hang outside its own border. Inside a pack the buttons are
   allowed to wrap instead; they are block-width already, so wrapping costs a
   line of height and nothing else. */
.pack .btn { white-space: normal; }

/* ---------------------------------------------------------------- item mall */
/* eykalzz item mall 6.9.2026
   Rows, not square cards. Laid out like the original RYL mall: icon on the
   left, a spec strip of Class limit / Amount / Point, the description under
   it, and a small Buy on the right. The first attempt was a grid of tall cards
   with a full-width gold button on each one, which shouted for attention it
   had not earned and left a lot of empty card doing nothing. */
.mall { display: grid; grid-template-columns: 1fr; gap: 12px; }

.mall-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);   /* narrow: Buy drops below */
  gap: 12px 14px;
  align-items: start;
  padding: 14px 16px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .2s var(--ease);
}
.mall-row:hover { border-color: var(--gold); }

.mall-icon {
  width: 72px; height: 72px; display: grid; place-content: center;
  background: #0b0e12; border: 1px solid var(--line-2); border-radius: var(--r-sm);
}
/* These are small 2005-era GIFs; the browser's default smoothing turns them
   to mush when scaled at all. */
.mall-icon img { max-width: 56px; max-height: 56px; image-rendering: pixelated; }
.mall-noimg { color: var(--ink-3); font-size: 20px; }

.mall-body { min-width: 0; }                     /* let long names wrap, not stretch */
.mall-name {
  margin: 0 0 9px; font-family: Cinzel, Georgia, serif; font-weight: 600;
  font-size: 16.5px; letter-spacing: .03em; color: var(--ink); line-height: 1.25;
}

.mall-spec {
  display: flex; flex-wrap: wrap;
  border: 1px solid var(--line-2); border-radius: var(--r-sm); overflow: hidden;
}
.mall-spec > div {
  flex: 1 1 0; min-width: 92px; padding: 6px 12px;
  background: rgba(255,255,255,.02); border-right: 1px solid var(--line-2);
}
.mall-spec > div:last-child { border-right: 0; }
.mall-spec span {
  display: block; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3);
}
.mall-spec b { font-size: 14px; font-weight: 600; }

.mall-desc {
  margin: 10px 0 0; padding: 8px 12px;
  font-size: 13px; line-height: 1.55; color: var(--ink-2);
  background: rgba(201,162,94,.05);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.mall-act { grid-column: 1 / -1; }               /* narrow: own row, full width */
.mall-act .btn { width: 100%; }

/* ------------------------------------------------------------- mall pager */
/* eykalzz item mall 6.9.2026
   Named .mall-pager, NOT .pager. There is already a .pager further down this
   file - the guide's prev/next bar - and it is space-between with only two
   links in it. Reusing that name broke both: mine lost to it on specificity
   order, and my `.pager a` rules were quietly restyling the guide. */
.mall-pager {
  display: flex; flex-wrap: wrap; gap: 6px;
  align-items: center; justify-content: center; margin-top: 20px;
}
.mall-pager a, .mall-pager .on, .mall-pager .gap {
  min-width: 36px; padding: 8px 11px; border-radius: var(--r-sm);
  text-align: center; font-size: 13px; line-height: 1;
}
.mall-pager a {
  color: var(--ink-2); border: 1px solid var(--line-2);
  background: rgba(255,255,255,.02);
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.mall-pager a:hover { border-color: var(--gold); color: var(--gold-2); }
.mall-pager .on {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #171208; border: 1px solid #d8b774; font-weight: 600;
}
.mall-pager .gap { color: var(--ink-3); border: 0; min-width: 18px; padding: 8px 2px; }

/* ---------------------------------------------------------------- char cards */
.chars { display: grid; grid-template-columns: 1fr; gap: 13px; }
.char {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--r); padding: 16px;
}
.char-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
            margin-bottom: 10px; }
.char-name { font-family: Cinzel, serif; font-size: 18px; }
.char-lv { font-size: 12px; color: var(--gold-2); letter-spacing: .1em; }
.char-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.char-stat { background: #0c0f13; border: 1px solid var(--line); border-radius: var(--r-sm);
             padding: 8px; text-align: center; }
.char-stat b { display: block; font-size: 14px; }
.char-stat span { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

.empty { padding: 34px 18px; text-align: center; color: var(--ink-3);
         border: 1px dashed var(--line-2); border-radius: var(--r); }

/* ---------------------------------------------------------------- pager */
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.pager a {
  padding: 10px 15px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font-size: 13.5px; color: var(--ink-2); background: rgba(255,255,255,.02);
}
.pager a:hover { border-color: var(--gold); color: var(--gold-2); }

/* ---------------------------------------------------------------- footer */
.ftr { border-top: 1px solid var(--line); background: rgba(8,10,13,.7); margin-top: 20px; }
.ftr-in { display: grid; gap: 22px; padding-top: 34px; padding-bottom: 22px; }
.ftr-brand p { margin: 9px 0 0; color: var(--ink-3); font-size: 13.5px; max-width: 40ch; }
.ftr-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; align-content: start; }
.ftr-nav a { color: var(--ink-2); font-size: 13.5px; }
.ftr-legal {
  display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: space-between;
  padding-top: 14px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.045);
  color: var(--ink-3); font-size: 12.5px;
}

/* ---------------------------------------------------------------- breakpoints */
@media (min-width: 620px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* minmax(0, 1fr), not 1fr: a bare 1fr is minmax(AUTO, 1fr), so one wide
     unbreakable child (a nowrap button, a long account name) makes the track
     refuse to shrink and the whole grid spills over the sidebar beside it. */
  .packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Wide enough for the Buy button to sit beside the item instead of under it. */
  .mall-row { grid-template-columns: 72px minmax(0, 1fr) auto; }
  .mall-act { grid-column: auto; align-self: center; }
  .mall-act .btn { width: auto; min-width: 88px; }
  .chars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  body { font-size: 15.5px; }
  .nav, .hdr-act { display: flex; }
  .burger { display: none; }
  .drawer { display: none !important; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .packs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .page-grid { grid-template-columns: minmax(0, 1fr) 290px; gap: 28px; }
  .page-grid.no-side { grid-template-columns: minmax(0, 1fr); }
  .ftr-in { grid-template-columns: 1.4fr 1fr; }
  .hero { padding: 84px 0 62px; }
  .sec { padding: 64px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important;
      scroll-behavior: auto !important; }
}

/* --------------------------------------------------------------- daily claim */
/* eykalzz daily claim 20.9.2026
   Seven narrow cards read left to right like a calendar week. This block keeps
   its own breakpoints instead of joining the ones above: a week resizes like
   nothing else on the site - two across on a phone, four on a tablet, all
   seven in a line on a desktop - and keeping the whole feature in one place
   beats scattering three rules through a file this long. */
.daily { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.daily-day {
  display: grid; gap: 8px; justify-items: center; text-align: center;
  padding: 14px 10px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: var(--r);
}
/* Today is the only one anybody can act on, so it is the only one lit. */
.daily-day.is-today { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,94,.12); }
.daily-day.is-gone  { opacity: .45; }
.daily-day.is-empty .daily-icon { opacity: .35; }

.daily-dow {
  font-family: Cinzel, Georgia, serif; font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-3);
}
.daily-day.is-today .daily-dow { color: var(--gold-2); }
.daily-now { display: block; font-size: 9.5px; letter-spacing: .14em; color: var(--gold-2); }

.daily-icon {
  width: 56px; height: 56px; display: grid; place-content: center;
  background: #0b0e12; border: 1px solid var(--line-2); border-radius: var(--r-sm);
}
/* Same 2005-era GIFs as the shop: smoothing turns them to mush. */
.daily-icon img { max-width: 44px; max-height: 44px; image-rendering: pixelated; }
.daily-noimg { color: var(--ink-3); font-size: 17px; }

.daily-name  { font-size: 13px; line-height: 1.3; color: var(--ink); }
.daily-qty   { font-size: 12px; color: var(--ink-3); }
.daily-price { font-size: 12px; color: var(--ink-2); }
.daily-state {
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
}
.daily-state.is-done { color: var(--good); }

@media (min-width: 620px) { .daily { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 900px) { .daily { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
