/* book.duspadel.com v3 · dark only (Club mode): DUS Black #212223 ground, DUS White #F2F1EB type. No yellow.
   One grid (20px gutters, 8px gap) so every row shares edges. Type scale: 12 · 14 · 17 · 24 · 32/40. Tap targets ≥ 44px. */
:root{--bk:#212223;--wt:#F2F1EB;--m:rgba(242,241,235,.64);--l:rgba(242,241,235,.14);--li:rgba(242,241,235,.32);--c:rgba(242,241,235,.06);--c2:rgba(242,241,235,.1);
  --r:14px;--g:8px;--ease:cubic-bezier(.2,.8,.2,1);
  --f:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue",Arial,sans-serif;--fd:-apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue",Arial,sans-serif}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-padding-top:84px;scroll-padding-bottom:120px}
html,body{background:var(--bk);color:var(--wt);font-family:var(--f);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
body{min-height:100vh;padding-bottom:calc(120px + env(safe-area-inset-bottom))}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
a{color:inherit;text-decoration:none}
ul{list-style:none}
:focus{outline:none}:focus-visible{outline:2px solid var(--wt);outline-offset:2px;border-radius:10px}
.hidden{display:none!important}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:12px;top:-60px;z-index:50;background:var(--wt);color:var(--bk);padding:10px 14px;border-radius:10px;font-size:14px}
.skip:focus{top:12px}

/* header */
.top{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;height:68px;padding:0 20px;background:rgba(33,34,35,.92);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid var(--l)}
.top img{display:block;height:26px;width:auto}
.brand{display:flex;align-items:center;min-height:44px}
.pill{display:inline-flex;align-items:center;gap:7px;height:44px;padding:0 16px;border:1px solid var(--li);border-radius:999px;font-size:14px;transition:background .15s}
.pill svg{width:16px;height:16px}.pill:active{background:var(--c2)}

main{max-width:560px;margin:0 auto;padding:0 20px}
.hero{padding:24px 0 16px}
h1{font-family:var(--fd);font-size:40px;line-height:1.02;letter-spacing:-.035em;font-weight:600}
.sub{margin-top:8px;font-size:17px;line-height:1.35;color:var(--m);letter-spacing:-.01em}
.whats{display:inline-flex;align-items:center;gap:4px;min-height:44px;font-size:14px;color:var(--wt);margin-top:2px}
.whats svg{width:14px;height:14px;opacity:.7;transition:transform .2s var(--ease)}.whats:hover svg{transform:translateX(2px)}
.hint{font-size:12px;color:var(--m);margin-top:10px}

/* days: 7 equal columns */
.days{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin-bottom:var(--g)}
.day{min-height:62px;border-radius:12px;background:var(--c);border:1px solid var(--l);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;transition:background .15s,color .15s,transform .12s}
.day:active{transform:scale(.96)}
.day .w{font-size:12px;color:var(--m)}
.day .d{font-size:17px;font-weight:600;letter-spacing:-.02em}
.day.on{background:var(--wt);color:var(--bk);border-color:var(--wt)}.day.on .w{color:rgba(33,34,35,.7)}

/* toggles */
.toggles{display:grid;grid-template-columns:1fr 1fr;gap:var(--g)}
.seg{display:grid;grid-template-columns:1fr 1fr;background:var(--c);border:1px solid var(--l);border-radius:12px;padding:3px;min-height:50px}
.seg button{border-radius:9px;font-size:14px;color:var(--m);transition:background .18s var(--ease),color .18s}
.seg button.on{background:var(--wt);color:var(--bk);font-weight:600}

/* times */
#times{min-height:220px}
.group{margin-top:22px}
.group h2{font-size:12px;font-weight:500;color:var(--m);margin-bottom:var(--g);letter-spacing:.01em}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--g)}
.time{min-height:76px;border-radius:var(--r);background:var(--c);border:1px solid var(--l);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:8px 4px;transition:background .15s,color .15s,transform .12s,border-color .15s}
.time:active{transform:scale(.97)}
.time .op{font-size:11px;display:flex;align-items:center;gap:5px;margin-bottom:3px;height:14px}
.time .op.none{visibility:hidden}
.time .op i,.legend i{width:5px;height:5px;border-radius:50%;background:currentColor;display:inline-block}
.time .l{font-size:17px;font-weight:600;letter-spacing:-.02em}
.time .p{font-size:14px;color:var(--m);letter-spacing:-.01em;margin-top:3px}
.time.on .p{color:rgba(33,34,35,.72)}
.time .e{font-weight:400;color:var(--m)}
.time.on{background:var(--wt);color:var(--bk);border-color:var(--wt)}.time.on .e{color:rgba(33,34,35,.7)}
.legend{font-size:12px;color:var(--m);margin-top:12px;display:flex;align-items:center;gap:6px}
.legend i{color:var(--wt)}
.skel{min-height:76px;border-radius:var(--r);background:linear-gradient(90deg,var(--c) 0%,var(--c2) 50%,var(--c) 100%);background-size:200% 100%;animation:sh 1.2s linear infinite}
.skel-h{height:12px;width:70px;border-radius:6px;background:var(--c);margin:22px 0 var(--g)}
@keyframes sh{to{background-position:-200% 0}}
.state{padding:28px 0;font-size:14px;line-height:1.5;color:var(--m)}
.state strong{color:var(--wt);font-weight:600;display:block;font-size:17px;margin-bottom:4px}
.state .row{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.btn2{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border:1px solid var(--li);border-radius:999px;font-size:14px;color:var(--wt)}
.app-row{display:flex;align-items:center;gap:10px;min-height:44px;margin-top:22px;font-size:14px;color:var(--m)}
.app-row img{border-radius:8px;flex:none}
.app-row u{color:var(--wt);text-underline-offset:3px}

/* step 2 */
.back{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:14px;color:var(--m);margin-top:12px}
#pay-title{font-size:32px;margin-top:2px}#pay-title:focus{outline:none}
.pay-sub{font-size:17px;color:var(--m);margin:6px 0 26px;letter-spacing:-.01em}
.total{display:flex;justify-content:space-between;align-items:center;margin:20px 0 26px;padding:16px;border-radius:var(--r);background:var(--c);border:1px solid var(--l)}
.total .k{font-size:14px;color:var(--m)}.total .v{font-size:24px;font-weight:600;letter-spacing:-.02em;text-align:right}
.total .s{display:block;font-size:12px;font-weight:400;color:var(--m);letter-spacing:0;margin-top:2px}
.label{font-size:12px;font-weight:500;color:var(--m);margin-bottom:var(--g);letter-spacing:.01em}
.courts{display:flex;flex-direction:column;gap:var(--g);margin-bottom:22px}
.court{display:flex;justify-content:space-between;align-items:center;min-height:60px;padding:10px 16px;border-radius:var(--r);background:var(--c);border:1px solid var(--l);text-align:left;transition:border-color .15s,background .15s}
.court .nm{font-weight:600;letter-spacing:-.01em;display:block;font-size:17px}.court .meta{font-size:12px;color:var(--m);display:block;margin-top:2px}
.court .tick{width:22px;height:22px;border-radius:50%;border:1.5px solid var(--li);flex:none;transition:all .15s}
.court.on{border-color:var(--wt);background:var(--c2)}.court.on .tick{background:var(--wt);box-shadow:inset 0 0 0 5px var(--bk);border-color:var(--wt)}
.card{background:var(--c);border:1px solid var(--l);border-radius:var(--r);padding:4px 16px 16px}
.summary .row{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:12px 0;border-bottom:1px solid var(--l);font-size:14px}
.summary .k{color:var(--m)}.summary .v{text-align:right}
.summary .row{align-items:center}.summary .row.tot{border-bottom:0;padding-bottom:10px}.summary .row.tot .v{font-size:24px;font-weight:600;letter-spacing:-.02em}
.summary .s{display:block;font-size:12px;font-weight:400;color:var(--m);letter-spacing:0}
.party{font-size:14px;line-height:1.45;color:var(--wt);margin:20px 0 2px}
.secure{display:flex;align-items:center;gap:10px;font-size:14px;line-height:1.45;color:var(--m);margin-top:16px}
.secure img{border-radius:5px;flex:none}
.secure svg{width:14px;height:14px;flex:none;margin-top:1px}
.howto{margin:16px 0 0;font-size:14px;line-height:1.5;color:var(--m)}
.desk-only{display:none}

/* sticky bar (phones; on desktop the pay card holds the action) */
.bar{position:fixed;left:0;right:0;bottom:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 20px calc(12px + env(safe-area-inset-bottom));background:rgba(33,34,35,.95);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-top:1px solid var(--l);animation:barIn .25s var(--ease)}
@keyframes barIn{from{transform:translateY(100%)}}
.bar-info{display:flex;flex-direction:column;min-width:0;flex:1}
#bar-top{font-weight:600;font-size:17px;letter-spacing:-.02em}#bar-sub{font-size:12px;color:var(--m);margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.primary{flex:none;display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 24px;border-radius:999px;background:var(--wt);color:var(--bk);font-weight:600;font-size:17px;letter-spacing:-.01em;transition:transform .12s,opacity .15s}
.primary:active{transform:scale(.97)}
.wide{width:100%}
@media(max-width:380px){.primary{padding:0 18px}h1{font-size:36px}}

/* What's DUS: bottom sheet (phones) / centred card (desktop) */
.sheet{position:fixed;inset:0;z-index:30;display:flex;align-items:flex-end;justify-content:center}
.sheet-bg{position:absolute;inset:0;background:rgba(10,10,11,.55);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);animation:fade .3s var(--ease)}
.sheet-card{position:relative;width:100%;max-width:560px;max-height:92vh;overflow:auto;background:#252627;border-radius:24px 24px 0 0;animation:up .38s var(--ease);overscroll-behavior:contain}
@keyframes up{from{transform:translateY(60px);opacity:0}}@keyframes fade{from{opacity:0}}
.sheet-hero{position:relative;height:220px;overflow:hidden}
.sheet-hero img{width:100%;height:100%;object-fit:cover;display:block}
.sheet-x{position:absolute;top:14px;right:14px;width:44px;height:44px;border-radius:50%;background:rgba(33,34,35,.72);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:grid;place-items:center}
.sheet-x svg{width:16px;height:16px}
.sheet-body{padding:22px 20px calc(20px + env(safe-area-inset-bottom))}
.sheet-body h2{font-family:var(--fd);font-size:32px;line-height:1.05;letter-spacing:-.035em;font-weight:600}
.sheet-lede{font-size:17px;color:var(--m);margin:8px 0 12px;line-height:1.35}
.feats{margin-bottom:12px}
.feats li{display:grid;grid-template-columns:64px 1fr;gap:14px;align-items:center;padding:12px 0;border-top:1px solid var(--l);font-size:14px;line-height:1.45;color:var(--m)}
.feats img{width:64px;height:64px;object-fit:cover;border-radius:12px;display:block}
.feat-h{color:var(--wt);font-weight:600;font-size:17px;letter-spacing:-.01em;margin-bottom:2px}
.sheet-more{display:flex;justify-content:center;align-items:center;min-height:44px;margin-top:6px;font-size:14px;color:var(--m);text-decoration:underline;text-underline-offset:3px}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* footer */
.foot{max-width:560px;margin:64px auto 0;padding:36px 20px 28px;border-top:1px solid var(--l);font-size:14px;line-height:1.6;color:var(--m)}
.foot-mark{height:30px;width:auto;display:block;margin-bottom:28px}
.foot-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px 20px}
.foot-h{color:var(--wt);font-weight:600;font-size:14px;margin-bottom:6px}
.foot a{color:var(--m);display:inline-block;padding:2px 0}.foot a:hover{color:var(--wt)}
.foot-link{margin-top:6px;color:var(--wt)!important;text-decoration:underline;text-underline-offset:3px}
.foot-app{display:flex;gap:12px;align-items:center;margin-top:28px;padding:16px;border:1px solid var(--l);border-radius:var(--r)}
.foot-app img{border-radius:9px;flex:none}.foot-app .foot-h{margin-bottom:0}
.foot-app a{color:var(--wt);text-decoration:underline;text-underline-offset:3px}
.fine{margin-top:24px;font-size:12px;color:var(--m)}

/* desktop: two columns; the pay card holds the action */
@media (min-width:960px){
  main{max-width:1080px;padding:0 40px}
  .top{padding:0 max(40px,calc(50% - 500px))}
  .cols:not(.hidden){display:grid;grid-template-columns:400px 1fr;gap:64px;align-items:start}
  .col-a{position:sticky;top:92px}
  #step-time .col-b{padding-top:28px}
  .grid{grid-template-columns:repeat(4,1fr)}
  #step-time .group:first-child{margin-top:0}
  #step-pay .col-b{padding-top:62px}
  .paycard{padding:4px 22px 22px}
  .desk-only{display:flex;margin-top:36px}
  body.paying .bar{display:none}
  .bar{padding-left:max(40px,calc(50% - 500px));padding-right:max(40px,calc(50% - 500px))}
  .foot{max-width:1080px;padding:44px 40px}
  .foot-grid{grid-template-columns:repeat(4,1fr)}
  .sheet{align-items:center}.sheet-card{border-radius:24px;max-width:640px}
  .sheet-hero{height:260px}
}

.primary .out{width:16px;height:16px;margin-left:6px}
