html,
body {
  margin: 0;
  min-width: 1320px;
  min-height: 840px;
  background: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang HK", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

body {
  overflow: visible;
  padding: 20px;
}

.qa-page {
  width: 1280px;
  min-height: 800px;
}

.qa-canvas {
  position: relative;
  width: 1280px;
  height: 800px;
  overflow: hidden;
  border: 5px solid #ffd400;
  background: #000;
  box-shadow: 0 0 0 2px #000, 0 0 28px rgba(255, 212, 0, 0.42);
}

.qa-canvas::before {
  content: "SMT 實際畫布 1280×800";
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 5px 9px;
  border: 2px solid #ffd400;
  border-radius: 8px;
  background: #000;
  color: #ffd400;
  font-size: 12px;
  font-weight: 900;
  pointer-events: none;
}

.qa-canvas iframe {
  display: block;
  width: 1280px;
  height: 800px;
  border: 0;
  background: #fff;
  pointer-events: none;
}

.qa-page.is-interactive .qa-canvas iframe {
  pointer-events: auto;
}

.qa-controls {
  width: 1280px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-top: 16px;
  padding: 20px 24px calc(20px + env(safe-area-inset-bottom));
  border: 3px solid #ffd400;
  border-radius: 16px;
  background: #111;
  color: #fff;
}

.qa-controls h1,
.qa-controls p {
  margin: 0;
}

.qa-controls h1 {
  margin-top: 4px;
  color: #fff;
  font-size: 24px;
}

.qa-controls p:last-child {
  max-width: 720px;
  margin-top: 8px;
  color: #d7d7d7;
  font-size: 16px;
  line-height: 1.55;
}

.qa-eyebrow {
  color: #ffd400;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.qa-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.qa-actions button,
.qa-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 2px solid #ffd400;
  border-radius: 999px;
  background: #000;
  color: #ffd400;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
}

.qa-actions button.is-active,
.qa-actions button[aria-pressed="true"] {
  background: #ffd400;
  color: #000;
}
