/* =====================================================================
 *  FELHASZNÁLÓI PANEL (/user/panel) – egységes, modern megjelenés
 *  Az oldal arany (--gold) / sötét (--bg-1, --bg-2) színvilágára épül.
 * ===================================================================== */
:root {
  --up-gold: var(--gold, #d8bf7a);
  --up-gold-2: var(--gold-2, #a78e52);
  --up-text: #e9ecf1;
  --up-muted: #a6adb9;
  --up-line: rgba(255,255,255,.08);
  --up-line-gold: rgba(216,191,122,.22);
  --up-surface: #141820;
  --up-surface-2: #0f131a;
  --up-radius: 16px;
  --up-ok: #22c55e;
  --up-warn: #f59e0b;
  --up-err: #ef4444;
}

/* ---------- Fejléc ---------- */
.up-hero { padding: 4.5rem 0 2.5rem; }
.up-hero-inner { position: relative; z-index: 2; display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.up-hero-avatar { width: 150px; height: 150px; flex-shrink: 0; cursor: pointer; border-radius: 18px; outline: none; }
.up-hero-avatar:focus-visible { box-shadow: 0 0 0 3px rgba(216,191,122,.4); }
.up-hero-avatar .avatar-frame { width: 100%; height: 100%; }
.up-hero-body { flex: 1 1 320px; min-width: 0; }
.up-hero-name-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.up-hero-name { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: #f6ebbe; letter-spacing: .01em; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.up-hero-ranks { justify-content: flex-start; margin-top: 8px; }
.up-hero-ranks .rank-badge { width: auto; padding: 2px 10px; }
.up-hero-bio { margin: 10px 0 0; max-width: 720px; color: #d6dbe4; font-size: .95rem; line-height: 1.5; }
.up-hero-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: .82rem; color: #c9cfd8; }
.up-hero-meta i { color: var(--up-gold); margin-right: 4px; }
.up-hero-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex: 0 0 auto; }
.up-hero-social { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.up-social { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.12); text-decoration: none; transition: all .15s; }
.up-social:hover { background: var(--up-gold); color: #151515; border-color: transparent; transform: translateY(-2px); }

/* ---------- Gombok ---------- */
.up-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 14px; border-radius: 10px; font-size: .84rem; font-weight: 600; white-space: nowrap;
  color: #e9ecf1; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  transition: background .15s, border-color .15s, color .15s, transform .15s, filter .15s;
}
.up-btn:hover { background: rgba(255,255,255,.09); border-color: var(--up-line-gold); color: #fff; }
.up-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(216,191,122,.25); }
.up-btn-primary { color: #151515; background: linear-gradient(180deg, var(--up-gold), var(--up-gold-2)); border-color: transparent; box-shadow: 0 6px 18px rgba(216,191,122,.18); }
.up-btn-primary:hover { color: #151515; filter: brightness(1.08); border-color: transparent; }
.up-btn-sm { padding: 6px 10px; font-size: .78rem; border-radius: 8px; }
.up-btn-lg { padding: 12px 22px; font-size: .95rem; border-radius: 12px; }
.up-btn-glass { background: rgba(20,20,20,.65); backdrop-filter: blur(10px); border-color: rgba(216,191,122,.35); color: var(--up-gold); }
.up-btn-glass:hover { background: rgba(216,191,122,.2); color: #f6ebbe; }
.up-btn:disabled { opacity: .55; cursor: not-allowed; }

/* ---------- Elrendezés ---------- */
.up-wrap { margin: 24px auto 40px; }
.up-side {
  top: 16px; padding: 16px; border-radius: var(--up-radius);
  background: linear-gradient(180deg, var(--up-surface), var(--up-surface-2));
  border: 1px solid var(--up-line-gold); box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.up-side-profile { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--up-line); }
.up-side-avatar { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; border: 1px solid var(--up-line-gold); }
.up-side-who { min-width: 0; }
.up-side-name { font-weight: 800; color: #f1e4c2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up-side-rank { font-size: .76rem; color: var(--up-muted); }
.up-side-rank i { color: var(--up-gold); }
.up-side-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 14px 0; }
.up-side-stats > div { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; border-radius: 10px; background: rgba(255,255,255,.035); border: 1px solid var(--up-line); }
.up-side-stats strong { font-size: .95rem; color: #f6ebbe; line-height: 1.1; }
.up-side-stats span { font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; color: var(--up-muted); }
.up-nav { gap: 4px; }
.up-nav .nav-link {
  display: flex; align-items: center; gap: 10px; text-align: left;
  padding: 10px 12px; border-radius: 10px; color: rgba(255,255,255,.78); border: 1px solid transparent; font-weight: 600; font-size: .88rem;
}
.up-nav .nav-link i { color: var(--up-gold); font-size: 1rem; width: 18px; text-align: center; }
.up-nav .nav-link span { flex: 1 1 auto; }
.up-nav .nav-link:hover { background: rgba(255,255,255,.05); border-color: var(--up-line); color: #fff; }
.up-nav .nav-link.active { background: linear-gradient(90deg, rgba(216,191,122,.2), rgba(216,191,122,.06)); border-color: var(--up-line-gold); color: #f6ebbe; }
.up-nav-badge { font-style: normal; min-width: 20px; padding: 1px 6px; border-radius: 999px; font-size: .68rem; font-weight: 800; color: #151515; background: var(--up-gold); text-align: center; }
.up-nav-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--up-ok); box-shadow: 0 0 8px rgba(34,197,94,.7); }
.up-nav-ext { font-size: .7rem !important; color: var(--up-muted) !important; width: auto !important; }
.up-side-actions { display: grid; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--up-line); }
.up-main {
  padding: 22px; border-radius: var(--up-radius);
  background: linear-gradient(180deg, var(--up-surface), var(--up-surface-2));
  border: 1px solid var(--up-line-gold); box-shadow: 0 20px 50px rgba(0,0,0,.35);
}

/* ---------- Szekció fejléc ---------- */
.up-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--up-line-gold); }
.up-title { margin: 0; font-size: 1.35rem; font-weight: 800; color: #f1e4c2; display: flex; align-items: center; gap: 10px; }
.up-title i { color: var(--up-gold); }
.up-subtitle { margin: 4px 0 0; font-size: .85rem; color: var(--up-muted); }
.up-head-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.up-coin-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-weight: 800; color: #ffd36a; background: rgba(255,211,106,.1); border: 1px solid rgba(255,211,106,.35); }

/* ---------- Statisztika csempék ---------- */
.up-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.up-stat {
  position: relative; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px;
  background: rgba(255,255,255,.035); border: 1px solid var(--up-line); overflow: hidden;
}
.up-stat::after { content: ''; position: absolute; right: -20px; top: -20px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(216,191,122,.16), transparent 70%); }
.up-stat i { font-size: 1.1rem; color: var(--up-gold); }
.up-stat strong { font-size: 1.35rem; font-weight: 800; line-height: 1.15; color: #f6ebbe; }
.up-stat strong.up-stat-text { font-size: 1.05rem; }
.up-stat span { font-size: .72rem; color: var(--up-muted); }
.up-stat-gold { border-color: rgba(255,211,106,.35); background: linear-gradient(135deg, rgba(255,211,106,.12), rgba(255,211,106,.03)); }
.up-stat-gold strong { color: #ffd36a; }
.up-stat.is-live { border-color: rgba(34,197,94,.45); background: linear-gradient(135deg, rgba(34,197,94,.14), rgba(34,197,94,.03)); }
.up-stat.is-live i, .up-stat.is-live strong { color: #6ee7a0; }

/* ---------- Kártyák ---------- */
.up-card { padding: 16px 18px; border-radius: 14px; background: rgba(0,0,0,.2); border: 1px solid var(--up-line); }
.up-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--up-line); }
.up-card-head h3 { margin: 0; font-size: .95rem; font-weight: 800; color: #f1e4c2; display: flex; align-items: center; gap: 8px; }
.up-card-head h3 i { color: var(--up-gold); }
.up-card-foot { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--up-line); font-size: .78rem; }
.up-count { font-size: .72rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; color: var(--up-muted); background: rgba(255,255,255,.06); border: 1px solid var(--up-line); }
.up-count-alert { color: #151515; background: var(--up-gold); border-color: transparent; }
.up-link { color: var(--up-gold); text-decoration: none; font-size: .8rem; font-weight: 600; }
.up-link:hover { color: #f6ebbe; text-decoration: underline; }
.up-muted { color: var(--up-muted); }
.up-ellipsis { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.up-pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: .7rem; font-weight: 700; color: #c9cfd8; background: rgba(255,255,255,.06); border: 1px solid var(--up-line); white-space: nowrap; }
.up-pill-ok { color: #6ee7a0; background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.35); }
.up-pill-warn { color: #fbbf24; background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.35); }
.up-pill-alert { color: #151515; background: var(--up-gold); border-color: transparent; }
.up-pill-live { color: #6ee7a0; background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.35); }
.up-pill-gold { color: #ffd36a; background: rgba(255,211,106,.12); border-color: rgba(255,211,106,.35); }
.up-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up-ok); box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: up-pulse 1.8s infinite; display: inline-block; }
@keyframes up-pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 70% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

/* Kulcs–érték lista */
.up-kv { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.up-kv li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px dashed rgba(255,255,255,.08); font-size: .84rem; }
.up-kv li:first-child { border-top: 0; padding-top: 0; }
.up-kv li > span { color: var(--up-muted); white-space: nowrap; }
.up-kv li > strong { font-weight: 700; color: #e9ecf1; text-align: right; min-width: 0; }

/* Idővonal */
.up-timeline { display: flex; flex-direction: column; max-height: 420px; overflow-y: auto; padding-right: 6px; }
.up-tl-item { display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; align-items: start; padding: 8px 0; border-top: 1px dashed rgba(255,255,255,.07); }
.up-tl-item:first-child { border-top: 0; }
.up-tl-dot { width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--up-gold); box-shadow: 0 0 0 4px rgba(216,191,122,.12); }
.up-tl-dot.is-ok { background: var(--up-ok); box-shadow: 0 0 0 4px rgba(34,197,94,.12); }
.up-tl-dot.is-pending { background: var(--up-warn); box-shadow: 0 0 0 4px rgba(245,158,11,.12); }
.up-tl-dot.is-err { background: var(--up-err); box-shadow: 0 0 0 4px rgba(239,68,68,.12); }
.up-tl-title { font-weight: 700; font-size: .84rem; }
.up-tl-sub { font-size: .76rem; color: var(--up-muted); }
.up-tl-time { font-size: .72rem; color: var(--up-muted); white-space: nowrap; }

/* Gyors műveletek */
.up-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.up-quick-item {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 11px; text-decoration: none; text-align: left;
  color: #e9ecf1; background: rgba(255,255,255,.035); border: 1px solid var(--up-line); font-size: .82rem; font-weight: 600;
  transition: background .15s, border-color .15s, transform .15s;
}
.up-quick-item i { font-size: 1.05rem; color: var(--up-gold); }
.up-quick-item:hover { background: rgba(216,191,122,.08); border-color: var(--up-line-gold); color: #fff; transform: translateY(-1px); }

/* ---------- Üres állapot ---------- */
.up-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 180px; padding: 20px; text-align: center; color: var(--up-muted); font-size: .88rem; border: 1px dashed rgba(255,255,255,.12); border-radius: 12px; }
.up-empty i { font-size: 2rem; opacity: .45; color: var(--up-gold); }
.up-empty-sm { min-height: 110px; }

/* ---------- Listák ---------- */
.up-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.up-list > li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px dashed rgba(255,255,255,.08); }
.up-list > li:first-child { border-top: 0; padding-top: 0; }
.up-list > li:last-child { padding-bottom: 0; }
.up-list-compact > li { padding: 8px 0; }
.up-list > li.is-deleted { opacity: .55; }
.up-list > li.is-unread .up-list-title::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-radius: 50%; background: var(--up-gold); vertical-align: middle; }
.up-list-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 1px solid var(--up-line-gold); }
.up-list-avatar-sq { border-radius: 10px; }
.up-list-ico { display: grid; place-items: center; background: rgba(255,255,255,.05); color: var(--up-gold); }
.up-list-ico-badge { width: 32px; height: 32px; flex-shrink: 0; display: grid; place-items: center; border-radius: 9px; background: rgba(216,191,122,.1); color: var(--up-gold); border: 1px solid var(--up-line-gold); font-size: .9rem; }
.up-list-body { flex: 1 1 auto; min-width: 0; }
.up-list-title { display: block; font-weight: 700; font-size: .86rem; color: #e9ecf1; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.up-list-title:hover { color: var(--up-gold); }
.up-list-sub { font-size: .74rem; color: var(--up-muted); margin-top: 2px; }
.up-list-excerpt { font-size: .78rem; color: #c9cfd8; margin-top: 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.up-list-nums { display: flex; gap: 10px; flex-shrink: 0; font-size: .76rem; color: var(--up-muted); white-space: nowrap; }
.up-list-nums i { color: var(--up-gold); }

/* ---------- Táblázat ---------- */
.up-table-wrap { overflow-x: auto; }
.up-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.up-table th { text-align: left; font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: var(--up-muted); padding: 6px 8px; border-bottom: 1px solid var(--up-line); font-weight: 700; white-space: nowrap; }
.up-table td { padding: 9px 8px; border-bottom: 1px dashed rgba(255,255,255,.07); vertical-align: middle; }
.up-table tr:last-child td { border-bottom: 0; }
.up-td-game { display: flex; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; }
.up-td-game img { width: 26px; height: 26px; border-radius: 7px; object-fit: cover; }

/* ---------- Játékok ---------- */
.up-live-card { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; border-color: rgba(34,197,94,.4); background: linear-gradient(90deg, rgba(34,197,94,.12), rgba(0,0,0,.2) 60%); flex-wrap: wrap; }
.up-live-icon { width: 64px; height: 64px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: rgba(0,0,0,.4); border: 1px solid rgba(34,197,94,.35); flex-shrink: 0; font-size: 1.6rem; color: #6ee7a0; }
.up-live-icon img { width: 100%; height: 100%; object-fit: cover; }
.up-live-body { flex: 1 1 240px; min-width: 0; }
.up-live-label { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #6ee7a0; }
.up-live-title { font-size: 1.15rem; font-weight: 800; color: #f6ebbe; }
.up-live-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .78rem; color: var(--up-muted); margin-top: 4px; }
.up-live-meta i { color: var(--up-gold); }

.up-game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.up-game { display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; border: 1px solid var(--up-line); background: rgba(255,255,255,.03); transition: transform .15s, border-color .15s, box-shadow .15s; }
.up-game:hover { transform: translateY(-2px); border-color: var(--up-line-gold); box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.up-game.is-live { border-color: rgba(34,197,94,.45); }
.up-game-cover { position: relative; height: 96px; background: linear-gradient(135deg, #1b2130, #0e1219) center/cover no-repeat; }
.up-game-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(15,19,26,.95)); }
.up-game-icon { position: absolute; left: 14px; bottom: -22px; z-index: 2; width: 56px; height: 56px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: #0e1219; border: 2px solid var(--up-surface); box-shadow: 0 6px 16px rgba(0,0,0,.5); color: var(--up-gold); font-size: 1.4rem; }
.up-game-icon img { width: 100%; height: 100%; object-fit: cover; }
.up-game-live { position: absolute; top: 10px; right: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: .68rem; font-weight: 800; color: #151515; background: #6ee7a0; }
.up-game-body { padding: 28px 14px 14px; }
.up-game-title { font-weight: 800; font-size: .98rem; color: #f1e4c2; }
.up-game-sub { font-size: .74rem; color: var(--up-muted); min-height: 1.1em; }
.up-game-sub i { color: var(--up-gold); }
.up-game-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 10px; margin: 12px 0 0; }
.up-game-facts div { display: flex; flex-direction: column; padding: 6px 8px; border-radius: 8px; background: rgba(0,0,0,.25); }
.up-game-facts dt { font-size: .64rem; text-transform: uppercase; letter-spacing: .06em; color: var(--up-muted); font-weight: 600; }
.up-game-facts dd { margin: 0; font-size: .84rem; font-weight: 700; color: #e9ecf1; }
.up-game-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; font-size: .72rem; }

/* ---------- Beállítások ---------- */
.up-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.up-choice { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; cursor: pointer; background: rgba(255,255,255,.035); border: 1px solid var(--up-line); transition: border-color .15s, background .15s; margin: 0; }
.up-choice input { position: absolute; opacity: 0; pointer-events: none; }
.up-choice-ico { font-size: 1.4rem; line-height: 1; }
.up-choice-body { display: flex; flex-direction: column; min-width: 0; }
.up-choice-body strong { font-size: .88rem; color: #e9ecf1; }
.up-choice-body small { font-size: .72rem; color: var(--up-muted); }
.up-choice:hover { border-color: var(--up-line-gold); }
.up-choice:has(input:checked) { border-color: var(--up-gold); background: rgba(216,191,122,.1); box-shadow: 0 0 0 1px rgba(216,191,122,.35) inset; }
.up-switch-list { display: flex; flex-direction: column; }
.up-switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px dashed rgba(255,255,255,.08); cursor: pointer; margin: 0; }
.up-switch:first-child { border-top: 0; padding-top: 0; }
.up-switch-body { display: flex; flex-direction: column; gap: 2px; }
.up-switch-body strong { font-size: .88rem; color: #e9ecf1; }
.up-switch-body small { font-size: .74rem; color: var(--up-muted); }
.up-switch .form-check-input { width: 2.6em; height: 1.4em; margin: 0; flex-shrink: 0; cursor: pointer; background-color: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); }
.up-switch .form-check-input:checked { background-color: var(--up-gold); border-color: var(--up-gold); }

/* ---------- Profil: avatar + keretek ---------- */
.up-avatar-row { display: flex; gap: 22px; align-items: flex-start; flex-wrap: wrap; }
.up-avatar-col { display: flex; flex-direction: column; align-items: center; gap: 12px; flex: 0 0 auto; }
.up-avatar-big { width: 150px; height: 150px; cursor: pointer; border-radius: 18px; }
.up-avatar-big .avatar-frame { width: 100%; height: 100%; }
.up-avatar-btns { display: flex; flex-direction: column; gap: 6px; width: 150px; }
.up-frames { flex: 1 1 320px; min-width: 0; }
.up-frames-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; font-size: .86rem; }
.up-frames-head strong { color: #f1e4c2; }
.up-frames-head i { color: var(--up-gold); }
.up-frames-head .up-muted { font-size: .76rem; }
.up-frame-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.up-frame { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 4px; border-radius: 12px; border: 1px solid var(--up-line); background: rgba(255,255,255,.03); text-align: center; }
.up-frame.is-owned { border-color: var(--up-line-gold); }
.up-frame.is-active { border-color: var(--up-gold); background: rgba(216,191,122,.1); }
.up-frame.is-locked { opacity: .6; }
.up-frame-avatar { position: relative; width: 72px; height: 72px; }
.up-frame-avatar .avatar-frame { width: 100%; height: 100%; padding: 4px; }
.up-frame-lock, .up-frame-check { position: absolute; right: -4px; bottom: -4px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font-size: .7rem; border: 2px solid var(--up-surface); }
.up-frame-lock { background: #3a414d; color: #f5d67b; }
.up-frame-check { background: var(--up-ok); color: #0b2a15; }
.up-frame-name { font-size: .68rem; font-weight: 700; color: #d6dbe4; line-height: 1.2; }

/* ---------- Régi (megtartott) kártyák – Biztonság / Számlázás finomhangolás ---------- */
.up-main .form-control, .up-main .form-select { background-color: #0e1219; border: 1px solid #343a45; color: #edf0f5; border-radius: 10px; }
.up-main .form-control:focus, .up-main .form-select:focus { background-color: #11161e; color: #fff; border-color: #bda468; box-shadow: 0 0 0 3px rgba(216,191,122,.12); }
.up-main .form-floating > label { color: #939dab; }
.up-main .btn-modern, .up-main .btn-warning { border-radius: 10px; }
.up-main .btn-outline-light { border-radius: 10px; border-color: rgba(255,255,255,.18); }
.up-main hr { border-color: rgba(255,255,255,.1); opacity: 1; }
.up-main .text-secondary { color: var(--up-muted) !important; }

/* ---------- Reszponzív ---------- */
@media (max-width: 1199.98px) {
  .up-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .up-side { position: static !important; margin-bottom: 4px; }
  .up-nav { flex-direction: row !important; flex-wrap: wrap; }
  .up-nav .nav-link { flex: 1 1 auto; justify-content: center; padding: 9px 10px; }
  .up-side-actions { grid-template-columns: 1fr 1fr; }
  .up-hero-actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; width: 100%; }
}
@media (max-width: 575.98px) {
  .up-hero { padding-top: 3rem; }
  .up-hero-avatar { width: 110px; height: 110px; }
  .up-stats { grid-template-columns: 1fr; }
  .up-main { padding: 14px; }
  .up-quick { grid-template-columns: 1fr; }
  .up-choice-grid { grid-template-columns: 1fr; }
  .up-section-head { flex-direction: column; }
  .up-game-grid { grid-template-columns: 1fr; }
  .up-side-actions { grid-template-columns: 1fr; }
}

/* ---------- Profil: fórum aláírás szerkesztő ---------- */
.up-sig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.up-sig-editor { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.up-sig-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; padding: 6px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--up-line); }
.up-sig-tool { position: relative; display: grid; place-items: center; width: 34px; height: 32px; margin: 0; padding: 0; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #d6dbe4; font-size: 1rem; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.up-sig-tool:hover { background: rgba(216,191,122,.12); color: #f6ebbe; border-color: var(--up-line-gold); }
.up-sig-color input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.up-sig-sep { width: 1px; height: 20px; margin: 0 4px; background: var(--up-line); }
.up-sig-textarea { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .82rem; line-height: 1.5; resize: vertical; min-height: 180px; }
.up-sig-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .76rem; color: var(--up-muted); }
.up-sig-toggle { display: inline-flex; align-items: center; gap: 8px; margin: 0; cursor: pointer; color: #d6dbe4; }
.up-sig-toggle .form-check-input { margin: 0; width: 2.2em; height: 1.2em; background-color: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); cursor: pointer; }
.up-sig-toggle .form-check-input:checked { background-color: var(--up-gold); border-color: var(--up-gold); }
.up-sig-preview-wrap { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.up-sig-preview-label { font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #cbb581; }
.up-sig-preview-label i { margin-right: 4px; }
.up-sig-preview { flex: 1 1 auto; min-height: 180px; padding: 14px; border-radius: 10px; background: rgba(0,0,0,.3); border: 1px dashed rgba(216,191,122,.3); overflow: auto; word-break: break-word; color: #d6dbe4; font-size: .85rem; }
.up-sig-preview .signature-center { text-align: center; }
.up-sig-preview img { max-width: 100%; height: auto; border-radius: 6px; }
.up-sig-preview a { color: var(--up-gold); }
.up-sig-actions { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 991.98px) { .up-sig { grid-template-columns: 1fr; } }

/* ---------- Belső al-fülek (Profil) ---------- */
.up-subnav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; padding: 6px; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid var(--up-line); }
.up-subnav-item { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 14px; border-radius: 9px; border: 1px solid transparent; background: transparent; color: rgba(255,255,255,.75); font-size: .84rem; font-weight: 600; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.up-subnav-item i { color: var(--up-gold); }
.up-subnav-item:hover { background: rgba(255,255,255,.05); color: #fff; }
.up-subnav-item.active { background: linear-gradient(180deg, rgba(216,191,122,.22), rgba(216,191,122,.1)); border-color: var(--up-line-gold); color: #f6ebbe; }
.up-subpanes > .tab-pane { animation: up-fade .2s ease; }
@keyframes up-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Űrlapok az al-füleken */
.up-form { display: flex; flex-direction: column; gap: 10px; }
.up-form-hint { font-size: .74rem; color: var(--up-muted); }
.up-form-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 4px; }
.up-social-form .form-floating > label i { opacity: .9; }
.up-avatar-row { gap: 28px; }
.up-frames-head { margin-bottom: 14px; }
.up-frame-grid { gap: 12px; }

/* ---------- Keretválasztó ---------- */
.up-frame-option { cursor: pointer; font: inherit; color: inherit; transition: transform .15s, border-color .15s, background .15s, box-shadow .15s; }
.up-frame-option:not([disabled]):hover { transform: translateY(-2px); border-color: var(--up-gold); background: rgba(216,191,122,.08); }
.up-frame-option[disabled] { cursor: not-allowed; }
.up-frame.is-selected { border-color: var(--up-gold); background: rgba(216,191,122,.14); box-shadow: 0 0 0 1px rgba(216,191,122,.5) inset, 0 8px 20px rgba(0,0,0,.35); }
.up-frame .up-frame-check { display: none; }
.up-frame.is-selected .up-frame-check { display: grid; }
.up-frame-sub { font-size: .62rem; color: var(--up-muted); line-height: 1.2; }
.up-frame-name i { color: var(--up-gold); }
.up-frames.is-busy { opacity: .6; pointer-events: none; }
.up-frames-head .up-count { margin-left: 6px; }
.tooltip .tooltip-inner { text-align: left; max-width: 260px; }

.up-frame-group-title { display: flex; align-items: center; gap: 8px; margin: 16px 0 10px; font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #cbb581; }
.up-frame-group-title i { color: var(--up-gold); }
.up-frame-group-title .up-muted { font-weight: 500; text-transform: none; letter-spacing: 0; }
.up-frame-group-title + .up-frame-grid { margin-bottom: 4px; }

/* ---------- Oldalsáv (modern) ---------- */
.up-side-avatar-wrap { position: relative; flex-shrink: 0; }
.up-side-avatar { width: 52px; height: 52px; border-radius: 14px; }
.up-side-presence { position: absolute; right: -3px; bottom: -3px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--up-surface); background: #6b7280; }
.up-side-presence-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #6b7280; margin-right: 2px; }
.up-side-presence.is-online, .up-side-presence-dot.is-online { background: var(--up-ok); box-shadow: 0 0 8px rgba(34,197,94,.6); }
.up-side-presence.is-away, .up-side-presence-dot.is-away { background: var(--up-warn); }
.up-side-presence.is-dnd, .up-side-presence-dot.is-dnd { background: var(--up-err); }
.up-side-presence.is-offline, .up-side-presence-dot.is-offline { background: #6b7280; }
.up-side-presence-label { font-size: .72rem; color: var(--up-muted); margin-top: 2px; }

.up-side-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 14px 0; }
.up-side-cell { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 9px 10px; border-radius: 10px; text-align: left; color: inherit; background: rgba(255,255,255,.035); border: 1px solid var(--up-line); transition: background .15s, border-color .15s, transform .15s; }
.up-side-cell:hover { background: rgba(216,191,122,.08); border-color: var(--up-line-gold); transform: translateY(-1px); }
.up-side-cell i { font-size: .8rem; color: var(--up-gold); }
.up-side-cell strong { font-size: .95rem; line-height: 1.15; color: #f6ebbe; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.up-side-cell span { font-size: .64rem; text-transform: uppercase; letter-spacing: .05em; color: var(--up-muted); }

.up-side-progress { display: block; width: 100%; margin: 0 0 8px; padding: 10px 12px; border-radius: 11px; text-align: left; color: inherit; background: rgba(0,0,0,.22); border: 1px solid var(--up-line); }
.up-side-progress-btn { cursor: pointer; transition: border-color .15s, background .15s; }
.up-side-progress-btn:hover { border-color: var(--up-line-gold); background: rgba(216,191,122,.06); }
.up-side-progress-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .74rem; color: #d6dbe4; }
.up-side-progress-head strong { color: #f6ebbe; }
.up-side-progress-head i { color: var(--up-gold); margin-right: 3px; }
.up-side-progress-head > span:last-child { color: var(--up-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.up-side-bar { height: 6px; margin: 7px 0 5px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.up-side-bar > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--up-gold-2), var(--up-gold)); box-shadow: 0 0 10px rgba(216,191,122,.4); transition: width .4s ease; }
.up-side-progress-sub { font-size: .68rem; color: var(--up-muted); }

.up-nav { margin-top: 6px; }
.up-nav-badge-warn { background: var(--up-warn); }

.up-side-status { margin-top: 14px; padding: 12px; border-radius: 11px; background: rgba(0,0,0,.22); border: 1px solid var(--up-line); }
.up-side-status-head { display: flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #cbb581; margin-bottom: 8px; }
.up-side-status-head i { color: var(--up-gold); }
.up-side-score { margin-left: auto; padding: 1px 8px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: 0; text-transform: none; }
.up-side-score.is-good { color: #6ee7a0; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.35); }
.up-side-score.is-mid { color: #fbbf24; background: rgba(245,158,11,.12); border: 1px solid rgba(245,158,11,.35); }
.up-side-score.is-low { color: #f87171; background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.35); }
.up-side-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; font-size: .76rem; color: #d6dbe4; }
.up-side-checks li { display: flex; align-items: center; gap: 7px; }
.up-side-checks li.is-ok i { color: var(--up-ok); }
.up-side-checks li.is-warn { color: #fbbf24; }
.up-side-checks li.is-warn i { color: var(--up-warn); }
.up-side-checks li.is-muted { color: var(--up-muted); }
.up-side-checks li.is-muted i { color: var(--up-muted); }
.up-side-last { margin-top: 8px; padding-top: 8px; border-top: 1px dashed rgba(255,255,255,.08); font-size: .7rem; color: var(--up-muted); }
.up-side-last + .up-side-last { margin-top: 4px; padding-top: 0; border-top: 0; }
.up-side-last i { color: var(--up-gold); margin-right: 3px; }
.up-btn-danger-ghost { color: #f4a4a4; border-color: rgba(239,68,68,.25); }
.up-btn-danger-ghost:hover { color: #fff; background: rgba(239,68,68,.25); border-color: rgba(239,68,68,.5); }
@media (max-width: 991.98px) {
  .up-side-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .up-side-status { display: none; }
}

/* ---------- Oldalsáv: coin kiemelés ---------- */
.up-side-coin { position: relative; margin: 14px 0 10px; padding: 12px; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, rgba(255,211,106,.18), rgba(216,191,122,.05) 60%, rgba(0,0,0,.2)); border: 1px solid rgba(255,211,106,.4); box-shadow: 0 8px 24px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.06); }
.up-side-coin::after { content: ''; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(255,211,106,.35), transparent 70%); pointer-events: none; }
.up-side-coin-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.up-side-coin-ico { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; font-size: 1.3rem; color: #151515; background: linear-gradient(180deg, #ffd36a, #c9a53f); box-shadow: 0 4px 12px rgba(255,211,106,.35); }
.up-side-coin-label { font-size: .66rem; text-transform: uppercase; letter-spacing: .07em; color: #cbb581; }
.up-side-coin-amount { font-size: 1.45rem; font-weight: 800; line-height: 1.1; color: #ffd36a; font-variant-numeric: tabular-nums; text-shadow: 0 2px 10px rgba(255,211,106,.25); }
.up-side-coin-btn { width: 100%; }
.up-side-coin-link { display: block; width: 100%; margin-top: 6px; padding: 4px; border: 0; background: transparent; color: var(--up-muted); font-size: .72rem; text-align: center; }
.up-side-coin-link:hover { color: #f6ebbe; }
.up-side-coin-link i { margin-right: 3px; }

/* ---------- Oldalsáv: profil fejléc (v2) ---------- */
.up-side { padding: 0 0 14px; overflow: hidden; }
.up-side-hero { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 22px 14px 16px; border-bottom: 1px solid var(--up-line); overflow: hidden; }
.up-side-hero-glow { position: absolute; inset: 0; background: radial-gradient(90% 70% at 50% -10%, rgba(216,191,122,.22), transparent 65%); pointer-events: none; }
.up-side-hero-avatar { position: relative; width: 96px; height: 96px; margin-bottom: 8px; }
.up-side-hero-avatar .avatar-frame { width: 100%; height: 100%; }
.up-side-hero-avatar .up-side-presence { right: 2px; bottom: 2px; width: 16px; height: 16px; z-index: 3; }
.up-side-hero-name { position: relative; max-width: 100%; font-size: 1.15rem; font-weight: 800; color: #f6ebbe; letter-spacing: .01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.up-side-hero-rank { position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #f1e4c2; background: rgba(216,191,122,.12); border: 1px solid rgba(216,191,122,.35); }
.up-side-hero-rank i { color: var(--up-gold); font-size: .75rem; }
.up-side-hero-status { position: relative; display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: .74rem; color: var(--up-muted); }
.up-side-hero-sep { color: rgba(255,255,255,.25); }

/* Coin – visszafogott sor */
.up-side-coin { display: flex; align-items: center; gap: 10px; margin: 12px 14px 8px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--up-line); box-shadow: none; overflow: visible; }
.up-side-coin::after { display: none; }
.up-side-coin-ico { flex-shrink: 0; width: auto; height: auto; font-size: 1.25rem; color: var(--up-gold); background: none; box-shadow: none; }
.up-side-coin-body { flex: 1 1 auto; min-width: 0; }
.up-side-coin-amount { font-size: 1.05rem; font-weight: 800; line-height: 1.1; color: #f6ebbe; text-shadow: none; }
.up-side-coin-label { font-size: .64rem; text-transform: uppercase; letter-spacing: .07em; color: var(--up-muted); }
.up-side-coin-btn { width: auto; flex-shrink: 0; }

.up-nav { margin: 4px 10px 0; }
.up-side-actions { margin: 14px 14px 0; }
@media (max-width: 991.98px) {
  .up-side-hero { padding: 16px 14px 12px; }
  .up-side-hero-avatar { width: 72px; height: 72px; }
}

/* ---------- Számlázás ---------- */
.up-bill-filter { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; padding: 12px; border-radius: 12px; background: rgba(0,0,0,.22); border: 1px solid var(--up-line); }
.up-bill-filter > label { display: flex; flex-direction: column; gap: 4px; margin: 0; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--up-muted); min-width: 120px; }
.up-bill-filter .form-select-sm { min-height: 34px; padding: 5px 30px 5px 10px; font-size: .8rem; border-radius: 8px; }
.up-bill-filter > .up-btn { height: 34px; }
.up-bill-summary { margin-left: auto; font-size: .78rem; color: var(--up-muted); white-space: nowrap; }
.up-bill-summary strong { color: #f6ebbe; }
.up-bill-table td { padding: 11px 10px; }
.up-bill-table th { padding: 8px 10px; }
.up-bill-table tbody tr:hover td { background: rgba(255,255,255,.025); }
.up-bill-date strong, .up-bill-item strong, .up-bill-amount strong { display: block; color: #e9ecf1; font-weight: 700; }
.up-bill-date small, .up-bill-item small, .up-bill-method small, .up-bill-amount small { display: block; font-size: .7rem; color: var(--up-muted); }
.up-bill-date { white-space: nowrap; }
.up-bill-item { min-width: 220px; }
.up-bill-coins { color: #ffd36a; }
.up-bill-coins em { font-style: normal; color: #6ee7a0; }
.up-bill-id code { font-size: .72rem; color: #c9cfd8; background: rgba(255,255,255,.05); padding: 2px 6px; border-radius: 6px; white-space: nowrap; }
.up-bill-method { white-space: nowrap; font-size: .8rem; }
.up-bill-amount { white-space: nowrap; font-variant-numeric: tabular-nums; }
.up-bill-refund { color: #c4b5fd; }
.up-bill-status { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: .7rem; font-weight: 700; white-space: nowrap; border: 1px solid var(--up-line); color: #c9cfd8; background: rgba(255,255,255,.05); }
.up-bill-status.is-success { color: #6ee7a0; background: rgba(34,197,94,.12); border-color: rgba(34,197,94,.35); }
.up-bill-status.is-warning { color: #fbbf24; background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.35); }
.up-bill-status.is-danger { color: #f87171; background: rgba(239,68,68,.12); border-color: rgba(239,68,68,.35); }
.up-bill-status.is-purple { color: #c4b5fd; background: rgba(139,92,246,.14); border-color: rgba(139,92,246,.4); }
.up-bill-status.is-muted { opacity: .75; }
@media (max-width: 640px) { .up-bill-summary { margin-left: 0; width: 100%; } .up-bill-filter > label { flex: 1 1 45%; min-width: 0; } }

/* Számlázás táblázat – fix oszlopok, ne csússzon szét */
.up-bill-table { table-layout: fixed; min-width: 760px; }
.up-bill-table th:nth-child(1), .up-bill-table td:nth-child(1) { width: 92px; }
.up-bill-table th:nth-child(3), .up-bill-table td:nth-child(3) { width: 120px; }
.up-bill-table th:nth-child(4), .up-bill-table td:nth-child(4) { width: 120px; }
.up-bill-table th:nth-child(5), .up-bill-table td:nth-child(5) { width: 150px; }
.up-bill-table th:nth-child(6), .up-bill-table td:nth-child(6) { width: 48px; }
.up-bill-table td { vertical-align: top; overflow: hidden; }
.up-bill-row { display: table-row; }
.up-bill-item strong { font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up-bill-item small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up-bill-coins { font-weight: 600; font-size: .76rem; }
.up-bill-id { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .66rem !important; color: #8f97a3 !important; }
.up-bill-method { white-space: normal; }
.up-bill-method small { white-space: nowrap; }
.up-bill-amount small { white-space: normal; line-height: 1.2; }
.up-bill-status { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

/* Beállítások: kiemelő szín választó */
.up-accent-row { display: flex; flex-wrap: wrap; gap: 8px; }
.up-accent { position: relative; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 12px 7px 8px; border-radius: 999px; cursor: pointer; font-size: .8rem; font-weight: 600; color: #d6dbe4; background: rgba(255,255,255,.035); border: 1px solid var(--up-line); transition: border-color .15s, background .15s; }
.up-accent input { position: absolute; opacity: 0; pointer-events: none; }
.up-accent-swatch { width: 18px; height: 18px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 2px rgba(0,0,0,.4), 0 0 10px color-mix(in srgb, var(--acc) 50%, transparent); }
.up-accent:hover { border-color: var(--acc); }
.up-accent:has(input:checked) { border-color: var(--acc); background: color-mix(in srgb, var(--acc) 14%, transparent); color: #fff; }
