:root {
  --bg:#F7F3EC;
  --bg2:#EFE8DC;
  --card:#FFFDF9;
  --ink:#1E3530;
  --sub:#5F6F69;
  --line:#E4DCCD;
  --rose:#B65A43;
  --rose2:#F6E3DA;
  --coral:#D98B6F;
  --coral2:#F8E7DE;
  --sage:#3F6F5F;
  --sage2:#E1ECE5;
  --lav:#5C5A8A;
  --lav2:#E7E6F1;
  --sun:#C9963A;
  --sun2:#F6EBD3;
  --bad:#A8412F;
  --bad2:#F7E0DA;
  --good:#2E6B4F;
  --good2:#DFEEE5;
  --deep:#1E3530;
  --deep2:#2A4740;
  --shadow:0 1px 0 rgba(30,53,48,.04),0 12px 32px -20px rgba(30,53,48,.28);
  --display:"Fraunces",Georgia,serif;
  --body:"DM Sans",system-ui,sans-serif;
  --r:22px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --bg:#111A18;
    --bg2:#18231F;
    --card:#1A2622;
    --ink:#EFE9DE;
    --sub:#A8B3AD;
    --line:#2B3A35;
    --rose:#E08A70;
    --rose2:#3A2620;
    --coral:#E6A189;
    --coral2:#3A2A22;
    --sage:#86C0A8;
    --sage2:#1E3029;
    --lav:#A9A7DA;
    --lav2:#26263A;
    --sun:#E2B460;
    --sun2:#352B18;
    --bad:#EC8A77;
    --bad2:#3B221D;
    --good:#7ACCA4;
    --good2:#1B3127;
    --deep:#0C1412;
    --deep2:#16211E;
    --shadow:0 1px 0 rgba(0,0,0,.2),0 14px 34px -18px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
html {
  background: var(--bg);
}
body {
  margin: 0;
  background: transparent;
  color: var(--ink);
  font: 400 16px/1.55 var(--body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
}
:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: 8px;
}
[hidden] {
  display: none !important;
}
svg.i {
  width: 20px;
  height: 20px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 520px) {
  .wrap {
    padding: 0 16px;
  }
}
.logo {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: url(/brand/mark.svg) center/cover;
  flex: none;
}
.boot {
  min-height: 100vh;
  display: grid;
  place-items: center;
}
.boot .logo {
  width: 56px;
  height: 56px;
  animation: bob 1.4s ease-in-out infinite;
}
@keyframes bob {
  50% {
    opacity: .5;
  }
}
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.topin {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 600 21px/1 var(--display);
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
}
.brand small {
  font: 600 11px var(--body);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sub);
  border: 1px solid var(--line);
  padding: 4px 9px;
  border-radius: 99px;
}
.grow {
  flex: 1;
}
.tabs {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: -1px;
}
.tabs::-webkit-scrollbar {
  display: none;
}
.tab {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 12px;
  font-weight: 500;
  font-size: 15px;
  color: var(--sub);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.tab:hover {
  color: var(--ink);
}
.tab[aria-current=page] {
  color: var(--ink);
  border-bottom-color: var(--rose);
  font-weight: 700;
}
.tab[aria-current=page] svg.i {
  color: var(--rose);
}
.tab .n {
  font-size: 11px;
  font-weight: 700;
  background: var(--rose);
  color: #fff;
  border-radius: 99px;
  padding: 0 6px;
  line-height: 17px;
  min-width: 17px;
  text-align: center;
}
main,
main.wrap {
  padding-top: 30px;
  padding-bottom: 90px;
}
.page {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.eb {
  font: 600 12px var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose);
}
.h1 {
  font:500 44px/1.08 var(--display);font:500 clamp(30px, 5vw, 44px)/1.08 var(--display);
  letter-spacing: -.02em;
}
.h1 em,
.hero h1 em {
  font-style: italic;
  color: var(--rose);
}
.h2 {
  font: 500 23px/1.2 var(--display);
  letter-spacing: -.01em;
}
.h3 {
  font: 600 18px/1.3 var(--display);
}
.sub {
  color: var(--sub);
}
.small {
  font-size: 14px;
}
.uz {
  color: var(--sage);
  font-style: italic;
  font-size: 14px;
}
.row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.between {
  justify-content: space-between;
}
.muted {
  color: var(--sub);
}
.phead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 4px;
}
.phead p.sub {
  margin-top: 6px;
  max-width: 640px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.card.tint {
  background: var(--deep);
  color: #F3EDE2;
  border-color: transparent;
}
.card.tint .sub {
  color: #C7D2CC;
}
.card.tint .eb {
  color: var(--sun);
}
.grid {
  display: grid;
  gap: 16px;
}
.g2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.g3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.g4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 860px) {
  .g3,
  .g4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .g2,
  .g3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .g4 {
    gap: 10px;
  }
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  transition: transform .15s, border-color .15s;
}
a.stat:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--rose) 40%, var(--line));
}
.stat b {
  font: 500 32px/1.1 var(--display);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.02em;
}
.stat span {
  color: var(--sub);
  font-size: 14px;
}
.stat .ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}
.stat .ic svg.i {
  width: 20px;
  height: 20px;
}
@media (max-width: 560px) {
  .stat {
    padding: 14px;
  }
  .stat b {
    font-size: 26px;
  }
  .stat .ic {
    margin-bottom: 8px;
    width: 34px;
    height: 34px;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform .12s,
    background .15s,
    box-shadow .15s;
  min-height: 42px;
  border: 1px solid transparent;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: none;
}
.btn svg.i {
  width: 18px;
  height: 18px;
}
.btn.rose {
  background: var(--rose);
  color: #fff;
}
.btn.rose:hover {
  box-shadow: 0 8px 20px -10px var(--rose);
}
.btn.sage {
  background: var(--sage);
  color: #fff;
}
.btn.soft {
  background: var(--bg2);
  color: var(--ink);
}
.btn.soft:hover {
  background: var(--line);
}
.btn.line {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn.line:hover {
  border-color: var(--ink);
}
.btn.bad {
  background: var(--bad2);
  color: var(--bad);
}
.btn.sm {
  padding: 6px 12px;
  font-size: 13px;
  min-height: 34px;
  border-radius: 10px;
}
.btn.lg {
  padding: 14px 24px;
  font-size: 16px;
  border-radius: 14px;
}
.btn[disabled] {
  opacity: .5;
  pointer-events: none;
}
.icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: inline-grid;
  place-items: center;
  font-size: 18px;
  background: var(--card);
  border: 1px solid var(--line);
}
.icon:hover {
  border-color: var(--ink);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font: 600 12px var(--body);
  padding: 3px 10px;
  border-radius: 99px;
  white-space: nowrap;
}
.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: .8;
}
.pill.ok {
  background: var(--good2);
  color: var(--good);
}
.pill.no {
  background: var(--bad2);
  color: var(--bad);
}
.pill.wait {
  background: var(--sun2);
  color: color-mix(in srgb, var(--sun) 75%, #000);
}
.pill.info {
  background: var(--bg2);
  color: var(--sub);
}
.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.chip {
  padding: 6px 14px;
  border-radius: 99px;
  font-weight: 500;
  font-size: 14px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--sub);
  transition: border-color .15s;
}
.chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.chip[aria-pressed=true] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
label.f,
div.f {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  font-size: 13px;
  color: var(--sub);
  min-width: 0;
}
.in {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-weight: 500;
  font-size: 16px;
  min-height: 44px;
  transition: border-color .15s, box-shadow .15s;
}
.in:focus {
  border-color: var(--rose);
  outline: 0;
  box-shadow: 0 0 0 4px var(--rose2);
}
textarea.in {
  min-height: 90px;
  resize: vertical;
}
.fgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 520px) {
  .fgrid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.full {
  grid-column: 1/-1;
}
.seg {
  display: inline-flex;
  background: var(--bg2);
  border-radius: 11px;
  padding: 3px;
  gap: 2px;
}
.seg button {
  padding: 6px 12px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 13px;
  color: var(--sub);
  min-height: 32px;
}
.seg button[aria-pressed=true] {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}
.seg button.p[aria-pressed=true] {
  background: var(--good);
  color: #fff;
}
.seg button.l[aria-pressed=true] {
  background: var(--sun);
  color: #fff;
}
.seg button.a[aria-pressed=true] {
  background: var(--bad);
  color: #fff;
}
.list {
  display: flex;
  flex-direction: column;
}
.item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 6px;
  border-top: 1px solid var(--line);
  min-width: 0;
}
.item:first-child {
  border-top: 0;
}
.item .main {
  flex: 1;
  min-width: 0;
}
.item .main b {
  display: block;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.item .main small {
  display: block;
  color: var(--sub);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 600 15px var(--display);
  color: #fff;
  flex: none;
  letter-spacing: .02em;
}
button.item {
  width: 100%;
  text-align: left;
  border-radius: 12px;
}
button.item:hover {
  background: var(--bg2);
}
.empty {
  text-align: center;
  padding: 32px 10px;
  color: var(--sub);
}
.empty .big {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--bg2);
  margin: 0 auto 10px;
  color: var(--sub);
}
.empty .big svg.i {
  width: 24px;
  height: 24px;
}
.secthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  background: rgba(17, 26, 24, .5);
  backdrop-filter: blur(3px);
  display: grid;
  place-items: center;
  padding: 16px;
  overflow: auto;
}
.sheet {
  background: var(--card);
  border-radius: 24px;
  padding: 24px;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid var(--line);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 12px;
  opacity: 0;
  transition: .25s;
  z-index: 60;
  pointer-events: none;
  max-width: calc(100vw - 32px);
  text-align: center;
}
.toast.on {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 700px) {
  .toast {
    bottom: 90px;
  }
}
.gate {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.gate .art {
  background: var(--deep);
  color: #F3EDE2;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.gate .art h2 {
  font:400 52px/1.08 var(--display);font:400 clamp(34px, 4vw, 52px)/1.08 var(--display);
  letter-spacing: -.02em;
  max-width: 460px;
}
.gate .art h2 em {
  color: var(--sun);
}
.gate .art p {
  color: #C7D2CC;
  max-width: 420px;
}
.gate .art svg.deco {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 380px;
  height: 380px;
  opacity: .9;
}
.gate .side {
  display: grid;
  place-items: center;
  padding: 32px 20px;
}
.gate form {
  max-width: 380px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: 820px) {
  .gate {
    grid-template-columns: 1fr;
  }
  .gate .art {
    padding: 28px 22px;
    min-height: 0;
  }
  .gate .art svg.deco {
    width: 200px;
    height: 200px;
    right: -40px;
    bottom: -50px;
  }
  .gate .art .bigq {
    display: none;
  }
}
.err {
  color: var(--bad);
  font-weight: 600;
  font-size: 14px;
}
.rgrid {
  display: grid;
  grid-template-columns: 56px repeat(var(--nd), minmax(110px, 1fr));
  position: relative;
  min-width: calc(56px + var(--nd) * 110px);
}
.rscroll {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card);
}
.rhead {
  position: sticky;
  top: 0;
  background: var(--card);
  z-index: 2;
  text-align: center;
  padding: 10px 4px;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.rhead small {
  display: block;
  color: var(--sub);
  font-weight: 400;
  font-size: 12px;
}
.rhead.today {
  color: var(--rose);
}
.rhead.today small {
  color: var(--rose);
}
.rtime {
  font-size: 11px;
  font-weight: 500;
  color: var(--sub);
  text-align: right;
  padding-right: 8px;
  transform: translateY(-8px);
  font-variant-numeric: tabular-nums;
}
.rcell:first-child .rtime {
  transform: none;
}
.rcol {
  position: relative;
  border-left: 1px solid var(--line);
}
.rcell {
  height: var(--rowh);
  border-top: 1px dashed color-mix(in srgb, var(--line) 70%, transparent);
}
.rcell.hour {
  border-top: 1px solid var(--line);
}
.rcell:hover {
  background: var(--bg2);
  cursor: copy;
}
.blk {
  position: absolute;
  left: 4px;
  right: 4px;
  border-radius: 10px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  overflow: hidden;
  text-align: left;
  border-left: 3px solid rgba(0, 0, 0, .18);
}
.blk small {
  display: block;
  font-weight: 400;
  opacity: .9;
  font-variant-numeric: tabular-nums;
}
.blk.me {
  background: var(--rose);
  color: #fff;
}
.blk.partner {
  background: var(--lav2);
  color: var(--lav);
  border-left-color: var(--lav);
}
.blk.busy {
  background:
    repeating-linear-gradient(
      135deg,
      var(--bg2) 0 6px,
      var(--card) 6px 12px);
  color: var(--sub);
  border: 1px dashed var(--line);
}
.blk.clash {
  outline: 2px solid var(--bad);
  outline-offset: 1px;
}
.blk .lk {
  float: right;
  opacity: .85;
}
.legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--sub);
}
.legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  vertical-align: -1px;
  margin-right: 6px;
}
.lcard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.lcard .num {
  font: 500 13px var(--body);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sub);
}
.lcard .bar {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 4px;
}
.tag {
  font-size: 14px;
  color: var(--sub);
}
.tag b {
  color: var(--ink);
  font-weight: 600;
}
a.lcard:hover {
  border-color: color-mix(in srgb, var(--rose) 40%, var(--line));
}
.ticon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}
.ticon svg.i {
  width: 24px;
  height: 24px;
}
@media (max-width: 700px) {
  .top {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--bg);
  }
  .top .tabs {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--card);
    border-top: 1px solid var(--line);
    padding: 4px 4px calc(4px + env(safe-area-inset-bottom, 0px));
    z-index: 30;
    justify-content: space-around;
    margin: 0;
  }
  .tab {
    flex-direction: column;
    gap: 2px;
    font-size: 10.5px;
    padding: 6px 4px;
    border-bottom: 0;
    min-width: 52px;
    position: relative;
  }
  .tab[aria-current=page] {
    color: var(--rose);
  }
  .tab .n {
    position: absolute;
    top: 2px;
    right: 6px;
  }
  .tab .lbl {
    white-space: nowrap;
  }
  main,
  main.wrap {
    padding-top: 22px;
    padding-bottom: 120px;
  }
}
@media print {
  .top,
  .noprint {
    display: none !important;
  }
  body {
    background: #fff;
  }
  .card {
    box-shadow: none;
  }
}
.hello {
  padding: 30px 30px 28px;
  position: relative;
  overflow: hidden;
}
.hello .h1 {
  color: #F7F1E6;
}
.hello .h1 em {
  color: var(--sun);
}
.hello .sub b {
  color: #fff;
}
.hdeco {
  position: absolute;
  right: -50px;
  top: -60px;
  width: 260px;
  height: 260px;
  pointer-events: none;
}
@media (max-width: 560px) {
  .hello {
    padding: 22px;
  }
  .hdeco {
    width: 160px;
    height: 160px;
    right: -50px;
    top: -50px;
  }
}
@media (max-width: 700px) {
  .top .tabs {
    justify-content: space-between;
  }
  .tab {
    flex: 1 1 0;
    min-width: 0;
    padding: 6px 0;
  }
  .tab .lbl {
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
}
.gate .art .logo {
  box-shadow: 0 0 0 1px rgba(243, 237, 226, .25);
}
@media (max-width: 760px) {
  .arch svg.bg {
    opacity: .35;
  }
}
.tab .sh {
  display: none;
}
@media (max-width: 700px) {
  .tab .lg {
    display: none;
  }
  .tab .sh {
    display: inline;
  }
}
#amb {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
#amb i {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  will-change: transform;
}
#amb .b1 {
  width: 46vmax;
  height: 46vmax;
  left: -14vmax;
  top: -18vmax;
  background:
    radial-gradient(
      circle,
      #E9C6A4,
      transparent 68%);
  animation: drift1 26s ease-in-out infinite alternate;
}
#amb .b2 {
  width: 40vmax;
  height: 40vmax;
  right: -12vmax;
  top: 8vh;
  background:
    radial-gradient(
      circle,
      #C9DDD2,
      transparent 68%);
  animation: drift2 32s ease-in-out infinite alternate;
}
#amb .b3 {
  width: 36vmax;
  height: 36vmax;
  left: 22vw;
  bottom: -20vmax;
  background:
    radial-gradient(
      circle,
      #F1D9C9,
      transparent 68%);
  animation: drift3 38s ease-in-out infinite alternate;
}
#amb .b4 {
  width: 24vmax;
  height: 24vmax;
  right: 16vw;
  bottom: 10vh;
  background:
    radial-gradient(
      circle,
      #EADFB8,
      transparent 70%);
  animation: drift1 44s ease-in-out infinite alternate-reverse;
}
#amb canvas {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
#amb .grain {
  position: absolute;
  top: -50%;
  right: -50%;
  bottom: -50%;
  left: -50%;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift1 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(8vw, 6vh) scale(1.12);
  }
  100% {
    transform: translate(-4vw, 12vh) scale(.95);
  }
}
@keyframes drift2 {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-10vw, 10vh) scale(1.08);
  }
  100% {
    transform: translate(-4vw, -6vh) scale(1.15);
  }
}
@keyframes drift3 {
  0% {
    transform: translate(0, 0) scale(1.05);
  }
  50% {
    transform: translate(-8vw, -10vh) scale(.92);
  }
  100% {
    transform: translate(10vw, -4vh) scale(1.1);
  }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) #amb i {
    opacity: .22;
  }
  :root:not([data-theme=light]) #amb .b1 {
    background:
      radial-gradient(
        circle,
        #B65A43,
        transparent 68%);
  }
  :root:not([data-theme=light]) #amb .b2 {
    background:
      radial-gradient(
        circle,
        #3F6F5F,
        transparent 68%);
  }
  :root:not([data-theme=light]) #amb .grain {
    opacity: .08;
  }
}
.card {
  background: color-mix(in srgb, var(--card) 88%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.card.tint {
  background: var(--deep);
}
.rv {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s cubic-bezier(.2, .7, .2, 1) var(--rvd,0ms), transform .6s cubic-bezier(.2, .7, .2, 1) var(--rvd,0ms);
}
.rv.rv-in {
  opacity: 1;
  transform: none;
}
.page.enter > * {
  animation: pagein .45s cubic-bezier(.2, .7, .2, 1) both;
}
.page.enter > *:nth-child(2) {
  animation-delay: .04s;
}
.page.enter > *:nth-child(3) {
  animation-delay: .08s;
}
.page.enter > *:nth-child(4) {
  animation-delay: .12s;
}
.page.enter > *:nth-child(n+5) {
  animation-delay: .16s;
}
@keyframes pagein {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.modal {
  animation: fadein .2s ease both;
}
.modal .sheet {
  animation: sheetin .3s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes fadein {
  from {
    opacity: 0;
  }
}
@keyframes sheetin {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.98);
  }
}
@media (max-width: 560px) {
  .modal {
    align-items: end;
    padding: 0;
  }
  .modal .sheet {
    border-radius: 24px 24px 0 0;
    max-height: 92vh;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  }
  @keyframes sheetin {
    from {
      transform: translateY(40%);
    }
  }
}
.confetti {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 70;
  pointer-events: none;
  width: 100vw;
  height: 100vh;
}
.btn,
.chip,
.icon,
.seg button,
.tab {
  -webkit-tap-highlight-color: transparent;
}
.btn:active,
.chip:active,
.icon:active {
  transform: scale(.97);
}
@keyframes flash {
  0% {
    background: var(--good2);
  }
  100% {
    background: transparent;
  }
}
.item.flash {
  animation: flash 1.2s ease;
}
.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  color: #F7F1E6;
  margin-top: 16px;
}
.live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 0 rgba(226, 180, 96, .6);
  animation: ping 1.8s infinite;
}
@keyframes ping {
  70% {
    box-shadow: 0 0 0 10px rgba(226, 180, 96, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(226, 180, 96, 0);
  }
}
.ring {
  --p:0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: conic-gradient(var(--good) calc(var(--p)*1%), var(--bg2) 0);
  display: grid;
  place-items: center;
  flex: none;
  transition: --p 1s;
}
.ring b {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--card);
  display: grid;
  place-items: center;
  font: 600 15px var(--display);
}
.nowline {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--rose);
  z-index: 3;
  pointer-events: none;
}
.nowline::before {
  content: "";
  position: absolute;
  left: -5px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose);
}
kbd {
  font: 600 11px var(--body);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 1px 6px;
  color: var(--sub);
  background: var(--card);
}
.qs {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 55;
  background: rgba(17, 26, 24, .45);
  backdrop-filter: blur(3px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 12vh 16px 16px;
  animation: fadein .15s both;
}
.qs .box {
  width: 100%;
  max-width: 560px;
  background: var(--card);
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
  overflow: hidden;
  animation: sheetin .25s both;
}
.qs input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 18px 20px;
  font-size: 18px;
  background: transparent;
  outline: 0;
}
.qs .res {
  max-height: 50vh;
  overflow: auto;
  padding: 6px;
}
.qs .res button {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 12px;
}
.qs .res button.on,
.qs .res button:hover {
  background: var(--bg2);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .rv {
    opacity: 1;
    transform: none;
  }
}
.toast .tact {
  margin-left: 10px;
  color: var(--sun);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  pointer-events: auto;
}
@media (max-width: 700px) {
  .lgonly {
    display: none;
  }
  .qsbtn {
    padding: 6px 9px;
  }
}

/* flex gap fallback */
html.clv-nogap .topin>*+*{margin-left:12px}
html.clv-nogap .brand>*+*{margin-left:10px}
html.clv-nogap .tabs>*+*{margin-left:2px}
html.clv-nogap .tab>*+*{margin-left:8px}
html.clv-nogap .page>*+*{margin-top:20px}
html.clv-nogap .row>*{margin-right:10px;margin-bottom:10px}
html.clv-nogap .phead>*{margin-right:14px;margin-bottom:14px}
html.clv-nogap .stat>*+*{margin-top:2px}
html.clv-nogap .btn>*+*{margin-left:8px}
html.clv-nogap .pill>*+*{margin-left:5px}
html.clv-nogap .chips>*{margin-right:6px;margin-bottom:6px}
html.clv-nogap label.f>*+*,html.clv-nogap div.f>*+*{margin-top:6px}
html.clv-nogap .seg>*+*{margin-left:2px}
html.clv-nogap .item>*+*{margin-left:12px}
html.clv-nogap .secthead>*+*{margin-left:10px}
html.clv-nogap .sheet>*+*{margin-top:16px}
html.clv-nogap .gate form>*+*{margin-top:16px}
html.clv-nogap .legend>*{margin-right:16px;margin-bottom:16px}
html.clv-nogap .lcard>*+*{margin-top:10px}
html.clv-nogap .live>*+*{margin-left:8px}
html.clv-nogap .qs .res button>*+*{margin-left:12px}