/* Relax Origin website. Colours follow the logo: royal blue, gold, sky. */
:root {
  --navy: #16245a;
  --navy-2: #1f3480;
  --royal: #2f55c9;
  --gold: #f4b93a;
  --gold-hi: #ffd76a;
  --gold-deep: #b97a12;
  --ink: #1d2340;
  --muted: #5d6585;
  --paper: #fffaf0;
  --card: #ffffff;
  --line: #e4dcc8;
  --sky: #eaf3ff;
  --ok: #1f9d55;
  --off: #c8433a;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(22, 36, 90, .14);
  --font: "Leelawadee UI", "Noto Sans Thai", "Sarabun", Tahoma, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font: 16px/1.65 var(--font);
  background: var(--paper) url("assets/pattern.webp") repeat;
  background-size: 384px auto;
}
img { max-width: 100%; display: block; }
a { color: var(--royal); }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(22, 36, 90, .94);
  backdrop-filter: blur(6px); border-bottom: 2px solid var(--gold-deep); }
.topbar .wrap { display: flex; align-items: center; gap: 16px; height: 60px; }
.topbar .brand img { height: 42px; width: auto; }
.topbar nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.topbar nav a { color: #e8edff; text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 600; white-space: nowrap; }
.topbar nav a:hover { background: rgba(255, 255, 255, .1); }
.topbar nav a.cta { background: var(--gold); color: var(--navy); }
.topbar nav a.cta:hover { background: var(--gold-hi); }
@media (max-width: 560px) { .topbar nav a.hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px;
  border-radius: 12px; font: 700 17px/1 var(--font); text-decoration: none; cursor: pointer; border: 0; }
.btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--navy);
  box-shadow: 0 4px 0 var(--gold-deep), 0 10px 20px rgba(0, 0, 0, .18); }
.btn-gold:hover { filter: brightness(1.05); }
.btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border: 2px solid rgba(255, 255, 255, .7); }
.btn-ghost:hover { background: rgba(255, 255, 255, .24); }

/* Hero */
.hero { position: relative; min-height: 520px; display: flex; align-items: center; color: #fff;
  background: var(--navy) url("assets/hero.webp") center right / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14, 24, 66, .88) 0%, rgba(14, 24, 66, .62) 38%, rgba(14, 24, 66, 0) 66%); }
.hero .wrap { position: relative; padding-top: 40px; padding-bottom: 96px; }
.hero-logo { width: min(440px, 88%); filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .35)); }
.hero p { max-width: 460px; margin: 10px 0 24px; font-size: 19px; text-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 760px) {
  .hero { min-height: 0; background-image: url("assets/hero-sm.webp"); background-position: 70% center; }
  .hero::before { background: linear-gradient(180deg, rgba(14, 24, 66, .35) 0%, rgba(14, 24, 66, .85) 70%); }
  .hero .wrap { padding-top: 150px; padding-bottom: 88px; }
  .hero p { font-size: 17px; }
}

/* Status strip */
.status { position: relative; z-index: 2; margin-top: -56px; }
.status .panel { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.status .cell { padding: 18px 22px; }
.status .cell + .cell { border-left: 1px solid var(--line); }
.status .label { color: var(--muted); font-size: 14px; }
.status .value { font-size: 26px; font-weight: 800; line-height: 1.3; font-variant-numeric: tabular-nums; }
.status .value small { font-size: 15px; font-weight: 600; color: var(--muted); }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: 2px; background: #a7adc2; }
.is-open .dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(31, 157, 85, .18); }
.is-closed .dot { background: var(--off); }
.is-open .state { color: var(--ok); }
.is-closed .state { color: var(--off); }
.status .note { margin: 8px 4px 0; color: var(--muted); font-size: 13px; text-align: right; }
@media (max-width: 640px) {
  .status .panel { grid-template-columns: 1fr 1fr; }
  .status .cell:first-child { grid-column: 1 / -1; }
  .status .cell:nth-child(2) { border-left: 0; }
  .status .cell + .cell { border-top: 1px solid var(--line); }
  .status .value { font-size: 22px; }
}

/* Sections */
section.block { padding: 56px 0 8px; }
.heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.heading h2 { margin: 0; font-size: 28px; color: var(--navy); }
.heading h2::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 6px; border-radius: 4px; background: var(--gold); }
.heading p { margin: 0; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px 20px 74px; box-shadow: 0 4px 14px rgba(22, 36, 90, .06); }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 20px; top: 20px; width: 40px; height: 40px;
  border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 20px; color: var(--navy);
  background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 0 3px 0 var(--gold-deep); }
.step h3 { margin: 0 0 4px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); }
.step kbd { display: inline-block; padding: 1px 8px; border-radius: 6px; background: var(--sky); border: 1px solid #c9d8f5; color: var(--navy);
  font: 600 15px/1.6 var(--font); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* News */
.news { display: grid; grid-template-columns: 1.15fr 1fr; gap: 16px; align-items: start; }
.feature { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: url("assets/event.webp") center / cover no-repeat; }
/* The picture has a red ribbon at the top and an empty parchment frame in the middle. */
.feature .ribbon { position: absolute; left: 30%; right: 30%; top: 12.5%; text-align: center; color: #fff; font-weight: 800;
  font-size: clamp(14px, 2.3vw, 22px); text-shadow: 0 2px 0 #7d1414; }
.feature .inside { position: absolute; left: 28%; right: 28%; top: 30%; bottom: 40%; display: flex; flex-direction: column;
  justify-content: center; text-align: center; color: #5a3a10; }
.feature .inside h3 { margin: 0; font-size: clamp(14px, 2.1vw, 21px); line-height: 1.35; color: #5a2a06; }
.feature .inside span { font-size: clamp(11px, 1.4vw, 14px); }
.news-list { display: grid; gap: 12px; }
.news-item { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.news-item .meta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.tag { display: inline-block; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--sky); color: var(--royal); }
.tag.t-event { background: #fff1d6; color: #9a5b00; }
.tag.t-shop { background: #ffe3ea; color: #b0284e; }
.news-item h3 { margin: 4px 0 2px; font-size: 18px; }
.news-item p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .news { grid-template-columns: 1fr; } }

/* Classes */
.classes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.class { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 10px 14px; }
.class img { width: 112px; height: 112px; margin: 0 auto 8px; transition: transform .2s; }
.class:hover img { transform: translateY(-4px) rotate(-3deg); }
.class h3 { margin: 0; font-size: 17px; }
.class p { margin: 2px 0 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
@media (max-width: 900px) { .classes { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .classes { grid-template-columns: repeat(2, 1fr); } .class img { width: 96px; height: 96px; } }

/* Footer */
footer { margin-top: 64px; padding: 28px 0; background: var(--navy); color: #c9d2f2; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
footer a { color: #fff; }

/* Small pages (sign-up) */
.page { padding: 40px 0 0; }
.panel-card { max-width: 460px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.panel-card header { display: flex; align-items: center; gap: 14px; padding: 18px 20px; color: #fff; background: linear-gradient(90deg, var(--navy), var(--navy-2)); border-bottom: 3px solid var(--gold); }
.panel-card header img { width: 64px; height: 64px; border-radius: 12px; }
.panel-card h1 { margin: 0; font-size: 22px; line-height: 1.25; }
.panel-card header p { margin: 2px 0 0; color: #d3dbf7; font-size: 14px; }
.panel-card .body { padding: 22px 20px; }
.panel-card label { display: block; margin: 0 0 6px; font-weight: 700; }
.panel-card input[type=text], .panel-card input[type=password] { width: 100%; height: 48px; padding: 0 12px; border: 1px solid #c9cfe0;
  border-radius: 10px; background: #fff; color: var(--ink); font: inherit; }
.panel-card input:focus { outline: 3px solid rgba(47, 85, 201, .25); border-color: var(--royal); }
.panel-card .hint { margin: 6px 0 16px; color: var(--muted); font-size: 14px; }
.panel-card .btn { width: 100%; }
.message { margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; }
.message.error { background: #fde8e6; border: 1px solid #e7a19b; color: #8a2119; }
.message.success { background: #e3f6ea; border: 1px solid #8fd1a9; color: #145c33; }
.panel-card .note { margin: 20px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.panel-card .note ol { margin: 6px 0 0; padding-left: 20px; }
.panel-card .note ul.help { margin: 6px 0 0; padding-left: 20px; }
.panel-card .note ul.help li { margin: 0 0 10px; }
.panel-card .note ul.help b { color: var(--ink, inherit); }
.website { position: absolute; left: -9999px; }

/* My account (account.php) */
.panel-card.wide { max-width: 640px; }
.panel-card label.gap { margin-top: 14px; }
.panel-card label.check { display: flex; align-items: center; gap: 8px; margin: 14px 0 16px; font-weight: 400; color: var(--muted); }
.panel-card label.check input { width: 18px; height: 18px; }
.panel-card .box { padding: 0 0 20px; margin: 0 0 20px; border-bottom: 1px solid var(--line); }
.panel-card .box h2 { margin: 0 0 10px; font-size: 18px; color: var(--navy); }
.panel-card .state { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: var(--sky); color: var(--navy); }
.panel-card .state.ok { background: #e3f6ea; color: #145c33; }
.panel-card .box .hint { margin: 10px 0 0; }
.btn-line { background: #fff; color: var(--navy); border: 2px solid var(--navy-2); margin-top: 6px; }
.btn-line:hover { background: var(--sky); }
.chars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.chars li { --accent: #8a93b3; position: relative; padding: 14px 16px 14px 20px; border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(135deg, #fff 0%, #fffaf0 100%); box-shadow: 0 2px 8px rgba(22, 36, 90, .06); overflow: hidden; }
.chars li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--accent); }
.chars li.c-swordsman { --accent: #d0533f; }
.chars li.c-acolyte { --accent: #e7a93a; }
.chars li.c-mage { --accent: #7b57d1; }
.chars li.c-thief { --accent: #3f8f5e; }
.chars li.c-merchant { --accent: #c7832f; }
.chars li.c-archer { --accent: #3a8ad1; }
.chars .top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.chars strong { font-size: 19px; line-height: 1.3; color: var(--navy); overflow-wrap: anywhere; }
.chars .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chars .tags span { font-size: 13px; padding: 3px 10px; border-radius: 8px; background: #f1f3f9; color: var(--ink); font-weight: 600; }
.chars .tags span small { color: var(--muted); font-weight: 400; font-size: 12px; }
.chars .tags .job { background: var(--accent); color: #fff; }
.chars em { flex: none; display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 13px; padding: 3px 10px;
  border-radius: 999px; background: #eef0f6; color: var(--muted); white-space: nowrap; }
.chars em::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.chars em.on { background: #e3f6ea; color: var(--ok); }
.chars em.deleted { background: #fde8e6; color: var(--off); }
.chars li.deleted { opacity: .6; }
.chars li.deleted strong { text-decoration: line-through; }
.logout { text-align: center; }
.logout button { background: none; border: 0; color: var(--off); font: inherit; text-decoration: underline; cursor: pointer; padding: 6px; }

/* Download page (download.php) */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; }
.facts div { padding: 10px 12px; border-radius: 10px; background: var(--sky); }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }
.howto { margin: 0; padding-left: 22px; }
.howto li { margin: 0 0 8px; }
.btn-discord { background: #5865f2; color: #fff; box-shadow: 0 3px 0 #3c45a5; }
.howto + .btn-discord { margin-top: 10px; }
.btn-discord:hover { background: #4752c4; }
footer .links { display: flex; gap: 18px; }
.hash { display: block; margin-top: 4px; font-size: 12px; overflow-wrap: anywhere; word-break: break-all; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }

/* Top-up page (topup.php) */
.panel-card.topup { max-width: 760px; }
.topup .lead { margin: -4px 0 14px; color: var(--muted); font-size: 15px; }
.packs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pack { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(135deg, #fff 0%, #fffaf0 100%); }
.pack .price { flex: none; min-width: 92px; padding: 8px 10px; border-radius: 12px; text-align: center; font-size: 22px; font-weight: 800;
  line-height: 1.1; color: var(--navy); background: linear-gradient(180deg, var(--gold-hi), var(--gold)); box-shadow: 0 3px 0 var(--gold-deep);
  font-variant-numeric: tabular-nums; }
.pack .price small { display: block; font-size: 13px; font-weight: 700; }
.pack .what { min-width: 0; display: flex; flex-direction: column; line-height: 1.4; }
.pack .what strong { font-size: 17px; color: var(--ink); }
.pack .what em { font-style: normal; font-size: 13px; color: var(--muted); }
.pack .bonus { align-self: flex-start; margin-top: 2px; padding: 0 8px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: #ffe3ea; color: #b0284e; }
.pack .kind { align-self: flex-start; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--sky); color: var(--royal); }
.pack.monthly { background: linear-gradient(135deg, #fff 0%, var(--sky) 100%); }
.pack.zeny { background: linear-gradient(135deg, #fff 0%, #eef8ea 100%); }
.pack.zeny .price { background: linear-gradient(180deg, #8fdc7a, #4fb43a); box-shadow: 0 3px 0 #2f7d22; color: #fff; }
.pack.zeny .price small { color: #effbe9; }
/* Shimmer: a light sweep across each pack, a glint on the gold price, twinkling sparkles.
   Packs start one after another (--i is set in topup.php) so they do not flash together. */
.pack { position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.pack:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 8px 22px rgba(185, 122, 18, .22); }
.pack::before { content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 244, 200, .75) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-18deg); animation: pack-sweep 4.2s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .45s); }
.pack > * { position: relative; z-index: 1; }  /* the sweep passes behind the text */
.pack .price { position: relative; overflow: hidden; }
.pack .price::after { content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 50%; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .9), rgba(255, 255, 255, 0));
  transform: skewX(-18deg); animation: pack-glint 4.2s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .45s + .25s); }
.pack .spark { position: absolute; width: 10px; height: 10px; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, #fff 0 18%, rgba(255, 215, 106, .9) 30%, rgba(255, 215, 106, 0) 70%);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  animation: pack-twinkle 2.6s ease-in-out infinite; }
.pack .spark.s1 { top: 10px; right: 16px; animation-delay: calc(var(--i, 0) * .3s); }
.pack .spark.s2 { bottom: 12px; right: 44px; width: 7px; height: 7px; animation-delay: calc(var(--i, 0) * .3s + .9s); }
.pack .spark.s3 { top: 8px; left: 98px; width: 8px; height: 8px; animation-delay: calc(var(--i, 0) * .3s + 1.7s); }
@keyframes pack-sweep { 0% { left: -60%; } 45%, 100% { left: 130%; } }
@keyframes pack-glint { 0% { left: -80%; } 30%, 100% { left: 140%; } }
@keyframes pack-twinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); } 50% { opacity: 1; transform: scale(1.1) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) {
  .pack::before, .pack .price::after, .pack .spark { animation: none; display: none; }
  .pack, .pack:hover { transition: none; transform: none; }
}
.gift, .tiers li { padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.gift h3, .tiers h3 { margin: 0 0 6px; font-size: 16px; color: var(--navy); }
.loot { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.loot li { display: inline-flex; gap: 6px; padding: 3px 10px; border-radius: 8px; background: #f1f3f9; font-size: 14px; }
.loot b { color: var(--royal); font-variant-numeric: tabular-nums; }
.tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tiers li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; align-items: start; }
.tiers .need { padding: 8px 6px; border-radius: 12px; text-align: center; background: var(--navy); color: #fff; font-size: 13px; line-height: 1.3; }
.tiers .need b { display: block; font-size: 22px; color: var(--gold-hi); font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
  .packs { grid-template-columns: 1fr; }
  .tiers li { grid-template-columns: 1fr; gap: 8px; }
  .tiers .need { display: flex; gap: 6px; justify-content: center; align-items: baseline; }
  .tiers .need b { display: inline; font-size: 18px; }
}

/* ---- Support page (support.php): monthly goal bar, tier cards, thanks, donors ---- */
.goal-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; margin-bottom: 10px; }
.goal-head strong { font-size: 34px; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.goal-head span { font-size: 16px; color: #6b6f86; font-weight: 700; }
.goal-head em { margin-left: auto; font-style: normal; font-size: 14px; font-weight: 700; color: #c2417f; background: #ffe6f1; padding: 2px 10px; border-radius: 999px; }
.goal-bar { position: relative; height: 22px; margin: 4px 0 30px; border-radius: 999px; background: #efe8d6; box-shadow: inset 0 2px 4px rgba(0, 0, 0, .08); }
.goal-bar .fill { position: absolute; inset: 0 auto 0 0; border-radius: 999px; overflow: hidden;
  background: linear-gradient(90deg, #ff8fc2, #f4b93a 60%, #ffd76a); box-shadow: 0 0 12px rgba(244, 185, 58, .55); transition: width .6s; }
.goal-bar .fill::after { content: ""; position: absolute; inset: 0; width: 40%; transform: skewX(-18deg);
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .7), rgba(255, 255, 255, 0)); animation: goal-sweep 2.8s ease-in-out infinite; }
@keyframes goal-sweep { 0% { left: -50%; } 60%, 100% { left: 120%; } }
.goal-bar .mark { position: absolute; top: -4px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%;
  background: #fff; border: 3px solid #cfc6b0; box-shadow: 0 2px 4px rgba(0, 0, 0, .12); }
.goal-bar .mark:last-child { margin-left: -27px; }
.goal-bar .mark.on { border-color: var(--gold-deep); background: radial-gradient(circle, var(--gold-hi), var(--gold)); }
.goal-bar .mark b { position: absolute; top: 32px; left: 50%; transform: translateX(-50%); font-size: 12px; color: #6b6f86; white-space: nowrap; }
.goal-bar .mark.on b { color: var(--gold-deep); }
.goal .hint { margin: 0; font-size: 13px; color: #8a8fa6; }
.tiers-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pack.tier { align-items: flex-start; }
.pack.tier:not(.unlocked) { background: #f6f4ef; }
.pack.tier:not(.unlocked)::before, .pack.tier:not(.unlocked) .price::after { display: none; }
.pack.tier:not(.unlocked) .price { background: linear-gradient(180deg, #d9d4c7, #bdb6a5); box-shadow: 0 3px 0 #9c9584; color: #fff; }
.pack.tier.unlocked { border-color: var(--gold); background: linear-gradient(135deg, #fff 0%, #fff4d6 100%); }
.pack.tier .what strong { font-size: 14px; }
.pack.tier.unlocked .what strong { color: #2f8a3e; }
.thanks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.thanks li { display: flex; gap: 12px; align-items: baseline; padding: 10px 12px; border-radius: 12px; background: #fff7fb; border: 1px solid #ffd6e8; }
.thanks b { flex: none; min-width: 120px; color: #c2417f; }
.donors { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.donors li { padding: 4px 12px; border-radius: 999px; background: linear-gradient(180deg, #fff, #ffe9f3); border: 1px solid #ffc4dd; font-weight: 700; color: #a83470; }
@media (max-width: 600px) {
  .tiers-grid { grid-template-columns: 1fr; }
  .thanks li { flex-direction: column; gap: 2px; }
  .goal-head em { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .goal-bar .fill::after { animation: none; display: none; } }/* Donor-only costumes (support.php) */
.costumes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.costume { position: relative; margin: 0; width: 100%; max-width: 320px; padding: 16px 14px 12px; border-radius: 16px; overflow: hidden; text-align: center;
  background: radial-gradient(circle at 50% 35%, #fff 0%, #fff1f7 55%, #ffe0ee 100%); border: 1px solid #ffc4dd;
  box-shadow: 0 6px 16px rgba(194, 65, 127, .12); }
.costume::before { content: "ผู้สนับสนุนเท่านั้น"; position: absolute; top: 18px; right: -46px; transform: rotate(35deg);
  width: 170px; padding: 2px 0; text-align: center; font-size: 11px; font-weight: 700; color: #fff; background: #c2417f; }
.costume .pics { display: flex; justify-content: center; align-items: flex-end; gap: 18px; }
.costume .pics span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.costume .pics img { width: auto; height: 126px; filter: drop-shadow(0 6px 8px rgba(29, 35, 64, .18)); }
.costume .pics small { font-size: 12px; color: #a83470; font-weight: 700; }
.costume figcaption { margin-top: 10px; }
.costume figcaption strong { font-size: 17px; color: var(--ink); }
.costume figcaption em { font-style: normal; color: #8a8fa6; font-size: 14px; }
.costume .stats { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.costume .stats li { padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #2f8a3e; background: #eaf7ec; border: 1px solid #bfe5c5; }
.costume .stat-note { margin: 8px 0 0; font-size: 12px; color: #8a8fa6; }
/* FAQ page */
.faq-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.faq-jump a { padding: 6px 14px; border-radius: 999px; background: #f1f3f9; color: var(--navy); font-weight: 700; font-size: 14px; text-decoration: none; border: 1px solid #dfe3ef; }
.faq-jump a:hover { background: #fff4d6; border-color: var(--gold); }
.faq section { scroll-margin-top: 80px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin: 0 0 8px; }
.faq details[open] { border-color: var(--gold); box-shadow: 0 4px 12px rgba(185, 122, 18, .10); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 12px 44px 12px 16px; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px;
  border-radius: 50%; background: #f1f3f9; color: var(--navy); font-weight: 700; text-align: center; line-height: 24px; }
.faq details[open] summary::after { content: "–"; background: var(--gold); }
.faq summary:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; border-radius: 12px; }
.faq .answer { padding: 0 16px 14px; color: #3c4260; line-height: 1.75; }
.faq .answer a { color: var(--gold-deep); font-weight: 700; }
.faq .btn-discord { margin-top: 4px; }

/* Google sign-in button (account.php, register.php) */
.btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; color: #1f1f1f; border: 1px solid #c7cbd6; box-shadow: none; font-weight: 600; text-decoration: none; }
.btn-google:hover { background: #f4f6fb; }
.btn-google svg { flex: none; }
.or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }