:root {
  --bg:var(--soto-bg);
  --panel:#1c1525;
  --raised:#241a2e;
  --line:var(--soto-border);
  --text:var(--soto-text);
  --muted:var(--soto-text-secondary);
  --accent:var(--soto-accent);
  --action:#83449b;
  --mint:var(--soto-success);
  --amber:#e8c583;
  --red:var(--soto-danger);
  --blue:#b4c9ef;
  color-scheme:dark;
  font-family:var(--soto-font);
  color:var(--text);
  background:var(--bg)
}
* {
  box-sizing:border-box
}
body {
  margin:0
}
button,input,select {
  font:inherit
}
button,a,input,select {
  -webkit-tap-highlight-color:transparent
}
button,a {
  touch-action:manipulation
}
button {
  cursor:pointer
}
a {
  color:var(--accent);
  text-decoration:none
}
a:hover {
  text-decoration:underline;
  text-underline-offset:4px
}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:4px
}
button:disabled {
  opacity:.5;
  cursor:not-allowed
}
svg {
  display:block;
  width:20px;
  height:20px;
  flex-shrink:0;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round
}
.brand-icon {
  stroke:none;
  fill:currentColor
}
img {
  max-width:100%;
  display:block
}
[hidden] {
  display:none!important
}
h1,h2,h3,h4,p {
  margin:0
}
h1 {
  font-size:30px;
  line-height:36px;
  letter-spacing:-.02em;
  font-weight:600
}
h2 {
  font-size:20px;
  line-height:28px;
  font-weight:600
}
h3 {
  font-size:16px;
  line-height:24px;
  font-weight:600
}
p {
  font-size:14px;
  line-height:24px;
  color:var(--muted);
  text-wrap:pretty
}
small {
  font-size:12px;
  line-height:20px;
  color:var(--muted)
}
::selection {
  background:#64416f;
  color:#fff
}
.preview-tools {
  max-width:1184px;
  margin:12px auto 0;
  display:flex;
  gap:12px;
  align-items:center;
  color:var(--muted);
  font-size:12px;
  line-height:20px
}
.preview-tools>span {
  margin-right:auto
}
.preview-tools select {
  border:1px solid var(--line);
  border-radius:6px;
  background:var(--panel);
  color:var(--text);
  min-height:36px;
  padding:4px 8px;
  font-size:12px;
  max-width:220px
}
.skip {
  position:absolute;
  top:8px;
  left:8px;
  background:var(--raised);
  padding:12px;
  z-index:20;
  transform:translateY(-200%)
}
.skip:focus {
  transform:none
}
.sitebar {
  max-width:1184px;
  margin:16px auto 0;
  min-height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:12px 24px;
  background:var(--soto-surface);
  border:1px solid var(--line);
  border-radius:16px
}
.wordmark {
  font-size:18px;
  letter-spacing:-.04em;
  color:var(--text);
  font-weight:700;
  white-space:nowrap
}
.wordmark span {
  font-weight:400
}
.wordmark i {
  font-size:8px;
  font-style:normal;
  margin-left:8px;
  color:var(--accent)
}
.sitebar nav {
  display:flex;
  align-items:center;
  gap:24px;
  font-size:14px
}
.sitebar nav a {
  color:var(--muted);
  min-height:40px;
  display:flex;
  align-items:center
}
.sitebar nav a[aria-current] {
  color:var(--text)
}
.page {
  max-width:1184px;
  margin:40px auto 64px;
  min-height:600px
}
.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:32px
}
.page-heading h1 {
  margin:12px 0 8px
}
.back-link {
  font-size:12px;
  line-height:20px;
  color:var(--muted)
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  border:1px solid transparent;
  border-radius:8px;
  padding:10px 16px;
  font-size:14px;
  line-height:20px;
  font-weight:600;
  color:var(--text);
  background:var(--action);
  transition:background 200ms cubic-bezier(.22,1,.36,1)
}
.button:hover {
  background:#9656ad;
  text-decoration:none
}
.button.secondary {
  background:#302139;
  border-color:var(--line)
}
.button.secondary:hover {
  background:#45304e
}
.button.quiet {
  background:transparent;
  border-color:var(--line);
  color:var(--muted)
}
.button.quiet:hover {
  background:var(--raised);
  color:var(--text)
}
.button.compact {
  padding:8px 12px;
  min-width:104px
}
.text-action {
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:none;
  border:0;
  color:var(--accent);
  padding:8px 0;
  font-size:14px;
  line-height:20px;
  min-height:44px
}
.cabinet {
  display:grid;
  grid-template-columns:232px minmax(0,1fr);
  gap:32px;
  align-items:start
}
.identity {
  padding:20px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:12px
}
.avatar {
  width:56px;
  height:56px;
  background:#32243a;
  border-radius:12px;
  padding:8px;
  margin-bottom:16px
}
.identity strong {
  font-size:18px;
  line-height:28px;
  display:block;
  overflow-wrap:anywhere
}
.identity p {
  font-size:12px;
  line-height:20px;
  margin-top:4px
}
.side-nav {
  display:grid;
  gap:4px;
  margin-top:20px
}
.side-nav button {
  display:flex;
  align-items:center;
  gap:12px;
  min-height:44px;
  text-align:left;
  padding:12px;
  border:0;
  border-radius:8px;
  background:none;
  color:var(--muted);
  font-size:14px;
  line-height:20px
}
.side-nav button[aria-current] {
  background:#3a2743;
  color:var(--text)
}
.side-nav button:hover {
  background:var(--raised);
  color:var(--text)
}
.side-help {
  margin:24px 12px 0;
  font-size:12px;
  line-height:20px
}
.main-column {
  min-width:0;
  display:grid;
  gap:24px
}
.panel {
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--panel);
  overflow:hidden
}
.panel-body {
  padding:24px
}
.panel-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:20px
}
.panel-heading>div {
  min-width:0
}
.panel-heading p {
  margin-top:4px
}
.access-banner {
  position:relative;
  isolation:isolate;
  padding:24px;
  background:#1b2222;
  border:1px solid #3d5851;
  border-radius:12px;
  overflow:hidden
}
.access-banner:before {
  content:'';
  position:absolute;
  z-index:-1;
  inset:0;
  background:linear-gradient(90deg,#17201ff5 35%,#17201fb3 75%,#17201f66),url('/static/brand/sefi-bg.webp') right 45%/cover;
  opacity:.7
}
.access-banner h2 {
  color:#c9eedc
}
.access-banner p {
  max-width:58ch;
  color:#c0d5cc;
  margin-top:8px
}
.access-banner .text-action {
  color:#bce9d2;
  margin-top:8px
}
.status {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:4px 8px;
  background:#253c34;
  color:var(--mint);
  border-radius:6px;
  font-size:12px;
  line-height:20px;
  white-space:nowrap
}
.status.pending {
  background:#3b3021;
  color:var(--amber)
}
.status.error {
  background:#40232f;
  color:var(--red)
}
.status.info {
  background:#253145;
  color:var(--blue)
}
.game-profile {
  display:flex;
  align-items:center;
  gap:16px;
  margin:0 0 20px
}
.game-art {
  width:48px;
  height:48px;
  flex-shrink:0
}
.game-profile strong {
  display:block;
  font-size:20px;
  line-height:28px;
  font-weight:600
}
.game-profile p {
  margin-top:4px
}
.fact-line {
  display:flex;
  justify-content:space-between;
  align-items:start;
  gap:24px;
  padding:16px 0;
  border-top:1px solid var(--line);
  font-size:14px;
  line-height:24px
}
.fact-line>span:first-child {
  color:var(--muted);
  flex-shrink:0
}
.fact-line>strong {
  font-weight:500;
  text-align:right
}
.panel-footer {
  padding:12px 24px;
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  background:#211829
}
.panel-footer p {
  font-size:12px;
  line-height:20px
}
.connection {
  display:flex;
  align-items:center;
  gap:16px;
  padding:20px 0;
  border-top:1px solid var(--line)
}
.connection:first-of-type {
  border-top:0;
  padding-top:0
}
.connection:last-child {
  padding-bottom:0
}
.service-icon {
  width:40px;
  height:40px;
  border-radius:8px;
  background:#302139;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  color:#dbc4e5
}
.service-icon img {
  width:24px;
  height:24px
}
.connection-text {
  flex:1;
  min-width:0
}
.connection-text p {
  font-size:12px;
  line-height:20px;
  margin-top:4px
}
.connection .tag {
  font-size:12px;
  color:var(--mint);
  white-space:nowrap
}
.info-note {
  background:var(--soto-surface-raised);
  padding:16px;
  border-radius:8px;
  color:var(--muted);
  font-size:14px;
  line-height:24px
}
.action-row {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  margin-top:20px
}
.address-line {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 16px;
  background:#251b2e;
  border:1px solid var(--line);
  border-radius:8px;
  margin-top:20px
}
.address-line code {
  font:400 14px/20px var(--soto-font);
  overflow-wrap:anywhere;
  min-width:0
}
.setup-layout {
  max-width:880px;
  margin:auto
}
.setup-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:24px
}
.mini-user {
  display:flex;
  gap:12px;
  align-items:center;
  font-size:14px
}
.mini-user img {
  width:32px;
  height:32px
}
.stepper {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:0 0 24px;
  padding:0;
  list-style:none
}
.stepper li {
  font-size:12px;
  line-height:20px;
  color:var(--muted);
  padding-top:12px;
  border-top:2px solid var(--line)
}
.stepper li[aria-current] {
  border-color:var(--accent);
  color:var(--text)
}
.stepper li.complete {
  border-color:#5a8974;
  color:var(--mint)
}
.stepper span {
  margin-right:8px
}
.setup-card {
  padding:32px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:12px
}
.setup-card h2 {
  font-size:24px;
  line-height:32px;
  letter-spacing:-.02em;
  margin-bottom:8px
}
.setup-card>.intro {
  max-width:65ch;
  margin-bottom:24px
}
.choice-list {
  display:grid;
  gap:12px
}
.choice {
  display:flex;
  align-items:center;
  gap:16px;
  width:100%;
  border:1px solid var(--line);
  border-radius:8px;
  padding:20px;
  text-align:left;
  background:#211829;
  color:var(--text)
}
.choice[aria-pressed=true] {
  border-color:#c395d8;
  background:#35233e
}
.choice .choice-copy {
  flex:1;
  min-width:0
}
.choice strong {
  font-size:16px;
  line-height:24px;
  display:block
}
.choice p {
  margin-top:4px
}
.choice img {
  width:36px;
  height:36px;
  object-fit:contain;
  flex-shrink:0
}
.choice .radio {
  border:1px solid #9677a2;
  width:18px;
  height:18px;
  border-radius:50%;
  flex-shrink:0
}
.choice[aria-pressed=true] .radio {
  border:5px solid var(--accent);
  background:#392441
}
.route-tabs {
  display:flex;
  gap:8px;
  background:#211829;
  border-radius:8px;
  padding:4px;
  margin-bottom:24px
}
.route-tabs button {
  flex:1;
  min-height:44px;
  background:none;
  color:var(--muted);
  border:0;
  border-radius:6px;
  padding:8px 12px;
  font-size:14px
}
.route-tabs button[aria-pressed=true] {
  background:#49304f;
  color:var(--text)
}
.setup-instructions {
  padding:0;
  margin:20px 0;
  list-style:none;
  counter-reset:setup
}
.setup-instructions li {
  counter-increment:setup;
  display:flex;
  gap:12px;
  margin-top:16px;
  font-size:14px;
  line-height:24px;
  color:var(--muted)
}
.setup-instructions li:before {
  content:counter(setup);
  flex:0 0 24px;
  color:var(--accent)
}
.setup-footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-top:24px
}
.setup-footer .button {
  min-width:128px
}
.form-grid {
  display:grid;
  gap:16px;
  margin-top:24px;
  max-width:520px
}
label.field {
  display:grid;
  gap:8px;
  font-size:14px;
  line-height:20px
}
.field input {
  min-height:48px;
  border:1px solid #70557b;
  border-radius:8px;
  background:var(--soto-bg);
  color:var(--text);
  padding:12px;
  font-size:16px;
  line-height:24px;
  min-width:0;
  width:100%
}
.field input::placeholder {
  color:#ad96b9
}
.form-help {
  font-size:12px;
  line-height:20px
}
.form-error {
  color:var(--red);
  font-size:14px;
  line-height:24px
}
.inline-success {
  color:var(--mint);
  font-size:14px;
  line-height:24px
}
.warning {
  border:1px solid #6b5533;
  background:#2a221d;
  padding:16px;
  border-radius:8px;
  color:#e8cfaa;
  font-size:14px;
  line-height:24px;
  margin-top:20px
}
.warning h3 {
  color:var(--amber);
  margin-bottom:8px
}
.guest-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:0;
  max-width:960px;
  margin:0 auto;
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  background:var(--panel)
}
.guest-art {
  position:relative;
  min-height:440px;
  background:linear-gradient(180deg,#120e1940,#120e19b3),url('/static/brand/sefi-bg.webp') 65% center/cover;
  overflow:hidden
}
.guest-art img {
  position:absolute;
  bottom:-70px;
  left:-16px;
  width:100%;
  max-width:none
}
.guest-content {
  padding:40px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:start
}
.guest-content h2 {
  font-size:24px;
  line-height:32px;
  margin-bottom:12px
}
.guest-content .button {
  margin:24px 0 16px
}
.guest-content small {
  max-width:40ch
}
.error-panel {
  padding:32px;
  max-width:720px;
  margin:auto;
  border:1px solid #67424e;
  border-radius:12px;
  background:var(--panel)
}
.error-panel h2 {
  margin:16px 0 8px
}
.error-panel .error-icon {
  color:var(--red)
}
.skeleton {
  height:20px;
  border-radius:4px;
  background:#35263e;
  margin:12px 0
}
.skeleton.short {
  width:45%
}
.skeleton.big {
  height:80px;
  margin:24px 0
}
.toast {
  position:fixed;
  right:24px;
  bottom:24px;
  max-width:400px;
  z-index:10;
  padding:16px 20px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#302139;
  box-shadow:0 8px 24px #08050d66;
  font-size:14px;
  line-height:24px
}
.footer {
  max-width:1184px;
  margin:0 auto;
  padding:24px 0 32px;
  border-top:1px solid var(--line);
  display:flex;
  gap:24px;
  color:var(--muted);
  font-size:12px;
  line-height:20px
}
.footer a:first-child {
  color:var(--text)
}
.footer a:last-child {
  margin-left:auto
}
@media(max-width:1240px) {
  .preview-tools,.sitebar,.page,.footer {
    width:calc(100% - 64px)
  }
}
@media(max-width:900px) {
  .cabinet {
    grid-template-columns:192px minmax(0,1fr);
    gap:24px
  }
  .identity {
    padding:16px
  }
  .page {
    margin-top:32px
  }
  .fact-line {
    display:block
  }
  .fact-line>strong {
    display:block;
    text-align:left;
    margin-top:4px
  }
  .connection {
    gap:12px
  }
  .connection .button {
    min-width:0
  }
  .guest-content {
    padding:24px
  }
}
@media(max-width:700px) {
  .preview-tools,.sitebar,.page,.footer {
    width:calc(100% - 32px)
  }
  .preview-tools {
    flex-wrap:wrap;
    gap:4px 8px
  }
  .preview-tools>span {
    flex:1 0 100%;
    margin-bottom:4px
  }
  .preview-tools select {
    max-width:none;
    flex:1
  }
  .sitebar {
    padding:12px 16px;
    border-radius:12px;
    gap:16px
  }
  .sitebar nav {
    gap:16px
  }
  .sitebar nav a:first-child {
    display:none
  }
  .wordmark {
    font-size:16px
  }
  .sitebar nav {
    font-size:12px
  }
  .page-heading {
    margin-bottom:24px;
    align-items:flex-start
  }
  .page-heading h1 {
    font-size:24px;
    line-height:32px
  }
  .page-heading>div>p {
    max-width:32ch
  }
  .page-heading>.button {
    padding:8px 12px
  }
  .cabinet {
    grid-template-columns:1fr;
    gap:20px
  }
  .identity {
    display:flex;
    align-items:center;
    gap:12px
  }
  .avatar {
    width:44px;
    height:44px;
    padding:6px;
    margin:0
  }
  .identity strong {
    font-size:16px;
    line-height:24px
  }
  .identity p {
    margin:0
  }
  .side-nav {
    display:flex;
    gap:4px;
    margin-top:16px;
    overflow-x:auto;
    scrollbar-width:thin;
    scrollbar-color:var(--line) transparent
  }
  .side-nav button {
    justify-content:center;
    flex:1;
    white-space:nowrap;
    gap:8px;
    padding:10px 8px;
    font-size:12px
  }
  .side-nav svg {
    display:none
  }
  .side-help {
    display:none
  }
  .panel-body {
    padding:20px
  }
  .panel-heading {
    align-items:flex-start
  }
  .panel-footer {
    padding:12px 20px;
    align-items:flex-start
  }
  .access-banner {
    padding:20px
  }
  .connection {
    flex-wrap:wrap
  }
  .service-icon {
    width:36px;
    height:36px
  }
  .connection-text {
    min-width:110px
  }
  .connection .button {
    padding:8px 12px
  }
  .setup-card {
    padding:24px 20px
  }
  .stepper {
    gap:8px
  }
  .stepper span {
    display:block;
    margin:0 0 4px
  }
  .setup-top {
    margin-bottom:20px
  }
  .choice {
    padding:16px;
    gap:12px
  }
  .choice img {
    width:32px;
    height:32px
  }
  .setup-footer {
    gap:12px
  }
  .setup-footer .button {
    min-width:104px
  }
  .address-line {
    padding:12px;
    flex-wrap:wrap
  }
  .address-line .button {
    margin-left:auto
  }
  .guest-layout {
    grid-template-columns:1fr
  }
  .guest-art {
    min-height:200px;
    order:2
  }
  .guest-art img {
    width:280px;
    left:calc(50% - 140px);
    bottom:-110px
  }
  .guest-content {
    padding:28px 24px;
    order:1
  }
  .footer {
    flex-wrap:wrap;
    gap:12px 20px
  }
  .toast {
    left:16px;
    right:16px;
    bottom:16px
  }
  .error-panel {
    padding:24px
  }
  .panel-heading .status {
    white-space:normal
  }
  .page {
    min-height:500px
  }
  .connection .tag {
    margin-left:auto
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior:auto!important;
    transition:none!important
  }
}
.setup-instructions li {
  display:block;
  position:relative;
  padding-left:36px
}
.setup-instructions li:before {
  position:absolute;
  left:0;
  width:24px
}
.help-detail {
  border-bottom:1px solid var(--line);
  padding:16px 0
}
.help-detail:first-of-type {
  margin-top:12px
}
.help-detail summary {
  font-size:14px;
  line-height:24px;
  color:var(--text);
  cursor:pointer;
  padding:4px 0
}
.help-detail p {
  margin:12px 0 4px;
  max-width:65ch
}
.avatar.avatar-photo {
  padding:0;
  object-fit:cover
}
.sitebar nav a.account-chip {
  display:inline-flex;
  gap:8px;
  align-items:center;
  min-height:40px;
  padding:4px 10px 4px 4px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#2a1e33;
  color:var(--text)
}
.account-chip .header-avatar {
  width:28px;
  height:28px;
  border-radius:7px;
  object-fit:cover;
  flex-shrink:0
}
.account-chip .account-name {
  font-size:14px;
  line-height:20px;
  font-weight:600;
  max-width:160px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.sitebar nav a.account-chip:hover {
  background:#3a2944;
  text-decoration:none
}
@media(max-width:700px) {
  .account-chip .account-name {
    max-width:80px
  }
  .sitebar nav {
    gap:12px
  }
}
@media(max-width:360px) {
  .sitebar nav>a:nth-child(2) {
    display:none
  }
  .account-chip .account-name {
    max-width:80px
  }
}
.mini-user .avatar-photo {
  border-radius:8px;
  object-fit:cover
}
.guest-art img {
  height:480px;
  width:auto;
  left:50%;
  bottom:-72px;
  transform:translateX(-50%)
}
@media(max-width:700px) {
  .guest-art img {
    height:300px;
    width:auto;
    left:50%;
    bottom:-100px
  }
  .panel-footer {
    flex-direction:column;
    align-items:flex-start;
    gap:4px
  }
  .panel-footer .text-action {
    white-space:nowrap
  }
  .access-banner .panel-heading {
    flex-wrap:wrap;
    gap:8px
  }
}
@media(max-width:700px) {
  .choice {
    display:grid;
    grid-template-columns:32px minmax(0,1fr) 18px;
    gap:12px;
    padding:16px
  }
  .choice img {
    grid-column:1;
    grid-row:1
  }
  .choice .choice-copy {
    display:contents
  }
  .choice strong {
    grid-column:2;
    grid-row:1;
    font-size:14px;
    line-height:20px;
    text-wrap:balance
  }
  .choice p {
    grid-column:1/-1;
    grid-row:2;
    margin:0
  }
  .choice .radio {
    grid-column:3;
    grid-row:1
  }
}
