@font-face {
  font-family: "Archivo Black";
  src: url("fonts/ArchivoBlack-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url("fonts/Barlow-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url("fonts/Barlow-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #123451;
  --paper: #dbeefa;
  --accent: #265989;
  --on-accent: #fff;
  --muted: #355570;
  --tint: #c3deef;
  --rule: #6f91a9;
  --poster: url("frontera/cielo.webp");
  --display: "Archivo Black", "Arial Black", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-family: Barlow, Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
main { width: min(calc(100% - 2.75rem), 39rem); margin: 0 auto; padding: 1.8rem 0 4rem; }
main.tablet { max-width: 62rem; width: min(calc(100% - 3rem),62rem); }
.guest { --gutter: clamp(.9rem, 3vw, 1.5rem); width: min(100%, 38rem); padding: 0 var(--gutter) 3rem; }
.poster { display: block; aspect-ratio: 554 / 218; margin-inline: calc(-1 * var(--gutter)); background: var(--poster) center / cover no-repeat; }
.wordmark, .operator-brand a { display: inline-block; padding-block: .7rem; font: 400 1rem var(--display); text-transform: uppercase; }
.operator-brand { border-bottom: 1px solid var(--rule); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
header a { font-size: 1.3rem; font-weight: 700; text-decoration: none; color: var(--ink); }
h1, h2, p { margin: 0 0 1rem; }
h1 { font: 400 clamp(2.25rem, 9.4vw, 3.9rem) var(--display); line-height: 1; letter-spacing: -.045em; margin-top: 1rem; }
h2 { font: 400 1.55rem var(--display); line-height: 1.15; letter-spacing: -.035em; }
.venue { font-size: 1.3rem; }
section { margin-top: 1.45rem; border-top: 1px solid var(--rule); padding-top: 1.2rem; }
.search { position: relative; margin-top: 1.1rem; }
.search input { padding-left: 2.6rem; border: 2px solid var(--ink); }
.search::before { content: ""; position: absolute; left: .85rem; top: 50%; margin-top: -.62rem; width: 1.2rem; height: 1.2rem; background: var(--ink); mask: url("frontera/search.svg") center / contain no-repeat; pointer-events: none; }
.catalog-list { margin-top: .45rem; border: 0; padding: 0; }
.guest .song { border-bottom: 2px solid var(--ink); }
.guest .song strong { font: 400 1.3rem var(--display); }
.guest .venue { font-size: 1.45rem; font-weight: 700; }
.request-heading { font-size: clamp(2.1rem, 11.55vw, 4.4rem); margin-bottom: .4rem; }
.guest .song button { min-width: clamp(5.5rem, 28vw, 8rem); font-size: 1.12rem; }
.custom-request { margin-top: .8rem; }
.custom-request summary { display: flex; align-items: center; justify-content: space-between; list-style: none; padding: .65rem 1rem; min-height: 44px; border-radius: .35rem; background: var(--accent); color: var(--on-accent); font-weight: 700; cursor: pointer; }
.custom-request summary::-webkit-details-marker { display: none; }
.custom-request summary::after { content: ""; width: .6em; height: .6em; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.custom-request[open] summary::after { transform: rotate(225deg); }
.custom-request form { margin-top: 1rem; }
#up-next { color: var(--accent); }
input::placeholder { color: var(--muted); opacity: 1; }
input { font: 1rem Barlow,sans-serif; background: transparent; color: inherit; border: 1px solid var(--rule); border-radius: .3rem; width: 100%; padding: .67rem .8rem; min-height: 44px; }
input:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
label { display: block; font-size: 1rem; font-weight: 600; margin-bottom: .3rem; }
label input { display:block; margin-top:.35rem; }
button, .button { background: var(--accent); color: var(--on-accent); font: 700 1rem Barlow, sans-serif; border: 0; border-radius: .35rem; padding: .65rem .95rem; min-height: 44px; display:inline-flex; align-items:center; justify-content:center; text-decoration:none; cursor:pointer; }
button:hover, .button:hover { background: color-mix(in srgb, var(--accent) 88%, var(--ink)); }
ul { padding:0; margin:0; list-style:none; }
.section-head, .song, footer { display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.section-head { margin-bottom:.7rem; }
.section-head h2, .section-head p { margin:0; }
.song { border-bottom:1px solid var(--rule); padding:.65rem 0; }
.song:last-child { border-bottom:0; }
.song strong { font-size:1.24rem; }
.song > div, td { overflow-wrap:anywhere; }
.artist { display:block; margin-top:.1rem; }
.muted, time { color:var(--muted); }
.muted { font: .85rem system-ui,sans-serif; }
.stack { display:grid; gap:.75rem; }
.stack p { margin:0; }
.error,.errorlist { padding:.8rem; color:#7b2921; background:#f9e8df; }
table { width:100%; border-collapse:collapse; margin:1.2rem 0; }
th,td { text-align:left; padding:.75rem .3rem; border-bottom:1px solid var(--rule); }
footer { margin-top:2.5rem; padding-top:1rem; border-top:1px solid var(--rule); }
a, .link { color:var(--accent); }
.link, .link:hover { padding:0; text-decoration:underline; background:transparent; font-weight:400; }
#refresh-status { min-height:1.3rem; }
.queue-section h2 { margin-bottom: .35rem; }
.queue-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; padding: .8rem 0; }
.queue-row + .queue-row { border-top: 1px solid var(--rule); }
.queue-song { flex: 1 1 16rem; min-width: 0; overflow-wrap: anywhere; }
.queue-song strong { font-size: 1.25rem; }
.queue-meta { display: block; margin-top: .35rem; }
.queue-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.queue-actions button { padding-inline: .75rem; }
.secondary { color: var(--accent); background: transparent; border: 1px solid var(--accent); }
.secondary:hover { background: var(--tint); }
.queue-history { margin-top: 1rem; border-top: 1px solid var(--rule); }
.queue-history summary { padding: .75rem 0; cursor: pointer; font-weight: 700; }
.queue-history summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.show-controls { margin-bottom: 1rem; }
.show-controls > .button { margin-top: .75rem; }
.show-actions, .start-show, .import-form { display: flex; align-items: flex-start; flex-wrap: wrap; gap: .6rem; }
.start-show, .import-form { align-items: end; }
.start-show label, .import-form > div { flex: 0 1 21rem; margin: 0; min-width: 0; }
.show-actions summary { display: list-item; min-height: 44px; padding: .72rem; color: var(--accent); cursor: pointer; }
.end-show form { padding: .55rem .72rem; }
.end-show p { margin: 0 0 .6rem; }
.notice { padding: .75rem; color: var(--accent); background: var(--tint); }
.import-preview { margin-top: 1.5rem; }
.import-preview h3 { margin: 0 0 .5rem; }
.import-table { max-height: 22rem; overflow: auto; margin-bottom: .75rem; }
.import-table table { margin: 0; }
.import-table th { position: sticky; top: 0; background: var(--paper); }
.visibility-count { margin-top: .75rem; margin-bottom: 0; }
.tablet nav { margin-top: 1rem; }
.guest-actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.custom-tip { margin: .65rem 0 .85rem; }
.custom-tip summary { color: var(--accent); cursor: pointer; padding: .65rem 0; }
.custom-tip summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.request-again { margin-top: 1.1rem; }
.tip-badge { display: inline-block; margin-top: .45rem; padding: .24rem .42rem; border-radius: .25rem; background: var(--tint); color: var(--accent); font: 600 .85rem system-ui, sans-serif; }
.request-notes { margin-top: .5rem; }
.request-notes li { border-inline-start: 2px solid var(--accent); padding-inline-start: .6rem; margin-top: .35rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.queue-song { min-width: 0; }

.csv-picker input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 3px; }
.csv-picker .file-name { overflow-wrap: anywhere; }
