/* Digital Creator Platform v0.1.46 · PWA + theme foundation */
html[data-dcp-theme="dark"]{color-scheme:dark}
html[data-dcp-theme="light"]{color-scheme:light}

.dcp-pwa-controls{display:flex;align-items:center;gap:7px;min-width:0}
.dcp-theme-control{display:inline-flex;align-items:center}
.dcp-theme-select{height:30px;min-width:76px;border:1px solid rgba(255,255,255,.2);background:#101012;color:#e9e7e1;border-radius:2px;padding:0 20px 0 8px;font-size:9px;font-weight:750;text-transform:uppercase;letter-spacing:.04em;cursor:pointer}
.dcp-install-app{height:30px;border:1px solid rgba(201,166,90,.6);background:transparent;color:#d8b663;border-radius:2px;padding:0 9px;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;cursor:pointer}
.dcp-install-app[hidden]{display:none!important}
.dcp-pwa-controls-sidebar{width:100%;padding:7px 0;justify-content:space-between}.dcp-pwa-controls-sidebar .dcp-theme-select{width:112px}

.dcp-pwa-update{position:fixed;left:50%;bottom:max(20px,env(safe-area-inset-bottom));transform:translateX(-50%);z-index:99999;display:flex;align-items:center;gap:18px;width:min(470px,calc(100% - 28px));background:#111114;color:#fff;border:1px solid #3b3527;box-shadow:0 18px 55px rgba(0,0,0,.36);padding:12px 14px;border-radius:5px}.dcp-pwa-update div{display:grid;gap:2px;min-width:0}.dcp-pwa-update strong{font-size:12px}.dcp-pwa-update span{font-size:10px;color:#aaa}.dcp-pwa-update button{margin-left:auto;border:0;background:#c9a65a;color:#111;padding:8px 11px;font-size:10px;font-weight:850;cursor:pointer}

/* Public platform: theme changes UI surfaces, never creator artwork/video itself. */
html[data-dcp-theme="dark"] body.dcp-platform{background:#09090a;color:#f2f0eb}
html[data-dcp-theme="dark"] body.dcp-platform .dcp-section:not(.dcp-dark):not(.dcp-teaching){background:#0d0d0f;color:#f3f1ec}
html[data-dcp-theme="dark"] body.dcp-platform .dcp-soft{background:#111113;color:#f3f1ec}
html[data-dcp-theme="dark"] body.dcp-platform .dcp-card p,
html[data-dcp-theme="dark"] body.dcp-platform .dcp-feature p,
html[data-dcp-theme="dark"] body.dcp-platform .dcp-directory-copy p,
html[data-dcp-theme="dark"] body.dcp-platform .dcp-event-card p{color:#a9a7a1}
html[data-dcp-theme="dark"] body.dcp-platform .dcp-creator,
html[data-dcp-theme="dark"] body.dcp-platform .dcp-directory-card,
html[data-dcp-theme="dark"] body.dcp-platform .dcp-event-card,
html[data-dcp-theme="dark"] body.dcp-platform .dcp-upnext-hero,
html[data-dcp-theme="dark"] body.dcp-platform .dcp-uprow{background:#151517;border-color:#2c2c2f;color:#f5f3ef}
html[data-dcp-theme="dark"] body.dcp-platform .dcp-creator p,
html[data-dcp-theme="dark"] body.dcp-platform .dcp-upnext-hero p,
html[data-dcp-theme="dark"] body.dcp-platform .dcp-uprow p{color:#aaa}

html[data-dcp-theme="light"] body.dcp-platform{background:#f5f3ee;color:#171717}
html[data-dcp-theme="light"] body.dcp-platform .dcp-section:not(.dcp-dark):not(.dcp-teaching){background:#f5f3ee;color:#171717}
html[data-dcp-theme="light"] body.dcp-platform .dcp-soft{background:#ebe8df;color:#171717}
html[data-dcp-theme="light"] body.dcp-platform .dcp-creator,
html[data-dcp-theme="light"] body.dcp-platform .dcp-directory-card,
html[data-dcp-theme="light"] body.dcp-platform .dcp-event-card,
html[data-dcp-theme="light"] body.dcp-platform .dcp-upnext-hero,
html[data-dcp-theme="light"] body.dcp-platform .dcp-uprow{background:#fff;border-color:#d9d5ca;color:#171717}
html[data-dcp-theme="light"] body.dcp-platform .dcp-empty-state{background:#fff;color:#666}
html[data-dcp-theme="light"] body.dcp-platform .dcp-empty-state strong{color:#222}
/* Streaming/watch surfaces stay cinema-dark in either theme. */
html[data-dcp-theme="light"] body.dcp-creator-live-page,
html[data-dcp-theme="light"] body.dcp-creator-tunein-page,
html[data-dcp-theme="light"] body.dcp-media-page{background:#f4f1ea}

/* Creator Studio modules already use tokens: switch the token set. */
html[data-dcp-theme="light"] body.dcp-studio-app{--dcp-studio-bg:#f4f1ea;--dcp-studio-panel:#fff;--dcp-studio-panel-2:#f8f6f1;--dcp-studio-border:#d8d3c8;--dcp-studio-muted:#6f6c66;--dcp-studio-text:#171717}
html[data-dcp-theme="light"] body.dcp-studio-app .dcp-studio-shell{background:radial-gradient(circle at 82% -10%,color-mix(in srgb,var(--dcp-studio-primary) 10%,transparent),transparent 30%),#f4f1ea!important}
html[data-dcp-theme="light"] body.dcp-studio-app .dcp-studio-topbar{background:rgba(255,255,255,.96);border-bottom-color:#ddd8ce}
html[data-dcp-theme="light"] body.dcp-studio-app .dcp-studio-brand-copy small{color:#706e68}
html[data-dcp-theme="light"] body.dcp-studio-app .dcp-studio-top-link,
html[data-dcp-theme="light"] body.dcp-studio-app .dcp-studio-logout{background:#fff;color:#222!important;border-color:#cbc6bb}
html[data-dcp-theme="light"] body.dcp-studio-app input,
html[data-dcp-theme="light"] body.dcp-studio-app select,
html[data-dcp-theme="light"] body.dcp-studio-app textarea{background:#fff!important;color:#171717!important;border-color:#cbc6bb!important}
html[data-dcp-theme="light"] body.dcp-studio-app .dcp-theme-select{background:#fff!important;color:#171717!important;border-color:#cbc6bb!important}

/* Dashboard was intentionally light; add the matching dark mode without changing its geometry. */
html[data-dcp-theme="dark"] body.dcp-studio-dashboard-app{background:#080809!important;color:#f3f1ec}
html[data-dcp-theme="dark"] body.dcp-studio-dashboard-app .dcp-dashboard-main{background:#0c0c0e!important;color:#f3f1ec}
html[data-dcp-theme="dark"] body.dcp-studio-dashboard-app .dcp-dashboard-main h1,
html[data-dcp-theme="dark"] body.dcp-studio-dashboard-app .dcp-dashboard-main-head p{color:#f3f1ec!important}
html[data-dcp-theme="dark"] body.dcp-studio-dashboard-app .dcp-metric-card,
html[data-dcp-theme="dark"] body.dcp-studio-dashboard-app .dcp-dashboard-panel{background:#121214;border-color:#2a2a2d;box-shadow:none}
html[data-dcp-theme="dark"] body.dcp-studio-dashboard-app .dcp-dashboard-panel-head{border-bottom-color:#29292c}
html[data-dcp-theme="dark"] body.dcp-studio-dashboard-app .dcp-dashboard-panel-head h2,
html[data-dcp-theme="dark"] body.dcp-studio-dashboard-app .dcp-metric-card strong,
html[data-dcp-theme="dark"] body.dcp-studio-dashboard-app .dcp-dashboard-content-copy strong,
html[data-dcp-theme="dark"] body.dcp-studio-dashboard-app .dcp-dashboard-empty strong{color:#f5f3ef!important}
html[data-dcp-theme="dark"] body.dcp-studio-dashboard-app .dcp-dashboard-content-item{border-bottom-color:#27272a}
html[data-dcp-theme="dark"] body.dcp-studio-dashboard-app .dcp-dashboard-edit,
html[data-dcp-theme="dark"] body.dcp-studio-dashboard-app .dcp-dashboard-preview{background:#19191c;color:#c9c7c1!important;border-color:#353538}
html[data-dcp-theme="dark"] body.dcp-studio-dashboard-app .dcp-quick-action{background:#151517;color:#f5f3ef!important;border-color:#303033}
html[data-dcp-theme="dark"] body.dcp-studio-dashboard-app .dcp-quick-action strong{color:#f5f3ef!important}
html[data-dcp-theme="dark"] body.dcp-studio-dashboard-app .dcp-quick-action span{color:#aaa}
html[data-dcp-theme="dark"] body.dcp-studio-dashboard-app .dcp-metric-action{background:#202023;color:#aaa}

@media(display-mode:standalone){
  .dcp-header,.dcp-studio-topbar{padding-top:env(safe-area-inset-top)}
  body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
}
@media(max-width:760px){
  .dcp-pwa-controls-header .dcp-install-app{display:none!important}
  .dcp-pwa-controls-header .dcp-theme-select{min-width:67px;width:67px;font-size:8px;padding-left:5px}
  .dcp-pwa-controls-studio .dcp-install-app{display:none!important}
  .dcp-pwa-controls-studio .dcp-theme-select{min-width:70px;width:70px}
}
.dcp-dashboard-head-actions{display:flex;align-items:center;gap:9px}.dcp-pwa-controls-dashboard .dcp-theme-select{background:#fff;color:#222;border-color:#d2cec4}.dcp-pwa-controls-dashboard .dcp-install-app{border-color:#a88948;color:#725a2c}
html[data-dcp-theme="dark"] body.dcp-studio-dashboard-app .dcp-pwa-controls-dashboard .dcp-theme-select{background:#151517;color:#f3f1ec;border-color:#36363a}
@media(max-width:480px){.dcp-dashboard-head-actions{align-items:flex-end;flex-direction:column}.dcp-pwa-controls-dashboard .dcp-install-app{display:none!important}.dcp-pwa-controls-dashboard .dcp-theme-select{min-width:72px;width:72px}}

/* v0.1.47 — visible theme surfaces + standalone app navigation */
:root{
  --dcp-theme-bg:#09090a;
  --dcp-theme-surface:#111113;
  --dcp-theme-surface-2:#171719;
  --dcp-theme-text:#f4f2ed;
  --dcp-theme-muted:#aaa7a0;
  --dcp-theme-border:#2d2d30;
  --dcp-theme-header:#080809;
}
html[data-dcp-theme="light"]{
  --dcp-theme-bg:#f4f1ea;
  --dcp-theme-surface:#ffffff;
  --dcp-theme-surface-2:#ebe7dd;
  --dcp-theme-text:#171717;
  --dcp-theme-muted:#68655f;
  --dcp-theme-border:#d5d0c5;
  --dcp-theme-header:#fbfaf7;
}

/* Public shell visibly follows the chosen theme. Hero artwork itself is intentionally unchanged. */
html[data-dcp-theme] body.dcp-platform{background:var(--dcp-theme-bg)!important;color:var(--dcp-theme-text)!important;transition:background-color .2s ease,color .2s ease}
html[data-dcp-theme="light"] body.dcp-platform .dcp-header{background:rgba(251,250,247,.97)!important;border-bottom-color:#d8d1c2!important;color:#171717!important}
html[data-dcp-theme="light"] body.dcp-platform .dcp-brand-context,
html[data-dcp-theme="light"] body.dcp-platform .dcp-header nav a,
html[data-dcp-theme="light"] body.dcp-platform .dcp-icon-link,
html[data-dcp-theme="light"] body.dcp-platform .dcp-bell,
html[data-dcp-theme="light"] body.dcp-platform .dcp-mobile-menu-toggle{color:#171717!important}
html[data-dcp-theme="light"] body.dcp-platform .dcp-header nav{background:var(--dcp-theme-header)}
html[data-dcp-theme="light"] body.dcp-platform .dcp-header nav a{border-bottom-color:#ded8cc}
html[data-dcp-theme="light"] body.dcp-platform .dcp-theme-select{background:#fff;color:#171717;border-color:#cfc8bb}
html[data-dcp-theme="light"] body.dcp-platform .dcp-home-live,
html[data-dcp-theme="light"] body.dcp-platform .dcp-home-new,
html[data-dcp-theme="light"] body.dcp-platform .dcp-home-events,
html[data-dcp-theme="light"] body.dcp-platform .dcp-section.dcp-dark:not(.dcp-teaching){background:#f4f1ea!important;color:#171717!important}
html[data-dcp-theme="light"] body.dcp-platform .dcp-home-live .dcp-card h3,
html[data-dcp-theme="light"] body.dcp-platform .dcp-home-new .dcp-feature h3,
html[data-dcp-theme="light"] body.dcp-platform .dcp-home-events h3,
html[data-dcp-theme="light"] body.dcp-platform .dcp-section-head h2,
html[data-dcp-theme="light"] body.dcp-platform .dcp-section-head a{color:#171717!important}
html[data-dcp-theme="light"] body.dcp-platform .dcp-home-live .dcp-card p,
html[data-dcp-theme="light"] body.dcp-platform .dcp-home-new .dcp-feature p,
html[data-dcp-theme="light"] body.dcp-platform .dcp-home-events p{color:#6f6b64!important}
html[data-dcp-theme="light"] body.dcp-platform .dcp-event-visual-card,
html[data-dcp-theme="light"] body.dcp-platform .dcp-creator,
html[data-dcp-theme="light"] body.dcp-platform .dcp-directory-card,
html[data-dcp-theme="light"] body.dcp-platform .dcp-upnext-hero,
html[data-dcp-theme="light"] body.dcp-platform .dcp-uprow{background:#fff!important;border-color:#d7d0c4!important;color:#171717!important}
html[data-dcp-theme="light"] body.dcp-platform .dcp-event-visual-body h3{color:#171717!important}
html[data-dcp-theme="light"] body.dcp-platform .dcp-event-visual-body p{color:#6f6b64!important}
html[data-dcp-theme="light"] body.dcp-platform .dcp-creator-nav{background:#f7f4ed!important;border-bottom-color:#d8d1c4!important;color:#171717!important}
html[data-dcp-theme="light"] body.dcp-platform .dcp-creator-nav a{color:#171717!important}
html[data-dcp-theme="light"] body.dcp-platform .dcp-footer{background:#eee9df!important;color:#36332e!important;border-top-color:#d0c6b4!important}
html[data-dcp-theme="light"] body.dcp-platform .dcp-footer small{color:#77716a!important}

/* Tune In and media pages use light application chrome while media/artwork remains untouched. */
html[data-dcp-theme="light"] body.dcp-creator-tunein-page .dcp-tunein-page,
html[data-dcp-theme="light"] body.dcp-tunein-index-page .dcp-global-tunein{background:#f4f1ea!important;color:#171717!important}
html[data-dcp-theme="light"] body.dcp-creator-tunein-page .dcp-tunein-hero,
html[data-dcp-theme="light"] body.dcp-tunein-index-page .dcp-directory-hero{background:linear-gradient(135deg,#f3eee3,#e5ddcd)!important;color:#171717!important;border-color:#d4c7ad!important}
html[data-dcp-theme="light"] body.dcp-creator-tunein-page .dcp-tunein-hero p{color:#615d55!important}
html[data-dcp-theme="light"] body.dcp-creator-tunein-page .dcp-tunein-browser,
html[data-dcp-theme="light"] body.dcp-creator-tunein-page .dcp-tunein-player{background:#fff!important;border-color:#d3cdc1!important;color:#171717!important}
html[data-dcp-theme="light"] body.dcp-creator-tunein-page .dcp-tunein-search input{background:#fff!important;color:#171717!important;border-color:#cec7ba!important}
html[data-dcp-theme="light"] body.dcp-creator-tunein-page .dcp-tunein-item{background:#faf8f3!important;color:#171717!important;border-color:#ddd6c9!important}
html[data-dcp-theme="light"] body.dcp-creator-tunein-page .dcp-tunein-item:hover,
html[data-dcp-theme="light"] body.dcp-creator-tunein-page .dcp-tunein-item.is-current{background:#f1eadb!important}
html[data-dcp-theme="light"] body.dcp-creator-tunein-page .dcp-tunein-controls button:not(.dcp-tunein-play){background:#f7f4ed!important;color:#171717!important;border-color:#d2cabd!important}
html[data-dcp-theme="light"] body.dcp-creator-tunein-page .dcp-tunein-now small,
html[data-dcp-theme="light"] body.dcp-creator-tunein-page .dcp-tunein-message,
html[data-dcp-theme="light"] body.dcp-creator-tunein-page .dcp-tunein-catalog-status{color:#6e6960!important}

/* Creator Studio: make the selected theme unmistakable across all migrated modules. */
html[data-dcp-theme="light"] body.dcp-studio-app{background:#f4f1ea!important;color:#171717!important}
html[data-dcp-theme="light"] body.dcp-studio-app .dcp-studio-shell{background:radial-gradient(circle at 82% -10%,rgba(201,166,90,.11),transparent 30%),#f4f1ea!important}
html[data-dcp-theme="light"] body.dcp-studio-app .dcp-studio-panel,
html[data-dcp-theme="light"] body.dcp-studio-app .dcp-studio-status-card,
html[data-dcp-theme="light"] body.dcp-studio-app .dcp-form-section,
html[data-dcp-theme="light"] body.dcp-studio-app .dcp-side-card,
html[data-dcp-theme="light"] body.dcp-studio-app .dcp-tunein-card,
html[data-dcp-theme="light"] body.dcp-studio-app .dcp-tunein-side-card{background:#fff!important;border-color:#d6d0c5!important;color:#171717!important}
html[data-dcp-theme="light"] body.dcp-studio-app .dcp-studio-hero p,
html[data-dcp-theme="light"] body.dcp-studio-app .dcp-studio-heading p,
html[data-dcp-theme="light"] body.dcp-studio-app .dcp-section-title p,
html[data-dcp-theme="light"] body.dcp-studio-app .dcp-tunein-card p,
html[data-dcp-theme="light"] body.dcp-studio-app small{color:#69665f}
html[data-dcp-theme="light"] body.dcp-studio-app .dcp-studio-module-nav a,
html[data-dcp-theme="light"] body.dcp-studio-app .dcp-studio-module-nav span{background:#fff;border-color:#d3cdc1;color:#35322d}
html[data-dcp-theme="light"] body.dcp-studio-app .dcp-studio-module-nav .is-active{background:var(--dcp-studio-accent);border-color:var(--dcp-studio-accent);color:#090909}

/* Global Tune In directory */
.dcp-tunein-directory-section{min-height:52vh;background:var(--dcp-theme-bg);color:var(--dcp-theme-text)}
.dcp-tunein-directory-card small{display:block;margin-top:12px;color:var(--dcp-theme-muted);font-size:11px}

/* Installed-app navigation. iOS standalone mode has no browser reload/back chrome. */
.dcp-pwa-appbar{display:none}
html.dcp-pwa-standalone body{padding-bottom:calc(66px + env(safe-area-inset-bottom))!important}
html.dcp-pwa-standalone .dcp-pwa-appbar{position:fixed;z-index:100000;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(5,1fr);min-height:66px;padding:5px 6px calc(5px + env(safe-area-inset-bottom));background:rgba(8,8,9,.97);border-top:1px solid rgba(201,166,90,.3);backdrop-filter:blur(16px);box-shadow:0 -10px 30px rgba(0,0,0,.18)}
.dcp-pwa-appbar a,.dcp-pwa-appbar button{min-width:0;border:0;background:transparent;color:#e9e6df;text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font:inherit;cursor:pointer;padding:4px 2px}
.dcp-pwa-appbar span{font-size:19px;line-height:1;color:#d4af58}.dcp-pwa-appbar b{font-size:9px;line-height:1.1;font-weight:800;white-space:nowrap}
html[data-dcp-theme="light"].dcp-pwa-standalone .dcp-pwa-appbar{background:rgba(251,250,247,.98);border-top-color:#d3c7af;box-shadow:0 -8px 26px rgba(48,39,20,.1)}
html[data-dcp-theme="light"].dcp-pwa-standalone .dcp-pwa-appbar a,
html[data-dcp-theme="light"].dcp-pwa-standalone .dcp-pwa-appbar button{color:#25221e}

@media(max-width:820px){
  html[data-dcp-theme="light"] body.dcp-platform .dcp-header nav{border-color:#d9d2c6!important}
}

/* v0.1.48 — TLMUK-style standalone pull-to-refresh */
html.dcp-pwa-standalone .dcp-pwa-appbar{grid-template-columns:repeat(4,1fr)}
.dcp-pwa-pull-refresh{display:none}
html.dcp-pwa-standalone .dcp-pwa-pull-refresh{
  --dcp-pull-distance:0px;
  --dcp-pull-progress:0;
  --dcp-pull-rotation:0deg;
  position:fixed;
  z-index:100001;
  left:50%;
  top:calc(env(safe-area-inset-top) + 7px);
  display:flex;
  align-items:center;
  gap:7px;
  min-height:34px;
  padding:7px 11px;
  border:1px solid rgba(201,166,90,.34);
  border-radius:999px;
  background:rgba(8,8,9,.94);
  color:#f0ede6;
  box-shadow:0 8px 28px rgba(0,0,0,.24);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  opacity:var(--dcp-pull-progress);
  transform:translate(-50%,calc(-54px + var(--dcp-pull-distance)));
  pointer-events:none;
  transition:opacity .12s ease,transform .12s ease,border-color .12s ease;
}
html.dcp-pwa-standalone .dcp-pwa-pull-refresh:not(.is-visible){opacity:0;transform:translate(-50%,-54px)}
.dcp-pwa-pull-refresh span{width:18px;height:18px;display:grid;place-items:center;color:#d4af58;font-size:16px;line-height:1;transform:rotate(var(--dcp-pull-rotation));transition:transform .12s ease}
.dcp-pwa-pull-refresh b{font-size:10px;line-height:1;font-weight:800;white-space:nowrap;letter-spacing:.01em}
.dcp-pwa-pull-refresh.is-armed{border-color:rgba(201,166,90,.72)}
.dcp-pwa-pull-refresh.is-refreshing span{animation:dcp-pwa-spin .7s linear infinite;transform:none}
@keyframes dcp-pwa-spin{to{transform:rotate(360deg)}}
html[data-dcp-theme="light"].dcp-pwa-standalone .dcp-pwa-pull-refresh{background:rgba(251,250,247,.96);color:#25221e;border-color:#d4c5a7;box-shadow:0 8px 24px rgba(48,39,20,.12)}
@media(prefers-reduced-motion:reduce){html.dcp-pwa-standalone .dcp-pwa-pull-refresh,.dcp-pwa-pull-refresh span{transition:none}.dcp-pwa-pull-refresh.is-refreshing span{animation-duration:1.2s}}

/* v0.1.49 — consolidated Preferences + cleaner account/navigation chrome */
.dcp-preferences-shortcut{display:inline-flex;align-items:center;height:30px;padding:0 10px;border:1px solid rgba(201,166,90,.42);border-radius:2px;color:#d7b766;text-decoration:none;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
html[data-dcp-theme="light"] .dcp-preferences-shortcut{color:#70582c;border-color:#cbb987;background:#fff}

.dcp-account-menu{position:relative}.dcp-account-menu summary{list-style:none;display:flex;align-items:center;gap:6px;min-height:34px;padding:0 9px;border:1px solid rgba(255,255,255,.16);border-radius:3px;color:#eee;cursor:pointer;font-size:11px}.dcp-account-menu summary::-webkit-details-marker{display:none}.dcp-account-menu summary span{color:#d4af58;font-size:16px}.dcp-account-menu summary b{font-size:10px}.dcp-account-popover{position:absolute;right:0;top:calc(100% + 9px);z-index:1000;width:235px;padding:7px;background:#111113;border:1px solid #303034;box-shadow:0 18px 45px rgba(0,0,0,.35);border-radius:5px}.dcp-account-popover a{display:grid;gap:2px;padding:10px 11px;color:#f3f1ec!important;text-decoration:none;border-radius:3px}.dcp-account-popover a:hover{background:#1b1b1e}.dcp-account-popover strong{font-size:11px}.dcp-account-popover small{font-size:9px;color:#999}
html[data-dcp-theme="light"] body.dcp-platform .dcp-account-menu summary{color:#222;border-color:#d1cabd;background:#fff}html[data-dcp-theme="light"] body.dcp-platform .dcp-account-popover{background:#fff;border-color:#d4cec2;box-shadow:0 16px 36px rgba(56,44,18,.14)}html[data-dcp-theme="light"] body.dcp-platform .dcp-account-popover a{color:#222!important}html[data-dcp-theme="light"] body.dcp-platform .dcp-account-popover a:hover{background:#f3efe7}
.dcp-bell{position:relative}.dcp-bell span{position:absolute;right:-5px;top:-6px;min-width:15px;height:15px;padding:0 3px;border-radius:999px;display:grid;place-items:center;background:#ef3340;color:#fff;font-size:8px;font-weight:900}

.dcp-preferences-page{min-height:70vh;background:var(--dcp-theme-bg);color:var(--dcp-theme-text)}.dcp-preferences-hero{padding:62px 0 42px;background:linear-gradient(135deg,#15120e,#30230f 55%,#0b0b0c);color:#fff;border-bottom:1px solid rgba(201,166,90,.25)}.dcp-preferences-hero span{font-size:10px;font-weight:850;letter-spacing:.18em;color:#d4af58}.dcp-preferences-hero h1{font-size:clamp(38px,5vw,64px);margin:8px 0 10px;letter-spacing:-.04em}.dcp-preferences-hero p{max-width:720px;margin:0;color:#c9c6be;line-height:1.55}.dcp-preferences-grid{display:grid;grid-template-columns:180px minmax(0,1fr);gap:28px;padding-top:30px;padding-bottom:56px}.dcp-preferences-nav{position:sticky;top:92px;align-self:start;display:grid;gap:4px}.dcp-preferences-nav a{padding:10px 12px;border-left:2px solid transparent;color:var(--dcp-theme-muted);text-decoration:none;font-size:11px;font-weight:750}.dcp-preferences-nav a:hover{border-left-color:#c9a65a;color:var(--dcp-theme-text)}.dcp-preferences-content{display:grid;gap:16px}.dcp-preference-card{scroll-margin-top:92px;background:var(--dcp-theme-surface);border:1px solid var(--dcp-theme-border);border-radius:7px;padding:22px}.dcp-preference-heading{display:flex;gap:14px;align-items:flex-start;padding-bottom:18px;border-bottom:1px solid var(--dcp-theme-border);margin-bottom:18px}.dcp-preference-heading>span{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:#c9a65a;color:#111;font-size:10px;font-weight:900}.dcp-preference-heading h2{margin:0 0 4px;font-size:21px}.dcp-preference-heading p{margin:0;color:var(--dcp-theme-muted);font-size:12px;line-height:1.5}
.dcp-theme-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.dcp-theme-options button{display:grid;text-align:left;gap:5px;min-height:88px;padding:15px;border:1px solid var(--dcp-theme-border);border-radius:5px;background:var(--dcp-theme-surface-2);color:var(--dcp-theme-text);cursor:pointer}.dcp-theme-options button strong{font-size:13px}.dcp-theme-options button small{color:var(--dcp-theme-muted);font-size:10px;line-height:1.4}.dcp-theme-options button[aria-pressed="true"]{border-color:#c9a65a;box-shadow:inset 0 0 0 1px #c9a65a;background:color-mix(in srgb,#c9a65a 12%,var(--dcp-theme-surface))}
.dcp-notification-status-row,.dcp-app-preference-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid var(--dcp-theme-border)}.dcp-notification-status-row div,.dcp-app-preference-row div{display:grid;gap:3px}.dcp-notification-status-row strong,.dcp-app-preference-row strong{font-size:12px}.dcp-notification-status-row small,.dcp-app-preference-row small{font-size:10px;color:var(--dcp-theme-muted)}.dcp-notification-status-row>b{font-size:9px;padding:5px 7px;border-radius:999px;background:#29292c;color:#aaa}.dcp-notification-status-row>b.is-ready{background:#163421;color:#73dc97}.dcp-preference-toggles{margin-top:8px}.dcp-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--dcp-theme-border);cursor:pointer}.dcp-toggle-row span{display:grid;gap:3px}.dcp-toggle-row strong{font-size:12px}.dcp-toggle-row small{font-size:10px;color:var(--dcp-theme-muted)}.dcp-toggle-row input{position:absolute;opacity:0;pointer-events:none}.dcp-toggle-row i{position:relative;flex:0 0 38px;width:38px;height:22px;border-radius:999px;background:#5a5a5e;transition:.18s}.dcp-toggle-row i:after{content:"";position:absolute;width:16px;height:16px;left:3px;top:3px;border-radius:50%;background:#fff;transition:.18s}.dcp-toggle-row input:checked+i{background:#c9a65a}.dcp-toggle-row input:checked+i:after{transform:translateX(16px)}.dcp-toggle-row input:disabled+i{opacity:.4}.dcp-toggle-row input:disabled~*{opacity:.5}.dcp-preference-footnote{margin:14px 0 0;color:var(--dcp-theme-muted);font-size:10px}.dcp-account-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.dcp-account-actions>div{display:grid;gap:3px;margin-right:auto}.dcp-account-actions>div strong{font-size:13px}.dcp-account-actions>div small{font-size:10px;color:var(--dcp-theme-muted)}.dcp-account-actions .dcp-btn-ghost{color:var(--dcp-theme-text);border-color:var(--dcp-theme-border)}
html[data-dcp-theme="light"] .dcp-notification-status-row>b{background:#e9e5dc;color:#665f53}html[data-dcp-theme="light"] .dcp-notification-status-row>b.is-ready{background:#dff2e5;color:#235d35}
@media(max-width:760px){.dcp-account-menu summary b{display:none}.dcp-account-menu summary{padding:0 8px}.dcp-account-popover{right:-4px}.dcp-preferences-grid{grid-template-columns:1fr;gap:12px;padding-top:18px}.dcp-preferences-nav{position:static;display:flex;overflow-x:auto;gap:2px;padding-bottom:3px}.dcp-preferences-nav a{white-space:nowrap;border-left:0;border-bottom:2px solid transparent;padding:8px 10px}.dcp-preferences-nav a:hover{border-bottom-color:#c9a65a}.dcp-preferences-hero{padding:42px 0 30px}.dcp-theme-options{grid-template-columns:1fr}.dcp-preference-card{padding:17px}.dcp-preferences-shortcut{font-size:8px;padding:0 8px}.dcp-notification-status-row,.dcp-app-preference-row{align-items:flex-start}.dcp-account-actions{align-items:stretch}.dcp-account-actions>div{width:100%}}
