:root {
    --navy-1000: #020a1b;
    --navy-950: #03112c;
    --navy-900: #061a45;
    --navy-850: #08265b;
    --navy-800: #0a3270;
    --blue-700: #0566d7;
    --blue-600: #0788f5;
    --blue-500: #19adff;
    --cyan-400: #4dd9ff;
    --cyan-300: #90eaff;
    --white: #fff;
    --paper: #f4f9ff;
    --ink: #0d2346;
    --muted: #6d7e98;
    --line: rgba(13, 79, 153, .13);
    --shadow: 0 24px 70px rgba(4, 32, 78, .14);
    --header-height: 82px;
    --container: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 14px); }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: "Prompt", system-ui, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.container { width: min(calc(100% - 44px), 1180px); margin-inline: auto; }
.wide-container { width: min(calc(100% - 64px), var(--container)); }
.skip-link { position: fixed; top: -90px; left: 16px; z-index: 9999; padding: 12px 18px; border-radius: 8px; background: #fff; color: var(--navy-900); font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 14px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; height: var(--header-height); border-bottom: 1px solid rgba(255,255,255,.14); background: linear-gradient(180deg, rgba(2,11,31,.98), rgba(3,19,48,.92)); transition: height .25s, background .25s, box-shadow .25s; }
.site-header.scrolled { height: 70px; background: rgba(3,15,39,.97); box-shadow: 0 14px 45px rgba(0,8,27,.35); }
.header-shell { width: min(calc(100% - 48px), 1460px); height: 100%; margin: auto; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 12px; }
.brand-mark { position: relative; display: block; }
.brand-mark::before { content: ""; position: absolute; inset: -5px; border: 1px solid rgba(84,214,255,.38); border-radius: 50%; }
.brand-mark::after { content: ""; position: absolute; width: 8px; height: 8px; right: -4px; bottom: 4px; border: 2px solid var(--navy-950); border-radius: 50%; background: #4ce4b1; box-shadow: 0 0 12px #4ce4b1; }
.brand img { width: 52px; height: 52px; border: 2px solid rgba(255,255,255,.78); border-radius: 50%; object-fit: cover; }
.brand-copy { display: grid; color: #fff; line-height: 1; }
.brand-copy strong { font-size: 1.28rem; font-weight: 800; letter-spacing: .17em; }
.brand-copy small { margin-top: 7px; color: #7ed9ff; font-size: .51rem; font-weight: 600; letter-spacing: .2em; }
.desktop-nav { display: flex; height: 100%; align-items: stretch; margin: 0 auto; }
.desktop-nav a { position: relative; display: flex; min-width: 102px; align-items: center; justify-content: center; gap: 7px; padding: 0 13px; color: rgba(224,242,255,.72); font-size: .79rem; font-weight: 500; transition: color .2s, background .2s; }
.desktop-nav a i { color: #66c9f6; font-size: .75rem; }
.desktop-nav a::after { content: ""; position: absolute; right: 20px; bottom: 0; left: 20px; height: 3px; background: linear-gradient(90deg, transparent, var(--cyan-400), transparent); transform: scaleX(0); transition: transform .2s; }
.desktop-nav a:hover, .desktop-nav a:focus-visible, .desktop-nav a.active { background: rgba(44,149,220,.08); color: #fff; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after, .desktop-nav a.active::after { transform: scaleX(1); }
.account-actions { display: flex; align-items: center; gap: 10px; }
.login-link { display: inline-flex; min-height: 42px; align-items: center; gap: 8px; padding: 8px 12px; background: transparent; color: #dbeeff; cursor: pointer; font-size: .77rem; font-weight: 500; }
.login-link i { color: #6fd5ff; }
.register-button { display: inline-flex; min-height: 44px; align-items: center; gap: 16px; padding: 10px 18px 10px 20px; clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px); background: linear-gradient(135deg, #20baff, #0872e6); color: #fff; cursor: pointer; font-size: .78rem; font-weight: 700; box-shadow: 0 12px 30px rgba(5,111,220,.35); transition: filter .2s, transform .2s; }
.register-button:hover { filter: brightness(1.12); transform: translateY(-2px); }
.menu-toggle { display: none; width: 45px; height: 45px; padding: 10px; border-radius: 8px; background: rgba(255,255,255,.08); cursor: pointer; }
.menu-toggle span { display: block; width: 23px; height: 2px; margin: 5px auto; background: #fff; transition: .25s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header-height) 0 auto; max-height: calc(100svh - var(--header-height)); overflow: auto; padding: 14px 20px calc(24px + env(safe-area-inset-bottom)); background: rgba(3,15,39,.99); box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.mobile-menu a, .mobile-menu button { display: flex; width: 100%; align-items: center; gap: 12px; padding: 14px 7px; border-bottom: 1px solid rgba(255,255,255,.08); background: transparent; color: #deefff; text-align: left; }
.mobile-menu a.active { background: rgba(44,149,220,.12); color: #fff; }
.mobile-menu i { width: 23px; color: #62ceff; text-align: center; }

/* Floating rails */
.section-rail { position: fixed; z-index: 800; top: 50%; left: 20px; display: grid; gap: 6px; transform: translateY(-50%); }
.section-rail a { display: flex; height: 31px; align-items: center; gap: 8px; color: rgba(180,211,236,.42); font-size: .56rem; font-weight: 700; transition: color .2s; }
.section-rail a i { display: block; width: 13px; height: 2px; background: currentColor; transition: width .2s, box-shadow .2s; }
.section-rail a.active { color: #6fdfff; }
.section-rail a.active i { width: 30px; box-shadow: 0 0 9px #5cd7ff; }
.social-rail { position: fixed; z-index: 800; top: 50%; right: 18px; display: grid; gap: 8px; transform: translateY(-50%); }
.social-rail button,.social-rail a { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(111,208,255,.24); background: rgba(3,24,58,.65); color: #a9d9f6; cursor: pointer; box-shadow: 0 12px 30px rgba(0,12,38,.18); backdrop-filter: blur(12px); transition: background .2s, color .2s, transform .2s; }
.social-rail button:first-child { clip-path: polygon(8px 0,100% 0,100% 100%,0 100%,0 8px); }
.social-rail button:last-child { clip-path: polygon(0 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%); }
.social-rail button:hover,.social-rail a:hover { background: #087fe7; color: #fff; transform: translateX(-3px); }

/* Hero */
.hero { position: relative; min-height: max(760px, 100svh); display: flex; overflow: hidden; align-items: center; color: #fff; background: var(--navy-950); }
.hero-media, .hero-media video, .hero-wash, .hero-grain { position: absolute; inset: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-wash { background: linear-gradient(90deg, rgba(2,9,28,.95), rgba(3,19,50,.76) 42%, rgba(2,21,54,.38) 69%, rgba(2,10,31,.7)), linear-gradient(0deg, rgba(2,10,29,.96), transparent 44%, rgba(2,11,31,.2)); }
.hero-grain { opacity: .2; background-image: radial-gradient(rgba(255,255,255,.28) .65px, transparent .65px); background-size: 5px 5px; mask-image: linear-gradient(90deg, #000, transparent 80%); }
.hero::after { content: none; }
.hero-rune { position: absolute; border: 1px solid rgba(77,208,255,.12); border-radius: 50%; pointer-events: none; }
.hero-rune::before, .hero-rune::after { content: ""; position: absolute; inset: 12%; border: 1px dashed rgba(93,215,255,.11); border-radius: 50%; }
.hero-rune::after { inset: 31%; border-style: solid; transform: rotate(45deg); border-radius: 0; }
.rune-one { width: 680px; height: 680px; left: -340px; bottom: -220px; animation: runeSpin 35s linear infinite; }
.rune-two { width: 480px; height: 480px; right: 5%; top: -200px; animation: runeSpin 42s linear reverse infinite; }
.hero-shell { position: relative; z-index: 2; width: min(calc(100% - 130px), 1240px); margin: auto; padding: calc(var(--header-height) + 70px) 0 150px; }
.hero-copy { max-width: 750px; }
.hero-season { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 29px; padding: 8px 13px; border: 1px solid rgba(104,215,255,.24); background: rgba(5,70,130,.56); color: #8de5ff; font-size: .63rem; font-weight: 600; letter-spacing: .17em; }
.hero-season span { width: 7px; height: 7px; border-radius: 50%; background: #62e6b4; box-shadow: 0 0 13px #62e6b4; animation: pulse 1.8s infinite; }
.hero-overline { margin: 0 0 9px; color: #d8efff; font-size: .8rem; font-weight: 600; letter-spacing: .27em; }
.hero h1 { margin: 0; font-size: clamp(4.1rem, 7.5vw, 7.2rem); font-weight: 800; letter-spacing: -.065em; line-height: .94; text-shadow: 0 20px 50px rgba(0,10,32,.42); }
.hero h1 em { display: inline-block; margin-top: 14px; background: linear-gradient(105deg, #fff 12%, #8be5ff 55%, #23adff); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; }
.hero-divider { display: flex; width: 365px; align-items: center; gap: 11px; margin: 28px 0 22px; color: #66d9ff; }
.hero-divider span { height: 1px; flex: 1; background: linear-gradient(90deg, rgba(92,211,255,.04), rgba(92,211,255,.7)); }
.hero-divider span:last-child { background: linear-gradient(90deg, rgba(92,211,255,.7), rgba(92,211,255,.04)); }
.hero-divider i { font-size: .55rem; transform: rotate(45deg); }
.hero-description { max-width: 650px; margin: 0; color: #c6def1; font-size: 1.03rem; font-weight: 300; letter-spacing: .015em; }
.hero-status { display: inline-flex; align-items: center; gap: 12px; margin-top: 29px; padding: 11px 14px; border-left: 2px solid #4cd7ff; background: linear-gradient(90deg, rgba(12,78,139,.28), transparent); }
.status-light { width: 9px; height: 9px; border-radius: 50%; background: #f2c55a; box-shadow: 0 0 13px #f2c55a; }
.hero-status div { display: grid; line-height: 1.25; }
.hero-status small { color: #7399b8; font-size: .51rem; font-weight: 600; letter-spacing: .13em; }
.hero-status strong { margin-top: 4px; color: #ddedfa; font-size: .69rem; font-weight: 500; }
.hero-status b { margin-left: 8px; padding: 4px 7px; border: 1px solid rgba(255,255,255,.1); color: #7294af; font-size: .48rem; letter-spacing: .12em; }
.hero-action-grid { position: absolute; right: 0; bottom: 96px; display: grid; grid-template-columns: repeat(3, minmax(185px, 1fr)); width: min(680px, 56%); }
.hero-action-card { position: relative; display: grid; grid-template-columns: 52px 1fr auto; min-height: 96px; align-items: center; gap: 13px; overflow: hidden; padding: 16px 18px; border: 1px solid rgba(255,255,255,.13); background: rgba(5,31,73,.94); color: #fff; text-align: left; text-decoration: none; cursor: pointer; transition: transform .22s, background .22s; }
.hero-action-card + .hero-action-card { border-left: 0; }
.hero-action-card::before { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: linear-gradient(90deg, #10a6ff, #75e9ff); transform: scaleX(.35); transform-origin: left; transition: transform .22s; }
.hero-action-card:hover { z-index: 2; background: rgba(6,101,192,.94); transform: translateY(-8px); }
.hero-action-card:hover::before { transform: scaleX(1); }
.action-icon { display: grid; width: 50px; height: 50px; place-items: center; border: 1px solid rgba(110,216,255,.2); background: rgba(46,151,222,.12); color: #80ddff; font-size: 1.1rem; transform: rotate(-3deg); }
.action-copy { display: grid; line-height: 1.3; }
.action-copy strong { font-size: .86rem; }
.action-copy small { margin-top: 5px; color: #7fb1d1; font-size: .52rem; font-weight: 600; letter-spacing: .13em; }
.action-arrow { color: #6acdf4; font-size: .65rem; }
.hero-scroll { position: absolute; z-index: 5; bottom: 34px; left: 50%; display: flex; align-items: center; gap: 13px; color: #d9f7ff; font-size: .54rem; font-weight: 700; letter-spacing: .18em; text-shadow: 0 2px 12px rgba(0,125,255,.75); transform: translateX(-50%); }
.hero-scroll i { color: #31d5ff; animation: scrollArrow 1.6s infinite; }

/* Shared section */
.section { position: relative; padding: 110px 0; overflow: hidden; }
.section-watermark { position: absolute; top: 25px; left: 50%; color: rgba(6,78,162,.035); font-size: min(17vw, 245px); font-weight: 800; letter-spacing: .08em; line-height: 1; transform: translateX(-50%); user-select: none; }
.section-heading { position: relative; z-index: 1; }
.section-heading .kicker, .kicker { display: block; margin-bottom: 9px; color: var(--blue-600); font-size: .67rem; font-weight: 700; letter-spacing: .19em; }
.section-heading h2 { margin: 0; color: var(--navy-900); font-size: clamp(2.7rem, 5vw, 4.3rem); font-weight: 800; letter-spacing: -.055em; line-height: 1; }
.section-heading h2 i { color: var(--blue-600); font-style: normal; font-weight: 300; }
.section-heading p { margin: 17px 0 0; color: var(--muted); font-size: .88rem; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 34px; }
.all-link { display: inline-flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid #268fde; background: transparent; color: var(--blue-700); cursor: pointer; font-size: .75rem; font-weight: 600; }

/* News */
.news-section { background: radial-gradient(circle at 50% 5%, rgba(54,174,255,.1), transparent 30%), #f4f9ff; }
.news-tabs { position: relative; z-index: 1; display: flex; gap: 4px; margin-top: 45px; border-bottom: 1px solid rgba(16,91,166,.13); }
.news-tabs button { position: relative; min-width: 112px; padding: 13px 18px; background: transparent; color: #8291a5; cursor: pointer; font-size: .76rem; font-weight: 500; }
.news-tabs button::after { content: ""; position: absolute; right: 12px; bottom: -1px; left: 12px; height: 3px; background: var(--blue-600); transform: scaleX(0); transition: transform .2s; }
.news-tabs button.active { color: var(--blue-700); font-weight: 700; }
.news-tabs button.active::after { transform: scaleX(1); }
.news-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr .85fr .85fr; gap: 17px; margin-top: 28px; }
.news-card { min-width: 0; overflow: hidden; border: 1px solid rgba(8,78,147,.12); background: #fff; box-shadow: 0 18px 50px rgba(6,50,101,.07); transition: transform .25s, box-shadow .25s; }
.news-card:hover { box-shadow: 0 28px 70px rgba(7,54,111,.14); transform: translateY(-7px); }
.news-card:nth-child(4) { grid-column: 2 / 4; display: grid; grid-template-columns: .62fr 1fr; }
.news-visual { position: relative; height: 180px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #071b42, #0b64bb); }
.news-visual::before { content: ""; position: absolute; width: 190px; height: 190px; right: -65px; top: -75px; border: 1px solid rgba(114,220,255,.2); border-radius: 50%; box-shadow: 0 0 0 30px rgba(98,211,255,.03), 0 0 0 65px rgba(98,211,255,.02); }
.news-visual::after { content: ""; position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px); background-size: 36px 36px; transform: perspective(500px) rotateX(48deg) scale(1.6); }
.news-featured .news-visual { height: 250px; }
.news-card:nth-child(4) .news-visual { height: 100%; min-height: 205px; }
.accent-violet .news-visual { background: linear-gradient(135deg, #111e54, #5f4bd3); }
.accent-blue .news-visual { background: linear-gradient(135deg, #052d68, #079bd7); }
.accent-gold .news-visual { background: linear-gradient(135deg, #443469, #b17b27); }
.news-sigil { position: relative; z-index: 1; display: grid; width: 78px; height: 78px; place-items: center; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.11); color: #fff; font-size: 1.65rem; box-shadow: 0 18px 40px rgba(0,15,47,.25); transform: rotate(-5deg); backdrop-filter: blur(8px); }
.news-label { position: absolute; z-index: 2; bottom: 14px; left: 15px; padding: 6px 10px; background: #fff; color: var(--blue-700); font-size: .62rem; font-weight: 700; }
.news-index { position: absolute; z-index: 2; right: 14px; bottom: 7px; color: rgba(255,255,255,.15); font-size: 2.6rem; font-weight: 800; }
.news-copy { padding: 22px; }
.news-copy time { display: flex; align-items: center; gap: 6px; color: #8a9aad; font-size: .63rem; }
.news-copy time i { color: var(--blue-500); }
.news-copy h3 { margin: 11px 0 9px; color: var(--navy-900); font-size: 1.05rem; line-height: 1.5; }
.news-featured .news-copy h3 { font-size: 1.35rem; }
.news-copy p { margin: 0; color: var(--muted); font-size: .76rem; line-height: 1.75; }
.news-copy button { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; padding: 0; background: transparent; color: var(--blue-700); cursor: pointer; font-size: .7rem; font-weight: 600; }
.news-copy button i { transition: transform .2s; }
.news-copy button:hover i { transform: translateX(4px); }

/* Class archive */
.class-section { min-height: 820px; background: var(--navy-950); color: #fff; }
.class-section::before { content: ""; position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(94,198,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(94,198,255,.15) 1px, transparent 1px); background-size: 68px 68px; mask-image: linear-gradient(90deg, transparent, #000 50%, transparent); }
.class-sky { position: absolute; inset: 0; background: radial-gradient(circle at 42% 58%, rgba(20,132,232,.25), transparent 25%), radial-gradient(circle at 70% 35%, rgba(58,71,195,.2), transparent 30%), linear-gradient(125deg, #020a1b 0%, #061d4b 55%, #020a1b 100%); }
.dark-watermark { color: rgba(95,206,255,.035); }
.centered-heading { text-align: center; }
.light-heading .kicker { color: #6edcff; }
.light-heading h2, .light-heading p { color: #fff; }
.light-heading h2 i { color: #59cfff; }
.light-heading p { color: #91aec7; }
.class-stage { position: relative; z-index: 2; display: grid; grid-template-columns: 190px minmax(350px, .8fr) minmax(350px, 1fr); align-items: center; gap: 55px; margin-top: 58px; }
.class-selector { display: grid; gap: 9px; }
.class-selector button { display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 12px; padding: 7px; background: transparent; color: #6f8ba4; text-align: left; cursor: pointer; transition: color .2s, background .2s, transform .2s; }
.class-selector button > span { display: grid; width: 51px; height: 51px; place-items: center; border: 1px solid rgba(108,205,255,.15); background: rgba(7,39,82,.55); font-size: 1.05rem; }
.class-selector button small { font-size: .58rem; font-weight: 600; letter-spacing: .09em; }
.class-selector button.active { background: linear-gradient(90deg, rgba(12,121,216,.24), transparent); color: #fff; transform: translateX(8px); }
.class-selector button.active > span { border-color: #5dd7ff; background: linear-gradient(135deg, #0a83dd, #0c4fa8); color: #fff; box-shadow: 0 0 25px rgba(47,177,245,.3); }
.class-portrait { position: relative; height: 430px; display: grid; place-items: center; }
.class-portrait::after { content: ""; position: absolute; width: 72%; height: 32px; bottom: 26px; border-radius: 50%; background: rgba(17,147,237,.26); filter: blur(16px); }
.class-portrait img { position: relative; z-index: 3; width: 255px; height: 255px; border: 5px solid rgba(255,255,255,.87); border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 14px rgba(53,173,240,.09), 0 35px 80px rgba(0,8,28,.55); }
.class-portrait img.custom-class-image{width:min(100%,330px);height:390px;border:0;border-radius:0;background:transparent;object-fit:contain;filter:drop-shadow(0 28px 30px rgba(0,15,45,.42));box-shadow:none}
.portrait-glow { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(76,210,255,.38), rgba(18,101,192,.11) 48%, transparent 70%); filter: blur(8px); animation: portraitPulse 3.5s ease-in-out infinite; }
.magic-ring { position: absolute; border: 1px solid rgba(93,211,255,.22); border-radius: 50%; }
.ring-outer { width: 410px; height: 410px; border-style: dashed; animation: runeSpin 22s linear infinite; }
.ring-inner { width: 335px; height: 335px; box-shadow: inset 0 0 50px rgba(50,171,240,.06); animation: runeSpin 18s linear reverse infinite; }
.portrait-class-icon { position: absolute; z-index: 4; right: 14%; bottom: 58px; display: grid; width: 64px; height: 64px; place-items: center; border: 2px solid #8ce6ff; border-radius: 50%; background: #08499b; color: #fff; box-shadow: 0 0 30px rgba(57,194,255,.55); font-size: 1.25rem; }
.class-information { position: relative; padding-left: 42px; border-left: 1px solid rgba(117,200,244,.17); }
.class-information::before, .class-information::after { content: ""; position: absolute; left: -3px; width: 5px; height: 5px; border-radius: 50%; background: #52d7ff; box-shadow: 0 0 9px #52d7ff; }
.class-information::before { top: 0; }.class-information::after { bottom: 0; }
.class-information.class-changing { animation: informationIn .35s ease; }
.class-number { color: #4f8fb8; font-size: .58rem; font-weight: 600; letter-spacing: .15em; }
.class-information > p:first-of-type { margin: 17px 0 8px; color: #69ccf6; font-size: .68rem; font-weight: 500; }
.class-information h3 { margin: 0; color: #fff; font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.05; }
.class-information h4 { margin: 9px 0 0; color: #87ddff; font-size: 1.05rem; font-weight: 400; }
.class-line { width: 90px; height: 2px; margin: 25px 0; background: linear-gradient(90deg, #3ecbff, transparent); }
.class-description { max-width: 480px; margin: 0; color: #94abc1; font-size: .81rem; line-height: 1.85; }
.class-stats { display: grid; gap: 14px; max-width: 460px; margin-top: 29px; }
.class-stats div > span { display: flex; justify-content: space-between; margin-bottom: 6px; color: #8fa8bf; font-size: .65rem; }
.class-stats div > span b { color: #6ad9ff; }
.class-stats div > i { display: block; height: 3px; background: rgba(255,255,255,.08); }
.class-stats div > i em { display: block; width: var(--stat); height: 100%; background: linear-gradient(90deg, #137ce5, #64dcff); box-shadow: 0 0 10px rgba(80,207,255,.45); animation: statGrow .6s ease both; }

/* Systems */
.system-section { background: #fff; }
.system-note { display: inline-flex; align-items: center; gap: 9px; padding: 9px 13px; border: 1px solid rgba(17,116,211,.14); background: #edf7ff; color: var(--blue-700); font-size: .65rem; font-weight: 600; }
.system-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 50px; }
.system-card { position: relative; min-height: 450px; overflow: hidden; border: 1px solid rgba(7,74,143,.12); background: #f9fcff; transition: transform .25s, box-shadow .25s; }
.system-card:hover { z-index: 2; box-shadow: 0 25px 65px rgba(5,52,108,.15); transform: translateY(-8px); }
.system-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; color: #7790aa; }
.system-top span { font-size: .67rem; font-weight: 700; }
.system-top > i { color: var(--blue-600); }
.system-art { position: relative; height: 180px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #051d49, #0876cf); }
.system-art span { position: absolute; width: 155px; height: 155px; border: 1px solid rgba(114,221,255,.18); border-radius: 50%; box-shadow: 0 0 0 28px rgba(78,196,255,.025), 0 0 0 58px rgba(78,196,255,.018); }
.system-art > i { position: relative; z-index: 1; color: #fff; font-size: 2.4rem; filter: drop-shadow(0 10px 18px rgba(0,13,43,.4)); }
.system-copy { padding: 24px 22px 70px; }
.system-copy small { color: var(--blue-600); font-size: .55rem; font-weight: 700; letter-spacing: .13em; }
.system-copy h3 { margin: 6px 0 10px; color: var(--navy-900); font-size: 1.15rem; }
.system-copy p { margin: 0; color: var(--muted); font-size: .73rem; line-height: 1.8; }
.system-card > button { position: absolute; right: 18px; bottom: 18px; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(4,103,202,.17); background: #edf7ff; color: var(--blue-700); cursor: pointer; transition: background .2s, color .2s; }
.system-card > button:hover { background: var(--blue-600); color: #fff; }

/* Community */
.community-section { position: relative; overflow: hidden; padding: 85px 0; background: linear-gradient(110deg, #063b8c, #087fdf 62%, #12aee8); color: #fff; }
.community-bg { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 45px 45px; transform: perspective(650px) rotateX(53deg) scale(1.7); transform-origin: bottom; }
.community-section::before { content: ""; position: absolute; width: 640px; height: 640px; right: -230px; top: -340px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 60px rgba(255,255,255,.025), 0 0 0 120px rgba(255,255,255,.018); }
.community-content { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
.community-mark { display: grid; width: 90px; height: 90px; place-items: center; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.11); font-size: 2.1rem; transform: rotate(-4deg); backdrop-filter: blur(9px); }
.community-content .kicker { margin: 0 0 7px; color: #9be8ff; }
.community-content h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.15; letter-spacing: -.04em; }
.community-content p { max-width: 640px; margin: 13px 0 0; color: #d2ebff; font-size: .83rem; }
.community-button { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 12px; min-width: 205px; padding: 16px 21px; clip-path: polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px); background: #fff; color: #075eb9; cursor: pointer; text-align: left; font-weight: 700; box-shadow: 0 20px 50px rgba(0,29,92,.25); transition: transform .2s; }
.community-button:hover { transform: translateY(-4px); }
.community-button i { grid-row: span 2; font-size: 1.45rem; }
.community-button span { color: #7d9ab8; font-size: .52rem; letter-spacing: .12em; }

/* Footer + floating light dots */
.site-footer { position: relative; min-height: 490px; overflow: hidden; padding: 105px 0 25px; background: linear-gradient(180deg, #020b1d, #010614 82%); color: #829ab2; }
.site-footer::before { content: ""; position: absolute; inset: 0; opacity: .25; background: radial-gradient(circle at 50% 100%, rgba(13,111,214,.35), transparent 42%), linear-gradient(rgba(78,164,224,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(78,164,224,.08) 1px, transparent 1px); background-size: auto, 70px 70px, 70px 70px; mask-image: linear-gradient(0deg, #000, transparent 75%); }
.footer-light-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.footer-aura { position: absolute; width: 500px; height: 280px; bottom: -180px; border-radius: 50%; background: rgba(10,118,235,.28); filter: blur(70px); }
.aura-left { left: -170px; }.aura-right { right: -120px; background: rgba(0,201,255,.18); }
.light-dot { --dot-size: 5px; position: absolute; bottom: -14px; width: var(--dot-size); height: var(--dot-size); border-radius: 50%; background: #dffbff; box-shadow: 0 0 7px #8eeaff, 0 0 17px rgba(18,154,255,.86), 0 0 34px rgba(0,92,255,.4); opacity: 0; animation: lightDotFloat 12s linear infinite, lightDotGlow 2.2s ease-in-out infinite alternate; }
.hero-rune,.portrait-glow,.class-ring,.light-dot { animation-play-state: paused; }
.hero.effects-active .hero-rune,.classes-section.effects-active .portrait-glow,.classes-section.effects-active .class-ring,.site-footer.effects-active .light-dot { animation-play-state: running; }
.dot-1 { --dot-size: 4px; left: 4%; animation-duration: 13s, 2.1s; animation-delay: -3s, -.4s; }
.dot-2 { --dot-size: 7px; left: 13%; animation-duration: 16s, 2.7s; animation-delay: -11s, -1s; }
.dot-3 { --dot-size: 3px; left: 24%; animation-duration: 11s, 1.8s; animation-delay: -6s, -.8s; }
.dot-4 { --dot-size: 5px; left: 33%; animation-duration: 15s, 2.4s; animation-delay: -9s, -1.4s; }
.dot-5 { --dot-size: 8px; left: 43%; animation-duration: 18s, 3s; animation-delay: -15s, -.5s; }
.dot-6 { --dot-size: 4px; left: 52%; animation-duration: 12s, 2s; animation-delay: -7s, -1.2s; }
.dot-7 { --dot-size: 6px; left: 61%; animation-duration: 17s, 2.6s; animation-delay: -4s, -.3s; }
.dot-8 { --dot-size: 3px; left: 69%; animation-duration: 10s, 1.7s; animation-delay: -8s, -.9s; }
.dot-9 { --dot-size: 7px; left: 77%; animation-duration: 16s, 2.8s; animation-delay: -13s, -1.3s; }
.dot-10 { --dot-size: 4px; left: 85%; animation-duration: 13s, 2.2s; animation-delay: -5s, -.6s; }
.dot-11 { --dot-size: 6px; left: 92%; animation-duration: 19s, 3.1s; animation-delay: -16s, -1.5s; }
.dot-12 { --dot-size: 3px; left: 97%; animation-duration: 11s, 1.9s; animation-delay: -2s, -.2s; }
.footer-content { position: relative; z-index: 2; }
.footer-main { display: grid; grid-template-columns: 1.8fr .7fr .7fr 1fr; gap: 60px; padding-bottom: 65px; }
.footer-brand .brand img { width: 62px; height: 62px; }
.footer-brand p { margin: 23px 0 0; color: #728ba3; font-size: .77rem; line-height: 1.85; }
.footer-links, .footer-community { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-links h3, .footer-community h3 { margin: 5px 0 14px; color: #cbeaff; font-size: .65rem; letter-spacing: .17em; }
.footer-links a, .footer-links button { padding: 0; background: transparent; color: #7890a8; cursor: pointer; font-size: .72rem; transition: color .2s, transform .2s; }
.footer-links a:hover, .footer-links button:hover { color: #62d6ff; transform: translateX(4px); }
.footer-community p { margin: 0 0 8px; color: #728ba3; font-size: .7rem; }
.footer-community > div { display: flex; gap: 8px; }
.footer-community button,.footer-community a { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid rgba(92,200,255,.17); background: rgba(18,79,134,.15); color: #86b8d4; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.footer-community button:hover,.footer-community a:hover { background: #087ce0; color: #fff; box-shadow: 0 0 20px rgba(27,173,255,.32); }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding-top: 23px; border-top: 1px solid rgba(104,178,224,.1); color: #526a80; font-size: .58rem; letter-spacing: .03em; }
.footer-bottom p { margin: 0; }.footer-bottom span { margin-left: 10px; color: #2fa8e8; }
.back-to-top { position: fixed; z-index: 900; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(120,220,255,.34); background: rgba(4,83,174,.88); color: #fff; cursor: pointer; box-shadow: 0 15px 35px rgba(0,32,91,.28); opacity: 0; pointer-events: none; transform: translateY(15px); transition: .2s; backdrop-filter: blur(8px); }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* SweetAlert */
.swal2-popup.web-zmro-popup { border: 1px solid rgba(37,144,227,.2); border-radius: 5px; padding: 28px; font-family: "Prompt", sans-serif; box-shadow: 0 30px 90px rgba(2,20,56,.28); }
.swal2-popup.web-zmro-popup .swal2-title { color: var(--navy-900); font-size: 1.3rem; }
.swal2-popup.web-zmro-popup .swal2-html-container { color: var(--muted); font-size: .8rem; line-height: 1.75; }
.swal2-popup.web-zmro-popup .swal2-confirm { border-radius: 2px; background: linear-gradient(135deg, #10a9f4, #075fc8); font-weight: 600; box-shadow: none; }
.swal2-popup.web-zmro-popup .swal2-cancel { border-radius: 2px; background: #eaf2f9; color: #52677d; font-weight: 600; }

@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.78); } }
@keyframes runeSpin { to { transform: rotate(360deg); } }
@keyframes scrollArrow { 0%,100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
@keyframes portraitPulse { 0%,100% { opacity: .75; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes informationIn { from { opacity: .35; transform: translateX(13px); } to { opacity: 1; transform: none; } }
@keyframes statGrow { from { width: 0; } }
@keyframes lightDotFloat { 0% { opacity: 0; transform: translate3d(0,0,0) scale(.65); } 12% { opacity: .72; } 45% { transform: translate3d(15px,-185px,0) scale(1); } 78% { opacity: .48; transform: translate3d(-9px,-340px,0) scale(.8); } 100% { opacity: 0; transform: translate3d(12px,-485px,0) scale(.4); } }
@keyframes lightDotGlow { from { filter: brightness(.8); } to { filter: brightness(1.45); } }

@media (max-width: 1220px) {
    .desktop-nav a { min-width: auto; padding-inline: 12px; }
    .desktop-nav a i { display: none; }
    .hero-shell { width: min(calc(100% - 110px), 1120px); }
    .hero-action-grid { width: min(630px, 62%); }
    .class-stage { grid-template-columns: 170px minmax(310px,.8fr) 1fr; gap: 35px; }
    .system-grid { grid-template-columns: repeat(2, 1fr); }
    .system-card { min-height: 390px; }
}

@media (max-width: 1020px) {
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
    .hero-season,.hero-action-card,.social-rail button,.news-sigil,.community-mark,.back-to-top { backdrop-filter: none; }
    :root { --header-height: 72px; }
    .header-shell { width: min(calc(100% - 30px), 1460px); }
    .desktop-nav, .login-link, .register-button { display: none; }
    .account-actions { margin-left: auto; }
    .menu-toggle { display: block; }
    .section-rail, .social-rail { display: none; }
    .hero-shell { width: min(calc(100% - 48px), 900px); padding-top: 140px; }
    .hero-action-grid { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 50px; }
    .news-layout { grid-template-columns: 1fr 1fr; }
    .news-featured { grid-column: 1 / -1; display: grid; grid-template-columns: .9fr 1fr; }
    .news-featured .news-visual { height: 100%; min-height: 260px; }
    .news-card:nth-child(4) { grid-column: 1 / -1; }
    .class-stage { grid-template-columns: 140px 1fr; }
    .class-information { grid-column: 1 / -1; max-width: 780px; margin-inline: auto; }
    .class-portrait { height: 390px; }
    .community-content { grid-template-columns: auto 1fr; }
    .community-button { grid-column: 2; justify-self: start; }
    .footer-main { grid-template-columns: 1.5fr .7fr .7fr; }
    .footer-community { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .container, .wide-container { width: min(calc(100% - 28px), var(--container)); }
    .brand img { width: 47px; height: 47px; }
    .brand-copy strong { font-size: 1.08rem; }.brand-copy small { font-size: .44rem; }
    .hero { min-height: auto; }
    .hero-media video { object-position: 58% center; }
    .hero-wash { background: linear-gradient(180deg, rgba(2,9,27,.68), rgba(3,18,47,.88) 44%, rgba(2,10,29,.98) 82%); }
    .hero-shell { width: min(calc(100% - 28px), 680px); padding: 125px 0 135px; }
    .hero-season { font-size: .54rem; }
    .hero-overline { font-size: .64rem; }
    .hero h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
    .hero-divider { width: min(100%, 330px); }
    .hero-description { font-size: .9rem; }
    .hero-action-grid { grid-template-columns: 1fr; gap: 7px; margin-top: 38px; }
    .hero-action-card + .hero-action-card { border-left: 1px solid rgba(255,255,255,.13); }
    .hero-action-card { min-height: 82px; }
    .hero-scroll { display: none; }
    .section { padding: 78px 0; }
    .section-heading h2 { font-size: 2.6rem; }
    .split-heading { align-items: flex-start; flex-direction: column; }
    .news-tabs { overflow-x: auto; padding-bottom: 1px; }
    .news-tabs button { min-width: max-content; }
    .news-layout { grid-template-columns: 1fr; }
    .news-featured, .news-card:nth-child(4) { grid-column: auto; display: block; }
    .news-featured .news-visual, .news-card:nth-child(4) .news-visual { height: 190px; min-height: 0; }
    .class-stage { grid-template-columns: 1fr; margin-top: 42px; }
    .class-selector { display: flex; gap: 7px; overflow-x: auto; padding: 3px 3px 10px; }
    .class-selector button { min-width: 72px; grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .class-selector button small { display: none; }
    .class-selector button.active { transform: translateY(-3px); }
    .class-portrait { height: 330px; }
    .class-portrait img { width: 205px; height: 205px; }
    .ring-outer { width: 310px; height: 310px; }.ring-inner { width: 260px; height: 260px; }
    .portrait-class-icon { right: 18%; bottom: 45px; width: 54px; height: 54px; }
    .class-information { padding: 28px 0 0; border-top: 1px solid rgba(117,200,244,.17); border-left: 0; }
    .class-information::before, .class-information::after { top: -3px; bottom: auto; }.class-information::before { left: 0; }.class-information::after { right: 0; left: auto; }
    .system-grid { grid-template-columns: 1fr; }
    .system-card { min-height: 420px; }
    .community-content { grid-template-columns: 1fr; }
    .community-mark { width: 72px; height: 72px; }
    .community-button { grid-column: 1; width: 100%; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 38px 25px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-community { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
    .hero-status b { display: none; }
    .hero-action-card { grid-template-columns: 48px 1fr auto; padding-inline: 14px; }
    .section-heading h2 { font-size: 2.25rem; }
    .class-portrait img { width: 185px; height: 185px; }
    .ring-outer { width: 280px; height: 280px; }.ring-inner { width: 230px; height: 230px; }
    .footer-main { grid-template-columns: 1fr; }
    .footer-links, .footer-community { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .hero-media video { display: none; }
    .hero-media { background: linear-gradient(135deg, #03112c, #075fae); }
    .light-dot { display: none; }
}

/* Member name and role badge appearance */
.rank-gradient-name {
    --rank-start: #18a8e8;
    --rank-end: #7657f5;
    --rank-third: #36d7ff;
    --rank-fourth: #ff5fcf;
    display: inline-block;
    font-weight: 800;
    line-height: 1.35;
}
.rank-effect-solid { background: none !important; color: var(--rank-start) !important; -webkit-text-fill-color: currentColor; }
.rank-effect-gradient,
.rank-effect-shimmer,
.rank-effect-rainbow {
    background-image: linear-gradient(105deg, var(--rank-start), var(--rank-end), var(--rank-third), var(--rank-fourth), var(--rank-start));
    background-repeat: repeat;
    background-size: 300% 100%;
    color: transparent !important;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.rank-effect-gradient { background-size: 100% 100%; }
.rank-effect-shimmer { animation: web-zmro-rank-flow 2.8s linear infinite; }
.rank-effect-rainbow { animation: web-zmro-rank-flow 4.5s linear infinite; filter: saturate(1.3); }
.rank-effect-neon {
    background: none !important;
    color: var(--rank-start) !important;
    -webkit-text-fill-color: currentColor;
    text-shadow: 0 0 5px var(--rank-start), 0 0 12px var(--rank-end), 0 0 21px var(--rank-third);
    animation: web-zmro-rank-neon 1.8s ease-in-out infinite alternate;
}
.rank-effect-pulse {
    background: none !important;
    color: var(--rank-start) !important;
    -webkit-text-fill-color: currentColor;
    text-shadow: 0 0 9px var(--rank-end);
    animation: web-zmro-rank-pulse 1.7s ease-in-out infinite;
}
.rank-gradient-name.rank-bg-enabled {
    position: relative;
    z-index: 0;
    min-width: 0;
    padding: 3px 7px;
    overflow: visible;
    text-align: center;
    isolation: isolate;
}
.rank-gradient-name.rank-bg-enabled::before {
    content: "";
    position: absolute;
    inset: -3px -5px;
    z-index: -1;
    background-image: var(--rank-bg-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    pointer-events: none;
}
.comment-rank-badge {
    --badge-start: #18a8e8;
    --badge-end: #7657f5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--badge-start);
    border-radius: 999px;
    color: var(--badge-start);
    font-style: normal;
    font-weight: 700;
    line-height: 1;
}
.badge-effect-outline { border-color: var(--badge-start) !important; background: transparent !important; color: var(--badge-start) !important; }
.badge-effect-gradient {
    border-color: transparent !important;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(110deg, var(--badge-start), var(--badge-end)) border-box !important;
    color: var(--badge-start) !important;
}
.badge-effect-glow {
    border-color: var(--badge-start) !important;
    background: rgba(255,255,255,.92) !important;
    color: var(--badge-start) !important;
    box-shadow: 0 0 6px var(--badge-start), 0 0 14px color-mix(in srgb, var(--badge-end) 55%, transparent);
    animation: web-zmro-badge-glow 1.8s ease-in-out infinite alternate;
}
.badge-effect-soft {
    border-color: transparent !important;
    background: color-mix(in srgb, var(--badge-start) 12%, white) !important;
    color: var(--badge-start) !important;
}
@keyframes web-zmro-rank-flow { to { background-position: 300% 50%; } }
@keyframes web-zmro-rank-neon { from { opacity: .82; } to { opacity: 1; filter: brightness(1.25); } }
@keyframes web-zmro-rank-pulse { 50% { transform: scale(1.045); filter: brightness(1.2); } }
@keyframes web-zmro-badge-glow { to { box-shadow: 0 0 10px var(--badge-start), 0 0 20px var(--badge-end); } }

@media (prefers-reduced-motion: reduce) {
    .rank-effect-shimmer,
    .rank-effect-rainbow,
    .rank-effect-neon,
    .rank-effect-pulse,
    .badge-effect-glow { animation: none !important; }
}
/* Dynamic content, archive and public error pages */
.card-stretched-link{position:absolute;inset:0;z-index:3}.news-card,.system-card{position:relative}.news-card>*:not(.card-stretched-link),.system-card>*:not(.card-stretched-link){position:relative;z-index:2;pointer-events:none}.news-visual{background-position:center;background-size:cover}.news-pin{position:absolute;top:14px;left:14px;padding:6px 9px;background:#ff9a23;color:#fff;font-size:.48rem;font-weight:800;letter-spacing:.06em}.news-read{display:inline-flex;align-items:center;gap:7px;color:#078bd4;font-size:.6rem;font-weight:800}.news-likes{float:right;color:#f25c78;font-size:.56rem}.system-arrow{display:grid;width:38px;height:38px;place-items:center;background:#118fd8;color:#fff}.class-skill-adjustments{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.class-skill{position:relative;display:grid;width:52px;height:52px;place-items:center;border:1px solid rgba(255,255,255,.42);background:rgba(3,40,92,.48);color:#72dcff;cursor:help}.class-skill img{width:42px;height:42px;object-fit:cover}.class-skill>em{position:absolute;bottom:calc(100% + 12px);left:50%;z-index:15;width:300px;padding:16px 18px;transform:translate(-50%,8px);background:#031b40;color:#dceeff;font-size:.68rem;font-style:normal;line-height:1.75;opacity:0;pointer-events:none;transition:.18s;box-shadow:0 14px 35px rgba(0,0,0,.32)}.class-skill>em:after{content:"";position:absolute;top:100%;left:50%;border:7px solid transparent;border-top-color:#031b40;transform:translateX(-50%)}.class-skill>em strong{display:block;margin-bottom:5px;color:#5ed9ff;font-size:.78rem}.class-skill:hover>em,.class-skill:focus>em{opacity:1;transform:translate(-50%,0)}.social-rail a,.footer-community a{display:grid;place-items:center;color:inherit;text-decoration:none}.post-detail-page{min-height:80vh;padding:150px 20px 90px;background:radial-gradient(circle at 80% 0,rgba(35,182,255,.15),transparent 30%),#edf7fd}.post-detail-shell{max-width:980px;margin:auto;border:1px solid #c9e4f4;background:#fff;box-shadow:0 28px 70px rgba(18,72,114,.12)}.post-back{display:inline-flex;align-items:center;gap:8px;margin:24px 28px 0;color:#138bcf;font-size:.62rem;font-weight:700;text-decoration:none}.post-cover{display:block;width:calc(100% - 56px);max-height:480px;margin:24px 28px 0;object-fit:cover}.post-detail-shell>header,.post-detail-shell>.post-lead,.post-body,.post-detail-shell>footer{margin-right:clamp(25px,7vw,80px);margin-left:clamp(25px,7vw,80px)}.post-detail-shell>header{padding:42px 0 25px;border-bottom:1px solid #deebf3}.post-detail-shell>header>div{display:flex;gap:8px}.post-detail-shell>header span,.post-detail-shell>header b{padding:6px 10px;background:#e8f7ff;color:#0589d2;font-size:.5rem}.post-detail-shell>header b{background:#fff1df;color:#e48116}.post-detail-shell h1{margin:15px 0 10px;color:#0a315b;font-size:clamp(1.35rem,3vw,2.25rem);line-height:1.3}.post-detail-shell header p{margin:0;color:#8196aa;font-size:.58rem}.post-lead{padding:24px;border-left:4px solid #24afe8;background:#f1faff;color:#406683;font-size:.75rem;line-height:1.8}.post-body{padding:20px 0 55px;color:#36566f;font-size:.72rem;line-height:2}.post-detail-shell>footer{padding:22px 0 35px;border-top:1px solid #deebf3}.post-detail-shell>footer button{border:1px solid #f1b7c2;background:#fff;color:#dc4f69;padding:11px 18px;font:inherit;font-size:.62rem;font-weight:700;cursor:pointer}.post-detail-shell>footer button.liked{background:#e9516d;color:#fff}.error-page{position:relative;display:grid;min-height:760px;place-items:center;overflow:hidden;padding:140px 20px 80px;background:radial-gradient(circle at 50% 35%,rgba(44,193,255,.3),transparent 30%),linear-gradient(145deg,#041531,#082e63 58%,#075e96);text-align:center}.error-page:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(87,190,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(87,190,255,.05) 1px,transparent 1px);background-size:42px 42px}.error-page section{position:relative;z-index:2;max-width:740px}.error-page section>span{color:#62ddff;font-size:.6rem;font-weight:800;letter-spacing:.25em}.error-page section>strong{display:block;color:#fff;font-size:clamp(6rem,16vw,11rem);line-height:1;text-shadow:0 0 45px rgba(63,206,255,.35)}.error-page section>strong i{font-size:.42em;color:#43d3ff}.error-page h1{margin:15px 0;color:#fff;font-size:clamp(1.2rem,3vw,2rem)}.error-page p{color:#a9c9e3;font-size:.68rem;line-height:1.8}.error-page section>div{display:flex;justify-content:center;gap:12px;margin-top:30px}.error-page section a{padding:13px 20px;background:#159ae2;color:#fff;font-size:.6rem;font-weight:700;text-decoration:none}.error-page section a+ a{border:1px solid rgba(105,215,255,.5);background:rgba(3,26,59,.45)}
@media(max-width:650px){.post-detail-page{padding:110px 10px 55px}.post-cover{width:calc(100% - 28px);margin:14px}.post-detail-shell>header,.post-detail-shell>.post-lead,.post-body,.post-detail-shell>footer{margin-right:22px;margin-left:22px}.error-page section>div{flex-direction:column}.class-skill>em{left:0;transform:translate(0,8px)}.class-skill:hover>em,.class-skill:focus>em{transform:translate(0,0)}}
.post-list-page{min-height:85vh;padding:150px clamp(18px,5vw,70px) 90px;background:#edf7fd}.post-list-page>header{max-width:1180px;margin:0 auto 32px}.post-list-page>header>span{color:#0b91d8;font-size:.56rem;font-weight:800;letter-spacing:.17em}.post-list-page h1{margin:4px 0;color:#0a315b;font-size:clamp(1.8rem,4vw,3rem)}.post-list-page h1 i{color:#19afea;font-style:normal}.post-list-page>header p{color:#7690a6;font-size:.65rem}.post-list-page>header nav{display:flex;gap:8px;margin-top:22px}.post-list-page>header nav a{padding:9px 16px;border:1px solid #c7e1ef;background:#fff;color:#5b7890;font-size:.56rem;font-weight:700;text-decoration:none}.post-list-page>header nav a.active{border-color:#159ce0;background:#159ce0;color:#fff}.post-list-page>section{display:grid;max-width:1180px;margin:auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.post-list-page article{position:relative;overflow:hidden;border:1px solid #d1e4ef;background:#fff;box-shadow:0 15px 40px rgba(20,77,115,.08);transition:.22s}.post-list-page article:hover{transform:translateY(-5px);box-shadow:0 22px 50px rgba(20,77,115,.14)}.post-list-page article>img,.post-list-page article>span{display:grid;width:100%;height:190px;place-items:center;background:linear-gradient(135deg,#0b4381,#149dde);object-fit:cover;color:#72dcff;font-size:2rem}.post-list-page article>div{padding:20px}.post-list-page article small{color:#168ed0;font-size:.49rem;font-weight:700}.post-list-page article h2{margin:7px 0;color:#153c61;font-size:.8rem;line-height:1.45}.post-list-page article p{min-height:48px;margin:0;color:#7890a3;font-size:.53rem;line-height:1.65}.post-list-page article b{display:block;margin-top:14px;color:#e25872;font-size:.53rem}.post-list-empty{grid-column:1/-1;padding:70px;background:#fff;text-align:center;color:#7c94a8}.post-list-empty>i{font-size:2rem;color:#24a9e3}.post-list-empty h2{font-size:.9rem}.post-list-empty p{font-size:.58rem}@media(max-width:900px){.post-list-page>section{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.post-list-page{padding-top:110px}.post-list-page>section{grid-template-columns:1fr}.post-list-page>header nav{flex-wrap:wrap}}
.rich-post-body h2,.rich-post-body h3{margin:28px 0 10px;color:#123f67;line-height:1.4}.rich-post-body h2{font-size:1.15rem}.rich-post-body h3{font-size:.9rem}.rich-post-body p{margin:0 0 16px}.rich-post-body img{display:block;max-width:100%;height:auto;margin:24px auto}.rich-post-body a{color:#0a91d5}.rich-post-body blockquote{margin:22px 0;padding:18px 22px;border-left:4px solid #1ba7e5;background:#eff9fe;color:#466b85}.rich-post-body table{width:100%;margin:22px 0;border-collapse:collapse}.rich-post-body th,.rich-post-body td{border:1px solid #cfe1eb;padding:10px;text-align:left}.rich-post-body th{background:#eaf7fd;color:#17466a}.rich-post-body pre{overflow:auto;padding:16px;background:#061d39;color:#bdeaff}.rich-post-body ul,.rich-post-body ol{padding-left:25px}
.news-showcase{display:grid;grid-template-columns:minmax(340px,1.08fr) minmax(0,1.42fr);gap:20px;margin-top:28px}.news-feature-slider{position:relative;min-height:570px}.news-slide{position:absolute;inset:0;display:flex;visibility:hidden;overflow:hidden;flex-direction:column;border:1px solid #cce1ef;border-radius:24px;background:#fff;opacity:0;transform:translateX(-22px);transition:.45s;box-shadow:0 22px 55px rgba(16,73,115,.1)}.news-slide.active{visibility:visible;opacity:1;transform:none}.news-slide-cover{position:relative;height:255px;background:linear-gradient(135deg,#0b4381,#18a5e5);background-position:center;background-size:cover}.news-slide-cover>span{position:absolute;bottom:14px;left:16px;padding:7px 13px;border-radius:8px;background:#ff8c25;color:#fff;font-size:.62rem;font-weight:800}.news-slide-copy{display:flex;flex:1;flex-direction:column;padding:25px 28px}.news-slide-copy>small,.news-mini-card small{color:#1595d5;font-size:.62rem;font-weight:800}.news-slide-copy h3{margin:9px 0;color:#0b3157;font-size:1.35rem;line-height:1.42}.news-slide-copy p{margin:0;color:#6e879b;font-size:.76rem;line-height:1.75}.news-slide-copy footer{display:flex;align-items:center;justify-content:space-between;margin-top:auto;color:#7f93a5;font-size:.65rem}.news-slide-copy footer b,.news-mini-card b{color:#078fd5}.news-slider-dots{position:absolute;z-index:5;bottom:13px;left:50%;display:flex;gap:7px;transform:translateX(-50%)}.news-slider-dots button{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:#bdd7e7;cursor:pointer;transition:.2s}.news-slider-dots button.active{width:25px;border-radius:5px;background:#159edf}.news-side-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.news-mini-card{position:relative;overflow:hidden;border:1px solid #d0e2ed;border-radius:17px;background:#fff;box-shadow:0 14px 35px rgba(17,70,108,.07);transition:.22s}.news-mini-card:hover{transform:translateY(-5px);box-shadow:0 20px 45px rgba(17,70,108,.13)}.news-mini-cover{height:130px;background:linear-gradient(135deg,#0d4d89,#24b8e8);background-position:center;background-size:cover}.news-mini-card>div:last-child{padding:15px}.news-mini-card h3{display:-webkit-box;overflow:hidden;margin:7px 0;color:#123b60;font-size:.8rem;line-height:1.45;-webkit-line-clamp:2;-webkit-box-orient:vertical}.news-mini-card p{display:-webkit-box;overflow:hidden;margin:0 0 10px;color:#7b8f9f;font-size:.6rem;line-height:1.62;-webkit-line-clamp:2;-webkit-box-orient:vertical}.news-mini-card b{font-size:.58rem}.news-tabs button{font-size:.62rem}.class-selector button span img,.portrait-class-icon img{width:100%;height:100%;object-fit:contain}.class-selector button span img{padding:5px}.portrait-class-icon img{padding:7px}.social-rail a,.social-rail button{color:#a9d9f6!important}
@media(max-width:1050px){.news-showcase{grid-template-columns:1fr}.news-feature-slider{min-height:520px}.news-side-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.news-side-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.news-slide-cover{height:220px}}@media(max-width:480px){.news-side-grid{grid-template-columns:1fr}.news-feature-slider{min-height:540px}}
.post-actions{display:flex;flex-wrap:wrap;gap:9px}.post-actions button,.post-actions a{display:inline-flex;align-items:center;gap:7px;border:1px solid #c9dfec;background:#fff;color:#277598;padding:11px 18px;font:inherit;font-size:.58rem;font-weight:700;text-decoration:none;cursor:pointer}.post-actions a{border-color:#bad4ed;background:#1877f2;color:#fff}.post-related,.post-comments{max-width:980px;margin:28px auto 0;padding:30px;border:1px solid #c9e4f4;background:#fff;box-shadow:0 20px 55px rgba(18,72,114,.08)}.post-related>header>span,.post-comments>header>span{color:#159ad9;font-size:.5rem;font-weight:800;letter-spacing:.14em}.post-related>header h2,.post-comments>header h2{margin:4px 0 20px;color:#123c61;font-size:1rem}.post-comments>header h2 b{color:#159ad9}.post-related>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.post-related article{position:relative;overflow:hidden;border:1px solid #d6e5ed;background:#fafeff}.post-related article>img,.post-related article>span{display:grid;width:100%;height:115px;place-items:center;background:linear-gradient(135deg,#0d477e,#19a2df);object-fit:cover;color:#6ddcff}.post-related article>div{padding:13px}.post-related small{color:#168fcf;font-size:.44rem}.post-related h3{display:-webkit-box;overflow:hidden;margin:5px 0;color:#193f61;font-size:.58rem;line-height:1.5;-webkit-line-clamp:2;-webkit-box-orient:vertical}.post-related article b{color:#e35470;font-size:.46rem}.post-comments>form{display:grid;grid-template-columns:1fr auto;align-items:end;gap:12px;padding:18px;border:1px solid #d5e7f1;background:#f6fbfe}.post-comments>form label{display:flex;flex-direction:column;gap:7px}.post-comments>form label>span{color:#426983;font-size:.52rem;font-weight:700}.post-comments textarea{min-height:90px;resize:vertical;border:1px solid #c9dee9;background:#fff;padding:13px;color:#274b65;font:inherit;font-size:.58rem;outline:0}.post-comments>form button,.comment-login a{border:0;background:#158fd2;color:#fff;padding:12px 17px;font:inherit;font-size:.54rem;font-weight:700;text-decoration:none;cursor:pointer}.comment-login{display:flex;align-items:center;gap:13px;padding:18px;border:1px solid #d5e7f1;background:#f6fbfe}.comment-login>i{display:grid;width:44px;height:44px;place-items:center;background:#dff4ff;color:#168fd0}.comment-login p{display:flex;flex:1;margin:0;flex-direction:column}.comment-login strong{color:#214a69;font-size:.6rem}.comment-login span{color:#7f94a4;font-size:.49rem}.comment-list{display:grid;gap:10px;margin-top:18px}.comment-list>article{display:grid;grid-template-columns:42px 1fr;gap:12px;padding:15px;border-bottom:1px solid #e0ebf1}.comment-list>article>span{display:grid;width:42px;height:42px;place-items:center;border-radius:50%;background:linear-gradient(135deg,#147dc3,#28b9df);color:#fff;font-size:.65rem;font-weight:800}.comment-list article header{display:flex;justify-content:space-between}.comment-list article strong{color:#244b69;font-size:.58rem}.comment-list article time{color:#95a6b3;font-size:.46rem}.comment-list article p{margin:6px 0 0;color:#5f788b;font-size:.55rem;line-height:1.7}.comment-empty{color:#8096a8;font-size:.54rem;text-align:center}.comment-error{padding:10px;background:#fff0f2;color:#c94358;font-size:.52rem}@media(max-width:760px){.post-related>div{grid-template-columns:repeat(2,minmax(0,1fr))}.post-comments>form{grid-template-columns:1fr}.comment-login{align-items:flex-start;flex-wrap:wrap}.comment-login a{width:100%;text-align:center}}@media(max-width:440px){.post-related>div{grid-template-columns:1fr}.post-related,.post-comments{padding:20px 14px}.post-actions>*{flex:1;justify-content:center}}
.comment-list>article>span.comment-avatar-image{overflow:hidden;padding:0;background:#dff4ff}.comment-avatar-image img{width:100%;height:100%;object-fit:cover}.comment-list article header>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.rank-gradient-name{font-weight:800}.comment-rank-badge{padding:3px 8px;font-size:.43rem}.post-comments>form label>span a{color:#1397d8}
.comment-thread-body{min-width:0}.comment-reply-button{display:inline-flex;align-items:center;gap:6px;margin-top:8px;border:0;background:transparent;color:#168fd2;padding:5px 0;font:inherit;font-size:.49rem;font-weight:700;cursor:pointer}.comment-reply-form{margin-top:10px;padding:12px;border:1px solid #cfe5f2;background:#f5fbff}.comment-reply-form[hidden]{display:none}.comment-reply-form textarea{box-sizing:border-box;width:100%;min-height:68px}.comment-reply-form>div{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.comment-reply-form button{border:1px solid #c7deeb;background:#fff;color:#54728a;padding:8px 12px;font:inherit;font-size:.48rem;font-weight:700;cursor:pointer}.comment-reply-form button[type=submit]{border-color:#158fd2;background:#158fd2;color:#fff}.comment-replies{display:grid;gap:8px;margin-top:13px;padding-left:18px;border-left:2px solid #d8edf8}.comment-reply{display:grid;grid-template-columns:34px 1fr;gap:10px;padding:12px;background:#f8fcff}.comment-reply>span{display:grid;width:34px;height:34px;place-items:center;overflow:hidden;border-radius:50%;background:linear-gradient(135deg,#147dc3,#28b9df);color:#fff;font-size:.54rem;font-weight:800}.comment-reply .comment-avatar-image img{width:100%;height:100%;object-fit:cover}.comment-reply header{display:flex;justify-content:space-between;gap:8px}.comment-reply header>div{display:flex;align-items:center;flex-wrap:wrap;gap:7px}.comment-reply p{margin:5px 0 0!important}.comment-reply time{white-space:nowrap}@media(max-width:600px){.comment-replies{padding-left:10px}.comment-reply{grid-template-columns:30px 1fr;padding:10px}.comment-reply>span{width:30px;height:30px}.comment-reply header{align-items:flex-start;flex-direction:column}.comment-reply-form>div{flex-direction:column}.comment-reply-form button{width:100%}}
.comment-entry-actions{display:flex;align-items:center;gap:13px}.comment-delete-form{display:inline-flex;margin:0}.comment-delete-form button{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;color:#ce5365;padding:5px 0;font:inherit;font-size:.49rem;font-weight:700;cursor:pointer}.comment-delete-form button:hover{color:#ae273c}.comment-reply .comment-delete-form{margin-top:5px}@media(max-width:600px){.comment-entry-actions{align-items:flex-start;flex-direction:column;gap:2px}}
/* Readable typography scale */
.desktop-nav a{font-size:.86rem}.login-link,.register-button{font-size:.84rem}
.hero-season,.hero-overline,.section-heading>span,.news-tabs button{font-size:.72rem}.hero-description{font-size:1.08rem}.section-heading p{font-size:.96rem}
.news-pin,.news-read,.news-likes,.news-card small,.system-card small{font-size:.68rem}.news-card p,.system-card p,.class-description p{font-size:.84rem}
.news-slide-cover>span,.news-slide-copy>small,.news-mini-card small{font-size:.7rem}.news-slide-copy p{font-size:.84rem}.news-slide-copy footer{font-size:.72rem}.news-mini-card h3{font-size:.9rem}.news-mini-card p{font-size:.72rem}.news-mini-card b{font-size:.68rem}
.class-skill>em{font-size:.8rem}.class-skill>em strong{font-size:.9rem}
.site-footer p{font-size:.84rem}.footer-column h3{font-size:.74rem}.footer-links a{font-size:.8rem}.footer-bottom{font-size:.7rem}
.post-back{font-size:.72rem}.post-detail-shell>header span,.post-detail-shell>header b{font-size:.68rem}.post-detail-shell header p{font-size:.7rem}.post-lead{font-size:.9rem}.post-body{font-size:.9rem;line-height:1.9}.post-detail-shell>footer button,.post-actions button,.post-actions a{font-size:.72rem}
.post-list-page>header>span{font-size:.68rem}.post-list-page>header p{font-size:.78rem}.post-list-page>header nav a{font-size:.7rem}.post-list-page article small{font-size:.64rem}.post-list-page article h2{font-size:.95rem}.post-list-page article p{font-size:.75rem}.post-list-page article b{font-size:.68rem}.post-list-empty p{font-size:.72rem}
.post-related>header>span,.post-comments>header>span{font-size:.64rem}.post-related small{font-size:.6rem}.post-related h3{font-size:.72rem}.post-related article b{font-size:.6rem}.post-comments>form label>span{font-size:.68rem}.post-comments textarea{font-size:.76rem}.post-comments>form button,.comment-login a{font-size:.68rem}.comment-login strong{font-size:.74rem}.comment-login span{font-size:.64rem}.comment-list article strong{font-size:.72rem}.comment-list article time{font-size:.6rem}.comment-list article p{font-size:.72rem}.comment-reply-button,.comment-delete-form button{font-size:.64rem}.comment-reply-form button{font-size:.64rem}.comment-rank-badge{font-size:.58rem}
.error-page section>span{font-size:.72rem}.error-page p{font-size:.82rem}.error-page section a{font-size:.72rem}
@media(max-width:720px){.desktop-nav a{font-size:.82rem}.hero-description{font-size:1rem}.footer-bottom{font-size:.68rem}.post-body,.post-lead{font-size:.84rem}.post-list-page article h2{font-size:.9rem}}
