.tv { position: fixed; inset: 0; overflow: hidden; color: var(--ink); font-family: var(--sans); display: flex; flex-direction: column; padding: 1.2vw 2vw 0.8vw; gap: 1vw; font-size: clamp(12px, 1.35vw, 26px); }
.tv-loading { margin: auto; font-family: var(--serif); font-size: 8vw; }
.tv header { display: flex; align-items: center; gap: 2.5vw; border-bottom: 2px solid var(--gold); padding-bottom: 0.6vw; }
.tv .bar-status { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: .3em .9em; border-radius: 99px; border: 2px solid var(--gold); }
.tv .bar-status.open { background: var(--ink); color: var(--card); }
.tv .bar-status.closed { color: var(--muted); border-color: var(--line); }
.tv .clock { font-family: var(--serif); font-size: 2.4vw; color: var(--dark); }
.tv .payday { display: flex; align-items: baseline; gap: .6vw; background: var(--card); border: 2px solid var(--gold); border-radius: 1vw; padding: .3vw 1.2vw; }
.tv .payday span { color: var(--muted); }
.tv .payday b { font-family: var(--serif); font-size: 3.2vw; font-variant-numeric: tabular-nums; }
.tv .payday em { color: var(--gold); font-style: normal; font-weight: 700; }
.tv main { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 1.4vw; }
.tv .col { display: flex; flex-direction: column; gap: 1vw; min-height: 0; }
.tv-box { background: var(--card); border: 1px solid var(--line); border-radius: .9vw; padding: .7vw 1.2vw; min-height: 0; overflow: hidden; }
.tv-box.grow { flex: 1; }
.tv-box h2 { margin: 0 0 .4vw; font-family: var(--serif); font-size: 1.5vw; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; font-weight: 400; }
.tv ol, .tv ul { list-style: none; margin: 0; padding: 0; }
.tv ol li { display: flex; align-items: baseline; gap: .8vw; font-size: 1.5vw; padding: .15vw 0; border-bottom: 1px dotted var(--line); }
.tv ol li b { width: 1.6vw; color: var(--gold); font-family: var(--serif); }
.tv ol li .nm { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tv .tv-box.ready { background: var(--ink); color: var(--card); border-color: var(--dark); box-shadow: 0 0 0 .25vw var(--gold); }
.tv .tv-box.ready h2 { color: var(--gold); }
.tv .tv-box.ready li { font-size: 2.3vw; padding: .2vw 0; }
.tv .tv-box.ready li b { font-family: var(--serif); }
.tv .none, .tv .more { color: var(--muted); margin: .2vw 0; }
.tv .tv-box.ready .none { color: var(--line); }
.tv ul.small li { font-size: 1.5vw; padding: .1vw 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tv ul.small li span { color: var(--muted); }
.tv ul.feed li { display: flex; gap: .7vw; align-items: baseline; padding: .35vw 0; border-bottom: 1px dotted var(--line); font-size: 1.3vw; line-height: 1.25; }
.tv ul.feed li span { flex: 1; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tv ul.feed li time { color: var(--muted); font-size: .9vw; }
.tv ul.feed li.perk { background: var(--ink); color: var(--card); border-radius: .5vw; padding: .5vw .7vw; font-size: 1.6vw; font-weight: 700; margin: .2vw 0; }
.tv ul.feed li.perk time { color: var(--line); }
.tv ul.feed li.prize { color: var(--dark); font-weight: 700; font-size: 1.45vw; border-left: .3vw solid var(--gold); padding-left: .6vw; }
.tv footer { display: flex; align-items: center; gap: 1vw; color: var(--dark); font-size: 1.2vw; height: 6.5vw; }
.tv footer .qr { width: 6vw; height: 6vw; background: #fff; border-radius: .4vw; }
.tv footer .qr svg { width: 100%; height: 100%; display: block; }
.tv footer button { margin-left: auto; flex: none; }
.tv .offline-badge { position: absolute; top: .8vw; right: 1vw; background: var(--dark); color: var(--card); padding: .2vw .8vw; border-radius: 99px; font-size: 1vw; }
.tv .announce { position: absolute; inset: 0; background: rgba(118, 29, 43, .85); display: grid; place-items: center; animation: tvfade .5s ease both; z-index: 10; }
.tv .announce .card { background: var(--paper); border: .3vw solid var(--gold); border-radius: 2vw; text-align: center; padding: 3vw 4vw; max-width: 80vw; animation: tvpop .6s cubic-bezier(.2, 1.3, .4, 1) both; }
.tv .announce p { margin: 0; font-family: var(--serif); font-size: 4.2vw; line-height: 1.15; }
@keyframes tvfade { from { opacity: 0 } }
@keyframes tvpop { from { opacity: 0; transform: translateY(3vw) scale(.9) } }
.tv .tv-empty { color: var(--muted); font-size: 1.2vw; margin: .4vw 0; }

.tv { border: 7px double var(--line); padding: 1.1vw 2vw; color: var(--dark); }
.tv header { border-bottom: 3px double var(--line); }
.tv .brand { margin-right: auto; gap: 1vw; }
.tv .brand > .illustration { width: 8vw; height: 6vw; }
.tv .brand > span, .tv-loading { font: 400 clamp(1.7rem, 4.7vw, 6.6rem)/1.02 var(--display); letter-spacing: -.045em; }
.tv :is(.tv-box, .bar-status, .payday, footer .qr, .announce .card) { border-radius: 0; }
.tv .tv-box { background: var(--card); }
.tv .tv-box h2 { font: 400 clamp(1.1rem, 2.25vw, 2.2rem)/1.1 var(--condensed); letter-spacing: .06em; }
.tv .tv-box.ready { background: var(--wash); color: var(--dark); border: 3px double var(--ink); box-shadow: none; }
.tv .tv-box.ready .none { color: var(--muted); }
.tv ul.feed li { align-items: center; }
.tv ul.feed li.perk { background: var(--wash-hover); color: var(--dark); }
.tv ul.feed li.perk time { color: var(--muted); }
.tv .announce { background: rgb(45 33 28 / .76); }
.tv .announce .feed-art { width: 9vw; height: 8vw; margin: 0 auto 1rem; display: block; }
.tv .tv-priority { color: var(--ink); font-weight: 700; }
@media (max-width: 720px) {
	.tv { position: static; overflow: visible; min-height: 100svh; padding: .7rem; font-size: 1rem; gap: .8rem; }
	.tv header { flex-wrap: wrap; }
	.tv .brand { flex: 1; }
	.tv .brand > .illustration { width: 2.7rem; height: 3.25rem; }
	.tv .clock, .tv .payday b { font-size: 1.12rem; }
	.tv main { display: flex; flex-direction: column; gap: .65rem; }
	.tv .col { gap: .65rem; }
	.tv .tv-box { padding: .5rem .7rem; }
	.tv ol li, .tv ul.small li, .tv ul.feed li, .tv ul.feed li.perk,
	.tv ul.feed li.prize, .tv .tv-box.ready li, .tv .tv-empty, .tv footer { font-size: .9rem; }
	.tv ul.feed li time, .tv .offline-badge { font-size: .74rem; }
	.tv footer { min-height: 4rem; gap: .6rem; }
	.tv footer .qr { width: 4rem; height: 4rem; flex: none; }
}
