:root {
    color-scheme: light;
    --ink: #35143d;
    --ink-soft: #664a70;
    --muted: #8d7994;
    --purple: #76509a;
    --purple-deep: #482251;
    --pink: #f30b78;
    --pink-dark: #d50067;
    --mint: #25bc8b;
    --border: #ead9ee;
    --panel: #fffaff;
    --page: #f8effa;
    --shadow: 0 12px 30px rgb(83 42 100 / 9%);
    font-family: Barlow, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

@font-face {
    font-family: Barlow;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/Barlow-Regular.ttf") format("truetype");
}

@font-face {
    font-family: Barlow;
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/Barlow-Medium.ttf") format("truetype");
}

@font-face {
    font-family: Barlow;
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/Barlow-SemiBold.ttf") format("truetype");
}

@font-face {
    font-family: Barlow;
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/Barlow-Bold.ttf") format("truetype");
}

@font-face {
    font-family: Barlow;
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/Barlow-ExtraBold.ttf") format("truetype");
}

@font-face {
    font-family: Barlow;
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("../fonts/Barlow-Black.ttf") format("truetype");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--page); color: var(--ink); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--pink-dark); }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #ec37a0; outline-offset: 3px; }
::selection { color: #fff; background: var(--pink); }
.container, .content-area { width: min(1280px, calc(100% - 52px)); margin-inline: auto; }
.content-area { padding-block: 34px; }
.muted, .region-label { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; z-index: 50; top: -60px; left: 16px; padding: 10px 16px; border-radius: 8px; background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.skip-link:focus { top: 10px; }

.status-bar { min-height: 32px; background: linear-gradient(90deg, #48194e, #66306f); color: #fff; font-size: 10px; font-weight: 750; letter-spacing: .04em; }
.status-inner { width: min(1420px, calc(100% - 44px)); min-height: 32px; display: flex; align-items: center; justify-content: space-between; margin-inline: auto; }
.status-inner > span { display: inline-flex; align-items: center; gap: 7px; }
.status-inner strong { color: #6ff0b2; letter-spacing: .1em; }
.status-inner a { color: #f5def8; }
.status-inner a:hover { color: #fff; }
.online-dot { display: inline-block; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--mint); box-shadow: 0 0 9px rgb(37 188 139 / 42%); }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid #ecdff0; background: rgb(255 250 255 / 94%); box-shadow: 0 5px 18px rgb(72 34 81 / 7%); backdrop-filter: blur(16px); }
.header-inner { width: min(1420px, calc(100% - 44px)); min-height: 66px; display: flex; align-items: center; gap: 26px; margin-inline: auto; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #dbb8e4; border-radius: 13px 13px 13px 4px; background: linear-gradient(145deg, #fff, #eedaf3); color: var(--pink); transform: rotate(-4deg); }
.brand-mark span { font-size: 12px; font-weight: 950; letter-spacing: -.08em; transform: rotate(4deg); }
.brand-name { color: var(--purple-deep); font-size: 15px; font-weight: 950; letter-spacing: .025em; line-height: 1.05; }
.brand-name > span { color: var(--pink); }
.brand-name small { display: block; margin-top: 5px; color: #987ca1; font-size: 7px; font-weight: 800; letter-spacing: .13em; }
.main-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); margin-left: 25px; }
.main-nav a { position: relative; padding-block: 22px; color: var(--ink); font-size: 12px; font-weight: 750; white-space: nowrap; }
.main-nav a::after { position: absolute; right: 0; bottom: 13px; left: 0; height: 3px; border-radius: 3px; background: var(--pink); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.header-account { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.header-account form { margin: 0; }
.account-name { max-width: 110px; overflow: hidden; margin-right: 5px; padding-right: 3px; color: var(--ink-soft); font-size: 11px; font-weight: 700; text-overflow: ellipsis; }

.site-frame { display: grid; grid-template-columns: 225px minmax(0, 1fr); align-items: start; min-height: calc(100vh - 98px); }
.sidebar { position: fixed; z-index: 10; top: 77px; bottom: 0; left: 0; width: 225px; overflow: hidden; margin: 0; padding: 63px 13px 22px; background: linear-gradient(165deg, #85549a 0%, #73508b 57%, #64477d 100%); color: #fff; }
.sidebar-background-art { position: absolute; z-index: 0; right: 0; bottom: 0; left: 0; width: 100%; height: auto; opacity: .78; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%); mask-image: linear-gradient(180deg, transparent 0%, #000 35%); }
.sidebar-section { position: relative; z-index: 1; margin-bottom: 23px; }
.sidebar-heading { margin: 0 8px 10px; color: #e7d6ef; font-size: 9px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.sidebar-nav { display: grid; gap: 4px; }
.sidebar-link { min-height: 39px; display: flex; align-items: center; gap: 11px; padding: 8px 10px; border: 1px solid transparent; border-radius: 9px; color: #fbf3ff; font-size: 11px; font-weight: 700; transition: background .16s ease; }
.sidebar-link:hover, .sidebar-link:focus-visible { background: rgb(255 255 255 / 14%); color: #fff; }
.side-icon { width: 18px; display: inline-grid; flex: 0 0 18px; place-items: center; color: #f3c7f1; font-size: 16px; text-align: center; }
.side-icon svg { display: block; width: 17px; height: 17px; }
.main-column { grid-column: 2; min-width: 0; background: radial-gradient(ellipse at 68% 0, rgb(247 210 241 / 55%), transparent 34%), var(--page); }

.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border: 1px solid transparent; border-radius: 9px; font-size: 11px; font-weight: 850; line-height: 1.15; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(120deg, #ff3b9b, #eb006b); color: #fff; box-shadow: 0 7px 14px rgb(226 0 104 / 20%); }
.button-primary:hover { color: #fff; box-shadow: 0 9px 19px rgb(226 0 104 / 30%); }
.button-secondary { border-color: #dfc9e6; background: #fffaff; color: var(--ink); }
.button-secondary:hover, .button-outline:hover, .button-quiet:hover { border-color: #e990c0; background: #fff; color: var(--pink-dark); }
.button-outline { border-color: #e4d3e8; background: #fffaff; color: var(--ink); }
.button-quiet { border-color: transparent; background: transparent; color: var(--ink-soft); }
.button-danger { border-color: #f4cbd8; background: #fff1f4; color: #bb295a; }
.button-danger:hover { background: #ffe2eb; color: #8e1742; }
.button-small { min-height: 34px; padding: 7px 11px; font-size: 10px; }
.button-full { width: 100%; }

.home-hero { position: relative; overflow: hidden; border-bottom: 1px solid #eddcf0; background: linear-gradient(110deg, #fffaff 0%, #f5e5f7 58%, #eedcf5 100%); }
.home-hero::before { position: absolute; top: -160px; right: 12%; width: 430px; height: 430px; border: 1px solid rgb(173 119 188 / 15%); border-radius: 50%; content: ""; }
.home-hero::after { position: absolute; right: 5%; bottom: -240px; width: 560px; height: 350px; border: 1px solid rgb(232 87 163 / 14%); border-radius: 50%; content: ""; transform: rotate(-20deg); }
.home-hero-grid { position: relative; z-index: 1; min-height: 390px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 24px; padding-block: 42px 38px; }
.eyebrow { margin: 0 0 9px; color: #a63384; font-size: 9px; font-weight: 900; letter-spacing: .16em; line-height: 1.5; text-transform: uppercase; }
.eyebrow-line { display: inline-block; width: 22px; height: 2px; margin: 0 7px 3px 0; background: var(--pink); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Barlow, "Segoe UI", ui-sans-serif, system-ui, sans-serif; font-style: italic; text-transform: uppercase; }
h1 { margin-bottom: 13px; color: #35123e; font-size: clamp(36px, 4.5vw, 62px); font-weight: 950; letter-spacing: -.02em; line-height: .99; }
.home-hero h1 { font-size: clamp(32px, 3.8vw, 52px); }
.home-hero h1 span { color: #9651a3; }
.home-hero h1 span:not(.hero-heading-match) { font-size: 1.12em; }
.home-hero h1 span.hero-heading-match { color: inherit; }
.hero-lead { max-width: 590px; margin-bottom: 20px; color: #755f7b; font-size: 13px; line-height: 1.75; }
.hero-search { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 8px; max-width: 690px; padding: 7px; border: 1px solid #e7c9e8; border-radius: 12px; background: rgb(255 255 255 / 88%); box-shadow: 0 8px 24px rgb(91 47 103 / 10%); }
.hero-select { display: flex; min-width: 0; flex-direction: column; gap: 2px; padding: 4px 8px; }
.hero-select span { color: #9c7e9f; font-size: 8px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.hero-select select { min-height: 30px; padding: 3px 20px 3px 0; border: 0; background-color: transparent; color: var(--ink); font-size: 11px; font-weight: 750; }
.hero-select select:focus-visible { outline-offset: 1px; }
.hero-search .button { min-height: 39px; }
.hero-note { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: #8b7690; font-size: 9px; }
.hero-note .online-dot { width: 7px; height: 7px; }
.discord-banner { max-width: 690px; display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 13px 15px; border: 1px solid rgb(255 255 255 / 28%); border-radius: 14px; background: linear-gradient(110deg, #555de8, #7954e8 60%, #a63bc8); box-shadow: 0 12px 25px rgb(79 48 167 / 23%); color: #fff; transition: box-shadow .16s ease; }
.discord-banner:hover { box-shadow: 0 15px 29px rgb(79 48 167 / 30%); color: #fff; }
.discord-banner-icon { width: 46px; height: 46px; display: grid; flex: 0 0 46px; place-items: center; border: 1px solid rgb(255 255 255 / 33%); border-radius: 12px; background: rgb(255 255 255 / 15%); }
.discord-banner-icon svg { width: 25px; height: 25px; }
.discord-banner-copy { min-width: 0; display: grid; gap: 3px; }
.discord-banner-copy strong { font-family: Barlow, sans-serif; font-size: 20px; font-weight: 900; letter-spacing: .02em; line-height: 1.1; text-transform: uppercase; }
.discord-banner-copy > span { color: rgb(255 255 255 / 88%); font-size: 12px; line-height: 1.35; }
.discord-banner-action { min-height: 42px; display: flex; align-items: center; gap: 8px; margin-left: auto; padding: 10px 15px; border: 1px solid rgb(255 255 255 / 42%); border-radius: 10px; background: linear-gradient(135deg, #5865f2, #4752c4); box-shadow: inset 0 1px 0 rgb(255 255 255 / 58%), inset 0 -2px 0 rgb(39 48 148 / 28%), 0 5px 0 rgb(39 48 148 / 38%), 0 9px 16px rgb(43 37 121 / 30%); color: #fff; font-size: 12px; font-weight: 900; white-space: nowrap; text-transform: uppercase; transition: transform .16s ease, box-shadow .16s ease, filter .16s ease; }
.discord-banner-action:hover, .discord-banner-action:focus-visible { transform: translateY(-1px); filter: brightness(1.06); box-shadow: inset 0 1px 0 rgb(255 255 255 / 62%), inset 0 -2px 0 rgb(39 48 148 / 28%), 0 6px 0 rgb(39 48 148 / 38%), 0 12px 18px rgb(43 37 121 / 34%); }

.hero-visual { position: relative; min-height: 292px; overflow: hidden; border: 1px solid rgb(172 121 190 / 24%); border-radius: 47% 53% 42% 58% / 48% 42% 58% 52%; background: radial-gradient(ellipse at 53% 49%, #f9d1ef 0, #e8c8f0 38%, transparent 69%); }
.hero-visual::before { position: absolute; inset: 12% 9%; border: 1px solid rgb(125 72 146 / 25%); border-radius: 50%; content: ""; transform: rotate(-20deg); }
.hero-visual::after { position: absolute; inset: 7% 26%; border: 1px solid rgb(231 47 145 / 24%); border-radius: 50%; content: ""; transform: rotate(32deg); }
.visual-grid { position: absolute; inset: 18% 18%; background-image: linear-gradient(rgb(131 89 154 / 9%) 1px, transparent 1px), linear-gradient(90deg, rgb(131 89 154 / 9%) 1px, transparent 1px); background-size: 24px 24px; mask-image: radial-gradient(ellipse, #000 15%, transparent 72%); }
.visual-orbit { position: absolute; z-index: 1; border: 1px solid rgb(255 255 255 / 83%); border-radius: 50%; box-shadow: 0 0 22px rgb(213 124 201 / 25%); }
.orbit-a { inset: 20% 5%; transform: rotate(-28deg); }
.orbit-b { inset: 5% 34%; transform: rotate(54deg); }
.visual-core { position: absolute; z-index: 2; top: 35%; left: 41%; width: 76px; height: 76px; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / 90%); border-radius: 25px 25px 25px 8px; background: linear-gradient(145deg, #fff, #e5c4ed); box-shadow: 0 14px 33px rgb(98 54 115 / 20%); color: var(--pink); transform: rotate(-8deg); }
.visual-core span { font-size: 21px; font-weight: 950; letter-spacing: -.12em; transform: rotate(8deg); }
.visual-core i { position: absolute; right: -5px; bottom: -5px; width: 15px; height: 15px; border: 3px solid #fff; border-radius: 50%; background: var(--mint); }
.visual-label { position: absolute; z-index: 2; color: #8b6297; font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.label-top { top: 16%; right: 14%; }
.label-top strong { color: var(--ink); }
.label-bottom { bottom: 17%; left: 13%; display: flex; align-items: center; gap: 7px; font-size: 7px; }
.label-bottom span { width: 19px; height: 2px; background: var(--pink); }
.visual-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid rgb(255 255 255 / 95%); border-radius: 10px; background: rgb(255 250 255 / 90%); box-shadow: 0 8px 22px rgb(76 41 91 / 12%); color: #91799a; font-size: 8px; line-height: 1.45; }
.visual-card strong { color: var(--ink); font-size: 9px; }
.visual-card-one { top: 28%; left: 1%; }
.visual-card-two { right: 0; bottom: 23%; }
.visual-mini-icon { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; background: #f6def3; color: var(--pink); font-size: 9px; font-weight: 900; }

.home-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 17px; padding-block: 0; border: 1px solid #ead8ed; border-radius: 12px; background: #fffaff; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.home-stat { min-height: 92px; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 13px 18px; border-right: 1px solid #f0e5f1; }
.home-stat:last-child { border-right: 0; }
.home-stat .stat-label { color: #967aa0; font-size: 8px; font-weight: 850; letter-spacing: .12em; }
.home-stat strong { color: #47204f; font-size: 24px; font-style: italic; font-weight: 950; letter-spacing: -.04em; line-height: 1.05; }
.home-stat > span:last-child { color: #9b879f; font-size: 9px; }
.stat-callout { background: linear-gradient(115deg, #fffaff, #fbebf6); }
.stat-callout strong { color: var(--pink); font-size: 17px; }

.section-block, .category-section, .activity-section, .server-section { padding-block: 43px 10px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 17px; margin-bottom: 17px; }
.section-heading h2, .content-panel h2 { margin: 0; color: var(--ink); font-size: clamp(21px, 2.6vw, 29px); font-weight: 900; letter-spacing: -.015em; line-height: 1.16; }
.section-heading h2 { font-style: italic; }
.text-link { flex: 0 0 auto; color: var(--pink-dark); font-size: 10px; font-weight: 850; }
.text-link span { margin-left: 5px; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.category-tile { position: relative; min-height: 130px; display: flex; flex-direction: column; justify-content: end; overflow: hidden; padding: 14px; border: 1px solid #e8d7eb; border-radius: 11px; background: linear-gradient(145deg, #fffaff, #f8edf9); box-shadow: 0 5px 15px rgb(86 51 98 / 5%); transition: transform .17s ease, border-color .17s ease, box-shadow .17s ease; }
.category-tile::after { position: absolute; top: -26px; right: -16px; width: 85px; height: 85px; border: 1px solid rgb(180 119 193 / 25%); border-radius: 38% 62% 48% 52%; content: ""; transform: rotate(34deg); }
.category-tile:hover { transform: translateY(-3px); border-color: #dfa2d0; box-shadow: var(--shadow); color: var(--ink); }
.tile-icon { position: absolute; top: 13px; left: 14px; color: #9c63a9; }
.tile-icon svg { display: block; width: 24px; height: 24px; }
.tile-pvp .tile-icon { color: #e45b99; }
.tile-racing .tile-icon { color: #8c58af; }
.tile-drift .tile-icon { color: #cb65a7; }
.category-tile strong { position: relative; z-index: 1; color: var(--ink); font-size: 14px; font-weight: 900; }
.category-tile small { position: relative; z-index: 1; color: #967f9c; font-size: 9px; }
.tile-arrow { position: absolute; right: 13px; bottom: 13px; color: #a77caf; font-size: 13px; }

.activity-section { padding-top: 49px; }
.activity-label { display: inline-flex; align-items: center; gap: 7px; color: #8d7794; font-size: 9px; font-weight: 750; }
.activity-label .online-dot { width: 7px; height: 7px; }
.chart-panel { display: grid; grid-template-columns: minmax(0, 205px) minmax(0, 1fr); align-items: center; gap: 22px; min-height: 205px; padding: 21px 24px; border: 1px solid #ead9ee; border-radius: 12px; background: linear-gradient(115deg, #fffaff, #f7ebf9); box-shadow: var(--shadow); }
.chart-kicker { color: #aa498d; font-size: 8px; font-weight: 900; letter-spacing: .15em; }
.chart-copy { min-width: 0; }
.chart-copy p { margin: 8px 0; color: #806b87; font-size: 15px; line-height: 1.4; }
.chart-copy strong { color: var(--ink); }
.chart-caption { color: #9a879f; font-size: 9px; }
.chart-container { position: relative; min-width: 0; height: 155px; }
.chart-container canvas { display: block; max-width: 100%; }
.chart-error { position: absolute; right: 0; bottom: -19px; margin: 0; color: #b71f5a; font-size: 9px; }

.server-list { display: grid; gap: 9px; }
.server-row { position: relative; display: grid; grid-template-columns: minmax(0, 58%) minmax(0, 42%); align-items: center; gap: 13px; min-height: 140px; padding: 11px 15px; border: 1px solid #ead9ee; border-radius: 12px; background: rgb(255 251 255 / 94%); box-shadow: 0 5px 14px rgb(78 42 90 / 6%); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.server-row:hover { transform: translateY(-2px); border-color: #e3a8d1; box-shadow: var(--shadow); }
.server-row-featured { border-color: #a98bd1; background: linear-gradient(115deg, rgb(255 255 255 / 40%) 0%, transparent 34%, rgb(133 99 190 / 10%) 72%, rgb(255 255 255 / 25%) 100%), radial-gradient(ellipse at 12% 0%, rgb(184 151 232 / 42%), transparent 58%), radial-gradient(ellipse at 92% 100%, rgb(142 106 199 / 28%), transparent 55%), linear-gradient(110deg, #f1e7fc 0%, #e8dcf7 55%, #ded0f1 100%); box-shadow: 0 7px 20px rgb(86 52 126 / 12%), inset 0 0 0 1px rgb(255 255 255 / 80%); }
.server-row-featured::before { position: absolute; z-index: 3; inset: 0; clip-path: inset(0 round 12px); background: linear-gradient(110deg, transparent 36%, rgb(255 255 255 / 12%) 44%, rgb(255 255 255 / 78%) 50%, rgb(221 205 247 / 48%) 56%, transparent 64%); background-position: 100% 0; background-size: 250% 100%; content: ""; opacity: 0; pointer-events: none; transition: background-position .75s ease, opacity .2s ease; }
.server-row-featured:hover, .server-row-featured:focus-within { border-color: #d3b8f1; box-shadow: 0 12px 28px rgb(76 38 107 / 18%), 0 0 0 1px rgb(180 148 222 / 45%), inset 0 0 0 1px rgb(255 255 255 / 80%); }
.server-row-featured:hover::before, .server-row-featured:focus-within::before { background-position: 0 0; opacity: 1; }
.server-row-featured .server-rank { color: #684493; }
.server-row-featured .tag-featured { border-color: #c8b6e4; background: linear-gradient(135deg, #f2eaff, #e4d7f6); color: #59377f; }
@media (prefers-reduced-motion: reduce) {
    .server-row-featured::before { transition: none; }
    .server-row-featured:hover::before, .server-row-featured:focus-within::before { opacity: 0; }
}
.server-row-title h3 a::after { position: absolute; z-index: 1; inset: 0; content: ""; }
.server-rank { position: absolute; z-index: 4; top: 50%; left: 15px; color: #49214e; font-size: 23px; font-style: italic; font-weight: 950; letter-spacing: -.06em; text-align: center; transform: translateY(-50%); }
.server-card-art { position: relative; grid-column: 1; grid-row: 1; align-self: stretch; width: calc(100% - 42px); margin-left: 42px; }
.server-card-banner { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; border: 1px solid rgb(255 255 255 / 70%); border-radius: 10px; background: linear-gradient(120deg, #76509a, #d984bd); box-shadow: inset 0 0 22px rgb(255 255 255 / 18%); }
.server-card-banner.emblem-pvp { background: linear-gradient(145deg, #8b396f, #ec83a8); }
.server-card-banner.emblem-racing { background: linear-gradient(145deg, #574280, #bc71c3); }
.server-card-banner.emblem-drift { background: linear-gradient(145deg, #7a4d8c, #e893b6); }
.server-card-banner::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(41 17 51 / 48%), transparent 85%); content: ""; }
.server-card-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.server-card-banner > span { position: absolute; z-index: 1; right: 7px; bottom: 7px; left: 7px; overflow: hidden; color: #fff; font-size: 9px; font-weight: 900; line-height: 1.15; text-overflow: ellipsis; text-shadow: 0 1px 5px rgb(35 12 48 / 65%); text-transform: uppercase; }
.server-emblem { position: relative; width: 72px; height: 68px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgb(255 255 255 / 70%); border-radius: 10px; background: linear-gradient(145deg, #80568f, #d984bd); box-shadow: inset 0 0 22px rgb(255 255 255 / 18%); color: #fff; }
.server-emblem::before, .server-emblem::after { position: absolute; width: 82px; height: 1px; background: rgb(255 255 255 / 37%); content: ""; transform: rotate(35deg); }
.server-emblem::after { transform: rotate(-35deg); }
.server-emblem span { position: relative; z-index: 1; font-size: 30px; font-weight: 950; text-shadow: 0 2px 9px rgb(58 23 71 / 33%); }
.server-emblem i { position: absolute; right: -16px; bottom: -19px; width: 50px; height: 50px; border: 1px solid rgb(255 255 255 / 36%); border-radius: 50%; }
.emblem-pvp { background: linear-gradient(145deg, #8b396f, #ec83a8); }
.emblem-racing { background: linear-gradient(145deg, #574280, #bc71c3); }
.emblem-drift { background: linear-gradient(145deg, #7a4d8c, #e893b6); }
.server-row-main { grid-column: 2; grid-row: 1; min-width: 0; padding-right: 154px; }
.server-row-title { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.server-row-title h3 { margin: 0; color: var(--ink); font-size: 16px; font-weight: 900; letter-spacing: -.01em; line-height: 1.25; }
.server-row-title h3 a:hover { color: var(--pink-dark); }
.server-card-description { margin: 4px 0 7px; overflow: hidden; color: #8e7a94; font-size: 9px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.server-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.category-pill, .tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border: 1px solid #e4cbe9; border-radius: 5px; background: #f3e5f5; color: #714a7e; font-size: 7px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.category-rp { background: #f2e4f6; color: #704381; }
.category-pvp { border-color: #f2d1e2; background: #fbeaf3; color: #aa3972; }
.category-racing { border-color: #e2d5f1; background: #f1eafb; color: #684493; }
.category-drift { border-color: #f1d2e8; background: #fbeaf5; color: #a64383; }
.tag-verified { border-color: #bde8d6; background: #e8f8f0; color: #248b67; }
.tag-featured { border-color: #ffd1e7; background: #fff0f7; color: #cf2679; }
.server-votes { color: #a78daa; font-size: 8px; font-weight: 750; }
.server-row-controls { position: absolute; z-index: 2; right: 15px; bottom: 17px; width: 144px; display: grid; grid-template-columns: 37px minmax(0, 1fr); gap: 6px 4px; align-items: center; }
.server-row-info { grid-column: 2; grid-row: 1; display: grid; justify-items: center; color: #765e80; font-size: 9px; font-weight: 750; }
.row-player-count { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.row-player-count .online-dot { width: 6px; height: 6px; }
.row-player-count small { color: #a28ea7; font-size: 8px; }
.server-row-actions { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: 37px minmax(0, 1fr); justify-items: stretch; gap: 4px; }
.row-join { min-height: 35px; padding: 8px 10px; font-size: 9px; }

.submit-banner { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-block: 30px 52px; padding: 23px 25px; border: 1px solid #e6cbe8; border-radius: 12px; background: linear-gradient(105deg, #fffaff, #f6e8f7); box-shadow: var(--shadow); }
.submit-banner h2 { margin-bottom: 5px; color: var(--ink); font-size: 21px; font-weight: 900; letter-spacing: -.01em; }
.submit-banner p:last-child { margin-bottom: 0; color: #8e7a94; font-size: 10px; }

.page-hero { padding-block: 30px 22px; border-bottom: 1px solid #eedff0; background: linear-gradient(105deg, #fffaff, #f5e8f7); }
.page-hero-content { padding-block: 0; }
.page-hero h1 { margin-bottom: 8px; font-size: clamp(34px, 4vw, 48px); }
.page-hero .hero-lead { margin-bottom: 0; font-size: 12px; }
.listing-section { padding-top: 21px; }
.filter-bar { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 10px; margin-bottom: 15px; padding: 13px; border: 1px solid #e9d8ec; border-radius: 11px; background: #fffaff; box-shadow: 0 5px 16px rgb(78 42 90 / 5%); }
label { display: flex; flex-direction: column; gap: 5px; color: #775e80; font-size: 9px; font-weight: 800; }
input, select, textarea { width: 100%; min-height: 39px; padding: 9px 11px; border: 1px solid #e2d2e7; border-radius: 7px; background: #fff; color: var(--ink); font-size: 11px; }
select option { padding: 8px 11px; background: #fffaff; color: var(--ink); font-weight: 600; }
select option:checked { background: #f0e1f4; color: var(--ink); }
input::placeholder, textarea::placeholder { color: #a690ac; }
textarea { min-height: 106px; resize: vertical; }

@supports (appearance: base-select) {
    select, select::picker(select) { appearance: base-select; }
    select::picker(select) { margin-block-start: 5px; padding: 5px; border: 1px solid #edacd0; border-radius: 12px; background: #fffaff; box-shadow: 0 12px 28px rgb(213 0 103 / 18%); }
    select option { min-height: 38px; padding: 8px 11px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--ink); }
    select option:hover, select option:focus-visible { border-color: #ffd1e7; background: #fff0f7; color: var(--pink-dark); }
    select option:checked { border-color: #f30b78; background: linear-gradient(120deg, #ff3b9b, #eb006b); color: #fff; font-weight: 800; }
    select::picker-icon { margin-inline-start: 8px; color: var(--pink); transition: transform .16s ease; }
    select:open::picker-icon { transform: rotate(180deg); }
}

.listing-meta { display: flex; justify-content: space-between; margin: 14px 0 11px; color: #937f99; font-size: 9px; }
.listing-meta strong { color: var(--ink); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 15px; padding: 22px 0 34px; color: #8e7a94; font-size: 10px; }
.pagination a { color: var(--pink-dark); font-weight: 850; }
.empty-state { padding: 48px 18px; border: 1px dashed #d8c2de; border-radius: 12px; background: #fffaff; text-align: center; }
.empty-state > span { color: var(--pink); font-size: 24px; }
.empty-state h2 { margin: 9px 0; color: var(--ink); font-size: 18px; }
.empty-state p { margin-bottom: 16px; color: var(--muted); font-size: 11px; }

.detail-hero { padding-block: 24px; }
.detail-cover { position: relative; height: 220px; overflow: hidden; margin-bottom: 20px; border: 1px solid #ead9ee; border-radius: 16px; background: linear-gradient(110deg, #76509a, #d984bd); box-shadow: 0 10px 24px rgb(83 42 100 / 12%); }
.detail-cover.emblem-pvp { background: linear-gradient(145deg, #8b396f, #ec83a8); }
.detail-cover.emblem-racing { background: linear-gradient(145deg, #574280, #bc71c3); }
.detail-cover.emblem-drift { background: linear-gradient(145deg, #7a4d8c, #e893b6); }
.detail-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-cover::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(41 17 51 / 40%), transparent 75%); content: ""; }
.detail-cover > span { position: absolute; z-index: 1; bottom: 18px; left: 24px; color: #fff; font-family: Barlow, sans-serif; font-size: clamp(24px, 4vw, 40px); font-weight: 900; text-shadow: 0 2px 9px rgb(35 12 48 / 65%); text-transform: uppercase; }
.back-link { display: inline-block; margin-bottom: 17px; color: #886b90; font-size: 9px; font-weight: 800; }
.detail-top { display: flex; align-items: center; gap: 7px; margin-bottom: 12px; }
.detail-top .region-label { margin-left: 0; font-size: 9px; }
.detail-hero h1 { margin-bottom: 9px; font-size: clamp(34px, 4.3vw, 54px); }
.detail-hero .hero-lead { max-width: 780px; margin: 0; font-size: 12px; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 305px; align-items: start; gap: 14px; padding-block: 22px 45px; }
.detail-main, .detail-sidebar { display: grid; gap: 12px; }
.content-panel { padding: 19px; border: 1px solid #ead9ee; border-radius: 11px; background: #fffaff; box-shadow: 0 6px 17px rgb(78 42 90 / 5%); }
.content-panel h2 { margin-bottom: 10px; font-size: 18px; }
.body-copy { margin-bottom: 0; color: #806d87; font-size: 11px; line-height: 1.8; }
.server-connect h2 { margin-bottom: 13px; }
.connect-address { display: grid; gap: 4px; margin-bottom: 11px; padding: 10px; border: 1px solid #eee0f0; border-radius: 7px; background: #fcf6fd; }
.connect-address .muted { font-size: 8px; }
.connect-address code { overflow-wrap: anywhere; color: #6f4380; font-size: 10px; }
.server-connect form { margin-top: 8px; }
.fine-print { margin: 7px 0 0; color: #98879d; font-size: 8px; line-height: 1.5; }
.detail-stats h2 { font-size: 14px; }
.detail-stat { display: flex; justify-content: space-between; gap: 9px; padding: 9px 0; border-top: 1px solid #f0e7f1; color: #927d98; font-size: 9px; }
.detail-stat strong { color: var(--ink); text-align: right; }
.detail-stat small { color: #9e8ca3; font-weight: 500; }

.form-page { max-width: 760px; padding-block: 43px 58px; }
.form-page-wide { max-width: 900px; }
.form-intro { max-width: 600px; margin: 0 auto 20px; text-align: center; }
.form-intro h1 { margin-bottom: 9px; font-size: clamp(32px, 4vw, 48px); }
.form-intro > p:last-child { color: #8a7691; font-size: 11px; }
.form-card { display: grid; gap: 14px; padding: 21px; border: 1px solid #e9d8ec; border-radius: 12px; background: #fffaff; box-shadow: var(--shadow); }
.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field-wide { grid-column: 1 / -1; }
.image-upload-field > small { color: #8d7994; font-size: 11px; font-weight: 500; }
.form-image-preview { display: block; max-width: 100%; border: 1px solid #ead9ee; border-radius: 9px; object-fit: cover; }
.form-image-preview-logo { width: 96px; aspect-ratio: 1; }
.form-image-preview-banner { width: min(360px, 100%); aspect-ratio: 16 / 6; }
.submission-images { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 12px; margin: 14px 0; }
.submission-banner-preview { width: min(420px, 100%); aspect-ratio: 16 / 6; border: 1px solid #ead9ee; border-radius: 9px; object-fit: cover; }
.submission-logo-preview { width: 88px; aspect-ratio: 1; border: 1px solid #ead9ee; border-radius: 10px; object-fit: cover; }
.form-footnote, .form-note { margin: 0; color: #8d7b93; font-size: 9px; text-align: center; }
.form-footnote a { color: var(--pink-dark); font-weight: 800; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.check-field { flex-direction: row; align-items: center; gap: 8px; }
.check-field input { width: 16px; min-height: 16px; accent-color: var(--pink); }

.notice { margin: 14px auto 0; padding: 11px 14px; border: 1px solid #e7d8e9; border-radius: 8px; background: #fffaff; color: var(--ink); font-size: 10px; }
.notice-success { border-color: #bce7d4; background: #effbf5; color: #237b5c; }
.notice-error { border-color: #f2c4d6; background: #fff1f6; color: #a52c58; }
.notice-warning { border-color: #f1d2aa; background: #fff9ec; color: #94621c; }

.admin-section { padding-top: 22px; padding-bottom: 45px; }
.admin-nav { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 19px; padding: 5px; border: 1px solid #ead9ee; border-radius: 9px; background: #fffaff; }
.admin-nav a { padding: 8px 10px; border-radius: 6px; color: #806a88; font-size: 9px; font-weight: 800; }
.admin-nav a:hover, .admin-nav a.active { background: #f3e6f5; color: var(--pink-dark); }
.counter { display: inline-grid; min-width: 17px; height: 17px; place-items: center; margin-left: 2px; border-radius: 50%; background: #fde4f1; color: #be2872; font-size: 8px; }
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.admin-stat { min-height: 126px; display: flex; flex-direction: column; gap: 5px; padding: 15px; border: 1px solid #ead9ee; border-radius: 10px; background: #fffaff; box-shadow: 0 5px 15px rgb(78 42 90 / 5%); }
.admin-stat strong { color: var(--ink); font-size: 30px; font-style: italic; font-weight: 950; letter-spacing: -.04em; }
.admin-stat a { margin-top: auto; color: var(--pink-dark); font-size: 9px; font-weight: 800; }
.admin-stat .muted { margin-top: auto; font-size: 8px; }
.admin-note { margin-top: 15px; }
.admin-note p:last-child { margin-bottom: 0; color: #88768e; font-size: 10px; }
.admin-heading { margin-top: 17px; }
.admin-heading h2 { margin: 0; color: var(--ink); font-size: 18px; }
.table-wrap { overflow-x: auto; border: 1px solid #ead9ee; border-radius: 10px; background: #fffaff; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 9px; }
.data-table th, .data-table td { min-width: 90px; padding: 10px; border-bottom: 1px solid #efe5f0; vertical-align: middle; }
.data-table th { background: #f5eaf7; color: #80698a; font-size: 8px; letter-spacing: .09em; text-transform: uppercase; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td strong, .data-table td small { display: block; }
.data-table td strong { color: var(--ink); }
.data-table td small { margin-top: 3px; color: #95849b; font-size: 8px; }
.admin-servers-table { min-width: 1030px; table-layout: fixed; }
.admin-servers-table th:nth-child(1) { width: 18%; }
.admin-servers-table th:nth-child(2) { width: 11%; }
.admin-servers-table th:nth-child(3) { width: 20%; }
.admin-servers-table th:nth-child(4) { width: 9%; }
.admin-servers-table th:nth-child(5) { width: 7%; }
.admin-servers-table th:nth-child(6) { width: 35%; }
.admin-servers-table td:first-child small,
.admin-servers-table td:nth-child(3) { overflow-wrap: anywhere; }
.table-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; min-width: 0; }
.table-action-form { min-width: 0; width: 100%; margin: 0; }
.table-actions > .button,
.table-action-form > .button { width: 100%; padding-inline: 6px; text-align: center; white-space: normal; }
.table-feature-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.table-feature-form .feature-duration { width: 100%; min-width: 0; max-width: none; }
.table-feature-form .button { grid-column: 1 / -1; }
.feature-duration { min-height: 30px; max-width: 86px; padding: 5px 6px; border: 1px solid #e4d3e8; border-radius: 6px; background: #fffaff; color: var(--ink); font-size: 9px; }
.submission-list { display: grid; gap: 11px; }
.submission-card .section-heading { align-items: center; }
.submission-card .section-heading h2 { margin: 0; font-size: 17px; }
.submission-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 16px; margin: 15px 0; color: #806d87; font-size: 9px; }
.submission-details p { margin: 0; overflow-wrap: anywhere; }
.submission-details code { color: #6f4380; }
.submission-details strong { color: var(--ink); }
.taxonomy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.taxonomy-list { margin: 10px 0 14px; padding: 0; list-style: none; }
.taxonomy-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid #f0e7f1; color: var(--ink); font-size: 10px; }
.taxonomy-list li > span small { display: block; color: #99869f; font-size: 8px; }
.taxonomy-list form { margin: 0; }
.inline-form { display: flex; gap: 7px; }
.inline-form input { min-width: 0; }

.site-footer {
    position: relative;
    overflow: hidden;
    margin-top: 30px;
    border-top: 1px solid var(--border);
    background: var(--page);
    color: var(--ink);
}
.footer-decoration { position: absolute; z-index: 0; inset: 0; overflow: hidden; opacity: .18; pointer-events: none; }
.footer-decoration span { position: absolute; bottom: 0; border: 1px solid rgb(118 80 154 / 24%); background: repeating-linear-gradient(0deg, transparent 0 12px, rgb(118 80 154 / 24%) 13px 14px); }
.footer-decoration span:nth-child(1) { left: 3%; width: 4%; height: 44%; }
.footer-decoration span:nth-child(2) { left: 11%; width: 3.5%; height: 70%; }
.footer-decoration span:nth-child(3) { left: 20%; width: 4%; height: 55%; }
.footer-decoration span:nth-child(4) { left: 30%; width: 3.5%; height: 38%; }
.footer-decoration span:nth-child(5) { left: 39%; width: 4.5%; height: 78%; }
.footer-decoration span:nth-child(6) { left: 50%; width: 3.5%; height: 52%; }
.footer-decoration span:nth-child(7) { left: 59%; width: 4%; height: 66%; }
.footer-decoration span:nth-child(8) { left: 69%; width: 4%; height: 41%; }
.footer-decoration span:nth-child(9) { left: 79%; width: 3.5%; height: 85%; }
.footer-decoration span:nth-child(10) { left: 90%; width: 4%; height: 58%; }
.footer-decoration i { position: absolute; right: 15%; bottom: 62%; width: 1px; height: 56%; background: rgb(118 80 154 / 24%); transform: rotate(24deg); }
.footer-inner { width: min(1280px, calc(100% - 52px)); min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-inline: auto; }
.brand-footer { max-width: 100%; gap: 12px; }
.brand-footer .brand-mark { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 13px 13px 13px 4px; }
.brand-footer .brand-mark span { font-size: 12px; }
.brand-footer .brand-name { color: var(--purple-deep); font-size: 16px; }
.brand-footer .brand-name > span { color: var(--pink); }
.brand-footer .brand-name small { color: #987ca1; }
.brand-footer .brand-name small { margin-top: 6px; font-size: 9px; letter-spacing: .09em; line-height: 1.3; }
.footer-inner p { max-width: 310px; margin: 0; color: #907d96; font-size: 8px; }
.footer-inner > a:last-child { color: var(--pink-dark); font-size: 9px; font-weight: 850; }
.site-footer .footer-inner { position: relative; z-index: 1; }
.site-footer .footer-inner p { color: var(--ink-soft); }
.site-footer .footer-inner > a:last-child { color: var(--pink-dark); }

@media (min-width: 1450px) {
    .home-hero-grid { min-height: 420px; }
}
@media (max-width: 1100px) {
    .site-frame { grid-template-columns: 204px minmax(0, 1fr); }
    .sidebar { width: 204px; }
    .header-inner { gap: 14px; }
    .main-nav { gap: 14px; margin-left: 10px; }
    .main-nav a { font-size: 10px; }
    .server-row { gap: 9px; padding-inline: 10px; }
    .server-emblem { width: 62px; height: 59px; }
    .row-player-count { font-size: 8px; }
    .row-join { font-size: 8px; }
}
@media (max-width: 820px) {
    .header-inner { flex-wrap: wrap; padding-block: 9px; }
    .main-nav { order: 3; width: 100%; justify-content: center; margin: 0; border-top: 1px solid #f0e5f1; }
    .main-nav a { padding-block: 9px 7px; }
    .main-nav a::after { bottom: 1px; }
    .header-account { margin-left: auto; }
    .site-frame { display: block; }
    .sidebar { display: none; }
    .home-hero-grid { grid-template-columns: 1.1fr .9fr; gap: 12px; }
    .home-hero h1 { font-size: clamp(34px, 6vw, 49px); }
    .hero-visual { min-height: 250px; }
    .server-row-title h3 { font-size: 14px; }
    .detail-layout { grid-template-columns: minmax(0, 1fr) 260px; }
}
@media (max-width: 620px) {
    .container, .content-area, .footer-inner { width: calc(100% - 28px); }
    .status-inner, .header-inner { width: calc(100% - 28px); }
    .status-inner { font-size: 8px; }
    .header-inner { gap: 7px; }
    .brand-mark { width: 33px; height: 33px; }
    .brand-name { font-size: 13px; }
    .header-account { gap: 5px; }
    .account-name { display: none; }
    .header-submit { padding-inline: 8px; }
    .main-nav { justify-content: space-between; gap: 7px; overflow-x: auto; }
    .main-nav a { font-size: 9px; }
    .content-area { padding-block: 25px; }
    .home-hero-grid { grid-template-columns: 1fr; padding-block: 34px 25px; }
    .home-hero h1 { font-size: clamp(37px, 11vw, 52px); }
    .hero-lead { font-size: 11px; }
    .hero-search { grid-template-columns: 1fr 1fr; }
    .hero-search .button { grid-column: 1 / -1; }
    .discord-banner { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 11px; padding: 12px; }
    .discord-banner-icon { width: 42px; height: 42px; flex-basis: 42px; }
    .discord-banner-copy strong { font-size: 17px; }
    .discord-banner-copy > span { font-size: 11px; }
    .discord-banner-action { grid-column: 1 / -1; justify-content: center; margin-left: 0; }
    .hero-visual { min-height: 205px; margin-inline: 5%; }
    .visual-card-one { left: -1%; }
    .visual-card-two { right: -1%; }
    .home-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-stat { min-height: 79px; padding: 10px 12px; border-right: 1px solid #f0e5f1; border-bottom: 1px solid #f0e5f1; }
    .home-stat:nth-child(2) { border-right: 0; }
    .home-stat:nth-child(3), .home-stat:nth-child(4) { border-bottom: 0; }
    .home-stat strong { font-size: 20px; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
    .section-heading h2 { font-size: 23px; }
    .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .category-tile { min-height: 117px; }
    .chart-panel { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 16px; }
    .chart-container { height: 145px; }
    .server-row { grid-template-columns: 27px minmax(0, 52%) minmax(0, 1fr); grid-template-rows: auto auto; gap: 8px; padding: 10px; }
    .server-rank { font-size: 17px; }
    .server-rank { position: static; transform: none; }
    .server-card-art { grid-column: 2; grid-row: 1; align-self: center; width: 100%; margin-left: 0; aspect-ratio: 3 / 1; }
    .server-card-banner > span { right: 4px; bottom: 5px; left: 7px; font-size: 7px; }
    .server-emblem { width: 54px; height: 53px; }
    .server-emblem span { font-size: 23px; }
    .server-row-main { grid-column: 3; grid-row: 1; }
    .server-row-main { padding-right: 0; }
    .server-row-controls { position: relative; right: auto; bottom: auto; grid-column: 1 / -1; grid-row: 3; width: auto; grid-template-columns: 37px minmax(0, 1fr); }
    .server-row-info { grid-column: 2; grid-row: 1; }
    .server-row-actions { grid-column: 1 / -1; grid-row: 2; }
    .server-card-description { max-width: 100%; }
    .server-row-title h3 { font-size: 12px; }
    .server-tags { gap: 4px; }
    .server-votes { font-size: 7px; }
    .submit-banner { align-items: flex-start; flex-direction: column; padding: 18px; }
    .filter-bar { grid-template-columns: 1fr 1fr; }
    .filter-bar .button { grid-column: 1 / -1; }
    .detail-layout { grid-template-columns: 1fr; }
    .form-page { padding-block: 30px 45px; }
    .form-card { padding: 16px; }
    .form-grid { grid-template-columns: 1fr; }
    .field-wide { grid-column: auto; }
    .admin-stats, .taxonomy-grid { grid-template-columns: 1fr; }
    .admin-nav { gap: 2px; }
    .admin-nav a { padding: 7px; font-size: 8px; }
    .submission-details { grid-template-columns: 1fr; }
    .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 20px; }
    .brand-footer .brand-mark { width: 36px; height: 36px; flex-basis: 36px; }
    .brand-footer .brand-name { font-size: 14px; }
    .brand-footer .brand-name small { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

body { font-size: 16px; line-height: 1.65; }
.status-bar { font-size: 12px; }
.status-inner { min-height: 38px; }
.header-inner { min-height: 76px; }
.brand-mark { width: 44px; height: 44px; }
.brand-name { font-size: 17px; }
.brand-name small { font-size: 9px; }
.main-nav a { font-size: 14px; }
.account-name { font-size: 13px; }
.sidebar-heading { font-size: 11px; }
.sidebar-link { min-height: 44px; font-size: 14px; }
.button { min-height: 46px; font-size: 14px; }
.button-small { min-height: 38px; font-size: 12px; }
.eyebrow { font-size: 11px; }
.hero-lead { font-size: 16px; }
.hero-select span { font-size: 11px; }
.hero-select select, input, select, textarea { font-size: 14px; }
.hero-note { font-size: 12px; }
.visual-label { font-size: 10px; }
.label-bottom { font-size: 9px; }
.visual-card { font-size: 10px; }
.visual-card strong { font-size: 11px; }
.visual-mini-icon { font-size: 11px; }
.home-stat .stat-label { font-size: 10px; }
.home-stat > span:last-child { color: #66566d; font-size: 11px; }
.home-stat strong { font-size: 28px; }
.stat-callout strong { font-size: 20px; }
.section-heading h2 { font-size: clamp(25px, 2.7vw, 34px); }
.text-link { font-size: 13px; }
.category-tile { min-height: 145px; }
.category-tile strong { font-size: 18px; }
.category-tile small { color: #66566d; font-size: 12px; }
.activity-label { font-size: 12px; }
.chart-kicker { font-size: 10px; }
.chart-copy p { font-size: 18px; }
.chart-caption { color: #66566d; font-size: 11px; }
.chart-error { font-size: 12px; }
.server-row { min-height: 160px; }
.server-row-title h3 { font-size: 19px; }
.server-card-description {
    display: -webkit-box;
    overflow: hidden;
    color: #625368;
    font-size: 13px;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.category-pill, .tag { padding: 4px 8px; font-size: 10px; }
.server-votes { color: #625368; font-size: 11px; }
.server-row-info { font-size: 12px; }
.row-player-count small { color: #625368; font-size: 10px; }
.row-join { min-height: 42px; font-size: 12px; }
.submit-banner h2 { font-size: 25px; }
.submit-banner p:last-child { color: #625368; font-size: 13px; }
.page-hero h1 { font-size: clamp(38px, 4vw, 54px); }
.page-hero .hero-lead { font-size: 16px; }
label { color: #5f4b68; font-size: 13px; }
input, select, textarea { min-height: 46px; }
.filter-bar { gap: 14px; padding: 17px; }
.listing-meta { color: #625368; font-size: 12px; }
.pagination { font-size: 13px; }
.empty-state p { font-size: 14px; }
.back-link { color: #604d69; font-size: 13px; }
.detail-banner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.detail-identity { min-width: 0; }
.detail-top { gap: 9px; margin-bottom: 15px; }
.detail-top .region-label { font-size: 13px; }
.detail-top .region-label-fr {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 4px;
    overflow: hidden;
    isolation: isolate;
    padding: 4px 8px;
    border: 1px solid rgb(255 255 255 / 82%);
    border-radius: 5px;
    background:
        linear-gradient(145deg, rgb(255 255 255 / 18%), rgb(255 255 255 / 2%) 48%, rgb(255 255 255 / 12%)),
        linear-gradient(90deg, #0055a4 0 33.333%, #fff 33.333% 66.667%, #ef4135 66.667%);
    -webkit-backdrop-filter: blur(6px) saturate(155%);
    backdrop-filter: blur(6px) saturate(155%);
    color: #26143b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.region-label-code { position: relative; z-index: 1; }
.detail-top .region-label-fr::after {
    position: absolute;
    z-index: 0;
    top: -25%;
    bottom: -25%;
    left: -20%;
    width: 35%;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 78%), transparent);
    content: "";
    pointer-events: none;
    transform: translateX(-150%) skewX(-22deg);
    animation: fr-badge-shine 3.4s ease-in-out infinite;
}
@keyframes fr-badge-shine {
    0%, 58% { opacity: 0; transform: translateX(-150%) skewX(-22deg); }
    66% { opacity: .8; }
    100% { opacity: 0; transform: translateX(380%) skewX(-22deg); }
}
@media (prefers-reduced-motion: reduce) {
    .detail-top .region-label-fr::after { animation: none; }
}
.detail-hero h1 { font-size: clamp(40px, 5vw, 60px); }
.detail-subtitle { margin: 0; color: #625368; font-size: 16px; }
.detail-art {
    position: relative;
    width: 150px;
    height: 150px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 70%);
    border-radius: 16px;
    box-shadow: 0 14px 28px rgb(83 42 100 / 16%);
    color: #fff;
}
.detail-art.has-logo { display: block; object-fit: cover; }
.detail-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-art::before, .detail-art::after {
    position: absolute;
    width: 270px;
    height: 1px;
    background: rgb(255 255 255 / 38%);
    content: "";
    transform: rotate(35deg);
}
.detail-art::after { transform: rotate(-35deg); }
.detail-art > span { position: relative; z-index: 1; font-size: 88px; font-weight: 950; line-height: 1; text-shadow: 0 4px 16px rgb(58 23 71 / 33%); }
.detail-art > i { position: absolute; right: -25px; bottom: -31px; width: 100px; height: 100px; border: 1px solid rgb(255 255 255 / 45%); border-radius: 50%; }
.detail-art > small { position: absolute; z-index: 1; right: 12px; bottom: 10px; left: 12px; font-size: 11px; font-weight: 850; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
.detail-layout { gap: 20px; }
.content-panel { padding: 25px; }
.content-panel h2 { font-size: 23px; }
.body-copy { color: #57475f; font-size: 16px; line-height: 1.8; }
.body-copy + .body-copy { margin-top: 14px; }
.connect-address .muted { font-size: 11px; }
.connect-address code { font-size: 13px; }
.fine-print { color: #625368; font-size: 11px; }
.detail-stats h2 { font-size: 18px; }
.detail-stat { color: #625368; font-size: 13px; }
.form-intro > p:last-child, .form-footnote, .form-note { color: #625368; font-size: 13px; }
.notice { font-size: 13px; }
.admin-nav a { font-size: 12px; }
.admin-stat a { font-size: 12px; }
.admin-stat .muted { font-size: 11px; }
.admin-note p:last-child { color: #625368; font-size: 13px; }
.admin-heading h2 { font-size: 22px; }
.data-table { font-size: 12px; }
.data-table th { font-size: 10px; }
.data-table td small { color: #625368; font-size: 11px; }
.submission-details { color: #57475f; font-size: 12px; }
.taxonomy-list li { font-size: 13px; }
.taxonomy-list li > span small { color: #625368; font-size: 11px; }
.footer-inner p { color: #625368; font-size: 11px; }
.footer-inner > a:last-child { font-size: 12px; }

@media (max-width: 820px) {
    .server-row-title h3 { font-size: 17px; }
    .detail-art { width: 150px; height: 150px; }
}
@media (max-width: 620px) {
    .status-bar { font-size: 10px; }
    .status-inner { min-height: 34px; }
    .header-inner { min-height: 0; }
    .brand-mark { width: 38px; height: 38px; }
    .brand-name { font-size: 15px; }
    .brand-name small { font-size: 8px; }
    .main-nav a { font-size: 12px; }
    .header-submit { padding-inline: 10px; }
    .home-hero h1 { font-size: clamp(38px, 11vw, 54px); }
    .hero-lead, .page-hero .hero-lead { font-size: 15px; }
    .hero-note { font-size: 11px; }
    .home-stat .stat-label { font-size: 9px; }
    .home-stat strong { font-size: 24px; }
    .category-tile { min-height: 132px; }
    .category-tile strong { font-size: 16px; }
    .category-tile small { font-size: 11px; }
    .section-heading h2 { font-size: 26px; }
    .server-row { min-height: 0; row-gap: 11px; }
    .server-row-title h3 { font-size: 15px; }
    .server-row-controls { grid-column: 1 / -1; grid-row: 3; }
    .server-row-info { grid-column: 2; grid-row: 1; display: grid; justify-items: center; padding: 0; border: 0; }
    .server-row-actions { grid-column: 1 / -1; grid-row: 2; }
    .row-player-count { font-size: 12px; }
    .filter-bar { gap: 10px; padding: 13px; }
    .detail-banner { align-items: flex-start; flex-direction: column-reverse; gap: 18px; }
    .detail-cover { height: 135px; margin-bottom: 16px; }
    .detail-cover > span { bottom: 12px; left: 14px; }
    .detail-art { width: 126px; height: 126px; }
    .detail-art > span { font-size: 72px; }
    .detail-hero h1 { font-size: clamp(36px, 10vw, 48px); }
    .detail-subtitle { font-size: 14px; }
    .detail-top { flex-wrap: wrap; }
    .content-panel { padding: 19px; }
    .content-panel h2 { font-size: 21px; }
    .body-copy { font-size: 15px; }
    .data-table { min-width: 720px; }
    .admin-servers-table { min-width: 1030px; }
    .footer-inner p { font-size: 12px; }
}

/* ============================================================
   HEADER ACCUEIL — image de fond personnalisée
   ============================================================ */
.home-hero {
    position: relative;
    background: linear-gradient(110deg, #fffaff 0%, #f5e5f7 58%, #eedcf5 100%);
}

.home-hero::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background: linear-gradient(110deg,
        rgba(255, 250, 255, 0.72) 0%,
        rgba(245, 229, 247, 0.52) 48%,
        rgba(238, 220, 245, 0.22) 100%);
    transform: none;
    content: "";
}

.home-hero::before {
    position: absolute;
    inset: 0 auto 0 clamp(220px, 24vw, 420px);
    z-index: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: url("/gta6servers/assets/img/hero-gta6.jpg") left 30% / cover no-repeat;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 220px);
    mask-image: linear-gradient(to right, transparent 0, #000 220px);
    content: "";
}

.home-hero-grid {
    z-index: 2;
    grid-template-columns: 1fr;
    max-width: 760px;
    margin-left: max(26px, calc((100% - 1280px) / 2));
    margin-right: auto;
    padding-block: 60px 55px;
}

.hero-visual {
    display: none;
}

.home-hero h1 {
    color: #2b0d33;
    text-shadow: 0 2px 18px rgba(255, 255, 255, 0.85);
}

.home-hero .hero-lead {
    color: #4f3a58;
    font-weight: 500;
    text-shadow: 0 1px 10px rgba(255, 255, 255, 0.9);
}

.home-hero .eyebrow {
    color: #7a235f;
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.9);
}

.home-hero .hero-note {
    color: #4f3a58;
    text-shadow: 0 1px 8px rgba(255, 255, 255, 0.9);
}

@media (max-width: 820px) {
    .home-hero::before {
        left: 12vw;
        background-position: left 25%;
        -webkit-mask-image: linear-gradient(to right, transparent 0, #000 140px);
        mask-image: linear-gradient(to right, transparent 0, #000 140px);
    }
    .home-hero-grid {
        padding-block: 45px 40px;
    }
}

@media (max-width: 620px) {
    .home-hero::before {
        left: 0;
        background-position: 45% 30%;
        -webkit-mask-image: none;
        mask-image: none;
    }
    .home-hero-grid {
        margin-inline: auto;
        padding-block: 38px 34px;
    }
    .home-hero h1 {
        font-size: clamp(34px, 10vw, 46px);
    }
}

.brand-name small { font-size: 10px; }
.home-stat .stat-label { color: #66566d; font-size: 12px; letter-spacing: .08em; }
.home-stat > span:last-child { color: #57475f; font-size: 13px; font-weight: 500; line-height: 1.35; }
.category-tile small { color: #57475f; font-size: 13px; font-weight: 500; line-height: 1.35; }
.hero-note, .activity-label, .chart-caption { color: #625368; font-size: 12px; font-weight: 500; }
.chart-kicker { color: #76516f; font-size: 12px; }
.server-card-description { color: #57475f; font-size: 14px; font-weight: 500; }
.category-pill, .tag { font-size: 11px; }
.server-votes, .row-player-count small { color: #625368; font-size: 12px; font-weight: 600; }
.connect-address .muted, .fine-print, .detail-stat, .detail-stat small { color: #625368; font-size: 12px; font-weight: 500; }
.admin-stat .muted, .data-table td small, .taxonomy-list li > span small { color: #625368; font-size: 12px; font-weight: 500; }
.footer-inner p { color: #625368; font-size: 12px; }

@media (max-width: 620px) {
    .home-stat { min-height: 110px; }
}

.detail-player-meter { width: 100%; height: 7px; display: block; margin: -2px 0 8px; appearance: none; border: 0; border-radius: 999px; background: #eadff0; }
.detail-player-meter::-webkit-progress-bar, .review-distribution-track::-webkit-progress-bar { border-radius: 999px; background: #eadff0; }
.detail-player-meter::-webkit-progress-value { border-radius: 999px; background: linear-gradient(90deg, #f3a000, #fb4b93); }
.detail-player-meter::-moz-progress-bar { border-radius: 999px; background: linear-gradient(90deg, #f3a000, #fb4b93); }
.connect-address .copy-address { justify-self: start; padding: 0; border: 0; background: none; color: #704b8f; cursor: pointer; font: inherit; font-size: 13px; font-weight: 800; }
.copy-status { color: #684493; font-size: 13px; font-weight: 700; }
.detail-social-panel, .detail-vote-section, .embed-panel, .detail-reviews { margin-bottom: 20px; }
.detail-section-heading { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.detail-section-heading .eyebrow { margin: 0; }
.detail-section-heading h2 { margin: 0; color: var(--ink); font-size: clamp(20px, 2.3vw, 28px); }
.detail-social-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.detail-social-link { min-width: 0; display: flex; align-items: center; gap: 11px; padding: 12px; border: 1px solid #e6d5ec; border-radius: 12px; background: linear-gradient(110deg, #fffaff, #f7effa); box-shadow: 0 6px 16px rgb(78 42 90 / 6%); color: var(--ink); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.detail-social-link:hover { transform: translateY(-2px); border-color: #b89ad4; box-shadow: var(--shadow); color: var(--ink); }
.detail-social-icon { width: 36px; height: 36px; display: grid; flex: 0 0 36px; place-items: center; border: 1px solid #d4c0ef; border-radius: 10px; background: #efe7fc; color: #694695; font-size: 16px; font-weight: 900; }
.detail-social-link > span:nth-child(2) { min-width: 0; display: grid; gap: 2px; }
.detail-social-link small { color: #8d7994; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.detail-social-link strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.detail-social-link .social-arrow { margin-left: auto; color: #9c79bd; }
.detail-vote-panel { display: grid; grid-template-columns: minmax(230px, .75fr) 1.5fr; gap: 12px; padding: 14px; border: 1px solid #e7a9d2; border-radius: 15px; background: linear-gradient(115deg, #f8e9f8, #f3e8fa 60%, #eee4fb); box-shadow: 0 9px 24px rgb(108 56 119 / 10%); }
.detail-vote-callout { display: grid; align-content: center; justify-items: center; gap: 10px; padding: 18px; border: 1px solid #f0c4e1; border-radius: 12px; background: rgb(255 251 255 / 90%); text-align: center; }
.vote-callout-label { color: #d72a8a; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.detail-vote-callout form { width: 100%; max-width: 300px; }
.detail-vote-callout .button { width: 100%; }
.detail-vote-callout p { max-width: 300px; margin: 0; color: #806d87; font-size: 14px; }
.detail-vote-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.detail-vote-metric { min-width: 0; display: grid; grid-template-columns: 35px minmax(0, 1fr); align-content: center; align-items: center; column-gap: 9px; padding: 12px; border: 1px solid #eaddec; border-radius: 11px; background: rgb(255 252 255 / 90%); }
.detail-vote-metric .metric-icon { width: 34px; height: 34px; display: grid; grid-row: span 2; place-items: center; border-radius: 9px; background: #f7e0f1; color: #e72e9b; font-size: 15px; font-weight: 900; }
.detail-vote-metric strong { min-width: 0; overflow: hidden; color: #49214e; font-size: clamp(18px, 2vw, 25px); font-style: italic; font-weight: 950; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.detail-vote-metric small { color: #907c98; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.voter-avatar, .review-avatar { width: 32px; height: 32px; display: grid; flex: 0 0 32px; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #ed218c, #9d49cb); color: #fff; font-size: 12px; font-weight: 900; }
.empty-reviews { margin: 0; color: #8d7994; font-size: 14px; }
.embed-panel { overflow: hidden; border: 1px solid #a6d9e8; border-radius: 13px; background: linear-gradient(110deg, #eaf8fb, #f4effb); box-shadow: var(--shadow); }
.embed-panel details > summary { display: flex; align-items: center; gap: 11px; padding: 14px; cursor: pointer; list-style: none; }
.embed-panel details > summary::-webkit-details-marker { display: none; }
.embed-icon { width: 34px; height: 34px; display: grid; flex: 0 0 34px; place-items: center; border: 1px solid #a6d9e8; border-radius: 9px; background: #dff5fa; color: #3d9bb2; font-size: 11px; font-weight: 900; }
.embed-panel summary > span:nth-child(2) { display: grid; gap: 3px; }
.embed-panel summary strong { color: #4d3e61; font-size: 14px; }
.embed-panel summary small { color: #877590; font-size: 12px; }
.embed-chevron { margin-left: auto; color: #917d9a; transition: transform .16s ease; }
.embed-panel details[open] .embed-chevron { transform: rotate(180deg); }
.embed-content { display: grid; justify-items: start; gap: 9px; padding: 0 14px 14px 59px; }
.embed-content label { color: #685674; font-size: 13px; font-weight: 800; }
.embed-content textarea { width: 100%; max-width: 700px; resize: vertical; font-family: Barlow, sans-serif; font-size: 12px; }
.review-summary { display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: center; gap: 20px; padding: 19px; border: 1px solid #ead9ee; border-radius: 14px; background: #fffaff; box-shadow: var(--shadow); }
.review-average { display: grid; justify-items: center; gap: 4px; }
.review-average > strong { color: #35143d; font-size: 48px; font-style: italic; font-weight: 950; line-height: 1; }
.review-stars-display { color: #f2ad22; font-size: 16px; letter-spacing: .06em; white-space: nowrap; }
.review-stars-display > span { color: #d5c3d9; }
.review-average small { color: #907b98; font-size: 13px; }
.review-distribution { display: grid; gap: 7px; }
.review-distribution-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) 28px; align-items: center; gap: 8px; color: #694d73; font-size: 13px; font-weight: 800; }
.review-distribution-row > small { color: #907b98; font-size: 12px; text-align: right; }
.review-distribution-track { width: 100%; height: 7px; display: block; appearance: none; border: 0; border-radius: 999px; background: #eee5ef; }
.review-distribution-track::-webkit-progress-value { border-radius: 999px; background: linear-gradient(90deg, #f1b11d, #f5c64c); }
.review-distribution-track::-moz-progress-bar { border-radius: 999px; background: linear-gradient(90deg, #f1b11d, #f5c64c); }
.review-form, .review-sign-in { margin-top: 12px; padding: 16px; border: 1px solid #ead9ee; border-radius: 14px; background: #fffaff; }
.review-form-heading { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.review-form-heading > div { display: grid; gap: 2px; }
.review-form-heading strong { color: #4d3158; font-size: 14px; }
.review-form-heading small { color: #907b98; font-size: 13px; }
.review-rating { margin: 0 0 10px; padding: 0; border: 0; }
.review-rating legend, .review-comment-label { margin-bottom: 5px; color: #806d87; font-size: 14px; font-weight: 850; }
.review-stars-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 3px; }
.review-stars-input input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.review-stars-input label { color: #d4c3d8; cursor: pointer; font-size: 24px; line-height: 1; }
.review-stars-input input:checked ~ label, .review-stars-input label:hover, .review-stars-input label:hover ~ label { color: #f2ad22; }
.review-stars-input input:focus-visible + label { outline: 2px solid #76509a; outline-offset: 3px; }
.review-comment-label { display: block; }
.review-form textarea { width: 100%; min-height: 90px; border-radius: 9px; }
.review-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 9px; }
.review-form-footer small { color: #907b98; font-size: 12px; }
.review-sign-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-sign-in p { margin: 0; color: #806d87; font-size: 14px; }
.review-locked { margin: 12px 0 0; padding: 14px 16px; border: 1px solid #d8c8e8; border-radius: 12px; background: #f6f0fb; color: #60476b; font-size: 14px; }
.community-reviews { display: grid; gap: 10px; margin-top: 18px; }
.community-reviews h3 { margin: 0; color: #4c3157; font-size: 18px; }
.community-review { padding: 14px 16px; border: 1px solid #ead9ee; border-radius: 12px; background: #fffaff; }
.community-review-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.community-review-heading > div { display: grid; gap: 2px; }
.community-review-heading strong { color: #51345c; font-size: 14px; }
.community-review-heading time { color: #9b879f; font-size: 12px; }
.community-review p { margin: 10px 0 0; color: #6f5c78; font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.empty-reviews { padding: 16px; }

@media (max-width: 820px) {
    .detail-vote-panel { grid-template-columns: 1fr; }
    .detail-social-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .detail-social-links { grid-template-columns: 1fr; }
    .detail-section-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
    .detail-vote-panel { padding: 9px; }
    .detail-vote-callout { padding: 14px 10px; }
    .detail-vote-metrics { gap: 6px; }
    .detail-vote-metric { grid-template-columns: 28px minmax(0, 1fr); column-gap: 7px; padding: 9px; }
    .detail-vote-metric .metric-icon { width: 27px; height: 27px; }
    .detail-vote-metric strong { font-size: 17px; }
    .detail-vote-metric small { font-size: 11px; }
    .review-summary { grid-template-columns: 1fr; gap: 15px; }
    .review-average > strong { font-size: 42px; }
    .review-form-footer, .review-sign-in { align-items: flex-start; flex-direction: column; }
    .embed-content { padding-left: 14px; }
    .embed-panel summary small { font-size: 11px; }
}

.vote-confetti { position: fixed; z-index: 40; inset: 0; overflow: hidden; pointer-events: none; }
.vote-confetti span { position: absolute; top: 42vh; left: 56%; width: 9px; height: 15px; margin: -7px 0 0 -4px; border-radius: 2px; opacity: 0; animation: vote-confetti-burst 3.2s cubic-bezier(.12, .7, .4, 1) both; }
.vote-confetti span:nth-child(24n + 1) { --burst-x: -240px; --burst-y: -190px; --confetti-turn: 680deg; }
.vote-confetti span:nth-child(24n + 2) { --burst-x: -155px; --burst-y: -270px; --confetti-turn: 460deg; }
.vote-confetti span:nth-child(24n + 3) { --burst-x: -60px; --burst-y: -220px; --confetti-turn: 780deg; }
.vote-confetti span:nth-child(24n + 4) { --burst-x: 70px; --burst-y: -290px; --confetti-turn: 540deg; }
.vote-confetti span:nth-child(24n + 5) { --burst-x: 190px; --burst-y: -210px; --confetti-turn: 720deg; }
.vote-confetti span:nth-child(24n + 6) { --burst-x: 280px; --burst-y: -135px; --confetti-turn: 500deg; }
.vote-confetti span:nth-child(24n + 7) { --burst-x: 330px; --burst-y: -20px; --confetti-turn: 650deg; }
.vote-confetti span:nth-child(24n + 8) { --burst-x: 260px; --burst-y: 110px; --confetti-turn: 820deg; }
.vote-confetti span:nth-child(24n + 9) { --burst-x: 180px; --burst-y: 225px; --confetti-turn: 480deg; }
.vote-confetti span:nth-child(24n + 10) { --burst-x: 70px; --burst-y: 285px; --confetti-turn: 700deg; }
.vote-confetti span:nth-child(24n + 11) { --burst-x: -55px; --burst-y: 250px; --confetti-turn: 560deg; }
.vote-confetti span:nth-child(24n + 12) { --burst-x: -175px; --burst-y: 210px; --confetti-turn: 760deg; }
.vote-confetti span:nth-child(24n + 13) { --burst-x: -285px; --burst-y: 120px; --confetti-turn: 620deg; }
.vote-confetti span:nth-child(24n + 14) { --burst-x: -330px; --burst-y: 5px; --confetti-turn: 840deg; }
.vote-confetti span:nth-child(24n + 15) { --burst-x: -300px; --burst-y: -85px; --confetti-turn: 520deg; }
.vote-confetti span:nth-child(24n + 16) { --burst-x: -205px; --burst-y: -25px; --confetti-turn: 730deg; }
.vote-confetti span:nth-child(24n + 17) { --burst-x: -115px; --burst-y: -110px; --confetti-turn: 590deg; }
.vote-confetti span:nth-child(24n + 18) { --burst-x: 15px; --burst-y: -150px; --confetti-turn: 790deg; }
.vote-confetti span:nth-child(24n + 19) { --burst-x: 125px; --burst-y: -105px; --confetti-turn: 630deg; }
.vote-confetti span:nth-child(24n + 20) { --burst-x: 210px; --burst-y: 5px; --confetti-turn: 470deg; }
.vote-confetti span:nth-child(24n + 21) { --burst-x: 130px; --burst-y: 115px; --confetti-turn: 750deg; }
.vote-confetti span:nth-child(24n + 22) { --burst-x: 15px; --burst-y: 155px; --confetti-turn: 550deg; }
.vote-confetti span:nth-child(24n + 23) { --burst-x: -100px; --burst-y: 120px; --confetti-turn: 810deg; }
.vote-confetti span:nth-child(24n + 24) { --burst-x: -190px; --burst-y: 35px; --confetti-turn: 600deg; }
.vote-confetti span:nth-child(n + 25) { animation-delay: .14s; }
.vote-confetti span:nth-child(3n) { width: 7px; height: 18px; }
.vote-confetti span:nth-child(5n) { width: 12px; height: 7px; border-radius: 50%; }
.vote-confetti span:nth-child(4n + 1) { background: #ed218c; }
.vote-confetti span:nth-child(4n + 2) { background: #8156be; }
.vote-confetti span:nth-child(4n + 3) { background: #f0ad27; }
.vote-confetti span:nth-child(4n) { background: #32b990; }
@keyframes vote-confetti-burst {
    0% { opacity: 0; transform: translate3d(0, 0, 0) scale(.25) rotate(0); }
    8% { opacity: 1; transform: translate3d(0, 0, 0) scale(1.2) rotate(90deg); }
    62% { opacity: 1; transform: translate3d(var(--burst-x), var(--burst-y), 0) scale(1) rotate(var(--confetti-turn)); }
    100% { opacity: 0; transform: translate3d(var(--burst-x), calc(var(--burst-y) + 38vh), 0) scale(.7) rotate(var(--confetti-turn)); }
}
.vote-thanks-page { min-height: 55vh; display: grid; place-items: center; padding-block: 48px; }
.vote-thanks-card { width: min(720px, 100%); overflow: hidden; border: 1px solid #dfc5e8; border-radius: 20px; background: #fffaff; box-shadow: 0 16px 38px rgb(83 42 100 / 12%), inset 0 1px 0 #fff; text-align: center; }
.vote-thanks-banner { position: relative; height: clamp(130px, 22vw, 210px); display: grid; align-items: end; overflow: hidden; padding: 18px 24px; background: linear-gradient(110deg, #76509a, #d984bd); text-align: left; }
.vote-thanks-banner-image { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vote-thanks-banner::after { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgb(41 17 51 / 55%), transparent 80%), linear-gradient(0deg, rgb(35 12 48 / 60%), transparent 70%); content: ""; }
.vote-thanks-banner > .vote-thanks-title { position: relative; z-index: 2; margin-left: 70px; color: #fff; font-family: Barlow, sans-serif; font-size: clamp(20px, 4vw, 32px); font-style: italic; font-weight: 900; text-shadow: 0 2px 9px rgb(35 12 48 / 65%); text-transform: uppercase; }
.vote-thanks-banner-logo { position: absolute; z-index: 2; bottom: 14px; left: 22px; width: 54px; height: 54px; display: grid; place-items: center; overflow: hidden; border: 2px solid #fff; border-radius: 12px; background: #fffaff; box-shadow: 0 5px 13px rgb(35 12 48 / 36%); object-fit: cover; }
.vote-thanks-banner-logo-fallback { color: var(--pink); font-size: 24px; font-weight: 950; }
.vote-thanks-body { display: grid; justify-items: center; gap: 14px; padding: 0 clamp(20px, 5vw, 48px) 34px; background: radial-gradient(ellipse at 50% 0%, rgb(232 206 244 / 48%), transparent 58%), linear-gradient(145deg, #fffaff, #f3e8f7); }
.vote-thanks-icon { position: relative; width: 58px; height: 58px; display: grid; place-items: center; margin-top: -30px; border: 3px solid #fff; border-radius: 50%; background: #e7f8f0; box-shadow: 0 6px 16px rgb(37 188 139 / 20%); color: #218c68; font-size: 29px; font-weight: 900; }
.vote-thanks-card .eyebrow { margin: 0; }
.vote-thanks-card h1 { margin: 0; font-size: clamp(30px, 5vw, 46px); }
.vote-thanks-message { max-width: 540px; margin: 0; color: #6f5c78; font-size: 16px; line-height: 1.7; }
.vote-thanks-message strong { color: #4b2857; }
.vote-thanks-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.vote-thanks-note { margin: 0; color: #8d7994; font-size: 13px; }
@media (prefers-reduced-motion: reduce) {
    .vote-confetti { display: none; }
}
@media (max-width: 620px) {
    .vote-confetti span { left: 50%; }
    .vote-thanks-page { min-height: 45vh; padding-block: 28px; }
    .vote-thanks-card { border-radius: 16px; }
    .vote-thanks-banner { height: 145px; padding: 14px; }
    .vote-thanks-banner-logo { bottom: 12px; left: 14px; width: 44px; height: 44px; }
    .vote-thanks-banner > .vote-thanks-title { margin-left: 58px; font-size: clamp(17px, 5vw, 24px); }
    .vote-thanks-body { gap: 12px; padding: 0 16px 24px; }
    .vote-thanks-message { font-size: 14px; }
    .vote-thanks-actions { width: 100%; }
    .vote-thanks-actions .button { width: 100%; }
}

.sidebar-favorite-link {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 9px;
    padding: 8px 11px;
    border: 1px solid rgb(255 255 255 / 70%);
    border-radius: 10px;
    background: linear-gradient(120deg, #fffaff, #ecdaf3);
    box-shadow: 0 5px 12px rgb(52 20 61 / 15%);
    color: #35143d;
    font-size: 15px;
    font-weight: 850;
    transition: box-shadow .16s ease;
}
.sidebar-favorite-link > span { color: #492251; font-size: 23px; line-height: 1; }
.sidebar-favorite-link:hover, .sidebar-favorite-link:focus-visible {
    box-shadow: 0 8px 16px rgb(52 20 61 / 20%);
    color: #35143d;
}
.favorites-hero {
    background:
        radial-gradient(ellipse at 86% 20%, rgb(245 187 228 / 55%), transparent 36%),
        linear-gradient(105deg, #fffaff, #f3e5f7);
}
.favorites-hero .eyebrow { display: flex; align-items: center; gap: 9px; }
.favorites-hero .eyebrow a { color: #76509a; }
.favorites-hero .eyebrow span { color: #b59cba; }
.favorites-hero h1 { font-family: Barlow, "Segoe UI", sans-serif; font-size: clamp(36px, 4vw, 52px); }
.favorites-hero .hero-lead { margin: 0; color: #72577b; }
.favorites-content { padding-top: 40px; }
.favorites-gate {
    min-height: 306px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 38px 20px;
    border: 1px solid #e8d9eb;
    border-radius: 16px;
    background: rgb(255 250 255 / 84%);
    box-shadow: 0 12px 30px rgb(83 42 100 / 12%);
    text-align: center;
}
.favorites-heart { color: #e90070; font-size: 44px; line-height: 1; }
.favorites-gate h2 { margin: 14px 0 7px; color: #35143d; font-size: clamp(18px, 2vw, 24px); font-weight: 950; }
.favorites-gate p { margin: 0 0 25px; color: #80698a; font-size: 16px; }
.favorites-gate .button { min-width: 145px; }
.favorites-empty { border-style: solid; }
.favorite-form { margin: 0; }
.favorite-button {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid #ead8ed;
    border-radius: 9px;
    background: #fffaff;
    color: #76509a;
    font-size: 23px;
    line-height: 1;
    transition: border-color .16s ease, background .16s ease, color .16s ease;
}
.favorite-button:hover, .favorite-button.is-favorite { border-color: #edb4d4; background: #fff0f7; color: #e00070; }
.favorite-detail-form { margin: 0 0 0 auto; }
.favorite-detail-button { min-height: 34px; padding: 6px 10px; white-space: nowrap; }
.favorite-detail-button > span { color: #17121a; font-size: 19px; line-height: 1; }
.server-row-actions { grid-template-columns: 37px minmax(0, 1fr); align-items: center; }
.server-row-actions .favorite-form { grid-column: 1; grid-row: 1; justify-self: start; }
.server-row-actions .row-join { grid-column: 2; grid-row: 1; min-width: 103px; padding-inline: 9px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.server-connect > a[href^="gta6://"] { text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 620px) {
    .favorites-content { padding-top: 24px; }
    .favorites-gate { min-height: 280px; padding: 32px 16px; }
    .favorites-gate p { font-size: 14px; }
    .desktop-break { display: none; }
    .detail-favorite-form { width: 100%; margin-left: 0; }
    .favorite-detail-button { width: 100%; }
    .server-row-actions { grid-template-columns: 37px minmax(0, 1fr); }
}

.status-inner, .main-nav, .header-account,
.sidebar-heading, .sidebar-link, .sidebar-favorite-link,
.button, button, .text-link, .discord-banner-action, .stat-callout {
    font-style: italic;
    text-transform: uppercase;
}
.sidebar-link .side-icon, .sidebar-favorite-link > span,
.button [aria-hidden="true"], button [aria-hidden="true"], .discord-banner-action [aria-hidden="true"],
.stat-callout [aria-hidden="true"] { font-style: normal; }

@media (max-width: 820px) {
    .server-row {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
        grid-template-rows: minmax(150px, auto) auto;
        align-items: center;
        gap: 12px;
        min-height: 0;
        padding: 14px;
    }

    .server-rank {
        top: 17px;
        left: 17px;
        padding: 2px 6px;
        border-radius: 6px;
        background: rgb(255 250 255 / 88%);
        font-size: 15px;
        transform: none;
    }

    .server-card-art {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
        width: 100%;
        margin: 0;
        aspect-ratio: 1.65 / 1;
    }

    .server-row-main {
        grid-column: 2;
        grid-row: 1;
        padding: 0;
    }

    .server-row-title h3 { font-size: 18px; }

    .server-card-description {
        display: -webkit-box;
        overflow: hidden;
        font-size: 13px;
        line-height: 1.45;
        text-overflow: ellipsis;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .server-row-controls {
        position: static;
        grid-column: 1 / -1;
        grid-row: 2;
        grid-template-columns: minmax(0, 1fr) minmax(0, 48%);
        align-items: center;
        width: auto;
    }

    .server-row-info {
        grid-column: 1;
        grid-row: 1;
        justify-items: start;
        font-size: 12px;
    }

    .server-row-actions {
        grid-column: 2;
        grid-row: 1;
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 6px;
    }

    .server-row-actions .favorite-button {
        width: 44px;
        height: 44px;
    }

    .server-row-actions .row-join {
        min-width: 0;
        min-height: 44px;
        padding-inline: 8px;
        font-size: 12px;
    }
}

@media (max-width: 620px) {
    .server-row {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        gap: 11px;
        padding: 12px;
    }

    .server-rank {
        top: 15px;
        left: 15px;
        font-size: 14px;
    }

    .server-card-art {
        grid-column: 1;
        grid-row: 1;
        aspect-ratio: 2.35 / 1;
    }

    .server-row-main {
        grid-column: 1;
        grid-row: 2;
    }

    .server-row-title h3 { font-size: 17px; }
    .server-row-title { gap: 5px; }
    .category-pill, .tag { padding: 4px 7px; font-size: 9px; }
    .server-votes { font-size: 11px; }

    .server-row-controls {
        grid-column: 1;
        grid-row: 3;
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
        gap: 8px;
    }

    .server-row-actions { grid-template-columns: 44px minmax(0, 1fr); }
}

.button, button {
    position: relative;
    transform: translateY(0);
    font-family: Barlow, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 40%), 0 2px 0 rgb(118 80 154 / 12%), 0 4px 8px rgb(118 80 154 / 8%);
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.button:hover, button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 48%), 0 2px 0 rgb(118 80 154 / 12%), 0 7px 12px rgb(118 80 154 / 12%);
}
.button:active, button:active:not(:disabled) {
    transform: translateY(1px);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 30%), 0 1px 0 rgb(118 80 154 / 10%);
}
.button-primary {
    border-color: rgb(255 255 255 / 48%);
    background: linear-gradient(120deg, #ff3b9b, #eb006b);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 68%), 0 2px 0 rgb(201 10 96 / 24%), 0 6px 11px rgb(226 0 104 / 20%);
}
.button-primary:hover {
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 72%), 0 2px 0 rgb(201 10 96 / 24%), 0 8px 14px rgb(226 0 104 / 24%);
}
.button-primary:active {
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 45%), 0 1px 0 rgb(201 10 96 / 16%), 0 2px 4px rgb(226 0 104 / 12%);
}
.button-secondary, .button-outline {
    box-shadow: inset 0 1px 0 #fff, 0 2px 0 #e3d7e8, 0 4px 8px rgb(118 80 154 / 7%);
}
.button-secondary:hover, .button-outline:hover { box-shadow: inset 0 1px 0 #fff, 0 2px 0 #e3d7e8, 0 7px 11px rgb(118 80 154 / 10%); }
.button-secondary:active, .button-outline:active { box-shadow: inset 0 1px 0 #fff, 0 1px 0 #e3d7e8; }
.button-danger { box-shadow: inset 0 1px 0 #fff, 0 2px 0 #edced8, 0 4px 8px rgb(187 41 90 / 7%); }
.button-danger:hover { box-shadow: inset 0 1px 0 #fff, 0 2px 0 #edced8, 0 7px 11px rgb(187 41 90 / 10%); }
.button-danger:active { box-shadow: inset 0 1px 0 #fff, 0 1px 0 #edced8; }
.button-quiet { box-shadow: inset 0 1px 0 rgb(255 255 255 / 28%), 0 2px 0 rgb(118 80 154 / 12%), 0 4px 7px rgb(118 80 154 / 6%); }
.button-quiet:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / 35%), 0 2px 0 rgb(118 80 154 / 12%), 0 7px 10px rgb(118 80 154 / 9%); }
.button-quiet:active { box-shadow: inset 0 1px 0 rgb(255 255 255 / 20%), 0 1px 0 rgb(118 80 154 / 9%); }
button.favorite-button {
    box-shadow: 0 2px 0 rgb(201 10 96 / 24%), 0 6px 11px rgb(226 0 104 / 20%);
}
button.favorite-button:hover {
    box-shadow: 0 2px 0 rgb(201 10 96 / 24%), 0 8px 14px rgb(226 0 104 / 24%);
}
button.favorite-button:active {
    box-shadow: 0 1px 0 rgb(201 10 96 / 16%), 0 2px 4px rgb(226 0 104 / 12%);
}
button.favorite-button:not(.is-favorite),
button.favorite-button:not(.is-favorite):hover {
    border-color: #f2a5cb;
    background: linear-gradient(120deg, #ffd1e7, #ffadd3);
    color: #17121a;
}
button.favorite-button.is-favorite,
button.favorite-button.is-favorite:hover {
    border-color: #72418a;
    background: #72418a;
    color: #fff;
}
button.favorite-button.is-favorite { box-shadow: 0 2px 0 rgb(57 31 72 / 32%), 0 6px 11px rgb(75 44 106 / 26%); }
button.favorite-button.is-favorite:hover { box-shadow: 0 2px 0 rgb(57 31 72 / 32%), 0 8px 14px rgb(75 44 106 / 30%); }
.favorite-button.is-favorite,
.favorite-button.is-favorite:hover,
.favorite-detail-button.is-favorite,
.favorite-detail-button.is-favorite:hover {
    border-color: #e90070;
    background: linear-gradient(120deg, #ff3b9b, #eb006b);
    color: #fff;
}
button.favorite-detail-button.is-favorite {
    box-shadow: 0 2px 0 rgb(201 10 96 / 24%), 0 6px 11px rgb(226 0 104 / 20%);
}
button.favorite-detail-button.is-favorite:hover {
    box-shadow: 0 2px 0 rgb(201 10 96 / 24%), 0 8px 14px rgb(226 0 104 / 24%);
}
button.favorite-detail-button.is-favorite:active {
    box-shadow: 0 1px 0 rgb(201 10 96 / 16%), 0 2px 4px rgb(226 0 104 / 12%);
}
.favorite-detail-button.is-favorite > span { color: #17121a; }
button.copy-address {
    padding: 4px 8px;
    border: 1px solid #e2d2e7;
    border-radius: 6px;
    background: #fffaff;
    box-shadow: inset 0 1px 0 #fff, 0 2px 0 #e3d7e8, 0 4px 7px rgb(118 80 154 / 7%);
}
button.copy-address:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 #fff, 0 2px 0 #e3d7e8, 0 7px 10px rgb(118 80 154 / 10%); }
button.copy-address:active { transform: translateY(1px); box-shadow: inset 0 1px 0 #fff, 0 1px 0 #e3d7e8; }
button:disabled { cursor: not-allowed; box-shadow: none; transform: none; }

@media (max-width: 620px) {
    .server-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        grid-template-areas:
            "banner"
            "details"
            "controls";
        align-items: start;
        gap: 12px;
        min-height: 0;
        padding: 12px;
    }

    .server-row > .server-rank {
        position: absolute;
        top: 15px;
        left: 15px;
        font-size: 14px;
        transform: none;
    }

    .server-row > .server-card-art {
        grid-area: banner;
        width: 100%;
        min-height: 120px;
        margin: 0;
        aspect-ratio: 16 / 7;
    }

    .server-row > .server-row-main {
        grid-area: details;
        min-width: 0;
        padding: 0;
    }

    .server-row-main .server-row-title { align-items: flex-start; }
    .server-row-main .server-row-title h3 { font-size: 19px; }

    .server-row-main .server-card-description {
        display: -webkit-box;
        overflow: hidden;
        font-size: 14px;
        line-height: 1.45;
        text-overflow: ellipsis;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .server-row > .server-row-controls {
        position: static;
        grid-area: controls;
        grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
        gap: 8px;
        width: 100%;
    }

    .server-row-controls > .server-row-info {
        grid-column: 1;
        grid-row: 1;
        justify-items: start;
        font-size: 12px;
    }

    .server-row-controls > .server-row-actions {
        grid-column: 2;
        grid-row: 1;
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 6px;
    }

    .server-row-actions .favorite-button {
        width: 44px;
        height: 44px;
    }

    .server-row-actions .row-join {
        min-width: 0;
        min-height: 44px;
        padding-inline: 8px;
        font-size: 12px;
    }
}

@media (max-width: 820px) {
    .detail-hero .detail-banner { display: block; }
    .detail-hero .detail-identity { width: 100%; }
    .detail-hero .detail-art { display: none; }

    .detail-page-content {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        padding-block: 22px 45px;
    }

    .detail-page-content > .detail-layout,
    .detail-page-content .detail-main {
        display: contents;
    }

    .detail-page-content > .detail-vote-section {
        order: 1;
        margin: 0;
    }

    .detail-page-content .detail-sidebar {
        order: 2;
    }

    .detail-page-content > .detail-social-panel {
        order: 3;
        margin: 0;
    }
}

@media (max-width: 820px) {
    .admin-section .table-wrap {
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .admin-section .admin-servers-table {
        display: block;
        min-width: 0;
        table-layout: auto;
        border-collapse: separate;
    }

    .admin-servers-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .admin-servers-table tbody {
        display: grid;
        gap: 12px;
    }

    .admin-servers-table tbody tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: hidden;
        border: 1px solid #ead9ee;
        border-radius: 12px;
        background: #fffaff;
        box-shadow: 0 5px 14px rgb(78 42 90 / 6%);
    }

    .admin-servers-table tbody td {
        display: block;
        min-width: 0;
        padding: 11px;
        border: 0;
        overflow-wrap: anywhere;
        font-size: 13px;
        vertical-align: top;
    }

    .admin-servers-table tbody td::before {
        display: block;
        margin-bottom: 4px;
        color: #80698a;
        content: attr(data-label);
        font-size: 10px;
        font-weight: 850;
        letter-spacing: .07em;
        text-transform: uppercase;
    }

    .admin-servers-table tbody td:first-child,
    .admin-servers-table tbody td:nth-child(3),
    .admin-servers-table tbody td:last-child {
        grid-column: 1 / -1;
    }

    .admin-servers-table tbody td:first-child {
        border-bottom: 1px solid #efe5f0;
    }

    .admin-servers-table tbody td:last-child {
        border-top: 1px solid #efe5f0;
    }

    .admin-servers-table tbody td strong { font-size: 16px; }
    .admin-servers-table tbody td small { font-size: 12px; }
    .admin-servers-table .table-actions { gap: 8px; }
    .admin-servers-table .button-small { min-height: 44px; font-size: 11px; }
    .admin-servers-table .feature-duration { min-height: 44px; font-size: 12px; }
}

.admin-server-filters {
    display: grid;
    grid-template-columns: minmax(190px, 2fr) repeat(3, minmax(130px, 1fr)) auto;
    align-items: end;
    gap: 10px;
    margin-bottom: 10px;
    padding: 14px;
    border: 1px solid #e9d8ec;
    border-radius: 11px;
    background: #fffaff;
    box-shadow: 0 5px 16px rgb(78 42 90 / 5%);
}

.admin-server-filters label { min-width: 0; }
.admin-server-filters input, .admin-server-filters select { min-width: 0; }
.admin-server-filter-actions { display: flex; align-items: center; gap: 7px; }
.admin-server-filter-actions .button { padding-inline: 10px; white-space: nowrap; }
.admin-server-result-count { margin: 0 0 10px; color: #80698a; font-size: 13px; }
.admin-server-identity { display: flex; align-items: center; gap: 8px; }
.admin-server-identity-copy { min-width: 0; display: grid; }
.admin-server-logo { width: 36px; height: 36px; display: block; flex: 0 0 36px; overflow: hidden; border: 1px solid #ead9ee; border-radius: 8px; object-fit: cover; }
.admin-server-logo-fallback { width: 36px; height: 36px; display: grid; flex: 0 0 36px; place-items: center; overflow: hidden; border: 1px solid #ead9ee; border-radius: 8px; background: linear-gradient(145deg, #f1e7fc, #e8dcf7); color: #684493; font-size: 16px; font-weight: 900; }
.admin-server-pagination { flex-wrap: wrap; gap: 7px; }
.admin-server-pagination a { min-width: 36px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 6px 10px; border: 1px solid #e7d8eb; border-radius: 8px; background: #fffaff; }
.admin-server-pagination a.active { border-color: #e90070; background: #fff0f7; color: #c90061; }

@media (max-width: 820px) {
    .admin-server-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 12px;
    }

    .admin-server-filters input[type="search"] { font-size: 16px; }

    .admin-server-filters label:first-child,
    .admin-server-filter-actions {
        grid-column: 1 / -1;
    }

    .admin-server-filter-actions .button { flex: 1; }

    .admin-server-identity { gap: 10px; }

    .admin-server-logo, .admin-server-logo-fallback {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        place-items: center;
        overflow: hidden;
        border: 1px solid #ead9ee;
        border-radius: 9px;
        background: linear-gradient(145deg, #f1e7fc, #e8dcf7);
    }

    .admin-server-logo { display: block; object-fit: cover; }
    .admin-server-logo-fallback { display: grid; color: #684493; font-size: 18px; font-weight: 900; }
    .admin-servers-table tbody td:nth-child(2),
    .admin-servers-table tbody td:nth-child(4) { display: none; }
    .admin-servers-table tbody td:nth-child(3) { grid-column: 1; }
    .admin-servers-table tbody td:nth-child(5) { grid-column: 2; }
    .admin-servers-table tbody td:first-child::before { display: none; }
    .admin-servers-table tbody td:last-child { grid-column: 1 / -1; }
    .admin-servers-table .table-actions > .button-secondary { order: 1; }
    .admin-servers-table .table-actions > a.button-quiet { order: 2; }
    .admin-servers-table .table-actions > .table-feature-form { grid-column: 1 / -1; order: 3; }
    .admin-servers-table .table-actions > .table-verify-form { order: 4; }
    .admin-servers-table .table-actions > .table-delete-form { order: 5; }
    .admin-server-status { color: #49214e; font-weight: 800; }
}

@media (max-width: 620px) {
    .admin-server-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .admin-server-filters label:first-child { grid-column: 1 / -1; }
    .admin-server-filter-actions { grid-column: 1 / -1; }
    .admin-server-result-count { font-size: 12px; }
    .admin-servers-table tbody td { padding: 9px; font-size: 12px; }
    .admin-servers-table tbody td strong { font-size: 14px; }
    .admin-servers-table tbody td::before { font-size: 9px; }
    .admin-servers-table .table-actions { gap: 6px; }
}