@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&display=swap');

/* ============================================================
   WIZARD OF YOZ — APPLICATION STYLESHEET
   ============================================================
   Organisation:
    01. DESIGN TOKENS
    02. GLOBAL / RESET
    03. APPLICATION LAYOUT
    04. SIDEBAR
    05. BRAND / LOGO
    06. NAVIGATION
    07. SIDEBAR FOOTER
    08. MAIN CONTENT
    09. HEADER
    10. MEMBERS SECTION
    11. TABLES
    12. SHARED / LEGACY LOGO COMPONENTS
    14. RESPONSIVE
        ├── ≤ 1300px
        ├── ≤ 900px
        ├── ≤ 767px
        ├── ≤ 650px
        └── ≥ 768px
   ============================================================ */


/* ============================================================
   01. DESIGN TOKENS
   ============================================================ */

:root {
    --yoz-bg: #07111f;
    --yoz-bg-light: #0b192b;
    --yoz-sidebar: #06101d;
    --yoz-card: #0d1d30;
    --yoz-card-light: #10243a;

    --yoz-gold: #c89b3c;
    --yoz-gold-light: #e3bd63;

    --yoz-purple: #8067d8;
    --yoz-violet: #a66cff;

    --yoz-green: #32c98b;
    --yoz-red: #e65b68;

    --yoz-text: #f1f3f7;
    --yoz-text-soft: #9aa8ba;
    --yoz-border: rgba(255, 255, 255, 0.07);
}


/* ============================================================
   02. GLOBAL / RESET
   ============================================================ */

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    background:
        radial-gradient(circle at 70% 0%,
            rgba(72, 86, 145, 0.18),
            transparent 35%),
        linear-gradient(135deg,
            #07111f 0%,
            #09182a 50%,
            #07111f 100%);

    color: var(--yoz-text);

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}


/* ============================================================
   03. APPLICATION LAYOUT
   ============================================================ */

/* Root layout: fixed sidebar + main application area. */

.yoz-app {
    min-height: 100vh;
    display: flex;

    position: relative;
    overflow-x: hidden;
}


/* ============================================================
   04. SIDEBAR
   ============================================================ */

.yoz-sidebar {
    width: 245px;
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;

    display: flex;
    flex-direction: column;

    background:
        linear-gradient(180deg,
            #06101d 0%,
            #071523 52%,
            #06101d 100%);

    border-right: 0;

    box-shadow:
        1px 0 0 rgba(166, 108, 255, 0.04),
        3px 0 12px rgba(0, 0, 0, 0.18);

    padding: 28px 16px;

    z-index: 10;

    box-sizing: border-box;
}

.yoz-sidebar::after {
    content: "";
    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;

    width: 1px;

    background:
        linear-gradient(180deg,
            rgba(200, 155, 60, 0.45) 0%,
            rgba(200, 155, 60, 0.28) 18%,
            rgba(120, 125, 140, 0.24) 50%,
            rgba(92, 112, 138, 0.25) 75%,
            rgba(92, 112, 138, 0.19) 100%);

    pointer-events: none;
}


/* ============================================================
   05. BRAND / LOGO
   ============================================================ */

/* Main brand block. */

.yoz-brand {
    text-align: center;
    padding-bottom: 24px;
}


/* ------------------------------------------------------------
   Main emblem
   ------------------------------------------------------------ */

.yoz-logo {
    position: relative;

    width: 84px;
    height: 84px;

    margin: 0 auto 9px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #e8c568;

    isolation: isolate;
}


/* ------------------------------------------------------------
   Outer ornament
   ------------------------------------------------------------ */

.yoz-logo::before {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 72px;
    height: 72px;

    transform:
        translate(-50%, -50%) rotate(45deg);

    border: 1px solid rgba(214, 160, 68, 0.38);

    border-radius: 12px;

    box-shadow:
        0 0 7px rgba(214, 160, 68, 0.12),
        inset 0 0 8px rgba(214, 160, 68, 0.04);

    pointer-events: none;

    z-index: 0;
}


/* ------------------------------------------------------------
   Magical rays / points
   ------------------------------------------------------------ */

.yoz-logo::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 76px;
    height: 76px;

    transform: translate(-50%, -50%);

    background:
        linear-gradient(90deg,
            transparent 0 47%,
            rgba(226, 181, 88, 0.58) 49%,
            rgba(226, 181, 88, 0.58) 51%,
            transparent 53%),
        linear-gradient(0deg,
            transparent 0 47%,
            rgba(226, 181, 88, 0.58) 49%,
            rgba(226, 181, 88, 0.58) 51%,
            transparent 53%);

    clip-path: polygon(50% 0%,
            56% 43%,
            100% 50%,
            56% 57%,
            50% 100%,
            44% 57%,
            0% 50%,
            44% 43%);

    opacity: 0.50;

    filter:
        drop-shadow(0 0 4px rgba(214, 160, 68, 0.25));

    pointer-events: none;

    z-index: 1;
}


/* ------------------------------------------------------------
   Central ring
   ------------------------------------------------------------ */

.yoz-logo-ring {
    position: absolute;

    width: 58px;
    height: 58px;

    border: 1px solid rgba(240, 208, 120, 0.95);

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(214, 160, 68, 0.09) 0%,
            rgba(190, 135, 57, 0.03) 48%,
            transparent 74%);

    box-shadow:
        0 0 8px rgba(214, 160, 68, 0.16),
        0 0 18px rgba(190, 135, 57, 0.07),
        inset 0 0 10px rgba(214, 160, 68, 0.04);

    z-index: 2;
}

.yoz-logo-ring::before {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 51px;
    height: 51px;

    transform: translate(-50%, -50%);

    border:
        1px solid rgba(222, 177, 83, 0.18);

    border-radius: 50%;

    box-shadow:
        inset 0 0 8px rgba(214, 160, 68, 0.05);

    pointer-events: none;
}

.yoz-logo-ring::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 63px;
    height: 63px;

    transform:
        translate(-50%, -50%) rotate(45deg);

    border:
        1px solid rgba(214, 160, 68, 0.16);

    border-radius: 9px;

    pointer-events: none;
}


/* ------------------------------------------------------------
   Logo letter
   ------------------------------------------------------------ */

.yoz-logo-w {
    position: relative;
    z-index: 4;

    font-family: "Cinzel", serif;

    font-size: 38px;
    font-weight: 600;
    line-height: 1;
    transform: translateY(2px);

    background:
        linear-gradient(180deg,
            #f4c65d 0%,
            #d99a32 45%,
            #b87520 100%);

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    filter:
        drop-shadow(0 0 5px rgba(214, 160, 68, 0.18)) drop-shadow(0 0 11px rgba(185, 126, 52, 0.08));
}


/* ------------------------------------------------------------
   Logo stars
   ------------------------------------------------------------ */

.yoz-logo-star {
    position: absolute;

    z-index: 5;

    color: #f0d078;

    line-height: 1;

    text-shadow:
        0 0 5px rgba(224, 174, 85, 0.38),
        0 0 10px rgba(193, 137, 57, 0.15);

    pointer-events: none;
}

.yoz-logo-star-1 {
    top: 5px;
    left: 50%;

    transform: translateX(-50%);

    font-size: 7px;
}

.yoz-logo-star-2 {
    top: 15px;
    right: 10px;

    font-size: 5px;
}

.yoz-logo-star-3 {
    bottom: 16px;
    left: 8px;

    font-size: 4px;
}

.yoz-logo-star-4 {
    bottom: 7px;
    right: 21px;

    font-size: 4px;
}

/* ------------------------------------------------------------
   Guild name
   ------------------------------------------------------------ */

.yoz-brand-name {
    font-family: "Cinzel", serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: 0.9px;

    background: linear-gradient(180deg,
            #f6c85f 0%,
            #dda03a 45%,
            #bd7824 100%);

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    filter: drop-shadow(0 0 5px rgba(225, 184, 91, 0.14));
}

.yoz-brand-name span {
    display: block;
}


/* ------------------------------------------------------------
   Guild subtitle + separator
   ------------------------------------------------------------ */

.yoz-brand-subtitle {
    margin-top: 8px;
    color: #dca13b;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.5px;
    line-height: 1;
    white-space: nowrap;
    text-shadow: 0 0 5px rgba(220, 177, 80, 0.12);
}

.yoz-brand-subtitle::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    margin-top: 14px;

    background: linear-gradient(90deg,
            transparent 0%,
            rgba(210, 165, 75, 0.35) 15%,
            rgba(210, 165, 75, 0.22) 50%,
            rgba(166, 108, 255, 0.18) 85%,
            transparent 100%);
}


/* ============================================================
   06. NAVIGATION
   ============================================================ */

.yoz-navigation {
    display: flex;
    flex-direction: column;
    gap: 4px;

    /*
     * The sidebar is 245px wide with 16px horizontal padding.
     * Recover the right padding so navigation items can reach
     * the sidebar border.
     */
    width: calc(100% + 16px);
}

.yoz-nav-item {
    position: relative;

    display: flex;
    align-items: center;
    gap: 12px;

    min-height: 43px;
    padding: 0 13px;

    border-radius: 7px;

    color: #b59a72;
    text-decoration: none;

    font-family: Georgia,
        "Times New Roman",
        serif;

    font-size: 13px;
    font-weight: 500;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.yoz-nav-item:hover {
    color: #d9dee7;
    background: rgba(255, 255, 255, 0.035);
}


/* ------------------------------------------------------------
   Navigation icons
   ------------------------------------------------------------ */

.yoz-nav-icon {
    width: 22px;
    min-width: 22px;
    height: 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #b88635;
}

.yoz-nav-icon svg {
    width: 21px;
    height: 21px;
    display: block;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ------------------------------------------------------------
   Active navigation item
   ------------------------------------------------------------ */

.yoz-nav-item.active {
    position: relative;
    z-index: 2;

    color: #e7d4a3;

    background: linear-gradient(90deg,
            rgba(200, 155, 60, 0.13) 0%,
            rgba(128, 103, 216, 0.10) 72%,
            rgba(128, 103, 216, 0.025) 100%);

    box-shadow: inset 0 0 24px rgba(128, 103, 216, 0.035);

    border-right: 1px solid #a66cff;
    border-radius: 7px;
}

.yoz-nav-item.active::after {
    content: "";

    position: absolute;
    right: -5px;
    top: 50%;

    width: 7px;
    height: 7px;

    transform: translateY(-50%) rotate(45deg);

    background: #a66cff;
    border-radius: 1px;

    z-index: 50;
    pointer-events: none;

    box-shadow:
        0 0 5px rgba(166, 108, 255, 0.95),
        0 0 12px rgba(166, 108, 255, 0.72),
        0 0 20px rgba(166, 108, 255, 0.38),
        0 0 30px rgba(166, 108, 255, 0.16);
}

.yoz-nav-item.active::before {
    content: "";

    position: absolute;

    top: 7px;
    right: -1px;
    bottom: 7px;

    width: 1px;

    background: #a66cff;

    border-radius: 0 7px 7px 0;

    box-shadow:
        0 0 5px rgba(166, 108, 255, 0.95),
        0 0 12px rgba(166, 108, 255, 0.60),
        0 0 20px rgba(166, 108, 255, 0.30);

    pointer-events: none;
}


/* ============================================================
   07. SIDEBAR FOOTER
   ============================================================ */

.yoz-sidebar-footer {
    margin-top: auto;

    display: flex;
    align-items: center;

    gap: 10px;
    padding: 12px;

    border: 1px solid rgba(200, 155, 60, 0.16);
    border-radius: 10px;

    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.025),
            rgba(255, 255, 255, 0.01));
}

.yoz-footer-icon {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #d9aa4e;
}

.yoz-footer-icon svg {
    width: 31px;
    height: 31px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.35;
    stroke-linecap: round;
    stroke-linejoin: round;

    filter: drop-shadow(0 0 4px rgba(215, 168, 76, 0.15));
}

.yoz-sidebar-footer strong {
    display: block;

    color: #e2e5ea;

    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

.yoz-sidebar-footer small {
    display: block;

    margin-top: 3px;

    color: #7f8d9e;

    font-size: 8px;
    line-height: 1.2;
}


/* ============================================================
   08. MAIN CONTENT
   ============================================================ */

.yoz-main {
    width: calc(100% - 245px);
    margin-left: 245px;
    margin-top: 0;
    padding-top: 0;

    min-width: 0;
}


/* ============================================================
   09. HEADER
   ============================================================ */

.yoz-header {
    position: relative;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;

    height: 320px;
    padding: 34px 40px 28px;

    box-sizing: border-box;
    margin-bottom: 0;

    background-image: url("../images/yoz-header-library-wide-1675x320-3c2f9x5.png");

    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;

    border-bottom: 1px solid rgba(200, 155, 60, 0.22);

    overflow: hidden;
}


/* ------------------------------------------------------------
   Header separator
   ------------------------------------------------------------ */

.yoz-header::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 1px;

    background:
        linear-gradient(90deg,
            rgba(200, 155, 60, 0),
            rgba(200, 155, 60, 0.55) 35%,
            rgba(166, 108, 255, 0.45) 70%,
            rgba(166, 108, 255, 0));

    pointer-events: none;
}

.yoz-header>div:first-child {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-width: 0;
}

/* ------------------------------------------------------------
   Header — message principal
   ------------------------------------------------------------ */

.yoz-welcome {
    color: #f3e7c7;
    font-family: 'Cinzel', serif;

    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.5px;

    margin-top: 70px;
    margin-bottom: 18px;

    text-transform: none;

    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.75),
        0 0 18px rgba(200, 155, 60, 0.18);
}

/* ------------------------------------------------------------
   Header — valeurs WOY
   ------------------------------------------------------------ */

.yoz-header-values {
    display: flex;
    align-items: center;
    gap: 28px;

    color: #f0e8d8;

    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;

    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.8);
}

.yoz-header-values span {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    white-space: nowrap;
}

.yoz-header-values span::before {
    display: none;
}

.yoz-header-values span {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    white-space: nowrap;
}

.yoz-header-values span svg {
    width: 16px;
    height: 16px;

    flex: 0 0 16px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;

    color: var(--yoz-gold-light);
}

.yoz-header-values span:nth-child(1)::before {
    content: "✦";
}

.yoz-header-values span:nth-child(2)::before {
    content: "♢";
}

.yoz-header-values span:nth-child(3)::before {
    content: "★";
}

.yoz-header-values span:nth-child(4)::before {
    content: "♥";
}

/* ------------------------------------------------------------
   Header — message secondaire
   ------------------------------------------------------------ */

.yoz-header-motto {
    position: absolute;
    top: 105px;
    right: 40px;

    width: 300px;

    box-sizing: border-box;

    text-align: center;

    z-index: 2;
}

.yoz-header-motto-title {
    color: var(--yoz-gold-light);

    font-family: 'Cinzel', serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: 0.6px;

    text-shadow:
        0 0 10px rgba(200, 155, 60, 0.18);
}

.yoz-header h1 {
    margin: 0;

    font-family: 'Cinzel', serif;
    font-size: 32px;
    font-weight: 700;
}

.yoz-header p {
    margin: 7px 0 0;

    color: #e7d4a3;
    font-size: 16px;
}


/* ------------------------------------------------------------
   Header — profil utilisateur
   ------------------------------------------------------------ */

.yoz-profile {
    position: absolute;
    top: 28px;
    right: 40px;

    display: flex;
    align-items: center;
    gap: 10px;

    padding: 7px 10px;

    border: 1px solid rgba(200, 155, 60, 0.28);
    border-radius: 9px;

    background: rgba(7, 17, 31, 0.58);

    z-index: 2;
}

.yoz-profile-avatar {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(200, 155, 60, 0.45);
    border-radius: 50%;

    background: rgba(7, 17, 31, 0.72);

    color: var(--yoz-gold-light);
    font-family: Georgia, serif;
    font-size: 16px;
    font-weight: 700;
}

.yoz-profile-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.yoz-profile-info strong {
    color: var(--yoz-gold-light);
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 700;
}

.yoz-profile-info span {
    color: var(--yoz-text-soft);
    font-size: 10px;
}

.yoz-profile-chevron {
    width: 20px;
    height: 20px;
    margin-left: 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}

.yoz-profile-chevron span {
    width: 8px;
    height: 8px;

    border-right: 2px solid var(--yoz-gold-light);
    border-bottom: 2px solid var(--yoz-gold-light);

    transform: rotate(45deg) translateY(-2px);
}

.yoz-profile-menu {
    position: relative;
}

.yoz-profile-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;

    display: none;

    min-width: 130px;
    padding: 6px;

    border: 1px solid rgba(200, 155, 60, 0.28);
    border-radius: 8px;

    background: rgba(7, 17, 31, 0.96);

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);

    z-index: 10;
}

.yoz-profile-dropdown a {
    display: block;

    padding: 7px 10px;

    color: var(--yoz-text-soft);
    font-size: 11px;
    text-decoration: none;

    border-radius: 5px;
}

.yoz-profile-dropdown a:hover {
    color: var(--yoz-gold-light);
    background: rgba(200, 155, 60, 0.10);
}

/* ============================================================
   10. MEMBERS SECTION
   ============================================================ */

.yoz-members-section {
    margin-top: 8px;
}

.yoz-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;

    margin-bottom: 13px;
}

.yoz-section-kicker {
    color: var(--yoz-gold);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;

    margin-bottom: 5px;
}

.yoz-section-header h2 {
    margin: 0;

    font-family: Georgia, serif;
    font-size: 21px;
}

.yoz-members-count {
    color: var(--yoz-text-soft);
    font-size: 11px;
}


/* ============================================================
   11. TABLES
   ============================================================ */

.yoz-table-wrapper {
    overflow: hidden;

    border: 1px solid var(--yoz-border);
    border-radius: 11px;

    background: rgba(7, 17, 31, 0.65);

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.yoz-table {
    width: 100%;

    border-collapse: collapse;
    margin: 0;
}

.yoz-table thead {
    background: rgba(255, 255, 255, 0.025);
}

.yoz-table th {
    padding: 13px 14px;

    color: #738397;

    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;

    text-align: left;

    border-bottom: 1px solid var(--yoz-border);
}

.yoz-table td {
    padding: 11px 14px;

    color: #cbd2dc;

    font-size: 11px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.045);
}

.yoz-table tbody tr {
    transition: background 0.15s ease;
}

.yoz-table tbody tr:hover {
    background: rgba(200, 155, 60, 0.035);
}

.yoz-table tbody tr:last-child td {
    border-bottom: 0;
}


/* ------------------------------------------------------------
   Player
   ------------------------------------------------------------ */

.yoz-player {
    display: flex;
    align-items: center;
    gap: 10px;
}

.yoz-avatar {
    width: 27px;
    height: 27px;

    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: linear-gradient(135deg,
            #493f67,
            #171d34);

    border: 1px solid rgba(200, 155, 60, 0.35);

    color: var(--yoz-gold-light);

    font-size: 10px;
    font-weight: 700;
}

.yoz-player strong {
    color: #edf0f5;
    font-size: 11px;
}

.yoz-number {
    color: var(--yoz-gold-light);
}

.yoz-citadelle-number {
    color: #c080ff;
}

.yoz-muted {
    color: #526174;
}


/* ------------------------------------------------------------
   Conditions
   ------------------------------------------------------------ */

.yoz-condition {
    display: inline-flex;
    align-items: center;

    padding: 4px 9px;

    border-radius: 20px;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.yoz-condition.ok {
    color: #4ce0a3;
    background: rgba(50, 201, 139, 0.12);
    border: 1px solid rgba(50, 201, 139, 0.18);
}

.yoz-condition.no {
    color: #ff747f;
    background: rgba(230, 91, 104, 0.11);
    border: 1px solid rgba(230, 91, 104, 0.16);
}

.yoz-arrow {
    color: #566579;
    font-size: 20px;
}


/* ============================================================
   12. SHARED / LEGACY LOGO COMPONENTS
   ============================================================
   These classes are kept intact because they may still be used
   by existing templates/components. Do not remove without
   checking template usage first.
   ============================================================ */

.brand-emblem,
.footer-emblem {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    color: var(--yoz-gold-light);

    font-family: Georgia,
        "Times New Roman",
        serif;

    font-weight: 700;

    background: radial-gradient(circle,
            rgba(200, 155, 60, 0.16) 0%,
            rgba(200, 155, 60, 0.04) 55%,
            transparent 75%);

    border: 1px solid rgba(200, 155, 60, 0.65);

    box-shadow:
        0 0 18px rgba(200, 155, 60, 0.10),
        inset 0 0 12px rgba(200, 155, 60, 0.05);
}


/* ------------------------------------------------------------
   Main brand emblem
   ------------------------------------------------------------ */

.brand-emblem {
    width: 58px;
    height: 58px;

    margin: 0 auto 12px;

    border-radius: 50%;

    font-size: 28px;
}

.brand-emblem::before {
    content: "";

    position: absolute;

    inset: 5px;

    border: 1px solid rgba(200, 155, 60, 0.25);
    border-radius: 50%;
}

.brand-emblem::after {
    content: "✦  ✧  ✦";

    position: absolute;

    top: -12px;
    left: 50%;

    transform: translateX(-50%);

    width: 90px;

    color: var(--yoz-gold);

    font-size: 8px;
    letter-spacing: 8px;

    white-space: nowrap;
}


/* ------------------------------------------------------------
   Footer emblem
   ------------------------------------------------------------ */

.footer-emblem {
    width: 34px;
    height: 34px;

    border-radius: 50%;

    font-size: 17px;
}

.footer-emblem::before {
    content: "";

    position: absolute;

    inset: 4px;

    border: 1px solid rgba(200, 155, 60, 0.22);
    border-radius: 50%;
}


/* ------------------------------------------------------------
   Sidebar footer mini logo
   ------------------------------------------------------------ */

.yoz-footer-logo {
    position: relative;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #e8c568;

    isolation: isolate;
}

.yoz-footer-logo::before {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 27px;
    height: 27px;

    transform: translate(-50%, -50%) rotate(45deg);

    border: 1px solid rgba(218, 170, 78, 0.55);
    border-radius: 5px;

    box-shadow:
        0 0 6px rgba(215, 168, 76, 0.16),
        inset 0 0 6px rgba(215, 168, 76, 0.05);

    pointer-events: none;

    z-index: 0;
}

.yoz-footer-logo-ring {
    position: absolute;

    width: 23px;
    height: 23px;

    border: 1px solid rgba(240, 208, 120, 0.9);
    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(194, 124, 63, 0.10) 0%,
            rgba(169, 109, 64, 0.035) 48%,
            transparent 74%);

    box-shadow:
        0 0 6px rgba(201, 132, 68, 0.15),
        inset 0 0 6px rgba(215, 145, 73, 0.05);

    z-index: 1;
}

.yoz-footer-logo-w {
    position: relative;
    z-index: 3;

    font-family: "Cinzel", serif;

    font-size: 12px;
    font-weight: 600;
    line-height: 1;

    background:
        linear-gradient(180deg,
            #f6c85f 0%,
            #dda03a 45%,
            #bd7824 100%);

    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    filter:
        drop-shadow(0 0 2px rgba(215, 168, 76, 0.30));
}



/* ============================================================
   14. RESPONSIVE
   ============================================================ */

/* <=900 */
@media (max-width: 900px) {
    .yoz-sidebar {
        width: 76px;
        padding: 16px 0 12px;
        box-sizing: border-box;
        overflow: hidden;
    }

    .yoz-brand {
        width: 100%;
        padding-bottom: 18px;
    }

    .yoz-logo {
        width: 76px;
        height: 76px;
        margin: 0 auto -2px;
        transform: scale(.68);
        transform-origin: center top;
    }

    .yoz-brand-name,
    .yoz-brand-subtitle {
        display: none;
    }

    .yoz-navigation {
        width: 100%;
        gap: 4px;
    }

    .yoz-nav-item {
        justify-content: center;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .yoz-nav-item>span:not(.yoz-nav-icon) {
        display: none;
    }

    .yoz-nav-icon {
        margin: 0;
    }

    .yoz-sidebar-footer {
        position: fixed;
        left: 5px;
        bottom: 10px;
        width: 66px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    .yoz-sidebar-footer>div:last-child {
        display: none;
    }

    .yoz-footer-logo {
        width: 34px;
        height: 34px;
    }

    body:has(.sf-toolbar) .yoz-sidebar-footer {
        bottom: 42px;
    }

    .yoz-main {
        width: calc(100% - 76px);
        margin-left: 76px;
        padding: 0 25px 60px 18px;
        box-sizing: border-box;
    }

    .yoz-header {
        height: 300px;
        padding: 24px 18px 20px;
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
        background-size: cover;
        background-position: center center;
        overflow: visible;
    }

    .yoz-header>div:first-child {
        min-width: 0;
        flex: 1 1 auto;
    }

    .yoz-header {
        width: calc(100% + 43px);
        margin-left: -18px;
    }
}

/* <=767 */
@media (max-width: 767px) {

    .yoz-header {
        height: auto;
        min-height: 200px;
        padding: 20px;

        flex-direction: column;
        gap: 14px;

        background-size: cover;
        background-position: center center;

        overflow: visible;
    }

    /* Le bloc slogan reprend une hauteur naturelle sur mobile. */
    .yoz-header>div:first-child {
        height: auto;
        width: 100%;
        flex: 0 0 auto;

        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .yoz-welcome {
        font-size: 23px;
        line-height: 1.15;
        letter-spacing: 0.5px;

        margin-top: 0;
        margin-bottom: 18px;
    }

    .yoz-header-values {
        flex-wrap: wrap;
        gap: 10px 18px;

        font-size: 12px;
    }
}

/* <=650 */
@media (max-width: 650px) {

    .yoz-main {
        padding: 18px;
    }

    /* Header mobile */
    .yoz-header {
        width: calc(100% + 36px);
        margin-left: -18px;
        padding: 18px 16px;

        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .yoz-header>div:first-child {
        flex: 0 0 auto;
    }

    .yoz-header h1 {
        font-size: 21px;
    }

    .yoz-header p {
        font-size: 11px;
    }

}

/* ------------------------------------------------------------
   Header mobile — <= 480px
   ------------------------------------------------------------ */
@media (max-width: 480px) {

    .yoz-header {
        height: 320px;
        padding: 16px;
        box-sizing: border-box;
        display: block;
        overflow: hidden;
    }

    .yoz-header-message {
        position: relative;
        width: 100%;
        height: 100%;
        box-sizing: border-box;
    }

    /* Message principal */
    .yoz-welcome {
        margin: 58px 0 0;
        max-width: 100%;

        font-size: 19px;
        line-height: 1.18;
        letter-spacing: 0.2px;
    }

    /* Profil */
    .yoz-profile {
        top: 10px;
        right: 10px;

        padding: 5px 7px;
        gap: 7px;
    }

    .yoz-profile-avatar {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .yoz-profile-info strong {
        font-size: 10px;
    }

    .yoz-profile-info span {
        font-size: 8px;
    }

    .yoz-profile-chevron {
        width: 6px;
        height: 6px;
    }

    /* Motto */
    .yoz-header-motto {
        top: 160px;
        right: 16px;
        width: calc(100% - 32px);

        text-align: center;
    }

    .yoz-header-motto-title {
        font-size: 11px;
        line-height: 1.4;
        letter-spacing: 0.3px;
    }

    /* Valeurs */
    .yoz-header-values {
        position: absolute;
        left: 0;
        bottom: 12px;

        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 10px;

        width: 100%;

        font-size: 9px;
    }

    .yoz-header-values span {
        white-space: nowrap;
    }

}

/* nouveau correctif */
@media (max-width: 480px) {

    .yoz-header-values {
        position: absolute;
        left: 0;
        top: 250px;
        bottom: auto;

        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 10px;

        width: 100%;
        margin: 0;

        font-size: 9px;
    }

    .yoz-header-values span {
        white-space: nowrap;
    }

}

/* ============================================================
   WIZARD OF YOZ — LOGIN
   ============================================================ */

.yoz-login-body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 50% 25%,
            rgba(72, 86, 145, 0.18),
            transparent 42%),
        linear-gradient(135deg,
            #07111f 0%,
            #09182a 50%,
            #07111f 100%);
    color: var(--yoz-text);
}

.yoz-login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    box-sizing: border-box;
}

/* ------------------------------------------------------------
   Branding
   ------------------------------------------------------------ */

.yoz-login-brand {
    text-align: center;
    margin-bottom: 28px;
}

.yoz-login-logo {
    width: 70px;
    height: 70px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e8c568;
    font-family: Georgia, serif;
    font-size: 34px;
    font-weight: 700;
    position: relative;
}

.yoz-login-logo::before {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1px solid rgba(214, 160, 68, 0.55);
    border-radius: 10px;
    transform: rotate(45deg);
}

.yoz-login-title {
    color: var(--yoz-gold-light);
    font-family: "Cinzel", Georgia, serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 3px;
}

.yoz-login-tagline {
    margin-top: 7px;
    color: var(--yoz-text-soft);
    font-size: 14px;
    letter-spacing: 0.4px;
}

/* ------------------------------------------------------------
   Main visual panel
   ------------------------------------------------------------ */

.yoz-login-panel {
    width: min(100%, 1100px);
    position: relative;
    border: 1px solid rgba(200, 155, 60, 0.35);
    border-radius: 14px;
    overflow: hidden;
    background: #081525;
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.45),
        0 0 35px rgba(128, 103, 216, 0.08);
}

.yoz-login-image {
    display: block;
    width: 100%;
    height: 330px;
    object-fit: cover;
    object-position: center;
    opacity: 0.95;
}

.yoz-login-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(7, 17, 31, 0.18),
            rgba(7, 17, 31, 0.03) 50%,
            rgba(7, 17, 31, 0.18)),
        linear-gradient(180deg,
            rgba(7, 17, 31, 0.02),
            rgba(7, 17, 31, 0.22));
    pointer-events: none;
}

/* ------------------------------------------------------------
   Login form
   ------------------------------------------------------------ */

.yoz-login-form-card {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(380px, calc(100% - 48px));
    padding: 30px 34px;
    box-sizing: border-box;
    background: rgba(6, 16, 29, 0.88);
    border: 1px solid rgba(200, 155, 60, 0.42);
    border-radius: 12px;
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.45),
        inset 0 0 30px rgba(200, 155, 60, 0.025);
    backdrop-filter: blur(6px);
}

.yoz-login-form-card h1 {
    margin: 0 0 24px;
    text-align: center;
    color: var(--yoz-gold-light);
    font-family: "Cinzel", Georgia, serif;
    font-size: 20px;
    font-weight: 600;
}

.yoz-login-field {
    margin-bottom: 18px;
}

.yoz-login-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--yoz-text-soft);
    font-size: 13px;
    font-weight: 600;
}

.yoz-login-field input {
    width: 100%;
    height: 44px;
    padding: 0 13px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 7px;
    outline: none;
    background: rgba(13, 29, 48, 0.95);
    color: var(--yoz-text);
    font: inherit;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.yoz-login-field input:focus {
    border-color: rgba(200, 155, 60, 0.65);
    box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.08);
}

.yoz-login-button {
    width: 100%;
    height: 46px;
    margin-top: 7px;
    border: 1px solid rgba(227, 189, 99, 0.65);
    border-radius: 7px;
    background:
        linear-gradient(180deg,
            rgba(200, 155, 60, 0.95),
            rgba(167, 119, 39, 0.95));
    color: #07111f;
    font-family: "Cinzel", Georgia, serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition:
        transform 0.15s ease,
        box-shadow 0.2s ease;
}

.yoz-login-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 20px rgba(200, 155, 60, 0.20);
}

.yoz-login-error {
    margin-bottom: 18px;
    padding: 10px 12px;
    border: 1px solid rgba(230, 91, 104, 0.35);
    border-radius: 7px;
    background: rgba(230, 91, 104, 0.08);
    color: #f0a1a8;
    font-size: 12px;
}

.yoz-login-flash {
    margin-bottom: 18px;
    padding: 10px 12px;
    border: 1px solid rgba(230, 91, 104, 0.35);
    border-radius: 7px;
    background: rgba(230, 91, 104, 0.08);
    color: #f0a1a8;
    font-size: 12px;
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */

@media (max-width: 700px) {
    .yoz-login-page {
        padding: 24px 16px;
    }

    .yoz-login-title {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .yoz-login-panel {
        min-height: 520px;
    }

    .yoz-login-image {
        height: 520px;
        object-fit: cover;
    }

    .yoz-login-form-card {
        width: calc(100% - 32px);
        padding: 26px 22px;
    }
}

/* ------------------------------------------------------------
   Login — branding WOY
   ------------------------------------------------------------ */

.yoz-login-brand {
    margin-bottom: 34px;
}

.yoz-login-brand .yoz-logo {
    width: 84px;
    height: 84px;
    margin-bottom: 12px;
}

.yoz-login-brand .yoz-brand-name {
    font-size: 22px;
}

.yoz-login-brand .yoz-brand-subtitle {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.35;
}

/* =========================================================
   REGISTRATION — même design que la connexion
   ========================================================= */

.yoz-registration-page .yoz-login-panel {
    min-height: 650px;
}

.yoz-registration-page .yoz-login-image {
    height: 650px;
    object-fit: cover;
}

.yoz-registration-page .yoz-login-form-card {
    min-height: 0;
    padding: 30px 34px;
}

.yoz-registration-page .yoz-login-form-card h1 {
    margin-bottom: 8px;
}

.yoz-registration-page .yoz-login-intro {
    margin: 0 0 22px;
    text-align: center;
}

.yoz-registration-page .yoz-login-field {
    margin-bottom: 15px;
}

.yoz-registration-page .yoz-login-register {
    margin-top: 18px;
}

/* =========================================================
   REGISTRATION — SELECTEUR DE LANGUE
   ========================================================= */

.yoz-registration-page .yoz-login-field select {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 42px 12px 14px;

    background-color: #0c1c2d;
    color: #eef2f7;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 7px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 500;

    appearance: none;
    -webkit-appearance: none;

    cursor: pointer;

    background-image:
        linear-gradient(45deg, transparent 50%, #c99a3a 50%),
        linear-gradient(135deg, #c99a3a 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 12px) 50%;
    background-size:
        6px 6px,
        6px 6px;
    background-repeat: no-repeat;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.yoz-registration-page .yoz-login-field select:hover {
    border-color: rgba(201, 154, 58, 0.55);
}

.yoz-registration-page .yoz-login-field select:focus {
    outline: none;
    border-color: #c99a3a;
    box-shadow: 0 0 0 2px rgba(201, 154, 58, 0.15);
}

.yoz-registration-page .yoz-login-field select option {
    background-color: #0c1c2d;
    color: #eef2f7;
}

/* =========================================================
   REGISTRATION — lien connexion en haut à droite
   ========================================================= */

.yoz-registration-login-link {
    position: absolute;
    top: 30px;
    right: 34px;

    display: flex;
    align-items: center;
    gap: 12px;

    z-index: 10;

    font-size: 13px;
    font-weight: 500;
}

.yoz-registration-login-link span {
    color: rgba(238, 242, 247, 0.85);
}

.yoz-registration-login-link a {
    display: inline-flex;
    align-items: center;

    padding: 9px 16px;

    color: #d5a63c;
    text-decoration: none;

    border: 1px solid rgba(201, 154, 58, 0.75);
    border-radius: 7px;

    background: rgba(7, 17, 31, 0.45);

    font-weight: 600;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.yoz-registration-login-link a:hover {
    background: rgba(201, 154, 58, 0.12);
    border-color: #d5a63c;
    box-shadow: 0 0 14px rgba(201, 154, 58, 0.12);
}

@media (max-width: 700px) {
    .yoz-registration-login-link {
        position: static;
        justify-content: center;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }
}

.yoz-registration-page .yoz-login-brand {
    transform: translateY(10px);
}

.yoz-registration-locale-selector {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin: 14px 0;
    flex-wrap: wrap;
}

.yoz-registration-locale-selector button {
    border: 1px solid rgba(201, 154, 58, 0.42);
    border-radius: 5px;
    background: rgba(7, 17, 31, 0.5);
    color: rgba(238, 242, 247, 0.86);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 9px;
}

.yoz-registration-locale-selector button.active,
.yoz-registration-locale-selector button:hover,
.yoz-registration-locale-selector button:focus-visible {
    border-color: #d5a63c;
    background: rgba(201, 154, 58, 0.14);
    color: #f5d982;
}

.yoz-locale-selector {
    display: flex;
    gap: 4px;
    position: absolute;
    top: 12px;
    right: 16px;
    z-index: 20;
}

.yoz-locale-selector form {
    margin: 0;
}

.yoz-locale-selector button {
    border: 1px solid rgba(201, 154, 58, 0.38);
    border-radius: 4px;
    background: rgba(7, 17, 31, 0.58);
    color: rgba(238, 242, 247, 0.78);
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 6px;
}

.yoz-locale-selector button.active,
.yoz-locale-selector button:hover,
.yoz-locale-selector button:focus-visible {
    border-color: #d5a63c;
    color: #f5d982;
}

.yoz-player-tracking-header .yoz-locale-selector {
    right: 24px;
}

@media (max-width: 700px) {
    .yoz-locale-selector {
        right: 10px;
    }
}
