/* 画面チェック */
.sc-group-title { font-size: 0.88rem; font-weight: 700; color: var(--text-sub); margin: 1rem 0 0.4rem; }
.sc-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.sc-chip { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.75rem; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); color: var(--text); font: inherit; font-size: 0.9rem; cursor: pointer; }
.sc-chip:hover { border-color: var(--pt-accent); }
.sc-chip i { display: inline-block; width: 1rem; height: 1rem; border-radius: 3px; border: 1px solid var(--border); }

.sc-info { display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 1.2rem; margin: 0 0 1rem; font-size: 0.93rem; }
.sc-info dt { color: var(--text-sub); }
.sc-info dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.sc-hz .pt-actions { margin-bottom: 0.4rem; }
.sc-hz-out { font-size: 1.05rem; font-weight: 700; min-height: 1.6rem; }

.sc-overlay { position: fixed; inset: 0; z-index: 3000; background: #000; outline: none; cursor: pointer; }
.sc-overlay[hidden] { display: none; }
.sc-overlay.no-cursor { cursor: none; }
.sc-pat { position: absolute; inset: 0; overflow: hidden; }
.sc-pat > * { box-sizing: border-box; }

.sc-hud { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.6rem; padding: 0.6rem 1rem; background: rgba(0, 0, 0, 0.78); color: #fff; font-size: 0.88rem; transition: opacity 0.3s; cursor: default; }
.sc-hud.hide { opacity: 0; pointer-events: none; }
.sc-hud-text { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.sc-hud-text span { color: #cbd5e1; font-size: 0.8rem; }
.sc-hud-btns { display: flex; align-items: center; gap: 0.5rem; }
.sc-hud-btns button { border: 1px solid #94a3b8; background: #1e293b; color: #fff; border-radius: 6px; padding: 0.4rem 0.8rem; font: inherit; cursor: pointer; }
.sc-hud-btns button:hover { background: #334155; }
html[data-performance="low"] .sc-hud { transition: none; }

.sc-steps { display: flex; height: 100%; }
.sc-steps i { flex: 1; display: block; }
.sc-bands { display: flex; flex-direction: column; height: 100%; }
.sc-bands i { flex: 1; display: block; }
.sc-textpane { display: flex; height: 100%; }
.sc-textpane > div { flex: 1; padding: 1.2rem 1.5rem; overflow: hidden; line-height: 1.5; }
.sc-textpane .w { background: #fff; color: #000; }
.sc-textpane .b { background: #000; color: #fff; }
.sc-grid-circle { position: absolute; left: 50%; top: 50%; width: min(86vh, 86vw); height: min(86vh, 86vw); transform: translate(-50%, -50%); border: 3px solid #fff; border-radius: 50%; }
.sc-grid-circle.sm { width: min(40vh, 40vw); height: min(40vh, 40vw); border-color: #f87171; }

@media (max-width: 560px) {
  .sc-info { grid-template-columns: 1fr; gap: 0; }
  .sc-info dd { margin-bottom: 0.5rem; }
  .sc-hud { padding: 0.5rem 0.6rem; }
}
