@font-face { font-family: "Inter"; src: url("../fonts/Inter/Inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }


@font-face {
  font-family: "Unifont UFC";
  src: url("../fonts/unifont-ufc.woff") format("woff");
  font-display: swap;
}

:root {
  --ink: #000;
  --paper: #FFF8EA;
  --white: #FFFDFC;
  --yellow: #FFCC33;
  --yellow-2: #FFE08A;
  --red: var(--ufc2-scarlet);
  --crimson: var(--ufc2-scarlet-dark);
  --blue: #2342FF;
  --blue-2: #1A2FC2;
  --mint: #3EE0D0;
  --green: #22C55E;
  --green-osd: #36FF6B;
  --grey: #EFE9DA;

  --line: 3px;
  --shadow: 6px 6px 0 var(--ink);
  --radius: 24px;

  --f-display: "Inter Display", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-osd: "Unifont UFC", ui-monospace, "Courier New", monospace;

  --halftone: radial-gradient(rgba(0,0,0,.15) 1.3px, transparent 1.7px) 0 0 / 11px 11px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper) radial-gradient(rgba(0,0,0,.08) 1px, transparent 1.4px) 0 0 / 14px 14px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.avatar-crop { width: min(420px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 24px; overflow-x: hidden; overflow-y: auto; color: var(--ink); background: var(--paper); border: var(--line) solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); }
.avatar-crop::backdrop { background: rgba(0,0,0,.65); }
.avatar-crop h2 { font-size: 24px; }
.avatar-crop p { margin: 10px 0; font-size: 14px; }
.avatar-crop canvas { display: block; width: min(320px, 100%); height: auto; margin: 16px auto; background: var(--grey); cursor: grab; touch-action: none; }
.avatar-crop canvas:active { cursor: grabbing; }
.avatar-crop label { display: block; font-weight: 700; }
.avatar-crop input { display: block; width: 100%; margin: 0; accent-color: var(--blue); }
.avatar-crop__error { color: var(--crimson); }
.avatar-crop__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-top: 16px; }
.message.hidden { display: none !important; }
:focus-visible { outline: 3px dashed var(--blue); outline-offset: 3px; }

.w { width: min(1000px, 100% - 32px); margin-inline: auto; }
.osd { font-family: var(--f-osd); font-weight: 400; line-height: 1; letter-spacing: 0; }
.disp { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; line-height: .92; }
.outline { -webkit-text-stroke: 7px var(--ink); paint-order: stroke fill; text-shadow: 5px 5px 0 var(--ink); word-spacing: .12em; }
.muted { color: rgba(0,0,0,.6); }
.small { font-size: 13.5px; font-weight: 600; color: rgba(0,0,0,.65); }




.tabs { display: flex; gap: 12px; padding-block: 22px; }
.tabs__bar {
  display: grid; grid-auto-flow: column; gap: 5px; min-width: 0; padding: 5px;
}
.tabs__item {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 7px 14px; border: 1px solid transparent; border-radius: 10px;
  background: transparent; color: var(--ink); text-align: center; text-decoration: none;
  font: 800 14px/1.25 var(--f-display); transition: background-color .15s, border-color .15s;
}
.tabs__icon { width: 18px; height: 18px; flex: none; }
.tabs a:hover { border-color: #b6aa96; background: var(--white); }
.tabs a[aria-current="page"] { border-color: var(--ink); background: var(--yellow); }
.tabs__item:focus-visible { z-index: 1; outline-offset: 1px; }

.tabs__bar, .badge-tab {
  border: 2px solid var(--ink); border-radius: 17px;
  background: #f2e9d8; box-shadow: 3px 3px 0 var(--ink);
}
.badge-tab-wrap { position: relative; display: grid; }
.badge-tab {
  display: inline-grid; grid-template-rows: minmax(0, 1fr); min-inline-size: max-content; padding: 0;
  overflow: hidden; cursor: pointer; white-space: nowrap;
  background-image: repeating-linear-gradient(0deg, rgba(0,0,0,.16) 0 2px, transparent 2px 5px);
}
.badge-tab:focus-visible { outline-offset: -4px; }
.badge-tab__sticker {
  position: absolute; z-index: 2; inset-block-start: -7px; inset-inline-end: -4px; pointer-events: none;
  padding: 3px 7px 2px; border: 2px solid var(--ink); border-radius: 4px;
  background: var(--red); box-shadow: 2px 2px 0 var(--ink); color: var(--ink);
  font: 900 10px/1 var(--f-display); letter-spacing: .05em; transform: rotate(8deg);
}
.badge-tab__roll {
  position: relative; display: block; block-size: 100%; padding-inline: 14px; gap: inherit;
  animation: badge-vertical-roll 1.95s linear infinite;
}
.badge-tab__signal {
  display: flex; align-items: center; justify-content: center; block-size: 100%; gap: inherit;
  box-shadow: inset 0 1px #0002;
  filter: url("#badge-row-warp");
}
.badge-tab__signal::before {
  content: ""; flex: none; width: 16px; height: 12px; border: 1px solid currentColor; border-radius: 3px;
  background: repeating-linear-gradient(0deg, transparent 0 2px, #0005 2px 3px);
}
@keyframes badge-vertical-roll {
  to { transform: translateY(-100%); }
}
.badge-tab::before {
  content: ""; position: absolute; inset: 0; opacity: .18; pointer-events: none;
  background: url("../img/badge-static.png") 0 0 / 160px;
  image-rendering: pixelated;
  animation: badge-snow .32s steps(6, end) infinite;
}
@keyframes badge-snow {
  to { background-position: 173px 97px; }
}
.badge-tab__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.badge-tab__filters { position: absolute; }

@media (max-width: 520px) {
  .tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 10px; padding-block: 16px; }
  .tabs__bar { grid-column: 1 / -1; gap: 3px; }
  .tabs__item { gap: 5px; font-size: 12px; }
  .tabs__bar > a { padding-inline: 6px; }
  .badge-tab__roll { padding-inline: 9px; }
  .tabs__icon { display: none; }
  .badge-tab__signal::before { width: 13px; }
}


.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-display); font-weight: 900; font-size: 16px; text-transform: uppercase; letter-spacing: .03em;
  color: var(--ink); background: var(--yellow); text-decoration: none; text-align: center;
  border: var(--line) solid var(--ink); border-radius: 999px; padding: 12px 22px;
  box-shadow: var(--shadow); cursor: pointer; white-space: nowrap;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ink); }
.btn--red { background: var(--red); }
.btn--white { background: var(--white); }
.btn--sm { font-size: 13px; padding: 8px 16px; box-shadow: 3px 3px 0 var(--ink); }
.btn--sm:hover { box-shadow: 5px 5px 0 var(--ink); }
.btn--ghost { background: transparent; box-shadow: none; border-style: dashed; }
.btn--ghost:hover { box-shadow: none; transform: none; background: rgba(0,0,0,.04); }
.btn--block { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] {
  background: #e9e3d4; color: rgba(0,0,0,.45); border-color: rgba(0,0,0,.35);
  box-shadow: 4px 4px 0 rgba(0,0,0,.2); cursor: not-allowed; transform: none;
}


.chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 2px solid var(--ink); border-radius: 999px; padding: 4px 12px;
  font-family: var(--f-display); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
  background: var(--white); color: var(--ink); white-space: nowrap; line-height: 1.3;
}
.chip--y { background: var(--yellow); }
.chip--r { background: var(--red); }
.chip--b { background: var(--blue); color: var(--white); }
.chip--g { background: var(--green); }
.chip--m { background: var(--mint); }
.chip--dash { border-style: dashed; background: transparent; }


.card { position: relative; background: var(--white); border: var(--line) solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 26px 26px; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.card__title { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 900; font-size: 24px; text-transform: uppercase; line-height: 1; }
.card__ch { flex: none; white-space: nowrap; font-family: var(--f-osd); font-size: 16px; background: var(--ink); color: var(--yellow); padding: 2px 8px 5px; border-radius: 6px; line-height: 1; }


.bubble { --bb: var(--white); position: relative; display: block; background: var(--bb); border: var(--line) solid var(--ink); border-radius: 22px; padding: 10px 16px 12px; box-shadow: 4px 4px 0 var(--ink); color: var(--ink); text-align: center; }
.bubble::before, .bubble::after { content: ""; position: absolute; top: 100%; clip-path: polygon(0 0, 100% 0, 0 100%); transform: scaleX(-1); }
.bubble::before { right: 26px; width: 32px; height: 30px; background: var(--ink); }
.bubble::after { right: 29px; width: 25px; height: 23px; margin-top: -3.5px; background: var(--bb); }
.bubble--y { --bb: var(--yellow); }
.bubble small { display: block; font-size: 12px; font-weight: 700; opacity: .75; }
.bubble b { display: block; font-family: var(--f-display); font-weight: 900; font-size: 28px; line-height: 1.05; text-transform: uppercase; }
.bubble .osd { display: block; font-size: 32px; line-height: 1.1; }


.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--profile-accent, var(--blue)); color: var(--white); border-block: var(--line) solid var(--ink); padding: 40px 0 44px; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(0deg, rgba(0,0,0,.16) 0 2px, transparent 2px 5px); }
.hero__tv { position: relative; justify-self: start; }
.hero__burst { position: absolute; z-index: -2; width: 1500px; height: 1500px; left: 50%; top: 50%; margin: -750px 0 0 -750px; border-radius: 50%; background: repeating-conic-gradient(transparent 0 7.5deg, #00000040 7.5deg 15deg); -webkit-mask-image: radial-gradient(circle, #000 14%, transparent 50%); mask-image: radial-gradient(circle, #000 14%, transparent 50%); animation: spin 160s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__in { display: grid; grid-template-columns: auto minmax(0, 1fr) 230px; gap: 34px; align-items: center; }
.hero__main { min-width: 0; justify-self: stretch; }
.hero__osd { display: inline-flex; gap: 14px; background: var(--ink); padding: 3px 10px 5px; border-radius: 7px; font-size: 16px; }
.hero__osd span:last-child { color: var(--yellow); }
.hero__nick { font-size: clamp(56px, 8vw, 92px); margin: 10px 0 6px; color: var(--yellow); overflow-wrap: anywhere; -webkit-text-stroke-width: min(7px, .076em); text-shadow: min(5px, .055em) min(5px, .055em) 0 var(--ink); }
.hero__meta { font-size: 17px; font-weight: 600; opacity: .9; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hero__right { display: flex; flex-direction: column; align-items: flex-end; gap: 26px; }
.hero__right .bubble { width: 100%; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }


.tv { position: relative; padding-top: 36px; transform: rotate(-3deg); }
.tv::before, .tv::after { content: ""; position: absolute; top: 0; width: 5px; height: 50px; background: var(--ink); border-radius: 3px; }
.tv::before { left: 42%; transform: rotate(-30deg); }
.tv::after { left: 54%; transform: rotate(26deg); }
.tv__body { display: flex; gap: 10px; background: var(--white); border: var(--line) solid var(--ink); border-radius: 26px; padding: 12px; box-shadow: 7px 7px 0 var(--ink); }
.tv__screen { position: relative; width: 150px; height: 150px; border: var(--line) solid var(--ink); border-radius: 18px; overflow: hidden; background: var(--yellow); }
.tv__screen img { width: 100%; height: 100%; object-fit: cover; }
.tv__change { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.72); color: var(--white); border: 0; padding: 6px 0; font-size: 12px; font-weight: 700; cursor: pointer; opacity: 0; transition: opacity .15s; }
.tv__screen:hover .tv__change, .tv__change:focus-visible { opacity: 1; }
.tv__knobs { width: 24px; display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.tv__knobs i { width: 22px; height: 22px; border-radius: 50%; border: var(--line) solid var(--ink); background: var(--red); }
.tv__knobs i + i { background: var(--yellow); }
.tv__knobs b { width: 22px; height: 4px; background: var(--ink); border-radius: 2px; }
.tv__knobs i + i + b { margin-top: auto; }


.cab > .w { padding-bottom: 72px; }
.cab :is(.profile-details, .form-card) { border-width: 2px; border-radius: 18px; box-shadow: 3px 3px 0 var(--ink); }
.cab :is(.profile-details, .form-card) .card__title { font-size: 20px; text-transform: none; line-height: 1.2; }
.cab :is(.form-card, .room-preferences__group, .cab-roommates) .btn { text-transform: none; letter-spacing: 0; white-space: normal; }

.status { margin-top: 34px; }
.steps { position: relative; margin: 4px 0 26px; }
.steps__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.steps::before { content: ""; position: absolute; left: 8.33%; right: 8.33%; top: 23px; height: 6px; background: repeating-linear-gradient(90deg, rgba(0,0,0,.25) 0 10px, transparent 10px 18px); border-radius: 3px; }
.steps__fill { position: absolute; left: 8.33%; top: 20px; height: 12px; width: calc(var(--progress, 0) * 83.34%); background: var(--red); border: 2px solid var(--ink); border-radius: 6px; transition: width .5s ease; }
.steps__fill[data-empty] { display: none; }
.step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.step__dot { width: 52px; height: 52px; padding-bottom: .25em; border-radius: 16px; border: var(--line) solid var(--ink); background: var(--grey); color: rgba(0,0,0,.45); display: grid; place-items: center; font-family: var(--f-osd); font-size: 32px; line-height: 1; }
.step__name { font-family: var(--f-display); font-weight: 900; font-size: 14px; text-transform: uppercase; line-height: 1.1; color: rgba(0,0,0,.45); }
.step.is-done .step__dot { background: var(--green); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.step.is-done .step__name { color: var(--ink); }
.step.is-now .step__dot { margin-bottom: 8px; background: var(--yellow); color: var(--ink); box-shadow: 0 0 0 5px var(--white), 0 0 0 8px var(--ink), 5px 5px 0 8px var(--red); }
.step.is-now .step__name { color: var(--crimson); }


.panel { display: grid; grid-template-columns: 210px minmax(0, 1fr) auto; gap: 28px; align-items: center; background: var(--paper); border: var(--line) solid var(--ink); border-radius: 20px; padding: 22px 24px; }
.panel--green { background: #E6F9EC; }
.panel__title { font-family: var(--f-display); font-weight: 900; font-size: 30px; text-transform: uppercase; line-height: 1; margin-bottom: 10px; }
.panel__text p { font-size: 15.5px; }
.panel__text p + p { margin-top: 8px; }
.panel__text .muted { font-size: 13.5px; }
.panel__act { display: flex; flex-direction: column; gap: 10px; width: 250px; }
.panel__act small { text-align: center; font-size: 13px; color: rgba(0,0,0,.6); font-weight: 600; }


.scr { position: relative; height: 160px; border: var(--line) solid var(--ink); border-radius: 18px; overflow: hidden; display: grid; place-items: center; box-shadow: 4px 4px 0 var(--ink); isolation: isolate; }
.scr::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.12) 0 2px, transparent 2px 5px), radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,.35) 100%); }
.scr__top { position: absolute; z-index: 3; top: 8px; left: 10px; right: 10px; display: flex; justify-content: space-between; font-size: 16px; color: var(--white); text-shadow: 2px 2px 0 #000; }
.scr__top span:last-child { color: var(--red); }
.scr__plate { position: relative; z-index: 3; background: #000; color: #fff; border: 3px solid #fff; padding: 6px 10px 4px; font-size: 16px; text-align: center; }
.scr--y { background: var(--yellow) var(--halftone); }
.scr--k { background: #111; }
.scr--g { background: var(--green) var(--halftone); }
.scr__approval { position: relative; z-index: 3; max-width: 82%; max-height: 90%; }
.scr--bars { background: #111; }
.scr__bars { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(7, 1fr); }
.scr__bars i:nth-child(1) { background: #d9d9d9; } .scr__bars i:nth-child(2) { background: var(--yellow); } .scr__bars i:nth-child(3) { background: var(--mint); } .scr__bars i:nth-child(4) { background: #39C24A; } .scr__bars i:nth-child(5) { background: var(--red); } .scr__bars i:nth-child(6) { background: var(--crimson); } .scr__bars i:nth-child(7) { background: var(--blue); }
.env { position: relative; z-index: 1; width: 120px; height: 82px; background: var(--white); border: var(--line) solid var(--ink); border-radius: 10px; box-shadow: 4px 4px 0 var(--ink); overflow: hidden; }
.env::before { content: ""; position: absolute; left: -4px; right: -4px; top: -40px; height: 86px; border: var(--line) solid var(--ink); transform: rotate(45deg) scale(.7); background: var(--paper); }
.env-badge { position: absolute; z-index: 3; top: 22px; right: 36px; width: 34px; height: 34px; border-radius: 50%; background: var(--red); border: var(--line) solid var(--ink); color: #fff; display: grid; place-items: center; font-weight: 900; }
.dots { display: flex; gap: 8px; position: relative; z-index: 3; margin-top: 10px; }
.dots i { width: 14px; height: 14px; border-radius: 3px; background: #fff; border: 2px solid #000; animation: dot 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; } .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes dot { 0%, 100% { background: #fff; } 40% { background: var(--yellow); } }
.coin { position: relative; z-index: 3; width: 96px; height: 96px; border-radius: 50%; background: var(--yellow); border: var(--line) solid var(--ink); box-shadow: 4px 4px 0 var(--ink), inset 0 0 0 8px var(--yellow-2), inset 0 0 0 11px var(--ink); display: grid; place-items: center; font-family: var(--f-display); font-weight: 900; font-size: 46px; }
.paid-stamp { position: relative; z-index: 3; font-family: var(--f-display); font-weight: 900; font-size: 30px; text-transform: uppercase; color: var(--white); background: var(--red); border: 4px solid var(--ink); padding: 8px 14px 6px; transform: rotate(-8deg); box-shadow: 4px 4px 0 var(--ink); }


.timer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 26px; align-items: center; background: var(--blue); color: var(--white); border: var(--line) solid var(--ink); border-radius: 20px; padding: 22px 26px; position: relative; overflow: hidden; isolation: isolate; transition: background .3s; }
.timer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(0deg, rgba(0,0,0,.16) 0 2px, transparent 2px 5px); }
.timer--live { background: var(--red); color: var(--ink); }
.timer__osd { display: flex; gap: 14px; font-size: 16px; }
.timer__osd span:first-child { color: var(--red); }
.timer:not(.timer--live) .timer__osd span:first-child { animation: cabinet-rec-pulse 1.4s ease-in-out infinite; }
@keyframes cabinet-rec-pulse { 50% { opacity: .3; } }
.timer--live .timer__osd { color: var(--white); }
.timer--live .timer__osd span:first-child { color: var(--yellow); }
.timer__title { font-family: var(--f-display); font-weight: 900; font-size: 28px; text-transform: uppercase; line-height: 1.05; margin: 10px 0 6px; }
.timer__text { font-size: 15px; opacity: .92; }
.cd { display: flex; gap: 10px; margin-top: 16px; }
.cd__cell { display: flex; flex-direction: column; align-items: center; background: rgba(0,0,30,.28); border: 2px solid rgba(255,255,255,.55); border-radius: 12px; padding: 8px 10px 6px; min-width: 82px; }
.cd__num { font-family: var(--f-osd); font-size: 64px; line-height: .9; font-variant-numeric: tabular-nums; text-shadow: 3px 0 0 color-mix(in srgb, var(--red) 85%, transparent), -3px 0 0 rgba(0,255,240,.55); }
.cd__lbl { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; opacity: .85; margin-top: 4px; }
.timer--live .cd__cell { background: var(--ink); border-color: var(--ink); color: var(--yellow); }
.timer--live .cd__lbl { color: var(--white); }
.slot { width: 280px; min-height: 150px; border: 3px dashed rgba(255,255,255,.7); border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 12px 18px; }
.slot b { font-family: var(--f-display); font-weight: 900; font-size: 18px; text-transform: uppercase; line-height: 1.1; }
.slot small { font-size: 12.5px; opacity: .85; font-weight: 600; }
.go { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 280px; }
.go .btn { width: 100%; font-size: 30px; padding: 22px 26px; box-shadow: 0 0 0 6px var(--yellow), 7px 7px 0 6px var(--ink); animation: pulse 1.6s ease-in-out infinite; }
.go small { font-size: 13px; font-weight: 700; text-align: center; }
@keyframes pulse { 50% { transform: scale(1.03); } }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.facts { margin: 0; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 2px dashed rgba(0,0,0,.16); font-size: 15px; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: rgba(0,0,0,.6); font-weight: 600; }
.facts dd { margin: 0; font-weight: 800; text-align: right; overflow-wrap: anywhere; }

.profile-details { margin-top: 20px; }
.cab-payment + :is(.participate, .profile-details, .participation-editor) { margin-top: 26px; }
#quiet-room, #roommate-manual, #roommate-ticket-choice { scroll-margin-top: calc(var(--bh-header-height, 0px) + 16px); }
.room-preferences__group { margin-top: 16px; }
.room-preferences__group + .room-preferences__group { padding-top: 16px; border-top: 2px dashed rgba(0,0,0,.16); }
.room-preferences__group > h3 { font-size: 16px; }
.room-preferences__group > form { margin-top: 12px; }
.room-preferences__group > form > p { margin: 10px 0 18px; }
.room-preferences__group > p { margin-top: 10px; overflow-wrap: anywhere; }

.cab-roommates { margin-top: 20px; }
.cab-roommates > h3 { font-size: 18px; }
.roommate-methods { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 16px; margin-top: 12px; }
.roommate-methods__finder { display: grid; justify-items: start; gap: 8px; max-width: 100%; }
.roommate-methods__finder > small { max-width: 30ch; font-size: 13px; line-height: 1.35; }

.roommate-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); gap: 16px; margin-top: 14px; }
.roommate-cards .participant-card-link { width: 100%; max-width: 180px; }
.roommate-cards .participant-card { position: relative; display: flex; overflow: hidden; }
.roommate-cards .participant-card-inner, .roommate-cards .participant-meta { display: flex; flex-direction: column; min-width: 0; }
.roommate-cards .participant-avatar-frame { position: relative; overflow: hidden; isolation: isolate; }
.roommate-cards .participant-card-link:focus-visible { outline: 3px dashed var(--blue); outline-offset: 4px; border-radius: 24px; }
.roommate-cards .participant-card--muted { opacity: .6; filter: grayscale(.3); }
.roommate-cards .participant-card--patron-silver { --participant-patron-badge-top: #eef3fb; --participant-patron-badge-bottom: #bac8df; --participant-patron-glow-near: #e1ebf77a; }
.roommate-cards .participant-card--patron-gold { --participant-patron-badge-top: #ffe6a4; --participant-patron-badge-bottom: #e3ab39; --participant-patron-glow-near: #ffd65c85; }
.roommate-cards .participant-card--patron-mystery { --participant-patron-badge-top: #ddb2ff; --participant-patron-badge-bottom: #9f63ff; --participant-patron-glow-near: #c17fff85; }

.cab-payment {
  margin-top: 24px; padding: clamp(14px, 3vw, 26px);
  scroll-margin-top: calc(var(--bh-header-height, 0px) + 16px);
}
.cab-payment__balance {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  align-items: center; gap: 14px 28px; padding: clamp(14px, 2.4vw, 22px);
  border-radius: 14px; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 600;
}
.cab-payment__amount {
  margin-top: 4px; color: var(--yellow); font-family: var(--f-display);
  font-size: clamp(32px, 5vw, 52px); font-weight: 900; line-height: 1.05; overflow-wrap: anywhere;
}
.cab-payment__bar { height: 10px; margin-bottom: 8px; border-radius: 999px; background: #464646; overflow: hidden; }
.cab-payment__bar i { display: block; height: 100%; width: var(--val, 0%); border-radius: inherit; background: var(--yellow); }
.cab-payment__status {
  display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 14px;
  border: 2px solid var(--ink); border-radius: 14px; background: var(--paper);
}
.cab-payment__status[data-payment-status-url] { background: var(--yellow-2); }
.cab-payment__ticket-type { margin: 0 0 12px; font-size: 15px; }
.cab-payment__status strong, .cab-payment__status-text { display: block; }
.cab-payment__status-text { font-size: 14px; }
.cab-payment__clock { flex: none; width: 28px; height: 28px; }
@media (prefers-reduced-motion: no-preference) {
  .cab-payment__clock-hand { transform-origin: 12px 12px; animation: cab-payment-clock 4s steps(12) infinite; }
}
@keyframes cab-payment-clock { to { transform: rotate(360deg); } }
.cab-payment__preview { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; gap: 18px; margin-top: 18px; }
.cab-payment__choices { min-width: 0; margin: 0; padding: 0; border: 0; }
.cab-payment__choices legend { padding: 0; margin-bottom: 10px; font-size: 16px; font-weight: 800; }
.cab-payment__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cab-payment__option {
  display: flex; align-items: center; gap: 8px; min-height: 64px; padding: 10px;
  background: var(--white); border: 2px solid var(--ink); border-radius: 12px;
  cursor: pointer; overflow-wrap: anywhere;
}
.cab-payment__option:has(input:checked) { background: var(--yellow-2); box-shadow: 2px 2px 0 var(--ink); }
.cab-payment__option:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.cab-payment__option input { flex: none; margin: 0; accent-color: var(--ink); }
.cab-payment__option strong, .cab-payment__option small, .cab-payment__custom label { display: block; }
.cab-payment__option strong { font-size: 15px; line-height: 1.25; }
.cab-payment__option small { margin-top: 4px; font-size: 12px; line-height: 1.25; }
.cab-payment__custom { margin-top: 12px; }
.cab-payment__custom label { font-size: 14px; font-weight: 700; }
.cab-payment__custom input {
  width: 100%; min-height: 44px; margin: 4px 0; padding: 6px 10px;
  background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: 10px; font: inherit;
}
.cab-payment__error { color: var(--crimson); font-size: 13px; font-weight: 700; }
.cab-payment__checkout { padding: 14px; border: 2px solid var(--ink); border-radius: 14px; background: var(--paper); }
.cab-payment__now {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px;
  padding-bottom: 10px; border-bottom: 2px dashed rgba(0,0,0,.25); font-weight: 700;
}
.cab-payment__now strong { font-size: 22px; }
.cab-payment__note { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; font-size: 13px; }
.cab-payment__note-icon {
  display: grid; place-items: center; flex: none; width: 30px; height: 30px; border: 2px solid var(--ink);
  border-radius: 50%; box-shadow: 2px 2px 0 var(--ink); color: var(--crimson); font-size: 18px;
}
.cab-payment__submit { margin-top: 14px; padding-inline: 12px; white-space: normal; }
.cab-payment__feedback { margin-top: 8px; text-align: center; }
.cab-payment__feedback:empty { margin-top: 0; }

@media (max-width: 720px) {
  .cab-payment__preview { grid-template-columns: 1fr; }
}


.cab .form-card { margin-top: 12px; padding: 0; scroll-margin-top: calc(var(--bh-header-height, 0px) + 16px); }
.cab :not(.form-card) + .form-card { margin-top: 20px; }
.form-card > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 24px; }
.form-card .field label { text-transform: none; letter-spacing: normal; }
.form-card > summary::-webkit-details-marker { display: none; }
.form-card > summary .toggle { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.form-card[open] > summary .toggle { transform: rotate(180deg); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; padding: 0 26px 28px; }
.form .wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--f-display); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.field label .req { color: var(--red); }
.input, .select, .textarea {
  width: 100%; font: inherit; font-size: 16px; font-weight: 500; color: var(--ink);
  background: var(--white); border: var(--line) solid var(--ink); border-radius: 14px; padding: 12px 14px;
}
.textarea { min-height: 110px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; box-shadow: 0 0 0 4px var(--yellow); }
.input:disabled { background: #EEE8DA; color: rgba(0,0,0,.6); }
.form__save { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }





@media (max-width: 960px) {
  .hero__in { grid-template-columns: auto minmax(0, 1fr); }
  .hero__right { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; }
  .hero__right .bubble { width: auto; flex: 1; max-width: 360px; }
  .panel { grid-template-columns: 160px minmax(0, 1fr); }
  .panel__act { grid-column: 1 / -1; width: auto; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .panel__act .btn { flex: 1 1 auto; }
  .timer { grid-template-columns: 1fr; }
  .slot, .go { width: 100%; }
  .slot { min-height: 100px; }
}
@media (max-width: 680px) {
  .hero { padding: 26px 0 30px; }
  .hero__in { grid-template-columns: 1fr; gap: 20px; justify-items: start; }
  .tv__screen { width: 110px; height: 110px; }
  .hero__right { flex-direction: column; align-items: stretch; }
  .hero__right .bubble { max-width: none; }
  .hero__actions { justify-content: flex-start; }
  .hero__right .btn { align-self: flex-start; }
  .card { padding: 18px 18px 20px; }
  .step__dot { width: 40px; height: 40px; border-radius: 12px; font-size: 16px; }
  .steps::before { top: 17px; }
  .steps__fill { top: 14px; }
  .step__name { font-size: 10px; }
  .step.is-now .step__dot { box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--ink); }
  .panel { grid-template-columns: 1fr; padding: 16px; gap: 16px; }
  .scr { height: 120px; }
  .panel__title { font-size: 24px; }
  .panel__act { flex-direction: column; align-items: stretch; }
  .timer { padding: 18px; }
  .cd { gap: 6px; }
  .cd__cell { min-width: 0; flex: 1; padding: 6px 4px 5px; }
  .cd__num { font-size: 40px; }
  .go .btn { font-size: 24px; padding: 18px; }
  .row { grid-template-columns: 1fr; gap: 22px; }
  .form { grid-template-columns: 1fr; padding: 0 18px 22px; }
  .form-card > summary { padding: 16px 18px; }

}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .badge-tab__signal { filter: none; }
  .badge-tab__signal[aria-hidden="true"] { display: none; }
}

.achievement { max-height: 42px; width: auto; }
.message { width: min(1000px, 100% - 32px); margin: 0 auto 20px; padding: 16px 20px; border: var(--line) solid var(--ink); border-radius: 16px; background: var(--yellow-2); font-weight: 600; }
.message.error, .error-message { color: var(--crimson); }
.message.success { background: #BFF0CF; }
.cab-notifications { position: fixed; z-index: 10001; top: max(16px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); width: min(420px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 0 6px 6px 0; display: grid; gap: 12px; pointer-events: none; }
.cab-notifications .message { position: relative; width: 100%; margin: 0; padding: 18px 52px 18px 20px; border: var(--line) solid var(--ink); border-radius: 16px; box-shadow: 4px 4px 0 var(--ink); background: var(--yellow-2); color: var(--ink); overflow-wrap: anywhere; pointer-events: auto; animation: cab-notice-in .25s ease-out both; transition: opacity .2s, transform .2s; }
.cab-notifications .message.error { background: #FFE1E7; }
.cab-notifications .message.success { background: #BFF0CF; }
.cab-notifications .message.is-closing { opacity: 0; transform: translateX(24px); animation: none; pointer-events: none; }
.cab-notice-close { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 2px solid var(--ink); border-radius: 50%; background: var(--white); font-size: 24px; line-height: 1; cursor: pointer; }
.cab-notice-close:hover { background: var(--yellow); }
@keyframes cab-notice-in { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .cab-notifications .message { animation: none; transition: none; }
}
.field > .input { border: 0; border-radius: 0; padding: 0; background: none; }
.field :where(input, select, textarea), .participation-editor :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select), .invite-card input {
    width: 100%; font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); background: var(--white); border: var(--line) solid var(--ink); border-radius: 14px; padding: 12px 14px;
}
.field :where(input, select, textarea):focus, .participation-editor :where(input, select):focus, .invite-card input:focus { outline: none; box-shadow: 0 0 0 4px var(--yellow); }
.field input[readonly] { background: #EEE8DA; color: rgba(0,0,0,.6); }
.field label { display: block; margin-bottom: 7px; }
.field-hint { display: block; margin-top: 8px; font-size: 13px; color: #555; }
.otherfursona { display: none; }
.label-hint { position: relative; text-transform: none; letter-spacing: normal; }
.hint-icon { display: inline-grid; width: 18px; height: 18px; place-items: center; border: 1px solid; border-radius: 50%; cursor: help; }
.hint-tooltip { display: none; position: absolute; bottom: 100%; left: 0; width: 180px; padding: 8px; background: var(--ink); color: var(--white); border-radius: 8px; z-index: 2; }
.label-hint:hover .hint-tooltip, .label-hint:focus-within .hint-tooltip { display: block; }
.invite-card { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.invite-card input { margin: 8px 0 14px; }
.registration-feedback { margin: 8px 0; font-weight: 700; }
[data-invite-code-error], .live-error, #ticket-error { color: var(--crimson); }
.participation-editor { margin-top: 28px; scroll-margin-top: 90px; }
.participation-form h2 { font-size: 28px; text-transform: uppercase; line-height: 1.1; margin-bottom: 22px; }
.participation-form .form-group, .participation-form > .input { margin: 20px 0; }
.participation-form label { display: block; margin-bottom: 8px; font-weight: 800; }
.participation-form .tickets { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ticket-card { height: 100%; }
.part-ticket { width: 100%; height: 100%; padding: 20px 12px; background: var(--white); border: var(--line) solid var(--ink); border-radius: 16px; box-shadow: 4px 4px 0 var(--ink); cursor: pointer; }
.part-ticket > * { display: block; }
.part-ticket strong { font-size: 20px; line-height: 1.1; margin-bottom: 12px; }
.part-ticket span { font-size: 23px; font-weight: 900; }
.part-ticket small { margin-top: 8px; }
.part-ticket.is-selected { background: var(--yellow); }
.age-stepper { display: flex; gap: 10px; align-items: center; max-width: 240px; }
.age-btn { width: 48px; height: 48px; flex: none; border: var(--line) solid var(--ink); border-radius: 12px; background: var(--yellow); font-size: 24px; cursor: pointer; }
.age-input { text-align: center; appearance: textfield; }
.age-input::-webkit-inner-spin-button,
.age-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.participation-form .live-options-multi { padding: clamp(12px, 3vw, 20px); border: 2px solid var(--ink); border-radius: 18px; background: var(--paper); }
.live-options-multi h3 { font-size: 18px; }
.live-hint { margin: 6px 0 14px; font-size: 14px; }
.live-hidden-select { display: none; }
.live-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.live-pick-panel { min-width: 0; border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; background: var(--white); }
.live-pick-title { padding: 10px 14px; background: var(--yellow-2); font-weight: 800; border-bottom: var(--line) solid var(--ink); }
.live-search { padding: 10px 12px 0; }
.live-pick-list { margin: 0; padding: 8px; list-style: none; max-height: 240px; overflow-y: auto; }
.live-pick-item { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 6px; cursor: pointer; }
.live-pick-name { overflow-wrap: anywhere; min-width: 0; }
.live-pick-btn { display: inline-grid; place-items: center; padding: 0; flex: none; width: 34px; height: 34px; background: var(--yellow); border: 2px solid var(--ink); border-radius: 8px; cursor: pointer; font-size: 20px; }
.live-empty { font-size: 13px; padding: 8px; }
.live-multi-meta { margin: 12px 0; font-size: 13px; }
.live-count { font-weight: 800; font-variant-numeric: tabular-nums; }
.live-options-multi .live-multi-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 12px; margin: 12px 0; }
.live-options-multi.is-full .live-multi-meta { padding: 9px 12px; border: 2px solid var(--ink); border-radius: 10px; background: var(--yellow-2); }
.live-options-multi.is-full #live-available .live-pick-item { cursor: default; }
.live-options-multi.is-full .live-pick-btn:disabled { background: #e9e5de; border-color: #aaa59b; color: #69645b; box-shadow: none; cursor: not-allowed; }
.live-options-multi #with-multi-manual:read-only { background: #eeeae2; cursor: not-allowed; }
.roommate-preview { position: fixed; z-index: 10010; pointer-events: none; box-sizing: border-box; width: 64px; height: 64px; object-fit: cover; background: var(--paper); border: 2px solid var(--ink); border-radius: 8px; box-shadow: 3px 3px 0 var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .roommate-preview { animation: roommate-pop .16s ease-out; }
  @keyframes roommate-pop { from { opacity: 0; transform: translateY(4px) scale(.92); } }
}
.panel--payment { background: #edf7ef; }
.panel--payment .scr { background: #a7d9bd var(--halftone); }
.panel--payment .scr::after { opacity: .35; }
.panel--payment .panel__text p:first-of-type b { background: var(--yellow-2); border-radius: .25em; padding-inline: .2em; white-space: nowrap; }
.panel--payment .panel__act small { color: #395346; }
.cab-switch { min-width: 0; margin: 0; padding: 0; border: 0; font-weight: 800; }
.cab-switch legend { margin-bottom: 7px; padding: 0; }
.cab-switch__options {
  position: relative; display: inline-grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 184px);
  padding: 3px; border: 2px solid var(--ink); border-radius: 14px; background: var(--white); box-shadow: 2px 2px 0 var(--ink);
}
.cab-switch__indicator {
  position: absolute; inset-block: 3px; inset-inline-start: 3px; width: calc(50% - 3px);
  border: 2px solid var(--ink); border-radius: 9px; background: var(--yellow); pointer-events: none;
  transition: inset-inline-start .2s ease;
}
.cab-switch__options input[value="1"]:checked ~ .cab-switch__indicator { inset-inline-start: 50%; }
.cab-switch__options label {
  position: relative; z-index: 1; display: grid; place-items: center; min-height: 44px; padding: 8px 22px;
  border-radius: 9px; color: #5c574e; cursor: pointer;
}
.participation-form .cab-switch__options label { margin: 0; font-size: inherit; text-transform: none; letter-spacing: normal; }
.cab-switch__options input:checked + label { color: var(--ink); }
.cab-switch__options input:focus-visible + label { outline: 3px dashed var(--blue); outline-offset: -5px; }
.cab-switch__options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.participation-form .agreement-label { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; cursor: pointer; }
.agreement-label input { width: 24px; height: 24px; flex: none; accent-color: var(--blue); margin: 2px 0 0; }
.agreement-text { font-size: 14px; }
.save-part { display: flex; margin: 24px auto 0; }
.panel__act .btn { white-space: normal; }
.go form { width: 100%; }
.participation-editor .row { margin-top: 12px; }

@media (max-width: 680px) {
    .hero__right { width: 100%; }
    .card__title { min-width: 0; flex-wrap: wrap; line-height: 1.15; }
    .chip, .btn { white-space: normal; }
    .tv__change { opacity: 1; }
    .participation-form .tickets, .live-pick { grid-template-columns: 1fr; }
    .participation-form .tickets { gap: 14px; }
    .live-pick-list { max-height: 180px; }
}

.participation-form > .input { padding: 0; border: 0; border-radius: 0; background: none; }
.participation-form label { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.participation-form .agreement-label { text-transform: none; letter-spacing: normal; }

/* Public profile editor uses the cabinet's existing controls and cards. */
.public-profile-editor { padding-block: 12px 56px; }
.public-profile-editor *, .public-profile-editor *::before, .public-profile-editor *::after { box-sizing: border-box; }
.public-profile-editor [hidden] { display: none !important; }
.public-profile-editor h1 { font-family: var(--f-display); font-size: clamp(28px, 5vw, 52px); font-weight: 900; text-transform: uppercase; line-height: 1.05; margin: 10px 0 22px; }
.public-profile-editor .profile-identity { font-family: var(--f-osd); font-size: 18px; }
.public-profile-editor .artist-editor-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
.public-profile-editor .artist-editor-panel--socials { border-inline-start: 2px solid var(--grey); padding-inline-start: 28px; }
.public-profile-editor .artist-editor-prompt { display: grid; gap: 7px; }
.public-profile-editor .artist-editor-prompt label { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.public-profile-editor #socials { scroll-margin-top: 7rem; }
.public-profile-editor .artist-editor-panel { min-width: 0; }
.public-profile-editor .artist-editor-fields { display: grid; gap: 20px; margin-top: 18px; }
.public-profile-editor .artist-editor-fields .wide { grid-column: 1 / -1; }
.public-profile-editor .artist-editor-panel h3 { font-weight: 900; font-size: 24px; text-transform: uppercase; margin: 0 0 10px; }
.public-profile-editor .artist-editor-panel-head p { font-size: 14px; margin: 0 0 20px; }
.public-profile-editor .artist-editor-field { min-width: 0; }
.public-profile-editor .artist-editor-field > label { margin-bottom: 0; }
.public-profile-editor .input, .public-profile-editor .textarea { width: 100%; min-width: 0; }
.public-profile-editor .artist-editor-field-hint, .public-profile-editor .artist-editor-toggle-subtitle { font-size: 13px; line-height: 1.5; color: #555; margin-top: 8px; }
.public-profile-editor .artist-editor-toggle-row { display: flex; gap: 16px; align-items: flex-start; padding-block: 16px; border-block: 2px dashed var(--ink); }
.public-profile-editor .artist-editor-toggle-title { font-weight: 800; }
.public-profile-editor .artist-editor-toggle-copy { flex: 1; }
.public-profile-editor .artist-editor-switch { position: relative; flex: none; cursor: pointer; }
.public-profile-editor .artist-editor-switch input[type=checkbox] { position: absolute; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.public-profile-editor .artist-editor-switch-track { display: flex; align-items: center; justify-content: space-between; width: 88px; height: 40px; padding: 6px; border: 2px solid var(--ink); border-radius: 999px; background: #FFE1E7; font: 12px var(--f-osd); }
.public-profile-editor .artist-editor-switch-thumb { position: absolute; left: 6px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--ink); background: var(--white); transition: transform .15s; }
.public-profile-editor :checked + .artist-editor-switch-track { background: #BFF0CF; }
.public-profile-editor :checked + .artist-editor-switch-track .artist-editor-switch-thumb { transform: translateX(48px); }
.public-profile-editor :focus-visible + .artist-editor-switch-track { outline: 3px dashed var(--blue); outline-offset: 3px; }
.public-profile-editor .artist-editor-address { position: relative; width: fit-content; max-width: 100%; }
.public-profile-editor .artist-editor-address-link { display: flex; align-items: center; min-height: 44px; margin-inline-end: 54px; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: .16em; }
.public-profile-editor .artist-editor-address-link:hover { color: var(--crimson); }
.public-profile-editor .artist-editor-pencil { position: absolute; top: 0; right: 0; }
.public-profile-editor .artist-editor-pencil::-webkit-details-marker { display: none; }
.public-profile-editor .artist-editor-pencil:hover, .public-profile-editor details[open] > .artist-editor-pencil { background: var(--yellow); }
.public-profile-editor .artist-editor-slug-group { display: flex; flex-direction: column; gap: 6px; }
.public-profile-editor .artist-editor-slug-prefix { font-size: 13px; overflow-wrap: anywhere; }
.public-profile-editor .artist-editor-slug-status, .public-profile-editor .artist-editor-toggle-status { font-size: 13px; margin-top: 8px; overflow-wrap: anywhere; }
.public-profile-editor .is-error { color: var(--crimson); }
.public-profile-editor .is-ok { color: #17633A; }
.public-profile-editor .artist-editor-color-row input[type=color] { width: 44px; height: 42px; padding: 3px; border: 2px solid currentColor; border-radius: 10px; cursor: pointer; }
.public-profile-editor .artist-editor-color-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.public-profile-editor .artist-editor-color-actions { display: grid; gap: 10px; }
.public-profile-editor .artist-editor-color-preview { width: 40px; height: 40px; border: 2px solid var(--ink); border-radius: 12px; }
.public-profile-editor .artist-socials-list { display: grid; gap: 10px; margin: 14px 0; }
.public-profile-editor .artist-social-row { display: flex; gap: 8px; align-items: flex-end; }
.public-profile-editor .artist-social-row-main { flex: 1; min-width: 0; }
.public-profile-editor .artist-social-label { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.public-profile-editor :is(.artist-editor-pencil,.artist-social-remove,.artist-artwork-remove,.artist-artwork-move,.artist-editor-copy-button) { display: inline-grid; place-items: center; padding: 0; flex: none; border: 2px solid var(--ink); border-radius: 12px; min-width: 40px; min-height: 42px; background: var(--yellow-2); font-weight: 800; cursor: pointer; }
.public-profile-editor .artist-editor-copy-button svg { width: 24px; height: 24px; }
.public-profile-editor .artist-editor-copy-button { position: relative; }
.public-profile-editor .artist-editor-public-link { margin-bottom: 26px; padding: 16px; background: var(--yellow-2); border: 2px solid var(--ink); border-radius: 16px; }
.public-profile-editor .artist-editor-public-link-kicker { font-size: 13px; font-weight: 800; margin-bottom: 8px; }
.public-profile-editor .artist-editor-public-link-row { display: flex; gap: 12px; align-items: center; }
.public-profile-editor .artist-editor-public-link-url { min-width: 0; flex: 1; overflow-wrap: anywhere; font-weight: 700; }
.public-profile-editor .artist-editor-copy-toast { display: none; position: absolute; right: 0; top: -34px; padding: 6px; border-radius: 8px; color: var(--white); background: var(--ink); font-size: 12px; }
.public-profile-editor .artist-editor-copy-toast.is-visible { display: block; }
.public-profile-editor .artist-editor-panel--media { margin-top: 24px; border-top: 2px solid var(--grey); padding-top: 20px; }
.public-profile-editor .artist-upload-policy { font-size: 13px; padding-bottom: 18px; }
.public-profile-editor .artist-media-sections { display: grid; gap: 28px; }
.public-profile-editor .artist-media-section h4 { font-size: 22px; margin: 0 0 12px; }
.public-profile-editor .artist-media-section p { font-size: 13px; }
.public-profile-editor .artist-artwork-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.public-profile-editor .artist-artwork-item { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px; border: 2px solid var(--ink); border-radius: 16px; background: var(--paper); }
.public-profile-editor .artist-artwork-thumb img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.public-profile-editor .artist-artwork-meta { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.public-profile-editor .artist-artwork-title { font-weight: 700; }
.public-profile-editor .artist-artwork-subtitle { font-size: 12px; }
.public-profile-editor .artist-artwork-item--placeholder { height: 100px; border-style: dashed; }
.public-profile-editor .artist-dropzone { position: relative; padding: 24px; border: 3px dashed var(--ink); border-radius: 16px; background: var(--yellow-2); text-align: center; }
.public-profile-editor .artist-dropzone-input { width: 100%; margin-bottom: 12px; font: inherit; }
.public-profile-editor .artist-dropzone-copy strong, .public-profile-editor .artist-dropzone-copy span { display: block; }
.public-profile-editor .artist-dropzone.is-dragover { background: var(--yellow); }
.public-profile-editor .artist-editor-submit { display: flex; justify-content: flex-end; margin-top: 22px; padding-top: 16px; border-top: 2px solid var(--grey); }
.public-profile-editor button:disabled { opacity: .55; cursor: wait; }
@media (max-width: 800px) {
  .public-profile-editor .artist-editor-panel--socials { border-inline-start: 0; padding-inline-start: 0; padding-top: 20px; border-top: 2px solid var(--grey); }
  .public-profile-editor .artist-editor-grid, .public-profile-editor .artist-editor-fields { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 540px) {
  .public-profile-editor .card { padding: 20px 16px; }
  .public-profile-editor .artist-artwork-item { flex-wrap: wrap; }
  .public-profile-editor .artist-artwork-meta { flex-basis: calc(100% - 90px); }
  .public-profile-editor .artist-editor-toggle-row { flex-wrap: wrap; }
  .public-profile-editor .artist-dropzone { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { .public-profile-editor .artist-editor-switch-thumb { transition: none; } }

.public-profile-editor .artist-editor-color-picker-wrap { width: min(280px, 100%); min-width: 0; }
.public-profile-editor [data-artist-theme-picker] { width: 100%; }
.public-profile-editor .artist-editor-switch-label--off { margin-left: auto; }
.public-profile-editor .artist-editor-switch-label--on { display: none; }
.public-profile-editor :checked + .artist-editor-switch-track .artist-editor-switch-label--off { display: none; }
.public-profile-editor :checked + .artist-editor-switch-track .artist-editor-switch-label--on { display: block; }

.public-profile-editor .artist-editor-color-row { gap: 12px 18px; }
.artist-editor-color-row [data-artist-wheel]:empty { display: none; }
.public-profile-editor .artist-color-tools {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 6px 8px;
}
.artist-color-tools .artist-editor-color-value { font: 600 13px/1.2 monospace; }
.artist-color-tools .artist-editor-color-reset { grid-column: 1 / -1; justify-self: start; }

.cab-payment__notice {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 14px 0 0; padding: 12px clamp(12px, 3vw, 18px);
  border: 2px solid var(--ink); border-radius: 12px;
  background: #ffedaf; color: var(--ink);
}
.cab-payment__notice-icon {
  display: grid; place-items: center; flex: 0 0 30px; height: 30px;
  border-radius: 50%; background: var(--ink); color: #ffedaf;
  font-size: 20px; font-weight: 900; line-height: 1;
}
.cab-payment__notice p {
  min-width: 0; margin: 3px 0; font-size: clamp(15px, 2vw, 17px); font-weight: 700;
  line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere;
}

.cab-payment__maintenance {
  margin: 1rem 0 0;
  padding: 1.5rem 1rem;
  border: 2px dashed #929292;
  border-radius: 12px;
  background: #f1f1f1;
  color: #383838;
  text-align: center;
}
