/* METIN2 RELOAD · Giriş ve Hesabım sayfaları (style.css + efektler.css + kayit.css üzerine) */

/* =========================== GİRİŞ =========================== */
.login-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); max-width: 1040px; }
.login-stage { align-content: end; }
.login-figure { width: min(100%, 360px); margin-bottom: -4px; animation: stage-in 1s cubic-bezier(.2, .8, .2, 1) .1s both; }
.login-stage::before { bottom: 82px; width: 70%; }
.login-form .field + .field { margin-top: 16px; }

/* PIN: dört ayrı hane, dolan hane kızıl mücevher gibi yanar */
.pin-boxes { display: flex; gap: 10px; }
.pin-boxes input {
  width: 56px;
  height: 58px;
  padding: 0;
  border: 1.5px solid transparent;
  border-radius: 4px;
  outline: 0;
  background: linear-gradient(180deg, #0c0505, #170b0a) padding-box, linear-gradient(180deg, #7a5222, #3a2410 55%, #8d5f24) border-box;
  box-shadow: inset 0 2px 8px #000c;
  color: #ffe2b0;
  caret-color: #ffb46a;
  text-align: center;
  font: 700 26px/1 var(--serif);
  transition: box-shadow .25s ease, background .25s ease;
}
.pin-boxes input::placeholder { color: #5e4c3a; }
.pin-boxes input:focus {
  background: linear-gradient(180deg, #120706, #1e0d0b) padding-box, linear-gradient(180deg, #f2d58e, #a87b34 50%, #e2b866) border-box;
  box-shadow: inset 0 2px 8px #000c, 0 0 0 3px #ff3c1a22, 0 0 18px #ff3c1a44;
}
.pin-boxes input:not(:placeholder-shown) {
  background: radial-gradient(circle at 50% 40%, #4a0f08, #1a0605 70%) padding-box, linear-gradient(180deg, #f2d58e, #a87b34 50%, #c39443) border-box;
  box-shadow: inset 0 2px 8px #000c, 0 0 12px #ff3c1a44;
}
.field-pin.is-invalid .pin-boxes input { background: linear-gradient(180deg, #160505, #1e0908) padding-box, linear-gradient(180deg, #ff6a4a, #8a1206) border-box; }
.field-pin.is-valid .pin-boxes input { box-shadow: inset 0 2px 8px #000c, 0 0 10px #ffc75a55; }

.login-extra { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; }
.login-extra .agree { margin-top: 0; font-size: 14.5px; }
.forgot-link { color: var(--gold-hi); font: 700 13.5px/1.3 var(--sans); text-decoration: underline; text-underline-offset: 3px; }
.forgot-link:hover { color: #fff1d6; text-shadow: 0 0 10px #ff5a2a99; }

.auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid #ff6a4a66;
  border-radius: 4px;
  background: linear-gradient(90deg, #3a0906e6, #1e0605e6);
  color: #ffc3b3;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 0 18px #ff3c1a33;
}
.auth-alert svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; color: #ff7a5c; }
.auth-alert[hidden] { display: none; }

.submit-button.is-loading { pointer-events: none; }
.submit-button.is-loading .submit-text::after { content: ''; display: inline-block; width: 1.1em; text-align: left; animation: dots 1s steps(4, end) infinite; }
@keyframes dots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }

.demo-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #3b261880;
  color: #8f7f69;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}
.demo-note .diamond { width: 5px; height: 5px; }

/* ========================= HESABIM ========================= */
.account-page { padding-top: clamp(24px, 4vw, 48px); }
.acc-shell { display: grid; gap: clamp(18px, 2.4vw, 26px); max-width: 1120px; }

/* Üst karşılama kartı */
.acc-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 2.6vw, 30px);
  padding-block: clamp(22px, 3vw, 32px);
}
.acc-avatar {
  position: relative;
  width: clamp(76px, 9vw, 104px);
  aspect-ratio: 1;
  padding: 3px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #f2d58e, #8d5f24, #e6c27a, #4a2c0e, #f2d58e);
  box-shadow: 0 0 0 4px #120706, 0 0 0 5.5px #8d5f2499, 0 0 26px #ff3c1a55;
}
.acc-avatar img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 9%; background: #1a0c0a; }
.acc-avatar::after {
  content: '';
  position: absolute;
  right: 4%; bottom: 4%;
  width: 16px; height: 16px;
  transform: rotate(45deg);
  background: radial-gradient(circle at 35% 35%, #ffb09c, #d2200f 45%, #5a0302);
  box-shadow: 0 0 0 2px #c39443, 0 0 12px #ff3c1a;
}
.acc-welcome { min-width: 0; }
.acc-welcome h1 {
  margin-block: 8px 6px;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
  background: linear-gradient(180deg, #fff3d6 8%, #f2c46e 46%, #c0611d 92%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px #ff3c1a33) drop-shadow(0 2px 1px #000);
}
.acc-sub { display: flex; align-items: center; gap: 7px; color: var(--muted); font: italic 15px/1.4 var(--serif); }
.acc-sub svg { width: 15px; height: 15px; color: #b38a4c; }

.acc-wallet { display: grid; justify-items: end; gap: 12px; }
.ep-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 12px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, #2a1310, #120806) padding-box, var(--gold-border);
  box-shadow: inset 0 0 14px #6a0d0633, 0 6px 16px #000a;
}
.ep-chip > svg { width: 30px; height: 30px; color: #f2c46e; filter: drop-shadow(0 0 6px #ff9a3c88); }
.ep-chip small { display: block; color: #b9a587; font: 700 9.5px/1 var(--sans); letter-spacing: .2em; }
.ep-chip b { display: block; margin-top: 4px; color: #ffe2b0; font: 700 22px/1 var(--serif); font-variant-numeric: tabular-nums; }
.acc-hero-actions { display: flex; gap: 10px; }
.acc-hero-actions .button { padding-inline: 28px; }
.acc-hero-actions .button svg:not(.option-plate) { width: 15px; height: 15px; }

/* Kartlar */
.acc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 26px); }
.acc-card {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  background: var(--panel-fill), var(--gold-border);
  box-shadow: 0 16px 40px #000c, inset 0 0 0 1px #00000080, inset 0 0 50px #6a0d0620;
  animation: card-in .8s cubic-bezier(.2, .8, .2, 1) .25s both;
}
.acc-grid .acc-card:nth-child(2) { animation-delay: .35s; }
.acc-settings { animation-delay: .45s; }
.acc-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, #b8893f, #5c3a1288 60%, transparent) 1;
}
.acc-card-head h2 { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--gold-hi); font: 700 clamp(1.2rem, 2vw, 1.5rem)/1.2 var(--serif); letter-spacing: .02em; text-shadow: 0 0 14px #ff3c1a44, 0 2px 1px #000; }
.head-icon {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  flex: 0 0 34px;
  border: 1.5px solid transparent;
  border-radius: 4px;
  transform: rotate(45deg);
  background: radial-gradient(circle at 40% 30%, #6a1a0e, #2a0805 70%) padding-box, linear-gradient(180deg, #f2d58e, #8d5f24) border-box;
  box-shadow: 0 0 12px #ff3c1a55;
}
.head-icon svg { width: 17px; height: 17px; color: #ffe0b0; transform: rotate(-45deg); }

/* Hesap bilgileri listesi */
.acc-list { margin: 0; }
.acc-list > div { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 50px; padding-block: 9px; border-bottom: 1px dashed #3b2618; }
.acc-list > div:last-child { border-bottom: 0; }
.acc-list dt { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; color: var(--muted); font-size: 14px; }
.acc-list dt svg { width: 17px; height: 17px; color: #b38a4c; }
.acc-list dd { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; margin: 0; color: var(--ink); font: 600 15px/1.35 var(--sans); text-align: right; }
.acc-mail { overflow-wrap: anywhere; }
.acc-ep { gap: 5px !important; color: #ffe2b0 !important; font-family: var(--serif) !important; font-weight: 700 !important; }

.tag { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; font: 700 11px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.tag::before { content: ''; width: 6px; height: 6px; transform: rotate(45deg); }
.tag-on { color: #f2d58e; background: #2e2109; border: 1px solid #a87b3488; }
.tag-on::before { background: radial-gradient(circle at 35% 35%, #ffe7a8, #e0a23a 50%, #6a4210); box-shadow: 0 0 6px #ffc75a; }
.tag-off { color: #ff9a80; background: #2a0b07; border: 1px solid #a3200f99; }
.tag-off::before { background: #ff5a3a; box-shadow: 0 0 6px #ff3c1a; }
.acc-inline-link { color: var(--gold-hi); font: 700 13px/1 var(--sans); text-decoration: underline; text-underline-offset: 3px; }
.acc-inline-link:hover { color: #fff1d6; }

/* Karakterler */
.slot-count { color: var(--muted); font-size: 13px; white-space: nowrap; }
.slot-count b { color: var(--gold-hi); font: 700 16px/1 var(--serif); }
.char-list { display: grid; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.char-row {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 9px 16px 9px 9px;
  border: 1px solid #8d5f2466;
  border-radius: 5px;
  background: linear-gradient(90deg, #2c110c, #170a08 60%, #120706);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.char-row:not(.is-empty)::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #f2d58e, #c0611d);
  box-shadow: 0 0 10px #ff6a2a;
}
.char-row:not(.is-empty):hover { border-color: #c39443; box-shadow: 0 0 18px #ff3c1a33; }
.char-face { width: 62px; height: 62px; border-radius: 4px; overflow: hidden; border: 1.5px solid #c39443; box-shadow: 0 0 10px #ff3c1a44; }
.char-face img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.char-main { display: grid; gap: 3px; min-width: 0; }
.char-name { color: var(--gold-hi); font: 700 17px/1.2 var(--serif); letter-spacing: .02em; overflow-wrap: anywhere; }
.char-class { color: var(--muted); font-size: 13px; }
.char-stats { display: grid; justify-items: end; gap: 5px; }
.char-level { display: flex; align-items: baseline; gap: 6px; color: #ffe2b0; font: 700 24px/1 var(--serif); font-variant-numeric: tabular-nums; }
.char-level small { color: #b9a587; font: 700 9.5px/1 var(--sans); letter-spacing: .18em; }
.char-time { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12.5px; }
.char-time svg { width: 13px; height: 13px; color: #b38a4c; }
.char-row.is-empty { grid-template-columns: 62px 1fr; min-height: 64px; border: 1px dashed #5c3a1288; background: #0f070680; color: #7d6b56; font: italic 14px/1.3 var(--serif); }
.char-plus { display: grid; place-items: center; width: 44px; height: 44px; margin-inline: auto; border: 1px dashed #5c3a12; border-radius: 4px; transform: rotate(45deg) scale(.82); }
.char-plus svg { width: 16px; height: 16px; color: #6e5235; transform: rotate(-45deg); }

/* Bilgilerini değiştir */
.acc-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
.acc-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid #3b2618;
  border-radius: 4px;
  background: linear-gradient(180deg, #1e0e0c, #120807);
  color: var(--muted);
  font: 700 14px/1.2 var(--serif);
  letter-spacing: .02em;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.acc-tab svg { width: 16px; height: 16px; flex: 0 0 16px; }
.acc-tab:hover { color: var(--gold-hi); border-color: #8d5f24; }
.acc-tab[aria-selected="true"] {
  color: #fff1d6;
  border-color: #c39443;
  background: linear-gradient(180deg, #8a1e0e, #4a0c06 60%, #2a0604);
  box-shadow: inset 0 1px 0 #ffffff22, 0 0 16px #ff3c1a55;
  text-shadow: 0 1px 0 #000;
}
.acc-tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.acc-panel { padding-top: 22px; }
.acc-panel[hidden] { display: none; }
.acc-form { margin-top: 0; }
.field-box.is-readonly { opacity: .72; }
.field-box.is-readonly input { cursor: default; }
.field-box.has-prefix input { padding-left: 82px; }
.field-prefix { position: absolute; left: 42px; color: var(--gold); font: 700 15px/1 var(--sans); pointer-events: none; }
.code-input { letter-spacing: .4em; font-variant-numeric: tabular-nums; }
.field[data-field^="yeniSifre"] .field-box input, .field[data-field^="mevcutSifre"] .field-box input { padding-right: 46px; }
.field.is-valid[data-field^="yeniSifre"] .field-box::after, .field.is-valid[data-field^="mevcutSifre"] .field-box::after { right: 48px; }

.acc-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 3px solid var(--gold-mid);
  border-radius: 0 4px 4px 0;
  background: linear-gradient(90deg, #2a140e, #170b0a00);
  color: #d4c3a4;
  font-size: 13.5px;
  line-height: 1.5;
}
.acc-note svg { flex: 0 0 17px; width: 17px; height: 17px; margin-top: 1px; color: #e9c78b; }
.confirm-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed #3b2618;
}
.confirm-row .submit-button { margin-top: 26px; min-height: 52px; padding-inline: 48px; font-size: 15.5px; }
.acc-success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid #a87b3488;
  border-radius: 4px;
  background: linear-gradient(90deg, #2e2109e6, #170b0ae6);
  color: #f2e3c2;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 0 16px #ffc75a22;
}
.acc-success svg { flex: 0 0 18px; width: 18px; height: 18px; color: #ffd36a; stroke-width: 2.4; }
.acc-success[hidden] { display: none; }
.acc-demo { margin-top: 0; border-top: 0; }

/* ======================== Duyarlı ======================== */
@media (max-width: 980px) {
  .login-layout { grid-template-columns: minmax(0, 520px); justify-content: center; }
}
@media (max-width: 900px) {
  .acc-hero { grid-template-columns: auto minmax(0, 1fr); }
  .acc-wallet { grid-column: 1 / -1; grid-template-columns: auto 1fr; justify-items: stretch; align-items: center; }
  .acc-hero-actions { justify-content: flex-end; }
  .acc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pin-boxes { gap: 8px; }
  .pin-boxes input { width: 52px; height: 54px; }
  .login-extra { flex-wrap: wrap; }
  .acc-hero { padding-inline: 18px; text-align: left; }
  .acc-wallet { grid-template-columns: 1fr; }
  .ep-chip { justify-self: start; }
  .acc-hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .acc-hero-actions .button { padding-inline: 14px; }
  .acc-card { padding: 20px 16px; }
  .acc-list > div { flex-wrap: wrap; justify-content: space-between; }
  .acc-list dd { font-size: 14.5px; }
  .acc-mail { flex-basis: 100%; justify-content: flex-start; text-align: left; padding-left: 27px; }
  .acc-tabs { grid-template-columns: 1fr 1fr; }
  .acc-tab { font-size: 13px; padding-inline: 6px; }
  .tab-long { display: none; }
  .char-row { grid-template-columns: 54px minmax(0, 1fr) auto; gap: 11px; padding-right: 12px; }
  .char-face { width: 54px; height: 54px; }
  .char-row.is-empty { grid-template-columns: 54px 1fr; }
  .char-level { font-size: 21px; }
  .confirm-row { grid-template-columns: 1fr; gap: 4px; }
  .confirm-row .submit-button { margin-top: 10px; justify-self: center; }
  .acc-success, .acc-note { font-size: 13px; }
}
@media (max-width: 360px) {
  .pin-boxes input { width: 46px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .acc-card, .login-figure { animation: none !important; }
}

/* ===================== ŞİFREMİ UNUTTUM ===================== */
@property --fill { syntax: "<percentage>"; inherits: true; initial-value: 0%; }
.reset-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 22px 0 6px; padding: 0; list-style: none; counter-reset: none; }
.reset-steps::before {
  content: '';
  position: absolute;
  top: 17px; left: 16.6%; right: 16.6%;
  height: 2px;
  background: linear-gradient(90deg, #a87b34 var(--fill, 0%), #3b2618 var(--fill, 0%));
  transition: --fill .5s ease;
}
.reset-steps[data-at="2"] { --fill: 50%; }
.reset-steps[data-at="3"], .reset-steps[data-at="4"] { --fill: 100%; }
.reset-steps li { position: relative; display: grid; justify-items: center; gap: 8px; color: #8f7f69; font: 700 12.5px/1.2 var(--serif); letter-spacing: .04em; text-align: center; }
.step-gem {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 1.5px solid #5c3a12;
  border-radius: 5px;
  transform: rotate(45deg);
  background: #140908;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.step-gem > * { grid-area: 1 / 1; transform: rotate(-45deg); }
.step-gem b { color: #8f7f69; font: 700 15px/1 var(--serif); }
.step-gem svg { width: 17px; height: 17px; color: #2a1405; stroke-width: 2.6; opacity: 0; }
.reset-steps li.is-current { color: var(--gold-hi); }
.reset-steps li.is-current .step-gem { border-color: #f2d58e; background: radial-gradient(circle at 40% 30%, #e0412a, #8a1206 60%, #3d0402); box-shadow: 0 0 16px #ff3c1a99; }
.reset-steps li.is-current .step-gem b { color: #fff1d6; }
.reset-steps li.is-done { color: #d4b57a; }
.reset-steps li.is-done .step-gem { border-color: #f2d58e; background: linear-gradient(135deg, #f2d58e, #c39443 55%, #8d5f24); box-shadow: 0 0 10px #ffc75a55; }
.reset-steps li.is-done .step-gem b { opacity: 0; }
.reset-steps li.is-done .step-gem svg { opacity: 1; }

.reset-step { animation: step-in .45s cubic-bezier(.2, .8, .2, 1) both; }
.reset-step[hidden] { display: none; }
@keyframes step-in { from { opacity: 0; translate: 14px 0; } }

.sent-to {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 18px; padding: 12px 14px;
  border: 1px solid #8d5f2466; border-radius: 4px;
  background: linear-gradient(90deg, #2a140e, #170b0a);
  color: #d4c3a4; font-size: 14px; line-height: 1.5;
}
.sent-to svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px; color: #e9c78b; }
.sent-to b { color: var(--gold-hi); overflow-wrap: anywhere; }

.code-boxes { gap: 8px; }
.code-boxes input:not([type=hidden]) { flex: 1 1 0; width: auto; min-width: 0; max-width: 56px; font-size: 24px; }
.code-boxes input:nth-of-type(3) { margin-right: 10px; }

.link-button { padding: 0; border: 0; background: none; color: var(--gold-hi); font: 700 13.5px/1.3 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-button:hover:not(:disabled) { color: #fff1d6; text-shadow: 0 0 10px #ff5a2a99; }
.link-button:disabled { color: #8f7f69; text-decoration: none; cursor: default; }
.link-button span { font-variant-numeric: tabular-nums; }
.resend-row { margin-top: 14px; color: var(--muted); font-size: 13.5px; }
.resend-status { display: flex; align-items: center; gap: 7px; margin-top: 8px; color: #f2d58e; font-size: 13px; }
.resend-status svg { width: 15px; height: 15px; stroke-width: 2.4; }
.resend-status[hidden] { display: none; }
.reset-page .form-note .link-button { font-size: 13.5px; }
#reset-3 .field + .field { margin-top: 16px; }
.field[data-field^="rSifre"] .field-box input { padding-right: 46px; }
.field.is-valid[data-field^="rSifre"] .field-box::after { right: 48px; }

.reset-done { display: grid; justify-items: center; gap: 12px; padding-block: 18px 6px; text-align: center; outline: 0; }
.done-emblem {
  position: relative;
  display: grid; place-items: center;
  width: 78px; height: 78px; margin-bottom: 8px;
  border: 2px solid #f2d58e; border-radius: 10px;
  transform: rotate(45deg);
  background: radial-gradient(circle at 40% 30%, #e0412a, #8a1206 60%, #3d0402);
  box-shadow: 0 0 0 6px #1a0907, 0 0 0 7.5px #8d5f2499, 0 0 40px #ff3c1aaa;
  animation: emblem-in .7s cubic-bezier(.3, 1.5, .5, 1) both;
}
.done-emblem svg { width: 36px; height: 36px; color: #fff1d6; stroke-width: 2.6; transform: rotate(-45deg); filter: drop-shadow(0 0 6px #ffb46a); }
@keyframes emblem-in { from { opacity: 0; scale: .3; filter: brightness(3); } }
.reset-done h2 { margin: 0; font: 700 clamp(1.6rem, 3vw, 2.1rem)/1.15 var(--serif); background: linear-gradient(180deg, #fff3d6 8%, #f2c46e 46%, #c0611d 92%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.reset-done p { max-width: 380px; color: var(--muted); font: italic 15px/1.55 var(--serif); }
.reset-done .submit-button { margin-top: 10px; }

.pin-help {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 22px; padding: 12px 14px;
  border: 1px dashed #5c3a1299; border-radius: 4px;
  color: #a8977f; font-size: 13px; line-height: 1.5;
}
.pin-help svg { flex: 0 0 16px; width: 16px; height: 16px; margin-top: 2px; color: #b38a4c; }
.pin-help a { color: var(--gold-hi); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.reset-page .demo-note { margin-top: 16px; }

@media (max-width: 640px) {
  .reset-steps li { font-size: 11.5px; }
  .code-boxes { gap: 6px; }
  .code-boxes input:not([type=hidden]) { height: 52px; font-size: 21px; }
  .code-boxes input:nth-of-type(3) { margin-right: 6px; }
}
