/* Kinhall (client/kinhall.ts): the scene fills the space under the live hunt strip; station plates float over it. */
.kinhall { flex: 1; min-height: 0; position: relative; overflow: hidden; background: #120d0a;
  /* The hall is always dark: the inks on leather, as on full pages. */
  --ink: var(--ink-l, #e2d2b0); --muted: var(--muted-l, #c4b292); --faint: var(--faint-l, #ac9a7e); --gold: #e0bd6a; }
.kinhall .hallfield { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: pointer; image-rendering: pixelated; touch-action: none; user-select: none; }
/* Dragging the scene to look around. */
.kinhall .hallfield.panning { cursor: grabbing; }
.kinhall .hallplates { position: absolute; inset: 0; pointer-events: none; }

/* A station's plate: a small engraved name tag that lights on hover. */
.hplate { position: absolute; left: 0; top: 0; pointer-events: auto; display: inline-flex; flex-direction: column; align-items: center; gap: 0;
  padding: 2px 10px 3px; border: 1px solid #7e6440; border-radius: 2px; cursor: pointer; white-space: nowrap;
  background: linear-gradient(180deg, rgba(58, 43, 31, .92), rgba(40, 29, 21, .92)); color: var(--ink);
  box-shadow: 0 0 0 1px rgba(20, 14, 10, .7), 0 2px 6px rgba(0, 0, 0, .45); opacity: .86; transition: opacity .12s, box-shadow .12s; }
.hplate .nm { font: 700 13.5px/1.15 'Cormorant Garamond', Georgia, serif; letter-spacing: .02em; }
.hplate .sub { font: 500 11.5px/1.1 'Crimson Pro', Georgia, serif; color: var(--muted); }
.hplate:hover, .hplate:focus-visible { opacity: 1; box-shadow: 0 0 0 1px rgba(20, 14, 10, .7), 0 0 0 2px #b39a66, 0 2px 8px rgba(0, 0, 0, .5); outline: none; }
.hplate.ready { border-color: #c9b282; }
.hplate.ready .nm { color: #f3e3b4; text-shadow: 0 0 6px rgba(159, 224, 242, .55); }
.hplate.locked { opacity: .55; }
.hplate.locked .sub { color: var(--faint); }
.hplate.gate { padding: 1px 9px 2px; }
.hplate .dot { position: absolute; top: -4px; right: -4px; width: 9px; height: 9px; border-radius: 50%; background: #c94a1e; box-shadow: 0 0 0 1px #2f2219; }

/* The bottom bar: who is here, then the emotes. Nothing else floats over the top of the scene, where the plates go. */
.kinhall .hallbar { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); display: flex; align-items: center; gap: 2px; padding: 4px;
  border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent); border-radius: 4px; background: rgba(30, 22, 16, .86); box-shadow: 0 2px 8px rgba(0, 0, 0, .45);
  max-width: calc(100% - 20px); }
.kinhall .hallcard { pointer-events: none; align-self: stretch; display: flex; align-items: center; padding: 0 10px 0 6px; margin-right: 2px;
  border-right: 1px solid color-mix(in srgb, var(--gold) 22%, transparent); font: 600 12.5px/1.1 'Crimson Pro', Georgia, serif; color: var(--muted); white-space: nowrap; }

/* A station out of view shows no plate (client/kinhall.ts placePlates). */
.hplate[hidden] { display: none; }

/* The emotes, in the bottom bar; locked ones show their diamond price. */
.kinhall .hallemotes { display: flex; gap: 4px; min-width: 0; }
.hemote { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 46px; padding: 3px 4px 2px; cursor: pointer;
  border: 1px solid transparent; border-radius: 3px; background: none; color: var(--ink); }
.hemote img { width: 24px; height: 24px; image-rendering: pixelated; }
.hemote .nm { font: 600 11.5px/1.1 'Crimson Pro', Georgia, serif; }
.hemote .sub { display: inline-flex; align-items: center; gap: 2px; font: 600 10.5px/1 'Crimson Pro', Georgia, serif; color: var(--gold); }
.hemote .sub img { width: 10px; height: 10px; }
.hemote:hover, .hemote:focus-visible { border-color: #b39a66; outline: none; }
.hemote.locked > img { opacity: .5; }
.hemote.armed { border-color: #c9b282; background: rgba(201, 178, 130, .16); }
@media (max-width: 760px) { .hplate .nm { font-size: 12.5px; } .hplate .sub { font-size: 11px; }
  .hemote { min-width: 0; padding: 3px 3px 2px; } .hemote .nm { display: none; }
  .kinhall .hallemotes { gap: 2px; } .kinhall .hallcard { padding: 0 7px 0 4px; font-size: 12px; } }
/* Kinhall leads the phone's bottom bar and Team follows Creatures, so it holds seven. */
@media (max-width: 760px) { .bnav { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } .bnav span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }

/* Trying a skin on (client/skins.ts tryOnBar): the bottom bar shows the skin's name, buy or use, and Done. */
.kinhall .halltry { display: flex; align-items: center; gap: 8px; padding: 0 2px 0 8px; }
.kinhall .halltry[hidden], .kinhall .hallemotes[hidden], .kinhall .hallcard[hidden] { display: none; }
.kinhall .halltry .ht-what { display: flex; flex-direction: column; min-width: 0; margin-right: 4px; }
.kinhall .halltry .ht-what b { font: 700 14.5px/1.15 'Cormorant Garamond', Georgia, serif; color: #f3e3b4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kinhall .halltry .ht-what .sub { font: 500 11.5px/1.1 'Crimson Pro', Georgia, serif; color: var(--muted); white-space: nowrap; }
.kinhall .halltry .btn { white-space: nowrap; }
