/* ============================================================
   全局样式 / Global styles
   主色 / Palette:
     --pitch   球场深绿 deep pitch green   #0F3D2E
     --turf    草地绿   turf green         #1F7A4D
     --gold    奖杯金   trophy gold        #F2B632
     --gold-d  深金(白底上的价格色)        #A86F0A
     --paper   页面底色 page background    #F3F5F1
     --ink     正文黑   text               #14211B
     --alert   售罄红   sold-out red       #C8412F
   ============================================================ */
:root {
  --pitch: #0F3D2E;
  --turf: #1F7A4D;
  --gold: #F2B632;
  --gold-d: #A86F0A;
  --paper: #F3F5F1;
  --ink: #14211B;
  --muted: #5F6F66;
  --line: #DDE3DC;
  --alert: #C8412F;
}

* { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; } /* prevent any horizontal overflow on mobile */
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  margin: 0;
  color: var(--ink);
  line-height: 1.5;
  background-color: #ecf3ec;
  background-image:
    radial-gradient(circle at 50% 18%, transparent 280px, rgba(31, 122, 77, 0.10) 280px, rgba(31, 122, 77, 0.10) 282px, transparent 282px),
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(31, 122, 77, 0.07) calc(50% - 1px), rgba(31, 122, 77, 0.07) calc(50% + 1px), transparent calc(50% + 1px)),
    repeating-linear-gradient(0deg, #eaf2e8 0px, #eaf2e8 56px, #dde8d6 56px, #dde8d6 112px);
  background-attachment: fixed;
  min-height: 100vh;
}

/* ---------- Header ---------- */
header {
  background: linear-gradient(180deg, var(--pitch) 0%, #0a2c20 100%);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
header::after {
  content: "";
  position: absolute;
  right: -40px;
  top: 0;
  bottom: 0;
  width: 280px;
  background:
    radial-gradient(circle at 80% 50%, transparent 38px, rgba(255,255,255,0.08) 38px, rgba(255,255,255,0.08) 40px, transparent 40px),
    linear-gradient(90deg, transparent 40px, rgba(255,255,255,0.06) 40px, rgba(255,255,255,0.06) 42px, transparent 42px);
  pointer-events: none;
}
header h1 { margin: 0; font-size: 20px; letter-spacing: .5px; position: relative; z-index: 1; }
.brand { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; min-width: 0; }
.brand-logo { height: 40px; width: 40px; object-fit: contain; border-radius: 8px; flex: 0 0 auto; }
.brand-name { font-size: 17px; font-weight: 700; letter-spacing: .3px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#userBar { font-size: 13px; color: #cfe3d8; position: relative; z-index: 1; }

/* ---------- Nav ---------- */
nav { display: flex; gap: 6px; padding: 10px 12px; background: #fff; border-bottom: 1px solid var(--line); overflow-x: auto; }
nav button { flex: none; padding: 8px 14px; margin: 0; border: none; background: transparent; color: var(--muted); border-radius: 999px; cursor: pointer; font-size: 14px; }
nav button:hover { background: #eaf2ec; color: var(--pitch); }
nav button.active { background: var(--pitch); color: #fff; }

/* ---------- PWA Install Banner ---------- */
.pwa-banner { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: linear-gradient(135deg, #057a36, #0a9e4a); color: #fff; font-size: 13px; }
.pwa-banner #pwaInstallText { flex: 1; line-height: 1.4; }
.pwa-install-btn { flex: none; padding: 7px 16px; background: #fff; color: var(--pitch); border: none; border-radius: 999px; font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; }
.pwa-dismiss-btn { flex: none; width: 28px; height: 28px; background: rgba(255,255,255,.2); color: #fff; border: none; border-radius: 50%; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; }

main { padding: 18px 16px; max-width: 860px; margin: 0 auto; }
.tab-panel { display: none; padding: 6px 0; }
.tab-panel.active { display: block; }
.tab-panel > h2 { margin: 10px 0 16px; font-size: 20px; }

/* ---------- Forms, buttons, cards ---------- */
input { display: block; width: 100%; margin: 8px 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; background: #fff; }
input:focus { outline: 2px solid var(--turf); outline-offset: 1px; }
button { padding: 9px 16px; margin: 4px 4px 4px 0; border-radius: 8px; border: 1px solid var(--turf); background: var(--turf); color: #fff; cursor: pointer; font-size: 14px; }
button:hover:not(:disabled) { background: #186540; }
button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
button:disabled { background: #d5dbd6; border-color: #d5dbd6; color: #7b877f; cursor: not-allowed; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 12px 0;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: -14px;
  right: -14px;
  width: 60px;
  height: 60px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='44' fill='none' stroke='%23dde3dc' stroke-width='2'/><polygon points='50,28 64,40 58,58 42,58 36,40' fill='%23dde3dc'/><path d='M50 28 L50 12 M64 40 L82 30 M58 58 L74 76 M42 58 L26 76 M36 40 L18 30' stroke='%23dde3dc' stroke-width='2' fill='none'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.55;
  pointer-events: none;
}

/* ---------- Schedule ---------- */
.league-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-top: 10px; }
.league-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 8px;
  text-align: center;
  cursor: pointer;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.league-card::after {
  content: "";
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 50px;
  height: 50px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='42' fill='none' stroke='%231F7A4D' stroke-width='2.5'/><polygon points='50,28 64,40 58,58 42,58 36,40' fill='%231F7A4D'/><path d='M50 28 L50 12 M64 40 L82 30 M58 58 L74 76 M42 58 L26 76 M36 40 L18 30' stroke='%231F7A4D' stroke-width='2' fill='none'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.15;
  pointer-events: none;
}
.league-card:hover { border-color: var(--turf); background: #f1f8f3; }
.league-icon { font-size: 28px; }
.league-name { margin-top: 6px; font-size: 14px; font-weight: 600; }
.breadcrumb { margin: 8px 0 12px; color: var(--muted); font-size: 14px; }
.linklike { background: none; border: none; color: var(--turf); padding: 0; margin: 0; cursor: pointer; text-decoration: underline; }
.linklike:hover:not(:disabled) { background: none; color: var(--pitch); }
.match-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }

.match-recent { border-left: 3px solid var(--gold); background: #fffcf5; }
.match-score { font-size: 18px; font-weight: 700; color: #333; }
.match-score-recent { font-size: 22px; font-weight: 800; color: var(--gold-d); }
.match-ft { font-size: 13px; color: var(--muted); font-weight: 600; }

.match-filter-btn { padding: 6px 14px; border: 1px solid var(--line); background: #fff; border-radius: 20px; font-size: 13px; color: var(--muted); cursor: pointer; transition: all .15s; }
.match-filter-btn:hover { border-color: var(--turf); color: var(--turf); }
.match-filter-btn.active { background: var(--turf); color: #fff; border-color: var(--turf); }

.eat-reminder { font-size: 12px; color: var(--muted); margin-left: 4px; white-space: nowrap; }

/* ---------- Points Store ---------- */
.points-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.points-card { position: relative; overflow: hidden; background: var(--pitch); color: #fff; border-radius: 14px; padding: 16px 16px 14px; cursor: pointer; border: 2px solid transparent; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.points-card::after { content: ""; position: absolute; right: -28px; bottom: -28px; width: 96px; height: 96px; border-radius: 50%; border: 2px solid rgba(255,255,255,.14); }
.points-card:hover { background: #124a37; }
.points-card.active { border-color: var(--gold); }
.points-card-title { font-size: 13px; color: #bfd8cb; }
.points-card-balance { font-size: 30px; font-weight: 800; color: var(--gold); margin-top: 6px; line-height: 1.1; }
.points-card-unit { font-size: 12px; color: #bfd8cb; margin-left: 4px; font-weight: 400; }
.store-hint { font-size: 12px; color: var(--muted); margin: 8px 2px 0; }
.store-list-head { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 0 10px; }
.store-list-head h3 { margin: 0; font-size: 17px; }
.store-list-head span { font-size: 12px; color: var(--muted); }

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.product { position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.product.soldout .product-img { filter: grayscale(1); opacity: .55; }
.product-img { position: relative; aspect-ratio: 1 / 1; background: #e9efe9; overflow: hidden; }
.product-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-img-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #7a8f83; font-size: 12px; text-align: center; padding: 8px; background: repeating-linear-gradient(90deg, #e6eee7 0 28px, #dfe9e1 28px 56px); }
.product-img-ph b { font-size: 26px; font-weight: 400; }
.product-tag { position: absolute; top: 8px; left: 8px; z-index: 2; background: var(--turf); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.product-tag.both { background: var(--gold); color: #3a2a00; }
.product-soldout-mask { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; }
.product-soldout-mask span { background: rgba(20,33,27,.78); color: #fff; padding: 5px 14px; border-radius: 999px; font-size: 13px; }
.product-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-name { font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.product-desc { font-size: 12px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 32px; }
.product-price { font-size: 24px; font-weight: 800; color: var(--gold-d); margin-top: 4px; }
.product-price small { font-size: 13px; font-weight: 600; color: var(--gold-d); margin-left: 4px; }
.product-stock { font-size: 12px; color: var(--alert); font-weight: 600; }
.product-stock.low { color: var(--alert); }
.product-actions { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.product-actions button { width: 100%; margin: 0; padding: 11px 8px; font-size: 15px; font-weight: 600; }
.product-actions button.alt { background: #fff; color: var(--turf); }
.product-actions button.alt:hover:not(:disabled) { background: #eaf4ee; }
.empty-tip { color: var(--muted); text-align: center; padding: 28px 0; }

.free-box { background: #f1f6f2; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; margin-top: 6px; }
.free-box label { font-size: 12px; color: var(--muted); }
.free-box input { margin: 4px 0; padding: 8px 10px; font-size: 16px; font-weight: 600; }
.free-total { font-size: 13px; color: var(--ink); }
.free-total b { color: var(--gold-d); font-size: 16px; }
.free-rule { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ---------- Back-to-top button ---------- */
#backToTop { position: fixed; right: 16px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 1000;
  width: 44px; height: 44px; padding: 0; margin: 0; border-radius: 50%; border: 2px solid var(--gold); background: var(--pitch); color: var(--gold);
  display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.28);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
#backToTop.show { opacity: 1; visibility: visible; transform: none; }
#backToTop:hover:not(:disabled) { background: #124a37; }
#backToTop svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { #backToTop { transition: none; } }

/* ---------- Prediction Form ---------- */
.predict-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px 22px; margin: 16px 0;
  position: relative; overflow: hidden; box-shadow: 0 2px 12px rgba(15, 61, 46, 0.06);
}
.predict-card::before {
  content: ""; position: absolute; top: -8px; left: 8px; width: 28px; height: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 60'><line x1='6' y1='2' x2='6' y2='58' stroke='%2314221B' stroke-width='2'/><polygon points='6,4 38,4 28,18 38,32 6,32' fill='%23C8412F'/></svg>");
  background-size: contain; background-repeat: no-repeat; opacity: 0.85; pointer-events: none;
}
.predict-card::after {
  content: ""; position: absolute; bottom: -18px; right: -18px; width: 80px; height: 80px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><circle cx='50' cy='50' r='42' fill='%23fff' stroke='%231F7A4D' stroke-width='3'/><polygon points='50,28 64,40 58,58 42,58 36,40' fill='%231F7A4D'/><path d='M50 28 L50 12 M64 40 L82 30 M58 58 L74 76 M42 58 L26 76 M36 40 L18 30' stroke='%231F7A4D' stroke-width='2.5' fill='none'/></svg>");
  background-size: contain; background-repeat: no-repeat; opacity: 0.18; pointer-events: none;
}
.predict-match-header { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; position: relative; z-index: 1; margin-top: 4px; }
.predict-team { font-size: 19px; font-weight: 700; color: var(--ink); flex: 1; text-align: center; min-width: 80px; }
.predict-vs { font-size: 12px; font-weight: 700; color: #fff; background: var(--turf); padding: 5px 14px; border-radius: 999px; letter-spacing: 1.5px; box-shadow: 0 2px 4px rgba(31, 122, 77, 0.3); }
.predict-match-time { text-align: center; font-size: 14px; color: var(--muted); margin-top: 12px; position: relative; z-index: 1; }
.predict-form { margin-top: 16px; position: relative; z-index: 1; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin: 22px 0 8px; }
.predict-form input, .predict-form select { display: block; width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; background: #fff; margin: 0; }
.predict-form input:focus, .predict-form select:focus { outline: 2px solid var(--turf); outline-offset: 1px; }
.radio-row { display: flex; gap: 12px; margin-top: 6px; }
.radio-pill { flex: 1; position: relative; }
.radio-pill input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-pill span { display: flex; align-items: center; justify-content: center; padding: 13px 16px; border: 2px solid var(--line); border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; transition: all .15s; background: #fff; }
.radio-pill input:checked + span { border-color: var(--turf); background: #eaf6ee; color: var(--turf); }
.radio-pill:hover span { border-color: var(--turf); }
.predict-submit-btn { width: 100%; margin-top: 28px; padding: 14px; font-size: 16px; font-weight: 600; border-radius: 10px; position: relative; z-index: 1; }
.predict-success-box { background: #f0f8f3; border: 1px solid var(--turf); border-radius: 12px; padding: 20px 18px; margin-top: 18px; }
.predict-success-box h3 { margin: 0 0 12px; font-size: 17px; color: var(--turf); }
.predict-success-box p { margin: 6px 0; font-size: 14px; color: var(--ink); }

/* ---------- Share Link ---------- */
.share-link-box { background: #f7f9f6; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin: 12px 0; }
.share-link-box label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.share-link-row { display: flex; gap: 8px; }
.share-link-row input { flex: 1; margin: 0; padding: 9px 10px; font-size: 13px; }
.share-link-row button { margin: 0; padding: 9px 14px; white-space: nowrap; }
.share-actions { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.share-wa-btn { display: inline-block; padding: 10px 16px; background: #25D366; color: #fff; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 600; border: none; }
.share-wa-btn:hover { background: #20bd5a; }
.invite-code-display { font-size: 22px; font-weight: 800; color: var(--gold-d); letter-spacing: 2px; text-align: center; padding: 8px 0; }
.invite-code-text { font-weight: 700; color: var(--gold-d); font-size: 16px; }

/* ---------- Profile ---------- */
.profile-section { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 18px; margin: 16px 0; box-shadow: 0 2px 8px rgba(15, 61, 46, 0.04); }
.profile-section h3 { margin: 0 0 14px; font-size: 17px; }
.muted-text { color: var(--muted); font-size: 14px; }
.btn-logout { background: #f0f3ee; color: var(--muted); border: 1px solid var(--line); padding: 10px 28px; font-size: 14px; border-radius: 8px; }
.btn-logout:hover:not(:disabled) { background: #e6ebe4; color: var(--alert); border-color: var(--alert); }
.score-input-row { display: flex; align-items: center; gap: 12px; }
.score-input-row input { flex: 1; margin: 0; text-align: center; font-size: 22px; font-weight: 700; padding: 10px 8px; }
.score-dash { font-size: 20px; font-weight: 700; color: var(--muted); }
.rule-card { background: rgba(255,255,255,0.7); border: 1px dashed var(--turf); border-radius: 10px; padding: 12px 14px; margin-top: 8px; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--turf); transition: all .15s; }
.rule-card:hover { background: #eaf6ee; border-color: var(--pitch); }

/* ---------- Modal ---------- */
.modal-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,0.45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-box { background: #fff; border-radius: 16px; max-width: 480px; width: 100%; max-height: 88vh; display: flex; flex-direction: column; box-shadow: 0 8px 32px rgba(0,0,0,0.2); animation: modalIn .2s ease-out; }
@keyframes modalIn { from { transform: scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-body { padding: 24px 22px 16px; overflow-y: auto; }
.modal-body h3 { margin: 0 0 6px; font-size: 18px; }
.modal-body .rules-intro { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.modal-body .rule-item { padding: 10px 0; border-bottom: 1px solid var(--line); }
.modal-body .rule-item:last-child { border-bottom: none; }
.modal-body .rule-title { font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.modal-body .rule-desc { font-size: 14px; color: var(--ink); }
.modal-body .rule-bullets { margin: 4px 0 0; padding-left: 20px; }
.modal-body .rule-bullets li { font-size: 13px; color: var(--mute); margin: 2px 0; }
.modal-footer { padding: 12px 22px 18px; display: flex; gap: 10px; border-top: 1px solid var(--line); }
.modal-footer button { flex: 1; margin: 0; padding: 12px; font-size: 15px; font-weight: 600; }
.modal-footer button.btn-close { background: #f0f3ee; color: var(--muted); border-color: var(--line); }
.modal-footer button.btn-close:hover:not(:disabled) { background: #e6ebe4; }

.cash-modal-box { padding: 26px 22px 18px; text-align: center; }
.cash-modal-icon { width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 50%; background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%); display: flex; align-items: center; justify-content: center; font-size: 36px; box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15); }
.cash-modal-title { margin: 0 0 6px; font-size: 22px; font-weight: 700; color: #0f172a; }
.cash-modal-desc { margin: 0 0 18px; font-size: 13px; color: #475569; line-height: 1.5; }
.cash-modal-body { text-align: left; }
.cash-modal-label { display: block; font-size: 12px; font-weight: 700; color: #0f172a; margin: 10px 0 4px; letter-spacing: 0.3px; }
.cash-modal-body input { width: 100%; padding: 11px 14px; font-size: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fafbfc; box-sizing: border-box; transition: border-color .15s, background .15s; }
.cash-modal-body input:focus { outline: none; border-color: #10b981; background: #fff; }
.cash-modal-summary { margin: 14px 0 4px; padding: 12px 14px; background: #f0fdf4; border: 1px dashed #86efac; border-radius: 8px; font-size: 13px; color: #166534; text-align: center; font-weight: 600; }
.cash-modal-footer { display: flex; gap: 10px; margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.cash-modal-footer button { flex: 1; padding: 12px; font-size: 15px; font-weight: 600; border-radius: 8px; }
.btn-cash-cancel { background: #f0f3ee; color: var(--muted); border: 1px solid var(--line); cursor: pointer; }
.btn-cash-cancel:hover { background: #e6ebe4; }
.btn-cash-confirm { background: #0f172a; color: #fff; border: none; cursor: pointer; }
.btn-cash-confirm:hover:not(:disabled) { background: #1e293b; }
.btn-cash-confirm:disabled { opacity: 0.5; cursor: not-allowed; }

.chips-modal-box { padding: 26px 22px 20px; text-align: center; }
.chips-modal-icon { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; background: #e0e7ff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15); }
.chips-modal-icon svg { width: 44px; height: 44px; }
.chips-modal-title { margin: 0 0 8px; font-size: 24px; font-weight: 800; color: #0f172a; }
.chips-modal-desc { margin: 0 0 16px; font-size: 14px; color: #475569; line-height: 1.55; }
.chips-modal-info { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 10px; padding: 14px 16px; font-size: 13px; color: #166534; line-height: 1.6; text-align: left; margin-bottom: 16px; }
.chips-modal-body { text-align: left; }
.chips-modal-label { display: block; font-size: 13px; font-weight: 700; color: #0f172a; margin: 0 0 6px; }
.chips-modal-body input { width: 100%; padding: 12px 16px; font-size: 14px; border: 1px solid #d1d5db; border-radius: 10px; background: #f3f4f6; box-sizing: border-box; transition: border-color .15s, background .15s; }
.chips-modal-body input:focus { outline: none; border-color: #6366f1; background: #fff; }
.chips-modal-summary { margin: 14px 0 4px; padding: 12px 14px; background: #fffbeb; border: 1px dashed #fcd34d; border-radius: 8px; font-size: 13px; color: #854d0e; text-align: center; font-weight: 600; }
.chips-modal-footer { display: flex; gap: 12px; margin-top: 18px; }
.chips-modal-footer button { flex: 1; padding: 13px; font-size: 15px; font-weight: 700; border-radius: 10px; letter-spacing: 0.5px; }
.btn-chips-back { background: #f3f4f6; color: #6b7280; border: 1px solid #e5e7eb; cursor: pointer; }
.btn-chips-back:hover { background: #e5e7eb; }
.btn-chips-submit { background: #0f172a; color: #fff; border: none; cursor: pointer; }
.btn-chips-submit:hover:not(:disabled) { background: #1e293b; }
.btn-chips-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-chips-signup { display: block; width: 100%; margin-top: 12px; padding: 14px; font-size: 15px; font-weight: 700; border-radius: 10px; letter-spacing: 0.5px; background: #86efac; color: #14532d; border: 1px solid #4ade80; cursor: pointer; transition: background .15s; }
.btn-chips-signup:hover { background: #4ade80; }
