/* Public-content capability, not the broader unauthenticated/auth route scope.
   Loaded after the dark foundation and before component CSS. Public adapters
   retain their exact dark fallbacks; no new role is defined in dark mode. */
html[data-theme="light"][data-theme-surface="public"],
html[data-theme="light"][data-theme-surface="auth"],
html[data-theme="light"][data-theme-surface="panel"],
html[data-theme="light"][data-theme-surface="declaration"],
html[data-theme="light"][data-theme-surface="detail"],
html[data-theme="light"][data-theme-surface="photo"],
html[data-theme="light"][data-theme-surface="payment"]{
  --yk-public-page:#f6f2eb;
  --yk-public-page-rgb:246,242,235;
  --yk-public-surface:#fffdf9;
  --yk-public-surface-rgb:255,253,249;
  --yk-public-elevated:var(--yk-public-surface);
  --yk-public-secondary:#eee7de;
  --yk-public-surface-secondary:var(--yk-public-secondary);
  --yk-public-text:#302924;
  --yk-public-muted:#6e645d;
  --yk-public-soft:#70645b;
  --yk-public-link:var(--yk-brand-primary);
  --yk-public-on-brand:#fff;
  --yk-public-border:rgba(80,62,46,.18);
  --yk-public-border-strong:#8b7c6f;
  --yk-public-focus-ring:var(--yk-brand-primary);
  --yk-public-focus:var(--yk-public-focus-ring);
  --yk-public-focus-soft:rgba(134,26,51,.15);
  --yk-public-focus-shadow:0 0 0 3px var(--yk-public-focus-ring),0 0 0 7px var(--yk-public-focus-soft);
  --yk-public-divider:linear-gradient(90deg,var(--yk-public-border),transparent);
  --yk-public-gold:#7d5721;
  --yk-public-shadow:0 12px 32px rgba(58,39,25,.09),inset 0 1px 0 rgba(255,255,255,.7);
  --yk-public-shadow-panel:0 22px 54px rgba(58,39,25,.14),inset 0 1px 0 rgba(255,255,255,.8);
  --yk-public-overlay:rgba(48,41,36,.42);
  --yk-public-field-bg:var(--yk-public-surface);
  --yk-public-field-hover:var(--yk-public-secondary);
  --yk-public-field-text:var(--yk-public-text);
  --yk-public-placeholder:var(--yk-public-muted);
  --yk-public-success-bg:#e8f2eb;
  --yk-public-success-border:#477557;
  --yk-public-success-text:#28513a;
  --yk-public-warning-bg:#f6ecd9;
  --yk-public-warning-border:#987433;
  --yk-public-warning-text:#71501b;
  --yk-public-error-bg:#f9e9e8;
  --yk-public-error-border:#aa5452;
  --yk-public-error-text:#8b2f32;
  --yk-public-info-bg:#eaf0f4;
  --yk-public-info-border:#61798e;
  --yk-public-info-text:#3c586d;
  /* Shared Light navigation paint; genuine logo variants own their ink. */
  --yk-public-nav-bg:linear-gradient(180deg,rgba(var(--yk-public-surface-rgb),.98),rgba(var(--yk-public-page-rgb),.98));
  --yk-public-nav-text:var(--yk-public-text);
  --yk-public-nav-border:var(--yk-public-border);
  --yk-public-nav-shadow:0 3px 16px rgba(58,39,25,.06);
  --yk-public-nav-link:var(--yk-public-text);
  --yk-public-nav-link-hover:var(--yk-public-link);
  --yk-public-nav-link-active:var(--yk-public-link);
  --yk-public-nav-divider:linear-gradient(180deg,transparent,var(--yk-public-border) 20%,var(--yk-public-border) 80%,transparent);
  --yk-public-nav-active-shadow:none;
  --yk-public-nav-marker-bg:linear-gradient(90deg,transparent,var(--yk-public-link),transparent);
  --yk-public-nav-marker-shadow:none;
  --yk-public-nav-control-text:var(--yk-public-text);
  --yk-public-nav-control-bg:var(--yk-public-surface);
  --yk-public-nav-control-hover-bg:var(--yk-public-secondary);
  --yk-public-nav-control-border:var(--yk-public-border-strong);
  --yk-public-nav-control-hover-border:var(--yk-public-link);
  --yk-public-nav-focus-ring:var(--yk-public-focus-ring);
  --yk-public-nav-focus-soft:var(--yk-public-focus-soft);
  --yk-public-drawer-bg:var(--yk-public-elevated);
  --yk-public-drawer-border:var(--yk-public-border);
  --yk-public-drawer-shadow:var(--yk-public-shadow-panel);
  --yk-public-drawer-text:var(--yk-public-text);
  --yk-public-drawer-muted:var(--yk-public-muted);
  --yk-public-drawer-link:var(--yk-public-text);
  --yk-public-drawer-link-hover:var(--yk-public-link);
  --yk-public-drawer-link-active:var(--yk-public-link);
  --yk-public-drawer-link-bg:var(--yk-public-elevated);
  --yk-public-drawer-link-border:var(--yk-public-border);
  --yk-public-drawer-link-active-bg:rgba(134,26,51,.08);
  --yk-public-drawer-link-active-border:rgba(134,26,51,.3);
  --yk-public-drawer-control-bg:var(--yk-public-secondary);
  --yk-public-drawer-control-hover-bg:var(--yk-public-secondary);
  --yk-public-drawer-control-border:var(--yk-public-border-strong);
  --yk-public-drawer-overlay:var(--yk-public-overlay);
  --yk-public-drawer-active-shadow:none;
  --yk-public-drawer-marker-bg:linear-gradient(90deg,transparent,var(--yk-public-link),transparent);
  --yk-public-drawer-marker-shadow:none;
  --yk-public-drawer-action-text:var(--yk-public-text);
  --yk-public-footer-bg:var(--yk-public-secondary);
  --yk-public-footer-text:var(--yk-public-muted);
  --yk-public-footer-link:var(--yk-public-link);
  --yk-public-footer-border:var(--yk-public-border);
  --yk-public-footer-shadow:none;
  --yk-public-footer-overlay:var(--yk-public-secondary);
  --yk-wallpaper-fallback:var(--yk-public-page);
  color-scheme:light;
  scrollbar-color:var(--yk-public-border-strong) var(--yk-public-page);
}

/* Genuine Light artwork. Scope + surface specificity also wins over the later
   panel/onboarding aliases, without changing any Dark or admin declarations. */
html[data-theme="light"]:is([data-theme-scope="public"],[data-theme-scope="member"]):is([data-theme-surface="public"],[data-theme-surface="auth"],[data-theme-surface="panel"],[data-theme-surface="declaration"],[data-theme-surface="detail"],[data-theme-surface="photo"],[data-theme-surface="payment"]){
  --yk-wallpaper-desktop:url("../img/wallpapers/wallpaper_acikzemin_pc.png?v=20261006");
  --yk-wallpaper-mobile:url("../img/wallpapers/wallpaper_acikzemin_mobil.png?v=20261006");
  --yk-wallpaper-image:var(--yk-wallpaper-desktop);
  --yk-wallpaper-public-overlay:linear-gradient(180deg,rgba(246,242,235,.18),rgba(246,242,235,.30));
  --yk-wallpaper-member-overlay:var(--yk-wallpaper-public-overlay);
  --yk-wallpaper-overlay:var(--yk-wallpaper-public-overlay);
}
html[data-theme="light"][data-theme-scope="member"]:is([data-theme-surface="panel"],[data-theme-surface="declaration"],[data-theme-surface="detail"],[data-theme-surface="photo"],[data-theme-surface="payment"]) body.user-panel-theme{
  --yk-wallpaper-member-overlay:var(--yk-wallpaper-public-overlay);
  --yk-wallpaper-overlay:var(--yk-wallpaper-member-overlay);
}
/* Legal copy has no enclosing card. A softer backdrop keeps its small brand
   labels readable even where they cross the burgundy curtain crop. */
html[data-theme="light"][data-theme-scope="public"][data-theme-surface="public"] body.legal-page{
  --yk-wallpaper-overlay:linear-gradient(180deg,rgba(246,242,235,.50),rgba(246,242,235,.62));
}
html[data-theme="light"][data-theme-scope="public"][data-theme-surface="public"] body.legal-page .legal-lead{
  color:var(--yk-public-text);
}
/* Auth uses the same wallpaper, not a washed-out Dark video underneath it. */
html[data-theme="light"][data-theme-scope="public"][data-theme-surface="auth"]{
  --yk-auth-hero-veil:none;
}
html[data-theme="light"][data-theme-scope="public"][data-theme-surface="auth"] .auth-hero__video{
  display:none;
}
/* Resolve artwork URLs in this stylesheet, not in the detail page's inline
   background rule (where relative custom-property URLs use the document URL). */
html[data-theme="light"][data-theme-scope="member"][data-theme-surface="detail"].yk-member-bg-root body.user-panel-theme.page--with-bg.page--detayli-form{
  background-image:var(--yk-wallpaper-overlay),var(--yk-wallpaper-image) !important;
}
@media (max-width:900px){
  html[data-theme="light"]:is([data-theme-scope="public"],[data-theme-scope="member"]):is([data-theme-surface="public"],[data-theme-surface="auth"],[data-theme-surface="panel"],[data-theme-surface="declaration"],[data-theme-surface="detail"],[data-theme-surface="photo"],[data-theme-surface="payment"]){
    --yk-wallpaper-image:var(--yk-wallpaper-mobile);
  }
  /* Mobile member pages already paint on the fixed root pseudo-layer. The
     detail page's opaque fallback must not cover that existing layer. */
  html[data-theme="light"][data-theme-scope="member"][data-theme-surface="detail"].yk-member-bg-root body.user-panel-theme.page--with-bg.page--detayli-form{
    background-color:transparent !important;
    background-image:none !important;
  }
  /* Pages without the root painter retain the existing fixed body fallback.
     Later onboarding radial paint must not replace its actual wallpaper. */
  html[data-theme="light"][data-theme-scope="member"]:not(.yk-member-bg-root):is([data-theme-surface="panel"],[data-theme-surface="declaration"],[data-theme-surface="detail"],[data-theme-surface="photo"],[data-theme-surface="payment"]) body.user-panel-theme.page--with-bg::before{
    background-image:var(--yk-wallpaper-overlay),var(--yk-wallpaper-image);
    background-position:center center,center center;
    background-size:cover,cover;
    background-repeat:no-repeat,no-repeat;
  }
}
