/* StarterPad: the company room. Loaded after sp.css: the room rules there stay, these refine them with the same
   selectors and media queries. The fund card, the documents, the deck (one 640 x 360 stage everywhere), the dialogs. */

/* ---------- messages: opening, missing, offline ---------- */
.rm-msg { padding: 60px 34px; max-width: 760px; }
.rm-msg h2 { margin: 0 0 12px; font-size: 56px; }
.rm-msg p { margin: 0 0 20px; color: var(--ink2); font-size: 17px; max-width: 36em; }
.rm-msg h2:focus, .rm-id h1:focus { outline: none; }

/* ---------- the header ---------- */
.rm-pack .rm-fb { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 18px; mix-blend-mode: multiply; }
.rm-pack.fb canvas { display: none; }
.rm-pack.fb .rm-fb { display: block; }
.rm-id { min-width: 0; }
.rm-id h1 { overflow-wrap: anywhere; }
.rm-id .tg { margin: 6px 0 10px; }
.rm-id .meta .csv { color: var(--greend); font-weight: 600; }
.rm-id code.ca { font: 500 12.5px ui-monospace, Menlo, Consolas, monospace; overflow-wrap: anywhere; }
.fund-l { margin: 0 0 12px; padding: 1px 0 1px 11px; border-left: 3px solid var(--green); font-size: 14.5px; line-height: 1.45; color: var(--ink2); max-width: 44em; }
.rm-id .fund-l + .meta { margin-top: 2px; }

/* ---------- the team: how the coin funds it, then the seats ---------- */
#rmTeam:focus-visible { outline: 2px solid var(--green); outline-offset: -2px; }
.rm-team .fund { padding: 30px 16px 14px; margin: 0 0 22px; }
.rm-team .fund h4 { margin: 0 0 12px; color: var(--ink); font-stretch: 75%; font-size: 19px; line-height: 1.02; letter-spacing: .01em; overflow-wrap: anywhere; }
.fbar { display: flex; gap: 2px; height: 14px; border-radius: 4px; overflow: hidden; background: var(--paper); }
.fbar i { display: block; min-width: 4px; }
.fbar .t, .flg .t { background: var(--green); }
.fbar .y, .flg .y { background: var(--ink); }
.fbar .p, .flg .p { background: var(--sticker); box-shadow: inset 0 0 0 1px rgba(13,19,16,.12); }
.flg { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 8px; margin: 11px 0 14px; }
.flg span { display: grid; grid-template-columns: 9px auto; align-items: center; gap: 3px 6px; white-space: nowrap; }
.flg i { width: 9px; height: 9px; border-radius: 2px; }
.flg em { font-style: normal; font-stretch: 80%; font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--mute); }
.flg b { grid-column: 1 / -1; font-stretch: 75%; font-weight: 700; font-size: 26px; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.fund p { margin: 0 0 7px; font-size: 13.5px; line-height: 1.45; color: var(--ink2); }
.fund p.k1 { font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.fund p.nl { margin: 10px 0 0; padding-top: 9px; border-top: 1px dashed var(--line2); font-size: 12.5px; color: var(--mute); }
.rm-team .tr small { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.3; }
.rm-team .tr small.sh { margin-top: 2px; color: var(--greend); font-weight: 600; font-variant-numeric: tabular-nums; }
.rm-team .tr > span { white-space: nowrap; }
.rm-team > .btn { width: 100%; margin-top: 14px; }
.rm-team > .fine { font-size: 12.5px; margin: 12px 0 0; }
.rm-team .wlog h4 { margin-top: 22px; }

/* ---------- the documents ---------- */
.doc .dh { gap: 24px; }
.doc .dh .dt { flex: 1 1 auto; min-width: 0; }
.doc .dh .lab { color: var(--greend); }
.doc h2 { overflow-wrap: break-word; }
.doc .dsub { margin: 10px 0 0; font-size: 19px; line-height: 1.35; font-weight: 500; color: var(--ink2); max-width: 32em; }
.doc .made { flex: 0 1 330px; max-width: 330px; align-items: flex-start; white-space: normal; margin-top: 12px; color: var(--ink2); }
.doc .made .stk { margin-top: 1px; }
.made .mb { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.made .mb > span { font-weight: 600; line-height: 1.35; }
.made .mb small { font-size: 12px; line-height: 1.4; color: var(--mute); }
.doc .tools .ic { width: 16px; height: 16px; }
.doc .sum + .tools { margin-top: -8px; }

/* tables: every row, numbers right-aligned in tabular figures; a wide table scrolls inside its own frame */
.tw { overflow-x: auto; margin: 4px 0 8px; border-radius: 8px; overscroll-behavior-x: contain; }
.tw:focus { outline: none; }
.tw > .tbl { margin: 0; }
.tbl th.num, .tbl td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl.kv td.k { width: 200px; font-weight: 700; }
.tbl td.w { width: 150px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tmore { margin: 4px 0 10px; }

/* posts, replies and their copy buttons */
.post { white-space: normal; }
.post .pn { align-items: center; gap: 10px; }
.post .pa { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.post .pa a, .lnk { display: inline-flex; align-items: center; gap: 5px; border: 0; border-radius: 6px; padding: 5px 9px 4px; background: var(--paper); color: var(--ink); font: inherit; font-stretch: 80%; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; cursor: pointer; transition: background .15s; }
.post .pa a:hover, .lnk:hover { background: var(--mint); }
.lnk .ic { width: 14px; height: 14px; }
.post .pt { white-space: pre-wrap; overflow-wrap: anywhere; }
.h3r { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; margin: 30px 0 10px; }
.h3r h3 { margin: 0; }
.h3r .btn .ic { width: 16px; height: 16px; }

/* FAQ and replies */
.faq { margin: 0; }
.faq > div { padding: 14px 0; border-top: 1px solid var(--line); }
.faq > div:last-child { border-bottom: 1px solid var(--line); }
.faq dt { font-weight: 700; font-size: 16.5px; line-height: 1.35; }
.faq dd { margin: 5px 0 0; color: var(--ink2); line-height: 1.55; }
.rules { margin: 0; padding: 0; list-style: none; counter-reset: r; }
.rules li { counter-increment: r; display: grid; grid-template-columns: 36px minmax(0, 1fr); padding: 10px 0; border-top: 1px solid var(--line); line-height: 1.5; }
.rules li::before { content: counter(r, decimal-leading-zero); font-stretch: 78%; font-weight: 700; color: var(--greend); }

/* pictures: a caption and a download link under each */
.gallery figure, .frames figure { margin: 0; min-width: 0; }
.frames img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: #fff; }
.doc figcaption { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-top: 7px; font-size: 12.5px; line-height: 1.4; color: var(--mute); }
.doc figcaption b { color: var(--ink); }
.dl { display: inline-flex; align-items: center; gap: 4px; flex: none; padding: 4px 8px 3px; border-radius: 5px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink2); font-stretch: 80%; font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; transition: box-shadow .15s; }
.dl:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.dl .ic { width: 14px; height: 14px; }
.audio .dl { margin-left: auto; }

/* the ad: the voiceover beside a script with no sound column */
.vgrid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 14px; align-items: start; }
.vgrid .vo { padding: 16px 16px 14px; position: sticky; top: 16px; }
.vo h4 { margin: 0 0 8px; font-stretch: 78%; font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .04em; color: var(--mute); }
.vo p { margin: 0; font-size: 15px; line-height: 1.55; }

/* the brand book */
.bs.full { grid-column: 1 / -1; }
.bs h4:not(:first-child) { margin-top: 16px; }
.bs.logo .lgbox { min-width: 0; overflow: hidden; }
.bs.logo .lgbox.sym { padding: 26px; }
.typespec.tag { font-size: 32px; line-height: 1.05; overflow-wrap: anywhere; }
.bs .tl { margin: 0 0 12px; font-weight: 600; }
.tspec { padding: 10px 0 8px; border-top: 1px solid var(--line); }
.tspec .typespec.sp { margin: 0; font-size: 30px; line-height: 1.1; overflow-wrap: anywhere; }
.tspec .typespec.sp.t { font-size: 24px; }
.tspec small { display: block; margin-top: 5px; font-size: 12px; color: var(--mute); }
.traits { margin: 0 0 4px; font-size: 20px; font-weight: 600; line-height: 1.35; }
.dodont { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 26px; }
.dodont h4 { margin: 14px 0 6px; }
.bs .story { margin: 0; font-size: 16.5px; line-height: 1.65; max-width: 46em; }

/* the website: the live site at 60% inside the browser frame, and its search listing */
.webwrap .browser { border-radius: 0; background: #fff; }
.webwrap .browser .bar2 { border-radius: 0; }
.webwrap .browser .frame { flex: none; height: 70vh; min-height: 520px; border-radius: 0; }
.webwrap .browser .frame iframe { position: absolute; left: 0; top: 0; width: 166.667%; height: 166.667%; border: 0; transform: scale(.6); transform-origin: 0 0; }
.webwrap .frame .tap { display: none; }
.serp { padding: 16px 18px 15px; max-width: 660px; }
.serp .su { display: block; font: 500 12.5px ui-monospace, Menlo, Consolas, monospace; color: var(--mute); overflow-wrap: anywhere; }
.serp .st { display: block; margin: 5px 0 4px; font-size: 19px; font-weight: 600; line-height: 1.3; color: #1A0DAB; }
.serp p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink2); }

/* ---------- the deck: one 640 x 360 stage, scaled to its card (--s), to the screen and to the page ---------- */
.deck { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.sl-wrap { --s: 1; position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; box-shadow: var(--shadow); background: var(--paper2); }
.slide.st { position: relative; width: 640px; height: 360px; aspect-ratio: auto; padding: 0; display: block; overflow: hidden; border-radius: 0; box-shadow: none; font-size: 15px; line-height: 1.4; font-stretch: 100%; font-weight: 400; text-align: left; }
.sl-wrap > .slide.st { position: absolute; left: 0; top: 0; transform-origin: 0 0; transform: scale(var(--s)); }
.slide.st .sh { position: absolute; left: 30px; right: 30px; top: 24px; height: 16px; display: flex; align-items: center; }
.slide.st .k { position: static; font-size: 11px; line-height: 1; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; opacity: .72; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slide.st .sb { position: absolute; left: 30px; right: 30px; top: 50px; bottom: 54px; display: flex; flex-direction: column; overflow: hidden; }
.slide.st.hv .sh, .slide.st.hv .sb, .slide.st.hv .sf { right: calc(40% + 26px); }
.slide.st h3 { flex: none; margin: 0 0 10px; max-width: none; text-wrap: balance; font-size: var(--h, 30px); line-height: 1.06; font-weight: 700; font-stretch: 100%; letter-spacing: -.01em; text-transform: none; overflow-wrap: break-word; }
.slide.st p { flex: none; margin: 0 0 8px; max-width: none; font-size: var(--p, 15px); line-height: 1.42; opacity: .88; }
.slide.st ul { flex: none; margin: 2px 0 0; padding: 0 0 0 18px; max-width: none; list-style: disc; font-size: var(--li, 14px); line-height: 1.38; opacity: .88; }
.slide.st ul li { position: static; margin: 0 0 4px; padding: 0; border: 0; line-height: inherit; }
.slide.st ul li::before { content: none; }
.slide.st.clamp .sb p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.slide.st.clamp .sb h3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.slide.st .sf { position: absolute; left: 30px; right: 30px; bottom: 20px; height: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.slide.st .sf .lg { display: inline-flex; min-width: 0; overflow: hidden; opacity: .92; }
.slide.st .n { position: static; flex: none; font: 600 10.5px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .04em; opacity: .55; }
.slide.st .sv { position: absolute; top: 0; right: 0; bottom: 0; width: 40%; overflow: hidden; }
.slide.st .sv.ph img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; }
.slide.st .sv.logo { display: grid; place-items: center; padding: 24px; }
.slide.st .sv.chart { display: flex; flex-direction: column; padding: 26px 22px 22px; background: color-mix(in srgb, currentColor 7%, transparent); }
.sv.chart .ct { font-size: 13px; line-height: 1.2; font-weight: 700; }
.sv.chart small { display: block; margin: 3px 0 14px; font-size: 10.5px; line-height: 1.3; opacity: .66; }
.sv.chart .bars { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.sv.chart .br { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; font-size: 10.5px; line-height: 1.2; }
.sv.chart .bl { grid-row: 1; grid-column: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .86; }
.sv.chart .bv { grid-row: 1; grid-column: 2; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.sv.chart .bt { grid-row: 2; grid-column: 1 / -1; height: 9px; border-radius: 3px; overflow: hidden; background: color-mix(in srgb, currentColor 12%, transparent); }
.sv.chart .bt i { display: block; height: 100%; border-radius: 3px; }
.slide.st .sv.team { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 24px 18px 20px; background: color-mix(in srgb, currentColor 6%, transparent); }
.sv.team .tg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 7px 10px; }
.sv.team .tg span { display: grid; grid-template-columns: 20px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; gap: 1px 7px; min-width: 0; font-size: 10.5px; line-height: 1.1; }
.sv.team .stk.s { grid-row: 1 / 3; width: 20px; height: 20px; }
.sv.team .tg b { font-family: var(--f); font-stretch: 80%; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv.team .tg em { font-style: normal; font-size: 10px; font-variant-numeric: tabular-nums; opacity: .72; }
.sv.team small { font-size: 10px; line-height: 1.3; opacity: .66; }
/* the coin slide: the real split, never the model's words */
.slide.st.coin .sb { justify-content: center; }
.slide.st.coin h3 { margin-bottom: 4px; }
.slide.st .cbar { flex: none; display: flex; gap: 3px; height: 24px; margin: 14px 0 10px; border-radius: 5px; overflow: hidden; }
.slide.st .cbar i { min-width: 7px; background: color-mix(in srgb, currentColor 28%, transparent); }
.slide.st .cbar i:last-child { background: #0FB463; }
.slide.st .clg { flex: none; display: flex; gap: 26px; margin: 0 0 16px; }
.slide.st .clg span { display: flex; flex-direction: column; font-size: 11px; line-height: 1.2; text-transform: uppercase; letter-spacing: .07em; opacity: .85; }
.slide.st .clg b { margin-bottom: 4px; font-size: 26px; line-height: 1; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.slide.st.coin p.fn { margin-top: 2px; font-size: 11.5px; opacity: .6; }

/* Present: the same stage on a dark screen, with previous and next */
.present .pstage { flex: none; width: 640px; height: 360px; }
.present .pstage .slide.st { box-shadow: 0 40px 120px -30px rgba(0,0,0,.8); }
.pbar { bottom: max(18px, env(safe-area-inset-bottom)); gap: 12px 16px; flex-wrap: wrap; padding: 0 16px; }
.pbar .pvb { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; transition: background .15s; }
.pbar .pvb:hover:not(:disabled) { background: rgba(255,255,255,.22); }
.pbar .pvb:disabled { opacity: .3; cursor: default; }
.pbar .pvb .ic { width: 20px; height: 20px; }
.pbar .pc { min-width: 4.5em; text-align: center; color: #fff; font-variant-numeric: tabular-nums; }
.pbar .pvh { opacity: .8; }
.pbar :focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- dialogs: edit the team, launch ---------- */
.box.te > .x, .box.ln > .x { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); cursor: pointer; z-index: 2; }
.box.te > .x:hover, .box.ln > .x:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.box.te h3, .box.ln h3 { padding-right: 46px; }
.modal .box.te { width: min(720px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; padding-bottom: 0; overscroll-behavior: contain; }
.box.te .wl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.box.te .wl button { gap: 10px; padding: 10px 12px; min-width: 0; }
.box.te .wl .sn { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; line-height: 1.15; }
.box.te .wl .sn b { font-stretch: 80%; font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .01em; }
.box.te .wl .sn small { font-size: 12px; font-weight: 500; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.box.te .wl .sw { flex: none; font-stretch: 80%; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--greend); }
.box.te .wl button.off { background: transparent; box-shadow: none; outline: 1.5px dashed var(--line2); outline-offset: -1.5px; }
.box.te .wl button.off .sw { color: var(--mute); }
.box.te .wl button.off .stk { opacity: .55; }
.box.te .foot-act { position: sticky; bottom: -1px; z-index: 1; margin-top: 16px; padding: 12px 0 18px; background: var(--paper); }
.modal .box.ln { width: min(640px, 100%); max-width: none; max-height: calc(100svh - 32px); overflow-y: auto; overscroll-behavior: contain; padding-bottom: 0; }
.modal .box.ln.dn { width: min(520px, 100%); }
.box.ln .grid2, .box.ln > .fld { margin-top: 12px; }
.box.ln .imgdrop .fine { margin: 4px 0 0; }
.box.ln .cost { margin: 16px 0 0; font-size: 12.5px; }
.box.ln .foot-act { position: sticky; bottom: -1px; z-index: 1; margin-top: 14px; padding: 12px 0 18px; background: var(--paper); }
.box.ln.dn { padding-bottom: 20px; }
.box.ln .stat:empty { display: none; }

/* ---------- print or save as PDF: one 16:9 page per slide ---------- */
@page deck { size: 1280px 720px; margin: 0; }
@media print {
  body.print-deck .hd, body.print-deck #home, body.print-deck #studio, body.print-deck #drawer, body.print-deck #modal, body.print-deck #toast, body.print-deck .present,
  body.print-deck .rm-top, body.print-deck .rm-nav, body.print-deck .rm-team, body.print-deck .doc > :not(.deck) { display: none !important; }
  body.print-deck .room { position: static; inset: auto; overflow: visible; }
  body.print-deck .rm-body { display: block; min-height: 0; }
  body.print-deck .rm-main { padding: 0; }
  body.print-deck .doc { max-width: none; }
  body.print-deck .deck { position: static; display: block; width: auto; page: deck; }
  body.print-deck .sl-wrap { --s: 2 !important; width: 1280px; height: 720px; aspect-ratio: auto; border-radius: 0; box-shadow: none; break-inside: avoid; break-after: page; page-break-after: always; }
  body.print-deck .sl-wrap:last-child { break-after: auto; page-break-after: auto; }
  body.print-deck .sl-wrap .slide.st { width: 640px; height: 360px; aspect-ratio: auto; margin: 0; break-after: auto; page-break-after: auto; }
  body.print-deck .deck, body.print-deck .deck * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- phones and tablets: the team stays, under a pinned tab strip ---------- */
@media (max-width: 1180px) {
  .rm-body { display: grid; grid-template-columns: minmax(0, 1fr); }
  .rm-nav { grid-row: 1; position: sticky; top: 0; z-index: 5; display: flex; gap: 4px; overflow-x: auto; max-height: none; padding: 8px 12px; border-right: 0; border-bottom: 1px solid var(--line); background: var(--paper); scrollbar-width: none; }
  .rm-nav::-webkit-scrollbar { display: none; }
  .rm-nav.more { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
  .rm-nav button { flex: none; width: auto; white-space: nowrap; padding: 9px 12px; }
  .rm-nav button small { display: none; }
  .rm-team { display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; position: static; max-height: none; overflow: visible; grid-row: 2; align-self: stretch; border-left: 0; border-bottom: 1px solid var(--line); padding: 16px; }
  .rm-team .fund, .rm-team h4, .rm-team > p, .rm-team > button, .rm-team .seats-l, .rm-team .wlog { grid-column: 1 / -1; }
  .rm-team .seats-l, .rm-team .wlog { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 12px; }
  .rm-team > .btn { width: auto; justify-self: start; }
  .rm-team .fund { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0 32px; align-items: start; }
  .rm-team .fund .flines { padding-top: 2px; }
  .rm-main { grid-row: 3; }
}
@media (max-width: 860px) {
  .rm-top { grid-template-columns: 116px minmax(0, 1fr); gap: 14px; padding: 16px max(16px, env(safe-area-inset-right)) 18px max(16px, env(safe-area-inset-left)); }
  .rm-pack { height: 170px; grid-row: span 2; align-self: start; }
  .rm-id h1 { font-size: clamp(34px, 10.5vw, 52px); }
  .rm-id .tg { font-size: 16px; line-height: 1.4; }
  .fund-l { font-size: 13.5px; }
  .rm-act { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .rm-act .btn { flex: 1 1 140px; padding: 11px 12px; font-size: 14px; }
  .rm-team { padding: 16px max(16px, env(safe-area-inset-right)) 16px max(16px, env(safe-area-inset-left)); }
  .rm-team .wlog { display: none; }
  .rm-team .fund { display: block; }
  .rm-main { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .doc .dh { flex-direction: column; align-items: flex-start; gap: 8px; }
  .doc .made { white-space: normal; flex: none; max-width: none; margin-top: 2px; }
  .doc h2 { font-size: 40px; overflow-wrap: anywhere; }
  .doc .dsub { font-size: 17px; }
  .brandsheet, .gallery, .frames { grid-template-columns: minmax(0, 1fr); }
  .brandsheet > *, .bs { min-width: 0; }
  .pal { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .pal div { overflow-wrap: anywhere; }
  .dodont, .vgrid { grid-template-columns: minmax(0, 1fr); }
  .vgrid .vo { position: static; }
  .tbl.kv td.k { width: 36%; }
  .tbl td.w { width: auto; white-space: normal; }
  .rm-msg { padding: 40px 16px; }
  .rm-msg h2 { font-size: 44px; }
}
@media (max-width: 700px) { .box.te .wl { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) {
  .rm-team .seats-l { column-gap: 10px; }
  .rm-team .tr { grid-template-columns: 24px minmax(0, 1fr) auto; gap: 7px; }
}
/* touch screens: the site preview is a picture of the site; a tap opens it */
@media (hover: none) {
  .webwrap .browser .frame iframe { pointer-events: none; }
  .webwrap .browser .frame { flex: none; height: 62svh; min-height: 0; cursor: pointer; }
  .webwrap .frame .tap { display: block; position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 8px 13px 7px; border-radius: 8px; background: var(--ink); color: #fff; font-stretch: 80%; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); pointer-events: none; }
}
