/* Lenvisto Mature Books (18+): coming soon. Plum, crimson & gold styling; tile art is local WebP images with CSS-gradient fallbacks.
   System fonts only, no external requests. */
:root {
  --plum: #3B1340; --plum-2: #55205c; --crimson: #9E1B32; --gold: #E0B04A; --gold-2: #F3D58A;
  --ink: #241326; --muted: #574a5a; --soft: #f7f2f6; --line: #e3d6e2;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--soft); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); background: var(--soft); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--crimson); text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2 { line-height: 1.15; margin: 0 0 .6rem; color: var(--plum); }
p { margin: 0 0 .8rem; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.1rem; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--plum); color: #fff; padding: .5rem 1rem; z-index: 10; }
.skip-link:focus { left: 1rem; top: 1rem; }
.small { font-size: .92rem; color: var(--muted); }

.age-bar { margin: 0; background: var(--gold); color: var(--plum); text-align: center; font-weight: 700; font-size: .95rem; padding: .4rem 1rem; }
.age-bar strong { background: var(--plum); color: var(--gold); border-radius: 4px; padding: .05rem .4rem; margin-right: .35rem; }

.m-header { background: var(--plum); border-bottom: 4px solid var(--crimson); color: #fff; }
.m-header__in { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding-top: .7rem; padding-bottom: .7rem; }
.m-logo { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; }
.m-logo img { width: 92px; height: auto; background: #fff; border-radius: 8px; padding: 4px 6px; }
.m-logo span { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 1.05rem; line-height: 1.1; }
.m-logo small { display: block; color: var(--gold); letter-spacing: .06em; font-size: .8rem; text-transform: uppercase; }
.m-badge { background: var(--crimson); color: #fff; font-weight: 900; border-radius: 6px; padding: .15rem .5rem; font-size: .95rem; border: 2px solid var(--gold); }

/* coming-soon text block */
.m-main { padding: 1.4rem 0 0; }
.m-card { max-width: 40rem; margin: 0 auto; background: #fff; border-radius: 14px; padding: 1.5rem 1.3rem; border-top: 6px solid var(--crimson); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .8rem; color: var(--crimson); margin-bottom: .4rem; }
.m-card h1 { font-size: clamp(1.6rem, 6vw, 2.3rem); font-weight: 900; }
.lead { font-size: 1.12rem; }
.notice { background: var(--soft); border-left: 4px solid var(--gold); padding: .5rem .7rem; font-weight: 700; color: var(--plum); }
.adults { font-weight: 700; color: var(--crimson); }

/* 18+ gate (no script: two plain links) */
.gate { padding: 1.5rem 1.1rem 0; }
.gate__card { max-width: 34rem; margin: 0 auto; background: #fff; border-radius: 16px; padding: 1.6rem 1.3rem; text-align: center; border-top: 8px solid var(--crimson); }
.gate__age { font-size: 3.4rem; font-weight: 900; color: var(--plum); line-height: 1; margin: 0 0 .5rem; }
.gate h1 { font-size: 1.4rem; }
.gate__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 1.1rem 0 0; }
.gate__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; font-weight: 800; text-decoration: none; border-radius: 8px; padding: .75rem 1.2rem; border: 2px solid var(--plum); }
.gate__btn--yes { background: var(--plum); color: #fff; }
.gate__btn--leave { background: #fff; color: var(--plum); }

.m-footer { background: var(--plum); color: #fff; margin-top: 2rem; padding: 1.2rem 0 1.6rem; border-top: 4px solid var(--gold); }
.m-footer a { color: var(--gold-2); }
.m-footer__notice { font-weight: 700; }

/* Placeholder listing tiles (coming-soon page). Art = tasteful illustrated WebP images (img/tile-*.webp): adults only,
   fully clothed, no nudity, no suggestive poses, no gore, no text/logos (PLAN.md Level 1). The plum/crimson/gold CSS
   gradients below stay as the fallback background while an image loads or if it fails. Text never sits on the art. */
.m-tiles { margin-top: 1.6rem; max-width: 62rem; }
.m-tiles h2 { font-size: 1.35rem; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.tile__art { aspect-ratio: 4 / 3; background-color: var(--plum); overflow: hidden; }
.tile__art img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }
.tile__art--skyline img { object-position: 22% 50%; }
.tile__art--moon img { object-position: 42% 50%; }
.tile__art--waves img { object-position: 38% 50%; }
.tile__body { padding: .65rem .7rem .8rem; }
.tile__meta { display: flex; justify-content: space-between; align-items: center; gap: .4rem; margin: 0 0 .35rem; }
.tile__format { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--crimson); }
.tile__age { background: var(--crimson); color: #fff; font-weight: 900; font-size: .8rem; border-radius: 5px; padding: .05rem .4rem; }
.tile__title { font-size: 1rem; margin: 0 0 .45rem; color: var(--plum); }
.tile__cw { font-size: .8rem; color: var(--muted); margin: 0 0 .3rem; }
.tile__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.tile__tags li { font-size: .78rem; font-weight: 700; line-height: 1.3; color: var(--plum); background: #f6ecd2; border: 1px solid #c9a24a; border-radius: 8px; padding: .1rem .5rem; max-width: 100%; }
.tiles__note { margin-top: .8rem; }

/* 1. velvet: soft diagonal pile with a gold sheen */
.tile__art--velvet { background:
  radial-gradient(ellipse at 30% 25%, rgba(224,176,74,.35), transparent 55%),
  repeating-linear-gradient(115deg, #3B1340 0 6px, #46184c 6px 9px, #3B1340 9px 14px),
  #3B1340; }
/* 2. city skyline silhouette at dusk (rectangles only) + gold moon */
.tile__art--skyline { background:
  linear-gradient(#2a0d2e, #2a0d2e) 0 100% / 100% 18% no-repeat,
  linear-gradient(#2a0d2e, #2a0d2e) 8% 100% / 14% 46% no-repeat,
  linear-gradient(#2a0d2e, #2a0d2e) 26% 100% / 12% 62% no-repeat,
  linear-gradient(#2a0d2e, #2a0d2e) 44% 100% / 16% 38% no-repeat,
  linear-gradient(#2a0d2e, #2a0d2e) 66% 100% / 10% 70% no-repeat,
  linear-gradient(#2a0d2e, #2a0d2e) 86% 100% / 16% 50% no-repeat,
  radial-gradient(circle at 74% 22%, #E0B04A 0 9%, transparent 10%),
  linear-gradient(180deg, #9E1B32 0%, #55205c 60%, #3B1340 100%); }
/* 3. crescent moon over a dark plum gradient (two circles: gold disc minus a plum disc) + a few tiny gold stars */
.tile__art--moon { background:
  radial-gradient(circle at 60% 27%, #2a0d2e 0 15.5%, transparent 16%),
  radial-gradient(circle at 50% 31%, #E0B04A 0 19%, transparent 19.5%),
  radial-gradient(circle at 18% 16%, #E0B04A 0 .8%, transparent 1.2%),
  radial-gradient(circle at 82% 52%, #E0B04A 0 .6%, transparent 1%),
  radial-gradient(circle at 26% 60%, #F3D58A 0 .5%, transparent .9%),
  linear-gradient(180deg, #2a0d2e 0 55%, #55205c 100%); }
/* 4. art-deco sunburst rays from the bottom */
.tile__art--deco { background:
  radial-gradient(circle at 50% 100%, #E0B04A 0 14%, transparent 14.5%),
  repeating-conic-gradient(from -90deg at 50% 100%, #9E1B32 0 7.5deg, #3B1340 7.5deg 15deg); }
/* 5. damask-style gold diamond lattice */
.tile__art--damask { background:
  repeating-linear-gradient(45deg, transparent 0 18px, rgba(224,176,74,.55) 18px 20px),
  repeating-linear-gradient(-45deg, transparent 0 18px, rgba(224,176,74,.55) 18px 20px),
  radial-gradient(circle at 50% 50%, #55205c, #3B1340); }
/* 6. layered waves of crimson and gold */
.tile__art--waves { background:
  repeating-radial-gradient(circle at 0% 100%, #3B1340 0 14px, #9E1B32 14px 20px, #3B1340 20px 30px, #E0B04A 30px 32px); }

@media (min-width: 720px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
