﻿@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Sora:wght@400;500;600;700&display=swap');

:root {
  --bg: #f3f4f0;
  --bg-elevated: #ffffff;
  --bg-soft: #e8ebe3;
  --ink: #1a1c19;
  --ink-muted: #5c6358;
  --line: #d5d9d0;
  --accent: #0d7a5f;
  --accent-hover: #0a634d;
  --accent-soft: rgba(13, 122, 95, 0.1);
  --warn: #c47a12;
  --danger: #c0392b;
  --ok: #1f8a5a;
  --shadow: 0 1px 2px rgba(26, 28, 25, 0.06), 0 8px 24px rgba(26, 28, 25, 0.06);
  --radius: 14px;
  --font: 'Sora', system-ui, sans-serif;
  --display: 'Outfit', 'Sora', sans-serif;
  --sidebar: 240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(13,122,95,.12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(196,122,18,.08), transparent 50%),
    linear-gradient(180deg, #eef1ea 0%, var(--bg) 40%, #e7ebe2 100%);
  background-attachment: fixed;
}
.hidden { display: none !important; }
code { font-family: ui-monospace, monospace; background: var(--bg-soft); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.muted { color: var(--ink-muted); font-size: .9rem; }
.danger { color: var(--danger); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 10px;
  padding: 10px 16px; font: 600 14px/1 var(--font); cursor: pointer;
  transition: .15s ease; color: var(--ink); background: var(--bg-elevated);
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-accent { background: #f4e6c8; color: #7a4e08; border-color: #e8d4a8; }
.btn-ghost { background: transparent; border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-sm { padding: 6px 10px; font-size: 12px; }
.btn-lg { padding: 14px 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-icon { width: 40px; height: 40px; padding: 0; }
.badge {
  display: inline-flex; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; background: #fff; color: var(--accent);
  font-size: 11px; font-weight: 700; align-items: center; justify-content: center;
}

.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; position: relative; }
.login-atmosphere {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,.55), transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%230d7a5f' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.login-card {
  position: relative; width: 100%; max-width: 420px;
  background: rgba(255,255,255,.88); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.7); border-radius: 24px;
  box-shadow: var(--shadow); padding: 40px 36px; text-align: center;
}
.brand-mark {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px;
  display: grid; place-items: center; font: 800 24px/1 var(--display); color: #fff;
  background: linear-gradient(145deg, #129873, #0a5c48);
  box-shadow: 0 10px 24px rgba(13,122,95,.35);
}
.brand-mark.sm { width: 36px; height: 36px; font-size: 16px; margin: 0; border-radius: 10px; }
.brand-title { font-family: var(--display); font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }
.brand-sub { color: var(--ink-muted); margin: 6px 0 28px; font-size: .95rem; }
.login-form { text-align: left; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.field input, .field textarea, .field select,
.search-inline, .topbar-search input, .filters select, #logFileSelect {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font: 500 14px/1.2 var(--font);
}
.field input:focus, .field textarea:focus, .field select:focus,
.search-inline:focus, .topbar-search input:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
.form-error { color: var(--danger); text-align: center; margin-top: 12px; font-size: 13px; }
.form-loading { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 12px; color: var(--accent); font-size: 13px; }
.spinner { width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.app-shell { display: grid; grid-template-columns: var(--sidebar) 1fr; min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh; padding: 20px 14px;
  background: rgba(255,255,255,.72); backdrop-filter: blur(14px);
  border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px;
}
.sidebar-brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px; }
.sidebar-brand strong { display: block; font-family: var(--display); font-size: 1.05rem; }
.sidebar-brand small { color: var(--ink-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.side-nav { display: flex; flex-direction: column; gap: 4px; overflow: auto; flex: 1; }
.nav-item {
  text-align: left; border: 0; background: transparent; color: var(--ink-muted);
  padding: 10px 12px; border-radius: 10px; font: 600 13px/1 var(--font); cursor: pointer;
}
.nav-item:hover { background: var(--bg-soft); color: var(--ink); }
.nav-item.active { background: var(--accent-soft); color: var(--accent); }
.nav-divider { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-muted); padding: 14px 12px 6px; }
.sidebar-foot { border-top: 1px solid var(--line); padding-top: 12px; display: grid; gap: 8px; }
.user-chip { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 6px 8px; }
.user-chip img { width: 24px; height: 24px; border-radius: 6px; }
.role-admin { color: var(--accent); font-size: 11px; }
.role-player { color: var(--ink-muted); font-size: 11px; }

.main-column { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; gap: 16px; align-items: center; justify-content: space-between;
  padding: 14px 24px; background: rgba(243,244,240,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(213,217,208,.8);
}
.topbar-search { flex: 1; max-width: 420px; }
.topbar-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.balance-pill {
  display: flex; flex-direction: column; padding: 6px 12px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line); min-width: 110px;
}
.balance-pill span { font-size: 11px; color: var(--ink-muted); }
.balance-pill strong { color: var(--accent); font-size: 15px; }
.content { padding: 24px 28px 48px; max-width: 1280px; width: 100%; margin: 0 auto; }

.shop-hero {
  display: grid; grid-template-columns: 1.1fr .9fr; min-height: 280px;
  border-radius: 24px; overflow: hidden; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow); margin-bottom: 28px;
}
.shop-hero-copy { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.shop-hero-copy h2 { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 10px; }
.shop-hero-copy p { color: var(--ink-muted); max-width: 34ch; margin-bottom: 22px; }
.hero-cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.shop-hero-visual {
  background:
    linear-gradient(160deg, rgba(13,122,95,.35), rgba(26,28,25,.2)),
    #0d7a5f;
  min-height: 220px;
  position: relative;
}
.shop-hero-visual::after {
  content: '';
  position: absolute; inset: 18%;
  background: url('https://mc.nerothe.com/img/1.21.4/minecraft_emerald.png') center/contain no-repeat;
  image-rendering: pixelated; opacity: .9;
}
.panel-hero {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); margin-bottom: 20px;
}
.panel-hero h2 { font-family: var(--display); font-size: 1.6rem; }
.panel-hero.market { background: linear-gradient(135deg, #fff, #eef7f3); }

.toolbar-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.filters { display: flex; gap: 8px; }
.search-inline { max-width: 280px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin: 8px 0 16px; }
.section-head h3 { font-family: var(--display); font-size: 1.25rem; font-weight: 700; }
.section-head span { color: var(--ink-muted); font-size: 13px; }
.product-section { margin-bottom: 36px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.bundles-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(26,28,25,.1); }
.product-card.bundle { border-color: #e4d4a8; }
.product-media {
  position: relative; aspect-ratio: 1.15;
  background: linear-gradient(180deg, #f7f8f4, #e9ece4);
  display: grid; place-items: center; padding: 20px;
}
.product-media img { width: 88px; height: 88px; image-rendering: pixelated; object-fit: contain; }
.product-media .stock-tag {
  position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700;
  padding: 4px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
}
.stock-tag.out { color: var(--danger); }
.stock-tag.ok { color: var(--ok); }
.fav-btn {
  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 16px;
}
.fav-btn.on { color: var(--danger); border-color: #f0c2bd; }
.product-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-body h3 { font-size: 15px; font-weight: 700; line-height: 1.3; min-height: 2.4em; }
.product-meta { font-size: 12px; color: var(--ink-muted); }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; background: var(--bg-soft); color: var(--ink-muted); }
.chip.featured { background: #e8f5ef; color: var(--accent); }
.chip.unit { background: #eef2ff; color: #3b4cca; }
.chip.dyn { background: #fff4e0; color: var(--warn); }
.product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 8px; }
.price { font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.price small { font-size: 12px; color: var(--ink-muted); font-weight: 500; text-decoration: line-through; margin-left: 6px; }
.bundle-preview { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.bundle-preview .bp {
  position: relative; width: 40px; height: 40px; border-radius: 8px; background: var(--bg-soft);
  border: 1px solid var(--line); display: grid; place-items: center;
}
.bundle-preview .bp img { width: 28px; height: 28px; image-rendering: pixelated; }
.bundle-preview .bp .q { position: absolute; bottom: -3px; right: -3px; background: var(--accent); color: #fff; font-size: 9px; font-weight: 800; padding: 1px 4px; border-radius: 6px; }
.card-actions { display: flex; gap: 6px; width: 100%; }
.card-actions .btn { flex: 1; }

.limits-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 20px;
}

.panel {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 22px; box-shadow: var(--shadow);
}
.panel h2, .panel h3 { font-family: var(--display); margin-bottom: 14px; }
.admin-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.stack-form .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.toggle-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.toggle { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; }
.builder-box { border: 1px dashed var(--line); border-radius: 12px; padding: 12px; margin: 10px 0; background: #fafaf8; }
.builder-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-weight: 700; font-size: 13px; }
.enchant-row, .bundle-item-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.form-actions { display: flex; gap: 8px; margin-top: 12px; }
.admin-list { display: flex; flex-direction: column; gap: 8px; max-height: 480px; overflow: auto; }
.admin-row {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fafaf8; font-size: 13px;
}
.admin-row .acts { display: flex; gap: 6px; }

.chest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.chest-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: var(--shadow); }
.chest-coords { font-size: 12px; color: var(--ink-muted); margin-bottom: 10px; font-family: ui-monospace, monospace; }
.item-slot { display: flex; gap: 10px; align-items: center; padding: 8px; background: var(--bg-soft); border-radius: 10px; margin-bottom: 6px; }
.item-icon-wrapper { position: relative; width: 36px; height: 36px; background: #fff; border-radius: 8px; display: grid; place-items: center; }
.item-icon { width: 28px; height: 28px; image-rendering: pixelated; }
.item-amount { position: absolute; bottom: -2px; right: -2px; background: var(--accent); color: #fff; font-size: 9px; font-weight: 800; padding: 0 4px; border-radius: 6px; }
.item-name { font-size: 13px; font-weight: 600; }
.item-qty { font-size: 11px; color: var(--ink-muted); }
.chest-input { width: 100%; margin-top: 8px; padding: 10px; border-radius: 8px; border: 1px solid var(--line); }
.chest-contents { margin-top: 10px; }
.empty-slot, .no-results { text-align: center; color: var(--ink-muted); padding: 28px; grid-column: 1 / -1; }

.players-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.player-detail-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.player-detail-header { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.player-detail-header img { width: 48px; height: 48px; border-radius: 10px; }
.inv-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; }
.inv-slot { aspect-ratio: 1; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; display: grid; place-items: center; position: relative; }
.inv-slot img { width: 24px; height: 24px; image-rendering: pixelated; }
.inv-slot .slot-amount { position: absolute; bottom: 1px; right: 2px; font-size: 9px; font-weight: 800; }
.inv-slot.empty { opacity: .35; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); }
.stat-card .label { font-size: 12px; color: var(--ink-muted); }
.stat-card .value { font-family: var(--display); font-size: 1.6rem; font-weight: 800; margin-top: 4px; }

.casino-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 20px; }
.casino-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.slots-container {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px;
  background: #141816; border-radius: 16px; padding: 20px; border: 3px solid #2a322c;
}
.slot-reel { height: 110px; overflow: hidden; background: #0c100e; border-radius: 10px; display: grid; place-items: center; }
.reel-item img { width: 64px; height: 64px; image-rendering: pixelated; }
.reel-strip.spinning { animation: reel 0.12s linear infinite; }
@keyframes reel { to { transform: translateY(-100px); } }
.casino-status { text-align: center; padding: 14px; margin: 14px 0; background: var(--bg-soft); border-radius: 10px; font-weight: 600; }
.casino-bets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.btn-bet { padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 700; cursor: pointer; }
.btn-bet.active { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.rules-list { padding-left: 18px; color: var(--ink-muted); line-height: 1.7; font-size: 14px; }

.rank-list { display: flex; flex-direction: column; gap: 8px; }
.money-rank-row { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; background: var(--bg-soft); }
.money-rank-row img { width: 24px; height: 24px; border-radius: 6px; }
.rank-bal { margin-left: auto; font-weight: 700; color: var(--accent); }

.chat-panel, .console-panel { display: flex; flex-direction: column; height: min(70vh, 640px); }
.chat-log, .console-log {
  flex: 1; overflow: auto; background: #121512; color: #d7e0d6; border-radius: 12px;
  padding: 14px; font: 13px/1.5 ui-monospace, monospace; margin-bottom: 10px;
}
.console-log.tall { min-height: 60vh; }
.chat-bar { display: flex; gap: 8px; align-items: center; }
.chat-bar input { flex: 1; padding: 12px; border-radius: 10px; border: 1px solid var(--line); }
.prompt { font-family: ui-monospace, monospace; color: var(--accent); font-weight: 700; }
.console-toolbar { display: flex; justify-content: space-between; margin-bottom: 8px; }
.player-preview { display: flex; gap: 12px; align-items: center; padding: 12px; background: var(--bg-soft); border-radius: 12px; margin-bottom: 12px; }
.player-preview img { width: 40px; height: 40px; border-radius: 8px; }

.modal {
  position: fixed; inset: 0; z-index: 100; background: rgba(20, 24, 20, .45);
  display: grid; place-items: center; padding: 20px; backdrop-filter: blur(4px);
}
.modal-dialog {
  width: 100%; max-width: 440px; max-height: 90vh; overflow: auto;
  background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,.2);
  padding: 20px 22px 22px;
}
.modal-dialog.wide { max-width: 720px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.modal-head h2 { font-family: var(--display); font-size: 1.25rem; }
.modal-close { border: 0; background: var(--bg-soft); width: 36px; height: 36px; border-radius: 10px; font-size: 20px; cursor: pointer; }
.modal-foot { margin-top: 16px; display: flex; justify-content: flex-end; }
.tip { color: var(--ink-muted); font-size: 13px; margin-bottom: 12px; }
.cart-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.cart-item-row {
  display: grid; grid-template-columns: 1fr auto auto auto; gap: 10px; align-items: center;
  padding: 10px; border: 1px solid var(--line); border-radius: 12px;
}
.cart-qty-controls { display: flex; align-items: center; gap: 8px; }
.cart-qty-controls button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.promo-row { display: flex; gap: 8px; margin-bottom: 8px; }
.promo-row input { flex: 1; padding: 10px; border-radius: 10px; border: 1px solid var(--line); }
.cart-totals { background: var(--bg-soft); border-radius: 12px; padding: 12px; margin: 12px 0; }
.cart-totals .row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; }
.cart-totals .total { font-size: 17px; font-weight: 800; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 6px; }
.orders-list { display: flex; flex-direction: column; gap: 10px; }
.order-history-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fafaf8; }
.order-card-header { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 13px; }

.inspect-body { display: grid; gap: 12px; }
.inspect-item {
  display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 14px;
  border: 1px solid var(--line); border-radius: 14px; background: #fafaf8;
}
.inspect-item img { width: 48px; height: 48px; image-rendering: pixelated; }
.inspect-item h4 { font-size: 15px; margin-bottom: 4px; }
.ench-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ench-pill { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: #e8f0ff; color: #2a4a9b; }
.lore-line { font-size: 12px; color: var(--ink-muted); }

.qty-preview { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; padding: 12px; background: var(--bg-soft); border-radius: 12px; }
.qty-preview img { width: 48px; height: 48px; image-rendering: pixelated; }
.qty-meta { display: flex; justify-content: space-between; margin: 8px 0 12px; font-size: 13px; color: var(--ink-muted); }
.qty-presets { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.qty-presets button { padding: 8px 12px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 600; font-size: 12px; }

.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  padding: 14px 18px; border-radius: 12px; color: #fff; font-weight: 600;
  transform: translateY(80px); opacity: 0; transition: .25s ease; pointer-events: none;
}
.toast.show { transform: none; opacity: 1; }
.toast.success { background: var(--ok); }
.toast.error { background: var(--danger); }

.owner-group-section { margin-bottom: 24px; }
.group-owner-header { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.group-owner-avatar { width: 40px; height: 40px; border-radius: 8px; }
.shop-badge-indicator { font-size: 11px; font-weight: 700; }
.player-seller-tag { display: flex; gap: 6px; align-items: center; font-size: 12px; margin-bottom: 6px; }
.promo-feedback { font-size: 13px; margin-bottom: 8px; }

@media (max-width: 980px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: relative; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .side-nav { flex-direction: row; flex-wrap: wrap; }
  .shop-hero, .admin-split, .casino-layout { grid-template-columns: 1fr; }
  .topbar { flex-direction: column; align-items: stretch; }
}
