/* Veřejná Kronika – jen komponenty Kroniky.
   Základ (fonty, barvy, typografie, hlavička, patička, tlačítka, formuláře, .head, .crumbs, .tag, .notice, .empty)
   je v /assets/style.css hlavního webu (discord-rp-web), který se načítá před tímhle souborem.
   Barva záznamu je --rc (jen dekorativní pruhy a body); --c zůstává barvou sekce z hlavního webu. */

:root { --rc: var(--red); --kr-sub-h: 52px; }
html { scroll-padding-top: calc(66px + var(--kr-sub-h) + 16px); }

/* ---------------------------------------------------------------- podnavigace Kroniky */
.kr-sub { position: sticky; top: 66px; z-index: calc(var(--z-sticky) - 1); background: var(--black); border-bottom: 2px solid var(--line); }
.kr-sub-in { display: flex; align-items: center; justify-content: space-between; gap: 6px 16px; min-height: var(--kr-sub-h); overflow-x: auto; scrollbar-width: none; }
.kr-sub-in::-webkit-scrollbar { display: none; }
.kr-tabs, .kr-me { display: flex; align-items: center; gap: 6px; flex: none; }
.kr-sub a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 2px 12px 0; flex: none; font: 800 1.02rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; color: var(--grey); border: 2px solid var(--line); }
.kr-sub a:hover { border-color: var(--c); color: var(--white); }
.kr-sub a[aria-current] { background: var(--white); border-color: var(--white); color: var(--black); }
.kr-me a { border-color: transparent; }
.kr-me a:last-child:not(.kr-out), .kr-me a.kr-mine { border-color: var(--red); color: var(--white); }
.kr-me a:last-child:not(.kr-out):hover, .kr-me a.kr-mine:hover { background: var(--red); color: var(--red-ink); }
.kr-me a.kr-out { font-size: .9rem; padding: 2px 8px 0; }
.kr-bell { position: relative; width: 40px; padding: 0 !important; }
.kr-bell .ico { width: 20px; height: 20px; }
.kr-bell b { position: absolute; top: -2px; right: -4px; min-width: 18px; height: 18px; padding: 2px 4px 0; display: grid; place-items: center; background: var(--red); color: var(--red-ink); font: 800 .8rem/1 var(--body); }
/* language switch EN / CZ */
.kr-end { display: flex; align-items: center; gap: 6px 12px; flex: none; }
.kr-lang { display: flex; align-items: center; flex: none; }
.kr-lang a { min-height: 32px; min-width: 40px; padding: 2px 8px 0; font-size: .9rem; border-color: var(--line); }
.kr-lang a + a { border-left-width: 0; }
@media (max-width: 1020px) { .nav-open .kr-sub { visibility: hidden; } }

/* ---------------------------------------------------------------- stránka */
.kr-page { padding-top: clamp(20px, 3vw, 32px); }
.btn-sm { min-height: 40px; }
.who-menu summary { min-height: 40px; }
.linkbtn { background: none; border: 0; padding: 8px 4px; min-height: 40px; color: var(--grey); font: 600 .9rem var(--body); text-decoration: underline; text-decoration-color: var(--c); text-underline-offset: .2em; cursor: pointer; }
.linkbtn:hover { color: var(--white); }

/* ---------------------------------------------------------------- filtry */
.filters { gap: 12px 14px; padding-top: 0; margin-bottom: 20px; }
.filters .grow { flex: 1 1 260px; }
.filters .grow input { width: 100%; }
.filters .more { flex: 1 1 100%; order: 3; }
.filters .more summary { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; cursor: pointer; list-style: none; font: 800 1.02rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--grey); }
.filters .more summary::-webkit-details-marker { display: none; }
.filters .more summary::before { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border: 2px solid var(--line); font: 800 1rem/1 var(--body); }
.filters .more[open] summary::before { content: "–"; }
.filters .more summary:hover { color: var(--white); }
.filters .more-in { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 12px 14px; margin-top: 10px; }
.filters .more-in select, .filters .more-in input { width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 2px 12px 0; border: 2px solid var(--line); font: 800 1rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; color: var(--grey); }
.chip b { font-weight: 900; color: var(--white); }
.chip:hover { border-color: var(--c); color: var(--white); }
.chip.on { background: var(--red); border-color: var(--red); color: var(--red-ink); }
.chip.on b { color: var(--red-ink); }

/* ---------------------------------------------------------------- karty záznamů */
.grid { display: grid; gap: 4px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.grid.small { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.card { display: flex; flex-direction: column; background: var(--black-2); border: 2px solid transparent; text-decoration: none; content-visibility: auto; contain-intrinsic-size: auto 340px; }
.card:hover { border-color: var(--c); color: var(--white); }
.card .pic { aspect-ratio: 16 / 9; background: var(--black-3); overflow: hidden; border-bottom: 4px solid var(--rc); }
.card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
.card:hover .pic img { transform: scale(1.05); }
.card .pic.none { display: grid; place-items: center; background: var(--black-3); }
.card .pic.none span { font: 900 4rem/1 var(--display); color: var(--rc); }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card h3 { font-size: clamp(1.5rem, 1.3rem + .6vw, 1.8rem); margin: 0; transition: color .15s; }
.card:hover h3 { color: var(--c); }
.kind { display: inline-flex; align-items: center; gap: 8px; font: 800 .95rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--grey); }
.kind::before { content: ""; width: 10px; height: 10px; background: var(--rc); flex: none; }
.meta { color: var(--grey); font-size: .92rem; margin: 0; font-weight: 600; }
.sum { color: var(--grey); font-size: .95rem; margin: 4px 0 0; }
.by { color: var(--grey); font-size: .88rem; margin: auto 0 0; padding-top: 8px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 32px 0 0; font: 800 1.15rem/1 var(--display); }
.empty h1, .empty h2 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); color: var(--white); }
.empty p:last-child { margin: 0; }

/* ---------------------------------------------------------------- osa */
.tl-month { padding-top: clamp(28px, 4vw, 44px); }
.tl-month:first-of-type { padding-top: 8px; }
.tl-month h2 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); border-bottom: 2px solid var(--white); padding-bottom: 10px; margin-bottom: 0; }
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 24px; padding: 20px 0 20px 18px; border-bottom: 2px solid var(--line); border-left: 4px solid var(--rc); margin-left: 0; }
.tl time { font: 800 1.1rem/1.3 var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--grey); }
.tl b { font: 900 clamp(1.4rem, 1.2rem + .8vw, 1.8rem)/1.05 var(--display); text-transform: uppercase; }
.tl a { text-decoration: none; }
.tl a:hover b { color: var(--c); }
.tl .kind { margin-left: 8px; vertical-align: .2em; }
.tl .kind::before { display: none; }
.tl p { margin: 6px 0 0; color: var(--grey); max-width: 72ch; }
.tl .by { padding-top: 4px; }
.ingame { display: inline-block; font-style: italic; font-weight: 600; color: var(--white); font-size: .95rem; margin-left: 8px; }

/* ---------------------------------------------------------------- kalendář */
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 4px 0 16px; }
.cal-head h2 { margin: 0; font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem); text-align: center; }
.cal-head .btn { min-width: 52px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-w { text-align: center; font: 800 1rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--grey); padding: 6px 0 8px; }
.cal-d { min-height: 104px; background: var(--black-2); padding: 6px; display: flex; flex-direction: column; gap: 3px; min-width: 0; border: 2px solid transparent; }
.cal-d.out { background: transparent; }
.cal-d.has { border-color: var(--line); }
.cal-d .n { font: 800 1.15rem/1 var(--display); color: var(--grey); margin-bottom: 2px; }
.cal-d.has .n { color: var(--white); }
.cal-d a { display: block; font-size: .82rem; font-weight: 600; line-height: 1.3; padding: 3px 6px; background: var(--black-3); border-left: 4px solid var(--rc); color: var(--white); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-d a:hover { background: var(--white); color: var(--black); }
.cal-d .more { font-size: .8rem; color: var(--grey); font-weight: 600; }
.cal-list { list-style: none; margin: 28px 0 0; padding: 0; border-top: 2px solid var(--white); }
.cal-list li { padding: 14px 0; border-bottom: 2px solid var(--line); }
.cal-list a { font: 900 1.4rem/1.1 var(--display); text-transform: uppercase; text-decoration: none; margin-right: 8px; }
.cal-list a:hover { color: var(--c); }

/* ---------------------------------------------------------------- detail záznamu */
.rec-head { border-top: 6px solid var(--rc); }
.rec-head-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px 40px; align-items: end; }
.rec-head-in:has(.rec-pic) { grid-template-columns: clamp(160px, 22vw, 260px) minmax(0, 1fr); }
.rec-pic { aspect-ratio: 1; background: var(--black-3); border: 2px solid var(--white); overflow: hidden; }
.rec-pic img { width: 100%; height: 100%; object-fit: cover; }
.rec-title { min-width: 0; }
.rec-title h1 { font-size: clamp(2.6rem, 1.5rem + 4.5vw, 5rem); margin: 10px 0 .2em; }
.rec-title .lead { color: var(--white); }
.rec-title .by { font-size: .95rem; padding: 0; margin: 12px 0 0; }
.badge { display: inline-block; font: 800 .88rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; padding: 5px 7px 3px; border: 2px solid var(--line); }
.actions:not(:empty) { margin-top: 18px; }
.rec-layout { gap: 40px 48px; }
.rec-layout.solo { grid-template-columns: minmax(0, 1fr); }
.rec-aside { top: calc(66px + var(--kr-sub-h) + 20px); grid-column: 2; grid-row: 1; }
.rec-main { grid-column: 1; grid-row: 1; min-width: 0; }
.rec .facts { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; border-top: 2px solid var(--white); }
.rec .facts > div { padding: 12px 0; border-bottom: 2px solid var(--line); }
.rec .facts dt { font: 800 1rem/1.3 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--grey); }
.rec .facts dd { margin: 2px 0 0; overflow-wrap: anywhere; }
.rec .facts .tag { display: inline-block; margin: 2px 2px 0 0; }
@media (max-width: 900px) {
  .rec-aside, .rec-main { grid-column: auto; grid-row: auto; }
  .rec .facts { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); column-gap: 20px; }
}
@media (max-width: 600px) {
  .rec-head-in:has(.rec-pic) { grid-template-columns: minmax(0, 1fr); }
  .rec-pic { width: 140px; }
}

/* bloky obsahu: jako .section hlavního webu */
.block { padding-top: clamp(36px, 5vw, 56px); }
.block:first-child { padding-top: 0; }
.block > h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); border-bottom: 2px solid var(--white); padding-bottom: 10px; margin-bottom: 20px; }
.prose { overflow-wrap: anywhere; }
.prose img { margin: 12px 0; }
.prose blockquote { border-left: 4px solid var(--c); margin: 0 0 1em; padding-left: 16px; color: var(--grey); }
.prose h2, .prose h3 { margin-top: 1em; }
.letter { font-style: italic; }
.mention { color: var(--white); font-weight: 700; text-decoration: underline; text-decoration-color: var(--c); }
span.mention { text-decoration: none; }
.block .entry { padding: 22px 0; border-bottom: 2px solid var(--line); }
.block .entry:first-of-type { padding-top: 0; }
.block .entry header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 8px; }
.block .entry h3 { margin: 0; }
.block .entry header p { margin: 0; }
.block .entry .ingame { margin-left: 0; }
.entry .shot { max-width: min(100%, 560px); margin: 10px 0; }
.people { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 4px; }
.people li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--black-2); padding: 10px 12px; min-height: 60px; }
.people li > a { font-weight: 700; }
.people .av { width: 40px; height: 40px; object-fit: cover; flex: none; }
.people .av.none { display: grid; place-items: center; background: var(--black-3); color: var(--white); font: 900 1.4rem/1 var(--display); }
.people .role { margin-left: auto; font: 800 .95rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em; color: var(--grey); }
.people p { flex-basis: 100%; margin: 0; font-size: .9rem; }
.rec .list { border-top: 2px solid var(--white); }
.rec .list li { padding: 12px 0; border-bottom: 2px solid var(--line); }
.rec .list li > a { font-weight: 700; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 4px; }
.gallery figure { margin: 0; background: var(--black-2); }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery figcaption { font-size: .88rem; color: var(--grey); padding: 8px 10px; }

/* ---------------------------------------------------------------- video s momenty */
.video { margin-bottom: 28px; }
.yt { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; border: 2px solid var(--white); }
.yt iframe, .yt-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { padding: 0; cursor: pointer; background: #000; }
.yt-play img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.yt-play .play { position: absolute; inset: 0; margin: auto; width: 84px; height: 60px; display: grid; place-items: center; background: var(--red); color: var(--red-ink); font-size: 26px; transition: transform .18s cubic-bezier(.22, 1, .36, 1), box-shadow .18s cubic-bezier(.22, 1, .36, 1); }
.yt-play:hover .play, .yt-play:focus-visible .play { transform: translate(-3px, -3px); box-shadow: 3px 3px 0 var(--white); }
.yt-play:focus-visible { outline: 3px solid var(--white); outline-offset: -6px; }
.vt { margin: 10px 0 12px; font-weight: 700; }
.vt a.muted { font-weight: 500; margin-left: 8px; }
.moments { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--line); }
.moments li { border-bottom: 2px solid var(--line); }
.moments a { display: flex; align-items: baseline; gap: 14px; padding: 10px 4px; min-height: 44px; text-decoration: none; font-weight: 600; }
.moments a:hover { background: var(--black-2); color: var(--white); }
.moments time { font: 800 1.15rem/1 var(--display); color: var(--c); font-variant-numeric: tabular-nums; min-width: 64px; flex: none; }
.moments p { margin: -4px 0 10px 82px; font-size: .92rem; }

/* ---------------------------------------------------------------- lore registr, wiki, moderace, upozornění */
.lore .facts { margin-bottom: 8px; border-top: 0; }
.sub { margin-top: 28px; }
.sub > h3, .sub > summary h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin-bottom: 10px; }
details.sub > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px; min-height: 44px; }
details.sub > summary::-webkit-details-marker { display: none; }
details.sub > summary::before { content: "+"; display: grid; place-items: center; width: 24px; height: 24px; border: 2px solid var(--line); font: 800 1rem/1 var(--body); flex: none; }
details.sub[open] > summary::before { content: "–"; }
details.sub > summary h3 { margin: 0; }
.items { list-style: none; padding: 0; margin: 0 0 14px; border-top: 2px solid var(--line); }
.items li { padding: 14px 0; border-bottom: 2px solid var(--line); }
.items li.unread { border-left: 4px solid var(--red); padding-left: 14px; }
.items li p { margin: 6px 0 0; }
.items li .row { margin-top: 10px; gap: 8px; }
.items .h { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.items .st { font: 800 .88rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; padding: 5px 7px 3px; border: 2px solid var(--line); color: var(--grey); }
.items .st.ok { border-color: var(--ok); color: var(--ok); }
.items .st.no { border-color: var(--bad); color: var(--bad); }
.items .st.wait { border-color: var(--warn); color: var(--warn); }
.kr-live > h2 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); border-bottom: 2px solid var(--white); padding-bottom: 10px; margin: 32px 0 0; }
.kr-live > h2:first-child { margin-top: 0; }
.wiki > div > .row:first-child { margin-bottom: 8px; }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font-weight: 600; cursor: pointer; }
.check input { width: 20px; height: 20px; padding: 0; accent-color: var(--red); }
.form { gap: 14px; margin-top: 14px; }
.form textarea { width: 100%; }

/* dialogy */
dialog { background: var(--black-2); color: var(--white); border: 2px solid var(--white); padding: 0; width: min(700px, 100% - 24px); max-height: calc(100dvh - 24px); box-shadow: 6px 6px 0 var(--red); }
dialog::backdrop { background: oklch(0 0 0 / .72); }
dialog .dlg { padding: 20px 22px 22px; display: grid; gap: 14px; overflow: auto; max-height: calc(100dvh - 28px); }
dialog .dlg-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 2px solid var(--line); padding-bottom: 12px; }
dialog .dlg-h h2 { margin: 0; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); }
dialog .dlg-h .btn { min-width: 40px; padding-inline: 10px; }
.dlg label, .form label { display: grid; gap: 6px; }
.dlg label > span, .form label > span, .field .lbl { font: 800 1rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--grey); }
.field { display: grid; gap: 6px; }
.dlg input, .dlg select, .dlg textarea { width: 100%; }
.dlg .two.form, .two.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; }
.diff { line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--black); border: 2px solid var(--line); padding: 14px; max-height: 60vh; overflow: auto; }
.diff ins { background: oklch(0.82 0.17 145 / .22); color: oklch(0.93 0.08 145); text-decoration: none; }
.diff del { background: oklch(0.72 0.19 25 / .24); color: oklch(0.9 0.07 25); }
.editor { min-height: 200px; max-height: 50vh; overflow: auto; background: var(--black-2); border: 2px solid var(--line); padding: 10px 12px; }
.editor:focus { border-color: var(--c); outline: none; }
.toolbar { display: flex; gap: 4px; flex-wrap: wrap; }
.toolbar .btn { min-width: 44px; }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 50; max-width: calc(100% - 32px); padding: 12px 18px; background: var(--white); color: var(--black); font-weight: 600; box-shadow: 4px 4px 0 var(--red); }
.toast.err { background: var(--bad); color: var(--red-ink); box-shadow: 4px 4px 0 var(--white); }

/* ---------------------------------------------------------------- mobil */
@media (max-width: 760px) {
  .tl li { grid-template-columns: minmax(0, 1fr); padding-left: 14px; }
  .cal { gap: 2px; }
  .cal-w { font-size: .85rem; }
  .cal-d { min-height: 52px; padding: 4px; }
  .cal-d .n { font-size: 1rem; }
  /* na mobilu se akce v buňkách jen naznačí, odkazy jsou v seznamu pod kalendářem */
  .cal-d a, .cal-d .more { display: none; }
  .cal-d.has { border-color: var(--red); }
  .cal-d.has::after { content: ""; display: block; height: 6px; margin-top: auto; background: var(--red); }
  .two.form, .dlg .two.form { grid-template-columns: 1fr; }
  .filters .more-in { grid-template-columns: 1fr 1fr; }
  .moments p { margin-left: 4px; }
}
@media (max-width: 440px) { .kr-sub a { padding-inline: 10px; } }
@media (prefers-reduced-motion: reduce) {
  .card .pic img, .card:hover .pic img, .yt-play .play, .yt-play:hover .play { transition: none; transform: none; }
}
/* dotykové cíle ≥ 40 px i u odkazů v seznamech */
.tl a, .cal-list a, .people li > a, .rec .list li > a { display: inline-flex; align-items: center; min-height: 40px; }

/* ---------------------------------------------------------------- sdílení záznamu */
dialog:has(.share) { width: min(540px, 100% - 24px); }
.share { display: grid; gap: 16px; }
.share-vis { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; min-width: 0; }
.share-vis legend { padding: 0 0 6px; font: 800 1rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--grey); }
.dlg .share-opt { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 2px solid var(--line); cursor: pointer; }
.share-opt:hover { border-color: var(--grey); }
.share-opt:has(input:checked) { border-color: var(--rc, var(--red)); background: var(--black-3); }
.share-opt:has(input:focus-visible) { outline: 2px solid var(--white); outline-offset: 2px; }
.dlg .share-opt input { width: 20px; height: 20px; margin: 2px 0 0; padding: 0; flex: none; accent-color: var(--red); }
.dlg .share-opt > span { display: grid; gap: 2px; font: 400 1rem/1.35 var(--body); text-transform: none; letter-spacing: normal; color: var(--white); }
.share-opt b { font-weight: 700; }
.share-opt small { color: var(--grey); font-size: .9rem; }
.share-link input { font-family: ui-monospace, Consolas, monospace; font-size: .92rem; }
.share-btns { gap: 8px; }

/* ---------------------------------------------------------------- připojení aplikace (/kosmas/connect) */
.connect { max-width: 640px; }
.connect-card { display: grid; gap: 14px; padding: 20px 22px; background: var(--black-2); border: 2px solid var(--line); border-left: 4px solid var(--red); }
.connect-card p { margin: 0; }
.connect-list { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.connect-actions { gap: 10px; }
.connect-actions .btn { min-width: 140px; }
.connect-code { font: 800 1.2rem/1 ui-monospace, Consolas, monospace; letter-spacing: .08em; }
.connect-code-form label { display: grid; gap: 6px; }
.connect-code-form label > span { font: 800 1rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--grey); }
.connect-code-form input { width: 100%; max-width: 280px; font: 800 1.4rem/1 ui-monospace, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 520px) { .connect-actions .btn { flex: 1 1 100%; } .connect-card { padding: 16px; } }
