
/* MittelTV — Smart TV presentation layer */
:root{
  --tv-blue:#005BFF;
  --tv-yellow:#FFD400;
  --tv-white:#fff;
  --tv-black:#000;
  --tv-focus:#FFD400;
}

html{
  background:#000 !important;
  scroll-behavior:auto !important;
}

body{
  min-width:320px !important;
  min-height:100vh !important;
  background:#000 !important;
  color:#fff !important;
  font-size:clamp(18px, 1.25vw, 30px) !important;
  line-height:1.55 !important;
  padding-bottom:72px !important;
}

header{
  position:relative !important;
  z-index:2 !important;
  padding:clamp(20px,2vw,40px) !important;
  font-size:clamp(22px,1.7vw,36px) !important;
  line-height:1.2 !important;
}

main{
  width:min(92vw, 1760px) !important;
  max-width:none !important;
  padding:clamp(36px,4vw,80px) 0 !important;
}

h1{
  font-size:clamp(42px,4.4vw,86px) !important;
  line-height:1.08 !important;
  margin-bottom:clamp(30px,3vw,60px) !important;
}

h2{
  font-size:clamp(26px,2vw,42px) !important;
  line-height:1.45 !important;
}

p, li{
  font-size:clamp(22px,1.45vw,32px) !important;
  line-height:1.55 !important;
}

.buttons-grid{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:clamp(18px,1.6vw,32px) !important;
}

.buttons-container{
  gap:clamp(18px,1.6vw,32px) !important;
}

.year-button,
.show-button,
.button,
.top-button{
  min-height:clamp(100px,8vw,150px) !important;
  width:100% !important;
  max-width:none !important;
  padding:clamp(20px,1.5vw,34px) !important;
  font-size:clamp(26px,1.8vw,40px) !important;
  line-height:1.2 !important;
  border-width:4px !important;
  border-radius:22px !important;
}

.content{
  max-width:1500px !important;
  margin-inline:auto !important;
}

audio{
  width:min(100%, 1100px) !important;
  height:82px !important;
  margin:auto !important;
}

iframe{
  width:min(100%, 1400px) !important;
  min-height:min(65vh, 800px) !important;
  border:0 !important;
}

footer{
  font-size:clamp(18px,1.1vw,26px) !important;
  padding:18px !important;
}

a, button, input, select, textarea, audio, video, iframe, [tabindex]{
  -webkit-tap-highlight-color:transparent;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
audio:focus,
video:focus,
iframe:focus,
[tabindex]:focus{
  outline:6px solid var(--tv-focus) !important;
  outline-offset:7px !important;
  box-shadow:0 0 0 3px #000, 0 0 28px rgba(255,212,0,.65) !important;
}

.tv-focus{
  outline:6px solid var(--tv-focus) !important;
  outline-offset:7px !important;
  box-shadow:0 0 0 3px #000, 0 0 28px rgba(255,212,0,.65) !important;
  transform:scale(1.015);
  transition:transform .12s ease, box-shadow .12s ease;
}

#tv-hud{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:99999;
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:60px;
  padding:10px 18px;
  background:rgba(0,0,0,.94);
  border-top:2px solid #fff;
  color:#fff;
  font:700 clamp(15px,1vw,22px)/1.2 Arial,Helvetica,sans-serif;
  letter-spacing:.6px;
  text-align:center;
  pointer-events:none;
}

#tv-hud .tv-hud-accent{
  color:var(--tv-yellow);
}

@media (max-width:1200px){
  .buttons-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}

@media (max-width:700px){
  .buttons-grid{grid-template-columns:1fr !important;}
  body{padding-bottom:62px !important;}
  #tv-hud{min-height:50px;padding:8px 10px;}
}

@media (prefers-reduced-motion:reduce){
  .tv-focus{transition:none;transform:none;}
}
