/* Panneaux, réglages et grands boutons communs aux pages (accueil, partie). Thème par-dessus : themes/*.css */
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 3cqw; margin: 0 0 3cqw; font: 900 4cqw/1.2 var(--font-body); }
.switch { position: relative; width: 15cqw; height: 8cqw; border-radius: 99cqw; border: 0; cursor: pointer; background: rgb(0 0 0 / 0.35); }
.switch::after { content: ""; position: absolute; top: 1cqw; left: 1cqw; width: 6cqw; height: 6cqw; border-radius: 50%; background: var(--cream); transition: transform 0.2s; }
.switch[aria-checked="true"] { background: linear-gradient(#f2c14e, #c98a1c); }
.switch[aria-checked="true"]::after { transform: translateX(7cqw); }
.segmented { display: flex; border-radius: 99cqw; overflow: hidden; background: rgb(0 0 0 / 0.35); }
.segmented button { border: 0; cursor: pointer; padding: 1.8cqw 3.4cqw; font: 900 3.4cqw/1 var(--font-body); color: var(--cream); background: none; }
.segmented button[aria-pressed="true"] { background: linear-gradient(#f2c14e, #c98a1c); color: #3a2414; }
.settings-note { margin: -1.5cqw 0 3cqw; font: 700 3cqw/1.3 var(--font-body); opacity: 0.8; }
.big-button:disabled { filter: grayscale(0.8); opacity: 0.6; cursor: default; }
.big-button.resume { background: linear-gradient(#f2c14e, #c98a1c); box-shadow: 0 1.1cqw 0 #7a4f0a, inset 0 0.5cqw 0 rgb(255 255 255 / 0.35); text-shadow: 0 0.4cqw 0 #7a4f0a; }
.big-button[hidden] { display: none; }
.panel {
    position: absolute; inset: 0; z-index: 6; display: grid; place-items: center;
    background: rgb(22 15 28 / 0.55); backdrop-filter: blur(2px);
}
.panel[hidden] { display: none; }
.panel .card {
    width: 78cqw; padding: 6cqw; border-radius: 5cqw; text-align: center;
    background: linear-gradient(var(--wood-light), var(--wood)); border: 0.8cqw solid #c9935e;
    box-shadow: 0 3cqw 6cqw rgb(0 0 0 / 0.5);
}
.panel h1 { margin: 0 0 4cqw; font: 8cqw/1.05 var(--font-display); text-shadow: 0 0.5cqw 0 #3a2414; }
.panel p { margin: 0 0 4cqw; font: 800 3.4cqw/1.35 var(--font-body); }
.big-button {
    display: block; width: 100%; margin-top: 2.6cqw; border: 0; cursor: pointer; text-decoration: none; box-sizing: border-box;
    font: 5.4cqw/1 var(--font-display); color: var(--cream); padding: 3cqw 0 3.4cqw; border-radius: 4cqw;
    background: linear-gradient(var(--accent), var(--accent-deep));
    box-shadow: 0 1.1cqw 0 #5a1d0c, inset 0 0.5cqw 0 rgb(255 255 255 / 0.25);
    text-shadow: 0 0.4cqw 0 #5a1d0c;
}
.big-button.secondary { background: linear-gradient(#3f8f8f, #1f5f63); box-shadow: 0 1.1cqw 0 #0f3a3d, inset 0 0.5cqw 0 rgb(255 255 255 / 0.25); text-shadow: 0 0.4cqw 0 #0f3a3d; }
.big-button:focus-visible, .back:focus-visible { outline: 0.7cqw solid var(--gold); outline-offset: 0.5cqw; }

/* « Mon compte » */
.account-form { display: grid; gap: 2cqw; margin: 0 0 2cqw; }
.account-form[hidden] { display: none; }
.account-form input {
    padding: 2.6cqw 3cqw; border-radius: 3cqw; border: 0.5cqw solid rgb(243 207 110 / 0.8);
    background: rgb(10 14 60 / 0.55); color: var(--cream); font: 800 3.8cqw/1.2 var(--font-body);
}
.account-form input::placeholder { color: rgb(251 239 217 / 0.6); }
.account-link { border: 0; background: none; color: #9fd4ff; font: 800 3.4cqw/1.2 var(--font-body); text-decoration: underline; cursor: pointer; }
.account-status { margin: 0 0 3cqw; }
.account-warning { margin: 0 !important; font-size: 3cqw !important; color: #ffe2a8; }
.account-error { margin: 0 0 2cqw; color: #ffb4a8; font: 800 3.2cqw/1.3 var(--font-body); }
#accountPanel { z-index: 9; }
.account-social { display: grid; gap: 2cqw; justify-items: center; margin: 0 0 2cqw; }
.account-social[hidden] { display: none; }
.account-social p { margin: 0 !important; opacity: 0.8; }
.account-info { margin: 0 0 2cqw; color: #c8f0c0; font: 800 3.2cqw/1.3 var(--font-body); }
.account-info[hidden] { display: none; }
/* Mon héros et mon cri de guerre */
.profile-form { margin-bottom: 3cqw; padding-bottom: 3cqw; border-bottom: 0.3cqw solid rgb(232 184 74 / 0.4); }
.profile-title { font: 4.4cqw/1.1 var(--font-display); color: var(--gold-1, #fff1b8); }
.profile-hero { position: relative; display: grid; place-items: center; }
.profile-hero img { width: 30cqw; height: 30cqw; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 0.7cqw #e8b84a, 0 0 4cqw rgb(255 210 120 / 0.5); background: #1b1840; }
.profile-hero .seat-arrow { position: absolute; top: 50%; translate: 0 -50%; border: 0; background: none; cursor: pointer; font: 10cqw/1 var(--font-display); color: #fff1b8; }
.profile-hero .seat-arrow.left { left: 2cqw; }
.profile-hero .seat-arrow.right { right: 2cqw; }
.profile-hero-name { text-align: center; font: 900 3.6cqw/1 var(--font-body); color: #fff1b8; }
/* Export et suppression du compte */
.account-data { display: grid; gap: 1cqw; margin: 0 0 2cqw; }
.account-data[hidden] { display: none; }
.big-button.danger { filter: hue-rotate(-42deg) saturate(1.6) brightness(0.95); }
#deleteAccountPanel { z-index: 10; }
