:root {
  color-scheme: dark;
  --page: #17181d;
  --surface: #1e2024;
  --field: #26282d;
  --line: #383b42;
  --text: #f4f5f6;
  --muted: #9298a3;
  --accent: #f81745;
  --accent-hover: #ff3159;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  background: radial-gradient(circle at 100% 45%, rgba(75, 28, 47, .24), transparent 32rem), var(--page);
  color: var(--text);
  font: 14px/1.45 Arial, Helvetica, sans-serif;
}

.site-header {
  min-height: 96px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(20, 21, 25, .84);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .16);
  backdrop-filter: blur(16px);
}

.header-inner, .page { width: min(1125px, calc(100% - 48px)); margin: 0 auto; }

.header-inner { display: flex; align-items: center; min-height: 96px; }

.brand { color: #fff; font-size: 17px; font-weight: 800; letter-spacing: .055em; text-decoration: none; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 22px; margin-left: 40px; }
.site-nav a { position: relative; padding: 7px 0; color: #9da3ad; font-size: 13px; font-weight: 600; text-decoration: none; transition: color .25s ease; }
.site-nav a::after { position: absolute; right: 0; bottom: 1px; left: 0; height: 1px; content: ''; transform: scaleX(0); transform-origin: right; background: #f1f2f4; transition: transform .25s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.page { padding: 30px 0 56px; }
.breadcrumbs { display: flex; gap: 9px; margin: 0 0 19px; color: var(--muted); font-size: 13px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span:last-child { color: #c6c9cf; }

h1 { margin: 0 0 19px; font-size: 20px; line-height: 1.25; }

.content-card { min-height: 335px; padding: 27px; border-radius: 12px; background: var(--surface); }
.checker-account-header { margin-bottom: 28px; font-size: 14px; font-weight: 600; }
.checker-account-form__row { position: relative; flex: 1 1 0; }
.checker-account-form__input { position: relative; overflow: hidden; border-radius: 20px; }
.checker-account-form__input[data-showed] textarea { display: none; }
.checker-account-form__input[data-showed="list"] .fn_list, .checker-account-form__input[data-showed="source"] .fn_source { display: block; }
.checker-account-form__input-textarea { width: 100%; height: 241px; padding: 26px 24px; border: 0; border-radius: 20px; resize: vertical; outline: none; background: var(--field); color: #fff; font: 14px/1.45 Arial, Helvetica, sans-serif; }
.checker-account-form__input-textarea:hover, .checker-account-form__input-textarea:focus { background: #2d3035; }
.checker-account-form__input-textarea::placeholder { color: #858b95; }
.checker-account-form__submit { margin: 20px 0 10px; text-align: center; }
.button { min-width: 114px; min-height: 48px; padding: 5px 17px; border: 0; border-radius: 15px; background: var(--accent); color: #fff; cursor: pointer; font-size: 14px; }
.button:hover { background: var(--accent-hover); }.button:disabled { cursor: wait; opacity: .55; }
.checker-account-form__status { min-height: 22px; margin-bottom: 30px; text-align: center; color: var(--muted); }.checker-account-form__status span + span { margin-left: 12px; }
.checker-account-form__group { display: flex; gap: 32px; }
.checker-account-form__label { position: absolute; z-index: 2; top: 28px; left: 24px; display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 14px; border: 1px solid #fff; border-radius: 34px; background: var(--surface); font-size: 12px; white-space: nowrap; }
.checker-account-form__label_success { border-color: #4ccc6a; }.checker-account-form__label_success::before { content: '✓'; color: #4ccc6a; font-weight: 700; }.checker-account-form__label_error { border-color: var(--accent); }.checker-account-form__label_error::before { content: '×'; color: var(--accent); font-weight: 700; font-size: 16px; }.checker-account-form__label-value { font-weight: 700; }
.checker-account-form__bottom { padding: 0 48px 16px 24px; }.checker-account-form__control { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }.checker-account-form__control-title { color: var(--muted); }.checker-account-form__select { width: 105px; height: 28px; border: 0; border-radius: 5px; outline: none; background: #26282d; color: #fff; font-weight: 700; }.checker-account-form__select option { background: #202226; }
.checker-account-form__clipboard { position: absolute; z-index: 3; right: 16px; bottom: 16px; width: 32px; height: 32px; border: 0; border-radius: 7px; background: transparent; color: transparent; cursor: pointer; }
.checker-account-form__clipboard::before, .checker-account-form__clipboard::after { position: absolute; content: ''; width: 11px; height: 13px; border: 1.5px solid #b9bec7; border-radius: 2px; transition: border-color .2s ease, transform .2s ease; }
.checker-account-form__clipboard::before { top: 8px; left: 9px; }.checker-account-form__clipboard::after { top: 11px; left: 12px; background: var(--field); }
.checker-account-form__clipboard:hover { background: rgba(255,255,255,.1); }.checker-account-form__clipboard:hover::before, .checker-account-form__clipboard:hover::after { border-color: #fff; }.checker-account-form__clipboard:active::after { transform: translate(-2px, -2px); }
.notice { margin: 0 0 29px; font-weight: 700; }
.notice--red { color: #ff263d; }
.intro { margin: 0 0 29px; font-size: 15px; font-weight: 600; }

.totp-form { max-width: 690px; }
.field-label { display: block; margin: 0 0 9px; color: #d9dce1; font-size: 13px; font-weight: 700; }
.key-field { position: relative; }
input {
  width: 100%; height: 52px; padding: 0 51px 0 17px; border: 1px solid transparent; border-radius: 10px;
  outline: 0; background: var(--field); color: var(--text); font: inherit; font-size: 15px;
}
input::placeholder { color: #858b95; }
input:focus { border-color: #676c76; }
.clear-key { position: absolute; inset: 0 0 0 auto; width: 48px; border: 0; background: transparent; color: #a1a6ae; cursor: pointer; font-size: 22px; }
.clear-key:hover { color: #fff; }
.form-help { min-height: 20px; margin: 8px 0 18px; color: var(--muted); font-size: 12px; }
.form-help.error { color: #ff6479; }

.code-panel { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 18px; min-height: 107px; padding: 20px 23px; border-radius: 12px; background: var(--field); }
.code-label { margin: 0 0 7px; color: var(--muted); font-size: 13px; }
.totp-code { margin: 0; font-family: "Courier New", monospace; font-size: clamp(31px, 5vw, 46px); font-weight: 700; letter-spacing: .12em; line-height: 1; }
.code-panel.is-empty .totp-code { color: #737983; letter-spacing: .04em; font-family: inherit; font-size: 17px; }
.timer { display: grid; place-items: center; width: 54px; height: 54px; border: 3px solid #4a4e55; border-radius: 50%; color: #fff; font-weight: 700; }
.timer.warning { border-color: var(--accent); }
.totp-copy { position: relative; width: 38px; height: 38px; border: 0; border-radius: 7px; background: transparent; color: transparent; cursor: pointer; }
.totp-copy::before, .totp-copy::after { position: absolute; content: ''; width: 12px; height: 14px; border: 1.5px solid #b9bec7; border-radius: 2px; transition: border-color .2s ease, transform .2s ease; }
.totp-copy::before { top: 9px; left: 10px; }.totp-copy::after { top: 12px; left: 13px; background: var(--field); }.totp-copy:hover { background: rgba(255,255,255,.1); }.totp-copy:hover::before, .totp-copy:hover::after { border-color: #fff; }.totp-copy:active::after { transform: translate(-2px, -2px); }
.totp-copy span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }.totp-copy.copied::after { border-color: #4ccc6a; }.totp-copy.copied::before { border-color: #4ccc6a; }
.url-note { margin: 21px 0 0; color: var(--muted); font-size: 12px; }
code { padding: 2px 5px; border-radius: 4px; background: #292c32; color: #d9dce1; }

@media (max-width: 620px) {
  .header-inner { flex-direction: column; align-items: flex-start; justify-content: center; gap: 15px; padding: 18px 0; }
  .site-header, .header-inner { min-height: 0; }
  .site-nav { margin-left: 0; gap: 18px; }
  .site-nav a { padding-left: 10px; padding-right: 10px; }
  .header-inner, .page { width: min(100% - 30px, 1125px); }
  .content-card { padding: 20px; }
  .checker-account-form__group { flex-direction: column; gap: 30px; }.checker-account-form__input-textarea { height: 180px; }.checker-account-form__label { top: 38px; left: 50%; transform: translateX(-50%); }.checker-account-form__bottom { padding: 0 20px 30px; }.checker-account-form__control { justify-content: center; }
  .code-panel { grid-template-columns: 1fr auto; }
  .code-panel > div:first-child { grid-column: 1 / -1; }
  .totp-copy { grid-column: 1; justify-self: start; }
  .timer { justify-self: start; }
}
