/* Desktop server-rack side wings, network switches, pinball arms & leaderboard */
.term-home .term-session {
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: 50% 24px;
}

.term-home .term-session .hero,
.term-home .term-session .contact-card,
.term-home .term-session .project-card,
.term-home .term-session .cmd-line {
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1), opacity 260ms ease;
}

/* Break up monotonous horizontal lines into a playful angled pinball layout while playing */
:root[data-pinball-playing="true"] .term-home .term-session .hero {
  transform: translate(-6px, 0) rotate(-1.6deg);
}

:root[data-pinball-playing="true"] .term-home .term-session .contact-card {
  transform: translate(34px, 6px) rotate(2.8deg);
}

:root[data-pinball-playing="true"] .term-home .term-session .projects-grid {
  gap: 0.95rem;
}

:root[data-pinball-playing="true"] .term-home .term-session .project-card:nth-child(4n + 1) {
  transform: translate(-22px, 4px) rotate(-3.4deg);
}

:root[data-pinball-playing="true"] .term-home .term-session .project-card:nth-child(4n + 2) {
  transform: translate(32px, 10px) rotate(3.6deg);
}

:root[data-pinball-playing="true"] .term-home .term-session .project-card:nth-child(4n + 3) {
  transform: translate(-14px, 14px) rotate(-2.8deg);
}

:root[data-pinball-playing="true"] .term-home .term-session .project-card:nth-child(4n + 4) {
  transform: translate(24px, 12px) rotate(3.1deg);
}

:root[data-pinball-playing="true"] .term-home .term-session .cmd-line {
  transform: translateX(18px) rotate(-1.2deg);
}

/* Visually cue that light/muted text is passthrough during gameplay */
:root[data-pinball-playing="true"] .term-home .term-session .prompt-ps1,
:root[data-pinball-playing="true"] .term-home .term-session .term-prompt,
:root[data-pinball-playing="true"] .term-home .term-session .term-muted,
:root[data-pinball-playing="true"] .term-home .term-session .hero-intro,
:root[data-pinball-playing="true"] .term-home .term-session .contact-lead,
:root[data-pinball-playing="true"] .term-home .term-session .card-desc,
:root[data-pinball-playing="true"] .term-home .term-session .card-repo,
:root[data-pinball-playing="true"] .term-home .term-session .card-foot,
:root[data-pinball-playing="true"] .term-home .term-session .browse-link {
  opacity: 0.36;
}

@media (min-width: 1100px) {
  :root[data-pinball-playing="true"] .term-home .term-session {
    transform: scale(0.68);
    transform-origin: 50% 18px;
  }
}

@media (max-width: 1099px) {
  :root[data-pinball-playing="true"] .term-home .term-session {
    transform: translateY(58px) scale(0.76);
    transform-origin: 44% 0;
  }
}

.term-home .pinball-stage {
  display: none;
}

.term-home .pinball-stage.is-enabled {
  display: block;
}

.term-home .pinball-stage.is-mobile .pb-wing {
  display: none;
}

/* Mobile peeking-paddle tap targets, multi-touch flipper zones & top score bar */
.term-home .pb-peek {
  position: fixed;
  bottom: 72px;
  z-index: 6;
  width: 54px;
  height: 76px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.term-home .pb-peek--left {
  left: 0;
}

.term-home .pb-peek--right {
  right: 0;
}

.term-home .pb-touch-zone {
  position: fixed;
  top: 50px;
  bottom: 36px;
  width: 50%;
  z-index: 6;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.term-home .pb-touch-zone--left {
  left: 0;
}

.term-home .pb-touch-zone--right {
  right: 0;
}

.term-home .pb-mobile-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 46px;
  z-index: 9;
  padding: 0 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: var(--statusbar-bg, var(--surface));
  border-bottom: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.term-home .pb-mb-stats {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.term-home .pb-mb-score {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}

.term-home .pb-mb-pill {
  font-size: 0.62rem;
  color: var(--ink-subtle);
  padding: 0.14rem 0.36rem;
  border: 1px solid var(--border-soft);
  border-radius: 3px;
  background: var(--surface-warm);
}

.term-home .pb-mb-pill strong {
  color: var(--ink);
}

.term-home .pb-mb-actions {
  display: flex;
  align-items: center;
  gap: 0.38rem;
}

.term-home .pb-mb-btn {
  appearance: none;
  border: 1px solid var(--border-strong);
  background: var(--pane-header);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  padding: 0.24rem 0.5rem;
  border-radius: 3px;
  cursor: pointer;
}

.term-home .pinball-stage.is-desktop .pb-keys--mobile,
.term-home .pinball-stage.is-desktop .pb-prompt-mobile-lb {
  display: none;
}

.term-home .pinball-stage.is-mobile .pb-keys--desktop {
  display: none;
}

.term-home .pinball-stage.is-mobile .pb-keys--mobile {
  grid-template-columns: 1fr;
}

.term-home .pb-prompt-mobile-lb {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--border-soft);
}

.term-home .pinball-stage.is-mobile .pb-prompt {
  bottom: 96px;
  width: min(300px, calc(100vw - 28px));
  max-height: calc(100dvh - 130px);
  overflow-y: auto;
}

.term-home .pb-wing {
  position: fixed;
  top: 0;
  bottom: 36px;
  z-index: 1;
  padding: 0.72rem 0.55rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.58rem;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
  user-select: none;
  cursor: pointer;
  color: var(--ink-subtle);
  transition: width 360ms cubic-bezier(0.22, 1, 0.36, 1), background-color 180ms ease;
}

.term-home .pb-wing::-webkit-scrollbar {
  display: none;
}

.term-home .pb-wing--left {
  left: 0;
  border-right: 2px solid var(--border-soft);
}

.term-home .pb-wing--right {
  right: 0;
  border-left: 2px solid var(--border-soft);
}

.term-home .pb-wing:hover {
  background-color: var(--surface-hover);
}

/* Server rack unit chassis with mounting ears & screw rivets */
.term-home .pb-rack-unit {
  position: relative;
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.term-home .pb-rack-ear {
  position: relative;
  background: var(--pane-header);
  border-right: 1px solid var(--border-soft);
}

.term-home .pb-rack-ear--r {
  border-right: 0;
  border-left: 1px solid var(--border-soft);
}

.term-home .pb-rack-ear::before,
.term-home .pb-rack-ear::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--border-strong);
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.25);
}

.term-home .pb-rack-ear::before {
  top: 7px;
}

.term-home .pb-rack-ear::after {
  bottom: 7px;
}

/* 1U Network Switch faceplate */
.term-home .pb-switch-body {
  padding: 0.45rem 0.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.36rem;
  min-width: 0;
}

.term-home .pb-switch-top,
.term-home .pb-blade-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  font-size: 0.6rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.term-home .pb-switch-model,
.term-home .pb-blade-title {
  font-weight: 700;
  color: var(--ink-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.term-home .pb-switch-u {
  flex-shrink: 0;
  font-size: 0.55rem;
  color: var(--ink-subtle);
  padding: 0.05rem 0.28rem;
  border: 1px solid var(--border-soft);
  border-radius: 2px;
  background: var(--pane-header);
}

.term-home .pb-switch-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.28rem 0.55rem;
  padding-bottom: 0.28rem;
  border-bottom: 1px solid var(--border-soft);
}

.term-home .pb-sw-st {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  font-size: 0.54rem;
  letter-spacing: 0.05em;
  color: var(--ink-subtle);
}

.term-home .pb-switch-ports {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.28rem 0.22rem;
  padding: 0.28rem;
  background: var(--bg-deep);
  border: 1px solid var(--border-soft);
  border-radius: 2px;
}

.term-home .pb-port {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.term-home .pb-port-leds {
  display: flex;
  gap: 3px;
}

.term-home .pb-port-jack {
  width: 100%;
  max-width: 22px;
  height: 11px;
  border-radius: 1.5px;
  border: 1px solid var(--border-strong);
  background: var(--pane-header);
  position: relative;
}

.term-home .pb-port-jack.is-plugged {
  background: var(--surface-warm);
  border-color: var(--accent);
}

.term-home .pb-port-jack::after {
  content: "";
  position: absolute;
  left: 25%;
  right: 25%;
  bottom: 2px;
  height: 2px;
  background: var(--border-strong);
  opacity: 0.7;
}

/* Blinking switch LEDs */
.term-home .pb-led {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--border-strong);
  opacity: 0.28;
  transition: opacity 80ms ease, background-color 80ms ease, box-shadow 80ms ease;
}

.term-home .pb-led--tiny {
  width: 4px;
  height: 4px;
}

.term-home .pb-led.is-on {
  opacity: 0.96;
}

.term-home .pb-led--amber.is-on {
  background: var(--gold);
  box-shadow: 0 0 5px var(--gold);
}

.term-home .pb-led--gold.is-on {
  background: var(--gold-bright);
  box-shadow: 0 0 6px var(--gold);
}

.term-home .pb-led--green.is-on {
  background: var(--ansi-green, #5fb87f);
  box-shadow: 0 0 5px var(--ansi-green, #5fb87f);
}

.term-home .pb-led.is-boost {
  opacity: 1;
  background: var(--gold-bright);
  box-shadow: 0 0 10px var(--gold-bright), 0 0 4px var(--gold);
}

/* Console blades (top & ps) */
.term-home .pb-blade-body {
  padding: 0.45rem 0.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.term-home .pb-readout {
  font-family: var(--font-mono);
  font-size: 0.61rem;
  line-height: 1.44;
  color: var(--ink-subtle);
  opacity: 0.72;
  white-space: pre;
  overflow: hidden;
  text-overflow: clip;
  pointer-events: none;
}

.term-home .pb-console-ps .pb-readout {
  max-height: 11.5rem;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.85) 75%, rgba(0, 0, 0, 0.08) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.85) 75%, rgba(0, 0, 0, 0.08) 100%);
}

/* Perforated rack vent bar */
.term-home .pb-rack-vent {
  border: 1px dashed var(--border-soft);
  border-radius: 3px;
  padding: 0.42rem 0.55rem;
  text-align: center;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 6px,
    var(--border-soft) 6px,
    var(--border-soft) 8px
  );
}

.term-home .pb-vent-label {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  background: var(--bg);
  border-radius: 2px;
  font-size: 0.56rem;
  letter-spacing: 0.09em;
  color: var(--ink-muted);
}

.term-home .pinball-stage.is-playing .pb-rack-vent {
  opacity: 0.25;
}

/* Always-visible Scores & Global Leaderboard rack unit */
.term-home .pb-scores-unit {
  cursor: default;
  user-select: text;
  border-color: var(--border-strong);
}

.term-home .pb-scores-body {
  padding: 0.55rem 0.58rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
  color: var(--ink);
}

.term-home .pb-sb-hdr,
.term-home .pb-prompt-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.term-home .pb-sb-title,
.term-home .pb-prompt-title {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--accent);
}

.term-home .pb-sb-live {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--border-soft);
}

.term-home .pb-sb-display {
  background: var(--bg-deep);
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  padding: 0.4rem 0.52rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
}

.term-home .pb-sb-label {
  font-size: 0.53rem;
  letter-spacing: 0.12em;
  color: var(--ink-subtle);
}

.term-home .pb-sb-digits {
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.07em;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
  text-shadow: 0 0 10px var(--lamp-glow);
}

.term-home .pb-sb-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.28rem;
}

.term-home .pb-sb-cell {
  background: var(--surface-warm);
  border: 1px solid var(--border-soft);
  border-radius: 2px;
  padding: 0.22rem 0.34rem;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.term-home .pb-sb-k {
  font-size: 0.53rem;
  letter-spacing: 0.08em;
  color: var(--ink-subtle);
  text-transform: uppercase;
}

.term-home .pb-sb-v {
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.term-home .pb-sb-hitlog {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.14rem;
  font-size: 0.6rem;
}

.term-home .pb-sb-hitlog li {
  display: flex;
  justify-content: space-between;
  gap: 0.35rem;
  color: var(--ink-muted);
}

.term-home .pb-sb-word {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.term-home .pb-sb-pts {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--accent);
}

/* Player high score + optional submit checkbox */
.term-home .pb-sb-you {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.42rem 0.46rem;
  background: var(--surface-warm);
  border: 1px solid var(--border-soft);
  border-radius: 3px;
}

.term-home .pb-sb-you-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem;
}

.term-home .pb-sb-you-val {
  font-size: 0.88rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}

.term-home .pb-sb-you-meta {
  font-size: 0.58rem;
  color: var(--ink-subtle);
}

.term-home .pb-sb-nudge {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.35rem;
  padding: 0.32rem 0.42rem;
  background: var(--accent-soft);
  border: 1px solid var(--gold);
  border-radius: 3px;
  font-size: 0.6rem;
  line-height: 1.38;
  color: var(--ink);
}

.term-home .pb-nudge-close {
  flex-shrink: 0;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1;
  padding: 0 0.15rem;
  cursor: pointer;
}

.term-home .pb-nudge-close:hover {
  color: var(--ink);
}

.term-home .pb-sb-check {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  font-size: 0.62rem;
  color: var(--ink-muted);
  cursor: pointer;
  margin-top: 0.12rem;
}

.term-home .pb-sb-check input[type="checkbox"] {
  accent-color: var(--gold);
  cursor: pointer;
}

.term-home .pb-sb-form {
  display: flex;
  gap: 0.28rem;
  margin-top: 0.1rem;
}

.term-home .pb-sb-input {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  padding: 0.25rem 0.38rem;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  background: var(--surface);
  color: var(--ink);
}

.term-home .pb-sb-input:focus {
  outline: 1.5px solid var(--gold);
  border-color: var(--gold);
}

.term-home .pb-sb-submit {
  flex-shrink: 0;
  appearance: none;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #1a1208;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.24rem 0.48rem;
  border-radius: 2px;
  cursor: pointer;
}

.term-home .pb-sb-submit:hover {
  background: var(--gold-bright);
}

.term-home .pb-sb-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

.term-home .pb-sb-status {
  font-size: 0.58rem;
  color: var(--accent);
}

.term-home .pb-sb-status.is-err {
  color: var(--err);
}

/* Global ranking list */
.term-home .pb-sb-global {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.term-home .pb-sb-global-hdr {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem;
}

.term-home .pb-sb-total {
  font-size: 0.54rem;
  color: var(--ink-subtle);
}

.term-home .pb-sb-board {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.64rem;
}

.term-home .pb-sb-board li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.3rem;
  padding: 0.14rem 0.28rem;
  border-radius: 2px;
  color: var(--ink-muted);
}

.term-home .pb-sb-board li.is-you {
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 700;
}

.term-home .pb-lb-rank {
  font-size: 0.58rem;
  color: var(--ink-subtle);
}

.term-home .pb-lb-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.term-home .pb-lb-score {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--accent);
}

.term-home .pb-sb-empty {
  display: block !important;
  color: var(--ink-subtle);
  font-style: italic;
  font-size: 0.6rem;
}

/* Canvas overlay for mechanical arms, flippers, cabinet rails & ball */
.term-home .pb-canvas {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

/* On-screen hold-to-launch plunger button (desktop + mobile) */
.term-home .pb-plunger-btn {
  position: fixed;
  z-index: 9;
  appearance: none;
  overflow: hidden;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  min-width: 116px;
  padding: 0.44rem 0.72rem;
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-mono);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22), 0 0 12px var(--lamp-glow);
  transition: transform 90ms ease, border-color 120ms ease, box-shadow 120ms ease;
}

.term-home .pb-plunger-btn:hover {
  border-color: var(--gold-bright);
}

.term-home .pb-plunger-btn.is-held {
  transform: translateY(2px) scale(0.98);
  border-color: var(--gold-bright);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28), 0 0 18px var(--gold);
}

.term-home .pb-plunger-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--gold);
  opacity: 0.34;
  pointer-events: none;
}

.term-home .pb-plunger-label {
  position: relative;
  z-index: 1;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--ink);
}

.term-home .pb-plunger-hint {
  position: relative;
  z-index: 1;
  font-size: 0.54rem;
  letter-spacing: 0.06em;
  color: var(--ink-subtle);
}

/* Start / Game Over modal card */
.term-home .pb-prompt {
  position: fixed;
  bottom: 186px;
  z-index: 8;
  width: 232px;
  max-width: calc(100vw - 32px);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 0.72rem 0.78rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  display: flex;
  flex-direction: column;
  gap: 0.56rem;
  color: var(--ink);
}

.term-home .pb-icon-btn {
  appearance: none;
  border: 1px solid var(--border);
  background: var(--pane-header);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1;
  width: 22px;
  height: 22px;
  border-radius: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.term-home .pb-icon-btn:hover {
  border-color: var(--gold);
  color: var(--ink);
}

.term-home .pb-prompt-copy {
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

.term-home .pb-prompt-stats {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  padding: 0.34rem 0.48rem;
  background: var(--surface-warm);
  border: 1px solid var(--border-soft);
  border-radius: 3px;
  text-align: center;
}

.term-home .pb-prompt-actions {
  display: flex;
}

.term-home .pb-start-btn {
  width: 100%;
  appearance: none;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #1a1208;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.48rem 0.7rem;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 140ms ease, transform 100ms ease;
}

.term-home .pb-start-btn:hover {
  background: var(--gold-bright);
}

.term-home .pb-start-btn:active {
  transform: translateY(1px);
}

.term-home .pb-keys {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.24rem 0.42rem;
  font-size: 0.63rem;
  color: var(--ink-subtle);
}

.term-home .pb-keys kbd {
  font-family: var(--font-mono);
  font-size: 0.59rem;
  padding: 0.05rem 0.24rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--pane-header);
  color: var(--ink-muted);
}

@media (prefers-reduced-motion: reduce) {
  .term-home .term-session,
  .term-home .pb-wing,
  .term-home .pb-led,
  .term-home .pb-start-btn {
    transition: none;
  }
}
