/* Shared light blue theme for the public pages and band room. */
:root{color-scheme:light;--bg:#f4f9ff;--paper:#173650;--orange:#1263ad;--muted:#49657c;--panel:#fff}
body{background:radial-gradient(ellipse at 90% 0,#dceeff,transparent 55%),var(--bg);color:var(--paper)}
header{background:#ffffffed;border-bottom-color:#c5dced}header .logo{color:#173650}header .logo span,header nav a:hover{color:#1263ad}
.hero h1 em{color:#1263ad;text-shadow:none}.hero .intro,.section p{color:#49657c}
.halloween-season{display:none}.hero:after,.band-art:after{display:none}.band-art{border:2px solid #bddcf4;border-radius:10px;overflow:hidden;box-shadow:0 18px 45px #326c9d22}
.button,button,.comment-toggle{background:#1263ad;color:#fff;box-shadow:0 4px 14px #1263ad18}.button:hover,button:hover,.comment-toggle:hover{background:#0b4e8c;color:#fff}
button.secondary,.button.secondary{background:#fff;color:#174e7a;border-color:#a9c9e2;box-shadow:none}button.secondary:hover,.button.secondary:hover{background:#e5f2ff;color:#123f66}
.secondary{color:#174e7a;border-color:#a9c9e2}.ticker{background:#e4f2ff;border-block-color:#c5dced}.ticker span,.number,.eyebrow,.member .member-role{color:#1263ad}
.occasion,.booking,footer,.entry,.song,.comment-entry,.reviews-booking{border-color:#c5dced}.booking{background:#fff;border-radius:12px}.reviews{background:#e9f4ff}.review{background:#fff;border-color:#c5dced;border-radius:10px}.stars{color:#91620a}
.songs{background:#e7f3ff;color:#173650}.songs .section p,.song .artist{color:#49657c}.songs .eyebrow{color:#1263ad}.song small{color:#56778f}
input,select,textarea,.bpm-cell input{background:#fff;color:#173650;border-color:#9fbed6}input:focus,textarea:focus,select:focus,a:focus-visible,button:focus-visible{outline:3px solid #1263ad;outline-offset:3px}
.comment-panel{background:#fff;border-color:#a9c9e2;box-shadow:0 12px 45px #17365022}.comment-notice,.comment-entry time,.comment-limit,footer{color:#49657c}.comment-band{background:#d6ebff;color:#174e7a}#comment-reply{background:#edf6ff}
.card{background:#fff;border-color:#c5dced;box-shadow:0 5px 20px #326c9d08}.tabs button[aria-selected=true]{background:#1263ad;color:#fff}.day{background:#f1f8ff;border-color:#c5dced}.day.today{border-color:#1263ad}.badge{background:#d3ebff;color:#164e7a}.badge.gig{background:#e5e0fa;color:#4f3b87}.error{color:#ab2635}
.attendance{background:#edf6ff}.attendance-row{border-color:#c5dced}.attendance-row button[aria-pressed=true]{background:#1263ad;color:#fff;border-color:#1263ad}
.setlist-card,.setlist-card[data-palette]{--set-accent:#1263ad;--set-tint:#deeeff;background:linear-gradient(135deg,#edf6ff,#fff 70%);border-color:#b8d5ec;box-shadow:0 7px 18px #326c9d12;color:#173650}.setlist-card[data-palette="1"]{--set-accent:#365eab}.setlist-card[data-palette="2"]{--set-accent:#176b74}.setlist-card[data-palette="3"]{--set-accent:#63509d}
.setlist-foot,.setlist-foot button.secondary,.track-resources{border-color:#c5dced}.setlist-foot{background:#f4f9ff}.track-resources{background:#fff}.bpm-cell input{background:#fff;border-color:#a9c9e2}.bpm-cell button{border-color:#a9c9e2}
.memory-photo,.memory-thumbnail{background:#e7f3ff}.memory-thumbnail{border-color:#bddcf4}#memory-viewer{background:#fff;color:#173650;border-color:#a9c9e2}#memory-viewer::backdrop{background:#18395188}
.pdf-grid .pdf-song{background:linear-gradient(135deg,#e7f3ff,#fff);border-color:#bddcf4;box-shadow:0 5px 18px #326c9d12}.pdf-mark{background:#e2f0ff;border-color:#a9c9e2}.pdf-mark:after{background:#c9e3fa;border-color:#a9c9e2}.pdf-song .actions a:first-child{background:#1263ad;color:#fff}
.sticker{background:#dceeff;color:#173650}.label{background:#76b8ee;color:#123f66}

.wish-attachment-icons{display:flex;gap:6px;align-items:center}.wish-attachment-icon{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid #bdd5eb;border-radius:7px;background:#edf6ff;font-size:21px;text-decoration:none}.wish-attachment-icon:hover{background:#d6eaff;border-color:#1263ad}

#panel-wishes .wish-layout{display:flex;flex-direction:column;gap:0}#panel-wishes .wish-summary{order:-1;position:static;width:100%;margin-bottom:0}#panel-wishes .wish-edit-list,#panel-wishes .wish-add{padding:14px 20px;margin:14px 0}#panel-wishes details>summary{cursor:pointer;font-size:15px;font-weight:650;color:#174e7a}#panel-wishes .wish-edit-list .entry{padding:12px 0}#panel-wishes .wish-edit-list h3{font-size:18px}#panel-wishes .wish-summary h2{font-size:24px;margin-bottom:8px}

/* Colorful band-room navigation above the noticeboard. */
.tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0}
.tabs button[data-tab]{--tab-bg:#e4efff;--tab-ink:#245da2;--tab-border:#b5cff3;position:relative;display:flex;gap:14px;justify-content:flex-start;text-align:left;min-height:90px;padding:16px;background:var(--tab-bg);color:var(--tab-ink);border:1px solid var(--tab-border);border-radius:14px;box-shadow:0 4px 12px #17365008;transition:transform .15s,box-shadow .15s;font-size:15px;line-height:1.3}
.tabs button[data-tab=wishes]{--tab-bg:#fff0e2;--tab-ink:#8e4c17;--tab-border:#efc69e}
.tabs button[data-tab=setlists]{--tab-bg:#edeaff;--tab-ink:#5841a3;--tab-border:#c9bdf0}
.tabs button[data-tab=events]{--tab-bg:#def4ee;--tab-ink:#216b58;--tab-border:#a6d6c7}
.tabs button[data-tab=memories]{--tab-bg:#ffe7f0;--tab-ink:#943b61;--tab-border:#ebbbce}
.tabs button[data-tab]:hover{transform:translateY(-2px);background:var(--tab-bg);color:var(--tab-ink);box-shadow:0 7px 18px #17365016}
.tabs button[data-tab][aria-selected=true]{background:var(--tab-bg);color:var(--tab-ink);border:2px solid var(--tab-ink);box-shadow:0 0 0 3px #fff,0 5px 15px #17365014}
.tab-art{display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;border-radius:12px;background:#ffffffb5;transform:rotate(-5deg)}.tab-art svg{width:31px;height:31px}
@media(max-width:800px){.tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.tabs button[data-tab]{min-height:78px}}
@media(max-width:380px){.tabs button[data-tab]{gap:8px;padding:11px;font-size:13px}.tab-art{width:35px;height:35px}.tab-art svg{width:25px;height:25px}}

.note-check{display:flex;align-items:flex-start;gap:9px;margin:9px 0;cursor:pointer;font-size:14px;line-height:1.5}.note-check input{width:20px;height:20px;flex:0 0 20px;margin:1px 0 0;accent-color:#1263ad;cursor:pointer}.note-check span{overflow-wrap:anywhere}.note-check.done span{text-decoration:line-through;opacity:.65}.entry.note .note-content p{margin:6px 0}.note-content .note-bullet{padding-left:6px}

#panel-info>.card:first-child>.tabs{margin:18px 0 10px;padding-bottom:18px;border-bottom:1px solid #c5dced}#panel-info>.card:first-child>.tabs button[data-tab]{min-height:76px;padding:12px;gap:10px}#panel-info>.card:first-child>.tabs .tab-art{width:40px;height:40px}#panel-info>.card:first-child>.tabs .tab-art svg{width:28px;height:28px}

/* Navigation and notes share the same physical cork surface. */
.cork-surface{margin-top:18px;padding:24px 20px 12px;border:9px solid #91623e;border-radius:9px;background-color:#c9955f;background-image:radial-gradient(#70441c38 .8px,transparent 1.5px),radial-gradient(#ffe0ad66 1px,transparent 1.8px),linear-gradient(110deg,#d7a66a55,#a96f3a22);background-size:7px 9px,11px 13px,100% 100%;background-position:0 0,3px 5px,0 0;box-shadow:inset 0 3px 12px #59361355,0 3px 8px #59361322}
.cork-surface>.tabs{margin:0 0 16px;padding:0 3px 20px;border-bottom:1px dashed #70441c55;gap:16px}
.cork-surface .note-grid{background:none;border:0;box-shadow:none;padding:10px 4px 20px;min-height:160px}
.cork-surface .tabs button[data-tab]{border:0;border-radius:3px;min-height:88px;padding:23px 12px 13px;box-shadow:2px 4px 6px #59361355;transform:rotate(-1deg)}
.cork-surface .tabs button[data-tab]:nth-child(even){transform:rotate(1deg)}
.cork-surface .tabs button[data-tab]:before{content:'';position:absolute;top:5px;left:calc(50% - 6px);width:12px;height:12px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#ffd9ce,#bb402d 45%,#772719);box-shadow:1px 2px 3px #59361366}
.cork-surface .tabs button[data-tab]:hover{transform:translateY(-2px);box-shadow:3px 7px 10px #59361355}
.cork-surface .tabs button[data-tab][aria-selected=true]{border:2px solid var(--tab-ink);box-shadow:2px 4px 7px #59361355}
@media(max-width:500px){.cork-surface{padding:20px 10px 8px;border-width:6px}.cork-surface>.tabs{gap:12px}.cork-surface .tabs button[data-tab]{font-size:13px;gap:8px}}

.memory-link-preview{display:flex;align-items:center;gap:12px;margin:12px 0;padding:9px;border:1px solid #b9d2e7;border-radius:9px;background:#edf6ff;color:#173650;text-decoration:none;max-width:100%;min-width:0}.memory-link-preview:hover{background:#deeeff}.memory-link-visual{display:grid;place-items:center;flex:0 0 82px;width:82px;height:62px;background:#d5e8fa;border-radius:6px;overflow:hidden}.memory-link-visual img{width:100%;height:100%;object-fit:cover}.memory-link-fallback{font-size:28px}.memory-link-words{display:flex;flex-direction:column;min-width:0;gap:4px}.memory-link-words strong{font-size:13px;line-height:1.4;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.memory-link-words>span{font-size:11px;color:#49657c}

.memory-gallery .video-preview{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;overflow:hidden;margin:0 0 12px}.video-preview .memory-link-visual{position:relative;flex:auto;width:100%;height:auto;aspect-ratio:16/9}.video-preview .memory-link-visual img{position:absolute;inset:0;object-fit:cover}.video-preview .memory-link-words{padding:10px}.video-play{position:absolute;z-index:1;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:44px;height:32px;border-radius:9px;background:#c82424e8;color:#fff;font-size:18px;box-shadow:0 2px 8px #0004;pointer-events:none}.video-unavailable{font-size:13px;align-self:end;margin-bottom:10px;color:#49657c}.video-preview:hover .video-play{background:#e12525}

.memory-paste{padding:15px;border:2px dashed #8db9db;border-radius:9px;background:#edf6ff;cursor:text;margin:10px 0}.memory-paste p{font-size:13px;margin:6px 0}.memory-paste:focus{outline:3px solid #1263ad;outline-offset:2px}#memory-image-preview{margin:12px 0}#memory-preview-img{display:block;max-width:100%;max-height:220px;object-fit:contain;border-radius:8px;margin-bottom:8px}#memory-paste-status{font-size:13px;color:#174e7a}

.memory-video-image{display:block;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:7px;border:1px solid #bdd5eb;background:#e7f3ff}.memory-video-image .memory-photo{display:block;width:100%;height:100%;max-height:none;object-fit:cover;margin:0;border-radius:0}.memory-video-image:hover{outline:2px solid #1263ad;outline-offset:2px}.memory-gallery .compact-video-memory h3{font-size:14px;margin:8px 0 4px}.memory-gallery .compact-video-memory p:empty{display:none}.memory-gallery .compact-video-memory .actions{gap:6px;margin-top:7px}.memory-gallery .compact-video-memory .actions button{font-size:11px;padding:4px 7px}

.memory-section-head{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;margin-top:20px}.memory-section-head h3{margin:8px 0}
.memory-gallery.photo-filmstrip{display:grid;grid-template-columns:none;grid-template-rows:repeat(2,auto);grid-auto-flow:column;grid-auto-columns:165px;gap:12px 8px;overflow-x:auto;align-items:start;padding:18px 10px;margin:8px 0 24px;background:linear-gradient(90deg,#b8cce0 8px,transparent 8px) top left/20px 5px repeat-x,linear-gradient(90deg,#b8cce0 8px,transparent 8px) bottom left/20px 5px repeat-x,#e5eef7;border-radius:8px;scroll-snap-type:x proximity;scrollbar-width:thin}
.photo-filmstrip>.entry{min-width:0;scroll-snap-align:start;background:#fff;border-radius:5px;overflow:hidden;padding-bottom:8px}
.photo-filmstrip .memory-thumbnail{border:0;border-radius:0;aspect-ratio:4/3;transform:none}.photo-filmstrip .memory-thumbnail .memory-photo{object-fit:cover;border-radius:0}
.photo-filmstrip h3,.photo-filmstrip p,.photo-filmstrip .meta,.photo-filmstrip .actions{margin-left:8px;margin-right:8px}.photo-filmstrip h3{font-size:13px;margin-top:7px;margin-bottom:4px}.photo-filmstrip p{font-size:12px;line-height:1.4;margin-top:4px;margin-bottom:5px}.photo-filmstrip .meta{font-size:10px;line-height:1.4}.photo-filmstrip .actions{gap:5px;margin-top:6px}.photo-filmstrip .actions button{font-size:10px;padding:3px 5px}.memory-links-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,160px),1fr));gap:12px}
@media(hover:hover) and (pointer:fine){.photo-filmstrip .memory-thumbnail:hover{transform:none;box-shadow:inset 0 0 0 2px #1263ad}}

.setlist-tracks li>.practice-checks{grid-column:2/-1;display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;padding:8px 0 3px;border-top:1px dashed #c5dced}.practice-count{font-size:11px;font-weight:700;color:#49657c}.practice-member{display:inline-flex;align-items:center;gap:5px;margin:0;font-size:11px;line-height:1.4;cursor:pointer;min-height:30px}.practice-member input{width:17px;height:17px;padding:0;margin:0;accent-color:#1263ad}.practice-member:has(input:checked){color:#176b58;font-weight:700}

.cork-surface .note-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:200px;overflow-x:auto;gap:24px 18px;align-items:start;scrollbar-width:thin;overscroll-behavior-x:contain;padding:18px 8px 24px}.cork-surface .note-grid>.entry.note{width:200px;max-width:200px}.cork-surface .note-grid>p{grid-column:auto;width:250px}

.bandchat{max-width:720px;margin:8px 4px 10px;padding:16px;background:#f8fbff;border:1px solid #91b8d7;border-radius:12px;box-shadow:0 5px 16px #39210c22;color:#173650}.bandchat-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}.bandchat-head h3{font-size:18px;margin:0 auto 0 0;color:#174b77}.bandchat-head>span{font-size:12px;color:#49657c}.bandchat-head button{font-size:11px;padding:4px 7px;min-height:30px}.bandchat-messages{max-height:220px;min-height:64px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:4px 8px 4px 0}.bandchat-message{padding:8px 0;border-top:1px solid #d7e5f1}.bandchat-message:first-child{border-top:0}.bandchat-message.mine{border-left:3px solid #2e7cb9;padding-left:9px}.bandchat-message header{display:flex;gap:12px;align-items:baseline;padding:0;border:0;margin:0}.bandchat-message strong{font-size:12px;color:#174b77}.bandchat-message time{font-size:10px;color:#61768a}.bandchat-message p{margin:3px 0 0;font-size:14px;line-height:1.45;color:#243f56;white-space:pre-wrap;overflow-wrap:anywhere}.bandchat-empty{font-size:13px;color:#61768a}.bandchat form{max-width:none;margin-top:10px}.bandchat .bandchat-label{font-size:12px;margin:0 0 5px;color:#49657c}.bandchat-compose{display:flex;gap:8px;align-items:flex-end}.bandchat-compose textarea{min-height:44px;height:44px;max-height:130px;padding:10px;font-size:14px;background:#fff;border-color:#a8c5db;border-radius:8px;resize:vertical}.bandchat-compose button{min-height:44px;padding:10px 15px;font-size:14px;white-space:nowrap}.bandchat-bottom{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:5px;font-size:10px;color:#61768a}.bandchat #chat-name-picker{padding:0 0 12px}.bandchat #chat-name-picker label{font-size:12px}.bandchat #chat-name{max-width:250px}.bandchat #bandchat-status.error{color:#a32c32}@media(max-width:500px){.bandchat{margin-left:0;margin-right:0;padding:12px}.bandchat-messages{max-height:200px}.bandchat-compose button{padding:10px}.bandchat-head{gap:7px}}
