@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Roboto+Mono:wght@400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  font-family: 'Roboto Mono', 'Noto Sans Arabic', system-ui, monospace;
  background: #08090b;
  color: #f4f1f8;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --purple: #bb3039;
  --purple-bright: #ed5961;
  --muted: #85808f;
  --panel: rgba(12, 13, 15, .94);
  --line: rgba(202, 202, 208, .14);
}
* { box-sizing: border-box; }
html, body { min-width: 320px; min-height: 100%; margin: 0; }
body { min-height: 100vh; min-height: 100svh; overflow-x: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.screen {
  isolation: isolate; position: relative; display: flex; min-height: 100vh; min-height: 100svh;
  flex-direction: column; align-items: center; overflow-x: hidden; overflow-y: auto;
  padding: max(18px, env(safe-area-inset-top)) 22px max(24px, env(safe-area-inset-bottom));
  background: radial-gradient(ellipse at 50% 34%, rgba(91, 36, 40, .17), transparent 45%),
    radial-gradient(ellipse at 50% 100%, rgba(48, 49, 52, .22), transparent 48%),
    linear-gradient(155deg, #111214 0%, #090a0c 58%, #050607 100%);
}
.screen::before { position: fixed; z-index: -1; inset: 0; content: ''; pointer-events: none; background-image: radial-gradient(circle, rgba(189, 116, 120, .11) 1px, transparent 1.35px); background-size: 34px 34px; opacity: .3; mask-image: linear-gradient(to bottom, transparent, #000 9%, #000 92%, transparent); }
.screen-grain { position: fixed; z-index: -1; inset: 0; pointer-events: none; opacity: .08; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E"); }
.site-header { z-index: 1; display: flex; width: min(100%, 520px); min-height: 54px; align-items: center; justify-content: space-between; }
.site-logo { width: 48px; height: 48px; border: 1px solid rgba(211, 77, 83, .38); border-radius: 13px; object-fit: cover; box-shadow: 0 0 22px rgba(193, 45, 54, .12); }
.language-toggle { min-height: 39px; padding: 0 15px; border: 1px solid var(--line); border-radius: 7px; color: #e0dfe2; background: linear-gradient(145deg, rgba(35, 36, 39, .92), rgba(15, 16, 18, .94)); font-size: 12px; font-weight: 700; cursor: pointer; }
.language-toggle:hover { border-color: rgba(218, 78, 84, .45); background: rgba(64, 31, 34, .46); }
.access-card { width: min(100%, 440px); margin: clamp(92px, 15vh, 138px) auto 50px; text-align: center; animation: settle-in 650ms cubic-bezier(.2,.8,.2,1) both; }
.intro .eyebrow, .dashboard-intro .eyebrow { margin: 0 0 8px; color: #9e86dc; }
.eyebrow { display: block; color: #9a92a8; font-size: 10px; font-weight: 700; letter-spacing: .17em; line-height: 1.5; text-transform: uppercase; }
.intro h1, .dashboard-intro h1 { margin: 0; color: #f7f4fb; font-family: 'Barlow Condensed', Arial, sans-serif; font-size: clamp(27px, 7vw, 34px); font-weight: 800; letter-spacing: .06em; line-height: 1.12; }
.intro > p:last-child { margin: 11px 0 0; color: #898391; font-size: 11px; line-height: 1.7; }
.key-form { position: relative; margin-top: 37px; text-align: start; }
.field-label { position: absolute; z-index: 2; top: -10px; inset-inline-start: 18px; padding: 0 9px; color: #aaa1b8; background: #0a0810; font-size: 10px; font-weight: 700; letter-spacing: .08em; line-height: 1.4; }
.key-field { display: flex; min-height: 58px; align-items: center; gap: 9px; padding: 6px 9px 6px 18px; border: 1px solid rgba(152, 140, 163, .28); border-radius: 8px; background: rgba(12, 10, 17, .9); transition: border-color 180ms ease, box-shadow 180ms ease; }
[dir="rtl"] .key-field { padding-right: 18px; padding-left: 9px; }
.key-field:focus-within { border-color: rgba(164, 138, 255, .75); box-shadow: 0 0 23px rgba(113, 75, 194, .14); }
.key-field input { min-width: 0; flex: 1; border: 0; outline: 0; color: #f0eaff; background: transparent; font-size: clamp(12px, 3.4vw, 16px); font-weight: 500; letter-spacing: .08em; text-align: left; }
.key-field input::placeholder { color: #514b5a; opacity: 1; }
.paste-button { display: inline-flex; min-width: 104px; min-height: 42px; flex: 0 0 auto; align-items: center; justify-content: center; gap: 7px; padding: 0 11px; border: 1px solid rgba(130, 99, 203, .3); border-radius: 6px; color: #d1c1f3; background: rgba(91, 63, 147, .2); font-size: 11px; font-weight: 700; cursor: pointer; }
.paste-button:hover { background: rgba(111, 75, 188, .38); }
.paste-button svg { width: 18px; height: 18px; }
.status, .copy-status, .access-status { min-height: 18px; margin: 7px 4px 5px; color: #c7c4c6; font-size: 10px; line-height: 1.7; }
.status[data-kind="error"], .copy-status[data-kind="error"] { color: #e49393; }
.status[data-kind="success"], .copy-status[data-kind="success"] { color: #a7d7b5; }
.maintenance-banner { margin: 20px 0 -15px; padding: 11px 13px; border: 1px solid rgba(208, 92, 92, .43); border-radius: 7px; color: #e5b6b6; background: rgba(69, 24, 30, .38); font-family: Arial, sans-serif; font-size: 12px; line-height: 1.7; text-align: center; }
.maintenance-banner[hidden] { display: none; }
.key-field input:disabled, .paste-button:disabled { opacity: .48; cursor: not-allowed; }
.continue-button { position: relative; display: flex; width: 100%; min-height: 53px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 7px; color: #746e7e; background: #1a1720; font-family: 'Barlow Condensed', Arial, sans-serif; font-size: 22px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; cursor: not-allowed; transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease; }
.continue-button:not(:disabled) { color: #fff; background: linear-gradient(100deg, #7044d1, #895aff 60%, #6139b8); box-shadow: 0 0 27px rgba(113, 75, 194, .27); cursor: pointer; }
.continue-button:not(:disabled):hover { background: linear-gradient(100deg, #8057dc, #a17cff 60%, #754ac9); }
.continue-arrow { position: absolute; inset-inline-end: 20px; width: 18px; height: 18px; opacity: 0; transition: opacity 160ms ease, transform 160ms ease; }
.continue-button:not(:disabled) .continue-arrow { opacity: .9; }
[dir="rtl"] .continue-arrow { transform: rotate(180deg); }
.continue-button:not(:disabled):hover .continue-arrow { translate: 3px 0; }

.license-dashboard { width: min(100%, 520px); margin: 26px auto 18px; animation: settle-in 450ms ease both; }
.license-dashboard[hidden], #key-entry[hidden] { display: none; }
.dashboard-intro { margin: 0 0 16px; text-align: center; }
.dashboard-intro h1 { font-size: clamp(23px, 6vw, 29px); }
.timer-card, .key-card, .metadata-card, .app-card { border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(145deg, rgba(29, 30, 33, .97), rgba(10, 11, 13, .98)); box-shadow: 0 13px 32px rgba(0, 0, 0, .24); }
.timer-card { position: relative; overflow: hidden; padding: 8px 15px 9px; border-color: rgba(226, 226, 230, .11); border-radius: 17px; background: radial-gradient(ellipse at 50% 44%, rgba(107, 34, 39, .14), transparent 55%), linear-gradient(150deg, #1b1c1f 0%, #0d0e10 54%, #070809 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045), 0 15px 35px rgba(0, 0, 0, .38); }
.timer-card::before { position: absolute; inset: 0; content: ''; pointer-events: none; background: radial-gradient(ellipse at 50% 42%, rgba(221, 55, 64, .07), transparent 57%), linear-gradient(145deg, rgba(255, 255, 255, .025), transparent 48%); }
.subscription-action { width: 100%; margin-top: 12px; }
.timer-heading, .key-card-heading, .progress-caption, .key-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.timer-heading .eyebrow, .key-card-heading .eyebrow { color: #b8b3b5; }
.timer-heading { position: absolute; z-index: 2; top: 8px; inset-inline: 8px; }
.license-status-badge { display: inline-flex; min-height: 22px; align-items: center; gap: 6px; padding: 2px 8px; border: 1px solid rgba(92, 210, 144, .24); border-radius: 999px; color: #b4f0cb; background: linear-gradient(135deg, rgba(34, 104, 68, .3), rgba(11, 40, 27, .34)); box-shadow: inset 0 1px rgba(255, 255, 255, .035); font-size: 8px; font-weight: 700; letter-spacing: .12em; line-height: 1; }
.status-badge-dot { width: 5px; height: 5px; flex: 0 0 auto; border-radius: 50%; background: #54dc8d; box-shadow: 0 0 8px rgba(84, 220, 141, .56); }
.refresh-button { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(228, 228, 231, .14); border-radius: 50%; color: #c4c4c7; background: rgba(14, 15, 17, .82); opacity: .66; cursor: pointer; }
.refresh-button svg { width: 18px; height: 18px; }
.countdown-dial { position: relative; isolation: isolate; display: flex; width: min(100%, 316px); aspect-ratio: 1; flex-direction: column; align-items: center; justify-content: center; margin: 0 auto; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .065), rgba(132, 48, 53, .055) 45%, transparent 73%); box-shadow: 0 0 30px rgba(198, 39, 49, .055); }
.countdown-dial::before { position: absolute; z-index: 0; inset: 0; border-radius: 50%; background: repeating-conic-gradient(from -90deg, rgba(255, 255, 255, .94) 0deg 1.2deg, transparent 1.2deg 7.5deg); content: ''; opacity: .95; -webkit-mask: radial-gradient(circle, transparent 0 67%, #000 68% 79%, transparent 80%); mask: radial-gradient(circle, transparent 0 67%, #000 68% 79%, transparent 80%); pointer-events: none; }
.countdown-dial::after { position: absolute; z-index: 0; inset: 17%; border: 1px solid rgba(221, 63, 71, .065); border-radius: 50%; content: ''; box-shadow: inset 0 0 25px rgba(190, 35, 44, .035), 0 0 18px rgba(190, 35, 44, .04); pointer-events: none; }
.countdown-dial > * { position: relative; z-index: 1; }
.countdown-logo { width: clamp(84px, 24vw, 112px); height: clamp(84px, 24vw, 112px); margin: 0 0 8px; border: 1px solid rgba(222, 81, 87, .22); border-radius: 10px; object-fit: contain; box-shadow: 0 8px 24px rgba(0, 0, 0, .45), 0 0 22px rgba(213, 48, 57, .13); }
.countdown-value { display: flex; max-width: 100%; align-items: baseline; justify-content: center; gap: clamp(10px, 2.4vw, 14px); margin: 0; color: #f5f5f5; font: 800 clamp(25px, 7vw, 35px)/1.08 'Barlow Condensed', Arial, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: .035em; text-align: center; text-shadow: 0 2px 12px rgba(255, 255, 255, .13); white-space: nowrap; }
.countdown-segment { display: inline-flex; align-items: baseline; gap: .2em; }
.countdown-unit { color: #c5c5c8; font-size: .54em; font-weight: 700; letter-spacing: .06em; }
.countdown-note { margin: 6px 0 0; color: #9a999d; font-size: 9px; font-weight: 700; letter-spacing: .2em; text-align: center; text-transform: uppercase; }
[dir="rtl"] .license-status-badge { letter-spacing: 0; }
.progress-track { height: 8px; overflow: hidden; border: 1px solid rgba(215, 215, 220, .14); border-radius: 99px; background: #17181a; }
.progress-fill { display: block; width: 100%; height: 100%; border-radius: inherit; background: repeating-linear-gradient(115deg, #9f252e 0 8px, #d44a52 8px 13px); box-shadow: 0 0 12px rgba(190, 40, 49, .28); transition: width 450ms linear; }
.progress-track[hidden], .progress-caption[hidden] { display: none; }
.progress-caption { margin-top: 8px; color: #817a8c; font-size: 9px; letter-spacing: .09em; }
.key-card { margin-top: 12px; padding: 14px 15px 9px; border-color: rgba(222, 222, 226, .09); background: linear-gradient(145deg, rgba(26, 27, 30, .96), rgba(9, 10, 12, .98)); }
.key-actions { justify-content: flex-end; }
.icon-button, .copy-key-button { display: inline-flex; min-height: 32px; align-items: center; justify-content: center; gap: 6px; padding: 0 9px; border: 1px solid rgba(215, 215, 220, .14); border-radius: 6px; color: #ddd9db; background: linear-gradient(145deg, rgba(31, 32, 35, .9), rgba(15, 16, 18, .9)); cursor: pointer; }
.icon-button { width: 34px; padding: 0; }
.icon-button svg, .copy-key-button svg { width: 17px; height: 17px; }
.copy-key-button { color: #e0dbdd; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.license-key { display: block; width: 100%; margin-top: 10px; padding: 11px 12px; border: 1px solid rgba(215, 215, 220, .12); border-radius: 6px; outline: 0; color: #eeecee; background: linear-gradient(145deg, rgba(7, 8, 9, .84), rgba(16, 17, 19, .88)); font: 500 14px/1.5 'Roboto Mono', monospace; letter-spacing: .11em; text-align: center; }
.copy-status { min-height: 14px; margin: 4px 0 0; text-align: center; }
.metadata-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.metadata-card { display: flex; min-width: 0; min-height: 68px; flex-direction: column; justify-content: center; gap: 8px; padding: 10px; border-color: rgba(222, 222, 226, .08); background: linear-gradient(145deg, rgba(27, 28, 31, .94), rgba(11, 12, 14, .98)); }
.metadata-card span { color: #9b989a; font-size: 8px; letter-spacing: .09em; }
.metadata-card strong { overflow-wrap: anywhere; color: #e0dcde; font-size: 10px; font-weight: 500; line-height: 1.45; }
.app-card { margin-top: 12px; padding: 15px; border-color: rgba(222, 222, 226, .08); background: linear-gradient(145deg, rgba(27, 28, 31, .94), rgba(10, 11, 13, .98)); }
.install-button, .store-button { display: flex; min-height: 46px; align-items: center; justify-content: center; gap: 9px; border: 1px solid rgba(136, 99, 214, .4); border-radius: 7px; color: #f0eafe; background: linear-gradient(100deg, rgba(97, 60, 172, .7), rgba(73, 48, 120, .75)); text-decoration: none; font-size: 11px; font-weight: 700; cursor: pointer; }
.install-button { width: 100%; min-height: 64px; justify-content: space-between; gap: 12px; padding: 8px 10px 8px 15px; appearance: none; -webkit-appearance: none; border-color: rgba(255, 255, 255, .09); border-radius: 9px; color: #d6d7dc; background: linear-gradient(145deg, #1d1e23, #17181c); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025), 0 8px 18px rgba(0, 0, 0, .16); font-family: 'Barlow Condensed', Arial, sans-serif; font-size: 17px; font-weight: 800; letter-spacing: .055em; text-align: left; text-transform: uppercase; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.install-button { direction: ltr; }
.subscription-copy-button { display: block; width: 100%; min-height: 42px; margin-top: 10px; border: 1px solid rgba(136, 99, 214, .4); border-radius: 7px; color: #f0eafe; background: rgba(65, 47, 97, .58); font: inherit; font-size: 10px; font-weight: 700; cursor: pointer; }
#copy-subscription-link, #subscription-help { display: none !important; }
.subscription-copy-button[hidden] { display: none; }
.subscription-copy-button:hover { border-color: rgba(172, 143, 245, .8); }
.install-button:hover { border-color: rgba(255, 255, 255, .17); color: #f0f0f2; background: linear-gradient(145deg, #25262c, #1b1c21); }
.store-button:hover { border-color: rgba(218, 78, 84, .45); background-color: rgba(79, 32, 36, .45); }
.subscription-button-label { text-align: start; }
.subscription-plus-box { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(226, 66, 74, .2); border-radius: 5px; color: #f07980; background: linear-gradient(145deg, rgba(123, 30, 36, .2), rgba(0, 0, 0, .2)); box-shadow: inset 0 1px rgba(255, 255, 255, .025), 0 0 14px rgba(200, 39, 48, .055); font: 400 26px/1 Arial, sans-serif; }
.store-links { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.store-button { min-height: 39px; border-color: rgba(147, 135, 169, .21); background: rgba(22, 19, 28, .88); }
.store-icon { font-size: 12px; }
.store-button.is-disabled, .install-button.is-disabled { opacity: .42; cursor: not-allowed; pointer-events: none; filter: saturate(.4); }
.access-status { min-height: 15px; margin: 4px 0; text-align: center; }
.bottom-nav { position: sticky; z-index: 2; bottom: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; margin: 8px -7px 0; padding: 8px 3px max(8px, env(safe-area-inset-bottom)); border: 1px solid rgba(215, 215, 220, .1); border-radius: 9px; background: linear-gradient(180deg, rgba(18, 19, 22, .96), rgba(9, 10, 12, .97)); box-shadow: 0 -8px 20px rgba(0, 0, 0, .24); backdrop-filter: blur(14px); }
.nav-item { display: flex; min-width: 0; min-height: 54px; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; border-radius: 6px; color: #777180; background: transparent; font-size: 7px; font-weight: 700; letter-spacing: .04em; cursor: pointer; transition: color .18s ease, background .18s ease; }
.nav-item .nav-icon { font-size: 17px; line-height: 1; }
.nav-item.is-active { color: #f18389; background: rgba(159, 40, 48, .13); }
.nav-item:hover { color: #f4e9ea; background: rgba(159, 40, 48, .1); }
.nav-item .nav-action-label { color: #dc7278; font-size: 6px; letter-spacing: .08em; line-height: 1; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }
.edge-glow { position: fixed; z-index: -1; bottom: 7%; width: 240px; height: 1px; background: linear-gradient(90deg, transparent, rgba(195, 51, 59, .22), transparent); filter: blur(4px); }
.edge-glow-left { left: -170px; transform: rotate(-34deg); }
.edge-glow-right { right: -170px; transform: rotate(34deg); }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 2px solid #e26067; outline-offset: 3px; }
@keyframes settle-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 420px) {
  .screen { padding-right: 16px; padding-left: 16px; }
  .license-dashboard { margin-top: 20px; }
  .timer-card { padding: 6px 11px 7px; }
  .metadata-grid { gap: 6px; }
  .metadata-card { padding: 8px; }
  .metadata-card span { font-size: 7px; }
  .metadata-card strong { font-size: 9px; }
  .countdown-value { gap: 9px; letter-spacing: .03em; }
  .access-card { margin-top: clamp(80px, 13vh, 112px); }
}
@media (max-height: 700px) { .access-card { margin-top: 60px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* The key-entry page keeps its dark CRT treatment; the signed-in dashboard uses the charcoal-red polish above. */
.screen.key-entry-mode {
  --purple: #e32631;
  --purple-bright: #ff4b53;
  align-items: stretch;
  padding: max(25px, env(safe-area-inset-top)) clamp(14px, 3.7vw, 40px) max(24px, env(safe-area-inset-bottom));
  background: #070708;
}
.screen.key-entry-mode::before {
  background-image: repeating-linear-gradient(0deg, rgba(218, 28, 38, .045) 0 1px, transparent 1px 5px),
    radial-gradient(ellipse at 50% 52%, rgba(97, 16, 20, .12), transparent 58%);
  background-size: auto, auto;
  opacity: .8;
  mask-image: none;
}
.screen.key-entry-mode::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: '';
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, .018) 3px 4px);
}
.screen.key-entry-mode .screen-grain { opacity: .12; }
.screen.key-entry-mode .site-header { width: 100%; min-height: 58px; justify-content: flex-end; }
.screen.key-entry-mode .site-logo { display: none; }
.screen.key-entry-mode .language-toggle {
  display: inline-flex;
  min-width: 102px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 15px;
  border-color: rgba(155, 155, 160, .12);
  border-radius: 0 0 10px 10px;
  color: #e8e8eb;
  background: rgba(28, 28, 32, .85);
  font-size: 18px;
  letter-spacing: .08em;
}
.screen.key-entry-mode .language-toggle svg { width: 25px; height: 25px; color: #a8a8ae; }
.screen.key-entry-mode .access-card {
  width: min(100%, 850px);
  margin: clamp(108px, 19.5vh, 360px) auto 14px;
  text-align: start;
}
.screen.key-entry-mode .intro { text-align: center; }
.screen.key-entry-mode .intro-eyebrow,
.screen.key-entry-mode .intro-copy { display: none; }
.key-brand-logo {
  display: block;
  width: min(44vw, 520px);
  height: auto;
  aspect-ratio: 1;
  margin: 0 auto;
  object-fit: contain;
}
.access-tagline {
  margin: clamp(34px, 7.1vh, 132px) 0 0;
  color: #75808e;
  font: 600 clamp(11px, 2.35vw, 22px)/1.5 'Roboto Mono', monospace;
  letter-spacing: clamp(.12em, .45vw, .28em);
  text-align: center;
  white-space: nowrap;
}
.screen.key-entry-mode .key-form { margin-top: clamp(100px, 10.5vh, 194px); }
.screen.key-entry-mode .field-label {
  position: static;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
  color: #8c929d;
  background: transparent;
  font-size: clamp(12px, 2.35vw, 21px);
  letter-spacing: .19em;
}
.screen.key-entry-mode .field-label::before { width: 17px; height: 17px; flex: 0 0 auto; background: #e52a35; content: ''; }
.screen.key-entry-mode .key-field {
  min-height: clamp(48px, 7.65vh, 142px);
  gap: 10px;
  padding: clamp(5px, 1vw, 12px) clamp(7px, 1.6vw, 18px) clamp(5px, 1vw, 12px) clamp(14px, 4.3vw, 48px);
  border: 1px solid rgba(165, 165, 170, .25);
  border-radius: 0;
  background: rgba(8, 8, 10, .7);
  direction: ltr;
}
.screen.key-entry-mode .key-field:focus-within { border-color: rgba(255, 82, 89, .62); box-shadow: 0 0 18px rgba(255, 66, 74, .08); }
.screen.key-entry-mode .key-field input {
  color: #f1f1f3;
  font-size: clamp(14px, 3.85vw, 40px);
  font-weight: 700;
  letter-spacing: .11em;
}
.screen.key-entry-mode .key-field input::placeholder { color: #d6d4d7; opacity: 1; }
.screen.key-entry-mode input:focus-visible,
.screen.key-entry-mode button:focus-visible,
.screen.key-entry-mode a:focus-visible { outline-color: rgba(255, 91, 97, .72); }
.screen.key-entry-mode .paste-button {
  min-width: clamp(48px, 14vw, 156px);
  min-height: clamp(38px, 6.8vh, 82px);
  padding: 0 clamp(5px, 1.5vw, 16px);
  border: 0;
  border-radius: 0;
  color: #e9e8eb;
  background: #232327;
  font-size: clamp(10px, 2.4vw, 22px);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.screen.key-entry-mode .paste-button svg { display: none; }
.screen.key-entry-mode .paste-button:hover { background: #303035; }
.screen.key-entry-mode .status { color: #ff999e; font-size: 12px; }
.screen.key-entry-mode .status:empty { display: none; }
.screen.key-entry-mode .continue-button {
  min-height: clamp(48px, 7.8vh, 146px);
  margin-top: clamp(12px, 2.2vh, 52px);
  border: 0;
  border-radius: 0;
  clip-path: polygon(3% 0, 100% 0, 100% 83%, 97% 100%, 0 100%, 0 18%);
  color: #fff;
  background: #a91b24;
  font-size: clamp(22px, 4vw, 42px);
  letter-spacing: .14em;
  opacity: .62;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
}
.screen.key-entry-mode .continue-button:not(:disabled) { background: #e51f2b; box-shadow: 0 8px 25px rgba(180, 18, 29, .14); opacity: 1; }
.screen.key-entry-mode .continue-button:not(:disabled):hover { background: #f02a36; }
.screen.key-entry-mode .continue-arrow { display: none; }
.screen.key-entry-mode .status { min-height: 18px; }
@media (max-width: 420px) {
  .screen.key-entry-mode { padding-right: 13px; padding-left: 13px; }
  .screen.key-entry-mode .access-card { margin-top: clamp(95px, 18vh, 132px); }
  .screen.key-entry-mode .access-tagline { letter-spacing: .08em; }
  .screen.key-entry-mode .key-form { margin-top: clamp(74px, 10vh, 100px); }
  .screen.key-entry-mode .field-label { margin-bottom: 0; }
}
@media (max-height: 700px) {
  .screen.key-entry-mode .access-card { margin-top: clamp(44px, 9vh, 68px); }
  .screen.key-entry-mode .key-form { margin-top: clamp(54px, 8vh, 82px); }
  .screen.key-entry-mode .access-tagline { margin-top: clamp(4px, 1vh, 10px); }
}
