/* bubblyslots.com shared styles: deep-navy brand palette, no external fonts or frameworks */
:root {
  --bg: #071436;
  --panel: rgba(12, 32, 84, 0.86);
  --panel-line: rgba(120, 190, 255, 0.28);
  --text: #eaf3ff;
  --muted: #a9bfe3;
  --accent: #ffc531;
  --accent-ink: #3a2400;
  --link: #7fd3ff;
  --danger: #ff6b6b;
  --ok: #5fe0a0;
  --radius: 16px;
}

* { box-sizing: border-box; }

/* 带 display 的类（如 .stack）会盖过 hidden 属性，统一兜底 */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  /* 压暗背景图里的光柱，保证页眉页脚文字对比度 */
  background:
    linear-gradient(rgba(4, 12, 40, 0.55), rgba(4, 12, 40, 0.8)) fixed,
    var(--bg) url(bg.jpg) center top / cover fixed no-repeat;
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--link); }
a:hover { color: #b5e6ff; }

.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }

.site-header { padding: 16px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-header img { height: 56px; width: auto; display: block; }
.site-header nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: 15px; }
.site-header nav a { color: var(--text); text-decoration: none; opacity: 0.85; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { opacity: 1; text-decoration: underline; }

.panel {
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-radius: var(--radius);
  padding: 24px;
  margin: 0 0 24px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

h1 { font-size: 30px; line-height: 1.25; margin: 0 0 8px; }
h2 { font-size: 21px; margin: 32px 0 8px; }
h3 { font-size: 17px; margin: 20px 0 6px; }
.panel > h2:first-child { margin-top: 0; }
p, ul, ol { margin: 0 0 12px; }
li { margin-bottom: 4px; }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.muted { color: var(--muted); }

table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 14px; }
th, td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--panel-line); }
th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }

.draft-banner {
  background: #5a3a00;
  color: #ffe2a1;
  border: 1px solid #a8761c;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  margin-bottom: 20px;
}

.notice-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.notice-list li {
  background: rgba(255, 197, 49, 0.1);
  border: 1px solid rgba(255, 197, 49, 0.45);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 600;
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #ffd666; color: var(--accent-ink); }
.btn-danger { background: var(--danger); color: #2b0000; }
.btn-light { background: #fff; color: #1f1f1f; border: 1px solid #dadce0; }
.btn-facebook { background: #1877f2; color: #fff; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }

.stack { display: grid; gap: 12px; max-width: 360px; }

.status { border-radius: 12px; padding: 12px 14px; margin: 16px 0 0; font-weight: 600; }
.status-error { background: rgba(255, 107, 107, 0.14); border: 1px solid var(--danger); color: #ffd0d0; }
.status-ok { background: rgba(95, 224, 160, 0.14); border: 1px solid var(--ok); color: #d4ffe9; }
.status-info { background: rgba(127, 211, 255, 0.12); border: 1px solid var(--link); color: #d9f2ff; }

input[type="text"] {
  width: 100%;
  max-width: 360px;
  min-height: 48px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--panel-line);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
  font: inherit;
  letter-spacing: 0.08em;
}

.hero { text-align: center; padding: 24px 0 8px; }
.hero img { width: min(280px, 72vw); height: auto; }
.hero p { font-size: 18px; color: var(--muted); max-width: 560px; margin: 12px auto 0; }

.site-footer { padding: 8px 0 32px; color: var(--muted); font-size: 14px; text-align: center; }
.site-footer nav { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 8px; }

/* 手机上三列表格改成一行一张卡：类别作标题，用途前加小标签 */
@media (max-width: 600px) {
  .stack-table thead { display: none; }
  .stack-table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--panel-line); }
  .stack-table td { display: block; border: 0; padding: 2px 0; }
  .stack-table td:first-child { font-weight: 700; color: var(--accent); }
  .stack-table td:nth-child(3)::before { content: "Why: "; color: var(--muted); font-weight: 600; }
}

@media (max-width: 480px) {
  h1 { font-size: 25px; }
  .panel { padding: 18px; }
  .site-header img { height: 44px; }
}
