:root {
	--navy-950: #071a2d;
	--navy-900: #0b2940;
	--navy-800: #124767;
	--navy-700: #176b85;
	--ocean: #078eae;
	--ocean-light: #55d3db;
	--coral: #f4517a;
	--gold: #f2bd66;
	--paper: #f3fbfc;
	--white: #ffffff;
	--ink: #172033;
	--muted: #687386;
	--line: #dfe5e9;
	--success: #16815f;
	--danger: #b9384c;
	--shadow: 0 18px 48px rgba(7, 16, 31, .12);
	--radius: 18px;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
	min-height: 100vh;
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 15px/1.65 "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	-webkit-font-smoothing: antialiased;
}
a { color: var(--ocean); text-decoration: none; }
a:hover { color: #0d6d7c; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 1000; padding: 10px 16px; background: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(7, 26, 45, .97);
	border-bottom: 1px solid rgba(255,255,255,.08);
	backdrop-filter: blur(12px);
}
.header-inner { max-width: 1440px; height: 76px; margin: auto; padding: 0 30px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: white; margin-right: auto; }
.brand:hover { color: white; }
.brand-mark { width: 44px; height: 44px; flex: 0 0 auto; object-fit: contain; filter: drop-shadow(0 0 7px rgba(244,81,122,.38)); }
.brand:hover .brand-mark, .brand:focus-visible .brand-mark { animation: poring-bounce .62s ease-in-out; }
@keyframes poring-bounce {
	0%, 100% { transform: translateY(0) scale(1); }
	18% { transform: translateY(2px) scale(1.08,.91); }
	48% { transform: translateY(-11px) rotate(-6deg) scale(.96,1.06); }
	68% { transform: translateY(0) rotate(3deg) scale(1.08,.92); }
	84% { transform: translateY(-3px) rotate(-1deg) scale(.99,1.02); }
}
.brand-copy { display: grid; line-height: 1.2; }
.brand-copy strong { font-family: Georgia, serif; font-size: 19px; letter-spacing: .01em; }
.brand-copy small { margin-top: 4px; color: #9db2c7; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.quick-nav { display: flex; align-items: center; gap: 6px; }
.quick-nav a { padding: 9px 13px; border-radius: 9px; color: #d9e6ef; font-size: 14px; font-weight: 600; }
.quick-nav a:hover { background: rgba(255,255,255,.08); color: white; }
.header-live { position: relative; min-width: 125px; display: grid; grid-template-columns: 15px auto; column-gap: 7px; align-items: center; padding: 7px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(255,255,255,.045); color: white; line-height: 1.15; }
.header-live:hover { border-color: rgba(85,211,219,.36); background: rgba(255,255,255,.08); color: white; }
.header-live .status-dot { position: static; grid-row: 1 / 3; width: 10px; height: 10px; border-width: 2px; }
.header-live b { font-size: 12px; }
.header-live small { color: #9db2c7; font-size: 9px; }
.menu-toggle, .sidebar-close { display: none; border: 0; background: transparent; color: white; cursor: pointer; }

.page-shell { max-width: 1440px; min-height: calc(100vh - 76px); margin: auto; display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.site-sidebar { padding: 28px 18px 44px; background: linear-gradient(180deg, #0a2941, #0d3852); color: #d9eef4; }
.sidebar-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 0 8px; padding: 9px 12px 9px 14px; border-left: 3px solid var(--coral); border-radius: 0 9px 9px 0; background: linear-gradient(90deg, rgba(244,81,122,.14), transparent 88%); color: #ffe0a6; font-size: 12px; font-weight: 900; letter-spacing: .16em; text-shadow: 0 1px 8px rgba(242,189,102,.18); text-transform: uppercase; }
.site-sidebar table { width: 100%; margin: 0 0 18px; border: 0; border-collapse: collapse; }
.site-sidebar tr:first-child, .site-sidebar tr:last-child { display: none; }
.site-sidebar th { padding: 18px 12px 9px 15px; border-bottom: 1px solid rgba(242,189,102,.22); color: #f7cb7f; font-size: 11px; font-weight: 900; letter-spacing: .13em; text-align: left; text-shadow: 0 1px 7px rgba(242,189,102,.16); text-transform: uppercase; }
.site-sidebar th::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 8px 2px 0; border-radius: 50%; background: var(--coral); box-shadow: 0 0 7px rgba(244,81,122,.65); }
.site-sidebar td { padding: 0; }
.site-sidebar .menuitem a { display: block; margin: 2px 0; padding: 9px 12px; border-radius: 9px; color: #cad8e5; font-size: 13px; transition: .18s ease; }
.site-sidebar .menuitem a:hover { padding-left: 16px; background: rgba(82,197,200,.11); color: white; }
.site-sidebar #admin_sidebar { padding: 8px; border: 1px solid rgba(244,191,98,.2); border-radius: 12px; background: rgba(244,191,98,.06); }
.site-sidebar #admin_sidebar th { color: var(--gold); }
.site-main { min-width: 0; padding: 34px clamp(20px, 4vw, 54px) 64px; background: linear-gradient(135deg, #faffff 0%, #e9f7f8 100%); }
.content-card { max-width: 1120px; margin: 0 auto; }
.sidebar-scrim { display: none; }

#loginbox { margin: 0 auto 18px; border-collapse: collapse; max-width: 1120px; border: 1px solid #c8e4e5; border-radius: 12px; background: #e7f6f6; color: #23414c; overflow: hidden; }
#loginbox tr:first-child, #loginbox tr:last-child, #loginbox td:first-child, #loginbox td:last-child { display: none; }
#loginbox td { padding: 11px 15px; background: transparent !important; }
#loginbox form { display: inline; }
#submenu, #pagemenu, .message, .notice, .error, .red { max-width: 1120px; margin: 0 auto 16px; padding: 12px 16px; border-radius: 10px; }
#submenu, #pagemenu { background: white; border: 1px solid var(--line); color: var(--muted); }
#submenu a, #pagemenu a { display: inline-block; margin: 2px; padding: 4px 8px; border-radius: 6px; background: #edf7f7; }
.message { border-left: 4px solid var(--success); background: #eaf8f2; color: #116747; }
.notice { border-left: 4px solid var(--gold); background: #fff7e5; color: #72521a; }
.error, .red { border-left: 4px solid var(--danger); background: #fff0f2; color: #8c2538; }

.hero { position: relative; min-height: 465px; display: grid; grid-template-columns: 1fr; align-items: center; overflow: hidden; padding: clamp(34px, 6vw, 72px); border-radius: 26px; background-image: linear-gradient(90deg, rgba(5,31,57,.92) 0%, rgba(5,46,75,.78) 35%, rgba(5,55,80,.30) 58%, rgba(5,55,80,.02) 78%), url('../img/hero-scene-clean.jpg'); background-size: cover; background-position: center center; color: white; box-shadow: var(--shadow); }
.hero:after { content: ""; position: absolute; z-index: 2; inset: auto 0 0; height: 25%; background: linear-gradient(0deg, rgba(2,29,49,.22), transparent); pointer-events: none; }
.hero-content { position: relative; z-index: 3; max-width: 570px; }
.hero-porings { position: absolute; z-index: 1; inset: 0; pointer-events: none; }
.hero-poring { position: absolute; max-width: none; object-fit: contain; will-change: transform; }
.hero-poring-flying { top: 4%; right: 5%; width: clamp(300px, 34%, 430px); animation: hero-poring-float 3.2s ease-in-out infinite; }
.hero-poring-adventurer { right: 17%; bottom: -12%; width: clamp(310px, 36%, 450px); transform-origin: 50% 82%; animation: hero-poring-squish 3.7s ease-in-out .45s infinite; }
.hero-poring-small { right: 2.5%; bottom: 7%; width: clamp(105px, 12%, 145px); transform-origin: 50% 90%; animation: hero-poring-peek 2.9s ease-in-out .9s infinite; }
@keyframes hero-poring-float {
	0%, 100% { transform: translateY(0) rotate(0); }
	45% { transform: translateY(-12px) rotate(-2deg); }
	60% { transform: translateY(-9px) rotate(2deg); }
}
@keyframes hero-poring-squish {
	0%, 70%, 100% { transform: translateY(0) scale(1); }
	78% { transform: translateY(3px) scale(1.035,.965); }
	88% { transform: translateY(-8px) scale(.985,1.025); }
	94% { transform: translateY(1px) scale(1.02,.98); }
}
@keyframes hero-poring-peek {
	0%, 65%, 100% { transform: translateY(0) rotate(0); }
	76% { transform: translateY(-9px) rotate(4deg) scale(.98,1.03); }
	86% { transform: translateY(1px) rotate(-3deg) scale(1.04,.96); }
}
.eyebrow { display: block; margin-bottom: 11px; color: var(--coral); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { max-width: 650px; margin: 0; font: 700 clamp(38px, 5vw, 68px)/.98 Georgia, serif; letter-spacing: -.035em; }
.hero p { max-width: 580px; margin: 22px 0 27px; color: #bfd0dd; font-size: clamp(16px, 1.5vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid transparent; border-radius: 10px; font-weight: 750; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--coral); color: white; box-shadow: 0 10px 22px rgba(255,113,91,.24); }
.button-primary:hover { background: #ff826f; color: white; }
.button-secondary { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.06); color: white; }
.button-secondary:hover { background: rgba(255,255,255,.13); color: white; }
.button-discord-pending { border-color: rgba(198,203,255,.34); background: rgba(88,101,242,.22); color: #e7e9ff; cursor: default; opacity: .82; }
.button-discord-pending:hover { transform: none; }
.button-discord { border-color: #7d87ff; background: #5865f2; color: white; box-shadow: 0 10px 24px rgba(88,101,242,.25); }
.button-discord:hover { background: #6975f5; color: white; }
.hero-art { display: none; }
.sun { position: absolute; width: 150px; height: 150px; top: 5px; right: 12%; border-radius: 50%; background: radial-gradient(circle, #ffe0a1 0%, var(--gold) 48%, rgba(244,191,98,.08) 70%); box-shadow: 0 0 75px rgba(244,191,98,.34); }
.island { position: absolute; right: -18%; bottom: 18px; width: 122%; height: 80px; border-radius: 50%; background: #963c57; transform: rotate(-7deg); }
.island-back { right: -36%; bottom: 76px; opacity: .38; transform: rotate(8deg); }
.hero-emblem { position: absolute; z-index: 3; right: 20%; top: 35%; width: 132px; height: 132px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; background: rgba(7,16,31,.52); color: white; font: 700 35px Georgia, serif; box-shadow: 0 20px 50px rgba(0,0,0,.28), inset 0 0 0 8px rgba(255,255,255,.04); backdrop-filter: blur(5px); }
.hero-emblem span { color: var(--ocean-light); }

.feature-grid { position: relative; z-index: 4; width: calc(100% - 54px); margin: -30px auto 54px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.feature-card { display: flex; align-items: center; gap: 14px; min-height: 92px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: white; color: var(--ink); box-shadow: 0 10px 28px rgba(7,16,31,.08); }
.feature-card:hover { border-color: #a8d9dc; color: var(--ink); transform: translateY(-2px); }
.feature-icon { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #e6f5f5; color: var(--ocean); font-size: 18px; }
.feature-card div { display: grid; }
.feature-card strong { font-size: 15px; }
.feature-card small { color: var(--muted); }

.server-facts { position: relative; z-index: 5; width: calc(100% - 54px); margin: -30px auto 18px; display: grid; grid-template-columns: repeat(5, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 12px 30px rgba(7,16,31,.09); }
.server-facts div { min-width: 0; padding: 17px 18px; border-right: 1px solid var(--line); }
.server-facts div:last-child { border: 0; }
.server-facts small, .live-card small { display: block; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.server-facts strong { display: block; overflow: hidden; margin-top: 2px; color: var(--navy-900); font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.home-section { margin: 0 0 64px; scroll-margin-top: 96px; }
.centered-heading { justify-content: center; text-align: center; }
.live-section { margin-top: 38px; }
.live-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.live-card { position: relative; min-height: 104px; padding: 22px 20px 18px 49px; border: 1px solid var(--line); border-radius: 15px; background: white; box-shadow: 0 8px 24px rgba(7,16,31,.05); }
.live-card strong { display: block; margin-top: 4px; font-size: 16px; }
.status-dot { position: absolute; top: 28px; left: 21px; width: 12px; height: 12px; border: 3px solid white; border-radius: 50%; box-shadow: 0 0 0 1px #cfd8dd; }
.status-loading { background: var(--gold); animation: status-pulse 1.2s ease-in-out infinite; }
.status-online { background: #1bc486; box-shadow: 0 0 0 1px #84d9bb, 0 0 14px rgba(27,196,134,.45); }
.status-offline { background: var(--danger); }
.status-unknown { background: #a5adb7; }
@keyframes status-pulse { 50% { opacity: .35; } }
.live-players { display: flex; align-items: center; gap: 14px; padding-left: 20px; background: linear-gradient(135deg,var(--navy-900),var(--navy-800)); color: white; }
.live-players small { color: #9fc0d0; }
.live-number { min-width: 55px; color: var(--ocean-light); font: 700 38px/1 Georgia,serif; text-align: center; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; counter-reset: step; }
.step-card { position: relative; min-height: 245px; overflow: hidden; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 10px 28px rgba(7,16,31,.05); }
.step-card > span { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; background: #e5f6f7; color: var(--ocean); font-size: 20px; font-weight: 900; }
.step-card h3, .value-card h3 { margin: 20px 0 8px; font: 700 21px Georgia,serif; }
.step-card p, .value-card p { margin: 0 0 16px; color: var(--muted); }
.step-card a { font-weight: 800; }
.step-card .mirror-link { margin-left: 10px; color: var(--muted); font-size: 12px; }
.step-card em { color: #8c6a2e; font-style: normal; font-weight: 700; }
.download-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 24px; margin-top: 16px; color: var(--muted); font-size: 12px; }
.checksum { min-width: 0; }
.checksum code { overflow-wrap: anywhere; }
.features-section { padding: 44px; border-radius: 24px; background: var(--navy-900); }
.features-section .section-heading h2 { color: white; }
.features-section .eyebrow { color: var(--gold); }
.value-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.value-card { padding: 25px; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; background: rgba(255,255,255,.055); }
.value-card > span { color: var(--ocean-light); font-size: 26px; }
.value-card h3 { margin-top: 13px; color: white; }
.value-card p { margin-bottom: 0; color: #b5cad7; }
.community-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.community-panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 10px 28px rgba(7,16,31,.05); }
.panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.panel-heading .eyebrow { margin-bottom: 3px; color: var(--ocean); }
.panel-heading h2 { margin: 0; font: 700 27px Georgia,serif; }
.panel-heading > a { font-size: 13px; font-weight: 800; white-space: nowrap; }
.event-list { display: grid; gap: 2px; }
.event-list article { display: grid; grid-template-columns: 96px 1fr; gap: 17px; padding: 17px 0; border-top: 1px solid var(--line); }
.event-list time { color: var(--coral); font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.event-list h3 { margin: 0 0 3px; font-size: 15px; }
.event-list p, .ranking-empty p { margin: 0; color: var(--muted); font-size: 13px; }
.mini-ranking { margin: 0; padding: 0; list-style: none; }
.mini-ranking li { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; padding: 14px 0; border-top: 1px solid var(--line); }
.mini-ranking li > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #e8f6f6; color: var(--ocean); font-weight: 900; }
.mini-ranking li:first-child > span { background: #fff1c9; color: #9a6711; }
.mini-ranking small { color: var(--muted); }
.ranking-empty { padding: 28px 10px; border-top: 1px solid var(--line); text-align: center; }
.gallery-grid { display: grid; grid-template-columns: 1.5fr .7fr; gap: 16px; }
.gallery-grid figure { margin: 0; }
.gallery-main { position: relative; min-height: 330px; overflow: hidden; border-radius: var(--radius); }
.gallery-main img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.gallery-main figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 40px 22px 18px; background: linear-gradient(transparent,rgba(4,24,40,.78)); color: white; font-weight: 800; }
.gallery-placeholder { min-height: 330px; display: grid; align-content: center; justify-items: center; padding: 30px; border: 1px dashed #abcbd1; border-radius: var(--radius); background: rgba(255,255,255,.65); text-align: center; }
.gallery-placeholder span { font-size: 35px; }
.gallery-placeholder strong { margin-top: 12px; font: 700 20px Georgia,serif; }
.gallery-placeholder p { max-width: 270px; margin: 7px 0 0; color: var(--muted); }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); border-radius: 12px; background: white; }
.faq-list summary { position: relative; padding: 17px 48px 17px 20px; cursor: pointer; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:after { content: "+"; position: absolute; top: 11px; right: 18px; color: var(--ocean); font-size: 25px; font-weight: 400; }
.faq-list details[open] summary:after { content: "−"; }
.faq-list p { margin: 0; padding: 0 20px 18px; color: var(--muted); }
.discord-float { position: fixed; z-index: 45; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px; background: #5865f2; color: white; box-shadow: 0 12px 30px rgba(35,43,124,.35); }
.discord-float:hover { transform: translateY(-2px); color: white; }
.discord-float b { font-size: 12px; }

.news-section { margin: 0 0 54px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 20px; }
.section-heading .eyebrow { margin-bottom: 4px; color: var(--ocean); }
.section-heading h2, .journey-banner h2 { margin: 0; font: 700 clamp(27px, 3vw, 38px)/1.1 Georgia, serif; }
.section-heading > a { font-weight: 700; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 10px 28px rgba(7,16,31,.05); }
.news-card time { color: var(--ocean); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.news-card h3 { margin: 8px 0 12px; font: 700 22px/1.2 Georgia, serif; }
.news-body { color: var(--muted); }
.news-body img { border-radius: 10px; }
.text-link { display: inline-block; margin-top: 12px; font-weight: 700; }
.empty-news { display: flex; align-items: center; gap: 18px; padding: 28px; border: 1px dashed #bfd3d8; border-radius: var(--radius); background: rgba(255,255,255,.72); }
.empty-news > span { width: 52px; height: 52px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #e5f5f4; color: var(--ocean); font-size: 22px; }
.empty-news h3 { margin: 0 0 4px; font: 700 21px Georgia, serif; }
.empty-news p { margin: 0; color: var(--muted); }
.journey-banner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 34px 40px; border-radius: var(--radius); background: linear-gradient(120deg, #087f9d, #20aebe); color: white; box-shadow: var(--shadow); }
.journey-banner .eyebrow { color: #b7f0eb; }
.journey-banner p { margin: 8px 0 0; color: #d0ebed; }
.button-light { background: white; color: #126d7a; white-space: nowrap; }
.button-light:hover { color: #0d5963; box-shadow: 0 10px 24px rgba(0,0,0,.14); }

.download-panel { display: flex; align-items: center; gap: clamp(24px,5vw,54px); min-height: 330px; padding: clamp(28px,6vw,64px); border: 1px solid #cce6ea; border-radius: 22px; background: radial-gradient(circle at 12% 20%,rgba(85,211,219,.22),transparent 28%),linear-gradient(135deg,#ffffff,#eaf8fa); box-shadow: var(--shadow); }
.download-icon { width: 132px; height: 132px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 35px; background: linear-gradient(145deg,var(--ocean),#14b5bc); color: white; font-size: 70px; font-weight: 300; box-shadow: 0 18px 38px rgba(7,142,174,.24); }
.download-copy { max-width: 610px; }
.download-copy .eyebrow { color: var(--ocean); }
.download-copy h2 { margin: 0 0 10px; font: 700 clamp(32px,5vw,50px)/1 Georgia,serif; }
.download-copy p { margin: 0 0 22px; color: var(--muted); font-size: 17px; }
.download-copy small { display: block; margin-top: 12px; color: var(--muted); }
.download-button { min-width: 230px; }

/* FluxCP views */
.site-main h1, .site-main h2, .site-main h3, .site-main h4 { color: var(--ink); }
.site-main .hero h1, .site-main .journey-banner h2 { color: var(--white); }
.site-main > .content-card > h2:first-child { margin-top: 0; font: 700 32px Georgia, serif; }
table { max-width: 100%; }
.content-card > table, .generic-form-table, .horizontal-table, .vertical-table { width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: white; }
.content-card th, .generic-form-table th, .horizontal-table th, .vertical-table th { padding: 11px 13px; background: var(--navy-800); color: white; text-align: left; }
.content-card td, .generic-form-table td, .horizontal-table td, .vertical-table td { padding: 10px 13px; border-bottom: 1px solid #e7ebee; }
.content-card tr:last-child td { border-bottom: 0; }
.content-card tr:nth-child(even) td { background: #f8fafb; }
input[type=text], input[type=password], input[type=email], input[type=number], input[type=file], select, textarea { max-width: 100%; padding: 9px 11px; border: 1px solid #cbd4da; border-radius: 8px; background: white; color: var(--ink); outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(20,143,163,.14); }
input[type=submit], input[type=button], button:not(.menu-toggle):not(.sidebar-close) { padding: 9px 16px; border: 0; border-radius: 8px; background: var(--ocean); color: white; font-weight: 700; cursor: pointer; }
.pagination { display: flex; flex-wrap: wrap; gap: 4px; margin: 20px 0; }
.pagination a, .pagination strong { padding: 6px 10px; border-radius: 7px; background: white; border: 1px solid var(--line); }
.search-form { padding: 18px; border-radius: 12px; background: white; border: 1px solid var(--line); }

.site-footer { background: var(--navy-950); color: #9eb0c1; }
.footer-inner { max-width: 1440px; margin: auto; padding: 35px 30px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px 30px; }
.footer-inner strong { color: white; font: 700 18px Georgia, serif; }
.footer-inner p { margin: 3px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a, .site-footer a { color: #c9d8e4; }
.footer-inner small { grid-column: 1 / -1; width: 100%; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.08); text-align: center; }

@media (max-width: 960px) {
	.quick-nav { display: none; }
	.header-live { margin-right: 4px; }
	.menu-toggle { display: grid; grid-template-columns: 22px auto; gap: 4px 8px; align-items: center; }
	.menu-toggle span { grid-column: 1; display: block; width: 22px; height: 2px; background: white; }
	.menu-toggle b { grid-column: 2; grid-row: 1 / 4; font-size: 12px; }
	.page-shell { display: block; }
	.site-sidebar { position: fixed; z-index: 80; top: 0; bottom: 0; left: 0; width: min(310px, 86vw); overflow-y: auto; transform: translateX(-105%); transition: transform .22s ease; box-shadow: 20px 0 50px rgba(0,0,0,.25); }
	.sidebar-heading { padding-top: 5px; }
	.sidebar-close { display: block; font-size: 28px; }
	.sidebar-scrim { position: fixed; z-index: 70; inset: 0; visibility: hidden; opacity: 0; background: rgba(4,11,20,.62); transition: .22s ease; }
	.sidebar-scrim { display: block; }
	.menu-open { overflow: hidden; }
	.menu-open .site-sidebar { transform: translateX(0); }
	.menu-open .sidebar-scrim { visibility: visible; opacity: 1; }
	.hero { grid-template-columns: 1fr; }
	.hero-content { max-width: 720px; }
	.news-grid { grid-template-columns: 1fr 1fr; }
	.server-facts { grid-template-columns: repeat(3,1fr); }
	.server-facts div:nth-child(3) { border-right: 0; }
	.server-facts div:nth-child(n+4) { border-top: 1px solid var(--line); }
	.live-grid, .value-grid { grid-template-columns: 1fr 1fr; }
	.community-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
	.header-inner { height: 68px; padding: 0 16px; }
	.brand-mark { width: 39px; height: 39px; }
	.brand-copy strong { font-size: 16px; }
	.brand-copy small { display: none; }
	.header-live { min-width: 0; display: flex; padding: 8px; }
	.header-live b, .header-live small { display: none; }
	.site-main { padding: 18px 13px 42px; }
	.hero { min-height: 560px; padding: 35px 24px; border-radius: 18px; background-image: linear-gradient(180deg, rgba(4,31,53,.91) 0%, rgba(4,46,68,.67) 48%, rgba(4,55,71,.08) 78%), url('../img/hero-scene-clean.jpg'); background-position: 72% center; }
	.hero-porings { display: block; }
	.hero-poring-flying { top: auto; right: -62px; bottom: 42px; width: 245px; }
	.hero-poring-adventurer { right: 21%; bottom: -62px; width: 265px; }
	.hero-poring-small { right: 7px; bottom: 188px; width: 82px; }
	.hero p { margin: 18px 0 23px; }
	.hero-actions .button { width: 100%; }
	.feature-grid { width: calc(100% - 20px); margin-top: -18px; margin-bottom: 38px; grid-template-columns: 1fr; }
	.feature-card { min-height: 76px; }
	.section-heading { align-items: start; }
	.news-grid { grid-template-columns: 1fr; }
	.empty-news { align-items: flex-start; padding: 20px; }
	.journey-banner { align-items: flex-start; flex-direction: column; padding: 28px 24px; }
	.journey-banner .button { width: 100%; }
	.footer-inner { grid-template-columns: 1fr; padding: 30px 20px; }
	.footer-inner small { grid-column: auto; }
	.content-card { overflow-x: auto; }
	.download-panel { align-items: flex-start; flex-direction: column; }
	.download-icon { width: 86px; height: 86px; border-radius: 24px; font-size: 48px; }
	.download-button { width: 100%; }
	.server-facts { width: calc(100% - 20px); margin-top: -18px; grid-template-columns: 1fr 1fr; }
	.server-facts div, .server-facts div:nth-child(3) { border-right: 1px solid var(--line); border-top: 1px solid var(--line); }
	.server-facts div:nth-child(odd) { border-right: 0; }
	.server-facts div:first-child, .server-facts div:nth-child(2) { border-top: 0; }
	.server-facts div:last-child { grid-column: 1/-1; border-right: 0; }
	.home-section { margin-bottom: 46px; }
	.live-grid, .steps-grid, .value-grid, .gallery-grid { grid-template-columns: 1fr; }
	.live-card { min-height: 86px; }
	.step-card { min-height: 0; padding: 24px; }
	.features-section { padding: 31px 20px; }
	.gallery-main, .gallery-placeholder { min-height: 270px; }
	.panel-heading { align-items: flex-start; flex-direction: column; }
	.event-list article { grid-template-columns: 1fr; gap: 4px; }
	.discord-float { right: 14px; bottom: 14px; }
}

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