/* games570.css — labs.llc/games/ v570, jewelry edition (page-owned; loads after the room's site/micro/toast/dark sheets and edits
   none of them). Photographic hero, sticky status line, the three featured desks, the exploited-flaws strip, the door toolbar and
   jewelry cards, the all-rooms panel. Colours come from the house variables (--ink, --paper, --line, --accent), which dark.css flips. */
body.gm570 [hidden] { display: none !important; }
body.gm570 { --gm-acc: #0E7490; --gm-r: 12px; --gm-card: #fff; --gm-soft: #F4F5F6; --gm-panel: rgba(255,255,255,.98); --gm-shadow: 0 10px 30px rgba(17,22,28,.14); --gm-g: clamp(16px, 2.82vw, 36px); --gm-up: #15803D; --gm-dn: #BE123C; }
html[data-dark] body.gm570 { --gm-acc: #67E8F9; --gm-card: #131A21; --gm-soft: #1A2129; --gm-panel: rgba(23,30,38,.98); --gm-shadow: 0 10px 30px rgba(0,0,0,.5); --gm-up: #4ADE80; --gm-dn: #F87171; }
body.gm570 main { overflow-x: clip; }

/* bar colours: CVSS severity, TLD kind, cable decade */
.gm-d--critical { --c: #B91C1C; } .gm-d--high { --c: #EA580C; } .gm-d--medium { --c: #CA8A04; } .gm-d--low { --c: #16A34A; } .gm-d--none { --c: #94A3B8; }
.gm-d--kev { --c: #DC2626; } .gm-d--nvd { --c: #7C3AED; }
.gm-d--g { --c: #2563EB; } .gm-d--cc { --c: #0D9488; } .gm-d--idn { --c: #9333EA; } .gm-d--ds { --c: #0891B2; } .gm-d--nods { --c: #CBD5E1; }
.gm-d--pre-2000 { --c: #94A3B8; } .gm-d--2000s { --c: #38BDF8; } .gm-d--2010s { --c: #0284C7; } .gm-d--2020s { --c: #1E3A8A; } .gm-d--planned { --c: #F59E0B; } .gm-d--undated { --c: #CBD5E1; }
html[data-dark] .gm-d--2020s { --c: #60A5FA; }
.gm-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--c, #94A3B8); flex: none; }

/* ---------- photographic hero ---------- */
.gm-hero { position: relative; min-height: min(84vh, 720px); display: flex; align-items: flex-end; background: #11161C; overflow: hidden; color: #fff; }
.gm-hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s cubic-bezier(.22,.61,.36,1); }
.gm-hero__photo.is-in { opacity: 1; }
.gm-hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,18,23,.94) 0%, rgba(14,18,23,.86) 30%, rgba(14,18,23,.45) 66%, rgba(14,18,23,.12) 100%), linear-gradient(0deg, rgba(14,18,23,.9) 0%, rgba(14,18,23,0) 42%); }
@media (max-width: 900px) { .gm-hero__scrim { background: linear-gradient(90deg, rgba(14,18,23,.94), rgba(14,18,23,.84)), linear-gradient(0deg, rgba(14,18,23,.9), rgba(14,18,23,0) 42%); } }
.gm-hero__in { position: relative; z-index: 1; width: 100%; padding-top: clamp(40px, 7vw, 92px); padding-bottom: 26px; }
.gm-hero__in > .roomnav { float: right; margin: 0 0 0 1.5rem; }
.gm-hero .roomnav__a { color: rgba(255,255,255,.72); }
.gm-hero .roomnav__o { border-color: rgba(255,255,255,.3); color: #fff; background: rgba(14,18,23,.35); }
@media (hover: hover) { .gm-hero .roomnav__a:hover { color: #fff; } .gm-hero .roomnav__a:hover .roomnav__o { border-color: #fff; } }
.gm-hero .eyebrow { color: rgba(255,255,255,.7); margin: 0; }
.gm-hero .roomstamp { color: #fff; }
.gm-h { font-size: clamp(2.3rem, 5.6vw, 4.6rem); line-height: 1.02; font-weight: 300; letter-spacing: -.035em; margin: .55rem 0 0; max-width: 16ch; color: #fff; }
.gm-h em { font-style: normal; border-bottom: 3px solid #F87171; }
.gm-hero__lede { color: rgba(255,255,255,.8); max-width: 58ch; margin: 1.1rem 0 1.3rem; font-weight: 300; font-size: 1.05rem; line-height: 1.55; }
.gm-hero__lede a { color: #fff; }
.gm-hero__acts { display: flex; flex-wrap: wrap; gap: .55rem; align-items: center; margin-bottom: 1rem; }
.gm-hero__acts .btn { border-radius: var(--gm-r); }
.gm-ghost { display: inline-flex; align-items: center; min-height: 42px; padding: 0 1rem; border: 1px solid rgba(255,255,255,.34); border-radius: var(--gm-r); background: rgba(255,255,255,.06); color: #fff; font: inherit; font-size: .86rem; text-decoration: none; cursor: pointer; }
.gm-ghost:hover { border-color: #fff; background: rgba(255,255,255,.12); }
.gm-hq { display: flex; align-items: center; gap: .5rem; max-width: 560px; padding: 4px 4px 4px 14px; border-radius: var(--gm-r); background: rgba(255,255,255,.96); color: #1E262B; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.gm-hq svg { width: 18px; height: 18px; flex: none; opacity: .6; }
.gm-hq input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: .95rem; color: inherit; padding: .55rem 0; outline: none; }
.gm-hq button { border: 0; border-radius: 9px; background: #1E262B; color: #fff; font: inherit; font-size: .85rem; font-weight: 600; padding: .6rem 1.1rem; cursor: pointer; }
.gm-hero__cap { position: absolute; right: var(--gm-g); top: 1rem; z-index: 2; max-width: 46ch; text-align: right; font-size: .62rem; font-weight: 600; letter-spacing: .06em; color: rgba(255,255,255,.82); text-shadow: 0 1px 3px rgba(0,0,0,.9); margin: 0; }
.gm-hero__cap a { color: inherit; }
.gm-ticker { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; margin-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.18); }
.gm-stat { padding: .85rem .9rem 0 0; }
.gm-stat b { display: block; font-size: clamp(1.2rem, 2.1vw, 1.7rem); font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.gm-stat span { display: block; font-size: .7rem; color: rgba(255,255,255,.62); margin-top: .15rem; }
@media (max-width: 860px) { .gm-hero__cap { top: auto; bottom: .45rem; left: var(--gm-g); right: var(--gm-g); max-width: none; text-align: left; font-size: .56rem; } .gm-hero__in { padding-bottom: 46px; } .gm-hero__in > .roomnav { float: none; margin: 0 0 1rem; justify-content: space-between; } }
@media (max-width: 640px) {
  .gm-hero { min-height: 0; } .gm-hero__in { padding-top: 22px; padding-bottom: 50px; } .gm-dock__id b { font-size: .8rem; }
  .gm-h { font-size: 2.35rem; } .gm-hero__lede { font-size: .95rem; margin: .8rem 0 1rem; }
  .gm-ticker { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gm-stat:last-child { display: none; }
  .gm-hero__acts .gm-ghost:not(:first-of-type) { display: none; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .gm-hero { min-height: 0; } .gm-hero__in { padding-top: 16px; padding-bottom: 40px; }
  .gm-h { font-size: 2rem; } .gm-hero__lede { font-size: .9rem; margin: .5rem 0 .8rem; max-width: 80ch; }
  .gm-ticker { margin-top: .9rem; } .gm-stat { padding-top: .5rem; } .gm-stat b { font-size: 1.15rem; }
}
@media (hover: none) { #gm-hero-next { display: none; } }
@media (prefers-reduced-motion: reduce) { .gm-hero__photo { transition: none; } }

/* ---------- sticky status line ---------- */
.gm-dock { position: sticky; top: var(--nav-h, 74px); z-index: 55; background: var(--paper); border-bottom: 1px solid var(--line); }
.gm-dock__in { display: flex; align-items: center; gap: .8rem; min-height: 48px; padding-block: 4px; }
.gm-dock__id { margin: 0; min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; line-height: 1.25; }
.gm-dock__id b { font-size: .88rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: .45rem; }
.gm-dock__id > span { font-size: .7rem; color: var(--ink-55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-dock__nav { display: flex; gap: 1.1rem; flex: none; }
.gm-dock__nav a { font-size: .76rem; color: var(--ink-77); text-decoration: none; }
.gm-dock__nav a:hover { color: var(--gm-acc); }
.gm-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #16A34A; box-shadow: 0 0 0 0 rgba(22,163,74,.5); animation: gm-pulse 2.4s infinite; flex: none; }
@keyframes gm-pulse { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.45); } 70% { box-shadow: 0 0 0 7px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
@media (prefers-reduced-motion: reduce) { .gm-live { animation: none; } }
@media (max-width: 760px) { .gm-dock__nav { display: none; } }
@media (max-width: 900px) { .gm-dock { top: var(--nav-h, 64px); } }

/* ---------- section heads ---------- */
body.gm570 .band.gm-feat, body.gm570 .band.gm-latest, body.gm570 .band.gm-doors, body.gm570 .band.gm-rooms, body.gm570 .band.gm-ethos { padding-block: clamp(36px, 5vw, 64px); }
body.gm570 .band.gm-latest, body.gm570 .band.gm-rooms { padding-top: 0; }
.gm-sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.gm-sechead .d2 { margin: .3rem 0 0; }
.gm-sechead__s { margin: 0; font-size: .78rem; color: var(--ink-55); }
.gm-sechead__a { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); text-decoration: none; display: inline-flex; gap: .4rem; }
.gm-sechead__a:hover { color: var(--gm-acc); }

/* ---------- featured desks ---------- */
.gm-fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1180px) { .gm-fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gm-fgrid > :last-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .gm-fgrid { grid-template-columns: minmax(0, 1fr); } }
.gm-fcard { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--gm-card); box-shadow: var(--gm-shadow); overflow: hidden; }
.gm-fcard::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, #2563EB, #8B5CF6, #F59E0B); }
.gm-fcard--hub::before { background: linear-gradient(90deg, #DC2626, #CA8A04, #1D4ED8); }
.gm-fcard__k { display: inline-flex; align-items: center; gap: .45rem; font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-55); }
.gm-fcard h3 { margin: .4rem 0 .35rem; font-size: clamp(1.35rem, 2.3vw, 1.75rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.gm-fcard h3 a { color: var(--ink); text-decoration: none; } .gm-fcard h3 a:hover { color: var(--gm-acc); }
.gm-fcard__h p { margin: 0; font-size: .88rem; line-height: 1.5; color: var(--ink-77); }
.gm-fstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gm-fs { padding: 10px 12px; border-radius: 10px; background: var(--gm-soft); min-width: 0; }
.gm-fs b { display: block; font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.gm-fs span { display: block; font-size: .66rem; color: var(--ink-55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 520px) { .gm-fstats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gm-bar { display: flex; height: 10px; border-radius: 6px; overflow: hidden; gap: 2px; background: var(--gm-soft); }
.gm-bar__s { display: block; background: var(--c); min-width: 3px; }
.gm-legend { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .72rem; color: var(--ink-77); margin-top: -6px; }
.gm-legend span { display: inline-flex; align-items: center; gap: .35rem; } .gm-legend b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.gm-tape { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.gm-tk { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 9px; text-decoration: none; color: var(--ink); min-width: 0; }
.gm-tk b { font-size: .78rem; } .gm-tk span { font-size: .72rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.gm-tk svg { width: 100%; height: 20px; } .gm-tk polyline { fill: none; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.gm-tk.is-up span { color: var(--gm-up); } .gm-tk.is-up polyline { stroke: var(--gm-up); }
.gm-tk.is-dn span { color: var(--gm-dn); } .gm-tk.is-dn polyline { stroke: var(--gm-dn); }
.gm-tk:hover { border-color: var(--ink-55); }
@media (max-width: 520px) { .gm-tape { grid-template-columns: repeat(3, minmax(0, 1fr)); } .gm-tk:nth-child(n+4) { display: none; } }
.gm-li { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.gm-li li { border-bottom: 1px solid var(--line); }
.gm-li a { display: block; padding: 9px 0; text-decoration: none; color: var(--ink); }
.gm-li a:hover .gm-li__t { color: var(--gm-acc); }
.gm-li__t { display: block; font-size: .9rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gm-li__m { display: flex; align-items: center; gap: .4rem; font-size: .7rem; color: var(--ink-55); margin-top: 3px; }
.gm-fcard__f { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; margin-top: auto; font-size: .72rem; color: var(--ink-55); }
.gm-fcard__f .btn { border-radius: 10px; }

/* ---------- latest strip ---------- */
.gm-seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.gm-seg button { border: 0; background: none; font: inherit; font-size: .78rem; padding: .5rem .85rem; color: var(--ink-77); cursor: pointer; }
.gm-seg button + button { border-left: 1px solid var(--line); }
.gm-seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.gm-lgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 1100px) { .gm-lgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .gm-lgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .gm-lgrid { grid-template-columns: minmax(0, 1fr); } }
.gm-lgrid__wait { grid-column: 1 / -1; color: var(--ink-55); font-size: .85rem; }
.gm-lc a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 12px 14px 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--gm-card); text-decoration: none; color: var(--ink); position: relative; box-sizing: border-box; }
.gm-lc a::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c, #94A3B8); }
.gm-lc a:hover { border-color: var(--ink-55); }
.gm-lc__k { display: flex; align-items: center; gap: .4rem; font-size: .64rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-55); }
.gm-lc__k em { font-style: normal; margin-left: auto; font-weight: 600; letter-spacing: 0; text-transform: none; }
.gm-lc__t { font-size: .88rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gm-lc__o { font-size: .7rem; color: var(--ink-55); margin-top: auto; }
.gm-more { display: flex; justify-content: center; margin-top: 14px; }

/* ---------- door toolbar ---------- */
.gm-tb { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--gm-soft); margin-bottom: 8px; }
.gm-tb__q { display: flex; align-items: center; gap: .45rem; flex: 1 1 220px; min-width: 0; padding: 0 12px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: var(--gm-card); }
.gm-tb__q svg { width: 16px; height: 16px; opacity: .55; flex: none; }
.gm-tb__q input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: .88rem; color: var(--ink); outline: none; }
.gm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gm-chips button { border: 1px solid var(--line); background: var(--gm-card); color: var(--ink-77); border-radius: 999px; font: inherit; font-size: .76rem; padding: .42rem .8rem; cursor: pointer; white-space: nowrap; }
.gm-chips button b { font-weight: 600; color: var(--ink-55); margin-left: .15rem; }
.gm-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.gm-chips button[aria-pressed="true"] b { color: inherit; opacity: .7; }
.gm-tool { display: inline-flex; align-items: center; gap: .4rem; height: 40px; padding: 0 .85rem; border: 1px solid var(--line); border-radius: 10px; background: var(--gm-card); color: var(--ink); font: inherit; font-size: .8rem; cursor: pointer; }
.gm-tool svg { width: 16px; height: 16px; }
select.gm-tool { padding-right: .6rem; }
.gm-menu { position: absolute; right: 10px; top: calc(100% + 6px); z-index: 60; width: min(300px, calc(100% - 20px)); padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--gm-panel); box-shadow: var(--gm-shadow); }
.gm-menu button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 8px; font: inherit; color: var(--ink); cursor: pointer; }
.gm-menu button:hover, .gm-menu button:focus-visible { background: var(--gm-soft); }
.gm-menu b { display: block; font-size: .84rem; } .gm-menu span { display: block; font-size: .7rem; color: var(--ink-55); }
.gm-xstat { min-height: 1.1em; margin: 0 0 8px; font-size: .74rem; color: var(--ink-55); }
@media (max-width: 640px) { .gm-chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; } .gm-chips::-webkit-scrollbar { display: none; } .gm-tb__q { flex-basis: 100%; } .gm-tool { flex: 1 1 0; justify-content: center; } }

/* ---------- jewelry door cards ---------- */
body.gm570 .games.gm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: .4rem; }
@media (max-width: 1060px) { body.gm570 .games.gm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { body.gm570 .games.gm-grid { grid-template-columns: minmax(0, 1fr); } }
body.gm570 .game.gm-door { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 1fr auto; gap: 4px 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--gm-card); color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; min-height: 0; margin: 0; }
body.gm570 .game.gm-door:hover { border-color: var(--ink-55); box-shadow: var(--gm-shadow); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { body.gm570 .game.gm-door:hover { transform: none; } }
body.gm570 .gm-door .game__mark { width: 44px; height: 44px; color: var(--ink); }
body.gm570 .gm-door .game__mark svg { width: 44px; height: 44px; display: block; }
body.gm570 .gm-door .game__body { display: flex; flex-direction: column; gap: 3px; }
.gm-door__top { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; margin-bottom: 2px; }
.gm-kind { font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .18rem .5rem; border-radius: 999px; background: var(--gm-soft); color: var(--ink-77); }
.gm-kind--names { background: rgba(37,99,235,.12); color: #1D4ED8; } .gm-kind--net { background: rgba(220,38,38,.11); color: #B91C1C; }
.gm-kind--sec { background: rgba(147,51,234,.11); color: #7E22CE; } .gm-kind--web { background: rgba(202,138,4,.14); color: #A16207; } .gm-kind--record { background: rgba(16,185,129,.13); color: #047857; }
html[data-dark] .gm-kind--names { color: #93C5FD; } html[data-dark] .gm-kind--net { color: #FCA5A5; } html[data-dark] .gm-kind--sec { color: #D8B4FE; } html[data-dark] .gm-kind--web { color: #FCD34D; } html[data-dark] .gm-kind--record { color: #6EE7B7; }
.gm-badge { font-size: .6rem; font-weight: 700; letter-spacing: .06em; padding: .16rem .45rem; border-radius: 6px; border: 1px solid var(--line); color: var(--ink-55); }
.gm-badge--new { border-color: transparent; background: var(--ink); color: var(--paper); }
.gm-door__cad { margin-left: auto; font-size: .66rem; color: var(--ink-55); }
body.gm570 .gm-door .game__name { font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
body.gm570 .gm-door .game__what { font-size: .8rem; font-weight: 600; color: var(--gm-acc); }
body.gm570 .gm-door .game__note { font-size: .82rem; line-height: 1.5; color: var(--ink-77); margin-top: 2px; }
.gm-door__src { font-size: .7rem; color: var(--ink-55); margin-top: 6px; padding-top: 8px; border-top: 1px dashed var(--line); }
.gm-door__src b { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .6rem; margin-right: .3rem; color: var(--ink-77); }
.gm-door__go { grid-column: 2; justify-self: end; font-size: .74rem; font-weight: 600; color: var(--ink-55); }
body.gm570 .game.gm-door:hover .gm-door__go { color: var(--gm-acc); }
body.gm570 .game.gm-door[data-card="tech-news"], body.gm570 .game.gm-door[data-card="news-hub"] { background: linear-gradient(180deg, var(--gm-soft), var(--gm-card) 60%); }
.gm-empty { font-size: .9rem; color: var(--ink-77); }
.gm-linkbtn { border: 0; background: none; color: var(--gm-acc); font: inherit; text-decoration: underline; cursor: pointer; }

/* ---------- all rooms (the site's room switcher, as a compact panel) ---------- */
.gm-rmgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 1180px) { .gm-rmgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 860px) { .gm-rmgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 620px) { .gm-rmgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } }
@media (max-height: 500px) and (orientation: landscape) { .gm-rmgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.gm-rm { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "g c" "t t"; align-items: center; gap: 8px 6px; padding: 11px 12px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--gm-card); color: var(--ink); text-decoration: none; min-width: 0; transition: border-color .2s, background .2s, transform .2s; }
.gm-rm:hover { border-color: var(--ink-55); background: var(--gm-soft); transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .gm-rm:hover { transform: none; } }
.gm-rm__g { grid-area: g; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--gm-soft); color: var(--ink); }
.gm-rm__g svg { width: 18px; height: 18px; }
.gm-rm__c { grid-area: c; justify-self: end; font-size: .74rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink-77); padding: .1rem .45rem; border-radius: 6px; background: var(--gm-soft); }
.gm-rm__t { grid-area: t; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.gm-rm__t b { font-size: .88rem; font-weight: 600; }
.gm-rm__t > span { display: flex; align-items: center; gap: .3rem; font-size: .68rem; color: var(--ink-55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gm-rm__t > span .livedot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #16A34A; display: inline-block; }
.gm-rm.is-here { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.gm-rm.is-here .gm-rm__g { background: var(--ink); color: var(--paper); }
.gm-rm__here { position: absolute; top: -8px; left: 50px; font-size: .54rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .1rem .4rem; border-radius: 5px; background: var(--ink); color: var(--paper); }
.gm-rm--aside { border-style: dashed; }
@media (max-width: 620px) { .gm-rm { padding: 9px 10px; } .gm-rm__g { width: 28px; height: 28px; } .gm-rm__here { left: auto; right: 8px; } }

/* ---------- ethos ---------- */
.gm-ethos__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 1rem 3rem; align-items: start; border-top: 1px solid var(--line); padding-top: 28px; }
@media (max-width: 860px) { .gm-ethos__in { grid-template-columns: minmax(0, 1fr); } }
.gm-ethos .d2 { margin: .3rem 0 0; } .gm-ethos .lede { margin: 0 0 1rem; max-width: 62ch; }
.gm-ethos__l { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .gm-ethos__l { grid-template-columns: minmax(0, 1fr); } }
.gm-ethos__l li { padding: 12px 14px; border-radius: 12px; background: var(--gm-soft); font-size: .78rem; color: var(--ink-77); line-height: 1.45; }
.gm-ethos__l b { display: block; font-size: .84rem; color: var(--ink); margin-bottom: 2px; }

html[data-dark] body.gm570 .gm-seg button[aria-pressed="true"], html[data-dark] body.gm570 .gm-chips button[aria-pressed="true"] { color: #0C1116; }
@media print { .gm-dock, .gm-tb, .gm-hero, .gm-rooms { display: none !important; } }
.gm-sechead__s--l { margin-top: .5rem; max-width: 60ch; }

/* ---------- internet v570: three featured desks ---------- */
.gm-fcard--faults::before { background: linear-gradient(90deg, #B91C1C, #EA580C, #CA8A04); }
.gm-fcard--root::before { background: linear-gradient(90deg, #1E3A8A, #2563EB, #0D9488); }
.gm-fcard--sea::before { background: linear-gradient(90deg, #0E7490, #0284C7, #F59E0B); }
@media (min-width: 1181px) { .gm-fstats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gm-tk--v { text-align: left; } .gm-tk--v b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .gm-tk--v span { color: var(--ink-55); font-weight: 600; }
.gm-tape--v { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (min-width: 1181px) { .gm-tape--v { grid-template-columns: repeat(3, minmax(0, 1fr)); } .gm-tape--v .gm-tk:nth-child(n+4) { display: none; } }
.gm-serial { display: flex; align-items: center; gap: .55rem; padding: 9px 12px; border-radius: 10px; background: var(--gm-soft); font-size: .78rem; color: var(--ink-77); font-variant-numeric: tabular-nums; }
.gm-serial b { color: var(--ink); font-weight: 600; } .gm-serial[data-state="same"] { box-shadow: inset 3px 0 0 #16A34A; } .gm-serial[data-state="newer"] { box-shadow: inset 3px 0 0 #CA8A04; }
.gm-li__n { float: right; margin-left: .6rem; font-size: .72rem; font-weight: 600; color: var(--ink-55); font-variant-numeric: tabular-nums; }
.gm-sev { display: inline-block; padding: 1px 6px; border-radius: 5px; font-size: .62rem; font-weight: 700; letter-spacing: .05em; color: #fff; background: var(--c, #94A3B8); }
.gm-lc__k .gm-sev { margin-right: .2rem; }
.gm-d--i { --c: #F59E0B; }
/* ---- games v570: the room's own desks ---- */
.gm-fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1180px) { .gm-fgrid > :last-child { grid-column: auto; } }
@media (max-width: 760px) { .gm-fgrid { grid-template-columns: minmax(0, 1fr); } }
.gm-d--in { --c: #DC2626; } .gm-d--pre { --c: #2563EB; } .gm-d--post { --c: #64748B; }
.gm-d--hand { --c: #CA8A04; } .gm-d--engine { --c: #7C3AED; }
.gm-d--Gentle { --c: #16A34A; } .gm-d--Moderate { --c: #0891B2; } .gm-d--Tough { --c: #EA580C; } .gm-d--Fiendish { --c: #9F1239; }
html[data-dark] .gm-d--pre { --c: #60A5FA; } html[data-dark] .gm-d--post { --c: #94A3B8; }
.gm-fcard--ez::before { background: linear-gradient(90deg, #DC2626, #2563EB, #15803D); }
.gm-fcard--ufc::before { background: linear-gradient(90deg, #111827, #B91C1C, #CA8A04); }
.gm-fcard--joke::before { background: linear-gradient(90deg, #CA8A04, #EA580C, #7C3AED); }
.gm-fcard--boards::before { background: linear-gradient(90deg, #1E3A8A, #16A34A, #9F1239); }
.gm-tape--lg { grid-template-columns: repeat(7, minmax(0, 1fr)); }
@media (max-width: 1180px) { .gm-tape--lg { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gm-ufc { margin: 0; padding: 9px 12px; border-radius: 10px; background: var(--gm-soft); font-size: .8rem; color: var(--ink-77); }
.gm-ufc b { color: var(--ink); font-weight: 600; }
.gm-kind--board { --k: #1E3A8A; } .gm-kind--cards { --k: #B91C1C; } .gm-kind--puzzle { --k: #7C3AED; } .gm-kind--sport { --k: #15803D; } .gm-kind--laugh { --k: #CA8A04; }
