:root{color-scheme:dark;--bg:#0b120f;--panel:#131e18;--panel-strong:#17251d;--line:#324138;--gold:#e0ba77;--gold-light:#f6db9a;--ink:#f4f1e7;--muted:#aab9ad;--serif:Georgia,"Times New Roman",serif;--sans:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*,*:before,*:after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:20px}
body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.6 var(--sans)}
body,#content{min-width:0}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
img{display:block;max-width:100%;height:auto}
p,h1,h2,figure{margin:0}
:focus-visible{outline:2px solid #f8d995;outline-offset:4px}
.shell{width:min(1180px,calc(100% - 64px));margin-inline:auto}
.skip{position:absolute;z-index:5;left:14px;top:12px;transform:translateY(-150%);padding:8px 14px;background:var(--gold);color:#12160e}
.skip:focus{transform:none}
.icon{width:20px;height:20px;flex:none;display:inline-block;vertical-align:middle}
.site-head{background:#0e1813;border-bottom:1px solid #b68f5038;position:relative;z-index:2}
.nav-row{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:28px;min-height:76px}
.brand{display:inline-flex;align-items:center;gap:13px;width:max-content}
.seal{position:relative;width:39px;height:39px;display:grid;place-items:center;color:#f2d79a}
.seal:before,.seal:after{position:absolute;content:"";inset:4px;transform:rotate(45deg);border:1px solid #bb9557}
.seal:after{inset:8px;border-color:#bb955746}
.seal .icon{width:22px;height:22px}
.brand strong,.brand small{display:block}
.brand strong{font:700 21px/1.05 var(--serif);letter-spacing:.13em;color:#f6e7be}
.brand small{font-size:8px;font-weight:750;letter-spacing:.14em;color:#bea36e;margin-top:5px}
nav{display:flex;gap:29px;align-items:stretch}
nav a{font-size:13px;font-weight:650;color:#bac7bb;min-height:76px;white-space:nowrap;display:grid;align-items:center;position:relative}
nav a:hover,nav a[aria-current]{color:#f3d395}
nav a[aria-current]:after{content:"";height:2px;position:absolute;bottom:-1px;left:0;right:0;background:#dcb578}
.account-actions{display:flex;justify-content:flex-end;gap:10px}
.button{display:inline-flex;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:0 18px;border-radius:5px;border:1px solid transparent;font-weight:750;font-size:13px;line-height:1.25;transition:background .18s,border-color .18s,color .18s;white-space:nowrap}
.button .icon{width:17px;height:17px}
.button.primary{color:#1b170f;background:linear-gradient(155deg,#f4d596,#cca05c);border-color:#f3d498;box-shadow:0 4px 18px #0006}
.button.primary:hover{background:#ffe1a3}
.button.secondary{color:#f1dfb3;background:#0c1714df;border-color:#ad915d}
.button.secondary:hover,.button.header-register:hover{background:#2b3124;border-color:#f1cb83}
.button.quiet{padding-inline:10px;color:#e9dfc6;background:transparent}
.button.quiet:hover{color:var(--gold-light);background:#e1bd7712}
.button.header-register{border-color:#8e704a;color:#f0cd88;background:#32281860;min-height:39px}
.hero{position:relative;isolation:isolate;display:grid;align-items:center;min-height:545px;overflow:hidden;background:#101a14}
.hero-art{z-index:-2;position:absolute;inset:0 0 0 14%;background:url("/assets/thanh-moc-thon.webp") center 42%/cover no-repeat;filter:brightness(.78) saturate(.82)}
.hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#0b1411 1%,#0b1411fa 23%,#0b1411df 40%,#0b14116b 60%,#0b141108 90%),linear-gradient(0deg,#0b120f 0%,#0b120f12 28%,transparent 72%,#0c14128a 100%)}
.hero-copy{padding-block:58px 83px}
.eyebrow,.kicker{font-size:11px;letter-spacing:.19em;font-weight:800;color:var(--gold);line-height:1.5}
.eyebrow{display:flex;align-items:center;gap:11px;margin-bottom:19px}
.eyebrow span{width:8px;height:8px;border:1px solid #efc98a;transform:rotate(45deg);box-shadow:0 0 12px #f9c97480}
.hero h1{font:700 clamp(64px,8.8vw,119px)/.93 var(--serif);letter-spacing:-.07em;color:#fff0c7;text-shadow:0 5px 22px #000b}
.hero h1 span{display:block;margin-top:17px;color:#efd196;font:700 clamp(16px,2.25vw,28px)/1.3 var(--serif);letter-spacing:.17em}
.hero-copy>p{max-width:406px;color:#e1e8dc;margin-top:22px;font-size:16px;line-height:1.65;text-shadow:0 2px 7px #000}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:29px}
.hero-actions .button{min-height:49px;padding-inline:18px}
.hero-note{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:18px;color:#bac7b7;font-size:12px}
.hero-note i{width:7px;height:7px;border-radius:50%;background:#9ccd9b;box-shadow:0 0 12px #8cbd8a82}
.hero-caption{position:absolute;inset:auto 0 34px;display:flex;justify-content:flex-end;align-items:center;gap:9px;font-size:10px;font-weight:800;letter-spacing:.2em;color:#f7e7bf;text-shadow:0 2px 7px #000}
.hero-caption span{color:#edd18e;border-right:1px solid #e9c8798c;padding-right:9px}
.front{position:relative;padding-bottom:61px}
.portals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-top-color:#a48455;border-radius:7px;overflow:hidden;margin-top:-11px}
.portal{min-height:94px;padding:16px 19px;display:grid;grid-template-columns:43px 1fr 16px;gap:13px;align-items:center;background:linear-gradient(143deg,#19271e,#111a16)}
.portal:hover{background:#233528}
.portal-icon,.topic-icon{color:var(--gold);background:#b58b3c18;border:1px solid #b58b3c55;border-radius:5px;width:43px;height:43px;display:grid;place-items:center}
.portal strong,.portal small{display:block}
.portal strong{font:700 19px/1.25 var(--serif);color:#f4e7c9}
.portal small{color:#adbcae;font-size:12px;margin-top:4px}
.portal-next,.topic-next{color:#b9a173;width:16px}
.world-section,.front-forum{margin-top:56px}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:18px}
.section-head h2{font:700 clamp(25px,3.4vw,37px)/1.18 var(--serif);color:#f4ead1;margin-top:5px}
.tag{display:inline-flex;align-items:center;min-height:28px;padding:3px 10px;border:1px solid #b1955c52;background:#8e70341c;color:#e2c389;border-radius:4px;font-size:11px;font-weight:750;white-space:nowrap}
.world-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:18px}
.world-image{position:relative;border:1px solid #746543;background:#131c17;border-radius:6px;overflow:hidden}
.world-image img{width:100%;height:100%;object-fit:cover}
.world-image figcaption{position:absolute;bottom:0;left:0;right:0;padding:13px 15px;background:linear-gradient(0deg,#0a1013f7,#0a101300);font-size:11px;font-weight:800;color:#f2e3bd}
.sects{display:grid;gap:6px;grid-template-rows:repeat(5,1fr)}
.sect{display:grid;grid-template-columns:36px minmax(75px,1fr) auto 21px;align-items:center;gap:12px;padding:8px 13px;border:1px solid var(--line);background:#16221b;border-radius:5px;color:#eedfc3}
.sect-icon{width:34px;height:34px;display:grid;place-items:center;border:1px solid currentColor;border-radius:50%;color:var(--accent)}
.sect-icon .icon{width:17px;height:17px}
.sect strong{font:700 16px/1.2 var(--serif)}
.sect small{color:var(--muted);font-size:11px}
.sect-number{color:var(--accent);font-size:11px}
.sect.blue{--accent:#8fbded}.sect.violet{--accent:#c1a5f5}.sect.gold{--accent:#efca83}.sect.jade{--accent:#88d1ac}.sect.red{--accent:#f0a5aa}
.topic-list{border:1px solid var(--line);background:var(--panel);border-radius:6px;overflow:hidden}
.topic-row{display:grid;grid-template-columns:43px minmax(0,1fr) auto 16px;align-items:center;gap:14px;padding:15px 18px}
.topic-row+.topic-row{border-top:1px solid var(--line)}
.topic-row:hover{background:#1e3025}
.topic-row strong,.topic-row small{display:block;overflow-wrap:anywhere}
.topic-row strong{font-size:16px;color:#f5e8c9}
.topic-row small{color:var(--muted);font-size:12px;margin-top:2px}
.topic-cat{color:#e4ba78;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.topic-count{color:var(--muted);font-size:12px;white-space:nowrap}
.topic-count .icon{width:15px;height:15px;margin-right:3px}
.site-foot{border-top:1px solid var(--line);background:#0e1813;padding:24px 0}
.foot-row{display:flex;gap:20px;justify-content:space-between;align-items:center}
.foot-row p,.foot-row>div{color:#a8b4aa;font-size:12px}
.foot-row>div{display:flex;gap:17px}
.foot-row a:hover{color:#f5d89c}
.account-page{background:linear-gradient(90deg,#0a1511f5,#0a15119c),url("/assets/thanh-moc-thon.webp") center/cover no-repeat;min-height:min(665px,85vh);display:grid;align-items:center;padding:66px 0}
.account-layout{display:grid;grid-template-columns:1fr minmax(300px,460px);gap:38px;align-items:center}
.account-intro h1,.page-banner h1,.page-narrow h1,.game-bar h1{font:700 clamp(37px,6vw,72px)/1.05 var(--serif);color:#fff0ca;margin:.2em 0;letter-spacing:-.035em;overflow-wrap:anywhere}
.account-intro p:not(.kicker),.page-banner p:not(.kicker){color:#cfdbce;max-width:410px}
.panel{background:var(--panel);border:1px solid var(--line);border-radius:7px}
.account-card{padding:28px;border-top-color:#ae8b50;box-shadow:0 18px 55px #0005}
.account-card h2,.forum-side h2,.guide h2,.replies-title{color:#f2e5c5;font:700 25px/1.2 var(--serif);margin-bottom:14px}
.account-card p,.guide p{color:#c2cec0}
.tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:23px}
.tabs a{padding:0 0 10px;color:#b8c4b8;font-weight:650}
.tabs a[aria-current]{color:var(--gold-light);box-shadow:0 2px var(--gold)}
.form{display:grid;gap:9px}
.form label{color:#f1e7ce;font-weight:700;font-size:13px}
.form input:not([type=hidden]),.form textarea,.form select{width:100%;border:1px solid #526457;background:#0a1410;color:var(--ink);border-radius:5px;padding:11px 12px;margin-bottom:8px;outline-offset:2px}
.form textarea{resize:vertical}
.form small{color:var(--muted);font-size:12px;margin-top:-7px;margin-bottom:6px}
.form button{justify-self:start;margin-top:6px}
.form-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:17px}
.notice,.profile-chip{display:flex;align-items:center;gap:9px;color:#c1e3c4;font-size:13px;margin-bottom:15px}
.profile-chip .tag{margin-left:auto}
.error{color:#ffd1c6!important;border:1px solid #ab6b58;padding:9px 11px;background:#552c27;margin:0 0 14px}
.page-banner{padding:46px 0;background:radial-gradient(ellipse at 84% 0,#2f4533,transparent 56%),linear-gradient(110deg,#1e2e23,#111a15);border-bottom:1px solid var(--line)}
.page-banner h1{font-size:54px}
.forum-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:22px;padding-top:32px;padding-bottom:58px;min-height:370px}
.forum-side{padding:16px;border:1px solid var(--line);border-radius:6px;background:var(--panel);align-self:start}
.forum-side h2{font-size:20px}
.forum-side a{display:block;padding:8px 10px;border-radius:3px;color:#becbbe;font-size:13px}
.forum-side a:hover,.forum-side a.selected{background:#2a3a29;color:#f1d28e}
.forum-content .section-head{align-items:center}
.forum-content h2{font-size:27px}
.empty{padding:18px;color:var(--muted)}
.page-narrow{max-width:825px;min-height:55vh;padding-block:34px 60px}
.page-narrow h1{font-size:clamp(34px,5.1vw,54px);margin-bottom:19px}
.back{display:inline-block;color:#d9c18e;font-size:13px;margin-bottom:19px}
.writing-panel,.post{padding:21px;margin-bottom:12px}
.post-body{white-space:pre-wrap;overflow-wrap:anywhere}
.byline{color:#b6c1ae;font-size:12px;margin-bottom:8px}
.replies-title{margin:22px 0 12px}
.replies-title span{font:700 15px var(--sans);color:var(--gold)}
.guide h2{margin-top:18px}
.guide h2:first-child{margin-top:0}
.guide dt{font-weight:750;color:#f1dcad}
.guide dd{margin:0 0 9px;color:#c2cec0}
.status p:not(.kicker){margin-bottom:22px;color:var(--muted)}
.game-layout{width:min(1500px,calc(100% - 42px));padding-block:17px 24px}
.game-bar{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:13px}
.game-bar h1{font-size:35px;margin:3px 0}
.game-actions{display:flex;flex-wrap:wrap;gap:7px}
.game-frame{width:100%;height:max(500px,calc(100dvh - 175px));display:block;border:1px solid #826c45;border-radius:7px;background:#0f1c15}
.game-tip{display:flex;align-items:center;gap:10px;margin-top:11px;color:var(--muted);font-size:12px}
kbd{padding:1px 4px;margin-inline:1px;border:1px solid var(--line);border-radius:3px;color:#ebdec1;background:#17251c}
@media(max-width:1000px){.nav-row{gap:13px}nav{gap:15px}.account-actions{gap:2px}.account-actions .button{padding-inline:9px}.portal{padding-inline:13px}.hero-art{inset-inline-start:3%}}
@media(max-width:760px){.shell{width:calc(100% - 36px)}.nav-row{grid-template-columns:1fr auto;gap:5px 12px;padding-top:10px}.nav-row nav{grid-column:1/-1;grid-row:2;gap:0;justify-content:space-between}nav a{min-height:42px}.account-actions{grid-column:2;grid-row:1}.hero{min-height:480px}.hero-copy{padding-block:56px 72px}.hero:after{background:linear-gradient(90deg,#0b1411f8 4%,#0b1411cc 45%,#0b141139 100%),linear-gradient(0deg,#0b120f 0%,transparent 55%)}.hero-art{inset-inline-start:0;background-position:57% center}.hero-caption{bottom:24px}.portals{grid-template-columns:1fr}.portal{min-height:70px}.world-section,.front-forum{margin-top:36px}.world-grid,.account-layout,.forum-layout{grid-template-columns:1fr}.account-page{padding-block:33px}.account-card{padding:20px}.world-image img{height:auto}.forum-side{display:flex;align-items:center;gap:5px;overflow:auto;padding:9px}.forum-side h2{display:none}.forum-side a{white-space:nowrap;font-size:11px;padding:6px}.foot-row{flex-wrap:wrap;gap:12px}.game-layout{width:calc(100% - 16px)}.game-frame{height:max(610px,calc(100dvh - 186px))}.game-tip{align-items:start}}
@media(max-width:420px){.brand strong{font-size:16px}.brand small{font-size:7px}.brand{gap:7px}.seal{width:32px;height:32px}.account-actions .button{font-size:11px;min-height:35px}.account-actions .quiet .icon{display:none}.hero h1{font-size:62px}.hero-actions{gap:7px}.hero-actions .button{padding-inline:11px;font-size:12px}.hero-copy>p{font-size:15px}.section-head{align-items:start}.topic-row{padding-inline:11px;gap:9px}.game-bar{align-items:start}.game-actions .button{min-height:36px;padding-inline:7px;font-size:11px}.forum-content .section-head h2{font-size:21px}.forum-content .section-head .button{padding-inline:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.button{transition:none}}

.registration-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:16px}
.registration-stat{display:grid;gap:4px;padding:18px 21px}
.registration-stat span,.registration-head p{color:var(--muted);font-size:13px}
.registration-stat strong{font:700 35px/1.15 var(--serif);color:var(--gold-light)}
.registration-head{align-items:center}
.registration-head h2{font-size:26px}
.registration-table{overflow-x:auto}
.registration-table table{width:100%;border-collapse:collapse;text-align:left}
.registration-table th,.registration-table td{padding:11px 10px;border-top:1px solid var(--line)}
.registration-table th{color:var(--gold);font-size:13px}
.registration-table td{overflow-wrap:anywhere}
@media(max-width:420px){.registration-stat{padding:12px}.registration-stat strong{font-size:28px}.registration-head h2{font-size:21px}.registration-table td{font-size:13px}}
