@import url('/duanyu-brand/v1/brand.css?v=polish2');
/* The landing page is not part of the file browser or the management shell. */
.dy-hero,.dy-entry-grid{display:none!important}
html[data-dy-view="home"] .dy-hero{display:flex!important}
html[data-dy-view="home"] .dy-entry-grid{display:grid!important}
html[data-dy-view="directory"] #duanyu-site,html[data-dy-view="admin"] #duanyu-site{display:none!important}
html[data-dy-view="home"] #root :is(.header,.body){display:none!important}
html[data-dy-view="home"] #duanyu-site{max-width:1120px;margin-top:22px}
html[data-dy-view="home"] .dy-nav{min-height:60px;padding:10px 22px}
html[data-dy-view="home"] .dy-hero{min-height:285px;margin:22px 0 20px;padding:34px 40px}
html[data-dy-view="home"] .dy-hero h1{font-size:38px;letter-spacing:2px}
html[data-dy-view="home"] .dy-subtitle{font-size:18px;margin:12px 0 14px}
html[data-dy-view="home"] .dy-emblem{width:175px;min-width:175px;height:195px;margin-right:6px;gap:14px}
html[data-dy-view="home"] .dy-emblem img{width:94px;height:94px}
.dy-entry-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:18px}
#duanyu-site .dy-entry{display:flex;flex-direction:column;position:relative;gap:10px;min-height:146px;padding:22px 24px;border:1px solid #c7dec828;border-radius:14px;background:rgba(12,23,16,.92);transition:border-color .18s,transform .18s}
#duanyu-site .dy-entry:hover{border-color:#c8f20f88;transform:translateY(-3px)}
.dy-entry small{color:#96ac89;font:10px/1.4 monospace;letter-spacing:1.8px}
.dy-entry strong{color:#edf2e9;font-size:20px;font-weight:750;letter-spacing:1px}
.dy-entry p{margin:0;color:#9caf93;font-size:12px;line-height:1.75}
.dy-entry span{position:absolute;right:22px;top:24px;color:#c8f20f;font-size:22px}
html[data-dy-view="directory"] #root .header{margin-top:20px!important;min-height:62px;padding:12px 20px!important}
html[data-dy-view="directory"] body{background:#09110d!important}
html[data-dy-view="directory"] body::before{display:none}
html[data-dy-view="directory"] #root .header-left::after{content:"断域下载中心";font-size:15px;letter-spacing:1px}
html[data-dy-view="directory"] #root .body{min-height:calc(100svh - 180px)!important;padding:0!important;gap:14px!important}
html[data-dy-view="directory"] #root .body>div,html[data-dy-view="directory"] #root .header>div{max-width:none!important;width:100%!important}
html[data-dy-view="directory"] #root .body :is(.nav,.obj-box){max-width:none!important;width:100%!important;margin-inline:0!important}
html[data-dy-view="directory"] #root .body .hope-container{max-width:none!important;padding-inline:0!important}
html[data-dy-view="directory"] #root .body>.nav{padding:12px 18px!important}
html[data-dy-view="directory"] .obj-box:has(input[type="password"]) button:not([aria-label]){background:#c8f20f!important;color:#152008!important;border-color:#c8f20f!important}
html[data-dy-view="directory"] .obj-box:has(input[type="password"]) input{min-height:44px!important;width:100%!important;background:#15251a!important;border:1px solid #405a3f!important;border-radius:9px!important;padding:10px 12px!important;color:#e7efdf!important}
html[data-dy-view="directory"] .obj-box:has(input[type="password"]) button:first-of-type{background:#19291d!important;color:#c5d6b8!important;border:1px solid #405a3f!important}
html[data-dy-view="directory"] .obj-box a{color:#b4d375}
.markdown-body a{color:#a8cc54!important;text-underline-offset:3px}
/* Keep the native admin's controls and responsive sidebar; only reskin its surfaces. */
html[data-dy-view="admin"] body{display:block;background:#0a120e!important;color:#e2ebdc}
html[data-dy-view="admin"] body::before{display:none}
html[data-dy-view="admin"] #root{min-height:100svh!important;--dy-ink:#e2ebdc;--dy-muted:#9aad92;--dy-panel:#101c14;--hope-colors-loContrast:#0a120e;--hope-colors-neutral1:#0a120e;--hope-colors-neutral2:#101c14;--hope-colors-neutral3:#16261b;--hope-colors-neutral4:#203326;--hope-colors-neutral5:#29422e;--hope-colors-neutral6:#35563b;--hope-colors-neutral7:#567251;--hope-colors-neutral8:#79946c;--hope-colors-neutral9:#93aa86;--hope-colors-neutral10:#a9bd9e;--hope-colors-neutral11:#c9d7c0;--hope-colors-neutral12:#e9f0e4;--hope-colors-info2:#12210b;--hope-colors-info3:#1c300e;--hope-colors-info9:#c8f20f;--hope-colors-info10:#dbfa56;--hope-colors-info11:#c8f20f;--hope-colors-info12:#e3f5b7}
[data-dy-admin-header]{height:64px!important;padding:0 24px!important;background:#101c14!important;border-bottom:1px solid #293e2d;box-shadow:none!important}
[data-dy-admin-header] :is(h1,h2,h3,h4){display:flex;align-items:center;gap:11px;color:#eaf1e5!important;font-size:18px!important;font-weight:750;letter-spacing:1px}
[data-dy-admin-header] :is(h1,h2,h3,h4)::before{content:"";display:block;width:29px;height:29px;background:url('/duanyu-brand/v1/duanyu-mark.svg') center/contain no-repeat}
[data-dy-admin-frame]{height:calc(100svh - 64px)!important;background:#0a120e!important}
[data-dy-admin-sidebar]{background:#101c14!important;border-right:1px solid #25382a;box-shadow:none!important;padding:12px 8px!important}
[data-dy-admin-sidebar] a{min-height:42px!important;border-radius:9px!important;font-size:14px!important}
[data-dy-admin-sidebar] a:hover{background:#20331a!important}
[data-dy-admin-sidebar] a[aria-current="page"]{background:#c8f20f19!important;color:#d5ef7c!important;border:1px solid #a6cb4e30}
[data-dy-admin-content]{padding:26px 30px!important;background:#0a120e!important}
[data-dy-admin-content]>div{max-width:1380px;margin-inline:auto}
[data-dy-admin-content] :is(h1,h2,h3){color:#e5eddf!important;letter-spacing:.5px}
[data-dy-admin-content] .hope-form-control{margin-bottom:10px}
[data-dy-admin-content] :is(input,textarea,select){background:#122017!important;border-color:#314935!important;border-radius:9px!important;color:#e4eddd!important}
[data-dy-admin-content] :is(input,textarea,select):focus{border-color:#b0d437!important;box-shadow:0 0 0 2px #c8f20f20!important}
[data-dy-admin-content] label{font-size:13px!important;color:#b9cbb0!important}
[data-dy-primary]{background:#c8f20f!important;color:#152008!important;border:1px solid #c8f20f!important;border-radius:9px!important;font-weight:700!important}
[data-dy-primary]:hover{background:#ddff5b!important}
[data-dy-admin-content] :is(th,td){border-color:#263d2c!important}
@media(max-width:700px){html[data-dy-view="home"] #duanyu-site{margin-top:14px}html[data-dy-view="home"] .dy-hero{min-height:265px;padding:28px 24px;margin:16px 0}html[data-dy-view="home"] .dy-hero h1{font-size:30px}html[data-dy-view="home"] .dy-subtitle{font-size:16px}.dy-entry-grid{grid-template-columns:1fr;gap:12px}#duanyu-site .dy-entry{min-height:124px;padding:19px 20px}.dy-entry strong{font-size:19px}html[data-dy-view="directory"] #root .header{margin-top:14px!important}[data-dy-admin-header]{padding:0 16px!important}[data-dy-admin-content]{padding:20px 16px!important}}
@media(prefers-reduced-motion:reduce){#duanyu-site .dy-entry{transition:none;transform:none}}
