/* Desktop home composition. Legacy mobile layout remains below 1000px. */
.desktop-only, .desktop-inline { display: none; }
.home-page picture { display:contents; }
.profile-aura, .profile-standing, .profile-edge-ornament { display: none; }
[hidden] { display: none !important; }
/* Keep the document as the vertical scroll surface: hidden horizontal overflow
   otherwise creates a body scroll container that can trap wheel gestures. */
body.home-page { overflow-x: clip; overflow-y: visible; overscroll-behavior-y: auto; }
.divider-dot { display: inline-block; flex-shrink: 0; width: 14px; color: #c9c3af; font: 16px/24px Georgia, serif; text-align: center; }
.home-toast {
  position: fixed; z-index: 12000; left: 50%; bottom: 34px;
  transform: translateX(-50%); width: max-content; max-width: calc(100vw - 40px);
  padding: 18px 26px; border: 1px solid #8c281d; border-radius: 4px;
  background: #0e0e0d; color: #e8e7de; font: 14px/1.6 'Courier New', monospace;
  box-shadow: 0 10px 60px #000c, 0 0 22px #b21b141a;
}
@media (min-width: 1000px) {
  .desktop-only { display: block; }
  .desktop-inline { display: inline; }
  body.home-page {
    --home-bone: #e8e6de; --home-muted: #8a8a80; --home-red: #d3261a;
    --home-line: #6b6b5d; --home-width: 1040px;
    padding: 0; background: #000; color: var(--home-bone);
    position: relative; isolation: isolate; font-family: 'Courier New', monospace;
  }
  .home-page a { color: inherit; }
  .home-page button { font-family: inherit; }
  .home-page a:focus-visible, .home-page button:focus-visible,
  .home-page [tabindex]:focus-visible {
    outline: 2px solid #e1ddd0; outline-offset: 7px;
  }
  .home-page .void-bg, .home-page #starfield, .home-page .ascii-bg,
  .home-page .cult-symbol, .home-page .fog, .home-page .watching-eyes,
  .home-page .logo-section, .home-page .main-section { display: none; }
  .home-page .fade-in { opacity: 1; transform: none; animation: none; }
  .home-page .page-container {
    max-width: none; width: 100%; margin: 0; padding: 0;
    position: relative; z-index: auto;
  }
  .home-scene {
    pointer-events: none; position: absolute; z-index: -1; top: 0; left: 50%;
    width: min(100%, 1440px); transform: translateX(-50%);
    height: 760px; overflow: hidden;
    background: linear-gradient(#0003, #0003), url('/assets/home-atmosphere.webp') center -24px / 1440px 742.5px no-repeat;
    mask-image: linear-gradient(#000 0%, #000 52%, transparent 100%), linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-composite: intersect;
  }
  .home-scene .hero-emblem {
    position: absolute; left: 50%; top: 42px; width: 620px; max-width: none;
    height: 620px; transform: translateX(-50%); object-fit: contain;
    filter: grayscale(1) brightness(.85); opacity: .62;
    mask-image: linear-gradient(#000 0%, #000 28%, #0008 46%, #0002 62%, transparent 80%), radial-gradient(ellipse 30% 35% at 50% 43%, transparent 0%, transparent 44%, #0002 69%, #0009 88%, #000 100%);
    mask-composite: intersect;
  }
  .hero-cloud-video {
    position: absolute; left: 50%; top: -24px;
    width: 1440px; height: 742.5px; max-width: none;
    transform: translateX(-50%); object-fit: fill; pointer-events: none;
    opacity: 0; filter: brightness(.8); transition: opacity 1.4s ease;
  }
  .home-scene.video-ready .hero-cloud-video { opacity: 1; }
  #home-motion-toggle {
    position: absolute; right: max(35px, calc((100% - 1120px) / 2)); bottom: 14px;
    display: grid; place-items: center; width: 30px; height: 30px; padding: 5px;
    border: 1px solid #d0c8ad30; border-radius: 50%; color: #b0aea180;
    background: #0005; cursor: pointer; transition: color .2s, border-color .2s;
  }
  #home-motion-toggle:hover { color: #e0dfd5; border-color: #d0c8ad88; }
  #home-motion-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
  #home-motion-toggle .motion-play { display: none; }
  #home-motion-toggle[data-paused="true"] .motion-play { display: block; }
  #home-motion-toggle[data-paused="true"] .motion-pause { display: none; }
  .home-page::before {
    content: ''; pointer-events: none; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0;
    height: clamp(300px, 24vw, 440px); opacity: .45;
    background: url('/assets/home-footer-clouds.webp') center bottom / 100% auto no-repeat;
    mask-image: linear-gradient(transparent, #0003 30%, #0009 60%, #000 88%);
  }
  .home-page::after {
    content: ''; pointer-events: none; position: absolute; z-index: -1; inset: 360px 0 0;
    opacity: .06; filter: grayscale(1) contrast(1.8) brightness(.45);
    background: url('/assets/home-lower-atmosphere.webp') center bottom / max(100%, 1536px) auto repeat-y;
    mask-image: linear-gradient(transparent, #000 28%, #000);
  }
  .desktop-header {
    position: relative; z-index: 8; height: 76px;
    width: min(1120px, calc(100% - 70px)); margin: 0 auto;
  }
  .home-nav { height: 76px; display: grid; grid-template-columns: 1fr 160px 1fr; align-items: center; }
  .home-nav-left, .home-nav-right { display: flex; align-items: center; gap: 34px; }
  .home-nav-right { justify-content: flex-end; gap: 26px; }
  .home-nav a, .home-nav button {
    position: relative; flex-shrink: 0; text-decoration: none; border: 0; background: none;
    color: #b2b2a8; text-transform: uppercase; letter-spacing: 1.8px; font: 11px/1.5 'Courier New', monospace;
    padding: 15px 0; cursor: pointer; white-space: nowrap;
    transition: color .2s;
  }
  .home-nav a:hover, .home-nav button:hover { color: #f2f0e5; }
  .home-nav .nav-current { color: #ebe8dc; }
  .home-nav .nav-current::after {
    content: ''; position: absolute; bottom: 5px; height: 1px; left: -20px; right: -20px;
    background: linear-gradient(90deg, transparent, #a7271b, transparent);
  }
  .home-chat { display: flex; align-items: center; justify-content: center; justify-self: center; width: 190px; gap: 8px; height: 100%; }
  .home-chat::before, .home-chat::after {
    content: ''; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, #68685c);
  }
  .home-chat::after { transform: rotate(180deg); }
  .home-nav .chat-sigil { display: grid; place-items: center; width: 64px; height: 70px; padding: 3px 0; color: #d3d2c9; }
  .chat-sigil svg { width: 64px; height: 64px; transition: transform .3s, opacity .3s; }
  .chat-sigil:hover svg { transform: scale(1.05); opacity: 1; }
  .home-nav .nav-account { display: flex; align-items: center; gap: 26px; }
  .home-nav .nav-account a, .home-nav .nav-account button { padding: 0; display: grid; place-items: center; }
  .nav-bell svg { width: 21px; height: 23px; stroke: currentColor; stroke-width: 1.1; }
  #home-nav-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; filter: saturate(.4); border: 1px solid #55564e; }
  .home-updates-panel {
    position: absolute; top: 72px; right: 0; width: 330px; padding: 25px;
    background: #0a0b0a; border: 1px solid #4c4c42; box-shadow: 0 16px 60px #000c;
    font-size: 12px; line-height: 1.7; z-index: 10;
  }
  .home-updates-panel .updates-heading { font: 16px Georgia, serif; letter-spacing: 3px; margin-bottom: 20px; text-transform: uppercase; }
  .home-updates-panel p:not(.updates-heading) { display: flex; justify-content: space-between; gap: 15px; margin: 15px 0; }
  .home-updates-panel strong { font-weight: 400; color: #c6c1b3; text-align: right; }
  .home-updates-panel > a { display: block; padding-top: 16px; border-top: 1px solid #33342d; color: #e2dfd1; text-decoration: none; }
  .home-updates-panel a span { float: right; }
  .desktop-hero { height: 300px; position: relative; text-align: center; }
  .desktop-hero h1 { margin: 0; font-size: 0; }
  .desktop-hero .hero-wordmark {
    position: absolute; width: 560px; height: 328px; max-width: none;
    left: 50%; top: -37px; transform: translateX(-50%); object-fit: contain;
    filter: grayscale(1) drop-shadow(0 8px 13px #000) drop-shadow(0 0 18px #000);
  }
  .home-page .profile-section {
    position: relative; width: min(var(--home-width), calc(100% - 10vw)); max-width: none; margin: 0 auto 22px;
  }
  .home-page .profile-card {
    --profile-frame: url('/assets/home-profile-frame.webp?v=20261020-profile-crescent');
    --profile-light: 196, 180, 154;
    --profile-strength: .65;
    display: block; width: 100%; height: auto; aspect-ratio: 1895 / 410;
    margin: 0; padding: 0; position: relative; background: none;
    border: 0; border-radius: 0; box-shadow: none; clip-path: none;
    transition: none; overflow: visible;
  }
  .home-page .profile-card::before {
    content: ''; display: block; position: absolute; inset: 0; pointer-events: none;
    background: var(--profile-frame) center 40.47619% / 100% auto no-repeat;
    opacity: .80; transition: opacity .25s;
  }
  .home-page .profile-card::after { display: none; }
  .home-page .profile-card:hover { transform: none; background: none; box-shadow: none; }
  .home-page .profile-card:hover::before { opacity: .96; }
  .home-page .avatar-wrapper {
    position: absolute; left: 15.2%; top: 56.1%; transform: translate(-50%, -50%);
    width: 10.9%; height: auto; aspect-ratio: 1; margin: 0;
  }
  .home-page #avatar {
    display: block; width: 100%; height: 100%; border-radius: 50%; padding: 0;
    border: 1px solid #4b4a43; object-fit: cover; background: #050505;
  }
  .home-page .avatar-ring { display: none; }
  .home-page .profile-info, .home-page .profile-stats { display: contents; }
  .home-page .profile-identity {
    position: absolute; left: 26%; top: 54%; width: 20%; min-width: 0;
    transform: translateY(-50%); display: flex; flex-direction: column; justify-content: center; gap: 4px;
  }
  .home-page .profile-welcome { margin: 0; font: 600 9px/1.5 Georgia, serif; letter-spacing: 2px; color: #a7a393; }
  .home-page .profile-name { margin: 0; font: 40px/1.15 'UnifrakturMaguntia', Georgia, serif; color: #eeeadd; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .home-page .profile-stat { position: absolute; margin: 0; display: flex; flex-direction: column; }
  .home-page .profile-stat-label { font: 600 9px/1.5 Georgia, serif; letter-spacing: 2px; color: #a7a393; text-transform: uppercase; }
  .home-page .profile-stat--points {
    left: 54.5%; top: 54%; width: 17%; transform: translateY(-50%);
    align-items: center; padding: 0; border: 0; gap: 3px;
  }
  .home-page #points { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font: 400 40px/1.1 Georgia, serif; letter-spacing: 3px; color: #e4decf; }
  .home-page .profile-stat--rank {
    left: 80.5%; top: 56.1%; width: 12.5%; min-width: 0; transform: translateY(-50%);
    justify-content: center; align-items: center; padding: 0; border: 0;
  }
  .home-page .mobile-rank-label { display: none; }
  .home-page .profile-stat--rank .profile-stat-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .home-page .profile-stat-value.rank {
    max-width: 100%; max-height: 42px; padding: 0; color: #e4decf; border: 0; background: none;
    font: 600 11px/1.45 Georgia, serif; letter-spacing: 1px; text-align: center;
    white-space: normal; overflow-wrap: anywhere; overflow: auto; scrollbar-width: thin;
  }
  .home-page .profile-glow-line { display: none; }
  .home-page .profile-standing {
    display: block; margin-top: 3px; color: #aaa394;
    font: 9px/1.5 'Courier New', monospace; letter-spacing: 1.3px;
  }
  .home-page .profile-card[data-profile-tier="2"] {
    --profile-frame: url('/assets/home-profile-second.webp?v=20261022-silver-crescent');
    --profile-light: 195, 202, 210;
    --profile-strength: .38;
  }
  .home-page .profile-card[data-profile-tier="3"] {
    --profile-frame: url('/assets/home-profile-third.webp?v=20261020-profile-cutout');
    --profile-light: 174, 122, 82;
    --profile-strength: .22;
  }
  /* The crescent artwork sits above the photo so its thin lower points remain visible. */
  .home-page .profile-card[data-profile-tier="2"]::before { opacity: .74; filter:grayscale(1) brightness(1.08); z-index:1; }
  .home-page .profile-card[data-profile-tier="2"] .avatar-wrapper { left:15.38%; top:53.18%; width:10.58%; z-index:0; }
  .home-page .profile-card[data-profile-tier="2"] #avatar { border:0; }
  .home-page .profile-card[data-profile-tier="2"] .profile-identity,
  .home-page .profile-card[data-profile-tier="2"] .profile-stat { z-index:2; }
  .home-page .profile-card[data-profile-tier="2"] .profile-stat--rank { left:75.6%; top:57.2%; width:15.6%; }
  .home-page .profile-card[data-profile-tier="1"] .profile-stat--rank { left: 77%; width: 15.4%; }
  .home-page .profile-card[data-profile-tier="3"]::before { opacity: .66; filter:sepia(.85) saturate(1.45) hue-rotate(-12deg) brightness(.88); }
  .home-page .profile-card[data-profile-tier="3"] .profile-stat--rank { left: 77%; width: 15.4%; }
  .home-page .profile-card:not([data-profile-tier="regular"]) .profile-aura {
    display: block; position: absolute; inset: 17% 3% 14%; pointer-events: none;
    border-radius: 8px; opacity: var(--profile-strength);
    box-shadow: 0 0 23px rgba(var(--profile-light), .16), inset 0 0 17px rgba(var(--profile-light), .09);
    animation: profile-edge-breathe 6s ease-in-out infinite;
  }
  .profile-aura::before, .profile-aura::after {
    content: ''; position: absolute; left: 6%; right: 6%; height: 1px; top: 0;
    background: linear-gradient(90deg, transparent, rgba(var(--profile-light), .7), transparent);
  }
  .profile-aura::after { top: auto; bottom: 0; }
  .home-page .profile-card[data-profile-tier="2"] .profile-aura { animation-duration: 8s; }
  .home-page .profile-card[data-profile-tier="3"] .profile-aura { animation-duration: 10s; }
  .home-page .profile-card[data-profile-tier="regular"] { height: 120px; aspect-ratio: auto; }
  .home-page .profile-card[data-profile-tier="regular"]::before {
    inset: 6px 0; border: 1px solid #55554a66; border-radius: 2px;
    background: linear-gradient(110deg, #0a0a08c9, #000e); opacity: 1;
  }
  .home-page .profile-card[data-profile-tier="regular"]::after {
    display: none;
  }
  .home-page .profile-card[data-profile-tier="regular"] .profile-edge-ornament {
    display: block; position: absolute; width: 72px; height: 72px; max-width: none;
    pointer-events: none; overflow: visible; color: #c9c3af; stroke: currentColor; stroke-width: .65;
  }
  .profile-edge-ornament--left { left: -32px; bottom: -1px; }
  .profile-edge-ornament--right { right: -32px; top: -1px; transform: rotate(180deg); }
  .profile-edge-etch { opacity: .3; }
  .profile-edge-glint {
    opacity: .55; transform-box: fill-box; transform-origin: center;
    filter: drop-shadow(0 0 3px #d6d0bb70);
    animation: profile-side-glint 7s ease-in-out infinite;
  }
  .profile-edge-trace {
    stroke-width: 1; stroke-dasharray: 8 100; opacity: .65;
    animation: profile-side-trace 7s ease-in-out infinite;
  }
  .profile-edge-ornament--right .profile-edge-glint,
  .profile-edge-ornament--right .profile-edge-trace { animation-delay: -3.5s; }
  .home-page .profile-card[data-profile-tier="regular"] .avatar-wrapper { left: 6.5%; top: 50%; width: 7.5%; }
  .home-page .profile-card[data-profile-tier="regular"] .profile-identity { left: 14.5%; top: 50%; width: 32%; }
  .home-page .profile-card[data-profile-tier="regular"] .profile-name { font-size: 32px; }
  .home-page .profile-card[data-profile-tier="regular"] .profile-standing { color: #77776e; font-size: 8px; letter-spacing: .8px; }
  .home-page .profile-card[data-profile-tier="regular"] .profile-stat--points {
    left: 52%; top: 50%; width: 17%; border-left: 1px solid #55554a66; gap: 7px;
  }
  .home-page .profile-card[data-profile-tier="regular"] #points { font-size: 28px; letter-spacing: 2px; }
  .home-page .profile-card[data-profile-tier="regular"] .profile-stat--rank {
    left: 73%; top: 50%; width: 24%; border-left: 1px solid #55554a66; gap: 9px; padding: 0 16px;
    isolation: isolate;
  }
  .home-page .profile-card[data-profile-tier="regular"] .profile-stat--rank::before {
    content: ''; position: absolute; inset: -22px 7px; z-index: -1; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 90' preserveAspectRatio='none'%3E%3Cpath d='M15 14H285L294 23V67L285 76H15L6 67V23Z' fill='%23060605' fill-opacity='.7' stroke='%237d7764' stroke-width='.9'/%3E%3Cpath d='M18 20H282L288 26V64L282 70H18L12 64V26Z' fill='none' stroke='%23464237' stroke-width='.7'/%3E%3Cpath d='m8 8 9 9-15 12m290-21-9 9 15 12M8 82l9-9L2 61m290 21-9-9 15-12M150 7l3 7-3 7-3-7ZM150 69l2 7-2 7-2-7Z' fill='none' stroke='%23827a67' stroke-width='.7'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  }
  .home-page .profile-card[data-profile-tier="regular"] .profile-stat--rank .profile-stat-label {
    position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal;
  }
  .home-page .profile-card[data-profile-tier="regular"] .profile-stat-value.rank { color: #c2baaa; }
  .home-release { width: min(var(--home-width), calc(100% - 12vw)); margin: 0 auto; position: relative; padding: 20px 0 26px; }
  .home-release::before { content: ''; height: 1px; top: 0; position: absolute; left: -42px; right: -42px; background: linear-gradient(90deg, transparent, #7e7e6880 15%, #7e7e6880 85%, transparent); }
  .release-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr) 250px; gap: 32px; align-items: stretch; }
  .release-cover { width: 300px; height: 300px; padding: 3px; border: 1px solid #8b8b7b; background: #070807; box-shadow: 0 3px 20px #aeab9233; position: relative; }
  .release-cover::after { content: ''; pointer-events: none; position: absolute; inset: 7px; border: 1px solid #1118; }
  .release-cover img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s cubic-bezier(.2,.7,.2,1), filter .45s; transform-origin: center; }
  .release-cover:hover img { transform: scale(1.035); filter: contrast(1.06); }
  .release-copy { padding: 5px 0 0; display: flex; align-items: flex-start; flex-direction: column; }
  .release-eyebrow { display: inline-block; padding: 5px 18px 4px; border: 1px solid #9b2017; border-radius: 3px; font-size: 9px; line-height: 1.4; text-transform: uppercase; letter-spacing: 3px; color: #e33b27; background: #1c050440; }
  #release-title { margin: 17px 0 14px; font: 400 40px/1.08 Georgia, 'Times New Roman', serif; text-transform: uppercase; letter-spacing: 10px; color: #eeece6; }
  .release-copy > p { font-size: 12px; line-height: 1.6; letter-spacing: .5px; color: #aaa69a; margin: 0 0 16px; }
  #release-listen { margin-top: auto; width: min(100%, 340px); min-height: 48px; padding: 0 18px; display: flex; align-items: center; gap: 20px; border: 1px solid #bf2519; background: linear-gradient(110deg, #13070570, #070807); box-shadow: 0 0 14px #af201b30, inset 0 0 14px #c2211610; border-radius: 4px; color: #e8e5db; cursor: pointer; font: 600 11px Georgia, serif; text-transform: uppercase; letter-spacing: 2.4px; transition: background .25s, box-shadow .25s, border-color .25s; }
  #release-listen { text-decoration: none; }
  #release-listen > svg { width: 22px; height: 22px; flex-shrink: 0; }
  #release-listen .button-chevron { margin-left: auto; font: 28px 'Courier New', monospace; color: #a52719; }
  #release-listen:hover { border-color: #ef3d25; background: #210b08; box-shadow: 0 0 22px #af201b55; }
  #release-listen:active { transform: translateY(1px); }
  .release-art { height: 300px; position: relative; margin-left: 6px; }
  .release-art::before { content: ''; position: absolute; top: 20px; bottom: 24px; left: -23px; width: 1px; background: linear-gradient(transparent, #777665, transparent); }
  .release-art > .divider-dot { position: absolute; left: -30px; top: 132px; background: #000; width: 14px; padding: 2px 0; }
  .release-panels { position: relative; height: 100%; }
  .release-panel {
    position: absolute; top: 0; height: 100%; margin: 0; padding: 0; border: 0;
    background: transparent; border-radius: 0; appearance: none; cursor: pointer;
    perspective: 850px; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  }
  /* Match the three strips and gutters already painted into the original artwork. */
  .release-panel:nth-child(1) { left: 0; width: 34.92823%; --scene-width: 286.30137%; --scene-offset: 0%; }
  .release-panel:nth-child(2) { left: 38.43700%; width: 25.51834%; --scene-width: 391.87500%; --scene-offset: -150.62500%; }
  .release-panel:nth-child(3) { left: 67.30463%; width: 32.69537%; --scene-width: 305.85366%; --scene-offset: -205.85366%; }
  .release-panel:focus-visible { outline: 1px solid #b5aa8f; outline-offset: 5px; }
  .release-panel-turn {
    display: block; position: absolute; inset: 0; pointer-events: none;
    transform-style: preserve-3d; transform: rotateY(0deg);
    transition: transform 650ms cubic-bezier(.22,.72,.16,1);
  }
  .release-panel[aria-pressed="true"] .release-panel-turn { transform: rotateY(180deg); }
  .release-panel-face {
    position: absolute; inset: 0; display: block; overflow: hidden;
    backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #050505;
  }
  .release-panel-front { transform: translateZ(.1px); }
  .release-panel-back { background: #000; transform: rotateY(180deg) translateZ(.1px); }
  .release-panel-face img {
    position: absolute; top: 0; left: var(--scene-offset); width: var(--scene-width);
    max-width: none; height: 100%; display: block; user-select: none;
  }
  .release-panel-front img { object-fit: fill; }
  .release-panel-back img { object-fit: cover; object-position: center; }
  .home-tasks { width: min(var(--home-width), calc(100% - 12vw)); margin: 0 auto; }
  .home-divider, .home-page .occult-divider { display: flex; align-items: center; justify-content: center; gap: 25px; height: 24px; color: #ddd5be; margin: 0; font: 22px Georgia, serif; }
  .home-divider::before, .home-divider::after, .home-page .occult-divider::before, .home-page .occult-divider::after { content: ''; flex: 1; width: auto; height: 1px; background: linear-gradient(90deg, transparent, #aaa58b); }
  .home-divider::after, .home-page .occult-divider::after { transform: rotate(180deg); }
  #home-tasks-title { font: 400 19px/1.2 Georgia, 'Times New Roman', serif; text-align: center; text-transform: uppercase; letter-spacing: 8px; margin: 9px 0 8px; padding-left: 8px; color: #e7e4d8; }
  .tasks-caption { text-align: center; text-transform: uppercase; color: #949185; font-size: 10px; letter-spacing: 2.9px; line-height: 1.5; margin-bottom: 16px; }
  .home-task-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .home-task-card { position: relative; min-width: 0; height: 162px; padding: 22px 24px 20px 92px; background: linear-gradient(115deg, #0a0b0ae8, #070807cc); border: 1px solid #45463b; border-radius: 6px; color: inherit; text-decoration: none; transition: border-color .25s, background .25s, transform .25s; }
  .home-task-card:hover { border-color: #745247; background: #0e0e0b; transform: translateY(-3px); }
  .task-icon { position: absolute; top: 18px; left: 18px; display: grid; place-items: center; width: 56px; height: 56px; pointer-events: none; }
  .task-icon img { display: block; width: 100%; height: 100%; object-fit: contain; filter: saturate(.68) brightness(.9); transition: filter .3s ease; }
  .home-task-card:hover .task-icon img, .home-task-card:focus-visible .task-icon img { filter: saturate(.78) brightness(1.12) drop-shadow(0 0 5px #b09c7933); }
  .home-task-card h3 { margin: 0 90px 12px 0; white-space: nowrap; color: #e8e4d8; font: 400 13px/1.3 Georgia, 'Times New Roman', serif; text-transform: uppercase; letter-spacing: 1.5px; }
  .task-reward { position: absolute; right: 24px; top: 24px; color: #ed3020; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; }
  .task-description { max-width: 320px; font-size: 12px; line-height: 1.45; letter-spacing: .1px; color: #aaa699; margin-right: 32px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .task-bottom { position: absolute; left: 92px; right: 102px; bottom: 20px; display: flex; align-items: center; gap: 18px; }
  .task-count { color: #eee9dd; font-size: 12px; letter-spacing: 2px; white-space: nowrap; }
  .task-track { flex: 1; display: block; height: 7px; border: 1px solid #626154; border-radius: 1px; overflow: hidden; }
  .task-track > span { display: block; width: 0; height: 100%; background: #b53020; transition: width .4s; }
  .task-arrow { position: absolute; bottom: 18px; right: 24px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #bbb59e; border-radius: 50%; font: 27px/1 'Courier New', monospace; color: #f0ead9; transition: background .25s; }
  .home-task-card:hover .task-arrow { background: #2a140e; }
  .task-state { position: absolute; right: 83px; bottom: 43px; color: #aaa28e; font-size: 10px; }
  .task-state[data-state="available"] { visibility: hidden; }
  .home-page .occult-divider { width: min(var(--home-width), calc(100% - 12vw)); margin: 24px auto 12px; }
  .home-page .top-section { width: min(var(--home-width), calc(100% - 10vw)); max-width: none; margin: 0 auto; overflow: visible; }
  .home-page .top-title { font: 400 14px/1.4 Georgia, serif; letter-spacing: 5px; text-transform: uppercase; color: #e7e3d7; margin-bottom: 10px; padding-left: 5px; text-align: center; }
  .top-scroll-shell { display: grid; grid-template-columns: 32px minmax(0, 1fr) 32px; gap: 16px; align-items: center; }
  .home-page .top-marquee-wrapper { width: 100%; display: block; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding: 36px 0 8px; mask-image: none; -webkit-mask-image: none; }
  .home-page .top-marquee-wrapper::-webkit-scrollbar { display: none; }
  .home-page .top-marquee { display: flex; width: max-content; min-width: 100%; justify-content: space-between; gap: 8px; animation: none; transform: none; padding: 0 12px; }
  .home-page .top-user { width: 84px; min-width: 84px; text-align: center; padding: 0; cursor: pointer; position: relative; transition: transform .25s; }
  .home-page .top-user:hover { transform: translateY(-4px); }
  .home-page .top-avatar { display: block; width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; object-fit: cover; border: 1px solid #d4ccad; animation: none; }
  .home-page .top-position { position: absolute; top: -3px; right: 3px; width: 23px; height: 23px; display: grid; place-items: center; font-size: 10px; color: #eee9d9; border: 1px solid #bdb497; background: #090a08; border-radius: 50%; }
  .home-page .top-name { width: 84px; max-width: 84px; margin: 8px auto 4px; font-size: 11px; line-height: 1.2; color: #e2ded1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .home-page .top-points { margin: 0; font-size: 11px; color: #d4d0c0; letter-spacing: .6px; }
  .top-scroll-button { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid #aaa28b; color: #e0dac8; background: #060706; font: 23px/1 'Courier New', monospace; padding-bottom: 2px; cursor: pointer; }
  .top-scroll-button:hover { border-color: #ecdfbf; background: #24120a; }
  .home-page .cult-footer { display: grid; grid-template-columns: 1fr 1.5fr 1fr; align-items: center; width: min(var(--home-width), calc(100% - 10vw)); margin: 16px auto 0; min-height: 74px; padding: 16px 0 20px; border-top: 1px solid #96917b47; background: transparent; border-radius: 0; }
  .cult-footer .footer-text { display: block; grid-column: 2; margin: 0; padding: 0; font: 400 8px/1.5 Georgia, serif; letter-spacing: 2px; text-transform: uppercase; color: #e8e6de66; text-shadow: none; text-align: center; }
  .footer-social { display: flex; grid-column: 3; justify-content: flex-end; align-items: center; gap: 15px; padding-left: 24px; }
  .footer-social a { display: grid; place-items: center; width: 22px; height: 24px; color: #a9a99e; transition: color .2s, transform .2s; }
  .footer-social a:hover { color: #f0e9d8; transform: translateY(-2px); }
  .footer-social svg, .footer-social img { width: 20px; height: 20px; object-fit: contain; }
  .footer-social img { filter: grayscale(1) brightness(1.8); }
}
@media (min-width: 1000px) and (max-width: 1190px) {
  .release-grid { grid-template-columns: 29% minmax(0, 1fr) 24%; gap: 26px; }
  .release-cover { width: 100%; height: 280px; }
  .release-art { height: 280px; }
  #release-title { font-size: 36px; letter-spacing: 8px; }
  .release-copy > p { font-size: 11px; letter-spacing: .2px; }
  #release-listen { font-size: 10px; letter-spacing: 2px; gap: 16px; }
  .release-art::before { left: -17px; }
  .release-art > .divider-dot { left: -24px; }
  .home-task-card { padding-left: 78px; }
  .home-task-card h3 { font-size: 12px; letter-spacing: 1px; margin-right: 75px; }
  .task-icon { top: 18px; left: 14px; width: 50px; height: 50px; }
  .task-reward { font-size: 9px; right: 18px; }
  .task-description { font-size: 11px; margin-right: 20px; }
  .task-bottom { left: 78px; right: 94px; }
}
@media (min-width: 1000px) and (max-width: 1100px) {
  .desktop-header { width: calc(100% - 50px); }
  .home-nav { grid-template-columns: 1fr 110px 1.2fr; }
  .home-nav-left { gap: 22px; }
  .home-nav-right, .home-nav .nav-account { gap: 19px; }
  .home-nav a, .home-nav button { font-size: 9px; letter-spacing: 1.4px; }
  .home-chat { width: 136px; }
}
/* The same podium ornaments as the members directory, with room for their tips. */
.home-page .top-avatar-shell { display: block; position: relative; flex: none; width: 48px; height: 48px; margin: 0 auto; isolation: isolate; }
.home-page .top-avatar-shell .top-avatar { display: block; width: 100%; height: 100%; margin: 0; box-shadow: none; }
.home-page .top-user:not([data-avatar-frame="none"]) .top-avatar { border: 0; }
.home-page .top-avatar-frame { position: absolute; z-index: 1; width: 200%; height: 200%; max-width: none; left: -50%; top: -58%; object-fit: contain; pointer-events: none; user-select: none; }
.home-page .top-user[data-avatar-frame="second"] .top-avatar-frame { width: 172.4138%; height: 172.4138%; left: -36.2069%; top: -34.4828%; filter: grayscale(1) brightness(.95); }
.home-page .top-user[data-avatar-frame="third"] .top-avatar-frame { width: 186.6%; height: 186.6%; left: -43.3%; top: -57.3%; filter: saturate(.4) brightness(.82); }
.home-page .top-user .top-name { margin-top: 26px; }
.home-page .top-user .top-position { z-index: 2; }
@media (max-width: 999px) {
  .home-page .top-title { font-size: 9px; letter-spacing: 2.5px; }
  .home-page .footer-text { font-size: 7px; letter-spacing: 2.5px; }
  .home-page .top-marquee-wrapper { padding-top: 36px; }
  .home-page .top-user { width: 78px; min-width: 78px; padding-top: 0; }
  .home-page .top-avatar-shell { width: 45px; height: 45px; }
  .home-page .top-user .top-position { right: 0; }
}
/* Native scrolling remains available while the repeated track drifts slowly. */
.home-page .top-marquee-wrapper {
  display:block; overflow-x:auto; overflow-y:hidden; scrollbar-width:none;
  touch-action:pan-x pan-y; scroll-behavior:auto;
  mask-image:linear-gradient(to right,transparent,#000 18px,#000 calc(100% - 18px),transparent);
  -webkit-mask-image:linear-gradient(to right,transparent,#000 18px,#000 calc(100% - 18px),transparent);
}
.home-page .top-marquee-wrapper::-webkit-scrollbar { display:none; }
.home-page .top-marquee {
  display:flex; width:max-content; min-width:0; justify-content:flex-start;
  gap:var(--top-ribbon-gap,8px); padding:0 12px; transform:none; animation:none;
}
.home-page .top-user:focus-visible { outline:1px solid #b7ad92; outline-offset:6px; border-radius:4px; }
@media (prefers-reduced-motion: reduce) {
  .home-page .hero-cloud-video { opacity: 0 !important; transition: none; }
  .home-page *, .home-page *::before, .home-page *::after { scroll-behavior: auto !important; }
  .home-page .profile-card .profile-aura { animation: none !important; }
  .home-page .profile-edge-glint, .home-page .profile-edge-trace { animation: none !important; }
  .home-page .profile-edge-glint { opacity: .45; transform: none; }
  .home-page .profile-edge-trace { opacity: .25; }
}
@keyframes profile-edge-breathe {
  0%, 100% { opacity: calc(var(--profile-strength) * .4); }
  50% { opacity: var(--profile-strength); }
}
@keyframes profile-side-glint {
  0%, 100% { opacity: .25; transform: scale(.85); }
  45%, 55% { opacity: .8; transform: scale(1.12); }
}
@keyframes profile-side-trace {
  0%, 12% { stroke-dashoffset: 16; opacity: 0; }
  32%, 62% { opacity: .65; }
  85%, 100% { stroke-dashoffset: -88; opacity: 0; }
}


/* First-place metal: slow warm light, independent of avatar/points effects. */
@media (min-width:1000px) {
  .home-page .profile-card[data-profile-tier="1"]::before {
    animation:champion-frame-breathe 8.4s ease-in-out infinite;
  }
  .home-page .profile-card[data-profile-tier="1"]::after {
    content:''; display:block; position:absolute; inset:0; pointer-events:none;
    background:linear-gradient(110deg,transparent 43%,#edc88066 48%,#fff0d1b3 50%,#edc88066 52%,transparent 57%);
    background-size:300% 100%; background-position:130% 0; opacity:0;
    mask-image:var(--profile-frame); mask-mode:luminance;
    mask-position:center 40.47619%; mask-size:100% auto; mask-repeat:no-repeat;
    mix-blend-mode:screen; animation:champion-metal-sweep 14s ease-in-out infinite;
  }
  .home-page .profile-card[data-profile-tier="1"] .profile-aura {
    inset:0; border-radius:0; box-shadow:none; opacity:.6;
    animation:champion-aura-breathe 8.4s ease-in-out infinite;
  }
  .home-page .profile-card[data-profile-tier="1"] .profile-aura::before,
  .home-page .profile-card[data-profile-tier="1"] .profile-aura::after {
    inset:0; width:auto; height:auto; pointer-events:none; opacity:.08;
    background:radial-gradient(circle at 15.2% 18%,#fff6d8 0,#e7bc7766 2px,transparent 7px),radial-gradient(circle at 94.6% 81.4%,#fff1cacc 0,#d5a45c44 2px,transparent 6px);
    animation:champion-metal-glints 12s ease-in-out infinite;
  }
  .home-page .profile-card[data-profile-tier="1"] .profile-aura::after {
    background:radial-gradient(circle at 5.4% 22%,#fff1cacc 0,#d5a45c44 2px,transparent 6px),radial-gradient(circle at 84.7% 35%,#fff1caaa 0,#d5a45c33 2px,transparent 5px);
    animation-delay:-6s;
  }
}
@keyframes champion-frame-breathe {
  0%,100% { filter:brightness(1) drop-shadow(0 0 2px #d3a35414); }
  50% { filter:brightness(1.12) drop-shadow(0 0 6px #e8bc6e40); }
}
@keyframes champion-aura-breathe {
  0%,100% { opacity:.35; } 50% { opacity:.72; }
}
@keyframes champion-metal-sweep {
  0%,16% { background-position:130% 0; opacity:0; }
  25% { opacity:.65; }
  52% { background-position:-30% 0; opacity:.65; }
  60%,100% { background-position:-30% 0; opacity:0; }
}
@keyframes champion-metal-glints {
  0%,18%,62%,100% { opacity:.06; }
  35%,42% { opacity:.85; }
}
@media (min-width:1000px) and (prefers-reduced-motion:reduce) {
  .home-page .profile-card[data-profile-tier="1"]::before { animation:none!important; filter:brightness(1.04) drop-shadow(0 0 3px #d3a35418); }
  .home-page .profile-card[data-profile-tier="1"]::after { animation:none!important; opacity:0; }
  .home-page .profile-card[data-profile-tier="1"] .profile-aura,
  .home-page .profile-card[data-profile-tier="1"] .profile-aura::before,
  .home-page .profile-card[data-profile-tier="1"] .profile-aura::after { animation:none!important; opacity:.16; }
}

/* Match the compact profile borders to their podium metals. */
@media (max-width:999px) {
 .home-page .profile-card[data-profile-tier="2"] { border-color:#a1a8b1; }
 .home-page .profile-card[data-profile-tier="3"] { border-color:#9c7050; }
}

/* A quiet halo, drifting edge mist and an occasional glint for the current release. */
@media (min-width:1000px) {
  .home-release { --release-motion:paused; }
  .home-release[data-effects-active="true"] { --release-motion:running; }
  .release-cover {
    isolation:isolate; overflow:visible;
    border-color:#aaa38d;
    box-shadow:0 6px 24px #000a,0 0 24px #c4bfa327;
    transition:transform .7s cubic-bezier(.2,.7,.2,1),border-color .7s,box-shadow .7s;
  }
  .release-cover::before {
    content:''; position:absolute; inset:-2px; z-index:-1; pointer-events:none;
    border:1px solid #d5cdb96b;
    box-shadow:0 0 16px #d1c6a945,0 0 38px #b7ab8633,0 0 64px #ad311718;
    opacity:.35; animation:release-halo-breathe 7.5s ease-in-out infinite;
    animation-play-state:var(--release-motion);
  }
  .release-cover::after { z-index:3; }
  .release-cover-visual { position:relative; width:100%; height:100%; overflow:hidden; z-index:1; }
  .release-cover-visual::after {
    content:''; position:absolute; inset:0; pointer-events:none;
    background:linear-gradient(115deg,transparent 30%,#eee6d50d 44%,#fff4db4d 50%,#eee6d514 56%,transparent 70%);
    transform:translateX(-145%); opacity:0;
    animation:release-silver-sweep 12s cubic-bezier(.4,0,.2,1) -6.8s infinite;
    animation-play-state:var(--release-motion);
  }
  .release-atmosphere { position:absolute; inset:-26px; z-index:-1; pointer-events:none; opacity:.7; transition:opacity .7s; }
  .release-atmosphere::before,.release-atmosphere::after {
    content:''; position:absolute; inset:3% 1%; pointer-events:none;
    background:radial-gradient(ellipse at 8% 76%,#d1c9b14d,transparent 29%),radial-gradient(ellipse at 82% 15%,#bab7ac4d,transparent 31%),radial-gradient(ellipse at 65% 92%,#836a4e40,transparent 29%);
    filter:blur(11px); opacity:.3; transform-origin:center;
    animation:release-mist-drift 11s ease-in-out -3s infinite alternate;
    animation-play-state:var(--release-motion);
  }
  .release-atmosphere::after {
    background:radial-gradient(ellipse at 17% 22%,#a7ada34d,transparent 30%),radial-gradient(ellipse at 93% 69%,#c8b99f59,transparent 28%);
    animation-duration:15s; animation-delay:-9s; animation-direction:alternate-reverse;
  }
  .release-rim-light {
    position:absolute; inset:-1px; padding:1px; z-index:4; overflow:hidden; pointer-events:none;
    -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
    mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
    -webkit-mask-composite:xor; mask-composite:exclude;
  }
  .release-rim-light::before {
    content:''; position:absolute; inset:-15%;
    background:linear-gradient(115deg,transparent 33%,#dfd5be66 44%,#fff6df 50%,#dfd5be66 56%,transparent 67%);
    transform:translateX(-145%); opacity:0;
    animation:release-silver-sweep 12s cubic-bezier(.4,0,.2,1) -6.8s infinite;
    animation-play-state:var(--release-motion);
  }
  .release-cover:hover,.home-release:focus-within .release-cover {
    transform:translateY(-4px); border-color:#d7cfb8;
    box-shadow:0 12px 30px #000a,0 0 30px #cfc4a345,0 0 60px #a741231c;
  }
  .release-cover:hover .release-atmosphere,.home-release:focus-within .release-atmosphere { opacity:1; }
}
@keyframes release-halo-breathe {
  0%,100% { opacity:.25; } 50% { opacity:.75; }
}
@keyframes release-mist-drift {
  0% { transform:translate(-5px,8px) scale(.97) rotate(-3deg); opacity:.24; }
  55% { opacity:.6; }
  100% { transform:translate(5px,-10px) scale(1.06) rotate(3deg); opacity:.4; }
}
@keyframes release-silver-sweep {
  0%,48% { transform:translateX(-145%); opacity:0; }
  56% { opacity:.65; }
  74% { transform:translateX(145%); opacity:.65; }
  80%,100% { transform:translateX(145%); opacity:0; }
}
@media (prefers-reduced-motion:reduce) {
  .home-release .release-panel-turn,.home-release .release-panel[aria-pressed="true"] .release-panel-turn { transform:none; transition:none; }
  .home-release .release-panel-face { transform:none; }
  .home-release .release-panel-back { opacity:0; }
  .home-release .release-panel[aria-pressed="true"] .release-panel-back { opacity:1; }
  .home-release .release-cover,.home-release .release-cover img,.home-release .release-atmosphere { transition:none; }
  .home-release .release-cover,.home-release .release-cover:hover img { transform:none; }
  .home-release .release-cover::before { animation:none; opacity:.4; }
  .home-release .release-atmosphere::before,.home-release .release-atmosphere::after { animation:none; transform:none; opacity:.25; }
  .home-release .release-cover-visual::after,.home-release .release-rim-light::before { animation:none; opacity:0; }
}
