@font-face { font-family: "Unbounded"; src: url("/assets/unbounded-cafa3ec4.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/inter-1f021a24.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/assets/manrope-757d91ba.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0e0f13;
  --bg-raised: #17181d;
  --bg-high: #22242b;
  --line: #2a2c34;
  --line-strong: #454852;
  --text: #f5f5f7;
  --text-soft: #b4b7c0;
  --text-dim: #81848f;
  --accent: #8b5cf6;
  --accent-strong: #7c4dff;
  --accent-bright: #b79bff;
  --accent-wash: rgb(139 92 246 / .16);
  --ok: #4ade80;
  --warn: #fbbf24;
  --danger: #f87171;
  --radius: 6px;
  --radius-lg: 10px;
  --gutter: clamp(16px, 4vw, 64px);

  --bar: 68px;
  --topbar: calc(var(--bar) + env(safe-area-inset-top, 0px));
  --brand: "Unbounded", "Inter", system-ui, sans-serif;
  --display: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

* { scrollbar-width: none; }
*::-webkit-scrollbar { display: none; }

html { font-size: clamp(15px, 9px + .5vw, 22px); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--bg); color: var(--text);
  font: 400 1rem/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); }
h2 { font-size: 1.15rem; }
h3 { font-size: .95rem; margin-top: 1.4rem; margin-bottom: .4rem; }
p { margin: 0 0 .8rem; }
a { color: var(--text); text-decoration: none; }
p a, .fineprint a, .authcard__foot a, .authcard__note a, td a, .hero__note a { color: var(--accent-bright); }
a:hover { text-decoration: underline; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
hr { border: 0; border-top: 1px solid var(--line); margin: .4rem 0; }
code { font-family: ui-monospace, "JetBrains Mono", monospace; font-size: .88em; background: var(--bg-high); padding: .1em .4em; border-radius: 6px; }
[hidden] { display: none !important; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 8px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.muted { color: var(--text-soft); }
.accent { color: var(--accent-bright); font-weight: 700; }
.icon { display: inline-block; vertical-align: -.24em; width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
[data-toggle-target] { display: inline-flex; align-items: center; gap: .5em; }
.icon--filled { fill: currentColor; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft);
}

.logo { display: inline-flex; align-items: center; gap: 0; font-family: var(--brand); font-weight: 900; font-size: 1.15rem; letter-spacing: .02em; color: var(--text); line-height: 1; }
.logo__mark { height: 1.17em; width: auto; margin-right: .03em; color: var(--accent); }
.logo__tv { color: var(--accent-bright); font-weight: 500; margin-left: .26em; }
a:hover .logo { text-decoration: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .62em 1.25em; border-radius: var(--radius); border: 1.5px solid transparent;
  font-weight: 700; font-size: .92rem; line-height: 1.2; white-space: nowrap; text-decoration: none;
  transition: transform .18s var(--ease), background .18s, border-color .18s, box-shadow .18s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .55; cursor: progress; transform: none; }
.btn--primary { background: var(--accent-strong); color: #fff; }
.btn--primary:hover { background: #8f66ff; }
.btn--ghost { background: rgb(120 124 138 / .38); color: #fff; }
.btn--ghost:hover { background: rgb(120 124 138 / .55); }
.btn--ghost.is-on { background: rgb(120 124 138 / .22); color: var(--text-soft); }
.btn--quiet { background: none; color: var(--text-soft); }
.btn--quiet:hover { color: var(--text); background: rgb(255 255 255 / .07); }
.btn--light { background: #fff; color: #120f1f; }
.btn--light:hover { background: rgb(255 255 255 / .8); }
.btn--light.is-on { background: rgb(255 255 255 / .16); color: #fff; }
.btn--danger { background: none; color: var(--danger); border-color: rgb(248 113 113 / .45); }
.btn--danger:hover { background: rgb(248 113 113 / .12); }
.btn--primary.is-on { background: var(--bg-high); border-color: var(--line-strong); box-shadow: none; }
.btn--xs { font-size: .76rem; padding: .4em .85em; }
.btn--sm { font-size: .82rem; padding: .5em 1em; }
.btn--lg { font-size: 1rem; padding: .8em 1.5em; }
.btn--xl { font-size: 1.05rem; padding: 1em 1.8em; }
.btn--block { width: 100%; }
form.button_to { display: inline; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent-bright); font-weight: 700; }
.linkbtn:hover { text-decoration: underline; }

.iconbtn {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: none;
  border-radius: 50%; border: 0; background: none; color: #fff; font-size: 1.1rem;
  transition: background .15s, transform .15s var(--ease);
}
.iconbtn:hover { background: rgb(255 255 255 / .14); transform: scale(1.08); text-decoration: none; }
.iconbtn--lg { font-size: 1.55rem; width: 3.2rem; height: 3.2rem; }
.iconbtn--label { width: auto; border-radius: var(--radius); padding: 0 1rem; display: inline-flex; gap: .5rem; font-size: .9rem; font-weight: 700; }
.iconbtn--label .icon { font-size: 1.2rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; padding: .42em 1em; border-radius: var(--radius);
  border: 1px solid var(--line-strong); color: var(--text-soft); font-weight: 600; font-size: .86rem;
  transition: all .16s;
}
.chip:hover { color: var(--text); border-color: var(--text-soft); text-decoration: none; }
.chip.is-active { background: #fff; border-color: #fff; color: #111; }
.chip--rating { padding: .1em .5em; font-size: .76rem; border-color: rgb(255 255 255 / .5); color: #fff; border-radius: 3px; }

.badge {
  display: inline-flex; align-items: center; padding: .2em .6em; border-radius: 4px; vertical-align: middle;
  font: 700 .68rem/1.4 var(--body); letter-spacing: .05em; text-transform: uppercase;
  background: var(--bg-high); color: var(--text-soft); border: 1px solid var(--line-strong);
}
.badge--kids { background: #fbbf24; color: #2a1a00; border-color: transparent; }
.badge--ok { background: rgb(74 222 128 / .14); color: var(--ok); border-color: rgb(74 222 128 / .4); }
.badge--warn { background: rgb(251 191 36 / .14); color: var(--warn); border-color: rgb(251 191 36 / .4); }

.avatar {
  --size: 2.6rem;
  position: relative; display: inline-grid; place-items: center; flex: none; overflow: hidden;
  width: var(--size); height: var(--size); border-radius: 8%;
  background: var(--avatar, var(--accent));
  color: rgb(255 255 255 / .96);
}
.avatar > svg, .avatar > span > svg { width: 100%; height: 100%; }
.avatar > span { display: contents; }
.avatar img { width: 100%; height: 100%; object-fit: cover; grid-area: 1 / 1; }
.avatar--xs { --size: 1.7rem; }
.avatar--sm { --size: 2.1rem; }
.avatar--lg { --size: 3.6rem; }
.avatar--xl { --size: clamp(5.5rem, 16vw, 9rem); }
.avatar--xxl { --size: clamp(6.5rem, 18vw, 10rem); }
.avatar--studio { border-radius: 50%; background: var(--bg-high); }
.avatar--studio > svg { grid-area: 1 / 1; }
.avatar--studio > b { grid-area: 1 / 1; z-index: 1; font: 900 calc(var(--size) * .42) / 1 var(--display); color: #fff; text-shadow: 0 2px 10px rgb(0 0 0 / .55); }
.avatar--add { background: none; border: 2px dashed var(--line-strong); color: var(--text-soft); font-size: 2.2rem; }

.panel { background: var(--bg-raised); border: 0; border-radius: var(--radius-lg); padding: clamp(1.1rem, 2.5vw, 1.8rem); margin-bottom: 1.2rem; }
.panel > h2 { margin-bottom: 1rem; }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }

.callout { border-radius: var(--radius); padding: .8rem 1rem; margin-bottom: 1rem; border: 1px solid var(--line-strong); background: var(--bg-high); font-size: .92rem; }
.callout p { margin: 0; }
.callout--error { border-color: rgb(248 113 113 / .5); background: rgb(248 113 113 / .1); color: #fecaca; }
.callout--info { border-color: var(--line-strong); background: var(--bg-high); color: var(--text-soft); }

.toasts { position: fixed; z-index: 90; top: calc(var(--topbar) + .6rem); left: 50%; transform: translateX(-50%); display: grid; gap: .5rem; width: min(92vw, 34rem); }
.toast {
  padding: .8rem 1.1rem; border-radius: var(--radius); font-weight: 700; font-size: .92rem;
  background: var(--bg-high); border: 1px solid var(--line-strong); box-shadow: 0 18px 50px -12px #000;
  animation: toast-in .35s var(--ease);
}
.toast--notice { border-color: var(--line-strong); }
.toast--alert { border-color: rgb(248 113 113 / .6); color: #fecaca; }
.toast.is-leaving { animation: toast-out .3s ease-in forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-10px); } }

.empty { text-align: center; padding: clamp(2.5rem, 8vw, 5rem) 1rem; display: grid; gap: .7rem; justify-items: center; }
.empty--center { position: absolute; inset: 0; align-content: center; }

.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgb(255 255 255 / .25); }
.progress i { display: block; height: 100%; background: var(--accent); border-radius: 0 4px 4px 0; }
.progress--lg { position: static; height: 10px; border-radius: 99px; overflow: hidden; background: var(--bg-high); width: 100%; }
.progress--lg i { width: 0; transition: width .2s; border-radius: 99px; }

.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field > span, .field > legend { font-weight: 600; font-size: .86rem; color: var(--text-soft); padding: 0; }
.field > legend { margin-bottom: .5rem; }
.field small, .fineprint { color: var(--text-dim); font-size: .8rem; }
.fineprint { margin: 1rem 0 0; text-align: center; }
.field--inline { grid-template-columns: 1fr auto; align-items: center; padding-top: .8rem; }

input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="url"], input[type="number"], input[type="tel"], select, textarea {
  width: 100%; padding: .78em 1em; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: rgb(255 255 255 / .04); color: var(--text);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
input::placeholder, textarea::placeholder { color: var(--text-dim); }
input:focus, select:focus, textarea:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 1px #fff; background: rgb(255 255 255 / .07); }
select { appearance: none; padding-right: 2.4em; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b6b1cc' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8em center; background-size: 1.1em; }
select option { background: #22242b; }
textarea { resize: vertical; min-height: 5rem; }
input[type="file"] { font-size: .86rem; color: var(--text-soft); max-width: 100%; }
input[type="file"]::file-selector-button { margin-right: .8rem; padding: .5em 1em; border-radius: var(--radius); border: 1.5px solid var(--line-strong); background: var(--bg-high); color: var(--text); font-weight: 700; cursor: pointer; }

.form__split { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); align-items: start; }
.form__split--2 { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.form__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .4rem; }

.segmented { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: .7rem; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; }
.segmented label > span { display: grid; grid-template-columns: auto 1fr; column-gap: .6rem; align-items: center; padding: .85rem 1rem; border-radius: var(--radius); border: 1.5px solid var(--line-strong); font-weight: 700; transition: all .15s; }
.segmented label > span:not(:has(.icon)) { grid-template-columns: 1fr; }
.segmented small { grid-column: 1 / -1; color: var(--text-dim); font-weight: 500; font-size: .8rem; }
.segmented input:checked + span { border-color: #fff; background: rgb(255 255 255 / .06); }
.segmented input:focus-visible + span { outline: 3px solid #fff; outline-offset: 3px; }

.switch { display: flex; gap: 1rem; align-items: flex-start; padding: .8rem 0; cursor: pointer; border-top: 1px solid var(--line); }
.switch:first-of-type { border-top: 0; padding-top: 0; }
.switch input[type="checkbox"] { appearance: none; flex: none; width: 2.9rem; height: 1.65rem; border-radius: 99px; background: var(--line-strong); position: relative; transition: background .2s; margin: .1rem 0 0; cursor: pointer; }
.switch input[type="checkbox"]::after { content: ""; position: absolute; top: .2rem; left: .2rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.switch input[type="checkbox"]:checked { background: var(--accent-strong); }
.switch input[type="checkbox"]:checked::after { transform: translateX(1.25rem); }
.switch span { display: grid; }
.switch small { color: var(--text-dim); font-size: .84rem; }

.searchbox { position: relative; display: flex; align-items: center; }
.searchbox .icon { position: absolute; left: .9em; color: var(--text-dim); pointer-events: none; }
.searchbox input { padding-left: 2.7em; }
.searchbox input::-webkit-search-cancel-button { filter: invert(1) opacity(.6); }
.selectbox { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: .86rem; color: var(--text-soft); }
.selectbox select { width: auto; }

.tabs { display: flex; gap: .3rem; border-bottom: 1px solid var(--line); margin-bottom: 1.6rem; overflow-x: auto; }
.tabs__tab { padding: .8rem 1.1rem; font-weight: 600; color: var(--text-soft); border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs__tab:hover { color: var(--text); text-decoration: none; }
.tabs__tab.is-active { color: var(--text); border-color: var(--accent); }

.tablewrap { overflow-x: auto; margin: 0 -.4rem; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); font-weight: 700; }
.table th, .table td { padding: .75rem .4rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }

@media (max-width: 640px) {
  .tablewrap { overflow: visible; margin: 0; }
  .table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .table, .table tbody, .table tr { display: block; }
  .table tr { padding: .7rem 0; border-bottom: 1px solid var(--line); }
  .table tr:first-child { padding-top: 0; }
  .table tr:last-child { border-bottom: 0; padding-bottom: 0; }
  .table td { display: flex; align-items: baseline; justify-content: flex-end; flex-wrap: wrap; gap: .2rem .5rem; padding: .22rem 0; border: 0; white-space: normal; text-align: right; overflow-wrap: anywhere; }
  .table td[data-label]::before { content: attr(data-label); margin-right: auto; color: var(--text-dim); font-size: .82rem; text-align: left; }
}

.lines { list-style: none; margin: 0; padding: 0; }
.linerow { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.lines .linerow:first-child, .panel > .linerow:first-of-type { border-top: 0; }
.linerow > div:first-child { display: grid; min-width: 0; }
.linerow small { color: var(--text-dim); font-size: .82rem; overflow-wrap: anywhere; }
.linerow__actions { display: flex; gap: .2rem; }

.kv { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 1rem 0 1.2rem; font-size: .92rem; }
.kv dt { color: var(--text-dim); }
.kv dd { margin: 0; text-align: right; font-weight: 700; }

.step { display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--bg-high); color: var(--text-soft); font-size: .8em; margin-right: .4em; vertical-align: middle; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.turbo-progress-bar { display: none; }
.loader { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--bg); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s, visibility 0s .25s; }
.loader.is-on { opacity: 1; visibility: visible; pointer-events: auto; transition: none; }
.loader svg { width: min(6rem, 26vw); height: auto; overflow: visible; }
.loader__line { fill: none; stroke: var(--accent-bright); stroke-width: 1.1; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.loader__fill { fill: var(--accent); opacity: 0; }
.loader.is-on .loader__line { animation: loader-line .7s ease-in-out forwards; }
.loader.is-on .loader__fill { animation: loader-fill .3s .6s ease-out forwards, loader-glow 1.4s 1s ease-in-out infinite alternate; }
@keyframes loader-line { to { stroke-dashoffset: 0; } }
@keyframes loader-fill { to { opacity: 1; } }
@keyframes loader-glow { from { opacity: 1; } to { opacity: .45; } }
@media (prefers-reduced-motion: reduce) {
  .loader.is-on .loader__line { animation: none; stroke-dashoffset: 0; }
  .loader.is-on .loader__fill { animation: none; opacity: 1; }
}
.toggle__count { font-size: .8rem; font-weight: 700; }
