/* Shared editorial/legal shell. Never applied to the embedded photo-search UI.
 * Existing article, policy, schema and search behavior remain authoritative. */
html:not(.world-embedded) body.world-site {
  --brand:#8B3A62; --brand-dark:#5D2440; --surface:#FAF8F3;
  --paper:#FFFDFA; --ink:#11100E; --ink-2:#51433A; --ink-3:#665660;
  --serif:'Playfair Display',Georgia,serif;
  --sans:'Plus Jakarta Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  margin:0; background:#FAF8F3!important; color:#11100E!important; font-family:var(--sans)!important; line-height:1.65;
}
.world-site-header,.world-site-header * { box-sizing:border-box; }
.world-site-header { display:flex; align-items:center; justify-content:space-between; gap:24px; width:100%; min-height:88px; padding:20px max(24px,calc((100vw - 1280px)/2)); border-bottom:1px solid #E2D4D9; background:#FFFDFA; }
.world-site-brand { display:flex; align-items:center; gap:12px; min-width:0; color:#302525!important; text-decoration:none!important; }
.world-site-brand > img { flex:0 0 auto; width:46px!important; height:46px!important; border-radius:50%; object-fit:cover; box-shadow:none!important; }
.world-site-brand b { display:block; font:700 18px/1.25 var(--sans); }
.world-site-brand small { display:block; margin-top:3px; color:#665660; font:400 11px/1.4 var(--sans); }
.world-site-return { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 18px; border-radius:999px; background:#5D2440; color:#FFFDFA!important; font:600 13px/1.5 var(--sans); text-decoration:none!important; white-space:nowrap; }
.world-site-header [hidden] { display:none!important; }
.world-site-return:hover { background:#8B3A62; }
.world-site-brand:focus-visible,.world-site-return:focus-visible { outline:3px solid #8B3A62; outline-offset:4px; }
/* Existing route navigation becomes a quieter secondary row, not a second brand. */
html:not(.world-embedded) .world-site .landing-shell { width:min(1280px,calc(100% - 64px))!important; padding-top:24px!important; }
html:not(.world-embedded) .world-site .landing-nav { flex-wrap:wrap; gap:20px!important; margin-bottom:56px!important; }
html:not(.world-embedded) .world-site .landing-nav .landing-logo,
html:not(.world-embedded) .world-site .nav .brand-mark { display:none!important; }
html:not(.world-embedded) .world-site .landing-nav .landing-footer-links { display:flex!important; flex-wrap:wrap; gap:18px!important; }
html:not(.world-embedded) .world-site .landing-nav > .app-store-badge { margin-left:auto; }
html:not(.world-embedded) .world-site .landing-title { color:#11100E!important; letter-spacing:-.04em!important; }
html:not(.world-embedded) .world-site .landing-section,
html:not(.world-embedded) .world-site .landing-faq { margin-top:56px!important; }
html:not(.world-embedded) .world-site .landing-card { border-color:#E2D4D9!important; border-radius:24px!important; background:#FFFDFA!important; }
html:not(.world-embedded) .world-site .landing-footer { padding-top:28px!important; border-top:1px solid #E2D4D9!important; }
/* Blog indexes retain their articles and routes, in the same editorial world. */
html:not(.world-embedded) .world-site > .nav { position:static; background:transparent; border-bottom:0; box-shadow:none; backdrop-filter:none; }
html:not(.world-embedded) .world-site .nav-inner { width:min(1280px,calc(100% - 64px)); min-height:68px; }
html:not(.world-embedded) .world-site .nav-actions { flex-wrap:wrap; }
html:not(.world-embedded) .world-site .blog-shell { width:min(1280px,calc(100% - 64px)); }
/* Articles keep their factual copy, dates, images and related-reading links. */
html:not(.world-embedded) .world-site .post-shell { width:min(1040px,calc(100% - 64px))!important; margin-inline:auto; padding-top:24px!important; }
html:not(.world-embedded) .world-site .post-nav { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:20px; margin-bottom:48px!important; }
html:not(.world-embedded) .world-site .post-nav .post-nav-logo { display:none!important; }
html:not(.world-embedded) .world-site .post-title { margin-top:0; font-style:normal!important; font-size:clamp(40px,6vw,80px)!important; line-height:1.06!important; letter-spacing:-.04em!important; }
html:not(.world-embedded) .world-site .post-body { line-height:1.75; }
html:not(.world-embedded) .world-site .post-body h2 { font-style:normal!important; line-height:1.12!important; }
html:not(.world-embedded) .world-site .post-cta { padding:28px; border-radius:24px; background:#FFFDFA!important; box-shadow:none!important; }
html:not(.world-embedded) .world-site .post-related { margin-top:48px; padding-top:28px; border-top:1px solid #E2D4D9; }
html:not(.world-embedded) .world-site .post-related a { display:block; margin-top:12px; }
html:not(.world-embedded) .world-site .post-footer { display:flex; flex-wrap:wrap; gap:20px; align-items:center; justify-content:space-between; margin-top:56px; padding-top:28px; border-top:1px solid #E2D4D9; }
html:not(.world-embedded) .world-site .post-footer-links { display:flex; flex-wrap:wrap; gap:14px; }
/* Public share fallback stays a focused card, with its deep links untouched. */
html:not(.world-embedded) body.world-site.world-share { flex-direction:column; justify-content:flex-start; padding:0; }
html:not(.world-embedded) .world-share > .card { width:min(460px,calc(100% - 40px)); margin:48px auto; box-shadow:none; }
/* Developer documentation remains sober, readable, and clearly Remode-owned. */
html:not(.world-embedded) .world-docs > nav > a:first-child { display:none; }
html:not(.world-embedded) .world-docs > nav { justify-content:flex-end; }
html:not(.world-embedded) .world-docs h1,
html:not(.world-embedded) .world-docs h2 { font-family:var(--serif); color:#11100E; }
html:not(.world-embedded) .world-docs a { color:#5D2440; }
html:not(.world-embedded) .world-docs .note { border-left-color:#8B3A62; }
/* Legal identity stays Remode. Restrained typography makes policies readable. */
html:not(.world-embedded) .world-site .legal-container,
html:not(.world-embedded) .world-site .legal-main,
html:not(.world-embedded) .world-site.legal-centered > .legal-topbar { width:min(100% - 48px,1040px); }
html:not(.world-embedded) .world-site .legal-topbar { margin-bottom:28px; }
html:not(.world-embedded) .world-site .back-link::after { content:none; }
html:not(.world-embedded) .world-site .legal-container > section,
html:not(.world-embedded) .world-site .imprint-card { border:1px solid #E2D4D9; border-radius:24px; background:#FFFDFA; box-shadow:none; }
html:not(.world-embedded) .world-site .legal-container > section::before,
html:not(.world-embedded) .world-site .imprint-card::before { content:none; }
html:not(.world-embedded) .world-site .legal-container h1,
html:not(.world-embedded) .world-site .imprint-card h1 { color:#11100E; font-style:normal; font-size:clamp(40px,6vw,68px); line-height:1.06; }
html:not(.world-embedded) .world-site .legal-container p,
html:not(.world-embedded) .world-site .legal-container li { color:#51433A; }
/* Embedded mode must never acquire a second navigation or brand header. */
.world-embedded .world-site-header { display:none!important; }
@media (max-width:760px) {
  .world-site-header { gap:12px; min-height:80px; padding:16px 20px; }
  .world-site-brand b { font-size:16px; }
  .world-site-brand > img { width:40px!important; height:40px!important; }
  .world-site-return { padding:10px 13px; font-size:12px; }
  html:not(.world-embedded) .world-site .landing-shell,
  html:not(.world-embedded) .world-site .post-shell,
  html:not(.world-embedded) .world-site .blog-shell,
  html:not(.world-embedded) .world-site .nav-inner { width:calc(100% - 40px)!important; }
  html:not(.world-embedded) .world-site .landing-nav { margin-bottom:32px!important; gap:14px!important; }
  html:not(.world-embedded) .world-site .landing-nav .landing-footer-links { gap:12px!important; font-size:13px!important; }
  html:not(.world-embedded) .world-site .landing-nav > .app-store-badge { margin-left:0; }
  html:not(.world-embedded) .world-site .post-nav { gap:14px; margin-bottom:32px!important; }
  html:not(.world-embedded) .world-site .post-nav-links { gap:12px!important; }
  html:not(.world-embedded) .world-site .post-cta { padding:24px 20px; }
  html:not(.world-embedded) .world-site .legal-container,
  html:not(.world-embedded) .world-site .legal-main,
  html:not(.world-embedded) .world-site.legal-centered > .legal-topbar { width:calc(100% - 32px); }
  html:not(.world-embedded) .world-site .legal-container > section { padding:28px 22px; }
}
@media (max-width:360px) {
  .world-site-header { padding:14px 16px; gap:8px; }
  .world-site-brand { flex:1 1 auto; gap:8px; }
  .world-site-brand b { font-size:14px; }
  .world-site-brand small { font-size:10px; }
  .world-site-brand > img { width:34px!important; height:34px!important; }
  .world-site-return { flex:0 1 112px; padding:10px; font-size:11px; white-space:normal; text-align:center; }
}
