.sv-page, .sv-dialog {
  --sv-text: #f3f1e8;
  --sv-muted: #a4ada4;
  --sv-line: #343c34;
  --sv-surface: #1b211c;
  --sv-gold: #ebc479;
  color: var(--sv-text);
}
.sv-intro { display: block; margin: 0 0 28px; }
.sv-intro h1 { margin: 0; }
.sv-intro p { margin: 8px 0 0; color: var(--sv-muted); font-size: 15px; line-height: 1.5; }
.sv-stack { display: grid; gap: 20px; }
.sv-panel { overflow: hidden; min-width: 0; background: var(--sv-surface); border: 1px solid var(--sv-line); border-radius: 17px; }
.sv-page button, .sv-dialog button, .sv-page input, .sv-dialog input { font: inherit; }
.sv-page button, .sv-dialog button { cursor: pointer; }
.sv-page :where(button, a, input):focus-visible, .sv-dialog :where(button, a, input):focus-visible {
  outline: 2px solid var(--sv-gold); outline-offset: 3px;
}
.sv-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 21px 24px; }
.sv-panel h2, .sv-club-card h2 { margin: 0; color: var(--sv-text); font: 500 25px/1.18 Georgia, 'Times New Roman', serif; letter-spacing: -.025em; }
.sv-panel-head > span, .sv-timezone, .sv-footnote, .sv-event-info small, .sv-availability, .sv-when span, .sv-capacity span, .sv-booked span {
  display: inline-flex; align-items: center; gap: 8px;
}
.sv-panel-head > span, .sv-timezone { font-size: 13px; color: var(--sv-muted); white-space: nowrap; }
.sv-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.sv-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.sv-filter { background: transparent; color: #b6beb5; border: 1px solid var(--sv-line); border-radius: 100px; padding: 9px 16px; line-height: 1.2; }
.sv-filter[aria-pressed="true"] { color: #f2ce89; border-color: #79653e; background: #312d20; }
.sv-filter:hover, .sv-secondary:hover { border-color: #8d7e5c; }
.sv-event { display: flex; align-items: center; gap: 17px; width: 100%; text-align: left; background: transparent; color: var(--sv-text); padding: 16px 24px; border: 0; border-top: 1px solid var(--sv-line); }
.sv-event:hover, .sv-contact:hover { background: #242d24; }
.sv-datebox { display: grid; align-content: center; justify-items: center; flex: 0 0 47px; height: 49px; border: 1px solid #3e493c; background: #232d24; border-radius: 9px; gap: 2px; }
.sv-datebox b { font-size: 19px; line-height: 1; font-weight: 575; color: #e6e9db; }
.sv-datebox small { font-size: 11px; font-weight: 600; text-transform: uppercase; color: #a8b7a5; }
.sv-event-info { display: grid; min-width: 0; gap: 5px; }
.sv-event-info strong { font-size: 17px; font-weight: 600; line-height: 1.3; }
.sv-event-info small { gap: 6px; color: var(--sv-muted); font-size: 13px; }
.sv-event-info small i { width: 3px; height: 3px; border-radius: 50%; background: #7e887d; }
.sv-availability { margin-left: auto; white-space: nowrap; color: #b8c2b5; font-size: 13px; }
.sv-availability.is-mine { color: #b1d49e; }
.sv-chevron { display: flex; color: #899786; }
.sv-footnote { display: block; margin: 0; color: var(--sv-muted); font-size: 13px; line-height: 1.6; }
.sv-footnote svg { vertical-align: -3px; margin-right: 4px; }
.sv-footnote a { color: #d3bb89; text-decoration: underline; text-underline-offset: 3px; }
.sv-table-scroll { overflow-x: auto; }
.sv-table { border-collapse: collapse; width: 100%; color: var(--sv-text); font-variant-numeric: tabular-nums; }
.sv-table thead { background: #171d18; }
.sv-table th, .sv-table td { border-top: 1px solid var(--sv-line); padding: 13px 15px; text-align: left; }
.sv-table thead th { font-size: 13px; font-weight: 500; color: var(--sv-muted); }
.sv-table tbody th { font-size: 16px; font-weight: 550; overflow-wrap: anywhere; }
.sv-table td { font-size: 15px; color: #c1c8bc; }
.sv-table tr > :first-child { width: 76px; padding-left: 24px; }
.sv-table tr > :nth-last-child(-n+2) { text-align: right; }
.sv-table tr > :last-child { padding-right: 24px; }
.sv-table tbody tr > :last-child { color: #e4d5b3; font-weight: 600; }
.sv-place { display: inline-flex; align-items: center; justify-content: center; width: 29px; height: 29px; border-radius: 7px; color: #aeb9aa; font-size: 13px; font-weight: 600; }
.sv-place-1 { color: #f2c56f; background: #3e3524; }
.sv-place-2 { color: #d4d7d0; background: #323933; }
.sv-place-3 { color: #d9ab86; background: #3c3028; }
.sv-identity { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 26px; }
.sv-identity-summary { display: flex; align-items: center; gap: 14px; min-width: 0; }
.sv-identity-summary h2 { overflow-wrap: anywhere; }
.sv-identity-summary p { margin: 6px 0 0; color: var(--sv-muted); font-size: 13px; }
.sv-avatar, .sv-empty-icon, .sv-contact-icon { display: inline-grid; place-items: center; background: #293328; border: 1px solid #3b4739; color: #c4cfad; }
.sv-avatar { width: 54px; height: 54px; flex: 0 0 54px; border-radius: 50%; font: 25px Georgia, serif; }
.sv-nickname-form { flex: 1; max-width: 430px; min-width: 0; }
.sv-label { display: block; width: fit-content; margin-bottom: 8px; color: #c9cfc5; font-size: 14px; font-weight: 500; }
.sv-input-action, .sv-confirm-buttons { display: flex; align-items: stretch; gap: 8px; }
.sv-input { box-sizing: border-box; width: 100%; min-width: 0; min-height: 42px; padding: 10px 12px; color: var(--sv-text); border: 1px solid #455042; background: #141a16; border-radius: 8px; }
.sv-input::placeholder { color: #8d978b; }
.sv-primary, .sv-secondary, .sv-danger { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 9px 16px; border-radius: 9px; line-height: 1.3; }
.sv-primary { background: var(--sv-gold); border: 1px solid var(--sv-gold); color: #201c12; font-weight: 650 !important; }
.sv-primary:hover { background: #f1d29a; }
.sv-secondary { color: #e1dfd4; background: #293028; border: 1px solid #434c40; }
.sv-dialog button:disabled, .sv-page button:disabled { opacity: .6; cursor: wait; }
.sv-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 20px 34px; }
.sv-panel .sv-empty { border-top: 1px solid var(--sv-line); }
.sv-empty-icon { width: 45px; height: 45px; border-radius: 12px; margin-bottom: 14px; }
.sv-empty strong { font-weight: 550; font-size: 17px; }
.sv-empty p { font-size: 14px; color: var(--sv-muted); line-height: 1.5; margin: 6px 0 0; }
.sv-empty button { margin-top: 17px; }
.sv-about-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 18px; }
.sv-club-card { display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #43513e; padding: 30px 20px; border-radius: 17px; text-align: center; background: radial-gradient(ellipse at 50% 35%, #344133 0, #263125 36%, #1a241c 83%); }
.sv-club-card img { object-fit: contain; width: min(112px, 42%); height: 106px; margin-bottom: 19px; }
.sv-club-card p { color: #b5c0ae; font-size: 14px; margin: 8px 0 0; }
.sv-contact { display: flex; align-items: center; gap: 14px; padding: 17px 22px; color: var(--sv-text); border-top: 1px solid var(--sv-line); text-decoration: none; }
.sv-contact > svg { margin-left: auto; flex-shrink: 0; color: #a3ad9c; }
.sv-contact-icon { border-radius: 10px; width: 39px; height: 39px; flex: 0 0 39px; }
.sv-contact-text { display: grid; gap: 5px; min-width: 0; }
.sv-contact-text small { font-size: 13px; color: var(--sv-muted); }
.sv-contact-text strong { font-size: 15px; font-weight: 500; overflow-wrap: anywhere; line-height: 1.45; }
html:has(.sv-dialog[open]) { overflow: hidden; }
.sv-dialog { width: min(470px, calc(100vw - 28px)); max-width: 100%; max-height: calc(100dvh - 34px); overflow: auto; overscroll-behavior: contain; box-sizing: border-box; padding: 26px; margin: auto; border: 1px solid #485144; border-radius: 20px; background: linear-gradient(145deg, #242c23, #1a201b 47%); box-shadow: 0 32px 100px #0008; }
.sv-dialog::backdrop { background: #071009bd; backdrop-filter: blur(5px); }
.sv-dialog[open] { animation: sv-appear 140ms ease-out; }
@keyframes sv-appear { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .sv-dialog[open] { animation: none; } }
.sv-dialog-top, .sv-capacity, .sv-booked { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.sv-dialog-kicker { display: flex; align-items: center; gap: 7px; color: #d6bd84; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.sv-close { display: grid; place-items: center; color: #d6dbd0; border: 1px solid #465042; background: #293228; border-radius: 50%; width: 34px; height: 34px; padding: 0; }
.sv-close:hover { background: #3a4536; }
.sv-dialog > h2 { margin: 14px 0 13px; color: #f3f0e5; font: 500 clamp(31px, 5vw, 40px)/1.07 Georgia, 'Times New Roman', serif; letter-spacing: -.04em; }
.sv-dialog > h2:focus { outline: none; }
.sv-when { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 17px; color: #d4d9ce; font-size: 14px; }
.sv-summary { margin: 18px 0 20px; color: #b4beb0; font-size: 15px; line-height: 1.55; }
.sv-metrics { display: grid; grid-template-columns: 1.15fr 1.15fr .8fr; gap: 5px; padding: 15px 0; margin: 0 0 20px; border-block: 1px solid var(--sv-line); }
.sv-metrics dt { font-size: 12px; color: var(--sv-muted); margin-bottom: 5px; }
.sv-metrics dd { color: #ebe8da; font-size: 15px; font-weight: 600; margin: 0; }
.sv-capacity { font-size: 13px; color: #b7c0b3; }
.sv-capacity strong { color: #e4e6d8; font-weight: 550; }
.sv-progress { display: block; width: 100%; height: 5px; border-radius: 10px; overflow: hidden; border: 0; appearance: none; background: #343e33; color: #a7b696; margin: 9px 0 22px; }
.sv-progress::-webkit-progress-bar { background: #343e33; }
.sv-progress::-webkit-progress-value { background: #a7b696; border-radius: 10px; }
.sv-progress::-moz-progress-bar { background: #a7b696; border-radius: 10px; }
.sv-booking-form .sv-primary { width: 100%; margin-top: 12px; }
.sv-booked { padding: 12px; background: #263427; color: #c5dbb6; border-radius: 9px; font-size: 14px; }
.sv-link { border: 0; background: transparent; color: #c7d0bf; font-size: 13px !important; text-decoration: underline; text-underline-offset: 3px; }
.sv-confirm h3 { margin: 0; font-size: 18px; }
.sv-confirm p { color: var(--sv-muted); margin: 7px 0 15px; line-height: 1.5; font-size: 14px; }
.sv-danger { color: #efd1be; border: 1px solid #715444; background: #3e3027; }
.sv-booking-state { text-align: center; border: 1px solid var(--sv-line); border-radius: 9px; padding: 12px; font-size: 14px; }
.sv-error { color: #f2b7a0; font-size: 13px; line-height: 1.45; }
.sv-error:not(:empty) { margin-top: 10px; }
.sv-demo { color: #a5aea0; font-size: 12px; margin: 17px 0 0; text-align: center; line-height: 1.5; }
@media (max-width: 850px) {
  .sv-about-grid { grid-template-columns: 1fr; }
  .sv-club-card { padding: 22px; }
  .sv-club-card img { height: 76px; margin-bottom: 10px; }
}
@media (max-width: 630px) {
  .sv-intro { margin-bottom: 20px; }
  .sv-panel-head { padding: 18px 15px; }
  .sv-panel h2 { font-size: 23px; }
  .sv-toolbar { align-items: flex-start; }
  .sv-filter { padding: 8px 12px; font-size: 14px !important; }
  .sv-timezone { padding-top: 8px; gap: 4px; }
  .sv-event { gap: 10px; padding: 14px; }
  .sv-event-info strong { font-size: 15px; }
  .sv-event-info small { font-size: 12px; }
  .sv-availability { font-size: 12px; gap: 4px; }
  .sv-chevron { display: none; }
  .sv-datebox { height: 44px; flex-basis: 39px; }
  .sv-table tr > :first-child { width: 49px; padding-left: 14px; }
  .sv-table tr > :last-child { padding-right: 14px; }
  .sv-table th, .sv-table td { padding: 12px 6px; }
  .sv-table tbody th { font-size: 14px; }
  .sv-identity { align-items: stretch; flex-direction: column; gap: 20px; padding: 20px 16px; }
  .sv-nickname-form { max-width: none; }
  .sv-contact { padding: 16px; }
  .sv-dialog { padding: 21px 18px; }
}
@media (max-width: 380px) {
  .sv-event .sv-availability svg { display: none; }
  .sv-dialog .sv-confirm-buttons, .sv-booked { flex-wrap: wrap; }
  .sv-table thead th { font-size: 12px; }
}
