* { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    background: #FBEAE0;
    background-image:
      radial-gradient(circle at 10% 20%, rgba(107,39,55,0.06), transparent 40%),
      radial-gradient(circle at 90% 80%, rgba(255,200,170,0.3), transparent 50%),
      radial-gradient(circle at 50% 50%, rgba(244,165,130,0.08), transparent 60%);
    color: #3A1A22;
    font-family: 'Nunito', sans-serif;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
  }

  /* ============ LAYOUT ============ */
  .shell {
    max-width: 1440px;
    margin: 0 auto;
    padding: 18px 28px 0;
  }
  @media (max-width: 768px) { .shell { padding: 14px 16px 0; } }

  /* ============ HEADER ============ */
  .top-bar {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px 18px;
    background: #FFF8F2;
    border: 1.5px solid rgba(107,39,55,0.15);
    border-radius: 18px;
    box-shadow:
      0 1px 0 rgba(255,255,255,0.9) inset,
      0 10px 30px -15px rgba(107,39,55,0.25),
      0 2px 6px rgba(107,39,55,0.06);
    position: relative;
    overflow: hidden;
  }
  .top-bar::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(244,165,130,0.6), transparent);
  }
  .top-bar-badge {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, #6B2737, #8B3A4F);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow:
      0 4px 12px rgba(107,39,55,0.3),
      0 1px 0 rgba(255,255,255,0.2) inset;
    position: relative;
  }
  .top-bar-badge::after {
    content: "";
    position: absolute;
    top: 4px; left: 4px; right: 4px;
    height: 40%;
    background: linear-gradient(180deg, rgba(255,255,255,0.22), transparent);
    border-radius: 10px 10px 50% 50%;
    pointer-events: none;
  }
  .top-bar-brand {
    flex: 1;
    min-width: 0;
  }
  .top-bar-title {
    font-family: 'Nunito', sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    color: #3A1A22;
    letter-spacing: -0.02em;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
  }
  .top-bar-title .vvv {
    color: #6B2737;
    font-weight: 900;
    display: inline-block;
    position: relative;
  }
  .top-bar-title .vvv::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -3px;
    height: 3px;
    background: #F4A582;
    border-radius: 2px;
  }
  .top-bar-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: #6B2737;
    opacity: 0.75;
    margin-top: 7px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .top-bar-tag .pulse {
    width: 6px; height: 6px;
    background: #6B2737;
    border-radius: 50%;
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
  }
  .top-bar-chips {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
  }
  .chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: #FBEAE0;
    border: 1px solid rgba(107,39,55,0.15);
    border-radius: 999px;
    text-decoration: none;
    color: #3A1A22;
    font-size: 12px;
    font-weight: 600;
    transition: all .25s;
    white-space: nowrap;
    position: relative;
  }
  .chip:hover {
    background: #6B2737;
    color: #FFF8F2;
    border-color: #6B2737;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px -6px rgba(107,39,55,0.4);
  }
  .chip .n {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    color: #6B2737;
    letter-spacing: 0.1em;
  }
  .chip:hover .n { color: #F4A582; }

  /* Mobile: horizontal scrollable row */
  @media (max-width: 768px) {
    .top-bar { padding: 10px 12px; gap: 12px; }
    .top-bar-badge { width: 44px; height: 44px; border-radius: 11px; }
    .top-bar-badge svg { width: 26px; height: 26px; }
    .top-bar-title { font-size: 17px; }
    .top-bar-tag { font-size: 9px; margin-top: 5px; }
    .top-bar-chips {
      position: absolute;
      bottom: -46px;
      left: 0; right: 0;
      overflow-x: auto;
      padding: 0 12px 10px;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    .top-bar-chips::-webkit-scrollbar { display: none; }
    .chip { padding: 7px 12px; font-size: 11px; }
    /* Chips sit below the header and must not be clipped */
    .top-bar { overflow: visible; margin-bottom: 54px; }
    .shell { padding-top: 14px; }
  }

  /* ============ SECTION TITLE ============ */
  .section-head {
    margin-top: 22px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 14px;
    border-bottom: 1px dashed rgba(107,39,55,0.25);
    flex-wrap: wrap;
  }
  .section-head h2 {
    font-family: 'Fraunces', serif;
    font-size: 28px;
    font-weight: 700;
    font-style: italic;
    color: #3A1A22;
    letter-spacing: -0.01em;
    line-height: 1;
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
  }
  .section-head h2 .num {
    font-family: 'IBM Plex Mono', monospace;
    font-style: normal;
    font-size: 11px;
    font-weight: 600;
    color: #FFF8F2;
    background: #6B2737;
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: 0.1em;
    vertical-align: middle;
  }
  .section-head h2 .accent {
    color: #6B2737;
    font-weight: 900;
  }
  .section-head .meta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: #6B2737;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .section-head .meta .dot {
    width: 5px; height: 5px;
    background: #F4A582;
    border-radius: 50%;
  }

  /* ============ GRID ============ */
  .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 18px;
  }
  @media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
  @media (min-width: 1024px) { .grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
  @media (min-width: 1400px) { .grid { grid-template-columns: repeat(5, 1fr); } }

  /* ============ TILE ============ */
  .tile {
    background: #FFF8F2;
    border: 1.5px solid rgba(107,39,55,0.16);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow:
      0 1px 0 rgba(255,255,255,0.9) inset,
      0 10px 24px -16px rgba(107,39,55,0.22),
      0 2px 4px rgba(107,39,55,0.05);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    position: relative;
    cursor: pointer;
  }
  .tile:hover {
    transform: translateY(-3px);
    box-shadow:
      0 1px 0 rgba(255,255,255,0.9) inset,
      0 18px 36px -16px rgba(107,39,55,0.35),
      0 4px 8px rgba(107,39,55,0.08);
    border-color: rgba(107,39,55,0.3);
  }
  .tile-img {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
    background: #F4D8C5;
  }
  .tile-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s ease, filter .4s ease;
    filter: saturate(0.95) contrast(1.02);
  }
  .tile:hover .tile-img img {
    transform: scale(1.05);
    filter: saturate(1.1) contrast(1.05);
  }
  /* Ornamental overlays */
  .tile-img::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(58,26,34,0.35) 100%);
    pointer-events: none;
    z-index: 2;
  }
  /* Play ring */
  .tile-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    width: 48px; height: 48px;
    border: 2px solid rgba(255,248,242,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(107,39,55,0.85);
    color: #FFF8F2;
    font-size: 16px;
    opacity: 0;
    transition: all .35s ease;
    z-index: 4;
    backdrop-filter: blur(2px);
  }
  .tile:hover .tile-ring {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  /* Duration badge */
  .tile-dur {
    position: absolute;
    bottom: 10px; right: 10px;
    background: rgba(58,26,34,0.88);
    color: #FFF8F2;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    letter-spacing: 0.05em;
    z-index: 3;
    border: 1px solid rgba(255,248,242,0.15);
  }
  /* Corner marks (varied per tile) */
  .tile-corner {
    position: absolute;
    width: 14px; height: 14px;
    border: 1.5px solid #FFF8F2;
    z-index: 3;
    opacity: 0.75;
  }
  .tile-corner.tl { top: 8px; left: 8px; border-right: none; border-bottom: none; }
  .tile-corner.br { bottom: 8px; right: 8px; border-left: none; border-top: none; }
  /* Pill badge */
  .tile-pill {
    position: absolute;
    top: 10px; left: 10px;
    background: rgba(255,248,242,0.95);
    color: #6B2737;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 999px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    z-index: 3;
    border: 1px solid rgba(107,39,55,0.15);
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .tile-pill .d {
    width: 5px; height: 5px;
    background: #6B2737;
    border-radius: 50%;
  }
  /* Number tag */
  .tile-num {
    position: absolute;
    top: 10px; right: 10px;
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 900;
    font-size: 18px;
    color: #FFF8F2;
    background: #6B2737;
    width: 30px; height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 4px 10px rgba(107,39,55,0.3);
  }
  /* Tick mark */
  .tile-tick {
    position: absolute;
    bottom: 10px; left: 10px;
    width: 22px; height: 22px;
    background: #F4A582;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3A1A22;
    font-size: 11px;
    font-weight: 900;
    z-index: 3;
    box-shadow: 0 2px 6px rgba(107,39,55,0.25);
  }
  /* Duotone overlay */
  .tile-duo {
    position: absolute;
    inset: 0;
    mix-blend-mode: multiply;
    opacity: 0.15;
    background: linear-gradient(135deg, #F4A582, transparent 60%);
    pointer-events: none;
    z-index: 2;
  }

  /* Tile body */
  .tile-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 12px 14px;
    border-top: 1px solid rgba(107,39,55,0.08);
    background: linear-gradient(180deg, #FFF8F2, #FBEEE2);
  }
  .tile-title {
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #3A1A22;
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 2.6em;
  }
  .tile-meta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: #6B2737;
    opacity: 0.75;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  .tile-meta .sep { color: #F4A582; }

  /* ============ FRIENDLY SITES ============ */
  .friendly {
    margin-top: 56px;
    padding: 36px 32px;
    background: #FFF8F2;
    border: 1.5px solid rgba(107,39,55,0.15);
    border-radius: 22px;
    box-shadow:
      0 1px 0 rgba(255,255,255,0.9) inset,
      0 20px 40px -20px rgba(107,39,55,0.25);
    position: relative;
    overflow: hidden;
  }
  .friendly::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #F4A582, #6B2737, #F4A582);
  }
  .friendly-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  .friendly-head h2 {
    font-family: 'Fraunces', serif;
    font-size: 32px;
    font-weight: 700;
    font-style: italic;
    color: #3A1A22;
    line-height: 1.05;
    margin: 0;
    letter-spacing: -0.01em;
    max-width: 700px;
  }
  .friendly-head h2 .accent { color: #6B2737; }
  .friendly-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
  }
  .friendly-stat .num {
    font-family: 'Fraunces', serif;
    font-size: 44px;
    font-weight: 900;
    color: #6B2737;
    line-height: 1;
    letter-spacing: -0.03em;
  }
  .friendly-stat .lbl {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.25em;
    color: #6B2737;
    text-transform: uppercase;
    opacity: 0.75;
  }
  .friendly-tagline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    background: #FBEAE0;
    border: 1px solid rgba(107,39,55,0.15);
    border-radius: 999px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: #3A1A22;
    margin-bottom: 18px;
    flex-wrap: wrap;
  }
  .friendly-tagline .d {
    width: 5px; height: 5px;
    background: #6B2737;
    border-radius: 50%;
  }
  .friendly-tagline .sep { color: #F4A582; }
  .friendly-desc {
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #3A1A22;
    max-width: 880px;
    margin: 0 0 26px;
  }
  .friendly-desc strong { color: #6B2737; font-weight: 700; }
  .friendly-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 22px;
    border-top: 1px dashed rgba(107,39,55,0.2);
  }
  .f-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #FBEAE0;
    border: 1px solid rgba(107,39,55,0.15);
    border-radius: 10px;
    color: #3A1A22;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all .25s;
    position: relative;
  }
  .f-link:hover {
    background: #6B2737;
    color: #FFF8F2;
    border-color: #6B2737;
    transform: translateY(-1px);
  }
  .f-link .idx {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    font-weight: 600;
    color: #6B2737;
    letter-spacing: 0.1em;
  }
  .f-link:hover .idx { color: #F4A582; }

  /* ============ BOTTOM DESC ============ */
  .bottom-desc {
    margin-top: 48px;
    padding: 0 8px;
    max-width: 900px;
  }
  .bottom-desc p {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 17px;
    line-height: 1.65;
    color: #3A1A22;
    opacity: 0.85;
  }
  .bottom-desc p::first-letter {
    font-size: 38px;
    font-weight: 900;
    font-style: normal;
    color: #6B2737;
    float: left;
    line-height: 0.9;
    margin: 4px 10px 0 0;
  }

  /* ============ FOOTER ============ */
  footer {
    margin-top: 56px;
    padding: 36px 32px 28px;
    background: #3A1A22;
    color: #FBEAE0;
    border-radius: 22px 22px 0 0;
    position: relative;
    overflow: hidden;
  }
  footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #F4A582, transparent);
  }
  .foot-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: flex-start;
  }
  .foot-brand {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .foot-mark {
    width: 46px; height: 46px;
    background: linear-gradient(135deg, #6B2737, #8B3A4F);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }
  .foot-title {
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    color: #FFF8F2;
  }
  .foot-title .vvv { color: #F4A582; }
  .foot-sub {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: #F4A582;
    text-transform: uppercase;
    margin-top: 4px;
  }
  .foot-desc {
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    line-height: 1.65;
    color: rgba(251,234,224,0.75);
    max-width: 780px;
    margin: 0;
  }

  .foot-legal {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    line-height: 1.7;
    color: rgba(251,234,224,0.55);
    max-width: 620px;
  }
  .foot-legal p { margin: 0 0 4px; }
  .foot-legal a { color: rgba(251,234,224,0.8); text-decoration: underline; }
  .foot-legal a:hover { color: #F4A582; }
  .foot-bottom {
    grid-column: 1 / -1;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(251,234,224,0.12);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
    color: rgba(251,234,224,0.5);
    text-transform: uppercase;
  }
  @media (max-width: 768px) {
    .foot-inner { grid-template-columns: 1fr; gap: 18px; }
    .friendly { padding: 24px 20px; }
    .friendly-head h2 { font-size: 24px; }
    .friendly-stat { display: none; }
    .friendly-tagline {
      font-size: 9px;
      letter-spacing: 0.06em;
      padding: 5px 10px;
      gap: 6px;
      margin-bottom: 12px;
    }
    .section-head h2 { font-size: 22px; }
    footer { padding: 28px 20px 22px; }
  }

  /* ============ AD SLOTS (300x250) ============ */
  .ad-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(107,39,55,0.05);
    border: 1.5px dashed rgba(107,39,55,0.28);
    color: rgba(107,39,55,0.45);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    width: 300px;
    height: 250px;
    margin: 0 auto;
    border-radius: 12px;
  }
  .grid > .ad-slot { grid-column: 1 / -1; }
  .bottom-ads {
    display: grid;
    grid-template-columns: repeat(4, 300px);
    gap: 16px;
    justify-content: center;
    padding: 36px 0 8px;
    margin-top: 8px;
  }
  @media (max-width: 1300px) {
    .bottom-ads { grid-template-columns: repeat(2, 300px); }
  }
  @media (min-width: 769px) {
    .ad-mobile-only { display: none !important; }
  }
  @media (max-width: 768px) {
    .ad-desktop-only { display: none !important; }
    .ad-slot { width: 300px; height: 250px; max-width: 100%; }
  }

  /* ============ GWE integration ============ */
  .tile:empty { display: none; }
  .tile-img a.tile-link { display: block; width: 100%; height: 100%; }
  .tile-img a.tile-link img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .tile-duo, .tile-corner, .tile-ring, .tile-dur { pointer-events: none; }
  .tile-title a { color: inherit; text-decoration: none; }
  .tile-title a:hover { color: #6B2737; }
