*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}/*
! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
*//*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */ /* 3 */
  tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
    :root {
        --background: 0 0% 100%;
        --foreground: 0 0% 3.9%;
        --card: 0 0% 100%;
        --card-foreground: 0 0% 3.9%;
        --popover: 0 0% 100%;
        --popover-foreground: 0 0% 3.9%;
        --primary: 0 0% 9%;
        --primary-foreground: 0 0% 98%;
        --secondary: 0 0% 96.1%;
        --secondary-foreground: 0 0% 9%;
        --muted: 0 0% 96.1%;
        --muted-foreground: 0 0% 45.1%;
        --accent: 0 0% 96.1%;
        --accent-foreground: 0 0% 9%;
        --destructive: 0 84.2% 60.2%;
        --destructive-foreground: 0 0% 98%;
        --border: 0 0% 89.8%;
        --input: 0 0% 89.8%;
        --ring: 0 0% 3.9%;
        --chart-1: 12 76% 61%;
        --chart-2: 173 58% 39%;
        --chart-3: 197 37% 24%;
        --chart-4: 43 74% 66%;
        --chart-5: 27 87% 67%;
        --radius: 0.5rem;
    }
    .dark {
        --background: 0 0% 3.9%;
        --foreground: 0 0% 98%;
        --card: 0 0% 3.9%;
        --card-foreground: 0 0% 98%;
        --popover: 0 0% 3.9%;
        --popover-foreground: 0 0% 98%;
        --primary: 0 0% 98%;
        --primary-foreground: 0 0% 9%;
        --secondary: 0 0% 14.9%;
        --secondary-foreground: 0 0% 98%;
        --muted: 0 0% 14.9%;
        --muted-foreground: 0 0% 63.9%;
        --accent: 0 0% 14.9%;
        --accent-foreground: 0 0% 98%;
        --destructive: 0 62.8% 30.6%;
        --destructive-foreground: 0 0% 98%;
        --border: 0 0% 14.9%;
        --input: 0 0% 14.9%;
        --ring: 0 0% 83.1%;
        --chart-1: 220 70% 50%;
        --chart-2: 160 60% 45%;
        --chart-3: 30 80% 55%;
        --chart-4: 280 65% 60%;
        --chart-5: 340 75% 55%;
    }
    * {
  border-color: hsl(0 0% 89.8%);
  border-color: hsl(var(--border));
}
    body {
  background-color: hsl(0 0% 100%);
  background-color: hsl(var(--background));
  color: hsl(0 0% 3.9%);
  color: hsl(var(--foreground));
}
    [data-debug-wrapper="true"] {
        display: contents !important;
    }

    [data-debug-wrapper="true"] > * {
        margin-left: inherit;
        margin-right: inherit;
        margin-top: inherit;
        margin-bottom: inherit;
        padding-left: inherit;
        padding-right: inherit;
        padding-top: inherit;
        padding-bottom: inherit;
        column-gap: inherit;
        row-gap: inherit;
        gap: inherit;
        border-left-width: inherit;
        border-right-width: inherit;
        border-top-width: inherit;
        border-bottom-width: inherit;
        border-left-style: inherit;
        border-right-style: inherit;
        border-top-style: inherit;
        border-bottom-style: inherit;
        border-left-color: inherit;
        border-right-color: inherit;
        border-top-color: inherit;
        border-bottom-color: inherit;
    }
.\!container {
  width: 100% !important;
}
.container {
  width: 100%;
}
@media (min-width: 640px) {

  .\!container {
    max-width: 640px !important;
  }

  .container {
    max-width: 640px;
  }
}
@media (min-width: 768px) {

  .\!container {
    max-width: 768px !important;
  }

  .container {
    max-width: 768px;
  }
}
@media (min-width: 1024px) {

  .\!container {
    max-width: 1024px !important;
  }

  .container {
    max-width: 1024px;
  }
}
@media (min-width: 1280px) {

  .\!container {
    max-width: 1280px !important;
  }

  .container {
    max-width: 1280px;
  }
}
@media (min-width: 1536px) {

  .\!container {
    max-width: 1536px !important;
  }

  .container {
    max-width: 1536px;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.pointer-events-auto {
  pointer-events: auto;
}
.visible {
  visibility: visible;
}
.invisible {
  visibility: hidden;
}
.collapse {
  visibility: collapse;
}
.static {
  position: static;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.inset-0 {
  inset: 0px;
}
.left-\[50\%\] {
  left: 50%;
}
.right-1 {
  right: 0.25rem;
}
.right-4 {
  right: 1rem;
}
.top-0 {
  top: 0px;
}
.top-1 {
  top: 0.25rem;
}
.top-4 {
  top: 1rem;
}
.top-\[50\%\] {
  top: 50%;
}
.z-50 {
  z-index: 50;
}
.z-\[100\] {
  z-index: 100;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.table {
  display: table;
}
.grid {
  display: grid;
}
.contents {
  display: contents;
}
.hidden {
  display: none;
}
.h-10 {
  height: 2.5rem;
}
.h-4 {
  height: 1rem;
}
.h-8 {
  height: 2rem;
}
.h-9 {
  height: 2.25rem;
}
.max-h-screen {
  max-height: 100vh;
}
.w-4 {
  width: 1rem;
}
.w-9 {
  width: 2.25rem;
}
.w-full {
  width: 100%;
}
.min-w-10 {
  min-width: 2.5rem;
}
.min-w-8 {
  min-width: 2rem;
}
.min-w-9 {
  min-width: 2.25rem;
}
.max-w-lg {
  max-width: 32rem;
}
.shrink {
  flex-shrink: 1;
}
.shrink-0 {
  flex-shrink: 0;
}
.grow {
  flex-grow: 1;
}
.translate-x-\[-50\%\] {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.translate-y-\[-50\%\] {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.resize {
  resize: both;
}
.flex-col {
  flex-direction: column;
}
.flex-col-reverse {
  flex-direction: column-reverse;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-4 {
  gap: 1rem;
}
.space-x-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.375rem * var(--tw-space-y-reverse));
}
.overflow-hidden {
  overflow: hidden;
}
.whitespace-nowrap {
  white-space: nowrap;
}
.break-all {
  word-break: break-all;
}
.rounded {
  border-radius: 0.25rem;
}
.rounded-md {
  border-radius: calc(0.5rem - 2px);
  border-radius: calc(var(--radius) - 2px);
}
.rounded-sm {
  border-radius: calc(0.5rem - 4px);
  border-radius: calc(var(--radius) - 4px);
}
.border {
  border-width: 1px;
}
.border-destructive {
  border-color: hsl(0 84.2% 60.2%);
  border-color: hsl(var(--destructive));
}
.border-input {
  border-color: hsl(0 0% 89.8%);
  border-color: hsl(var(--input));
}
.bg-background {
  background-color: hsl(0 0% 100%);
  background-color: hsl(var(--background));
}
.bg-black {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / 1);
  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
}
.bg-black\/80 {
  background-color: rgb(0 0 0 / 0.8);
}
.bg-destructive {
  background-color: hsl(0 84.2% 60.2%);
  background-color: hsl(var(--destructive));
}
.bg-primary {
  background-color: hsl(0 0% 9%);
  background-color: hsl(var(--primary));
}
.bg-secondary {
  background-color: hsl(0 0% 96.1%);
  background-color: hsl(var(--secondary));
}
.bg-transparent {
  background-color: transparent;
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / 1);
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.p-1 {
  padding: 0.25rem;
}
.p-4 {
  padding: 1rem;
}
.p-6 {
  padding: 1.5rem;
}
.px-1\.5 {
  padding-left: 0.375rem;
  padding-right: 0.375rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.pr-6 {
  padding-right: 1.5rem;
}
.text-center {
  text-align: center;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.uppercase {
  text-transform: uppercase;
}
.italic {
  font-style: italic;
}
.leading-none {
  line-height: 1;
}
.tracking-tight {
  letter-spacing: -0.025em;
}
.text-destructive-foreground {
  color: hsl(0 0% 98%);
  color: hsl(var(--destructive-foreground));
}
.text-foreground {
  color: hsl(0 0% 3.9%);
  color: hsl(var(--foreground));
}
.text-foreground\/50 {
  color: hsl(0 0% 3.9% / 0.5);
  color: hsl(var(--foreground) / 0.5);
}
.text-muted-foreground {
  color: hsl(0 0% 45.1%);
  color: hsl(var(--muted-foreground));
}
.text-primary {
  color: hsl(0 0% 9%);
  color: hsl(var(--primary));
}
.text-primary-foreground {
  color: hsl(0 0% 98%);
  color: hsl(var(--primary-foreground));
}
.text-secondary-foreground {
  color: hsl(0 0% 9%);
  color: hsl(var(--secondary-foreground));
}
.underline {
  -webkit-text-decoration-line: underline;
          text-decoration-line: underline;
}
.line-through {
  -webkit-text-decoration-line: line-through;
          text-decoration-line: line-through;
}
.underline-offset-4 {
  text-underline-offset: 4px;
}
.opacity-0 {
  opacity: 0;
}
.opacity-70 {
  opacity: 0.7;
}
.opacity-90 {
  opacity: 0.9;
}
.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: 0 0 #0000, 0 0 #0000, var(--tw-shadow);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.outline {
  outline-style: solid;
}
.ring-offset-background {
  --tw-ring-offset-color: hsl(var(--background));
}
.blur {
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.drop-shadow {
  --tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.grayscale {
  --tw-grayscale: grayscale(100%);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.sepia {
  --tw-sepia: sepia(100%);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.transition {
  transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors {
  transition-property: color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-200 {
  transition-duration: 200ms;
}
.ease-in {
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}
.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}
@keyframes enter {

  from {
    opacity: 1;
    opacity: var(--tw-enter-opacity, 1);
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotate(0);
    transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0));
  }
}
@keyframes exit {

  to {
    opacity: 1;
    opacity: var(--tw-exit-opacity, 1);
    transform: translate3d(0, 0, 0) scale3d(1, 1, 1) rotate(0);
    transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0));
  }
}
.duration-200 {
  animation-duration: 200ms;
}
.ease-in {
  animation-timing-function: cubic-bezier(0.4, 0, 1, 1);
}
.ease-in-out {
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.ease-out {
  animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
}
.running {
  animation-play-state: running;
}
.paused {
  animation-play-state: paused;
}

body {
    margin: 0;
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
        "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

code {
    font-family:
        source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
}

.hover\:bg-accent:hover {
  background-color: hsl(0 0% 96.1%);
  background-color: hsl(var(--accent));
}

.hover\:bg-destructive\/90:hover {
  background-color: hsl(0 84.2% 60.2% / 0.9);
  background-color: hsl(var(--destructive) / 0.9);
}

.hover\:bg-muted:hover {
  background-color: hsl(0 0% 96.1%);
  background-color: hsl(var(--muted));
}

.hover\:bg-primary\/90:hover {
  background-color: hsl(0 0% 9% / 0.9);
  background-color: hsl(var(--primary) / 0.9);
}

.hover\:bg-secondary:hover {
  background-color: hsl(0 0% 96.1%);
  background-color: hsl(var(--secondary));
}

.hover\:bg-secondary\/80:hover {
  background-color: hsl(0 0% 96.1% / 0.8);
  background-color: hsl(var(--secondary) / 0.8);
}

.hover\:text-accent-foreground:hover {
  color: hsl(0 0% 9%);
  color: hsl(var(--accent-foreground));
}

.hover\:text-foreground:hover {
  color: hsl(0 0% 3.9%);
  color: hsl(var(--foreground));
}

.hover\:text-muted-foreground:hover {
  color: hsl(0 0% 45.1%);
  color: hsl(var(--muted-foreground));
}

.hover\:underline:hover {
  -webkit-text-decoration-line: underline;
          text-decoration-line: underline;
}

.hover\:opacity-100:hover {
  opacity: 1;
}

.focus\:opacity-100:focus {
  opacity: 1;
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring-1:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-ring:focus {
  --tw-ring-color: hsl(var(--ring));
}

.focus\:ring-offset-2:focus {
  --tw-ring-offset-width: 2px;
}

.focus-visible\:outline-none:focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus-visible\:ring-1:focus-visible {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus-visible\:ring-ring:focus-visible {
  --tw-ring-color: hsl(var(--ring));
}

.disabled\:pointer-events-none:disabled {
  pointer-events: none;
}

.disabled\:opacity-50:disabled {
  opacity: 0.5;
}

.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

.group.destructive .group-\[\.destructive\]\:border-muted\/40 {
  border-color: hsl(0 0% 96.1% / 0.4);
  border-color: hsl(var(--muted) / 0.4);
}

.group.destructive .group-\[\.destructive\]\:text-red-300 {
  --tw-text-opacity: 1;
  color: rgb(252 165 165 / 1);
  color: rgb(252 165 165 / var(--tw-text-opacity, 1));
}

.group.destructive .group-\[\.destructive\]\:hover\:border-destructive\/30:hover {
  border-color: hsl(0 84.2% 60.2% / 0.3);
  border-color: hsl(var(--destructive) / 0.3);
}

.group.destructive .group-\[\.destructive\]\:hover\:bg-destructive:hover {
  background-color: hsl(0 84.2% 60.2%);
  background-color: hsl(var(--destructive));
}

.group.destructive .group-\[\.destructive\]\:hover\:text-destructive-foreground:hover {
  color: hsl(0 0% 98%);
  color: hsl(var(--destructive-foreground));
}

.group.destructive .group-\[\.destructive\]\:hover\:text-red-50:hover {
  --tw-text-opacity: 1;
  color: rgb(254 242 242 / 1);
  color: rgb(254 242 242 / var(--tw-text-opacity, 1));
}

.group.destructive .group-\[\.destructive\]\:focus\:ring-destructive:focus {
  --tw-ring-color: hsl(var(--destructive));
}

.group.destructive .group-\[\.destructive\]\:focus\:ring-red-400:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(248 113 113 / var(--tw-ring-opacity, 1));
}

.group.destructive .group-\[\.destructive\]\:focus\:ring-offset-red-600:focus {
  --tw-ring-offset-color: #dc2626;
}

.peer:disabled ~ .peer-disabled\:cursor-not-allowed {
  cursor: not-allowed;
}

.peer:disabled ~ .peer-disabled\:opacity-70 {
  opacity: 0.7;
}

.data-\[swipe\=cancel\]\:translate-x-0[data-swipe="cancel"] {
  --tw-translate-x: 0px;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe="end"] {
  --tw-translate-x: var(--radix-toast-swipe-end-x);
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe="move"] {
  --tw-translate-x: var(--radix-toast-swipe-move-x);
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.data-\[state\=on\]\:bg-accent[data-state="on"] {
  background-color: hsl(0 0% 96.1%);
  background-color: hsl(var(--accent));
}

.data-\[state\=open\]\:bg-accent[data-state="open"] {
  background-color: hsl(0 0% 96.1%);
  background-color: hsl(var(--accent));
}

.data-\[state\=on\]\:text-accent-foreground[data-state="on"] {
  color: hsl(0 0% 9%);
  color: hsl(var(--accent-foreground));
}

.data-\[state\=open\]\:text-muted-foreground[data-state="open"] {
  color: hsl(0 0% 45.1%);
  color: hsl(var(--muted-foreground));
}

.data-\[swipe\=move\]\:transition-none[data-swipe="move"] {
  transition-property: none;
}

.data-\[state\=open\]\:animate-in[data-state="open"] {
  animation-name: enter;
  animation-duration: 150ms;
  --tw-enter-opacity: initial;
  --tw-enter-scale: initial;
  --tw-enter-rotate: initial;
  --tw-enter-translate-x: initial;
  --tw-enter-translate-y: initial;
}

.data-\[state\=closed\]\:animate-out[data-state="closed"] {
  animation-name: exit;
  animation-duration: 150ms;
  --tw-exit-opacity: initial;
  --tw-exit-scale: initial;
  --tw-exit-rotate: initial;
  --tw-exit-translate-x: initial;
  --tw-exit-translate-y: initial;
}

.data-\[swipe\=end\]\:animate-out[data-swipe="end"] {
  animation-name: exit;
  animation-duration: 150ms;
  --tw-exit-opacity: initial;
  --tw-exit-scale: initial;
  --tw-exit-rotate: initial;
  --tw-exit-translate-x: initial;
  --tw-exit-translate-y: initial;
}

.data-\[state\=closed\]\:fade-out-0[data-state="closed"] {
  --tw-exit-opacity: 0;
}

.data-\[state\=closed\]\:fade-out-80[data-state="closed"] {
  --tw-exit-opacity: 0.8;
}

.data-\[state\=open\]\:fade-in-0[data-state="open"] {
  --tw-enter-opacity: 0;
}

.data-\[state\=closed\]\:zoom-out-95[data-state="closed"] {
  --tw-exit-scale: .95;
}

.data-\[state\=open\]\:zoom-in-95[data-state="open"] {
  --tw-enter-scale: .95;
}

.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state="closed"] {
  --tw-exit-translate-x: -50%;
}

.data-\[state\=closed\]\:slide-out-to-right-full[data-state="closed"] {
  --tw-exit-translate-x: 100%;
}

.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state="closed"] {
  --tw-exit-translate-y: -48%;
}

.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state="open"] {
  --tw-enter-translate-x: -50%;
}

.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state="open"] {
  --tw-enter-translate-y: -48%;
}

.data-\[state\=open\]\:slide-in-from-top-full[data-state="open"] {
  --tw-enter-translate-y: -100%;
}

@media (min-width: 640px) {

  .sm\:bottom-0 {
    bottom: 0px;
  }

  .sm\:right-0 {
    right: 0px;
  }

  .sm\:top-auto {
    top: auto;
  }

  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:flex-col {
    flex-direction: column;
  }

  .sm\:justify-end {
    justify-content: flex-end;
  }

  .sm\:space-x-2 > :not([hidden]) ~ :not([hidden]) {
    --tw-space-x-reverse: 0;
    margin-right: calc(0.5rem * var(--tw-space-x-reverse));
    margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse)));
  }

  .sm\:rounded-lg {
    border-radius: 0.5rem;
    border-radius: var(--radius);
  }

  .sm\:text-left {
    text-align: left;
  }

  .data-\[state\=open\]\:sm\:slide-in-from-bottom-full[data-state="open"] {
    --tw-enter-translate-y: 100%;
  }
}

@media (min-width: 768px) {

  .md\:max-w-\[420px\] {
    max-width: 420px;
  }
}

.\[\&\+div\]\:text-xs+div {
  font-size: 0.75rem;
  line-height: 1rem;
}

.\[\&_svg\]\:pointer-events-none svg {
  pointer-events: none;
}

.\[\&_svg\]\:size-4 svg {
  width: 1rem;
  height: 1rem;
}

.\[\&_svg\]\:shrink-0 svg {
  flex-shrink: 0;
}

/* PageBurn — full hardware reader UI
   Styling is variable-driven so SKINS (chassis) and THEMES (screen)
   can be swapped independently via data-attributes.
   ─────────────────────────────────────────────────────────────── */

:root {
  --pb-bg: #000000;
  --pb-amber: #f59e0b;
  --pb-dim: #6b7280;
  --pb-dim-2: #555;
}

html, body, #root { height: 100%; background: #000; }
body { overflow: hidden; }

.App {
  height: 100vh;
  width: 100vw;
  background: #000;
}

/* ============================================================
   ROOT — defines DEFAULT skin variables (overridden by [data-skin])
   ============================================================ */
.pb-root {
  /* device chassis */
  --device-bg-1: #2e2e2e;
  --device-bg-2: #1a1a1a;
  --device-bg-3: #111111;
  --device-text: #6b7280;
  --device-text-strong: #d1d5db;
  --device-border-light: rgba(255, 255, 255, 0.06);
  --device-border-light-2: rgba(255, 255, 255, 0.08);
  --device-border-dark: rgba(0, 0, 0, 0.6);
  --device-border-dark-2: rgba(0, 0, 0, 0.8);
  --device-button-bg-1: #222225;
  --device-button-bg-2: #151517;
  --device-button-border: #2a2a2a;
  --device-shadow-step: #050505;
  --device-shadow: 0 8px 32px rgba(0, 0, 0, 0.8),
                   0 2px 4px rgba(0, 0, 0, 0.9),
                   inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --device-stage-glow: drop-shadow(0 0 40px rgba(0, 0, 0, 0.95));
  --accent: #e07b39;
  --accent-warm: #2a1800;
  --accent-warm-step: #1a0800;

  /* default DISPLAY THEME variables (AMBER) — overridden by [data-theme] */
  --screen-bg: #0b0f18;
  --screen-bg-elevated: #11172a;
  --screen-text: #ffffff;
  --screen-orp: #e07b39;
  --screen-orp-glow: rgba(224, 123, 57, 0.55);
  --screen-guide: #f59e0b;
  --screen-guide-glow: rgba(245, 158, 11, 0.6);
  --screen-hud: #6b7280;
  --screen-hud-strong: #9ca3af;
  --screen-scanline: rgba(255, 255, 255, 0.035);
  --screen-vignette: rgba(0, 0, 0, 0.65);

  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 16px calc(110px + env(safe-area-inset-bottom, 0px));
  background: #000000;
  background: var(--pb-bg);
  box-sizing: border-box;
  overflow: hidden;
  color: #e5e7eb;
}

/* ============================================================
   STAGE — wraps both devices, applies outer glow
   ============================================================ */
.pb-stage {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  justify-content: center;
  filter: var(--device-stage-glow);
}

/* ============================================================
   DEVICE SHELL
   ============================================================ */
.pb-device {
  background: linear-gradient(180deg,
    var(--device-bg-1) 0%,
    var(--device-bg-2) 40%,
    var(--device-bg-3) 100%);
  border-top: 1px solid var(--device-border-light);
  border-left: 1px solid var(--device-border-light-2);
  border-right: 1px solid var(--device-border-dark);
  border-bottom: 1px solid var(--device-border-dark-2);
  box-shadow: var(--device-shadow);
  position: relative;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 26px 18px 24px;
  transition: background 0.4s ease, border-color 0.4s ease;
}

.pb-device--top {
  border-radius: 24px 24px 16px 16px;
  padding-top: 12px;
  padding-bottom: 22px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.pb-device--bottom {
  border-radius: 16px 16px 36px 36px;
  padding-top: 22px;
  padding-bottom: 38px;
}

/* in non-reader views, the top device expands to fill */
.pb-root[data-view]:not([data-view="reader"]) .pb-device--top {
  flex: 1 1 auto;
}
.pb-root[data-view]:not([data-view="reader"]) .pb-gap {
  flex: 0 0 16px;
  min-height: 16px;
}

/* ============================================================
   STATUS BAR
   ============================================================ */
.pb-statusbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-family: "Share Tech Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--device-text);
  padding: 6px 4px 14px;
}
.pb-statusbar__left { text-align: left; }
.pb-statusbar__center { text-align: center; }
.pb-statusbar__right { text-align: right; }

.pb-led {
  display: inline-block;
  width: 7px; height: 7px; border-radius: 50%;
  background: #3a0d0d;
  box-shadow: 0 0 0 1px #1f0606 inset;
  transition: background 0.2s ease;
}
.pb-led--on {
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.9), 0 0 16px rgba(239, 68, 68, 0.45);
  animation: pb-led-pulse 1s ease-in-out infinite;
}
@keyframes pb-led-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.88); }
}

/* ============================================================
   CRT SCREEN
   ============================================================ */
.pb-screen {
  position: relative;
  aspect-ratio: 2.8 / 1;
  width: 100%;
  background: var(--screen-bg);
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #050505;
  box-shadow:
    inset 0 2px 8px rgba(0, 0, 0, 0.9),
    inset 0 0 24px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(14, 20, 35, 0.9),
    0 2px 6px rgba(0, 0, 0, 0.4);
  transition: background 0.4s ease;
}
.pb-screen--full {
  aspect-ratio: auto;
  flex: 1 1 auto;
  min-height: 0;
}

.pb-screen__scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    var(--screen-scanline) 0px,
    var(--screen-scanline) 1px,
    rgba(0, 0, 0, 0) 1px,
    rgba(0, 0, 0, 0) 3px
  );
  pointer-events: none;
  mix-blend-mode: screen;
}
.pb-screen__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 55%, var(--screen-vignette) 100%);
  pointer-events: none;
}
.pb-screen__hud {
  position: absolute;
  left: 10px; right: 10px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: "Share Tech Mono", monospace;
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--screen-hud);
  z-index: 2;
}
.pb-screen__hud--top { top: 8px; }
.pb-screen__hud--bottom { bottom: 7px; }
.pb-screen__title { color: var(--screen-hud-strong); letter-spacing: 0.28em; }

/* RSVP stage */
.pb-rsvp {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  z-index: 1;
}
.pb-guideline { display: flex; align-items: center; gap: 12px; }
.pb-guideline__bar {
  display: inline-block; width: 20px; height: 1px;
  background: var(--screen-guide);
  opacity: 0.85;
  box-shadow: 0 0 6px var(--screen-guide-glow);
}
.pb-guideline__dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--screen-guide);
  box-shadow: 0 0 6px var(--screen-guide-glow);
}
.pb-word {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.02em;
  color: var(--screen-text);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  line-height: 1;
}
.pb-word__orp {
  color: var(--screen-orp);
  text-shadow: 0 0 10px var(--screen-orp-glow);
}

/* In-screen view container (login/register/library/etc) */
.pb-screen__view {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 12px 14px 14px;
  box-sizing: border-box;
  overflow-y: auto;
  color: var(--screen-text);
}

/* ============================================================
   BRANDLINES
   ============================================================ */
.pb-brandline {
  margin-top: 14px;
  text-align: center;
  font-family: "Orbitron", sans-serif;
  font-size: 9px;
  letter-spacing: 0.38em;
  color: #4b5563;
}
.pb-brandline__burn { color: #8a4a1f; text-shadow: 0 0 6px rgba(224, 123, 57, 0.3); }
.pb-brandline--foot {
  font-size: 7px; color: #555; color: var(--pb-dim-2);
  letter-spacing: 0.4em; margin-top: 16px; margin-bottom: 6px;
}

.pb-gap { flex: 0 0 16px; height: 16px; background: transparent; }

/* ============================================================
   BOTTOM PANEL
   ============================================================ */
.pb-panel {
  max-height: 0; overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
              margin 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
              opacity 0.35s ease;
  margin: 0; opacity: 0;
}
.pb-panel--open { max-height: 320px; margin: 0 0 14px 0; opacity: 1; }
.pb-panel__inner {
  background: var(--screen-bg);
  border: 1px solid color-mix(in srgb, var(--screen-orp) 28%, transparent);
  border-radius: 10px;
  padding: 14px 14px 12px;
  color: var(--screen-text);
}
.pb-panel__wpm {
  text-align: center;
  font-family: "Orbitron", sans-serif;
  font-size: 22px; letter-spacing: 0.12em;
  color: var(--screen-orp);
  text-shadow: 0 0 10px var(--screen-orp-glow);
}
.pb-panel__label {
  text-align: center;
  font-family: "Share Tech Mono", monospace;
  font-size: 9px; letter-spacing: 0.32em; color: var(--screen-hud);
  margin: 2px 0 10px;
}

.pb-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px;
  background: color-mix(in srgb, var(--screen-text) 8%, transparent);
  border-radius: 999px; outline: none;
  margin: 6px 0 12px;
}
.pb-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--screen-orp);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--screen-orp) 25%, transparent),
              0 0 10px var(--screen-orp-glow);
  cursor: pointer; border: none;
}
.pb-slider::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--screen-orp);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--screen-orp) 25%, transparent),
              0 0 10px var(--screen-orp-glow);
  cursor: pointer; border: none;
}

.pb-rows { display: flex; flex-direction: column; gap: 6px; }
.pb-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 4px;
  border-top: 1px dashed color-mix(in srgb, var(--screen-hud) 25%, transparent);
  background: transparent;
  border-left: none; border-right: none; border-bottom: none;
  width: 100%; font: inherit; text-align: left;
}
.pb-row:first-child { border-top: none; }
.pb-row--btn {
  cursor: pointer;
  transition: background 0.15s ease, transform 0.08s ease;
  -webkit-tap-highlight-color: transparent;
}
.pb-row--btn:hover { background: color-mix(in srgb, var(--screen-text) 4%, transparent); }
.pb-row--btn:active {
  background: color-mix(in srgb, var(--screen-orp) 10%, transparent);
  transform: translateY(1px);
}
.pb-row__k {
  font-family: "Share Tech Mono", monospace;
  font-size: 9px; letter-spacing: 0.28em;
  color: var(--screen-hud);
  text-transform: uppercase;
}
.pb-row__v {
  font-family: "Share Tech Mono", monospace;
  font-size: 9px; letter-spacing: 0.28em;
  color: var(--screen-orp);
  text-transform: uppercase;
}
.pb-row--on .pb-row__v { text-shadow: 0 0 8px var(--screen-orp-glow); }

/* ============================================================
   BUTTONS ROW
   ============================================================ */
.pb-buttons {
  display: flex; justify-content: center; align-items: center;
  gap: 12px; margin-top: 10px;
}
.pb-btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--device-button-border);
  background: linear-gradient(180deg, var(--device-button-bg-1) 0%, var(--device-button-bg-2) 100%);
  color: var(--device-text-strong);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  box-shadow:
    0 5px 0 var(--device-shadow-step),
    0 6px 12px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.pb-btn:hover { color: #fff; }
.pb-btn:active {
  transform: translateY(3px);
  box-shadow:
    0 2px 0 var(--device-shadow-step),
    0 3px 6px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.pb-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.pb-btn--hamburger { width: 60px; height: 44px; border-radius: 12px; }
.pb-btn--square { width: 44px; height: 44px; border-radius: 12px; }
.pb-btn--on { color: var(--accent); }
.pb-btn--play {
  background: linear-gradient(180deg, #3a2008 0%, var(--accent-warm) 100%);
  border-color: #4a2a10;
  color: var(--accent);
  box-shadow:
    0 5px 0 var(--accent-warm-step),
    0 6px 16px rgba(224, 123, 57, 0.2),
    inset 0 1px 0 rgba(224, 123, 57, 0.15);
}
.pb-btn--play:hover {
  box-shadow:
    0 5px 0 var(--accent-warm-step),
    0 6px 20px rgba(224, 123, 57, 0.35),
    inset 0 1px 0 rgba(224, 123, 57, 0.22);
}
.pb-btn--play:active {
  transform: translateY(3px);
  box-shadow:
    0 2px 0 var(--accent-warm-step),
    0 3px 8px rgba(224, 123, 57, 0.25),
    inset 0 1px 0 rgba(224, 123, 57, 0.12);
}

/* ============================================================
   SPLASH
   ============================================================ */
.pb-splash {
  position: fixed; inset: 0; z-index: 100;
  background: #000;
  display: flex; align-items: center; justify-content: center;
  animation: pb-splash-out 0.45s ease-in 1.4s forwards;
}
.pb-splash__display {
  position: relative;
  width: 80%; max-width: 360px;
  aspect-ratio: 2.8 / 1;
  background: #0b0f18;
  border-radius: 10px;
  border: 2px solid #050505;
  box-shadow:
    inset 0 2px 8px rgba(0, 0, 0, 0.9),
    inset 0 0 24px rgba(0, 0, 0, 0.6),
    0 0 50px rgba(224, 123, 57, 0.18);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.pb-splash__scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.04) 0px,
    rgba(255, 255, 255, 0.04) 1px,
    rgba(0, 0, 0, 0) 1px,
    rgba(0, 0, 0, 0) 3px
  );
  pointer-events: none;
}
.pb-splash__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
}
.pb-splash__guide {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
}
.pb-splash__guide--top { top: 30%; }
.pb-splash__guide--bottom { bottom: 30%; }
.pb-splash__word {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
  z-index: 2;
}
.pb-splash__caption {
  position: absolute; bottom: 8px; left: 0; right: 0; text-align: center;
  font-family: "Share Tech Mono", monospace;
  font-size: 8px; letter-spacing: 0.32em; color: #6b7280;
}
@keyframes pb-splash-out { to { opacity: 0; visibility: hidden; } }

/* ============================================================
   EYE CARE BREAK
   ============================================================ */
.pb-break {
  position: absolute; inset: 0; z-index: 5;
  background: rgba(0, 0, 0, 0.96);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  animation: pb-break-in 0.35s ease;
}
.pb-break__label {
  font-family: "Orbitron", sans-serif; font-weight: 700;
  font-size: 22px; letter-spacing: 0.55em;
  color: var(--accent);
  text-shadow: 0 0 14px rgba(224, 123, 57, 0.5);
  animation: pb-break-blink 1s ease-in-out infinite;
  padding-left: 0.55em;
}
.pb-break__sub {
  font-family: "Share Tech Mono", monospace;
  font-size: 9px; letter-spacing: 0.32em; color: #9ca3af;
}
@keyframes pb-break-blink { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes pb-break-in { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   CUSTOMIZE SHEET (gear)
   ============================================================ */
.pb-sheet {
  position: fixed; inset: 0; z-index: 50;
  pointer-events: none;
}
.pb-sheet--open { pointer-events: auto; }
.pb-sheet__backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.68);
  opacity: 0;
  transition: opacity 0.3s ease;
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}
.pb-sheet--open .pb-sheet__backdrop { opacity: 1; }

.pb-sheet__panel {
  position: absolute;
  left: 50%; bottom: 0;
  transform: translate(-50%, 100%);
  width: 100%; max-width: 480px;
  max-height: 86vh;
  background: var(--screen-bg);
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  border: 1px solid color-mix(in srgb, var(--screen-orp) 20%, transparent);
  border-bottom: none;
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.7);
  transition: transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  color: var(--screen-text);
}
.pb-sheet--open .pb-sheet__panel { transform: translate(-50%, 0); }

.pb-sheet__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px 8px;
}
.pb-sheet__title {
  font-family: "Orbitron", sans-serif;
  font-size: 12px; letter-spacing: 0.4em; color: var(--screen-orp);
}
.pb-sheet__close {
  background: color-mix(in srgb, var(--screen-text) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--screen-text) 14%, transparent);
  color: var(--screen-text);
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}

.pb-sheet__tabs {
  display: flex; gap: 4px; padding: 0 14px;
}
.pb-sheet__tab {
  flex: 1 1;
  padding: 8px 10px;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--screen-text) 8%, transparent);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  font-family: "Share Tech Mono", monospace;
  font-size: 10px; letter-spacing: 0.28em;
  color: var(--screen-hud);
  cursor: pointer;
  transition: all 0.18s;
}
.pb-sheet__tab--on {
  background: color-mix(in srgb, var(--screen-orp) 12%, transparent);
  color: var(--screen-orp);
  border-color: color-mix(in srgb, var(--screen-orp) 40%, transparent);
}

.pb-sheet__body {
  flex: 1 1; overflow-y: auto;
  padding: 14px;
  border-top: 1px solid color-mix(in srgb, var(--screen-text) 8%, transparent);
}

.pb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
  gap: 10px;
}
.pb-tile {
  position: relative;
  display: flex; flex-direction: column; align-items: stretch;
  padding: 8px; border-radius: 10px;
  background: color-mix(in srgb, var(--screen-text) 4%, transparent);
  border: 1px solid color-mix(in srgb, var(--screen-text) 7%, transparent);
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: "Share Tech Mono", monospace;
  color: var(--screen-text);
  text-align: left;
}
.pb-tile:hover { background: color-mix(in srgb, var(--screen-text) 8%, transparent); }
.pb-tile--on {
  border-color: var(--screen-orp);
  background: color-mix(in srgb, var(--screen-orp) 10%, transparent);
  box-shadow: 0 0 0 1px var(--screen-orp), 0 0 14px var(--screen-orp-glow);
}
.pb-tile--locked { opacity: 0.55; }
.pb-tile__chip {
  width: 100%; height: 38px; border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.4);
  margin-bottom: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 -2px 4px rgba(0, 0, 0, 0.3);
}
.pb-tile__chip--screen {
  display: flex; align-items: center; justify-content: center; gap: 2px;
  font-family: "Space Mono", monospace; font-weight: 700; font-size: 16px;
  letter-spacing: 0.04em;
}
.pb-tile__name {
  font-size: 8px; letter-spacing: 0.18em; color: var(--screen-hud-strong);
}
.pb-tile__badge {
  position: absolute; top: 6px; right: 6px;
  display: inline-flex; align-items: center; gap: 3px;
  background: color-mix(in srgb, var(--screen-orp) 18%, transparent);
  color: var(--screen-orp);
  border: 1px solid color-mix(in srgb, var(--screen-orp) 45%, transparent);
  font-size: 7px; letter-spacing: 0.18em;
  padding: 2px 5px; border-radius: 4px;
}

.pb-text-input {
  display: flex; flex-direction: column; gap: 8px;
}
.pb-text-input__hint {
  font-family: "Share Tech Mono", monospace;
  font-size: 9px; letter-spacing: 0.18em; color: var(--screen-hud);
}
.pb-textarea {
  width: 100%; min-height: 130px; resize: vertical;
  background: color-mix(in srgb, var(--screen-bg) 80%, #000 20%);
  border: 1px solid color-mix(in srgb, var(--screen-orp) 25%, transparent);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--screen-text);
  font-family: "Space Mono", monospace;
  font-size: 12px;
  outline: none;
  box-sizing: border-box;
}
.pb-textarea:focus { border-color: var(--screen-orp); }
.pb-text-input__count {
  text-align: right;
  font-family: "Share Tech Mono", monospace;
  font-size: 9px; color: var(--screen-hud); letter-spacing: 0.18em;
}

.pb-sheet__nav {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 12px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid color-mix(in srgb, var(--screen-text) 8%, transparent);
}
.pb-navlink {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: calc(50% - 6px);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 10px;
  background: color-mix(in srgb, var(--screen-text) 4%, transparent);
  border: 1px solid color-mix(in srgb, var(--screen-text) 10%, transparent);
  border-radius: 8px;
  color: var(--screen-text);
  font-family: "Share Tech Mono", monospace;
  font-size: 9px; letter-spacing: 0.28em;
  cursor: pointer;
  transition: all 0.15s;
}
.pb-navlink:hover {
  background: color-mix(in srgb, var(--screen-text) 8%, transparent);
  color: var(--screen-orp);
}
.pb-navlink--gold {
  flex-basis: 100%;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--screen-orp) 22%, transparent) 0%,
    color-mix(in srgb, var(--screen-orp) 10%, transparent) 100%);
  border-color: color-mix(in srgb, var(--screen-orp) 50%, transparent);
  color: var(--screen-orp);
}

/* ============================================================
   IN-SCREEN VIEWS (Login / Library / etc)
   ============================================================ */
.pb-vhead {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
  font-family: "Share Tech Mono", monospace;
}
.pb-back {
  display: inline-flex; align-items: center; gap: 5px;
  background: linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 100%);
  border: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(0,0,0,.4);
  border-radius: 8px;
  padding: 5px 9px;
  cursor: pointer;
  font-family: "Share Tech Mono", monospace;
  font-size: 8px; letter-spacing: 0.18em;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 2px 0 rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
}
.pb-back:hover {
  background: linear-gradient(180deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.07) 100%);
  border-color: rgba(255,255,255,.26);
}
.pb-back:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.04);
}
.pb-vhead__title {
  font-family: "Orbitron", sans-serif;
  font-size: 11px; letter-spacing: 0.4em;
  color: var(--screen-text);
}
.pb-view {
  display: flex; flex-direction: column;
  height: 100%; min-height: 0;
}

/* Forms */
.pb-form { display: flex; flex-direction: column; gap: 10px; max-width: 320px; }
.pb-flabel {
  font-family: "Share Tech Mono", monospace;
  font-size: 9px; letter-spacing: 0.28em; color: var(--screen-hud);
  margin-top: 4px;
}
.pb-finput {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--screen-text);
}
.pb-finput:focus-within { border-color: var(--screen-orp); }
.pb-input {
  flex: 1 1; background: transparent; border: none; outline: none;
  color: inherit;
  font-family: "Space Mono", monospace; font-size: 13px;
}
.pb-input::placeholder { color: rgba(255, 255, 255, 0.3); }
.pb-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 10px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #3a2008 0%, #2a1800 100%);
  border: 1px solid #4a2a10;
  border-radius: 8px;
  color: var(--accent);
  font-family: "Orbitron", sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: 0.32em;
  cursor: pointer;
  box-shadow: 0 4px 0 #1a0800, 0 6px 14px rgba(224, 123, 57, 0.18);
  transition: transform 0.08s ease;
}
.pb-cta:hover { color: #fff; }
.pb-cta:active { transform: translateY(2px); box-shadow: 0 2px 0 #1a0800; }
.pb-cta:disabled { opacity: 0.4; cursor: not-allowed; }
.pb-cta--gold {
  background: linear-gradient(180deg, #d4a14c 0%, #a8772c 100%);
  border-color: #5a3d12;
  color: #1a1308;
  box-shadow: 0 4px 0 #5a3d12, 0 6px 14px rgba(212, 161, 76, 0.3);
}
.pb-cta--big { padding: 14px 18px; font-size: 13px; }
.pb-link {
  background: transparent; border: none; cursor: pointer;
  color: var(--screen-hud);
  font-family: "Share Tech Mono", monospace;
  font-size: 10px; letter-spacing: 0.24em;
  padding: 8px 0;
}
.pb-link:hover { color: var(--screen-orp); }

/* Library */
.pb-shelf {
  display: grid; grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
  gap: 10px;
}
.pb-bookcard {
  text-align: left;
  padding: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  cursor: pointer;
  display: flex; flex-direction: column; gap: 4px;
  font-family: "Share Tech Mono", monospace;
  color: var(--screen-text);
  transition: all 0.18s;
}
.pb-bookcard:hover { border-color: var(--screen-orp); }
.pb-bookcard__title {
  font-family: "Orbitron", sans-serif; font-weight: 700;
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--screen-text);
}
.pb-bookcard__author {
  font-size: 9px; color: var(--screen-hud); letter-spacing: 0.18em;
}
.pb-bookcard__meta {
  display: flex; justify-content: space-between;
  font-size: 8px; letter-spacing: 0.22em; color: var(--screen-orp);
  margin-top: 4px;
}
.pb-bookcard__bar {
  height: 2px; background: rgba(255, 255, 255, 0.06);
  border-radius: 999px; overflow: hidden;
}
.pb-bookcard__bar-fill { height: 100%; background: var(--screen-orp); }

/* Locked notice */
.pb-locked {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  gap: 12px; padding: 24px 18px;
  margin: auto; max-width: 320px;
}
.pb-locked__icon { color: var(--screen-orp); }
.pb-locked__msg {
  font-family: "Space Mono", monospace; font-size: 13px;
  color: var(--screen-text); line-height: 1.5;
}
.pb-locked__tag {
  display: inline-block;
  background: rgba(224, 123, 57, 0.1);
  border: 1px dashed rgba(224, 123, 57, 0.4);
  color: var(--accent);
  font-family: "Share Tech Mono", monospace;
  font-size: 9px; letter-spacing: 0.22em;
  padding: 5px 10px; border-radius: 4px;
}

/* Upload dropzone */
.pb-dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  padding: 36px 18px;
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  color: var(--screen-text);
  margin: auto; max-width: 320px;
}
.pb-dropzone__main {
  font-family: "Orbitron", sans-serif; font-size: 11px; letter-spacing: 0.3em;
}
.pb-dropzone__sub {
  font-family: "Share Tech Mono", monospace; font-size: 9px;
  letter-spacing: 0.24em; color: var(--screen-hud);
}

/* Account */
.pb-account { display: flex; flex-direction: column; gap: 8px; }
.pb-account__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}
.pb-account__k {
  font-family: "Share Tech Mono", monospace;
  font-size: 9px; letter-spacing: 0.28em; color: var(--screen-hud);
}
.pb-account__v {
  font-family: "Space Mono", monospace; color: var(--screen-text);
}
.pb-account__v--pro {
  color: var(--accent);
  font-weight: 700;
  text-shadow: 0 0 6px rgba(224, 123, 57, 0.3);
}
.pb-account__section {
  font-family: "Share Tech Mono", monospace;
  font-size: 9px; letter-spacing: 0.32em; color: var(--screen-hud);
  margin-top: 12px;
}
.pb-slots { display: flex; flex-direction: column; gap: 6px; }
.pb-slot {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-family: "Share Tech Mono", monospace;
  font-size: 10px; letter-spacing: 0.22em;
  color: var(--screen-hud);
}
.pb-slot--on {
  background: rgba(224, 123, 57, 0.06);
  border: 1px solid rgba(224, 123, 57, 0.3);
  color: var(--screen-text);
}
.pb-account__actions { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }

/* Upgrade pitch */
.pb-pitch {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 10px; padding: 16px 14px 24px;
  color: var(--screen-text);
}
.pb-pitch__eyebrow {
  font-family: "Share Tech Mono", monospace;
  font-size: 10px; letter-spacing: 0.4em; color: var(--accent);
}
.pb-pitch__h {
  font-family: "Orbitron", sans-serif; font-weight: 700;
  font-size: 22px; letter-spacing: 0.18em;
}
.pb-pitch__sub {
  font-family: "Space Mono", monospace; font-size: 12px;
  color: var(--screen-hud); max-width: 320px;
}
.pb-pitch__list {
  list-style: none; padding: 0; margin: 12px 0;
  display: flex; flex-direction: column; gap: 7px;
  font-family: "Space Mono", monospace; font-size: 11px;
  text-align: left;
}
.pb-pitch__list li { display: flex; align-items: center; gap: 8px; }
.pb-pitch__list svg { color: var(--accent); flex-shrink: 0; }
.pb-pitch__legal {
  font-family: "Share Tech Mono", monospace;
  font-size: 8px; letter-spacing: 0.2em; color: var(--screen-hud);
  margin-top: 6px;
}

/* ============================================================
   ===========================================================
   SKINS — chassis variant overrides
   =========================================================== */
.pb-root[data-skin="ivory"] {
  --device-bg-1: #f5eedf;
  --device-bg-2: #dfd6c2;
  --device-bg-3: #b6ac95;
  --device-text: #594c39;
  --device-text-strong: #2a2014;
  --device-border-light: rgba(255, 255, 255, 0.5);
  --device-border-light-2: rgba(255, 255, 255, 0.7);
  --device-border-dark: rgba(0, 0, 0, 0.18);
  --device-border-dark-2: rgba(0, 0, 0, 0.3);
  --device-button-bg-1: #e3d8c0;
  --device-button-bg-2: #b9ac8e;
  --device-button-border: #8a7c5e;
  --device-shadow-step: #6e6041;
}
.pb-root[data-skin="military"] {
  --device-bg-1: #4f5b48;
  --device-bg-2: #303a2c;
  --device-bg-3: #1a2118;
  --device-button-bg-1: #2c352a;
  --device-button-bg-2: #1b2218;
  --device-button-border: #475040;
  --device-shadow-step: #0a0e08;
}
.pb-root[data-skin="rose"] {
  --device-bg-1: #e9bbb1;
  --device-bg-2: #c08a7a;
  --device-bg-3: #6f3a30;
  --device-text: #4e2317;
  --device-text-strong: #2a0e08;
  --device-border-light: rgba(255, 230, 220, 0.5);
  --device-border-light-2: rgba(255, 230, 220, 0.7);
  --device-button-bg-1: #c08a7a;
  --device-button-bg-2: #8e5345;
  --device-button-border: #5e2c20;
  --device-shadow-step: #3a1a12;
}
.pb-root[data-skin="chrome"] {
  --device-bg-1: #e1e3e8;
  --device-bg-2: #97a0ad;
  --device-bg-3: #4f545d;
  --device-text: #20242c;
  --device-text-strong: #0c0d10;
  --device-border-light: rgba(255, 255, 255, 0.7);
  --device-border-light-2: rgba(255, 255, 255, 0.85);
  --device-border-dark: rgba(0, 0, 0, 0.25);
  --device-button-bg-1: #b8bcc4;
  --device-button-bg-2: #7d818a;
  --device-button-border: #3f4348;
  --device-shadow-step: #2a2d33;
}
.pb-root[data-skin="carbon"] {
  --device-bg-1: #2a2c30;
  --device-bg-2: #16181b;
  --device-bg-3: #0a0b0d;
  --device-button-bg-1: #1d1f22;
  --device-button-bg-2: #0e0f10;
  --device-button-border: #2e3036;
}
.pb-root[data-skin="titanium"] {
  --device-bg-1: #b1b6bd;
  --device-bg-2: #6e7279;
  --device-bg-3: #3b3e44;
  --device-text: #20242c;
  --device-text-strong: #ffffff;
  --device-border-light: rgba(255, 255, 255, 0.45);
  --device-button-bg-1: #8b9098;
  --device-button-bg-2: #555960;
  --device-button-border: #2f3236;
  --device-shadow-step: #1a1c1f;
}
.pb-root[data-skin="onyx"] {
  --device-bg-1: #25222b;
  --device-bg-2: #16131c;
  --device-bg-3: #07050b;
  --accent: #b58cff;
  --accent-warm: #1e0e3a;
  --accent-warm-step: #100722;
  --device-button-bg-1: #1a1822;
  --device-button-bg-2: #0d0b14;
  --device-button-border: #2a2236;
  --device-shadow-step: #050308;
}
.pb-root[data-skin="onyx"] .pb-led--on { background: #b58cff; box-shadow: 0 0 8px rgba(181, 140, 255, 0.9); }
.pb-root[data-skin="leather"] {
  --device-bg-1: #835536;
  --device-bg-2: #553218;
  --device-bg-3: #2a160c;
  --device-text: #c9aa84;
  --device-text-strong: #f0d9b6;
  --device-border-light: rgba(255, 220, 180, 0.18);
  --device-button-bg-1: #4a2c18;
  --device-button-bg-2: #2c180c;
  --device-button-border: #6b4426;
  --device-shadow-step: #160a04;
}
.pb-root[data-skin="racing"] {
  --device-bg-1: #b51e1e;
  --device-bg-2: #7a0d0d;
  --device-bg-3: #380404;
  --device-text: #ffd5d5;
  --device-text-strong: #ffffff;
  --device-button-bg-1: #1a1a1a;
  --device-button-bg-2: #0d0d0d;
  --device-button-border: #1f1f1f;
  --device-shadow-step: #050505;
}
.pb-root[data-skin="midnight"] {
  --device-bg-1: #2c4977;
  --device-bg-2: #142547;
  --device-bg-3: #060e22;
  --device-text: #98b6e0;
  --device-text-strong: #e7eefc;
  --accent: #5fa8ff;
  --accent-warm: #082752;
  --accent-warm-step: #04132e;
  --device-button-bg-1: #16223e;
  --device-button-bg-2: #08122a;
  --device-button-border: #2a3f6c;
  --device-shadow-step: #02060f;
}
.pb-root[data-skin="midnight"] .pb-led--on { background: #5fa8ff; box-shadow: 0 0 8px rgba(95, 168, 255, 0.9); }
.pb-root[data-skin="gold"] {
  --device-bg-1: #f0cf6e;
  --device-bg-2: #b78925;
  --device-bg-3: #5a4310;
  --device-text: #5a4310;
  --device-text-strong: #1c1407;
  --device-border-light: rgba(255, 240, 200, 0.5);
  --device-border-light-2: rgba(255, 240, 200, 0.7);
  --device-button-bg-1: #1a1408;
  --device-button-bg-2: #0c0904;
  --device-button-border: #4a3a18;
  --device-shadow-step: #0a0804;
}

/* ============================================================
   DISPLAY THEMES — CRT screen variants
   ============================================================ */
/* AMBER is default — handled by base .pb-screen vars */

.pb-root[data-theme="green"] {
  --screen-bg: #001207;
  --screen-text: #8dff9e;
  --screen-orp: #d6ffe0;
  --screen-orp-glow: rgba(214, 255, 224, 0.85);
  --screen-guide: #5fff77;
  --screen-guide-glow: rgba(95, 255, 119, 0.75);
  --screen-hud: #4fd66a;
  --screen-hud-strong: #93f0a3;
  --screen-scanline: rgba(120, 255, 141, 0.05);
}

.pb-root[data-theme="paper"] {
  --screen-bg: #ece4d0;
  --screen-text: #1b1a14;
  --screen-orp: #a0521a;
  --screen-orp-glow: rgba(160, 82, 26, 0);
  --screen-guide: #a0521a;
  --screen-guide-glow: rgba(160, 82, 26, 0);
  --screen-hud: #5c4f3c;
  --screen-hud-strong: #2a2418;
  --screen-scanline: rgba(0, 0, 0, 0);
  --screen-vignette: rgba(140, 120, 95, 0.22);
}
.pb-root[data-theme="paper"] .pb-screen__scanlines { opacity: 0; }

.pb-root[data-theme="noir"] {
  --screen-bg: #050505;
  --screen-text: #f4f4f5;
  --screen-orp: #ffffff;
  --screen-orp-glow: rgba(255, 255, 255, 0.5);
  --screen-guide: #a8a29e;
  --screen-guide-glow: rgba(255, 255, 255, 0.25);
  --screen-hud: #9ca3af;
  --screen-hud-strong: #e5e7eb;
}

.pb-root[data-theme="ink"] {
  --screen-bg: #08111f;
  --screen-text: #cfe1ff;
  --screen-orp: #5fa8ff;
  --screen-orp-glow: rgba(95, 168, 255, 0.8);
  --screen-guide: #5fa8ff;
  --screen-guide-glow: rgba(95, 168, 255, 0.6);
  --screen-hud: #6f8cb5;
  --screen-hud-strong: #b8d2ff;
  --screen-scanline: rgba(95, 168, 255, 0.05);
}

.pb-root[data-theme="dusk"] {
  --screen-bg: #1c0c14;
  --screen-text: #ffd2dd;
  --screen-orp: #ff6c8e;
  --screen-orp-glow: rgba(255, 108, 142, 0.65);
  --screen-guide: #ff6c8e;
  --screen-guide-glow: rgba(255, 108, 142, 0.55);
  --screen-hud: #b07685;
  --screen-hud-strong: #ffe1e8;
  --screen-scanline: rgba(255, 108, 142, 0.04);
}

.pb-root[data-theme="crimson"] {
  --screen-bg: #1a0707;
  --screen-text: #ffe6e6;
  --screen-orp: #ff3838;
  --screen-orp-glow: rgba(255, 56, 56, 0.7);
  --screen-guide: #ff3838;
  --screen-guide-glow: rgba(255, 56, 56, 0.6);
  --screen-hud: #b06060;
  --screen-hud-strong: #ffd0d0;
  --screen-scanline: rgba(255, 56, 56, 0.05);
}

.pb-root[data-theme="matrix"] {
  --screen-bg: #000800;
  --screen-text: #39ff14;
  --screen-orp: #a3ff7d;
  --screen-orp-glow: rgba(57, 255, 20, 0.85);
  --screen-guide: #39ff14;
  --screen-guide-glow: rgba(57, 255, 20, 0.7);
  --screen-hud: #2bb50c;
  --screen-hud-strong: #6dff4a;
  --screen-scanline: rgba(57, 255, 20, 0.07);
}

.pb-root[data-theme="electric"] {
  --screen-bg: #0a0420;
  --screen-text: #e3d4ff;
  --screen-orp: #9b51ff;
  --screen-orp-glow: rgba(155, 81, 255, 0.85);
  --screen-guide: #9b51ff;
  --screen-guide-glow: rgba(155, 81, 255, 0.7);
  --screen-hud: #7a5db0;
  --screen-hud-strong: #d4b8ff;
  --screen-scanline: rgba(155, 81, 255, 0.06);
}

.pb-root[data-theme="deepsea"] {
  --screen-bg: #02161e;
  --screen-text: #bff3ff;
  --screen-orp: #26c5d9;
  --screen-orp-glow: rgba(38, 197, 217, 0.7);
  --screen-guide: #26c5d9;
  --screen-guide-glow: rgba(38, 197, 217, 0.6);
  --screen-hud: #4f8b97;
  --screen-hud-strong: #b8eaf2;
  --screen-scanline: rgba(38, 197, 217, 0.05);
}

.pb-root[data-theme="clockwork"] {
  --screen-bg: #1a1308;
  --screen-text: #f0e3c2;
  --screen-orp: #d4a14c;
  --screen-orp-glow: rgba(212, 161, 76, 0.7);
  --screen-guide: #d4a14c;
  --screen-guide-glow: rgba(212, 161, 76, 0.6);
  --screen-hud: #8a7340;
  --screen-hud-strong: #ddc88a;
  --screen-scanline: rgba(212, 161, 76, 0.05);
}

.pb-root[data-theme="magenta"] {
  --screen-bg: #180520;
  --screen-text: #ffd6f7;
  --screen-orp: #ff3ad0;
  --screen-orp-glow: rgba(255, 58, 208, 0.75);
  --screen-guide: #ff3ad0;
  --screen-guide-glow: rgba(255, 58, 208, 0.65);
  --screen-hud: #a85090;
  --screen-hud-strong: #ffb3ec;
  --screen-scanline: rgba(255, 58, 208, 0.05);
}

/* ============================================================
   SAFETY
   ============================================================ */
@media (max-height: 620px) {
  .pb-word { font-size: 22px; }
  .pb-panel--open { max-height: 280px; }
}

/* ============================================================
   LOGIN POPUP ANIMATION
   ============================================================ */
@keyframes pb-login-popup {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ============================================================
   LOADING SPINNERS
   ============================================================ */
@keyframes pbSpinner { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes pbSpinnerPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

