﻿:root {
    --md-bg: #090f1b; --md-bar: #0b1220; --md-card: #111a2a; --md-card2: #16213a;
    --md-line: rgba(255,255,255,.07); --md-tx: #eef3ff; --md-mut: #93a0b8; --md-dim: #6c7891;
    --md-blue: #2f86ff; --md-sky: #5aa2ff; --md-gold: #ffc53d; --md-gold-tx: #ffd54a; --md-red: #ff5c6c;
    --md-r: 14px; --md-gut: 16px;
}

/* ═══ GLOBAL RESETS ═══ */
*, *::before, *::after { box-sizing: border-box; }

/* Tepada paydo bo'ladigan chiziq muammosi — body/html margin reset */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    background: #090f1b;  /* sayt foni — flicker oldini oladi */
}

/* MudAppBar tepasida chiziq paydo bo'lmasin */
.mud-appbar.mud-appbar-fixed {
    top: 0 !important;
    margin-top: 0 !important;
}

/* MudLayout flicker olib tashlash */
.mud-layout {
    margin: 0 !important;
}

/* Navbar position:relative bo'lganda MudBlazor ichki padding-top ni olib tashlaymiz */
.mud-main-content {
    padding-top: 0 !important;
}

/* Headerlar atrofida focus outline yo'q (FocusOnNavigate bug) */
h1, h2, h3, h4, h5, h6 { outline: none !important; }
[tabindex="-1"]:focus { outline: none !important; }

/* Remove Blazor error overlay in dev */
#blazor-error-ui { display: none !important; }

/* Scrollbar styling */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(59,130,246,0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #3b82f6; }

/* Hide scrollbar but keep scrolling */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* ═══ DARK / LIGHT MODE ADAPTIVE COLORS ═══ */

/* Text that should adapt to theme */
body {
    --text-muted: rgba(128,128,128,0.6);
    --border-subtle: rgba(128,128,128,0.12);
    --hover-bg: rgba(59,130,246,0.07);
    --card-bg: var(--mud-palette-surface);
}

/* Input elements adapt to theme */
input {
    color: var(--mud-palette-text-primary);
    background: transparent;
}

input::placeholder {
    color: var(--mud-palette-text-secondary);
    opacity: 0.6;
}

/* Comic card hover */
.comic-card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

/* Chapter row hover */
.chapter-row:hover {
    background: var(--hover-bg) !important;
}

/* Hero section - always dark */
.hero-section {
    background: #0d0f18;
}

/* MudBlazor overrides */
.mud-nav-link.active {
    color: #60a5fa !important;
}

/* Smooth transitions */
.mud-main-content {
    transition: background-color 0.3s;
}

/* Fix MudChip in light mode */
.mud-chip {
    font-weight: 600 !important;
}

/* Genre chips */
.genre-chip {
    background: rgba(96,165,250,0.12) !important;
    color: #60a5fa !important;
}

/* Font */
body, .mud-typography {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ═══ CONTENT HIMOYA / CONTENT PROTECTION ═══ */

/* Rasmlarni tortib olishni bloklash */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;       /* clicks pass-through to parent */
}

/* Interactive joylarda img bosilishi kerak (nav, cardlar) */
a img,
button img,
.nav-avatar-btn img,
[role="button"] img {
    pointer-events: auto;
}

/* Manga o'qish sahifasidagi rasmlar ustiga shaffof himoya qatlam */
.lr-wrap {
    -webkit-user-select: none;
    user-select: none;
}
.lr-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 5;
    background: transparent;
    pointer-events: none;       /* faqat vizual himoya, klik o'tadi */
}

/* Matnni tanlashni bloklash (kontent sahifalarida) */
.dr-desc,
.dr-title,
.trending-info,
.lr-content,
.hero-title,
.hero-desc,
.video-card-info {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

/* Input va textarea'da tanlab yozish hali ham ishlaydi */
input, textarea, [contenteditable] {
    -webkit-user-select: text !important;
    user-select: text !important;
}

/* ═══ VIDEO CARD (Shared/VideoCard.razor) — Home.razor'dagi .trending-card bilan bir xil o'lcham ═══ */
.video-card {
    flex: 0 0 168px;
    width: 168px;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    position: relative;
}
.video-card-below { flex: 1; display: flex; flex-direction: column; }
/* "Kitobni o'qish uchun bosing" har doim kartaning pastida */
.video-card .video-card-book { margin-top: auto; }
/* Mobilda komik kartalari (.trending-card) bilan bir xil kenglik */
@media (max-width: 768px) {
    .video-card { flex: 0 0 132px; width: 132px; }
}
.video-card-img-wrap { position: relative; }
.video-card img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
    .video-card:hover img { transform: scale(1.06); }
}
/* Sifat belgilari — poster chap yuqorisida ustma-ust */
.video-card-quals {
    position: absolute;
    top: 8px; left: 8px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}
.video-card-qual {
    background: rgba(10,12,18,0.78);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(96,165,250,0.45);
    color: #93c5fd;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 5px;
    line-height: 1.4;
}
/* Reyting — o'ng yuqorida */
.video-card-rate {
    position: absolute;
    top: 8px; right: 8px;
    z-index: 3;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1a1204;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 5px;
    white-space: nowrap;
}

/* Sichqoncha olib borilganda — qoraytirilgan fon va markazda play tugmasi.
   Faqat sichqonchali qurilmalarda: telefonda barmoq tegishi hover deb qabul qilinardi. */
.video-card-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.75);
    z-index: 4;
    width: 54px; height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.video-card-play svg { width: 24px; height: 24px; margin-left: 3px; }
.video-card-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(8,9,14,0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
    .video-card:hover .video-card-play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    .video-card:hover .video-card-img-wrap::after { opacity: 1; }
}

/* Serialning qismlar soni — poster chap pastida */
.video-card-ep {
    position: absolute;
    bottom: 8px; left: 8px;
    z-index: 3;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    font-size: 10.5px; font-weight: 800;
    padding: 3px 9px;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(37,99,235,0.4);
}

/* Sarlavha posterdan pastda */
.video-card-below { padding: 9px 2px 4px; }
/* Kitobi bor videoda — to'g'ridan-to'g'ri o'qishga havola */
.video-card-book {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
    background: rgba(245,158,11,0.14);
    border: 1px solid rgba(245,158,11,0.45);
    color: #fbbf24;
    border-radius: 5px;
    padding: 2px 8px;
    font-size: 10.5px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1.5;
}
.video-card-book:hover { background: rgba(245,158,11,0.24); }
.video-card-book svg { width: 12px; height: 12px; flex-shrink: 0; }
.video-card-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--mud-palette-text-primary);
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    /* Sarlavha bir qator bo'lsa ham ikki qatorlik joy egallaydi —
       shunda qatordagi kartalar va ular ostidagi tugmalar tekis turadi */
    min-height: calc(2 * 1.3em);
}
.video-card-sub {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    font-size: 11.5px;
    color: var(--mud-palette-text-secondary);
    opacity: 0.75;
}
.video-card-year { margin-left: auto; }

@media (max-width: 768px) {
    .video-card-name { font-size: 12.5px; }
    .video-card-sub { font-size: 11px; }
    .video-card-qual { font-size: 9px; padding: 1px 5px; }
    .video-card-rate { font-size: 10px; padding: 2px 6px; }
}

/* ═══ HERO CAROUSEL (Shared/VideoHeroCarousel.razor) ═══
   Surilib o'tadigan trek. Slaydlar orasidagi oraliq qora fonni ko'rsatadi —
   o'tayotganda rasmlar bir-biridan ajralib turadi. */
.hc {
    --hc-slide-w: 500px;
    --hc-gap: 26px;
    position: relative;
    width: 100%;
    padding: 0 0 34px;
    background: transparent;   /* sahifaning umumiy foni — karusel ajralib turmasin */
    overflow: hidden;
}

/* Soya yo'q — aks holda karusel alohida panel bo'lib ajralib turardi */

/* Pastdagi qora chiziq va unda nom — desktopda ham, mobilda ham bir xil.
   Reyting belgisi, janr, yil va tugma olib tashlangan. */



@media (max-width: 1100px) {
    .hc { --hc-slide-w: 420px; }
}

/* ── Mobil: banner ekran eni bo'ylab, ikki chetga yopishgan ── */
@media (max-width: 768px) {
    .hc {
        --hc-slide-w: 100vw;
        --hc-gap: 0px;
        padding-bottom: 0;
    }
    /* Chetlarda bo'shliq yo'q, burchaklar to'g'ri, qo'shnilar xiralashmaydi */
    /* Telefonda strelkalar va nuqtalar ko'rinmaydi */
}
/* ═══ LINKED CONTENT CARD (Shared/LinkedContentCard.razor) — komik↔video o'zaro havola ═══ */
/* Komik ↔ Video o'zaro havola kartasi — saytning ko'k rangida */
.lcc {
    display: flex;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s, border-color 0.15s;
    align-items: center;
    gap: 13px;
    margin: 0 0 18px;
    padding: 11px;
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
}
.lcc-poster {
    width: 72px;
    height: 104px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    background: rgba(255,255,255,0.05);
}
.lcc-body { flex: 1; min-width: 0; }
.lcc-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 6px;
    margin-bottom: 6px;
}
.lcc-tag svg { width: 12px; height: 12px; }
.lcc-title {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--mud-palette-text-primary);
    line-height: 1.25;
    margin-bottom: 9px;
}
.lcc-sub {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    margin-bottom: 9px;
}
.lcc-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.4px;
    padding: 9px 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: filter 0.15s;
}
.lcc:hover { background: rgba(255,255,255,0.055); border-color: rgba(255,255,255,0.14); }
.lcc:hover .lcc-btn { filter: brightness(1.1); }
.lcc-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.lcc-arrow { margin-left: 2px; }

@media (max-width: 600px) {
    .lcc { gap: 11px; padding: 10px; border-radius: 8px; }
    .lcc-poster { width: 64px; height: 92px; }
    .lcc-title { font-size: 13.5px; margin-bottom: 8px; }
    .lcc-btn { font-size: 11px; padding: 8px 12px; gap: 6px; }
    .lcc-btn svg { width: 13px; height: 13px; }
    .lcc-tag { font-size: 9.5px; padding: 4px 9px; margin-bottom: 5px; }
}

/* ═══ VIDEO PLAYER (Shared/VideoPlayer.razor) ═══
   Diqqat: bu yerda ataylab HECH QANDAY blur()/backdrop-filter() ishlatilmagan —
   mobil brauzerlarda (ayniqsa Android WebView) blur+video qatlamlari birga
   "piksellar buzilib ketishi"ga (rendering artifact) sabab bo'lgani aniqlangan. */
.vp-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

/* YouTube/Vimeo iframe — o'z boshqaruvi bor, bizniki kerak emas */
.vp-container.vp-embed { cursor: default; }
.vp-container.vp-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.vp-container.vp-hide-cursor { cursor: none; }
.vp-container video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    display: block;
    background: #000;
    object-fit: contain;
}

/* Markaziy boshqaruv: 5s orqaga | ijro/pauza | 5s oldinga */
.vp-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 48px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}
.vp-center.vp-visible { opacity: 1; pointer-events: auto; }

/* Surish tugmalari — faqat kontur, ichi bo'sh */
.vp-cbtn {
    background: transparent;
    border: 2.5px solid rgba(255,255,255,0.9);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    padding: 0;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    position: relative;
    flex-shrink: 0;
    transition: background 0.15s, transform 0.15s;
}
.vp-cbtn:hover { background: rgba(255,255,255,0.16); transform: scale(1.06); }
.vp-cbtn svg { width: 22px; height: 22px; fill: currentColor; }

/* Ijro/pauza — kattaroq va to'ldirilgan doira, konturi yo'q */
.vp-cbtn-main {
    width: 84px; height: 84px;
    background: rgba(255,255,255,0.32);
    border: none;
}
.vp-cbtn-main:hover { background: rgba(255,255,255,0.45); }
.vp-cbtn-main svg { width: 34px; height: 34px; }
.vp-cbtn-main .vp-ic-play { margin-left: 4px; }

/* Yuklanish spinneri */
.vp-spinner {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 42px; height: 42px;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s;
}
.vp-spinner.vp-visible { opacity: 1; }
.vp-spinner svg { width: 100%; height: 100%; animation: vp-spin 0.9s linear infinite; }
.vp-spinner circle { stroke: rgba(255,255,255,0.9); stroke-linecap: round; stroke-dasharray: 90 60; }
@keyframes vp-spin { to { transform: rotate(360deg); } }

/* Boshqaruv paneli — video ustiga qoplama, avtomatik yashiriladi */
.vp-controls {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 4;
    padding: 28px 14px 6px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.82) 55%);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.22s ease, transform 0.22s ease;
    pointer-events: none;
}
.vp-controls.vp-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* Vaqt chiziq ustida: chapda o'tgan, o'ngda umumiy */
.vp-times {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

/* Pastdagi chiziq — namunadagidek yo'g'onroq va butun kenglik bo'ylab */
.vp-progress-wrap {
    position: relative;
    height: 20px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.vp-progress-wrap::before {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.22);
}
.vp-progress-buffered {
    position: absolute;
    left: 0; height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.4);
    width: 0%;
    pointer-events: none;
}
.vp-progress-played {
    position: absolute;
    left: 0; height: 6px;
    border-radius: 3px;
    background: #ef4444;
    width: 0%;
    pointer-events: none;
}
.vp-progress-thumb {
    position: absolute;
    right: -7px; top: 50%;
    transform: translateY(-50%);
    width: 14px; height: 14px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.vp-seek {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.vp-controls-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}
.vp-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}
.vp-btn:hover { background: rgba(255,255,255,0.12); }
.vp-btn svg { width: 24px; height: 24px; }
.vp-btn.vp-on { color: #60a5fa; }
.vp-time {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.72);
    white-space: nowrap;
    flex-shrink: 0;
}
.vp-spacer { flex: 1; }

/* Qulflangan holat: boshqaruv butunlay bloklanadi */
.vp-locked .vp-center,
.vp-locked .vp-controls { display: none; }
.vp-lock-veil {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 22px;
}
.vp-lock-open {
    background: rgba(0,0,0,0.55) !important;
    border-radius: 50% !important;
    width: 46px; height: 46px;
    color: #60a5fa;
}
.vp-timer-wrap { position: relative; }
.vp-volume {
    width: 64px;
    accent-color: #ef4444;
    cursor: pointer;
    flex-shrink: 0;
}

/* Sifat menyusi (Avto/480p/720p/1080p) — pleer ichida, sozlamalar tugmasi ustida */
.vp-quality-wrap { position: relative; }
.vp-quality-backdrop {
    position: fixed;
    inset: 0;
    z-index: 5;
}
.vp-quality-menu {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    z-index: 6;
    background: rgba(21,23,31,0.97);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 4px;
    min-width: 96px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.vp-quality-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 10px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
}
.vp-quality-item:hover { background: rgba(255,255,255,0.08); }
.vp-quality-item.active { color: #ef4444; }
.vp-quality-check { color: #ef4444; font-weight: 800; }

/* To'liq ekran: pleyer 16:9 qutidan chiqib, butun ekranni (eni bilan) egallaydi */
.vp-container:fullscreen,
.vp-container:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    max-width: none;
    aspect-ratio: auto;
    border-radius: 0;
}
.vp-container:fullscreen video,
.vp-container:-webkit-full-screen video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Ikki marta bosilganda paydo bo'ladigan yumaloq belgi (YouTube kabi) */
.vp-tap-ripple {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 42%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 6;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.16), transparent 70%);
    animation: vp-tap 0.48s ease-out forwards;
}
.vp-tap-ripple.left  { left: 0;  border-radius: 0 50% 50% 0 / 0 50% 50% 0; }
.vp-tap-ripple.right { right: 0; border-radius: 50% 0 0 50% / 50% 0 0 50%; }
.vp-tap-ripple span {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}
@keyframes vp-tap {
    from { opacity: 0; }
    30%  { opacity: 1; }
    to   { opacity: 0; }
}

/* 5 soniya orqaga/oldinga tugmalari — ikonka ustida "5" raqami */
.vp-skip { position: relative; }
.vp-skip .vp-skip-n {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -40%);
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
}
.vp-skip-fwd svg { transform: scaleX(-1); }

@media (max-width: 768px) {
    .vp-volume, .vp-volume-btn { display: none; }
    .vp-center { gap: 36px; }
    .vp-cbtn { width: 40px; height: 40px; border-width: 2px; }
    .vp-cbtn svg { width: 20px; height: 20px; }
    .vp-cbtn-main { width: 76px; height: 76px; }
    .vp-cbtn-main svg { width: 31px; height: 31px; }
    .vp-controls { padding: 24px 12px 6px; }
    .vp-controls-row { gap: 1px; }
    .vp-btn { padding: 5px; }
    .vp-btn svg { width: 19px; height: 19px; }
    .vp-time { font-size: 11px; }
}

/* ══ To'liq ekranli pleyer qatlami (film/qism tomosha qilish) ══ */
.fsp-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;   /* iOS: brauzer panellari hisobga olingan haqiqiy balandlik */
    z-index: 3000;
    background: #000;
    display: flex;
    flex-direction: column;
    overscroll-behavior: contain;
}
.fsp-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    flex-shrink: 0;
}
.fsp-close {
    width: 38px; height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.fsp-close svg { width: 26px; height: 26px; }
.fsp-close:hover { background: rgba(255,255,255,0.12); }
/* Sarlavha markazda — chapdagi strelka kengligicha o'ngdan ham bo'shliq qoldiramiz */
.fsp-titles { flex: 1; text-align: center; padding-right: 38px; min-width: 0; }
.fsp-title { font-size: 17px; font-weight: 700; color: #fff; line-height: 1.25; }
.fsp-sub { font-size: 15px; opacity: 0.85; color: #fff; margin-top: 1px; }
/* Pleyer qolgan butun joyni egallaydi — shunda chiziq ekranning eng pastida turadi,
   video esa o'rtada letterbox bo'lib ko'rinadi (16/9 quti o'rtada suzmaydi) */
.fsp-body {
    flex: 1;
    position: relative;
    min-height: 0;
}
.fsp-player { position: absolute; inset: 0; }
.fsp-player .vp-container {
    border-radius: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
}
/* Bizning <video>: to'liq qutini egallaydi, object-fit: contain rasmni
   o'rtada eng katta o'lchamda ko'rsatadi. Konteyner butun balandlikda qoladi —
   shunda progress chizig'i ekranning eng pastida turadi. */
.fsp-player .vp-container > video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* YouTube/Vimeo iframe'da object-fit ishlamaydi — u o'ziga berilgan qutini
   to'ldiradi va ichida letterbox qiladi. Shuning uchun unga sig'adigan eng
   katta 16/9 qutini o'zimiz beramiz, aks holda baland qutida kichik tasma bo'lib qoladi. */
.fsp-player .vp-container.vp-embed {
    display: flex;
    align-items: center;
    justify-content: center;
}
.fsp-player .vp-container.vp-embed iframe {
    position: static;
    inset: auto;
    aspect-ratio: 16 / 9;
    max-width: 100%;
    max-height: 100%;
}
/* Qaysi o'lcham cheklovchi ekaniga qarab: baland ekranda kenglik,
   keng ekranda balandlik to'ldiriladi — nisbat har ikkalasida ham 16/9 qoladi */
@media (max-aspect-ratio: 16 / 9) {
    .fsp-player .vp-container.vp-embed iframe { width: 100%; height: auto; }
}
@media (min-aspect-ratio: 16 / 9) {
    .fsp-player .vp-container.vp-embed iframe { height: 100%; width: auto; }
}

@media (min-width: 700px) {
    .fsp-player { max-width: 1400px; margin: 0 auto; }
}

.md-hs { display: flex; gap: 10px; overflow-x: auto; padding: 0 var(--md-gut); scroll-padding: 0 var(--md-gut); scrollbar-width: none; scroll-snap-type: x mandatory; }
.md-hs::-webkit-scrollbar { display: none; }
.md-hs > * { scroll-snap-align: start; }
.md-sec { margin-top: 16px; background: var(--md-card); padding: 14px 0 16px; color: var(--md-tx); }
.md-sh { display: flex; align-items: center; justify-content: space-between; margin: 0 var(--md-gut) 12px; }
.md-sh h2 { margin: 0; font-size: 18px; font-weight: 600; line-height: 28px; display: flex; align-items: center; gap: 10px; color: var(--md-tx); }
.md-sh .ib { width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; flex-shrink: 0; background: rgba(47,134,255,.15); color: #2f86ff; }
.md-sh .ib.gold { background: rgba(255,197,61,.15); color: #ffc53d; }
.md-sh .more { height: 29px; padding: 0 12px; border-radius: 6px; background: #2f86ff; color: #fff; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 2px; text-decoration: none; }
.md-sh .more.gold { background: linear-gradient(90deg,#fbbf24,#f59e0b); color: #000; font-weight: 700; }
.md-cv { flex: 0 0 144px; width: 144px; min-width: 0; text-align: left; position: relative; display: block; color: var(--md-tx); text-decoration: none; }
.md-cv .im { width: 100%; aspect-ratio: 144 / 206; border-radius: 6px; overflow: hidden; position: relative; background: #1a2438; }
.md-cv .im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.md-cv .n, .md-vp .n { display: block; margin-top: 8px; font-size: 12px; font-weight: 700; line-height: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.md-cv .m { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 13px; color: #999; font-weight: 500; white-space: nowrap; }
.md-cv .star { color: var(--md-gold-tx); font-weight: 700; display: inline-flex; align-items: center; gap: 3px; }
.md-vp { flex: 0 0 144px; width: 144px; min-width: 0; text-align: left; display: block; color: var(--md-tx); text-decoration: none; }
.md-vp .im { width: 100%; aspect-ratio: 144 / 206; border-radius: 12px; overflow: hidden; position: relative; background: #1a2438; }
.md-vp .im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.md-vp .m { display: block; margin-top: 2px; font-size: 11.5px; color: var(--md-mut); }
.md-pill { position: absolute; top: 6px; right: 6px; display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px; border-radius: 7px; background: rgba(0,0,0,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 11.5px; font-weight: 800; color: var(--md-gold-tx); }
.md-upd { display: flex; gap: 12px; margin: 0 var(--md-gut); padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.md-upd:last-child { border-bottom: 0; padding-bottom: 4px; }
.md-upd .im { width: 93px; height: 124px; flex-shrink: 0; border-radius: 6px; overflow: hidden; display: block; }
.md-upd .im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.md-upd .b { flex: 1; min-width: 0; }
.md-upd .t { display: block; font-size: 16px; font-weight: 700; line-height: 24px; color: rgba(255,255,255,.9); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.md-upd .c { display: flex; justify-content: space-between; align-items: center; height: 24px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.9); text-decoration: none; }
.md-upd .c.new { color: var(--md-sky); font-weight: 700; }
.md-upd .c .l { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; }
.md-upd .c .nm { color: var(--md-dim); font-weight: 500; }
.md-upd .c .lk { display: inline-flex; align-items: center; gap: 3px; color: var(--md-gold-tx); font-size: 12px; font-weight: 700; }
.md-upd .c .lk img { width: 14px; height: 14px; }
.md-upd .c .w { flex-shrink: 0; margin-left: 8px; font-size: 11px; font-weight: 400; color: rgba(255,255,255,.6); }
.md-vbtn { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 44px; margin-top: 8px; padding: 0 14px; border-radius: 8px; background: linear-gradient(90deg,#fbbf24,#f59e0b); color: #000; font-size: 14px; font-weight: 800; text-decoration: none; box-shadow: 0 6px 16px rgba(245,158,11,.25); }
.md-vbtn span { display: flex; align-items: center; gap: 8px; }

@media (min-width: 900px) {
    .md-cv, .md-vp { flex-basis: 160px; width: 160px; }
    .md-cv .n, .md-vp .n { font-size: 13px; line-height: 17px; }
    .md-sec { border-radius: 6px; }
}

.md-page { color: var(--md-tx); }
.md-panel { margin: 12px var(--md-gut) 16px; padding: 18px 16px; border-radius: 14px; background: linear-gradient(160deg,#16233d,#101a2e); border: 1px solid var(--md-line); }
.md-panel-h { display: flex; align-items: center; gap: 10px; }
.md-panel-h h1 { margin: 0; font-size: 22px; font-weight: 800; color: var(--md-tx); }
.md-panel-sub { font-size: 12.5px; color: var(--md-mut); margin-top: 6px; }
.md-count { min-width: 30px; height: 24px; padding: 0 9px; border-radius: 7px; background: rgba(47,134,255,.22); color: #8fc0ff; font-size: 13px; font-weight: 800; display: inline-grid; place-items: center; }
.md-csearch { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 10px; background: rgba(0,0,0,.28); border: 1px solid var(--md-line); color: var(--md-dim); margin-bottom: 10px; }
.md-csearch input, .md-sinput input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font: 500 14px system-ui,-apple-system,'Segoe UI',Roboto,sans-serif; }
.md-sinput { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 12px; border-radius: 23px; background: #141d2e; border: 1px solid var(--md-blue); color: var(--md-dim); }
.md-cfilt { width: 100%; height: 44px; border-radius: 10px; background: rgba(255,255,255,.07); border: 1px solid var(--md-line); color: var(--md-tx); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 700; cursor: pointer; }
.md-cfilt .fn { min-width: 20px; height: 20px; border-radius: 10px; background: var(--md-blue); font-size: 11px; display: grid; place-items: center; }
.md-chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 var(--md-gut); margin-bottom: 14px; scrollbar-width: none; }
.md-chips::-webkit-scrollbar { display: none; }
.md-chips.wrap { flex-wrap: wrap; }
.md-chip { flex-shrink: 0; height: 34px; padding: 0 14px; border-radius: 17px; background: var(--md-card); border: 1px solid var(--md-line); font-size: 13px; font-weight: 600; color: #cfd8ea; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; }
.md-chip.on { background: var(--md-blue); border-color: transparent; color: #fff; }
.md-chip.gold.on { background: var(--md-gold); color: #1a1205; }
.md-chip.act { border-color: var(--md-blue); color: #8fc0ff; }
.md-chip.act span { opacity: .7; }
.md-g3 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px 10px; padding: 0 var(--md-gut); }
.md-g3 .md-cv { flex: none; width: auto; }
.md-g3 .md-cv .im { aspect-ratio: 5 / 7; }
.md-cat-link { display: block; color: inherit; text-decoration: none; }
.md-type { position: absolute; top: 6px; left: 6px; pointer-events: none; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 5px; }
.md-save { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(10,14,24,.72); border: 0; cursor: pointer; }
.md-save.on { background: var(--md-blue); }
.md-prog { margin: 6px 0 0; padding: 0 1px; }
.md-prog .t { font-size: 10.5px; color: var(--md-mut); font-weight: 600; }
.md-prog .b { height: 3px; border-radius: 2px; background: rgba(255,255,255,.1); margin-top: 4px; overflow: hidden; }
.md-prog .b i { display: block; height: 100%; background: var(--md-blue); }
.md-empty { text-align: center; padding: 50px 30px; color: var(--md-mut); font-size: 14px; }
.md-empty b { display: block; color: #fff; font-size: 16px; margin: 12px 0 4px; }
.md-more { display: block; width: calc(100% - 32px); height: 44px; margin: 18px auto 0; border-radius: 10px; background: rgba(255,255,255,.07); border: 1px solid var(--md-line); color: var(--md-tx); font-size: 14px; font-weight: 700; cursor: pointer; }
.md-bbtn { padding: 0 16px; border-radius: 6px; background: linear-gradient(180deg,#3b8fff,#2373e6); color: #fff; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; cursor: pointer; text-decoration: none; }
.md-sheet-bg { position: fixed; inset: 0; z-index: 1300; background: rgba(0,0,0,.55); }
.md-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1301; background: #0f1728; border-radius: 22px 22px 0 0; padding: 10px var(--md-gut) calc(26px + env(safe-area-inset-bottom)); max-height: 80%; display: flex; flex-direction: column; color: var(--md-tx); }
.md-sheet .gr { width: 40px; height: 4px; border-radius: 2px; background: #2a3650; margin: 0 auto 14px; flex-shrink: 0; }
.md-sheet h3 { margin: 0 0 10px; font-size: 16px; }
.md-sheet-body { overflow-y: auto; flex: 1; min-height: 0; }
.md-sheet-foot { display: flex; gap: 8px; margin-top: 10px; }
.md-acc { border-radius: 10px; background: rgba(255,255,255,.06); margin-bottom: 8px; overflow: hidden; }
.md-acc > button { width: 100%; height: 46px; padding: 0 14px; display: flex; align-items: center; justify-content: flex-start; gap: 10px; font-size: 14px; font-weight: 600; text-align: left; background: none; border: 0; color: inherit; cursor: pointer; }
.md-acc > button .pl { position: relative; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; background: #e6edf9; }
.md-acc > button .pl::before, .md-acc > button .pl::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; border-radius: 1px; background: #101a2e; transform: translate(-50%,-50%); }
.md-acc > button .pl::after { transform: translate(-50%,-50%) rotate(90deg); }
.md-acc > button .pl.minus::after { display: none; }
.md-acc > button .pl.check { background: var(--md-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.md-acc > button .pl.check::before, .md-acc > button .pl.check::after { display: none; }
.md-acc > button svg { margin-left: auto; transition: .2s; opacity: .7; }
.md-acc > button .n + svg { margin-left: 8px; }
.md-acc.open > button svg { transform: rotate(180deg); }
.md-acc .opts { padding: 2px 12px 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.md-acc .n { margin-left: auto; font-size: 12px; color: #8fc0ff; font-weight: 700; }
.md-nt { display: flex; gap: 12px; padding: 12px var(--md-gut); border-bottom: 1px solid var(--md-line); text-align: left; width: 100%; color: inherit; text-decoration: none; }
.md-nt .im { width: 44px; height: 60px; border-radius: 8px; overflow: hidden; flex-shrink: 0; display: block; }
.md-nt .im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.md-nt .a { display: block; font-size: 14px; font-weight: 700; }
.md-nt .b { display: block; font-size: 12px; color: var(--md-mut); margin-top: 3px; }
.md-nt .star { color: var(--md-gold-tx); font-weight: 700; display: inline-flex; align-items: center; gap: 3px; }

@media (min-width: 900px) {
    .md-page { max-width: 1240px; margin: 0 auto; padding: 0 8px; }
    .md-g3 { grid-template-columns: repeat(auto-fill,minmax(170px,1fr)); gap: 20px 16px; }
    .md-sheet { left: 50%; right: auto; bottom: 50%; transform: translate(-50%,50%); width: 520px; border-radius: 18px; max-height: 80vh; padding-bottom: 20px; }
    .md-sheet .gr { display: none; }
}

.md-box { margin: 16px var(--md-gut) 0; background: var(--md-card); border-radius: 12px; padding: 16px; color: var(--md-tx); }
.md-box-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.md-box-h h2 { margin: 0; font-size: 20px; font-weight: 700; color: inherit; }
.md-box-t { margin: 0 0 12px; font-size: 20px; font-weight: 700; line-height: 28px; color: inherit; }
.md-cav { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #fff; overflow: hidden; }
.md-cav img { width: 100%; height: 100%; object-fit: cover; }
.md-cm-write { display: flex; gap: 10px; align-items: flex-start; }
.md-cm-write .f { flex: 1; min-width: 0; }
.md-cm-write textarea { width: 100%; resize: none; padding: 10px 12px; border-radius: 10px; background: rgba(0,0,0,.28); border: 1px solid var(--md-line); color: #fff; font: inherit; font-size: 14px; outline: 0; box-sizing: border-box; }
.md-cm-write .a { display: flex; justify-content: flex-end; margin-top: 8px; }
.md-cm-write .md-bbtn:disabled { opacity: .5; cursor: default; }
.md-cm-login { display: block; text-align: center; padding: 14px; border-radius: 10px; background: rgba(47,134,255,.1); color: var(--md-sky); font-size: 13.5px; font-weight: 700; text-decoration: none; }
.md-cm-empty { padding: 18px 0 4px; text-align: center; font-size: 13.5px; color: var(--md-mut); }
.md-cm { display: flex; gap: 10px; padding: 14px 0; border-top: 1px solid var(--md-line); }
.md-cm .b { flex: 1; min-width: 0; }
.md-cm .t { display: flex; align-items: baseline; gap: 8px; }
.md-cm .t b { font-size: 14px; font-weight: 700; }
.md-cm .t span { font-size: 12px; color: var(--md-dim); }
.md-cm .x { margin-top: 4px; font-size: 14px; line-height: 21px; color: rgba(255,255,255,.88); overflow-wrap: anywhere; white-space: pre-wrap; }
.md-cm .r { display: flex; gap: 16px; margin-top: 8px; }
.md-cm .r button { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--md-mut); background: none; border: 0; padding: 0; cursor: pointer; }
.md-cm .r button.on { color: var(--md-sky); }
.md-sim { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px 10px; align-items: start; }
.md-sim a { display: block; min-width: 0; color: inherit; text-decoration: none; }
.md-sim .im { display: block; position: relative; aspect-ratio: 154 / 230; border-radius: 6px; overflow: hidden; }
.md-sim .im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.md-sim .n { margin-top: 6px; font-size: 12px; font-weight: 700; line-height: 15px; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.md-sim .m { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 12px; font-weight: 500; color: #999; }
.md-sim .r { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; }
.md-sim .r svg { color: var(--md-gold); }
.md-lock-t { color: var(--md-mut); font-size: 13.5px; margin-bottom: 16px; line-height: 1.5; }
.md-cta { width: 100%; height: 50px; border: 0; border-radius: 12px; background: linear-gradient(180deg,#ffd34d,#f5b301); color: #1a1205; font-size: 15px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; flex-shrink: 0; }
.md-cta img { width: 24px; height: 24px; }
.md-wait { margin-top: 12px; height: 40px; background: none; border: 0; font-size: 13.5px; font-weight: 700; color: var(--md-sky); cursor: pointer; flex-shrink: 0; }

.cd { position: relative; color: var(--md-tx); overflow-x: clip; }
.cd-bg { position: absolute; left: -20px; right: -20px; top: -20px; height: 380px; background-size: cover; background-position: center; filter: blur(9px) brightness(.62); -webkit-mask-image: linear-gradient(#000 45%, rgba(0,0,0,.6) 70%, transparent); mask-image: linear-gradient(#000 45%, rgba(0,0,0,.6) 70%, transparent); pointer-events: none; }
.cd-fade { position: absolute; left: 0; right: 0; top: 200px; height: 142px; background: linear-gradient(180deg,transparent,var(--md-bg)); }
.cd-grid { position: relative; display: flex; flex-direction: column; padding-top: 22px; }
.cd-l, .cd-r { display: contents; }
.cd-cov { order: 1; width: 180px; height: 256px; margin: 0 auto; border-radius: 6px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.6); }
.cd-cov img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cd-card { order: 2; margin: 16px var(--md-gut) 0; background: var(--md-card); border-radius: 6px; padding: 16px 12px; }
.cd-card h1 { margin: 0; font-size: 20px; font-weight: 600; line-height: 25px; color: rgba(255,255,255,.9); }
.cd-meta { display: flex; align-items: center; gap: 8px; margin-top: 10px; min-width: 0; }
.cd-rank { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 4px; background: linear-gradient(90deg,#ff8a3d,#ff5c3d); font-size: 12px; font-weight: 600; color: #fff; }
.cd-meta .t { font-size: 12px; color: rgba(255,255,255,.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cd-desc { margin: 12px 0 0; font-size: 14px; font-weight: 300; line-height: 1.55; color: rgba(255,255,255,.8); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cd-more { display: flex; justify-content: flex-end; margin-top: 4px; }
.cd-more button { height: 24px; padding: 0 6px; border-radius: 4px; font-size: 12px; font-weight: 500; color: var(--md-sky); background: none; border: 0; cursor: pointer; }
.cd-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 12px; border-radius: 6px; background: var(--md-bg); padding: 12px 0; }
.cd-stats.plain { margin-top: 0; background: none; padding: 0 0 16px; border-bottom: 1px solid rgba(255,255,255,.07); border-radius: 0; }
.cd-stats > div { text-align: center; border-right: 1px solid rgba(255,255,255,.08); }
.cd-stats > div:last-child { border-right: 0; }
.cd-stats b { display: inline-flex; align-items: center; gap: 4px; font-size: 16px; font-weight: 700; }
.cd-stats span { display: block; font-size: 11px; color: rgba(255,255,255,.5); margin-top: 2px; }
.cd-acts { order: 3; margin: 12px var(--md-gut) 0; display: flex; flex-direction: column; gap: 8px; }
.cd-acts .row { display: flex; gap: 8px; }
.cd-acts .row.two { display: grid; grid-template-columns: 1fr 1fr; }
.cd-save, .cd-share, .cd-donate, .cd-read { height: 44px; border-radius: 6px; border: 0; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; cursor: pointer; text-decoration: none; }
.cd-save { flex: 1; font-weight: 500; color: #fff; background: linear-gradient(90deg,#2f86ff,#2373e6); }
.cd-save.on { background: rgba(47,134,255,.15); box-shadow: inset 0 0 0 1px #2f86ff; }
.cd-share { flex-shrink: 0; padding: 0 14px; font-weight: 500; color: var(--md-tx); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.cd-donate { font-weight: 700; color: #fff; background: linear-gradient(90deg,#ff6b9a,#ff8a3d); box-shadow: 0 4px 14px rgba(255,107,154,.3); }
.cd-read { flex-direction: column; gap: 0; line-height: 1.15; font-weight: 600; color: #000; background: #e8e8e8; }
.cd-read small { font-size: 11px; font-weight: 500; opacity: .6; }
.cd-read:disabled { opacity: .5; cursor: default; }
.cd-wv { order: 4; position: relative; display: flex; align-items: center; gap: 12px; margin: 12px var(--md-gut) 0; height: 72px; padding: 0 14px 0 8px; border-radius: 6px; overflow: hidden; background: linear-gradient(100deg,#fcd34d 0%,#fbbf24 45%,#f59e0b 100%); color: #000; text-decoration: none; box-shadow: 0 8px 24px rgba(245,158,11,.3); }
.cd-wv .bgc { position: absolute; right: -20px; top: -30px; width: 150px; height: 150px; object-fit: cover; opacity: .18; transform: rotate(12deg); border-radius: 12px; pointer-events: none; }
.cd-wv .th { position: relative; flex-shrink: 0; width: 42px; height: 58px; border-radius: 5px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.cd-wv .th img { width: 100%; height: 100%; object-fit: cover; }
.cd-wv .th i { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.35); color: #fff; }
.cd-wv b { position: relative; flex: 1; font-size: 16px; font-weight: 800; }
.cd-wv .ar { position: relative; width: 32px; height: 32px; border-radius: 50%; background: rgba(0,0,0,.85); color: #fbbf24; display: grid; place-items: center; }
.cd-ch { order: 5; margin: 20px var(--md-gut) 0; background: var(--md-card); border-radius: 6px; overflow: hidden; }
.cd-ch .h { padding: 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.cd-ch .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cd-ch h2 { margin: 0; font-size: 18px; font-weight: 700; line-height: 28px; color: rgba(255,255,255,.9); }
.cd-ch .sort { display: flex; align-items: center; gap: 4px; height: 32px; padding: 0 12px; border-radius: 6px; background: rgba(255,255,255,.05); border: 0; font-size: 14px; color: rgba(255,255,255,.9); cursor: pointer; }
.cd-ch .q { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 6px; background: var(--md-bg); color: rgba(255,255,255,.4); }
.cd-ch .q input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: #fff; font: inherit; font-size: 16px; }
.cd-ch .list { max-height: 520px; overflow-y: auto; scrollbar-width: thin; }
.cd-ch .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 16px; text-align: left; background: none; border: 0; border-bottom: .8px solid rgba(255,255,255,.06); color: inherit; cursor: pointer; }
.cd-ch .row:last-child { border-bottom: 0; }
.cd-ch .row .n { flex: 1; min-width: 0; }
.cd-ch .row .a { display: block; font-size: 16px; font-weight: 600; line-height: 22px; }
.cd-ch .row .t { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; line-height: 19px; color: rgba(255,255,255,.45); word-break: break-word; }
.cd-ch .row .st { flex-shrink: 0; display: grid; grid-template-columns: 62px 66px; align-items: center; column-gap: 4px; }
.cd-ch .row .slot { display: flex; justify-content: center; align-items: center; gap: 5px; min-height: 26px; }
.cd-ch .row .slot .cost { height: 26px; padding: 0 7px; gap: 3px; }
.cd-ch .row .d { text-align: right; white-space: nowrap; font-size: 12.5px; color: rgba(255,255,255,.4); }
.cd-ch .gk { display: inline-flex; color: #4da3ff; filter: drop-shadow(0 0 5px rgba(47,134,255,.9)); animation: gkPop .55s cubic-bezier(.2,1.6,.3,1); }
@keyframes gkPop { 0% { transform: scale(.3) rotate(-25deg); opacity: 0; } 60% { transform: scale(1.35); } 100% { transform: none; opacity: 1; } }
.cd-ch .cost { flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; border-radius: 14px; background: rgba(255,197,61,.12); color: var(--md-gold-tx); font-size: 12px; font-weight: 800; }
.cd-ch .cost img { width: 14px; height: 14px; }
.cd-below { position: relative; }

.cd-info { position: fixed; inset: 0; z-index: 1250; background: var(--md-bg); overflow-y: auto; color: var(--md-tx); }
.cd-info .top { position: sticky; top: 0; z-index: 2; height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; background: rgba(11,18,32,.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--md-line); }
.cd-info .top b { font-size: 16px; font-weight: 700; }
.cd-info .top button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 0; cursor: pointer; }
.cd-info .in { padding: 18px 16px 40px; max-width: 640px; margin: 0 auto; }
.cd-info .head { display: flex; gap: 14px; align-items: center; font-size: 19px; font-weight: 700; line-height: 24px; }
.cd-info .head img { width: 72px; height: 102px; border-radius: 8px; object-fit: cover; flex-shrink: 0; box-shadow: 0 6px 18px rgba(0,0,0,.5); }
.cd-info .lb { margin-top: 20px; font-size: 12.5px; color: var(--md-dim); }
.cd-info .alt { margin-top: 6px; font-size: 13.5px; line-height: 21px; color: rgba(255,255,255,.75); }
.cd-info .h3 { margin-top: 22px; font-size: 16px; font-weight: 700; }
.cd-info .txt { margin-top: 8px; font-size: 14px; line-height: 22px; font-weight: 300; color: rgba(255,255,255,.82); white-space: pre-line; }
.cd-info .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cd-info .tags a { height: 34px; padding: 0 14px; border-radius: 8px; background: rgba(255,255,255,.07); font-size: 13px; display: inline-grid; place-items: center; color: inherit; text-decoration: none; }
.cd-info .ratebtn { width: 100%; height: 50px; margin-top: 18px; border-radius: 10px; border: 1.5px solid rgba(255,197,61,.55); background: rgba(255,197,61,.06); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 600; color: inherit; cursor: pointer; }
.cd-info .ratebtn svg { color: #ffc53d; }
.cd-info .box { margin-top: 12px; padding: 16px; border-radius: 12px; background: var(--md-card); }
.cd-info .box .cd-stats b { font-size: 19px; font-weight: 800; }
.cd-info .box .cd-stats span { font-size: 12px; color: var(--md-mut); }
.cd-info .two { display: flex; gap: 10px; margin: 16px 0; }
.cd-info .two > div { flex: 1; padding: 14px; border-radius: 10px; background: rgba(0,0,0,.28); }
.cd-info .two span { font-size: 12.5px; color: var(--md-mut); }
.cd-info .two b { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 15px; font-weight: 700; }
.cd-info .two i { width: 9px; height: 9px; border-radius: 50%; }
.cd-info .kv { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 46px; border-radius: 8px; background: rgba(0,0,0,.28); margin-bottom: 8px; }
.cd-info .kv span { font-size: 13.5px; color: var(--md-mut); }
.cd-info .kv b { margin-left: auto; font-size: 14.5px; font-weight: 700; color: #fff; text-align: right; }
.cd-rate { position: fixed; inset: 0; z-index: 1400; background: rgba(0,0,0,.7); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 16px; color: var(--md-tx); }
.cd-rate .m { width: 100%; max-width: 380px; padding: 22px 20px; border-radius: 18px; background: #141b2c; border: 1px solid var(--md-line); box-shadow: 0 20px 50px rgba(0,0,0,.6); box-sizing: border-box; }
.cd-rate .h { display: flex; justify-content: space-between; align-items: flex-start; }
.cd-rate .h button { width: 32px; height: 32px; display: grid; place-items: center; color: var(--md-mut); background: none; border: 0; cursor: pointer; }
.cd-rate .a { font-size: 21px; font-weight: 800; }
.cd-rate .s { font-size: 14px; color: var(--md-mut); margin-top: 6px; }
.cd-rate .l { text-align: center; margin-top: 22px; font-size: 13px; font-weight: 700; letter-spacing: .8px; color: var(--md-mut); }
.cd-rate .v { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-top: 8px; color: #ffc53d; }
.cd-rate .v .st { font-size: 40px; display: inline-flex; }
.cd-rate .v .n { font-size: 64px; font-weight: 800; line-height: 1; }
.cd-rate .v .o { font-size: 24px; font-weight: 700; color: var(--md-mut); }
.cd-range { width: 100%; margin-top: 14px; accent-color: #ffc53d; }
.cd-rate .nums { display: flex; justify-content: space-between; margin-top: 14px; }
.cd-rate .nums button { width: 9.2%; height: 42px; border-radius: 8px; font-size: 17px; font-weight: 700; color: #ffc53d; background: transparent; border: 0; padding: 0; cursor: pointer; }
.cd-rate .nums button.on { background: #ffc53d; color: #1a1205; }
.cd-rate .save { width: 100%; height: 50px; margin-top: 18px; border-radius: 10px; background: linear-gradient(180deg,#3b8fff,#2373e6); color: #fff; font-size: 16px; font-weight: 700; border: 0; box-shadow: 0 6px 18px rgba(47,134,255,.4); cursor: pointer; }

.rd-after { max-width: 840px; margin: 0 auto; color: var(--md-tx); background: var(--md-bg); padding-bottom: 96px; }
.rd-end { padding: 24px var(--md-gut) 8px; text-align: center; color: var(--md-mut); font-size: 13px; }
.rd-end .md-bbtn { height: 48px; padding: 0 24px; margin-top: 12px; }

.dn { padding-bottom: 24px; }
.dn-head { margin: 16px var(--md-gut) 0; padding: 14px; border-radius: 14px; display: flex; gap: 14px; align-items: center; background: linear-gradient(135deg,rgba(255,107,154,.16),rgba(255,138,61,.06)); box-shadow: inset 0 0 0 1px rgba(255,107,154,.28); }
.dn-head img { width: 64px; height: 90px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.dn-head > div { min-width: 0; }
.dn-head .a { font-size: 17px; font-weight: 800; line-height: 22px; }
.dn-head .b { font-size: 13px; line-height: 19px; color: rgba(255,255,255,.7); margin-top: 4px; }
.dn-h { margin: 22px var(--md-gut) 10px; font-size: 17px; font-weight: 700; }
.dn-tariffs { display: flex; flex-direction: column; gap: 8px; margin: 0 var(--md-gut); }
.dn-tariffs button { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; text-align: left; background: var(--md-card); border: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); color: inherit; cursor: pointer; }
.dn-tariffs button.on { background: linear-gradient(90deg,rgba(255,107,154,.14),rgba(255,138,61,.04)); box-shadow: inset 0 0 0 1.5px #ff6b9a; }
.dn-tariffs .rd { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; box-shadow: inset 0 0 0 2px #3a4660; }
.dn-tariffs .on .rd { background: #ff6b9a; box-shadow: none; }
.dn-tariffs .rd i { width: 9px; height: 9px; border-radius: 50%; }
.dn-tariffs .on .rd i { background: #fff; }
.dn-tariffs .tx { flex: 1; min-width: 0; }
.dn-tariffs b { display: block; font-size: 16px; font-weight: 700; }
.dn-tariffs small { display: block; font-size: 12.5px; color: var(--md-mut); margin-top: 2px; }
.dn-tariffs .pr { font-size: 15px; font-weight: 800; white-space: nowrap; }
.dn-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 var(--md-gut); }
.dn-methods button { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; border-radius: 12px; text-align: left; background: rgba(255,255,255,.03); border: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); color: inherit; cursor: pointer; }
.dn-methods button.on { background: color-mix(in srgb, var(--c) 12%, transparent); box-shadow: inset 0 0 0 1.5px var(--c); }
.dn-methods .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; }
.dn-methods b { display: block; font-size: 14px; font-weight: 800; }
.dn-methods small { display: block; font-size: 11.5px; color: var(--md-mut); margin-top: 2px; }
.dn-methods .ck { position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; box-shadow: inset 0 0 0 2px #3a4660; }
.dn-methods .on .ck { background: var(--c); color: #000; box-shadow: none; }
.dn-safe { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px var(--md-gut) 0; font-size: 12.5px; color: var(--md-dim); }
.dn-pay { display: flex; align-items: center; justify-content: center; gap: 8px; width: calc(100% - 32px); margin: 12px auto 0; height: 52px; border-radius: 12px; border: 0; background: linear-gradient(90deg,#ff6b9a,#ff8a3d); color: #fff; font-size: 15.5px; font-weight: 800; box-shadow: 0 8px 22px rgba(255,107,154,.35); cursor: pointer; text-decoration: none; }
.dn-pay:disabled { opacity: .5; }
.dn-note { margin: 12px var(--md-gut) 0; text-align: center; font-size: 13px; color: var(--md-mut); }

@media (min-width: 900px) {
    .cd-grid { display: grid; grid-template-columns: 300px minmax(0,1fr); gap: 24px; max-width: 1240px; margin: 0 auto; padding: 32px 24px 0; box-sizing: border-box; align-items: start; }
    .cd-l, .cd-r { display: block; }
    .cd-cov { width: 100%; height: auto; aspect-ratio: 5 / 7; }
    .cd-card, .cd-acts, .cd-wv, .cd-ch { margin-left: 0; margin-right: 0; }
    .cd-card { margin-top: 0; }
    .cd-below { max-width: 1240px; margin: 0 auto; padding: 0 8px; }
    .md-sim { grid-template-columns: repeat(auto-fill,minmax(140px,1fr)); }
    .dn { max-width: 640px; }
}

.h2-car { position: relative; height: 347px; overflow: hidden; isolation: isolate; color: var(--md-tx); }
.h2-car .bgimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; z-index: 0; transition: opacity .5s; }
.h2-car .veil { position: absolute; inset: 0; z-index: 1; -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); background: rgba(0,0,0,.38); }
.h2-car .fadeb { position: absolute; left: 0; right: 0; bottom: 0; height: 80px; z-index: 1; background: linear-gradient(to top, var(--md-bg), transparent); }
.h2-car .stage { position: absolute; left: 0; right: 0; top: 16px; height: 315px; z-index: 2; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.h2-car .card { position: absolute; top: 0; left: 0; border-radius: 6px; overflow: hidden; color: #fff; text-decoration: none; transform-origin: 0 0; will-change: transform; transition: transform .75s cubic-bezier(.25,.8,.25,1), opacity .75s; }
.h2-car .card { top: 43px; left: calc(50% + 122px + (var(--d, 1) - 1) * 172px); width: 160px; height: 229px; opacity: .7; z-index: 2; }
.h2-car .card.is-n { left: calc(50% - 282px + (var(--d, -1) + 1) * 172px); }
.h2-car .card.is-c { top: 0; left: calc(50% - 110px); width: 220px; height: 315px; opacity: 1; z-index: 3; }
.h2-car .card img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.h2-car .card .g { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.85)); }
.h2-car .card .tt { position: absolute; left: 10px; right: 10px; bottom: 10px; font-size: 12px; font-weight: 700; line-height: 15px; text-align: left; }
.h2-car .card .rt { position: absolute; top: 8px; left: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 6px; border-radius: 6px; background: rgba(0,0,0,.8); font-size: 12px; font-weight: 600; line-height: 16px; color: #fff; }
.h2-car .card .rt b { color: #ffc53d; display: inline-flex; }

.h2-cont { flex: 0 0 260px; width: 260px; display: flex; gap: 10px; padding: 8px; border-radius: 6px; background: var(--md-bg); }
.h2-cont .cvr { flex-shrink: 0; width: 56px; height: 76px; border-radius: 6px; overflow: hidden; display: block; }
.h2-cont .cvr img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h2-cont .inf { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.h2-cont .nm { font-size: 12px; font-weight: 700; line-height: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--md-tx); }
.h2-cont .pc { margin-top: 3px; font-size: 11px; color: #999; }
.h2-cont .bar { display: block; margin-top: 6px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.12); }
.h2-cont .bar i { display: block; height: 100%; border-radius: 2px; background: #2f86ff; }
.h2-cont .go { margin-top: auto; height: 26px; border-radius: 6px; background: #e8e8e8; color: #000; font-size: 12px; font-weight: 600; display: grid; place-items: center; text-decoration: none; }

.h2-rank { background: var(--md-card); padding: 14px 16px 8px; margin-top: 16px; color: var(--md-tx); }
.h2-rank-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.h2-rank-h .ib { width: 28px; height: 28px; border-radius: 6px; display: grid; place-items: center; background: rgba(47,134,255,.15); color: #2f86ff; }
.h2-rank-h h2 { margin: 0; font-size: 18px; font-weight: 600; line-height: 28px; }
.h2-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); height: 32px; border-radius: 6px; background: var(--md-bg); padding: 4px; gap: 4px; }
.h2-tabs button { height: 24px; border-radius: 6px; font-size: 12px; font-weight: 700; border: 0; cursor: pointer; background: transparent; color: rgba(255,255,255,.6); }
.h2-tabs button.on { background: #2f86ff; color: #fff; }
.h2-row { display: flex; gap: 12px; align-items: center; width: 100%; padding: 10px 8px; text-decoration: none; color: inherit; border-bottom: 1px solid rgba(255,255,255,.08); }
.h2-row:last-child { border-bottom: 0; }
.h2-row .pos { position: relative; flex-shrink: 0; width: 48px; height: 64px; }
.h2-row .pos img { width: 48px; height: 64px; border-radius: 6px; object-fit: cover; display: block; }
.h2-row .num { position: absolute; top: -4px; left: -4px; width: 20px; height: 20px; border-radius: 50%; background: #2f86ff; color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; box-shadow: 0 0 0 2px var(--md-card); }
.h2-row .tx { flex: 1; min-width: 0; }
.h2-row .t1 { display: block; font-size: 14px; font-weight: 500; line-height: 17.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h2-row .t2 { display: block; margin-top: 4px; font-size: 12px; line-height: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: rgba(255,255,255,.8); font-weight: 600; }
.h2-row .t2 span { color: #888; font-weight: 400; }
.h2-row .t3 { display: flex; align-items: center; gap: 2px; margin-top: 5px; font-size: 11px; color: #3a4660; }
.h2-row .t3 .on { color: #ffc53d; display: inline-flex; }
.h2-row .t3 .off { display: inline-flex; }
.h2-row .t3 b { margin-left: 5px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.8); }

.h2-pick-w { margin: 20px var(--md-gut) 0; padding: 2px; border-radius: 22px; background: linear-gradient(135deg,rgba(255,255,255,.85),#5aa2ff 40%,#2f5bff 70%,rgba(255,197,61,.9)); box-shadow: 0 14px 34px rgba(0,0,0,.55), 0 0 22px rgba(47,134,255,.22); }
.h2-pick-in { border-radius: 20px; padding: 14px 12px 12px; background: linear-gradient(180deg,#14203a,#0b1220); box-shadow: inset 0 1px 0 rgba(255,255,255,.14); }
.h2-pick-h { display: flex; align-items: center; gap: 10px; margin: 0 2px 12px; }
.h2-pick-b { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 16px 0 10px; border-radius: 17px; background: linear-gradient(135deg,rgba(255,197,61,.22),rgba(255,140,0,.12)); box-shadow: inset 0 0 0 1px rgba(255,197,61,.45), 0 4px 14px rgba(255,150,0,.18); font-size: 13px; font-weight: 800; letter-spacing: 1.3px; color: #ffc53d; white-space: nowrap; }
.h2-pick-l { flex: 1; height: 1px; background: linear-gradient(90deg,rgba(255,197,61,.5),transparent); }
.h2-pick { display: block; position: relative; width: 100%; aspect-ratio: 500 / 680; border-radius: 14px; overflow: hidden; text-decoration: none; }
.h2-pick img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.h2-pick .sh { position: absolute; inset: 0; background: linear-gradient(to top,#000 0%,rgba(0,0,0,.6) 50%,transparent 100%); }
.h2-pick .tx { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; }
.h2-pick .a { font-size: 19px; font-weight: 800; line-height: 24px; color: #fff; }
.h2-pick .b { margin-top: 8px; font-size: 11.5px; line-height: 18px; color: rgba(255,255,255,.65); }

@media (min-width: 900px) {
    .h2-body { max-width: 1240px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 0 20px; align-items: start; }
    .h2-full { grid-column: 1 / -1; }
    .h2-rank { border-radius: 6px; }
    .h2-pick-w { margin: 20px 0 0; }
}

.h2-tabs.gold button.on { background: linear-gradient(90deg,#fbbf24,#f59e0b); color: #000; }
.h2-rank-h .ib.gold { background: rgba(255,197,61,.15); color: #ffc53d; }
.h2-row .num.vg { background: #f59e0b; color: #000; }

.vh-title { margin: 16px var(--md-gut) 12px; }
.vh-title h1 { margin: 0; font-size: 22px; font-weight: 800; color: var(--md-tx); }
.vh-title h1 span { color: var(--md-dim); font-size: 15px; font-weight: 600; }
.vh-gen { display: block; flex: 0 0 66px; text-align: center; background: none; border: 0; padding: 2px 0; cursor: pointer; }
.vh-gen .c { display: block; width: 62px; height: 62px; margin: 0 auto; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px #22304a; }
.vh-gen.on .c { box-shadow: 0 0 0 2px var(--md-gold); }
.vh-gen .c img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vh-gen .l { display: block; margin-top: 6px; font-size: 11.5px; font-weight: 600; color: #cfd8ea; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vh-cont { flex: 0 0 260px; width: 260px; display: flex; gap: 10px; padding: 8px; border-radius: 6px; background: var(--md-bg); color: inherit; text-decoration: none; box-sizing: border-box; }
.vh-cont .im { flex-shrink: 0; width: 56px; height: 76px; border-radius: 6px; overflow: hidden; }
.vh-cont .im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vh-cont .b { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vh-cont .t { font-size: 12px; font-weight: 700; line-height: 15px; color: var(--md-tx); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vh-cont .s { margin-top: 3px; font-size: 11px; color: #999; }
.vh-cont .p { display: block; margin-top: 6px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.12); }
.vh-cont .p i { display: block; height: 100%; border-radius: 2px; background: #f59e0b; }
.vh-cont .go { margin-top: auto; height: 26px; border-radius: 6px; background: #e8e8e8; color: #000; font-size: 12px; font-weight: 600; display: grid; place-items: center; }
.md-upd .c.vnew .l, .md-upd .c.vnew .d { color: #ffc53d; font-weight: 700; }
.md-upd .c .d { flex-shrink: 0; margin-left: 8px; font-size: 12px; font-weight: 400; color: rgba(255,255,255,.6); }
.md-vg { display: block; min-width: 0; color: var(--md-tx); text-decoration: none; }
.md-vg .im { display: block; position: relative; aspect-ratio: 5 / 7; border-radius: 6px; overflow: hidden; }
.md-vg .im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.md-vg .ep { position: absolute; left: 6px; bottom: 6px; padding: 3px 8px; border-radius: 7px; background: var(--md-blue); color: #fff; font-size: 11px; font-weight: 800; }
.md-vg .n { display: block; margin-top: 8px; font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.md-vg .m { display: block; margin-top: 3px; font-size: 12px; color: #999; }
.md-vg .star, .vw-info .star { color: var(--md-gold-tx); font-weight: 700; display: inline-flex; align-items: center; gap: 3px; }

.vw { color: var(--md-tx); }
.vw-player { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.vw-player > img { width: 100%; height: 100%; object-fit: cover; opacity: .5; display: block; }
.vw-player .vp-container { position: absolute; inset: 0; width: 100%; height: 100%; }
.vw-player .vp-container > video { width: 100%; height: 100%; object-fit: contain; }
.vw-player .x { position: absolute; top: 10px; left: 10px; z-index: 5; width: 36px; height: 36px; border-radius: 18px; background: rgba(0,0,0,.5); display: grid; place-items: center; border: 0; cursor: pointer; }
.vw-lock { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 22px; border-radius: 14px; background: rgba(0,0,0,.55); color: var(--md-gold-tx); border: 0; font-size: 13px; font-weight: 800; cursor: pointer; }
.vw-soon { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; font-weight: 700; color: #fff; }
.vw-info { padding: 14px var(--md-gut) 0; }
.vw-info h1 { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.25; color: inherit; }
.vw-info .m { font-size: 12.5px; color: var(--md-mut); margin-top: 4px; }
.vw-acts { display: flex; gap: 8px; padding: 14px var(--md-gut) 0; }
.vw-acts .md-chip { flex: 1; min-width: 0; }
.vw-desc { margin: 12px var(--md-gut) 0; font-size: 13.5px; line-height: 1.55; color: #c3cde0; white-space: pre-line; }
.vw-desc.cut { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vw-more { display: flex; justify-content: flex-end; margin: 2px var(--md-gut) 0; }
.vw-more button { height: 24px; font-size: 12px; font-weight: 500; color: var(--md-sky); background: none; border: 0; cursor: pointer; }
.vw-eps { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; padding: 0 var(--md-gut); }
.vw-eps button { height: 44px; border-radius: 11px; background: var(--md-card); border: 0; color: var(--md-tx); font-size: 13.5px; font-weight: 700; cursor: pointer; display: grid; place-items: center; }
.vw-eps button.on { background: var(--md-gold); color: #1a1205; }
.vw-eps button.lock { color: var(--md-dim); }

@media (min-width: 900px) {
    .vw { max-width: 1000px; margin: 0 auto; padding: 16px 16px 24px; }
    .vw-player { border-radius: 10px; }
    .vw-eps { grid-template-columns: repeat(10,minmax(0,1fr)); }
}

.pf-head { margin: 16px var(--md-gut) 0; border-radius: 12px; padding: 14px; display: flex; align-items: center; gap: 12px; background: radial-gradient(120% 160% at 0% 0%,#3a2a08,#141c2c 70%); box-shadow: inset 0 0 0 1px rgba(255,197,61,.3); color: var(--md-tx); }
.pf-head.don { background: radial-gradient(120% 160% at 0% 0%,#4a1530,#141c2c 70%); box-shadow: inset 0 0 0 1px rgba(255,107,154,.3); }
.pf-head > img { width: 44px; height: 44px; }
.pf-head .hrt { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg,#ff6b9a,#ff8a3d); color: #fff; }
.pf-head .tx { flex: 1; min-width: 0; }
.pf-head .tx b { display: block; font-size: 17px; font-weight: 900; }
.pf-head .tx small { display: block; font-size: 12px; color: var(--md-mut); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-head .pr { text-align: right; flex-shrink: 0; }
.pf-head .pr small { display: block; font-size: 11px; color: var(--md-mut); }
.pf-head .pr b { font-size: 18px; font-weight: 900; color: var(--md-gold-tx); white-space: nowrap; }
.pf-head.don .pr b { color: #ff9db8; }
.pf-steps { display: flex; align-items: center; margin: 16px var(--md-gut) 0; color: var(--md-tx); }
.pf-steps .s { display: flex; align-items: center; gap: 6px; }
.pf-steps .s.grow { flex: 1; }
.pf-steps .n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: rgba(255,255,255,.08); color: var(--md-mut); }
.pf-steps .n.cur { background: #f59e0b; color: #000; }
.pf-steps .n.done { background: #22c55e; color: #000; }
.pf-steps .t { font-size: 12px; font-weight: 700; color: var(--md-mut); }
.pf-steps .t.on { color: #fff; }
.pf-steps .l { flex: 1; height: 2px; margin: 0 8px; border-radius: 1px; background: rgba(255,255,255,.1); }
.pf-steps .l.done { background: #22c55e; }
.pf-title { display: flex; align-items: center; justify-content: space-between; margin: 20px var(--md-gut) 10px; color: var(--md-tx); }
.pf-title b { font-size: 16px; font-weight: 800; }
.pf-title span { padding: 4px 10px; border-radius: 999px; background: rgba(47,134,255,.15); color: var(--md-sky); font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.pf-cards { display: flex; flex-direction: column; gap: 10px; margin: 0 var(--md-gut); }
.pf-cards > button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border-radius: 12px; text-align: left; background: var(--md-card); border: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); color: var(--md-tx); cursor: pointer; }
.pf-cards > button.busy { opacity: .55; cursor: default; }
.pf-cards .mini { position: relative; flex-shrink: 0; width: 84px; height: 54px; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.pf-cards .mini .ball { position: absolute; right: -16px; top: -16px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.14); }
.pf-cards .mini .chip { position: absolute; left: 8px; top: 10px; width: 15px; height: 11px; border-radius: 2px; background: linear-gradient(135deg,#fde68a,#d97706); }
.pf-cards .mini em { position: absolute; right: 7px; top: 7px; font-style: normal; font-size: 8px; font-weight: 900; letter-spacing: .5px; color: #fff; }
.pf-cards .mini u { position: absolute; left: 8px; bottom: 7px; text-decoration: none; font-size: 9px; font-weight: 700; letter-spacing: 1px; color: #fff; font-family: ui-monospace,monospace; }
.pf-cards .tx { flex: 1; min-width: 0; }
.pf-cards .tx b { display: block; font-size: 15px; font-weight: 800; font-family: ui-monospace,monospace; letter-spacing: .5px; }
.pf-cards .tx small { display: block; font-size: 11.5px; color: var(--md-mut); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; }
.pf-cards .pick { flex-shrink: 0; padding: 6px 11px; border-radius: 8px; background: linear-gradient(90deg,#fbbf24,#f59e0b); color: #000; font-size: 12.5px; font-weight: 800; }
.pf-cards .bz { flex-shrink: 0; padding: 3px 9px; border-radius: 999px; background: rgba(251,146,60,.15); color: #fb923c; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.pf-info { display: flex; gap: 10px; margin: 12px var(--md-gut) 0; padding: 12px; border-radius: 10px; background: rgba(251,146,60,.08); box-shadow: inset 0 0 0 1px rgba(251,146,60,.3); font-size: 12.5px; line-height: 1.5; color: #fcd9b6; }
.pf-info a { color: var(--md-sky); }
.pf-err { margin: 12px var(--md-gut) 0; padding: 10px 12px; border-radius: 8px; font-size: 13px; color: #fca5a5; background: rgba(248,113,113,.08); box-shadow: inset 0 0 0 1px rgba(248,113,113,.25); }
.pf-ghost { display: block; width: calc(100% - 32px); margin: 14px auto 0; height: 46px; border-radius: 8px; background: rgba(255,255,255,.05); border: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); font-size: 14px; font-weight: 700; color: var(--md-mut); cursor: pointer; }
.pf-wait { display: flex; align-items: center; gap: 12px; margin: 12px var(--md-gut) 0; font-size: 13px; line-height: 1.45; color: #c3cde0; }
.pf-wait.box { padding: 12px 14px; border-radius: 10px; background: var(--md-card); }
.pf-wait b { color: #fff; }
.pf-spin { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; border: 3px solid rgba(245,158,11,.25); border-top-color: #f59e0b; animation: pf-spin .9s linear infinite; }
@keyframes pf-spin { to { transform: rotate(360deg); } }
.pf-box { margin: 16px var(--md-gut) 0; border-radius: 14px; padding: 16px; background: var(--md-card); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); color: var(--md-tx); }
.pf-top { display: flex; align-items: center; gap: 14px; }
.pf-ring { position: relative; width: 76px; height: 76px; flex-shrink: 0; }
.pf-ring svg { transform: rotate(-90deg); display: block; }
.pf-ring circle { transition: stroke-dashoffset 1s linear; }
.pf-ring span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; }
.pf-top .lb { font-size: 11px; font-weight: 800; letter-spacing: 1px; color: var(--md-mut); }
.pf-top .am { font-size: 30px; font-weight: 900; color: var(--md-gold-tx); line-height: 1.1; margin-top: 2px; white-space: nowrap; }
.pf-top .am small { font-size: 14px; }
.pf-top .cp { margin-top: 6px; height: 30px; padding: 0 12px; border-radius: 7px; background: rgba(255,197,61,.12); border: 0; color: var(--md-gold-tx); font-size: 12.5px; font-weight: 700; cursor: pointer; }
.pf-warn { margin-top: 14px; padding: 10px 12px; border-radius: 8px; background: rgba(255,197,61,.07); box-shadow: inset 0 0 0 1px rgba(255,197,61,.25); font-size: 12.5px; line-height: 1.5; color: #f5e3b5; }
.pf-card { position: relative; overflow: hidden; margin: 12px var(--md-gut) 0; border-radius: 14px; padding: 18px; aspect-ratio: 1.7 / 1; box-shadow: 0 14px 30px rgba(0,0,0,.4); color: #fff; box-sizing: border-box; }
.pf-card > * { position: relative; }
.pf-card .b1 { position: absolute; right: -40px; top: -40px; width: 170px; height: 170px; border-radius: 50%; background: rgba(255,255,255,.1); }
.pf-card .b2 { position: absolute; right: 40px; bottom: -70px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.06); }
.pf-card .r1 { display: flex; justify-content: space-between; align-items: center; }
.pf-card .r1 b { font-size: 14px; font-weight: 900; letter-spacing: 1.5px; }
.pf-card .r1 img { width: 28px; height: 28px; border-radius: 50%; }
.pf-card .chip { width: 40px; height: 29px; border-radius: 6px; margin-top: 14px; background: linear-gradient(135deg,#fde68a,#d97706); }
.pf-card .num { margin-top: 12px; font-size: clamp(16px,5.4vw,21px); font-weight: 700; letter-spacing: 2px; font-family: ui-monospace,monospace; white-space: nowrap; }
.pf-card .r2 { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: 8px; }
.pf-card .r2 > div { min-width: 0; }
.pf-card .r2 small { display: block; font-size: 9.5px; opacity: .75; letter-spacing: 1px; }
.pf-card .r2 b { display: block; font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; }
.pf-card .r2 button { flex-shrink: 0; height: 32px; padding: 0 12px; border-radius: 8px; background: rgba(0,0,0,.28); backdrop-filter: blur(6px); border: 0; font-size: 12.5px; font-weight: 700; color: #fff; cursor: pointer; }
.pf-done { margin: 20px var(--md-gut) 0; border-radius: 16px; padding: 26px 16px; text-align: center; background: radial-gradient(100% 120% at 50% 0%,rgba(34,197,94,.25),var(--md-card) 70%); box-shadow: inset 0 0 0 1px rgba(34,197,94,.35); color: var(--md-tx); }
.pf-done .ok { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; background: #22c55e; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(34,197,94,.18); }
.pf-done .a { font-size: 20px; font-weight: 900; margin-top: 14px; }
.pf-done .b .gain { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; font-size: 15px; font-weight: 800; color: var(--md-gold-tx); }
.pf-done .b .gain img { width: 20px; height: 20px; }
.pf-done .b small { display: block; font-size: 12.5px; color: var(--md-mut); margin-top: 6px; }
.pf-go { display: block; width: calc(100% - 32px); margin: 14px auto 0; height: 50px; border-radius: 8px; border: 0; background: linear-gradient(90deg,#fbbf24,#f59e0b); color: #000; font-size: 15px; font-weight: 800; cursor: pointer; }
.pf-admin { margin: 14px var(--md-gut) 0; border-radius: 6px; background: var(--md-card); padding: 16px; text-align: center; color: var(--md-tx); }
.pf-admin .ic { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: #2aa3e6; display: grid; place-items: center; }
.pf-admin .n { font-size: 17px; font-weight: 800; margin-top: 10px; }
.pf-admin .d { font-size: 13px; color: var(--md-mut); margin-top: 6px; line-height: 1.5; }
.pf-admin .m { margin-top: 12px; text-align: left; font-size: 12.5px; line-height: 1.55; background: var(--md-bg); border-radius: 6px; padding: 10px 12px; color: #c3cde0; white-space: pre-line; }
.pf-asteps { margin: 12px var(--md-gut) 0; border-radius: 6px; background: var(--md-card); padding: 14px; color: var(--md-tx); }
.pf-asteps > div { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.pf-asteps > div:last-child { border-bottom: 0; }
.pf-asteps span { width: 24px; height: 24px; border-radius: 12px; background: rgba(42,163,230,.15); color: #2aa3e6; display: grid; place-items: center; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.pf-asteps p { margin: 0; }
.pf-asteps b { display: block; font-size: 13.5px; font-weight: 600; }
.pf-asteps small { display: block; font-size: 12px; color: var(--md-mut); margin-top: 2px; }
.pf-tg { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px var(--md-gut) 0; height: 50px; border-radius: 6px; background: #2aa3e6; color: #fff; font-size: 15px; font-weight: 800; text-decoration: none; }

.cs-bal { margin: 16px var(--md-gut) 0; border-radius: 6px; padding: 16px; background: radial-gradient(120% 140% at 0% 0%,#4a3509,#1c1505 70%); box-shadow: inset 0 0 0 1px rgba(255,197,61,.35); display: flex; align-items: center; gap: 14px; color: var(--md-tx); }
.cs-bal img { width: 52px; height: 52px; }
.cs-bal small { display: block; font-size: 12.5px; color: #e9d7a6; font-weight: 600; }
.cs-bal b { font-size: 28px; font-weight: 900; color: var(--md-gold-tx); line-height: 1.1; }
.cs-bal b span { font-size: 15px; }
.cs-h { margin: 20px var(--md-gut) 0; color: var(--md-tx); }
.cs-h h1 { margin: 0; font-size: 20px; font-weight: 700; color: inherit; }
.cs-h p { font-size: 13px; color: var(--md-mut); margin: 4px 0 0; line-height: 1.5; }
.cs-packs { display: flex; flex-direction: column; gap: 8px; margin: 14px var(--md-gut) 0; }
.cs-packs > button { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px 12px 12px; border-radius: 10px; text-align: left; overflow: hidden; background: var(--md-card); border: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); color: var(--md-tx); cursor: pointer; transition: background .2s,box-shadow .2s; }
.cs-packs > button.on { background: linear-gradient(90deg,rgba(251,191,36,.18),rgba(245,158,11,.05)); box-shadow: inset 0 0 0 1.5px #f59e0b; }
.cs-packs .bar { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.cs-packs .on .bar { background: linear-gradient(#fde047,#f59e0b); }
.cs-packs .hot { position: absolute; top: 0; right: 0; padding: 2px 8px; border-radius: 0 10px 0 8px; background: var(--md-red); font-size: 9.5px; font-weight: 800; letter-spacing: .3px; }
.cs-packs .ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.04); }
.cs-packs .on .ic { background: rgba(245,158,11,.18); }
.cs-packs .tx { flex: 1; min-width: 0; }
.cs-packs .a { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.cs-packs .a b { font-size: 20px; font-weight: 900; line-height: 1; }
.cs-packs .a small { font-size: 12.5px; font-weight: 700; color: var(--md-mut); }
.cs-packs .bn { display: inline-flex; align-items: center; margin-top: 7px; height: 24px; padding: 0 10px; border-radius: 12px; background: linear-gradient(90deg,rgba(74,222,128,.22),rgba(74,222,128,.06)); box-shadow: inset 0 0 0 1px rgba(74,222,128,.4); color: #6ee09a; font-size: 12px; font-weight: 800; white-space: nowrap; }
.cs-packs .pr { flex-shrink: 0; font-size: 15px; font-weight: 800; white-space: nowrap; }
.cs-packs .on .pr { color: var(--md-gold-tx); }
.cs-packs .ck { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 900; box-shadow: inset 0 0 0 2px #3a4660; }
.cs-packs .on .ck { background: #f59e0b; color: #000; box-shadow: none; }
.cs-pay { margin: 16px var(--md-gut) 0; border-radius: 14px; padding: 12px; background: var(--md-card); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); color: var(--md-tx); }
.cs-pay .lb { font-size: 10.5px; font-weight: 800; letter-spacing: 1px; color: var(--md-mut); margin: 2px 2px 10px; }
.cs-pay .dn-methods button:disabled { opacity: .5; cursor: default; }
.cs-pay .sel { display: flex; align-items: center; justify-content: space-between; margin: 14px 2px 0; gap: 10px; }
.cs-pay .sel > span { font-size: 12.5px; color: var(--md-mut); }
.cs-pay .sel b { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 800; color: #fff; white-space: nowrap; }
.cs-pay .sel b.off { color: var(--md-dim); }
.cs-pay .sel img { width: 18px; height: 18px; }
.cs-pay .sel em { font-style: normal; color: var(--md-gold-tx); }
.cs-pay .buy { margin-top: 10px; width: 100%; height: 50px; border-radius: 10px; border: 0; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 800; cursor: pointer; text-decoration: none; transition: .25s; }
.cs-pay .buy.card { background: linear-gradient(90deg,#fbbf24,#f59e0b); color: #000; box-shadow: 0 6px 18px rgba(245,158,11,.35); }
.cs-pay .buy.tg { background: linear-gradient(90deg,#37aee2,#1e96c8); color: #fff; box-shadow: 0 6px 18px rgba(42,163,230,.35); }
.cs-pay .buy:disabled, .cs-pay .buy.off { background: rgba(255,255,255,.05); color: rgba(255,255,255,.3); box-shadow: none; cursor: not-allowed; }
.cs-how { margin: 12px var(--md-gut) 0; border-radius: 10px; background: var(--md-card); padding: 14px; color: var(--md-tx); }
.cs-how .t { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.cs-how .row { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.cs-how .row:last-child { border-bottom: 0; }
.cs-how .row span { width: 24px; height: 24px; border-radius: 12px; background: rgba(47,134,255,.15); color: var(--md-sky); display: grid; place-items: center; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.cs-how .row p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #c3cde0; }

.md-nt.unread { background: rgba(47,134,255,.07); }
.md-dot { width: 8px; height: 8px; border-radius: 4px; background: var(--md-blue); margin-top: 6px; flex-shrink: 0; }

.pr-card { display: flex; align-items: center; gap: 14px; margin: 16px var(--md-gut) 0; padding: 16px; border-radius: 18px; background: linear-gradient(135deg,#13284d,#111a2a); color: var(--md-tx); }
.pr-card .ava { width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%; background: #e2593b; display: grid; place-items: center; font-size: 26px; font-weight: 900; box-shadow: 0 0 0 3px #2f86ff; overflow: hidden; }
.pr-card .ava img { width: 100%; height: 100%; object-fit: cover; }
.pr-card .n { font-size: 19px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr-card .s { font-size: 12.5px; color: var(--md-mut); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr-card .c { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 14px; background: rgba(255,197,61,.12); color: var(--md-gold-tx); font-size: 12.5px; font-weight: 800; text-decoration: none; }
.pr-card .c img { width: 15px; height: 15px; }
.pr-msg { margin: 12px var(--md-gut) 0; padding: 10px 12px; border-radius: 8px; font-size: 13px; color: #fca5a5; background: rgba(248,113,113,.08); }
.pr-msg.ok { color: #6ee09a; background: rgba(74,222,128,.1); }
.pr-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 12px var(--md-gut) 0; border-radius: 12px; background: var(--md-card); padding: 14px 0; color: var(--md-tx); }
.pr-stats > div { text-align: center; border-right: 1px solid rgba(255,255,255,.08); }
.pr-stats > div:last-child { border-right: 0; }
.pr-stats b { display: block; font-size: 18px; font-weight: 800; }
.pr-stats small { font-size: 11.5px; color: var(--md-mut); }
.pr-saved { margin: 20px var(--md-gut) 0; background: var(--md-card); border-radius: 6px; padding: 14px; color: var(--md-tx); }
.pr-saved .t { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.h2-tabs.two { grid-template-columns: 1fr 1fr; margin-bottom: 12px; }
.h2-tabs.two button.gold { background: linear-gradient(90deg,#fbbf24,#f59e0b); color: #000; }
.pr-saved .e { color: var(--md-mut); font-size: 13px; padding: 12px 0; text-align: center; }
.pr-saved .grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.pr-saved .grid a { min-width: 0; color: inherit; text-decoration: none; }
.pr-saved .grid em { display: block; position: relative; font-style: normal; }
.pr-saved .grid em i { position: absolute; left: 6px; bottom: 6px; padding: 3px 8px; border-radius: 7px; background: var(--md-blue); color: #fff; font-size: 11px; font-weight: 800; font-style: normal; }
.pr-saved .grid img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; border-radius: 6px; display: block; }
.pr-saved .grid span { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pr-list { margin: 16px var(--md-gut) 0; border-radius: 12px; background: var(--md-card); overflow: hidden; color: var(--md-tx); }
.pr-list > a, .pr-list > button, .pr-list > .row { width: 100%; height: 50px; padding: 0 14px; display: flex; align-items: center; justify-content: flex-start; gap: 12px; font-size: 14.5px; font-weight: 600; color: inherit; text-decoration: none; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.06); cursor: pointer; box-sizing: border-box; }
.pr-list > .row { cursor: default; }
.pr-list > :last-child { border-bottom: 0; }
.pr-list .ic { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 6px color-mix(in srgb, var(--c) 18%, transparent); margin: 0 6px; flex-shrink: 0; }
.pr-list .ar { margin-left: auto; color: var(--md-mut); font-size: 18px; }
.pr-form label { display: block; font-size: 12.5px; color: var(--md-mut); margin: 10px 0 6px; }
.pr-form input { width: 100%; height: 44px; padding: 0 12px; border-radius: 10px; background: rgba(0,0,0,.28); border: 1px solid var(--md-line); color: #fff; outline: 0; box-sizing: border-box; font: inherit; }

.in-tg .v2-sub:not(.clear) { display: none !important; }
.in-tg .vw-player .x { visibility: hidden; }

@media (min-width: 900px) {
    .pr-saved .grid { grid-template-columns: repeat(auto-fill,minmax(130px,1fr)); }
}

.vh-bans { display: flex; gap: 10px; overflow-x: auto; margin-top: 14px; padding: 0 var(--md-gut); scrollbar-width: none; scroll-snap-type: x mandatory; scroll-padding: 0 var(--md-gut); }
.vh-bans::-webkit-scrollbar { display: none; }
.vh-ban { position: relative; flex: 0 0 100%; height: 196px; border-radius: 18px; overflow: hidden; scroll-snap-align: start; color: #fff; text-decoration: none; display: block; }
.vh-ban img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vh-ban .g { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(0,0,0,.05) 30%,rgba(5,9,18,.95)); }
.vh-ban .b { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.vh-ban .tx { min-width: 0; }
.vh-ban .pl { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 6px; background: rgba(0,0,0,.55); color: var(--md-gold-tx); font-size: 12px; font-weight: 700; }
.vh-ban .t { display: block; font-size: 18px; font-weight: 800; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vh-ban .s { display: block; font-size: 12px; color: #b5c0d4; margin-top: 2px; }
.vh-ban .go { height: 36px; padding: 0 16px; border-radius: 6px; background: linear-gradient(90deg,#fbbf24,#f59e0b); color: #000; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
.gn-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; padding: 0 var(--md-gut); }
.gn-grid a { padding: 14px; border-radius: 10px; background: var(--md-card); color: var(--md-tx); text-decoration: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.gn-grid b { display: block; font-size: 15px; font-weight: 700; }
.gn-grid small { display: block; font-size: 12px; color: var(--md-mut); margin-top: 3px; }

@media (min-width: 900px) {
    .vh-bans { max-width: 1240px; margin: 16px auto 0; padding: 0 24px; box-sizing: border-box; }
    .vh-ban { height: 320px; }
    .gn-grid { grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); }
}

.lk-box { max-width: 460px; margin: 20px auto 0; padding: 18px 16px; border-radius: 14px; background: var(--md-card); color: var(--md-tx); box-sizing: border-box; width: calc(100% - 32px); text-align: center; }
.lk-box .t { display: block; font-size: 18px; font-weight: 800; }
.lk-box p { font-size: 13.5px; line-height: 1.5; color: var(--md-mut); margin: 8px 0 14px; }
.lk-box p b { color: var(--md-tx); }
.lk-box p.w { font-size: 12.5px; color: #f5e3b5; }
.lk-sum { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-radius: 10px; background: var(--md-bg); padding: 12px 0; }
.lk-sum small { display: block; font-size: 11px; color: var(--md-mut); }
.lk-sum b { display: block; font-size: 14px; font-weight: 800; margin-top: 4px; }
.lk-sum b.g { color: var(--md-gold-tx); }
.lk-alt { display: block; margin-top: 12px; font-size: 13.5px; font-weight: 700; color: var(--md-sky); text-decoration: none; }
.lk-banner { display: flex; align-items: center; gap: 10px; margin: 10px var(--md-gut) 0; padding: 10px 12px; border-radius: 10px; background: rgba(47,134,255,.12); box-shadow: inset 0 0 0 1px rgba(47,134,255,.3); color: var(--md-tx); font-size: 12.5px; line-height: 1.4; }
.lk-banner span { flex: 1; min-width: 0; }
.lk-banner a { flex-shrink: 0; height: 30px; padding: 0 12px; border-radius: 6px; background: var(--md-blue); color: #fff; font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; text-decoration: none; }
.lk-banner button { flex-shrink: 0; background: none; border: 0; color: var(--md-mut); cursor: pointer; font-size: 13px; }

@media (min-width: 900px) {
    .lk-banner { max-width: 1192px; margin: 10px auto 0; }
}

.ua { position: relative; display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; overflow: hidden; color: #fff; }
.ua b { font-weight: 900; line-height: 1; }
.ua img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.rd-top, .rd-bot { position: fixed; left: 0; right: 0; z-index: 240; background: rgba(24,24,27,.95); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: transform .3s, opacity .3s; }
.rd-top { top: 0; display: flex; align-items: center; justify-content: space-between; padding: 16px 12px; border-bottom: 1px solid rgba(39,39,42,.5); }
.rd-top.hide { transform: translateY(-100%); opacity: 0; }
.rd-top .hb { width: 44px; height: 44px; flex-shrink: 0; margin-right: 12px; border-radius: 6px; background: #27272a; display: grid; place-items: center; }
.rd-top .pt { width: 40px; flex-shrink: 0; border-radius: 6px; overflow: hidden; display: block; }
.rd-top .pt img { width: 100%; display: block; aspect-ratio: 5 / 7; object-fit: cover; }
.rd-top .t { flex: 1; min-width: 0; margin-left: 12px; text-decoration: none; }
.rd-top .t small { display: block; font-size: 14px; line-height: 20px; color: #a1a1aa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-top .t b { display: block; font-size: 16px; line-height: 24px; font-weight: 600; color: #a1a1aa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-top .t .cn { color: #f4f4f5; }
.rd-top .cmb { height: 44px; padding: 0 10px; flex-shrink: 0; margin-left: 12px; border-radius: 6px; background: #27272a; border: 0; display: flex; align-items: center; gap: 6px; font-size: 16px; color: #d4d4d8; cursor: pointer; }
.rd-bot { bottom: 0; padding: 16px 12px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(39,39,42,.5); }
.rd-bot.hide { transform: translateY(100%); opacity: 0; }
.rd-bot .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; max-width: 720px; margin: 0 auto; }
.rd-bot .nb { padding: 8px 12px; border-radius: 6px; background: #2f7df0; border: 0; color: #fff; font-size: 14px; line-height: 20px; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }
.rd-bot .nb:active { background: #2a70d8; }
.rd-bot .nb svg { width: 14px; height: 14px; }
.rd-bot .sel { flex: 1; min-width: 0; max-width: 320px; padding: 8px 16px; border-radius: 6px; background: rgba(39,39,42,.8); border: 0; color: #f4f4f5; font-size: 14px; line-height: 20px; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; overflow: hidden; cursor: pointer; }
.rd-bot .sel svg { width: 16px; height: 16px; flex-shrink: 0; }
.rd-bot .sel svg.ch { width: 12px; height: 12px; transition: transform .2s; }
.rd-bot .sel svg.ch.up { transform: rotate(180deg); }
.rd-pages { max-width: 720px; margin: 0 auto; background: #000; }
.rd-dd-bg { position: fixed; inset: 0; z-index: 249; }
.rd-dd { position: fixed; z-index: 251; left: 50%; transform: translateX(-50%); bottom: calc(84px + env(safe-area-inset-bottom)); width: min(320px, calc(100vw - 222px)); max-height: 330px; overflow-y: auto; border-radius: 6px; background: #18181b; border: 1px solid #3f3f46; box-shadow: 0 10px 30px rgba(0,0,0,.6); scrollbar-width: thin; }
.rd-dd button { width: 100%; height: 38px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; background: none; border: 0; color: #f4f4f5; font-size: 14px; cursor: pointer; }
.rd-dd button.cur { background: rgba(47,125,240,.25); color: #5aa2ff; }

.md-sortdir { width: 100%; box-sizing: border-box; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 8px; background: rgba(0,0,0,.3); }
.md-sortdir button { height: 40px; border-radius: 6px; border: 0; background: none; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.85); cursor: pointer; }
.md-sortdir button.on { background: #2f86ff; color: #fff; }
.md-sortrow { width: 100%; height: 46px; padding: 0 12px; border-radius: 8px; border: 0; background: none; display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 600; color: #fff; cursor: pointer; }
.md-sortrow.on { background: rgba(47,134,255,.18); color: var(--md-sky); }
.md-sortrow .ck { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; }
.md-sortrow.on .ck { background: #2f86ff; color: #fff; }

.dn-head img.dn-logo { width: 64px; height: 64px; flex-shrink: 0; object-fit: contain; border-radius: 50%; box-shadow: 0 0 0 2px #2f86ff; }

.vd { color: var(--md-tx); }
.vd-hero { position: relative; height: 262px; }
.vd-hero .bg { position: absolute; inset: 0; overflow: hidden; }
.vd-hero .bg img { position: absolute; left: -20px; top: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: cover; object-position: 50% 20%; filter: blur(3px) brightness(.75) saturate(1.2); }
.vd-hero .bg i { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(9,15,27,.35),transparent 40%,rgba(9,15,27,.95)); }
.vd-ic { position: absolute; top: 11px; z-index: 3; width: 40px; height: 40px; border-radius: 20px; background: rgba(0,0,0,.45); border: 0; color: #fff; display: grid; place-items: center; cursor: pointer; }
.vd-ic.l { left: 10px; }
.vd-ic.r { right: 10px; }
.vd-ic.r.on { color: #4d9bff; }
.vd-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 62px; height: 62px; border-radius: 50%; background: #f5f5f5; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.vd-head { position: relative; display: flex; gap: 16px; align-items: flex-end; margin: -92px var(--md-gut) 0; }
.vd-head > img { width: 124px; height: 186px; border-radius: 8px; object-fit: cover; flex-shrink: 0; box-shadow: 0 12px 28px rgba(0,0,0,.55); }
.vd-head > div { min-width: 0; padding-bottom: 4px; }
.vd-head h1 { margin: 0; font-size: 20px; font-weight: 800; line-height: 25px; color: inherit; }
.vd-head .kv { margin-top: 8px; font-size: 14px; line-height: 23px; }
.vd-head .kv span { color: var(--md-dim); }
.vd-stats { display: flex; gap: 8px; overflow-x: auto; margin-top: 16px; padding: 0 var(--md-gut); scrollbar-width: none; }
.vd-stats::-webkit-scrollbar { display: none; }
.vd-stats .lk, .vd-stats .bx { flex-shrink: 0; height: 56px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: var(--md-card); border: 0; box-shadow: inset 0 0 0 1px var(--md-line); color: inherit; box-sizing: border-box; }
.vd-stats .lk { width: 48px; font-size: 14px; font-weight: 800; color: #93a0b8; cursor: pointer; }
.vd-stats .lk.up { background: rgba(255,197,61,.16); box-shadow: inset 0 0 0 1.5px #ffc53d; color: #ffd54a; }
.vd-stats .lk.down { background: rgba(255,92,108,.16); box-shadow: inset 0 0 0 1.5px #ff5c6c; color: #ff8a94; }
.vd-stats .bx { padding: 0 13px; font-size: 11.5px; color: var(--md-dim); }
.vd-stats button.bx { cursor: pointer; }
.vd-stats button.bx svg { color: #fff; }
.vd-stats .bx small { font-size: 11.5px; color: var(--md-dim); white-space: nowrap; }
.vd-stats .bx b { font-size: 15px; font-weight: 800; color: #fff; }
.vd-stats .bx b.r { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.vd-stats .bx b.r svg { color: #ffc53d; }
.vd-go { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px var(--md-gut) 0; height: 46px; border-radius: 8px; background: #2f7df0; color: #fff; font-size: 15px; font-weight: 800; letter-spacing: .6px; text-decoration: none; }
.vd-sec { margin: 26px var(--md-gut) 0; }
.vd-sec h2 { margin: 0 0 8px; font-size: 18px; font-weight: 800; color: inherit; }
.vd-sec .d { font-size: 14px; line-height: 22px; color: rgba(255,255,255,.78); white-space: pre-line; }
.vd-sec .d.cut { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vd-sec .more { margin-top: 8px; height: 34px; padding: 0 14px; border-radius: 17px; background: rgba(255,255,255,.08); border: 0; font-size: 13px; font-weight: 700; color: #ffd54a; cursor: pointer; }
.vd-sec .g { display: flex; flex-wrap: wrap; gap: 8px; }
.vd-sec .g a { height: 34px; padding: 0 15px; border-radius: 17px; background: rgba(255,197,61,.1); box-shadow: inset 0 0 0 1px rgba(255,197,61,.3); color: #ffd54a; font-size: 13.5px; font-weight: 700; display: inline-grid; place-items: center; text-decoration: none; }

.ve-head { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; height: 58px; padding: 0 10px; background: var(--md-bar); border-bottom: 1px solid var(--md-line); color: var(--md-tx); }
.ve-head .bk { width: 40px; height: 40px; display: grid; place-items: center; flex-shrink: 0; }
.ve-head h1 { flex: 1; min-width: 0; text-align: center; margin: 0 40px 0 0; font-size: 19px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: inherit; }
.ve-seasons { text-align: center; margin-top: 6px; }
.ve-seasons button { padding: 8px 6px 10px; margin: 0 8px; font-size: 19px; font-weight: 700; background: none; border: 0; border-bottom: 3px solid transparent; color: var(--md-mut); cursor: pointer; }
.ve-seasons button.on { color: #fff; border-bottom-color: #fff; }
.ve-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px 12px; margin-top: 18px; padding: 0 var(--md-gut); color: var(--md-tx); }
.ve-grid button { background: none; border: 0; padding: 0; min-width: 0; color: inherit; cursor: pointer; display: block; }
.ve-grid .im { display: block; position: relative; aspect-ratio: 5 / 6.4; border-radius: 14px; overflow: hidden; }
.ve-grid .im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ve-grid .im i { position: absolute; left: 8px; top: 8px; width: 36px; height: 36px; border-radius: 10px; background: #f5a524; color: #1a1205; display: grid; place-items: center; }
.ve-grid .l { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; font-size: 15px; font-weight: 700; white-space: nowrap; }
.ve-grid em { font-style: normal; display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 9px; border-radius: 9px; background: rgba(255,197,61,.12); box-shadow: inset 0 0 0 1px rgba(255,197,61,.4); color: #ffd54a; font-size: 14px; }
.ve-grid em img { width: 16px; height: 16px; }

.vw-player .x { display: grid; }
.vw-acts2 { display: flex; gap: 8px; padding: 14px var(--md-gut) 0; }
.vw-acts2 button { flex: 1; min-width: 0; height: 46px; border-radius: 10px; border: 0; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 14px; font-weight: 700; background: var(--md-card); box-shadow: inset 0 0 0 1px var(--md-line); color: var(--md-tx); cursor: pointer; }
.vw-acts2 button.on { background: rgba(255,197,61,.13); box-shadow: inset 0 0 0 1.5px #ffc53d; color: #ffc53d; }
.vw-next { display: block; width: calc(100% - 32px); margin: 12px auto 0; height: 48px; border-radius: 12px; border: 0; background: linear-gradient(180deg,#3b8fff,#2373e6); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.vw-eps button.prem { background: rgba(255,197,61,.12); box-shadow: inset 0 0 0 1px rgba(255,197,61,.45); color: #ffd54a; }
.vw-eps .c { display: inline-flex; align-items: center; gap: 3px; }
.vw-eps .c img { width: 13px; height: 13px; }
.vw-eps .c b { font-size: 12px; }

.pf2-cover { position: relative; height: 104px; overflow: hidden; }
.pf2-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf2-cover .sh { position: absolute; inset: 0; background: linear-gradient(to top,rgba(9,15,27,.75),transparent 70%); }
.pf2-cover .c1 { position: absolute; right: -30px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.12); }
.pf2-cover .c2 { position: absolute; left: 30%; bottom: -70px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,.08); }
.pf2-cover button { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(0,0,0,.3); backdrop-filter: blur(8px); border: 0; display: grid; place-items: center; cursor: pointer; }
.pf2-who { position: relative; z-index: 2; display: flex; align-items: flex-end; gap: 14px; margin-top: -38px; padding: 0 var(--md-gut); color: var(--md-tx); }
.pf2-who .av { position: relative; flex-shrink: 0; }
.pf2-who .av button { position: absolute; right: -2px; bottom: -2px; width: 30px; height: 30px; border-radius: 50%; background: #2f86ff; border: 0; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--md-bg); cursor: pointer; }
.pf2-who .tx { min-width: 0; padding-bottom: 4px; }
.pf2-who .n { font-size: 22px; font-weight: 800; line-height: 26px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.pf2-who .u { font-size: 13px; color: #8fc0ff; font-weight: 600; margin-top: 3px; }
.pf2-who .e { font-size: 12.5px; color: var(--md-mut); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf2-acts { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin: 12px var(--md-gut) 0; }
.pf2-acts a { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 12px 4px; border-radius: 14px; background: var(--md-card); box-shadow: inset 0 0 0 1px var(--md-line); font-size: 12px; font-weight: 700; color: var(--md-tx); text-decoration: none; }
.pf2-acts span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.pf2-acts img { width: 24px; height: 24px; }
.pf2-bal { display: flex; align-items: center; gap: 12px; margin: 12px var(--md-gut) 0; padding: 12px 14px; border-radius: 14px; background: radial-gradient(120% 160% at 0% 0%,#3a2a08,#141c2c 70%); box-shadow: inset 0 0 0 1px rgba(255,197,61,.25); }
.pf2-bal > img { width: 36px; height: 36px; }
.pf2-bal .tx { flex: 1; min-width: 0; }
.pf2-bal small { display: block; font-size: 12px; color: var(--md-mut); }
.pf2-bal b { font-size: 20px; font-weight: 800; color: var(--md-gold-tx); }
.pf2-bal a { height: 38px; padding: 0 16px; border-radius: 10px; background: linear-gradient(90deg,#fbbf24,#f59e0b); color: #000; font-size: 13.5px; font-weight: 800; display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.pf2-tabs { display: grid; grid-template-columns: repeat(3,1fr); margin: 20px var(--md-gut) 16px; padding: 4px; border-radius: 12px; background: var(--md-card); box-shadow: inset 0 0 0 1px var(--md-line); }
.pf2-tabs button { height: 38px; border-radius: 9px; border: 0; background: none; font-size: 13px; font-weight: 700; color: var(--md-mut); cursor: pointer; }
.pf2-tabs button.on { background: var(--md-blue); color: #fff; box-shadow: 0 4px 12px rgba(47,134,255,.35); }
.pf2-sub { display: flex; gap: 8px; margin: 0 var(--md-gut) 14px; }
.pf2-sub .md-chip { flex: 1; }
.pf2-hist { display: flex; flex-direction: column; gap: 10px; margin: 0 var(--md-gut); }
.pf2-hist > div { display: flex; gap: 12px; padding: 10px; border-radius: 12px; background: var(--md-card); box-shadow: inset 0 0 0 1px var(--md-line); color: var(--md-tx); }
.pf2-hist .im { flex-shrink: 0; width: 60px; height: 84px; border-radius: 8px; overflow: hidden; }
.pf2-hist .im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf2-hist .b { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pf2-hist .t { font-size: 14px; font-weight: 700; line-height: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf2-hist .s { margin-top: 3px; font-size: 12px; color: var(--md-mut); }
.pf2-hist .p { display: block; margin: 8px 0; height: 4px; border-radius: 2px; background: rgba(255,255,255,.1); }
.pf2-hist .p i { display: block; height: 100%; border-radius: 2px; background: var(--md-blue); }
.pf2-hist .md-bbtn { margin-top: auto; }
.pf2-cms { display: flex; flex-direction: column; gap: 10px; margin: 0 var(--md-gut); }
.pf2-cms > div { padding: 12px 14px; border-radius: 12px; background: var(--md-card); box-shadow: inset 0 0 0 1px var(--md-line); color: var(--md-tx); }
.pf2-cms small { font-size: 12px; color: var(--md-dim); }
.pf2-cms p { margin: 4px 0 0; font-size: 14px; line-height: 21px; overflow-wrap: anywhere; }
.pf2-h { display: flex; align-items: center; gap: 10px; margin: 16px var(--md-gut) 0; color: var(--md-tx); }
.pf2-h button { width: 38px; height: 38px; border-radius: 50%; background: var(--md-card); border: 0; display: grid; place-items: center; cursor: pointer; }
.pf2-h h1 { margin: 0; font-size: 21px; font-weight: 800; color: inherit; }
.pf2-grp { margin: 18px var(--md-gut) 0; color: var(--md-tx); }
.pf2-grp .l { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: var(--md-mut); margin: 0 4px 8px; }
.pf2-grp .b { border-radius: 14px; background: var(--md-card); overflow: hidden; box-shadow: inset 0 0 0 1px var(--md-line); }
.pf2-grp .b > * { display: flex; align-items: center; justify-content: flex-start; gap: 12px; width: 100%; padding: 12px 14px; text-align: left; background: none; border: 0; border-top: 1px solid rgba(255,255,255,.06); color: inherit; text-decoration: none; cursor: pointer; box-sizing: border-box; }
.pf2-grp .b > :first-child { border-top: 0; }
.pf2-grp .b > .row { cursor: default; }
.pf2-grp .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.pf2-grp .ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pf2-grp .coin { width: 34px; height: 34px; flex-shrink: 0; }
.pf2-grp .tx { flex: 1; min-width: 0; }
.pf2-grp .tx b { display: block; font-size: 14.5px; font-weight: 600; }
.pf2-grp .tx small { display: block; font-size: 12px; color: var(--md-mut); margin-top: 2px; }
.pf2-grp .ar { color: var(--md-dim); font-size: 18px; }
.pf2-grp .ok { font-size: 12px; font-weight: 700; color: #4ade80; white-space: nowrap; }
.pf2-grp .sw { width: 44px; height: 26px; border-radius: 13px; padding: 3px; background: #3a4660; display: flex; justify-content: flex-start; flex-shrink: 0; box-sizing: border-box; transition: .2s; }
.pf2-grp .sw.on { background: var(--md-blue); justify-content: flex-end; }
.pf2-grp .sw i { width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.pf2-out { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 18px var(--md-gut) 16px; height: 50px; border-radius: 12px; background: rgba(255,92,108,.1); box-shadow: inset 0 0 0 1px rgba(255,92,108,.35); color: var(--md-red); font-size: 15px; font-weight: 700; text-decoration: none; }
.pf2-list { margin: 16px var(--md-gut) 0; display: flex; flex-direction: column; gap: 8px; }
.pf2-list a { padding: 12px 14px; border-radius: 12px; background: var(--md-card); box-shadow: inset 0 0 0 1px var(--md-line); color: var(--md-tx); text-decoration: none; }
.pf2-list b { display: block; font-size: 14px; }
.pf2-list small { font-size: 12px; color: var(--md-mut); }

.pe-bg { position: fixed; inset: 0; z-index: 1350; background: rgba(0,0,0,.62); display: flex; align-items: flex-end; justify-content: center; }
.pe { width: 100%; max-width: 560px; max-height: 90%; display: flex; flex-direction: column; border-radius: 28px 28px 0 0; background: #10141f; box-shadow: 0 -10px 40px rgba(0,0,0,.6); color: var(--md-tx); }
.pe .gr { width: 54px; height: 5px; border-radius: 3px; background: #3a4256; margin: 12px auto 6px; flex-shrink: 0; }
.pe .top { display: flex; align-items: center; justify-content: space-between; padding: 10px 22px 4px; flex-shrink: 0; }
.pe h2 { margin: 0; font-size: 24px; font-weight: 700; color: inherit; }
.pe .top button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 0; cursor: pointer; }
.pe .body { overflow-y: auto; padding: 14px 22px 8px; scrollbar-width: none; flex: 1; min-height: 0; }
.pe .nm { display: flex; align-items: flex-end; gap: 14px; }
.pe .nm .f { flex: 1; min-width: 0; }
.pe .nm small { font-size: 13px; font-weight: 600; color: #5aa2ff; }
.pe .nm .in { display: flex; align-items: center; border-bottom: 2px solid #2f86ff; margin-top: 4px; }
.pe .nm input { flex: 1; min-width: 0; height: 46px; background: none; border: 0; outline: 0; color: #fff; font: inherit; font-size: 18px; font-weight: 500; }
.pe .nm .in span { font-size: 12px; color: var(--md-dim); }
.pe .nm > button { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.08); border: 0; display: grid; place-items: center; flex-shrink: 0; cursor: pointer; }
.pe .tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 20px; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.06); }
.pe .tabs button { height: 40px; border-radius: 11px; border: 0; background: none; font-size: 14px; font-weight: 700; color: var(--md-mut); cursor: pointer; }
.pe .tabs button.on { background: #2f86ff; color: #fff; box-shadow: 0 4px 12px rgba(47,134,255,.35); }
.pe .lbl { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; font-size: 13px; font-weight: 600; color: var(--md-mut); }
.pe .lbl button { background: none; border: 0; font-size: 12.5px; font-weight: 700; color: #5aa2ff; cursor: pointer; }
.pe .avs { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 12px; padding-bottom: 10px; }
.pe .bgs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; padding-bottom: 10px; }
.pe .avs button, .pe .bgs button { position: relative; display: grid; place-items: center; overflow: hidden; color: #fff; border: 0; cursor: pointer; }
.pe .avs button { aspect-ratio: 1; border-radius: 22px; box-shadow: inset 0 0 0 3px #232a3a; }
.pe .bgs button { aspect-ratio: 16 / 9; border-radius: 16px; box-shadow: inset 0 0 0 2px #232a3a; }
.pe .avs button.on, .pe .bgs button.on { box-shadow: inset 0 0 0 3px #2f86ff; }
.pe .avs b, .pe .bgs b { font-size: 18px; font-weight: 900; opacity: .9; }
.pe .avs img, .pe .bgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pe em { position: absolute; right: 6px; bottom: 6px; width: 22px; height: 22px; border-radius: 50%; background: #2f86ff; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 900; }
.pe .foot { padding: 12px 22px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.08); flex-shrink: 0; }
.pe .foot button { width: 100%; height: 56px; border-radius: 28px; border: 0; background: linear-gradient(180deg,#2f6bff,#1f55e0); color: #fff; font-size: 17px; font-weight: 700; box-shadow: 0 6px 18px rgba(47,107,255,.4); cursor: pointer; }
.pe .foot button:disabled { opacity: .5; }

.in-tg .vd-ic.l, .in-tg .ve-head .bk { visibility: hidden; }

@media (min-width: 900px) {
    .vd { max-width: 1000px; margin: 0 auto; }
    .vd-hero { height: 300px; border-radius: 0 0 14px 14px; }
    .vd-ic.l { display: none; }
    .ve-grid { max-width: 1000px; margin-left: auto; margin-right: auto; grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); }
    .pe-bg { align-items: center; }
    .pe { border-radius: 18px; max-height: 84vh; }
    .pf2-cover { height: 160px; border-radius: 0 0 14px 14px; }
}

.md-vg-w { position: relative; min-width: 0; }
.md-vg-save { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 8px; border: 0; display: grid; place-items: center; background: rgba(10,14,24,.72); color: #f59e0b; cursor: pointer; }
.md-vg-save.on { background: #f59e0b; color: #1a1205; }

.lg { position: relative; min-height: 100vh; overflow: hidden; background: #070c16; isolation: isolate; color: #fff; }
.lg-bg { position: absolute; inset: 0; overflow: hidden; }
.lg-bg i, .lg-bg b { position: absolute; display: block; }
.lg-halo { left: 50%; top: 132px; width: 540px; height: 540px; margin: -270px 0 0 -270px; border-radius: 50%; background: radial-gradient(circle,rgba(47,134,255,.55),rgba(120,80,255,.22) 48%,transparent 70%); filter: blur(30px); animation: lgGlow 6s ease-in-out infinite; }
.lg-rays { left: 50%; top: 132px; width: 640px; height: 640px; margin: -320px 0 0 -320px; background: repeating-conic-gradient(from 0deg,rgba(130,185,255,.16) 0 5deg,transparent 5deg 22deg); -webkit-mask-image: radial-gradient(circle,#000 10%,transparent 60%); mask-image: radial-gradient(circle,#000 10%,transparent 60%); animation: lgSpd 70s linear infinite; }
.lg-aur { border-radius: 50%; filter: blur(40px); }
.lg-aur.a { left: -80px; bottom: -60px; width: 360px; height: 320px; background: radial-gradient(circle,rgba(47,134,255,.45),transparent 70%); animation: lgAur 13s ease-in-out infinite; }
.lg-aur.b { right: -90px; bottom: 120px; width: 320px; height: 300px; background: radial-gradient(circle,rgba(140,80,255,.38),transparent 70%); animation: lgAur 17s ease-in-out infinite reverse; }
.lg-tw { border-radius: 50%; background: #d6e7ff; box-shadow: 0 0 8px 2px rgba(120,180,255,.7); animation: lgTw 3s ease-in-out infinite; }
.lg-stage { position: absolute; left: 0; right: 0; top: 0; height: 400px; perspective: 780px; perspective-origin: 50% 30%; }
.lg-world { position: absolute; left: 50%; top: 132px; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-14deg); animation: lgIn 1.3s cubic-bezier(.2,.9,.25,1.15) both; }
.lg-ring { left: -215px; top: -215px; width: 430px; height: 430px; border-radius: 50%; border: 2px solid rgba(120,185,255,.75); background: radial-gradient(circle,rgba(47,134,255,.28),transparent 70%); box-shadow: 0 0 34px rgba(47,134,255,.7), inset 0 0 34px rgba(47,134,255,.45); transform: translateY(18px) rotateX(90deg); animation: lgRing 4s ease-in-out infinite; }
.lg-ring2 { left: -250px; top: -250px; width: 500px; height: 500px; border-radius: 50%; border: 1px dashed rgba(150,200,255,.35); transform: translateY(18px) rotateX(90deg); }
.lg-mirror { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; transform: translateY(36px) scaleY(-1); }
.lg-spin { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; animation: lgGlobe 32s linear infinite; }
.lg-spin.rev { animation: lgGlobe 20s linear infinite reverse; }
.lg-card { position: absolute; left: 0; top: 0; width: 76px; height: 104px; margin: -86px 0 0 -38px; border-radius: 11px; overflow: hidden; background: center/cover no-repeat; box-shadow: 0 12px 26px rgba(0,0,0,.6), 0 0 0 1.5px rgba(170,210,255,.6), 0 0 22px rgba(47,134,255,.5); }
.lg-card i { inset: 0; background: linear-gradient(115deg,transparent 38%,rgba(255,255,255,.55) 50%,transparent 62%) 0 0/260% 100%; animation: lgSheen 5s ease-in-out infinite; }
.lg-card.refl { box-shadow: none; -webkit-mask-image: linear-gradient(to top,rgba(0,0,0,.38),transparent 55%); mask-image: linear-gradient(to top,rgba(0,0,0,.38),transparent 55%); }
.lg-dot { left: 0; top: 0; margin: -2px; border-radius: 50%; background: #cfe3ff; box-shadow: 0 0 10px 3px rgba(110,180,255,.9); }
.lg-veil { position: absolute; inset: 0; background: radial-gradient(70% 12% at 50% 37%,rgba(7,12,22,.8),transparent 100%), linear-gradient(180deg,rgba(7,12,22,0) 0%,rgba(7,12,22,.15) 34%,rgba(7,12,22,.78) 52%,rgba(7,12,22,.6) 100%); }
.lg-back { position: absolute; top: 14px; left: 14px; z-index: 5; display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 14px 0 8px; border-radius: 10px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 13.5px; font-weight: 600; color: #e6ecf7; border: 0; cursor: pointer; }
.lg-in { position: relative; z-index: 2; max-width: 440px; margin: 0 auto; padding: 84px var(--md-gut) 36px; text-align: center; box-sizing: border-box; }
.lg-logo { display: block; margin: 0 auto; position: relative; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 3px rgba(47,134,255,.7), 0 10px 34px rgba(47,134,255,.5); animation: lgLogo 3s ease-in-out infinite; }
.lg-logo img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.19) translate(-.94%,2.2%); }
.lg-h1, .lg-h2 { font-family: 'Arial Black','Segoe UI',system-ui,sans-serif; font-weight: 900; letter-spacing: .3px; text-transform: uppercase; }
.lg-h1 { margin-top: 30px; font-size: 27px; line-height: 1.05; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.9); }
.lg-h2 { margin-top: 4px; font-size: 25px; line-height: 1.1; background: linear-gradient(90deg,#5aa2ff,#2f86ff 30%,#cfe6ff 50%,#2f86ff 70%,#5aa2ff) 0 0/200% 100%; animation: lgShim 4s linear infinite; -webkit-background-clip: text; background-clip: text; color: transparent; }
.lg-orn { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 10px; }
.lg-orn i { display: block; width: 44px; height: 1px; background: linear-gradient(90deg,transparent,#2f86ff); }
.lg-orn i:nth-child(2) { width: 7px; height: 7px; background: #2f86ff; transform: rotate(45deg); }
.lg-orn i:nth-child(3) { background: linear-gradient(90deg,#2f86ff,transparent); }
.lg-sub { font-size: 13.5px; color: rgba(255,255,255,.6); }
.lg-card-box { margin-top: 20px; padding: 18px 16px; border-radius: 18px; text-align: left; background: rgba(14,22,38,.7); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 20px 50px rgba(0,0,0,.5); }
.lg-err { margin-bottom: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(255,92,108,.12); box-shadow: inset 0 0 0 1px rgba(255,92,108,.32); color: #fca5a5; font-size: 13px; font-weight: 600; }
.lg-tg, .lg-google, .lg-submit { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 52px; border-radius: 12px; font-size: 15.5px; text-decoration: none; border: 0; cursor: pointer; box-sizing: border-box; }
.lg-tg { background: linear-gradient(135deg,#34b4f0,#2188d6); color: #fff; font-weight: 800; box-shadow: 0 8px 22px rgba(42,163,230,.35); }
.lg-note { margin-top: 9px; font-size: 11.5px; line-height: 1.45; text-align: center; color: rgba(255,255,255,.45); }
.lg-google { margin-top: 12px; background: #fff; color: #1f2937; font-weight: 700; }
.lg-or { display: flex; align-items: center; gap: 12px; margin: 16px 0 2px; color: rgba(255,255,255,.35); font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; }
.lg-or i { flex: 1; height: 1px; background: rgba(255,255,255,.1); }
.lg-f { display: block; margin-top: 14px; }
.lg-f .l { display: block; font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,.7); margin-bottom: 7px; }
.lg-f .w { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 6px 0 14px; border-radius: 12px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); color: rgba(255,255,255,.42); }
.lg-f .w:focus-within { box-shadow: inset 0 0 0 1px #2f86ff; }
.lg-f input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: #fff; font-size: 15px; }
.lg-f input::placeholder { color: rgba(255,255,255,.35); }
.lg-f input:-webkit-autofill { -webkit-text-fill-color: #fff; transition: background-color 9999s; }
.lg-eye { width: 40px; height: 40px; display: grid; place-items: center; color: rgba(255,255,255,.5); background: none; border: 0; cursor: pointer; flex-shrink: 0; }
.lg-eye .vis, .lg-eye.on .off { display: none; }
.lg-eye.on .vis { display: block; }
.lg-row { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.lg-rem { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.7); cursor: pointer; }
.lg-rem input { position: absolute; opacity: 0; width: 0; height: 0; }
.lg-rem span { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.lg-rem span svg { visibility: hidden; }
.lg-rem input:checked + span { background: #2f86ff; box-shadow: inset 0 0 0 1.5px #2f86ff; }
.lg-rem input:checked + span svg { visibility: visible; }
.lg-forgot { font-size: 13px; font-weight: 700; color: #5aa2ff; background: none; border: 0; padding: 0; cursor: pointer; }
.lg-submit { margin-top: 18px; background: linear-gradient(135deg,#4d9bff,#2f6bff); color: #fff; font-size: 16px; font-weight: 800; letter-spacing: .3px; box-shadow: 0 8px 22px rgba(47,134,255,.4); }
.lg-terms { margin-top: 12px; font-size: 11.5px; line-height: 1.5; text-align: center; color: rgba(255,255,255,.4); }
.lg-switch { margin-top: 20px; font-size: 14px; color: rgba(255,255,255,.6); }
.lg-switch a { font-weight: 800; color: #5aa2ff; text-decoration: none; }
@keyframes lgGlobe { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
@keyframes lgSpd { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes lgIn { 0% { transform: rotateX(-14deg) scale(.4) rotateY(-120deg); } 100% { transform: rotateX(-14deg) scale(1) rotateY(0deg); } }
@keyframes lgSheen { 0% { background-position: 160% 0; } 55%,100% { background-position: -60% 0; } }
@keyframes lgRing { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes lgLogo { 0%,100% { box-shadow: 0 0 0 3px rgba(47,134,255,.7), 0 0 24px rgba(47,134,255,.45); } 50% { box-shadow: 0 0 0 3px rgba(110,180,255,.95), 0 0 46px rgba(47,134,255,.85); } }
@keyframes lgShim { 0% { background-position: 0% 0; } 100% { background-position: 200% 0; } }
@keyframes lgAur { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-26px) scale(1.18); } }
@keyframes lgGlow { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes lgTw { 0%,100% { opacity: .1; transform: scale(.6); } 50% { opacity: .95; transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) {
    .lg *, .lg { animation: none !important; }
}

.ap-bg { position: fixed; inset: 0; z-index: 1400; background: rgba(0,0,0,.6); }
.ap { position: fixed; left: 50%; bottom: 0; z-index: 1401; width: 100%; max-width: 480px; transform: translateX(-50%); box-sizing: border-box; padding: 10px 18px calc(16px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; background: #111a2a; box-shadow: 0 -12px 40px rgba(0,0,0,.55); text-align: center; color: var(--md-tx); overflow: hidden; animation: apUp .24s ease-out; }
.ap-grip { display: block; width: 44px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.2); margin: 0 auto 14px; }
.ap-glow { position: absolute; left: 50%; top: -20px; width: 300px; height: 200px; margin-left: -150px; background: radial-gradient(closest-side,rgba(47,134,255,.38),transparent); pointer-events: none; }
.ap-logo { position: relative; display: inline-block; width: 68px; height: 68px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 3px rgba(47,134,255,.75), 0 10px 30px rgba(47,134,255,.5); }
.ap-logo img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.19) translate(-.94%,2.2%); }
.ap h3 { position: relative; margin: 14px 0 6px; font-size: 20px; font-weight: 800; color: #fff; }
.ap p { position: relative; color: var(--md-mut); font-size: 14px; line-height: 1.5; margin: 0 8px 14px; }
.ap-tile { position: relative; display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 9px 16px 9px 9px; border-radius: 14px; background: color-mix(in srgb, var(--c) 8%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 33%, transparent); }
.ap-tile span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 15%, transparent); color: var(--c); }
.ap-tile b { font-size: 14px; font-weight: 700; color: #fff; }
.ap-tg { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 52px; border-radius: 12px; background: linear-gradient(135deg,#34b4f0,#2188d6); color: #fff; font-size: 15.5px; font-weight: 800; text-decoration: none; box-shadow: 0 8px 22px rgba(42,163,230,.35); }
.ap-two { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.ap-two a { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 12px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.ap-two a.reg { background: rgba(47,134,255,.14); box-shadow: inset 0 0 0 1px rgba(90,162,255,.5); color: #8cc0ff; }
.ap-later { position: relative; display: block; width: 100%; margin-top: 10px; height: 36px; font-size: 14px; font-weight: 600; color: var(--md-mut); background: none; border: 0; cursor: pointer; }
@keyframes apUp { from { transform: translate(-50%,100%); } to { transform: translate(-50%,0); } }

.cm-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.cm-title { display: flex; align-items: center; gap: 8px; }
.cm-title h2 { margin: 0; font-size: 19px; font-weight: 700; color: inherit; }
.cm-seg { display: flex; padding: 3px; border-radius: 9px; background: rgba(0,0,0,.28); box-shadow: inset 0 0 0 1px var(--md-line); }
.cm-seg button { height: 28px; padding: 0 10px; border-radius: 7px; font-size: 12px; font-weight: 700; color: var(--md-mut); background: none; border: 0; cursor: pointer; white-space: nowrap; }
.cm-seg button.on { background: #2f86ff; color: #fff; }
.cm-write { border-radius: 12px; background: rgba(0,0,0,.28); box-shadow: inset 0 0 0 1px var(--md-line); overflow: hidden; }
.cm-write textarea { display: block; width: 100%; box-sizing: border-box; resize: none; padding: 12px 14px; background: none; border: 0; color: #fff; font: inherit; font-size: 14px; outline: 0; }
.cm-write textarea::placeholder { color: var(--md-dim); }
.cm-replying { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; font-size: 12.5px; color: var(--md-mut); background: rgba(47,134,255,.08); border-bottom: 1px solid var(--md-line); }
.cm-replying b { color: #8cc0ff; }
.cm-replying button { background: none; border: 0; color: var(--md-dim); cursor: pointer; font-size: 14px; }
.cm-tools { display: flex; align-items: center; gap: 2px; padding: 6px 8px; border-top: 1px solid var(--md-line); }
.cm-tools > span { flex: 1; }
.cm-tools > button:not(.cm-send) { width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center; color: var(--md-mut); font-size: 14px; background: none; border: 0; cursor: pointer; }
.cm-tools i { font-family: serif; font-weight: 700; }
.cm-tools s { font-weight: 700; }
.cm-send { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 16px; border-radius: 9px; background: linear-gradient(135deg,#4d9bff,#2f6bff); color: #fff; font-size: 13.5px; font-weight: 800; border: 0; cursor: pointer; }
.cm-send:disabled { opacity: .5; cursor: default; }
.cm-lock { position: relative; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg,rgba(47,134,255,.10),rgba(17,26,42,.9)); box-shadow: inset 0 0 0 1px rgba(90,162,255,.28); }
.cm-lock-top { display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 14px 14px 12px; text-align: left; background: none; border: 0; cursor: pointer; }
.cm-lock-top .i { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); color: rgba(255,255,255,.45); }
.cm-lock-top .p { flex: 1; min-height: 44px; padding: 9px 12px; box-sizing: border-box; border-radius: 10px; background: rgba(0,0,0,.28); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); font-size: 14px; color: rgba(255,255,255,.42); }
.cm-lock-bot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid rgba(255,255,255,.06); }
.cm-lock-bot a { font-size: 12.5px; font-weight: 600; color: var(--md-mut); white-space: nowrap; text-decoration: none; }
.cm-lock-bot a b { color: #8cc0ff; }
.cm-lock-bot a.reg { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 10px; background: linear-gradient(135deg,#4d9bff,#2f6bff); color: #fff; font-size: 14px; font-weight: 800; box-shadow: 0 6px 18px rgba(47,134,255,.4); }
.cm-rules { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--md-line); }
.cm-rules span { flex: 1; font-size: 12px; line-height: 1.4; color: var(--md-mut); }
.cm-rules .q { flex-shrink: 0; height: 28px; padding: 0 10px; border-radius: 7px; background: rgba(47,134,255,.16); color: #8cc0ff; font-size: 12px; font-weight: 700; border: 0; cursor: pointer; }
.cm-rules .x { flex-shrink: 0; color: var(--md-dim); font-size: 15px; background: none; border: 0; cursor: pointer; }
.cm-list { margin-top: 6px; }
.cm-row + .cm-row { border-top: 1px solid var(--md-line); }
.cm { display: flex; gap: 10px; padding: 16px 0; }
.cm.small { padding: 12px 0 0; }
.cm .b { flex: 1; min-width: 0; }
.cm .t { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.cm .t b { font-size: 14px; font-weight: 700; }
.cm .t span { font-size: 12px; color: var(--md-dim); }
.cm .t em { display: inline-flex; align-items: center; gap: 3px; height: 18px; padding: 0 6px; border-radius: 5px; font-size: 10px; font-weight: 800; letter-spacing: .4px; font-style: normal; }
.cm .t em.me { background: rgba(74,222,128,.14); color: #4ade80; }
.cm .t em.ad { background: rgba(47,134,255,.18); color: #8cc0ff; }
.cm .t em.pin { background: rgba(255,197,61,.16); color: #ffd54a; }
.cm .x { margin-top: 5px; font-size: 14px; line-height: 21px; color: rgba(255,255,255,.88); overflow-wrap: anywhere; }
.cm-at { color: #5aa2ff; font-weight: 600; }
.cm-sp { background: rgba(255,255,255,.18); color: transparent; border-radius: 4px; cursor: pointer; transition: color .15s; }
.cm-sp.on { background: rgba(255,255,255,.08); color: inherit; }
.cm .r { display: flex; align-items: center; gap: 16px; margin-top: 9px; color: var(--md-mut); }
.cm .r button { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--md-mut); background: none; border: 0; padding: 0; cursor: pointer; }
.cm .r button.on { color: #5aa2ff; }
.cm .r button.off, .cm .r button.del { color: #ff6b7a; }
.cm .r button.end { margin-left: auto; }
.cm .r button.dots { font-size: 16px; font-weight: 900; letter-spacing: 1px; }
.cm-menu-w { position: relative; display: inline-flex; }
.cm-menu { position: absolute; left: 0; bottom: 26px; z-index: 20; min-width: 170px; padding: 6px; border-radius: 10px; background: #1a2436; box-shadow: 0 10px 28px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08); }
.cm-menu button { display: flex !important; width: 100%; height: 34px; padding: 0 10px !important; border-radius: 7px; color: #e6ecf7 !important; white-space: nowrap; }
.cm-menu button.del { color: #ff6b7a !important; }
.cm-rep { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12.5px; font-weight: 700; color: #5aa2ff; background: none; border: 0; padding: 0; cursor: pointer; }
.cm-rep.mut { color: var(--md-mut); }
.cm-thread { margin-top: 4px; padding-left: 12px; border-left: 2px solid rgba(90,162,255,.28); }
.cm-more { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 44px; margin-top: 10px; border-radius: 10px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--md-line); color: #e6ecf7; font-size: 13.5px; font-weight: 700; border: 0; cursor: pointer; }
.cm-more span { color: var(--md-dim); font-weight: 600; }
.cm-trash { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: rgba(255,92,108,.14); color: #ff6b7a; }
.cm-confirm { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cm-confirm button { height: 48px; border-radius: 12px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: #fff; font-size: 15px; font-weight: 700; border: 0; cursor: pointer; }
.cm-confirm button.del { background: #ff5c6c; box-shadow: none; font-weight: 800; }

.nt-hint { display: flex; gap: 10px; align-items: flex-start; margin: 14px var(--md-gut) 6px; padding: 12px 14px; border-radius: 12px; background: rgba(47,134,255,.08); box-shadow: inset 0 0 0 1px rgba(90,162,255,.22); font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,.7); }
.nt-hint svg { flex-shrink: 0; margin-top: 1px; }
.nt-group { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 16px var(--md-gut) 6px; }
.nt-group span { font-size: 12px; font-weight: 800; letter-spacing: 1px; color: var(--md-mut); }
.nt-group button { font-size: 12.5px; font-weight: 700; color: #5aa2ff; background: none; border: 0; cursor: pointer; padding: 0; text-align: right; }
.nt { position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 12px var(--md-gut); text-decoration: none; color: inherit; }
.nt.new { background: rgba(47,134,255,.07); }
.nt.new::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: #2f86ff; }
.nt .im { flex-shrink: 0; width: 48px; height: 64px; border-radius: 6px; overflow: hidden; opacity: .6; }
.nt.new .im { opacity: 1; }
.nt .im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nt .b { flex: 1; min-width: 0; }
.nt .w { display: block; font-size: 12.5px; color: var(--md-mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt .t { display: block; font-size: 14.5px; font-weight: 500; line-height: 1.35; margin-top: 2px; color: rgba(255,255,255,.6); }
.nt.new .t { font-weight: 800; color: #fff; }
.nt .m { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.nt .m em { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; background: rgba(47,134,255,.18); color: #8cc0ff; font-size: 11.5px; font-weight: 800; font-style: normal; opacity: .7; }
.nt .m em.v { background: rgba(255,197,61,.16); color: #ffd54a; }
.nt.new .m em { opacity: 1; }
.nt .m small { font-size: 12px; color: var(--md-dim); }
.nt .d { width: 9px; height: 9px; border-radius: 50%; background: #2f86ff; box-shadow: 0 0 0 3px rgba(47,134,255,.2); margin-top: 6px; flex-shrink: 0; }

.pgr { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 16px 0 4px; }
.pgr button { min-width: 34px; height: 34px; padding: 0 6px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); font-size: 13px; font-weight: 800; border: 0; cursor: pointer; }
.pgr button.on { background: #2f86ff; color: #fff; box-shadow: 0 4px 14px rgba(47,134,255,.4); }
.pgr.gold button.on { background: linear-gradient(90deg,#fbbf24,#f59e0b); color: #000; box-shadow: 0 4px 14px rgba(251,191,36,.35); }
.pgr button:disabled { opacity: .3; cursor: default; }
.pgr span { color: var(--md-dim); font-weight: 800; padding: 0 2px; }

.sv-lock { margin: 56px var(--md-gut) 0; text-align: center; }
.sv-lock .i { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: rgba(47,134,255,.14); color: #5aa2ff; }
.sv-lock.gold .i { background: rgba(255,197,61,.14); color: #ffd54a; }
.sv-lock h2 { margin: 16px 0 6px; font-size: 20px; font-weight: 800; color: #fff; }
.sv-lock p { font-size: 14px; line-height: 1.55; color: var(--md-mut); margin: 0 10px 20px; }
.sv-lock a { display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; margin-top: 10px; border-radius: 12px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; }
.sv-lock a.reg { height: 50px; background: linear-gradient(135deg,#4d9bff,#2f6bff); box-shadow: none; font-size: 15.5px; font-weight: 800; }
@media (min-width: 900px) { .sv-lock { max-width: 420px; margin-left: auto; margin-right: auto; } }

a.vh-gen { text-decoration: none; }

.rpill { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 1300; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 14px; background: linear-gradient(135deg,#4d9bff,#2f6bff); box-shadow: 0 10px 28px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.18); transform: translateX(-50%); white-space: nowrap; max-width: calc(100vw - 20px); box-sizing: border-box; }
.rpill button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 10px; color: #fff; font-size: 13.5px; font-weight: 700; background: none; border: 0; cursor: pointer; }
.rpill button.x { width: 32px; padding: 0; justify-content: center; background: rgba(255,255,255,.16); font-size: 15px; }

.vp-top { position: absolute; top: 0; left: 0; right: 0; z-index: 5; height: 60px; display: flex; align-items: center; gap: 8px; padding: 0 14px; color: #fff; opacity: 0; pointer-events: none; transition: opacity .22s ease; box-sizing: border-box; }
.vp-top.vp-visible { opacity: 1; pointer-events: auto; }
.vp-top b { flex: 1; min-width: 0; text-align: center; font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.vp-bk { width: 40px; height: 40px; display: grid; place-items: center; flex-shrink: 0; }
.vp-net { display: inline-flex; align-items: center; justify-content: flex-end; gap: 5px; font-size: 12px; font-weight: 700; min-width: 64px; white-space: nowrap; }
.vp-locked .vp-top { display: none; }
.vp-resume { position: absolute; left: 12px; right: 12px; bottom: 118px; z-index: 6; display: none; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border-radius: 14px; background: rgba(12,16,26,.88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,197,61,.35); color: #fff; cursor: default; }
.vp-resume.vp-visible { display: flex; }
.vp-resume .t { flex: 1; min-width: 0; }
.vp-resume b { display: block; font-size: 13.5px; }
.vp-resume small { display: block; font-size: 11.5px; color: rgba(255,255,255,.6); margin-top: 2px; }
.vp-resume button { flex-shrink: 0; height: 36px; padding: 0 12px; border-radius: 10px; font-size: 13px; font-weight: 800; border: 0; cursor: pointer; }
.vp-resume .re { background: rgba(255,255,255,.1); color: #fff; }
.vp-resume .go { background: linear-gradient(90deg,#fbbf24,#f59e0b); color: #000; }
.vp-q { display: inline-block; height: 22px; padding: 0 5px; border: 1.8px solid currentColor; border-radius: 5px; font-size: 11px; font-weight: 800; line-height: 18px; box-sizing: border-box; }

.vp-page { position: fixed; inset: 0; z-index: 1300; width: 100%; height: 100vh; height: 100dvh; aspect-ratio: auto; border-radius: 0; }
.vp-page video { inset: auto 0; top: 50%; height: auto; aspect-ratio: 16/9; max-height: 100%; transform: translateY(-50%); }
.vp-page.vp-embed iframe { inset: auto 0; top: 50%; height: auto; aspect-ratio: 16/9; transform: translateY(-50%); }
.vp-page .vp-center { gap: 58px; }
.vp-page .vp-cbtn, .vp-page .vp-cbtn-main { width: auto; height: auto; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); }
.vp-page .vp-cbtn:hover, .vp-page .vp-cbtn-main:hover { background: none; }
.vp-page .vp-cbtn svg.r5 { width: 44px; height: 44px; fill: none; }
.vp-page .vp-cbtn-main svg { width: 46px; height: 46px; }
.vp-page .vp-cbtn-main .vp-ic-play { margin-left: 0; }
.vp-page .vp-controls { left: 16px; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); padding: 0; background: none; }
.vp-page .vp-times { margin-bottom: 8px; }
.vp-page .vp-time { font-size: 12.5px; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,.7); }
.vp-page .vp-progress-wrap { height: 17px; margin-bottom: 0; }
.vp-page .vp-progress-wrap::before { height: 5px; background: rgba(255,255,255,.85); }
.vp-page .vp-progress-buffered { display: none; }
.vp-page .vp-progress-played { height: 5px; background: #e5243b; }
.vp-page .vp-progress-thumb { right: -3px; width: 6px; height: 17px; border-radius: 2px; background: #e5243b; box-shadow: none; }
.vp-page .vp-controls-row { gap: 14px; margin-top: 12px; }
.vp-page .vp-btn { padding: 0; height: 32px; width: auto; min-width: 24px; display: grid; place-items: center; color: #fff; background: none; }
.vp-page .vp-btn:hover { background: none; }
.vp-page .vp-btn.vp-on { color: #ffc53d; }
.vp-page .vp-btn svg { width: 23px; height: 23px; }
@media (max-width: 768px) { .vp-page .vp-volume-btn { display: none; } }
@media (orientation: landscape) {
    .vp-page video, .vp-page.vp-embed iframe { inset: 0; height: 100%; aspect-ratio: auto; transform: none; }
    .vp-page .vp-top { background: linear-gradient(rgba(0,0,0,.55),transparent); }
    .vp-page .vp-controls { left: 0; right: 0; bottom: 0; padding: 22px 18px 12px; background: linear-gradient(transparent,rgba(0,0,0,.6)); }
    .vp-page .vp-resume { left: auto; right: 18px; width: 330px; bottom: 96px; }
}
.vw2 { position: fixed; inset: 0; z-index: 1300; background: #000; color: #fff; }
.vw2-top { position: absolute; top: 0; left: 0; right: 0; z-index: 3; height: 60px; display: flex; align-items: center; gap: 8px; padding: 0 14px; box-sizing: border-box; }
.vw2-top a { width: 40px; height: 40px; display: grid; place-items: center; }
.vw2-top b { flex: 1; min-width: 0; text-align: center; font-size: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vw2-top span { width: 40px; }
.vw2-stage { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); aspect-ratio: 16/9; max-height: 100%; background: #111; }
.vw2-stage img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .55; }

.dn2-top { position: relative; overflow: hidden; margin: 16px var(--md-gut) 0; padding: 18px; border-radius: 18px; background: radial-gradient(120% 140% at 0% 0%,#5a1838,#1a1426 60%,#121a2b); box-shadow: inset 0 0 0 1px rgba(255,107,154,.3); color: #fff; }
.dn2-top .glow { position: absolute; right: -30px; top: -30px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle,rgba(255,107,154,.35),transparent 70%); }
.dn2-top .h { position: relative; display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: #ffb3cb; }
.dn2-top .h span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg,#ff6b9a,#ff8a3d); color: #fff; }
.dn2-top .sum { position: relative; margin-top: 10px; font-size: 30px; font-weight: 900; letter-spacing: -.5px; }
.dn2-top .stats { position: relative; display: flex; gap: 8px; margin-top: 12px; }
.dn2-top .stats div { flex: 1; padding: 9px 10px; border-radius: 12px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.dn2-top .stats b { display: block; font-size: 15px; font-weight: 800; }
.dn2-top .stats small { display: block; font-size: 11.5px; color: rgba(255,255,255,.55); margin-top: 2px; }
.dn2-top .thx { position: relative; margin-top: 12px; font-size: 12px; line-height: 1.45; color: rgba(255,255,255,.65); }
.dn2-h { display: flex; align-items: center; justify-content: space-between; margin: 20px var(--md-gut) 8px; color: #fff; }
.dn2-h h2 { margin: 0; font-size: 17px; font-weight: 700; }
.dn2-h span { font-size: 12px; color: var(--md-mut); }
.dn2-list { margin: 0 var(--md-gut); border-radius: 14px; background: var(--md-card); box-shadow: inset 0 0 0 1px var(--md-line); overflow: hidden; }
.dn2-list a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; text-decoration: none; color: inherit; border-top: 1px solid var(--md-line); }
.dn2-list a:first-child { border-top: 0; }
.dn2-list .im { width: 44px; height: 58px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.dn2-list .im img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dn2-list .im.logo { display: grid; place-items: center; background: radial-gradient(circle at 30% 30%,#2f86ff,#122046); }
.dn2-list .im.logo img { width: 32px; height: 32px; border-radius: 50%; }
.dn2-list .b { flex: 1; min-width: 0; }
.dn2-list .t { display: block; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.dn2-list .s { display: block; font-size: 12px; color: var(--md-mut); margin-top: 3px; }
.dn2-list .st { display: inline-flex; align-items: center; height: 20px; margin-top: 6px; padding: 0 8px; border-radius: 6px; font-size: 11px; font-weight: 800; background: rgba(255,197,61,.14); color: #ffd54a; }
.dn2-list .st.ok { background: rgba(74,222,128,.12); color: #4ade80; }
.dn2-list .a { flex-shrink: 0; font-size: 14.5px; font-weight: 900; color: #ff8fb1; white-space: nowrap; }
.dn2-btn { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px var(--md-gut) 0; height: 50px; border-radius: 12px; background: linear-gradient(90deg,#ff6b9a,#ff8a3d); color: #fff; font-size: 15px; font-weight: 800; text-decoration: none; box-shadow: 0 8px 22px rgba(255,107,154,.3); }

.pf2-grp .ic.g { background: #fff; }
.pf2-grp .ic.g svg { width: 18px; height: 18px; stroke: none; }
.pf2-grp .ul { flex-shrink: 0; display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 8px; background: rgba(47,134,255,.16); color: #8cc0ff; font-size: 12.5px; font-weight: 800; text-decoration: none; border: 0; cursor: pointer; width: auto !important; border-top: 0 !important; }

.md-sec.plain { background: none; padding: 14px 0 2px; }
html.md-restoring .mud-main-content > *:not(.v2-nav) { visibility: hidden; }

.anbar { position: relative; margin: 8px var(--md-gut); max-height: 90px; transition: max-height .3s ease, margin .3s ease, opacity .25s ease, transform .3s ease; padding: 1.5px; border-radius: 16px; background: linear-gradient(110deg,rgba(90,162,255,.9),rgba(47,91,255,.35) 40%,rgba(140,192,255,.9) 60%,rgba(47,91,255,.35)); background-size: 250% 100%; animation: anFlow 6s linear infinite; box-shadow: 0 10px 26px rgba(0,0,0,.45), 0 0 22px rgba(47,134,255,.22); }
.anbar.gold { background-image: linear-gradient(110deg,rgba(255,213,74,.95),rgba(245,158,11,.35) 40%,rgba(255,236,170,.95) 60%,rgba(245,158,11,.35)); box-shadow: 0 10px 26px rgba(0,0,0,.45), 0 0 22px rgba(245,158,11,.2); }
@keyframes anFlow { from { background-position: 0 0; } to { background-position: -250% 0; } }
.anbar .in { display: flex; align-items: center; gap: 11px; padding: 8px; border-radius: 14.5px; background: linear-gradient(135deg,#13213d,#0c1426 70%); text-decoration: none; color: inherit; }
.anbar.gold .in { background: linear-gradient(135deg,#2a1d08,#120f0a 70%); }
.anbar .th { position: relative; flex-shrink: 0; width: 84px; aspect-ratio: 16/9; border-radius: 9px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.anbar .th img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.anbar .bd { flex: 1; min-width: 0; text-align: left; }
.anbar .lb { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 900; letter-spacing: .8px; color: #8cc0ff; }
.anbar.gold .lb { color: #ffd54a; }
.anbar .lb s { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: anPing 1.8s ease-out infinite; text-decoration: none; }
@keyframes anPing { 0% { box-shadow: 0 0 0 0 rgba(140,192,255,.7); } 100% { box-shadow: 0 0 0 7px rgba(140,192,255,0); } }
.anbar .lb em { font-style: normal; font-weight: 700; letter-spacing: 0; color: rgba(255,255,255,.45); }
.anbar .t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-top: 3px; font-size: 13.5px; font-weight: 800; line-height: 1.3; white-space: normal; overflow: hidden; text-align: left; color: #fff; }
.anbar .go { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg,#4d9bff,#2f6bff); color: #fff; box-shadow: 0 4px 12px rgba(47,134,255,.45); }
.anbar.gold .go { background: linear-gradient(135deg,#fbbf24,#f59e0b); color: #000; box-shadow: 0 4px 12px rgba(245,158,11,.4); }
.anbar .x { position: absolute; top: -7px; right: -6px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: #1b2436; box-shadow: 0 0 0 1.5px rgba(255,255,255,.18), 0 3px 8px rgba(0,0,0,.5); color: rgba(255,255,255,.8); font-size: 10px; font-weight: 900; cursor: pointer; }
.anbar.closing { max-height: 0; margin-top: 0; margin-bottom: 0; opacity: 0; transform: translateY(-8px); padding: 0; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .anbar, .anbar .lb s { animation: none; } }
.ancard { flex: 0 0 268px; width: 268px; display: block; text-align: left; text-decoration: none; color: var(--md-tx); border-radius: 4px; overflow: hidden; background: var(--md-bg); box-shadow: inset 0 0 0 1px var(--md-line); }
.ancard .b { display: block; padding: 10px 12px 12px; }
.ancard .m { display: flex; align-items: center; gap: 8px; }
.ancard .m small { font-size: 11.5px; color: var(--md-dim); }
.ancard .t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 7px; font-size: 14px; font-weight: 800; line-height: 1.35; white-space: normal; }
.an169 { position: relative; display: block; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #0b1220; }
.an169 img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.anchip { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 6px; font-size: 10.5px; font-weight: 900; letter-spacing: .5px; }
.annew { position: absolute; top: 8px; left: 8px; height: 20px; padding: 0 7px; border-radius: 4px; background: linear-gradient(135deg,#ff3b5c,#ff7a2f); color: #fff; font-size: 10px; font-weight: 900; letter-spacing: .6px; display: inline-flex; align-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.an-lead { margin: 16px var(--md-gut) 4px; font-size: 13px; color: var(--md-mut); line-height: 1.5; }
.an-list { display: flex; flex-direction: column; gap: 14px; margin: 12px var(--md-gut) 0; }
.an-list > a { display: block; text-decoration: none; color: var(--md-tx); border-radius: 4px; overflow: hidden; background: var(--md-card); box-shadow: inset 0 0 0 1px var(--md-line); }
.an-list .b { display: block; padding: 12px 14px 14px; }
.an-list .m { display: flex; align-items: center; gap: 8px; }
.an-list .m small { font-size: 12px; color: var(--md-dim); }
.an-list .t { display: block; margin-top: 8px; font-size: 16.5px; font-weight: 800; line-height: 1.3; }
.an-list .e { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--md-mut); }
.an-list .o { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--md-dim); }
.an-list .o img { width: 20px; height: 20px; border-radius: 50%; }
.an-art { color: var(--md-tx); }
.an-in { padding: 16px var(--md-gut) 0; }
.an-meta { display: flex; align-items: center; gap: 8px; }
.an-meta small { font-size: 12.5px; color: var(--md-dim); }
.an-in h1 { margin: 10px 0 0; font-size: 22px; font-weight: 900; line-height: 1.3; color: #fff; }
.an-by { display: flex; align-items: center; gap: 10px; margin: 12px 0 18px; padding-bottom: 16px; border-bottom: 1px solid var(--md-line); }
.an-by img { width: 32px; height: 32px; border-radius: 50%; }
.an-by span { flex: 1; min-width: 0; }
.an-by b { display: block; font-size: 13.5px; }
.an-by small { font-size: 12px; color: var(--md-dim); }
.an-by button { flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--md-card); border: 0; box-shadow: inset 0 0 0 1px var(--md-line); color: #fff; cursor: pointer; }
.an-in p { margin: 0 0 14px; font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.86); overflow-wrap: anywhere; }
.an-in p a, .an-in li a { color: var(--md-sky); }
.an-in h3 { margin: 20px 0 10px; font-size: 17px; font-weight: 800; color: #fff; }
.an-in ul { list-style: disc; margin: 0 0 14px; padding-left: 20px; font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.86); }
.an-pic { display: block; width: 100%; border-radius: 4px; margin: 4px 0 16px; }
.an-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px; margin-top: 6px; border-radius: 12px; background: linear-gradient(135deg,#4d9bff,#2f6bff); color: #fff; font-size: 15px; font-weight: 800; text-decoration: none; box-shadow: 0 8px 22px rgba(47,134,255,.35); }
.an-oth-h { margin: 26px var(--md-gut) 10px; font-size: 17px; font-weight: 800; color: #fff; }
.an-oth { display: flex; flex-direction: column; gap: 10px; margin: 0 var(--md-gut); }
.an-oth a { display: flex; gap: 12px; align-items: center; width: 100%; box-sizing: border-box; padding: 8px; text-decoration: none; color: inherit; border-radius: 12px; background: var(--md-card); box-shadow: inset 0 0 0 1px var(--md-line); }
.an-oth .an169 { width: 112px; flex-shrink: 0; border-radius: 4px; }
.an-oth .tx { flex: 1; min-width: 0; }
.an-oth b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; font-weight: 700; line-height: 1.35; }
.an-oth small { display: block; margin-top: 4px; font-size: 11.5px; color: var(--md-dim); }
@media (min-width: 900px) {
    .anbar { max-width: 1192px; margin: 10px auto; }
    .anbar.closing { margin: 0 auto; }
    .an-art, .an-page { max-width: 760px; margin-left: auto; margin-right: auto; }
}
.lk-card { position: relative; max-width: 520px; margin: 78px auto 96px; margin-left: max(var(--md-gut), calc(50% - 260px)); margin-right: max(var(--md-gut), calc(50% - 260px)); border-radius: 22px; overflow: hidden; padding: 0 20px 22px; text-align: center; color: var(--md-tx); background: linear-gradient(180deg,#16213a,#0f1626); box-shadow: inset 0 0 0 1px rgba(255,197,61,.28), 0 18px 40px rgba(0,0,0,.5); }
.lk-card > * { position: relative; }
.lk-card .lk-bg { position: absolute; left: 0; right: 0; top: 0; height: 150px; background: center 20% / cover no-repeat; filter: blur(14px) brightness(.5) saturate(1.2); transform: scale(1.2); }
.lk-card .lk-fade { position: absolute; left: 0; right: 0; top: 0; height: 150px; background: linear-gradient(180deg, rgba(15,22,38,0), #16213a); }
.lk-ic { width: 84px; height: 84px; margin: 44px auto 0; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg,#ffd54a,#f59e0b); color: #1a1205; box-shadow: 0 0 0 5px rgba(255,197,61,.18), 0 10px 30px rgba(245,158,11,.5); }
.lk-t { margin: 16px 0 4px; font-size: 22px; font-weight: 800; }
.lk-sub { font-size: 13px; color: var(--md-mut); margin-bottom: 16px; }
.lk-price { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 14px; background: rgba(255,197,61,.1); box-shadow: inset 0 0 0 1px rgba(255,197,61,.25); font-size: 15px; color: #f5e3b5; }
.lk-price b { color: var(--md-gold-tx); font-size: 18px; }
.lk-bal { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--md-mut); }
.lk-bal b { color: var(--md-gold-tx); }
.lk-buy { margin-top: 16px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: 14px; background: linear-gradient(180deg,#ffd54a,#ffb800); color: #1a1205; font-size: 15px; font-weight: 800; text-decoration: none; }
.lk-open { margin-top: 10px; width: 100%; height: 46px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 14px; background: none; font-size: 14px; font-weight: 800; color: #4da3ff; box-shadow: inset 0 0 0 1px rgba(77,163,255,.5); text-decoration: none; cursor: pointer; }
.lk-open:disabled { opacity: .6; }
.lk-back { display: inline-block; margin-top: 8px; padding: 10px; font-size: 13.5px; font-weight: 700; color: var(--md-mut); text-decoration: none; }
.vh-ban { scroll-snap-stop: always; }
.vh-ban img { object-position: center 30%; }
@media (min-width: 900px) {
    .vh-ban { height: auto; aspect-ratio: 16 / 6; }
}
.md-del { flex-shrink: 0; align-self: flex-start; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; background: rgba(255,92,108,.1); color: #ff6b7a; cursor: pointer; }
.md-epchips { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.md-epchips em { font-style: normal; min-width: 22px; height: 20px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 6px; background: rgba(77,163,255,.14); color: #8fc2ff; font-size: 11px; font-weight: 700; }
.pf2-cms > .pf2-cm { display: block; padding: 12px 14px; border-radius: 12px; background: var(--md-card); box-shadow: inset 0 0 0 1px var(--md-line); color: var(--md-tx); text-decoration: none; }
.h2-cont, .vh-cont { position: relative; }
.h2-del { position: absolute; top: 6px; right: 6px; z-index: 2; width: 26px; height: 26px; }
@media (max-width: 899.98px) {
    .in-tg .mud-main-content.v2-subpage { padding-top: 0 !important; }
}
.in-tg .mud-main-content { display: flex; flex-direction: column; }
.in-tg .mud-main-content > .v2-foot { margin-top: auto; }
.in-tg .md-page .md-empty { padding-top: 28px; }
