* {
  box-sizing: border-box;
}

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

body {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom));
  gap: 10px;
}

.smm-qa-toolbar {
  min-height: 64px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 3px solid #ffd400;
  border-radius: 14px;
  background: #111;
}

.smm-qa-toolbar > a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 2px solid #ffd400;
  border-radius: 14px;
  background: #000;
  color: #ffd400;
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
}

.smm-qa-toolbar p,
.smm-qa-toolbar strong,
.smm-qa-note {
  margin: 0;
}

.smm-qa-toolbar p {
  color: #ffd400;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.smm-qa-toolbar strong {
  display: block;
  margin-top: 2px;
  color: #fff;
  font-size: 17px;
}

.smm-qa-toolbar > span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 2px solid #ffd400;
  border-radius: 999px;
  background: #000;
  color: #ffd400;
  font-size: 12px;
  font-weight: 900;
}

.smm-qa-stage {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 4px solid #ffd400;
  border-radius: 18px;
  background: #000;
}

.smm-qa-stage iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 720px;
  border: 0;
  background: #fff;
}

.smm-qa-note {
  padding: 10px 14px;
  border: 2px solid #ffd400;
  border-radius: 12px;
  background: #111;
  color: #d7d7d7;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
