:root {
  --ink: #f3eee7;
  --muted: #bdbbb9;
  --accent: #c5a462;
  --hotel: #a51d2b;
  --surface: #292d34;
  --line: #ffffff12;
  --shadow: 0 1.4rem 2.9rem #0006, 0 .3rem .65rem #0007;
  --ring: 0 0 0 .16rem var(--accent), 0 0 1.6rem #d9b46a9c;
  --panel: linear-gradient(142deg, #41464f, #292d34 72%);
  font-size: min(.735294vw, 1.30719vh);
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #000;
  color: var(--ink);
  font: 400 1.7rem/1.45 Montserrat, "Noto Sans CJK SC", Arial, sans-serif;
}
button, input { font: inherit; color: inherit; }
button { border: 0; cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure, dl, ol { margin: 0; }
h1, h2, h3 { font-weight: 500; line-height: 1.18; }
h1, .section-heading { font-size: 3.35rem; }
p { color: var(--muted); }
.icon {
  width: 1.3em;
  height: 1.3em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.screen {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 136rem;
  height: 76.5rem;
  overflow: hidden;
  padding: 2.8rem 4.6rem;
  background: radial-gradient(ellipse at 34% 0, #282c33, #22252b 58%, #1a1c21);
}
.screen::after {
  position: absolute;
  inset: 0;
  z-index: 9;
  content: "";
  pointer-events: none;
}
[data-brightness="low"] .screen::after { background: #0004; }
[data-brightness="high"] .screen::after { background: #fff1; }
.screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 10rem;
  margin-bottom: 2.8rem;
}
.brand { width: 15rem; height: 10rem; }
.brand-link { display: block; width: 100%; height: 100%; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.clock { text-align: right; white-space: nowrap; }
.clock time { font-size: 4rem; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.clock div { color: var(--muted); font-size: 1.18rem; margin-top: .35rem; }
.screen-main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.heading { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-bottom: 1.55rem; min-height: 4rem; }
.panel {
  background: var(--panel);
  border-radius: 1.4rem;
  box-shadow: var(--shadow), inset 0 .1rem .18rem var(--line);
}
.scroll-area { overflow: auto; scrollbar-width: none; min-height: 0; }
.scroll-area::-webkit-scrollbar { display: none; }
:focus-visible, .tv-focus { outline: .15rem solid var(--accent); outline-offset: 0; box-shadow: var(--ring); }
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 4.15rem;
  padding: .75rem 1.75rem;
  border-radius: 5rem;
  color: var(--ink);
  background: linear-gradient(155deg, #484d57, #2b2f36 73%);
  box-shadow: inset 0 .08rem .15rem #fff2, 0 .45rem .85rem #0005;
  font-size: 1.55rem;
  font-weight: 600;
  white-space: nowrap;
}
.pill:hover:not(:disabled) { background: linear-gradient(145deg, #555c68, #363b43); }
.pill:focus-visible, .pill.tv-focus { box-shadow: var(--ring); }
.filters {
  max-width: 60%;
  padding: .4rem .5rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  border-radius: 5rem;
  overflow: auto;
  scrollbar-width: none;
  background: #14161b80;
  box-shadow: inset 0 .1rem .2rem #0008;
}
.filters::-webkit-scrollbar { display: none; }
.filter { background: none; box-shadow: none; color: #b0b2bb; }
.filter[aria-pressed="true"] { color: var(--ink); background: linear-gradient(145deg, #676e79, #424750); }
.filter small { opacity: .68; }
.filters .pill { flex: 0 0 auto; }
dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1.3rem; padding: .24rem 0; }
dt { color: var(--muted); }
dd { margin: 0; text-align: right; font-weight: 600; }

.home-page .screen {
  padding-left: 4.1rem;
  padding-right: 4.1rem;
  background-color: #241f19;
  --home-scrim: linear-gradient(90deg, #211b13de, #231b1287 44%, transparent 83%),
    linear-gradient(0deg, #1b1713e6, #1e191397 38%, transparent 65%),
    radial-gradient(ellipse at 82% 14%, #e492394d, #4f321a24 50%, #1e1a14b5 92%);
  background-image: var(--home-scrim), var(--home-image);
  background-size: cover;
  background-position: center;
}
.home-page .screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--home-scrim), var(--home-image);
  background-size: cover;
  background-position: inherit;
  filter: blur(.85rem);
  mask-image: radial-gradient(ellipse 77% 58% at 98% 0, transparent 46%, #0002 60%, #000b 80%, black 100%);
  pointer-events: none;
}
.home-page .screen-header, .home-page .screen-main { position: relative; }
.home-page .heading { margin-bottom: .55rem; }
.subtitle { font-size: 2.05rem; }
.home-grid, .service-grid, .apps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-grid { gap: 2.05rem; margin: 5.45rem .65rem 0; }
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 18.8rem;
  padding: 2.1rem 2rem 1.65rem;
  border: .1rem solid #ffffff1b;
  border-radius: 1.35rem;
  background: linear-gradient(148deg, #fff2, #1f1b15a8 59%, #1c1914c7);
  backdrop-filter: blur(.5rem);
  box-shadow: 0 1.1rem 1.9rem #0007, inset 0 .07rem #fff2;
  transition: transform .15s, box-shadow .15s;
}
.tile .icon { color: var(--accent); width: 6.1rem; height: 6.1rem; stroke-width: 1; }
.tile-label { font-size: 2.2rem; line-height: 1.1; letter-spacing: -.012em; font-weight: 500; }
.tile-temp { position: absolute; top: 1.55rem; right: 2rem; font-size: 3.55rem; line-height: 1.15; }
.tile:hover, .tile:focus-visible, .tile.tv-focus { transform: scale(1.025); z-index: 1; box-shadow: var(--ring); }

.tv-layout, .search-layout, .messages-layout { flex: 1; min-height: 0; display: grid; gap: 2rem; }
.tv-layout { grid-template-columns: 1.10fr 1fr; }
.tv-page .filters { max-width: 47%; }
.list { display: flex; flex-direction: column; gap: 1.15rem; padding: .3rem .35rem 1rem; }
.channel-row {
  display: grid;
  grid-template-columns: 3.2rem 12.5rem minmax(0, 1fr);
  gap: 1.9rem;
  align-items: center;
  flex: none;
  min-height: 13rem;
  padding: 1.55rem 3rem;
  text-align: left;
}
.channel-row:hover, .channel-row[aria-pressed="true"] { background: linear-gradient(145deg,#555b67,#3a404a); }
.channel-number { font-size: 2.4rem; }
.channel-mark {
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 1.05rem;
  aspect-ratio: 1.64;
  box-shadow: 0 .5rem .8rem #0005;
  font-weight: 700;
  font-size: 2.9rem;
}
.channel-mark img { width: 74%; height: 75%; object-fit: contain; }
.channel-row .hotel-mark img { width: 92%; height: 93%; }
.channel-label strong { display: block; font-size: 2.72rem; line-height: 1.18; font-weight: 600; }
.channel-label small { display: block; margin-top: .45rem; color: #bfc3cf; font-size: 1.9rem; font-weight: 500; }
.channel-preview { overflow: auto; scrollbar-width: none; background: #292d34; }
.channel-art { display: grid; position: relative; place-items: center; width: 100%; aspect-ratio: 16 / 9; font-size: 9rem; }
.channel-art img { width: 54%; height: 48%; object-fit: contain; }
.channel-art.hotel-mark img { width: 15rem; height: 10rem; }
.channel-art video { width: 100%; height: 100%; position: absolute; inset: 0; background: #000; }
.channel-state { position: absolute; inset: auto 1.5rem 1.5rem; background: #14171de8; padding: 1.15rem; border-radius: 1rem; font-size: 1.55rem; text-align: center; }
.channel-copy { padding: 1.1rem 1.1rem 1.5rem; }
.channel-copy h2 { margin: .35rem 0 .9rem; font-size: 2.65rem; }
.channel-copy p { max-width: 45rem; font-size: 1.43rem; line-height: 1.65; }
.channel-copy small { color: #c2c2c6; text-transform: uppercase; letter-spacing: .15em; font-size: 1.05rem; font-weight: 700; }

.app-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 3rem; margin-bottom: 1.85rem; }
.app-note {
  display: flex; align-items: center; gap: 1rem; flex: 1;
  max-width: 109rem; min-height: 5.2rem; padding: .9rem 1.65rem;
  border: .1rem solid #c7a86f40; border-radius: 1.25rem; background: #bc985714; color: #e4ddd3;
  font-size: 1.48rem; font-weight: 500;
}
.app-note .icon { color: var(--accent); }
.app-toolbar .pill { min-height: 5rem; }
.apps-grid { flex: 1; gap: 2.8rem 1.85rem; align-content: start; padding: .3rem .35rem 1.5rem; }
.app-tile { display: flex; flex-direction: column; align-items: stretch; gap: 1.15rem; padding: 0; background: transparent; border-radius: 1.25rem; text-align: center; font-size: 1.55rem; font-weight: 600; }
.app-art {
  display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9;
  border-radius: 1.25rem; box-shadow: var(--shadow), inset 0 .1rem .2rem #fff3;
  background-image: radial-gradient(ellipse at 0 0, #fff3, transparent 62%), linear-gradient(155deg, #fff1, #0004);
  font-size: 4.2rem; font-weight: 700; overflow: hidden;
}
.app-art img { width: 74%; height: 62%; object-fit: contain; }
.app-tile:focus-visible, .app-tile.tv-focus { outline: none; box-shadow: none; }
.app-tile:hover .app-art, .app-tile:focus-visible .app-art, .app-tile.tv-focus .app-art { box-shadow: var(--ring); }
.toast { position: absolute; z-index: 5; left: 50%; bottom: 3.2rem; transform: translateX(-50%); padding: 1.3rem 2rem; border-radius: 1rem; background: #14171df5; box-shadow: var(--shadow); }

.search-layout { grid-template-columns: .83fr 1fr; gap: 4.5rem; }
.search-field { display: flex; align-items: center; gap: 1.2rem; min-height: 6rem; padding: .5rem 1.9rem; border-radius: 1.1rem; background: var(--panel); box-shadow: var(--shadow); font-size: 2.2rem; }
.search-field .icon { color: var(--accent); width: 2.2rem; }
.search-field input { width: 100%; min-width: 0; background: transparent; border: 0; }
.search-field input::placeholder { color: #c0bfc1; }
.search-field input:focus { outline: 0; }
.search-field:focus-within { box-shadow: var(--ring); }
.virtual-keyboard { margin-top: 1.75rem; display: grid; gap: .65rem; grid-template-columns: repeat(11, minmax(0,1fr)); }
.key {
  display: grid; place-items: center; min-height: 4.4rem; padding: .2rem;
  border-radius: .7rem; background: var(--panel); font-size: 1.75rem; font-weight: 600;
  box-shadow: 0 .45rem .65rem #0005, inset 0 .1rem #fff2;
}
.key:hover { background: #525863; }
.key.tv-focus, .key:focus-visible { box-shadow: var(--ring); }
.key[data-key="space"] { grid-column: span 5; }
.key[data-key="erase"], .key[data-key="clear"] { grid-column: span 3; }
.key[data-key="language"] { color: var(--accent); grid-area: 1 / 11; }
.key.wide { font-size: 1.45rem; }
.search-results { min-height: 0; display: flex; flex-direction: column; }
.search-status { min-height: 2.5rem; font-size: 1.5rem; }
.search-results .channel-row { grid-template-columns: 2.6rem 10.8rem minmax(0, 1fr); min-height: 8rem; padding: .65rem 2rem; gap: 1.3rem; }
.search-results .channel-number { font-size: 1.6rem; }
.search-results .channel-mark { height: 6.1rem; }
.search-results .channel-label strong { font-size: 2rem; }
.search-results .channel-label small { font-size: 1.26rem; }
.search-app-row { display: grid; grid-template-columns: 10.8rem 1fr; gap: 1.6rem; align-items: center; padding: .7rem 1.8rem; text-align: left; flex: none; font-size: 2rem; }
.search-app-row .app-art { font-size: 1.45rem; box-shadow: none; border-radius: .7rem; }

.service-grid { flex: 1; gap: 2.3rem 2rem; align-content: start; padding: 1.85rem .35rem 1rem; }
.service-tile { position: relative; height: 22.2rem; overflow: hidden; }
.service-tile img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); }
.service-tile:hover img, .service-tile:focus-visible img, .service-tile.tv-focus img { filter: brightness(.91); }
.service-tile > div { position: absolute; inset: 33% 0 0; padding: 1.8rem; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(transparent, #121314ee); }
.service-tile strong { font-size: 2rem; line-height: 1.22; font-weight: 600; }
.service-tile p { display: flex; align-items: center; gap: .65rem; margin-top: .45rem; font-size: 1.4rem; min-width: 0; }
.service-tile p span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.service-tile .icon { color: var(--accent); }
.service-detail { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.95rem; margin-top: 1.7rem; min-height: 0; height: 46.8rem; }
.service-photo { overflow: hidden; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; }
.detail-copy { position: relative; padding: 2.55rem 3.4rem; overflow: auto; scrollbar-width: none; font-size: 2rem; }
.detail-copy::before { position: absolute; content: ""; inset: 1.25rem; border: .1rem solid #b6aa855b; border-radius: 2.1rem; pointer-events: none; }
.detail-copy p { color: #ddd9d3; }
.detail-copy h2 { color: var(--muted); font-size: 1.7rem; margin: 1.35rem 0 .85rem; }
.detail-copy h2:first-of-type { border-top: .1rem solid var(--line); padding-top: 1.4rem; }

.info-scroll { flex: 1; margin: -1rem -.35rem -.1rem; padding: 1rem .35rem 1.5rem; scroll-snap-type: y proximity; }
.info-scroll section { scroll-snap-align: start; padding-top: 1rem; padding-bottom: 4rem; }
.info-scroll section:first-child { padding-top: 0; }
.info-scroll section:last-child { padding-bottom: 1rem; }
.info-intro { display: grid; grid-template-columns: .87fr 1fr; gap: 2.3rem; align-items: center; }
.intro-copy { padding: 1rem 3.9rem 1rem 1.55rem; }
.intro-copy h2 { font-size: 2.75rem; margin-bottom: 2.5rem; }
.intro-copy p { font-size: 1.65rem; line-height: 1.62; }
.gallery-photos { height: 46.7rem; overflow: hidden; }
.gallery-photos img { width: 100%; height: 100%; object-fit: cover; }
.gallery-controls { display: flex; align-items: center; gap: 1.05rem; margin: 1.5rem 0 .4rem; }
.gallery-controls .pill { width: 4.55rem; height: 4.55rem; padding: 0; background: #2b251c; }
.gallery-controls span { margin-left: auto; }
.section-heading { margin-bottom: 1.65rem; }
.history-grid, .contact-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.1rem; }
.history-card { min-height: 50rem; overflow: hidden; background: #241f17; }
.history-card:nth-child(2) { background: linear-gradient(135deg, #a11f2c, #6c151e); }
.history-card img { width: 100%; height: 22rem; object-fit: cover; mask-image: linear-gradient(#000 57%, transparent); }
.history-card > div { padding: 0 3rem 3rem; }
.history-card h3 { font-size: 2.95rem; margin-bottom: 1.4rem; }
.history-card p { font-size: 1.62rem; color: #e1d8ce; line-height: 1.62; }
.map-card { position: relative; min-height: 35rem; overflow: hidden; }
.map-card img { width: 100%; height: 100%; position: absolute; object-fit: cover; }
.map-card figcaption { position: absolute; bottom: 1.4rem; left: 1.4rem; padding: 1.1rem 1.5rem; border-radius: 1rem; background: #22262eee; font-size: 1.25rem; }
.map-card strong { display: block; margin-top: .2rem; font-size: 1.65rem; }
.contact-card { padding: 2.2rem 2.65rem; }
.contact-card h3 { margin: 1.45rem 0 .65rem; font-size: 1.8rem; }
.contact-card h3:first-child { margin-top: 0; }
.contact-card dl { font-size: 1.48rem; }

.weather-grid { flex: 1; display: grid; grid-template-columns: .74fr 1fr; gap: 1.98rem; padding: 0 .35rem .2rem; overflow: visible; }
.weather-grid .panel { padding: 2.8rem 3.3rem; min-width: 0; }
.weather-now { display: flex; flex-direction: column; background: radial-gradient(ellipse at 0 0,#504c45, #282c33 76%); }
.weather-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.weather-head h2 { font-size: 2.15rem; font-weight: 600; }
.weather-head > span { font-size: 1.45rem; color: var(--muted); text-align: right; }
.weather-head .pill { border-radius: .9rem; padding: .55rem 1.05rem; min-height: 3.4rem; font-size: 1.1rem; }
.weather-temp { display: flex; align-items: center; flex: 1; gap: 2.4rem; }
.weather-temp .icon { width: 12.4rem; height: 12.4rem; color: var(--accent); stroke-width: .65; }
.weather-temp strong { display: block; white-space: nowrap; font-size: 8.4rem; font-weight: 400; line-height: 1.08; }
.weather-temp p { font-size: 2.5rem; margin-top: .6rem; color: #e1dcd4; }
.weather-now dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; padding-top: 1.55rem; border-top: .1rem solid var(--line); }
.weather-now dl div { display: block; }
.weather-now dt { font-size: 1.38rem; }
.weather-now dd { margin-top: .4rem; text-align: left; font-size: 1.87rem; }
.forecast ol { list-style: none; padding: .7rem 0 0; }
.forecast li { display: grid; align-items: center; grid-template-columns: 15.2rem 4.1rem 1fr 4.8rem 4.8rem; gap: 1rem; min-height: 6.25rem; border-bottom: .1rem solid #ffffff08; font-size: 1.45rem; color: var(--muted); }
.forecast li:last-child { border-bottom: 0; }
.forecast li .icon { color: var(--accent); width: 3.4rem; height: 3.4rem; }
.forecast li strong, .forecast li b { color: var(--ink); }
.forecast li strong { display: block; font-size: 1.78rem; text-transform: capitalize; font-weight: 600; }
.forecast li small { display: block; }
.forecast li b, .forecast .night { text-align: right; white-space: nowrap; }
.forecast li b { font-size: 2rem; }

.messages-layout { grid-template-columns: .6fr 1fr; }
.message-item { padding: 1.45rem 1.9rem; text-align: left; flex: none; background: linear-gradient(145deg, #414b59, #231f18 74%); }
.message-item.promo { background: linear-gradient(145deg, #5d5036, #241e15 74%); }
.message-item[aria-pressed="true"] { box-shadow: var(--ring); }
.message-item[data-read="true"] strong { color: #b7b4ae; }
.message-item strong { display: block; margin-top: .9rem; font-size: 1.78rem; font-weight: 600; }
.tag { padding: .35rem .85rem; border-radius: 4rem; background: #567aab59; color: #cbddf3; font-weight: 600; font-size: 1.24rem; }
.promo .tag { color: #f6ddad; background: #bd9b4e61; }
.notice .tag { color: #ffd6bf; background: #e7784a50; }
.message-preview {
  padding: 3.55rem 4.45rem 3rem; overflow: auto; display: flex; flex-direction: column; align-items: flex-start;
  background: radial-gradient(ellipse at 0 0,#4b5667,#292d34 78%);
}
.message-preview:has(.promo:not([hidden])) { background: radial-gradient(ellipse at 0 0,#5b5549,#292d34 78%); }
.message-meta { display: flex; align-items: center; gap: 1.05rem; color: var(--muted); font-size: 1.36rem; }
.message-content h2 { font-size: 3.3rem; margin: 1.2rem 0 1.95rem; }
.message-content p { color: #dedbd6; font-size: 1.85rem; line-height: 1.55; padding-bottom: 2rem; }
.message-preview > button { margin-top: auto; background: #29231b; }

.settings-page .screen { background: radial-gradient(ellipse at 27% 0, #2c251a, #1d1913 85%); }
.settings-list { display: flex; flex-direction: column; gap: 1.4rem; }
.settings-row {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 8.7rem; padding: 1.2rem 2.6rem;
  background: linear-gradient(145deg,#38312a,#241e16 68%);
}
.settings-row:focus-within { box-shadow: var(--ring); }
.settings-row h2 { font-size: 2.15rem; font-weight: 600; }
.settings-row p { margin-top: .35rem; font-size: 1.35rem; }
.segments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 39rem; padding: .4rem; background: #1e2026; border-radius: 5rem; box-shadow: 0 .4rem .9rem #0006; }
.choice { border-radius: 4rem; min-height: 4.25rem; background: transparent; color: #acafb8; font-size: 1.55rem; font-weight: 600; }
.choice[aria-pressed="true"], .switch[aria-checked="true"] { background: linear-gradient(135deg,#f0dfb8,#d4a95d); color: #251d13; }
.switch { position: relative; width: 5.65rem; height: 3.05rem; border-radius: 4rem; background: #1c1e24; flex: none; }
.switch::after { position: absolute; content: ""; width: 2.35rem; top: .35rem; left: .4rem; aspect-ratio: 1; border-radius: 50%; background: #f0ede6; box-shadow: 0 .05rem .6rem #0005; transition: transform .18s; }
.switch[aria-checked="true"]::after { transform: translateX(2.45rem); }
.wifi-layout { display: grid; grid-template-columns: 1fr 40.8rem; gap: 5.4rem; margin-top: 1.75rem; }
.wifi-copy { display: flex; flex-direction: column; gap: 1.75rem; }
.wifi-copy p { font-size: 2.15rem; max-width: 80rem; margin-bottom: auto; }
.credential { padding: 2.3rem 2.7rem; }
.credential span { color: var(--muted); font-size: 1.58rem; }
.credential strong { display: block; font-size: 4.2rem; font-weight: 600; overflow-wrap: anywhere; }
.wifi-qr { display: grid; place-items: center; aspect-ratio: 1; background: white; border-radius: 2rem; box-shadow: var(--shadow); }
.wifi-qr img { width: 91%; height: 91%; object-fit: contain; image-rendering: pixelated; }

@media (max-width: 680px) and (orientation: portrait) {
  :root { font-size: 9px; }
  .screen { width: 100%; min-height: 100vh; height: auto; padding: 2.25rem 2rem 3.5rem; }
  .home-page .screen { padding: 2.25rem 2rem 3.5rem; background-position: 64% center; }
  .screen-header { flex-basis: 7.5rem; margin-bottom: 2rem; }
  .brand { width: 11rem; height: 7.5rem; }
  .clock time { font-size: 3.15rem; }
  .clock div { font-size: 1.05rem; }
  .heading { flex-wrap: wrap; gap: .85rem; }
  h1, .section-heading { font-size: 2.65rem; }
  .filters, .tv-page .filters { max-width: 100%; }
  .home-grid, .service-grid, .apps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
  .home-grid { margin: 2.55rem 0 0; }
  .tile { height: 13rem; padding: 1.25rem; }
  .tile .icon { width: 4.1rem; height: 4.1rem; }
  .tile-label, .tile-temp { font-size: 1.75rem; }
  .tile-temp { right: 1rem; }
  .tv-layout, .search-layout, .messages-layout, .weather-grid, .service-detail, .info-intro, .history-grid, .contact-layout, .wifi-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .tv-layout .list, .search-results .list { max-height: 34rem; }
  .channel-row { min-height: 8.5rem; grid-template-columns: 2.4rem 8rem 1fr; gap: 1.3rem; padding: .9rem 1.3rem; }
  .channel-label strong { font-size: 1.95rem; }
  .channel-label small { font-size: 1.35rem; }
  .app-toolbar { align-items: flex-start; gap: 1rem; }
  .app-note { font-size: 1.23rem; padding: .7rem; }
  .service-tile { height: 17rem; }
  .service-tile strong { font-size: 1.7rem; }
  .service-detail { height: auto; }
  .service-photo img, .gallery-photos { height: 27rem; }
  .intro-copy { padding: .6rem; }
  .history-card { min-height: 0; }
  .map-card { min-height: 27rem; }
  .weather-grid .panel, .message-preview { padding: 2rem; }
  .weather-temp { min-height: 17rem; gap: 1rem; }
  .weather-temp .icon { width: 8rem; height: 8rem; }
  .weather-temp strong { font-size: 6rem; }
  .forecast li { grid-template-columns: 9rem 2.75rem 1fr 3.3rem 3.45rem; gap: .55rem; font-size: 1.12rem; }
  .forecast li strong { font-size: 1.25rem; }
  .forecast li b { font-size: 1.4rem; }
  .forecast li .icon { width: 2.6rem; height: 2.6rem; }
  .settings-row { flex-wrap: wrap; padding: 1.3rem; }
  .segments { width: min(100%, 39rem); }
  .wifi-layout { gap: 2rem; }
  .wifi-qr { width: min(31rem, 100%); margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::after { transition: none !important; }
}

.welcome-page .screen {
  background: linear-gradient(90deg, #1a150db8, #1b160c91 47%, #1b150824 76%), var(--welcome-image) center / cover;
}
.welcome-copy { margin-top: 9.6rem; max-width: 62rem; }
.welcome-copy .heading { margin-bottom: 1.75rem; }
.welcome-copy h1 { font-size: 5.75rem; line-height: 1.1; }
.welcome-copy p { font-size: 2rem; }
.welcome-next {
  display: inline-flex; justify-content: center; align-items: center; gap: 1.55rem; padding: 1.85rem 3.4rem;
  margin-top: 3rem; border-radius: 1.2rem; font-size: 1.8rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; background: linear-gradient(150deg, #cdd1d255, #1f222795); box-shadow: var(--shadow);
}
.welcome-language { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.welcome-language button { padding: .45rem 1.15rem; border-radius: .65rem; color: #e4ddd4; background: #24212277; font-size: 1.32rem; }
.welcome-language button[aria-pressed="true"] { background: #54565bbb; color: white; }
@media (max-width: 680px) and (orientation: portrait) {
  .welcome-copy { margin: 11vh 0 3rem; }
  .welcome-copy h1 { font-size: 4rem; }
  .welcome-page .screen { background-position: 65% center; }
}
