/*
 * Realcore Web
 * Classic game-site layout inspired by early MMORPG community portals.
 * The cool ocean palette and illustrated Realcore world keep the identity original.
 */

:root {
    --night-950: #09111c;
    --night-900: #101b2b;
    --night-850: #152438;
    --night-800: #1a2d43;
    --night-700: #29435d;
    --paper: #e8edef;
    --paper-light: #f7f8f6;
    --paper-deep: #d4dde0;
    --ink: #17232d;
    --ink-soft: #52616c;
    --line: #9aaeb5;
    --line-soft: #c9d3d6;
    --accent: #45abb7;
    --accent-bright: #79d7dc;
    --accent-dark: #277984;
    --accent-wash: #d7eff1;
    --danger: #a83e47;
    --danger-dark: #7e2932;
    --danger-bg: #f6e1e2;
    --success: #26725c;
    --success-bg: #dceee7;
    --info: #315d83;
    --info-bg: #dce8f2;
    --purple: #755690;
    --purple-bg: #e9e0ef;
    --radius: 3px;
    --shadow-hard: 0 12px 32px rgba(3, 10, 18, .48);
    --shadow-soft: 0 4px 12px rgba(9, 17, 28, .2);
    --serif: Georgia, "Times New Roman", Times, serif;
    --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        linear-gradient(180deg, rgba(7, 17, 29, .42) 0, rgba(7, 17, 29, .72) 440px, rgba(7, 17, 29, .92) 100%),
        url("/assets/images/realcore-world.png") center top / cover fixed no-repeat,
        var(--night-950);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--accent);
    color: #fff;
}

a {
    color: var(--accent-dark);
    text-decoration: none;
}

a:hover {
    color: #185e68;
    text-decoration: underline;
}

button,
input,
select,
textarea {
    font: inherit;
}

img {
    max-width: 100%;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 8px;
    left: 8px;
    padding: 9px 14px;
    background: #fff;
    color: var(--night-950);
    transform: translateY(-150%);
    transition: transform .15s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Top status bar */
.status-bar {
    position: relative;
    z-index: 20;
    min-height: 46px;
    background:
        linear-gradient(180deg, rgba(19, 34, 51, .98), rgba(8, 16, 26, .98));
    border-bottom: 1px solid rgba(121, 215, 220, .45);
    color: #d8e1e5;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .45);
}

.status-bar-inner {
    width: min(1080px, calc(100% - 32px));
    min-height: 46px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #aebdc4;
    font-size: .73rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.server-status strong {
    color: var(--accent-bright);
    font-family: var(--serif);
    font-size: 1rem;
    letter-spacing: .03em;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-bright);
    box-shadow: 0 0 0 3px rgba(121, 215, 220, .14), 0 0 12px var(--accent);
}

.utility-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.utility-nav a {
    color: #b7c4ca;
    font-size: .76rem;
    font-weight: 650;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.utility-nav a:hover {
    color: var(--accent-bright);
    text-decoration: none;
}

/* Illustrated masthead */
.site-header {
    position: relative;
    min-height: 285px;
    display: grid;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
}

.site-header::before,
.site-header::after {
    position: absolute;
    z-index: -1;
    content: "";
    inset: 0;
    pointer-events: none;
}

.site-header::before {
    background:
        radial-gradient(circle at 50% 42%, rgba(232, 244, 244, .12), transparent 34%),
        linear-gradient(90deg, rgba(5, 13, 23, .62), transparent 28%, transparent 72%, rgba(5, 13, 23, .62));
}

.site-header::after {
    background: linear-gradient(180deg, transparent 48%, rgba(7, 15, 25, .78) 100%);
}

.brand {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 52px 34px;
    color: #eef6f6;
    text-align: center;
    text-decoration: none;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .55));
}

.brand::before,
.brand::after {
    position: absolute;
    top: 50%;
    width: 78px;
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, var(--accent-bright));
}

.brand::before {
    right: 100%;
}

.brand::after {
    left: 100%;
    transform: rotate(180deg);
}

.brand:hover {
    color: #fff;
    text-decoration: none;
}

.brand-kicker,
.brand-subtitle {
    color: #c7d7da;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .32em;
    text-transform: uppercase;
    text-shadow: 0 2px 5px rgba(0, 0, 0, .85);
}

.brand-name {
    margin: -3px 0 -7px;
    color: #edf9f8;
    font-family: var(--serif);
    font-size: clamp(3.9rem, 8vw, 6.4rem);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: 1;
    text-shadow:
        0 2px 0 var(--accent-dark),
        0 4px 0 #13293a,
        0 7px 18px rgba(0, 0, 0, .9);
}

.brand-name::first-letter {
    color: var(--accent-bright);
}

.brand-subtitle {
    letter-spacing: .38em;
}

/* Main site frame */
.site-frame {
    position: relative;
    z-index: 10;
    width: min(1080px, calc(100% - 32px));
    margin: -16px auto 0;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
}

.menu-toggle,
.menu-toggle-label {
    display: none;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-box {
    overflow: hidden;
    margin: 0;
    background: rgba(12, 23, 36, .94);
    border: 1px solid #29475f;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(5px);
}

.sidebar-box h2 {
    position: relative;
    margin: 0;
    padding: 10px 13px 9px 31px;
    background:
        linear-gradient(90deg, rgba(69, 171, 183, .16), transparent 68%),
        linear-gradient(180deg, #1d354c, #122236);
    border-bottom: 1px solid rgba(121, 215, 220, .38);
    color: var(--accent-bright);
    font-family: var(--serif);
    font-size: .9rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sidebar-box h2::before {
    position: absolute;
    top: 50%;
    left: 13px;
    width: 8px;
    height: 8px;
    content: "";
    border: 1px solid var(--accent);
    transform: translateY(-50%) rotate(45deg);
}

.sidebar-box ul {
    list-style: none;
    margin: 0;
    padding: 5px 0;
}

.sidebar-box li {
    margin: 0;
}

.sidebar-box li + li {
    border-top: 1px solid rgba(154, 174, 181, .1);
}

.sidebar-box li a {
    position: relative;
    display: block;
    padding: 8px 13px 8px 27px;
    color: #b7c4ca;
    font-size: .82rem;
    font-weight: 620;
    transition: color .15s ease, background .15s ease, padding-left .15s ease;
}

.sidebar-box li a::before {
    position: absolute;
    top: 50%;
    left: 13px;
    content: "›";
    color: #59758a;
    transform: translateY(-52%);
}

.sidebar-box li a:hover,
.sidebar-box li a.active {
    padding-left: 31px;
    background: linear-gradient(90deg, rgba(69, 171, 183, .16), transparent);
    color: #edf8f8;
    text-decoration: none;
}

.sidebar-box li a.active::before {
    color: var(--accent-bright);
}

.sidebar-box-body {
    padding: 11px;
}

.sidebar-login {
    display: grid;
    gap: 6px;
}

.sidebar-login label {
    color: #b6c3c9;
    font-family: var(--serif);
    font-size: .77rem;
    font-weight: 700;
}

.sidebar-login input {
    width: 100%;
    min-width: 0;
    padding: 8px 9px;
    background: rgba(3, 10, 17, .72);
    border: 1px solid #38546a;
    border-radius: 2px;
    color: #edf7f7;
    font-size: .85rem;
}

.sidebar-login input:focus {
    outline: 2px solid rgba(69, 171, 183, .35);
    border-color: var(--accent);
}

.sidebar-login button,
.sidebar-button,
.sidebar-logout button {
    display: block;
    width: 100%;
    margin-top: 4px;
    padding: 8px 10px;
    background: linear-gradient(180deg, #52bdc6, #277985);
    border: 1px solid #79d7dc;
    border-radius: 2px;
    box-shadow: inset 0 1px rgba(255, 255, 255, .22), 0 2px 5px rgba(0, 0, 0, .34);
    color: #06151c;
    cursor: pointer;
    font-family: var(--serif);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
}

.sidebar-login button:hover,
.sidebar-button:hover,
.sidebar-logout button:hover {
    background: linear-gradient(180deg, #80dde1, #3797a3);
    color: #06151c;
    text-decoration: none;
}

.sidebar-button-secondary {
    background: linear-gradient(180deg, #304a61, #1b2e42);
    border-color: #526f82;
    color: #d9e4e7;
}

.sidebar-button-secondary:hover {
    background: linear-gradient(180deg, #3e5e78, #263f56);
    color: #fff;
}

.account-lost,
.sidebar-link-emphasis {
    display: block;
    padding-top: 8px;
    color: #aebec4;
    font-family: var(--serif);
    font-size: .75rem;
    text-align: center;
}

.sidebar-link-emphasis {
    color: var(--accent-bright);
}

.account-welcome {
    margin: 0 0 9px;
    color: #c6d1d5;
    font-size: .79rem;
    text-align: center;
}

.sidebar-logout {
    margin: 6px 0 0;
}

.sidebar-logout button {
    background: transparent;
    border-color: #38546a;
    box-shadow: none;
    color: #afbec4;
}

.content-shell {
    position: relative;
    overflow: hidden;
    min-width: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .36), transparent 38%),
        var(--paper);
    border: 1px solid #67838e;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hard);
}

.content-shell::after {
    position: absolute;
    inset: 39px 7px 7px;
    content: "";
    border: 1px solid rgba(68, 100, 112, .25);
    pointer-events: none;
}

.content-ribbon {
    position: relative;
    z-index: 2;
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 18px;
    background:
        linear-gradient(90deg, rgba(69, 171, 183, .16), transparent 42%),
        linear-gradient(180deg, #1a3046, #0d1a2a);
    border-bottom: 2px solid var(--accent-dark);
    color: var(--accent-bright);
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.ribbon-mark {
    width: 13px;
    height: 13px;
    border: 1px solid var(--accent);
    transform: rotate(45deg);
    box-shadow: inset 0 0 0 3px var(--night-850);
}

.main {
    position: relative;
    z-index: 1;
    min-height: 680px;
    padding: 34px 38px 42px;
}

.site-footer {
    width: min(1080px, calc(100% - 32px));
    margin: 28px auto 0;
    padding: 22px 16px 38px 234px;
    color: #91a4ad;
    font-size: .76rem;
    text-align: center;
}

.site-footer p {
    margin: 0 0 3px;
}

.site-footer a {
    margin: 0 5px;
    color: #a9bdc5;
}

.maintenance-bar {
    position: relative;
    z-index: 30;
    padding: 8px 12px;
    background: #d2a448;
    color: #1d180e;
    font-size: .9rem;
    text-align: center;
}

.maintenance-bar a {
    color: #1d180e;
    text-decoration: underline;
}

/* Typography and content sections */
h1,
h2,
h3,
h4 {
    font-family: var(--serif);
    line-height: 1.2;
}

h1 {
    margin: 0 0 18px;
    color: #173243;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
}

h2 {
    color: #1b3948;
    font-size: 1.35rem;
}

h3 {
    color: #2b4b58;
    font-size: 1.08rem;
}

.page-title {
    margin-bottom: 7px;
    text-align: center;
}

.page-title::after {
    display: block;
    width: 64px;
    height: 2px;
    margin: 13px auto 0;
    content: "";
    background: linear-gradient(90deg, transparent, var(--accent-dark), transparent);
}

.subtitle {
    max-width: 670px;
    margin: 0 auto 25px;
    color: var(--ink-soft);
    font-family: var(--serif);
    text-align: center;
}

.welcome-copy {
    max-width: 680px;
    margin: 0 auto 26px;
    text-align: center;
}

.welcome-copy h1 {
    margin: 2px 0 8px;
    font-size: clamp(2.2rem, 5vw, 3.15rem);
    letter-spacing: -.035em;
}

.welcome-copy p {
    margin: 0 auto 16px;
    color: #425864;
    font-family: var(--serif);
    font-size: 1.02rem;
}

.eyebrow {
    color: var(--accent-dark);
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.welcome-actions {
    display: flex;
    justify-content: center;
    gap: 9px;
    flex-wrap: wrap;
}

/* Cards */
.card {
    position: relative;
    overflow-x: auto;
    margin-bottom: 18px;
    padding: 19px 21px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .66), transparent 42%),
        var(--paper-light);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 2px 6px rgba(29, 55, 67, .1);
}

.card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, var(--accent-dark), var(--accent-bright), var(--accent-dark));
    opacity: .72;
}

.card h2,
.card h3 {
    margin-top: 0;
}

.card-heading {
    margin: -2px 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line-soft);
}

.card-heading h2 {
    margin: 0;
    font-size: 1.16rem;
    letter-spacing: .035em;
}

.text-link {
    font-size: .76rem;
    font-weight: 750;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.changelog-teaser h3 {
    margin: 5px 0;
}

.changelog-teaser p:last-child {
    margin-bottom: 0;
}

.changelog-meta,
.news-date {
    margin: 0;
    color: var(--ink-soft);
    font-size: .76rem;
    font-weight: 650;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.news-item {
    position: relative;
    padding: 17px 2px 18px;
    border-bottom: 1px solid var(--line-soft);
}

.news-item:first-of-type {
    padding-top: 3px;
}

.news-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.news-item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.news-item h3 {
    margin: 3px 0 8px;
    font-size: 1.18rem;
}

.news-item p {
    margin: 0 0 9px;
}

.read-more {
    font-family: var(--serif);
    font-size: .85rem;
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 8px 17px;
    background: linear-gradient(180deg, #50b9c2, #2c8792);
    border: 1px solid #236c75;
    border-radius: 2px;
    box-shadow: inset 0 1px rgba(255, 255, 255, .28), 0 2px 4px rgba(18, 58, 66, .2);
    color: #07191f;
    cursor: pointer;
    font-family: var(--serif);
    font-size: .88rem;
    font-weight: 800;
    letter-spacing: .025em;
    text-align: center;
    transition: filter .15s ease, transform .15s ease;
}

.btn:hover {
    color: #06151a;
    text-decoration: none;
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-small {
    min-height: 30px;
    padding: 5px 11px;
    font-size: .78rem;
}

.btn-block {
    width: 100%;
}

.btn-secondary {
    background: linear-gradient(180deg, #61798a, #3c5366);
    border-color: #33495a;
    color: #f0f4f5;
}

.btn-secondary:hover {
    color: #fff;
}

.btn-danger {
    background: linear-gradient(180deg, #c75b62, #96363e);
    border-color: var(--danger-dark);
    color: #fff;
}

.btn-danger:hover {
    color: #fff;
}

.inline-form {
    display: inline;
    margin: 0;
}

.link-button {
    padding: 0;
    background: none;
    border: 0;
    color: var(--accent-dark);
    cursor: pointer;
    font: inherit;
    font-weight: 650;
}

.link-button:hover {
    color: #185e68;
    text-decoration: underline;
}

/* Forms */
.form-narrow {
    max-width: 510px;
    margin-right: auto;
    margin-left: auto;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #2a414d;
    font-size: .84rem;
    font-weight: 750;
}

.form-group .hint {
    color: var(--ink-soft);
    font-size: .76rem;
    font-weight: 450;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="url"],
select,
textarea {
    width: 100%;
    padding: 9px 11px;
    background: #fbfcfb;
    border: 1px solid #94a7ae;
    border-radius: 2px;
    color: var(--ink);
    font-size: .9rem;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 3px rgba(69, 171, 183, .16);
}

fieldset {
    min-width: 0;
}

fieldset.card {
    background: rgba(255, 255, 255, .42);
}

legend {
    padding: 0 7px;
    font-family: var(--serif);
    font-weight: 700;
}

.radio-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-row label {
    font-weight: 500;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-row label {
    margin: 0;
    font-weight: 650;
}

/* Alerts */
.alert {
    margin-bottom: 18px;
    padding: 11px 14px;
    background: var(--info-bg);
    border: 1px solid #afc7da;
    border-left: 4px solid var(--info);
    border-radius: 2px;
    color: var(--info);
    font-size: .88rem;
}

.alert-error {
    background: var(--danger-bg);
    border-color: #ddb6ba;
    border-left-color: var(--danger);
    color: var(--danger-dark);
}

.alert-success {
    background: var(--success-bg);
    border-color: #acd1c3;
    border-left-color: var(--success);
    color: #185743;
}

.alert-info {
    background: var(--info-bg);
    border-color: #afc7da;
    border-left-color: var(--info);
    color: var(--info);
}

.error-list {
    margin: 0;
    padding-left: 18px;
}

/* Statistics */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    margin-bottom: 18px;
    background: var(--night-850);
    border: 1px solid #456176;
    border-radius: var(--radius);
    box-shadow: 0 3px 9px rgba(12, 31, 44, .2);
}

.stat {
    position: relative;
    padding: 13px 10px 12px;
    text-align: center;
}

.stat + .stat {
    border-left: 1px solid rgba(121, 215, 220, .23);
}

.stat .value {
    color: var(--accent-bright);
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.stat .label {
    margin-top: 3px;
    color: #aebfc6;
    font-size: .66rem;
    font-weight: 750;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* Tables */
.table-scroll {
    overflow-x: auto;
}

table.data {
    width: 100%;
    border: 1px solid var(--line-soft);
    border-collapse: collapse;
    background: rgba(255, 255, 255, .58);
}

table.data th,
table.data td {
    padding: 9px 11px;
    border-bottom: 1px solid var(--line-soft);
    font-size: .86rem;
    text-align: left;
    vertical-align: middle;
}

table.data th {
    background: linear-gradient(180deg, #29455b, #1b3145);
    border-color: #476579;
    color: #dce7e9;
    font-size: .69rem;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

table.data tbody tr:nth-child(even) {
    background: rgba(203, 217, 221, .28);
}

table.data tbody tr:hover {
    background: var(--accent-wash);
}

table.data tr:last-child td {
    border-bottom: 0;
}

.rank-number {
    display: inline-grid;
    width: 24px;
    height: 24px;
    place-items: center;
    background: var(--night-800);
    border-radius: 50%;
    color: var(--accent-bright);
    font-family: var(--serif);
    font-size: .76rem;
    font-weight: 700;
}

/* Auctions */
.auction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 13px;
}

.auction-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 15px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .75), transparent 56%),
        #e2e8ea;
    border: 1px solid var(--line);
    border-top: 3px solid var(--accent-dark);
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(22, 47, 60, .12);
}

.auction-card h3 {
    margin: 0;
    font-size: 1.08rem;
}

.auction-meta {
    color: var(--ink-soft);
    font-size: .79rem;
}

.auction-price {
    color: var(--accent-dark);
    font-family: var(--serif);
    font-size: 1.12rem;
    font-weight: 700;
}

.badge {
    display: inline-flex;
    min-height: 21px;
    align-items: center;
    padding: 2px 8px;
    background: #d9e0e2;
    border: 1px solid #b7c4c8;
    border-radius: 20px;
    color: #53646c;
    font-family: var(--sans);
    font-size: .65rem;
    font-weight: 750;
    letter-spacing: .025em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.badge-online,
.badge-active {
    background: var(--success-bg);
    border-color: #acd1c3;
    color: var(--success);
}

.badge-finished {
    background: var(--info-bg);
    border-color: #b5cbda;
    color: var(--info);
}

.badge-expired,
.badge-cancelled,
.badge-maintenance {
    background: var(--danger-bg);
    border-color: #ddb6ba;
    color: var(--danger);
}

.badge-pending,
.badge-pending_items {
    background: var(--purple-bg);
    border-color: #cdbbd8;
    color: var(--purple);
}

.badge-news {
    background: var(--info-bg);
    border-color: #b5cbda;
    color: var(--info);
}

.badge-update {
    background: var(--success-bg);
    border-color: #acd1c3;
    color: var(--success);
}

.badge-event {
    background: var(--purple-bg);
    border-color: #cdbbd8;
    color: var(--purple);
}

/* Item snapshots and filters */
.items-heading {
    margin: 14px 0 6px;
    font-size: .9rem;
}

.items-scroll {
    overflow-y: auto;
    max-height: 190px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .48);
    border: 1px solid var(--line-soft);
    border-radius: 2px;
}

.items-scroll-tall {
    max-height: 280px;
}

.items-line {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 4px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: .8rem;
}

.items-line:last-child {
    border-bottom: 0;
}

.filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    align-items: end;
    gap: 10px;
}

.filters .form-group {
    margin-bottom: 0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 23px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    min-width: 34px;
    padding: 6px 10px;
    background: var(--paper-light);
    border: 1px solid var(--line);
    border-radius: 2px;
    color: var(--ink);
    font-size: .8rem;
    text-align: center;
}

.pagination a:hover {
    background: var(--accent-wash);
    text-decoration: none;
}

.pagination .current {
    background: var(--night-800);
    border-color: var(--night-800);
    color: var(--accent-bright);
}

/* Utilities */
.row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.row > * {
    min-width: 220px;
    flex: 1;
}

.between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.muted {
    color: var(--ink-soft);
}

.text-right {
    text-align: right;
}

.mt {
    margin-top: 16px;
}

.balance-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    background: var(--night-800);
    border: 1px solid #4e6c7f;
    border-radius: 20px;
    color: var(--accent-bright);
    font-size: .8rem;
    font-weight: 750;
}

.dl {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 7px 18px;
}

.dl dt {
    color: var(--ink-soft);
}

.dl dd {
    margin: 0;
    font-weight: 700;
}

/* ---- Sales dashboard --------------------------------------------------- */

/* Time-range control: one row above the charts. */
.range-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.range-pill {
    padding: 5px 13px;
    font-size: .84rem;
    color: var(--ink-soft);
    background: var(--paper-light);
    border: 1px solid var(--line);
    border-radius: 999px;
    text-decoration: none;
}

.range-pill:hover {
    color: var(--ink);
    background: #fff;
}

.range-pill-on,
.range-pill-on:hover {
    color: #fff;
    background: var(--ink);
    border-color: var(--ink);
}

/* KPI row. The first tile is the hero figure the page leads with. */
.stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.stat-tile {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 15px 17px;
    background: var(--paper-light);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.stat-tile-hero {
    grid-column: span 2;
}

.stat-label {
    font-size: .78rem;
    color: var(--ink-soft);
}

.stat-value {
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--ink);
}

.stat-value-hero {
    font-size: 2.4rem;
}

/* Deltas never rely on colour alone: each carries an arrow or a word. */
.stat-delta {
    font-size: .78rem;
    color: var(--ink-soft);
}

.stat-delta-up    { color: var(--success); }
.stat-delta-down  { color: var(--danger); }
.stat-delta-flat,
.stat-delta-new   { color: var(--ink-soft); }

/* Charts */
.chart {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    font-family: inherit;
}

.chart-hit { cursor: default; }

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    margin: 10px 0 4px;
    padding: 0;
    list-style: none;
    font-size: .84rem;
    color: var(--ink-soft);
}

.chart-legend li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.legend-swatch {
    width: 11px;
    height: 11px;
    border-radius: 2px;
    flex: none;
}

.chart-table {
    margin-top: 12px;
    font-size: .86rem;
}

.chart-table summary {
    cursor: pointer;
    color: var(--ink-soft);
}

.chart-tooltip {
    position: fixed;
    z-index: 60;
    max-width: 260px;
    padding: 6px 10px;
    font-size: .8rem;
    line-height: 1.35;
    color: var(--paper);
    background: var(--night-900);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    pointer-events: none;
}

@media (max-width: 560px) {
    .stat-tile-hero { grid-column: span 1; }
    .stat-value-hero { font-size: 1.8rem; }
}

/* ---- Realcoin shop ---------------------------------------------------- */

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.package {
    position: relative;
    padding: 20px 18px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    text-align: center;
}

.package-featured {
    border-color: var(--ink);
    box-shadow: 0 0 0 1px var(--ink);
}

.package-flag {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 10px;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    background: var(--ink);
    color: #fff;
    border-radius: 3px;
}

.package h3 {
    margin: 0 0 10px;
    font-size: 1rem;
}

.package-coins {
    margin: 0;
    line-height: 1.1;
}

.package-coins strong {
    display: block;
    font-size: 1.9rem;
}

.package-coins span {
    font-size: .82rem;
    color: var(--ink-soft);
}

.package-bonus {
    margin: 4px 0 0;
    font-size: .8rem;
    color: var(--ink-soft);
}

.package-price {
    margin: 12px 0 14px;
    font-size: 1.15rem;
    font-weight: 700;
}

.package-actions {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.balance-chip {
    text-align: right;
}

.balance-chip span {
    display: block;
    font-size: .8rem;
    color: var(--ink-soft);
}

.balance-chip strong {
    font-size: 1.5rem;
}

/* Pix checkout. The QR is pixel art from the provider: scale it by whole
   pixels so it stays scannable. */
.pix-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
}

.pix-qr {
    width: 220px;
    height: 220px;
    image-rendering: pixelated;
    border: 1px solid var(--line);
    background: #fff;
}

.pix-code {
    width: 100%;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: .74rem;
    word-break: break-all;
}

/* The house minimap on a house page. The picture is pixel art at its native
   size, so it is scaled by whole pixels and never smoothed. */
.house-map {
    margin: 0 0 16px;
}

.house-map img {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    border: 1px solid var(--line);
    background: #000;
    image-rendering: pixelated;
}

.plain-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.plain-list li {
    padding: 5px 0;
    border-bottom: 1px solid var(--line-soft);
}

.plain-list li:last-child {
    border-bottom: 0;
}

pre {
    padding: 12px;
    background: #dce3e5 !important;
    border: 1px solid var(--line-soft);
    border-radius: 2px !important;
    color: #20313a;
}

/* Forum */
.forum-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: -5px 0 16px;
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: .8rem;
}

.forum-breadcrumbs strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.forum-page-heading,
.forum-thread-heading {
    align-items: flex-start;
    margin-bottom: 18px;
}

.forum-page-heading .subtitle,
.forum-thread-heading .page-title {
    margin-bottom: 0;
}

.forum-category {
    margin: 0 0 22px;
    border: 1px solid #79909b;
    box-shadow: 0 2px 6px rgba(15, 31, 44, .14);
}

.forum-category-title {
    margin: 0;
    padding: 8px 12px;
    background: linear-gradient(180deg, #25455c, #162f45);
    border-bottom: 1px solid #557488;
    color: #f0f4f4;
    font-family: var(--serif);
    font-size: .94rem;
    letter-spacing: .025em;
    text-shadow: 0 1px 1px #071522;
}

.forum-table-wrap {
    overflow-x: auto;
}

table.forum-board-table,
table.forum-topic-table {
    min-width: 650px;
    border: 0;
}

table.forum-board-table th,
table.forum-topic-table th {
    background: #d2dde0;
    border-color: #b0c0c5;
    color: #344b58;
    font-size: .63rem;
    text-shadow: 0 1px rgba(255, 255, 255, .65);
}

table.forum-board-table td,
table.forum-topic-table td {
    padding-top: 11px;
    padding-bottom: 11px;
}

.forum-icon-cell {
    width: 48px;
    padding-right: 3px !important;
    text-align: center !important;
}

.forum-board-icon,
.forum-topic-icon {
    position: relative;
    display: inline-block;
    width: 27px;
    height: 22px;
    background: linear-gradient(180deg, var(--accent), var(--accent-dark));
    border: 2px solid #1b5f68;
    border-radius: 4px;
    box-shadow: inset 0 1px rgba(255, 255, 255, .35), 0 1px 2px rgba(0, 0, 0, .2);
}

.forum-board-icon::after,
.forum-topic-icon::after {
    position: absolute;
    right: 3px;
    bottom: -6px;
    width: 0;
    height: 0;
    border-top: 7px solid #1b5f68;
    border-left: 7px solid transparent;
    content: "";
}

.forum-board-icon span,
.forum-topic-icon span {
    position: absolute;
    inset: 5px 4px auto;
    height: 2px;
    background: rgba(255, 255, 255, .65);
    box-shadow: 0 5px rgba(255, 255, 255, .42);
}

.forum-topic-icon.is-locked {
    filter: grayscale(.8);
    opacity: .72;
}

.forum-topic-icon.is-pinned {
    background: linear-gradient(180deg, #8cced3, #438e97);
}

.forum-board-name > a,
.forum-topic-name > div > a {
    font-family: var(--serif);
    font-size: .96rem;
    font-weight: 700;
}

.forum-board-name > div,
.forum-topic-name small,
.forum-last-post,
.forum-topic-pages {
    color: var(--ink-soft);
    font-size: .73rem;
}

.forum-topic-name small {
    display: inline-block;
    margin-top: 2px;
}

.forum-topic-pages {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 9px;
}

.forum-topic-pages a {
    min-width: 18px;
    padding: 0 4px;
    background: var(--paper-deep);
    border: 1px solid #aabac0;
    text-align: center;
}

.forum-number {
    width: 70px;
    color: #344b58;
    font-weight: 700;
    text-align: center !important;
}

.forum-last-post {
    width: 180px;
    line-height: 1.35;
}

.forum-last-topic {
    display: block;
    max-width: 180px;
    overflow: hidden;
    font-family: var(--serif);
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.forum-status {
    display: inline-block;
    margin-right: 4px;
    padding: 1px 5px;
    background: #d6eeee;
    border: 1px solid #76aeb2;
    color: #24666e;
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
    vertical-align: 2px;
}

.forum-status-locked {
    background: #e5e8e9;
    border-color: #adb7bb;
    color: #59666b;
}

.forum-empty {
    text-align: center;
}

.forum-pagination-top .pagination {
    justify-content: flex-start;
    margin: 0 0 12px;
}

.pagination .ellipsis {
    min-width: auto;
    padding-right: 4px;
    padding-left: 4px;
    background: transparent;
    border-color: transparent;
}

.forum-thread-heading {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.forum-thread-flags:empty {
    display: none;
}

.forum-thread-flags {
    margin-bottom: 5px;
}

.forum-thread-actions,
.forum-moderation {
    display: flex;
    gap: 6px;
}

.forum-topic-nav {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    min-height: 35px;
    margin-bottom: 10px;
}

.forum-topic-nav .pagination {
    justify-content: flex-start;
    margin-top: 0;
}

.forum-topic-nav-bottom {
    margin: 13px 0 21px;
}

.forum-post-list {
    display: grid;
    gap: 10px;
}

.forum-post {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    scroll-margin-top: 16px;
    overflow: hidden;
    background: rgba(248, 249, 247, .87);
    border: 1px solid #8fa4ad;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(15, 31, 44, .12);
}

.forum-post:target {
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 2px rgba(69, 171, 183, .25);
}

.forum-post-author {
    min-width: 0;
    padding: 13px 11px;
    background: linear-gradient(180deg, #dbe4e6, #cddadd);
    border-right: 1px solid #9fb2b9;
    text-align: center;
}

.forum-author-name {
    display: block;
    overflow: hidden;
    font-family: var(--serif);
    font-size: .94rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.forum-author-role {
    display: block;
    margin: 1px 0 8px;
    color: var(--ink-soft);
    font-size: .63rem;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.forum-avatar {
    display: block;
    width: 76px;
    height: 76px;
    margin: 0 auto 9px;
    object-fit: cover;
    background: var(--paper-deep);
    border: 2px solid #87a0a9;
    border-radius: 2px;
}

.forum-avatar-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--night-800);
    color: var(--accent-bright);
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
}

.forum-author-meta {
    margin: 0;
    color: #465a65;
    font-size: .67rem;
    line-height: 1.4;
    text-align: left;
}

.forum-author-meta > div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px;
}

.forum-author-meta dt {
    font-weight: 750;
}

.forum-author-meta dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
    text-align: right;
}

.forum-post-main {
    display: flex;
    min-width: 0;
    min-height: 235px;
    flex-direction: column;
}

.forum-post-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 11px;
    background: #e1e8e9;
    border-bottom: 1px solid #b9c7cb;
    color: #334b58;
    font-family: var(--serif);
    font-size: .82rem;
}

.forum-post-header time {
    display: block;
    margin-top: 1px;
    color: var(--ink-soft);
    font-family: var(--sans);
    font-size: .66rem;
}

.forum-post-number {
    font-family: var(--sans);
    font-size: .75rem;
    font-weight: 800;
}

.forum-post-content {
    min-height: 120px;
    padding: 17px 15px 20px;
    overflow-wrap: anywhere;
    font-family: var(--serif);
    font-size: .9rem;
    line-height: 1.62;
}

.forum-post-content p:first-child {
    margin-top: 0;
}

.forum-image {
    display: block;
    max-width: min(100%, 720px);
    max-height: 650px;
    margin: 10px 0;
    object-fit: contain;
}

.forum-quote {
    margin: 10px 0;
    padding: 10px 12px;
    background: #e2eaeb;
    border: 1px solid #b1c1c5;
    border-left: 4px solid var(--accent-dark);
    color: #30444e;
}

.forum-quote cite {
    display: block;
    margin-bottom: 5px;
    color: #245e66;
    font-size: .77rem;
    font-weight: 750;
}

.forum-code {
    max-width: 100%;
    margin: 10px 0;
    overflow-x: auto;
    white-space: pre-wrap;
}

.forum-edited {
    margin: auto 15px 7px;
    color: var(--ink-soft);
    font-size: .67rem;
    font-style: italic;
}

.forum-signature {
    margin: 0 15px;
    padding: 9px 0;
    border-top: 1px solid var(--line-soft);
    color: var(--ink-soft);
    font-family: var(--serif);
    font-size: .77rem;
    font-style: italic;
}

.forum-post-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    min-height: 31px;
    margin-top: auto;
    padding: 5px 9px;
    background: rgba(221, 230, 232, .65);
    border-top: 1px solid #c2ced1;
}

.forum-post-actions a,
.forum-post-actions button {
    padding: 1px 7px;
    background: #eef2f2;
    border: 1px solid #9fb2b9;
    border-radius: 2px;
    color: #276d76;
    font-family: var(--sans);
    font-size: .68rem;
    line-height: 1.7;
    cursor: pointer;
}

.forum-post-actions a:hover,
.forum-post-actions button:hover {
    background: var(--accent-wash);
    text-decoration: none;
}

.forum-post-actions .forum-action-danger {
    color: var(--danger);
}

.forum-reply-box {
    scroll-margin-top: 12px;
}

.forum-reply-box h2 {
    margin-top: 0;
}

.forum-compose-card {
    max-width: 820px;
}

.forum-editor {
    margin-bottom: 13px;
}

.forum-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 6px;
    background: linear-gradient(180deg, #e4ebec, #d1dcdf);
    border: 1px solid #9eb1b8;
    border-bottom: 0;
}

.forum-editor-toolbar button {
    min-width: 31px;
    min-height: 28px;
    padding: 3px 8px;
    background: #f4f6f5;
    border: 1px solid #93a7ae;
    border-radius: 2px;
    color: #233d4b;
    font-size: .72rem;
    cursor: pointer;
}

.forum-editor-toolbar button:hover,
.forum-editor-toolbar button:focus-visible {
    background: var(--accent-wash);
    border-color: var(--accent-dark);
}

.forum-editor textarea {
    display: block;
    width: 100%;
    min-height: 160px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    resize: vertical;
}

.forum-editor-help {
    margin: 5px 0 0;
    color: var(--ink-soft);
    font-size: .67rem;
}

.forum-profile-head {
    display: flex;
    align-items: center;
    gap: 17px;
}

.forum-profile-head h2,
.forum-profile-head p {
    margin: 0;
}

.forum-profile-avatar {
    display: flex;
    width: 96px;
    height: 96px;
    flex: 0 0 96px;
    align-items: center;
    justify-content: center;
    object-fit: cover;
    border: 2px solid #87a0a9;
    border-radius: 2px;
}

.forum-profile-details {
    margin-top: 18px;
}

@media (max-width: 850px) {
    body {
        background-attachment: scroll;
        background-size: auto 100vh;
    }

    .status-bar-inner {
        width: min(100% - 24px, 720px);
    }

    .utility-nav {
        gap: 13px;
    }

    .utility-nav a {
        font-size: .67rem;
    }

    .site-header {
        min-height: 225px;
    }

    .brand::before,
    .brand::after {
        display: none;
    }

    .site-frame {
        width: min(100% - 24px, 720px);
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        margin-top: -9px;
    }

    .menu-toggle-label {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 13px;
        background: linear-gradient(180deg, #1b334a, #102136);
        border: 1px solid #3b5b70;
        border-radius: 2px;
        color: var(--accent-bright);
        cursor: pointer;
        font-family: var(--serif);
        font-size: .82rem;
        font-weight: 750;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .menu-toggle {
        position: absolute;
        display: block;
        width: 1px;
        height: 1px;
        opacity: 0;
    }

    .menu-toggle:focus-visible + .menu-toggle-label {
        outline: 2px solid var(--accent-bright);
        outline-offset: 2px;
    }

    .menu-toggle-label span:last-child {
        font-family: var(--sans);
        font-size: 1.2rem;
        line-height: 1;
        transition: transform .15s ease;
    }

    .sidebar {
        display: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .menu-toggle:checked + .menu-toggle-label + .sidebar {
        display: grid;
    }

    .menu-toggle:checked + .menu-toggle-label span:last-child {
        transform: rotate(45deg);
    }

    .account-box {
        grid-row: span 2;
    }

    .content-shell {
        grid-column: 1;
    }

    .site-footer {
        width: min(100% - 24px, 720px);
        padding-left: 16px;
    }

    .forum-post {
        grid-template-columns: 130px minmax(0, 1fr);
    }
}

@media (max-width: 560px) {
    .status-bar {
        min-height: 41px;
    }

    .status-bar-inner {
        min-height: 41px;
        justify-content: center;
    }

    .server-status {
        font-size: .66rem;
    }

    .utility-nav {
        display: none;
    }

    .site-header {
        min-height: 190px;
    }

    .brand {
        padding: 23px 12px 29px;
    }

    .brand-kicker,
    .brand-subtitle {
        font-size: .58rem;
        letter-spacing: .24em;
    }

    .brand-name {
        margin: 0 0 -2px;
        font-size: clamp(3.2rem, 18vw, 4.5rem);
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .account-box {
        grid-row: auto;
    }

    .content-ribbon {
        padding-left: 14px;
        font-size: .84rem;
    }

    .main {
        min-height: 540px;
        padding: 25px 15px 30px;
    }

    .content-shell::after {
        inset: 39px 4px 4px;
    }

    .card {
        padding: 16px 14px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .stat + .stat {
        border-top: 1px solid rgba(121, 215, 220, .23);
        border-left: 0;
    }

    .between {
        align-items: stretch;
    }

    .between > .row {
        width: 100%;
    }

    .news-item-header {
        flex-direction: column;
        gap: 5px;
    }

    .row {
        flex-direction: column;
    }

    .row > * {
        min-width: 0;
    }

    .filters {
        grid-template-columns: 1fr;
    }

    .dl {
        grid-template-columns: 1fr;
        gap: 1px;
    }

    .dl dd {
        margin-bottom: 9px;
    }

    .forum-breadcrumbs {
        overflow: hidden;
    }

    .forum-thread-heading {
        flex-direction: column;
    }

    .forum-topic-nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .forum-post {
        grid-template-columns: minmax(0, 1fr);
    }

    .forum-post-author {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        grid-template-rows: auto auto;
        align-items: center;
        gap: 0 10px;
        padding: 9px 11px;
        border-right: 0;
        border-bottom: 1px solid #9fb2b9;
        text-align: left;
    }

    .forum-author-name,
    .forum-author-role {
        grid-column: 2;
    }

    .forum-author-role {
        margin: 0;
    }

    .forum-avatar,
    .forum-avatar-empty {
        width: 44px;
        height: 44px;
        grid-column: 1;
        grid-row: 1 / span 2;
        margin: 0;
    }

    .forum-author-meta {
        display: flex;
        grid-column: 1 / -1;
        gap: 4px 12px;
        margin-top: 8px;
        flex-wrap: wrap;
    }

    .forum-author-meta > div {
        display: flex;
        gap: 4px;
    }

    .forum-author-meta dd {
        text-align: left;
    }

    .forum-post-main {
        min-height: 210px;
    }

    .forum-post-content {
        padding: 14px 12px 18px;
    }

    .forum-profile-head {
        align-items: flex-start;
    }

    .forum-profile-avatar {
        width: 68px;
        height: 68px;
        flex-basis: 68px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
