/* TeeGuys on the Arcade shell: the live 3D show stays visible behind the menus. */
.arc.arc--tee {
  background: linear-gradient(100deg, rgba(16, 44, 54, .86) 0%, rgba(16, 44, 54, .6) 46%, rgba(16, 44, 54, .18) 100%);
}
.arc--tee[data-view="title"] { background: radial-gradient(80% 70% at 50% 45%, rgba(16, 44, 54, .1), rgba(16, 44, 54, .6)); }
.arc--tee[data-view="hub"], .arc--tee[data-view="room"] { background: linear-gradient(160deg, rgba(16, 44, 54, .9), rgba(28, 70, 80, .82)); }
.arc--tee .arc-blob { opacity: .22; }
.arc--tee .arc-float { opacity: .07 !important; }
.arc--tee[data-view="title"] .arc-float, .arc--tee[data-view="menu"] .arc-float { display: none; }
.arc--tee .arc-logo__text strong { font-family: Titan, Rubik, system-ui, sans-serif; font-weight: 400; letter-spacing: -.01em; }
.arc--tee .arc-card__title, .arc--tee .arc-heading { font-family: Titan, Rubik, system-ui, sans-serif; font-weight: 400; letter-spacing: .01em; }

.tee-menu__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.arc .tee-menu__small { padding: 8px 12px; gap: 10px; border-radius: 16px; }
.arc .tee-menu__small b { font-size: 15px; }
.arc .tee-menu__small small { font-size: 11px; }
.arc .tee-menu__small .arc-menu__icon { width: 22px; height: 22px; color: var(--arc-b); }
.tee-menu__device { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.tee-mini-icon { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; margin-left: 6px; }
.arc .tee-playground { background: color-mix(in srgb, var(--arc-b) 30%, var(--arc-panel)); }
.arc .tee-playground .arc-mic__icon { width: 22px; height: 22px; display: inline-block; }
.arc .tee-spectators { grid-column: 1 / -1; }
.arc .tee-spectators b { font-size: 13px; }

/* the game's own HUD, toast and touch controls stay out of the way while the shell is open */
body.tee-shell-open #hud, body.tee-shell-open #audience, body.tee-shell-open .tee-names { display: none !important; }

@media (max-width: 760px), (max-height: 560px) {
  .tee-menu__grid { gap: 8px; }
  .arc .tee-menu__small { padding: 6px 10px; }
  .arc .tee-menu__small small { display: none; }
}
.arc--tee .arc-room { overflow-x: hidden; }
@media (max-height: 560px) {
  .arc--tee .arc-room__settings .arc-seg { padding: 6px 10px; font-size: 13px; }
  .arc--tee .arc-room__settings .arc-set__label { font-size: 11px; }
}

/* In-game panels (show setup, practice, training, wardrobe, settings, pause, results) in the
   same dark-glass arcade look as the menus. High contrast keeps its own light scheme. */
body:not(.high-contrast) #ui .panel {
  background: linear-gradient(160deg, rgba(20, 52, 62, .94), rgba(16, 38, 50, .94)); color: #fff;
  border: 3px solid rgba(255, 255, 255, .9); border-radius: 22px; backdrop-filter: blur(6px);
  box-shadow: 0 10px 0 rgba(0, 0, 0, .28), 0 18px 40px rgba(0, 0, 0, .35);
}
body:not(.high-contrast) #ui .panel h2 { color: #fff; text-shadow: 0 4px 0 rgba(0, 0, 0, .3); }
body:not(.high-contrast) #ui .panel h3 { color: #ffd166; }
body:not(.high-contrast) #ui .panel .eyebrow { color: #5fd0bd; }
body:not(.high-contrast) #ui .button {
  background: rgba(46, 92, 104, .96); color: #fff; border: 3px solid rgba(255, 255, 255, .9); border-radius: 16px;
  box-shadow: 0 5px 0 rgba(0, 0, 0, .35); font-weight: 800;
}
body:not(.high-contrast) #ui .button.primary { background: #f77b7a; color: #1a1030; box-shadow: 0 5px 0 #8b3036; }
body:not(.high-contrast) #ui .button.quiet { background: rgba(255, 255, 255, .1); }
body:not(.high-contrast) #ui .button:disabled { opacity: .55; }
body:not(.high-contrast) #ui .panel select, body:not(.high-contrast) #ui .panel input[type=text], body:not(.high-contrast) #ui .panel input[type=number],
body:not(.high-contrast) #ui .panel input:not([type]), body:not(.high-contrast) #ui .panel textarea {
  background: rgba(0, 0, 0, .32); color: #fff; border: 2px solid rgba(255, 255, 255, .55); border-radius: 10px; padding: 8px 10px;
}
body:not(.high-contrast) #ui .panel select option { color: #10202a; background: #fff; }
body:not(.high-contrast) #ui .panel .field input[type=range] { accent-color: #f77b7a; }
body:not(.high-contrast) #ui .panel .settings-block { border-top-color: rgba(255, 255, 255, .2); }
body:not(.high-contrast) #ui .panel .key-grid kbd { background: #fff; color: #183b52; }
body:not(.high-contrast) #ui .panel .score-list li:nth-child(odd) { background: rgba(255, 255, 255, .07); }
body:not(.high-contrast) #ui .panel .score-list .mine { border-color: #f77b7a; }
body:not(.high-contrast) #ui .panel .score-list .qualified { color: #8ff0c8; }
body:not(.high-contrast) #ui .panel .training-grid article, body:not(.high-contrast) #ui .panel .sticker-grid > div { border: 2px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05); }
body:not(.high-contrast) #ui .panel .sticker-grid .unlocked { background: rgba(95, 208, 189, .22); border-color: #5fd0bd; }
body:not(.high-contrast) #ui .panel .weekly-show { background: rgba(255, 209, 102, .14); border-color: #ffd166; color: #fff; }
body:not(.high-contrast) #ui .panel .intro-art { color: #10303a; }
body:not(.high-contrast) #ui .panel .chat-lines { background: rgba(0, 0, 0, .3); }
.arc .tee-menu__small { min-width: 0; }
.arc .tee-menu__small .arc-menu__label { min-width: 0; }
.arc .tee-menu__small b { font-size: clamp(12px, 3.3vw, 15px); }
@media (max-width: 480px) { .arc .tee-menu__small b { text-transform: none; letter-spacing: 0; } .arc .tee-menu__small { padding: 8px; gap: 8px; } }
