@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800;900&family=Be+Vietnam+Pro:wght@400;500;600;700;800&family=Pattaya&family=Charm:wght@400;700&display=swap');.logo-tl {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo-tl img {
  display: block;
  height: 100%;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.55));
  transition: transform 0.25s ease, filter 0.25s ease;
}
.logo-tl:hover img { transform: scale(1.04); filter: drop-shadow(0 4px 14px rgba(255, 180, 60, 0.45)); }

/* Thanh menu: logo to hơn thanh một chút, tràn xuống như các trang game */
.logo-sm { height: 64px; }
.logo-sm img { height: 116px; margin-top: 46px; }

.logo-lg { height: auto; }
.logo-lg img { height: auto; width: min(380px, 80vw); }

@media (max-width: 960px) {
  .logo-sm { height: 56px; }
  .logo-sm img { height: 64px; margin-top: 6px; }
}
/* ============================================================================
   Thanh menu kiểu banner "Tái Chiến Giang Hồ": nền đỏ thẫm, viền vàng kim,
   chữ menu vàng, nút Đăng ký đỏ viền vàng.
   ============================================================================ */
.navigation {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  font-family: var(--font-ui);
  background: linear-gradient(180deg, rgba(48, 8, 5, 0.97), rgba(26, 6, 4, 0.97));
  border-bottom: 1px solid rgba(232, 184, 99, 0.45);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Viền hoa văn vàng mảnh dưới đáy menu */
.navigation::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(232, 184, 99, 0.85) 20%, #ffe2a6 50%, rgba(232, 184, 99, 0.85) 80%, transparent);
  opacity: 0.55;
  pointer-events: none;
}

.nav-overlay {
  position: fixed;
  left: 0; right: 0;
  background: linear-gradient(180deg, rgba(20, 5, 3, 0.7), rgba(20, 5, 3, 0));
  border-bottom-color: transparent;
  box-shadow: none;
}
.nav-overlay::after { opacity: 0; }
.nav-overlay.nav-solid {
  background: linear-gradient(180deg, rgba(48, 8, 5, 0.97), rgba(26, 6, 4, 0.97));
  border-bottom-color: rgba(232, 184, 99, 0.45);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}
.nav-overlay.nav-solid::after { opacity: 0.55; }

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  height: 72px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-logo { flex: 0 0 auto; display: flex; align-items: center; }

.nav-menu {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.nav-item {
  position: relative;
  padding: 10px 16px;
  color: #f6dfb6;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  transition: color 0.2s ease;
}

/* Gạch chân hình thoi khi hover / đang mở */
.nav-item::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--vang-sang), transparent);
  transform: translateX(-50%);
  transition: width 0.25s ease;
}
.nav-item:hover { color: #fff3d6; }
.nav-item:hover::after,
.nav-item.active::after { width: 80%; }
.nav-item.active { color: var(--vang-sang); }

.nav-auth {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border-radius: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  /* góc vát như thẻ bài banner */
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%);
}

.nav-btn-vien {
  color: #ffe9c4;
  background: linear-gradient(180deg, rgba(232, 184, 99, 0.25), rgba(232, 184, 99, 0.08));
  border: none;
  box-shadow: inset 0 0 0 1px rgba(232, 184, 99, 0.7);
}
.nav-btn-vien:hover { filter: brightness(1.2); }

.nav-btn-dac {
  color: #fff3dc;
  background: var(--nut-do);
  border: none;
  box-shadow: inset 0 0 0 1px rgba(255, 214, 140, 0.85);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.nav-btn-dac:hover { transform: translateY(-1px); filter: brightness(1.12); }

.nav-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--vang-sang);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.nav-user-cham {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #52e07a;
  box-shadow: 0 0 8px #52e07a;
}

.nav-burger {
  display: none;
  margin-left: auto;
  width: 42px; height: 42px;
  border: 1px solid rgba(232, 184, 99, 0.6);
  border-radius: 4px;
  background: rgba(60, 10, 6, 0.6);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--vang-sang);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-inner { flex-wrap: wrap; height: auto; min-height: 64px; padding: 0 16px; gap: 0; }
  .nav-logo { height: 64px; }
  .nav-burger { display: flex; }
  .nav-menu,
  .nav-auth { display: none; flex-basis: 100%; }
  .nav-open .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 6px 0;
    border-top: 1px solid rgba(232, 184, 99, 0.35);
  }
  .nav-open .nav-auth { display: flex; justify-content: center; flex-wrap: wrap; padding: 8px 0 18px; }
  .nav-item { padding: 12px 6px; border-bottom: 1px solid rgba(232, 184, 99, 0.12); }
  .nav-item::after { display: none; }
  .nav-overlay.nav-open { background: linear-gradient(180deg, #2c0805, #170403); }
}
/* ============================================================================
   TRANG CHỦ — phong cách banner "Tái Chiến Giang Hồ"
   Đỏ huyết long + vàng kim + hoa đào. Ảnh AI ở public/img/.
   ============================================================================ */
.hp {
  background: var(--nen-sau);
  color: var(--trang);
  font-family: var(--font-body);
  overflow-x: hidden;
}

/* ---------------------------------------------------------------- HERO --- */
.hp-hero {
  position: relative;
  min-height: max(700px, 100vh);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.hp-hero-nen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center 40%;
     object-position: center 40%;
  z-index: -3;
  animation: hp-tho 28s ease-in-out infinite alternate;
}
@keyframes hp-tho { from { transform: scale(1.02); } to { transform: scale(1.1); } }

.hp-hero-phu {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 55% at 50% 52%, rgba(120, 10, 6, 0.35), transparent 70%),
    linear-gradient(180deg, rgba(20, 5, 3, 0.55) 0%, rgba(20, 5, 3, 0) 22%, rgba(20, 5, 3, 0) 62%, var(--nen-sau) 100%);
}

/* Hoa đào rơi */
.hp-hoa { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; }
.hp-hoa i {
  position: absolute;
  top: -30px;
  width: 14px;
  height: 10px;
  border-radius: 100% 0 100% 0;
  background: radial-gradient(circle at 30% 30%, #ffe3ee, #ff8fb4 60%, #e2557f);
  box-shadow: 0 0 6px rgba(255, 143, 180, 0.6);
  animation-name: hp-roi, hp-lac;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
  animation-direction: normal, alternate;
}
@keyframes hp-roi {
  from { top: -4%; translate: 0 0; }
  to   { top: 104%; translate: -18vw 0; }
}
@keyframes hp-lac {
  from { rotate: -30deg; }
  to   { rotate: 200deg; }
}

/* Nhân vật hai bên — viền ảnh được làm mờ để hoà vào cảnh */
.hp-nv {
  position: absolute;
  bottom: 0;
  height: 94%;
  max-height: 1000px;
  width: auto;
  -o-object-fit: cover;
     object-fit: cover;
  pointer-events: none;
  /* Trang chủ dùng nv-*-tc.webp: ảnh đủ cảnh, viền elip đã làm mờ sẵn; thêm mờ chân cho hoà vào hero (như bản hình 3) */
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
  filter: drop-shadow(0 0 24px rgba(0, 0, 0, 0.35));
}
.hp-nv-trai     { left: -2%;  z-index: 1; animation: hp-vao-trai 1.1s ease-out both; }
.hp-nv-phai     { right: -2%; z-index: 1; animation: hp-vao-phai 1.1s ease-out both; }
@keyframes hp-vao-trai { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: none; } }
@keyframes hp-vao-phai { from { opacity: 0; transform: translateX(60px); }  to { opacity: 1; transform: none; } }

/* Cột giữa */
.hp-hero-giua {
  position: relative;
  z-index: 5;
  width: min(820px, 92vw);
  padding: 110px 0 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hp-tieu-de-khung {
  position: relative;
  padding: 0 4%;
  isolation: isolate;
}

.hp-rong {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 46%;
  width: 135%;
  max-width: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  opacity: 0.95;
  -webkit-mask-image: radial-gradient(closest-side, #000 50%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 50%, transparent 100%);
  animation: hp-rong-tho 6s ease-in-out infinite alternate;
}
@keyframes hp-rong-tho { from { filter: brightness(0.9); } to { filter: brightness(1.25); } }

/* Vệt mực đỏ sau chữ */
.hp-muc {
  position: absolute;
  z-index: -1;
  inset: 12% -4% 6%;
  background:
    radial-gradient(48% 60% at 50% 52%, rgba(110, 4, 2, 0.95), rgba(120, 8, 4, 0.75) 45%, transparent 72%),
    radial-gradient(30% 40% at 22% 70%, rgba(140, 10, 6, 0.6), transparent 70%),
    radial-gradient(30% 40% at 80% 30%, rgba(140, 10, 6, 0.6), transparent 70%);
  filter: blur(6px);
}

.hp-tieu-de {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-but);
  font-weight: 400;
  font-size: clamp(64px, 9.4vw, 150px);
  line-height: 0.95;
  margin: 0;
}
.hp-tieu-de span {
  background: var(--chu-vang);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  /* chừa chỗ cho dấu (ế, ồ...) để không bị cắt khi clip chữ */
  padding: 0.22em 0.12em 0.06em;
  filter:
    drop-shadow(0 3px 0 #7a1309)
    drop-shadow(0 5px 0 #3c0703)
    drop-shadow(0 0 16px rgba(255, 120, 40, 0.55));
  animation: hp-chu-vao 0.9s cubic-bezier(.2,.9,.3,1.2) both;
}
.hp-td-1 { transform: rotate(-4deg); margin-right: 0.6em; }
.hp-td-2 { margin-top: -0.36em; margin-left: 0.5em; transform: rotate(-3deg); animation-delay: 0.15s !important; }
@keyframes hp-chu-vao { from { opacity: 0; scale: 1.35; } to { opacity: 1; scale: 1; } }

/* Dải đỏ "Chuyển Sinh New" */
.hp-dai-do {
  margin-top: -6px;
  padding: 8px 54px 10px;
  background:
    linear-gradient(90deg, transparent, rgba(150, 12, 8, 0.95) 12%, #8a0c07 50%, rgba(150, 12, 8, 0.95) 88%, transparent);
  position: relative;
}
.hp-dai-do::before,
.hp-dai-do::after {
  content: '';
  position: absolute;
  left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffd98a, transparent);
}
.hp-dai-do::before { top: 0; }
.hp-dai-do::after { bottom: 0; }
.hp-dai-do span {
  font-family: var(--font-but);
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.2;
  background: var(--chu-vang);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  padding: 0.18em 0.1em 0.04em;
  filter: drop-shadow(0 2px 0 #3c0703);
}

/* 4 thẻ đặc sắc */
.hp-the-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
}
.hp-the {
  position: relative;
  padding: 9px 20px;
  font-family: var(--font-thu);
  font-weight: 700;
  font-size: clamp(14px, 1.3vw, 18px);
  color: #ffe7b8;
  background: linear-gradient(180deg, #6e0f0a, #3b0604);
  box-shadow: inset 0 0 0 1px #d9a855, inset 0 0 0 3px #3b0604, inset 0 0 0 4px rgba(217, 168, 85, 0.6), 0 4px 12px rgba(0, 0, 0, 0.5);
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0 50%);
  text-shadow: 0 1px 2px #000; display: inline-block;
}
.hp-the-list li { position: relative; display: flex; }
.hp-the-list li:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -19px;
  top: 50%;
  width: 9px; height: 9px;
  background: #e2b25d;
  transform: translateY(-50%) rotate(45deg);
}
.hp-the { overflow: visible; }

/* Nút tải game / đăng ký */
.hp-hero-nut {
  margin-top: 30px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.hp-nut {
  min-width: 210px;
  padding: 12px 28px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 16px 100%, 0 50%);
  transition: transform 0.2s ease, filter 0.2s ease;
}
.hp-nut b {
  font-family: var(--font-but);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.15;
}
.hp-nut small {
  font: 600 11.5px/1.4 var(--font-ui);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  opacity: 0.85;
}
.hp-nut:hover { transform: translateY(-3px); filter: brightness(1.12); }
.hp-nut-vang {
  background: var(--nut-vang);
  color: #4a1205;
  box-shadow: inset 0 0 0 2px #fff4cf;
}
.hp-nut-do {
  background: var(--nut-do);
  color: #ffeac4;
  box-shadow: inset 0 0 0 2px #f2c46b;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
}

/* Cuộn giấy khẩu hiệu */
.hp-cuon {
  position: relative;
  margin-top: 30px;
  padding: 8px 56px;
  background: linear-gradient(180deg, #fbf0d8, #ead3a6 70%, #d9bb85);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}
.hp-cuon::before,
.hp-cuon::after {
  content: '';
  position: absolute;
  top: -7px; bottom: -7px;
  width: 18px;
  border-radius: 8px;
  background: linear-gradient(90deg, #5b1408, #b32a17 45%, #5b1408);
  box-shadow: 0 0 0 1px #e7b55e;
}
.hp-cuon::before { left: -9px; }
.hp-cuon::after { right: -9px; }
.hp-cuon span {
  font-family: var(--font-thu);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 28px);
  color: #3b0b05;
}


/* ---------------------------------------------------------- RESPONSIVE --- */
@media (max-width: 1280px) {
  .hp-nv { height: 80%; opacity: 0.75; }
  .hp-nv-trai { left: -10%; }
  .hp-nv-phai { right: -10%; }
}
@media (max-width: 860px) {
  .hp-nv { opacity: 0.35; height: 70%; }
  .hp-nv-trai { left: -30%; }
  .hp-nv-phai { right: -30%; }
  .hp-hero-giua { padding-top: 100px; }
}
@media (max-width: 560px) {
  .hp-the-list li:not(:last-child)::after { display: none; }
  .hp-the-list { gap: 8px; }
  .hp-nut { min-width: 0; flex: 1 1 140px; padding: 10px 18px 8px; }
  .hp-nut b { font-size: 24px; }
  .hp-cuon { padding: 8px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .hp-hero-nen, .hp-rong, .hp-hoa i { animation: none !important; }
  .hp-hoa { display: none; }
}
/* Trang đăng nhập / đăng ký / quên mật khẩu — thẻ khung vàng trên cảnh cổng chùa đêm, nhân vật bên trái. */
.au {
  min-height: 100vh;
  color: var(--trang);
  font-family: var(--font-body);
  background: var(--nen-sau);
}

.au-main {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px 70px;
  overflow: hidden;
  isolation: isolate;
}

.au-nen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: -2;
}
.au-main::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(55% 70% at 60% 50%, rgba(40, 6, 4, 0.55), rgba(14, 4, 3, 0.9));
}

.au-nv {
  position: absolute;
  left: max(0px, calc(50% - 640px));
  bottom: 0;
  height: 94%;
  z-index: -1;
  filter: drop-shadow(0 0 24px rgba(0, 0, 0, 0.35));
  opacity: 0.95;
}

.au-hop {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-left: min(360px, 24vw);
  padding: 30px 32px 32px;
  background: linear-gradient(180deg, rgba(60, 10, 6, 0.92), rgba(24, 5, 3, 0.94));
  box-shadow:
    inset 0 0 0 1px #d9a855,
    inset 0 0 0 5px rgba(24, 5, 3, 0.9),
    inset 0 0 0 6px rgba(217, 168, 85, 0.45),
    0 20px 50px rgba(0, 0, 0, 0.6);
}
/* 4 góc hoa văn */
.au-hop::before,
.au-hop::after {
  content: '';
  position: absolute;
  width: 26px; height: 26px;
  border: 2px solid var(--vang);
  pointer-events: none;
}
.au-hop::before { top: -6px; left: -6px; border-right: none; border-bottom: none; }
.au-hop::after { bottom: -6px; right: -6px; border-left: none; border-top: none; }

.au-dau {
  text-align: center;
  font-family: var(--font-thu);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--hong);
}

.au-title {
  font-family: var(--font-but);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  margin: 0 0 18px;
  background: var(--chu-vang);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  padding-top: 0.12em;
  filter: drop-shadow(0 3px 0 #5c0d06);
}

.au-form { display: flex; flex-direction: column; gap: 14px; }

.au-o { display: flex; flex-direction: column; gap: 6px; }

.au-o label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #e9c98f;
}

.au-o input {
  padding: 12px 14px;
  border: 1px solid rgba(232, 184, 99, 0.35);
  border-radius: 2px;
  background: rgba(10, 2, 1, 0.55);
  color: var(--trang);
  font-family: var(--font-body);
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.au-o input::-moz-placeholder { color: rgba(205, 179, 154, 0.45); }

.au-o input::placeholder { color: rgba(205, 179, 154, 0.45); }
.au-o input:focus { border-color: var(--vang); box-shadow: 0 0 0 3px rgba(232, 184, 99, 0.15); }
.au-o input:disabled { opacity: 0.6; }

.au-captcha { display: flex; justify-content: center; }

.au-nut {
  margin-top: 6px;
  padding: 10px 14px 8px;
  border: none;
  cursor: pointer;
  font-family: var(--font-but);
  font-size: 26px;
  font-weight: 400;
  color: #ffeac4;
  background: var(--nut-do);
  box-shadow: inset 0 0 0 2px #f2c46b;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
  clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 16px 100%, 0 50%);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.au-nut:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.12); }
.au-nut:disabled { opacity: 0.6; cursor: not-allowed; }

.au-phu {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.au-phu a {
  color: var(--vang);
  text-decoration: none;
  font-size: 13.5px;
}
.au-phu a:hover { color: var(--vang-sang); text-decoration: underline; }

.au-thong-bao {
  margin-top: 16px;
  padding: 11px 14px;
  font-size: 13.5px;
  text-align: center;
}

.au-thong-bao.success {
  background: rgba(34, 120, 60, 0.25);
  border: 1px solid rgba(74, 222, 128, 0.5);
  color: #a7f3c0;
}

.au-thong-bao.error {
  background: rgba(140, 22, 18, 0.35);
  border: 1px solid rgba(214, 52, 40, 0.7);
  color: #f7c3bd;
}

@media (max-width: 900px) {
  .au-hop { margin-left: 0; }
  .au-nv { opacity: 0.3; left: -20%; }
}
@media (max-width: 460px) {
  .au-hop { padding: 24px 20px; }
  .au-title { font-size: 36px; }
}
/* ============================================================================
   TRANG 404 — cùng tông kem · vàng kim · đỏ son với toàn site
   ========================================================================== */

.nf {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--trang);
  font-family: var(--font-body);
  background: radial-gradient(120% 80% at 50% 0%, #5a0f09 0%, var(--nen) 45%, var(--nen-sau) 100%);
  background-attachment: fixed;
}

.nf-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 70px 20px 90px;
  text-align: center;
}

.nf-so {
  font-family: var(--font-title);
  font-size: clamp(88px, 17vw, 190px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.06em;
  /* Số 404 rỗng ruột, chỉ có nét viền vàng cho nhẹ mắt */
  color: transparent;
  -webkit-text-stroke: 2px var(--vang);
  text-shadow: 0 0 46px rgba(232, 184, 99, 0.3);
}

.nf-tieu-de {
  margin-top: 10px;
  font-family: var(--font-title);
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vang-sang);
  text-shadow: 0 0 24px rgba(232, 184, 99, 0.45);
}

.nf-mo-ta {
  max-width: 460px;
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--trang-mo);
}

.nf-nut {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.nf-nut button {
  padding: 13px 32px;
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nf-nut button:hover {
  transform: translateY(-2px);
}

.nf-nut-chinh {
  color: #23100a;
  background: linear-gradient(180deg, var(--vang-sang), var(--vang) 55%, var(--vang-tram));
  border: 1px solid var(--vang-sang);
  box-shadow: var(--glow-vang);
}

.nf-nut-chinh:hover {
  filter: brightness(1.08);
}

.nf-nut-phu {
  color: var(--vang);
  background: transparent;
  border: 1px solid rgba(232, 184, 99, 0.5);
}

.nf-nut-phu:hover {
  color: #23100a;
  background: var(--vang);
}
/* ============================================================================
   CÔNG CỤ ADD PET — giao diện tối gọn, tập trung vào log
   ========================================================================== */
.tap {
  min-height: 100vh;
  padding: 32px 16px 60px;
  background: #14171f;
  color: #e6e9ef;
  font-family: 'Segoe UI', system-ui, sans-serif;
}

.tap-box {
  max-width: 960px;
  margin: 0 auto;
}

.tap-head h1 {
  font-size: 26px;
  font-weight: 800;
  color: #7dd3fc;
}
.tap-head p {
  margin-top: 6px;
  font-size: 13.5px;
  color: #94a3b8;
}

/* ===== Form ===== */
.tap-form {
  margin-top: 24px;
  padding: 20px;
  background: #1b1f2a;
  border: 1px solid #2b3242;
  border-radius: 12px;
}

.tap-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.tap-field { margin-bottom: 16px; }
.tap-field label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}

.tap-field input {
  width: 100%;
  padding: 11px 13px;
  font-size: 14.5px;
  color: #e6e9ef;
  background: #0f1218;
  border: 1px solid #2b3242;
  border-radius: 8px;
  transition: border-color 0.2s ease;
}
.tap-field input:focus { outline: none; border-color: #38bdf8; }
.tap-field input:disabled { opacity: 0.55; }

.tap-modes { display: flex; gap: 10px; }
.tap-modes button {
  flex: 1;
  padding: 11px;
  font-size: 14px;
  font-weight: 700;
  color: #cbd5e1;
  background: #0f1218;
  border: 1px solid #2b3242;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.tap-modes button.on {
  color: #082f49;
  background: #38bdf8;
  border-color: #38bdf8;
}

.tap-run {
  width: 100%;
  padding: 13px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #082f49;
  background: linear-gradient(180deg, #7dd3fc, #38bdf8);
  border: none;
  border-radius: 9px;
  cursor: pointer;
  transition: filter 0.2s ease;
}
.tap-run:hover:not(:disabled) { filter: brightness(1.08); }
.tap-run:disabled { opacity: 0.6; cursor: not-allowed; }

/* ===== Tóm tắt ===== */
.tap-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.tap-summary span {
  padding: 6px 12px;
  font-size: 12.5px;
  color: #cbd5e1;
  background: #1b1f2a;
  border: 1px solid #2b3242;
  border-radius: 999px;
}
.tap-summary span b { color: #7dd3fc; }
.tap-summary span.warn { border-color: #f59e0b; }
.tap-summary span.warn b { color: #fbbf24; }

/* ===== Log ===== */
.tap-log {
  margin-top: 18px;
  max-height: 460px;
  overflow-y: auto;
  padding: 14px;
  font-family: 'Consolas', 'Menlo', monospace;
  font-size: 13px;
  line-height: 1.7;
  background: #0b0e13;
  border: 1px solid #2b3242;
  border-radius: 10px;
}
.tap-log-empty { color: #64748b; }

.tap-line { white-space: pre-wrap; word-break: break-word; }
.tap-line-tag {
  display: inline-block;
  width: 46px;
  margin-right: 10px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  border-radius: 4px;
}
.tap-line.info .tap-line-tag { color: #93c5fd; background: rgba(59,130,246,0.15); }
.tap-line.ok   .tap-line-tag { color: #86efac; background: rgba(34,197,94,0.15); }
.tap-line.warn { color: #fcd34d; }
.tap-line.warn .tap-line-tag { color: #fbbf24; background: rgba(245,158,11,0.16); }
.tap-line.error { color: #fca5a5; }
.tap-line.error .tap-line-tag { color: #f87171; background: rgba(239,68,68,0.16); }

@media (max-width: 640px) {
  .tap-row { grid-template-columns: 1fr; }
}
/* ============================================================================
   TRANG TÀI KHOẢN (sau đăng nhập) — giao diện 10/11/2026
     .hs-dau  : dải đầu trang trên nền cảnh, ấn triện tên + số bạc
     .hs-bai  : hàng "bài gỗ" chọn mục
     .hs-cuon : cuộn giấy ngang chứa nội dung, chữ nâu mực
   ========================================================================== */
.hs {
  min-height: 100vh;
  color: var(--trang);
  font-family: var(--font-body);
  background:
    radial-gradient(80% 50% at 50% 100%, rgba(140, 22, 18, 0.35), transparent 70%),
    var(--nen-sau);
  padding-bottom: 70px;
}

/* ---------------------------------------------------------- DẢI ĐẦU --- */
.hs-dau {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 2px solid rgba(232, 184, 99, 0.6);
}
.hs-dau-nen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center 35%;
     object-position: center 35%;
  z-index: -2;
}
.hs-dau::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(30, 5, 3, 0.92) 0%, rgba(60, 8, 5, 0.6) 50%, rgba(30, 5, 3, 0.9) 100%);
}

.hs-dau-trong {
  max-width: 1140px;
  margin: 0 auto;
  padding: 44px 24px 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.hs-danh { display: flex; align-items: center; gap: 22px; }

/* Ấn triện đỏ mang chữ cái đầu tên */
.hs-an {
  width: 92px;
  height: 92px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #b3180f;
  border-radius: 8px;
  transform: rotate(-6deg);
  box-shadow: inset 0 0 0 4px #b3180f, inset 0 0 0 6px #fbe3c0, 0 10px 24px rgba(0, 0, 0, 0.5);
}
.hs-an span {
  font-family: var(--font-but);
  font-size: 54px;
  line-height: 1;
  color: #fff1d8;
  padding-top: 8px;
}

.hs-chao {
  margin: 0;
  font-family: var(--font-thu);
  font-weight: 700;
  font-size: 18px;
  color: var(--hong);
}
.hs-ten {
  margin: 0;
  font-family: var(--font-but);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 54px);
  line-height: 1.25;
  background: var(--chu-vang);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  padding-top: 0.1em;
  filter: drop-shadow(0 3px 0 #5c0d06);
  word-break: break-all;
}
.hs-lien { margin: 2px 0 0; font-size: 14px; color: var(--trang-mo); }

.hs-chi-so { display: flex; align-items: stretch; gap: 14px; flex-wrap: wrap; }
.hs-o-so {
  min-width: 96px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(20, 5, 3, 0.55);
  border: 1px solid rgba(232, 184, 99, 0.35);
}
.hs-o-so b { font-family: var(--font-but); font-weight: 400; font-size: 30px; line-height: 1.2; color: var(--vang-sang); }
.hs-o-so span { font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--trang-mo); }

.hs-bac {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 18px;
  background: linear-gradient(180deg, rgba(120, 16, 10, 0.85), rgba(50, 6, 4, 0.9));
  box-shadow: inset 0 0 0 1px #d9a855, inset 0 0 0 4px rgba(50, 6, 4, 0.9), inset 0 0 0 5px rgba(217, 168, 85, 0.45);
}
.hs-dong-xu {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6d0, #f0c457 45%, #a8711f);
  box-shadow: inset 0 0 0 3px rgba(120, 70, 10, 0.5), 0 0 14px rgba(255, 200, 80, 0.5);
  position: relative;
}
.hs-dong-xu::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 2px solid rgba(110, 60, 5, 0.7);
}
.hs-bac div { display: flex; flex-direction: column; }
.hs-bac div span { font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; color: #f2cfa0; }
.hs-bac div b { font-family: var(--font-but); font-weight: 400; font-size: 32px; line-height: 1.2; color: #ffe2a6; }
.hs-bac button {
  margin-left: 6px;
  padding: 8px 16px;
  border: none;
  cursor: pointer;
  font: 700 14px var(--font-ui);
  color: #4a1205;
  background: var(--nut-vang);
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0 50%);
}
.hs-bac button:hover { filter: brightness(1.1); }

/* ---------------------------------------------------------- BÀI GỖ --- */
.hs-bai {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: -30px auto 0;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hs-bai button {
  position: relative;
  width: 112px;
  padding: 16px 6px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  border: none;
  color: #f3d9ae;
  background: linear-gradient(180deg, #5b1a0e, #33100a);
  box-shadow: inset 0 0 0 1px rgba(232, 184, 99, 0.55), 0 8px 18px rgba(0, 0, 0, 0.5);
  clip-path: polygon(0 0, 100% 0, 100% 86%, 50% 100%, 0 86%);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.hs-bai button span { font: 700 14.5px var(--font-ui); letter-spacing: 0.5px; padding-bottom: 8px; }
.hs-bai button:hover { transform: translateY(3px); color: #fff1d4; }
.hs-bai button.on {
  transform: translateY(8px);
  color: #4a1205;
  background: var(--nut-vang);
  box-shadow: inset 0 0 0 1px #fff4cf, 0 10px 22px rgba(0, 0, 0, 0.55);
}
.hs-bai-thoat { background: linear-gradient(180deg, #2a0d08, #170605) !important; color: #cdb39a !important; }

/* --------------------------------------------------------- CUỘN GIẤY --- */
.hs-cuon {
  position: relative;
  max-width: 1040px;
  margin: 40px auto 0;
  padding: 0 46px;
}
/* hai trục cuộn hai bên */
.hs-cuon::before,
.hs-cuon::after {
  content: '';
  position: absolute;
  top: -14px;
  bottom: -14px;
  width: 26px;
  border-radius: 13px;
  background: linear-gradient(90deg, #4a0805, #b3301f 40%, #e0553c 55%, #8e140c 75%, #4a0805);
  box-shadow: inset 0 0 0 1px rgba(255, 210, 140, 0.6), 0 10px 20px rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.hs-cuon::before { left: 26px; }
.hs-cuon::after { right: 26px; }

.hs-giay {
  position: relative;
  min-height: 380px;
  padding: 34px 48px 40px;
  color: #3b1006;
  background:
    radial-gradient(90% 60% at 50% 0%, rgba(255, 255, 255, 0.45), transparent 65%),
    linear-gradient(180deg, rgba(150, 100, 40, 0.16), transparent 6%, transparent 94%, rgba(150, 100, 40, 0.16)),
    linear-gradient(180deg, #fbf1da, #f2dfb6 55%, #e8cf9d);
  box-shadow: inset 0 0 0 1px rgba(150, 90, 30, 0.35), 0 18px 40px rgba(0, 0, 0, 0.55);
  animation: hs-mo 0.5s ease both;
}
@keyframes hs-mo { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.hs-td {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 26px;
}
.hs-td h2 {
  margin: 0;
  font-family: var(--font-but);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.3;
  color: #9b140c;
  text-shadow: 0 2px 0 rgba(255, 240, 200, 0.9);
}
.hs-td i {
  flex: 0 1 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #9b140c);
  position: relative;
}
.hs-td i:last-child { transform: scaleX(-1); }
.hs-td i::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -4px;
  width: 8px;
  height: 8px;
  background: #9b140c;
  transform: rotate(45deg);
}

.do { color: #b3180f !important; font-weight: 800 !important; }

/* Hồ sơ: các dòng có chấm dẫn như khế ước */
.hs-khe {
  margin: 0 auto;
  max-width: 720px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 40px;
}
.hs-khe div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 0;
}
.hs-khe dt { font-size: 14px; color: #7a4a26; white-space: nowrap; }
.hs-khe div::after { content: none; }
.hs-khe dt::after {
  content: '';
  display: inline-block;
  width: 0;
}
.hs-khe dd {
  flex: 1;
  margin: 0;
  text-align: right;
  font-weight: 700;
  font-size: 15.5px;
  color: #3b1006;
  border-bottom: 1px dotted rgba(122, 74, 38, 0.6);
  word-break: break-all;
}

.hs-loi-tat { margin-top: 30px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hs-loi-tat button,
.hs-nut,
.hs-the button {
  padding: 10px 26px;
  border: none;
  cursor: pointer;
  font: 700 14px var(--font-ui);
  letter-spacing: 0.4px;
  color: #ffeac4;
  background: var(--nut-do);
  box-shadow: inset 0 0 0 1px #f2c46b;
  clip-path: polygon(10px 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0 50%);
  transition: filter 0.2s ease, transform 0.2s ease;
}
.hs-loi-tat button:hover,
.hs-nut:hover:not(:disabled),
.hs-the button:hover:not(:disabled) { filter: brightness(1.15); transform: translateY(-1px); }
.hs-loi-tat button + button { background: linear-gradient(180deg, #6b4a2a, #3e2512); }
button:disabled { opacity: 0.6; cursor: not-allowed; }

/* Nhân vật: thẻ bài */
.hs-the-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.hs-the {
  position: relative;
  padding: 22px 18px 18px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fff8e8, #f0dcb2);
  border: 1px solid rgba(150, 90, 30, 0.45);
  box-shadow: inset 0 0 0 4px #fff8e8, inset 0 0 0 5px rgba(155, 20, 12, 0.3), 0 6px 14px rgba(90, 40, 10, 0.18);
}
.hs-the-cap {
  position: absolute;
  top: -10px;
  right: 14px;
  width: 52px;
  height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-but);
  font-size: 24px;
  line-height: 1;
  color: #fff1d8;
  background: #b3180f;
  border-radius: 6px;
  transform: rotate(6deg);
  box-shadow: inset 0 0 0 2px #b3180f, inset 0 0 0 3px #fbe3c0;
}
.hs-the-cap small { font: 700 9px var(--font-ui); letter-spacing: 1px; text-transform: uppercase; }
.hs-the h3 {
  margin: 0 60px 2px 0;
  font-family: var(--font-thu);
  font-weight: 700;
  font-size: 22px;
  color: #3b1006;
  word-break: break-all;
}
.hs-the-phai { margin: 0 0 12px; font-weight: 700; font-size: 14px; color: #9b140c; }
.hs-the ul { list-style: none; margin: 0 0 16px; padding: 0; }
.hs-the li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13.5px;
  border-bottom: 1px dotted rgba(122, 74, 38, 0.5);
}
.hs-the li span { color: #7a4a26; }
.hs-the button { margin-top: auto; font-size: 13px; padding: 9px 12px; }

/* Nạp bạc */
.hs-nap { display: grid; grid-template-columns: 260px 1fr; gap: 34px; align-items: start; }
.hs-qr {
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: #fff;
  box-shadow: inset 0 0 0 3px #b3180f, inset 0 0 0 6px #fff, inset 0 0 0 7px rgba(179, 24, 15, 0.5), 0 8px 18px rgba(90, 40, 10, 0.2);
}
.hs-qr img { width: 100%; aspect-ratio: 1; -o-object-fit: contain; object-fit: contain; }
.hs-qr span { font-size: 12.5px; font-weight: 700; color: #9b140c; }

.hs-nap-tt { display: flex; flex-direction: column; gap: 2px; }
.hs-dong {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dotted rgba(122, 74, 38, 0.55);
}
.hs-dong span { width: 150px; flex: 0 0 auto; font-size: 13.5px; color: #7a4a26; }
.hs-dong b { flex: 1; font-size: 15.5px; color: #3b1006; word-break: break-all; }
.hs-dong.noi b { color: #b3180f; font-size: 17px; }
.hs-dong button {
  padding: 5px 12px;
  border: 1px solid rgba(155, 20, 12, 0.6);
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  font: 700 12px var(--font-ui);
  color: #9b140c;
}
.hs-dong button:hover { background: #9b140c; color: #fff1d8; }
.hs-nap-tt ol { margin: 16px 0 0; padding-left: 20px; font-size: 14px; line-height: 1.9; color: #4a2410; }
.hs-canh-bao {
  margin: 14px 0 0;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: #9b140c;
  background: rgba(179, 24, 15, 0.08);
  border-left: 3px solid #b3180f;
}

/* Lịch sử */
.hs-bang-bao { overflow-x: auto; }
.hs-bang { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.hs-bang th {
  padding: 12px 14px;
  text-align: left;
  font: 700 12.5px var(--font-ui);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff1d8;
  background: #8e140c;
}
.hs-bang td { padding: 12px 14px; border-bottom: 1px dotted rgba(122, 74, 38, 0.55); color: #3b1006; }
.hs-bang tbody tr:nth-child(even) td { background: rgba(150, 100, 40, 0.08); }

/* Đổi mật khẩu */
.hs-form {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}
.hs-o { display: flex; flex-direction: column; gap: 6px; }
.hs-o span { font-size: 13px; font-weight: 700; color: #7a4a26; }
.hs-o input {
  padding: 11px 2px;
  border: none;
  border-bottom: 2px solid rgba(122, 74, 38, 0.5);
  border-radius: 0;
  background: transparent;
  color: #3b1006;
  font: 600 15px var(--font-body);
  outline: none;
  transition: border-color 0.2s ease;
}
.hs-o input:focus { border-color: #b3180f; box-shadow: none; }
.hs-form .hs-nut { grid-column: 1 / -1; justify-self: center; margin-top: 8px; padding: 12px 40px; font-size: 15px; }

.hs-trong {
  padding: 46px 20px;
  text-align: center;
  font-family: var(--font-thu);
  font-weight: 700;
  font-size: 19px;
  color: #7a4a26;
  border: 1px dashed rgba(122, 74, 38, 0.45);
}

/* Thông báo nổi góc dưới */
.hs-bao {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  max-width: 360px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
  animation: hs-mo 0.3s ease both;
}
.hs-bao.success { background: #1f5a33; color: #d8fbe4; border-left: 4px solid #6ee7a0; }
.hs-bao.error { background: #7a0c08; color: #ffe0da; border-left: 4px solid #ffb4a6; }

@media (max-width: 860px) {
  .hs-dau-trong { padding: 32px 18px 64px; }
  .hs-chi-so { width: 100%; }
  .hs-bac { flex: 1 1 100%; }
  .hs-cuon { padding: 0 18px; }
  .hs-cuon::before { left: 4px; }
  .hs-cuon::after { right: 4px; }
  .hs-giay { padding: 26px 22px 30px; }
  .hs-khe { grid-template-columns: 1fr; }
  .hs-nap { grid-template-columns: 1fr; }
  .hs-qr { max-width: 260px; margin: 0 auto; }
  .hs-form { grid-template-columns: 1fr; }
  .hs-bai button { width: 84px; }
  }
@media (max-width: 480px) {
  .hs-an { width: 70px; height: 70px; }
  .hs-an span { font-size: 40px; }
  .hs-bai { gap: 6px; padding: 0 10px; }
  .hs-bai button { width: calc(33.3% - 4px); }
  .hs-dong { flex-wrap: wrap; }
  .hs-dong span { width: 100%; }
  .hs-td h2 { font-size: 32px; }
  .hs-td i { display: none; }
}
/* Trang tải game — cuộn thư treo trên nền cảnh, nhân vật bên trái. */
.tg {
  min-height: 100vh;
  color: var(--trang);
  font-family: var(--font-body);
  background: var(--nen-sau);
}

.tg-main {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 20px 64px;
  overflow: hidden;
  isolation: isolate;
}

.tg-nen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center 30%;
     object-position: center 30%;
  z-index: -3;
  filter: saturate(0.9) brightness(0.75);
}
.tg-main::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(45% 60% at 62% 50%, rgba(255, 200, 120, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(20, 5, 3, 0.35), rgba(20, 5, 3, 0.75));
}

.tg-nv {
  position: absolute;
  left: max(-60px, calc(50% - 700px));
  bottom: 0;
  height: 96%;
  z-index: -1;
}

/* ---------- Cuộn thư ---------- */
.tg-cuon {
  position: relative;
  width: min(460px, 100%);
  margin-left: min(380px, 26vw);
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.6));
  animation: tg-mo 0.9s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes tg-mo {
  from { clip-path: inset(48% -40px 48% -40px); }
  to   { clip-path: inset(-60px -40px -20px -40px); }
}

/* Trục gỗ: thân đỏ sơn mài + hai núm vàng */
.tg-truc {
  position: relative;
  height: 22px;
  margin: 0 -26px;
  border-radius: 11px;
  background: linear-gradient(180deg, #d0402c 0%, #8e140c 45%, #4a0805 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 210, 140, 0.55);
  z-index: 2;
}
.tg-truc::before,
.tg-truc::after {
  content: '';
  position: absolute;
  top: -5px;
  width: 22px;
  height: 32px;
  border-radius: 6px;
  background: linear-gradient(180deg, #fff0c2, #e2a94a 50%, #8a5a1a);
}
.tg-truc::before { left: -14px; }
.tg-truc::after { right: -14px; }
/* Dây treo ở trục trên */
.tg-truc-tren i {
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 120px;
  height: 46px;
  margin-left: -60px;
  border: 2px solid #d9a855;
  border-bottom: none;
  border-radius: 60px 60px 0 0;
}

.tg-giay {
  position: relative;
  margin: -4px 0;
  padding: 26px 40px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #3b1006;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, 0.5), transparent 60%),
    linear-gradient(90deg, rgba(150, 100, 40, 0.18), transparent 8%, transparent 92%, rgba(150, 100, 40, 0.18)),
    linear-gradient(180deg, #fbf1da, #f0dcb0 60%, #e6cc97);
  box-shadow: inset 0 0 0 1px rgba(150, 90, 30, 0.35), inset 0 0 0 8px rgba(251, 241, 218, 0.6), inset 0 0 0 9px rgba(160, 30, 20, 0.35);
}

.tg-logo {
  width: 78%;
  margin: -8px 0 4px;
  filter: drop-shadow(0 6px 10px rgba(60, 20, 0, 0.35));
}

.tg-tieu-de {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.tg-tieu-de h1 {
  margin: 0;
  font-family: var(--font-but);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.3;
  color: #9b140c;
  text-shadow: 0 2px 0 rgba(255, 240, 200, 0.9);
}
/* Ấn triện đỏ */
.tg-an {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  font: 800 15px/1 var(--font-ui);
  color: #fff3dc;
  background: #b3180f;
  border: 2px solid #fff3dc;
  outline: 2px solid #b3180f;
  transform: rotate(-8deg);
}

.tg-phu {
  margin: 0 0 22px;
  font-family: var(--font-thu);
  font-size: 18px;
  font-weight: 700;
  color: #6b3a1a;
}

.tg-nut-chinh {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  color: #ffeac4;
  background: var(--nut-do);
  box-shadow: inset 0 0 0 2px #f2c46b, inset 0 0 0 5px #7a0c08, inset 0 0 0 6px rgba(242, 196, 107, 0.6), 0 8px 18px rgba(120, 10, 5, 0.35);
  transition: transform 0.2s ease, filter 0.2s ease;
}
.tg-nut-chinh:hover { transform: translateY(-2px); filter: brightness(1.12); }
.tg-nut-chinh svg {
  width: 38px;
  height: 38px;
  padding: 7px;
  border-radius: 50%;
  border: 2px solid #f2c46b;
  fill: none;
  stroke: #ffe2a6;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: tg-nhun 1.8s ease-in-out infinite;
}
@keyframes tg-nhun { 50% { transform: translateY(3px); } }
.tg-nut-chinh span { display: flex; flex-direction: column; align-items: flex-start; }
.tg-nut-chinh b { font-family: var(--font-but); font-weight: 400; font-size: 32px; line-height: 1.2; text-shadow: 0 2px 2px rgba(0, 0, 0, 0.45); }
.tg-nut-chinh small { font: 600 12px var(--font-ui); letter-spacing: 1px; text-transform: uppercase; opacity: 0.85; }

.tg-nut-phu {
  margin-top: 12px;
  padding: 6px 4px;
  border: none;
  background: none;
  cursor: pointer;
  font: 700 15px var(--font-ui);
  color: #9b140c;
  border-bottom: 1px dashed rgba(155, 20, 12, 0.6);
}
.tg-nut-phu small { font-weight: 500; font-size: 13px; color: #7a4a26; margin-left: 4px; }
.tg-nut-phu:hover { color: #c71c10; }

.chua-co { opacity: 0.5; }

.tg-buoc {
  list-style: none;
  width: 100%;
  margin: 26px 0 0;
  padding: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border-top: 1px solid rgba(150, 90, 30, 0.35);
}
.tg-buoc li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: #5a2a10;
}
.tg-buoc span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-thu);
  font-weight: 700;
  font-size: 16px;
  color: #fff3dc;
  background: radial-gradient(circle at 35% 30%, #d8402e, #8e140c);
  box-shadow: 0 0 0 2px #e6cc97, 0 0 0 3px rgba(155, 20, 12, 0.5);
}

@media (max-width: 900px) {
  .tg-cuon { margin-left: 0; }
  .tg-nv { opacity: 0.3; left: -25%; }
}
@media (max-width: 480px) {
  .tg-giay { padding: 22px 22px 28px; }
  .tg-tieu-de h1 { font-size: 44px; }
  .tg-truc { margin: 0 -12px; }
}
.adm-login {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  font-family: 'Segoe UI', Arial, sans-serif;
  padding: 20px;
}
.adm-login-card {
  width: 100%;
  max-width: 380px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 36px 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}
.adm-login-logo {
  font-size: 42px;
  text-align: center;
}
.adm-login-card h1 {
  margin: 8px 0 2px;
  text-align: center;
  color: #f1f5f9;
  font-size: 24px;
}
.adm-login-sub {
  margin: 0 0 22px;
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
}
.adm-login-card label {
  color: #cbd5e1;
  font-size: 13px;
  margin: 12px 0 6px;
}
.adm-login-card input {
  width: 100%;
  padding: 11px 13px;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  color: #f1f5f9;
  font-size: 14px;
  outline: none;
}
.adm-login-card input:focus { border-color: #3b82f6; }
.adm-login-card button {
  margin-top: 22px;
  padding: 12px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}
.adm-login-card button:hover:not(:disabled) { background: #1d4ed8; }
.adm-login-card button:disabled { opacity: 0.6; cursor: not-allowed; }
.adm-login-error {
  background: #7f1d1d;
  color: #fecaca;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 8px;
}
.re {
  border: 1px solid #334155;
  border-radius: 8px;
  overflow: hidden;
  background: #0f172a;
}
.re-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 8px;
  background: #1e293b;
  border-bottom: 1px solid #334155;
}
.re-btn {
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 6px;
  color: #e2e8f0;
  font-size: 13px;
  cursor: pointer;
  line-height: 1;
}
.re-btn:hover { background: #334155; }
/* width:auto để không bị rule .adm-content form select kéo dài hết hàng */
.re .re-select {
  width: auto;
  min-width: 120px;
  height: 30px;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 6px;
  color: #e2e8f0;
  font-size: 13px;
  padding: 0 6px;
  cursor: pointer;
}
.re-sep { width: 1px; height: 22px; background: #334155; margin: 0 4px; }

/* Nút màu chữ: chữ A + thanh màu đang chọn ở dưới cho dễ hiểu */
.re-color {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 30px;
  height: 30px;
  padding: 3px 6px;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 6px;
  cursor: pointer;
}
.re-color .re-color-a { color: #e2e8f0; font-weight: 700; font-size: 13px; line-height: 1; }
.re-color::after {
  content: "";
  display: block;
  width: 18px;
  height: 4px;
  border-radius: 2px;
  background: var(--c, #c41e3a);
}
.re-color input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* Thanh chỉnh kích thước ảnh */
.re-imgbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 7px 10px;
  background: #15233b;
  border-bottom: 1px solid #334155;
  color: #93c5fd;
  font-size: 13px;
}
.re-imgbar-close { margin-left: auto; }
.re-area img.re-img-selected { outline: 3px solid #3b82f6; outline-offset: 2px; }

.re-area {
  min-height: 320px;
  max-height: 600px;
  overflow-y: auto;
  padding: 16px 18px;
  color: #e8eef7;
  font-size: 15px;
  line-height: 1.7;
  outline: none;
  background: #fff;
  color: #1c1e21;
}
.re-area:empty::before {
  content: attr(data-placeholder);
  color: #94a3b8;
}
.re-area img { max-width: 100%; height: auto; border-radius: 6px; margin: 8px 0; }
.re-area h1 { font-size: 26px; margin: 14px 0 8px; }
.re-area h2 { font-size: 22px; margin: 12px 0 8px; }
.re-area h3 { font-size: 18px; margin: 10px 0 6px; }
.re-area p { margin: 8px 0; }
.re-area ul { list-style: disc; margin: 8px 0; padding-left: 26px; }
.re-area ol { list-style: decimal; margin: 8px 0; padding-left: 26px; }
.re-area li { margin: 4px 0; }
.re-area blockquote {
  margin: 10px 0;
  padding: 8px 14px;
  border-left: 4px solid #c41e3a;
  background: #f6f6f6;
  color: #444;
}
.re-area pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 12px;
  border-radius: 6px;
  overflow-x: auto;
  font-family: monospace;
}
.re-area a { color: #2563eb; text-decoration: underline; }
/* Làm Pet Boss — theo tông tối của trang admin (slate) */
.pb-khung { border: 1px solid #334155; border-radius: 8px; }
.pb-chon td { background: #1e3a5f; }
.pb-mo { color: #94a3b8; font-size: 12.5px; }
.pb-sua > label { display: block; }

.pb-nhom {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #334155;
  border-radius: 10px;
  background: #0f172a;
}
.pb-nhom h4 { margin: 0 0 10px; font-size: 13.5px; color: #e2e8f0; font-weight: 700; }

.pb-chip { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.pb-chip button {
  padding: 7px 12px;
  border: 1px solid #334155;
  border-radius: 8px;
  background: #1e293b;
  color: #cbd5e1;
  font-size: 13px;
  cursor: pointer;
}
.pb-chip button b { color: #fbbf24; margin-right: 4px; }
.pb-chip button:hover { border-color: #64748b; }
.pb-chip button.on { background: #1d4ed8; border-color: #3b82f6; color: #fff; }
.pb-chip button.on b { color: #fde68a; }
.pb-chip-nho { max-height: 150px; overflow-y: auto; }
.pb-chip-nho button { font-size: 12px; padding: 5px 9px; }

.pb-hang { display: flex; gap: 12px; flex-wrap: wrap; }
.pb-o { display: flex; flex-direction: column; gap: 4px; margin: 0 !important; }
.pb-o span { color: #94a3b8; font-size: 12px; }
.pb-o input { margin: 0 !important; padding: 7px 10px !important; }
.pb-o-rong { flex: 1; min-width: 220px; }

.pb-2cot { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pb-o-ngang { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 0; }
.pb-o-ngang span { flex: 1; font-size: 13px; color: #cbd5e1; }
.pb-o-ngang code { color: #64748b; font-size: 11px; }
.pb-o-ngang input { width: 140px !important; text-align: right; }
.pb-o-ngang.doi input { border-color: #f59e0b !important; background: #3b2f10 !important; }

/* 12 ô kỹ năng */
.pb-o-kn { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.pb-kn {
  position: relative;
  min-height: 64px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid #334155;
  border-radius: 8px;
  background: #1e293b;
  cursor: pointer;
  outline: none;
}
.pb-kn small { color: #64748b; font-size: 11px; }
.pb-kn b { color: #f1f5f9; font-size: 13px; line-height: 1.3; padding-right: 14px; }
.pb-kn code { color: #94a3b8; font-size: 11px; }
.pb-kn-trong { color: #475569; font-size: 12px; }
.pb-kn:hover { border-color: #64748b; }
.pb-kn.on { border-color: #3b82f6; box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.35); background: #172554; }
.pb-kn.doi { background: #3b2f10; }
.pb-kn.on.doi { background: #2c2a3a; }
.pb-kn button {
  position: absolute;
  top: 4px;
  right: 6px;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: #7f1d1d;
  color: #fecaca;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.pb-chon-kn { margin-top: 14px; }
.pb-ds-kn {
  margin-top: 8px;
  max-height: 300px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 6px;
  padding: 6px;
  border: 1px solid #334155;
  border-radius: 8px;
  background: #0b1220;
}
.pb-ds-kn button {
  text-align: left;
  padding: 6px 9px;
  border: 1px solid #1e293b;
  border-radius: 6px;
  background: #111827;
  color: #e2e8f0;
  font-size: 12.5px;
  cursor: pointer;
}
.pb-ds-kn button code { color: #fbbf24; font-size: 11px; margin-right: 4px; }
.pb-ds-kn button:hover:not(:disabled) { border-color: #3b82f6; }
.pb-ds-kn button.on { background: #1d4ed8; border-color: #3b82f6; }
.pb-ds-kn button:disabled { opacity: 0.35; cursor: not-allowed; }
.pb-ds-kn button em { color: #94a3b8; font-style: normal; font-size: 11px; }

.pb-luu { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.pb-raw { word-break: break-all; font-size: 11px; }

@media (max-width: 1100px) {
  .pb-o-kn { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 760px) {
  .pb-2cot { grid-template-columns: 1fr; }
  .pb-o-kn { grid-template-columns: repeat(2, 1fr); }
}

/* chủ động / bị động */
.pb-tag { display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 11.5px; font-weight: 700; }
.pb-tag.cd { background: #7c2d12; color: #fed7aa; }
.pb-tag.bd { background: #1e3a5f; color: #bfdbfe; }
.pb-kn.chudong { border-color: #9a3412; background: #2a1810; }
.pb-kn.chudong small { color: #fdba74; }
.pb-kn.chudong.on { border-color: #f97316; box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.35); }
.pb-kn.sai { border-color: #dc2626 !important; background: #450a0a !important; }
.pb-kn-loi { color: #fca5a5; font-size: 11px; font-style: normal; }
.pb-nhom-kn { margin-left: 6px; padding: 0 6px; border-radius: 8px; font-size: 10.5px; }
.pb-nhom-kn.n1 { background: #7f1d1d; color: #fecaca; }
.pb-nhom-kn.n9 { background: #14532d; color: #bbf7d0; }
.adm {
  display: flex;
  min-height: 100vh;
  width: 100%;
  background: #0f172a;
  color: #e2e8f0;
  font-family: 'Segoe UI', Arial, sans-serif;
}

/* ===== Sidebar ===== */
.adm-side {
  width: 240px;
  flex-shrink: 0;
  background: #1e293b;
  border-right: 1px solid #334155;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.adm-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 18px;
  border-bottom: 1px solid #334155;
}
.adm-brand-icon { font-size: 26px; }
.adm-brand strong { display: block; color: #f1f5f9; font-size: 16px; }
.adm-brand span { color: #64748b; font-size: 12px; }

.adm-nav {
  flex: 1;
  overflow-y: auto;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.adm-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  background: transparent;
  border: none;
  color: #cbd5e1;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.adm-nav button:hover { background: #334155; }
.adm-nav button.active { background: #2563eb; color: #fff; }
.adm-nav-icon { width: 20px; text-align: center; }

.adm-user {
  border-top: 1px solid #334155;
  padding: 14px 16px;
}
.adm-user-info strong { display: block; color: #f1f5f9; font-size: 14px; }
.adm-user-info span { color: #64748b; font-size: 12px; }
.adm-logout {
  margin-top: 10px;
  width: 100%;
  padding: 8px;
  background: #334155;
  color: #e2e8f0;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  font-size: 13px;
}
.adm-logout:hover { background: #475569; }

/* ===== Main ===== */
.adm-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.adm-header {
  padding: 18px 28px;
  border-bottom: 1px solid #334155;
  background: #1e293b;
}
.adm-header h1 { margin: 0; font-size: 20px; color: #f1f5f9; }
.adm-content { padding: 24px 28px; }

/* ===== Cards ===== */
.adm-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 8px;
}
.adm-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-top: 3px solid #3b82f6;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.adm-card-hover { transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; }
.adm-card-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  border-color: #475569;
}
.adm-card-link { cursor: pointer; }
.adm-card-link:hover { background: #243049; }
.adm-card-label { color: #94a3b8; font-size: 13px; }
.adm-card-value { color: #f1f5f9; font-size: 26px; font-weight: 700; }
.adm-card-sub { color: #64748b; font-size: 12px; }

/* ===== Tổng doanh thu (hero) ===== */
.adm-revenue-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  margin-bottom: 18px;
  padding: 22px 18px;
  background: linear-gradient(135deg, #1e293b 0%, #243049 100%);
  border: 1px solid #334155;
  border-top: 3px solid #a78bfa;
  border-radius: 14px;
}
.adm-revenue-hero-label { color: #94a3b8; font-size: 14px; letter-spacing: 2px; font-weight: 600; }
.adm-revenue-hero-value {
  color: #f1f5f9;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(167, 139, 250, 0.35);
}
.adm-revenue-hero-sub { color: #64748b; font-size: 13px; }

/* ===== Tables ===== */
.adm-subtitle { color: #cbd5e1; font-size: 15px; margin: 24px 0 10px; }
.adm-table-wrap {
  overflow-x: auto;
  border: 1px solid #334155;
  border-radius: 10px;
}
.adm-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.adm-table th, .adm-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid #273449;
  white-space: nowrap;
}
.adm-table th { background: #18243b; color: #94a3b8; font-weight: 600; }
.adm-table tbody tr:hover { background: #1b2740; }
.adm-table code { background: #0f172a; padding: 1px 6px; border-radius: 4px; color: #93c5fd; font-size: 12px; }
.adm-empty { text-align: center; color: #64748b; padding: 24px; }

/* ===== Badges ===== */
.adm-badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  background: #334155;
  color: #cbd5e1;
}
.adm-badge.green { background: #064e3b; color: #6ee7b7; }
.adm-badge.red { background: #7f1d1d; color: #fca5a5; }
.adm-badge.blue { background: #1e3a8a; color: #93c5fd; }
.adm-badge.purple { background: #4c1d95; color: #c4b5fd; }

/* ===== Forms / panels ===== */
.adm-panel {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 22px;
}
.adm-narrow { max-width: 520px; }
.adm-panel label, .adm-content form label {
  display: block;
  color: #cbd5e1;
  font-size: 13px;
  margin: 14px 0 6px;
}
.adm-panel input, .adm-panel select, .adm-panel textarea,
.adm-content form input, .adm-content form select, .adm-content form textarea {
  width: 100%;
  padding: 10px 12px;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  color: #f1f5f9;
  font-size: 14px;
  outline: none;
  font-family: inherit;
}
.adm-panel input:focus, .adm-panel select:focus, .adm-panel textarea:focus { border-color: #3b82f6; }
.adm-radio-group { display: flex; gap: 18px; }
.adm-radio { display: flex !important; align-items: center; gap: 7px; margin: 6px 0 !important; cursor: pointer; }
.adm-radio input { width: auto !important; }

.adm-btn-primary {
  margin-top: 18px;
  padding: 11px 20px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.adm-btn-primary:hover:not(:disabled) { background: #1d4ed8; }
.adm-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.adm-btn-danger {
  padding: 6px 14px;
  background: #dc2626;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.adm-btn-danger:hover:not(:disabled) { background: #b91c1c; }

.adm-form-actions { display: flex; gap: 10px; align-items: center; }

/* Nạp bạc: form trái + lịch sử phải */
.adm-topup-layout {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 20px;
  align-items: start;
}
.adm-topup-form { align-self: start; }
.adm-topup-history { min-width: 0; }
@media (max-width: 980px) {
  .adm-topup-layout { grid-template-columns: 1fr; }
}

/* Ảnh đại diện bài viết */
.adm-cover { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.adm-cover-preview { max-width: 260px; max-height: 150px; border-radius: 8px; border: 1px solid #334155; -o-object-fit: cover; object-fit: cover; }
.adm-cover-empty {
  width: 260px; height: 110px;
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed #334155; border-radius: 8px; color: #64748b; font-size: 13px;
}
.adm-cover-actions { display: flex; gap: 8px; }
.adm-cover-url { max-width: 420px; }

/* ===== Toolbar ===== */
.adm-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  align-items: center;
}
.adm-toolbar input, .adm-toolbar select {
  padding: 9px 12px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  color: #f1f5f9;
  font-size: 14px;
  outline: none;
}
.adm-toolbar input:focus, .adm-toolbar select:focus { border-color: #3b82f6; }

/* ===== Small buttons ===== */
.adm-actions { display: flex; gap: 6px; }
.adm-btn-sm {
  padding: 6px 12px;
  background: #334155;
  color: #e2e8f0;
  border: none;
  border-radius: 6px;
  font-size: 12.5px;
  cursor: pointer;
}
.adm-btn-sm:hover:not(:disabled) { background: #475569; }
.adm-btn-sm.red { background: #b91c1c; color: #fff; }
.adm-btn-sm.red:hover { background: #991b1b; }
.adm-btn-sm.green { background: #15803d; color: #fff; }
.adm-btn-sm.green:hover { background: #166534; }
.adm-btn-sm:disabled { opacity: 0.5; cursor: not-allowed; }
.adm-inline-select {
  padding: 5px 8px !important;
  width: auto !important;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 6px;
  color: #f1f5f9;
}
/* Đảm bảo danh sách xổ xuống (10 phút / 30 phút...) luôn rõ chữ trên mọi trình duyệt */
.adm-inline-select option {
  background: #0f172a;
  color: #f1f5f9;
}

/* ===== States ===== */
.adm-loading { color: #94a3b8; padding: 24px 0; }
.adm-error { background: #7f1d1d; color: #fecaca; padding: 11px 14px; border-radius: 8px; font-size: 13.5px; }
.adm-success { background: #064e3b; color: #6ee7b7; padding: 11px 14px; border-radius: 8px; font-size: 13.5px; }

/* ===== Detail ===== */
.adm-detail-note { color: #93c5fd; background: #18243b; padding: 10px 14px; border-radius: 8px; font-size: 13.5px; }
.adm-detail-head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 18px;
  margin: 14px 0;
}
.adm-detail-head > div { display: flex; flex-direction: column; gap: 3px; }
.adm-detail-label { color: #64748b; font-size: 12px; }
.adm-detail-head strong { color: #f1f5f9; font-size: 15px; }

/* ===== Pager ===== */
.adm-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  color: #94a3b8;
  font-size: 13px;
}
.adm-pager button {
  padding: 7px 14px;
  background: #334155;
  color: #e2e8f0;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  font-size: 13px;
}
.adm-pager button:disabled { opacity: 0.4; cursor: not-allowed; }

@media (max-width: 720px) {
  .adm-side { width: 64px; }
  .adm-brand div, .adm-nav button span:not(.adm-nav-icon), .adm-user-info, .adm-logout { display: none; }
  .adm-nav button { justify-content: center; }
}
.app {
  width: 100%;
  min-height: 100vh;
  background: var(--nen-sau);
  color: white;
}


/* Font tiêu đề: thanh thoát, hơi cổ trang, hỗ trợ ĐẦY ĐỦ dấu tiếng Việt */
*, ::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 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, sans-serif; /* 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::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}
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;
}
.visible{
  visibility: visible;
}
.block{
  display: block;
}
.flex{
  display: flex;
}
.table{
  display: table;
}
.grid{
  display: grid;
}
.hidden{
  display: none;
}
.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));
}
.border{
  border-width: 1px;
}
.italic{
  font-style: italic;
}
.underline{
  text-decoration-line: underline;
}
.antialiased{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.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);
}
.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);
}
/* ===== FONTS (bỏ file font vào public/fonts/ là tự nhận) ===== */
@font-face {
  font-family: 'SVN-Gotham';
  src: url('/SVN-Gotham.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: 'UTM Avo';
  src: url('/UTM-Avo.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'iCiel Cadena';
  src: url('/iCielCadena.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
:root {
  /* Menu, nút bấm */
  --font-ui: 'Be Vietnam Pro', 'SVN-Gotham', 'Roboto', Arial, sans-serif;
  /* Tiêu đề lớn kiểu nét bút thư pháp (giống banner "Tái Chiến Giang Hồ") */
  --font-but: 'Pattaya', 'Be Vietnam Pro', serif;
  /* Khẩu hiệu, chữ nghiêng mềm */
  --font-thu: 'Charm', 'Be Vietnam Pro', serif;
  /* Tiêu đề mục */
  --font-title: 'Pattaya', 'Be Vietnam Pro', serif;
  /* Nội dung bài viết */
  --font-body: 'Be Vietnam Pro', Arial, Tahoma, 'Roboto', sans-serif;

  /* ===== Tông màu 11/2026: huyết long đỏ thẫm - vàng kim - hoa đào =====
     Tên biến giữ như bản cũ để mọi file CSS khỏi sửa theo:
       --vang*  = vàng kim (viền, chữ nhấn)
       --do*    = đỏ huyết long (nền nhãn, nút, hover) */
  --nen-sau: #140705;
  --nen: #1f0a07;
  --nen-nhat: #2c0f0b;
  --nen-khoi: #5c2418;

  --do: #8c1612;
  --do-sang: #d63428;

  --vang: #e8b863;
  --vang-sang: #ffe2a6;
  --vang-tram: #a4732e;

  --hong: #ff8fb4;         /* hoa đào */
  --tim: #8b6cc9;          /* trời tím chiều */

  --muc: #2a0a04;
  --trang: #fbf1e2;
  --trang-mo: #cdb39a;

  --vien-vang: 1px solid rgba(232, 184, 99, 0.5);
  --bo-goc: 10px;
  --bong-the: 0 8px 26px rgba(0, 0, 0, 0.55);
  --glow-vang: 0 0 20px rgba(232, 184, 99, 0.35);

  /* Nền chữ vàng kim nổi khối như banner */
  --chu-vang: linear-gradient(180deg, #fff6d8 0%, #ffd77a 38%, #e3a43d 62%, #fff0b8 100%);
  /* Nút đỏ - vàng */
  --nut-do: linear-gradient(180deg, #e2412f 0%, #a8170f 55%, #7a0c08 100%);
  --nut-vang: linear-gradient(180deg, #fff1c4 0%, #f2c766 45%, #c98a2b 100%);
}
*{
  margin: 0px;
  box-sizing: border-box;
  padding: 0px;
}
html{
  scroll-behavior: smooth;
}
body{
  --tw-bg-opacity: 1;
  background-color: rgb(26 26 26 / var(--tw-bg-opacity, 1));
  line-height: 1.625;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  font-family: var(--font-body);
}
input, select{
  width: 100%;
  border-radius: 0.5rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}
input:focus, select:focus{
  --tw-border-opacity: 1;
  border-color: rgb(212 165 116 / var(--tw-border-opacity, 1));
  outline: 2px solid transparent;
  outline-offset: 2px;
  --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), var(--tw-shadow, 0 0 #0000);
  --tw-ring-color: rgb(212 165 116 / var(--tw-ring-opacity, 1));
  --tw-ring-opacity: 0.1;
}
