/* ═══════════════════════════════════════════════
   MapleSol Light Theme — sky-blue game portal
   ═══════════════════════════════════════════════ */
:root {
  --lp-sky1: #dff0ff;
  --lp-sky2: #c4e4ff;
  --lp-sky3: #a8d8ff;
  --lp-blue: #1092FF;
  --lp-blue2: #52b1fe;
  --lp-white: #ffffff;
  --lp-card: rgba(255,255,255,0.88);
  --lp-card2: rgba(255,255,255,0.72);
  --lp-border: rgba(100,180,255,0.25);
  --lp-text: #1a3a5c;
  --lp-text2: #5a7fa0;
  --lp-text3: #8aacc8;
  --lp-orange: #FF8C00;
  --lp-orange2: #FFB340;
  --lp-gold: #f39c12;
  --lp-green: #27ae60;
  --lp-shadow: 0 4px 24px rgba(30,120,200,.13);
  --lp-shadow2: 0 8px 32px rgba(30,120,200,.18);
}

/* ── Body ── */
body.light-page {
  background: linear-gradient(180deg,
    #cce8ff 0%, #b8dcff 20%, #d0ecff 50%,
    #c8e8ff 75%, #daeeff 100%) fixed;
  font-family: 'Kanit', 'Mitr', sans-serif;
  color: var(--lp-text);
  min-height: 100vh;
}
body.light-page::before { display: none; }
body.light-page::after  { display: none; }

/* ── Page wrapper ── */
.lp-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 90px 16px 60px;
}
.lp-wrap-full { padding: 90px 0 60px; }

/* ── Sidebar layout ── */
.lp-layout {
  display: flex;
  gap: 0;
  min-height: calc(100vh - 90px);
}
.lp-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(12px);
  border-right: 1px solid var(--lp-border);
  padding: 24px 0;
  min-height: calc(100vh - 90px);
}
.lp-content {
  flex: 1;
  padding: 28px 32px;
  min-width: 0;
}

/* ── Sidebar nav ── */
.sb-nav { list-style: none; margin: 0; padding: 0; }
.sb-nav li { margin: 0; }
.sb-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 24px; color: var(--lp-text2);
  text-decoration: none; font-size: 14px; font-weight: 600;
  transition: all .2s; border-left: 3px solid transparent;
  letter-spacing: .3px;
}
.sb-nav a:hover { background: rgba(16,146,255,.08); color: var(--lp-blue); }
.sb-nav a.active {
  background: rgba(16,146,255,.12);
  color: var(--lp-blue);
  border-left-color: var(--lp-blue);
}
.sb-nav .sb-icon { width: 22px; height: 22px; opacity: .7; }
.sb-nav a.active .sb-icon, .sb-nav a:hover .sb-icon { opacity: 1; }

/* ── Cards ── */
.lp-card {
  background: var(--lp-card);
  border: 1px solid var(--lp-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--lp-shadow);
  margin-bottom: 20px;
}
.lp-card2 {
  background: linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
  border: 1px solid rgba(100,180,255,.3);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--lp-shadow);
}

/* ── Product grid ── */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.prod-card {
  background: #fff;
  border: 1.5px solid rgba(100,180,255,.2);
  border-radius: 14px;
  overflow: hidden;
  transition: all .25s;
  position: relative;
}
.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(16,146,255,.18);
  border-color: rgba(16,146,255,.4);
}
.prod-img {
  width: 100%; height: 160px;
  object-fit: contain;
  background: linear-gradient(145deg, #e8f4ff, #d0e8ff);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; padding: 16px;
}
.prod-img img { width: 100%; height: 100%; object-fit: contain; }
.prod-body { padding: 14px; }
.prod-name { font-size: 14px; font-weight: 700; color: var(--lp-text); margin-bottom: 4px; }
.prod-note { font-size: 12px; color: var(--lp-text2); margin-bottom: 10px; }
.prod-price { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--lp-gold); }
.prod-price .dp-icon { width: 20px; height: 20px; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.prod-qty { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--lp-blue); color: #fff; border: none;
  font-size: 16px; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: .2s;
}
.qty-btn:hover { background: #0070cc; }
.qty-val {
  width: 32px; text-align: center; font-weight: 700;
  color: var(--lp-text); font-size: 15px;
}

/* ── Buttons ── */
.btn-buy {
  background: linear-gradient(135deg, var(--lp-blue), #0070cc);
  color: #fff; border: none; border-radius: 24px;
  padding: 8px 20px; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: .2s; letter-spacing: .3px;
}
.btn-buy:hover { transform: scale(1.04); box-shadow: 0 4px 14px rgba(16,146,255,.4); }
.btn-buy:disabled { opacity: .5; cursor: not-allowed; }

.btn-pay {
  background: linear-gradient(135deg, var(--lp-orange), #FF6B00);
  color: #fff; border: none; border-radius: 28px;
  padding: 14px 36px; font-size: 16px; font-weight: 700;
  cursor: pointer; transition: .2s; letter-spacing: .5px;
  box-shadow: 0 6px 20px rgba(255,140,0,.3);
}
.btn-pay:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,140,0,.4); }

.btn-lp {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16,146,255,.12); color: var(--lp-blue);
  border: 1px solid rgba(16,146,255,.3); border-radius: 8px;
  padding: 8px 16px; font-size: 13px; font-weight: 600;
  text-decoration: none; transition: .2s; cursor: pointer;
}
.btn-lp:hover { background: rgba(16,146,255,.2); color: var(--lp-blue); }

/* ── Bottom checkout bar ── */
.checkout-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: linear-gradient(90deg, #1a50a0, #1092FF);
  color: #fff; padding: 14px 32px;
  display: flex; align-items: center; gap: 20px;
  z-index: 1000; box-shadow: 0 -4px 20px rgba(16,146,255,.3);
  transform: translateY(100%); transition: transform .3s;
}
.checkout-bar.visible { transform: translateY(0); }
.cb-info { display: flex; align-items: center; gap: 10px; }
.cb-badge {
  background: rgba(255,255,255,.2); border-radius: 50%;
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.cb-count { font-size: 12px; opacity: .8; }
.cb-price { font-size: 15px; font-weight: 700; }
.cb-right { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.cb-total-label { font-size: 12px; opacity: .8; }
.cb-total-val { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.cb-dp-icon { width: 22px; }

/* ── Page header ── */
.lp-ph {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px; flex-wrap: wrap; gap: 12px;
}
.lp-ph h2 {
  font-size: 1.5rem; font-weight: 800; color: var(--lp-text);
  display: flex; align-items: center; gap: 10px; margin: 0;
}
.lp-ph-sub { font-size: 13px; color: var(--lp-text2); margin-top: 4px; }

/* ── Tab bar ── */
.lp-tabs {
  display: flex; gap: 0; background: rgba(255,255,255,.7);
  border-radius: 50px; padding: 4px; margin-bottom: 24px;
  border: 1px solid var(--lp-border); flex-wrap: wrap;
  width: fit-content;
}
.lp-tab {
  padding: 8px 20px; border-radius: 50px; font-size: 13px;
  font-weight: 600; color: var(--lp-text2); cursor: pointer;
  transition: .2s; border: none; background: transparent;
}
.lp-tab.active {
  background: var(--lp-blue); color: #fff;
  box-shadow: 0 4px 12px rgba(16,146,255,.3);
}
.lp-tab:hover:not(.active) { color: var(--lp-blue); }

/* ── Ranking table ── */
.rank-table { width: 100%; border-collapse: collapse; }
.rank-table th {
  background: rgba(16,146,255,.08); color: var(--lp-text2);
  font-size: 11px; text-transform: uppercase; letter-spacing: .5px;
  padding: 12px 14px; text-align: left; font-weight: 700;
}
.rank-table td {
  padding: 14px; border-bottom: 1px solid rgba(100,180,255,.12);
  vertical-align: middle;
}
.rank-table tr:hover td { background: rgba(16,146,255,.04); }
.rank-num { width: 48px; text-align: center; font-weight: 800; font-size: 16px; color: var(--lp-text2); }
.r1c { color: #f39c12; } .r2c { color: #95a5a6; } .r3c { color: #cd9869; }
.rank-char-wrap { display: flex; align-items: center; gap: 14px; }
.rank-sprite {
  width: 60px; height: 80px; object-fit: contain;
  image-rendering: pixelated; flex-shrink: 0;
  filter: drop-shadow(1px 2px 3px rgba(0,0,0,.15));
}
.rank-sprite-fallback {
  width: 60px; height: 80px; border-radius: 12px;
  background: linear-gradient(135deg, #e8f4ff, #c8e0ff);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; flex-shrink: 0;
  border: 1px solid rgba(100,180,255,.3);
}
.rank-name { font-weight: 700; color: var(--lp-text); font-size: 15px; text-decoration: none; }
.rank-name:hover { color: var(--lp-blue); }
.rank-job { font-size: 12px; color: var(--lp-text2); margin-top: 2px; }
.rank-lv {
  font-weight: 800; font-size: 1.1rem; color: var(--lp-blue);
  background: rgba(16,146,255,.1); border-radius: 6px;
  padding: 4px 12px; white-space: nowrap;
}
.rank-pop, .rank-meso { font-size: 13px; color: var(--lp-text2); white-space: nowrap; }

/* ── News page ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.nc {
  background: #fff; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(100,180,255,.2);
  box-shadow: 0 2px 12px rgba(30,120,200,.08);
  transition: .25s; text-decoration: none;
  display: block;
}
.nc:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(30,120,200,.15); }
.nc-img { width: 100%; height: 170px; object-fit: cover; display: block; }
.nc-body { padding: 16px; }
.nc-tag { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; margin-bottom: 8px; }
.nc-tag.news   { background: rgba(16,146,255,.12); color: var(--lp-blue); }
.nc-tag.event  { background: rgba(243,156,18,.12); color: var(--lp-gold); }
.nc-tag.ingame { background: rgba(39,174,96,.12); color: var(--lp-green); }
.nc-tag.promo  { background: rgba(231,76,60,.1); color: #e74c3c; }
.nc-title { font-size: 15px; font-weight: 700; color: var(--lp-text); margin-bottom: 6px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nc-date { font-size: 12px; color: var(--lp-text3); }
.nc-excerpt { font-size: 13px; color: var(--lp-text2); margin: 6px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Reward page ── */
.reward-item {
  background: #fff; border: 1px solid rgba(100,180,255,.2);
  border-radius: 14px; padding: 20px 24px;
  display: flex; align-items: center; gap: 20px; margin-bottom: 12px;
  transition: .2s;
}
.reward-item:hover { box-shadow: var(--lp-shadow); }
.reward-icon { font-size: 2.2rem; width: 52px; text-align: center; flex-shrink: 0; }
.reward-info { flex: 1; min-width: 0; }
.reward-title { font-weight: 700; color: var(--lp-text); font-size: 15px; margin-bottom: 4px; }
.reward-desc { font-size: 13px; color: var(--lp-text2); }
.reward-period { font-size: 12px; color: var(--lp-text3); margin-top: 4px; }
.reward-tag { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; }
.reward-detail-btn { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--lp-text2); text-decoration: none; border: 1px solid rgba(100,180,255,.25); border-radius: 20px; padding: 3px 10px; margin-top: 6px; }
.btn-claim {
  background: linear-gradient(135deg, var(--lp-orange), #FF6B00);
  color: #fff; border: none; border-radius: 24px;
  padding: 10px 22px; font-size: 14px; font-weight: 700;
  cursor: pointer; white-space: nowrap; transition: .2s;
  box-shadow: 0 4px 14px rgba(255,140,0,.3);
}
.btn-claim:hover { transform: scale(1.04); }
.btn-claim.claimed { background: linear-gradient(135deg, #95a5a6, #7f8c8d); cursor: default; box-shadow: none; }
.reward-timer { font-size: 12px; color: var(--lp-text2); display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.reward-tabs { display: flex; gap: 0; border-bottom: 2px solid rgba(100,180,255,.2); margin-bottom: 20px; }
.rtab { padding: 12px 24px; font-weight: 700; font-size: 14px; color: var(--lp-text2); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; background: none; border-top: none; border-left: none; border-right: none; transition: .2s; }
.rtab.active { color: var(--lp-blue); border-bottom-color: var(--lp-blue); }
.rtab:hover:not(.active) { color: var(--lp-blue); opacity: .7; }

/* ── Item code ── */
.code-wrap { max-width: 540px; margin: 0 auto; text-align: center; padding: 40px 0; }
.code-title { font-size: 1.8rem; font-weight: 800; color: var(--lp-text); margin-bottom: 8px; }
.code-desc { font-size: 14px; color: var(--lp-text2); margin-bottom: 32px; }
.code-input-row { display: flex; gap: 12px; max-width: 460px; margin: 0 auto 24px; }
.code-input {
  flex: 1; padding: 14px 18px; font-size: 16px; font-weight: 600;
  border: 2px solid rgba(100,180,255,.4); border-radius: 12px;
  background: rgba(255,255,255,.9); color: var(--lp-text);
  outline: none; letter-spacing: 1px; text-transform: uppercase;
  font-family: 'Kanit', monospace;
}
.code-input:focus { border-color: var(--lp-blue); box-shadow: 0 0 0 3px rgba(16,146,255,.15); }
.btn-redeem {
  background: linear-gradient(135deg, var(--lp-blue), #0070cc);
  color: #fff; border: none; border-radius: 12px;
  padding: 14px 24px; font-size: 15px; font-weight: 700;
  cursor: pointer; white-space: nowrap; transition: .2s;
  box-shadow: 0 4px 14px rgba(16,146,255,.3);
}
.btn-redeem:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(16,146,255,.4); }
.code-piero { width: 140px; margin: 20px auto 0; display: block; }

/* ── Info boxes ── */
.info-box { background: rgba(16,146,255,.06); border: 1px solid rgba(16,146,255,.15); border-radius: 10px; padding: 12px 16px; margin-bottom: 10px; font-size: 13px; color: var(--lp-text2); }
.info-box strong { color: var(--lp-text); }
.alert-s { background: rgba(39,174,96,.1); border: 1px solid rgba(39,174,96,.3); color: #27ae60; border-radius: 10px; padding: 12px 16px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.alert-e { background: rgba(231,76,60,.1); border: 1px solid rgba(231,76,60,.3); color: #e74c3c; border-radius: 10px; padding: 12px 16px; font-size: 14px; font-weight: 600; margin-bottom: 16px; }

/* ── Profile ── */
.prof-hero { background: linear-gradient(135deg, var(--lp-blue), #0050a0); border-radius: 18px; padding: 28px; color: #fff; margin-bottom: 20px; display: flex; align-items: center; gap: 24px; }
.prof-sprite { width: 100px; height: 120px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(2px 4px 6px rgba(0,0,0,.3)); flex-shrink: 0; }
.prof-sprite-wrap { width: 100px; height: 120px; background: rgba(255,255,255,.15); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; flex-shrink: 0; }
.prof-name { font-size: 2rem; font-weight: 800; margin-bottom: 4px; }
.prof-job { font-size: 1rem; opacity: .85; margin-bottom: 8px; }
.prof-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.2); border-radius: 20px; padding: 4px 14px; font-size: 13px; font-weight: 600; }
.stat-grid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.stat-b { background: #fff; border: 1px solid rgba(100,180,255,.2); border-radius: 12px; padding: 14px; text-align: center; }
.stat-v { font-size: 1.3rem; font-weight: 800; color: var(--lp-blue); }
.stat-l { font-size: 11px; color: var(--lp-text2); text-transform: uppercase; margin-top: 3px; letter-spacing: .5px; }

/* ── Forms ── */
.lp-form-control {
  width: 100%; padding: 12px 16px; font-size: 14px;
  border: 1.5px solid rgba(100,180,255,.3); border-radius: 10px;
  background: rgba(255,255,255,.9); color: var(--lp-text); outline: none;
  font-family: 'Kanit', sans-serif; transition: .2s;
}
.lp-form-control:focus { border-color: var(--lp-blue); box-shadow: 0 0 0 3px rgba(16,146,255,.12); }
.lp-label { font-size: 13px; font-weight: 600; color: var(--lp-text2); margin-bottom: 6px; display: block; }

/* ── Modal ── */
.lp-modal-bg { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); z-index: 2000; align-items: center; justify-content: center; }
.lp-modal-bg.show { display: flex; }
.lp-modal { background: #fff; border-radius: 20px; padding: 32px; max-width: 480px; width: 90%; position: relative; max-height: 90vh; overflow-y: auto; }
.lp-modal-head { background: linear-gradient(135deg, #27ae60, #1a9f52); border-radius: 16px 16px 0 0; padding: 20px; text-align: center; color: #fff; margin: -32px -32px 24px; }
.lp-modal-head h3 { margin: 8px 0 0; font-size: 1.2rem; font-weight: 800; }
.modal-close { position: absolute; top: 14px; right: 16px; background: rgba(255,255,255,.3); border: none; border-radius: 50%; width: 28px; height: 28px; cursor: pointer; font-size: 14px; color: #fff; display: flex; align-items: center; justify-content: center; }
.reward-item-line { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.ril-icon { width: 40px; height: 40px; object-fit: contain; image-rendering: pixelated; }
.ril-name { flex: 1; font-size: 14px; font-weight: 600; color: var(--lp-text); }
.ril-qty { font-size: 14px; font-weight: 800; color: var(--lp-text2); white-space: nowrap; }
.ril-tag { display: inline-block; padding: 1px 6px; border-radius: 4px; font-size: 10px; font-weight: 700; background: rgba(16,146,255,.12); color: var(--lp-blue); margin-right: 4px; }

/* ── Download ── */
.dl-card { background: #fff; border: 1px solid rgba(100,180,255,.25); border-radius: 14px; padding: 24px; display: flex; align-items: center; gap: 20px; margin-bottom: 14px; transition: .2s; }
.dl-card:hover { box-shadow: var(--lp-shadow); }
.dl-icon { font-size: 2.5rem; width: 60px; text-align: center; flex-shrink: 0; }
.dl-info { flex: 1; }
.dl-name { font-weight: 700; color: var(--lp-text); font-size: 16px; margin-bottom: 4px; }
.dl-desc { font-size: 13px; color: var(--lp-text2); }
.dl-size { font-size: 12px; color: var(--lp-text3); margin-top: 3px; }

/* ── Server info ── */
.si-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(100,180,255,.1); font-size: 14px; align-items: center; }
.si-row:last-child { border-bottom: none; }
.si-key { color: var(--lp-text2); font-weight: 600; }
.si-val { color: var(--lp-text); font-weight: 700; }
.status-on { color: #27ae60; display: flex; align-items: center; gap: 6px; }
.status-off { color: #e74c3c; display: flex; align-items: center; gap: 6px; }
.sdot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pg 1.5s infinite; display: inline-block; }

/* ── Report form ── */
.report-type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 20px; }
.rtype-btn { background: #fff; border: 2px solid rgba(100,180,255,.25); border-radius: 12px; padding: 14px 10px; text-align: center; cursor: pointer; transition: .2s; font-size: 13px; font-weight: 600; color: var(--lp-text2); }
.rtype-btn:hover, .rtype-btn.active { border-color: var(--lp-blue); background: rgba(16,146,255,.06); color: var(--lp-blue); }
.rtype-icon { font-size: 1.8rem; display: block; margin-bottom: 6px; }

/* ── Payment methods ── */
.pay-method {
  background: #fff; border: 2px solid rgba(100,180,255,.2);
  border-radius: 14px; padding: 20px; cursor: pointer;
  transition: .25s; text-align: center; position: relative;
}
.pay-method:hover { border-color: var(--lp-blue); box-shadow: 0 6px 20px rgba(16,146,255,.15); }
.pay-method.selected { border-color: var(--lp-blue); background: rgba(16,146,255,.04); }
.pay-method.selected::after {
  content: '✓'; position: absolute; top: 10px; right: 12px;
  width: 22px; height: 22px; background: var(--lp-blue); color: #fff;
  border-radius: 50%; font-size: 12px; display: flex; align-items: center; justify-content: center;
  line-height: 22px;
}
.pay-method-name { font-size: 13px; font-weight: 700; color: var(--lp-text); margin-top: 8px; }
.pay-logo { height: 40px; object-fit: contain; }
.qr-display { border: 2px solid rgba(100,180,255,.25); border-radius: 14px; overflow: hidden; max-width: 200px; margin: 16px auto; }

/* ── Auth pages ── */
body.auth-light { background: linear-gradient(135deg, #b8e0ff 0%, #d0ecff 40%, #c8e4ff 100%) fixed; font-family: 'Kanit', sans-serif; }
body.auth-light::before, body.auth-light::after { display: none; }
.auth-card { background: rgba(255,255,255,.92); backdrop-filter: blur(20px); border-radius: 20px; padding: 40px 36px; max-width: 440px; width: 90%; margin: 0 auto; box-shadow: 0 20px 60px rgba(16,146,255,.2); border: 1px solid rgba(255,255,255,.9); }
.auth-logo { text-align: center; margin-bottom: 24px; }
.auth-logo img { height: 60px; }
.auth-title { font-size: 1.5rem; font-weight: 800; color: var(--lp-text); margin-bottom: 4px; }
.auth-sub { font-size: 13px; color: var(--lp-text2); margin-bottom: 24px; }
.auth-input { width: 100%; padding: 13px 16px; font-size: 15px; border: 1.5px solid rgba(100,180,255,.3); border-radius: 10px; background: rgba(255,255,255,.9); color: var(--lp-text); outline: none; font-family: 'Kanit', sans-serif; transition: .2s; margin-bottom: 12px; }
.auth-input:focus { border-color: var(--lp-blue); box-shadow: 0 0 0 3px rgba(16,146,255,.12); }
.auth-btn { width: 100%; padding: 14px; font-size: 16px; font-weight: 700; background: linear-gradient(135deg, var(--lp-blue), #0070cc); color: #fff; border: none; border-radius: 12px; cursor: pointer; font-family: 'Kanit', sans-serif; transition: .2s; letter-spacing: .5px; margin-top: 4px; }
.auth-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(16,146,255,.35); }
.auth-tabs { display: flex; background: rgba(16,146,255,.06); border-radius: 10px; padding: 4px; margin-bottom: 24px; }
.auth-tab { flex: 1; padding: 10px; text-align: center; font-weight: 700; font-size: 14px; color: var(--lp-text2); border-radius: 8px; cursor: pointer; transition: .2s; border: none; background: none; }
.auth-tab.active { background: #fff; color: var(--lp-blue); box-shadow: 0 2px 8px rgba(0,0,0,.1); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .lp-layout { flex-direction: column; }
  .lp-sidebar { width: 100%; min-height: auto; display: flex; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--lp-border); padding: 8px 0; }
  .sb-nav { display: flex; flex-direction: row; }
  .sb-nav a { padding: 10px 16px; border-left: none; border-bottom: 3px solid transparent; white-space: nowrap; }
  .sb-nav a.active { border-left: none; border-bottom-color: var(--lp-blue); }
  .lp-content { padding: 16px; }
  .prod-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .prof-hero { flex-direction: column; text-align: center; }
  .checkout-bar { flex-wrap: wrap; gap: 8px; }
  .lp-ph { flex-direction: column; align-items: flex-start; }
}
