/* The bedroom television. The set is the one in the picture of the room: a little walnut console on two legs, colour bars
   when it is off. One colour scheme, no dark mode (her standing rule). */
.mtv { display: block; justify-items: stretch; width: 100%; max-width: 1040px; margin: 0 auto; padding: 18px 16px 0; box-sizing: border-box; color: #2a1c2e; font-family: "Crimson Pro", Georgia, serif; }
.mtv a { color: #5e2a12; }

.set { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 208px; gap: 14px; max-width: 800px; margin: 0 auto 30px; padding: 14px;
  border-radius: 10px; background: linear-gradient(180deg, #a06b3f, #7c4e2a 60%, #6b4122); box-shadow: inset 0 0 0 2px #5e3a1f, inset 0 3px 0 #c08f62, 0 10px 18px #0005; }
.legs { position: absolute; left: 34px; right: 34px; bottom: -22px; height: 22px; display: flex; justify-content: space-between; pointer-events: none; }
.legs i { display: block; width: 11px; height: 100%; background: linear-gradient(90deg, #6b4122, #3f2613); }
.legs i:first-child { transform: skewX(12deg); } .legs i:last-child { transform: skewX(-12deg); }

.glass { position: relative; aspect-ratio: 4 / 3; min-width: 0; overflow: hidden; border-radius: 14% / 16%; background: #060606; box-shadow: inset 0 0 0 5px #2a1a0d, 0 0 0 3px #caa76a; }
.glass video, .glass iframe, .glass canvas, .glass .bars { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.glass video { object-fit: contain; background: #060606; }
.glass iframe { border: 0; background: #060606; }
.glass canvas { image-rendering: pixelated; display: none; pointer-events: none; }
.glass.tuning canvas { display: block; }
.glass .bars { display: none; background:
    linear-gradient(90deg, #d8d8d8 0 14.28%, #d4cf2a 14.28% 28.56%, #27c4c7 28.56% 42.84%, #2bb84a 42.84% 57.12%, #c13bc0 57.12% 71.4%, #c9302c 71.4% 85.68%, #2a3fc0 85.68%) top / 100% 74% no-repeat,
    linear-gradient(90deg, #15225f 0 25%, #eee 25% 50%, #3a1a66 50% 75%, #111 75%) bottom / 100% 26% no-repeat; }
.glass.off .bars { display: block; }
.glass .tag { position: absolute; left: 7%; top: 7%; margin: 0; padding: 2px 8px; border-radius: 3px; background: #000a; color: #f2eddc; font-size: 15px; line-height: 1.3; pointer-events: none; }
.glass .tag:empty { display: none; }
.glass .unbig { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #000a; color: #f2eddc; font-size: 24px; line-height: 1; cursor: pointer; }
/* Bigger, where the browser will not give the whole screen (inside the room's close view): the glass fills the page */
.glass.big { position: fixed; inset: 0; z-index: 60; border-radius: 0; aspect-ratio: auto; box-shadow: none; }
.glass:fullscreen { border-radius: 0; aspect-ratio: auto; box-shadow: none; }

.controls { display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 6px; background: linear-gradient(180deg, #d9c7a0, #bda67a); box-shadow: inset 0 0 0 2px #8f7850; }
.controls button { min-height: 44px; font: inherit; color: #2a1c2e; cursor: pointer; border: 1px solid #6e5a38; border-radius: 5px; background: linear-gradient(180deg, #f6ecd2, #d6c49c); box-shadow: 0 2px 0 #6e5a38; touch-action: manipulation; }
.controls button:active { transform: translateY(2px); box-shadow: none; }
.controls button:focus-visible, .sheet button:focus-visible, .else:focus-visible { outline: 3px solid #5e2a12; outline-offset: 1px; }
.power { font-size: 18px; font-weight: 600; }
.power[aria-pressed="true"] { background: linear-gradient(180deg, #f0cf7e, #c9a24b); }
.dial { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.dial button { font-size: 19px; font-weight: 600; padding: 0; }
.dial button.here { color: #f2eddc; background: linear-gradient(180deg, #5e3a1f, #7c4e2a); box-shadow: inset 0 2px 3px #0008; transform: translateY(2px); }
.small { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 7px; text-align: center; }
.small #bigger { grid-column: 1 / -1; }
.small .word { font-size: 15px; }
.small button { font-size: 20px; padding: 0; }
.small #bigger { font-size: 17px; }

.onair { margin: 0 auto 16px; max-width: 800px; padding: 10px 14px; border-radius: 5px; background: #f6efdc; box-shadow: 0 2px 6px #0003; font-size: 18px; line-height: 1.35; }

/* the guide: a sheet of hours you can run a finger along. The first column stays put while the hours slide under it. */
.guide { background: #f6efdc; border-radius: 6px; box-shadow: 0 3px 10px #0004; overflow: hidden; }
.sheet { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.rows { position: relative; min-width: 100%; }
.hours, .row { display: flex; height: 64px; border-bottom: 1px solid #cdbf9c; }
.hours { height: 30px; background: #e7dcc0; font-size: 15px; }
.name { position: sticky; left: 0; z-index: 3; flex: none; width: 112px; box-sizing: border-box; display: flex; align-items: center; gap: 6px; padding: 0 8px; border: 0; border-right: 2px solid #8f7850;
  background: #efe5cb; font: inherit; color: inherit; text-align: left; line-height: 1.05; cursor: pointer; }
.hours .name { background: #e7dcc0; cursor: default; }
.name b { font-size: 19px; flex: none; }
.name span { font-size: 15px; min-width: 0; }
.row.here .name { background: #5e3a1f; color: #f6efdc; }
.lane { position: relative; flex: none; }
.lane i { position: absolute; top: 0; bottom: 0; padding: 6px 0 0 6px; font-style: normal; white-space: nowrap; border-left: 1px solid #cdbf9c; }
.prog { position: absolute; top: 3px; bottom: 3px; box-sizing: border-box; padding: 2px 7px; overflow: hidden; border: 1px solid #b5a684; border-radius: 3px; background: #fbf6e7; font: inherit; font-size: 16px; line-height: 1.12; color: inherit; text-align: left; cursor: pointer; }
.prog.now { background: #f0dca6; border-color: #8f7850; }
.prog small { display: block; font-size: 13px; opacity: .78; white-space: nowrap; }
.nowline { position: absolute; top: 0; bottom: 0; width: 2px; background: #b3261e; z-index: 2; pointer-events: none; }

.elsewhere { display: grid; gap: 1px; background: #cdbf9c; }
.else { display: block; min-height: 44px; padding: 10px 12px; background: #efe5cb; text-decoration: none; font-size: 17px; line-height: 1.25; }
.else b { display: block; }
.else:hover { background: #f6efdc; }

.fine { margin: 14px auto 0; max-width: 800px; padding: 8px 12px; border-radius: 5px; background: #f6efdce6; font: italic 16px/1.35 Lora, Georgia, serif; }

@media (max-width: 720px) {
  .mtv { padding: 66px 16px 0; }             /* the prototype tag sits at the top of a phone (her ask, 2026-10-08, the same for the other television) */
  .inroom .mtv { padding-top: 10px; }
  .set { grid-template-columns: minmax(0, 1fr); padding: 10px; }
  .dial { grid-template-columns: repeat(5, 1fr); gap: 5px; }
  .dial button { font-size: 17px; }
  .small { grid-template-columns: 44px 1fr 44px minmax(0, 1.4fr); }
  .small #bigger { grid-column: auto; }
  .name { width: 84px; padding: 0 5px; }
  .name b { font-size: 17px; }
  .name span { font-size: 13px; }
}
