:root {
    --r-bg: #070b14;
    --r-bg-soft: #0d1321;
    --r-panel: #10192a;
    --r-panel-strong: #15233a;
    --r-line: rgba(148, 163, 184, 0.22);
    --r-text: #e5edf9;
    --r-muted: #9fb1ce;
    --r-primary: #5ea2ff;
    --r-primary-strong: #3b82f6;
    --r-positive: #34d399;
    --r-negative: #f87171;
    --r-radius-lg: 16px;
    --r-radius-md: 12px;
    --r-shadow: 0 12px 40px rgba(2, 6, 23, 0.38);
}

.mobile-modern-header,
.mobile-modern-dock,
.mobile-modern-scrim {
    display: none;
}

@media (max-width: 1024px) {
    .mobile-modern-header.mobile-slide-nav {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        z-index: 1320;
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        min-height: 56px;
        padding: 8px 12px;
        width: 100vw;
        max-width: 100vw;
        overflow: hidden;
        background: rgba(7, 11, 20, 0.94);
        border-bottom: 1px solid rgba(148, 163, 184, 0.18);
        backdrop-filter: blur(12px);
        box-sizing: border-box;
    }

    .mobile-modern-brand {
        display: inline-flex;
        align-items: center;
        min-width: 0;
        max-width: 132px;
        gap: 9px;
        color: #f8fbff;
        text-decoration: none;
    }

    .mobile-modern-brand img {
        width: 34px;
        height: 34px;
        flex: 0 0 auto;
        object-fit: contain;
        border-radius: 9px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(125, 211, 252, 0.24);
        padding: 4px;
    }

    .mobile-modern-brand span {
        display: flex;
        min-width: 0;
        flex-direction: column;
        line-height: 1.05;
    }

    .mobile-modern-brand strong {
        font-size: 17px;
        font-weight: 800;
        letter-spacing: 0;
    }

    .mobile-modern-brand small {
        margin-top: 3px;
        color: #94a3b8;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0;
    }

    .mobile-modern-actions {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        gap: 4px;
        margin-left: auto;
    }

    .mobile-modern-social,
    .mobile-modern-claim,
    .mobile-modern-lang {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 34px;
        border-radius: 9px;
        text-decoration: none;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0;
    }

    .mobile-modern-social {
        width: 34px;
        flex: 0 0 34px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.13);
        overflow: hidden;
        box-shadow: 0 8px 20px rgba(2, 6, 23, 0.28);
    }

    .mobile-modern-social img {
        width: 24px;
        height: 24px;
        object-fit: contain;
        display: block;
    }

    .mobile-modern-social-kakao {
        background: #fee500;
    }

    .mobile-modern-social-youtube {
        background: #ff0033;
    }

    .mobile-modern-social:active {
        transform: translateY(1px);
    }

    .mobile-modern-claim {
        width: 38px;
        gap: 5px;
        padding: 0;
        color: #051019;
        background: linear-gradient(135deg, #34d399, #67e8f9);
        border: 1px solid rgba(103, 232, 249, 0.45);
    }

    .mobile-modern-claim span {
        display: none;
    }

    .mobile-modern-lang {
        width: 38px;
        flex: 0 0 38px;
        gap: 3px;
        padding: 0;
        color: #e5edf9;
        background: rgba(15, 23, 42, 0.78);
        border: 1px solid rgba(148, 163, 184, 0.24);
        cursor: pointer;
    }

    @media (max-width: 360px) {
        .mobile-modern-brand {
            max-width: 118px;
            gap: 7px;
        }

        .mobile-modern-brand img {
            width: 32px;
            height: 32px;
        }

        .mobile-modern-actions {
            gap: 3px;
        }

        .mobile-modern-social {
            width: 32px;
            flex-basis: 32px;
        }

        .mobile-modern-social img {
            width: 23px;
            height: 23px;
        }

        .mobile-modern-lang {
            width: 36px;
            flex-basis: 36px;
        }
    }

    .s-menu-toggle,
    .mobile-top-controls.mobile-slide-nav,
    .mobile-icon-menu-grid.mobile-slide-nav {
        display: none !important;
    }

    .mobile-modern-dock.mobile-slide-nav {
        position: fixed;
        left: 0;
        right: auto;
        bottom: 0;
        z-index: 1320;
        display: grid !important;
        width: 100vw;
        max-width: 100vw;
        transform: none;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0;
        padding: 6px max(6px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
        border-radius: 0;
        border: 1px solid rgba(148, 163, 184, 0.22);
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        background: rgba(8, 13, 24, 0.94);
        box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
        backdrop-filter: blur(14px);
        box-sizing: border-box;
    }

    .mobile-modern-nav-item {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        width: 100%;
        height: 52px;
        padding: 0;
        border: 0;
        border-radius: 10px;
        background: transparent;
        color: #94a3b8;
        text-decoration: none;
        cursor: pointer;
        flex-direction: column;
        gap: 4px;
        font: inherit;
        box-sizing: border-box;
        position: relative;
        overflow: hidden;
        transition: transform 0.12s ease, background 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-modern-nav-item::after {
        content: "";
        position: absolute;
        inset: 8px;
        border-radius: 10px;
        background: rgba(103, 232, 249, 0.16);
        opacity: 0;
        transform: scale(0.76);
        transition: opacity 0.14s ease, transform 0.14s ease;
        pointer-events: none;
    }

    .mobile-modern-nav-item i {
        font-size: 16px;
        line-height: 1;
    }

    .mobile-modern-nav-item span {
        max-width: 100%;
        overflow: hidden;
        font-size: 9px;
        font-weight: 800;
        line-height: 1.1;
        letter-spacing: 0;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .mobile-modern-nav-item.active,
    .mobile-modern-nav-item.open {
        color: #eaffff;
        background: rgba(37, 99, 235, 0.32);
        box-shadow: inset 0 0 0 1px rgba(103, 232, 249, 0.28);
    }

    .mobile-modern-nav-item:active {
        transform: translateY(1px) scale(0.96);
        background: rgba(20, 184, 166, 0.28);
        color: #ffffff;
    }

    .mobile-modern-nav-item:active::after {
        opacity: 1;
        transform: scale(1);
    }

    .mobile-modern-scrim.mobile-slide-nav {
        position: fixed;
        inset: 0;
        z-index: 1280;
        background: rgba(2, 6, 23, 0.54);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.18s ease;
    }

    body.mobile-modern-menu-open .mobile-modern-scrim.mobile-slide-nav {
        display: block !important;
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-modern-sheet.mobile-slide-nav {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 82px;
        z-index: 1340;
        display: none !important;
        padding: 12px;
        border-radius: 18px;
        border: 1px solid rgba(103, 232, 249, 0.34);
        background: linear-gradient(180deg, rgba(16, 25, 42, 0.99), rgba(8, 13, 24, 0.99));
        box-shadow: 0 22px 64px rgba(0, 0, 0, 0.62);
        box-sizing: border-box;
        backdrop-filter: blur(14px);
    }

    .mobile-modern-sheet.mobile-slide-nav.open {
        display: block !important;
    }

    .mobile-modern-sheet-handle {
        width: 38px;
        height: 4px;
        margin: 0 auto 10px;
        border-radius: 999px;
        background: rgba(103, 232, 249, 0.72);
    }

    .mobile-modern-sheet-title {
        margin: 0 2px 10px;
        color: #f8fbff;
        font-size: 14px;
        font-weight: 900;
        line-height: 1.2;
    }

    .mobile-modern-sheet-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .mobile-modern-sheet-grid a {
        display: flex;
        align-items: center;
        min-height: 46px;
        gap: 9px;
        padding: 0 12px;
        border-radius: 12px;
        border: 1px solid rgba(148, 163, 184, 0.28);
        background: rgba(30, 41, 59, 0.9);
        color: #e5edf9;
        text-decoration: none;
        font-size: 13px;
        font-weight: 850;
        line-height: 1.15;
        box-sizing: border-box;
        transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-modern-sheet-grid a i {
        width: 16px;
        color: #67e8f9;
        font-size: 14px;
        text-align: center;
    }

    .mobile-modern-sheet-grid a:active {
        transform: scale(0.98);
        background: rgba(37, 99, 235, 0.34);
        border-color: rgba(96, 165, 250, 0.5);
    }

    .mobile-submenu-container.mobile-slide-nav {
        position: fixed;
        top: auto;
        left: 10px;
        right: 10px;
        bottom: 82px;
        z-index: 1340;
        display: none !important;
        width: auto;
        max-width: none;
        max-height: min(52vh, 380px);
        overflow-y: auto;
        transform: none;
        margin: 0;
        padding: 12px;
        border-radius: 16px;
        border: 1px solid rgba(103, 232, 249, 0.34);
        background: linear-gradient(180deg, rgba(16, 25, 42, 0.99), rgba(8, 13, 24, 0.99));
        box-shadow: 0 22px 64px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(15, 23, 42, 0.92);
        backdrop-filter: blur(14px);
        box-sizing: border-box;
    }

    .mobile-submenu-container.mobile-slide-nav.open {
        display: block !important;
    }

    .mobile-submenu-container.mobile-slide-nav::before {
        content: "";
        position: static;
        display: block;
        width: 38px;
        height: 4px;
        margin: 0 auto 9px;
        border-radius: 999px;
        background: rgba(103, 232, 249, 0.72);
        z-index: auto;
    }

    .mobile-submenu-container.mobile-slide-nav .mobile-submenu {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin: 0;
        padding: 0;
        overflow: visible;
    }

    .mobile-submenu-container.mobile-slide-nav .mobile-submenu-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 9px;
        min-height: 44px;
        padding: 0 12px;
        border-radius: 12px;
        border: 1px solid rgba(148, 163, 184, 0.28);
        background: rgba(30, 41, 59, 0.9);
        color: #e5edf9;
        text-decoration: none;
        font-size: 13px;
        font-weight: 800;
        line-height: 1.15;
        box-sizing: border-box;
    }

    .mobile-submenu-container.mobile-slide-nav .mobile-submenu-item i {
        width: 16px;
        margin: 0;
        color: #67e8f9;
        font-size: 14px;
        text-align: center;
    }

    .mobile-submenu-container.mobile-slide-nav .mobile-submenu-item:active {
        background: rgba(37, 99, 235, 0.32);
        border-color: rgba(96, 165, 250, 0.42);
    }

    .s-main-shell {
        padding-top: 56px;
        padding-bottom: 80px;
        overflow-x: hidden;
    }

    .s-content {
        padding-bottom: 92px;
    }
}

@media (max-width: 360px) {
    .mobile-modern-brand small,
    .mobile-modern-claim span {
        display: none;
    }

    .mobile-modern-claim {
        width: 38px;
        padding: 0;
    }

    .mobile-modern-dock.mobile-slide-nav {
        left: 6px;
        right: 6px;
        bottom: 6px;
    }
}

body.s-body {
    background:
        radial-gradient(circle at 8% 0%, rgba(94, 162, 255, 0.12), transparent 42%),
        radial-gradient(circle at 92% 100%, rgba(56, 189, 248, 0.12), transparent 42%),
        linear-gradient(160deg, var(--r-bg), #0b1425 65%, #0c1020);
    color: var(--r-text);
}

.s-sidebar {
    background: rgba(8, 14, 28, 0.9);
    backdrop-filter: blur(8px);
    border-right: 1px solid var(--r-line);
}

.s-brand {
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    background: linear-gradient(180deg, rgba(19, 33, 58, 0.9), rgba(10, 17, 31, 0.78));
}

.s-brand-home {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(96, 165, 250, 0.28);
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.3), rgba(15, 23, 42, 0.36));
    box-shadow: var(--r-shadow);
}

.s-brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.62), rgba(15, 23, 42, 0.62));
    border: 1px solid rgba(147, 197, 253, 0.4);
}

.s-brand-mark img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.s-brand-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.s-brand-subtitle {
    color: #c7d7f7;
    font-size: 11px;
}

.s-brand-slogan {
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    background: linear-gradient(90deg, rgba(14, 165, 233, 0.14), rgba(59, 130, 246, 0.14));
    color: #e6f1ff;
    text-align: center;
    font-weight: 700;
}

.s-brand-meta {
    margin-top: 8px;
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: #9fb1ce;
}

.s-brand-chip-row {
    margin-top: 10px;
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
}

.s-brand-chip {
    font-size: 10px;
    font-weight: 600;
    color: #c7dcff;
    padding: 4px 7px;
    border-radius: 999px;
    border: 1px solid rgba(96, 165, 250, 0.35);
    background: rgba(30, 64, 175, 0.24);
}

.s-nav-item,
.s-nav-group {
    border-color: rgba(148, 163, 184, 0.18);
}

.s-nav-item:hover,
.s-nav-group-toggle:hover {
    background: rgba(37, 99, 235, 0.2);
}

.s-nav-item.active,
.s-nav-group.is-open .s-nav-group-toggle {
    border-color: rgba(94, 162, 255, 0.5);
    background: linear-gradient(90deg, rgba(30, 64, 175, 0.35), rgba(30, 64, 175, 0.12));
}

.s-subnav {
    background: rgba(15, 23, 42, 0.45);
}

.s-subnav-item {
    color: #d2def3;
}

.s-subnav-item.active {
    background: rgba(59, 130, 246, 0.24);
    border-color: rgba(96, 165, 250, 0.5);
}

.s-sidebar-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.s-lang-btn {
    background: linear-gradient(180deg, rgba(20, 30, 49, 0.95), rgba(12, 19, 33, 0.95));
    border: 1px solid rgba(94, 162, 255, 0.32);
    color: #dbeafe;
}

.s-main-shell {
    background: transparent;
}

.s-header {
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    background: linear-gradient(180deg, rgba(10, 16, 30, 0.84), rgba(10, 16, 30, 0.45));
    backdrop-filter: blur(8px);
    padding: 6px 10px 0;
}

.s-header-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 8px;
    width: 100%;
}

.s-header-hero {
    display: grid;
    grid-template-columns: minmax(260px, 1.25fr) minmax(420px, 2fr);
    gap: 12px;
    margin-bottom: 12px;
}

.s-header-block {
    background: linear-gradient(180deg, rgba(16, 25, 42, 0.92), rgba(11, 18, 31, 0.92));
    border: 1px solid var(--r-line);
    border-radius: var(--r-radius-lg);
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.35);
    padding: 7px 8px;
    gap: 2px;
    min-height: 104px;
    min-width: 0;
    width: 100%;
}

.s-header-row-secondary {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
}

.s-header-market-grid {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: stretch;
}

.s-header-price {
    min-width: 0;
}

.s-header-market-grid .s-header-title {
    margin-bottom: 0;
}

.s-market-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 6px;
    padding: 3px 6px;
    border-radius: 8px;
    border: 1px solid rgba(96, 165, 250, 0.22);
    background: rgba(15, 23, 42, 0.62);
}

.s-market-card .s-label {
    color: #dbe7fd;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.s-market-card .price-usd {
    font-size: 12px;
    font-weight: 700;
    text-align: right;
}

.s-market-card .price-krw {
    font-size: 12px;
    color: #c7d7f7;
    text-align: right;
}

.s-market-card .change-rate {
    font-size: 11px;
    font-weight: 700;
    min-width: 52px;
    text-align: right;
}

@media (max-width: 1360px) {
    .s-market-card {
        grid-template-columns: 44px minmax(0, 1fr) auto;
        row-gap: 2px;
    }

    .s-market-card .price-krw {
        display: none;
    }
}

@media (min-width: 1025px) and (max-width: 1320px) {
    .s-header-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.s-header-title,
.s-header-meta,
.s-label,
.s-header-muted {
    color: var(--r-muted);
}

.s-header-title {
    font-size: 15px;
    font-weight: 700;
    min-height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.25;
}

.s-header-value,
.s-metric-row strong,
.price-usd,
.price-krw {
    color: #f8fbff;
}

.s-header-value {
    font-size: 15px;
    font-weight: 700;
    min-height: 18px;
    line-height: 1.2;
}

.s-header-topline {
    min-height: 22px;
    gap: 15px;
    padding-bottom: 15px;
}

.s-header-muted {
    font-size: 11px;
    min-height: 14px;
    line-height: 1.25;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.s-metric-row {
    min-height: 22px;
    align-items: center;
    gap: 4px;
}

.s-metric-row .s-label {
    font-size: 11px;
}

.s-metric-row strong {
    font-size: 12px;
}

.s-header-network,
.s-header-allocation {
    justify-content: space-between;
    padding-bottom: 10px;
    width: 100%;
    max-width: none;
    justify-self: center;
}

.s-header-network .s-metric-row-3,
.s-header-allocation .s-metric-row-3 {
    margin: 0;
    min-height: 22px;
}

.s-header-epoch {
    display: grid;
    grid-template-rows: 15% 25% 45% 15%;
    height: 100%;
}

.s-header-epoch .s-header-topline {
    grid-row: 2;
    margin: 0;
    min-height: 0;
    align-self: center;
}

.s-header-epoch .s-progress-track {
    grid-row: 3;
    width: 100%;
    height: 100%;
    margin: 0;
    align-self: center;
}

.s-header-epoch .s-header-muted {
    margin: 0;
}

.s-progress-track {
    position: relative;
    overflow: hidden;
}

.s-progress-fill {
    height: 100%;
    position: relative;
    z-index: 1;
}

.s-progress-label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    color: #eef4ff;
    z-index: 2;
    padding: 0 6px;
    text-align: center;
}

.s-progress-main {
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(59, 130, 246, 0.35);
}

.s-progress-sub {
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    color: #bfdbfe;
    text-shadow: 0 0 6px rgba(14, 165, 233, 0.25);
}

.s-header-allocation .s-header-title-row {
    margin-bottom: 0;
}

.s-progress-track {
    background: rgba(30, 41, 59, 0.82);
}

.s-progress-fill {
    background: linear-gradient(90deg, var(--r-primary), #8b5cf6);
}

.s-content {
    padding: 1px 18px 28px;
}

.s-content .glass,
.s-content .grid-section,
.s-content .notice-latest-section,
.s-content .notice-container,
.s-content .board-container,
.s-content .board-content,
.s-content .news-board,
.s-content .official-links-wrapper,
.s-content .dominance-wrapper,
.s-content .portfolio-container,
.s-content .token-claim-wrapper {
    background: linear-gradient(180deg, rgba(16, 25, 42, 0.92), rgba(11, 18, 31, 0.92));
    border: 1px solid var(--r-line);
    border-radius: var(--r-radius-lg);
    box-shadow: var(--r-shadow);
}

.main-top-banner-section {
    margin-top: 0.85rem;
    border: 1px solid var(--r-line);
    border-radius: var(--r-radius-lg);
    box-shadow: var(--r-shadow);
}

.main-top-banner-image {
    border: 0;
}

.content-grid {
    gap: 0.9rem;
    padding: 0;
    min-width: 0;
}

.double-row {
    gap: 0.9rem;
    padding: 0.95rem;
}

.section-title,
.assets-title,
.overview-title {
    color: #f5f9ff;
    font-size: 1.02rem;
    letter-spacing: 0.01em;
}

.portfolio-wrapper,
.token-claim-wrapper,
.official-links-wrapper,
.dominance-wrapper,
.board-container,
.news-board,
.notice-wrapper,
.notice-container,
.portfolio-container.tx-container {
    border-radius: var(--r-radius-lg);
}

.portfolio-header,
.token-claim-header,
.board-header,
.notice-header,
.official-links-header {
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    padding-bottom: 12px;
    margin-bottom: 14px;
}

.portfolio-title,
.token-claim-title,
.notice-title,
.board-title,
.official-links-title {
    color: #f8fbff;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.portfolio-description,
.token-claim-description,
.notice-description,
.board-subtitle,
.official-links-description {
    color: var(--r-muted);
}

.wallet-connection-section,
.claim-form,
.token-section,
.portfolio-overview,
.assets-section,
.notice-controls,
.board-info,
.board-search {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: var(--r-radius-md);
}

.input-field,
.tx-input-field,
.wallet-address-container,
.fee-amount-container {
    background: rgba(8, 14, 28, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 10px;
}

input[type="text"],
input[type="number"],
input[type="search"],
select,
textarea,
.form-control,
#stakeKeyInput {
    background: rgba(8, 14, 28, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.26);
    color: #eef4ff;
    border-radius: 10px;
}

input::placeholder,
textarea::placeholder {
    color: #8ca0c0;
}

input:focus,
select:focus,
textarea:focus,
.form-control:focus {
    outline: none;
    border-color: rgba(94, 162, 255, 0.72);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.btn-connect,
.tx-btn-primary,
.btn-claim,
.btn-token-claim,
.btn-refresh,
.tx-btn-secondary,
.copy-btn,
.btn-add-address,
.btn-remove-address {
    border: 1px solid rgba(96, 165, 250, 0.32);
    border-radius: 10px;
    color: #eaf2ff;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn-connect,
.tx-btn-primary,
.btn-claim,
.btn-token-claim {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.92), rgba(29, 78, 216, 0.92));
}

.btn-refresh,
.tx-btn-secondary,
.copy-btn,
.btn-add-address,
.btn-remove-address {
    background: linear-gradient(180deg, rgba(23, 35, 58, 0.95), rgba(14, 22, 38, 0.95));
}

.btn-connect:hover,
.tx-btn-primary:hover,
.btn-claim:hover,
.btn-token-claim:hover,
.btn-refresh:hover,
.tx-btn-secondary:hover,
.copy-btn:hover,
.btn-add-address:hover,
.btn-remove-address:hover {
    transform: translateY(-1px);
    border-color: rgba(147, 197, 253, 0.55);
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.4);
}

.assets-table-content,
.token-table,
.epoch-table,
.notice-table,
.notice-latest-table,
.links-table,
.news-table,
.tx-table {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.assets-table-content thead th,
.token-table th,
.epoch-table th,
.notice-table th,
.notice-latest-table thead th,
.links-table th,
.news-table thead th,
.tx-table th {
    background: linear-gradient(180deg, rgba(27, 41, 66, 0.95), rgba(19, 31, 52, 0.95));
    color: #dbe7fd;
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.assets-table-content td,
.token-table td,
.epoch-table td,
.notice-table td,
.notice-latest-table td,
.links-table td,
.news-table td,
.tx-table td {
    background: rgba(11, 18, 31, 0.7);
    color: #e8f0ff;
    border-bottom: 1px solid rgba(71, 85, 105, 0.35);
}

.assets-table-content tbody tr:hover td,
.token-table tbody tr:hover td,
.epoch-table tbody tr:hover td,
.notice-table tbody tr:hover td,
.notice-latest-table tbody tr:hover td,
.links-table tbody tr:hover td,
.news-table tbody tr:hover td,
.tx-table tbody tr:hover td {
    background: rgba(22, 33, 53, 0.88);
}

.stat-card,
.tx-summary-item,
.token-card,
.link-card,
.metric-card {
    background: linear-gradient(180deg, rgba(16, 25, 42, 0.82), rgba(12, 20, 34, 0.82));
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
}

.tx-positive,
.tx-ada-positive,
.tx-token-positive,
.positive {
    color: var(--r-positive) !important;
}

.tx-negative,
.tx-ada-negative,
.tx-token-negative,
.negative {
    color: var(--r-negative) !important;
}

.stakekey-dropdown {
    background: #0e1728 !important;
    border-color: rgba(148, 163, 184, 0.35) !important;
    box-shadow: var(--r-shadow) !important;
}

.stakekey-item {
    color: #e5edf9 !important;
    border-bottom-color: rgba(71, 85, 105, 0.5) !important;
}

.stakekey-item:hover,
.stakekey-item.selected {
    background: rgba(59, 130, 246, 0.2) !important;
    color: #eff6ff !important;
}

/* 메인 페이지 카드/공지 블록의 시각 밀도 조정 */
.renew-main .notice-guide-flex-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: stretch;
}

.renew-main .notice-latest-section {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.renew-main .notice-latest-content {
    flex: 1;
    display: flex;
    align-items: stretch;
    background: rgba(10, 17, 29, 0.56);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 12px;
}

.renew-main .notice-latest-table {
    width: 100%;
    table-layout: fixed;
}

.renew-main .notice-latest-table thead th {
    padding: 8px 10px;
    font-size: 12px;
}

.renew-main .notice-latest-table td {
    padding: 7px 10px;
    font-size: 12px;
    line-height: 1.25;
}

.renew-main-clickable-row {
    cursor: pointer;
}

.renew-main-notice-title-cell {
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 230px;
}

.renew-main .notice-latest-empty {
    color: var(--r-muted);
}


.renew-main-panel {
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(10, 17, 29, 0.55);
}

.renew-main-panel-title {
    margin: 0 0 8px;
    min-height: 24px;
    align-items: center;
}

.renew-main-section-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    margin-right: 4px;
    vertical-align: middle;
    flex: 0 0 auto;
}

.renew-main-mobile-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.renew-main-mobile-action {
    text-decoration: none;
    text-align: center;
    color: #e6f1ff;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 6px;
    border-radius: 10px;
    border: 1px solid rgba(96, 165, 250, 0.35);
    background: linear-gradient(180deg, rgba(23, 35, 58, 0.95), rgba(14, 22, 38, 0.95));
}

.renew-main .double-row > .grid-section .section-title {
    min-height: 26px;
    align-items: center;
}

.renew-main .double-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: stretch;
}

.renew-main .double-row > .grid-section {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    /* 화면이 줄어들 때 테이블이 카드 밖으로 튀어나오지 않게 함 (가로 스크롤 없이, 테이블 자체를 축소) */
    min-width: 0;
    overflow: hidden;
}

.renew-main .double-row > .grid-section .epoch-table th,
.renew-main .double-row > .grid-section .epoch-table td,
.renew-main .double-row > .grid-section .token-table th,
.renew-main .double-row > .grid-section .token-table td {
    padding-top: 6px;
    padding-bottom: 6px;
}

.renew-main .double-row > .grid-section .epoch-table,
.renew-main .double-row > .grid-section .token-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
}

.renew-main .double-row > .grid-section .epoch-table th,
.renew-main .double-row > .grid-section .epoch-table td,
.renew-main .double-row > .grid-section .token-table th,
.renew-main .double-row > .grid-section .token-table td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.renew-main .section-wmtstatus .epoch-table th:nth-child(1),
.renew-main .section-wmtstatus .epoch-table td:nth-child(1) {
    min-width: 102px;
    white-space: nowrap;
}

.renew-main .section-wmtstatus .epoch-table th:nth-child(3),
.renew-main .section-wmtstatus .epoch-table td:nth-child(3) {
    min-width: 120px;
    white-space: nowrap;
}

/* 포트폴리오/트랜잭션/토큰클레임 페이지 공통 카드 패딩 */
.renew-portfolio .portfolio-container,
.renew-transaction .portfolio-container,
.renew-token-claim {
    padding: 16px;
}

.renew-token-claim .ktop-status-table-view .double-row,
.renew-main .double-row {
    padding: 0;
}

.renew-token-claim .claim-form,
.renew-token-claim .token-section {
    padding: 14px;
}

.renew-transaction .tx-filter-wrap,
.renew-transaction .tx-limit-wrap {
    gap: 8px;
}

.renew-portfolio .portfolio-stats {
    gap: 10px;
}

.renew-portfolio .stat-card {
    border: 1px solid rgba(96, 165, 250, 0.26);
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.28);
}

.renew-portfolio .allocation-panel {
    background: rgba(11, 18, 31, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
}

.renew-portfolio .asset-tab-btn {
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.25);
    color: #dbe7fd;
}

.renew-portfolio .asset-tab-btn.active {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.9), rgba(29, 78, 216, 0.9));
    color: #eff6ff;
    border-color: rgba(147, 197, 253, 0.65);
}

.renew-transaction .tx-summary-grid {
    gap: 10px;
}

.renew-transaction .tx-summary-item {
    border: 1px solid rgba(148, 163, 184, 0.26);
}

.renew-transaction .tx-direction-chip {
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.renew-transaction .tx-copy-btn,
.renew-transaction .tx-summary-copy-btn {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #dbe7fd;
}

.renew-token-claim .token-instruction,
.renew-token-claim .claim-fee-section,
.renew-token-claim .wallet-section {
    background: rgba(11, 18, 31, 0.66);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 12px;
}

.renew-token-claim .fee-amount,
.renew-token-claim .wallet-address {
    color: #eff6ff;
    font-weight: 700;
}

/* ===== 전체 페이지(메인 외) 리뉴얼 공통 ===== */
.notice-wrapper,
.notice-container,
.news-board,
.board-container,
.official-links-wrapper,
.claim-wrapper.pc-dominance,
.pc-point-leaderboard,
.container.pc-roulette,
.container.pc-node-rewards,
.proposal-detail-container,
.swap-container {
    background: linear-gradient(180deg, rgba(16, 25, 42, 0.92), rgba(11, 18, 31, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 16px;
    box-shadow: var(--r-shadow);
}

.notice-header,
.board-header,
.official-links-header,
.leaderboard-header,
.proposal-detail-header {
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.notice-title,
.board-title,
.official-links-title,
.leaderboard-title,
.proposal-detail-title {
    color: #f8fbff;
    letter-spacing: 0.01em;
}

.notice-description,
.board-subtitle,
.official-links-description,
.leaderboard-description,
.proposal-detail-subtitle {
    color: #9fb1ce;
}

.notice-controls,
.board-info,
.board-search,
.board-filter,
.leaderboard-stats,
.drep-info-box,
.drep-summary-stats,
.proposal-info-box,
.proposal-filter {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 12px;
}

.notice-list,
.board-list,
.leaderboard-container,
.drep-table-container,
.gov-proposal-list,
.official-links-content,
.dominance-chart-container {
    background: rgba(11, 18, 31, 0.58);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
}

.notice-table,
.news-table,
.board-table,
.leaderboard-table,
.drep-table,
.gov-proposal-table,
.official-links-table,
.dominance-table {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.notice-table th,
.news-table th,
.board-table th,
.leaderboard-table th,
.drep-table th,
.gov-proposal-table th,
.official-links-table th,
.dominance-table th {
    background: linear-gradient(180deg, rgba(27, 41, 66, 0.95), rgba(19, 31, 52, 0.95));
    color: #dbe7fd;
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    padding: 8px 10px;
}

.notice-table td,
.news-table td,
.board-table td,
.leaderboard-table td,
.drep-table td,
.gov-proposal-table td,
.official-links-table td,
.dominance-table td {
    background: rgba(11, 18, 31, 0.7);
    color: #e8f0ff;
    border-bottom: 1px solid rgba(71, 85, 105, 0.35);
    padding: 7px 10px;
}

.notice-table tbody tr:hover td,
.news-table tbody tr:hover td,
.board-table tbody tr:hover td,
.leaderboard-table tbody tr:hover td,
.drep-table tbody tr:hover td,
.gov-proposal-table tbody tr:hover td,
.official-links-table tbody tr:hover td,
.dominance-table tbody tr:hover td {
    background: rgba(22, 33, 53, 0.88);
}

.notice-pagination,
.board-pagination,
.leaderboard-pagination,
.drep-pagination,
.gov-proposal-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.notice-pagination button,
.board-pagination button,
.leaderboard-pagination button,
.drep-pagination button,
.gov-proposal-pagination button,
.pagination-btn {
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.9);
    color: #dbe7fd;
    border-radius: 8px;
    padding: 6px 10px;
}

.notice-pagination button:hover,
.board-pagination button:hover,
.leaderboard-pagination button:hover,
.drep-pagination button:hover,
.gov-proposal-pagination button:hover,
.pagination-btn:hover {
    border-color: rgba(147, 197, 253, 0.5);
    background: rgba(30, 64, 175, 0.28);
}

.notice-form input,
.notice-form textarea,
.notice-form select,
.board-search input,
.board-filter select,
.leaderboard-search input,
.drep-search input,
.gov-filter select,
.official-links-search input,
.swap-form input,
.swap-form select {
    background: rgba(8, 14, 28, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.26);
    color: #eef4ff;
    border-radius: 10px;
}

.notice-form input:focus,
.notice-form textarea:focus,
.notice-form select:focus,
.board-search input:focus,
.board-filter select:focus,
.leaderboard-search input:focus,
.drep-search input:focus,
.gov-filter select:focus,
.official-links-search input:focus,
.swap-form input:focus,
.swap-form select:focus {
    outline: none;
    border-color: rgba(94, 162, 255, 0.72);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.btn,
.notice-btn,
.board-btn,
.leaderboard-btn,
.drep-btn,
.gov-btn,
.copy-btn,
.swap-btn,
button[type="button"],
button[type="submit"] {
    border: 1px solid rgba(96, 165, 250, 0.32);
    border-radius: 10px;
    color: #eaf2ff;
    background: linear-gradient(180deg, rgba(23, 35, 58, 0.95), rgba(14, 22, 38, 0.95));
}

.btn-primary,
.notice-btn-primary,
.board-btn-primary,
.leaderboard-btn-primary,
.drep-btn-primary,
.gov-btn-primary,
.swap-btn-primary {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.92), rgba(29, 78, 216, 0.92));
}

.btn:hover,
.notice-btn:hover,
.board-btn:hover,
.leaderboard-btn:hover,
.drep-btn:hover,
.gov-btn:hover,
.swap-btn:hover,
button[type="button"]:hover,
button[type="submit"]:hover {
    border-color: rgba(147, 197, 253, 0.55);
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.35);
}

.type-badge,
.status-badge,
.badge,
.rank-badge {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(30, 41, 59, 0.72);
    color: #dbe7fd;
}

.mobile-notice-container,
.mobile-guide-container,
.mobile-news-container,
.mobile-humor-container,
.mobile-leaderboard-container,
.mobile-drep-container,
.mobile-gov-proposal-container,
.mobile-event-calendar-container,
.mobile-portfolio-container,
.mobile-swap-container,
.mobile-node-rewards-container,
.mobile-ktop-roulette-container,
.mobile-official-links-container,
.mobile-dominance-container {
    padding: 10px;
    gap: 10px;
}

.mobile-notice-header-card,
.mobile-guide-header-card,
.mobile-news-header-card,
.mobile-humor-header,
.mobile-leaderboard-header,
.mobile-drep-header-card,
.mobile-gov-proposal-header-card,
.mobile-event-calendar-header-card,
.mobile-ktop-roulette-header-card,
.mobile-official-links-header-card,
.mobile-dominance-header-card {
    background: linear-gradient(180deg, rgba(15, 24, 40, 0.92), rgba(10, 17, 31, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 14px;
    box-shadow: var(--r-shadow);
}

.mobile-notice-item,
.mobile-guide-item,
.mobile-news-item,
.mobile-humor-item,
.mobile-drep-id-item,
.mobile-gov-proposal-item,
.mobile-leaderboard-item {
    background: rgba(11, 18, 31, 0.74);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
}

.mobile-pagination-container .pagination-btn,
.mobile-pagination button {
    border: 1px solid rgba(148, 163, 184, 0.32);
    background: rgba(15, 23, 42, 0.9);
    color: #dbe7fd;
    border-radius: 8px;
}

.mobile-pagination-container .pagination-btn:hover,
.mobile-pagination button:hover {
    border-color: rgba(147, 197, 253, 0.55);
    background: rgba(30, 64, 175, 0.28);
}

/* ===== 상세/수정/거버넌스 디테일 리뉴얼 ===== */
.notice-detail-wrapper,
.notice-detail-container,
.notice-detail-card,
.write-form-container,
.write-form,
.notice-header-card,
.proposal-header,
.detail-section,
.mobile-detail-section,
.mobile-detail-card,
.mobile-info-table,
.mobile-gov-proposal-detail-container {
    background: linear-gradient(180deg, rgba(16, 25, 42, 0.92), rgba(11, 18, 31, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 14px;
}

.notice-content,
.detail-content,
.proposal-content,
.mobile-detail-card-content {
    color: #e8f0ff;
    line-height: 1.55;
}

.detail-actions,
.detail-action-buttons,
.form-actions,
.editor-toolbar,
.search-container,
.mobile-search-input-group {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-edit,
.action-btn,
.copy-id-btn,
.mobile-copy-id-btn,
.mobile-search-btn {
    border: 1px solid rgba(96, 165, 250, 0.35);
    background: linear-gradient(180deg, rgba(23, 35, 58, 0.95), rgba(14, 22, 38, 0.95));
    color: #eaf2ff;
    border-radius: 8px;
}

.btn-edit:hover,
.action-btn:hover,
.copy-id-btn:hover,
.mobile-copy-id-btn:hover,
.mobile-search-btn:hover {
    border-color: rgba(147, 197, 253, 0.55);
    background: rgba(30, 64, 175, 0.28);
}

.summary-table,
.vote-metrics-table,
.info-table {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.summary-table th,
.vote-metrics-table th,
.info-table th {
    background: linear-gradient(180deg, rgba(27, 41, 66, 0.95), rgba(19, 31, 52, 0.95));
    color: #dbe7fd;
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    padding: 8px 10px;
}

.summary-table td,
.vote-metrics-table td,
.info-table td {
    background: rgba(11, 18, 31, 0.7);
    color: #e8f0ff;
    border-bottom: 1px solid rgba(71, 85, 105, 0.35);
    padding: 7px 10px;
}

.vote-bar-container,
.mobile-vote-bar-container {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 10px;
    padding: 8px 10px;
}

.drep-id,
.mobile-drep-id,
.mobile-gov-proposal-id,
.mobile-vote-detail-value {
    color: #cfe0ff;
}

.status-badge,
.status-badge-detail,
.mobile-status-badge-detail {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    padding: 3px 8px;
}

.type-badge-detail,
.mobile-type-badge-detail {
    border-radius: 999px;
    border: 1px solid rgba(96, 165, 250, 0.35);
    padding: 3px 8px;
}

/* ===== 반응형 하드닝(모바일/태블릿 공통) ===== */
.notice-list,
.board-list,
.leaderboard-container,
.drep-table-container,
.gov-proposal-list,
.official-links-content {
    overflow-x: auto;
}

.notice-table,
.news-table,
.board-table,
.leaderboard-table,
.drep-table,
.gov-proposal-table,
.official-links-table,
.dominance-table,
.epoch-table,
.token-table,
.assets-table-content,
.tx-table {
    min-width: 680px;
}

@media (max-width: 1024px) {
    .notice-wrapper,
    .notice-container,
    .news-board,
    .board-container,
    .official-links-wrapper,
    .claim-wrapper.pc-dominance,
    .pc-point-leaderboard,
    .container.pc-roulette,
    .container.pc-node-rewards,
    .proposal-detail-container,
    .swap-container {
        padding: 12px;
        border-radius: 14px;
    }

    .notice-controls,
    .board-info,
    .board-search,
    .board-filter,
    .leaderboard-stats,
    .drep-info-box,
    .drep-summary-stats,
    .proposal-info-box,
    .proposal-filter {
        padding: 10px;
    }
}

@media (max-width: 767px) {
    .notice-wrapper,
    .notice-container,
    .news-board,
    .board-container,
    .official-links-wrapper,
    .claim-wrapper.pc-dominance,
    .pc-point-leaderboard,
    .container.pc-roulette,
    .container.pc-node-rewards,
    .proposal-detail-container,
    .swap-container {
        padding: 10px;
        border-radius: 12px;
    }

    .renew-portfolio.pc-portfolio {
        display: block !important;
    }

    .mobile-portfolio-container {
        display: none !important;
    }

    .notice-header,
    .board-header,
    .official-links-header,
    .leaderboard-header,
    .proposal-detail-header {
        padding-bottom: 8px;
        margin-bottom: 8px;
    }

    .notice-title,
    .board-title,
    .official-links-title,
    .leaderboard-title,
    .proposal-detail-title {
        font-size: 18px;
        line-height: 1.2;
    }

    .notice-description,
    .board-subtitle,
    .official-links-description,
    .leaderboard-description,
    .proposal-detail-subtitle {
        font-size: 13px;
    }

    .notice-controls,
    .board-info,
    .board-search,
    .board-filter,
    .leaderboard-stats,
    .drep-info-box,
    .drep-summary-stats,
    .proposal-info-box,
    .proposal-filter {
        padding: 8px;
        border-radius: 10px;
    }

    .notice-form input,
    .notice-form textarea,
    .notice-form select,
    .board-search input,
    .board-filter select,
    .leaderboard-search input,
    .drep-search input,
    .gov-filter select,
    .official-links-search input,
    .swap-form input,
    .swap-form select {
        min-height: 38px;
        font-size: 14px;
    }

    .btn,
    .notice-btn,
    .board-btn,
    .leaderboard-btn,
    .drep-btn,
    .gov-btn,
    .swap-btn,
    button[type="button"],
    button[type="submit"] {
        min-height: 38px;
        font-size: 13px;
    }

    .notice-table,
    .news-table,
    .board-table,
    .leaderboard-table,
    .drep-table,
    .gov-proposal-table,
    .official-links-table,
    .dominance-table,
    .epoch-table,
    .token-table,
    .assets-table-content,
    .tx-table {
        min-width: 760px;
    }
}

/* 모바일 전면 호환 스타일 */
@media (max-width: 1024px) {
    .s-header-row {
        gap: 10px;
        grid-template-columns: 1fr;
    }

    .s-header-hero {
        grid-template-columns: 1fr;
    }

    .s-header-row-secondary {
        grid-template-columns: 1fr;
    }

    .s-content {
        padding: 12px 12px 22px;
    }

    .renew-main .notice-guide-flex-row,
    .renew-main .double-row {
        grid-template-columns: 1fr;
    }

    /* 모바일/태블릿에서 홈은 모바일 전용 레이아웃 강제 */
    .renew-main-mobile {
        display: block !important;
    }

    .renew-main,
    .main-top-banner-section {
        display: none !important;
    }

}

@media (min-width: 1025px) {
    .renew-main-mobile {
        display: none !important;
    }
}

@media (max-width: 767px) {
    body.s-body {
        background:
            radial-gradient(circle at 10% 0%, rgba(59, 130, 246, 0.18), transparent 42%),
            linear-gradient(170deg, #060a14, #0b1424 62%, #0c1120);
    }

    .mobile-top-controls.mobile-slide-nav {
        display: none !important;
    }

    .mobile-icon-menu-grid.mobile-slide-nav {
        margin-top: 0;
        border-top: 1px solid rgba(148, 163, 184, 0.14);
    }

    .mobile-language-menu-item {
        border: 1px solid rgba(0, 255, 213, 0.32);
        color: #67e8f9;
    }

    .mobile-home-container,
    .mobile-notice-container,
    .mobile-guide-container,
    .mobile-event-calendar-container,
    .mobile-humor-container,
    .mobile-leaderboard-container {
        padding: 8px;
        gap: 8px;
    }

    .mobile-banner,
    .mobile-section,
    .mobile-info-card,
    .mobile-notice-guide-card,
    .mobile-notice-header-card,
    .mobile-guide-header-card,
    .mobile-event-calendar-header-card {
        background: linear-gradient(180deg, rgba(15, 24, 40, 0.92), rgba(10, 17, 31, 0.92));
        border: 1px solid rgba(148, 163, 184, 0.22);
        border-radius: 14px;
        box-shadow: var(--r-shadow);
    }

    .renew-main-mobile .mobile-section {
        margin-bottom: 8px;
    }

    .renew-main-mobile .mobile-section-header {
        margin-bottom: 6px;
    }

    .renew-main-mobile .mobile-section-title {
        font-size: 15px;
    }

    .renew-main-mobile .mobile-notice-guide-card {
        padding: 8px;
    }

    .renew-main-mobile .mobile-epoch-table-cell,
    .renew-main-mobile .mobile-token-table-cell,
    .renew-main-mobile .mobile-node-table-cell,
    .renew-main-mobile .mobile-wmt-table-cell {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .mobile-section-title,
    .mobile-notice-title,
    .mobile-guide-title,
    .mobile-event-calendar-title,
    .mobile-humor-title,
    .mobile-leaderboard-title {
        color: #f8fbff;
    }

    .mobile-notice-guide-title,
    .mobile-guide-item-title,
    .mobile-notice-title-cell,
    .mobile-humor-item-title {
        color: #eaf2ff;
    }

    .mobile-notice-guide-date,
    .mobile-guide-date,
    .mobile-notice-date,
    .mobile-humor-item-date,
    .mobile-humor-subtitle {
        color: var(--r-muted);
    }

    .mobile-price-item,
    .mobile-stats-item,
    .mobile-additional-item {
        border-bottom-color: rgba(71, 85, 105, 0.45);
    }

    .mobile-change-rate.positive {
        color: var(--r-positive);
    }

    .mobile-change-rate.negative {
        color: var(--r-negative);
    }

    .mobile-empty-state,
    .mobile-empty-notice,
    .mobile-empty-guide {
        background: rgba(15, 23, 42, 0.5);
        border: 1px dashed rgba(148, 163, 184, 0.36);
        border-radius: 12px;
        color: var(--r-muted);
    }
}
