
/* Source: styles.css */
:root{--bg:#111116;--panel:#19191f;--panel2:#22222a;--line:#32323c;--text:#f4f2f9;--muted:#9d9ca8;--violet:#a77aff;--blue:#49a7ff;--yellow:#ffd65a;--green:#63e5b5;font-family:system-ui,Arial,sans-serif;color:var(--text);background:var(--bg)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);overflow-x:hidden}.ambient{position:absolute;border-radius:50%;filter:blur(110px);opacity:.11;pointer-events:none}.ambient-a{width:440px;height:440px;background:var(--violet);top:80px;right:-100px}.ambient-b{width:350px;height:350px;background:var(--blue);top:930px;left:-170px}.site-header{height:82px;max-width:1240px;margin:auto;padding:0 28px;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:2}.brand,.footer-brand{display:flex;align-items:center;gap:10px;color:var(--text);font-weight:500;font-size:11px;line-height:.98;letter-spacing:1px;text-decoration:none}.brand b,.footer-brand b{font-size:14px;letter-spacing:.3px}.brand-mark{height:34px;width:34px;display:grid;place-items:center;font-weight:800;font-size:20px;background:var(--violet);color:#17121f;clip-path:polygon(50% 0,100% 20%,100% 80%,50% 100%,0 80%,0 20%)}nav{display:flex;gap:28px;align-items:center}nav a,nav button,.footer-links a{color:var(--muted);font:500 14px system-ui;text-decoration:none;border:0;background:none;cursor:pointer}nav a:hover,.footer-links a:hover{color:var(--text)}.admin-link{color:var(--yellow)}.mobile-menu{display:none;background:none;border:0;color:white;font-size:24px}.hero{max-width:1240px;margin:0 auto;min-height:500px;padding:67px 28px 64px;display:flex;position:relative}.hero-copy{width:58%;position:relative;z-index:1}.eyebrow{font:500 11px ui-monospace;letter-spacing:1.8px;color:var(--muted);margin:0 0 15px}.eyebrow span{display:inline-block;width:20px;height:2px;background:var(--yellow);vertical-align:middle;margin-right:8px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(48px,6vw,79px);line-height:.97;letter-spacing:-3px;margin:0 0 24px;font-weight:700}h1 em,h2 em{font-style:normal;color:var(--violet)}.hero-text{max-width:560px;color:#b7b6c0;font-size:17px;line-height:1.58;margin-bottom:30px}.primary-button{background:var(--yellow);color:#1c1920;border:0;padding:14px 19px;font:700 14px system-ui;cursor:pointer;display:inline-flex;align-items:center;gap:22px;text-decoration:none;box-shadow:4px 4px 0 #6d5720;transition:transform .2s,box-shadow .2s}.primary-button:hover{transform:translate(2px,2px);box-shadow:2px 2px 0 #6d5720}.primary-button span{font-size:18px}.hero-art{position:absolute;right:3%;top:15px;width:420px;height:440px}.orbit{position:absolute;border:1px solid #494451;border-radius:50%;transform:rotate(-30deg)}.orbit-1{width:380px;height:130px;top:150px;left:0}.orbit-2{width:310px;height:120px;top:170px;left:35px;transform:rotate(58deg)}.die{position:absolute;display:grid;place-items:center;background:var(--panel2);border:1px solid #56515f;color:var(--yellow);z-index:1}.die-1{width:55px;height:55px;right:10px;top:73px;transform:rotate(18deg);font-size:22px}.die-2{width:38px;height:38px;left:18px;bottom:82px;transform:rotate(-20deg);color:var(--blue)}.die-3{width:48px;height:48px;right:20px;bottom:65px;transform:rotate(30deg);color:var(--violet)}.hero-card{position:absolute;left:90px;top:62px;width:220px;height:302px;border:1px solid #686172;background:linear-gradient(135deg,#272334,#17171e 70%);box-shadow:12px 15px 30px #0008;padding:15px;transform:rotate(-6deg);z-index:2}.card-top,.card-bottom{display:flex;justify-content:space-between;font:10px ui-monospace;color:#b5adcc}.card-symbol{font-size:76px;line-height:1;color:var(--violet);text-align:center;margin-top:25px;text-shadow:0 0 22px #9e70ff88}.card-name{font-size:28px;font-weight:800;line-height:.9;letter-spacing:-1px}.card-bottom{position:absolute;bottom:15px;left:15px;right:15px;border-top:1px solid #5e5967;padding-top:9px;font-size:7px}.events-section{max-width:1240px;margin:auto;padding:85px 28px}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:30px}.section-heading h2,.how-it-works h2,.modal h2{font-size:clamp(35px,4vw,53px);line-height:.95;letter-spacing:-2px;margin:0}.section-description{max-width:290px;color:var(--muted);line-height:1.55;margin:0}.filter-panel{display:grid;grid-template-columns:1.7fr repeat(4,1fr);gap:9px;padding:11px;background:#19191f;border:1px solid var(--line);margin-bottom:24px}.filter-panel select,.price-toggle,.search input{background:#24242c;border:1px solid transparent;color:#d7d5df;font:14px system-ui;padding:11px;width:100%;outline:0}.filter-panel select:focus,.search:focus-within{border-color:var(--violet)}.search{display:flex;align-items:center;background:#24242c;border:1px solid transparent}.search span{padding-left:12px;font-size:22px;color:var(--muted)}.search input{padding-left:8px}.price-toggle{cursor:pointer;text-align:left}.price-toggle.active{border-color:var(--yellow);color:var(--yellow)}.calendar-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.view-switch{display:flex;background:#1c1c23;padding:4px}.view-switch button{border:0;background:transparent;color:var(--muted);font:500 13px system-ui;padding:8px 13px;cursor:pointer}.view-switch button.active{background:#393546;color:#fff}.calendar-nav{display:flex;align-items:center;gap:16px}.calendar-nav strong{min-width:160px;text-align:center;font-size:17px}.calendar-nav button{border:1px solid var(--line);color:var(--text);background:transparent;width:31px;height:31px;cursor:pointer}.calendar{background:var(--panel);border:1px solid var(--line)}.weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr)}.weekdays>div{font:10px ui-monospace;letter-spacing:1px;color:var(--muted);padding:13px;border-bottom:1px solid var(--line);text-align:right}.day{height:120px;min-width:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:9px}.day:nth-child(7n){border-right:0}.day.muted .date-number{color:#5b5964}.date-number{font:11px ui-monospace;color:#cfccd6;display:block;text-align:right;margin-bottom:5px}.date-number.today{color:var(--yellow)}.event-chip{border:0;width:100%;text-align:left;margin:2px 0;padding:4px 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#131218;font:600 11px system-ui;cursor:pointer}.event-chip.tournoi{background:var(--violet)}.event-chip.initiation{background:var(--blue)}.event-chip.draft{background:var(--yellow)}.event-chip.soiree{background:var(--green)}.event-chip.demonstration{background:#f68bae}.event-list{display:none}.list-view+.event-list,.week-view+.event-list{display:block}.list-view,.week-view{display:none}.list-event{display:grid;grid-template-columns:114px 1fr auto;gap:18px;align-items:center;background:var(--panel);border:1px solid var(--line);border-left:4px solid var(--event-color);padding:14px 17px;margin-bottom:8px}.list-date{font:500 12px ui-monospace;color:var(--muted)}.list-date b{display:block;font:700 28px system-ui;color:var(--text);line-height:1}.event-game{color:var(--event-color);font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.6px}.event-name{font-size:20px;margin:3px 0}.event-detail{color:var(--muted);font-size:13px}.event-spots{color:var(--muted);font-size:13px;text-align:right}.spots-open{color:var(--green)}.how-it-works{max-width:1240px;margin:0 auto 85px;padding:48px 28px;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1.6fr;gap:60px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.steps article{border-top:2px solid var(--violet);padding-top:13px}.steps article:nth-child(2){border-color:var(--blue)}.steps article:nth-child(3){border-color:var(--yellow)}.steps b{font:12px ui-monospace;color:var(--muted)}.steps h3{font-size:20px;margin:18px 0 7px}.steps p{color:var(--muted);line-height:1.5;font-size:14px}footer{background:#0b0b0e;border-top:1px solid #27272e;padding:40px max(28px,calc((100vw - 1184px)/2));display:grid;grid-template-columns:1fr 1.4fr 2fr auto;align-items:center;gap:28px}footer p,footer small{color:var(--muted);font-size:13px;line-height:1.5;margin:0}.footer-links{display:flex;gap:17px;flex-wrap:wrap}.footer-links a{font-size:12px}.modal{color:var(--text);background:#1b1b22;border:1px solid #44404d;box-shadow:0 20px 50px #000b;max-width:680px;width:calc(100% - 28px);padding:32px;margin:auto}.modal::backdrop{background:#07070ab8;backdrop-filter:blur(4px)}.modal-close{position:absolute;right:13px;top:9px;border:0;background:transparent;color:#a8a6b0;font-size:27px;cursor:pointer}.modal-kicker{font:11px ui-monospace;letter-spacing:2px;color:var(--yellow);margin-bottom:8px}.event-modal-content{display:grid;grid-template-columns:1.1fr 1fr;gap:28px}.event-visual{min-height:250px;background:linear-gradient(135deg,var(--event-color),#201c29 60%);display:flex;align-items:center;justify-content:center;font-size:100px;color:#ffffff70}.event-type{font:11px ui-monospace;color:var(--event-color);text-transform:uppercase;letter-spacing:1px}.event-modal-content h2{font-size:35px;margin:7px 0}.event-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0}.event-meta div{background:#25252d;padding:9px;font-size:12px;color:var(--muted)}.event-meta b{display:block;color:#fff;font-size:14px;margin-top:2px}.event-description{color:#bbb9c4;line-height:1.55;font-size:14px}.booking-modal{max-width:500px}.booking-info,.admin-intro{color:var(--muted);font-size:14px;margin:7px 0 20px}.modal form label{display:block;font-size:12px;color:#c1bfca;margin-bottom:13px}.modal form label span{color:var(--muted)}input,textarea,select{width:100%;display:block;background:#27272f;border:1px solid #45444e;color:#fff;padding:10px;margin-top:6px;font:14px system-ui;outline:0}.modal input:focus,.modal textarea:focus,.modal select:focus{border-color:var(--violet)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.consent{display:flex!important;gap:9px;align-items:flex-start;line-height:1.35}.consent input{width:auto;margin:2px 0 0}.success-modal{text-align:center;max-width:420px}.success-icon{width:55px;height:55px;margin:0 auto 17px;display:grid;place-items:center;border-radius:50%;background:var(--green);color:#10251f;font-size:27px;font-weight:bold}.success-modal p{color:var(--muted);line-height:1.5;margin:10px 0 24px}.admin-modal{max-width:750px}.admin-events{margin-top:28px;border-top:1px solid var(--line);padding-top:17px}.admin-row{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid #30303a}.admin-row div{font-size:14px}.admin-row span{color:var(--muted);font-size:12px}.admin-actions button{border:0;background:transparent;color:var(--blue);cursor:pointer;font:13px system-ui;margin-left:10px}.admin-actions .delete{color:#f48c9c}
@media(max-width:800px){.site-header{height:70px;padding:0 18px}.site-header nav{display:none}.site-header nav.menu-open{display:flex;position:absolute;top:62px;left:14px;right:14px;z-index:20;flex-direction:column;align-items:stretch;gap:4px;padding:10px;background:#fff;border:1px solid #dfddeb;border-radius:18px;box-shadow:0 16px 36px #302a5130}.site-header nav.menu-open a,.site-header nav.menu-open button{padding:12px 14px;text-align:left;border-radius:10px;color:#403d53}.site-header nav.menu-open a:hover,.site-header nav.menu-open button:hover{background:#f1effb}.mobile-menu{display:block;cursor:pointer;padding:8px;line-height:1}.hero{padding:48px 21px 55px;min-height:570px}.hero-copy{width:100%}.hero-art{opacity:.48;right:-100px;top:150px;transform:scale(.7)}.hero-text{font-size:15px;max-width:390px}.section-heading{display:block}.section-description{margin-top:16px}.events-section{padding:55px 16px}.filter-panel{grid-template-columns:1fr 1fr}.search{grid-column:1/-1}.filter-panel select,.price-toggle{font-size:12px}.day{height:91px;padding:6px}.event-chip{font-size:9px;padding:3px}.weekdays>div{padding:9px 2px;font-size:8px}.calendar-nav{gap:7px}.calendar-nav strong{min-width:140px;font-size:14px}.list-event{grid-template-columns:62px 1fr;gap:11px;padding:11px}.list-event .event-spots{display:none}.list-date b{font-size:22px}.event-name{font-size:16px}.how-it-works{margin-bottom:42px;padding:33px 21px;display:block}.steps{margin-top:35px;gap:16px}.steps h3{font-size:17px}footer{padding:35px 21px;grid-template-columns:1fr;gap:18px}.event-modal-content{grid-template-columns:1fr}.event-visual{min-height:130px}.form-grid{grid-template-columns:1fr}.modal{padding:27px 20px}.admin-modal{max-height:90vh;overflow:auto}}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
:focus-visible{outline:3px solid #4d36b8;outline-offset:3px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
@media(max-width:430px){h1{letter-spacing:-2px}.filter-panel{grid-template-columns:1fr}.search{grid-column:auto}.view-switch button{padding:8px 9px}.calendar-nav strong{min-width:113px}.day{height:78px}.event-chip{font-size:8px;padding:2px}.date-number{font-size:9px}.steps{grid-template-columns:1fr}.steps article{display:grid;grid-template-columns:43px 1fr;column-gap:7px}.steps h3{margin:0}.steps p{grid-column:2;margin:2px 0}.steps b{grid-row:1/3}}

/* Source: light-theme.css */
:root{--bg:#f6f7ff;--panel:#ffffff;--panel2:#eef0ff;--line:#d9dceb;--text:#17162a;--muted:#67687e;--violet:#7456e8;--blue:#4d9fd7;--yellow:#ffd457;--green:#30a977;background:var(--bg)}
body{background:linear-gradient(180deg,#fafbff 0%,#f2f4ff 100%);color:var(--text)}
.ambient{opacity:.16}.ambient-a{background:#9f8bff}.ambient-b{background:#6ad6ef}
.site-header{background:#ffffffcc;backdrop-filter:blur(14px);border-bottom:1px solid #e5e6f0;max-width:none;padding:0 max(28px,calc((100vw - 1184px)/2));position:sticky;top:0}.brand,.footer-brand{font-size:16px;font-weight:800;letter-spacing:.4px;white-space:nowrap;color:#1b1930}.brand-logo{width:46px;height:46px;object-fit:cover;border-radius:50%;border:2px solid #e9e8ff;background:#7b70e9}.footer-brand .brand-logo{width:42px;height:42px}.brand b,.footer-brand b{font-size:inherit}.brand-mark{display:none}nav a,nav button{color:#4d4d64}.admin-link{color:#6851ca}
.hero{min-height:510px}.hero-text{color:#5c5d70}.hero-card{background:linear-gradient(135deg,#8f7cff,#4faee0);border:0;border-radius:24px;box-shadow:14px 18px 34px #5a669144}.card-top,.card-bottom{color:#f8f7ff}.card-bottom{border-color:#ffffff88}.die{background:#fff;border-color:#d9d8eb;box-shadow:0 8px 18px #7a79a72e}.orbit{border-color:#c8cbe4}
.filter-panel,.calendar{background:#ffffff;border-color:#e0e2ee;border-radius:18px;box-shadow:0 12px 30px #6f749414}.filter-panel{padding:13px}.filter-panel select,.price-toggle{background:#f5f6fb!important;border-radius:12px}.search{background:#e9ebf1!important;border:1px solid #d9dce5;border-radius:12px}.search input{background:transparent!important;color:#3e3c55}.filter-panel select,.price-toggle,.search input{color:#3e3c55}.view-switch{border-radius:12px;background:#eceef8}.view-switch button{border-radius:8px;color:#6b6c7e}.view-switch button.active{background:#fff;color:#312965;box-shadow:0 2px 8px #6f719322}.calendar-nav button{background:#fff;border-color:#e0e2ec;border-radius:10px;color:#302d49}.day{border-color:#e6e7ef}.weekdays>div{border-color:#e6e7ef;color:#77788d}.date-number{color:#4e4d64}.event-chip{border-radius:6px}.list-event{background:#fff;border:1px solid #e0e2ee;border-left:5px solid var(--event-color);border-radius:15px;box-shadow:0 7px 19px #555e7410}.event-detail,.event-spots{color:#707184}.how-it-works{border-color:#dfe1ed}.steps article{background:#ffffff;border:1px solid #e2e3ed;border-top:3px solid var(--violet);border-radius:17px;padding:18px;box-shadow:0 8px 22px #5c628d0d}.steps article:nth-child(2){border-top-color:var(--blue)}.steps article:nth-child(3){border-top-color:var(--yellow)}.steps p{color:#66687c}.login-error{min-height:18px!important;color:#d64f68!important;font-size:13px!important;margin:-3px 0 12px!important}
footer{background:#ffffff;border-color:#e1e2ed}footer p,footer small{color:#6d6e81}.footer-links a{color:#56566c}
.modal{background:#fff;border-color:#e1e2ec;border-radius:24px;box-shadow:0 22px 60px #30344d35}.modal-close{color:#625f76}.event-meta div{background:#f3f4fa;border-radius:10px;color:#6a6a7d}.event-meta b{color:#28263b}.event-description,.booking-info,.admin-intro{color:#666679}.modal input,.modal textarea,.modal select{background:#f7f8fc;border-color:#dfe1ec;color:#242238;border-radius:10px}.admin-events{border-color:#e4e5ed}.admin-row{border-color:#ececf1}.primary-button{border-radius:11px;box-shadow:4px 4px 0 #c6a736}.primary-button:hover{box-shadow:2px 2px 0 #c6a736}.success-icon{background:#c8f2df;color:#12744d}
@media(max-width:800px){.site-header{padding:0 18px}.brand{font-size:13px}.brand-logo{width:40px;height:40px}.mobile-menu{color:#39354f}.filter-panel{border-radius:15px}.calendar{border-radius:14px}.list-event{border-radius:13px}}

/* Source: image-admin.css */
.image-field input[type=file]{padding:9px;background:#f1f2f8;cursor:pointer}
.image-field input[type=file]::file-selector-button{border:0;border-radius:7px;background:#ded8ff;color:#392d82;font:600 12px system-ui;padding:7px 10px;margin-right:10px;cursor:pointer}

/* Source: reservations-admin.css */
.contact-help {
  margin: -4px 0 13px;
  color: #6b6d80;
  font-size: 12px;
  line-height: 1.4;
}

.newsletter-consent {
  display: flex !important;
  align-items: flex-start;
  gap: 11px;
  margin: -2px 0 14px !important;
  padding: 13px 14px;
  border: 1px solid #dcd4ff;
  border-radius: 13px;
  background: linear-gradient(135deg, #f6f3ff, #fffbea);
  color: #3b335d !important;
  cursor: pointer;
}

.newsletter-consent input {
  width: 19px !important;
  height: 19px !important;
  min-width: 19px;
  margin: 2px 0 0;
  accent-color: #7456e8;
}

.newsletter-consent span,
.newsletter-consent b,
.newsletter-consent small {
  display: block;
}

/* Confirmation de réservation : identité visuelle et information e-mail. */
.success-modal {
  position: relative;
  max-width: 500px;
  padding: 0 30px 32px;
  overflow: hidden;
  border: 1px solid #ddd6ff;
  border-radius: 28px;
  color: #211d38;
  background:
    radial-gradient(circle at 100% 0, rgba(80, 190, 224, .18), transparent 35%),
    linear-gradient(180deg, #f2eeff 0 115px, #fff 115px);
  text-align: center;
  box-shadow: 0 28px 70px rgba(52, 44, 94, .25);
}

.success-brand {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #3f3277;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .11em;
}

.success-brand img {
  width: 46px;
  height: 46px;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 7px 18px rgba(83, 61, 170, .2);
}

.success-modal .success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border: 7px solid #fff;
  color: #176b50;
  background: #c9f3e1;
  font-size: 28px;
  box-shadow: 0 10px 24px rgba(37, 121, 91, .17);
}

.success-kicker {
  margin: 0 0 7px !important;
  color: #7456e8 !important;
  font-size: 10px !important;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.success-modal #successTitle {
  max-width: 390px;
  margin: 0 auto;
  color: #1d1933;
  font-size: clamp(34px, 7vw, 48px);
  line-height: .98;
  letter-spacing: -2.2px;
}

.success-modal .success-message {
  max-width: 390px;
  margin: 17px auto 20px;
  color: #66627a;
  font-size: 15px;
  line-height: 1.6;
}

.success-email-notice {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  margin: 0 auto 25px;
  padding: 14px;
  align-items: start;
  border: 1px solid #ead077;
  border-radius: 15px;
  color: #514621;
  background: #fff8d9;
  text-align: left;
}

.success-external-action {
  display: inline-flex;
  margin: -4px auto 22px;
  padding: 12px 15px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #6348cd;
  border-radius: 12px;
  color: #fff;
  background: #7456e8;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 5px 0 #4f38a9;
}

.success-external-action[hidden] {
  display: none;
}

.success-email-notice[hidden] {
  display: none;
}

.success-email-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: #7456e8;
  font-size: 18px;
}

.success-email-notice strong {
  display: block;
  margin: 1px 0 4px;
  color: #45391a;
  font-size: 13px;
}

.success-email-notice p {
  margin: 0 !important;
  color: #71643d !important;
  font-size: 11px !important;
  line-height: 1.5 !important;
}

.success-modal .close-success {
  justify-content: center;
  margin: 0 auto;
  padding: 14px 20px;
}

@media (max-width: 520px) {
  .success-modal {
    padding-right: 22px;
    padding-left: 22px;
    border-radius: 24px;
  }

  .success-modal #successTitle {
    font-size: 39px;
  }
}

.newsletter-consent b {
  margin-bottom: 3px;
  color: #443675;
  font-size: 13px;
}

.newsletter-consent small {
  color: #6d6780;
  font-size: 11px;
  line-height: 1.45;
}

/* Les inscriptions sont rangées dans la carte de leur événement. */
.event-reservations {
  width: 100%;
  overflow: hidden;
  border: 1px solid #ddd9ef;
  border-radius: 12px;
  background: #faf9ff;
}

.event-reservations summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 9px;
  align-items: center;
  padding: 11px 12px;
  color: #3e365e;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.event-reservations summary::-webkit-details-marker {
  display: none;
}

.event-reservations summary:hover,
.event-reservations summary:focus-visible {
  background: #f1edff;
}

.event-reservations summary:focus-visible {
  outline: 2px solid #7456e8;
  outline-offset: -2px;
}

.event-reservations summary > b {
  display: inline-grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  padding: 0 7px;
  border-radius: 999px;
  background: #ded8ff;
  color: #49378f;
  font-size: 12px;
}

.event-reservations summary > i {
  width: 8px;
  height: 8px;
  margin: -4px 3px 0 2px;
  border-right: 2px solid #655a87;
  border-bottom: 2px solid #655a87;
  transform: rotate(45deg);
  transition: transform .18s ease, margin .18s ease;
}

.event-reservations[open] summary {
  border-bottom: 1px solid #e5e1f2;
  background: #f4f1ff;
}

.event-reservations[open] summary > i {
  margin-top: 4px;
  transform: rotate(225deg);
}

.event-reservation-list {
  display: grid;
  gap: 9px;
  max-height: 460px;
  padding: 10px;
  overflow: auto;
}

.event-reservation-item {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid #e4e5ed;
  border-radius: 10px;
  background: #fff;
  font-size: 12px;
}

.reservation-person {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.reservation-person > b {
  color: #2c2940;
  font-size: 13px;
}

.reservation-person small {
  flex-shrink: 0;
  color: #7b7b88;
  font-size: 10px;
}

.reservation-contact {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 7px;
}

.reservation-contact span {
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 8px 9px;
  border-radius: 8px;
  background: #f4f4f8;
  color: #595a6b;
}

.reservation-contact b,
.reservation-comment b {
  display: block;
  margin-bottom: 2px;
  color: #77788a;
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.reservation-slot,
.event-reservation-item .newsletter-status,
.external-registration-status {
  width: max-content;
  max-width: 100%;
  padding: 5px 8px;
  border-radius: 999px;
  background: #eeeaff;
  color: #5b43bd;
  font-size: 10px;
  font-weight: 800;
}

.external-registration-status {
  background: #fff2bd;
  color: #6d5310;
}

.reservation-player-number {
  padding: 9px 10px;
  border: 1px solid #e8ca4e;
  border-radius: 9px;
  color: #3d3652;
  background: #fff9dc;
  font-weight: 800;
}

.reservation-player-number b {
  display: block;
  margin-bottom: 2px;
  color: #7b691f;
  font-size: 9px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.reservation-player-number.is-missing {
  border-color: #e2a94c;
  color: #704618;
  background: #fff0dc;
}

.reservation-comment {
  margin: 0;
  padding: 9px 10px;
  border-radius: 8px;
  background: #fff8df;
  color: #5e5743;
  line-height: 1.45;
  white-space: pre-wrap;
}

.event-reservation-item .cancel-reservation {
  justify-self: end;
}

.event-reservation-list > .no-reservations {
  margin: 0;
  padding: 8px 2px;
  color: #77788a;
  font-size: 11px;
}

.unmatched-reservations-warning {
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #efc98c;
  border-radius: 10px;
  background: #fff8e7;
  color: #835e25;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 520px) {
  .reservation-person {
    display: grid;
  }

  .reservation-person small {
    flex-shrink: 1;
  }

  .reservation-contact {
    grid-template-columns: 1fr;
  }
}

/* Source: cancel-reservation.css */
.reservation-table article{grid-template-columns:1.1fr 1.5fr 1fr 1.4fr auto}.cancel-reservation{border:1px solid #f0bcc5;border-radius:8px;background:#fff0f2;color:#b23750;font:600 12px system-ui;padding:7px 9px;cursor:pointer}.cancel-reservation:hover{background:#ffe2e7}@media(max-width:600px){.cancel-reservation{width:max-content}}

/* Source: experience.css */
.event-modal-content h2{font-size:clamp(40px,5vw,58px);line-height:.92}
.event-type{font-size:14px;font-weight:800}
.event-description{font-size:16px;font-weight:700;line-height:1.65;color:#4c4b61}
.event-visual.event-has-image{min-height:0;height:auto;background:none!important;padding:0;overflow:hidden;border-radius:16px}
.event-visual.event-has-image img{display:block;width:100%;height:auto;max-height:430px;object-fit:contain;background:#f0f1f8}
.day:has(.date-number.today){background:#fff7cd}
.date-number.today{display:inline-grid;place-items:center;float:right;width:24px;height:24px;border-radius:50%;background:#ffd65a!important;color:#332a00!important;font-weight:700}
.all-day{padding:9px 11px;background:#f4f1ff;border:1px solid #ddd5ff;border-radius:10px;cursor:pointer}
.all-day input{display:inline;width:auto;margin:0 7px 0 0}
.disabled-fields{opacity:.48}
@media(max-width:640px){.event-modal-content h2{font-size:36px}}

/* Source: admin-cleanup.css */
.admin-modal .modal-kicker{display:none}

/* Source: community-day.css */
.community-day{margin-top:-3px;color:#423481}.community-day span{color:#77738c}

/* Source: image-community-fix.css */
.event-visual.event-has-image{display:block!important;height:auto!important;min-height:0!important;max-height:none!important;background:none!important}.event-visual.event-has-image img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}.community-day:has(input:checked) span{font-weight:700;color:#2c7b58}

/* Source: event-optional-fields.css */
.admin-modal label:has(#eventLocation){background:linear-gradient(135deg,#f2efff,#f7f8ff);border:1px solid #d9d2ff;border-radius:14px;padding:15px 16px;margin:16px 0;box-shadow:0 6px 16px #5f5d9010;color:#493d88;font-size:14px;font-weight:700}.admin-modal #eventLocation{min-height:48px;margin-top:9px;background:#fff;border-color:#cfc7f4;font-size:15px}.admin-modal #eventLocation:focus{border-color:#7456e8;box-shadow:0 0 0 3px #7456e822}
.calendar-title-field{display:block;margin:0 0 14px;padding:12px 13px;border:1px solid #e1def1;border-radius:12px;background:#faf9ff;color:#4d4566;font-weight:700}.calendar-title-field input{margin-top:7px;background:#fff}.calendar-title-field small{display:block;margin-top:6px;color:#777184;font-size:10px;font-weight:500;line-height:1.45}
.capacity-help {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

/* Source: reservation-event-header.css */
.reservation-event-header{width:calc(100% + 40px);margin:-27px -20px 22px;padding:22px 25px;border-radius:23px 23px 14px 14px;background:linear-gradient(135deg,#7356e8,#54a8db);color:#fff;box-shadow:0 8px 18px #6255a52d}.reservation-event-header span{display:block;font-size:12px;font-weight:700;letter-spacing:.7px;text-transform:uppercase;opacity:.9}.reservation-event-header strong{display:block;margin-top:4px;font-size:28px;line-height:1.05;letter-spacing:-.6px}

/* Source: reservation-cleanup.css */
.reservation-event-header{display:none!important}

/* Source: event-detail-redesign.css */
#eventModal{max-width:820px;padding:0;overflow:hidden;border-radius:24px}#eventModal .modal-close{z-index:3;right:14px;top:10px;width:34px;height:34px;border-radius:50%;background:#ffffffdf;color:#333044;line-height:26px}#eventModalContent{padding:0}.event-modal-content{display:grid!important;grid-template-columns:1fr!important;gap:0!important}.event-modal-content>.event-visual{width:100%;min-height:245px;border-radius:0!important;background:linear-gradient(135deg,var(--event-color),#332c51 65%);font-size:105px}.event-modal-content>.event-visual.event-has-image{min-height:0;background:#f1f2f8!important}.event-modal-content>.event-visual.event-has-image img{width:100%;max-height:390px;object-fit:contain;background:#f1f2f8}.event-modal-content>div:last-child{padding:28px 34px 34px;background:#fff}.event-modal-content .event-type{display:inline-block;padding:6px 9px;border-radius:99px;background:#eeeaff;font-size:11px;font-weight:800;letter-spacing:1px}.event-modal-content h2{font-size:clamp(36px,5vw,58px)!important;line-height:.93;margin:13px 0 22px!important;color:#28243e}.event-meta{grid-template-columns:repeat(4,1fr)!important;gap:9px!important;margin:0 0 20px!important}.event-meta div{min-height:70px;display:flex;flex-direction:column;justify-content:center;padding:11px!important;border:1px solid #e5e4ee!important;background:#f7f7fb!important;border-radius:12px!important;font-size:11px!important}.event-meta b{font-size:14px!important;line-height:1.25;margin-top:3px!important}.event-meta .event-location{grid-column:1/-1;background:#f0edff!important;border-color:#d9d2ff!important;color:#5a4aa2!important}.event-description{margin:20px 0!important;padding:17px 18px;border-left:4px solid #7456e8;border-radius:0 12px 12px 0;background:#fafaff;font-size:16px!important;font-weight:650!important;line-height:1.6!important}.event-modal-content .event-detail{margin:16px 0!important;font-size:14px!important;font-weight:700}.event-modal-content .primary-button{border-radius:11px;padding:15px 20px}@media(max-width:600px){#eventModal{border-radius:20px}#eventModal .event-modal-content>div:last-child{padding:23px 20px 26px}.event-meta{grid-template-columns:1fr 1fr!important}.event-modal-content>.event-visual{min-height:185px}.event-modal-content h2{font-size:38px!important}.event-modal-content>.event-visual.event-has-image img{max-height:300px}}

/* Source: external-registration.css */
.external-registration {
  margin: 0 0 10px;
  padding: 13px 14px;
  border: 1px solid #e5c85e;
  border-radius: 12px;
  color: #594713;
  background: #fff3c4;
  font-size: 13px;
}

.external-registration b {
  display: block;
  margin-bottom: 5px;
}

.external-registration a {
  color: #513baa;
  font-weight: 800;
  text-decoration: none;
}

.external-registration a:hover,
.external-registration a:focus-visible {
  text-decoration: underline;
}

.external-registration-requirement {
  margin: 0 0 17px;
  padding: 14px;
  border: 2px solid #edc33c;
  border-radius: 13px;
  color: #4f421d;
  background: #fffaf0;
}

.external-registration-requirement > b {
  display: block;
  color: #49391a;
  font-size: 14px;
}

.external-registration-requirement > p {
  margin: 5px 0 12px;
  color: #6c5b2a;
  font-size: 12px;
  line-height: 1.5;
}

.external-registration-requirement > label {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  margin: 0 !important;
  color: #3d344f !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.external-registration-requirement:not(.is-pokemon) input {
  width: 19px !important;
  height: 19px !important;
  min-width: 19px;
  margin: 0;
  accent-color: #7456e8;
}

.external-registration-requirement.is-pokemon {
  border-color: #e8b919;
  background: linear-gradient(135deg, #fff9d8, #f3f7ff);
}

.external-registration-requirement.is-pokemon > label {
  display: grid !important;
  gap: 6px;
}

.external-registration-requirement.is-pokemon input {
  width: 100%;
  margin: 0;
  border-color: #d3b744;
  background: #fff;
}

.external-registration-requirement.is-pokemon .pokemon-player-number-field.is-disabled {
  opacity: .52;
}

.external-registration-requirement.is-pokemon .pokemon-no-player-number {
  display: grid !important;
  grid-template-columns: 21px minmax(0, 1fr);
  gap: 10px;
  margin-top: 12px !important;
  padding: 12px;
  border: 1px solid #d8cef9;
  border-radius: 11px;
  color: #413461 !important;
  background: #f5f1ff;
  cursor: pointer;
}

.external-registration-requirement.is-pokemon .pokemon-no-player-number input {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  margin: 1px 0 0;
  accent-color: #7456e8;
}

.pokemon-no-player-number b,
.pokemon-no-player-number small {
  display: block;
}

.pokemon-no-player-number b {
  margin-bottom: 3px;
  font-size: 12px;
}

.pokemon-no-player-number small {
  color: #6d6681;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.45;
}

.pokemon-account-help,
.platform-account-help {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 10px;
  margin-top: 10px;
  padding-top: 11px;
  border-top: 1px solid #e4d598;
}

.pokemon-account-help > span,
.platform-account-help > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: #7456e8;
  font-weight: 900;
}

.pokemon-account-help b,
.platform-account-help b {
  display: block;
  color: #403451;
  font-size: 11px;
}

.pokemon-account-help p,
.platform-account-help p {
  margin: 3px 0 5px !important;
  color: #6b6374 !important;
  font-size: 10px !important;
  line-height: 1.45 !important;
}

.pokemon-account-help a,
.platform-account-help a {
  color: #563eb7;
  font-size: 10px;
  font-weight: 900;
}

.platform-account-help {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #d8cef9;
  border-radius: 11px;
  background: #f5f1ff;
}

.event-registration-link {
  margin: -7px 0 20px;
  padding: 12px 14px;
  border: 1px solid #eed584;
  border-radius: 11px;
  color: #65531c;
  background: #fff3cc;
  font-size: 13px;
}

.event-registration-link a {
  display: block;
  color: #5640b5;
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: underline;
}

.event-registration-link p {
  margin: 8px 0 0;
  line-height: 1.45;
}

/* Source: image-auto-size.css */
#eventModal .event-visual.event-has-image{display:flex!important;align-items:center;justify-content:center;background:#f1f2f8!important;padding:10px}#eventModal .event-visual.event-has-image img{width:auto!important;max-width:100%!important;height:auto!important;max-height:210px!important;object-fit:contain!important;border-radius:10px}@media(max-width:600px){#eventModal .event-visual.event-has-image img{max-height:155px!important}}

/* Source: event-title-balance.css */
#eventModal .event-modal-content h2{font-size:clamp(31px,4vw,44px)!important;line-height:1!important;margin:11px 0 18px!important}#eventModal .event-modal-content .event-type{font-size:16px!important;font-weight:800!important;letter-spacing:1.1px!important;padding:8px 11px!important}@media(max-width:600px){#eventModal .event-modal-content h2{font-size:32px!important}#eventModal .event-modal-content .event-type{font-size:14px!important}}

/* Source: description-preserve.css */
#eventModal .event-description{white-space:pre-wrap;text-transform:none;word-break:normal;overflow-wrap:break-word}

/* Source: event-reservation-button.css */
#eventModal{max-height:90vh;overflow-y:auto}#eventModal .event-modal-content .primary-button{position:sticky;bottom:0;z-index:2;margin-top:10px;border:3px solid #fff;box-shadow:4px 4px 0 #c6a736;background:#ffd65a}@media(max-width:600px){#eventModal{max-height:94vh}}

/* Source: time-slots.css */
.slot-window { margin-top: .75rem; }
.slot-window small { grid-column: 1 / -1; color: var(--muted, #707070); }
.time-slot-field { border: 0; padding: 0; margin: 0 0 1rem; }
.time-slot-field legend { font-weight: 700; margin-bottom: .5rem; }
.time-slot-field select { width: 100%; }
.time-slot-field small { display: block; margin-top: .4rem; color: var(--muted, #707070); }
.booking-time-slot:not([hidden]) { display: block; margin-bottom: 1rem; }

/* Source: pending-validation.css */
.pending-validation-field{align-items:flex-start;gap:9px;margin:0 0 13px!important;padding:11px 12px;border:1px solid #e4cf83;border-radius:10px;background:#fff6d9;color:#62531d!important;line-height:1.35;cursor:pointer}.pending-validation-field:not([hidden]){display:flex!important}.pending-validation-field input{width:auto;margin:2px 0 0;cursor:pointer}.pending-validation-field span{display:block}.pending-validation-message{color:#8a6d13!important;font-weight:800!important}.pending-validation-button,.pending-validation-button:hover{cursor:not-allowed!important;transform:none!important;border-color:#dedee5!important;background:#d8d8df!important;color:#777783!important;box-shadow:none!important}
.pending-validation-reason-field{margin-top:-4px!important;padding:11px 12px;border:1px solid #e4cf83;border-radius:10px;background:#fffaf0;color:#62531d!important}.pending-validation-reason-field[hidden]{display:none!important}.pending-validation-reason-field textarea{min-height:74px;background:#fff!important;color:#403a28!important;resize:vertical}.pending-validation-message{white-space:pre-wrap}

/* Source: event-color-picker.css */
.event-color-field{background:#f6f4ff;border:1px solid #dcd5ff;border-radius:11px;padding:10px 12px;color:#4d3e97}.event-color-field select{margin-top:7px;border-color:#cfc7f4}.event-color-field select option{font-weight:600}

/* Source: security.css */
.anti-spam{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Accès administrateur discret dans le pied de page. */
.footer-links .footer-admin-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font: 500 12px system-ui, sans-serif;
  cursor: pointer;
}

.footer-links .footer-admin-link:hover,
.footer-links .footer-admin-link:focus-visible {
  color: var(--text);
}

.footer-admin-brand {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

.footer-admin-brand:focus-visible {
  outline: 2px solid #7456e8;
  outline-offset: 5px;
  border-radius: 5px;
}

/* Outil sécurisé de changement de mot de passe. */
.admin-modal > .admin-tools-row.account-security-enabled {
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .7fr) minmax(220px, .42fr);
}

.account-security-panel {
  min-width: 0;
  height: 100%;
  padding: 17px;
  border: 1px solid #d9e8e2;
  border-radius: 14px;
  background: linear-gradient(145deg, #f7fffb, #f5f2ff);
}

.account-security-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 13px;
  border-radius: 10px;
  background: #2f8064;
  color: #c8f2df;
  font-size: 13px;
}

.account-security-panel h3 {
  margin: 0 0 7px;
  color: #2f3f3a;
  font-size: 17px;
}

.account-security-panel p {
  margin: 0 0 15px;
  color: #65756f;
  font-size: 11px;
  line-height: 1.5;
}

.change-password-button {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #9ac7b7;
  border-radius: 10px;
  background: #fff;
  color: #26624d;
  font: 700 12px system-ui, sans-serif;
  cursor: pointer;
}

.account-security-actions {
  display: grid;
  gap: 8px;
}

.admin-logout-button {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e4b8c1;
  border-radius: 10px;
  background: #fff;
  color: #9a3348;
  font: 700 12px system-ui, sans-serif;
  cursor: pointer;
}

.admin-logout-button:hover,
.admin-logout-button:focus-visible {
  border-color: #c34b63;
  background: #fff2f5;
}

.admin-audit-panel {
  grid-area: audit;
  min-width: 0;
  padding: 20px;
  border: 1px solid #e1e3ed;
  border-radius: 18px;
  background: #fbfbfe;
}

.admin-audit-panel h3 {
  margin: 0 0 4px;
  color: #29273b;
  font-size: 19px;
}

.admin-audit-help {
  margin: 0 0 14px;
  color: #6a6b78;
  font-size: 12px;
}

.admin-audit-entries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-height: 260px;
  overflow: auto;
}

.admin-audit-entries article {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #e8e8ef;
  border-radius: 10px;
  background: #fff;
  font-size: 12px;
}

.admin-audit-entries time {
  flex-shrink: 0;
  color: #77788a;
}

@media (max-width: 900px) {
  .admin-audit-entries { grid-template-columns: 1fr; }
}

.change-password-button:hover,
.change-password-button:focus-visible {
  border-color: #2f8064;
  background: #ecf8f3;
}

.password-change-modal {
  max-width: 520px;
}

.password-requirements {
  margin: -2px 0 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.password-change-status {
  min-height: 19px;
  margin: 0 0 12px;
  color: #c33f59;
  font-size: 13px;
}

.login-error.login-success {
  color: #267151 !important;
}

@media (max-width: 900px) {
  .admin-modal > .admin-tools-row.account-security-enabled {
    grid-template-columns: 1fr;
  }
}

/* Source: hero-banner.css */
.hero-banner-wrap{display:flex;align-items:center;justify-content:center;width:1120px;height:700px;right:-22%;top:-20px}.hero-banner{display:block;width:100%;height:100%;object-fit:contain;border-radius:28px;filter:drop-shadow(14px 18px 27px rgba(47,48,87,.25));transform:rotate(2deg)}
@media(max-width:800px){.hero-banner-wrap{width:430px;height:400px;right:-120px;top:130px}.hero-banner{border-radius:24px}}

/* Source: mobile-ux.css */
@media (max-width: 800px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden !important;
    overflow-x: clip !important;
    overscroll-behavior-x: none;
  }

  html {
    position: relative;
    left: 0 !important;
  }

  body {
    position: relative;
    left: 0 !important;
  }

  html.event-modal-open,
  html.event-modal-open body {
    overflow: hidden !important;
  }

  body > *,
  main,
  .events-section,
  .calendar-toolbar,
  .filter-panel {
    min-width: 0;
    max-width: 100%;
  }

  .site-header {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
  }

  .events-section {
    contain: inline-size;
    padding-left: 12px;
    padding-right: 12px;
    overflow-x: clip;
  }

  .calendar-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .view-switch {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }

  .view-switch button {
    min-height: 44px;
    padding: 10px 8px;
    font-size: 13px;
  }

  .calendar-nav {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    gap: 8px;
    width: 100%;
  }

  .calendar-nav button {
    width: 44px;
    height: 44px;
    font-size: 19px;
  }

  .calendar-nav strong {
    align-self: center;
    min-width: 0;
    font-size: 17px;
  }

  .calendar.month-view {
    position: relative;
    left: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    scroll-behavior: smooth;
    scrollbar-color: #9b8de4 #ececf5;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .calendar.month-view .weekdays,
  .calendar.month-view .calendar-grid {
    grid-template-columns: repeat(7, 112px);
    width: max-content;
    min-width: 784px;
  }

  .calendar.month-view .weekdays {
    position: sticky;
    top: 0;
    z-index: 3;
    background: #f7f7fb;
  }

  .calendar.month-view .weekdays > div {
    padding: 12px 9px;
    font-size: 11px;
    text-align: center;
  }

  .calendar.month-view .day {
    width: 112px;
    height: 132px;
    padding: 8px;
  }

  .calendar.month-view .date-number {
    min-height: 24px;
    margin-bottom: 6px;
    font-size: 12px;
  }

  .calendar.month-view .event-chip {
    min-height: 27px;
    margin: 3px 0;
    padding: 6px 7px;
    border-radius: 7px;
    font-size: 11px;
    line-height: 1.25;
  }

  .list-event {
    grid-template-columns: 68px 1fr;
    min-height: 92px;
    padding: 14px 12px;
  }

  .event-name {
    font-size: 18px;
    line-height: 1.2;
  }

  .event-game,
  .event-detail {
    font-size: 12px;
    line-height: 1.4;
  }

  #eventModal {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    box-sizing: border-box !important;
    width: 100vw !important;
    min-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    max-width: none !important;
    max-height: 100dvh !important;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    overflow-x: hidden;
    overflow-y: hidden !important;
    overscroll-behavior: contain;
    transform: none !important;
  }

  #eventModal[open] {
    display: flex !important;
    flex-direction: column;
  }

  #eventModalContent {
    display: block;
    flex: 1 1 auto;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 0;
    padding-bottom: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  #eventModalContent .event-modal-content,
  #eventModalContent .event-modal-content > * {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
  }

  #eventModal .modal-close {
    position: absolute;
    top: max(8px, env(safe-area-inset-top));
    right: 8px;
    float: none;
    z-index: 10;
    width: 42px;
    height: 42px;
    margin: 0;
    font-size: 28px;
    line-height: 36px;
  }

  #eventModal .event-modal-content > .event-visual {
    min-height: 125px;
    max-height: 180px;
    font-size: 68px;
  }

  #eventModal .event-visual.event-has-image {
    display: flex !important;
    flex: 0 0 165px;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 165px !important;
    min-height: 165px !important;
    max-height: 165px !important;
    padding: 8px !important;
    overflow: hidden !important;
    visibility: visible !important;
  }

  #eventModal .event-visual.event-has-image img {
    width: auto !important;
    max-width: 100% !important;
    max-height: 165px !important;
    object-fit: contain !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  #eventModal .event-modal-content > div:last-child {
    padding: 22px 16px 24px;
  }

  #eventModal .event-modal-content h2 {
    margin: 12px 0 17px !important;
    font-size: clamp(27px, 9vw, 34px) !important;
    line-height: 1.05 !important;
    letter-spacing: -1px;
  }

  #eventModal .event-modal-content .event-type {
    max-width: calc(100% - 48px);
    padding: 7px 9px !important;
    font-size: 12px !important;
    line-height: 1.3;
  }

  #eventModal .event-meta {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  #eventModal .event-meta div {
    min-height: 68px;
    padding: 10px !important;
  }

  #eventModal .event-meta b {
    overflow-wrap: anywhere;
  }

  #eventModal .event-description {
    margin: 16px 0 !important;
    padding: 14px !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  #eventModal .event-modal-content .primary-button {
    position: static !important;
    justify-content: center;
    width: 100% !important;
    max-width: none !important;
    min-height: 50px;
    margin: 18px 0 0 !important;
    border: 3px solid #fff;
    box-shadow: 4px 4px 0 #c6a736;
  }

  #bookingModal,
  #loginModal,
  #successModal {
    width: calc(100% - 12px);
    max-width: none;
    max-height: calc(100dvh - 12px);
    margin: auto;
    padding: 25px 17px 22px;
    overflow-y: auto;
    border-radius: 18px;
    overscroll-behavior: contain;
  }

  #bookingModal .modal-close,
  #loginModal .modal-close,
  #successModal .modal-close {
    width: 44px;
    height: 44px;
    top: 5px;
    right: 5px;
  }

  #bookingModal h2,
  #loginModal h2,
  #successModal h2 {
    padding-right: 36px;
    font-size: 30px;
    line-height: 1.05;
  }

  #bookingModal .form-grid,
  #loginModal .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  #bookingModal input,
  #loginModal input {
    min-height: 48px;
    font-size: 16px;
  }

  #bookingModal .consent {
    padding: 10px;
    border-radius: 10px;
    background: #f6f6fb;
    font-size: 13px;
  }

  #bookingModal .consent input {
    min-width: 21px;
    width: 21px;
    min-height: 21px;
  }

  #bookingModal .primary-button,
  #loginModal .primary-button,
  #successModal .primary-button {
    justify-content: center;
    width: 100%;
    min-height: 50px;
  }

  #bookingModal {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    box-sizing: border-box !important;
    width: 100vw !important;
    min-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    max-width: none !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    padding: 26px 17px 24px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    border: 0;
    border-radius: 0;
    transform: none !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  #bookingModal[open] {
    display: block !important;
  }

  #bookingModal .modal-close {
    position: sticky;
    top: 0;
    float: right;
    z-index: 10;
    margin: -18px -8px -42px 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 14px #30344d22;
  }

  #bookingModal form {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  #bookingModal .primary-button {
    position: static !important;
    width: 100% !important;
    margin: 12px 0 0 !important;
  }

  #successModal .modal-close {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    z-index: 100 !important;
    display: grid !important;
    place-items: center;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border: 1px solid #e1e2ec !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: 0 4px 14px #30344d2b;
    color: #39354f !important;
    font-size: 28px !important;
    line-height: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }



  .cookie-banner {
    box-sizing: border-box !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: auto !important;
    max-width: 100vw !important;
    max-height: 100dvh;
    margin: 0 !important;
    gap: 16px;
    padding: 22px 17px max(17px, env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 20px 20px 0 0;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .cookie-banner > div {
    min-width: 0;
    max-width: 100%;
  }

  .cookie-banner strong {
    display: block;
    padding-right: 28px;
    font-size: 20px;
    line-height: 1.2;
  }

  .cookie-banner p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.55;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    flex-shrink: 0;
    width: 100%;
    margin-top: 0;
  }

  .cookie-actions button {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    min-height: 50px;
    padding: 12px 10px;
    font-size: 14px;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .cookie-status {
    position: static;
    margin-top: 4px !important;
    text-align: center;
  }
}

@media (max-width: 380px) {
  #eventModal .event-meta {
    grid-template-columns: 1fr !important;
  }

  .cookie-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  #bookingModal {
    overflow: hidden !important;
    touch-action: pan-y;
  }

  #bookingModal[open] {
    display: flex !important;
    flex-direction: column;
  }

  #bookingModal form {
    flex: 1 1 auto;
    min-height: 0;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: scroll !important;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }
}

/* Source: vacation-mode.css */
.vacation-panel {
  margin: 22px 0 28px;
  padding: 17px;
  border: 1px solid #c9dff5;
  border-radius: 14px;
  background: #f2f8ff;
}

.vacation-heading,
.vacation-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.vacation-heading strong,
.vacation-heading span {
  display: block;
}

.vacation-heading strong {
  color: #234c78;
  font-size: 17px;
}

.vacation-heading span,
#vacationStatus {
  margin-top: 3px;
  color: #5d7188;
  font-size: 12px;
}

.modal form .vacation-toggle {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
  margin: 0;
  color: #234c78;
  font-weight: 700;
}

.vacation-toggle input {
  width: 20px;
  height: 20px;
  margin: 0;
}

.vacation-entry {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
  margin-top: 15px;
}

.add-vacation-range {
  margin: 0 0 14px;
  border: 1px solid #8bbce8;
  border-radius: 9px;
  background: #fff;
  color: #21669f;
  padding: 9px 12px;
  font: 700 13px system-ui, sans-serif;
  cursor: pointer;
}

.add-vacation-range:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.vacation-ranges {
  display: grid;
  gap: 7px;
  margin-bottom: 15px;
}

.vacation-ranges > p {
  margin: 0;
  color: #6c7d90;
  font-size: 12px;
}

.vacation-range {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border-radius: 9px;
  background: #dceeff;
  color: #214f78;
  font-size: 13px;
}

.vacation-range span,
.vacation-range strong {
  display: block;
}

.vacation-range strong {
  margin-bottom: 2px;
  color: #174f7d;
}

.vacation-range button {
  border: 0;
  background: transparent;
  color: #b33f55;
  font: 700 12px system-ui, sans-serif;
  cursor: pointer;
}

.vacation-actions button {
  border: 0;
  border-radius: 9px;
  background: #3189d8;
  color: #fff;
  padding: 10px 13px;
  font: 700 13px system-ui, sans-serif;
  cursor: pointer;
}

.vacation-actions button:disabled {
  cursor: wait;
  opacity: .6;
}

.day.vacation-day {
  background: #d9edff !important;
  box-shadow: inset 0 0 0 2px #75baf2;
}

.day.vacation-day .date-number {
  color: #14558d;
  font-weight: 800;
}

.vacation-label {
  display: block;
  clear: both;
  width: 100%;
  margin: 3px 0;
  color: #17649f;
  font: 700 10px ui-monospace, monospace;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .vacation-heading,
  .vacation-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .vacation-entry {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .vacation-range {
    align-items: flex-start;
  }

  .vacation-label {
    overflow: hidden;
    font-size: 8px;
    text-overflow: ellipsis;
  }
}

/* Source: admin-three-columns.css */
/* Tableau de bord : tâches principales en premier, réglages secondaires ensuite. */
.admin-modal {
  position: relative;
  width: min(1480px, calc(100% - 32px));
  max-width: none;
  max-height: 94vh;
  overflow: auto;
}

.admin-modal[open] {
  display: grid;
  grid-template-columns: minmax(370px, .78fr) minmax(560px, 1.22fr);
  grid-template-areas:
    "title title"
    "intro intro"
    "create events"
    "reports reports"
    "tools tools"
    "audit audit";
  gap: 18px;
  align-items: start;
}

.admin-modal > .modal-close {
  position: sticky;
  z-index: 20;
  top: 0;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  width: 38px;
  height: 38px;
  margin: -16px -16px -40px 0;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 5px 16px #2b294029;
  color: #59576a;
}

.admin-modal > .modal-close:hover,
.admin-modal > .modal-close:focus-visible {
  background: #f0edff;
  color: #3f3375;
}

.admin-modal > .modal-kicker {
  display: none;
}

.admin-modal > h2 {
  grid-area: title;
  padding-right: 44px;
}

.admin-modal > .admin-intro {
  grid-area: intro;
  margin: -8px 0 4px;
  color: #6a6878;
}

.admin-modal > #eventForm,
.admin-modal > #adminEvents,
.admin-modal > .event-report-folder {
  min-width: 0;
  margin: 0;
  padding: 20px;
  border: 1px solid #e1e3ed;
  border-radius: 18px;
  background: #fbfbfe;
  box-shadow: 0 10px 30px #464b6510;
}

.admin-modal > .admin-tools-row {
  grid-area: tools;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid #e3e3eb;
}

.admin-modal > #eventForm {
  grid-area: create;
}

.admin-modal > #eventForm::before {
  content: attr(data-panel-title);
  display: block;
  margin: 0 0 17px;
  color: #29273b;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.admin-modal > #eventForm.is-editing {
  border-color: #b9acee;
  box-shadow: 0 0 0 3px #7456e812, 0 10px 30px #464b6510;
}

.event-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.event-form-actions .cancel-event-edit {
  padding: 12px 14px;
  border: 1px solid #cfcbdc;
  border-radius: 9px;
  background: #fff;
  color: #5f5b70;
  font: 700 12px system-ui, sans-serif;
  cursor: pointer;
}

.event-form-actions .cancel-event-edit:hover,
.event-form-actions .cancel-event-edit:focus-visible {
  border-color: #8377b5;
  background: #f4f1ff;
  color: #493b83;
}

.event-form-actions .cancel-event-edit[hidden] {
  display: none;
}

.admin-modal > #adminEvents {
  grid-area: events;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  align-items: start;
}

.admin-modal > .event-report-folder {
  grid-area: reports;
  border-top: 1px solid #e1e3ed;
}

.admin-modal > #adminEvents h3,
.admin-modal > .event-report-folder h3 {
  margin: 0 0 3px;
  font-size: 20px;
}

.admin-modal > #adminEvents h3 {
  grid-column: 1 / -1;
}

.admin-modal > #adminEvents h3::after {
  content: "Ouvrez Réservations dans une carte pour voir les participants";
  display: block;
  margin-top: 5px;
  color: #7b7b89;
  font-size: 11px;
  font-weight: 500;
}

.admin-modal .admin-row {
  display: flex;
  min-width: 0;
  padding: 16px;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  border: 1px solid #e1e3ed;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 7px 18px #585d7510;
}

.admin-modal .admin-row > div:first-child {
  width: 100%;
  min-width: 0;
  font-size: 15px;
  line-height: 1.4;
}

.admin-modal .admin-row > div:first-child > b {
  display: block;
  margin-bottom: 3px;
  overflow-wrap: anywhere;
  color: #29273b;
  font-size: 16px;
  line-height: 1.25;
}

.admin-modal .admin-event-details {
  display: block;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f0edff;
  color: #41347d;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.admin-modal .admin-event-status {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #e4f5ec;
  color: #267151;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}

.admin-modal .admin-row.is-inactive {
  border-color: #d8cef8;
  background: #fcfaff;
}

.admin-modal .admin-row.is-inactive .admin-event-status {
  background: #eee8ff;
  color: #5940be;
}

.admin-modal .admin-row.is-ended-admin {
  border-color: #e4e4e9;
  background: #fafafa;
}

.admin-modal .admin-row.is-ended-admin .admin-event-status {
  background: #ececf1;
  color: #6a6b78;
}

.admin-modal .admin-event-count {
  display: inline-grid;
  place-items: center;
  min-width: 27px;
  height: 27px;
  margin-left: 6px;
  padding: 0 8px;
  border-radius: 999px;
  background: #ded8ff;
  color: #382c7e;
  font-size: 13px;
}

.admin-modal .admin-actions {
  display: flex;
  width: 100%;
  flex-shrink: 0;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #ececf2;
}

.admin-modal .admin-actions button {
  margin-left: 0;
  padding: 8px 11px;
  border-radius: 8px;
  background: #f2f4fb;
}

@media (max-width: 1080px) {
  .admin-modal[open] {
    grid-template-columns: minmax(330px, .9fr) minmax(440px, 1.1fr);
  }

  .admin-modal > #adminEvents {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .admin-modal {
    inset-inline: 10px;
    width: auto;
    max-height: 92vh;
    max-width: none;
    margin-inline: 0;
    padding: 24px 16px;
    overflow-x: hidden;
  }

  .admin-modal[open] {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "intro"
      "events"
      "create"
      "reports"
      "tools"
      "audit";
    gap: 15px;
  }

  .admin-modal > .modal-close {
    grid-column: 1;
    margin: -12px -5px -40px 0;
  }

  .admin-modal > h2 {
    font-size: clamp(28px, 8vw, 36px);
  }

  .admin-modal > *,
  .admin-modal .admin-row,
  .admin-modal .event-reservations {
    max-width: 100%;
  }

  .admin-modal > #eventForm,
  .admin-modal > #adminEvents,
  .admin-modal > .event-report-folder {
    padding: 15px;
    border-radius: 14px;
  }

  .admin-modal > #adminEvents {
    grid-template-columns: 1fr;
  }

  .admin-modal > #adminEvents h3::after {
    margin-top: 6px;
  }
}

@media (max-width: 480px) {
  .event-form-actions {
    display: grid;
  }

  .event-form-actions > * {
    width: 100%;
    justify-content: center;
  }
}

/* Source: past-events.css */
.calendar .past-day {
  background: #f0f1f5;
}

.calendar .past-day .date-number {
  color: #999baa;
}

.event-chip.event-ended {
  background: #c8c9d0 !important;
  color: #686a76 !important;
  filter: grayscale(1);
  opacity: .82;
}

.list-event.event-ended {
  border-left-color: #a8a9b3;
  background: #f0f1f5;
  filter: grayscale(.85);
  opacity: .78;
}

#eventModal .event-ended-button {
  border-color: #fff;
  background: #d7d8de;
  color: #696b75;
  box-shadow: none;
  cursor: not-allowed;
}

#eventModal .event-ended-button:hover {
  transform: none;
  box-shadow: none;
}

@media (prefers-color-scheme: dark) {
  .calendar .past-day {
    background: #ededf2;
  }
}

/* Source: event-reports.css */
.event-report-folder {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 2px solid #ded8ff;
}

.event-report-folder > h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.event-report-folder > h3::before {
  content: "📁";
  font-size: 22px;
}

.event-report-list {
  display: grid;
  gap: 11px;
}

.event-report-card {
  overflow: hidden;
  border: 1px solid #e2e3ec;
  border-radius: 13px;
  background: #fff;
}

.event-report-card summary {
  padding: 12px;
  color: #29273b;
  font-weight: 700;
  cursor: pointer;
  list-style-position: inside;
}

.event-report-card summary span {
  display: block;
  margin: 4px 0 0 19px;
  color: #747588;
  font-size: 11px;
  font-weight: 500;
}

.event-report-content {
  padding: 0 12px 13px;
}

.event-report-recap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 11px;
}

.event-report-recap span {
  padding: 7px 8px;
  border-radius: 8px;
  background: #f3f3f8;
  color: #66687a;
  font-size: 11px;
}

.event-report-recap b {
  display: block;
  margin-top: 2px;
  color: #302e43;
  font-size: 12px;
}

.event-report-comment {
  display: block;
  margin: 0;
  color: #55566a;
  font-size: 11px;
  font-weight: 700;
}

.event-report-comment textarea {
  min-height: 86px;
  resize: vertical;
}

.event-report-comment textarea:disabled {
  color: #777986;
  background: #eeeef2;
}

.event-report-deadline {
  margin: 7px 0 11px;
  color: #6e7081;
  font-size: 11px;
  line-height: 1.35;
}

.event-report-deadline.is-open {
  color: #287d5d;
  font-weight: 700;
}

.event-report-deadline.is-expired {
  color: #a24d5b;
}

.event-report-card.is-archived {
  border-color: #d8d1f6;
  background: #fbfaff;
}

.event-report-deadline.is-archived {
  color: #5b43bd;
  font-weight: 700;
}

.event-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.event-report-actions button {
  border: 1px solid #cbc8e2;
  border-radius: 8px;
  background: #fff;
  color: #55469b;
  padding: 8px 10px;
  font: 700 11px system-ui;
  cursor: pointer;
}

.event-report-actions .save-event-report {
  border-color: #7456e8;
  background: #7456e8;
  color: #fff;
}

.event-report-actions button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

/* Source: publishing-options.css */
.admin-tools-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 18px;
  min-width: 0;
  margin-bottom: 20px;
}

.admin-tools-row .vacation-panel,
.social-network-panel {
  min-width: 0;
  height: 100%;
  margin: 0;
}

.social-network-panel {
  padding: 17px;
  border: 1px solid #dcd5fa;
  border-radius: 14px;
  background: linear-gradient(145deg, #faf8ff, #fffdf4);
}

.network-panel-heading {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-bottom: 15px;
}

.network-panel-heading > span {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #7456e8;
  color: #ffd65a;
  font-size: 18px;
}

.network-panel-heading h3 {
  margin: 0;
  color: #332a58;
  font-size: 17px;
}

.network-panel-heading p,
.network-save-note {
  margin: 3px 0 0;
  color: #716a83;
  font-size: 11px;
  line-height: 1.45;
}

.social-publishing-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 12px 0;
  padding: 12px;
  border: 1px solid #e4dff5;
  border-radius: 12px;
}

.social-reminder-options {
  margin-top: 9px;
  border-color: #d7e5f5;
  background: #f7fbff;
}

.social-reminder-options label {
  border: 1px solid #e1eaf5;
}

.social-publishing-options legend {
  padding: 0 7px;
  color: #51466f;
  font-size: 11px;
  font-weight: 800;
}

.social-publishing-options label {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 0;
  padding: 10px;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.social-publishing-options input {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  margin: 1px 0 0;
  accent-color: #7456e8;
}

.social-publishing-options b,
.social-publishing-options small {
  display: block;
}

.social-publishing-options b {
  color: #3e355f;
  font-size: 12px;
}

.social-publishing-options small {
  margin-top: 3px;
  color: #777184;
  font-size: 10px;
  line-height: 1.35;
}

.social-network-panel.needs-image .social-publishing-options {
  border-color: #e8a0ad;
  background: #fff6f7;
}

.social-publication-image-field {
  display: block;
  margin: 12px 0;
  padding: 13px;
  border: 1px solid #ded8f4;
  border-radius: 12px;
  background: #faf8ff;
}

.social-publication-image-field.is-required {
  border-color: #e08a9b;
  background: #fff6f7;
}

.social-publication-image-field > small,
.social-image-state {
  display: block;
  margin-top: 6px;
  color: #716a83;
  font-size: 10px;
  line-height: 1.45;
}

.social-image-state {
  color: #4f3fa1;
}

.social-publication-image-field.is-required .social-image-state {
  color: #a13c50;
}

.social-schedule-note {
  margin: 8px 0 12px;
  padding: 9px 11px;
  border-radius: 9px;
  background: #eeeaff;
  color: #514298;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.45;
}

.social-schedule-note.schedule-warning {
  background: #fff0d8;
  color: #885b20;
}

.social-message-field {
  display: block;
  margin: 0 0 9px;
  color: #4d4566;
  font-size: 12px;
  font-weight: 700;
}

.social-message-field textarea {
  width: 100%;
  margin-top: 6px;
}

.tiktok-publication-note {
  margin: 10px 0 0;
  padding: 9px 11px;
  border-left: 4px solid #ffd65a;
  border-radius: 8px;
  background: #fff9df;
  color: #665c3d;
  font-size: 10px;
  line-height: 1.45;
}

.meta-connection-check {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.meta-check-button {
  justify-self: start;
  padding: 8px 11px;
  border: 1px solid #cfc6f5;
  border-radius: 8px;
  background: #fff;
  color: #4f3fa1;
  font: 700 11px system-ui, sans-serif;
  cursor: pointer;
}

.meta-check-button:disabled {
  opacity: .6;
  cursor: wait;
}

.meta-check-status {
  min-height: 14px;
  color: #716a83;
  font-size: 10px;
  line-height: 1.45;
}

.meta-check-status.is-success { color: #267151; font-weight: 700; }
.meta-check-status.is-error { color: #a13c50; font-weight: 700; }

.event-visibility-option {
  margin: 15px 0;
  padding: 13px;
  border: 1px solid #ddd6f7;
  border-radius: 12px;
  background: #faf8ff;
}

.modal form .event-visibility-toggle {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  cursor: pointer;
}

.event-visibility-toggle input {
  width: 19px;
  height: 19px;
  min-width: 19px;
  margin: 1px 0 0;
  accent-color: #7456e8;
}

.event-visibility-toggle b,
.event-visibility-toggle small {
  display: block;
}

.event-visibility-toggle b {
  color: #44376e;
  font-size: 13px;
}

.event-visibility-toggle small {
  margin-top: 3px;
  color: #756e86;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
}

.event-visibility-date {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e5e0f4;
}

.event-visibility-date[hidden] {
  display: none;
}

.event-visibility-date label {
  margin: 0;
}

.publishing-schedule-status {
  margin: 6px 0 0;
  color: #5b43bd;
  font-size: 11px;
  font-weight: 700;
}

.publishing-admin-status {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.publishing-admin-status span {
  display: inline-block;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.scheduled-badge { background: #ede8ff; color: #5940be; }
.social-badge { background: #e6f7ef; color: #267151; }
.social-sent-badge { background: #e4f6ff; color: #266780; }
.social-error-badge { background: #ffe7eb; color: #a13c50; cursor: help; }

.publishing-admin-status .social-publication-overview {
  display: grid;
  width: 100%;
  gap: 7px;
  margin-top: 3px;
  padding: 10px;
  border: 1px solid #dfe2eb;
  border-radius: 10px;
  background: #f8f9fc;
}

.publishing-admin-status .social-publication-title {
  color: #555568;
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.social-reminder-row {
  display: grid;
  grid-template-columns: 72px repeat(2, minmax(0, 1fr));
  gap: 6px;
  align-items: center;
}

.social-reminder-row.network-count-1 {
  grid-template-columns: 72px minmax(0, 1fr);
}

.social-reminder-heading {
  display: grid;
  align-content: center;
  gap: 2px;
  min-width: 0;
}

.social-reminder-heading > strong {
  color: #403b57;
  font-size: 11px;
}

.social-reminder-heading > small {
  color: #756e86;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.publishing-admin-status .publication-network-status {
  min-width: 0;
  overflow: hidden;
  padding: 5px 7px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: help;
}

.publication-network-status.is-sent {
  background: #dff5e9;
  color: #176343;
}

.publication-network-status.is-pending,
.publication-network-status.is-sending {
  background: #e8efff;
  color: #315b9a;
}

.publication-network-status.is-failed {
  background: #ffe5ea;
  color: #a02f47;
}

.publication-network-status.is-skipped,
.publication-network-status.is-not-scheduled {
  background: #ececf1;
  color: #71717d;
}

@media (max-width: 900px) {
  .admin-tools-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .social-publishing-options {
    grid-template-columns: 1fr;
  }

  .social-reminder-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .social-reminder-heading {
    grid-row: 1 / span 2;
  }
}

/* Source: tiktok-assistant.css */
.tiktok-assistant {
  width: 100%;
  overflow: hidden;
  border: 1px solid #dfe0ea;
  border-radius: 12px;
  background: #fbfbfd;
}

.admin-modal .admin-row.tiktok-assistant-open {
  grid-column: 1 / -1;
}

.tiktok-assistant > summary {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto 14px;
  gap: 9px;
  min-height: 58px;
  padding: 10px;
  align-items: center;
  color: #2b2939;
  list-style: none;
  cursor: pointer;
}

.tiktok-assistant > summary::-webkit-details-marker { display: none; }

.tiktok-summary-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #33333d;
  border-radius: 11px;
  background: #111116;
  color: #fff;
  font-size: 18px;
  box-shadow: -2px 2px 0 #25f4ee, 2px -2px 0 #fe2c55;
}

.tiktok-assistant > summary b,
.tiktok-assistant > summary small {
  display: block;
}

.tiktok-assistant > summary b { font-size: 12px; }
.tiktok-assistant > summary small { margin-top: 2px; color: #757480; font-size: 9px; line-height: 1.35; }

.tiktok-assistant > summary em {
  padding: 4px 7px;
  border-radius: 999px;
  background: #e9e9ee;
  color: #575663;
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .08em;
}

.tiktok-assistant > summary i {
  width: 8px;
  height: 8px;
  border-right: 2px solid #6c6b78;
  border-bottom: 2px solid #6c6b78;
  transform: rotate(45deg);
  transition: transform .18s ease;
}

.tiktok-assistant[open] > summary {
  border-bottom: 1px solid #e2e2e9;
  background: linear-gradient(135deg, #fff, #f6f5fb);
}

.tiktok-assistant[open] {
  border-color: #cac7d9;
  box-shadow: 0 10px 28px #37344717;
}

.tiktok-assistant[open] > summary i { transform: rotate(225deg); }

.tiktok-assistant-content {
  padding: 14px;
  background: #fff;
}

.tiktok-event-recap {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.tiktok-event-visual,
.tiktok-visual-placeholder {
  display: block;
  width: 110px;
  height: 74px;
  object-fit: contain;
  border: 1px solid #e2e2ea;
  border-radius: 10px;
  background: #f5f4fa;
}

.tiktok-visual-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #24242d, #111116);
  color: #fff;
  font-size: 29px;
  box-shadow: inset -3px 0 #25f4ee, inset 3px 0 #fe2c55;
}

.tiktok-event-recap span {
  color: #7256d8;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .09em;
}

.tiktok-event-recap h4 { margin: 3px 0 4px; color: #252336; font-size: 16px; line-height: 1.2; }
.tiktok-event-recap p { margin: 0; color: #686775; font-size: 10px; line-height: 1.4; }

.tiktok-privacy-note {
  margin: 12px 0;
  padding: 8px 10px;
  border-left: 3px solid #25c9c3;
  border-radius: 7px;
  background: #effbfa;
  color: #3e6462;
  font-size: 9px;
  line-height: 1.45;
}

.tiktok-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-bottom: 12px;
  padding: 4px;
  border-radius: 10px;
  background: #efeff4;
}

.tiktok-tabs button {
  min-height: 38px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #686775;
  font: 800 10px system-ui, sans-serif;
  cursor: pointer;
}

.tiktok-tabs button[aria-selected="true"] {
  background: #16161c;
  color: #fff;
  box-shadow: -2px 2px 0 #25f4ee, 2px -2px 0 #fe2c55;
}

.tiktok-script-panel[hidden] { display: none; }

.tiktok-brief-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.tiktok-brief-grid > span {
  min-width: 0;
  padding: 9px;
  border: 1px solid #e7e7ed;
  border-radius: 9px;
  background: #fafafd;
}

.tiktok-brief-grid small,
.tiktok-brief-grid b { display: block; }
.tiktok-brief-grid small { margin-bottom: 3px; color: #84838e; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.tiktok-brief-grid b { color: #3a3848; font-size: 9px; line-height: 1.4; }
.tiktok-brief-grid b.is-today { color: #a35e0d; }
.tiktok-brief-grid b.is-past { color: #85838d; }
.tiktok-brief-grid b.is-future { color: #39705a; }

.tiktok-hook {
  margin: 9px 0 12px;
  padding: 11px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, #24242e, #111116);
  color: #fff;
  box-shadow: inset 3px 0 #25f4ee, inset -3px 0 #fe2c55;
}

.tiktok-hook span,
.tiktok-hook strong { display: block; }
.tiktok-hook span { margin-bottom: 4px; color: #c8c7d0; font-size: 8px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.tiktok-hook strong { font-size: 13px; line-height: 1.4; }

.tiktok-script-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 10px; align-items: start; }
.tiktok-storyboard,
.tiktok-copy-card,
.tiktok-checklist { border: 1px solid #e4e4eb; border-radius: 10px; background: #fff; }
.tiktok-storyboard { padding: 10px; }
.tiktok-copy-column { display: grid; gap: 8px; }
.tiktok-copy-card,
.tiktok-checklist { padding: 10px; }

.tiktok-section-heading {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.tiktok-section-heading > div { display: flex; min-width: 0; gap: 6px; align-items: center; }
.tiktok-section-heading span { display: grid; flex: 0 0 22px; width: 22px; height: 22px; place-items: center; border-radius: 7px; background: #eeeaff; color: #644cc8; font-size: 8px; font-weight: 900; }
.tiktok-section-heading h5,
.tiktok-checklist h5 { margin: 0; color: #333140; font-size: 11px; }
.tiktok-section-heading button,
.tiktok-package-actions button {
  padding: 6px 8px;
  border: 1px solid #d9d7e4;
  border-radius: 7px;
  background: #f7f7fa;
  color: #514b6d;
  font: 800 8px system-ui, sans-serif;
  cursor: pointer;
}

.tiktok-shot-list { display: grid; gap: 6px; }
.tiktok-shot { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 7px; padding: 8px; border-radius: 8px; background: #f8f8fb; }
.tiktok-shot time { color: #674dcc; font-size: 9px; font-weight: 900; }
.tiktok-shot h6 { margin: 0 0 4px; color: #343241; font-size: 10px; }
.tiktok-shot p { margin: 3px 0 0; color: #686773; font-size: 8px; line-height: 1.4; white-space: pre-line; }
.tiktok-shot p b { display: inline-block; min-width: 59px; margin-right: 4px; color: #3c3a49; font-size: 7px; letter-spacing: .03em; text-transform: uppercase; }

.tiktok-copy-card > p,
.tiktok-copy-card > pre { margin: 0; color: #5e5c69; font: 9px/1.55 system-ui, sans-serif; white-space: pre-wrap; overflow-wrap: anywhere; }
.tiktok-copy-card > pre { max-height: 210px; overflow-y: auto; }

.tiktok-checklist ul { display: grid; gap: 5px; margin: 8px 0 0; padding: 0; list-style: none; }
.tiktok-checklist li { position: relative; padding-left: 16px; color: #62616c; font-size: 8px; line-height: 1.4; }
.tiktok-checklist li::before { content: "✓"; position: absolute; left: 0; color: #2b9b7f; font-weight: 900; }

.tiktok-package-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; align-items: center; }
.tiktok-package-actions .tiktok-copy-all { border-color: #16161c; background: #16161c; color: #fff; box-shadow: -1px 1px 0 #25f4ee, 1px -1px 0 #fe2c55; }
.tiktok-copy-status { min-height: 14px; color: #267151; font-size: 8px; font-weight: 800; }
.tiktok-copy-status.is-error { color: #a13c50; }
.tiktok-clipboard-fallback { position: fixed; left: -9999px; top: 0; width: 1px; height: 1px; }

@media (max-width: 1080px) {
  .tiktok-script-layout { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .tiktok-assistant-content { padding: 11px; }
  .tiktok-assistant > summary { grid-template-columns: 34px minmax(0, 1fr) 14px; }
  .tiktok-assistant > summary em { display: none; }
  .tiktok-event-recap { grid-template-columns: 82px minmax(0, 1fr); }
  .tiktok-event-visual,
  .tiktok-visual-placeholder { width: 82px; height: 65px; }
  .tiktok-tabs,
  .tiktok-brief-grid { grid-template-columns: 1fr; }
  .tiktok-shot { grid-template-columns: 38px minmax(0, 1fr); }
  .tiktok-package-actions { display: grid; grid-template-columns: 1fr; }
  .tiktok-package-actions button { min-height: 38px; }
}

/* Source: video-studio.css */
.video-studio-launcher {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid #393145;
  border-radius: 17px;
  color: #fff;
  background:
    radial-gradient(circle at 82% -35%, #25f4ee2c, transparent 38%),
    radial-gradient(circle at 8% 145%, #fe2c5530, transparent 43%),
    linear-gradient(135deg, #17131e, #2b2340);
  box-shadow: 0 14px 32px #1d152d26;
}

.video-studio-launcher-icon {
  position: relative;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid #ffffff26;
  border-radius: 16px;
  background: #ffffff12;
}

.video-studio-launcher-icon b {
  font-size: 23px;
  text-shadow: -2px 0 #25f4ee, 2px 0 #fe2c55;
}

.video-studio-launcher-icon i {
  position: absolute;
  right: -7px;
  bottom: -6px;
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 3px solid #282035;
  border-radius: 8px;
  color: #211a2d;
  background: #ffd65a;
  font-size: 10px;
  font-style: normal;
}

.video-studio-launcher > div {
  min-width: 0;
}

.video-studio-label {
  display: block;
  margin-bottom: 4px;
  color: #7df4ef;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
}

.video-studio-launcher h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
}

.video-studio-launcher p {
  max-width: 760px;
  margin: 4px 0 0;
  color: #ffffffa3;
  font-size: 10px;
  line-height: 1.45;
}

.video-studio-launcher button,
.video-studio-generate,
.video-studio-actions button {
  border: 0;
  font-family: system-ui, sans-serif;
  font-weight: 800;
  cursor: pointer;
}

.video-studio-launcher button {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #241d30;
  background: #ffd65a;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease;
}

.video-studio-launcher button:hover,
.video-studio-launcher button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 9px 20px #ffd65a2e;
}

.video-studio-modal {
  width: min(1320px, calc(100% - 28px));
  max-width: none;
  max-height: 95vh;
  padding: 0;
  overflow: auto;
  border: 1px solid #3e3548;
  border-radius: 24px;
  color: #292431;
  background: #f4f2f6;
  box-shadow: 0 30px 90px #0c081375;
}

.video-studio-modal[open] {
  display: block;
}

.video-studio-modal::backdrop {
  background: #0f0a17c7;
  backdrop-filter: blur(7px);
}

.video-studio-modal [hidden] {
  display: none !important;
}

.video-studio-modal > .video-studio-close {
  position: absolute;
  z-index: 4;
  top: 15px;
  right: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid #ffffff30;
  border-radius: 999px;
  color: #fff;
  background: #ffffff16;
  font-size: 21px;
}

.video-studio-modal > .video-studio-close:hover,
.video-studio-modal > .video-studio-close:focus-visible {
  background: #ffffff27;
  color: #fff;
}

.video-studio-header {
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: space-between;
  padding: 28px 70px 27px 30px;
  color: #fff;
  background:
    radial-gradient(circle at 76% 0, #25f4ee25, transparent 31%),
    radial-gradient(circle at 20% 120%, #fe2c5528, transparent 43%),
    #17131e;
}

.video-studio-header > div > span {
  color: #7df4ef;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
}

.video-studio-header h2 {
  margin: 6px 0;
  color: #fff;
  font-size: clamp(25px, 3vw, 37px);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.video-studio-header p {
  margin: 0;
  color: #ffffff9e;
  font-size: 11px;
  line-height: 1.5;
}

.video-studio-brands {
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
  align-items: center;
  padding: 11px 14px;
  border: 1px solid #ffffff20;
  border-radius: 13px;
  background: #ffffff0e;
}

.video-studio-brands > b {
  font-size: 22px;
  text-shadow: -2px 0 #25f4ee, 2px 0 #fe2c55;
}

.video-studio-brands > i {
  color: #ffffff59;
  font-size: 12px;
  font-style: normal;
}

.video-studio-brands > span {
  font-size: 13px;
}

.video-studio-brands em {
  margin-left: 3px;
  padding: 3px 5px;
  border-radius: 5px;
  color: #241d30;
  background: #ffd65a;
  font-size: 7px;
  font-style: normal;
  letter-spacing: .06em;
  vertical-align: 2px;
}

.video-studio-layout {
  display: grid;
  grid-template-columns: minmax(330px, .74fr) minmax(510px, 1.26fr);
  min-height: 625px;
}

.video-studio-controls {
  min-width: 0;
  padding: 25px;
  border-right: 1px solid #ddd8e2;
  background: #fff;
}

.video-studio-controls label {
  display: block;
  margin: 0 0 13px;
  color: #514a59;
  font-size: 10px;
  font-weight: 800;
}

.video-studio-controls label > span {
  color: #8c8592;
  font-weight: 500;
}

.video-studio-controls select,
.video-studio-controls input {
  width: 100%;
  min-height: 42px;
  margin-top: 6px;
  padding: 9px 10px;
  border: 1px solid #d8d3dc;
  border-radius: 9px;
  color: #302a36;
  background: #fff;
  font: 600 11px system-ui, sans-serif;
}

.video-studio-controls select:focus,
.video-studio-controls input:focus,
.video-studio-output:focus {
  outline: 3px solid #7456e826;
  border-color: #7456e8;
}

.video-studio-step {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
  color: #302a37;
  font-size: 12px;
  font-weight: 800;
}

.video-studio-step:not(:first-child) {
  margin-top: 22px;
}

.video-studio-step b {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: #7456e8;
  font-size: 8px;
}

.video-studio-event-preview {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 12px;
  min-height: 92px;
  padding: 10px;
  align-items: center;
  border: 1px solid #e0dbe6;
  border-radius: 13px;
  background: #f8f6fa;
}

.video-studio-event-preview > img,
.video-studio-event-placeholder {
  display: grid;
  width: 78px;
  height: 72px;
  object-fit: contain;
  place-items: center;
  border: 1px solid #ded9e4;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #7456e8, #34264f);
  font-size: 23px;
}

.video-studio-event-preview > div {
  min-width: 0;
}

.video-studio-event-preview > div > span {
  color: #6d50ce;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.video-studio-event-preview h3 {
  overflow: hidden;
  margin: 4px 0;
  color: #2d2834;
  font-size: 13px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-studio-event-preview p,
.video-studio-event-preview small {
  display: block;
  margin: 0;
  color: #716a78;
  font-size: 8px;
  line-height: 1.45;
}

.video-studio-event-preview small {
  margin-top: 3px;
  color: #39705a;
  font-weight: 800;
}

.video-studio-event-preview > p {
  grid-column: 1 / -1;
  font-size: 10px;
}

.video-studio-control-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 9px;
}

.video-studio-generate {
  display: flex;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #6d4fd9, #493298);
  box-shadow: 0 10px 23px #553bac32;
}

.video-studio-generate span {
  color: #ffd65a;
}

.video-studio-generate:disabled {
  opacity: .5;
  cursor: not-allowed;
  box-shadow: none;
}

.video-studio-status {
  min-height: 16px;
  margin: 8px 2px 0;
  color: #2e7850;
  font-size: 9px;
  font-weight: 800;
}

.video-studio-status.is-error {
  color: #a13c50;
}

.video-studio-result {
  min-width: 0;
  padding: 25px;
  background:
    radial-gradient(circle at 100% 0, #25f4ee12, transparent 29%),
    #f4f2f6;
}

.video-studio-empty {
  display: grid;
  min-height: 555px;
  padding: 30px;
  place-items: center;
  align-content: center;
  color: #77707d;
  text-align: center;
}

.video-studio-empty > span {
  display: grid;
  width: 68px;
  height: 68px;
  margin-bottom: 17px;
  place-items: center;
  border: 1px solid #ddd8e3;
  border-radius: 21px;
  color: #7456e8;
  background: #fff;
  box-shadow: 0 12px 28px #41325815;
  font-size: 23px;
}

.video-studio-empty h3 {
  margin: 0 0 6px;
  color: #39323f;
  font-size: 19px;
}

.video-studio-empty p {
  max-width: 430px;
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
}

.video-studio-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  padding: 5px;
  border: 1px solid #ddd9e3;
  border-radius: 12px;
  background: #eae7ed;
}

.video-studio-tabs button {
  flex: 1;
  min-height: 40px;
  padding: 8px 11px;
  border: 0;
  border-radius: 8px;
  color: #746d7a;
  background: transparent;
  font: 800 10px system-ui, sans-serif;
  cursor: pointer;
}

.video-studio-tabs button[aria-selected="true"] {
  color: #2e2835;
  background: #fff;
  box-shadow: 0 6px 14px #33274317;
}

.video-studio-tabs button:first-child span {
  text-shadow: -1px 0 #25f4ee, 1px 0 #fe2c55;
}

.video-studio-output-heading {
  display: flex;
  gap: 14px;
  margin: 0 2px 9px;
  align-items: flex-end;
  justify-content: space-between;
}

.video-studio-output-heading span {
  color: #766f7d;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .1em;
}

.video-studio-output-heading h3 {
  margin: 3px 0 0;
  color: #302a36;
  font-size: 19px;
}

.video-studio-output-heading > b {
  padding: 6px 8px;
  border-radius: 999px;
  color: #58449f;
  background: #e8e2fa;
  font-size: 8px;
  white-space: nowrap;
}

.video-studio-output {
  display: block;
  width: 100%;
  height: 415px;
  min-height: 415px;
  padding: 17px;
  resize: vertical;
  border: 1px solid #d8d3df;
  border-radius: 13px;
  color: #39323f;
  background: #fff;
  font: 500 10px/1.65 ui-monospace, monospace;
}

.video-studio-actions {
  display: flex;
  gap: 8px;
  margin-top: 9px;
}

.video-studio-actions button {
  flex: 1;
  min-height: 39px;
  padding: 8px 11px;
  border: 1px solid #d6d0dd;
  border-radius: 9px;
  color: #514957;
  background: #fff;
}

.video-studio-actions .video-studio-copy {
  border-color: #5c42b8;
  color: #fff;
  background: #5c42b8;
}

.video-studio-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 14px;
}

.video-studio-links a {
  min-width: 0;
  overflow: hidden;
  padding: 9px;
  border: 1px solid #ddd8e2;
  border-radius: 9px;
  color: #4e4555;
  background: #fff;
  font-size: 8px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.video-studio-links a:hover,
.video-studio-links a:focus-visible {
  border-color: #7456e8;
  color: #5b41b8;
}

.video-studio-links .video-studio-app-link {
  border-color: #2d2538;
  color: #fff;
  background: #17131e;
  box-shadow: -1px 1px 0 #25f4ee, 1px -1px 0 #fe2c55;
}

.video-studio-links .video-studio-app-link:hover,
.video-studio-links .video-studio-app-link:focus-visible {
  border-color: #17131e;
  color: #ffd65a;
}

.video-studio-security {
  margin: 12px 0 0;
  padding: 9px 11px;
  border: 1px solid #cfe7d8;
  border-radius: 9px;
  color: #486153;
  background: #eaf7ef;
  font-size: 8px;
  line-height: 1.5;
}

.video-studio-security > span {
  margin-right: 4px;
  color: #38a56a;
}

.video-studio-clipboard {
  position: fixed;
  top: 0;
  left: -9999px;
  width: 1px;
  height: 1px;
}

@media (max-width: 900px) {
  .video-studio-layout {
    grid-template-columns: 1fr;
  }

  .video-studio-controls {
    border-right: 0;
    border-bottom: 1px solid #ddd8e2;
  }

  .video-studio-empty {
    min-height: 330px;
  }

  .video-studio-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .video-studio-launcher {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    padding: 15px;
  }

  .video-studio-launcher-icon {
    width: 46px;
    height: 46px;
  }

  .video-studio-launcher button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .video-studio-modal {
    width: calc(100% - 12px);
    max-height: 98vh;
    border-radius: 17px;
  }

  .video-studio-header {
    padding: 24px 56px 22px 19px;
  }

  .video-studio-brands {
    display: none;
  }

  .video-studio-controls,
  .video-studio-result {
    padding: 18px;
  }

  .video-studio-control-grid {
    grid-template-columns: 1fr;
  }

  .video-studio-tabs,
  .video-studio-actions {
    flex-direction: column;
  }

  .video-studio-output {
    height: 380px;
    min-height: 380px;
    font-size: 9px;
  }

  .video-studio-links {
    grid-template-columns: 1fr;
  }
}

/* Source: header-socials.css */
.site-header {
  min-height: 94px;
}

.site-header .brand {
  gap: 14px;
  font-size: clamp(20px, 1.7vw, 25px);
  font-weight: 800;
  letter-spacing: -.4px;
}

.site-header .brand-logo {
  width: 58px;
  height: 58px;
  border-width: 3px;
  box-shadow: 0 7px 20px rgba(72, 61, 145, .18);
}

.header-actions,
.header-socials {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 30px;
}

.header-socials {
  gap: 9px;
}

.header-social {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 14px;
  box-shadow: 0 7px 17px rgba(52, 48, 92, .15);
  transition: transform .18s ease, box-shadow .18s ease;
}

.header-social::after {
  content: "";
  position: absolute;
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 12px;
  pointer-events: none;
}

.header-social:hover,
.header-social:focus-visible {
  color: #fff;
  transform: translateY(-3px) rotate(-2deg);
  box-shadow: 0 12px 24px rgba(52, 48, 92, .24);
  outline: none;
}

.header-social:nth-child(2):hover,
.header-social:nth-child(2):focus-visible {
  transform: translateY(-3px) rotate(2deg);
}

.header-social svg {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.8;
}

.header-social svg rect,
.header-social svg circle {
  fill: none;
}

.header-social svg .social-dot {
  fill: currentColor;
  stroke: none;
}

.header-social.facebook svg,
.header-social.tiktok svg {
  stroke: none;
}

.header-social.instagram {
  background: radial-gradient(circle at 30% 105%, #ffd36b 0 19%, #f04c58 40%, #b72cb5 67%, #515bd4 100%);
}

.header-social.facebook {
  background: linear-gradient(145deg, #62a7ff, #1877f2 58%, #0757bd);
}

.header-social.tiktok {
  background: linear-gradient(145deg, #292938, #111118 58%, #08080c);
  box-shadow: -2px 2px 0 rgba(37, 244, 238, .65), 2px -2px 0 rgba(254, 44, 85, .55), 0 7px 17px rgba(52, 48, 92, .15);
}

.site-header nav .nav-pill {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.site-header nav .nav-feature {
  position: relative;
  min-height: 54px;
  gap: 10px;
  padding: 7px 10px 7px 8px;
  overflow: hidden;
}

.site-header nav .nav-feature::before {
  content: "";
  position: absolute;
  top: -38px;
  left: -20px;
  width: 70px;
  height: 120px;
  background: rgba(255, 255, 255, .28);
  transform: rotate(22deg);
  pointer-events: none;
}

.nav-shop-icon,
.nav-shop-arrow {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
}

.nav-shop-icon {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(120, 82, 0, .13);
  border-radius: 12px;
  background: rgba(255, 255, 255, .62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82);
}

.nav-shop-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.nav-shop-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1px;
  min-width: 88px;
  text-align: left;
}

.nav-shop-copy small {
  color: #745b16;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1;
  text-transform: uppercase;
}

.nav-shop-copy strong {
  font-size: 14px;
  line-height: 1.15;
}

.nav-shop-arrow {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #30260a;
  color: #fff8d6;
  font-size: 15px;
  transition: transform .18s ease;
}

.site-header nav .nav-pill:hover,
.site-header nav .nav-pill:focus-visible {
  transform: translateY(-2px);
  filter: saturate(1.08);
  outline: none;
}

.site-header nav .nav-feature:hover .nav-shop-arrow,
.site-header nav .nav-feature:focus-visible .nav-shop-arrow {
  transform: translateX(3px);
}

@media (max-width: 1050px) {
  .header-actions { gap: 18px; }
  .site-header nav { gap: 18px; }
  .site-header .brand { font-size: 18px; }
  .site-header .brand-logo { width: 52px; height: 52px; }
  .header-social { width: 38px; height: 38px; border-radius: 12px; }
  .header-social::after { border-radius: 10px; }
  .site-header nav .nav-feature { min-height: 50px; padding: 6px 9px 6px 7px; }
  .nav-shop-icon { width: 35px; height: 35px; }
  .nav-shop-copy { min-width: 78px; }
  .nav-shop-copy small { display: none; }
}

@media (max-width: 800px) {
  .site-header { min-height: 74px; }
  .site-header .brand { gap: 8px; font-size: 13px; letter-spacing: 0; }
  .site-header .brand-logo { width: 40px; height: 40px; border-width: 2px; }
  .header-actions { gap: 8px; }
  .header-socials { gap: 5px; }
  .header-social { width: 31px; height: 31px; border-radius: 10px; }
  .header-social::after { border-radius: 8px; }
  .header-social svg { width: 17px; height: 17px; }
  .site-header nav.menu-open .nav-pill {
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    padding: 12px 15px;
  }
  .site-header nav.menu-open .nav-feature { min-height: 56px; }
  .site-header nav.menu-open .nav-shop-copy { min-width: 0; }
  .site-header nav.menu-open .nav-shop-copy small { display: block; }
  .site-header nav.menu-open .nav-shop-arrow { margin-left: auto; }
}

@media (max-width: 390px) {
  .site-header { padding-inline: 10px; }
  .site-header .brand { font-size: 11px; }
  .site-header .brand-logo { width: 36px; height: 36px; }
  .header-actions { gap: 5px; }
  .header-socials { gap: 3px; }
  .header-social { width: 28px; height: 28px; }
  .mobile-menu { padding: 5px; }
}

/* Source: agenda-ux.css */
/* Expérience agenda : prochain rendez-vous, filtres compacts et cartes lisibles. */
[hidden] {
  display: none !important;
}

.event-color-0 { --event-color: #e94b5a; }
.event-color-1 { --event-color: #ffd65a; }
.event-color-2 { --event-color: #a77aff; }
.event-color-3 { --event-color: #7a7f8c; }
.event-color-4 { --event-color: #ff8c5a; }
.event-color-5 { --event-color: #49a7ff; }
.event-color-6 { --event-color: #63e5b5; }
.event-color-7 { --event-color: #f68bae; }
.event-color-8 { --event-color: #46c6c0; }
.event-color-9 { --event-color: #7e99e8; }
.event-color-10 { --event-color: #a5c75b; }
.event-color-11 { --event-color: #bb80e8; }
.event-color-12 { --event-color: #92755b; }
.event-color-13 { --event-color: #4c9b7a; }
.event-color-14 { --event-color: #d466a6; }
.event-color-15 { --event-color: #3b6fb6; }
.event-color-16 { --event-color: #d9a441; }

.next-event-spotlight {
  display: grid;
  grid-template-columns: minmax(280px, 34%) minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 18px;
  row-gap: 4px;
  align-items: center;
  margin: 0 0 18px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid #ded8f4;
  border-left: 6px solid var(--event-color);
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, #f5f2ff);
  box-shadow: 0 10px 26px #555d7a14;
}

.next-event-image {
  display: block;
  grid-column: 1;
  grid-row: 1 / 3;
  width: 100%;
  height: 105px;
  padding: 4px;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e7e4ef;
}

.next-event-image.event-image-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--event-color), #e9e4ff);
  color: #fff;
  font-size: 42px;
}

.next-event-copy {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}

.next-event-kicker {
  display: block;
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin-bottom: 4px;
  color: #6b56c8;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.next-event-copy h3 {
  display: -webkit-box;
  margin: 0 0 9px;
  overflow: hidden;
  color: #222039;
  font-size: 20px;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.next-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.next-event-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #eeedf5;
  color: #5b5b6d;
  font-size: 10px;
  font-weight: 700;
}

.next-event-meta .is-available {
  background: #e1f5e9;
  color: #23704d;
}

.next-event-button,
.list-event-cta {
  border: 0;
  border-radius: 10px;
  background: #ffd65a;
  color: #262132;
  font: 800 12px system-ui, sans-serif;
}

.next-event-button {
  display: inline-flex;
  grid-column: 3;
  grid-row: 1 / 3;
  min-height: 44px;
  padding: 11px 14px;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  box-shadow: 3px 3px 0 #c5a63c;
}

.next-event-button:hover,
.next-event-button:focus-visible {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 #c5a63c;
}

.filter-panel {
  grid-template-columns: minmax(230px, 1.7fr) repeat(4, minmax(130px, 1fr)) auto;
}

.filter-options {
  display: contents;
}

.mobile-filter-toggle {
  display: none;
}

.filter-reset {
  min-width: 72px;
  border: 1px solid #dad8e8;
  border-radius: 12px;
  background: #fff;
  color: #645b88;
  font: 700 11px system-ui, sans-serif;
  cursor: pointer;
}

.filter-reset:hover,
.filter-reset:focus-visible {
  border-color: #8d7cd7;
  background: #f3f0ff;
}

.calendar-nav .calendar-today {
  width: auto;
  min-width: 88px;
  padding: 0 11px;
  font-size: 11px;
  font-weight: 800;
}

.calendar-toolbar.agenda-mode .calendar-nav {
  display: none;
}

.calendar-toolbar.agenda-mode {
  justify-content: flex-start;
}

.day {
  height: 138px;
}

.event-chip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 6px;
  min-height: 48px;
  padding: 6px 7px;
  overflow: hidden;
  background: var(--event-color);
  color: #17131e;
  white-space: normal;
  box-shadow: inset 0 0 0 1px #ffffff55;
}

.event-chip-time {
  overflow: hidden;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-chip-title {
  display: -webkit-box;
  grid-column: 1 / -1;
  overflow: hidden;
  font-size: 10px;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.event-chip-status {
  display: flex;
  grid-column: 2;
  grid-row: 1;
  gap: 2px;
  align-items: baseline;
  overflow: hidden;
  font-size: 8px;
  font-weight: 800;
  opacity: .72;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-chip-status strong {
  font-size: 14px;
  font-weight: 950;
  line-height: 1;
}

.event-chip-only {
  height: calc(100% - 25px);
  min-height: 88px;
  padding: 9px;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.event-chip-only .event-chip-title {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: center;
  font-size: 12px;
  line-height: 1.22;
  -webkit-line-clamp: 3;
}

.event-chip-only .event-chip-status {
  grid-column: 1 / -1;
  grid-row: 3;
  justify-self: start;
  font-size: 9px;
  opacity: .85;
}

.event-chip-only .event-chip-status strong {
  font-size: 21px;
}

.event-chip.event-full {
  filter: saturate(.55);
}

.list-view + .event-list,
.week-view + .event-list {
  display: grid;
  gap: 12px;
}

.list-event {
  display: grid;
  grid-template-columns: minmax(250px, 27%) 68px minmax(0, 1fr) auto;
  gap: 16px;
  min-height: 144px;
  margin: 0;
  padding: 14px;
  align-items: center;
  border: 1px solid #e0e2ee;
  border-left: 5px solid var(--event-color);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 22px #555e7412;
  transition: transform .18s ease, box-shadow .18s ease;
  cursor: pointer;
}

.list-event:hover,
.list-event:focus-visible {
  transform: translateY(-2px);
  outline: 2px solid color-mix(in srgb, var(--event-color) 55%, transparent);
  outline-offset: 2px;
  box-shadow: 0 13px 28px #555e7420;
}

.list-event-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 116px;
  padding: 4px;
  object-fit: contain;
  object-position: center;
  border-radius: 13px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e7e4ef;
}

.list-event-image.event-image-placeholder {
  display: grid;
  height: 116px;
  place-items: center;
  background: linear-gradient(135deg, var(--event-color), #f0edff);
  color: #fff;
  font-size: 44px;
}

.list-date {
  display: grid;
  justify-items: center;
  color: #625b7b;
  font: 800 10px ui-monospace, monospace;
  letter-spacing: .04em;
}

.list-date b {
  margin: 2px 0;
  color: #28233f;
  font-size: 34px;
  line-height: 1;
}

.list-event-body {
  min-width: 0;
}

.list-event .event-name {
  margin: 5px 0 11px;
  color: #222039;
  font-size: 21px;
  line-height: 1.16;
}

.list-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.list-event-meta span {
  padding: 6px 8px;
  border-radius: 8px;
  background: #f0eff6;
  color: #5f5e70;
  font-size: 11px;
  font-weight: 700;
}

.list-event-action {
  display: grid;
  min-width: 142px;
  gap: 10px;
  justify-items: end;
}

.list-event .event-spots {
  font-size: 11px;
  font-weight: 800;
  text-align: right;
}

.list-event-cta {
  display: inline-flex;
  min-height: 42px;
  padding: 10px 12px;
  align-items: center;
  gap: 13px;
}

@media (max-width: 800px) {
  .hero {
    min-height: 480px;
    padding-top: 44px;
    padding-bottom: 34px;
  }

  .hero .hero-banner-wrap {
    right: -88px;
    top: 185px;
    width: 330px;
    height: 270px;
    opacity: .34;
    transform: none;
  }

  .events-section {
    padding-top: 42px;
  }

  .next-event-spotlight {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 12px;
    padding: 12px;
    border-left-width: 5px;
    border-radius: 15px;
  }

  .next-event-image {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    height: auto;
    max-height: 180px;
  }

  .next-event-image.event-image-placeholder {
    height: 120px;
  }

  .next-event-copy {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .next-event-kicker {
    grid-column: 1 / -1;
    grid-row: 1;
    margin-bottom: 0;
  }

  .next-event-copy h3 {
    margin-bottom: 7px;
    font-size: 17px;
  }

  .next-event-meta span:nth-child(3) {
    display: none;
  }

  .next-event-button {
    grid-column: 1 / -1;
    grid-row: 4;
    justify-content: center;
    width: 100%;
  }

  .filter-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .filter-panel .search {
    grid-column: 1;
  }

  .mobile-filter-toggle {
    display: flex;
    min-height: 46px;
    padding: 10px 13px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #d8d3f0;
    border-radius: 12px;
    background: #fff;
    color: #514393;
    font: 800 13px system-ui, sans-serif;
    cursor: pointer;
  }

  .mobile-filter-toggle b {
    display: inline-grid;
    place-items: center;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    border-radius: 999px;
    background: #7456e8;
    color: #fff;
    font-size: 10px;
  }

  .filter-options {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .filter-panel.filters-open .filter-options {
    display: grid;
  }

  .filter-reset {
    grid-column: 1 / -1;
    min-height: 42px;
  }

  .view-switch {
    grid-template-columns: 1fr 1fr;
  }

  .view-switch button[data-view="list"] {
    order: 1;
  }

  .view-switch button[data-view="month"] {
    order: 2;
  }

  .view-switch button[data-view="week"] {
    display: none;
  }

  .calendar-nav {
    grid-template-columns: 44px auto minmax(90px, 1fr) 44px;
  }

  .calendar-nav .calendar-today {
    width: auto;
    min-width: 76px;
    padding: 0 8px;
    font-size: 10px;
  }

  .calendar.month-view .day {
    height: 145px;
  }

  .calendar.month-view .event-chip {
    min-height: 52px;
    padding: 6px 7px;
    font-size: 10px;
  }

  .calendar.month-view .event-chip-only {
    height: calc(100% - 36px);
    min-height: 88px;
  }

  .list-view + .event-list,
  .week-view + .event-list {
    gap: 12px;
  }

  .list-event {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px 12px;
    min-height: 0;
    padding: 12px;
    align-items: start;
  }

  .list-event-image {
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    height: auto;
    max-height: 180px;
  }

  .list-event-image.event-image-placeholder {
    height: 120px;
  }

  .list-date {
    display: flex;
    grid-column: 1;
    grid-row: 2;
    gap: 5px;
    padding-top: 2px;
    align-items: baseline;
    justify-content: flex-start;
    color: #624fc4;
  }

  .list-date b {
    margin: 0;
    font-size: 13px;
  }

  .list-event-body {
    grid-column: 1;
    grid-row: 3;
  }

  .list-event .event-game {
    font-size: 10px;
  }

  .list-event .event-name {
    margin: 5px 0 8px;
    font-size: 17px;
  }

  .list-event-meta {
    gap: 5px;
  }

  .list-event-meta span {
    padding: 5px 7px;
    font-size: 10px;
  }

  .list-event-action {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 4;
    min-width: 0;
    padding-top: 10px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #ececf2;
  }

  .list-event .event-spots {
    display: block;
    text-align: left;
  }

  .list-event-cta {
    min-height: 42px;
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: 455px;
  }

  .hero .hero-banner-wrap {
    right: -94px;
    top: 190px;
    width: 300px;
    height: 245px;
  }

  .next-event-spotlight {
    grid-template-columns: minmax(0, 1fr);
  }

  .next-event-image {
    width: 100%;
    height: auto;
    max-height: 140px;
  }

  .next-event-image.event-image-placeholder {
    height: 105px;
  }

  .filter-options {
    grid-template-columns: 1fr;
  }

  .filter-reset {
    grid-column: 1;
  }

  .list-event {
    grid-template-columns: minmax(0, 1fr);
  }

  .list-event-image {
    width: 100%;
    height: auto;
    max-height: 140px;
  }

  .list-event-image.event-image-placeholder {
    height: 105px;
  }

  .list-event-action {
    display: grid;
    justify-items: stretch;
  }

  .list-event-cta {
    justify-content: center;
  }
}

/* Source: contact-card.css */
/* Coordonnées placées tout en haut de la page. */
.top-contact-bar {
  position: relative;
  z-index: 4;
  min-height: 38px;
  color: #f7f5ff;
  background: #241a3b;
}

.top-contact-inner {
  display: flex;
  width: 100%;
  max-width: 1240px;
  min-height: 38px;
  margin: 0 auto;
  padding: 5px 28px;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.top-contact-question {
  margin-right: auto;
  color: #cfc7dd;
  font-size: 11px;
}

.top-contact-inner a {
  display: inline-flex;
  min-height: 28px;
  padding: 5px 9px;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 9px;
  color: #f7f5ff;
  font-size: 10px;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease;
}

.top-contact-inner a:hover,
.top-contact-inner a:focus-visible {
  border-color: rgba(255,214,90,.55);
  background: rgba(255,255,255,.08);
  color: #fff;
}

.top-contact-inner a > span {
  color: var(--yellow);
  font-size: 12px;
}

.top-contact-inner strong {
  font-weight: 750;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .top-contact-question {
    display: none;
  }

  .top-contact-inner {
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .top-contact-inner {
    min-height: 40px;
    padding-inline: 12px;
    justify-content: space-between;
    gap: 5px;
  }

  .top-contact-inner a {
    min-width: 0;
    padding-inline: 7px;
  }

  .top-contact-address strong {
    max-width: 126px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 390px) {
  .top-contact-address {
    display: none !important;
  }

  .top-contact-inner {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-contact-inner a {
    transition: none;
  }
}

/* Source: agenda-refresh.css */
/* Finition de l'agenda public : priorité aux rendez-vous et mobile robuste. */
#evenements,
#fonctionnement {
  scroll-margin-top: 92px;
}

.site-header {
  height: 82px;
  min-height: 82px;
}

.site-header .brand {
  font-size: clamp(17px, 1.55vw, 21px);
}

.site-header .brand-logo {
  width: 48px;
  height: 48px;
}

.header-actions {
  gap: 18px;
}

.primary-navigation {
  gap: 7px;
}

.nav-context-link {
  display: inline-flex;
  min-height: 42px;
  padding: 10px 9px;
  align-items: center;
  border-radius: 10px;
  color: #565267;
  font-size: 12px;
  font-weight: 750;
}

.nav-context-link:hover,
.nav-context-link:focus-visible {
  color: #5133c5;
  background: #f1effb;
}

.site-header nav .nav-feature {
  min-height: 46px;
}

.site-header nav .nav-contact {
  color: #083646;
  border-color: #57bed6;
  background: linear-gradient(135deg, #bff5ff, #78d9ec 58%, #43bad8);
  box-shadow: 0 9px 20px rgba(27, 153, 185, .23), inset 0 1px 0 rgba(255, 255, 255, .72);
}

.site-header nav .nav-booking-guide {
  color: #2d205b;
  border-color: #9c82e8;
  background: linear-gradient(135deg, #e8ddff, #bfa8ff 58%, #9274eb);
  box-shadow: 0 9px 20px rgba(103, 75, 188, .24), inset 0 1px 0 rgba(255, 255, 255, .72);
}

.site-header nav .nav-shop {
  color: #342a0b;
  border-color: #e8b52c;
  background: linear-gradient(135deg, #fff09b, #ffd24f 58%, #ffbc35);
  box-shadow: 0 9px 20px rgba(190, 137, 20, .24), inset 0 1px 0 rgba(255, 255, 255, .72);
}

.nav-contact .nav-shop-arrow {
  color: #dffaff;
  background: #0a5367;
}

.nav-booking-guide .nav-shop-arrow {
  color: #f4efff;
  background: #38256f;
}

.site-header nav .nav-contact:hover,
.site-header nav .nav-contact:focus-visible {
  color: #083646;
  box-shadow: 0 13px 26px rgba(27, 153, 185, .33), inset 0 1px 0 rgba(255, 255, 255, .72);
}

.site-header nav .nav-booking-guide:hover,
.site-header nav .nav-booking-guide:focus-visible {
  color: #2d205b;
  box-shadow: 0 13px 26px rgba(103, 75, 188, .34), inset 0 1px 0 rgba(255, 255, 255, .72);
}

.site-header nav .nav-shop:hover,
.site-header nav .nav-shop:focus-visible {
  color: #342a0b;
  box-shadow: 0 13px 26px rgba(190, 137, 20, .34), inset 0 1px 0 rgba(255, 255, 255, .72);
}

.nav-shop-icon {
  width: 34px;
  height: 34px;
}

.nav-shop-copy small {
  display: none;
}

.hero {
  min-height: 470px;
  padding-top: 56px;
  padding-bottom: 48px;
}

.hero-copy {
  width: 57%;
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(48px, 5.8vw, 72px);
  line-height: .98;
}

.hero-text {
  max-width: 570px;
  margin-bottom: 26px;
}

.hero-banner-wrap {
  top: -28px;
  right: -10%;
  width: 820px;
  height: 520px;
}

.hero-banner {
  transform: rotate(1deg);
}

.events-section {
  padding-top: 64px;
  padding-bottom: 72px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 370px);
  gap: clamp(30px, 6vw, 80px);
  margin-bottom: 30px;
  align-items: end;
}

.section-heading-copy {
  align-self: end;
}

.section-heading-aside {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 370px;
  padding: 22px;
  gap: 12px;
  justify-items: start;
  overflow: hidden;
  border: 1px solid #ddd8f7;
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(243, 240, 255, .92));
  box-shadow: 0 18px 42px rgba(75, 60, 143, .11);
}

.section-heading-aside::after {
  position: absolute;
  top: -58px;
  right: -48px;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116, 86, 232, .18), rgba(116, 86, 232, 0) 70%);
  content: "";
  pointer-events: none;
}

.section-heading-aside > * {
  position: relative;
  z-index: 1;
}

.section-aside-kicker {
  display: inline-flex;
  margin: 0;
  align-items: center;
  gap: 8px;
  color: #624bc7;
  font: 800 10px ui-monospace, monospace;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.section-aside-kicker span {
  width: 18px;
  height: 3px;
  border-radius: 99px;
  background: #f0bd31;
}

.section-heading h2 {
  font-size: clamp(46px, 5.2vw, 68px);
}

.section-description {
  max-width: none;
  color: #55546a;
  font-size: 15px;
  line-height: 1.6;
}

.event-summary {
  display: inline-flex;
  min-height: 44px;
  padding: 5px 14px 5px 5px;
  align-items: center;
  border: 1px solid #ded8fa;
  border-radius: 99px;
  color: #4d3ba5;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 7px 18px rgba(78, 57, 168, .1);
  gap: 10px;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .1px;
}

.event-summary strong {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #8067ed, #5a41c0);
  box-shadow: 0 5px 12px rgba(80, 55, 184, .28);
  font-size: 16px;
  line-height: 1;
}

.event-summary > span:first-child:last-child {
  padding: 4px 8px;
}

.list-event-meta .is-available {
  color: #23704d;
  background: #e1f5e9;
}

.list-event-meta .is-full {
  color: #9b3548;
  background: #ffe8ed;
}

.next-event-spotlight {
  margin-bottom: 15px;
}

.filter-panel {
  margin-bottom: 15px;
}

.calendar-toolbar {
  min-height: 45px;
  margin-bottom: 14px;
}

.view-switch {
  gap: 2px;
}

.view-switch button {
  min-height: 38px;
  border-radius: 8px;
  font-weight: 750;
}

.list-view + .event-list,
.week-view + .event-list,
.list-event {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.list-event {
  overflow: hidden;
}

.list-event > * {
  min-width: 0;
}

.list-event-cta {
  justify-content: center;
  white-space: nowrap;
}

.empty {
  margin: 0;
  padding: 25px 18px;
  border: 1px dashed #d8d4e8;
  border-radius: 15px;
  color: #67687a;
  background: rgba(255,255,255,.72);
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 1100px) {
  .nav-context-link {
    font-size: 11px;
  }

  .header-actions {
    gap: 12px;
  }

  .primary-navigation {
    gap: 5px;
  }

  .nav-shop-copy {
    min-width: 0;
  }

  .nav-shop-copy strong {
    font-size: 12px;
  }

  .hero-banner-wrap {
    right: -14%;
    width: 720px;
  }
}

@media (max-width: 800px) {
  #evenements,
  #fonctionnement {
    scroll-margin-top: 76px;
  }

  .site-header {
    height: 70px;
    min-height: 70px;
  }

  .site-header .brand {
    min-width: 0;
    flex-shrink: 1;
    gap: 8px;
    font-size: 13px;
  }

  .site-header .brand-name {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-header .header-actions {
    flex: 0 0 auto;
  }

  .site-header nav.menu-open .nav-context-link {
    display: flex;
    width: 100%;
    min-height: 46px;
    padding: 12px 15px;
    align-items: center;
    color: #403d53;
    font-size: 14px;
    font-weight: 800;
  }

  .hero {
    min-height: 430px;
    padding-top: 42px;
    padding-bottom: 36px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    max-width: 620px;
    font-size: clamp(40px, 10.8vw, 52px);
    line-height: 1;
    letter-spacing: -2.2px;
  }

  .hero-text {
    max-width: min(420px, 88%);
    font-size: 15px;
  }

  .hero .hero-banner-wrap {
    top: 190px;
    right: -62px;
    width: 270px;
    height: 225px;
    opacity: .28;
  }

  .events-section {
    padding-top: 44px;
  }

  .section-heading {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-heading h2 {
    font-size: clamp(40px, 10vw, 54px);
  }

  .section-heading-aside {
    max-width: 560px;
    padding: 20px;
    gap: 10px;
  }

  .event-summary {
    min-height: 42px;
    font-size: 13px;
  }

  .section-description {
    margin-top: 0;
  }

  .next-event-spotlight,
  .filter-panel,
  .calendar-toolbar,
  .event-list {
    width: 100%;
    max-width: 100%;
  }

  .next-event-spotlight {
    grid-template-columns: minmax(0, 1fr);
  }

  .next-event-image {
    grid-column: 1 / -1;
    width: 100%;
    height: auto;
    max-height: 180px;
    max-width: 100%;
  }

  .next-event-image.event-image-placeholder {
    height: 120px;
  }

  .next-event-copy,
  .next-event-copy h3 {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .next-event-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .view-switch {
    grid-template-columns: 1fr 1fr;
  }

  .view-switch button[data-view="list"],
  .view-switch button[data-view="month"] {
    order: initial;
  }

  .list-event,
  .list-event-body,
  .list-event-action,
  .list-event-image {
    width: 100%;
    max-width: 100%;
  }

  .list-event-action {
    gap: 10px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 10px;
  }

  .site-header .brand {
    gap: 5px;
    font-size: 10px;
    letter-spacing: -.2px;
  }

  .site-header .brand-name {
    display: inline;
    overflow: visible;
    font-size: 10px;
    line-height: 1;
    text-overflow: clip;
  }

  .site-header .brand-logo {
    width: 34px;
    height: 34px;
  }

  .site-header .header-actions {
    gap: 5px;
  }

  .site-header .header-socials {
    gap: 3px;
  }

  .site-header .header-social {
    width: 29px;
    height: 29px;
  }
}

@media (max-width: 430px) {
  .site-header .brand-name {
    font-size: 9px;
  }

  .hero {
    min-height: 405px;
    padding-top: 36px;
  }

  .hero .eyebrow {
    font-size: 9px;
    letter-spacing: 1.35px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 45px);
    letter-spacing: -1.8px;
  }

  .hero-text {
    max-width: 92%;
  }

  .hero .hero-banner-wrap {
    top: 210px;
    right: -76px;
    width: 225px;
    height: 185px;
  }

  .next-event-spotlight {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    padding: 10px;
  }

  .next-event-image {
    width: 100%;
    height: auto;
    max-height: 140px;
  }

  .next-event-image.event-image-placeholder {
    height: 105px;
  }

  .next-event-copy h3 {
    font-size: 16px;
  }

  .list-event-action {
    display: grid;
    justify-items: stretch;
  }

  .list-event-cta {
    width: 100%;
  }
}

@media (max-width: 355px) {
  .site-header .brand-name {
    display: inline;
    font-size: 8px;
    letter-spacing: -.3px;
  }
}

/* Une ligne de calendrier grandit avec son jour le plus chargé. */
.calendar-grid {
  grid-auto-rows: minmax(138px, auto);
  align-items: stretch;
}

.calendar .day {
  height: auto;
  min-height: 138px;
  overflow: hidden;
}

.calendar .event-chip-only {
  height: auto;
  min-height: 88px;
}

.calendar .event-chip:focus-visible {
  outline: 3px solid #31266d;
  outline-offset: -3px;
}

/* Tous les rendez-vous d'une date partagent désormais la même carte. */
.event-day-group {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dfe1ed;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(85, 94, 116, .08);
}

.event-day-heading {
  display: grid;
  min-width: 0;
  padding: 18px 14px;
  align-content: start;
  justify-items: center;
  border-right: 1px solid #e5e4ee;
  background: linear-gradient(155deg, #f7f5ff, #fbfbfe);
  text-align: center;
}

.event-day-heading .list-date {
  display: grid;
  grid-column: auto;
  grid-row: auto;
  padding: 0;
  gap: 0;
  align-items: initial;
  justify-items: center;
  color: #625b7b;
}

.event-day-heading .list-date b {
  margin: 3px 0;
  color: #28233f;
  font-size: 36px;
}

.event-day-heading-copy {
  display: grid;
  margin-top: 12px;
  gap: 4px;
  color: #5f5b72;
  font-size: 10px;
  line-height: 1.3;
}

.event-day-heading-copy strong {
  color: #332d4c;
  font-size: 11px;
  text-transform: capitalize;
}

.event-day-heading-copy span {
  color: #6b56c8;
  font-weight: 850;
}

.event-day-events {
  min-width: 0;
}

.event-day-group .list-event {
  grid-template-columns: minmax(220px, 30%) minmax(0, 1fr) auto;
  min-height: 142px;
  border: 0;
  border-left: 5px solid var(--event-color);
  border-radius: 0;
  box-shadow: none;
}

.event-day-group .list-event + .list-event {
  border-top: 1px solid #e7e6ef;
}

.event-day-group .list-event:hover,
.event-day-group .list-event:focus-visible {
  z-index: 1;
  transform: none;
  background: #fbfaff;
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--event-color) 45%, transparent);
}

@media (max-width: 800px) {
  .calendar.month-view .calendar-grid {
    grid-auto-rows: minmax(132px, auto);
  }

  .calendar.month-view .day {
    height: auto;
    min-height: 132px;
  }

  .event-day-group {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 16px;
  }

  .event-day-heading {
    display: flex;
    padding: 12px 14px;
    align-items: center;
    justify-items: initial;
    gap: 13px;
    border-right: 0;
    border-bottom: 1px solid #e5e4ee;
    text-align: left;
  }

  .event-day-heading .list-date {
    display: flex;
    flex: 0 0 auto;
    gap: 5px;
    align-items: baseline;
    color: #624fc4;
  }

  .event-day-heading .list-date b {
    margin: 0;
    font-size: 18px;
  }

  .event-day-heading-copy {
    margin-top: 0;
  }

  .event-day-heading-copy strong {
    font-size: 12px;
  }

  .event-day-group .list-event {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .event-day-group .list-event-image {
    grid-column: 1;
    grid-row: 1;
  }

  .event-day-group .list-event-body {
    grid-column: 1;
    grid-row: 2;
  }

  .event-day-group .list-event-action {
    grid-column: 1;
    grid-row: 3;
  }
}

/* Source: info-pages.css */
/* Pages publiques Contact et Comment réserver. */
.info-page {
  min-height: 100vh;
  color: #201d35;
  background:
    radial-gradient(circle at 8% 8%, rgba(116, 86, 232, .12), transparent 26rem),
    radial-gradient(circle at 92% 28%, rgba(77, 159, 215, .12), transparent 25rem),
    linear-gradient(180deg, #fbfbff, #f3f5ff);
}

.info-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid #e4e5ef;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(15px);
}

.info-header-inner {
  display: flex;
  width: min(1184px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.info-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: #1b1930;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -.2px;
  text-decoration: none;
}

.info-brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border: 2px solid #e5e1ff;
  border-radius: 50%;
  background: #7b70e9;
}

.info-page-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.info-nav-button {
  display: inline-flex;
  min-height: 42px;
  padding: 9px 14px;
  align-items: center;
  gap: 8px;
  border: 1px solid #dedbea;
  border-radius: 12px;
  color: #4d4863;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 5px 14px rgba(55, 49, 90, .07);
}

.info-nav-button::after {
  content: "→";
}

.info-nav-button:hover,
.info-nav-button:focus-visible,
.info-nav-button.is-active {
  color: #4b35a9;
  border-color: #b9abeb;
  background: #f2efff;
}

.info-nav-button.info-shop-link {
  color: #3b2d08;
  border-color: #e8bd3f;
  background: linear-gradient(135deg, #fff3a9, #ffd457);
}

.info-main {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 66px 0 90px;
}

.info-hero {
  position: relative;
  display: grid;
  min-height: 315px;
  padding: clamp(30px, 5vw, 58px);
  align-content: center;
  overflow: hidden;
  border: 1px solid #dedcf0;
  border-radius: 28px;
  background: linear-gradient(135deg, #fff 8%, #f1edff 68%, #e8f8ff);
  box-shadow: 0 22px 55px rgba(68, 62, 114, .13);
}

.info-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 330px;
  height: 330px;
  border: 55px solid rgba(116, 86, 232, .1);
  border-radius: 50%;
}

.info-kicker {
  position: relative;
  z-index: 1;
  margin: 0 0 13px;
  color: #6a56c9;
  font: 850 11px ui-monospace, monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.info-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 770px;
  margin: 0;
  color: #1c1930;
  font-size: clamp(43px, 7vw, 72px);
  line-height: .96;
  letter-spacing: -3px;
}

.info-hero h1 em {
  color: #7456e8;
  font-style: normal;
}

.info-hero-text {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 22px 0 0;
  color: #5e5d72;
  font-size: 17px;
  line-height: 1.65;
}

.info-section {
  margin-top: 56px;
}

.info-section-heading {
  display: grid;
  max-width: 760px;
  gap: 8px;
  margin-bottom: 22px;
}

.info-section-heading h2 {
  margin: 0;
  color: #242039;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1;
  letter-spacing: -1.6px;
}

.info-section-heading p {
  margin: 0;
  color: #66667a;
  line-height: 1.6;
}

.contact-grid,
.social-grid,
.booking-paths,
.platform-grid {
  display: grid;
  gap: 16px;
}

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

.social-grid,
.platform-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.social-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-card,
.social-card,
.booking-path,
.platform-card,
.guide-panel,
.help-panel {
  border: 1px solid #e0e1ec;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(65, 62, 103, .08);
}

.contact-card,
.social-card,
.platform-card {
  padding: 24px;
}

.contact-card,
.social-card {
  display: flex;
  flex-direction: column;
}

.contact-card {
  min-height: 220px;
}

.card-icon {
  display: grid;
  width: 45px;
  height: 45px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 14px;
  color: #513db1;
  background: #ede8ff;
  font-size: 21px;
  font-weight: 900;
}

.contact-card h2,
.social-card h3,
.platform-card h3,
.booking-path h2,
.guide-panel h2,
.help-panel h2 {
  margin: 0 0 9px;
  color: #242039;
}

.contact-card h2 {
  font-size: 22px;
}

.contact-card p,
.social-card p,
.platform-card p,
.booking-path p,
.help-panel p {
  margin: 0;
  color: #67677b;
  line-height: 1.55;
}

.card-action,
.platform-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  align-items: center;
  gap: 9px;
  color: #5942bd;
  font-weight: 850;
  text-decoration: none;
}

.card-action::after,
.platform-link::after {
  content: "→";
}

.platform-actions {
  display: grid;
  justify-items: start;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.platform-actions .platform-link {
  margin-top: 0;
}

.platform-guide-link {
  padding: 9px 13px;
  border: 1px solid #dcd4ff;
  border-radius: 11px;
  background: #f5f2ff;
}

.platform-guide-link:hover,
.platform-guide-link:focus-visible {
  border-color: #a792ff;
  background: #ede8ff;
}

.social-card {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border-top: 5px solid var(--social-color);
}

.social-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -46px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--social-color);
  opacity: .1;
}

.social-instagram { --social-color: #d63888; }
.social-facebook { --social-color: #1877f2; }
.social-tiktok { --social-color: #22222d; }
.social-discord { --social-color: #5865f2; }

.social-card h3 {
  font-size: 23px;
}

.contact-card > .card-action,
.social-card > .card-action {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 18px;
}

.location-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(230px, .7fr);
  gap: 20px;
  padding: 28px;
  align-items: center;
  border-radius: 22px;
  color: #f8f5ff;
  background: linear-gradient(135deg, #2d2147, #46316e);
  box-shadow: 0 17px 36px rgba(45, 33, 71, .2);
}

.location-panel h2 {
  margin: 0 0 8px;
  font-size: 30px;
}

.location-panel p {
  margin: 0;
  color: #d8d0e6;
  line-height: 1.55;
}

.location-panel .card-action {
  justify-self: end;
  padding: 13px 17px;
  border-radius: 11px;
  color: #2c2309;
  background: #ffd65a;
}

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

.booking-path {
  padding: 26px;
  border-top: 6px solid #4d9fd7;
}

.booking-path.external-path {
  border-top-color: #a77aff;
}

.path-label,
.platform-label {
  display: inline-flex;
  margin-bottom: 15px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #5c49b5;
  background: #eeeaff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.guide-panel {
  padding: clamp(24px, 4vw, 38px);
}

.guide-steps {
  display: grid;
  margin: 25px 0 0;
  padding: 0;
  gap: 18px;
  list-style: none;
}

.guide-steps li {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.guide-step-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: #7456e8;
  font-size: 13px;
  font-weight: 900;
}

.guide-steps strong {
  display: block;
  margin-bottom: 4px;
  color: #292540;
  font-size: 17px;
}

.guide-steps p {
  margin: 0;
  color: #66667a;
  line-height: 1.55;
}

.important-note {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid #efd47b;
  border-radius: 14px;
  color: #665319;
  background: #fff6d8;
  line-height: 1.55;
}

/* Guide de création du compte Play! Pokémon. */
.pokemon-account-hero {
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 213, 77, .38), transparent 15rem),
    linear-gradient(135deg, #fff 8%, #f1edff 65%, #e9f8ff);
}

.pokemon-hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.pokemon-primary-link,
.pokemon-secondary-link {
  display: inline-flex;
  min-height: 46px;
  padding: 12px 16px;
  align-items: center;
  gap: 12px;
  border: 1px solid #d3a817;
  border-radius: 12px;
  color: #302707;
  background: #ffd65a;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 5px 0 #d2a916;
}

.pokemon-secondary-link {
  border-color: #6950cc;
  color: #fff;
  background: #7456e8;
  box-shadow: 0 5px 0 #513aaf;
}

.pokemon-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.pokemon-choice-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 24px;
  border: 1px solid #dedbea;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(65, 62, 103, .08);
}

.pokemon-choice-card.no-id {
  border-color: #ead173;
  background: #fffaf0;
}

.pokemon-choice-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: #7456e8;
  font-size: 20px;
  font-weight: 900;
}

.pokemon-choice-card.no-id .pokemon-choice-icon {
  color: #483906;
  background: #ffd65a;
}

.pokemon-choice-card h2 {
  margin: 0 0 7px;
  color: #292540;
  font-size: 21px;
}

.pokemon-choice-card p:not(.info-kicker) {
  margin: 0;
  color: #66667a;
  line-height: 1.55;
}

.pokemon-account-steps .guide-steps a {
  display: inline-flex;
  margin-top: 7px;
  color: #5942bd;
  font-size: 12px;
  font-weight: 850;
}

.pokemon-official-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr);
  gap: 24px;
  padding: 28px;
  border: 1px solid #dcd7f1;
  border-radius: 20px;
  background: #f5f2ff;
}

.pokemon-official-note h2 {
  margin: 0 0 8px;
  color: #292540;
  font-size: 27px;
}

.pokemon-official-note p:not(.info-kicker) {
  margin: 0;
  color: #68617c;
  line-height: 1.55;
}

.pokemon-official-actions {
  display: grid;
  align-content: center;
  gap: 8px;
}

.pokemon-official-actions a {
  padding: 11px 13px;
  border: 1px solid #d7d0f4;
  border-radius: 10px;
  color: #543db4;
  background: #fff;
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
}

/* Guides de comptes Lorcana, Riftbound et Magic. */
.tcg-account-hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(75, 159, 216, .23), transparent 16rem),
    radial-gradient(circle at 72% 88%, rgba(255, 214, 90, .24), transparent 14rem),
    linear-gradient(135deg, #fff 7%, #f1edff 64%, #edf9ff);
}

.tcg-guide-shortcuts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 27px;
}

.tcg-guide-shortcuts a {
  display: grid;
  gap: 2px;
  padding: 13px 14px;
  border: 1px solid #d8d1ef;
  border-radius: 13px;
  color: #292540;
  background: rgba(255, 255, 255, .82);
  text-decoration: none;
  box-shadow: 0 7px 18px rgba(63, 53, 106, .08);
}

.tcg-guide-shortcuts a.is-selected,
.tcg-guide-shortcuts a[aria-selected="true"] {
  border-color: #7456e8;
  background: #7456e8;
  box-shadow: 0 7px 0 #5038ad, 0 13px 22px rgba(80, 56, 173, .18);
  transform: translateY(-2px);
}

.tcg-guide-shortcuts a.is-selected strong,
.tcg-guide-shortcuts a[aria-selected="true"] strong,
.tcg-guide-shortcuts a.is-selected span,
.tcg-guide-shortcuts a[aria-selected="true"] span {
  color: #fff;
}

.tcg-guide-shortcuts strong {
  font-size: 13px;
}

.tcg-guide-shortcuts span {
  color: #6049bd;
  font-size: 10px;
  font-weight: 800;
}

.tcg-account-guide {
  position: relative;
  overflow: hidden;
  scroll-margin-top: 125px;
  border-top: 7px solid var(--account-color);
}

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

.tcg-account-guide h2:focus {
  outline: none;
}

.tcg-account-guide::after {
  position: absolute;
  top: -55px;
  right: -55px;
  width: 155px;
  height: 155px;
  border-radius: 50%;
  background: var(--account-color);
  content: "";
  opacity: .08;
}

.tcg-account-guide.is-onepiece { --account-color: #e84c55; }
.tcg-account-guide.is-lorcana { --account-color: #7456e8; }
.tcg-account-guide.is-riftbound { --account-color: #e8873f; }
.tcg-account-guide.is-magic { --account-color: #3e75b9; }

.tcg-guide-intro {
  max-width: 720px;
  margin: 0;
  color: #66667a;
  line-height: 1.6;
}

.tcg-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 25px;
}

.tcg-guide-actions a {
  display: inline-flex;
  min-height: 43px;
  padding: 10px 14px;
  align-items: center;
  gap: 8px;
  border: 1px solid #d8d1ef;
  border-radius: 11px;
  color: #5942bd;
  background: #f7f5ff;
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
}

.tcg-guide-actions .tcg-signup-link {
  border-color: var(--account-color);
  color: #fff;
  background: var(--account-color);
}

.tcg-account-warning {
  display: block;
}

.tcg-account-warning strong {
  display: block;
  margin-bottom: 5px;
}

.platform-card {
  display: flex;
  flex-direction: column;
  border-top: 6px solid var(--platform-color);
}

.platform-bandai { --platform-color: #e84c55; }
.platform-ravensburger { --platform-color: #7456e8; }
.platform-riftbound { --platform-color: #e8873f; }
.platform-pokemon { --platform-color: #e2b51d; }
.platform-magic { --platform-color: #3e75b9; }

.platform-card h3 {
  font-size: 23px;
}

.platform-card ol {
  margin: 18px 0 0;
  padding-left: 20px;
  color: #5f6073;
}

.platform-card li {
  margin-bottom: 9px;
  padding-left: 3px;
  line-height: 1.5;
}

.help-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  padding: 28px;
  align-items: center;
}

.help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.help-actions a {
  display: inline-flex;
  min-height: 42px;
  padding: 10px 14px;
  align-items: center;
  border-radius: 11px;
  color: #fff;
  background: #634bc8;
  font-weight: 850;
  text-decoration: none;
}

.help-actions a:last-child {
  color: #3c330f;
  background: #ffd65a;
}

.info-footer {
  display: flex;
  padding: 30px max(20px, calc((100vw - 1100px) / 2));
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #e1e2ed;
  background: #fff;
}

.info-footer p {
  margin: 0;
  color: #6a6b7d;
}

.info-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.info-footer a {
  color: #5846b4;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

@media (max-width: 1050px) {
  .social-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 850px) {
  .info-header-inner {
    width: min(100% - 28px, 700px);
    padding: 10px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .info-page-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .info-nav-button {
    flex: 0 0 auto;
  }

  .contact-grid,
  .social-grid,
  .platform-grid {
    grid-template-columns: 1fr;
  }

  .contact-card,
  .social-card {
    min-height: 0;
  }

  .location-panel,
  .help-panel,
  .pokemon-official-note {
    grid-template-columns: 1fr;
  }

  .location-panel .card-action {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .info-main {
    width: min(100% - 28px, 520px);
    padding: 30px 0 62px;
  }

  .info-hero {
    min-height: 300px;
    border-radius: 21px;
  }

  .info-hero h1 {
    font-size: clamp(39px, 13vw, 54px);
    letter-spacing: -2.3px;
  }

  .info-hero-text {
    font-size: 15px;
  }

  .info-section {
    margin-top: 42px;
  }

  .booking-paths {
    grid-template-columns: 1fr;
  }

  .pokemon-choice-grid {
    grid-template-columns: 1fr;
  }

  .tcg-guide-shortcuts {
    grid-template-columns: 1fr;
  }

  .info-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .info-brand {
    font-size: 14px;
  }

  .info-brand img {
    width: 40px;
    height: 40px;
  }
}

/* Source: admin-dashboard.css */
/* Tableau de bord ergonomique : vue d’ensemble, navigation et filtres. */
.admin-modal[open] {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "title"
    "intro"
    "overview"
    "navigation"
    "create"
    "events"
    "reports"
    "tools"
    "audit";
}

.admin-modal > .modal-close {
  grid-column: 1;
}

.admin-modal > h2 {
  color: #201d35;
  font-size: clamp(38px, 4vw, 54px);
  letter-spacing: -2px;
}

.admin-modal > .admin-intro {
  min-height: 22px;
  padding-left: 13px;
  border-left: 3px solid #ffd65a;
  line-height: 1.55;
}

.external-registration-admin-help {
  display: block;
  margin-top: 6px;
  color: #6e687e;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.45;
}

.admin-overview {
  grid-area: overview;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-overview-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  min-width: 0;
  padding: 13px;
  align-items: center;
  gap: 11px;
  border: 1px solid #e1e2ed;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(58, 55, 91, .07);
}

.admin-overview-card b {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, #8067ed, #5941bd);
  font-size: 18px;
}

.admin-overview-card span {
  color: #656477;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
}

.admin-overview-card.is-active b { background: linear-gradient(145deg, #43b889, #238260); }
.admin-overview-card.is-hidden b { background: linear-gradient(145deg, #e9ae3d, #bc7422); }
.admin-overview-card.is-booking b { background: linear-gradient(145deg, #56aee5, #3978bc); }

.admin-section-nav {
  position: sticky;
  z-index: 15;
  top: -1px;
  grid-area: navigation;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border: 1px solid #dddbea;
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 25px rgba(54, 50, 82, .1);
  backdrop-filter: blur(14px);
}

.admin-section-nav button {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  padding: 9px 12px;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #373348;
  text-align: left;
  cursor: pointer;
}

.admin-section-nav button:hover,
.admin-section-nav button:focus-visible,
.admin-section-nav button[aria-pressed="true"] {
  background: #eeeaff;
  color: #4934a7;
}

.admin-nav-index {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  color: #5b46b7;
  background: #e2dcff;
  font-size: 10px;
  font-weight: 900;
}

.admin-nav-copy {
  display: block;
  min-width: 0;
}

.admin-section-nav b,
.admin-section-nav small {
  display: block;
  min-width: 0;
}

.admin-section-nav b {
  font-size: 13px;
}

.admin-section-nav small {
  margin-top: 2px;
  overflow: hidden;
  color: #777487;
  font-size: 9px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-modal > #eventForm,
.admin-modal > #adminEvents,
.admin-modal > .event-report-folder,
.admin-modal > .admin-tools-row,
.admin-modal > .admin-audit-panel {
  scroll-margin-top: 88px;
}

.admin-modal > #eventForm {
  padding: 0;
  overflow: hidden;
}

.admin-modal > #eventForm::before {
  display: none;
}

.admin-editor-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  margin: 0;
  padding: 18px 20px;
  align-items: center;
  gap: 18px;
  border: 0;
  border-bottom: 1px solid #e4e2ed;
  background: linear-gradient(135deg, #f5f2ff, #fffdf6);
  color: #302b47;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-editor-header:hover,
.admin-editor-header:focus-visible {
  background: linear-gradient(135deg, #eee9ff, #fff9e9);
  outline: none;
}

.admin-editor-heading strong,
.admin-editor-heading small {
  display: block;
}

.admin-editor-heading strong {
  font-size: 20px;
  line-height: 1.2;
}

.admin-editor-heading small {
  margin-top: 5px;
  color: #777284;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}

.admin-editor-toggle-label {
  display: inline-flex;
  min-height: 38px;
  padding: 8px 12px;
  align-items: center;
  gap: 10px;
  border: 1px solid #d1c9ed;
  border-radius: 10px;
  background: #fff;
  color: #523fa7;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.admin-editor-chevron {
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .18s ease, margin .18s ease;
}

.admin-editor-header[aria-expanded="true"] .admin-editor-chevron {
  margin-top: 4px;
  transform: rotate(225deg);
}

.admin-editor-content {
  padding: 20px;
}

.admin-editor-content > .admin-form-help {
  margin: 0 0 18px;
}

.admin-form-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.admin-form-column {
  display: grid;
  min-width: 0;
  gap: 20px;
}

.admin-form-section {
  min-width: 0;
  padding: 16px;
  border: 1px solid #e3e2ec;
  border-radius: 14px;
  background: #fcfcff;
}

.admin-form-section > .admin-form-section-heading {
  margin: 0 0 13px;
  padding: 0;
  border-top: 0;
}

.admin-form-columns + .admin-publishing-section {
  margin-top: 20px;
}

.admin-editor-content[hidden] {
  display: none;
}

.admin-modal > #eventForm.is-collapsed .admin-editor-header {
  border-bottom: 0;
}

.admin-modal > #eventForm.is-editing .admin-editor-header {
  background: linear-gradient(135deg, #eee9ff, #fff);
}

.admin-form-help {
  margin: -8px 0 18px;
  color: #777586;
  font-size: 11px;
  line-height: 1.45;
}

.admin-form-section-heading {
  display: grid;
  margin: 20px 0 13px;
  padding-top: 17px;
  gap: 3px;
  border-top: 1px solid #e5e4ed;
}

.admin-form-help + .admin-form-section-heading {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.admin-form-section-heading strong {
  color: #383150;
  font-size: 13px;
}

.admin-form-section-heading span {
  color: #7a7789;
  font-size: 10px;
  line-height: 1.4;
}

.admin-modal #eventForm label {
  color: #625f74;
  font-weight: 650;
}

.admin-modal #eventForm input:not([type="checkbox"]):not([type="file"]),
.admin-modal #eventForm select,
.admin-modal #eventForm textarea {
  min-height: 44px;
  border-color: #d9dbe7;
  background: #fff;
}

.admin-modal #eventForm input:focus,
.admin-modal #eventForm select:focus,
.admin-modal #eventForm textarea:focus {
  border-color: #8069df;
  box-shadow: 0 0 0 3px rgba(116, 86, 232, .12);
}

.admin-publishing-section {
  margin: 20px 0 5px;
  overflow: hidden;
  border: 1px solid #d9d2f5;
  border-radius: 15px;
  background: #fff;
}

.admin-publishing-section > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding: 14px;
  align-items: center;
  gap: 10px;
  color: #403663;
  background: linear-gradient(135deg, #f5f2ff, #fffdf5);
  cursor: pointer;
  list-style: none;
}

.admin-publishing-section > summary::-webkit-details-marker { display: none; }

.admin-publishing-section > summary strong,
.admin-publishing-section > summary small {
  display: block;
}

.admin-publishing-section > summary strong { font-size: 13px; }

.admin-publishing-section > summary small {
  margin-top: 3px;
  color: #756e86;
  font-size: 9px;
  line-height: 1.35;
}

.admin-publishing-section > summary::after {
  width: 8px;
  height: 8px;
  margin: -4px 3px 0;
  border-right: 2px solid #66588d;
  border-bottom: 2px solid #66588d;
  content: "";
  transform: rotate(45deg);
  transition: transform .18s ease, margin .18s ease;
}

.admin-publishing-section[open] > summary::after {
  margin-top: 4px;
  transform: rotate(225deg);
}

.admin-publishing-badge {
  padding: 5px 8px;
  border-radius: 999px;
  color: #236c50;
  background: #ddf4e9;
  font-size: 9px;
  font-weight: 850;
  white-space: nowrap;
}

.admin-publishing-badge.is-warning {
  color: #96601d;
  background: #fff0d5;
}

.admin-publishing-badge.is-off {
  color: #6e6d79;
  background: #ececf1;
}

.admin-publishing-content {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.admin-publishing-content > * {
  min-width: 0;
  margin: 0 !important;
}

.admin-publishing-content .social-network-panel {
  height: auto;
}

.admin-modal > .admin-tools-row.account-security-enabled {
  grid-template-columns: minmax(0, 1.3fr) minmax(250px, .7fr);
}

.admin-modal > .admin-tools-row.account-security-enabled .vacation-panel {
  grid-column: 1;
  grid-row: 1;
}

.admin-modal > .admin-tools-row.account-security-enabled .account-security-panel {
  grid-column: 2;
  grid-row: 1;
}

.admin-modal > .admin-tools-row.account-security-enabled .video-studio-launcher {
  grid-column: 1 / -1;
  grid-row: 2;
}

.admin-events-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(160px, .55fr) auto;
  grid-column: 1 / -1;
  gap: 9px;
  align-items: end;
  margin: 8px 0 2px;
  padding: 12px;
  border: 1px solid #e2e0ee;
  border-radius: 13px;
  background: #f5f3fb;
}

.admin-events-toolbar label {
  display: grid;
  gap: 5px;
  color: #666376;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.admin-events-toolbar input,
.admin-events-toolbar select {
  min-width: 0;
  min-height: 40px;
  margin: 0;
  border-color: #d8d8e4;
  background: #fff;
  color: #302d43;
  font-size: 12px;
}

.admin-filter-result {
  padding: 0 3px 11px;
  color: #6f6c7d;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.admin-filter-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px;
  border: 1px dashed #cfccdc;
  border-radius: 13px;
  color: #6f6c7d;
  background: #fff;
  text-align: center;
  font-size: 12px;
}

.admin-modal .admin-row {
  border-top: 4px solid #37a878;
}

.admin-modal .admin-row.is-inactive { border-top-color: #b08aea; }
.admin-modal .admin-row.is-ended-admin { border-top-color: #a5a5af; }

.admin-modal > #adminEvents {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-modal .admin-actions button {
  min-height: 38px;
  font-weight: 750;
}

.admin-modal .admin-actions [data-admin-action="edit"] {
  color: #4f3dab;
  background: #eeeaff;
}

.admin-modal .admin-actions [data-admin-action="delete"] {
  border: 1px solid #f1c5cd;
  color: #a33b50;
  background: #fff7f8;
}

@media (max-width: 1050px) {
  .admin-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .admin-modal > #adminEvents {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .admin-form-columns {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 800px) {
  html:has(.admin-modal[open]),
  body:has(.admin-modal[open]) {
    width: 100%;
    overflow: hidden;
  }

  .admin-modal[open] {
    position: fixed;
    inset: 8px;
    display: block;
    width: auto;
    max-width: none;
    height: auto;
    max-height: none;
    margin: 0;
    padding: 18px 14px 26px;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 21px;
    overscroll-behavior: contain;
  }

  .admin-modal > .modal-close {
    position: sticky;
    top: 0;
    float: right;
    width: 40px;
    height: 40px;
    margin: 0 0 -40px;
    background: #fff;
  }

  .admin-modal > h2 {
    margin: 7px 0 8px;
    padding-right: 48px;
    font-size: clamp(27px, 8vw, 34px);
    line-height: 1.02;
    letter-spacing: -1.4px;
  }

  .admin-modal > .admin-intro {
    margin: 0 0 15px;
    padding-right: 5px;
    font-size: 12px;
  }

  .admin-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 14px;
  }

  .admin-overview-card {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 10px;
    gap: 8px;
  }

  .admin-overview-card b {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }

  .admin-section-nav {
    top: -1px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 -3px 16px;
    padding: 6px;
    border-radius: 14px;
  }

  .admin-section-nav button {
    display: grid;
    grid-template-columns: 1fr;
    padding: 8px 5px;
    justify-items: center;
    gap: 4px;
    text-align: center;
  }

  .admin-nav-index {
    width: 27px;
    height: 27px;
  }

  .admin-section-nav b { font-size: 10px; }
  .admin-section-nav small { display: none; }

  .admin-modal > #eventForm,
  .admin-modal > #adminEvents,
  .admin-modal > .event-report-folder,
  .admin-modal > .admin-tools-row,
  .admin-modal > .admin-audit-panel {
    width: 100%;
    max-width: 100%;
    margin: 0 0 15px;
    padding: 13px;
  }

  .admin-modal > #eventForm {
    padding: 0;
  }

  .admin-editor-header {
    grid-template-columns: minmax(0, 1fr);
    padding: 15px;
    gap: 12px;
  }

  .admin-editor-toggle-label {
    justify-content: center;
  }

  .admin-editor-content {
    padding: 15px;
  }

  .admin-form-column,
  .admin-form-columns {
    gap: 14px;
  }

  .admin-form-section {
    padding: 13px;
  }

  .admin-modal[data-admin-mobile-view="events"] > #eventForm,
  .admin-modal[data-admin-mobile-view="events"] > .event-report-folder,
  .admin-modal[data-admin-mobile-view="events"] > .admin-tools-row,
  .admin-modal[data-admin-mobile-view="events"] > .admin-audit-panel,
  .admin-modal[data-admin-mobile-view="editor"] > #adminEvents,
  .admin-modal[data-admin-mobile-view="editor"] > .event-report-folder,
  .admin-modal[data-admin-mobile-view="editor"] > .admin-tools-row,
  .admin-modal[data-admin-mobile-view="editor"] > .admin-audit-panel,
  .admin-modal[data-admin-mobile-view="tools"] > #eventForm,
  .admin-modal[data-admin-mobile-view="tools"] > #adminEvents {
    display: none;
  }

  .admin-events-toolbar {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .admin-modal > #adminEvents {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-filter-result {
    padding: 0;
    white-space: normal;
  }

  .admin-modal .admin-row {
    width: 100%;
    max-width: 100%;
    padding: 13px;
    overflow: hidden;
  }

  .admin-modal .admin-row *,
  .admin-modal .event-reservations *,
  .admin-modal .publishing-admin-status * {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .admin-modal .admin-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .admin-modal .admin-actions button {
    width: 100%;
    margin: 0;
  }

  .social-reminder-row,
  .social-reminder-row.network-count-1 {
    grid-template-columns: minmax(0, 1fr);
  }

  .social-reminder-heading {
    grid-row: auto;
  }

  .publishing-admin-status .publication-network-status {
    text-align: left;
    text-overflow: initial;
    white-space: normal;
  }

  .admin-modal > .admin-tools-row.account-security-enabled {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-modal > .admin-tools-row.account-security-enabled .vacation-panel,
  .admin-modal > .admin-tools-row.account-security-enabled .account-security-panel,
  .admin-modal > .admin-tools-row.account-security-enabled .video-studio-launcher {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 430px) {
  .admin-modal[open] {
    inset: 5px;
    padding: 15px 10px 22px;
    border-radius: 18px;
  }

  .admin-overview-card span { font-size: 10px; }

  .admin-publishing-section > summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .admin-publishing-badge {
    grid-column: 1;
    justify-self: start;
  }

  .admin-publishing-section > summary::after {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}
