:root {
    --winter:    #8fd3ff;
    --winter-2:  #4fa8de;
    --bg:        #0c1310;
    --bg-2:      #101d16;
    --card:      #142219;
    --card-2:    #1b2e21;
    --line:      #2a4132;
    --text:      #e6efe4;
    --muted:     #8ba593;
    --accent:    #4c9a4a;
    --accent-2:  #e2a049;
    --accent-hi: #6fc563;
    --danger:    #e5675f;
    --ok:        #5bbf6a;
    --radius:    14px;
    --shadow:    0 10px 30px rgba(0,0,0,.45);
    --header-h:  64px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    background:
        radial-gradient(1000px 520px at -5% -10%, rgba(76,154,74,.22), transparent 60%),
        radial-gradient(1100px 520px at 105% -12%, rgba(143,211,255,.16), transparent 60%),
        radial-gradient(800px 400px at 30% 0%, rgba(226,160,73,.06), transparent 60%),
        linear-gradient(180deg, #0c1310 0%, #0a1012 100%);
    color: var(--text);
    font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}
a { color: var(--accent-hi); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 18px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.accent { color: var(--accent-2); }
.accent-forest { color: var(--accent-hi); }
.accent-winter { color: var(--winter); }
.hint { font-weight: 400; font-size: 12.5px; color: var(--muted); }

h1, h2, h3, .breadcrumb, .topic-title, .cat-main, .mini-list a, .profile-bio,
.member-name, .post-name, .post-content, .cat-last-title { overflow-wrap: anywhere; }
.topic-title a, .topic-h1 bdi, .cat-last-title, .mini-list a, .crumb-title { unicode-bidi: isolate; }

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(12,19,16,.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); min-width: 0; flex: 0 1 auto; overflow: hidden; }
.brand:hover { text-decoration: none; }
.brand-logo { flex: none; font-size: 24px; display: inline-flex; align-items: center; letter-spacing: -4px; }
.brand-logo .bl-forest { filter: drop-shadow(0 0 7px rgba(76,154,74,.7)); }
.brand-logo .bl-winter { filter: drop-shadow(0 0 7px rgba(143,211,255,.7)); font-size: 20px; margin-left: 2px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; overflow: hidden; }
.brand-name, .brand-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-name { font-weight: 800; letter-spacing: .3px; }
.brand-sub { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 2px; }
.main-nav { display: flex; flex: none; gap: 18px; margin-left: 8px; }
.main-nav a { color: var(--muted); font-weight: 600; white-space: nowrap; }
.main-nav a:hover { color: var(--text); text-decoration: none; }
.main-nav .nav-search { display: none; }
.search-box { margin-left: auto; flex: 0 1 200px; min-width: 110px; }
.search-box input {
    width: 100%; background: var(--bg-2); border: 1px solid var(--line);
    color: var(--text); padding: 8px 12px; border-radius: 10px; outline: none;
}
.search-box input:focus { border-color: var(--accent); }
.lang-switch { flex: none; display: flex; align-items: center; gap: 2px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 9px; padding: 2px; }
.lang-switch a { color: var(--muted); font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 7px; line-height: 1; }
.lang-switch a:hover { color: var(--text); text-decoration: none; }
.lang-switch a.active { background: var(--accent); color: #fff; }
.user-box { flex: none; display: flex; align-items: center; gap: 10px; }
.user-chip { display: flex; align-items: center; gap: 8px; color: var(--text); min-width: 0; }
.user-chip:hover { text-decoration: none; }
.user-name { font-weight: 600; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.tag-admin:hover { text-decoration: none; filter: brightness(1.15); }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 6px; padding: 9px 16px; border-radius: 10px; border: 1px solid transparent;
    font: inherit; font-weight: 600; cursor: pointer; font-size: 14px; white-space: nowrap;
    transition: transform .06s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-hi)); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: var(--card-2); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-danger { background: transparent; border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: rgba(229,103,95,.12); }
.btn-sm { padding: 5px 10px; font-size: 12.5px; }
.btn-forest { background: linear-gradient(135deg, var(--accent), var(--accent-hi)); color: #fff; }
.btn-winter { background: linear-gradient(135deg, var(--winter-2), var(--winter)); color: #08202e; }
.btn-forest:hover, .btn-winter:hover { filter: brightness(1.08); }
.link-btn { background: none; border: none; color: var(--muted); cursor: pointer; padding: 0; font: inherit; font-size: 12.5px; }
.link-btn:hover { color: var(--text); text-decoration: underline; }
.link-btn.link-danger:hover { color: var(--danger); }

.page { flex: 1 0 auto; padding: 24px 18px 60px; }
.card {
    background: linear-gradient(180deg, var(--card), var(--bg-2));
    border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px; box-shadow: var(--shadow); margin-bottom: 16px;
}
.card.empty { text-align: center; color: var(--muted); padding: 40px 20px; }
.search-summary { overflow-wrap: anywhere; }
h1 { font-size: 26px; margin: 0 0 6px; }
h2 { font-size: 19px; margin: 0; }
h3 { font-size: 16px; margin: 0 0 12px; }

.breadcrumb { color: var(--muted); margin-bottom: 14px; font-size: 13.5px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb > span:not(.crumb-title) { margin: 0 6px; opacity: .6; }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px 16px; margin-bottom: 16px; }
.page-head > * { min-width: 0; }

.hero { display: flex; justify-content: space-between; gap: 24px; align-items: center; overflow: hidden; position: relative; }
.hero-text { min-width: 0; }
.hero-text h1 { font-size: 30px; }
.hero-text p { color: var(--muted); max-width: 46ch; }
.hero { background:
    radial-gradient(500px 220px at 0% 0%, rgba(76,154,74,.18), transparent 70%),
    radial-gradient(500px 220px at 100% 100%, rgba(143,211,255,.14), transparent 70%),
    linear-gradient(180deg, var(--card), var(--bg-2)); }
.hero-games { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }

.game-badge {
    display: inline-flex; align-items: center; gap: 2px; margin-right: 6px; vertical-align: 1px;
    font-size: 11px; font-weight: 700; line-height: 1.5; padding: 0 7px; border-radius: 999px;
    border: 1px solid; white-space: nowrap;
}
.game-forest { color: #9be8a6; background: rgba(76,154,74,.14); border-color: rgba(76,154,74,.5); }
.game-winter { color: var(--winter); background: rgba(143,211,255,.12); border-color: rgba(143,211,255,.5); }
.game-both   { color: var(--text); background: linear-gradient(90deg, rgba(76,154,74,.2), rgba(143,211,255,.2)); border-color: var(--line); }
.cat-last-title .game-badge { margin-right: 4px; }

.game-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.gf-tab {
    padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card-2);
    color: var(--muted); font-weight: 600; font-size: 13px;
}
.gf-tab:hover { color: var(--text); text-decoration: none; border-color: var(--muted); }
.gf-tab.active { color: #0c1310; }
.gf-all.active    { background: var(--text); border-color: var(--text); }
.gf-forest.active { background: var(--accent-hi); border-color: var(--accent-hi); }
.gf-winter.active { background: var(--winter); border-color: var(--winter); }

.game-picker { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; }
.game-picker legend { padding: 0 4px; font-weight: 600; font-size: 13.5px; }
.game-picker label.gp-opt { flex-direction: row; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; }
.game-picker input[type="radio"] { width: auto; padding: 0; margin: 0; box-shadow: none; accent-color: var(--accent); }
.game-picker .gp-winter input[type="radio"] { accent-color: var(--winter-2); }
.hero-stats { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; }
.hero-stats li {
    background: var(--card-2); border: 1px solid var(--line); border-radius: 12px;
    padding: 12px 18px; text-align: center; min-width: 84px;
}
.hero-stats b { display: block; font-size: 22px; color: var(--accent-2); }
.hero-stats span { font-size: 12px; color: var(--muted); }

.cat-list { display: flex; flex-direction: column; gap: 12px; }
.cat-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto 210px; align-items: center; gap: 16px; margin: 0; }
.cat-icon { font-size: 30px; text-align: center; }
.cat-main h2 a { color: var(--text); }
.cat-main p { margin: 4px 0 0; font-size: 13px; }
.cat-last-mobile { display: none; }
.cat-count { text-align: center; }
.cat-count b { display: block; font-size: 20px; color: var(--accent-2); }
.cat-count span { font-size: 11px; color: var(--muted); }
.cat-last { font-size: 12.5px; overflow: hidden; min-width: 0; }
.cat-last-title { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; overflow-wrap: normal; }
.board-line { text-align: center; margin-top: 6px; }

.card.topic-list { padding: 0; overflow: hidden; }
.topic-head, .topic-row { display: grid; grid-template-columns: minmax(0, 1fr) 80px 80px 160px; align-items: center; gap: 12px; padding: 14px 18px; }
.topic-row-search { grid-template-columns: minmax(0, 1fr) 60px; }
.topic-head { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; border-bottom: 1px solid var(--line); background: rgba(0,0,0,.15); }
.topic-row { border-bottom: 1px solid var(--line); }
.topic-row:last-child { border-bottom: none; }
.topic-row:hover { background: rgba(76,154,74,.08); }
.topic-title { min-width: 0; overflow: hidden; }
.topic-title a { color: var(--text); font-weight: 600; }
.topic-meta { display: block; font-weight: 400; margin-top: 3px; font-size: 12px; }
.topic-meta a { color: var(--muted); font-weight: 400; }
.meta-last { display: none; }
.col-num { text-align: center; color: var(--muted); }
.col-last { font-size: 12px; text-align: right; min-width: 0; overflow: hidden; }
.col-last a { color: var(--muted); }

.tag { display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 999px; vertical-align: middle; font-weight: 700; }
.tag-admin { background: rgba(229,103,95,.16); color: #ff9d95; border: 1px solid rgba(229,103,95,.4); }
.tag-banned { background: rgba(139,165,147,.16); color: var(--muted); border: 1px solid var(--line); }
.tag-online { background: rgba(91,191,106,.15); color: #8fe39b; }
.tag-pin, .tag-lock { background: transparent; }
.online-dot { color: var(--ok); }

.posts { display: flex; flex-direction: column; gap: 14px; }
.post { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; margin: 0; }
.post, #reply { scroll-margin-top: calc(var(--header-h) + 16px); }
.post:target { border-color: var(--accent); }
.post-author { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; border-right: 1px solid var(--line); padding-right: 16px; min-width: 0; }
.post-name { font-weight: 700; color: var(--text); }
.post-body { min-width: 0; }
.post-meta { font-size: 12.5px; margin-bottom: 10px; }
.post-num { color: var(--muted); }
.post-content { overflow: hidden; }
.post-content code { background: var(--bg); padding: 2px 6px; border-radius: 6px; font-size: 13px; border: 1px solid var(--line); overflow-wrap: anywhere; }
.post-content a { word-break: break-all; }
.post-actions { display: flex; gap: 14px; align-items: center; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.mod-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.inline { display: inline; }

.reactions { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.react-form { display: contents; }
.reaction {
    display: inline-flex; align-items: center; gap: 5px;
    background: var(--card-2); border: 1px solid var(--line); color: var(--text);
    padding: 3px 9px; border-radius: 999px; font: inherit; font-size: 14px; line-height: 1.4;
}
button.reaction { cursor: pointer; transition: border-color .12s ease, background .12s ease, transform .06s ease; }
button.reaction:hover { border-color: var(--accent); }
button.reaction:active { transform: translateY(1px); }
a.reaction-static:hover { text-decoration: none; border-color: var(--accent); }
span.reaction-static { cursor: default; }
.reaction.mine { background: rgba(76,154,74,.16); border-color: var(--accent); }
.reaction .rc { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.reaction.mine .rc { color: var(--accent-hi); }
.react-error { font-size: 12.5px; color: var(--danger); }

.react-add { position: static; }
.react-add > summary {
    list-style: none; cursor: pointer; user-select: none;
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 999px;
    background: var(--card-2); border: 1px solid var(--line); color: var(--muted); font-size: 15px;
}
.react-add > summary::-webkit-details-marker { display: none; }
.react-add > summary:hover { border-color: var(--accent); color: var(--text); }
.react-add[open] > summary { border-color: var(--accent); color: var(--text); }

.react-palette {
    position: absolute; bottom: calc(100% + 8px); left: 0; z-index: 20;
    display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; max-width: 100%;
    background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
}
.react-palette .reaction.in-palette { border-color: transparent; background: transparent; font-size: 18px; padding: 4px 6px; }
.react-palette .reaction.in-palette:hover { background: var(--card-2); border-color: var(--line); }
.react-palette .reaction.in-palette.mine { background: rgba(76,154,74,.16); border-color: var(--accent); }

.avatar {
    flex: none;
    width: 30px; height: 30px; border-radius: 9px; display: inline-flex;
    align-items: center; justify-content: center; font-weight: 800; color: #fff;
    background: hsl(calc(var(--seed, 1) * 47deg), 55%, 45%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}
.avatar-lg { width: 46px; height: 46px; border-radius: 12px; font-size: 20px; }
.avatar-xl { width: 72px; height: 72px; border-radius: 16px; font-size: 32px; }
img.avatar-img { display: inline-block; object-fit: cover; background: var(--card-2); padding: 0; }
.avatar-edit { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.avatar-edit > .stack { flex: 1 1 240px; min-width: 0; gap: 10px; }
input[type="file"] { padding: 9px 10px; cursor: pointer; }
input[type="file"]::file-selector-button {
    margin-right: 10px; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line);
    background: var(--card-2); color: var(--text); font: inherit; font-weight: 600; cursor: pointer;
}
.prev-nicks { margin: 2px 0 6px; overflow-wrap: anywhere; }

.rank-badge {
    display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; max-width: 100%; min-width: 0;
    font-size: 11.5px; font-weight: 700; line-height: 1.5; padding: 0 8px; border-radius: 999px;
    color: var(--accent-2); background: rgba(226,160,73,.12); border: 1px solid rgba(226,160,73,.4);
}
.rank-name { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.rank-rep { color: var(--muted); font-weight: 600; flex: none; }
.post-author .rank-badge, .member-card .rank-badge { flex-wrap: wrap; justify-content: center; row-gap: 0; border-radius: 10px; }
.profile-rank { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 4px 0 6px; }
.rep-bar { display: inline-block; width: 120px; height: 6px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); overflow: hidden; }
.rep-bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-2), #f3c27a); }
.rep-how { margin: -4px 0 14px; }
.top-list { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; gap: 8px; counter-reset: top; }
.top-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; counter-increment: top; min-width: 0; }
.top-list li::before { content: counter(top); width: 18px; color: var(--muted); font-weight: 700; flex: none; }
.top-user { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; min-width: 40%; flex: 1 1 0%; }
.top-user span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-user:hover { text-decoration: none; color: var(--accent-hi); }
.top-players { margin-top: 12px; }
.profile-info .profile-rank { justify-content: flex-start; }
@media (max-width: 820px) {
    .profile-info .profile-rank { justify-content: center; }
}

.stack { display: flex; flex-direction: column; gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 13.5px; }
input, textarea, select {
    background: var(--bg-2); border: 1px solid var(--line); color: var(--text);
    padding: 11px 13px; border-radius: 10px; font: inherit; outline: none; width: 100%;
}
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(76,154,74,.22); }
textarea { resize: vertical; min-height: 90px; }
textarea[readonly] { opacity: .85; }
.form-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.auth-card { max-width: 440px; margin: 30px auto; }
.auth-card h1 { text-align: center; }

.flash { padding: 11px 15px; border-radius: 10px; margin-bottom: 14px; font-weight: 600; font-size: 14px; }
.flash-ok { background: rgba(91,191,106,.12); border: 1px solid rgba(91,191,106,.35); color: #8fe39b; }
.flash-error { background: rgba(229,103,95,.12); border: 1px solid rgba(229,103,95,.35); color: #ffa29b; }

.reply-box { margin-top: 16px; }

.pager { display: flex; gap: 6px; justify-content: center; margin: 18px 0; flex-wrap: wrap; }
.pager a, .pager-cur, .pager-gap { padding: 7px 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--card-2); color: var(--text); }
.pager a:hover { border-color: var(--accent); text-decoration: none; }
.pager-cur { background: var(--accent); border-color: var(--accent); color: #fff; }
.pager-gap { background: transparent; border-color: transparent; color: var(--muted); }

.members-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.member-card { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; margin: 0; color: var(--text); min-width: 0; }
.member-card:hover { border-color: var(--accent); text-decoration: none; }
.member-name { font-weight: 700; }

.profile { display: flex; gap: 20px; align-items: center; }
.profile-info { min-width: 0; }
.profile-info h1 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.profile-stats { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.profile-stats b { color: var(--accent-2); }
.profile-bio { margin-top: 10px; }
.admin-box { border-color: rgba(229,103,95,.35); }
.mini-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.mini-list li { display: flex; flex-direction: column; gap: 2px; border-bottom: 1px solid var(--line); padding-bottom: 10px; min-width: 0; }
.mini-list li:last-child { border-bottom: none; padding-bottom: 0; }

.search-page { display: flex; gap: 10px; margin-bottom: 18px; }
.search-page input { flex: 1; min-width: 0; }

.site-footer { flex-shrink: 0; border-top: 1px solid var(--line); background: var(--bg-2); padding: 26px 0 20px; margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-inner p { color: var(--muted); margin: 4px 0 0; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.footer-links a { color: var(--muted); }
.copy { color: var(--muted); font-size: 12px; margin-top: 16px; }

@media (max-width: 900px) {
    :root { --header-h: 104px; }
    .header-inner { flex-wrap: wrap; gap: 8px 10px; padding-top: 8px; padding-bottom: 8px; }
    .brand { order: 1; flex: 1 1 0; }
    .user-box { order: 2; gap: 8px; }
    .main-nav { order: 3; flex: 1 1 calc(100% - 110px); margin-left: 0; gap: 16px; overflow-x: auto; padding-bottom: 2px; }
    .lang-switch { order: 4; }
    .search-box { display: none; }
    .main-nav .nav-search { display: inline; }
    .user-name { display: none; }
    .site-header .btn { padding: 6px 10px; font-size: 13px; }
}
@media (max-width: 820px) {
    .hero { flex-direction: column; align-items: stretch; }
    .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-stats li { min-width: 0; padding: 10px 8px; }

    .cat-row { grid-template-columns: 44px minmax(0, 1fr) auto; }
    .cat-last { display: none; }
    .cat-last-mobile { display: block; margin-top: 6px; }

    .topic-head { display: none; }
    .topic-row { grid-template-columns: minmax(0, 1fr) auto; }
    .topic-row .col-views, .topic-row .col-last { display: none; }
    .meta-last { display: inline; }

    .post { grid-template-columns: 1fr; }
    .post-author { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; text-align: left; border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; padding-bottom: 12px; }
    .profile { flex-direction: column; text-align: center; }
    .profile-info h1, .profile-stats { justify-content: center; }

    input, textarea, select { font-size: 16px; }
}
@media (max-width: 480px) {
    .brand-sub { display: none; }
    .game-badge .gb-text { display: none; }
    .hero-games .btn, .hero-cta .btn { flex: 1 1 100%; }
    .wrap, .page { padding-left: 12px; padding-right: 12px; }
    .card { padding: 16px; }
    h1 { font-size: 22px; }
    .hero-text h1 { font-size: 24px; }
}
