/* Approved phone design. Desktop geometry remains in the existing stylesheets. */
.mobile-home,.mobile-context,.mobile-utility-link {display:none}
@media(max-width:650px) {
  .mobile-layout-active #contenido>.desktop-home-block {display:none}
  body .site #contenido:has(.mobile-home)>.mobile-context {display:none}
  .mobile-layout-active .mobile-home {display:block}
  .site .utility-links .mobile-utility-link {display:inline-flex}
  .site .utility-links .desktop-utility-link {display:none}
  .site {--es-mobile-surface:rgba(255,250,238,.72);--es-reading-surface:var(--es-mobile-surface);--es-paper-border:#b6a17a}
  /* One surface per card: no repeated texture or compounded transparency. */
  body .site .content-sheet .sidebar .panel,
  body .site #contenido :is(.mobile-lead,.mobile-new-card,.mobile-world,.mobile-community-grid>div,.mobile-tours,.mobile-context,
    .library-feature,.library-section-card,.library-reference,.library-cuarta-era,
    .launch-feature,.launch-card,.ce-lead-story,.ce-review-card,.ce-purpose,.ce-conversation,
    [data-catalog-entry],.entry-card,.featured-book,.edition-shelf,.archive-gate,
    .world-reading,.gd-context,.gd-prequel details,.chronology-timeline>li,
    .jordan-card,.contact-community-message,#contact-form,.com-finder) {
    background:var(--es-mobile-surface);border-color:var(--es-paper-border);box-shadow:none;
  }
  body .site #contenido :is(.content-box.library-front,.content-box.archive-catalog,.content-box.saga-page,
    .cuarta-era.ce-home,.library-picks,.library-directory,.library-feature-body,
    .launch-feature-copy,.launch-card-copy,.mobile-world>div,.mobile-tours .discover-home,.mobile-tours .visit-option) {background:transparent;box-shadow:none}
  body .site #contenido :is(.welcome-compact h1,.section-presentation h1,.catalog-heading h1,
    .editorial-scene-heading h1,.section-visual-heading h1,.ce-publication-heading h1,
    .mobile-section h2,.mobile-section h3,.content-titlebar h2,.library-picks>h2,.library-directory>h2) {
    font-family:var(--es-font-display,'Cormorant Garamond',Georgia,serif)!important;font-weight:500!important;
  }
  body .site #contenido .mobile-section :is(h2,h3) {letter-spacing:0;text-transform:none}
  .site #contenido .mobile-section-heading {padding:8px 12px;background:var(--es-heading-background,#080867);border:1px solid #ba9c5d;border-radius:3px}
  .site #contenido .mobile-section-heading h2 {color:#f8e9c5!important;margin:0!important;font-size:23px!important;line-height:1.2}
  .site #contenido .mobile-title-with-mark {display:flex;align-items:center;gap:10px;min-width:0;padding-left:0}
  .site #contenido .mobile-title-with-mark::before {display:none!important}
  .site #contenido .mobile-title-with-mark>span {min-width:0}
  .site #contenido .mobile-aes {width:24px;height:24px;flex:0 0 24px;object-fit:contain;border-radius:50%;border:1px solid #bb9d65;box-shadow:none;max-width:none;margin:0}
  .mobile-section {margin:0 0 26px;scroll-margin-top:15px}
  .site #contenido .mobile-intro {font:15px/1.65 var(--es-font-reading,'Lora',Georgia,serif);margin:9px 0 13px}
  .mobile-quick {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 20px}
  .mobile-quick a,.mobile-world nav a {display:flex;align-items:center;justify-content:center;min-height:44px;padding:9px;border:1px solid #baa16d;border-radius:5px;background:#fff8e7;color:#121368;font:12px/1.4 Verdana,sans-serif;text-align:center;text-decoration:none}
  .mobile-quick a:last-child:nth-child(3) {grid-column:1/-1}
  .mobile-quick a:hover,.mobile-world nav a:hover {background:#e9dab6}
  .mobile-home .welcome-compact {display:block;padding:16px;gap:18px;margin-bottom:12px}
  .site #contenido .mobile-home .welcome-compact h1 {font-size:28px;margin:5px 0 8px}
  .site #contenido .mobile-home .welcome-compact p:not(.eyebrow) {font:15px/1.55 var(--es-font-reading,'Lora',Georgia,serif);margin:0}
  .mobile-home .welcome-intro-link {margin-top:10px}
  .mobile-lead {display:block;border:1px solid #baa16d;overflow:hidden}
  .mobile-lead .launch-feature-art {display:block}
  .mobile-lead .launch-feature-art img {display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
  .mobile-lead .launch-feature-copy {padding:16px}
  .site #contenido .mobile-lead h2 {font-size:27px!important;line-height:1.18;margin:8px 0 14px!important}
  .mobile-lead h2 a,.mobile-new-card h3 a {text-decoration:none;color:#101060}
  .mobile-lead p,.mobile-new-card p {font-family:var(--es-font-reading,'Lora',Georgia,serif);line-height:1.65}
  .mobile-home .ce-kicker {font:11px/1.5 Verdana,sans-serif;text-transform:uppercase;letter-spacing:.08em;color:#655128}
  .mobile-home .ce-button {display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid #aa8d50;background:#e9d6a6;color:#11115e;font:700 12px/1.4 Verdana,sans-serif;text-decoration:none;border-radius:4px}
  .mobile-new-card {display:grid;grid-template-columns:92px minmax(0,1fr);min-width:0;border:1px solid #c3b18c;margin-top:12px}
  .mobile-new-card .launch-card-art {display:block;height:100%;min-height:150px;overflow:hidden}
  .mobile-new-card .launch-card-art>img {width:100%;height:100%;object-fit:cover;display:block}
  .mobile-new-card .launch-card-copy {padding:12px}
  .site #contenido .mobile-new-card h3 {font-size:21px!important;line-height:1.25;margin:6px 0 12px!important}
  .mobile-new-card .launch-card-copy>p:not(.ce-kicker) {display:none}
  .mobile-new-card .launch-covers {display:flex;justify-content:center;align-items:center;gap:3px;height:100%;padding:6px;flex-wrap:wrap}
  .mobile-new-card .launch-covers img {max-height:65px;max-width:72%;width:auto;height:auto;object-fit:contain}
  .mobile-world {border:1px solid #baa16d}
  .mobile-world>img {display:block;width:100%;height:150px;object-fit:cover;object-position:center top}
  .mobile-world>div {padding:16px}
  .site #contenido .mobile-world h3 {font-size:29px;margin:0 0 10px}
  .mobile-world p,.mobile-community-grid p {font-family:var(--es-font-reading,'Lora',Georgia,serif);line-height:1.65}
  .mobile-world nav {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .mobile-community-grid {display:grid;gap:18px}
  .mobile-community-grid>div {border:1px solid #baa16d;padding:20px}
  .site #contenido .mobile-community-grid h3 {font-size:27px;margin:0 0 12px}
  .mobile-community-grid a {display:inline-flex;align-items:center;min-height:44px}
  .mobile-tours {border:1px solid #b9a16d;margin:24px 0}
  .mobile-tours>summary {padding:14px;font:18px/1.5 Verdana,sans-serif;color:#151469;cursor:pointer}
  .site #contenido .mobile-tours .discover-home {margin:0;border:0}
  .mobile-archive-cards {display:grid;gap:12px}
  /* Compact editorial metadata, retaining a 44px reading action. */
  body .site #contenido .library-feature-body>h3 {margin-top:6px;margin-bottom:11px}
  body .site #contenido .library-feature-body>.preview-meta {margin-top:6px;margin-bottom:9px}
  body .site #contenido .library-feature-body>.text-link {min-height:44px}
  .mobile-layout-active .library-front .library-mobile-sections {display:none}
  .mobile-layout-active .library-directory {margin:0 0 22px}
  .mobile-layout-active .library-directory-grid {grid-template-columns:1fr 1fr;gap:8px}
  .mobile-layout-active .library-directory .section-scene {height:70px}
  .mobile-layout-active .library-directory .library-section-card {padding:10px}
  .mobile-layout-active .library-directory .library-section-top strong {font-size:17px}
  .mobile-layout-active .library-directory :is(.library-section-description,.library-section-count) {font-size:12px;line-height:1.5}
  .mobile-context {display:block;margin:0 0 14px;border:1px solid #b9a16d;border-radius:5px}
  .mobile-context>summary {padding:12px;font:700 14px/1.5 Verdana,sans-serif;cursor:pointer;color:#151469}
  .mobile-catalog-filter .catalog-alphabet {display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 12px}
  .mobile-catalog-filter .catalog-alphabet[hidden] {display:none}
  .mobile-context nav:not(.catalog-alphabet) {display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:0 12px 12px}
  .mobile-context a {display:flex;align-items:center;min-height:44px;padding:8px;font:13px/1.4 Verdana,sans-serif;background:#f0e4c9;color:#151469}
  .mobile-home a:focus-visible,.mobile-context a:focus-visible,.mobile-tours>summary:focus-visible,.mobile-context>summary:focus-visible {outline:3px solid #a46f12;outline-offset:3px}
}

/* Phone review: text gutter in the community card and a clear directory ending. */
@media(max-width:650px) {
  body .site #contenido .cuarta-era .ce-conversation>div {padding:0 16px 18px;}
  body .site #contenido .library-front.editorial-library .library-directory {margin-bottom:24px;}
}

/* Text gutters follow the mobile card surface, without extra nested paper. */
@media(max-width:650px){
 body .site #contenido .cuarta-era .ce-purpose {padding-inline:16px}
 body .site #contenido .mobile-new-card .launch-card-copy {padding:16px}
 body .site #contenido .contact-community-message #contact-form {background:transparent}
 .mobile-quick a,.mobile-world nav a {min-width:0;overflow-wrap:break-word}
}

/* Keep the quick links below the welcome; hide their duplicate only in the active phone layout. */
@media(max-width:650px) {
 .mobile-layout-active body .site #contenido:has(.mobile-home)>.usability-home-actions {display:none}
}
