.hc-root { display: block; margin: 0; color: var(--auth-fg, #272727); }
.hc-root[hidden] { display: none; }
.hc-head:empty { display: none; }
.hc-code {
  width: max-content; max-width: 100%; box-sizing: border-box; margin: 0 auto 16px; padding: 3px 10px;
  border: 1px solid var(--auth-card-line, #9c9c9c);
  font-family: var(--font-family-mono); font-size: 11px; line-height: 18px; letter-spacing: 0.3px; text-transform: uppercase; text-align: center;
  color: var(--auth-muted, #606060);
}
.hc-code strong { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: none; color: var(--auth-fg, #272727); }
.auth-card > .hc-code { align-self: center; margin-block-end: 0; }
.hc-title { font-family: var(--font-family-heading, var(--font-family-sans)); font-size: 18px; line-height: 24px; font-weight: 600; margin: 8px 0; }
.hc-muted { color: var(--auth-muted, #606060); font-size: 13px; }
.hc-warn { color: var(--auth-fg, #272727); background: var(--auth-error-bg, rgba(254, 54, 27, 0.12)); padding: 8px 16px; border: 1px solid color-mix(in srgb, var(--auth-error-line, #fe361b) 30%, transparent); border-inline-start: 3px solid var(--auth-error-fg, #b71902); min-height: 40px; line-height: 1.35; }
.hc-notice:empty, .hc-live:empty { display: none; }
.hc-notice,
.hc-live { font-size: 13px; line-height: 19.5px; text-align: center; text-wrap: balance; }
.hc-live.hc-spoken-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.hc-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0; }
.hc-stage { text-align: center; }
.hc-stage > p { margin: 0 0 8px; text-wrap: balance; }
.hc-stage > .hc-title { margin-block-start: 0; text-wrap: balance; }
.hc-stage > .hc-actions { justify-content: center; margin: 16px 0 12px; }
.hc-stage > .hc-warn { margin: 12px 0 0; text-align: start; text-wrap: wrap; }
.hc-stage > :last-child { margin-block-end: 0; }
.hc-fine { font-size: 12px; line-height: 18px; }
.hc-wait { margin: 8px 0; text-align: center; }
.hc-btn {
  --plate: var(--auth-plate, #e3e3e3);
  --plate-line: var(--auth-plate-line, #7a7a7a);
  --plate-angle: 315deg;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 32px; padding: 0 14px;
  border: 1px solid transparent; border-radius: 0;
  background: linear-gradient(var(--plate-angle), transparent 6.65px, var(--plate) 6.65px) padding-box, linear-gradient(var(--plate-angle), transparent 6.114px, var(--plate-line) 6.614px) border-box;
  color: var(--auth-plate-text, #1c1c1c);
  font-family: var(--font-family-mono); font-size: 13px; line-height: 1; letter-spacing: 0.3px; text-transform: uppercase;
  cursor: pointer;
}
[dir="rtl"] .hc-btn { --plate-angle: 45deg; }
.hc-btn:hover:not(:disabled) { --plate: var(--auth-plate-hover, #d6d6d6); --plate-line: var(--auth-plate-line-hover, #101010); }
.hc-btn.hc-primary {
  --plate: var(--auth-primary, #eeff22);
  --plate-line: var(--auth-primary-line, #101010);
  background: linear-gradient(var(--plate-angle), transparent 5.95px, var(--plate) 5.95px) padding-box, linear-gradient(var(--plate-angle), transparent 6.364px, var(--plate-line) 6.364px) border-box;
  color: var(--auth-primary-fg, #101010);
}
.hc-btn.hc-primary:hover:not(:disabled) { --plate: var(--auth-accent, #e3f30c); --plate-line: var(--auth-primary-line, #101010); }
.hc-btn:disabled { opacity: 0.5; cursor: default; }
.hc-btn:focus-visible, .hc-link:focus-visible, .hc-canvas:focus-visible, .hc-device summary:focus-visible, .hc-link-full:focus-visible { outline: none; box-shadow: var(--auth-ring, 0 0 0 2px #edeaea, 0 0 0 4px #0741ff); }
.hc-link { font: inherit; font-weight: 600; min-height: 32px; background: none; border: 0; padding: 4px 0; color: var(--auth-plate-text, #1c1c1c); text-decoration: underline; text-decoration-color: var(--auth-underline, rgba(16, 16, 16, 0.2)); text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; }
.hc-link:hover { text-decoration-color: currentColor; }
a.hc-link { display: inline-flex; align-items: center; box-sizing: border-box; }
@media (pointer: coarse) { .hc-btn, .hc-link { min-height: 44px; } }
.hc-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 8px 0 4px; }
.hc-title-row .hc-title { margin: 0; }
.hc-step { margin: 0; font-family: var(--font-family-mono); font-size: 12px; letter-spacing: 0.3px; text-transform: uppercase; color: var(--auth-muted, #606060); white-space: nowrap; }
.hc-panel { border: 1px solid var(--auth-divider, rgba(0, 0, 0, 0.09)); padding: 12px; margin: 12px 0 0; }
.hc-panel .hc-hint-row { margin: 0 0 10px; padding: 0 0 10px; border-bottom: 1px solid var(--auth-divider, rgba(0, 0, 0, 0.09)); }
.hc-panel .hc-board { margin: 0 -4px; }
.hc-panel .hc-canvas { margin: 0 auto; }
.hc-panel .hc-status { margin: 8px 0 0; }
.hc-game .hc-actions { margin: 12px 0 0; }
.hc-btn.hc-quiet { margin-inline-start: auto; }
.hc-options { margin: 20px 0 0; padding: 12px 0 0; border-top: 1px solid var(--auth-divider, rgba(0, 0, 0, 0.09)); }
.hc-options-title { margin: 0 0 4px; font-family: var(--font-family-mono); font-size: 12px; letter-spacing: 0.3px; text-transform: uppercase; color: var(--auth-muted, #606060); }
.hc-options .hc-link { display: block; font-weight: 500; font-size: 13px; text-align: start; }
.hc-options .hc-muted { margin: 0 0 4px; }
.hc-variants { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 420px) { .hc-variants { grid-template-columns: 1fr; } .hc-btn.hc-quiet { margin-inline-start: 0; } }
.hc-foot { margin: 16px 0 0; padding: 8px 0 0; border-top: 1px solid var(--auth-divider, rgba(0, 0, 0, 0.09)); text-align: end; }
.hc-foot .hc-link { font-weight: 500; font-size: 13px; color: var(--auth-muted, #606060); }
.hc-work .hc-art { width: 96px; height: 96px; margin-block-end: 8px; }
.hc-work > .hc-link { margin-block-start: 8px; font-weight: 500; font-size: 13px; }
.hc-meter { margin: 16px 0 0; padding: 12px; border: 1px solid var(--auth-divider, rgba(0, 0, 0, 0.09)); text-align: start; }
.hc-meter-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; margin: 0 0 8px; }
.hc-meter-row p { margin: 0; }
.hc-pct { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.hc-progress {
  display: block; width: 100%; height: 12px; box-sizing: border-box;
  -webkit-appearance: none; appearance: none;
  border: 1px solid var(--auth-border, #7a7a7a); border-radius: 0;
  background: var(--auth-input-bg, #f8f8f8);
  overflow: hidden;
}
.hc-progress::-webkit-progress-bar { background: var(--auth-input-bg, #f8f8f8); }
.hc-progress::-webkit-progress-value { background: var(--auth-primary, #eeff22); box-shadow: inset 0 0 0 1px var(--auth-primary-line, #101010); }
.hc-progress::-moz-progress-bar { background: var(--auth-primary, #eeff22); box-shadow: inset 0 0 0 1px var(--auth-primary-line, #101010); }
@media (prefers-reduced-motion: no-preference) { .hc-progress::-webkit-progress-value { transition: width 200ms ease-out; } }
.hc-board { max-width: calc(100% + 8px); overflow: auto; margin: 4px -4px; padding: 4px; }
.hc-canvas { display: block; max-width: 100%; height: auto; touch-action: none; border-radius: 0; cursor: pointer; }
.hc-zoom .hc-canvas { max-width: none; }
@media (pointer: coarse) { .hc-zoom .hc-canvas { max-width: 100%; } }
.hc-hint-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hc-hint { max-width: 100%; height: auto; border-radius: 0; }
.hc-hint-label { font-weight: 600; }
.hc-instruction { font-weight: 500; }
.hc-status { min-height: 1.4em; font-size: 13px; color: var(--auth-muted, #606060); }
.hc-device { margin-top: 16px; border-top: 1px solid var(--auth-divider, rgba(0, 0, 0, 0.09)); padding-top: 4px; }
.hc-device summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; color: var(--auth-plate-text, #1c1c1c); font-size: 13px; font-weight: 600; }
.hc-device summary::-webkit-details-marker { display: none; }
.hc-device summary::after { content: ""; flex: none; width: 7px; height: 7px; margin-inline-end: 4px; border: solid var(--auth-muted, #606060); border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.hc-device[open] summary::after { transform: translateY(2px) rotate(225deg); }
.hc-device-body { padding: 0 0 4px; text-align: center; }
.hc-device-help { margin: 0; text-wrap: balance; }
.hc-linkbox {
  container-type: inline-size;
  font-family: var(--font-family-mono); font-size: 12px;
  display: flex; align-items: stretch; height: 40px; box-sizing: border-box; margin: 12px 0 0;
  border: 1px solid var(--auth-border, #7a7a7a); background: var(--auth-input-bg, #f8f8f8);
}
.hc-link-short, .hc-link-full {
  flex: 1 1 0; min-width: 0; box-sizing: border-box; margin: 0; padding: 0 12px;
  border: 0; border-radius: 0; background: none; color: var(--auth-fg, #272727);
  font-family: var(--font-family-mono); font-size: 12px; line-height: 1.5; letter-spacing: 0;
}
.hc-link-short { display: flex; align-items: center; overflow: hidden; white-space: nowrap; text-align: start; }
.hc-link-origin { flex: 0 1 auto; min-width: 0; overflow: hidden; }
.hc-link-path, .hc-link-key, .hc-link-tail { flex: none; }
@container (max-width: 50ch) { .hc-link-key { display: none; } }
@container (max-width: 46ch) { .hc-link-path { display: none; } }
@container (max-width: 31ch) { .hc-link-tail { display: none; } .hc-link-short::after { content: "\2026"; flex: none; } }
@supports not (container-type: inline-size) { .hc-link-key, .hc-link-path { display: none; } }
.hc-link-full { -webkit-appearance: none; appearance: none; outline: none; }
.hc-link-short[hidden], .hc-link-full[hidden] { display: none; }
.hc-link-actions { justify-content: center; gap: 8px 16px; margin: 12px 0 0; }
.hc-link-copy { min-width: 128px; }
.hc-btn.hc-link-copy.hc-copied:not(:disabled) { --plate: var(--auth-primary, #eeff22); --plate-line: var(--auth-primary-line, #101010); color: var(--auth-primary-fg, #101010); }
.hc-link-actions .hc-link { font-weight: 500; font-size: 13px; }
.hc-copy-note { margin: 4px 0 0; font-size: 13px; line-height: 19.5px; text-wrap: balance; }
.hc-copy-note:empty { margin: 0; }
.hc-spoken { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (pointer: coarse) { .hc-linkbox { height: 44px; } }
.hc-qr-card {
  --cut: 12px;
  --cut-angle: 315deg;
  --hc-qr-ink: var(--auth-primary-fg, #101010);
  --hc-qr-plate: var(--auth-input-bg, #f8f8f8);
  display: flex;
  flex-direction: column;
  width: max-content;
  max-width: 100%;
  margin: 12px auto 0;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--cut-angle), transparent calc(var(--cut) * 0.7071 - 0.414px), var(--auth-base, #e3e3e3) calc(var(--cut) * 0.7071 - 0.414px)) padding-box,
    linear-gradient(var(--cut-angle), transparent calc(var(--cut) * 0.7071), var(--auth-card-line, #9c9c9c) calc(var(--cut) * 0.7071)) border-box;
}
[data-color-scheme="dark"] .hc-qr-card { --hc-qr-plate: var(--auth-fg, #ededed); }
[dir="rtl"] .hc-qr-card { --cut-angle: 45deg; }
.hc-qr-card .hc-qr { display: block; flex: none; align-self: center; margin: 12px; background: var(--hc-qr-plate); image-rendering: pixelated; }
.hc-qr-card .hc-qr[hidden] { display: none; }
.hc-device .hc-qr-none { display: none; }
.hc-qr-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  margin: 0;
  padding: 8px 20px 8px 12px;
  border-block-start: 1px solid var(--auth-card-line, #9c9c9c);
  box-sizing: border-box;
  width: 0;
  min-width: 100%;
  font-size: 13px;
  line-height: 19.5px;
  text-align: start;
  color: var(--auth-fg, #272727);
}
.hc-qr-mark {
  flex: none;
  width: 20px;
  height: 20px;
  background: var(--auth-fg, #272727);
  -webkit-mask: url("/auth/hoody-logo.svg") 0 50% / auto 100% no-repeat;
  mask: url("/auth/hoody-logo.svg") 0 50% / auto 100% no-repeat;
}
.hc-qr-status { margin: 0; }
.hc-qr-status:empty { display: none; }
.hc-phone { text-align: center; }
.hc-phone .hc-qr-card { margin-block-start: 16px; }
.hc-phone-lead { margin: 0; text-wrap: balance; }
.hc-phone-help { margin: 8px 0 0; text-wrap: balance; }
.hc-qr-col { width: min-content; max-width: 100%; margin: 0 auto; }
.hc-qr-card.hc-qr-used .hc-qr { opacity: 0.25; }
.hc-tip { display: flex; flex-direction: column; align-items: center; margin: 10px 0 0; }
.hc-tip-btn { white-space: nowrap; }
.hc-tip-btn { font-weight: 500; font-size: 13px; }
.hc-tip-panel {
  --cut: 10px;
  --cut-angle: 315deg;
  width: 100%;
  margin: 4px 0 6px;
  padding: 12px 16px;
  box-sizing: border-box;
  text-align: start;
  font-size: 13px;
  line-height: 19.5px;
  color: var(--auth-fg, #272727);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--cut-angle), transparent calc(var(--cut) * 0.7071 - 0.414px), var(--auth-card, #ececec) calc(var(--cut) * 0.7071 - 0.414px)) padding-box,
    linear-gradient(var(--cut-angle), transparent calc(var(--cut) * 0.7071), var(--auth-card-line, #9c9c9c) calc(var(--cut) * 0.7071)) border-box;
}
[dir="rtl"] .hc-tip-panel { --cut-angle: 45deg; }
.hc-tip-panel[hidden] { display: none; }
.hc-tip-panel p { margin: 0 0 8px; }
.hc-tip-panel p:last-child { margin: 0; }
.hc-tip-title { font-weight: 600; }
.hc-end { text-align: center; }
.hc-end .hc-title { margin-block-start: 0; }
.hc-end p { text-wrap: balance; }
.hc-art { display: block; width: 112px; height: 112px; margin: 4px auto 12px; }
.hc-art svg { display: block; width: 100%; height: 100%; fill: var(--auth-fg, #272727); }
.hc-art .f-ink { fill: var(--auth-fg, #272727); }
.hc-art .f-muted { fill: var(--auth-muted, #606060); }
.hc-art .f-line { fill: var(--auth-card-line, #9c9c9c); }
.hc-art .f-plate { fill: var(--auth-plate, #e3e3e3); }
.hc-art .f-base { fill: var(--auth-base, #e3e3e3); }
.hc-art .f-card { fill: var(--auth-card, #ececec); }
.hc-art .f-accent { fill: var(--auth-primary, #eeff22); }
.hc-art .f-accent-ink { fill: var(--auth-primary-fg, #101010); }
.hc-art .s-ink { stroke: var(--auth-fg, #272727); }
.hc-art .s-muted { stroke: var(--auth-muted, #606060); }
.hc-art .s-line { stroke: var(--auth-card-line, #9c9c9c); }
.hc-art .s-accent { stroke: var(--auth-primary, #eeff22); }
@media (max-width: 420px) { .hc-art { width: 96px; height: 96px; } }
.hc-phone .hc-art { width: 96px; height: 96px; margin-block-end: 8px; }
@media (max-width: 420px) { .hc-btn { width: 100%; } }
@media (pointer: coarse) { .hc-warn { min-height: 44px; } }
@media (forced-colors: active) {
  .hc-btn { background: ButtonFace; border-color: ButtonText; color: ButtonText; }
  .hc-code, .hc-meter, .hc-linkbox { border-color: CanvasText; }
  .hc-progress { border-color: CanvasText; background: Canvas; }
  .hc-progress::-webkit-progress-bar { background: Canvas; }
  .hc-progress::-webkit-progress-value { background: Highlight; }
  .hc-progress::-moz-progress-bar { background: Highlight; }
  .hc-device summary::after { border-color: CanvasText; }
  .hc-qr-card { background: Canvas; border-color: CanvasText; }
  .hc-qr-card .hc-qr { forced-color-adjust: none; }
  .hc-qr-mark { forced-color-adjust: none; background: CanvasText; }
  .hc-tip-panel { background: Canvas; border-color: CanvasText; }
  .hc-art { forced-color-adjust: none; }
  .hc-art svg, .hc-art .f-ink, .hc-art .f-muted, .hc-art .f-line, .hc-art .f-accent-ink { fill: CanvasText; }
  .hc-art .f-plate, .hc-art .f-base, .hc-art .f-card { fill: Canvas; }
  .hc-art .f-accent { fill: Canvas; }
  .hc-art .s-ink, .hc-art .s-muted, .hc-art .s-line { stroke: CanvasText; }
  .hc-art .s-accent { stroke: Highlight; }
  .hc-btn:focus-visible, .hc-link:focus-visible, .hc-canvas:focus-visible, .hc-device summary:focus-visible, .hc-link-full:focus-visible { outline: 2px solid Highlight; outline-offset: 2px; box-shadow: none; }
}
:lang(ar) .hc-btn { font-family: var(--font-family-sans); letter-spacing: normal; line-height: 1.5; text-transform: none; }
