/* ============================================================
   Forward English — สไตล์กลาง (ฉบับยกลุค)
   โทนสีเดิมตามแบรนด์ลูกค้า: ส้ม #ff7a00 · น้ำเงินเข้ม #103b53 · Kanit
   เน้น: ตัวหนังสืออ่านง่ายขึ้น · ผิวสัมผัสมีมิติ · จังหวะการเคลื่อนไหวนุ่ม
   ============================================================ */

:root {
  /* ---- สีแบรนด์ (ไม่เปลี่ยน) ---- */
  --orange: #ff7a00;
  --orange-dark: #e56d00;
  --orange-deep: #c25c00;
  --orange-soft: #fff3e8;
  --orange-line: #ffd7b0;
  --navy: #103b53;
  --navy-2: #17506f;
  --navy-soft: #e8eff3;

  /* ---- พื้นและหมึก (เทาอมน้ำเงินให้เข้าชุดกับ navy) ---- */
  --bg: #f4f6f8;
  --bg-alt: #eaeef2;
  --card: #ffffff;
  --line: #dfe5ea;
  --line-soft: #edf1f4;
  --ink: #15212b;
  --ink-2: #4a5a67;
  --ink-3: #6d7d8a;

  /* ---- สีสถานะ ---- */
  --good: #1a8250;
  --good-soft: #e6f4ec;
  --warn: #b5760f;
  --warn-soft: #fdf3e0;
  --bad: #bb3a2b;
  --bad-soft: #fbeae7;

  /* ---- ขนาดตัวหนังสือ (ใหญ่ขึ้นทั้งชุด อ่านง่ายบนมือถือ) ---- */
  --fs-xs: 13.5px;
  --fs-sm: 15px;
  --fs-base: 16.5px;
  --fs-md: 18px;

  /* ---- ขอบมน: ไล่ระดับ ไม่เท่ากันหมด ---- */
  --r-xs: 8px;
  --r-sm: 11px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;

  /* ---- เงาไล่ระดับ ย้อมสีน้ำเงินเข้มให้เข้ากับพื้น ---- */
  --sh-1: 0 1px 2px rgba(16, 59, 83, .05);
  --sh-2: 0 1px 2px rgba(16, 59, 83, .05), 0 6px 16px -8px rgba(16, 59, 83, .16);
  --sh-3: 0 1px 3px rgba(16, 59, 83, .06), 0 14px 34px -14px rgba(16, 59, 83, .26);
  --sh-4: 0 2px 6px rgba(16, 59, 83, .07), 0 28px 60px -26px rgba(16, 59, 83, .34);
  --sh-orange: 0 10px 26px -12px rgba(255, 122, 0, .55);

  --ease: cubic-bezier(.22, .8, .3, 1);
  --z-nav: 50;
  --z-pop: 70;
  --z-grain: 90;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Kanit", -apple-system, BlinkMacSystemFont, "Leelawadee UI", "Thonburi", sans-serif;
  font-weight: 400;                 /* เดิม 300 บางเกินไปสำหรับภาษาไทย */
  font-size: var(--fs-base);
  line-height: 1.85;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
  /* คู่นี้ทำงานร่วมกับ feThaiWrap() ใน profile.js:
     keep-all = ห้ามตัดกลางคำ · ZWSP ที่แทรกไว้ = จุดที่อนุญาตให้ตัด
     break-word = ทางหนีสุดท้าย เฉพาะคำที่ยาวเกินกรอบจริงๆ */
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* เฉพาะที่ยาวติดกันจริงๆ (อีเมล/ลิงก์) ให้ตัดได้ กันล้นกรอบ */
.foot-contact a, .code, input, textarea { overflow-wrap: anywhere; }

/* ผิวสัมผัส: เกรนบางๆ คลุมทั้งจอ กันหน้าเว็บแบนเป็นเวกเตอร์ */
body::after {
  content: "";
  position: fixed; inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- โครงหน้า ---------- */
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 740px; }
main { padding: 34px 0 84px; }

/* เข้าหน้าแบบไล่กันขึ้นมา ไม่โผล่พร้อมกันทั้งหน้า */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
main > .wrap > section, main > .wrap > div { animation: rise .5s var(--ease) both; }
main > .wrap > *:nth-child(2) { animation-delay: .06s; }
main > .wrap > *:nth-child(3) { animation-delay: .12s; }
main > .wrap > *:nth-child(4) { animation-delay: .18s; }
main > .wrap > *:nth-child(5) { animation-delay: .24s; }

/* ---------- แถบส้มบนสุด ---------- */
.topbar { height: 4px; background: linear-gradient(90deg, var(--orange-deep), var(--orange) 40%, #ffa04d); }

/* ---------- แถบแจ้งโหมดตัวอย่าง ---------- */
.demo-flag {
  background: var(--navy);
  color: #c9dde8;
  font-size: var(--fs-xs);
  text-align: center;
  padding: 9px 20px;
  line-height: 1.6;
}
.demo-flag b { color: #fff; font-weight: 500; }

/* ---------- หัวเว็บ ---------- */
header.nav {
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  position: sticky; top: 0; z-index: var(--z-nav);
}
.nav-inner { display: flex; align-items: center; gap: 16px; min-height: 70px; }

.brand {
  display: flex; align-items: center; gap: 13px;
  text-decoration: none; color: var(--ink); margin-right: auto;
}
.brand-logo { display: block; height: 48px; width: auto; flex: none; }
.brand-sub {
  font-size: var(--fs-xs); color: var(--ink-3); font-weight: 400; line-height: 1.35;
  padding-left: 13px; border-left: 1px solid var(--line); white-space: nowrap;
}
@media (max-width: 1020px) { .brand-sub { display: none; } }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  color: var(--ink-2); text-decoration: none;
  font-size: var(--fs-sm); font-weight: 400;
  padding: 9px 13px; border-radius: var(--r-sm);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-links a:hover { background: var(--bg-alt); color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--orange-dark); font-weight: 500; background: var(--orange-soft); }

/* ---------- เมนูย่อยเลือกชุดข้อสอบ ---------- */
.menu { position: relative; }
.menu > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 8px;
  background: linear-gradient(160deg, #ff8b1c, var(--orange) 55%, var(--orange-dark));
  color: #fff; font-weight: 500; font-size: var(--fs-sm);
  padding: 11px 18px; border-radius: var(--r-sm);
  box-shadow: var(--sh-orange);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -12px rgba(255,122,0,.62); }
.menu > summary:active { transform: translateY(0) scale(.985); }
.menu > summary .caret { font-size: 10px; opacity: .9; transition: transform .2s var(--ease); }
.menu[open] > summary .caret { transform: rotate(180deg); }

.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px);
  width: 306px; z-index: var(--z-pop);
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-4);
  padding: 9px;
  animation: rise .22s var(--ease) both;
}
.menu-head {
  font-size: var(--fs-xs); color: var(--ink-3); font-weight: 500;
  padding: 8px 12px 9px; letter-spacing: .03em;
}
.menu-item {
  display: block; padding: 11px 13px;
  border-radius: var(--r-sm); text-decoration: none; color: var(--ink);
  transition: background .18s var(--ease);
}
.menu-item:hover { background: var(--orange-soft); }
.menu-item .mi-title { font-weight: 500; font-size: var(--fs-sm); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.menu-item .mi-sub { font-size: var(--fs-xs); color: var(--ink-3); }
.menu-item.disabled { opacity: .5; pointer-events: none; }

/* ---------- ปุ่ม ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: inherit; font-size: var(--fs-base); font-weight: 500;
  padding: 14px 28px; border-radius: var(--r-sm);
  border: 1px solid transparent; text-decoration: none; cursor: pointer;
  line-height: 1.45;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background .18s var(--ease), border-color .18s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary {
  background: linear-gradient(160deg, #ff8b1c, var(--orange) 55%, var(--orange-dark));
  color: #fff; box-shadow: var(--sh-orange);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 34px -12px rgba(255,122,0,.6); }
.btn-navy { background: linear-gradient(160deg, var(--navy-2), var(--navy)); color: #fff; box-shadow: var(--sh-3); }
.btn-navy:hover { transform: translateY(-1px); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); box-shadow: var(--sh-1); }
.btn-ghost:hover { border-color: var(--orange-line); background: var(--orange-soft); }
.btn-lg { font-size: var(--fs-md); padding: 17px 36px; border-radius: var(--r-md); }
.btn-sm { font-size: var(--fs-sm); padding: 9px 16px; border-radius: var(--r-xs); }
.btn-block { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .42; cursor: not-allowed; box-shadow: none; transform: none; }
:focus-visible { outline: 3px solid rgba(255, 122, 0, .42); outline-offset: 2px; border-radius: 4px; }

/* ---------- การ์ด ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--sh-2);
}
.card-pad-lg { padding: 30px; }

/* ---------- ป้าย ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: var(--fs-xs); font-weight: 500;
  padding: 6px 14px; border-radius: 999px;
  background: var(--orange-soft); color: var(--orange-deep);
  border: 1px solid var(--orange-line);
}
.pill-good { background: var(--good-soft); color: var(--good); border-color: #bfe3cf; }
.pill-navy { background: var(--navy-soft); color: var(--navy); border-color: #cfdee6; }
.pill-warn { background: var(--warn-soft); color: var(--warn); border-color: #f0dcb4; }
.pill-bad  { background: var(--bad-soft);  color: var(--bad);  border-color: #f0cdc7; }
.pill-mute { background: var(--bg-alt); color: var(--ink-2); border-color: var(--line); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }

/* ---------- ตัวหนังสือ ---------- */
h1, h2, h3 {
  font-weight: 600; margin: 0; line-height: 1.35;
  letter-spacing: -.022em; text-wrap: balance;
}
h1 { font-size: clamp(30px, 5.2vw, 46px); letter-spacing: -.03em; }
h2 { font-size: clamp(23px, 3.5vw, 30px); }
h3 { font-size: var(--fs-md); letter-spacing: -.015em; }
p { margin: 0; }
.lead { font-size: var(--fs-md); color: var(--ink-2); max-width: 58ch; line-height: 1.8; }
.muted { color: var(--ink-2); }
.small { font-size: var(--fs-sm); }
.em-orange { color: var(--orange-dark); }
.em-navy { color: var(--navy); }
b, strong { font-weight: 500; }

/* stack-* ต้องเป็น flex column เอง ไม่งั้น gap ไม่ทำงาน (เคยพลาดจุดนี้ ระยะห่างหายทั้งเว็บ) */
.stack, [class*="stack-"] { display: flex; flex-direction: column; }
.stack-6 { gap: 8px; } .stack-10 { gap: 12px; } .stack-14 { gap: 16px; }
.stack-20 { gap: 24px; } .stack-28 { gap: 36px; } .stack-40 { gap: 56px; }
.row { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.center { text-align: center; }

/* ---------- แถบทักทาย ---------- */
.greetbar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--good-soft), #f0f8f3);
  border: 1px solid #cbe6d8;
  border-radius: var(--r-md); padding: 15px 19px;
}
.greetbar .gb-ic {
  flex: none; width: 27px; height: 27px; border-radius: 50%;
  background: var(--good); color: #fff; display: grid; place-items: center; font-size: var(--fs-xs);
}
.greetbar .gb-txt { flex: 1; min-width: 210px; font-size: var(--fs-sm); line-height: 1.6; }
.greetbar .gb-sub { display: block; font-size: var(--fs-xs); color: var(--ink-2); }
.greetbar .gb-edit { font-size: var(--fs-xs); color: var(--good); font-weight: 500; }

/* ---------- ด่านกั้น ---------- */
.gate {
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--r-xl); padding: 40px 30px; text-align: center;
  box-shadow: var(--sh-3);
}
.gate .gate-ic { font-size: 38px; line-height: 1; }
.gate h2 { margin: 14px 0 8px; }

/* ---------- เมนูบัญชีผู้ใช้ ---------- */
.authslot { display: flex; align-items: center; gap: 9px; }
.acct { position: relative; }
.acct > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 9px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 14px 5px 5px;
  box-shadow: var(--sh-1);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.acct > summary::-webkit-details-marker { display: none; }
.acct > summary:hover { border-color: var(--orange-line); box-shadow: var(--sh-2); }
.acct .ac-av {
  width: 31px; height: 31px; border-radius: 10px;
  background: linear-gradient(150deg, #ff8f28, var(--orange-dark));
  color: #fff; display: grid; place-items: center;
  font-size: var(--fs-sm); font-weight: 500; flex: none;
}
.acct .ac-nm { font-size: var(--fs-sm); font-weight: 400; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct .caret { font-size: 10px; color: var(--ink-3); transition: transform .2s var(--ease); }
.acct[open] .caret { transform: rotate(180deg); }
.acct-panel {
  position: absolute; right: 0; top: calc(100% + 10px);
  width: 262px; z-index: var(--z-pop);
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); box-shadow: var(--sh-4); padding: 8px;
  animation: rise .22s var(--ease) both;
}
.acct-head { padding: 10px 13px 12px; border-bottom: 1px solid var(--line-soft); margin-bottom: 7px; line-height: 1.55; }
.acct-head b { display: block; font-weight: 500; font-size: var(--fs-sm); }
.acct-head span { font-size: var(--fs-xs); color: var(--ink-3); }
.acct-item {
  display: block; width: 100%; text-align: left;
  padding: 11px 13px; border-radius: var(--r-sm);
  font-family: inherit; font-size: var(--fs-sm); font-weight: 400;
  color: var(--ink); background: none; border: none; cursor: pointer; text-decoration: none;
  transition: background .18s var(--ease);
}
.acct-item:hover { background: var(--orange-soft); }
.acct-item.danger { color: var(--bad); border-top: 1px solid var(--line-soft); margin-top: 7px; }
.acct-item.danger:hover { background: var(--bad-soft); }

/* ---------- หน้าข้อมูลของฉัน ---------- */
.hero-me {
  background:
    radial-gradient(120% 150% at 88% -30%, rgba(255,122,0,.09), transparent 62%),
    var(--card);
  border-bottom: 1px solid var(--line-soft);
  padding: 38px 0 34px;
}
.me-top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.me-av {
  width: 64px; height: 64px; border-radius: 20px;
  background: linear-gradient(150deg, #ff8f28, var(--orange-dark));
  color: #fff; display: grid; place-items: center;
  font-size: 27px; font-weight: 500; flex: none;
  box-shadow: var(--sh-orange);
}
.startcard {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #ff8f28, var(--orange) 45%, var(--orange-deep));
  color: #fff; border-radius: var(--r-xl);
  padding: 34px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  box-shadow: 0 22px 48px -22px rgba(255,122,0,.6);
}
.startcard::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(90% 140% at 92% 8%, rgba(255,255,255,.22), transparent 58%);
  pointer-events: none;
}
.startcard h2 { color: #fff; margin-bottom: 7px; }
.startcard p { color: rgba(255,255,255,.94); font-size: var(--fs-sm); position: relative; }
.startcard > * { position: relative; }

.emptybox {
  border: 1.5px dashed var(--line); border-radius: var(--r-lg);
  padding: 40px 24px; text-align: center; background: var(--card);
}
.emptybox .eb-ic { font-size: 34px; line-height: 1; }
.histrow {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--r-md); padding: 17px 20px; box-shadow: var(--sh-1);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.histrow:hover { box-shadow: var(--sh-2); transform: translateY(-1px); }
.histrow .hr-score { font-size: 24px; font-weight: 600; color: var(--orange-dark); font-variant-numeric: tabular-nums; }
.infogrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 16px; }
.infoitem { font-size: var(--fs-sm); }
.infoitem .lab { font-size: var(--fs-xs); color: var(--ink-3); display: block; letter-spacing: .01em; }

/* ---------- ท้ายเว็บ: บล็อกส้ม ---------- */
footer.foot {
  position: relative;
  background: linear-gradient(168deg, #ff8b1c, var(--orange) 45%, var(--orange-deep));
  color: #fff; padding: 48px 0 28px; font-size: var(--fs-sm);
}
footer.foot::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 120% at 85% -10%, rgba(255,255,255,.16), transparent 60%);
  pointer-events: none;
}
.foot > .wrap { position: relative; }
.foot-grid { display: grid; grid-template-columns: 1.1fr .8fr 1.2fr auto; gap: 34px 38px; align-items: start; }
.foot h4 { font-size: var(--fs-sm); font-weight: 500; margin: 0 0 12px; color: #fff; }
.foot-addr { line-height: 1.8; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.foot-links a {
  color: #fff; font-weight: 400; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.42);
  transition: border-color .18s var(--ease);
}
.foot-links a:hover { border-bottom-color: #fff; }
.foot-contact { display: flex; flex-direction: column; gap: 13px; }
.foot-contact div { display: flex; gap: 12px; align-items: flex-start; }
.foot-contact .ic { flex: none; width: 22px; height: 22px; margin-top: 3px; display: grid; place-items: center; font-size: var(--fs-xs); }
.foot-contact a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.42); }
.foot-brand { display: flex; flex-direction: column; gap: 18px; align-items: flex-end; }
.foot-logo { display: flex; align-items: center; gap: 12px; }
.foot-logo .fl-mark { width: 46px; height: 46px; flex: none; display: block; }
.foot-logo .fl-txt { line-height: 1.25; }
.foot-logo .fl-name { color: #fff; font-weight: 600; font-size: var(--fs-md); letter-spacing: .02em; }
.foot-logo .fl-slogan { color: rgba(255,255,255,.92); font-size: 13px; letter-spacing: .05em; }
.foot-social { display: flex; gap: 15px; }
.foot-social a { color: #fff; display: grid; place-items: center; opacity: .95; transition: transform .18s var(--ease); }
.foot-social a:hover { opacity: 1; transform: translateY(-2px); }
.foot-social svg { display: block; }
.foot-bottom {
  margin-top: 34px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.3);
  display: flex; gap: 10px 26px; flex-wrap: wrap; justify-content: space-between;
  font-size: var(--fs-xs);
}
.foot-bottom .staff-link { color: #fff; text-decoration: underline; }
.staff-link { color: var(--ink-3); text-decoration: underline; }

/* ---------- มือถือ ---------- */
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { align-items: flex-start; }
}
@media (max-width: 760px) {
  :root { --fs-xs: 13.5px; --fs-sm: 15px; --fs-base: 16.5px; --fs-md: 17.5px; }
  /* หัวเว็บ 2 แถว: แถวบน = โลโก้ + บัญชี · แถวล่าง = เมนู (กันล้นจอ) */
  .nav-inner { flex-wrap: wrap; gap: 8px 10px; padding: 10px 0; min-height: 0; }
  .nav-links {
    order: 3; width: 100%; justify-content: center; gap: 2px;
    border-top: 1px solid var(--line-soft); padding-top: 8px;
  }
  .nav-links a { padding: 7px 11px; font-size: var(--fs-sm); }
  .brand-sub { display: none; }
  .brand-logo { height: 40px; }
  .authslot { order: 2; }
  .menu { display: none; }   /* ปุ่มเริ่มทดสอบมีในเนื้อหาหน้าอยู่แล้ว ไม่ซ่อนของจำเป็น */
  .menu-panel { width: min(310px, calc(100vw - 34px)); }
  .acct .ac-nm { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .startcard { grid-template-columns: 1fr; text-align: center; padding: 26px; }
  .startcard .btn { width: 100%; }
  .infogrid { grid-template-columns: 1fr 1fr; }
  main { padding: 26px 0 64px; }
  .card { padding: 21px; }
  .card-pad-lg { padding: 24px; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  footer.foot { padding: 34px 0 24px; }
  .infogrid { grid-template-columns: 1fr; gap: 15px; }
}

/* ── ยูทิลิตี้: ซ่อนองค์ประกอบ ──────────────────────────────
   🔴 ต้องอยู่ใน style.css กลาง ไม่ใช่ในหน้าใดหน้าหนึ่ง
   (เคยพลาด: result.html ใช้ .hidden แต่ไม่มีนิยาม กล่อง 'ยังไม่มีผลสอบ' เลยโผล่ทับหน้าผลจริง) */
.hidden { display: none !important; }
