@import url(reset.css);
@import url(ui.css);

[hidden] {
    display: none !important;
}

body {
    background-color: var(--color-body-bg);
    font-family: "Inter", sans-serif;
    font-weight: 600;
}

.maintenance-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 20%, rgba(91, 161, 255, .22), transparent 34%),
        linear-gradient(180deg, #111630 0%, #0b0e22 100%);
    color: #f4f7ff;
}

.maintenance-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 18px;
}

.maintenance-card {
    width: min(620px, 100%);
    display: grid;
    justify-items: center;
    gap: 18px;
    padding: clamp(30px, 6vw, 58px);
    text-align: center;
    border: 1px solid rgba(124, 196, 255, .26);
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(31, 38, 82, .92), rgba(11, 15, 37, .96));
    box-shadow: 0 28px 70px rgba(0, 0, 0, .35);
}

.maintenance-card__logo {
    width: 82px;
    height: auto;
}

.maintenance-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #87a8ff;
    text-transform: uppercase;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.maintenance-card h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 7vw, 4.8rem);
    line-height: .9;
}

.maintenance-card p {
    margin: 0;
    max-width: 460px;
    color: #cbd8ff;
    font-size: 1.05rem;
    line-height: 1.7;
}

.maintenance-card__status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(111, 232, 191, .35);
    border-radius: 999px;
    background: rgba(32, 94, 82, .28);
    color: #9ff6d3;
    font-size: .9rem;
}

.maintenance-card__status span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #6ff0bf;
    box-shadow: 0 0 0 6px rgba(111, 240, 191, .12);
}

body.is-nav-open {
    overflow: hidden;
}

body.home-page {
    overflow-x: hidden;
}

@keyframes motionRevealUp {
    from {
        opacity: 0;
        transform: translateY(28px) scale(.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes motionPulseSoft {
    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes motionMetricPulse {
    0% {
        transform: translateY(0) scale(1);
    }

    35% {
        transform: translateY(-1px) scale(1.08);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes motionModalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes motionBackdropIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/************************* HEADER *************************/

.container {
    width: min(calc(100% - 32px), var(--content-width));
    margin: 0 auto;
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.site-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #2a2e5e;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.site-logo img {
    width: 50px;
    margin: 12px 10px 12px 0;
}

.site-nav-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
}

.site-nav-panel-shell {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-nav--main {
    margin-right: auto;
}

.site-nav--account {
    margin-left: auto;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav--account ul {
    gap: 12px;
}

.account-action--admin {
    position: relative;
    padding-left: 16px;
}

.account-action--admin::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 24px;
    background-color: #3b3f78;
    transform: translateY(-50%);
}

.site-nav .is-active a {
    color: #5396e7;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    color: #d4dcff;
    font-size: 14px;
    text-decoration: none;
}

.site-nav a:hover {
    color: #5396e7;
    transition-duration: .5s;
}

.site-nav a i {
    font-size: 13px;
}

.site-menu-toggle {
    display: none;
    position: relative;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border: 1px solid rgba(95, 158, 242, .28);
    border-radius: 999px;
    background: rgba(24, 28, 60, .55);
    color: #d4dcff;
    cursor: pointer;
    transition: border-color .25s, background-color .25s, transform .25s;
}

.site-menu-toggle:hover {
    border-color: rgba(121, 183, 255, .72);
    background-color: rgba(35, 41, 84, .82);
}

.site-menu-toggle-line {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background-color: currentColor;
    transition: transform .25s ease, opacity .25s ease, top .25s ease;
}

.site-menu-toggle-line:nth-child(1) {
    top: 16px;
}

.site-menu-toggle-line:nth-child(2) {
    top: 23px;
}

.site-menu-toggle-line:nth-child(3) {
    top: 30px;
}

.site-menu-toggle[aria-expanded="true"] .site-menu-toggle-line:nth-child(1) {
    top: 23px;
    transform: rotate(45deg);
}

.site-menu-toggle[aria-expanded="true"] .site-menu-toggle-line:nth-child(2) {
    opacity: 0;
}

.site-menu-toggle[aria-expanded="true"] .site-menu-toggle-line:nth-child(3) {
    top: 23px;
    transform: rotate(-45deg);
}

.account-action--admin a,
.account-action--logout a {
    justify-content: center;
    min-width: 40px;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 3px;
    transition: .3s;
}

.account-action--admin a {
    border-color: #8a6a1f;
    background: linear-gradient(180deg, rgba(138, 106, 31, .26), rgba(138, 106, 31, .1));
    color: #ffe08a;
}

.account-action--admin a:hover {
    color: #fff2c2;
    border-color: #d2a63a;
    background: linear-gradient(180deg, rgba(210, 166, 58, .32), rgba(138, 106, 31, .18));
}

.account-action--logout a {
    border-color: #6b2f44;
    background: linear-gradient(180deg, rgba(107, 47, 68, .2), rgba(107, 47, 68, .08));
    color: #ffb5c7;
}

.account-action--logout a:hover {
    color: #ffe2ea;
    border-color: #b84b6d;
    background: linear-gradient(180deg, rgba(184, 75, 109, .28), rgba(107, 47, 68, .16));
}

.account-action--logout form {
    margin: 0;
}

.account-action--logout button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 10px;
    border: 1px solid #6b2f44;
    border-radius: 3px;
    background: linear-gradient(180deg, rgba(107, 47, 68, .2), rgba(107, 47, 68, .08));
    color: #ffb5c7;
    font: inherit;
    cursor: pointer;
    transition: .3s;
}

.account-action--logout button:hover {
    color: #ffe2ea;
    border-color: #b84b6d;
    background: linear-gradient(180deg, rgba(184, 75, 109, .28), rgba(107, 47, 68, .16));
}

/************************* HOME *************************/

.home-hero {
    min-height: 548px;
    padding: 60px 0 36px;
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(320px, 485px) minmax(0, 800px);
    align-items: center;
    justify-content: space-between;
    gap: 99px;
    padding-top: 100px;
}

.home-hero-content h1 {
    color: var(--color-text-primary);
    font-family: "Crimson Pro", serif;
    font-size: 64px;
    line-height: 1.12;
    font-weight: 800;
    margin-bottom: 20px;
}

.home-hero-content h1 span,
.home-hero-content strong {
    color: var(--color-accent);
}

.home-hero-content p {
    color: #9cadff;
    font-size: 16px;
    line-height: 1.58;
    margin-bottom: 18px;
    font-weight: 500;
}

.home-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.home-hero-actions .btn {
    min-height: 55px;
    padding: 0 17px;
    font-size: 17px;
}

.home-hero-media {
    position: relative;
    width: 100%;
    min-height: 450px;
    aspect-ratio: 16 / 9;
    border: 1px solid #2e356d;
    border-radius: 6px;
    overflow: hidden;
}

.home-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(23, 25, 51, 0) 20%, rgba(38, 69, 135, .42) 62%, rgba(23, 25, 51, .9) 100%);
    pointer-events: none;
    transition: opacity .3s;
}

.home-hero-media:hover::after {
    opacity: 0;
}

.home-hero-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero {
    padding-top: 150px;
}
.page-hero h1 {
    color: var(--color-text-primary);
    font-family: "Crimson Pro", serif;
    font-size: 64px;
    line-height: 1.05;
    font-weight: 800;
    margin: 10px 0 16px;
}

.page-hero h1 span {
    color: var(--color-accent);
}

.page-hero p {
    color: #aeb8eb;
    font-size: 17px;
    line-height: 1.62;
    font-weight: 400;
}

.home-overview {
    padding: 76px 0 96px;
    background-color: var(--color-body-bg);
}

.home-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr);
    gap: 56px;
    align-items: start;
}

.home-overview .home-almanax,
.home-overview .home-news {
    min-width: 0;
    padding: 0;
    background: transparent;
}

.home-overview .home-section-head h2 {
    font-size: 46px;
}

.home-overview {
    box-shadow: 12px 12px 0 rgba(28, 31, 67, .25);
}

.home-overview .almanax-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    gap: 8px;
    overflow-x: visible;
    margin-right: 0;
    padding-right: 0;
    scrollbar-width: auto;
}

.home-overview .almanax-tab {
    min-width: 0;
    min-height: 42px;
    padding: 7px 10px;
}

.home-overview .almanax-tab span {
    font-size: 9px;
}

.home-overview .almanax-tab strong {
    font-size: 12px;
}

.home-overview .guild-news-layout {
    grid-template-columns: 1fr;
    gap: 18px;
}

.home-overview .guild-news-featured {
    padding: 22px 22px 20px;
}

.home-overview .guild-news-featured h3 {
    font-size: 34px;
}

.home-overview .guild-news-featured p {
    max-width: none;
    font-size: 15px;
}

.home-overview .guild-news-card {
    padding: 18px 18px 17px;
}

.home-overview .guild-news-card h3 {
    font-size: 22px;
}

.home-overview .guild-news-card p {
    font-size: 14px;
}

.home-overview .almanax-panel__layout {
    grid-template-columns: 1fr;
}

.home-overview .almanax-panel__description {
    max-width: none;
}

.home-overview .almanax-panel {
    min-height: 410px;
}

.home-almanax {
    padding: 64px 0 80px;
    background-color: var(--color-body-bg);
}

.section-kicker {
    display: inline-block;
    color: #90a7ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.home-section-head.home-section-head--compact {
    margin-bottom: 18px;
}

.home-section-head--split {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
}

.home-section-copy {
    max-width: 440px;
    color: #9cadff;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 500;
}

.almanax-shell {
    position: relative;
    padding: 16px 18px 18px;
    border: 1px solid rgba(124, 196, 255, .18);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(24, 28, 60, .96), rgba(17, 22, 45, .98));
 }

.almanax-shell::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 1px;
    border-radius: 14px 0 0 14px;
    background: linear-gradient(180deg, transparent, rgba(124, 196, 255, .58), transparent);
}

.almanax-shell__top,
.almanax-tabs,
.almanax-panel,
.almanax-feedback {
    position: relative;
    z-index: 1;
}

.almanax-shell__top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 10px;
}

.almanax-shell__headline {
    min-width: 0;
}

.almanax-shell__headline .guild-news-tag {
    margin-bottom: 8px;
}

.almanax-shell__headline h3 {
    color: var(--color-text-primary);
    font-family: "Crimson Pro", serif;
    font-size: 28px;
    line-height: 1.04;
    font-weight: 800;
    margin: 0;
}

.almanax-shell__status {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: flex-end;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid rgba(122, 181, 255, .25);
    border-radius: 999px;
    background: rgba(16, 20, 45, .62);
    color: #8ea7ff;
}

.almanax-shell__status strong {
    color: #f6f9ff;
    font-size: 27px;
    line-height: 1;
    font-weight: 800;
}

.almanax-shell__status span {
    font-size: 14px;
    line-height: 1.1;
    font-weight: 800;
}

.almanax-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    min-height: 48px;
    margin: 0 -4px 12px;
    padding: 2px 4px 4px;
    scrollbar-width: none;
}

.almanax-tabs::-webkit-scrollbar {
    display: none;
}

.almanax-tab {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 122px;
    padding: 8px 12px;
    border: 1px solid rgba(124, 196, 255, .18);
    border-radius: 999px;
    background: rgba(16, 20, 45, .62);
    color: #aebcf1;
    font: inherit;
    cursor: pointer;
    transition: border-color .25s, background-color .25s, color .25s, transform .25s, box-shadow .25s;
}

.almanax-tab span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.almanax-tab strong {
    color: #eef2ff;
    font-size: 13px;
    line-height: 1.1;
    font-weight: 800;
}

.almanax-tab:hover,
.almanax-tab.is-active {
    border-color: rgba(124, 196, 255, .78);
    background: linear-gradient(180deg, rgba(99, 168, 255, .24), rgba(79, 108, 214, .26));
    color: #e4edff;
}

.almanax-tab:hover {
    transform: translateY(-1px);
}

.almanax-tab.is-active {
    box-shadow: 0 10px 22px rgba(14, 19, 44, .28);
    transform: translateY(-2px);
}

.almanax-panel__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
    gap: 18px;
    align-items: start;
}

.almanax-panel {
    min-height: 188px;
}

.almanax-panel__main,
.almanax-offering__content,
.almanax-panel__title-stack {
    min-width: 0;
}

.almanax-panel__date {
    color: #8fa6ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.almanax-panel__title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.almanax-panel__subtitle {
    color: #8fa6ff;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.almanax-bonus-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(122, 181, 255, .2);
    border-radius: 14px;
    background: rgba(16, 20, 45, .68);
    color: #d9e6ff;
    font-size: 16px;
}

.almanax-bonus-badge--loot {
    border-color: rgba(255, 211, 132, .34);
    background: rgba(101, 73, 29, .34);
    color: #ffe8b8;
}

.almanax-bonus-badge--xp {
    border-color: rgba(124, 196, 255, .34);
    background: rgba(47, 79, 130, .34);
    color: #d9f1ff;
}

.almanax-bonus-badge--harvest {
    border-color: rgba(132, 222, 194, .34);
    background: rgba(33, 97, 79, .34);
    color: #d9fff2;
}

.almanax-bonus-badge--craft {
    border-color: rgba(211, 157, 255, .34);
    background: rgba(87, 53, 129, .34);
    color: #f0ddff;
}

.almanax-bonus-badge--challenge {
    border-color: rgba(255, 158, 124, .34);
    background: rgba(130, 61, 47, .34);
    color: #ffe0d6;
}

.almanax-bonus-badge--anomaly {
    border-color: rgba(170, 138, 255, .34);
    background: rgba(63, 54, 122, .34);
    color: #e4dcff;
}

.almanax-bonus-badge--quest {
    border-color: rgba(255, 156, 176, .34);
    background: rgba(117, 56, 75, .34);
    color: #ffe3ea;
}

.almanax-bonus-badge--mount {
    border-color: rgba(110, 214, 233, .34);
    background: rgba(33, 95, 112, .34);
    color: #d7f8ff;
}

.almanax-panel__title {
    color: var(--color-text-primary);
    font-family: "Crimson Pro", serif;
    font-size: 34px;
    line-height: 1.02;
    font-weight: 800;
    margin: 0;
}

.almanax-panel__description {
    max-width: 62ch;
    color: #c0c8f7;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 500;
}

.almanax-panel__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 540px;
    margin-top: 14px;
}

.almanax-stat-card {
    padding: 10px 12px;
    border: 1px solid rgba(122, 181, 255, .14);
    border-radius: 10px;
    background: rgba(16, 20, 45, .42);
}

.almanax-stat-card span {
    display: block;
    margin-bottom: 4px;
    color: #8fa6ff;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.almanax-stat-card strong {
    display: block;
    color: #eef3ff;
    font-size: 16px;
    line-height: 1.15;
    font-weight: 800;
}

.almanax-stat-card--kamas {
    border-color: rgba(255, 211, 132, .28);
    background: rgba(101, 73, 29, .24);
}

.almanax-stat-card--kamas span {
    color: #ffd99a;
}

.almanax-stat-card--kamas strong {
    color: #ffe8b8;
}

.almanax-stat-card--xp {
    border-color: rgba(124, 196, 255, .28);
    background: rgba(47, 79, 130, .24);
}

.almanax-stat-card--xp strong {
    color: #d9f1ff;
}

.almanax-offering {
    padding: 14px;
    border: 1px solid rgba(255, 211, 132, .22);
    border-radius: 14px;
    background: rgba(16, 20, 45, .58);
}

.almanax-offering__body {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.almanax-data-label {
    display: inline-block;
    margin-bottom: 7px;
    color: #8fa6ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.almanax-offering__image {
    display: block;
    width: 44px;
    height: 44px;
    padding: 6px;
    border: 1px solid rgba(255, 214, 136, .18);
    border-radius: 12px;
    background:
    linear-gradient(180deg, rgba(255, 201, 109, .18), rgba(90, 135, 255, .18)),
    rgba(22, 28, 58, .96);
    object-fit: contain;
}

.almanax-offering__content strong {
    display: block;
    color: #f4f7ff;
    font-size: 16px;
    line-height: 1.14;
    margin-bottom: 3px;
}

.almanax-offering__content p {
    color: #aeb9ea;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
}

.almanax-offering__recipe {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(122, 181, 255, .14);
}

.almanax-offering__recipe[open] {
    padding-bottom: 2px;
}

.almanax-offering__recipe-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d9e6ff;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.almanax-offering__recipe-toggle::-webkit-details-marker {
    display: none;
}

.almanax-offering__recipe-toggle::after {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(122, 181, 255, .22);
    border-radius: 999px;
    color: #8fa6ff;
    font-size: 12px;
    line-height: 1;
}

.almanax-offering__recipe[open] .almanax-offering__recipe-toggle::after {
    content: "-";
}

.almanax-offering__recipe-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

.almanax-recipe-chip {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border: 1px solid rgba(122, 181, 255, .16);
    border-radius: 999px;
    background: rgba(16, 20, 45, .46);
    color: #c8d8ff;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
}

.almanax-feedback {
    margin-top: 10px;
    color: #9cadff;
    font-size: 14px;
    line-height: 1.5;
}

.almanax-feedback[hidden] {
    display: none;
}

.home-outings {
    padding: 50px 0 80px;
}

.guild-vote-shell {
    position: relative;
}

.guild-vote-feedback {
    margin-bottom: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(95, 158, 242, .18);
    border-radius: 10px;
    background: rgba(32, 49, 92, .52);
    color: #8fc2ff;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 600;
}

.guild-vote-feedback.is-success {
    border-color: rgba(59, 169, 127, .28);
    background: rgba(27, 77, 61, .38);
    color: #66e5ac;
}

.guild-vote-card {
    position: relative;
    padding: 22px;
    border: 1px solid #2a2e5e;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(35, 38, 82, .98) 0%, rgba(27, 30, 61, .98) 100%);
    box-shadow: 0 10px 26px rgba(10, 12, 28, .22);
}

.guild-vote-card::before {
    display: none;
}

.guild-vote-card__head {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.guild-vote-card__intro h2,
.guild-vote-card__intro h3 {
    color: var(--color-text-primary);
    font-family: "Crimson Pro", serif;
    font-size: 34px;
    line-height: 1.04;
    font-weight: 800;
    margin-bottom: 10px;
}

.guild-vote-card__intro p {
    color: #9cadff;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 500;
}

.guild-vote-card__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 18px;
    width: min(100%, 470px);
}

.guild-vote-meta-card {
    position: relative;
    min-width: 0;
    padding-left: 12px;
}

.guild-vote-meta-card span {
    display: block;
    margin-bottom: 4px;
    color: #8fa6ff;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.guild-vote-meta-card strong {
    display: block;
    color: #eef3ff;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
}

.guild-vote-meta-card::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 0;
    bottom: 2px;
    width: 2px;
    border-radius: 999px;
    background: rgba(95, 158, 242, .32);
}

.guild-vote-days {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.guild-vote-days::-webkit-scrollbar {
    display: none;
}

.guild-vote-day {
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    min-width: 112px;
    min-height: 64px;
    padding: 12px 14px;
    border: 1px solid rgba(64, 76, 146, .52);
    border-radius: 12px;
    background: rgba(23, 27, 59, .4);
    color: #eef4ff;
    font: inherit;
    cursor: pointer;
    transition: border-color .25s, background-color .25s, color .25s, transform .25s, box-shadow .25s;
}

.guild-vote-day span {
    color: #8fa6ff;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.guild-vote-day strong {
    color: #eef4ff;
    font-size: 18px;
    line-height: 1.05;
    font-weight: 800;
}

.guild-vote-day:hover,
.guild-vote-day.is-active {
    border-color: rgba(124, 196, 255, .78);
    background: rgba(34, 44, 92, .7);
    box-shadow: inset 0 0 0 1px rgba(124, 196, 255, .12);
}

.guild-vote-day:hover {
    transform: translateY(-1px);
}

.guild-vote-panels {
    position: relative;
    z-index: 1;
    padding: 0;
}

.guild-vote-panel {
    display: grid;
    gap: 14px;
    padding: 16px 0 0;
    border-top: 1px solid rgba(42, 46, 94, .9);
}

.guild-vote-panel[hidden] {
    display: none;
}

.guild-vote-panel__top {
    display: block;
}

.guild-vote-panel__eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #8fa6ff;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.guild-vote-panel__title {
    color: var(--color-text-primary);
    font-family: "Crimson Pro", serif;
    font-size: 24px;
    line-height: 1.02;
    font-weight: 800;
    margin: 0;
}

.guild-vote-slot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.guild-vote-slot {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(64, 76, 146, .34);
    border-radius: 14px;
    background: rgba(21, 26, 58, .22);
    transition: border-color .25s, background-color .25s, box-shadow .25s, transform .25s;
}

.guild-vote-slot:hover {
    border-color: rgba(124, 196, 255, .52);
    background: rgba(21, 26, 58, .34);
    transform: none;
}

.guild-vote-slot__button {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-height: 136px;
    padding: 14px 16px;
    border: 0;
    background: transparent;
    color: #f4f7ff;
    font: inherit;
    cursor: pointer;
    transition: color .25s;
}

.guild-vote-slot__eyebrow {
    color: #8fa6ff;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.guild-vote-slot.is-selected .guild-vote-slot__button,
.guild-vote-slot.is-confirmed .guild-vote-slot__button {
    color: #ffffff;
}

.guild-vote-slot.is-selected,
.guild-vote-slot.is-confirmed {
    border-color: rgba(124, 196, 255, .62);
    box-shadow:
    0 6px 18px rgba(12, 17, 40, .14),
    inset 0 0 0 1px rgba(124, 196, 255, .18);
    transform: none;
}

.guild-vote-slot.is-selected {
    background: rgba(34, 44, 92, .56);
}

.guild-vote-slot.is-confirmed {
    background: rgba(42, 54, 108, .62);
}

.guild-vote-slot.is-selected::after,
.guild-vote-slot.is-confirmed::after {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    pointer-events: none;
}

.guild-vote-slot.is-selected::after {
    content: "Choisi";
    border: 1px solid rgba(124, 196, 255, .34);
    background: rgba(18, 25, 57, .72);
    color: #dbe9ff;
}

.guild-vote-slot.is-confirmed::after {
    content: "Vote valide";
    border: 1px solid rgba(124, 196, 255, .42);
    background: rgba(18, 25, 57, .78);
    color: #f5f9ff;
}

.guild-vote-slot__time {
    font-size: 32px;
    line-height: 1;
    font-weight: 800;
    margin-bottom: auto;
}

.guild-vote-slot__count {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border: 1px solid rgba(124, 196, 255, .2);
    border-radius: 999px;
    background: rgba(17, 22, 48, .56);
    color: #dbe6ff;
    font-size: 12px;
    font-weight: 800;
}

.guild-vote-slot.is-selected .guild-vote-slot__count,
.guild-vote-slot.is-confirmed .guild-vote-slot__count {
    border-color: rgba(124, 196, 255, .34);
    background: rgba(15, 19, 43, .42);
}

.guild-vote-slot__cta {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(24, 31, 69, .82);
    color: #8fc2ff;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 800;
}

.guild-vote-slot__cta[hidden] {
    display: none;
}

.guild-vote-slot.is-selected .guild-vote-slot__cta,
.guild-vote-slot.is-confirmed .guild-vote-slot__cta {
    background: rgba(15, 21, 48, .7);
    color: #eef4ff;
}

.guild-vote-slot__members {
    padding: 0 16px 14px;
    color: #aebcf1;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 500;
}

.guild-vote-slot.is-confirmed .guild-vote-slot__members {
    color: #eef4ff;
}

.guild-vote-actions {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(42, 46, 94, .82);
}

.guild-vote-actions .btn[disabled] {
    cursor: not-allowed;
    opacity: .55;
}

.outings-page .home-outings {
    padding: 34px 0 96px;
}

.outings-page .guild-vote-shell {
    width: min(100%, 1120px);
}

.outings-page .guild-vote-feedback {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    margin-bottom: 18px;
    padding: 0 14px;
    border-color: rgba(124, 196, 255, .22);
    border-radius: 999px;
    background: rgba(16, 20, 45, .62);
    color: #aecaff;
    font-size: 13px;
    font-weight: 800;
}

.outings-page .guild-vote-feedback::before {
    content: "\f3c5";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(124, 196, 255, .14);
    color: #7cc4ff;
    font-family: "Font Awesome 6 Free";
    font-size: 11px;
    font-weight: 900;
}

.outings-page .guild-vote-card {
    display: grid;
    grid-template-columns: 312px minmax(0, 1fr);
    grid-template-areas:
        "scene days"
        "scene panels"
        "scene actions";
    gap: 0;
    overflow: hidden;
    min-height: 470px;
    padding: 0;
    border-color: rgba(124, 196, 255, .18);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(12, 16, 36, .58), rgba(12, 16, 36, .96)), linear-gradient(90deg, rgba(124, 196, 255, .08), transparent 58%);
}

.outings-page .guild-vote-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    display: block;
    width: 312px;
    background:
        linear-gradient(180deg, rgba(10, 14, 32, .05), rgba(10, 14, 32, .72)),
        radial-gradient(circle at 50% 42%, rgba(124, 196, 255, .24), transparent 38%),
        url("../img/card-mission/background.png");
    background-position: center;
    background-size: auto, auto, cover;
}

.outings-page .guild-vote-card::after {
    content: "\f0c0";
    position: absolute;
    top: 88px;
    left: 50px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 212px;
    height: 112px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(124, 196, 255, .22), rgba(124, 196, 255, .08) 46%, transparent 70%);
    color: rgba(235, 244, 255, .92);
    font-family: "Font Awesome 6 Free";
    font-size: 58px;
    font-weight: 900;
    text-shadow: 0 18px 22px rgba(3, 6, 18, .54);
}

.outings-page .guild-vote-empty {
    display: grid;
    justify-items: start;
    gap: 10px;
    max-width: 560px;
    padding: 24px;
    border: 1px solid rgba(124, 196, 255, .2);
    border-radius: 14px;
    background: rgba(16, 20, 45, .54);
}

.outings-page .guild-vote-empty span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(124, 196, 255, .12);
    color: #7cc4ff;
    font-size: 18px;
}

.outings-page .guild-vote-empty h3 {
    color: #fff;
    font-size: 30px;
    font-weight: 900;
}

.outings-page .guild-vote-empty p {
    color: #c7d4ff;
    font-size: 15px;
    line-height: 1.5;
}

.outings-page .guild-vote-card__head {
    grid-area: scene;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 470px;
    margin: 0;
    padding: 222px 18px 18px;
}

.outings-page .guild-vote-card__head::after {
    content: "";
    position: absolute;
    top: 26px;
    right: 0;
    bottom: 26px;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(124, 196, 255, .58), transparent);
    pointer-events: none;
}

.outings-page .guild-vote-card__intro h3 {
    font-size: 32px;
    line-height: 1;
    margin-bottom: 12px;
}

.outings-page .guild-vote-card__intro {
    min-width: 0;
    max-width: 100%;
}

.outings-page .guild-vote-card__intro p {
    max-width: 100%;
    color: #c7d4ff;
    font-size: 14px;
    line-height: 1.52;
    overflow-wrap: anywhere;
}

.outings-page .guild-vote-card__meta {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 16px;
}

.outings-page .guild-vote-meta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 36px;
    padding: 0 11px;
    border: 1px solid rgba(122, 181, 255, .18);
    border-radius: 999px;
    background: rgba(16, 20, 45, .66);
}

.outings-page .guild-vote-meta-card::before {
    display: none;
}

.outings-page .guild-vote-meta-card span {
    margin: 0;
    font-size: 10px;
}

.outings-page .guild-vote-meta-card strong {
    font-size: 12px;
    line-height: 1.14;
    text-align: right;
    white-space: nowrap;
}

.outings-page .guild-vote-meta-card:last-child {
    min-height: 36px;
}

.outings-page .guild-vote-days,
.outings-page .guild-vote-panels,
.outings-page .guild-vote-actions {
    margin-left: 0;
    padding-left: 24px;
    padding-right: 24px;
}

.outings-page .guild-vote-days {
    grid-area: days;
    align-self: start;
    margin: 0;
    padding-top: 24px;
    padding-bottom: 18px;
}

.outings-page .guild-vote-day {
    min-width: 132px;
    min-height: 74px;
    border-color: rgba(124, 196, 255, .18);
    border-radius: 14px;
    background: rgba(16, 20, 45, .54);
}

.outings-page .guild-vote-day.is-active {
    border-color: rgba(124, 196, 255, .78);
    background: rgba(34, 66, 115, .46);
}

.outings-page .guild-vote-panels {
    grid-area: panels;
    min-width: 0;
}

.outings-page .guild-vote-panel {
    gap: 16px;
    padding: 20px 0 0;
    border-top-color: rgba(122, 181, 255, .12);
}

.outings-page .guild-vote-panel__title {
    font-size: 32px;
}

.outings-page .guild-vote-slot-grid {
    gap: 14px;
}

.outings-page .guild-vote-slot {
    border-color: rgba(124, 196, 255, .16);
    border-radius: 14px;
    background: rgba(16, 20, 45, .54);
}

.outings-page .guild-vote-slot:hover {
    border-color: rgba(124, 196, 255, .46);
    background: rgba(22, 31, 66, .72);
    transform: translateY(-1px);
}

.outings-page .guild-vote-slot.is-selected,
.outings-page .guild-vote-slot.is-confirmed {
    border-color: rgba(255, 211, 132, .72);
    background:
        linear-gradient(180deg, rgba(47, 54, 102, .72), rgba(19, 24, 52, .86));
    box-shadow:
        0 0 0 1px rgba(255, 211, 132, .18),
        0 12px 26px rgba(6, 8, 20, .24);
}

.outings-page .guild-vote-slot.is-selected::after,
.outings-page .guild-vote-slot.is-confirmed::after {
    min-height: 28px;
    padding: 0 12px;
    border-color: rgba(255, 211, 132, .72);
    background: rgba(74, 52, 18, .72);
    color: #fff1bd;
    box-shadow: 0 8px 18px rgba(5, 8, 22, .24);
}

.outings-page .guild-vote-slot.is-selected::before,
.outings-page .guild-vote-slot.is-confirmed::before {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 211, 132, .8), transparent);
}

.outings-page .guild-vote-slot.is-selected .guild-vote-slot__time,
.outings-page .guild-vote-slot.is-confirmed .guild-vote-slot__time {
    color: #fff4c7;
}

.outings-page .guild-vote-slot.is-selected .guild-vote-slot__count,
.outings-page .guild-vote-slot.is-confirmed .guild-vote-slot__count {
    border-color: rgba(255, 211, 132, .38);
    background: rgba(74, 52, 18, .42);
    color: #fff1bd;
}

.outings-page .guild-vote-slot__button {
    min-height: 142px;
    padding: 18px;
}

.outings-page .guild-vote-slot__time {
    font-size: 42px;
    font-weight: 900;
}

.outings-page .guild-vote-slot__members {
    padding: 0 18px 16px;
}

.outings-page .guild-vote-actions {
    grid-area: actions;
    align-self: end;
    margin-top: 20px;
    padding-top: 18px;
    padding-bottom: 22px;
    border-top-color: rgba(122, 181, 255, .12);
}

.guild-confirmed-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    grid-template-areas:
        "body slot"
        "players players";
    gap: 0;
    width: min(100%, 860px);
    overflow: hidden;
    border: 1px solid rgba(132, 222, 194, .28);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(18, 27, 45, .98), rgba(11, 20, 34, .98));
    box-shadow: 0 22px 54px rgba(3, 6, 18, .22);
}

.guild-confirmed-card__body {
    grid-area: body;
    padding: 24px 26px;
    border-left: 3px solid #84dec2;
}

.guild-confirmed-card__eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #84dec2;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.guild-confirmed-card h3 {
    margin-bottom: 8px;
    color: var(--color-text-primary);
    font-family: "Crimson Pro", serif;
    font-size: 36px;
    line-height: 1;
    font-weight: 900;
}

.guild-confirmed-card p {
    color: #b8c5f4;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
}

.guild-confirmed-card__slot {
    grid-area: slot;
    display: grid;
    place-content: center;
    gap: 8px;
    border-left: 1px solid rgba(132, 222, 194, .16);
    background: rgba(132, 222, 194, .06);
    text-align: center;
}

.guild-confirmed-card__slot span {
    color: #8fa6ff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.guild-confirmed-card__slot strong {
    color: #fff4c7;
    font-family: "Crimson Pro", serif;
    font-size: 46px;
    line-height: .9;
    font-weight: 900;
}

.guild-confirmed-card__players {
    grid-area: players;
    display: grid;
    gap: 10px;
    padding: 18px 26px 22px;
    border-top: 1px solid rgba(132, 222, 194, .16);
}

.guild-confirmed-card__players > strong {
    color: #84dec2;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.guild-confirmed-card__players div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.guild-confirmed-card__players span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid rgba(132, 222, 194, .32);
    border-radius: 999px;
    background: rgba(132, 222, 194, .12);
    color: #d9fff2;
    font-size: 13px;
    font-weight: 800;
}

.guild-vote-confirmed {
    grid-area: days / days / actions / actions;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    grid-template-areas:
        "copy time"
        "players players";
    gap: 18px;
    align-content: start;
    margin: 24px;
    padding: 24px;
    border-left: 3px solid #84dec2;
    background: rgba(16, 42, 45, .26);
}

.guild-vote-confirmed > div:first-child {
    grid-area: copy;
}

.guild-vote-confirmed p {
    margin-top: 8px;
    color: #b8c5f4;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
}

.guild-vote-confirmed__time {
    grid-area: time;
    align-self: start;
    justify-self: end;
    color: #fff4c7;
    font-family: "Crimson Pro", serif;
    font-size: 54px;
    line-height: .9;
    font-weight: 900;
}

.guild-vote-confirmed__players {
    grid-area: players;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 18px;
    border-top: 1px solid rgba(132, 222, 194, .18);
}

.guild-vote-confirmed__players strong {
    flex: 0 0 100%;
    color: #84dec2;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.guild-vote-confirmed__players span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid rgba(132, 222, 194, .32);
    border-radius: 999px;
    background: rgba(132, 222, 194, .12);
    color: #d9fff2;
    font-size: 13px;
    font-weight: 800;
}

@media screen and (max-width: 980px) {
    .guild-confirmed-card {
        grid-template-columns: 1fr;
        grid-template-areas:
            "body"
            "slot"
            "players";
    }

    .guild-confirmed-card__slot {
        min-height: 120px;
        border-left: 0;
        border-top: 1px solid rgba(132, 222, 194, .16);
    }

    .outings-page .guild-vote-card {
        grid-template-columns: 1fr;
        grid-template-areas:
            "scene"
            "days"
            "panels"
            "actions";
    }

    .outings-page .guild-vote-card::before {
        inset: 0 0 auto;
        width: 100%;
        height: 270px;
    }

    .outings-page .guild-vote-card::after {
        top: 70px;
        left: 50%;
        transform: translateX(-50%);
    }

    .outings-page .guild-vote-card__head {
        min-height: 390px;
        padding-top: 206px;
    }

    .outings-page .guild-vote-card__head::after {
        top: auto;
        right: 24px;
        bottom: 0;
        left: 24px;
        width: auto;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(124, 196, 255, .58), transparent);
    }
}

@media screen and (max-width: 640px) {
    .outings-page .home-outings {
        padding: 8px 0 60px;
    }

    .outings-page .guild-vote-feedback {
        width: 100%;
        border-radius: 12px;
        padding: 10px 12px;
    }

    .outings-page .guild-vote-card {
        box-shadow: 7px 7px 0 rgba(8, 11, 28, .48);
    }

    .outings-page .guild-vote-card::before {
        height: 320px;
    }

    .outings-page .guild-vote-card::after {
        top: 58px;
        width: 178px;
        height: 96px;
        font-size: 50px;
    }

    .outings-page .guild-vote-card__head {
        min-height: 320px;
        padding: 174px 16px 16px;
    }

    .outings-page .guild-vote-card__intro h3 {
        font-size: 28px;
        line-height: 1.04;
        margin-bottom: 10px;
    }

    .outings-page .guild-vote-card__intro p {
        font-size: 14px;
        line-height: 1.45;
        max-width: 28ch;
    }

    .outings-page .guild-vote-card__meta {
        max-width: 100%;
        margin-top: 26px;
        overflow: hidden;
    }

    .outings-page .guild-vote-meta-card {
        min-width: 0;
    }

    .outings-page .guild-vote-meta-card strong {
        flex: 0 1 auto;
        min-width: 0;
    }

    .outings-page .guild-vote-days,
    .outings-page .guild-vote-panels,
    .outings-page .guild-vote-actions {
        padding-left: 16px;
        padding-right: 16px;
    }

    .outings-page .guild-vote-day {
        min-width: 118px;
    }

    .outings-page .guild-vote-slot-grid {
        grid-template-columns: 1fr;
    }

    .outings-page .guild-vote-actions .btn {
        flex: 0 0 auto;
        width: 100%;
        min-height: 48px;
    }
}

.home-news {
    padding: 64px 0 80px;
}

.guild-news-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(330px, .82fr);
    gap: 24px;
    align-items: start;
}

.guild-news-featured,
.guild-news-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(124, 196, 255, .18);
    border-radius: 14px;
}

.guild-news-featured::before,
.guild-news-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 1px;
    border-radius: 14px 0 0 14px;
    background: linear-gradient(180deg, transparent, #7cc4ff, transparent);
}

.guild-news-featured--priority::before {
    background: linear-gradient(180deg, #ffcf7d 0%, #b27a2f 100%);
}

.guild-news-card--event::before {
    background: linear-gradient(180deg, #8ebeff 0%, #5d79ff 100%);
}

.guild-news-card--logistique::before {
    background: linear-gradient(180deg, #d39dff 0%, #7b56c8 100%);
}

.guild-news-card--info::before {
    background: linear-gradient(180deg, #84dec2 0%, #2f8d79 100%);
}

.guild-news-featured {
    align-self: start;
    padding: 28px 28px 24px;
    background: linear-gradient(180deg, rgba(24, 28, 60, .96), rgba(17, 22, 45, .98));
}

.guild-news-featured h3,
.guild-news-featured p,
.guild-news-meta-row,
.guild-news-card h3,
.guild-news-card p {
    position: relative;
    z-index: 1;
}

.guild-news-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.guild-news-meta-row time {
    color: #8fa6ff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.guild-news-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.guild-news-tag--priority {
    border: 1px solid rgba(255, 207, 125, .58);
    background-color: rgba(127, 88, 34, .36);
    color: #ffe8b7;
}

.guild-news-tag--event {
    border: 1px solid rgba(142, 190, 255, .58);
    background-color: rgba(59, 95, 161, .34);
    color: #e4f1ff;
}

.guild-news-tag--logistique {
    border: 1px solid rgba(211, 157, 255, .58);
    background-color: rgba(96, 60, 137, .34);
    color: #f0ddff;
}

.guild-news-tag--info {
    border: 1px solid rgba(132, 222, 194, .56);
    background-color: rgba(40, 112, 96, .32);
    color: #dafcf0;
}

.guild-news-featured h3 {
    max-width: 660px;
    color: var(--color-text-primary);
    font-family: "Crimson Pro", serif;
    font-size: 46px;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 18px;
}

.guild-news-featured p {
    max-width: 92%;
    color: #c0c8f7;
    font-size: 17px;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 0;
}

.guild-news-stack {
    display: grid;
    gap: 18px;
}

.guild-news-card {
    padding: 22px 20px 20px;
    background: linear-gradient(180deg, rgba(24, 28, 60, .96), rgba(17, 22, 45, .98));
    transition: border-color .25s, box-shadow .25s, transform .25s;
}

.guild-news-card:hover {
    border-color: #5f9ef2;
    box-shadow: 10px 10px 0 rgba(28, 31, 67, .32);
    transform: translate(-2px, -2px);
}

.guild-news-featured--priority:hover,
.guild-news-card--priority:hover {
    border-color: #d7a44a;
}

.guild-news-card--event:hover {
    border-color: #79b7ff;
}

.guild-news-card--logistique:hover {
    border-color: #b983ff;
}

.guild-news-card--info:hover {
    border-color: #6fd6b3;
}

.guild-news-card h3 {
    color: var(--color-text-primary);
    font-family: "Crimson Pro", serif;
    font-size: 24px;
    line-height: 1.18;
    font-weight: 800;
    margin-bottom: 12px;
}

.guild-news-card p {
    color: #aeb8eb;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 400;
    margin-bottom: 0;
}

.guild-news-link {
    display: inline-flex;
    margin-top: 16px;
    color: #8ac0ff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
}

.guild-news-link:hover {
    color: #ddebff;
}

.guild-news-link--button {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
}

.news-modal[hidden] {
    display: none;
}

.site-toast {
    position: fixed;
    top: 18px;
    left: 50%;
    z-index: 120;
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(calc(100% - 32px), 480px);
    min-height: 62px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    background: #101827;
    color: #fff;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .3);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -18px);
    transition: opacity .2s ease, transform .2s ease;
}

.site-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.site-toast__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(34, 197, 94, .16);
    color: #4ade80;
    font-size: 15px;
}

.site-toast[data-site-toast-type="warning"] .site-toast__icon {
    background: rgba(245, 158, 11, .16);
    color: #fbbf24;
}

.site-toast[data-site-toast-type="danger"] .site-toast__icon {
    background: rgba(239, 68, 68, .16);
    color: #f87171;
}

.site-toast__content {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.site-toast__content strong {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.site-toast__content span {
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    line-height: 1.35;
}

.news-modal-open {
    overflow: hidden;
}

.news-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
}

.news-modal__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(10, 12, 28, .78);
    backdrop-filter: blur(8px);
}

.news-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 32px), 760px);
    max-height: calc(100vh - 48px);
    margin: 24px auto;
    padding: 28px 28px 24px;
    overflow-y: auto;
    border: 1px solid #36408a;
    border-radius: 14px;
    background: linear-gradient(180deg, #242752 0%, #1b1f42 100%);
}

.news-modal__dialog::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    border-radius: 14px 0 0 14px;
    background: linear-gradient(180deg, #7cc4ff 0%, #5d79ff 100%);
}

.news-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #4a5397;
    border-radius: 999px;
    background: rgba(24, 28, 60, .76);
    color: #d9e6ff;
    cursor: pointer;
    transition: border-color .25s, color .25s, transform .25s;
}

.news-modal__close:hover {
    border-color: #79b7ff;
    color: #ffffff;
    transform: translateY(-1px);
}

.news-modal__meta {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding-right: 56px;
}

.news-modal__meta time {
    color: #8fa6ff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.news-modal__tag {
    flex: 0 0 auto;
}

.news-modal__dialog h3 {
    position: relative;
    z-index: 1;
    max-width: 92%;
    margin-bottom: 18px;
    color: var(--color-text-primary);
    font-family: "Crimson Pro", serif;
    font-size: 46px;
    line-height: 1;
    font-weight: 800;
}

.news-modal__content {
    position: relative;
    z-index: 1;
    color: #c0c8f7;
}

.news-modal__content p,
.news-modal__content li {
    color: #c0c8f7;
    font-size: 17px;
    line-height: 1.65;
    font-weight: 400;
}

.news-modal__content p + p {
    margin-top: 14px;
}

.news-modal__content ul {
    margin-top: 16px;
    padding-left: 20px;
}

.home-missions {
    padding: 64px 0 80px;
}

.home-section-head {
    margin-bottom: 28px;
}

.home-section-head h2 {
    color: var(--color-text-primary);
    font-family: "Crimson Pro", serif;
    font-size: 58px;
    line-height: 1.08;
    font-weight: 800;
}

.home-section-head h2 span {
    color: var(--color-accent);
}

.mission-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 312px);
    gap: 24px;
    justify-content: center;
}

.mission-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 312px;
    min-height: 386px;
    padding: 196px 18px 16px;
    border: 1px solid rgba(124, 196, 255, .18);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(10, 14, 32, .04) 0%, rgba(10, 14, 32, .34) 45%, rgba(10, 14, 32, .88) 100%),
        radial-gradient(circle at 50% 42%, var(--mission-glow, rgba(99, 168, 255, .24)), transparent 38%),
        url("../img/card-mission/background.png");
    background-position: center, center, center;
    background-size: auto, auto, cover;
    transition: border-color .25s, box-shadow .25s, transform .25s;
}

.mission-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    z-index: 1;
    height: 205px;
    background:
        linear-gradient(180deg, rgba(12, 16, 36, .58), rgba(12, 16, 36, .96)),
        linear-gradient(90deg, rgba(124, 196, 255, .08), transparent 58%);
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.mission-card::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    top: 183px;
    z-index: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--mission-accent, rgba(124, 196, 255, .42)), transparent);
}

.mission-card--donjon {
    --mission-accent: #79b7ff;
    --mission-glow: rgba(123, 184, 255, .34);
}

.mission-card--expedition {
    --mission-accent: #d7a44a;
    --mission-glow: rgba(255, 207, 125, .34);
}

.mission-card--songe {
    --mission-accent: #d77b94;
    --mission-glow: rgba(255, 156, 176, .33);
}

.mission-card--regulation {
    --mission-accent: #c86bd0;
    --mission-glow: rgba(235, 159, 235, .34);
}

.mission-card--anomalie {
    --mission-accent: #b983ff;
    --mission-glow: rgba(191, 132, 255, .36);
}

.mission-card:hover {
    transform: translate(-2px, -2px);
}

.mission-card--donjon:hover {
    border-color: #79b7ff;
}

.mission-card--expedition:hover {
    border-color: #d7a44a;
}

.mission-card--songe:hover {
    border-color: #d77b94;
}

.mission-card--regulation:hover {
    border-color: #c86bd0;
}

.mission-card--anomalie:hover {
    border-color: #b983ff;
}

.mission-card-badge {
    position: absolute;
    top: -1px;
    left: 18px;
    z-index: 3;
    width: 64px;
    height: 73px;
    filter: drop-shadow(0 7px 0 rgba(20, 33, 77, .35));
}

.mission-card-badge img {
    display: block;
    object-fit: contain;
    image-rendering: pixelated;
}

.mission-card-type {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    backdrop-filter: blur(6px);
}

.mission-card-type--donjon {
    border: 1px solid rgba(169, 207, 255, .55);
    background-color: rgba(71, 101, 156, .48);
    color: #eaf3ff;
}

.mission-card-type--regulation {
    border: 1px solid rgba(235, 159, 235, .58);
    background-color: rgba(111, 62, 120, .58);
    color: #ffe4ff;
}

.mission-card-type--expedition {
    border: 1px solid rgba(255, 207, 125, .62);
    background-color: rgba(107, 76, 38, .58);
    color: #ffe0a2;
}

.mission-card-type--anomalie {
    border: 1px solid rgba(191, 132, 255, .62);
    background-color: rgba(98, 54, 142, .58);
    color: #ead7ff;
}

.mission-card-type--songe {
    border: 1px solid rgba(255, 156, 176, .58);
    background-color: rgba(117, 56, 75, .58);
    color: #ffe3ea;
}

.mission-card h3,
.mission-card p {
    position: relative;
    z-index: 2;
}

.mission-card h3 {
    max-width: 100%;
    color: var(--color-text-primary);
    font-family: "Crimson Pro", serif;
    font-size: 27px;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 12px;
}

.mission-card p {
    max-width: 100%;
    min-height: 58px;
    color: #b8c5f4;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 500;
}

.mission-card p strong {
    color: #60a9ff;
}

.mission-card > img {
    position: absolute;
    left: 50%;
    top: 46px;
    z-index: 2;
    width: 168px;
    height: 130px;
    object-fit: contain;
    transform: translateX(-50%);
    filter: drop-shadow(0 24px 22px rgba(3, 6, 18, .54));
}

/************************* GUIDES *************************/

.guide-hero {
    padding-bottom: 44px;
}

.guide-catalog {
    padding: 8px 0 96px;
}

.guide-filters {
    display: grid;
    grid-template-columns: minmax(220px, .8fr) minmax(280px, 1.2fr) auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 34px;
    padding: 16px;
    border: 1px solid rgba(124, 196, 255, .18);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(24, 28, 60, .96), rgba(17, 22, 45, .98));
}

.guide-filter-field {
    display: grid;
    gap: 8px;
}

.guide-filter-field span {
    color: #8fa6ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.guide-filter-field select,
.guide-filter-field input {
    width: 100%;
    min-height: 44px;
    padding: 0 13px;
    border: 1px solid #344082;
    border-radius: 7px;
    background: rgba(15, 19, 42, .86);
    color: #eef3ff;
    font: inherit;
    font-size: 14px;
    outline: none;
}

.guide-filter-field input::placeholder {
    color: #8fa6ff;
    opacity: .78;
}

.guide-filter-field select:focus,
.guide-filter-field input:focus {
    border-color: #7cc4ff;
    box-shadow: 0 0 0 3px rgba(124, 196, 255, .12);
}

.guide-catalog-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.guide-catalog-head h2 {
    color: var(--color-text-primary);
    font-family: "Crimson Pro", serif;
    font-size: 46px;
    line-height: 1;
    font-weight: 800;
}

.guide-catalog-head p {
    color: #9cadff;
    font-size: 14px;
    font-weight: 700;
}

.guide-catalog-head strong {
    color: #f7d488;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 312px);
    gap: 24px;
    justify-content: center;
}

.guide-card {
    --guide-accent: #7cc4ff;
    display: flex;
    flex-direction: column;
    width: 312px;
    min-height: 432px;
    overflow: hidden;
    border: 1px solid rgba(124, 196, 255, .18);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(24, 28, 60, .96), rgba(17, 22, 45, .98));
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .25s, transform .25s, box-shadow .25s;
}

.guide-card:focus-visible {
    border-color: var(--guide-accent);
    outline: 3px solid rgba(124, 196, 255, .16);
    outline-offset: 3px;
}

.guide-card:hover {
    border-color: var(--guide-accent);
    transform: translate(-2px, -2px);
}

.guide-card[hidden] {
    display: none;
}

.guide-card__scene {
    position: relative;
    display: grid;
    place-items: center;
    height: 206px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(10, 14, 32, .04) 0%, rgba(10, 14, 32, .5) 100%),
        url("../img/card-mission/background.png");
    background-position: center;
    background-size: cover;
}

.guide-card__scene::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
    z-index: 2;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--guide-accent), transparent);
}

.guide-card__scene img {
    position: relative;
    z-index: 1;
    max-width: 178px;
    max-height: 146px;
    object-fit: contain;
    filter: drop-shadow(0 24px 22px rgba(3, 6, 18, .54));
}

.guide-card__type {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 12px;
    border: 1px solid var(--guide-accent);
    border-radius: 999px;
    background: rgba(16, 20, 45, .58);
    color: #eef4ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.guide-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.guide-card__body h2 {
    color: var(--color-text-primary);
    font-family: "Crimson Pro", serif;
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 12px;
}

.guide-card__body p {
    color: #b8c5f4;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 500;
}

.guide-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 18px;
}

.guide-card__chips span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(122, 181, 255, .18);
    border-radius: 999px;
    background: rgba(16, 20, 45, .66);
    color: #d5e2ff;
    font-size: 12px;
    font-weight: 800;
}

.guide-card--donjon {
    --guide-accent: #79b7ff;
}

.guide-card--expedition {
    --guide-accent: #d7a44a;
}

.guide-card--songe {
    --guide-accent: #d77b94;
}

.guide-card--anomalie,
.guide-card--regulation {
    --guide-accent: #b983ff;
}

.guide-empty {
    margin-top: 18px;
    padding: 18px;
    border: 1px dashed rgba(124, 196, 255, .24);
    border-radius: 12px;
    color: #aeb8eb;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.guide-detail {
    padding: 144px 0 96px;
}

.guide-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    margin-bottom: 18px;
    padding: 0 13px;
    border: 1px solid rgba(124, 196, 255, .18);
    border-radius: 999px;
    background: rgba(16, 20, 45, .62);
    color: #aecaff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.guide-detail__back:hover {
    border-color: rgba(124, 196, 255, .48);
    color: #eef4ff;
}

.guide-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 28px;
    align-items: start;
}

.guide-detail-main {
    min-width: 0;
}

.guide-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 248px;
    min-height: 236px;
    overflow: hidden;
    border: 1px solid rgba(124, 196, 255, .18);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(24, 28, 60, .96), rgba(17, 22, 45, .98));
}

.guide-detail-hero__copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px 30px;
}

.guide-detail__type {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 26px;
    margin-bottom: 14px;
    padding: 0 12px;
    border: 1px solid rgba(124, 196, 255, .34);
    border-radius: 999px;
    background: rgba(16, 20, 45, .62);
    color: #d9e6ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.guide-detail-hero h1 {
    color: var(--color-text-primary);
    font-family: "Crimson Pro", serif;
    font-size: 46px;
    line-height: .98;
    font-weight: 800;
    margin-bottom: 12px;
}

.guide-detail-hero p {
    max-width: 62ch;
    color: #b8c5f4;
    font-size: 15px;
    line-height: 1.58;
    font-weight: 500;
}

.guide-detail__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.guide-detail__chips span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid rgba(122, 181, 255, .18);
    border-radius: 999px;
    background: rgba(16, 20, 45, .66);
    color: #d5e2ff;
    font-size: 12px;
    font-weight: 800;
}

.guide-detail-hero__media {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 236px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(10, 14, 32, .04) 0%, rgba(10, 14, 32, .5) 100%),
        url("../img/card-mission/background.png");
    background-position: center;
    background-size: cover;
}

.guide-detail-hero__media::before {
    content: "";
    position: absolute;
    top: 28px;
    bottom: 28px;
    left: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(124, 196, 255, .58), transparent);
}

.guide-detail-hero__media img {
    position: relative;
    z-index: 1;
    max-width: 168px;
    max-height: 168px;
    object-fit: contain;
    filter: drop-shadow(0 24px 22px rgba(3, 6, 18, .54));
}

.guide-detail-tabs {
    position: sticky;
    top: 0;
    z-index: 8;
    display: flex;
    gap: 0;
    margin-top: 28px;
    border-bottom: 1px solid rgba(124, 196, 255, .16);
    background: rgba(23, 25, 51, .92);
    backdrop-filter: blur(10px);
}

.guide-detail-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    border-bottom: 2px solid transparent;
    color: #9cadff;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.guide-detail-tabs a:hover,
.guide-detail-tabs a.is-active {
    border-bottom-color: #63a8ff;
    color: #d9e6ff;
}

.guide-detail-card__label {
    display: block;
    margin-bottom: 14px;
    color: #8fa6ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.guide-detail-section {
    padding: 21px 0;
    border-bottom: 1px solid rgba(124, 196, 255, .12);
}

.guide-detail-section.is-empty {
    padding: 24px 0;
}

.guide-detail-panel[hidden] {
    display: none;
}

.guide-detail-section__head {
    margin-bottom: 18px;
}

.guide-detail-panel[data-guide-panel="placement"] .guide-detail-section__head {
    margin-bottom: 0;
}

.guide-detail-section__head h2 {
    color: var(--color-text-primary);
    font-family: "Crimson Pro", serif;
    font-size: 38px;
    line-height: 1;
    font-weight: 800;
}

.guide-detail-checklist {
    display: grid;
    gap: 10px;
    max-width: 720px;
}

.guide-detail-checklist li {
    position: relative;
    padding-left: 28px;
    color: #c8d8ff;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 600;
}

.guide-detail-checklist li::before {
    content: "\f00c";
    position: absolute;
    top: 2px;
    left: 0;
    color: #7cc4ff;
    font-family: "Font Awesome 6 Free";
    font-size: 13px;
    font-weight: 900;
}

.guide-detail-checklist li.guide-detail-empty {
    padding-left: 0;
    text-align: left;
}

.guide-detail-checklist li.guide-detail-empty::before {
    content: none;
}

.guide-detail-map {
    display: grid;
    min-height: 180px;
    overflow: hidden;
    margin-bottom: 22px;
    border: 1px solid rgba(124, 196, 255, .16);
    border-radius: 12px;
    background: rgba(10, 14, 32, .5);
}

.guide-detail-map img {
    display: block;
    width: 100%;
    max-height: 440px;
    object-fit: cover;
}

.guide-detail-map img[hidden],
.guide-detail-sidebar[hidden] {
    display: none;
}

.guide-detail-map.is-empty {
    min-height: 0;
    margin-bottom: 0;
    border: 0;
    background: transparent;
}

.guide-detail-empty {
    align-self: center;
    justify-self: start;
    padding: 0;
    color: #94a8e6;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 800;
    text-align: left;
}

.guide-detail-steps {
    display: grid;
    gap: 34px;
    width: 100%;
    color: #b8c5f4;
}

.guide-detail-panel[data-guide-panel="placement"] .guide-detail-steps {
    display: block;
}

.guide-detail-steps h2 {
    color: var(--color-text-primary);
    font-family: "Crimson Pro", serif;
    font-size: 38px;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 20px;
}

.guide-detail-steps p,
.guide-detail-steps li,
.guide-detail-steps div {
    color: #b8c5f4;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 500;
}

.guide-detail-steps p + p {
    margin-top: 14px;
}

.guide-detail-steps > div {
    margin: 0;
}

.guide-detail-steps > div:has(> br:only-child),
.guide-detail-steps > div:empty {
    min-height: .38em;
    line-height: .38;
}

.guide-detail-steps br {
    line-height: .45;
}

.guide-detail-steps b,
.guide-detail-steps strong {
    color: #dbe9ff;
    font-weight: 900;
}

.guide-detail-steps i,
.guide-detail-steps em {
    font-style: italic;
}

.guide-detail-steps u {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.guide-detail-steps ul {
    display: grid;
    padding-left: 18px;
    list-style: none;
}

.guide-detail-steps ol {
    counter-reset: guide-step-list;
    display: grid;
    gap: 8px;
    padding-left: 0;
    list-style: none;
}

.guide-detail-steps li {
    position: relative;
    display: list-item;
    padding-left: 18px;
    list-style: none;
}

.guide-detail-steps ul > li::before {
    content: "";
    position: absolute;
    top: .62em;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #9fc0ff;
    box-shadow: 0 0 0 3px rgba(124, 196, 255, .1);
}

.guide-detail-steps ol > li {
    counter-increment: guide-step-list;
    padding-left: 24px;
}

.guide-detail-steps ol > li::before {
    content: counter(guide-step-list) ".";
    position: absolute;
    top: 0;
    left: 0;
    color: #9fc0ff;
    font-weight: 900;
}

.guide-detail-steps blockquote {
    margin: 14px 0;
    padding: 12px 14px;
    border-left: 3px solid #63a8ff;
    border-radius: 0 8px 8px 0;
    background: rgba(34, 66, 115, .28);
    color: #dbe9ff;
}

.guide-detail-steps figure {
    display: grid;
    gap: 10px;
    margin: 16px 0 0;
}

.guide-detail-steps figure + figure {
    margin-top: 22px;
}

.guide-detail-steps figure img {
    max-width: 700px;
    border: 1px solid rgba(124, 196, 255, .16);
    border-radius: 8px;
}

.guide-detail-steps figcaption {
    color: #91a8ee;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    white-space: pre-line;
}

.guide-detail-sidebar {
    position: sticky;
    top: 96px;
    overflow: hidden;
    border: 1px solid rgba(124, 196, 255, .16);
    border-radius: 14px;
    background: rgba(16, 20, 45, .54);
}

.guide-detail-sidebar__label {
    display: block;
    padding: 16px 16px 12px;
    border-bottom: 1px solid rgba(124, 196, 255, .12);
    color: #8fa6ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.guide-detail-sidebar nav {
    display: grid;
    padding: 8px;
}

.guide-detail-sidebar a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    color: #c8d8ff;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 800;
    text-decoration: none;
}

.guide-detail-sidebar a:hover,
.guide-detail-sidebar a.is-active {
    background: rgba(34, 66, 115, .42);
    color: #eef4ff;
}

.guide-detail-sidebar a span {
    color: #8fa6ff;
    font-size: 12px;
    font-weight: 900;
}

.guide-detail-sidebar__empty {
    padding: 12px;
    color: #94a8e6;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 800;
}

@media screen and (max-width: 900px) {
    .guide-filters {
        grid-template-columns: 1fr 1fr;
    }

    .guide-filters .btn {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .guide-detail-hero {
        grid-template-columns: 1fr;
    }

    .guide-detail-layout {
        grid-template-columns: 1fr;
    }

    .guide-detail-sidebar {
        position: static;
        order: -1;
    }

    .guide-detail-hero__media {
        order: -1;
    }

    .guide-detail-hero__media::before {
        top: auto;
        right: 24px;
        bottom: 0;
        left: 24px;
        width: auto;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(124, 196, 255, .58), transparent);
    }

    .guide-detail-tabs {
        overflow-x: auto;
        margin-right: -16px;
        padding-right: 16px;
        scrollbar-width: none;
    }

    .guide-detail-tabs::-webkit-scrollbar {
        display: none;
    }
}

@media screen and (max-width: 640px) {
    .guide-catalog {
        padding-bottom: 60px;
    }

    .guide-filters {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .guide-filters .btn {
        width: 100%;
        justify-self: stretch;
    }

    .guide-catalog-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .guide-catalog-head h2 {
        font-size: 38px;
    }

    .guide-grid {
        grid-template-columns: 312px;
    }

    .guide-detail {
        padding: 126px 0 60px;
    }

    .guide-detail-hero__copy {
        padding: 24px 16px;
    }

    .guide-detail-hero h1 {
        font-size: 42px;
    }

    .guide-detail-hero p,
    .guide-detail-steps p,
    .guide-detail-steps li {
        font-size: 15px;
    }

    .guide-detail-section {
        padding: 32px 0;
    }
}

.gallery-catalog,
.ranking-board {
    padding: 34px 0 96px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    align-items: start;
    gap: 24px;
}

.gallery-card {
    overflow: hidden;
    border: 1px solid rgba(124, 196, 255, .18);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(24, 28, 60, .96), rgba(17, 22, 45, .98));
    transition: border-color .25s, transform .25s, box-shadow .25s;
}

.gallery-card:hover {
    border-color: rgba(124, 196, 255, .58);
    transform: translate(-2px, -2px);
}

.gallery-card__media {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: #0f1430;
    cursor: pointer;
}

.gallery-card__media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.gallery-card__body {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.gallery-card__body h2 {
    color: var(--color-text-primary);
    font-size: 18px;
    font-weight: 900;
}

.gallery-card__body p {
    color: #aebcf1;
    font-size: 15px;
    line-height: 1.45;
    min-height: 3lh;
}

.gallery-card__read-more {
    justify-self: start;
    padding: 0;
    border: 0;
    background: transparent;
    color: #7cc4ff;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
}

.gallery-card__read-more:hover {
    color: #ffe29a;
}

.gallery-card__body time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    border: 1px solid rgba(124, 196, 255, .22);
    border-radius: 999px;
    background: rgba(34, 66, 115, .36);
    color: #7cc4ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-top: 2px;
}

.gallery-lightbox[hidden] {
    display: none;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 32px 24px;
}

.gallery-lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(5, 8, 20, .78);
}

.gallery-lightbox__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    overflow: hidden;
    width: min(1040px, 100%);
    max-height: calc(100vh - 64px);
    border: 1px solid rgba(124, 196, 255, .26);
    border-radius: 14px;
    background: #10142e;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .42);
}

.gallery-lightbox__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(124, 196, 255, .32);
    border-radius: 999px;
    background: rgba(16, 20, 45, .82);
    color: #eef4ff;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.gallery-lightbox__dialog img {
    display: block;
    width: 100%;
    height: min(560px, calc(100vh - 178px));
    object-fit: contain;
    background: #080b1c;
}

.gallery-lightbox__caption {
    min-height: 110px;
    padding: 14px 18px 16px;
    border-top: 1px solid rgba(124, 196, 255, .16);
}

.gallery-lightbox__caption h2 {
    color: var(--color-text-primary);
    font-size: 22px;
    font-weight: 900;
}

.gallery-lightbox__caption p {
    margin-top: 6px;
    color: #c8d8ff;
    font-size: 15px;
    line-height: 1.45;
    max-height: 44px;
    overflow: auto;
}

.gallery-lightbox__caption time {
    display: block;
    margin-top: 8px;
    color: #7cc4ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ranking-shell {
    overflow: hidden;
    border: 1px solid rgba(124, 196, 255, .18);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(24, 28, 60, .96), rgba(17, 22, 45, .98));
}

.ranking-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
    border-bottom: 1px solid rgba(124, 196, 255, .12);
}

.ranking-head p {
    margin-top: 6px;
    color: #aebcf1;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
}

.ranking-table-wrap {
    overflow-x: auto;
}

.ranking-table {
    width: 100%;
    min-width: 820px;
    border-collapse: collapse;
    table-layout: fixed;
}

.ranking-table th {
    padding: 14px 16px;
    background: rgba(34, 44, 92, .78);
    color: #d9e6ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    text-align: left;
    text-transform: uppercase;
}

.ranking-sort-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    cursor: pointer;
}

.ranking-sort-button span {
    color: #ffd36f;
    opacity: 0;
}

.ranking-sort-button.is-active {
    color: #ffd36f;
}

.ranking-sort-button.is-active span {
    opacity: 1;
}

.ranking-table td {
    height: 58px;
    padding: 0 16px;
    border-top: 1px solid rgba(124, 196, 255, .08);
    color: #c8d8ff;
    font-size: 14px;
    font-weight: 700;
    vertical-align: middle;
}

.ranking-table tbody tr:hover {
    background: rgba(34, 66, 115, .22);
}

.ranking-table td:nth-child(2),
.ranking-table td strong {
    color: #eef4ff;
}

.ranking-player {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 220px;
    min-width: 0;
}

.ranking-player__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(110, 168, 255, .14);
    color: #91baff;
    font-size: 12px;
    font-weight: 900;
}

.ranking-player strong {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ranking-player__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ranking-table td:first-child span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #d9e6ff;
    font-weight: 900;
}

.ranking-table .is-gold td:first-child span { color: #ffd36f; }
.ranking-table .is-silver td:first-child span { color: #c8d8ff; }
.ranking-table .is-bronze td:first-child span { color: #d79a5d; }



@media screen and (max-width: 760px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .ranking-head {
        display: grid;
    }

}

/************************* STUFFS *************************/

/************************* STUFFS *************************/

.stuff-hero {
    padding-bottom: 48px;
}

.stuff-catalog {
    padding: 8px 0 96px;
}

.stuff-filters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 34px;
    padding: 16px;
    border: 1px solid rgba(124, 196, 255, .18);
    border-radius: 12px;
    background:rgba(22, 27, 58, .86);
}

.stuff-filter-field {
    display: grid;
    gap: 8px;
}

.stuff-filter-field span {
    color: #8fa6ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.stuff-filter-field select,
.stuff-filter-field input {
    width: 100%;
    min-height: 44px;
    padding: 0 13px;
    border: 1px solid #344082;
    border-radius: 7px;
    background: rgba(15, 19, 42, .86);
    color: #eef3ff;
    font: inherit;
    font-size: 14px;
    outline: none;
}

.stuff-filter-field select:focus,
.stuff-filter-field input:focus {
    border-color: #7cc4ff;
    box-shadow: 0 0 0 3px rgba(124, 196, 255, .12);
}

/************************* MOT MYSTERE *************************/

.word-mystery-hero {
    padding-bottom: 56px;
}

.word-mystery-hero__grid {
    display: grid;
    grid-template-columns: minmax(320px, 540px) minmax(360px, 520px);
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.word-mystery-board-preview,
.word-mystery-panel,
.word-mystery-info-card {
    border: 1px solid rgba(124, 196, 255, .2);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(24, 28, 60, .96), rgba(17, 22, 45, .98));
    box-shadow: 0 22px 48px rgba(2, 6, 23, .22);
}

.word-mystery-board-preview {
    display: grid;
    gap: 10px;
    padding: 24px;
}

.word-mystery-preview-row,
.word-mystery-row {
    display: grid;
    grid-template-columns: repeat(var(--word-size, 5), minmax(0, 1fr));
    gap: 8px;
}

.word-mystery-preview-row {
    grid-template-columns: repeat(6, 1fr);
}

.word-mystery-preview-row span,
.word-mystery-row span {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    border: 1px solid rgba(124, 196, 255, .26);
    border-radius: 7px;
    background: rgba(12, 17, 38, .76);
    color: #eef3ff;
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 900;
    text-transform: uppercase;
}

.word-mystery-preview-row span.is-empty {
    opacity: .42;
}

.word-mystery-row span.is-correct,
.word-mystery-preview-row span.is-correct {
    border-color: rgba(111, 240, 191, .6);
    background: rgba(32, 94, 82, .76);
    color: #caffeb;
}

.word-mystery-row span.is-present,
.word-mystery-preview-row span.is-present {
    border-color: rgba(247, 212, 136, .62);
    background: rgba(108, 82, 32, .76);
    color: #ffe3a1;
}

.word-mystery-row span.is-absent {
    border-color: rgba(132, 145, 187, .26);
    background: rgba(22, 26, 52, .72);
    color: #8491bb;
}

.word-mystery-section {
    padding: 42px 0;
}

.word-mystery-play-grid,
.word-mystery-rules-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: 24px;
    align-items: start;
}

.word-mystery-panel {
    padding: 22px;
}

.word-mystery-panel h2,
.word-mystery-section-head h2,
.word-mystery-info-card h3,
.word-mystery-final-cta h2 {
    color: var(--color-text-primary);
    font-family: "Crimson Pro", serif;
    font-weight: 800;
    line-height: 1;
}

.word-mystery-panel h2,
.word-mystery-section-head h2,
.word-mystery-final-cta h2 {
    margin: 8px 0 18px;
    font-size: 44px;
}

.word-mystery-panel p,
.word-mystery-info-card p,
.word-mystery-final-cta p {
    color: #aeb8eb;
    font-size: 15px;
    line-height: 1.6;
}

.word-mystery-difficulty-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.word-mystery-difficulty-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid rgba(124, 196, 255, .22);
    border-radius: 8px;
    background: rgba(12, 17, 38, .72);
    color: #dce8ff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.word-mystery-difficulty-tabs a.is-active,
.word-mystery-difficulty-tabs a:hover {
    border-color: #7cc4ff;
    background: rgba(62, 116, 205, .38);
    color: #fff;
}

.word-mystery-difficulty-tabs a.is-unavailable {
    opacity: .58;
}

.word-mystery-difficulty-tabs a.is-unavailable span::after {
    content: " indispo";
    color: #f7d488;
    font-size: 11px;
    font-weight: 800;
}

.word-mystery-hint {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid rgba(247, 212, 136, .22);
    border-radius: 10px;
    background: rgba(108, 82, 32, .18);
}

.word-mystery-hint span,
.word-mystery-form label,
.word-mystery-reward-list span {
    color: #90a7ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.word-mystery-hint strong {
    color: #fff4cd;
    line-height: 1.45;
}

.word-mystery-grid {
    display: grid;
    gap: 8px;
    width: min(100%, calc(var(--word-size, 5) * 58px + (var(--word-size, 5) - 1) * 8px));
    margin: 0 auto 20px;
}

.word-mystery-form {
    display: grid;
    gap: 10px;
}

.word-mystery-form > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.word-mystery-form input {
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid #344082;
    border-radius: 7px;
    background: rgba(15, 19, 42, .86);
    color: #eef3ff;
    font: inherit;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    outline: none;
}

.word-mystery-form input:focus {
    border-color: #7cc4ff;
    box-shadow: 0 0 0 3px rgba(124, 196, 255, .12);
}

.word-mystery-form p {
    margin: 0;
    color: #8fa6ff;
    font-size: 13px;
    font-weight: 800;
}

.word-mystery-result,
.word-mystery-login-callout {
    display: grid;
    gap: 10px;
    padding: 15px;
    border-radius: 10px;
    background: rgba(12, 17, 38, .72);
    color: #dce8ff;
}

.word-mystery-result {
    grid-template-columns: auto 1fr;
    align-items: center;
}

.word-mystery-result i {
    color: #f7d488;
    font-size: 22px;
}

.word-mystery-result.is-win {
    border: 1px solid rgba(111, 240, 191, .35);
}

.word-mystery-result.is-lost {
    border: 1px solid rgba(247, 212, 136, .28);
}

.word-mystery-login-callout {
    border: 1px solid rgba(124, 196, 255, .22);
}

.word-mystery-login-callout strong {
    color: #f3f7ff;
    font-size: 18px;
}

.word-mystery-login-callout span {
    color: #aeb8eb;
    line-height: 1.5;
}

.word-mystery-login-callout .btn {
    justify-self: start;
}

.word-mystery-reward-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.word-mystery-reward-list div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px;
    border: 1px solid rgba(124, 196, 255, .16);
    border-radius: 8px;
    background: rgba(12, 17, 38, .58);
}

.word-mystery-reward-list strong,
.word-mystery-info-card strong {
    color: #f7d488;
    font-weight: 900;
}

.word-mystery-section-head {
    margin-bottom: 22px;
}

.word-mystery-step-grid,
.word-mystery-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.word-mystery-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.word-mystery-info-card {
    display: grid;
    gap: 12px;
    align-content: start;
    min-height: 170px;
    padding: 18px;
}

.word-mystery-info-card i {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(124, 196, 255, .28);
    border-radius: 9px;
    background: rgba(62, 116, 205, .24);
    color: #8fc8ff;
}

.word-mystery-info-card h3 {
    margin: 0;
    font-size: 28px;
}

.word-mystery-info-card p {
    margin: 0;
}

.word-mystery-list {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.word-mystery-list li {
    position: relative;
    padding-left: 22px;
    color: #c2cff7;
    font-size: 15px;
    line-height: 1.5;
}

.word-mystery-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #63a8ff;
    box-shadow: 0 0 0 5px rgba(99, 168, 255, .12);
}

.word-mystery-final-cta {
    padding: 42px 0 96px;
}

.word-mystery-final-cta .word-mystery-panel {
    display: grid;
    justify-items: start;
}

.word-mystery-game {
    padding: 132px 0 116px;
    color: #f0f3ff;
}

.word-mystery-game__layout {
    display: grid;
    grid-template-columns: minmax(420px, 620px) minmax(260px, 360px);
    gap: 64px;
    align-items: start;
    margin-top: 22px;
    padding-top: 28px;
    border-top: 1px solid rgba(124, 196, 255, .18);
}

.word-mystery-game__intro {
    max-width: 720px;
    margin-bottom: 48px;
}

.word-mystery-game__intro h1 {
    margin: 10px 0 14px;
    color: var(--color-text-primary);
    font-family: "Crimson Pro", serif;
    font-size: clamp(42px, 5vw, 66px);
    font-weight: 900;
    line-height: .92;
}

.word-mystery-game__intro h1 span {
    color: #63a8ff;
}

.word-mystery-game__intro p,
.word-mystery-side p {
    color: #b9c6f7;
    max-width: 620px;
    line-height: 1.65;
}

.word-mystery-rules-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.word-mystery-rules-inline span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid rgba(124, 196, 255, .18);
    border-radius: 7px;
    background: rgba(12, 17, 38, .4);
    color: #dce8ff;
    font-size: 14px;
    font-weight: 800;
}

.word-mystery-rules-inline i {
    color: #63a8ff;
}

.word-mystery-play,
.word-mystery-side {
    min-width: 0;
}

.word-mystery-side {
    position: sticky;
    top: 96px;
    padding: 20px 0 0 34px;
    border-left: 1px solid rgba(124, 196, 255, .18);
}

.word-mystery-side h2 {
    margin: 10px 0 8px;
    color: #f0f3ff;
    font-family: "Crimson Pro", serif;
    font-size: 34px;
    line-height: 1;
}

.word-mystery-difficulty-tabs {
    gap: 8px;
    margin-bottom: 34px;
}

.word-mystery-difficulty-tabs a {
    flex-direction: column;
    gap: 4px;
    min-height: 62px;
    padding: 8px 10px;
}

.word-mystery-difficulty-tabs a em {
    color: #92a7dc;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.word-mystery-hint {
    gap: 6px;
    margin-bottom: 30px;
    padding: 18px;
    border-width: 0 0 1px;
    border: 1px solid rgba(247, 212, 136, .22);
    border-radius: 8px;
    background: rgba(108, 82, 32, .16);
}

.word-mystery-grid {
    width: min(100%, calc(var(--word-size, 5) * 52px + (var(--word-size, 5) - 1) * 8px));
    margin: 0 0 34px;
}

.word-mystery-row span {
    border-radius: 6px;
    font-size: clamp(18px, 2.5vw, 25px);
}

.word-mystery-reward-list div,
.word-mystery-result,
.word-mystery-login-callout {
    border-radius: 8px;
}

.word-mystery-result,
.word-mystery-login-callout {
    margin-top: 8px;
    padding: 16px;
    border-radius: 8px;
    background: rgba(12, 17, 38, .5);
}

.word-mystery-reward-list div {
    padding: 10px 0;
    border-width: 0 0 1px;
    border-radius: 0;
    background: transparent;
}

.word-mystery-side,
.word-mystery-side p,
.word-mystery-reward-list {
    color: #b9c6f7;
}

.word-mystery-steps {
    padding: 0;
    color: #f0f3ff;
}

.word-mystery-steps__head {
    margin-bottom: 22px;
}

.word-mystery-steps__head h2 {
    margin: 8px 0 0;
    color: #f0f3ff;
    font-family: "Crimson Pro", serif;
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1;
}

.word-mystery-steps__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.word-mystery-step {
    display: grid;
    gap: 11px;
    align-content: start;
    min-height: 168px;
    padding: 16px;
    border-top: 1px solid rgba(124, 196, 255, .22);
    border-radius: 8px;
    background: rgba(12, 17, 38, .32);
}

.word-mystery-step i {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(124, 196, 255, .32);
    border-radius: 7px;
    background: rgba(62, 116, 205, .2);
    color: #7cc4ff;
}

.word-mystery-step h3 {
    margin: 0;
    color: #f0f3ff;
    font-size: 17px;
    line-height: 1.2;
}

.word-mystery-step p {
    margin: 0;
    color: #aeb8eb;
    font-size: 14px;
    line-height: 1.55;
}

.word-mystery-game__play-head {
    margin-top: 70px;
}

.word-mystery-game__play-head h2 {
    margin: 8px 0 0;
    color: #f0f3ff;
    font-family: "Crimson Pro", serif;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1;
}

.stuff-filters {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
    width: 100%;
    max-width: 100%;
    align-items: stretch;
    padding: 0;
    border: 0;
    background: transparent;
}

.stuff-filters--legacy {
    display: none !important;
}

.stuff-filter-panel {
    display: grid;
    gap: 12px;
    align-content: start;
    padding: 14px;
    border: 1px solid rgba(124, 196, 255, .2);
    border-radius: 12px;
    background: rgba(10, 14, 32, .72);
    box-shadow: 0 20px 42px rgba(2, 6, 23, .18);
}

.stuff-filter-panel--compact {
    min-width: 0;
    margin-top: 0;
    padding-top: 14px;
    border-top: 1px solid rgba(124, 196, 255, .2);
    border-radius: 12px;
    box-shadow: 0 20px 42px rgba(2, 6, 23, .18);
}

.stuff-filter-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.stuff-filter-panel__head span,
.stuff-filter-group h2 {
    color: #f3f7ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}

.stuff-filter-reset {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(255, 102, 138, .45);
    border-radius: 7px;
    background: rgba(255, 45, 101, .92);
    color: #fff;
    cursor: pointer;
    transition: transform .2s, border-color .2s, background .2s;
}

.stuff-filter-reset:hover,
.stuff-filter-reset:focus-visible {
    border-color: rgba(255, 191, 206, .8);
    background: #ff2b67;
    transform: translateY(-1px);
}

.stuff-filter-group {
    display: grid;
    gap: 8px;
}

.stuff-class-filter-grid,
.stuff-tag-filter-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.stuff-class-filter,
.stuff-tag-filter,
.stuff-mode-filter {
    border: 1px solid rgba(124, 196, 255, .22);
    background: rgba(12, 17, 38, .72);
    color: #dce8ff;
    cursor: pointer;
    transition: transform .18s, border-color .18s, background .18s, box-shadow .18s;
}

.stuff-class-filter {
    display: inline-grid;
    width: 37px;
    height: 37px;
    place-items: center;
    overflow: hidden;
    border-radius: 6px;
}

.stuff-class-filter img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: drop-shadow(0 7px 8px rgba(0, 0, 0, .42));
}

.stuff-class-filter i {
    font-size: 15px;
}

.stuff-tag-filter {
    position: relative;
    display: inline-grid;
    width: 38px;
    height: 36px;
    place-items: center;
    border-radius: 6px;
}

.stuff-tag-filter img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: drop-shadow(0 5px 7px rgba(0, 0, 0, .35));
}

.stuff-tag-filter::after {
    content: attr(data-stuff-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    z-index: 20;
    min-width: max-content;
    max-width: 150px;
    padding: 6px 9px;
    border: 1px solid rgba(124, 196, 255, .26);
    border-radius: 6px;
    background: rgba(7, 11, 27, .96);
    color: #eef3ff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .02em;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    text-align: center;
    transform: translate(-50%, 4px);
    transition: opacity .16s, transform .16s;
    white-space: nowrap;
    box-shadow: 0 12px 26px rgba(2, 6, 23, .34);
}

.stuff-tag-filter::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: calc(100% + 3px);
    z-index: 21;
    width: 8px;
    height: 8px;
    background: rgba(7, 11, 27, .96);
    border-right: 1px solid rgba(124, 196, 255, .26);
    border-bottom: 1px solid rgba(124, 196, 255, .26);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 4px) rotate(45deg);
    transition: opacity .16s, transform .16s;
}

.stuff-tag-filter:hover::after,
.stuff-tag-filter:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, 0);
}

.stuff-tag-filter:hover::before,
.stuff-tag-filter:focus-visible::before {
    opacity: 1;
    transform: translate(-50%, 0) rotate(45deg);
}

.stuff-class-filter:hover,
.stuff-class-filter:focus-visible,
.stuff-tag-filter:hover,
.stuff-tag-filter:focus-visible,
.stuff-mode-filter:hover,
.stuff-mode-filter:focus-visible,
.stuff-class-filter.is-active,
.stuff-tag-filter.is-active,
.stuff-mode-filter.is-active {
    border-color: rgba(124, 196, 255, .72);
    background: rgba(35, 64, 126, .64);
    box-shadow: 0 0 0 3px rgba(124, 196, 255, .1);
    transform: translateY(-1px);
}

.stuff-filter-select select {
    width: 100%;
    min-height: 38px;
    padding: 0 36px 0 12px;
    border: 1px solid rgba(124, 196, 255, .22);
    border-radius: 7px;
    background: rgba(12, 17, 38, .76);
    color: #f3f7ff;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 38px;
    outline: none;
}

.stuff-mode-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.stuff-mode-filter {
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.stuff-catalog-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.stuff-catalog-head h2 {
    color: var(--color-text-primary);
    font-family: "Crimson Pro", serif;
    font-size: 46px;
    line-height: 1;
    font-weight: 800;
}

.stuff-catalog-head p {
    color: #9cadff;
    font-size: 14px;
    font-weight: 700;
}

.stuff-catalog-head strong {
    color: #f7d488;
}

/* Grille fixe pour respecter tes fonds 312x385 */
.stuff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 312px);
    gap: 24px;
    justify-content: center;
}

.stuff-build-card {
    display: block;
    width: 312px;
    overflow: hidden;
    border: 1px solid rgba(124, 196, 255, .18);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(24, 28, 60, .96), rgba(17, 22, 45, .98));
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .25s, box-shadow .25s, transform .25s;
}

.stuff-build-card:hover,
.stuff-build-card:focus-visible {
    border-color: rgba(124, 196, 255, .62);
    transform: translate(-2px, -2px);
}

.stuff-build-card[hidden] {
    display: none;
}

/* Image du fond */
.stuff-build-card__scene {
    position: relative;
    width: 312px;
    height: 385px;
    min-height: 385px;
    overflow: hidden;
    background-image:
        linear-gradient(180deg, rgba(10, 14, 32, .08) 0%, rgba(10, 14, 32, .48) 100%),
        var(--build-bg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    isolation: isolate;
}

/* Ombre sous le personnage */
.stuff-build-card__scene::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 7%;
    z-index: 1;
    width: 56%;
    height: 16%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(255, 244, 181, .24), rgba(92, 195, 255, .12) 48%, transparent 72%);
    transform: translateX(-50%);
    filter: blur(1px);
}

/* Dégradé bas */
.stuff-build-card__scene::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    height: 38%;
    background:
        linear-gradient(180deg, transparent, rgba(10, 14, 32, .78)),
        linear-gradient(90deg, transparent, var(--class-accent, #7cc4ff), transparent);
    background-repeat: no-repeat;
    background-size: 100% 100%, 100% 1px;
    background-position: center, bottom;
    pointer-events: none;
}

/* Personnage */
.stuff-build-card__scene img {
    position: absolute;
    left: 52%;
    bottom: 1.5%;
    z-index: 3;
    display: block;
    width: auto;
    max-width: 58%;
    max-height: 78%;
    object-fit: contain;
    object-position: center bottom;
    transform: translateX(-50%);
    filter: drop-shadow(0 24px 22px rgba(3, 6, 18, .54));
}

/* Badge niveau */
.stuff-build-card__level {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid var(--level-border, rgba(255, 211, 132, .36));
    border-radius: 999px;
    background: var(--level-bg, rgba(73, 51, 22, .56));
    color: var(--level-color, #ffe4a6);
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
    backdrop-filter: blur(8px);
}

/* Corps */
.stuff-build-card__body {
    display: grid;
    gap: 16px;
    min-height: 210px;
    padding: 12px;
}

.stuff-build-card__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.stuff-build-card__title-row span {
    display: block;
    margin-bottom: 5px;
    color: var(--class-accent, #8fa6ff);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.stuff-build-card__title-row h2 {
    color: #f4f7ff;
    font-family: "Crimson Pro", serif;
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
}

.stuff-build-card__title-row strong {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border: 1px solid rgba(124, 196, 255, .28);
    border-radius: 999px;
    background: rgba(34, 66, 115, .42);
    color: #cfe5ff;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.stuff-build-card__body p {
    min-height: 66px;
    color: #b8c5f4;
    font-size: 14px;
    line-height: 1.56;
    font-weight: 500;
}

.stuff-build-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.stuff-build-card__chips span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(122, 181, 255, .18);
    border-radius: 999px;
    background: rgba(16, 20, 45, .66);
    color: #d5e2ff;
    font-size: 12px;
    font-weight: 800;
}

/* Fonds des 19 classes */
.stuff-build-card__scene--feca {
    --build-bg: url("../img/build/feca.png");
    --level-bg: rgba(42, 90, 184, .62);
    --level-border: rgba(139, 191, 255, .7);
    --level-color: #dcebff;
    --class-accent: #86b9ff;
}

.stuff-build-card__scene--osamodas {
    --build-bg: url("../img/build/osamodas.png");
    --level-bg: rgba(142, 49, 18, .62);
    --level-border: rgba(255, 128, 62, .72);
    --level-color: #ffe0c7;
    --class-accent: #ff8f5b;
}

.stuff-build-card__scene--enutrof {
    --build-bg: url("../img/build/enutrof.png");
    --level-bg: rgba(143, 92, 12, .62);
    --level-border: rgba(255, 204, 92, .74);
    --level-color: #fff0b9;
    --class-accent: #ffd15f;
}

.stuff-build-card__scene--sram {
    --build-bg: url("../img/build/sram.png");
    --level-bg: rgba(22, 83, 45, .68);
    --level-border: rgba(91, 255, 141, .56);
    --level-color: #caffdc;
    --class-accent: #76e89f;
}

.stuff-build-card__scene--xelor {
    --build-bg: url("../img/build/xelor.png");
    --level-bg: rgba(34, 101, 145, .62);
    --level-border: rgba(109, 222, 255, .7);
    --level-color: #d5f8ff;
    --class-accent: #7fe7ff;
}

.stuff-build-card__scene--ecaflip {
    --build-bg: url("../img/build/ecaflip.png");
    --level-bg: rgba(122, 42, 140, .65);
    --level-border: rgba(255, 123, 246, .7);
    --level-color: #ffe0ff;
    --class-accent: #f49cff;
}

.stuff-build-card__scene--eniripsa {
    --build-bg: url("../img/build/eniripsa.png");
    --level-bg: rgba(180, 93, 111, .58);
    --level-border: rgba(255, 190, 204, .75);
    --level-color: #fff0f4;
    --class-accent: #ffb9ca;
}

.stuff-build-card__scene--iop {
    --build-bg: url("../img/build/iop.png");
    --level-bg: rgba(143, 88, 8, .66);
    --level-border: rgba(255, 198, 66, .78);
    --level-color: #fff0ad;
    --class-accent: #ffc94b;
}

.stuff-build-card__scene--cra {
    --build-bg: url("../img/build/cra.png");
    --level-bg: rgba(39, 119, 62, .62);
    --level-border: rgba(130, 255, 151, .68);
    --level-color: #ddffe4;
    --class-accent: #93ff9e;
}

.stuff-build-card__scene--sadida {
    --build-bg: url("../img/build/sadida.png");
    --level-bg: rgba(78, 124, 24, .66);
    --level-border: rgba(184, 255, 89, .66);
    --level-color: #efffbd;
    --class-accent: #baff6b;
}

.stuff-build-card__scene--sacrieur {
    --build-bg: url("../img/build/sacrieur.png");
    --level-bg: rgba(134, 15, 42, .72);
    --level-border: rgba(255, 77, 111, .75);
    --level-color: #ffd7df;
    --class-accent: #ff6f8c;
}

.stuff-build-card__scene--pandawa {
    --build-bg: url("../img/build/pandawa.png");
    --level-bg: rgba(41, 111, 96, .64);
    --level-border: rgba(127, 241, 214, .68);
    --level-color: #d8fff6;
    --class-accent: #8bf4d9;
}

.stuff-build-card__scene--roublard {
    --build-bg: url("../img/build/roublard.png");
    --level-bg: rgba(135, 58, 18, .68);
    --level-border: rgba(255, 128, 48, .72);
    --level-color: #ffe1c6;
    --class-accent: #ff9b55;
}

.stuff-build-card__scene--zobal {
    --build-bg: url("../img/build/zobal.png");
    --level-bg: rgba(88, 43, 151, .68);
    --level-border: rgba(188, 126, 255, .72);
    --level-color: #ead8ff;
    --class-accent: #cda3ff;
}

.stuff-build-card__scene--steamer {
    --build-bg: url("../img/build/steamer.png");
    --level-bg: rgba(20, 112, 142, .66);
    --level-border: rgba(87, 229, 255, .7);
    --level-color: #d3faff;
    --class-accent: #74eaff;
}

.stuff-build-card__scene--eliotrope {
    --build-bg: url("../img/build/eliotrope.png");
    --level-bg: rgba(55, 65, 170, .66);
    --level-border: rgba(129, 153, 255, .72);
    --level-color: #dfe5ff;
    --class-accent: #95a9ff;
}

.stuff-build-card__scene--huppermage {
    --build-bg: url("../img/build/huppermage.png");
    --level-bg: rgba(150, 113, 40, .62);
    --level-border: rgba(255, 220, 128, .78);
    --level-color: #fff4c7;
    --class-accent: #ffe28a;
}

.stuff-build-card__scene--ouginak {
    --build-bg: url("../img/build/ouginak.png");
    --level-bg: rgba(86, 67, 36, .68);
    --level-border: rgba(229, 177, 92, .72);
    --level-color: #ffedcc;
    --class-accent: #e7bd74;
}

.stuff-build-card__scene--forgelance {
    --build-bg: url("../img/build/forgelance.png");
    --level-bg: rgba(55, 82, 112, .66);
    --level-border: rgba(150, 200, 255, .7);
    --level-color: #e4f2ff;
    --class-accent: #9fccff;
}

.stuff-empty {
    margin-top: 18px;
    padding: 18px;
    border: 1px dashed rgba(124, 196, 255, .24);
    border-radius: 12px;
    color: #aeb8eb;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

/* Responsive */
@media screen and (max-width: 1100px) {
    .stuff-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stuff-filters {
        grid-template-columns: 1fr;
    }

    .stuff-filters .btn {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

@media screen and (max-width: 640px) {
    .stuff-catalog {
        padding-bottom: 60px;
    }

    .stuff-filters {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .stuff-filters {
        padding: 0;
    }

    .stuff-filters .btn {
        width: 100%;
        justify-self: stretch;
    }

    .stuff-catalog-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .stuff-catalog-head h2 {
        font-size: 38px;
    }

    .stuff-grid {
        grid-template-columns: 312px;
    }

    .stuff-build-card {
        box-shadow: 7px 7px 0 rgba(8, 11, 28, .48);
    }
}

.stuff-build-card--featured {
    border-color: rgba(255, 211, 132, .72);

}
.stuff-build-card--featured:hover {
    border-color: rgba(255, 211, 132, .92);
}

/************************* FRONT RESPONSIVE *************************/

@media screen and (max-width: 1180px) {
    html,
    body {
        overflow-x: hidden;
    }

    .site-header {
        position: absolute;
        width: 100%;
        z-index: 30;
    }

    .site-header-bar {
        min-height: 74px;
        justify-content: space-between;
    }

    .site-menu-toggle {
        display: inline-flex;
        z-index: 42;
    }

    .site-nav-panel {
        position: fixed;
        inset: 0;
        z-index: 40;
        display: none;
        align-items: stretch;
        justify-content: flex-end;
        padding: 16px;
        background: rgba(5, 8, 20, .72);
        backdrop-filter: blur(6px);
    }

    .site-nav-panel.is-open {
        display: flex;
    }

    .site-nav-panel-shell {
        width: min(360px, 100%);
        min-height: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 22px;
        margin-left: auto;
        padding: 78px 20px 24px;
        border: 1px solid rgba(124, 196, 255, .2);
        border-radius: 16px;
        background: linear-gradient(180deg, rgba(24, 28, 60, .98), rgba(13, 17, 38, .98));
        box-shadow: 0 24px 64px rgba(0, 0, 0, .34);
        overflow-y: auto;
    }

    .site-nav,
    .site-nav ul,
    .site-nav--main,
    .site-nav--account {
        width: 100%;
        margin: 0;
    }

    .site-nav ul {
        display: grid;
        gap: 8px;
    }

    .site-nav--account ul {
        grid-template-columns: 1fr auto auto;
        align-items: center;
        gap: 10px;
        padding-top: 16px;
        border-top: 1px solid rgba(124, 196, 255, .14);
    }

    .site-nav a {
        width: 100%;
        min-height: 44px;
        padding: 0 12px;
        border-radius: 8px;
        background: rgba(16, 20, 45, .42);
    }

    .site-nav a:hover,
    .site-nav .is-active a {
        background: rgba(34, 66, 115, .48);
    }

    .account-action--admin {
        padding-left: 0;
    }

    .account-action--admin::before {
        display: none;
    }

    .account-action--admin a,
    .account-action--logout a {
        min-width: 44px;
    }

    .home-hero-grid {
        grid-template-columns: 1fr;
        gap: 34px;
        padding-top: 96px;
    }

    .profile-hero {
        padding-top: 126px;
    }

    .home-hero-media {
        min-height: 0;
    }

    .home-overview-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .home-section-head--split,
    .stuff-catalog-head,
    .guide-catalog-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .guild-news-layout {
        grid-template-columns: 1fr;
    }

    .mission-card-grid,
    .guide-grid,
    .stuff-grid {
        grid-template-columns: repeat(auto-fit, minmax(288px, 312px));
    }

    .guide-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guide-filters .btn {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .stuff-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stuff-filters .btn {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

@media screen and (max-width: 820px) {
    .container {
        width: min(calc(100% - 24px), var(--content-width));
    }

    .site-logo img {
        width: 44px;
        margin-block: 10px;
    }

    .home-hero {
        min-height: 0;
        padding: 52px 0 34px;
    }

    .home-hero-content h1,
    .page-hero h1 {
        font-size: 50px;
        line-height: 1.04;
    }

    .page-hero {
        padding-top: 128px;
    }

    .page-hero p,
    .home-hero-content p {
        font-size: 16px;
        line-height: 1.55;
    }

    .home-section-head h2,
    .home-overview .home-section-head h2 {
        font-size: 42px;
    }

    .home-overview,
    .home-almanax,
    .home-news,
    .home-missions,
    .gallery-catalog,
    .ranking-board,
    .guide-catalog,
    .stuff-catalog {
        padding-bottom: 62px;
    }

    .almanax-shell__top {
        align-items: flex-start;
        flex-direction: column;
    }

    .almanax-shell__status {
        align-self: flex-start;
    }

    .almanax-panel__layout,
    .home-overview .almanax-panel__layout {
        grid-template-columns: 1fr;
    }

    .almanax-panel__stats {
        grid-template-columns: 1fr;
    }

    .guild-vote-card__head {
        flex-direction: column;
    }

    .guild-vote-card__meta {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guild-vote-slot-grid {
        grid-template-columns: 1fr;
    }

    .guild-vote-actions {
        justify-content: stretch;
    }

    .guild-vote-actions .btn {
        flex: 1 1 220px;
    }

    .guide-detail {
        padding-top: 118px;
    }

    .guide-detail-layout {
        grid-template-columns: 1fr;
    }

    .guide-detail-sidebar {
        position: static;
        order: 0;
    }

    .guide-detail-hero {
        grid-template-columns: 1fr;
    }

    .guide-detail-hero__media {
        order: -1;
        min-height: 220px;
    }

    .guide-detail-tabs {
        position: static;
        max-width: 100%;
        margin-right: 0;
        padding-right: 0;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .guide-detail-tabs::-webkit-scrollbar {
        display: none;
    }

    .guide-detail-tabs a {
        flex: 0 0 auto;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-lightbox {
        padding: 14px;
    }

    .gallery-lightbox__dialog {
        max-height: calc(100vh - 28px);
    }

    .gallery-lightbox__dialog img {
        height: min(520px, calc(100vh - 172px));
    }

    .ranking-head {
        display: block;
        padding: 18px;
    }

    .ranking-table th,
    .ranking-table td {
        padding: 12px;
    }

    .form-grid--2,
    .form-grid--3 {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 520px) {
    .container {
        width: min(calc(100% - 20px), var(--content-width));
    }

    .site-header-bar {
        min-height: 64px;
    }

    .site-nav-panel {
        padding: 10px;
    }

    .site-nav-panel-shell {
        width: 100%;
        padding: 70px 14px 18px;
        border-radius: 12px;
    }

    .home-hero-grid {
        padding-top: 82px;
    }

    .home-hero-content h1,
    .page-hero h1 {
        font-size: 40px;
    }

    .page-hero {
        padding-top: 112px;
    }

    .profile-hero {
        padding-top: 108px;
    }

    .page-hero p,
    .home-hero-content p,
    .home-section-copy {
        font-size: 15px;
    }

    .home-hero-actions,
    .guild-vote-actions,
    .action-row {
        flex-direction: column;
        align-items: stretch;
    }

    .home-hero-actions .btn,
    .guild-vote-actions .btn,
    .action-row .btn {
        width: 100%;
    }

    .home-section-head h2,
    .home-overview .home-section-head h2,
    .stuff-catalog-head h2,
    .guide-catalog-head h2 {
        font-size: 36px;
    }

    .almanax-shell,
    .guild-vote-card,
    .ranking-shell {
        border-radius: 12px;
    }

    .almanax-panel__title,
    .guild-vote-card__intro h2,
    .guild-vote-card__intro h3,
    .guild-vote-panel__title {
        font-size: 30px;
    }

    .almanax-tabs,
    .guild-vote-days {
        margin-right: -10px;
        padding-right: 10px;
    }

    .guild-vote-card__meta {
        grid-template-columns: 1fr;
    }

    .outings-page .guild-vote-card__intro h3 {
        font-size: 28px;
        line-height: 1.04;
    }

    .outings-page .guild-vote-actions .btn {
        flex: 0 0 auto;
        min-height: 48px;
    }

    .mission-card-grid,
    .guide-grid,
    .stuff-grid {
        grid-template-columns: minmax(0, 1fr);
        justify-content: stretch;
    }

    .mission-card,
    .guide-card,
    .stuff-build-card {
        width: 100%;
        max-width: 312px;
        justify-self: center;
    }

    .stuff-build-card__scene {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 312 / 385;
    }

    .guide-filters,
    .stuff-filters {
        grid-template-columns: 1fr;
        padding: 14px;
    }

    .guide-filters .btn,
    .stuff-filters .btn {
        width: 100%;
        justify-self: stretch;
    }

    .guide-detail-hero h1 {
        font-size: 36px;
    }

    .guide-detail-hero__copy {
        padding: 22px 16px;
    }

    .guide-detail-hero__media {
        min-height: 190px;
    }

    .guide-detail-section {
        padding: 28px 0;
    }

    .guide-detail-section__head h2,
    .guide-detail-steps h2 {
        font-size: 30px;
    }

    .gallery-card__body p {
        min-height: auto;
    }

    .gallery-lightbox__close {
        top: 10px;
        right: 10px;
    }

    .gallery-lightbox__caption h2 {
        font-size: 19px;
    }

    .gallery-lightbox__caption p {
        max-height: 72px;
        font-size: 14px;
    }

    .gallery-lightbox__dialog img {
        height: clamp(220px, 46vh, 360px);
    }

    .ranking-table {
        min-width: 720px;
    }

    .ranking-head p {
        font-size: 13px;
    }
}

@media screen and (max-width: 360px) {
    .home-hero-content h1,
    .page-hero h1 {
        font-size: 34px;
    }

    .mission-card,
    .guide-card,
    .stuff-build-card {
        max-width: 100%;
    }

    .mission-card h3,
    .guide-card__body h2,
    .stuff-build-card__title-row h2 {
        font-size: 27px;
    }
}

@media screen and (max-width: 980px) {
    .word-mystery-game {
        padding-top: 36px;
    }

    .word-mystery-game__layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .word-mystery-game__intro,
    .word-mystery-side {
        position: static;
        padding-top: 0;
    }

    .word-mystery-side {
        padding-left: 0;
        border-left: 0;
    }

    .word-mystery-hero__grid,
    .word-mystery-play-grid,
    .word-mystery-rules-grid {
        grid-template-columns: 1fr;
    }

    .word-mystery-board-preview {
        max-width: 520px;
    }

    .word-mystery-step-grid,
    .word-mystery-card-grid,
    .word-mystery-steps__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 620px) {
    .word-mystery-difficulty-tabs,
    .word-mystery-step-grid,
    .word-mystery-card-grid,
    .word-mystery-steps__grid,
    .word-mystery-form > div {
        grid-template-columns: 1fr;
    }

    .word-mystery-game__intro h1 {
        font-size: 42px;
    }

    .word-mystery-panel h2,
    .word-mystery-section-head h2,
    .word-mystery-final-cta h2 {
        font-size: 34px;
    }

    .word-mystery-board-preview,
    .word-mystery-panel {
        padding: 16px;
    }

    .word-mystery-grid {
        width: 100%;
    }

    .word-mystery-row,
    .word-mystery-preview-row {
        gap: 5px;
    }

    .word-mystery-form .btn,
    .word-mystery-login-callout .btn,
    .word-mystery-final-cta .btn {
        width: 100%;
    }
}
