:root {
    color-scheme: dark;
    --background: #131b3d;
    --surface: #202e53;
    --line: #38547d;
    --ink: #fff;
    --muted: #becfe7;
    --gold: #84c9ff;
    --page: 1380px;
    --header-tone: #0c142d;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--background);
    font: 1rem/1.65 system-ui, -apple-system, "Segoe UI", sans-serif;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.lyrawp-header {
    position: sticky;
    z-index: 2;
    top: 0;
    background: #0c0a20;
}

.lyrawp-header-wrap {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    min-height: 70px;
    padding: 0 20px;
}

.lyrawp-header-wrap > img { grid-column: 2; grid-row: 1; width: 100px; }
.lyrawp-primary-menu { grid-column: 1; grid-row: 1; display: flex; align-items: center; gap: clamp(14px, 3vw, 48px); }
.lyrawp-primary-menu a, footer nav a { color: var(--ink); font-size: .84rem; font-weight: 650; }
nav a:hover, nav a[aria-current="page"] { color: #83e6fb; }
.lyrawp-drawer { display: none; }
.lyrawp-account-links { grid-column: 3; grid-row: 1; display: flex; justify-content: flex-end; gap: 10px; }

.lyrawp-go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55em;
    min-height: 42px;
    padding: .6em 1.5em;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #151024;
    background: var(--gold);
    font-size: .88rem;
    line-height: 1.2;
    font-weight: 750;
}

.lyrawp-go:hover { background: #fff797; }
.lyrawp-outline { border-color: #a29eb4; color: var(--ink); background: transparent; }
.lyrawp-outline:hover { background: #252144; }

main { padding-bottom: 60px; }
.lyrawp-masthead {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    min-height: clamp(220px, 22.66vw, 460px);
    overflow: hidden;
    text-align: center;
    background: #0a091d;
}

.lyrawp-masthead > img, .lyrawp-masthead::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.lyrawp-masthead > img { z-index: -2; object-fit: cover; }
.lyrawp-masthead::after { z-index: -1; content: ""; background: radial-gradient(ellipse at center, #08071999, transparent 66%); }
.lyrawp-intro { max-width: 100%; padding: 22px 16px; }
.lyrawp-kicker { margin: 0 0 .2rem; color: #b1baff; font-size: clamp(.72rem, 1vw, .95rem); letter-spacing: .035em; font-weight: 750; }
.lyrawp-display-title { margin: 0; font-size: clamp(1.75rem, 3vw, 3.8rem); line-height: 1.12; font-weight: 850; letter-spacing: -.03em; }
.lyrawp-lead { margin: .45rem 0 .85rem; color: #e4dff6; font-size: .8rem; }
.lyrawp-masthead .lyrawp-go { min-width: 150px; }

.lyrawp-collection, article, .lyrawp-foot-wrap { width: min(var(--page), 64%); margin-inline: auto; }
.lyrawp-collection { padding-top: 32px; }
.lyrawp-browse { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.lyrawp-browse nav { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 4px; overflow-x: auto; white-space: nowrap; scrollbar-width: thin; }
.lyrawp-browse nav a { font-size: clamp(.68rem, .8vw, .84rem); font-weight: 650; }
.lyrawp-home-chip { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border: 1px solid #83e6fb; border-radius: 50%; color: #83e6fb; }
.lyrawp-lookup { display: flex; align-items: center; gap: 6px; width: clamp(156px, 15vw, 250px); flex-shrink: 0; padding: .34rem .75rem; border-radius: 999px; color: #dcd9fa; background: #282547; }
.lyrawp-lookup input { width: 100%; min-width: 0; border: 0; color: inherit; background: transparent; font: inherit; font-size: .78rem; }
.lyrawp-lookup input::placeholder { color: #dcd9fa; }
.lyrawp-lookup input:focus { outline: none; }
.lyrawp-lookup:focus-within { outline: 2px solid #83e6fb; outline-offset: 2px; }
.lyrawp-no-results { color: var(--muted); }

.lyrawp-shelf { margin-bottom: clamp(24px, 2.8vw, 50px); scroll-margin-top: 90px; }
.lyrawp-shelf-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.lyrawp-shelf-label p { margin: 0; font-size: clamp(.85rem, 1vw, 1.1rem); font-weight: 680; }
.lyrawp-shelf-label p span { margin-right: .28em; }
.lyrawp-shelf-label > a, .lyrawp-separator > a { color: #fff; background: #576cc9; }
.lyrawp-shelf-label > a:hover, .lyrawp-separator > a:hover { background: #6573df; }
.lyrawp-shelf-label > a { padding: .23em .95em; border-radius: 999px; font-size: .72rem; line-height: 1.55; }
.lyrawp-collection ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, .9vw, 20px); margin: 0; padding: 0; list-style: none; }
.lyrawp-collection li a { display: block; text-align: center; }
.lyrawp-collection li img { width: 100%; border-radius: clamp(6px, .75vw, 14px); }
.lyrawp-collection li a:hover img { outline: 2px solid #83e6fb; outline-offset: 2px; }
.lyrawp-collection li a > span { display: block; padding: .48em 0 0; overflow-wrap: anywhere; font-size: clamp(.7rem, .75vw, .92rem); font-weight: 640; line-height: 1.32; }
.lyrawp-separator { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.lyrawp-separator::before, .lyrawp-separator::after { flex: 1; height: 1px; content: ""; background: #5662ce; }
.lyrawp-separator > a { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; font-size: 1.2rem; line-height: 1; }

article {
    margin-top: 36px;
    padding: clamp(19px, 5vw, 55px);
    overflow-wrap: anywhere;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
}

main > article:first-child { margin-top: 40px; }
article > * { max-width: 78ch; margin-block: 0 1rem; }
article > :last-child { margin-bottom: 0; }
article h1, article h2, article h3, article h4 { color: var(--ink); line-height: 1.18; letter-spacing: -.025em; }
article h1 { font-size: clamp(2rem, 5vw, 3.65rem); }
article h2 { margin-top: 1.65em; font-size: clamp(1.35rem, 3vw, 2rem); }
article h3 { margin-top: 1.35em; font-size: 1.22rem; }
article h4 { margin-top: 1.25em; font-size: 1.08rem; }
article p, article li, article blockquote { color: var(--muted); }
article strong { color: var(--ink); }
article a { color: var(--gold); text-decoration: underline; }
article ul, article ol { padding-inline-start: 1.4em; }
article li + li { margin-top: .35em; }
article blockquote { padding: .75em 1em; border-inline-start: 3px solid var(--gold); background: var(--background); }
article table { width: 100%; border-collapse: collapse; }
article th, article td { padding: .55em; text-align: start; border: 1px solid var(--line); }
article hr { border: 0; border-top: 1px solid var(--line); }
article code, article pre { background: var(--background); }
article pre { overflow: auto; padding: .8em; }
article details { padding: .85em 0; border-bottom: 1px solid var(--line); }
article summary { cursor: pointer; font-weight: 750; }
article summary::marker { color: var(--gold); }
article details p { margin: .55em 0 0; }

footer { background: #050507; border-top: 1px solid var(--line); padding: 28px 0 calc(110px + env(safe-area-inset-bottom)); }
.lyrawp-foot-wrap { display: grid; justify-items: center; gap: 16px; text-align: center; }
.lyrawp-foot-wrap > img { width: 94px; }
.lyrawp-foot-wrap nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px 22px; }
.lyrawp-foot-wrap p { margin: 0; color: var(--muted); font-size: .83rem; }

.lyrawp-dock {
    position: fixed;
    z-index: 3;
    inset-inline: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 510px;
    min-height: 68px;
    margin-inline: auto;
    padding: 10px 12px;
    border: 1px solid #5a62cf;
    border-radius: 15px;
    background: #171343;
    box-shadow: 0 12px 32px #000a;
    animation: reveal .24s ease-out;
}

.lyrawp-dock img { width: 42px; }
.lyrawp-dock p { min-width: 0; margin: 0 auto 0 0; line-height: 1.2; }
.lyrawp-dock small { display: block; margin-top: .2em; color: var(--muted); }
.lyrawp-dock .lyrawp-go { flex-shrink: 0; }
@keyframes reveal { from { opacity: 0; transform: translateY(9px); } }
@media (prefers-reduced-motion: reduce) { .lyrawp-dock { animation: none; } }

@media (max-width: 1150px) {
    .lyrawp-collection, article, .lyrawp-foot-wrap { width: min(var(--page), calc(100% - 48px)); }
}

@media (max-width: 780px) {
    .lyrawp-header-wrap { gap: 10px; min-height: 62px; padding-inline: 14px; }
    .lyrawp-header-wrap > img { width: 80px; }
    .lyrawp-primary-menu { display: none; }
    .lyrawp-drawer { display: block; grid-column: 1; grid-row: 1; justify-self: start; }
    .lyrawp-drawer summary { padding: .4em .65em; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; list-style: none; }
    .lyrawp-drawer summary::-webkit-details-marker { display: none; }
    .lyrawp-drawer nav {
        position: absolute;
        z-index: 1;
        inset: 100% 14px auto;
        display: grid;
        overflow: auto;
        max-height: 74dvh;
        padding: .5rem;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: var(--surface);
        box-shadow: 0 12px 28px #0008;
    }
    .lyrawp-drawer nav a { padding: .52em .75em; }
    .lyrawp-account-links .lyrawp-go { min-height: 36px; padding-inline: .75em; font-size: .75rem; }
    .lyrawp-account-links .lyrawp-outline { display: none; }
    .lyrawp-collection ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lyrawp-browse { align-items: stretch; flex-direction: column; gap: 8px; }
    .lyrawp-lookup { width: 100%; }
}

@media (max-width: 480px) {
    .lyrawp-collection, article, .lyrawp-foot-wrap { width: calc(100% - 28px); }
    .lyrawp-masthead { min-height: 260px; }
    .lyrawp-masthead > img { object-position: 75% center; }
    .lyrawp-masthead::after { background: #08071978; }
    .lyrawp-collection { padding-top: 18px; }
    .lyrawp-collection ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .lyrawp-dock { gap: 8px; }
    .lyrawp-dock img { width: 34px; }
    .lyrawp-dock p { font-size: .83rem; }
    .lyrawp-dock .lyrawp-go { padding-inline: .68em; }
}

.lyrawp-go { border-radius: 22px; }
.lyrawp-collection li img { border-radius: 12px; }
.lyrawp-collection ul { column-gap: clamp(8px, 1vw, 16px); }
.lyrawp-shelf { margin-bottom: clamp(23px, 3vw, 30px); }
article { border-radius: 17px; }
.lyrawp-browse { border-bottom: 1px solid var(--line); padding-bottom: 8px; }

@media (min-width: 781px) {
    .lyrawp-masthead { justify-items: center; }
    .lyrawp-intro { margin-inline: 5%; }
    .lyrawp-masthead::after { background: linear-gradient(0deg, #080719e8, #08071955 51%, transparent 90%); }
}

article table { display: block; max-width: 100%; overflow-x: auto; }
article th { color: var(--ink); background: var(--background); }
article td, article th { min-width: 110px; }

article aside[data-promotion="atlas"] {
    margin-block: 26px;
    padding: clamp(18px, 4vw, 30px);
    border: 1px solid var(--line);
    border-inline-start: 4px solid var(--gold);
    border-radius: 14px;
    background: var(--background);
}
article aside[data-promotion="atlas"] p { margin: 0 0 12px; }
article aside[data-promotion="atlas"] strong { font-size: 1.25rem; }
article aside[data-promotion="atlas"] > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 20px;
    border-radius: 24px;
    background: var(--gold);
    color: #151024;
    text-decoration: none;
    font-weight: 750;
}
.lyrawp-bonus {
    position: fixed;
    width: min(440px, calc(100% - 32px));
    max-height: calc(100dvh - 40px);
    margin: auto;
    overflow: auto;
    padding: 34px 24px 26px;
    border: 1px solid var(--line);
    border-radius: 22px;
    color: var(--ink);
    background: var(--surface);
    text-align: center;
    box-shadow: 0 20px 90px #0009;
}
.lyrawp-bonus::backdrop { background: #080519c9; }
.lyrawp-bonus > img { width: 76px; margin: 0 auto 18px; border-radius: 18px; }
.lyrawp-bonus > p { color: var(--muted); }
.lyrawp-bonus .lyrawp-bonus-kicker { color: var(--gold); font-size: .74rem; letter-spacing: .08em; }
.lyrawp-bonus .lyrawp-bonus-title { color: var(--ink); font-size: 1.65rem; font-weight: 800; line-height: 1.2; }
.lyrawp-bonus > small { display: block; margin-top: 18px; color: var(--muted); }
.lyrawp-dismiss { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 44px; height: 44px; font-size: 1.8rem; border-radius: 50%; }
.lyrawp-dismiss:hover { background: var(--background); }
.lyrawp-dock { max-width: 640px; }
.lyrawp-dock strong { font-size: .9rem; }
@media (max-width: 480px) {
    .lyrawp-dock { flex-wrap: wrap; }
    .lyrawp-dock p { flex: 1; }
    .lyrawp-dock > a { width: 100%; }
    footer { padding-bottom: calc(170px + env(safe-area-inset-bottom)); }
}

article figure:is([data-capture], .lyrawp-capture) {
    margin: 28px 0;
    max-width: 100%;
}
article figure:is([data-capture], .lyrawp-capture) img {
    width: 100%;
    height: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
}
article figure:is([data-capture="mobile"], .lyrawp-capture-mobile) { max-width: 390px; margin-inline: auto; }
article figure:is([data-capture], .lyrawp-capture) figcaption {
    margin-top: 10px;
    font-size: .82rem;
    line-height: 1.5;
    color: var(--muted);
}

.lyrawp-header, footer { background: var(--header-tone); }
.lyrawp-lookup { background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.lyrawp-lookup input::placeholder { color: var(--muted); }
.lyrawp-dock { background: var(--surface); border-color: var(--gold); }
.lyrawp-shelf-label > a, .lyrawp-separator > a { background: var(--gold); color: #17151d; }
.lyrawp-shelf-label > a:hover, .lyrawp-separator > a:hover { background: var(--gold); filter: brightness(1.1); }
.lyrawp-separator::before, .lyrawp-separator::after { background: var(--line); }
.lyrawp-go:hover { background: var(--gold); filter: brightness(1.1); }
.lyrawp-outline:hover { background: var(--surface); }
nav a:hover, nav a[aria-current="page"] { color: var(--gold); }
.lyrawp-home-chip { color: var(--gold); border-color: var(--gold); }
.lyrawp-collection li a:hover img { outline-color: var(--gold); }
.lyrawp-lookup:focus-within { outline-color: var(--gold); }
.lyrawp-shelf { padding: 18px; background: var(--surface); border-radius: 18px; }
.lyrawp-collection li a { padding: 7px; background: var(--background); border-radius: 13px; box-shadow: 0 5px 13px #0003; }
.lyrawp-collection li a > span { padding: 10px 3px 5px; }
.lyrawp-separator { margin-top: 16px; }
@media (max-width: 780px) {
    .lyrawp-collection ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lyrawp-shelf { padding: 14px; }
}
@media (max-width: 480px) {
    .lyrawp-collection ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lyrawp-shelf { padding: 12px; }
    .lyrawp-collection li a { display: block; }
    .lyrawp-collection li img { width: 100%; }
    .lyrawp-collection li a > span { text-align: center; }
}

body.admin-bar .lyrawp-header { top: 32px; }
.lyrawp-primary-menu ul, .lyrawp-drawer ul, .lyrawp-foot-wrap ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
.lyrawp-drawer ul { display: grid; gap: 0; }
.lyrawp-drawer li { list-style: none; }
.lyrawp-header .custom-logo-link { grid-column: 2; grid-row: 1; width: 100px; }
.lyrawp-header .custom-logo { width: 100%; height: auto; }
article .wp-block-image img { height: auto; max-width: 100%; }
article .wp-block-table { max-width: 100%; overflow: auto; }
article h1 a { color: inherit; text-decoration: none; }
@media (max-width: 782px) { body.admin-bar .lyrawp-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .lyrawp-header { top: 0; } }

article h2[id], article h3[id] { scroll-margin-top: 125px; }
.lyrawp-dismiss { border: 0; color: inherit; background: transparent; cursor: pointer; }
.lyrawp-dismiss:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 780px) { .lyrawp-header .custom-logo-link { width: 80px; } }

.lyrawp-language-switcher { margin-block: .4rem; }
.lyrawp-language-switcher summary { cursor: pointer; width: fit-content; }
.lyrawp-language-switcher ul { padding-top: .6rem; gap: .35rem .9rem; }
.lyrawp-language-switcher a { overflow-wrap: anywhere; }
.lyrawp-header-wrap { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.lyrawp-account-links { flex-wrap: wrap; }

.lyrawp-header-navigation {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: clamp(8px, 1.25vw, 18px);
}

.lyrawp-header-language { position: relative; flex-shrink: 0; margin: 0; }
.lyrawp-header-language summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35em;
    min-width: 40px;
    min-height: 40px;
    padding-inline: .55em;
    border: 1px solid var(--line);
    border-radius: 8px;
    list-style: none;
    font-size: .8rem;
    font-weight: 650;
}
.lyrawp-header-language summary::-webkit-details-marker { display: none; }
.lyrawp-header-language[open] summary { background: var(--surface); }
.lyrawp-header-language ul {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 1;
    width: 210px;
    max-height: min(60dvh, 410px);
    overflow: auto;
    margin: 0;
    padding: .4rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 12px 28px #0008;
    list-style: none;
}
.lyrawp-header-language a { display: block; padding: .4rem .65rem; border-radius: 6px; }
.lyrawp-header-language a:hover, .lyrawp-header-language .current-lang a { background: var(--background); color: var(--gold); }

@media (max-width: 780px) {
    .lyrawp-header-navigation { gap: 6px; }
    .lyrawp-language-code { display: none; }
}
@media (max-width: 390px) {
    .lyrawp-menu-label { display: none; }
    .lyrawp-drawer summary { display: grid; min-width: 40px; min-height: 40px; place-items: center; padding: 0; }
}
