/* Lobi — tema EDUFARGO, tata letak A "skema hidup".
   Ukuran vw/vh supaya pas di tablet landscape maupun TV 1080p/4K.
   Di layar sempit (<= 900px) berganti ke satu kolom yang bisa di-scroll (bagian bawah file). */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg); color: var(--text);
  font-family: "Nunito", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.05vw; overflow: hidden;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column;
  padding: 1.4vh 1.5vw 0;
  transition: background .4s, color .4s;
}
h1, h2, .tval, .clock, .ktext b { font-family: "Fredoka", "Nunito", sans-serif; }
h1 { font-size: 1.9vw; font-weight: 600; color: var(--teal); line-height: 1.05; white-space: nowrap; }
h2 { font-size: 1.2vw; font-weight: 600; color: var(--teal); }
.muted { color: var(--muted); }
.hide { display: none !important; }

/* Warna gambar skema (ikut tema) */
:root, [data-theme="light"] {
  --sky: #eef7f6; --glass: #9bc3be; --frame: #cfe2df; --ground: #e9dcc6; --soil: #8b6a4a;
  --pipe: #7aa6a0; --nozzle: #4594d3; --cloud: #bfe0f5; --lampoff: #c9d2cd; --fanoff: #b8c4bd;
  --door: #d7e6e3; --iroff: #b8c4bd;
}
[data-theme="dark"] {
  --sky: #10302b; --glass: #3d6f67; --frame: #1b3d37; --ground: #3a3226; --soil: #5e4732;
  --pipe: #4f8a80; --nozzle: #6cb2e8; --cloud: #8cc4e6; --lampoff: #3a4d47; --fanoff: #4a5f58;
  --door: #1f3b36; --iroff: #4a5f58;
}

.row { display: -webkit-box; display: -webkit-flex; display: flex; margin-top: 1.4vh; }
.row > .card, .row > .side { margin-right: 1.1vw; }
.row > :last-child { margin-right: 0; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 1.2vw;
  padding: 1.6vh 1.3vw; min-width: 0; box-shadow: var(--shadow);
}
.chead { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-pack: justify; justify-content: space-between; -webkit-box-align: center; align-items: center; }
.updated { color: var(--muted); font-size: .9vw; font-weight: 700; }

/* ===== Header ===== */
.top { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; align-items: center; }
.brand { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; align-items: center; }
.wordmark { height: 3.6vw; width: auto; }
.brandtext { border-left: 3px solid var(--yellow); margin-left: 1.2vw; padding-left: 1.2vw; }
.brandtext p { color: var(--muted); font-size: 1vw; font-weight: 700; margin-top: .3vh; }
.inst { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; align-items: center; margin-left: auto; padding-left: 2vw; margin-right: 1.6vw; }
.inst img { height: 3.4vw; width: auto; margin-right: .6vw; }
.insttext { border-left: 3px solid var(--yellow); padding-left: .9vw; line-height: 1.25; }
.insttext b { display: block; font-size: .95vw; font-weight: 800; color: var(--teal); white-space: nowrap; }
.insttext span { display: block; font-size: .8vw; font-weight: 700; color: var(--muted); margin-top: .2vh; white-space: nowrap; }
.right { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; align-items: center; }
.pills { margin-right: 1.3vw; text-align: right; }
.pill {
  display: inline-block; padding: .5vh .9vw; border-radius: 2vw; font-size: .9vw; font-weight: 800;
  background: var(--off-bg); color: var(--off-ink); margin-left: .4vw; text-decoration: none;
}
.pill.ok { background: var(--on-bg); color: var(--on-ink); }
.pill.bad { background: var(--bad-bg); color: var(--bad-ink); }
.pill.warn { background: var(--warn-bg); color: var(--warn-ink); }
.pill-link { background: var(--card); color: var(--teal); border: 2px solid var(--teal); margin-top: .5vh; }
.pill-link svg { width: .9vw; height: .9vw; vertical-align: -.1vw; margin-right: .3vw; }
.pill-link:hover, .pill-link:focus-visible { background: var(--teal); color: #fff; outline: none; }
.clockbox { text-align: right; }
.clock { font-size: 3.2vw; font-weight: 500; line-height: 1; color: var(--teal); }
.date { color: var(--muted); font-size: .9vw; font-weight: 700; margin-top: .3vh; white-space: nowrap; }

/* ===== Pita peringatan ===== */
.banner {
  display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; align-items: center;
  margin-top: 1.2vh; padding: 1.1vh 1.3vw; border-radius: 1vw;
  background: var(--warn-bg); color: var(--warn-ink);
}
.banner.bad { background: #c2410c; color: #fff; }
.banner-ic { width: 2vw; height: 2vw; -webkit-flex-shrink: 0; flex-shrink: 0; margin-right: 1vw; }
.banner b { font-family: "Fredoka", "Nunito", sans-serif; font-weight: 600; font-size: 1.5vw; margin-right: 1vw; white-space: nowrap; }
.banner span { font-size: 1vw; font-weight: 700; }

/* ===== Baris utama ===== */
.mainA { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; min-height: 0; }
.scene { -webkit-box-flex: 1.35; -webkit-flex: 1.35; flex: 1.35; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column; }
.scenebox { position: relative; -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; min-height: 0; margin-top: .6vh; }
.scenesvg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.s-ground { fill: var(--ground); }
.s-house { fill: var(--sky); stroke: var(--glass); stroke-width: 3; }
.s-frame { stroke: var(--frame); stroke-width: 2; fill: none; }
.s-pipe { stroke: var(--pipe); stroke-width: 4; stroke-linecap: round; fill: none; }
.s-nozzle { fill: var(--nozzle); }
.s-soil { fill: var(--soil); }
.s-plant { fill: var(--green); }
.s-lampbar { fill: var(--lampoff); transition: fill .4s; }
.s-lampglow { fill: #f9b21b; opacity: 0; transition: opacity .6s; }
.s-cloud { fill: var(--cloud); opacity: 0; transition: opacity .6s; }
.s-fanring { fill: var(--card); stroke: var(--glass); stroke-width: 3; }
#s-fan { fill: var(--fanoff); transition: fill .4s; }
.s-fanhub { fill: var(--muted); }
.s-door { fill: var(--door); stroke: var(--glass); stroke-width: 2; }
.s-ir { fill: var(--iroff); }
.s-beam { stroke: var(--iroff); stroke-width: 2; stroke-dasharray: 4 4; fill: none; opacity: .5; }

.mist-on .s-cloud { opacity: .9; -webkit-animation: drift 2.4s ease-in-out infinite; animation: drift 2.4s ease-in-out infinite; }
.mist-on .c2 { -webkit-animation-delay: .5s; animation-delay: .5s; }
.mist-on .c3 { -webkit-animation-delay: 1s; animation-delay: 1s; }
.mist-on .c4 { -webkit-animation-delay: 1.5s; animation-delay: 1.5s; }
.mist-pause .s-cloud { opacity: .25; }
.lamp-on .s-lampbar { fill: #f9b21b; }
.lamp-on .s-lampglow { opacity: .28; }
.fan-on #s-fan { fill: var(--teal); -webkit-transform-box: fill-box; transform-box: fill-box; -webkit-transform-origin: center; transform-origin: center; -webkit-animation: spin 1s linear infinite; animation: spin 1s linear infinite; }
.door-on .s-ir { fill: #e8892b; }
.door-on .s-beam { stroke: #e8892b; opacity: 1; -webkit-animation: blink .6s step-end infinite; animation: blink .6s step-end infinite; }
@-webkit-keyframes drift { 0%, 100% { -webkit-transform: translateY(0); } 50% { -webkit-transform: translateY(6px); } }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@-webkit-keyframes spin { to { -webkit-transform: rotate(360deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@-webkit-keyframes blink { 50% { opacity: .2; } }
@keyframes blink { 50% { opacity: .2; } }

.chip {
  position: absolute; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; align-items: center;
  padding: .5vh .8vw; border-radius: 2vw; font-size: .9vw; font-weight: 800; white-space: nowrap;
  background: var(--card); border: 1px solid var(--line); color: var(--text); box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.chip i { display: inline-block; width: .65vw; height: .65vw; border-radius: 50%; background: var(--off-ink); margin-right: .5vw; }
.chip.on i { background: var(--green); }
.chip.pause i { background: var(--blue); }
.chip.bad { border-color: var(--bad-ink); color: var(--bad-ink); }
.chip.bad i { background: var(--bad-ink); }

/* Kondisi tanaman */
.kondisi {
  display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; align-items: center;
  border-radius: 1.1vw; padding: .9vh 1.2vw; margin-top: .8vh; transition: background .4s, color .4s;
}
.kmascot { position: relative; -webkit-flex-shrink: 0; flex-shrink: 0; margin-right: 1.1vw; }
.kmascot img { height: 5vw; width: auto; display: block; }
.kbadge { position: absolute; right: -.4vw; top: -.2vw; width: 1.9vw; height: 1.9vw; border-radius: 50%; background: #fff; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; align-items: center; -webkit-box-pack: center; justify-content: center; }
.kbadge:empty { display: none; }
.kbadge svg { width: 1.2vw; height: 1.2vw; }
.ktext b { display: block; font-size: 1.75vw; font-weight: 600; line-height: 1.1; }
.ktext span { display: block; font-size: 1vw; font-weight: 700; margin-top: .3vh; }
.k-ok { background: var(--band); color: var(--band-ink); } .k-ok b { color: #fff; } .k-ok .kbadge { color: #2f7d25; }
.k-dry { background: #2f6f9f; color: #e1f0fb; } .k-dry b { color: #fff; } .k-dry .kbadge { color: #2f6f9f; }
.k-hot { background: #c2610c; color: #fff1e2; } .k-hot b { color: #fff; } .k-hot .kbadge { color: #c2610c; }
.k-wet { background: #2d6e7e; color: #e0f3f6; } .k-wet b { color: #fff; } .k-wet .kbadge { color: #2d6e7e; }
.k-night { background: #1d2b45; color: #d6def0; } .k-night b { color: #fff; } .k-night .kbadge { color: #1d2b45; }
.k-alert { background: var(--bad-bg); color: var(--bad-ink); } .k-alert .kbadge { color: var(--bad-ink); }
.k-off { background: var(--off-bg); color: var(--off-ink); } .k-off .kmascot img { opacity: .55; }

/* Kolom kanan */
.side { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; min-width: 0; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column; }
.tiles2 { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -.55vw; }
.tiles2 .tile { width: calc(50% - 1.1vw); margin: 0 .55vw 1.1vw; padding: 1.3vh 1.2vw; border-top: .4vh solid var(--line2); }
.t-temp { border-top-color: var(--temp) !important; }
.t-rh { border-top-color: var(--rh) !important; }
.t-lux { border-top-color: var(--lux) !important; }
.t-door { border-top-color: var(--green) !important; }
.tlabel { color: var(--muted); font-size: .95vw; font-weight: 800; }
.tval { font-size: 3vw; font-weight: 600; line-height: 1.1; margin-top: .3vh; }
.tval small { font-family: "Nunito", sans-serif; font-size: 1.15vw; font-weight: 700; color: var(--muted); margin-left: .3vw; }
.t-temp .tval span { color: var(--temp); }
.t-rh .tval span { color: var(--rh); }
.t-lux .tval span { color: var(--lux); }
.t-door .tval span { color: var(--green); }
.rbar { position: relative; height: .8vw; border-radius: 1vw; background: var(--bg2); margin-top: 1vh; }
.rideal { position: absolute; top: 0; bottom: 0; border-radius: 1vw; background: var(--on-bg); }
.rideal-lux { background: var(--warn-bg); }
.rmark { position: absolute; top: -.4vw; width: .3vw; height: 1.6vw; border-radius: .2vw; background: var(--text); margin-left: -.15vw; display: none; transition: left .6s; }
.rmark.warn { background: var(--warn-ink); }
.rmark.bad { background: var(--bad-ink); }
.rscale { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-pack: justify; justify-content: space-between; font-size: .8vw; font-weight: 700; color: var(--muted); margin-top: .6vh; }
.thint { font-weight: 800; color: var(--muted); }
.thint.ok { color: var(--on-ink); } .thint.warn { color: var(--warn-ink); } .thint.bad { color: var(--bad-ink); }
.visits { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: end; align-items: flex-end; height: 2.2vw; margin-top: .8vh; }
.visits i { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; margin-right: .3vw; border-radius: .2vw .2vw 0 0; background: var(--on-bg); min-height: 2px; }
.visits i:last-child { margin-right: 0; background: var(--green); }
.t-door .thint { font-size: .8vw; margin-top: .4vh; display: block; }

/* Pita 24 jam */
.ribbon { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; min-height: 0; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column; }
.rib { position: relative; margin-top: 1vh; }
.ribrow { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; align-items: center; margin-bottom: .55vh; }
.riblbl { width: 4.4vw; -webkit-flex-shrink: 0; flex-shrink: 0; font-size: .85vw; font-weight: 800; color: var(--muted); }
.lane { position: relative; -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; height: 1.6vw; max-height: 3vh; min-height: 12px; background: var(--bg2); border-radius: .4vw; overflow: hidden; }
.lane .nt { position: absolute; top: 0; bottom: 0; background: rgba(40, 60, 110, .12); }
[data-theme="dark"] .lane .nt { background: rgba(0, 0, 0, .3); }
.lane .pl { position: absolute; top: 2px; bottom: 2px; border: 1.5px dashed var(--line2); border-radius: .35vw; }
.lane .sg { position: absolute; top: 3px; bottom: 3px; border-radius: .25vw; min-width: 2px; }
#lane-mist .sg { background: var(--blue); } #lane-mist .pl { border-color: var(--blue); opacity: .5; }
#lane-fan .sg { background: var(--teal); }
#lane-lamp .sg { background: var(--yellow); } #lane-lamp .pl { border-color: var(--yellow); opacity: .7; }
#lane-door .sg { background: var(--green); width: 2px; }
.ribaxis { -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-pack: justify; justify-content: space-between; font-size: .8vw; font-weight: 700; color: var(--muted); }
.ribnow { position: absolute; top: -.4vh; bottom: 2.2vh; width: 2px; background: #e8892b; border-radius: 1px; display: none; }
.riblegend { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-align: center; align-items: center; margin-top: auto; font-size: .8vw; font-weight: 700; color: var(--muted); }
.riblegend > span { margin-right: 1.2vw; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; align-items: center; }
.riblegend i { display: inline-block; width: 1.3vw; height: .7vw; border-radius: .2vw; margin-right: .4vw; }
.lg-on { background: var(--blue); }
.lg-plan { border: 1.5px dashed var(--muted); }
.lg-night { background: rgba(40, 60, 110, .18); }
.ribplan { margin-left: auto; margin-right: 0 !important; }

/* ===== Baris bawah ===== */
.bottomA { height: 20vh; -webkit-flex-shrink: 0; flex-shrink: 0; }
.camcard { -webkit-box-flex: 1.35; -webkit-flex: 1.35; flex: 1.35; display: -webkit-box; display: -webkit-flex; display: flex; padding: 1vh .9vw; }
.camimgwrap { width: 45%; -webkit-flex-shrink: 0; flex-shrink: 0; display: -webkit-box; display: -webkit-flex; display: flex; }
.camimg { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: .8vw; background: var(--bg2); cursor: zoom-in; }
.camtext { margin-left: 1.1vw; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-orient: vertical; -webkit-flex-direction: column; flex-direction: column; -webkit-box-pack: center; justify-content: center; min-width: 0; }
.camkick { font-size: .8vw; font-weight: 800; letter-spacing: .08em; color: var(--blue); }
.camtext h2 { font-size: 1.45vw; margin-top: .3vh; }
.caminfo { color: var(--muted); font-size: .95vw; font-weight: 700; margin-top: .4vh; }

.qrcard {
  -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; align-items: center;
  background: var(--band); border-color: var(--band); color: var(--band-ink); padding: 1.2vh 1.2vw;
}
.qrbox { background: #fff; border-radius: .7vw; padding: .4vw; -webkit-flex-shrink: 0; flex-shrink: 0; }
.qrbox img { width: 8.5vw; height: 8.5vw; max-height: 15vh; max-width: 15vh; display: block; }
.qrtext { margin-left: 1.1vw; min-width: 0; }
.qrtext h2 { color: #fff; font-size: 1.4vw; }
.qrtext p { font-size: .95vw; margin-top: .4vh; font-weight: 700; line-height: 1.35; }
.qrurl { display: inline-block; margin-top: .6vh; font-size: .8vw; font-weight: 800; color: var(--yellow); word-break: break-all; }

/* Pita aktivitas bawah */
.band {
  margin: 1.4vh -1.5vw 0; padding: 1vh 1.5vw; background: var(--band); color: var(--band-ink);
  font-size: .95vw; font-weight: 800;
  display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; align-items: center;
  white-space: nowrap; overflow: hidden;
}
.bandlbl { color: var(--yellow); margin-right: 1vw; -webkit-flex-shrink: 0; flex-shrink: 0; }
.ticker { list-style: none; display: -webkit-box; display: -webkit-flex; display: flex; overflow: hidden; -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; min-width: 0; }
.ticker li { margin-right: 1.4vw; -webkit-flex-shrink: 0; flex-shrink: 0; }
.ticker li + li:before { content: "·"; color: var(--yellow); margin-right: 1.4vw; }
.ticker .evsub { opacity: .8; font-weight: 700; }
.bandright { margin-left: 1.4vw; font-style: italic; font-weight: 700; opacity: .85; -webkit-flex-shrink: 0; flex-shrink: 0; }

.mlink { display: none; }

/* Layar lebar 16:9 (TV): tinggi lebih pendek dibanding tablet 16:10, jadi dirapatkan */
@media (min-aspect-ratio: 17/10) and (min-width: 901px) {
  .tval { font-size: 2.5vw; }
  .tiles2 .tile { padding: 1vh 1.1vw; margin-bottom: 1vw; }
  .rbar { margin-top: .7vh; }
  .rscale { margin-top: .4vh; }
  .visits { height: 1.8vw; margin-top: .5vh; }
  .lane { height: 2.3vh; }
  .ribrow { margin-bottom: .4vh; }
  .rib { margin-top: .6vh; }
  .bottomA { height: 18vh; }
  .kmascot img { height: 4.2vw; }
  .ktext b { font-size: 1.55vw; }
}

@media (prefers-reduced-motion: reduce) {
  .mist-on .s-cloud, .fan-on #s-fan, .door-on .s-beam { -webkit-animation: none; animation: none; }
}

/* ===== Tampilan HP / tablet tegak ===== */
@media (max-width: 900px) {
  html, body { height: auto; }
  body { overflow-x: hidden; overflow-y: auto; font-size: 15px; padding: 12px 12px 0; }
  h1 { font-size: 20px; } h2 { font-size: 16px; }
  .card { border-radius: 14px; padding: 14px; }
  .row { margin-top: 12px; display: block; }
  .row > .card, .row > .side { margin-right: 0; }
  .updated { font-size: 12px; }

  .top { -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-box-align: start; align-items: flex-start; }
  .brand { -webkit-box-ordinal-group: 2; order: 1; -webkit-flex: 1 1 auto; flex: 1 1 auto; min-width: 0; }
  .wordmark { height: 32px !important; width: auto; max-width: 55vw; }
  .brandtext { display: none; }
  .right { -webkit-box-ordinal-group: 3; order: 2; -webkit-box-orient: vertical; -webkit-flex-direction: column-reverse; flex-direction: column-reverse; -webkit-box-align: end; align-items: flex-end; }
  .clock { font-size: 28px; }
  .date { font-size: 12px; margin-top: 2px; }
  .pills { margin: 6px 0 0; text-align: right; }
  .pill { font-size: 12px; padding: 4px 10px; border-radius: 999px; margin: 4px 0 0 4px; }
  .pill-link svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 4px; }
  .inst { -webkit-box-ordinal-group: 4; order: 3; width: 100%; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); }
  .inst img { height: 40px; margin-right: 8px; }
  .insttext { padding-left: 10px; }
  .insttext b { font-size: 14px; white-space: normal; }
  .insttext span { font-size: 12px; white-space: normal; margin-top: 2px; }

  .banner { margin-top: 12px; padding: 10px 12px; border-radius: 12px; -webkit-flex-wrap: wrap; flex-wrap: wrap; }
  .banner-ic { width: 22px; height: 22px; margin-right: 8px; }
  .banner b { font-size: 17px; white-space: normal; }
  .banner span { font-size: 13px; width: 100%; margin-top: 4px; }

  .scenebox { height: 190px; -webkit-box-flex: 0; -webkit-flex: none; flex: none; margin-top: 8px; }
  .chip { font-size: 11px; padding: 3px 8px; border-radius: 999px; }
  #c-mist { left: 0 !important; top: 0 !important; }
  #c-lamp { left: auto !important; right: 0; top: 0 !important; }
  #c-fan { top: 76% !important; }
  #c-door { top: 52% !important; }
  .chip i { width: 7px; height: 7px; margin-right: 5px; }
  .kondisi { border-radius: 12px; padding: 8px 12px; margin-top: 8px; }
  .kmascot { margin-right: 10px; }
  .kmascot img { height: 52px; }
  .kbadge { width: 22px; height: 22px; right: -4px; top: -2px; }
  .kbadge svg { width: 14px; height: 14px; }
  .ktext b { font-size: 19px; }
  .ktext span { font-size: 13px; margin-top: 2px; }

  .side { margin-top: 12px; }
  .tiles2 { display: -ms-grid; display: grid; grid-template-columns: 1fr 1fr; grid-gap: 10px; gap: 10px; margin: 0; }
  .tiles2 .tile { width: auto; margin: 0; padding: 12px; border-top-width: 4px; }
  .tlabel { font-size: 12px; }
  .tval { font-size: 30px; margin-top: 2px; }
  .tval small { font-size: 13px; margin-left: 3px; }
  .rbar { height: 8px; border-radius: 99px; margin-top: 8px; }
  .rideal { border-radius: 99px; }
  .rmark { top: -4px; width: 4px; height: 16px; margin-left: -2px; border-radius: 2px; }
  .rscale { font-size: 10px; margin-top: 4px; }
  .rscale span:first-child, .rscale span:last-child { display: none; }
  .visits { height: 22px; margin-top: 6px; }
  .visits i { margin-right: 3px; border-radius: 2px 2px 0 0; }
  .t-door .thint { font-size: 10px; margin-top: 4px; }

  .ribbon { margin-top: 12px; }
  .rib { margin-top: 8px; }
  .ribrow { margin-bottom: 5px; }
  .riblbl { width: 46px; font-size: 11px; }
  .lane { height: 16px; max-height: none; border-radius: 5px; }
  .lane .pl { border-radius: 4px; }
  .lane .sg { border-radius: 3px; }
  .ribaxis { font-size: 10px; }
  .ribnow { bottom: 18px; }
  .riblegend { font-size: 11px; margin-top: 6px; }
  .riblegend > span { margin-right: 10px; }
  .riblegend i { width: 14px; height: 8px; border-radius: 2px; margin-right: 4px; }
  .ribplan { width: 100%; margin: 4px 0 0 !important; }

  .bottomA { height: auto; }
  .camcard { display: block; padding: 10px; }
  .camimgwrap { width: 100%; height: 200px; }
  .camimg { border-radius: 10px; }
  .camtext { margin: 8px 4px 0; }
  .camkick { font-size: 11px; }
  .camtext h2 { font-size: 16px; }
  .caminfo { font-size: 12px; }
  .qrcard { display: none; }

  .mlink { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; align-items: center; margin-top: 12px; text-decoration: none; color: var(--band-ink); background: var(--band); border-color: var(--band); }
  .mlink img { height: 54px; width: auto; margin-right: 12px; }
  .mlink b { display: block; color: #fff; font-family: "Fredoka", "Nunito", sans-serif; font-size: 17px; font-weight: 600; }
  .mlink small { display: block; font-size: 13px; font-weight: 700; margin-top: 2px; }
  .mlink-arrow { margin-left: auto; font-size: 22px; color: var(--yellow); }

  .band { margin: 16px -12px 0; padding: 12px; font-size: 13px; display: block; white-space: normal; }
  .bandlbl { display: block; margin-bottom: 6px; }
  .ticker { display: block; }
  .ticker li { margin: 0 0 4px; }
  .ticker li + li:before { content: none; }
  .bandright { display: block; margin: 8px 0 0; font-size: 12px; }
}
