/* Shared surfaces for the club's floating windows. */
:root{--window-paper:#f3e6cf;--window-ink:#33281f;--window-muted:#756250;--window-accent:#a9432d;--window-radius:28px}
#modal,.club-window section{border:0;border-radius:var(--window-radius);color:var(--window-ink);background:var(--window-paper);box-shadow:0 32px 90px #0008,0 5px 0 #b99a75;overflow:hidden}
#modal{padding:0;width:min(880px,calc(100% - 40px));max-height:90dvh;overflow-y:auto}
#modal::backdrop{background:#17130fba;backdrop-filter:blur(12px)}
.modal-head,.club-window-head{position:relative;background:linear-gradient(125deg,#ac4e34,#713522);color:#fff2df;border:0;padding:24px 30px;gap:24px}
.modal-head:after,.club-window-head:after{content:'';position:absolute;inset:auto 30px 0;height:5px;background:repeating-linear-gradient(90deg,#f3e6cf 0 18px,transparent 18px 28px);opacity:.38;pointer-events:none}
.modal-head #modal-label{color:#ffedd4;font-size:15px;line-height:1.5;letter-spacing:.025em}
.modal-head button,.club-window-head>button{width:44px;min-width:44px;height:44px;min-height:44px;border:0;border-radius:50%;background:#3e221d80;color:#fff2df;display:grid;place-items:center;font-size:28px;line-height:1}
.modal-head button:hover,.club-window-head>button:hover{background:#3e221d}
#modal-body{padding:30px 36px 38px}
#modal h2,#modal h3,.club-window h2,.club-window h3{color:inherit}
#modal p,#modal .meta,#modal .privacy-note{color:var(--window-muted)}
#modal .eyebrow{color:var(--window-accent)}
#modal .btn{border:0;border-radius:999px;background:var(--window-accent);color:#fff4e5;min-height:46px;padding:12px 22px}
#modal .btn.secondary{background:#dfceb3;color:var(--window-ink)}
#modal .text-link{color:var(--window-accent)}
#modal :is(input,textarea,select){border:0!important;border-radius:14px!important;background:#fff9ef!important;color:var(--window-ink)!important;box-shadow:inset 0 2px 5px #60452e12}
#modal .track-row{border-color:#b7a08455;color:var(--window-ink)}
#modal .track-row:hover,#modal .search-result:hover{background:#dfceb34d}
#modal .search-result,#modal .calendar-options>div{color:var(--window-ink);border-color:#b7a08455}
#modal .material-detail-cover{width:calc(100% + 72px);margin:-30px -36px 28px}
.club-window{width:390px;color:var(--window-ink)}
.club-window section{margin-bottom:16px;max-height:min(690px,calc(100dvh - 120px))}
.club-window-head{padding:24px 24px 23px;align-items:center}
.club-window-head .eyebrow{color:#f2c6a0;font-size:10px!important;letter-spacing:.17em}
.club-window-head h2{margin:7px 0 0;font-size:43px;color:#fff2df;line-height:1}
.club-window-launch{width:auto;min-width:240px;padding:15px 22px;border:0;border-radius:999px;background:#ae4c32;color:#fff1dc;box-shadow:0 14px 35px #0005,0 3px 0 #6a3325;gap:14px}
.club-window-launch small{color:#ffe1bb;font-size:12px;opacity:1;letter-spacing:0}
.window-beacon{background:#f1bf83;box-shadow:0 0 0 6px #f1bf831f}
.club-window nav{padding:17px 20px 8px;gap:8px;border:0;background:transparent}
.club-window nav button{border:0;border-radius:999px;background:#e2d1b5;color:#756250;padding:12px 14px;min-height:46px;font-size:14px;line-height:1.25}
.club-window nav button:hover{background:#d6c09d}
.club-window nav button[aria-pressed=true]{background:#40352b;color:#fff2df;border:0}
#club-window-feed{padding:14px 22px 22px;min-height:110px;color:var(--window-ink);overflow-y:auto;overscroll-behavior:contain}
.window-welcome{padding:20px 5px 22px;text-align:left}
.window-welcome h3{font:38px/1.1 'Anima Display',sans-serif;margin-bottom:14px}
.window-welcome p{font-size:15px;line-height:1.7;color:var(--window-muted);max-width:28ch}
.window-message{padding:16px 0;border-color:#b7a08455}
.window-message strong{color:var(--window-ink)}
.window-message p{color:var(--window-ink);font-size:15px;line-height:1.65}
.window-message time,.window-message-actions{color:var(--window-muted)}
.window-message-actions button{color:var(--window-accent)}
.club-window form{padding:0 18px 14px;border:0;gap:9px;background:transparent}
.club-window textarea{border:0!important;border-radius:17px!important;background:#fffbf3!important;box-shadow:inset 0 2px 5px #60452e14;color:var(--window-ink)!important;padding:13px!important;min-height:70px;font-size:16px!important}
.club-window textarea::placeholder{color:#9a826c}
.club-window form>button{border-radius:999px;background:var(--window-accent);color:#fff2df;min-height:46px;padding:12px 14px}
#club-window-status{padding:0 22px;color:var(--window-accent);font-size:13px;background:transparent}
#club-window-status:empty{display:none}
.club-window footer{background:#e7d6ba;color:var(--window-muted);padding:16px 22px!important;gap:18px;border:0}
.club-window footer :is(a,button){color:var(--window-ink);font-size:12px!important;text-decoration:none}
.club-window footer :is(a,button):hover{text-decoration:underline}
@media(max-width:760px){
 :root{--window-radius:24px}
 #modal{width:calc(100% - 24px);max-height:calc(100dvh - 32px)}
 .modal-head{padding:20px 22px}
 #modal-body{padding:25px 24px 30px}
 #modal .material-detail-cover{width:calc(100% + 48px);margin:-25px -24px 24px}
 .club-window{right:12px;bottom:calc(82px + env(safe-area-inset-bottom));width:calc(100% - 24px);max-width:390px}
 .club-window-open .club-window{width:calc(100% - 24px)}
 .club-window section{width:100%;max-height:calc(100dvh - 180px - env(safe-area-inset-bottom));margin-bottom:12px}
 .club-window-launch{min-width:0;min-height:58px;padding:12px 18px}
 .club-window-launch small{font-size:11px}
 .club-window-head{padding:20px 22px}
 .club-window-head h2{font-size:38px}
 .club-window nav{padding:14px 16px 7px}
 .club-window nav button{font-size:13px}
 #club-window-feed{padding:12px 20px 20px}
 .window-welcome{padding:15px 3px}
 .window-welcome h3{font-size:33px}
}
