:root {

  color-scheme: dark;

  --bg:        #000000;
  --card:      #21201F;
  --row:       #2B2A28;
  --hero:      #FFEC42;
  --action:    #FFCC00;
  --action-2:  #FFDB4D;
  --success:   #00A046;
  --success-t: #3FBF74;

  --game-rating: #5AC8FA;

  --c960:      #B48CFF;
  --danger:    #FF3333;
  --ink:       #21201F;

  --t1: #FFFFFF;
  --t2: rgba(255,255,255,.62);
  --t3: rgba(255,255,255,.42);
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.16);

  --gap: 10px;

  --gap-head: 30px;

  --tb-back-size: 44px;
  --tb-back-bottom: 6px;

  --tb-back-icon: 30px;
  --tb-bell-icon: 28px;

  --select-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff88' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");

  --plate: rgba(255, 255, 255, .07);

  --r-card: 22px;
  --r-row: 16px;
  --p-card: 16px;
  --r-btn: 14px;
  --r-pill: 9999px;

  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, Menlo, Consolas, monospace;

  --safe-top: 0px;
  --safe-bottom: 0px;

  --tb-side: 116px;
  --tb-title-inset: 16px;

  --tb-tg-menu-inset: 86px;
  --tb-city-gap: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

[hidden] { display: none !important; }

html, body {
  -webkit-user-select: none; user-select: none;
  -webkit-touch-callout: none;
}

img { -webkit-user-drag: none; }
input, textarea, [contenteditable], .selectable,

.login-code, .card-desc, a[href] {
  -webkit-user-select: text; user-select: text;
  -webkit-touch-callout: default;
}

html, body {
  height: 100%;

  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;

  overflow: hidden;
  background: var(--bg);
  color: var(--t1);
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: var(--action); text-decoration: none; }

#root { position: relative; display: flex; flex-direction: column; height: var(--app-h, 100%); }

@media (min-width: 560px) {
  body {
    display: flex; align-items: center; justify-content: center;
    background: #0E0E0E;
  }
  #root {

    --app-column-width: min(420px, calc((var(--app-h, 100vh) - 32px) / 2.1));
    width: var(--app-column-width);

    height: min(var(--app-h, 100%) - 32px, 880px);
    border: 1px solid var(--line);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
  }
}

#topbar, .tbghost {
  position: relative;
  display: flex; align-items: center; justify-content: center;

  --tb-row-top: calc(3px + max(env(safe-area-inset-top, 0px), var(--safe-top)));
  --tb-row-bottom: 17px;

  height: calc(var(--tb-row-top) + var(--tb-back-size) + var(--tb-row-bottom));
  padding-top: var(--tb-row-top);
  padding-right: var(--tb-side); padding-bottom: var(--tb-row-bottom); padding-left: var(--tb-side);

  flex: none;
}

.tb-back {
  position: absolute; left: 6px; bottom: 4px;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0;
  border: 0; background: none; color: var(--text); cursor: pointer;
  border-radius: 50%;
}
.tb-back:active { background: var(--line); }

.tb-bell {
  position: absolute;

  top: auto; bottom: auto;
  right: var(--tb-bell-inset);
  display: flex; align-items: center; justify-content: center;
  padding: 0; cursor: pointer;
  border-radius: 50%;
}
.tb-bell svg { width: var(--tb-bell-icon); height: var(--tb-bell-icon); }

#topbar, .tbghost {
  --tb-menu-bell-inset: calc(var(--tb-tg-menu-inset) + env(safe-area-inset-right, 0px)
                            + var(--tb-city-gap));
  --tb-bell-inset: max(var(--tb-menu-bell-inset),
                       min(var(--tb-games-bell-inset, 0px),
                           calc(100vw - var(--tb-side) - var(--tb-title-inset)
                                - var(--tb-back-size) - var(--tb-city-gap))));
  padding-inline: max(calc(var(--tb-side) + var(--tb-title-inset)),
                      calc(var(--tb-bell-inset) + var(--tb-back-size) + var(--tb-city-gap)));
}
.own-back #topbar, .own-back .tbghost {
  padding-left: var(--tb-side); padding-right: var(--tb-side);
}

.own-back .tb-bell {

  right: 10px;
}

.tb-bell-badge {
  position: absolute; top: 0; right: 0; min-width: 16px; height: 16px;
  padding: 0 4px; border-radius: 8px; background: #FF3B30; color: #fff;
  font: 600 11px/16px var(--sans); text-align: center; font-style: normal;
}
.tb-back svg { width: var(--tb-back-icon); height: var(--tb-back-icon); }

.tb-qr svg { width: var(--tb-bell-icon); height: var(--tb-bell-icon); }

.tb-title {
  font-size: 18px; font-weight: 600; letter-spacing: -.01em; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}

.logo-img { display: block; width: auto; object-fit: contain; }

.ava-img {
  display: block; width: calc(100% + 2px); height: calc(100% + 2px);
  margin: -1px; object-fit: cover; border-radius: 50%;
}

.empty-icon .logo-img { width: 62%; height: auto; position: relative; }

[data-ini] { color: #fff !important; }

.opp-ava { display: flex; align-items: center; justify-content: center;
  font: 600 18px/1 var(--sans); color: rgba(33,32,31,.55); overflow: hidden; }
.prof-ava { display: flex; align-items: center; justify-content: center;
  font: 600 26px/1 var(--sans); color: var(--t2); overflow: hidden; }

#screen { position: fixed; left: 0; right: 0; top: 0; height: var(--app-h, 100%);
  overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding: 14px 16px 20px;

  overscroll-behavior: contain;

  transition: transform .2s ease-out; }
#screen::-webkit-scrollbar { display: none; }
#screen.flush { padding: 0; }

.stack { display: flex; flex-direction: column; gap: var(--gap); }

.stack--even { gap: 10px; }

.sec-head {
  display: flex; align-items: baseline; justify-content: space-between;
  font-size: 16px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: var(--t3);

  margin-top: calc(var(--gap-head) - var(--gap));
}

.sec-sub,
.hint-under {
  margin-top: calc(6px - var(--gap)); color: var(--t3);
  font-size: 15px; line-height: 1.35;
}

.sec-head .link { color: var(--action); text-transform: uppercase; letter-spacing: .06em;
  font-size: 16px; font-weight: 500; }

.sec-head--link {
  color: var(--action); width: 100%;
  padding: 0; border: 0; background: none; text-align: left;
  font-family: inherit;
}
@media (hover: hover) { .sec-head--link:active { opacity: .6; } }

.sec-head .sec-head-edit { margin-left: 10px; padding: 0; border: 0; background: none;
  cursor: pointer; font-family: inherit; }

.act-totals { padding-top: 4px; }
.act-reg, .act-src { margin: 0; font-size: 17px; color: var(--t2); }

.act-reg .act-ref { font-size: inherit; text-decoration: none; }
.sec-head--roster { flex-wrap: wrap; row-gap: 4px; align-items: center; }
.sec-head--roster .sec-head-main { white-space: nowrap; }
.sec-head--roster .sec-wdl { margin-left: auto; }

.sec-head--att .sec-head-main { order: 0; }
.sec-head--roster .sec-head-main--summary { min-width: 0; white-space: normal; }
.sec-head--att .sec-head-main--summary { flex: 1 1 0; }
#screen[data-screen="tournament"] {
  --roster-rsvp-size: 11.2px;

  --roster-rsvp-maybe-size: calc(var(--roster-rsvp-size) + .8px);
}
.roster-confirmed-total, .roster-maybe-total { white-space: nowrap; word-spacing: -.156em; }

.roster-confirmed-mark, .roster-maybe-mark {
  display: inline-flex; vertical-align: middle; font-size: var(--roster-rsvp-size); line-height: 1;
  position: relative; top: -.115em; top: calc((1ex - 1cap) / 1.4);
}
.sec-head--att .sec-wdl { order: 1; }
.sec-head--att .att-head { order: 2; }
.sec-head.sec-head--att .sec-head-tools { order: 3; flex-basis: 100%; margin-left: 0; text-align: left; }

.sec-head-tools { display: inline-flex; align-items: center; margin-left: 10px; }
.sec-head .sec-head-tools .sec-head-edit { margin-left: 0; }
.sec-head-tools .sec-head-edit + .roster-eye { margin-left: 8px; }

.roster-sort.roster-eye { border: 0; background: none; font: inherit; top: 0;
  align-self: center; padding: 0 4px; margin-block: -8px; }

.roster-sort.roster-eye svg { height: calc(.705em * 640 / 448); height: calc(1cap * 640 / 448);
  width: calc(.705em * 640 / 448); width: calc(1cap * 640 / 448); }

.people-list--no-left > .plr--left { display: none; }

.att-head { flex: none; display: flex; align-items: center; margin: 0 2px 0 auto; }
.att-word { width: 52px; text-align: center; }
.att-all { display: flex; align-items: center; padding: 6px 4px; margin-block: -6px;
  background: none; border: 0; color: var(--t2); cursor: pointer; }
@media (hover: hover) { .att-all:active { opacity: .6; } }

.sec-sub.att-draw { color: var(--t1); font-size: 17px; }

.att-all svg { display: block; height: .705em; height: 1cap;
  width: calc(.705em * 393 / 468); width: calc(1cap * 393 / 468); }

.att-sw { flex: none; align-self: stretch; margin: -9px -2px -9px auto;
  padding: 0 15px 0 30px; background: none; border: 0; display: flex;
  align-items: center; justify-content: center; cursor: pointer; }
.att-sw .sw, .plr-sw .sw { width: 30px; height: 30px; border-radius: 50%; box-sizing: border-box;
  background: none; border: 2px solid rgba(255, 255, 255, .35); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s; }
.att-sw .sw svg, .plr-sw .sw svg { display: block; width: 19px; height: 19px; opacity: 0; }
.att-sw .sw--on, .plr-sw .sw--on { background: var(--success); border-color: var(--success); }
.att-sw .sw--on svg, .plr-sw .sw--on svg { opacity: 1; }
@media (hover: hover) { .att-sw:active { opacity: .7; } }

.att-mark { flex: none; width: 52px; margin: 0 2px 0 auto; display: flex;
  justify-content: center; }
.att-mark i { display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--success); color: #fff; }
.att-mark svg { display: block; width: 19px; height: 19px; }

.plr-name-go { cursor: pointer; }
@media (hover: hover) { .plr-name-go:active { opacity: .6; } }

.gb-edit--card { display: flex; gap: 8px; align-items: center; }

.plr--editing .plr-wins,
.plr--editing .badge--role { display: none; }
.plr--editing .plr-mid { flex: 1; min-width: 0; }
.gb-edit--card .field { flex: 1; min-width: 0; }
.gb-edit--card .btn { flex: none; width: auto; padding: 0 14px; }
@media (hover: hover) { .sec-head-edit:active { opacity: .6; } }

.roster-sort {
  display: inline-flex; align-items: center; justify-content: center;
  vertical-align: middle; margin-left: 4px; padding: 6px 4px; margin-block: -6px;

  position: relative; top: -.08em; top: calc((1ex - 1cap) / 2);
  color: var(--t2); cursor: pointer; flex: none;
}

#roster-sort + .roster-eye {
  margin-left: 0; top: -.08em; top: calc((1ex - 1cap) / 2);
}
.roster-sort svg { display: block; height: .705em; height: 1cap;
  width: calc(.705em * 640 / 452); width: calc(1cap * 640 / 452); }
@media (hover: hover) { .roster-sort:active { opacity: .6; } }

.roster-pdf { margin-left: auto; border: 0; background: none;
  align-self: center; top: 0; margin-block: -6px; }
.roster-pdf svg { height: 1.25em; width: 1.25em; }

.roster-pdf { gap: 6px; font: 500 15px/1.2 var(--sans); letter-spacing: 0; text-transform: none; }
.roster-pdf-word { white-space: nowrap; }
.sec-head > span:has(+ .roster-pdf) { white-space: nowrap; }

.gb-open-ico { flex: none; display: flex; color: var(--t2); }
.gb-open-ico svg { width: 22px; height: 22px; display: block; }

.sec-head .link--danger { color: var(--danger); }

.card {
  background: var(--card); border-radius: var(--r-card); padding: var(--p-card);
  display: flex; flex-direction: column; gap: 12px; width: 100%; text-align: left;
  border: 1px solid transparent; transition: border-color .15s, transform .1s;
}

@media (hover: hover) {
  button.card:active,
  .card--tap:active,
  .card[data-go]:active,
  .card[data-tap]:active { transform: scale(.99); }
}

.card--choice {

  background: rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  border-color: rgba(255, 255, 255, .14);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .30);
  padding: 18px;
}
@media (hover: hover) { .card--choice:active { background: rgba(255, 255, 255, .11); } }

@media (hover: hover) { .card--choice:active { transform: scale(.985); } }

.card--choice .card-title { font-size: 19px; }
.card--choice .card-meta { color: var(--t2); }

.linkish {
  align-self: flex-start; padding: 0;
  font-size: 17px; font-weight: 500; color: var(--action);
  text-decoration: underline dashed; text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 204, 0, .55);
}
@media (hover: hover) { .linkish:active { opacity: .6; } }

.link-edit {
  align-self: center; padding: 4px 0;
  font-size: 17px; font-weight: 500; color: var(--danger);
  text-decoration: none;
}
@media (hover: hover) { .link-edit:active { opacity: .6; } }

.btn--edit, .btn-step { margin-top: 0; }

.btn-main-flow.edit-tail, .btn.edit-tail { margin-top: 10px; }

#t-tables-box, #t-start, #t-start-meetup.btn-step { margin-top: 10px; }

.card--photo { padding-top: 0; }
.card-photo {
  display: block;

  width: calc(100% + 34px); margin: -1px -17px 0;
  height: 132px; object-fit: cover;
  border-radius: var(--r-card) var(--r-card) 0 0;
  background: var(--row);
}
.card--live { border-color: rgba(255,51,51,.4); }
.card--accent { background: var(--hero); color: var(--ink); }

.card-top { display: flex; align-items: flex-start; gap: 10px; }

.card-top--mid { align-items: center; }
.card-title { flex: 1; font-size: 20px; font-weight: 600; line-height: 1.25;
  letter-spacing: -.01em; min-width: 0; }

.card-meta { display: flex; flex-wrap: wrap; align-items: center;
  gap: 6px 12px; font-size: 17px; color: var(--t2); }
.card--accent .card-meta { color: rgba(33,32,31,.62); }
.card-meta b { color: var(--t1); font-weight: 500; }
.card--accent .card-meta b { color: var(--ink); }

.card-more { color: var(--action); font-weight: 500; text-decoration: none; }

.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 30px;
  padding: 0 12px 1px;
  border-radius: var(--r-pill); font-size: 16px; font-weight: 500; flex: none;
}

.card-side { display: flex; flex-direction: column; align-items: stretch; gap: 6px; flex: none; }
.card-side > .badge { align-self: flex-start; }

.card--qr { display: flex; flex-direction: row; align-items: stretch; gap: 12px; }

.card--qr > .card-main {
  flex: 1; min-width: 0; display: flex; flex-direction: column;
}

.card--qr > .card-main > .card-title { flex: none; }
.card--qr > .card-main > * { margin-bottom: 12px; }
.card--qr > .card-main > *:last-child { margin-bottom: 0; }

.card--qr .card-meta--more {
  margin-top: auto;

  position: relative; top: .25em;
}

.card--qr > .card-side {
  order: 2; flex: none; align-self: flex-end;
  width: 42%; min-width: 118px; max-width: 190px;
}

.card--qr > .card-meta { display: block; }

.card--qr > .card-meta--chips {
  display: flex; flex-wrap: wrap; gap: 6px; overflow: hidden;
}
.card--qr > .card-meta > * { margin-right: 12px; }
.card--qr > .card-meta--dots > span + span { margin-left: 0; }

.card-qr-mid {
  display: flex; align-items: center; gap: 14px; text-align: left; width: 100%;

  flex-wrap: wrap;
  margin-top: 10px; padding: 12px;
  background: var(--row);
  border: 1px solid var(--line);

  border-radius: var(--r-btn);
  cursor: pointer;
  transition: transform .12s cubic-bezier(.2, .8, .2, 1);
}
@media (hover: hover) { .card-qr-mid:active { transform: scale(.985); } }

.card-qr-mid .card-qr {
  width: 124px; min-width: 0; flex: none;
  padding: 8px; border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .28);
}
.card-qr-note { flex: 1; min-width: 0; }

.card-qr-more { flex: 1 0 100%; text-align: center; font-size: 15px; }
.card-qr-head { font: 600 17px/1.25 var(--sans); color: var(--t1); }
.card-qr-text { margin-top: 5px; font: 400 15px/1.35 var(--sans); color: var(--t2); }

@media (max-width: 360px) {
  .card-qr-mid { flex-direction: column; text-align: center; }
  .card-qr-mid .card-qr { width: 150px; }
}

.card-qr {

  width: 0; min-width: 100%; aspect-ratio: 1;
  background: #fff; border-radius: 8px; padding: 4px; display: block;
}
.badge--live   { background: var(--danger); color: #fff; }

.badge--tap    { cursor: pointer; }

.badge--open   { background: rgba(0,160,70,.18); color: var(--success-t); }

.badge--mine   { background: var(--row); color: var(--success-t); }

.badge--role   { background: var(--row); color: var(--t2); gap: 5px;
  height: 30px; padding: 0 12px; font-size: 15px; }

.plr .plr-name { overflow-wrap: normal; word-break: normal; }

.badge--challenge { background: var(--action); color: var(--ink); font-weight: 600; }
.badge--closed { background: var(--row); color: var(--t2); }
.badge--done   { background: rgba(0,160,70,.18); color: var(--success-t); }

.badge--draft  { background: var(--row); color: var(--t3); border: 1px dashed var(--line-2); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  animation: pulse 2s ease-in-out infinite; }

.plr-playing { display: inline-flex; align-items: center; gap: 6px;
  color: var(--success-t); }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .5 } }

.tc { display: inline-flex; align-items: center; height: 28px; padding: 0 9px;
  border-radius: 8px; background: var(--row); color: var(--t1);

  font: 500 16px/1 var(--mono); letter-spacing: -.01em; flex: none;
  white-space: nowrap; }
.card--accent .tc { background: rgba(33,32,31,.1); color: var(--ink); }

.kind { display: inline-flex; align-items: center; height: 28px; padding: 0 8px;
  border-radius: 8px; background: var(--row); color: var(--t2);
  font: 500 15px/1 var(--sans); flex: none; }

.card-meta--dots span + span::before {
  content: '·'; color: var(--t3); margin-right: 12px;
}

.card-desc { display: block; line-height: 1.45; white-space: pre-line; }

.card-desc > * + * { margin-top: 8px; }
.desc-p { white-space: pre-line; }
.desc-row { display: flex; align-items: flex-start; gap: 12px; color: var(--t1); }
.desc-row > :last-child { min-width: 0; white-space: pre-line; }
.desc-row--q > :last-child { font-style: italic; }
.desc-ic { flex: none; width: 20px; height: 1.45em; display: flex;
  align-items: center; justify-content: center; color: var(--t2); }
.desc-ic svg { display: block; width: 18px; height: 18px; }
.desc-ic--emoji { font-size: 17px; line-height: 1; }
.card-desc > .desc-head { margin-top: 18px; font-size: 15px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; color: var(--t3); }
.card-desc > .desc-head + * { margin-top: 10px; }
.card-desc > .desc-head:first-child { margin-top: 0; }

.desc-title { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.25; color: var(--t1); }
.card-desc > .desc-title { margin-top: 26px; }
.card-desc > .desc-title:first-child { margin-top: 18px; }

.desc-faq > summary { display: flex; align-items: center; gap: 12px; min-height: 48px;
  padding: 2px 0; list-style: none; cursor: pointer; font-size: 17px; font-weight: 600;
  line-height: 1.3; color: var(--t1); -webkit-tap-highlight-color: transparent; }
.desc-faq > summary::-webkit-details-marker { display: none; }
.desc-faq > summary > span { flex: 1; min-width: 0; transition: color .12s; }

.desc-faq > summary { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

.desc-faq > summary.tapped { filter: none; transform: none; }
.desc-faq > summary.tapped > span { color: rgba(255, 255, 255, .7); }
@media (hover: hover) { .desc-faq > summary:active > span { color: rgba(255, 255, 255, .7); } }
.desc-faq > summary > svg { flex: none; width: 14px; height: 14px; color: var(--t3);
  transform: rotate(-90deg); transition: transform .2s; }
.desc-faq[open] > summary > svg { transform: none; }
.card-desc > .desc-faq + .desc-faq { margin-top: 0; }
.desc-ans { padding: 2px 0 14px; }
.desc-ans > * + * { margin-top: 8px; }
.card-meta--dots { gap: 6px 8px; }

.prof-ava:has(img) { cursor: pointer; }

#me-ava { transition: transform .12s cubic-bezier(.2, .8, .2, 1); }
#me-ava:not(:has(img)) { cursor: pointer; }
@media (hover: hover) { #me-ava:not(:has(img)):active { transform: scale(.94); } }

@keyframes qr-in-scrim { from { opacity: 0 } to { opacity: 1 } }
@keyframes qr-in-card {
  from { opacity: 0; transform: scale(.94) }
  to   { opacity: 1; transform: none }
}
.qr-wrap { animation: qr-in-scrim 140ms ease-out both; }
.qr-card { animation: qr-in-card 260ms cubic-bezier(.2, .8, .2, 1) both; }

.qr-wrap {

  position: fixed; left: 0; right: 0; top: 0; height: var(--app-h, 100%);
  z-index: 200; display: flex;
  align-items: center; justify-content: center; padding: 24px;

  background: rgba(0, 0, 0, .82);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.qr-card {
  background: rgba(28, 28, 30, .62);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .38);
  border-radius: 22px; padding: 20px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  max-width: 340px; width: 100%;
}

.qr-card .btn--ghost {
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .18);
}

.qr-card--tale { max-width: min(560px, calc(100vw - 32px)); }
.qr-title { font: 600 19px/1.25 var(--sans); text-align: center; }

.qr-img { width: 100%; max-width: 260px; border-radius: 12px; background: #fff;
  padding: 10px; }
.qr-note { font-size: 17px; line-height: 1.4; color: var(--t2); text-align: center; }

.qr-note--ask { font-size: 18px; }

.qr-wrap--full { padding: 0; }
.qr-card--full {
  max-width: none; width: 100%; height: 100%; border-radius: 0;
  padding: calc(16px + env(safe-area-inset-top)) 20px calc(16px + env(safe-area-inset-bottom));
  justify-content: flex-start; gap: 16px;
}
.qr-head { width: 100%; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.qr-card--full .qr-title { font-size: 20px; }

.qr-frame {
  flex: 1; min-height: 0; width: 100%;
  display: flex; align-items: center; justify-content: center;
}

.qr-frame--wait { aspect-ratio: 1; width: 100%; max-width: 260px; flex: none; }

.qr-card--std .qr-frame { flex: none; }
.qr-card--code .qr-frame--wait { max-width: 380px; }

@keyframes qr-img-in { from { opacity: 0 } to { opacity: 1 } }
.qr-img { animation: qr-img-in 180ms ease-out both; }
.qr-card--full .qr-img {

  cursor: pointer;

  width: 100%; height: auto; aspect-ratio: 1; max-height: 100%;

  max-width: none;
  border-radius: 16px; padding: 12px;
}

.qr-card--full .qr-foot {
  margin-top: auto; width: 100%; display: flex; flex-direction: column; gap: 10px;
}
.qr-card--full .qr-foot .rowlink { width: 100%; }

.btn--tables {
  border-radius: var(--r-row); line-height: 1.3;
  background: var(--card); border: 1px solid var(--line-2);
  color: var(--t1); font-size: 21px;
}

.tables-box { display: flex; flex-direction: column; gap: 8px; }

.tables-hint { text-align: center;
  font-size: 16px; line-height: 1.35; color: var(--success-t); padding: 0 4px; }
.tables-hint svg { display: inline-block; width: 18px; height: 18px;
  vertical-align: -3px; margin-right: 6px; }
.tables-hint--warn { color: var(--action); }

.btn--tables .tables-n { display: inline-flex; align-items: center; gap: 10px; }
.btn--tables .tables-n svg { width: 24px; height: 24px; flex: none; }

[data-face][data-ini] { color: transparent !important; }

.field.field--row { flex-direction: row; align-items: flex-end; gap: 10px; }
.field.field--row .field-main { flex: 1; min-width: 0; display: flex;
  flex-direction: column; gap: 6px; }

.gap-before { margin-top: calc(var(--gap-head) - var(--gap)); }

.pick-grid { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pick {
  min-width: 56px; height: 52px; padding: 0 14px; border-radius: var(--r-btn);
  background: var(--row); color: var(--t1); font: 600 20px/1 var(--sans);
  border: 1px solid var(--line);
}
.pick--on { background: var(--action); color: var(--ink); border-color: transparent; }
@media (hover: hover) { .pick:active { transform: scale(.97); } }

.card-meta--note span { color: var(--t3); }

.mu-paused { display: flex; flex-direction: column; gap: 6px; }

.card-meta--wait span { font-size: 18px; }

.plr-waits { height: auto; min-height: 30px; padding: 4px 12px; white-space: normal;
  text-align: center; line-height: 1.2; max-width: 52%; margin-left: auto; }

#ev-comp-slot:empty, #ev-stats-slot:empty { display: none; }

.act {
  display: block; width: 100%;
  background: none; border: 0; padding: 0; text-align: left; cursor: pointer;
}
.act-card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px; padding: 16px;
}

.act-glow, .act-grid { position: absolute; pointer-events: none; }
.act-glow { inset: 0;
  background: radial-gradient(at 88% 30%, rgba(255, 204, 0, .18), transparent 74%); }

.act-grid {
  left: 33%; right: 0; top: 0; bottom: 0; opacity: .07;
  background-image: repeating-conic-gradient(#fff 0% 25%, transparent 0% 50%);
  background-size: 38px 38px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 62%);
  mask-image: linear-gradient(to right, transparent 0, #000 62%);
}

.act-timer {
  position: relative; flex: none; width: 62px; height: 62px; border-radius: 18px;
  background: #0B0B0B; border: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; padding: 0 4px;
}

.act-timer b { font: 700 20px/1 var(--sans); font-variant-numeric: tabular-nums;
  letter-spacing: .02em; color: var(--t1); }

.act-timer i { font: 500 10px/1.2 var(--sans); font-style: normal;
  letter-spacing: .04em; color: var(--t2); white-space: nowrap; }
.act-mid { position: relative; flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 5px; }

.act-kicker { font: 600 11px/1 var(--sans); letter-spacing: .12em;
  text-transform: uppercase; color: var(--action); }
.act-title { font: 600 20px/1.2 var(--sans); color: var(--t1); }
.act-sub { font: 400 15px/1.4 var(--sans); color: var(--t2); text-wrap: pretty; }
.act-go { position: relative; font: 400 20px/1 var(--sans); color: var(--t3); }

.btn[disabled] { opacity: .38; }
.btn-soon { font: 400 13px/1 var(--sans); opacity: .8; margin-left: 8px; }

.row-hint { display: block; font-size: 15px; line-height: 1.35; color: var(--t3);
  margin-top: 3px; }

#f-fee-note { margin-top: 6px; }
#f-fee-note a { color: var(--action); text-decoration: none; white-space: nowrap; }
#f-fee-note.fee-note--bad { color: var(--danger); }
.sw {
  flex: none; width: 52px; height: 31px; border-radius: 9999px;
  background: var(--row); position: relative; transition: background .18s;
}
.sw i {
  position: absolute; top: 3px; left: 3px; width: 25px; height: 25px;
  border-radius: 50%; background: #fff; transition: transform .18s;
}
.sw--on { background: var(--success); }
.sw--on i { transform: translateX(21px); }

.sw--busy { animation: sw-busy 1s ease-in-out infinite; }

.att-sw[disabled] { cursor: default; }
.att-sw[disabled] .sw { opacity: .4; }
@keyframes sw-busy { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .sw--busy { animation: none; opacity: .6; } }

.plr[data-go] { text-align: left; cursor: pointer; }
@media (hover: hover) { .plr[data-go]:active { transform: scale(.99); } }

.histg {

  display: flex; align-items: center; gap: 9px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-row); padding: 10px 12px;
  width: 100%; text-align: left;
}

.hg-tc {
  flex: none; width: 50px; display: grid;
  grid-template-columns: minmax(0, max-content);
  justify-content: start; justify-items: center; row-gap: 3px;
}

.hg-tc-min { font: 600 15px/1 var(--sans); white-space: nowrap; color: var(--t1); }

.hg-date { font: 500 12px/1.2 var(--sans); white-space: nowrap; color: #C9A64B;

  max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

.hg-rec { display: flex; color: var(--t1); }
.hg-rec svg { display: block; width: 18px; height: 18px; }

.hg-960 { font: 600 15px/1 var(--sans); white-space: nowrap; color: var(--c960); }

.tempo-ico { display: inline-block; font-style: normal; margin-left: .12em; }
.tempo-ico svg { display: inline-block; width: .8em; height: .8em; vertical-align: -.05em; }

.hg-sides { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.hg-side { display: flex; align-items: center; gap: 7px; min-width: 0; }

.hg-duo { display: flex; flex: none; gap: 1px; }
.hg-ava {
  flex: none; width: 26px; height: 26px; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font: 600 11px/1 var(--sans); color: var(--t2); background: var(--row);
}

.hg-name {
  flex: 0 1 auto; min-width: 0; font: 600 18px/1.2 var(--sans);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.hg-rate {
  flex: none; font: 400 13px/1 var(--sans); color: var(--t3);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.hg-delta { font-weight: 600; }
.hg-delta.up { color: var(--success-t); }
.hg-delta.down { color: #FF6B6B; }

.hg-side .pawn { margin-right: 0; flex: none; }
.hg-side .pawn--w { color: #EDEDED; }
.hg-side .pawn--b { color: #8A8783; }

.hg-side .pawn--w svg { transform: scale(.95); transform-origin: center; }

.hg-name--black { color: var(--t2); }

.hg-score {
  margin-left: auto; flex: none; width: 16px; text-align: center;
  font: 700 17px/1 var(--sans); font-variant-numeric: tabular-nums;
}
.hg-score--win { color: var(--success-t); }
.hg-score--loss { color: #FF6B6B; }
.hg-score--draw { color: var(--t3); }

.gs-card { display: flex; flex-direction: column; gap: 10px; }
.gs-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.gs-total { font-size: 27px; font-weight: 700; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; }

.gs-rate { font-size: 18px; color: var(--t2); white-space: nowrap; }

.gs-bar {
  display: flex; height: 10px; border-radius: 5px; overflow: hidden;
  background: var(--row);
}
.gs-part { display: block; height: 100%; }
.gs-part--w { background: var(--success-t); }
.gs-part--d { background: var(--t3); }
.gs-part--l { background: #FF6B6B; }

.gs-legend {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px;
  font-size: 18px; color: var(--t2);
}
.gs-legend span { display: inline-flex; align-items: center; gap: 6px; }

.gs-tours { margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px; }
.gs-tours-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gs-tours-best { font-size: 18px; color: var(--t2); }
.gs-medals { flex: none; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.gs-medal-stack { display: flex; font-size: 52px; line-height: 1; }

.gs-medal { position: relative; filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); }
.gs-medal + .gs-medal { margin-left: -22px; }
.gs-medal:nth-child(1) { z-index: 3; }
.gs-medal:nth-child(2) { z-index: 2; }
.gs-medal:nth-child(3) { z-index: 1; }
.gs-medals-n { font-size: 18px; color: var(--t2); }
.gs-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.gs-dot--w { background: var(--success-t); }
.gs-dot--d { background: var(--t3); }
.gs-dot--l { background: #FF6B6B; }

.gs-note { display: block; font-size: 13px; color: var(--t3); }
.gs-up { color: var(--success-t); }
.gs-down { color: #FF6B6B; }

.plr {
  display: flex; align-items: center; gap: 12px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-row); padding: 12px 14px;
}

.plr--new { animation: plr-new .35s ease-out; }
@keyframes plr-new { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .plr--new { animation: none; } }
.plr-ava {
  width: 44px; height: 44px; border-radius: 50%; flex: none; overflow: hidden;
  background: var(--row); display: flex; align-items: center; justify-content: center;
  font: 600 17px/1 var(--sans); color: var(--t2);
}

.plr--left .plr-ava { filter: grayscale(1); }

.duo-faces { display: flex; align-items: center; flex: none; }
.duo-faces .duo-ava { width: 36px; height: 36px; font-size: 15px; }
.duo-faces .duo-ava + .duo-ava {
  margin-left: -12px; box-shadow: 0 0 0 2px var(--card);
}

.plr--duo .plr-name + .plr-name { margin-top: 1px; }

.plr--duo .plr-name { overflow-wrap: anywhere; hyphens: auto; }

.duo-rt { margin-left: 6px; color: var(--t2); font-weight: 400; font-size: 15px; }

.duo-badge { display: inline-flex; align-items: center; gap: 6px; }

.duo-badge::first-letter { text-transform: uppercase; }

.plr-avabox { position: relative; flex: none; display: flex; }
.plr-fire {
  display: none;
  position: absolute; right: -2px; bottom: -2px;
  font-size: 15px; line-height: 1;

  text-shadow: 0 0 3px rgba(0,0,0,.75);

  pointer-events: none;
}
.plr-fire.is-on { display: flex; align-items: center; gap: 1px; }

.plr-rsvp {
  position: absolute; right: -2px; bottom: -2px;
  font-size: 15px; line-height: 1; pointer-events: none;
}
#screen[data-screen="tournament"] .plr-rsvp[data-rsvp="yes"] { font-size: var(--roster-rsvp-size); }
.roster-maybe-mark,
#screen[data-screen="tournament"] .plr-rsvp[data-rsvp="maybe"] { font-size: var(--roster-rsvp-maybe-size); }
.plr-avabox--rsvp .plr-fire { bottom: auto; top: -2px; }

.plr-noshow {
  display: inline-flex; vertical-align: -0.16em; width: 1em; height: 1em;
  margin: -6px -6px -6px 0; padding: 6px; box-sizing: content-box;
  cursor: pointer;
}
.plr-noshow svg { width: 100%; height: 100%; display: block; }
.plr-noshow--1 { color: #FFCC00; }
.plr-noshow--2 { color: var(--danger); }
.plr-noshow--3 { color: #000; }
.plr-noshow--3 svg { background: #fff; border-radius: 50%; }

.plr-fire { opacity: .65; }
.plr-fire.is-mine { opacity: 1; }
.plr-fire b { font: 600 12px/1 var(--sans); color: var(--t2);
  text-shadow: 0 0 3px rgba(0,0,0,.75); }
.plr-fire.is-mine b { color: var(--action); }

@keyframes plr-fire-pop {
  0% { transform: scale(.4); opacity: 0; }
  60% { transform: scale(1.25); }
  100% { transform: scale(1); opacity: 1; }
}
.plr-fire.is-fresh { animation: plr-fire-pop .28s ease-out; }

.plr-sw {
  flex: none; background: none; border: 0; padding: 6px 2px 6px 10px;
  display: flex; align-items: center;
}
@media (hover: hover) { .plr-sw:active { opacity: .7; } }
@media (prefers-reduced-motion: reduce) { .plr-fire.is-fresh { animation: none; } }

.grp-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.grp-chip {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 14px; border-radius: 19px;
  background: var(--row); color: var(--t1); border: 1px solid var(--line);
  font: 500 16px/1 var(--sans); white-space: nowrap;
}
.grp-chip--on { background: var(--action); color: #1a1a1a; border-color: var(--action); }

.grp-add { background: none; border-style: dashed; color: var(--action); }
@media (hover: hover) { .grp-chip:active { opacity: .7; } }

.grp-why { display: inline-flex; align-items: center; height: 38px;
  padding: 0 4px; background: none; border: 0; color: var(--action);
  font: 500 16px/1 var(--sans); }
@media (hover: hover) { .grp-why:active { opacity: .7; } }

.grp-why-text { text-align: left; color: var(--t2); font-size: 18px; line-height: 1.45; }
.grp-why-text p { margin: 0 0 10px; }
.grp-why-text p:last-child { margin-bottom: 0; }

.ns-why-text p { white-space: pre-line; }

.grp-x {
  display: flex; align-items: center; justify-content: center; align-self: stretch;
  margin: 0 -8px 0 0; padding: 0 8px; background: none; border: 0;
  color: var(--t3);
}
.grp-x svg { width: 14px; height: 14px; display: block; }

.grp-pick, .plr-x {
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--row); color: var(--t1); border: 1px solid var(--line);
  font: 700 16px/1 var(--sans);
}
@media (hover: hover) { .grp-pick:active,
  .plr-x:active { opacity: .7; } }

.plr-x { margin-left: 10px; padding: 0; color: var(--t2); }
.plr-x svg { width: 16px; height: 16px; display: block; }

.plr-x--back svg { width: 22px; height: 22px; }

.grp-pick--still { border-color: transparent; background: none; color: var(--t3); }

.pair-grp {
  margin-top: 12px; padding: 0 4px;
  font: 500 14px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  color: var(--t3);
}

.plr-open {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px;
  text-align: left; padding: 0;
}
@media (hover: hover) { .plr-open:active { opacity: .7; } }

.plr-mid { flex: 1; min-width: 0; }
.plr-name { font: 600 19px/1.25 var(--sans); overflow-wrap: anywhere; }
.plr-sub { font-size: 17px; color: var(--t2); margin-top: 2px; }
.plr-pick {
  flex: none; background: var(--action); color: var(--ink);
  border-radius: var(--r-btn); padding: 11px 20px; font: 600 18px/1 var(--sans);
}
@media (hover: hover) { .plr-pick:active { transform: scale(.98); } }

.plr-pick:disabled { opacity: .38; }

.plr-pick--off { background: var(--row); color: var(--t2);
  border: 1px solid var(--line); font-size: 16px; padding: 10px 16px; }

.lv-tour { text-align: center; padding: 0 4px; color: var(--t1);
  font: 600 17px/1.3 var(--sans); letter-spacing: .05em; text-transform: uppercase; }
.lv-card {
  background: rgba(255, 255, 255, .07); border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
  padding: 22px 16px 24px; display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 18px;
}
.lv-line { font: 600 22px/30px var(--sans); letter-spacing: -.2px; max-width: 360px; }
.lv-table { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; }

.lv-table--wait { color: var(--t1); text-transform: uppercase; letter-spacing: .02em; }

.lv-num { display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #000;
  font: 700 18px/1 var(--sans); box-sizing: border-box; }
.lv-num-d { display: block; line-height: 18px; }

.lv-pawn { display: inline-block; width: 18px; height: 18px; margin-left: 8px;
  vertical-align: -1px; color: #fff; }
.lv-pawn--b { color: #0b0b0c; filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, .55)); }

.wait-card.lv-wait {
  background: rgba(255, 255, 255, .07); border: 0; border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3); padding: 22px 18px 20px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
}
.lv-wait-head { font: 600 22px/28px var(--sans); color: var(--t1); }
.lv-wait-sub { font: 400 18px/24px var(--sans); color: var(--t1); margin-top: -6px; }
.lv-wait-sep { align-self: stretch; height: 1px; background: rgba(255, 255, 255, .09); margin: 4px 0; }
.wait-eta.lv-wait-eta { font: 700 30px/34px var(--sans); color: var(--t1); font-variant-numeric: tabular-nums; }
.lv-wait-eta:not([hidden]) + .lv-wait-text { margin-top: -8px; }

.lv-wait:not(.lv-wait--bye) .lv-wait-eta[hidden] + .lv-wait-text { font: 700 30px/34px var(--sans); }
.lv-wait-eta[hidden] + .lv-wait-text::first-letter { text-transform: uppercase; }
.lv-wait-time { min-width: 0; }
.lv-wait .lv-wait-text { font: 400 18px/24px var(--sans); color: var(--t1); }

.lv-wait .lv-wait-text.lv-btw-note { color: var(--t3); }
.lv-btw-pick { align-self: stretch; }

.fu-cta { display: flex; flex-direction: column; gap: 10px; margin-bottom: var(--gap-head); }
.fu-cta-text { line-height: 1.4; margin-bottom: 4px; }
.lv-pawn svg { width: 100%; height: 100%; display: block; }
.lv-opp { position: relative; display: block; padding: 0; border: 0;
  background: none; font: inherit; color: inherit; }
.lv-ava { width: 168px; height: 168px; border-radius: 50%; background: var(--row);
  display: flex; align-items: center; justify-content: center;
  font: 600 60px/1 var(--sans); overflow: hidden;
  transition: width .32s cubic-bezier(.2, .8, .2, 1), height .32s cubic-bezier(.2, .8, .2, 1),
    font-size .32s cubic-bezier(.2, .8, .2, 1); }

.lv-opp--big .lv-ava { width: var(--lv-big, 320px); height: var(--lv-big, 320px);
  font-size: calc(var(--lv-big, 320px) * .36); }
@media (prefers-reduced-motion: reduce) { .lv-ava { transition: none; } }
.lv-ava .ava-img { width: 100%; height: 100%; margin: 0; }
.lv-opp-pill { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%);
  padding: 4px 12px; border-radius: 999px; background: rgba(14, 14, 16, .78);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .85);
  font: 600 15px/20px var(--sans); white-space: nowrap; text-transform: lowercase; }
.lv-opp-name { font: 600 19px/1.25 var(--sans); overflow-wrap: anywhere; }

button.lv-opp-link { display: block; margin: 0 auto; padding: 0; border: 0; background: none;
  color: inherit; cursor: pointer; text-align: center; }

.lv-h2h { font: 600 28px/1.1 var(--sans); color: var(--t3); margin-top: -4px;
  font-variant-numeric: tabular-nums; }
.lv-h2h-sub { font: 400 18px/1.2 var(--sans); color: var(--t3); }
.lv-h2h + .lv-h2h-sub { margin-top: -16px; }

.lv-opp-guest { margin-top: -14px; font-size: 17px; color: var(--t2); }

.table-wait {
  text-align: center; padding: 14px 12px; border-radius: var(--r-row);
  background: rgba(255, 204, 0, .12); border: 1px solid rgba(255, 204, 0, .4);
  color: var(--action); font: 600 22px/1.2 var(--sans);
  letter-spacing: .02em; text-transform: uppercase;
}

.duel-table { color: var(--t1); font-weight: 700; }

.pawn { display: inline-block; width: 13px; height: 13px; margin-right: 7px;
  vertical-align: -1px; }
.pawn svg { width: 100%; height: 100%; display: block; }

.pair-names .pawn--w { color: #fff; }
.pair-names .pawn--b { color: rgba(255, 255, 255, .38); }

.plr--tap, .hist--tap { text-align: left; width: 100%; }

.locs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding-block: 19px 21px; margin-block: -19px; }
.locs::-webkit-scrollbar { display: none; }

.loc {
  flex: none; padding: 9px 16px; border-radius: var(--r-pill);
  background: var(--plate);
  border: 1px solid var(--line); color: var(--t2);
  font: 500 15px/1.2 var(--sans); white-space: nowrap;
}

.loc--on {
  background: rgba(0, 160, 70, .16);
  border-color: rgba(63, 191, 116, .45);
  color: var(--success-t);
}
@media (hover: hover) { .loc:active { opacity: .85; } }

.period {
  min-height: 60px; border-radius: var(--r-row);
  background-color: var(--plate); border: 0;
  color: var(--t1);
}
@media (hover: hover) { .period:active { opacity: .85; } }

.period {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start; gap: 3px;
  padding: 8px 44px 8px 16px; text-align: left;
  background-image: var(--select-arrow);
  background-repeat: no-repeat; background-position: right 18px center;
}
.period-cap { font: 400 14px/1.2 var(--sans); color: var(--t3); }
.period-val {
  max-width: 100%; font: 600 19px/1.25 var(--sans);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.pl-num {
  flex: none; display: flex; flex-direction: column;
  align-items: flex-end; gap: 4px;
}
.pl-delta { font: 600 14px/1 var(--sans); font-variant-numeric: tabular-nums; }

.pl-rating { flex: none; font: 600 18px/1 var(--sans);
  font-variant-numeric: tabular-nums; color: var(--t1); }

.pl-live { flex: none; color: var(--action); margin-right: 2px; }
@media (prefers-reduced-motion: reduce) { .pl-live { animation: none; } }
@media (hover: hover) { .hist--tap:active { opacity: .7; } }
@media (hover: hover) { .plr--tap:active { opacity: .7; } }

.guest-mark { color: var(--t3); font-weight: 400; font-size: 15px; margin-left: 6px; }

.duel {
  background: var(--card); border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px; padding: 18px 16px 16px;
  display: flex; flex-direction: column; gap: 16px;
}
.duel-top { display: flex; align-items: center; justify-content: space-between;
  gap: 10px; }

.duel-lbl { font: 500 14px/1.2 var(--sans); letter-spacing: .06em;
  text-transform: uppercase; color: rgba(255,255,255,.5); }
.duel-table { white-space: nowrap; }

.duel-top--mid { justify-content: center; }

.duel-top--tour {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 6px;
}

.duel-top--tour .duel-lbl {
  justify-self: start;
  display: inline-flex; align-items: center; height: 30px; padding: 0 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .72);
  font: 500 16px/1 var(--sans);
  letter-spacing: 0; text-transform: none;

  white-space: nowrap;
}
.duel-top--tour .duel-live { justify-self: end; }
.duel-table-big {
  justify-self: center; white-space: nowrap;

  font: 700 clamp(16px, 4.8vw, 21px)/1 var(--sans);
  letter-spacing: -.01em; color: #fff; text-align: center;
}

.c960 { display: flex; flex-direction: column; gap: 10px; }
.c960-top { display: flex; align-items: center; justify-content: space-between;
  gap: 10px; font-size: 17px; color: var(--t2); }
.c960-num { font-weight: 700; color: #fff; white-space: nowrap; }

.c960-top .sec-link { white-space: nowrap; color: var(--action); opacity: 1; }
.c960-cap { font-size: 17px; color: var(--t2); margin-bottom: 10px; }
.c960-hint { justify-content: center; text-align: center; }

.qr-card--std .ask-text.c960-rules { text-align: start; max-height: 60vh; overflow-y: auto; }
.c960-p { margin: 0 0 12px; }

.c960-p b { color: #fff; font-weight: 600; }

.c960-ex { margin: 4px 0 16px; }
.c960-ex-cap { margin-bottom: 8px; }
.c960-strip { display: grid; grid-template-columns: repeat(8, 1fr);
  aspect-ratio: 8 / 1; border-radius: 6px; overflow: hidden; direction: ltr; }
.c960-ex-arrow { text-align: center; line-height: 1.4; color: var(--t2); }
.c960-files { display: grid; grid-template-columns: repeat(8, 1fr); direction: ltr;
  margin-top: 4px; text-align: center; font-size: 13px; color: var(--t3); }
.duel-live {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
  border-radius: var(--r-pill); background: rgba(255,51,51,.16); color: #FF6B6B;
  font: 500 16px/1 var(--sans);
}

.duel-live--done { background: rgba(63,191,116,.16); color: var(--success-t); }

.duel-out {
  font: 600 15px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase;
}
.duel-out--win  { color: var(--success-t); }
.duel-out--loss { color: #FF6B6B; }
.duel-out--draw { color: rgba(255,255,255,.55); }

.duel-dot { width: 5px; height: 5px; border-radius: 50%; background: #FF3333;
  animation: duel-pulse 2s ease-in-out infinite; }
@keyframes duel-pulse { 0%, 100% { opacity: 1 } 50% { opacity: .25 } }

.duel-row { display: flex; align-items: flex-start; gap: 8px; }
.duel-side { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px;
  min-width: 0; }

.duel-ava {
  width: 64px; height: 64px; border-radius: 50%; background: var(--row); flex: none;
  display: flex; align-items: center; justify-content: center;
  font: 600 32px/1 var(--sans);
  overflow: hidden;
}

.duel-ava--mine { box-shadow: 0 0 0 2px var(--action); }
.duel-name { text-align: center; min-width: 0; }
.duel-nm { font: 600 19px/1.25 var(--sans); overflow-wrap: anywhere; }
.duel-role { font: 400 17px/1.3 var(--sans); color: rgba(255,255,255,.45); margin-top: 2px; }
.duel-vs { display: flex; flex-direction: column; align-items: center; padding-top: 20px;
  font: 600 17px/1 var(--sans); color: rgba(255,255,255,.32); letter-spacing: .04em; }

.duel-chip {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px;
  border-radius: var(--r-pill); font: 600 17px/1 var(--sans); flex: none;
}
.duel-chip svg { width: 15px; height: 15px; flex: none; }

.duel-chip--w, .duel-chip--b {
  background: var(--row); color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.12);
}

.duel-chip--w svg { color: #EDEDED; }
.duel-chip--b svg { color: #000; }

.duel-chip--w svg { transform: scale(.95); transform-origin: center; }

.conf-ring {
  --p: 0%;

  margin: 34px 0 18px;
  position: relative; width: 172px; height: 172px; align-self: center;
  border-radius: 50%;
  background: conic-gradient(var(--action) var(--p), rgba(255,255,255,.1) 0);
  transition: background .3s linear;
}
.conf-ring--done { background: var(--success); }
.conf-ring-in {
  position: absolute; inset: 10px; border-radius: 50%; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.conf-num { font: 600 40px/1 var(--sans); font-variant-numeric: tabular-nums; }
.conf-sub { font-size: 14px; color: var(--t3); }
.conf-head { font: 600 21px/1.3 var(--sans); text-align: center; }
.conf-note { font-size: 17px; line-height: 1.5; color: var(--t2); text-align: center;
  max-width: 320px; align-self: center; }

.conf-act { margin-bottom: 14px; }

.hero {
  background: var(--hero); color: var(--ink); border-radius: var(--r-card);
  padding: 18px; display: flex; flex-direction: column; gap: 14px;
}

.hero--calm { background: #D9D7D2; }
.hero--calm .hero-lbl { color: rgba(33,32,31,.6); }

.hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.hero-lbl { font-size: 16px; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: rgba(33,32,31,.55); }
.hero-table { font-size: 72px; font-weight: 600; line-height: .9; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; margin-top: 6px; }
.hero-color { display: flex; flex-direction: column; align-items: center; gap: 7px; flex: none; }

.chip { width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--ink);
  display: flex; align-items: center; justify-content: center; flex: none; }
.chip svg { width: 60%; height: 60%; display: block; }
.chip--w { background: #fff; color: #21201F; }
.chip--b { background: #0D0D0D; color: #fff; }
.hero-color b { font-size: 18px; font-weight: 600; }

.opp {
  display: flex; align-items: center; gap: 12px;
  background: rgba(33,32,31,.08); border-radius: var(--r-row); padding: 11px 13px;
}
.opp-ava { width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: rgba(33,32,31,.12); display: flex; align-items: center;
  justify-content: center; font-size: 21px; overflow: hidden; }
.opp-name { font-size: 18px; font-weight: 600; line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.opp-sub { font-size: 16px; color: rgba(33,32,31,.6); }

.seg--scroll,
.seg--rounds {
  max-width: 100%; overflow-x: auto; scrollbar-width: none;

  align-self: stretch;
}
.seg--scroll::-webkit-scrollbar,
.seg--rounds::-webkit-scrollbar { display: none; }

.seg-btn--future { color: var(--t3); opacity: .45; }
.seg-btn:disabled { cursor: default; }

.seg-btn--on:disabled { color: #fff; }

.plr--left { opacity: .5; }

.plr--left:has(> .plr-avabox > .plr-lbls) { opacity: 1; }
.plr--left:has(> .plr-avabox > .plr-lbls) :is(.plr-ava, .plr-mid) { opacity: .5; }

.ava-edit { display: flex; align-items: center; gap: 14px; }
.ava-edit-круг {
  width: 72px; height: 72px; border-radius: 50%; flex: none; overflow: hidden;
  background: var(--row); display: flex; align-items: center; justify-content: center;
  font: 600 24px/1 var(--sans); color: var(--t2);
}

.ava-edit-btns { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; }
.ava-edit-btns > .btn:not(.btn--icon) { flex: 1; min-width: 0; }

.crop {
  position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .82);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.crop-box {
  width: 100%; max-width: 360px; background: var(--card); border-radius: 20px;
  padding: 16px; display: flex; flex-direction: column; gap: 12px;
}
.crop-head { font: 600 19px/1.2 var(--sans); text-align: center; }
.crop-hint { font: 400 15px/1.3 var(--sans); color: var(--t2); text-align: center; }

.crop-view {
  position: relative; width: 100%; aspect-ratio: 1; overflow: hidden;
  border-radius: 14px; background: #000; touch-action: none; cursor: grab;
}

.crop-view img {
  position: absolute; left: 50%; top: 50%; max-width: none;
  user-select: none; -webkit-user-drag: none;
}

.crop-mask {
  position: absolute; inset: 0; pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, .35) inset;
  border-radius: 50%;
}
.crop-btns { display: flex; gap: 10px; }
.crop-btns .btn { flex: 1; }
#crop-zoom { width: 100%; accent-color: var(--action); }

.pair {
  display: flex; gap: 12px; align-items: center; padding: 10px 12px;
  border-radius: var(--r-row); border: 1px solid transparent;
}
.pair.mine { background: rgba(255,204,0,.1); border-color: rgba(255,204,0,.35); }

.pair--tap { background: var(--card); cursor: pointer; }
@media (hover: hover) { .pair--tap:active { background: rgba(255,255,255,.08); } }

.pair-no {
  width: 30px; height: 30px; flex: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--row); border: 1px solid var(--line);
  font-size: 16px; font-weight: 600; color: var(--t2);
  font-variant-numeric: tabular-nums;
}

.pair.mine .pair-no { background: var(--action); border-color: var(--action);

  color: var(--ink); }

.pair-no--none { background: none; border-style: dashed; color: var(--t3); }

.pair-no svg { display: block; width: 16px; height: 16px; }

.mr-row {
  display: grid; grid-template-columns: 30px 1fr 42px 92px;
  gap: 10px; align-items: center; padding: 10px 12px;
  border-radius: var(--r-row);
}
.mr-name { font-size: 18px; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; }
.mr-games, .mr-score { font-size: 15px; color: var(--t2); text-align: right;
  font-variant-numeric: tabular-nums; }
.mr-row--head { padding-top: 0; padding-bottom: 4px; }
.mr-row--head span {
  font: 500 13px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  color: var(--t3); text-align: right;
}

.mr-row--head span:nth-child(2) { text-align: left; }

.wait-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 16px; text-align: center; display: flex; flex-direction: column; gap: 6px;
}
.wait-head { font: 600 20px/1.2 var(--sans); letter-spacing: -.01em; }
.wait-text { font: 400 17px/1.35 var(--sans); color: var(--t2); }

.wait-left { font: 500 17px/1.35 var(--sans); color: var(--t1); }
.wait-eta { font: 400 17px/1.35 var(--sans); color: var(--t1);
  font-variant-numeric: tabular-nums; }

.wait-eta-time { display: inline-block; min-width: 6ch; text-align: left;
  vertical-align: top;
  contain: layout style; }

#c-close { margin-top: 14px; }

.pair--head { padding-top: 0; padding-bottom: 4px; }
.pair--head span {
  font: 500 13px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  color: var(--t3); background: none; border: 0; height: auto;
}

.pair--head .pair-names { padding-left: 20px; }

.tbl-pairs .pair--head { padding-top: 12px; }

.tie-notes p { margin: 0; font-size: 15px; line-height: 1.4; color: var(--t2); }
.tie-notes p + p { margin-top: 10px; }
.tie-order { margin: 10px 4px 0; font-size: 13px; line-height: 1.4; color: var(--t3); }

.pair-ava {
  width: 34px; height: 34px; border-radius: 50%; flex: none; overflow: hidden;
  background: var(--row); display: flex; align-items: center; justify-content: center;
}

.pair-ava { font: 600 15px/1 var(--sans); color: var(--t2); }

.pair-names { flex: 1; font-size: 18px; line-height: 1.4; min-width: 0; }
.pair-names span { color: var(--t2); }

.pair-names .pair-line { display: block; padding-left: 20px; text-indent: -20px; }
.pair-names .pair-line > * { text-indent: 0; }

.pair-names .pair-line--w { color: inherit; }

.pair-names .pair-pts {
  margin-left: 7px; font-size: 14px; color: var(--t3); font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.pair-res { font-size: 17px; font-weight: 500; font-variant-numeric: tabular-nums;
  color: var(--t3); flex: none;

  min-width: 48px; text-align: center; }
.pair-res.set { color: var(--t1); }

.pair-playing, .pair-mark { display: inline-flex; width: 22px; justify-content: center;
  vertical-align: middle; }
.pair-playing .dot { width: 8px; height: 8px; }

.tbl { display: flex; flex-direction: column; }

.tbl-head, .tbl-row {
  display: grid; grid-template-columns: 28px 1fr 46px 48px 48px; gap: 6px;
  align-items: center; padding: 10px;
}

.tbl-head { font-size: 13px; letter-spacing: .03em; text-transform: uppercase;
  color: var(--t3); }
.tbl-row { border-radius: var(--r-row); border: 1px solid transparent; }

.tbl--league .tbl-head, .tbl--league .tbl-row {
  grid-template-columns: 26px 1fr 42px 66px 38px;
}
.tbl--league .tbl-head span { white-space: normal; line-height: 1.15; }
.tbl-row.me { background: rgba(255,204,0,.1); border-color: rgba(255,204,0,.35); }

.lv-final .tbl { margin: 0 -8px; }
.lv-final .tbl-name, .lv-final .tbl-head > span:nth-child(2) { padding-left: 8px; }
.tbl-rank { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--t2); }

.tbl-head > span:first-child, .tbl-rank { text-align: center; }

.tbl-head { border: 1px solid transparent; }
.tbl-row.me .tbl-rank { color: var(--action); }

.tbl-name { min-width: 0; font-size: 18px; overflow-wrap: anywhere; }
.tbl-pts { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }

.plr-wins { flex: none; font: 600 19px/1.25 var(--sans); color: var(--t1);
  margin-left: 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.people-list .plr-wins { font: 500 19px/1.3 var(--sans); }

.sec-wdl { margin-left: auto; }

.sec-head .link { margin-left: .5em; }
.tbl-bh { text-align: right; font-size: 17px; color: var(--t3);
  font-variant-numeric: tabular-nums; }

.tbl-bh--2 { opacity: .65; }

.tbl-xw { position: relative; margin: 0 -8px; }
.tbl-x { overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
  container-type: inline-size; overscroll-behavior-x: contain; }
.tbl-x::-webkit-scrollbar { display: none; }
.tbl-x .tbl { margin: 0; }
.tbl--cross .tbl-head, .tbl--cross .tbl-row {
  grid-template-columns: 28px max(150px, calc(100cqw - 216px)) 46px 48px 48px
    repeat(var(--tbl-rounds), 56px);
  width: max-content; min-width: 100%;
}
.tbl--cross button.tbl-row { width: max-content; min-width: 100%; }

.tbl--cross :is(.tbl-head, .tbl-row) > span:nth-child(1) {
  position: sticky; z-index: 1; background: var(--bg); align-self: stretch;
  margin-top: -11px; margin-bottom: -11px; border: 1px solid transparent;
  display: flex; align-items: center;
}

.tbl--cross :is(.tbl-head, .tbl-row) > span:nth-child(1) {
  left: 0; margin-left: -11px; padding: 0 3px 0 0; border-right: 0;
  justify-content: center;
}

.tbl--std { margin: 0 -8px; }
.tbl--std :is(.tbl-head > span:first-child, .tbl-rank) { position: relative; left: -6.5px; }
.lv-final .tbl--std :is(.tbl-head > span:first-child, .tbl-rank) { left: -2.5px; }

.tbl--cross .tbl-row.me > span:nth-child(1)::before {
  content: ''; position: absolute; inset: -1px 0 -1px -1px; z-index: -1; pointer-events: none;
  border-radius: var(--r-row) 0 0 var(--r-row); background: rgba(255, 204, 0, .1);
  border: 1px solid transparent; border-right: 0;
}

.tbl-t { text-align: right; font-size: 17px; font-weight: 500; white-space: nowrap;
  font-variant-numeric: tabular-nums; }
.tbl-head .tbl-t { font-size: 13px; font-weight: 400; }

.tbl-t--w { color: var(--t1); }
.tbl-t--d { color: var(--t2); }
.tbl-t--l { color: var(--t3); }

.tbl-playing { display: inline-flex; vertical-align: middle; margin-left: 6px;
  color: var(--success-t); }

.tbl-row--wait :is(.tbl-name, .tbl-pts, .tbl-t--w) { color: var(--t3); }

.tbl-pts--new { animation: tbl-pts-new 1.6s ease-out; }
@keyframes tbl-pts-new { 0%, 30% { color: var(--action); } 100% { color: inherit; } }
@media (prefers-reduced-motion: reduce) { .tbl-pts--new { animation: none; } }
.tbl-row { position: relative; }

.tbl--std.tbl--simple :is(.tbl-head, .tbl-row) { grid-template-columns: 28px 1fr 46px; }
.tbl--cross.tbl--simple :is(.tbl-head, .tbl-row) {
  grid-template-columns: 28px max(150px, calc(100cqw - 216px)) 46px
    repeat(var(--tbl-rounds), 56px);
}

.sec-head--tbl { align-items: center; }
.tbl-view { display: inline-flex; align-items: center; justify-content: center;
  margin: -10px -10px -10px auto; padding: 10px; border: 0; background: none;
  color: var(--t2); cursor: pointer; }

.tbl-view { --tbl-cap: .7em; }
.tbl-view .tbl-ic--list { width: calc(var(--tbl-cap) * 24 / 14); height: calc(var(--tbl-cap) * 24 / 14); }
.tbl-view .tbl-ic--blocks { width: calc(var(--tbl-cap) * 24 / 18); height: calc(var(--tbl-cap) * 24 / 18); }

.tbl-shade { position: absolute; top: 0; right: 0; bottom: 0; width: 28px; pointer-events: none;
  background: linear-gradient(to right, rgba(0, 0, 0, 0), var(--bg)); transition: opacity .15s; }
.tbl-xw--end .tbl-shade { opacity: 0; }

.res-opts { display: flex; flex-direction: column; gap: var(--gap); }

.res-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.res-grid .res-btn { font-size: 17px; padding: 13px 12px; gap: 8px;
  justify-content: center; text-align: center; }
.res-grid .res-btn .k { width: auto; font-size: 15px; }

.res-grid--three { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.res-grid--three .res-btn {
  flex-direction: column; justify-content: center; text-align: center;
  gap: 4px; padding: 12px 6px; min-height: 0;
  font-size: clamp(14px, 4.6vw, 18px); line-height: 1.15; hyphens: auto;
}
.res-grid--three .res-btn .k { width: auto; font-size: clamp(12px, 3.8vw, 15px); }
.res-btn {
  display: flex; align-items: center; gap: 12px; width: 100%;
  background: var(--card); border-radius: var(--r-row); padding: 15px 16px;
  border: 1px solid var(--line); font-size: 19px; font-weight: 500; text-align: left;
}
@media (hover: hover) { .res-btn:active { transform: scale(.99); } }
.res-btn .k { font: 600 18px/1 var(--mono); color: var(--t3); flex: none; width: 34px; }

.res-btn--win,
.res-btn--draw,
.res-btn--loss { border-color: var(--line-2); }
.res-btn--nos  { border-color: rgba(255,51,51,.3); color: var(--t2); }

.res-btn--win.tapped {
  background: rgba(63, 191, 116, .22); border-color: var(--success-t);
}
.res-btn--draw.tapped {
  background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .45);
}
.res-btn--loss.tapped,
.res-btn--nos.tapped {
  background: rgba(255, 51, 51, .20); border-color: #FF6B6B;
}

.res-btn.tapped { filter: none; }

.wait {
  display: flex; align-items: center; gap: 12px; background: var(--card);
  border: 1px solid rgba(255,204,0,.35); border-radius: var(--r-row); padding: 12px 14px;
}
.wait-ring { position: relative; width: 34px; height: 34px; flex: none; }
.wait-ring i { position: absolute; inset: 0; border-radius: 50%; }
.wait-ring i:last-child { inset: 4px; background: var(--card); }

.wait--tap { cursor: pointer; }
@media (hover: hover) { .wait--tap:active { opacity: .75; } }
.wait-txt { flex: 1; font-size: 17px; line-height: 1.35; color: var(--t2); }
.wait-txt b { color: var(--t1); font-weight: 600; font-variant-numeric: tabular-nums; }

.prof-head { display: flex; align-items: center; gap: 14px; }
.prof-ava { width: 64px; height: 64px; border-radius: 50%; background: var(--row);
  display: flex; align-items: center; justify-content: center; font-size: 32px; flex: none;
  overflow: hidden; }
.prof-name { font-size: 23px; font-weight: 600; letter-spacing: -.01em; }

.prof-sub { font-size: 17px; color: var(--t2); }

.prof-head--center { flex-direction: column; text-align: center; gap: 4px; padding: 6px 8px 8px; }
.prof-head--center .prof-ava { width: 104px; height: 104px; font-size: 40px; margin-bottom: 8px; }

.prof-head--center .prof-ava, .prof-head--center #me-ava {
  transition: transform .12s cubic-bezier(.2, .8, .2, 1),
              width .34s cubic-bezier(.2, .8, .2, 1), height .34s cubic-bezier(.2, .8, .2, 1),
              border-radius .34s cubic-bezier(.2, .8, .2, 1), font-size .34s cubic-bezier(.2, .8, .2, 1); }
.prof-head--center .prof-ava.prof-ava--big { width: var(--ava-full, 100vw);
  height: var(--ava-full, 100vw); border-radius: 0; font-size: calc(var(--ava-full, 100vw) * .385); }

.prof-head--center .prof-ava .ava-img { border-radius: inherit; }
.prof-head--center .prof-head-text { min-width: 0; display: flex; flex-direction: column;
  align-items: center; gap: 4px; }
.prof-head--center .prof-name { font-size: 28px; font-weight: 700; }
.prof-head--center .prof-sub { font-size: 19px; }
.prof-head--center .prof-city { color: var(--t1); }

.prof-edit { display: inline-block; vertical-align: baseline; margin-left: 8px;
  padding: 0 4px; border: 0; background: none; color: var(--t2); cursor: pointer;
  line-height: 0; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { .prof-edit:active { opacity: .6; } }

.prof-edit svg { display: inline-block; vertical-align: baseline; width: .63em; height: .63em; }

.prof-city-pill { display: inline-flex; align-items: baseline; margin-top: 4px;
  padding: 8px 21px; border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14); color: var(--t1);
  font: 400 19px/1.3 var(--sans); cursor: pointer; }
@media (hover: hover) { .prof-city-pill:active { opacity: .7; } }

.prof-city-pill .pin { flex: none; display: block; width: .522em; height: .7em;
  margin-right: 12px; }

.prof-city-pill .chev-down { flex: none; display: block; width: .62em; height: .354em;
  margin-left: 13px; position: relative; top: -.09em; color: var(--t2); }
.prof-about { margin-top: 6px; white-space: pre-line; overflow-wrap: anywhere; }

.tr-strip { display: flex; gap: var(--gap); overflow-x: auto; scrollbar-width: none;
  margin-right: -16px; padding-right: 16px; scroll-snap-type: x proximity; }
.tr-strip::-webkit-scrollbar { display: none; }

.tr-tile { flex: none; width: calc((100% + 16px - var(--gap)) / 1.7); padding: 18px; display: flex; flex-direction: column;
  gap: 4px; text-align: left; scroll-snap-align: start; }

.tr-tile-name, .tr-tile-sub { line-height: 1.25; }
.tr-tile-name { font-size: 18px; color: var(--t2); }
.tr-tile-main { font-size: 27px; font-weight: 700; letter-spacing: -.01em; color: var(--action);
  white-space: nowrap;
  font-variant-numeric: tabular-nums; }
.tr-tile-sub { font-size: 18px; color: var(--t1); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.stat { background: var(--card); border-radius: var(--r-row); padding: 14px; }
.stat b { display: block; font-size: 30px; font-weight: 600; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; }
.stat span { font-size: 16px; color: var(--t2); }
.stats--prof .stat span { font-size: 18px; }

.stat--pair { display: grid; grid-template-columns: auto minmax(0, auto); justify-content: space-between;
  align-content: center; align-items: center; column-gap: 6px; row-gap: 8px;
  padding: 12px; min-width: 0; }
.stat--pair .stat-half { display: contents; }
.stat-line { grid-column: 1 / -1; height: 1px; background: var(--line); }
.stats--prof .stat--pair b { display: inline; font-size: 30px; }

.stats--prof .stat--pair .stat-half--game b { font-size: 24px; }
.stats--prof .stat--pair span { display: flex; min-width: 0;
  font-size: 18px; white-space: nowrap; overflow: hidden; }
.stat-label { font-style: normal; overflow: hidden; text-overflow: ellipsis; }

.stat--tap { text-align: left; width: 100%; }
@media (hover: hover) { .stat--tap:active { opacity: .75; } }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 16px; color: var(--t2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field input, .field textarea, .field select {
  width: 100%; max-width: 100%; background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 13px 14px; color: var(--t1);
  font-family: inherit; font-size: 19px;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--line-2); }

.field-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.field-top label { min-width: 0; }
.field-link { flex: none; background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; font-size: 16px; color: var(--action); }
@media (hover: hover) { .field-link:active { opacity: .6; } }

.field input::placeholder, .field textarea::placeholder {
  color: var(--t3); opacity: .6;
}
.field textarea { resize: vertical; min-height: 80px; }

.field textarea.u-note { min-height: calc(5lh + 24px); }

#f-desc, #nv-desc, #v-desc { min-height: 360px; }

#f-about_me, #f-organizer_about, #f-organizer_rules { min-height: 240px; }

.field select { appearance: none; -webkit-appearance: none;
  background-image: var(--select-arrow);
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 40px; }
.field select option { background: #21201F; color: #fff; }

.field select { pointer-events: none; }
.field:has(select), .dd-sel { cursor: pointer; }

.dd-sel .dd-name { white-space: normal; }

.field .city-pick {
  width: 100%; text-align: left; background: var(--card);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 40px 13px 14px; color: var(--t1);
  font-family: inherit; font-size: 19px;
  background-image: var(--select-arrow);
  background-repeat: no-repeat; background-position: right 16px center;
}
.field .city-pick:disabled { background-image: none; color: var(--t2); }

.field input[type="datetime-local"], .field input[type="date"] {
  font-size: 18px;
  -webkit-appearance: none; appearance: none;
  min-height: 52px;
}
.field input[type="datetime-local"]::-webkit-calendar-picker-indicator,
.field input[type="date"]::-webkit-calendar-picker-indicator {

  filter: brightness(0) invert(1); opacity: .85; cursor: pointer;
}
.field input[type="datetime-local"]::-webkit-date-and-time-value,
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }

#dm-badge {

  position: absolute; right: 10px; z-index: 3; margin: 0;
  display: flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px; border-radius: var(--r-pill);
  background: rgba(20, 20, 20, .78); border: 1px solid rgba(255, 204, 0, .45);
  color: var(--action); font: 600 13px/1 var(--mono);
  letter-spacing: .02em; opacity: .85;
}
@media (hover: hover) { #dm-badge:active { opacity: 1; } }

#dm-badge .dm-scr { font: 500 12px/1 var(--sans); color: var(--t2); }

.rowlink {
  display: flex; align-items: center; gap: 12px; width: 100%;
  background: var(--card); border-radius: var(--r-row); padding: 14px 16px;
  font-size: 19px; text-align: left;
}

.rowlink--static { color: var(--t2); }

.rowlink--edged { border: 1px solid var(--line); }
.rowlink .chev { color: var(--t3); font-size: 23px; }

.u-fold { display: flex; flex-direction: column; gap: 8px; }
.u-fold-body { display: flex; flex-direction: column; gap: 8px; }
.u-fold-body[hidden] { display: none; }
.u-fold-head .chev-down { flex: none; display: block; width: .62em; height: .354em;
  margin-left: 13px; color: var(--t2); transition: transform .2s ease; }
.u-fold--open .u-fold-head .chev-down { transform: rotate(180deg); }
.rowlink span.val { color: var(--t2); font-size: 18px; }

.empty { display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center; padding: 32px 12px; }

.empty-icon { width: 96px; height: 96px; border-radius: 50%;
  position: relative; background: #100F0E;
  display: flex; align-items: center; justify-content: center; font-size: 40px;
  color: var(--t3); box-shadow: 0 0 22px 12px rgba(0, 0, 0, .85); }

.empty-icon::before {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 260%; height: 260%; transform: translate(-50%, -50%);
  border-radius: 999px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side,
    rgba(255, 204, 0, .09) 0%, rgba(255, 204, 0, .035) 45%, rgba(255, 204, 0, 0) 100%);
}
.empty h3 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }

.empty p { font-size: 18px; color: var(--t2); max-width: 340px;
  overflow-wrap: break-word; }

.body--locked { overflow: hidden; }

.tabghost { overflow: hidden !important; }
.tabghost * { pointer-events: none !important; }

.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 54px; border-radius: var(--r-btn); font-size: 19px; font-weight: 600;
  width: 100%;
}
@media (hover: hover) { .btn:active { transform: scale(.99); } }
.btn--primary { background: var(--action); color: var(--ink); }
.btn--ghost { background: var(--card); color: var(--t1); border: 1px solid var(--line); }

.btn--accent { color: var(--action); }
.btn--danger { background: transparent; color: var(--danger);
  border: 1px solid rgba(255,51,51,.3); }

.btn--icon {
  flex: none; width: 52px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn--icon svg { width: 22px; height: 22px; }

#mainbtn-wrap {
  position: fixed; left: 0; right: 0; z-index: 40;
  bottom: var(--mainbtn-bottom, 0px);

  padding: 8px 10px 10px;
  pointer-events: none;
}
#mainbtn-wrap > * { pointer-events: auto; }

#root.has-mainbtn #screen:not(.flush) {
  padding-bottom: calc(var(--tabs-h) + 90px);
}
#mainbtn { display: flex; align-items: center; justify-content: center;
  width: 100%; height: 54px; border-radius: var(--r-btn);
  background: var(--action); color: var(--ink); font-size: 19px; font-weight: 600; }
#mainbtn:disabled { opacity: .5; }

.btn-main-flow {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 54px; border-radius: var(--r-btn);
  background: var(--action); color: var(--ink);
  font-size: 19px; font-weight: 600;

  margin-top: 4px;
}
.btn-main-flow:disabled { opacity: .5; }

#mainbtn.mainbtn--quiet { background: var(--card); color: var(--t1);
  border: 1px solid var(--line-2); }

#tabs {
  display: flex; flex: none; border-top: 1px solid var(--line);

  padding: 8px
           4px
           max(12px, calc(6px + max(env(safe-area-inset-bottom, 0px), var(--safe-bottom)) * .25));
  min-height: 64px;
  background: var(--bg);
}

.tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 2px 0 0; color: var(--t3); }
.tab svg { width: 19px; height: 19px; }

.tab .tab-label { font: 500 12px/1.1 var(--sans); white-space: nowrap; }
.tab.on { color: var(--action); }

.tab[data-tab="games"] .tab-ic svg { width: 20px; height: 20px; }

.tab-ic { position: relative; display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; }
.tab-ic svg { width: 26px; height: 26px; }

.tab-ic svg.tab-ic-rank { width: 24px; height: 24px; }

.tab-ava {
  width: 30px; height: 30px; border-radius: 50%; overflow: hidden; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--row); color: #fff;
  font: 600 12px/1 var(--sans); text-transform: uppercase;
}

.tab-ava img { width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 50%; }

.tab-ava:has(img) { background: transparent !important; }

.tab.on .tab-ava { box-shadow: 0 0 0 1px var(--action); }

.tab-badge {
  position: absolute; top: -4px; right: -7px; min-width: 16px; height: 16px;
  padding: 0 4px; border-radius: 8px; background: #FF3B30; color: #fff;
  font: 600 11px/16px var(--sans); text-align: center; font-style: normal;

}

#clockhost {

  position: fixed; left: 0; right: 0; top: 0;
  height: var(--app-h, 100%); z-index: 10;
  min-height: 0; background: var(--bg);
}

#clockhost[hidden] {
  display: flex !important;
  visibility: hidden; pointer-events: none;
  position: absolute; inset: 0;
}
#clockframe {
  width: 100%; height: 100%; border: 0; display: block;
  background: var(--bg); color-scheme: dark;
}

.clock-fail { position: absolute; inset: 0; z-index: 2; background: var(--bg);
  display: flex; align-items: center; justify-content: center; padding: 0 24px; }
.clock-fail .empty { display: flex; flex-direction: column; align-items: center; gap: 16px; }

.pl-tail { min-height: 56px; }
.pl-tail .loader { padding: 16px 0 20px; }

#screen.holding > * { pointer-events: none; }
.loader { display: flex; gap: 6px; justify-content: center; padding: 23px 0 48px; }
.loader span { width: 8px; height: 8px; border-radius: 50%; background: var(--t3);
  animation: bounce 1.2s ease-in-out infinite; }
.loader span:nth-child(2) { animation-delay: .15s }
.loader span:nth-child(3) { animation-delay: .3s }
@keyframes bounce { 0%,80%,100% { opacity: .3; transform: translateY(0) }
                    40% { opacity: 1; transform: translateY(-5px) } }

.skel { height: 14px; border-radius: 7px; background: var(--row); }

.org-head-who { width: 100%; }
@media (hover: hover) { .org-head-who:active { opacity: .75; } }
.stats--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.org-stat { text-align: center; padding: 14px 6px; }
.org-stat b { display: flex; align-items: center; justify-content: center; gap: 3px; }
.org-stat span { display: block; line-height: 1.2; -webkit-hyphens: auto; hyphens: auto; }
.org-stat-star { display: inline-flex; color: var(--action); }
.org-stat-star svg { width: 20px; height: 20px; }

.skel-row .skel, .skel--seg, .skel-card .skel {
  background: linear-gradient(90deg, var(--row) 30%, rgba(255, 255, 255, .10) 50%, var(--row) 70%);
  background-size: 200% 100%; animation: skel-shine 1.2s linear infinite; }
@keyframes skel-shine { from { background-position: 150% 0; } to { background-position: -50% 0; } }
@media (prefers-reduced-motion: reduce) {
  .skel-row .skel, .skel--seg, .skel-card .skel { animation: none; } }
.skel-story { width: 100px; flex: none; display: flex; flex-direction: column;
  align-items: center; gap: 8px; }
.skel-story .skel { width: 60px; }
.skel-story .skel--circle { width: 90px; height: 90px; border-radius: 50%; }
.skel--seg { height: 44px; border-radius: 999px; margin-top: calc(var(--gap-head) - var(--gap)); }
.skel-card { display: flex; flex-direction: column; gap: 10px; }
.skel--photo { height: 132px; border-radius: var(--r-card) var(--r-card) 0 0;
  margin: -1px -17px 4px; width: calc(100% + 34px); }

.skel-screen .skel {
  background: linear-gradient(90deg, var(--row) 30%, rgba(255, 255, 255, .10) 50%, var(--row) 70%);
  background-size: 200% 100%; animation: skel-shine 1.2s linear infinite; }
@media (prefers-reduced-motion: reduce) { .skel-screen .skel { animation: none; } }

#screen.reveal > :not([aria-busy]) { animation: screen-reveal 150ms ease-out both; }
@keyframes screen-reveal { from { opacity: 0; } to { opacity: 1; } }
.skel--lg { height: 22px; border-radius: 11px; }
.skel--head { height: 12px; width: 34%; margin-top: calc(var(--gap-head) - var(--gap)); }
.skel--box { height: 64px; border-radius: 14px; }
.skel--btn { height: 52px; border-radius: 14px; }
.skel--pill { height: 44px; width: 160px; border-radius: 999px; }
.skel--block { height: 200px; border-radius: var(--r-card); }
.skel--tile { height: 96px; border-radius: var(--r-card); }
.skel-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.skel-person { display: flex; align-items: center; gap: 14px; padding: 4px 0; }
.skel--ava { width: 44px; height: 44px; border-radius: 50%; flex: none; }
.skel--ava-lg { width: 72px; height: 72px; }
.skel--ava-xl { width: 120px; height: 120px; }
.skel-center { display: flex; flex-direction: column; align-items: center; gap: 14px; }

.city-list { display: flex; flex-direction: column; gap: var(--gap); }
.city-item { display: flex; align-items: center; justify-content: space-between;
  background: var(--card); border-radius: 12px; padding: 14px 16px;
  font-size: 19px; width: 100%; text-align: left; gap: 12px; }
.city-members { flex: none; font-size: 17px; color: var(--t2);
  font-variant-numeric: tabular-nums; }
.city-name { overflow-wrap: anywhere; }
.city-item.on { border: 1px solid var(--action); }

.city-label { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.city-where { font-size: 17px; color: var(--t2); }

#toast {
  position: fixed;

  left: 8px; right: 8px;
  top: calc(8px + var(--toast-top, 56px));

  z-index: 300;

  display: flex; align-items: center; justify-content: center;
  min-height: 68px;
  background: rgba(28, 28, 30, .62);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .10);
  padding: 16px 20px; border-radius: 22px;
  font-size: 19px; font-weight: 500; line-height: 1.3; text-align: center;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .38);
}
#toast-msg { overflow-wrap: anywhere;
  pointer-events: none;

  animation: toast-in .34s cubic-bezier(.2, .9, .2, 1.06);
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(-140%) }
  to   { opacity: 1; transform: translateY(0) }
}

#toast.toast--out { animation: toast-out .18s cubic-bezier(.4, 0, .75, .35) forwards; }
@keyframes toast-out {
  from { opacity: 1; transform: translateY(0) }
  to   { opacity: 0; transform: translateY(-140%) }
}

.err { color: var(--danger); font-size: 18px; text-align: center; padding: 24px 0; }

.crop-card { max-width: 420px; }
.crop-frame {
  position: relative; width: 100%; aspect-ratio: 350 / 132;
  overflow: hidden; border-radius: var(--r-card);
  background: var(--row); touch-action: none; cursor: grab;
}
@media (hover: hover) { .crop-frame:active { cursor: grabbing; } }
.crop-img {
  width: 100%; height: 100%; object-fit: cover;
  user-select: none; -webkit-user-drag: none; pointer-events: none;
}

.tour-photo {
  display: block; width: 100%; max-height: 220px; object-fit: cover;
  border-radius: var(--r-card); background: var(--card);
}

.tour-photo-wrap { position: relative; }

.tour-photo-wrap--past {
  display: flex; flex-direction: column; min-height: 220px;
  border-radius: var(--r-card); overflow: hidden;
}
.tour-photo-wrap--past .tour-photo {
  position: absolute; inset: 0; height: 100%; max-height: none; border-radius: 0;
}

.tour-photo-info {
  position: relative; z-index: 1; flex: 1;
  display: flex; flex-direction: column; justify-content: flex-start; gap: 6px;
  padding: 16px 17px 18px; color: #fff;
  background: linear-gradient(to bottom, rgba(0,0,0,.82), rgba(0,0,0,.25));
}
.tour-photo-info .card-title { flex: none; color: #fff; }

.tour-photo-info .card-title,
.tour-photo-info .card-meta { text-shadow: 0 1px 3px rgba(0, 0, 0, .7), 0 0 8px rgba(0, 0, 0, .35); }

.tour-photo-info .card-top .card-title { flex: 1; }
.tour-photo-info .card-meta { color: rgba(255,255,255,.82); }
.tour-photo-info .card-meta b { color: #fff; }
.tour-photo-info .linkish { color: rgba(255,255,255,.82); }

.ev-org-link { cursor: pointer; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { .ev-org-link:active { opacity: .6; } }
.tour-photo-info .tc { background: rgba(255,255,255,.18); color: #fff; }

.card-photo-wrap {
  position: relative;
  width: calc(100% + 34px); margin: -1px -17px 0;
}
.card-photo-wrap .card-photo { width: 100%; margin: 0; }
.tour-photo-badge { position: absolute; top: 10px; right: 10px; }

.card--past .card-photo { filter: grayscale(1); }

.podium {
  list-style: none; margin: 10px 0 0; padding: 10px 14px;
  display: flex; flex-direction: column; gap: 2px;
  border-radius: var(--r-btn); background: var(--row);
  font-size: 17px; line-height: 24px; font-weight: 600;
}
.podium li { display: flex; align-items: baseline; gap: 10px; min-width: 0; }

.card > .card-meta--lead + .podium { margin-top: -8px; }
.card-followup { margin-top: 0; }
.card-followup .card-meta--lead + .podium { margin-top: 4px; }

.podium-n { width: 1.25em; flex: none; text-align: center; color: var(--t1); }
.podium-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.podium-grp { flex: none; font-size: .8em; font-weight: 700; color: var(--t3); }
.podium-v { flex: none; font-variant-numeric: tabular-nums; }

.card-photo-wrap--past {
  display: flex; flex-direction: column; min-height: 132px;
  border-radius: var(--r-card) var(--r-card) 0 0; overflow: hidden;
}
.card-photo-wrap--past .card-photo {
  position: absolute; inset: 0; height: 100%; border-radius: 0;
}
.card-photo-info {
  position: relative; z-index: 1; flex: 1;
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px 17px 16px; color: #fff;
  background: linear-gradient(to bottom, rgba(0,0,0,.8), rgba(0,0,0,.3));
}
.card-photo-info .card-title { color: #fff; }
.card-photo-info .card-meta { color: rgba(255,255,255,.85); }
.card-photo-info .card-meta b { color: #fff; }
.card-photo-info .tc { background: rgba(255,255,255,.18); color: #fff; }
.card-photo-info .card-title,
.card-photo-info .card-meta { text-shadow: 0 1px 3px rgba(0, 0, 0, .7), 0 0 8px rgba(0, 0, 0, .35); }
.card-photo-info .tour-photo-badge { position: static; flex: none; }

.card-photo-wrap--past + .podium { margin-top: 0; }
.card--past .tour-photo-badge { z-index: 1; }
.card-photo-info .tour-photo-badge--recent { margin-block-start: -4px; margin-inline-end: -7px; }
.badge--recent-finished { flex: none; margin-inline-start: auto; }

.card--past:not(.card--photo) > .card-top + .card-meta { margin-top: -6px; }
.card--past:not(.card--photo) > .card-meta + .card-meta:not(.card-meta--lead) { margin-top: -6px; }

.tour-photo-badge {
  display: flex;
  background: rgba(18, 18, 18, .88);
  border-radius: var(--r-pill);
}

.host-marks {
  position: absolute; top: 10px; right: 10px;
  display: flex; align-items: center; gap: 8px;
}
.host-marks .tour-photo-badge { position: static; }
.host-marks--flat { position: static; flex: none; }
.host-marks--flat .venue-mark {
  background: var(--row); color: var(--t2);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none; text-shadow: none;
}
.host-marks--flat .venue-mark-avg { color: var(--t1, #fff); }
.host-marks--flat .venue-mark-n { color: var(--t2); }

.venue-mark {
  gap: 10px; padding: 0 12px 1px;
  color: #fff;
  background: rgba(28, 28, 30, .88);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
  white-space: nowrap;
}
.venue-mark-avg { font-weight: 600; }
.venue-mark .rating-star { fill: var(--action); }
.venue-mark-n { color: rgba(255, 255, 255, .62); }

.card--host .tour-photo-badge {
  background: rgba(14, 14, 16, .62);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  backdrop-filter: blur(14px) saturate(170%);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.card--host .tour-photo-badge .badge { background: transparent; }

.card--host .badge--live .dot { background: #34c759; }
.photo-box { display: flex; flex-direction: column; gap: var(--gap); }
.photo-empty {
  display: flex; align-items: center; justify-content: center;
  height: 120px; border-radius: var(--r-card);
  background: var(--card); border: 1px dashed var(--line-2);
  color: var(--t3); font-size: 16px;
}

.pair--set, .pair--when { cursor: pointer; }
@media (hover: hover) { .pair--set:active,
  .pair--when:active { background: rgba(255, 255, 255, .06); } }

.score-list { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.score-opt {

  display: flex; flex-wrap: wrap; align-items: center; width: 100%;
  column-gap: 10px; row-gap: 0;
  padding: 13px 14px; border-radius: var(--r-btn); text-align: left;
  background: var(--row); border: 1px solid var(--line); color: var(--t1);
  font: 600 17px/1.25 var(--sans);
}
@media (hover: hover) { .score-opt:active { opacity: .85; } }

.score-opt .draw-ico {
  display: inline-block; width: 13px; height: 13px;
  margin-right: 7px; vertical-align: -1px;
}

.score-opt .draw-ico { vertical-align: 1px; }

.score-opt .pawn { vertical-align: -1px; }

.score-opt .pawn { margin-right: 0; width: 15px; height: 15px; }

.exit-ico {
  display: inline-block; width: 20px; height: 20px;

  margin-right: 7px; vertical-align: -3px;
}
.exit-ico svg { display: block; width: 100%; height: 100%; }

.exit-ico + .exit-ico { margin-left: -3px; }
.score-opt .pawn--w { color: #fff; }

.score-opt .pawn--w svg { transform: scale(.92); transform-origin: center; }

.score-opt .pawn--b { color: #413D38; }

.score-ico {
  flex: none; width: 16px; display: inline-flex; justify-content: center;
  vertical-align: -.12em; margin-right: 8px;
}
.score-ico .pawn { width: 16px; height: 16px; margin: 0; }
.score-ico .pawn--w { color: #fff; }
.score-ico .pawn--b { color: rgba(255, 255, 255, .45); }
.score-txt { flex: 1; min-width: 0; }

.score-guest {

  font-size: .8em; font-weight: 400; color: var(--t3); white-space: nowrap;
}

.score-out { display: block; font: inherit; color: inherit; }

.score-who { display: block; margin-top: 3px; color: var(--t2); }

.score-mark {
  flex-basis: 100%; margin-top: 7px;
  display: flex; justify-content: center;
}
.score-mark b {
  padding: 3px 10px; border-radius: 999px;
  font: 500 13px/1.3 var(--sans); color: var(--t2);
  background: rgba(255, 255, 255, .07);
}

.score-opt--on { border-width: 2px; padding: 12px 13px; }
.score-opt--mine { border-color: var(--action); }
.score-opt--mine .score-mark b {
  color: var(--action); background: rgba(242, 194, 48, .14);
}
.score-opt--players { border-color: var(--success-t); }
.score-opt--players .score-mark b {
  color: var(--success-t); background: rgba(63, 191, 116, .16);
}
.score-opt--pending { border-color: rgba(255, 204, 0, .5); background: rgba(255, 204, 0, .08); }
.score-opt--pending .score-mark b {
  color: #ffcc00; background: rgba(255, 204, 0, .16);
}

.qr-wrap--score {
  padding: 14px;
  background: rgba(0, 0, 0, .58);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.qr-card--score .score-list { gap: 16px; }

.qr-card--score .score-opt {
  min-height: 60px; padding: 10px 16px; column-gap: 14px; row-gap: 0;
  font-size: 19px;
}

.qr-card--score .score-opt--on { padding: 11px 15px; }

.qr-card--score .score-opt.tapped { background-color: rgba(255, 255, 255, .10); }
.qr-card--score .score-ico { width: 22px; }
.qr-card--score .score-ico .pawn { width: 22px; height: 22px; }
.qr-card--score .score-ico .draw-ico { width: 22px; height: 22px; }

.draw-ico { display: block; width: 16px; height: 16px; color: var(--t2); }
.draw-ico svg { width: 100%; height: 100%; display: block; }
.qr-card--score .score-mark b { font-size: 14px; }

.qr-card--score .score-opt:has(.score-out) { padding-top: 16px; padding-bottom: 16px; }

.qr-card--score .btn--danger { height: auto; min-height: 60px; font-size: 19px; }

.qr-wrap--std { padding: 14px; }

.qr-card--std {
  max-width: 460px;

  padding: 22px 16px 16px; gap: 16px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
}
.qr-card--std .qr-title { font-size: 22px; font-weight: 600; }

.qr-wrap--sheet { align-items: flex-end; padding: 0; }
.qr-card--sheet {
  max-width: 560px; width: 100%; max-height: 85vh; overflow-y: auto;
  border-radius: 28px 28px 0 0; border-bottom: 0;
  align-items: stretch; gap: 6px;
  padding: 10px 12px calc(16px + env(safe-area-inset-bottom, 0px));
  animation: sheet-in 300ms cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes sheet-in { from { transform: translateY(100%) } to { transform: none } }
@media (prefers-reduced-motion: reduce) {
  .qr-card--sheet { animation: qr-in-scrim 140ms ease-out both; }
}
.sheet-grab {
  align-self: center; width: 40px; height: 5px; border-radius: 3px;
  background: rgba(255, 255, 255, .22); margin-bottom: 8px;
}
.qr-card--sheet .qr-title { text-align: left; padding: 0 10px 8px; }
.qr-card--sheet .menu-list { display: flex; flex-direction: column; gap: 4px; }

.menu-sec {
  margin: 14px 10px 4px; color: var(--t3);
  font-size: 16px; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase;
}

.menu-row {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 12px 14px; border-radius: 16px;
  background: transparent; border: 0; color: var(--t1); text-align: left;
}
.menu-row--on { background: rgba(255, 255, 255, .08); }
@media (hover: hover) { .menu-row:active { background: rgba(255, 255, 255, .12); } }
.menu-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.menu-row-title { font: 500 19px/1.2 var(--sans); }
.menu-row-sub { font: 400 15px/1.25 var(--sans); color: var(--t3); }

.menu-row-tag { flex: none; color: var(--success-t); font: 500 16px/1 var(--sans); }
.qr-card--std .score-list { gap: 10px; width: 100%; }
.qr-card--std .score-opt {
  min-height: 60px; padding: 0 16px; column-gap: 10px; row-gap: 0;
  border-radius: 14px; background: transparent; border: 1px solid #4a4541;
  color: #f5f4f2; font-size: 19px; font-weight: 600; justify-content: center;
}
.qr-card--std .score-txt { flex: 0 1 auto; text-align: center; }

.qr-card--std .score-mark { text-align: center; }

.qr-card--std .score-opt--danger {
  background: rgba(255, 90, 90, .12); border-color: rgba(255, 90, 90, .28);
  color: #ff8a8a;
}

.qr-card--std .qr-title { color: #fff; margin-bottom: 0; }

.qr-card--std .ask-text {
  color: #b6b3b0; font: 400 18px/1.4 var(--sans); text-align: center;
}

.qr-warn {
  margin-top: 10px; color: #FFB020; font: 700 15px/1.35 var(--sans);
  text-align: center;
}

.card--warn .card-meta { color: var(--success-t); }

.btn--std,
.qr-card--std .btn { height: auto; min-height: 60px; border-radius: 14px;
  padding: 0 16px; font-size: 19px; font-weight: 600; }
.btn--std.btn--primary,
.qr-card--std .btn--primary { background: #f2c230; color: #211f1d; border: 0; }

.btn--std.btn--ghost,

.btn.btn--quiet,
.qr-card--std .btn--ghost {
  background: transparent; border: 1px solid #4a4541; color: #b6b3b0;
}

.qr-card--std .menu-list .rowlink {
  background: transparent; border: 1px solid #4a4541; border-radius: 14px;
  color: #b6b3b0;
}

.qr-card--rooms .btn--ghost,
.qr-card--rooms .menu-list .rowlink,
.qr-card--rooms .score-opt {
  background: var(--rooms-fill, var(--card)); border: 1px solid var(--line); color: var(--t1);
}

.menu-choices { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr));
  gap: 8px; }
.menu-choice { min-width: 0; padding: 0 4px; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
.menu-choices--4 .menu-choice { font-size: 15px; }
.qr-card--rooms .menu-choice.btn--on,
.menu-choice.btn--on {
  background: var(--action); color: #1a1a1a; border: 1px solid var(--action);
}
.qr-card--rooms .btn--danger {
  background: var(--rooms-fill, var(--card)); border: 1px solid rgba(255, 51, 51, .3);
  color: var(--danger);
}

.qr-card--rooms .score-opt--danger { border-color: rgba(255, 51, 51, .3); color: var(--danger); }

.qr-card--rooms .score-opt--pending { background: rgba(255, 204, 0, .08); }

.qr-card--rooms .score-opt--on.score-opt--mine {
  background: rgba(242, 194, 48, .14); border-color: var(--action);
}
.qr-card--rooms .score-opt--on.score-opt--players {
  background: rgba(63, 191, 116, .16); border-color: var(--success-t);
}
.qr-card--rooms .score-opt--on.score-opt--pending {
  background: rgba(255, 204, 0, .16); border-color: rgba(255, 204, 0, .5);
}

.btn--std.btn--danger {
  background: rgba(255, 90, 90, .12); border: 1px solid rgba(255, 90, 90, .28);
  color: #ff8a8a;
}

.res-grid--std .res-btn {
  min-height: 60px; border-radius: 14px; padding: 8px 6px;
  background: transparent; border: 1px solid #4a4541; color: #f5f4f2;
  font-weight: 600;
}
.res-grid--std .res-btn .k { color: #b6b3b0; }

.qr-card--code { max-width: 460px; }

.qr-card--code .qr-img { max-width: 380px; }

.op-wrap {

  position: fixed; left: 0; right: 0; top: 0; height: var(--app-h, 100%);
  z-index: 200;
  background: rgba(0, 0, 0, .82);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  display: flex;

  animation: qr-in-scrim 140ms ease-out both;
}

.op-card { animation: qr-in-sheet 260ms cubic-bezier(.2, .8, .2, 1) both; }

.op-wrap--after-skel { animation: none; }
.op-wrap--after-skel .op-card { animation: none; }
.op-wrap--after-skel .op-scroll { animation: screen-reveal 150ms ease-out both; }
.op-wrap--skel .op-scroll { display: flex; flex-direction: column; gap: 12px;
  padding: 4px 16px 16px; }
.op-skel-search { height: 46px; border-radius: 999px; }
.op-skel-invite { width: 55%; margin: 16px 0 12px 60px; }
@keyframes qr-in-sheet {
  from { opacity: 0; transform: translateY(10px) }
  to   { opacity: 1; transform: none }
}
.op-card {

  position: relative; flex: 1; min-width: 0; min-height: 0;
  display: flex; flex-direction: column;
  background: #000;
}

.op-bar {

  position: relative; flex: none; z-index: 3; padding: 0 14px 10px;
  background: #000;

  padding-top: calc(14px + max(var(--safe-top, 0px), var(--tgtop, 0px)));
  min-height: 52px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  pointer-events: none;
}
.op-bar > * { pointer-events: auto; }

.op-bar .op-bar-x { margin-left: auto; }

.op-bar-title {
  position: absolute; left: 0; right: 0; margin: 0;
  top: 50%; transform: translateY(-50%);
  font: 600 20px/1.2 var(--sans); color: #f5f4f2; text-align: center;
  pointer-events: none;
}

.op-bar--plain {

  --op-bar-top: calc(3px + max(env(safe-area-inset-top, 0px), var(--safe-top)));
  align-items: center;
  min-height: var(--topbar-h);
  padding-top: var(--op-bar-top);
  padding-bottom: 17px;

  padding-left: 10px; padding-right: 10px;

  background: linear-gradient(180deg, #000 0, #000 1%, transparent 100%);
}

.op-bar--plain .op-bar-title {

  position: absolute; left: 0; right: 0;
  top: var(--op-bar-top); bottom: 17px; transform: none;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}

.op-bar--plain .op-bar-x {

  position: relative; flex: none; align-self: center; z-index: 1;

  margin-left: 0; margin-right: auto;

  width: var(--tb-back-size); height: var(--tb-back-size);
  min-height: var(--tb-back-size); padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .10);
  border: 0;
  -webkit-backdrop-filter: blur(22px) saturate(220%);
  backdrop-filter: blur(22px) saturate(220%);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .22);
  color: #f5f4f2;
}

.op-bar--plain .op-bar-x svg { width: var(--tb-back-icon); height: var(--tb-back-icon); }

.op-bar-btn, .op-bar-x {
  flex: none; min-height: 52px; border: 0; color: #f5f4f2;
  background: rgba(37, 37, 37, .62);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  backdrop-filter: blur(30px) saturate(160%);
  font: 600 17px/1.15 var(--sans); cursor: pointer;
}
.op-bar-btn { max-width: 40%; padding: 0 22px; border-radius: 999px; }
.op-bar-x {
  width: 52px; height: 52px; padding: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.op-bar-x svg { width: 30px; height: 30px; }
@media (hover: hover) { .op-bar-btn:active,
  .op-bar-x:active { opacity: .8; } }

.op-scroll {
  flex: 1; min-height: 0; overflow-y: auto;

  touch-action: pan-y; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column; gap: 10px;

  padding: 4px 16px calc(96px + env(safe-area-inset-bottom, 0px));
}

.op-card::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 96px;
  pointer-events: none; z-index: 2;
  background: linear-gradient(0deg, #000 10%, rgba(0, 0, 0, .7) 55%, rgba(0, 0, 0, 0) 100%);
}

.op-search-box {
  position: relative; flex: none; display: flex; align-items: center;
  height: 46px; border-radius: 999px; background: rgba(118, 118, 128, .24);
}
.op-search-box:focus-within { background: rgba(118, 118, 128, .32); }
.op-search {
  width: 100%; height: 100%; padding: 0 16px; border: 0; background: none;
  color: #f5f4f2; font: 400 17px/1 var(--sans); text-align: center;
}
.op-search:focus { outline: none; }

.op-search:focus, .op-search:not(:placeholder-shown) { text-align: left; }
.op-search:focus ~ .op-ph, .op-search:not(:placeholder-shown) ~ .op-ph { opacity: 0; }

.op-ph {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; gap: 8px; pointer-events: none; color: #8e8e93;
  font: 400 17px/1 var(--sans); transition: opacity .12s ease-out;
}
.op-ph b { font-weight: 400; }
.op-ph svg { width: 23px; height: 23px; }

.pl-tools { display: grid; position: relative; z-index: 2; }
.pl-tools > * {
  grid-area: 1 / 1;
  min-width: 0;
  transition: opacity .24s ease, transform .24s ease;
}
.pl-tools > [inert] { opacity: 0; pointer-events: none; }
.pl-tools > .pl-filters[inert] { transform: translateY(-7px); }
@media (prefers-reduced-motion: reduce) {
  .pl-tools > * { transition: none; }
}
#pl-body + .pl-drill { margin-top: calc(16px - var(--gap)); }
.pl-search { display: flex; align-items: center; gap: 10px; flex: none; }
.pl-search[hidden] { display: none; }
.pl-search-box, .pl-search-x {
  position: relative; height: 45px; border-radius: 999px;
  background: linear-gradient(rgba(255, 255, 255, .10), rgba(255, 255, 255, .10)), var(--plate);
}
.pl-search-box::after, .pl-search-x::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  padding: .5px; pointer-events: none;
  background: linear-gradient(145deg,
    rgba(255, 255, 255, .30) 0%, rgba(255, 255, 255, .06) 45%,
    rgba(255, 255, 255, .04) 70%, rgba(255, 255, 255, .16) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.pl-search-box { flex: 1; min-width: 0; display: flex; align-items: center; }
.pl-loupe { position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  display: flex; color: #8e8e93; pointer-events: none; }
.pl-loupe svg { width: 23px; height: 23px; }
.pl-q { width: 100%; height: 100%; padding: 0 16px 0 48px; border: 0; background: none;
  color: #f5f4f2; font: 400 18px/1 var(--sans); }
.pl-q:focus { outline: none; }

.pl-tools > .pl-search:not([inert]) .pl-q { animation: pl-search-caret .28s; }
@keyframes pl-search-caret {
  from, to { caret-color: transparent; }
}
.pl-q::-webkit-search-cancel-button { -webkit-appearance: none; }
.pl-ph { position: absolute; left: 48px; top: 50%; transform: translateY(-50%);
  color: #8e8e93; font: 400 18px/1 var(--sans); pointer-events: none; }
.pl-q:not(:placeholder-shown) ~ .pl-ph { display: none; }
.pl-search-x { flex: none; width: 45px; border: 0; padding: 0; color: #fff;
  display: flex; align-items: center; justify-content: center; }
@media (hover: hover) { .pl-search-x:active { opacity: .7; } }
.pl-search-x svg { width: 24px; height: 24px; }

.op-invite {
  flex: none; display: flex; align-items: center; gap: 12px;
  width: 100%; min-height: 56px; padding: 8px 2px;
  background: none; border: 0; color: var(--action);
  font: 500 17px/1.2 var(--sans); text-align: left; cursor: pointer;
}
@media (hover: hover) { .op-invite:active { opacity: .6; } }
.op-invite-ic { flex: none; width: 46px; display: flex; justify-content: center; }
.op-invite-ic svg { width: 28px; height: 28px; }

.op-list { display: flex; flex-direction: column; }
.op-item {
  position: relative; display: flex; align-items: center; gap: 12px;
  width: 100%; min-height: 62px; padding: 8px 12px 8px 2px;
  background: none; border: 0; color: var(--t1);
  font: 500 18px/1.25 var(--sans); text-align: left; cursor: pointer;
}

.op-item + .op-item::before {
  content: ''; position: absolute; left: 60px; right: 12px; top: 0; height: 1px;
  background: rgba(255, 255, 255, .09);
}
.op-ava {
  flex: none; width: 46px; height: 46px; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font: 600 17px/1 var(--sans); color: #fff;
}
.op-ava img { width: 100%; height: 100%; object-fit: cover; }
.op-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.op-mid b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.op-mid i { color: var(--t2); font: 400 16px/1.2 var(--sans); font-style: normal; }
.op-item u { flex: none; text-decoration: none; color: var(--t2);
  font: 500 16px/1 var(--sans); font-variant-numeric: tabular-nums; }

.op-item--busy { opacity: .5; }

.op-busy {
  flex: none; margin-left: 10px; min-height: 40px; padding: 0 14px;
  display: inline-flex; align-items: center; border-radius: 999px;
  background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .14);
  color: var(--t2); font: 500 16px/1 var(--sans);
}

.op-pick {
  flex: none; margin-left: 10px; min-height: 40px; padding: 0 20px;
  display: inline-flex; align-items: center; border-radius: 999px;
  background: var(--action); color: var(--ink); font: 600 17px/1 var(--sans);
}

.op-now { color: var(--action) !important; font-weight: 600 !important;
  white-space: nowrap; }

.op-drop {
  flex: none; margin-left: 8px; min-height: 40px; padding: 0 16px;
  display: inline-flex; align-items: center; border-radius: 999px;
  background: rgba(255, 69, 58, .16); border: 1px solid rgba(255, 69, 58, .38);
  color: #ff6b61; font: 600 16px/1 var(--sans); text-align: center;
}

.op-note {

  margin: 10px 0;
  padding: 12px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .10);
  color: var(--t2); font: 400 16px/1.35 var(--sans);
}

.op-head {
  color: var(--t3); font-size: 16px; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; padding: 18px 2px 8px;
}
.op-head:first-child { padding-top: 0; }
.op-empty { color: var(--t2); font-size: 18px; line-height: 1.4;
  text-align: center; padding: 24px 6px; }

.field-row { display: flex; gap: 8px; align-items: flex-start; }
.field-row .field { flex: 1; min-width: 0; }

.field-row .btn--icon svg { width: 30px; height: 30px; }

.gb-list { gap: 10px; margin-top: 10px; }

.gb-hint { display: flex; flex-direction: column; gap: 10px; }
.gb-same-list { display: flex; flex-direction: column; gap: 8px; }

.gb-same {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 8px 10px; border-radius: var(--r-row);
  border: 1px solid var(--line); background: var(--row); color: inherit;
  text-align: left;
}
@media (hover: hover) { .gb-same:active { opacity: .7; } }
.gb-same .plr-ava { width: 36px; height: 36px; font-size: 15px; }
.gb-same-mid { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gb-same-mid b { font-weight: 600; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; }
.gb-same-mid i { color: var(--t2); font: 400 15px/1.2 var(--sans); font-style: normal; }

.gb-act {
  flex: none; width: 44px; height: 44px; padding: 0; border: 0;
  background: none; color: var(--t2); font-size: 18px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
}
@media (hover: hover) { .gb-act:active { background: var(--line); } }
.gb-act svg { width: 18px; height: 18px; }

.gb-edit { display: flex; gap: 8px; align-items: flex-start; padding: 6px 0; }
.gb-edit .field { flex: 1; min-width: 0; }
.gb-edit .gb-save { flex: none; width: auto; padding: 0 16px; }

.pair--off { opacity: .55; }

.pair-when .by-admin { color: var(--action); font-weight: 500; }

.pair-names .pair-bye { padding-left: 20px; }
.pair-names .pair-when {
  display: block; margin-top: 3px; padding-left: 20px;
  font-size: 13px; color: var(--t3); letter-spacing: .2px;
  font-variant-numeric: tabular-nums;
}

.pair-names--plain .pair-when { padding-left: 0; }
.pair-names .pair-when--rec { position: relative; }
.pair-names .pair-rec { position: absolute; left: -1px; top: 50%; width: 15px; height: 15px;
  transform: translateY(-50%); color: var(--t1); display: block; }
.pair-rec svg { display: block; width: 100%; height: 100%; }

.menu-list { display: flex; flex-direction: column; gap: 16px; width: 100%; }

.hall-mini {
  width: 100%; background: #0e0e10; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 10px; display: flex; flex-direction: column; gap: 6px;
}
.hm-head {
  font-size: 10px; font-weight: 700; color: #f2c230; text-align: center;
  text-transform: uppercase; letter-spacing: .04em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hm-table {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .04); border-radius: 8px; padding: 5px 7px;
}
.hm-num {
  flex: none; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(255, 255, 255, .10); color: #b6b3b0;
  font: 700 9px/16px var(--sans); text-align: center;
}
.hm-pair { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hm-side { display: flex; align-items: center; gap: 5px; min-width: 0; }
.hm-dot {
  flex: none; width: 7px; height: 7px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
}
.hm-dot--w { background: #f5f4f2; }
.hm-dot--b { background: #1c1c1e; }

.hm-ava {
  flex: none; width: 14px; height: 14px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  font: 700 7px/1 var(--sans); color: #fff;
}
.hm-ava img { width: 100%; height: 100%; object-fit: cover; }
.hm-nm {
  flex: 1; min-width: 0; font-size: 10px; color: #f5f4f2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hm-rt { flex: none; font-size: 9px; color: #8f8c89; }

.hall-mini--nofaces .hm-ava { display: none; }

.menu-list .rowlink { width: 100%; }

.menu-list .btn {
  font-size: 19px; line-height: 1.2;
  height: auto; min-height: 60px; padding: 10px 14px;
  white-space: normal; text-align: center;
}

@media (hover: hover) { .plr--tap:active { opacity: .7; } }

.login {
  min-height: 100%; display: flex; flex-direction: column;
  gap: 22px; padding: 18px 20px 28px; text-align: left;
}

.login-top {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding-top: 8px; text-align: center;
}
.login-logo {
  width: 72px; height: 72px; border-radius: 50%; background: var(--card);
  display: flex; align-items: center; justify-content: center;
}
.login-logo img { width: 38px; height: 38px; object-fit: contain; }
.login-head { font: 600 28px/1.15 var(--sans); letter-spacing: -.02em; }
.login-text {
  font: 400 17px/1.5 var(--sans); color: var(--t2); max-width: 320px;
  text-wrap: pretty;
}

.login-perks {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--card); border: 1px solid var(--line-2);
  border-radius: 20px; padding: 18px;
}
.login-perk { display: flex; gap: 10px; align-items: flex-start; }
.login-perk i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--action);
  margin-top: 7px; flex: none;
}
.login-perk span { font: 400 16px/1.45 var(--sans); color: var(--t1); }
.login-perks-line { height: 1px; background: var(--line-2); }
.login-perks-note { font: 400 15px/1.45 var(--sans); color: var(--t3); }

.btn-tg-wide {
  width: 100%; height: 54px; min-height: 54px; border-radius: 14px; gap: 10px;
  background: #2AABEE; color: #fff; border: 0;
}
@media (hover: hover) { .btn-tg-wide:active { opacity: .88; } }

.login-or { display: flex; align-items: center; gap: 12px; }
.login-or i { height: 1px; flex: 1; background: var(--line-2); }
.login-or span {
  font: 500 13px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase;
  color: var(--t3);
}
.login-why {
  margin: 12px 0; font: 400 15px/1.5 var(--sans); color: var(--t2);
  text-wrap: pretty;
}

.login-terms {
  margin-top: auto; padding-top: 18px; text-align: center;
  font: 400 14px/1.5 var(--sans); color: var(--t2); text-wrap: pretty;
}

.login-wait { width: 100%; display: flex; flex-direction: column; gap: var(--gap); }

.login-code {
  font: 700 38px/1.15 var(--mono); letter-spacing: .18em; text-align: center;
  color: var(--action); margin: 16px 0 10px; padding-left: .18em;
}
.login-status { color: var(--t2); }

.onb-step { font: 500 15px/1 var(--sans); color: var(--t3); letter-spacing: .04em;
  text-transform: uppercase; }
.onb-head { font: 600 24px/1.2 var(--sans); letter-spacing: -.01em; }
.onb-hint { font-size: 17px; line-height: 1.45; color: var(--t2); }

.org-card {
  display: flex; align-items: stretch;
  background: var(--card); border-radius: var(--r-row); padding: 18px 16px;
}

.org-card--link {
  width: 100%; border: 0; color: inherit; font: inherit;
  text-align: left; cursor: pointer;
}
@media (hover: hover) { .org-card--link:active { background: var(--row); } }
.org-half { flex: 1; min-width: 0; }
.org-half b {
  display: block; font-size: 30px; font-weight: 600; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.org-half span { font-size: 18px; color: var(--t2); }

.org-sep { width: 1px; background: var(--line, rgba(255,255,255,.08)); margin: 0 16px; }

.card.rf-card { display: flex; flex-direction: column; gap: 14px; padding: 18px; }
.rf-card-sum { display: flex; flex-direction: column; gap: 2px; padding: 0; border: 0;
  background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
@media (hover: hover) { .rf-card-sum:active { opacity: .7; } }
.rf-card-sum b { font-size: 28px; font-weight: 700; letter-spacing: -.01em;
  color: var(--t1); font-variant-numeric: tabular-nums; }
.rf-card-sum span { font-size: 19px; color: var(--t2); }

.invite-qr-page { width: 100%; max-width: 560px; margin: 0 auto; padding-top: 30px; }
.invite-qr-card {
  position: relative; display: flex; flex-direction: column; align-items: center;
  width: min(100%, 400px); align-self: center; box-sizing: border-box;
  gap: 5px; padding: 44px 18px 18px; border-radius: var(--r-card);
  background: var(--card); border: 0;
}
.invite-qr-avatar {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;

  box-shadow: 0 0 0 3px var(--card); color: var(--t1);
  font: 600 21px/1 var(--sans);
}

.invite-qr-avatar .ava-img {
  width: calc(100% + 2px); height: calc(100% + 2px); margin: -1px;
  object-fit: cover;
}
.invite-qr-name { max-width: 100%; font-size: 23px; line-height: 1.25;
  font-weight: 700; color: var(--t1); text-align: center; overflow-wrap: anywhere; }
.invite-qr-sub { font-size: 17px; line-height: 1.35; color: var(--t2); text-align: center; }

.qr-card--event-invite {
  position: relative; margin-top: 30px; padding-top: 44px;
}
.qr-card--event-invite .invite-qr-avatar {
  box-shadow: 0 0 0 3px rgba(28, 28, 30, .92);
}
.event-invite-title {
  max-width: 100%; color: var(--t1); font: 700 21px/1.25 var(--sans);
  text-align: center; overflow-wrap: anywhere;
}
.event-invite-date {
  color: var(--t2); font: 500 16px/1.35 var(--sans); text-align: center;
}
.qr-card--event-invite .qr-frame { margin-top: 4px; }
.invite-qr-frame {
  width: min(100%, 250px); aspect-ratio: 1; margin-top: 12px; padding: 8px;
  border-radius: 17px; background: #fff; display: flex; align-items: center;
  justify-content: center; overflow: hidden;
}
.invite-qr-frame .loader { color: #242322; }
.invite-qr-img { display: block; width: 100%; height: 100%; object-fit: contain;
  animation: qr-img-in 180ms ease-out both; }
.invite-qr-note { margin: 0 auto; max-width: 500px; padding: 0 8px;
  color: var(--t2); font-size: 18px; line-height: 1.45; text-align: center; }

.invite-qr-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.invite-qr-actions .btn { width: 100%; min-height: 56px; }

#invite-qr-close { margin-top: 10px; }
.invite-qr-failed { color: #242322; font-size: 16px; line-height: 1.35;
  text-align: center; }
.invite-qr-frame .btn { width: auto; min-height: 44px; background: #ecebe9;
  color: #242322; border-color: rgba(0, 0, 0, .15); }
@media (max-width: 360px) {
  .invite-qr-page { padding-top: 28px; }
  .invite-qr-card { width: min(100%, 340px); padding: 42px 14px 16px; }
  .invite-qr-frame { width: min(100%, 226px); padding: 7px; border-radius: 15px; }
  .invite-qr-note { font-size: 17px; }
}

.rf-bar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .10); overflow: hidden; }
.rf-bar i { display: block; height: 100%; border-radius: 4px; background: var(--action); }

.rf-lv-list { display: flex; flex-direction: column; border-radius: var(--r-card);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  overflow: hidden; }
.rf-lv { display: flex; flex-direction: column; gap: 12px; padding: 12px 16px; }
.rf-lv + .rf-lv { border-top: 1px solid rgba(255, 255, 255, .08); }
.rf-lv-head { display: flex; align-items: center; gap: 12px; }
.rf-lv-piece { flex: none; width: 40px; height: 40px; }
.rf-lv-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rf-lv-text b { font-size: 19px; font-weight: 600; color: var(--t1); }
.rf-lv-text > span { font-size: 16px; line-height: 1.3; color: var(--t2); }
.rf-lv-pts { flex: none; display: flex; flex-direction: column; align-items: flex-end;
  text-align: right; }
.rf-lv-pts b { font-size: 24px; font-weight: 700; color: var(--success-t);
  font-variant-numeric: tabular-nums; }
.rf-lv-pts span { font-size: 14px; line-height: 1.25; color: var(--t3); }
.rf-lv--done { opacity: .5; }

.rf-lv--cur { padding: 16px; background: rgba(242, 194, 48, .10);
  box-shadow: inset 0 0 0 1px rgba(242, 194, 48, .45); }

.rf-lv--cur:first-child { border-radius: calc(var(--r-card) - 1px) calc(var(--r-card) - 1px) 0 0; }
.rf-lv--cur:last-child { border-radius: 0 0 calc(var(--r-card) - 1px) calc(var(--r-card) - 1px); }
.rf-lv--cur:first-child:last-child { border-radius: calc(var(--r-card) - 1px); }
.rf-lv--cur .rf-lv-piece { width: 56px; height: 56px; }
.rf-lv--cur .rf-lv-text b { font-size: 22px; font-weight: 700; }
.rf-lv-mark { align-self: flex-start; white-space: nowrap; font-style: normal; font-size: 14px;
  font-weight: 600; padding: 2px 8px; border-radius: 7px; background: var(--action);
  color: var(--ink); }
.rf-lv-more { display: flex; flex-direction: column; gap: 10px; }
.rf-lv-more p { margin: 0; font-size: 18px; line-height: 1.35; color: var(--t1); }
.rf-lv-more .rf-lv-next { font-size: 15px; font-weight: 400; color: var(--t2); }

.rf-bar--big { position: relative; height: 26px; border-radius: 13px; }
.rf-bar--big i { border-radius: 13px; }
.rf-bar--big span { position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; font-size: 15px; font-weight: 700; color: var(--t1);
  font-variant-numeric: tabular-nums; text-shadow: 0 1px 2px rgba(0, 0, 0, .45); }

.rf-who { display: flex; align-items: center; gap: 14px; width: 100%; padding: 4px 2px;
  border: 0; background: none; text-align: left; color: var(--t1); font-family: inherit;
  cursor: pointer; }
.rf-who .plr-ava { width: 64px; height: 64px; font-size: 22px; flex: none; }
.rf-who-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rf-who-text b { font-size: 22px; font-weight: 700; line-height: 1.25; }
.rf-who-text span { font-size: 17px; line-height: 1.35; color: var(--t2); }

.rf-split { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.rf-chip { padding: 4px 10px; border-radius: 9px; background: rgba(255, 255, 255, .08);
  font-size: 16px; line-height: 1.35; color: var(--t2); }

.rf-friend .plr-name { font-size: 19px; }
.rf-friend .plr-sub { font-size: 16px; }
.rf-chip b { color: var(--success-t); font-weight: 600; }

.rf-scale-card { display: flex; flex-direction: column; border-radius: var(--r-card);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }

.rf-scale-row { display: flex; align-items: center; padding: 14px 16px 14px 0; }
.rf-scale-row + .rf-scale-row { border-top: 1px solid rgba(255, 255, 255, .08); }
.rf-scale-num { flex: none; width: 88px; text-align: center; font-size: 24px; font-weight: 700;
  letter-spacing: -.02em; color: var(--success-t); font-variant-numeric: tabular-nums; }
.rf-scale-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rf-scale-text span { font-size: 18px; line-height: 1.3; color: var(--t1); }
.rf-scale-text i { font-style: normal; font-size: 16px; line-height: 1.3; color: var(--t2); }
.rf-rulebook { margin: 0; padding-left: 24px; display: flex; flex-direction: column;
  gap: 10px; font-size: 18px; line-height: 1.45; color: var(--t2); }
.rf-rules { display: flow-root; }
.rf-rules > summary { align-items: center; gap: 10px; cursor: pointer; }
.rf-rules > summary::-webkit-details-marker { display: none; }
.rf-rules > summary > svg { flex: none; width: 14px; height: 14px; }
.rf-rules[open] > summary > svg { transform: rotate(180deg); }
.rf-rules-body { margin-top: var(--gap); }
.rf-pts { flex: none; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums;
  color: var(--success-t); }
.rf-pts--none { color: var(--t3); font-weight: 400; }
.org-mark { display: flex; align-items: center; gap: 6px; }
.org-mark b { display: inline-block; }
.org-star { width: 20px; height: 20px; flex: none; fill: var(--action); }

.inst-bar {
  position: fixed; left: 8px; right: 8px; z-index: 60;
  bottom: 60px;
  display: grid; grid-template-columns: auto 1fr; align-items: center;
  gap: 10px 12px;
  background: var(--card); border: 1px solid var(--line-2);
  border-radius: 18px; padding: 12px 14px;
  box-shadow: 0 12px 32px rgba(0,0,0,.45);

  transform: translateY(140%); opacity: 0;
  transition: transform .22s ease-out, opacity .22s ease-out;
}
.inst-bar--on { transform: translateY(0); opacity: 1; }
.inst-ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; }
.inst-ico .logo-img { width: 36px; height: 36px; }
.inst-txt { min-width: 0; }

.inst-acts { grid-column: 1 / -1; }
.inst-txt b { display: block; font-size: 16px; font-weight: 600; }
.inst-txt span { display: block; font-size: 13px; color: var(--t2); margin-top: 2px; }

.inst-acts { display: flex; gap: 8px; width: 100%; }
.inst-acts .btn { height: 40px; font-size: 15px; }
.inst-acts .inst-yes { flex: 2; }
.inst-acts .inst-no { flex: 1; }

.faces {
  position: relative; width: 100%; aspect-ratio: 390 / 307;
  margin-bottom: -6px; overflow: hidden; pointer-events: none;

  -webkit-mask-image: none;
}
.faces::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;

  background: radial-gradient(26% 26% at 50% 50%,
    rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .55) 58%, rgba(0, 0, 0, 0) 100%);
}

.face {
  position: absolute; aspect-ratio: 1; border-radius: 999px;
  background: var(--bg); box-shadow: 0 0 0 3px var(--bg);
}
.face img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: 999px; object-fit: cover;
}

.face-mid {
  position: absolute; left: 50%; top: 50%; width: 24%; aspect-ratio: 1;
  transform: translate(-50%, -50%); z-index: 1;
  border-radius: 999px;

  background: #100F0E;

  box-shadow: 0 0 22px 12px rgba(0, 0, 0, .85);
  display: flex; align-items: center; justify-content: center;
}

.face-mid::before {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 260%; height: 260%; transform: translate(-50%, -50%);
  border-radius: 999px; z-index: -1; pointer-events: none;

  background: radial-gradient(closest-side,
    rgba(255,204,0,.07) 0%, rgba(255,204,0,.03) 45%, rgba(255,204,0,0) 100%);
}
.face-mid .logo-img { width: 62%; height: auto; position: relative; }

@keyframes vcOrb {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(6px, -5px); }
  50%  { transform: translate(0, -9px); }
  75%  { transform: translate(-6px, -4px); }
  100% { transform: translate(0, 0); }
}
@keyframes vcOrb2 {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-5px, 5px); }
  50%  { transform: translate(2px, 9px); }
  75%  { transform: translate(6px, 3px); }
  100% { transform: translate(0, 0); }
}
@keyframes vcSwapA { 0%, 42% { opacity: 1; } 58%, 100% { opacity: 0; } }
@keyframes vcSwapB { 0%, 42% { opacity: 0; } 58%, 100% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {

  .qr-card, .op-card { animation-name: qr-in-scrim; }
  .face, .face img { animation: none !important; }
  .face img + img { opacity: 0; }
}

.org-mark--row { display: flex; flex-direction: column; align-items: flex-end;
  gap: 1px; flex: none; }
.org-mark--row .org-mark-top { display: flex; align-items: center; gap: 5px; }
.org-mark--row b { font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; }
.org-mark--row .org-star { width: 15px; height: 15px; }

.plr-stars { display: inline-flex; align-items: center; gap: 2px; white-space: nowrap; }
.plr-stars .org-star { width: .9em; height: .9em; fill: currentColor; }
.org-mark--row i {
  font-style: normal; font-size: 13px; color: var(--t3); white-space: nowrap;
}

.linkish--inline {
  display: inline; align-self: auto; font-size: inherit;
  font-weight: inherit; line-height: inherit;
}

.org-card { flex-direction: column; }
.org-row { display: flex; align-items: stretch; }
.org-row .org-half { flex: 1; min-width: 0; }

.org-row--under {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--line, rgba(255,255,255,.08));
}

.stack--people { gap: var(--gap); }

.ios-steps { display: flex; flex-direction: column; gap: 13px; margin: 4px 0 14px; }
.ios-step { display: grid; grid-template-columns: 24px 28px 1fr; align-items: center;
  gap: 11px; text-align: left; }
.ios-num { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  background: var(--row); color: var(--t2); font: 600 14px/1 var(--sans); }
.ios-ic { color: var(--action); display: grid; place-items: center; }
.ios-ic svg { width: 26px; height: 26px; }
.ios-txt { font-size: 17px; line-height: 1.32; }
.ios-note { font-size: 15px; color: var(--t3); text-align: left; margin-bottom: 14px; }

.card-join {

  display: flex; align-items: center; justify-content: center;
  flex: none; height: 40px; padding: 0 14px;
  border-radius: var(--r-btn); background: var(--action); color: var(--ink);

  font: 600 16px/1 var(--sans); text-align: center; white-space: nowrap;
}
@media (hover: hover) { .card-join:active { opacity: .8; } }

.card-bottom { display: flex; align-items: center; justify-content: flex-end;
  gap: 10px; }

.card-faces { display: flex; align-items: center; margin-right: auto; min-width: 0; overflow: hidden; }

.card-face {

  width: 40px; height: 40px; border-radius: 50%; flex: none; overflow: hidden;
  background: var(--row);
  margin-left: calc(var(--шаг, 36px) - 40px);
  display: flex; align-items: center; justify-content: center;
  font: 600 15px/1 var(--sans); font-style: normal; color: #fff;
}
.card-face:first-child { margin-left: 0; }

.card-face--cut { display: none; }

.card-face:not(:last-child) {
  -webkit-mask-image: radial-gradient(circle 23px at calc(var(--шаг, 36px) + 20px) 50%,
    rgba(0, 0, 0, 0) 98%, #000 100%);
  mask-image: radial-gradient(circle 23px at calc(var(--шаг, 36px) + 20px) 50%,
    rgba(0, 0, 0, 0) 98%, #000 100%);
}
.card-face img { width: 100%; height: 100%; object-fit: cover; }

.card-face--more { background: var(--row); color: #fff; position: relative; }
.more-ava {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;

  filter: blur(7px) saturate(1.5); transform: scale(1.35);
}
.more-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }

.more-n {
  position: relative; z-index: 1; font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .65);
}

.card-face--ghost {
  background: rgba(255, 255, 255, .18); background-image: none;

  border: 1px solid transparent; background-clip: padding-box;
}

.card-join--in { background: var(--row); color: var(--action); }

.card-join--na { background: var(--row); color: var(--t3); pointer-events: none; }

.tour-photo-badge:has(> .card-badge:empty) { display: none; }

.card--tap { width: 100%; text-align: left; cursor: pointer; }
@media (hover: hover) { .card--tap:active { transform: scale(.995); } }

.chart { width: 100%; height: auto; display: block; }

.ms-head { position: relative; overflow: hidden; }
.ms-head > :not(.ms-mark) { position: relative; }
.ms-mark { position: absolute; right: -14px; bottom: -22px; width: 130px;
  height: 130px; opacity: .07; filter: grayscale(1); pointer-events: none; }
.ms-bar { height: 8px; border-radius: 4px; background: var(--row); overflow: hidden; }
.ms-bar i { display: block; height: 100%; background: var(--action); border-radius: 4px; }
.ms-row { opacity: .6; }
.ms-row--done { opacity: 1; }
.ms-tile { width: 48px; height: 48px; border-radius: 12px; font-size: 18px; }
.ms-piece { width: 32px; height: 32px; filter: grayscale(1) brightness(1.4); }
.ms-row--done .ms-piece { filter: none; }
.ms-prog { color: var(--t2); }

.ms-tile .org-star { width: 24px; height: 24px; fill: currentColor; }

.ms-ach-ic { font-size: 24px; line-height: 1; filter: grayscale(1); opacity: .35; }
.ms-ach--on .ms-ach-ic { filter: none; opacity: 1; }
.ms-ach--on { background: rgba(255, 204, 0, .12); box-shadow: inset 0 0 0 1px rgba(255, 204, 0, .35); }
.ms-row--done .ms-prog { color: var(--t1); }

.ms-medal { display: flex; flex: none; align-items: center; justify-content: center; }
.ms-medal img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: .35; }
.ms-medal--on img { filter: none; opacity: 1; }

.aw-hero { display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 8px 16px 4px; }
.aw-medal { width: min(240px, 64vw); height: auto; aspect-ratio: 1; object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .35)); }
.aw-medal--icon { display: flex; align-items: center; justify-content: center;
  font-size: 96px; line-height: 1; color: var(--action); }
.aw-medal--icon .org-star { width: 96px; height: 96px; fill: currentColor; }
.aw-name { margin: 14px 0 4px; font-size: 24px; line-height: 1.15; letter-spacing: -.01em; }
.aw-for { margin: 0; color: var(--t2); font-size: 15px; line-height: 1.35; max-width: 320px; }
.aw-when { font-size: 20px; font-weight: 600; padding: 0 4px; }
.aw-rare { color: var(--t2); font-size: 13px; text-align: center; padding: 4px 16px 12px; }

.rh-card { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 12px; }
.rh-cell { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.rh-cell:nth-child(3n + 2) { align-items: center; text-align: center; }
.rh-cell:nth-child(3n) { align-items: flex-end; text-align: right; }
.rh-cell b { font: 600 26px/1.1 var(--mono); letter-spacing: -.02em; color: var(--t1); }
.rh-cell > span { font-size: 15px; color: var(--t2); }

.chart-line { fill: none; stroke: var(--action); stroke-width: 2;
  stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }

.chart-fill { fill: var(--action); opacity: .14; stroke: none; }
.chart-dot { fill: var(--action); }

.rh-chart .chart { margin: 0 -4px; width: calc(100% + 8px); }
.chart-level { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4;
  vector-effect: non-scaling-stroke; }
.chart-fill--fade { fill: url(#rh-fill); opacity: 1; }
.chart-dot--now { stroke: var(--bg); stroke-width: 2.5; }
.chart-ax { fill: var(--t3); font: 400 11px var(--sans); }

.chart-line--game { stroke: var(--game-rating); }
.chart-dot--game { fill: var(--game-rating); }
.es-key.rh-key--0 { background: var(--action); }
.es-key.rh-key--1 { background: var(--game-rating); }
.rh-chart .es-leg { margin: 4px 0 6px; }
.chart-ax.rh-tempo-axis { fill: var(--game-rating); }
.rh-chart .es-pick { margin-top: 6px; }
#rh-svg { cursor: pointer; }

.rh-on { fill: var(--bg); stroke: var(--action); stroke-width: 2.5; }
.rh-on--game { stroke: var(--game-rating); }
.rh-guide { stroke: var(--t3); stroke-width: 1; vector-effect: non-scaling-stroke; }

.h2h { align-items: center; gap: 4px; text-align: center; }

.h2h-score { font: 600 30px/1.15 var(--sans); font-variant-numeric: tabular-nums;
  letter-spacing: -.02em; }
.h2h-half { font-size: .6em; }
.h2h-dash { margin: 0 .25em; }
.h2h-sub { font-size: 18px; color: var(--t2); }

.inv-btns { display: flex; gap: 8px; width: 100%; }
.inv-btns .btn { flex: 1; }

.duel--agree { gap: 12px; }

.duel--agree .duel-story,
.duel--agree .duel-row { margin-bottom: 12px; }

.duel--agree .inv-btns { gap: 16px; }

.duel-live--wait { background: var(--row); color: var(--t2); }

.duel--agree .conf-ring { margin: 4px 0 12px; }
.duel--agree .conf-ring-in { background: var(--card); }
.duel-chip--win  { background: rgba(63,191,116,.18); color: var(--success-t); }
.duel-chip--loss { background: rgba(255,107,107,.16); color: #FF8A8A; }
.duel-chip--draw { background: rgba(255,255,255,.10); color: rgba(255,255,255,.65); }

.duel-story { font: 400 17px/1.4 var(--sans); color: var(--t2); }

.duel-wait { font: 400 17px/1.4 var(--sans); color: rgba(255,255,255,.55);
  text-align: center; }

.card,
.duel,
.plr,
.histg,
.stat,
.rowlink,
.city-item,
.org-card,
.wait-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .30);
}
.card { border-radius: var(--r-card); }
@media (hover: hover) { button.card:active,
  .card--tap:active,
  .card[data-go]:active,
  .card[data-tap]:active { background: rgba(255, 255, 255, .11); } }

.card { overflow: hidden; }

.plr-ava:not([style*="background"]),
.duel-ava:not([style*="background"]) { background: rgba(255, 255, 255, .10); }

.people-list { gap: 0; }

.people-list .sec-head { margin-bottom: 10px; }

.people-solo { gap: 0; }
.people-solo .sec-head { margin-bottom: 10px; }
.people-list .plr,
.people-solo .plr {
  position: relative;
  background: none; border: 0; box-shadow: none; border-radius: 0;
  padding: 9px 2px; gap: 12px;
}

@media (hover: hover) { .people-list .plr--tap:active,
  .people-solo .plr--tap:active { background: rgba(255, 255, 255, .05); border-radius: var(--r-btn); } }
@media (hover: hover) { .people-list .plr--tap:has(.att-sw:active),
  .people-solo .plr--tap:has(.att-sw:active) { background: none; opacity: 1; } }

.people-list { --sep-left: 58px; }

.people-list--plain { --sep-left: 12px; }

.people-list--plain .plr { padding-left: 13px; padding-right: 13px; }
.people-list--ranked { --sep-left: 100px; }

.gc-when { display: flex; justify-content: space-between; gap: 12px; }
.gc-id { text-transform: none; letter-spacing: 0; font-variant-numeric: tabular-nums; }

.plr-medal {
  position: absolute; left: -5px; top: -5px; z-index: 2;
  font-size: 19px; line-height: 1; pointer-events: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5));
}

.tour-place {
  position: absolute; left: -5px; top: -5px; z-index: 2; pointer-events: none;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--row); border: 1px solid var(--line-2);
  font: 600 12px/1 var(--sans); color: var(--t1); font-variant-numeric: tabular-nums;
}

.tour-place b { display: block; font: inherit; text-box: trim-both cap alphabetic; }

.tour-row .tour-score { font: 500 17px/1 var(--sans); color: var(--t2);
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.people-list .plr + .plr::before {
  content: ''; position: absolute; left: var(--sep-left); right: 0; top: 0;
  height: 1px; background: rgba(255, 255, 255, .09);
}

.people-list .pair-no {

  width: 30px; height: auto; border: 0; background: none; border-radius: 0;
  font-size: 19px; font-weight: 500; color: var(--t2);
}
.people-list .plr-ava,
.people-solo .plr-ava { width: 46px; height: 46px; }
.people-list .plr-name,
.people-solo .plr-name { font: 500 19px/1.3 var(--sans); }
.people-list .plr-sub,
.people-solo .plr-sub { margin-top: 1px; }
.people-list .plr-sub,
.people-solo .plr-sub,
#screen[data-screen="players"] .pl-filters .dd-sub,
.dd-panel--rating-root .dd-sub { font-size: 15px; }
.people-list .pl-rating { font-size: 17px; color: var(--t2); }

.stack--menu {
  gap: 0;
  border-radius: var(--r-card);
  overflow: hidden;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .30);
}
.stack--menu .rowlink {
  background: none; border: 0; box-shadow: none; border-radius: 0;
  position: relative;
}
@media (hover: hover) { .stack--menu .rowlink:active { background: rgba(255, 255, 255, .06); } }

.stack--menu .rowlink + .rowlink::before {
  content: ''; position: absolute; left: 16px; right: 16px; top: 0; height: 1px;
  background: rgba(255, 255, 255, .09);
}

.h2h-open {
  display: block; width: 100%; background: none; border: 0; padding: 0;
  color: inherit; text-align: center; font: inherit;
}
@media (hover: hover) { .h2h-open:active { opacity: .7; } }
.h2h-invite { margin-top: 16px; }

:root { --tabs-h: 64px; }

:root {
  --tabs-lift: max(10px, calc(6px + max(env(safe-area-inset-bottom, 0px),
                                        var(--safe-bottom)) * .25));
  --control-glass-fill: rgba(255, 255, 255, .10);
  --control-glass-filter: blur(22px) saturate(220%);
  --control-glass-shadow: 0 1px 4px rgba(0, 0, 0, .22);
}

:root.tg-android {
  --tabs-lift: max(10px, calc(6px + var(--safe-bottom)));
}

#tabs {
  position: absolute; z-index: 30;
  left: 10px; right: 10px;
  bottom: var(--tabs-lift);

  border: 0; border-radius: 999px;

  padding: 8px 4px;
  align-items: center;

  background: rgba(224, 224, 228, .10);
  -webkit-backdrop-filter: var(--control-glass-filter);
  backdrop-filter: var(--control-glass-filter);
  box-shadow: var(--control-glass-shadow);
}
#tabs.tabs-auto {
  transition: transform 380ms ease-in-out, opacity 380ms ease-in-out;
}
#tabs.tabs-away {
  transform: translateY(calc(100% + var(--tabs-lift) + 12px));
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  #tabs.tabs-auto { transition: none; }
}

#screen:not(.flush) {
  padding-bottom: calc(var(--tabs-h) + var(--tabs-lift) + var(--gap) * 2);
}

#screen.no-tabs:not(.flush) { padding-bottom: 20px; }

#tabs .tab { color: rgba(255, 255, 255, .95); }
#tabs .tab.on, #tabs .tab.on .tab-label { color: var(--action); }
.tab {

  border-radius: 999px; padding: 0;
}

.tab { position: relative; color: rgba(255, 255, 255, .95); }
.tab.on { color: #fff; }

#tab-pill {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: 0;
  border-radius: 999px; background: rgba(255, 255, 255, .10);
  z-index: 0; pointer-events: none;
  transform: translate3d(0, 0, 0);
  transition: transform .32s cubic-bezier(.22, .8, .2, 1),
              width .32s cubic-bezier(.22, .8, .2, 1);
}

#tabs.dragging #tab-pill { transition: none; }

#tab-pill::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  padding: .5px; pointer-events: none;
  background: linear-gradient(145deg,
    rgba(255, 255, 255, .30) 0%, rgba(255, 255, 255, .06) 45%,
    rgba(255, 255, 255, .04) 70%, rgba(255, 255, 255, .16) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.tab > * { position: relative; z-index: 1; }

.mr-sub { display: block; font-size: 14px; color: var(--t2); }
.mr-name--team { white-space: normal; line-height: 1.25; }

.ev-summary { font-size: 17px; line-height: 1.45; color: var(--t1); }
.ev-summary p { margin: 0; }
.ev-summary p + p { margin-top: 10px; }
.ev-summary b { font-weight: 600; }
.ev-summary a { color: var(--action); }

.ev-rules { white-space: pre-line; overflow-wrap: anywhere; }

.qr-card--marks {
  max-width: min(560px, calc(100vw - 32px));
  max-height: calc(var(--app-h, 100dvh) - 48px);
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  align-items: stretch;
}

.qr-wrap:has(.qr-card--marks) { padding: 16px; }
.qr-card--marks .pm-block { text-align: left; width: 100%; }
.qr-card--marks .menu-list { width: 100%; }
.qr-card--marks .u-note { width: 100%; }

.ev-spec { display: flex; align-items: flex-start; gap: 12px; font-size: 17px;
  line-height: 1.5; color: var(--t1); text-align: left; }
.ev-spec-ic { flex: none; display: flex; align-items: center; justify-content: center;
  width: 20px; height: 1.5em; color: var(--t2); }
.ev-spec-ic svg { display: block; width: 20px; height: 20px; }

.ev-spec-ic--wide svg { width: 18px; height: 18px; }

.ev-gcal { flex: none; position: relative; width: 18px; height: 18px; padding: 0;
  margin: calc((1.5em - 18px) / 2) 0 0 -4px; border: 0; background: none;
  font: inherit; opacity: .85; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ev-gcal::before { content: ''; position: absolute; inset: -12px; }
@media (hover: hover) { .ev-gcal:active { opacity: .6; } }
.ev-gcal img { display: block; width: 18px; height: 18px; }
.ev-gcal-plus { position: absolute; right: -3px; bottom: -3px; width: 9px; height: 9px;
  border-radius: 50%; background: #34A853; box-shadow: 0 0 0 1.5px var(--card); }
.ev-gcal-plus::before, .ev-gcal-plus::after { content: ''; position: absolute;
  left: 50%; top: 50%; width: 5px; height: 1.5px; margin: -.75px 0 0 -2.5px;
  border-radius: 1px; background: #fff; }
.ev-gcal-plus::after { transform: rotate(90deg); }

.ev-loc { display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  margin-top: 4px; border-radius: 16px; background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08); color: inherit; text-decoration: none;
  text-align: left; }
@media (hover: hover) { .ev-loc:active { background: var(--row); } }
.ev-loc-ic { flex: none; width: 40px; height: 40px; border-radius: 50%;
  overflow: hidden; display: block; }
.ev-loc-ic svg { display: block; width: 40px; height: 40px; }
.ev-loc-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ev-loc-txt b { font-size: 17px; font-weight: 600; color: var(--t1); }
.ev-loc-txt span { font-size: 16px; color: var(--t2); }
.ev-loc-go { flex: none; color: var(--t3); display: flex; }
.ev-loc-go svg { display: block; width: 16px; height: 16px; fill: currentColor;
  transform: rotate(-90deg); }

.ev-aud { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px;
  border-radius: 14px; background: rgba(80, 200, 120, .12);
  border: 1px solid rgba(80, 200, 120, .30); color: #8fe3ab; text-align: left; }
.ev-aud-ic { flex: none; display: flex; padding-top: 3px; }
.ev-aud-ic svg { display: block; width: 18px; height: 18px; fill: currentColor; }
.ev-aud-txt { display: flex; flex-direction: column; gap: 2px; }
.ev-aud-txt b { font-size: 16px; font-weight: 600; }
.ev-aud-txt span { font-size: 14px; color: rgba(143, 227, 171, .75); }

.ev-remind { display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border-radius: 16px; background: rgba(255, 204, 0, .10);
  border: 1px solid rgba(255, 204, 0, .28); text-align: left; }
.ev-remind-ic { flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 204, 0, .18); color: var(--action);
  display: flex; align-items: center; justify-content: center; }
.ev-remind-ic svg { display: block; width: 20px; height: 20px; }
.ev-remind-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0;
  font-size: 17px; line-height: 1.35; }
.ev-remind-txt b { font-weight: 600; color: var(--t1); }
.ev-remind-txt span { color: var(--t2); }

.hint-under.leave-hint { font-size: 17px; line-height: 1.3; color: var(--t2); text-align: center; }

.ev-invite-btns { display: flex; gap: 10px; }
.ev-invite-btns .btn { flex: 1 1 auto; width: auto; min-width: 0; padding: 0 16px; }
.ev-invite-btns .btn svg { flex: none; }

.ev-org { display: flex; flex-direction: column; gap: 16px; }
.ev-org-head { display: flex; align-items: center; gap: 14px; padding: 0;
  background: none; text-align: left; color: inherit; width: 100%; }
.ev-org-ava { width: 72px; height: 72px; font-size: 26px; }
.ev-org-who { display: flex; flex-direction: column; gap: 4px; min-width: 0; }

.ev-org-top { display: flex; flex-wrap: wrap; align-items: center;
  column-gap: 12px; row-gap: 4px; }
.ev-org-name { font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--t1); }
.ev-org-did { font-size: 17px; line-height: 1.35; color: var(--t2); }

.ev-org-rate { display: inline-flex; align-items: center; white-space: nowrap;
  font-size: 15px; line-height: 1.35; color: var(--t2); }
.ev-org-rate b { font-weight: 600; }
.ev-org-rate svg { display: block; flex: none; width: auto; height: .741em;
  margin-left: 3px; }
.ev-org-rate svg:first-of-type { height: .6em; }
.ev-org-votes { margin-left: 8px; }

.ev-org-part { display: flex; flex-direction: column; gap: 5px; margin-top: 4px; }
.ev-org-kicker { font-size: 15px; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: var(--t3); }

.ev-org-strip { display: flex; gap: 10px; overflow-x: auto;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain; scrollbar-width: none;
  margin: 0 calc(-1 * var(--p-card)); padding: 2px var(--p-card);
  scroll-padding: 0 var(--p-card); }
.ev-org-strip::-webkit-scrollbar { display: none; }
.ev-org-slide { flex: none; width: 86%; scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .05); }

.ev-org-review { display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: 5; overflow: hidden; color: var(--t1); line-height: 1.4;
  font-style: italic; }
.ev-org-by { display: flex; align-items: center; gap: 8px; font-size: 15px;
  line-height: 1.3; color: var(--t2); }
.ev-org-by-ava { width: 28px; height: 28px; font-size: 12px; }
.ev-org-place { color: var(--t3); }

.ev-org-ava-wrap { position: relative; flex: none; padding-bottom: 6px; }
.ev-org-new { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  padding: 2px 8px; border-radius: var(--r-pill); background: var(--action);
  color: #111; font-size: 11px; font-weight: 800; letter-spacing: .06em;
  line-height: 1.3; white-space: nowrap; border: 2px solid var(--card); }
.ev-org-sures { gap: 8px; }

.ev-org-back { display: flex; flex-direction: column; gap: 12px; padding: 16px;
  border-radius: 16px; background: rgba(255, 255, 255, .05); text-align: center; }

.ev-org-back-faces { margin: 0 auto; --шаг: 32px; }
.ev-org-back-head { font-size: 20px; font-weight: 700; line-height: 1.25; color: var(--t1); }
.ev-org-back-sub { font-size: 17px; line-height: 1.35; color: var(--t2); margin-top: -8px; }
.ev-org-sure { display: flex; align-items: flex-start; gap: 10px;
  font-size: 17px; line-height: 1.35; color: var(--t1); }
.ev-org-sure svg { flex: none; width: 20px; height: 20px; margin-top: 1px;
  color: var(--action); }
.ev-org-dots { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
.ev-org-dots span { width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255, 255, 255, .25); transition: background .2s; }
.ev-org-dots span.on { background: var(--t1); }

.card-badge { display: contents; }

.feed-reach { text-align: center; margin: 10px 0 0; font-size: 18px; color: var(--t2); }

[data-guide-root] > .stack { gap: calc(var(--gap) * 2); }

.meeting-guide { margin: 0 auto 8px; width: 100%; max-width: 64ch; display: flex; flex-direction: column; gap: 12px; }
.meeting-guide p { margin: 0; color: var(--t2); font-size: 19px; line-height: 1.5; text-wrap: pretty; }
.meeting-guide p + p { margin-top: 12px; }

.guide-faq {
  border-radius: var(--r-card);
  background: rgba(255, 255, 255, .07);

  border: 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .30);
}
.guide-faq { overflow: hidden; }
.guide-q { position: relative; }

.guide-q + .guide-q::before {
  content: ''; position: absolute; left: 16px; right: 16px; top: 0; height: 1px;
  background: rgba(255, 255, 255, .09);
}
.guide-q summary {
  display: flex; align-items: center; gap: 12px; padding: 20px 16px;
  list-style: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.guide-q summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .guide-q summary:hover { background: rgba(255, 255, 255, .04); } }
.guide-q summary:active { background: rgba(255, 255, 255, .06); }
.guide-q h2 { flex: 1; min-width: 0; margin: 0; color: var(--t1); font-size: 19px; font-weight: 600; line-height: 1.3; }
.guide-q .meeting-guide-icon { width: 26px; height: 26px; color: var(--action); }
.guide-q .meeting-guide-icon svg { width: 24px; height: 24px; }
.guide-q summary .chev-down { flex: none; display: block; width: 14px; height: 8px; color: var(--t3); transition: transform .2s; }
.guide-q details[open] summary .chev-down { transform: rotate(180deg); }

.guide-a { padding: 0 16px 22px; }
.guide-a .guide-edit-icon { float: right; margin: -4px -8px 0 8px; }

@supports (interpolate-size: allow-keywords) {
  .guide-q details { interpolate-size: allow-keywords; }
  .guide-q details::details-content {
    block-size: 0; overflow: clip;
    transition: block-size .25s ease, content-visibility .25s allow-discrete;
  }
  .guide-q details[open]::details-content { block-size: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .guide-q details::details-content, .guide-q summary .chev-down { transition: none; }
}
.guide-q > form { padding: 16px; }

.guide-lead { padding: 2px 4px 6px; }
.guide-lead p { color: var(--t1); }
.guide-lead .guide-edit-icon { float: right; }
.meeting-guide-icon { flex: none; display: grid; place-items: center; color: inherit; }
.meeting-guide-icon svg { width: 24px; height: 24px; }

.guide-related { margin: 8px auto 0; width: 100%; max-width: 64ch; display: flex; flex-direction: column; gap: 8px; }
.guide-related h2 { margin: 0; }
.guide-related .rowlink { color: var(--t1); }

.guide-edit-icon { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; flex: none; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; color: var(--t2); cursor: pointer; }
.guide-edit-icon svg { width: 18px; height: 18px; }
.btn.guide-delete-btn { width: 100%; background: #000; color: var(--danger); border: 1px solid var(--line-2); }

.inst-card.guide-hint {
  position: relative; display: block; padding: 0;
  background: rgba(255, 255, 255, .07); border: 0; box-shadow: none;
}
.guide-hint-open {
  display: flex; align-items: center; gap: 16px; width: 100%;
  padding: 18px 52px 18px 18px; border: 0; background: none; color: inherit;
  font: inherit; text-align: left; cursor: pointer;
}
.guide-hint-icon { flex: none; display: grid; place-items: center; width: 48px; }
.guide-hint-icon img { width: 40px; height: auto; display: block; }
.guide-hint-read { margin-top: 2px; color: var(--action); font-size: 18px; font-weight: 600; }
.guide-hint-x {

  position: absolute; top: 10px; right: 10px; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(255, 255, 255, .10); color: var(--t2);
}
.guide-hint-x svg { display: block; width: 19px; height: 19px; }

@media (min-width: 560px) {
  #mainbtn-wrap { position: absolute; }
}

:root { --topbar-h: calc(50px + max(env(safe-area-inset-top, 0px), var(--safe-top, 0px))); }

:root { --tb-fade: max(env(safe-area-inset-top, 0px), var(--safe-top, 0px)); }

#topbar, .tbghost {

  position: fixed; left: 0; right: 0; top: 0; z-index: 20;
  min-height: var(--topbar-h);

  background: linear-gradient(180deg,
    var(--bg) 0, var(--bg) 1%, transparent 100%);

  pointer-events: none;
}

#topbar > *, .tbghost > * { pointer-events: auto; }

#tb-title, .tbghost .tb-title { text-shadow: 0 0 1px rgba(0, 0, 0, .95), 0 1px 2px rgba(0, 0, 0, .9),
                0 0 4px rgba(0, 0, 0, .45); }

html.has-notch #topbar, html.has-notch .tbghost {
  background-image: linear-gradient(180deg,
    rgba(0, 0, 0, .82) 0, rgba(0, 0, 0, .82) 24%,
    rgba(0, 0, 0, .3) 62%, rgba(0, 0, 0, 0) 100%);
  background-size: 100% var(--tb-fade);
  background-repeat: no-repeat;
}

.tb-blur { position: absolute; inset: 0 0 -12px 0; z-index: 0; }
#topbar > .tb-back, #topbar > .tb-bell,
.tbghost > .tb-back, .tbghost > .tb-bell { z-index: 1; }
#topbar > .tb-blur, .tbghost > .tb-blur { pointer-events: none; }
.tb-blur i {
  position: absolute; left: 0; right: 0; top: 0; bottom: 0; display: block;
}
.tb-blur i:nth-child(1) {
  backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px);
  mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
}
.tb-blur i:nth-child(2) {
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  mask-image: linear-gradient(to bottom, #000 0%, #000 30%, transparent 75%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 30%, transparent 75%);
}
.tb-blur i:nth-child(3) {
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  mask-image: linear-gradient(to bottom, #000 0%, #000 18%, transparent 55%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 18%, transparent 55%);
}
.tb-blur i:nth-child(4) {
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  mask-image: linear-gradient(to bottom, #000 0%, #000 8%, transparent 38%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 8%, transparent 38%);
}

#screen:not(.flush) { padding-top: calc(var(--topbar-h) + 6px); }

@media (min-width: 560px) {
  #toast { position: absolute; }
}

.tb-title {
  padding: 7px 18px;

  text-shadow: 0 0 1px rgba(0, 0, 0, .95), 0 1px 2px rgba(0, 0, 0, .9),
                0 0 4px rgba(0, 0, 0, .45);

  position: relative; z-index: 1;
}

html:not(.own-back) :is(#topbar, .tbghost) > .tb-title {
  translate: 0 -2px;
}
html:not(.own-back) :is(#topbar, .tbghost) > .tb-title:not(.tb-title--city) {
  padding-inline: 0;
}

.tb-back {

  top: auto; bottom: var(--tb-back-bottom); left: 10px;
}

.tb-back, .tb-bell {
  width: var(--tb-back-size); height: var(--tb-back-size);
}
.tb-back, .tb-bell, .tb-city {
  background: var(--control-glass-fill);
  border: 0;
  -webkit-backdrop-filter: var(--control-glass-filter);
  backdrop-filter: var(--control-glass-filter);

  box-shadow: var(--control-glass-shadow);
  color: #f5f4f2;

  transition: background .18s ease-out;
}

.tb-back::before, .tb-bell::before, .tb-city::before, .op-bar--plain .op-bar-x::before, #tabs::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  padding: 1px; pointer-events: none;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, .42) 0%, rgba(255, 255, 255, .10) 32%,
    rgba(255, 255, 255, .04) 62%, rgba(255, 255, 255, .20) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.tb-city::before {
  background: linear-gradient(135deg,
    rgba(255, 255, 255, .37) 0%, rgba(255, 255, 255, .10) 32%,
    rgba(255, 255, 255, .04) 62%, rgba(255, 255, 255, .20) 100%);
}
#tabs::before {
  padding: .5px;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, .17) 0%, rgba(255, 255, 255, .05) 32%,
    rgba(255, 255, 255, .02) 62%, rgba(255, 255, 255, .09) 100%);
}
.tb-back.is-pressed, .tb-bell.is-pressed, .tb-city.is-pressed {
  background: rgba(255, 255, 255, .4);
}

html:not(.own-back) :is(#topbar, .tbghost):has(> .tb-title--city) {
  --tb-city-menu-side: calc(var(--tb-tg-menu-inset) + env(safe-area-inset-right, 0px));
  --tb-city-side: max(calc(var(--tb-side) + env(safe-area-inset-left, 0px) + var(--tb-city-gap)),
                      calc(var(--tb-city-menu-side) + var(--tb-back-size) + 2 * var(--tb-city-gap)));
  display: grid;
  direction: ltr;
  grid-template-columns: minmax(var(--tb-city-side), 1fr) minmax(0, max-content)
    minmax(var(--tb-city-side), 1fr);
  padding-inline: 0;
}
html:not(.own-back) :is(#topbar, .tbghost) > .tb-title--city {
  grid-column: 2;
}
html[dir="rtl"] .tb-title--city { direction: rtl; }
html:not(.own-back) :is(#topbar, .tbghost):has(> .tb-title--city) > .tb-bell {
  position: relative;
  right: auto;
  grid-column: 3;
  justify-self: center;
  margin-right: var(--tb-city-menu-side);
}
.own-back :is(#topbar, .tbghost):has(> .tb-title--city) {
  padding-inline: calc(10px + var(--tb-back-size) + var(--tb-city-gap));
}
.tb-title.tb-title--city {
  width: max-content;
  min-width: 0;
  padding: 0;
  overflow: visible;
}
.tb-city {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; width: 100%; min-width: 0; min-height: var(--tb-back-size); padding: 3px 0;
  border-radius: 999px;
  font: inherit; line-height: 1.1; cursor: pointer;
}
.tb-city-name, .tb-city-count {
  max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}
.tb-city-name { padding-inline: 17px; }

.tb-city-count { padding-inline: calc(11px + 10px); font-size: 12px; font-weight: 400; color: var(--t2); }
.tb-city:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

.tb-city:has(> .chev-down) {
  flex-direction: row; gap: 10px; padding-inline: 2px;
  background: none; box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.tb-city:has(> .chev-down).is-pressed {
  color: var(--t2); background: none;
}
.tb-city:has(> .chev-down).tapped { transform: none; }
.tb-city:has(> .chev-down)::before { content: none; }
.tb-city:has(> .chev-down) .tb-city-name { min-width: 0; padding: 0; }
.tb-city:has(> .chev-down) > .chev-down {
  flex: none; width: 10px; height: 6px;
}

@media (max-width: 419px) {
  .tb-city-count { padding-inline: calc(11px + 5px); }
}

@media (min-width: 390px) and (max-width: 407px) {

  html:not(.own-back) .tb-city-count { padding-inline: 14px; font-size: 10px; }
}

@media (max-width: 389px) {

  html:not(.own-back) :is(#topbar, .tbghost):has(> .tb-title--city) {
    display: block;
    height: calc(var(--tb-row-top) + 2 * var(--tb-back-size) + var(--tb-city-gap) + var(--tb-row-bottom));
    padding-inline: 0;
  }
  html:not(.own-back) :is(#topbar, .tbghost) > .tb-title--city {
    position: absolute;
    top: calc(var(--tb-row-top) + var(--tb-back-size) + var(--tb-city-gap));
    left: 50%; transform: translateX(-50%);
    max-width: calc(100% - 24px);
  }
  html:not(.own-back) :is(#topbar, .tbghost):has(> .tb-title--city) > .tb-bell {
    position: absolute;
    top: var(--tb-row-top);
    right: var(--tb-menu-bell-inset);
    margin-right: 0;
  }
  html:not(.own-back) #topbar:not([hidden]):has(> .tb-title--city) ~ #screen:not(.flush) {
    padding-top: calc(var(--topbar-h) + var(--tb-back-size) + var(--tb-city-gap) + 6px);
  }
}

@media (max-width: 359px) {
  .own-back :is(#topbar, .tbghost):has(> .tb-title--city > .tb-city.dd-field) {
    --tb-back-size: 38px;
  }
}

html:not(.own-back) :is(#topbar, .tbghost):has(> .tb-title--city > .tb-city.dd-field) {
  --tb-rating-back-edge: calc(var(--tb-side) + env(safe-area-inset-left, 0px));
  --tb-rating-native-side: calc(max(var(--tb-rating-back-edge), var(--tb-city-menu-side)) + var(--tb-city-gap));
  --tb-rating-bell-side: max(var(--tb-rating-native-side),
    calc(var(--tb-bell-inset) + var(--tb-back-size) + var(--tb-city-gap)));
  --tb-rating-side: var(--tb-rating-side-override, var(--tb-rating-bell-side));
  display: grid;
  grid-template-columns: minmax(var(--tb-rating-side), 1fr) minmax(0, max-content)
    minmax(var(--tb-rating-side), 1fr);
  height: calc(var(--tb-row-top) + var(--tb-back-size) + var(--tb-row-bottom));
  padding-inline: 0;
}
html:not(.own-back) :is(#topbar, .tbghost):has(> .tb-title--city > .tb-city.dd-field) > .tb-title--city {
  position: relative; inset: auto; transform: none;
  grid-column: 2; grid-row: 1; justify-self: center; max-width: 100%;
}
html:not(.own-back) :is(#topbar, .tbghost):has(> .tb-title--city > .tb-city.dd-field) > .tb-bell {
  position: absolute; top: var(--tb-row-top); right: var(--tb-bell-inset);
  margin-right: 0;
}
@media (min-width: 390px) and (max-width: 489px) {
  html:not(.own-back) :is(#topbar, .tbghost):has(> .tb-title--city > .tb-city.dd-field) {
    --tb-rating-back-edge: calc(86px + env(safe-area-inset-left, 0px));
    --tb-rating-native-side: calc(max(var(--tb-rating-back-edge), var(--tb-city-menu-side)) + 2px);
  }
}
@media (min-width: 390px) and (max-width: 419px) {
  html:not(.own-back) .tb-city.dd-field .tb-city-count {

    padding-inline: 0; margin-inline: 16px;
    max-width: calc(100% - 12px); font-size: 12px;
  }
}
@media (max-width: 389px) {

  html:not(.own-back) :is(#topbar, .tbghost):has(> .tb-title--city > .tb-city.dd-field) {
    grid-template-columns: minmax(var(--tb-rating-compact-side, 12px), 1fr)
      minmax(0, max-content) minmax(var(--tb-rating-compact-side, 12px), 1fr);
    grid-template-rows: repeat(2, var(--tb-back-size));
    row-gap: var(--tb-city-gap);
    height: calc(var(--tb-row-top) + 2 * var(--tb-back-size) + var(--tb-city-gap) + var(--tb-row-bottom));
  }
  html:not(.own-back) :is(#topbar, .tbghost):has(> .tb-title--city > .tb-city.dd-field) > .tb-title--city {
    grid-row: 2;
  }
  html:not(.own-back) .tb-city.dd-field .tb-city-count { padding-inline: 16px; }
  html:not(.own-back) #topbar:not([hidden]):has(> .tb-title--city > .tb-city.dd-field) ~ #screen:not(.flush) {
    padding-top: calc(var(--topbar-h) + var(--tb-back-size) + var(--tb-city-gap) + 6px);
  }
}

html:not(.own-back) :is(#topbar, .tbghost):has(> .tb-title--city-picker) {
  padding-inline: calc(var(--tb-tg-menu-inset) + var(--tb-city-gap)
    + max(env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)));
}
html:not(.own-back) :is(#topbar, .tbghost) > .tb-title--city-picker {

  top: -1.5px;
}
html:not(.own-back) :is(#topbar, .tbghost):has(> .tb-title--city-picker) > .tb-bell {
  display: none;
}

@media (max-width: 389px) {

  html:not(.own-back) :is(#topbar, .tbghost):has(> .tb-title:not(.tb-title--city, .tb-title--city-picker, :empty)) {
    height: calc(var(--tb-row-top) + 2 * var(--tb-back-size) + var(--tb-city-gap) + var(--tb-row-bottom));
    padding-inline: 12px;
    align-items: flex-end;
  }
  html:not(.own-back) :is(#topbar, .tbghost):has(> .tb-title:not(.tb-title--city, .tb-title--city-picker, :empty)) > .tb-bell {
    top: var(--tb-row-top);
  }
  html:not(.own-back) :is(#topbar, .tbghost) > .tb-title:not(.tb-title--city, .tb-title--city-picker, :empty) {
    height: var(--tb-back-size);
    align-content: center;
  }
  html:not(.own-back) #topbar:not([hidden]):has(> .tb-title:not(.tb-title--city, .tb-title--city-picker, :empty)) ~ #screen:not(.flush) {
    padding-top: calc(var(--topbar-h) + var(--tb-back-size) + var(--tb-city-gap) + 6px);
  }
}

html:not(.own-back) :is(#topbar, .tbghost):has(> .tb-title--rating-wide) {
  --tb-rating-side-override: var(--tb-rating-native-side);
  --tb-rating-compact-side: 8px;
}
html:not(.own-back) :is(#topbar, .tbghost):has(> .tb-title--rating-wide) > .tb-bell {
  display: none;
}

button, .row, .card--tap, [data-tap], .op-item {
  transition: filter .16s ease-out, transform .16s ease-out;
}
.tapped {
  filter: brightness(1.35);

  transform: scale(.97);
  transition: none;
}

.row.tapped, .card--tap.tapped {
  background-color: rgba(255, 255, 255, .10);
}

.plr.tapped { filter: none; opacity: .7; transform: scale(.99); }

.btn.tapped, .op-pick.tapped, .op-drop.tapped, .res-btn.tapped {
  transform: scale(.965);
}

.qr-card--score .tapped, .menu-card .tapped { transform: none; }

.op-pick, .op-drop { transition: filter .16s ease-out, transform .16s ease-out; }
.op-item.tapped { filter: none; transform: none; background-color: transparent; }
.op-item.tapped .op-pick,
.op-item.tapped .op-drop { filter: brightness(1.35); transform: scale(.965); }

.is-busy { animation: пульс 1s ease-in-out infinite; pointer-events: none; }
@keyframes пульс {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.3); }
}

@media (prefers-reduced-motion: reduce) {

  #nbanner, #toast { animation: nb-fade .2s ease both; }
  #nbanner.nbanner--out, #toast.toast--out {
    animation: nb-fade .2s ease reverse both;
  }

  .is-busy { animation: none; filter: brightness(1.2); pointer-events: none; }
  button, .row, .card--tap, [data-tap], .op-item { transition: none; }
  .btn.tapped, .op-pick.tapped, .op-drop.tapped, .res-btn.tapped { transform: none; }
  .op-pick, .op-drop { transition: none; }
  .op-item.tapped .op-pick, .op-item.tapped .op-drop { transform: none; }
}

.tb-title:empty { display: none; }

.own-back #topbar,
.own-back .tbghost { align-items: flex-end; --tb-row-bottom: var(--tb-back-bottom); }
.own-back .tb-title {
  display: flex; align-items: center; justify-content: center;
  height: var(--tb-back-size);
}

.qr-note--big { font-size: 18px; line-height: 1.45; }

.btn--tg {
  background: #2AABEE; color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
@media (hover: hover) { .btn--tg:active { background: #2098d4; } }

.btn--vk {
  background: #0077FF; color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
@media (hover: hover) { .btn--vk:active { background: #0067dd; } }

.card--off {
  opacity: .45;
  pointer-events: none;
  cursor: default;
}
.card--off .card-title { color: var(--t2); }

#clockhost { padding-top: 0; }
#root.clock-full #clockhost { padding-top: 0; }

.duel--inline {
  background: none; border: 0; box-shadow: none; border-radius: 0; padding: 0;
}

.card-cut {
  height: 1px; background: rgba(255, 255, 255, .10);
  margin: 4px -16px 4px; flex: none;
}

@media (hover: hover) { .card--duel:active { transform: none; background: rgba(255, 255, 255, .07); } }

.card-meta > .card-meta--dots {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
}

.duel-row { align-items: stretch; }
.duel-chip { margin-top: auto; }

.card-meta--split { justify-content: space-between; }
.card-meta--split > .card-meta--dots {
  flex-wrap: nowrap; white-space: nowrap; margin-left: auto;
}

.card--duel .tc, .tc--pill {
  height: 34px; padding: 0 15px; border-radius: var(--r-pill);

  font-family: var(--sans); letter-spacing: 0;
}

.card-top > .duel-live { flex: none; }

.ins-hero {
  display: flex; align-items: center; gap: 16px; padding: 4px 2px 2px;
}
.ins-app-icon {
  width: 76px; height: 76px; flex: none; border-radius: 18px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .10);
}
.ins-hero-text { min-width: 0; }
.ins-hero-title { font-size: 22px; font-weight: 700; line-height: 1.2; }

.ins-hero-sub {
  margin-top: 6px; font-size: 15px; line-height: 1.35; color: var(--t2);
}

.sec-head--ins { align-items: center; justify-content: flex-start; gap: 8px; }

.sec-head--tight { margin-top: 0; }

.sec-head--count { margin-top: calc(20px - var(--gap)); }
.ins-plat { display: inline-flex; width: 19px; height: 19px; color: var(--action); }
.ins-plat svg { width: 100%; height: 100%; display: block; }

.ins-ico {
  width: 1.25em; height: 1.25em; vertical-align: -.28em;
  margin: 0 .1em; color: var(--t1);
}

.ins-steps {
  margin: 0; padding-left: 22px;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 17px; line-height: 1.4; color: var(--t1);
}
.ins-steps li::marker { color: var(--action); font-weight: 600; }
.ins-steps b { font-weight: 600; }

.ins-note {
  font-size: 15px; line-height: 1.4; color: var(--t2);
  padding: 0 2px;
}

.inst-card {
  display: flex; align-items: center; gap: 16px; width: 100%;
  padding: 18px; border-radius: var(--r-card); text-align: left;
  font-family: inherit; color: var(--t1);

  background: linear-gradient(180deg, rgba(242, 194, 48, .10), rgba(242, 194, 48, .04));
  border: 1px solid rgba(242, 194, 48, .26);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .30);
  transition: transform .1s;
}
@media (hover: hover) { .inst-card:active { transform: scale(.99); } }

.inst-icon {
  width: 64px; height: 64px; flex: none; border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .40), 0 0 0 1px rgba(255, 255, 255, .10);
}
.inst-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.inst-title { font-size: 19px; font-weight: 600; line-height: 1.2; }

.inst-sub { font-size: 18px; line-height: 1.35; color: var(--t2);
  text-wrap: pretty; }

.sp-lead { margin: 0; text-align: left; color: var(--t2);
  font: 400 17px/1.45 var(--sans); }

.f-hint-line { margin: 0; text-align: left; color: var(--t1);
  font: 400 17px/1.45 var(--sans); }

.sp-intro .btn--primary { margin-top: 6px; }

.btn--warm { background: #3DDC6B; color: #10240F; border: 0; }

.sp-note { color: var(--t2); }

.sp-play {
  --sp-scale: 1;

  --sp-clock-scale: 1;
  --sp-clock-size: clamp(44px, 13vw, 56px);
  --sp-goal-size: clamp(20px, 5.8vw, 24px);
  --sp-sub-size: 18px;
}

.sp-play { touch-action: manipulation; }
.sp-play { min-height: 100%; display: grid;

  grid-template-rows: var(--sp-top, 1fr) auto 1fr; }

.sp-measure { grid-template-rows: auto auto auto; align-content: start; }

.sp-measure .sp-head .sp-clockwrap { margin-top: 0; margin-bottom: 0; }
.sp-head, .sp-foot {
  min-height: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 10px 16px; text-align: center;
}

.sp-head {

  position: relative; gap: 0; justify-content: flex-start;

  padding-top: var(--topbar-h); padding-bottom: 12px;
}

.sp-foot { gap: 8px; justify-content: flex-start; padding: 12px 16px 0; }

.sp-foot--eval { padding-left: 0; padding-right: 0;

  gap: 0; }

.sp-foot--eval .sp-step { margin-bottom: 12px; }
.ev-answers { display: flex; gap: 6px; width: 100%; }
.ev-ans {
  flex: 1; min-width: 0; padding: 0 4px; position: relative;

  font: 600 calc(var(--sp-sub-size, 18px) * var(--sp-scale, 1))/1 var(--sans);
  height: 46px; border-radius: 12px;

  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--row); color: #fff; border: 1px solid var(--line);

  touch-action: manipulation;
}

.ev-ans--right { background: rgba(87, 169, 106, .85); border-color: transparent; }
.ev-ans--wrong { background: rgba(199, 95, 92, .85); border-color: transparent; }

.ev-mark {
  width: 20px; height: 20px; flex: none; display: inline-flex;
  align-items: center; justify-content: center;
}
.ev-mark svg { width: 100%; height: 100%; }

.sp-board--still { pointer-events: none; }

.qz-play { grid-template-rows: auto 1fr; }
.qz-body { display: flex; flex-direction: column; justify-content: center;
  gap: 18px; padding: 0 16px calc(var(--tabs-h) + var(--tabs-lift, 0px) + 24px); }
.qz-body .sp-skip { align-self: center; }
.qz-q { font: 600 21px/1.35 var(--sans); text-align: center; color: #fff; }
.qz-answers { display: flex; flex-direction: column; gap: 8px; }

.qz-ans { flex: none; width: 100%; height: auto; min-height: 52px;
  padding: 12px 14px; line-height: 1.3; white-space: normal; text-align: center; }

.qz-rev { display: flex; flex-direction: column; gap: 6px; }
.qz-rev-head { display: flex; align-items: center; justify-content: space-between; }
.qz-rev-no { color: var(--t3); font-variant-numeric: tabular-nums; }
.qz-rev-mark { color: var(--t2); }

.qz-rev-end { display: inline-flex; align-items: center; gap: 8px; }
.qz-rev-ms { color: var(--t3); font-size: 15px; font-variant-numeric: tabular-nums; }

.qz-rev--ok .qz-rev-mark { color: rgb(87, 169, 106); }
.qz-rev--bad .qz-rev-mark { color: rgb(199, 95, 92); }

.qz-rev-mark svg { stroke: currentColor; }
.qz-rev-q { font-weight: 600; line-height: 1.35; }
.qz-rev-mine { color: var(--danger); }
.qz-rev-right { color: var(--t2); }
.qz-rev-right b { color: var(--success-t); font-weight: 600; }
.qz-rev-fact { color: var(--t3); font-size: 15px; line-height: 1.35; }

.sp-skip {
  background: none; border: 0; padding: 8px 16px;
  display: inline-flex; align-items: center; gap: 8px;

  color: var(--t2); font: 500 18px/1 var(--sans); cursor: pointer;
  font-size: calc(var(--sp-sub-size, 18px) * var(--sp-scale, 1));

  margin-top: 28px; margin-bottom: 24px;
}

.sp-tight .sp-skip { margin-top: 12px; margin-bottom: 4px; }
.sp-tight .sp-foot { padding-top: 6px; }

.sp-skip svg { width: 18px; height: 18px; flex: none; }

.sp-clock {
  font: 700 clamp(44px, 13vw, 56px)/1 var(--sans); font-variant-numeric: tabular-nums;
  font-size: calc(var(--sp-clock-size, clamp(44px, 13vw, 56px)) * var(--sp-clock-scale, 1));
  letter-spacing: .02em;
  color: #fff; text-align: center; transition: color .2s ease-out;
}
.sp-clock--warn { color: #FFB020; }
.sp-clock--danger { color: #FF4D4F; }

.sp-clockwrap { position: relative; display: inline-block; }

.sp-head .sp-clockwrap { margin: auto 0; }
.sp-head .sp-task { margin-top: 17px; }

.sp-shake { animation: sp-shake .22s ease-in-out; }
@keyframes sp-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.sp-step { color: var(--t2); font: 400 18px/1.3 var(--sans);
  font-size: calc(var(--sp-sub-size, 18px) * var(--sp-scale, 1));
  font-variant-numeric: tabular-nums; letter-spacing: .02em; }

.sp-fly {
  position: absolute; left: calc(100% + 8px);
  font: 700 27px/1 var(--sans); font-variant-numeric: tabular-nums;
  pointer-events: none; white-space: nowrap;
  animation: sp-fly 1s ease-out forwards;
}
.sp-fly--ok { top: 0; color: #3DDC6B; }
.sp-fly--bad { bottom: 0; color: #FF4D4F; }
@keyframes sp-fly {
  0%   { opacity: 0; transform: scale(.7); }
  14%  { opacity: 1; transform: scale(1); }
  75%  { opacity: 1; }
  100% { opacity: 0; }
}

.sp-board {

  width: min(100%, var(--sp-board, 100%)); margin-inline: auto;
  aspect-ratio: 1 / 1; touch-action: manipulation;

  position: relative;
  display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(8, 1fr);

  direction: ltr;

  border-top: 1px solid #2A2A30; border-bottom: 1px solid #2A2A30;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
.sp-sq {
  position: relative; display: flex; align-items: center; justify-content: center;
  -webkit-tap-highlight-color: transparent;

  touch-action: manipulation;
}

.sp-sq--l { background: #efd9a6; }
.sp-sq--d { background: #a4703f; }

.sp-board { container-type: inline-size; }
.sp-co {
  position: absolute; inset: 0; pointer-events: none;
  display: grid;
  grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(8, 1fr);
  font-weight: 700; line-height: 1;
  font-size: 10px;
  font-size: 2.7cqw;
}

.sp-co-r { align-self: start; justify-self: start; padding: 2.5% 0 0 3.5%; }
.sp-co-f { align-self: end; justify-self: end; padding: 0 3.5% 2.5% 0; }
.sp-co--on-l { color: #a4703f; }
.sp-co--on-d { color: #efd9a6; }

.sp-peek-board .sp-co { display: none; }
.sp-pc {
  width: 90%; height: 90%; pointer-events: none; user-select: none;
  filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .4));

  position: relative; z-index: 3;
}

.sp-pc--fly {
  position: fixed; z-index: 300; pointer-events: none;

  transform: scale(2);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .55));
}

.sp-hover {
  position: absolute; z-index: 2; pointer-events: none;
  border-radius: 50%; transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, .18);

  transition: left .12s ease-out, top .12s ease-out;
}

.sp-sq--last::before, .sp-sq--sel::before,
.sp-sq--good::before, .sp-sq--bad::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
}
.sp-sq--last::before { background: rgba(255, 213, 79, .35); }

.sp-sq--sel::before { background: rgba(0, 0, 0, .26); }

.sp-sq--good::before { background: rgba(87, 169, 106, .55); }
.sp-sq--bad::before { background: rgba(199, 95, 92, .55); }

.sp-sq--move::after, .sp-sq--take::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
}
.sp-sq--move::after {
  background: radial-gradient(circle at 50% 50%,
    rgba(0, 0, 0, .21) 0 19.5%, transparent 20%);
}

.sp-sq--take::after {
  background:
    linear-gradient(to bottom right, rgba(0, 0, 0, .30) 0 18%, transparent 18.5%) left    top    / 50% 50% no-repeat,
    linear-gradient(to bottom left,  rgba(0, 0, 0, .30) 0 18%, transparent 18.5%) right   top    / 50% 50% no-repeat,
    linear-gradient(to top right,    rgba(0, 0, 0, .30) 0 18%, transparent 18.5%) left    bottom / 50% 50% no-repeat,
    linear-gradient(to top left,     rgba(0, 0, 0, .30) 0 18%, transparent 18.5%) right   bottom / 50% 50% no-repeat;
}

.sp-mark {
  position: absolute; top: -13%; right: -13%; z-index: 4;
  width: 47%; height: 47%; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;

  box-shadow: 0 2px 5px rgba(0, 0, 0, .35);
  animation: sp-mark .18s ease-out;
}

.sp-mark svg { width: 68%; height: 68%; }

.sp-mark--ok svg { width: 71%; height: 71%; }

.sp-board > .sp-sq:nth-child(-n+8) .sp-mark { top: 0; }
.sp-board > .sp-sq:nth-child(8n) .sp-mark { right: 0; }

.sp-mark--ok { background: #57A96A; }
.sp-mark--bad { background: #C75F5C; }
@keyframes sp-mark {
  from { opacity: 0; transform: scale(.6); }
  to   { opacity: 1; transform: scale(1); }
}

.sp-sq.tapped { filter: none; transform: none; background-color: revert; }

.sp-task { text-align: center; }

.sp-turn { margin-top: 4px; color: var(--t2); font: 400 18px/1.3 var(--sans);
  font-size: calc(var(--sp-sub-size, 18px) * var(--sp-scale, 1));
  display: flex; align-items: center; justify-content: center; gap: 7px; }

.sp-dot { width: 16px; height: 16px; border-radius: 50%; flex: none; }
.sp-dot--w { background: #fff; }
.sp-dot--b { background: #17181C; box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .32); }

.sp-goal { text-transform: uppercase; margin-top: 0; font: 600 clamp(20px, 5.8vw, 24px)/1.2 var(--sans); color: #fff;
  font-size: calc(var(--sp-goal-size, clamp(20px, 5.8vw, 24px)) * var(--sp-scale, 1)); }

@media (max-height: 740px) {
  .sp-head { padding-bottom: 8px; }
  .sp-foot { padding-top: 8px; }

  .sp-play {
    --sp-clock-size: clamp(38px, 11vw, 44px);
    --sp-goal-size: clamp(18px, 5vw, 21px);
    --sp-sub-size: 16px;
  }
  .sp-turn { margin-top: 4px; }
  .sp-skip { margin-top: 20px; margin-bottom: 16px; }

  .sp-foot--eval .sp-step { margin-bottom: 8px; }
}

.sp-peek { position: relative; border-radius: 14px; overflow: hidden; }
.sp-peek-board {

  display: grid; grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(8, 1fr); aspect-ratio: 1 / 1;
  direction: ltr;
  filter: blur(2px) brightness(.45) saturate(.6);
  pointer-events: none;
}
.sp-peek-over {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px; padding: 0 18px;
}
.sp-peek-over .btn { width: 100%; max-width: 320px; }
.sp-peek-cap {
  color: rgba(255, 255, 255, .82); font: 500 15px/1.2 var(--sans);
  letter-spacing: .08em; text-transform: uppercase; text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .8);
}

.sp-over {
  position: fixed; inset: 0; z-index: 210;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 24px; text-align: center;
  background: rgba(0, 0, 0, .82);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.sp-over[hidden] { display: none; }
.sp-over-title { font: 700 40px/1 var(--sans); color: #fff; letter-spacing: .02em; }
.sp-over-sub { color: var(--t2); font: 500 18px/1.3 var(--sans);
  font-variant-numeric: tabular-nums; }
.sp-over .btn { max-width: 340px; }

.seg {
  position: relative;
  display: inline-flex; align-self: flex-start; gap: 0;

  padding: 3px;
  border-radius: 999px;

  background: var(--plate);
  border: 0;
}

.seg-pill {
  position: absolute; top: 3px; bottom: 3px; left: 0; width: 0;
  border-radius: 999px; background: rgba(255, 255, 255, .10);
  z-index: 0; pointer-events: none;
  transform: translate3d(0, 0, 0);
  transition: transform .32s cubic-bezier(.22, .8, .2, 1),
              width .32s cubic-bezier(.22, .8, .2, 1);
}

.seg-pill::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  padding: .5px; pointer-events: none;
  background: linear-gradient(145deg,
    rgba(255, 255, 255, .30) 0%, rgba(255, 255, 255, .06) 45%,
    rgba(255, 255, 255, .04) 70%, rgba(255, 255, 255, .16) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.seg-btn {
  position: relative; z-index: 1;
  border: 0; background: none; cursor: pointer;
  padding: 7px 18px; border-radius: 999px;
  color: var(--t2); font: 500 15px/1.2 var(--sans); white-space: nowrap;
  transition: color .2s;
}

.seg-btn--on { color: #fff; }

.seg--wide { display: flex; align-self: stretch; width: 100%; }

.seg--tail { margin-top: calc(var(--gap-head) - var(--gap)); }

.seg--tail .seg-btn,
.seg--wide .seg-btn {
  flex: 1 1 0; min-width: 0; padding: 7px 6px; text-align: center;
  overflow: hidden; text-overflow: ellipsis;
}

.pl-filters { display: flex; flex-direction: column; gap: var(--gap); }
.pl-filters--split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pl-filters--split > :only-child { grid-column: 1 / -1; }
.pl-filters-row { display: flex; gap: var(--gap); }
.dd { position: relative; min-width: 0; }
.pl-filters-row .dd { flex: 1 1 0; }
.pl-filters-row .dd--venue { flex-grow: 1.3; }

.dd .dd-field { width: 100%; }

.dd-panel {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 30;
  width: 100%; min-width: 260px; max-width: calc(100vw - 32px);
  max-height: 420px; overflow-y: auto; overscroll-behavior: contain;
  padding: 4px 0 0; border-radius: 16px;
  background: #2c2c2e; box-shadow: 0 16px 40px rgba(0, 0, 0, .5);
}
@media (prefers-reduced-motion: no-preference) {
  .dd-panel--enter { animation: dd-panel-enter .2s ease-out; }
  @keyframes dd-panel-enter {
    from { opacity: 0; transform: translateY(-5px); }
  }
}

.dd-panel::after { content: ''; display: block; height: 4px; }

.dd-panel--up { top: auto; bottom: calc(100% + 6px); }

.dd--kind .dd-panel,
.dd--lg-view .dd-panel { left: auto; right: 0; }

.dd--venue .dd-panel,
.dd--lg-division .dd-panel { width: 320px; }

.pl-filters--split > .dd > .dd-panel { width: 80vw; min-width: 0; }
.pl-filters--split > .dd--venue > .dd-panel { left: auto; right: 0; }
@media (min-width: 560px) {

  .pl-filters--split > .dd > .dd-panel {
    width: calc(var(--app-column-width) * .8);
    max-width: calc(var(--app-column-width) - 34px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .pl-filters--split > .dd > .dd-panel--enter,
  .dd-panel--rating-root.dd-panel--enter {
    animation: rating-filter-reveal .08s ease-out backwards;
  }
  .pl-filters--split > .dd > .dd-panel--enter.dd-panel--up {
    animation-name: rating-filter-reveal-up;
  }
  @keyframes rating-filter-reveal {
    from { clip-path: inset(0 0 100% 0 round 16px); opacity: .65; }
    to { clip-path: inset(0 round 16px); opacity: 1; }
  }
  @keyframes rating-filter-reveal-up {
    from { clip-path: inset(100% 0 0 0 round 16px); opacity: .65; }
    to { clip-path: inset(0 round 16px); opacity: 1; }
  }
}
.dd-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd-panel .loader { padding: 18px 0; }

.dd-sec {
  padding: 16px 16px 8px; font: 500 13px/1 var(--sans);
  letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .22);
}
.dd-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: calc(100% - 8px); min-height: 62px; margin: 0 4px; padding: 13px 12px;
  border: 0; border-radius: 12px; background: none; color: var(--t1);
  text-align: left; cursor: pointer;
}

.dd-row + .dd-row { margin-top: 6px; }
@media (hover: hover) { .dd-row:active { background: rgba(255, 255, 255, .06); } }
.dd-row--on { background: rgba(255, 255, 255, .08); }
.dd-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dd-line { display: flex; align-items: center; gap: 8px; min-width: 0; }

.dd-name {
  font: 500 19px/1.25 var(--sans);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dd-sub { font: 400 14px/1.2 var(--sans); color: var(--t3); }

.dd-live {
  flex: none; display: inline-flex; align-items: center; gap: 5px;
  height: 22px; padding: 0 9px; border-radius: 999px;
  background: rgba(52, 199, 89, .14); color: var(--success-t);
  font: 500 12px/1 var(--sans);
}
.dd-live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dd-check { flex: none; display: flex; color: var(--action); }
.dd-check svg { width: 20px; height: 20px; }

.tb-title:has(> .dd-panel--rating-root) { z-index: 2; }
.tb-city.dd-field[aria-expanded="true"] { opacity: 0; pointer-events: none; }
.dd-panel--rating-root {
  top: 0; left: var(--rating-menu-center, 50%); translate: -50% 0;

  width: min(288px, calc(100vw - 56px));
  min-width: 0; scrollbar-width: thin;
  text-shadow: none;
}

@media (min-width: 390px) {
  html:not(.own-back) .dd-panel--rating-root {

    --rating-menu-left-edge: calc(var(--tb-side) + env(safe-area-inset-left, 0px));
    --rating-menu-right-edge: calc(var(--tb-city-menu-side) + var(--tb-city-gap));
    --rating-menu-width: min(288px, calc(100vw - var(--rating-menu-left-edge) - var(--rating-menu-right-edge)));
    width: var(--rating-menu-width);
    left: clamp(
      calc(var(--rating-menu-left-edge) + var(--rating-menu-width) / 2 - var(--rating-menu-anchor-left)),
      var(--rating-menu-center),
      calc(100vw - var(--rating-menu-right-edge) - var(--rating-menu-width) / 2 - var(--rating-menu-anchor-left))
    );
  }
  html:not(.own-back) .dd-panel--rating-root .dd-name {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
.dd-panel--rating-root .dd-sec {
  margin-inline: 4px; padding: 15px 12px 6px; text-align: start;
}
@media (max-width: 359px) {

  .dd-panel--rating-root :is(.dd-row, .dd-sec) { padding-inline: 10px; }
  .dd-panel--rating-root .dd-row { gap: 8px; }
}
.dd-panel--rating-root .dd-row + .dd-row:not(.dd-row--separated) { margin-top: 4px; }
.dd-panel--rating-root .dd-main { gap: 4px; }
.dd-panel--rating-root .dd-leading-icon { flex: none; display: flex; }
.dd-panel--rating-root .dd-leading-icon svg { width: 18px; height: 18px; }
.dd-panel--rating-root .dd-row--separated { position: relative; margin-top: 9px; }
.dd-panel--rating-root .dd-row--separated::before {
  content: ''; position: absolute; top: -5px; inset-inline: 7px;
  height: 1px; background: rgba(255, 255, 255, .14);
}

.shr-card { max-width: 380px; }
.shr-img {
  width: 100%; max-height: 46vh; object-fit: contain;
  border-radius: 16px; background: #0b0b0c;
}

a.btn { display: flex; align-items: center; justify-content: center;
  text-decoration: none; }

@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 400 800;
  font-display: swap; src: url('fonts/story-unbounded-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 400 800;
  font-display: swap; src: url('fonts/story-unbounded-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700;
  font-display: swap; src: url('fonts/story-manrope-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700;
  font-display: swap; src: url('fonts/story-manrope-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 800;
  font-display: swap; src: url('fonts/story-onest-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 800;
  font-display: swap; src: url('fonts/story-onest-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Tektur'; font-style: normal; font-weight: 500 900;
  font-display: swap; src: url('fonts/story-tektur-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Tektur'; font-style: normal; font-weight: 500 900;
  font-display: swap; src: url('fonts/story-tektur-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: 'Dela Gothic One'; font-style: normal; font-weight: 400;
  font-display: swap; src: url('fonts/story-dela-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Dela Gothic One'; font-style: normal; font-weight: 400;
  font-display: swap; src: url('fonts/story-dela-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Oks Free'; font-style: normal; font-weight: 400;
  font-display: swap; src: url('fonts/story-oks-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Oks Free'; font-style: normal; font-weight: 400;
  font-display: swap; src: url('fonts/story-oks-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Oranienbaum'; font-style: normal; font-weight: 400;
  font-display: swap; src: url('fonts/story-oranienbaum-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Oranienbaum'; font-style: normal; font-weight: 400;
  font-display: swap; src: url('fonts/story-oranienbaum-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Soyuz Grotesk'; font-style: normal; font-weight: 700;
  font-display: swap; src: url('fonts/story-soyuz-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Soyuz Grotesk'; font-style: normal; font-weight: 700;
  font-display: swap; src: url('fonts/story-soyuz-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter Story'; font-style: italic; font-weight: 900;
  font-display: swap; src: url('fonts/story-inter-i900-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter Story'; font-style: italic; font-weight: 900;
  font-display: swap; src: url('fonts/story-inter-i900-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.evs-card .btn svg { flex: none; }
.evs-row {
  --evs-h: min(52vh, 560px);
  align-self: stretch; min-width: 0;
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;

  margin: 0 calc(-1 * var(--p-card));
  padding: 0 calc(50% + var(--p-card) - var(--evs-h) * 0.28125);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.evs-row::-webkit-scrollbar { display: none; }
.evs-item {
  flex: none; height: var(--evs-h); width: calc(var(--evs-h) * 0.5625);
  scroll-snap-align: center; border-radius: 16px; background: #0b0b0c;
}

.evs-note { font-size: 17px; line-height: 1.4; color: var(--t2); text-align: center; }

.evs-ph { background: rgba(255, 255, 255, .05); }
.evs-wait { margin: auto; color: var(--t2); font-size: 17px; text-align: center; padding: 60px 0; }

.evs-dots { display: flex; justify-content: center; gap: 6px; }
.evs-dots span { width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255, 255, 255, .25); transition: background .2s; }
.evs-dots span.on { background: var(--t1); }

.sp-combo { color: var(--action); font-weight: 600; }

.sp-how { display: inline-block; margin: 10px auto 0; font-size: 15px;
  text-align: center; }

.qr-card--std .sp-score-rules { text-align: left; }
.sp-score-rules p { margin: 0 0 10px; }
.sp-score-rules ul { margin: 0 0 10px; padding: 0; list-style: none; }
.sp-score-rules li { margin: 4px 0; padding-left: 16px; position: relative; }
.sp-score-rules li::before {
  content: '·'; position: absolute; left: 4px; top: -1px;
  color: var(--t3); font-weight: 700;
}

.sp-report {
  margin-top: 16px; padding: 14px 16px; border-radius: var(--r-card);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  color: var(--t2); font: 400 16px/1.5 var(--sans); text-wrap: pretty;
}

.sp-tempo { margin-top: 4px; }
.sp-tempo-head { color: var(--t2); font: 600 13px/1 var(--sans);
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }

.sp-bars {
  display: flex; align-items: flex-end; justify-content: center; gap: 4px;
  height: 120px;
}
.sp-bar {
  flex: 1 1 0; min-width: 0; border-radius: 4px 4px 2px 2px;
  background: var(--action);

  max-width: 40px;
}

.sp-bar--bad { background: #C75F5C; }
.sp-bar--skip { background: rgba(255, 255, 255, .16); }

.sp-review { margin-top: 18px; }
.card.sp-rows { display: block; padding: 0; overflow: hidden; }
.sp-row {
  display: grid; align-items: center; gap: 12px;
  grid-template-columns: 46px 1fr auto 22px 40px;
  padding: 14px 16px;
}

.sp-row + .sp-row { border-top: 1px solid var(--line); }

.sp-row--head { padding-top: 10px; padding-bottom: 10px; }
.sp-row--head span { color: var(--t2); font: 500 13px/1 var(--sans);
  letter-spacing: .06em; text-transform: uppercase; }
.sp-row-no { color: var(--t2); font: 500 16px/1 var(--sans);
  font-variant-numeric: tabular-nums; }
.sp-row-name { font: 500 17px/1.2 var(--sans); color: var(--t1);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;

  text-transform: none; }
.sp-row-time { color: var(--t2); font: 400 16px/1 var(--sans);
  font-variant-numeric: tabular-nums; }
.sp-row-ico { display: flex; }
.sp-row-ico svg { width: 20px; height: 20px; }
.sp-row-ico--skip { color: var(--t2); }
.sp-row-try { color: var(--t2); font: 400 15px/1 var(--sans);
  text-align: right; font-variant-numeric: tabular-nums; }

.ma-row {
  grid-template-columns: 30px minmax(0, 1fr) 38px 46px 20px 24px 30px;
  gap: 7px; padding-left: 12px; padding-right: 12px;
}

.ma-row .sp-row-time, .ma-row .sp-row-try { white-space: nowrap; }

.ma-row .sp-row-no { padding-right: 5px; }
.ma-row .sp-row-ico { padding-left: 4px; }

.ma-row .ma-moves { padding-right: 10px; }

.ma-row .sp-row-time, .ma-row .sp-row-try { text-align: right; }

.ma-row.sp-row--head span { font-size: 10px; letter-spacing: .02em; }
.ma-row .sp-row-no { font-size: 15px; }
.ma-row .sp-row-name { font-size: 16px; }
.ma-row .sp-row-time { font-size: 15px; }

.ma-row .sp-row-try:last-child { color: var(--t1); font-weight: 500; }

.card.sp-run { display: flex; flex-direction: row; align-items: center;
  gap: 14px; cursor: pointer; }
.sp-run-score { font: 700 30px/1 var(--sans); font-variant-numeric: tabular-nums;
  color: var(--action); min-width: 62px; }
.sp-run-mid { flex: 1; min-width: 0; }

.sp-run-when { font: 600 18px/1.2 var(--sans); color: var(--t1); }
.sp-run-when--big { text-align: center; color: var(--t2);
  font: 500 18px/1.2 var(--sans); }
.sp-run-sub { margin-top: 4px; color: var(--t2); font: 400 18px/1.3 var(--sans); }
.sp-run-go { color: var(--t2); font-size: 22px; flex: none; }

.sp-total { text-align: center; padding: 12px 0 4px; }
.sp-total b { display: block; font: 700 68px/1 var(--sans);
  font-variant-numeric: tabular-nums; color: var(--action); }
.sp-total i { color: var(--t2); font: 600 13px/1 var(--sans); font-style: normal;
  letter-spacing: .08em; }

.sp-nom { display: flex; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px; padding: 16px; }
.sp-nom-ico { flex: none; width: 30px; height: 30px; color: var(--t2); }
.sp-nom-ico svg { width: 100%; height: 100%; display: block; }
.sp-nom-body { min-width: 0; }
.sp-nom-name { font: 700 17px/1.2 var(--sans); letter-spacing: .05em;
  text-transform: uppercase; color: #fff; }
.sp-nom-desc { margin-top: 4px; color: var(--t2); font: 400 15px/1.35 var(--sans); }

.sp-nom-rare { margin-top: 8px; color: #fff; font: 500 15px/1.3 var(--sans); }

.sp-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sp-tile {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px; padding: 12px 10px; min-height: 74px;
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
}
.sp-tile i { color: var(--t2); font: 500 12px/1.2 var(--sans); font-style: normal;
  letter-spacing: .03em; text-transform: uppercase; }
.sp-tile b { font: 700 21px/1 var(--sans); font-variant-numeric: tabular-nums; color: #fff; }

.sp-sync { text-align: center; color: var(--t3); font: 400 14px/1.3 var(--sans); }
.sp-sync--off { color: #FFB020; }

@media (prefers-reduced-transparency: reduce) {

  #tabs, #toast, .qr-card, .qr-wrap, .op-wrap, .op-bar-btn, .op-bar-x,
  .seg, .seg-btn--on, .loc, .tb-back, .tb-bell, .tb-city, .card--choice, .sp-over, .venue-mark,
  .card--host .tour-photo-badge {
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .venue-mark, .card--host .tour-photo-badge { background: rgba(18, 18, 18, .88); }
  #tabs, .qr-card, .op-bar-btn, .op-bar-x, .seg, .loc, .tb-back, .tb-bell, .tb-city, .card--choice {
    background: var(--card);
  }
  .seg-btn--on { background: var(--row); }
  #toast, .sp-over { background: var(--card); }

  .qr-wrap, .op-wrap { background: rgba(0, 0, 0, .96); }

  .tb-blur { display: none; }
  #topbar, .tbghost { background: var(--bg); }
}

@media (prefers-contrast: more) {

  .card, .row, .plr, .duel, .stat, .stack--menu, .qr-card, #tabs, .seg, .loc,
  .tb-back, .tb-bell, .tb-city, .sp-over, .sp-nom, #toast {
    background: var(--card);
    border: 1px solid var(--line-2);
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }

  :root { --t2: rgba(255, 255, 255, .82); --t3: rgba(255, 255, 255, .68); }
  .dd-sec { color: rgba(255, 255, 255, .5); }
}

.cr-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }

.cr-title { font: 600 28px/1.15 var(--sans); letter-spacing: -.02em; }
.cr-sub { font: 400 17px/1.4 var(--sans); color: var(--t2); }

.card--fmt {
  position: relative; overflow: hidden;
  flex-direction: row; align-items: flex-start; gap: 13px;
  padding: 15px 14px;
}

.fmt-glyph {

  position: absolute; right: -14px; bottom: -10px;
  width: 128px; height: 128px;

  opacity: .07; filter: blur(2.5px);
  pointer-events: none; user-select: none;
}
.fmt-body {
  position: relative; flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 4px; text-align: left;
}
.card--fmt .card-title { font-size: 19px; line-height: 1.25; }

.fmt-desc { font: 400 16px/1.4 var(--sans); color: var(--t2); }
.fmt-foot { display: flex; align-items: center; gap: 8px; padding-top: 5px;
  flex-wrap: wrap; }

.fmt-chip {
  display: inline-flex; align-items: center; gap: 5px;
  height: 27px; padding: 0 10px 0 8px; border-radius: 9px;
  background: rgba(255, 204, 0, .13); color: var(--action);
  font: 600 15px/1 var(--sans); white-space: nowrap;
}
.fmt-note { font: 400 15px/1 var(--sans); color: var(--t3); }

.fmt-glyph--twin { right: 58px; }

.fmt-glyph--flip { transform: rotate(180deg); bottom: 6px; }

.empty--lead { padding: 18px 12px 4px; gap: 10px; }
.empty--lead .empty-icon { width: 96px; height: 96px; }

.qr-wrap--code {
  align-items: flex-start;
  padding-top: calc(max(env(safe-area-inset-top, 0px), var(--safe-top)) + 56px);
}

.btn-vk-wide {
  width: 100%; height: 50px; min-height: 50px; border-radius: 14px; gap: 10px;
  background: var(--row); color: var(--t1); border: 1px solid var(--line-2);
}
@media (hover: hover) { .btn-vk-wide:active { opacity: .88; } }
.login-note {
  margin: 12px 0 0;
  font: 400 15px/1.5 var(--sans); color: var(--t2); text-wrap: pretty;
}

.login-logo--app {
  width: auto; height: auto; border-radius: 0; background: none; margin-bottom: 6px;
}
.login-logo--app .ins-app-icon { width: 84px; height: 84px; border-radius: 20px; }

.btn--wide { width: 100%; }

.qr-card--ios { max-width: 368px; padding: 22px 20px; gap: 15px; }
.qr-card--ios .qr-title { font-size: 20px; }

.qr-card--ios .qr-note { font-size: 17px; }

.qr-reset {
  align-self: center;

  font-size: 19px;
  font-weight: 600;

  padding: 5px 10px;
  margin: 2px 0 4px;
  color: var(--t2);

  text-decoration: none;
}

.inbox-list { gap: 8px; }
.inbox-card {
  display: flex; align-items: flex-start; gap: 12px; width: 100%;
  padding: 12px 14px; border-radius: 18px; text-align: left;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .30);
  transition: transform .1s, background .15s;
}
@media (hover: hover) { .inbox-card:active { transform: scale(.99); background: rgba(255, 255, 255, .11); } }

@media (hover: hover) { .inbox-card--dead:active { transform: none; background: rgba(255, 255, 255, .07); } }

.inbox-ava {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font: 600 15px/1 var(--sans); overflow: hidden;
}
.inbox-ava .ava-img { width: 100%; height: 100%; object-fit: cover; }

.inbox-ava--app { background: var(--card); }
.inbox-ava--app .logo-img { width: 22px; height: 22px; }
.inbox-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.inbox-top { display: flex; align-items: baseline; gap: 8px; }

.inbox-name {
  flex: 1; min-width: 0; font: 600 16px/1.25 var(--sans); color: var(--t1);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.inbox-when { flex: 0 0 auto; color: var(--t3); font-size: 13px; white-space: nowrap; }
.inbox-text { font: 400 15px/1.35 var(--sans); color: var(--t2); }

.inbox-ask { margin-top: 8px; }

.inbox-stars {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 8px;
}
.inbox-stars .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-width: 0; padding-left: 0; padding-right: 0;
}
.inbox-stars .org-star { width: 16px; height: 16px; }

.inbox-card--new .inbox-body { position: relative; padding-left: 14px; }

#nbanner {
  position: fixed; left: 8px; right: 8px;
  top: calc(8px + var(--toast-top, 56px));
  z-index: 300;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px; border-radius: 22px;
  background: rgba(28, 28, 30, .62);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .45);
  color: var(--t1); text-align: left;
  animation: toast-in .34s cubic-bezier(.2, .9, .2, 1.06);
}
#nbanner.nbanner--out {
  animation: toast-out .30s cubic-bezier(.4, 0, .75, .35) forwards;
}
@keyframes nb-fade { from { opacity: 0 } to { opacity: 1 } }

#nbanner .inbox-text {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

#nbanner-scrim {
  position: fixed; inset: 0; z-index: 299;
  background: rgba(0, 0, 0, .82);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  animation: nb-fade .18s ease both;
}
#nbanner.nbanner--big { padding: 16px 16px 18px; }
#nbanner.nbanner--big .inbox-text {
  display: block; -webkit-line-clamp: none; overflow: visible;
}
#nbanner.nbanner--big .inbox-name { white-space: normal; }

.nbanner-hint {
  display: block; margin-top: 10px;
  font: 400 14px/1.3 var(--sans); color: var(--t3);
}

.inbox-card--new .inbox-body::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--action);
}

.game-no { text-align: center; font: 400 13px/1 var(--sans); color: var(--t3);
  padding: 2px 0 4px; }

.ma-les-cap {
  min-height: 44px; margin: 12px 2px 0;
  font-size: 16px; line-height: 1.4; color: var(--t2);
}
.ma-les-bar { display: flex; gap: 8px; margin-top: 12px; align-items: center; }
.ma-les-btn { flex: 0 0 64px; }

.ma-les-btn--play { flex: 1; }
.ma-les-bar .btn:disabled { opacity: .35; }
.ma-les-step {
  margin-top: 10px; text-align: center;
  font-size: 15px; color: var(--t3); font-variant-numeric: tabular-nums;
}

.ma-les-mode { width: 100%; margin-top: 14px; }

.hu-fin { text-align: center; padding: 18px 0 6px; }
.hu-fin-n { font: 700 clamp(52px, 17vw, 76px)/1 var(--sans);
  font-variant-numeric: tabular-nums; color: var(--t1); }
.hu-fin-s { margin-top: 4px; color: var(--t3); font: 400 16px/1.2 var(--sans); }

.sp-turn--bad { color: #ff6b6b; }

.sp-mark--num {

  width: 54%; height: 54%;
  color: #fff; font: 800 clamp(12px, 3.9vw, 20px)/1 var(--sans);
  font-variant-numeric: tabular-nums; letter-spacing: -.03em;
}

.hu-cells { display: flex; gap: 8px; margin-top: 14px; }
.hu-cell { flex: 1; text-align: center; padding: 12px 4px;
  background: var(--card); border-radius: 14px; }
.hu-cell b { display: block; font: 700 24px/1 var(--sans);
  font-variant-numeric: tabular-nums; color: var(--t1); }
.hu-cell i { display: block; margin-top: 4px; font: 400 14px/1.2 var(--sans);
  font-style: normal; color: var(--t3); }

.hu-evs { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.hu-ev { display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  background: var(--card); border-radius: 12px; }
.hu-ev-pts { min-width: 36px; font: 700 17px/1 var(--sans);
  font-variant-numeric: tabular-nums; }
.hu-ev--ok .hu-ev-pts { color: #57b85b; }
.hu-ev--bad .hu-ev-pts { color: #ff6b6b; }
.hu-ev-pc { flex: 1; color: var(--t1); font: 400 16px/1.2 var(--sans); }
.hu-ev-at { color: var(--t3); font: 400 15px/1.2 var(--sans);
  font-variant-numeric: tabular-nums; }

.ev-terms { margin-top: 0; font-size: 17px; line-height: 1.3; color: var(--t2); text-align: center; }
.ev-terms a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.card--dead { opacity: .62; cursor: default; }
@media (hover: hover) { .card--dead:active { transform: none; background: var(--card); } }

.sec-link {
  font: inherit; letter-spacing: inherit; text-transform: inherit;
  color: inherit; opacity: .62;
  background: none; border: 0; padding: 0;
  text-decoration: none;
  cursor: pointer;
}
@media (hover: hover) { .sec-link:active { opacity: .4; } }

button.tbl-row {
  width: 100%; font: inherit; color: inherit; text-align: left;
  background: none; cursor: pointer;
}
@media (hover: hover) { button.tbl-row:active { background: var(--row); } }
@media (hover: hover) { button.tbl-row.me:active { background: rgba(255, 204, 0, .18); } }

.rx-p { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--t2); }
.rx-p:first-of-type { margin-top: 8px; }

.rx-formula {
  margin: 12px 0 0; padding: 12px; border-radius: var(--r-row);
  background: var(--row); border: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  text-align: center; overflow-x: auto;
}
.rx-f1 { font-size: 15px; color: var(--t1); }
.rx-f2 { margin-top: 8px; font-size: 15px; color: var(--t1); }
.rx-formula sup, .rx-formula sub { font-size: 11px; }

.rx-tbl { display: grid; grid-template-columns: minmax(0, 1fr) repeat(3, auto);
  margin-top: 10px; }
.rx-head, .rx-row { display: contents; }
.rx-head > span, .rx-row > span { padding: 8px 0 8px 12px; }
.rx-head > span:first-child, .rx-row > span:first-child { padding-left: 6px; }
.rx-head > span:last-child, .rx-row > span:last-child { padding-right: 6px; }
.rx-head > span { font-size: 11px; letter-spacing: .02em; text-transform: uppercase;
  color: var(--t3); text-align: right; white-space: nowrap; }
.rx-head > span:first-child { text-align: left; }
.rx-row > span { border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.rx-rival { color: var(--t2); }
.rx-win, .rx-draw, .rx-loss { text-align: right; font-weight: 600; }

.rx-win { color: var(--success-t); }
.rx-loss { color: var(--danger); }
.rx-draw { color: var(--t2); }

@media (min-width: 560px) {
  #screen, #clockhost { position: absolute; inset: 0; height: auto; }
  #topbar, .tbghost { position: absolute; }
}

@media (min-width: 560px) {
  .qr-wrap, .op-wrap, .crop, .inst-bar { position: absolute; }
  .op-wrap, .qr-wrap { height: 100%; }
}

.lg-tile {
  flex: none; width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .08); color: var(--t2);
  font: 600 24px/1 var(--sans);
}

.lg-tile--mine { color: var(--action); }

.lg-tile--photo { background: none; overflow: hidden; }
.lg-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lg-tile--edit { width: 72px; height: 72px; border-radius: 16px; font-size: 28px; }

.lg-head { align-items: center; justify-content: flex-start; gap: 10px; }
.lg-tile--head { width: 36px; height: 36px; border-radius: 10px; }
.card.lg-card { flex-direction: row; align-items: center; gap: 14px; }
.lg-mid {
  flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px;
  text-align: left;
}
.lg-sub { color: var(--t3); font: 400 16px/1.3 var(--sans); }
.lg-place {
  flex: none; display: flex; flex-direction: column; align-items: flex-end;
  gap: 4px;
}
.lg-place b { font: 600 28px/1 var(--sans); font-variant-numeric: tabular-nums; }
.lg-place small { font-size: 14px; color: var(--t3); }
.lg-rows { display: flex; flex-direction: column; }
.lg-row {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 8px 0; background: none; border: 0; color: var(--t1);
  text-align: left;
}
@media (hover: hover) { .lg-row:active { opacity: .7; } }
.lg-row .lg-tile { width: 48px; height: 48px; border-radius: 12px; font-size: 20px; }
.lg-name {
  font: 500 19px/1.25 var(--sans);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lg-row .chev { flex: none; color: var(--t3); font-size: 23px; }

.bh-match { display: flex; flex-direction: column; gap: 10px; }
.bh-outcomes { display: flex; gap: 8px; }
.bh-outcomes .btn { flex: 1 1 0; min-width: 0; padding-left: 6px; padding-right: 6px; }
.bh-delta { color: var(--t2); font-weight: 400; font-size: 15px; }

.bh-vs { font: 400 16px/1.2 var(--sans); color: var(--t3); margin: 3px 0; }
.bh-tables { display: flex; align-items: center; flex: none; }

.bh-tables .pair-no { border: .5px solid rgba(255,255,255,.22); }
.bh-tables .pair-no + .pair-no { margin-left: -10px; }

.bh-match .duel--inline { margin-bottom: 14px; }

.gc-head { display: flex; flex-direction: column; gap: 2px; padding: 8px 14px; }
.gc-tc { color: var(--t2); font-size: 14px; padding-bottom: 4px; }
.gc-player { background: none; border: 0; box-shadow: none; padding: 6px 0; }
.gc-player .pawn { width: 17px; height: 17px; margin-right: 4px; flex: none; }
.gc-player .pawn--w { color: #EDEDED; }
.gc-player .pawn--b { color: #8A8783; }
.gc-score { margin-left: auto; font: 700 24px/1 var(--sans); }
.gc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.gc-stat { padding: 12px; }
.gc-stat b { font-size: 22px; }
.gc-stat span { font-size: 13px; }

.tour-sum { display: flex; flex-direction: column; gap: var(--gap); }
.tour-sum .sec-head { margin-bottom: 0; }

.tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile-grid .gc-stat { text-align: center; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start; gap: 4px; }
.tile-grid .gc-stat b { display: flex; align-items: center; justify-content: center; gap: 6px; }
.tour-sum .gc-stat span { font-size: 18px; line-height: 1.25; }
.tour-sum .gc-stat .pawn { width: 18px; height: 18px; margin: 0; }

.tour-sum .pawn--w { color: #EDEDED; }
.tour-sum .pawn--b { color: #8A8783; }

.tour-sum .pawn--w svg { transform: scale(.94); transform-origin: center; }

.tour-facts { padding-top: 4px; padding-bottom: 4px; }
.fact { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; }
.fact + .fact { border-top: 1px solid rgba(255, 255, 255, .09); }

.fact--tap { width: 100%; text-align: left; background: none; border: 0; border-radius: 0;
  color: inherit; font: inherit; cursor: pointer; }
.fact + .fact--tap, .fact--tap + .fact { border-top: 1px solid rgba(255, 255, 255, .09); }
@media (hover: hover) { .fact--tap:active { opacity: .7; } }
.fact--tap .fact-body { flex: 1; }
.fact-ico { flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--row); font-size: 21px; line-height: 1; }
.fact-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; padding-top: 1px; }
.fact-head { font: 600 18px/1.3 var(--sans); color: var(--t1); }
.fact-text { font-size: 18px; line-height: 1.35; color: var(--t2); overflow-wrap: anywhere; }

.pw-card .duel-role:empty { display: none; }

.pw-card { gap: 20px; }
.pw-card .gc-stats { width: 100%; }
.pw-card .gc-stat b { font-size: 20px; }
.pw-card .gc-stat span { font-size: 16px; }
.pw-card .duel-vs { font-size: 20px; }
.pw-card .duel-out { margin: 6px 0; }

.pw-card [data-close] { margin-top: 10px; }

.qr-wrap:has(.pw-card) { padding: 16px; }
.gc-chart-card { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.gc-chart-card--empty { color: var(--t2); font-size: 15px; line-height: 1.4; }
.gc-chart { width: 100%; height: auto; display: block; }
.gc-axis { stroke: rgba(255, 255, 255, .22); stroke-width: 1; }
.gc-grid { stroke: rgba(255, 255, 255, .07); stroke-width: 1; }
.gc-lbl { fill: var(--t3); font: 400 10px/1 var(--sans); }
.gc-bar--w { fill: #EDEDED; }

.es-title { font-size: 17px; font-weight: 600; }

#ev-stats .stat span { font-size: 17px; }
.es-sub { font-size: 17px; color: var(--t2); line-height: 1.35; }
.es-leg { display: flex; flex-wrap: wrap; gap: 14px; font-size: 17px; color: var(--t2); }
.es-leg span { display: flex; align-items: center; gap: 6px; }
.es-key { width: 10px; height: 10px; border-radius: 3px; background: #EDEDED; }
.es-key--new { background: var(--action); }

.ev-comp { display: flex; flex-direction: column; gap: 6px; }
.es-bar { fill: #EDEDED; }
.es-bar--new { fill: var(--action); }
.es-num { fill: var(--t1); font: 600 12px/1 var(--sans); }
.es-lbl { font-size: 11px; }
.es-diag { stroke: rgba(255, 255, 255, .35); stroke-width: 1; stroke-dasharray: 4 4; }
.es-dot { fill: #EDEDED; stroke: var(--bg); stroke-width: 1.5; cursor: pointer; }
.es-dot--new { fill: var(--action); }
.es-dot--me { stroke: #fff; stroke-width: 2.5; }

.es-dot--on { stroke: var(--action); stroke-width: 3; }

.es-pick {
  min-height: 1.35em; padding: 10px 14px; border-radius: var(--r-btn);
  background: rgba(255, 255, 255, .06); text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.es-pick-text { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.es-pick--on { color: var(--t1); font-weight: 600; }
.es-pick[data-go] { cursor: pointer; }
@media (hover: hover) { .es-pick[data-go]:active { background: rgba(255, 255, 255, .1); } }
.es-pick .chev { flex: none; color: var(--t3); font-size: 23px; font-weight: 400; }
.es-pick-name { font-weight: 600; color: var(--t1); }
.es-pick--on .es-pick-text > span { font-weight: 400; }
.gc-bar--b { fill: #C9A64B; }
.gc-leg { display: flex; align-items: baseline; gap: 8px; font-size: 14px; color: var(--t2);
  flex-wrap: wrap; }
.gc-leg b { color: var(--t1); font-weight: 600; }
.gc-leg i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.gc-dot--w { background: #EDEDED; }
.gc-dot--b { background: #C9A64B; }

.gc-face-cap { color: var(--t2); font-size: 14px; margin-top: 2px; }
.gc-face { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.gc-half { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-row);
  padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.gc-half span { color: var(--t2); font-size: 14px; }

.gc-half .pawn { width: 15px; height: 15px; margin-right: 6px; vertical-align: -2px; }
.gc-half .pawn--w { color: #EDEDED; }
.gc-half .pawn--b { color: #8A8783; }
.gc-half b { font: 600 32px/1 var(--sans); font-variant-numeric: tabular-nums;
  letter-spacing: -.01em; color: var(--t1); }
.gc-half--flag { border-color: rgba(255, 59, 48, .45); }
.gc-half--flag b { color: #FF6B6B; }

.gc-clk { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r-row);
  overflow: hidden; border: 1px solid var(--line); }
.gc-clk .gc-clk-side { border: 0; border-radius: 0; background: #1c1c1c; color: #f2f2f2;
  transition: background 220ms ease, color 220ms ease; }
.gc-clk .gc-clk-side + .gc-clk-side { border-left: 1px solid rgba(255, 255, 255, .22); }
.gc-clk .gc-clk-side > span { color: inherit; opacity: .72; }
.gc-clk .gc-clk-side b { color: inherit; display: inline-block; transform-origin: left center; }
.gc-clk .gc-clk-side--on { background: #fff; color: #000; }

.gc-clk .pawn--w { color: #EDEDED; }
.gc-clk .pawn svg { overflow: visible; }
.pawn-edge { fill: none; stroke: transparent; stroke-width: 46; stroke-linejoin: round; }
.gc-clk .gc-clk-side--on .pawn--w { color: #fff; }
.gc-clk .gc-clk-side--on .pawn-edge { stroke: #6b6b6b; }
.gc-clk .gc-clk-side--on .pawn--b { color: #000; }
.gc-clk .gc-half--flag b { color: #FF6B6B; }
.gc-clk .gc-clk-side--on.gc-half--flag b { color: #D32F2F; }
.gc-clk-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; }

.gc-clk-delta { font-style: normal; display: flex; flex-direction: column; align-items: flex-end;
  font: 600 16px/1.15 var(--sans); font-variant-numeric: tabular-nums; }
.gc-clk-minus { color: #FF8A80; }
.gc-clk-plus { color: #7BD88F; }
.gc-clk-side--on .gc-clk-minus { color: #C62828; }
.gc-clk-side--on .gc-clk-plus { color: #2E7D32; }
.gc-clk-delta--in > span { animation: gc-clk-delta-in 320ms cubic-bezier(.2, .8, .2, 1) both; }
.gc-clk-delta--in > span + span { animation-delay: 70ms; }
@keyframes gc-clk-delta-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.gc-clk-tick { animation: gc-clk-tick 240ms cubic-bezier(.2, .8, .2, 1); }
@keyframes gc-clk-tick {
  from { transform: scale(1.07); }
  to { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .gc-clk .gc-clk-side { transition: none; }
  .gc-clk-tick, .gc-clk-delta--in > span { animation: none; }
}
.gc-end-card { padding: 14px; }

.gc-replay { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.gc-board { touch-action: pan-y; }
.gc-rp-state { display: flex; justify-content: space-between; align-items: baseline;
  font-size: 17px; font-variant-numeric: tabular-nums; }
.gc-rp-state span { color: var(--t2); font-size: 16px; }

.gc-clk-head { display: flex; align-items: center; gap: 8px; margin-bottom: -6px;
  font-size: 17px; }

.gc-clk-head .gc-face-cap { margin-top: 0; font-size: 17px; }

.gc-clk-head .gc-rp-eye { margin: -4px 0; }
.gc-clk-head .gc-rp-eye svg { height: calc(.705em * 640 / 448); height: calc(1cap * 640 / 448);
  width: calc(.705em * 640 / 448); width: calc(1cap * 640 / 448); }
.gc-rp-eye { border: 0; background: none; color: var(--t2); padding: 4px; margin: -4px -4px -4px 0;
  display: inline-flex; align-items: center; cursor: pointer; }
.gc-rp-eye svg { width: 22px; height: 22px; display: block; }
.gc-rp-ctl { display: flex; justify-content: space-between; gap: 6px;

  direction: ltr; }
.gc-rp-ctl .gc-rp-btn { flex: 1; min-width: 0; height: 44px; margin: 0; padding: 0;
  display: flex; align-items: center; justify-content: center;

  -webkit-touch-callout: none; -webkit-user-select: none; user-select: none;
  touch-action: manipulation; }
.gc-rp-ctl .gc-rp-btn svg { display: block; width: 24px; height: 24px; }
.gc-rp-ctl .gc-rp-btn:disabled { opacity: .35; }
.gc-mvlist { display: grid; grid-template-columns: auto 1fr 1fr; gap: 4px 8px; align-items: center;
  font-size: 17px; font-variant-numeric: tabular-nums; }
.gc-mv-no { color: var(--t3); }
.gc-mv { background: none; border: 0; color: var(--t1); font: inherit; text-align: left;
  padding: 4px 8px; border-radius: 8px; cursor: pointer; }
.gc-mv--on { background: var(--action); color: var(--ink); font-weight: 600; }
.gc-an-open { margin: 0; }

.gc-bdwrap { position: relative; }
.gc-arrow { position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: min(100%, var(--sp-board, 100%)); aspect-ratio: 1 / 1; pointer-events: none; z-index: 4; }
.gc-arrow-line { fill: none; stroke: rgba(63, 191, 116, .85); stroke-width: .18; stroke-linecap: round; }
.gc-arrow-head { fill: rgba(63, 191, 116, .85); }
.gc-an-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
  min-height: 24px; font-size: 16px; color: var(--t2); }
.gc-an-eval { font-size: 17px; color: var(--t1); font-variant-numeric: tabular-nums; }

.gc-an-nav { display: flex; gap: 8px; direction: ltr; }
.gc-an-nav .btn { flex: 1; margin: 0; }
.gc-an-nav .btn:disabled { opacity: .35; }
.gc-an-acc { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.gc-an-acc b { font-size: 22px; font-variant-numeric: tabular-nums; }
.gc-an-acc span { font-size: 13px; color: var(--t2); }

.gc-an-cnts { display: grid; grid-template-columns: auto auto; justify-content: start;
  gap: 4px 20px; margin-top: 4px; }
.gc-an-cnt { display: inline-flex; align-items: center; gap: 4px; font-size: 15px;
  color: var(--t2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gc-an-cnt i { font-style: normal; font-weight: 700; display: inline-flex; }

.gc-an-cnt i.gc-an-dot { width: 20px; height: 20px; border-radius: 50%; color: #fff;
  align-items: center; justify-content: center; font-size: 12px; line-height: 1; letter-spacing: -.5px; }
.gc-an-cnt.gc-mv--best i.gc-an-dot { background: var(--success-t); color: #fff; }
.gc-an-cnt.gc-mv--inacc i.gc-an-dot { background: #D9A92B; color: #fff; }
.gc-an-cnt.gc-mv--mistake i.gc-an-dot { background: #F08A2C; color: #fff; }
.gc-an-cnt.gc-mv--blunder i.gc-an-dot { background: var(--danger); color: #fff; }
.gc-an-cnt i.gc-an-dot svg { width: 13px; height: 13px; }
.gc-an-cnt i svg, .gc-mv i svg { width: 15px; height: 15px; display: block; }

.gc-an-badge { position: absolute; top: -14%; right: -14%; z-index: 5; width: 46%; aspect-ratio: 1 / 1;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .45); pointer-events: none; }
.gc-an-badge svg { width: 74%; height: 74%; display: block; }

.sp-board > .sp-sq:nth-child(-n+8) .gc-an-badge { top: 2%; }
.sp-board > .sp-sq:nth-child(8n) .gc-an-badge { right: 2%; }

.gc-an-glyph { font-weight: 700; font-size: 3.6cqw; line-height: 1; letter-spacing: -.04em; }
.gc-an-badge.gc-mv--best { background: var(--success-t); }
.gc-an-badge.gc-mv--inacc { background: #D9A92B; }
.gc-an-badge.gc-mv--mistake { background: #F08A2C; }
.gc-an-badge.gc-mv--blunder { background: var(--danger); }
.gc-mv--best i, .gc-an-cnt.gc-mv--best i, .gc-an-line .gc-mv--best { color: var(--success-t); }
.gc-an-chart-card { padding: 10px; }
.gc-an-chart { display: block; width: 100%; height: 96px; border-radius: 8px; cursor: pointer; }
.gc-an-bg { fill: #3a3936; }
.gc-an-area { fill: rgba(255, 255, 255, .85); }
.gc-an-mid { stroke: rgba(255, 255, 255, .25); stroke-dasharray: 4 4; }
.gc-an-cur { stroke: var(--action); stroke-width: 2; vector-effect: non-scaling-stroke; }
.gc-an-dot { stroke: #21201F; stroke-width: 1; vector-effect: non-scaling-stroke; }
.gc-mv i { font-style: normal; margin-left: 3px; font-weight: 700; display: inline-flex; vertical-align: -2px; }
.gc-mv--inacc i, .gc-an-cnt.gc-mv--inacc i, .gc-an-line .gc-mv--inacc { color: #E8C34A; }
.gc-mv--mistake i, .gc-an-cnt.gc-mv--mistake i, .gc-an-line .gc-mv--mistake { color: #FF9F45; }
.gc-mv--blunder i, .gc-an-cnt.gc-mv--blunder i, .gc-an-line .gc-mv--blunder { color: var(--danger); }
.gc-mv--on i { color: var(--ink); }
circle.gc-mv--inacc { fill: #E8C34A; }
circle.gc-mv--mistake { fill: #FF9F45; }
circle.gc-mv--blunder { fill: var(--danger); }
.gc-an-wait { padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.gc-an-wait p { margin: 0; color: var(--t2); line-height: 1.4; }
.gc-an-wait span { color: var(--t2); font-variant-numeric: tabular-nums; }
.gc-an-bar { height: 8px; border-radius: 4px; background: var(--row); overflow: hidden; }
.gc-an-bar i { display: block; height: 100%; width: 0; background: var(--action); transition: width .2s; }
.gc-end { margin: 0; font-size: 16px; line-height: 1.5; color: var(--t1); text-align: left; }

.tr-intro { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.tr-intro-top { display: flex; align-items: center; gap: 12px; }
.tr-intro-top .sp-nom-ico { width: 30px; height: 30px; }
.tr-intro-top b { display: block; font: 700 22px/1.2 var(--sans); color: var(--t1); }
.tr-intro-top span { display: block; color: var(--t2); font-size: 18px; line-height: 1.35;
  margin-top: 2px; }
.tr-stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.tr-stat { padding: 14px; background: rgba(255, 255, 255, .05); }
.tr-stat b { font-size: 27px; font-weight: 700; }
.tr-stat span { font-size: 18px; }
.tr-intro-lines { display: flex; flex-direction: column; gap: 4px; color: var(--t2);
  font-size: 18px; line-height: 1.4; }

.tm-card { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; }
.tm-card--mine { box-shadow: inset 0 0 0 1px var(--action); }
.tm-head { display: flex; align-items: baseline; justify-content: space-between;
  gap: 8px; font-size: 17px; padding-bottom: 6px; }
.tm-rating { color: var(--t2); font-size: 15px; font-variant-numeric: tabular-nums; }
.tm-card .tm-row { background: none; border: 0; border-radius: 0; box-shadow: none;
  padding: 8px 0; min-height: 0; }
.tm-card .tm-row + .tm-row { border-top: 1px solid var(--line); }
.tm-card .plr-ava { width: 36px; height: 36px; font-size: 15px; }
.tm-letter { flex: none; width: 24px; height: 24px; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--t2);
  background: rgba(255, 255, 255, .08); margin-right: 8px; }
.tm-row--empty .plr-name { color: var(--t2); }
.tm-row--off { opacity: .45; }
.tm-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-actions .btn { flex: 1 1 auto; }
.btn--sm { width: auto; height: 34px; padding: 0 12px; font-size: 15px; flex: none; }

.pair-match { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px;
  align-items: center; text-transform: none; letter-spacing: 0; font-size: 15px;
  color: var(--t1); padding-top: 14px; }
.pair-match .pm-team { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pair-match .pm-team--b { text-align: right; }
.pair-match .pm-score { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--t2); }
.pair-match--done .pm-score { color: var(--action); }
.hg-unrated { display: block; font-size: 13px; color: var(--t2); padding-left: 2px; }
.seg--view { margin-bottom: 10px; }
.tm-card--off .tm-row { opacity: .5; }
.tm-toggle { align-self: flex-start; margin-top: 8px; }
.tm-toggle--off { color: var(--danger, #ff6b6b); }

.sty-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  margin: 0 -16px; padding: 2px 16px 4px; }
.sty-row::-webkit-scrollbar { display: none; }

.sty-item { flex: none; width: 100px; display: flex; flex-direction: column;
  align-items: center; gap: 6px; padding: 0; background: none; border: 0;
  color: var(--t2); cursor: pointer; }
@media (hover: hover) { .sty-item:active { opacity: .7; } }
.sty-ring { position: relative; width: 90px; height: 90px; display: block; }

.tour-story { position: absolute; left: 10px; top: 10px; z-index: 2; padding: 0;
  border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.tour-story-row .tour-story { position: static; }
@media (hover: hover) { .tour-story:active { transform: scale(.96); } }

.sty-ring svg { position: absolute; inset: 0; width: 90px; height: 90px; }
.sty-ava { position: absolute; inset: 8px; width: 74px; height: 74px; border-radius: 50%;
  object-fit: cover; display: flex; align-items: center; justify-content: center;
  font: 600 18px/1 var(--sans); color: #fff; }

.sty-name-ic { display: inline-block; vertical-align: -.1em; margin-left: 4px; }
.sty-name-ic svg { width: .85em; height: .85em; display: block; }
.sty-ava--logo { object-fit: contain; padding: 12px; background: #000; box-sizing: border-box; }
.sty-name { width: 100%; font-size: 15px; line-height: 1.2; text-align: center;
  letter-spacing: -.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.sty-view { position: fixed; inset: 0; z-index: 400; background: #000;
  touch-action: none; user-select: none; -webkit-user-select: none;
  animation: sty-in .18s ease-out; }
.sty-view--out { opacity: 0; transition: opacity .18s ease-in; }

.sty-view--out .sty-stage, .sty-view--fly .sty-stage { pointer-events: none; }
.sty-view--fly .sty-head, .sty-view--fly .sty-bars, .sty-view--fly .sty-cap,
.sty-view--fly .sty-spin { opacity: 0; transition: opacity .12s; }

.sty-stage { position: absolute; inset: 0; background: #000; will-change: transform; }
@keyframes sty-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

@media (min-width: 560px) {
  .sty-view { position: absolute; }
}
.sty-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  pointer-events: none; }

.sty-video--spare { opacity: 0; pointer-events: none; }

.sty-freeze { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.sty-freeze[hidden] { display: none; }

.sty-spin { position: absolute; left: 50%; top: 50%; z-index: 1; width: 44px; height: 44px;
  margin: -22px 0 0 -22px; border-radius: 50%; pointer-events: none;
  border: 3px solid rgba(255,255,255,.3); border-top-color: #fff;
  animation: sty-spin .8s linear infinite; }
.sty-spin[hidden] { display: none; }
@keyframes sty-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sty-spin { animation-duration: 2s; } }
.sty-bars { position: absolute; left: 10px; right: 10px;
  top: calc(10px + max(env(safe-area-inset-top, 0px), var(--safe-top))); z-index: 2;
  display: flex; gap: 4px; }
.sty-bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35);
  overflow: hidden; }
.sty-bars b { display: block; height: 100%; width: 0; background: #fff; }
.sty-head { position: absolute; left: 12px; right: 6px; z-index: 2;
  top: calc(22px + max(env(safe-area-inset-top, 0px), var(--safe-top)));
  display: flex; align-items: center; gap: 10px; color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.sty-head-ava { flex: none; width: 34px; height: 34px; border-radius: 50%; overflow: hidden;
  display: flex; }
.sty-head-ava img, .sty-head-ava span { width: 100%; height: 100%; object-fit: cover;
  display: flex; align-items: center; justify-content: center; font: 600 13px/1 var(--sans); }
.sty-head-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sty-head-name { font: 600 15px/1.2 var(--sans); white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; }
.sty-head-sub { font-size: 13px; line-height: 1.2; opacity: .85; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
.sty-btn { flex: none; width: 40px; height: 40px; display: flex; align-items: center;
  justify-content: center; background: none; border: 0; color: #fff; padding: 0; }
.sty-btn svg { width: 22px; height: 22px; display: block; }
.sty-mute .rfs-ic { display: none; }
.sty-view:not(.sty-view--muted) .sty-mute .rfs-ic--off,
.sty-view--muted .sty-mute .rfs-ic--on { display: flex; }

.sty-cap { position: absolute; left: 16px; right: 16px; z-index: 2;
  bottom: calc(24px + env(safe-area-inset-bottom)); color: #fff; font-size: 15px;
  line-height: 1.35; text-shadow: 0 1px 3px rgba(0,0,0,.6); pointer-events: none;
  white-space: pre-line; }
.sty-cap:empty { display: none; }

.sty-view--held .sty-head, .sty-view--held .sty-bars, .sty-view--held .sty-cap {
  opacity: 0; transition: opacity .15s; }

.sty-frame { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(100%, calc(100vh * var(--ratio, .5625)));
  width: min(100%, calc(100dvh * var(--ratio, .5625)));
  aspect-ratio: var(--ratio, .5625); }
.sty-frame[hidden] { display: none; }
.sty-photo-retry {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: max-content;
}
.sty-photo-retry[hidden] { display: none; }
.sty-img { display: block; width: 100%; height: 100%; object-fit: contain;
  pointer-events: none; }
.sty-hot { position: absolute; z-index: 2; display: block; border-radius: 16px;
  -webkit-tap-highlight-color: transparent; }
.sty-hot[hidden] { display: none; }
.sty-view--still .sty-video, .sty-view--still .sty-mute { display: none; }

.sty-links { position: absolute; left: 24px; right: 24px; top: 50%; z-index: 2;
  transform: translateY(-50%); display: flex; flex-direction: column; align-items: center;
  gap: 16px; }
.sty-links[hidden] { display: none; }

@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 200 700;
  font-display: swap; src: url('fonts/oswald-cyr-v1.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 200 700;
  font-display: swap; src: url('fonts/oswald-lat-v1.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

.sty-view--org .sty-stage { background: #1a1a1a radial-gradient(at 15% 0%, rgba(255,204,0,.14), transparent 55%); }
.sty-org { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column;
  padding: calc(110px + env(safe-area-inset-top)) 28px calc(90px + env(safe-area-inset-bottom));
  color: #fff; text-transform: uppercase; font-family: 'Oswald', sans-serif; }
.sty-org a { font-family: inherit; }
.sty-org[hidden] { display: none; }

.sty-org--wait { visibility: hidden; }

.sty-org-kicker { font-size: 21px; font-weight: 500; letter-spacing: .12em; color: #ffcc00; }
.sty-org-head { margin-top: 14px; font-size: 44px; line-height: 1.06; font-weight: 600;
  text-wrap: balance; }
.sty-org-head span { color: #ffcc00; }
.sty-org-foot { margin-top: auto; display: flex; flex-direction: column; gap: 22px; }
.sty-org-plus { display: flex; flex-direction: column; gap: 4px; font-size: 21px;
  font-weight: 600; line-height: 1.15; }
.sty-org-plus-cap { font-size: 15px; font-weight: 500; letter-spacing: .12em;
  color: rgba(255,255,255,.6); }
.sty-org-btn { display: flex; align-items: center; justify-content: center; gap: 12px;
  height: 60px; border-radius: 9999px; background: #2aabee; color: #fff; font-size: 20px;
  letter-spacing: .02em; text-decoration: none; }
@media (hover: hover) { .sty-org-btn:active { transform: scale(.98); } }
.sty-org-btn-ic { width: 34px; height: 34px; border-radius: 50%; background: #fff;
  color: #2aabee; display: flex; align-items: center; justify-content: center; }
.sty-org-btn-ic svg { width: 19px; height: 19px; margin-left: -2px; display: block; }
.sty-links .sty-link { text-decoration: none; max-width: 100%; }
.sty-links .sty-link-text { font-size: 24px; line-height: 1.15; }
.sty-link { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 16px;
  background: #fff; border: 0; border-radius: 16px; color: #4395f8;
  box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.sty-link svg { width: 30px; height: 30px; flex: none; display: block; }
.sty-link-text { font-family: 'Avenir Next Condensed', 'Roboto Condensed',
  'Arial Narrow', 'Helvetica Neue', sans-serif; font-stretch: condensed;
  text-transform: uppercase; letter-spacing: .01em; }
.sty-link-text { font-size: 30px; font-weight: 500; line-height: 1; }

.kb-open #tabs,
.kb-open #mainbtn-wrap { display: none !important; }
.ev-week { margin-top: 22px; }

.cam-view { position: relative; width: 100%; aspect-ratio: 1; margin: 0 auto;
  border-radius: var(--r-card); overflow: hidden; background: #000; touch-action: none;
  transform: translateZ(0); }

.cam-video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }

.cam-live-view { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.cam-live-view[hidden] { display: none; }
.cam-overlay { position: absolute; inset: 0; width: 100%; height: 100%;
  touch-action: none; cursor: crosshair; }

.cam-brand { position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  padding: 4px 12px; border-radius: 999px; background: rgba(0, 0, 0, .45);
  color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
  pointer-events: none; z-index: 5; }

.cam-mark { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px;
  margin: -48px 0 0 -48px; pointer-events: none; z-index: 5;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .55)); transition: opacity .6s ease; }
.cam-mark[hidden] { display: none; }
.cam-mark svg { display: block; width: 100%; height: 100%; }
.cam-mark--seek { color: #fff; animation: cam-mark-spin .9s linear infinite; }
.cam-mark--ok { color: #34c759; }
.cam-mark--lost, .cam-mark--setup { color: #ff3b30; }
.cam-mark--fade { opacity: 0; }
@keyframes cam-mark-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cam-mark--seek { animation: none; opacity: .8; } }
.cam-note { margin: 0; font-size: 16px; line-height: 1.4; color: var(--t2); }

.cam-dim { position: fixed; inset: 0; z-index: 2147483000; background: #000; display: flex;
  flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px;
  padding-bottom: calc(40px + env(safe-area-inset-bottom)); touch-action: none; }
.cam-dim[hidden] { display: none; }
.cam-dim-dot { width: 10px; height: 10px; border-radius: 50%; background: #5a1410; }
.cam-dim-note { font-size: 15px; color: #3a3a3a; text-align: center; padding: 0 16px; }

.cam-note--cmd { padding: 12px 16px; border-radius: var(--r-btn); color: #fff; font-size: 17px;
  font-weight: 600; background: rgba(255, 255, 255, .08); border: 2px solid transparent; }
.cam-note--cmd:empty { display: none; }
.cam-note--cmd.cam-note--alert { background: rgba(255, 59, 48, .16); border-color: #ff3b30; }

.cam-page--board .cam-view { position: fixed; left: -200vw; top: 0; width: min(100vw, 480px); }
.cam-page:not(.cam-page--board) .cam-pane-board { display: none; }
.cam-pane-board { display: flex; flex-direction: column; gap: var(--gap); }
.cam-bdwrap { position: relative; }

.cam-bdwrap > .sp-board { position: relative; z-index: 0; }

.cam-over { position: absolute; left: 16px; right: 16px; top: 50%; transform: translateY(-50%);
  padding: 20px 16px; border-radius: var(--r-card); background: rgba(0, 0, 0, .72);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff;
  font-size: 24px; font-weight: 700; line-height: 1.25; text-align: center; pointer-events: none;

  z-index: 10; }
.cam-over[hidden] { display: none; }
.cam-over-note { margin: 0; padding: 16px; border-radius: var(--r-card); background: rgba(255, 255, 255, .08);
  font-size: 22px; font-weight: 700; text-align: center; color: var(--t1); }
.cam-empty { margin: 0; color: var(--t3); }
.cam-row { display: flex; flex-wrap: wrap; gap: 10px; }
.cam-row .btn { flex: 1 1 auto; width: auto; margin: 0; }

.cam-row > .cam-help-wrap { flex: 1 1 100%; }
.cam-help-box .cam-note { font-size: 17px; }
.cam-help { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.cam-bd { margin-inline: auto; }

.cam-bd .sp-sq.cam-last { background-image: linear-gradient(rgba(255, 204, 0, .38), rgba(255, 204, 0, .38)); }

.cam-bd .sp-sq.cam-guess .sp-pc { opacity: .5; }

.cam-moves .cam-guess-mv { opacity: .5; }
.cam-bd .sp-sq.cam-guess { box-shadow: inset 0 0 0 2px rgba(120, 200, 255, .75); }
.cam-nav { display: flex; flex-direction: column; gap: 10px; }

.cam-turnbox--task { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px;
  border-radius: var(--r-card); background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14); }
.cam-task { display: flex; flex-direction: column; gap: 6px; }
.cam-task-kicker { font-size: 14px; color: var(--t2); }
.cam-task-big { font-size: 22px; line-height: 1.3; color: var(--t1); font-weight: 700; }
.cam-task-sq { font-size: 15px; color: var(--t2); }
.cam-task-hint { font-size: 16px; color: var(--action); }
.cam-bd .sp-sq.cam-want { box-shadow: inset 0 0 0 4px var(--success); }

#cam-cands.cam-cands--help:not(:empty) { padding: 10px; border-radius: var(--r-card);
  box-shadow: 0 0 0 2px var(--action); }
.cam-nav-row { display: flex; align-items: center; gap: 10px; }
.cam-nav-btn { flex: none; width: 52px; margin: 0; font-size: 26px; line-height: 1; }
.cam-nav-mid { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 15px; color: var(--t2); font-variant-numeric: tabular-nums; }
.cam-turn { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; color: var(--t1); }
.cam-turn::before { content: ''; width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .5); }
.cam-turn--w::before { background: #fff; }
.cam-turn--b::before { background: #111; }

.cam-bd .sp-sq.cam-from { box-shadow: inset 0 0 0 3px var(--action); }
.cam-state { margin: 0; font-size: 14px; color: var(--t3); font-variant-numeric: tabular-nums; }
.cam-moves { display: grid; grid-template-columns: auto 1fr 1fr; gap: 4px 12px;
  font-size: 17px; font-variant-numeric: tabular-nums; }
.cam-no { color: var(--t3); }
.cam-check { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--t2); }

.cam-page--user .cam-nav-btn { visibility: hidden; }
.cam-page--user #cam-cands, .cam-page--user .cam-state { display: none; }
.cam-check input { width: 20px; height: 20px; }

.cam-mv { all: unset; cursor: pointer; text-align: left; font: inherit; color: var(--t1); }
@media (hover: hover) { .cam-mv:active { color: var(--action); } }

.fire-ico { display: inline-flex; vertical-align: -2px; color: #FF8A3D; }
.fire-ico svg { width: 17px; height: 17px; display: block; }

.card-meta--center { justify-content: center; text-align: center; }
.card-meta--white span { color: var(--t1); }
.card-meta--white { flex-direction: column; gap: 2px; }

.ar-marks { display: flex; flex-wrap: wrap; gap: 2px 7px; margin-top: 2px;
  font-size: 15px; color: var(--t3); font-variant-numeric: tabular-nums; }
.ar-mark--fire { color: #FF8A3D; font-weight: 600; }
.ar-gain { color: var(--t3); font-variant-numeric: tabular-nums; }
.ar-gain.ar-mark--fire { color: #FF8A3D; }

.card-people { white-space: nowrap; }

.card-people svg { width: 16px; height: 16px; vertical-align: -2px; margin-right: 4px; }

.card-rating { white-space: nowrap; }
.rating-star { height: .7em; width: auto; vertical-align: baseline; margin-left: 2px; fill: currentColor; }
.card-reviews { white-space: nowrap; }

.bz-ico { display: inline-flex; vertical-align: -3px; margin-right: 6px; color: #FF8A3D; }
.bz-ico svg { width: 18px; height: 18px; display: block; }

.lbl-row { cursor: default; }
.lbl-dot { flex: none; width: 22px; height: 22px; border-radius: 50%; margin: 0 4px;
  background: var(--t3); border: 1px solid rgba(255, 255, 255, .25); box-sizing: border-box; }
.lbl-dot--white { background: #f3ead6; }
.lbl-dot--yellow { background: #f5c518; }
.lbl-dot--green { background: #1e8e3e; }
.lbl-dot--red { background: #c4000c; }
.lbl-dot--black { background: #111; }
.lbl-dot--orange { background: #ff7a00; }
.lbl-dot--pink { background: #ff3ea5; }
.lbl-dot--purple { background: #4b0f8f; }
.lbl-dot--blue { background: #a8e0ff; }
.lbl-dot--cyan { background: #00c2b8; }
.lbl-dot--brown { background: #7a4520; }
.lbl-dot--gray { background: #8c8c8c; }
.lbl-dot--lime { background: #b6ef3a; }
.lbl-dot--navy { background: #16267a; }
.lbl-dot--gold { background: #c39a2c; }

.menu-choice .lbl-dot { width: 26px; height: 26px; margin: 0; }

.btn-n { color: var(--t3); margin-left: 8px; }
.plr-lbls { position: absolute; left: 50%; top: calc(100% + 3px); transform: translateX(-50%);
  display: flex; gap: 3px; pointer-events: none; }

.plr-lbls i { width: 7px; height: 7px; border-radius: 50%; }

.lbl-dot--sex { display: flex; background: none; border: 0; border-radius: 0; color: var(--t1); }
.lbl-dot--sex svg { display: block; width: 100%; height: 100%; }

.lbl-list { --sep-left: 42px; }
.lbl-hint { text-align: center; }

.ko-wrap { overflow-x: auto; margin: 0 -16px; padding: 0 16px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch; }

.ko-cols { display: flex; gap: 12px; align-items: flex-start; }
.ko-col { flex: 0 0 230px; display: flex; flex-direction: column; gap: 12px; }
.ko-col .sec-head { margin: 0; }
.ko-cell { padding: 10px 14px; }
.ko-side { display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  padding: 3px 0; }
.ko-side .plr-name { font-weight: 500; }
.ko-side--won .plr-name { font-weight: 700; }
.ko-side--out .plr-name, .ko-side--tbd .plr-name { color: var(--t3); }
.ko-side--me .plr-name { color: var(--action); }

.tbl--ko .tbl-head, .tbl--ko .tbl-row { grid-template-columns: 28px 1fr 46px 56px; }
.ko-cell--tap { cursor: pointer; }
@media (hover: hover) { .ko-cell--tap:active { background: rgba(255, 255, 255, .06); } }

.ko-wrap::-webkit-scrollbar { display: none; }
.ko-wrap--more { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
.ko-wrap--less.ko-wrap--more { -webkit-mask-image: linear-gradient(to right, transparent, #000 24px,
  #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, transparent, #000 24px,
  #000 calc(100% - 40px), transparent); }
.ko-wrap--less:not(.ko-wrap--more) { -webkit-mask-image: linear-gradient(to right, transparent, #000 24px);
  mask-image: linear-gradient(to right, transparent, #000 24px); }
.ko-track { position: relative; height: 6px; border-radius: 3px; background: var(--row);
  margin: 4px 0 2px; overflow: hidden; }
.ko-track[hidden] { display: none; }
.ko-track i { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: var(--t3); }

.rh-two { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 14px; }
.rh-two > .card-title { grid-column: 1 / -1; }
.rh-two-row { display: contents; }
.rh-two-num { min-width: 64px; font: 600 26px/1.1 var(--mono); letter-spacing: -.02em;
  font-variant-numeric: tabular-nums; color: var(--t1); }
.rh-two-num--game { color: var(--game-rating); }
.rh-two-mid { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rh-two-name { font: 600 17px/1.25 var(--sans); }

.card--host { text-align: left; }

.host-text { font-size: 18px; color: var(--t2, rgba(255, 255, 255, .62)); }
.host-text b { color: #fff; font-weight: 500; }

.host-text .host-date { color: var(--t2, rgba(255, 255, 255, .62)); }

.host-text .host-name { color: #fff; font-weight: 600; letter-spacing: -.2px; }
.host-text .host-nb { white-space: nowrap; }

.host-face { display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; margin: -2px 7px -2px 0; border-radius: 50%; overflow: hidden;
  background: var(--row); vertical-align: middle; position: relative; top: -2px;
  font-style: normal; font-size: 11px; font-weight: 600; line-height: 1; color: #fff;

  padding: 0 0 .5px; box-sizing: border-box; }

.host-face--plus { width: 29px; height: 29px; margin: -2.5px 6.5px -2.5px 0; }
.host-face .ava-img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

.host-people { white-space: nowrap; color: rgba(255, 255, 255, .62); }
.host-people svg { display: inline-block; width: 15px; height: 15px; vertical-align: -1px; margin-right: 3px; }

.card--host .card-photo-wrap + .card-top { margin-top: 2px; }
.card--host .host-text { margin-top: -3px; }
.card--host .host-text + .card-bottom { margin-top: 2.5px; }

@media not all and (prefers-contrast: more) {
  html[data-skin="2"] :is(
    .card, .duel, .plr, .histg, .stat, .rowlink, .city-item, .org-card,
    .wait-card, .card-qr-mid, .qr-card, .btn--tables, .pick, .act-card,
    .act-timer, .grp-chip, .grp-pick, .plr-x, .plr-pick--off, .loc,
    .duel-chip--w, .duel-chip--b, .pair, .pair-no, .tbl-row, .tbl-head,
    .res-btn, .prof-city-pill, .field input, .field textarea, .field select,
    .field .city-pick, .rowlink--edged, .btn--ghost, .btn--quiet,
    #mainbtn.mainbtn--quiet, #toast, .score-opt, .op-busy, .op-note, .gb-same,
    .hall-mini, .login-perks, .rf-lv-list, .rf-scale-card, .inst-bar,
    .tour-place, .stack--menu, .ev-loc, .ev-ans, .sp-report,
    .sp-nom, .sp-tile, .btn-vk-wide, .inbox-card, .rx-formula, .gc-half,
    .gc-clk, .cam-turnbox--task, .card--choice, .menu-list .rowlink,
    .table-wait, .wait, .ev-aud, .ev-remind, .inst-card, .op-drop
  ) { border-color: transparent; }

  html[data-skin="2"] :is(.btn--std.btn--ghost, .btn.btn--quiet, .qr-card--std .btn--ghost) {
    background: var(--row);
  }

  html[data-skin="2"] :is(.card, .duel, .plr, .histg, .stat, .rowlink, .city-item,
      .org-card, .wait-card, .stack--menu, .inbox-card, .cam-turnbox--task) .btn--ghost,
  html[data-skin="2"] .btn--ghost.btn--edit {
    background: var(--row);
  }

  html[data-skin="2"] :is(.btn--danger, .qr-card--rooms .btn--danger, .btn--std.btn--danger) {
    border-color: transparent; background: rgba(255, 90, 90, .12);
  }

  html[data-skin="2"] .qr-card--rooms :is(.btn--ghost, .btn--danger) {
    background: var(--rooms-fill, var(--card));
  }

  html[data-skin="2"] { --rooms-fill: var(--row); }

  html[data-skin="2"] #tabs { border-top-color: transparent; }

  html[data-skin="2"] :is(.seg-pill, #tab-pill, .pl-search-box, .pl-search-x)::after {
    display: none;
  }

  html[data-skin="2"] .card--live { border-color: rgba(255, 51, 51, .4); }
  html[data-skin="2"] .grp-chip--on { border-color: var(--action); }
  html[data-skin="2"] .loc--on { border-color: rgba(63, 191, 116, .45); }
  html[data-skin="2"] :is(.pair.mine, .tbl-row.me) { border-color: rgba(255, 204, 0, .35); }
  html[data-skin="2"] .pair.mine .pair-no { border-color: var(--action); }
  html[data-skin="2"] .pair-no--none { border-color: var(--line); }
  html[data-skin="2"] .res-btn--nos { border-color: rgba(255, 51, 51, .3); }
  html[data-skin="2"] .res-btn--win.tapped { border-color: var(--success-t); }
  html[data-skin="2"] .res-btn--draw.tapped { border-color: rgba(255, 255, 255, .45); }
  html[data-skin="2"] :is(.res-btn--loss.tapped, .res-btn--nos.tapped) { border-color: #FF6B6B; }
  html[data-skin="2"] :is(.field input, .field textarea, .field select):focus { border-color: var(--line-2); }
  html[data-skin="2"] .score-opt--mine { border-color: var(--action); }
  html[data-skin="2"] .score-opt--players { border-color: var(--success-t); }
  html[data-skin="2"] .score-opt--pending { border-color: rgba(255, 204, 0, .5); }
  html[data-skin="2"] .qr-card--std .score-opt--danger { border-color: rgba(255, 90, 90, .28); }
  html[data-skin="2"] .gc-half--flag { border-color: rgba(255, 59, 48, .45); }
  html[data-skin="2"] :is(.city-item.on, .menu-choice.btn--on) { border-color: var(--action); }
}

.nos-card { display: flex; flex-direction: column; gap: 12px; }
.nos-head { font-weight: 600; }
.nos-row { display: flex; flex-direction: column; gap: 8px; }
.nos-row + .nos-row { border-top: 1px solid var(--line); padding-top: 12px; }
.nos-txt { margin: 0; }
.nos-txt--note { color: var(--t2); }
.nos-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.num-roll { display: inline-block; }

.meeting-view-switch { gap: 8px; align-items: center; }
.meeting-view-options { flex: none; display: inline-flex; padding: 3px; border-radius: 24px; background: var(--card); }
.meeting-view-options button { display: grid; place-items: center; width: 58px; height: 28px;
  border: 0; border-radius: inherit; padding: 0; color: var(--t2); background: transparent; cursor: pointer; }
.meeting-view-options button[aria-pressed="true"] { color: var(--t1); background: var(--row); }
.meeting-view-options svg { width: 18px; height: 18px; fill: currentColor; pointer-events: none; }
.meeting-map { height: 58vh; height: 58dvh; border-radius: 16px; overflow: hidden; isolation: isolate; }

.meeting-map > iframe { width: 100%; height: 100%; border: 0; display: block; }

.meeting-guide-editor label { display: grid; gap: 6px; margin-top: 8px; }
.meeting-guide-editor summary { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.guide-palette { display: grid; grid-template-columns: repeat(auto-fit, minmax(44px, 1fr)); gap: 4px; margin-block: 10px; }
.guide-palette button { display: grid; place-items: center; min-height: 44px; color: var(--t1); background: transparent; border: 0; border-radius: 8px; }
.guide-palette button[aria-pressed=true] { background: var(--t2); }

.sty-view--faq { touch-action: pan-y; }
.sty-faq { position: absolute; z-index: 2; inset: calc(90px + env(safe-area-inset-top)) 0 calc(28px + env(safe-area-inset-bottom)); padding: 8px 28px 24px; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; }
.sty-faq .sty-org-head { margin: 0 0 22px; color: var(--action); font-family: Oswald, sans-serif; font-size: clamp(32px, 8vw, 44px); text-transform: uppercase; }
.sty-faq p { margin: 0 0 14px; color: #fff; font: 400 21px/1.5 var(--sans); }
