:root {
  --night: #0a0f24;
  --night2: #131a3a;
  --panel: #161c3d;
  --panel2: #1e2652;
  --line: #2f3a72;
  --red: #d7263d;
  --red2: #a3162a;
  --gold: #f4c95d;
  --gold2: #ffe39a;
  --ink: #e9ecf8;
  --muted: #a7b0d6;
  --paper: #f7efd9;
  --paper-ink: #4a3418;
  --paper-line: #d9c79c;
  --ok: #39d98a;
  --warn: #ffb020;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  min-width: 320px; overflow-x: hidden; color: var(--ink);
  font: 15px/1.6 "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--night) radial-gradient(1200px 600px at 50% -200px, #26306b 0%, transparent 70%) no-repeat;
}
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 60; padding: 8px 12px; background: var(--gold); color: #000; font-weight: 700; }
.skip:focus { top: 8px; }
.container { width: 1100px; max-width: 100%; margin: 0 auto; padding: 0 16px; }

.topnav { position: sticky; top: 0; z-index: 40; background: rgba(8, 11, 28, .86); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(244, 201, 93, .25); }
.topnav .container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; }
.menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu-r { justify-content: flex-end; }
.menu a { display: block; padding: 8px 14px; color: #d6dcf5; font-weight: 600; font-size: 14.5px; text-decoration: none; border-radius: 8px; white-space: nowrap; }
.menu a:hover { color: var(--gold2); background: rgba(255, 255, 255, .05); }
.menu a[aria-current="page"] { color: var(--gold); }
.logo { display: flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; padding: 0 18px; }
.logo .word { font: 900 30px/1 "Cinzel Decorative", Georgia, serif; letter-spacing: 1px; background: linear-gradient(180deg, #fff6d0 0%, var(--gold) 45%, #c9862a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 #6b0f1b) drop-shadow(0 0 10px rgba(215, 38, 61, .55)); }
.logo .sub { margin-top: 4px; font-size: 10.5px; letter-spacing: 3px; color: var(--muted); text-transform: uppercase; }
.burger { display: none; justify-self: end; width: 42px; height: 38px; color: var(--gold); font-size: 22px; background: transparent; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.drawer { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; font: 800 15px/1 "Be Vietnam Pro", sans-serif; text-decoration: none; text-transform: uppercase; letter-spacing: .5px; border: 0; border-radius: 12px; cursor: pointer; transition: transform .12s, filter .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn-red { color: #fff; background: linear-gradient(180deg, #ef3b53, var(--red2)); box-shadow: 0 6px 18px rgba(215, 38, 61, .45), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-gold { color: #3a2300; background: linear-gradient(180deg, var(--gold2), #e0a93a); box-shadow: 0 6px 18px rgba(244, 201, 93, .35), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-ghost { color: var(--ink); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 9px; }

.hero { position: relative; height: 560px; overflow: hidden; background: #0b1230 url("/portal/town.jpg") 48% 30% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 15, 36, .92) 0%, rgba(10, 15, 36, .65) 38%, rgba(10, 15, 36, .1) 70%), linear-gradient(0deg, var(--night) 0%, rgba(10, 15, 36, 0) 35%); }
.hero .container { position: relative; height: 100%; }
.hero .copy { position: absolute; left: 16px; top: 90px; width: 520px; max-width: calc(100% - 32px); z-index: 3; }
.hero .eyebrow { display: inline-block; padding: 4px 12px; font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px; color: var(--gold); text-transform: uppercase; background: rgba(244, 201, 93, .12); border: 1px solid rgba(244, 201, 93, .4); border-radius: 999px; }
.hero h1 { margin: 16px 0 10px; font: 900 64px/1 "Cinzel Decorative", Georgia, serif; background: linear-gradient(180deg, #fff7d6 0%, var(--gold) 50%, #c47b22 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 3px 0 #6b0f1b) drop-shadow(0 0 22px rgba(215, 38, 61, .55)); }
.hero .lead { margin: 0 0 24px; font-size: 18px; color: #dfe4fb; text-shadow: 0 2px 6px rgba(0, 0, 0, .6); }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .cta .btn { padding: 16px 26px; font-size: 16px; }
.hero .note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.hero .note a { color: var(--gold2); }
.hero .cast { position: absolute; right: -40px; bottom: -10px; width: 640px; height: 540px; z-index: 2; pointer-events: none; }
.hero .cast img { position: absolute; bottom: 0; height: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .55)); }
.hero .cast .a { right: 230px; width: 300px; z-index: 2; }
.hero .cast .b { right: 0; width: 290px; z-index: 3; }
.hero .cast .c { right: 410px; width: 220px; z-index: 1; opacity: .9; }
.hero .spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--gold2); box-shadow: 0 0 12px 4px rgba(255, 210, 110, .7); animation: rise 6s linear infinite; opacity: 0; z-index: 1; }
@keyframes rise { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-420px) scale(1.2); opacity: 0; } }

.main { display: grid; grid-template-columns: 320px 1fr; gap: 24px; margin-top: -60px; position: relative; z-index: 5; padding-bottom: 40px; }
.card { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }
.card + .card { margin-top: 18px; }
.card h2 { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 18px; font-size: 16px; font-weight: 800; letter-spacing: .3px; color: var(--gold); text-transform: uppercase; border-bottom: 1px solid var(--line); }
.card h2::before { content: ""; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg); box-shadow: 0 0 10px var(--red); }
.card .body { padding: 16px 18px; }

.playbox { padding: 18px; text-align: center; background: radial-gradient(400px 200px at 50% 0%, rgba(215, 38, 61, .35), transparent 70%), linear-gradient(180deg, var(--panel2), var(--panel)); }
.playbox .btn { width: 100%; padding: 18px; font-size: 19px; }
.playbox .alt { display: flex; gap: 8px; margin-top: 10px; }
.playbox .alt .btn { flex: 1; padding: 10px 8px; font-size: 13px; }
.playbox .os { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
.playbox .os a { color: var(--gold2); }

.form label { display: block; margin: 0 0 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.form input[type=text], .form input[type=password] { width: 100%; height: 42px; padding: 0 12px; margin-bottom: 10px; font: 15px "Be Vietnam Pro", sans-serif; color: var(--ink); background: rgba(5, 8, 22, .6); border: 1px solid var(--line); border-radius: 10px; }
.form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(244, 201, 93, .2); }
.form input[aria-invalid="true"] { border-color: var(--red); }
.form .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.form .links { font-size: 13px; }
.form .links a { color: var(--gold2); }
.msg { margin: 0 0 10px; padding: 8px 12px; font-size: 13.5px; border-radius: 9px; }
.msg:empty { display: none; }
.msg.err { color: #ffd6db; background: rgba(215, 38, 61, .18); border: 1px solid rgba(215, 38, 61, .6); }
.msg.ok { color: #c9ffe2; background: rgba(57, 217, 138, .14); border: 1px solid rgba(57, 217, 138, .5); }
.msg.info { color: #ffeec2; background: rgba(244, 201, 93, .12); border: 1px solid rgba(244, 201, 93, .45); }
.welcome .hi { margin: 0 0 10px; }
.welcome .hi b { color: var(--gold); }
.chars { margin: 0 0 14px; padding: 0; list-style: none; }
.chars li { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-top: 1px dashed var(--line); font-size: 14px; }
.chars .meta { color: var(--muted); font-size: 13px; }
.dot { display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; background: #6c7397; vertical-align: 1px; }
.dot.on { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.dot.mt { background: var(--warn); box-shadow: 0 0 8px var(--warn); }
.welcome .row { display: flex; flex-wrap: wrap; gap: 8px; }
.welcome .row .btn { flex: 1 1 auto; padding: 9px 10px; font-size: 12.5px; white-space: nowrap; }

.srv { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; margin-bottom: 8px; background: rgba(5, 8, 22, .45); border: 1px solid var(--line); border-radius: 12px; }
.srv:last-child { margin-bottom: 0; }
.srv .name { font-weight: 700; }
.srv .cnt { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.badge { display: inline-block; margin-left: 6px; padding: 1px 7px; font-size: 10.5px; font-weight: 800; line-height: 17px; text-transform: uppercase; border-radius: 5px; vertical-align: 1px; }
.badge.new { color: #3a2300; background: var(--gold); }
.badge.hot { color: #fff; background: var(--red); }

.banner { position: relative; display: flex; align-items: center; min-height: 200px; overflow: hidden; text-decoration: none; border-radius: 16px; border: 1px solid var(--line); background: #140b0b url("/portal/sunset.jpg") center 40% / cover no-repeat; box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }
.banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 6, 20, .92) 0%, rgba(10, 6, 20, .6) 55%, rgba(10, 6, 20, .05) 100%); }
.banner .in { position: relative; padding: 26px 30px; max-width: 70%; }
.banner .tag { display: inline-block; padding: 3px 10px; font-size: 12px; font-weight: 800; color: #fff; text-transform: uppercase; background: var(--red); border-radius: 6px; }
.banner strong { display: block; margin: 10px 0 6px; font: 800 28px/1.2 "Be Vietnam Pro", sans-serif; color: var(--gold2); text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.banner span.sub { color: #f1e6d0; }
.banner img { position: absolute; right: 10px; bottom: -40px; width: 230px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .6)); }

.news { margin-top: 18px; color: var(--paper-ink); background: var(--paper); border: 1px solid #c9b27a; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }
.news .bar { display: flex; align-items: center; gap: 4px; padding: 8px 10px 0; background: linear-gradient(180deg, #8f1b2b, #6e1220); }
.tabs { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.tabs button { padding: 10px 16px; font: 700 14.5px "Be Vietnam Pro", sans-serif; color: #f6d9dd; background: transparent; border: 0; border-radius: 10px 10px 0 0; cursor: pointer; }
.tabs button:hover { color: #fff; }
.tabs button[aria-selected="true"] { color: var(--paper-ink); background: var(--paper); }
.news .bar .all { margin-left: auto; padding: 0 10px 8px; color: #ffe0e5; font-size: 13px; font-weight: 600; text-decoration: none; }
.news .bar .all:hover { color: #fff; }
.pane { display: grid; grid-template-columns: 300px 1fr; gap: 18px; padding: 18px; min-height: 300px; }
.pane.evpane { display: block; }
.pane[hidden] { display: none !important; }
.hot .cover, .item .cover { display: block; overflow: hidden; border-radius: 10px; background: #2a1b0b; }
.hot .cover img { display: block; width: 100%; height: 170px; object-fit: cover; }
.hot h3 { margin: 10px 0 4px; font-size: 16px; line-height: 1.4; }
.hot h3 a, .item h3 a { color: #7c1424; text-decoration: none; }
.hot h3 a:hover, .item h3 a:hover { color: var(--red); }
.time { font-size: 12.5px; color: #8b6f45; }
.desc { margin: 6px 0 10px; font-size: 14px; }
.more { color: #7c1424; font-size: 13px; font-weight: 800; text-transform: uppercase; text-decoration: none; }
.more:hover { color: var(--red); }
.list { margin: 0; padding: 0; list-style: none; }
.item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--paper-line); }
.item:first-child { padding-top: 0; }
.item .cover { flex: 0 0 110px; height: 66px; }
.item .cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.item h3 { margin: 0 0 2px; font-size: 14.5px; line-height: 1.4; }
.empty { margin: 30px 0; text-align: center; color: #8b6f45; }
.ev { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--paper-line); }
.ev h3 { margin: 0; font-size: 14.5px; color: #7c1424; }
.ev .when { font-size: 13px; color: #8b6f45; }
.ev .rule { margin: 4px 0 0; font-size: 13.5px; }
.pill { flex: none; padding: 2px 10px; font-size: 12px; font-weight: 800; border-radius: 999px; white-space: nowrap; }
.pill.on { color: #0d4a2c; background: #b9f3d3; }
.pill.off { color: #6b5a3a; background: #eadcb8; }

.classes { margin-top: 18px; padding: 0; overflow: hidden; }
.classes .stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 380px; background: radial-gradient(500px 300px at 70% 60%, rgba(215, 38, 61, .35), transparent 70%); }
.classes .info { padding: 22px 24px; }
.classes .info h3 { margin: 0 0 6px; font: 800 26px/1.2 "Be Vietnam Pro", sans-serif; color: var(--gold2); }
.classes .info p { margin: 0 0 14px; color: #d2d8f2; }
.classes .gender { display: flex; gap: 8px; }
.classes .art { position: relative; }
.classes .art img { position: absolute; bottom: 0; left: 50%; height: 360px; width: auto; transform: translateX(-50%); filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .6)); transition: opacity .25s; }
.classes .picker { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.classes .picker button { padding: 12px 6px; font: 700 13.5px "Be Vietnam Pro", sans-serif; color: var(--muted); background: transparent; border: 0; border-right: 1px solid var(--line); cursor: pointer; }
.classes .picker button:last-child { border-right: 0; }
.classes .picker button[aria-selected="true"] { color: var(--gold); background: rgba(244, 201, 93, .08); box-shadow: inset 0 -3px 0 var(--red); }

.guides { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.guide { display: block; padding: 18px; text-decoration: none; border-radius: 14px; background: linear-gradient(135deg, #24306a, #151b3c); border: 1px solid var(--line); }
.guide:hover { border-color: var(--gold); }
.guide b { display: block; color: var(--gold2); font-size: 16px; }
.guide span { color: var(--muted); font-size: 13.5px; }

.page { padding: 30px 16px 50px; }
.page-head { position: relative; height: 220px; background: #0b1230 url("/portal/town.jpg") 50% 20% / cover no-repeat; }
.page-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--night) 0%, rgba(10, 15, 36, .55) 100%); }
.page-head .container { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 22px; }
.page-head h1 { margin: 0; font: 900 38px/1.1 "Be Vietnam Pro", sans-serif; color: var(--gold2); text-shadow: 0 3px 12px rgba(0, 0, 0, .6); }
.crumbs { margin: 0 0 6px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--gold2); text-decoration: none; }
.paper { color: var(--paper-ink); background: var(--paper); border-radius: 16px; padding: 24px 28px; box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.filters a { padding: 6px 14px; font-size: 13.5px; font-weight: 700; color: #7c1424; text-decoration: none; border: 1px solid #d8b9a0; border-radius: 999px; }
.filters a[aria-current="page"] { color: #fff; background: var(--red); border-color: var(--red); }
.article h2 { margin: 22px 0 8px; font-size: 19px; color: #7c1424; }
.article p, .article li { font-size: 15.5px; line-height: 1.75; }
.article .meta { margin: 0 0 16px; color: #8b6f45; font-size: 13.5px; }
.article img.cover { display: block; width: 100%; max-height: 320px; object-fit: cover; border-radius: 12px; margin-bottom: 16px; }
.article table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; }
.article th, .article td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--paper-line); }

.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dl { padding: 22px; text-align: center; background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); }
.dl h2 { margin: 0 0 4px; color: var(--gold2); }
.dl p { margin: 0 0 14px; color: var(--muted); font-size: 13.5px; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 4px 0 10px 42px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 30px; height: 30px; font-weight: 800; line-height: 30px; text-align: center; color: #fff; background: var(--red); border-radius: 50%; }

.acc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.acc .tabsbar { display: flex; gap: 6px; margin-bottom: 14px; }
.acc .tabsbar button { flex: 1; padding: 10px; font: 700 14px "Be Vietnam Pro", sans-serif; color: var(--muted); background: rgba(5, 8, 22, .4); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.acc .tabsbar button[aria-selected="true"] { color: #3a2300; background: var(--gold); border-color: var(--gold); }
.acc .side p { color: var(--muted); }
.acc .side h3 { margin-top: 0; color: var(--gold2); }

.sel { width: 100%; height: 42px; padding: 0 10px; margin-bottom: 10px; font: 15px "Be Vietnam Pro", sans-serif; color: var(--ink); background: rgba(5, 8, 22, .6); border: 1px solid var(--line); border-radius: 10px; }
.rate { margin: 4px 0 10px; color: var(--muted); font-size: 14px; }
.rate b { color: var(--gold2); }
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.pack { display: flex; flex-direction: column; gap: 2px; padding: 12px 6px; font: 14px "Be Vietnam Pro", sans-serif; color: var(--ink); text-align: center; background: rgba(5, 8, 22, .45); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.pack b { font-size: 16px; }
.pack span { font-size: 12.5px; color: var(--gold2); }
.pack:hover { border-color: var(--gold); }
.pack[aria-checked="true"] { background: rgba(215, 38, 61, .2); border-color: var(--red); box-shadow: 0 0 0 2px rgba(215, 38, 61, .35); }
.sum { min-height: 22px; margin: 0 0 10px; font-weight: 700; color: var(--gold2); }
.qrwrap { display: flex; justify-content: center; margin-bottom: 14px; }
.qrwrap img { width: 260px; height: 260px; padding: 10px; background: #fff; border-radius: 14px; }
.bank { width: 100%; border-collapse: collapse; font-size: 14px; }
.bank th { width: 120px; padding: 8px 6px; text-align: left; color: var(--muted); font-weight: 600; border-bottom: 1px solid var(--line); }
.bank td { padding: 8px 6px; border-bottom: 1px solid var(--line); }
.bank .code { color: var(--gold); letter-spacing: 1px; }
.copy { margin-left: 6px; padding: 2px 8px; font: 600 12px "Be Vietnam Pro", sans-serif; color: var(--ink); background: rgba(255, 255, 255, .08); border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.hint { margin: 12px 0; font-size: 13.5px; color: var(--muted); }
@media (max-width: 520px) { .packs { grid-template-columns: repeat(2, 1fr); } }

footer { margin-top: 30px; padding: 28px 0 36px; color: var(--muted); font-size: 13px; background: #070a1a; border-top: 1px solid rgba(244, 201, 93, .2); }
footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
footer ul { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; list-style: none; }
footer a { color: #d6dcf5; text-decoration: none; }
footer a:hover { color: var(--gold2); }
footer .logo { align-items: flex-start; padding: 0; }
footer .logo .word { font-size: 22px; }
footer .fine { width: 100%; margin: 0; font-size: 12px; color: #6f78a3; }

@media (max-width: 980px) {
  .topnav .container { grid-template-columns: auto 1fr; }
  .menu { display: none; }
  .logo { align-items: flex-start; padding: 0; }
  .burger { display: block; }
  .drawer.open { display: block; position: absolute; left: 0; right: 0; top: 64px; padding: 8px 16px 16px; background: rgba(8, 11, 28, .97); border-bottom: 1px solid var(--line); }
  .drawer a { display: block; padding: 12px 6px; color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .hero { height: auto; min-height: 520px; }
  .hero::before { background: linear-gradient(180deg, rgba(10, 15, 36, .9) 0%, rgba(10, 15, 36, .72) 50%, rgba(10, 15, 36, .2) 75%, var(--night) 100%); }
  .hero .copy { position: relative; left: 0; top: 0; width: auto; padding: 50px 0 300px; }
  .hero h1 { font-size: 46px; }
  .hero .cast { right: 50%; transform: translateX(50%); width: 460px; height: 320px; }
  .hero .cast .a { right: 160px; width: 200px; }
  .hero .cast .b { right: 0; width: 190px; }
  .hero .cast .c { right: 290px; width: 150px; }
  .main { grid-template-columns: 1fr; margin-top: 0; }
  .pane { grid-template-columns: 1fr; }
  .classes .stage { grid-template-columns: 1fr; }
  .classes .art { height: 340px; }
  .classes .art img { height: 330px; }
  .guides, .dl-grid, .acc { grid-template-columns: 1fr; }
  .banner img { display: none; }
  .banner .in { max-width: 100%; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 38px; }
  .hero .lead { font-size: 16px; }
  .hero .cta .btn { flex: 1; padding: 14px 12px; font-size: 14px; }
  .paper { padding: 18px 16px; }
  .tabs button { padding: 10px 10px; font-size: 13.5px; }
  .item .cover { flex-basis: 84px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .spark { display: none; }
  .btn { transition: none; }
}
