
    :root {
      --bg: #080708;
      --bg-soft: #120d10;
      --panel: #1d1218;
      --panel-strong: #2b1820;
      --line: #59343d;
      --text: #f7f3fb;
      --muted: #a99bb8;
      --accent: #e14d82;
      --accent-2: #a86c38;
      --success: #62e2aa;
      --focus: #d6a4ff;
      --max: 1440px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; overflow-x: clip; }
    body {
      margin: 0;
      min-width: 320px;
      background:
        radial-gradient(circle at 84% 5%, rgba(225, 77, 130, .14), transparent 30rem),
        var(--bg);
      color: var(--text);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      line-height: 1.35;
    }
    button, input { font: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    button { color: inherit; }
    a { color: inherit; text-decoration: none; }
    :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
    [hidden] { display: none !important; }
    html.preview-story header, html.preview-story .immersive-hero, html.preview-story #results { display: none !important; }
    #ambient-canvas { position: fixed; inset: 0; z-index: -2; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
    .ambient-wash { position: fixed; inset: 0; z-index: -1; background: radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 30%), rgba(190, 109, 71, .13), transparent 26rem); pointer-events: none; }
    .scroll-progress { position: fixed; z-index: 90; inset: 0 0 auto; height: 3px; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--accent), #f0b86b); box-shadow: 0 0 18px rgba(225,77,130,.8); }

    .shell { width: min(100%, var(--max)); margin-inline: auto; padding-inline: 12px; }
    .utility { border-top: 4px solid var(--accent); background: #151515; }
    .utility .shell { min-height: 52px; display: flex; align-items: stretch; justify-content: space-between; gap: 16px; }
    .network, .account, .nav-list, .sorts, .footer-links { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
    .network { gap: 28px; color: #625d66; font-size: 14px; font-weight: 700; }
    .network strong { color: var(--text); }
    .account button { min-height: 48px; border: 0; border-left: 1px solid #27232a; background: transparent; padding: 0 24px; font-weight: 800; cursor: pointer; }
    .language-select { min-height: 48px; border: 0; border-left: 1px solid #27232a; background: #151515; color: var(--text); padding: 0 18px; font: inherit; font-weight: 850; cursor: pointer; }
    .language-select option { background: #151515; color: var(--text); }
    .account .join { background: linear-gradient(135deg, var(--accent-2), var(--accent)); }

    .brandbar { background: linear-gradient(180deg, rgba(8,7,8,.96), rgba(33,15,22,.95) 78%, rgba(66,28,38,.94)); backdrop-filter: blur(18px); }
    .brandrow { min-height: 122px; display: flex; align-items: center; gap: 42px; }
    .logo { display: inline-flex; align-items: center; min-height: 60px; font-size: clamp(26px, 4vw, 48px); font-weight: 900; letter-spacing: -3px; text-transform: uppercase; }
    .logo span:first-child { color: var(--accent); font-weight: 300; }
    .logo-mark { width: 0; height: 0; margin-left: 7px; border-top: 12px solid transparent; border-bottom: 12px solid transparent; border-left: 18px solid var(--text); }
    .primary-nav { margin-left: auto; }
    .nav-list { gap: 28px; color: #766b82; font-size: 14px; font-weight: 800; }
    .nav-list a { display: grid; min-height: 44px; place-items: center; transition: color .2s ease; }
    .nav-list a:hover { color: var(--text); }
    .menu-button { display: none; min-width: 46px; min-height: 46px; margin-left: auto; border: 1px solid var(--line); background: var(--panel); cursor: pointer; }

    .search-band { padding-block: 0 22px; background: linear-gradient(180deg, rgba(66,28,38,.94), transparent); }

    .immersive-hero { position: relative; min-height: min(840px, 92svh); display: grid; align-items: center; overflow: clip; isolation: isolate; }
    .hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); align-items: center; gap: clamp(30px, 7vw, 110px); padding-block: clamp(80px, 12vw, 160px); }
    .hero-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: #dba974; font-size: 12px; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; }
    .hero-kicker::before { content: ""; width: 56px; height: 1px; background: currentColor; }
    .hero-title { max-width: 850px; margin: 0; font-size: clamp(56px, 9.5vw, 146px); line-height: .82; letter-spacing: -.075em; text-transform: uppercase; }
    .hero-title span { display: block; }
    .hero-title .outline { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.7); transform: translateX(clamp(20px, 5vw, 80px)); }
    .hero-copy { max-width: 570px; margin: 34px 0 0; color: #c4b3ba; font-size: clamp(16px, 1.5vw, 21px); line-height: 1.7; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
    .hero-link { display: inline-grid; min-height: 48px; place-items: center; border: 1px solid #8c4b5d; border-radius: 999px; padding: 0 22px; font-weight: 800; }
    .hero-link.primary { border: 0; background: linear-gradient(115deg, var(--accent), #a54841); box-shadow: 0 12px 46px rgba(225,77,130,.25); }
    .hero-art { position: relative; min-height: 550px; perspective: 1200px; }
    .hero-photo { position: absolute; inset: 7% 4% 4% 8%; border-radius: 50% 50% 8% 50%; background-color: #2a1720; background-position: center 18%; background-size: cover; box-shadow: 0 30px 120px rgba(0,0,0,.58); transform: translate3d(0, var(--parallax, 0px), 0) rotate(3deg); }
    .hero-photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(160deg, transparent 44%, rgba(65,13,28,.72)); }
    .orbit { position: absolute; inset: 1% -5% -4% 0; border: 1px solid rgba(233,172,101,.26); border-radius: 50%; transform: rotate(-18deg); animation: orbit 18s linear infinite; }
    .orbit::before { content: ""; position: absolute; top: 12%; left: 12%; width: 14px; height: 14px; border-radius: 50%; background: #f0b86b; box-shadow: 0 0 28px #f0b86b; }
    .hero-number { position: absolute; right: -2%; bottom: 2%; color: rgba(255,255,255,.08); font-size: clamp(110px, 18vw, 250px); font-weight: 950; line-height: .7; }
    @keyframes orbit { to { transform: rotate(342deg); } }

    [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
    [data-reveal].is-visible { opacity: 1; transform: none; }
    .reveal-delay { transition-delay: .16s; }

    .editorial-story { position: relative; margin-block: 36px 110px; }
    .story-shell { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(28px, 6vw, 90px); }
    .story-visual { position: sticky; top: 30px; height: calc(100svh - 60px); min-height: 620px; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: #160d12; }
    .story-image { position: absolute; inset: 0; background-position: center 16%; background-size: cover; transition: opacity .7s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
    .story-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(9,6,7,.82)); }
    .story-index { position: absolute; z-index: 2; inset: auto 36px 34px; display: flex; justify-content: space-between; align-items: end; }
    .story-index strong { font-size: clamp(64px, 10vw, 148px); line-height: .75; color: rgba(255,255,255,.84); }
    .story-index span { max-width: 210px; color: #c7b5bc; text-align: right; }
    .story-steps { padding-block: 12vh; }
    .story-step { min-height: 72vh; display: grid; align-content: center; border-top: 1px solid rgba(255,255,255,.12); opacity: .34; transition: opacity .5s ease; }
    .story-step.is-active { opacity: 1; }
    .story-step small { color: #dba974; font-weight: 900; letter-spacing: .2em; }
    .story-step h2 { margin-top: 18px; font-size: clamp(36px, 5vw, 72px); line-height: .95; letter-spacing: -.045em; }
    .story-step p { max-width: 520px; color: #bca9b1; font-size: 18px; line-height: 1.7; }

    .card { transform-style: preserve-3d; will-change: transform; }
    .card .art, .card .card-body { transform: translateZ(0); transition: transform .25s ease; }
    .card:hover .art { transform: translateZ(18px); }
    .card:hover .card-body { transform: translateZ(10px); }
    .search-form { display: grid; grid-template-columns: 1fr 60px; min-height: 54px; background: #24161c; border: 1px solid #59343d; }
    .search-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .search-form input { min-width: 0; border: 0; background: transparent; color: var(--text); padding: 0 20px; font-weight: 700; }
    .search-form button { border: 0; background: transparent; color: var(--muted); font-size: 24px; cursor: pointer; }
    .chips { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 22px 8px; }
    .chip { min-height: 36px; border: 1px solid #6f414c; border-radius: 999px; background: rgba(38,19,27,.72); color: #c2aeb6; padding: 6px 12px; cursor: pointer; }
    .chip:hover { border-color: var(--accent); color: var(--text); }

    main { padding-block: 12px 52px; }
    .heading-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 0 0 22px; }
    h1, h2 { margin: 0; text-transform: uppercase; }
    h1 { font-size: clamp(19px, 2.4vw, 28px); }
    .result-count { display: block; margin-top: 7px; color: var(--muted); font-size: 13px; }
    .sorts { align-items: end; gap: 0; overflow-x: auto; }
    .sorts button { min-height: 50px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #8d7d9d; padding: 8px 18px; white-space: nowrap; cursor: pointer; }
    .sorts button[aria-pressed="true"] { border-color: var(--text); color: var(--text); }

    .grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; }
    .card { min-width: 0; border: 0; background: var(--panel); text-align: left; padding: 0; cursor: pointer; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
    .card:hover { z-index: 2; transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0, 0, 0, .42); }
    .art { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background-color: #2b161f; background-position: center; background-size: cover; }
    .art::before, .art::after { display: none; }
    .art-lines { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(18,5,9,.32)); }
    .play { position: absolute; inset: 50% auto auto 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); border: 2px solid rgba(255,255,255,.82); border-radius: 50%; background: rgba(25,7,13,.58); }
    .play::after { content: ""; position: absolute; left: 18px; top: 12px; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 14px solid white; }
    .duration { position: absolute; right: 7px; bottom: 7px; background: rgba(0,0,0,.76); padding: 3px 6px; font-size: 12px; font-weight: 800; }
    .card-body { display: block; min-height: 104px; padding: 13px 14px 12px; }
    .card-title { display: -webkit-box; min-height: 42px; margin: 0; overflow: hidden; color: #d8cee2; font-size: 14px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
    .meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px; margin-top: 9px; color: var(--muted); font-size: 12px; }
    .meta strong { color: var(--text); }
    .empty { padding: 64px 20px; border: 1px solid var(--line); background: var(--bg-soft); text-align: center; }
    .empty p { color: var(--muted); }
    .action { min-height: 44px; border: 0; border-radius: 3px; background: var(--accent); color: white; padding: 0 20px; font-weight: 800; cursor: pointer; }

    .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 34px; }
    .page-button { min-width: 44px; min-height: 44px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); cursor: pointer; }
    .page-button[aria-current="page"] { border-color: var(--accent); background: var(--accent); color: white; }
    .page-button:disabled { opacity: .38; cursor: not-allowed; }
    .page-ellipsis { display: grid; min-width: 32px; min-height: 44px; place-items: center; color: var(--muted); }
    .recommend { margin-top: 50px; padding: 24px; border: 1px solid var(--line); background: linear-gradient(110deg, #1b1015, #45202a); }
    .recommend h2 { font-size: 18px; }
    .recommend p { margin: 8px 0 0; color: var(--muted); }

    footer { border-top: 1px solid #332027; background: #0c090a; }
    .footer-row { min-height: 118px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #766c80; font-size: 12px; }
    .footer-links { flex-wrap: wrap; justify-content: flex-end; gap: 18px; font-weight: 800; }
    .footer-links a:hover { color: var(--text); }

    dialog { width: min(540px, calc(100vw - 24px)); max-width: calc(100vw - 24px); border: 1px solid #75414f; border-radius: 10px; background: #190e13; color: var(--text); box-shadow: 0 30px 90px rgba(0,0,0,.7); padding: 0; overflow-wrap: anywhere; }
    dialog::backdrop { background: rgba(8, 4, 6, .9); backdrop-filter: blur(10px); }
    #age-dialog::backdrop { background: rgba(8, 4, 6, .3); }
    .dialog-content { padding: 30px; }
    .dialog-content h2 { font-size: 25px; }
    .dialog-content p { color: var(--muted); }
    .dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
    .secondary { min-height: 44px; border: 1px solid var(--line); background: transparent; color: var(--text); padding: 0 18px; cursor: pointer; }
    #download-dialog { width: min(390px, calc(100vw - 24px)); border-color: #484148; border-radius: 22px; background: #1a191a; }
    #download-dialog::backdrop { background: rgba(4, 1, 8, .88); backdrop-filter: blur(12px); }
    .download-panel { padding: 34px 24px 26px; text-align: center; }
    .download-icon { display: grid; width: 58px; height: 58px; margin: 0 auto 18px; place-items: center; font-size: 38px; filter: drop-shadow(0 8px 18px rgba(240, 45, 119, .22)); }
    .download-panel h2 { margin: 0; font-size: 21px; letter-spacing: -.025em; }
    .download-meta { margin: 10px 0 0; color: #948c95; font-size: 13px; font-weight: 700; }
    .download-actions { display: grid; gap: 10px; margin-top: 22px; }
    .download-primary, .download-secondary { min-height: 52px; border-radius: 15px; font: inherit; font-weight: 900; cursor: pointer; }
    .download-primary { border: 0; background: linear-gradient(100deg, #f52d79, #ff477d); color: white; box-shadow: 0 12px 34px rgba(245,45,121,.22); }
    .download-secondary { border: 1px solid #454045; background: transparent; color: #d7d2d7; }
    .download-progress-view { padding-block: 42px 34px; }
    .download-bar { width: min(220px, 82%); height: 8px; margin: 20px auto 14px; overflow: hidden; border-radius: 999px; background: #383238; }
    .download-bar-fill { width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f72574, #ff65a0); transition: width .18s linear; }
    .download-percent { color: #ff377d; font-size: 15px; font-weight: 950; font-variant-numeric: tabular-nums; }
    .download-stats { display: flex; justify-content: center; gap: 18px; margin-top: 18px; color: #a79fa8; font-size: 13px; font-weight: 700; }
    .download-status { margin: 18px auto 0; color: #aaa2ab; font-size: 13px; }
    .download-status.is-success { color: #25e4aa; }
    .download-note { margin-top: 18px; color: #777078; font-size: 12px; }
    .download-control { min-width: 96px; min-height: 44px; margin-top: 18px; border: 1px solid #85244b; border-radius: 13px; background: rgba(20,12,18,.78); color: white; font-weight: 850; cursor: pointer; }
    .download-open { width: min(238px, 90%); margin-top: 24px; }
    .download-view[hidden] { display: none; }
    #detail-dialog { width: min(760px, calc(100vw - 24px)); }
    .preview-player { margin: 20px 0 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: #05020a; }
    .preview-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #08040d; }
    .preview-stage img { width: 100%; height: 100%; display: block; object-fit: cover; }
    .preview-play { position: absolute; inset: 50% auto auto 50%; width: 72px; height: 72px; transform: translate(-50%, -50%); border: 2px solid white; border-radius: 50%; background: rgba(11, 2, 20, .7); color: white; cursor: pointer; }
    .preview-play::before { content: ""; position: absolute; left: 29px; top: 21px; border-top: 14px solid transparent; border-bottom: 14px solid transparent; border-left: 21px solid white; }
    .preview-player.is-playing .preview-play::before { left: 25px; top: 22px; width: 20px; height: 27px; border: 0; background: linear-gradient(90deg, white 0 7px, transparent 7px 13px, white 13px); }
    .preview-player.is-loading .preview-play { display: none; }
    .preview-loading { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 14px; background: rgba(7, 2, 12, .52); color: white; font-weight: 800; text-shadow: 0 2px 8px black; }
    .preview-loading[hidden] { display: none; }
    .loading-spinner { width: 52px; height: 52px; border: 5px solid rgba(255,255,255,.28); border-top-color: white; border-radius: 50%; animation: spin .8s linear infinite; }
    @keyframes spin { to { transform: rotate(360deg); } }
    .preview-controls { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; }
    .preview-toggle { width: 44px; height: 44px; border: 0; background: transparent; color: white; font-size: 20px; cursor: pointer; }
    .preview-progress { width: 100%; accent-color: var(--accent); cursor: pointer; }
    .preview-time { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

    @media (max-width: 1160px) {
      .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
      .nav-list { gap: 16px; }
      .nav-list li:nth-last-child(-n+2) { display: none; }
    }
    @media (max-width: 900px) {
      .network li:not(:first-child) { display: none; }
      .brandrow { min-height: 92px; }
      .brandrow { position: relative; }
      .menu-button { display: block; position: absolute; z-index: 12; right: 12px; top: 50%; margin: 0; transform: translateY(-50%); }
      .primary-nav { position: absolute; z-index: 11; right: 12px; top: calc(50% + 28px); margin-left: 0; }
      .nav-list { display: none; position: absolute; z-index: 10; top: 0; right: 0; width: min(80vw, 300px); padding: 12px; border: 1px solid var(--line); background: #190e13; box-shadow: 0 18px 50px rgba(0,0,0,.5); }
      .nav-list.is-open { display: grid; }
      .nav-list li, .nav-list li:nth-last-child(-n+2) { display: block; }
      .nav-list a { justify-content: start; padding-inline: 14px; }
      .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
      .heading-row { align-items: stretch; flex-direction: column; }
      .sorts { width: 100%; }
      .hero-grid { grid-template-columns: 1fr; padding-block: 70px 90px; }
      .hero-art { min-height: 470px; width: min(92vw, 560px); justify-self: center; }
      .story-shell { grid-template-columns: 1fr; }
      .story-visual { position: sticky; top: 12px; z-index: 2; height: 55svh; min-height: 380px; }
      .story-steps { padding-top: 0; }
      .story-step { min-height: 62svh; padding-inline: 6px; }
    }
    @media (max-width: 650px) {
      .shell { width: 100%; max-width: 100vw; min-width: 0; }
      .utility, .brandbar, .search-band, .immersive-hero, main, footer { max-width: 100vw; overflow-x: clip; }
      .utility .shell { padding-right: 0; }
      .account button, .language-select { padding-inline: 14px; font-size: 12px; }
      .account { display: none; }
      .chips { display: grid; grid-template-columns: minmax(0, 1fr); }
      .chip { width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
      .brandrow { gap: 12px; }
      .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
      .card-body { min-height: 112px; padding-inline: 10px; }
      .footer-row { align-items: flex-start; flex-direction: column; padding-block: 28px; }
      .footer-links { justify-content: flex-start; }
      .immersive-hero { min-height: auto; }
      .hero-title { font-size: clamp(50px, 16vw, 72px); }
      .hero-title .outline { transform: translateX(16px); }
      .hero-art { min-height: 390px; }
      .story-visual { height: 48svh; min-height: 330px; border-radius: 18px; }
      .story-index { inset: auto 20px 20px; }
      .story-index strong { font-size: 72px; }
      .story-index span { max-width: 150px; font-size: 12px; }
    }
    @media (max-width: 420px) {
      .grid { grid-template-columns: 1fr; }
      .card { display: grid; grid-template-columns: 44% 1fr; }
      .art { height: 100%; min-height: 128px; aspect-ratio: auto; }
      .search-form { grid-template-columns: 1fr 48px; }
      .logo { letter-spacing: -2px; }
      .dialog-content { padding: 22px; }
      .dialog-actions { flex-direction: column; }
      .dialog-actions button { width: 100%; min-width: 0; white-space: normal; }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { animation: none !important; transition: none !important; }
      [data-reveal] { opacity: 1; transform: none; }
      .hero-photo { transform: rotate(3deg); }
      .card { transform: none !important; }
    }
  
