/* Scoped host / player styles: the other game pages keep their own themes. */
.cut-page { --accent: #ff7a6e; --accent-text: #ff9c92; }
.cut-page .header { margin-bottom: 24px; }
.cut-page .header h1 { color: #ff8b7f; font-size: clamp(2.6rem, 7vw, 4rem); font-weight: 900; letter-spacing: -.04em; }
.cut-subtitle { color: #c7c7db; font-size: 1rem; margin-top: 8px; letter-spacing: .22em; }
.cut-page .topbar { gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.cut-shell { width: 100%; max-width: 880px; position: relative; z-index: 1; }
.cut-panel { background: var(--surface, #13132b); border: 1px solid #33334c; border-radius: 22px; padding: 26px; margin-bottom: 18px; }
.cut-setup, .cut-demo { display: grid; gap: 22px; }
.cut-intro { font-size: 1.2rem; line-height: 1.65; color: #f1eef4; text-align: center; text-wrap: balance; }
.cut-custom { display: grid; gap: 12px; }
.cut-modes { display: grid; gap: 12px; }
.cut-mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cut-mode { display: grid; gap: 8px; align-content: start; min-width: 0; font: inherit; text-align: left; color: #dbd8e5; background: #0d0d1a; border: 1px solid #575168; border-radius: 16px; padding: 16px 18px; cursor: pointer; }
.cut-mode strong { color: #f4edf2; font-size: 1.05rem; line-height: 1.4; }
.cut-mode span { color: #bab7cd; font-size: .92rem; line-height: 1.6; }
.cut-mode:hover:not(:disabled) { border-color: #dd988f; }
.cut-mode[aria-pressed="true"] { background: #2b1c2a; border-color: #ff887b; box-shadow: inset 0 0 0 1px #ff887b; }
.cut-mode[aria-pressed="true"] strong { color: #ffa397; }
.cut-mode:disabled { opacity: .45; cursor: default; }
.cut-mode-options { display: grid; gap: 22px; }
.cut-mode-fields { display: grid; gap: 14px; }
.cut-field input[aria-invalid="true"] { border-color: #ffad9f; }
.cut-settings { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cut-field { display: grid; gap: 9px; min-width: 0; color: #dbd8e5; font-size: .95rem; text-align: left; }
.cut-field select, .cut-field input { width: 100%; min-width: 0; min-height: 48px; font: inherit; font-size: 16px; background: #0d0d1a; color: #f2eef6; border: 1px solid #575168; border-radius: 12px; padding: 12px; }
.cut-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; font: inherit; font-size: .97rem; font-weight: 650; line-height: 1.4; border: 1px solid #55516b; border-radius: 12px; padding: 12px 18px; color: #f0eaf2; background: #24223c; cursor: pointer; text-decoration: none; }
.cut-button:hover:not(:disabled) { background: #343049; border-color: #dd988f; }
.cut-button.cut-primary { background: #ff887b; border-color: #ff887b; color: #1b1013; }
.cut-button.cut-primary:hover:not(:disabled) { background: #ffa397; }
.cut-button:disabled { opacity: .45; cursor: default; }
.cut-button:focus-visible, .cut-mode:focus-visible, .cut-field select:focus-visible, .cut-field input:focus-visible, .cut-rules summary:focus-visible { outline: 3px solid #f4cf92; outline-offset: 3px; }
.cut-soft { font-size: .92rem; line-height: 1.65; color: #bab7cd; }
.cut-meta { color: #bab7cd; font-size: .9rem; }
.cut-feedback { font-size: .95rem; line-height: 1.6; color: #ffd39f; margin: 12px 0; }
.cut-feedback:empty, #cut-sound-status:empty { display: none; }
.cut-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cut-setup-actions .cut-primary { flex: 1; }
.cut-settings-hint { text-align: center; }
.cut-session-actions { justify-content: center; margin: 18px 0; }
.cut-session-actions .cut-primary { min-width: 160px; }
.cut-bottom-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 18px 0; }
.cut-sound { font-size: .88rem; }
.cut-rules { padding: 6px 0 18px; }
.cut-rules summary { color: #c8bed6; padding: 10px 0; line-height: 1.5; cursor: pointer; }
.cut-rules p { color: #bdb8cf; line-height: 1.65; font-size: .94rem; margin: 9px 0; max-width: 68ch; }
.cut-library { margin-top: 42px; padding-top: 8px; border-top: 1px solid #2d2a3e; color: #a6a1b5; font-size: .82rem; }
.cut-library > summary { padding: 12px 0; cursor: pointer; }
.cut-library-controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr); gap: 14px; margin: 12px 0; }
.cut-library .cut-field { font-size: .8rem; }
.cut-library-count { padding: 8px 0 12px; }
.cut-library-list { max-height: 420px; overflow-y: auto; overscroll-behavior: contain; padding: 0 14px; border: 1px solid #302c42; border-radius: 12px; }
.cut-library-item { padding: 16px 0; border-bottom: 1px solid #302c42; }
.cut-library-item:last-child { border-bottom: 0; }
.cut-library-category { color: #aaa3bc; font-size: .72rem; margin-bottom: 7px; }
.cut-library-item h3 { color: #d8d2e1; font-size: .95rem; line-height: 1.6; font-weight: 500; overflow-wrap: anywhere; }
.cut-library-starter { color: #b2a8bf; line-height: 1.65; margin-top: 7px; overflow-wrap: anywhere; }
.cut-library-starter > span { color: #898397; font-size: .72rem; margin-right: 5px; }
.cut-library-empty { padding: 18px 0; }
.cut-library summary:focus-visible, .cut-library-list:focus-visible { outline: 3px solid #f4cf92; outline-offset: 3px; }
.cut-kicker { color: #c5c2d5; font-size: .78rem; font-weight: 600; letter-spacing: .13em; line-height: 1.6; }
.cut-stage { background: #13132b; border: 1px solid #34334b; border-radius: 24px; overflow: hidden; width: 100%; text-align: center; }
.cut-topic { padding: 26px 28px; border-bottom: 1px solid #333148; background: #17162f; }
.cut-topic-settings { display: grid; gap: 10px; }
.cut-topic-clock { color: #bab7cd; margin-top: 18px; font-size: .82rem; line-height: 1.6; }
.cut-topic-clock > p:first-child { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; }
.cut-topic-time { font-size: 1rem; font-weight: 650; font-variant-numeric: tabular-nums; color: #e6dce4; }
.cut-topic-reminder { color: #ffd39f; max-width: 48ch; margin: 8px auto 0; overflow-wrap: anywhere; }
.cut-main { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; justify-content: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid #333148; line-height: 1.5; }
.cut-main-label { color: #c5c2d5; font-size: .78rem; font-weight: 600; letter-spacing: .13em; }
.cut-main-name { color: #ffa397; font-size: 1.15rem; font-weight: 750; overflow-wrap: anywhere; }
.cut-main-time { color: #e6dce4; font-size: 1.15rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.cut-main[data-cut-running="false"] .cut-main-time { color: #9c98ad; }
.cut-jump.cut-is-cut .cut-topic .cut-kicker { color: #c5c2d5; }
.cut-extend { min-height: 38px; margin-top: 12px; padding: 7px 16px; font-size: .88rem; border-radius: 99px; }
.cut-topic h2 { color: #f4edf2; margin-top: 12px; font-size: clamp(1.25rem, 3vw, 1.9rem); line-height: 1.5; font-weight: 600; text-wrap: balance; overflow-wrap: anywhere; white-space: pre-wrap; }
.cut-floor { min-height: 310px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; padding: 38px 24px; }
.cut-speaker { width: 100%; min-width: 0; }
.cut-speaker h3 { font-size: clamp(2.7rem, 8vw, 5.4rem); font-weight: 850; line-height: 1.15; letter-spacing: -.04em; color: #fff0ed; margin-top: 12px; overflow-wrap: anywhere; }
.cut-you { display: inline-block; padding: 6px 13px; margin-top: 16px; border-radius: 99px; color: #271014; background: #ff9689; font-size: .85rem; font-weight: 800; }
.cut-cue { color: #dac7ca; font-size: 1.05rem; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; }
.cut-waiting { max-width: 40ch; font-weight: 500; line-height: 1.7; }
.cut-begin { min-width: 170px; margin-top: 4px; }
.cut-go { color: #c3e9c4; }
.cut-countdown { font-size: 3.5rem; font-weight: 900; line-height: 1.1; color: #f6d9a8; min-height: 62px; }
.cut-is-you { border: 2px solid #ff9386; }
.cut-is-cut .cut-floor { background: #ff7f73; color: #251017; gap: 26px; animation: cut-impact .36s ease-out both; }
.cut-burst strong { display: block; font-size: clamp(5rem, 17vw, 10rem); line-height: 1; font-weight: 950; letter-spacing: -.08em; transform: rotate(-4deg); }
.cut-burst p { margin-top: 16px; font-size: 1.05rem; line-height: 1.5; font-weight: 650; }
.cut-is-cut .cut-kicker, .cut-is-cut .cut-speaker h3 { color: #251017; }
.cut-is-cut .cut-cue { color: #361720; }
.cut-is-cut .cut-primary { background: #301721; color: #fff0ed; border-color: #301721; }
.cut-is-cut .cut-primary:hover:not(:disabled) { background: #4a2534; }
.cut-is-cut .cut-speaker h3 { font-size: clamp(2.6rem, 7vw, 4.5rem); }
.cut-is-cut .cut-you { color: #fff; background: #3e1a24; }
.cut-jump-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; width: 100%; }
.cut-jump-actions .cut-button { min-width: 130px; min-height: 52px; font-size: 1.05rem; }
.cut-is-cut .cut-jump-actions .cut-button:not(.cut-primary) { background: transparent; border-color: #301721; color: #301721; }
.cut-is-cut .cut-jump-actions .cut-button:not(.cut-primary):hover:not(:disabled) { background: #3017211f; }
.cut-reveal { animation: cut-reveal .28s .08s ease-out both; }
.cut-static .cut-floor, .cut-static .cut-reveal { animation: none; }
.cut-rest { display: grid; gap: 16px; max-width: 40ch; }
.cut-rest > span { font-size: 2.5rem; color: #d8c2c3; }
.cut-rest h3 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.3; color: #f2e4e7; }
.cut-sitting-out { padding: 0 18px 18px; }
.cut-dialog { width: calc(100% - 36px); max-width: 560px; max-height: calc(100dvh - 48px); margin: auto; padding: 26px; border: 1px solid #5c5267; border-radius: 22px; color: #eee; background: #16152c; }
.cut-dialog::backdrop { background: #070712c9; }
.cut-dialog-header { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 18px; }
.cut-dialog h2 { font-size: 1.3rem; }
.cut-end-dialog { display: grid; gap: 20px; }
.cut-end-dialog:not([open]) { display: none; }
.cut-roster { display: grid; gap: 8px; margin: 16px 0 24px; }
.cut-controls { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.cut-card-settings { display: grid; gap: 14px; width: 100%; text-align: left; }
.cut-card-settings .cut-settings { grid-template-columns: 1fr; gap: 12px; }
.cut-card-settings .cut-controls > .cut-button { flex: 1; }
.cut-management-actions { margin: 14px 0; }
.cut-player-management { width: 100%; text-align: left; }
.cut-player-management summary { cursor: pointer; color: #ffd4cb; }
.cut-player-management .cut-roster-row > span { min-width: 0; overflow-wrap: anywhere; }
.cut-roster-row { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid #353149; }
.cut-roster-row > div { min-width: 0; }
.cut-roster-row strong { display: block; overflow-wrap: anywhere; font-size: 1.1rem; }
.cut-roster-row .cut-button { flex-shrink: 0; font-size: .88rem; }
.cut-stop { border-color: #ce766f; color: #ffb3a9; }
.secret-card.cut-player { max-width: 420px; width: 100%; gap: 18px; padding: 20px 16px; border: 1px solid #655466; box-shadow: none; animation: none; }
body.cut-card-page { --accent: #ff887b; --accent-text: #ff9e92; }
body.cut-card-page #i18n-toggle { --accent: #ff887b; }
.cut-player .name-banner { --accent: #ff887b; }
.cut-player .cut-player-scene { width: 100%; }
.cut-player .cut-brand { color: #ffa195; font-size: 1rem; }
.cut-player .cut-topic { padding: 20px 17px; }
.cut-player .cut-topic h2 { font-size: 1.1rem; }
.cut-player .cut-floor { padding: 28px 16px; min-height: 260px; }
.cut-player .cut-speaker h3 { font-size: clamp(2rem, 9vw, 3.5rem); }
.cut-player .cut-burst strong { font-size: 5rem; }
.cut-player .cut-cue { font-size: .9rem; }
.cut-page [hidden], .cut-player [hidden] { display: none !important; }
#cut-setup-needed { display: grid; gap: 16px; }
@keyframes cut-impact { 0% { transform: translateX(-7px); } 25% { transform: translateX(6px); } 50% { transform: translateX(-4px); } 75% { transform: translateX(2px); } 100% { transform: translateX(0); } }
@keyframes cut-reveal { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 520px) {
  .cut-panel { padding: 22px 18px; }
  .cut-settings, .cut-library-controls, .cut-mode-grid { grid-template-columns: 1fr; }
  .cut-topic { padding: 22px 19px; }
  .cut-floor { min-height: 290px; padding: 30px 18px; }
  .cut-session-actions .cut-button { flex: 1; }
  .cut-dialog { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .cut-page *, .cut-player * { animation: none !important; transition: none !important; }
  .cut-burst strong { transform: none; }
}
