/* desktop.slopped.site (desktop skill). The brand's tokens (slopped-brand), plus the map's pink and orange. */
@font-face { font-family: "Archivo Black"; src: url(/fonts/archivo-black-latin.woff2) format("woff2"); font-weight: 400 1000; font-display: swap; }
@font-face { font-family: "Archivo Black Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Helvetica-Bold"), local("Roboto Bold"), local("Roboto-Bold"), local("Noto Sans Bold"), local("NotoSans-Bold"); size-adjust: 112%; }
:root {
  color-scheme: light;
  --paper: #f4f1e8;
  --ink: #171815;
  --acid: #e3ff59;
  --orange: #ffa53d;
  --pink: #ff8cc6;
  --muted: #6b6b62;
  --line: #d4d2c9;
  --display: "Archivo Black", "Arial Black", "Archivo Black Fallback", Arial, sans-serif;
  --bar: 56px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; overflow: hidden; }
body { background: var(--ink); color: var(--ink); font: 15px/1.45 Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; overscroll-behavior: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; }
:focus-visible { outline: 3px solid #728600; outline-offset: 3px; }
[hidden] { display: none !important; }
html:not(.can-install) [data-install] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 9000; padding: 10px 16px; border-radius: 30px; background: var(--ink); color: var(--paper); font-size: 14px; text-decoration: none; }
.skip:focus { top: 8px; }

/* ---------------------------------------------------------------- the masthead (slopped-brand) */
.masthead { display: flex; align-items: center; min-width: 0; }
.masthead .brand { display: block; flex: none; }
.masthead .brand img { width: auto; height: 24px; }
.site-name { display: inline-flex; align-items: center; min-height: 42px; margin-left: 12px; padding-left: 13px; background: linear-gradient(var(--line), var(--line)) left center / 1px 20px no-repeat; font-size: 16px; font-weight: 700; letter-spacing: -.3px; text-decoration: none; white-space: nowrap; }
.site-name:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- the desk and its wallpaper */
.desk { position: fixed; inset: 0 0 var(--bar) 0; overflow: hidden; }
.wall { position: absolute; inset: 0; background: var(--paper); }
.wall-layer { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transition: opacity .9s ease; }
.wall-layer.on { opacity: 1; }
.wall.paper { background: var(--paper) radial-gradient(circle, var(--line) 1px, transparent 1.5px) 0 0 / 22px 22px; }
.wall-label { position: absolute; right: 18px; bottom: 16px; z-index: 1; max-width: min(46vw, 420px); padding: 7px 14px 8px; border: 0; border-radius: 30px; background: var(--paper); font-size: 13px; text-align: left; line-height: 1.25; box-shadow: 0 1px 0 rgb(23 24 21 / .25); }
.wall-label b { font-weight: 700; }
.wall-label span { color: var(--muted); }
.wall-label:hover b { text-decoration: underline; text-underline-offset: 3px; }

.status { display: none; }

/* desktop icons: tiles cut from each site's own cover, a paper pill for the name (labels on pictures sit on paper) */
.icons-wrap { position: absolute; inset: 14px auto 14px 12px; }
.icons { display: grid; grid-auto-flow: column; grid-template-rows: repeat(auto-fill, 102px); grid-auto-columns: 92px; gap: 4px 6px; height: 100%; margin: 0; padding: 0; list-style: none; }
.icon { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 92px; height: 102px; padding: 6px 2px 0; border: 0; border-radius: 12px; background: none; text-align: center; touch-action: manipulation; }
.tile { position: relative; flex: none; width: 56px; height: 56px; overflow: hidden; border: 1px solid var(--ink); border-radius: 14px; background: var(--paper); transition: transform .14s var(--ease); }
.tile > img { width: 100%; height: 100%; object-fit: cover; }
.tile svg { display: block; width: 100%; height: 100%; }
.tile.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--ink); }
.tile.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.icon .name { max-width: 100%; padding: 2px 7px 3px; border-radius: 20px; background: var(--paper); font-size: 12px; font-weight: 700; line-height: 1.2; letter-spacing: -.1px; overflow-wrap: anywhere; }
.icon:hover .tile { transform: translateY(-3px); }
.icon:focus-visible { outline: 0; }
.icon:focus-visible .tile, .icon[aria-current="true"] .tile { outline: 3px solid var(--acid); outline-offset: 2px; }
.icon:focus-visible .name { background: var(--ink); color: var(--paper); }
.icon.binned { display: none; }
.bin-slot { position: absolute; right: 18px; bottom: 64px; z-index: 1; }

/* ---------------------------------------------------------------- windows: paper sheets; the one you hold drips */
.windows { position: absolute; inset: 0; pointer-events: none; }
.win { position: absolute; display: flex; flex-direction: column; min-width: 280px; min-height: 180px; border: 1px solid var(--ink); border-radius: 10px; background: var(--paper); pointer-events: auto; box-shadow: 0 22px 48px -26px rgb(23 24 21 / .7); animation: win-in .16s var(--ease); }
@keyframes win-in { from { opacity: 0; transform: translateY(8px) scale(.985); } }
.win.min { display: none; }
.win.max { inset: 0 !important; width: auto !important; height: auto !important; border-radius: 0; border-width: 0 0 1px; }
.win-bar { position: relative; display: flex; align-items: center; gap: 10px; height: 42px; flex: none; padding: 0 6px 0 10px; border-bottom: 1px solid var(--ink); border-radius: 9px 9px 0 0; background: var(--paper); cursor: grab; touch-action: none; user-select: none; }
.win.max .win-bar { border-radius: 0; }
.win.on .win-bar { background: var(--acid); }
.win-bar > img { width: 22px; height: 22px; flex: none; border: 1px solid var(--ink); border-radius: 6px; object-fit: cover; background: var(--paper); }
.win-bar > .glyph { width: 22px; height: 22px; flex: none; overflow: hidden; border: 1px solid var(--ink); border-radius: 6px; }
.win-bar > .glyph svg { width: 100%; height: 100%; display: block; }
.win-title { flex: 1; min-width: 0; margin: 0; overflow: hidden; font: 400 15px/1 var(--display); letter-spacing: -.4px; font-synthesis: none; white-space: nowrap; text-overflow: ellipsis; color: var(--muted); }
.win.on .win-title { color: var(--ink); }
.win-title:focus-visible { outline-offset: 2px; }
.win-ctl { display: flex; gap: 4px; flex: none; }
.win-ctl button, .win-ctl a { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid var(--ink); border-radius: 30px; background: var(--paper); text-decoration: none; }
.win-ctl button:hover, .win-ctl a:hover { background: var(--ink); color: var(--paper); }
.win-ctl svg { width: 14px; height: 14px; }
.back { display: none; }
/* the drip: two drops hanging off the held window's acid bar */
.drip { position: absolute; left: 18px; top: 100%; width: 96px; height: 30px; margin-top: -1px; pointer-events: none; opacity: 0; transform-origin: top; transform: scaleY(.2); transition: opacity .15s, transform .45s var(--ease); z-index: 2; }
.win.on .drip { opacity: 1; transform: none; }
.win.max .drip { display: none; }
.win-body { position: relative; flex: 1; min-height: 0; overflow: auto; border-radius: 0 0 9px 9px; container-type: inline-size; }
.win.max .win-body { border-radius: 0; }
.win-body > iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; border-radius: inherit; }
body.dragging iframe { pointer-events: none; }
body.dragging, body.dragging .win-bar { cursor: grabbing; }
.rz { position: absolute; z-index: 3; }
.rz-n, .rz-s { left: 10px; right: 10px; height: 8px; cursor: ns-resize; }
.rz-e, .rz-w { top: 10px; bottom: 10px; width: 8px; cursor: ew-resize; }
.rz-n { top: -4px; } .rz-s { bottom: -4px; } .rz-e { right: -4px; } .rz-w { left: -4px; }
.rz-ne, .rz-nw, .rz-se, .rz-sw { width: 16px; height: 16px; }
.rz-ne { top: -5px; right: -5px; cursor: nesw-resize; } .rz-sw { bottom: -5px; left: -5px; cursor: nesw-resize; }
.rz-nw { top: -5px; left: -5px; cursor: nwse-resize; } .rz-se { bottom: -5px; right: -5px; cursor: nwse-resize; }
.win.max .rz { display: none; }
.loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 14px; pointer-events: none; }

/* ---------------------------------------------------------------- inside windows: shared pieces */
.pad { padding: 18px 20px 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 32px; padding: 4px 13px; border: 1px solid var(--ink); border-radius: 30px; background: transparent; font-size: 13px; white-space: nowrap; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.chip:hover { background: var(--acid); color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 6px 16px; border: 1px solid var(--ink); border-radius: 30px; background: var(--paper); font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.btn.dark { background: var(--ink); color: var(--paper); }
.btn:hover { background: var(--acid); color: var(--ink); }
.toolbar { position: sticky; top: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
.toolbar .count { margin-left: auto; color: var(--muted); font-size: 13px; }
.shelf-title { margin: 22px 16px 10px; font: 400 20px/1 var(--display); letter-spacing: -.6px; font-synthesis: none; }
.shelf-title:first-child { margin-top: 16px; }
.empty { padding: 40px 24px; color: var(--muted); text-align: center; }

/* the Games folder */
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px 12px; padding: 0 16px; }
.game { display: flex; flex-direction: column; gap: 6px; padding: 0; border: 0; background: none; text-align: left; }
.game img { width: 100%; aspect-ratio: 11 / 10; height: auto; border-radius: 8px; object-fit: cover; background: var(--line); transition: transform .14s var(--ease); }
.game:hover img { transform: translateY(-3px); }
.game b { font-size: 14px; line-height: 1.2; }
.game span { margin-top: -4px; color: var(--muted); font-size: 12px; }
.games-end { height: 20px; }

/* the Fresh slop folder */
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 8px; padding: 14px 16px 20px; }
.art { position: relative; padding: 0; border: 0; border-radius: 7px; overflow: hidden; background: var(--line); aspect-ratio: 3 / 4; }
.art img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s var(--ease); }
.art:hover img { transform: scale(1.04); }
.art .wide-mark { position: absolute; left: 6px; top: 6px; padding: 2px 7px; border-radius: 20px; background: var(--paper); font-size: 10px; font-weight: 700; }

/* the viewer */
.viewer { display: grid; grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; height: 100%; }
.viewer .stage { position: relative; min-height: 160px; overflow: hidden; background: var(--ink); }
.viewer .stage img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; }
.viewer .about { padding: 14px 18px 18px; border-top: 1px solid var(--ink); }
.viewer h3 { margin: 0; font: 400 24px/1.05 var(--display); letter-spacing: -.8px; font-synthesis: none; }
.viewer .sub { margin: 6px 0 0; font-weight: 700; }
.viewer .desc { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.viewer .n { color: var(--muted); font-size: 12px; }
.viewer .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.viewer .step { position: absolute; top: 50%; width: 42px; height: 42px; margin-top: -21px; border: 1px solid var(--paper); border-radius: 30px; background: rgb(23 24 21 / .6); color: var(--paper); font-size: 20px; line-height: 1; }
.viewer .step:hover { background: var(--paper); color: var(--ink); }
.viewer .prev { left: 12px; } .viewer .next { right: 12px; }
@container (min-width: 700px) {
  .viewer { grid-template-columns: minmax(0, 1fr) 300px; grid-template-rows: 1fr; }
  .viewer .about { border-top: 0; border-left: 1px solid var(--ink); overflow: auto; }
}

/* Files: the knowledge graph as a filing cabinet */
.files { display: grid; grid-template-columns: 200px minmax(0, 1fr) 260px; grid-template-rows: auto minmax(0, 1fr); height: 100%; }
.files .toolbar { grid-column: 1 / -1; position: static; }
.files .crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; min-width: 0; font-size: 13px; }
.files .crumbs button { padding: 4px 6px; border: 0; border-radius: 6px; background: none; font-weight: 700; }
.files .crumbs button:hover { background: var(--acid); }
.files .crumbs span { color: var(--muted); }
.files input[type="search"] { flex: 1 1 180px; min-width: 0; max-width: 300px; min-height: 34px; padding: 4px 14px; border: 1px solid var(--ink); border-radius: 30px; background: #fff; font-size: 14px; margin-left: auto; }
.tree { overflow: auto; padding: 8px 6px 16px; border-right: 1px solid var(--line); font-size: 13px; }
.tree button { display: flex; justify-content: space-between; gap: 6px; width: 100%; padding: 5px 8px; border: 0; border-radius: 6px; background: none; text-align: left; }
.tree button small { color: var(--muted); }
.tree button:hover { background: rgb(23 24 21 / .06); }
.tree button[aria-current="true"] { background: var(--ink); color: var(--paper); }
.tree button[aria-current="true"] small { color: var(--line); }
.tree .sub button { padding-left: 22px; }
.list { overflow: auto; }
.row { display: grid; grid-template-columns: 22px minmax(0, 1fr) 110px 110px; align-items: center; gap: 8px; width: 100%; min-height: 34px; padding: 4px 14px; border: 0; border-bottom: 1px solid rgb(212 210 201 / .6); background: none; text-align: left; font-size: 13px; }
.row:hover { background: rgb(23 24 21 / .05); }
.row[aria-selected="true"] { background: var(--acid); }
.row .nm { overflow: hidden; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
.row .k, .row .w { overflow: hidden; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.row svg { width: 18px; height: 18px; }
.row.head { position: sticky; top: 0; z-index: 1; min-height: 28px; background: var(--paper); color: var(--muted); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; cursor: default; }
.row.head:hover { background: var(--paper); }
.detail { overflow: auto; padding: 16px 16px 22px; border-left: 1px solid var(--line); font-size: 13px; }
.detail h3 { margin: 0; font: 400 19px/1.1 var(--display); letter-spacing: -.5px; font-synthesis: none; overflow-wrap: anywhere; }
.detail .meta { margin: 6px 0 0; color: var(--muted); }
.detail .url { margin: 8px 0 0; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.detail .acts { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 4px; }
.detail h4 { margin: 16px 0 4px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.detail ul { margin: 0; padding: 0; list-style: none; }
.detail li button { display: block; width: 100%; padding: 4px 0; border: 0; background: none; text-align: left; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; overflow-wrap: anywhere; }
.detail li button:hover { text-decoration-color: var(--ink); }
.detail .more { color: var(--muted); }
@container (max-width: 820px) {
  .files { grid-template-columns: 180px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; }
  .detail { grid-column: 1 / -1; max-height: 42%; border-left: 0; border-top: 1px solid var(--ink); }
  .row { grid-template-columns: 22px minmax(0, 1fr) 96px; }
  .row .w { display: none; }
}
@container (max-width: 540px) {
  .files { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr) auto; }
  .tree { display: flex; gap: 4px; overflow-x: auto; padding: 8px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .tree button { flex: none; width: auto; border: 1px solid var(--ink); border-radius: 30px; white-space: nowrap; }
  .tree .sub button { padding-left: 8px; }
  .tree .sub { display: contents; }
  .row { grid-template-columns: 22px minmax(0, 1fr) 84px; padding: 4px 12px; }
  .files input[type="search"] { max-width: none; }
}

/* the Read me */
.note { max-width: 560px; padding: 34px 28px 26px; }
.note .lead { margin: 0 0 14px; font: 400 34px/1 var(--display); letter-spacing: -1.4px; font-synthesis: none; }
.note p { margin: 0 0 12px; font-size: 15.5px; }
.note .sig { margin-top: 18px; font-weight: 700; }
.note .small { color: var(--muted); font-size: 13px; }

/* the Wallpaper window */
.walls-now { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: start; padding: 16px; border-bottom: 1px solid var(--line); }
.walls-now img, .walls-now .paper-swatch { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 1px solid var(--ink); border-radius: 6px; object-fit: cover; }
.walls-now .paper-swatch { background: var(--paper) radial-gradient(circle, var(--line) 1px, transparent 1.5px) 0 0 / 12px 12px; }
.walls-now h3 { margin: 0; font: 400 20px/1.1 var(--display); letter-spacing: -.6px; font-synthesis: none; }
.walls-now p { margin: 4px 0 10px; color: var(--muted); font-size: 13px; }
.walls-now fieldset { margin: 0 0 10px; padding: 0; border: 0; }
.walls-now legend { padding: 0; margin-bottom: 6px; font-size: 13px; font-weight: 700; }
.wall-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; padding: 14px 16px 20px; }
.wall-pick { position: relative; padding: 0; border: 1px solid transparent; border-radius: 7px; background: none; text-align: left; }
.wall-pick img { width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: 6px; background: var(--line); }
.wall-pick span { display: block; padding: 4px 2px 0; overflow: hidden; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.wall-pick[aria-pressed="true"] img { outline: 3px solid var(--ink); outline-offset: 2px; }
.wall-pick[aria-pressed="true"] span { font-weight: 700; }
@container (max-width: 520px) { .walls-now { grid-template-columns: 1fr; } }

/* the Bin */
.bin-list { margin: 0; padding: 8px 0; list-style: none; }
.bin-list li { display: flex; align-items: center; gap: 12px; padding: 8px 16px; border-bottom: 1px solid var(--line); }
.bin-list .tile { width: 40px; height: 40px; border-radius: 10px; }
.bin-list b { flex: 1; }

/* a tab-only site's card, and anything else that has to say "not in here" */
.away { display: grid; place-items: center; height: 100%; padding: 24px; text-align: center; }
.away h3 { margin: 0 0 8px; font: 400 26px/1.05 var(--display); letter-spacing: -.8px; font-synthesis: none; }
.away p { max-width: 380px; margin: 0 auto 16px; color: var(--muted); }

/* ---------------------------------------------------------------- the bar along the bottom */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5000; display: flex; align-items: center; gap: 10px; height: var(--bar); padding: 0 10px; border-top: 1px solid var(--ink); background: var(--paper); }
.start-button { display: grid; place-items: center; width: 42px; height: 42px; flex: none; padding: 0; border: 1px solid var(--ink); border-radius: 30px; background: var(--acid); }
.start-button img { width: 20px; height: auto; transition: transform .2s var(--ease); }
.start-button:hover img, .start-button[aria-expanded="true"] img { transform: translateY(2px) scaleY(1.08); }
.start-button[aria-expanded="true"] { background: var(--ink); }
.start-button[aria-expanded="true"] img { filter: invert(1); }
.tasks { display: flex; gap: 6px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.task { display: inline-flex; align-items: center; gap: 8px; flex: 0 1 200px; min-width: 64px; height: 38px; padding: 0 12px 0 6px; border: 1px solid var(--ink); border-radius: 30px; background: var(--paper); font-size: 13px; font-weight: 700; }
.task img, .task .glyph { width: 26px; height: 26px; flex: none; border-radius: 20px; object-fit: cover; overflow: hidden; border: 1px solid var(--ink); }
.task .glyph svg { width: 100%; height: 100%; display: block; }
.task span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.task[aria-pressed="true"] { background: var(--acid); }
.task.min { border-style: dashed; color: var(--muted); }
.tray { display: flex; align-items: center; gap: 6px; flex: none; }
.tray-button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--ink); border-radius: 30px; background: transparent; }
.tray-button:hover { background: var(--acid); }
#sound .off { display: none; }
#sound[aria-pressed="false"] .on { display: none; }
#sound[aria-pressed="false"] .off { display: inline; }
.clock { min-width: 52px; padding: 0 4px 0 6px; font: 400 15px/1 var(--display); letter-spacing: -.3px; font-synthesis: none; text-align: right; font-variant-numeric: tabular-nums; }

/* the start menu */
.start { position: fixed; left: 10px; bottom: calc(var(--bar) + 10px); z-index: 6000; display: flex; flex-direction: column; width: min(400px, calc(100vw - 20px)); max-height: min(640px, calc(100vh - var(--bar) - 20px)); border: 1px solid var(--ink); border-radius: 12px; background: var(--paper); box-shadow: 0 24px 50px -24px rgb(23 24 21 / .7); animation: start-in .16s var(--ease); }
@keyframes start-in { from { opacity: 0; transform: translateY(10px); } }
.start-head { padding: 8px 16px 4px; }
.find { margin: 6px 14px 8px; min-height: 40px; padding: 6px 16px; border: 1px solid var(--ink); border-radius: 30px; background: #fff; font-size: 15px; }
.start-list { flex: 1; min-height: 0; overflow: auto; padding: 0 6px 6px; }
.start-list h3 { margin: 12px 10px 4px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.start-item { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; padding: 6px 10px; border: 0; border-radius: 9px; background: none; text-align: left; }
.start-item:hover, .start-item:focus-visible { background: var(--acid); outline: 0; }
.start-item .tile { width: 36px; height: 36px; border-radius: 10px; }
.start-item b { display: block; font-size: 14px; line-height: 1.2; }
.start-item small { display: block; overflow: hidden; color: var(--muted); font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.start-item .go { color: var(--muted); font-size: 13px; }
.start-foot { display: flex; gap: 6px; padding: 10px 14px 12px; border-top: 1px solid var(--line); }
.start-foot button { min-height: 34px; padding: 4px 12px; border: 1px solid var(--ink); border-radius: 30px; background: none; font-size: 13px; }
.start-foot button:hover { background: var(--ink); color: var(--paper); }

/* the right-click menu */
.menu { position: fixed; z-index: 7000; min-width: 200px; padding: 5px; border: 1px solid var(--ink); border-radius: 10px; background: var(--paper); box-shadow: 0 18px 36px -20px rgb(23 24 21 / .7); }
.menu button { display: block; width: 100%; padding: 8px 12px; border: 0; border-radius: 6px; background: none; text-align: left; font-size: 14px; }
.menu button:hover, .menu button:focus-visible { background: var(--acid); outline: 0; }
.menu hr { margin: 4px 6px; border: 0; border-top: 1px solid var(--line); }

.toast { position: fixed; left: 50%; bottom: calc(var(--bar) + 18px); z-index: 8000; max-width: min(460px, calc(100vw - 32px)); padding: 10px 18px; border-radius: 30px; background: var(--ink); color: var(--paper); font-size: 14px; opacity: 0; transform: translate(-50%, 8px); transition: opacity .2s, transform .2s var(--ease); pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.plain { position: absolute; inset: 40px; padding: 30px; border: 1px solid var(--ink); border-radius: 10px; background: var(--paper); }

/* ---------------------------------------------------------------- phones: a home screen, apps full screen */
html.phone { --bar: 0px; }
html.phone .bar { display: none; }
html.phone .status { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: max(10px, env(safe-area-inset-top)) 16px 10px; }
html.phone .status .masthead { padding: 0 14px 0 12px; border-radius: 30px; background: var(--paper); }
html.phone .status .masthead .brand img { height: 22px; }
html.phone .status .site-name { min-height: 40px; font-size: 15px; margin-left: 10px; padding-left: 11px; }
html.phone .status .clock { min-width: 0; padding: 11px 14px; border-radius: 30px; background: var(--paper); }
html.phone .icons-wrap { inset: 76px 0 auto 0; bottom: 0; overflow-y: auto; padding: 4px 16px 96px; }
html.phone .icons { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; gap: 14px 6px; height: auto; }
html.phone .icon { width: 100%; height: auto; padding: 4px 0; gap: 6px; }
html.phone .tile { width: 60px; height: 60px; border-radius: 16px; }
html.phone .icon .name { font-size: 11.5px; padding: 2px 6px 3px; }
html.phone .wall-label { left: 16px; right: auto; bottom: max(16px, env(safe-area-inset-bottom)); max-width: calc(100vw - 32px); z-index: 2; }
html.phone .win { inset: 0 !important; width: auto !important; height: auto !important; min-width: 0; border: 0; border-radius: 0; box-shadow: none; animation: app-in .2s var(--ease); }
@keyframes app-in { from { transform: translateX(24px); opacity: 0; } }
html.phone .win:not(.top) { visibility: hidden; }
html.phone .win-bar { height: calc(56px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 8px 0; border-radius: 0; background: var(--acid); cursor: default; }
html.phone .win-bar > img, html.phone .win-bar > .glyph, html.phone .drip, html.phone .rz, html.phone [data-act="min"], html.phone [data-act="max"] { display: none; }
html.phone .back { display: grid; place-items: center; width: 42px; height: 42px; flex: none; padding: 0; border: 1px solid var(--ink); border-radius: 30px; background: var(--paper); }
html.phone .back svg { width: 18px; height: 18px; }
html.phone .win-title { font-size: 17px; }
html.phone .win-ctl button, html.phone .win-ctl a { width: 42px; height: 42px; }
html.phone .win-body { border-radius: 0; }
html.phone .start, html.phone .menu { left: 8px !important; right: 8px; width: auto; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
