:root {
    --bg: #0a0a0b;
    --bg-card: #16100f;
    --bg-card-hover: #201513;
    --border: #3a1519;
    --text: #ece2e2;
    --text-dim: #9c8888;
    --accent: #d21e2b;       /* blood red */
    --accent-bright: #f0353f; /* hover/highlight red */
    --accent-2: #7a0a0a;     /* deep blood red (fills) */
    --good: #4caf50;
    --bad: #ff5252;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    line-height: 1.55;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* header */
.site-header {
    border-bottom: 1px solid var(--border);
    background: rgba(10, 10, 11, 0.96);
    position: sticky; top: 0; z-index: 10;
}
.header-row { display: flex; align-items: center; gap: 8px; min-height: 60px; flex-wrap: wrap; }
.header-row .site-nav { flex: 1 1 auto; justify-content: center; }
.brand { font-size: 1.25rem; font-weight: 800; letter-spacing: 3px; color: var(--text); text-decoration: none; margin-right: 10px; }
.brand span { color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* filter/search bar (kits + pals) */
.filter-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 4px 0 20px; }
.filter-search { flex: 1; min-width: 200px; background: var(--bg-card); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; font-size: .95rem; }
.filter-search:focus { outline: none; border-color: var(--accent); }
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: var(--bg-card); border: 1px solid var(--border); color: var(--text-dim); border-radius: 999px; padding: 7px 15px; font-size: .85rem; font-weight: 600; cursor: pointer; }
.chip:hover { color: var(--text); border-color: var(--accent-2); }
.chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.site-nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.site-nav a { color: var(--text-dim); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.site-nav a:hover { color: var(--text); }
.nav-admin { color: var(--accent-bright) !important; }
.nav-discord { color: #7d8bf5 !important; }

/* account group — pushed right and visually separated from the nav links */
.nav-account { display: flex; align-items: center; gap: 14px; padding-left: 20px; border-left: 1px solid var(--border); }
.coin-chip {
    display: inline-flex; align-items: center; padding: 4px 14px 4px 6px;
    border: 1px solid var(--accent); border-radius: 999px;
    color: var(--accent-bright); font-size: 0.95rem; font-weight: 800;
    text-decoration: none; white-space: nowrap; transition: background .12s, color .12s;
}
.coin-chip span { font-size: 0.68rem; opacity: 0.85; }
.coin-chip .coin-ico { width: 28px; height: 28px; margin-right: 8px; object-fit: contain; }
.coin-chip:hover { background: var(--accent); color: #fff; }

/* coin package visual (Horizon coin image + xAMOUNT) */
.coin-pkg-visual { text-align: center; margin: 12px 0 6px; }
.coin-pkg-img { width: 128px; height: 128px; object-fit: contain; filter: drop-shadow(0 5px 14px rgba(0, 0, 0, .6)); }
.coin-pkg-amount { color: var(--accent-bright); font-weight: 800; font-size: 1.5rem; margin-top: 8px; }

/* hero */
.hero { text-align: center; padding: 48px 0 24px; }
.hero h1 { font-size: 2.2rem; letter-spacing: 1px; }
.hero-sub { color: var(--text-dim); margin-top: 8px; }
.server-pills { margin-top: 16px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pill {
    border: 1px solid var(--border); border-radius: 999px; padding: 4px 14px;
    font-size: 0.85rem; color: var(--accent); background: var(--bg-card);
}

/* flash */
.flash { border-radius: 8px; padding: 12px 16px; margin: 16px 0; border: 1px solid var(--border); }
.flash-error { border-color: var(--bad); color: var(--bad); }
.flash-success { border-color: var(--good); color: var(--good); }

/* shop */
.shop-section { padding: 24px 0 8px; }
.shop-section h2 { font-size: 1.5rem; border-left: 4px solid var(--accent-2); padding-left: 12px; }
.section-sub { color: var(--text-dim); margin: 6px 0 18px; font-size: 0.95rem; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}
.card:hover { background: var(--bg-card-hover); border-color: var(--accent-2); }
.card-boost { border-color: #4a1418; }
.card-coins { border-color: #5a1518; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; min-width: 0; }
.card-head h3 {
    font-size: 1.05rem; min-width: 0; overflow: hidden;
    text-overflow: ellipsis; white-space: nowrap;
}
.price { color: var(--accent-bright); font-weight: 800; white-space: nowrap; }
.price-coins .unit { font-size: 0.7rem; color: var(--text-dim); font-weight: 600; }
.coins-amount { color: var(--accent-bright); font-weight: 800; font-size: 1.4rem; margin: 6px 0; }
.coins-amount .unit { font-size: 0.75rem; color: var(--text-dim); font-weight: 600; }
.card-desc {
    color: var(--text-dim); font-size: 0.9rem; margin: 8px 0;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.contents { list-style: none; margin: 0 0 12px; font-size: 0.85rem; color: var(--text-dim); }
.contents li { padding: 2px 0 2px 16px; position: relative; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contents li::before { content: "\2022"; color: var(--accent); position: absolute; left: 4px; }
.contents .duration { color: var(--accent-2); }
.empty { color: var(--text-dim); padding: 12px 0; }

/* buy form */
.buy-form { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.buy-form label { font-size: 0.8rem; color: var(--text-dim); display: flex; flex-direction: column; gap: 3px; }
.buy-form input, .buy-form select {
    background: var(--bg); color: var(--text);
    border: 1px solid var(--border); border-radius: 6px;
    padding: 8px 10px; font-size: 0.9rem; width: 100%; min-width: 0;
}
.buy-form input:focus, .buy-form select:focus { outline: none; border-color: var(--accent); }
.btn-buy {
    display: inline-block; text-align: center; text-decoration: none;
    background: var(--accent); color: #fff; font-weight: 700;
    border: none; border-radius: 8px; padding: 10px 18px;
    font-size: 0.95rem; cursor: pointer; margin-top: 6px;
}
.btn-buy:hover { filter: brightness(1.15); }
.btn-buy:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-boost { background: var(--accent-2); }
.btn-coins { background: var(--accent-2); }
.active-note { margin-top: 8px; font-size: 0.8rem; color: var(--good); }

/* status pages */
.status-page { text-align: center; padding: 64px 0; max-width: 560px; margin: 0 auto; }
.status-page h1 { margin-bottom: 16px; }
.status-page p { margin-bottom: 12px; color: var(--text-dim); }
.status-page .btn-buy { margin-top: 16px; }
.muted { font-size: 0.8rem; }

/* header login state (spacing handled by .nav-account gap) */
.nav-user { color: var(--text); font-weight: 700; font-size: 0.9rem; }
.nav-logout { display: inline; }
.btn-link {
    background: none; border: none; color: var(--text-dim); cursor: pointer;
    font: inherit; font-weight: 600; padding: 0; text-decoration: underline;
}
.btn-link:hover { color: var(--text); }
.btn-discord-sm {
    background: #5865f2; color: #fff !important; padding: 6px 12px;
    border-radius: 6px; text-decoration: none !important; font-size: 0.85rem;
}
.btn-discord {
    display: inline-block; background: #5865f2; color: #fff; padding: 10px 18px;
    border-radius: 8px; text-decoration: none; font-weight: 700; margin-top: 8px;
}
.btn-discord:hover { filter: brightness(1.1); }

/* account banner */
.account-banner {
    border: 1px solid var(--border); border-radius: 10px; background: var(--bg-card);
    padding: 14px 16px; margin: 16px 0; font-size: 0.92rem;
}
.account-banner .pill { margin-left: 6px; }
.account-banner .acct-link { margin-left: 8px; color: var(--accent); text-decoration: none; font-weight: 600; }
.deliver-to { font-size: 0.78rem; color: var(--text-dim); }
.deliver-to a { color: var(--accent); }

/* link page */
.link-panel {
    border: 1px solid var(--border); border-radius: 12px; background: var(--bg-card);
    padding: 20px; margin: 16px 0 40px; max-width: 640px;
}
.link-controls { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.link-controls label { font-size: 0.8rem; color: var(--text-dim); display: flex; flex-direction: column; gap: 3px; }
.link-controls select {
    background: var(--bg); color: var(--text); border: 1px solid var(--border);
    border-radius: 6px; padding: 8px 10px; font-size: 0.9rem; min-width: 220px;
}
.link-hint { color: var(--text-dim); font-size: 0.85rem; margin: 14px 0; }
.current-link {
    border: 1px solid var(--good); border-radius: 8px; padding: 10px 14px;
    margin-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
}
.player-list { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.player-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    border: 1px solid var(--border); border-radius: 8px; padding: 8px 12px; background: var(--bg);
}
.player-row .player-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-row .btn-buy { margin-top: 0; padding: 6px 14px; }

.warn-text { color: var(--accent-bright); }

/* admin dashboard */
.admin-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px;
}
.admin-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
    padding: 16px; display: flex; flex-direction: column; gap: 8px;
}
.admin-card-off { opacity: 0.6; }
.admin-new { border-style: dashed; border-color: var(--accent-2); }
.admin-row { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.admin-tag {
    font-family: ui-monospace, Consolas, monospace; font-size: 0.8rem;
    color: var(--accent-bright); font-weight: 700;
}
.admin-off { font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; }
.admin-card label { font-size: 0.78rem; color: var(--text-dim); display: flex; flex-direction: column; gap: 3px; }
.admin-card input, .admin-card textarea {
    background: var(--bg); color: var(--text); border: 1px solid var(--border);
    border-radius: 6px; padding: 7px 9px; font-size: 0.88rem; width: 100%;
    font-family: inherit;
}
.admin-card textarea { resize: vertical; font-family: ui-monospace, Consolas, monospace; font-size: 0.8rem; }
.admin-card input:focus, .admin-card textarea:focus { outline: none; border-color: var(--accent); }
.admin-two { display: flex; gap: 8px; }
.admin-two label { flex: 1; }
.admin-check { flex-direction: row !important; align-items: center; gap: 6px; }
.admin-check input { width: auto; }
.admin-actions { display: flex; gap: 14px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border); }
.btn-danger { color: var(--bad) !important; }

/* admin editor */
.admin-tabs { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.admin-tabs a { padding: 5px 14px; border: 1px solid var(--border); border-radius: 999px; color: var(--text-dim); text-decoration: none; font-size: .85rem; font-weight: 600; }
.admin-tabs a:hover { border-color: var(--accent); color: var(--text); }
.shop-section h2 .count { font-size: .78rem; color: var(--text-dim); border: 1px solid var(--border); border-radius: 999px; padding: 1px 9px; margin-left: 10px; vertical-align: middle; font-weight: 600; }
.admin-card-sm label { font-size: .74rem; }
.img-picker { display: flex; align-items: center; gap: 10px; }
.img-preview { width: 54px; height: 54px; object-fit: contain; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); padding: 3px; flex: 0 0 auto; }
.img-select { flex: 1; min-width: 0; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 6px; padding: 7px 9px; font-size: .82rem; }
.items-label { font-size: .78rem; color: var(--text-dim); margin-top: 4px; }
.items-editor { display: flex; flex-direction: column; gap: 6px; }
.item-row { display: grid; grid-template-columns: 1fr 78px 60px 28px; gap: 6px; align-items: center; }
.item-row .item-search, .item-row .item-qty {
    background: var(--bg); color: var(--text); border: 1px solid var(--border);
    border-radius: 6px; padding: 6px 8px; font-size: .82rem; width: 100%; min-width: 0;
}
.item-name { font-size: .7rem; color: var(--text-dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-remove { background: none; border: 1px solid var(--border); color: var(--bad); border-radius: 6px; cursor: pointer; width: 28px; height: 30px; font-size: 1.1rem; line-height: 1; padding: 0; }
.item-remove:hover { border-color: var(--bad); }
.add-item { align-self: flex-start; }
.advanced summary { font-size: .78rem; color: var(--text-dim); cursor: pointer; margin-top: 2px; }
.advanced textarea { margin-top: 6px; width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 6px; padding: 7px 9px; font-family: ui-monospace, Consolas, monospace; font-size: .78rem; }
.ac-dd { position: absolute; z-index: 50; background: var(--bg-card); border: 1px solid var(--accent); border-radius: 8px; max-height: 240px; overflow-y: auto; box-shadow: 0 10px 30px rgba(0, 0, 0, .6); }
.ac-opt { padding: 7px 10px; cursor: pointer; font-size: .82rem; display: flex; justify-content: space-between; gap: 10px; }
.ac-opt:hover { background: var(--bg-card-hover); }
.ac-opt b { color: var(--text); font-weight: 600; }
.ac-opt span { color: var(--text-dim); font-size: .7rem; font-family: ui-monospace, Consolas, monospace; }

/* ── landing ─────────────────────────────────────────────────────── */
.landing {
    display: flex; flex-direction: column; justify-content: flex-start;
    min-height: calc(100vh - 61px); padding: 30px 0 40px;
}
.hero {
    position: relative; text-align: center; overflow: hidden;
    padding: 20px 16px 24px; margin: 0 -16px;
}
.hero::before {   /* blood-red glow behind the wordmark */
    content: ""; position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
    width: 900px; max-width: 130%; height: 520px; z-index: 0; pointer-events: none;
    background: radial-gradient(50% 55% at 50% 40%, rgba(210, 30, 43, .30), transparent 72%);
}
.hero::after {    /* faint grid, faded at the edges */
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(72% 62% at 50% 42%, #000, transparent 76%);
    mask-image: radial-gradient(72% 62% at 50% 42%, #000, transparent 76%);
}
.hero > * { position: relative; z-index: 1; }
.eyebrow {
    text-transform: uppercase; letter-spacing: 5px; font-size: .78rem;
    font-weight: 700; color: var(--accent-bright); margin-bottom: 18px;
}
.landing-logo {
    display: block; width: min(460px, 80vw); height: auto; margin: 2px auto 0;
    filter: drop-shadow(0 10px 46px rgba(210, 30, 43, .5));
}
.landing-title {
    font-size: clamp(2.9rem, 11vw, 6rem); line-height: .92; font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(180deg, #fff 0%, #ddcccc 55%, #8c7c7c 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.landing-title span {
    background: linear-gradient(180deg, #ff4d57 0%, var(--accent) 65%, #7a0a0a 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 0 26px rgba(210, 30, 43, .45));
}
.online-badge {
    display: inline-flex; align-items: center; gap: 9px; margin-top: 28px;
    padding: 9px 18px; border: 1px solid var(--border); border-radius: 999px;
    background: rgba(22, 16, 15, .8); font-weight: 700; backdrop-filter: blur(4px);
}
.online-badge .dot {
    width: 9px; height: 9px; border-radius: 50%; background: var(--good);
    box-shadow: 0 0 9px var(--good); animation: pulse 2s infinite;
}
.online-badge #online-count { color: var(--accent-bright); font-size: 1.05rem; }
.online-badge .online-label { color: var(--text-dim); font-weight: 600; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.landing-actions { margin-top: 30px; }
.btn-lg {
    padding: 15px 34px; font-size: 1.05rem; display: inline-flex; align-items: center;
    gap: 10px; box-shadow: 0 10px 30px rgba(88, 101, 242, .35);
}
.btn-lg svg { width: 22px; height: 22px; }

.section-cards {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px; max-width: 1080px; margin: 26px auto 0;
}
@media (max-width: 900px) { .section-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; } }
@media (max-width: 480px) { .section-cards { grid-template-columns: 1fr; } }
.section-card {
    position: relative; display: flex; align-items: center; gap: 16px;
    padding: 22px; border: 1px solid var(--border); border-radius: 14px;
    background: linear-gradient(180deg, var(--bg-card), #100b0b);
    text-decoration: none; overflow: hidden;
    transition: border-color .15s, transform .15s, box-shadow .15s;
}
.section-card::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--accent); opacity: 0; transition: opacity .15s;
}
.section-card:hover {
    border-color: var(--accent); transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .55), 0 0 0 1px rgba(210, 30, 43, .25);
}
.section-card:hover::before { opacity: 1; }
.sc-icon {
    flex: 0 0 auto; width: 48px; height: 48px; display: flex; align-items: center;
    justify-content: center; border-radius: 11px; background: rgba(210, 30, 43, .12);
    color: var(--accent-bright); border: 1px solid rgba(210, 30, 43, .25);
}
.sc-icon svg { width: 26px; height: 26px; }
.section-card h3 { color: var(--text); font-size: 1.08rem; }
.section-card p { color: var(--text-dim); font-size: .84rem; margin-top: 3px; }

/* section page heads */
.page-head { padding: 36px 0 10px; }
.page-head h1 { font-size: 1.9rem; border-left: 4px solid var(--accent); padding-left: 14px; }
.page-head p { color: var(--text-dim); margin: 10px 0 0; max-width: 740px; }
.page-head .need-login { margin-top: 12px; }
.need-login { color: var(--text-dim); font-size: 0.9rem; }
.notice { border: 1px solid var(--accent-2); background: rgba(122, 10, 10, .18); border-radius: 10px; padding: 12px 16px; margin: 14px 0 0; font-size: .9rem; color: var(--text); max-width: 740px; }
.notice strong { color: var(--accent-bright); }

/* a-la-carte boost builder */
.boost-builder { max-width: 760px; margin: 8px 0 44px; }
.bb-block { border: 1px solid var(--border); background: var(--bg-card); border-radius: 12px; padding: 18px 20px; margin-bottom: 16px; }
.bb-block h3 { font-size: 1.05rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.bb-block h3 small { color: var(--text-dim); font-weight: 600; font-size: .78rem; }
.bb-step { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .82rem; font-weight: 800; flex: 0 0 auto; }
.bb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.bb-stat { display: flex; align-items: center; gap: 9px; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; cursor: pointer; font-size: .92rem; color: var(--text); background: var(--bg); }
.bb-stat:hover { border-color: var(--accent-2); }
.bb-stat input { accent-color: var(--accent); width: 16px; height: 16px; }
.bb-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bb-select { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; font-size: .95rem; }
.bb-select:focus { outline: none; border-color: var(--accent); }
.bb-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--accent); border-radius: 12px; padding: 14px 20px; background: linear-gradient(180deg, var(--bg-card), #100b0b); }
.bb-price { display: flex; flex-direction: column; }
.bb-price span { color: var(--text-dim); font-size: .8rem; }
.bb-price strong { color: var(--accent-bright); font-size: 1.8rem; font-weight: 800; }
.bb-summary .btn-buy { margin-top: 0; padding: 14px 28px; font-size: 1rem; }
.bb-summary .btn-buy:disabled { opacity: .5; cursor: not-allowed; }
.bb-note { color: var(--text-dim); font-size: .85rem; margin-top: 10px; }
@media (max-width: 560px) { .bb-two { grid-template-columns: 1fr; } }

/* price button */
.btn-price { font-weight: 800; }
.btn-price .unit { font-size: 0.72rem; opacity: 0.85; font-weight: 700; }

/* kit item thumbnails */
.item-thumb-wrap { display: flex; justify-content: center; align-items: center; height: 92px; margin: -2px 0 8px; }
.item-thumb { max-height: 92px; max-width: 70%; object-fit: contain; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .5)); }

/* pal cards */
.card-pal { border-color: #5a1518; }
.pal-thumb-wrap { display: flex; justify-content: center; align-items: center; height: 124px; margin: -2px 0 8px; }
.pal-thumb { max-height: 124px; max-width: 100%; object-fit: contain; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .55)); }

/* footer */
.site-footer {
    margin-top: auto; border-top: 1px solid var(--border);
    padding: 20px 0; color: var(--text-dim); font-size: 0.8rem; text-align: center;
}

@media (max-width: 640px) {
    .hero h1 { font-size: 1.6rem; }
    .card-grid { grid-template-columns: 1fr; }
    .site-nav a { margin-left: 12px; }
}

/* ── admin: player balances ─────────────────────────────── */
.section-hint { color: #9aa4b2; font-size: 14px; margin: 2px 0 14px; }
.player-search { display: flex; gap: 8px; margin-bottom: 16px; }
.player-search input { flex: 1 1 auto; padding: 9px 12px; background: #14161c; border: 1px solid #2a2f3a; border-radius: 8px; color: #e8eaed; }
.balance-list { display: flex; flex-direction: column; gap: 8px; }
.balance-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 14px; background: #14161c; border: 1px solid #23272f; border-radius: 10px; }
.balance-who { display: flex; flex-direction: column; min-width: 160px; flex: 1 1 200px; }
.balance-name { font-weight: 600; color: #e8eaed; }
.balance-sub { font-size: 12px; color: #7d8695; }
.balance-amt { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #f0c040; min-width: 90px; }
.balance-amt .coin-ico { width: 20px; height: 20px; }
.balance-adjust { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.balance-adjust select, .balance-adjust input { padding: 8px 10px; background: #0f1116; border: 1px solid #2a2f3a; border-radius: 8px; color: #e8eaed; }
.balance-adjust input[type=number] { width: 130px; }
.balance-adjust input[type=text] { width: 190px; }
.balance-manual { margin-top: 10px; }
.empty-note { color: #7d8695; font-style: italic; }
@media (max-width: 640px) { .balance-row { flex-direction: column; align-items: stretch; } }
