.desk {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--d-ground);
  color: var(--d-text);
  font-family: var(--d-sans);
  font-size: 14px;
  line-height: 1.45;
}
:is(.desk, .civ-skin) a { color: var(--d-text); }
:is(.desk, .civ-skin) a:hover { color: var(--d-amber); }
:is(.desk, .civ-skin) :focus-visible { outline: 2px solid var(--d-amber); outline-offset: 1px; }
:is(.desk, .civ-skin) [hidden] { display: none !important; }

.desk-mast { order: 1; }
.desk-strip-frame { display: contents; }
.desk-strip { order: 2; }
.desk-guest { order: 3; }
.desk-paused { order: 4; }
.desk-body { order: 5; }

@keyframes desk-shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes desk-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes desk-redpulse {
  0%, 100% { background: rgba(248, 113, 113, 0.04); box-shadow: inset 0 0 12px rgba(248, 113, 113, 0.08); }
  50% { background: rgba(248, 113, 113, 0.10); box-shadow: inset 0 0 28px rgba(248, 113, 113, 0.20); }
}
@keyframes desk-skel { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes desk-page-out { to { opacity: 0; transform: translateX(-14px); } }
@keyframes desk-page-in { from { opacity: 0; transform: translateX(14px); } }
@keyframes desk-nudge { 35% { transform: scale(1.14); } }

.desk-mast {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  padding: 0 16px;
  border-bottom: 1px solid var(--d-rule);
}
.desk-brand { margin: 0; flex: 0 0 auto; font: 600 13px/1 var(--d-mono); letter-spacing: 0.22em; }
.desk-brand a, .desk-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--d-text);
  text-decoration: none;
}

.desk-countdown {
  flex: none;
  padding-left: 16px;
  border-left: 1px solid var(--d-rule);
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font: 11px/1.45 var(--d-mono);
  letter-spacing: 0.1em;
  color: var(--d-muted);
  font-variant-numeric: tabular-nums;
}
.desk-countdown span { min-width: 2ch; color: var(--d-body); }
.desk-countdown span.soon { color: var(--d-blue); }
.desk-notices {
  flex: 1 1 240px;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 20px;
  padding-left: 16px;
  border-left: 1px solid var(--d-rule);
  overflow: hidden;
  white-space: nowrap;
  font: 11px/1.45 var(--d-mono);
  letter-spacing: 0.1em;
  color: var(--d-muted);
}
.desk .masthead-notice { display: flex; align-items: center; gap: 14px; min-width: 0; overflow: hidden; color: var(--d-amber); }
.desk .notice-item { display: inline-flex; align-items: center; white-space: nowrap; transition: opacity 1.5s ease; }
.desk .notice-item + .notice-item::before { content: "|"; color: var(--d-rule); margin-right: 14px; }
.desk .notice-item.fading { opacity: 0; animation: none; }
.desk .notice-item.offline { color: var(--d-muted); }
.desk .notice-item.upcoming { color: var(--d-muted); font-variant-numeric: tabular-nums; }
.desk .notice-item.upcoming.imminent { color: var(--d-text); animation: desk-blink 4s ease-in-out infinite; }
.desk .notice-item a { color: inherit; text-decoration: none; padding: 8px 2px; }
.desk .notice-item a:hover { text-decoration: underline; color: inherit; }
.desk .notice-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--d-amber);
  animation: desk-blink 1.6s ease-in-out infinite;
}
.desk .notice-dot.settled { animation: none; }
.desk .notice-moon { margin-right: 6px; color: var(--d-blue); }
.desk-build {
  flex: 0 0 auto;
  padding: 2px 7px;
  border: 1px solid #1f4a2e;
  border-radius: 3px;
  color: var(--d-green);
}

.desk-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex: 0 0 auto;
  font: 11px/1 var(--d-mono);
  letter-spacing: 0.14em;
}
.desk-chip,
.desk-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--d-rule);
  border-radius: 3px;
  color: var(--d-muted);
  font: inherit;
  letter-spacing: inherit;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
:is(.desk, .civ-skin) .desk-chip { color: var(--d-muted); }
.desk-icon { min-width: 44px; padding: 0; }
.desk-icon svg { display: block; }
:is(.desk, .civ-skin) .desk-chip:hover,
.desk-icon:hover { border-color: var(--d-muted); color: var(--d-text); }
.desk .desk-signin { color: var(--d-text); border-color: var(--d-muted); padding: 0 14px; text-transform: uppercase; }
.desk-chip-dot { display: none; width: 6px; height: 6px; border-radius: 50%; background: var(--d-amber); }
.desk-changelog.fresh .desk-chip-dot { display: inline-block; }
.desk-support { text-transform: uppercase; }
.desk-sound.on { color: var(--d-amber); }
.desk-sound.nudge { border-color: var(--d-amber); color: var(--d-text); animation: desk-nudge 0.7s ease-out 3; }
.desk-sound.pinging svg { animation: desk-blink 0.3s ease 3; }

.desk-week { display: inline-flex; align-items: center; gap: 8px; padding: 0 6px; color: var(--d-amber); white-space: nowrap; }
.desk-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--d-amber); display: inline-block; flex: 0 0 auto; }
:is(.desk, .civ-skin) .desk-cta {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  background: var(--d-amber);
  border-radius: 3px;
  color: var(--d-ground);
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
:is(.desk, .civ-skin) .desk-cta:hover { color: var(--d-ground); filter: brightness(1.08); }

.desk-shimmer { display: none; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; pointer-events: none; }
.desk.deployed .desk-shimmer { display: block; }
.desk-shimmer span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--d-amber) 40%, var(--d-amber) 60%, transparent);
  animation: desk-shimmer 1.8s ease-in-out 1 both;
}

.desk-strip {
  display: flex;
  height: 40px;
  overflow: hidden;
  border-bottom: 1px solid var(--d-rule);
  font: 12px/1 var(--d-mono);
  white-space: nowrap;
}
.desk .strip-page { flex: 1 1 auto; min-width: 0; display: flex; align-items: stretch; }
.desk .strip-page.leaving { animation: desk-page-out 0.3s ease forwards; }
.desk .strip-page.entering { animation: desk-page-in 0.35s ease; }
.strip-group {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px 0 16px;
  border-right: 1px solid var(--d-rule);
  color: var(--d-blue);
  font-size: 11px;
  letter-spacing: 0.14em;
}
.strip-dots { display: inline-flex; gap: 5px; }
.strip-dots span { width: 5px; height: 5px; border-radius: 50%; background: var(--d-off); }
.strip-dots span.on { background: var(--d-amber); }
.strip-page:has(.strip-pin.pinned) .strip-group-name::after { content: " · PINNED"; }
.strip-page:has(.strip-pin.pinned) .strip-dots span:not(.on) { background: #1a1c20; }
.strip-items { flex: 1 1 0; min-width: 0; display: flex; align-items: stretch; overflow: hidden; }
.desk .tile {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-right: 1px solid var(--d-rule);
  color: var(--d-blue);
  letter-spacing: 0.08em;
}
.desk .tile-price { color: var(--d-text); }
.desk .tile-change.up { color: var(--d-green); }
.desk .tile-change.down { color: var(--d-alert); }
.desk .tile-change.flat { color: var(--d-muted); }
.desk .strip-ctl {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 0 12px;
  border-left: 1px solid var(--d-rule);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.desk .strip-pin,
.desk .strip-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 44px;
  min-height: 28px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--d-rule);
  border-radius: 3px;
  color: var(--d-muted);
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}
.desk .strip-pin:hover,
.desk .strip-next:hover { border-color: var(--d-muted); color: var(--d-text); }
.desk .strip-pin.pinned { color: var(--d-amber); }
.desk .strip-pin.pinned .strip-pin-head { fill: currentColor; }
.desk .strip-upd { padding-left: 8px; color: var(--d-muted); }
.desk .strip-upd b { color: var(--d-text); font-weight: inherit; }

.desk .skel-bar { display: block; height: 10px; border-radius: 2px; background: var(--d-rule); animation: desk-skel 1.6s ease-in-out infinite; }
.desk .skel-bar-sm { height: 7px; }
.desk .strip-skel .tile { min-width: 0; }

.desk-guest {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 16px;
  min-height: 38px;
  padding: 5px 16px;
  border-bottom: 1px solid var(--d-rule);
  background: var(--d-raised);
  font: 11px/1.4 var(--d-mono);
  letter-spacing: 0.1em;
  color: var(--d-body);
}
.desk-guest-tag { color: var(--d-amber); font-weight: 600; white-space: nowrap; }
.desk-guest-note { flex: 1 1 0; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--d-muted); }
.desk-guest .desk-cta { margin-left: auto; min-height: 28px; padding: 0 12px; letter-spacing: 0.12em; }

.desk-paused {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  min-height: 38px;
  padding: 6px 16px;
  border-bottom: 1px solid var(--d-alert);
  border-left: 3px solid var(--d-alert);
  font: 11px/1.4 var(--d-mono);
  letter-spacing: 0.1em;
  color: var(--d-text);
  animation: desk-redpulse 3s ease-in-out infinite;
}
.desk-paused-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--d-alert); font-weight: 600; white-space: nowrap; }
.desk-paused-note { color: var(--d-body); }
.desk-paused-note b { color: var(--d-text); font-weight: inherit; }

.desk-body { flex: 1 1 0; min-height: 0; display: flex; align-items: stretch; }
.desk-grid {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  gap: 1px;
  background: var(--d-rule);
}
.desk .panel { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--d-ground); }
.desk .panel.dragging { opacity: 0.5; outline: 1px solid var(--d-amber); outline-offset: -1px; }
.desk .panel.drop-target { outline: 1px solid var(--d-amber); outline-offset: -1px; }
.desk-grid.reordering iframe,
.desk-grid.reordering video,
.desk-grid.reordering img.panel-media { pointer-events: none; }

.desk .panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px 8px;
  border-bottom: 1px solid var(--d-rule);
  cursor: grab;
}
.desk .panel-head h2 {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font: 600 20px/1.2 var(--d-display);
  letter-spacing: 0.02em;
  color: var(--d-text);
}
.panel-status {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  vertical-align: 0.2em;
  border-radius: 50%;
  background: var(--d-amber);
}
.desk .panel:has([data-hot]) .panel-status { background: var(--d-alert); }
.desk .panel-clocks { flex: 0 0 auto; white-space: nowrap; font: 11px/1 var(--d-mono); letter-spacing: 0.12em; color: var(--d-blue); }
.desk .panel-clocks .zone-time { color: var(--d-text); }
.desk .panel-clocks .scheme-glyph { vertical-align: -1px; margin-right: 4px; }

.desk-slot { position: relative; flex: 0 0 auto; border-bottom: 1px solid var(--d-rule); background: var(--d-raised); }
.desk .panel-video {
  position: relative;
  display: grid;
  grid-template-rows: 1fr;
  overflow: hidden;
  transition: grid-template-rows 0.25s ease, opacity 0.2s ease;
}
.desk .panel-video > * { min-height: 0; overflow: hidden; }
.desk .panel-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.desk .panel.feed-only .panel-video { grid-template-rows: 0fr; opacity: 0; }
.desk .panel-media { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.desk .video-locked {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  aspect-ratio: 16 / 9;
  padding: 0 16px 38px;
  background: #06070a;
  font: 10px/1.8 var(--d-mono);
  letter-spacing: 0.16em;
  color: var(--d-muted);
  text-align: center;
  text-decoration: none;
}
.desk .video-locked .live-dot { color: var(--d-alert); }
.desk .went-live {
  position: absolute;
  left: 50%;
  bottom: 48px;
  transform: translateX(-50%);
  z-index: 3;
  min-height: 32px;
  padding: 0 12px;
  background: rgba(11, 12, 14, 0.92);
  border: 1px solid var(--d-amber);
  border-radius: 3px;
  color: var(--d-amber);
  font: 10px/1 var(--d-mono);
  letter-spacing: 0.12em;
  white-space: nowrap;
  cursor: pointer;
}
.desk .went-live:hover { background: var(--d-amber); color: var(--d-ground); }

.desk-channel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 6px 8px 6px 10px;
  background: rgba(11, 12, 14, 0.78);
  font: 10px/1 var(--d-mono);
  letter-spacing: 0.14em;
  color: var(--d-blue);
}
.desk .panel.feed-only .desk-channel,
.desk-slot:not(:has(.panel-video)) .desk-channel { position: static; background: transparent; }
.desk-channel-label { display: inline-flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; white-space: nowrap; }
.desk-channel-name { overflow: hidden; text-overflow: ellipsis; }
.live-badge { display: inline-flex; align-items: center; gap: 0.4em; }
.desk .live-badge { color: var(--d-amber); }
.desk .live-badge.off { color: var(--d-muted); }
.desk .live-badge.off .live-dot { animation: none; }
.desk .live-badge.behind { color: var(--d-alert); }
.desk .live-badge.behind .live-dot { animation: none; }
.desk-tools { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; }
.desk-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 26px;
  min-height: 26px;
  padding: 0 7px;
  background: var(--d-ground);
  border: 1px solid var(--d-rule);
  border-radius: 3px;
  color: var(--d-muted);
  font: inherit;
  letter-spacing: inherit;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.desk .desk-tool { color: var(--d-muted); }
.desk .desk-tool:hover { border-color: var(--d-muted); color: var(--d-text); }
.desk .desk-tool.on,
.desk .desk-tool.active { border-color: var(--d-amber); color: var(--d-amber); }
.desk-tool svg { display: block; }
.desk .video-next { min-width: 44px; }
.desk-channel-dots { display: inline-flex; gap: 4px; }
.desk-channel-dots:has(> span:only-child) { display: none; }
.desk-channel-dots span { width: 4px; height: 4px; border-radius: 50%; background: var(--d-off); }
.desk-channel-dots span.on { background: var(--d-amber); }

.desk .wire-filter { position: relative; display: inline-flex; }
.desk .wire-filter-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 30;
  min-width: 210px;
  max-width: calc(100vw - 32px);
  max-height: 320px;
  overflow-y: auto;
  background: var(--d-raised);
  border: 1px solid var(--d-rule);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.desk .wire-filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--d-rule);
  color: var(--d-text);
  font: 11px/1.3 var(--d-mono);
  letter-spacing: 0.06em;
  text-align: left;
  cursor: pointer;
}
.desk .wire-filter-item:last-child { border-bottom: 0; }
.desk .wire-filter-item:hover { background: rgba(245, 184, 66, 0.08); }
.desk .wire-filter-item.current { color: var(--d-amber); }
.desk .wire-filter-count { color: var(--d-muted); }

.desk-wire-frame { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; }
:is(.desk, .civ-skin) .wire {
  flex: 1 1 0;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--d-rule) transparent;
}
:is(.desk, .civ-skin) .wire li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
  padding: 9px 14px 10px;
  border-top: 0;
  border-bottom: 1px solid var(--d-rule);
  border-radius: 0;
}
:is(.desk, .civ-skin) .wire li:hover { background: var(--d-raised); }
:is(.desk, .civ-skin) .wire li.wire-axios { border-left: 2px solid rgba(245, 184, 66, 0.55); padding-left: 12px; }
:is(.desk, .civ-skin) .wire li.wire-new { margin: 0; padding: 9px 14px 10px; border-radius: 0; border-bottom-color: var(--d-rule); }
:is(.desk, .civ-skin) .wire li.wire-new::after { inset: 2px 4px; border-radius: 4px; }
:is(.desk, .civ-skin) .wire li.wire-new.wire-axios { border-left: 0; padding-left: 14px; }
:is(.desk, .civ-skin).guest .wire li.wire-new { margin: 0; padding: 9px 14px 10px; border-bottom-color: var(--d-rule); }
:is(.desk, .civ-skin) .wire-empty { color: var(--d-muted); font-size: 13px; }

.wire-src {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  white-space: nowrap;
  font: 10px/1.4 var(--d-mono);
  letter-spacing: 0.1em;
  color: var(--d-blue);
}
.wire-src-name { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.wire-clock { color: var(--d-muted); flex: 0 0 auto; }
:is(.desk, .civ-skin) .wire-x { color: var(--d-blue); }
:is(.desk, .civ-skin) .wire-updated { color: var(--d-amber); }
:is(.desk, .civ-skin) .wire-media,
.wire-lang {
  flex: 0 0 auto;
  padding: 1px 5px;
  border: 1px solid var(--d-rule);
  border-radius: 2px;
  background: none;
  color: var(--d-body);
  font: 9px/1.4 var(--d-mono);
  letter-spacing: 0.1em;
}
:is(.desk, .civ-skin) .wire-media { position: relative; cursor: pointer; }
:is(.desk, .civ-skin) .wire-media::after { content: ""; position: absolute; inset: -12px -8px; }
:is(.desk, .civ-skin) .wire-media:hover { border-color: var(--d-amber); color: var(--d-amber); }
.wire-lang { border-color: #1f3a52; color: var(--d-blue); }

:is(.desk, .civ-skin) .wire a { display: block; padding: 0; color: var(--d-text); font: 13px/1.4 var(--d-sans); text-decoration: none; }
:is(.desk, .civ-skin) .wire a:hover { color: var(--d-amber); }
:is(.desk, .civ-skin) .wire li[data-headline-id] > a::before { content: ""; position: absolute; inset: 0; }
:is(.desk, .civ-skin) .wire li[data-headline-id]:hover > a { color: var(--d-amber); }
:is(.desk, .civ-skin) .wire li[data-headline-id] button { position: relative; z-index: 1; }
:is(.desk, .civ-skin) .wire-qt { margin-top: 4px; font-size: 12px; color: var(--d-muted); }

:is(.desk, .civ-skin) .wire .wire-tr { position: static; display: inline; }
:is(.desk, .civ-skin) .wire .wire-tr-orig { display: none; opacity: 1; }
:is(.desk, .civ-skin) .wire .wire-tr-en { position: static; display: inline; padding: 0; opacity: 1; visibility: visible; background: none; color: inherit; transition: none; }
:is(.desk, .civ-skin) .wire li.show-original .wire-tr-orig { display: inline; }
:is(.desk, .civ-skin) .wire li.show-original .wire-tr-en { display: none; }

:is(.desk, .civ-skin) .wire-meta { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; font: 10px/1 var(--d-mono); letter-spacing: 0.1em; color: var(--d-muted); }
:is(.desk, .civ-skin) .wire-meta { margin-right: -8px; }
:is(.desk, .civ-skin) .wire-meta .wire-copy { order: 1; }
:is(.desk, .civ-skin) .wire-copy,
.wire-original {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 28px;
  margin: 0;
  padding: 0 8px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 3px;
  color: var(--d-muted);
  font: inherit;
  letter-spacing: inherit;
  opacity: 1;
  cursor: pointer;
}
:is(.desk, .civ-skin) .wire-copy:hover,
.wire-original:hover { border-color: var(--d-muted); color: var(--d-text); }
:is(.desk, .civ-skin) .wire-copy svg { width: 13px; height: 13px; }
:is(.desk, .civ-skin) .wire-copy.copied { color: var(--d-amber); }
.wire-original[aria-pressed="true"] { color: var(--d-amber); }
:is(.desk, .civ-skin) .wire-when { order: -1; margin-right: auto; color: var(--d-muted); white-space: nowrap; }

:is(.desk, .civ-skin) .wire li.wire-lockbox { display: block; min-height: 0; max-height: none; padding: 0; overflow: visible; border-bottom: 0; }
:is(.desk, .civ-skin) .wire li.wire-lockbox:hover { background: none; }
:is(.desk, .civ-skin) .wire a.wire-lockask-link {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--d-rule);
  background: var(--d-raised);
  text-decoration: none;
}
:is(.desk, .civ-skin) .wire-lockcard-count { font: 600 10px/1.4 var(--d-mono); letter-spacing: 0.14em; color: var(--d-amber); }
:is(.desk, .civ-skin) .wire-lockask-link:hover .wire-lockcard-count { color: var(--d-text); }
.desk-locked { list-style: none; margin: 0; padding: 0; }
.desk-locked-title { filter: blur(5px); user-select: none; pointer-events: none; font: 13px/1.4 var(--d-sans); color: var(--d-body); }
.desk-locked-note { display: flex; align-items: center; gap: 8px; font: 10px/1.4 var(--d-mono); letter-spacing: 0.12em; color: var(--d-amber); }

:is(.desk, .civ-skin) .wire-skel li { gap: 8px; padding: 12px 14px; }
:is(.desk, .civ-skin) .wire-skel li:nth-child(2n) .skel-bar { animation-delay: 0.4s; }

.desk-rail {
  flex: 0 0 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-left: 1px solid var(--d-rule);
  background: var(--d-ground);
}
.desk-rail button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  min-height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--d-rule);
  border-radius: 3px;
  color: var(--d-text);
  cursor: pointer;
}
.desk-rail button:hover:not(:disabled) { border-color: var(--d-muted); color: var(--d-amber); }
.desk-rail button:disabled { color: var(--d-off); cursor: default; }
.desk-rail-dots { display: flex; flex-direction: column; gap: 5px; }
.desk-rail-dots span { width: 5px; height: 5px; border-radius: 50%; background: var(--d-off); }
.desk-rail-dots span.on { background: var(--d-amber); }

@media (max-width: 1100px) {
  .desk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .desk-mast { flex-wrap: wrap; gap: 6px 8px; padding: 0 10px; }
  .desk-countdown,
  .desk-notices,
  .desk-changelog,
  .desk-support,
  .desk .strip-upd,
  .desk-guest-note { display: none; }
  .desk-mast:has(.desk-week:not(.desk-live)) .desk-brand-word { display: none; }
  .desk-nav .desk-dev { display: none; }
  .desk-brand a, .desk-brand-mark { min-width: 44px; justify-content: center; }
  .desk-nav { gap: 8px; letter-spacing: 0.08em; }
  .desk-chip,
  .desk-icon,
  :is(.desk, .civ-skin) .desk-cta { min-height: 44px; }
  .desk .account { --a-hit: 44px; }
  .desk-week { padding: 0 2px; }

  .desk-strip { height: 44px; }
  .strip-group { padding: 0 10px; gap: 8px; }
  .desk .strip-ctl { padding: 0 0 0 6px; gap: 0; }
  .desk .strip-pin,
  .desk .strip-next { min-height: 44px; border-color: transparent; padding: 0 8px; }
  .desk .strip-pin .strip-pin-word { display: none; }

  .desk-guest { padding: 4px 10px 4px 16px; }
  .desk-guest .desk-cta { min-height: 44px; }

  .desk-grid {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .desk-grid::-webkit-scrollbar { display: none; }
  .desk .panel { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; }
  .desk .panel-head { cursor: auto; }
  .desk-channel { min-height: 52px; padding: 4px 6px 4px 10px; }
  .desk-tool { min-width: 44px; min-height: 44px; }
  .desk .video-full,
  .desk .video-sound { display: none; }
  :is(.desk, .civ-skin) .wire-copy,
  .wire-original { min-height: 44px; }
  :is(.desk, .civ-skin) .wire-media { min-width: 0; min-height: 0; }
  :is(.desk, .civ-skin) .wire-media::after { inset: -14px -12px; }
  .strip-dots { display: none; }
  :is(.desk, .civ-skin) .wire a.wire-lockask-link { min-height: 44px; }

  .desk-rail { flex-basis: 44px; gap: 10px; }
  .desk-rail button { width: 44px; border-left: 0; border-right: 0; border-radius: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .desk-shimmer span,
  .desk .notice-dot,
  .desk .notice-item.upcoming.imminent,
  .desk-sound.nudge,
  .desk-sound.pinging svg,
  .desk .skel-bar,
  .desk .strip-page.leaving,
  .desk .strip-page.entering { animation: none; }
  .desk-paused { animation: none; background: rgba(248, 113, 113, 0.07); box-shadow: inset 0 0 20px rgba(248, 113, 113, 0.14); }
  .desk .panel-video { transition: none; }
}
