.ds-page {margin:0;}
.ds-message-notice {
    --pm-start:#fff0f6;--pm-end:#f4edff;--pm-ink:#3d1c35;--pm-muted:#715063;
    --pm-line:#e9bfd4;--pm-accent:#922559;--pm-button:#922559;--pm-on:#fff;--pm-focus:#13669a;
    box-sizing:border-box;position:relative;isolation:isolate;width:min(960px,calc(100% - 28px));margin:18px auto;
    border:1px solid var(--pm-line);border-inline-start:4px solid #dc4489;border-radius:15px;
    background:linear-gradient(110deg,var(--pm-start),var(--pm-end));
    box-shadow:0 5px 18px #49203912;
    color:var(--pm-ink);font:14px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif;text-align:start;
}
.ds-theme-dark .ds-message-notice {--pm-start:#3a2535;--pm-end:#29253d;--pm-ink:#fff3f9;--pm-muted:#d4bdcf;--pm-line:#754d6b;--pm-accent:#ffb0d1;--pm-button:#ffb0d1;--pm-on:#42192d;--pm-focus:#99d7ff;box-shadow:0 5px 20px #0003;}
.ds-message-notice * {box-sizing:border-box;}
.ds-message-notice :is(span,strong,p,div,a) {font-family:inherit;}
.ds-message-notice .ds-message-body {display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:22px;min-height:112px;padding:22px 26px;}
.ds-message-notice .ds-message-icon {position:relative;display:grid;place-items:center;width:58px;height:58px;background:linear-gradient(145deg,#c53579,#922559);color:#fff;border:1px solid #ffffff40;border-radius:17px;box-shadow:0 5px 12px #9225592b;}
.ds-message-notice svg {display:block;width:29px;height:29px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.ds-message-notice .ds-message-count {position:absolute;inset-block-start:-8px;inset-inline-end:-8px;display:grid;place-items:center;min-width:25px;height:25px;padding:0 5px;border:2px solid var(--pm-start);border-radius:20px;background:#fff;color:#922559;font-size:11px;font-weight:800;line-height:1;}
.ds-message-notice .ds-message-copy {display:grid;gap:4px;min-width:0;}
.ds-message-notice .ds-message-kicker {display:flex;align-items:center;gap:6px;color:var(--pm-accent);font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;}
.ds-message-notice .ds-message-kicker>span {width:6px;height:6px;border-radius:50%;background:currentColor;}
.ds-message-notice strong {color:var(--pm-ink);font-size:clamp(18px,2vw,21px);font-weight:750;line-height:1.3;letter-spacing:-.025em;overflow-wrap:anywhere;}
.ds-message-notice .ds-message-copy p {margin:0;padding:0;font-size:12px;line-height:1.5;color:var(--pm-muted);}
.ds-message-notice a.ds-message-action {display:flex;justify-content:center;gap:12px;align-items:center;min-height:44px;padding:11px 16px;border:1px solid transparent;border-radius:9px;background:var(--pm-button);color:var(--pm-on);font:700 13px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;text-decoration:none;white-space:nowrap;box-shadow:0 3px 9px #491c3820;transition:box-shadow .15s ease;}
.ds-message-notice .ds-message-action svg {width:18px;height:18px;stroke-width:2;}
.ds-message-notice a.ds-message-action:hover {color:var(--pm-on);text-decoration:none;box-shadow:0 0 0 3px var(--pm-start),0 0 0 4px var(--pm-accent);}
.ds-message-notice a.ds-message-action:focus-visible {outline:3px solid var(--pm-focus);outline-offset:4px;}
@media(max-width:600px) {
    .ds-message-notice {margin-block:14px;border-radius:13px;}
    .ds-message-notice .ds-message-body {grid-template-columns:46px minmax(0,1fr);gap:16px;padding:20px 16px;}
    .ds-message-notice .ds-message-icon {width:46px;height:46px;border-radius:14px;}
    .ds-message-notice .ds-message-icon svg {width:25px;height:25px;}
    .ds-message-notice a.ds-message-action {grid-column:1/-1;}
}
@media(prefers-reduced-motion:reduce) {.ds-message-notice a.ds-message-action {transition:none;}}
.ds-message-notice.ds-ratio-notice {--pm-start:#fff5e9;--pm-end:#fff0f5;--pm-ink:#402b24;--pm-muted:#73534b;--pm-line:#e4c1a2;--pm-accent:#8b4b12;border-inline-start-color:#d78b32;}
.ds-theme-dark .ds-message-notice.ds-ratio-notice {--pm-start:#3a2d24;--pm-end:#352535;--pm-ink:#fff3e8;--pm-muted:#d8c1b2;--pm-line:#78573f;--pm-accent:#ffd095;}
.ds-ratio-notice .ds-message-icon {background:linear-gradient(145deg,#b56b1b,#874614);box-shadow:0 5px 12px #87461425;}
.ds-ratio-notice .ds-message-copy {gap:7px;}
.ds-ratio-notice .ds-ratio-value {justify-self:start;display:inline-flex;align-items:baseline;gap:7px;padding:3px 8px;border:1px solid var(--pm-line);border-radius:6px;color:var(--pm-accent);font-size:11px;line-height:1.5;}
.ds-ratio-notice .ds-ratio-value b {color:var(--pm-ink);font-family:inherit;font-size:13px;font-weight:750;font-variant-numeric:tabular-nums;}
.ds-ratio-notice .ds-message-copy p {max-width:590px;line-height:1.65;}
@media(max-width:600px) {.ds-ratio-notice .ds-message-icon {align-self:start;margin-top:3px;}}
.ds-page.ds-theme-light {background:#310b28;}
.ds-page:not(.browse-layout) :is(#columns,#main-wrapper) {box-sizing:border-box;width:min(1130px,calc(100% - 28px));margin-inline:auto;}
.ds-page.ds-theme-dark :is(#main,#main-bottom) {background-size:100% auto;}
#ds-site-header {
    --ds-surface:#fff;--ds-soft:#f7f3f6;--ds-ink:#291f2a;--ds-muted:#605463;
    --ds-edge:#ddd5de;--ds-accent:#892251;--ds-tint:#f7e7ef;--ds-focus:#13669a;
    box-sizing:border-box;width:min(1130px,calc(100% - 28px));margin:10px auto;
    color:var(--ds-ink);background:var(--ds-surface);border:1px solid var(--ds-edge);
    border-radius:11px;font:14px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;text-align:start;
}
#ds-site-header.ds-dark {
    --ds-surface:#202329;--ds-soft:#292d34;--ds-ink:#f2edf2;--ds-muted:#c2bbc7;
    --ds-edge:#49434f;--ds-accent:#ffb0ce;--ds-tint:#442a38;--ds-focus:#99d7ff;
}
#ds-site-header *,#ds-site-header *::before,#ds-site-header *::after {box-sizing:border-box;}
#ds-site-header :is(a:link,a:visited) {color:inherit;text-decoration:none;}
#ds-site-header :is(a,button):focus-visible {outline:2px solid var(--ds-focus);outline-offset:2px;}
#ds-site-header a:hover,#ds-site-header button:hover {text-decoration:underline;}
#ds-site-header .ds-brand {
    display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 16px;
    padding:7px 14px;border-radius:10px 10px 0 0;background:#342335;color:#fff;
}
#ds-site-header .ds-logo {display:inline-flex;align-items:center;max-width:100%;}
#ds-site-header .ds-logo img {display:block;width:145px;max-width:100%;height:auto;border:0;}
#ds-site-header .ds-promo {display:flex;align-items:center;flex-wrap:wrap;gap:2px 10px;min-width:0;}
#ds-site-header .ds-promo a {display:inline-flex;align-items:center;min-height:32px;padding:0 4px;font-size:12px;color:#f9eef6;}
#ds-site-header .ds-promo a:first-child {font-weight:650;}
#ds-site-header .ds-nav {
    display:flex;align-items:stretch;flex-wrap:wrap;gap:3px;padding:5px 8px;
    border-bottom:1px solid var(--ds-edge);background:var(--ds-soft);
}
#ds-site-header .ds-nav a {
    display:flex;flex:1 0 auto;align-items:center;justify-content:center;
    min-height:35px;max-width:100%;padding:5px 9px;border:1px solid transparent;
    border-radius:5px;font-size:14px;font-weight:620;line-height:1.25;text-align:center;
}
#ds-site-header .ds-nav a:hover,#ds-site-header .ds-nav a[aria-current="page"] {
    color:var(--ds-accent);background:var(--ds-tint);text-decoration:none;
}
#ds-site-header .ds-nav a[aria-current="page"] {border-color:var(--ds-accent);}
#ds-site-header .ds-account {padding:6px 12px;}
#ds-site-header .ds-identity {display:flex;align-items:center;flex-wrap:wrap;gap:5px 16px;min-width:0;}
#ds-site-header .ds-welcome {display:flex;align-items:center;flex-wrap:wrap;gap:3px 5px;min-width:0;max-width:100%;font-size:14px;}
#ds-site-header .ds-welcome span {color:var(--ds-muted);}
#ds-site-header .ds-welcome a {font-weight:700;overflow-wrap:anywhere;min-width:0;max-width:100%;}
#ds-site-header .ds-stats {display:flex;align-items:baseline;flex-wrap:wrap;gap:3px 14px;margin:0;min-width:0;}
#ds-site-header .ds-stats div {display:flex;flex-wrap:wrap;gap:4px;align-items:baseline;max-width:100%;}
#ds-site-header :is(.ds-stats dt,.ds-stats dd,.ds-clock) {margin:0;font-size:12px;}
#ds-site-header :is(.ds-stats dt,.ds-clock) {color:var(--ds-muted);}
#ds-site-header .ds-stats dd {font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;}
#ds-site-header .ds-identity .ds-clock {margin-inline-start:auto;font-variant-numeric:tabular-nums;}
#ds-site-header .ds-tools {display:flex;align-items:center;flex-wrap:wrap;gap:2px 5px;margin-top:4px;}
#ds-site-header .ds-tools :is(a,button) {
    display:inline-flex;align-items:center;gap:4px;max-width:100%;min-height:28px;padding:3px 5px;
    border:0;background:transparent;color:var(--ds-muted);font:580 12px/1.35 system-ui,sans-serif;cursor:pointer;
}
#ds-site-header .ds-tools :is(a,button):hover {color:var(--ds-accent);background:var(--ds-soft);border-radius:4px;}
#ds-site-header .ds-tools b {padding:0 4px;border-radius:3px;background:var(--ds-soft);color:var(--ds-ink);font-variant-numeric:tabular-nums;}
#ds-site-header .ds-unread {color:var(--ds-accent);font-weight:700;}
#ds-site-header .ds-donation {
    --support-bg:#f8edf4;--support-text:#3e2037;--support-muted:#6c4a60;
    --support-track:#ddc6d6;--support-fill:#a52a65;--support-button:#892251;--support-on:#fff;
    display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,220px) auto;align-items:center;gap:24px;
    width:100%;margin:0;padding:19px 22px;border-top:1px solid #dcb7cd;border-radius:0 0 10px 10px;
    color:var(--support-text);background:linear-gradient(110deg,var(--support-bg),#fff8fc);
    box-shadow:inset 4px 0 0 var(--support-fill);font:14px/1.45 system-ui,sans-serif;
}
#ds-site-header.ds-dark .ds-donation {
    --support-bg:#362333;--support-text:#fff3fa;--support-muted:#e1bfd4;
    --support-track:#614358;--support-fill:#f899c2;--support-button:#ffafd1;--support-on:#371527;
    background:linear-gradient(110deg,var(--support-bg),#29212d);border-top-color:#70465f;
}
#ds-site-header .ds-donation-intro {display:flex;align-items:center;gap:13px;min-width:0;}
#ds-site-header .ds-donation-icon {display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:13px;background:var(--support-track);color:var(--support-fill);}
#ds-site-header .ds-donation-icon svg {width:24px;height:24px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transform-origin:center;animation:ds-donation-heartbeat 3.6s ease-in-out infinite;}
@keyframes ds-donation-heartbeat {
    0%,17%,36%,100% {transform:scale(1);}
    9% {transform:scale(1.09);}
    25% {transform:scale(1.05);}
}
@media(prefers-reduced-motion:reduce) {
    #ds-site-header .ds-donation-icon svg {animation:none;}
}
#ds-site-header .ds-donation-intro strong {display:block;font-size:18px;font-weight:750;letter-spacing:-.025em;line-height:1.3;}
#ds-site-header .ds-donation-intro p {margin:4px 0 0;color:var(--support-muted);font-size:12px;line-height:1.5;}
#ds-site-header .ds-donation-progress {min-width:0;}
#ds-site-header .ds-donation-progress>div {display:flex;align-items:baseline;gap:7px;margin-bottom:6px;}
#ds-site-header .ds-donation-progress strong {font-size:20px;font-weight:750;line-height:1;font-variant-numeric:tabular-nums;}
#ds-site-header .ds-donation-progress span {color:var(--support-muted);font-size:12px;}
#ds-site-header .ds-donation-progress meter {display:block;width:100%;height:9px;appearance:none;-moz-appearance:none;border:0;border-radius:9px;background:var(--support-track);overflow:hidden;}
#ds-site-header .ds-donation-progress meter::-webkit-meter-bar {height:9px;border:0;border-radius:9px;background:var(--support-track);box-shadow:none;}
#ds-site-header .ds-donation-progress meter::-webkit-meter-optimum-value {background:var(--support-fill);border-radius:9px;}
#ds-site-header .ds-donation-progress meter::-moz-meter-bar {background:var(--support-fill);border-radius:9px;}
#ds-site-header a.ds-donation-cta {display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:46px;padding:11px 18px;border:1px solid transparent;border-radius:9px;background:var(--support-button);color:var(--support-on);font-size:14px;font-weight:750;white-space:nowrap;text-decoration:none;box-shadow:0 3px 9px #24091b18;}
#ds-site-header a.ds-donation-cta:hover {text-decoration:none;filter:brightness(1.08);box-shadow:0 4px 12px #24091b30;}
#ds-site-header a.ds-donation-cta:focus-visible {outline:3px solid var(--ds-focus);outline-offset:3px;}
#ds-site-header .ds-donation-cta svg {width:18px;height:18px;flex:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
@media(max-width:850px) {
    #ds-site-header .ds-donation {grid-template-columns:minmax(0,1fr) auto;gap:14px 20px;padding:16px 18px;}
    #ds-site-header .ds-donation-intro {grid-column:1/-1;}
    #ds-site-header .ds-donation-progress {max-width:300px;}
}
@media(max-width:420px) {
    #ds-site-header .ds-donation {gap:13px 12px;padding:15px 13px;}
    #ds-site-header .ds-donation-icon {flex-basis:36px;height:36px;border-radius:10px;}
    #ds-site-header .ds-donation-intro {gap:10px;}
    #ds-site-header .ds-donation-intro strong {font-size:17px;}
    #ds-site-header .ds-donation-progress>div {gap:4px;flex-wrap:wrap;}
    #ds-site-header .ds-donation-progress strong {font-size:18px;}
    #ds-site-header .ds-donation-progress span {font-size:11px;}
    #ds-site-header a.ds-donation-cta {gap:7px;padding:10px 12px;font-size:13px;}
}
/* Keep wide legacy page content in its own scrolling area on small screens. */
@media(max-width:1050px) {
    #ds-site-header {width:calc(100% - 12px);margin:6px auto;}
    .ds-page:not(.browse-layout) :is(#columns,#main-wrapper) {width:calc(100% - 12px);}
    .ds-page :is(#columns,#wrapper,#main-wrapper,#main,#main-inner,#footer,#page-bottom) {box-sizing:border-box;max-width:100%;min-width:0;}
    .ds-page :is(#columns,#main-inner,#footer,#page-bottom) {overflow-x:auto;}
}
@media(max-width:650px) {
    #ds-site-header .ds-brand {padding:5px 8px;gap:2px 6px;}
    #ds-site-header .ds-logo img {width:118px;}
    #ds-site-header .ds-promo {gap:0 3px;}
    #ds-site-header .ds-promo a {padding-inline:2px;font-size:11px;}
    #ds-site-header .ds-nav {gap:2px;padding:4px;}
    #ds-site-header .ds-nav a {min-height:34px;padding:4px 7px;font-size:13px;}
    #ds-site-header .ds-account {padding:6px 8px;}
    #ds-site-header .ds-identity {gap:3px 10px;}
    #ds-site-header .ds-identity .ds-clock {margin-inline-start:0;}
    #ds-site-header .ds-tools {column-gap:2px;}
}
