:root{
  --paper:#F7F5EF; --paper-2:#FFFFFF; --ink:#1B2430; --ink-2:#3A4451; --ink-3:#6A7179; --line:#E3DFD3;
  --teal:#1F6E63; --orange:#D9541F; --orange-soft:#FBE3D8; --ok:#2A8C7E; --warn:#B98A2B;
  --sheet:#FFFFFF; --sheet-shadow:0 -8px 30px rgba(27,36,48,.18);
  --font-ui:'IBM Plex Sans',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --font-head:'Rubik','IBM Plex Sans',system-ui,sans-serif;
  --peek:184px;
  --ok-bg:#DDEFE9; --ok-fg:#1B5E52; --ok-bd:#BFE0D5; --warn-bg:#F6ECD6; --warn-fg:#7A5A12; --warn-bd:#EAD9AE;
}
:root[data-theme="night"]{
  --paper:#141A23; --paper-2:#1B2430; --ink:#F0F2F5; --ink-2:#C9D1DB; --ink-3:#8E98A6; --line:#2E3848;
  --sheet:#1B2430; --chip:#2A3444; --sheet-shadow:0 -8px 30px rgba(0,0,0,.5); --orange-soft:#3A2A24;
  --ok-bg:#1D3A34; --ok-fg:#8FD6C4; --ok-bd:#2A5248; --warn-bg:#3A3220; --warn-fg:#E6C77A; --warn-bd:#574A2A;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{margin:0;height:100%;overflow:hidden;background:var(--paper);color:var(--ink);font-family:var(--font-ui);-webkit-font-smoothing:antialiased}
#map{position:absolute;inset:0}
@media (max-height:700px){:root{--peek:136px}} /* 360 x 640: the collapsed sheet covers 21 %, not 29 % (search and chips, the here row waits one pull up) */
.maplibregl-ctrl-attrib{font-size:10px;opacity:.75}
.maplibregl-ctrl-bottom-right{bottom:calc(var(--peek) + 2px)}
.maplibregl-ctrl-bottom-left{display:none}
/* Phone: the i sits in the sheet's top row (sheet.js moves it), 2 px below the sheet's edge and above the search box, never across the edge; its text opens upward over the map. */
.sheet>.maplibregl-ctrl-bottom-right{position:absolute;right:0;bottom:calc(100% - 40px);z-index:2}
.sheet>.maplibregl-ctrl-bottom-right .maplibregl-compact-show{transform:translateY(-32px)}
.maplibregl-ctrl-top-right{right:56px;top:calc(env(safe-area-inset-top,0px) + 2px)}

#brand{position:absolute;left:14px;top:calc(env(safe-area-inset-top,0px) + 12px);font-family:var(--font-head);font-weight:700;font-size:20px;line-height:24px;letter-spacing:-.6px;color:var(--ink);background:color-mix(in srgb,var(--sheet) 82%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);padding:4px 10px;border-radius:10px;box-shadow:0 2px 10px rgba(27,36,48,.12);pointer-events:none}
#brand span{color:var(--orange)}

.stack{position:absolute;right:12px;top:calc(env(safe-area-inset-top,0px) + 12px);display:flex;flex-direction:column;gap:8px}
.rb{width:44px;height:44px;border-radius:12px;border:0;background:color-mix(in srgb,var(--sheet) 88%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 2px 10px rgba(27,36,48,.14);color:var(--ink);font-family:var(--font-head);font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center;cursor:pointer}
#tr.under{opacity:0;transition:opacity .2s}
.rb svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.rb.on{background:var(--ink);color:var(--paper)}
:root[data-theme="night"] .rb.on{background:#F0F2F5;color:#141A23}
.rb:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.sheet button:focus-visible,.sheet .res:focus-visible,.sheet a:focus-visible,.sheet input:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.sheet .searchbar input:focus-visible{outline:none}

.panel{position:absolute;right:12px;top:calc(env(safe-area-inset-top,0px) + 66px);width:min(300px,calc(100vw - 24px));background:var(--sheet);color:var(--ink);border-radius:16px;box-shadow:0 10px 30px rgba(27,36,48,.22);padding:14px;z-index:5;max-height:calc(100dvh - var(--peek,184px) - 90px);overflow-y:auto;overscroll-behavior:contain}
.panel-title{font-family:var(--font-head);font-weight:600;font-size:15px;margin-bottom:10px}
.seg{display:flex;gap:4px;background:var(--paper);border-radius:10px;padding:4px;margin-bottom:8px;flex-wrap:wrap}
.seg button{flex:1 1 auto;min-width:44px;min-height:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:0;background:transparent;color:var(--ink-2);font-family:var(--font-ui);font-size:13px;font-weight:600;padding:7px 4px;border-radius:8px;cursor:pointer}
.seg button.on{background:var(--sheet);color:var(--ink);box-shadow:0 1px 4px rgba(27,36,48,.15);font-weight:600}
#preset-seg{display:grid;grid-template-columns:repeat(3,1fr);grid-auto-rows:48px}
#preset-seg button{white-space:nowrap;padding:7px 2px;font-size:12.5px}
#auto-hint{display:block;font-size:12px;font-weight:400;opacity:.75;line-height:1.2}
#auto-hint:empty{display:none}
.row-opt{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:9px 2px;cursor:pointer;border-top:1px solid var(--line);font-size:14px}
.row-opt[hidden],.legend-line[hidden]{display:none}
.legend-line i{display:inline-block;width:14px;height:6px;border-radius:3px;margin-right:2px;vertical-align:middle}
.legend-line{font-size:12px;color:var(--ink-3);padding:0 2px 8px;line-height:1.4}
.row-opt.dim{color:var(--ink-3);cursor:default}
.row-opt small{font-size:12px;color:var(--ink-3)}
.row-opt input{width:18px;height:18px;accent-color:var(--teal)}

.navbar{position:absolute;left:12px;right:12px;top:calc(env(safe-area-inset-top,0px) + 12px);background:var(--ink);color:#F7F5EF;border-radius:18px;padding:14px 16px;box-shadow:0 10px 30px rgba(0,0,0,.3);z-index:4}
:root[data-theme="night"] .navbar{background:#1B2430;border:1px solid #2E3848}
.nav-turn{display:flex;gap:14px;align-items:center}
.nav-turn svg{width:40px;height:40px;fill:none;stroke:#F0A078;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.nav-dist{font-family:var(--font-head);font-size:32px;font-weight:700;line-height:1}
.nav-instr{font-size:15px;color:#D9DEE5;margin-top:3px}

.sheet{position:absolute;left:0;right:0;bottom:0;background:var(--sheet);color:var(--ink);border-radius:22px 22px 0 0;box-shadow:var(--sheet-shadow);z-index:6;transition:transform .32s cubic-bezier(.2,.8,.2,1);transform:translateY(calc(100% - var(--peek)));height:92%;display:flex;flex-direction:column;padding-bottom:calc(env(safe-area-inset-bottom,0px) + var(--hid,0px));will-change:transform}
.sheet.half{transform:translateY(48%)}
.sheet.full{transform:translateY(0)}
.sheet.dragging{transition:none}
.handle-wrap{position:relative;height:30px;padding-top:10px;display:flex;justify-content:center;flex-shrink:0;cursor:grab;touch-action:none}
.handle-wrap::before{content:'';position:absolute;left:0;right:0;top:-14px;height:14px}
.handle{width:40px;height:5px;border-radius:3px;background:var(--line)}
.sheet-view{padding:0 16px 16px;overflow:auto;overscroll-behavior:contain;flex:1;min-height:0}
/* A finger on a card moves the sheet (sheet.js swipe): below full the views do not scroll on a touch screen, and a pinch or a
   double tap on the sheet never zooms the page. */
@media (pointer:coarse){.sheet:not(.full) .sheet-view{overflow:hidden;touch-action:none}.sheet.full .sheet-view{touch-action:pan-y}}
.sheet{touch-action:pan-y}.sheet button,.sheet .res,.chips{touch-action:manipulation}

.searchbar{display:flex;align-items:center;gap:10px;height:46px;background:var(--paper);border-radius:13px;padding:0 12px;border:1px solid transparent}
.searchbar:focus-within{border-color:var(--teal)}
.searchbar svg{width:20px;height:20px;fill:none;stroke:var(--ink-3);stroke-width:2;stroke-linecap:round;flex-shrink:0}
.searchbar input{flex:1;min-width:0;align-self:stretch;border:0;background:transparent;font:inherit;font-size:16px;color:var(--ink);outline:none}
.searchbar input::placeholder{color:var(--ink-3)}
.searchbar input::-webkit-search-cancel-button,.searchbar input::-webkit-search-decoration{-webkit-appearance:none;appearance:none;display:none}
.searchbar button{border:10px solid transparent;background:var(--line);background-clip:padding-box;color:var(--ink);width:44px;height:44px;margin:0 -10px;padding:0;border-radius:22px;font-size:16px;line-height:1;cursor:pointer}
.searchbar button svg{display:block;width:18px;height:18px;margin:auto;stroke:currentColor;stroke-linejoin:round}
.chips{display:flex;gap:0;overflow-x:auto;padding:7px 11px 0;margin:0 -16px;scrollbar-width:none;-ms-overflow-style:none}
.chips::-webkit-scrollbar{display:none}
.chips{--fl:0;--fr:1;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 calc(var(--fl) * 28px),#000 calc(100% - var(--fr) * 28px),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 calc(var(--fl) * 28px),#000 calc(100% - var(--fr) * 28px),transparent 100%)}
.chips button{flex:0 0 auto;height:44px;padding:0 16px;border-radius:22px;border:5px solid transparent;background:var(--chip,#EFECE4);background-clip:padding-box;box-shadow:none;color:var(--ink);font:inherit;font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap}
.chips button.wait{font-weight:500}
.chips button.on{background:var(--ink);background-clip:padding-box;color:var(--paper);box-shadow:none}
:root[data-theme="night"] .chips button.on{background:#F0F2F5;background-clip:padding-box;color:#141A23}
.here{margin-top:8px;display:flex;align-items:center;gap:12px;width:100%;height:46px;border-radius:0;border:0;border-top:1px solid var(--line);background:transparent;color:var(--ink);font:inherit;font-size:15px;font-weight:600;padding:0 2px;cursor:pointer;text-align:left}
.here .ic{width:30px;height:30px;border-radius:15px;background:var(--orange-soft);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.here .t{display:flex;flex-direction:column;min-width:0}
.here .n{font-weight:600;font-size:15px;line-height:1.2}
.here .s{font-weight:400;font-size:12px;color:var(--ink-3);line-height:1.2}
.here .dot{width:12px;height:12px;border-radius:6px;background:var(--orange);box-shadow:0 0 0 4px var(--orange-soft)}
.results{margin-top:10px;display:flex;flex-direction:column}
.res{display:flex;gap:12px;align-items:center;padding:11px 2px;border-top:1px solid var(--line);cursor:pointer}
.res:first-child{border-top:0}
.res .ic{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:13px;font-weight:700;color:#fff;font-family:var(--font-head)}
.res .t{flex:1;min-width:0}
.res.weak{opacity:.55}
.res .n{font-weight:600;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.res.stop .n{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.25}
.res .s{font-size:13px;color:var(--ink-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:flex}
.res .s .sx{min-width:0;overflow:hidden;text-overflow:ellipsis}
.res .s .lv{flex:none;white-space:pre}
.res .rbld{font-size:12px;color:var(--ink-3);display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.res .s{white-space:normal;align-items:flex-start}
.res .s .sx{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal}
.res .d{font-size:13px;color:var(--ink-3);flex-shrink:0;font-variant-numeric:tabular-nums;text-align:right}
.res .rc.none{font-family:var(--font-ui);font-weight:400;font-size:12px;letter-spacing:0;color:var(--ink-3)}
.res .rc{display:block;margin-top:2px;font-family:var(--font-head);font-weight:700;font-size:12px;letter-spacing:.08em;color:var(--ink-2)}
.empty{padding:18px 2px;color:var(--ink-3);font-size:14px}
.weaknote{padding:6px 2px 10px;font-size:13px}

.place-head{display:flex;align-items:flex-start;gap:12px;padding-top:6px}
.place-titles{flex:1;min-width:0}
.place-name{font-family:var(--font-head);font-weight:700;font-size:22px;line-height:1.15;letter-spacing:-.3px;text-wrap:balance;overflow-wrap:anywhere}
.place-name#n-eta{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.place-sub{font-size:14px;color:var(--ink-3);margin-top:4px}
.place-sub.unit{color:var(--ink);font-weight:600} /* the floor and flat said with the code (saidUnit), its own line under the kind line, as the page */
.close{width:44px;height:44px;margin:-6px -6px -6px 0;padding:0;border-radius:22px;border:6px solid transparent;background:var(--paper);background-clip:padding-box;color:var(--ink-2);font-size:20px;line-height:1;cursor:pointer;flex-shrink:0}
.close svg{display:block;width:22px;height:22px;margin:auto;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.status-row{display:flex;align-items:center;gap:10px;margin-top:12px;flex-wrap:wrap}
.pill{font-size:12px;font-weight:600;padding:4px 9px;border-radius:999px;background:var(--paper);color:var(--ink-2);border:1px solid var(--line)}
.pill.matched{background:var(--ok-bg);color:var(--ok-fg);border-color:var(--ok-bd)}
.pill.partial{background:var(--warn-bg);color:var(--warn-fg);border-color:var(--warn-bd)}
.pill.none{background:var(--paper);color:var(--ink-3)}
.pill.doubt{color:var(--ink-3);border-style:dashed} /* a doubtful building (OSM only): quiet, never a warning colour */
.official{font-size:13px;line-height:17px;color:var(--ink-2)}
.official .nowrap{white-space:nowrap}
.official.tight{font-size:12px;line-height:16px}
.status-row .official.bld{flex-basis:100%;margin-top:-8px;font-size:12px;line-height:16px;color:var(--ink-3)} /* the register name 2 px under the state line it belongs to (row gap 10) */
.actions{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}
#v-place:is(.bare-top.bare-top.bare-top.bare-top) .close{margin-bottom:-19px} /* only the title above the buttons (a bare spot; renderPlace sets bare-top when the status row and the code are hidden, repeated to weigh as the :has() it replaced, 2026-11-06): the close button and an empty kind line no longer stretch the head under the name */
#v-place:is(.bare-top.bare-top.bare-top.bare-top) .place-sub:empty{display:none}
.code-wrap+.actions{margin-top:16px} /* Явах 16 under the code box, on the GANTULGA 23:20 scale, not 14; the claim form and the navigation buttons keep theirs */
.status-row[hidden]+.code-wrap[hidden]+.actions{margin-top:24px} /* Явах 24 under the title, as on the place page (GANTULGA 23:20 scale), not 33 */
.act{height:44px;padding:0 16px;border-radius:12px;border:1px solid var(--line);background:var(--sheet);color:var(--ink);font-family:var(--font-head);font-weight:600;font-size:14px;cursor:pointer}
.act.primary{background:var(--ink);color:var(--paper);border-color:var(--ink);flex:1 1 auto}
:root[data-theme="night"] .act.primary{background:#F0F2F5;color:#141A23;border-color:#F0F2F5}
.section-title{margin-top:18px;font-size:12px;letter-spacing:1.4px;text-transform:uppercase;color:var(--ink-3);font-weight:600}
.dir{display:flex;flex-direction:column;margin-top:4px}
.dir-row{display:flex;flex-direction:column;justify-content:center;box-sizing:border-box;min-height:60px;padding:14px 2px;border-top:1px solid var(--line)} /* list rows 60 high, 14 above and below (GANTULGA 23:20): a row with no kind (Gund Investment) was 38, one with "Банк" 55 */
.dir-row:first-child{border-top:0}
.dir-row .n{font-weight:600;font-size:15px}
.dir-row .s{font-size:13px;color:var(--ink-3)}
.dir-row .s .lv{white-space:nowrap}
/* a row that opens its business (cardDirOpen): a plain button that reads as the row */
.dir-row.go{display:flex;width:100%;text-align:left;background:none;border:0;border-top:1px solid var(--line);font:inherit;color:inherit;cursor:pointer}
.dir-row.go:first-child{border-top:0}
#results>.section-title{margin-top:14px}
#p-dir>.section-title{margin-top:32px} /* "Энд байгаа байгууллагууд" is a section: 32 under the buttons (GANTULGA 23:20), not 18 */
#p-dir>.dir{margin-top:10px} /* its label 10 above its rows, not 4 */
/* "Дотор харах": a card inside a venue with an indoor map opens /indoor (GANTULGA 2026-11-04 17:50); a quiet row, 52 high */
.indoor-open{display:flex;align-items:center;gap:12px;min-height:52px;margin-top:14px;padding:0 14px;border-radius:12px;background:var(--paper);color:var(--ink);text-decoration:none;font-family:var(--font-head)}
.indoor-open[hidden]{display:none}
.indoor-open .ic{flex:none;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.indoor-open .w{flex:1;min-width:0;display:flex;flex-direction:column;line-height:18px}
.indoor-open b{font-size:15px;font-weight:600}
.indoor-open small{font-size:13px;color:var(--ink-3)}
.indoor-open small:empty{display:none}
.indoor-open .ch{flex:none;width:18px;height:18px;fill:none;stroke:var(--ink-3);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.card-photo{margin:20px 0 0} /* a codeless landmark's photo, 20 under the buttons, the card's width */
.card-photo img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:16px;background:var(--line)}
.card-photo figcaption{margin-top:8px;font-size:12px;line-height:16px;color:var(--ink-3)}
.card-photo figcaption a{color:inherit;text-decoration:none}
.card-photo figcaption .pt{white-space:nowrap} /* each credit part whole, breaks only at the dots */
.note{margin-top:14px;font-size:13px;color:var(--ink-3);line-height:1.45}

.code-wrap{margin-top:16px;padding:22px 16px;border-radius:16px;background:var(--paper);text-align:center}
.code{font-family:var(--font-head);font-weight:700;font-size:48px;letter-spacing:10px;line-height:1;color:var(--ink);padding-left:10px}
.code-sub{margin-top:8px;font-size:14px;color:var(--ink-3)}
.code.none{font-size:14px;font-family:inherit;letter-spacing:0;padding-left:0;font-weight:400;line-height:1.4;color:var(--ink-3)}
.code-wrap.none{margin-top:6px;padding:0;background:none;text-align:left}
@media (max-height:600px){.code-wrap:not(.none){margin-top:10px;padding:12px 16px}.code:not(.none){font-size:36px;letter-spacing:8px;padding-left:8px}} /* 320 x 568: the code tile took 110 px and pushed the buttons off the half sheet */
.photo{margin-top:16px;height:150px;border-radius:16px;background:var(--paper);display:flex;align-items:center;justify-content:center;color:var(--ink-3);font-size:14px;overflow:hidden}
.photo img{width:100%;height:100%;object-fit:cover}

.steps{margin-top:12px;display:flex;flex-direction:column}
.step{display:flex;gap:12px;align-items:center;padding:11px 2px;border-top:1px solid var(--line)}
.step:first-child{border-top:0}
.step svg{width:26px;height:26px;fill:none;stroke:var(--ink-2);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.step .t{flex:1}
.step .n{font-size:15px;font-weight:600}
.step .s{font-size:13px;color:var(--ink-3)}
.step.now svg{stroke:var(--orange)}
.step.now .n{font-weight:600}

.toast{position:absolute;left:50%;transform:translateX(-50%);bottom:calc(var(--peek) + 16px);width:max-content;max-width:calc(100% - 104px);text-align:center;line-height:1.35;background:var(--ink);color:var(--paper);padding:10px 16px;border-radius:12px;font-size:14px;z-index:9;box-shadow:0 6px 20px rgba(0,0,0,.25)}

@media (min-width:760px){
  .sheet{left:16px;right:auto;width:400px;bottom:16px;border-radius:22px;height:calc(100% - 32px);transform:translateY(calc(100% - var(--peek) - 16px))}
  .sheet.half{transform:translateY(40%)}
  .sheet.full{transform:translateY(0)}
  .navbar{right:auto;width:400px;left:16px}
  .toast{bottom:28px;left:auto;right:16px;transform:none}
  .maplibregl-ctrl-bottom-right{bottom:12px}
}
@media (prefers-reduced-motion:reduce){.sheet,#tr.under{transition:none}}

.maplibregl-ctrl-attrib.maplibregl-compact{min-height:24px}
/* The attribution's i: 24 px drawn, 44 px to the finger. */
.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-button{width:44px;height:44px;top:-10px;right:-10px;border:10px solid transparent;border-radius:22px;background-clip:content-box;background-origin:content-box}
/* Night: the logo and the three map buttons are dark on a dark map and had no edge (judge pass, 412 x 915); a 1 px light ring gives them one. */
:root[data-theme="night"] .rb,:root[data-theme="night"] #brand{box-shadow:0 0 0 1px rgba(240,242,245,.16),0 2px 10px rgba(0,0,0,.45)}
/* Night: the attribution i is a dark chip with a light i, not a white disc over the dark sheet. */
:root[data-theme="night"] .maplibregl-ctrl-attrib.maplibregl-compact{background:var(--paper-2);color:var(--ink-2)}
:root[data-theme="night"] .maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-button{background-color:#E4E8EE;filter:invert(1)}
:root[data-theme="night"] .maplibregl-ctrl-attrib a{color:var(--ink-2)}

/* A failed ask: the line and Дахин оролдох (GANTULGA 2026-10-20 19:55) */
.failbox{padding:16px 2px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.failbox .fl{color:var(--ink-2,var(--ink));font-size:14px;line-height:1.4}
.retry{font:inherit;font-size:14px;font-weight:600;min-height:44px;padding:0 18px;border:0;border-radius:12px;background:var(--teal);color:#fff;cursor:pointer}
.retry:disabled{opacity:.5}
.failbox .retrying{font-size:14px;color:var(--ink-2,var(--ink));min-height:44px;display:flex;align-items:center}
.note + .retry{margin-top:10px}
.toast.act{pointer-events:auto;display:flex;align-items:center;gap:12px;height:auto} /* not the buttons' .act height of 44 px: a wrapped line was cut top and bottom (390 px shot, 2026-11-03) */
.toast .retry{min-height:44px;padding:0 12px;background:rgba(255,255,255,.18);color:inherit}
/* The map did not load (sheet.js showMapDown): the line and Дахин оролдох side by side, the whole width. */
.toast.down{width:calc(100% - 32px);max-width:420px;text-align:left}.toast.down span{flex:1}
.claim-open{display:block;margin-top:14px;min-height:44px;padding:0;border:0;background:none;color:var(--teal);font:inherit;font-size:14px;font-weight:600;text-align:left;cursor:pointer}
:root[data-theme="night"] .claim-open{color:#4FB8A8}
.claim{margin-top:14px;display:flex;flex-direction:column;gap:10px}
.claim label{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--ink-3)}
.claim input{height:44px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);font:inherit;font-size:16px;padding:0 12px;outline:none}
.claim input:focus{border-color:var(--teal)}
.claim input::placeholder{color:var(--ink-3);opacity:1}
.claim.sent label,.claim.sent #c-send{display:none}
/* An open form gets the room: the code panel and the action row wait until it closes or is sent. claiming is set with the
   form (claimFlag); a :has() here restyled the card on every fill. */
#v-place:is(#v-place.claiming.claiming) :is(.code-wrap,.actions):not(#c-form *){display:none}
.claim-msg{font-size:13px;color:var(--ink-2,var(--ink));line-height:1.45}
.claim-msg.err{color:var(--warn-fg);font-weight:600}
.claim-msg:empty{display:none}
.cm.on::after{content:","}
