/*
 * ONE2 Reborn
 * Isolated visual skin for the existing ONE2 Laravel theme.
 * Activated only by: data-theme="one2" data-one2-skin="reborn"
 */

body[data-theme="one2"][data-one2-skin="reborn"] {
    --reborn-ink: #040912;
    --reborn-panel: rgba(5, 12, 21, 0.82);
    --reborn-panel-strong: rgba(4, 9, 16, 0.93);
    --reborn-panel-soft: rgba(14, 27, 42, 0.72);
    --reborn-blue: #56c5f5;
    --reborn-blue-deep: #0b5794;
    --reborn-gold: #d7b468;
    --reborn-gold-hi: #ffe7ad;
    --reborn-text: #e8f2fc;
    --reborn-muted: #8da4bc;
    --reborn-line: rgba(79, 157, 211, 0.34);
    --reborn-line-hot: rgba(89, 196, 244, 0.68);
    --reborn-shadow: 0 24px 60px rgba(0, 0, 0, 0.48);
    --reborn-cut: 10px;
    --reborn-parallax-x: 0px;
    --reborn-parallax-y: 0px;
    overflow-x: hidden;
    background: #03101d !important;
    color: var(--reborn-text);
}

body[data-one2-skin="reborn"]::before {
    content: "";
    position: fixed;
    z-index: -5;
    inset: -32px;
    pointer-events: none;
    background: url('/img/one2/bg.png') center top / cover no-repeat;
    transform: translate3d(var(--reborn-parallax-x), var(--reborn-parallax-y), 0) scale(1.055);
    filter: saturate(1.04) contrast(1.03) brightness(0.92);
    animation: rebornWorldBreath 24s ease-in-out infinite alternate;
    will-change: transform, filter;
}

body[data-one2-skin="reborn"]::after {
    content: "";
    position: fixed;
    z-index: -4;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 12%, rgba(47, 170, 229, 0.15), transparent 28%),
        radial-gradient(circle at 15% 38%, rgba(25, 104, 166, 0.08), transparent 35%),
        linear-gradient(180deg, rgba(0, 5, 11, 0.02) 0%, rgba(0, 6, 13, 0.14) 44%, rgba(0, 6, 13, 0.76) 100%);
}

@keyframes rebornWorldBreath {
    from { filter: saturate(0.98) contrast(1.02) brightness(0.90); }
    to { filter: saturate(1.10) contrast(1.05) brightness(0.98); }
}

/* Atmospheric layers are inserted by one2-reborn.js. */
.one2-reborn-atmosphere {
    position: fixed;
    inset: 0;
    z-index: -3;
    overflow: hidden;
    pointer-events: none;
}

.one2-reborn-atmosphere::before,
.one2-reborn-atmosphere::after {
    content: "";
    position: absolute;
    left: -18%;
    width: 136%;
    height: 38vh;
    min-height: 280px;
    opacity: 0.22;
    filter: blur(18px);
    background:
        radial-gradient(ellipse at 12% 60%, rgba(103, 190, 231, 0.23), transparent 32%),
        radial-gradient(ellipse at 48% 52%, rgba(171, 201, 220, 0.14), transparent 36%),
        radial-gradient(ellipse at 83% 55%, rgba(82, 155, 200, 0.19), transparent 32%);
    will-change: transform, opacity;
}

.one2-reborn-atmosphere::before {
    top: 24vh;
    animation: rebornMistA 30s ease-in-out infinite alternate;
}

.one2-reborn-atmosphere::after {
    top: 52vh;
    opacity: 0.14;
    transform: scaleX(-1);
    animation: rebornMistB 38s ease-in-out infinite alternate;
}

@keyframes rebornMistA {
    from { transform: translate3d(-5%, 0, 0) scale(1); opacity: 0.14; }
    to { transform: translate3d(7%, -18px, 0) scale(1.08); opacity: 0.25; }
}

@keyframes rebornMistB {
    from { transform: translate3d(6%, 8px, 0) scaleX(-1); }
    to { transform: translate3d(-8%, -12px, 0) scaleX(-1.08); }
}

body[data-one2-skin="reborn"] #particles-wrap {
    display: block;
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

body[data-one2-skin="reborn"] #particles-wrap .p {
    display: block;
    position: absolute;
    bottom: -30px;
    border-radius: 50%;
    background: #8dd9fb;
    box-shadow: 0 0 9px rgba(91, 197, 245, 0.9), 0 0 22px rgba(91, 197, 245, 0.28);
    opacity: 0;
    animation-name: rebornMoteRise;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

body[data-one2-skin="reborn"] #particles-wrap .p:nth-child(3n) {
    background: #e7bd69;
    box-shadow: 0 0 8px rgba(232, 186, 94, 0.85), 0 0 20px rgba(232, 186, 94, 0.22);
}

@keyframes rebornMoteRise {
    0% { transform: translate3d(0, 20px, 0) scale(0.55); opacity: 0; }
    12% { opacity: 0.54; }
    70% { opacity: 0.22; }
    100% { transform: translate3d(var(--drift), -108vh, 0) scale(1.18); opacity: 0; }
}

/* Navigation and living logo. */
body[data-one2-skin="reborn"] .one2-nav {
    height: 76px;
    background:
        linear-gradient(180deg, rgba(5, 11, 19, 0.93), rgba(5, 11, 19, 0.73)),
        url('/img/one2/nav_bar.png') center / 100% 100% no-repeat;
    border-bottom: 1px solid rgba(93, 184, 232, 0.38);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.52), 0 1px 14px rgba(62, 170, 226, 0.10);
    backdrop-filter: blur(12px);
}

body[data-one2-skin="reborn"] .one2-nav::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 4%, var(--reborn-blue) 35%, var(--reborn-gold-hi) 50%, var(--reborn-blue) 65%, transparent 96%);
    background-size: 160% 100%;
    opacity: 0.75;
    animation: rebornLineTravel 5s ease-in-out infinite alternate;
}

@keyframes rebornLineTravel {
    from { background-position: 0 0; filter: drop-shadow(0 0 2px rgba(83, 195, 245, 0.3)); }
    to { background-position: 100% 0; filter: drop-shadow(0 0 8px rgba(83, 195, 245, 0.8)); }
}

body[data-one2-skin="reborn"] .one2-nav-logo {
    transform: translate(-50%, -20%);
    isolation: isolate;
}

body[data-one2-skin="reborn"] .one2-nav-logo::before,
body[data-one2-skin="reborn"] .one2-nav-logo::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 53%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

body[data-one2-skin="reborn"] .one2-nav-logo::before {
    width: 170px;
    height: 58px;
    z-index: -2;
    background: radial-gradient(ellipse, rgba(87, 197, 247, 0.42), rgba(37, 105, 170, 0.12) 46%, transparent 72%);
    filter: blur(8px);
    animation: rebornLogoAura 3.6s ease-in-out infinite;
}

body[data-one2-skin="reborn"] .one2-nav-logo::after {
    width: 126px;
    height: 126px;
    z-index: -1;
    border: 1px solid rgba(83, 191, 240, 0.20);
    box-shadow: inset 0 0 22px rgba(74, 177, 229, 0.12), 0 0 26px rgba(66, 173, 226, 0.10);
    animation: rebornLogoRing 16s linear infinite;
}

body[data-one2-skin="reborn"] .one2-nav-logo img {
    height: 112px;
    filter: drop-shadow(0 8px 13px rgba(0, 0, 0, 0.82)) drop-shadow(0 0 7px rgba(86, 191, 242, 0.18));
    animation: rebornLogoFloat 5.5s ease-in-out infinite;
}

body[data-one2-skin="reborn"] .one2-nav-logo:hover img {
    transform: scale(1.06);
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.86)) drop-shadow(0 0 13px rgba(95, 205, 255, 0.48));
}

@keyframes rebornLogoAura {
    0%, 100% { opacity: 0.35; transform: translate(-50%, -50%) scale(0.90); }
    50% { opacity: 0.82; transform: translate(-50%, -50%) scale(1.12); }
}

@keyframes rebornLogoRing {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rebornLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

body[data-one2-skin="reborn"] .one2-nav-links li a {
    position: relative;
    height: 76px;
    color: #cbd8e6;
    text-shadow: 0 2px 7px #000;
}

body[data-one2-skin="reborn"] .one2-nav-links li a::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 12px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--reborn-gold), transparent);
    box-shadow: 0 0 8px rgba(224, 181, 98, 0.65);
    transition: left 180ms ease, right 180ms ease;
}

body[data-one2-skin="reborn"] .one2-nav-links li a:hover {
    color: var(--reborn-gold-hi);
    background: none;
}

body[data-one2-skin="reborn"] .one2-nav-links li a:hover::after {
    left: 8px;
    right: 8px;
}

body[data-one2-skin="reborn"] .one2-login-btn,
body[data-one2-skin="reborn"] .one2-lang-current {
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
}

body[data-one2-skin="reborn"] .one2-login-panel,
body[data-one2-skin="reborn"] .one2-lang-list {
    background: rgba(4, 10, 18, 0.94);
    border-color: var(--reborn-line);
    box-shadow: var(--reborn-shadow), inset 0 1px rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
}

/* Page composition: the original world stays visible around and through the UI. */
body[data-one2-skin="reborn"] .one2-hero-area {
    min-height: 520px;
    padding-top: clamp(300px, 34vw, 430px);
}

body[data-one2-skin="reborn"] .one2-hero-overlay {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, transparent 0%, rgba(1, 7, 13, 0.04) 40%, rgba(2, 8, 15, 0.56) 78%, rgba(2, 7, 13, 0.74) 100%),
        radial-gradient(ellipse at center 55%, transparent 0%, rgba(0, 5, 10, 0.16) 76%);
}

body[data-one2-skin="reborn"] .one2-content-wrap {
    max-width: 1300px;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 16px 38px;
}

body[data-one2-skin="reborn"] .one2-left-panel {
    width: 292px;
    gap: 12px;
    position: relative;
}

body[data-one2-skin="reborn"] .one2-center {
    max-width: none;
    border: 1px solid rgba(75, 139, 187, 0.34);
    background: linear-gradient(180deg, rgba(6, 13, 22, 0.72), rgba(4, 9, 16, 0.90));
    box-shadow: var(--reborn-shadow), inset 0 1px rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(8px);
    clip-path: polygon(var(--reborn-cut) 0, calc(100% - var(--reborn-cut)) 0, 100% var(--reborn-cut), 100% calc(100% - var(--reborn-cut)), calc(100% - var(--reborn-cut)) 100%, var(--reborn-cut) 100%, 0 calc(100% - var(--reborn-cut)), 0 var(--reborn-cut));
    overflow: hidden;
}

body[data-one2-skin="reborn"] .one2-mid-panel-wrap {
    background: linear-gradient(180deg, rgba(7, 15, 24, 0.52), rgba(3, 8, 14, 0.86));
}

body[data-one2-skin="reborn"] .one2-mid-panel {
    padding: 14px 16px 22px;
}

/* Unified framed panels. */
body[data-one2-skin="reborn"] .one2-ranking-widget,
body[data-one2-skin="reborn"] .one2-left-panel .card-v2,
body[data-one2-skin="reborn"] .one2-news-item,
body[data-one2-skin="reborn"] .one2-donate-card,
body[data-one2-skin="reborn"] .one2-admin-stat,
body[data-one2-skin="reborn"] .one2-modal-donate,
body[data-one2-skin="reborn"] .modal-card,
body[data-one2-skin="reborn"] .one2-mid-panel > .card,
body[data-one2-skin="reborn"] .one2-rankings-wrap {
    position: relative;
    border: 1px solid rgba(71, 137, 188, 0.38);
    border-radius: 0;
    background: linear-gradient(145deg, rgba(10, 21, 33, 0.90), rgba(4, 9, 16, 0.94));
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34), inset 0 1px rgba(255, 255, 255, 0.035);
    clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
    overflow: hidden;
}

body[data-one2-skin="reborn"] .one2-mid-panel > .card,
body[data-one2-skin="reborn"] .one2-rankings-wrap {
    padding: 14px;
    border-color: rgba(71, 137, 188, 0.38);
    background:
        radial-gradient(circle at 88% 4%, rgba(55, 142, 195, 0.09), transparent 27%),
        linear-gradient(145deg, rgba(9, 20, 32, 0.88), rgba(3, 9, 16, 0.94));
}

body[data-one2-skin="reborn"] .one2-ranking-widget::after,
body[data-one2-skin="reborn"] .one2-left-panel .card-v2::after,
body[data-one2-skin="reborn"] .one2-news-item::after,
body[data-one2-skin="reborn"] .one2-donate-card::after,
body[data-one2-skin="reborn"] .one2-admin-stat::after {
    content: "";
    position: absolute;
    z-index: 4;
    top: -90%;
    left: -48%;
    width: 20%;
    height: 280%;
    pointer-events: none;
    opacity: 0;
    transform: rotate(18deg);
    background: linear-gradient(90deg, transparent, rgba(159, 222, 251, 0.12), transparent);
}

body[data-one2-skin="reborn"] .one2-ranking-widget:hover::after,
body[data-one2-skin="reborn"] .one2-left-panel .card-v2:hover::after,
body[data-one2-skin="reborn"] .one2-news-item:hover::after,
body[data-one2-skin="reborn"] .one2-donate-card:hover::after,
body[data-one2-skin="reborn"] .one2-admin-stat:hover::after {
    opacity: 1;
    left: 135%;
    transition: left 800ms ease, opacity 180ms ease;
}

body[data-one2-skin="reborn"] .one2-ranking-header,
body[data-one2-skin="reborn"] .one2-left-panel .card-header-v2,
body[data-one2-skin="reborn"] .one2-news-topbar,
body[data-one2-skin="reborn"] .modal-overlay .one2-modal-topbar {
    position: relative;
    height: 38px;
    min-height: 38px;
    padding: 0 14px 0 42px;
    background:
        linear-gradient(90deg, rgba(8, 40, 75, 0.97), rgba(12, 73, 125, 0.90) 48%, rgba(7, 25, 47, 0.96)),
        url('/img/one2/news_top_bar.png') center / 100% 100% no-repeat;
    border-bottom: 1px solid rgba(100, 200, 245, 0.56);
    color: #f5f9ff;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 4px 14px rgba(0, 0, 0, 0.25);
}

body[data-one2-skin="reborn"] .one2-ranking-header::after,
body[data-one2-skin="reborn"] .one2-left-panel .card-header-v2::after,
body[data-one2-skin="reborn"] .one2-news-topbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(103, 211, 255, 0.8), rgba(239, 202, 128, 0.72), transparent);
    transform-origin: left;
    animation: rebornHeaderGlow 4s ease-in-out infinite;
}

@keyframes rebornHeaderGlow {
    0%, 100% { opacity: 0.35; transform: scaleX(0.82); }
    50% { opacity: 0.95; transform: scaleX(1); }
}

body[data-one2-skin="reborn"] .one2-ranking-header,
body[data-one2-skin="reborn"] .one2-left-panel .card-header-v2 h3,
body[data-one2-skin="reborn"] .one2-news-title,
body[data-one2-skin="reborn"] .one2-page-heading,
body[data-one2-skin="reborn"] .one2-news-heading {
    color: #f6f9fd;
    font-family: 'CoinageCapsKrugerGray', Georgia, serif;
    letter-spacing: 0.8px;
    text-shadow: 0 2px 7px #000, 0 0 13px rgba(90, 190, 240, 0.10);
}

/* Top players: clearer hierarchy, animated crowns and single-ring portraits. */
body[data-one2-skin="reborn"] .one2-ranking-body {
    padding: 12px 11px 13px;
}

body[data-one2-skin="reborn"] .one2-rank-podium {
    gap: 6px;
    margin-bottom: 10px;
}

body[data-one2-skin="reborn"] .one2-rank-top {
    border: 1px solid rgba(70, 118, 158, 0.52);
    background-image: linear-gradient(180deg, rgba(24, 38, 55, 0.92), rgba(7, 14, 23, 0.94));
    border-radius: 4px;
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease, filter 180ms ease;
}

body[data-one2-skin="reborn"] .one2-rank-top::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 50% 0, rgba(224, 179, 91, 0.20), transparent 54%);
}

body[data-one2-skin="reborn"] .one2-rank-top:hover {
    transform: translateY(-3px);
    border-color: rgba(230, 190, 111, 0.72);
    filter: brightness(1.10);
}

body[data-one2-skin="reborn"] .one2-rank-top-1,
body[data-one2-skin="reborn"] .one2-rank-top-2,
body[data-one2-skin="reborn"] .one2-rank-top-3 {
    width: auto;
    height: 122px;
    flex: 1 1 0;
    margin-bottom: 0;
}

body[data-one2-skin="reborn"] .one2-rank-top-1 {
    height: 138px;
    border-color: rgba(215, 177, 101, 0.66);
}

body[data-one2-skin="reborn"] .one2-rank-top-inner {
    padding: 34px 4px 8px;
}

body[data-one2-skin="reborn"] .one2-rank-top-inner::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 8px;
    width: 30px;
    height: 22px;
    transform: translateX(-50%);
    background: url('/img/one2/mid_left_panel_ranking_1st_player.png') center top / 84px auto no-repeat;
    filter: drop-shadow(0 0 6px rgba(240, 194, 97, 0.55));
    animation: rebornCrownFloat 3s ease-in-out infinite;
}

body[data-one2-skin="reborn"] .one2-rank-top-2 .one2-rank-top-inner::before,
body[data-one2-skin="reborn"] .one2-rank-top-3 .one2-rank-top-inner::before {
    opacity: 0.62;
    transform: translateX(-50%) scale(0.84);
}

@keyframes rebornCrownFloat {
    0%, 100% { margin-top: 0; }
    50% { margin-top: -2px; }
}

body[data-one2-skin="reborn"] .one2-rank-job-icon,
body[data-one2-skin="reborn"] .one2-rank-top-2 .one2-rank-job-icon,
body[data-one2-skin="reborn"] .one2-rank-top-3 .one2-rank-job-icon {
    width: 48px;
    height: 48px;
    flex: none;
    margin: 0 0 5px;
    padding: 2px;
    border: 2px solid rgba(222, 181, 95, 0.82);
    border-radius: 50%;
    object-fit: cover;
    background: rgba(6, 12, 19, 0.86);
    box-shadow:
        0 0 0 2px rgba(28, 72, 104, 0.62),
        0 0 16px rgba(72, 176, 226, 0.16);
}

body[data-one2-skin="reborn"] .one2-rank-name {
    font-size: 12px;
}

body[data-one2-skin="reborn"] .one2-rank-level {
    color: #68d1fb;
    font-weight: 800;
}

body[data-one2-skin="reborn"] .one2-rank-row,
body[data-one2-skin="reborn"] .one2-event-row {
    min-height: 49px;
    height: auto;
    margin-bottom: 4px;
    border: 1px solid rgba(50, 91, 129, 0.24);
    border-left: 2px solid transparent;
    background: linear-gradient(90deg, rgba(16, 28, 43, 0.88), rgba(7, 14, 23, 0.76));
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, filter 180ms ease;
}

body[data-one2-skin="reborn"] .one2-rank-row:hover,
body[data-one2-skin="reborn"] .one2-event-row:hover {
    z-index: 2;
    transform: translateX(4px);
    border-left-color: var(--reborn-blue);
    border-top-color: rgba(74, 154, 210, 0.40);
    border-bottom-color: rgba(74, 154, 210, 0.40);
    background: linear-gradient(90deg, rgba(17, 48, 74, 0.92), rgba(7, 16, 27, 0.82));
    filter: brightness(1.08);
}

body[data-one2-skin="reborn"] .one2-rank-job-icon-sm {
    width: 34px;
    height: 34px;
    padding: 2px;
    border: 1px solid rgba(99, 166, 207, 0.64);
    border-radius: 50%;
    object-fit: cover;
    background: rgba(2, 8, 14, 0.72);
    box-shadow:
        0 0 0 1px rgba(214, 170, 86, 0.20),
        inset 0 0 8px rgba(78, 183, 234, 0.08);
}

body[data-one2-skin="reborn"] .one2-event-icon {
    width: 31px;
    height: 31px;
    padding: 2px;
    border: 1px solid rgba(77, 139, 183, 0.34);
    background: rgba(2, 8, 14, 0.56);
    box-shadow: inset 0 0 8px rgba(78, 183, 234, 0.06);
}

body[data-one2-skin="reborn"] .one2-rank-name-sm,
body[data-one2-skin="reborn"] .one2-event-name {
    color: #edf6ff;
    font-size: 13px;
}

body[data-one2-skin="reborn"] .one2-rank-guild-sm,
body[data-one2-skin="reborn"] .one2-event-time {
    color: var(--reborn-muted);
    font-size: 10px;
}

body[data-one2-skin="reborn"] .one2-rank-lvl-badge {
    color: #f3f8ff;
    text-shadow: 0 1px 5px #000;
    filter: drop-shadow(0 0 6px rgba(68, 164, 220, 0.12));
}

body[data-one2-skin="reborn"] .one2-event-status.is-active {
    animation: rebornLivePulse 1.9s ease-in-out infinite;
}

@keyframes rebornLivePulse {
    0%, 100% { box-shadow: 0 0 0 rgba(80, 222, 142, 0); }
    50% { box-shadow: 0 0 14px rgba(80, 222, 142, 0.30); }
}

body[data-one2-skin="reborn"] .one2-events-arrow {
    transition: transform 160ms ease, filter 160ms ease;
}

body[data-one2-skin="reborn"] .one2-events-arrow:hover:not(:disabled) {
    transform: scale(1.12);
    filter: brightness(1.35) drop-shadow(0 0 6px rgba(84, 190, 239, 0.45));
}

/* Central command deck and stat icons. */
body[data-one2-skin="reborn"] .one2-mid-nav {
    position: relative;
    min-height: 96px;
    border-radius: 0;
    border-bottom: 1px solid rgba(74, 150, 203, 0.42);
    background: linear-gradient(180deg, rgba(8, 17, 28, 0.96), rgba(4, 10, 18, 0.91));
}

body[data-one2-skin="reborn"] .one2-mid-nav::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, #4ec4f6 22%, #e1b968 50%, #4ec4f6 78%, transparent);
    animation: rebornLineTravel 4s ease-in-out infinite alternate;
}

body[data-one2-skin="reborn"] .one2-nav-btn-discord,
body[data-one2-skin="reborn"] .one2-nav-btn-itemshop,
body[data-one2-skin="reborn"] .one2-nav-btn-download {
    width: 120px;
    height: 96px;
    border-right: 1px solid rgba(61, 119, 161, 0.28);
    background: radial-gradient(circle at 50% 38%, rgba(46, 143, 202, 0.18), transparent 56%);
    overflow: hidden;
}

body[data-one2-skin="reborn"] .one2-nav-btn > span {
    max-width: 100%;
    white-space: nowrap;
    text-align: center;
    line-height: 1.15;
}

body[data-one2-skin="reborn"] .one2-nav-btn-itemshop {
    width: 150px;
}

body[data-one2-skin="reborn"] .one2-nav-btn-itemshop > span {
    font-size: 9px;
    letter-spacing: 0.25px;
}

body[data-one2-skin="reborn"] .one2-nav-btn::after {
    content: "";
    position: absolute;
    top: -65%;
    left: -45%;
    width: 22%;
    height: 230%;
    transform: rotate(18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    transition: left 520ms ease;
}

body[data-one2-skin="reborn"] .one2-nav-btn:hover::after { left: 130%; }

body[data-one2-skin="reborn"] .one2-nav-btn img {
    transition: transform 190ms ease, filter 190ms ease;
}

body[data-one2-skin="reborn"] .one2-nav-btn:hover img {
    transform: translateY(-3px) scale(1.07);
    filter: drop-shadow(0 0 10px rgba(102, 205, 250, 0.52));
}

body[data-one2-skin="reborn"] .one2-stat-item {
    position: relative;
    min-width: 88px;
    padding: 7px 10px;
}

body[data-one2-skin="reborn"] .one2-stat-item img {
    max-height: 24px;
    filter: drop-shadow(0 0 7px rgba(73, 177, 230, 0.22));
    transition: transform 180ms ease, filter 180ms ease;
}

body[data-one2-skin="reborn"] .one2-stat-item:hover img {
    transform: translateY(-2px) scale(1.08);
    filter: drop-shadow(0 0 11px rgba(91, 199, 246, 0.52));
}

body[data-one2-skin="reborn"] .one2-stat-val {
    color: #eef7ff;
    text-shadow: 0 0 14px rgba(83, 190, 240, 0.22);
}

body[data-one2-skin="reborn"] .one2-stat-label {
    color: #809ab4;
}

/* Page headings. */
body[data-one2-skin="reborn"] .one2-news-heading,
body[data-one2-skin="reborn"] .one2-page-heading {
    position: relative;
    padding: 24px 17px 11px;
    color: var(--reborn-gold-hi);
    font-size: 19px;
}

body[data-one2-skin="reborn"] .one2-news-heading::before,
body[data-one2-skin="reborn"] .one2-page-heading::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 10px 2px 0;
    transform: rotate(45deg);
    border: 1px solid var(--reborn-gold);
    box-shadow: 0 0 8px rgba(225, 183, 100, 0.46);
}

body[data-one2-skin="reborn"] .one2-nav-separator,
body[data-one2-skin="reborn"] .one2-banner-separator,
body[data-one2-skin="reborn"] .one2-rankings-sep {
    height: 1px;
    object-fit: cover;
    opacity: 0.66;
    filter: drop-shadow(0 0 5px rgba(85, 190, 239, 0.30));
}

/* News index and detail. */
body[data-one2-skin="reborn"] .one2-news-list,
body[data-one2-skin="reborn"] .one2-news-index-list {
    gap: 12px;
}

body[data-one2-skin="reborn"] .one2-news-item {
    transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

body[data-one2-skin="reborn"] .one2-news-item:hover {
    transform: translateY(-2px);
    border-color: rgba(89, 183, 234, 0.58);
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.38), 0 0 22px rgba(72, 170, 222, 0.06);
}

body[data-one2-skin="reborn"] .one2-news-topbar {
    padding-left: 15px;
}

body[data-one2-skin="reborn"] .one2-news-category {
    position: static;
    left: auto;
    margin-left: auto;
    transform: none;
}

body[data-one2-skin="reborn"] .one2-news-title {
    font-size: 16px;
}

body[data-one2-skin="reborn"] .one2-news-body,
body[data-one2-skin="reborn"] .one2-news-body-full,
body[data-one2-skin="reborn"] .one2-auth-body,
body[data-one2-skin="reborn"] .one2-download-body {
    min-height: 0;
    background:
        radial-gradient(circle at 88% 10%, rgba(54, 133, 187, 0.10), transparent 31%),
        linear-gradient(145deg, rgba(10, 20, 32, 0.88), rgba(4, 9, 16, 0.95));
}

body[data-one2-skin="reborn"] .one2-news-body {
    padding: 14px 17px 16px;
}

body[data-one2-skin="reborn"] .one2-news-body.has-media {
    position: relative;
    isolation: isolate;
    min-height: clamp(230px, 23vw, 315px);
    justify-content: flex-end;
    overflow: hidden;
    padding: 0;
    background: #030912;
}

body[data-one2-skin="reborn"] .one2-news-cover {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
}

body[data-one2-skin="reborn"] .one2-news-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.002);
    transition: transform 650ms ease, filter 350ms ease;
}

body[data-one2-skin="reborn"] .one2-news-body.has-media::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(2, 7, 13, 0.02) 28%, rgba(2, 7, 13, 0.18) 54%, rgba(2, 7, 13, 0.96) 100%),
        linear-gradient(90deg, rgba(2, 7, 13, 0.20), transparent 38%);
}

body[data-one2-skin="reborn"] .one2-news-item:hover .one2-news-cover img {
    transform: scale(1.025);
    filter: saturate(1.06) brightness(1.04);
}

body[data-one2-skin="reborn"] .one2-news-body.has-media .one2-news-excerpt {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 74px 18px 17px;
    color: #e1ebf5;
    font-size: 13px;
    line-height: 1.55;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.95);
}

body[data-one2-skin="reborn"] .one2-news-excerpt,
body[data-one2-skin="reborn"] .one2-news-full-content {
    color: #afc0d2;
    line-height: 1.68;
}

body[data-one2-skin="reborn"] .one2-news-full-content img {
    border: 1px solid rgba(76, 147, 196, 0.42);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

body[data-one2-skin="reborn"] .one2-news-cattab,
body[data-one2-skin="reborn"] .one2-account-nav-tab,
body[data-one2-skin="reborn"] .tab {
    position: relative;
    border-radius: 0;
    border-color: rgba(65, 128, 174, 0.40);
    background: rgba(4, 12, 21, 0.72);
    color: #8198af;
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
    transition: color 170ms ease, border-color 170ms ease, background 170ms ease, transform 170ms ease;
}

body[data-one2-skin="reborn"] .one2-news-cattab:hover,
body[data-one2-skin="reborn"] .one2-news-cattab.active,
body[data-one2-skin="reborn"] .one2-account-nav-tab:hover,
body[data-one2-skin="reborn"] .one2-account-nav-tab.active,
body[data-one2-skin="reborn"] .tab:hover,
body[data-one2-skin="reborn"] .tab.active {
    transform: translateY(-1px);
    color: var(--reborn-gold-hi);
    border-color: rgba(213, 174, 97, 0.72);
    background: linear-gradient(180deg, rgba(120, 82, 35, 0.20), rgba(18, 20, 24, 0.78));
    box-shadow: inset 0 0 17px rgba(220, 176, 91, 0.06), 0 0 12px rgba(220, 176, 91, 0.05);
}

body[data-one2-skin="reborn"] .one2-news-readmore,
body[data-one2-skin="reborn"] .one2-auth-btn,
body[data-one2-skin="reborn"] .one2-donate-buy-btn {
    filter: drop-shadow(0 5px 9px rgba(0, 0, 0, 0.36));
    transition: transform 160ms ease, filter 160ms ease;
}

body[data-one2-skin="reborn"] .one2-news-readmore:hover,
body[data-one2-skin="reborn"] .one2-auth-btn:hover,
body[data-one2-skin="reborn"] .one2-donate-buy-btn:hover {
    opacity: 1;
    transform: translateY(-1px);
    filter: brightness(1.23) drop-shadow(0 0 8px rgba(94, 194, 240, 0.22));
}

/* Forms, account pages, payments and download. */
body[data-one2-skin="reborn"] .one2-account-nav {
    gap: 6px;
    margin-bottom: 13px;
}

body[data-one2-skin="reborn"] .one2-account-nav-tab {
    min-height: 31px;
    padding: 6px 11px;
}

body[data-one2-skin="reborn"] .one2-account-nav-tab i {
    color: #6ecdf6;
    filter: drop-shadow(0 0 5px rgba(89, 193, 240, 0.25));
}

body[data-one2-skin="reborn"] .one2-input,
body[data-one2-skin="reborn"] .input,
body[data-one2-skin="reborn"] select.input,
body[data-one2-skin="reborn"] textarea.input {
    border: 1px solid rgba(72, 141, 190, 0.48);
    border-radius: 0;
    background: rgba(3, 10, 18, 0.72);
    color: #e1ebf5;
    box-shadow: inset 0 1px 7px rgba(0, 0, 0, 0.26);
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

body[data-one2-skin="reborn"] .one2-input:focus,
body[data-one2-skin="reborn"] .input:focus,
body[data-one2-skin="reborn"] select.input:focus,
body[data-one2-skin="reborn"] textarea.input:focus {
    border-color: rgba(91, 200, 248, 0.82);
    background: rgba(5, 16, 27, 0.86);
    box-shadow: 0 0 0 2px rgba(76, 181, 232, 0.08), inset 0 1px 7px rgba(0, 0, 0, 0.24);
}

body[data-one2-skin="reborn"] .one2-acct-info-grid {
    gap: 8px;
}

body[data-one2-skin="reborn"] .one2-acct-info-item {
    min-height: 58px;
    padding: 9px 11px;
    border: 1px solid rgba(62, 122, 165, 0.28);
    background: rgba(4, 11, 19, 0.46);
    transition: transform 170ms ease, border-color 170ms ease, background 170ms ease;
}

body[data-one2-skin="reborn"] .one2-acct-info-item:hover {
    transform: translateY(-2px);
    border-color: rgba(78, 169, 222, 0.52);
    background: rgba(11, 29, 44, 0.64);
}

body[data-one2-skin="reborn"] .one2-acct-info-item > i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(79, 159, 208, 0.42);
    transform: rotate(45deg);
    background: linear-gradient(145deg, rgba(24, 76, 112, 0.52), rgba(3, 12, 21, 0.82));
    box-shadow: inset 0 0 12px rgba(85, 189, 238, 0.08), 0 0 12px rgba(85, 189, 238, 0.06);
}

body[data-one2-skin="reborn"] .one2-acct-info-item > i::before {
    display: block;
    transform: rotate(-45deg);
}

body[data-one2-skin="reborn"] .one2-download-row,
body[data-one2-skin="reborn"] .one2-payment-row,
body[data-one2-skin="reborn"] .one2-method-btn {
    border: 1px solid rgba(58, 112, 154, 0.30);
    background: rgba(5, 14, 24, 0.58);
    transition: transform 170ms ease, border-color 170ms ease, background 170ms ease;
}

body[data-one2-skin="reborn"] .one2-download-row:hover,
body[data-one2-skin="reborn"] .one2-payment-row:hover,
body[data-one2-skin="reborn"] .one2-method-btn:hover {
    transform: translateX(3px);
    border-color: rgba(80, 179, 230, 0.54);
    background: rgba(12, 35, 53, 0.72);
}

/* Characters: visual cards instead of flat blue rows. */
body[data-one2-skin="reborn"] .one2-char-grid,
body[data-one2-skin="reborn"] .one2-char-grid-full {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

body[data-one2-skin="reborn"] .one2-char-card,
body[data-one2-skin="reborn"] .one2-char-card-full {
    position: relative;
    display: flex;
    min-height: 96px;
    align-items: center;
    gap: 13px;
    padding: 13px;
    border: 1px solid rgba(66, 128, 174, 0.36);
    background:
        radial-gradient(circle at 8% 20%, rgba(54, 149, 205, 0.15), transparent 34%),
        linear-gradient(145deg, rgba(13, 28, 43, 0.90), rgba(4, 10, 18, 0.94));
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.03);
    clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
    overflow: hidden;
    transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

body[data-one2-skin="reborn"] .one2-char-card::before,
body[data-one2-skin="reborn"] .one2-char-card-full::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(transparent, var(--reborn-blue), var(--reborn-gold), transparent);
    opacity: 0.72;
}

body[data-one2-skin="reborn"] .one2-char-card:hover,
body[data-one2-skin="reborn"] .one2-char-card-full:hover {
    transform: translateY(-3px);
    border-color: rgba(86, 190, 237, 0.66);
    box-shadow: 0 17px 30px rgba(0, 0, 0, 0.34), 0 0 20px rgba(65, 169, 221, 0.08);
}

body[data-one2-skin="reborn"] .one2-char-card-top {
    min-width: 150px;
}

body[data-one2-skin="reborn"] .one2-char-avatar,
body[data-one2-skin="reborn"] .one2-char-card-top .one2-char-avatar {
    width: 58px;
    height: 58px;
    padding: 5px;
    border: 1px solid rgba(218, 174, 93, 0.70);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(30, 72, 103, 0.68), rgba(4, 10, 17, 0.92));
    box-shadow: inset 0 0 15px rgba(78, 182, 232, 0.10), 0 0 16px rgba(226, 181, 96, 0.10);
    transition: transform 240ms ease, filter 240ms ease;
}

body[data-one2-skin="reborn"] .one2-char-card:hover .one2-char-avatar,
body[data-one2-skin="reborn"] .one2-char-card-full:hover .one2-char-avatar {
    transform: scale(1.055) rotate(-2deg);
    filter: brightness(1.10) drop-shadow(0 0 8px rgba(79, 187, 237, 0.24));
}

body[data-one2-skin="reborn"] .one2-char-name,
body[data-one2-skin="reborn"] .one2-char-card-top .one2-char-name {
    min-width: 0;
    color: #ffe0a1;
    font-family: 'CoinageCapsKrugerGray', Georgia, serif;
    font-size: 15px;
    text-shadow: 0 2px 5px #000;
}

body[data-one2-skin="reborn"] .one2-char-race,
body[data-one2-skin="reborn"] .one2-char-card-top .one2-char-race {
    margin-top: 3px;
    color: var(--reborn-muted);
    font-size: 10px;
}

body[data-one2-skin="reborn"] .one2-char-stats,
body[data-one2-skin="reborn"] .one2-char-stats-full {
    display: grid;
    grid-template-columns: repeat(2, minmax(70px, 1fr));
    gap: 5px;
    margin-left: auto;
}

body[data-one2-skin="reborn"] .one2-char-stat,
body[data-one2-skin="reborn"] .one2-char-stats-full .one2-char-stat {
    display: flex;
    min-height: 29px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 7px;
    border: 1px solid rgba(61, 116, 157, 0.24);
    background: rgba(3, 10, 17, 0.46);
    color: #7189a1;
    font-size: 9px;
    text-transform: uppercase;
}

body[data-one2-skin="reborn"] .one2-char-stat span:last-child {
    color: #e9f4ff;
    font-size: 11px;
    text-transform: none;
}

body[data-one2-skin="reborn"] .one2-debug-btn,
body[data-one2-skin="reborn"] .one2-danger-btn,
body[data-one2-skin="reborn"] .one2-admin-action-btn,
body[data-one2-skin="reborn"] .btn {
    border-radius: 0;
    clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}

/* Rankings and data tables. */
body[data-one2-skin="reborn"] .table,
body[data-one2-skin="reborn"] .one2-admin-table {
    overflow: hidden;
    border: 1px solid rgba(62, 123, 168, 0.28);
    background: rgba(3, 9, 16, 0.46);
}

body[data-one2-skin="reborn"] .table thead th,
body[data-one2-skin="reborn"] .thead-inverse th,
body[data-one2-skin="reborn"] .one2-admin-table thead th {
    padding: 9px 10px !important;
    color: #e4c37e;
    background: linear-gradient(180deg, rgba(15, 48, 76, 0.88), rgba(6, 22, 38, 0.92));
    border-bottom: 1px solid rgba(74, 153, 206, 0.44);
}

body[data-one2-skin="reborn"] .table td,
body[data-one2-skin="reborn"] .one2-admin-table tbody td {
    padding: 8px 10px !important;
    border-color: rgba(50, 101, 139, 0.25);
    color: #bed0e1;
}

body[data-one2-skin="reborn"] .table tbody tr,
body[data-one2-skin="reborn"] .one2-admin-table tbody tr {
    transition: background 150ms ease, transform 150ms ease;
}

body[data-one2-skin="reborn"] .table tbody tr:hover,
body[data-one2-skin="reborn"] .one2-admin-table tbody tr:hover td {
    background: rgba(17, 55, 82, 0.48);
}

/* Reborn rankings: podium highlights with compact, readable progression rows. */
body[data-one2-skin="reborn"] .one2-rankings-modern {
    padding: 12px;
    border-color: rgba(83, 166, 219, 0.48);
    background:
        radial-gradient(circle at 50% -12%, rgba(48, 142, 202, 0.18), transparent 34%),
        linear-gradient(145deg, rgba(7, 18, 30, 0.96), rgba(2, 8, 15, 0.98));
}

body[data-one2-skin="reborn"] .one2-ranking-toolbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
    padding: 11px 12px;
    border: 1px solid rgba(71, 147, 200, 0.34);
    background:
        linear-gradient(90deg, rgba(12, 46, 76, 0.72), rgba(4, 15, 26, 0.82)),
        radial-gradient(circle at 12% 50%, rgba(95, 195, 239, 0.10), transparent 32%);
    clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}

body[data-one2-skin="reborn"] .one2-ranking-toolbar::after {
    content: "";
    position: absolute;
    right: 12px;
    bottom: 0;
    left: 12px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(87, 195, 242, 0.56), rgba(225, 185, 104, 0.52), transparent);
}

body[data-one2-skin="reborn"] .one2-ranking-toolbar-title,
body[data-one2-skin="reborn"] .one2-ranking-toolbar-copy,
body[data-one2-skin="reborn"] .one2-ranking-tabs,
body[data-one2-skin="reborn"] .one2-ranking-tab,
body[data-one2-skin="reborn"] .one2-ranking-empire-value {
    display: flex;
    align-items: center;
}

body[data-one2-skin="reborn"] .one2-ranking-toolbar-title { min-width: 0; gap: 10px; }

body[data-one2-skin="reborn"] .one2-ranking-toolbar-icon {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border: 1px solid rgba(218, 178, 99, 0.62);
    color: var(--reborn-gold-hi);
    background: radial-gradient(circle, rgba(221, 179, 93, 0.20), rgba(12, 31, 48, 0.74));
    box-shadow: inset 0 0 14px rgba(230, 188, 101, 0.08), 0 0 15px rgba(73, 179, 228, 0.08);
    clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}

body[data-one2-skin="reborn"] .one2-ranking-toolbar-copy {
    min-width: 0;
    align-items: flex-start;
    flex-direction: column;
    line-height: 1.15;
}

body[data-one2-skin="reborn"] .one2-ranking-toolbar-copy strong {
    overflow: hidden;
    max-width: 100%;
    color: #f3f8fd;
    font-family: "CoinageCapsKrugerGray", Georgia, serif;
    font-size: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-one2-skin="reborn"] .one2-ranking-toolbar-copy small {
    margin-top: 4px;
    color: #7391ac;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

body[data-one2-skin="reborn"] .one2-ranking-tabs { gap: 6px; }

body[data-one2-skin="reborn"] .one2-ranking-tab {
    position: relative;
    min-height: 34px;
    gap: 7px;
    padding: 0 13px;
    border: 1px solid rgba(68, 130, 174, 0.40);
    color: #819bb3;
    background: rgba(3, 12, 21, 0.72);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
    transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

body[data-one2-skin="reborn"] .one2-ranking-tab:hover,
body[data-one2-skin="reborn"] .one2-ranking-tab.active {
    transform: translateY(-1px);
    border-color: rgba(225, 184, 99, 0.72);
    color: #ffe4a6;
    background: linear-gradient(180deg, rgba(115, 78, 32, 0.28), rgba(11, 23, 34, 0.84));
    box-shadow: inset 0 0 18px rgba(226, 181, 89, 0.06), 0 0 13px rgba(225, 181, 89, 0.06);
}

body[data-one2-skin="reborn"] .one2-ranking-podium-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 10px;
    margin-bottom: 12px;
}

body[data-one2-skin="reborn"] .one2-ranking-podium-card {
    --rank-color: #7899b4;
    --rank-glow: rgba(120, 153, 180, 0.18);
    position: relative;
    min-width: 0;
    min-height: 242px;
    overflow: hidden;
    padding: 18px 12px 12px;
    border: 1px solid rgba(75, 143, 190, 0.44);
    background:
        radial-gradient(circle at 50% 18%, rgba(71, 170, 222, 0.14), transparent 34%),
        linear-gradient(155deg, rgba(13, 31, 48, 0.94), rgba(3, 10, 18, 0.98));
    clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 9px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px), 0 9px);
    transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

body[data-one2-skin="reborn"] .one2-ranking-podium-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, 0.045) 48%, transparent 70%),
        linear-gradient(180deg, var(--rank-glow), transparent 34%);
    opacity: 0.76;
}

body[data-one2-skin="reborn"] .one2-ranking-podium-card:hover {
    transform: translateY(-4px);
    border-color: var(--rank-color);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.38), 0 0 22px var(--rank-glow);
}

body[data-one2-skin="reborn"] .one2-ranking-podium-card.rank-1 {
    --rank-color: #e0b85f;
    --rank-glow: rgba(224, 184, 95, 0.22);
    min-height: 262px;
    border-color: rgba(224, 184, 95, 0.68);
    background:
        radial-gradient(circle at 50% 17%, rgba(228, 187, 92, 0.20), transparent 37%),
        linear-gradient(155deg, rgba(48, 38, 22, 0.72), rgba(4, 12, 20, 0.98) 63%);
    box-shadow: inset 0 0 24px rgba(228, 183, 86, 0.05), 0 13px 30px rgba(0, 0, 0, 0.35);
}

body[data-one2-skin="reborn"] .one2-ranking-podium-card.rank-2 { --rank-color: #b8cede; --rank-glow: rgba(184, 206, 222, 0.18); }
body[data-one2-skin="reborn"] .one2-ranking-podium-card.rank-3 { --rank-color: #c78658; --rank-glow: rgba(199, 134, 88, 0.18); }

body[data-one2-skin="reborn"] .one2-ranking-medal {
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--rank-color);
    font-size: 12px;
    text-shadow: 0 0 10px var(--rank-glow);
}

body[data-one2-skin="reborn"] .one2-ranking-medal b { font-size: 10px; letter-spacing: 0.4px; }

body[data-one2-skin="reborn"] .one2-ranking-avatar-wrap {
    position: relative;
    z-index: 1;
    width: 78px;
    height: 78px;
    margin: 3px auto 8px;
    padding: 4px;
    border: 1px solid var(--rank-color);
    border-radius: 50%;
    background: rgba(2, 8, 14, 0.92);
    box-shadow: 0 0 22px var(--rank-glow), inset 0 0 10px rgba(255, 255, 255, 0.04);
}

body[data-one2-skin="reborn"] .rank-1 .one2-ranking-avatar-wrap { width: 88px; height: 88px; }

body[data-one2-skin="reborn"] .one2-ranking-avatar {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

body[data-one2-skin="reborn"] .one2-ranking-podium-identity {
    position: relative;
    z-index: 1;
    min-width: 0;
    margin-bottom: 10px;
    text-align: center;
}

body[data-one2-skin="reborn"] .one2-ranking-podium-identity h3 {
    overflow: hidden;
    margin: 0;
    color: #f4f8fc;
    font-family: "CoinageCapsKrugerGray", Georgia, serif;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-one2-skin="reborn"] .rank-1 .one2-ranking-podium-identity h3 {
    color: #ffe3a1;
    font-size: 18px;
}

body[data-one2-skin="reborn"] .one2-ranking-podium-identity p {
    overflow: hidden;
    margin: 4px 0 0;
    color: #7996af;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-one2-skin="reborn"] .one2-ranking-podium-stats,
body[data-one2-skin="reborn"] .one2-ranking-list-stats {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
}

body[data-one2-skin="reborn"] .one2-ranking-podium-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

body[data-one2-skin="reborn"] .one2-ranking-stat {
    min-width: 0;
    padding: 7px 8px;
    border: 1px solid rgba(54, 111, 151, 0.25);
    background: rgba(1, 7, 13, 0.48);
}

body[data-one2-skin="reborn"] .one2-ranking-stat > span {
    display: block;
    overflow: hidden;
    margin-bottom: 3px;
    color: #66849f;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.45px;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

body[data-one2-skin="reborn"] .one2-ranking-stat > strong {
    display: block;
    overflow: hidden;
    color: #d9e5f0;
    font-size: 10px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-one2-skin="reborn"] .one2-ranking-level-value { color: #f0c86e !important; font-size: 13px !important; }
body[data-one2-skin="reborn"] .one2-ranking-empire-value { gap: 5px; }
body[data-one2-skin="reborn"] .one2-ranking-empire-value img { width: 20px; height: 14px; flex: 0 0 auto; object-fit: cover; }

body[data-one2-skin="reborn"] .one2-ranking-guild-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body[data-one2-skin="reborn"] .one2-ranking-guild-stats .one2-ranking-stat-wide { grid-column: 1 / -1; text-align: center; }

body[data-one2-skin="reborn"] .one2-ranking-guild-emblem {
    position: relative;
    z-index: 1;
    display: grid;
    width: 82px;
    height: 88px;
    margin: 2px auto 5px;
    place-items: center;
    color: var(--rank-color);
    filter: drop-shadow(0 0 12px var(--rank-glow));
}

body[data-one2-skin="reborn"] .one2-ranking-guild-emblem > i { font-size: 72px; }

body[data-one2-skin="reborn"] .one2-ranking-guild-emblem > span {
    position: absolute;
    top: 31px;
    color: #07111b;
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: 900;
    text-shadow: 0 1px rgba(255, 255, 255, 0.22);
    text-transform: uppercase;
}

body[data-one2-skin="reborn"] .one2-ranking-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 7px;
}

body[data-one2-skin="reborn"] .one2-ranking-list-row {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(150px, 1fr) minmax(390px, 2.25fr);
    align-items: center;
    gap: 10px;
    min-height: 62px;
    padding: 7px 9px;
    border: 1px solid rgba(53, 111, 153, 0.27);
    background:
        linear-gradient(90deg, rgba(13, 31, 47, 0.86), rgba(3, 11, 19, 0.91)),
        radial-gradient(circle at 8% 50%, rgba(75, 176, 225, 0.08), transparent 23%);
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
    transition: transform 170ms ease, border-color 170ms ease, background 170ms ease, box-shadow 170ms ease;
}

body[data-one2-skin="reborn"] .one2-ranking-list-row:hover {
    transform: translateX(3px);
    border-color: rgba(88, 181, 230, 0.56);
    background: linear-gradient(90deg, rgba(15, 47, 72, 0.90), rgba(4, 15, 25, 0.94));
    box-shadow: -3px 0 0 rgba(226, 184, 98, 0.65), 0 10px 22px rgba(0, 0, 0, 0.23);
}

body[data-one2-skin="reborn"] .one2-ranking-list-position {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid rgba(203, 166, 91, 0.44);
    color: #e0bd74;
    background: rgba(75, 53, 24, 0.18);
    font-size: 12px;
    font-weight: 900;
    clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}

body[data-one2-skin="reborn"] .one2-ranking-list-identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
}

body[data-one2-skin="reborn"] .one2-ranking-list-identity > img {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border: 1px solid rgba(216, 177, 96, 0.48);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 12px rgba(69, 172, 222, 0.10);
}

body[data-one2-skin="reborn"] .one2-ranking-list-identity > span:not(.one2-ranking-guild-emblem-small) {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

body[data-one2-skin="reborn"] .one2-ranking-list-identity strong {
    overflow: hidden;
    color: #eaf2f9;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-one2-skin="reborn"] .one2-ranking-list-identity small {
    overflow: hidden;
    margin-top: 3px;
    color: #708ba3;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body[data-one2-skin="reborn"] .one2-ranking-guild-emblem-small {
    position: relative;
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    color: #c9a85f;
    filter: drop-shadow(0 0 7px rgba(220, 181, 95, 0.18));
}

body[data-one2-skin="reborn"] .one2-ranking-guild-emblem-small i { font-size: 36px; }
body[data-one2-skin="reborn"] .one2-ranking-guild-emblem-small b { position: absolute; top: 12px; color: #08131e; font-size: 9px; text-transform: uppercase; }

body[data-one2-skin="reborn"] .one2-ranking-empty {
    display: grid;
    min-height: 190px;
    place-content: center;
    gap: 9px;
    border: 1px dashed rgba(70, 137, 184, 0.31);
    color: #718ca4;
    text-align: center;
}

body[data-one2-skin="reborn"] .one2-ranking-empty i { color: #b59757; font-size: 28px; }

body[data-one2-skin="reborn"] .one2-ranking-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid rgba(67, 135, 181, 0.30);
}

body[data-one2-skin="reborn"] .one2-ranking-page-current {
    min-width: 68px;
    color: #8ba2b8;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

body[data-one2-skin="reborn"] .one2-ranking-page-button { min-width: 94px; justify-content: center; }

body[data-one2-skin="reborn"] .one2-ranking-admin-sort {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #819ab1;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

body[data-one2-skin="reborn"] .one2-ranking-admin-sort .one2-gold-sort-btn {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 1px solid rgba(71, 137, 183, 0.38);
    color: #84a1b9;
    background: rgba(3, 11, 19, 0.72);
}

body[data-one2-skin="reborn"] .one2-ranking-admin-sort .one2-gold-sort-btn:hover,
body[data-one2-skin="reborn"] .one2-ranking-admin-sort .one2-gold-sort-btn.active {
    border-color: rgba(221, 179, 93, 0.68);
    color: #ffdfa0;
}

@media (max-width: 900px) {
    body[data-one2-skin="reborn"] .one2-ranking-toolbar { align-items: flex-start; flex-wrap: wrap; }
    body[data-one2-skin="reborn"] .one2-ranking-list-row { grid-template-columns: 38px minmax(130px, 0.8fr) minmax(330px, 2fr); gap: 7px; }
    body[data-one2-skin="reborn"] .one2-ranking-stat { padding-inline: 6px; }
}

@media (max-width: 700px) {
    body[data-one2-skin="reborn"] .one2-rankings-modern { padding: 8px; }
    body[data-one2-skin="reborn"] .one2-ranking-toolbar { padding: 9px; }
    body[data-one2-skin="reborn"] .one2-ranking-podium-grid { grid-template-columns: 1fr; align-items: stretch; }
    body[data-one2-skin="reborn"] .one2-ranking-podium-grid .rank-1 { order: -1; }
    body[data-one2-skin="reborn"] .one2-ranking-podium-card,
    body[data-one2-skin="reborn"] .one2-ranking-podium-card.rank-1 { min-height: 0; }
    body[data-one2-skin="reborn"] .one2-ranking-list-row { grid-template-columns: 38px minmax(0, 1fr); padding: 8px; }
    body[data-one2-skin="reborn"] .one2-ranking-list-stats { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body[data-one2-skin="reborn"] .one2-ranking-list-position { width: 30px; height: 30px; }
}

@media (max-width: 460px) {
    body[data-one2-skin="reborn"] .one2-ranking-toolbar-title { width: 100%; }
    body[data-one2-skin="reborn"] .one2-ranking-tabs { width: 100%; }
    body[data-one2-skin="reborn"] .one2-ranking-tab { min-width: 0; flex: 1 1 0; justify-content: center; padding-inline: 7px; }
    body[data-one2-skin="reborn"] .one2-ranking-toolbar-copy strong { font-size: 13px; }
    body[data-one2-skin="reborn"] .one2-ranking-avatar-wrap { width: 70px; height: 70px; }
    body[data-one2-skin="reborn"] .rank-1 .one2-ranking-avatar-wrap { width: 78px; height: 78px; }
    body[data-one2-skin="reborn"] .one2-ranking-list-stats { gap: 4px; }
    body[data-one2-skin="reborn"] .one2-ranking-stat > strong { font-size: 9px; }
    body[data-one2-skin="reborn"] .one2-ranking-pagination { gap: 6px; }
    body[data-one2-skin="reborn"] .one2-ranking-page-button { min-width: 0; padding-inline: 9px; }
}

/* Modal and footer treatment. */
body[data-one2-skin="reborn"] .modal-overlay {
    background: rgba(1, 5, 10, 0.78);
    backdrop-filter: blur(7px);
}

body[data-one2-skin="reborn"] .one2-footer {
    position: relative;
    border-top: 1px solid rgba(70, 145, 195, 0.34);
    background: rgba(3, 8, 14, 0.91);
    box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
}

body[data-one2-skin="reborn"] .one2-footer::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(80, 185, 235, 0.62), rgba(219, 179, 102, 0.50), transparent);
}

/* Entry reveal is progressive enhancement; content remains visible without JS. */
body[data-one2-skin="reborn"].reborn-enhanced .reborn-reveal {
    opacity: 0;
    transform: translateY(14px);
}

body[data-one2-skin="reborn"].reborn-enhanced .reborn-reveal.reborn-in-view {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 520ms ease, transform 520ms cubic-bezier(.2, .75, .25, 1);
}

body[data-one2-skin="reborn"].reborn-paused *,
body[data-one2-skin="reborn"].reborn-paused *::before,
body[data-one2-skin="reborn"].reborn-paused *::after {
    animation-play-state: paused !important;
}

@media (max-width: 1100px) {
    body[data-one2-skin="reborn"] .one2-content-wrap { gap: 10px; }
    body[data-one2-skin="reborn"] .one2-left-panel { width: 250px; }
    body[data-one2-skin="reborn"] .one2-underbar-left { left: 14px; }
    body[data-one2-skin="reborn"] .one2-underbar-right { left: auto; right: 14px; }
    body[data-one2-skin="reborn"] .one2-nav-btn-discord,
    body[data-one2-skin="reborn"] .one2-nav-btn-download { width: 104px; }
    body[data-one2-skin="reborn"] .one2-nav-btn-itemshop { width: 122px; }
    body[data-one2-skin="reborn"] .one2-stat-item { min-width: 72px; padding-inline: 6px; }
    body[data-one2-skin="reborn"] .one2-char-grid,
    body[data-one2-skin="reborn"] .one2-char-grid-full { grid-template-columns: 1fr; }
}

@media (max-width: 1000px) and (min-width: 769px) {
    body[data-one2-skin="reborn"] .one2-nav-links { display: none; }
    body[data-one2-skin="reborn"] .one2-burger { display: flex; }
}

@media (max-width: 900px) {
    body[data-one2-skin="reborn"] .one2-hero-area { padding-top: 220px; }
    body[data-one2-skin="reborn"] .one2-content-wrap { align-items: stretch; }
    body[data-one2-skin="reborn"] .one2-left-panel { width: 100%; gap: 10px; }
    body[data-one2-skin="reborn"] .one2-left-panel > * { flex: 1 1 280px; }
    body[data-one2-skin="reborn"] .one2-mid-nav { min-height: auto; }
}

@media (max-width: 700px) {
    body[data-one2-skin="reborn"]::before {
        inset: -12px;
        transform: none;
        background-size: auto 720px;
        background-position: center top;
        animation: none;
    }

    body[data-one2-skin="reborn"] .one2-nav { height: 62px; }
    body[data-one2-skin="reborn"] .one2-nav > .one2-nav-logo { transform: none; }
    body[data-one2-skin="reborn"] .one2-nav > .one2-nav-underbar { width: 40px; padding: 0; }
    body[data-one2-skin="reborn"] .one2-nav > .one2-nav-underbar .one2-underbar-right { position: static; }
    body[data-one2-skin="reborn"] .one2-nav-logo img { height: 85px; }
    body[data-one2-skin="reborn"] .one2-nav-logo::after { width: 94px; height: 94px; }
    body[data-one2-skin="reborn"] .one2-hero-area { padding-top: 128px; }
    body[data-one2-skin="reborn"] .one2-mid-nav-buttons { width: 100%; }
    body[data-one2-skin="reborn"] .one2-nav-btn-discord,
    body[data-one2-skin="reborn"] .one2-nav-btn-itemshop,
    body[data-one2-skin="reborn"] .one2-nav-btn-download { width: auto; min-width: 0; flex: 1 1 0; }
    body[data-one2-skin="reborn"] .one2-nav-btn-itemshop > span { font-size: 8px; letter-spacing: 0; }
    body[data-one2-skin="reborn"] .one2-content-wrap { padding: 10px 8px 24px; }
    body[data-one2-skin="reborn"] .one2-center { clip-path: none; }
    body[data-one2-skin="reborn"] .one2-mid-panel { padding: 10px; }
    body[data-one2-skin="reborn"] .one2-acct-info-grid,
    body[data-one2-skin="reborn"] .one2-settings-grid { grid-template-columns: 1fr; }
    body[data-one2-skin="reborn"] .one2-char-card-full { align-items: flex-start; flex-direction: column; }
    body[data-one2-skin="reborn"] .one2-char-card-top { min-width: 0; }
    body[data-one2-skin="reborn"] .one2-char-stats,
    body[data-one2-skin="reborn"] .one2-char-stats-full { width: 100%; margin-left: 0; }
    body[data-one2-skin="reborn"] .one2-news-title { font-size: 13px; }
    body[data-one2-skin="reborn"] .one2-news-date,
    body[data-one2-skin="reborn"] .one2-news-category { display: none; }
}

@media (max-width: 460px) {
    body[data-one2-skin="reborn"] .one2-rank-podium { gap: 4px; }
    body[data-one2-skin="reborn"] .one2-rank-top-1 { height: 128px; }
    body[data-one2-skin="reborn"] .one2-rank-top-2,
    body[data-one2-skin="reborn"] .one2-rank-top-3 { height: 114px; }
    body[data-one2-skin="reborn"] .one2-mid-nav-stats { display: grid; grid-template-columns: repeat(2, 1fr); width: 100%; }
    body[data-one2-skin="reborn"] .one2-stat-item { min-width: 0; }
    body[data-one2-skin="reborn"] .one2-char-stats,
    body[data-one2-skin="reborn"] .one2-char-stats-full { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    body[data-one2-skin="reborn"] *,
    body[data-one2-skin="reborn"] *::before,
    body[data-one2-skin="reborn"] *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    body[data-one2-skin="reborn"]::before { transform: scale(1.02); }
}
