/* ══ ALLIANCE — Warehouse Layout Planner UI (on top of world.css) ══ */
.pl {
  --pl-red: #9D1D20;
  --pl-red-hi: #b82428;
  --pl-ink: #201D1E;
  --pl-panel: rgba(32, 29, 30, 0.92);
  --pl-line: rgba(255, 255, 255, 0.12);
  --pl-mute: rgba(255, 255, 255, 0.62);
  --pl-radius: 12px;
  font-family: 'DM Sans', system-ui, sans-serif;
  color: #fff;
}
:where(.pl) button, :where(.pl) input, :where(.pl) select { font: inherit; color: inherit; }
:where(.pl) button { cursor: pointer; }

/* ── buttons */
.pl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 14px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--pl-line);
  font-family: 'Oswald', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  transition: background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.pl-btn:hover { background: rgba(255, 255, 255, 0.16); }
.pl-btn--primary { background: var(--pl-red); border-color: var(--pl-red); }
.pl-btn--primary:hover { background: var(--pl-red-hi); }
.pl-btn--ghost { background: transparent; }
.pl-btn--block { width: 100%; margin-top: 10px; }
.pl-btn--big { min-height: 52px; font-size: 17px; width: 100%; margin-top: 8px; }
.pl-btn:disabled { opacity: 0.5; cursor: default; }
.pl-icon {
  width: 40px; height: 40px; border-radius: 8px; display: inline-grid; place-items: center;
  background: rgba(255, 255, 255, 0.08); border: 1px solid var(--pl-line);
}
.pl-icon:hover { background: rgba(255, 255, 255, 0.16); }
.pl-icon:disabled { opacity: 0.35; cursor: default; }

/* ── overlays (setup + modal) */
.pl-overlay {
  position: absolute; inset: 0; z-index: 40;
  display: flex; align-items: flex-start; justify-content: center;
  overflow-y: auto; padding: 48px 16px;
  background: rgba(20, 18, 19, 0.62); backdrop-filter: blur(3px);
}
.pl-overlay--setup {
  background-color: #1b1819;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px, 24px 24px, 120px 120px, 120px 120px;
  backdrop-filter: none;
}
.pl-sheet {
  width: min(720px, 100%); margin: auto 0;
  background: var(--pl-ink); border: 1px solid var(--pl-line); border-radius: 16px;
  padding: 32px 36px 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.pl-sheet--sm { width: min(520px, 100%); padding: 26px 26px 22px; }
.pl-back { display: inline-flex; gap: 8px; align-items: center; color: var(--pl-mute); text-decoration: none; font-size: 14px; }
.pl-back:hover { color: #fff; }
.pl-logo { display: block; height: 44px; width: auto; margin: 22px 0 18px; }
.pl-h1 { font-family: 'Oswald', sans-serif; font-size: 40px; line-height: 1.05; font-weight: 700; text-transform: uppercase; margin: 0 0 10px; }
.pl-h2 { font-family: 'Oswald', sans-serif; font-size: 20px; font-weight: 600; text-transform: uppercase; margin: 28px 0 10px; }
.pl-h3 { font-family: 'Oswald', sans-serif; font-size: 16px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; margin: 18px 0 10px; }
.pl-lede { color: rgba(255, 255, 255, 0.78); font-size: 16px; line-height: 1.55; margin: 0 0 22px; max-width: 56ch; }
.pl-fine, .pl-note { color: var(--pl-mute); font-size: 13px; line-height: 1.5; margin: 10px 0 0; }
.pl-note { margin: 0 0 12px; }
.pl-error { color: #ffb4b0; background: rgba(157, 29, 32, 0.25); border: 1px solid rgba(157, 29, 32, 0.6); border-radius: 8px; padding: 10px 12px; font-size: 14px; }
.pl fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.pl legend { font-family: 'Oswald', sans-serif; font-size: 15px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--pl-mute); margin-bottom: 12px; padding: 0; }
.pl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.pl-grid--3 { grid-template-columns: repeat(3, 1fr); }
.pl-grid label, .pl-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; position: relative; }
.pl-unit { position: absolute; right: 12px; bottom: 12px; color: var(--pl-mute); font-size: 14px; pointer-events: none; }
.pl input, .pl select {
  height: 46px; padding: 0 12px; border-radius: 8px; width: 100%;
  background: #2a2627; border: 1px solid rgba(255, 255, 255, 0.16); font-size: 16px;
}
.pl select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #bbb 50%), linear-gradient(135deg, #bbb 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.pl input:focus, .pl select:focus { outline: none; border-color: #d24a4e; box-shadow: 0 0 0 3px rgba(157, 29, 32, 0.35); }
.pl input[aria-invalid="true"] { border-color: #e2554f; }
.pl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pl-list button {
  width: 100%; text-align: left; display: flex; justify-content: space-between; gap: 12px; align-items: center;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--pl-line); border-radius: 10px; padding: 12px 14px;
}
.pl-list button:hover { background: rgba(255, 255, 255, 0.1); }
.pl-list small { color: var(--pl-mute); }

/* ── planner chrome */
#pl-ui { position: absolute; inset: 0; z-index: 20; pointer-events: none; }
#pl-ui > * { pointer-events: auto; }
.pl-top {
  position: absolute; top: 14px; left: 14px; right: 14px;
  display: flex; align-items: center; gap: 12px;
}
.pl-chip {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 8px;
  background: var(--pl-panel); border: 1px solid var(--pl-line); color: #fff; text-decoration: none;
  font-family: 'Oswald', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
.pl-chip:hover { background: var(--pl-red); }
.pl-title {
  display: flex; flex-direction: column; justify-content: center; min-width: 0;
  background: var(--pl-panel); border: 1px solid var(--pl-line); border-radius: 8px; padding: 4px 14px; height: 40px;
}
.pl-title strong { font-family: 'Oswald', sans-serif; font-size: 15px; font-weight: 600; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-title span { color: var(--pl-mute); font-size: 12px; line-height: 1.2; white-space: nowrap; }
.pl-actions { margin-left: auto; display: flex; gap: 8px; }
.pl-actions .pl-btn, .pl-actions .pl-icon { background-color: var(--pl-panel); }
.pl-actions .pl-btn--primary { background: var(--pl-red); }

.pl-views { position: absolute; top: 68px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.pl-seg { display: inline-flex; background: var(--pl-panel); border: 1px solid var(--pl-line); border-radius: 9px; padding: 3px; }
.pl-seg button {
  height: 34px; padding: 0 14px; border: 0; border-radius: 6px; background: transparent;
  font-family: 'Oswald', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: var(--pl-mute);
  display: inline-flex; align-items: center; gap: 8px;
}
.pl-seg button.on { background: #fff; color: var(--pl-ink); }
.pl-seg[hidden] { display: none; }

.pl-panel {
  position: absolute; top: 68px; left: 14px; bottom: 14px; width: 320px;
  background: var(--pl-panel); border: 1px solid var(--pl-line); border-radius: var(--pl-radius);
  display: flex; flex-direction: column; overflow: hidden;
}
.pl-grab { display: none; }
.pl-tabs { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--pl-line); flex: none; }
.pl-aisles { margin-top: 4px; }
.pl-aisles .pl-note { margin: 0 0 8px; }
.pl-tab #pl-aisle { height: 40px; font-size: 14.5px; }
.pl-tabs button {
  height: 44px; border: 0; background: transparent; color: var(--pl-mute);
  font-family: 'Oswald', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase;
  border-bottom: 2px solid transparent; padding: 0 2px;
}
.pl-tabs button.on { color: #fff; border-bottom-color: var(--pl-red); }
.pl-tab { padding: 14px 16px 18px; overflow-y: auto; flex: 1; }
.pl-tab .pl-field { margin-bottom: 12px; }
.pl-tab input, .pl-tab select { height: 40px; font-size: 15px; }
.pl-tab .pl-select-sm { height: 36px; }

.pl-types { display: grid; gap: 8px; }
.pl-type {
  display: grid; grid-template-columns: 34px 1fr; gap: 2px 10px; align-items: center; text-align: left;
  padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--pl-line);
}
.pl-type:hover { background: rgba(255, 255, 255, 0.11); border-color: rgba(255, 255, 255, 0.25); }
.pl-type i { grid-row: span 2; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: rgba(157, 29, 32, 0.9); font-size: 15px; }
.pl-type b { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: 0.02em; }
.pl-type span { color: var(--pl-mute); font-size: 12.5px; line-height: 1.35; }

/* selected-row editor */
.pl-selcard { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 12px; padding: 14px; }
.pl-selcard header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.pl-selcard h4 { font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: 600; margin: 0; }
.pl-selcard .pl-pos { color: var(--pl-mute); font-size: 13px; }
.pl-selcard .pl-warn { color: #ffb4b0; font-size: 13px; margin: 6px 0 0; }
.pl-steps { display: grid; gap: 8px; margin: 12px 0; }
.pl-step { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; }
.pl-step > span { font-size: 14px; }
.pl-step small { color: var(--pl-mute); margin-left: 4px; }
.pl-stepper { display: inline-flex; align-items: center; background: #2a2627; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 8px; }
.pl-stepper button { width: 36px; height: 34px; border: 0; background: transparent; font-size: 16px; }
.pl-stepper button:hover { background: rgba(255, 255, 255, 0.1); }
.pl-stepper output { min-width: 34px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.pl .pl-stepper input {
  width: 52px; height: 34px; padding: 0; border: 0; border-radius: 0; background: transparent;
  text-align: center; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; -moz-appearance: textfield;
}
.pl .pl-stepper input::-webkit-outer-spin-button, .pl .pl-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pl .pl-stepper input:focus { box-shadow: inset 0 -2px 0 #d24a4e; }
.pl-tipline { color: var(--pl-mute); font-size: 12.5px; line-height: 1.45; margin: 10px 0 0; }
.pl-grid--tight { gap: 10px; }
.pl-grid--tight .pl-field { margin-bottom: 12px; }
#pl-tip {
  position: absolute; z-index: 45; pointer-events: none;
  background: var(--pl-ink); color: #fff; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 8px;
  padding: 6px 10px; font-family: 'Oswald', sans-serif; font-size: 15px; font-weight: 600; letter-spacing: 0.02em;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35); white-space: nowrap;
}
.pl-toggle { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
.pl-toggle input { width: 20px; height: 20px; accent-color: var(--pl-red); }
.pl-rowbtns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 12px; }
.pl-rowbtns .pl-btn { padding: 0 6px; font-size: 13px; }
.pl-empty { color: var(--pl-mute); font-size: 14px; line-height: 1.5; background: rgba(255, 255, 255, 0.04); border: 1px dashed rgba(255, 255, 255, 0.18); border-radius: 12px; padding: 12px 14px; margin: 0; }

.pl-dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0 0 6px; font-size: 14px; }
.pl-dl dt { color: var(--pl-mute); }
.pl-dl dd { margin: 0; font-weight: 600; text-align: right; }

/* stats */
.pl-stats {
  position: absolute; right: 14px; bottom: 14px; width: 290px;
  background: var(--pl-panel); border: 1px solid var(--pl-line); border-radius: var(--pl-radius); padding: 16px 18px;
}
.pl-big { display: flex; align-items: baseline; gap: 10px; }
.pl-big b { font-family: 'Oswald', sans-serif; font-size: 40px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.pl-big span { color: var(--pl-mute); font-size: 14px; line-height: 1.2; }
.pl-stats ul { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--pl-line); display: grid; gap: 6px; font-size: 14px; }
.pl-stats li { display: flex; justify-content: space-between; gap: 12px; }
.pl-stats li span { color: var(--pl-mute); }
.pl-stats li b { font-weight: 600; font-variant-numeric: tabular-nums; }
.pl-stats .pl-warn { color: #ffb4b0; font-size: 13px; margin: 10px 0 0; }
.pl-stats .pl-sub { margin: 4px 0 0; color: var(--pl-mute); font-size: 13px; }

.pl-hint {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  background: rgba(20, 18, 19, 0.7); border-radius: 8px; padding: 8px 14px;
  color: rgba(255, 255, 255, 0.82); font-size: 13px; white-space: nowrap; pointer-events: none;
}
.pl-hint:empty { display: none; }

#pl-toast {
  position: absolute; left: 50%; top: 120px; transform: translateX(-50%); z-index: 50;
  background: var(--pl-red); color: #fff; border-radius: 8px; padding: 10px 18px;
  font-family: 'Oswald', sans-serif; font-size: 15px; font-weight: 600; letter-spacing: 0.03em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); max-width: calc(100% - 32px); text-align: center;
}

/* modal contents */
.pl-modal-h { font-family: 'Oswald', sans-serif; font-size: 26px; font-weight: 700; text-transform: uppercase; margin: 0 0 6px; }
.pl-modal-p { color: rgba(255, 255, 255, 0.75); font-size: 15px; line-height: 1.5; margin: 0 0 16px; }
.pl-modal-row { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
.pl-linkbox { display: flex; gap: 8px; }
.pl-linkbox input { font-size: 14px; }
.pl textarea { width: 100%; min-height: 84px; padding: 10px 12px; border-radius: 8px; background: #2a2627; border: 1px solid rgba(255, 255, 255, 0.16); font: inherit; color: #fff; resize: vertical; }
.pl-summary { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--pl-line); border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.6; margin-bottom: 14px; }
.pl-done { text-align: center; padding: 10px 0; }
.pl-done i { font-size: 44px; color: #3ccf7a; display: block; margin-bottom: 12px; }

/* walk mode: tools step aside */
.pl.walking .pl-panel, .pl.walking .pl-stats { display: none; }

/* ── phones */
@media (max-width: 760px) {
  .pl-overlay { padding: 16px; }
  .pl-sheet { padding: 22px 18px 20px; }
  .pl-h1 { font-size: 30px; }
  .pl-lede { font-size: 15px; }
  .pl-grid, .pl-grid--3 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pl-top { top: 10px; left: 10px; right: 10px; gap: 6px; }
  .pl-chip span, .pl-actions .pl-btn span { display: none; }
  .pl-chip { padding: 0 12px; }
  .pl-title { display: none; }
  .pl-actions { gap: 6px; }
  .pl-actions .pl-btn { padding: 0 11px; }
  .pl-actions .pl-btn--primary span { display: inline; }
  .pl-views { top: 58px; }
  .pl-seg button { padding: 0 11px; font-size: 13px; }

  .pl-stats {
    top: 102px; bottom: auto; left: 10px; right: 10px; width: auto; padding: 8px 12px;
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
  }
  .pl-big b { font-size: 24px; }
  .pl-big span { font-size: 12px; }
  .pl-stats ul { display: none; }
  .pl-stats .pl-sub { margin: 0; text-align: right; font-size: 12px; }
  .pl-stats .pl-warn { margin: 0; font-size: 12px; text-align: right; }

  .pl-panel {
    top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 52vh;
    border-radius: 16px 16px 0 0; border-bottom: 0;
    transition: max-height 0.25s ease;
  }
  .pl-panel.collapsed { max-height: 64px; }
  .pl-panel.collapsed .pl-tab { display: none; }
  .pl-grab { display: block; flex: none; height: 16px; border: 0; background: transparent; padding: 0; }
  .pl-grab span { display: block; width: 44px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.35); margin: 7px auto 0; }
  .pl-tabs button { height: 44px; }
  .pl-hint { display: none; }
  #pl-toast { top: 150px; }
}
@media (max-width: 380px) {
  .pl-actions .pl-icon { width: 36px; }
  .pl-actions .pl-btn { padding: 0 9px; }
}

/* zoom in / out (planner views bar, forklift stage bar) */
.pl-zoom { display: inline-flex; gap: 2px; background: var(--pl-panel); border: 1px solid var(--pl-line); border-radius: 9px; padding: 3px; }
.pl-zoom button { width: 34px; height: 34px; border: 0; border-radius: 6px; background: transparent; color: #fff; display: inline-grid; place-items: center; font-size: 14px; }
.pl-zoom button:hover { background: rgba(255, 255, 255, 0.14); }
.pl.walking .pl-zoom { display: none; }
@media (max-width: 760px) {
  /* no room in the bar: a vertical pair on the right edge, under the stats */
  .pl-views .pl-zoom { position: absolute; top: calc(100% + 72px); right: calc(10px - (100vw - 100%) / 2); flex-direction: column; } /* lines up with the stats bar's right edge */
}

/* boxes on / off (views bar) */
#pl-loads:not(.on) { color: var(--pl-mute); }

/* trace your current layout */
.pl-trace { margin-top: 20px; border-top: 1px solid var(--pl-line); }
.pl-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.pl .pl-field input[type="range"] { height: 28px; padding: 0; background: none; border: 0; box-shadow: none; accent-color: var(--pl-red); }
.pl-check { display: flex; align-items: center; gap: 10px; font-size: 14px; margin: 14px 0 4px; cursor: pointer; }
.pl .pl-check input { width: 18px; height: 18px; padding: 0; accent-color: var(--pl-red); }
.pl-sheet--wide { width: min(980px, 100%); }
.pl-sheet--wide .pl-h2 { margin-top: 0; }
.pl-trace-stage { background: #fff; border-radius: 10px; overflow: hidden; margin: 4px 0 12px; display: grid; place-items: center; }
.pl-trace-stage canvas { display: block; max-width: 100%; max-height: 56vh; width: auto; height: auto; cursor: crosshair; touch-action: none; }
.pl-trace-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; color: var(--pl-mute); font-size: 14px; }
.pl-sheet--wide .pl-row2 { margin-top: 16px; }
@media (max-width: 640px) {
  #pl-loads span, #pl-scratch span { display: none; }
  .pl-trace-stage canvas { max-height: 46vh; }
}
/* number fields: no spinners over the unit labels */
.pl-grid input[type="number"] { -moz-appearance: textfield; }
.pl-grid input[type="number"]::-webkit-outer-spin-button, .pl-grid input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pl-grid input[name="SF"] { padding-right: 52px; }

/* trucks tab: group labels in the add list, the lights switch */
.pl-sublabel { margin: 6px 0 -2px; color: var(--pl-mute); font-size: 12.5px; }
.pl-types .pl-sublabel:first-child { margin-top: 0; }
.pl-lights { margin: 12px 0 4px; }
.pl-lights.on { background: rgba(255, 196, 64, 0.14); border-color: rgba(255, 196, 64, 0.5); color: #ffd36e; }

/* the layout's name renames in place */
.pl-namerow { display: flex; align-items: center; gap: 6px; min-width: 0; }
#pl-name { cursor: text; border-radius: 4px; }
#pl-name:hover { color: #fff; text-decoration: underline dotted rgba(255, 255, 255, 0.4); text-underline-offset: 3px; }
#pl-name[contenteditable="true"] { outline: 1px solid rgba(255, 255, 255, 0.45); padding: 0 4px; text-overflow: clip; text-decoration: none; }
.pl-rename { flex: none; border: 0; background: none; color: var(--pl-mute); padding: 0 2px; font-size: 11px; cursor: pointer; }
.pl-rename:hover { color: #fff; }
.pl-grid .pl-span { grid-column: 1 / -1; }
/* office stories: a small two-button switch */
.pl-seg--sm button { min-width: 42px; height: 32px; }
.pl-seg button[disabled] { opacity: 0.35; cursor: not-allowed; }

/* setup: a warehouse building or an outdoor yard */
.pl-site { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 16px; }
.pl-site button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 10px; border-radius: 10px;
  border: 1px solid var(--pl-line); background: rgba(255, 255, 255, 0.05); color: #fff; cursor: pointer;
  font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 14px; letter-spacing: 0.03em; text-transform: uppercase; }
.pl-site button:hover { background: rgba(255, 255, 255, 0.1); }
.pl-site button.on { background: rgba(157, 29, 32, 0.28); border-color: #d24a4e; box-shadow: inset 0 0 0 1px #d24a4e; }
.pl-grid .pl-cols[hidden] { display: none; }

/* walk mode: climb on a truck (the prompt is the button on a phone), fork buttons while driving */
#pl-prompt { position: absolute; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 30; pointer-events: auto;
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 12px; cursor: pointer;
  background: rgba(20, 18, 19, 0.88); border: 1px solid rgba(255, 255, 255, 0.18); color: #fff;
  font-family: 'Oswald', sans-serif; font-size: 15px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }
#pl-prompt:hover { background: rgba(157, 29, 32, 0.92); }
#pl-prompt .pl-key { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: #fff; color: #1d1a1b; font-size: 14px; }
#pl-prompt[hidden], #pl-forks[hidden] { display: none; }
#pl-forks { position: absolute; right: 16px; bottom: 150px; z-index: 30; pointer-events: auto; display: flex; flex-direction: column; gap: 10px; }
#pl-forks button { width: 84px; height: 56px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(20, 18, 19, 0.88); color: #fff;
  font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 14px; text-transform: uppercase; touch-action: none; }
@media (max-width: 760px) { #pl-prompt { bottom: 150px; } }
