/* ธีม "ดำมืด" (ผู้ใช้เลือก 22 พ.ย. 69) + หน้าตาจาก GPT (GPT/boss-cards.css, ผู้ใช้ให้ใช้ 22 พ.ย. 69)
   GPT ออกแบบบนพื้นม่วง → ที่นี่เปลี่ยนเป็นดำสนิท: การ์ดดำในกรอบทองไล่เฉด, รูปบอสในวงแหวนทอง,
   ปุ่มทองคำเปลว, ตัวเลขนับถอยหลังเรืองแสงตามสถานะ
   สี = สถานะ: --wait รอเกิด · --window อาจเกิดแล้ว · --up เกิดแล้ว
   สีทั้งหมดอยู่ที่นี่ — ไฟล์ CSS อื่นใช้แค่ตัวแปร (ยกเว้นสีแบรนด์ Discord / Google ใน account.css) */
:root {
  color-scheme: dark;

  /* page */
  --page: #07070a;
  --page-glow: rgba(240, 178, 58, 0.08);                 /* แสงเทียนด้านบน */

  /* text */
  --text: #f5efe4;
  --text-2: #c3bbcc;
  --text-3: #7e7688;
  --gold: #f3c367;
  --gold-light: #ffedbc;                                 /* ชื่อบอส, โลโก้ */

  /* lines and plain surfaces (menus, dialogs, fields) */
  --line: #2a2630;
  --line-hi: #453e4e;
  --surface: #111015;
  --surface-hi: #1a1820;
  --panel-deep: #09080c;
  --field: #0c0b10;
  --field-inset: inset 0 1px 3px rgba(0, 0, 0, 0.6);

  /* boss card: black panel inside a gold frame */
  --card-grad: linear-gradient(135deg, #18161d 0%, #0b0a0e 44%, #131118 100%);
  --frame-grad: linear-gradient(135deg, #ffe6a8, #a87a3c 7%, #3a3540 30%, #2e2a33 65%, #d9a957 94%, #fff0ba);
  --medal-bg: radial-gradient(ellipse at 40% 25%, #2a2630, #0b0a0f 72%);
  --medal-ring: conic-gradient(from 40deg, #be8743, #ffe9a4 26%, #aa7536 37%, #dbaa60 60%, #fff4c8 78%, #bd843d);
  --chip-bg: linear-gradient(145deg, #2a2630, #151318);  /* ปุ่ม ⋯, ป้าย "ยังไม่มีบันทึก" */
  --chip-edge: #4a4352;
  --fuse-track: linear-gradient(90deg, #3d3743, #8a6c45, #3d3743);

  /* "next boss" banner */
  --banner-grad: linear-gradient(115deg, #1d1812, #0b0a0e 42%, #141219);
  --banner-frame: linear-gradient(105deg, #ffe3a0, #6c6270 20%, #4a4350 70%, #fce3a4 95%, #a77d50);
  --side-grad: linear-gradient(145deg, rgba(120, 90, 50, 0.16), rgba(10, 9, 13, 0.6) 65%, rgba(120, 90, 50, 0.12));

  /* buttons */
  --gold-fill: linear-gradient(135deg, rgba(255, 255, 255, 0.09) 15%, transparent 15%),
               linear-gradient(112deg, #c38a23, #f8cb62 42%, #f6cd6d 55%, #c38a27);   /* ทองคำเปลว */
  --gold-edge: #ffe7a3 #b68435 #c39443;
  --on-gold: #332006;
  --btn-dark: linear-gradient(145deg, #2b2830, #141217 85%);
  --btn-dark-edge: #5d5566;
  --accent: #f0b23a;                                     /* focus, active tab */
  --accent-text: #f4bf55;

  /* states */
  --wait: #f2b33d;
  --window: #3ee3c6;
  --up: #ff5c61;
  --glow: 45%;                                           /* แสงรอบตัวเลขนับถอยหลัง */

  /* pop-ups */
  --shadow-pop: 0 12px 32px rgba(0, 0, 0, 0.65);
  --dialog-frame: inset 0 0 0 4px #111015, inset 0 0 0 5px #2a2630;   /* กรอบสองชั้นแบบหน้าต่างในเกม */
  --backdrop: rgba(0, 0, 0, 0.78);

  /* type and corners */
  --font-display: 'Cinzel', 'Noto Sans Thai', Georgia, serif;
  --font-body: 'Noto Sans Thai', system-ui, sans-serif;
  --radius: 8px;
  --radius-card: 14px;
}
