/* Trami Seating */
.tr-intro .bz-btn { margin-top: 6px; }
.tr-play { text-align: left; }
.tr-top { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--sans); margin-top: 10px; }
.tr-clock { font-weight: 800; font-size: 26px; font-variant-numeric: tabular-nums; color: var(--ink); }
.tr-fails { font-size: 13px; color: var(--brand-dark); font-weight: 700; }
.tr-tip { font-family: var(--sans); font-size: 13px; color: var(--muted); margin: 4px 0 12px; line-height: 1.4; }
.tr-tray { display: flex; flex-wrap: wrap; gap: 8px; min-height: 48px; padding: 10px; background: var(--paper-2, #f4f2ec); border: 2px dashed #c9c5ba; border-radius: 8px; }
.tr-tray.drop, .tr-tray.target { border-color: var(--brand); background: var(--brand-tint); }
.tr-tray:empty::before { content: "Everyone is seated."; font-family: var(--sans); font-size: 13px; color: var(--muted); align-self: center; }
.dg-chip { appearance: none; font: 600 14px/1.25 var(--sans); padding: 9px 12px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; color: var(--ink); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; text-align: left; max-width: 100%; }
.dg-chip.sel { background: var(--ink); color: #fff; }
.dg-chip.dragging { opacity: .35; }
.tr-ghost { position: fixed; z-index: 2000; pointer-events: none; transform: translate(-50%, -60%); box-shadow: 0 8px 22px rgba(0,0,0,.3); max-width: 220px; }
.tr-tables { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 14px; }
@media (min-width: 640px) { .tr-tables { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tr-table { border: 1px solid var(--rule-strong); border-radius: 10px; padding: 10px; background: #fff; }
.tr-table h3 { font-family: var(--sans); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 8px; color: var(--ink-2); }
.tr-table h3 small { color: var(--brand-dark); letter-spacing: .04em; text-transform: none; font-weight: 700; margin-left: 6px; }
.tr-ring { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tr-ring::before { content: ""; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e9d8b4, #c9a45e); box-shadow: inset 0 0 0 3px #b48b3f; z-index: 0; }
.dg-seat { position: relative; z-index: 1; appearance: none; min-height: 58px; padding: 8px 8px 6px; border-radius: 10px; border: 2px solid #b8b4a8; background: #faf9f5; color: var(--ink); font: 600 13px/1.25 var(--sans); text-align: left; cursor: pointer; display: flex; flex-direction: column; justify-content: center; touch-action: none; }
.dg-seat.corner { background: #f3ebd6; border-color: #a9996a; }
.dg-seat small { display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.dg-seat.empty { color: #8b887f; font-weight: 500; }
.dg-seat.full { background: #fff; border-color: var(--ink); }
.dg-seat.sel { background: var(--ink); color: #fff; }
.dg-seat.sel small { color: #d8d5cc; }
.dg-seat.target { outline: 3px solid var(--brand); outline-offset: 1px; }
.tr-h { font-family: var(--display); font-size: 21px; margin: 20px 0 6px; letter-spacing: .02em; }
.tr-clues { list-style: none; margin: 0; padding: 0; font-family: var(--sans); font-size: 14px; line-height: 1.4; counter-reset: c; }
.tr-clues li { position: relative; padding: 8px 8px 8px 30px; border-left: 4px solid #d8d5cc; margin-bottom: 6px; background: #faf9f5; transition: background .2s, border-color .2s; }
.tr-clues li::before { counter-increment: c; content: counter(c); position: absolute; left: 8px; top: 8px; font-size: 11px; font-weight: 800; color: var(--muted); }
.tr-clues li.ok { border-left-color: #2f8a4f; background: #f1f7f2; }
.tr-clues li.broken { border-left-color: #c0262d; background: #fbf0f0; }
.tr-clues li.broken::after { content: "Broken"; position: absolute; right: 8px; top: 8px; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #9a2328; }
.tr-clues li.broken { padding-right: 62px; }
.tr-check { display: block; margin: 16px auto 0; }
.tr-msg { font-family: var(--sans); font-size: 14px; text-align: center; margin: 12px 0 0; min-height: 20px; color: var(--brand-dark); font-weight: 600; }
