/* labs570.css — labs.llc/labs/ 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.lb570 [hidden] { display: none !important; }
body.lb570 { --lb-acc: #0E7490; --lb-r: 12px; --lb-card: #fff; --lb-soft: #F4F5F6; --lb-panel: rgba(255,255,255,.98); --lb-shadow: 0 10px 30px rgba(17,22,28,.14); --lb-g: clamp(16px, 2.82vw, 36px); --lb-up: #15803D; --lb-dn: #BE123C; }
html[data-dark] body.lb570 { --lb-acc: #67E8F9; --lb-card: #131A21; --lb-soft: #1A2129; --lb-panel: rgba(23,30,38,.98); --lb-shadow: 0 10px 30px rgba(0,0,0,.5); --lb-up: #4ADE80; --lb-dn: #F87171; }
body.lb570 main { overflow-x: clip; }

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

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

/* ---------- sticky status line ---------- */
.lb-dock { position: sticky; top: var(--nav-h, 74px); z-index: 55; background: var(--paper); border-bottom: 1px solid var(--line); }
.lb-dock__in { display: flex; align-items: center; gap: .8rem; min-height: 48px; padding-block: 4px; }
.lb-dock__id { margin: 0; min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; line-height: 1.25; }
.lb-dock__id b { font-size: .88rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: .45rem; }
.lb-dock__id > span { font-size: .7rem; color: var(--ink-55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-dock__nav { display: flex; gap: 1.1rem; flex: none; }
.lb-dock__nav a { font-size: .76rem; color: var(--ink-77); text-decoration: none; }
.lb-dock__nav a:hover { color: var(--lb-acc); }
.lb-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: lb-pulse 2.4s infinite; flex: none; }
@keyframes lb-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) { .lb-live { animation: none; } }
@media (max-width: 760px) { .lb-dock__nav { display: none; } }
@media (max-width: 900px) { .lb-dock { top: var(--nav-h, 64px); } }

/* ---------- section heads ---------- */
body.lb570 .band.lb-feat, body.lb570 .band.lb-latest, body.lb570 .band.lb-doors, body.lb570 .band.lb-rooms, body.lb570 .band.lb-ethos { padding-block: clamp(36px, 5vw, 64px); }
body.lb570 .band.lb-latest, body.lb570 .band.lb-rooms { padding-top: 0; }
.lb-sechead { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.lb-sechead .d2 { margin: .3rem 0 0; }
.lb-sechead__s { margin: 0; font-size: .78rem; color: var(--ink-55); }
.lb-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; }
.lb-sechead__a:hover { color: var(--lb-acc); }

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

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

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

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

/* ---------- all rooms (the site's room switcher, as a compact panel) ---------- */
.lb-rmgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 1180px) { .lb-rmgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 860px) { .lb-rmgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 620px) { .lb-rmgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } }
@media (max-height: 500px) and (orientation: landscape) { .lb-rmgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.lb-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(--lb-card); color: var(--ink); text-decoration: none; min-width: 0; transition: border-color .2s, background .2s, transform .2s; }
.lb-rm:hover { border-color: var(--ink-55); background: var(--lb-soft); transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .lb-rm:hover { transform: none; } }
.lb-rm__g { grid-area: g; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--lb-soft); color: var(--ink); }
.lb-rm__g svg { width: 18px; height: 18px; }
.lb-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(--lb-soft); }
.lb-rm__t { grid-area: t; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.lb-rm__t b { font-size: .88rem; font-weight: 600; }
.lb-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; }
.lb-rm__t > span .livedot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: #16A34A; display: inline-block; }
.lb-rm.is-here { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.lb-rm.is-here .lb-rm__g { background: var(--ink); color: var(--paper); }
.lb-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); }
.lb-rm--aside { border-style: dashed; }
@media (max-width: 620px) { .lb-rm { padding: 9px 10px; } .lb-rm__g { width: 28px; height: 28px; } .lb-rm__here { left: auto; right: 8px; } }

/* ---------- ethos ---------- */
.lb-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) { .lb-ethos__in { grid-template-columns: minmax(0, 1fr); } }
.lb-ethos .d2 { margin: .3rem 0 0; } .lb-ethos .lede { margin: 0 0 1rem; max-width: 62ch; }
.lb-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) { .lb-ethos__l { grid-template-columns: minmax(0, 1fr); } }
.lb-ethos__l li { padding: 12px 14px; border-radius: 12px; background: var(--lb-soft); font-size: .78rem; color: var(--ink-77); line-height: 1.45; }
.lb-ethos__l b { display: block; font-size: .84rem; color: var(--ink); margin-bottom: 2px; }

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

/* ---------- internet v570: three featured desks ---------- */
.lb-fcard--faults::before { background: linear-gradient(90deg, #B91C1C, #EA580C, #CA8A04); }
.lb-fcard--root::before { background: linear-gradient(90deg, #1E3A8A, #2563EB, #0D9488); }
.lb-fcard--sea::before { background: linear-gradient(90deg, #0E7490, #0284C7, #F59E0B); }
@media (min-width: 1181px) { .lb-fstats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lb-tk--v { text-align: left; } .lb-tk--v b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .lb-tk--v span { color: var(--ink-55); font-weight: 600; }
.lb-tape--v { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (min-width: 1181px) { .lb-tape--v { grid-template-columns: repeat(3, minmax(0, 1fr)); } .lb-tape--v .lb-tk:nth-child(n+4) { display: none; } }
.lb-serial { display: flex; align-items: center; gap: .55rem; padding: 9px 12px; border-radius: 10px; background: var(--lb-soft); font-size: .78rem; color: var(--ink-77); font-variant-numeric: tabular-nums; }
.lb-serial b { color: var(--ink); font-weight: 600; } .lb-serial[data-state="same"] { box-shadow: inset 3px 0 0 #16A34A; } .lb-serial[data-state="newer"] { box-shadow: inset 3px 0 0 #CA8A04; }
.lb-li__n { float: right; margin-left: .6rem; font-size: .72rem; font-weight: 600; color: var(--ink-55); font-variant-numeric: tabular-nums; }
.lb-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); }
.lb-lc__k .lb-sev { margin-right: .2rem; }
.lb-d--i { --c: #F59E0B; }
/* ---- labs v570: the room's own desks ---- */
.lb-feat .lb-fcard__k .lb-live { animation: none; background: var(--ink-55, #8a949c); box-shadow: none; }
.lb-d--work { --c: #B45309; } .lb-d--sweep { --c: #0891B2; } .lb-d--quiet { --c: #94A3B8; }
.lb-d--m08 { --c: #B45309; } .lb-d--m09 { --c: #D97706; } .lb-d--m10 { --c: #FBBF24; }
.lb-d--relay { --c: #1E3A8A; } .lb-d--both { --c: #7C3AED; } .lb-d--direct { --c: #0F766E; }
.lb-d--wired { --c: #0F766E; } .lb-d--unwired { --c: #CBD5E1; }
html[data-dark] .lb-d--relay { --c: #60A5FA; }
.lb-fcard--build::before { background: linear-gradient(90deg, #B45309, #D97706, #FBBF24); }
.lb-fcard--wires::before { background: linear-gradient(90deg, #1E3A8A, #7C3AED, #0F766E); }
.lb-fcard--method::before { background: linear-gradient(90deg, #0F766E, #0891B2, #1E3A8A); }
.lb-tape--p { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lb-kind--roster { --k: #1E3A8A; } .lb-kind--record { --k: #B45309; } .lb-kind--rules { --k: #0F766E; }
