body:has(#applause) > main { max-width: 1220px; margin-top: 6px; padding: 0 24px 30px; }
#applause { --hfa-ink: #382c35; --hfa-plum: #49263e; --hfa-muted: #6d5b63; --hfa-gold: #cda064; text-align: left; color: var(--hfa-ink); }
.hfa-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.hfa-heading h1 { font: 500 clamp(2.35rem, 5.2vw, 4.8rem)/.98 Georgia, serif; letter-spacing: -.047em; margin: 0; }
.hfa-heading h1 span { color: #a74c5e; }
.hfa-heading p { color: var(--hfa-muted); margin: 8px 0 0; }
.hfa-back { flex: none; color: var(--hfa-plum); font-weight: 700; font-size: .82rem; display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.hfa-scenes { max-width: 340px; margin: 18px 0 14px; }
.hfa-scenes select { width: 100%; min-height: 44px; padding: 7px 11px; border: 1px solid #c4a4ac; border-radius: 10px; background: #f8eaeb; color: var(--hfa-plum); font: 700 .85rem Arial, sans-serif; }
#applause button { min-height: 44px; border: 1px solid #d9c8c1; border-radius: 10px; background: #fffbf4; color: var(--hfa-ink); padding: 6px 10px; touch-action: manipulation; }
#applause button:focus-visible, #applause a:focus-visible { outline: 2px solid #a54c65; outline-offset: 2px; }
#applause button:disabled { opacity: .44; cursor: default; }
.hfa-brief { display: flex; align-items: baseline; gap: 12px 18px; flex-wrap: wrap; margin-bottom: 10px; }
.hfa-brief h2 { font: 500 clamp(1.38rem, 2.6vw, 2.05rem)/1.12 Georgia, serif; letter-spacing: -.02em; margin: 0; }
.hfa-brief p { font-size: .88rem; color: var(--hfa-muted); margin: 0; line-height: 1.35; }
.hfa-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(305px, 340px); align-items: start; gap: 16px; }
.hfa-board { overflow: hidden; background: #4e233c; border: 1px solid #59354c; border-radius: 18px; box-shadow: 0 14px 26px #412b3422; }
.hfa-board canvas { display: block; width: 100%; height: auto; aspect-ratio: 3/2; background: #a6b69a url('/applause-stage.webp') center/cover; }
.hfa-stage-caption { height: 39px; display: flex; gap: 12px; justify-content: space-between; align-items: center; padding: 5px 12px; color: #fff0d8; font-size: .8rem; line-height: 1.25; }
.hfa-stage-caption span:last-child { flex: none; font-weight: 700; color: #ffe0a5; }
.hfa-stage-caption span:first-child { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.hfa-desk { padding: 13px; border: 1px solid #d9c8c1; background: #fcf7ee; border-radius: 16px; min-width: 0; }
.hfa-playback { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 6px; }
#applause .hfa-play { border-color: var(--hfa-plum); background: var(--hfa-plum); color: #fff5e1; font-weight: 700; }
#applause [data-action="back"], #applause [data-action="forward"] { font-size: 1.5rem; line-height: 1; }
.hfa-schedule { display: grid; gap: 8px; margin-top: 12px; }
.hfa-cue-label { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: .79rem; font-weight: 700; }
.hfa-cue-label::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #a34461; }
.hfa-cue[data-color="teal"] .hfa-cue-label::before { background: #3b7569; }
.hfa-cue[data-color="gold"] .hfa-cue-label::before { background: #8b612b; }
.hfa-beats { display: grid; grid-template-columns: repeat(var(--hfa-beats, 6), minmax(0, 1fr)); gap: 4px; }
#applause .hfa-beats button { padding: 3px 0; min-width: 0; font-size: .88rem; font-variant-numeric: tabular-nums; }
#applause .hfa-beats button[aria-pressed="true"] { background: #a34461; border-color: #88364f; color: white; font-weight: 700; }
#applause .hfa-cue[data-color="teal"] button[aria-pressed="true"] { background: #3b7569; border-color: #2d5d53; }
#applause .hfa-cue[data-color="gold"] button[aria-pressed="true"] { background: #8b612b; border-color: #755022; }
#applause .hfa-beats button[data-current] { box-shadow: inset 0 -3px 0 #bc833e; }
.hfa-fixed { display: flex; align-items: baseline; gap: 6px; font-size: .78rem; line-height: 1.35; color: #64535b; }
.hfa-fixed b { color: var(--hfa-plum); }
.hfa-note { min-height: 64px; margin: 9px 0 4px; padding: 7px 9px; border-left: 2px solid #cfa765; background: #f1e8da; color: #51444b; border-radius: 0 8px 8px 0; font-size: .8rem; line-height: 1.36; }
.hfa-note[data-state="success"] { background: #e3eddf; border-color: #63836b; color: #264537; }
.hfa-tools { display: flex; align-items: center; gap: 5px; min-height: 44px; }
#applause .hfa-tools button { border-color: transparent; background: transparent; color: var(--hfa-plum); font-size: .78rem; padding-inline: 7px; }
#applause .hfa-tools button:hover, #applause .hfa-tools [aria-pressed="true"] { border-color: #d9c8c1; }
#applause .hfa-tools .hfa-next { margin-left: auto; background: #dcead7; color: #294839; font-weight: 700; }
.hfa-fallback { max-width: 100%; height: auto; }
.hfa-card.ll-game-card { margin-top: 22px; }
.hfa-card .ll-game-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 851px) {
  body:has(#applause) > header { padding-block: 15px; }
  #applause { width: min(100%, max(790px, calc((100svh - 312px) * 1.5 + 356px))); margin-inline: auto; }
  .hfa-heading h1 { font-size: clamp(2.5rem, 4.6vw, 4rem); }
  .hfa-heading p { margin-top: 5px; font-size: .91rem; }
  .hfa-scenes { margin-block: 12px 10px; }
}
@media (max-width: 850px) {
  body:has(#applause) > main { max-width: 680px; }
  .hfa-layout { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hfa-desk { padding: 10px; }
}
@media (max-width: 520px) {
  body:has(#applause) > header { padding: 11px 14px; }
  body:has(#applause) > main { padding: 0 10px 20px; margin-top: 3px; }
  .hfa-heading { gap: 4px; }
  .hfa-heading h1 { font-size: clamp(1.78rem, 7.8vw, 2.45rem); }
  .hfa-heading p { font-size: .79rem; margin-top: 3px; }
  .hfa-back { min-height: 36px; font-size: .72rem; }
  .hfa-scenes { max-width: none; margin: 9px 0 8px; }
  .hfa-brief { display: block; margin: 0 1px 7px; }
  .hfa-brief p { font-size: .78rem; margin: 2px 0 0; }
  .hfa-board { border-radius: 12px; }
  .hfa-stage-caption { font-size: .73rem; height: 37px; padding: 4px 8px; }
  .hfa-desk { padding: 8px; border-radius: 12px; }
  .hfa-schedule { gap: 6px; margin-top: 8px; }
  .hfa-note { min-height: 64px; margin-top: 6px; }
  #applause[data-cue-count="3"] .hfa-note { min-height: 82px; }
}
