
/* Answer Sheet module layout + themes */
#as-app {
  display: grid;
  grid-template-columns: 320px 1fr 280px;
  height: 100vh;
  min-height: 0;
  overflow: hidden;
  background: #e8eef5;
  color: #1a2a3a;
  font-family: 'Inter', system-ui, sans-serif;
}
#as-sidebar-left {
  background: #f7f9fc;
  border-right: 1px solid #d5dee9;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 18px 12px;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
#as-sidebar-left .actions {
  position: sticky;
  bottom: 0;
  margin-top: auto;
  padding-top: 12px;
  padding-bottom: 8px;
  background: #f7f9fc;
  border-top: 1px solid #d5dee9;
}
#as-sidebar-left .btn-back {
  margin-bottom: 12px;
  border-color: #d5dee9;
  color: #5a6f86;
  background: #fff;
}
#as-sidebar-left .brand h1 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f2a4a;
}
#as-sidebar-left .tagline {
  font-size: 0.78rem;
  color: #5a6f86;
  margin-bottom: 20px;
}
#as-sidebar-left .panel { margin-bottom: 22px; }
#as-sidebar-left .panel h2 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #3b5a7a;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #d5dee9;
}
#as-sidebar-left label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: #5a6f86;
  margin: 8px 0 3px;
}
#as-sidebar-left input[type="text"],
#as-sidebar-left input[type="number"],
#as-sidebar-left select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #d5dee9;
  border-radius: 7px;
  font-size: 0.88rem;
  background: #fff;
}
#as-sidebar-left .checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  font-size: 0.85rem;
  color: #1a2a3a;
  cursor: pointer;
}
#as-sidebar-left .checkbox input { width: 15px; height: 15px; accent-color: #2563eb; }
#as-sidebar-left .actions { display: flex; flex-direction: column; gap: 8px; }
#as-sidebar-left .btn {
  padding: 11px 14px;
  border: none;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}
#as-sidebar-left .btn.primary { background: #2563eb; color: #fff; }
#as-sidebar-left .btn.success { background: #16a34a; color: #fff; }
#as-sidebar-left .btn.secondary {
  background: #e8eef5;
  color: #1e3a5f;
  border: 1px solid #d5dee9;
  padding: 9px 10px;
  font-size: 0.8rem;
}
.logo-row { display: flex; gap: 6px; margin-top: 6px; }
.logo-row .btn { flex: 1; }
#logoStatus { font-size: 0.7rem; color: #5a6f86; margin-top: 5px; min-height: 1em; }

#as-preview-area {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  background: #c5d0de;
}
.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  height: 44px;
  background: #d8e1ec;
  border-bottom: 1px solid #b0becf;
  flex-shrink: 0;
}
.btn-nav {
  padding: 5px 14px;
  border: none;
  border-radius: 6px;
  background: #3b6ea5;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-nav:disabled { opacity: 0.4; cursor: default; }
#pageLabel { font-size: 0.88rem; font-weight: 600; color: #1e3a5f; min-width: 100px; text-align: center; }
.btn-nav.pdf {
  background: #16a34a;
  margin-left: 12px;
}
.btn-nav.print {
  background: #2563eb;
  margin-left: 6px;
}
#preview-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  overflow-x: hidden;
  overflow-y: scroll;
}
.sheet {
  background: #fff;
  box-shadow: 0 12px 40px rgba(15,30,60,0.18);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.sheet.portrait { width: min(560px, 92%); aspect-ratio: 210 / 297; height: auto; min-height: 0; overflow: hidden; }
.sheet.landscape { width: min(780px, 96%); aspect-ratio: 297 / 210; height: auto; min-height: 0; overflow: hidden; }

#as-sidebar-right {
  background: #f0f4fa;
  border-left: 1px solid #d5dee9;
  overflow-y: auto;
  padding: 18px 12px 28px;
}
#as-sidebar-right h2 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 14px;
  padding-left: 4px;
}
#theme-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.theme-card {
  border: 2px solid transparent;
  border-radius: 9px;
  padding: 8px 6px 10px;
  cursor: pointer;
  text-align: center;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: border-color 0.15s, transform 0.12s;
}
.theme-card:hover { transform: translateY(-2px); }
.theme-card.active {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}
.theme-card .swatch {
  height: 42px;
  border-radius: 5px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.theme-card .name { font-size: 0.68rem; font-weight: 600; color: #1e3a5f; line-height: 1.2; }

/* Sheet inner */
.sheet-inner {
  --pad: 5.5%;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: #fff;
  position: relative;
}
.sheet-header {
  position: relative;
  padding: 14px 16px 10px;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.sheet-header .titles {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 90px;
}
.quiz-title {
  font-family: 'Space Grotesk', Inter, sans-serif;
  font-weight: 700;
  font-size: 1.85rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  color: var(--primary);
}
.round-title {
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 5px;
  color: var(--ink);
  opacity: 0.9;
}
.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px var(--pad) 2px;
  gap: 10px;
  flex-wrap: nowrap;
}
.meta-field {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
}
.meta-field.team { flex: 1; min-width: 0; }
.meta-box {
  border: 1.5px solid var(--primary);
  border-radius: 4px;
  height: 18px;
  width: 54px;
  background: #fff;
  flex-shrink: 0;
}
.meta-box.wide { width: auto; flex: 1; min-width: 90px; }
.meta-box.small { width: 42px; }
.answers {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  grid-auto-rows: 1fr;
  gap: 6px 18px;
  padding: 8px var(--pad) 8px;
  align-content: stretch;
  min-height: 0;
}
.q-box { display: flex; align-items: center; gap: 8px; min-height: 0; height: 100%; }
.q-num { font-size: 0.78rem; font-weight: 700; min-width: 22px; color: var(--ink); }
.q-line {
  flex: 1;
  height: 74%;
  min-height: 20px;
  border: 1.6px solid var(--primary);
  border-radius: 4px;
  background: #fff;
}
.sheet-footer {
  padding: 6px var(--pad) 8px;
  text-align: center;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: auto;
}
.footer-msg {
  font-weight: 600;
  font-style: italic;
  font-size: 0.8rem;
  color: var(--ink);
}
.custom-logo {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 82px;
  max-height: 66px;
  object-fit: contain;
  z-index: 3;
  border-radius: 4px;
}
.logo-placeholder {
  position: absolute;
  left: 4%;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 58px;
  border: 2px dashed #5e35b1;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 600;
  color: #5e35b1;
  opacity: 0.7;
  z-index: 2;
}

/* Theme visuals (compact) */
.theme-music .sheet-header { background: linear-gradient(120deg,#ff2d95,#7b2ff7 45%,#00d4ff); min-height: 96px; }
.theme-music .quiz-title { color: #fff; font-size: 2.05rem; text-shadow: 0 2px 8px rgba(0,0,0,.28); }
.theme-music .round-title { display: inline-block; background: #ffe566; color: #111; font-weight: 700; font-size: 0.75rem; padding: 2px 10px; border-radius: 4px; margin-top: 6px; }
.art-music { position: absolute; inset: 0; pointer-events: none; }
.art-music .mic { position: absolute; left: 8%; top: 10px; filter: drop-shadow(0 3px 6px rgba(0,0,0,.25)); }
.art-music .vinyl { position: absolute; right: 8%; top: 10px; filter: drop-shadow(0 3px 8px rgba(0,0,0,.3)); }
.art-music .note { position: absolute; color: rgba(255,255,255,.7); font-weight: 700; }
.art-music .n1 { left: 24%; top: 10px; font-size: 1.2rem; transform: rotate(-12deg); }
.art-music .n2 { right: 30%; top: 8px; font-size: 1rem; transform: rotate(10deg); }
.theme-music .q-line { border-color: #ff2d95; border-width: 2px; }
.theme-music .sheet-footer { background: linear-gradient(90deg,#ff2d95,#7b2ff7,#00d4ff); min-height: 28px; }
.theme-music .footer-msg { color: #fff; font-weight: 700; font-style: normal; }

.theme-fun .sheet-header { background: linear-gradient(135deg,#ee488b,#ff8c42); min-height: 92px; }
.theme-fun .quiz-title { color: #fff; font-size: 2rem; text-shadow: 0 2px 6px rgba(0,0,0,.2); }
.theme-fun .round-title { color: #fff; background: rgba(0,0,0,.18); display: inline-block; padding: 2px 10px; border-radius: 16px; font-size: 0.78rem; }
.art-fun { position: absolute; inset: 0; pointer-events: none; }
.art-fun .smiley { position: absolute; right: 8%; top: 14px; }
.art-fun .bulb { position: absolute; left: 8%; top: 12px; }
.theme-fun .q-line { border-color: #ee488b; border-width: 2px; }
.theme-fun .sheet-footer { background: linear-gradient(90deg,#ee488b,#ff8c42); }
.theme-fun .footer-msg { color: #fff; font-weight: 700; }

.theme-pub .sheet-header { background: linear-gradient(180deg,#f5e6c8,#efdab1); min-height: 92px; border-bottom: 4px solid #784623; }
.theme-pub .quiz-title { color: #5c3415; font-size: 1.95rem; }
.theme-pub .round-title { color: #784623; font-weight: 700; }
.art-pub { position: absolute; inset: 0; pointer-events: none; }
.art-pub .mug { position: absolute; filter: drop-shadow(0 2px 4px rgba(0,0,0,.15)); }
.art-pub .mug.left { left: 8%; top: 10px; }
.art-pub .mug.right { right: 8%; top: 10px; }
.theme-pub .q-line { border-color: #784623; border-width: 2px; }
.theme-pub .sheet-footer { background: #784623; min-height: 28px; }
.theme-pub .footer-msg { color: #efdab1; font-weight: 700; font-style: normal; }

.theme-sports .sheet-header { background: linear-gradient(135deg,#167a3a,#22a34a 50%,#2ecc71); min-height: 94px; }
.theme-sports .quiz-title { color: #fff; font-size: 2rem; text-shadow: 0 2px 6px rgba(0,0,0,.25); }
.theme-sports .round-title { color: #fff; background: rgba(0,0,0,.15); display: inline-block; padding: 2px 10px; border-radius: 4px; font-size: 0.78rem; }
.art-sports { position: absolute; inset: 0; pointer-events: none; }
.art-sports .ball { position: absolute; left: 8%; top: 12px; }
.art-sports .trophy { position: absolute; right: 8%; top: 8px; }
.theme-sports .q-line { border-color: #1f8242; border-width: 2px; }
.theme-sports .sheet-footer { background: linear-gradient(90deg,#167a3a,#22a34a); min-height: 28px; }
.theme-sports .footer-msg { color: #fff; font-weight: 700; font-style: normal; }

.theme-film .sheet-header { background: linear-gradient(135deg,#121c30,#1e3358 60%,#2a4570); min-height: 94px; }
.theme-film .quiz-title { color: #f0c94d; font-size: 2rem; letter-spacing: .03em; text-shadow: 0 2px 6px rgba(0,0,0,.35); }
.theme-film .round-title { color: rgba(255,255,255,.8); letter-spacing: .06em; text-transform: uppercase; font-size: 0.75rem; }
.art-film { position: absolute; inset: 0; pointer-events: none; }
.art-film .clapper { position: absolute; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }
.art-film .clapper.left { left: 8%; top: 14px; }
.art-film .clapper.right { right: 8%; top: 14px; }
.theme-film .q-line { border-color: #e8b923; }
.theme-film .sheet-footer { background: #121c30; border-top: 3px solid #e8b923; min-height: 28px; }
.theme-film .footer-msg { color: #e8b923; font-weight: 700; font-style: normal; }

.theme-classic .sheet-header { background: linear-gradient(180deg,#e8f3ff,#d0e6fa); min-height: 90px; }
.theme-classic .quiz-title { color: #1267be; font-size: 1.9rem; }
.art-classic { position: absolute; inset: 0; pointer-events: none; }
.art-classic .bulb { position: absolute; left: 8%; top: 12px; }
.art-classic .big-q { position: absolute; right: 8%; top: 10px; font-size: 3.6rem; font-weight: 800; color: #1267be; opacity: .88; line-height: 1; font-family: 'Space Grotesk',sans-serif; }
.theme-classic .q-line { border-color: #1267be; }
.theme-classic .sheet-footer { background: #dceeff; }

.theme-elegant .sheet-header { background: #0c1f3c; min-height: 90px; border-bottom: 3px solid #d4aa42; }
.theme-elegant .quiz-title { font-family: Georgia, serif; font-weight: 700; font-size: 1.95rem; color: #d4aa42; letter-spacing: .04em; }
.theme-elegant .round-title { color: rgba(255,255,255,.72); font-size: 0.78rem; letter-spacing: .1em; text-transform: uppercase; }
.art-elegant { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; padding: 0 4%; pointer-events: none; }
.theme-elegant .q-line { border-color: #d4aa42; border-radius: 2px; }
.theme-elegant .sheet-footer { background: #0c1f3c; border-top: 2px solid #d4aa42; }
.theme-elegant .footer-msg { color: #d4aa42; font-family: Georgia, serif; font-style: italic; }

.theme-minimal .sheet-header { background: #f8f8f8; min-height: 78px; border-bottom: 1px solid #e0e0e0; }
.theme-minimal .quiz-title { color: #2a2a2a; font-weight: 600; font-size: 1.65rem; letter-spacing: .08em; }
.theme-minimal .round-title { color: #666; }
.art-minimal { position: absolute; inset: 0; pointer-events: none; }
.art-minimal .line-l, .art-minimal .line-r { position: absolute; top: 28px; width: 40px; height: 2px; background: #aaa; }
.art-minimal .line-l { left: 5%; } .art-minimal .line-r { right: 5%; }
.theme-minimal .q-line { border: none; border-bottom: 1.5px solid #bbb; border-radius: 0; height: 18px; }
.theme-minimal .sheet-footer { border-top: 1px solid #e0e0e0; }

.theme-modern-dark .sheet-header { background: linear-gradient(180deg,#1a1d24,#12141a); min-height: 90px; }
.theme-modern-dark .quiz-title { color: #f5a623; font-size: 1.9rem; }
.theme-modern-dark .round-title { color: rgba(255,255,255,.7); }
.art-modern-dark { position: absolute; inset: 0; pointer-events: none; }
.art-modern-dark .trophy { position: absolute; filter: drop-shadow(0 2px 5px rgba(245,166,35,.3)); }
.art-modern-dark .trophy.left { left: 8%; top: 12px; }
.art-modern-dark .trophy.right { right: 8%; top: 12px; }
.theme-modern-dark .q-line { border-color: #f5a623; }
.theme-modern-dark .sheet-footer { background: #12141a; }
.theme-modern-dark .footer-msg { color: #f5a623; }

.theme-retro .sheet-header { background: #facc80; min-height: 92px; position: relative; }
.theme-retro .sheet-header::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 32px;
  background: repeating-linear-gradient(90deg,#dd5e3a 0 25%,#e07a3d 25% 50%,#f4a261 50% 75%,#2a9d8f 75% 100%);
}
.theme-retro .quiz-title { color: #3d2418; font-size: 1.95rem; margin-top: 16px; }
.theme-retro .round-title { color: #5c3a28; font-weight: 700; }
.theme-retro .q-line { border-color: #dd5e3a; border-width: 2px; }
.theme-retro .sheet-footer { background: linear-gradient(90deg,#dd5e3a,#2a9d8f); min-height: 28px; }
.theme-retro .footer-msg { color: #fff; font-weight: 700; font-style: normal; }

.theme-seasonal .sheet-header { background: linear-gradient(180deg,#e8f4fc,#cfe6f5); min-height: 90px; }
.theme-seasonal .quiz-title { color: #1c4463; font-size: 1.9rem; }
.art-seasonal { position: absolute; inset: 0; pointer-events: none; }
.art-seasonal .flake { position: absolute; color: #437eae; opacity: .7; }
.art-seasonal .f1 { left: 8%; top: 14px; font-size: 1.8rem; }
.art-seasonal .f2 { right: 8%; top: 12px; font-size: 1.8rem; }
.theme-seasonal .q-line { border-color: #437eae; }
.theme-seasonal .sheet-footer { background: #e0f1fa; }

.theme-custom .sheet-header { background: linear-gradient(180deg,#f0ebfa,#e4dcf5); min-height: 90px; }
.theme-custom .quiz-title { color: #5e35b1; font-size: 1.9rem; }
.theme-custom .q-line { border-color: #5e35b1; }
.theme-custom .sheet-footer { background: #ebe4fa; }

.sheet.landscape .sheet-header { min-height: 88px; padding-top: 12px; padding-bottom: 8px; }
.sheet.landscape .quiz-title { font-size: 1.5rem; }
.sheet.landscape .round-title { font-size: 0.8rem; margin-top: 3px; }
.sheet.landscape .answers { gap: 5px 16px; padding-top: 6px; padding-bottom: 6px; }
.sheet.landscape .q-box { min-height: 0; }
.sheet.landscape .q-line { height: 70%; }
.sheet.landscape .sheet-footer { min-height: 28px; padding-top: 4px; padding-bottom: 6px; }
.sheet.landscape .footer-msg { font-size: 0.75rem; }

@media print {
  body * { visibility: hidden !important; }
  #view-answer-sheet, #view-answer-sheet * { visibility: visible !important; }
  #as-sidebar-left, #as-sidebar-right, .preview-toolbar, .btn-back { display: none !important; }
  #as-app { display: block !important; }
  #as-preview-area { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: #fff; }
  #preview-stage { padding: 0; overflow: visible; }
  .sheet { box-shadow: none; width: 100% !important; height: 100% !important; min-height: 0; aspect-ratio: auto; }
  .sheet-inner { height: 100%; }
}

.sheet-header svg, .sheet-header .custom-logo {
  max-height: 70px;
}
.sheet.landscape .sheet-header svg,
.sheet.landscape .sheet-header .custom-logo {
  max-height: 58px;
}
.art-classic .big-q { font-size: 3rem !important; top: 12px !important; }

.header-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  line-height: 1;
  z-index: 3;
  filter: none;
}
.header-icon.left { left: 10px; }
.header-icon.right { right: 10px; }
.sheet.landscape .header-icon { font-size: 1.5rem; }
.art-music .mic { left: 46px !important; }
.art-music .vinyl { right: 46px !important; }

.header-art { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.header-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.7rem;
  line-height: 1;
  z-index: 4;
}
.header-icon.left { left: 18px; }
.header-icon.right { right: 18px; }
.sheet.landscape .header-icon { font-size: 1.45rem; }
.sheet.landscape .header-icon.left { left: 16px; }
.sheet.landscape .header-icon.right { right: 16px; }
.css-vinyl {
  position: absolute;
  right: 52px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #111;
  box-shadow: inset 0 0 0 10px #1a1a1a, inset 0 0 0 16px #ff2d95, inset 0 0 0 20px #111;
}
.sheet.landscape .css-vinyl { width: 34px; height: 34px; right: 46px; }


@page {
  size: A4;
  margin: 0;
}

.extra-rounds {
  padding: 4px var(--pad) 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}
.extra-block { border-top: 1px solid color-mix(in srgb, var(--primary) 35%, #ddd); padding-top: 4px; }
.extra-title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 3px;
}
.extra-note { font-size: 0.58rem; font-style: italic; color: var(--ink); opacity: 0.75; margin-bottom: 3px; }
.extra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px 10px;
}
.extra-item { display: flex; align-items: center; gap: 5px; min-height: 16px; }
.extra-item .pair { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.mini-line {
  height: 11px;
  border-bottom: 1.2px solid var(--primary);
  position: relative;
}
.mini-line em {
  font-size: 0.45rem;
  font-style: normal;
  color: var(--ink);
  opacity: 0.45;
  position: absolute;
  left: 2px;
  top: -1px;
}
.extra-block.wipeout .extra-title { color: #b42318; }

.q-box.music { align-items: stretch; height: 100%; padding: 2px 0; }
.q-box.music .q-num { padding-top: 6px; }
.q-box.music .pair {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 6px;
  min-height: 0;
  height: 100%;
}
.q-line.sub {
  flex: 1;
  height: auto;
  min-height: 18px;
  position: relative;
}
.q-line.sub span {
  position: absolute; left: 6px; top: 2px;
  font-size: 0.52rem; letter-spacing: 0.04em; text-transform: uppercase;
  opacity: 0.4; font-weight: 700;
}
.wipe-note { font-size: 0.65rem; font-weight: 600; font-style: italic; margin-top: 3px; opacity: 0.85; }

.sheet.type-music,
.sheet.portrait.type-music,
.sheet.landscape.type-music {
  height: auto;
  min-height: 736px;
  aspect-ratio: auto;
  overflow: visible;
}
.sheet-inner.sheet-type-music .answers {
  grid-auto-rows: minmax(52px, auto);
  align-content: start;
  gap: 8px 14px;
}
.sheet-inner.sheet-type-music .q-box.music {
  height: 52px;
  min-height: 52px;
  align-items: center;
}
.sheet-inner.sheet-type-music .q-box.music .pair {
  height: 48px;
  gap: 5px;
  justify-content: space-between;
}
.sheet-inner.sheet-type-music .q-line.sub {
  flex: 0 0 20px;
  height: 20px;
  min-height: 20px;
}
