@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@600;800&family=Russo+One&display=swap');

:root {
  --gold: #f5c542;
  --gold-dark: #a8741a;
  --ink: #1d1a17;
  --paper: #f4efe4;
  --font-title: 'Russo One', 'Cairo', system-ui, sans-serif;
  --font-body: 'Cairo', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #000; overflow: hidden; font-family: var(--font-body); }

/* 720x1280 stage scaled to fit the window (portrait live). */
.stage {
  position: absolute;
  width: 720px; height: 1280px;
  left: 50%; top: 50%;
  transform-origin: 50% 50%;
  overflow: hidden;
}

/* ===== Supporter tier list (shared/tiers.js) ===== */
.tier {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  height: 62px; padding: 0 10px 0 6px; border-radius: 10px;
  background: rgba(20,28,80,.85); border: 2px solid #3a4aa8;
}
.tier__pics { display: flex; align-items: center; }
.tier__pics img { width: 46px; height: 46px; margin-right: -8px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.6)); }
.tier__icon { display: flex; align-items: center; gap: 2px; padding: 0 4px; font-size: 26px; color: #fff; }
.tier__icon small { font: 800 18px var(--font-body); color: #fff; }
.tier__icon--heart { color: #ff4f7a; }
.tier__info { text-align: right; line-height: 1.1; }
.tier__info b { display: block; font: 15px var(--font-title); color: #fff; }
.tier__info small { font: 700 14px var(--font-body); color: #8fa6ff; }
.tier--silver { border-color: #b9c4d2; } .tier--silver b { color: #e3e9f1; }
.tier--gold { border-color: var(--gold); } .tier--gold b { color: var(--gold); }
.tier--portrait { border-color: #ffb36b; } .tier--portrait b { color: #ffb36b; }
.tier--legend { border-color: #ff8ce6; box-shadow: 0 0 12px rgba(255,140,230,.5); }
.tier--legend b { color: #ff8ce6; }

.test-panel {
  position: fixed; right: 8px; top: 8px; z-index: 9999;
  display: flex; flex-direction: column; gap: 4px;
  background: rgba(0,0,0,.75); padding: 8px; border-radius: 10px;
  max-height: 96vh; overflow: auto;
}
.test-panel button {
  font: 600 13px var(--font-body); color: #fff; background: #333;
  border: 1px solid #555; border-radius: 6px; padding: 5px 10px; cursor: pointer; text-align: left;
}
.test-panel button:hover { background: #555; }

.tf-status {
  position: fixed; left: 8px; bottom: 8px; z-index: 9999;
  font: 600 12px var(--font-body); color: #fff; background: rgba(0,0,0,.6);
  padding: 3px 8px; border-radius: 6px; opacity: .8;
}
