/* ==========================================================================
   Orion theme for Lin2Web
   Loaded after the base stylesheets (public.css / auth.css / lin2web.css):
   it re-maps their variables and re-skins shared components.
   Artwork lives in img/orion/ and can be replaced file by file.
   ========================================================================== */

:root {
    --o-ink: #0c0a08;          /* warm night, page background */
    --o-dusk: #17120d;         /* panels */
    --o-dusk-2: #211a12;       /* raised panels, table heads */
    --o-line: rgba(216, 173, 95, .24);
    --o-star: #efe4cc;         /* main text */
    --o-mist: #b5a688;         /* secondary text */
    --o-gold: #d8ad5f;         /* primary accent */
    --o-gold-hi: #f0cf8a;
    --o-ember: #c2502f;        /* PK, errors */
    --o-aether: #e39a55;       /* online, links in text */

    --o-display: 'Cinzel', 'Times New Roman', serif;
    --o-body: 'Alegreya Sans', 'Segoe UI', sans-serif;
    --o-radius: 6px;
    --o-wrap: 1200px;

    /* base theme variables, re-mapped */
    --color-primary: var(--o-gold);
    --color-secondary: var(--o-gold-hi);
    --color-accent: var(--o-ember);
    --accent-bg-color: rgba(216, 173, 95, .85);
    --bgc-color: rgba(23, 18, 13, .92);
    --bg-form-head: rgba(216, 173, 95, .18);
    --bg-form-table: rgba(23, 18, 13, .92);
    --bg-dark: var(--o-ink);
    --font-accent-regular: var(--o-display);
    --font-accent-bold: var(--o-display);
    --font-regular: var(--o-body);
    --font-bold: var(--o-body);
    --primary-font: var(--o-body);
}

/* ---------- base ---------- */
body.orion,
body {
    background: var(--o-ink);
    color: var(--o-star);
    font-family: var(--o-body);
    font-size: 17px;
    line-height: 1.55;
}

.main-bg {
    background: linear-gradient(180deg, rgba(12, 10, 8, .35), var(--o-ink) 85%),
        url('../img/orion/sky-nomoon.svg?v=1') center top / cover no-repeat !important; /* login / account pages: without the old moon */
}
.main-bg::before { display: none !important; }

body.orion--page {
    background: linear-gradient(180deg, rgba(12, 10, 8, .55) 0, var(--o-ink) 620px),
        url('../img/orion/sky.svg?v=5') center top / 100% auto no-repeat var(--o-ink);
}

a { color: var(--o-gold); }
a:hover { color: var(--o-gold-hi); }

:focus-visible {
    outline: 2px solid var(--o-gold-hi);
    outline-offset: 3px;
    border-radius: 2px;
}

.o-wrap {
    width: 100%;
    max-width: var(--o-wrap);
    margin: 0 auto;
    padding: 0 24px;
}

.o-h2 {
    font-family: var(--o-display);
    font-weight: 700;
    font-size: 22px;
    letter-spacing: .04em;
    color: var(--o-gold-hi);
    margin: 0 0 18px;
}

/* ---------- buttons ---------- */
.o-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 26px;
    border-radius: var(--o-radius);
    font-family: var(--o-display);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .06em;
    text-decoration: none;
    transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
    cursor: var(--o-cur-link, pointer);
}
.o-btn--gold {
    background: linear-gradient(180deg, var(--o-gold-hi), var(--o-gold) 55%, #b07d2a);
    color: #1c1406;
    box-shadow: 0 0 0 1px rgba(240, 207, 138, .4) inset, 0 8px 24px -10px rgba(216, 173, 95, .8);
}
.o-btn--gold:hover { color: #1c1406; box-shadow: 0 0 0 1px rgba(240, 207, 138, .7) inset, 0 10px 30px -8px rgba(216, 173, 95, .95); }
.o-btn--ghost {
    border: 1px solid rgba(239, 228, 204, .35);
    color: var(--o-star);
    background: rgba(12, 10, 8, .35);
}
.o-btn--ghost:hover { border-color: var(--o-gold); color: var(--o-gold-hi); }
.o-btn--sm { min-height: 38px; padding: 0 16px; font-size: 13px; }
.o-btn, .o-nav > ul a, .o-link { white-space: nowrap; }
.o-btn--block { width: 100%; margin-top: 20px; }

/* ---------- header ---------- */
.o-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(12, 10, 8, .72);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--o-line);
}
.orion--home .o-header { position: fixed; left: 0; right: 0; background: linear-gradient(180deg, rgba(12, 10, 8, .85), rgba(12, 10, 8, .35)); border-bottom-color: transparent; }

.o-header__bar {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 72px;
}
.o-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}
.o-brand__name {
    font-family: var(--o-display);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: .08em;
    color: var(--o-gold-hi);
}

.o-nav {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 24px;
}
.o-nav > ul {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.o-nav > ul a {
    display: block;
    padding: 8px 12px;
    color: var(--o-star);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
}
.o-nav > ul a:hover { color: var(--o-gold-hi); }
.o-nav > ul .active a { color: var(--o-gold); box-shadow: inset 0 -2px 0 var(--o-gold); border-radius: 0; }

.o-header__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 16px;
}
.o-link { color: var(--o-star); text-decoration: none; font-weight: 500; }
.o-link:hover { color: var(--o-gold-hi); }

.o-balance {
    padding: 6px 12px;
    border: 1px solid var(--o-line);
    border-radius: 999px;
    color: var(--o-gold-hi);
    text-decoration: none;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.o-user { position: relative; }
.o-user .dropdown-toggle {
    background: none;
    border: 0;
    color: var(--o-star);
    font: inherit;
    font-weight: 500;
    cursor: var(--o-cur-link, pointer);
    display: flex;
    align-items: center;
    gap: 6px;
}
.o-user .dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 200px;
    padding: 8px;
    background: var(--o-dusk);
    border: 1px solid var(--o-line);
    border-radius: var(--o-radius);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6);
}
.o-user .dropdown-menu.show { display: block; }
.o-user .dropdown-menu a,
.o-user .dropdown-menu button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 10px;
    color: var(--o-star);
    background: none;
    border: 0;
    font: inherit;
    text-decoration: none;
    border-radius: 4px;
    cursor: var(--o-cur-link, pointer);
}
.o-user .dropdown-menu a:hover,
.o-user .dropdown-menu button:hover { background: var(--o-dusk-2); color: var(--o-gold-hi); }

/* language switcher (structure from the base theme, JS toggles .active) */
.o-header .nav__langs { position: relative; }
.o-header .nav__langs-item { display: flex; align-items: center; gap: 6px; color: var(--o-star); text-decoration: none; cursor: var(--o-cur-link, pointer); font-size: 14px; }
.o-header .nav__langs-item img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; }
.o-header .nav__langs-stroke {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    list-style: none;
    margin: 0;
    padding: 6px;
    background: var(--o-dusk);
    border: 1px solid var(--o-line);
    border-radius: var(--o-radius);
    display: none;
    min-width: 96px;
}
.o-header .nav__langs-stroke.active { display: block; }
.o-header .nav__langs-stroke .nav__langs-item { padding: 6px 8px; border-radius: 4px; }
.o-header .nav__langs-stroke .nav__langs-item:hover { background: var(--o-dusk-2); }

.o-header .gw-burger { display: none; margin-left: auto; cursor: var(--o-cur-link, pointer); width: 28px; }
.o-header .gw-burger__line { height: 2px; background: var(--o-gold); margin: 6px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.o-header .gw-burger_active .gw-burger__line_pos_top { transform: translateY(8px) rotate(45deg); }
.o-header .gw-burger_active .gw-burger__line_pos_middle { opacity: 0; }
.o-header .gw-burger_active .gw-burger__line_pos_bottom { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero ---------- */
.o-hero {
    position: relative;
    min-height: clamp(600px, 84vh, 800px);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 104px 0 150px;
}
.o-hero__sky {
    position: absolute;
    inset: 0;
    background: url('../img/orion/sky.svg?v=5') 70% 100% / cover no-repeat;
}
.o-hero__sky::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 10, 8, .85) 0%, rgba(12, 10, 8, .35) 55%, transparent 80%),
        linear-gradient(0deg, var(--o-ink) 0%, transparent 30%);
}

/* figure wrapper: position + entrance */
.o-hero__figure {
    position: absolute;
    right: max(2%, calc(34.7vw - 366px));
    bottom: 0;
    height: calc(100% - 80px);  /* keeps the head below the fixed header */
    aspect-ratio: 760 / 1140;
    max-width: 46%;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s, visibility 0s .6s;
}
.o-hero__figure.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity .6s;
    animation: o-figure-in 1.4s .15s cubic-bezier(.2, .7, .2, 1) backwards;
}
/* firelight from the embers below her */
.o-hero__figure::after {
    content: '';
    position: absolute;
    left: 5%; right: 5%; bottom: -4%;
    height: 32%;
    background: radial-gradient(ellipse at 50% 100%, rgba(224, 140, 60, .32), rgba(194, 80, 47, .12) 45%, transparent 70%);
    mix-blend-mode: screen;
    animation: o-firelight 4.2s ease-in-out infinite;
}
.o-hero__character {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
    user-select: none;
    filter: drop-shadow(0 0 40px rgba(216, 173, 95, .12));
    animation: o-breathe 7s ease-in-out 1.8s infinite;
}

.o-embers {
    position: absolute;
    inset: 0;
    pointer-events: none;
    mix-blend-mode: screen;
}
/* shooting stars (own canvas .o-stars, js/orion-hero.js) are behind the character picture and the slide text;
   the embers (.o-embers) fly in front of the picture, the text stays on top (later in the page) */
.o-hero__figure { z-index: 1; }
.o-embers { z-index: 1; }
.o-stars { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; }



.o-hero__content { position: relative; z-index: 1; }
.o-hero__emblem { display: block; margin-bottom: 18px; filter: drop-shadow(0 0 18px rgba(216, 173, 95, .35)); }
.o-hero__name {
    font-family: var(--o-display);
    font-weight: 500;
    font-size: 18px;
    letter-spacing: .32em;
    color: var(--o-gold);
    margin: 0 0 10px;
}
.o-hero__title {
    font-family: var(--o-display);
    font-weight: 700;
    font-size: clamp(44px, 7vw, 88px);
    line-height: 1.02;
    letter-spacing: .01em;
    margin: 0 0 22px;
    max-width: 16ch;
    background: linear-gradient(180deg, #fff8ec 0%, var(--o-gold-hi) 55%, var(--o-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 30px rgba(216, 173, 95, .15);
}
.o-hero__lead {
    max-width: 52ch;
    font-size: 20px;
    color: var(--o-star);
    margin: 0 0 34px;
}
.o-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- sections ---------- */
.o-section { position: relative; padding: 0 0 72px; }
.o-section--servers { margin-top: -132px; z-index: 2; }

.o-panel {
    background: linear-gradient(180deg, rgba(33, 26, 18, .82), rgba(23, 18, 13, .92));
    border: 1px solid var(--o-line);
    border-radius: var(--o-radius);
    padding: 28px;
}

/* ---------- servers ---------- */
.o-servers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

/* accent per server, matches its sigil */
.o-server--1 { --acc: 216, 173, 95; }
.o-server--2 { --acc: 227, 154, 85; }
.o-server--3 { --acc: 210, 77, 92; }
.o-server--4 { --acc: 157, 201, 95; }

.o-server {
    --acc: 216, 173, 95;
    position: relative;
    display: grid;
    grid-template-columns: 84px 1fr;
    grid-template-areas: "emblem body" "emblem foot" "uptime uptime";
    column-gap: 20px;
    row-gap: 16px;
    padding: 24px 24px 22px;
    border: 1px solid rgba(var(--acc), .22);
    border-radius: var(--o-radius);
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(var(--acc), .10), transparent 55%),
        linear-gradient(180deg, rgba(30, 23, 16, .92), rgba(18, 14, 10, .95));
    box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .8);
    overflow: hidden;
    isolation: isolate;
    transition: transform .45s cubic-bezier(.2, .7, .2, 1), border-color .35s, box-shadow .45s;
    animation: o-rise .8s cubic-bezier(.2, .7, .2, 1) var(--o-delay, .2s) backwards;
}
/* top edge highlight */
.o-server::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--acc), .75), transparent);
    opacity: .6;
    transition: opacity .35s;
}
/* light sweep on hover */
.o-server::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(var(--acc), .16) 50%, transparent 65%);
    transform: translateX(-110%);
    transition: transform .9s cubic-bezier(.2, .7, .2, 1);
    z-index: -1;
    pointer-events: none;
}

.o-server__emblem {
    grid-area: emblem;
    position: relative;
    width: 84px;
    height: 84px;
    align-self: center;
    display: grid;
    place-items: center;
}
.o-server__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px dashed rgba(var(--acc), .45);
    animation: o-spin 28s linear infinite;
    transition: border-color .35s, inset .45s cubic-bezier(.2, .7, .2, 1);
}
.o-server__ring::after {           /* a small "moon" riding the ring */
    content: '';
    position: absolute;
    top: -3px; left: 50%;
    width: 5px; height: 5px;
    margin-left: -2.5px;
    border-radius: 50%;
    background: rgb(var(--acc));
    box-shadow: 0 0 8px rgba(var(--acc), .9);
}
.o-server__sigil {
    width: 68px;
    height: 68px;
    transition: transform .45s cubic-bezier(.2, .7, .2, 1), filter .45s;
}

.o-server__body { grid-area: body; align-self: end; min-width: 0; }
.o-server__name {
    font-family: var(--o-display);
    font-weight: 700;
    font-size: 26px;
    line-height: 1.1;
    letter-spacing: .03em;
    color: var(--o-gold-hi);
    margin: 0;
}
.o-server__meta { margin: 4px 0 0; color: var(--o-mist); }
.o-server__desc { margin: 10px 0 0; color: var(--o-star); font-size: 15px; }

.o-server__foot {
    grid-area: foot;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.o-server__status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(12, 10, 8, .55);
    border: 1px solid rgba(181, 166, 136, .18);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.o-server__count { font-size: 18px; color: #b7ec9d; }
.o-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--o-mist); flex-shrink: 0; }
.o-server.is-up .o-dot { background: #5fd38d; }
.o-server.is-up .o-server__status { color: #9ce8b9; border-color: rgba(95, 211, 141, .3); }
.o-server.is-down .o-server__status { color: var(--o-mist); }

.o-server__cta {
    font-family: var(--o-display);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .05em;
    color: rgb(var(--acc));
    text-decoration: none;
    padding: 8px 14px;
    border-radius: var(--o-radius);
    border: 1px solid rgba(var(--acc), .35);
    transition: background-color .3s, color .3s, border-color .3s;
    white-space: nowrap;
}
.o-server__cta:hover,
.o-server__cta:focus-visible { background: rgba(var(--acc), .14); color: var(--o-gold-hi); border-color: rgba(var(--acc), .7); }

/* hover: lift, accent border, sweep, glowing sigil */
.o-server:hover,
.o-server:focus-within {
    transform: translateY(-5px);
    border-color: rgba(var(--acc), .6);
    box-shadow: 0 28px 50px -22px rgba(0, 0, 0, .9), 0 0 0 1px rgba(var(--acc), .15), 0 0 40px -10px rgba(var(--acc), .35);
}
.o-server:hover::before { opacity: 1; }
.o-server:hover::after { transform: translateX(110%); }
.o-server:hover .o-server__sigil { transform: scale(1.08) rotate(-6deg); filter: drop-shadow(0 0 14px rgba(var(--acc), .75)); }
.o-server:hover .o-server__ring { inset: -6px; border-color: rgba(var(--acc), .85); }

@keyframes o-spin { to { transform: rotate(360deg); } }

/* ---------- home grid ---------- */
.o-home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}
.o-home-side { display: grid; gap: 24px; }

.o-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 18px; }
.o-steps li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; }
.o-steps li::before {
    content: counter(step);
    grid-row: span 2;
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border: 1px solid var(--o-gold);
    border-radius: 50%;
    font-family: var(--o-display);
    font-weight: 700;
    color: var(--o-gold-hi);
}
.o-steps h3 { margin: 4px 0 2px; font-size: 17px; font-weight: 700; color: var(--o-star); }
.o-steps p { margin: 0; color: var(--o-mist); font-size: 15px; }

.o-community { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--o-star); padding: 20px 24px; }
.o-community svg { color: var(--o-aether); flex-shrink: 0; }
.o-community strong { display: block; font-family: var(--o-display); color: var(--o-gold-hi); }
.o-community small { color: var(--o-mist); font-size: 15px; }
.o-community:hover { border-color: var(--o-gold); color: var(--o-star); }

/* ---------- tabs + rating tables (markup from rating.blade.php) ---------- */
.o-panel--rating .title_block_top {
    height: auto;
    display: block;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--o-line);
}
.o-panel--rating .tabs { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 4px; }
.o-panel--rating .tabs .tablink,
.o-panel--rating .tabs .tablink:first-child,
.o-panel--rating .tabs .tablink:last-child {
    padding: 10px 14px;
    font-family: var(--o-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--o-mist);
    background: none;
    border-radius: 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: var(--o-cur-link, pointer);
}
.o-panel--rating .tabs .tablink:hover { color: var(--o-star); background: none; }
.o-panel--rating .tabs .tablink.active { color: var(--o-gold-hi); border-bottom-color: var(--o-gold); background: none; }
.o-panel--rating .rating_block { padding: 0; position: relative; }
.o-panel--rating .tabcontent { display: none; transition: none; }
.o-panel--rating .tabcontent.active { display: block; }

.o-panel--rating table.rating { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; color: var(--o-star); }
.o-panel--rating table.rating th,
.o-panel--rating table.rating thead th {
    text-align: left;
    font-family: var(--o-body);
    font-weight: 500;
    color: var(--o-mist);
    font-size: 14px;
    padding: 8px 10px;
    border-bottom: 1px solid var(--o-line);
    background: none;
}
.o-panel--rating table.rating td,
.o-panel--rating table.rating td:last-child {
    padding: 10px;
    font-family: var(--o-body);
    font-size: 16px;
    text-align: left;
    color: var(--o-star);
    border-bottom: 1px solid rgba(181, 166, 136, .12);
    background: none;
}
.o-panel--rating table.rating tr:last-child td { border-bottom: 0; }
.o-panel--rating table.rating tbody tr { height: auto; }
.o-panel--rating table.rating tbody tr:hover td { background: rgba(216, 173, 95, .05); }
.o-panel--rating table.rating .rating_place { width: 28px; }
.o-panel--rating table.rating .rating_place img { width: 26px; height: auto; display: block; }
.o-panel--rating table.rating .other { width: 26px; text-align: center; color: var(--o-mist); }
.o-panel--rating table.rating .green { color: #9ce8b9; font-weight: 700; }
.o-panel--rating table.rating .red { color: #ff8f84; font-weight: 700; }
.o-panel--rating table.rating .char-name { display: flex; align-items: center; gap: 6px; }

/* news list (markup from news.blade.php) */
.o-panel--rating .news_all { display: grid; gap: 16px; }
.o-panel--rating .news-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(181, 166, 136, .12);
    background: none;
}
.o-panel--rating .news-item:last-child { border-bottom: 0; padding-bottom: 0; }
.o-panel--rating .news_img { aspect-ratio: 16 / 10; background-size: cover; background-position: center; border-radius: 4px; background-color: var(--o-dusk-2); }
.o-panel--rating .news_title { font-family: var(--o-display); font-weight: 700; font-size: 18px; color: var(--o-gold-hi); text-decoration: none; }
.o-panel--rating .news_content p { color: var(--o-mist); margin: 6px 0; font-size: 15px; }
.o-panel--rating .news_date { color: var(--o-mist); font-size: 13px; }
.o-panel--rating .link-light { color: var(--o-gold); font-weight: 700; font-size: 14px; }

/* ---------- footer ---------- */
.o-footer { padding: 0 0 40px; margin-top: 24px; }
.o-divider { display: block; width: min(400px, 70%); margin: 0 auto 36px; }
.o-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.o-footer__brand p { color: var(--o-mist); margin: 14px 0 0; font-size: 15px; max-width: 46ch; }
.o-footer__note { font-size: 13px !important; opacity: .75; }
.o-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.o-footer__links a { color: var(--o-star); text-decoration: none; }
.o-footer__links a:hover { color: var(--o-gold-hi); }

/* ---------- inner public pages (about, downloads, stats, news): base markup ---------- */
.orion--page main { padding: 40px 0 0; }
.orion--page .wrap { max-width: var(--o-wrap); }
.orion--page h1, .orion--page h2, .orion--page h3 { font-family: var(--o-display); color: var(--o-gold-hi); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
    .o-home-grid { grid-template-columns: 1fr; }
    .o-hero__figure { right: -4%; opacity: .55; }
}

@media (max-width: 900px) {
    .o-header .gw-burger { display: block; }
    .o-nav {
        position: absolute;
        left: 0; right: 0; top: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px 24px 24px;
        background: var(--o-ink);
        border-bottom: 1px solid var(--o-line);
        display: none;
    }
    .o-nav.active { display: flex; }
    .o-nav > ul { flex-direction: column; }
    .o-header__actions { margin-left: 0; flex-wrap: wrap; }
    .o-footer__grid { grid-template-columns: 1fr 1fr; }
    .o-footer__brand { grid-column: 1 / -1; }
}

/* the base public.css turns .top_menu into a hidden slide-in drawer below 960px;
   Orion uses its own drop-down menu instead, so those drawer rules are neutralised here */
.o-header .o-nav.top_menu {
    transform: none;
    transition: none;
    box-shadow: none;
    box-sizing: border-box;
    z-index: auto;
}
@media (min-width: 901px) {
    .o-header .o-nav.top_menu {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        flex-direction: row;
        background: none;
    }
}
@media (max-width: 900px) {
    .o-header .o-nav.top_menu {
        width: auto;
        height: auto;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        z-index: 60;
        box-shadow: 0 18px 40px rgba(0,0,0,.55);
    }
    .o-header .o-nav.top_menu.active { animation: o-menu-in .25s ease-out; }
}
@keyframes o-menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .o-header .o-nav.top_menu.active { animation: none; } }

@media (max-width: 600px) {
    body.orion, body { font-size: 16px; }
    .o-hero__figure { height: 70%; right: -18%; opacity: .3; max-width: none; }
    .o-hero { padding: 104px 0 120px; min-height: 0; }
    .o-hero__lead { font-size: 18px; }
    .o-hero__actions .o-btn { flex: 1 1 100%; }
    .o-panel { padding: 20px; }
    .o-panel--rating { overflow-x: auto; }
    .o-panel--rating .news-item { grid-template-columns: 1fr; }
    .o-server { grid-template-columns: 64px 1fr; column-gap: 16px; }
    .o-server__emblem { width: 64px; height: 64px; }
    .o-server__sigil { width: 52px; height: 52px; }
    .o-servers { grid-template-columns: 1fr; }
}

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

/* ==========================================================================
   Base-theme components re-skinned to the Orion palette
   (auth pages, dashboard, stats/about/download pages share these classes)
   ========================================================================== */

/* panels and bars that used the brown radial gradient */
body.orion .auth_top,
body.orion aside.sidebar,
body.orion .omg-table,
body.orion .content_left,
body.orion .content_right,
body.orion .about_all,
body.orion .startgame_block {
    background: linear-gradient(180deg, rgba(33, 26, 18, .82), rgba(23, 18, 13, .92));
    border: 1px solid var(--o-line);
    border-radius: var(--o-radius);
}
body.orion .auth_top { backdrop-filter: blur(8px); }
body.orion .auth_top::before,
body.orion .top_line::before { display: none; }

/* framed cards: ::before is the frame, ::after the fill */
body.orion .content,
body.orion .card,
body.orion .s-pack-item,
body.orion .service-item,
body.orion .create_game_account,
body.orion .auth-main-link { border-radius: var(--o-radius); }
body.orion .content::before,
body.orion .card::before,
body.orion .s-pack-item::before,
body.orion .service-item::before,
body.orion .auth-main-link::before {
    background: linear-gradient(180deg, rgba(240, 207, 138, .55), rgba(216, 173, 95, .15)) !important;
    border-radius: var(--o-radius);
}
body.orion .content::after,
body.orion .card::after,
body.orion .create_game_account::after,
body.orion .auth-main-link::after {
    background: linear-gradient(180deg, rgba(33, 26, 18, .92), rgba(18, 14, 10, .96)) !important;
    border-radius: var(--o-radius);
}

body.orion .title {
    font-family: var(--o-display);
    text-transform: none;
    letter-spacing: .03em;
    color: var(--o-gold-hi);
}

/* forms */
body.orion .form-control,
body.orion select.form-control {
    background: rgba(12, 10, 8, .65);
    border: 1px solid rgba(181, 166, 136, .28);
    border-radius: var(--o-radius);
    color: var(--o-star);
    font-family: var(--o-body);
    font-size: 16px;
}
body.orion .form-control::placeholder { color: var(--o-mist); }
body.orion .form-control:focus,
body.orion select.form-control:focus { border-color: var(--o-gold); box-shadow: 0 0 0 3px rgba(216, 173, 95, .18); }
body.orion select.form-control option { background: var(--o-dusk); color: var(--o-star); }

/* buttons */
body.orion .btn-primary,
body.orion .btn-accent,
body.orion .btn-main,
body.orion .btn-golden,
body.orion .btn-red {
    background: linear-gradient(180deg, var(--o-gold-hi), var(--o-gold) 55%, #b07d2a);
    color: #1c1406;
    font-family: var(--o-display);
    font-weight: 700;
    letter-spacing: .04em;
    border-radius: var(--o-radius);
    border: 0;
    box-shadow: 0 0 0 1px rgba(240, 207, 138, .4) inset, 0 8px 24px -12px rgba(216, 173, 95, .8);
}
body.orion .btn-primary:hover,
body.orion .btn-accent:hover,
body.orion .btn-main:hover,
body.orion .btn-golden:hover,
body.orion .btn-red:hover {
    background: linear-gradient(180deg, #fff2cc, var(--o-gold-hi) 45%, var(--o-gold));
    color: #1c1406;
}
body.orion .btn-primary::before,
body.orion .btn-accent::before,
body.orion .btn-main::after { display: none; }
body.orion .btn-primary svg,
body.orion .btn-accent svg { color: #1c1406; }

/* the top bar's download button is secondary there */
body.orion .auth_top .btn-primary {
    background: rgba(12, 10, 8, .4);
    color: var(--o-star);
    box-shadow: 0 0 0 1px rgba(239, 228, 204, .3) inset;
    min-width: 0;
    width: auto;
}
body.orion .auth_top .btn-primary svg { color: var(--o-gold); }
body.orion .auth_top .btn-primary:hover { color: var(--o-gold-hi); box-shadow: 0 0 0 1px var(--o-gold) inset; }

body.orion .btn-gray-no-border {
    border: 1px solid rgba(181, 166, 136, .4);
    color: var(--o-mist);
    border-radius: var(--o-radius);
    font-family: var(--o-body);
}
body.orion .btn-gray-no-border:hover { border-color: var(--o-gold); color: var(--o-gold-hi); }

/* nav links in the auth/dashboard top bar */
body.orion .auth_nav_top a { color: var(--o-star); font-family: var(--o-body); font-weight: 500; }
body.orion .auth_nav_top a:hover { color: var(--o-gold-hi); }
body.orion .auth_nav_top svg { color: var(--o-gold); }

/* language + server switchers */
body.orion .nav__langs-item,
body.orion .server-switcher__current,
body.orion .server-switcher__item {
    background: rgba(12, 10, 8, .45);
    border-radius: var(--o-radius);
    color: var(--o-star);
}
body.orion .server-switcher__current::before,
body.orion .server-switcher__item::before { background: var(--o-line) !important; }
body.orion .nav__langs-stroke,
body.orion .server-switcher__list { background: var(--o-dusk); border: 1px solid var(--o-line); border-radius: var(--o-radius); }

/* dashboard sidebar menu */
body.orion .sidebar-menu a { color: var(--o-star); font-family: var(--o-body); }
body.orion .sidebar-menu a:hover,
body.orion .sidebar-menu a.active { color: var(--o-gold-hi); }
body.orion .sidebar-menu a:before { background: rgba(216, 173, 95, .1) !important; border-radius: var(--o-radius); }

/* stats sub-menu (stats pages) */
body.orion .stats-menu a {
    background: rgba(23, 18, 13, .85);
    border: 1px solid var(--o-line);
    border-radius: var(--o-radius);
    color: var(--o-star);
    font-family: var(--o-body);
}
body.orion .stats-menu a::before { display: none; }
body.orion .stats-menu a:hover,
body.orion .stats-menu .active a { background: rgba(216, 173, 95, .14); color: var(--o-gold-hi); border-color: var(--o-gold); }

/* about page tabs */
body.orion .about-link { color: var(--o-mist); }
body.orion .about-link.active,
body.orion .about-link:hover { color: var(--o-gold-hi); }
body.orion .about-link::after { background: var(--o-gold) !important; }

/* tables outside the home page */
body.orion table.rating th { background: rgba(216, 173, 95, .1); border-bottom: 1px solid var(--o-line); color: var(--o-star); font-family: var(--o-body); }
body.orion table.rating td { font-family: var(--o-body); color: var(--o-star); }
body.orion table.rating td:last-child { color: var(--o-gold-hi); }

/* sentence case instead of the base theme's all-caps menus */
body.orion .sidebar-menu a,
body.orion .auth_nav_top a,
body.orion .nav__langs-item,
body.orion .nav__links-item,
body.orion form.logout button { text-transform: none; font-size: 16px; }

/* dashboard tables */
body.orion table.rating tbody { background: rgba(23, 18, 13, .7); }
body.orion table.rating.index thead { background: rgba(216, 173, 95, .12); }
body.orion table.rating thead th { border-bottom: 1px solid var(--o-line); font-family: var(--o-body); font-weight: 700; color: var(--o-mist); font-size: 15px; }
body.orion table.rating td { border-bottom: 1px solid rgba(181, 166, 136, .14); font-size: 15px; }
body.orion .lin2Table { border-radius: var(--o-radius); overflow: hidden; border: 1px solid var(--o-line); }

/* sidebar brand */
body.orion .auth_logo .o-brand { padding: 4px 0 16px; }

/* full-screen background layer of inner pages: let the sky show */
body.orion .other-bg { background: none !important; border: 0; }
body.orion .other-bg::before { display: none; }
body.orion .startgame { gap: 24px; }
body.orion .startgame_block { padding: 28px; }
body.orion .startgame_steps_num { color: var(--o-gold); font-family: var(--o-display); font-weight: 700; }
body.orion .subtitle { margin-bottom: 24px; }

/* ---------- menu icons (header) ----------
   Each menu item sets its own colour; change the hex values here. */
.o-nav__home   { --ic: #e2b45f; }
.o-nav__about  { --ic: #d4935a; }
.o-nav__files  { --ic: #9dc95f; }
.o-nav__stats  { --ic: #e0704a; }
.o-nav__news   { --ic: #e8d3a6; }
.o-nav__rank   { --ic: #8fc7b4; }
.o-nav__gallery { --ic: #b9a0e0; }
.o-nav__donate { --ic: #d24d5c; }

.o-nav > ul a { display: flex; align-items: center; gap: 8px; }
.o-ic {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: none;
    stroke: var(--ic, var(--o-gold));
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: filter .2s;
}
.o-ic__fill { fill: var(--ic, var(--o-gold)); fill-opacity: .2; stroke: none; transition: fill-opacity .2s; }
.o-nav > ul a:hover .o-ic,
.o-nav > ul .active .o-ic { filter: drop-shadow(0 0 6px var(--ic)); }
.o-nav > ul a:hover .o-ic__fill,
.o-nav > ul .active .o-ic__fill { fill-opacity: .45; }
.o-nav > ul .active a { color: var(--o-star); box-shadow: inset 0 -2px 0 var(--ic, var(--o-gold)); }

@media (max-width: 1180px) and (min-width: 901px) {
    .o-header__bar { gap: 16px; }
    .o-nav { gap: 12px; }
    .o-nav > ul a { padding: 8px 8px; gap: 6px; font-size: 15px; }
    .o-ic { width: 20px; height: 20px; }
}
@media (max-width: 900px) {
    .o-nav > ul a { padding: 10px 4px; }
}

/* ==========================================================================
   Motion
   One entrance sequence on load, then quiet ambient motion.
   Everything is switched off under prefers-reduced-motion (bottom of file).
   ========================================================================== */

@keyframes o-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes o-figure-in {
    from { opacity: 0; transform: translateX(48px) scale(.97); filter: brightness(.35) saturate(.6); }
    to   { opacity: 1; transform: none; filter: none; }
}
@keyframes o-breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes o-firelight {
    0%, 100% { opacity: .75; }
    18% { opacity: .95; }
    33% { opacity: .7; }
    52% { opacity: 1; }
    71% { opacity: .8; }
    86% { opacity: .92; }
}
@keyframes o-sheen { 0%, 70% { background-position: 160% 0, 0 0; } 100% { background-position: -60% 0, 0 0; } }
@keyframes o-ping { 0% { transform: scale(1); opacity: .65; } 100% { transform: scale(2.8); opacity: 0; } }

/* hero copy rises in sequence; replays whenever a slide becomes active */
.o-hero__emblem { animation: o-rise .9s cubic-bezier(.2, .7, .2, 1) .05s both; }
.o-slide.is-active > * { animation: o-rise .85s cubic-bezier(.2, .7, .2, 1) both; }
.o-slide.is-active > :nth-child(1) { animation-delay: .15s; }
.o-slide.is-active > :nth-child(2) { animation-delay: .28s; }
.o-slide.is-active > :nth-child(3) { animation-delay: .4s; }
.o-slide.is-active > :nth-child(4) { animation-delay: .55s; }

/* light sweep across the gold headline every ~9s */
.o-hero__title {
    background-image:
        linear-gradient(105deg, transparent 42%, rgba(255, 250, 236, .95) 50%, transparent 58%),
        linear-gradient(180deg, #fff8ec 0%, var(--o-gold-hi) 55%, var(--o-gold) 100%);
    background-size: 250% 100%, 100% 100%;
    background-repeat: no-repeat;
}
.o-slide.is-active .o-hero__title { animation: o-rise .85s cubic-bezier(.2, .7, .2, 1) .28s both, o-sheen 9s ease-in-out 2.2s infinite; }

/* gold buttons: shine passes over on hover */
.o-btn--gold { position: relative; overflow: hidden; isolation: isolate; }
.o-btn--gold::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
    z-index: -1;
}
.o-btn--gold:hover::after { transform: translateX(120%); }
.o-btn--ghost:hover { background: rgba(216, 173, 95, .08); }

/* live server: the dot pings */
.o-server.is-up .o-dot { position: relative; }
.o-server.is-up .o-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #5fd38d;
    animation: o-ping 2.4s cubic-bezier(0, 0, .2, 1) infinite;
}

/* header turns solid once the page scrolls (class set by js) */
.orion--home .o-header { transition: background-color .3s, border-color .3s, backdrop-filter .3s; }
.orion--home .o-header.is-scrolled { background: rgba(12, 10, 8, .9); border-bottom-color: var(--o-line); }

@media (prefers-reduced-motion: reduce) {
    .o-hero__emblem, .o-slide.is-active > *, .o-slide.is-active .o-hero__title, .o-hero__figure.is-active, .o-hero__figure::after, .o-hero__character,
    .o-server.is-up .o-dot::after, .o-server, .o-server__ring { animation: none !important; }
    .o-server, .o-server::after, .o-server__sigil { transition: none !important; }
    .o-btn--gold::after { display: none; }
}

/* ==========================================================================
   News: home section, list page, article page
   ========================================================================== */
.o-section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
.o-section__head .o-h2 { margin: 0; font-size: 26px; }
.o-h1 {
    font-family: var(--o-display);
    font-weight: 700;
    font-size: clamp(30px, 4vw, 44px);
    color: var(--o-gold-hi);
    margin: 0;
}
.o-link-more {
    color: var(--o-gold);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid rgba(216, 173, 95, .35);
    padding-bottom: 2px;
}
.o-link-more:hover { color: var(--o-gold-hi); border-color: var(--o-gold-hi); }

/* grid: 1 = wide card, 2 = two columns, 3 = featured left + two stacked right */
.o-news__grid { display: grid; gap: 20px; }
.o-news__grid--2 { grid-template-columns: 1fr 1fr; }
.o-news__grid--3 { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; }
.o-news__grid--3 .is-featured { grid-row: span 2; }

.o-news-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(33, 26, 18, .82), rgba(23, 18, 13, .94));
    border: 1px solid var(--o-line);
    border-radius: var(--o-radius);
    overflow: hidden;
    transition: transform .45s cubic-bezier(.2, .7, .2, 1), border-color .35s, box-shadow .45s;
    animation: o-rise .8s cubic-bezier(.2, .7, .2, 1) var(--o-delay, 0s) backwards;
}
.o-news-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--o-dusk-2);
}
.o-news-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .6s;
    filter: saturate(.92);
}
.o-news-card__media::after {        /* warm fade into the card body */
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(0deg, rgba(23, 18, 13, .85), transparent);
    pointer-events: none;
}
.o-news-card__placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 50% 45%, rgba(216, 173, 95, .16), transparent 60%), var(--o-dusk-2);
}
.o-news-card__placeholder img { position: static; inset: auto; width: 64px; height: 64px; opacity: .7; filter: none; transform: none !important; }

.o-news-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 22px 22px;
    flex: 1;
}
.o-news-card__date { color: var(--o-gold); font-size: 14px; font-weight: 500; }
.o-news-card__title {
    margin: 0;
    font-family: var(--o-display);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.25;
}
.o-news-card__title a { color: var(--o-star); text-decoration: none; transition: color .25s; }
.o-news-card__title a::after { content: ''; position: absolute; inset: 0; }   /* whole card is clickable */
.o-news-card__excerpt { margin: 0; color: var(--o-mist); font-size: 15px; line-height: 1.55; }
.o-news-card__more {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 6px;
    align-self: flex-start;
    color: var(--o-gold);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
}

.o-news-card:hover {
    transform: translateY(-4px);
    border-color: rgba(216, 173, 95, .55);
    box-shadow: 0 26px 50px -24px rgba(0, 0, 0, .9), 0 0 36px -14px rgba(216, 173, 95, .35);
}
.o-news-card:hover .o-news-card__media img { transform: scale(1.06); filter: saturate(1.05); }
.o-news-card:hover .o-news-card__title a { color: var(--o-gold-hi); }

/* featured card */
.o-news-card.is-featured .o-news-card__title { font-size: 28px; }
.o-news-card.is-featured .o-news-card__excerpt { font-size: 16px; }
.o-news__grid--3 .is-featured .o-news-card__media { aspect-ratio: auto; flex: 1; min-height: 260px; }
.o-news__grid--3 .is-featured .o-news-card__body { flex: none; }

/* the two side cards in the 3-item layout sit horizontally */
.o-news__grid--3 .o-news-card:not(.is-featured) { flex-direction: row; }
.o-news__grid--3 .o-news-card:not(.is-featured) .o-news-card__media { aspect-ratio: auto; width: 42%; flex-shrink: 0; }
.o-news__grid--3 .o-news-card:not(.is-featured) .o-news-card__media::after { inset: 0 0 0 auto; width: 40%; height: auto; background: linear-gradient(270deg, rgba(23, 18, 13, .85), transparent); }

/* a single news item: image left, text right */
.o-news__grid--1 .o-news-card { flex-direction: row; min-height: 300px; }
.o-news__grid--1 .o-news-card__media { aspect-ratio: auto; width: 55%; flex-shrink: 0; }
.o-news__grid--1 .o-news-card__media::after { inset: 0 0 0 auto; width: 35%; height: auto; background: linear-gradient(270deg, rgba(23, 18, 13, .9), transparent); }
.o-news__grid--1 .o-news-card__body { justify-content: center; padding: 28px 32px; }
.o-news__grid--1 .o-news-card { min-height: 0; height: 340px; }
.o-news__grid--1 .o-news-card__more { margin-top: 10px; }

/* news list page */
.o-news-page { padding-top: 24px; }
.o-news__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.o-empty { text-align: center; color: var(--o-mist); }
.o-pagination { margin-top: 28px; }
.o-pagination nav { display: flex; justify-content: center; }
.o-pagination a, .o-pagination span[aria-current] span, .o-pagination span[aria-disabled] span {
    display: inline-block;
    min-width: 38px;
    padding: 8px 12px;
    margin: 0 2px;
    text-align: center;
    border: 1px solid var(--o-line);
    border-radius: var(--o-radius);
    color: var(--o-star);
    text-decoration: none;
}
.o-pagination span[aria-current] span { background: rgba(216, 173, 95, .16); color: var(--o-gold-hi); border-color: var(--o-gold); }
.o-pagination svg { width: 16px; height: 16px; }
.o-pagination p { color: var(--o-mist); font-size: 14px; }

/* article page */
.o-article { padding-top: 24px; }
.o-article__wrap { max-width: var(--o-wrap); } /* as wide as the server cards above (was 860px, 2026-11-24) */
.o-back { display: inline-block; margin-bottom: 22px; color: var(--o-gold); text-decoration: none; font-weight: 700; }
.o-back:hover { color: var(--o-gold-hi); }
.o-article__head { margin-bottom: 22px; }
.o-article__title {
    font-family: var(--o-display);
    font-weight: 700;
    font-size: clamp(30px, 4.4vw, 48px);
    line-height: 1.12;
    color: var(--o-gold-hi);
    margin: 8px 0 0;
}
.o-article__cover { margin: 0 0 28px; border-radius: var(--o-radius); overflow: hidden; border: 1px solid var(--o-line); }
.o-article__cover img { display: block; width: 100%; height: auto; max-height: 480px; object-fit: cover; }
.o-article__actions { margin-top: 32px; }

.o-prose { color: var(--o-star); font-size: 18px; line-height: 1.7; }
.o-prose > * { max-width: 68ch; }
.o-prose p { margin: 0 0 1em; }
.o-prose h2, .o-prose h3 { font-family: var(--o-display); color: var(--o-gold-hi); margin: 1.6em 0 .5em; line-height: 1.2; }
.o-prose a { color: var(--o-gold); }
.o-prose ul, .o-prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.o-prose li { margin: .3em 0; }
.o-prose img { max-width: 100%; height: auto; border-radius: var(--o-radius); }
.o-prose blockquote { margin: 1.2em 0; padding: .4em 1em; border-left: 2px solid var(--o-gold); color: var(--o-mist); }

@media (max-width: 900px) {
    .o-news__grid--2, .o-news__grid--3 { grid-template-columns: 1fr; grid-template-rows: none; }
    .o-news__grid--3 .is-featured { grid-row: auto; }
    .o-news__grid--3 .is-featured .o-news-card__media { aspect-ratio: 16 / 9; flex: none; min-height: 0; }
    .o-news__grid--3 .o-news-card:not(.is-featured) { min-height: 180px; }
    .o-news__grid--1 .o-news-card { flex-direction: column; height: auto; }
    .o-news__grid--1 .o-news-card__media { width: 100%; aspect-ratio: 16 / 9; }
    .o-news__grid--1 .o-news-card__media::after { inset: auto 0 0 0; width: auto; height: 45%; background: linear-gradient(0deg, rgba(23, 18, 13, .85), transparent); }
}
@media (max-width: 600px) {
    .o-news__grid--3 .o-news-card:not(.is-featured) { flex-direction: column; }
    .o-news__grid--3 .o-news-card:not(.is-featured) .o-news-card__media { width: 100%; aspect-ratio: 16 / 9; }
    .o-news-card.is-featured .o-news-card__title { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .o-news-card { animation: none !important; transition: none !important; }
    .o-news-card__media img { transition: none !important; }
}


/* ---------- server status: offline in red tones ---------- */
.o-server.is-down .o-server__status {
    color: #ffa59b;
    border-color: rgba(224, 84, 74, .38);
    background: rgba(70, 16, 13, .35);
}
.o-server.is-down .o-dot { background: #e0544a; position: relative; }
.o-server.is-down .o-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #e0544a;
    animation: o-ping 3s cubic-bezier(0, 0, .2, 1) infinite;
}

/* ---------- uptime bar (24 hourly segments) ---------- */
@property --o-num { syntax: '<integer>'; inherits: false; initial-value: 0; }

.o-uptime {
    grid-area: uptime;
    padding-top: 14px;
    border-top: 1px solid rgba(181, 166, 136, .12);
}
.o-uptime__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--o-mist);
}
.o-uptime__pct {
    --o-num: var(--o-pct, 0);
    counter-reset: o-pct var(--o-num);
    font-variant-numeric: tabular-nums;
    font-size: 15px;
    color: var(--o-star);
    animation: o-count 1.6s cubic-bezier(.2, .7, .2, 1) .45s both;
}
.o-uptime__pct::after { content: counter(o-pct) '%'; }
.o-uptime__none { font-weight: 500; color: var(--o-mist); }
@keyframes o-count { from { --o-num: 0; } }

.o-uptime__bars {
    display: flex;
    gap: 3px;
    height: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.o-uptime__bar {
    position: relative;
    flex: 1;
    border-radius: 2px;
    cursor: var(--o-cur, default);
}
/* the coloured bar is drawn by ::before, so the hover / "now" effects don't touch the ::after hint (data-tip) */
.o-uptime__bar::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(181, 166, 136, .16);
    transform-origin: 50% 100%;
    transition: transform .2s, filter .2s;
    animation: o-bar .55s cubic-bezier(.2, .7, .2, 1) backwards;
    animation-delay: calc(.45s + var(--i, 0) * 35ms);
}
.o-uptime__bar.is-up::before { background: linear-gradient(180deg, #7fe0a5, #3fae6c); }
.o-uptime__bar.is-partial::before { background: linear-gradient(180deg, #f0c06b, #c98a32); }
.o-uptime__bar.is-down::before { background: linear-gradient(180deg, #ee7366, #b8392f); }
.o-uptime__bar:hover::before { transform: scaleY(1.18); filter: brightness(1.25); }
.o-uptime__bar.is-now::before { animation: o-bar .55s cubic-bezier(.2, .7, .2, 1) calc(.45s + var(--i, 0) * 35ms) backwards, o-now 2.2s ease-in-out 1.8s infinite; }

@keyframes o-bar { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@keyframes o-now { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.45); box-shadow: 0 0 10px rgba(255, 255, 255, .15); } }

@media (prefers-reduced-motion: reduce) {
    .o-uptime__bar::before, .o-uptime__bar.is-now::before, .o-uptime__pct, .o-server.is-down .o-dot::after { animation: none !important; }
}

/* ==========================================================================
   How to start (download page): numbered timeline
   ========================================================================== */
.o-start { padding-top: 24px; }
.o-start__head { margin-bottom: 32px; }
.o-start__lead { color: var(--o-mist); font-size: 19px; margin: 8px 0 0; }

.o-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: o-step;
    display: grid;
    gap: 22px;
    position: relative;
}
.o-timeline::before {               /* gold spine connecting the steps */
    content: '';
    position: absolute;
    left: 23px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(180deg, var(--o-gold), rgba(216, 173, 95, .15));
    transform-origin: top;
    animation: o-spine 1.2s cubic-bezier(.2, .7, .2, 1) .15s backwards;
}
.o-timeline__step {
    counter-increment: o-step;
    position: relative;
    padding-left: 74px;
    animation: o-rise .8s cubic-bezier(.2, .7, .2, 1) var(--o-delay, 0s) backwards;
}
.o-timeline__step::before {
    content: counter(o-step);
    position: absolute;
    left: 0;
    top: 18px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 35%, #2a2015, var(--o-ink));
    border: 1px solid var(--o-gold);
    box-shadow: 0 0 0 6px var(--o-ink), 0 0 24px -4px rgba(216, 173, 95, .5);
    font-family: var(--o-display);
    font-weight: 700;
    font-size: 20px;
    color: var(--o-gold-hi);
}
.o-timeline__card { padding: 26px 28px; }
.o-timeline__title {
    font-family: var(--o-display);
    font-weight: 700;
    font-size: 24px;
    color: var(--o-gold-hi);
    margin: 0 0 6px;
}
.o-timeline__card > p { margin: 0; color: var(--o-mist); max-width: 62ch; }
.o-timeline__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.o-downloads {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 20px;
}
.o-download {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px;
    border: 1px solid rgba(216, 173, 95, .18);
    border-radius: var(--o-radius);
    background: rgba(12, 10, 8, .45);
    transition: border-color .3s, transform .35s cubic-bezier(.2, .7, .2, 1);
}
.o-download:hover { border-color: rgba(216, 173, 95, .5); transform: translateY(-3px); }
.o-download__title { margin: 0; font-family: var(--o-display); font-weight: 700; font-size: 18px; color: var(--o-star); }
.o-download__text { margin: 0 0 6px; color: var(--o-mist); font-size: 15px; flex: 1; }
.o-download .o-btn { align-self: flex-start; }
.o-btn.is-disabled { opacity: .55; cursor: var(--o-cur-no, not-allowed); }

/* "Your first minutes in game": the 4 Start here steps as tiles + short facts (pages/start/server1) */
.o-firststeps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.o-firststep { position: relative; }
.o-firststep__num { position: absolute; top: 10px; right: 16px; font-family: var(--o-display); font-weight: 700; font-size: 30px; line-height: 1; color: rgba(216, 173, 95, .28); }
.o-firststep__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--o-gold-hi); background: rgba(216, 173, 95, .12); border: 1px solid rgba(216, 173, 95, .28); }
.o-startfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px 28px; margin: 22px 0 0; padding: 20px 0 0; list-style: none; border-top: 1px solid rgba(216, 173, 95, .16); }
.o-startfact { display: flex; gap: 12px; align-items: flex-start; }
.o-startfact__icon { flex: none; margin-top: 2px; color: var(--o-gold); }
.o-startfact strong { display: block; font-family: var(--o-display); font-weight: 700; font-size: 16px; color: var(--o-star); }
.o-startfact span { display: block; color: var(--o-mist); font-size: 15px; line-height: 1.5; }
html[data-theme="light"] .o-firststep__num { color: rgba(154, 108, 34, .3); }
html[data-theme="light"] .o-firststep__icon { color: #9a6c22; background: rgba(176, 125, 42, .1); border-color: rgba(176, 125, 42, .3); }
html[data-theme="light"] .o-startfacts { border-top-color: rgba(120, 90, 40, .16); }
@media (min-width: 1100px) { .o-firststeps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .o-firststeps { grid-template-columns: 1fr; } }

.o-start__help {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 32px;
}
.o-help-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--o-star); padding: 20px 24px; transition: border-color .3s; }
.o-help-card.o-community { flex-direction: row; align-items: center; gap: 16px; }
.o-help-card strong { font-family: var(--o-display); color: var(--o-gold-hi); }
.o-help-card small { color: var(--o-mist); font-size: 15px; }
.o-help-card:hover { border-color: var(--o-gold); color: var(--o-star); }

@keyframes o-spine { from { transform: scaleY(0); } }

@media (max-width: 600px) {
    .o-timeline::before { left: 17px; }
    .o-timeline__step { padding-left: 52px; }
    .o-timeline__step::before { width: 36px; height: 36px; font-size: 16px; top: 20px; }
    .o-timeline__card { padding: 20px; }
    .o-timeline__title { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .o-timeline::before, .o-timeline__step { animation: none !important; }
    .o-download { transition: none; }
}


/* ==========================================================================
   Hero slider
   ========================================================================== */
.o-slides { display: grid; }
.o-slide {
    grid-area: 1 / 1;                 /* slides stack; the tallest sets the height */
    align-self: end;                  /* buttons stay right above the slider controls */
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s, visibility 0s .45s;
}
.o-slide.is-active { opacity: 1; visibility: visible; transition: opacity .45s; }

.o-slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;     /* centred under the hero, across the whole page width */
    gap: 14px;
    margin-top: 44px;
    animation: o-rise .9s cubic-bezier(.2, .7, .2, 1) .75s both;
}
.o-slider-nav__arrow {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(216, 173, 95, .35);
    background: rgba(12, 10, 8, .4);
    color: var(--o-gold-hi);
    cursor: var(--o-cur-link, pointer);
    transition: border-color .25s, background-color .25s, transform .25s;
}
.o-slider-nav__arrow:hover { border-color: var(--o-gold); background: rgba(216, 173, 95, .14); }
.o-slider-nav__arrow:active { transform: scale(.94); }
.o-slider-nav__tracks { display: flex; gap: 8px; }
.o-slider-nav__track {
    position: relative;
    width: 56px;
    height: 22px;                     /* hit area; the visible line is 3px */
    padding: 0;
    border: 0;
    background: none;
    cursor: var(--o-cur-link, pointer);
}
.o-slider-nav__track::before,
.o-slider-nav__fill {
    content: '';
    position: absolute;
    left: 0; right: 0;
    top: 50%;
    height: 3px;
    margin-top: -1.5px;
    border-radius: 3px;
}
.o-slider-nav__track::before { background: rgba(239, 228, 204, .2); transition: background-color .25s; }
.o-slider-nav__track:hover::before { background: rgba(239, 228, 204, .4); }
.o-slider-nav__fill {
    background: linear-gradient(90deg, var(--o-gold), var(--o-gold-hi));
    box-shadow: 0 0 10px rgba(216, 173, 95, .6);
    transform: scaleX(0);
    transform-origin: left center;
}
.o-slider-nav__track.is-active .o-slider-nav__fill { transform: scaleX(1); }
.o-slides[data-playing] ~ .o-slider-nav .o-slider-nav__track.is-active .o-slider-nav__fill {
    animation: o-progress var(--o-interval, 8000ms) linear both;
}
.o-hero.is-paused .o-slider-nav__fill { animation-play-state: paused !important; }
@keyframes o-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 600px) {
    .o-slider-nav { margin-top: 32px; }
    .o-slider-nav__track { width: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    .o-slide, .o-hero__figure { transition: none !important; }
    .o-slider-nav { animation: none !important; }
}

/* ==========================================================================
   Section anchors + back-to-top button (js/orion-ui.js)
   ========================================================================== */
.o-anchor { display: block; height: 0; }

.o-totop {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 90;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--o-gold-hi);
    background: radial-gradient(circle at 50% 35%, rgba(60,44,26,.96), rgba(17,13,9,.96) 70%);
    box-shadow: 0 10px 28px rgba(0,0,0,.5), inset 0 0 0 1px rgba(216,173,95,.18);
    cursor: var(--o-cur-link, pointer);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(.9);
    transition: opacity .35s ease, transform .35s cubic-bezier(.2,.8,.2,1), visibility 0s linear .35s, box-shadow .3s ease, color .3s ease;
}
.o-totop.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .35s ease, transform .35s cubic-bezier(.2,.8,.2,1), visibility 0s, box-shadow .3s ease, color .3s ease;
}
.o-totop__ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    pointer-events: none;
}
.o-totop__track,
.o-totop__progress { fill: none; stroke-width: 2; }
.o-totop__track { stroke: rgba(216,173,95,.16); }
.o-totop__progress {
    stroke: var(--o-gold);
    stroke-linecap: round;
    filter: drop-shadow(0 0 3px rgba(240,207,138,.55));
    transition: stroke-dashoffset .12s linear;
}
.o-totop__arrow { position: relative; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.o-totop:hover,
.o-totop:focus-visible {
    color: #fff3d6;
    box-shadow: 0 12px 32px rgba(0,0,0,.55), 0 0 22px rgba(216,173,95,.32), inset 0 0 0 1px rgba(240,207,138,.4);
    outline: none;
}
.o-totop:hover .o-totop__arrow,
.o-totop:focus-visible .o-totop__arrow { transform: translateY(-3px); }
.o-totop:active .o-totop__arrow { transform: translateY(-1px); }

@media (max-width: 640px) {
    .o-totop { right: 14px; bottom: 14px; width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
    .o-totop, .o-totop.is-visible, .o-totop__arrow, .o-totop__progress { transition: none; }
    .o-totop:hover .o-totop__arrow, .o-totop:focus-visible .o-totop__arrow { transform: none; }
}

/* ==========================================================================
   About page: section menu + panels (views/pages/about.blade.php)
   ========================================================================== */
.o-eyebrow {
    font-family: var(--o-display);
    font-size: 15px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--o-gold);
    margin: 0 0 8px;
}
.o-guide__head { margin-bottom: 32px; }
.o-guide__head .o-h1 { margin: 0; }
.o-guide__lead { color: var(--o-mist); font-size: 19px; margin: 8px 0 0; }

.o-guide__layout {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.o-guide__nav {
    position: sticky;
    top: 92px;
}
.o-guide__menu {
    list-style: none;
    margin: 0;
    padding: 10px;
    display: grid;
    gap: 4px;
    background: linear-gradient(180deg, rgba(33, 26, 18, .82), rgba(23, 18, 13, .92));
    border: 1px solid var(--o-line);
    border-radius: var(--o-radius);
}
.o-guide__tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 14px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--o-star);
    font: 500 16px/1.25 var(--o-body);
    text-align: left;
    cursor: var(--o-cur-link, pointer);
    transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.o-guide__tab .o-ic { flex: 0 0 auto; color: var(--ic, var(--o-gold)); transition: filter .25s ease, transform .25s ease; }
.o-guide__tab::before {             /* active marker */
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 2px;
    border-radius: 2px;
    background: var(--ic, var(--o-gold));
    box-shadow: 0 0 10px var(--ic, var(--o-gold));
    transform: scaleY(0);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.o-guide__tab:hover { background: rgba(216, 173, 95, .07); color: var(--o-gold-hi); }
.o-guide__tab:hover .o-ic { transform: scale(1.08); }
.o-guide__tab:focus-visible { outline: 2px solid var(--o-gold-hi); outline-offset: -2px; }
.o-guide__tab.is-active {
    background: linear-gradient(90deg, rgba(216, 173, 95, .16), rgba(216, 173, 95, .03));
    color: var(--o-gold-hi);
}
.o-guide__tab.is-active::before { transform: scaleY(1); }
.o-guide__tab.is-active .o-ic { filter: drop-shadow(0 0 6px var(--ic)); }
.o-guide__tab.is-active .o-ic__fill { fill-opacity: .45; }

.o-guide__panel { padding: 32px 36px 36px; }
.o-guide__panel[hidden] { display: none; }
.o-guide__panel.is-active { animation: o-guide-in .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes o-guide-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.o-guide__title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--o-line);
    font-family: var(--o-display);
    font-size: 28px;
    line-height: 1.2;
    color: var(--o-gold-hi);
}
.o-guide__title .o-ic {
    width: 34px;
    height: 34px;
    padding: 8px;
    box-sizing: content-box;
    border-radius: 50%;
    color: var(--ic, var(--o-gold));
    background: rgba(216, 173, 95, .08);
    box-shadow: inset 0 0 0 1px rgba(216, 173, 95, .2), 0 0 18px rgba(0, 0, 0, .3);
}
.o-guide__body { font-size: 17px; }
.o-guide__body > * { max-width: 78ch; }
.o-guide__body h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    margin: 1.7em 0 .6em;
}
.o-guide__body h3::before {         /* small gold diamond */
    content: '';
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    background: var(--o-gold);
    transform: rotate(45deg);
    box-shadow: 0 0 8px rgba(216, 173, 95, .6);
}
.o-guide__body > :first-child { margin-top: 0; }
.o-guide__intro {
    padding: 14px 18px;
    border-radius: 8px;
    background: rgba(216, 173, 95, .08);
    color: var(--o-gold-hi);
    font-weight: 500;
}

.o-list { list-style: none; padding: 0 !important; margin: 0 0 1.1em; }
.o-list li {
    position: relative;
    margin: 0;
    padding: 6px 0 6px 24px;
    border-bottom: 1px solid rgba(216, 173, 95, .07);
}
.o-list li:last-child { border-bottom: 0; }
.o-list li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 1.05em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--o-gold);
    opacity: .85;
}
.o-list li.is-sub { padding-left: 46px; color: var(--o-mist); border-bottom: 0; padding-top: 3px; padding-bottom: 3px; }
.o-list li.is-sub::before { left: 28px; width: 8px; height: 1px; border-radius: 0; top: 1.0em; }
.o-list li.is-head { color: var(--o-gold-hi); padding-top: 14px; }
.o-list li.is-head::before { transform: rotate(45deg); border-radius: 0; top: calc(14px + .55em); }
.o-list li.is-num { padding-left: 30px; }
.o-list li.is-num::before { display: none; }
.o-list li.is-num > span:first-child { position: absolute; left: 4px; color: var(--o-gold); font-weight: 700; }
/* hover: the line lights up, its dot grows and glows, the text slides a little */
.o-list li {
    border-radius: 6px;
    transition: background-color .25s ease, color .25s ease, padding-left .3s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease;
}
.o-list li::before { transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease, opacity .25s ease, background-color .25s ease; }
.o-list li:hover {
    background: linear-gradient(90deg, rgba(216, 173, 95, .13), rgba(216, 173, 95, .03) 70%, transparent);
    box-shadow: inset 2px 0 0 rgba(240, 207, 138, .55);
    color: var(--o-gold-hi);
    padding-left: 30px;
}
.o-list li:hover::before {
    opacity: 1;
    background: var(--o-gold-hi);
    transform: translateX(3px) scale(1.5);
    box-shadow: 0 0 8px rgba(240, 207, 138, .9), 0 0 2px rgba(255, 244, 214, .9);
}
.o-list li:hover strong { color: #fff3d6; }
.o-list li.is-sub:hover { padding-left: 52px; color: var(--o-star); }
.o-list li.is-sub:hover::before { transform: translateX(3px) scaleX(1.4); }
.o-list li.is-head:hover::before { transform: translateX(3px) rotate(45deg) scale(1.5); }
.o-list li.is-num:hover { padding-left: 36px; }
@media (prefers-reduced-motion: reduce) {
    .o-list li, .o-list li::before { transition: none; }
}

.o-rates {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
    margin: 0 0 1.4em;
    max-width: none !important;
}
.o-rate {
    display: grid;
    grid-template-columns: 32px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(216, 173, 95, .09), rgba(216, 173, 95, .03));
    box-shadow: inset 0 0 0 1px rgba(216, 173, 95, .16);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
}
.o-rate:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(240, 207, 138, .4), 0 10px 22px rgba(0, 0, 0, .35); }
.o-rate img { grid-row: 1 / 3; width: 32px; height: 32px; border-radius: 6px; }
.o-rate__label { font-size: 14px; color: var(--o-mist); line-height: 1.2; }
.o-rate__value { font-family: var(--o-display); font-size: 22px; line-height: 1.15; color: var(--o-gold-hi); }

.o-note {
    margin: 1.6em 0 0;
    padding: 18px 20px 6px;
    border-radius: 10px;
    border-left: 3px solid var(--o-ember);
    background: linear-gradient(90deg, rgba(194, 80, 47, .14), rgba(194, 80, 47, .03));
}
.o-note > strong:first-child { display: block; margin-bottom: 8px; color: #f1a27f; }
.o-note p { margin: 0 0 .8em; }

@media (max-width: 960px) {
    .o-guide__layout { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .o-guide__layout > * { min-width: 0; }
    .o-guide__nav { position: relative; top: 0; }
    .o-guide__menu {            /* horizontal, swipeable chips */
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
    }
    .o-guide__menu::-webkit-scrollbar { display: none; }
    .o-guide__menu li { flex: 0 0 auto; scroll-snap-align: start; }
    .o-guide__tab { white-space: nowrap; padding: 9px 14px; }
    .o-guide__tab::before { left: 12px; right: 12px; top: auto; bottom: 2px; width: auto; height: 2px; transform: scaleX(0); }
    .o-guide__tab.is-active::before { transform: scaleX(1); }
    .o-guide__panel { padding: 24px 20px 26px; }
    .o-guide__title { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
    .o-guide__panel.is-active { animation: none; }
    .o-guide__tab, .o-guide__tab::before, .o-guide__tab .o-ic, .o-rate { transition: none; }
}

/* ==========================================================================
   Header action chips: balance, user menu, language — one shared look
   ========================================================================== */
.o-header .o-balance,
.o-header .o-signin,
.o-header .o-user .dropdown-toggle,
body.orion .o-header .nav__langs-item--current {
    box-sizing: border-box;
    height: 38px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--o-line);
    border-radius: 999px;
    background: rgba(23, 18, 13, .62);
    box-shadow: none;
    color: var(--o-star);
    font: 500 15px/1 var(--o-body);
    text-transform: none;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: var(--o-cur-link, pointer);
    transition: border-color .25s ease, color .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.o-header .o-balance { color: var(--o-gold-hi); font-weight: 700; font-variant-numeric: tabular-nums; }
.o-header .o-balance::before {          /* small coin */
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, var(--o-gold-hi), var(--o-gold) 55%, #8a6428);
    box-shadow: 0 0 6px rgba(240, 207, 138, .5);
}
.o-header .o-balance:hover,
.o-header .o-signin:hover,
.o-header .o-signin.is-active,
.o-header .o-user .dropdown-toggle:hover,
.o-header .o-user .dropdown-toggle[aria-expanded="true"],
.o-header .o-user:has(.dropdown-menu.show) .dropdown-toggle,
body.orion .o-header .nav__langs-item--current:hover,
body.orion .o-header .nav__langs-item--current.active {
    border-color: rgba(240, 207, 138, .55);
    background: rgba(216, 173, 95, .1);
    color: var(--o-gold-hi);
    box-shadow: 0 0 0 3px rgba(216, 173, 95, .07), 0 6px 18px rgba(0, 0, 0, .35);
}
.o-header .o-signin:focus-visible,
.o-header .o-balance:focus-visible,
.o-header .o-user .dropdown-toggle:focus-visible { outline: 2px solid var(--o-gold-hi); outline-offset: 2px; }

/* the same chevron on the user and language chips */
.o-header .o-user .arrow-down-acp,
body.orion .o-header .nav__langs-item--current::after {
    content: '';
    width: 6px;
    height: 6px;
    padding: 0;
    margin: -3px 0 0 2px;
    border: solid currentColor;
    border-width: 0 1.6px 1.6px 0;
    background: none;
    aspect-ratio: auto;
    opacity: .75;
    transform: rotate(45deg);
    transform-origin: 60% 60%;
    transition: transform .3s ease;
}
.o-header .o-user .arrow-down-acp.rotate,
body.orion .o-header .nav__langs-item--current.active::after { transform: rotate(225deg); margin-top: 3px; }
body.orion .o-header .nav__langs-item--current img { width: 20px; height: 14px; aspect-ratio: auto; }

/* drop-down panels under the chips */
.o-header .o-user .dropdown-menu {
    filter: none;
    margin-top: 0;
    text-align: left;
    background: var(--o-dusk);
    border: 1px solid var(--o-line);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7);
    z-index: 70;
}
.o-header .nav__langs-stroke { top: calc(100% + 10px); z-index: 70; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7); }
.o-header .nav__langs-stroke .nav__langs-item { height: 34px; background: none; border-radius: 6px; padding: 0 10px; text-transform: none; }
.o-header .nav__langs-stroke .nav__langs-item:hover { background: var(--o-dusk-2); color: var(--o-gold-hi); }

/* create account: small person-plus icon that turns a little on hover */
.o-header .o-register { gap: 8px; }
.o-header .o-register svg { flex: 0 0 auto; margin-left: -2px; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.o-header .o-register:hover svg { transform: scale(1.12) rotate(-6deg); }

/* sign in: person icon, lifts slightly on hover */
.o-header .o-signin { font-weight: 700; }
.o-header .o-signin svg { color: var(--o-gold); transition: transform .3s cubic-bezier(.2, .8, .2, 1), color .25s ease; }
.o-header .o-signin:hover svg { color: var(--o-gold-hi); transform: translateY(-1px) scale(1.08); }

@media (prefers-reduced-motion: reduce) {
    .o-header .o-signin svg, .o-header .o-register svg { transition: none; }
    .o-header .o-balance, .o-header .o-user .dropdown-toggle, body.orion .o-header .nav__langs-item--current,
    .o-header .o-user .arrow-down-acp, body.orion .o-header .nav__langs-item--current::after { transition: none; }
}

/* ==========================================================================
   Page loading bar at the very top (js/orion-ui.js)
   ========================================================================== */
.o-loadbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity .35s ease .15s;
}
.o-loadbar.is-active { opacity: 1; transition: opacity .1s ease; }
.o-loadbar__fill {
    position: relative;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(194, 80, 47, .9), var(--o-gold) 55%, var(--o-gold-hi));
    box-shadow: 0 0 10px rgba(240, 207, 138, .55), 0 0 3px rgba(194, 80, 47, .7);
    transition: width .4s cubic-bezier(.2, .7, .2, 1);
}
.o-loadbar__fill::after {        /* bright spark at the tip */
    content: '';
    position: absolute;
    right: -2px;
    top: 50%;
    width: 90px;
    height: 10px;
    transform: translateY(-50%);
    background: radial-gradient(ellipse at 100% 50%, rgba(255, 240, 200, .9), rgba(240, 207, 138, .35) 40%, transparent 70%);
    filter: blur(1px);
}
@media (prefers-reduced-motion: reduce) {
    .o-loadbar__fill { transition: none; }
}

/* ==========================================================================
   Header fit: logo + 6 menu items + actions.
     >= 1351px     logo left, menu in the middle, buttons right (bar spans the window)
     1351–1799px   "Sign in" shows only its icon (text stays for screen readers)
     <= 1350px     menu folds into the burger
   ========================================================================== */
.o-header .o-wrap.o-header__bar { max-width: 1480px; }

@media (min-width: 1351px) {
    .o-header__bar { gap: 18px; }
    .o-nav { gap: 14px; }
    .o-nav > ul { gap: 2px; }
    .o-nav > ul a { padding: 8px 8px; gap: 7px; font-size: 17px; }
    .o-nav .o-ic { width: 22px; height: 22px; }
    .o-header__actions { gap: 10px; }
}
@media (max-width: 1799px) and (min-width: 1351px) {
    .o-header .o-signin span {
        position: absolute; width: 1px; height: 1px; overflow: hidden;
        clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
    }
}
@media (max-width: 1350px) {
    .o-header .gw-burger { display: block; }
    .o-header .o-nav.top_menu {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        width: auto;
        height: auto;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px 24px 24px;
        background: var(--o-ink);
        border-bottom: 1px solid var(--o-line);
        box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
        z-index: 60;
    }
    .o-header .o-nav.top_menu.active { display: flex; animation: o-menu-in .25s ease-out; }
    .o-header .o-nav > ul { flex-direction: column; }
    .o-header .o-nav > ul a { padding: 10px 4px; font-size: 17px; }
    .o-header .o-header__actions { margin-left: 0; flex-wrap: wrap; }
}
@media (max-width: 1350px) and (prefers-reduced-motion: reduce) {
    .o-header .o-nav.top_menu.active { animation: none; }
}

/* Sign in: same shape and yellow-gold as "Create account", only softer (less saturated, less shine) */
.o-header__actions .o-signin {
    border-radius: var(--o-radius);
    padding: 0 16px;
    font-family: var(--o-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .06em;
    color: #1c1406;                                   /* same ink as "Create account" */
    text-shadow: 0 1px 0 rgba(255, 246, 220, .38);    /* light emboss so it reads on the softer gold */
    -webkit-font-smoothing: antialiased;
    background: linear-gradient(180deg, #ddc68f, #c8ad73 55%, #a98d55);
    border: 1px solid rgba(240, 222, 170, .55);
    box-shadow: inset 0 1px 0 rgba(255, 248, 225, .35), 0 8px 22px -12px rgba(216, 190, 130, .55);
}
.o-header__actions .o-signin svg { color: #1c1406; filter: drop-shadow(0 1px 0 rgba(255, 246, 220, .38)); }
.o-header__actions .o-signin:hover,
.o-header__actions .o-signin.is-active {
    color: #140e04;
    background: linear-gradient(180deg, #e6d29e, #d2b87e 55%, #b39760);
    border-color: rgba(250, 232, 185, .8);
    box-shadow: inset 0 1px 0 rgba(255, 250, 230, .45), 0 10px 26px -10px rgba(220, 195, 135, .7);
}
.o-header__actions .o-signin:hover svg { color: #140e04; }
@media (max-width: 1799px) and (min-width: 1351px) {
    .o-header__actions .o-signin { padding: 0 11px; }
}

/* ==========================================================================
   Button icons (views/components/icon.blade.php)
   ========================================================================== */
.o-btn__ic { flex: 0 0 auto; display: block; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.o-btn > .o-btn__ic:first-child { margin-left: -4px; }        /* optical balance: icon side looks lighter */
.o-btn:hover .o-btn__ic,
.o-btn:focus-visible .o-btn__ic { transform: scale(1.12); }
.o-btn.is-disabled .o-btn__ic { opacity: .7; transform: none; }

.o-server__cta { display: inline-flex; align-items: center; gap: 7px; }
.o-server__cta .o-btn__ic { margin-left: -2px; }
.o-server__cta:hover .o-btn__ic { transform: translateX(2px) scale(1.1); }

.o-link-more { display: inline-flex; align-items: center; gap: 6px; }
.o-link-more:hover .o-btn__ic { transform: translateX(4px); }

/* header buttons: slightly larger, heavier text */
.o-header__actions .o-signin,
.o-header__actions .o-register {
    font-size: 14px;
    letter-spacing: .05em;
    -webkit-text-stroke: .3px currentColor;
    padding: 0 17px;
}
.o-header__actions .o-signin .o-btn__ic,
.o-header__actions .o-register .o-btn__ic { margin-left: -3px; }

@media (prefers-reduced-motion: reduce) {
    .o-btn__ic { transition: none; }
    .o-btn:hover .o-btn__ic, .o-server__cta:hover .o-btn__ic, .o-link-more:hover .o-btn__ic { transform: none; }
}
@media (max-width: 1799px) and (min-width: 1351px) {
    .o-header__actions .o-signin { padding: 0 11px; }
    .o-header__actions .o-signin .o-btn__ic { margin-left: 0; }
}

/* ==========================================================================
   Theme switch button (views/components/theme-toggle.blade.php)
   ========================================================================== */
.o-theme-toggle {
    box-sizing: border-box;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    padding: 0;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--o-line);
    border-radius: 999px;
    background: rgba(23, 18, 13, .62);
    color: var(--o-gold-hi);
    cursor: var(--o-cur-link, pointer);
    transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease, color .25s ease;
}
.o-theme-toggle svg { grid-area: 1 / 1; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .3s ease; }
.o-theme-toggle__moon { opacity: 0; transform: rotate(-60deg) scale(.6); }
html[data-theme="light"] .o-theme-toggle__sun { opacity: 0; transform: rotate(90deg) scale(.6); }
html[data-theme="light"] .o-theme-toggle__moon { opacity: 1; transform: none; }
.o-theme-toggle:hover {
    border-color: rgba(240, 207, 138, .55);
    background: rgba(216, 173, 95, .1);
    box-shadow: 0 0 0 3px rgba(216, 173, 95, .07), 0 6px 18px rgba(0, 0, 0, .35);
}
.o-theme-toggle:hover .o-theme-toggle__sun { transform: rotate(45deg); }
.o-theme-toggle:focus-visible { outline: 2px solid var(--o-gold-hi); outline-offset: 2px; }
body.orion .auth_top_r .o-theme-toggle { margin-right: 4px; }

/* colours cross-fade for a moment while the theme is switched */
html.o-theme-switching,
html.o-theme-switching *,
html.o-theme-switching *::before,
html.o-theme-switching *::after {
    transition: background-color .4s ease, color .4s ease, border-color .4s ease, box-shadow .4s ease, fill .4s ease !important;
}
@media (prefers-reduced-motion: reduce) {
    .o-theme-toggle, .o-theme-toggle svg { transition: none; }
}

/* ==========================================================================
   LIGHT THEME  —  <html data-theme="light">
   Parchment pages with the same gold and bronze; the hero shows a dawn version of the
   landscape (img/orion/sky-light.svg), header and dashboard bar turn light as well.
   ========================================================================== */
:root { --o-page: #0c0a08; }
html[data-theme="light"] {
    color-scheme: light;
    --o-page: #f2e9d6;          /* page background (also what the hero fades into) */
    --o-ink: #f2e9d6;
    --o-dusk: #fbf6ea;          /* panels */
    --o-dusk-2: #efe3c9;        /* raised panels, table heads */
    --o-line: rgba(150, 108, 45, .26);
    --o-star: #2e2518;          /* main text */
    --o-mist: #6f604a;          /* secondary text */
    --o-gold: #9a6c22;          /* accent: darker gold so it reads on parchment */
    --o-gold-hi: #80571a;       /* headings */
    --o-ember: #b0442a;
    --o-aether: #b0621d;
    --bgc-color: rgba(251, 246, 234, .96);
    --bg-form-head: rgba(154, 108, 34, .12);
    --bg-form-table: rgba(251, 246, 234, .96);
    --bg-dark: #f2e9d6;
}
/* ---------- page backgrounds ---------- */
html[data-theme="light"] body.orion {
    background: var(--o-page);          /* flat, so the hero fades into exactly this colour */
    color: var(--o-star);
}
html[data-theme="light"] body.orion--page {   /* inner pages (no hero): soft warm light from the top */
    background:
        radial-gradient(1100px 480px at 80% -6%, rgba(216, 173, 95, .26), transparent 65%),
        radial-gradient(800px 420px at 5% 0%, rgba(194, 120, 47, .08), transparent 70%),
        var(--o-page);
}
html[data-theme="light"] .main-bg {
    background:
        radial-gradient(1100px 520px at 85% -8%, rgba(216, 173, 95, .22), transparent 65%),
        linear-gradient(180deg, #f6efe1, #efe4cd 70%, #ebdfc5) !important;
}

/* ---------- panels and cards ---------- */
html[data-theme="light"] .o-panel,
html[data-theme="light"] .o-guide__menu,
html[data-theme="light"] .o-news-card,
html[data-theme="light"] body.orion aside.sidebar,
html[data-theme="light"] body.orion .omg-table,
html[data-theme="light"] body.orion .content_left,
html[data-theme="light"] body.orion .content_right,
html[data-theme="light"] body.orion .about_all,
html[data-theme="light"] body.orion .startgame_block {
    background: linear-gradient(180deg, #fffaf1, #f8efdd);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 14px 32px -20px rgba(90, 60, 20, .45);
}
html[data-theme="light"] body.orion .content::after,
html[data-theme="light"] body.orion .card::after,
html[data-theme="light"] body.orion .create_game_account::after,
html[data-theme="light"] body.orion .auth-main-link::after {
    background: linear-gradient(180deg, #fffaf1, #f6ecd8) !important;
}
html[data-theme="light"] body.orion .content::before,
html[data-theme="light"] body.orion .card::before,
html[data-theme="light"] body.orion .s-pack-item::before,
html[data-theme="light"] body.orion .service-item::before,
html[data-theme="light"] body.orion .auth-main-link::before {
    background: linear-gradient(180deg, rgba(176, 125, 42, .55), rgba(176, 125, 42, .18)) !important;
}
html[data-theme="light"] .o-news-card:hover { box-shadow: 0 22px 44px -22px rgba(90, 60, 20, .55), 0 0 0 1px rgba(176, 125, 42, .25); }
html[data-theme="light"] .o-news-card__media::after { background: linear-gradient(0deg, rgba(251, 246, 234, .92), transparent); }
html[data-theme="light"] .o-news__grid--3 .o-news-card:not(.is-featured) .o-news-card__media::after,
html[data-theme="light"] .o-news__grid--1 .o-news-card__media::after { background: linear-gradient(270deg, rgba(251, 246, 234, .92), transparent); }
@media (max-width: 900px) {
    html[data-theme="light"] .o-news__grid--1 .o-news-card__media::after { background: linear-gradient(0deg, rgba(251, 246, 234, .92), transparent); }
}
html[data-theme="light"] .o-download,
html[data-theme="light"] body.orion .server-switcher__current,
html[data-theme="light"] body.orion .server-switcher__item { background: rgba(255, 255, 255, .6); }
html[data-theme="light"] body.orion .stats-menu a { background: #fffaf1; }
html[data-theme="light"] body.orion .stats-menu a:hover,
html[data-theme="light"] body.orion .stats-menu .active a { background: rgba(176, 125, 42, .14); }
html[data-theme="light"] body.orion table.rating tbody { background: rgba(255, 252, 245, .8); }
html[data-theme="light"] body.orion table.rating td { border-bottom-color: rgba(120, 90, 40, .14); }
html[data-theme="light"] .o-rate { background: linear-gradient(180deg, rgba(176, 125, 42, .12), rgba(176, 125, 42, .04)); }
html[data-theme="light"] .o-rate:hover { box-shadow: inset 0 0 0 1px rgba(154, 108, 34, .45), 0 10px 22px -8px rgba(90, 60, 20, .35); }

/* ---------- text details ---------- */
html[data-theme="light"] .o-list li:hover strong { color: #1f170d; }
html[data-theme="light"] .o-list li:hover { box-shadow: inset 2px 0 0 rgba(154, 108, 34, .6); }
html[data-theme="light"] .o-list li:hover::before { background: var(--o-gold); box-shadow: 0 0 8px rgba(216, 173, 95, .9); }
html[data-theme="light"] .o-note > strong:first-child { color: #9b3a22; }
html[data-theme="light"] .o-panel--rating table.rating .red { color: #b3392c; }
html[data-theme="light"] .o-guide__title .o-ic { background: rgba(176, 125, 42, .1); box-shadow: inset 0 0 0 1px rgba(154, 108, 34, .25); }
html[data-theme="light"] .o-guide__tab .o-ic { filter: saturate(1.3) brightness(.78); }
html[data-theme="light"] .o-guide__tab.is-active .o-ic { filter: saturate(1.3) brightness(.78) drop-shadow(0 0 4px var(--ic)); }
html[data-theme="light"] .o-guide__tab:hover { background: rgba(176, 125, 42, .08); }
html[data-theme="light"] .o-guide__tab.is-active { background: linear-gradient(90deg, rgba(176, 125, 42, .16), rgba(176, 125, 42, .03)); }
html[data-theme="light"] .o-guide__intro { background: rgba(176, 125, 42, .1); }
html[data-theme="light"] .o-rate img,
html[data-theme="light"] .o-news-card__placeholder img { filter: none; }

/* base-theme text that was hard-coded white */
html[data-theme="light"] body.orion :is(h3, .main-text p, table.rating thead th, .server_online, .server_name, .news_title,
    .news_date, .title_center_block, .startgame_steps_name, .bonus-item p, .donate-title, .img_left, .about_content strong,
    .auth_donation_coins, .auth_donate_title, .omg-table, .create_game_account p, .master-name-plus, .master-name-plus p,
    .ticket-top-block h2, .s-pack-title span, .nav__links-item) { color: var(--o-star); }
html[data-theme="light"] body.orion .auth-main-top-item.right .auth_donate_title { color: var(--o-gold); }
html[data-theme="light"] body.orion :is(.alert-danger p) { color: #9b2f25; }
html[data-theme="light"] body.orion :is(.text-danger, .pk-count) { color: #b3392c; }
html[data-theme="light"] body.orion form.logout button { color: #b3392c; }

/* ---------- buttons ---------- */
html[data-theme="light"] .o-btn--gold,
html[data-theme="light"] body.orion :is(.btn-primary, .btn-accent, .btn-main, .btn-golden, .btn-red) {
    background: linear-gradient(180deg, #f0cf8a, #d8ad5f 55%, #b07d2a);
    color: #1c1406;
    box-shadow: 0 0 0 1px rgba(176, 125, 42, .45) inset, 0 8px 22px -12px rgba(150, 100, 30, .75);
}
html[data-theme="light"] body.orion :is(.btn-primary, .btn-accent, .btn-main, .btn-golden, .btn-red):hover {
    background: linear-gradient(180deg, #fff2cc, #f0cf8a 45%, #d8ad5f);
}
html[data-theme="light"] .o-btn--ghost {
    border-color: rgba(120, 85, 30, .4);
    background: rgba(255, 255, 255, .55);
    color: var(--o-star);
}
html[data-theme="light"] .o-btn--ghost:hover { border-color: var(--o-gold); color: var(--o-gold-hi); background: rgba(255, 255, 255, .8); }
html[data-theme="light"] body.orion .btn-gray-no-border { border-color: rgba(120, 85, 30, .4); }

/* ---------- forms ---------- */
html[data-theme="light"] body.orion :is(.form-control, select.form-control) {
    background: #fffdf8;
    border-color: rgba(120, 85, 30, .3);
    color: var(--o-star);
}
html[data-theme="light"] body.orion .form-control:focus { box-shadow: 0 0 0 3px rgba(176, 125, 42, .18); }
html[data-theme="light"] body.orion select.form-control option { background: #fffdf8; color: var(--o-star); }

/* ---------- dashboard: the sidebar sits on parchment, its links follow the light palette ---------- */
html[data-theme="light"] body.orion .sidebar-menu a:before { background: rgba(176, 125, 42, .12) !important; }

/* light theme switch button on the dark bars keeps its dark look; on parchment it turns light */
html[data-theme="light"] .o-theme-toggle { color: var(--o-gold-hi); }

/* light theme: base-theme icon images are white — tint them bronze on parchment */
html[data-theme="light"] body.orion .stats-menu a img,
html[data-theme="light"] body.orion .sidebar-menu img,
html[data-theme="light"] body.orion .about_sidebar img {
    filter: brightness(0) saturate(100%) invert(40%) sepia(60%) saturate(650%) hue-rotate(8deg) brightness(.92);
}
html[data-theme="light"] body.orion .stats-menu .active a img,
html[data-theme="light"] body.orion .stats-menu a:hover img { filter: brightness(0) saturate(100%) invert(30%) sepia(70%) saturate(800%) hue-rotate(10deg) brightness(.85); }
/* progress bars on the stats page */
html[data-theme="light"] body.orion .bar-container { background: rgba(120, 90, 40, .16) !important; box-shadow: inset 0 0 0 1px rgba(120, 90, 40, .14); }

/* checkbox (login "remember me" etc.): gold instead of the base theme's purple, both themes */
body.orion .checkmark {
    background: rgba(12, 10, 8, .5);
    border: 1px solid rgba(216, 173, 95, .45);
    border-radius: 5px;
}
body.orion .checkbox-container:hover .checkmark { border-color: var(--o-gold); }
body.orion .checkbox-container input:checked ~ .checkmark {
    background: linear-gradient(180deg, #f0cf8a, #d8ad5f 55%, #b07d2a);
    border-color: #b07d2a;
}
body.orion .checkbox-container input:checked ~ .checkmark::after { border-color: #1c1406; }
body.orion .checkbox-container input:focus-visible ~ .checkmark { outline: 2px solid var(--o-gold-hi); outline-offset: 2px; }
html[data-theme="light"] body.orion .checkmark { background: #fffdf8; border-color: rgba(120, 85, 30, .45); }

/* light theme: base-theme grey text (#bebebe and alike) becomes the muted bronze-grey */
:where(html[data-theme="light"]) p,
:where(html[data-theme="light"]) small { color: var(--o-mist); }
:where(html[data-theme="light"]) h1 { color: var(--o-gold-hi); }
html[data-theme="light"] .checkbox-container,
html[data-theme="light"] .close,
html[data-theme="light"] .group-text p,
html[data-theme="light"] .password-toggle,
html[data-theme="light"] #sendItemsForm,
html[data-theme="light"] .copy-message,
html[data-theme="light"] .donate-title-block p,
html[data-theme="light"] .form-group label,
html[data-theme="light"] .message p,
html[data-theme="light"] .pay-currency,
html[data-theme="light"] .payment__range .noUi-value,
html[data-theme="light"] .popup-close,
html[data-theme="light"] .s-item-i,
html[data-theme="light"] .s-pack-discount,
html[data-theme="light"] .service-top-block h2,
html[data-theme="light"] .service-top-block p,
html[data-theme="light"] .stats_generated_date,
html[data-theme="light"] .ticket-no-active,
html[data-theme="light"] .ticket-top-block p,
html[data-theme="light"] .ticket_msg_date,
html[data-theme="light"] .total_text,
html[data-theme="light"] .copyright h4,
html[data-theme="light"] .news_content p,
html[data-theme="light"] .startgame_steps_num { color: var(--o-mist); }
html[data-theme="light"] .password-toggle:hover,
html[data-theme="light"] .close:hover,
html[data-theme="light"] .popup-close:hover { color: var(--o-star); }
/* light theme: white payment logos on the donate page become dark bronze */
html[data-theme="light"] body.orion .pay_method img { filter: invert(.85) sepia(.45) saturate(1.4) hue-rotate(-12deg); }

/* ==========================================================================
   LIGHT THEME — top of the page: dawn hero, header, server cards, dashboard bar
   ========================================================================== */
/* hero: dawn sky; soft light behind the text, fading into the page at the bottom */
html[data-theme="light"] .o-hero__sky { background-image: url('../img/orion/sky-light.svg?v=3'); }
html[data-theme="light"] .o-hero__sky::after {
    /* bottom fade first (on top), ending in a solid strip of the page colour, so no seam shows */
    background: linear-gradient(0deg, var(--o-page) 0%, var(--o-page) 3%, rgba(242, 233, 214, .93) 8%, rgba(242, 233, 214, .78) 14%, rgba(242, 233, 214, .56) 21%, rgba(242, 233, 214, .32) 29%, rgba(242, 233, 214, .12) 37%, transparent 46%),
        linear-gradient(90deg, rgba(248, 241, 227, .8) 0%, rgba(248, 241, 227, .38) 50%, transparent 78%);
}
html[data-theme="light"] .o-hero__title {
    background: linear-gradient(180deg, #c99a45 0%, #94651f 55%, #6c4613 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 1px 0 rgba(255, 250, 238, .8));
}
html[data-theme="light"] .o-hero__lead { color: #3a2e1d; }
html[data-theme="light"] .o-hero__emblem { filter: drop-shadow(0 6px 16px rgba(120, 80, 20, .25)); }
html[data-theme="light"] .o-embers { mix-blend-mode: multiply; opacity: .85; }
/* slider controls */
html[data-theme="light"] .o-slider-nav__arrow { background: rgba(255, 252, 245, .75); border-color: rgba(154, 108, 34, .4); color: var(--o-gold-hi); }
html[data-theme="light"] .o-slider-nav__arrow:hover { background: rgba(176, 125, 42, .14); border-color: var(--o-gold); }
html[data-theme="light"] .o-slider-nav__track::before { background: rgba(120, 85, 30, .2); }
html[data-theme="light"] .o-slider-nav__track:hover::before { background: rgba(120, 85, 30, .35); }
html[data-theme="light"] .o-slider-nav__fill { background: linear-gradient(90deg, #b07d2a, #d8ad5f); box-shadow: 0 0 8px rgba(216, 173, 95, .6); }

/* header */
html[data-theme="light"] .o-header {
    background: rgba(250, 245, 234, .84);
    border-bottom-color: var(--o-line);
    box-shadow: 0 6px 24px -18px rgba(90, 60, 20, .45);
}
html[data-theme="light"] .orion--home .o-header {
    background: linear-gradient(180deg, rgba(250, 245, 234, .88), rgba(250, 245, 234, .5));
    border-bottom-color: transparent;
    box-shadow: none;
}
html[data-theme="light"] .orion--home .o-header.is-scrolled {
    background: rgba(250, 245, 234, .94);
    border-bottom-color: var(--o-line);
    box-shadow: 0 6px 24px -18px rgba(90, 60, 20, .45);
}
html[data-theme="light"] .o-nav .o-ic { filter: saturate(1.35) brightness(.78); }
html[data-theme="light"] .o-nav > ul a:hover .o-ic,
html[data-theme="light"] .o-nav > ul .active .o-ic { filter: saturate(1.35) brightness(.78) drop-shadow(0 0 4px var(--ic)); }
html[data-theme="light"] .o-nav > ul a:hover { color: var(--o-gold-hi); }
html[data-theme="light"] .o-header .o-nav.top_menu { box-shadow: 0 18px 40px -16px rgba(90, 60, 20, .45); }

/* header chips (balance, user, language, theme) and the dashboard bar's language chip */
html[data-theme="light"] .o-header .o-balance,
html[data-theme="light"] .o-header .o-user .dropdown-toggle,
html[data-theme="light"] body.orion .o-header .nav__langs-item--current,
html[data-theme="light"] body.orion .auth_top .nav__langs-item--current,
html[data-theme="light"] .o-theme-toggle {
    background: rgba(255, 252, 245, .78);
    border: 1px solid var(--o-line);
    color: var(--o-star);
}
html[data-theme="light"] .o-header .o-balance { color: var(--o-gold-hi); }
html[data-theme="light"] .o-theme-toggle { color: var(--o-gold-hi); }
html[data-theme="light"] .o-header .o-balance:hover,
html[data-theme="light"] .o-header .o-user .dropdown-toggle:hover,
html[data-theme="light"] .o-header .o-user:has(.dropdown-menu.show) .dropdown-toggle,
html[data-theme="light"] body.orion .o-header .nav__langs-item--current:hover,
html[data-theme="light"] body.orion .o-header .nav__langs-item--current.active,
html[data-theme="light"] .o-theme-toggle:hover {
    background: rgba(176, 125, 42, .12);
    border-color: rgba(154, 108, 34, .55);
    color: var(--o-gold-hi);
    box-shadow: 0 0 0 3px rgba(176, 125, 42, .08), 0 6px 16px -8px rgba(90, 60, 20, .35);
}
html[data-theme="light"] body.orion .nav__langs-item { background: rgba(255, 252, 245, .78); color: var(--o-star); }
html[data-theme="light"] .o-header .o-user .dropdown-menu,
html[data-theme="light"] .o-header .nav__langs-stroke,
html[data-theme="light"] body.orion .nav__langs-stroke { background: #fffaf1; box-shadow: 0 18px 40px -14px rgba(90, 60, 20, .4); }

/* server cards */
html[data-theme="light"] .o-server {
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(var(--acc), .16), transparent 55%),
        linear-gradient(180deg, #fffaf1, #f6ebd6);
    border-color: rgba(var(--acc), .4);
    box-shadow: 0 22px 40px -26px rgba(90, 60, 20, .55), inset 0 1px 0 rgba(255, 255, 255, .8);
}
html[data-theme="light"] .o-server:hover,
html[data-theme="light"] .o-server:focus-within {
    border-color: rgba(var(--acc), .75);
    box-shadow: 0 28px 48px -24px rgba(90, 60, 20, .6), 0 0 0 1px rgba(var(--acc), .2), 0 0 36px -12px rgba(var(--acc), .45);
}
html[data-theme="light"] .o-server__status { background: rgba(255, 255, 255, .7); border-color: rgba(120, 90, 40, .22); }
html[data-theme="light"] .o-server.is-up .o-server__status { color: #2c7d4c; border-color: rgba(63, 174, 108, .4); background: rgba(63, 174, 108, .08); }
html[data-theme="light"] .o-server.is-up .o-dot { background: #36a865; }
html[data-theme="light"] .o-server__count { color: #2c7d4c; }
html[data-theme="light"] .o-server.is-down .o-server__status { color: #ad3328; border-color: rgba(224, 84, 74, .4); background: rgba(224, 84, 74, .08); }
html[data-theme="light"] .o-server__cta { color: color-mix(in srgb, rgb(var(--acc)) 55%, #2e2518); border-color: rgba(var(--acc), .55); }
html[data-theme="light"] .o-server__cta:hover,
html[data-theme="light"] .o-server__cta:focus-visible { background: rgba(var(--acc), .16); color: #2e2518; }
html[data-theme="light"] .o-server__sigil { filter: drop-shadow(0 3px 6px rgba(90, 60, 20, .25)); }
html[data-theme="light"] .o-uptime__bar::before { background: rgba(120, 90, 40, .14); }
html[data-theme="light"] .o-uptime__bar.is-up::before { background: linear-gradient(180deg, #6fd497, #33a062); }
html[data-theme="light"] .o-uptime__bar.is-partial::before { background: linear-gradient(180deg, #ecb85c, #c08228); }
html[data-theme="light"] .o-uptime__bar.is-down::before { background: linear-gradient(180deg, #e9685b, #b3362c); }
html[data-theme="light"] .o-uptime__bar:hover::before { filter: brightness(1.05) saturate(1.1); }

/* dashboard / login top bar */
html[data-theme="light"] body.orion .auth_top {
    background: rgba(250, 245, 234, .86);
    border-color: var(--o-line);
    box-shadow: 0 10px 26px -20px rgba(90, 60, 20, .45);
}
html[data-theme="light"] body.orion .auth_top .btn-primary {
    background: rgba(255, 252, 245, .78);
    color: var(--o-star);
    box-shadow: 0 0 0 1px rgba(154, 108, 34, .35) inset;
}
html[data-theme="light"] body.orion .auth_top .btn-primary svg { color: var(--o-gold); }

/* back-to-top button */
html[data-theme="light"] .o-totop {
    background: radial-gradient(circle at 50% 35%, #fffaf0, #f1e3c6 75%);
    color: var(--o-gold-hi);
    box-shadow: 0 10px 24px -8px rgba(90, 60, 20, .45), inset 0 0 0 1px rgba(154, 108, 34, .25);
}
html[data-theme="light"] .o-totop:hover,
html[data-theme="light"] .o-totop:focus-visible { color: #5e3f10; box-shadow: 0 12px 28px -8px rgba(90, 60, 20, .5), 0 0 18px rgba(216, 173, 95, .4), inset 0 0 0 1px rgba(154, 108, 34, .45); }
html[data-theme="light"] .o-totop__track { stroke: rgba(120, 85, 30, .18); }

/* hero art: light-theme version without the smoke (views/components/hero-slides.blade.php) */
.o-hero__character--light { display: none; }
html[data-theme="light"] .o-hero__figure:has(.o-hero__character--light) .o-hero__character:not(.o-hero__character--light) { display: none; }
html[data-theme="light"] .o-hero__figure .o-hero__character--light { display: block; }

/* ==========================================================================
   Header: slimmer, and no hard line under it (both themes) — a soft shadow when it is solid
   ========================================================================== */
.o-header__bar { min-height: 60px; }
.o-header { border-bottom: 0; box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .75); }
.orion--home .o-header {
    background: linear-gradient(180deg, rgba(12, 10, 8, .8), rgba(12, 10, 8, 0));
    box-shadow: none;
}
.orion--home .o-header.is-scrolled {
    background: rgba(12, 10, 8, .9);
    border-bottom: 0;
    box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8);
}
html[data-theme="light"] .o-header { border-bottom: 0; box-shadow: 0 10px 28px -20px rgba(90, 60, 20, .5); }
html[data-theme="light"] .orion--home .o-header {
    background: linear-gradient(180deg, rgba(250, 245, 234, .9), rgba(250, 245, 234, 0));
    box-shadow: none;
}
html[data-theme="light"] .orion--home .o-header.is-scrolled {
    background: rgba(250, 245, 234, .94);
    border-bottom: 0;
    box-shadow: 0 10px 28px -18px rgba(90, 60, 20, .5);
}
.o-header .o-nav.top_menu { max-height: calc(100vh - 60px); }
.o-brand { gap: 0; }

/* light theme: the figure sits in the dawn light — a warm halo behind her and a soft ground shadow */
html[data-theme="light"] .o-hero__figure::before {
    content: '';
    position: absolute;
    left: -8%; right: -8%; top: 4%; bottom: 6%;
    background: radial-gradient(closest-side, rgba(255, 249, 236, .8), rgba(255, 244, 222, .35) 55%, transparent 100%);
    pointer-events: none;
}
html[data-theme="light"] .o-hero__character {
    position: relative;
    filter: drop-shadow(0 0 1px rgba(255, 250, 240, .7)) drop-shadow(14px 22px 26px rgba(120, 80, 30, .26));
}
html[data-theme="light"] .o-hero__figure::after {
    /* kept fully inside the hero (it used to be cut at the hero's bottom edge) */
    left: 8%; right: 8%; bottom: 3%;
    height: 16%;
    background: radial-gradient(closest-side, rgba(130, 88, 40, .26), rgba(150, 105, 50, .1) 55%, transparent 100%);
    mix-blend-mode: normal;
    animation: none;
    opacity: 1;
}

/* hero title never runs under the character (long Lithuanian titles): width limited to the free left part */
/* (only when there is art on the right: config('app.hero_image') or a slide 'image') */
.o-hero:has(.o-hero__figure) .o-hero__title { max-width: min(16ch, 40vw); }
@media (max-width: 1499px) { .o-hero:has(.o-hero__figure) .o-hero__title { max-width: min(16ch, 44vw); } }
@media (max-width: 1299px) { .o-hero:has(.o-hero__figure) .o-hero__title { max-width: min(16ch, 48vw); } }
@media (max-width: 1080px) { .o-hero:has(.o-hero__figure) .o-hero__title { max-width: 16ch; } }

/* ==========================================================================
   Server medallion (no dark disc): accent-tinted glass + a sigil coloured by CSS,
   so it reads well on the dark and the light theme alike.
   ========================================================================== */
.o-server__medal {
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 28%, rgba(255, 246, 224, .16), transparent 46%),
        radial-gradient(circle at 50% 55%, rgba(var(--acc), .22), rgba(var(--acc), .06) 62%, rgba(var(--acc), .02) 72%);
    box-shadow: inset 0 0 0 1px rgba(var(--acc), .42), inset 0 -10px 18px -8px rgba(var(--acc), .25), 0 0 22px -6px rgba(var(--acc), .45);
    transition: box-shadow .45s, transform .45s cubic-bezier(.2, .7, .2, 1);
}
.o-server__sigil--shape {
    position: relative;
    display: block;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #fff6e0 0%, rgb(var(--acc)) 48%, color-mix(in srgb, rgb(var(--acc)) 60%, #1a1006) 100%);
    -webkit-mask: var(--sigil) center / contain no-repeat;
    mask: var(--sigil) center / contain no-repeat;
    filter: drop-shadow(0 0 8px rgba(var(--acc), .55));
}
.o-server:hover .o-server__medal { box-shadow: inset 0 0 0 1px rgba(var(--acc), .7), inset 0 -10px 18px -8px rgba(var(--acc), .35), 0 0 30px -4px rgba(var(--acc), .6); transform: scale(1.04); }
.o-server:hover .o-server__sigil--shape { filter: drop-shadow(0 0 12px rgba(var(--acc), .8)); }

html[data-theme="light"] .o-server__medal {
    background:
        radial-gradient(circle at 34% 28%, rgba(255, 255, 255, .85), transparent 50%),
        radial-gradient(circle at 50% 55%, rgba(var(--acc), .2), rgba(var(--acc), .08) 62%, rgba(var(--acc), .03) 72%);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, rgb(var(--acc)) 75%, #5a3a10), inset 0 -8px 14px -8px rgba(var(--acc), .35), 0 6px 14px -8px rgba(90, 60, 20, .35);
}
html[data-theme="light"] .o-server__ring { border-color: color-mix(in srgb, rgb(var(--acc)) 70%, transparent); }
html[data-theme="light"] .o-server__ring::after { background: color-mix(in srgb, rgb(var(--acc)) 80%, #3a2208); box-shadow: 0 0 6px rgba(var(--acc), .7); }
html[data-theme="light"] .o-server__sigil--shape {
    background: linear-gradient(135deg, color-mix(in srgb, rgb(var(--acc)) 85%, #fff) 0%, color-mix(in srgb, rgb(var(--acc)) 80%, #3a2208) 38%, color-mix(in srgb, rgb(var(--acc)) 50%, #2a1805) 100%);
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .7)) drop-shadow(0 3px 4px rgba(90, 60, 20, .3));
}
html[data-theme="light"] .o-server:hover .o-server__medal { box-shadow: inset 0 0 0 1px rgba(var(--acc), .75), inset 0 -8px 14px -8px rgba(var(--acc), .4), 0 10px 20px -10px rgba(var(--acc), .6); }
html[data-theme="light"] .o-server:hover .o-server__sigil--shape { filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .7)) drop-shadow(0 4px 8px rgba(var(--acc), .5)); }
@media (prefers-reduced-motion: reduce) { .o-server__medal { transition: none; } }

/* ==========================================================================
   Header width + steady layout
   - the header row may be a little wider, with a fixed gap between the menu and the buttons
   - the space for the page scrollbar is always reserved, so pages with and without a scrollbar
     have exactly the same width (no jump of the header/content when the scrollbar appears)
   ========================================================================== */
html { scrollbar-gutter: stable; }
.o-header .o-wrap.o-header__bar { max-width: 1560px; }
@media (min-width: 1351px) {
    .o-header__actions { padding-left: 36px; }
}

/* ==========================================================================
   Header blends into the page: its background (and blur) fade out softly below the bar
   instead of ending in a hard edge — both themes, at the top and after scrolling.
   ========================================================================== */
.o-header {
    --o-header-bg: rgba(12, 10, 8, .86);
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border-bottom: 0 !important;
}
.o-header::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: calc(100% + 30px);
    z-index: -1;
    pointer-events: none;
    background: var(--o-header-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 44px), rgba(0, 0, 0, .55) calc(100% - 24px), transparent 100%);
    mask-image: linear-gradient(180deg, #000 0, #000 calc(100% - 44px), rgba(0, 0, 0, .55) calc(100% - 24px), transparent 100%);
    transition: background-color .35s ease;
}
.orion--home .o-header { --o-header-bg: rgba(12, 10, 8, .5); }
.orion--home .o-header.is-scrolled { --o-header-bg: rgba(12, 10, 8, .9); }
html[data-theme="light"] .o-header { --o-header-bg: rgba(250, 245, 234, .9); }
html[data-theme="light"] .orion--home .o-header { --o-header-bg: rgba(250, 245, 234, .55); }
html[data-theme="light"] .orion--home .o-header.is-scrolled { --o-header-bg: rgba(250, 245, 234, .93); }
@media (prefers-reduced-motion: reduce) { .o-header::before { transition: none; } }

/* header after scrolling (and on inner pages): fully opaque, no see-through tail — a soft shadow instead of a line */
.o-header:not(.orion--home *),
.orion--home .o-header.is-scrolled { --o-header-bg: #0e0b08; }
html[data-theme="light"] .o-header:not(.orion--home *),
html[data-theme="light"] .orion--home .o-header.is-scrolled { --o-header-bg: #faf5ea; }
.o-header:not(.orion--home *)::before,
.orion--home .o-header.is-scrolled::before {
    height: 100%;
    -webkit-mask-image: none;
    mask-image: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .75);
}
html[data-theme="light"] .o-header:not(.orion--home *)::before,
html[data-theme="light"] .orion--home .o-header.is-scrolled::before { box-shadow: 0 12px 26px -14px rgba(90, 60, 20, .4); }

/* header background: the same height (the bar itself) at the top and after scrolling */
.o-header::before {
    height: 100%;
    -webkit-mask-image: none;
    mask-image: none;
}

/* ==========================================================================
   Gallery page (views/pages/gallery.blade.php) + lightbox (js/orion-ui.js)
   ========================================================================== */
.o-gallery__head { margin-bottom: 28px; }
.o-gallery__lead { color: var(--o-mist); font-size: 19px; margin: 8px 0 0; }
.o-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}
.o-gallery__item {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--o-radius);
    border: 1px solid var(--o-line);
    background: var(--o-dusk);
    box-shadow: 0 16px 30px -22px rgba(0, 0, 0, .8);
    animation: o-rise .7s cubic-bezier(.2, .7, .2, 1) var(--o-delay, 0s) backwards;
}
.o-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .4s;
}
.o-gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(12, 10, 8, .78), transparent 55%);
    opacity: 0;
    transition: opacity .35s;
}
.o-gallery__caption {
    position: absolute;
    left: 14px; right: 50px; bottom: 12px;
    z-index: 1;
    color: #fff3d6;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .35s, transform .35s;
}
.o-gallery__zoom {
    position: absolute;
    right: 12px; bottom: 10px;
    z-index: 1;
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border-radius: 50%;
    color: #1c1406;
    background: linear-gradient(180deg, #f0cf8a, #d8ad5f);
    opacity: 0;
    transform: scale(.8);
    transition: opacity .35s, transform .35s;
}
.o-gallery__item:hover img,
.o-gallery__item:focus-visible img { transform: scale(1.06); }
.o-gallery__item:hover::after,
.o-gallery__item:focus-visible::after,
.o-gallery__item:hover .o-gallery__caption,
.o-gallery__item:focus-visible .o-gallery__caption { opacity: 1; transform: none; }
.o-gallery__item:hover .o-gallery__zoom,
.o-gallery__item:focus-visible .o-gallery__zoom { opacity: 1; transform: none; }
.o-gallery__item:hover { border-color: rgba(240, 207, 138, .5); }
.o-gallery__item:focus-visible { outline: 2px solid var(--o-gold-hi); outline-offset: 2px; }

.o-gallery__empty { text-align: center; padding: 48px 24px; color: var(--o-mist); }
.o-gallery__empty svg { color: var(--o-gold); opacity: .8; }
.o-gallery__empty h2 { font-family: var(--o-display); color: var(--o-gold-hi); font-size: 24px; margin: 14px 0 6px; }
.o-gallery__empty p { margin: 0; }
.o-gallery__hint { margin-top: 14px !important; font-size: 14px; }
.o-gallery__hint code { background: rgba(216, 173, 95, .12); padding: 2px 6px; border-radius: 4px; }

/* only <html>: with <body> too (height 100%) the page jumped to the top when the lightbox opened */
html.o-lock { overflow: hidden; }
.o-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 56px 72px;
    background: rgba(8, 6, 4, .9);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity .25s ease;
}
.o-lightbox.is-open { opacity: 1; }
.o-lightbox[hidden] { display: none; }
.o-lightbox__figure { margin: 0; display: grid; gap: 12px; justify-items: center; max-width: 100%; max-height: 100%; }
.o-lightbox__figure img {
    max-width: min(1400px, 100%);
    max-height: calc(100vh - 150px);
    border-radius: var(--o-radius);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
    opacity: 0;
    transform: scale(.97);
    transition: opacity .3s ease, transform .3s ease;
}
.o-lightbox.is-ready .o-lightbox__figure img { opacity: 1; transform: none; }
.o-lightbox__figure figcaption { color: #efe4cc; font-size: 16px; text-align: center; }
.o-lightbox__btn {
    position: absolute;
    width: 48px; height: 48px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(216, 173, 95, .4);
    background: rgba(23, 18, 13, .7);
    color: #f0cf8a;
    cursor: var(--o-cur-link, pointer);
    transition: background-color .25s, border-color .25s, transform .25s;
}
.o-lightbox__btn:hover { background: rgba(216, 173, 95, .18); border-color: #d8ad5f; }
.o-lightbox__btn:focus-visible { outline: 2px solid #f0cf8a; outline-offset: 2px; }
.o-lightbox__close { top: 16px; right: 16px; }
.o-lightbox__nav { top: 50%; margin-top: -24px; }
.o-lightbox__nav--prev { left: 16px; }
.o-lightbox__nav--next { right: 16px; }
.o-lightbox.is-single .o-lightbox__nav, .o-lightbox.is-single .o-lightbox__count { display: none; }
.o-lightbox__count { position: absolute; top: 28px; left: 24px; color: #b5a688; font-size: 14px; letter-spacing: .08em; }
@media (max-width: 640px) {
    .o-lightbox { padding: 64px 12px; }
    .o-lightbox__nav { top: auto; bottom: 14px; margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .o-gallery__item, .o-gallery__item img, .o-lightbox, .o-lightbox__figure img { animation: none; transition: none; }
}
html[data-theme="light"] .o-gallery__item { background: #efe3c9; box-shadow: 0 16px 30px -22px rgba(90, 60, 20, .55); }
html[data-theme="light"] .o-gallery__item:hover { border-color: rgba(154, 108, 34, .55); }

/* hero title a little smaller */
.o-hero__title { font-size: clamp(38px, 5vw, 70px); }

/* header: 8 menu items in a narrower row (max 1440px), tighter spacing between the items */
.o-header .o-wrap.o-header__bar { max-width: 1440px; }
@media (min-width: 1351px) {
    .o-nav > ul { gap: 0; }
    .o-nav > ul a { padding: 8px 6px; gap: 6px; }
    .o-header__actions { padding-left: 28px; }
}

/* server medallion: one icon (crossed swords, img/orion/sigil-swords.svg) for every server,
   circle aligned with the top of the server name */
.o-server__emblem { align-self: start; }
.o-server__body { align-self: start; }
.o-server__sigil--shape { width: 38px; height: 38px; }

/* theme switch: one smooth reveal of the whole page (View Transitions, js/orion-ui.js) */
::view-transition-old(root),
::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2; }
html.o-theme-instant,
html.o-theme-instant *,
html.o-theme-instant *::before,
html.o-theme-instant *::after { transition: none !important; }

/* ==========================================================================
   Header layout (desktop): logo on the far left, buttons on the far right, and the menu starts
   exactly where the page content below starts ("Home" lines up with the left edge of the
   1200px content column). Taller bar (78px), menu text 18px.
   Grid columns: [logo .. up to the content edge] [menu] [rest, buttons pushed to the right].
   50% - 576px = left edge of the content column, measured inside the bar's 32px side padding
   ((100% + 64px - 1200px) / 2 + 24px content padding - 32px). If the logo needs more room
   (narrow screens), the first column simply grows to fit it.
   ========================================================================== */
.o-header__bar { min-height: 78px; }
.o-header .o-nav.top_menu { max-height: calc(100vh - 78px); }
.o-brand__name { font-size: 23px; }
@media (min-width: 1351px) {
    .o-header .o-wrap.o-header__bar {
        max-width: none;
        padding-left: 32px;
        padding-right: 32px;
        display: grid;
        grid-template-columns: minmax(max-content, calc(50% - 576px)) auto minmax(max-content, 1fr);
        align-items: center;
        column-gap: 0;
    }
    .o-header .o-nav.top_menu { display: contents; }
    /* the menu is pulled left by its own item padding, so the first icon sits right on the content edge */
    .o-header .o-brand { justify-self: start; padding-right: calc(20px + var(--o-nav-pad-max, 6px)); }
    /* item spacing (smaller since 2026-11-10, so the menu and the buttons on the right do not touch) */
    .o-header .o-nav > ul {
        --o-nav-pad: clamp(3px, calc(3px + (100vw - 1351px) * .015), 6px);
        justify-self: start;
        margin: 0 0 0 calc(-1 * var(--o-nav-pad));
        gap: clamp(0px, calc((100vw - 1351px) * .007), 2px);
    }
    .o-header .o-nav > ul a {
        font-size: 18px;
        gap: 8px;
        padding: 10px var(--o-nav-pad);
    }
    .o-header .o-header__actions { justify-self: end; margin-left: 40px; padding-left: 0; } /* space between the menu (Gallery) and the server choice */
}

/* ==========================================================================
   Slide pictures (img/slides/1.png, 2.png ... — views/components/hero-slides.blade.php).
   The server cuts off the empty transparent edges; here the picture is fitted into the same
   area the old character used inside the figure box (760 x 1140: visible part x 50–742, y 16–992),
   so every picture comes out the same size as the old one, standing on the same spot.
   Padding in % is taken from the box width (box height = 1.5 x width).
   ========================================================================== */
.o-hero__character--fit {
    box-sizing: border-box;
    padding: 2.1% 2.4% 19.5% 6.6%;
}
/* a picture that is cut at the bottom (half-body, bust) goes right down to the bottom of the hero */
.o-hero__character--fit.o-hero__character--cut { padding-bottom: 0; }

/* slide picture a little closer to the centre (wide screens move it a bit more) */
@media (min-width: 1081px) {
    .o-hero__figure { right: max(2%, calc(34.7vw - 366px + clamp(24px, 5vw - 30px, 90px))); }
}
/* and the title wraps a little earlier on wide screens, so it never runs into the picture */
@media (min-width: 1500px) { .o-hero:has(.o-hero__figure) .o-hero__title { max-width: min(16ch, 36vw); } }

/* ==========================================================================
   Engraved / pressed text: menu, slide eyebrow, title and lead.
   Dark theme: metal-like fill cut into the dark (dark edge above, faint light edge below).
   Light theme: letterpress — ink pressed into paper (white edge below, soft dark edge above).
   Menu hover/active: the fill slides from parchment to gold (background-position, so it animates).
   ========================================================================== */
.o-header .o-nav > ul a > span {
    background-image: linear-gradient(180deg,
        #fffaf0 0%, #eadbbb 26%, #c3a874 50%,        /* normal: parchment */
        #fff1c9 50%, #e9c272 76%, #b5832d 100%);     /* hover / active: gold */
    background-size: 100% 200%;
    background-position: 0 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: .015em;
    filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, .8)) drop-shadow(0 1px 0 rgba(255, 228, 170, .14));
    transition: background-position .35s ease, filter .35s ease;
}
.o-header .o-nav > ul a:hover > span,
.o-header .o-nav > ul a:focus-visible > span,
.o-header .o-nav > ul .active a > span {
    background-position: 0 100%;
    filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, .8)) drop-shadow(0 0 9px rgba(232, 190, 110, .35));
}

.o-hero__name {
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .8), 0 0 14px rgba(216, 173, 95, .28);
}
.o-hero__title {
    filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, .55)) drop-shadow(0 2px 0 rgba(70, 42, 12, .9)) drop-shadow(0 10px 18px rgba(0, 0, 0, .45));
}
.o-hero__lead {
    color: #e8dcc4;
    letter-spacing: .005em;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .85), 0 1px 0 rgba(255, 230, 180, .1), 0 2px 16px rgba(0, 0, 0, .6);
}

/* light theme: letterpress */
html[data-theme="light"] .o-header .o-nav > ul a > span {
    background-image: linear-gradient(180deg,
        #6e5533 0%, #50391c 50%,                      /* normal: dark brown ink */
        #c08a2c 50%, #8a5a16 100%);                   /* hover / active: gold ink */
    filter: drop-shadow(0 1px 0 rgba(255, 253, 245, .95)) drop-shadow(0 -1px 0 rgba(90, 60, 20, .16));
}
html[data-theme="light"] .o-header .o-nav > ul a:hover > span,
html[data-theme="light"] .o-header .o-nav > ul a:focus-visible > span,
html[data-theme="light"] .o-header .o-nav > ul .active a > span {
    filter: drop-shadow(0 1px 0 rgba(255, 253, 245, .95)) drop-shadow(0 0 8px rgba(214, 160, 60, .3));
}
html[data-theme="light"] .o-hero__name {
    text-shadow: 0 1px 0 rgba(255, 253, 245, .95), 0 -1px 0 rgba(110, 75, 25, .15);
}
html[data-theme="light"] .o-hero__title {
    filter: drop-shadow(0 1px 0 rgba(255, 250, 238, .9)) drop-shadow(0 -1px 0 rgba(90, 55, 15, .25)) drop-shadow(0 8px 14px rgba(120, 80, 30, .18));
}
html[data-theme="light"] .o-hero__lead {
    color: #3f3020;
    text-shadow: 0 1px 0 rgba(255, 253, 245, .95), 0 -1px 0 rgba(110, 75, 25, .16);
}
@media (prefers-reduced-motion: reduce) {
    .o-header .o-nav > ul a > span { transition: none; }
}

/* ==========================================================================
   News: time next to the date; full news inside a framed card; footer without the logo
   ========================================================================== */
.o-news-card__date { display: inline-flex; align-items: center; flex-wrap: wrap; column-gap: 12px; }
.o-news-card__time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--o-mist);
    font-variant-numeric: tabular-nums;
}
.o-news-card__time::before {          /* small dot between the date and the time */
    content: '';
    width: 4px; height: 4px;
    margin-right: 7px;
    border-radius: 50%;
    background: currentColor;
    opacity: .6;
}
.o-news-card__clock { opacity: .85; }

.o-article__card {
    position: relative;
    padding: clamp(22px, 4.5vw, 48px);
    box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .8);
}
.o-article__card::before {            /* thin gold line along the top edge */
    content: '';
    position: absolute;
    left: 10%; right: 10%; top: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--o-gold), transparent);
    opacity: .75;
}
.o-article__card .o-article__cover { margin-left: 0; margin-right: 0; }
.o-article__card .o-article__content > :last-child { margin-bottom: 0; }
html[data-theme="light"] .o-article__card { box-shadow: 0 22px 50px -30px rgba(110, 75, 25, .45); }

.o-footer__brand > p:first-child { margin-top: 0; }

/* How to start: step numbers in the light theme — parchment medallion with a gold ring,
   number pressed in like the headings; the ring around it matches the page, the spine stays gold */
html[data-theme="light"] .o-timeline__step::before {
    background: radial-gradient(circle at 50% 30%, #fffdf6 0%, #f8eedb 55%, #ecdcb9 100%);
    border-color: rgba(154, 108, 34, .7);
    box-shadow: 0 0 0 6px var(--o-page), 0 0 0 7px rgba(154, 108, 34, .18), 0 8px 18px -6px rgba(120, 80, 25, .45);
    color: var(--o-gold-hi);
    text-shadow: 0 1px 0 rgba(255, 253, 245, .95), 0 -1px 0 rgba(90, 55, 15, .2);
}
html[data-theme="light"] .o-timeline::before {
    background: linear-gradient(180deg, var(--o-gold), rgba(154, 108, 34, .12));
}
html[data-theme="light"] .o-steps li::before {
    background: radial-gradient(circle at 50% 30%, #fffdf6, #f1e4c8);
    box-shadow: 0 4px 10px -4px rgba(120, 80, 25, .4);
    text-shadow: 0 1px 0 rgba(255, 253, 245, .95);
}

/* Header "Sign in": same colours as the outlined "Sign in" button on the pages (.o-btn--ghost),
   shape and size unchanged */
.o-header .o-header__actions .o-signin {
    color: var(--o-star);
    text-shadow: none;
    background: rgba(12, 10, 8, .35);
    border: 1px solid rgba(239, 228, 204, .35);
    box-shadow: none;
    transition: border-color .25s ease, color .25s ease, background-color .25s ease;
}
.o-header .o-header__actions .o-signin svg { color: currentColor; filter: none; }
.o-header .o-header__actions .o-signin:hover,
.o-header .o-header__actions .o-signin:focus-visible,
.o-header .o-header__actions .o-signin.is-active {
    color: var(--o-gold-hi);
    background: rgba(216, 173, 95, .08);
    border-color: var(--o-gold);
    box-shadow: none;
}
.o-header .o-header__actions .o-signin:hover svg { color: currentColor; }
html[data-theme="light"] .o-header .o-header__actions .o-signin {
    color: var(--o-star);
    background: rgba(255, 255, 255, .55);
    border-color: rgba(120, 85, 30, .4);
}
html[data-theme="light"] .o-header .o-header__actions .o-signin:hover,
html[data-theme="light"] .o-header .o-header__actions .o-signin:focus-visible,
html[data-theme="light"] .o-header .o-header__actions .o-signin.is-active {
    color: var(--o-gold-hi);
    background: rgba(255, 255, 255, .8);
    border-color: var(--o-gold);
}

/* Header "Sign in" hover: lifts a little, warm gold glow and a soft shine passes over it */
.o-header .o-header__actions .o-signin {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: border-color .25s ease, color .25s ease, background-color .25s ease,
        box-shadow .3s ease, transform .3s cubic-bezier(.2, .8, .2, 1);
}
.o-header .o-header__actions .o-signin::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(240, 207, 138, .28) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
    z-index: -1;
    pointer-events: none;
}
.o-header .o-header__actions .o-signin:hover::after,
.o-header .o-header__actions .o-signin:focus-visible::after { transform: translateX(120%); }
.o-header .o-header__actions .o-signin:hover,
.o-header .o-header__actions .o-signin:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 0 0 3px rgba(216, 173, 95, .1), 0 8px 20px -8px rgba(216, 173, 95, .55);
}
.o-header .o-header__actions .o-signin:active { transform: translateY(0); }
html[data-theme="light"] .o-header .o-header__actions .o-signin::after {
    background: linear-gradient(110deg, transparent 30%, rgba(214, 160, 60, .25) 50%, transparent 70%);
}
html[data-theme="light"] .o-header .o-header__actions .o-signin:hover,
html[data-theme="light"] .o-header .o-header__actions .o-signin:focus-visible {
    box-shadow: 0 0 0 3px rgba(154, 108, 34, .1), 0 8px 18px -8px rgba(120, 80, 25, .45);
}
@media (prefers-reduced-motion: reduce) {
    .o-header .o-header__actions .o-signin,
    .o-header .o-header__actions .o-signin::after { transition: none; }
    .o-header .o-header__actions .o-signin:hover { transform: none; }
}

/* ==========================================================================
   All secondary (outlined) buttons look the same and use the background of the language /
   theme chips in the header: hero "Statistics", page "Sign in", header "Sign in", server
   "Start to play", forum button, slider arrows. Hover = the chips' hover + a soft shine and a 1px lift.
   ========================================================================== */
.o-btn--ghost,
.o-header .o-header__actions .o-signin,
.o-server__cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: rgba(23, 18, 13, .62);
    border: 1px solid var(--o-line);
    color: var(--o-star);
    text-shadow: none;
    box-shadow: none;
    transition: border-color .25s ease, color .25s ease, background-color .25s ease,
        box-shadow .3s ease, transform .3s cubic-bezier(.2, .8, .2, 1);
}
.o-btn--ghost .o-btn__ic,
.o-server__cta .o-btn__ic,
.o-header .o-header__actions .o-signin svg { color: var(--o-gold-hi); filter: none; }
.o-btn--ghost::after,
.o-server__cta::after,
.o-header .o-header__actions .o-signin::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(240, 207, 138, .22) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
    z-index: -1;
    pointer-events: none;
}
.o-btn--ghost:not(.is-disabled):hover,
.o-btn--ghost:focus-visible,
.o-server__cta:hover,
.o-server__cta:focus-visible,
.o-header .o-header__actions .o-signin:hover,
.o-header .o-header__actions .o-signin:focus-visible,
.o-header .o-header__actions .o-signin.is-active {
    background: rgba(216, 173, 95, .1);
    border-color: rgba(240, 207, 138, .55);
    color: var(--o-gold-hi);
    box-shadow: 0 0 0 3px rgba(216, 173, 95, .07), 0 6px 18px rgba(0, 0, 0, .35);
}
.o-btn--ghost:not(.is-disabled):hover,
.o-server__cta:hover,
.o-header .o-header__actions .o-signin:hover { transform: translateY(-1px); }
.o-btn--ghost:not(.is-disabled):hover::after,
.o-btn--ghost:focus-visible::after,
.o-server__cta:hover::after,
.o-server__cta:focus-visible::after,
.o-header .o-header__actions .o-signin:hover::after,
.o-header .o-header__actions .o-signin:focus-visible::after { transform: translateX(120%); }
.o-btn--ghost:active,
.o-server__cta:active,
.o-header .o-header__actions .o-signin:active { transform: translateY(0); }
.o-btn--ghost.is-disabled { color: var(--o-mist); }

.o-slider-nav__arrow { background: rgba(23, 18, 13, .62); border-color: var(--o-line); }
.o-slider-nav__arrow:hover {
    background: rgba(216, 173, 95, .1);
    border-color: rgba(240, 207, 138, .55);
    box-shadow: 0 0 0 3px rgba(216, 173, 95, .07), 0 6px 18px rgba(0, 0, 0, .35);
}

/* light theme: the chips' parchment */
html[data-theme="light"] .o-btn--ghost,
html[data-theme="light"] .o-header .o-header__actions .o-signin,
html[data-theme="light"] .o-server__cta {
    background: rgba(255, 252, 245, .78);
    border-color: var(--o-line);
    color: var(--o-star);
}
html[data-theme="light"] .o-btn--ghost .o-btn__ic,
html[data-theme="light"] .o-server__cta .o-btn__ic,
html[data-theme="light"] .o-header .o-header__actions .o-signin svg { color: var(--o-gold-hi); }
html[data-theme="light"] .o-btn--ghost::after,
html[data-theme="light"] .o-server__cta::after,
html[data-theme="light"] .o-header .o-header__actions .o-signin::after {
    background: linear-gradient(110deg, transparent 30%, rgba(214, 160, 60, .22) 50%, transparent 70%);
}
html[data-theme="light"] .o-btn--ghost:not(.is-disabled):hover,
html[data-theme="light"] .o-btn--ghost:focus-visible,
html[data-theme="light"] .o-server__cta:hover,
html[data-theme="light"] .o-server__cta:focus-visible,
html[data-theme="light"] .o-header .o-header__actions .o-signin:hover,
html[data-theme="light"] .o-header .o-header__actions .o-signin:focus-visible,
html[data-theme="light"] .o-header .o-header__actions .o-signin.is-active {
    background: rgba(176, 125, 42, .12);
    border-color: rgba(154, 108, 34, .55);
    color: var(--o-gold-hi);
    box-shadow: 0 0 0 3px rgba(176, 125, 42, .08), 0 6px 16px -8px rgba(90, 60, 20, .35);
}
html[data-theme="light"] .o-slider-nav__arrow { background: rgba(255, 252, 245, .78); border-color: var(--o-line); }
html[data-theme="light"] .o-slider-nav__arrow:hover {
    background: rgba(176, 125, 42, .12);
    border-color: rgba(154, 108, 34, .55);
    box-shadow: 0 0 0 3px rgba(176, 125, 42, .08), 0 6px 16px -8px rgba(90, 60, 20, .35);
}
@media (prefers-reduced-motion: reduce) {
    .o-btn--ghost, .o-server__cta, .o-btn--ghost::after, .o-server__cta::after { transition: none; }
    .o-btn--ghost:hover, .o-server__cta:hover { transform: none; }
}

/* ==========================================================================
   Statistics pages (views/stats/*): heading + server switch, tabs, counters,
   races / gender cards, top 5 lists, ranking tables, castle cards
   ========================================================================== */
.o-stats { padding-top: 48px; }
.o-stats__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}
.o-stats__eyebrow {
    margin: 0 0 6px;
    font-family: var(--o-display);
    font-size: 15px;
    letter-spacing: .28em;
    color: var(--o-gold);
}
.o-stats__title { margin: 0; }
.o-stats__lead { margin: 8px 0 0; color: var(--o-mist); font-size: 18px; }

/* server switch: chips like the header's language chip */
.o-stats__servers { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.o-stats__server {
    height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid var(--o-line);
    background: rgba(23, 18, 13, .62);
    color: var(--o-mist);
    font: 700 13px/1 var(--o-display);
    letter-spacing: .05em;
    cursor: var(--o-cur-link, pointer);
    transition: border-color .25s, color .25s, background-color .25s, box-shadow .25s;
}
.o-stats__server:hover { color: var(--o-gold-hi); border-color: rgba(240, 207, 138, .55); background: rgba(216, 173, 95, .1); }
.o-stats__server.is-active {
    color: #1c1406;
    border-color: transparent;
    background: linear-gradient(180deg, var(--o-gold-hi), var(--o-gold) 60%, #b07d2a);
    box-shadow: 0 6px 18px -10px rgba(216, 173, 95, .9);
    cursor: var(--o-cur, default);
}

/* tabs */
.o-stats__tabs {
    display: flex;
    gap: 3px;
    padding: 6px;
    margin-bottom: 26px;
    border: 1px solid var(--o-line);
    border-radius: calc(var(--o-radius) + 4px);
    background: rgba(23, 18, 13, .45);
    overflow-x: auto;
    scrollbar-width: none;
}
.o-stats__tabs::-webkit-scrollbar { display: none; }
.o-stats__tab {
    flex: 1 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 12px;
    border-radius: var(--o-radius);
    color: var(--o-mist);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    white-space: nowrap;
    transition: color .25s, background-color .25s, box-shadow .25s;
}
.o-stats__tab .o-btn__ic { color: var(--o-gold); opacity: .8; transition: opacity .25s, transform .3s cubic-bezier(.2, .8, .2, 1); }
.o-stats__tab:hover { color: var(--o-star); background: rgba(216, 173, 95, .07); }
.o-stats__tab:hover .o-btn__ic { opacity: 1; transform: scale(1.1); }
.o-stats__tab.is-active {
    color: var(--o-gold-hi);
    background: linear-gradient(180deg, rgba(216, 173, 95, .2), rgba(216, 173, 95, .08));
    box-shadow: inset 0 0 0 1px rgba(240, 207, 138, .4), 0 6px 16px -10px rgba(216, 173, 95, .7);
}
.o-stats__tab.is-active .o-btn__ic { opacity: 1; color: var(--o-gold-hi); }

/* Fade PvP server: groups (Season / Top / Hall of Fame / World) over the pages of the open group */
.o-stats__groups {
    display: grid;
    grid-template-columns: repeat(var(--o-groups, 4), minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}
.o-stats__group {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 14px;
    border: 1px solid var(--o-line);
    border-radius: calc(var(--o-radius) + 4px);
    background: rgba(23, 18, 13, .45);
    color: var(--o-mist);
    text-decoration: none;
    font-family: var(--o-display);
    font-size: 17px;
    letter-spacing: .06em;
    white-space: nowrap;
    transition: color .25s, background-color .25s, border-color .25s, box-shadow .25s, transform .25s cubic-bezier(.2, .8, .2, 1);
}
.o-stats__group > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.o-stats__group .o-btn__ic { flex: none; color: var(--o-gold); opacity: .75; transition: opacity .25s, transform .3s cubic-bezier(.2, .8, .2, 1); }
.o-stats__group:hover { color: var(--o-star); border-color: rgba(240, 207, 138, .4); background: rgba(216, 173, 95, .07); transform: translateY(-1px); }
.o-stats__group:hover .o-btn__ic { opacity: 1; transform: scale(1.1); }
.o-stats__group.is-active {
    color: var(--o-gold-hi);
    border-color: rgba(240, 207, 138, .5);
    background: linear-gradient(180deg, rgba(216, 173, 95, .2), rgba(216, 173, 95, .06));
    box-shadow: 0 10px 24px -16px rgba(216, 173, 95, .8);
}
.o-stats__group.is-active .o-btn__ic { opacity: 1; color: var(--o-gold-hi); }
/* the little notch that ties the open group to its pages */
.o-stats__group.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 12px;
    height: 12px;
    transform: translateX(-50%) rotate(45deg);
    background: rgba(216, 173, 95, .16);
    border-right: 1px solid rgba(240, 207, 138, .45);
    border-bottom: 1px solid rgba(240, 207, 138, .45);
}
.o-stats__tabs--sub { justify-content: center; }
.o-stats__tabs--sub .o-stats__tab { flex: 0 1 auto; padding: 9px 16px; font-size: 15px; }
/* period chips of Top PvP / PK, PvP zone totals */
.o-stats__period { display: grid; gap: 10px; padding: 16px 20px; }
.o-stats__period-note { margin: 0; color: var(--o-mist); font-size: 14px; }
.o-pzone__totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.o-pzone__totals > div { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--o-line); border-radius: var(--o-radius); background: rgba(23, 18, 13, .35); text-align: center; }
.o-pzone__totals strong { font-family: var(--o-display); font-size: 22px; color: var(--o-gold-hi); }
.o-pzone__totals span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--o-mist); }
.o-stable th.is-sorted { color: var(--o-gold-hi); }

.o-stats__body > * + * { margin-top: 20px; }
.o-stats__updated {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0 0;
    color: var(--o-mist);
    font-size: 14px;
}
.o-stats__updated .o-btn__ic { color: var(--o-gold); }
.o-stats__dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }
.o-stats__empty { display: grid; justify-items: center; gap: 10px; padding: 48px 24px; text-align: center; color: var(--o-mist); }
.o-stats__empty .o-btn__ic { color: var(--o-gold); opacity: .7; }
.o-stats__empty p { margin: 0; }

/* counters */
.o-stat-counters {
    display: grid;
    grid-template-columns: repeat(var(--o-cols, 5), minmax(0, 1fr));
    gap: 16px;
}
.o-stat-counter {
    position: relative;
    display: grid;
    gap: 4px;
    padding: 22px 22px 20px;
    overflow: hidden;
    animation: o-rise .7s cubic-bezier(.2, .7, .2, 1) var(--o-delay, 0s) backwards;
}
.o-stat-counter::after {               /* soft gold glow in the corner */
    content: '';
    position: absolute;
    right: -30px; top: -30px;
    width: 110px; height: 110px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(216, 173, 95, .16), transparent);
    pointer-events: none;
}
.o-stat-counter__icon {
    width: 38px; height: 38px;
    display: grid; place-items: center;
    margin-bottom: 8px;
    border-radius: 50%;
    border: 1px solid var(--o-line);
    background: rgba(216, 173, 95, .08);
    color: var(--o-gold-hi);
}
.o-stat-counter__value {
    font-family: var(--o-display);
    font-weight: 700;
    font-size: clamp(26px, 2.6vw, 36px);
    line-height: 1.1;
    color: var(--o-gold-hi);
    font-variant-numeric: tabular-nums;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .6);
}
.o-stat-counter__label { color: var(--o-mist); font-size: 15px; }
.o-stat-counter.is-live .o-stat-counter__icon { color: #7fe0a6; border-color: rgba(95, 211, 141, .4); background: rgba(95, 211, 141, .1); }
.o-stat-counter.is-live .o-stat-counter__icon::after {
    content: '';
    position: absolute;
    width: 38px; height: 38px;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(95, 211, 141, .5);
    animation: o-live 2.2s ease-out infinite;
}
.o-stat-counter__icon { position: relative; }
@keyframes o-live { to { box-shadow: 0 0 0 12px rgba(95, 211, 141, 0); } }

/* two-column cards */
.o-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.o-stat-card { padding: 26px 28px; }
.o-stat-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    font-family: var(--o-display);
    font-weight: 700;
    font-size: 21px;
    color: var(--o-gold-hi);
}
.o-stat-card__title .o-btn__ic { color: var(--o-gold); }
.o-stat-card__foot { margin: 16px 0 0; color: var(--o-mist); font-size: 15px; }
.o-stat-card__foot strong { color: var(--o-star); }
.o-stat-card__none { margin: 0; color: var(--o-mist); }

/* races */
.o-races { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.o-race { display: grid; grid-template-columns: 1fr auto; row-gap: 7px; align-items: baseline; }
.o-race__name { font-weight: 500; color: var(--o-star); display: inline-flex; align-items: center; gap: 9px; }
.o-race__name::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--race); box-shadow: 0 0 8px var(--race); }
.o-race__count { font-variant-numeric: tabular-nums; color: var(--o-star); font-weight: 700; }
.o-race__count small { color: var(--o-mist); font-weight: 500; margin-left: 6px; }
.o-race__bar { grid-column: 1 / -1; height: 7px; border-radius: 99px; background: rgba(239, 228, 204, .07); overflow: hidden; }
.o-race__bar > span {
    display: block;
    height: 100%;
    width: var(--pct);
    border-radius: inherit;
    background: linear-gradient(90deg, color-mix(in srgb, var(--race) 55%, transparent), var(--race));
    box-shadow: 0 0 10px color-mix(in srgb, var(--race) 50%, transparent);
    transform-origin: left;
    animation: o-bar 1.1s cubic-bezier(.2, .7, .2, 1) .2s backwards;
}
@keyframes o-bar { from { transform: scaleX(0); } }

/* gender */
.o-gender { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; margin: 10px 0 22px; }
.o-gender__side { display: grid; gap: 2px; }
.o-gender__side--f { text-align: right; }
.o-gender__side strong { font-family: var(--o-display); font-size: clamp(34px, 3.4vw, 48px); line-height: 1; font-variant-numeric: tabular-nums; }
.o-gender__side--m strong { color: #8fb8e6; }
.o-gender__side--f strong { color: #e695b8; }
.o-gender__side span { color: var(--o-star); font-weight: 500; margin-top: 6px; }
.o-gender__side small { color: var(--o-mist); font-size: 14px; font-variant-numeric: tabular-nums; }
.o-gender__vs {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid var(--o-line);
    font-family: var(--o-display);
    font-weight: 700;
    color: var(--o-gold);
    background: rgba(216, 173, 95, .06);
}
.o-gender__bar { display: flex; height: 12px; border-radius: 99px; overflow: hidden; gap: 3px; }
.o-gender__fill { display: block; height: 100%; border-radius: 99px; animation: o-bar 1.1s cubic-bezier(.2, .7, .2, 1) .2s backwards; }
.o-gender__fill--m { width: var(--m); background: linear-gradient(90deg, #4f7fb8, #8fb8e6); transform-origin: left; }
.o-gender__fill--f { flex: 1; background: linear-gradient(90deg, #e695b8, #b8507d); transform-origin: right; }

/* top 5 lists */
.o-stat-top__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.o-stat-top__head .o-stat-card__title { margin: 0; }
.o-stat-top__head .o-link-more { color: var(--o-gold); text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; }
.o-stat-top__head .o-link-more:hover { color: var(--o-gold-hi); }
.o-toplist { list-style: none; margin: 0; padding: 0; }
.o-toplist__item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 12px 8px;
    border-bottom: 1px solid rgba(216, 173, 95, .1);
    border-radius: 6px;
    transition: background-color .25s;
}
.o-toplist__item:last-child { border-bottom: 0; }
.o-toplist__item:hover { background: rgba(216, 173, 95, .06); }
.o-toplist__who { display: grid; gap: 2px; min-width: 0; }
.o-toplist__who small { color: var(--o-mist); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-toplist__value { font-family: var(--o-display); font-weight: 700; font-size: 20px; color: var(--o-gold-hi); font-variant-numeric: tabular-nums; white-space: nowrap; }
.o-toplist__value small { font-family: var(--o-body); font-size: 13px; font-weight: 500; color: var(--o-mist); letter-spacing: .04em; }

/* place medals */
.o-rank {
    width: 32px; height: 32px;
    display: inline-grid; place-items: center;
    border-radius: 50%;
    border: 1px solid var(--o-line);
    font-family: var(--o-display);
    font-weight: 700;
    font-size: 14px;
    color: var(--o-mist);
    font-variant-numeric: tabular-nums;
}
.o-rank--1, .o-rank--2, .o-rank--3 { border: 0; color: #1c1406; text-shadow: 0 1px 0 rgba(255, 255, 255, .35); }
.o-rank--1 { background: radial-gradient(circle at 35% 30%, #fff1c4, #e9bf5e 55%, #a9781f); box-shadow: 0 0 14px -2px rgba(233, 191, 94, .7); }
.o-rank--2 { background: radial-gradient(circle at 35% 30%, #ffffff, #c9ced6 55%, #8a919c); box-shadow: 0 0 12px -3px rgba(201, 206, 214, .6); }
.o-rank--3 { background: radial-gradient(circle at 35% 30%, #ffd9b8, #cd8a52 55%, #8c5226); box-shadow: 0 0 12px -3px rgba(205, 138, 82, .6); }

/* crests next to names */
.o-crests { display: inline-flex; gap: 1px; flex: none; }
.o-crests img { display: block; image-rendering: pixelated; border-radius: 1px; }
.o-online-dot { width: 8px; height: 8px; border-radius: 50%; background: #5fd38d; box-shadow: 0 0 8px rgba(95, 211, 141, .8); flex: none; }

/* ranking tables */
.o-stable-wrap { padding: 6px 10px; overflow-x: auto; }
.o-stable { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.o-stable th {
    padding: 14px 14px 12px;
    text-align: left;
    font-family: var(--o-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .08em;
    color: var(--o-gold);
    border-bottom: 1px solid var(--o-line);
    white-space: nowrap;
}
.o-stable td { padding: 13px 14px; border-bottom: 1px solid rgba(216, 173, 95, .09); color: var(--o-star); vertical-align: middle; }
.o-stable tbody tr:last-child td { border-bottom: 0; }
.o-stable tbody tr { transition: background-color .2s; }
.o-stable tbody tr:hover td { background: rgba(216, 173, 95, .05); }
.o-stable tbody tr.is-top td { background: rgba(216, 173, 95, .045); }
.o-stable tbody tr.is-top:hover td { background: rgba(216, 173, 95, .09); }
.o-stable__rank { width: 56px; }
.o-stable__num { text-align: right !important; white-space: nowrap; }
.o-stable__muted { color: var(--o-mist) !important; }
.o-stable__value { font-family: var(--o-display); font-weight: 700; font-size: 17px; color: var(--o-gold-hi) !important; }
.o-stable__name { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.o-stable__name strong { font-weight: 700; color: var(--o-star); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o-stable__sub { display: none; margin-top: 3px; font-size: 14px; color: var(--o-mist); }
.o-stable__sub--always { display: block; }
.o-tag {
    display: inline-flex; align-items: center; gap: 5px;
    margin: 2px 6px 2px 0;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid var(--o-line);
    font-size: 13px;
    color: var(--o-star);
    white-space: nowrap;
}
.o-tag .o-btn__ic { color: var(--o-gold); }

/* castles */
.o-castles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.o-castle { padding: 0; overflow: hidden; animation: o-rise .7s cubic-bezier(.2, .7, .2, 1) var(--o-delay, 0s) backwards; transition: border-color .3s, transform .35s cubic-bezier(.2, .7, .2, 1); }
.o-castle:hover { border-color: rgba(240, 207, 138, .5); transform: translateY(-3px); }
.o-castle__media { position: relative; aspect-ratio: 16 / 7; background: linear-gradient(160deg, rgba(216, 173, 95, .14), rgba(12, 10, 8, .6)); overflow: hidden; }
.o-castle__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.o-castle:hover .o-castle__media img { transform: scale(1.04); }
.o-castle__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 10, 8, .85), transparent 65%); }
.o-castle__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--o-gold); opacity: .55; }
.o-castle__name {
    position: absolute; left: 20px; bottom: 12px; z-index: 1;
    margin: 0;
    font-family: var(--o-display); font-weight: 700; font-size: 24px;
    color: #f6e7c4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .7);
}
.o-castle__facts { margin: 0; padding: 14px 20px 18px; display: grid; gap: 0; }
.o-castle__facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(216, 173, 95, .09); }
.o-castle__facts > div:last-child { border-bottom: 0; }
.o-castle__facts dt { color: var(--o-mist); }
.o-castle__facts dd { margin: 0; color: var(--o-star); font-weight: 500; text-align: right; display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.o-castle__siege dd { color: var(--o-gold-hi); }
.o-castle__siege .o-btn__ic { color: var(--o-gold); }

@media (max-width: 1080px) {
    .o-stat-counters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .o-stable__hide-md { display: none; }
    .o-stats__group { gap: 7px; padding: 11px 8px; font-size: 15px; letter-spacing: .02em; line-height: 1.15; white-space: normal; text-align: center; }
}
@media (max-width: 700px) {
    .o-stats { padding-top: 28px; }
    .o-stat-counters { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .o-stat-counter { padding: 18px; }
    .o-stat-card { padding: 22px 20px; }
    .o-stable__hide-sm { display: none; }
    .o-stable__sub { display: block; }
    .o-stable th, .o-stable td { padding-left: 8px; padding-right: 8px; }
    .o-stats__tab { flex: 0 0 auto; padding: 9px 13px; font-size: 15px; }
    .o-stats__groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .o-stats__group { padding: 10px 8px; font-size: 14.5px; gap: 7px; letter-spacing: .02em; line-height: 1.15; white-space: normal; text-align: center; }
    .o-stats__group.is-active::after { display: none; }
    .o-stats__group:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .o-stats__tabs--sub { justify-content: flex-start; }
    .o-stats__tabs--sub .o-stats__tab { flex: 0 0 auto; padding: 8px 13px; }
    .o-stats__period { padding: 14px 16px; }
    .o-pzone__totals strong { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
    .o-stat-counter, .o-castle, .o-race__bar > span, .o-gender__fill { animation: none; }
    .o-stat-counter.is-live .o-stat-counter__icon::after { animation: none; }
}

/* light theme */
html[data-theme="light"] .o-stats__server { background: rgba(255, 252, 245, .78); }
html[data-theme="light"] .o-stats__server:hover { background: rgba(176, 125, 42, .12); border-color: rgba(154, 108, 34, .55); }
html[data-theme="light"] .o-stats__server.is-active { color: #1c1406; background: linear-gradient(180deg, #f3d48c, #d9ad55 60%, #b8862f); }
html[data-theme="light"] .o-stats__tabs { background: rgba(255, 252, 245, .6); }
html[data-theme="light"] .o-stats__group { background: rgba(255, 252, 245, .6); }
html[data-theme="light"] .o-stats__group:hover { background: rgba(176, 125, 42, .08); }
html[data-theme="light"] .o-stats__group.is-active {
    color: #6b4a14;
    background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(246, 233, 205, .95));
    border-color: rgba(154, 108, 34, .5);
}
html[data-theme="light"] .o-stats__group.is-active .o-btn__ic { color: #9a6c22; }
html[data-theme="light"] .o-stats__group.is-active::after { background: rgba(246, 233, 205, 1); border-color: rgba(154, 108, 34, .5); }
html[data-theme="light"] .o-pzone__totals > div { background: rgba(255, 252, 245, .6); }
html[data-theme="light"] .o-pzone__totals strong { color: #8a5d16; }
html[data-theme="light"] .o-stats__tab:hover { background: rgba(176, 125, 42, .08); }
html[data-theme="light"] .o-stats__tab.is-active {
    background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(246, 233, 205, .9));
    box-shadow: inset 0 0 0 1px rgba(154, 108, 34, .45), 0 6px 14px -10px rgba(120, 80, 25, .6);
}
html[data-theme="light"] .o-stat-counter__value { text-shadow: 0 1px 0 rgba(255, 253, 245, .9); }
html[data-theme="light"] .o-stat-counter__icon { background: rgba(255, 255, 255, .6); }
html[data-theme="light"] .o-race__bar,
html[data-theme="light"] .o-gender__bar { background: rgba(120, 85, 30, .1); }
html[data-theme="light"] .o-gender__side--m strong { color: #3f6fa8; }
html[data-theme="light"] .o-gender__side--f strong { color: #b8507d; }
html[data-theme="light"] .o-rank { color: var(--o-mist); }
html[data-theme="light"] .o-stable td { border-bottom-color: rgba(120, 85, 30, .1); }
html[data-theme="light"] .o-stable tbody tr.is-top td { background: rgba(214, 160, 60, .07); }
html[data-theme="light"] .o-toplist__item { border-bottom-color: rgba(120, 85, 30, .1); }
html[data-theme="light"] .o-castle__media { background: linear-gradient(160deg, rgba(214, 160, 60, .22), rgba(242, 233, 214, .9)); }
html[data-theme="light"] .o-castle__facts > div { border-bottom-color: rgba(120, 85, 30, .1); }

/* Home page "Rankings" block: same look as the statistics pages */
.o-rankings__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.o-rankings__head .o-h2 { margin: 0; }
.o-rankings__head .o-link-more { color: var(--o-gold); text-decoration: none; font-weight: 700; white-space: nowrap; }
.o-rankings__head .o-link-more:hover { color: var(--o-gold-hi); }
button.o-stats__tab { border: 0; background: none; font-family: var(--o-body); cursor: var(--o-cur-link, pointer); }
button.o-stats__tab.is-active { background: linear-gradient(180deg, rgba(216, 173, 95, .2), rgba(216, 173, 95, .08)); }
html[data-theme="light"] button.o-stats__tab.is-active { background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(246, 233, 205, .9)); }
.o-rankings [data-panel] { animation: o-rise .45s cubic-bezier(.2, .7, .2, 1) both; }
.o-rankings [data-panel][hidden] { display: none; }
.o-castle-ic { width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--o-line); color: var(--o-gold); flex: none; }
.o-stable__date { font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .o-rankings [data-panel] { animation: none; } }

/* statistics block while the next tab / server is loading (js/orion-ui.js) */
.o-stats .o-stats__body, .o-stats .o-stats__updated { transition: opacity .25s ease; }
.o-stats.is-loading .o-stats__body, .o-stats.is-loading .o-stats__updated { opacity: .45; pointer-events: none; }

/* dark theme: slide pictures without the extra glow — no firelight patch under the figure (it was cut
   off at the bottom of the hero) and no gold halo around it; the light theme keeps its own soft shadow */
html:not([data-theme="light"]) .o-hero__figure::after { content: none; }
html:not([data-theme="light"]) .o-hero__character { filter: none; }

/* ==========================================================================
   Server menu (views/components/server-select.blade.php) — statistics pages and About
   ========================================================================== */
.o-swap-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.o-srv { position: relative; z-index: 5; min-width: 250px; }
.o-srv__current {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 14px 9px 16px;
    border: 1px solid var(--o-line);
    border-radius: calc(var(--o-radius) + 2px);
    background: rgba(23, 18, 13, .62);
    color: var(--o-star);
    text-align: left;
    cursor: var(--o-cur-link, pointer);
    transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.o-srv__current:hover,
.o-srv.is-open .o-srv__current {
    border-color: rgba(240, 207, 138, .55);
    background: rgba(216, 173, 95, .1);
    box-shadow: 0 0 0 3px rgba(216, 173, 95, .07), 0 6px 18px rgba(0, 0, 0, .35);
}
.o-srv__current:focus-visible { outline: 2px solid var(--o-gold-hi); outline-offset: 2px; }
.o-srv__text { flex: 1; display: grid; gap: 1px; min-width: 0; }
.o-srv__text small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--o-mist); }
.o-srv__name { font-family: var(--o-display); font-weight: 700; font-size: 18px; color: var(--o-gold-hi); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-srv__chev { flex: none; color: var(--o-gold); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.o-srv.is-open .o-srv__chev { transform: rotate(180deg); }
.o-srv__dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--o-mist); opacity: .7; }
.o-srv__dot.is-up { background: #5fd38d; opacity: 1; box-shadow: 0 0 8px rgba(95, 211, 141, .8); }
.o-srv__dot.is-down { background: #d46a5a; opacity: .9; }
.o-srv__list {
    position: absolute;
    left: 0; right: 0; top: calc(100% + 6px);
    margin: 0;
    padding: 6px;
    display: grid;
    gap: 2px;
    border: 1px solid var(--o-line);
    border-radius: calc(var(--o-radius) + 2px);
    background: #17120d;
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s ease, transform .25s cubic-bezier(.2, .8, .2, 1), visibility 0s .25s;
}
.o-srv.is-open .o-srv__list { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .25s cubic-bezier(.2, .8, .2, 1); }
.o-srv__item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 12px;
    border: 0;
    border-radius: var(--o-radius);
    background: none;
    color: var(--o-star);
    font: 700 16px/1.2 var(--o-display);
    text-align: left;
    cursor: var(--o-cur-link, pointer);
    transition: background-color .2s, color .2s;
}
.o-srv__item:hover, .o-srv__item:focus-visible { background: rgba(216, 173, 95, .12); color: var(--o-gold-hi); outline: none; }
[data-swap].is-loading > .o-wrap > :not(.o-swap-head) { opacity: .45; pointer-events: none; transition: opacity .25s ease; }
.o-guide__head.o-swap-head .o-guide__lead { margin-bottom: 0; }
@media (max-width: 700px) { .o-srv { min-width: 0; width: 100%; } }
@media (prefers-reduced-motion: reduce) { .o-srv__list, .o-srv__chev { transition: none; } }

html[data-theme="light"] .o-srv__current { background: rgba(255, 252, 245, .78); }
html[data-theme="light"] .o-srv__current:hover,
html[data-theme="light"] .o-srv.is-open .o-srv__current {
    background: rgba(176, 125, 42, .12);
    border-color: rgba(154, 108, 34, .55);
    box-shadow: 0 0 0 3px rgba(176, 125, 42, .08), 0 6px 16px -8px rgba(90, 60, 20, .35);
}
html[data-theme="light"] .o-srv__list { background: #fffaf0; box-shadow: 0 18px 36px -14px rgba(90, 60, 20, .45); }
html[data-theme="light"] .o-srv__item:hover, html[data-theme="light"] .o-srv__item:focus-visible { background: rgba(176, 125, 42, .12); }

/* ==========================================================================
   Server cards: engraved name and chronicle, start timer, slimmer uptime
   ========================================================================== */
.o-server { grid-template-areas: "emblem body" "emblem foot" "launch launch" "uptime uptime"; }

/* name: gold metal pressed into the card, like the slider title */
.o-server__name {
    background: linear-gradient(180deg, #fff6e2 0%, #f0cf8a 48%, #c99442 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, .7)) drop-shadow(0 2px 0 rgba(70, 42, 12, .85)) drop-shadow(0 6px 12px rgba(0, 0, 0, .4));
}
/* chronicle / rates: small engraved capitals between thin gold lines */
.o-server__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.o-server__chronicle,
.o-server__rates {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--o-display);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: rgb(var(--acc));
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .8), 0 0 12px rgba(var(--acc), .35);
}
.o-server__chronicle::before {
    content: '';
    width: 22px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--acc), .9));
}
.o-server__chronicle::after {
    content: '';
    width: 5px; height: 5px;
    transform: rotate(45deg);
    background: rgba(var(--acc), .9);
    box-shadow: 0 0 6px rgba(var(--acc), .7);
}
.o-server__rates { color: var(--o-star); letter-spacing: .16em; }

/* start timer */
.o-launch {
    grid-area: launch;
    display: grid;
    gap: 10px;
    padding: 14px 16px 12px;
    border-radius: var(--o-radius);
    border: 1px solid rgba(var(--acc), .22);
    background:
        radial-gradient(120% 160% at 100% 0%, rgba(var(--acc), .12), transparent 60%),
        rgba(12, 10, 8, .45);
}
.o-launch__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.o-launch__label { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; letter-spacing: .04em; color: var(--o-star); }
.o-launch__label .o-btn__ic { color: rgb(var(--acc)); }
.o-launch.is-live .o-launch__label .o-btn__ic { color: #7fe0a6; }
.o-launch__date { font-size: 13px; color: var(--o-mist); font-variant-numeric: tabular-nums; }
.o-launch__date small { opacity: .8; }
.o-launch__units { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.o-launch__unit { flex: 1; display: grid; justify-items: center; gap: 4px; min-width: 0; }
.o-launch__num {
    width: 100%;
    padding: 7px 0 6px;
    border-radius: 6px;
    text-align: center;
    font-family: var(--o-display);
    font-weight: 700;
    font-size: clamp(22px, 2.2vw, 28px);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: #f6e7c4;
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .25)), rgba(var(--acc), .1);
    box-shadow: inset 0 1px 0 rgba(255, 240, 210, .12), inset 0 -2px 6px rgba(0, 0, 0, .35), 0 0 0 1px rgba(var(--acc), .25);
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .8), 0 0 14px rgba(var(--acc), .45);
}
.o-launch__num.is-tick { animation: o-tick .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes o-tick { 0% { transform: translateY(-4px); opacity: .35; } 100% { transform: none; opacity: 1; } }
.o-launch__unit small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--o-mist); }
.o-launch__sep { padding-top: 6px; font-family: var(--o-display); font-weight: 700; font-size: 22px; color: rgba(var(--acc), .7); animation: o-blink 2s steps(1) infinite; }
@keyframes o-blink { 50% { opacity: .25; } }
.o-launch.is-live { border-color: rgba(95, 211, 141, .28); }
.o-launch.is-live .o-launch__num { color: #d9f5e3; text-shadow: 0 -1px 0 rgba(0, 0, 0, .8), 0 0 14px rgba(95, 211, 141, .35); }

/* slimmer uptime, so the timer fits above it */
.o-uptime { padding-top: 10px; }
.o-uptime__head { margin-bottom: 6px; font-size: 13px; }
.o-uptime__pct { font-size: 14px; }
.o-uptime__bars { height: 12px; gap: 2px; }
.o-uptime__bar { border-radius: 2px; }
.o-server { row-gap: 14px; }

@media (prefers-reduced-motion: reduce) {
    .o-launch__num.is-tick, .o-launch__sep { animation: none; }
}

/* light theme */
html[data-theme="light"] .o-server__name {
    background: linear-gradient(180deg, #c99a45 0%, #94651f 55%, #6c4613 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 1px 0 rgba(255, 250, 238, .9)) drop-shadow(0 -1px 0 rgba(90, 55, 15, .25));
}
html[data-theme="light"] .o-server__chronicle,
html[data-theme="light"] .o-server__rates {
    color: color-mix(in srgb, rgb(var(--acc)) 60%, #4a3416);
    text-shadow: 0 1px 0 rgba(255, 253, 245, .95);
}
html[data-theme="light"] .o-server__rates { color: var(--o-star); }
html[data-theme="light"] .o-launch {
    background: radial-gradient(120% 160% at 100% 0%, rgba(var(--acc), .14), transparent 60%), rgba(255, 252, 245, .65);
}
html[data-theme="light"] .o-launch__num {
    color: #6c4613;
    background: linear-gradient(180deg, #fffdf6, #f1e4c8);
    box-shadow: inset 0 1px 0 #fff, inset 0 -2px 5px rgba(120, 80, 25, .12), 0 0 0 1px rgba(154, 108, 34, .3);
    text-shadow: 0 1px 0 rgba(255, 255, 255, .9);
}
html[data-theme="light"] .o-launch.is-live .o-launch__num { color: #23704a; text-shadow: 0 1px 0 rgba(255, 255, 255, .9); }

/* timer: only the digits move when they change — the tile itself stays still */
.o-launch__num.is-tick { animation: none; }
.o-launch__digits { display: inline-block; }
.o-launch__digits.is-tick { animation: o-tick .45s cubic-bezier(.2, .8, .2, 1); }
@media (prefers-reduced-motion: reduce) { .o-launch__digits.is-tick { animation: none; } }

/* server card: two buttons (Start to play + About) */
.o-server__ctas { display: inline-flex; flex-wrap: wrap; gap: 8px; }

/* server card: short status ("Online" / "Offline"), so status + both buttons fit on one line;
   on narrow cards the buttons still move below the status instead of being cut off */
.o-server__foot { flex-wrap: wrap; row-gap: 10px; }
.o-server__status { flex: none; padding: 6px 12px; gap: 8px; white-space: nowrap; }
.o-server__count {
    display: inline-flex; align-items: center; gap: 4px;
    margin-left: 2px; padding-left: 9px;
    border-left: 1px solid rgba(181, 166, 136, .3);
    font-size: 15px;
}
.o-server__count .o-btn__ic { opacity: .8; }
.o-server__ctas { flex-wrap: nowrap; gap: 6px; }
.o-server__cta { padding: 8px 12px; }
@media (max-width: 560px) {
    .o-server__ctas { flex-wrap: wrap; }
}
.o-server__foot { column-gap: 10px; }
.o-server__cta { padding: 8px 11px; gap: 6px; }
.o-server__count { padding-left: 7px; gap: 3px; }
.o-server__status { padding: 6px 11px; }

/* ==========================================================================
   Account chip (header, signed in): avatar letter + name + balance in one chip,
   panel with the balance ("Top up") and the account links
   ========================================================================== */
.o-header .o-user.o-account .o-account__btn {
    height: 44px;
    padding: 0 14px 0 4px;
    gap: 10px;
    border-radius: 999px;
}
.o-account__avatar {
    flex: none;
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border-radius: 50%;
    font-family: var(--o-display);
    font-weight: 700;
    font-size: 16px;
    color: #1c1406;
    background: radial-gradient(circle at 35% 30%, #fff1c4, #e9bf5e 55%, #a9781f);
    box-shadow: 0 0 0 2px rgba(240, 207, 138, .25), 0 4px 10px -4px rgba(216, 173, 95, .8);
    text-shadow: 0 1px 0 rgba(255, 255, 255, .4);
}
.o-account__text { display: grid; gap: 2px; text-align: left; line-height: 1.05; min-width: 0; }
.o-account__name { font-weight: 700; font-size: 14px; color: var(--o-star); max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o-account__bal { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--o-gold-hi); font-variant-numeric: tabular-nums; white-space: nowrap; }
.o-coin {
    flex: none;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, var(--o-gold-hi), var(--o-gold) 55%, #8a6428);
    box-shadow: 0 0 6px rgba(240, 207, 138, .5);
}
.o-header .o-user.o-account .dropdown-menu.o-account__menu { min-width: 250px; padding: 8px; border-radius: calc(var(--o-radius) + 4px); }
.o-account__wallet {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2px 12px;
    margin-bottom: 6px;
    padding: 12px 12px 12px 14px;
    border-radius: var(--o-radius);
    background: radial-gradient(120% 160% at 100% 0%, rgba(216, 173, 95, .16), transparent 60%), rgba(12, 10, 8, .35);
    border: 1px solid rgba(216, 173, 95, .2);
}
.o-account__wallet-label { grid-column: 1; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--o-mist); }
.o-account__wallet-value { grid-column: 1; display: inline-flex; align-items: center; gap: 7px; font-family: var(--o-display); font-weight: 700; font-size: 20px; color: var(--o-gold-hi); font-variant-numeric: tabular-nums; }
.o-account__wallet-value small { font-family: var(--o-body); font-size: 13px; color: var(--o-mist); }
.o-account__wallet .o-coin { width: 11px; height: 11px; }
.o-header .o-user.o-account .o-account__wallet .o-account__topup {
    grid-column: 2; grid-row: 1 / span 2;
    display: inline-flex; width: auto; min-height: 34px; padding: 0 12px; gap: 6px;
    color: #1c1406; font-size: 12px; text-align: center; border-radius: var(--o-radius);
}
.o-header .o-user.o-account .o-account__wallet .o-account__topup:hover { background: linear-gradient(180deg, var(--o-gold-hi), var(--o-gold) 55%, #b07d2a); color: #1c1406; }
.o-header .o-user.o-account .dropdown-menu > a,
.o-header .o-user.o-account .dropdown-menu form > button {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 10px;
    border-radius: 6px;
    font-size: 15px;
}
.o-header .o-user.o-account .dropdown-menu > a .o-btn__ic,
.o-header .o-user.o-account .dropdown-menu form > button .o-btn__ic { color: var(--o-gold); opacity: .85; }
.o-header .o-user.o-account .dropdown-menu form { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid var(--o-line); }
.o-header .o-user.o-account .o-account__exit:hover { color: #ff9c8f; }
.o-header .o-user.o-account .o-account__exit:hover .o-btn__ic { color: #ff9c8f; }

html[data-theme="light"] .o-account__wallet { background: radial-gradient(120% 160% at 100% 0%, rgba(214, 160, 60, .16), transparent 60%), rgba(255, 255, 255, .6); }
html[data-theme="light"] .o-header .o-user.o-account .o-account__exit:hover,
html[data-theme="light"] .o-header .o-user.o-account .o-account__exit:hover .o-btn__ic { color: #b3362c; }
@media (max-width: 1799px) and (min-width: 1351px) {
    .o-account__name { max-width: 90px; }
}
.o-header .o-user.o-account .o-account__wallet .o-account__topup {
    background: linear-gradient(180deg, var(--o-gold-hi), var(--o-gold) 55%, #b07d2a);
    border: 0;
    box-shadow: 0 0 0 1px rgba(240, 207, 138, .4) inset, 0 6px 16px -8px rgba(216, 173, 95, .8);
}
html[data-theme="light"] .o-header .o-user.o-account .o-account__wallet .o-account__topup,
html[data-theme="light"] .o-header .o-user.o-account .o-account__wallet .o-account__topup:hover {
    background: linear-gradient(180deg, #f3d48c, #d9ad55 55%, #b8862f);
}

/* ==========================================================================
   News typography: kicker + date + reading time, engraved gold title, ornament rule,
   clamped excerpt, "Read more" with arrow; article page: lead paragraph, drop cap, prose details
   ========================================================================== */
.o-news-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; }
.o-news-card__kicker {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 3px 10px 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(216, 173, 95, .35);
    background: rgba(216, 173, 95, .08);
    font-family: var(--o-display);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--o-gold-hi);
}
.o-news-card__kicker::before { content: ''; width: 5px; height: 5px; transform: rotate(45deg); background: var(--o-gold); box-shadow: 0 0 6px rgba(216, 173, 95, .8); }
.o-news-card__meta .o-news-card__date { font-size: 13px; letter-spacing: .02em; }
.o-news-card__read { display: inline-flex; align-items: center; gap: 5px; color: var(--o-mist); }
.o-news-card__read .o-btn__ic { opacity: .8; }

.o-news-card__title { letter-spacing: .02em; }
.o-news-card__title-text {
    background: linear-gradient(180deg, #fff6e2 0%, #f0cf8a 52%, #c99442 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, .7)) drop-shadow(0 2px 0 rgba(70, 42, 12, .7));
    transition: filter .3s ease;
}
.o-news-card:hover .o-news-card__title-text { filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, .7)) drop-shadow(0 2px 0 rgba(70, 42, 12, .7)) drop-shadow(0 0 12px rgba(240, 207, 138, .35)); }

/* small ornament under the title: line + diamond */
.o-news-card__rule { display: flex; align-items: center; gap: 8px; width: 120px; margin: -2px 0 2px; }
.o-news-card__rule::before { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(216, 173, 95, .9), transparent); }
.o-news-card__rule::after { content: ''; order: -1; width: 6px; height: 6px; transform: rotate(45deg); background: var(--o-gold); box-shadow: 0 0 6px rgba(216, 173, 95, .7); }

.o-news-card__excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    color: color-mix(in srgb, var(--o-star) 72%, var(--o-mist));
    font-size: 16px;
    line-height: 1.65;
}
.o-news-card.is-featured .o-news-card__excerpt, .o-news__grid--1 .o-news-card__excerpt { -webkit-line-clamp: 4; }

.o-news-card__more {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--o-display);
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--o-gold);
    padding-bottom: 3px;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: color .25s ease, background-size .35s cubic-bezier(.2, .7, .2, 1);
}
.o-news-card__more .o-btn__ic { transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.o-news-card:hover .o-news-card__more,
.o-news-card__more:hover { color: var(--o-gold-hi); background-size: 100% 1px; }
.o-news-card:hover .o-news-card__more .o-btn__ic { transform: translateX(4px); }

/* article page */
.o-article__head .o-news-card__meta { margin-bottom: 12px; }
.o-article__title {
    background: linear-gradient(180deg, #fff6e2 0%, #f0cf8a 52%, #c99442 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, .7)) drop-shadow(0 2px 0 rgba(70, 42, 12, .8)) drop-shadow(0 8px 16px rgba(0, 0, 0, .35));
}
.o-article__head .o-news-card__rule { width: 160px; margin-top: 14px; }
.o-prose { font-size: 17.5px; line-height: 1.75; color: color-mix(in srgb, var(--o-star) 88%, var(--o-mist)); }
.o-prose > p:first-child { font-size: 19.5px; line-height: 1.65; color: var(--o-star); }
.o-prose h2 { font-size: 26px; padding-bottom: 8px; border-bottom: 1px solid var(--o-line); }
.o-prose h3 { font-size: 21px; }
.o-prose strong { color: var(--o-star); }
.o-prose a { color: var(--o-gold-hi); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: color .2s; }
.o-prose a:hover { color: #fff1c9; }
.o-prose ul { list-style: none; padding-left: 1.4em; }
.o-prose ul > li { position: relative; }
.o-prose ul > li::before { content: ''; position: absolute; left: -1.1em; top: .72em; width: 6px; height: 6px; transform: rotate(45deg); background: var(--o-gold); box-shadow: 0 0 6px rgba(216, 173, 95, .6); }
.o-prose ol > li::marker { color: var(--o-gold); font-weight: 700; }
.o-prose blockquote {
    position: relative;
    padding: 14px 20px 14px 22px;
    border-left: 3px solid var(--o-gold);
    border-radius: 0 var(--o-radius) var(--o-radius) 0;
    background: rgba(216, 173, 95, .07);
    color: var(--o-star);
    font-style: italic;
}
.o-prose hr { border: 0; height: 1px; margin: 2em 0; background: linear-gradient(90deg, transparent, var(--o-gold), transparent); }
.o-prose img { box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .8); }

/* light theme */
html[data-theme="light"] .o-news-card__title-text,
html[data-theme="light"] .o-article__title {
    background: linear-gradient(180deg, #c99a45 0%, #94651f 55%, #6c4613 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 1px 0 rgba(255, 250, 238, .9)) drop-shadow(0 -1px 0 rgba(90, 55, 15, .2));
}
html[data-theme="light"] .o-news-card:hover .o-news-card__title-text { filter: drop-shadow(0 1px 0 rgba(255, 250, 238, .9)) drop-shadow(0 0 10px rgba(214, 160, 60, .3)); }
html[data-theme="light"] .o-news-card__kicker { background: rgba(255, 255, 255, .6); border-color: rgba(154, 108, 34, .35); }
html[data-theme="light"] .o-prose a:hover { color: #6c4613; }
html[data-theme="light"] .o-prose blockquote { background: rgba(214, 160, 60, .08); }

/* Facebook-style news time ("prieš 5 min."), full date in the tooltip */
.o-reltime { display: inline-flex; align-items: center; gap: 5px; cursor: var(--o-cur, default); }
.o-reltime .o-news-card__clock { opacity: .85; }

/* news category label (colour per category: App\Models\News::CATEGORIES) and the server chip */
.o-news-card__kicker { --cat: #d8ad5f; color: color-mix(in srgb, var(--cat) 75%, #fff4dc); border-color: color-mix(in srgb, var(--cat) 45%, transparent); background: color-mix(in srgb, var(--cat) 12%, transparent); }
.o-news-card__kicker::before { background: var(--cat); box-shadow: 0 0 6px color-mix(in srgb, var(--cat) 80%, transparent); }
.o-news-card__server {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 2px 9px;
    border-radius: 999px;
    border: 1px solid var(--o-line);
    color: var(--o-star);
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
}
.o-news-card__server .o-btn__ic { color: var(--o-gold); }
html[data-theme="light"] .o-news-card__kicker { color: color-mix(in srgb, var(--cat) 55%, #3a2a14); background: color-mix(in srgb, var(--cat) 14%, #fffaf0); }
html[data-theme="light"] .o-news-card__server { background: rgba(255, 255, 255, .6); }

/* news label: category (coloured) and server joined in one pill — [ ◆ EVENT | (( Fade PvP x2000 ] */
.o-news-tag {
    --cat: #d8ad5f;
    display: inline-flex;
    align-items: stretch;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--cat) 45%, transparent);
    background: color-mix(in srgb, var(--cat) 8%, rgba(12, 10, 8, .35));
    overflow: hidden;
    white-space: nowrap;
}
.o-news-tag__cat {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 3px 11px 3px 9px;
    font-family: var(--o-display);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--cat) 75%, #fff4dc);
    background: color-mix(in srgb, var(--cat) 16%, transparent);
}
.o-news-tag__cat::before {
    content: '';
    width: 5px; height: 5px;
    transform: rotate(45deg);
    background: var(--cat);
    box-shadow: 0 0 6px color-mix(in srgb, var(--cat) 80%, transparent);
}
.o-news-tag__srv {
    position: relative;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 3px 11px 3px 10px;
    font-weight: 700;
    font-size: 12px;
    color: var(--o-star);
}
.o-news-tag__srv::before {            /* thin divider between the two halves */
    content: '';
    position: absolute;
    left: 0; top: 4px; bottom: 4px;
    width: 1px;
    background: color-mix(in srgb, var(--cat) 45%, transparent);
}
.o-news-tag__srv .o-btn__ic { color: color-mix(in srgb, var(--cat) 80%, #fff4dc); }
html[data-theme="light"] .o-news-tag { background: color-mix(in srgb, var(--cat) 6%, #fffaf0); }
html[data-theme="light"] .o-news-tag__cat { color: color-mix(in srgb, var(--cat) 55%, #3a2a14); background: color-mix(in srgb, var(--cat) 16%, #fffaf0); }
html[data-theme="light"] .o-news-tag__srv .o-btn__ic { color: color-mix(in srgb, var(--cat) 60%, #3a2a14); }

/* server menu in the header: a chip like the account / theme / language chips */
.o-srv--compact { min-width: 0; z-index: 80; }
.o-srv--compact .o-srv__current {
    height: 44px;
    padding: 0 12px 0 14px;
    gap: 9px;
    border-radius: 999px;
}
.o-srv--compact .o-srv__text small { font-size: 10px; letter-spacing: .16em; }
.o-srv--compact .o-srv__name { font-size: 14px; max-width: 150px; }
.o-srv--compact .o-srv__chev { width: 15px; height: 15px; }
.o-srv--compact .o-srv__list { left: auto; right: 0; min-width: 230px; top: calc(100% + 10px); }
.o-srv--compact .o-srv__item { font-size: 15px; }
/* narrower screens: only the status dot + arrow (the name is in the tooltip) */
@media (max-width: 1599px) {
    .o-srv--compact .o-srv__text { display: none; }
    .o-srv--compact .o-srv__current { padding: 0 10px 0 13px; gap: 7px; }
}

/* ==========================================================================
   Contacts page (views/pages/contacts.blade.php)
   ========================================================================== */
.o-contacts__head { margin-bottom: 26px; }
.o-contacts__lead { margin: 8px 0 0; color: var(--o-mist); font-size: 18px; max-width: 640px; }
.o-contacts__hours { display: inline-flex; align-items: center; gap: 7px; margin: 14px 0 0; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--o-line); color: var(--o-star); font-size: 14px; }
.o-contacts__hours .o-btn__ic { color: var(--o-gold); }
.o-contacts__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.o-contact {
    --acc-c: #d8ad5f;
    display: flex; align-items: center; gap: 16px;
    padding: 18px 20px;
    text-decoration: none;
    color: var(--o-star);
    animation: o-rise .6s cubic-bezier(.2, .7, .2, 1) var(--o-delay, 0s) backwards;
    transition: border-color .3s, transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .3s;
}
.o-contact:hover, .o-contact:focus-visible {
    border-color: color-mix(in srgb, var(--acc-c) 60%, transparent);
    transform: translateY(-3px);
    box-shadow: 0 16px 36px -18px color-mix(in srgb, var(--acc-c) 60%, transparent);
}
.o-contact__icon {
    flex: none;
    width: 52px; height: 52px;
    display: grid; place-items: center;
    border-radius: 14px;
    color: var(--acc-c);
    background: color-mix(in srgb, var(--acc-c) 12%, transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acc-c) 35%, transparent);
}
.o-contact__text { flex: 1; display: grid; gap: 3px; min-width: 0; }
.o-contact__label { font-family: var(--o-display); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--acc-c) 70%, var(--o-star)); }
.o-contact__value { font-weight: 700; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o-contact__go { flex: none; color: var(--o-mist); transition: transform .3s cubic-bezier(.2, .8, .2, 1), color .3s; }
.o-contact:hover .o-contact__go { color: var(--acc-c); transform: translateX(3px); }
.o-contacts__empty { display: grid; justify-items: center; gap: 10px; padding: 48px 24px; text-align: center; color: var(--o-mist); }
.o-contacts__empty .o-btn__ic { color: var(--o-gold); opacity: .7; }
.o-contacts__empty p { margin: 0; }
.o-contacts__hint code { color: var(--o-gold-hi); }
html[data-theme="light"] .o-contact__label { color: color-mix(in srgb, var(--acc-c) 55%, #3a2a14); }
html[data-theme="light"] .o-contact__icon { color: color-mix(in srgb, var(--acc-c) 70%, #3a2a14); }
@media (prefers-reduced-motion: reduce) { .o-contact { animation: none; } }

/* ==========================================================================
   Cabinet (layouts/dashboard.blade.php): site top bar + grouped side menu + page
   ========================================================================== */
body.orion--app { overflow-y: auto; height: auto; min-height: 100vh; }
.orion--app .o-header { position: sticky; top: 0; }
.o-app {
    --o-side-w: 264px;
    display: grid;
    grid-template-columns: var(--o-side-w) minmax(0, 1fr);
    gap: 32px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 28px 32px 60px;
    align-items: start;
}
.o-app__side { position: sticky; top: 102px; max-height: calc(100vh - 124px); overflow-y: auto; scrollbar-width: thin; }
/* with js/orion-ui.js (2026-11-19) the menu moves with the page when it is taller than the window: no inner scroll */
.o-app__side.is-smart { max-height: none; overflow: visible; }
.o-app__main { min-width: 0; }
.o-app__menu-btn, .o-app__scrim { display: none; }

/* side menu */
.o-side {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--o-line);
    border-radius: calc(var(--o-radius) + 6px);
    background: rgba(23, 18, 13, .62);
    backdrop-filter: blur(8px);
}
.o-side__user { display: flex; align-items: center; gap: 12px; padding: 8px 8px 16px; margin-bottom: 4px; border-bottom: 1px solid var(--o-line); }
.o-side__avatar {
    flex: none;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 50%;
    font-family: var(--o-display); font-weight: 700; font-size: 19px;
    color: #1c1406;
    background: radial-gradient(circle at 35% 30%, #fff1c4, #e9bf5e 55%, #a9781f);
    box-shadow: 0 0 0 3px rgba(240, 207, 138, .18), 0 6px 14px -6px rgba(216, 173, 95, .8);
}
.o-side__who { display: grid; gap: 2px; min-width: 0; }
.o-side__who strong { font-size: 16px; color: var(--o-star); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o-side__who small { font-size: 12px; color: var(--o-mist); }
.o-side__group + .o-side__group { margin-top: 8px; }
.o-side__title {
    margin: 6px 10px 6px;
    font-family: var(--o-display); font-weight: 700; font-size: 11px;
    letter-spacing: .22em; text-transform: uppercase;
    color: var(--o-gold);
    opacity: .85;
}
.o-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.o-side__link {
    width: 100%;
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
    border: 0;
    border-radius: var(--o-radius);
    background: none;
    color: var(--o-star);
    font: 500 15px/1.2 var(--o-body);
    text-align: left;
    text-decoration: none;
    cursor: var(--o-cur-link, pointer);
    transition: background-color .2s, color .2s;
}
.o-side__link .o-btn__ic { flex: none; color: var(--o-gold); opacity: .75; transition: opacity .2s, transform .3s cubic-bezier(.2, .8, .2, 1); }
.o-side__link:hover, .o-side__link:focus-visible { background: rgba(216, 173, 95, .08); color: var(--o-gold-hi); outline: none; }
.o-side__link:hover .o-btn__ic { opacity: 1; transform: translateX(1px) scale(1.05); }
.o-side__link.is-active {
    color: var(--o-gold-hi);
    background: linear-gradient(90deg, rgba(216, 173, 95, .18), rgba(216, 173, 95, .04));
    box-shadow: inset 2px 0 0 var(--o-gold);
}
.o-side__link.is-active .o-btn__ic { opacity: 1; }
.o-side__logout { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid var(--o-line); }
.o-side__link--exit:hover, .o-side__link--exit:hover .o-btn__ic { color: #ff9c8f; }

/* overview */
.o-dash { display: grid; gap: 18px; margin-bottom: 26px; }
.o-dash__hello {
    position: relative;
    overflow: hidden;
    display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
    padding: 28px 30px;
    background:
        radial-gradient(90% 160% at 100% 0%, rgba(216, 173, 95, .16), transparent 55%),
        radial-gradient(60% 120% at 0% 100%, rgba(212, 112, 79, .1), transparent 60%),
        rgba(23, 18, 13, .7);
}
.o-dash__kicker { margin: 0 0 6px; font-family: var(--o-display); font-weight: 700; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--o-gold); }
.o-dash__title { margin: 0; font-family: var(--o-display); font-weight: 700; font-size: clamp(26px, 2.6vw, 36px); color: var(--o-star); line-height: 1.15; }
.o-dash__title span {
    background: linear-gradient(180deg, #fff6e2 0%, #f0cf8a 52%, #c99442 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, .6)) drop-shadow(0 2px 0 rgba(70, 42, 12, .7));
}
.o-dash__sub { margin: 8px 0 0; color: var(--o-mist); }
.o-dash__wallet {
    display: grid; gap: 6px; min-width: 260px;
    padding: 16px 18px;
    border-radius: var(--o-radius);
    border: 1px solid rgba(216, 173, 95, .25);
    background: rgba(12, 10, 8, .45);
}
.o-dash__wallet-label { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--o-mist); }
.o-dash__hint { width: 16px; height: 16px; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--o-line); font-size: 10px; letter-spacing: 0; cursor: help; }
.o-dash__wallet-value { display: inline-flex; align-items: center; gap: 9px; font-family: var(--o-display); font-weight: 700; font-size: 34px; line-height: 1.1; color: var(--o-gold-hi); font-variant-numeric: tabular-nums; }
.o-dash__wallet-value small { font-family: var(--o-body); font-size: 15px; color: var(--o-mist); }
.o-dash__wallet .o-coin { width: 14px; height: 14px; }
.o-dash__wallet-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.o-dash__quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.o-dash__tile {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px;
    text-align: left;
    text-decoration: none;
    color: var(--o-star);
    font: inherit;
    cursor: var(--o-cur-link, pointer);
    animation: o-rise .55s cubic-bezier(.2, .7, .2, 1) var(--o-delay, 0s) backwards;
    transition: border-color .3s, transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .3s;
}
.o-dash__tile:hover, .o-dash__tile:focus-visible { border-color: rgba(240, 207, 138, .5); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(216, 173, 95, .7); outline: none; }
.o-dash__tile-icon { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--o-gold-hi); background: rgba(216, 173, 95, .1); box-shadow: inset 0 0 0 1px rgba(216, 173, 95, .3); }
.o-dash__tile-text { flex: 1; display: grid; gap: 2px; min-width: 0; }
.o-dash__tile-text strong { font-size: 15px; }
.o-dash__tile-text small { font-size: 13px; color: var(--o-mist); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o-dash__tile-go { flex: none; color: var(--o-mist); transition: transform .3s, color .3s; }
.o-dash__tile:hover .o-dash__tile-go { color: var(--o-gold-hi); transform: translateX(3px); }

/* game accounts: cards */
.orion--app .create_game_account { margin-top: 0; }
.orion--app .master-account-table { display: grid; gap: 14px; }
.orion--app .master-acc-item {
    margin: 0;
    border: 1px solid var(--o-line);
    border-radius: calc(var(--o-radius) + 4px);
    overflow: hidden;
    background: rgba(23, 18, 13, .62);
}
.orion--app .master-acc-item .change-game-password-block {
    background: linear-gradient(90deg, rgba(216, 173, 95, .12), rgba(216, 173, 95, .02));
    border-bottom: 1px solid var(--o-line);
    padding: 12px 16px;
}
.orion--app .master-acc-item #game_login,
.orion--app .master-acc-item .master-name-plus p:last-child { font-family: var(--o-display); font-weight: 700; color: var(--o-gold-hi); letter-spacing: .04em; }
.orion--app .master-acc-item .omg-table { border: 0; border-radius: 0; background: transparent; }

/* tablet / phone: the side menu becomes a drawer */
@media (max-width: 1100px) {
    .o-app { grid-template-columns: minmax(0, 1fr); padding: 18px 16px 50px; gap: 0; }
    .o-app__side {
        position: fixed; z-index: 90; top: 0; bottom: 0; left: 0;
        width: min(300px, 86vw); max-height: none;
        padding: 12px;
        transform: translateX(-105%);
        transition: transform .35s cubic-bezier(.2, .8, .2, 1);
    }
    .o-app__side .o-side { min-height: 100%; box-sizing: border-box; background: #17120d; }
    body.o-app-open .o-app__side { transform: none; }
    .o-app__scrim { display: block; position: fixed; inset: 0; z-index: 85; border: 0; background: rgba(0, 0, 0, .55); opacity: 0; pointer-events: none; transition: opacity .3s; }
    body.o-app-open .o-app__scrim { opacity: 1; pointer-events: auto; }
    .o-app__menu-btn {
        display: inline-flex; align-items: center; gap: 8px;
        margin-bottom: 16px;
        padding: 9px 14px;
        border: 1px solid var(--o-line);
        border-radius: 999px;
        background: rgba(23, 18, 13, .62);
        color: var(--o-star);
        font: 700 14px/1 var(--o-body);
        cursor: var(--o-cur-link, pointer);
    }
    .o-app__menu-btn svg { color: var(--o-gold); }
}
@media (max-width: 600px) {
    .o-dash__hello { padding: 22px 18px; }
    .o-dash__wallet { min-width: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .o-dash__tile { animation: none; } .o-app__side { transition: none; } }

/* light theme */
html[data-theme="light"] .o-side { background: rgba(255, 252, 245, .78); }
html[data-theme="light"] .o-app__side .o-side { background: rgba(255, 252, 245, .78); }
@media (max-width: 1100px) { html[data-theme="light"] .o-app__side .o-side { background: #fbf6ea; } }
html[data-theme="light"] .o-side__link:hover { background: rgba(176, 125, 42, .1); }
html[data-theme="light"] .o-side__link.is-active { background: linear-gradient(90deg, rgba(214, 160, 60, .2), rgba(214, 160, 60, .04)); }
html[data-theme="light"] .o-side__link--exit:hover, html[data-theme="light"] .o-side__link--exit:hover .o-btn__ic { color: #b3362c; }
html[data-theme="light"] .o-dash__hello {
    background:
        radial-gradient(90% 160% at 100% 0%, rgba(214, 160, 60, .18), transparent 55%),
        radial-gradient(60% 120% at 0% 100%, rgba(212, 112, 79, .08), transparent 60%),
        rgba(255, 252, 245, .85);
}
html[data-theme="light"] .o-dash__title span {
    background: linear-gradient(180deg, #c99a45 0%, #94651f 55%, #6c4613 100%);
    -webkit-background-clip: text; background-clip: text;
    filter: drop-shadow(0 1px 0 rgba(255, 250, 238, .9));
}
html[data-theme="light"] .o-dash__wallet { background: rgba(255, 255, 255, .6); }
html[data-theme="light"] .o-dash__tile-icon { color: #8a5a16; background: rgba(214, 160, 60, .12); }
html[data-theme="light"] .o-app__menu-btn { background: rgba(255, 252, 245, .85); }
html[data-theme="light"] .orion--app .master-acc-item { background: rgba(255, 252, 245, .8); }
html[data-theme="light"] .orion--app .master-acc-item .change-game-password-block { background: linear-gradient(90deg, rgba(214, 160, 60, .16), rgba(214, 160, 60, .03)); }
.o-dash__quick { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.o-side__link span { display: inline-block; }
.o-side__link span::first-letter { text-transform: uppercase; }
.o-app .auth-content { margin-top: 0; }

/* ---------- sign in / register / forgot password: the site header on top (2026-11-06) ---------- */
body.orion--auth { min-height: 100vh; overflow-y: auto; }
body.orion--auth main.o-auth { height: auto; min-height: calc(100vh - 79px); display: flex; }
body.orion--auth .auth_wrapper {
    flex: 1;
    height: auto;
    margin: 0;
    padding: 56px 16px 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}
body.orion--auth .auth-content { height: auto; width: 100%; }
body.orion--auth .content { width: min(100%, 560px); min-width: 0; max-width: 560px; }
@media (max-width: 675px) {
    body.orion--auth .auth_wrapper { padding: 32px 16px 48px; }
    body.orion--auth .content { padding: 24px 18px; }
}

/* ---------- light theme: the remaining dark cabinet parts (2026-11-06) ---------- */
html[data-theme="light"] body.orion .service-item::after,
html[data-theme="light"] body.orion .s-pack-item::after {
    background: linear-gradient(180deg, #fffaf1, #f6ecd8) !important;
}
html[data-theme="light"] body.orion .service-item,
html[data-theme="light"] body.orion .s-pack-item {
    box-shadow: 0 14px 32px -22px rgba(90, 60, 20, .45);
    border-radius: 12px;
}
html[data-theme="light"] body.orion .stats-menu a::before {
    background: linear-gradient(180deg, rgba(176, 125, 42, .55), rgba(176, 125, 42, .18)) !important;
}
/* the name-colour preview in "Change nickname colour": light box, outlined text so white / yellow stay readable */
html[data-theme="light"] body.orion .selected-color {
    background: rgba(255, 252, 245, .9);
    border-color: var(--o-line);
    color: var(--o-star);
    text-shadow: 0 0 1px rgba(40, 28, 12, .9), 0 0 2px rgba(40, 28, 12, .5);
}
html[data-theme="light"] body.orion .color-options { border-color: var(--o-line); box-shadow: 0 14px 30px -18px rgba(90, 60, 20, .5); }

/* ---------- sign-in history: Overview line + Account history → Sign-ins (2026-11-06) ---------- */
.o-dash__login {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px;
    margin: 14px 0 0; padding: 8px 12px; width: fit-content; max-width: 100%;
    border: 1px solid var(--o-line); border-radius: 10px;
    background: rgba(23, 18, 13, .45);
    color: var(--o-mist); font-size: 14px;
}
.o-dash__login .o-dash__login-ic { color: var(--o-gold); }
.o-dash__ip, .o-logins__ip { color: var(--o-star); font-variant-numeric: tabular-nums; letter-spacing: .02em; font-weight: 700; }
.o-dash__dot { opacity: .5; }
.o-dash__login .o-reltime { font-size: inherit; color: inherit; margin: 0; }
.o-dash__login .o-reltime .o-news-card__clock { display: none; }
.o-dash__login-more { color: var(--o-gold); text-decoration: none; margin-left: 4px; white-space: nowrap; }
.o-dash__login-more:hover { color: var(--o-gold-hi); }

.o-logins__lead {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    margin: 0 0 16px; color: var(--o-mist); font-size: 14px;
}
.o-logins__lead > svg { color: var(--o-gold); }
.o-logins__lead a { color: var(--o-gold); text-decoration: none; }
.o-logins__lead a:hover { color: var(--o-gold-hi); }
table.o-logins td { vertical-align: middle; }
.o-logins__date { display: block; color: var(--o-star); font-variant-numeric: tabular-nums; }
table.o-logins .o-reltime { display: inline-flex; margin: 2px 0 0; font-size: 12px; color: var(--o-mist); }
table.o-logins .o-reltime .o-news-card__clock { display: none; }
.o-logins__tag {
    display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px;
    font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
    color: var(--o-gold-hi); border: 1px solid rgba(240, 207, 138, .45); background: rgba(216, 173, 95, .1);
}
.o-logins__dev { display: inline-flex; align-items: center; gap: 8px; }
.o-logins__dev > svg { color: var(--o-gold); flex: none; }
html[data-theme="light"] .o-dash__login { background: rgba(255, 252, 245, .78); }
html[data-theme="light"] .o-logins__tag { color: #80571a; border-color: rgba(154, 108, 34, .45); background: rgba(176, 125, 42, .1); }

/* ======================================================================
   Auction (cabinet → Shop → Auction), views/dashboard/auction/*  (2026-11-06)
   ====================================================================== */
.o-auc-head {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 28px;
    margin-bottom: 18px;
}
.o-auc-head__title {
    margin: 0; font-family: var(--o-display); font-weight: 700; font-size: clamp(28px, 3vw, 38px); line-height: 1.1;
    color: var(--o-star); letter-spacing: .02em;
}
.o-auc-head__sub { margin: 6px 0 0; color: var(--o-mist); }
.o-auc-head__wallet {
    display: grid; gap: 2px; padding: 10px 16px; border: 1px solid var(--o-line); border-radius: 12px;
    background: rgba(23, 18, 13, .55); text-align: right;
}
.o-auc-head__wallet > span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--o-mist); }
.o-auc-head__wallet strong { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; font-family: var(--o-display); font-size: 24px; color: var(--o-gold-hi); font-variant-numeric: tabular-nums; }
.o-auc-head__wallet small { font-family: var(--o-body); font-size: 14px; color: var(--o-mist); }
.o-auc-head__wallet .o-coin { width: 13px; height: 13px; }

.o-auc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; border-bottom: 1px solid var(--o-line); }
.o-auc-tabs__item {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; margin-bottom: -1px;
    color: var(--o-mist); text-decoration: none; font-weight: 700; border-bottom: 2px solid transparent;
}
.o-auc-tabs__item svg { color: var(--o-gold); }
.o-auc-tabs__item:hover { color: var(--o-star); }
.o-auc-tabs__item.is-active { color: var(--o-gold-hi); border-bottom-color: var(--o-gold); }

.o-auc-flash { display: flex; align-items: center; gap: 10px; padding: 12px 16px; margin-bottom: 16px; border-radius: 10px; border: 1px solid; }
.o-auc-flash.is-ok { color: #a9e8c0; border-color: rgba(120, 200, 150, .4); background: rgba(60, 140, 90, .14); }
.o-auc-flash.is-err { color: #ffb4a6; border-color: rgba(194, 80, 47, .5); background: rgba(194, 80, 47, .14); }

/* filters */
.o-auc-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.o-auc-search {
    flex: 1 1 260px; display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 12px;
    border: 1px solid var(--o-line); border-radius: 10px; background: rgba(23, 18, 13, .62); color: var(--o-mist);
}
.o-auc-search:focus-within { border-color: rgba(240, 207, 138, .55); }
.o-auc-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--o-star); font: inherit; padding: 8px 0; }
.o-auc-search--sm { flex: 0 1 240px; min-height: 36px; }
.o-auc-sort { display: inline-flex; align-items: center; gap: 8px; color: var(--o-mist); font-size: 14px; }
.o-auc-sort .form-control { min-width: 170px; height: 42px; padding: 0 12px; }

.o-auc-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.o-auc-cats__item {
    display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
    border: 1px solid var(--o-line); background: rgba(23, 18, 13, .62); color: var(--o-star); text-decoration: none; font-size: 14px;
}
.o-auc-cats__item span { min-width: 20px; padding: 0 6px; border-radius: 999px; background: rgba(216, 173, 95, .12); color: var(--o-mist); font-size: 12px; text-align: center; }
.o-auc-cats__item:hover { border-color: rgba(240, 207, 138, .55); background: rgba(216, 173, 95, .1); }
.o-auc-cats__item.is-active { border-color: var(--o-gold); color: var(--o-gold-hi); background: rgba(216, 173, 95, .14); }

/* lot cards */
.o-lots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.o-lot {
    position: relative; display: flex; flex-direction: column; gap: 12px; padding: 16px;
    border: 1px solid var(--o-line); border-radius: 12px; text-decoration: none; color: var(--o-star);
    background: linear-gradient(180deg, rgba(33, 26, 18, .82), rgba(23, 18, 13, .92));
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.o-lot:hover, .o-lot:focus-visible { border-color: rgba(240, 207, 138, .55); transform: translateY(-2px); box-shadow: 0 16px 32px -20px rgba(216, 173, 95, .75); outline: none; }
.o-lot.is-leading { border-color: rgba(120, 200, 150, .55); }
.o-lot__top { display: flex; gap: 12px; align-items: center; min-width: 0; }
.o-lot__icon {
    position: relative; flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 10px;
    background: radial-gradient(circle at 50% 35%, rgba(216, 173, 95, .2), rgba(0, 0, 0, .35));
    box-shadow: inset 0 0 0 1px rgba(216, 173, 95, .4);
}
.o-lot__icon img { width: 32px; height: 32px; image-rendering: auto; border-radius: 3px; }
.o-lot__icon--lg { width: 76px; height: 76px; border-radius: 14px; }
.o-lot__icon--lg img { width: 48px; height: 48px; }
.o-lot__icon--sm { width: 38px; height: 38px; border-radius: 8px; }
.o-lot__icon--sm img { width: 28px; height: 28px; }
.o-lot__ench {
    position: absolute; right: -6px; top: -6px; padding: 1px 6px; border-radius: 999px; font-style: normal;
    font-size: 11px; font-weight: 700; color: #1c1406; background: linear-gradient(180deg, #f6d793, #c99a45);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .4);
}
.o-lot__body { display: grid; gap: 3px; min-width: 0; }
.o-lot__name { font-size: 15px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.o-lot__meta { color: var(--o-mist); font-size: 13px; }
.o-lot__flag {
    position: absolute; top: 10px; right: 10px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700;
    letter-spacing: .05em; text-transform: uppercase; color: #a9e8c0; background: rgba(60, 140, 90, .18); border: 1px solid rgba(120, 200, 150, .4);
}
.o-lot__flag.is-mine { color: var(--o-gold-hi); background: rgba(216, 173, 95, .12); border-color: rgba(240, 207, 138, .4); }
.o-lot__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--o-line); }
.o-lot__price { display: grid; gap: 2px; }
.o-lot__price small { color: var(--o-mist); font-size: 12px; }
.o-lot__price b { display: inline-flex; align-items: center; gap: 6px; font-family: var(--o-display); font-size: 19px; color: var(--o-gold-hi); font-variant-numeric: tabular-nums; }
.o-lot__price em { font-style: normal; font-family: var(--o-body); font-size: 13px; color: var(--o-mist); }
.o-lot__price .o-coin { width: 11px; height: 11px; }
.o-lot__buy { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--o-mist); }
.o-lot__buy svg { color: var(--o-gold); }
.o-lot__buy b { color: var(--o-star); }

/* countdown */
.o-cd { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 13px; color: var(--o-mist); font-variant-numeric: tabular-nums; }
.o-cd svg { color: var(--o-gold); }
.o-cd.is-soon { color: #ffb27a; }
.o-cd.is-soon svg { color: #ffb27a; }
.o-cd.is-over { color: var(--o-mist); opacity: .8; }
.o-cd--lg { font-family: var(--o-display); font-size: 22px; color: var(--o-star); }

.o-auc-empty { display: grid; justify-items: center; gap: 10px; padding: 44px 24px; text-align: center; color: var(--o-mist); }
.o-auc-empty > svg { color: var(--o-gold); }
.o-auc-empty strong { font-family: var(--o-display); font-size: 20px; color: var(--o-star); }
.o-auc-empty p { margin: 0; }

.o-auc-pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; }
.o-auc-pager__btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--o-line); background: rgba(23, 18, 13, .62); color: var(--o-star); text-decoration: none; }
.o-auc-pager__btn:hover { border-color: rgba(240, 207, 138, .55); color: var(--o-gold-hi); }
.o-auc-pager__btn.is-off { opacity: .4; }
.o-auc-pager__info { color: var(--o-mist); font-variant-numeric: tabular-nums; }

/* lot page */
.o-auc-back { display: inline-block; margin-bottom: 12px; color: var(--o-gold); text-decoration: none; font-size: 14px; }
.o-auc-back:hover { color: var(--o-gold-hi); }
.o-auc-lot { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 1fr); gap: 16px; align-items: start; margin-bottom: 16px; }
.o-auc-lot .o-panel, .o-auc-history, .o-sell .o-panel, .o-auc-list { padding: 22px; }
.o-auc-item__head { display: flex; gap: 18px; align-items: center; margin-bottom: 18px; }
.o-auc-item__name { margin: 0; font-family: var(--o-display); font-size: 24px; line-height: 1.2; color: var(--o-star); }
.o-auc-item__count { margin: 6px 0 0; color: var(--o-mist); }
.o-auc-item__count b { color: var(--o-star); }
.o-auc-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 16px; }
.o-auc-facts > div { padding: 10px 12px; border-radius: 10px; background: rgba(216, 173, 95, .06); border: 1px solid var(--o-line); }
.o-auc-facts dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--o-mist); }
.o-auc-facts dd { margin: 3px 0 0; color: var(--o-star); font-weight: 700; font-variant-numeric: tabular-nums; }
.o-auc-note { display: flex; gap: 8px; align-items: flex-start; margin: 0; color: var(--o-mist); font-size: 14px; }
.o-auc-note svg { flex: none; margin-top: 2px; color: var(--o-gold); }

.o-auc-buy { display: grid; gap: 14px; position: sticky; top: 102px; }
.o-auc-buy__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.o-auc-buy__price, .o-auc-buy__time { display: grid; gap: 4px; }
.o-auc-buy__price small, .o-auc-buy__time small, .o-auc-result small { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--o-mist); }
.o-auc-buy__price strong { display: inline-flex; align-items: center; gap: 8px; font-family: var(--o-display); font-size: 32px; line-height: 1.1; color: var(--o-gold-hi); font-variant-numeric: tabular-nums; }
.o-auc-buy__price em { font-style: normal; font-family: var(--o-body); font-size: 15px; color: var(--o-mist); }
.o-auc-buy__price .o-coin { width: 14px; height: 14px; }
.o-auc-buy__bids { font-size: 13px; color: var(--o-mist); }
.o-auc-buy__time { text-align: right; }
.o-auc-state { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--o-line); color: var(--o-star); background: rgba(216, 173, 95, .08); }
.o-auc-state svg { color: var(--o-gold); }
.o-auc-state.is-lead { color: #a9e8c0; border-color: rgba(120, 200, 150, .4); background: rgba(60, 140, 90, .14); }
.o-auc-state.is-lead svg { color: #a9e8c0; }
.o-auc-bid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; }
.o-auc-bid__field { display: grid; gap: 6px; color: var(--o-mist); font-size: 14px; }
.o-auc-bid__input { position: relative; display: block; }
.o-auc-bid__input .form-control { width: 100%; height: 46px; padding-right: 52px; font-size: 17px; font-variant-numeric: tabular-nums; }
.o-auc-bid__input em { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--o-mist); pointer-events: none; }
.o-auc-bid .o-btn { min-height: 46px; }
.o-auc-hint { margin: 0; color: var(--o-mist); font-size: 13px; line-height: 1.45; }
.o-auc-now .o-btn { margin-top: 0; }
.o-auc-result { display: grid; gap: 4px; padding: 14px; border-radius: 12px; border: 1px solid var(--o-line); background: rgba(216, 173, 95, .07); }
.o-auc-result strong { font-family: var(--o-display); font-size: 22px; color: var(--o-star); }
.o-auc-result span { color: var(--o-mist); }
.o-auc-result.is-sold strong { color: var(--o-gold-hi); }
.o-auc-buy > .o-btn--block, .o-auc-buy form .o-btn--block { margin-top: 0; }

.o-auc-history__title { margin: 0 0 12px; font-family: var(--o-display); font-size: 18px; color: var(--o-star); }
.o-auc-table { width: 100%; border-collapse: collapse; color: var(--o-star); }
.o-auc-table th { text-align: left; padding: 8px 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--o-mist); border-bottom: 1px solid var(--o-line); font-weight: 700; }
.o-auc-table td { padding: 10px; border-bottom: 1px solid rgba(216, 173, 95, .1); vertical-align: middle; }
.o-auc-table tr:last-child td { border-bottom: 0; }
.o-auc-table tr.is-top td { color: var(--o-gold-hi); }
.o-auc-table__num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.o-auc-table .o-reltime { font-size: 13px; color: var(--o-mist); margin: 0; }
.o-auc-table .o-reltime .o-news-card__clock { display: none; }
.o-auc-row { display: flex; align-items: center; gap: 12px; color: var(--o-star); text-decoration: none; }
.o-auc-row:hover b { color: var(--o-gold-hi); }
.o-auc-row small, .o-auc-sub { display: block; color: var(--o-mist); font-size: 12px; }
.o-auc-pill { display: inline-block; margin-top: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12px; border: 1px solid var(--o-line); color: var(--o-mist); }
.o-auc-pill.is-lead, .o-auc-pill.is-sold { color: #a9e8c0; border-color: rgba(120, 200, 150, .4); background: rgba(60, 140, 90, .12); }
.o-auc-pill.is-out { color: #ffb27a; border-color: rgba(255, 178, 122, .45); background: rgba(194, 80, 47, .12); }
.o-auc-table--lots td .o-cd { display: flex; }
.o-auc-mybar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 4px; }
.o-auc-earned { margin: 0 0 18px; color: var(--o-mist); }
.o-auc-earned b { color: var(--o-gold-hi); font-variant-numeric: tabular-nums; }

/* sell page */
.o-sell { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 16px; align-items: start; }
.o-sell__title { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--o-display); font-size: 18px; color: var(--o-star); }
.o-sell__step { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 14px; color: #1c1406; background: linear-gradient(180deg, #f6d793, #c99a45); }
.o-sell__pick-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.o-sell__group { padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--o-line); }
.o-sell__group:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.o-sell__group-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--o-star); }
.o-sell__group-title svg { color: var(--o-gold); }
.o-sell__cnt { padding: 0 7px; border-radius: 999px; font-size: 12px; color: var(--o-mist); background: rgba(216, 173, 95, .12); }
.o-sell__online { font-size: 13px; color: #ffb27a; }
.o-sell__items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px; max-height: 520px; overflow: auto; padding: 2px; }
.o-pick {
    display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; cursor: var(--o-cur-link, pointer);
    border: 1px solid var(--o-line); background: rgba(23, 18, 13, .5); transition: border-color .15s, background .15s;
}
.o-pick input { position: absolute; opacity: 0; pointer-events: none; }
.o-pick:hover { border-color: rgba(240, 207, 138, .5); }
.o-pick.is-picked { border-color: var(--o-gold); background: rgba(216, 173, 95, .14); box-shadow: 0 0 0 1px var(--o-gold) inset; }
.o-pick:has(input:focus-visible) { outline: 2px solid var(--o-gold); outline-offset: 2px; }
.o-pick.is-off { opacity: .45; cursor: var(--o-cur-no, not-allowed); }
.o-pick__name { flex: 1; min-width: 0; font-size: 14px; line-height: 1.25; color: var(--o-star); }
.o-pick__count { font-size: 13px; color: var(--o-mist); font-variant-numeric: tabular-nums; }
.o-pick[hidden], .o-sell__group[hidden] { display: none; }

.o-sell__form { display: grid; gap: 14px; position: sticky; top: 102px; }
.o-sell__chosen { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; border: 1px dashed var(--o-line); }
.o-sell__chosen strong { display: block; color: var(--o-star); }
.o-sell__chosen small { color: var(--o-mist); }
.o-sell__field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; color: var(--o-mist); font-size: 14px; }
.o-sell__field[hidden] { display: none; }
.o-sell__field .form-control { width: 100%; height: 44px; font-variant-numeric: tabular-nums; }
.o-sell__field legend { padding: 0; margin-bottom: 6px; }
.o-sell__dur-list { display: flex; flex-wrap: wrap; gap: 8px; }
.o-chip-radio input { position: absolute; opacity: 0; pointer-events: none; }
.o-chip-radio span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--o-line); background: rgba(23, 18, 13, .62); color: var(--o-star); cursor: var(--o-cur-link, pointer); }
.o-chip-radio input:checked + span { border-color: var(--o-gold); color: var(--o-gold-hi); background: rgba(216, 173, 95, .14); }
.o-chip-radio input:focus-visible + span { outline: 2px solid var(--o-gold); outline-offset: 2px; }
.o-sell__calc { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(216, 173, 95, .07); color: var(--o-mist); font-size: 13px; }
.o-sell .o-btn--block { margin-top: 0; }

@media (max-width: 1000px) {
    .o-auc-lot, .o-sell { grid-template-columns: 1fr; }
    .o-auc-buy, .o-sell__form { position: static; }
}
@media (max-width: 560px) {
    .o-auc-head__wallet { text-align: left; width: 100%; }
    .o-auc-head__wallet strong { justify-content: flex-start; }
    .o-auc-bid { grid-template-columns: 1fr; }
    .o-auc-buy__time { text-align: left; }
    .o-auc-table--lots thead { display: none; }
    .o-auc-table--lots tr { display: grid; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--o-line); }
    .o-auc-table--lots td { padding: 0; border: 0; }
}

/* light theme */
html[data-theme="light"] .o-auc-head__wallet,
html[data-theme="light"] .o-auc-search,
html[data-theme="light"] .o-auc-cats__item,
html[data-theme="light"] .o-auc-pager__btn,
html[data-theme="light"] .o-chip-radio span,
html[data-theme="light"] .o-pick { background: rgba(255, 252, 245, .78); }
html[data-theme="light"] .o-lot { background: linear-gradient(180deg, #fffaf1, #f8efdd); box-shadow: 0 12px 28px -22px rgba(90, 60, 20, .45); }
html[data-theme="light"] .o-lot:hover { box-shadow: 0 18px 34px -20px rgba(90, 60, 20, .55); }
html[data-theme="light"] .o-lot__icon { background: radial-gradient(circle at 50% 35%, rgba(176, 125, 42, .18), rgba(60, 40, 10, .55)); box-shadow: inset 0 0 0 1px rgba(154, 108, 34, .45); }
html[data-theme="light"] .o-auc-cats__item:hover,
html[data-theme="light"] .o-auc-cats__item.is-active,
html[data-theme="light"] .o-pick.is-picked,
html[data-theme="light"] .o-chip-radio input:checked + span { background: rgba(176, 125, 42, .12); }
html[data-theme="light"] .o-auc-flash.is-ok,
html[data-theme="light"] .o-auc-state.is-lead,
html[data-theme="light"] .o-lot__flag,
html[data-theme="light"] .o-auc-pill.is-lead,
html[data-theme="light"] .o-auc-pill.is-sold { color: #24724a; border-color: rgba(36, 114, 74, .35); background: rgba(36, 114, 74, .08); }
html[data-theme="light"] .o-auc-state.is-lead svg { color: #24724a; }
html[data-theme="light"] .o-lot.is-leading { border-color: rgba(36, 114, 74, .45); }
html[data-theme="light"] .o-auc-flash.is-err { color: #9c3420; border-color: rgba(176, 68, 42, .4); background: rgba(176, 68, 42, .08); }
html[data-theme="light"] .o-auc-pill.is-out,
html[data-theme="light"] .o-cd.is-soon,
html[data-theme="light"] .o-cd.is-soon svg,
html[data-theme="light"] .o-sell__online { color: #b0521d; }
html[data-theme="light"] .o-lot__flag.is-mine { color: #80571a; border-color: rgba(154, 108, 34, .4); background: rgba(176, 125, 42, .1); }
html[data-theme="light"] .o-auc-table td { border-bottom-color: rgba(150, 108, 45, .14); }
.o-lot__flag { position: static; align-self: flex-start; margin-top: -4px; }
@media (max-width: 560px) {
    .o-auc-tabs { flex-wrap: nowrap; overflow-x: auto; gap: 2px; scrollbar-width: none; }
    .o-auc-tabs__item { white-space: nowrap; padding: 10px 10px; }
    .o-auc-head__wallet { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; }
    .o-auc-head__wallet strong { font-size: 20px; }
}

/* ---------- Services → char name colour (views/dashboard/_char-color.blade.php) (2026-11-06) ---------- */
.o-cc { display: grid; gap: 12px; }
.o-cc .form-group { margin: 0; }
.o-cc__plate {
    position: relative; display: grid; justify-items: center; gap: 4px; padding: 16px 12px 12px; border-radius: 10px;
    /* always dark, like the game */
    background: radial-gradient(120% 140% at 50% 0%, #2a2117 0%, #0d0b09 70%);
    box-shadow: inset 0 0 0 1px rgba(216, 173, 95, .3), inset 0 10px 24px rgba(0, 0, 0, .45);
}
.o-cc__plate-label { position: absolute; top: 6px; left: 10px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(239, 228, 204, .45); }
.o-cc__name {
    max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-family: Tahoma, Verdana, sans-serif; font-size: 17px; font-weight: 700; letter-spacing: .02em;
    text-shadow: 0 1px 0 #000, 0 0 1px #000, 1px 1px 2px rgba(0, 0, 0, .9); transition: color .15s;
}
.o-cc__now { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(239, 228, 204, .6); }
.o-cc__now[hidden] { display: none; }
.o-cc__now i { width: 10px; height: 10px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.o-cc__pick { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 8px; }
.o-cc__swatch { position: relative; display: block; height: 46px; border-radius: 10px; overflow: hidden; cursor: var(--o-cur-link, pointer); box-shadow: 0 0 0 1px var(--o-line); }
.o-cc__swatch input { position: absolute; inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); border: 0; padding: 0; cursor: var(--o-cur-link, pointer); background: none; }
.o-cc__hex {
    display: flex; align-items: center; gap: 4px; height: 46px; padding: 0 12px; border-radius: 10px;
    border: 1px solid var(--o-line); background: rgba(23, 18, 13, .62); color: var(--o-mist);
}
.o-cc__hex:focus-within { border-color: rgba(240, 207, 138, .55); }
.o-cc__hex input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--o-star); font: 600 16px/1 ui-monospace, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
.o-cc__hex input:invalid { color: #ff8f84; }
.o-cc__presets { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.o-cc__preset {
    aspect-ratio: 1; min-height: 24px; border: 0; border-radius: 8px; cursor: var(--o-cur-link, pointer); background: var(--c);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35), 0 0 0 1px var(--o-line); transition: transform .12s, box-shadow .12s;
}
.o-cc__preset:hover { transform: translateY(-1px) scale(1.06); }
.o-cc__preset.is-on { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35), 0 0 0 2px var(--o-ink, #0c0a08), 0 0 0 4px var(--o-gold); }
.o-cc__preset:focus-visible { outline: 2px solid var(--o-gold); outline-offset: 2px; }
.o-cc__err { padding: 8px 10px; border-radius: 8px; font-size: 13px; color: #ffb4a6; border: 1px solid rgba(194, 80, 47, .5); background: rgba(194, 80, 47, .14); }
html[data-theme="light"] .o-cc__hex { background: rgba(255, 252, 245, .9); }
html[data-theme="light"] .o-cc__hex input:invalid { color: #b3392c; }
html[data-theme="light"] .o-cc__preset.is-on { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25), 0 0 0 2px #fffaf1, 0 0 0 4px var(--o-gold); }
html[data-theme="light"] .o-cc__err { color: #9c3420; border-color: rgba(176, 68, 42, .4); background: rgba(176, 68, 42, .08); }

/* ======================================================================
   Top up the balance (views/dashboard/pay.blade.php, 2026-11-06)
   ====================================================================== */
.o-pay { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 16px; align-items: start; }
.o-pay__main, .o-pay__side { display: grid; gap: 16px; min-width: 0; }
.o-pay .o-panel { padding: 22px; }
.o-pay__card { display: grid; gap: 16px; }
.o-pay__rate { color: var(--o-gold-hi); white-space: nowrap; }

.o-pay__amount { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.o-pay__input {
    flex: 1 1 240px; display: flex; align-items: center; gap: 10px; height: 64px; padding: 0 18px; border-radius: 14px;
    border: 1px solid var(--o-line); background: rgba(23, 18, 13, .62); transition: border-color .15s, box-shadow .15s;
}
.o-pay__input:focus-within { border-color: rgba(240, 207, 138, .6); box-shadow: 0 0 0 3px rgba(216, 173, 95, .15); }
.o-pay__input .o-coin { width: 16px; height: 16px; flex: none; }
.o-pay__input .form-control {
    flex: 1; min-width: 0; height: auto; padding: 0; border: 0 !important; background: none !important; box-shadow: none !important;
    font-family: var(--o-display); font-weight: 700; font-size: 30px; color: var(--o-gold-hi); font-variant-numeric: tabular-nums;
    -moz-appearance: textfield;
}
.o-pay__input .form-control::-webkit-outer-spin-button, .o-pay__input .form-control::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.o-pay__input em { font-style: normal; color: var(--o-mist); font-size: 16px; }
.o-pay__bonus-badge.payment_bonus_price {
    display: inline-flex; align-items: baseline; gap: 4px; width: auto; height: auto; padding: 10px 16px; border-radius: 999px;
    font-family: var(--o-display); font-weight: 700; font-size: 20px; color: #a9e8c0;
    background: rgba(60, 140, 90, .16); border: 1px solid rgba(120, 200, 150, .4);
}
.o-pay__bonus-badge small { font-family: var(--o-body); font-weight: 400; font-size: 13px; opacity: .85; }

.o-pay__quick { display: flex; flex-wrap: wrap; gap: 8px; }
.o-pay__chip {
    display: inline-flex; align-items: baseline; gap: 5px; padding: 8px 14px; border-radius: 999px; cursor: var(--o-cur-link, pointer);
    border: 1px solid var(--o-line); background: rgba(23, 18, 13, .62); color: var(--o-star); font: inherit; font-size: 14px;
    transition: border-color .15s, background .15s, transform .15s;
}
.o-pay__chip b { font-family: var(--o-display); font-size: 16px; }
.o-pay__chip small { color: #a9e8c0; font-weight: 700; font-size: 12px; }
.o-pay__chip:hover { border-color: rgba(240, 207, 138, .55); transform: translateY(-1px); }
.o-pay__chip.is-on { border-color: var(--o-gold); color: var(--o-gold-hi); background: rgba(216, 173, 95, .14); }

/* the slider (noUiSlider) */
.o-pay__range { padding: 18px 13px 0; }
.o-pay .payment__range { margin-top: 0; }
.o-pay .payment__range.noUi-horizontal { height: 8px; margin-bottom: 46px; }
.o-pay .payment__range.noUi-target { background: rgba(0, 0, 0, .35); border: 1px solid var(--o-line); border-radius: 999px; }
.o-pay .payment__range.noUi-horizontal .noUi-connect { background: linear-gradient(90deg, #8f6320, #d8ad5f 60%, #f0cf8a); border-radius: 999px; }
.o-pay .payment__range.noUi-horizontal .noUi-handle {
    width: 24px; height: 24px; top: -9px; right: -12px; border-radius: 50%; cursor: grab;
    background: radial-gradient(circle at 35% 30%, #fff1c9, #d8ad5f 55%, #8f6320);
    box-shadow: 0 0 0 4px rgba(216, 173, 95, .2), 0 4px 10px rgba(0, 0, 0, .45);
}
.o-pay .payment__range .noUi-handle:active { cursor: grabbing; }
.o-pay .payment__range .noUi-tooltip {
    border: 1px solid rgba(240, 207, 138, .5); border-radius: 8px; background: #17120d; color: var(--o-gold-hi);
    font-family: var(--o-display); font-weight: 700; font-size: 13px; padding: 4px 8px;
}
.o-pay .payment__range .noUi-value { color: var(--o-mist); font-size: 11px; }
.o-pay .payment__range .noUi-marker, .o-pay .payment__range .noUi-marker-large { background: var(--o-line); }

.o-pay__cur { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
.o-pay__cur-item { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--o-line); background: rgba(216, 173, 95, .05); }
.o-pay__cur-item small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--o-mist); }
.o-pay__cur-item b { color: var(--o-star); font-variant-numeric: tabular-nums; font-size: 16px; }

/* methods */
.o-pay__methods.payment_select { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: 0; }
.o-pay__method.pay_method {
    position: relative; display: grid; place-items: center; height: 64px; padding: 10px; margin: 0; border-radius: 12px; cursor: var(--o-cur-link, pointer);
    border: 1px solid var(--o-line); background: rgba(255, 252, 245, .92); transition: border-color .15s, box-shadow .15s, transform .15s;
    opacity: 1; filter: none;
}
.o-pay__method.pay_method img { display: block; max-width: 100%; max-height: 34px; height: auto; object-fit: contain; filter: grayscale(.35); opacity: .8; transition: filter .15s, opacity .15s; }
.o-pay__method.pay_method:hover { transform: translateY(-1px); border-color: rgba(240, 207, 138, .6); }
.o-pay__method.pay_method:hover img, .o-pay__method.pay_method.active img { filter: none; opacity: 1; }
.o-pay__method.pay_method.active { border-color: var(--o-gold); box-shadow: 0 0 0 2px var(--o-gold), 0 10px 24px -14px rgba(216, 173, 95, .8); }
.o-pay__check {
    position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; display: none; place-items: center; border-radius: 50%;
    color: #1c1406; background: linear-gradient(180deg, #f6d793, #c99a45); box-shadow: 0 2px 6px rgba(0, 0, 0, .35);
}
.o-pay__method.active .o-pay__check { display: grid; }
.o-pay__method:focus-visible { outline: 2px solid var(--o-gold); outline-offset: 2px; }

/* summary */
.o-pay__sum { display: grid; gap: 14px; position: sticky; top: 102px; }
.o-pay__lines { display: grid; gap: 8px; margin: 0; }
.o-pay__lines > div { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px dashed var(--o-line); }
.o-pay__lines dt { color: var(--o-mist); }
.o-pay__lines dd { margin: 0; color: var(--o-star); font-weight: 700; font-variant-numeric: tabular-nums; }
.o-pay__lines dd.is-bonus { color: #a9e8c0; }
.o-pay__get { display: grid; gap: 4px; padding: 14px; border-radius: 12px; background: rgba(216, 173, 95, .08); border: 1px solid var(--o-line); }
.o-pay__get small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--o-mist); }
.o-pay__get strong { display: inline-flex; align-items: center; gap: 10px; font-family: var(--o-display); font-size: 36px; line-height: 1.05; color: var(--o-gold-hi); font-variant-numeric: tabular-nums; }
.o-pay__get strong .orange, .o-pay__get #payment-total { color: inherit; }
.o-pay__get em { font-style: normal; font-family: var(--o-body); font-size: 16px; color: var(--o-mist); }
.o-pay__get .o-coin { width: 15px; height: 15px; }
.o-pay__promo { margin: 0; padding: 10px 12px; border-radius: 10px; font-size: 14px; color: #a9e8c0; border: 1px solid rgba(120, 200, 150, .4); background: rgba(60, 140, 90, .14); }
.o-pay .o-btn--block { margin-top: 0; }
.o-pay__go { min-height: 54px; font-size: 16px; }

/* bonus ladder */
.o-pay__ladder { display: grid; gap: 10px; }
.o-pay__ladder .o-auc-history__title { margin: 0; }
.o-pay__tiers { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.o-pay__tier {
    position: relative; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px 10px 30px;
    border-radius: 10px; border: 1px solid var(--o-line); background: rgba(23, 18, 13, .45); transition: border-color .2s, background .2s;
}
.o-pay__tier::before { content: ""; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--o-line); }
.o-pay__tier-range { color: var(--o-star); font-variant-numeric: tabular-nums; }
.o-pay__tier-pct { font-family: var(--o-display); font-weight: 700; color: var(--o-gold); }
.o-pay__tier.is-past::before { background: var(--o-gold); }
.o-pay__tier.is-on { border-color: rgba(120, 200, 150, .55); background: rgba(60, 140, 90, .14); }
.o-pay__tier.is-on::before { background: #a9e8c0; box-shadow: 0 0 0 4px rgba(120, 200, 150, .2); }
.o-pay__tier.is-on .o-pay__tier-pct { color: #a9e8c0; }
.o-pay__next { margin: 2px 0 0; color: var(--o-mist); font-size: 13px; }
.o-pay__next:empty { display: none; }

@media (max-width: 1000px) {
    .o-pay { grid-template-columns: 1fr; }
    .o-pay__sum { position: static; }
}
@media (max-width: 560px) {
    .o-pay__input { height: 56px; }
    .o-pay__input .form-control { font-size: 24px; }
    .o-pay__get strong { font-size: 30px; }
}

/* light theme */
html[data-theme="light"] .o-pay__input,
html[data-theme="light"] .o-pay__chip,
html[data-theme="light"] .o-pay__tier { background: rgba(255, 252, 245, .85); }
html[data-theme="light"] .o-pay__chip.is-on { background: rgba(176, 125, 42, .12); }
html[data-theme="light"] .o-pay .payment__range.noUi-target { background: rgba(150, 108, 45, .14); }
html[data-theme="light"] .o-pay .payment__range .noUi-tooltip { background: #fffaf1; }
html[data-theme="light"] .o-pay__method.pay_method { background: #fff; }
html[data-theme="light"] .o-pay__bonus-badge.payment_bonus_price,
html[data-theme="light"] .o-pay__promo,
html[data-theme="light"] .o-pay__tier.is-on { color: #24724a; border-color: rgba(36, 114, 74, .35); background: rgba(36, 114, 74, .08); }
html[data-theme="light"] .o-pay__chip small,
html[data-theme="light"] .o-pay__lines dd.is-bonus,
html[data-theme="light"] .o-pay__tier.is-on .o-pay__tier-pct { color: #24724a; }
html[data-theme="light"] .o-pay__tier.is-on::before { background: #24724a; box-shadow: 0 0 0 4px rgba(36, 114, 74, .15); }
.o-pay__cur-item.is-on { border-color: var(--o-gold); background: rgba(216, 173, 95, .14); box-shadow: 0 0 0 1px var(--o-gold) inset; }
html[data-theme="light"] .o-pay__cur-item.is-on { background: rgba(176, 125, 42, .12); }
/* the summary scrolls with its column (sticky made it slide over the bonus list) */
.o-pay__sum { position: static; }

/* char name colour preview in the light theme: parchment plate, the name gets a dark outline
   so light colours (white, yellow, cyan) stay readable */
html[data-theme="light"] .o-cc__plate {
    background: linear-gradient(180deg, #fffaf1, #f3e7cf);
    box-shadow: inset 0 0 0 1px rgba(154, 108, 34, .35), inset 0 6px 14px rgba(120, 85, 30, .08);
}
html[data-theme="light"] .o-cc__plate-label { color: var(--o-mist); }
html[data-theme="light"] .o-cc__name {
    text-shadow: -1px -1px 0 #2e2518, 1px -1px 0 #2e2518, -1px 1px 0 #2e2518, 1px 1px 0 #2e2518, 0 2px 4px rgba(46, 37, 24, .35);
}
html[data-theme="light"] .o-cc__now { color: var(--o-mist); }
html[data-theme="light"] .o-cc__now i { box-shadow: 0 0 0 1px rgba(46, 37, 24, .35); }

/* ---------- sign in with Google / Facebook (views/components/social-*.blade.php, 2026-11-06) ---------- */
.o-social { margin-top: 22px; }
.o-social__or { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--o-mist); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; }
.o-social__or::before, .o-social__or::after { content: ""; flex: 1; height: 1px; background: var(--o-line); }
.o-social__btns { display: grid; gap: 10px; }
/* the buttons themselves look like the "Sign in" button (.o-btn .o-btn--ghost); only the layout is set here */
.o-social__btn { display: flex; width: 100%; gap: 12px; min-height: 46px; padding: 0 16px; font-size: 14px; }
.o-social__ic { flex: none; }
.o-social__alert { margin-top: 16px; }

.o-linked { margin-top: 18px; }
.o-linked__lead, .o-linked__note { margin: 0 0 14px; color: var(--o-mist); }
.o-linked__note { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--o-line); background: rgba(216, 173, 95, .07); }
.o-linked__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.o-linked__row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--o-line); }
.o-linked__name { font-weight: 700; color: var(--o-star); }
.o-linked__state { font-size: 13px; color: var(--o-mist); }
.o-linked__state.is-on { color: #a9e8c0; }
.o-linked__act { margin-left: auto; }
.o-linked .o-btn--sm { min-height: 34px; }
html[data-theme="light"] .o-linked__state.is-on { color: #24724a; }

/* ======================================================================
   Messages (.alert-success / .alert-danger from the CMS) in the orion style (2026-11-06)
   ====================================================================== */
body.orion .alert-success,
body.orion .alert-danger {
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px;
    margin: 16px 0; padding: 12px 14px 12px 48px; border-radius: 12px; border: 1px solid;
    background-image: none; box-shadow: none; position: relative;
}
body.orion .alert-success { color: #a9e8c0; border-color: rgba(120, 200, 150, .4); background: rgba(60, 140, 90, .14); }
body.orion .alert-danger { color: #ffb4a6; border-color: rgba(194, 80, 47, .5); background: rgba(194, 80, 47, .14); }
body.orion .alert-success::before,
body.orion .alert-danger::before {
    content: ""; position: absolute; left: 14px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
    background: currentColor; -webkit-mask: var(--o-alert-ic) center / contain no-repeat; mask: var(--o-alert-ic) center / contain no-repeat;
}
body.orion .alert-success { --o-alert-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 12.5l2.5 2.5L16 9.5'/%3E%3C/svg%3E"); }
body.orion .alert-danger { --o-alert-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l9.5 16.5h-19z'/%3E%3Cpath d='M12 10v4'/%3E%3Cpath d='M12 17.5v.01'/%3E%3C/svg%3E"); }
body.orion .alert-success p,
body.orion .alert-danger p,
body.orion .alert-danger li {
    flex: 1 1 auto; min-width: 0; margin: 0; padding: 0; font-size: 15px; line-height: 1.45; color: inherit;
}
body.orion .alert-success p::before,
body.orion .alert-danger p::before { content: none; display: none; }
body.orion .alert-danger ul { flex: 1 1 auto; margin: 0; padding-left: 18px; }
body.orion .alert-success p + p,
body.orion .alert-danger p + p { flex-basis: 100%; order: 0; }
body.orion .alert-success .close,
body.orion .alert-danger .close {
    order: 9; margin-left: auto; flex: none; width: 28px; height: 28px; border-radius: 8px; position: relative;
    background: transparent; color: inherit; opacity: .75; text-decoration: none;
}
body.orion .alert-success .close::before,
body.orion .alert-danger .close::before {
    content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; background: currentColor; background-image: none;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.orion .alert-success .close:hover,
body.orion .alert-danger .close:hover { opacity: 1; background: rgba(255, 255, 255, .08); }
html[data-theme="light"] body.orion .alert-success { color: #24724a; border-color: rgba(36, 114, 74, .35); background: rgba(36, 114, 74, .08); }
html[data-theme="light"] body.orion .alert-danger { color: #9c3420; border-color: rgba(176, 68, 42, .4); background: rgba(176, 68, 42, .08); }
html[data-theme="light"] body.orion :is(.alert-danger p) { color: inherit; }
html[data-theme="light"] body.orion .alert-success .close:hover,
html[data-theme="light"] body.orion .alert-danger .close:hover { background: rgba(46, 37, 24, .06); }
/* Cabinet → Linked accounts page */
.o-linked--page { padding: 22px; margin-top: 0; }
.o-linked__ic { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(216, 173, 95, .1); color: var(--o-gold); }
.o-linked__who { display: grid; gap: 2px; min-width: 0; }
.o-linked__who small { color: var(--o-mist); font-size: 13px; overflow-wrap: anywhere; }
.o-linked__row.is-linked { border-color: rgba(120, 200, 150, .4); }
.o-linked__note { margin-top: 14px; }
html[data-theme="light"] .o-linked__ic { background: rgba(176, 125, 42, .1); }
html[data-theme="light"] .o-linked__row.is-linked { border-color: rgba(36, 114, 74, .35); }
@media (max-width: 560px) { .o-linked__row { flex-wrap: wrap; } .o-linked__act { margin-left: 48px; } }

/* ---------- Cabinet → Security (views/dashboard/security.blade.php) ---------- */
.o-sec-help { padding: 16px 18px; margin-bottom: 16px; display: grid; gap: 6px; color: var(--o-mist); font-size: 14px; }
.o-sec-help p { margin: 0; }
.o-sec-help b { color: var(--o-star); }
.o-sec-help code, .o-sec code { font-family: ui-monospace, Consolas, monospace; font-size: 13px; padding: 1px 6px; border-radius: 6px; background: rgba(216, 173, 95, .12); color: var(--o-star); }
.o-sec-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 14px; }
.o-sec { padding: 18px; display: grid; gap: 10px; }
.o-sec.is-locked { border-color: rgba(120, 200, 150, .45); }
.o-sec__head { display: flex; align-items: center; gap: 12px; }
.o-sec__badge { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(216, 173, 95, .1); color: var(--o-gold); }
.o-sec.is-locked .o-sec__badge { background: rgba(60, 140, 90, .16); color: #a9e8c0; }
.o-sec__login { display: grid; }
.o-sec__login b { font-family: var(--o-display); font-size: 18px; color: var(--o-star); }
.o-sec__login small { color: var(--o-mist); font-size: 13px; }
.o-sec__row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--o-line); }
.o-sec__what { display: grid; gap: 2px; min-width: 0; flex: 1; }
.o-sec__what b { color: var(--o-star); }
.o-sec__what small { color: var(--o-mist); font-size: 13px; overflow-wrap: anywhere; }
.o-sec__state { font-size: 13px; color: var(--o-mist); white-space: nowrap; }
.o-sec__state.is-on { color: #a9e8c0; font-weight: 700; }
.o-sec__act { flex: none; }
.o-sec .o-btn--sm { min-height: 34px; }
html[data-theme="light"] .o-sec.is-locked { border-color: rgba(36, 114, 74, .35); }
html[data-theme="light"] .o-sec.is-locked .o-sec__badge { background: rgba(36, 114, 74, .1); color: #24724a; }
html[data-theme="light"] .o-sec__state.is-on { color: #24724a; }
html[data-theme="light"] .o-sec-help code, html[data-theme="light"] .o-sec code { background: rgba(176, 125, 42, .1); }
@media (max-width: 560px) { .o-sec__row { flex-wrap: wrap; } .o-sec__act { margin-left: auto; } }
.o-sec .o-btn:disabled { opacity: .45; cursor: var(--o-cur-no, not-allowed); box-shadow: none; filter: grayscale(.4); }

/* ===== Two-step sign-in (Cabinet → Security, challenge page, confirm page) ===== */
.o-tfa-box { padding: 18px; display: grid; gap: 10px; margin-bottom: 18px; }
.o-tfa-box.is-on { border-color: rgba(120, 200, 150, .45); }
.o-tfa-box.is-on .o-sec__badge { background: rgba(60, 140, 90, .16); color: #a9e8c0; }
.o-tfa-box .o-btn--sm { min-height: 34px; }
.o-tfa-box code { font-family: ui-monospace, Consolas, monospace; }
.o-tfa-codes { padding: 14px; border-radius: 12px; border: 1px dashed var(--o-gold); background: rgba(216, 173, 95, .07); display: grid; gap: 10px; }
.o-tfa-codes p { margin: 0; color: var(--o-mist); font-size: 14px; }
.o-tfa-codes p b { color: var(--o-star); }
.o-tfa-codes ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.o-tfa-codes li code { display: block; text-align: center; padding: 6px 8px; border-radius: 8px; background: rgba(0, 0, 0, .25); color: var(--o-star); font-size: 15px; letter-spacing: .06em; }
.o-tfa-codes .o-btn { justify-self: start; }
.o-tfa-setup { display: grid; gap: 14px; padding: 4px 2px; }
.o-tfa-setup__steps { margin: 0; padding-left: 20px; color: var(--o-mist); font-size: 14px; display: grid; gap: 4px; }
.o-tfa-setup__qr { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.o-tfa-setup__img { width: 184px; height: 184px; padding: 10px; border-radius: 12px; background: #fff; flex: none; }
.o-tfa-setup__img svg { width: 100%; height: 100%; display: block; }
.o-tfa-setup__key { margin: 0; color: var(--o-mist); font-size: 14px; }
.o-tfa-setup__key code { font-size: 15px; letter-spacing: .08em; color: var(--o-star); padding: 2px 8px; border-radius: 6px; background: rgba(216, 173, 95, .12); overflow-wrap: anywhere; }
.o-tfa-setup__form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.o-tfa-setup__form .o-tfa__code { max-width: 180px; }
.o-tfa__code { font-family: ui-monospace, Consolas, monospace !important; font-size: 22px !important; letter-spacing: .25em; text-align: center; }
.o-tfa__lead { color: var(--o-mist); margin: -4px 0 18px; font-size: 14px; line-height: 1.5; }
.o-tfa__out { margin-top: 6px; text-align: center; }
.o-tfa .checkbox-container { font-size: 14px; }
.o-tfa-confirm { padding: 22px; max-width: 460px; }
.o-tfa-confirm__form { display: grid; gap: 14px; }
.o-tfa-confirm__more summary { cursor: var(--o-cur-link, pointer); color: var(--o-gold); font-size: 14px; margin-bottom: 8px; }
html[data-theme="light"] .o-tfa-box.is-on { border-color: rgba(36, 114, 74, .35); }
html[data-theme="light"] .o-tfa-box.is-on .o-sec__badge { background: rgba(36, 114, 74, .1); color: #24724a; }
html[data-theme="light"] .o-tfa-codes li code { background: rgba(176, 125, 42, .1); }
html[data-theme="light"] .o-tfa-setup__img { border: 1px solid var(--o-line); }

/* ===== Site dialogs (js/orion-ui.js: oConfirm / oAlert / form[data-confirm]) ===== */
html.o-dlg-open { overflow: hidden; }
.o-dlg { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 16px;
    background: rgba(6, 5, 3, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    opacity: 0; transition: opacity .16s ease; }
.o-dlg.is-in { opacity: 1; }
.o-dlg__box { width: min(100%, 420px); padding: 24px 24px 20px; border-radius: 16px; text-align: center;
    background: linear-gradient(180deg, #1f1a12, #15110b); border: 1px solid var(--o-line);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .04);
    transform: translateY(10px) scale(.97); transition: transform .18s ease; }
.o-dlg.is-in .o-dlg__box { transform: none; }
.o-dlg__icon { width: 48px; height: 48px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%;
    background: rgba(216, 173, 95, .12); color: var(--o-gold-hi, var(--o-gold)); border: 1px solid rgba(216, 173, 95, .3); }
.o-dlg--danger .o-dlg__icon { background: rgba(214, 92, 72, .12); color: #f0957f; border-color: rgba(214, 92, 72, .35); }
.o-dlg__title { margin: 0 0 8px; font-family: var(--o-display); font-size: 20px; line-height: 1.25; color: var(--o-star); }
.o-dlg__text { margin: 0 0 20px; color: var(--o-mist); font-size: 14.5px; line-height: 1.55; overflow-wrap: anywhere; }
.o-dlg__title:last-child { margin-bottom: 20px; }
.o-dlg__acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.o-dlg__acts .o-btn { min-width: 128px; justify-content: center; }
.o-btn--danger { background: linear-gradient(180deg, #c8553f, #9e3b29); color: #fff4ef; border: 1px solid rgba(255, 160, 140, .35); }
.o-btn--danger:hover, .o-btn--danger:focus-visible { filter: brightness(1.08); color: #fff; }
html[data-theme="light"] .o-dlg { background: rgba(60, 45, 20, .35); }
html[data-theme="light"] .o-dlg__box { background: linear-gradient(180deg, #fffaf1, #f6ecd9); box-shadow: 0 24px 60px rgba(70, 50, 20, .25); }
html[data-theme="light"] .o-dlg__icon { background: rgba(176, 125, 42, .1); color: #9a6c22; border-color: rgba(176, 125, 42, .3); }
html[data-theme="light"] .o-dlg--danger .o-dlg__icon { background: rgba(180, 60, 40, .08); color: #b0402b; border-color: rgba(180, 60, 40, .3); }
@media (max-width: 420px) { .o-dlg__acts .o-btn { flex: 1; min-width: 0; } }
@media (prefers-reduced-motion: reduce) { .o-dlg, .o-dlg__box { transition: none; } }

/* ==========================================================================
   Game database (/database …): views/database/*, App\Http\Controllers\DatabaseController
   ========================================================================== */
.o-db { padding-top: 8px; }
.o-db__head {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    margin-bottom: 22px;
}
.o-db__title { margin: 2px 0 10px; }
.o-db__rates { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.o-db__rate {
    display: inline-flex; gap: 6px; align-items: baseline;
    padding: 3px 10px; border-radius: 999px; border: 1px solid var(--o-line);
    font-size: 13px; color: var(--o-gold-hi); font-variant-numeric: tabular-nums;
}
.o-db__rate b { font-weight: 500; color: var(--o-mist); }

/* search */
.o-db__search {
    position: relative; flex: 1 1 380px; max-width: 520px;
    display: flex; align-items: center; gap: 8px;
    padding: 6px 6px 6px 14px;
    border: 1px solid var(--o-line); border-radius: calc(var(--o-radius) + 4px);
    background: rgba(23, 18, 13, .55);
    transition: border-color .25s, box-shadow .25s;
}
.o-db__search:focus-within { border-color: rgba(240, 207, 138, .6); box-shadow: 0 0 0 3px rgba(216, 173, 95, .12); }
.o-db__search > .o-btn__ic { color: var(--o-gold); flex: none; }
.o-db__search input {
    flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
    color: var(--o-star); font: inherit; font-size: 16px; padding: 8px 0;
}
.o-db__search input::placeholder { color: var(--o-mist); opacity: .8; }
.o-db__search input::-webkit-search-cancel-button { filter: grayscale(1) brightness(1.4); }
.o-db__suggest {
    position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px);
    padding: 6px; border: 1px solid var(--o-line); border-radius: calc(var(--o-radius) + 4px);
    background: var(--o-dusk); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .8);
    max-height: 420px; overflow-y: auto;
}
.o-db__suggest a {
    display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: var(--o-radius);
    color: var(--o-star); text-decoration: none;
}
.o-db__suggest a:hover, .o-db__suggest a.is-active { background: rgba(216, 173, 95, .1); }
.o-db__suggest img, .o-db__suggest .o-db__sg-ic { width: 28px; height: 28px; flex: none; border-radius: 3px; }
.o-db__suggest .o-db__sg-ic { display: grid; place-items: center; border: 1px solid var(--o-line); color: var(--o-gold); font-size: 11px; }
.o-db__suggest small { display: block; color: var(--o-mist); font-size: 12.5px; }
.o-db__suggest .o-db__sg-all { justify-content: center; color: var(--o-gold); font-size: 14px; }

.o-db__tabs { margin-bottom: 20px; }
.o-db__body > * + * { margin-top: 18px; }
.o-db__block { padding: 18px 20px; }
.o-db__block.o-stable-wrap { padding: 16px 12px 6px; }
.o-db__block.o-stable-wrap > .o-db__h2 { padding: 0 8px; }
.o-db__h2 {
    display: flex; align-items: baseline; gap: 10px;
    margin: 0 0 12px; font-family: var(--o-display); font-size: 19px; color: var(--o-gold-hi);
}
.o-db__h2 span { font-family: var(--o-body); font-size: 14px; color: var(--o-mist); font-weight: 400; }
.o-db__note { display: flex; align-items: center; gap: 8px; color: var(--o-mist); font-size: 14.5px; margin: 14px 0 0; }
.o-db__note .o-btn__ic { color: var(--o-gold); flex: none; }
.o-db__results { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 18px; align-items: start; }
.o-db__results > * + * { margin-top: 0; }

/* overview cards */
.o-dbcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.o-dbcard {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
    padding: 20px; text-decoration: none; color: var(--o-star);
    animation: o-rise .6s cubic-bezier(.2, .7, .2, 1) var(--o-delay, 0s) backwards;
    transition: border-color .3s, transform .35s cubic-bezier(.2, .7, .2, 1), background-color .3s;
}
.o-dbcard:hover { border-color: rgba(240, 207, 138, .5); transform: translateY(-2px); background-color: rgba(216, 173, 95, .04); }
.o-dbcard__ic {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid var(--o-line); background: radial-gradient(circle, rgba(216, 173, 95, .16), transparent 70%); color: var(--o-gold);
}
.o-dbcard__label { font-family: var(--o-display); font-weight: 700; font-size: 17px; }
.o-dbcard__n { color: var(--o-mist); font-variant-numeric: tabular-nums; }

/* filters */
.o-dbfilters { display: grid; gap: 10px; }
.o-dbfilters__row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.o-dbfilters__label { margin-right: 4px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--o-mist); }
.o-dbchip {
    display: inline-flex; align-items: center; padding: 6px 13px; border-radius: 999px;
    border: 1px solid var(--o-line); background: transparent; color: var(--o-mist);
    font: inherit; font-size: 14.5px; text-decoration: none; cursor: var(--o-cur-link, pointer);
    transition: color .2s, border-color .2s, background-color .2s;
}
.o-dbchip:hover { color: var(--o-star); border-color: rgba(240, 207, 138, .5); }
.o-dbchip.is-active { color: #1c1406; border-color: transparent; background: linear-gradient(180deg, var(--o-gold-hi), var(--o-gold)); }
.o-dbchip--sm { padding: 4px 11px; font-size: 13.5px; }
.o-dbchip--toggle { margin-left: auto; }
.o-dblevel__inp input {
    width: 70px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--o-line);
    background: transparent; color: var(--o-star); font: inherit; font-size: 13.5px;
}
.o-dblevel__inp input:focus { outline: 0; border-color: rgba(240, 207, 138, .6); }

/* item / npc cell */
.o-dbi { display: inline-flex; align-items: center; gap: 10px; min-width: 0; max-width: 100%; color: var(--o-star); text-decoration: none; }
.o-dbi__ic {
    position: relative; flex: none; width: 34px; height: 34px; padding: 1px; border-radius: 4px;
    border: 1px solid rgba(216, 173, 95, .35); background: rgba(12, 10, 8, .6);
}
.o-dbi__ic img { display: block; width: 100%; height: 100%; border-radius: 2px; }
.o-dbi__txt { display: grid; min-width: 0; }
.o-dbi__name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s; }
.o-dbi:hover .o-dbi__name { color: var(--o-gold-hi); }
.o-dbi__meta { font-size: 13px; color: var(--o-mist); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o-dbi__count { font-weight: 400; color: var(--o-mist); }
.o-dbi__lv {
    flex: none; display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 4px; border-radius: 4px;
    border: 1px solid var(--o-line); font-family: var(--o-display); font-weight: 700; font-size: 14px; color: var(--o-gold);
    background: rgba(216, 173, 95, .06); font-variant-numeric: tabular-nums;
}
.o-grade {
    flex: none; display: inline-grid; place-items: center; min-width: 24px; height: 20px; padding: 0 5px;
    border-radius: 4px; border: 1px solid currentColor; font-family: var(--o-display); font-weight: 700; font-size: 11.5px; line-height: 1;
    color: var(--o-mist);
}
.o-grade--d { color: #86b9e6; } .o-grade--c { color: #8fcc8c; } .o-grade--b { color: #e9a866; }
.o-grade--a { color: #dc86d4; } .o-grade--s { color: var(--o-gold-hi); }
.o-dbchip--grade-d:not(.is-active) { color: #86b9e6; } .o-dbchip--grade-c:not(.is-active) { color: #8fcc8c; }
.o-dbchip--grade-b:not(.is-active) { color: #e9a866; } .o-dbchip--grade-a:not(.is-active) { color: #dc86d4; }
.o-dbchip--grade-s:not(.is-active) { color: var(--o-gold-hi); }

/* lists (search results, shops, recipes) */
.o-dblist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 4px 14px; }
.o-dblist > li { display: flex; align-items: center; min-width: 0; padding: 6px 8px; border-radius: var(--o-radius); transition: background-color .2s; }
.o-dblist > li:hover { background: rgba(216, 173, 95, .05); }
.o-dblist__row { justify-content: space-between; gap: 10px; }
.o-db__results .o-dblist { grid-template-columns: 1fr; }
.o-dbprice { flex: none; font-variant-numeric: tabular-nums; color: var(--o-gold-hi); white-space: nowrap; }
.o-dbprice small { color: var(--o-mist); font-size: 12.5px; }

/* tables */
.o-dbtable td { padding-top: 9px; padding-bottom: 9px; }
.o-dbtable td:first-child { max-width: 0; width: 60%; }
.o-dbtable .o-stable__value { font-size: 16px; }
.o-dbtable__chance { width: 170px; text-align: right !important; }
.o-dbchance { display: inline-grid; grid-template-columns: 70px auto; align-items: center; gap: 10px; justify-content: end; cursor: help; }
.o-dbchance__bar { position: relative; height: 5px; border-radius: 3px; background: rgba(216, 173, 95, .12); overflow: hidden; }
.o-dbchance__bar::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, var(--o-gold), var(--o-gold-hi)); }
.o-dbchance__val { min-width: 62px; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.o-dbchance.is-sure .o-dbchance__val { color: #7fd39a; }
.o-dbchance.is-sure .o-dbchance__bar::after { background: linear-gradient(90deg, #4fae70, #7fd39a); }
.o-dbchance.is-high .o-dbchance__val { color: var(--o-gold-hi); }
.o-dbchance.is-low .o-dbchance__val { color: var(--o-mist); font-weight: 500; }

/* pager */
.o-dbpager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 18px; }
.o-dbpager__a {
    display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: var(--o-radius);
    border: 1px solid var(--o-line); color: var(--o-mist); text-decoration: none; font-variant-numeric: tabular-nums;
    transition: color .2s, border-color .2s;
}
a.o-dbpager__a:hover { color: var(--o-gold-hi); border-color: rgba(240, 207, 138, .5); }
.o-dbpager__a.is-active { color: #1c1406; border-color: transparent; background: linear-gradient(180deg, var(--o-gold-hi), var(--o-gold)); font-weight: 700; }
.o-dbpager__gap { color: var(--o-mist); padding: 0 2px; }
.o-dbpager__total { width: 100%; text-align: center; font-size: 13.5px; color: var(--o-mist); margin-top: 4px; }

/* item / npc card */
.o-dbcardx { padding: 24px; }
.o-dbcardx__top { display: flex; gap: 20px; align-items: flex-start; }
.o-dbcardx__ic {
    flex: none; width: 72px; height: 72px; padding: 3px; border-radius: 8px;
    border: 1px solid rgba(240, 207, 138, .5); background: rgba(12, 10, 8, .7);
    box-shadow: 0 0 0 4px rgba(216, 173, 95, .07), 0 12px 30px -14px rgba(216, 173, 95, .6);
}
.o-dbcardx__ic img { display: block; width: 100%; height: 100%; border-radius: 5px; }
.o-dbcardx__lv {
    flex: none; display: grid; place-items: center; align-content: center; width: 72px; height: 72px; border-radius: 50%;
    border: 1px solid rgba(240, 207, 138, .5); font-family: var(--o-display); font-weight: 700; font-size: 26px; line-height: 1; color: var(--o-gold-hi);
    background: radial-gradient(circle, rgba(216, 173, 95, .18), transparent 70%);
}
.o-dbcardx__lv small { font-size: 11px; letter-spacing: .1em; color: var(--o-mist); margin-bottom: 2px; }
.o-dbcardx__head { min-width: 0; flex: 1; }
.o-dbcardx__name { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0; font-family: var(--o-display); font-size: 26px; color: var(--o-gold-hi); line-height: 1.2; }
.o-dbcardx__name .o-grade { font-size: 13px; height: 24px; min-width: 30px; }
.o-dbcardx__sub { margin: 6px 0 0; color: var(--o-mist); }
.o-dbcardx__title { color: var(--o-aether); }
.o-dbcardx__id { display: inline-block; white-space: nowrap; margin-left: 8px; padding: 1px 7px; border-radius: 4px; border: 1px solid var(--o-line); font-size: 12px; letter-spacing: .04em; }
.o-dbcardx__desc { margin: 10px 0 0; color: var(--o-star); opacity: .9; max-width: 75ch; }
.o-dbcardx__desc:empty { display: none; }
.o-dbstats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 20px; }
.o-dbstat {
    display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--o-radius);
    border: 1px solid rgba(216, 173, 95, .14); background: rgba(216, 173, 95, .035);
}
.o-dbstat span { font-size: 12.5px; letter-spacing: .04em; color: var(--o-mist); }
.o-dbstat b { font-family: var(--o-display); font-size: 18px; color: var(--o-star); font-variant-numeric: tabular-nums; }
.o-dbskills { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; }
.o-dbskills li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.o-dbskills img { border-radius: 3px; border: 1px solid var(--o-line); }
.o-dbskills small { color: var(--o-mist); }
.o-dbskills em { font-style: normal; font-size: 13.5px; color: var(--o-mist); }
.o-dbflags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; }
.o-dbflag { padding: 2px 10px; border-radius: 999px; font-size: 12.5px; border: 1px solid var(--o-line); }
.o-dbflag.is-yes { color: #8fd2a3; border-color: rgba(127, 211, 154, .35); }
.o-dbflag.is-yes::before { content: '✓ '; }
.o-dbflag.is-no { color: var(--o-mist); opacity: .75; text-decoration: line-through; }
.o-dbtag { padding: 1px 8px; border-radius: 999px; border: 1px solid var(--o-line); font-size: 12.5px; }
.o-dbtag--ember { color: #f08a6b; border-color: rgba(194, 80, 47, .5); }

/* recipe */
.o-dbrecipe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 18px; align-items: start; }
.o-dbrecipe__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 0; font-size: 14px; color: var(--o-mist); }
.o-dbrecipe__meta a { color: var(--o-aether); }
.o-dbrecipe__mats { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }

/* world map with spawn points */
.o-dbmap {
    position: relative; width: 100%; border-radius: var(--o-radius); overflow: hidden;
    border: 1px solid var(--o-line); background-color: #2a241c; background-repeat: no-repeat;
    filter: saturate(.9);
}
.o-dbmap::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 40px rgba(0, 0, 0, .45); pointer-events: none; }
.o-dbmap__pt {
    position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%;
    background: #ff5a36; border: 1px solid #fff3d6; box-shadow: 0 0 0 3px rgba(255, 90, 54, .28), 0 0 10px rgba(255, 90, 54, .8);
    animation: o-dbpulse 2.4s ease-in-out infinite;
}
@keyframes o-dbpulse { 50% { box-shadow: 0 0 0 6px rgba(255, 90, 54, .12), 0 0 14px rgba(255, 90, 54, .9); } }
@media (prefers-reduced-motion: reduce) { .o-dbmap__pt { animation: none; } }

@media (max-width: 760px) {
    .o-db__head { align-items: stretch; }
    .o-db__search { max-width: none; }
    .o-dbcardx { padding: 18px; }
    .o-dbcardx__top { gap: 14px; }
    .o-dbcardx__ic, .o-dbcardx__lv { width: 56px; height: 56px; }
    .o-dbcardx__lv { font-size: 21px; }
    .o-dbcardx__name { font-size: 21px; }
    .o-dbrecipe { grid-template-columns: 1fr; }
    .o-dbtable__chance { width: auto; }
    .o-dbchance { grid-template-columns: auto; }
    .o-dbchance__bar { display: none; }
    .o-dbtable td:first-child { width: auto; max-width: none; }
    .o-dbtable .o-dbi__name { white-space: normal; overflow-wrap: anywhere; }
    .o-dbtable td { padding-left: 8px; padding-right: 8px; }
    .o-dbtable td.o-stable__num { font-size: 13.5px; white-space: normal; }
    .o-dbchip--toggle { margin-left: 0; }
    .o-dbstats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .o-dbstat { padding: 8px 10px; }
    .o-dbstat b { font-size: 16px; }
}

/* light theme */
[data-theme="light"] .o-db__search { background: rgba(255, 252, 245, .8); }
[data-theme="light"] .o-db__suggest { background: #fffaf0; box-shadow: 0 18px 40px -18px rgba(80, 55, 20, .45); }
[data-theme="light"] .o-dbi__ic, [data-theme="light"] .o-dbcardx__ic { background: #2a2219; }
[data-theme="light"] .o-dbchip.is-active, [data-theme="light"] .o-dbpager__a.is-active { color: #1c1406; background: linear-gradient(180deg, #f3d48c, #d9ad55 60%, #b8862f); box-shadow: inset 0 0 0 1px rgba(154, 108, 34, .45); }
[data-theme="light"] .o-dbchip:not(.is-active) { background: rgba(255, 252, 245, .7); color: #5b4a30; border-color: rgba(154, 108, 34, .3); }
[data-theme="light"] .o-dbchip:not(.is-active):hover { color: #2e2518; background: rgba(176, 125, 42, .1); border-color: rgba(154, 108, 34, .55); }
[data-theme="light"] .o-grade--d, [data-theme="light"] .o-dbchip--grade-d:not(.is-active) { color: #2f6ea8; }
[data-theme="light"] .o-grade--c, [data-theme="light"] .o-dbchip--grade-c:not(.is-active) { color: #3d8a3a; }
[data-theme="light"] .o-grade--b, [data-theme="light"] .o-dbchip--grade-b:not(.is-active) { color: #b0601c; }
[data-theme="light"] .o-grade--a, [data-theme="light"] .o-dbchip--grade-a:not(.is-active) { color: #9c3c94; }
[data-theme="light"] .o-grade--s, [data-theme="light"] .o-dbchip--grade-s:not(.is-active) { color: #8a6418; }
[data-theme="light"] .o-dbchance.is-sure .o-dbchance__val, [data-theme="light"] .o-dbflag.is-yes { color: #2f8a4f; }

/* Game database: monster picture, HP / MP bars, picture thumbnails (added 2026-11-06) */
.o-dbnpc.has-img { display: grid; grid-template-columns: minmax(180px, 260px) minmax(0, 1fr); gap: 26px; align-items: stretch; }
.o-dbnpc__main { min-width: 0; }
.o-dbnpc__pic {
    position: relative; margin: 0; display: grid; place-items: end center; min-height: 260px; padding: 18px 12px 10px;
    border-radius: calc(var(--o-radius) + 2px); border: 1px solid rgba(216, 173, 95, .2); overflow: hidden;
    background:
        radial-gradient(ellipse 60% 12% at 50% 94%, rgba(0, 0, 0, .55), transparent 70%),
        radial-gradient(circle at 50% 38%, rgba(216, 173, 95, .22), transparent 62%),
        linear-gradient(180deg, #1d1710, #0e0b08);
}
.o-dbnpc__pic img { position: relative; display: block; max-width: 100%; max-height: 320px; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .6)); animation: o-rise .7s cubic-bezier(.2, .7, .2, 1) backwards; }
.o-dbnpc__lv {
    position: absolute; top: 10px; left: 10px; display: grid; place-items: center; align-content: center; width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid rgba(240, 207, 138, .55); background: rgba(12, 10, 8, .75); backdrop-filter: blur(3px);
    font-family: var(--o-display); font-weight: 700; font-size: 18px; line-height: 1; color: var(--o-gold-hi);
}
.o-dbnpc__lv small { font-size: 9px; letter-spacing: .1em; color: var(--o-mist); margin-bottom: 2px; }

/* HP / MP bars (game target window) */
.o-dbbars { display: grid; gap: 7px; margin-top: 18px; max-width: 560px; }
.o-dbbar { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 10px; }
.o-dbbar__k { font-family: var(--o-display); font-weight: 700; font-size: 13px; letter-spacing: .06em; color: var(--o-mist); }
.o-dbbar__track {
    position: relative; height: 20px; border-radius: 3px; overflow: hidden;
    background: #0b0907; border: 1px solid rgba(0, 0, 0, .7);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, .8), 0 0 0 1px rgba(216, 173, 95, .22);
}
.o-dbbar__fill {
    position: absolute; inset: 0; transform-origin: left center;
    animation: o-dbbar-fill 1.1s cubic-bezier(.2, .8, .2, 1) .15s backwards;
}
.o-dbbar__fill::after {   /* glass shine + the game's fine segment lines */
    content: ''; position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 48%, rgba(0, 0, 0, .18) 52%, rgba(0, 0, 0, .3)),
        repeating-linear-gradient(90deg, transparent 0 9px, rgba(0, 0, 0, .14) 9px 10px);
}
.o-dbbar--hp .o-dbbar__fill { background: linear-gradient(90deg, #7c1410, #c4251b 55%, #e2412c); }
.o-dbbar--mp .o-dbbar__fill { background: linear-gradient(90deg, #102f76, #1f55c4 55%, #3a7ce6); animation-delay: .3s; }
.o-dbbar__v {
    position: relative; display: block; text-align: center; line-height: 18px; font-size: 12.5px; font-weight: 600;
    color: #fff; letter-spacing: .02em; font-variant-numeric: tabular-nums; text-shadow: 0 1px 2px #000, 0 0 3px rgba(0, 0, 0, .8);
}
@keyframes o-dbbar-fill { from { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) { .o-dbbar__fill, .o-dbnpc__pic img { animation: none; } }

/* map: never stretched wider than its picture allows */
.o-dbmap { margin: 0 auto; }

/* picture thumbnail in NPC lists */
.o-dbi__pic {
    position: relative; flex: none; width: 34px; height: 34px; border-radius: 4px; overflow: hidden;
    border: 1px solid var(--o-line); background: radial-gradient(circle at 50% 30%, rgba(216, 173, 95, .25), #120e0a 75%);
}
.o-dbi__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 6%; display: block; }
.o-dbi__pic b {
    position: absolute; right: 0; bottom: 0; min-width: 16px; padding: 0 3px; border-top-left-radius: 4px;
    background: rgba(12, 10, 8, .85); color: var(--o-gold-hi); font-family: var(--o-display); font-size: 10px; line-height: 14px; text-align: center;
}
.o-db__suggest img { object-fit: cover; object-position: 50% 6%; background: #120e0a; }

@media (max-width: 760px) {
    .o-dbnpc.has-img { grid-template-columns: 1fr; gap: 16px; }
    .o-dbnpc__pic { min-height: 200px; }
    .o-dbnpc__pic img { max-height: 240px; }
}
[data-theme="light"] .o-dbnpc__pic {
    background:
        radial-gradient(ellipse 60% 12% at 50% 94%, rgba(60, 40, 15, .35), transparent 70%),
        radial-gradient(circle at 50% 38%, rgba(216, 173, 95, .35), transparent 62%),
        linear-gradient(180deg, #f6ecd8, #e6d5b3);
}
[data-theme="light"] .o-dbnpc__pic img { filter: drop-shadow(0 10px 16px rgba(60, 40, 15, .35)); }

[data-theme="light"] .o-dbnpc__lv {
    border-color: rgba(176, 125, 42, .55); background: rgba(255, 250, 238, .82);
    color: #8a5a12; box-shadow: 0 4px 12px -6px rgba(80, 55, 20, .45);
}
[data-theme="light"] .o-dbnpc__lv small { color: #8b7a5c; }
[data-theme="light"] .o-dbi__pic { background: radial-gradient(circle at 50% 30%, rgba(216, 173, 95, .35), #efe2c6 75%); }
[data-theme="light"] .o-dbi__pic b { background: rgba(255, 250, 238, .9); color: #8a5a12; }

/* Game database: NPC skills under HP / MP (views/database/npc.blade.php) */
.o-dbnskills { display: grid; gap: 12px; margin-top: 18px; }
.o-dbnskills__grp { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px; align-items: start; }
.o-dbnskills__t { padding-top: 7px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--o-mist); }
.o-dbnskills__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.o-dbsk {
    position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 3px 10px 3px 3px;
    border-radius: 6px; border: 1px solid rgba(216, 173, 95, .18); background: rgba(216, 173, 95, .04);
    cursor: help; outline: 0; transition: border-color .2s, background-color .2s;
}
.o-dbsk:hover, .o-dbsk:focus-visible, .o-dbsk:focus { border-color: rgba(240, 207, 138, .55); background: rgba(216, 173, 95, .09); }
.o-dbsk__ic { flex: none; width: 30px; height: 30px; padding: 1px; border-radius: 4px; border: 1px solid rgba(216, 173, 95, .35); background: #0e0b08; }
.o-dbsk__ic img { display: block; width: 100%; height: 100%; border-radius: 3px; }
.o-dbsk__name { font-size: 14px; font-weight: 600; color: var(--o-star); white-space: nowrap; }
.o-dbsk__name small { margin-left: 2px; padding: 0 5px; border-radius: 3px; background: rgba(216, 173, 95, .14); color: var(--o-gold-hi); font-size: 11.5px; font-weight: 700; }
.o-dbsk__tip {
    position: absolute; z-index: 40; left: 0; bottom: calc(100% + 8px); width: max-content; max-width: min(340px, 80vw);
    display: grid; gap: 4px; padding: 10px 12px; border-radius: 8px;
    border: 1px solid rgba(240, 207, 138, .4); background: #15110c; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .9);
    color: var(--o-star); font-size: 13.5px; line-height: 1.45;
    opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .18s, transform .18s, visibility .18s; pointer-events: none;
}
.o-dbsk__tip b { color: var(--o-gold-hi); font-family: var(--o-display); font-size: 15px; }
.o-dbsk__tip small { color: var(--o-mist); }
.o-dbsk__tip em { font-style: normal; font-size: 12.5px; color: var(--o-aether); }
.o-dbsk__tip span { color: #e3d6bb; }
.o-dbsk:hover .o-dbsk__tip, .o-dbsk:focus .o-dbsk__tip { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 760px) {
    .o-dbnskills__grp { grid-template-columns: 1fr; gap: 6px; }
    .o-dbnskills__t { padding-top: 0; }
}
[data-theme="light"] .o-dbsk { background: rgba(255, 250, 238, .6); border-color: rgba(176, 125, 42, .25); }
[data-theme="light"] .o-dbsk__ic { background: #2a2219; }
[data-theme="light"] .o-dbsk__name small { background: rgba(176, 125, 42, .14); color: #8a5a12; }
[data-theme="light"] .o-dbsk__tip { background: #fffaf0; border-color: rgba(176, 125, 42, .4); box-shadow: 0 16px 34px -16px rgba(80, 55, 20, .5); }
[data-theme="light"] .o-dbsk__tip b { color: #8a5a12; }
[data-theme="light"] .o-dbsk__tip span { color: #3b2f1e; }
[data-theme="light"] .o-dbsk__tip em { color: #b0601c; }

/* Game database: picture at real size, stats changed by passive skills, weak / resists (2026-11-06) */
.o-dbnpc.has-img { grid-template-columns: auto minmax(0, 1fr); }
.o-dbnpc__pic { min-width: 220px; max-width: 520px; }
.o-dbnpc__pic img { width: auto; height: auto; max-width: 100%; max-height: none; }
.o-dbnpc.is-wide { grid-template-columns: 1fr; }
.o-dbnpc.is-wide .o-dbnpc__pic { max-width: none; }

.o-dbmod {
    display: inline-block; padding: 0 6px; border-radius: 4px; font-style: normal; font-family: var(--o-body);
    font-size: 12px; font-weight: 700; line-height: 18px; color: #7fd39a; background: rgba(127, 211, 154, .12); cursor: help;
    vertical-align: middle;
}
.o-dbstat.is-mod { border-color: rgba(127, 211, 154, .3); cursor: help; }
.o-dbtrait {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 6px; font-size: 14px;
    border: 1px solid var(--o-line); color: var(--o-star); cursor: help;
}
.o-dbtrait b { font-variant-numeric: tabular-nums; }
.o-dbtrait.is-weak { border-color: rgba(127, 211, 154, .35); background: rgba(127, 211, 154, .06); }
.o-dbtrait.is-weak b { color: #7fd39a; }
.o-dbtrait.is-resist { border-color: rgba(194, 80, 47, .4); background: rgba(194, 80, 47, .07); }
.o-dbtrait.is-resist b { color: #f08a6b; }
@media (max-width: 760px) {
    .o-dbnpc.has-img { grid-template-columns: 1fr; }
    .o-dbnpc__pic { min-width: 0; max-width: none; }
}
[data-theme="light"] .o-dbmod, [data-theme="light"] .o-dbtrait.is-weak b { color: #2f8a4f; }
[data-theme="light"] .o-dbmod { background: rgba(47, 138, 79, .12); }
[data-theme="light"] .o-dbtrait.is-resist b { color: #b0401c; }

/* Game database: "x2 / x5" HP monsters next to the name */
.o-dbx {
    display: inline-flex; align-items: center; margin-left: 10px; padding: 1px 8px 2px; border-radius: 5px; vertical-align: middle;
    font-family: var(--o-display); font-size: 15px; font-weight: 700; line-height: 1.3; letter-spacing: .02em;
    color: #fff3e0; background: linear-gradient(180deg, #d0452b, #8f2112); box-shadow: 0 0 0 1px rgba(255, 170, 120, .35), 0 4px 12px -5px rgba(194, 80, 47, .9);
    cursor: help;
}
.o-dbx--sm { margin-left: 4px; padding: 0 5px; font-size: 11px; border-radius: 4px; box-shadow: none; }
.o-dbnpc__main > .o-dbnskills { padding-top: 16px; border-top: 1px solid rgba(216, 173, 95, .14); }

/* Game database: styled hover hints (data-tip) on x2/x5 marks, ×N stat marks, weak / resists */
.o-db [data-tip] { position: relative; cursor: help; outline: 0; }
.o-db [data-tip]::after,
.o-uptime__bar[data-tip]::after {
    content: attr(data-tip);
    position: absolute; z-index: 45; left: 50%; bottom: calc(100% + 9px);
    width: max-content; max-width: min(300px, 80vw); padding: 8px 11px; border-radius: 7px;
    border: 1px solid rgba(240, 207, 138, .4); background: #15110c; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .9);
    color: #efe4cc; font-family: var(--o-body); font-size: 13.5px; font-weight: 500; line-height: 1.4; letter-spacing: 0; text-transform: none; text-align: left; white-space: normal;
    opacity: 0; visibility: hidden; transform: translate(-50%, 4px); transition: opacity .16s, transform .16s, visibility .16s; pointer-events: none;
}
.o-db [data-tip]:hover::after, .o-db [data-tip]:focus-visible::after,
.o-uptime__bar[data-tip]:hover::after { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.o-db .o-dbstat[data-tip]::after { left: 12px; transform: translate(0, 4px); }
.o-db .o-dbstat[data-tip]:hover::after, .o-db .o-dbstat[data-tip]:focus-visible::after { transform: none; }
/* hover look */
.o-dbx { transition: transform .2s, box-shadow .2s, filter .2s; }
.o-dbx:hover, .o-dbx:focus-visible { transform: translateY(-1px); filter: brightness(1.12); box-shadow: 0 0 0 1px rgba(255, 190, 150, .6), 0 6px 16px -5px rgba(194, 80, 47, 1); }
.o-dbmod { transition: background-color .2s; }
.o-dbmod:hover, .o-dbmod:focus-visible { background: rgba(127, 211, 154, .24); }
.o-dbstat.is-mod { transition: border-color .2s, background-color .2s; }
.o-dbstat.is-mod:hover, .o-dbstat.is-mod:focus-visible { border-color: rgba(127, 211, 154, .6); background: rgba(127, 211, 154, .06); }
.o-dbtrait { transition: border-color .2s, transform .2s; }
.o-dbtrait:hover, .o-dbtrait:focus-visible { transform: translateY(-1px); border-color: currentColor; }
[data-theme="light"] .o-db [data-tip]::after, [data-theme="light"] .o-uptime__bar[data-tip]::after { background: #fffaf0; color: #3b2f1e; border-color: rgba(176, 125, 42, .4); box-shadow: 0 14px 30px -14px rgba(80, 55, 20, .5); }
/* monster card: picture centred in its box; stacked above the info on tablets and narrower */
.o-dbnpc__pic { place-items: center; }
@media (max-width: 1024px) {
    .o-dbnpc.has-img { grid-template-columns: 1fr; gap: 18px; }
    .o-dbnpc__pic { min-width: 0; max-width: none; }
}
.o-dbstats + .o-dbstats { margin-top: 8px; }

/* Game database: base attributes row (STR … MEN) */
.o-dbattrs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.o-dbattr {
    display: flex; align-items: baseline; justify-content: center; gap: 8px; padding: 7px 8px; border-radius: var(--o-radius);
    border: 1px solid rgba(216, 173, 95, .14); background: rgba(216, 173, 95, .025);
}
.o-dbattr small { font-size: 11.5px; letter-spacing: .1em; color: var(--o-mist); }
.o-dbattr b { font-family: var(--o-display); font-size: 16px; color: var(--o-star); font-variant-numeric: tabular-nums; }
.o-db .o-dbbar[data-tip]::after { left: 40px; transform: translate(0, 4px); }
.o-db .o-dbbar[data-tip]:hover::after, .o-db .o-dbbar[data-tip]:focus-visible::after { transform: none; }
@media (max-width: 760px) { .o-dbattrs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Game database: drop categories (only one item of a category drops) */
.o-dbcat + .o-dbcat .o-dbcat__head td { border-top: 1px solid var(--o-line); }
.o-dbcat__head td { padding: 10px 14px 6px !important; background: rgba(216, 173, 95, .045); }
.o-dbcat__head:hover td { background: rgba(216, 173, 95, .045) !important; }
.o-dbcat__head span { font-family: var(--o-display); font-weight: 700; font-size: 13px; letter-spacing: .06em; color: var(--o-gold); }
.o-dbcat__head em { margin-left: 10px; font-style: normal; font-size: 13px; color: var(--o-mist); }
.o-dbcat__head b { float: right; font-size: 13.5px; color: var(--o-gold-hi); font-variant-numeric: tabular-nums; }
[data-theme="light"] .o-dbcat__head b { color: #8a5a12; }

/* inner pages (no hero, e.g. /database): the top glow is drawn once – on long pages it used to repeat in bands */
body.orion--page,
html[data-theme="light"] body.orion--page { background-repeat: no-repeat; }

/* Game database: section titles inside the monster card (Stats / Base stats) and the race tag */
.o-dbsec {
    margin: 20px 0 8px; font-family: var(--o-body); font-size: 12.5px; font-weight: 600; letter-spacing: .1em;
    text-transform: uppercase; color: var(--o-mist);
}
.o-dbsec + .o-dbstats, .o-dbsec + .o-dbattrs { margin-top: 0; }
.o-dbtag--race { color: var(--o-gold-hi); border-color: rgba(216, 173, 95, .4); }
[data-theme="light"] .o-dbtag--race { color: #8a5a12; }

/* Game database: grade icons – vector redraw (img/db/grade/*.svg) of the Interlude client icons (systextures/symbol.utx grade_d … grade_s) */
.o-grade-ic { flex: none; display: inline-block; width: 17px; height: 18px; vertical-align: middle; }   /* SVG redraw of the Interlude grade icon */
.o-grade-ic--lg { width: 26px; height: 28px; }
.o-dbchip .o-grade-ic { margin: 0; }
.o-dbchip[class*="o-dbchip--grade-"] { padding-left: 9px; padding-right: 9px; }
.o-dbi__name .o-grade-ic { margin-left: 4px; vertical-align: -3px; }   /* sits on the name line */

/* Game database: classes, skills, quests (/database/classes, /class/{id}, /skills, /skill/{id}, /quests, /quest/{id}) */
.o-dbcls {
    flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
    font-family: var(--o-display); font-weight: 700; font-size: 14px; line-height: 1; color: var(--o-gold-hi);
    border: 1px solid rgba(240, 207, 138, .45); background: radial-gradient(circle, rgba(216, 173, 95, .2), rgba(216, 173, 95, .04) 70%);
}
.o-dbcls--lg { width: 72px; height: 72px; font-size: 28px; box-shadow: 0 0 0 4px rgba(216, 173, 95, .07); }
.o-dbcls--r1 { border-color: rgba(134, 185, 230, .55); color: #a9cdee; }   /* elf */
.o-dbcls--r2 { border-color: rgba(178, 132, 222, .55); color: #c9a8ec; }   /* dark elf */
.o-dbcls--r3 { border-color: rgba(222, 114, 84, .55); color: #f0a088; }    /* orc */
.o-dbcls--r4 { border-color: rgba(143, 204, 140, .55); color: #a9dba6; }   /* dwarf */
[data-theme="light"] .o-dbcls { color: #8a5a12; background: radial-gradient(circle, rgba(216, 173, 95, .25), rgba(255, 250, 238, .6) 70%); }
[data-theme="light"] .o-dbcls--r1 { color: #2f6ea8; }
[data-theme="light"] .o-dbcls--r2 { color: #7a48a8; }
[data-theme="light"] .o-dbcls--r3 { color: #b0461f; }
[data-theme="light"] .o-dbcls--r4 { color: #3d8a3a; }

/* class trees */
.o-dbraces { display: grid; gap: 16px; }
.o-dbtrees { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 10px 24px; }
.o-dbtree, .o-dbtree ul { list-style: none; margin: 0; padding: 0; }
.o-dbtree ul { margin-left: 15px; padding-left: 14px; border-left: 1px solid var(--o-line); }
.o-dbtree__node { padding: 2px 0; }
.o-dbtree__name {
    display: inline-flex; align-items: center; gap: 10px; padding: 4px 10px 4px 4px; border-radius: 999px;
    color: var(--o-star); text-decoration: none; transition: background-color .2s, color .2s;
}
.o-dbtree__name:hover { background: rgba(216, 173, 95, .08); color: var(--o-gold-hi); }
.o-dbtree__name small { color: var(--o-mist); font-size: 12.5px; }
.o-dbtree__node--t0 > .o-dbtree__name { font-family: var(--o-display); font-size: 17px; color: var(--o-gold-hi); }
.o-dbtree__node--t3 > .o-dbtree__name > span:nth-child(2) { font-weight: 600; }
.o-dbtree .o-dbcls { width: 26px; height: 26px; font-size: 12px; }

/* class card */
.o-dbpath { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 10px 0 0; font-size: 14.5px; }
.o-dbpath a { color: var(--o-aether); text-decoration: none; }
.o-dbpath a:hover { text-decoration: underline; }
.o-dbpath b { color: var(--o-star); }
.o-dbpath__sep, .o-dbpath__or { color: var(--o-mist); }
.o-dbstats--attr { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.o-dbstat span small { color: var(--o-mist); opacity: .8; }
.o-dbsec small { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: .8; margin-left: 4px; }
.o-dblist--cols { margin-top: 2px; }
.o-db__note--in { margin: 0 0 12px; font-size: 14px; }

/* skills learned by character level */
.o-dblearn { display: grid; gap: 4px; }
.o-dblearn__lv { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 0; border-top: 1px solid rgba(216, 173, 95, .1); }
.o-dblearn__lv:first-child { border-top: 0; }
.o-dblearn__h {
    display: grid; place-items: center; align-content: center; width: 50px; height: 50px; margin: 2px 0 0; border-radius: 50%;
    border: 1px solid rgba(240, 207, 138, .4); font-family: var(--o-display); font-size: 19px; line-height: 1; color: var(--o-gold-hi);
}
.o-dblearn__h small { font-size: 9.5px; letter-spacing: .1em; color: var(--o-mist); margin-bottom: 1px; }
.o-dblearn__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 2px 12px; }
.o-dblearn__list > li { min-width: 0; padding: 4px 6px; border-radius: var(--o-radius); transition: background-color .2s; }
.o-dblearn__list > li:hover { background: rgba(216, 173, 95, .05); }
.o-dblearn__list > li.is-passive .o-dbi__ic { border-style: dashed; }

/* skill list filters */
.o-dbform { gap: 8px; }
.o-dbselect { display: inline-flex; align-items: center; gap: 6px; }
.o-dbselect select, .o-dbform__q input {
    min-width: 0; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--o-line);
    background: rgba(12, 10, 8, .5); color: var(--o-star); font: inherit; font-size: 14px;
}
.o-dbselect select { max-width: 260px; }
.o-dbselect select:focus, .o-dbform__q input:focus { outline: 0; border-color: rgba(240, 207, 138, .6); }
.o-dbform__q input { width: 210px; }
[data-theme="light"] .o-dbselect select, [data-theme="light"] .o-dbform__q input { background: rgba(255, 252, 244, .9); }

/* skill levels / enchant tables */
.o-dblevels td, .o-dblevels th { white-space: nowrap; }
.o-dblevels__desc { white-space: normal !important; max-width: 560px; font-size: 13.5px; color: var(--o-mist); }
.o-dbrates { font-size: 13px; color: var(--o-mist); }

/* quest links + tags */
.o-dbq { display: grid; gap: 3px; min-width: 0; text-decoration: none; }
.o-dbq__name { font-weight: 600; color: var(--o-star); overflow: hidden; text-overflow: ellipsis; transition: color .2s; }
.o-dbq:hover .o-dbq__name { color: var(--o-gold-hi); }
.o-dbq__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13px; color: var(--o-mist); }
.o-dbtag--sm { padding: 0 7px; font-size: 11.5px; line-height: 18px; }
.o-dbtag.is-repeat { color: #8fd2a3; border-color: rgba(127, 211, 154, .4); }
[data-theme="light"] .o-dbtag.is-repeat { color: #2f7a45; }
.o-dbcardx__sub .o-dbtag { margin-right: 4px; }
.o-dbcardx__lv--q { font-size: 20px; }
.o-dbstat--wide { grid-column: span 2; }
.o-dbstat__txt { font-family: var(--o-body) !important; font-size: 15px !important; font-weight: 500; }
.o-dbcls-list { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; font-size: 14.5px; }
.o-dbcls-list a { color: var(--o-aether); text-decoration: none; }
.o-dbcls-list a:hover { text-decoration: underline; }
.o-dbcls-list span { color: var(--o-mist); }

/* rewards in the quest list */
.o-dbrw { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.o-dbrw__xp { font-size: 13px; color: var(--o-gold-hi); white-space: nowrap; margin-right: 2px; }
.o-dbrw__it { display: inline-flex; border-radius: 4px; border: 1px solid var(--o-line); background: rgba(12, 10, 8, .6); padding: 1px; font-size: 12.5px; color: var(--o-aether); text-decoration: none; }
.o-dbrw__it img { display: block; border-radius: 3px; }
.o-dbrw__it:hover { border-color: rgba(240, 207, 138, .6); }
.o-dbrw__more { font-size: 13px; color: var(--o-mist); }

/* journal */
.o-dbsteps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 0; }
.o-dbsteps__step { position: relative; counter-increment: step; padding: 0 0 16px 46px; }
.o-dbsteps__step::before {
    content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
    border: 1px solid rgba(240, 207, 138, .45); font-family: var(--o-display); font-size: 14px; color: var(--o-gold-hi); background: var(--o-dusk);
}
.o-dbsteps__step:not(:last-child)::after { content: ''; position: absolute; left: 15px; top: 32px; bottom: 2px; width: 1px; background: var(--o-line); }
.o-dbsteps__step b { display: block; padding-top: 4px; color: var(--o-star); }
.o-dbsteps__step p { margin: 4px 0 0; color: var(--o-star); opacity: .85; max-width: 80ch; white-space: pre-line; }
.o-dbsteps__step em { display: inline-block; margin-top: 4px; font-style: normal; font-size: 13.5px; color: var(--o-aether); }

/* quest map: start NPC (gold) and monsters (red) */
.o-dbmap__pt.is-start {
    width: 14px; height: 14px; margin: -7px 0 0 -7px; z-index: 2;
    background: #ffd54a; border: 2px solid #1c1406; box-shadow: 0 0 0 3px rgba(255, 213, 74, .55), 0 0 14px rgba(255, 213, 74, .95);
    animation: none;
}
.o-dbmap__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; font-size: 13.5px; color: var(--o-mist); }
.o-dbmap__legend span { display: inline-flex; align-items: center; gap: 8px; }
.o-dbmap__legend .o-dbmap__pt { position: static; margin: 0; animation: none; }

/* quest monsters with the quest items they drop */
.o-dbqmob__items { display: inline-flex; flex-wrap: wrap; gap: 4px; flex: none; }
.o-dbqmob__items a { display: inline-flex; border-radius: 4px; border: 1px solid var(--o-line); background: rgba(12, 10, 8, .6); padding: 1px; font-size: 12.5px; color: var(--o-aether); text-decoration: none; }
.o-dbqmob__items img { display: block; border-radius: 3px; }

@media (max-width: 640px) {
    .o-dblearn__lv { grid-template-columns: 1fr; gap: 6px; }
    .o-dblearn__h { width: auto; height: auto; place-items: start; border: 0; display: flex; align-items: baseline; gap: 6px; font-size: 17px; }
    .o-dblearn__h small { font-size: 11px; }
    .o-dbstat--wide { grid-column: 1 / -1; }
    .o-dbform__q input { width: 100%; }
    .o-dbform__q { flex: 1 1 180px; }
    .o-dbselect { flex: 1 1 100%; }
    .o-dbselect select { flex: 1; max-width: none; }
    .o-dbcls--lg { width: 56px; height: 56px; font-size: 22px; }
}

/* Game database: tabs row with a "More" menu for the tabs that do not fit (js/orion-ui.js, "Database tabs") */
.o-db__tabs.is-js { overflow: visible; position: relative; z-index: 5; }
.o-db__tabs .o-stats__tab { flex: 0 0 auto; }
.o-db__tabs.is-js > .o-stats__tab { flex: 1 0 auto; }
.o-db__more { position: relative; flex: 0 0 auto; display: flex; }
.o-db__more[hidden] { display: none; }
.o-db__more-btn { gap: 6px; }
.o-db__more-caret { transition: transform .25s; }
.o-db__more.is-open .o-db__more-caret { transform: rotate(180deg); }
.o-db__more-menu {
    position: absolute; top: calc(100% + 8px); right: 0; min-width: 210px; padding: 6px;
    display: grid; gap: 2px; border-radius: calc(var(--o-radius) + 4px); border: 1px solid var(--o-line);
    background: var(--o-dusk); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7);
    opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .2s, transform .2s, visibility .2s;
}
.o-db__more.is-open .o-db__more-menu { opacity: 1; visibility: visible; transform: none; }
.o-db__more-menu .o-stats__tab { justify-content: flex-start; width: 100%; }
html[data-theme="light"] .o-db__more-menu { background: #fffaf0; box-shadow: 0 18px 40px -18px rgba(90, 60, 20, .45); }
@media (prefers-reduced-motion: reduce) { .o-db__more-menu, .o-db__more-caret { transition: none; } }

/* Uptime bars: the shared data-tip hint, kept inside the card at the left / right edges */
.o-uptime__bar[data-tip]:nth-child(-n+3)::after { left: 0; transform: translate(0, 4px); }
.o-uptime__bar[data-tip]:nth-last-child(-n+3)::after { left: auto; right: 0; transform: translate(0, 4px); }
.o-uptime__bar[data-tip]:nth-child(-n+3):hover::after,
.o-uptime__bar[data-tip]:nth-last-child(-n+3):hover::after { transform: none; }


/* ==========================================================================
   LOGO (2026-11-16) — img/orion/fade-crest.webp (crest with swords) in the header and the footer.
   Source: C:\wamp64\fade-logo (Fade-crest.psd, made by Fade-crest.jsx; Fade-crest-export.jsx -> fade-crest.png).
   Trimmed tight (no glow), 369×200 = 2x for the header height.
   ========================================================================== */
.o-brand__logo {
    display: block;
    height: 70px;
    width: auto;
    max-width: none;
    margin: -2px 0;                 /* fills the 78px bar */
    transition: filter .25s ease, transform .25s ease;
}
.o-brand:hover .o-brand__logo { filter: brightness(1.08) drop-shadow(0 0 10px rgba(227, 154, 85, .35)); }
html[data-theme="light"] .o-brand__logo { filter: drop-shadow(0 1px 1px rgba(60, 35, 8, .35)) drop-shadow(0 3px 6px rgba(90, 58, 18, .30)); } /* crest: lifts the gold off the light bar */
html[data-theme="light"] .o-brand:hover .o-brand__logo { filter: brightness(1.05) drop-shadow(0 1px 1px rgba(60, 35, 8, .4)) drop-shadow(0 4px 8px rgba(90, 58, 18, .38)); }
@media (max-width: 1350px) { .o-brand__logo { height: 60px; } }
@media (max-width: 600px)  { .o-brand__logo { height: 50px; margin: 0; } }

.o-footer__logo { display: inline-block; margin: -6px 0 6px -6px; }
.o-footer__logo img { display: block; height: 96px; width: auto; }
@media (prefers-reduced-motion: reduce) { .o-brand__logo { transition: none; } }


/* ==========================================================================
   SPAWN AREAS on the database map (2026-11-08) — datapack data/spawns/*.xml
   Areas (svg paths, views/database/partials/map.blade.php): green fill + light edge (exact spots stay red);
   areas too small for the crop get a diamond marker (.is-area); raid boss spots with a chance: gold ring.
   ========================================================================== */
.o-dbmap__zones {
    position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
    filter: drop-shadow(0 0 2px rgba(40, 200, 110, .7)) drop-shadow(0 0 8px rgba(40, 200, 110, .25));
}
.o-dbmap__area { fill: rgba(64, 214, 120, .18); animation: o-dbzone 3.2s ease-in-out infinite; }
@keyframes o-dbzone { 50% { fill: rgba(64, 214, 120, .26); } }
.o-dbmap__edge { fill: none; stroke: rgba(201, 255, 217, .85); stroke-width: 3; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.o-dbmap__zone { fill: transparent; stroke: none; cursor: help; pointer-events: all; transition: fill .2s ease; }
.o-dbmap__zone:hover { fill: rgba(190, 255, 210, .22); stroke: #fff3d6; stroke-width: 1; vector-effect: non-scaling-stroke; }
/* tiny area: diamond instead of a round dot */
.o-dbmap__pt.is-area {
    width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 1px; transform: rotate(45deg);
    background: #3ddc84; border-color: #eafff0; box-shadow: 0 0 0 3px rgba(61, 220, 132, .28), 0 0 10px rgba(61, 220, 132, .8);
    animation: none;
}
/* raid boss: one of several possible spots */
.o-dbmap__pt.is-chance {
    width: 12px; height: 12px; margin: -6px 0 0 -6px;
    background: rgba(255, 213, 74, .25); border: 2px solid #ffd54a;
    box-shadow: 0 0 0 2px rgba(28, 20, 6, .6), 0 0 12px rgba(255, 213, 74, .9);
    animation: none;
}
.o-dbmap__pt { z-index: 1; }
.o-dbmap__sw {
    display: inline-block; width: 18px; height: 12px; border-radius: 3px;
    background: rgba(64, 214, 120, .18); border: 1.5px solid rgba(201, 255, 217, .85); box-shadow: 0 0 6px rgba(40, 200, 110, .75);
}
@media (prefers-reduced-motion: reduce) { .o-dbmap__area { animation: none; } }
.o-dbmap__legend .o-dbmap__pt.is-chance { margin: 0; }


/* ==========================================================================
   QUEST REWARDS / DROP CHANCES (2026-11-08)
   Quest list reward icons + EXP: data-tip bubbles and the same lift / glow as the other item icons.
   Quest page monsters: item icon + chance badge (L2Db::questDropChance).
   ========================================================================== */
.o-dbrw__it, .o-dbqmob__it { transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, filter .18s ease; }
.o-db .o-dbrw__it[data-tip], .o-db .o-dbqmob__it[data-tip] { cursor: var(--o-cur-link, pointer); }
.o-dbrw__it:hover, .o-dbrw__it:focus-visible, .o-dbqmob__it:hover, .o-dbqmob__it:focus-visible {
    transform: translateY(-2px); border-color: rgba(240, 207, 138, .75); filter: brightness(1.1);
    box-shadow: 0 0 0 1px rgba(240, 207, 138, .25), 0 8px 18px -8px rgba(227, 154, 85, .9);
}
.o-dbrw__xp { border-bottom: 1px dotted rgba(240, 207, 138, .4); }
.o-dbqmob__it { display: inline-flex; align-items: center; gap: 5px; border-radius: 5px; border: 1px solid var(--o-line); background: rgba(12, 10, 8, .6); padding: 1px 6px 1px 1px; font-size: 12.5px; color: var(--o-aether); text-decoration: none; }
.o-dbqmob__it img { display: block; border-radius: 3px; }
.o-dbqmob__nm { padding-left: 5px; }
.o-dbqmob__ch { font-weight: 700; font-size: 12.5px; color: var(--o-gold-hi); font-variant-numeric: tabular-nums; white-space: nowrap; }
.o-dbqch { white-space: nowrap; }
html[data-theme="light"] .o-dbqmob__it { background: rgba(255, 250, 240, .8); }
@media (prefers-reduced-motion: reduce) { .o-dbrw__it, .o-dbqmob__it { transition: none; } .o-dbrw__it:hover, .o-dbqmob__it:hover { transform: none; } }


/* ==========================================================================
   TOOLTIPS everywhere in the database (2026-11-08): every hint uses data-tip (no native title).
   CSS bubble (.o-db [data-tip]::after) as before; images get a wrapper (.o-dbtipw); table headers open it below;
   map shapes / points and the statistics use the floating bubble of orion-ui.js (.o-tipfloat) – the map box
   clips, SVG cannot show ::after.
   ========================================================================== */
.o-dbtipw { display: inline-flex; vertical-align: middle; }
.o-db th[data-tip]::after { bottom: auto; top: calc(100% + 9px); }
.o-db .o-dbmap [data-tip]::after { content: none; }
.o-db .o-dbmap__pt[data-tip] { position: absolute; cursor: help; }
.o-stats [data-tip] { cursor: help; }
.o-dbqmob__it--ic { padding: 1px; }
.o-tipfloat {
    position: fixed; z-index: 1000; left: 0; top: 0;
    width: max-content; max-width: min(300px, 80vw); padding: 8px 11px; border-radius: 7px;
    border: 1px solid rgba(240, 207, 138, .4); background: #15110c; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .9);
    color: #efe4cc; font-family: var(--o-body); font-size: 13.5px; font-weight: 500; line-height: 1.4; text-align: left;
    pointer-events: none; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .16s, transform .16s, visibility .16s;
}
.o-tipfloat.is-on { opacity: 1; visibility: visible; transform: none; }
[data-theme="light"] .o-tipfloat { background: #fffaf0; color: #3b2f1e; border-color: rgba(176, 125, 42, .4); box-shadow: 0 14px 30px -14px rgba(80, 55, 20, .5); }
@media (prefers-reduced-motion: reduce) { .o-tipfloat { transition: none; } }


/* quest page, monsters to hunt: the items (with chances) go on their own line under the monster,
   so the monster name and its "Raid boss" line are not cut */
.o-dblist > li.o-dbqmob--stack { flex-wrap: wrap; align-items: flex-start; row-gap: 6px; }
.o-dbqmob--stack > .o-dbi { flex: 1 1 100%; }
.o-dbqmob--stack > .o-dbqmob__items { flex: 1 1 100%; padding-left: 44px; }
@media (max-width: 480px) { .o-dbqmob--stack > .o-dbqmob__items { padding-left: 0; } }

/* ==========================================================================
   Ban lists (views/bans/*): /bans HWID bans (OrionGuard), /bans/game game bans (punishments).
   Table, tabs and heading reuse the statistics styles (.o-stats, .o-stable).
   ========================================================================== */
.o-nav__bans { --ic: #e0675e; }

.o-bans__note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--o-mist);
    font-size: 15px;
}
.o-bans__note .o-btn__ic { color: var(--o-gold); flex: none; }
.o-bans__reason { color: var(--o-star); max-width: 420px; overflow-wrap: anywhere; }

/* type filter (game bans) */
.o-bans__filter { display: flex; flex-wrap: wrap; gap: 8px; }
.o-ban-filter {
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid var(--o-line);
    background: rgba(23, 18, 13, .62);
    color: var(--o-mist);
    text-decoration: none;
    font-size: 14px;
    transition: color .25s, border-color .25s, background-color .25s;
}
.o-ban-filter:hover { color: var(--o-gold-hi); border-color: rgba(240, 207, 138, .55); }
.o-ban-filter.is-active { color: var(--o-gold-hi); border-color: var(--o-gold); background: rgba(216, 173, 95, .14); }

/* punishment type / "Permanent" badge */
.o-ban-type {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid var(--o-line);
    font-size: 13px;
    font-weight: 600;
    color: var(--o-star);
    white-space: nowrap;
}
.o-ban-type--perm,
.o-ban-type--account { color: #ff8f86; border-color: rgba(224, 103, 94, .5); background: rgba(224, 103, 94, .1); }
.o-ban-type--char    { color: #f0b071; border-color: rgba(230, 150, 80, .5); background: rgba(230, 150, 80, .1); }
.o-ban-type--chat    { color: #8fb8e6; border-color: rgba(120, 165, 220, .45); background: rgba(120, 165, 220, .1); }
.o-ban-type--jail    { color: #c3a6ec; border-color: rgba(170, 140, 225, .45); background: rgba(170, 140, 225, .1); }
.o-ban-until { color: var(--o-gold-hi); font-weight: 600; white-space: nowrap; }

html[data-theme="light"] .o-ban-filter { background: rgba(255, 250, 240, .7); }
html[data-theme="light"] .o-ban-type--perm,
html[data-theme="light"] .o-ban-type--account { color: #b3362c; }
html[data-theme="light"] .o-ban-type--char { color: #a65a14; }
html[data-theme="light"] .o-ban-type--chat { color: #2f6aa8; }
html[data-theme="light"] .o-ban-type--jail { color: #6f48b0; }

/* =====================================================================
   LIVE CHAT (2026-11-09) — js/orion-chat.js, views/components/live-chat.blade.php
   ===================================================================== */
.o-chat { position: fixed; right: 22px; bottom: 22px; z-index: 900; font-family: var(--o-body); }
.o-chat [hidden] { display: none !important; }
.o-chat__fab {
    position: relative; width: 60px; height: 60px; border-radius: 50%; border: 1px solid rgba(240, 207, 138, .55);
    background: radial-gradient(circle at 35% 30%, #f6dc9f, var(--o-gold) 55%, #9a6c22);
    color: #1c1406; display: grid; place-items: center; cursor: var(--o-cur-link, pointer);
    box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .7), 0 0 0 4px rgba(216, 173, 95, .12);
    transition: transform .2s ease, box-shadow .2s ease;
}
.o-chat__fab:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 14px 34px -8px rgba(0, 0, 0, .75), 0 0 0 6px rgba(216, 173, 95, .18); }
.o-chat.is-open .o-chat__fab { transform: scale(.9); }
.o-chat__dot {
    position: absolute; right: 3px; bottom: 3px; width: 13px; height: 13px; border-radius: 50%;
    background: #7d7466; border: 2px solid var(--o-ink);
}
.o-chat.is-online .o-chat__dot { background: #4ccf7f; box-shadow: 0 0 0 0 rgba(76, 207, 127, .6); animation: oChatPulse 2.4s infinite; }
@keyframes oChatPulse { 0% { box-shadow: 0 0 0 0 rgba(76, 207, 127, .55); } 70% { box-shadow: 0 0 0 9px rgba(76, 207, 127, 0); } 100% { box-shadow: 0 0 0 0 rgba(76, 207, 127, 0); } }
.o-chat__badge {
    position: absolute; top: -4px; right: -4px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 11px;
    background: var(--o-ember); color: #fff; font: 700 12px/21px var(--o-body); text-align: center; border: 2px solid var(--o-ink);
}

.o-chat__panel {
    position: absolute; right: 0; bottom: 76px; width: 370px; height: min(600px, calc(100vh - 120px));
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--o-dusk); color: var(--o-star); border: 1px solid var(--o-line); border-radius: 14px;
    box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .8);
    animation: oChatIn .22s ease;
}
@keyframes oChatIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

.o-chat__head {
    display: flex; align-items: center; gap: 11px; padding: 13px 12px 13px 15px;
    background: linear-gradient(180deg, var(--o-dusk-2), var(--o-dusk)); border-bottom: 1px solid var(--o-line);
}
.o-chat__ava {
    flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
    font: 700 19px/1 var(--o-display); color: #1c1406;
    background: radial-gradient(circle at 35% 30%, #f6dc9f, var(--o-gold) 60%, #9a6c22);
}
.o-chat__who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.o-chat__title { font: 700 15px/1.25 var(--o-display); color: var(--o-gold-hi); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-chat__sub { font-size: 12.5px; color: var(--o-mist); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-chat__sub.is-typing { color: var(--o-aether); }
.o-chat__hbtn {
    flex: none; width: 34px; height: 34px; border-radius: 8px; border: 0; background: transparent; color: var(--o-mist);
    display: grid; place-items: center; cursor: var(--o-cur-link, pointer);
}
.o-chat__hbtn:hover { background: rgba(216, 173, 95, .1); color: var(--o-gold-hi); }

.o-chat__body { flex: 1; overflow-y: auto; padding: 14px 14px 10px; scroll-behavior: smooth; overscroll-behavior: contain; }
.o-chat__welcome { margin: 2px 0 14px; padding: 12px 14px; border-radius: 10px; background: rgba(216, 173, 95, .08); border: 1px solid var(--o-line); line-height: 1.5; font-size: 14.5px; }
.o-chat__note { margin: 8px 0; color: var(--o-mist); font-size: 14px; line-height: 1.5; text-align: center; }

.o-chat__form { display: flex; flex-direction: column; gap: 10px; }
.o-chat__field { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--o-mist); }
.o-chat__field input, .o-chat__field select, .o-chat__field textarea, .o-chat__rate textarea {
    width: 100%; padding: 9px 11px; border-radius: 8px; border: 1px solid var(--o-line);
    background: var(--o-ink); color: var(--o-star); font: 14.5px/1.4 var(--o-body); resize: vertical;
}
.o-chat__field input:focus, .o-chat__field select:focus, .o-chat__field textarea:focus, .o-chat__rate textarea:focus { outline: none; border-color: var(--o-gold); box-shadow: 0 0 0 3px rgba(216, 173, 95, .15); }
.o-chat__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.o-chat__ffile { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--o-mist); cursor: var(--o-cur-link, pointer); align-self: flex-start; max-width: 100%; }
.o-chat__ffile span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o-chat__ffile:hover { color: var(--o-gold-hi); }
.o-chat__captcha { transform-origin: left top; }
.o-chat__err { margin: 0; color: var(--o-ember); font-size: 13.5px; }
.o-chat__go { width: 100%; margin-top: 2px; }
.o-chat__done { text-align: center; padding: 30px 8px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.o-chat__check { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; color: #1c1406; background: var(--o-gold); }

.o-chat__list { display: flex; flex-direction: column; gap: 3px; }
.o-chat__msg { display: flex; flex-direction: column; max-width: 84%; }
.o-chat__msg.is-visitor { align-self: flex-end; align-items: flex-end; }
.o-chat__msg.is-operator { align-self: flex-start; align-items: flex-start; }
.o-chat__msg.is-system { align-self: center; max-width: 100%; margin: 8px 0; }
.o-chat__msg + .o-chat__msg:not([data-from=system]) { margin-top: 3px; }
.o-chat__name { font-size: 11.5px; color: var(--o-gold); margin: 8px 0 3px 4px; letter-spacing: .02em; }
.o-chat__bubble {
    padding: 8px 12px; border-radius: 14px; font-size: 14.5px; line-height: 1.45;
    white-space: pre-wrap; word-wrap: break-word; overflow-wrap: anywhere;
}
.o-chat__msg.is-visitor .o-chat__bubble { background: linear-gradient(180deg, #e7c27a, var(--o-gold)); color: #1c1406; border-bottom-right-radius: 4px; }
.o-chat__msg.is-operator .o-chat__bubble { background: var(--o-dusk-2); border: 1px solid var(--o-line); border-bottom-left-radius: 4px; }
.o-chat__msg.is-visitor .o-chat__bubble a { color: #3a2508; text-decoration: underline; }
.o-chat__img { display: block; margin: 4px -4px -2px; }
.o-chat__img img { display: block; max-width: 100%; max-height: 220px; border-radius: 10px; }
.o-chat__time { font-size: 10.5px; color: var(--o-mist); opacity: .75; margin: 2px 5px 0; }
.o-chat__seen { font-size: 10.5px; color: var(--o-aether); margin: 0 5px; }
.o-chat__sys { font-size: 12px; color: var(--o-mist); padding: 3px 10px; border-radius: 20px; background: rgba(216, 173, 95, .07); text-align: center; }

.o-chat__status:empty { display: none; }
.o-chat__status { margin-top: 10px; }
.o-chat__wait { display: flex; align-items: center; gap: 9px; justify-content: center; color: var(--o-mist); font-size: 13.5px; }
.o-chat__spin { width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(216, 173, 95, .25); border-top-color: var(--o-gold); animation: oChatSpin .9s linear infinite; }
@keyframes oChatSpin { to { transform: rotate(360deg); } }
.o-chat__offer { margin-top: 12px; padding: 12px; border-radius: 10px; border: 1px dashed var(--o-line); text-align: center; }
.o-chat__offer p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.45; color: var(--o-mist); }
.o-chat__typing { display: inline-flex; gap: 4px; padding: 10px 13px; border-radius: 14px; background: var(--o-dusk-2); border: 1px solid var(--o-line); }
.o-chat__typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--o-mist); animation: oChatDot 1.2s infinite ease-in-out; }
.o-chat__typing i:nth-child(2) { animation-delay: .15s; }
.o-chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes oChatDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.o-chat__foot:empty { display: none; }
.o-chat__foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--o-line); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.o-chat__rate { width: 100%; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.o-chat__rate p { margin: 0; font: 600 15px var(--o-display); color: var(--o-gold-hi); }
.o-chat__stars { display: flex; gap: 2px; }
.o-chat__stars button { border: 0; background: none; padding: 3px; color: var(--o-mist); cursor: var(--o-cur-link, pointer); transition: transform .15s; }
.o-chat__stars button:hover { transform: scale(1.15); color: var(--o-gold-hi); }
.o-chat__stars button.is-on { color: var(--o-gold); }
.o-chat__stars button.is-on svg { fill: currentColor; }
.o-chat__link { border: 0; background: none; color: var(--o-gold); font: 13.5px var(--o-body); text-decoration: underline; cursor: var(--o-cur-link, pointer); }
.o-chat__link:disabled { opacity: .5; cursor: var(--o-cur, default); }

.o-chat__compose { border-top: 1px solid var(--o-line); padding: 9px 10px 10px; background: var(--o-dusk); }
.o-chat__compose.is-busy { opacity: .7; pointer-events: none; }
.o-chat__row { display: flex; align-items: flex-end; gap: 6px; }
.o-chat__row textarea {
    flex: 1; min-height: 40px; max-height: 120px; padding: 9px 12px; border-radius: 20px; resize: none;
    border: 1px solid var(--o-line); background: var(--o-ink); color: var(--o-star); font: 14.5px/1.4 var(--o-body);
}
.o-chat__row textarea:focus { outline: none; border-color: var(--o-gold); }
.o-chat__attach, .o-chat__send {
    flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: var(--o-cur-link, pointer); border: 0;
}
.o-chat__attach { color: var(--o-mist); background: transparent; }
.o-chat__attach:hover { color: var(--o-gold-hi); background: rgba(216, 173, 95, .1); }
.o-chat__send { color: #1c1406; background: var(--o-gold); }
.o-chat__send:hover { background: var(--o-gold-hi); }
.o-chat__file { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 4px 7px; padding: 5px 10px; border-radius: 8px; background: rgba(216, 173, 95, .08); font-size: 12.5px; color: var(--o-mist); }
.o-chat__file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o-chat__file button { border: 0; background: none; color: var(--o-mist); font-size: 18px; cursor: var(--o-cur-link, pointer); }

html[data-theme="light"] .o-chat__panel { box-shadow: 0 24px 60px -20px rgba(80, 55, 20, .45); }
html[data-theme="light"] .o-chat__fab { box-shadow: 0 10px 26px -8px rgba(80, 55, 20, .55), 0 0 0 4px rgba(154, 108, 34, .12); }
html[data-theme="light"] .o-chat__field input, html[data-theme="light"] .o-chat__field select, html[data-theme="light"] .o-chat__field textarea,
html[data-theme="light"] .o-chat__row textarea, html[data-theme="light"] .o-chat__rate textarea { background: #fffdf7; }

@media (max-width: 600px) {
    .o-chat { right: 14px; bottom: 14px; }
    .o-chat__fab { width: 54px; height: 54px; }
    .o-chat.is-open .o-chat__fab { display: none; }
    .o-chat__panel { position: fixed; inset: 0; width: auto; height: auto; border-radius: 0; border: 0; }
    .o-chat__body { padding: 12px; }
    .o-chat__row textarea { font-size: 16px; } /* no zoom on iPhone */
}
@media (prefers-reduced-motion: reduce) {
    .o-chat__panel, .o-chat.is-online .o-chat__dot, .o-chat__spin, .o-chat__typing i { animation: none; }
}
/* back-to-top button moves above the chat bubble */
.o-has-chat .o-totop { bottom: 94px; right: 26px; }
@media (max-width: 600px) { .o-has-chat .o-totop { bottom: 80px; right: 15px; } }
/* chat input: no scrollbars on one line, grows with the text up to 5 lines (js/orion-chat.js grow()) */
.o-chat__row textarea {
    display: block; height: 42px; min-height: 42px; max-height: 122px; padding: 10px 15px; line-height: 20px;
    overflow: hidden; overflow-wrap: anywhere; white-space: pre-wrap; scrollbar-width: thin;
}
.o-chat__row textarea.is-scroll { overflow-y: auto; }
.o-chat__row textarea::-webkit-scrollbar { width: 6px; height: 0; }
.o-chat__row textarea::-webkit-scrollbar-thumb { background: rgba(216, 173, 95, .4); border-radius: 3px; }
.o-chat__attach, .o-chat__send { width: 42px; height: 42px; }
/* chat pictures apart from the text bubble */
.o-chat__photo {
    display: block; margin-top: 4px; max-width: 230px; line-height: 0; border-radius: 12px; overflow: hidden;
    border: 1px solid var(--o-line); background: var(--o-dusk-2); box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .6);
    transition: border-color .2s, transform .2s;
}
.o-chat__photo img { display: block; max-width: 100%; max-height: 240px; object-fit: contain; }
.o-chat__photo:hover { border-color: var(--o-gold); transform: translateY(-1px); }
/* live chat: AI assistant (App\Services\LiveChatAi) */
.o-chat__msg.is-ai { align-self: flex-start; align-items: flex-start; }
.o-chat__msg.is-ai .o-chat__bubble { background: var(--o-dusk-2); border: 1px solid var(--o-line); border-bottom-left-radius: 4px; }
.o-chat__msg.is-ai .o-chat__bubble a { color: var(--o-gold); }
.o-chat__aitag { font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: .06em; margin-left: 6px; padding: 1px 5px; border-radius: 4px; background: rgba(216, 173, 95, .16); color: var(--o-gold-hi); vertical-align: 1px; }
.o-chat__msg.is-pending { opacity: .55; }
.o-chat__status .o-chat__typing { margin-bottom: 8px; }
.o-chat__human {
    display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 2px; padding: 8px 12px;
    border-radius: 10px; border: 1px dashed var(--o-line); background: transparent; color: var(--o-gold); font: 600 13.5px var(--o-body); cursor: var(--o-cur-link, pointer);
}
.o-chat__human::before { content: '👤'; }
.o-chat__human:hover:not(:disabled) { border-style: solid; border-color: var(--o-gold); background: rgba(216, 173, 95, .06); }
.o-chat__human:disabled { opacity: .5; cursor: var(--o-cur, default); }
.o-chat.is-ai .o-chat__ava { background: radial-gradient(circle at 35% 30%, #fff1c9, #e9c27a 55%, #b07a2a); }
/* live chat: resize by the top-left corner + the chat in its own window (/live-chat/window) */
.o-chat__grip {
    position: absolute; left: 0; top: 0; z-index: 3; width: 18px; height: 18px; cursor: nwse-resize; touch-action: none;
    border-top-left-radius: 14px;
}
.o-chat__grip::before {
    content: ''; position: absolute; left: 5px; top: 5px; width: 8px; height: 8px;
    border-left: 2px solid var(--o-gold); border-top: 2px solid var(--o-gold); border-top-left-radius: 3px; opacity: .45; transition: opacity .15s;
}
.o-chat__grip:hover::before, .o-chat.is-resizing .o-chat__grip::before { opacity: 1; }
.o-chat.is-resizing, .o-chat.is-resizing * { user-select: none; }
.o-chat__panel { max-width: calc(100vw - 40px); max-height: calc(100vh - 110px); }
@media (max-width: 600px) { .o-chat__grip { display: none; } .o-chat__pop { display: none; } }

.o-chat-page .o-chat { position: fixed; inset: 0; right: 0; bottom: 0; }
.o-chat--window .o-chat__fab { display: none; }
.o-chat--window .o-chat__panel {
    position: fixed; inset: 0; width: auto !important; height: auto !important; max-width: none; max-height: none;
    border: 0; border-radius: 0; box-shadow: none; animation: none;
}
.o-chat--window .o-chat__body { padding: 18px 20px 12px; }
.o-chat--window .o-chat__list, .o-chat--window .o-chat__status, .o-chat--window .o-chat__foot,
.o-chat--window .o-chat__form, .o-chat--window .o-chat__intro, .o-chat--window .o-chat__done { max-width: 820px; margin-left: auto; margin-right: auto; }
.o-chat--window .o-chat__compose > * { max-width: 820px; margin-left: auto; margin-right: auto; }
.o-chat--window .o-chat__msg { max-width: 72%; }
.o-chat--window .o-chat__photo { max-width: 320px; }
@media (max-width: 600px) { .o-chat:not(.o-chat--window) .o-chat__panel { max-width: none; max-height: none; width: auto !important; height: auto !important; } }
.o-chat__body { overflow-x: hidden; }
/* the open animation plays only when the chat opens (never again on resize / redraw) */
.o-chat__panel { animation: none; }
.o-chat.is-opening .o-chat__panel { animation: oChatIn .22s ease; }
/* live chat: several pictures (previews before sending), drag & drop, gallery */
.o-chat__file { flex-wrap: wrap; justify-content: flex-start; gap: 8px; padding: 6px; }
.o-chat__thumb { position: relative; width: 58px; height: 58px; border-radius: 8px; overflow: hidden; border: 1px solid var(--o-line); background: var(--o-ink); flex: none; }
.o-chat__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.o-chat__thumb button {
    position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 50%; border: 0; padding: 0;
    background: rgba(0, 0, 0, .65); color: #fff; font-size: 14px; line-height: 20px; cursor: var(--o-cur-link, pointer);
}
.o-chat__drop {
    position: absolute; inset: 64px 10px 10px; z-index: 4; display: none; place-items: center; text-align: center; padding: 20px;
    border: 2px dashed var(--o-gold); border-radius: 12px; background: rgba(23, 18, 13, .82); color: var(--o-gold-hi);
    font: 600 16px var(--o-display); pointer-events: none;
}
html[data-theme="light"] .o-chat__drop { background: rgba(251, 246, 234, .9); }
.o-chat.is-drop .o-chat__drop { display: grid; }
.o-chat__photo { cursor: zoom-in; }

.o-lb { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; background: rgba(6, 5, 4, .92); animation: oLbIn .15s ease; }
.o-lb[hidden] { display: none; }
@keyframes oLbIn { from { opacity: 0; } to { opacity: 1; } }
.o-lb__img { max-width: calc(100vw - 140px); max-height: calc(100vh - 110px); border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); background: #111; }
.o-lb__x, .o-lb__nav {
    position: absolute; border: 0; cursor: var(--o-cur-link, pointer); color: #f3e6c8; background: rgba(255, 255, 255, .08); border-radius: 50%;
    display: grid; place-items: center; transition: background .15s;
}
.o-lb__x { top: 16px; right: 18px; width: 44px; height: 44px; font-size: 28px; line-height: 1; }
.o-lb__nav { top: 50%; width: 52px; height: 52px; margin-top: -26px; font-size: 34px; line-height: 1; }
.o-lb__prev { left: 18px; }
.o-lb__next { right: 18px; }
.o-lb__x:hover, .o-lb__nav:hover { background: rgba(216, 173, 95, .3); }
.o-lb.is-single .o-lb__nav { display: none; }
.o-lb__bar { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 18px; color: #d8c9a8; font: 14px var(--o-body); }
.o-lb__open { color: var(--o-gold-hi); }
html.o-lb-open, html.o-lb-open body { overflow: hidden; }
@media (max-width: 600px) {
    .o-lb__img { max-width: 100vw; max-height: calc(100vh - 120px); border-radius: 0; }
    .o-lb__nav { display: none; }
}

/* LIVE CHAT – upload progress (pending message with the pictures being sent) */
.o-chat__pthumbs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; margin-top: 4px; }
.o-chat__pthumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; border: 1px solid var(--o-line); }
.o-chat__up { width: 150px; max-width: 100%; height: 4px; margin-top: 7px; border-radius: 4px; background: var(--o-line); overflow: hidden; }
.o-chat__up i { display: block; width: 0; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--o-gold), var(--o-gold-hi)); transition: width .2s ease; }
.o-chat__up.is-done i { width: 100% !important; animation: oChatUpPulse 1s ease-in-out infinite; }
.o-chat__uplabel { margin-top: 4px; font-size: 11px; color: var(--o-mist); font-variant-numeric: tabular-nums; }
.o-chat__uplabel:empty { display: none; }
.o-chat__msg.is-pending:has(.o-chat__up) { opacity: .85; }
@keyframes oChatUpPulse { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .o-chat__up.is-done i { animation: none; } }

/* LIVE CHAT – automatic pop-up message above the chat button */
.o-chat__nudge {
    position: absolute; right: 0; bottom: 76px; width: 310px; max-width: calc(100vw - 44px);
    display: flex; align-items: flex-start; gap: 11px; padding: 14px 34px 13px 14px; cursor: var(--o-cur-link, pointer);
    background: var(--o-dusk); color: var(--o-star); border: 1px solid var(--o-line); border-radius: 14px;
    box-shadow: 0 18px 44px -16px rgba(0, 0, 0, .75);
    opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .22s ease, transform .22s ease;
}
.o-chat__nudge.is-in { opacity: 1; transform: none; }
.o-chat__nudge::after {
    content: ""; position: absolute; right: 22px; bottom: -7px; width: 12px; height: 12px; transform: rotate(45deg);
    background: var(--o-dusk); border-right: 1px solid var(--o-line); border-bottom: 1px solid var(--o-line);
}
.o-chat__nudge:hover { border-color: rgba(216, 173, 95, .5); }
.o-chat__nudge:focus-visible { outline: 2px solid var(--o-gold-hi); outline-offset: 2px; }
.o-chat__nudge-ava {
    flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    font: 700 16px/1 var(--o-display); color: #1c1406;
    background: radial-gradient(circle at 35% 30%, #f6dc9f, var(--o-gold) 60%, #9a6c22);
}
.o-chat__nudge-box { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.o-chat__nudge-who { font: 700 13px/1.2 var(--o-display); color: var(--o-gold-hi); }
.o-chat__nudge-text { margin: 0; font-size: 14px; line-height: 1.45; }
.o-chat__nudge-go { margin-top: 4px; font-size: 12.5px; font-weight: 700; color: var(--o-gold); }
.o-chat__nudge-x {
    position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border: 0; border-radius: 50%;
    background: transparent; color: var(--o-mist); font-size: 19px; line-height: 1; cursor: var(--o-cur-link, pointer);
}
.o-chat__nudge-x:hover { background: rgba(216, 173, 95, .12); color: var(--o-gold-hi); }
.o-chat__greet { margin: 2px 0 12px; }
html[data-theme="light"] .o-chat__nudge { box-shadow: 0 18px 44px -18px rgba(80, 55, 20, .45); }
@media (max-width: 600px) { .o-chat__nudge { bottom: 66px; width: 290px; } }
@media (prefers-reduced-motion: reduce) { .o-chat__nudge { transition: none; } }

/* ==========================================================================
   Fade PvP statistics (views/stats/season-rank, clan-rank, hall-of-fame, player):
   rank badges, tier ladder, clan podium, champions, player profile.
   A tier color comes in --tier (RRGGBB of rank.ini), a title color in --title.
   ========================================================================== */

/* rank badge: a faceted gem in the tier color + the rank name */
.o-prank {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 4px 11px 4px 8px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--tier) 45%, transparent);
    background: linear-gradient(90deg, color-mix(in srgb, var(--tier) 16%, transparent), transparent 85%);
    color: var(--o-star);
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    line-height: 1.2;
}
.o-prank__gem {
    width: 11px; height: 11px;
    flex: none;
    transform: rotate(45deg);
    border-radius: 2px;
    background: linear-gradient(135deg, #fff 0%, var(--tier) 38%, color-mix(in srgb, var(--tier) 60%, #000) 100%);
    box-shadow: 0 0 10px color-mix(in srgb, var(--tier) 70%, transparent), inset 0 0 0 1px rgba(0, 0, 0, .25);
}
.o-prank__pos { color: var(--o-mist); font-weight: 500; font-size: 12px; }
.o-prank--big { padding: 7px 16px 7px 12px; font-size: 18px; font-family: var(--o-display); gap: 11px; }
.o-prank--big .o-prank__gem { width: 15px; height: 15px; }
.o-prank.is-apex {
    border-color: color-mix(in srgb, var(--tier) 75%, transparent);
    background: linear-gradient(100deg, color-mix(in srgb, var(--tier) 26%, transparent), color-mix(in srgb, var(--tier) 6%, transparent) 60%, color-mix(in srgb, var(--tier) 22%, transparent));
    background-size: 220% 100%;
    animation: o-apex-shine 4.5s ease-in-out infinite;
    box-shadow: 0 0 16px -6px var(--tier);
}
.o-prank.is-apex .o-prank__name { color: color-mix(in srgb, var(--tier) 70%, var(--o-star)); }
@keyframes o-apex-shine { 50% { background-position: 100% 0; } }

/* progress bars: to the next division (tier color), titles (gold) */
.o-pbar {
    display: block;
    height: 8px;
    margin: 12px 0 0;
    border-radius: 99px;
    background: rgba(239, 228, 204, .08);
    box-shadow: inset 0 0 0 1px rgba(216, 173, 95, .12);
    overflow: hidden;
}
.o-pbar > span {
    display: block;
    height: 100%;
    width: var(--pct);
    border-radius: inherit;
    background: linear-gradient(90deg, color-mix(in srgb, var(--tier, var(--o-gold)) 45%, transparent), var(--tier, var(--o-gold)));
    box-shadow: 0 0 12px color-mix(in srgb, var(--tier, var(--o-gold)) 55%, transparent);
    transform-origin: left;
    animation: o-bar 1.1s cubic-bezier(.2, .7, .2, 1) .15s backwards;
}
.o-pbar--mini { width: 120px; height: 4px; margin-top: 7px; }
.o-pbar--gold > span { background: linear-gradient(90deg, rgba(216, 173, 95, .45), var(--o-gold-hi)); box-shadow: 0 0 12px rgba(216, 173, 95, .5); }

/* names as links to the profile */
.o-plink { color: inherit; text-decoration: none; min-width: 0; }
.o-plink strong { transition: color .2s; }
.o-plink:hover strong { color: var(--o-gold-hi); text-decoration: underline; text-decoration-color: rgba(216, 173, 95, .5); text-underline-offset: 3px; }
.o-pwl b { color: #7fd8a0; font-weight: 700; }
.o-stable--pvp tbody tr.is-apex td { background: linear-gradient(90deg, rgba(255, 215, 0, .07), transparent 70%); }

/* notice, search */
.o-pnote { display: flex; align-items: center; gap: 10px; padding: 14px 18px; color: var(--o-star); }
.o-pnote .o-btn__ic { color: var(--o-gold); }
.o-psearch {
    display: flex; align-items: center; gap: 8px;
    min-width: min(100%, 340px);
    padding: 5px 5px 5px 14px;
    border: 1px solid var(--o-line);
    border-radius: 999px;
    background: rgba(12, 10, 8, .35);
    transition: border-color .25s, box-shadow .25s;
}
.o-psearch:focus-within { border-color: rgba(240, 207, 138, .6); box-shadow: 0 0 0 3px rgba(216, 173, 95, .12); }
.o-psearch > .o-btn__ic { color: var(--o-gold); flex: none; }
.o-psearch__input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--o-star); font: inherit; font-size: 16px; padding: 6px 0; }
.o-psearch__input::placeholder { color: var(--o-mist); opacity: .8; }
.o-psearch__go {
    flex: none; height: 34px; padding: 0 16px; border: 0; border-radius: 999px; cursor: var(--o-cur-link, pointer);
    color: #1c1406; font: 700 13px/1 var(--o-display); letter-spacing: .05em;
    background: linear-gradient(180deg, var(--o-gold-hi), var(--o-gold) 60%, #b07d2a);
}
.o-psearch__go:hover { filter: brightness(1.08); }

/* season head + tier ladder */
.o-pseason { padding: 26px 28px 24px; }
.o-pseason__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 28px; flex-wrap: wrap; margin-bottom: 22px; }
.o-pseason__head > div { flex: 1 1 380px; }
.o-pseason__eyebrow { margin: 0 0 4px; font-family: var(--o-display); font-size: 14px; letter-spacing: .26em; color: var(--o-gold); }
.o-pseason__title { margin: 0; font-family: var(--o-display); font-size: clamp(22px, 2.2vw, 28px); color: var(--o-gold-hi); }
.o-pseason__lead { margin: 8px 0 0; color: var(--o-mist); max-width: 62ch; }
.o-ptiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 10px; }
.o-ptier {
    position: relative;
    display: grid; gap: 2px; justify-items: start;
    padding: 12px 14px 12px;
    border-radius: var(--o-radius);
    border: 1px solid color-mix(in srgb, var(--tier) 30%, transparent);
    background: linear-gradient(160deg, color-mix(in srgb, var(--tier) 12%, transparent), transparent 70%);
    animation: o-rise .6s cubic-bezier(.2, .7, .2, 1) var(--o-delay, 0s) backwards;
}
.o-ptier__gem { width: 12px; height: 12px; margin-bottom: 6px; transform: rotate(45deg); border-radius: 2px; background: linear-gradient(135deg, #fff, var(--tier) 40%, color-mix(in srgb, var(--tier) 55%, #000)); box-shadow: 0 0 10px color-mix(in srgb, var(--tier) 65%, transparent); }
.o-ptier__name { font-family: var(--o-display); font-weight: 700; color: var(--o-star); }
.o-ptier__from { font-size: 13px; color: var(--o-mist); }
.o-ptier__count { position: absolute; top: 10px; right: 12px; font-weight: 700; font-size: 14px; color: color-mix(in srgb, var(--tier) 65%, var(--o-star)); font-variant-numeric: tabular-nums; }
.o-ptier.is-apex { border-color: color-mix(in srgb, var(--tier) 60%, transparent); box-shadow: 0 0 22px -12px var(--tier); }
.o-ptier.is-apex .o-ptier__name { color: color-mix(in srgb, var(--tier) 75%, var(--o-star)); }
.o-ptiers__bar { display: flex; gap: 3px; height: 6px; margin-top: 16px; border-radius: 99px; overflow: hidden; }
.o-ptiers__bar > span { min-width: 6px; background: var(--tier); opacity: .85; transform-origin: left; animation: o-bar 1s cubic-bezier(.2, .7, .2, 1) .2s backwards; }

/* clan podium */
.o-ppodium { display: grid; grid-template-columns: 1fr 1.12fr 1fr; align-items: end; gap: 16px; }
.o-ppodium__place {
    display: grid; justify-items: center; gap: 8px; text-align: center;
    padding: 22px 16px 20px;
    animation: o-rise .7s cubic-bezier(.2, .7, .2, 1) var(--o-delay, 0s) backwards;
}
.o-ppodium__place--1 { padding-top: 34px; padding-bottom: 28px; border-color: rgba(233, 191, 94, .55); box-shadow: 0 18px 40px -26px rgba(233, 191, 94, .9); }
.o-ppodium__place--1 .o-rank { width: 44px; height: 44px; font-size: 18px; }
.o-ppodium__clan { display: inline-flex; align-items: center; gap: 8px; font-family: var(--o-display); font-size: 19px; color: var(--o-star); }
.o-ppodium__place--1 .o-ppodium__clan { font-size: 23px; color: var(--o-gold-hi); }
.o-ppodium__points { font-family: var(--o-display); font-weight: 700; font-size: 22px; color: var(--o-gold-hi); font-variant-numeric: tabular-nums; }
.o-ppodium__points small { font-family: var(--o-body); font-size: 13px; font-weight: 500; color: var(--o-mist); }
.o-ppodium__prize { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; border: 1px dashed rgba(216, 173, 95, .45); color: var(--o-gold-hi); font-size: 14px; }
.o-ppodium__place.is-empty { opacity: .65; }
.o-pexplain { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.o-pexplain li { display: flex; align-items: center; gap: 10px; color: var(--o-star); }
.o-pexplain .o-btn__ic { color: var(--o-gold); flex: none; }

/* seasons of the past (clans, legends) */
.o-phist { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 12px 0; border-bottom: 1px solid rgba(216, 173, 95, .1); }
.o-phist:last-child { border-bottom: 0; }
.o-phist__season { font-family: var(--o-display); font-weight: 700; font-size: 20px; color: var(--o-gold); min-width: 42px; }
.o-phist__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.o-phist__list li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.o-phist__list .o-rank { width: 26px; height: 26px; font-size: 12px; }
.o-phist__list small { color: var(--o-mist); }

/* champions */
.o-pfame { padding: 26px 28px; }
.o-pfame__season + .o-pfame__season { margin-top: 18px; }
.o-pfame__label { display: block; margin-bottom: 10px; font-family: var(--o-display); letter-spacing: .2em; font-size: 13px; color: var(--o-gold); }
.o-pfame__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.o-pchamp {
    position: relative; overflow: hidden;
    display: grid; gap: 4px;
    padding: 16px 16px 14px;
    border-radius: var(--o-radius);
    border: 1px solid rgba(233, 191, 94, .4);
    background: radial-gradient(120% 90% at 100% 0%, rgba(233, 191, 94, .2), transparent 60%), rgba(12, 10, 8, .25);
    animation: o-rise .6s cubic-bezier(.2, .7, .2, 1) var(--o-delay, 0s) backwards;
}
.o-pchamp::after { content: ''; position: absolute; right: 12px; top: 12px; width: 22px; height: 22px; opacity: .55; background: radial-gradient(circle at 35% 30%, #fff1c4, #e9bf5e 55%, #a9781f); border-radius: 50%; box-shadow: 0 0 14px rgba(233, 191, 94, .7); }
.o-pchamp__format { font-family: var(--o-display); font-weight: 700; letter-spacing: .12em; color: var(--o-gold); font-size: 13px; }
.o-pchamp__name { font-size: 18px; color: var(--o-gold-hi); }
.o-pchamp small { color: var(--o-mist); }
.o-pchamp.is-empty { border-style: dashed; border-color: var(--o-line); background: transparent; }
.o-pchamp.is-empty::after { display: none; }
.o-ptables { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; }
.o-ptable { animation: o-rise .7s cubic-bezier(.2, .7, .2, 1) var(--o-delay, 0s) backwards; }
.o-ptable__hint { color: var(--o-mist); font-size: 14px; }

/* profile */
.o-pprof { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; }
.o-pprof__hero {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: start;
    padding: 28px;
    background: radial-gradient(90% 120% at 0% 0%, color-mix(in srgb, var(--tier) 14%, transparent), transparent 60%), var(--o-dusk);
}
.o-pprof__crest {
    width: 84px; height: 84px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 2px solid color-mix(in srgb, var(--tier) 70%, transparent);
    background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--tier) 35%, transparent), rgba(12, 10, 8, .6));
    box-shadow: 0 0 26px -6px color-mix(in srgb, var(--tier) 80%, transparent), inset 0 0 18px rgba(0, 0, 0, .45);
}
.o-pprof__initial { font-family: var(--o-display); font-weight: 700; font-size: 38px; color: var(--o-gold-hi); text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.o-pprof__name { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0; font-family: var(--o-display); font-size: clamp(26px, 3vw, 38px); color: var(--o-gold-hi); line-height: 1.1; word-break: break-word; }
.o-pprof__online { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font: 600 13px/1.3 var(--o-body); color: #7fe0a6; background: rgba(95, 211, 141, .1); border: 1px solid rgba(95, 211, 141, .35); }
.o-pprof__class { margin: 6px 0 0; color: var(--o-mist); font-size: 17px; }
.o-pprof__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
.o-pprof__tags .o-tag { margin: 0; }
.o-tag--gold { border-color: rgba(233, 191, 94, .55); color: var(--o-gold-hi); background: rgba(233, 191, 94, .08); }
.o-pprof__clan { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--o-mist); }
.o-pprof__clan strong { color: var(--o-star); }
.o-pprof__seen { display: grid; grid-template-columns: auto auto; gap: 6px 14px; margin: 0; font-size: 14px; white-space: nowrap; }
.o-pprof__seen dt { color: var(--o-mist); text-align: right; }
.o-pprof__seen dd { margin: 0; color: var(--o-star); font-weight: 700; }
.o-pprof__peak { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; }
.o-pprof__peak .o-prank { font-size: 12px; padding: 2px 9px 2px 6px; }
.o-pprof__rank { padding: 26px 28px; background: radial-gradient(100% 120% at 100% 0%, color-mix(in srgb, var(--tier) 16%, transparent), transparent 62%), var(--o-dusk); }
.o-pprof__rp { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.o-pprof__rpvalue { font-family: var(--o-display); font-weight: 700; font-size: clamp(38px, 4vw, 52px); line-height: 1; color: var(--o-gold-hi); font-variant-numeric: tabular-nums; text-shadow: 0 -1px 0 rgba(0, 0, 0, .6); }
.o-pprof__rpvalue small { margin-left: 6px; font-size: 16px; color: var(--o-gold); }
.o-pprof__place { font-family: var(--o-display); font-weight: 700; font-size: 22px; color: var(--o-star); }
.o-pprof__place small { display: block; font-family: var(--o-body); font-weight: 500; font-size: 13px; color: var(--o-mist); text-align: right; }
.o-pprof__next { margin: 10px 0 0; color: var(--o-mist); font-size: 15px; }
.o-pseasons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.o-pseasons__item {
    display: grid; gap: 2px;
    padding: 12px 14px;
    border-radius: var(--o-radius);
    border: 1px solid color-mix(in srgb, var(--tier) 40%, transparent);
    background: linear-gradient(160deg, color-mix(in srgb, var(--tier) 14%, transparent), transparent 75%);
}
.o-pseasons__s { font-family: var(--o-display); font-size: 13px; letter-spacing: .14em; color: var(--o-gold); }
.o-pseasons__tier { font-family: var(--o-display); font-weight: 700; font-size: 17px; color: color-mix(in srgb, var(--tier) 60%, var(--o-star)); }
.o-pseasons__item small { color: var(--o-mist); font-size: 13px; }
.o-ptour { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; }
.o-ptour__cell { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--o-radius); border: 1px solid var(--o-line); background: rgba(216, 173, 95, .05); }
.o-ptour__cell small { color: var(--o-mist); font-size: 13px; }
.o-ptour__format { font-family: var(--o-display); font-weight: 700; color: var(--o-gold); letter-spacing: .1em; font-size: 13px; }
.o-ptour__points { font-family: var(--o-display); font-weight: 700; font-size: 24px; color: var(--o-gold-hi); font-variant-numeric: tabular-nums; }
.o-ptour__points small { margin-left: 4px; font-family: var(--o-body); font-size: 12px; color: var(--o-mist); }
.o-ptour__cell.is-empty { opacity: .6; }
.o-ptitles__count { color: var(--o-mist); }
.o-ptitles__count b { font-family: var(--o-display); font-size: 20px; color: var(--o-gold-hi); }
.o-ptitles { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.o-ptitle {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px dashed rgba(181, 166, 136, .3);
    color: var(--o-mist);
    font-size: 14px;
    opacity: .7;
    cursor: var(--o-cur, default);
}
.o-ptitle.is-on {
    opacity: 1;
    border: 1px solid color-mix(in srgb, var(--title) 55%, transparent);
    background: color-mix(in srgb, var(--title) 12%, transparent);
    color: color-mix(in srgb, var(--title) 75%, var(--o-star));
    font-weight: 700;
    text-shadow: 0 0 12px color-mix(in srgb, var(--title) 40%, transparent);
}
.o-pback { margin: 4px 0 0; }
.o-pback a { display: inline-flex; align-items: center; gap: 8px; color: var(--o-gold); text-decoration: none; font-weight: 700; }
.o-pback a .o-btn__ic { transform: rotate(180deg); }
.o-pback a:hover { color: var(--o-gold-hi); }

@media (max-width: 980px) {
    .o-pprof { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .o-ppodium { grid-template-columns: 1fr; }
    .o-ppodium__place--1 { order: -1; }
    .o-pprof__hero { grid-template-columns: auto 1fr; }
    .o-pprof__seen { grid-column: 1 / -1; text-align: left; justify-content: start; }
    .o-pprof__crest { width: 64px; height: 64px; }
    .o-pprof__initial { font-size: 28px; }
    .o-pseason, .o-pfame, .o-pprof__hero, .o-pprof__rank { padding: 20px; }
}

/* light theme: tier colors as accents only, the text stays dark */
html[data-theme="light"] .o-prank { color: var(--o-star); background: linear-gradient(90deg, color-mix(in srgb, var(--tier) 22%, #fff), transparent 85%); border-color: color-mix(in srgb, var(--tier) 55%, #8a6a35); }
html[data-theme="light"] .o-prank__gem, html[data-theme="light"] .o-ptier__gem { box-shadow: 0 0 0 1px rgba(80, 55, 20, .45), 0 0 8px color-mix(in srgb, var(--tier) 50%, transparent); }
html[data-theme="light"] .o-prank.is-apex .o-prank__name,
html[data-theme="light"] .o-ptier.is-apex .o-ptier__name { color: #8a6410; }
html[data-theme="light"] .o-ptier { border-color: color-mix(in srgb, var(--tier) 45%, #c9b48a); background: linear-gradient(160deg, color-mix(in srgb, var(--tier) 18%, #fff), rgba(255, 252, 245, .6) 70%); }
html[data-theme="light"] .o-ptier__count { color: var(--o-gold-hi); }
html[data-theme="light"] .o-pbar { background: rgba(120, 85, 30, .1); }
html[data-theme="light"] .o-pbar > span { background: linear-gradient(90deg, color-mix(in srgb, var(--tier, #b8862f) 55%, #fff), color-mix(in srgb, var(--tier, #b8862f) 80%, #6b4a12)); }
html[data-theme="light"] .o-psearch { background: rgba(255, 252, 245, .85); }
html[data-theme="light"] .o-pwl b { color: #2f8a52; }
html[data-theme="light"] .o-pchamp { background: radial-gradient(120% 90% at 100% 0%, rgba(233, 191, 94, .28), transparent 60%), rgba(255, 252, 245, .7); }
html[data-theme="light"] .o-pprof__crest { background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--tier) 35%, #fff), #f3e6c8); border-color: color-mix(in srgb, var(--tier) 60%, #9a6c22); }
html[data-theme="light"] .o-pprof__initial { color: #6b4a12; text-shadow: none; }
html[data-theme="light"] .o-pprof__rpvalue { text-shadow: none; }
html[data-theme="light"] .o-pseasons__item { border-color: color-mix(in srgb, var(--tier) 50%, #c9b48a); background: linear-gradient(160deg, color-mix(in srgb, var(--tier) 18%, #fff), transparent 75%); }
html[data-theme="light"] .o-pseasons__tier { color: var(--o-star); }
html[data-theme="light"] .o-ptitle.is-on { color: var(--o-star); background: color-mix(in srgb, var(--title) 22%, #fff); border-color: color-mix(in srgb, var(--title) 60%, #8a6a35); text-shadow: none; }
html[data-theme="light"] .o-stable--pvp tbody tr.is-apex td { background: linear-gradient(90deg, rgba(214, 160, 60, .12), transparent 70%); }

/* light theme: row hover must be visible on the pale background */
html[data-theme="light"] .o-stable tbody tr:hover td,
html[data-theme="light"] .o-panel--rating table.rating tbody tr:hover td { background: rgba(176, 125, 42, .13); }
html[data-theme="light"] .o-stable tbody tr.is-top:hover td { background: rgba(176, 125, 42, .19); }
html[data-theme="light"] .o-toplist__item:hover { background: rgba(176, 125, 42, .12); }
html[data-theme="light"] .o-stable tbody tr:hover .o-plink strong { color: #1f170d; }

/* light theme: the search "Show" button uses the same light gold as the other gold buttons */
html[data-theme="light"] .o-psearch__go {
    background: linear-gradient(180deg, #f0cf8a, #d8ad5f 55%, #b07d2a);
    color: #1c1406;
    box-shadow: 0 0 0 1px rgba(176, 125, 42, .45) inset, 0 6px 16px -10px rgba(150, 100, 30, .7);
}
html[data-theme="light"] .o-psearch__go:hover { background: linear-gradient(180deg, #fff2cc, #f0cf8a 45%, #d8ad5f); filter: none; }

/* name in the colour of the season rank (stats/partials/pvp-player-link: style="--nick: #RRGGBB") */
.o-nick { color: var(--nick); }
html[data-theme="light"] .o-nick { color: color-mix(in srgb, var(--nick) 55%, #2e2518); }
.o-plink:hover strong.o-nick { color: var(--o-gold-hi); }

/* "being prepared" in place of a server page (components/server-preparing, App\Services\ServerPages) */
.o-preparing { display: grid; justify-items: center; gap: 10px; padding: 48px 24px; text-align: center; }
.o-preparing__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: var(--o-gold-hi); background: rgba(216, 173, 95, .12); box-shadow: inset 0 0 0 1px rgba(240, 207, 138, .35); }
.o-preparing__title { margin: 6px 0 0; font-family: var(--o-display, inherit); font-size: 26px; color: var(--o-gold-hi); }
.o-preparing__text { max-width: 520px; margin: 0; color: var(--o-mist); }
.o-preparing-note { margin-bottom: 22px; }
html[data-theme="light"] .o-preparing__icon { background: rgba(176, 125, 42, .1); box-shadow: inset 0 0 0 1px rgba(154, 108, 34, .35); }

/* server start not planned yet (start_date empty): zeros, no text */
.o-launch.is-unplanned .o-launch__digits { opacity: .55; }

/* ==========================================================================
   Sky rise (config app.hero_sky_rise): the hero sky in 3 layers - sky (sky-back), sun / moon (sky-sun / sky-moon)
   and mountains (sky-front), all placed exactly like the old single picture (70% 100% / cover).
   html.o-sky-rise (js/orion-ui.js, after a theme switch): the sun or the moon rises from behind the mountains.
   ========================================================================== */
.o-hero__sky--layers { background-image: url('../img/orion/sky-back.svg?v=2'); }
html[data-theme="light"] .o-hero__sky--layers { background-image: url('../img/orion/sky-light-back.svg?v=2'); }
.o-hero__ridge {
    position: absolute;
    inset: 0;
    background: url('../img/orion/sky-front.svg?v=2') 70% 100% / cover no-repeat;
    pointer-events: none;
}
html[data-theme="light"] .o-hero__ridge { background-image: url('../img/orion/sky-light-front.svg?v=2'); }
/* the sun / moon has its own place (always in view, also on wide screens where the sky picture is cut at the top) */
.o-hero__orb {
    position: absolute;
    /* placed by its centre (--orb-cy) so a bigger picture does not move the sun / moon down */
    --orb-size: clamp(320px, 62vh, 680px);
    --orb-cy: clamp(140px, 19vh, 200px);
    top: calc(var(--orb-cy) - var(--orb-size) / 2);
    right: calc(clamp(8px, 8vw, 170px) - var(--orb-size) * .12);
    width: var(--orb-size);
    aspect-ratio: 1;
    background: url('../img/orion/sky-moon-game.png?v=1') center / contain no-repeat; /* the game moon: l2_skies.utx moon (shader MoonFinal) */
    pointer-events: none;
}
html[data-theme="light"] .o-hero__orb { background-image: url('../img/orion/sky-sun-orb.svg?v=1'); }
/* the sun a little bigger than the moon (not the blood moon); scale does not touch the rise animation (transform) */
html[data-theme="light"] .o-hero__sky:not(.o-hero__sky--ssq) .o-hero__orb { scale: 1.12; }
/* Seven Signs moons of the game (l2_skies.utx OpenEyeMoon*, App\Services\SevenSignsSky) instead of the sun and the moon in both themes:
   Dusk won = the red moon with the eye, Dawn won = the moon with the green aura, competition = the eclipse
   (made by _backups/serverinfo-20261110/gamemoon/ssqweb.py; the old tinted blood moon: sky-blood-moon-game.png) */
.o-hero__sky--dusk .o-hero__orb,
html[data-theme="light"] .o-hero__sky--dusk .o-hero__orb { background-image: url('../img/orion/sky-dusk-moon-game.webp?v=1'); }
.o-hero__sky--dawn .o-hero__orb,
html[data-theme="light"] .o-hero__sky--dawn .o-hero__orb { background-image: url('../img/orion/sky-dawn-moon-game.webp?v=1'); }
.o-hero__sky--eclipse .o-hero__orb,
html[data-theme="light"] .o-hero__sky--eclipse .o-hero__orb { background-image: url('../img/orion/sky-eclipse-moon-game.webp?v=1'); }
html.o-sky-rise .o-hero__orb { animation: o-orb-rise 2.8s cubic-bezier(.25, .65, .3, 1) both; }
@keyframes o-orb-rise {
    0%   { transform: translateY(min(70vh, 600px)); opacity: .4; }
    45%  { opacity: 1; }
    100% { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    html.o-sky-rise .o-hero__orb { animation: none; }
}

/* ==========================================================================
   Giran panorama (config app.hero_background = 'giran'): a game screenshot of Giran instead of the mountains.
   giran-night (dark) / giran-day (light, warm sepia made from the same picture) is the sky + city,
   giran-city-* is the same picture with the sky cut out: in front of the sun / moon, so they rise behind the city.
   Both layers use the same size and position. Sources: _backups/serverinfo-20261110/giran/ (cut2.py, grade.py).
   ========================================================================== */
.o-hero__sky--giran { background: url('../img/orion/giran-night.webp?v=2') 42% 100% / cover no-repeat; }
.o-hero__sky--giran .o-hero__ridge { background: url('../img/orion/giran-city-night.webp?v=2') 42% 100% / cover no-repeat; }
html[data-theme="light"] .o-hero__sky--giran { background-image: url('../img/orion/giran-day.webp?v=1'); }
html[data-theme="light"] .o-hero__sky--giran .o-hero__ridge { background-image: url('../img/orion/giran-city-day.webp?v=1'); }

/* ==========================================================================
   Dark theme refresh (2026-11-11): a header that stands out from the page after scrolling,
   a living page background instead of one flat colour, section bands with ornaments.
   Only the dark theme (html without data-theme="light"). Copy before: _backups/serverinfo-20261110/orion.css.before-darkrefresh
   ========================================================================== */
/* header when it is solid (scrolled on the home page, always on inner pages): warm smoked glass, gold hairline */
html:not([data-theme="light"]) .o-header:not(.orion--home *),
html:not([data-theme="light"]) .orion--home .o-header.is-scrolled { --o-header-bg: rgba(28, 21, 14, .8); }
html:not([data-theme="light"]) .o-header:not(.orion--home *)::before,
html:not([data-theme="light"]) .orion--home .o-header.is-scrolled::before {
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    backdrop-filter: blur(14px) saturate(1.15);
    background-image: linear-gradient(180deg, rgba(255, 210, 140, .06), rgba(255, 210, 140, 0) 75%);
    box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .9);
}
html:not([data-theme="light"]) .o-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0, rgba(216, 173, 95, .45) 25%, rgba(240, 207, 138, .75) 50%, rgba(216, 173, 95, .45) 75%, transparent 100%);
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}
html:not([data-theme="light"]) .o-header:not(.orion--home *)::after,
html:not([data-theme="light"]) .orion--home .o-header.is-scrolled::after { opacity: 1; }

/* page background below the hero: warm light spots + fine grain (the hero covers the top, so it still fades into --o-page) */
html:not([data-theme="light"]) body.orion--home {
    background:
        radial-gradient(1200px 700px at 10% 1500px, rgba(196, 120, 52, .08), transparent 70%),
        radial-gradient(1000px 650px at 90% 2150px, rgba(160, 100, 44, .07), transparent 70%),
        radial-gradient(900px 600px at 35% 2900px, rgba(130, 84, 40, .06), transparent 70%),
        var(--o-page);
}
html:not([data-theme="light"]) body.orion--page {
    background:
        linear-gradient(180deg, rgba(12, 10, 8, .55) 0, var(--o-ink) 620px) top / 100% 100% no-repeat,
        url('../img/orion/sky-nomoon.svg?v=1') center top / 100% auto no-repeat, /* without the old moon: the only moon is the game moon of the home page */
        radial-gradient(1100px 650px at 8% 1000px, rgba(196, 120, 52, .07), transparent 70%),
        radial-gradient(1000px 650px at 92% 1700px, rgba(160, 100, 44, .06), transparent 70%),
        var(--o-ink);
}

/* section bands: the news part sits on a slightly lighter warm band, an ornament line above it */
html:not([data-theme="light"]) .o-news {
    background: linear-gradient(180deg, rgba(255, 214, 150, 0) 0, rgba(255, 214, 150, .028) 140px, rgba(255, 214, 150, .028) calc(100% - 140px), rgba(255, 214, 150, 0) 100%);
}
html:not([data-theme="light"]) .o-news::before {
    content: '';
    display: block;
    width: min(400px, 70%);
    height: 24px;
    margin: 0 auto 44px;
    background: url('../img/orion/divider.svg?v=2') center / contain no-repeat;
    opacity: .85;
}
/* fine grain over the whole page (fixed, above everything, clicks pass through) - the same on the hero and below, so no seam */
html:not([data-theme="light"]) body.orion::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 .9  0 0 0 0 .75  0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 180px 180px repeat;
    opacity: .7;
}

/* header at the top of the home page (before scrolling): the same smoked glass and gold hairline as after scrolling,
   only a little more see-through, so both states look like one bar (dark theme) */
html:not([data-theme="light"]) .orion--home .o-header:not(.is-scrolled) { --o-header-bg: rgba(28, 21, 14, .62); }
html:not([data-theme="light"]) .orion--home .o-header:not(.is-scrolled)::before {
    height: 100%;
    -webkit-mask-image: none;
    mask-image: none;
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    backdrop-filter: blur(14px) saturate(1.15);
    background-image: linear-gradient(180deg, rgba(255, 210, 140, .06), rgba(255, 210, 140, 0) 75%);
    box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .7);
}
html:not([data-theme="light"]) .orion--home .o-header:not(.is-scrolled)::after { opacity: .7; }

/* ==========================================================================
   Light theme refresh (2026-11-11): the same as the dark one above, in parchment and bronze -
   header glass with a bronze hairline (top and after scrolling), warm light spots and grain on the page,
   a band with an ornament for the news. Copy before: _backups/serverinfo-20261110/orion.css.before-lightrefresh
   ========================================================================== */
html[data-theme="light"] .o-header:not(.orion--home *),
html[data-theme="light"] .orion--home .o-header.is-scrolled { --o-header-bg: rgba(251, 246, 236, .84); }
html[data-theme="light"] .orion--home .o-header:not(.is-scrolled) { --o-header-bg: rgba(251, 246, 236, .6); }
html[data-theme="light"] .o-header:not(.orion--home *)::before,
html[data-theme="light"] .orion--home .o-header::before {
    height: 100%;
    -webkit-mask-image: none;
    mask-image: none;
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
    backdrop-filter: blur(14px) saturate(1.1);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, .4), rgba(255, 255, 255, 0) 75%);
    box-shadow: 0 16px 32px -18px rgba(90, 60, 20, .45);
}
html[data-theme="light"] .orion--home .o-header:not(.is-scrolled)::before { box-shadow: 0 16px 34px -20px rgba(90, 60, 20, .35); }
html[data-theme="light"] .o-header::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0, rgba(154, 108, 34, .4) 25%, rgba(176, 125, 42, .75) 50%, rgba(154, 108, 34, .4) 75%, transparent 100%);
    opacity: 1;
    transition: opacity .35s ease;
    pointer-events: none;
}
html[data-theme="light"] .orion--home .o-header:not(.is-scrolled)::after { opacity: .7; }

/* page background below the hero: warm golden light spots (the hero still fades into --o-page at the top) */
html[data-theme="light"] body.orion--home {
    background:
        radial-gradient(1200px 700px at 10% 1500px, rgba(216, 173, 95, .2), transparent 70%),
        radial-gradient(1000px 650px at 90% 2150px, rgba(194, 120, 47, .1), transparent 70%),
        radial-gradient(900px 600px at 35% 2900px, rgba(216, 173, 95, .14), transparent 70%),
        var(--o-page);
}
/* fine grain over the whole page (bronze, fixed, clicks pass through) */
html[data-theme="light"] body.orion::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .38  0 0 0 0 .27  0 0 0 0 .14  0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E") 0 0 / 180px 180px repeat;
    opacity: .7;
}
/* the news part on a slightly deeper parchment band, an ornament line above it */
html[data-theme="light"] .o-news {
    background: linear-gradient(180deg, rgba(176, 125, 42, 0) 0, rgba(176, 125, 42, .06) 140px, rgba(176, 125, 42, .06) calc(100% - 140px), rgba(176, 125, 42, 0) 100%);
}
html[data-theme="light"] .o-news::before {
    content: '';
    display: block;
    width: min(400px, 70%);
    height: 24px;
    margin: 0 auto 44px;
    background: url('../img/orion/divider.svg?v=2') center / contain no-repeat;
    opacity: .9;
}

/* slide pictures: the lower part fades into the background, so the picture does not end with a hard edge (both themes) */
.o-hero__character {
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 72%, rgba(0, 0, 0, .55) 86%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0, #000 72%, rgba(0, 0, 0, .55) 86%, transparent 100%);
}

/* ==========================================================================
   Footer band (2026-11-11): the bottom of the page is the same glass bar as the header -
   the same colour, the gold (dark) / bronze (light) hairline on its top edge with the ornament sitting on it.
   Copy before: _backups/serverinfo-20261110/orion.css.before-footerband
   ========================================================================== */
.o-footer {
    position: relative;
    display: flow-root; /* the ornament's -12px must not collapse into the footer margin (login / register pages: body is not flex) */
    margin-top: 64px;
    padding: 0 0 40px;
}
.o-footer::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    pointer-events: none;
}
.o-footer .o-divider { position: relative; z-index: 1; margin: -12px auto 36px; }
html:not([data-theme="light"]) .o-footer {
    background:
        linear-gradient(180deg, rgba(255, 210, 140, .06), rgba(255, 210, 140, 0) 160px),
        rgba(28, 21, 14, .8);
    box-shadow: 0 -10px 24px -16px rgba(0, 0, 0, .35);   /* was .9 black: too dark a band above the line on the brown page */
}
html:not([data-theme="light"]) .o-footer::before {
    background: linear-gradient(90deg, transparent 0, rgba(216, 173, 95, .45) 25%, rgba(240, 207, 138, .75) 50%, rgba(216, 173, 95, .45) 75%, transparent 100%);
}
html[data-theme="light"] .o-footer {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .4), rgba(255, 255, 255, 0) 160px),
        rgba(251, 246, 236, .84);
    box-shadow: 0 -10px 22px -16px rgba(90, 60, 20, .16);   /* was .45: too heavy a shade above the footer line */
}
html[data-theme="light"] .o-footer::before {
    background: linear-gradient(90deg, transparent 0, rgba(154, 108, 34, .4) 25%, rgba(176, 125, 42, .75) 50%, rgba(154, 108, 34, .4) 75%, transparent 100%);
}

/* Recruit (white tier, #FFFFFF of rank.ini) in the dark theme: a muted silver instead of glowing white -
   the badge, its gem, the mini progress bar, the tier ladder and the profile. !important beats the inline --tier.
   Copy before: _backups/serverinfo-20261110/orion.css.before-recruitdim */
html:not([data-theme="light"]) [style*="--tier: #FFFFFF" i] { --tier: #9c9488 !important; }
html:not([data-theme="light"]) .o-prank[style*="--tier: #FFFFFF" i] .o-prank__gem,
html:not([data-theme="light"]) .o-ptier[style*="--tier: #FFFFFF" i] .o-ptier__gem {
    background: linear-gradient(135deg, #cfc8ba 0%, var(--tier) 40%, color-mix(in srgb, var(--tier) 55%, #000) 100%);
    box-shadow: 0 0 6px color-mix(in srgb, var(--tier) 35%, transparent), inset 0 0 0 1px rgba(0, 0, 0, .3);
}
html:not([data-theme="light"]) .o-prank[style*="--tier: #FFFFFF" i] { color: #d6cdb9; }
html:not([data-theme="light"]) .o-pbar[style*="--tier: #FFFFFF" i] > span { box-shadow: none; }

/* player profile "In game" chip in the light theme: a deep green that reads on parchment (the dark theme mint is too pale here) */
html[data-theme="light"] .o-pprof__online { color: #2f7a4b; background: rgba(47, 122, 75, .08); border-color: rgba(47, 122, 75, .4); }

/* ===== sign-in IP: IPv4 first, the IPv6 one (Cloudflare) smaller next to it ===== */
.o-dash__ip6, .o-logins__ip6 { font-variant-numeric: tabular-nums; opacity: .78; overflow-wrap: anywhere; }
.o-dash__ip6 { font-size: .86em; }
.o-logins__ip6 { display: block; font-size: .8em; margin-top: 2px; }
.o-dash__ip6 small, .o-logins__ip6 small { font-size: .78em; font-weight: 700; letter-spacing: .06em; opacity: .8; margin-right: 2px; }
[data-o-ipv4][hidden], [data-o-ipv4-sep][hidden] { display: none !important; }

/* ===== legal pages (privacy, terms, refund policy): plain first paragraph, smaller headings ===== */
.o-legal .o-prose { font-size: 16.5px; }
.o-legal .o-prose > p:first-child { font-size: inherit; line-height: inherit; color: inherit; }
.o-legal .o-prose h2 { font-size: 21px; margin-top: 1.5em; }
.o-legal .o-prose li::marker { color: var(--o-gold); }
.o-legal__updated { margin: 10px 0 0; color: var(--o-mist); font-size: 14px; letter-spacing: .02em; }

/* ==========================================================================
   Sign in / register / password / two-step pages — redesign (2026-11-11)
   layouts/auth.blade.php → main.o-ax > .o-ax__card (--split with art | --solo)
   fields: components/auth-field.blade.php, art: components/auth-art.blade.php
   ========================================================================== */
.o-ax [hidden] { display: none !important; }
body.orion--auth main.o-ax {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 79px);
    height: auto;
    padding: 48px 20px 72px;
}
.o-ax__card {
    position: relative;
    width: 100%;
    display: grid;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(33, 26, 18, .94), rgba(17, 13, 9, .96));
    border: 1px solid var(--o-line);
    box-shadow: 0 34px 90px -34px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .02) inset;
    animation: oAxIn .45s cubic-bezier(.2, .7, .2, 1) both;
}
.o-ax__card::before {               /* thin gold line on top */
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--o-gold), transparent);
    opacity: .75;
    z-index: 3;
}
.o-ax__card--solo { max-width: 470px; }
.o-ax__card--split { max-width: 1040px; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }

/* ---------- art side ---------- */
.o-ax__art {
    /* the picture stays a night scene in both themes, so its colours are fixed here */
    --o-star: #efe4cc; --o-mist: #b5a688; --o-gold: #d8ad5f; --o-gold-hi: #f0cf8a; --o-line: rgba(216, 173, 95, .26);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 620px;
    padding: 46px 42px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    color: var(--o-star);
    border-right: 1px solid var(--o-line);
    background:
        radial-gradient(110% 70% at 78% 100%, rgba(216, 173, 95, .30), transparent 62%),
        radial-gradient(70% 55% at 0% 0%, rgba(194, 80, 47, .20), transparent 65%),
        linear-gradient(160deg, #231a10 0%, #0d0a07 100%);
}
.o-ax__art::after {                 /* keeps the text readable over the picture */
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(13, 10, 7, .82) 0%, rgba(13, 10, 7, .15) 38%, rgba(13, 10, 7, 0) 55%, rgba(13, 10, 7, .7) 100%);
    pointer-events: none;
}
.o-ax__art-glow {
    position: absolute;
    right: -90px;
    bottom: -70px;
    width: 460px;
    height: 460px;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 207, 138, .34), transparent 66%);
    animation: oAxGlow 6s ease-in-out infinite alternate;
}
.o-ax__art-img {
    position: absolute;
    right: -16%;
    bottom: 0;
    z-index: -1;
    height: 84%;
    width: auto;
    max-width: none;
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .6));
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
    animation: oAxFloat 8s ease-in-out infinite;
    pointer-events: none;
    user-select: none;
}
.o-ax__art--register .o-ax__art-img { right: -18%; height: 80%; }
.o-ax__kicker {
    margin: 0 0 10px;
    font-family: var(--o-display);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--o-gold);
}
.o-ax__art-title {
    margin: 0;
    max-width: 12em;
    font-family: var(--o-display);
    font-size: clamp(28px, 3.1vw, 38px);
    font-weight: 700;
    line-height: 1.15;
    background: linear-gradient(180deg, #fff3d6 0%, #f0cf8a 45%, #c4913f 100%);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .55));
}
.o-ax__art-lead { margin: 12px 0 0; max-width: 22em; color: var(--o-mist); font-size: 16px; line-height: 1.5; }
.o-ax__perks { display: grid; gap: 10px; max-width: 300px; margin: 0; padding: 0; list-style: none; }
.o-ax__perks li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(216, 173, 95, .2);
    background: rgba(12, 10, 8, .6);
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
    font-size: 14.5px;
    line-height: 1.35;
    color: var(--o-star);
    animation: oAxIn .5s cubic-bezier(.2, .7, .2, 1) both;
}
.o-ax__perks li:nth-child(2) { animation-delay: .08s; }
.o-ax__perks li:nth-child(3) { animation-delay: .16s; }
.o-ax__perk-ic {
    flex: none;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    color: var(--o-gold-hi);
    background: rgba(216, 173, 95, .14);
}

/* ---------- form side ---------- */
.o-ax__panel { display: flex; flex-direction: column; min-width: 0; padding: 44px 44px 26px; }
.o-ax__card--solo .o-ax__panel { padding: 40px 38px 24px; }
.o-ax__head { margin-bottom: 26px; }
.o-ax__badge {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
    border-radius: 14px;
    color: var(--o-gold-hi);
    background: linear-gradient(180deg, rgba(216, 173, 95, .2), rgba(216, 173, 95, .06));
    border: 1px solid var(--o-line);
    box-shadow: 0 10px 26px -14px rgba(216, 173, 95, .8);
}
.o-ax__card--solo .o-ax__head { text-align: center; }
.o-ax__card--solo .o-ax__badge { margin-left: auto; margin-right: auto; }
.o-ax__title {
    margin: 0;
    font-family: var(--o-display);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .02em;
    color: var(--o-gold-hi);
}
.o-ax__sub { margin: 8px 0 0; color: var(--o-mist); font-size: 15.5px; line-height: 1.5; }
.o-ax__body { flex: 1; }
.o-ax__alert { margin: 0 0 18px !important; }
.o-ax__note { margin: 0 0 18px; color: var(--o-mist); font-size: 14.5px; text-align: center; }

/* fields with a floating label */
.o-ax__group { margin-bottom: 16px; }
.o-ax__field { position: relative; }
.o-ax__input {
    display: block;
    width: 100%;
    height: 58px;
    margin: 0;
    padding: 22px 16px 6px 48px;
    border-radius: 12px;
    border: 1px solid rgba(239, 228, 204, .16);
    background: rgba(8, 7, 5, .45);
    color: var(--o-star);
    font: 500 16px/1.2 var(--o-body);
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.o-ax__field.has-eye .o-ax__input { padding-right: 52px; }
.o-ax__input:hover { border-color: rgba(216, 173, 95, .42); }
.o-ax__input:focus { border-color: var(--o-gold); background-color: rgba(8, 7, 5, .62); box-shadow: 0 0 0 4px rgba(216, 173, 95, .15); }
.o-ax__input:-webkit-autofill,
.o-ax__input:-webkit-autofill:hover,
.o-ax__input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--o-star);
    -webkit-box-shadow: 0 0 0 100px #15110c inset;
    caret-color: var(--o-star);
    transition: background-color 9999s;
}
.o-ax__label {
    position: absolute;
    left: 48px;
    top: 50%;
    max-width: calc(100% - 64px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transform: translateY(-50%);
    color: var(--o-mist);
    font-size: 15.5px;
    pointer-events: none;
    transition: top .18s ease, font-size .18s ease, color .18s ease, letter-spacing .18s ease;
}
.o-ax__field.has-eye .o-ax__label { max-width: calc(100% - 104px); }
.o-ax__input:focus + .o-ax__label,
.o-ax__input:not(:placeholder-shown) + .o-ax__label,
.o-ax__input:-webkit-autofill + .o-ax__label {
    top: 17px;
    font-size: 11.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--o-gold);
}
.o-ax__fic {
    position: absolute;
    left: 16px;
    top: 50%;
    display: flex;
    transform: translateY(-50%);
    color: var(--o-mist);
    pointer-events: none;
    transition: color .2s;
}
.o-ax__field:focus-within .o-ax__fic { color: var(--o-gold); }
body.orion .o-ax__eye {
    position: absolute;
    right: 9px;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 9px;
    background: none;
    color: var(--o-mist);
    cursor: var(--o-cur-link, pointer);
    transition: color .2s, background-color .2s;
}
body.orion .o-ax__eye:hover { color: var(--o-gold-hi); background: rgba(216, 173, 95, .1); }
.o-ax__eye:focus-visible { outline: 2px solid var(--o-gold); outline-offset: 0; }
.o-ax__field.is-invalid .o-ax__input { border-color: rgba(194, 80, 47, .75); }
.o-ax__field.is-invalid .o-ax__fic { color: #e9846c; }
.o-ax__err { margin: 7px 2px 0; color: #ffb4a6; font-size: 13.5px; line-height: 1.4; }
.o-ax__hint { margin: 7px 2px 0; color: var(--o-mist); font-size: 13px; line-height: 1.4; }

/* remember me / trust this device: a switch */
.o-ax__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 4px 0 22px; }
.o-ax__switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--o-mist);
    font-size: 14.5px;
    line-height: 1.3;
    cursor: var(--o-cur-link, pointer);
    user-select: none;
}
.o-tfa .o-ax__switch { margin: 0 0 20px; }
.o-ax__switch input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.o-ax__switch-track {
    position: relative;
    flex: none;
    width: 40px;
    height: 23px;
    border-radius: 999px;
    border: 1px solid rgba(239, 228, 204, .22);
    background: rgba(8, 7, 5, .5);
    transition: background-color .2s, border-color .2s;
}
.o-ax__switch-track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--o-mist);
    transition: transform .22s cubic-bezier(.3, .7, .3, 1.3), background-color .2s;
}
.o-ax__switch input:checked + .o-ax__switch-track { background: linear-gradient(180deg, var(--o-gold-hi), var(--o-gold)); border-color: var(--o-gold); }
.o-ax__switch input:checked + .o-ax__switch-track::after { transform: translateX(17px); background: #1c1406; }
.o-ax__switch input:focus-visible + .o-ax__switch-track { outline: 2px solid var(--o-gold); outline-offset: 2px; }
.o-ax__switch:hover { color: var(--o-star); }

.o-ax__link { color: var(--o-gold); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.o-ax__link:hover { color: var(--o-gold-hi); text-decoration: underline; text-underline-offset: 3px; }

/* main button */
body.orion .o-ax__submit { width: 100%; min-height: 54px; gap: 10px; border: 0; font-size: 15px; }
.o-ax__submit svg { transition: transform .2s; }
.o-ax__submit:hover svg { transform: translateX(3px); }
.o-ax__submit:focus-visible { outline: 2px solid var(--o-gold-hi); outline-offset: 3px; }

.o-ax__alt { margin: 24px 0 0; text-align: center; color: var(--o-mist); font-size: 15px; }
.o-ax__alt a { margin-left: 4px; color: var(--o-gold); font-weight: 700; text-decoration: none; }
.o-ax__alt a:hover { color: var(--o-gold-hi); text-decoration: underline; text-underline-offset: 3px; }
.o-ax__alt a.o-ax__back { margin: 0; font-weight: 600; }
body.orion .o-ax__linkbtn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: var(--o-gold);
    font: 600 14.5px/1.2 var(--o-body);
    cursor: var(--o-cur-link, pointer);
    transition: color .2s, background-color .2s;
}
body.orion .o-ax__linkbtn:hover { color: var(--o-gold-hi); background: rgba(216, 173, 95, .08); }
.o-ax__linkbtn:focus-visible { outline: 2px solid var(--o-gold); outline-offset: 2px; }
.o-ax__form .o-ax__linkbtn { display: flex; width: fit-content; margin: 16px auto 0; }
body.orion .o-ax__linkbtn--muted { color: var(--o-mist); }
body.orion .o-ax__linkbtn--muted:hover { color: #e9846c; background: rgba(194, 80, 47, .1); }

/* register: password strength, match, agreement */
.o-ax__meter { display: flex; align-items: center; gap: 12px; margin: -6px 2px 16px; color: var(--o-mist); font-size: 12.5px; }
.o-ax__meter-bar { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; max-width: 180px; }
.o-ax__meter-bar i { height: 4px; border-radius: 2px; background: rgba(239, 228, 204, .13); transition: background-color .25s; }
.o-ax__meter[data-score="0"] i:nth-child(-n+1),
.o-ax__meter[data-score="1"] i:nth-child(-n+1) { background: #c2502f; }
.o-ax__meter[data-score="2"] i:nth-child(-n+2) { background: #e39a55; }
.o-ax__meter[data-score="3"] i:nth-child(-n+3) { background: #d8ad5f; }
.o-ax__meter[data-score="4"] i:nth-child(-n+4) { background: #6fbf8a; }
.o-ax__match { margin: -8px 2px 14px; color: #ffb4a6; font-size: 13px; }
.o-ax__match.is-ok { color: #a9e8c0; }
.o-ax__agree { margin: 2px 0 18px; color: var(--o-mist); font-size: 13.5px; line-height: 1.5; }
.o-ax__agree a { color: var(--o-gold); }
.o-ax__captcha { display: flex; flex-direction: column; align-items: center; margin: 0 0 16px; }

/* two-step code: 6 boxes */
.o-ax__otp-wrap { margin: 2px 0 20px; }
.o-ax__otp { display: flex; align-items: center; justify-content: center; gap: 10px; }
.o-ax__otp-sep { flex: none; width: 10px; height: 2px; border-radius: 1px; background: var(--o-line); }
.o-ax__otp-box,
.o-ax__otp-src {
    width: 52px;
    height: 62px;
    margin: 0;
    padding: 0;
    border-radius: 12px;
    border: 1px solid rgba(239, 228, 204, .18);
    background: rgba(8, 7, 5, .45);
    color: var(--o-star);
    caret-color: var(--o-gold);
    text-align: center;
    font: 700 26px/1 ui-monospace, Consolas, monospace;
    transition: border-color .2s, box-shadow .2s, transform .15s;
}
.o-ax__otp-src { width: 100%; letter-spacing: .3em; }     /* only without the script */
.o-ax__otp-box:hover { border-color: rgba(216, 173, 95, .42); }
.o-ax__otp-box:focus,
.o-ax__otp-src:focus { border-color: var(--o-gold); box-shadow: 0 0 0 4px rgba(216, 173, 95, .15); transform: translateY(-1px); }
.o-ax__otp-box.is-filled { border-color: rgba(216, 173, 95, .6); }

/* bottom links (privacy, terms) */
.o-ax__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 10px;
    margin: 30px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--o-line);
    color: var(--o-mist);
    font-size: 13px;
}
.o-ax__legal a { color: var(--o-mist); text-decoration: none; }
.o-ax__legal a:hover { color: var(--o-gold); }

/* Google / Facebook buttons inside the card */
.o-ax .o-social { margin-top: 22px; }

/* animations */
@keyframes oAxIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes oAxFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes oAxGlow { from { opacity: .7; transform: scale(.95); } to { opacity: 1; transform: scale(1.05); } }
@media (prefers-reduced-motion: reduce) {
    .o-ax__card, .o-ax__perks li, .o-ax__art-img, .o-ax__art-glow { animation: none; }
}

/* ---------- light theme ---------- */
html[data-theme="light"] .o-ax__card {
    background: linear-gradient(180deg, rgba(255, 252, 245, .97), rgba(250, 243, 228, .97));
    box-shadow: 0 30px 70px -36px rgba(90, 58, 18, .45), 0 0 0 1px rgba(255, 255, 255, .6) inset;
}
html[data-theme="light"] .o-ax__input,
html[data-theme="light"] .o-ax__otp-box,
html[data-theme="light"] .o-ax__otp-src { background: rgba(255, 255, 255, .8); border-color: rgba(150, 108, 45, .3); }
html[data-theme="light"] .o-ax__input:focus,
html[data-theme="light"] .o-ax__otp-box:focus { background: #fff; box-shadow: 0 0 0 4px rgba(154, 108, 34, .14); }
html[data-theme="light"] .o-ax__input:-webkit-autofill,
html[data-theme="light"] .o-ax__input:-webkit-autofill:hover,
html[data-theme="light"] .o-ax__input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 100px #fffaf0 inset; }
html[data-theme="light"] .o-ax__switch-track { background: rgba(255, 255, 255, .8); border-color: rgba(150, 108, 45, .35); }
html[data-theme="light"] .o-ax__switch input:checked + .o-ax__switch-track { background: linear-gradient(180deg, #f0cf8a, #d8ad5f); border-color: #b07d2a; }
html[data-theme="light"] .o-ax__badge { color: #8a5a16; background: linear-gradient(180deg, rgba(214, 160, 60, .22), rgba(214, 160, 60, .06)); box-shadow: 0 10px 22px -14px rgba(150, 100, 30, .7); }
html[data-theme="light"] .o-ax__err,
html[data-theme="light"] .o-ax__match { color: #b3392c; }
html[data-theme="light"] .o-ax__match.is-ok { color: #2f7a4b; }
html[data-theme="light"] .o-ax__field.is-invalid .o-ax__fic { color: #b3392c; }
html[data-theme="light"] .o-ax__meter-bar i { background: rgba(150, 108, 45, .16); }
html[data-theme="light"] body.orion .o-ax__linkbtn--muted:hover { color: #b3392c; }

/* ---------- smaller screens ---------- */
@media (max-width: 900px) {
    .o-ax__card--split { grid-template-columns: 1fr; max-width: 540px; }
    .o-ax__art { min-height: 0; padding: 30px 26px; border-right: 0; border-bottom: 1px solid var(--o-line); }
    .o-ax__art::after { background: linear-gradient(90deg, rgba(13, 10, 7, .88) 0%, rgba(13, 10, 7, .55) 55%, rgba(13, 10, 7, .1) 100%); }
    .o-ax__art-img, .o-ax__art--register .o-ax__art-img { height: 260px; right: -40px; bottom: -40px; animation: none; }
    .o-ax__art-glow { width: 300px; height: 300px; right: -80px; bottom: -120px; }
    .o-ax__art-title { font-size: 26px; max-width: 11em; }
    .o-ax__art-lead { font-size: 15px; max-width: 17em; }
    .o-ax__perks { display: none; }
    .o-ax__panel { padding: 32px 28px 22px; }
}
@media (max-width: 480px) {
    body.orion--auth main.o-ax { padding: 20px 12px 44px; }
    .o-ax__card { border-radius: 14px; }
    .o-ax__art { padding: 24px 20px; }
    .o-ax__art-lead { display: none; }
    .o-ax__art-img, .o-ax__art--register .o-ax__art-img { height: 190px; right: -50px; bottom: -30px; }
    .o-ax__panel, .o-ax__card--solo .o-ax__panel { padding: 26px 18px 18px; }
    .o-ax__title { font-size: 24px; }
    .o-ax__otp { gap: 6px; }
    .o-ax__otp-box { width: min(13vw, 46px); height: 54px; font-size: 22px; }
    .o-ax__otp-sep { width: 6px; }
    .o-ax__row { margin-bottom: 18px; }
}

/* ---------- sign in / register: art side in the light theme (2026-11-11) ---------- */
html[data-theme="light"] .o-ax__art {
    --o-star: #2e2518; --o-mist: #6a5a42; --o-gold: #9a6c22; --o-gold-hi: #80571a; --o-line: rgba(150, 108, 45, .28);
    background:
        radial-gradient(110% 70% at 78% 100%, rgba(240, 190, 100, .55), transparent 62%),
        radial-gradient(70% 55% at 0% 0%, rgba(255, 236, 196, .9), transparent 65%),
        radial-gradient(60% 50% at 100% 0%, rgba(212, 112, 79, .12), transparent 70%),
        linear-gradient(160deg, #fbf3e1 0%, #f0dcb2 100%);
}
html[data-theme="light"] .o-ax__art::after {
    background: linear-gradient(180deg, rgba(251, 244, 228, .92) 0%, rgba(251, 244, 228, .25) 38%, rgba(251, 244, 228, 0) 55%, rgba(246, 232, 204, .7) 100%);
}
html[data-theme="light"] .o-ax__art-glow { background: radial-gradient(circle, rgba(255, 214, 140, .75), transparent 66%); }
html[data-theme="light"] .o-ax__art-img { filter: none; }   /* a blurred shadow gets cut at the picture edge (mask) and shows as a box on light paper */
html[data-theme="light"] .o-ax__art-title {
    background: linear-gradient(180deg, #c99a45 0%, #94651f 55%, #6c4613 100%);
    -webkit-background-clip: text;
            background-clip: text;
    filter: drop-shadow(0 1px 0 rgba(255, 250, 238, .9));
}
html[data-theme="light"] .o-ax__perks li {
    background: rgba(255, 252, 245, .78);
    border-color: rgba(150, 108, 45, .25);
    box-shadow: 0 8px 22px -16px rgba(90, 58, 18, .45);
}
html[data-theme="light"] .o-ax__perk-ic { color: #8a5a16; background: rgba(214, 160, 60, .18); }
@media (max-width: 900px) {
    html[data-theme="light"] .o-ax__art::after { background: linear-gradient(90deg, rgba(251, 244, 228, .94) 0%, rgba(251, 244, 228, .6) 55%, rgba(251, 244, 228, .1) 100%); }
}

/* ==================================================================
   DISCORD (components/discord-card.blade.php): Contacts card + footer pill
   ================================================================== */
.o-dc {
    --dc: #8f9cf0;
    display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 18px;
    padding: 18px 22px; margin: 0 0 22px; text-decoration: none; color: var(--o-star);
    border: 1px solid rgba(143, 156, 240, .35);
    background: linear-gradient(110deg, rgba(88, 101, 242, .16), rgba(23, 18, 13, .2) 60%), var(--o-dusk);
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.o-dc:hover { border-color: rgba(143, 156, 240, .7); transform: translateY(-1px); box-shadow: 0 10px 30px -14px rgba(88, 101, 242, .55); color: var(--o-star); }
.o-dc__logo {
    width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff;
    background: linear-gradient(145deg, #6f7cf5, #4752c4); box-shadow: 0 6px 18px -6px rgba(88, 101, 242, .8);
}
.o-dc__text { display: grid; gap: 2px; min-width: 0; }
.o-dc__kicker { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--dc); }
.o-dc__name { font-family: var(--o-display); font-size: 20px; color: var(--o-gold-hi); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-dc__on { font-size: 15px; color: var(--o-mist); display: inline-flex; align-items: center; gap: 8px; }
.o-dc__dot {
    width: 9px; height: 9px; border-radius: 50%; background: #3ba55d; display: inline-block; flex: none;
    box-shadow: 0 0 0 0 rgba(59, 165, 93, .6); animation: oDcPulse 2.2s infinite;
}
@keyframes oDcPulse { 0% { box-shadow: 0 0 0 0 rgba(59, 165, 93, .55); } 70% { box-shadow: 0 0 0 8px rgba(59, 165, 93, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 165, 93, 0); } }
.o-dc__faces { display: flex; }
.o-dc__faces img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--o-dusk); margin-left: -10px; background: var(--o-dusk-2); }
.o-dc__faces img:first-child { margin-left: 0; }
.o-dc__btn { pointer-events: none; }
@media (max-width: 720px) {
    .o-dc { grid-template-columns: auto 1fr; }
    .o-dc__faces { display: none; }
    .o-dc__btn { grid-column: 1 / -1; justify-content: center; }
}

.o-dcpill {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 7px 14px 7px 10px;
    border-radius: 999px; border: 1px solid rgba(143, 156, 240, .35); background: rgba(88, 101, 242, .1);
    color: var(--o-star); text-decoration: none; font-size: 14px; transition: border-color .2s, background .2s;
}
.o-dcpill:hover { border-color: rgba(143, 156, 240, .75); background: rgba(88, 101, 242, .18); color: var(--o-star); }
.o-dcpill__logo { color: #8f9cf0; }
.o-dcpill__txt { font-weight: 600; }
.o-dcpill__on { display: inline-flex; align-items: center; gap: 6px; color: var(--o-mist); }

html[data-theme="light"] .o-dc { background: linear-gradient(110deg, rgba(88, 101, 242, .12), rgba(255, 255, 255, 0) 60%), #fff; color: #2b2116; }
html[data-theme="light"] .o-dc__name { color: #7a5418; }
html[data-theme="light"] .o-dc__on, html[data-theme="light"] .o-dcpill__on { color: #6b5c45; }
html[data-theme="light"] .o-dc__faces img { border-color: #fff; }
html[data-theme="light"] .o-dcpill { color: #2b2116; background: rgba(88, 101, 242, .08); }

/* FACEBOOK (components/facebook-card.blade.php): Contacts card, same shape as the Discord card */
.o-fb {
    --dc: #8fb4f5;
    grid-template-columns: auto 1fr auto;
    border-color: rgba(127, 159, 230, .35);
    background: linear-gradient(110deg, rgba(24, 119, 242, .16), rgba(23, 18, 13, .2) 60%), var(--o-dusk);
}
.o-fb:hover { border-color: rgba(127, 159, 230, .7); box-shadow: 0 10px 30px -14px rgba(24, 119, 242, .55); }
.o-fb__logo { background: linear-gradient(145deg, #3d8df8, #1361d2); box-shadow: 0 6px 18px -6px rgba(24, 119, 242, .8); }
@media (max-width: 720px) {
    .o-fb { grid-template-columns: auto 1fr; }
}
html[data-theme="light"] .o-fb { --dc: #1a5fc4; background: linear-gradient(110deg, rgba(24, 119, 242, .1), rgba(255, 255, 255, 0) 60%), #fff; }

/* Discord in the sign-in buttons and Linked accounts */
.o-social__btn--discord:hover { border-color: #8f9cf0; }
.o-linked__dc { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--o-mist); font-size: 14px; }

/* ==================================================================
   DISCORD POP-UP (components/discord-popup.blade.php; admin → Nustatymai → Discord → Iššokantis langas)
   ================================================================== */
html.o-dcpop-open { overflow: hidden; }
.o-dcpop { position: fixed; inset: 0; z-index: 9990; display: grid; place-items: center; padding: 18px; }
.o-dcpop[hidden] { display: none; }
.o-dcpop__backdrop {
    position: absolute; inset: 0; background: rgba(6, 5, 3, .6);
    backdrop-filter: blur(6px) saturate(120%); -webkit-backdrop-filter: blur(6px) saturate(120%);
    opacity: 0; transition: opacity .25s ease;
}
.o-dcpop__card {
    position: relative; width: min(100%, 430px); border-radius: 22px; overflow: hidden;
    background: linear-gradient(180deg, #1d1912 0%, #14100b 100%);
    border: 1px solid rgba(143, 156, 240, .28);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 0 60px -20px rgba(88, 101, 242, .45);
    opacity: 0; transform: translateY(16px) scale(.96);
    transition: opacity .25s ease, transform .3s cubic-bezier(.2, .9, .25, 1.15);
}
.o-dcpop.is-in .o-dcpop__backdrop { opacity: 1; }
.o-dcpop.is-in .o-dcpop__card { opacity: 1; transform: none; }

.o-dcpop__banner {
    position: relative; height: 118px; overflow: hidden;
    background: radial-gradient(120% 140% at 0% 0%, #8a93ff 0%, rgba(138, 147, 255, 0) 55%),
                radial-gradient(120% 140% at 100% 100%, #3b44c4 0%, rgba(59, 68, 196, 0) 60%),
                linear-gradient(135deg, #6c76f4, #4b55d6);
}
.o-dcpop__banner::after { /* faint star dust */
    content: ''; position: absolute; inset: 0; opacity: .35;
    background-image: radial-gradient(1px 1px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 20%, #fff, transparent),
                      radial-gradient(1.5px 1.5px at 85% 65%, #fff, transparent), radial-gradient(1px 1px at 40% 75%, #fff, transparent),
                      radial-gradient(1px 1px at 10% 80%, #fff, transparent), radial-gradient(1.2px 1.2px at 55% 45%, #fff, transparent);
}
.o-dcpop__glow {
    position: absolute; top: -60%; left: -30%; width: 60%; height: 220%; transform: rotate(18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
    animation: oDcSheen 5.5s ease-in-out infinite 1.2s;
}
@keyframes oDcSheen { 0% { left: -40%; } 45%, 100% { left: 130%; } }
.o-dcpop__live {
    position: absolute; top: 14px; left: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 7px;
    padding: 5px 11px; border-radius: 999px; font-size: 13px; color: #fff;
    background: rgba(20, 22, 60, .35); border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.o-dcpop__x {
    position: absolute; top: 10px; right: 10px; z-index: 1; width: 34px; height: 34px; border-radius: 50%;
    display: grid; place-items: center; cursor: pointer; color: #fff; border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(20, 22, 60, .3); transition: background .2s, transform .2s;
}
.o-dcpop__x:hover, .o-dcpop__x:focus-visible { background: rgba(20, 22, 60, .55); transform: rotate(90deg); }
.o-dcpop__logo {
    position: absolute; left: 50%; top: 80px; z-index: 2; transform: translateX(-50%);
    width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; color: #fff;
    background: linear-gradient(145deg, #7b85ff, #4651d8);
    box-shadow: 0 0 0 5px #1a160f, 0 14px 30px -8px rgba(88, 101, 242, .8);
    animation: oDcFloat 4s ease-in-out infinite;
}
@keyframes oDcFloat { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -4px); } }

.o-dcpop__body { padding: 50px 26px 22px; text-align: center; }
.o-dcpop__kicker { margin: 0 0 4px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: #9ea8ff; }
.o-dcpop__title { margin: 0 0 8px; font-family: var(--o-display); font-size: 24px; line-height: 1.2; color: var(--o-gold-hi); }
.o-dcpop__text { margin: 0 auto 16px; max-width: 34ch; color: var(--o-mist); font-size: 15.5px; line-height: 1.55; }
.o-dcpop__perks { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.o-dcpop__perks li {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; font-size: 13.5px;
    color: var(--o-star); background: rgba(143, 156, 240, .1); border: 1px solid rgba(143, 156, 240, .25);
}
.o-dcpop__perks li svg { color: #9ea8ff; }
.o-dcpop__faces { display: flex; align-items: center; justify-content: center; margin: 0 0 18px; font-size: 13.5px; color: var(--o-mist); }
.o-dcpop__faces img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #17130d; margin-left: -9px; background: #241d14; }
.o-dcpop__faces img:first-child { margin-left: 0; }
.o-dcpop__faces span { margin-left: 10px; }
.o-dcpop__join {
    display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 13px 18px;
    border-radius: 14px; font-weight: 700; font-size: 16px; letter-spacing: .02em; text-decoration: none; color: #fff;
    background: linear-gradient(180deg, #6f79f7, #4f59dd); border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 10px 24px -10px rgba(88, 101, 242, .9), inset 0 1px 0 rgba(255, 255, 255, .25);
    transition: transform .15s, filter .2s, box-shadow .2s;
}
.o-dcpop__join:hover, .o-dcpop__join:focus-visible { color: #fff; filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(88, 101, 242, 1), inset 0 1px 0 rgba(255, 255, 255, .25); }
.o-dcpop__later {
    margin-top: 10px; padding: 6px 10px; border: 0; background: none; cursor: pointer;
    font: inherit; font-size: 14px; color: var(--o-mist); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: transparent;
    transition: color .2s, text-decoration-color .2s;
}
.o-dcpop__later:hover, .o-dcpop__later:focus-visible { color: var(--o-star); text-decoration-color: currentColor; }

/* light theme */
html[data-theme="light"] .o-dcpop__backdrop { background: rgba(60, 45, 20, .3); }
html[data-theme="light"] .o-dcpop__card {
    background: linear-gradient(180deg, #ffffff, #f8f3ea); border-color: rgba(88, 101, 242, .22);
    box-shadow: 0 30px 70px -24px rgba(50, 40, 90, .35), 0 0 0 1px rgba(255, 255, 255, .6) inset;
}
html[data-theme="light"] .o-dcpop__logo { box-shadow: 0 0 0 5px #ffffff, 0 14px 30px -8px rgba(88, 101, 242, .55); }
html[data-theme="light"] .o-dcpop__kicker { color: #4f59dd; }
html[data-theme="light"] .o-dcpop__title { color: #6b4612; }
html[data-theme="light"] .o-dcpop__text, html[data-theme="light"] .o-dcpop__faces, html[data-theme="light"] .o-dcpop__later { color: #6b5c45; }
html[data-theme="light"] .o-dcpop__later:hover { color: #2b2116; }
html[data-theme="light"] .o-dcpop__perks li { color: #2b2116; background: rgba(88, 101, 242, .07); border-color: rgba(88, 101, 242, .2); }
html[data-theme="light"] .o-dcpop__perks li svg { color: #4f59dd; }
html[data-theme="light"] .o-dcpop__faces img { border-color: #fff; }

/* phones: a sheet from the bottom */
@media (max-width: 560px) {
    .o-dcpop { place-items: end center; padding: 0; }
    .o-dcpop__card { width: 100%; border-radius: 22px 22px 0 0; transform: translateY(100%); padding-bottom: env(safe-area-inset-bottom); }
    .o-dcpop.is-in .o-dcpop__card { transform: none; }
    .o-dcpop__banner { height: 100px; }
    .o-dcpop__logo { top: 62px; }
}
@media (prefers-reduced-motion: reduce) {
    .o-dcpop__card, .o-dcpop__backdrop { transition: opacity .15s; transform: none !important; }
    .o-dcpop__glow, .o-dcpop__logo, .o-dc__dot { animation: none; }
    .o-dcpop__logo { transform: translateX(-50%); }
}

/* ===== GM ONLY server state (App\Services\GmOnly) ===== */
.o-server.is-gm .o-dot { background: #f0a73a; box-shadow: 0 0 0 3px rgba(240, 167, 58, .18); }
.o-server.is-gm .o-server__status { color: #f3c27a; border-color: rgba(240, 167, 58, .35); background: rgba(240, 167, 58, .07); }
html[data-theme="light"] .o-server.is-gm .o-server__status { color: #9a5b00; border-color: rgba(214, 138, 20, .45); background: rgba(214, 138, 20, .08); }
html[data-theme="light"] .o-server.is-gm .o-dot { background: #d68a14; box-shadow: 0 0 0 3px rgba(214, 138, 20, .18); }

/* ---------- dark theme: warmer brown page background instead of near-black (2026-11-11) ----------
   the hero fades into --o-ink and the page under it is --o-page, so both change together (no seam) */
html:not([data-theme="light"]) { --o-ink: #17110c; --o-page: #17110c; }
/* one even colour from top to bottom: no lighter news band, no warm spots at fixed heights */
html:not([data-theme="light"]) body.orion--home { background: var(--o-page); }
html:not([data-theme="light"]) .o-news { background: none; }
html:not([data-theme="light"]) body.orion--page {
    background:
        linear-gradient(180deg, rgba(12, 10, 8, .55) 0, var(--o-ink) 620px) top / 100% 100% no-repeat,
        url('../img/orion/sky-nomoon.svg?v=1') center top / 100% auto no-repeat,
        var(--o-ink);
}
/* hero picture: the bottom fade is now the TOP layer (it used to sit under the dark left shade, which left a
   darker strip at the bottom-left and a visible edge against the page), and the shades use the same brown as the page */
html:not([data-theme="light"]) .o-hero__sky::after {
    background:
        linear-gradient(0deg, var(--o-ink) 0%, rgba(23, 17, 12, .55) 14%, rgba(23, 17, 12, 0) 34%),
        linear-gradient(90deg, rgba(23, 17, 12, .85) 0%, rgba(23, 17, 12, .35) 55%, rgba(23, 17, 12, 0) 80%);
}
/* light theme: one even parchment colour down the page as well (no darker golden spot / news band near the bottom) */
html[data-theme="light"] body.orion--home { background: var(--o-page); }
html[data-theme="light"] .o-news { background: none; }

/* ---------- dark theme: softer glow under the gold buttons (was .8-.95 gold, too much yellow halo) (2026-11-11) ---------- */
html:not([data-theme="light"]) .o-btn--gold,
html:not([data-theme="light"]) body.orion :is(.btn-primary, .btn-accent, .btn-main, .btn-golden, .btn-red),
html:not([data-theme="light"]) .o-header .o-user.o-account .o-account__wallet .o-account__topup {
    box-shadow: 0 0 0 1px rgba(240, 207, 138, .3) inset, 0 6px 16px -10px rgba(216, 173, 95, .35);
}
html:not([data-theme="light"]) .o-btn--gold:hover,
html:not([data-theme="light"]) body.orion :is(.btn-primary, .btn-accent, .btn-main, .btn-golden, .btn-red):hover,
html:not([data-theme="light"]) .o-header .o-user.o-account .o-account__wallet .o-account__topup:hover {
    box-shadow: 0 0 0 1px rgba(240, 207, 138, .55) inset, 0 8px 20px -10px rgba(216, 173, 95, .5);
}
html:not([data-theme="light"]) .o-stats__server.is-active { box-shadow: 0 6px 14px -10px rgba(216, 173, 95, .4); }

/* ---------- gold buttons: a little brighter on hover (both themes) (2026-11-12) ---------- */
.o-btn--gold,
body.orion :is(.btn-primary, .btn-accent, .btn-main, .btn-golden, .btn-red),
.o-header .o-user.o-account .o-account__wallet .o-account__topup {
    transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s, filter .2s;
}
.o-btn--gold:hover,
.o-btn--gold:focus-visible,
body.orion :is(.btn-primary, .btn-accent, .btn-main, .btn-golden, .btn-red):hover,
.o-header .o-user.o-account .o-account__wallet .o-account__topup:hover {
    filter: brightness(1.1) saturate(1.05);
}
.o-btn--gold:active,
body.orion :is(.btn-primary, .btn-accent, .btn-main, .btn-golden, .btn-red):active { filter: brightness(1.02); }
.o-btn--gold.is-disabled:hover { filter: none; }

/* ==========================================================================
   Streamers page (/streams, views/pages/streams.blade.php) (2026-11-12)
   --pc = platform colour (Twitch violet, YouTube red, Kick green ...)
   ========================================================================== */
.o-streams__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 26px; }
.o-streams__lead { margin: 8px 0 0; color: var(--o-mist); font-size: 18px; }
.o-streams__lead strong { color: var(--o-star); }
.o-streams__count { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--o-line); color: var(--o-mist); font-size: 14px; font-weight: 700; }
.o-streams__count.is-on { color: #ff8a80; border-color: rgba(255, 82, 82, .4); background: rgba(255, 82, 82, .08); }
.o-streams__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .55; }
.o-streams__count.is-on .o-streams__dot { opacity: 1; background: #ff5252; box-shadow: 0 0 0 0 rgba(255, 82, 82, .6); animation: o-live-pulse 1.8s infinite; }
@keyframes o-live-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 82, 82, .55); } 70% { box-shadow: 0 0 0 7px rgba(255, 82, 82, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 82, 82, 0); } }
.o-streams__admin { margin: -10px 0 22px; padding: 10px 14px; border: 1px dashed var(--o-line); border-radius: var(--o-radius); color: var(--o-mist); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.o-streams__admin a { color: var(--o-gold); margin-left: auto; }
.o-streams__sub { margin: 34px 0 14px; font-family: var(--o-display); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--o-mist); }
.o-streams__live + .o-streams__sub { margin-top: 38px; }
.o-streams__head + .o-streams__sub, .o-streams__admin + .o-streams__sub { margin-top: 0; }

/* live cards */
.o-streams__live { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 20px; }
.o-stream {
    --pc: #d8ad5f;
    padding: 0; overflow: hidden; display: flex; flex-direction: column;
    animation: o-rise .6s cubic-bezier(.2, .7, .2, 1) var(--o-delay, 0s) backwards;
    transition: border-color .3s, transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .3s;
}
.o-stream:hover { border-color: color-mix(in srgb, var(--pc) 55%, transparent); transform: translateY(-3px); box-shadow: 0 18px 40px -20px color-mix(in srgb, var(--pc) 65%, transparent); }
.o-stream__media { position: relative; aspect-ratio: 16 / 9; background: #0a0806; overflow: hidden; }
.o-stream__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .4s; }
.o-stream:hover .o-stream__media img { transform: scale(1.03); filter: brightness(.82); }
.o-stream__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.o-stream__nothumb { position: absolute; inset: 0; display: grid; place-items: center; color: var(--pc); opacity: .55; background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--pc) 22%, transparent), transparent 70%); }
.o-stream__badge { position: absolute; top: 10px; left: 10px; padding: 2px 8px; border-radius: 4px; background: #e5322d; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
.o-stream__viewers { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 4px; background: rgba(0, 0, 0, .66); color: #fff; font-size: 13px; font-weight: 700; }
.o-stream__play {
    position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%;
    display: grid; place-items: center; cursor: pointer; color: #fff;
    border: 1px solid rgba(255, 255, 255, .35); background: rgba(10, 8, 6, .55); backdrop-filter: blur(4px);
    transition: transform .3s cubic-bezier(.2, .7, .2, 1), background .3s, border-color .3s;
}
.o-stream__play .o-btn__ic { fill: currentColor; margin-left: 4px; }
.o-stream__play:hover, .o-stream__play:focus-visible { transform: scale(1.08); background: color-mix(in srgb, var(--pc) 70%, #000); border-color: var(--pc); }
.o-stream__media.is-playing .o-stream__badge, .o-stream__media.is-playing .o-stream__viewers { display: none; }
.o-stream__body { padding: 14px 18px 16px; display: grid; gap: 8px; flex: 1; align-content: start; }
.o-stream__who { display: flex; align-items: center; gap: 8px; min-width: 0; }
.o-stream__who strong { font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o-stream__pf { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; color: var(--pc); background: color-mix(in srgb, var(--pc) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pc) 35%, transparent); }
.o-stream__time { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 4px; color: var(--o-mist); font-size: 13px; }
.o-stream__title { margin: 0; font-family: var(--o-body); font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--o-star); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.o-stream__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: auto; padding-top: 2px; }
.o-stream__cat { padding: 2px 9px; border-radius: 999px; border: 1px solid var(--o-line); color: var(--o-mist); font-size: 12.5px; }
.o-stream__open { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; color: var(--o-gold); font-size: 14px; font-weight: 700; text-decoration: none; }
.o-stream__open:hover { color: var(--o-gold-hi); }

/* offline / link channels */
.o-streams__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.o-chan {
    --pc: #d8ad5f;
    display: flex; align-items: center; gap: 14px; padding: 14px 16px; text-decoration: none; color: var(--o-star);
    animation: o-rise .6s cubic-bezier(.2, .7, .2, 1) var(--o-delay, 0s) backwards;
    transition: border-color .3s, transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .3s;
}
.o-chan:hover, .o-chan:focus-visible { border-color: color-mix(in srgb, var(--pc) 55%, transparent); transform: translateY(-2px); box-shadow: 0 14px 30px -18px color-mix(in srgb, var(--pc) 60%, transparent); }
.o-chan__icon { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: var(--pc); background: color-mix(in srgb, var(--pc) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pc) 32%, transparent); }
.o-chan__text { flex: 1; min-width: 0; display: grid; gap: 1px; }
.o-chan__name { font-weight: 700; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o-chan__state { color: var(--o-mist); font-size: 13.5px; }
.o-chan__go { flex: none; color: var(--o-mist); transition: transform .3s, color .3s; }
.o-chan:hover .o-chan__go { color: var(--pc); transform: translate(2px, -2px); }
.o-streams__empty { display: grid; justify-items: center; gap: 12px; padding: 48px 24px; text-align: center; color: var(--o-mist); }
.o-streams__empty .o-btn__ic { color: var(--o-gold); opacity: .7; }
.o-streams__empty p { margin: 0; }

/* light theme: platform colours darker so they read on parchment */
html[data-theme="light"] .o-stream__pf, html[data-theme="light"] .o-chan__icon { color: color-mix(in srgb, var(--pc) 72%, #2a1d0c); }
html[data-theme="light"] .o-chan:hover .o-chan__go { color: color-mix(in srgb, var(--pc) 72%, #2a1d0c); }
html[data-theme="light"] .o-streams__count.is-on { color: #b3261e; border-color: rgba(179, 38, 30, .35); background: rgba(179, 38, 30, .07); }
html[data-theme="light"] .o-stream__media { background: #2a2016; }
@media (prefers-reduced-motion: reduce) { .o-stream, .o-chan { animation: none; } .o-streams__count.is-on .o-streams__dot { animation: none; } }

/* header: "Admin CP" (admins only, opens the admin panel in a new tab) */
.o-nav__admin  { --ic: #e07a6a; }

/* ---------- header "Admin CP" drop-down: the admin panel's menu (views/components/acp-item.blade.php, App\Support\AdminNav) ---------- */
.o-nav__admin { position: relative; }
.o-acp, .o-acp__sub {
    position: absolute; z-index: 75;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}
.o-acp { top: 100%; left: 0; padding-top: 10px; transform: translateY(6px); }
.o-acp__sub { top: -9px; left: 100%; padding-left: 6px; transform: translateX(-4px); }
.o-acp__group { position: relative; }
.o-acp__group.is-left > .o-acp__sub { left: auto; right: 100%; padding-left: 0; padding-right: 6px; transform: translateX(4px); }
.o-nav__admin:hover > .o-acp,
.o-nav__admin:focus-within > .o-acp,
.o-acp__group:hover > .o-acp__sub,
.o-acp__group:focus-within > .o-acp__sub { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
.o-acp__panel {
    min-width: 230px; padding: 6px;
    display: grid; gap: 1px;
    background: var(--o-dusk);
    border: 1px solid var(--o-line);
    border-radius: calc(var(--o-radius) + 4px);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .7);
}
.o-header .o-nav > ul .o-acp a.o-acp__link {
    display: flex; align-items: center; gap: 10px;
    padding: 7px 10px; border-radius: 6px;
    font-family: var(--o-body); font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none;
    color: var(--o-star); box-shadow: none; white-space: nowrap;
}
.o-header .o-nav > ul .o-acp a.o-acp__link:hover,
.o-header .o-nav > ul .o-acp a.o-acp__link:focus-visible,
.o-header .o-nav > ul .o-acp .o-acp__group:hover > a.o-acp__link { background: var(--o-dusk-2); color: var(--o-gold-hi); }
.o-acp__ic { flex: none; width: 18px; height: 18px; color: var(--o-gold); opacity: .85; }
.o-acp__ic--none { display: inline-block; }
.o-acp__more { margin-left: auto; padding-left: 8px; box-sizing: content-box; color: var(--o-mist); }
.o-acp__group.is-left .o-acp__more { transform: rotate(180deg); }
/* a side menu never runs below the window: header.blade.php moves it up, a list taller than the window scrolls */
.o-acp__sub > .o-acp__panel:not(:has(.o-acp__group)) { max-height: calc(100vh - 16px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.o-acp > .o-acp__panel:not(:has(.o-acp__group)) { max-height: calc(100vh - 100px); overflow-y: auto; scrollbar-width: thin; }
/* phone / burger menu: only the link */
@media (max-width: 1350px) { .o-acp { display: none; } }
html[data-theme="light"] .o-acp__panel { background: #fffaf1; box-shadow: 0 18px 40px -14px rgba(90, 60, 20, .4); }
html[data-theme="light"] .o-acp__ic { color: #86590f; }
@media (prefers-reduced-motion: reduce) { .o-acp, .o-acp__sub { transition: none; } }

/* ---------- "Admin CP" dock: a tab at the left screen edge, the admin menu slides out (views/components/admin-dock.blade.php) ---------- */
.o-adock { position: fixed; left: 0; top: 50%; z-index: 95; transform: translateY(-50%); }
.o-adock__tab {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    width: 26px; padding: 12px 0 10px; margin: 0;
    border: 1px solid var(--o-line); border-left: 0; border-radius: 0 10px 10px 0;
    background: rgba(23, 18, 13, .78); color: var(--o-gold);
    box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .6);
    opacity: .55; cursor: pointer;
    transition: opacity .2s, width .2s, background-color .2s, color .2s;
}
.o-adock__tab-text { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--o-display); font-size: 11px; letter-spacing: .18em; }
.o-adock:hover .o-adock__tab, .o-adock.is-open .o-adock__tab, .o-adock__tab:focus-visible { opacity: 1; width: 30px; color: var(--o-gold-hi); background: var(--o-dusk); }
.o-adock__drawer {
    position: absolute; left: 0; top: 50%;
    transform: translate(calc(-100% - 12px), -50%); opacity: 0; visibility: hidden; pointer-events: none;
    /* closing waits a moment, so a mouse that slips off for a second keeps the menu */
    transition: transform .22s cubic-bezier(.2, .8, .2, 1) .25s, opacity .22s ease .25s, visibility 0s linear .47s;
}
/* keyboard focus opens it too (:focus-visible, so a clicked link does not keep it open) */
.o-adock:hover .o-adock__drawer, .o-adock:has(:focus-visible) .o-adock__drawer, .o-adock.is-open .o-adock__drawer {
    transform: translate(0, -50%); opacity: 1; visibility: visible; pointer-events: auto;
    transition: transform .22s cubic-bezier(.2, .8, .2, 1), opacity .18s ease, visibility 0s;
}
.o-adock__panel { min-width: 240px; border-left: 0; border-radius: 0 calc(var(--o-radius) + 4px) calc(var(--o-radius) + 4px) 0; }
.o-adock .o-acp__panel a.o-acp__link {
    display: flex; align-items: center; gap: 10px;
    padding: 7px 10px; border-radius: 6px;
    font-family: var(--o-body); font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none;
    color: var(--o-star); text-decoration: none; white-space: nowrap;
}
.o-adock .o-acp__panel a.o-acp__link:hover,
.o-adock .o-acp__panel a.o-acp__link:focus-visible,
.o-adock .o-acp__group:hover > a.o-acp__link { background: var(--o-dusk-2); color: var(--o-gold-hi); }
.o-adock a.o-adock__head { font-family: var(--o-display); letter-spacing: .06em; color: var(--o-gold-hi); }
.o-adock__sep { height: 1px; margin: 4px 6px; background: var(--o-line); }
.o-adock .o-acp__sub { z-index: 1; }
html[data-theme="light"] .o-adock__tab { background: rgba(255, 250, 241, .85); color: #86590f; box-shadow: 0 6px 16px -8px rgba(90, 60, 20, .45); }
html[data-theme="light"] .o-adock:hover .o-adock__tab, html[data-theme="light"] .o-adock.is-open .o-adock__tab { background: #fffaf1; color: #6b4a14; }
html[data-theme="light"] .o-adock .o-acp__panel a.o-acp__link { color: #2b2014; }
html[data-theme="light"] .o-adock .o-acp__panel a.o-acp__link:hover,
html[data-theme="light"] .o-adock .o-acp__group:hover > a.o-acp__link { background: rgba(176, 125, 42, .1); color: #6b4a14; }
html[data-theme="light"] .o-adock a.o-adock__head { color: #6b4a14; }
@media (prefers-reduced-motion: reduce) { .o-adock__drawer, .o-adock__tab { transition: none; } }
@media print { .o-adock { display: none; } }

/* =====================================================================
   LIVE CHAT – light theme: lighter buttons and own bubble (2026-11-12)
   (in light theme --o-gold is dark bronze, so the dark-theme gold fills looked brown)
   ===================================================================== */
html[data-theme="light"] .o-chat__fab {
    background: radial-gradient(circle at 35% 28%, #fffaf0, #f6e2b4 48%, #e2bd77);
    border-color: rgba(176, 125, 42, .45);
    color: #6b4712;
    box-shadow: 0 10px 24px -10px rgba(90, 60, 20, .5), 0 0 0 4px rgba(176, 125, 42, .1), inset 0 1px 0 rgba(255, 255, 255, .8);
}
html[data-theme="light"] .o-chat__fab:hover {
    color: #4a2e0c;
    box-shadow: 0 14px 28px -10px rgba(90, 60, 20, .55), 0 0 0 6px rgba(176, 125, 42, .14), inset 0 1px 0 rgba(255, 255, 255, .8);
}
html[data-theme="light"] .o-chat__dot { border-color: #fbf6ea; }
html[data-theme="light"] .o-chat__send {
    background: linear-gradient(180deg, #f8e6bb, #e6c27f);
    color: #5a3a0e;
    box-shadow: inset 0 0 0 1px rgba(176, 125, 42, .4), 0 4px 10px -6px rgba(90, 60, 20, .5);
}
html[data-theme="light"] .o-chat__send:hover { background: linear-gradient(180deg, #fff1cf, #eccd90); color: #4a2e0c; }
html[data-theme="light"] .o-chat__attach:hover { color: #6b4712; background: rgba(176, 125, 42, .1); }
html[data-theme="light"] .o-chat__msg.is-visitor .o-chat__bubble {
    background: linear-gradient(180deg, #f7e6bf, #efd59e);
    color: #33240c;
    box-shadow: inset 0 0 0 1px rgba(176, 125, 42, .28);
}
html[data-theme="light"] .o-chat__msg.is-visitor .o-chat__bubble a { color: #6b4712; }
html[data-theme="light"] .o-chat__check { background: linear-gradient(180deg, #f8e6bb, #e6c27f); color: #5a3a0e; }
html[data-theme="light"] .o-chat__up i { background: linear-gradient(90deg, #d8ad5f, #f0cf8a); }
html[data-theme="light"] .o-chat .o-btn--gold {
    background: linear-gradient(180deg, #fbefd2, #efd498 60%, #e3bd76);
    color: #4a2e0c;
    box-shadow: inset 0 0 0 1px rgba(176, 125, 42, .42), inset 0 1px 0 rgba(255, 255, 255, .7), 0 6px 16px -10px rgba(90, 60, 20, .55);
}
html[data-theme="light"] .o-chat .o-btn--gold:hover { background: linear-gradient(180deg, #fff6e0, #f4dca8 60%, #eac98a); color: #3a2508; }

/* =====================================================================
   TICKETS (cabinet) – unread team answers (App\Services\Helpdesk, 2026-11-12)
   ===================================================================== */
.o-side__badge { margin-left: auto; min-width: 20px; padding: 0 6px; border-radius: 10px; background: #c0392b; color: #fff; font: 700 11.5px/20px var(--o-body); text-align: center; }
.o-ticket-new { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 9px; font-size: 11px; font-weight: 700; line-height: 16px; vertical-align: 1px; background: rgba(216, 173, 95, .18); color: var(--o-gold-hi); white-space: nowrap; }
.ticket_tr { font-style: normal; font-weight: 400; opacity: .7; margin-left: 4px; }
html[data-theme="light"] .o-side__badge { background: #b3392c; }
html[data-theme="light"] .o-ticket-new { background: rgba(176, 125, 42, .14); color: #6b4712; }

/* LIVE CHAT - form / rating text fields: no horizontal scrollbar after a click (the empty field was ~9 px wider
   inside than its box and Windows Chrome showed a scrollbar on focus); lighter focus border in the light theme */
.o-chat__field textarea, .o-chat__rate textarea { overflow-x: hidden; overflow-y: auto; overflow-wrap: anywhere; white-space: pre-wrap; text-align: left; scrollbar-width: thin; }
.o-chat__field textarea::-webkit-scrollbar, .o-chat__rate textarea::-webkit-scrollbar { width: 6px; height: 0; }
.o-chat__field textarea::-webkit-scrollbar-thumb, .o-chat__rate textarea::-webkit-scrollbar-thumb { background: rgba(216, 173, 95, .4); border-radius: 3px; }
html[data-theme="light"] .o-chat__field input:focus, html[data-theme="light"] .o-chat__field select:focus, html[data-theme="light"] .o-chat__field textarea:focus,
html[data-theme="light"] .o-chat__rate textarea:focus, html[data-theme="light"] .o-chat__row textarea:focus { border-color: #d2a65a; box-shadow: 0 0 0 3px rgba(210, 166, 90, .18); }

/* L2Fade Launcher on "How to start" (components/launcher-download): featured card + Windows SmartScreen note */
.o-launcher {
    margin-top: 20px;
    border: 1px solid rgba(216, 173, 95, .45);
    border-radius: var(--o-radius);
    background: linear-gradient(135deg, rgba(216, 173, 95, .13), rgba(12, 10, 8, .55) 60%);
    box-shadow: 0 18px 40px -24px rgba(216, 173, 95, .55);
    overflow: hidden;
}
.o-launcher__main { display: flex; gap: 18px; padding: 22px 24px; align-items: flex-start; }
.o-launcher__icon {
    flex: 0 0 auto; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 14px;
    color: #1c1406; background: linear-gradient(160deg, #f6dda0, #c8953f);
    box-shadow: 0 0 0 1px rgba(240, 207, 138, .6) inset, 0 8px 22px -8px rgba(216, 173, 95, .9);
}
.o-launcher__body { min-width: 0; flex: 1; }
.o-launcher__badge {
    display: inline-block; margin-bottom: 6px; padding: 2px 10px; border-radius: 999px;
    font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--o-gold-hi); background: rgba(216, 173, 95, .14); border: 1px solid rgba(216, 173, 95, .4);
}
.o-launcher__title { margin: 0 0 6px; font-family: var(--o-display); font-weight: 700; font-size: 22px; color: var(--o-star); }
.o-launcher__text { margin: 0 0 14px; color: var(--o-mist); max-width: 62ch; }
.o-launcher__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.o-launcher__meta { color: var(--o-mist); font-size: 13px; }

.o-launcher__ss {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 18px; align-items: center;
    padding: 16px 24px 20px; border-top: 1px solid rgba(216, 173, 95, .2); background: rgba(12, 10, 8, .35);
}
.o-launcher__ss-text h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 16px; color: var(--o-star); }
.o-launcher__ss-text h4 svg { color: #5fa8ff; flex: 0 0 auto; }
.o-launcher__ss-text p { margin: 0 0 4px; color: var(--o-mist); font-size: 15px; }
.o-launcher__ss-text strong { color: var(--o-star); }

/* a small picture of the SmartScreen window: stays Windows-blue in both themes */
.o-ss { display: grid; gap: 8px; font-family: 'Segoe UI', system-ui, sans-serif; }
.o-ss__win {
    display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 4px;
    background: #0a64b8; color: #fff; font-size: 11.5px; line-height: 1.35; box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .8);
}
.o-ss__win b { font-size: 14px; font-weight: 600; }
.o-ss__win span { opacity: .9; }
.o-ss__win--2 { margin-left: 22px; }
.o-ss__btns { display: flex; justify-content: flex-end; gap: 6px; margin-top: 4px; }
.o-ss__btns em { font-style: normal; padding: 3px 10px; border: 1px solid rgba(255, 255, 255, .7); }
.o-ss__hit { position: relative; align-self: flex-start; font-style: normal; font-weight: 600; outline: 2px solid #ffd27a; outline-offset: 2px; border-radius: 2px; }
.o-ss__btns .o-ss__hit { background: rgba(255, 255, 255, .16); }
.o-ss__hit i {
    position: absolute; top: -9px; right: -11px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%;
    font-style: normal; font-size: 10px; font-weight: 700; color: #1c1406; background: #ffd27a; text-decoration: none;
}
@media (max-width: 760px) {
    .o-launcher__main { flex-direction: column; padding: 18px; }
    .o-launcher__ss { grid-template-columns: 1fr; padding: 14px 18px 18px; }
}
html[data-theme="light"] .o-launcher {
    border-color: rgba(154, 108, 34, .45);
    background: linear-gradient(135deg, rgba(214, 170, 92, .2), #fffdf8 60%);
    box-shadow: 0 16px 34px -22px rgba(120, 84, 25, .55);
}
html[data-theme="light"] .o-launcher__ss { background: rgba(240, 228, 203, .5); border-top-color: rgba(154, 108, 34, .25); }
html[data-theme="light"] .o-launcher__badge { color: #86590f; background: rgba(176, 125, 42, .12); border-color: rgba(154, 108, 34, .4); }
html[data-theme="light"] .o-launcher__ss-text h4 svg { color: #0a64b8; }
.o-launcher, .o-launcher__body { min-width: 0; }
.o-launcher .o-btn { white-space: normal; max-width: 100%; height: auto; text-align: center; }

/* ===================================================================== VOTE (cabinet → Vote, dashboard/vote.blade.php) */
.o-vote-how { margin-bottom: 16px; }
.o-vote-result { padding: 18px 20px; margin-bottom: 16px; display: grid; gap: 12px; border-color: var(--o-line); }
.o-vote-result.is-ok { border-color: rgba(111, 191, 138, .5); box-shadow: 0 0 0 1px rgba(111, 191, 138, .18) inset; }
.o-vote-result__title { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--o-display); font-size: 18px; color: var(--o-gold-hi); }
.o-vote-result__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.o-vote-result__list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 8px 12px; border-radius: var(--o-radius); background: rgba(216, 173, 95, .06); color: var(--o-mist); font-size: 14px; }
.o-vote-result__list li b { color: var(--o-star); min-width: 92px; }
.o-vote-result__list li.is-claimed { background: rgba(111, 191, 138, .1); }
.o-vote-result__list li.is-claimed b { color: #a9e8c0; }
.o-vote-result__list li.is-error { background: rgba(194, 80, 47, .1); }
.o-vote-result__list li.is-bonus b { color: var(--o-gold-hi); }
.o-vote-result .o-btn { justify-self: start; }
.o-vote-got { display: inline-flex; align-items: center; gap: 6px; margin-right: 10px; color: var(--o-star); }
.o-vote-got img { width: 22px; height: 22px; border-radius: 4px; }

.o-vote-bonus { padding: 18px 20px; margin-bottom: 16px; display: grid; gap: 12px; position: relative; overflow: hidden; }
.o-vote-bonus::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 140% at 0% 0%, rgba(216, 173, 95, .12), transparent 55%); }
.o-vote-bonus.is-ready { border-color: var(--o-gold); }
.o-vote-bonus__head { display: flex; align-items: center; gap: 14px; position: relative; }
.o-vote-bonus__ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--o-gold-hi); background: rgba(216, 173, 95, .12); border: 1px solid var(--o-line); }
.o-vote-bonus__head > div { flex: 1; min-width: 0; }
.o-vote-bonus__title { margin: 0; font-family: var(--o-display); font-size: 17px; color: var(--o-gold-hi); }
.o-vote-bonus__sub { margin: 2px 0 0; color: var(--o-mist); font-size: 14px; }
.o-vote-bonus__count { flex: none; font-family: var(--o-display); font-size: 22px; color: var(--o-star); }
.o-vote-bonus__bar { position: relative; height: 8px; border-radius: 4px; background: rgba(216, 173, 95, .12); overflow: hidden; }
.o-vote-bonus__bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, #a87a32, var(--o-gold-hi)); transition: width .4s ease; }
.o-vote-bonus.is-got .o-vote-bonus__bar i { background: linear-gradient(90deg, #4f9a68, #8fd6a8); }

.o-vote-items { display: flex; flex-wrap: wrap; gap: 6px; position: relative; }
.o-vote-item { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 4px 10px 4px 4px; border-radius: 999px; border: 1px solid var(--o-line); background: rgba(216, 173, 95, .06); color: var(--o-mist); font-size: 13px; line-height: 1.2; }
.o-vote-item img { flex: none; width: 24px; height: 24px; border-radius: 50%; }
.o-vote-item b { color: var(--o-gold-hi); font-weight: 700; }

.o-vote-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.o-vote-site { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.o-vote-site__head { display: flex; align-items: center; gap: 10px; }
.o-vote-site__badge { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; font-family: var(--o-display); font-size: 18px; font-weight: 700; color: #1a140c; background: linear-gradient(135deg, var(--o-gold-hi), #a87a32); }
.o-vote-site__name { display: grid; min-width: 0; }
.o-vote-site__name b { color: var(--o-star); font-size: 16px; }
.o-vote-site__name small { color: var(--o-mist); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o-vote-site__note { margin: 0; color: var(--o-mist); font-size: 13px; }
.o-vote-site__state { margin: auto 0 0; display: flex; align-items: center; gap: 6px; color: var(--o-mist); font-size: 13.5px; }
.o-vote-site__state b { color: var(--o-star); font-variant-numeric: tabular-nums; }
.o-vote-site.is-ready .o-vote-site__state { color: #a9e8c0; }
.o-vote-dot { width: 8px; height: 8px; border-radius: 50%; background: #6fbf8a; box-shadow: 0 0 0 3px rgba(111, 191, 138, .2); }
.o-vote-site__go { width: 100%; justify-content: center; gap: 6px; }
.o-vote-site.is-wait { opacity: .86; }

.o-vote-claim { margin-top: 18px; display: grid; justify-items: center; gap: 8px; text-align: center; }
.o-vote-claim__btn { min-width: 280px; gap: 8px; justify-content: center; }
.o-vote-claim__btn[disabled] { opacity: .7; cursor: progress; }
.o-vote-claim__note { margin: 0; color: var(--o-mist); font-size: 13px; }

@media (max-width: 560px) {
    .o-vote-claim__btn { min-width: 0; width: 100%; }
    .o-vote-result__list li b { min-width: 0; }
}

html[data-theme="light"] .o-vote-result.is-ok { border-color: rgba(60, 140, 90, .45); }
html[data-theme="light"] .o-vote-result__list li { background: rgba(176, 125, 42, .07); }
html[data-theme="light"] .o-vote-result__list li.is-claimed { background: rgba(60, 140, 90, .1); }
html[data-theme="light"] .o-vote-result__list li.is-claimed b,
html[data-theme="light"] .o-vote-site.is-ready .o-vote-site__state { color: #2f7a4b; }
html[data-theme="light"] .o-vote-result__list li.is-error { background: rgba(176, 68, 42, .08); }
html[data-theme="light"] .o-vote-item { background: rgba(176, 125, 42, .07); }
html[data-theme="light"] .o-vote-item b { color: #86590f; }
html[data-theme="light"] .o-vote-bonus__bar { background: rgba(176, 125, 42, .14); }
html[data-theme="light"] .o-vote-bonus__ic { background: rgba(176, 125, 42, .1); }
html[data-theme="light"] .o-vote-bonus::before { background: radial-gradient(120% 140% at 0% 0%, rgba(176, 125, 42, .1), transparent 55%); }
html[data-theme="light"] .o-vote-site__badge { color: #fffdf8; background: linear-gradient(135deg, #b8862f, #86590f); }

/* ===================================================================== FOOTER "VOTE FOR US" (components/vote-banners.blade.php) */
.o-footer__vote { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; text-align: center; gap: 12px 18px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--o-line); }
.o-footer__vote-title { font-family: var(--o-display); font-size: 15px; letter-spacing: .04em; color: var(--o-gold-hi); }
.o-footer__vote-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.o-footer__vote-item { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; border-radius: 6px; overflow: hidden; opacity: .88; text-decoration: none; transition: opacity .2s ease, transform .2s ease; }
.o-footer__vote-item:hover { opacity: 1; transform: translateY(-1px); }
.o-footer__vote-item img { display: block; height: 56px; width: auto; }
.o-footer__vote-item span { padding: 0 14px; line-height: 34px; border: 1px solid var(--o-line); border-radius: 6px; color: var(--o-star); font-size: 14px; }
.o-footer__vote-item:hover span { border-color: var(--o-gold); color: var(--o-gold-hi); }

/* Server cards: admins only – hover on the online number shows real players / bots / offline shops (server_status.blade.php) */
.o-server__status--tip { position: relative; cursor: help; outline: 0; }
.o-server__status--tip::after {
    content: attr(data-tip);
    position: absolute; z-index: 45; left: 50%; bottom: calc(100% + 9px);
    width: max-content; max-width: min(260px, 80vw); padding: 8px 11px; border-radius: 7px;
    border: 1px solid rgba(240, 207, 138, .4); background: #15110c; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .9);
    color: #efe4cc; font-family: var(--o-body); font-size: 13.5px; font-weight: 500; line-height: 1.45; letter-spacing: 0; text-transform: none; text-align: left; white-space: pre-line;
    opacity: 0; visibility: hidden; transform: translate(-50%, 4px); transition: opacity .16s, transform .16s, visibility .16s; pointer-events: none;
}
.o-server__status--tip:hover::after, .o-server__status--tip:focus-visible::after { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
[data-theme="light"] .o-server__status--tip::after { background: #fffaf0; color: #3b2f1e; border-color: rgba(176, 125, 42, .4); box-shadow: 0 14px 30px -14px rgba(80, 55, 20, .5); }

/* Server cards: uptime in one thin line - "Uptime 24h [24 hour bars] 100%" (server_status.blade.php) */
.o-uptime { display: flex; align-items: center; gap: 10px; padding-top: 9px; }
.o-uptime__head { display: contents; }
.o-uptime__head > span { order: 0; flex: none; font-size: 12px; white-space: nowrap; }
.o-uptime__bars { order: 1; flex: 1 1 auto; min-width: 0; height: 8px; gap: 2px; }
.o-uptime__pct, .o-uptime__none { order: 2; flex: none; font-size: 12.5px; white-space: nowrap; }
.o-uptime__bar:hover::before { transform: scaleY(1.5); }
/* no "Uptime 24h" label - the bars speak for themselves (the list keeps its aria-label) */
.o-uptime__head > span { display: none; }

/* Server cards: uptime ring - 24 hourly tiles around the emblem on a 24-hour clock face (server_status.blade.php) */
.o-uring { position: absolute; inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); overflow: visible; pointer-events: none; z-index: 2; }
.o-uring__hit { fill: transparent; pointer-events: all; cursor: help; }
.o-uring__seg {
    fill: none; stroke: rgba(181, 166, 136, .22); stroke-width: 5; stroke-linecap: butt;
    pointer-events: stroke; cursor: help;
    transition: stroke-width .18s, filter .18s;
    animation: o-useg .45s ease backwards; animation-delay: calc(.35s + var(--i, 0) * 28ms);
}
.o-uring__seg.is-up { stroke: #4fc985; }
.o-uring__seg.is-partial { stroke: #e3a94e; }
.o-uring__seg.is-down { stroke: #e0584b; }
.o-uring__seg:hover { stroke-width: 8; filter: brightness(1.2); }
.o-uring__seg.is-now { animation: o-useg .45s ease backwards, o-unow 2.2s ease-in-out 1.6s infinite; animation-delay: calc(.35s + var(--i, 0) * 28ms), 1.6s; }
@keyframes o-useg { from { opacity: 0; } to { opacity: 1; } }
@keyframes o-unow { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
html[data-theme="light"] .o-uring__seg { stroke: rgba(120, 90, 40, .18); }
html[data-theme="light"] .o-uring__seg.is-up { stroke: #33a062; }
html[data-theme="light"] .o-uring__seg.is-partial { stroke: #c08228; }
html[data-theme="light"] .o-uring__seg.is-down { stroke: #b3362c; }
@media (prefers-reduced-motion: reduce) { .o-uring__seg, .o-uring__seg.is-now { animation: none !important; } }
/* the site's own L2 cursor (sword, like links) on the uptime ring and the admins' online hover, not the system "help" one */
.o-uring__hit, .o-uring__seg, .o-server__status--tip { cursor: var(--o-cur-link, pointer); }
/* a server that did not run at all in the last 24 h (inactive / not started yet): neutral grey ring, not alarm red */
.o-uring--idle .o-uring__seg, .o-uring--idle .o-uring__seg.is-down { stroke: rgba(181, 166, 136, .22); }
html[data-theme="light"] .o-uring--idle .o-uring__seg, html[data-theme="light"] .o-uring--idle .o-uring__seg.is-down { stroke: rgba(120, 90, 40, .18); }
/* Referrals page: invite event (dashboard/referral.blade.php, App\Services\InviteRewards) */
.o-invite { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--o-line, rgba(181, 166, 136, .18)); }
.o-invite h3 { margin: 0 0 8px; }
.o-invite p { margin: 0 0 8px; line-height: 1.55; }
.o-invite__note { font-size: 14px; opacity: .8; }
.o-invite__stats { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 12px 0 14px; }
.o-invite__table { margin-top: 6px; }

/* ===== News card, light theme: no fade over the picture, it stays clear (2026-11-16) ===== */
html[data-theme="light"] .o-news-card__media::after { content: none; }

/* ==========================================================================
   Polls ("Balsavimai", 2026-11-17): home page block between the servers and the news,
   /polls page. Views: components/polls-home, components/poll-card, pages/polls. JS: js/orion-polls.js
   ========================================================================== */
.o-polls__grid { display: grid; gap: 20px; }
.o-polls__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.o-polls__sub { font-family: var(--o-display); font-size: 20px; color: var(--o-gold-hi); margin: 8px 0 14px; }
.o-polls__grid + .o-polls__sub { margin-top: 34px; }
@media (max-width: 820px) { .o-polls__grid--2 { grid-template-columns: 1fr; } }

.o-poll {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px 24px 20px;
    background:
        radial-gradient(520px 180px at 100% 0%, rgba(216, 173, 95, .10), transparent 70%),
        linear-gradient(180deg, rgba(33, 26, 18, .86), rgba(23, 18, 13, .95));
    border: 1px solid var(--o-line);
    border-radius: var(--o-radius);
    overflow: hidden;
    animation: o-rise .8s cubic-bezier(.2, .7, .2, 1) backwards;
    transition: border-color .35s, box-shadow .45s;
}
.o-poll::before {                     /* thin gold line on top */
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(240, 207, 138, .75), transparent);
    opacity: .7;
}
.o-poll:hover { border-color: rgba(216, 173, 95, .45); box-shadow: 0 26px 50px -28px rgba(0, 0, 0, .9), 0 0 36px -18px rgba(216, 173, 95, .3); }
.o-poll.is-busy { pointer-events: none; }
.o-poll.is-busy .o-poll__opts { opacity: .6; transition: opacity .2s; }

.o-poll__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13px; color: var(--o-mist); }
.o-poll__head .o-btn__ic, .o-poll__foot .o-btn__ic { flex: none; }
.o-poll__status, .o-poll__srv, .o-poll__time { display: inline-flex; align-items: center; gap: 6px; }
.o-poll__status {
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: 11.5px;
    color: var(--o-gold-hi);
    background: rgba(216, 173, 95, .14);
    border: 1px solid rgba(216, 173, 95, .3);
}
.o-poll__status--open::before {       /* live dot */
    content: '';
    width: 7px; height: 7px; border-radius: 50%;
    background: #7fd38a;
    box-shadow: 0 0 0 0 rgba(127, 211, 138, .6);
    animation: o-poll-live 2s infinite;
}
.o-poll__status--open .o-btn__ic { display: none; }
.o-poll__status--ended, .o-poll__status--off { color: var(--o-mist); background: rgba(181, 166, 136, .1); border-color: rgba(181, 166, 136, .25); }
@keyframes o-poll-live { 0% { box-shadow: 0 0 0 0 rgba(127, 211, 138, .55); } 70% { box-shadow: 0 0 0 7px rgba(127, 211, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 211, 138, 0); } }

.o-poll__q { margin: 2px 0 0; font-family: var(--o-display); font-weight: 700; font-size: 21px; line-height: 1.3; color: var(--o-star); }
.o-poll__desc { margin: -4px 0 0; color: var(--o-mist); font-size: 15px; line-height: 1.5; }
.o-poll__hint { margin: 0; font-size: 13px; color: var(--o-gold); font-weight: 700; letter-spacing: .02em; }

.o-poll__opts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.o-poll__opt {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    text-align: left;
    font: inherit;
    font-size: 16px;
    color: var(--o-star);
    background: rgba(12, 10, 8, .35);
    border: 1px solid var(--o-line);
    border-radius: var(--o-radius);
    overflow: hidden;
    isolation: isolate;
}
button.o-poll__opt { cursor: pointer; transition: border-color .2s, background .2s, transform .15s, box-shadow .25s; }
button.o-poll__opt:hover { border-color: rgba(216, 173, 95, .6); background: rgba(216, 173, 95, .07); }
button.o-poll__opt:active { transform: scale(.995); }
button.o-poll__opt[aria-pressed="true"] {
    border-color: var(--o-gold);
    background: rgba(216, 173, 95, .13);
    box-shadow: 0 0 0 1px rgba(216, 173, 95, .35), 0 0 22px -8px rgba(216, 173, 95, .55);
}
.o-poll__mark {                       /* radio / checkbox */
    flex: none;
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(216, 173, 95, .55);
    display: grid;
    place-items: center;
    transition: border-color .2s, background .2s;
}
.o-poll__mark.is-multi { border-radius: 5px; }
.o-poll__mark::after {
    content: '';
    width: 10px; height: 10px;
    border-radius: inherit;
    background: var(--o-gold-hi);
    transform: scale(0);
    transition: transform .2s cubic-bezier(.3, 1.6, .5, 1);
}
.o-poll__mark.is-multi::after { width: 11px; height: 6px; background: none; border: solid var(--o-ink); border-width: 0 0 2.5px 2.5px; border-radius: 0; transform: rotate(-45deg) scale(0); margin-top: -3px; }
[aria-pressed="true"] > .o-poll__mark { border-color: var(--o-gold-hi); }
[aria-pressed="true"] > .o-poll__mark::after { transform: scale(1); }
[aria-pressed="true"] > .o-poll__mark.is-multi { background: var(--o-gold-hi); }
[aria-pressed="true"] > .o-poll__mark.is-multi::after { transform: rotate(-45deg) scale(1); }
.o-poll__label { flex: 1; min-width: 0; line-height: 1.35; }

/* results */
.o-poll__opt.is-static { cursor: default; }
.o-poll:not(.is-results) .o-poll__opt.is-static .o-poll__mark { opacity: .45; }
.o-poll.is-results .o-poll__opt .o-poll__mark { display: none; }
.o-poll__bar {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--pct, 0%);
    z-index: -1;
    background: linear-gradient(90deg, rgba(216, 173, 95, .16), rgba(216, 173, 95, .28));
    border-right: 1px solid rgba(240, 207, 138, .35);
    animation: o-poll-grow 1.1s cubic-bezier(.2, .7, .2, 1) var(--d, 0s) backwards;
}
.o-poll__opt.is-lead .o-poll__bar { background: linear-gradient(90deg, rgba(216, 173, 95, .26), rgba(240, 207, 138, .45)); }
.o-poll__opt.is-mine { border-color: rgba(216, 173, 95, .7); }
.o-poll__pct { flex: none; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--o-gold-hi); min-width: 3.2em; text-align: right; }
.o-poll__opt.is-lead .o-poll__label { font-weight: 700; }
.o-poll__you {
    display: inline-block;
    margin-left: 8px;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    vertical-align: 2px;
    color: var(--o-ink);
    background: var(--o-gold-hi);
}
@keyframes o-poll-grow { from { width: 0; } }

.o-poll__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin-top: 4px; }
.o-poll__count { display: inline-flex; align-items: center; gap: 6px; color: var(--o-mist); font-size: 14px; }
.o-poll__send { min-width: 140px; justify-content: center; }
.o-poll__send:disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.4); }
.o-poll__note { font-size: 14px; color: var(--o-mist); }
.o-poll__note.is-ok { color: #8fd49a; font-weight: 700; }
.o-poll__note.is-ok::before { content: '✓ '; }
.o-poll__flash { font-size: 14px; padding: 8px 12px; border-radius: var(--o-radius); animation: o-rise .4s ease backwards; }
.o-poll__flash.is-ok { display: none; }   /* the card itself shows "your vote is counted" */
.o-poll__flash.is-err { color: #ffb4a0; background: rgba(194, 80, 47, .14); border: 1px solid rgba(194, 80, 47, .35); }

@media (max-width: 560px) {
    .o-poll { padding: 18px 16px 16px; }
    .o-poll__q { font-size: 19px; }
    .o-poll__send { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .o-poll, .o-poll__bar, .o-poll__status--open::before { animation: none !important; }
}

/* light theme */
html[data-theme="light"] .o-poll {
    background: radial-gradient(520px 180px at 100% 0%, rgba(216, 173, 95, .16), transparent 70%), linear-gradient(180deg, #fffaf1, #f8efdd);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 14px 32px -20px rgba(90, 60, 20, .45);
}
html[data-theme="light"] .o-poll:hover { box-shadow: 0 22px 44px -22px rgba(90, 60, 20, .55), 0 0 0 1px rgba(176, 125, 42, .25); }
html[data-theme="light"] .o-poll__opt { background: rgba(255, 255, 255, .55); }
html[data-theme="light"] button.o-poll__opt:hover { background: rgba(216, 173, 95, .12); }
html[data-theme="light"] button.o-poll__opt[aria-pressed="true"] { background: rgba(216, 173, 95, .2); }
html[data-theme="light"] .o-poll__bar { background: linear-gradient(90deg, rgba(216, 173, 95, .22), rgba(216, 173, 95, .38)); border-right-color: rgba(154, 108, 34, .35); }
html[data-theme="light"] .o-poll__opt.is-lead .o-poll__bar { background: linear-gradient(90deg, rgba(216, 173, 95, .32), rgba(214, 160, 60, .55)); }
html[data-theme="light"] .o-poll__you { color: #fffaf1; background: var(--o-gold); }
html[data-theme="light"] .o-poll__mark.is-multi::after { border-color: #fffaf1; }
html[data-theme="light"] .o-poll__note.is-ok { color: #2f7a3c; }
html[data-theme="light"] .o-poll__flash.is-err { color: #9a3418; }
html[data-theme="light"] .o-poll__status--open::before { background: #3f9a4f; }
/* one poll on the home page: full width, answers in two columns on wide screens */
.o-polls__grid--1 { max-width: none; }
@media (min-width: 900px) {
    .o-polls__grid--1 .o-poll__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   GALLERY ALBUMS (2026-11-17): /gallery album cards, /gallery/<slug> album page
   (views/pages/gallery.blade.php, gallery-album.blade.php, gallery-photos.blade.php; lightbox js/orion-ui.js)
   ========================================================================== */
.o-gallery__admin { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; }
.o-gallery__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 12px 0 0; color: var(--o-mist); font-size: 15px; }
.o-gallery__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.o-gallery__meta .o-gallery__admin { margin: 0 0 0 auto; }
.o-gallery__item.is-hidden img { filter: grayscale(.9) brightness(.6); }
.o-gallery__more { display: flex; justify-content: center; margin-top: 26px; }
.o-gallery__more .o-btn.is-loading { opacity: .6; pointer-events: none; }
.o-gallery__others-title { font-family: var(--o-display); color: var(--o-gold-hi); font-size: 22px; margin: 48px 0 16px; }

.o-albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px 24px; }
.o-albums--small { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.o-album {
    display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 14px; color: inherit; text-decoration: none;
    animation: o-rise .7s cubic-bezier(.2, .7, .2, 1) var(--o-delay, 0s) backwards;
}
/* the cover with two more "photos" behind it (a small stack that fans out on hover) */
.o-album__stack { position: relative; display: block; align-self: start; aspect-ratio: 16 / 10; margin: 8px 8px 0; min-width: 0; }
.o-album__stack::before, .o-album__stack::after {
    content: ''; position: absolute; inset: 0; border-radius: var(--o-radius);
    border: 1px solid var(--o-line); background: var(--o-dusk);
    box-shadow: 0 12px 26px -20px rgba(0, 0, 0, .9);
    transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.o-album__stack::before { transform: rotate(-3.5deg) translate(-4px, 2px); opacity: .7; }
.o-album__stack::after { transform: rotate(2.5deg) translate(4px, -2px); opacity: .85; }
.o-album__cover {
    position: absolute; inset: 0; z-index: 1; overflow: hidden; display: block;
    border-radius: var(--o-radius); border: 1px solid var(--o-line); background: var(--o-dusk);
    box-shadow: 0 18px 34px -22px rgba(0, 0, 0, .9);
    transition: transform .5s cubic-bezier(.2, .7, .2, 1), border-color .3s;
}
.o-album__cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s cubic-bezier(.2, .7, .2, 1), filter .4s; }
.o-album__cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 10, 8, .55), transparent 45%); }
.o-album__count {
    position: absolute; z-index: 2; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px;
    height: 28px; padding: 0 10px; border-radius: 99px; font-size: 13px; font-weight: 700; color: #1c1406;
    background: linear-gradient(180deg, #f0cf8a, #d8ad5f); box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .7);
}
.o-album__body { display: grid; gap: 6px; padding: 0 8px; }
.o-album__title { font-family: var(--o-display); font-size: 20px; line-height: 1.25; color: var(--o-gold-hi); transition: color .25s; }
.o-albums--small .o-album__title { font-size: 17px; }
.o-album__desc { color: var(--o-mist); font-size: 15px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.o-album__meta { display: flex; align-items: center; gap: 10px; color: var(--o-mist); font-size: 14px; }
.o-album__all { padding: 2px 8px; border-radius: 99px; border: 1px solid var(--o-line); font-size: 12px; }
.o-album__go { margin-left: auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--o-line); color: var(--o-gold); transition: transform .3s, background-color .3s, color .3s, border-color .3s; }
.o-album:hover .o-album__stack::before, .o-album:focus-visible .o-album__stack::before { transform: rotate(-7deg) translate(-12px, 4px); }
.o-album:hover .o-album__stack::after, .o-album:focus-visible .o-album__stack::after { transform: rotate(6deg) translate(12px, -4px); }
.o-album:hover .o-album__cover, .o-album:focus-visible .o-album__cover { transform: translateY(-4px); border-color: rgba(240, 207, 138, .55); }
.o-album:hover .o-album__cover img, .o-album:focus-visible .o-album__cover img { transform: scale(1.06); }
.o-album:hover .o-album__go, .o-album:focus-visible .o-album__go { transform: translateX(3px); background: linear-gradient(180deg, #f0cf8a, #d8ad5f); color: #1c1406; border-color: transparent; }
.o-album:focus-visible { outline: none; }
.o-album:focus-visible .o-album__cover { outline: 2px solid var(--o-gold-hi); outline-offset: 3px; }
@media (max-width: 640px) {
    .o-albums { grid-template-columns: 1fr; }
    .o-albums--small { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .o-gallery__meta .o-gallery__admin { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .o-album, .o-album__stack::before, .o-album__stack::after, .o-album__cover, .o-album__cover img { animation: none; transition: none; }
}
html[data-theme="light"] .o-album__stack::before,
html[data-theme="light"] .o-album__stack::after { background: #efe3c9; box-shadow: 0 12px 26px -20px rgba(90, 60, 20, .5); }
html[data-theme="light"] .o-album__cover { background: #efe3c9; box-shadow: 0 18px 34px -22px rgba(90, 60, 20, .6); }
html[data-theme="light"] .o-album:hover .o-album__cover { border-color: rgba(154, 108, 34, .6); }
html[data-theme="light"] .o-album__count { color: #fff8e6; background: linear-gradient(180deg, #b98a3a, #8c6221); }
html[data-theme="light"] .o-album:hover .o-album__go { color: #fff8e6; background: linear-gradient(180deg, #b98a3a, #8c6221); }
html[data-theme="light"] .o-gallery__others-title { color: var(--o-gold); }
/* lightbox: link to the photo copied */
.o-lightbox__share { top: 16px; right: 76px; }
.o-lightbox__share.is-done { border-color: #4ade80; color: #4ade80; }

/* ==========================================================================
   ABOUT: "the information can change / suggest an idea" (views/pages/about.blade.php, 2026-11-17)
   ========================================================================== */
.o-about-ideas {
    display: flex; align-items: center; gap: 16px 18px; flex-wrap: wrap;
    margin-top: 28px; padding: 18px 22px; border-radius: var(--o-radius);
    border: 1px solid var(--o-line); background: linear-gradient(135deg, rgba(216, 173, 95, .10), rgba(216, 173, 95, .03));
}
.o-about-ideas > svg { flex: none; color: var(--o-gold); }
.o-about-ideas > div { flex: 1 1 320px; }
.o-about-ideas strong { display: block; font-family: var(--o-display); color: var(--o-gold-hi); font-size: 18px; margin-bottom: 4px; }
.o-about-ideas p { margin: 0; color: var(--o-mist); line-height: 1.55; }
.o-about-ideas .o-btn { flex: none; }
html[data-theme="light"] .o-about-ideas { background: linear-gradient(135deg, rgba(154, 108, 34, .10), rgba(154, 108, 34, .03)); }
html[data-theme="light"] .o-about-ideas strong { color: var(--o-gold); }

/* ==========================================================================
   RATE TILE ICONS (2026-11-17): own line icons instead of img/about/*.png
   (views/components/rate-icon.blade.php, used on the About pages)
   ========================================================================== */
.o-rate { grid-template-columns: auto 1fr; }
.o-rate__ic {
    grid-row: 1 / 3;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 12px;
    color: var(--ic, #e2b45f);
    background: radial-gradient(120% 120% at 25% 15%, color-mix(in srgb, var(--ic) 30%, transparent), color-mix(in srgb, var(--ic) 6%, transparent) 70%);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ic) 38%, transparent), 0 6px 14px -8px color-mix(in srgb, var(--ic) 70%, transparent);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}
.o-rate__ic svg { width: 24px; height: 24px; filter: drop-shadow(0 0 5px color-mix(in srgb, var(--ic) 45%, transparent)); }
.o-rate__ic .f { fill: currentColor; fill-opacity: .22; stroke: none; }
.o-rate:hover .o-rate__ic { transform: rotate(-6deg) scale(1.07); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ic) 60%, transparent), 0 8px 18px -8px color-mix(in srgb, var(--ic) 90%, transparent); }
html[data-theme="light"] .o-rate__ic {
    color: color-mix(in srgb, var(--ic) 58%, #3a2608);
    background: radial-gradient(120% 120% at 25% 15%, color-mix(in srgb, var(--ic) 32%, #fffaf0), color-mix(in srgb, var(--ic) 12%, #fffaf0) 75%);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ic) 45%, transparent), 0 6px 14px -9px rgba(90, 60, 20, .45);
}
html[data-theme="light"] .o-rate__ic svg { filter: none; }
@media (prefers-reduced-motion: reduce) { .o-rate__ic { transition: none; } }

/* ==========================================================================
   UPDATE MARKS — "what's new" (js/orion-ui.js "UPDATE MARKS", App\Services\UpdateMarks)
   A gold counter / mark instead of the usual red dot: gold on the dark theme, deep bronze on the
   light one. --o-mark-bg / --o-mark-ink / --o-mark-glow are the colours of both themes.
   ========================================================================== */
:root {
    --o-mark-bg: linear-gradient(180deg, #f6dc9c, #d8ad5f);
    --o-mark-ink: #1c1406;
    --o-mark-glow: rgba(240, 207, 138, .55);
    --o-mark-ring: rgba(12, 10, 8, .9);
}
html[data-theme="light"] {
    --o-mark-bg: linear-gradient(180deg, #b07d2a, #80571a);
    --o-mark-ink: #fff8e8;
    --o-mark-glow: rgba(154, 108, 34, .45);
    --o-mark-ring: rgba(251, 246, 234, .95);
}
.o-mark {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
    font-style: normal; color: var(--o-mark-ink); background: var(--o-mark-bg);
    box-shadow: 0 0 0 2px var(--o-mark-ring), 0 0 10px var(--o-mark-glow);
    pointer-events: none;
}
.o-mark--count {
    min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px;
    font: 800 11px/1 var(--o-body); letter-spacing: 0; text-shadow: none;
    -webkit-text-fill-color: currentColor;          /* the menu text is gradient-filled: not the number */
}
.o-mark--dot { width: 8px; height: 8px; border-radius: 50%; position: relative; }
.o-mark--dot::after {                               /* soft breathing ring */
    content: ''; position: absolute; inset: -4px; border-radius: 50%;
    border: 1.5px solid var(--o-mark-glow); animation: o-mark-pulse 2.4s ease-out infinite;
}
@keyframes o-mark-pulse { 0% { transform: scale(.5); opacity: 1; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .o-mark--dot::after { animation: none; opacity: .5; } }

/* menu: a raised counter / mark right after the label */
.o-nav > ul a .o-mark { align-self: flex-start; margin: -3px 0 0 -4px; }
.o-nav > ul a .o-mark--dot { margin: 2px 0 0 -3px; }
/* phone menu (burger): a mark on the burger when something inside is new */
.o-header .gw-burger.has-mark::after {
    content: ''; position: absolute; top: 6px; right: 2px; width: 9px; height: 9px; border-radius: 50%;
    background: var(--o-mark-bg); box-shadow: 0 0 0 2px var(--o-mark-ring), 0 0 10px var(--o-mark-glow);
}
.o-header .gw-burger.gw-burger_active.has-mark::after { display: none; }

/* "New" label on news cards and albums */
.o-new-tag {
    display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 10px 0 9px;
    border-radius: 99px; font: 700 12px/1 var(--o-body); letter-spacing: .04em; text-transform: uppercase;
    color: var(--o-gold-hi); background: rgba(216, 173, 95, .12); border: 1px solid rgba(216, 173, 95, .45);
}
.o-new-tag .o-mark--dot { width: 6px; height: 6px; box-shadow: 0 0 6px var(--o-mark-glow); }
.o-new-tag .o-mark--dot::after { inset: -3px; }
html[data-theme="light"] .o-new-tag { color: #80571a; background: rgba(176, 125, 42, .1); border-color: rgba(154, 108, 34, .4); }
.o-news-card.is-new { border-color: rgba(216, 173, 95, .5); }
html[data-theme="light"] .o-news-card.is-new { border-color: rgba(154, 108, 34, .45); }

.o-new-tag--album {
    position: absolute; z-index: 3; left: 10px; top: 10px; height: 26px; text-transform: none; letter-spacing: 0;
    color: var(--o-mark-ink); background: var(--o-mark-bg); border: 0;
    box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .7), 0 0 12px var(--o-mark-glow);
}
.o-new-tag--album .o-mark--dot { background: var(--o-mark-ink); box-shadow: none; }
.o-new-tag--album .o-mark--dot::after { border-color: currentColor; }

/* new photo in an album: a small mark in the corner */
.o-gallery__item.is-new::after {
    content: ''; position: absolute; z-index: 3; top: 9px; left: 9px; width: 9px; height: 9px; border-radius: 50%;
    background: var(--o-mark-bg); box-shadow: 0 0 0 2px var(--o-mark-ring), 0 0 10px var(--o-mark-glow);
}

/* About: mark on an updated tab (until opened) + "Updated <date>" line on top of its text */
.o-guide__tab .o-mark--dot { margin-left: auto; }
.o-mark-note {
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: -4px 0 18px;
    padding: 9px 14px; border-radius: 8px; font-size: 15px; line-height: 1.4;
    background: rgba(216, 173, 95, .08); border: 1px solid rgba(216, 173, 95, .3); color: var(--o-mist);
}
.o-mark-note strong { color: var(--o-gold-hi); font-weight: 700; }
.o-mark-note .o-mark--dot { width: 7px; height: 7px; }
html[data-theme="light"] .o-mark-note { background: rgba(176, 125, 42, .08); border-color: rgba(154, 108, 34, .3); }

/* ==========================================================================
   PROFILE PICTURE (2026-11-19): the round picture instead of the first letter
   (top bar account chip, cabinet side menu, live chat) and the editor
   (views/components/avatar-editor.blade.php, js/orion-avatar.js, App\Services\Avatar)
   ========================================================================== */
.o-account__avatar, .o-side__avatar, .o-chat__ava { position: relative; overflow: hidden; }
.o-ava__img {
    position: absolute; inset: 0;
    width: 100% !important; height: 100% !important; max-width: none !important;
    object-fit: cover; border-radius: 50%; display: block;
}
.o-account__avatar.has-img, .o-side__avatar.has-img { background: #0c0a08; text-shadow: none; }

/* cabinet side menu: bigger picture, a click opens the editor */
.o-side__user { gap: 14px; }
.o-side__ava-wrap { position: relative; flex: none; display: block; }
.o-side__avatar { width: 64px; height: 64px; font-size: 26px; }
button.o-side__avatar {
    border: 0; padding: 0; margin: 0; appearance: none; -webkit-appearance: none;
    cursor: var(--o-cur-link, pointer);
    transition: box-shadow .2s, transform .25s cubic-bezier(.2, .8, .2, 1);
}
button.o-side__avatar:hover { box-shadow: 0 0 0 3px rgba(240, 207, 138, .4), 0 8px 18px -8px rgba(216, 173, 95, .9); }
button.o-side__avatar:focus-visible { outline: 2px solid var(--o-gold-hi); outline-offset: 3px; }
button.o-side__avatar.is-drop { transform: scale(1.06); box-shadow: 0 0 0 3px var(--o-gold-hi); }
.o-ava__hover {
    position: absolute; inset: 0; z-index: 1; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(12, 10, 8, .55); color: #fff3d6;
    opacity: 0; transition: opacity .2s;
}
button.o-side__avatar:hover .o-ava__hover, button.o-side__avatar:focus-visible .o-ava__hover, button.o-side__avatar.is-drop .o-ava__hover { opacity: 1; }
.o-side__ava-badge {
    position: absolute; right: -3px; bottom: -3px; z-index: 2;
    width: 24px; height: 24px; border-radius: 50%;
    display: grid; place-items: center; pointer-events: none;
    color: #1c1406;
    background: linear-gradient(180deg, #f6dc9c, #d8ad5f);
    box-shadow: 0 0 0 2px var(--o-dusk), 0 3px 8px -2px rgba(0, 0, 0, .6);
}
.o-side__ava-link {
    justify-self: start; margin-top: 3px; padding: 0; border: 0; background: none;
    font: 600 12.5px/1.3 var(--o-body); color: var(--o-gold);
    cursor: var(--o-cur-link, pointer); text-align: left;
}
.o-side__ava-link:hover, .o-side__ava-link:focus-visible { color: var(--o-gold-hi); text-decoration: underline; outline: none; }

/* live chat: the operator's picture in the header and at his name */
.o-chat__ava.has-img { background: #0c0a08; }
.o-chat__name { display: inline-flex; align-items: center; gap: 6px; }
.o-chat__nava { flex: none; width: 18px; height: 18px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--o-line); }

/* the editor */
html.o-avaed-open { overflow: hidden; }
.o-avaed { position: fixed; inset: 0; z-index: 10050; display: grid; place-items: center; padding: 16px; }
.o-avaed[hidden] { display: none; }
.o-avaed__scrim { position: absolute; inset: 0; background: rgba(6, 5, 3, .68); backdrop-filter: blur(3px); opacity: 0; transition: opacity .18s; }
.o-avaed__box {
    position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow: auto;
    background: var(--o-dusk); color: var(--o-star);
    border: 1px solid var(--o-line); border-radius: 14px;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
    opacity: 0; transform: translateY(10px) scale(.98);
    transition: opacity .18s, transform .22s cubic-bezier(.2, .8, .2, 1);
}
.o-avaed.is-in .o-avaed__scrim { opacity: 1; }
.o-avaed.is-in .o-avaed__box { opacity: 1; transform: none; }
.o-avaed__head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 8px 20px; }
.o-avaed__head h2 { flex: 1; margin: 0; font: 700 18px/1.3 var(--o-display); letter-spacing: .03em; color: var(--o-gold-hi); }
.o-avaed__x {
    flex: none; width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: var(--o-mist);
    display: grid; place-items: center; cursor: var(--o-cur-link, pointer); transition: background-color .2s, color .2s;
}
.o-avaed__x:hover, .o-avaed__x:focus-visible { background: rgba(216, 173, 95, .12); color: var(--o-star); outline: none; }
.o-avaed__body { padding: 4px 20px 4px; }

.o-avaed__drop {
    display: grid; justify-items: center; gap: 5px; padding: 32px 16px 28px; margin: 0;
    border: 2px dashed var(--o-line); border-radius: 12px; text-align: center;
    cursor: var(--o-cur-link, pointer); transition: border-color .2s, background-color .2s;
}
.o-avaed__drop:hover, .o-avaed__drop:focus-visible, .o-avaed.is-over .o-avaed__drop { border-color: var(--o-gold); background: rgba(216, 173, 95, .07); outline: none; }
.o-avaed__drop-ic {
    width: 64px; height: 64px; margin-bottom: 8px; border-radius: 50%; display: grid; place-items: center; color: #1c1406;
    background: radial-gradient(circle at 35% 30%, #fff1c4, #e9bf5e 55%, #a9781f);
    box-shadow: 0 0 0 3px rgba(240, 207, 138, .18), 0 8px 18px -8px rgba(216, 173, 95, .8);
}
.o-avaed__drop b { font-size: 16px; color: var(--o-star); }
.o-avaed__drop small { font-size: 13px; color: var(--o-mist); }
.o-avaed__drop .o-avaed__types { font-size: 12px; opacity: .8; }

.o-avaed__stage {
    position: relative; width: 100%; max-width: 360px; aspect-ratio: 1 / 1; margin: 0 auto;
    overflow: hidden; border-radius: 10px; background: #0c0a08;
    touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; outline: none;
}
.o-avaed.is-over .o-avaed__stage { box-shadow: 0 0 0 2px var(--o-gold); }
.o-avaed__stage.is-drag { cursor: grabbing; }
.o-avaed__stage:focus-visible { box-shadow: 0 0 0 2px var(--o-gold); }
.o-avaed__img {
    position: absolute; left: 0; top: 0; max-width: none !important; max-height: none !important;
    transform-origin: 0 0; pointer-events: none; will-change: transform;
}
.o-avaed__ring {
    position: absolute; box-sizing: border-box; border-radius: 50%; pointer-events: none;
    border: 2px solid rgba(255, 244, 214, .92);
    box-shadow: 0 0 0 9999px rgba(8, 6, 4, .62);
}
.o-avaed__spin {
    position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px;
    border: 3px solid rgba(240, 207, 138, .25); border-top-color: var(--o-gold); border-radius: 50%;
    animation: o-avaed-spin .8s linear infinite; display: none;
}
.o-avaed__stage.is-loading .o-avaed__spin { display: block; }
.o-avaed__stage.is-loading .o-avaed__img { opacity: 0; }
@keyframes o-avaed-spin { to { transform: rotate(360deg); } }

.o-avaed__zoom { display: flex; align-items: center; gap: 10px; max-width: 360px; margin: 12px auto 0; }
.o-avaed__zbtn {
    flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--o-line); background: transparent;
    color: var(--o-star); display: grid; place-items: center; cursor: var(--o-cur-link, pointer); transition: border-color .2s, color .2s;
}
.o-avaed__zbtn:hover, .o-avaed__zbtn:focus-visible { border-color: var(--o-gold); color: var(--o-gold-hi); outline: none; }
.o-avaed__range { flex: 1; min-width: 0; accent-color: var(--o-gold); cursor: var(--o-cur-link, pointer); }
.o-avaed__range:disabled { opacity: .4; }
.o-avaed__pvrow { display: flex; align-items: center; gap: 12px; max-width: 360px; margin: 12px auto 0; }
.o-avaed__pv { flex: none; border-radius: 50%; background-color: #0c0a08; background-repeat: no-repeat; box-shadow: 0 0 0 2px rgba(240, 207, 138, .3); }
.o-avaed__pv--lg { width: 56px; height: 56px; }
.o-avaed__pv--sm { width: 30px; height: 30px; }
.o-avaed__pvrow small { font-size: 12.5px; line-height: 1.35; color: var(--o-mist); }

.o-avaed__note {
    display: flex; align-items: flex-start; gap: 9px; margin: 14px 0 0; padding: 10px 12px;
    border: 1px solid var(--o-line); border-radius: 10px; background: rgba(216, 173, 95, .06);
    font-size: 13px; line-height: 1.45; color: var(--o-mist);
}
.o-avaed__note svg { flex: none; margin-top: 1px; color: var(--o-gold); }
.o-avaed__note b { color: var(--o-star); font-weight: 600; }
.o-avaed__bar { height: 4px; margin-top: 12px; overflow: hidden; border-radius: 4px; background: rgba(216, 173, 95, .15); }
.o-avaed__bar[hidden] { display: none; }
.o-avaed__bar span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #e7c27a, var(--o-gold)); transition: width .2s; }
.o-avaed__err { margin: 10px 0 0; font-size: 13.5px; color: #ff9c8f; }
.o-avaed__err[hidden] { display: none; }

.o-avaed__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 20px 18px; }
.o-avaed__sp { flex: 1; }
.o-avaed__remove {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 2px; border: 0; background: none;
    font: 600 13.5px var(--o-body); color: #e58b7d; cursor: var(--o-cur-link, pointer);
}
.o-avaed__remove:hover, .o-avaed__remove:focus-visible { color: #ff9c8f; text-decoration: underline; outline: none; }
.o-avaed__remove[hidden], .o-avaed__foot .o-btn[hidden] { display: none; }
.o-avaed.is-busy .o-avaed__foot button, .o-avaed.is-busy .o-avaed__stage, .o-avaed.is-busy .o-avaed__zoom { pointer-events: none; opacity: .6; }

.o-avaed-toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 10060; padding: 10px 18px; border-radius: 999px;
    background: var(--o-dusk); color: var(--o-star); border: 1px solid var(--o-line);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .7); font-size: 14px; font-weight: 600;
    opacity: 0; transform: translate(-50%, 16px); transition: opacity .25s, transform .25s; pointer-events: none;
}
.o-avaed-toast.is-in { opacity: 1; transform: translate(-50%, 0); }

html[data-theme="light"] .o-avaed__scrim { background: rgba(46, 37, 24, .45); }
html[data-theme="light"] .o-avaed__box { box-shadow: 0 30px 80px -24px rgba(60, 40, 10, .45); }
html[data-theme="light"] .o-avaed__err, html[data-theme="light"] .o-avaed__remove { color: #b3362c; }
html[data-theme="light"] .o-avaed__remove:hover { color: #8f2a22; }
html[data-theme="light"] .o-avaed__note { background: rgba(176, 125, 42, .07); }
html[data-theme="light"] .o-side__ava-badge { box-shadow: 0 0 0 2px var(--o-dusk), 0 3px 8px -2px rgba(60, 40, 10, .45); }
html[data-theme="light"] .o-avaed-toast { box-shadow: 0 12px 30px -10px rgba(60, 40, 10, .4); }

@media (max-width: 480px) {
    .o-avaed { padding: 8px; }
    .o-avaed__body { padding: 4px 14px; }
    .o-avaed__foot { padding: 12px 14px 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .o-avaed__box, .o-avaed__scrim, .o-avaed-toast { transition: none; }
}

/* ==========================================================================
   REACTIONS (2026-11-19): like / dislike + share of news, like / dislike of gallery photos,
   the team's "who clicked" window (views/components/reactions.blade.php, js/orion-react.js)
   ========================================================================== */
.o-rx { position: relative; z-index: 2; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.o-rx__pill {
    display: inline-flex; align-items: stretch; height: 40px; overflow: hidden;
    border: 1px solid var(--o-line); border-radius: 999px;
    background: rgba(216, 173, 95, .06);
    transition: border-color .2s, box-shadow .2s;
}
.o-rx__pill:hover { border-color: rgba(216, 173, 95, .45); }
.o-rx__btn, .o-rx__n--adm, .o-rx__share {
    margin: 0; border: 0; appearance: none; -webkit-appearance: none; background: transparent;
    font: 700 14px/1 var(--o-body); cursor: var(--o-cur-link, pointer);
}
.o-rx__btn {
    display: inline-flex; align-items: center; gap: 7px; padding: 0 14px;
    color: var(--o-mist); transition: background-color .2s, color .2s;
}
.o-rx__btn:hover, .o-rx__btn:focus-visible { background: rgba(216, 173, 95, .1); color: var(--o-star); outline: none; }
.o-rx__btn:focus-visible { box-shadow: inset 0 0 0 2px rgba(240, 207, 138, .5); }
.o-rx__ic { flex: none; display: block; overflow: visible; transition: transform .2s; }
.o-rx__btn--up:hover .o-rx__ic { transform: rotate(-8deg); }
.o-rx__btn--down:hover .o-rx__ic { transform: rotate(8deg); }
.o-rx__btn--up.is-on { color: var(--o-gold-hi); }
.o-rx__btn--down.is-on { color: #ef8f80; }
.o-rx__btn.is-on .o-rx__ic path:last-child { fill: currentColor; fill-opacity: .28; }
.o-rx__btn.is-pop .o-rx__ic { animation: o-rx-pop .5s cubic-bezier(.2, .8, .2, 1); }
.o-rx__btn--down.is-pop .o-rx__ic { animation-name: o-rx-pop-down; }
.o-rx__sep { flex: none; align-self: center; width: 1px; height: 22px; background: var(--o-line); }
.o-rx__n { display: inline-block; min-width: 1ch; font-variant-numeric: tabular-nums; }
.o-rx__n.is-bump { animation: o-rx-bump .35s ease; }
/* full admins: the number is its own button (who clicked) */
.o-rx__n--adm {
    display: inline-flex; align-items: center; padding: 0 13px 0 2px; color: var(--o-star);
    text-decoration: underline dotted rgba(216, 173, 95, .7); text-underline-offset: 4px;
    transition: color .2s, background-color .2s;
}
.o-rx__n--adm:hover, .o-rx__n--adm:focus-visible { color: var(--o-gold-hi); background: rgba(216, 173, 95, .1); outline: none; text-decoration-style: solid; }
.o-rx__pill:has(.o-rx__n--adm) .o-rx__btn { padding-right: 7px; }
.o-rx__share {
    display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
    border: 1px solid var(--o-line); border-radius: 999px; color: var(--o-star);
    transition: border-color .2s, color .2s, background-color .2s;
}
.o-rx__share:hover, .o-rx__share:focus-visible, .o-rx__share[aria-expanded="true"] { border-color: var(--o-gold); color: var(--o-gold-hi); background: rgba(216, 173, 95, .08); outline: none; }
.o-rx__share:hover .o-rx__ic { transform: scale(1.08) rotate(-6deg); }
.o-rx--sm { gap: 8px; }
.o-rx--sm .o-rx__pill, .o-rx--sm .o-rx__share { height: 34px; }
.o-rx--sm .o-rx__btn { padding: 0 11px; gap: 6px; font-size: 13px; }
.o-rx--sm .o-rx__n--adm { font-size: 13px; padding-right: 10px; }
.o-rx--sm .o-rx__share { width: 34px; padding: 0; justify-content: center; }
.o-rx--sm .o-rx__share-t { display: none; }
.o-rx--sm .o-rx__ic { width: 16px; height: 16px; }
@keyframes o-rx-pop { 0% { transform: none; } 30% { transform: scale(1.4) rotate(-14deg) translateY(-2px); } 62% { transform: scale(.9) rotate(4deg); } 100% { transform: none; } }
@keyframes o-rx-pop-down { 0% { transform: none; } 30% { transform: scale(1.35) rotate(12deg) translateY(2px); } 62% { transform: scale(.92) rotate(-4deg); } 100% { transform: none; } }
@keyframes o-rx-bump { 0% { transform: none; } 40% { transform: translateY(-5px); opacity: .4; } 41% { transform: translateY(5px); } 100% { transform: none; opacity: 1; } }

/* news card: "Read more" left, the bar right */
.o-news-card__foot { position: relative; z-index: 2; margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; }
.o-news-card__foot .o-news-card__more { margin-top: 0; padding-top: 0; }
.o-news__grid--1 .o-news-card__foot { margin-top: 10px; }
/* full news */
.o-article__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.o-article__actions .o-rx { margin-right: auto; }

/* gallery: the bar in the lightbox (always dark) and the number on the tiles */
.o-lightbox .o-rx { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3; }
.o-lightbox .o-rx__pill { background: rgba(23, 18, 13, .78); border-color: rgba(216, 173, 95, .35); backdrop-filter: blur(6px); }
.o-lightbox .o-rx__btn { color: #d8c9a8; }
.o-lightbox .o-rx__btn:hover { color: #fff3d6; }
.o-lightbox .o-rx__btn--up.is-on { color: #f0cf8a; }
.o-lightbox .o-rx__btn--down.is-on { color: #ef8f80; }
.o-lightbox .o-rx__n--adm { color: #efe4cc; }
.o-lightbox .o-rx__sep { background: rgba(216, 173, 95, .35); }
.o-gallery__rx {
    position: absolute; left: 10px; top: 10px; z-index: 1;
    display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px 4px 7px; border-radius: 999px;
    background: rgba(12, 10, 8, .72); color: #f0cf8a; font: 700 12px/1 var(--o-body);
    backdrop-filter: blur(4px); pointer-events: none;
}
.o-gallery__rx[hidden] { display: none; }

/* small pop-up: sign in / share menu */
.o-rx-pop {
    position: fixed; z-index: 10080; min-width: 230px; padding: 8px;
    background: var(--o-dusk); color: var(--o-star); border: 1px solid var(--o-line); border-radius: 12px;
    box-shadow: 0 22px 50px -18px rgba(0, 0, 0, .8);
    opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top center;
    transition: opacity .15s, transform .18s cubic-bezier(.2, .8, .2, 1);
}
.o-rx-pop.is-above { transform: translateY(6px) scale(.98); transform-origin: bottom center; }
.o-rx-pop.is-in { opacity: 1; transform: none; }
.o-rx-share__title { margin: 4px 8px 8px; font: 700 11.5px/1 var(--o-body); letter-spacing: .1em; text-transform: uppercase; color: var(--o-mist); }
.o-rx-share__item {
    display: flex; align-items: center; gap: 11px; width: 100%; padding: 7px 8px; margin: 0;
    border: 0; border-radius: 8px; background: none; color: var(--o-star);
    font: 600 14px/1.2 var(--o-body); text-align: left; text-decoration: none; cursor: var(--o-cur-link, pointer);
    transition: background-color .15s;
}
.o-rx-share__item:hover, .o-rx-share__item:focus-visible { background: rgba(216, 173, 95, .11); outline: none; }
.o-rx-share__ic { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: var(--c, #6b7280); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.o-rx-share__item.is-done .o-rx-share__ic { background: #16a34a; }
.o-rx-login { display: grid; justify-items: center; gap: 10px; max-width: 240px; padding: 10px 12px 12px; text-align: center; }
.o-rx-login p { margin: 0; font-size: 14.5px; line-height: 1.4; color: var(--o-star); }
.o-rx-login svg { color: var(--o-gold); }

.o-rx-toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 10090; padding: 10px 18px; border-radius: 999px;
    background: var(--o-dusk); color: var(--o-star); border: 1px solid var(--o-line);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .7); font-size: 14px; font-weight: 600;
    opacity: 0; transform: translate(-50%, 16px); transition: opacity .25s, transform .25s; pointer-events: none;
}
.o-rx-toast.is-in { opacity: 1; transform: translate(-50%, 0); }
.o-rx-toast.is-bad { border-color: rgba(192, 57, 43, .7); }

/* the team's window: who clicked */
html.o-rxw-open { overflow: hidden; }
.o-rxw { position: fixed; inset: 0; z-index: 10070; display: grid; grid-template-columns: minmax(0, 480px); justify-content: center; align-items: center; padding: 16px; }
.o-rxw[hidden] { display: none; }
.o-rxw__scrim { position: absolute; inset: 0; background: rgba(6, 5, 3, .66); backdrop-filter: blur(3px); opacity: 0; transition: opacity .16s; }
.o-rxw__box {
    position: relative; display: flex; flex-direction: column; width: 100%; min-width: 0; max-height: calc(100vh - 32px);
    background: var(--o-dusk); color: var(--o-star); border: 1px solid var(--o-line); border-radius: 14px;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
    opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .16s, transform .2s cubic-bezier(.2, .8, .2, 1);
}
.o-rxw.is-in .o-rxw__scrim { opacity: 1; }
.o-rxw.is-in .o-rxw__box { opacity: 1; transform: none; }
.o-rxw__head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 10px 20px; }
.o-rxw__head h2 { flex: 1; min-width: 0; margin: 0; font: 700 17px/1.3 var(--o-display); letter-spacing: .02em; color: var(--o-gold-hi); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o-rxw__x { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--o-mist); display: grid; place-items: center; cursor: var(--o-cur-link, pointer); }
.o-rxw__x:hover, .o-rxw__x:focus-visible { background: rgba(216, 173, 95, .12); color: var(--o-star); outline: none; }
.o-rxw__tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 12px; border-bottom: 1px solid var(--o-line); }
.o-rxw__tab {
    display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; margin: 0;
    border: 1px solid var(--o-line); border-radius: 999px; background: transparent; color: var(--o-mist);
    font: 600 13px/1 var(--o-body); cursor: var(--o-cur-link, pointer); transition: background-color .15s, color .15s, border-color .15s;
}
.o-rxw__tab b { color: var(--o-star); font-weight: 700; font-variant-numeric: tabular-nums; }
.o-rxw__tab:hover { border-color: rgba(216, 173, 95, .5); color: var(--o-star); }
.o-rxw__tab.is-on { background: rgba(216, 173, 95, .16); border-color: var(--o-gold); color: var(--o-gold-hi); }
.o-rxw__tab--up svg { color: var(--o-gold); }
.o-rxw__tab--down svg { color: #ef8f80; }
.o-rxw__list { flex: 1; min-height: 160px; overflow-y: auto; padding: 6px 10px; transition: opacity .15s; scrollbar-width: thin; }
.o-rxw.is-loading .o-rxw__list { opacity: .45; pointer-events: none; }
.o-rxw.is-loading .o-rxw__tabs { background: linear-gradient(90deg, transparent, rgba(216, 173, 95, .35), transparent) bottom / 40% 2px no-repeat; animation: o-rxw-load 1s linear infinite; }
@keyframes o-rxw-load { from { background-position: -40% 100%; } to { background-position: 140% 100%; } }
.o-rxw__row { display: grid; grid-template-columns: 40px 1fr auto auto; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; transition: background-color .15s, opacity .2s; }
.o-rxw__row:hover { background: rgba(216, 173, 95, .06); }
.o-rxw__row.is-going { opacity: .35; pointer-events: none; }
.o-rxw__ava {
    position: relative; width: 40px; height: 40px; overflow: hidden; border-radius: 50%;
    display: grid; place-items: center; font: 700 17px/1 var(--o-display); color: #1c1406;
    background: radial-gradient(circle at 35% 30%, #fff1c4, #e9bf5e 55%, #a9781f);
}
.o-rxw__ava img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.o-rxw__who { display: grid; gap: 2px; min-width: 0; }
.o-rxw__name { font-weight: 700; font-size: 15px; color: var(--o-star); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.o-rxw__name:hover { color: var(--o-gold-hi); text-decoration: underline; }
.o-rxw__who small { font-size: 12.5px; color: var(--o-mist); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o-rxw__badge { justify-self: start; padding: 2px 7px; border-radius: 999px; background: rgba(192, 57, 43, .85); color: #fff; font-size: 11px; font-weight: 700; }
.o-rxw__v { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.o-rxw__v--up { color: var(--o-gold-hi); background: rgba(216, 173, 95, .12); }
.o-rxw__v--down { color: #ef8f80; background: rgba(192, 57, 43, .12); }
.o-rxw__del { width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--o-mist); display: grid; place-items: center; cursor: var(--o-cur-link, pointer); transition: background-color .15s, color .15s; }
.o-rxw__del:hover, .o-rxw__del:focus-visible { background: rgba(192, 57, 43, .16); color: #ff9c8f; outline: none; }
.o-rxw__empty { margin: 0; padding: 34px 12px; text-align: center; color: var(--o-mist); }
.o-rxw__pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; padding: 12px 16px 16px; border-top: 1px solid var(--o-line); }
.o-rxw__pager[hidden] { display: none; }
.o-rxw__pg {
    min-width: 34px; height: 34px; padding: 0 8px; margin: 0; border: 1px solid var(--o-line); border-radius: 8px;
    background: transparent; color: var(--o-star); font: 700 14px/1 var(--o-body); font-variant-numeric: tabular-nums;
    cursor: var(--o-cur-link, pointer); transition: border-color .15s, background-color .15s;
}
.o-rxw__pg:hover:not(:disabled) { border-color: var(--o-gold); }
.o-rxw__pg.is-on { background: linear-gradient(180deg, #f6dc9c, #d8ad5f); border-color: transparent; color: #1c1406; }
.o-rxw__pg:disabled { opacity: .35; cursor: default; }
.o-rxw__pg--nav { font-size: 18px; }
.o-rxw__gap { color: var(--o-mist); padding: 0 2px; }

html[data-theme="light"] .o-rx__pill { background: rgba(176, 125, 42, .06); }
html[data-theme="light"] .o-rx__btn--down.is-on, html[data-theme="light"] .o-rxw__v--down, html[data-theme="light"] .o-rxw__tab--down svg { color: #b3362c; }
html[data-theme="light"] .o-rx__n--adm { text-decoration-color: rgba(154, 108, 34, .7); }
html[data-theme="light"] .o-rx-pop, html[data-theme="light"] .o-rx-toast { box-shadow: 0 18px 40px -16px rgba(60, 40, 10, .4); }
html[data-theme="light"] .o-rxw__scrim { background: rgba(46, 37, 24, .45); }
html[data-theme="light"] .o-rxw__box { box-shadow: 0 30px 80px -24px rgba(60, 40, 10, .45); }
html[data-theme="light"] .o-rxw__del:hover { color: #b3362c; }
html[data-theme="light"] .o-rxw__pg.is-on { background: linear-gradient(180deg, #c99a45, #9a6c22); color: #fff8e8; }
@media (max-width: 560px) {
    .o-article__actions .o-rx { margin-right: 0; }
    .o-lightbox .o-rx { bottom: 74px; }
    .o-rxw { padding: 8px; }
    .o-rxw__row { gap: 10px; padding: 8px 6px; }
}
@media (prefers-reduced-motion: reduce) {
    .o-rx__btn.is-pop .o-rx__ic, .o-rx__n.is-bump { animation: none; }
    .o-rx-pop, .o-rxw__box, .o-rxw__scrim, .o-rx-toast { transition: none; }
}

/* ==========================================================================
   HOME NEWS: "Show all news" button (2026-11-19) - views/news.blade.php
   ========================================================================== */
.o-news__more { display: flex; justify-content: center; margin-top: 24px; }

/* ==========================================================================
   GALLERY VIDEOS (2026-11-21): video tiles and the player in the lightbox
   (views/pages/gallery-photos.blade.php, js/orion-ui.js "gallery videos", App\Services\Gallery).
   The video never starts by itself: the lightbox shows its poster with a play button.
   ========================================================================== */
.o-gallery__play {
    position: absolute; left: 50%; top: 50%; z-index: 1; width: 58px; height: 58px; margin: -29px 0 0 -29px;
    display: grid; place-items: center; padding-left: 3px; border-radius: 50%; color: #1c1406;
    background: linear-gradient(180deg, #f6dc9c, #d8ad5f);
    box-shadow: 0 0 0 6px rgba(12, 10, 8, .35), 0 10px 26px -8px rgba(0, 0, 0, .8);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; pointer-events: none;
}
.o-gallery__item--video:hover .o-gallery__play,
.o-gallery__item--video:focus-visible .o-gallery__play { transform: scale(1.1); box-shadow: 0 0 0 9px rgba(240, 207, 138, .25), 0 12px 30px -8px rgba(0, 0, 0, .85); }
.o-gallery__dur {
    position: absolute; right: 10px; top: 10px; z-index: 1; padding: 4px 8px; border-radius: 6px;
    background: rgba(12, 10, 8, .78); color: #efe4cc; font: 700 12px/1 var(--o-body); font-variant-numeric: tabular-nums;
    letter-spacing: .02em; backdrop-filter: blur(4px); pointer-events: none;
}

/* lightbox: the video box takes the place of the picture (its size is set by js/orion-ui.js) */
.o-lightbox.is-video .o-lightbox__figure > img { display: none; }
.o-lightbox__vbox {
    position: relative; overflow: hidden; max-width: 100%; border-radius: var(--o-radius); background: #000;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
    opacity: 0; transform: scale(.97); transition: opacity .3s ease, transform .3s ease;
}
.o-lightbox__vbox[hidden] { display: none; }
.o-lightbox.is-ready .o-lightbox__vbox { opacity: 1; transform: none; }
.o-lightbox__video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; outline: none; }
.o-lightbox__play {
    position: absolute; inset: 0; z-index: 2; margin: 0; padding: 0; border: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    background: radial-gradient(circle at center, rgba(12, 10, 8, .12), rgba(12, 10, 8, .42));
    color: #1c1406; cursor: var(--o-cur-link, pointer);
}
.o-lightbox__play:focus-visible { outline: none; }
.o-lightbox__play-ic {
    width: 84px; height: 84px; display: grid; place-items: center; padding-left: 5px; border-radius: 50%;
    background: linear-gradient(180deg, #f6dc9c, #d8ad5f);
    box-shadow: 0 0 0 8px rgba(240, 207, 138, .18), 0 16px 40px -10px rgba(0, 0, 0, .9);
    transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s;
}
.o-lightbox__play:hover .o-lightbox__play-ic,
.o-lightbox__play:focus-visible .o-lightbox__play-ic { transform: scale(1.08); box-shadow: 0 0 0 12px rgba(240, 207, 138, .26), 0 16px 40px -10px rgba(0, 0, 0, .9); }
.o-lightbox__play-t {
    padding: 4px 10px; border-radius: 99px; background: rgba(12, 10, 8, .72); color: #efe4cc;
    font: 700 13px/1.2 var(--o-body); font-variant-numeric: tabular-nums;
}
.o-lightbox__play-t:empty { display: none; }
.o-lightbox__vbox.is-started .o-lightbox__play { display: none; }
.o-lightbox__vbox.is-error .o-lightbox__play { cursor: default; }
.o-lightbox__vbox.is-error .o-lightbox__play-ic { opacity: .4; }
/* the logo over the playing video: where it is on the poster (Gallery::watermark); fainter while the controls show */
.o-lightbox__wm {
    position: absolute; z-index: 1; display: none; pointer-events: none;
    background: no-repeat center / contain; opacity: var(--wm-op, .7); transition: opacity .25s;
}
.o-lightbox__vbox.is-started .o-lightbox__wm:not([hidden]) { display: block; }
.o-lightbox__vbox.is-playing:hover .o-lightbox__wm { opacity: calc(var(--wm-op, .7) * .35); }
@media (max-width: 640px) {
    .o-gallery__play { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
    .o-lightbox__play-ic { width: 68px; height: 68px; }
}
@media (prefers-reduced-motion: reduce) {
    .o-gallery__play, .o-lightbox__vbox, .o-lightbox__play-ic, .o-lightbox__wm { transition: none; }
}

/* =====================================================================
   NEWS: default cover (2026-11-23) - news without a picture show the crest picture
   (views/components/news-card.blade.php, img/orion/news-default-dark|light.webp)
   ===================================================================== */
.o-news-card__placeholder.is-cover { display: block; background: var(--o-dusk-2); }
.o-news-card__placeholder.is-cover img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1;
    filter: saturate(.95); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
.o-news-card:hover .o-news-card__placeholder.is-cover img { transform: scale(1.06) !important; }
.o-news-card__cover.is-light { display: none !important; }
html[data-theme="light"] .o-news-card__cover.is-dark { display: none !important; }
html[data-theme="light"] .o-news-card__cover.is-light { display: block !important; }
@media (prefers-reduced-motion: reduce) {
    .o-news-card:hover .o-news-card__placeholder.is-cover img { transform: none !important; }
}

/* =====================================================================
   NEWS: picture for the light theme (2026-11-23) - news.image_light
   (components/news-card.blade.php, pages/news_show.blade.php)
   ===================================================================== */
.o-news-img--light { display: none !important; }
html[data-theme="light"] .o-news-img--dark { display: none !important; }
html[data-theme="light"] .o-news-img--light { display: block !important; }

/* ==========================================================================
   Who read / saw it (App\Services\ContentViews, js/orion-seen.js, views/components/seen.blade.php).
   The eye pill next to the reactions; the who-window reuses .o-rxw (reactions window) above.
   ========================================================================== */
.o-seen {
    display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px;
    border: 1px solid var(--o-line); border-radius: 999px; background: rgba(216,173,95,.06);
    color: var(--o-mist); font: 700 14px/1 var(--o-body); white-space: nowrap; vertical-align: middle;
    -webkit-user-select: none; user-select: none;
}
.o-seen b { font-weight: 700; font-variant-numeric: tabular-nums; }
.o-seen__ic { flex: none; opacity: .85; }
button.o-seen { cursor: pointer; appearance: none; -webkit-appearance: none; transition: border-color .15s, color .15s, background .15s; }
button.o-seen.is-admin:hover, button.o-seen.is-admin:focus-visible { border-color: var(--o-gold, #d8ad5f); color: var(--o-gold, #d8ad5f); background: rgba(216,173,95,.12); outline: none; }
.o-seen--sm { height: 34px; padding: 0 11px; font-size: 13px; gap: 6px; }
.o-seen--sm .o-seen__ic { width: 16px; height: 16px; }
.o-news-card__foot .o-seen { margin-left: auto; }
.o-news-card__foot .o-seen + .o-rx { margin-left: 0; }
.o-gallery__meta .o-seen { height: 34px; padding: 0 12px; font-size: 13px; }
.o-lightbox .o-seen {
    position: absolute; left: 24px; bottom: 18px; z-index: 3; height: 40px;
    background: rgba(23,18,13,.78); border-color: rgba(216,173,95,.28); color: #e9dcc4;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
@media (max-width: 560px) {
    .o-lightbox .o-seen { left: 12px; bottom: 74px; height: 36px; padding: 0 11px; }
}
html[data-theme="light"] .o-seen { background: rgba(140,100,40,.07); }
html[data-theme="light"] .o-lightbox .o-seen { background: rgba(23,18,13,.78); color: #e9dcc4; }

/* who-window rows */
.o-seen__flag { font: 700 11px/1 var(--o-body); letter-spacing: .04em; text-transform: uppercase; }
.o-seen__times { flex: none; margin-left: auto; padding-left: 10px; color: var(--o-mist); font: 700 13px/1 var(--o-body); font-variant-numeric: tabular-nums; opacity: .8; }
.o-seen__note { margin: 0; padding: 8px 18px 0; color: var(--o-mist); font-size: 12px; line-height: 1.4; opacity: .75; }
