﻿/* Wobble HQ v2: glass room. Rules in DESIGN.md. */
@import url("https://fonts.googleapis.com/css2?family=Mona+Sans:ital,wdth,wght@0,75..125,200..900;1,75..125,200..900&display=swap");

:root {
  /* Night only: matte black, smoked glass, silver light. Colour is reserved for warnings. */
  color-scheme: dark;
  --bg: #060607;
  --ink: #EDEDEF; --ink-2: rgba(237,237,239,.62); --ink-3: rgba(237,237,239,.38);
  --line: rgba(255,255,255,.07); --line-2: rgba(255,255,255,.13);
  --glass: rgba(255,255,255,.035); --glass-hi: rgba(255,255,255,.07); --glass-thick: rgba(14,14,16,.55);
  --rim: rgba(255,255,255,.26); --rim-soft: rgba(255,255,255,.05);
  --shadow: 0 1px 0 rgba(255,255,255,.07) inset, 0 24px 60px -24px rgba(0,0,0,.9);
  --good: #EDEDEF; --warn: #D9A441; --bad: #E5484D; --link: #EDEDEF;
  /* founders are told apart by tone, white to steel */
  --moiz: #FFFFFF; --haad: #D4D6DB; --ibrahim: #A9ADB5; --ali: #868B94; --other: #6B7079;
  --solid: #EDEDEF; --on-solid: #060607;
  --font: "Mona Sans", system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", sans-serif;
  --r-xl: 28px; --r-lg: 20px; --r-md: 14px; --r-sm: 10px;
  --spring: cubic-bezier(.2, .9, .25, 1);
  --dock: 84px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink);
  font: 400 15px/1.5 var(--font); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.hidden { display: none !important; }
.quiet { color: var(--ink-2); } .faint { color: var(--ink-3); } .small { font-size: 13px; }

/* ---------- the light field: each founder's colour, brighter when they updated recently ---------- */
.lightfield { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.lightfield i { position: absolute; width: 58vmax; height: 58vmax; border-radius: 50%; filter: blur(110px);
  opacity: calc(var(--a, .12) * .32); background: radial-gradient(circle, #fff 0%, transparent 60%);
  transition: opacity 1.2s ease; animation: drift 46s ease-in-out infinite alternate; }
.lightfield i:nth-child(1) { left: -18vmax; top: -22vmax; }
.lightfield i:nth-child(2) { right: -20vmax; top: -16vmax; animation-delay: -12s; }
.lightfield i:nth-child(3) { left: -14vmax; bottom: -26vmax; animation-delay: -24s; }
.lightfield i:nth-child(4) { right: -16vmax; bottom: -22vmax; animation-delay: -36s; }
@keyframes drift { to { transform: translate(5vmax, 4vmax) scale(1.08); } }

/* ---------- glass materials ---------- */
.glass { position: relative; background: var(--glass); border-radius: var(--r-lg);
  backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%);
  box-shadow: var(--shadow); border: 1px solid var(--line); }
.glass::before, .thick::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(150deg, var(--rim) 0%, var(--rim-soft) 28%, transparent 50%, var(--rim-soft) 78%, var(--rim) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.thick { position: relative; background: var(--glass-thick); border-radius: var(--r-xl);
  backdrop-filter: blur(34px) saturate(190%) brightness(1.04); -webkit-backdrop-filter: blur(34px) saturate(190%) brightness(1.04);
  box-shadow: var(--shadow), 0 30px 80px -30px rgba(0,0,0,.55); }
@media (prefers-reduced-transparency: reduce) {
  .glass, .thick { backdrop-filter: none; -webkit-backdrop-filter: none; background: color-mix(in srgb, var(--bg) 88%, var(--ink)); }
}

/* ---------- dock ---------- */
.dock { position: fixed; z-index: 30; left: 16px; top: 16px; bottom: 16px; width: var(--dock); display: flex; flex-direction: column;
  align-items: center; padding: 14px 8px; gap: 4px; }
.dock .mark { font: 800 15px var(--font); font-stretch: 112%; letter-spacing: -.03em; margin: 2px 0 14px; }
.dock .mark b { color: var(--ink-3); }
.dock a, .dock button.d { width: 68px; border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 9px 4px 7px; border-radius: 16px; color: var(--ink-2); font-size: 11px; font-weight: 550; cursor: pointer; text-decoration: none; position: relative;
  transition: background .2s, color .2s, transform .12s; }
.dock a:hover, .dock button.d:hover { color: var(--ink); background: var(--glass-hi); text-decoration: none; }
.dock a:active, .dock button.d:active { transform: scale(.94); }
.dock a[aria-current="page"] { color: var(--ink); background: var(--glass-hi); box-shadow: inset 0 0 0 1px var(--line-2); }
.dock svg { width: 22px; height: 22px; }
.dock .sp { flex: 1; }
.badge { position: absolute; top: 4px; right: 12px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--bad);
  color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.me { width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; background: #111114; color: var(--ink); font-weight: 700; font-size: 13px;
  box-shadow: inset 0 0 0 1px var(--line-2), 0 0 0 3px rgba(255,255,255,.04); margin-top: 6px; }

/* Content fills the space beside the dock with the same 16px gap on the right as the dock has on the left.
   On very wide screens it stops at 1640px and sits centred, so lines never get too long. */
main { position: relative; z-index: 1; margin-left: calc(var(--dock) + 32px); padding: 28px 16px 96px 0; max-width: 1640px; }
@media (min-width: 1820px) { main { margin-left: max(calc(var(--dock) + 32px), calc((100vw - 1640px) / 2)); } }

/* ---------- page head ---------- */
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
h1 { margin: 0; font-size: clamp(34px, 4.4vw, 54px); line-height: 1; font-weight: 720; font-stretch: 118%; letter-spacing: -.035em; }
.hello { font-size: 15px; color: var(--ink-2); margin-bottom: 8px; }
h2 { margin: 0 0 14px; font-size: 18px; font-weight: 650; font-stretch: 108%; letter-spacing: -.012em; display: flex; align-items: baseline; gap: 8px; }
h2 .n { font-weight: 450; color: var(--ink-3); font-size: 15px; }
.clocks { display: flex; gap: 6px; flex-wrap: wrap; }
.clock { padding: 6px 12px; border-radius: 999px; font-size: 13px; color: var(--ink-2); background: var(--glass); border: 1px solid var(--line); }
.clock b { color: var(--ink); font-weight: 600; }
.clock.night b { color: var(--ink-3); }
.cmdk-open { display: inline-flex; align-items: center; gap: 10px; min-width: 260px; padding: 10px 14px; border-radius: 999px; cursor: text;
  border: 1px solid var(--line-2); background: var(--glass); color: var(--ink-3); backdrop-filter: blur(20px); }
.cmdk-open kbd { margin-left: auto; font: 600 11px var(--font); padding: 2px 6px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--ink-2); }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.s3 { grid-column: span 3; } .s4 { grid-column: span 4; } .s5 { grid-column: span 5; } .s6 { grid-column: span 6; }
.s7 { grid-column: span 7; } .s8 { grid-column: span 8; } .s12 { grid-column: span 12; }
.pad { padding: 20px 22px; }
.tile-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 12px; }
.tile-head h2 { margin: 0; }

/* ---------- the room: four founders ---------- */
.person { padding: 18px 20px 16px; min-height: 196px; display: flex; flex-direction: column; overflow: hidden; }
.person::after { content: ""; position: absolute; inset: auto -30% -60% -30%; height: 90%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--who), transparent); opacity: calc(var(--a, .1) * .35); pointer-events: none; filter: blur(34px); }
.person .top { display: flex; align-items: center; gap: 8px; }
.person .nm { font-size: 15px; font-weight: 700; font-stretch: 112%; color: var(--who); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.dot.on { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.14), 0 0 10px rgba(255,255,255,.5); }
.person .ago { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.person .st { margin: 14px 0 auto; font-size: 21px; line-height: 1.25; font-weight: 560; letter-spacing: -.015em; position: relative; z-index: 1; }
.person .st.stale { color: var(--ink-3); font-weight: 450; }
.person .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; font-size: 13px; color: var(--ink-2); position: relative; z-index: 1; gap: 8px; }
.person textarea { margin-top: 12px; flex: 1; min-height: 64px; font-size: 19px; font-weight: 560; line-height: 1.25; resize: none; border: 0; padding: 0;
  background: transparent; outline: none; position: relative; z-index: 1; }
.person textarea::placeholder { color: var(--ink-3); }

/* ---------- lists ---------- */
.list { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 12px; padding: 11px 12px; margin: 0 -12px; border-radius: var(--r-md); border: 0; background: none;
  text-align: left; color: inherit; width: calc(100% + 24px); cursor: pointer; transition: background .15s; min-height: 50px; }
.row:hover { background: var(--glass-hi); }
.row:active { transform: scale(.995); }
.row.static { cursor: default; } .row.static:hover { background: none; }
.row .grow { flex: 1; min-width: 0; }
.row .t { font-weight: 560; } .row .m { font-size: 13px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 2px 10px; }
.row .e { margin-left: auto; text-align: right; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.row.unread .t::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--link); margin-right: 8px; vertical-align: 2px; }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 11px; font-weight: 750; letter-spacing: .02em;
  color: var(--who, var(--other)); background: color-mix(in srgb, var(--who, var(--other)) 12%, #0B0B0D); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--who, var(--other)) 28%, transparent); }
.chk { width: 20px; height: 20px; border-radius: 50%; flex: none; border: 1.5px solid var(--ink-3); display: grid; place-items: center;
  transition: border-color .15s, background .15s, transform .12s; cursor: pointer; }
.chk:hover { border-color: var(--ink); }
.chk:active { transform: scale(.88); }
.chk.on { background: var(--ink); border-color: var(--ink); }
.chk.on::after { content: ""; width: 9px; height: 5px; border: 2px solid var(--bg); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.sep { height: 1px; background: var(--line); margin: 6px 0; }
.empty { color: var(--ink-2); padding: 10px 0; }

.ok { color: var(--good); } .warn { color: var(--warn); } .bad { color: var(--bad); }
.pill { display: inline-block; font-size: 12px; font-weight: 650; padding: 2px 8px; border-radius: 999px; }
.pill.bad { background: color-mix(in srgb, var(--bad) 16%, transparent); }
.pill.warn { background: color-mix(in srgb, var(--warn) 16%, transparent); }
.pill.ok { background: color-mix(in srgb, var(--good) 16%, transparent); }

/* ---------- numbers ---------- */
.hero-n { font-size: clamp(48px, 6vw, 76px); font-weight: 760; font-stretch: 120%; letter-spacing: -.045em; line-height: .95; }
.figs { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 12px; }
.fig .v { font-size: 26px; font-weight: 700; font-stretch: 112%; letter-spacing: -.02em; }
.fig .l { font-size: 12px; color: var(--ink-2); }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 72px; margin-top: 18px; }
.spark span { flex: 1; border-radius: 3px 3px 1px 1px; background: var(--line-2); position: relative; min-height: 2px; }
.spark span i { position: absolute; inset: auto 0 0 0; border-radius: inherit; background: var(--ink); }
.axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); margin-top: 6px; }
.meter { height: 6px; border-radius: 99px; background: var(--line-2); overflow: hidden; width: 110px; }
.meter i { display: block; height: 100%; background: var(--ink); border-radius: inherit; }
.meter.behind i { background: var(--warn); } .meter.far i { background: var(--bad); }

/* ---------- board (clients) ---------- */
.board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: start; }
.col { padding: 14px; min-height: 180px; }
.col h3 { margin: 0 0 10px; font-size: 14px; font-weight: 650; display: flex; justify-content: space-between; color: var(--ink-2); }
.card { display: block; width: 100%; text-align: left; border: 0; color: inherit; cursor: pointer; margin-bottom: 10px; padding: 14px; border-radius: var(--r-md);
  background: var(--glass-hi); box-shadow: inset 0 0 0 1px var(--line); transition: transform .15s var(--spring), box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line-2), 0 10px 24px -14px rgba(0,0,0,.5); }
.card .nm { font-weight: 650; display: flex; gap: 8px; align-items: center; }
.card .val { font-size: 20px; font-weight: 720; font-stretch: 112%; letter-spacing: -.02em; margin-top: 6px; }
.card .nx { font-size: 13px; color: var(--ink-2); margin-top: 6px; }

/* ---------- tables ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-weight: 550; font-size: 12px; color: var(--ink-3); padding: 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tbody tr { cursor: pointer; } .table tbody tr:hover td { background: var(--glass-hi); }
.table tr:last-child td { border-bottom: 0; }
.scroll { overflow-x: auto; }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--glass); color: var(--ink); font-weight: 600; cursor: pointer; white-space: nowrap;
  backdrop-filter: blur(14px); transition: transform .12s, background .2s; }
.btn:hover { background: var(--glass-hi); }
.btn:active { transform: scale(.96); }
.btn.solid { background: var(--solid); color: var(--on-solid); border-color: transparent; }
.btn.ghost { background: none; border-color: transparent; color: var(--ink-2); backdrop-filter: none; }
.btn.ghost:hover { color: var(--ink); background: var(--glass-hi); }
.btn.sm { min-height: 30px; padding: 0 12px; font-size: 13px; }
.btn.danger { color: var(--bad); }
input, select, textarea { background: var(--glass); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 8px 12px; min-height: 38px; }
select option { background: var(--bg); color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--link); outline-offset: -1px; }
textarea { width: 100%; min-height: 100px; resize: vertical; line-height: 1.5; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 6px 14px; border-radius: 999px; cursor: pointer; color: var(--ink-2); font-weight: 600; min-height: 32px; }
.seg button[aria-pressed="true"] { background: var(--solid); color: var(--on-solid); }
.bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.quick { display: flex; gap: 10px; align-items: center; padding: 8px 8px 8px 18px; margin-bottom: 22px; border-radius: 999px; }
.quick input { flex: 1; border: 0; background: none; font-size: 17px; outline: none; min-width: 0; padding: 6px 0; }
.quick .hint { font-size: 13px; color: var(--ink-3); white-space: nowrap; }

/* ---------- sheet + command bar ---------- */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(5,7,12,.38); animation: fade .25s ease-out both; }
.sheet { position: fixed; z-index: 41; top: 12px; right: 12px; bottom: 12px; width: min(560px, calc(100vw - 24px)); overflow-y: auto;
  padding: 26px 28px 40px; animation: in .42s var(--spring) both; }
.sheet.leaving { animation: out .24s cubic-bezier(.4,0,1,1) both; } .scrim.leaving { animation: fade .24s ease-in reverse both; }
@keyframes in { from { transform: translateX(calc(100% + 24px)); } }
@keyframes out { to { transform: translateX(calc(100% + 24px)); } }
@keyframes fade { from { opacity: 0; } }
.sheet h1 { font-size: 30px; font-stretch: 110%; }
/* Reading surfaces get a thicker material so text behind them never bleeds through. */
.sheet.thick { background: rgba(11,11,13,.93); }
.cmdk.thick { background: rgba(11,11,13,.84); }
.sheet .blk { margin-top: 26px; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.props { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 10px 14px; align-items: center; font-size: 14px; }
.props > :nth-child(odd) { color: var(--ink-2); }
.transcript { white-space: pre-wrap; font-size: 14px; line-height: 1.6; background: var(--glass); border-radius: var(--r-md); padding: 14px; max-height: 360px; overflow: auto; }
.update { padding: 10px 0; border-bottom: 1px solid var(--line); } .update:last-child { border-bottom: 0; }
.update .by { font-size: 12px; color: var(--ink-2); }

.cmdk { position: fixed; z-index: 51; left: 50%; top: 12vh; width: min(640px, calc(100vw - 24px)); transform: translateX(-50%);
  padding: 10px; animation: pop .32s var(--spring) both; }
@keyframes pop { from { transform: translateX(-50%) scale(.96); opacity: 0; } }
.cmdk input { width: 100%; border: 0; background: none; font-size: 21px; font-weight: 550; padding: 14px 14px 12px; outline: none; }
.cmdk .preview { margin: 0 6px 6px; padding: 10px 12px; border-radius: var(--r-md); background: var(--glass-hi); font-size: 14px; }
.cmdk .opts { max-height: 46vh; overflow-y: auto; padding: 4px; }
.cmdk .opt { display: flex; gap: 12px; align-items: center; width: 100%; border: 0; background: none; text-align: left; padding: 10px 12px; border-radius: var(--r-md); cursor: pointer; color: var(--ink); }
.cmdk .opt[aria-selected="true"] { background: var(--glass-hi); box-shadow: inset 0 0 0 1px var(--line-2); }
.cmdk .opt .k { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.cmdk .help { padding: 10px 14px 6px; font-size: 12px; color: var(--ink-3); border-top: 1px solid var(--line); margin-top: 6px; }
.menu { position: fixed; z-index: 45; left: calc(var(--dock) + 26px); bottom: 20px; width: 220px; padding: 8px; animation: pop2 .25s var(--spring) both; }
@keyframes pop2 { from { transform: scale(.95); opacity: 0; transform-origin: bottom left; } }
.menu button, .menu a { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: var(--r-sm); cursor: pointer; color: var(--ink); }
.menu button:hover, .menu a:hover { background: var(--glass-hi); text-decoration: none; }

/* ---------- first-login tour ---------- */
.tour { position: fixed; inset: 0; z-index: 70; }
.tour-ring { position: fixed; border-radius: 18px; pointer-events: none; box-shadow: 0 0 0 9999px rgba(3,3,4,.72), 0 0 0 1.5px rgba(255,255,255,.85), 0 0 28px 4px rgba(255,255,255,.18);
  transition: left .45s var(--spring), top .45s var(--spring), width .45s var(--spring), height .45s var(--spring); }
.tour-ring.center { box-shadow: 0 0 0 9999px rgba(3,3,4,.72); }
.tour-card { position: fixed; padding: 22px 22px 16px; border-radius: 22px; background: rgba(14,14,16,.94); transition: left .45s var(--spring), top .45s var(--spring); }
.tour-count { font-size: 12px; color: var(--ink-3); margin-bottom: 6px; }
.tour-title { font-size: 22px; font-stretch: 112%; margin: 0 0 8px; display: block; }
.tour-body { margin: 0; color: var(--ink-2); line-height: 1.55; }
.tour-bar { display: flex; justify-content: space-between; gap: 8px; margin-top: 18px; }
.tour-dots { display: flex; gap: 5px; justify-content: center; margin-top: 14px; }
.tour-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.tour-dots i.on { background: var(--ink); width: 16px; border-radius: 3px; }
.tour-mail .tm-row { padding: 12px 0; border-top: 1px solid var(--line); }
.tour-mail .tm-when { font-weight: 650; font-size: 14px; }
.tour-mail .tm-what { color: var(--ink-2); font-size: 14px; margin-top: 3px; line-height: 1.5; }
.tour-mail input { width: 100%; }
@media (prefers-reduced-motion: reduce) { .tour-ring, .tour-card { transition: none; } }

.notice { border-radius: var(--r-md); padding: 12px 16px; font-size: 14px; background: color-mix(in srgb, var(--warn) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent); }
.toast { position: fixed; z-index: 60; left: 50%; bottom: 28px; transform: translateX(-50%); padding: 11px 18px; border-radius: 999px;
  background: var(--solid); color: var(--on-solid); font-weight: 600; box-shadow: 0 12px 30px rgba(0,0,0,.3); animation: fade .2s both; }

.login { position: relative; z-index: 1; max-width: 380px; margin: 14vh auto; padding: 34px; display: grid; gap: 14px; }
.login .mark { font: 800 34px var(--font); font-stretch: 115%; letter-spacing: -.04em; } .login .mark b { color: var(--ink-3); }
.login p { margin: -6px 0 6px; color: var(--ink-2); }
label.field { display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); }

/* page change: a quick cross-fade with a small rise, only where supported */
::view-transition-old(root) { animation: .18s ease-out both vt-out; }
::view-transition-new(root) { animation: .32s var(--spring) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(6px); } }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .s3 { grid-column: span 6; } .s4, .s5, .s7, .s8 { grid-column: span 12; } .s6 { grid-column: span 12; }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .dock { top: auto; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); width: auto; height: 68px; flex-direction: row;
    padding: 6px; justify-content: space-around; }
  .dock .mark, .dock .sp, .dock .hide-m { display: none; }
  .dock a, .dock button.d { width: auto; flex: 1; padding: 6px 2px; }
  .me { width: 34px; height: 34px; margin: 0 4px; }
  .menu { left: auto; right: 12px; bottom: 90px; }
  main { margin-left: 0; padding: 20px 16px 110px; }
  .s3, .s6 { grid-column: span 12; }
  .board { grid-template-columns: 1fr; }
  .cmdk-open { min-width: 0; flex: 1; }
  .props { grid-template-columns: 1fr; gap: 2px; } .props > :nth-child(even) { margin-bottom: 10px; }
  .quick .hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lightfield i { animation: none; }
  .sheet, .sheet.leaving, .cmdk, .menu { animation: fade .16s both; }
  .sheet.leaving { animation-direction: reverse; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .btn:active, .row:active, .dock a:active { transform: none; }
}
