/* ════════════════════════════════════════════════════════════════
   PRONTERAFREE RO — official-portal theme
   Painted RO key art, real RO sprites, a floating content panel.
   Loaded after flux.css (functional base). Replaces style.css.
   ════════════════════════════════════════════════════════════════ */

:root {
	--ink:        #1b2540;
	--ink-soft:   #47506a;
	--ink-mute:   #7a8299;
	--bg:         #f3f1ec;
	--panel:      #ffffff;
	--soft:       #f6f4ef;
	--rule:       #e7e2d6;
	--rule-soft:  #efebe2;

	--red:        #e2373f;
	--red-hi:     #f04851;
	--red-lo:     #b9232b;
	--gold:       #f2b33d;
	--gold-lo:    #c28a1c;
	--blue:       #2c6fd6;
	--sky:        #39b5e6;
	--meadow:     #3e9b47;
	--digital:    #14a3d6;

	--online:     #2fb05a;
	--offline:    #e2373f;

	--ff-head:  'Poppins', 'Segoe UI', system-ui, sans-serif;
	--ff-ui:    'Nunito', 'Segoe UI', system-ui, sans-serif;
	--ff-pixel: 'Silkscreen', 'Courier New', monospace;

	--wrap: 1200px;
	--gutter: 24px;
	--radius: 22px;
	--shadow: 0 1px 2px rgba(27,37,64,.05), 0 18px 44px -24px rgba(27,37,64,.32);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--bg); color: var(--ink);
	font-family: var(--ff-ui); font-size: 16px; line-height: 1.6;
	overflow-x: hidden; font-variant-numeric: lining-nums;
}
img { max-width: 100%; }
a { color: var(--red); text-decoration: none; transition: color .15s; }
a:hover { color: var(--red-lo); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.clear { clear: both; }
.sprite, .px { image-rendering: pixelated; image-rendering: crisp-edges; }

/* ── buttons ─────────────────────────────────────────────────── */
.btn-k {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	font: 700 15px/1 var(--ff-head); padding: 15px 26px; border-radius: 999px;
	border: 2px solid transparent; cursor: pointer; white-space: nowrap;
	transition: transform .15s, box-shadow .15s, background .15s, color .15s, border-color .15s;
}
.btn-k:hover { transform: translateY(-2px); }
.btn-k svg { width: 18px; height: 18px; flex: none; }
.btn-red   { background: var(--red); color: #fff; box-shadow: 0 10px 22px -10px rgba(226,55,63,.8); }
.btn-red:hover { background: var(--red-hi); color: #fff; }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 10px 24px -12px rgba(27,37,64,.45); }
.btn-white:hover { color: var(--ink); }
.btn-line  { background: transparent; color: var(--red); border-color: var(--red); }
.btn-line:hover { background: var(--red); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }

/* ── section label: pixel icon + pixel caps (RO-style) ────────── */
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 16px; }
.sec-label { display: flex; align-items: center; gap: 10px; font: 700 20px/1 var(--ff-pixel); letter-spacing: .02em; color: var(--ink); margin: 0; text-transform: uppercase; }
.sec-label svg { width: 22px; height: 22px; flex: none; }
.sec-more { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--ink); }
.sec-more:hover { background: var(--soft); color: var(--red); }
.sec-more svg { width: 18px; height: 18px; }

/* ════════════════════════════════════════════════════════════════
   UTILITY BAR
   ════════════════════════════════════════════════════════════════ */
.utility { background: #fff; border-bottom: 1px solid var(--rule-soft); font-size: 12.5px; position: relative; z-index: 61; }
.utility .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.realms { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-weight: 800; color: var(--ink-soft); letter-spacing: .04em; text-transform: uppercase; font-size: 11.5px; }
.realm { display: inline-flex; align-items: center; gap: 6px; }
.realm i { width: 8px; height: 8px; border-radius: 50%; background: var(--online); box-shadow: 0 0 0 3px rgba(47,176,90,.18); }
.realm.is-off i { background: var(--offline); box-shadow: 0 0 0 3px rgba(226,55,63,.18); }
.realm-woe i { background: #c9ccd6; box-shadow: none; }
.realm-woe.is-live { color: var(--red); }
.realm-woe.is-live i { background: var(--red); box-shadow: 0 0 0 3px rgba(226,55,63,.2); animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.utility-right { display: flex; align-items: center; gap: 8px; }
.icon-link { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--ink-soft); }
.icon-link svg { width: 17px; height: 17px; }
.icon-link.fb:hover { background: #1877f2; color: #fff; }
.icon-link.dc:hover { background: #5865f2; color: #fff; }
.utility .btn-k { padding: 8px 16px; font-size: 13px; }

/* login popover */
.login-pop { position: relative; }
.login-pop > summary { list-style: none; }
.login-pop > summary::-webkit-details-marker { display: none; }
.login-pop-panel {
	position: absolute; right: 0; top: calc(100% + 10px); width: 310px; z-index: 80;
	background: #fff; border: 1px solid var(--rule); border-radius: 18px; padding: 22px;
	box-shadow: 0 24px 50px -18px rgba(27,37,64,.45);
}
.login-pop-head { font: 700 20px/1.2 var(--ff-head); margin: 0 0 4px; }
.login-pop-sub { font-size: 14px; color: var(--ink-mute); margin: 0 0 14px; }
.lp-form { display: grid; gap: 9px; }
.lp-form label { font: 800 11.5px/1 var(--ff-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.lp-form input[type=text], .lp-form input[type=password] {
	width: 100%; font: 600 16px/1.2 var(--ff-ui); color: var(--ink);
	padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--rule); background: var(--soft);
}
.lp-form input:focus { border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(57,181,230,.2); outline: 0; }
.lp-form .btn-k { width: 100%; margin-top: 6px; }
.lp-links { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; font-weight: 700; margin-top: 4px; }
.lp-links a { color: var(--ink-soft); }
.lp-links a:hover { color: var(--red); }
.lp-logged { font-size: 14.5px; color: var(--ink-soft); }
.lp-logged .buttons { display: flex; gap: 8px; margin-top: 12px; }
.user-chip { display: inline-flex; align-items: center; gap: 8px; font: 700 13.5px/1 var(--ff-head); color: var(--ink); padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--soft); }
.user-chip i { width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 12px; }
.user-chip:hover { color: var(--ink); background: var(--rule-soft); }

/* ════════════════════════════════════════════════════════════════
   MASTHEAD — icon nav split around a centred crest
   ════════════════════════════════════════════════════════════════ */
.masthead {
	position: sticky; top: 0; z-index: 60;
	background: rgba(255,255,255,.96); border-bottom: 1px solid var(--rule-soft);
	box-shadow: 0 6px 24px -18px rgba(27,37,64,.5);
}
.masthead .wrap { display: grid; grid-template-columns: 1fr 220px 1fr; align-items: center; min-height: 84px; }
.nav { display: flex; align-items: stretch; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-left  { grid-column: 1; grid-row: 1; justify-content: flex-end; padding-right: 18px; }
.nav-right { grid-column: 3; grid-row: 1; justify-content: flex-start; padding-left: 18px; }
.crest { grid-column: 2; grid-row: 1; }
.nav-item { position: relative; list-style: none; }
.nav-link {
	display: flex; flex-direction: column; align-items: center; gap: 5px;
	padding: 10px 14px 9px; border-radius: 14px; color: var(--ink); min-width: 86px;
	font: 700 12.5px/1 var(--ff-head); letter-spacing: .06em; text-transform: uppercase;
}
.nav-ico {
	width: 38px; height: 38px; border-radius: 50%; overflow: hidden; display: block;
	background: var(--soft); box-shadow: inset 0 0 0 2px #fff, 0 2px 6px -2px rgba(27,37,64,.3);
	transition: transform .2s;
}
.nav-ico img { width: 100%; height: 100%; object-fit: cover; object-position: center 78%; transform: scale(1.35); transform-origin: center 70%; }
.nav-ico.is-pixel { background: #fff3d6; display: grid; place-items: center; }
.nav-ico.is-pixel svg { width: 22px; height: 22px; }
.nav-link:hover, .nav-item:focus-within > .nav-link { color: var(--red); background: var(--soft); }
.nav-link:hover .nav-ico { transform: translateY(-2px) rotate(-4deg); }
.nav-link.is-current { color: var(--red); }
.nav-link.is-current .nav-ico { box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px var(--red); }

.nav-menu {
	position: absolute; top: calc(100% + 8px); left: 50%; min-width: 240px; padding: 8px; margin: 0; list-style: none;
	background: #fff; border: 1px solid var(--rule); border-radius: 16px;
	box-shadow: 0 22px 44px -18px rgba(27,37,64,.4);
	opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item:hover > .nav-menu, .nav-item:focus-within > .nav-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-menu a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1.25; }
.nav-menu a small { display: block; font-weight: 600; font-size: 12.5px; color: var(--ink-mute); margin-top: 2px; }
.nav-menu a:hover { background: var(--soft); color: var(--red); }
.nav-menu hr { border: 0; border-top: 1px solid var(--rule-soft); margin: 6px 4px; }

.crest { position: relative; display: flex; justify-content: center; align-self: stretch; }
.crest-logo { display: block; padding-top: 8px; position: relative; z-index: 2; }
.crest-logo img { height: 66px; width: auto; display: block; filter: drop-shadow(0 4px 8px rgba(27,37,64,.18)); transition: transform .25s; }
.crest-logo:hover img { transform: scale(1.04) rotate(-1.5deg); }
.medallion {
	position: absolute; left: 50%; top: 100%; width: 112px; margin: -12px 0 0 -56px; z-index: 1;
	display: block; text-align: center; color: #fff;
	transition: transform .25s, opacity .25s;
}
.medallion-disc {
	display: block; width: 112px; height: 112px; border-radius: 50%; overflow: hidden; position: relative;
	background: radial-gradient(circle at 50% 35%, #7fdcff, #2a8fe0 65%, #145fb5);
	border: 5px solid #fff; box-shadow: 0 16px 30px -12px rgba(20,95,181,.7);
}
.medallion-disc img { position: absolute; left: 50%; top: -22px; width: 132px; max-width: none; height: auto; transform: translateX(-50%); }
.medallion b {
	position: relative; display: inline-block; margin-top: -16px; padding: 7px 12px 6px; border-radius: 8px;
	background: var(--red); border: 3px solid #fff; box-shadow: 0 8px 16px -8px rgba(185,35,43,.8);
	font: 700 13px/1 var(--ff-pixel); letter-spacing: .04em; color: #fff;
}
.medallion:hover { transform: translateY(-3px); color: #fff; }
body.is-scrolled .medallion { opacity: 0; transform: translateY(-20px) scale(.6); pointer-events: none; }
.nav-toggle, .mobile-only { display: none; }

/* ════════════════════════════════════════════════════════════════
   HERO — painted RO landscape
   ════════════════════════════════════════════════════════════════ */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	height: clamp(560px, 46vw, 760px);
	background: #bfe8f6 var(--hero-art) center bottom / cover no-repeat;
}
.hero::after {
	content: ''; position: absolute; inset: auto 0 0 0; height: 34%; z-index: -1; pointer-events: none;
	background: linear-gradient(180deg, rgba(243,241,236,0), rgba(243,241,236,.85) 80%, var(--bg));
}
.hero::before {
	/* soft light behind the title so it reads on the painted sky */
	content: ''; position: absolute; left: 50%; top: 20%; width: 760px; height: 420px; margin-left: -380px; z-index: 0;
	background: radial-gradient(closest-side, rgba(255,255,255,.75), rgba(255,255,255,0));
	pointer-events: none;
}
.hero-copy { position: relative; z-index: 1; text-align: center; max-width: 560px; margin: 0 auto; padding-top: clamp(72px, 8.5vw, 128px); }
.hero-tag {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
	background: rgba(255,255,255,.9); color: var(--red); box-shadow: 0 6px 18px -10px rgba(27,37,64,.4);
	font: 700 12px/1 var(--ff-pixel); letter-spacing: .04em; text-transform: uppercase;
}
.hero-title {
	font: 800 clamp(38px, 4.6vw, 66px)/1 var(--ff-head); letter-spacing: -.03em; margin: 12px 0 6px; color: var(--ink);
	text-shadow: 0 2px 0 #fff, 0 0 22px rgba(255,255,255,.9);
}
.hero-title span { color: var(--red); }
.hero-sub { font: 700 clamp(17px, 1.6vw, 21px)/1.3 var(--ff-head); color: var(--blue); margin: 0 0 14px; text-shadow: 0 1px 0 #fff, 0 0 12px #fff; }
.hero-ctas { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-feats {
	list-style: none; margin: 0 0 16px; padding: 0; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
}
.hero-feats li {
	font: 700 12.5px/1 var(--ff-ui); letter-spacing: .02em; color: var(--ink);
	background: rgba(255,255,255,.92); border: 1px solid var(--rule); border-radius: 999px;
	padding: 7px 13px; box-shadow: 0 6px 16px -12px rgba(27,37,64,.5);
}

/* ════════════════════════════════════════════════════════════════
   MAIN PANEL (floats over the hero, sprites sit on its edge)
   ════════════════════════════════════════════════════════════════ */
.stage { position: relative; z-index: 3; margin-top: clamp(-200px, -11vw, -120px); padding-bottom: 80px; }
.panel {
	position: relative; background: var(--panel); border-radius: 30px;
	padding: clamp(20px, 3vw, 36px); box-shadow: 0 -10px 40px -24px rgba(27,37,64,.35), 0 30px 60px -36px rgba(27,37,64,.35);
}
.sprites { position: absolute; left: 0; right: 0; bottom: 100%; height: 0; pointer-events: none; }
.sprites img { position: absolute; bottom: -10px; transform: translateX(-50%); filter: drop-shadow(0 3px 0 rgba(27,37,64,.08)); }

/* row 1: key visual + start column */
.lead { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; }
.keyart { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: #0d1530; aspect-ratio: 1280 / 853; box-shadow: var(--shadow); }
.keyart img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.keyart:hover img { transform: scale(1.03); }
.keyart-cta {
	position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%);
	opacity: 0; transition: opacity .2s;
}
.keyart:hover .keyart-cta { opacity: 1; }

.start { display: flex; flex-direction: column; gap: 14px; }
.start-card { background: var(--soft); border-radius: var(--radius); padding: 22px 22px 14px; }
.start-card h3 { font: 700 21px/1.2 var(--ff-head); margin: 0 0 4px; color: var(--ink); letter-spacing: -.01em; border: 0; text-transform: none; }
.start-card > p { font-size: 14.5px; color: var(--ink-mute); margin: 0 0 12px; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps a { display: flex; align-items: center; gap: 14px; padding: 12px 6px; color: var(--ink); border-top: 1px dashed var(--rule); }
.steps li:first-child a { border-top: 0; }
.steps a:hover { color: var(--red); }
.steps .n { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font: 700 15px/1 var(--ff-pixel); color: #fff; background: var(--red); }
.steps li:nth-child(2) .n { background: var(--blue); }
.steps li:nth-child(3) .n { background: var(--meadow); }
.steps b { display: block; font: 700 15.5px/1.2 var(--ff-head); }
.steps small { display: block; color: var(--ink-mute); font-size: 13px; margin-top: 2px; }
.steps .arrow { margin-left: auto; width: 16px; height: 16px; color: var(--ink-mute); transition: transform .2s; }
.steps a:hover .arrow { transform: translateX(3px); color: var(--red); }

.woe-mini {
	position: relative; border-radius: var(--radius); padding: 20px 22px; color: #fff; overflow: hidden;
	background: linear-gradient(135deg, #e2373f, #b9232b);
}
.woe-mini::after {
	content: ''; position: absolute; right: -30px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%;
	background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%);
}
.woe-mini-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.woe-mini h3 { font: 700 13px/1 var(--ff-pixel); letter-spacing: .04em; text-transform: uppercase; margin: 0; color: #ffe2a8; border: 0; display: flex; align-items: center; gap: 8px; }
.woe-mini h3 svg { width: 18px; height: 18px; }
.woe-state { font: 800 11px/1 var(--ff-ui); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: rgba(0,0,0,.18); }
.woe-state.is-live { background: #ffe2a8; color: var(--red-lo); }
.woeSchdule table { width: 100%; border-collapse: collapse; }
.woeSchdule td { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.2); font: 700 15px/1.2 var(--ff-head); color: #fff; background: none; }
.woeSchdule tr:last-child td { border-bottom: 0; }
.woeSchdule td:last-child { text-align: right; color: #ffe2a8; }
.woeSchdule tr:hover td { background: none; }
.flag ul { list-style: none; display: flex; gap: 8px; margin: 8px 0 0; padding: 0; flex-wrap: wrap; }
.flag ul li:empty { display: none; }
.flag .gImage img { width: 26px; height: 26px; background: #fff; padding: 2px; border-radius: 6px; }
.woe-mini-links { position: relative; z-index: 1; display: flex; gap: 14px; margin-top: 10px; font-size: 13.5px; font-weight: 800; }
.woe-mini-links a { color: #fff; opacity: .85; }
.woe-mini-links a:hover { opacity: 1; color: #fff; }

/* row 2: notice + worlds */
.row { margin-top: 44px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.notice-list { list-style: none; margin: 0; padding: 6px 18px; background: var(--soft); border-radius: var(--radius); }
.notice-item { border-bottom: 1px solid var(--rule); }
.notice-item:last-child { border-bottom: 0; }
.notice-item summary {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
	padding: 14px 2px; cursor: pointer; list-style: none;
}
.notice-item summary::-webkit-details-marker { display: none; }
.pill { font: 800 11px/1 var(--ff-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--blue); border: 1.5px solid var(--blue); border-radius: 999px; padding: 5px 10px; background: #fff; }
.pill.is-new { color: #fff; background: var(--red); border-color: var(--red); }
.notice-title { font-weight: 700; font-size: 15.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.notice-item summary:hover .notice-title { color: var(--red); }
.notice-date { font-size: 13px; color: var(--ink-mute); font-weight: 700; }
.notice-body { padding: 2px 2px 18px; font-size: 15.5px; color: var(--ink-soft); }
.notice-body p { margin: 0 0 10px; color: var(--ink-soft); font-size: 15.5px; }
.notice-body .by { font-size: 12.5px; color: var(--ink-mute); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.notice-body img { height: auto; border-radius: 10px; }
.notice-empty { padding: 26px 4px; color: var(--ink-mute); font-weight: 700; }

/* worlds — image-led cards with painted art */
.worlds { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 20px; }
.world {
	position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: #fff; min-height: 340px;
	background: #0d1530; box-shadow: var(--shadow); isolation: isolate;
}
.world img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.world::before {
	content: ''; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, rgba(10,16,38,.78) 0%, rgba(10,16,38,.15) 45%, rgba(10,16,38,.0) 60%, rgba(10,16,38,.65) 100%);
}
.world:hover img { transform: scale(1.05); }
.world:hover { color: #fff; }
.world-top { padding: 22px 22px 0; }
.world h3 { display: flex; align-items: center; gap: 6px; font: 700 23px/1.15 var(--ff-head); margin: 0 0 6px; color: #fff; border: 0; text-transform: none; letter-spacing: -.01em; }
.world h3 svg { width: 18px; height: 18px; transition: transform .2s; }
.world:hover h3 svg { transform: translateX(4px); }
.world p { margin: 0; font-size: 14.5px; color: rgba(255,255,255,.85); max-width: 32ch; line-height: 1.45; }
.world-tags { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.world-tags span { font: 800 11.5px/1 var(--ff-ui); padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.22); }
.world-rag  { box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(226,55,63,.35), var(--shadow); }
.world-kicker { display: inline-block; font: 700 11px/1 var(--ff-pixel); letter-spacing: .04em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; margin-bottom: 10px; background: var(--red); color: #fff; }
.world-poke .world-kicker { background: #f2b33d; color: #3a2a00; }
.world-digi .world-kicker { background: var(--digital); }
.worlds-note { margin: 12px 0 0; font-size: 13.5px; color: var(--ink-mute); text-align: right; }

/* founding players — launch component */
.founding-card {
	display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center;
	background: linear-gradient(135deg, #16254b 0%, #203a74 60%, #2c6fd6 140%);
	border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); color: #fff;
	box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.founding-card .hero-tag { background: rgba(255,255,255,.14); color: #ffd98a; box-shadow: none; }
.founding-copy h2 { font: 800 clamp(22px, 2.4vw, 30px)/1.1 var(--ff-head); margin: 14px 0 10px; color: #fff; }
.founding-copy p { margin: 0 0 18px; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.86); max-width: 46ch; }
.founding-meter {
	background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 18px;
	padding: 22px; text-align: center; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.founding-label { display: block; font: 700 12px/1 var(--ff-pixel); letter-spacing: .06em; text-transform: uppercase; color: #ffd98a; }
.founding-count { display: block; font: 800 46px/1 var(--ff-head); margin: 10px 0 14px; color: #fff; }
.founding-count small { font-size: 22px; color: rgba(255,255,255,.6); font-weight: 700; }
.founding-bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,.18); overflow: hidden; }
.founding-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #f2b33d, #ffd98a); min-width: 6px; }
.founding-note { display: block; margin-top: 12px; font-size: 12.5px; color: rgba(255,255,255,.72); }
/* number-free variant (launch): a crest badge instead of a 00/50 meter */
.founding-badge { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px; }
.founding-badge svg { margin-bottom: 8px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.3)); }
.founding-badge-title { display: block; font: 800 22px/1.15 var(--ff-head); color: #fff; margin: 2px 0 2px; letter-spacing: -.01em; }
.founding-badge .founding-note { margin-top: 6px; max-width: 24ch; }

/* server info — fact cards */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.info-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.info-card h3 {
	display: flex; align-items: center; gap: 8px; margin: 0 0 14px; border: 0; text-transform: uppercase;
	font: 700 13px/1 var(--ff-pixel); letter-spacing: .03em; color: var(--ink);
}
.info-card h3 svg { width: 18px; height: 18px; flex: none; }
.info-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.info-card li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.4; color: var(--ink-soft); font-weight: 600; }
.info-card li::before { content: ''; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }

/* row 3: hall of fame */
.hall #tabs { background: var(--soft); border-radius: var(--radius); padding: 10px; }
.hall #tabs1 { display: flex; gap: 4px; list-style: none; margin: 0 0 6px; padding: 4px; background: #fff; border-radius: 14px; border: 0; }
.hall #tabs1 li { flex: 1; }
.hall #tabs1 li a {
	display: block; text-align: center; padding: 12px 8px; border-radius: 10px;
	font: 700 13px/1 var(--ff-pixel); letter-spacing: .03em; text-transform: uppercase;
	color: var(--ink-mute); background: none; border: 0;
}
.hall #tabs1 li a:hover { color: var(--ink); }
.hall #tabs1 li.active a { background: var(--ink); color: #fff; }
.hall .tab_content1 { display: none; background: #fff; border-radius: 14px; }
.hall .tab_content1 table { width: 100%; border-collapse: collapse; counter-reset: rank; }
.hall .tab_content1 th { font: 800 11.5px/1 var(--ff-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); padding: 14px 16px; background: none; border-bottom: 1px solid var(--rule); text-align: left; }
.hall .tab_content1 td { padding: 13px 16px; border-bottom: 1px solid var(--rule-soft); font: 700 15px/1.2 var(--ff-ui); color: var(--ink); text-align: left; vertical-align: middle; background: none; }
.hall .tab_content1 tr:last-child td { border-bottom: 0; }
.hall .tab_content1 tr:hover td { background: #fffaf2; }
.hall .tab_content1 tr + tr td:first-child::before {
	counter-increment: rank; content: counter(rank);
	display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 12px; border-radius: 8px;
	font: 700 12px/1 var(--ff-pixel); color: var(--ink-soft); background: var(--soft); vertical-align: middle;
}
.hall .tab_content1 tr:nth-child(2) td:first-child::before { background: var(--gold); color: #fff; }
.hall .tab_content1 tr:nth-child(3) td:first-child::before { background: #aab4c3; color: #fff; }
.hall .tab_content1 tr:nth-child(4) td:first-child::before { background: #c98b5a; color: #fff; }
.hall .tab_content1 td img { vertical-align: middle; }
.hall-empty { padding: 26px 14px; margin: 0; color: var(--ink-mute); font-weight: 700; text-align: center; }
.status-dot { display: inline-flex; align-items: center; gap: 6px; font: 800 11.5px/1 var(--ff-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute); }
.status-dot i { width: 8px; height: 8px; border-radius: 50%; background: #c9ccd6; }
.status-dot.on { color: var(--online); } .status-dot.on i { background: var(--online); }

/* ════════════════════════════════════════════════════════════════
   COMMUNITY — painted band with the party
   ════════════════════════════════════════════════════════════════ */
.party {
	position: relative; overflow: hidden; isolation: isolate; text-align: center; color: var(--ink);
	padding: 76px 0 190px; background: #bfe8f6 var(--sky-art) center 30% / cover no-repeat;
}
.party::before {
	content: ''; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(180deg, var(--bg) 0%, rgba(243,241,236,0) 30%, rgba(255,255,255,0) 70%, rgba(255,255,255,.2));
}
.party h2 { font: 800 clamp(30px, 3.6vw, 46px)/1.1 var(--ff-head); letter-spacing: -.02em; margin: 14px 0 10px; color: var(--ink); text-shadow: 0 0 18px rgba(255,255,255,.9); }
.party p { font-size: 17px; color: var(--ink-soft); margin: 0 auto 26px; max-width: 46ch; font-weight: 600; text-shadow: 0 0 10px #fff; }
.party .hero-tag { color: var(--blue); }
.social-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.social-btn {
	display: inline-flex; align-items: center; gap: 12px; text-align: left;
	padding: 13px 22px 13px 16px; border-radius: 16px; color: #fff; font: 700 16px/1.15 var(--ff-head);
	transition: transform .15s;
}
.social-btn small { display: block; font: 600 12.5px/1.2 var(--ff-ui); opacity: .85; margin-top: 2px; }
.social-btn svg { width: 28px; height: 28px; flex: none; }
.social-btn:hover { color: #fff; transform: translateY(-2px); }
.social-fb { background: #1877f2; box-shadow: 0 14px 26px -14px #1877f2; }
.social-dc { background: #5865f2; box-shadow: 0 14px 26px -14px #5865f2; }
.party-ground {
	position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1;
	background: linear-gradient(180deg, #9ad86f, #6fbf4f);
	-webkit-mask: radial-gradient(120% 120px at 50% 120px, #000 99%, transparent) top / 100% 100% no-repeat;
	mask: radial-gradient(120% 120px at 50% 120px, #000 99%, transparent) top / 100% 100% no-repeat;
}
.party-sprites { position: absolute; left: 50%; bottom: 26px; width: min(1100px, 100%); height: 0; transform: translateX(-50%); }
.party-sprites img { position: absolute; bottom: 0; transform: translateX(-50%); }

/* ════════════════════════════════════════════════════════════════
   INNER PAGES
   ════════════════════════════════════════════════════════════════ */
.page-banner {
	position: relative; overflow: hidden; isolation: isolate;
	background: #bfe8f6 var(--hero-art) center 72% / cover no-repeat;
	padding: 56px 0 110px; text-align: center;
}
.page-banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255,255,255,.15), rgba(243,241,236,.35) 70%, var(--bg)); }
.crumbs { display: inline-flex; gap: 8px; align-items: center; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.9); font: 700 11.5px/1 var(--ff-pixel); letter-spacing: .03em; text-transform: uppercase; color: var(--ink-soft); }
.crumbs a { color: var(--red); }
.page-banner h1 { font: 800 clamp(30px, 3.8vw, 50px)/1.05 var(--ff-head); margin: 16px 0 0; color: var(--ink); letter-spacing: -.02em; text-shadow: 0 2px 0 #fff, 0 0 20px rgba(255,255,255,.9); }

.page-main { position: relative; z-index: 2; margin-top: -60px; padding-bottom: 80px; }
.page-sheet { background: #fff; border-radius: 26px; padding: 40px clamp(20px, 4vw, 48px) 44px; box-shadow: var(--shadow); min-height: 320px; }
.page-sheet.has-title > h2:first-of-type { display: none; }
.page-sheet.has-title > h2:first-of-type + h3 { margin-top: 0; }

.page-sheet h2 { font: 700 28px/1.2 var(--ff-head); color: var(--ink); letter-spacing: -.01em; margin: 0 0 14px; }
.page-sheet h3 { font: 700 20px/1.25 var(--ff-head); color: var(--ink); text-transform: none; border: 0; border-bottom: 2px solid var(--rule-soft); padding-bottom: 8px; margin: 28px 0 14px; }
.page-sheet h3:first-letter { font-weight: 700; }
.page-sheet h4 { font: 700 16px/1.3 var(--ff-head); color: var(--ink); margin: 18px 0 8px; }
.page-sheet p { color: var(--ink-soft); font-size: 16px; line-height: 1.7; margin: 0 0 12px; }
.page-sheet ul, .page-sheet ol { color: var(--ink-soft); }
.page-sheet img { height: auto; }

.page-sheet table { font-family: var(--ff-ui); font-size: 15px; border-collapse: collapse; }
.horizontal-table, .vertical-table, .generic-form-table { width: 100%; border-collapse: collapse; margin: 6px 0 20px; }
.horizontal-table th, .vertical-table th, .generic-form-table th {
	font: 800 12px/1.3 var(--ff-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft);
	background: var(--soft); padding: 12px 14px; text-align: left; border: 0; border-bottom: 1px solid var(--rule);
}
.horizontal-table td, .vertical-table td, .generic-form-table td { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--rule-soft); font-size: 15px; color: var(--ink); background: none; }
.horizontal-table tr:hover td { background: #fffaf2; }
.vertical-table th { width: 220px; }
.generic-form-table th { background: none; width: 220px; padding-top: 18px; }
.generic-form-table th label { color: var(--ink-soft); }
.generic-form-table td p { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-mute); }

.page-sheet input[type=text], .page-sheet input[type=password], .page-sheet input[type=email],
.page-sheet input[type=number], .page-sheet input[type=file], .page-sheet input[type=date], .page-sheet select, .page-sheet textarea {
	font: 600 15.5px/1.3 var(--ff-ui); color: var(--ink); padding: 11px 13px; border-radius: 12px;
	border: 1.5px solid var(--rule); background: var(--soft); max-width: 100%; outline: 0; transition: border-color .15s, box-shadow .15s, background .15s;
}
.page-sheet input:focus, .page-sheet select:focus, .page-sheet textarea:focus { border-color: var(--sky); background: #fff; box-shadow: 0 0 0 4px rgba(57,181,230,.2); }
.page-sheet input[type=submit], .page-sheet button[type=submit], .page-sheet input[type=button], .page-sheet .submit_button {
	font: 700 15px/1 var(--ff-head); color: #fff; background: var(--red); cursor: pointer;
	border: 0; border-radius: 999px; padding: 14px 26px; box-shadow: 0 10px 22px -10px rgba(226,55,63,.8); transition: transform .15s, background .15s;
}
.page-sheet input[type=submit]:hover, .page-sheet button[type=submit]:hover, .page-sheet input[type=button]:hover { background: var(--red-hi); transform: translateY(-1px); }

.message, p.message { display: block; padding: 14px 18px; margin: 0 0 20px; border-radius: 14px; font: 700 15px/1.5 var(--ff-ui); color: #8a2a12; background: #fff1e6; border: 1px solid #f6cfb5; }
.notice { display: block; padding: 14px 18px; border-radius: 14px; color: #1d4f6b; background: #eaf7fd; border: 1px solid #bfe5f4; font-size: 15px; }
.red { color: var(--red); } .green { color: var(--meadow); }
.up { color: var(--online); } .down { color: var(--offline); }
.pages { margin: 18px 0; font-weight: 700; }
.pages a, .pages .current-page { display: inline-block; padding: 6px 11px; border-radius: 8px; }
.pages .current-page { background: var(--ink); color: #fff; }
#submenu, #pagemenu, #adminmenu { font: 700 14px/1.9 var(--ff-ui); color: var(--ink-mute); padding: 12px 16px; margin: 0 0 20px; background: var(--soft); border-radius: 14px; }
#adminmenu { background: #eef5fc; }
#adminmenu table { width: 100%; } #adminmenu td { border: 0; padding: 0; font-size: 14px; }
#submenu a, #pagemenu a, #adminmenu a { color: var(--ink); font-weight: 800; }
#submenu a:hover, #pagemenu a:hover, #adminmenu a:hover, .current-sub-menu { color: var(--red) !important; }
.credit-balance { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; margin: 0 0 20px; border-radius: 14px; background: #fff6df; border: 1px solid #f0d9a2; font-weight: 800; }
.credit-balance .balance-amount { font: 700 24px/1 var(--ff-head); color: var(--gold-lo); }
.pkm-container, .digi-container { max-width: 100% !important; }

/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */
.site-foot { background: #161e35; color: rgba(255,255,255,.7); padding: 60px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot-brand img { height: 58px; width: auto; display: block; margin-bottom: 12px; }
.foot-brand b { display: block; font: 800 24px/1 var(--ff-head); color: #fff; letter-spacing: -.01em; }
.foot-brand span { display: block; font: 700 11.5px/1 var(--ff-pixel); letter-spacing: .03em; text-transform: uppercase; color: var(--gold); margin-top: 10px; }
.foot-brand p { font-size: 14.5px; margin: 14px 0 18px; max-width: 32ch; color: rgba(255,255,255,.6); }
.foot-social { display: flex; gap: 10px; flex-wrap: wrap; }
.foot-social a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 11px; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; font-weight: 800; font-size: 14px; }
.foot-social a:hover { color: #fff; }
.foot-social .fb:hover { background: #1877f2; }
.foot-social .dc:hover { background: #5865f2; }
.foot-social svg { width: 18px; height: 18px; }
.foot-col h4 { font: 700 12px/1 var(--ff-pixel); letter-spacing: .03em; text-transform: uppercase; color: #fff; margin: 6px 0 16px; }
.foot-col a { display: block; color: rgba(255,255,255,.64); font-weight: 600; font-size: 15px; padding: 5px 0; }
.foot-col a:hover { color: var(--gold); }
.foot-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,.42); }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 1180px) {
	.masthead .wrap { grid-template-columns: 1fr 180px 1fr; }
	.nav-link { min-width: 0; padding: 10px 9px 9px; font-size: 11.5px; }
	.lead { grid-template-columns: 1fr; }
	.start { display: grid; grid-template-columns: 1.3fr 1fr; }
	.worlds { grid-template-columns: 1fr 1fr; }
	.world-rag { grid-column: 1 / -1; min-height: 300px; }
	.info-grid { grid-template-columns: 1fr 1fr; }
	.foot-grid { grid-template-columns: 1fr 1fr 1fr; }
	.foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
	.founding-card { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 560px) {
	.info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
	.masthead .wrap { display: flex; min-height: 66px; gap: 12px; }
	.crest { order: 0; align-self: center; }
	.crest-logo { padding: 0; }
	.crest-logo img { height: 46px; }
	.medallion { display: none; }
	.nav-toggle {
		display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: auto; order: 3;
		border-radius: 12px; border: 1.5px solid var(--rule); background: #fff; color: var(--ink); cursor: pointer;
	}
	.nav-toggle svg { width: 22px; height: 22px; }
	.nav-drawer {
		position: fixed; inset: 110px 0 0 0; z-index: 59; overflow-y: auto; background: #fff;
		padding: 10px var(--gutter) 40px; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s;
	}
	body.nav-open { overflow: hidden; }
	body.nav-open .nav-drawer { transform: none; visibility: visible; }
	.nav { flex-direction: column; padding: 0 !important; gap: 0; }
	.nav-item { border-bottom: 1px solid var(--rule-soft); }
	.nav-link { flex-direction: row; gap: 14px; padding: 12px 4px; font-size: 15px; border-radius: 0; min-width: 0; }
	.nav-link:hover, .nav-item:focus-within > .nav-link { background: none; }
	.nav-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 10px 52px; min-width: 0; display: none; }
	.nav-item.is-open > .nav-menu { display: block; }
	.nav-item:hover > .nav-menu, .nav-item:focus-within > .nav-menu { transform: none; }
	.mobile-only { display: grid; gap: 10px; margin-top: 20px; }
	.login-pop-panel { position: fixed; left: 16px; right: 16px; top: 54px; width: auto; }
	.sprites img:nth-child(n+5) { display: none; }
}
@media (min-width: 961px) { .nav-drawer { display: contents; } }

@media (max-width: 760px) {
	:root { --gutter: 16px; --radius: 18px; }
	.realm-woe:not(.is-live), .realms .realm-lbl { display: none; }
	.utility .btn-line { display: none; }
	.hero {
		height: 680px;
		background: var(--hero-art-m) 30% bottom / 640px auto no-repeat, linear-gradient(180deg, #6fcdee 0%, #a8e6f6 40%, #d2fbf9 62%);
	}
	.hero::before { display: none; }
	.sprites { display: none; }
	.page-banner { background-image: var(--sky-art); background-position: center top; }
	.hero::before { width: 420px; margin-left: -210px; }
	.hero-copy { padding-top: 54px; }
	.hero-ctas .btn-k { flex: 1 1 auto; }
	.stage { margin-top: -110px; }
	.panel { border-radius: 24px; }
	.start { grid-template-columns: 1fr; }
	.split { grid-template-columns: 1fr; gap: 40px; }
	.worlds { grid-template-columns: 1fr; }
	.world { min-height: 280px; }
	.notice-item summary { grid-template-columns: auto 1fr; }
	.notice-date { display: none; }
	.hall #tabs1 li a { font-size: 11px; padding: 10px 2px; }
	.hall .tab_content1 { overflow-x: auto; }
	.hall .tab_content1 td, .hall .tab_content1 th { padding: 11px 9px; font-size: 14px; }
	.party { padding: 56px 0 170px; }
	.social-btn { flex: 1 1 100%; }
	.party-sprites img:nth-child(n+6) { display: none; }
	.foot-grid { grid-template-columns: 1fr 1fr; }
	.page-banner { padding: 40px 0 96px; }
	.page-sheet { border-radius: 20px; padding-top: 28px; overflow-x: auto; }
	.vertical-table th, .generic-form-table th { width: auto; }
	.page-sheet input[type=text], .page-sheet input[type=password], .page-sheet input[type=email], .page-sheet select, .page-sheet textarea { width: 100%; font-size: 16px; }
	.generic-form-table, .generic-form-table tbody, .generic-form-table tr, .generic-form-table th, .generic-form-table td { display: block; width: 100%; }
	.generic-form-table th { padding: 14px 0 6px; border: 0; }
	.generic-form-table td { padding: 0 0 10px; }

	/* ── mobile polish (2026-10-07) ── */
	/* status bar: one compact line instead of wrapping onto two */
	.utility .wrap { gap: 8px; min-height: 40px; }
	.realms { flex-wrap: nowrap; gap: 10px; font-size: 10.5px; letter-spacing: .02em; min-width: 0; }
	.realm { gap: 5px; white-space: nowrap; }
	.realm i { width: 7px; height: 7px; }
	.utility-right { gap: 4px; flex: none; }
	.utility .icon-link { width: 30px; height: 30px; }
	.utility .btn-k { padding: 7px 14px; font-size: 12.5px; }
	/* sticky header: solid, so page text never shows through behind the logo */
	.masthead { background: #fff; box-shadow: 0 4px 16px -12px rgba(27,37,64,.45); }
	/* page titles and long words never push the page wider than the phone */
	.page-banner h1 { font-size: clamp(26px, 7.4vw, 34px); line-height: 1.12; overflow-wrap: anywhere; }
	.page-sheet { overflow-x: visible; padding-left: 16px; padding-right: 16px; }
	.page-sheet p, .page-sheet li, .page-sheet td { overflow-wrap: anywhere; }
	/* data tables (server status, account / character lists …) scroll on their own */
	.horizontal-table, .page-sheet #server_status, .page-sheet table.cp-table {
		display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
	}
	.horizontal-table th, .horizontal-table td, #server_status td, #server_status th { padding: 10px 10px; font-size: 14px; white-space: nowrap; }
	.vertical-table th { width: 40%; padding: 10px 8px; }
	.vertical-table td { padding: 10px 8px; }
	/* comfortable tap targets */
	.btn-k { min-height: 44px; }
	.foot-col a { padding: 4px 0; }
}
@media (max-width: 380px) {
	.realms { gap: 7px; font-size: 10px; }
	.utility .btn-k { padding: 6px 11px; }
	.hero-feats li { font-size: 11.5px; padding: 6px 10px; }
}

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

/* WoE schedule not decided yet ("Available Soon") */
.woe-soon { padding: 6px 0 2px; }
.woe-soon b { display: inline-block; font: 700 13px/1 var(--ff-pixel); letter-spacing: .04em; text-transform: uppercase; color: var(--red-lo); background: #ffe2a8; padding: 7px 10px; border-radius: 8px; }
.woe-soon p { margin: 10px 0 0; color: rgba(255,255,255,.9); font-size: 14.5px; line-height: 1.5; }
.woe-soon-page { text-align: center; padding: 26px 10px 10px; }
.woe-soon-page .woe-soon-badge { display: inline-block; font: 700 13px/1 var(--ff-pixel); letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--red); padding: 9px 14px; border-radius: 10px; }
.page-sheet .woe-soon-page h3 { border: 0; padding: 0; margin: 16px 0 8px; font: 800 26px/1.2 var(--ff-head); }
.page-sheet .woe-soon-page p { max-width: 52ch; margin: 0 auto 12px; }

/* Phone layout fixes (2026-10-11): nothing on the home page overlaps any more */
@media (max-width: 760px) {
	/* hero grows with its text, and the artwork (329px tall at 640px wide) sits below the buttons */
	.hero { height: auto; padding-bottom: 340px; }
	/* the card below only tucks over the grass, not over the characters */
	.stage { margin-top: -44px; }
	/* War of Emperium links: keep each arrow with its words */
	.woe-mini-links { flex-wrap: wrap; gap: 8px 18px; }
	.woe-mini-links a { white-space: nowrap; }
	/* party sprites stay under the Discord / Facebook buttons */
	.party { padding-bottom: 200px; }
	.party-sprites img { max-height: 140px; width: auto; }
}
/* let grid columns shrink on narrow phones instead of pushing the page sideways */
.split > *, .founding-card > * { min-width: 0; }
@media (max-width: 380px) {
	.founding-card { padding-left: 18px; padding-right: 18px; }
	.founding-card .btn-k { white-space: normal; text-align: center; }
}

/* founder rewards row (inside .founding-card) */
.founder-rewards { grid-column: 1 / -1; list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fr-card {
	position: relative; margin: 0; padding: 18px 18px 16px; border-radius: 16px; text-align: left;
	background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
}
.fr-pic { height: 90px; display: flex; align-items: flex-end; margin-bottom: 10px; }
.fr-pic img { display: block; filter: drop-shadow(0 6px 12px rgba(0,0,0,.35)); }
.fr-pic-title svg { filter: drop-shadow(0 4px 10px rgba(0,0,0,.3)); margin-bottom: 8px; }
.fr-pic-shot img { border-radius: 12px; border: 2px solid rgba(255,217,138,.6); object-fit: cover; }
.fr-tag { display: inline-block; font: 700 11px/1 var(--ff-pixel); letter-spacing: .05em; text-transform: uppercase; color: #3a2a00; background: #ffd98a; padding: 5px 8px; border-radius: 6px; }
.fr-card h3 { font: 800 18px/1.2 var(--ff-head); color: #fff; margin: 10px 0 6px; border: 0; padding: 0; text-transform: none; letter-spacing: -.01em; }
.fr-card p { margin: 0; font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.84); }
.fr-card p strong { color: #fff; }
.fr-stats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fr-stats span { font: 800 12px/1 var(--ff-ui); padding: 6px 9px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); color: #fff; }
@media (max-width: 960px) { .founder-rewards { grid-template-columns: 1fr; } .fr-card .fr-tag { justify-self: start; } .fr-card { display: grid; grid-template-columns: 96px 1fr; column-gap: 14px; align-items: start; } .fr-pic { grid-row: 1 / span 4; height: auto; align-items: center; justify-content: center; margin: 0; } .fr-card h3 { margin-top: 8px; } }
@media (max-width: 380px) { .fr-card { grid-template-columns: 1fr; } .fr-pic { grid-row: auto; justify-content: flex-start; margin-bottom: 8px; } }

/* donate: amount field (it had a fixed 40px width, too narrow to show the number) */
.page-sheet .enter-donation-amount label { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 700; }
.page-sheet .enter-donation-amount .money-input { width: 150px; max-width: 100%; font-size: 18px; font-weight: 800; text-align: right; }
