/* ==========================================================================
   OnePiece — shared chrome styles
   Loaded once from resources/views/layouts/app.blade.php
   (previously duplicated inline in the layout on every page)
   ========================================================================== */

/* ───────────────────────────────────────────── navigation bar */
.navigation {
    padding: 20px 0;
    background: transparent;
    position: relative;
    z-index: 9999;
    pointer-events: auto;
}

.navigation > nav {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.navigation nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    width: 100%;
}

.navigation nav ul li {
    display: inline-block;
    position: relative;
    z-index: 9999;
    flex-shrink: 0;
}

.navigation nav ul li.nav-links-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

/* one shared button look for every header action */
.navigation nav ul a.aaa,
.navigation nav ul a.chat-btn,
.navigation nav ul a.support-btn,
.navigation nav ul a.username {
    font-family: 'Cinzel Decorative', 'Cairo', sans-serif;
    font-weight: 900;
    font-size: 11.5px !important;
    letter-spacing: .5px;
    color: var(--op-accent, #f3e5ab) !important;
    text-decoration: none;
    text-transform: uppercase;
    height: 36px;
    padding: 0 10px;
    background: linear-gradient(135deg, rgba(15,11,11,.95) 0%, rgba(5,3,3,.98) 100%);
    border: 1px solid rgba(227,211,135,.4);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,.7), inset 0 0 10px rgba(227,211,135,.05);
    transition: all .3s cubic-bezier(.25,.8,.25,1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
    pointer-events: auto !important;
    cursor: pointer !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.9);
}

.navigation nav ul a.aaa::before,
.navigation nav ul a.chat-btn::before,
.navigation nav ul a.support-btn::before,
.navigation nav ul a.username::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(227,211,135,.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: .75s;
}

.navigation nav ul a.aaa:hover::before,
.navigation nav ul a.chat-btn:hover::before,
.navigation nav ul a.support-btn:hover::before,
.navigation nav ul a.username:hover::before {
    left: 150%;
    transition: .75s;
}

.navigation nav ul a.aaa:hover,
.navigation nav ul a.chat-btn:hover,
.navigation nav ul a.support-btn:hover,
.navigation nav ul a.username:hover {
    color: #fff !important;
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255,215,0,.6), inset 0 0 15px rgba(227,211,135,.2);
    text-shadow: 0 0 8px rgba(255,255,255,.8);
    transform: translateY(-2px);
}

.nav-avatar {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 1px solid #e3d387;
}

/* ───────────────────────────────────────────── server status pill */
.server-stats-widget { display: inline-flex; align-items: center; }

.combined-status-display {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 8px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(18,13,13,.95), rgba(6,4,4,.99));
    border: 1px solid rgba(227,211,135,.5);
    box-shadow: inset 0 0 12px rgba(227,211,135,.15), 0 4px 20px rgba(0,0,0,.85);
    font-family: 'Cairo', sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .5px;
    white-space: nowrap;
    user-select: none;
    cursor: default !important;
}

.pill-logo { height: 24px; width: auto; object-fit: contain; filter: drop-shadow(0 0 6px rgba(227,211,135,.7)); }
.pill-divider { width: 1px; height: 14px; background: rgba(227,211,135,.3); }

.status-indicator { position: relative; width: 9px; height: 9px; display: inline-flex; align-items: center; justify-content: center; }
.status-dot-core { width: 9px; height: 9px; border-radius: 50%; display: block; position: absolute; }
.status-dot-core.online  { background: #2ecc71; box-shadow: 0 0 10px #2ecc71, 0 0 20px #2ecc71; }
.status-dot-core.offline { background: #e74c3c; box-shadow: 0 0 10px #e74c3c, 0 0 20px #e74c3c; }
.status-indicator::after {
    content: '';
    position: absolute;
    inset: -4.5px;
    border-radius: 50%;
    border: 1.5px solid rgba(46,204,113,.6);
    animation: opPulseRing 2s infinite;
    box-sizing: border-box;
}
@keyframes opPulseRing {
    0%   { transform: scale(.8); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* ───────────────────────────────────────────── language picker */
.lang-wrapper {
    position: relative !important;
    display: inline-block;
    z-index: 99999 !important;
    font-family: 'Cinzel Decorative', 'Cairo', sans-serif;
    isolation: isolate;
    pointer-events: auto !important;
}

.current-lang {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    height: 36px;
    padding: 0 12px;
    border-radius: 5px;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(15,11,11,.95) 0%, rgba(5,3,3,.98) 100%);
    border: 1px solid rgba(227,211,135,.4);
    color: var(--op-accent, #f3e5ab) !important;
    font-weight: 900;
    font-size: 11.5px !important;
    text-transform: uppercase;
    letter-spacing: .8px;
    transition: all .3s cubic-bezier(.25,.8,.25,1);
    box-shadow: 0 4px 15px rgba(0,0,0,.7), inset 0 0 10px rgba(227,211,135,.05);
    text-shadow: 0 1px 2px rgba(0,0,0,.9);
    font-family: inherit;
}

.lang-content-flex { display: flex; align-items: center; gap: 7px; }
.current-lang img { border-radius: 2px; box-shadow: 0 1px 3px rgba(0,0,0,.5); object-fit: contain; }

.current-lang:hover {
    transform: translateY(-2px);
    border-color: #ffd700;
    color: #fff !important;
    background: linear-gradient(135deg, rgba(20,15,15,.98) 0%, rgba(8,6,6,.99) 100%);
    box-shadow: 0 0 15px rgba(255,215,0,.6), inset 0 0 15px rgba(227,211,135,.2);
}

.arrow-down {
    border: solid var(--op-accent, #f3e5ab);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    transition: transform .3s ease, border-color .3s ease;
}
.current-lang:hover .arrow-down { border-color: #fff; }
.lang-wrapper.open .arrow-down { transform: rotate(225deg); border-color: #fff; }

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-start: 0;
    min-width: 165px;
    padding: 6px;
    list-style: none;
    border-radius: 8px;
    background: rgba(12,9,9,.97);
    border: 1px solid rgba(227,211,135,.4);
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(0,0,0,.85), 0 0 15px rgba(255,215,0,.1);
    z-index: 999999;
}
.lang-menu[hidden] { display: none !important; }

.lang-menu li a {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    color: #ccc;
    font-size: 12px;
    font-weight: 700;
    transition: color .3s ease, background .3s ease;
}
.lang-menu li a:hover,
.lang-menu li a.is-current { color: #ffd700; background: rgba(255,215,0,.08); }
.lang-menu img { width: 20px; border-radius: 2px; box-shadow: 0 1px 3px rgba(0,0,0,.4); }

/* ───────────────────────────────────────────── quick translate button */
/* One button, always visible: every tap moves the whole page to the next
   language (English → العربية → Español → English). */
.tr-btn {
    position: fixed;
    inset-inline-start: 16px;
    bottom: 80px;
    z-index: 9500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(15,11,11,.96) 0%, rgba(5,3,3,.98) 100%);
    border: 1px solid rgba(227,211,135,.5);
    box-shadow: 0 10px 28px rgba(0,0,0,.75), 0 0 15px rgba(255,215,0,.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--op-accent, #f3e5ab);
    text-decoration: none !important;
    font-family: 'Cinzel Decorative', 'Cairo', sans-serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    white-space: nowrap;
    direction: ltr;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.tr-btn:hover {
    transform: translateY(-3px);
    border-color: #ffd700;
    box-shadow: 0 14px 32px rgba(0,0,0,.8), 0 0 22px rgba(255,215,0,.35);
    color: #fff;
}
.tr-btn i { font-size: 15px; }
.tr-btn img {
    width: 24px;
    height: 17px;
    object-fit: cover;
    display: block;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,.6);
}

@media (max-width: 780px) {
    .tr-btn { bottom: 72px; inset-inline-start: 10px; padding: 8px 11px; gap: 7px; }
    .tr-btn-label { display: none; }
    .tr-btn i { font-size: 16px; }
}

/* ───────────────────────────────────────────── footer */
.clearfix { clear: both; }

footer .copyright { text-align: center !important; }
footer .copyright nav { width: 100% !important; display: flex !important; justify-content: center !important; }
footer .copyright nav ul {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 auto 15px auto !important;
    float: none !important;
}
footer .copyright nav ul li { float: none !important; display: inline-block !important; }
footer .copyright nav ul li a {
    font-family: 'Cinzel Decorative', 'Cairo', 'Tajawal', sans-serif;
    font-weight: 900;
    font-size: 12px !important;
    color: #e3d387 !important;
    text-decoration: none;
    padding: 6px 14px;
    background: rgba(10,7,7,.9);
    border: 1px solid rgba(227,211,135,.3);
    border-radius: 4px;
    transition: all .3s ease;
}
[dir="rtl"] footer .copyright nav ul li a { letter-spacing: normal; }

/* The legacy theme pins the copyright line to "Trajan Pro", a display face
   with no Arabic glyphs at all — the whole line fell back to a low contrast
   default serif. Keep the Latin look, give Arabic and Spanish a real font. */
footer .copyright span {
    font-family: 'Cinzel Decorative', 'Cairo', 'Tajawal', sans-serif;
    color: #d8c99a;
    letter-spacing: normal;
    text-transform: none;
}
footer .copyright nav ul li a:hover {
    color: #fff !important;
    border-color: #ffd700;
    background: rgba(40,30,10,.9);
}

/* ───────────────────────────────────────────── music player */
/* Collapsed by default: the player is only a "play music" affordance, so it
   must never sit on top of the page content. Hovering expands it. */
.golden-emperor-player {
    position: fixed;
    bottom: 16px;
    inset-inline-start: 16px;
    z-index: 9000;
    direction: ltr;
    transform: translateY(0);
    transition: transform .3s ease;
}

.golden-emperor-player .emperor-wrapper {
    padding: 7px;
    gap: 0;
    border-radius: 30px;
    overflow: hidden;
    transition: padding .3s ease, gap .3s ease, box-shadow .3s ease;
}

.golden-emperor-player .emperor-info {
    max-width: 0;
    opacity: 0;
    padding-inline-start: 0;
    border-inline-start: none;
    overflow: hidden;
    transition: max-width .3s ease, opacity .25s ease, padding .3s ease;
}

.golden-emperor-player:hover .emperor-wrapper,
.golden-emperor-player:focus-within .emperor-wrapper {
    padding: 8px 18px 8px 12px;
    gap: 15px;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(212,175,55,.5);
}

.golden-emperor-player:hover .emperor-info,
.golden-emperor-player:focus-within .emperor-info {
    max-width: 160px;
    opacity: 1;
    padding-inline-start: 12px;
    border-inline-start: 1px solid rgba(212,175,55,.4);
}

@media (max-width: 780px) {
    .golden-emperor-player { bottom: 10px; inset-inline-start: 10px; }
    .golden-emperor-player:hover .emperor-wrapper { padding: 6px 12px 6px 8px; gap: 10px; }
    .golden-emperor-player:hover .emperor-info { max-width: 110px; }
    .emperor-btn { width: 32px; height: 32px; }
    .emperor-btn svg { width: 19px; }
    .gold-bars { height: 11px; }
}
.emperor-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 18px;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    border: 2px solid #D4AF37;
    box-shadow: 0 0 20px rgba(212,175,55,.3), inset 0 0 10px rgba(212,175,55,.1);
    transition: .3s;
}
.emperor-wrapper:hover { transform: translateY(-3px); background: #000; box-shadow: 0 0 30px rgba(212,175,55,.5); }
.golden-glow {
    position: absolute;
    width: 100%; height: 100%; top: 0; left: 0;
    box-shadow: 0 0 15px #D4AF37;
    opacity: .2;
    animation: goldPulse 2s infinite;
    pointer-events: none;
}
.emperor-btn {
    width: 35px; height: 35px;
    display: flex; align-items: center; justify-content: center;
    background: #D4AF37; color: #000; border: none;
    box-shadow: 0 0 15px #D4AF37;
    cursor: pointer; transition: .3s;
}
.emperor-btn svg { width: 22px; }
.emperor-info {
    display: flex; flex-direction: column;
    border-inline-start: 1px solid rgba(212,175,55,.4);
    padding-inline-start: 12px;
}
.gold-text {
    color: #D4AF37;
    font-family: 'Exo 2', 'Cairo', sans-serif;
    font-size: 10px; font-weight: 900; letter-spacing: 2px;
    text-shadow: 0 0 5px rgba(212,175,55,.5);
}
.gold-bars { display: flex; align-items: flex-end; gap: 3px; height: 14px; margin-bottom: 3px; }
.g-bar { width: 2px; height: 100%; background: #D4AF37; box-shadow: 0 0 5px #D4AF37; animation: goldWave .7s infinite alternate; }
.g-bar:nth-child(2) { animation-delay: .2s; }
.g-bar:nth-child(3) { animation-delay: .4s; }
@keyframes goldWave  { 0% { height: 20%; opacity: .4; } 100% { height: 100%; opacity: 1; } }
@keyframes goldPulse { 0%,100% { opacity: .1; } 50% { opacity: .4; } }
.is-paused .g-bar { animation-play-state: paused; height: 2px; opacity: .3; }
.is-paused .emperor-wrapper { border-color: #444; box-shadow: none; opacity: .7; }
.is-paused .emperor-btn { background: #444; box-shadow: none; }
.is-paused .gold-text { color: #666; text-shadow: none; }

/* ───────────────────────────────────────────── rising sparks */
#horror-sparks-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}
.lava-spark {
    position: absolute;
    background: radial-gradient(circle, #FFD700 0%, #FF4500 70%, transparent 100%);
    border-radius: 50%;
    filter: blur(1px);
    box-shadow: 0 0 20px #FF4500, 0 0 40px #FF0000;
    opacity: 0;
    animation: riseUp var(--duration) linear infinite;
    z-index: 1;
}
@keyframes riseUp {
    0%   { transform: translateY(100vh) scale(.5); opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: .8; }
    100% { transform: translateY(-200px) scale(1.5); opacity: 0; }
}

/* ───────────────────────────────────────────── scrollbars */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #080808; border-inline-start: 1px solid rgba(255,215,0,.15); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #1c1c1c, #0c0c0c);
    border: 1px solid #FFD700;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(255,215,0,.3);
}
* { scrollbar-width: thin; scrollbar-color: #FFD700 #080808; }

/* ───────────────────────────────────────────── global tweaks */
body { top: 0 !important; position: static !important; }

/* --------------------------------------------------------------------------
   Legacy theme width overrides
   theme.min.css hard-codes a 1328px / 1020px desktop canvas, which forced a
   horizontal scrollbar on every laptop and phone.  We keep the look (the
   background art and the gold frame) but let the page breathe.
   -------------------------------------------------------------------------- */
html, body {
    overflow-x: hidden !important;
    /* matches the video backdrop so the area below the fold blends in */
    background: #05060a !important;
}

.main {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 100% !important;
    overflow: visible !important;
    /* the full-screen video is the backdrop now, so drop the tiled texture */
    background: transparent !important;
}

.content,
.links,
.navigation_buttons,
.content-bg,
.ranking-bg {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    position: relative !important;
    background-image: none !important;
    /* style.css keeps a fixed 75px top gap and clips every child; the ranking
       artwork deliberately overhangs its frame, so let it breathe. */
    margin-top: 30px !important;
    overflow: visible !important;
}

/* the decorative background used to sit behind the fold — keep it subtle */
.main::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(1100px 620px at 50% -6%, rgba(243,229,171,.07), transparent 62%),
        radial-gradient(760px 520px at 100% 30%, rgba(255,60,40,.05), transparent 65%);
}

/* content must sit above the decorative layer */
.content { position: relative !important; z-index: 5; }

/* the legacy carousel is Bootstrap 3 — keep it fluid */
.carousel-inner > .item { width: 100%; }

/* The header video is pinned to the viewport so the whole page shares one
   backdrop, instead of ending at a hard edge mid-screen. */
.slider-video-bg {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    /* the legacy rule centres it with translateX(-50%) which drags it off
       screen once the width is 100% — the transform has to go */
    transform: none !important;
    object-fit: cover;
    z-index: 0 !important;
    pointer-events: none;
}

/* darken it slightly so the gold text stays readable on top */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 0%, rgba(0,0,0,.30), rgba(5,6,10,.82) 78%);
}

/* The header row: status pill on one line, buttons wrapping underneath.
   `flex: 1 1 100%` on the group lets it shrink to the available width, which
   is what makes the wrap actually happen instead of overflowing. */
.navigation nav ul {
    flex-wrap: wrap;
    row-gap: 8px;
    justify-content: center;
}

.navigation nav ul li.nav-links-group {
    flex: 1 1 auto;
    max-width: 100%;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 8px;
}

/* Arabic / RTL typography */
html[dir="rtl"] body {
    font-family: 'Cairo', 'Tajawal', sans-serif;
}
html[dir="rtl"] .glitch-title,
html[dir="rtl"] .register-card-title,
html[dir="rtl"] .hero-title,
html[dir="rtl"] .store-main-title,
html[dir="rtl"] .events-title {
    letter-spacing: normal !important;
}
html[dir="rtl"] .navigation nav ul a.aaa,
html[dir="rtl"] .navigation nav ul a.chat-btn,
html[dir="rtl"] .navigation nav ul a.support-btn,
html[dir="rtl"] .navigation nav ul a.username,
html[dir="rtl"] .tr-btn,
html[dir="rtl"] .current-lang,
html[dir="rtl"] .lang-menu li a,
html[dir="rtl"] .ucp-btn,
html[dir="rtl"] .ucp-card-title,
html[dir="rtl"] .ucp-ident .sub,
html[dir="rtl"] .ucp-chip,
html[dir="rtl"] .vote-card-title,
html[dir="rtl"] .vote-alert-text,
html[dir="rtl"] .page-main-title,
html[dir="rtl"] .card-header-title,
html[dir="rtl"] .rules-box {
    letter-spacing: normal;
    text-transform: none;
}
html[dir="rtl"] .patches-table thead tr th,
html[dir="rtl"] .events-table th,
html[dir="rtl"] .events-table td { text-align: center; }

/* shared page shell used by register / download / events / store */
.op-page {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}
.op-hero-title {
    font-family: 'Cinzel Decorative', 'Cairo', sans-serif;
    font-size: 34px;
    font-weight: 900;
    color: var(--op-accent-2, #dfb76c);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    text-shadow: 0 0 20px rgba(223,183,108,.4), 0 4px 10px rgba(0,0,0,.8);
    margin: 0 0 6px;
}
.op-hero-sub {
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    color: #b3a286;
    font-weight: 700;
    text-align: center;
    margin: 0 0 34px;
}
.op-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 800;
    color: var(--op-accent-2, #dfb76c);
    margin: 34px 0 18px;
    padding: 11px 16px;
    background: rgba(223,183,108,.06);
    border-inline-start: 4px solid var(--op-accent-2, #dfb76c);
    border-radius: 8px;
}

/* buttons reused across pages */
.op-btn {
    font-family: 'Cinzel Decorative', 'Cairo', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 50px;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all .3s ease;
    box-shadow: 0 5px 15px rgba(223,183,108,.2);
    background: linear-gradient(135deg, #f7d98b 0%, #dfb76c 100%);
    color: #0d0809 !important;
}
.op-btn:hover {
    background: linear-gradient(135deg, #ffffff 0%, #dfb76c 100%);
    box-shadow: 0 0 25px rgba(223,183,108,.5);
    transform: translateY(-2px);
}
.op-btn.red {
    color: #fff !important;
    background: linear-gradient(135deg, #ff4757 0%, #b3121f 100%);
    box-shadow: 0 5px 15px rgba(255,51,68,.2);
}
.op-btn.red:hover { background: linear-gradient(135deg, #ff6b81 0%, #ff4757 100%); box-shadow: 0 0 25px rgba(255,51,68,.5); }

@media (max-width: 900px) {
    .op-page { padding: 26px 14px 46px; }
    .op-hero-title { font-size: 24px; letter-spacing: 1px; }

    .navigation { padding: 14px 0; }
    .navigation nav ul a.aaa,
    .navigation nav ul a.chat-btn,
    .navigation nav ul a.support-btn,
    .navigation nav ul a.username {
        font-size: 10.5px !important;
        padding: 0 8px;
        height: 34px;
    }
    .current-lang { height: 34px; padding: 0 9px; font-size: 10.5px !important; }
}

@media (max-width: 560px) {
    .navigation nav ul { gap: 5px; }
    .navigation nav ul a.aaa,
    .navigation nav ul a.chat-btn,
    .navigation nav ul a.support-btn,
    .navigation nav ul a.username {
        font-size: 9.5px !important;
        padding: 0 7px;
        letter-spacing: .2px;
    }
    .nav-avatar { display: none; }
    footer .copyright nav ul { gap: 6px !important; }
    footer .copyright nav ul li a { font-size: 10.5px !important; padding: 5px 9px; }
}
