@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Inter:wght@300;400;600;800&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

:root {

  --bg-deep: #0a0a0c;
  --bg-panel: rgba(21, 21, 24, 0.85);
  --bg-panel-hover: rgba(28, 28, 32, 0.95);

  --mafia-gold: #d4af37;
  --mafia-red: #8b0000;
  --mafia-cream: #f5f5dc;

  --vc-pink: #ff2d95;
  --vc-cyan: #00e5ff;

  --text-main: #e0e5e5;
  --text-muted: #8b8b92;

  /* Borders & Glows */
  --border-gold: 1px solid rgba(201, 162, 39, 0.3);
  --border-red: 1px solid rgba(168, 32, 32, 0.4);
  --border-vc: 1px solid rgba(209, 71, 131, 0.2);
  
  --glow-gold: 0 0 8px rgba(201, 162, 39, 0.15);
  --glow-gold-strong: 0 0 15px rgba(201, 162, 39, 0.4);
  --glow-vc-pink: 0 0 10px rgba(209, 71, 131, 0.3);
  --glow-vc-cyan: 0 0 10px rgba(41, 182, 196, 0.2);

  /* Fonts */
  --font-title: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --font-stats: 'Space Mono', monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-body);
  background-image:
    linear-gradient(to bottom, rgba(10, 10, 12, 0.95), rgba(15, 15, 18, 0.98)),
    url('data:image/svg+xml;utf8,<svg width="4" height="4" viewBox="0 0 4 4" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="4" fill="rgba(255,255,255,0.01)"/></svg>');
  /* subtle pinstripes */
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* scanline overlay - retained from VC but subtler */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%,
      rgba(0, 0, 0, 0.2) 50%),
    linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
  background-size: 100% 2px, 3px 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.2;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-title);
  color: var(--mafia-cream);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  margin-top: 0;
  letter-spacing: 1px;
}

.vc-title {
  color: var(--mafia-gold);
  text-shadow: var(--glow-gold);
  font-weight: 900;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-style: italic;
  letter-spacing: 2px;
}

/* Layout */
.main-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.container {
  padding: 40px 20px;
}

/* Grid Horizon Background Element - Retained but colored blood-red/mafia */
.vc-grid-horizon {
  position: fixed;
  bottom: 0;
  left: -50%;
  width: 200%;
  height: 35vh;
  background:
    linear-gradient(transparent 65%, var(--mafia-red) 100%),
    repeating-linear-gradient(transparent, transparent 19px, rgba(139, 0, 0, 0.3) 20px),
    repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(139, 0, 0, 0.3) 20px);
  background-size: 100% 100%, 100% 40px, 40px 100%;
  transform: perspective(600px) rotateX(75deg);
  transform-origin: bottom;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

/* Glassy Panel (replaces generic .card / .panel) */
.vc-panel,
.card,
.panel {
  background: var(--bg-panel);
  border: var(--border-gold);
  border-radius: 4px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  color: var(--text-main);
}

/* subtle neon hover on panels to mix the VC aesthetic */
.vc-panel:hover,
.card:hover,
.panel:hover {
  background: var(--bg-panel-hover);
  border-color: rgba(255, 45, 149, 0.4);
  box-shadow: var(--glow-vc-pink);
}

/* Buttons */
.btn,
button,
input[type="submit"] {
  background: rgba(10, 10, 12, 0.8);
  color: var(--mafia-gold);
  border: var(--border-gold);
  padding: 12px 24px;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s ease;
  display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  text-decoration: none;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
  background: var(--mafia-gold);
  color: #000;
  box-shadow: var(--glow-gold-strong);
  border-color: var(--mafia-gold);
  transform: translateY(-2px);
}

.btn-secondary,
.btn-info {
  color: var(--vc-cyan);
  border: 1px solid rgba(0, 229, 255, 0.4);
}

.btn-secondary:hover,
.btn-info:hover {
  background: var(--vc-cyan);
  color: #000;
  box-shadow: var(--glow-vc-cyan);
  border-color: var(--vc-cyan);
}

.btn-danger,
.btn-warning {
  color: var(--mafia-red);
  border: 1px solid rgba(139, 0, 0, 0.5);
}

.btn-danger:hover,
.btn-warning:hover {
  background: var(--mafia-red);
  color: #fff;
  box-shadow: 0 0 20px rgba(139, 0, 0, 0.8);
  border-color: var(--mafia-red);
}

.btn-block,
.w-100 {
  display: block;
  width: 100%;
}

/* Stats & Numbers */
.vc-stat,
.stat-value {
  font-family: var(--font-stats);
  color: var(--mafia-gold);
  font-size: 1.2rem;
  font-weight: bold;
}

.vc-stat-label,
.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: var(--mafia-cream);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  font-family: var(--font-title);
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
select,
textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 2px solid rgba(212, 175, 55, 0.5);
  color: var(--mafia-cream);
  padding: 14px;
  font-family: var(--font-stats);
  font-size: 1rem;
  border-radius: 2px;
  transition: all 0.3s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.2);
  border-bottom-color: var(--vc-cyan);
  background: rgba(0, 229, 255, 0.05);
  box-shadow: var(--glow-vc-cyan);
}

/* Tables */
.table-responsive {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  white-space: nowrap;
}

table th {
  background: rgba(212, 175, 55, 0.05);
  color: var(--mafia-gold);
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--mafia-gold);
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 1px;
}

table td {
  padding: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  font-family: var(--font-body);
  color: var(--text-main);
}

table tr:hover td {
  background: rgba(139, 0, 0, 0.1);
  /* Subtle blood red hover */
}

/* Flash Messages / Alerts */
.alert,
.msg,
.vc-flash {
  padding: 15px 20px;
  border-radius: 2px;
  margin-bottom: 25px;
  font-family: var(--font-body);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeIn 0.5s ease-out;
  border-left: 4px solid transparent;
}

.alert-success,
.msg-success {
  background: rgba(212, 175, 55, 0.05);
  border-left-color: var(--mafia-gold);
  color: var(--mafia-gold);
}

.alert-danger,
.alert-error,
.msg-error {
  background: rgba(139, 0, 0, 0.1);
  border-left-color: var(--mafia-red);
  color: #ff6b6b;
}

/* Navbar */
.navbar {
  background: rgba(10, 10, 12, 0.98);
  border-bottom: 1px solid var(--mafia-gold);
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.nav-brand {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--mafia-cream);
  text-decoration: none;
  padding: 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 2px;
}

.nav-brand i {
  color: var(--mafia-gold);
}

.nav-links {
  display: flex;
  gap: 5px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: all 0.3s;
  padding: 20px 15px;
  border-bottom: 2px solid transparent;
  letter-spacing: 1px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--mafia-gold);
  border-bottom-color: var(--mafia-red);
  background: linear-gradient(to top, rgba(139, 0, 0, 0.2) 0%, transparent 100%);
}

/* Progress bar */
.progress-container,
.vc-progress {
  width: 100%;
  height: 12px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--mafia-red), var(--mafia-gold));
  transition: width 0.5s ease-out;
}

/* Text Colors */
.text-success {
  color: var(--mafia-gold) !important;
}

.text-danger {
  color: #ff6b6b !important;
}

.text-warning {
  color: var(--mafia-gold) !important;
}

.text-info {
  color: var(--vc-cyan) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

/* Grid utilities */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
}

.col-md-6,
.col-md-4,
.col-md-8,
.col-12 {
  padding: 10px;
  box-sizing: border-box;
}

.col-md-6 {
  width: 50%;
}

.col-md-4 {
  width: 33.333%;
}

.col-md-8 {
  width: 66.666%;
}

.col-12 {
  width: 100%;
}

@media (max-width: 768px) {

  .col-md-6,
  .col-md-4,
  .col-md-8 {
    width: 100%;
  }

  .navbar {
    flex-direction: column;
    padding: 10px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    padding: 10px;
    font-size: 0.75rem;
  }
}
/* --- New 80s Mafia UI Utilities --- */
.breathing-glow { animation: breatheGlow 2s infinite alternate ease-in-out; }
@keyframes breatheGlow { 0% { box-shadow: 0 0 10px rgba(212, 175, 55, 0.2); } 100% { box-shadow: 0 0 25px rgba(212, 175, 55, 0.7); } }
.sunset-gradient { background: linear-gradient(135deg, var(--mafia-gold), var(--mafia-red)); color: #fff; border: none; }
.motel-sign { color: var(--vc-cyan); text-shadow: var(--glow-vc-cyan); font-family: var(--font-title); font-style: italic; }
.glass-form { background: rgba(0,0,0,0.6); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.05); padding: 30px; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.9); }


/* --- Phase 3 Crime Utilities --- */
.blood-glow { box-shadow: 0 0 15px rgba(139, 0, 0, 0.8) !important; border-color: var(--mafia-red) !important; color: #ff6b6b !important; }
.gritty-panel { background: rgba(5, 5, 6, 0.95); border: 1px solid rgba(255, 0, 0, 0.1); box-shadow: inset 0 0 50px rgba(0,0,0,0.9); }
.burning-bar { background: linear-gradient(90deg, #8b0000 0%, #ff4500 100%); position: relative; }
.burning-bar::after { content: ''; position: absolute; right: 0; top: 0; height: 100%; width: 4px; background: #fff; box-shadow: 0 0 10px #ff4500, 0 0 20px #ff0000; }


/* --- Phase 4 Finances & Tension Utilities --- */
.finance-panel { background: rgba(10, 15, 20, 0.95); border: 1px solid rgba(0, 229, 255, 0.2); box-shadow: 0 5px 20px rgba(0, 229, 255, 0.1); border-top: 3px solid var(--vc-cyan); }
.ticker-green { color: #00ff00; font-family: var(--font-stats); text-shadow: 0 0 5px rgba(0, 255, 0, 0.5); }
.ticker-red { color: #ff0000; font-family: var(--font-stats); text-shadow: 0 0 5px rgba(255, 0, 0, 0.5); }
.showroom-grid { background: linear-gradient(180deg, rgba(20,0,30,0.8) 0%, rgba(40,0,50,0.9) 100%), repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(255,45,149,0.1) 20px), repeating-linear-gradient(90deg, transparent, transparent 19px, rgba(255,45,149,0.1) 20px); border: 1px solid rgba(255,45,149,0.2); }
.tension-panel { background: #1a1510; border: 1px solid #ff8c00; box-shadow: inset 0 0 100px rgba(0,0,0,0.9); color: #ffb84d; font-family: 'Space Mono', monospace; }
.tension-panel::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: repeating-linear-gradient(0deg, rgba(0,0,0,0.1), rgba(0,0,0,0.1) 1px, transparent 1px, transparent 2px); pointer-events: none; }


/* --- Phase 5 Casino, Org & System Utilities --- */
.casino-panel { background: radial-gradient(circle at center, rgba(128, 0, 128, 0.4) 0%, rgba(10, 5, 20, 0.95) 70%); border: 1px solid rgba(255, 0, 255, 0.3); box-shadow: 0 0 30px rgba(128, 0, 128, 0.4); border-top: 3px solid #ff00ff; }
.org-panel { background: rgba(15, 12, 10, 0.95); border: 1px solid var(--mafia-gold); box-shadow: inset 0 0 40px rgba(0,0,0,0.8); }
.terminal-log { background: #000; color: #00ff00; font-family: 'Courier New', Courier, monospace; border: 1px solid #003300; padding: 15px; box-shadow: inset 0 0 20px rgba(0,255,0,0.1); }
.gazette-panel { background: #f4e4bc; color: #3a2b1c; font-family: 'Georgia', serif; border: 1px solid #d3b887; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.gazette-panel h1, .gazette-panel h2 { font-family: 'Playfair Display', serif; color: #22150d; }

/* --- MAFIA UI COMPATIBILITY LAYER --- */
.main-container, .panel-mafia, .content-panel, .wrap, .box, .container.panel, .lobby-grid {
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.9);
    margin-bottom: 20px;
    color: #ccc;
}
.p-head, .header-eyebrow, .section-label, .royal-header h1 {
    font-family: var(--font-title, 'Special Elite', monospace);
    color: var(--gold, #c5a059);
    border-bottom: 1px solid rgba(212,175,55,0.3);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(212,175,55,0.2);
}
.p-body, .panel-body, .wrap-body, .lobby-grid {
    color: #ddd;
}

/* --- DASHBOARD & LAYOUT GRIDS --- */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    align-items: start;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
}
.stat-box {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5);
}
.stat-box:hover {
    background: rgba(0,0,0,0.6);
    border-color: rgba(201,162,39,0.3);
    box-shadow: inset 0 0 20px rgba(201,162,39,0.1);
}
.stat-icon {
    font-size: 1.8rem;
    color: var(--mafia-gold);
    margin-bottom: 10px;
    filter: drop-shadow(0 0 5px rgba(201,162,39,0.4));
}
.stat-val {
    font-size: 1.3rem;
    font-family: var(--font-stats);
    color: #fff;
    margin-bottom: 5px;
    text-shadow: 0 0 5px rgba(255,255,255,0.2);
}
.stat-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- PROFILE CARD --- */
.profile-card {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 25px;
    background: linear-gradient(180deg, rgba(201,162,39,0.05) 0%, transparent 100%);
    border-radius: 8px 8px 0 0;
}
.prof-avatar {
    font-size: 3.5rem;
    color: var(--mafia-gold);
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(201,162,39,0.3));
}
.prof-name {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}
.prof-rank {
    font-size: 0.95rem;
    color: var(--vc-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

/* --- PROGRESS BARS --- */
.prog-row {
    margin-bottom: 20px;
}
.prog-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ddd;
}
.prog-track {
    background: rgba(0,0,0,0.8);
    height: 14px;
    border-radius: 7px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.8);
}
.prog-fill {
    height: 100%;
    background: var(--vc-cyan);
    border-radius: 7px;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.3);
}
.prog-fill.red {
    background: var(--mafia-red);
}
.prog-fill.yellow, .prog-fill.gold {
    background: var(--mafia-gold);
}
.prog-fill.green {
    background: #4caf50;
}

/* --- LEDGER ITEMS --- */
.ledger-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,0,0,0.2);
    margin-bottom: 5px;
    border-radius: 4px;
    transition: background 0.3s ease;
}
.ledger-item:hover {
    background: rgba(0,0,0,0.4);
}
.ledger-item > span:first-child {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.ledger-val {
    font-family: var(--font-stats);
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 5px rgba(255,255,255,0.1);
}

/* --- ATTENDANCE SYSTEM --- */
.attendance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.header-stats {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.hstat {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 10px 15px;
    border-radius: 6px;
    text-align: center;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}
.hstat-val {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--mafia-gold);
    text-shadow: 0 0 5px rgba(201,162,39,0.3);
}
.hstat-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.checkin-card {
    background: rgba(10,9,7,0.97);
    border: 1px solid rgba(201,162,39,0.2);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.8);
}
.checkin-top {
    display: flex;
    background: rgba(0,0,0,0.6);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    flex-wrap: wrap;
}
.day-slot {
    flex: 1 1 0;
    min-width: 60px;
    text-align: center;
    padding: 15px 5px;
    border-right: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}
.day-slot:last-child {
    border-right: none;
}
.day-slot.future {
    opacity: 0.4;
}
.day-slot.done {
    background: rgba(76, 175, 80, 0.1);
}
.day-slot.active {
    background: rgba(201,162,39,0.15);
    box-shadow: inset 0 0 15px rgba(201,162,39,0.2);
}
.day-num {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.day-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.day-slot.done .day-icon { color: #4caf50; }
.day-slot.active .day-icon { color: var(--mafia-gold); filter: drop-shadow(0 0 5px rgba(201,162,39,0.5)); }
.day-slot.future .day-icon { color: #666; }
.day-cash {
    font-family: var(--font-stats);
    font-size: 0.85rem;
    color: #fff;
}
.checkin-bottom {
    padding: 20px;
    text-align: center;
}
.checkin-info h3 {
    margin-bottom: 5px;
    font-family: var(--font-title);
    color: var(--mafia-gold);
}
.checkin-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- ATTENDANCE: REWARD POPUP --- */
#reward-popup {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}
.rp-card {
    background: var(--surface);
    border: 2px solid var(--mafia-gold);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 30px rgba(201,162,39,0.3);
    min-width: 300px;
}
.rp-streak-num {
    font-size: 3rem;
    color: var(--mafia-gold);
    font-family: var(--font-title);
}
.rp-streak-lbl {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.rp-cash {
    font-size: 2rem;
    color: #4caf50;
    font-weight: bold;
    margin-bottom: 10px;
}
.rp-bonus {
    color: var(--pink-hot);
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.rp-close {
    width: 100%;
}

/* --- ATTENDANCE: CALENDAR --- */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}
.cal-day {
    aspect-ratio: 1;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}
.cal-day.present {
    background: rgba(76,175,80,0.15);
    border-color: rgba(76,175,80,0.3);
    color: #4caf50;
}
.cal-day.missed {
    background: rgba(244,67,54,0.1);
    color: rgba(255,255,255,0.2);
}
.cal-day.today-marker {
    border: 2px solid var(--mafia-gold);
    box-shadow: inset 0 0 10px rgba(201,162,39,0.3);
}
.cal-tooltip {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 10;
    border: 1px solid var(--border);
}
.cal-day:hover .cal-tooltip {
    opacity: 1;
}
.cal-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.legend-box {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1);
}
.legend-box.checked { background: rgba(76,175,80,0.15); border-color: rgba(76,175,80,0.3); color: #4caf50; font-size: 0.6rem; }
.legend-box.missed { background: rgba(244,67,54,0.1); color: rgba(255,255,255,0.2); font-size: 0.6rem; }
.legend-box.today { border-color: var(--mafia-gold); }

/* --- ATTENDANCE: MILESTONES --- */
.milestone-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.milestone-row {
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 6px;
    padding: 10px 15px;
    gap: 15px;
}
.milestone-row.reached {
    border-color: rgba(76,175,80,0.3);
}
.milestone-row.current {
    background: rgba(201,162,39,0.1);
    border-color: var(--mafia-gold);
}
.ms-day {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: bold;
}
.milestone-row.current .ms-day { background: var(--mafia-gold); color: #000; }
.milestone-row.reached .ms-day { background: #4caf50; color: #fff; }
.ms-info {
    flex: 1;
}
.ms-name {
    font-weight: bold;
    color: #fff;
}
.ms-cash {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.ms-badge {
    font-size: 0.7rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
    color: var(--text-muted);
}
.milestone-row.reached .ms-badge { background: rgba(76,175,80,0.2); color: #4caf50; }
.milestone-row.current .ms-badge { background: rgba(201,162,39,0.2); color: var(--mafia-gold); }

/* --- TOAST NOTIFICATIONS --- */
#toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--surface);
    border: 1px solid var(--mafia-gold);
    padding: 15px 25px;
    border-radius: 30px;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 9999;
}
#toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* =========================================================================
   SHADOW OPERATIONS (family_work.php)
========================================================================= */

/* --- TOPBAR --- */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    gap: 20px;
}
.topbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}
.brand-icon {
    font-size: 2.5rem;
    color: var(--mafia-gold);
    text-shadow: 0 0 10px rgba(201,162,39,0.5);
}
.brand-text h1 {
    margin: 0;
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: 1px;
}
.brand-text p {
    margin: 0;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 1px;
}
.topbar-stats {
    display: flex;
    gap: 15px;
}
.ts-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px 15px;
    border-radius: 6px;
    text-align: center;
}
.ts-val {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--mafia-gold);
}
.ts-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 5px;
}

/* --- HEAT METER --- */
.heat-section {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}
.heat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.heat-header h3 {
    margin: 0;
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: #fff;
}
.heat-val {
    font-family: var(--font-mono);
    font-weight: bold;
    color: var(--warn);
}
.heat-track {
    background: rgba(0,0,0,0.8);
    border-radius: 10px;
    height: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}
.heat-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    box-shadow: 0 0 10px rgba(239,68,68,0.5);
    transition: width 0.5s ease;
}
.heat-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 10px 0 0 0;
}

/* --- FACTIONS --- */
.section-title {
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 5px;
}
.faction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}
.faction-card {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}
.faction-card:hover {
    background: rgba(255,255,255,0.05);
}
.faction-card.active {
    background: rgba(255,255,255,0.02);
    border-color: var(--fc-color);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.5), 0 0 15px rgba(255,255,255,0.05);
}
.fc-active-badge {
    position: absolute;
    top: -8px;
    right: 15px;
    background: var(--fc-color);
    color: #000;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 1px;
}
.fc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.fc-icon {
    font-size: 1.8rem;
    color: var(--fc-color);
    text-shadow: 0 0 8px var(--fc-color);
}
.fc-name {
    font-weight: bold;
    color: #fff;
    font-size: 1.1rem;
}
.fc-specialty {
    font-size: 0.75rem;
    color: var(--fc-color);
}
.fc-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* --- OPERATIONS LAYOUT --- */
.ops-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}
@media (max-width: 900px) {
    .ops-layout { grid-template-columns: 1fr; }
}

.ops-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.op-item {
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s;
    gap: 15px;
}
.op-item:hover {
    background: rgba(255,255,255,0.05);
}
.op-item.selected {
    border-color: var(--mafia-gold);
    background: rgba(201,162,39,0.05);
}
.op-icon {
    font-size: 2rem;
    color: rgba(255,255,255,0.5);
}
.op-item.selected .op-icon {
    color: var(--mafia-gold);
    text-shadow: 0 0 10px rgba(201,162,39,0.5);
}
.op-meta {
    flex: 1;
}
.op-meta h4 {
    margin: 0 0 5px 0;
    color: #fff;
    font-size: 1.1rem;
}
.op-meta p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.op-stats {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-end;
}
.op-stat-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.stat-pill {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}
.stat-pill.cash { background: rgba(76,175,80,0.1); color: #4caf50; border: 1px solid rgba(76,175,80,0.3); }
.stat-pill.risk { background: rgba(251,191,36,0.1); color: #fbbf24; border: 1px solid rgba(251,191,36,0.3); }
.stat-pill.heat { background: rgba(239,68,68,0.1); color: #f87171; border: 1px solid rgba(239,68,68,0.3); }

/* --- SIDEBAR --- */
.ops-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.sidebar-panel {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 15px;
}
.sidebar-panel h3 {
    margin: 0 0 15px 0;
    font-size: 1rem;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 5px;
}
.district-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dist-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px;
    padding: 8px 10px;
    cursor: pointer;
    transition: all 0.2s;
}
.dist-item:hover { background: rgba(255,255,255,0.05); }
.dist-item.selected {
    background: rgba(201,162,39,0.1);
    border-color: var(--mafia-gold);
}
.dist-name {
    color: #e2e8f0;
    font-size: 0.9rem;
}
.dist-tags {
    display: flex;
    gap: 5px;
}
.dist-tag {
    font-size: 0.65rem;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: var(--font-mono);
}
.dist-tag.sec { background: rgba(59,130,246,0.15); color: #60a5fa; }
.dist-tag.econ { background: rgba(16,185,129,0.15); color: #34d399; }

.cooldown-note {
    font-size: 0.8rem;
    color: var(--warn);
    text-align: center;
}
#cooldown-display {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    text-align: center;
    color: var(--warn);
    margin-bottom: 15px;
}
.selection-status {
    background: rgba(0,0,0,0.5);
    padding: 10px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.05);
}
.selection-status span {
    color: #fff;
    font-weight: bold;
}
.execute-btn {
    width: 100%;
    padding: 15px;
    background: var(--mafia-gold);
    color: #000;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-title);
    letter-spacing: 1px;
}
.execute-btn:hover:not(:disabled) {
    background: #eab308;
    box-shadow: 0 0 15px rgba(201,162,39,0.5);
}
.execute-btn:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
}

/* --- HISTORY --- */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.hist-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 6px;
    padding: 10px 15px;
}
.hist-op {
    color: #fff;
    font-weight: bold;
}
.hist-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.outcome-badge {
    font-size: 0.75rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}
.ob-critical_success { background: rgba(34,197,94,0.15); color: #22c55e; }
.ob-success          { background: rgba(134,239,172,0.1); color: #86efac; }
.ob-partial_success  { background: rgba(251,191,36,0.1); color: #fbbf24; }
.ob-complication     { background: rgba(249,115,22,0.1); color: #fb923c; }
.ob-failure          { background: rgba(239,68,68,0.1); color: #f87171; }
.hist-cash {
    font-family: var(--font-mono);
    color: #4caf50;
    font-weight: bold;
}

/* --- RESULT OVERLAY --- */
.overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}
.overlay.open {
    display: flex;
}
.result-card {
    background: var(--surface);
    border: 2px solid var(--border);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    min-width: 350px;
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
}
.result-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}
.result-msg {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 5px;
    font-family: var(--font-title);
}
.result-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
    font-family: var(--font-mono);
}
.event-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.2);
}
.result-rewards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}
.rw-item {
    background: rgba(0,0,0,0.4);
    padding: 10px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.05);
}
.rw-val {
    font-size: 1.3rem;
    font-weight: bold;
    font-family: var(--font-mono);
}
.rw-pos { color: #4ade80; }
.rw-neg { color: #f87171; }
.rw-warn { color: #fb923c; }
.rw-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 5px;
}
.close-btn {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--text-muted);
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-mono);
}
.close-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* =========================================================================
   LOGS (logs.php)
========================================================================= */

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    gap: 20px;
}
.page-title {
    margin: 0 0 5px 0;
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: 1px;
}
.page-sub {
    margin: 0;
    color: var(--warn);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.filter-form {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.03);
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.05);
}
.filter-form label {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.filter-form input[type="date"] {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}
.filter-form a {
    color: var(--pink-hot);
    font-size: 0.8rem;
    text-decoration: none;
}
.filter-form a:hover {
    text-decoration: underline;
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 5px;
}
.tab {
    padding: 12px 20px;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tab:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}
.tab.active {
    background: rgba(201,162,39,0.1);
    border-color: var(--mafia-gold);
    color: var(--mafia-gold);
}

.ledger {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    overflow: hidden;
}
.ledger-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.5);
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ledger-head-title {
    font-family: var(--font-title);
    color: #fff;
    letter-spacing: 1px;
}
.ledger-count {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(255,255,255,0.05);
    padding: 3px 8px;
    border-radius: 4px;
}

.section-label {
    background: rgba(255,255,255,0.02);
    padding: 8px 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s;
}
.row:hover {
    background: rgba(255,255,255,0.02);
}
.row:last-child {
    border-bottom: none;
}

.r-time {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    min-width: 140px;
}
.r-desc {
    flex: 1;
    color: #ccc;
    font-size: 0.95rem;
}
.r-desc strong {
    color: #fff;
}
.r-val {
    font-family: var(--font-mono);
    font-weight: bold;
    font-size: 0.95rem;
    text-align: right;
}

.val-pos { color: #4ade80; }
.val-neg { color: #f87171; }
.val-gold { color: var(--mafia-gold); }

.empty {
    padding: 40px;
    text-align: center;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-style: italic;
}

/* =========================================================================
   USERS REGISTRY (users.php)
========================================================================= */

.wrapper {
    position: relative;
    padding-top: 40px; /* Space for back button */
}
.back-btn {
    position: absolute;
    top: 15px; left: 20px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
}
.back-btn:hover {
    color: #fff;
}

/* Inherits .page-header and .page-title from logs.php */
.search-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.search-form input, .search-form select {
    flex: 1 1 auto;
    width: auto;
    min-width: 150px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    outline: none;
}
.search-form input:focus, .search-form select:focus {
    border-color: var(--mafia-gold);
}
.search-form button {
    background: rgba(201,162,39,0.1);
    color: var(--mafia-gold);
    border: 1px solid var(--mafia-gold);
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}
.search-form button:hover {
    background: var(--mafia-gold);
    color: #000;
}

.table-head {
    display: grid;
    grid-template-columns: 50px 2fr 1.5fr 1fr 1fr 1fr;
    gap: 15px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.th-right {
    text-align: right;
}

.player-row {
    display: grid;
    grid-template-columns: 50px 2fr 1.5fr 1fr 1fr 1fr;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}
.player-row:hover {
    background: rgba(255,255,255,0.02);
}
.player-row:last-of-type {
    border-bottom: none;
}

.cell-num {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.8rem;
}
.cell-identity {
    display: flex;
    align-items: center;
    gap: 10px;
}
.identity-icon {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.identity-icon.is-staff {
    background: rgba(201,162,39,0.15);
    color: var(--mafia-gold);
}
.identity-name {
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
}
.identity-name:hover {
    text-decoration: underline;
}
.identity-name.is-dead {
    color: var(--danger);
    text-decoration: line-through;
    opacity: 0.8;
}

.cell-location {
    display: flex;
    flex-direction: column;
    color: #e2e8f0;
    font-size: 0.9rem;
}
.cell-location span {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.cell-badge {
    font-size: 0.75rem;
    padding: 3px 8px;
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    border-radius: 4px;
    white-space: nowrap;
    text-align: center;
    width: fit-content;
}
.cell-badge.is-clan {
    background: rgba(34,197,94,0.1);
    color: #4ade80;
    font-weight: bold;
}

.cell-rep {
    text-align: right;
    font-family: var(--font-mono);
    color: var(--mafia-gold);
    font-weight: bold;
}

.empty-state {
    padding: 50px 20px;
    text-align: center;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-style: italic;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding: 15px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,0,0,0.3);
}
.nav-btn {
    padding: 8px 15px;
    background: rgba(255,255,255,0.05);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: background 0.2s;
    display: flex;
    align-items: center;
}
.nav-btn:hover {
    background: rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 900px) {
    .table-head { display: none; }
    .player-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 15px;
    }
    .cell-num { display: none; }
    .cell-rep { text-align: left; margin-top: 5px; }
    .cell-badge { margin-top: 2px; }
}

/* =========================================================================
   OPERATIONS (operations.php)
========================================================================= */

.vc-container {
    max-width: 1000px;
    margin: 0 auto;
}
.vc-title {
    font-family: var(--font-title);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--mafia-gold);
    padding-bottom: 10px;
}
.vc-title i {
    color: var(--mafia-gold);
}

.vc-nav-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.vc-nav-links a {
    background: rgba(0,0,0,0.4);
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: bold;
    transition: all 0.2s;
}
.vc-nav-links a:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}
.vc-nav-links a.active {
    background: rgba(201,162,39,0.1);
    color: var(--mafia-gold);
}

.vc-badge {
    padding: 6px 12px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    border: 1px solid;
}
.vc-badge-cyan {
    background: rgba(0,255,255,0.1);
    color: #00ffff;
    border-color: #00ffff;
}

.vc-flash {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 25px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}
.vc-flash.error {
    background: rgba(239,68,68,0.1);
    border: 1px solid var(--red-neon);
    color: var(--red-neon);
    box-shadow: 0 0 10px rgba(239,68,68,0.2);
}
.vc-flash.success {
    background: rgba(34,197,94,0.1);
    border: 1px solid var(--green-palm);
    color: var(--green-palm);
    box-shadow: 0 0 10px rgba(34,197,94,0.2);
}

.vc-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}
.vc-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--mafia-gold);
    letter-spacing: 1px;
}
.vc-input {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 10px 15px;
    border-radius: 4px;
    font-family: var(--font-mono);
    outline: none;
    transition: all 0.2s;
    width: 100%;
}
.vc-input:focus {
    border-color: var(--mafia-gold);
    box-shadow: 0 0 10px rgba(201,162,39,0.2);
}

.vc-btn {
    background: rgba(201,162,39,0.1);
    border: 1px solid var(--mafia-gold);
    color: var(--mafia-gold);
    padding: 10px 20px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.vc-btn:hover {
    background: var(--mafia-gold);
    color: #000;
}
.vc-btn-block {
    display: block;
    width: 100%;
}
.vc-btn-secondary {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
}
.vc-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
}
.vc-btn-danger {
    background: rgba(239,68,68,0.1);
    border-color: var(--red-neon);
    color: var(--red-neon);
}
.vc-btn-danger:hover {
    background: var(--red-neon);
    color: #fff;
}

.vc-empty-state {
    text-align: center;
    padding: 40px;
    background: rgba(0,0,0,0.3);
    border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 6px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}
.vc-empty-state i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.vc-table-wrapper {
    overflow-x: auto;
}
.vc-table {
    width: 100%;
    border-collapse: collapse;
}
.vc-table td {
    padding: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.vc-table tr:last-child td {
    border-bottom: none;
}

.vc-stat {
    font-family: var(--font-mono);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Select options fix for dark theme */
select option, .vc-input option {
    background-color: #1a1a1a;
    color: #fff;
}

/* =========================================================================
   EXTORTION (extortion.php)
========================================================================= */

.glass-form {
    padding: 30px;
}
.glass-form header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.glass-form header h1 {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--mafia-gold);
    margin: 0;
}
.stats {
    display: flex;
    gap: 15px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-muted);
}
.stats b {
    color: #fff;
}
.stats i {
    color: var(--mafia-gold);
}

.toast {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    transition: opacity 0.5s;
}
.toast.succ {
    background: rgba(34,197,94,0.1);
    border: 1px solid var(--green-palm);
    color: var(--green-palm);
    box-shadow: 0 0 10px rgba(34,197,94,0.2);
}
.toast.err {
    background: rgba(239,68,68,0.1);
    border: 1px solid var(--red-neon);
    color: var(--red-neon);
    box-shadow: 0 0 10px rgba(239,68,68,0.2);
}

.progress-container {
    background: rgba(0,0,0,0.4);
    border: 1px dashed rgba(201,162,39,0.3);
    padding: 15px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.op-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.op-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.op-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border-color: rgba(201,162,39,0.3);
}
.op-img {
    height: 120px;
    background-size: cover;
    background-position: center;
    border-bottom: 2px solid var(--mafia-gold);
}
.op-info {
    padding: 15px;
    flex: 1;
}
.op-title {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 5px;
}
.op-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    min-height: 40px;
}
.op-meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #bbb;
    background: rgba(0,0,0,0.3);
    padding: 8px;
    border-radius: 4px;
}
.op-meta i {
    color: var(--mafia-gold);
}
.op-meta .risk-high {
    color: var(--red-neon);
}
.op-meta .risk-high i {
    color: var(--red-neon);
}

.btn-shakedown {
    width: 100%;
    padding: 12px;
    background: rgba(201,162,39,0.1);
    border: none;
    border-top: 1px solid rgba(201,162,39,0.3);
    color: var(--mafia-gold);
    font-family: var(--font-mono);
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 0 0 8px 8px;
}
.btn-shakedown:hover:not([disabled]) {
    background: var(--mafia-gold);
    color: #000;
}
.btn-shakedown[disabled] {
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    border-top-color: rgba(255,255,255,0.1);
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .glass-form header {
        flex-direction: column;
        gap: 15px;
    }
    .stats {
        flex-wrap: wrap;
    }
}

/* =========================================================================
   THE HUSTLE (robber.php)
========================================================================= */

.crime-card { 
    background: rgba(0,0,0,0.5); 
    border: 1px solid var(--text-muted); 
    border-radius: 8px; 
    padding: 15px; 
    transition: 0.3s; 
    position: relative; 
    overflow: hidden; 
    cursor: pointer; 
    height: 100%; 
    display: flex; 
    flex-direction: column; 
}
.crime-radio { position: absolute; opacity: 0; pointer-events: none; }
.crime-radio:checked + .crime-card { 
    border-color: var(--mafia-gold); 
    box-shadow: 0 0 15px rgba(212, 175, 55,0.3); 
    background: rgba(212, 175, 55,0.1); 
}
.crime-radio:disabled + .crime-card { opacity: 0.4; cursor: not-allowed; }

.heat-track { 
    height: 15px; 
    background: rgba(0,0,0,0.5); 
    border: 1px solid var(--text-muted); 
    border-radius: 4px; 
    overflow: hidden; 
    margin-top: 5px; 
}
.heat-fill { 
    height: 100%; 
    background: linear-gradient(90deg, var(--mafia-gold), var(--red-neon)); 
    transition: width 0.3s; 
}

.feed-item { 
    border-bottom: 1px solid rgba(255,255,255,0.1); 
    padding: 10px 0; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.feed-item:last-child { border-bottom: none; }

.hustle-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.hustle-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.hustle-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 900px) {
    .hustle-layout {
        grid-template-columns: 2fr 1fr;
    }
}

/* =========================================================================
   FINANCES (finances.php)
========================================================================= */

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}
.kpi-card {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.05);
    border-left: 3px solid var(--mafia-gold);
    padding: 15px;
    border-radius: 8px;
}
.kpi-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 5px;
}
.kpi-val {
    font-size: 1.5rem;
    color: #fff;
    font-family: var(--font-mono);
    font-weight: bold;
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}
@media (min-width: 900px) {
    .main-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.form-input, .f-input {
    width: 100%;
    padding: 10px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 4px;
    margin-bottom: 15px;
    font-family: var(--font-mono);
}
.form-input:focus {
    outline: none;
    border-color: var(--mafia-gold);
}

.safe-door {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    background: #222;
    border: 5px solid #444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: inset 0 0 20px #000;
}
.dial-plate {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px dashed #666;
    transition: transform 1.2s ease-in-out;
    display: flex;
    justify-content: center;
}
.dial-knob {
    width: 10px;
    height: 20px;
    background: var(--red-neon);
    border-radius: 5px;
    margin-top: -10px;
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background: rgba(0,0,0,0.6);
    padding: 10px 0;
    margin-bottom: 20px;
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px;
}
.ticker {
    display: inline-block;
    animation: ticker 20s linear infinite;
}
@keyframes ticker {
    0% { transform: translate3d(100%, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}
.ticker-item {
    display: inline-block;
    padding: 0 20px;
    font-family: var(--font-mono);
}

.stock-list {
    display: flex;
    flex-direction: column;
}
.stock-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.stock-item:last-child {
    border-bottom: none;
}
.s-info {
    display: flex;
    flex-direction: column;
}
.s-name {
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
}
.s-meta {
    font-size: 0.85rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
}
.s-actions {
    display: flex;
    align-items: center;
}
/* --- STOCK EXCHANGE --- */
.stock-grid { display: flex; flex-direction: column; gap: 0; }
.stock-card { border-bottom: 1px solid var(--border); padding: 14px 0; }
.stock-card:last-child { border-bottom: none; }
.sc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.sc-info .sc-name { font-weight: 700; color: #fff; font-size: 0.95rem; }
.sc-info .sc-price { font-family: 'Courier Prime', monospace; color: var(--gold); font-size: 1rem; margin-top: 2px; }
.sc-info .sc-change { font-size: 0.8rem; margin-top: 2px; }
.sc-info .sc-owned { font-size: 0.75rem; color: var(--gold); margin-top: 4px; }
.sc-actions { display: flex; gap: 6px; align-items: center; flex-shrink: 0; }
.sc-chart-wrap { height: 45px; margin-top: 4px; }

/* PORTFOLIO TABLE */
.port-table { width: 100%; border-collapse: collapse; font-family: 'Courier Prime', monospace; font-size: 0.8rem; }
.port-table th { color: var(--muted); padding: 6px 8px; text-align: left; border-bottom: 1px solid var(--border); text-transform: uppercase; font-size: 0.65rem; }
.port-table td { padding: 8px 8px; border-bottom: 1px solid rgba(48,54,61,0.5); color: #ccc; }
.port-table tr:last-child td { border-bottom: none; }

/* DEBTOR WARNING */
.debtor-bar { background: repeating-linear-gradient(45deg, rgba(218,54,51,0.1), rgba(218,54,51,0.1) 10px, rgba(0,0,0,0.05) 10px, rgba(0,0,0,0.05) 20px); border: 1px solid #da3633; border-radius: 6px; padding: 15px; margin-bottom: 20px; }
.debtor-bar h3 { color: #f85149; margin: 0 0 6px; font-size: 0.9rem; letter-spacing: 1px; }
.debtor-bar p { color: #ccc; font-size: 0.8rem; margin: 0; }

.sec-title { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin: 20px 0 10px; display: flex; align-items: center; gap: 8px; }
.sec-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
/* TICKER */
.ticker-wrap { width: 100%; overflow: hidden; background-color: #0d1117; border-bottom: 1px solid var(--border); white-space: nowrap; position: relative; height: 40px; display: flex; align-items: center; margin-bottom: 15px; border-radius: 6px; }
.ticker { display: inline-block; padding-left: 100%; animation: ticker 45s linear infinite; }
.ticker:hover { animation-play-state: paused; }
.ticker-item { display: inline-block; padding: 0 20px; font-family: 'Courier Prime', monospace; font-size: 0.85rem; }
@keyframes ticker { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-100%, 0, 0); } }
.blink { animation: blinker 1.5s linear infinite; }
@keyframes blinker { 50% { opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.4s ease-out; }
/* --- STOCK EXCHANGE CARDS (VIP) --- */
.stock-market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.stock-market-card {
    background: #1c2128;
    border: 1px solid #30363d;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.stock-banner {
    height: 120px;
    background: linear-gradient(45deg, #da3633, #8b6530); /* Default fallback */
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 2px solid #30363d;
}
.stock-banner-pebkoc { background: linear-gradient(135deg, #e33, #a22); }
.stock-banner-whispers { background: linear-gradient(135deg, #2a9df4, #1167b1); }
.stock-banner-sausage { background: linear-gradient(135deg, #f0a500, #d35400); }

.stock-card-header {
    padding: 10px 15px;
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
    background: rgba(255,255,255,0.05);
    border-bottom: 1px solid #30363d;
}
.stock-chart-container {
    padding: 10px;
    background: #0d1117;
    flex-grow: 1;
}
.stock-card-footer {
    padding: 10px 15px;
    font-family: 'Courier Prime', monospace;
    font-size: 0.8rem;
    color: #8b949e;
    background: #161b22;
    border-top: 1px solid #30363d;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.stock-vip-tip {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    letter-spacing: 0.5px;
    margin-left: 10px;
}
.tip-buy { background: rgba(86,211,100,0.2); color: #56d364; border: 1px solid #56d364; }
.tip-sell { background: rgba(248,81,73,0.2); color: #f85149; border: 1px solid #f85149; }
.tip-hold { background: rgba(240,165,0,0.2); color: #f0a500; border: 1px solid #f0a500; }

.stock-nav-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #30363d;
    padding-bottom: 10px;
}
.stock-tab {
    padding: 8px 16px;
    color: var(--muted);
    background: transparent;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.2s;
}
.stock-tab.active, .stock-tab:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
/* --- TRAVEL BUREAU (PREMIUM BOARDING PASSES) --- */
.travel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 25px;
    margin-top: 20px;
}
.travel-pass {
    background: #1c2128;
    border: 1px solid #30363d;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.travel-pass:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.15);
}
.travel-pass::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 8px; height: 100%;
    background: linear-gradient(180deg, var(--gold), #d7ac55);
}
.tp-header {
    padding: 20px 20px 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    position: relative;
}
.tp-city {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.tp-sub {
    font-size: 0.65rem;
    color: var(--muted);
    font-family: 'Courier Prime', monospace;
    letter-spacing: 2px;
}
.tp-class-selector {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--gold);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.tp-class-selector:hover { background: rgba(255,255,255,0.1); }

.tp-body {
    padding: 20px 20px 20px 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    position: relative;
}
.tp-watermark {
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 6rem;
    color: rgba(255,255,255,0.02);
    pointer-events: none;
    line-height: 1;
}
.tp-data { display: flex; flex-direction: column; }
.tp-data-lbl { font-size: 0.65rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.tp-data-val { font-size: 1rem; color: #fff; font-family: 'Courier Prime', monospace; font-weight: 600; }
.tp-val-gold { color: var(--gold); }
.tp-val-green { color: #56d364; }

.tp-footer {
    padding: 15px 20px 15px 30px;
    background: #161b22;
    border-top: 1px solid #30363d;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.tp-barcode {
    height: 30px;
    width: 120px;
    background-image: repeating-linear-gradient(90deg, #fff, #fff 2px, transparent 2px, transparent 4px, #fff 4px, #fff 5px, transparent 5px, transparent 8px, #fff 8px, #fff 11px, transparent 11px, transparent 12px);
    opacity: 0.2;
}
.tp-btn {
    background: var(--gold);
    color: #000;
    border: none;
    padding: 8px 24px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: 0.2s;
    letter-spacing: 1px;
}
.tp-btn:hover { background: #e8bd66; transform: scale(1.05); }
.tp-btn:disabled { background: #30363d; color: #8b949e; cursor: not-allowed; transform: none; }

.tp-cd {
    font-family: 'Courier Prime', monospace;
    color: #f85149;
    font-size: 1.1rem;
    font-weight: bold;
    background: rgba(248,81,73,0.1);
    padding: 5px 12px;
    border-radius: 4px;
    border: 1px solid rgba(248,81,73,0.3);
}

/* Flight overlay animations */
.flight-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(13, 17, 23, 0.95);
    z-index: 9999;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}
.transit-icon-wrap {
    width: 120px; height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex; justify-content: center; align-items: center;
    margin-bottom: 25px;
    position: relative;
    border: 2px solid rgba(255,255,255,0.1);
}
.transit-icon-wrap::before {
    content: ''; position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--gold);
    animation: spin 1s linear infinite;
}
.transit-icon { font-size: 3rem; color: #fff; }
.transit-text {
    color: #fff;
    font-family: 'Courier Prime', monospace;
    font-size: 1.5rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-align: center;
}
@keyframes spin { 100% { transform: rotate(360deg); } }
/* --- PROPERTIES (REAL ESTATE EXCHANGE) --- */
.estate-app { display: flex; flex-direction: column; gap: 20px; }
.estate-app .header { display: flex; justify-content: space-between; align-items: flex-end; border-bottom: 1px solid var(--border); padding-bottom: 15px; margin-bottom: 10px; }
.estate-app .kicker { font-size: 0.7rem; color: var(--gold); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 5px; }
.estate-app h1 { font-size: 2rem; font-family: 'Playfair Display', serif; color: #fff; margin: 0 0 5px 0; font-weight: normal; }
.estate-app h1 span { color: var(--gold); }
.estate-app .header-sub { font-size: 0.85rem; color: var(--muted); }
.location-pill { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 8px 15px; border-radius: 20px; font-size: 0.8rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.location-pill strong { color: var(--gold); font-weight: 600; }

.portfolio { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; background: #161b22; border: 1px solid var(--border); border-radius: 8px; padding: 20px; }
.portfolio .stat { display: flex; flex-direction: column; gap: 5px; }
.portfolio .stat-label { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.portfolio .stat-value { font-size: 1.5rem; font-family: 'Courier Prime', monospace; font-weight: bold; color: #fff; }

.city-switch { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.city-link { padding: 10px 20px; background: #1c2128; border: 1px solid var(--border); border-radius: 6px; color: var(--muted); text-decoration: none; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; transition: 0.2s; white-space: nowrap; }
.city-link:hover { background: rgba(255,255,255,0.05); color: #fff; }
.city-link.active { background: rgba(215, 172, 85, 0.1); border-color: var(--gold); color: var(--gold); }

.city-overview { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; }
.map-card { background: linear-gradient(135deg, #1c2128, #0d1117); border: 1px solid var(--border); border-radius: 8px; padding: 25px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.map-card::before { content: '\f279'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: -20px; bottom: -30px; font-size: 10rem; color: rgba(255,255,255,0.02); }
.city-code { font-size: 4rem; font-family: 'Playfair Display', serif; color: var(--gold); line-height: 1; opacity: 0.8; }
.city-caption { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; }
.district-line { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 15px; margin-top: auto; }
.district { display: flex; flex-direction: column; }
.district small { font-size: 0.65rem; color: var(--muted); text-transform: uppercase; }
.district b { font-family: 'Courier Prime', monospace; color: #fff; font-size: 0.95rem; }

.market-panel { background: #1c2128; border: 1px solid var(--border); border-radius: 8px; padding: 20px; }
.panel-mafia .panel-title { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px dashed rgba(255,255,255,0.1); padding-bottom: 10px; margin-bottom: 15px; }
.panel-mafia .panel-title h2 { margin: 0; font-size: 1.1rem; color: var(--gold); text-transform: uppercase; }
.panel-mafia .panel-title span { font-size: 0.75rem; color: var(--muted); font-family: 'Courier Prime', monospace; }
.market-note { font-size: 0.85rem; color: #8b949e; line-height: 1.6; margin: 0; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 15px; }
.metric { display: flex; flex-direction: column; background: rgba(255,255,255,0.02); padding: 10px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.05); }
.metric small { font-size: 0.65rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.metric b { font-family: 'Courier Prime', monospace; font-size: 0.95rem; color: #fff; }

.properties-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 25px; margin-top: 10px; }
.property-card { background: #1c2128; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; position: relative; transition: 0.2s; }
.property-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,0.15); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.status-badge { position: absolute; top: 15px; right: 15px; font-size: 0.65rem; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; padding: 4px 10px; border-radius: 4px; z-index: 2; }
.status-owned { background: rgba(86,211,100,0.15); color: #56d364; border: 1px solid #56d364; }
.status-taken { background: rgba(255,255,255,0.05); color: var(--muted); border: 1px solid var(--border); }

.property-image { height: 120px; background: linear-gradient(45deg, #0d1117, #161b22); border-bottom: 1px solid var(--border); display: flex; justify-content: center; align-items: center; position: relative; }
.property-icon { font-size: 3rem; color: rgba(255,255,255,0.1); }
.property-tag { position: absolute; bottom: 10px; left: 15px; font-size: 0.65rem; color: var(--gold); text-transform: uppercase; letter-spacing: 2px; font-weight: bold; }

.property-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.property-type { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.property-name { font-size: 1.2rem; font-family: 'Playfair Display', serif; color: #fff; margin: 5px 0; }
.property-desc { font-size: 0.8rem; color: #8b949e; line-height: 1.4; margin-bottom: 15px; }

.owner-line { font-size: 0.8rem; color: var(--muted); padding-top: 15px; margin-top: auto; border-top: 1px solid rgba(255,255,255,0.05); }
.owner-line strong { color: #fff; font-weight: normal; }

.actions { display: flex; gap: 10px; margin-top: 15px; flex-wrap: wrap;}
.actions.row { flex-direction: row; }
.btn-primary { flex: 1; padding: 10px; background: rgba(255,255,255,0.05); color: #fff; border: 1px solid var(--border); border-radius: 4px; font-weight: 600; cursor: pointer; transition: 0.2s; text-align: center; font-size:0.8rem;}
.btn-collect { background: rgba(86,211,100,0.1); color: #56d364; border-color: #56d364; }
.btn-collect:hover { background: #56d364; color: #000; }
.btn-manage:hover { background: rgba(255,255,255,0.1); }
.btn-sell { background: rgba(248,81,73,0.1); color: #f85149; border-color: #f85149; }
.btn-sell:hover { background: #f85149; color: #000; }
.btn-buy { background: rgba(215,172,85,0.1); color: var(--gold); border-color: var(--gold); }
.btn-buy:hover { background: var(--gold); color: #000; }
.btn-locked { opacity: 0.5; cursor: not-allowed; }

#toast { position: fixed; bottom: -100px; right: 20px; background: #1c2128; border-left: 4px solid var(--gold); color: #fff; padding: 15px 25px; border-radius: 4px; box-shadow: 0 5px 15px rgba(0,0,0,0.5); transition: 0.4s; z-index: 10000; font-weight: 600; }
#toast.show { bottom: 20px; }
/* --- BULLET FACTORY (HEAVY INDUSTRIES) --- */
.bf-app { display: flex; flex-direction: column; gap: 20px; }
.bf-header { display: flex; justify-content: space-between; align-items: flex-end; background: linear-gradient(to right, #161b22, #0d1117); border: 1px solid var(--border); border-radius: 8px; padding: 20px; margin-bottom: 10px; flex-wrap: wrap; gap: 20px; }
.bf-eyebrow { font-size: 0.7rem; color: var(--gold); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 5px; }
.bf-header h1 { font-size: 2.2rem; font-family: 'Playfair Display', serif; color: #fff; margin: 0; font-weight: normal; line-height: 1.1; }
.bf-header h1 span { color: var(--muted); }
.bf-stats { display: flex; gap: 20px; background: rgba(0,0,0,0.3); padding: 15px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.05); }
.bf-stat { display: flex; flex-direction: column; align-items: flex-end; }
.bf-stat-val { font-family: 'Courier Prime', monospace; font-size: 1.4rem; font-weight: bold; color: #fff; }
.bf-stat-lbl { font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

.bf-msg { padding: 15px; border-radius: 6px; text-align: center; font-weight: bold; font-size: 0.95rem; border-left: 4px solid transparent; }
.bf-msg.success { background: rgba(46, 213, 115, 0.1); color: #2ed573; border-color: #2ed573; }
.bf-msg.error { background: rgba(255, 71, 87, 0.1); color: #ff4757; border-color: #ff4757; }

.bf-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
@media (max-width: 900px) { .bf-grid { grid-template-columns: 1fr; } }

.bf-panel { background: #1c2128; border: 1px solid var(--border); border-radius: 8px; padding: 25px; margin-bottom: 20px; position: relative; overflow: hidden; }
.bf-panel::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: rgba(255,255,255,0.1); }
.bf-panel-title { font-size: 1rem; color: #fff; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px dashed rgba(255,255,255,0.1); padding-bottom: 10px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }

.bf-panel-hazard { background: repeating-linear-gradient(45deg, rgba(239, 68, 68, 0.03), rgba(239, 68, 68, 0.03) 10px, transparent 10px, transparent 20px), #1c2128; border-color: rgba(239, 68, 68, 0.3); }
.bf-panel-hazard::before { background: var(--red); }
.hazard-text { color: var(--red); }
.bf-note { font-size: 0.9rem; color: #8b949e; line-height: 1.6; margin-bottom: 20px; }
.bf-price-tag { font-size: 1.5rem; color: var(--gold); font-family: 'Courier Prime', monospace; font-weight: bold; margin-bottom: 20px; background: rgba(0,0,0,0.3); padding: 15px; border-radius: 6px; text-align: center; }

.bf-panel-gold { border-color: rgba(215, 172, 85, 0.3); }
.bf-panel-gold::before { background: var(--gold); }
.gold-text { color: var(--gold); }

.bf-form-group { margin-bottom: 20px; }
.bf-form-group label { display: block; font-size: 0.8rem; color: var(--muted); text-transform: uppercase; margin-bottom: 8px; letter-spacing: 1px; }
.bf-admin-form label { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 5px; }
.bf-admin-form { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.bf-admin-form:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

.bf-input-grp { display: flex; gap: 10px; }
.bf-input { flex: 1; background: #0d1117; border: 1px solid var(--border); color: #fff; padding: 12px 15px; border-radius: 4px; font-family: 'Courier Prime', monospace; font-size: 1.1rem; }
.bf-input:focus { border-color: var(--gold); outline: none; }

.bf-btn { padding: 12px 20px; border: none; border-radius: 4px; font-weight: bold; cursor: pointer; text-transform: uppercase; letter-spacing: 1px; transition: 0.2s; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.bf-btn-primary { background: var(--gold); color: #000; width: 100%; font-size: 1rem; }
.bf-btn-primary:hover { background: #e0b455; }
.bf-btn-secondary { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid var(--border); }
.bf-btn-secondary:hover { background: rgba(255,255,255,0.2); }
.bf-btn-danger { background: rgba(239, 68, 68, 0.15); color: #ef4444; border: 1px solid #ef4444; }
.bf-btn-danger:hover { background: #ef4444; color: #fff; }

.bf-cost-display { display: flex; justify-content: space-between; align-items: center; background: rgba(0,0,0,0.3); padding: 15px; border-radius: 6px; margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.05); }
.bf-cost-display span:first-child { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; }
.bf-cost-display span:last-child { color: var(--gold); font-family: 'Courier Prime', monospace; font-size: 1.3rem; font-weight: bold; }

.bf-rate-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.bf-rate-row:last-child { border-bottom: none; }
.bf-rate-row span:first-child { color: var(--muted); }
.bf-val-green { color: #56d364; font-family: 'Courier Prime', monospace; }
.bf-val-red { color: #f85149; font-family: 'Courier Prime', monospace; }

.bf-vault-display { background: rgba(0,0,0,0.3); border-radius: 6px; padding: 20px; text-align: center; margin-bottom: 25px; border: 1px solid rgba(255,255,255,0.05); }
.bf-vault-lbl { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.bf-vault-val { font-size: 1.8rem; color: #56d364; font-family: 'Courier Prime', monospace; font-weight: bold; }
/* --- HOSPITAL (DR MORETTI - LUXURY CLINIC) --- */
.hosp-app { padding: 40px 20px; background: radial-gradient(circle at center, #111 0%, #000 100%); min-height: 100vh; }
.hosp-container { max-width: 650px; margin: 0 auto; }
.hosp-header { text-align: center; margin-bottom: 40px; position: relative; }
.hosp-header::after { content: ''; display: block; width: 60px; height: 2px; background: var(--gold); margin: 20px auto 0; }
.hosp-icon { font-size: 3rem; color: var(--gold); margin-bottom: 15px; }
.hosp-header h1 { color: var(--gold); margin: 0; font-size: 2.8rem; font-family: 'Playfair Display', serif; font-weight: normal; letter-spacing: 2px; }
.hosp-subtitle { color: #888; font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 4px; font-size: 0.8rem; margin-top: 10px; }

.hosp-msg { padding: 15px; border-radius: 4px; text-align: center; margin-bottom: 30px; font-family: 'Inter', sans-serif; font-size: 0.9rem; letter-spacing: 1px; }
.hosp-msg.info { background: rgba(212, 175, 55, 0.05); color: var(--gold); border: 1px solid rgba(212, 175, 55, 0.2); }
.hosp-msg.error { background: rgba(255, 51, 51, 0.05); color: #ff3333; border: 1px solid rgba(255, 51, 51, 0.2); }
.hosp-msg.success { background: rgba(51, 204, 51, 0.05); color: #33cc33; border: 1px solid rgba(51, 204, 51, 0.2); }
.hosp-msg.warning { background: rgba(212, 175, 55, 0.05); color: var(--gold); border: 1px solid rgba(212, 175, 55, 0.2); }

.hosp-panel { background: rgba(15, 15, 15, 0.8); border: 1px solid rgba(212, 175, 55, 0.15); border-radius: 2px; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); position: relative; }
.hosp-panel::before { content: ''; position: absolute; top: 4px; left: 4px; right: 4px; bottom: 4px; border: 1px solid rgba(212, 175, 55, 0.05); pointer-events: none; }
.hosp-panel-title { margin: 0 0 30px 0; color: #fff; font-family: 'Playfair Display', serif; font-size: 1.4rem; display: flex; justify-content: space-between; align-items: baseline; }
.hosp-panel-title i { color: var(--gold); margin-right: 10px; }
.hosp-date { font-family: 'Inter', sans-serif; font-size: 0.75rem; color: #666; text-transform: uppercase; letter-spacing: 2px; }

.hosp-gauge-wrap { text-align: center; margin-bottom: 40px; }
.hosp-gauge { font-size: 5rem; font-family: 'Playfair Display', serif; line-height: 1; margin-bottom: 10px; transition: color 0.5s ease; }
.hosp-gauge-lbl { font-family: 'Inter', sans-serif; font-size: 0.75rem; text-transform: uppercase; color: #888; letter-spacing: 3px; margin-bottom: 15px; }
.hosp-badge { color: #000; font-family: 'Inter', sans-serif; font-weight: 600; padding: 6px 20px; border-radius: 20px; display: inline-block; text-transform: uppercase; letter-spacing: 2px; font-size: 0.75rem; }

.hosp-stats { display: flex; gap: 20px; margin-bottom: 40px; }
.hosp-vital-card { flex: 1; background: rgba(255,255,255,0.02); padding: 25px 20px; text-align: center; border: 1px solid rgba(255,255,255,0.05); }
.hosp-vital-lbl { color: #888; font-family: 'Inter', sans-serif; font-size: 0.7rem; text-transform: uppercase; margin-bottom: 10px; letter-spacing: 2px; }
.hosp-vital-val { color: #fff; font-size: 1.4rem; font-family: 'Playfair Display', serif; }
@keyframes hosp-pulse-anim { 0% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.1); opacity: 1; } 100% { transform: scale(1); opacity: 0.8; } }
.hosp-pulse { color: var(--gold); animation: hosp-pulse-anim 2s infinite ease-in-out; margin-right: 8px; font-size: 1rem; }

.hosp-treatment { background: rgba(212, 175, 55, 0.03); border: 1px solid rgba(212, 175, 55, 0.2); padding: 30px; }
.hosp-treatment h4 { margin: 0 0 20px 0; color: var(--gold); font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: normal; }
.hosp-cooldown { text-align: center; padding: 20px; }
.hosp-cooldown-lbl { font-size: 0.75rem; color: #888; font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; }
.hosp-cooldown-val { font-size: 2rem; font-family: 'Playfair Display', serif; color: #fff; }

.hosp-invoice-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-family: 'Inter', sans-serif; font-size: 0.85rem; letter-spacing: 1px; }
.hosp-invoice-row span { color: #aaa; text-transform: uppercase; }
.hosp-invoice-row strong { color: #fff; }
.hosp-invoice-row.discount { border-bottom: none; }
.hosp-invoice-row.discount span { color: var(--gold); }
.hosp-invoice-row.discount strong { color: var(--gold); }

.hosp-btn { width: 100%; justify-content: center; background: var(--gold); color: #000; border: none; font-size: 0.9rem; padding: 18px; cursor: pointer; font-family: 'Inter', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; transition: all 0.3s ease; margin-top: 20px; display: inline-flex; align-items: center; gap: 12px; }
.hosp-btn:hover:not(:disabled) { background: #fff; box-shadow: 0 0 15px rgba(255,255,255,0.3); }
.hosp-btn:disabled { background: #333; color: #666; cursor: not-allowed; }

.hosp-healthy { text-align: center; padding: 40px; color: var(--gold); font-family: 'Playfair Display', serif; font-size: 1.2rem; font-style: italic; }
.hosp-healthy i { font-size: 2.5rem; margin-bottom: 20px; color: rgba(212, 175, 55, 0.5); }

.hosp-signature { text-align: right; margin-top: 50px; }
.hosp-sign-name { font-family: 'Brush Script MT', 'Dancing Script', cursive, serif; font-size: 2.5rem; color: var(--gold); opacity: 0.9; transform: rotate(-3deg); display: inline-block; margin-bottom: 5px; }
.hosp-sign-title { font-size: 0.65rem; text-transform: uppercase; color: #666; font-family: 'Inter', sans-serif; letter-spacing: 3px; }

.hosp-footer { text-align: center; margin-top: 40px; }
.hosp-btn-outline { display: inline-flex; align-items: center; gap: 10px; padding: 12px 30px; border: 1px solid rgba(255,255,255,0.1); color: #888; text-decoration: none; text-transform: uppercase; letter-spacing: 2px; font-size: 0.75rem; font-family: 'Inter', sans-serif; transition: 0.3s ease; }
.hosp-btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* --- POSTAL DISPATCH (MESSAGES) --- */
.msg-app { padding: 30px 20px; max-width: 1200px; margin: 0 auto; }
.msg-header { text-align: center; margin-bottom: 30px; position: relative; }
.msg-header h1 { color: #fff; margin: 0; font-size: 2.2rem; font-family: "Playfair Display", serif; font-weight: normal; letter-spacing: 1px; }
.msg-header h1 span { color: var(--gold); }
.msg-header i { color: var(--gold); opacity: 0.5; margin-left: 10px; }

.msg-alert { padding: 15px; border-radius: 4px; text-align: center; margin-bottom: 20px; font-family: "Inter", sans-serif; font-size: 0.9rem; }
.msg-alert.success { background: rgba(51, 204, 51, 0.05); color: #33cc33; border: 1px solid rgba(51, 204, 51, 0.2); }
.msg-alert.error { background: rgba(255, 51, 51, 0.05); color: #ff3333; border: 1px solid rgba(255, 51, 51, 0.2); }

.msg-layout { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 900px) { .msg-layout { grid-template-columns: 280px 1fr; } }

/* Sidebar */
.msg-sidebar { background: rgba(15, 15, 15, 0.8); border: 1px solid rgba(255,255,255,0.05); border-radius: 4px; padding: 20px; height: fit-content; }
.msg-sidebar-title { font-family: "Inter", sans-serif; font-size: 0.75rem; color: #888; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); }

.msg-nav { display: flex; flex-direction: column; gap: 5px; }
.msg-nav-btn { display: flex; align-items: center; gap: 12px; padding: 12px 15px; color: #aaa; text-decoration: none; border-radius: 4px; font-family: "Inter", sans-serif; font-size: 0.9rem; transition: 0.2s; border: 1px solid transparent; }
.msg-nav-btn i { width: 20px; text-align: center; color: #666; transition: 0.2s; }
.msg-nav-btn:hover { background: rgba(255,255,255,0.03); color: #fff; }
.msg-nav-btn:hover i { color: var(--gold); }
.msg-nav-btn.active { background: rgba(212, 175, 55, 0.1); color: var(--gold); border: 1px solid rgba(212, 175, 55, 0.2); }
.msg-nav-btn.active i { color: var(--gold); }

.msg-routing { margin-top: 25px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); }
.msg-routing-lbl { font-family: "Inter", sans-serif; font-size: 0.7rem; color: #666; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 5px; }
.msg-routing-val { color: var(--gold); font-family: "Courier Prime", monospace; font-size: 1.1rem; }

/* Main Content */
.msg-main { background: rgba(15, 15, 15, 0.8); border: 1px solid rgba(255,255,255,0.05); border-radius: 4px; padding: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.msg-main-title { color: var(--gold); margin-top: 0; margin-bottom: 25px; border-bottom: 1px solid rgba(212, 175, 55, 0.2); padding-bottom: 15px; font-family: "Playfair Display", serif; font-size: 1.5rem; font-weight: normal; }

/* Empty State */
.msg-empty { text-align: center; padding: 60px 20px; color: #666; }
.msg-empty i { font-size: 3rem; margin-bottom: 20px; opacity: 0.3; }
.msg-empty p { font-family: "Inter", sans-serif; font-size: 1rem; margin: 0; }

/* Message List */
.msg-list { display: flex; flex-direction: column; gap: 10px; }
.msg-item { display: flex; justify-content: space-between; align-items: stretch; background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.05); border-radius: 4px; transition: 0.2s; }
.msg-item:hover { background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.1); }
.msg-item.unread { background: rgba(212, 175, 55, 0.05); border: 1px solid rgba(212, 175, 55, 0.2); border-left: 4px solid var(--gold); }
.msg-item.unread:hover { background: rgba(212, 175, 55, 0.08); }

.msg-item-link { display: flex; align-items: center; gap: 15px; flex: 1; padding: 15px; text-decoration: none; color: inherit; }
.msg-item-icon { width: 40px; text-align: center; }
.msg-item.read .msg-item-icon i { color: #555; font-size: 1.2rem; }
.msg-item.unread .msg-item-icon i { color: var(--gold); font-size: 1.2rem; }

.msg-item-content { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.msg-item-top { display: flex; justify-content: space-between; align-items: baseline; }
.msg-item-sender { font-family: "Inter", sans-serif; font-size: 1rem; color: #ccc; }
.msg-item.unread .msg-item-sender { color: #fff; font-weight: bold; }
.msg-item-time { font-family: "Courier Prime", monospace; font-size: 0.8rem; color: #666; }

.msg-item-subject { color: #888; font-family: "Inter", sans-serif; font-size: 0.9rem; }
.msg-item.unread .msg-item-subject { color: var(--gold); font-weight: 500; }

.msg-item-delete { display: flex; align-items: center; padding: 0 15px; border-left: 1px solid rgba(255,255,255,0.05); }
.msg-btn-danger { background: rgba(255, 51, 51, 0.1); color: #ff3333; border: 1px solid #ff3333; padding: 8px 12px; border-radius: 4px; cursor: pointer; transition: 0.2s; }
.msg-btn-danger:hover { background: #ff3333; color: #fff; }

/* Pagination */
.msg-pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); }
.msg-btn-outline { padding: 8px 16px; border: 1px solid rgba(255,255,255,0.1); color: #aaa; text-decoration: none; border-radius: 4px; font-family: "Inter", sans-serif; font-size: 0.85rem; transition: 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.msg-btn-outline:hover:not(.disabled) { background: rgba(255,255,255,0.05); color: #fff; border-color: rgba(255,255,255,0.2); }
.msg-btn-outline.disabled { pointer-events: none; opacity: 0.3; }
.msg-page-info { font-family: "Inter", sans-serif; font-size: 0.8rem; color: #666; text-transform: uppercase; letter-spacing: 1px; }

/* Reader View */
.msg-reader { background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.05); border-radius: 4px; padding: 30px; }
.msg-reader-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 20px; }
.msg-reader-subject { margin: 0; color: #fff; font-family: "Playfair Display", serif; font-size: 1.6rem; font-weight: normal; }
.msg-badge { background: rgba(212, 175, 55, 0.1); color: var(--gold); border: 1px solid rgba(212, 175, 55, 0.3); padding: 4px 10px; font-family: "Inter", sans-serif; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; border-radius: 20px; }

.msg-reader-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 30px; padding: 20px; background: rgba(255,255,255,0.02); border-radius: 4px; border: 1px solid rgba(255,255,255,0.02); }
.msg-meta-lbl { font-size: 0.7rem; color: #666; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 5px; font-family: "Inter", sans-serif; }
.msg-meta-val { color: var(--gold); font-family: "Courier Prime", monospace; font-size: 1.1rem; }

.msg-reader-body { color: #ccc; line-height: 1.8; margin-bottom: 40px; white-space: pre-wrap; font-family: "Inter", sans-serif; font-size: 1.05rem; }

.msg-reader-actions { display: flex; gap: 15px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 25px; }
.msg-reader-actions form { flex: 1; min-width: 150px; }
.msg-btn-full { width: 100%; }

/* =========================================================================
   WITNESS INTEL (PRIVATE DETECTIVE AGENCY) (.wit-)
   ========================================================================= */
.wit-app {
    max-width: 900px;
    margin: 30px auto;
    font-family: var(--font-main);
    color: var(--text-main);
}
.wit-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(180deg, rgba(30,30,30,0.8) 0%, rgba(15,15,15,0.9) 100%);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.wit-header i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(212,175,55,0.3);
}
.wit-header h1 {
    font-size: 1.8rem;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.wit-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 5px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.wit-alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
    border-left: 4px solid transparent;
}
.wit-alert.success {
    background: rgba(46, 204, 113, 0.1);
    color: var(--green-palm);
    border-left-color: var(--green-palm);
}
.wit-alert.error {
    background: rgba(255, 56, 96, 0.1);
    color: var(--red-neon);
    border-left-color: var(--red-neon);
}
.wit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 768px) {
    .wit-grid {
        grid-template-columns: 1fr;
    }
}
.wit-panel {
    background: var(--bg-panel);
    border: 1px solid var(--border-dark);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
.wit-panel-danger {
    border-color: rgba(255, 56, 96, 0.3);
}
.wit-panel-danger .wit-panel-header {
    border-bottom-color: rgba(255, 56, 96, 0.3);
}
.wit-panel-danger .wit-panel-header h3 {
    color: var(--red-neon);
}
.wit-panel-header {
    background: rgba(0,0,0,0.3);
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-dark);
}
.wit-panel-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.wit-panel-body {
    padding: 20px;
}
.wit-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 20px 0;
}
.wit-search-form {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}
.wit-form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.wit-form-group label {
    font-size: 0.75rem;
    color: var(--gold);
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: bold;
}
.wit-input {
    width: 100%;
    padding: 12px;
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--border-dark);
    border-radius: 4px;
    color: #fff;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}
.wit-input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 8px rgba(212,175,55,0.3);
}
.wit-btn {
    padding: 12px 20px;
    border-radius: 4px;
    font-family: var(--font-main);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.wit-btn-primary {
    background: var(--gold);
    color: #000;
}
.wit-btn-primary:hover {
    background: #e6c200;
    box-shadow: 0 0 15px rgba(212,175,55,0.4);
}
.wit-btn-outline {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
}
.wit-btn-outline:hover {
    background: rgba(212,175,55,0.1);
}
.wit-btn-danger {
    background: rgba(255, 56, 96, 0.1);
    border: 1px solid var(--red-neon);
    color: var(--red-neon);
}
.wit-btn-danger:hover {
    background: var(--red-neon);
    color: #fff;
    box-shadow: 0 0 15px rgba(255,56,96,0.4);
}
.wit-result {
    margin-top: 20px;
    padding: 15px;
    background: rgba(212,175,55,0.05);
    border: 1px solid var(--gold);
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.wit-result-id {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.wit-result h4 {
    margin: 5px 0;
    color: #fff;
    font-size: 1.1rem;
}
.wit-result-price {
    font-family: var(--font-stats);
    color: var(--green-palm);
    font-size: 0.9rem;
}
.wit-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}
.wit-empty i {
    font-size: 2rem;
    margin-bottom: 15px;
    opacity: 0.5;
}
.wit-table {
    width: 100%;
    border-collapse: collapse;
}
.wit-table th {
    text-align: left;
    padding: 10px;
    border-bottom: 1px solid var(--border-dark);
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
}
.wit-table td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    vertical-align: middle;
}
.wit-table tr:last-child td {
    border-bottom: none;
}
.wit-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 3px;
}
.wit-dmg {
    color: var(--red-neon);
    font-size: 0.85rem;
    font-family: var(--font-stats);
}
.wit-muted {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.msg-btn { width: 100%; padding: 15px; border: none; border-radius: 4px; font-family: "Inter", sans-serif; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; cursor: pointer; transition: 0.3s ease; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; }
.msg-btn-primary { background: var(--gold); color: #000; }
.msg-btn-primary:hover { background: #fff; box-shadow: 0 0 15px rgba(255,255,255,0.2); }

/* Compose Form */
.msg-compose { background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.05); border-radius: 4px; padding: 30px; }
.msg-form-group { margin-bottom: 25px; }
.msg-form-group label { display: block; font-family: "Inter", sans-serif; font-size: 0.8rem; color: #888; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
.msg-input { width: 100%; background: #0a0a0a; border: 1px solid rgba(255,255,255,0.1); color: #fff; padding: 15px; border-radius: 4px; font-family: "Inter", sans-serif; font-size: 1rem; transition: 0.2s; }
.msg-input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 10px rgba(212, 175, 55, 0.1); }
.msg-textarea { resize: vertical; min-height: 200px; font-family: "Inter", sans-serif; line-height: 1.6; }

/* =========================================================================
   SUGGESTIONS / THE COMMISSION (.com-)
   ========================================================================= */
.com-app {
    max-width: 1000px;
    margin: 30px auto;
    font-family: var(--font-main);
    color: var(--text-main);
}
.com-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 20px;
    background: linear-gradient(180deg, rgba(30,10,10,0.8) 0%, rgba(15,0,0,0.9) 100%);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.7);
    position: relative;
    overflow: hidden;
}
.com-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.com-header i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(212,175,55,0.4);
}
.com-header h1 {
    font-size: 2.2rem;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Playfair Display', serif;
}
.com-header p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 10px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.com-alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
    border-left: 4px solid transparent;
}
.com-alert.success {
    background: rgba(46, 204, 113, 0.1);
    color: var(--green-palm);
    border-left-color: var(--green-palm);
}
.com-alert.error {
    background: rgba(255, 56, 96, 0.1);
    color: var(--red-neon);
    border-left-color: var(--red-neon);
}
.com-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}
@media (max-width: 900px) {
    .com-grid {
        grid-template-columns: 1fr;
    }
}
.com-panel {
    background: var(--bg-panel);
    border: 1px solid var(--border-dark);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
.com-panel-gold {
    border-color: rgba(212,175,55,0.3);
}
.com-panel-gold .com-panel-header {
    border-bottom-color: rgba(212,175,55,0.3);
    background: rgba(212,175,55,0.05);
}
.com-panel-header {
    background: rgba(0,0,0,0.4);
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-dark);
}
.com-panel-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.com-panel-body {
    padding: 20px;
}
.com-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 20px 0;
}
.com-empty {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-muted);
}
.com-empty i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.3;
}
.com-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.com-card {
    display: flex;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-dark);
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.com-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    border-color: rgba(255,255,255,0.1);
}
.com-card-votes {
    padding: 15px;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border-dark);
    min-width: 70px;
}
.com-card-votes form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.com-vote-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}
.com-vote-btn:hover { color: #fff; }
.com-vote-btn.active.up { color: var(--green-palm); text-shadow: 0 0 10px rgba(46,204,113,0.4); }
.com-vote-btn.active.down { color: var(--red-neon); text-shadow: 0 0 10px rgba(255,56,96,0.4); }
.com-vote-score {
    font-size: 1.1rem;
    font-weight: bold;
    font-family: var(--font-stats);
}
.com-card-content {
    padding: 15px 20px;
    flex: 1;
}
.com-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 8px;
}
.com-author {
    color: var(--gold);
    font-weight: bold;
}
.com-card-title {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: #fff;
}
.com-card-desc {
    margin: 0;
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.5;
}
.com-form-group {
    margin-bottom: 20px;
}
.com-form-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--gold);
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}
.com-input, .com-textarea {
    width: 100%;
    padding: 12px;
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--border-dark);
    border-radius: 4px;
    color: #fff;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.com-textarea {
    min-height: 150px;
    resize: vertical;
}
.com-input:focus, .com-textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 8px rgba(212,175,55,0.2);
}
.com-btn {
    padding: 15px 20px;
    border-radius: 4px;
    font-family: var(--font-main);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.com-btn-primary {
    background: var(--gold);
    color: #000;
}
.com-btn-primary:hover {
    background: #e6c200;
    box-shadow: 0 0 15px rgba(212,175,55,0.4);
}
.com-btn-full {
    width: 100%;
}

/* =========================================================================
   REPORT SYSTEM / INTERNAL AFFAIRS (.rep-)
   ========================================================================= */
.rep-app {
    max-width: 1000px;
    margin: 30px auto;
    font-family: var(--font-main);
    color: var(--text-main);
}
.rep-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px 20px;
    background: linear-gradient(180deg, rgba(20,0,0,0.8) 0%, rgba(10,0,0,0.9) 100%);
    border: 1px solid var(--red-neon);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.7), inset 0 0 20px rgba(255,56,96,0.1);
    position: relative;
    overflow: hidden;
}
.rep-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--red-neon), transparent);
}
.rep-header i {
    font-size: 3rem;
    color: var(--red-neon);
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(255,56,96,0.4);
}
.rep-header h1 {
    font-size: 2.2rem;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Special Elite', cursive, sans-serif;
}
.rep-header p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 10px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.rep-alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
    border-left: 4px solid transparent;
}
.rep-alert.success {
    background: rgba(46, 204, 113, 0.1);
    color: var(--green-palm);
    border-left-color: var(--green-palm);
}
.rep-alert.error {
    background: rgba(255, 56, 96, 0.1);
    color: var(--red-neon);
    border-left-color: var(--red-neon);
}
.rep-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 20px;
}
@media (max-width: 900px) {
    .rep-grid {
        grid-template-columns: 1fr;
    }
}
.rep-panel {
    background: var(--bg-panel);
    border: 1px solid var(--border-dark);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
.rep-panel-danger {
    border-color: rgba(255,56,96,0.3);
}
.rep-panel-danger .rep-panel-header {
    border-bottom-color: rgba(255,56,96,0.3);
    background: rgba(255,56,96,0.05);
}
.rep-panel-danger .rep-panel-header h3 {
    color: var(--red-neon);
}
.rep-panel-header {
    background: rgba(0,0,0,0.4);
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-dark);
}
.rep-panel-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.rep-panel-body {
    padding: 20px;
}
.rep-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 20px 0;
}
.rep-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}
.rep-empty i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.3;
}
.rep-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.rep-card {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-dark);
    border-radius: 4px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rep-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 8px;
}
.rep-target {
    color: var(--red-neon);
    font-weight: bold;
}
.rep-card-reason {
    font-size: 1rem;
    color: #fff;
    font-weight: bold;
}
.rep-status {
    font-size: 0.85rem;
    padding: 5px 10px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
}
.rep-status.pending {
    background: rgba(241,196,15,0.1);
    color: #f1c40f;
    border: 1px solid rgba(241,196,15,0.2);
}
.rep-status.resolved {
    background: rgba(46,204,113,0.1);
    color: var(--green-palm);
    border: 1px solid rgba(46,204,113,0.2);
}
.rep-note {
    background: rgba(255,255,255,0.05);
    border-left: 3px solid var(--green-palm);
    padding: 10px;
    font-size: 0.85rem;
    color: #ccc;
    border-radius: 0 4px 4px 0;
    margin-top: 5px;
}
.rep-form-group {
    margin-bottom: 20px;
}
.rep-form-group label {
    display: block;
    font-size: 0.8rem;
    color: #ccc;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}
.rep-input, .rep-textarea {
    width: 100%;
    padding: 12px;
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--border-dark);
    border-radius: 4px;
    color: #fff;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}
.rep-textarea {
    min-height: 150px;
    resize: vertical;
}
.rep-input:focus, .rep-textarea:focus {
    outline: none;
    border-color: var(--red-neon);
    box-shadow: 0 0 8px rgba(255,56,96,0.2);
}
.rep-btn {
    padding: 15px 20px;
    border-radius: 4px;
    font-family: var(--font-main);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.rep-btn-danger {
    background: rgba(255, 56, 96, 0.1);
    border: 1px solid var(--red-neon);
    color: var(--red-neon);
}
.rep-btn-danger:hover {
    background: var(--red-neon);
    color: #fff;
    box-shadow: 0 0 15px rgba(255,56,96,0.4);
}
.rep-btn-full {
    width: 100%;
}

/* =========================================================================
   WALL OF SHAME (.shame-)
   ========================================================================= */
.shame-app {
    max-width: 1100px;
    margin: 30px auto;
    font-family: var(--font-main);
}
.shame-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
    background: linear-gradient(to bottom, #151515, #050505);
    border: 1px solid var(--border-dark);
    border-bottom: 4px solid var(--gold);
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-radius: 8px;
}
.shame-header i {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(255,215,0,0.2);
}
.shame-header h1 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin: 0 0 15px 0;
}
.shame-header-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    gap: 15px;
    letter-spacing: 2px;
}
.shame-admin-link {
    position: absolute;
    top: 20px; left: 20px;
    color: var(--gold-d);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: color 0.3s;
}
.shame-admin-link:hover {
    color: var(--gold);
}
.shame-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}
@media(max-width: 900px) {
    .shame-grid {
        grid-template-columns: 1fr;
    }
}
.shame-headline {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--gold);
    border-bottom: 1px solid rgba(255,215,0,0.3);
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.shame-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.shame-card {
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border: 1px solid var(--border-dark);
    border-left: 4px solid var(--gold);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s, border-color 0.3s;
    border-radius: 6px;
}
.shame-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,215,0,0.3);
    background: linear-gradient(145deg, #1f1f1f, #0f0f0f);
}
.shame-card-icon {
    font-size: 2.5rem;
    color: var(--gold);
    opacity: 0.7;
}
.shame-card-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.shame-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
    font-family: 'Cinzel', serif;
}
.shame-reason {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.shame-date {
    font-size: 0.8rem;
    color: #888;
}
.shame-empty {
    grid-column: 1/-1;
    text-align: center;
    padding: 50px;
    color: var(--text-muted);
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    border: 1px dashed var(--border-dark);
}
.shame-empty i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.2;
}
.shame-appeal-box {
    background: var(--bg-panel);
    border: 1px solid var(--border-dark);
    padding: 30px;
    position: sticky;
    top: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.shame-appeal-box h2 {
    font-size: 1.4rem;
    color: var(--gold);
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,215,0,0.2);
    padding-bottom: 10px;
    font-family: 'Cinzel', serif;
}
.shame-alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
}
.shame-alert.success { background: rgba(46,204,113,0.1); color: var(--green-palm); border: 1px solid var(--green-palm); }
.shame-alert.error { background: rgba(255,56,96,0.1); color: var(--red-neon); border: 1px solid var(--red-neon); }
.shame-desc {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
}
.shame-textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--border-dark);
    color: #fff;
    margin-bottom: 20px;
    font-family: var(--font-main);
    resize: vertical;
    border-radius: 4px;
}
.shame-textarea:focus {
    outline: none;
    border-color: var(--gold);
}
.shame-btn {
    width: 100%;
    padding: 15px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    border-radius: 4px;
    letter-spacing: 2px;
}
.shame-btn-danger {
    background: rgba(255,215,0,0.1);
    color: var(--gold);
    border: 1px solid var(--gold);
}
.shame-btn-danger:hover {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 15px rgba(255,215,0,0.4);
}
.shame-intact, .shame-not-logged {
    text-align: center;
    padding: 30px 10px;
    color: var(--text-muted);
}
.shame-intact i, .shame-not-logged i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    opacity: 0.5;
    color: var(--gold);
}
.shame-footer-note {
    margin-top: 30px;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.5;
    letter-spacing: 1px;
}

/* =========================================================================
   THE EXCHANGE (.exch-)
   ========================================================================= */
.exch-app {
    max-width: 1200px;
    margin: 30px auto;
    font-family: var(--font-main);
}
.exch-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #050505 0%, #0a0a0a 100%);
    border: 1px solid var(--border-dark);
    border-bottom: 3px solid var(--gold);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.exch-header::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('../img/grid-pattern.png');
    opacity: 0.05;
    pointer-events: none;
}
.exch-header i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 15px;
}
.exch-header h1 {
    font-size: 2.5rem;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.exch-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 10px;
}
.exch-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
}
.exch-stat-box {
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 15px 30px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.exch-stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.exch-stat-value {
    font-size: 1.5rem;
    color: #fff;
    font-weight: bold;
}
.exch-stat-value.cash {
    color: var(--green-palm);
}
.exch-layout {
    display: flex;
    gap: 30px;
}
@media (max-width: 900px) {
    .exch-layout {
        flex-direction: column;
    }
}
.exch-sidebar {
    flex: 0 0 250px;
    background: var(--bg-panel);
    border: 1px solid var(--border-dark);
    padding: 20px 0;
    border-radius: 6px;
    height: fit-content;
    position: sticky;
    top: 20px;
}
.exch-side-title {
    padding: 0 20px 15px 20px;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--border-dark);
    margin-bottom: 10px;
}
.exch-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}
.exch-nav-item {
    padding: 12px 20px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 3px solid transparent;
}
.exch-nav-item:hover, .exch-nav-item.active {
    background: rgba(255,255,255,0.03);
    color: #fff;
}
.exch-nav-item.active {
    border-left-color: var(--gold);
}
.exch-main {
    flex: 1;
}
.exch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.exch-card {
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}
.exch-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,215,0,0.3);
}
.exch-card-cat {
    position: absolute;
    top: 15px; right: 15px;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.exch-card-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.exch-card-icon {
    font-size: 2.5rem;
    color: var(--text-muted);
}
.exch-card-cost {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin-left: auto;
    font-family: 'Playfair Display', serif;
}
.exch-card-title {
    font-size: 1.3rem;
    color: var(--gold);
    margin: 0 0 10px 0;
}
.exch-card-desc {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0 0 20px 0;
    flex: 1;
}
.exch-card-benefit {
    font-size: 0.85rem;
    color: var(--green-palm);
    background: rgba(46,204,113,0.1);
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.exch-btn {
    width: 100%;
    padding: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}
.exch-btn-primary {
    background: rgba(255,215,0,0.1);
    color: var(--gold);
    border: 1px solid var(--gold);
}
.exch-btn-primary:hover:not(:disabled) {
    background: var(--gold);
    color: #000;
    box-shadow: 0 0 15px rgba(255,215,0,0.3);
}
.exch-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.exch-footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-dark);
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 2px;
}
.exch-footer i {
    margin-bottom: 10px;
    opacity: 0.5;
}

/* =========================================================================
   ROYAL CASINO (.cas-)
   ========================================================================= */
.cas-app {
    max-width: 1200px;
    margin: 30px auto;
}
.cas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #1a0000, #0a0a0a);
    border: 1px solid var(--border-dark);
    border-bottom: 2px solid var(--red-neon);
    padding: 30px 40px;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}
.cas-brand h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--gold);
    margin: 0 0 5px 0;
    text-shadow: 0 2px 10px rgba(255,215,0,0.2);
}
.cas-brand p {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin: 0;
}
.cas-cash-pill {
    background: rgba(0,0,0,0.6);
    border: 1px solid var(--border-dark);
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--green-palm);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
}
.cas-lobby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.cas-tile {
    background: linear-gradient(180deg, #151515, #0a0a0a);
    border: 1px solid var(--border-dark);
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    overflow: hidden;
}
.cas-tile::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gold);
    opacity: 0;
    transition: opacity 0.3s;
}
.cas-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-color: rgba(255,215,0,0.3);
}
.cas-tile:hover::before {
    opacity: 1;
}
.cas-tile-icon {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255,215,0,0.2);
    transition: transform 0.5s ease;
}
.cas-tile:hover .cas-tile-icon {
    transform: scale(1.1);
}
.cas-tile-title {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: #fff;
    margin: 0 0 10px 0;
}
.cas-tile-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Casino Stage (Modal) */
.cas-stage-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: none;
}
.cas-stage-container {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    background: var(--bg-panel);
    border: 1px solid var(--gold);
    border-radius: 8px;
    z-index: 1001;
    display: none;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}
.cas-stage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255,215,0,0.2);
    background: rgba(0,0,0,0.5);
}
.cas-stage-header h2 {
    margin: 0;
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 1.5rem;
}
.cas-btn-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}
.cas-btn-close:hover {
    color: var(--red-neon);
}
.cas-stage-content {
    padding: 40px;
    text-align: center;
}
.cas-form-group {
    margin-bottom: 25px;
    text-align: left;
}
.cas-form-group label {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.cas-input {
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--border-dark);
    color: #fff;
    font-size: 1.2rem;
    border-radius: 4px;
    text-align: center;
}
.cas-input:focus {
    outline: none;
    border-color: var(--gold);
}
.cas-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}
.cas-btn-primary {
    background: var(--gold);
    color: #000;
}
.cas-btn-primary:hover {
    box-shadow: 0 0 20px rgba(255,215,0,0.4);
    transform: scale(1.02);
}
.cas-btn-full {
    width: 100%;
}
.cas-icon-large {
    font-size: 5rem;
    color: var(--gold);
    margin-bottom: 20px;
}
.cas-desc {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 30px;
}
.cas-rps-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.cas-rps-choice {
    width: 120px;
    height: 120px;
    background: rgba(255,215,0,0.05);
    border: 1px solid rgba(255,215,0,0.3);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
}
.cas-rps-choice i {
    font-size: 3rem;
}
.cas-rps-choice:hover {
    background: rgba(255,215,0,0.2);
    transform: translateY(-5px);
}
.cas-slot-machine {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}
.cas-reel {
    width: 80px;
    height: 100px;
    background: #000;
    border: 2px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    border-radius: 8px;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.8);
}
.cas-roulette-wheel {
    font-size: 8rem;
    color: var(--red-neon);
    margin-bottom: 30px;
    animation: spin 10s linear infinite;
}
.cas-wheel-container {
    position: relative;
    margin-bottom: 30px;
}
#fortune-wheel {
    font-size: 10rem;
    color: var(--gold);
    transition: transform 4s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.cas-wheel-pointer {
    position: absolute;
    top: -20px; left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: #fff;
    z-index: 10;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* =========================================================================
   PREMIUM / VIP (.vip-)
   ========================================================================= */
.vip-app {
    max-width: 1200px;
    margin: 40px auto;
    font-family: var(--font-main);
}
.vip-header {
    text-align: center;
    margin-bottom: 50px;
}
.vip-header i {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255,215,0,0.3);
}
.vip-header h1 {
    font-family: 'Special Elite', cursive;
    font-size: 3rem;
    color: #fff;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.vip-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}
.vip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}
.vip-card {
    background: var(--bg-panel);
    border: 2px solid;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.vip-card:hover {
    transform: translateY(-10px);
}
.vip-card-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.5;
    z-index: 0;
}
.vip-card > * {
    position: relative;
    z-index: 1;
}
.vip-bonus-tag {
    position: absolute;
    top: 25px;
    right: -35px;
    background: #555;
    color: #fff;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.vip-bonus-plus {
    background: var(--red-neon);
}
.vip-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}
.vip-name {
    font-family: 'Special Elite', cursive;
    font-size: 1.5rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
.vip-desc {
    color: #aaa;
    font-size: 0.95rem;
    height: 45px;
    margin-bottom: 25px;
}
.vip-credits {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 10px;
}
.vip-credits span {
    font-size: 1rem;
    color: #888;
    font-family: var(--font-main);
    font-weight: normal;
}
.vip-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--green-palm);
    margin-bottom: 30px;
}
.vip-btn-buy {
    width: 100%;
    padding: 15px;
    background: #003087;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.vip-btn-buy:hover {
    background: #001c52;
}
.vip-info-box {
    background: rgba(0,0,0,0.3);
    border: 1px dashed var(--gold);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.vip-info-box h3 {
    color: var(--gold);
    margin: 0 0 15px 0;
    font-size: 1.3rem;
}
.vip-info-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* =========================================================================
   THE GAZZETTA OF SHAME (.gz-)
   ========================================================================= */
.gz-app {
    max-width: 1200px;
    margin: 30px auto;
    font-family: var(--font-main);
}
.gz-header {
    background: linear-gradient(to bottom, #150000, #0a0000);
    border: 1px solid var(--border-dark);
    border-bottom: 3px solid var(--mafia-red);
    padding: 40px 20px;
    text-align: center;
    position: relative;
    border-radius: 8px 8px 0 0;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}
.gz-header::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('../img/grid-pattern.png');
    opacity: 0.1;
    pointer-events: none;
}
.gz-admin-link {
    position: absolute;
    top: 20px; left: 20px;
    color: var(--gold);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: color 0.3s;
    z-index: 2;
}
.gz-admin-link:hover {
    color: #fff;
}
.gz-brand {
    position: relative;
    z-index: 2;
}
.gz-skull {
    font-size: 4rem;
    color: var(--mafia-red);
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(139,0,0,0.5);
}
.gz-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #fff;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 5px;
}
.gz-meta {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    letter-spacing: 2px;
}
.gz-dot {
    color: var(--mafia-red);
}
.gz-price {
    color: var(--gold);
    font-weight: bold;
}
.gz-layout {
    display: flex;
    gap: 30px;
}
@media (max-width: 900px) {
    .gz-layout {
        flex-direction: column;
    }
}
.gz-main {
    flex: 1;
}
.gz-sidebar {
    flex: 0 0 350px;
}
.gz-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gold);
    border-bottom: 1px solid rgba(255,215,0,0.2);
    padding-bottom: 15px;
    margin-bottom: 30px;
    margin-top: 0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 15px;
}
.gz-empty {
    text-align: center;
    padding: 60px 20px;
    background: rgba(0,0,0,0.3);
    border: 1px dashed var(--border-dark);
    border-radius: 8px;
    color: var(--text-muted);
}
.gz-empty i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.2;
}
.gz-wanted-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}
.gz-wanted-poster {
    background: #111;
    border: 1px solid #333;
    border-radius: 4px;
    position: relative;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    overflow: hidden;
    transition: transform 0.3s;
}
.gz-wanted-poster:hover {
    transform: translateY(-5px);
    border-color: var(--mafia-red);
}
.gz-poster-header {
    background: var(--mafia-red);
    color: #fff;
    text-align: center;
    padding: 15px 10px;
}
.gz-poster-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: 5px;
}
.gz-poster-header span {
    font-size: 0.75rem;
    letter-spacing: 3px;
    opacity: 0.8;
}
.gz-poster-body {
    padding: 25px 20px;
    text-align: center;
}
.gz-avatar {
    font-size: 3rem;
    color: #555;
    margin-bottom: 15px;
}
.gz-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--gold);
    font-weight: bold;
    margin-bottom: 15px;
    word-break: break-all;
}
.gz-crime {
    background: rgba(0,0,0,0.5);
    padding: 10px;
    border: 1px solid var(--border-dark);
    border-radius: 4px;
}
.gz-label {
    display: block;
    color: var(--mafia-red);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.gz-reason {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.4;
}
.gz-poster-footer {
    background: #080808;
    padding: 12px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px dashed #333;
}
.gz-appeal-box {
    background: var(--bg-panel);
    border: 1px solid var(--border-dark);
    border-top: 3px solid var(--gold);
    padding: 30px;
    border-radius: 8px;
    position: sticky;
    top: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.gz-appeal-box h2 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid rgba(255,215,0,0.2);
    padding-bottom: 15px;
}
.gz-alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}
.gz-success {
    background: rgba(46,204,113,0.1);
    color: var(--green-palm);
    border: 1px solid var(--green-palm);
}
.gz-error {
    background: rgba(255,56,96,0.1);
    color: var(--red-neon);
    border: 1px solid var(--red-neon);
}
.gz-desc {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}
.gz-textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--border-dark);
    color: #fff;
    border-radius: 4px;
    margin-bottom: 20px;
    font-family: var(--font-main);
    resize: vertical;
}
.gz-textarea:focus {
    outline: none;
    border-color: var(--gold);
}
.gz-btn {
    width: 100%;
    padding: 15px;
    background: rgba(139,0,0,0.1);
    color: var(--mafia-red);
    border: 1px solid var(--mafia-red);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.gz-btn:hover {
    background: var(--mafia-red);
    color: #fff;
    box-shadow: 0 0 15px rgba(139,0,0,0.4);
}
.gz-status {
    text-align: center;
    padding: 30px 10px;
    color: var(--text-muted);
}
.gz-status i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #555;
}
.gz-intact i {
    color: var(--gold);
    opacity: 0.7;
}
.gz-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--border-dark);
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 1px;
}
.gz-footer i {
    color: var(--mafia-red);
    margin-right: 5px;
}
