/* DolphFi presentation layer. The V187 layout, state and event handlers remain in their original files. */
@font-face{font-family:DFSans;src:url('/assets/dolphfi/fonts/df-sans-400.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:DFSans;src:url('/assets/dolphfi/fonts/df-sans-500.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:DFSans;src:url('/assets/dolphfi/fonts/df-sans-700.woff2') format('woff2');font-weight:700 900;font-display:swap}
@font-face{font-family:DFManrope;src:url('/assets/dolphfi/fonts/manrope.woff2') format('woff2');font-weight:200 800;font-display:swap}
:root{color-scheme:light;--df-primary:#4A4CC4;--df-bright:#6668DA;--df-tint:#E4E8FF;--df-ice:#A3ABFB;--df-deep:#2A2583;--df-night:#080826;--df-nightCard:#161251;--df-ink:#0D0E1C;--df-muted:#5F6275;--df-subtle:#707386;--df-surface:#F5F6FC;--df-line:#E2E4ED;--df-success:#00814F;--df-danger:#C2272D;--df-blue:var(--df-primary);--df-electric:var(--df-deep);--df-paper:var(--df-surface);--df-line-strong:#C9CDF0;--bg:#fff;--bg-2:var(--df-surface);--panel:#fff;--panel-strong:var(--df-surface);--line:var(--df-line);--line-strong:var(--df-line-strong);--text:var(--df-ink);--muted:var(--df-muted);--subtle:var(--df-subtle);--gold:var(--df-primary);--orange:var(--df-primary);--magenta:var(--df-deep);--cyan:var(--df-primary);--green:var(--df-success);--danger:var(--df-danger);--action-gradient:linear-gradient(135deg,var(--df-primary),var(--df-bright));--shadow:0 16px 48px rgba(13,14,28,.06);--radius:18px;--topbar-h:80px;font-family:DFSans,'PingFang SC','Microsoft YaHei',system-ui,sans-serif}
html,body{background:#fff!important;color:var(--df-ink)}
body{font-family:DFSans,'PingFang SC','Microsoft YaHei',system-ui,sans-serif!important;background:radial-gradient(ellipse at 95% 0,var(--df-surface) 0,transparent 36rem),#fff!important}
body::before,body::after{background:none!important;opacity:0!important}
::selection{background:rgba(74,76,196,0.1490);color:var(--df-deep)}
button,input,textarea,select{font-family:inherit;accent-color:var(--df-blue)}
:is(button,a,input,textarea,select):focus-visible{outline:2px solid var(--df-blue)!important;outline-offset:4px}
button:disabled{opacity:.45}
::-webkit-scrollbar{width:7px;height:7px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{border-radius:20px;background:var(--df-line)}
.topbar{background:#ffffffed!important;border-bottom:1px solid var(--df-line)!important;box-shadow:none!important;backdrop-filter:blur(16px);gap:20px}
.brand{gap:18px}
.app-shell{background:transparent!important}
.app-shell::before,.app-shell::after,.carousel-shell::before,.tab-body-shell::before{display:none!important}
.brand-logo{width:160px;max-height:42px;object-fit:contain;filter:none!important}
.brand-title{font-size:15px;font-weight:500;color:var(--df-muted)!important;letter-spacing:0!important}
.brand-title::before{background:var(--df-line)!important}
.brand-version{color:var(--df-subtle)!important}
.top-actions{gap:14px}
.topbar-entry-link,.topbar-entry-link-inner,.topbar-dapp-link{background:none!important;color:var(--df-ink)!important;border-color:var(--df-line)!important;text-shadow:none!important;box-shadow:none!important;animation:none!important}
.topbar-entry-link{border-radius:999px!important;font-size:12px!important;padding:9px 17px!important}
.topbar-entry-link::before,.topbar-entry-link::after{display:none!important}
.topbar-entry-link:hover{background:var(--df-surface)!important;color:var(--df-blue)!important}
.language-trigger{background:var(--df-surface)!important;color:var(--df-ink)!important;border:1px solid var(--df-line)!important;border-radius:999px!important;box-shadow:none!important;min-height:38px}
.language-current{color:inherit!important}
.language-menu{background:#fff!important;border:1px solid var(--df-line)!important;box-shadow:0 18px 48px rgba(13,14,28,0.0902)!important;border-radius:16px!important;color:var(--df-ink)!important;overflow:auto;max-height:70vh}
.language-option{color:var(--df-muted)!important;border-radius:8px}
.language-option:hover,.language-option.is-active{background:var(--df-surface)!important;color:var(--df-deep)!important}
.shell{width:min(1280px,calc(100% - 64px))}
.section-head{margin-bottom:20px}
.section-title{color:var(--df-ink)!important;font-weight:700;letter-spacing:-.035em;font-size:clamp(20px,2.3vw,30px)}
.section-title::before,.section-title::after{background:var(--df-primary)!important;box-shadow:none!important}
.section-note,.small-note,.empty-state{color:var(--df-subtle)!important}
.resource-section,.gallery-section{background:none!important;border-color:var(--df-line)!important}
.resource-card{background:#fff!important;color:var(--df-ink)!important;border:1px solid var(--df-line)!important;border-radius:18px!important;box-shadow:0 4px 16px rgba(13,14,28,0.0157)!important;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease!important}
.resource-card:hover{transform:translateY(-3px);border-color:var(--df-ice)!important;box-shadow:0 14px 36px rgba(13,14,28,0.0627)!important}
.resource-card::before,.resource-card::after{display:none!important}
.resource-title{color:var(--df-ink)!important;font-weight:700!important}
.resource-main{min-width:0}
.resource-main p,.resource-summary{color:var(--df-subtle)!important}
.resource-icon,.resource-icon.type-pdf,.resource-icon.type-link,.resource-icon.type-announcement,.type-badge{background:var(--df-surface)!important;color:var(--df-primary)!important;border:0!important;border-radius:13px!important;box-shadow:none!important;filter:none!important}
.resource-icon svg{filter:none!important;animation:none!important}
.resource-action{color:var(--df-primary)!important;border-color:var(--df-line)!important;background:var(--df-surface)!important;border-radius:999px!important}
.card-list{gap:14px!important}
.gallery-item{background:#fff!important;border:1px solid var(--df-line)!important;border-radius:18px!important;box-shadow:0 8px 24px rgba(13,14,28,0.0353)!important}
.gallery-item::before,.gallery-item::after{display:none!important}
.gallery-caption{background:#fff!important;color:var(--df-muted)!important;border-color:var(--df-line)!important}
.media-pinned-zigline{opacity:.2;filter:grayscale(1)}
.media-boundary-wrap{--boundary-color:var(--df-primary)}
.hero-carousel,.carousel-frame{border-radius:24px!important;border-color:var(--df-line)!important;background:var(--df-surface)!important;box-shadow:0 20px 60px rgba(13,14,28,0.0627)!important}
.carousel-dot{background:var(--df-ice)!important;box-shadow:none!important}
.carousel-dot.is-active{background:var(--df-primary)!important}
.play-chip{background:var(--df-primary)!important;color:#fff!important;border:1px solid #ffffff8a!important;box-shadow:0 6px 24px rgba(74,76,196,0.1882)!important}
.bottom-nav-wrap{background:linear-gradient(0deg,#ffffffee 25%,#ffffff00)!important;padding-bottom:max(18px,env(safe-area-inset-bottom))!important}
.bottom-nav{background:#fffffff5!important;border:1px solid var(--df-line)!important;border-radius:24px!important;padding:6px!important;box-shadow:0 10px 40px rgba(13,14,28,0.0706)!important;backdrop-filter:blur(18px)}
.bottom-nav::before,.bottom-nav::after,.nav-orb::before,.nav-orb::after{display:none!important}
.bottom-nav-link{color:var(--df-subtle)!important;background:none!important;border-radius:18px!important;filter:none!important;box-shadow:none!important;text-shadow:none!important}
.bottom-nav-link.is-active,.bottom-nav-link[aria-current=page]{color:#fff!important;background:var(--df-primary)!important}
.bottom-nav-link:hover{color:var(--df-deep)!important;background:var(--df-surface)!important}
.bottom-nav-link.is-active:hover{color:#fff!important;background:var(--df-deep)!important}
.nav-orb{background:none!important;border:0!important;box-shadow:none!important;filter:none!important;color:inherit!important}
.nav-orb svg,.nav-label{color:inherit!important;filter:none!important;text-shadow:none!important}
.nav-orb svg{width:22px!important;height:22px!important}
.nav-label{font-size:11px!important;font-weight:500!important;letter-spacing:.02em}
.home-announcement-carousel{background:var(--df-surface)!important;border:1px solid var(--df-line)!important;border-radius:20px!important;box-shadow:none!important}
.home-announcement-carousel::before,.home-announcement-carousel::after{display:none!important}
.home-announcement-icon{background:var(--df-tint)!important;color:var(--df-primary)!important;box-shadow:none!important}
.home-announcement-title{color:var(--df-ink)!important}
.home-announcement-meta,.home-announcement-action{color:var(--df-primary)!important}
.home-announcement-summary{color:var(--df-subtle)!important}
.home-announcement-dot{background:var(--df-line)!important}
.home-announcement-dot.is-active{background:var(--df-primary)!important;box-shadow:none!important}
.announcement-panel,.announcement-card,.announcement-detail,.tweet-card,.twitter-profile-card,.twitter-tabs,.tweet-text-panel{background:#fff!important;border-color:var(--df-line)!important;color:var(--df-ink)!important;box-shadow:0 10px 30px rgba(13,14,28,0.0314)!important;border-radius:18px!important}
.announcement-card::before,.announcement-card::after{display:none!important}
.announcement-title,.announcement-card-title,.tweet-author,.twitter-profile-name{color:var(--df-ink)!important}
.announcement-meta,.announcement-summary,.tweet-time,.tweet-content,.twitter-profile-desc{color:var(--df-subtle)!important}
.announcement-tab,.twitter-tab{color:var(--df-subtle)!important;background:var(--df-surface)!important;border-color:var(--df-line)!important}
.announcement-tab.is-active,.twitter-tab.is-active{color:var(--df-primary)!important;background:var(--df-tint)!important}
.toast{background:var(--df-nightCard)!important;color:#fff!important;border:1px solid var(--df-muted)!important;border-radius:999px!important;box-shadow:0 8px 32px rgba(13,14,28,0.2000)!important}
.image-viewer,.video-overlay{background:rgba(8,8,38,0.9294)!important}
.video-overlay :is(button,.video-control){color:#fff}
.image-viewer img,.video-overlay video{border-radius:12px}
.academy-clone-frame,.academy-clone-shell{background:#fff!important;border-color:var(--df-line)!important}
/* All admin controls keep their original keys, inputs, handlers and persistence. */
.admin-app{background:var(--df-surface)!important}
.admin-panel{background:#fff!important;border-color:var(--df-line)!important}
.admin-panel-inner{padding:20px!important;gap:18px!important}
.admin-title{color:var(--df-ink)!important;font-size:17px!important;font-weight:700!important;letter-spacing:-.04em}
.admin-section{background:var(--df-surface)!important;border:1px solid var(--df-line)!important;border-radius:16px!important;padding:14px!important;box-shadow:none!important}
.admin-section-title{color:var(--df-muted)!important;font-size:11px!important;font-weight:700!important;letter-spacing:.04em}
.admin-stage{background:var(--df-surface)!important}
.stage-toolbar{background:#ffffffee!important;border-color:var(--df-line)!important;backdrop-filter:blur(14px)}
.stage-title{color:var(--df-muted)!important}
.admin-tab-button,.lang-row,.lang-manage,.lang-toggle-button,.lang-delete-button{background:#fff!important;border-color:var(--df-line)!important;color:var(--df-muted)!important;border-radius:10px!important;box-shadow:none!important}
.admin-tab-button.is-active,.admin-tab-button[aria-current=true],.lang-row.is-lang-editing{background:var(--df-primary)!important;color:#fff!important;border-color:var(--df-primary)!important}
.lang-row.is-lang-editing :is(button,.lang-row-label){color:#fff!important}
.admin-tab-button:hover{background:var(--df-surface)!important;color:var(--df-primary)!important}
.lang-row-label,.lang-tag{color:inherit!important}
.lang-row-label{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px!important}
.lang-row-actions{gap:4px!important}
.lang-toggle-button,.lang-delete-button{padding:5px 7px!important;font-size:10px!important;min-height:28px!important}
.lang-tag{white-space:nowrap!important;font-size:9px!important;padding:4px 6px!important}
.lang-row.is-lang-editing :is(.lang-tag,.lang-row-actions button){background:#ffffff24!important;color:#fff!important;border-color:#ffffff38!important}
.primary-button,.admin-login-submit{background:var(--df-primary)!important;border:1px solid var(--df-primary)!important;border-radius:11px!important;color:#fff!important;box-shadow:0 6px 16px rgba(74,76,196,0.0941)!important;text-shadow:none!important}
.primary-button:hover,.admin-login-submit:hover{background:var(--df-deep)!important}
.ghost-button,.control-button{background:#fff!important;border:1px solid var(--df-line)!important;border-radius:10px!important;color:var(--df-muted)!important;box-shadow:none!important}
.ghost-button:hover{background:var(--df-surface)!important;color:var(--df-primary)!important;border-color:var(--df-line)!important}
.status-pill{background:var(--df-surface)!important;color:var(--df-primary)!important;border-color:var(--df-line)!important;box-shadow:none!important}
.status-dot{background:var(--df-primary)!important;box-shadow:none!important}
.preview-frame{background:#fff!important;border-color:var(--df-line)!important;border-radius:20px!important;box-shadow:0 12px 40px rgba(13,14,28,0.0627)!important}
.field>span,.field-label,.admin-subtitle,.inspector-readonly{color:var(--df-subtle)!important}
.control-input,.control-textarea,.control-select,.field input,.field textarea,.field select{color:var(--df-ink)!important;background:#fff!important;border-color:var(--df-line)!important;border-radius:9px!important;box-shadow:none!important}
.control-input:focus,.control-textarea:focus,.control-select:focus{border-color:var(--df-primary)!important;box-shadow:0 0 0 3px rgba(74,76,196,0.0706)!important}
.toggle-line{color:var(--df-muted)!important}
.admin-resizer{background:var(--df-line)!important}
.admin-resizer:hover,.admin-resizer.is-dragging{background:var(--df-primary)!important}
.asset-drop-zone,.language-share-drop-zone,.upload-progress-panel{background:var(--df-surface)!important;border-color:var(--df-ice)!important;color:var(--df-muted)!important;border-radius:12px!important}
.asset-drop-zone.is-drag-over,.language-share-drop-zone.is-drag-over{background:var(--df-tint)!important;border-color:var(--df-primary)!important}
.upload-spinner{border-color:var(--df-line)!important;border-top-color:var(--df-primary)!important}
.upload-progress-track,.video-cover-upload-progress progress{background:var(--df-line)!important;accent-color:var(--df-primary)!important}
.upload-progress-track>div,.video-cover-upload-progress progress::-webkit-progress-value{background:var(--df-primary)!important}
.video-cover-upload-hud,.video-cover-upload-progress{background:#fff!important;border-color:var(--df-line)!important;color:var(--df-muted)!important;box-shadow:0 10px 36px rgba(13,14,28,0.1020)!important}
.video-cover-progress-detail{color:var(--df-subtle)!important}
.sort-handle{color:var(--df-subtle)!important;background:#ffffffd9!important;border-color:var(--df-line)!important;box-shadow:none!important}
.admin-login-screen{background:radial-gradient(ellipse at 50% 10%,var(--df-tint),transparent 65%),var(--df-surface)!important}
#adminApp:has(>.admin-login-screen){display:block!important}
.admin-login-screen{width:100%;min-height:100dvh}
.admin-login-card{background:#fff!important;border:1px solid var(--df-line)!important;box-shadow:0 24px 80px rgba(13,14,28,0.0863)!important;border-radius:24px!important;padding:36px!important}
.admin-login-title{color:var(--df-ink)!important;font-size:21px!important}
.admin-login-subtitle{color:var(--df-subtle)!important}
.admin-login-title::before{content:'';display:block;background:url('/assets/dolphfi/logo-dark.svg?brand=df1-20261012-r30') left center/contain no-repeat;width:155px;height:38px;margin-bottom:26px}
@media(min-width:1000px){.card-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))}.resource-card{min-height:96px!important;padding:18px!important}.resource-section,.gallery-section{margin-top:40px!important}.carousel-shell{padding-top:28px!important}.bottom-nav{max-width:560px!important}}
@media(max-width:700px){:root{--topbar-h:68px}.topbar{padding:12px 18px!important;gap:8px!important}.brand{gap:9px!important}.brand-logo{width:108px!important}.brand-title{font-size:12px!important;padding-left:9px!important}.top-actions{gap:7px!important}.language-trigger{min-height:34px!important;padding:6px 10px!important;font-size:11px!important}.language-trigger .ui-icon{width:14px!important;height:14px!important}.topbar-entry-link{font-size:10px!important;padding:7px 10px!important}.topbar-library-link{display:none!important}.shell{width:calc(100% - 32px)!important}.section-title{font-size:22px!important}.resource-card{border-radius:15px!important}.gallery-item{border-radius:13px!important}.hero-carousel,.carousel-frame{border-radius:18px!important}.bottom-nav{width:calc(100% - 32px)!important;border-radius:20px!important}.bottom-nav-link{border-radius:14px!important}.nav-orb svg{width:20px!important;height:20px!important}.nav-label{font-size:10px!important}.bottom-nav-wrap{padding-bottom:max(12px,env(safe-area-inset-bottom))!important}.admin-panel-inner{padding:12px!important}.admin-login-card{padding:26px!important}.admin-title{font-size:14px!important}}
@media(prefers-reduced-motion:reduce){.resource-card,.gallery-item,button{transition:none!important}}
@media(max-width:900px){body[data-page=admin]{overflow:auto!important}.admin-app{height:auto!important;min-height:100dvh!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto!important}.admin-panel{overflow:visible!important;max-height:none!important;min-width:0}.admin-stage{overflow:visible!important;min-height:70dvh!important}.admin-inspector{display:block!important;border-top:1px solid var(--df-line)}.admin-resizer{display:none!important}.stage-toolbar{padding:12px!important;flex-wrap:wrap!important;gap:8px!important}.stage-actions{flex-wrap:wrap!important}.preview-frame{width:calc(100% - 24px)!important}.academy-manager-frame{min-height:820px!important}}
.empty-state{background:var(--df-surface)!important;color:var(--df-subtle)!important;border:1px solid var(--df-line)!important;border-radius:20px!important;box-shadow:none!important;opacity:1!important;padding:48px 24px!important}
.card-list>.empty-state{grid-column:1/-1}
.home-announcement-carousel:not(:has([data-home-announcement-card])),.carousel-shell:not(:has(.hero-carousel,[data-home-announcement-card])){display:none!important}
.ghost-button,.control-button,.language-trigger,.topbar-entry-link{background:var(--df-primary)!important;color:#fff!important;border-color:var(--df-primary)!important}
.ghost-button:hover,.control-button:hover,.language-trigger:hover,.topbar-entry-link:hover{background:var(--df-deep)!important;color:#fff!important}
.topbar-entry-link .topbar-entry-link-inner{color:#fff!important;-webkit-text-fill-color:#fff!important}
.topbar-entry-link::before,.topbar-entry-link::after,.topbar-entry-link-inner::before,.topbar-entry-link-inner::after{display:none!important;background:none!important;animation:none!important}
.topbar-entry-link.is-flowing{animation:none!important;box-shadow:none!important;filter:none!important}

/* Empty, loading and mirror states use the same light surfaces. */
.twitter-hero,.twitter-column,.twitter-boundary{background:#fff!important;border-color:var(--df-line)!important;color:var(--df-muted)!important;box-shadow:0 8px 28px rgba(13,14,28,0.0314)!important;border-radius:18px!important}
.twitter-loading,.twitter-error,.twitter-empty,.twitter-api-note,.announcement-empty,.announcement-loading{background:var(--df-surface)!important;color:var(--df-subtle)!important;border:1px solid var(--df-line)!important;box-shadow:none!important;border-radius:18px!important}
.twitter-avatar{background:var(--df-surface)!important;border-color:var(--df-line)!important;box-shadow:none!important}
.twitter-profile-main h2,.tweet-metric strong,.twitter-boundary strong{color:var(--df-ink)!important}
.twitter-profile-main p,.twitter-boundary p,.tweet-metric span{color:var(--df-subtle)!important}
.tweet-kind,.tweet-pinned-badge{color:var(--df-primary)!important}
.twitter-column-head{background:var(--df-surface)!important;color:var(--df-muted)!important;border-color:var(--df-line)!important}
.twitter-profile-metrics .tweet-metric,.twitter-summary-grid .tweet-metric{background:var(--df-surface)!important;border-color:var(--df-line)!important}
.tweet-text{color:var(--df-ink)!important}

.twitter-hero::before,.twitter-hero::after,.twitter-summary-grid .tweet-metric::before,.twitter-summary-grid .tweet-metric::after{display:none!important}
.twitter-summary-grid .tweet-metric{box-shadow:none!important}
.twitter-boundary span,.twitter-column-head>span:last-child{color:var(--df-subtle)!important}
.tweet-kind,.tweet-pinned-badge{background:var(--df-tint)!important;border-color:var(--df-line)!important}
.twitter-side-panel{box-shadow:none!important}
.video-subtab{background:var(--df-primary)!important;color:#fff!important;border-color:var(--df-primary)!important;box-shadow:none!important}
.video-subtab[aria-current="page"]{background:var(--df-deep)!important;color:#fff!important}
.video-subtab[aria-current="page"] .ui-icon{color:#fff!important}
.video-tile-caption{background:#fff!important;border-color:var(--df-line)!important}
.video-tile-title{color:var(--df-ink)!important}.video-tile-summary{color:var(--df-subtle)!important}
.video-tile-play{background:var(--df-primary)!important;color:#fff!important;border-color:var(--df-primary)!important}
.announcement-coming-soon,.announcement-coming-soon h1{background:#fff!important;color:var(--df-ink)!important;border-color:var(--df-line)!important}

/* Native library video controls: appearance only; retain sizing, gestures and handlers. */
.video-player-overlay{background:var(--df-night)!important}
.video-player-controls{background:#ffffffef!important;border-color:var(--df-line)!important;box-shadow:0 10px 32px rgba(13,14,28,0.1333)!important}
.video-player-play-button,.video-player-close,.video-player-copy,.video-player-landscape-action{background:var(--df-primary)!important;color:#fff!important;border-color:var(--df-primary)!important;box-shadow:0 6px 20px rgba(13,14,28,0.1333)!important}
.video-player-play-button{border-radius:22px!important}
.video-player-landscape-action{font-weight:600!important}
.video-player-play-button svg,.video-player-close svg,.video-player-copy svg,.video-player-landscape-icon svg{display:none!important}
.video-player-play-button::before,.video-player-close::before,.video-player-copy::before,.video-player-landscape-icon::before{content:'';display:block;width:24px;height:24px;background-position:center;background-size:contain;background-repeat:no-repeat;pointer-events:none}
.video-player-play-button::before{width:32px;height:32px;background-image:url('/assets/dolphfi/icons/control-play.svg')}
.video-player-close::before{background-image:url('/assets/dolphfi/icons/control-close.svg')}
.video-player-close[aria-label="Exit landscape fullscreen"]::before{background-image:url('/assets/dolphfi/icons/control-fullscreen-exit.svg')}
.video-player-copy::before{background-image:url('/assets/dolphfi/icons/control-copy.svg')}
.video-player-landscape-icon::before{width:18px;height:18px;background-image:url('/assets/dolphfi/icons/control-fullscreen.svg')}
.video-player-progress{accent-color:var(--df-primary)!important}
.video-player-progress::-webkit-slider-runnable-track{background:linear-gradient(var(--df-primary),var(--df-primary)) 0/var(--progress) 100% no-repeat,var(--df-line)!important}
.video-player-progress::-webkit-slider-thumb{background:var(--df-primary)!important;box-shadow:none!important}
.video-player-progress::-moz-range-track{background:var(--df-line)!important}
.video-player-progress::-moz-range-progress,.video-player-progress::-moz-range-thumb{background:var(--df-primary)!important;box-shadow:none!important}
.video-player-spinner{border-color:#ffffff40!important;border-top-color:var(--df-primary)!important;box-shadow:none!important}
.video-player-copy-status{background:#fff!important;color:var(--df-muted)!important;border-color:var(--df-line)!important;box-shadow:0 8px 24px rgba(13,14,28,0.1333)!important}

/* Shared native confirmations keep their original actions and validation. */
.publish-confirm-overlay,.x-redirect-overlay{background:rgba(13,14,28,0.4000)!important;padding:24px!important}
.publish-confirm-dialog,.x-redirect-dialog{background:#fff!important;color:var(--df-ink)!important;border:1px solid var(--df-line)!important;box-shadow:0 24px 80px rgba(13,14,28,0.2000)!important;max-height:calc(100dvh - 48px)!important;overflow:auto!important;overflow-wrap:anywhere}
.publish-confirm-title{color:var(--df-ink)!important;line-height:1.5}
.publish-confirm-sub,.publish-confirm-empty,.x-redirect-text{color:var(--df-muted)!important;opacity:1!important;line-height:1.65}
.publish-confirm-list li{background:var(--df-surface)!important;color:var(--df-muted)!important;border-radius:8px;line-height:1.55;overflow-wrap:anywhere}
.publish-change-add{border-left-color:var(--df-success)!important}.publish-change-edit{border-left-color:var(--df-primary)!important}.publish-change-remove{border-left-color:var(--df-danger)!important}
.publish-confirm-actions,.x-redirect-actions{flex-wrap:wrap!important;gap:10px!important;margin-top:20px}
.publish-confirm-actions button,.x-redirect-actions button{min-height:44px;min-width:82px;font-size:14px!important;background:var(--df-primary)!important;color:#fff!important;border:1px solid var(--df-primary)!important;border-radius:11px!important;opacity:1}
.publish-confirm-actions button:hover,.x-redirect-actions button:hover{background:var(--df-deep)!important}
.publish-confirm-dialog .lang-add-fields label{color:var(--df-muted)!important}
.lang-add-error{color:var(--df-danger)!important}
.asset-drop-zone :is(strong,span),.language-share-drop-zone>span{color:var(--df-muted)!important;opacity:1!important}
.language-share-image-preview{background:var(--df-surface)!important;border-color:var(--df-line)!important;color:var(--df-muted)!important}
.upload-progress-hud{background:#fffffff5!important;border-color:var(--df-ice)!important;color:var(--df-muted)!important;box-shadow:0 12px 36px rgba(13,14,28,0.1020)!important}
.upload-progress-copy :is(strong,span){color:var(--df-muted)!important}
.upload-progress-track>span{background:var(--df-primary)!important;box-shadow:none!important}
.upload-spinner{border-right-color:var(--df-ice)!important}
.video-cover-upload-progress progress::-moz-progress-bar{background:var(--df-primary)!important}
.video-cover-upload-progress progress:indeterminate{background:linear-gradient(90deg,transparent 30%,var(--df-primary) 50%,transparent 70%) var(--df-line)!important;background-size:220% 100%!important}
.sort-placeholder{background:var(--df-surface)!important;border-color:var(--df-primary)!important;box-shadow:0 0 0 2px rgba(74,76,196,0.1020)!important}
.sort-placeholder span{color:var(--df-muted)!important;text-shadow:none!important}
.sort-placeholder::before,.sort-placeholder::after{background:var(--df-primary)!important;box-shadow:none!important}
.resource-card.is-selected,.video-slide.is-selected,.gallery-item.is-selected{outline-color:var(--df-primary)!important;border-color:var(--df-primary)!important;box-shadow:0 0 0 2px rgba(74,76,196,0.2000)!important}
body[data-page=admin] .lang-row.is-lang-editing .lang-tag-base{background:var(--df-deep)!important;border-color:var(--df-deep)!important}
.control-input::placeholder,.control-textarea::placeholder,.field input::placeholder,.field textarea::placeholder{color:var(--df-muted)!important;opacity:1!important}
.section-note,.small-note,.empty-state,.field>span,.field-label,.admin-subtitle,.inspector-readonly,.admin-login-subtitle,.video-cover-progress-detail{color:var(--df-muted)!important;opacity:1!important}
.bottom-nav-link:not(.is-active):not([aria-current=page]){color:var(--df-muted)!important}
@media(max-width:700px){.publish-confirm-overlay,.x-redirect-overlay{padding:16px!important}.publish-confirm-dialog,.x-redirect-dialog{padding:20px!important;max-height:calc(100dvh - 32px)!important}.publish-confirm-actions button,.x-redirect-actions button{flex:1 1 auto}.publish-confirm-title{font-size:18px!important}}

/* R16: PDF and link rows span the content area; PDF retains its red document identity. */
.card-list>.resource-card:has(>.resource-icon.type-pdf),
.card-list>.resource-card:has(>.resource-icon.type-link){grid-column:1/-1}
.resource-icon.type-pdf,.type-badge.type-pdf{background:#fff1f2!important;color:#e53935!important}
.pdf-resource-icon img{filter:none!important}

/* Unified button feedback; CSS only, original click/drag handlers and transforms remain intact. */
html:root body :is(button,[role="button"],input[type="button"],input[type="submit"],input[type="reset"],a[class*="button"],a[class*="btn"],a.topbar-entry-link,a.topbar-dapp-link,a.bottom-nav-link,a.hcs-portable-academy-home,.language-option,.carousel-dot,.home-announcement-dot,.academy-hppt-dropzone label):not(:disabled):not([disabled]):not([aria-disabled="true"]):not([data-disabled="true"]){cursor:pointer;transition:background-color .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease,filter .16s ease,scale .1s ease,transform .16s ease,opacity .16s ease!important;-webkit-tap-highlight-color:transparent}
@media(hover:hover) and (pointer:fine){
html:root body :is(button,[role="button"],input[type="button"],input[type="submit"],input[type="reset"],a[class*="button"],a[class*="btn"],a.topbar-entry-link,a.topbar-dapp-link,a.bottom-nav-link,a.hcs-portable-academy-home,.language-option,.carousel-dot,.home-announcement-dot,.academy-hppt-dropzone label):not(:disabled):not([disabled]):not([aria-disabled="true"]):not([data-disabled="true"]):hover{filter:brightness(.94) saturate(1.08)!important;box-shadow:0 5px 14px rgba(74,76,196,0.1686)!important}
}
html:root body :is(button,[role="button"],input[type="button"],input[type="submit"],input[type="reset"],a[class*="button"],a[class*="btn"],a.topbar-entry-link,a.topbar-dapp-link,a.bottom-nav-link,a.hcs-portable-academy-home,.language-option,.carousel-dot,.home-announcement-dot,.academy-hppt-dropzone label):not(:disabled):not([disabled]):not([aria-disabled="true"]):not([data-disabled="true"]):active{filter:brightness(.86) saturate(1.06)!important;scale:.97!important;box-shadow:inset 0 2px 5px rgba(13,14,28,0.2000)!important;transition-duration:.06s!important}
html:root body :is(button,[role="button"],input[type="button"],input[type="submit"],input[type="reset"],a[class*="button"],a[class*="btn"],a.topbar-entry-link,a.topbar-dapp-link,a.bottom-nav-link,a.hcs-portable-academy-home,.language-option,.carousel-dot,.home-announcement-dot,.academy-hppt-dropzone label):not(:disabled):not([disabled]):not([aria-disabled="true"]):not([data-disabled="true"]):focus-visible{outline:2px solid var(--df-primary)!important;outline-offset:3px!important}
html:root body :is(button,[role="button"],input[type="button"],input[type="submit"],input[type="reset"]):is(:disabled,[disabled],[aria-disabled="true"],[data-disabled="true"]){cursor:not-allowed!important}
@media(prefers-reduced-motion:reduce){
html:root body :is(button,[role="button"],input[type="button"],input[type="submit"],input[type="reset"],a[class*="button"],a[class*="btn"],a.topbar-entry-link,a.topbar-dapp-link,a.bottom-nav-link,a.hcs-portable-academy-home,.language-option,.carousel-dot,.home-announcement-dot,.academy-hppt-dropzone label):not(:disabled):not([disabled]):not([aria-disabled="true"]):not([data-disabled="true"]){transition:none!important}
html:root body :is(button,[role="button"],input[type="button"],input[type="submit"],input[type="reset"],a[class*="button"],a[class*="btn"],a.topbar-entry-link,a.topbar-dapp-link,a.bottom-nav-link,a.hcs-portable-academy-home,.language-option,.carousel-dot,.home-announcement-dot,.academy-hppt-dropzone label):not(:disabled):not([disabled]):not([aria-disabled="true"]):not([data-disabled="true"]):active{scale:1!important}
}

/* The supplied DolphFi dolphin silhouette replaces Home in both public navigation and admin preview. */
.bottom-nav-link.is-home-nav .ui-icon>svg{display:none!important}
.bottom-nav-link.is-home-nav .ui-icon{display:inline-flex;color:inherit}
.bottom-nav-link.is-home-nav .ui-icon::before{content:"";display:block;width:24px;height:24px;background:currentColor;mask:url('/assets/dolphfi/home-dolphin.svg') center/contain no-repeat;-webkit-mask:url('/assets/dolphfi/home-dolphin.svg') center/contain no-repeat}

/* Compact trigger codes; the original dropdown shows full language names. */
.language-trigger{min-width:54px!important;gap:5px!important;padding-inline:10px!important}
.language-current{font-weight:600;letter-spacing:.04em}


/* DolphFi white/indigo reference palette. Shared by public pages and admin preview. */
.tweet-action-metric,.tweet-action-metric strong{color:var(--df-muted)!important;opacity:1!important;text-shadow:none!important}
.tweet-action-icon{color:var(--df-primary)!important;opacity:1!important;filter:none!important}
.tweet-card::before{background:var(--df-primary)!important;box-shadow:none!important}
.tweet-time,.tweet-card-top{color:var(--df-muted)!important;text-shadow:none!important}
.tweet-text,.tweet-content{color:var(--df-ink)!important}
.tweet-text a,.tweet-content a{color:var(--df-primary)!important}
.tweet-like-btn{background:transparent!important;color:var(--df-muted)!important}
.tweet-like-btn:hover{background:var(--df-tint)!important}
.tweet-like-btn:hover .tweet-action-icon{color:var(--df-deep)!important}
.tweet-like-btn.is-liked .tweet-action-icon,.tweet-like-btn.is-liked strong{color:#F0384B!important}
.tweet-like-btn.is-liked .tweet-action-icon svg{fill:#F0384B!important}
.twitter-summary-grid .tweet-metric strong{color:var(--df-ink)!important;text-shadow:none!important}
.twitter-summary-grid .tweet-metric span{color:var(--df-muted)!important}
.tweet-media,.tweet-media-image,.tweet-media-video{border-color:var(--df-line)!important;background:var(--df-surface)!important}
.announcement-detail :is(h1,h2,h3,p),.announcement-body{color:var(--df-ink)!important}
.announcement-detail a,.announcement-body a{color:var(--df-primary)!important}
.video-subtabs{background:var(--df-surface)!important;border-color:var(--df-line)!important;box-shadow:none!important}
.video-subtabs::before,.video-subtabs::after{background:none!important;box-shadow:none!important}
.twitter-hero,.admin-app,.admin-stage{background:var(--df-surface)!important}
.toast{background:linear-gradient(135deg,var(--df-nightCard),var(--df-night))!important;border-color:var(--df-deep)!important}
.admin-login-error,.lang-add-error{color:var(--df-danger)!important}
.verified-dot{background:var(--df-primary)!important;color:#fff!important;box-shadow:none!important}
.empty-state button{background:var(--df-primary)!important;color:#fff!important;border:1px solid var(--df-primary)!important;border-radius:10px!important}
.carousel-frame::before{display:none!important}
.video-slide::after{background:linear-gradient(180deg,transparent 26%,rgba(8,8,38,.28) 48%,rgba(8,8,38,.9) 100%),linear-gradient(90deg,rgba(8,8,38,.62),transparent 58%)!important}
.lang-add-form{background:var(--df-surface)!important;border-color:var(--df-line)!important}
.lang-row.is-drop-before{box-shadow:inset 0 2px 0 var(--df-primary)!important}
.lang-row.is-drop-after{box-shadow:inset 0 -2px 0 var(--df-primary)!important}
.media-pinned-zigline{stroke:var(--df-primary)!important;filter:none!important}
.video-cover-remove{background:var(--df-primary)!important;color:#fff!important;border-color:var(--df-primary)!important}
.video-cover-remove:hover{background:var(--df-deep)!important}
.video-cover-progress-name{color:var(--df-ink)!important}
.video-cover-progress-detail{color:var(--df-muted)!important}
.video-cover-upload-progress progress::-webkit-progress-bar{background:var(--df-line)!important}
/* News is an isolated channel: editorial layout, shared white/indigo tokens. */
.df-news{color:var(--df-ink);padding:38px 0 120px;--news-space:24px}
.df-news-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:30px}
.df-news-eyebrow,.df-news-kicker{font-size:11px;font-weight:700;letter-spacing:.14em;color:var(--df-primary);text-transform:uppercase}
.df-news-heading h1{font-size:clamp(32px,4vw,50px);letter-spacing:-.035em;line-height:1.1;margin:10px 0 13px;color:var(--df-ink)}
.df-news-heading p{font-size:15px;color:var(--df-muted);margin:0;line-height:1.7}
.df-news-edition{display:flex;align-items:center;gap:12px;font-size:11px;font-weight:600;letter-spacing:.09em;color:var(--df-muted);white-space:nowrap;padding-bottom:7px}
.df-news-edition-dot{width:7px;height:7px;background:var(--df-primary);border-radius:50%;box-shadow:0 0 0 5px var(--df-tint)}
.df-news-filters{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 16px;margin-bottom:12px;scrollbar-width:none}
.df-news .df-news-filter{border:1px solid var(--df-line)!important;border-radius:999px!important;background:#fff!important;color:var(--df-muted)!important;padding:10px 18px!important;font-size:13px;white-space:nowrap;cursor:pointer;transition:background .18s,color .18s,transform .18s,box-shadow .18s}
.df-news .df-news-filter[aria-pressed=true]{background:var(--df-primary)!important;color:#fff!important;border-color:var(--df-primary)!important;box-shadow:0 5px 16px #4a4cc41a}
.df-news .df-news-filter:hover{background:var(--df-tint)!important;color:var(--df-primary)!important;transform:translateY(-1px)}
.df-news .df-news-filter[aria-pressed=true]:hover{background:var(--df-deep)!important;color:#fff!important}
.df-news .df-news-filter:active{transform:scale(.97)}
.df-news-focus{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:var(--news-space);margin-bottom:40px}
.df-news-lead,.df-news-card,.df-news-focus-side,.df-news-reader{position:relative;border:1px solid var(--df-line);border-radius:22px;background:#fff;overflow:hidden}
.df-news-lead>a,.df-news-card-link,.df-news-side-story>a{display:block;color:inherit;text-decoration:none!important}
.df-news-lead,.df-news-card{transition:transform .2s,box-shadow .2s,border-color .2s}
.df-news-lead:hover,.df-news-card:hover{transform:translateY(-3px);border-color:#a3a4dc;box-shadow:0 16px 36px #0d0e1c0a}
.df-news-lead:active,.df-news-card:active{transform:translateY(0) scale(.995)}
.df-news-lead-image,.df-news-card-image{position:relative;overflow:hidden;background:var(--df-surface);aspect-ratio:1.9}
.df-news-lead-image img,.df-news-card-image img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .45s}
.df-news-lead:hover img,.df-news-card:hover img{transform:scale(1.025)}
.df-news .df-news-topic{position:absolute;left:20px;bottom:18px;background:#ffffffee;border:1px solid #fff;padding:6px 11px;border-radius:7px;color:var(--df-deep);font-size:11px;font-weight:600;backdrop-filter:blur(8px)}
.df-news-lead-body{padding:27px 29px}
.df-news-lead h2{font-size:clamp(22px,2.25vw,30px);font-weight:750;line-height:1.38;letter-spacing:-.02em;margin:10px 0 12px;color:var(--df-ink)}
.df-news-lead-body>p,.df-news-card-body>p{color:var(--df-muted);font-size:14px;line-height:1.75;margin:0 0 20px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.df-news-lead-footer{display:flex;align-items:center;justify-content:space-between;gap:12px}
.df-news-meta{display:flex;flex-wrap:wrap;align-items:center;gap:7px;color:var(--df-muted);font-size:11px;line-height:1.6}
.df-news-source{font-weight:600;color:var(--df-ink)}
.df-news-meta-dot{color:#adafbc}
.df-news svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.df-news-arrow{width:40px;height:40px;border-radius:50%;background:var(--df-tint);color:var(--df-primary);display:grid;place-items:center}
.df-news-focus-side{padding:26px;display:flex;flex-direction:column;background:linear-gradient(135deg,#fff,var(--df-surface))}
.df-news-focus-side>h2{font-size:15px;margin:0 0 10px;padding-bottom:20px;border-bottom:1px solid var(--df-line);letter-spacing:.015em}
.df-news-side-story{position:relative;padding:20px 0;border-bottom:1px solid var(--df-line)}
.df-news-side-story>a{display:flex;gap:15px;align-items:flex-start;transition:color .18s}
.df-news-side-story>a>div{flex:1;min-width:0}
.df-news-index{font-size:22px;color:#a3a4dc;font-weight:600;letter-spacing:-.04em;line-height:1.1}
.df-news-side-story h3{font-size:17px;line-height:1.5;margin:7px 0 14px;color:var(--df-ink);font-weight:650}
.df-news-side-story:hover h3{color:var(--df-primary)}
.df-news-side-story>a>svg{color:var(--df-primary);margin-top:2px;transition:transform .18s}
.df-news-side-story:hover>a>svg{transform:translateX(3px)}
.df-news-source-note{margin-top:auto;padding-top:25px;color:var(--df-muted);font-size:12px;line-height:1.8}
.df-news-section-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;gap:16px}
.df-news-section-row>span{color:var(--df-muted);font-size:12px}
.df-news-section-title{font-size:23px;letter-spacing:-.02em;margin:0;color:var(--df-ink)}
.df-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--news-space)}
.df-news-card-image{aspect-ratio:1.65}
.df-news-card-body{padding:22px}
.df-news-card h3{font-size:18px;font-weight:650;line-height:1.55;margin:11px 0 12px;color:var(--df-ink);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.df-news-card-body>p{font-size:13px;margin-bottom:18px}
.df-news-read{display:flex;align-items:center;justify-content:space-between;color:var(--df-primary);font-size:12px;font-weight:600}
.df-news-empty{padding:70px 20px;text-align:center;background:var(--df-surface);border:1px solid var(--df-line);border-radius:22px;line-height:1.8;color:var(--df-muted)}
.df-news-empty button{display:block;margin:20px auto 0}
.df-news-back{display:inline-flex;align-items:center;gap:10px;margin:0 0 30px;color:var(--df-primary)!important;font-size:14px;font-weight:600;padding:10px 0;transition:gap .18s}
.df-news-back svg{transform:rotate(180deg)}
.df-news-back:hover{gap:15px}
.df-news-detail{max-width:1060px;margin:auto}
.df-news-reader{margin-bottom:45px}
.df-news-reader-head{max-width:800px;margin:0 auto;padding:45px 35px 30px}
.df-news-reader h1{font-size:clamp(28px,3.1vw,42px);line-height:1.4;letter-spacing:-.025em;color:var(--df-ink);margin:0 0 23px}
.df-news-reader-image{margin:0 24px;position:relative}
.df-news-reader-image img{width:100%;height:auto;aspect-ratio:2.2;object-fit:cover;border-radius:15px;display:block}
.df-news-reader-image figcaption{font-size:10px;text-align:right;color:var(--df-muted);padding:10px 0}
.df-news-reader-text{max-width:800px;margin:auto;padding:25px 35px 38px}
.df-news-reader-text>p:not(.df-news-footnote){font-size:19px;line-height:1.95;color:var(--df-ink);margin:17px 0 32px;white-space:pre-line}
.df-news-origin{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid var(--df-line);padding-top:25px}
.df-news-origin>div{display:flex;flex-direction:column;gap:7px;font-size:14px}
.df-news-origin>div>span{font-size:11px;color:var(--df-muted)}
.df-news .df-news-original{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:13px 19px;border-radius:12px;color:#fff!important;background:var(--df-primary)!important;font-size:13px;font-weight:600;transition:background .2s,transform .2s,box-shadow .2s}
.df-news .df-news-original:hover{background:var(--df-deep)!important;transform:translateY(-2px);box-shadow:0 8px 20px #4a4cc422}
.df-news .df-news-original:active{transform:scale(.97)}
.df-news-footnote{font-size:12px;color:var(--df-muted);line-height:1.8;margin:22px 0 0}
.df-news-article-body{padding:18px 0 32px;color:var(--df-ink);font-size:17px;line-height:1.95;overflow-wrap:anywhere}
.df-news-article-body>p{margin:0 0 23px;color:var(--df-ink);font-size:inherit;line-height:inherit}
.df-news-article-body h2{font-size:23px;line-height:1.5;margin:32px 0 18px;letter-spacing:-.015em}
.df-news-article-body ul{padding-left:23px;margin:0 0 15px}
.df-news-article-body li{padding-left:4px}
.df-news-article-body blockquote{margin:25px 0;padding:20px 25px;background:var(--df-surface);border-left:3px solid var(--df-primary);border-radius:0 12px 12px 0}
.df-news-article-body figure{margin:28px 0}
.df-news-article-body figure img{display:block;width:100%;height:auto;border-radius:12px}
.df-news-article-body figcaption,.df-news-article-body .df-news-inline-caption{color:var(--df-muted);font-size:11px;line-height:1.7;margin-top:9px}
.df-news-card{content-visibility:auto;contain-intrinsic-size:auto 400px}
.df-news-body-loading{color:var(--df-muted)!important}
.df-news-article-body pre{overflow-x:auto;white-space:pre;background:var(--df-surface);border:1px solid var(--df-line);border-radius:12px;padding:18px;font-size:13px;line-height:1.7}
.df-news-table-wrap{overflow-x:auto;margin:25px 0}
.df-news-article-body table{border-collapse:collapse;width:100%;font-size:14px;min-width:400px}
.df-news-article-body td{border:1px solid var(--df-line);padding:12px;vertical-align:top}
@media(max-width:700px){.df-news-article-body{font-size:16px;line-height:1.95}.df-news-article-body h2{font-size:21px}.df-news-article-body blockquote{padding:16px 18px}}
.df-news-detail>.df-news-section-title{margin-bottom:23px}
.df-news .df-news-delete{position:relative;display:block;margin:0 22px 18px auto;padding:7px 13px!important;font-size:12px!important;border-radius:8px!important;cursor:pointer;background:var(--df-primary)!important;color:#fff!important;border:0!important;transition:background .18s,transform .18s,box-shadow .18s}
.df-news .df-news-delete:hover{background:var(--df-deep)!important;transform:translateY(-1px);box-shadow:0 5px 13px #4a4cc426}
.df-news .df-news-delete:active{transform:scale(.96)}
.df-news [data-news-retry]{padding:10px 18px;border-radius:10px;background:var(--df-primary)!important;color:#fff!important;border:0;cursor:pointer;transition:background .18s,transform .18s}
.df-news [data-news-retry]:hover{background:var(--df-deep)!important;transform:translateY(-1px)}
.df-news [data-news-retry]:active{transform:scale(.97)}
.df-news-side-story .df-news-delete{margin:10px 0 0 auto}
.df-news-reader-text .df-news-delete{margin:20px 0 0 auto}
.df-news-admin-source{display:flex;flex-direction:column;gap:5px;padding:11px 0;border-bottom:1px solid var(--df-line);font-size:12px}
.df-news-admin-source span{color:var(--df-muted)}
.df-news-admin-source .is-ok{color:var(--df-success)}
.df-news-admin-source .is-unavailable{color:var(--df-danger);overflow-wrap:anywhere}
.df-news-confirm{position:fixed!important;inset:0!important;z-index:5000!important;background:#0d0e1c66!important;backdrop-filter:blur(8px);display:grid!important;place-items:center;padding:20px}
.df-news-confirm .publish-confirm-dialog{background:#fff!important;border:1px solid var(--df-line)!important;border-radius:24px!important;max-width:560px;width:100%;padding:32px;box-shadow:0 24px 80px #0d0e1c22}
.df-news-confirm h2{font-size:23px;color:var(--df-ink)!important;margin:0 0 15px}
.df-news-confirm p{font-size:14px;line-height:1.8;color:var(--df-muted)!important}
.df-news-confirm .button-row{justify-content:flex-end;margin-top:22px}
@media(max-width:1050px){.df-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.df-news-focus{grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr)}.df-news-focus-side{padding:22px}.df-news-lead-body{padding:24px}.df-news-side-story h3{font-size:15px}}
@media(max-width:700px){.df-news{padding:24px 0 100px;--news-space:16px}.df-news-heading{margin-bottom:23px;align-items:flex-start}.df-news-heading h1{font-size:34px}.df-news-heading p{font-size:13px;max-width:250px}.df-news-eyebrow{font-size:9px}.df-news-edition{font-size:9px;gap:8px;padding-top:4px}.df-news-edition-dot{width:5px;height:5px}.df-news-focus{grid-template-columns:1fr;margin-bottom:30px}.df-news-lead-body{padding:22px}.df-news-lead h2{font-size:23px}.df-news-lead-image{aspect-ratio:1.65}.df-news-focus-side{padding:20px}.df-news-side-story{padding:17px 0}.df-news-side-story h3{font-size:16px}.df-news-source-note{font-size:11px;padding-top:16px}.df-news-grid{grid-template-columns:1fr}.df-news-card{display:flex;flex-direction:column}.df-news-card-image{aspect-ratio:2.1}.df-news-card-body{padding:20px}.df-news-card h3{font-size:18px}.df-news-filter{font-size:12px!important;padding:9px 15px!important}.df-news-reader-head{padding:26px 22px 23px}.df-news-reader h1{font-size:27px;line-height:1.45}.df-news-reader-image{margin:0 12px}.df-news-reader-image img{aspect-ratio:1.7;border-radius:11px}.df-news-reader-text{padding:22px}.df-news-reader-text>p:not(.df-news-footnote){font-size:17px;line-height:1.85}.df-news-origin{align-items:center}.df-news .df-news-original{padding:12px 15px;gap:8px}.df-news-back{margin-bottom:17px}.df-news-confirm .publish-confirm-dialog{padding:25px}}
@media(prefers-reduced-motion:reduce){.df-news *{transition:none!important;scroll-behavior:auto!important}}
/* News index: 3:1 full-width motion masthead, top-only topic controls, one story per row. */
.df-news-index{max-width:1080px;margin:0 auto;padding:22px 0 110px;--news-row-height:84px}
.df-news-banner{position:relative;isolation:isolate;width:100%;aspect-ratio:3/1;margin:0 auto 22px;border:1px solid var(--df-line);border-radius:24px;background:linear-gradient(115deg,#fff 12%,var(--df-surface) 100%);overflow:hidden}
.df-news-banner-copy{position:absolute;left:8%;top:50%;transform:translateY(-50%);z-index:1}
.df-news-banner h1{margin:0 0 8px;font-size:clamp(24px,3.4vw,42px);line-height:1.25;letter-spacing:.035em;color:var(--df-ink);font-weight:750}
.df-news-banner-copy p{margin:0;font-family:DFManrope,DFSans,sans-serif;font-size:clamp(13px,1.6vw,19px);font-weight:600;letter-spacing:.04em;color:var(--df-primary)}
.df-news-index .df-news-filters{justify-content:center;margin:0 0 14px;padding:3px 2px 4px;gap:7px}
.df-news-index .df-news-filter{padding:8px 15px!important;font-size:12px!important;min-height:36px}
.df-news-rows{display:grid;grid-template-columns:minmax(0,1fr);gap:9px}
.df-news-row{display:flex;align-items:center;gap:10px;min-width:0;height:var(--news-row-height,84px);padding:0 16px;border:1px solid var(--df-line);border-radius:15px;background:#fff;transition:background .18s,border-color .18s,box-shadow .18s}
.df-news-row:hover{border-color:var(--df-ice);background:#fafaff;box-shadow:0 4px 16px #0d0e1c04}
.df-news-row:active{background:var(--df-surface)}
.df-news-row-link{display:flex;align-items:center;gap:18px;flex:1;min-width:0;height:100%;color:inherit!important;text-decoration:none!important}
.df-news-row-image{display:flex;align-items:center;justify-content:center;flex:0 0 104px;width:104px;height:62px;background:var(--df-surface);padding:4px;border-radius:8px;overflow:visible}
.df-news .df-news-row-image img{display:block;width:auto!important;height:auto!important;max-width:100%;max-height:100%;object-fit:scale-down!important;aspect-ratio:auto!important;border-radius:0!important;transform:none!important;transition:none!important}
.df-news-row-copy{flex:1;min-width:0}
.df-news-row h3{margin:0 0 7px;font-size:15px;line-height:1.45;font-weight:650;letter-spacing:-.01em;color:var(--df-ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:color .18s}
.df-news-row:hover h3{color:var(--df-deep)}
.df-news-row .df-news-meta{font-size:10px;flex-wrap:nowrap;white-space:nowrap;overflow:hidden}
.df-news-row-arrow{color:var(--df-primary);display:grid;place-items:center;flex:0 0 28px;transition:transform .18s}
.df-news-row:hover .df-news-row-arrow{transform:translateX(3px)}
.df-news .df-news-row .df-news-delete{flex:0 0 auto;margin:0!important;font-size:11px!important;padding:7px 10px!important}
.df-news-pager{display:flex;justify-content:center;align-items:center;gap:20px;margin-top:12px;height:34px}
.df-news .df-news-pager button{display:grid;place-items:center;width:34px;height:34px;min-height:0;padding:0!important;border-radius:10px!important;border:1px solid var(--df-primary)!important;background:var(--df-primary)!important;color:#fff!important;cursor:pointer;transition:background .18s,transform .18s,box-shadow .18s}
.df-news-pager button:first-child svg{transform:rotate(180deg)}
.df-news .df-news-pager button:not(:disabled):hover{background:var(--df-deep)!important;border-color:var(--df-deep)!important;transform:translateY(-1px);box-shadow:0 5px 14px #4a4cc424}
.df-news .df-news-pager button:not(:disabled):active{transform:scale(.94)}
.df-news .df-news-pager button:disabled{background:var(--df-surface)!important;border-color:var(--df-line)!important;color:var(--df-subtle)!important;opacity:.55;cursor:default;transform:none!important;box-shadow:none!important}
.df-news-pager>span{display:flex;gap:9px;min-width:42px;justify-content:center;font-size:12px;font-variant-numeric:tabular-nums;color:var(--df-muted)}
.df-news-pager>span>span{color:var(--df-line-strong)}
.df-news-index .df-news-empty{padding:25px 16px;border-radius:15px;font-size:13px}
/* Publisher media is intrinsic-sized: it may shrink, but is never enlarged or cropped. */
.df-news img{animation:none!important;opacity:1!important;filter:none!important;transform:none!important}
.df-news-reader-image{display:flex;flex-direction:column;align-items:center}
.df-news .df-news-reader-image img,.df-news .df-news-article-body figure img{width:auto!important;height:auto!important;max-width:100%;aspect-ratio:auto!important;object-fit:contain!important;border-radius:0!important;transform:none!important;margin-left:auto;margin-right:auto}
.df-news-reader-image figcaption{align-self:flex-end}
@keyframes df-news-pulse{0%,100%{opacity:.35}50%{opacity:1}}
@keyframes df-news-float{0%,100%{transform:translateY(4px)}50%{transform:translateY(-5px)}}
@media(max-width:700px){.df-news-index{padding:15px 0 100px;--news-row-height:78px}.df-news-banner{border-radius:18px;margin-bottom:14px}.df-news-banner-copy{left:7%}.df-news-banner h1{font-size:25px;margin-bottom:5px}.df-news-banner-copy p{font-size:12px}.df-news-index .df-news-filters{justify-content:flex-start;margin-bottom:11px;gap:6px}.df-news-index .df-news-filter{padding:7px 12px!important;font-size:11px!important;min-height:33px}.df-news-row{padding:0 10px;border-radius:12px;gap:6px}.df-news-row-link{gap:11px}.df-news-row-image{flex-basis:65px;width:65px;height:48px;padding:3px}.df-news-row h3{font-size:13px;margin-bottom:5px}.df-news-row .df-news-meta{font-size:9px;gap:5px}.df-news-row-arrow{flex-basis:18px}.df-news-row-arrow svg{width:16px;height:16px}.df-news .df-news-row .df-news-delete{font-size:10px!important;padding:6px 7px!important}.df-news-rows{gap:7px}}
@media(prefers-reduced-motion:reduce){.df-news *,.df-news *::after{animation:none!important;transition:none!important}}

/* Ten-row incremental stream. Animate each row once, without scaling its publisher image. */
.df-news-row{content-visibility:auto;contain-intrinsic-size:auto 84px}
.df-news-row.is-news-pending{opacity:0}
.df-news-row.is-news-entering{animation:df-news-row-enter 360ms cubic-bezier(.22,1,.36,1) var(--news-enter-delay,0ms) both}
.df-news-more{display:flex;align-items:center;justify-content:center;min-height:50px;margin-top:18px;gap:12px}
.df-news-stream-status{font-size:11px;color:var(--df-subtle);letter-spacing:.02em}
.df-news .df-news-load-more{padding:9px 18px!important;border:1px solid var(--df-primary)!important;border-radius:999px!important;background:var(--df-primary)!important;color:#fff!important;font-size:12px!important;cursor:pointer;transition:background .18s,transform .18s}
.df-news .df-news-load-more:hover{background:var(--df-deep)!important;transform:translateY(-1px)}
.df-news .df-news-load-more:active{transform:scale(.96)}
.df-news-load-more[hidden]{display:none!important}
@keyframes df-news-row-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.df-news-row.is-news-pending{opacity:1}.df-news-row.is-news-entering{animation:none!important}}

/* ==== r38 refresh: rhythm, depth, motion and loading polish (presentation only; palette per spec) ==== */
:root{--df-ok-bg:#EDFAEA;--df-ok-line:#C3E9BF;--df-ok-ink:#1D6B33;--df-ok-mark:#2E9E4F;--df-alert-bg:#FFF2EF;--df-alert-line:#F6C6BC;--df-alert-ink:#B3261E;--df-alert-mark:#D93A2B;--df-ease:cubic-bezier(.22,1,.36,1);--df-shadow-1:0 1px 2px rgba(13,14,28,.04),0 6px 18px rgba(13,14,28,.045);--df-shadow-2:0 2px 6px rgba(13,14,28,.05),0 18px 44px rgba(42,37,131,.10);--df-ring:0 0 0 4px rgba(102,104,218,.16)}
body{text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
body{background:radial-gradient(60rem 26rem at 100% -6rem,rgba(228,232,255,.75),transparent 70%),radial-gradient(40rem 22rem at -10% 110%,rgba(228,232,255,.45),transparent 70%),#fff!important;background-attachment:fixed!important}
.topbar{background:rgba(255,255,255,.82)!important;backdrop-filter:saturate(1.6) blur(18px);-webkit-backdrop-filter:saturate(1.6) blur(18px);border-bottom-color:rgba(226,228,237,.8)!important}
.brand-title{letter-spacing:.01em!important}
/* Image placeholders: a soft indigo shimmer until bytes are decoded */
@keyframes df-shimmer{0%{background-position:-200% 0}100%{background-position:200% 0}}
.tweet-media img,.df-news .df-news-row-image{background:linear-gradient(100deg,#F5F6FC 30%,#ECEEFB 50%,#F5F6FC 70%) 0 0/200% 100%!important}
.tweet-media img:not(.is-loaded),.df-news-row-image:has(img:not(.is-loaded)){animation:df-shimmer 1.3s linear infinite}
.tweet-media img{opacity:0;transition:opacity .35s var(--df-ease)!important}
.tweet-media img.is-loaded{opacity:1}
/* Tweets: reserve layout from intrinsic size, cap very tall posters */
.tweet-media{gap:10px!important;margin:14px 0 6px!important}
.tweet-media img{display:block;width:100%!important;height:auto!important;max-height:min(560px,70vh);object-fit:cover!important;border:1px solid var(--df-line)!important;border-radius:14px!important}
.tweet-card{transition:box-shadow .25s var(--df-ease),transform .25s var(--df-ease),border-color .25s!important}
.tweet-card:hover{box-shadow:var(--df-shadow-2)!important;border-color:#D6DAF6!important}
.twitter-hero{box-shadow:var(--df-shadow-1)!important}
.twitter-summary-grid>*{transition:transform .2s var(--df-ease),box-shadow .2s!important}
.twitter-summary-grid>*:hover{transform:translateY(-2px);box-shadow:var(--df-shadow-1)!important}
/* News list: larger previews (original ratio, never cropped or enlarged), clearer hierarchy */
.df-news-index{--news-row-height:104px}
.df-news-rows{gap:12px!important}
.df-news-row{padding:0 18px!important;border-radius:18px!important;border-color:rgba(226,228,237,.9)!important;box-shadow:0 1px 2px rgba(13,14,28,.03);contain-intrinsic-size:auto 104px!important;transition:border-color .2s,box-shadow .25s var(--df-ease),transform .25s var(--df-ease),background .2s!important}
.df-news-row:hover{transform:translateY(-1px);box-shadow:var(--df-shadow-2)!important;border-color:#CDD2F5!important;background:#fff!important}
.df-news-row-link{gap:20px!important}
.df-news .df-news-row-image{flex:0 0 136px!important;width:136px!important;height:80px!important;padding:0!important;border-radius:12px!important;overflow:hidden!important}
.df-news .df-news-row-image img{opacity:0;transition:opacity .35s var(--df-ease)!important}
.df-news .df-news-row-image img.is-loaded,.df-news .df-news-row-image img[data-fallback]{opacity:1}
.df-news-row h3{font-size:16px!important;line-height:1.5!important;margin-bottom:8px!important;font-weight:700!important;letter-spacing:-.005em!important}
.df-news-row .df-news-meta{font-size:12px!important;gap:6px!important;color:var(--df-subtle)!important}
.df-news-row .df-news-source{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:999px;background:var(--df-tint);color:var(--df-deep)!important;font-weight:600;font-size:11px;letter-spacing:.01em}
.df-news-row-arrow{width:32px;height:32px;flex:0 0 32px!important;border-radius:50%;background:var(--df-surface);transition:background .2s,color .2s,transform .25s var(--df-ease)!important}
.df-news-row:hover .df-news-row-arrow{background:var(--df-primary);color:#fff!important}
.df-news-filters{gap:8px!important}
.df-news-filter{transition:background .2s,color .2s,border-color .2s,box-shadow .2s!important}
.df-news-banner{box-shadow:var(--df-shadow-1)!important}
/* Empty states */
.empty-state{background:linear-gradient(180deg,#fff,var(--df-surface))!important;border:1px dashed #D3D7F3!important;font-size:14px;letter-spacing:.02em}
/* Bottom navigation */
.bottom-nav{box-shadow:0 1px 2px rgba(13,14,28,.04),0 14px 40px rgba(42,37,131,.12)!important;border-color:rgba(226,228,237,.9)!important}
.bottom-nav-link[aria-current=page] .nav-orb svg{animation:df-nav-pop .42s var(--df-ease)}
@keyframes df-nav-pop{0%{transform:scale(.82)}60%{transform:scale(1.12)}100%{transform:scale(1)}}
.bottom-nav-link[aria-current=page]{box-shadow:0 6px 16px rgba(74,76,196,.32)!important}
/* Tab switch: brief, GPU-friendly fade */
.tab-body-shell{transition:opacity .18s ease,transform .22s var(--df-ease)}
.tab-body-shell.is-tab-switching{opacity:.0;transform:translateY(4px)}
/* Realm (秘境) preview */
.df-realm{position:relative;min-height:clamp(440px,70vh,760px);display:grid;place-content:center;justify-items:center;text-align:center;padding:clamp(84px,12vh,128px) 20px 120px;isolation:isolate}
.df-realm-stage{position:relative;width:clamp(180px,26vw,260px);aspect-ratio:1;display:grid;place-items:center;margin-bottom:calc(clamp(180px,26vw,260px)*.34 + 54px)}
.df-realm-glow{position:absolute;inset:-30%;border-radius:50%;background:radial-gradient(circle,rgba(102,104,218,.30),rgba(163,171,251,.16) 45%,transparent 70%);filter:blur(6px);z-index:-1;animation:df-realm-breathe 5s ease-in-out infinite}
.df-realm-ring{position:absolute;border-radius:50%;border:1px dashed rgba(74,76,196,.28);z-index:-1}
.df-realm-ring-a{inset:-14%;animation:df-realm-spin 36s linear infinite}
.df-realm-ring-b{inset:-28%;border-style:solid;border-color:rgba(163,171,251,.35);animation:df-realm-spin 60s linear infinite reverse}
.df-realm-star{position:absolute;width:10px;height:10px;background:var(--df-bright);clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);animation:df-realm-twinkle 2.8s ease-in-out infinite}
.df-realm-star-a{top:4%;left:6%}
.df-realm-star-b{top:18%;right:-6%;width:14px;height:14px;background:var(--df-ice);animation-delay:.9s}
.df-realm-star-c{bottom:6%;left:-4%;width:8px;height:8px;animation-delay:1.7s}
.df-realm-mascot{width:100%;height:auto;filter:drop-shadow(0 18px 36px rgba(42,37,131,.28));animation:df-realm-float 4.6s ease-in-out infinite}
.df-realm-kicker{margin:0 0 10px;display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;background:var(--df-tint);color:var(--df-deep);font-size:13px;font-weight:700;letter-spacing:.12em}
.df-realm-title{margin:0;font-size:clamp(26px,4.2vw,44px);line-height:1.2;font-weight:800;letter-spacing:.02em;color:var(--df-ink);background:linear-gradient(135deg,var(--df-deep),var(--df-primary) 55%,var(--df-bright));-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.df-realm-body{margin:14px 0 0;max-width:30em;color:var(--df-muted);font-size:15px;line-height:1.7}
.df-realm-badge{margin-top:22px;padding:8px 18px;border-radius:999px;border:1px solid var(--df-line);background:#fff;color:var(--df-primary);font-size:12px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;box-shadow:var(--df-shadow-1)}
/* Code-drawn cartoon dolphin (inline SVG) leaping along an arc; motion is driven by mountRealmDolphin() in client.js. */
.df-realm-canvas{position:absolute;top:0;display:block;pointer-events:none;z-index:1}
@keyframes df-realm-float{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-12px) rotate(1.5deg)}}
@keyframes df-realm-breathe{0%,100%{opacity:.75;transform:scale(.96)}50%{opacity:1;transform:scale(1.04)}}
@keyframes df-realm-spin{to{transform:rotate(360deg)}}
@keyframes df-realm-twinkle{0%,100%{opacity:.25;transform:scale(.7)}50%{opacity:1;transform:scale(1.1)}}
/* New release notice (never forces a reload) */
.df-release-notice{position:fixed;left:50%;bottom:calc(96px + env(safe-area-inset-bottom));transform:translateX(-50%);z-index:1200;display:flex;align-items:center;gap:14px;padding:10px 10px 10px 18px;border-radius:999px;background:var(--df-night);color:#fff;font-size:14px;box-shadow:0 18px 40px rgba(8,8,38,.28);animation:df-notice-in .4s var(--df-ease) both}
.df-release-notice button{border:0;border-radius:999px;padding:8px 16px;background:var(--df-bright);color:#fff;font-weight:700;font-size:13px}
@keyframes df-notice-in{from{opacity:0;transform:translate(-50%,12px)}}
@media(max-width:700px){
.df-news-index{--news-row-height:92px}
.df-news-row{padding:0 12px!important;border-radius:16px!important;contain-intrinsic-size:auto 92px!important}
.df-news-row-link{gap:12px!important}
.df-news .df-news-row-image{flex-basis:104px!important;width:104px!important;height:66px!important;border-radius:10px!important}
.df-news-row h3{font-size:14px!important;margin-bottom:6px!important;white-space:normal!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.42!important}
.df-news-row .df-news-meta{font-size:11px!important}
.df-news-row .df-news-source{height:18px;padding:0 7px;font-size:10px}
.df-news-row-arrow{display:none!important}
.tweet-media img{max-height:62vh;border-radius:12px!important}
.df-realm{padding:28px 18px 120px}
.df-realm-body{font-size:14px}
}
@media(prefers-reduced-motion:reduce){
.df-realm-glow,.df-realm-ring,.df-realm-star,.df-realm-mascot,.bottom-nav-link[aria-current=page] .nav-orb svg{animation:none!important}
.tweet-media img:not(.is-loaded),.df-news-row-image:has(img:not(.is-loaded)){animation:none!important}
.tab-body-shell,.df-news-row,.tweet-card{transition:none!important}
}
/* ===== r38b: 悬浮中心主按钮 + 4:1 资讯横幅 ===== */
.bottom-nav{overflow:visible!important}
.bottom-nav-link.is-home-nav,.bottom-nav-link.is-home-nav:hover,.bottom-nav-link.is-home-nav[aria-current=page],.bottom-nav-link.is-home-nav.is-active{margin-top:-34px!important;background:none!important;box-shadow:none!important;color:var(--df-muted)!important;display:grid!important;justify-items:center!important;align-content:end!important;gap:4px!important;transform:none!important}
.bottom-nav-link.is-home-nav .nav-orb{position:relative;width:58px!important;height:58px!important;border-radius:50%!important;-webkit-mask:none!important;mask:none!important;display:grid!important;place-items:center!important;overflow:visible!important;background:radial-gradient(circle at 32% 26%,#8486ef 0,#5a5cd6 38%,#4A4CC4 62%,#2A2583 100%)!important;color:#fff!important;border:0!important;box-shadow:0 10px 22px rgba(74,76,196,.34),0 2px 6px rgba(42,37,131,.22),inset 0 1px 0 rgba(255,255,255,.35)!important;transition:transform .28s var(--df-ease),box-shadow .28s var(--df-ease)}
.bottom-nav-link.is-home-nav .ui-icon{width:30px!important;height:30px!important;filter:none!important;justify-content:center;align-items:center}
.bottom-nav-link.is-home-nav .ui-icon::before{width:30px!important;height:30px!important;background:#fff!important;transform:translateX(-1px)}
.bottom-nav-link.is-home-nav .nav-label{font-size:11px!important;font-weight:600}
.bottom-nav-link.is-home-nav:hover .nav-orb{transform:translateY(-3px);box-shadow:0 14px 28px rgba(74,76,196,.42),0 2px 6px rgba(42,37,131,.22),inset 0 1px 0 rgba(255,255,255,.35)!important}
.bottom-nav-link.is-home-nav[aria-current=page] .nav-orb{box-shadow:0 0 0 5px rgba(102,104,218,.18),0 14px 30px rgba(74,76,196,.5),inset 0 1px 0 rgba(255,255,255,.4)!important}
.bottom-nav-link.is-home-nav[aria-current=page] .nav-label{color:var(--df-primary)!important;font-weight:700}
.bottom-nav-link.is-home-nav:focus-visible{outline:none!important}
.bottom-nav-link.is-home-nav:focus-visible .nav-orb{box-shadow:0 0 0 3px #fff,0 0 0 6px var(--df-bright)!important}
@media(max-width:700px){
.bottom-nav-link.is-home-nav,.bottom-nav-link.is-home-nav:hover,.bottom-nav-link.is-home-nav[aria-current=page]{margin-top:-30px!important}
.bottom-nav-link.is-home-nav .nav-orb{width:52px!important;height:52px!important}
.bottom-nav-link.is-home-nav .ui-icon,.bottom-nav-link.is-home-nav .ui-icon::before{width:27px!important;height:27px!important}
}
@media(prefers-reduced-motion:reduce){.bottom-nav-link.is-home-nav .nav-orb{transition:none}}
.bottom-nav{background:rgba(255,255,255,.985)!important}
/* r38b 推文分栏标题：去掉灰色底条，改为干净的分区标题 */
.twitter-column-head{background:none!important;border:0!important;padding:2px 4px 10px!important;align-items:center!important}
.twitter-column-head>span:first-child{color:var(--df-ink)!important;font-weight:700!important;font-size:14px!important;letter-spacing:.02em}
.twitter-column-head>span:last-child{padding:3px 10px;border-radius:999px;background:var(--df-tint);color:var(--df-primary)!important;font-size:11px;font-weight:600}
.twitter-column-head>span:only-child{padding:0;background:none;color:var(--df-ink)!important;font-weight:700!important;font-size:14px!important}

/* Home orb outside the home channel: raised white button, indigo dolphin, no glow. Gradient + glow only on the home page. */
.bottom-nav-link.is-home-nav .nav-orb,.bottom-nav-link.is-home-nav .ui-icon::before{transition:background .28s var(--df-ease),box-shadow .28s var(--df-ease),transform .28s var(--df-ease),border-color .28s var(--df-ease)!important}
.bottom-nav-link.is-home-nav:not([aria-current=page]) .nav-orb{background:#fff!important;border:1px solid #E4E8FF!important;box-shadow:0 8px 18px rgba(74,76,196,.14),0 1px 3px rgba(42,37,131,.10)!important}
.bottom-nav-link.is-home-nav:not([aria-current=page]) .ui-icon::before{background:var(--df-primary)!important}
.bottom-nav-link.is-home-nav:not([aria-current=page]):hover .nav-orb{box-shadow:0 12px 24px rgba(74,76,196,.2),0 1px 3px rgba(42,37,131,.10)!important}
/* r46: topbar auto-hide on scroll + in-site PDF reader */
.topbar{transition:transform .34s cubic-bezier(.22,.61,.36,1),box-shadow .2s;will-change:transform}
html.df-topbar-hidden .topbar{transform:translate3d(0,calc(-100% - 2px),0)}
.tabbar-wrap,.twitter-side-panel{transition:top .34s cubic-bezier(.22,.61,.36,1)}
html.df-topbar-hidden .tabbar-wrap{top:0}
html.df-topbar-hidden .twitter-side-panel{top:16px}
@media(prefers-reduced-motion:reduce){.topbar,.tabbar-wrap,.twitter-side-panel{transition:none!important}}
html.df-pdf-open,html.df-pdf-open body{overflow:hidden!important}
.df-pdf{position:fixed;inset:0;z-index:6000;display:flex;flex-direction:column;background:#eef0f6;color:var(--df-ink,#0d0e1c)}
.df-pdf-bar{display:flex;align-items:center;gap:6px;padding:calc(8px + env(safe-area-inset-top)) 10px 8px;background:rgba(255,255,255,.94);border-bottom:1px solid #e2e4ed;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.df-pdf-title{flex:1;min-width:0;font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0 4px}
.df-pdf .df-pdf-btn{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:40px;height:40px;padding:0 10px;border:0;border-radius:999px;background:transparent!important;color:var(--df-ink,#0d0e1c)!important;box-shadow:none!important;font-size:14px;text-decoration:none;cursor:pointer}
.df-pdf .df-pdf-btn:active{background:#e4e8ff!important}
.df-pdf .df-pdf-dl{background:var(--df-primary,#4a4cc4)!important;color:#fff!important;padding:0 14px}
.df-pdf-scroll{flex:1;overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;touch-action:pan-x pan-y;padding:8px 8px calc(16px + env(safe-area-inset-bottom))}
.df-pdf-pages{margin:0 auto;transform-origin:0 0}
.df-pdf-page{position:relative;margin:0 auto 8px;background:#fff;box-shadow:0 1px 3px rgba(13,14,28,.12);overflow:hidden}
.df-pdf-page canvas{display:block;width:100%;height:100%}
.df-pdf-status{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:12px 18px;border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(13,14,28,.12);font-size:14px;text-align:center;max-width:80vw}
.df-pdf-status.is-error{color:#b42318}
.df-pdf-progress{position:absolute;left:0;top:calc(56px + env(safe-area-inset-top));height:2px;width:0;background:var(--df-primary,#4a4cc4);transition:width .2s}
@media(max-width:520px){.df-pdf-dl span{display:none}.df-pdf .df-pdf-dl{padding:0 10px}}
/* r46: home PDF card sits midway between the topbar and the image waterfall (phones/tablets; >=1000px is already 40/40). */
@media(max-width:999px){.tab-body-shell.is-tab-all .resource-section,.preview-tab-body.is-tab-all .resource-section{margin-top:clamp(18px,3vw,30px)!important;margin-bottom:clamp(18px,3vw,30px)!important}.tab-body-shell.is-tab-all .gallery-section,.preview-tab-body.is-tab-all .gallery-section{margin-top:clamp(18px,3vw,30px)!important}}
/* r46: HTML cards — 16:9 first-screen thumbnail (or HTML icon), full-width row like PDF */
.card-list>.resource-card:has(>.resource-icon.type-html){grid-column:1/-1}
.resource-icon.type-html{background:#eef0ff!important;color:#4a4cc4!important}
.resource-icon.html-thumb{flex:none;width:clamp(104px,24vw,156px)!important;height:auto!important;aspect-ratio:16/9;padding:0!important;overflow:hidden;border-radius:10px!important;background:#eef0ff!important;box-shadow:0 0 0 1px rgba(74,76,196,.12)!important}
.resource-icon.html-thumb img{display:block;width:100%;height:100%;object-fit:cover;filter:none!important}
.html-thumb-preview{display:block;width:100%;max-width:320px;aspect-ratio:16/9;object-fit:cover;border-radius:10px;margin:6px 0}
.resource-card:has(>.resource-icon.html-thumb){grid-template-columns:auto minmax(0,1fr) auto!important}
/* v1.0.49 channel update dot (home never gets one) */
.bottom-nav-link .ui-icon{position:relative}
.bottom-nav-link.has-update:not(.is-home-nav) .ui-icon::after{content:"";position:absolute;top:-1px;right:-3px;width:7px;height:7px;border-radius:50%;background:#ff3b30;pointer-events:none}
/* v189: compact "back to news" in the top bar (PC, news detail only); the in-body row goes away there. */
.topbar-back-link{display:none;align-items:center;gap:6px;margin:0 auto 0 18px;padding:7px 13px 7px 10px;border-radius:999px;border:1px solid var(--df-line,#e4e6f2);background:var(--df-surface,#f6f7fc);color:var(--df-primary)!important;font-size:13px;font-weight:600;line-height:1;white-space:nowrap;text-decoration:none;transition:background .18s,gap .18s}
.topbar-back-link svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.topbar-back-link:hover{gap:9px;background:#eef0fb}
@media(min-width:701px){html:has(.df-news-detail) .topbar-back-link{display:inline-flex}html:has(.df-news-detail) .df-news-detail>.df-news-back{display:none}}

/* v192 News banner: aurora glow, market line, on-chain nodes, block rail (CSS-only motion) */
.df-news-banner{aspect-ratio:4/1;min-height:150px;border-color:#DCDFF4;background:radial-gradient(90% 160% at 100% 0%,rgba(163,171,251,.30),transparent 55%),radial-gradient(70% 120% at 0% 100%,rgba(228,232,255,.9),transparent 60%),linear-gradient(120deg,#fff 0%,#F7F8FE 55%,#EEF0FD 100%);box-shadow:0 1px 0 rgba(255,255,255,.9) inset,0 18px 40px -24px rgba(42,37,131,.28)!important}
.df-news-banner::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(90deg,transparent,rgba(255,255,255,.55) 50%,transparent) 0 0/40% 100% no-repeat;transform:translateX(-120%);animation:df-news-sheen 9s 1.2s var(--df-ease,ease) infinite;z-index:3}
.df-news-banner-copy{z-index:2}
.df-news-live{display:inline-flex;align-items:center;gap:7px;margin-bottom:12px;padding:4px 10px 4px 8px;border:1px solid rgba(74,76,196,.16);border-radius:999px;background:rgba(255,255,255,.72);backdrop-filter:blur(6px);font:700 10.5px/1 DFManrope,DFSans,sans-serif;letter-spacing:.14em;color:var(--df-primary)}
.df-news-live i{width:6px;height:6px;border-radius:50%;background:var(--df-success);box-shadow:0 0 0 0 rgba(0,129,79,.45);animation:df-news-beacon 2.4s ease-out infinite}
.df-news-banner h1{background:linear-gradient(100deg,var(--df-night) 20%,var(--df-deep) 70%,var(--df-primary));-webkit-background-clip:text;background-clip:text;color:transparent}
.df-news-motion{position:absolute;inset:0;z-index:1;pointer-events:none}
.df-news-glow{position:absolute;border-radius:50%;filter:blur(36px);opacity:.55;will-change:transform}
.df-news-glow-a{right:8%;top:-40%;width:34%;height:120%;background:radial-gradient(closest-side,rgba(102,104,218,.38),transparent);animation:df-news-drift 14s ease-in-out infinite alternate}
.df-news-glow-b{right:30%;bottom:-60%;width:26%;height:110%;background:radial-gradient(closest-side,rgba(163,171,251,.45),transparent);animation:df-news-drift 18s ease-in-out -6s infinite alternate-reverse}
.df-news .df-news-banner .df-news-art{position:absolute;inset:0;width:100%;height:100%;max-width:none;-webkit-mask-image:linear-gradient(90deg,transparent 30%,#000 62%);mask-image:linear-gradient(90deg,transparent 30%,#000 62%)}
.df-news-grid path{stroke:#4A4CC4;stroke-opacity:.07;stroke-width:1;fill:none}
.df-news-area{fill:url(#dfNewsArea);opacity:0;animation:df-news-fade 1.2s .9s ease forwards}
.df-news-line{fill:none;stroke:url(#dfNewsLine);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;animation:df-news-draw 2.2s .2s cubic-bezier(.65,0,.35,1) forwards}
.df-news-scan{fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-dasharray:.06 .94;stroke-dashoffset:1;opacity:.9;filter:drop-shadow(0 0 4px rgba(102,104,218,.9));animation:df-news-scan 5.5s 2.4s linear infinite}
.df-news-head{fill:var(--df-primary);opacity:0;animation:df-news-fade .4s 2.2s forwards}
.df-news-head-ring{fill:none;stroke:var(--df-primary);stroke-width:1.5;opacity:0;transform-box:fill-box;transform-origin:center;animation:df-news-ring 2.4s 2.4s ease-out infinite}
.df-news-links path{stroke:#4A4CC4;stroke-opacity:.16;stroke-width:1;fill:none}
.df-news-packets path{stroke:#6668DA;stroke-width:2;stroke-linecap:round;fill:none;stroke-dasharray:8 400;stroke-dashoffset:8;animation:df-news-packet 4.4s var(--d) linear infinite}
.df-news-nodes circle{fill:#fff;stroke:var(--df-primary);stroke-width:1.6;transform-box:fill-box;transform-origin:center;animation:df-news-node 4.4s var(--d) ease-in-out infinite}
.df-news-rail rect{fill:#4A4CC4;fill-opacity:.07}
.df-news-rail rect:nth-child(5n+2){fill-opacity:.2}
.df-news-rail-track{animation:df-news-rail 12s linear infinite}
@keyframes df-news-sheen{0%,70%{transform:translateX(-120%)}100%{transform:translateX(320%)}}
@keyframes df-news-beacon{0%{box-shadow:0 0 0 0 rgba(0,129,79,.45)}80%,100%{box-shadow:0 0 0 7px rgba(0,129,79,0)}}
@keyframes df-news-drift{to{transform:translate(-14%,10%) scale(1.12)}}
@keyframes df-news-fade{to{opacity:1}}
@keyframes df-news-draw{to{stroke-dashoffset:0}}
@keyframes df-news-scan{from{stroke-dashoffset:1.06}to{stroke-dashoffset:0}}
@keyframes df-news-ring{0%{opacity:.7;transform:scale(1)}100%{opacity:0;transform:scale(3.4)}}
@keyframes df-news-packet{0%{stroke-dashoffset:8;opacity:0}10%{opacity:1}60%{opacity:1}75%,100%{stroke-dashoffset:-260;opacity:0}}
@keyframes df-news-node{0%,100%{transform:scale(1)}12%{transform:scale(1.35)}}
@keyframes df-news-rail{to{transform:translateX(-460px)}}
@media(max-width:700px){
.df-news-banner{aspect-ratio:auto;min-height:0;height:132px;border-radius:16px}
.df-news-banner-copy{left:6%}
.df-news-banner h1{font-size:22px;margin-bottom:3px}
.df-news-banner-copy p{font-size:11.5px}
.df-news-live{margin-bottom:9px;font-size:9.5px;padding:3px 8px 3px 7px}
.df-news .df-news-banner .df-news-art{-webkit-mask-image:linear-gradient(90deg,transparent 38%,#000 78%);mask-image:linear-gradient(90deg,transparent 38%,#000 78%)}
.df-news-glow{filter:blur(26px)}
}
@media(prefers-reduced-motion:reduce){
.df-news-banner::after,.df-news-glow,.df-news-scan,.df-news-head-ring,.df-news-packets,.df-news-rail-track,.df-news-nodes circle,.df-news-live i{animation:none}
.df-news-scan,.df-news-head-ring,.df-news-packets{display:none}
.df-news-line{animation:none;stroke-dashoffset:0}
.df-news-area,.df-news-head{animation:none;opacity:1}
}
/* v208: home carousel play button centred on the cover - black disc, fresh lime-green triangle. */
.video-slide>.play-chip{left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;width:clamp(52px,6vw,68px)!important;height:clamp(52px,6vw,68px)!important;border-radius:50%!important;background:rgba(10,10,12,.86)!important;color:#B5EF5F!important;border:0!important;outline:0!important;box-shadow:0 8px 26px rgba(0,0,0,.28)!important;transform:translate(-50%,-50%)!important;display:grid!important;place-items:center!important;padding:0!important}
.video-slide>.play-chip svg{width:42%!important;height:42%!important;margin-left:6%;fill:currentColor}
.video-slide:hover>.play-chip,.video-slide:focus-visible>.play-chip{transform:translate(-50%,-50%) scale(1.06)!important;background:#000!important;box-shadow:0 10px 30px rgba(0,0,0,.34)!important;outline:0!important}
.video-slide.is-opening-player>.play-chip{opacity:0;transform:translate(-50%,-50%) scale(.82)!important}
.video-slide>.play-chip[data-carousel-play-id]{pointer-events:auto!important;cursor:pointer}
/* v208: video tiles - full 16:9 cover with nothing on it; title in its own row below; admin drag handle sits in the title row. */
.video-tile{aspect-ratio:auto!important;height:auto!important;display:flex!important;flex-direction:column!important;position:relative!important}
.video-tile>img{position:static!important;inset:auto!important;width:100%!important;height:auto!important;aspect-ratio:16/9!important;object-fit:cover!important;display:block!important;flex:none!important;transform:none!important}
.video-tile>.video-tile-caption{position:static!important;inset:auto!important;transform:none!important;opacity:1!important;margin:0!important;border:0!important;border-top:1px solid var(--df-line)!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;backdrop-filter:none!important;padding:10px 14px!important;min-height:44px;align-content:center;color:var(--df-ink)!important}
.video-tile>.video-tile-caption .video-tile-title{color:var(--df-ink)!important}
.video-tile>.video-tile-caption .video-tile-summary{color:var(--df-muted,#6b6f86)!important}
.video-tile>.sort-handle{top:auto!important;bottom:8px!important;right:10px!important;left:auto!important;transform:none!important}
.video-tile:has(>.sort-handle)>.video-tile-caption{padding-right:48px!important}
.video-tile>.video-tile-play{display:none!important}
/* v208: carousel dots move below the cover so only the play button sits on it. */
.hero-carousel .carousel-frame{overflow:visible!important;overflow-x:clip!important;overflow-y:visible!important;margin-bottom:34px!important;contain:layout style!important}
.hero-carousel .video-slide{border-radius:24px;overflow:hidden}
@media(max-width:700px){.hero-carousel .video-slide{border-radius:18px}}
.hero-carousel .carousel-dots{top:calc(100% + 8px)!important;bottom:auto!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important}
.video-slide>.play-chip::before,.video-slide>.play-chip::after{content:none!important;display:none!important}.video-slide>.play-chip:focus,.video-slide>.play-chip:focus-visible{outline:0!important}
/* v211: player play button matches the home carousel (black disc, lime triangle, no border); compact centred. */
.video-player-overlay .video-player-play-button{width:clamp(52px,6vw,68px)!important;height:clamp(52px,6vw,68px)!important;border-radius:50%!important;background:rgba(10,10,12,.86)!important;color:#B5EF5F!important;border:0!important;outline:0!important;box-shadow:0 8px 26px rgba(0,0,0,.28)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;padding:0!important;display:grid!important;place-items:center!important}
.video-player-overlay .video-player-play-button::before{display:none!important}
.video-player-overlay .video-player-play-button svg{display:block!important;width:42%!important;height:42%!important;margin-left:6%!important;fill:currentColor!important}
/* v211: minimal exit / copy buttons - small translucent dark discs, thin white line icons. */
.video-player-overlay .video-player-close,.video-player-overlay .video-player-copy{width:36px!important;height:36px!important;border:0!important;border-radius:50%!important;background:rgba(8,8,12,.38)!important;color:#fff!important;box-shadow:none!important;-webkit-backdrop-filter:blur(8px)!important;backdrop-filter:blur(8px)!important;bottom:calc(12px + env(safe-area-inset-bottom))!important}
.video-player-overlay .video-player-close{right:calc(12px + env(safe-area-inset-right))!important}
.video-player-overlay .video-player-copy{right:calc(56px + env(safe-area-inset-right))!important}
.video-player-overlay .video-player-close::before,.video-player-overlay .video-player-copy::before{display:none!important}
.video-player-overlay .video-player-close svg,.video-player-overlay .video-player-copy svg{display:block!important;width:17px!important;height:17px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.5!important;stroke-linecap:round!important;stroke-linejoin:round!important}
.video-player-overlay .video-player-close:hover,.video-player-overlay .video-player-copy:hover{background:rgba(8,8,12,.56)!important}
.video-player-overlay .video-player-controls{right:calc(58px + env(safe-area-inset-right))!important}
.video-player-overlay.has-video-share .video-player-controls{right:calc(102px + env(safe-area-inset-right))!important}
.video-player-overlay .video-player-copy-status{bottom:calc(58px + env(safe-area-inset-bottom))!important}
/* v211: Android native fullscreen + landscape lock - the screen itself is landscape, so no CSS rotation. */
.video-player-overlay.is-landscape-fullscreen.is-native-landscape{inset:0!important;top:0!important;left:0!important;width:100vw!important;height:100vh!important;transform:none!important}
.video-player-overlay.is-landscape-fullscreen.is-native-landscape .video-player-frame,.video-player-overlay.is-landscape-fullscreen.is-native-landscape .video-player-media{width:100vw!important;height:100vh!important}
/* v211: if the phone is physically turned to landscape while CSS-rotated, drop the rotation instead of turning twice. */
@media (orientation:landscape) and (pointer:coarse){
.video-player-overlay.is-landscape-fullscreen{inset:0!important;top:0!important;left:0!important;width:100vw!important;height:100dvh!important;transform:none!important}
.video-player-overlay.is-landscape-fullscreen .video-player-frame,.video-player-overlay.is-landscape-fullscreen .video-player-media{width:100vw!important;height:100dvh!important}
}
/* v211: an empty home announcement carousel is marked [hidden] so browsers without :has() (older iOS Safari, in-app
   browsers) no longer reserve its 104px min-height below the video cover. */
.home-announcement-carousel[hidden]{display:none!important}
/* v211: mobile only - gap from the cover (and its dots) to the first card equals the gap between cards. */
@media(max-width:760px){
.hero-carousel{padding-bottom:0!important}
.hero-carousel .carousel-frame{margin-bottom:24px!important}
.tab-body-shell.is-tab-all>.resource-section:first-child,.preview-tab-body.is-tab-all>.resource-section:first-child{margin-top:14px!important}
}
