/* v0.9.36 (r18): calmer menus. One hero card, six coloured tiles, a live chat panel; events drill down by type.
   Colour per section, used the same everywhere: events orange, boards blue, clubs green, garage violet,
   season pink, career slate, chat cyan. Yellow stays for the one big action on each screen. */
.ht18-events, .evc18-races, .ev18-cat-races { --c: #fb923c; --t: 251, 146, 60; }
.ht18-boards { --c: #60a5fa; --t: 96, 165, 250; }
.ht18-clubs { --c: #34d399; --t: 52, 211, 153; }
.ht18-style { --c: #c084fc; --t: 192, 132, 252; }
.ht18-season, .evc18-special, .ev18-cat-special { --c: #f472b6; --t: 244, 114, 182; }
.ht18-career { --c: #94a3b8; --t: 148, 163, 184; }
.evc18-trials, .ev18-cat-trials { --c: #38bdf8; --t: 56, 189, 248; }
.evc18-cup, .ev18-cat-cup { --c: #4ade80; --t: 74, 222, 128; }
.hc18, .gc18 { --c: #22d3ee; --t: 34, 211, 238; }

/* ---------------- main menu ---------------- */
.hub18 .hub-grid { grid-template-columns: minmax(0, 1fr) clamp(290px, 33vw, 560px); gap: clamp(18px, 3.6vw, 60px); padding: clamp(12px, 3.4vh, 38px) clamp(16px, 3.6vw, 56px) clamp(12px, 3vh, 30px); }
.hub18 .hub-left { gap: clamp(10px, 2.3vh, 22px); justify-content: center; container-type: inline-size; }
.hub18 .hub-logo { font-size: clamp(30px, 7.2vh, 74px); }
.hub18 .hub-next, .hub18 .hub-path, .hub-tiles18, .hub-links18 { max-width: clamp(680px, 44vw, 860px); width: 100%; }
.hub18 .hub-next { padding: clamp(12px, 2.4vh, 24px) clamp(14px, 2.2vw, 26px); border-radius: 18px; }

.hub-tiles18 { --c: #cbd5e1; --t: 203, 213, 225; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.6vh, 14px); flex: none; }
.ht18 { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; min-height: clamp(58px, 11.5vh, 88px); padding: clamp(8px, 1.4vh, 14px) 14px clamp(8px, 1.4vh, 14px) 16px; border-radius: 14px; border: 1px solid rgba(var(--t), 0.3); background: linear-gradient(135deg, rgba(var(--t), 0.17), rgba(10, 13, 19, 0.82) 68%); backdrop-filter: blur(8px); color: var(--txt); font: inherit; text-align: left; cursor: pointer; overflow: hidden; transition: transform .18s var(--ease), border-color .18s, background .18s; }
.ht18::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c); opacity: 0.85; }
.ht18:hover, .ht18:focus-visible { transform: translateY(-2px); border-color: rgba(var(--t), 0.7); background: linear-gradient(135deg, rgba(var(--t), 0.27), rgba(10, 13, 19, 0.82) 72%); }
.ht18:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.ht18-ic { flex: none; width: clamp(36px, 6vh, 46px); height: clamp(36px, 6vh, 46px); border-radius: 12px; display: grid; place-items: center; background: rgba(var(--t), 0.16); color: var(--c); }
.ht18-ic svg { width: 66%; height: 66%; overflow: visible; }
.ht18-t { flex: 1; min-width: 0; display: grid; gap: 3px; }
.ht18-t b { font: 800 clamp(14px, 2.3vh, 18px)/1.1 var(--f-display); letter-spacing: 0.06em; text-transform: uppercase; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ht18-t small { font-size: clamp(11.5px, 1.7vh, 13px); color: var(--txt-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ht18 .hb-bar { height: 4px; margin-top: 3px; }
.ht18 .hb-bar i { background: var(--c); }
.ht18 .hb-badge { position: absolute; top: 7px; right: 7px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--c); color: #111; font: 800 12px/22px var(--f-ui, inherit); text-align: center; box-shadow: 0 0 0 3px rgba(10, 13, 19, 0.85); animation: ht18-pop 2.4s ease-in-out infinite; }
@keyframes ht18-pop { 0%, 80%, 100% { transform: none; } 88% { transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .ht18 .hb-badge, .hc18-dot { animation: none; } }
.ht18:hover .ni { color: inherit; }
.hub-links18 { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; flex: none; }
.hub-links18 .link { padding: 2px 0; font-size: 13px; color: var(--txt-2); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.25); text-underline-offset: 3px; }
.hub-links18 .link:hover { color: #fff; }
.hub-links18 .hb-i { color: var(--txt-2); width: auto; height: auto; border: 0; background: none; border-radius: 0; font: inherit; font-size: 13px; }
/* the tiles in a narrow left column: icon above the label */
@container (max-width: 440px) {
  .ht18 { flex-direction: column; justify-content: center; text-align: center; gap: 6px; padding: 10px 6px; }
  .ht18-t small, .ht18 .hb-bar { display: none; }
  .ht18-t b { font-size: 13px; letter-spacing: 0.04em; }
}

/* the chat panel: always open on the main menu */
.hub18 .hub-right { justify-content: center; gap: 10px; overflow: hidden; padding-right: 0; }
.hc18 { display: flex; flex-direction: column; flex: 0 1 auto; height: auto; height: min(100%, max(380px, 56vh), 600px); border-radius: 18px; border: 1px solid rgba(var(--t), 0.32); background: linear-gradient(180deg, rgba(var(--t), 0.12), rgba(10, 13, 19, 0.86) 34%); backdrop-filter: blur(10px); cursor: pointer; overflow: hidden; transition: border-color .2s; }
.hc18:hover, .hc18:focus-visible { border-color: rgba(var(--t), 0.7); outline: none; }
.hc18-h { display: flex; align-items: center; gap: 12px; padding: clamp(10px, 2vh, 16px) 16px clamp(8px, 1.6vh, 12px); border-bottom: 1px solid var(--line); flex: none; }
.hc18-ic, .gc-hic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(var(--t), 0.16); color: var(--c); }
.hc18-ic svg, .gc-hic svg { width: 22px; height: 22px; }
.hc18-ti { flex: 1; min-width: 0; display: grid; gap: 2px; }
.hc18-ti b { font: 800 20px/1.1 var(--f-display); letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.hc18-ti small { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--txt-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc18-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; animation: hc18-live 2s ease-in-out infinite; }
@keyframes hc18-live { 50% { opacity: 0.35; } }
.hc18-tabs, .gc-tabs { flex: none; display: flex; gap: 3px; padding: 3px; border-radius: 11px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.hc18-tabs button, .gc-tabs button { display: flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--dim); font: 700 12.5px var(--f-display); letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 11px; border-radius: 8px; cursor: pointer; }
.hc18-tabs button:hover, .gc-tabs button:hover { color: #fff; }
.hc18-tabs button.on, .gc-tabs button.on { background: rgba(var(--t), 0.2); color: #fff; }
.hc18-tabs em, .gc-tabs em { font-style: normal; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #ef4444; color: #fff; font: 800 11px/18px var(--f-ui, inherit); letter-spacing: 0; text-align: center; }
.hc18-tabs em[hidden], .gc-tabs em[hidden] { display: none; }
.hc18-list { list-style: none; margin: 0; padding: 12px 14px; flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.hc18-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; max-width: 92%; align-self: flex-start; padding: 7px 12px 8px; border-radius: 12px 12px 12px 4px; background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line); flex: none; }
.hc18-list li.me { align-self: flex-end; background: rgba(var(--t), 0.1); border-color: rgba(var(--t), 0.3); border-radius: 12px 12px 4px 12px; }
.hc18-list li b { color: var(--c); font-size: 12.5px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc18-list li small { color: var(--dim); font-size: 11px; }
.hc18-list li span { grid-column: 1 / -1; font-size: 14px; line-height: 1.35; color: var(--txt); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hc18-list li.hc18-empty { max-width: none; align-self: stretch; margin: auto 0; padding: 12px; background: none; border: 0; text-align: center; grid-template-columns: 1fr; gap: 6px; }
.hc18-list li.hc18-empty b { color: #fff; font-size: 15px; white-space: normal; }
.hc18-list li.hc18-empty span { color: var(--txt-2); font-size: 13px; -webkit-line-clamp: 3; }
.hc18-chips { flex: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.hc18-chips:empty { display: none; }
.hc18-chips .chip { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(var(--t), 0.3); background: rgba(var(--t), 0.08); color: var(--txt); font-weight: 800; font-size: 12.5px; cursor: pointer; white-space: nowrap; }
.hc18-chips .chip:hover { border-color: rgba(var(--t), 0.75); background: rgba(var(--t), 0.18); }
.hc18-cta { flex: none; display: flex; align-items: center; gap: 10px; margin: 0 14px clamp(10px, 2vh, 14px); padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.05); transition: border-color .2s; }
.hc18:hover .hc18-cta { border-color: rgba(var(--t), 0.6); }
.hc18-say { flex: 1; min-width: 0; color: var(--dim); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc18-go { flex: none; display: flex; align-items: center; gap: 4px; font: 800 13px var(--f-display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c); white-space: nowrap; }
.hc18-go svg { width: 14px; height: 14px; }
.hub18 .hb-privacy { font-size: 10.5px; opacity: 0.75; }
.hub18 .hub-soon { padding: 18px 20px; border-radius: 18px; }
.hub18 .hub-soon ~ .hc18 { height: auto; min-height: 0; flex: 1 1 auto; }
.hub18 .hub-soon { flex: none; }

/* stages: chat opens with clubs and boards; hidden when the platform turns chat off */
body:is([data-hublv="0"], [data-hublv="1"]) .hc18, body.chat-off .hc18 { display: none !important; }

/* unread count on the top-bar chat button, on every menu screen */
body.chat-new .tb-chat { position: relative; border-color: rgba(34, 211, 238, 0.65); color: #22d3ee; }
body.chat-new .tb-chat::after { content: var(--chatn); position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #ef4444; color: #fff; font: 800 11px/18px Inter, system-ui, sans-serif; text-align: center; box-shadow: 0 0 0 2px #0b0f17; pointer-events: none; }

/* ---------------- the chat popup ---------------- */
.gc18 { padding: calc(var(--bar-h, 50px) + 10px) 16px 16px; }
.gc18 .gc-card { width: min(960px, 100%); height: min(700px, 100%); border-color: rgba(var(--t), 0.42); border-radius: 20px; background: linear-gradient(180deg, rgba(var(--t), 0.08), rgba(var(--t), 0) 26%), #0e1219; }
.gc18 .gc-head { gap: 14px; padding: 14px 16px 14px 20px; }
.gc18 .gc-title b { font-size: 22px; }
.gc18 .gc-tabs button { padding: 8px 16px; font-size: 13.5px; }
.gc18 .gc-list { padding: 16px 22px; gap: 9px; }
.gc18 .gc-list li { max-width: 72%; padding: 8px 12px 9px; }
.gc18 .gc-list li.me { background: rgba(var(--t), 0.12); border-color: rgba(var(--t), 0.38); }
.gc18 .gc-meta b { color: var(--c); }
.gc18 .gc-list p { font-size: 15px; }
.gc18 .gc-foot { padding: 12px 22px 16px; gap: 10px; }
.gc18 .gc-form input { height: 46px; font-size: 15px; }
.gc18 .gc-form input:focus { border-color: var(--c); }
.gc18 .gc-send { min-width: 100px; }
.gc18 .gc-presets .chip:hover { border-color: rgba(var(--t), 0.6); }
.gc18 .gc-empty.gc-big { display: grid; justify-items: center; gap: 8px; max-width: 400px; line-height: 1.45; }
.gc18 .gc-empty.gc-big svg { width: 42px; height: 42px; color: #34d399; }
.gc18 .gc-empty.gc-big b { color: #fff; font-size: 18px; }
@media (max-width: 640px) { .gc18 .gc-sub { display: none; } .gc18 .gc-list li { max-width: 88%; } }
@media (max-height: 520px) {
  .gc18 { padding: calc(var(--bar-h, 44px) + 6px) 10px 8px; }
  .gc18 .gc-head { padding: 8px 10px 8px 14px; } .gc18 .gc-sub { display: none; } .gc-hic { width: 32px; height: 32px; }
  .gc18 .gc-list { padding: 8px 14px; } .gc18 .gc-foot { padding: 8px 14px 10px; gap: 6px; }
  .gc18 .gc-form input { height: 38px; } .gc18 .gc-presets { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
}

/* ---------------- events: four doors, then one kind of event at a time ---------------- */
.m15-events .ev18-cat { display: none; }
.m15-events[data-evcat="races"] .ev18-cat-races, .m15-events[data-evcat="trials"] .ev18-cat-trials,
.m15-events[data-evcat="special"] .ev18-cat-special, .m15-events[data-evcat="cup"] .ev18-cat-cup { display: block; }
.m15-events:not([data-evcat=""]) .ev18-land, .m15-events:not([data-evcat=""]) .m15-foot { display: none; }
.m15-events .m15-body { padding-top: clamp(4px, 1vh, 10px); }

.ev18-land { display: flex; flex-direction: column; gap: clamp(12px, 2.4vh, 22px); max-width: 1000px; width: 100%; margin: auto; padding: 4px 0; }
.ev18-lede { margin: 0; color: var(--txt-2); font-size: clamp(13px, 1.9vh, 15px); }
.ev18-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 2vh, 18px); }
.evc18 { position: relative; display: flex; align-items: center; gap: clamp(12px, 1.6vw, 18px); min-width: 0; min-height: clamp(96px, 19vh, 150px); padding: clamp(12px, 2.2vh, 22px) clamp(14px, 1.8vw, 22px) clamp(12px, 2.2vh, 22px) clamp(16px, 2vw, 24px); border-radius: 18px; border: 1px solid rgba(var(--t), 0.32); background: linear-gradient(135deg, rgba(var(--t), 0.18), rgba(10, 13, 19, 0.84) 65%); backdrop-filter: blur(8px); color: var(--txt); font: inherit; text-align: left; cursor: pointer; overflow: hidden; transition: transform .18s var(--ease), border-color .18s, background .18s; }
.evc18::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.evc18:hover, .evc18:focus-visible { transform: translateY(-2px); border-color: rgba(var(--t), 0.75); background: linear-gradient(135deg, rgba(var(--t), 0.28), rgba(10, 13, 19, 0.84) 70%); }
.evc18:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.evc18-ic { flex: none; width: clamp(48px, 9vh, 64px); height: clamp(48px, 9vh, 64px); border-radius: 16px; display: grid; place-items: center; background: rgba(var(--t), 0.16); color: var(--c); }
.evc18-ic svg { width: 56%; height: 56%; }
.evc18-t { flex: 1; min-width: 0; display: grid; gap: 6px; }
.evc18-t b { font: 800 clamp(18px, 3.2vh, 26px)/1.05 var(--f-display); letter-spacing: 0.05em; text-transform: uppercase; color: #fff; }
.evc18-t > small { color: var(--txt-2); font-size: clamp(12.5px, 1.8vh, 14.5px); }
.evc18-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 12.5px; color: var(--dim); }
.evc18-n { font-style: normal; font-weight: 800; color: #111; background: var(--c); padding: 2px 10px; border-radius: 999px; }
.evc18-ok { font-style: normal; font-weight: 800; color: #4ade80; }
.ev18-cd .hb-cd b, .ev18-opens .hb-cd b { color: #fff; }
.evc18 > svg { flex: none; width: 22px; height: 22px; color: var(--c); opacity: 0.8; }
.evc18 .hb-bar { height: 5px; max-width: 280px; } .evc18 .hb-bar i { background: var(--c); }
.ev18-practice { align-self: center; padding: 10px 20px; }

.ev18-cat { max-width: 1120px; width: 100%; margin: 0 auto; }
.ev18-h { margin: 0 0 clamp(10px, 2vh, 18px); padding: 2px 0 2px 12px; border-left: 4px solid var(--c); }
.ev18-h > div > b { display: none; }
.ev18-h small { color: var(--txt-2); font-size: clamp(13px, 1.9vh, 15px); }
.ev18-cdi b { color: #fff; }
.ev18-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 350px)); justify-content: center; gap: clamp(10px, 2vh, 18px); align-items: stretch; }
.ev18-cards .m15-ev { display: flex; flex-direction: column; gap: 12px; padding: 16px 16px 14px; border-radius: 16px; border-color: rgba(var(--t), 0.28); background: linear-gradient(180deg, rgba(var(--t), 0.1), rgba(10, 13, 19, 0.86) 45%); }
.ev18-cards .m15-ev.gold { border-color: rgba(245, 197, 24, 0.6); }
.ev18-cards .me-top { align-items: flex-start; }
.ev18-cards .me-ic { color: var(--c); }
.ev18-cards .me-t b { font-size: 17px; }
.ev18-cards .me-t small { display: block; }
.ev18-cards .me-t small .flagchip { display: inline-flex; vertical-align: -2px; margin-right: 5px; }
.ev18-cards .m15-lad { grid-template-columns: 1fr; gap: 6px; }
.ev18-cards .m15-lad li { padding: 6px 9px; font-size: 12.5px; }
.ev18-cards .m15-lad li span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev18-cards .me-btns { margin-top: auto; }
.ev18-cards .me-go { flex: 1 1 100%; justify-content: center; }
.ev18-soon .ev18-opens { margin: auto 0 0; font-size: 15px; color: var(--txt-2); }
.ev18-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 320px); gap: clamp(12px, 2vw, 22px); align-items: start; }
.ev18-split .ev18-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 340px)); justify-content: start; }
.ev18-ghosts { display: grid; gap: 12px; }
.ev18-ghosts .gh-card { border-radius: 16px; }
.ev18-ghosts .gh-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.ev18-ghosts .gh-list li em { width: 20px; } .ev18-ghosts .gh-list li b { flex: 1; min-width: 0; }
.ev18-ghosts .gh-list li::after { content: ""; order: 3; flex-basis: 100%; height: 0; }
.ev18-ghosts .gh-list li > button { order: 4; padding: 3px 10px; font-size: 12px; min-height: 0; }
.ev18-ghosts .gh-list li > button:first-of-type { margin-left: 28px; }
.ev18-cup { max-width: 640px; margin: 0 auto; }
@media (max-width: 900px) { .ev18-split { grid-template-columns: 1fr; } }
@media (max-height: 520px) {
  .ev18-lede, .ev18-h { display: none; }
  .ev18-land { gap: 8px; }
  .ev18-grid { gap: 8px; }
  .evc18 { min-height: 64px; padding: 8px 12px 8px 14px; gap: 10px; border-radius: 14px; }
  .evc18-ic { width: 38px; height: 38px; border-radius: 11px; }
  .evc18-t { gap: 2px; } .evc18-t b { font-size: 16px; } .evc18-t > small { font-size: 11.5px; }
  .evc18-row { font-size: 11px; } .evc18 .hb-bar { display: none; }
  .ev18-practice { padding: 5px 14px; font-size: 12px; }
  .ev18-cards .m15-ev { padding: 10px 12px; gap: 8px; }
  .ev18-cards .m15-lad li { padding: 3px 8px; }
}

/* ---------------- leaderboards: same blue as the tile, a bit more room ---------------- */
.m15-boards .m15-tabs { max-width: 900px; width: 100%; align-self: center; }
.m15-boards .m15-tabs button.on { background: rgba(96, 165, 250, 0.18); box-shadow: inset 0 -2px 0 #60a5fa; }
.m15-boards .m15-subs button.on { box-shadow: inset 0 -2px 0 #60a5fa; }
.m15-boards .m15-board { max-width: 820px; }

@media (max-height: 640px) { .hub18 .hub-logo { display: none; } }
/* ---------------- small windows (768 x 385 class) ---------------- */
@media (max-height: 520px) {
  .hub18 .hub-logo { display: none; }
  .hub18 .hub-path { display: none; }
  .hub18 .hub-next { padding: 10px 14px; }
  .hub18 .hub-free { padding: 5px 10px; font-size: 12.5px; }
  .hub18 .hub-grid { padding: 8px 14px; gap: 14px; }
  .hub18 .hub-left { gap: 6px; }
  .ht18 { min-height: 44px; padding: 6px 8px 6px 10px; gap: 8px; border-radius: 11px; }
  .ht18-ic { width: 28px; height: 28px; border-radius: 8px; }
  .ht18-t small, .ht18 .hb-bar { display: none; }
  .ht18-t b { font-size: 12.5px; }
  .ht18 .hb-badge { top: 3px; right: 3px; min-width: 17px; height: 17px; font-size: 10.5px; line-height: 17px; }
  .hub-links18 { display: none; }
  .hc18-h { padding: 7px 10px; gap: 8px; } .hc18-ic { width: 30px; height: 30px; } .hc18-ti small { display: none; } .hc18-ti b { font-size: 16px; }
  .hc18-tabs button { padding: 4px 8px; font-size: 11px; }
  .hc18-list { padding: 6px 10px; gap: 5px; } .hc18-list li { padding: 4px 9px 5px; } .hc18-list li span { font-size: 12.5px; -webkit-line-clamp: 1; }
  .hc18-chips { display: none; }
  .hc18-cta { margin: 0 10px 8px; padding: 6px 10px; } .hc18-say { font-size: 12.5px; }
  .hub18 .hb-privacy { display: none; }
}
@media (max-height: 520px) and (max-width: 900px) { .hc18-ti { display: none; } }
@media (max-width: 700px) { .hub18 .hub-right { margin-top: 14px; } .hc18 { height: 360px; } }

/* the chips row scrolls sideways in small windows: fade the edge so the cut reads as "more" */
@media (max-height: 520px) { .gc18 .gc-presets { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 24px; } }
@media (max-width: 1100px) { .hc18-ti small { display: none; } }
/* a tile that is opening a heavier screen (the garage loads a 3D room) shows it is working */
.ht18.busy .ht18-ic { position: relative; }
.ht18.busy .ht18-ic::after { content: ""; position: absolute; inset: -3px; border-radius: 14px; border: 2px solid transparent; border-top-color: var(--c); animation: ht18-spin .8s linear infinite; }
.ht18.busy { pointer-events: none; }
@keyframes ht18-spin { to { transform: rotate(360deg); } }
