/* 4321688.xyz Pages bootstrap */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body,button,input,textarea,select{font-synthesis-weight:none}
img{max-width:100%;height:auto}
a,button,input,textarea,select{-webkit-tap-highlight-color:transparent;touch-action:manipulation}

:root{
  --text:#1d1d1f;
  --text2:#6e6e73;
  --bg:#fff;
  --bg2:#f5f5f7;
  --border:#d2d2d7;
  --radius:18px;
  --shadow:0 12px 32px rgba(15,23,42,.08);
  --blue:#0088cc;
  --blue-hover:#0a97dd;
  --ease:cubic-bezier(.22,1,.36,1);
}

body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei",sans-serif;
  background:linear-gradient(180deg,#f7fbff 0%,#f5f5f7 38%,#fff 100%);
  color:var(--text);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  min-height:100dvh;
  overflow-x:hidden;
}

.navbar{
  position:sticky;
  top:0;
  z-index:10;
  backdrop-filter:saturate(180%) blur(18px);
  -webkit-backdrop-filter:saturate(180%) blur(18px);
  background:rgba(255,255,255,.82);
  border-bottom:1px solid rgba(0,0,0,.06);
}
.nav-inner{
  max-width:1120px;
  margin:0 auto;
  padding:0 24px;
  height:56px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand{
  color:var(--text);
  font-size:17px;
  font-weight:700;
  text-decoration:none;
  letter-spacing:-.02em;
}
.brand-gold,
.hero-gold{
  color:#b97a10;
  text-shadow:
    0 1px 0 rgba(255,244,199,.52),
    0 0 14px rgba(74,144,226,.12),
    0 3px 12px rgba(185,122,16,.14);
}
@supports ((-webkit-background-clip:text) or (background-clip:text)) {
  .brand-gold,
  .hero-gold{
    background:linear-gradient(180deg,#f7d778 0%,#e2b446 20%,#cb9326 48%,#a96e10 78%,#7f4d08 100%);
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
  }
}
.brand-sub{
  color:var(--text2);
  font-size:13px;
}

.hero{
  padding:84px 24px 28px;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 10%,rgba(0,136,204,.10) 0%,transparent 60%),
    radial-gradient(ellipse 46% 34% at 82% 0%,rgba(130,101,255,.10) 0%,transparent 62%);
  pointer-events:none;
}
.hero-inner{
  position:relative;
  max-width:760px;
  margin:0 auto;
}
.hero h1{
  font-size:clamp(34px,7vw,64px);
  line-height:1.08;
  letter-spacing:-.03em;
  margin-bottom:10px;
}
.hero h1 span{
  display:inline-block;
}
.hero-gold{
  position:relative;
  padding:0 .04em;
}
.hero-gold::before{
  content:"";
  position:absolute;
  left:-.08em;
  right:-.08em;
  top:50%;
  height:.92em;
  transform:translateY(-48%);
  border-radius:.3em;
  background:radial-gradient(ellipse at center, rgba(60,184,255,.16) 0%, rgba(60,184,255,.08) 48%, rgba(60,184,255,0) 76%);
  z-index:-1;
  filter:blur(6px);
}
.hero p{
  color:var(--text2);
  font-size:17px;
  max-width:560px;
  margin:0 auto;
}

.container{
  max-width:1120px;
  margin:0 auto;
  padding:0 24px 56px;
}

.shell{
  max-width:920px;
  margin:0 auto;
}

.card{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(0,0,0,.06);
  border-radius:24px;
  box-shadow:var(--shadow);
  content-visibility:auto;
  contain-intrinsic-size:1px 420px;
}

.grid-two{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.entry-card{
  padding:28px;
  display:flex;
  flex-direction:column;
  gap:14px;
  min-height:260px;
}
.entry-card h2{
  font-size:28px;
  line-height:1.15;
  letter-spacing:-.02em;
}
.entry-card p{
  color:var(--text2);
  font-size:15px;
}
.feature-list{
  list-style:none;
  display:grid;
  gap:8px;
  color:var(--text2);
  font-size:14px;
}
.feature-list li::before{
  content:"•";
  color:var(--blue);
  margin-right:8px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 20px;
  border:none;
  border-radius:14px;
  cursor:pointer;
  text-decoration:none;
  font:inherit;
  font-weight:700;
  transition:transform .25s var(--ease),box-shadow .25s var(--ease),background .25s var(--ease);
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{
  background:linear-gradient(135deg,#3cb8ff 0%,#0088cc 60%,#6b7cff 100%);
  color:#fff;
  box-shadow:0 10px 24px rgba(0,136,204,.22);
}
.btn-secondary{
  background:#edf4fb;
  color:#0f172a;
}

.panel{
  padding:22px;
  margin-top:18px;
}
.panel h2{
  font-size:26px;
  margin-bottom:8px;
  letter-spacing:-.02em;
}
.panel-subtitle{
  color:var(--text2);
  margin-bottom:18px;
}

.form-grid{
  display:grid;
  gap:14px;
}
.field{
  display:grid;
  gap:8px;
}
.field-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.field label{
  font-size:14px;
  font-weight:700;
  color:#374151;
}
.required-accent{
  color:#b91c1c;
  font-weight:800;
}
.required-token-label{
  font-size:18px;
  letter-spacing:.03em;
}
.required-token-word{
  letter-spacing:.14em;
}
.inline-alert{
  font-size:13px;
  font-weight:800;
  color:#b91c1c;
  text-align:right;
  white-space:nowrap;
}
.input, .textarea{
  width:100%;
  border:1px solid rgba(15,23,42,.12);
  border-radius:14px;
  background:#fff;
  padding:14px 16px;
  font:inherit;
  font-size:16px;
  color:var(--text);
}
.input:focus, .textarea:focus{
  outline:none;
  border-color:rgba(0,136,204,.55);
  box-shadow:0 0 0 4px rgba(0,136,204,.10);
}
.textarea{min-height:112px;resize:vertical}

.actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:4px;
}

.mode-switch{
  display:flex;
  gap:10px;
  padding:8px;
  width:100%;
  max-width:420px;
  background:linear-gradient(180deg,#f4f8fd 0%,#e9f0f8 100%);
  border:1px solid rgba(15,23,42,.08);
  border-radius:20px;
  margin-bottom:18px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.78);
}
.mode-chip{
  flex:1 1 0;
  border:1px solid transparent;
  background:transparent;
  color:#475569;
  min-height:46px;
  padding:0 18px;
  border-radius:14px;
  font:inherit;
  font-weight:700;
  cursor:pointer;
  letter-spacing:-.01em;
  transition:transform .22s var(--ease),background .22s var(--ease),color .22s var(--ease),box-shadow .22s var(--ease),border-color .22s var(--ease);
}
.mode-chip:hover{
  transform:translateY(-1px);
  color:#1f2937;
}
.mode-chip.active{
  background:linear-gradient(135deg,#42bcff 0%,#1e9fff 42%,#5b6dff 100%);
  border-color:rgba(44,130,255,.18);
  color:#fff;
  box-shadow:0 12px 28px rgba(34,120,255,.22);
}

.result-card{
  margin-top:18px;
  padding:20px;
  border-radius:18px;
  border:1px solid rgba(0,0,0,.08);
  background:#fbfdff;
}
.result-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  margin-bottom:14px;
}
.result-title{
  font-size:20px;
  font-weight:800;
  letter-spacing:-.02em;
}
.status-pill{
  display:inline-flex;
  align-items:center;
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
}
.status-pill.ok{background:#dcfce7;color:#166534}
.status-pill.fail{background:#fee2e2;color:#991b1b}

.kv{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px 16px;
}
.kv-block{
  padding:14px 16px;
  border-radius:16px;
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
}
.kv-label{
  font-size:12px;
  color:var(--text2);
  margin-bottom:4px;
  font-weight:700;
}
.kv-value{
  word-break:break-word;
  font-size:15px;
  color:var(--text);
}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}

.image-box{
  margin-top:16px;
  padding:14px;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
}
.image-box img{
  display:block;
  width:100%;
  max-height:560px;
  object-fit:contain;
  border-radius:14px;
  background:#f5f5f7;
}
.help{
  color:var(--text2);
  font-size:13px;
}
.notice{
  margin-top:16px;
  padding:14px 16px;
  border-radius:16px;
  background:rgba(0,136,204,.06);
  border:1px solid rgba(0,136,204,.12);
  color:#0f172a;
}
.subtle{
  background:#f6f9fc;
  border:1px solid rgba(15,23,42,.06);
  color:#475569;
}
.profile-kv{
  margin-top:10px;
}

@media (max-width: 760px){
  .container,.nav-inner{padding-left:14px;padding-right:14px}
  .hero{padding:72px 14px 22px}
  .hero h1{text-wrap:balance}
  .hero p,.panel-subtitle{font-size:15px}
  .grid-two,.kv{grid-template-columns:1fr}
  .entry-card{min-height:0}
  .card{border-radius:20px}
  .panel{padding:18px}
  .result-head{flex-direction:column}
  .field-head{align-items:flex-start;flex-direction:column}
  .inline-alert{text-align:left;white-space:normal}
  .mode-switch{max-width:none}
  .navbar{
    position:static;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
    background:#fff;
  }
  .actions .btn{width:100%}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation:none !important;
    transition:none !important;
  }
}
