/* گیفت‌هاب — Cyber-Gold Luxury UI helpers (Stitch fidelity) */
body {
  background-color: #121210;
  color: #F7F6F2;
  font-family: "Yekan Bakh", Vazirmatn, "Plus Jakarta Sans", sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}
.gold-glow-hover:hover {
  box-shadow: 0 0 24px rgba(254, 194, 0, 0.4), 0 4px 14px rgba(0, 0, 0, 0.6);
}
.gold-border-glow, .gold-glow-box, .gold-box-shadow {
  box-shadow: 0 0 16px rgba(254, 194, 0, 0.15);
}
.gold-glow-card {
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.6), 0 2px 8px -2px rgba(254, 194, 0, 0.08);
}
.gold-glow-active, .gold-glow-button:hover {
  box-shadow: 0 0 20px rgba(254, 194, 0, 0.35), 0 4px 12px rgba(0, 0, 0, 0.5);
}
.gold-radial-bg {
  background: radial-gradient(circle at 50% 0%, rgba(254, 194, 0, 0.08) 0%, rgba(19, 19, 17, 0) 70%);
}
.grid-pattern {
  background-image: radial-gradient(rgba(254, 194, 0, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
}
.glow-gold { box-shadow: 0 0 20px rgba(254, 194, 0, 0.25); }
.glow-border { border: 1px solid rgba(254, 194, 0, 0.18); }
html { scroll-behavior: smooth; }
::selection { background-color: #fec200; color: #121210; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #121210; }
::-webkit-scrollbar-thumb { background: #2A2926; border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: #fec200; }
.custom-scrollbar::-webkit-scrollbar, .custom-scroll::-webkit-scrollbar { width: 5px; }
.custom-scrollbar::-webkit-scrollbar-thumb, .custom-scroll::-webkit-scrollbar-thumb { background: #34332E; border-radius: 4px; }
.wizard-panel { display: none; }
.wizard-panel.active { display: block; }
.dir-ltr { direction: ltr; }
input, select, textarea {
  color-scheme: dark;
}
.ticker-row { animation: gh-fade-in 0.6s ease-out both; }
.ticker-row:nth-child(2) { animation-delay: 0.12s; }
.ticker-row:nth-child(3) { animation-delay: 0.22s; }
.ticker-row:nth-child(4) { animation-delay: 0.32s; }
#stock-ticker { animation: gh-fade-in 0.7s ease-out both; }
@keyframes gh-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.atm-card-shine {
  background: linear-gradient(135deg, rgba(254,194,0,0.12) 0%, transparent 40%, rgba(254,194,0,0.06) 100%);
}
.has-\[\:checked\]\:border-primary-container:has(:checked) {
  border-color: #fec200;
}

/* Readable Persian text, flexible cards, and usable mobile tables. */
body { font-family: Vazirmatn, Tahoma, sans-serif; line-height: 1.85; }
h1,h2,h3,h4 { line-height: 1.65; text-wrap: balance; letter-spacing: 0 !important; }
p,label { line-height: 1.9; }
.flex > div,.grid > div,.grid > section { min-width: 0; }
.material-symbols-outlined { flex-shrink: 0; white-space: nowrap; overflow-wrap: normal; }
button,a[role="button"],nav a { white-space: normal; word-break: normal; line-height: 1.6; }
input,textarea,select { min-width: 0; max-width: 100%; font: inherit; }
[dir="ltr"],bdi,.font-code-key,.font-code-key { unicode-bidi: isolate; }
td,th { padding: .85rem .75rem; vertical-align: middle; line-height: 1.7; }
th { white-space: nowrap; }
td { overflow-wrap: anywhere; }
.overflow-x-auto table { min-width: 560px; }
:focus-visible { outline: 2px solid #fec200; outline-offset: 4px; }
[id] { scroll-margin-top: 100px; }
.gh-page { max-width: 1120px; margin: auto; padding: 36px 24px 70px; }
.gh-card { background: #1b1b18; border: 1px solid #36352e; border-radius: 20px; padding: 28px; margin: 22px 0; box-shadow: 0 12px 40px #0003; }
.gh-card h1 { font-size: clamp(24px,3vw,34px); font-weight: 800; margin: 12px 0; }
.gh-card h2 { font-size: 22px; font-weight: 700; margin: 12px 0; }
.gh-muted { color: #b8b6ac; margin: 12px 0; }
.gh-eyebrow { color: #fec200; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.gh-note { background: #fec2000a; border: 1px solid #fec20030; padding: 18px; border-radius: 12px; margin: 24px 0; color: #ded9bd; }
.gh-alert { background: #fb718518; color: #fda4af; border: 1px solid #fb71854a; border-radius: 12px; padding: 14px; margin: 16px 0; }
.gh-button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; background: #fec200; border: 1px solid #fec200; border-radius: 12px; color: #161611; font-weight: 700; padding: 11px 22px; text-align: center; cursor: pointer; }
.gh-button:hover { background: #e5af00; }
.gh-secondary { background: transparent; color: #eae8dd; border-color: #4c4a40; }
.gh-secondary:hover { background: #2d2c25; }
.gh-link { display: inline-block; color: #fec200; margin: 12px 0; }
.gh-card input:not([type="hidden"]):not([type="checkbox"]),.gh-card textarea,.gh-card select { display: block; width: 100%; background: #121210; border: 1px solid #4b493e; border-radius: 12px; padding: 12px 14px; margin: 10px 0 20px; }
.gh-card input[type="file"] { font-size: 14px; }
.gh-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 24px; }
.gh-form-grid > input[type="hidden"] { display:none; }
.gh-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 20px; }
.gh-section-title { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.gh-badge { border: 1px solid #fec20040; color: #fec200; padding: 6px 12px; border-radius: 30px; font-size: 12px; white-space: nowrap; }
.gh-table-wrap { overflow-x: auto; }
.gh-table-wrap table { min-width: 680px; width: 100%; text-align: right; }
.gh-table-wrap td,.gh-table-wrap th { border-bottom: 1px solid #38372f; }
.gh-auth { max-width: 1160px; margin: auto; padding: 75px 24px; display: grid; grid-template-columns: 1fr 440px; align-items: center; gap: 80px; min-height: 72vh; }
.gh-auth-intro h1 { font-size: clamp(32px,4.5vw,54px); color: #f4f1e4; font-weight: 800; line-height: 1.65; margin: 24px 0; }
.gh-auth-intro p { color: #b8b6ac; max-width: 470px; }
.gh-login-card { margin: 0; }
.gh-login-card .gh-button { width: 100%; }
.gh-guide { padding-right: 24px; list-style: decimal; }
.gh-guide li { margin: 16px 0; }
@media(max-width: 767px) {
 .gh-auth { grid-template-columns: 1fr; gap: 28px; padding: 32px 18px; }
 .gh-auth-intro .gh-note { display: none; }
 .gh-card { padding: 20px; border-radius: 16px; }
 .gh-page { padding: 28px 16px; }
 .gh-form-grid { grid-template-columns: 1fr; }
 .gh-actions .gh-button { flex: 1 1 180px; }
 header > div { flex-wrap: wrap; gap: 14px; }
 header .h-16 { height: auto; }
 #deposit-section > div:first-child { align-items: stretch; }
 #deposit-section > div:first-child > div:last-child { flex-wrap: wrap; }
 h1.text-headline-lg { font-size: 25px; }
}
@media(prefers-reduced-motion: reduce) { * { scroll-behavior:auto !important; animation: none !important; transition: none !important; } }
.gh-payment-toggle { margin:0; }
.stitch-admin .gh-form-grid input,.stitch-admin .gh-form-grid select,.stitch-admin .gh-form-grid textarea { width:100%; background:#121210; color:#f4f1e4; border:1px solid #4b493e; border-radius:10px; padding:10px 12px; margin-top:8px; }
.gh-payment-switch { display:flex; align-items:center; gap:6px; border:1px solid #fec20060; border-radius:10px; padding:6px 10px; background:#24231f; font-size:12px; white-space:nowrap; cursor:pointer; }
.gh-payment-switch.is-on { color:#8bd8a2; border-color:#8bd8a250; }
.gh-payment-switch.is-off { color:#ffb4ab; border-color:#ffb4ab60; }
.gh-shop-header { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; padding:18px max(20px,calc((100% - 1200px)/2)); border-bottom:1px solid #4b493e; background:#191916; }
.gh-shop-brand,.gh-shop-header nav { display:flex; align-items:center; gap:18px; }
.gh-shop-brand { color:#fec200; font-weight:800; }
.gh-shop-header nav { flex-wrap:wrap; font-size:14px; }
.gh-shop-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.gh-shop-product { display:flex; flex-direction:column; margin:0; }
.gh-shop-product form { margin-top:auto; padding-top:18px; }
.gh-shop-product .gh-button { width:100%; display:flex; justify-content:center; gap:8px; align-items:center; }
.gh-product-icon { display:flex; width:54px; height:54px; border-radius:16px; align-items:center; justify-content:center; background:#fec20015; color:#fec200; }
.gh-shop-price { color:#fec200; font-size:24px; font-weight:800; margin:18px 0; }
.gh-shop-price small { display:block; font-size:13px; font-weight:400; color:#b8b6ac; margin-top:8px; }
.gh-wallet-chip { display:flex; align-items:center; gap:10px; padding:12px 16px; border:1px solid #fec20050; border-radius:14px; color:#fec200; }
.gh-order-page { max-width:980px; }
.gh-order-page .gh-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; }
.gh-order-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:24px 0; }
.gh-order-summary > div { background:#191916; border:1px solid #38372f; padding:16px; border-radius:12px; }
.gh-order-summary dt { font-size:13px; color:#b8b6ac; margin-bottom:8px; }.gh-order-summary dd { color:#fec200; font-weight:700; margin:0; }
.gh-delivery { white-space:pre-wrap; overflow-wrap:anywhere; background:#121210; padding:20px; border:1px solid #fec20050; border-radius:14px; font-family:monospace; user-select:text; text-align:left; margin:20px 0; }
.gh-order-id { overflow-wrap:anywhere; }.gh-button:disabled { opacity:.45; cursor:not-allowed; }
@media(max-width:1000px){.gh-shop-grid {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){.gh-shop-grid {grid-template-columns:1fr;}.gh-order-summary {grid-template-columns:1fr;}.gh-payment-switch {padding:5px 7px;font-size:11px;}.stitch-admin-header {gap:6px;}}
/* Hosted bot control panels */
.gh-bots-page{max-width:1120px}.gh-bot-route{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;margin:22px 0;padding:16px;border:1px solid #ffffff12;border-radius:14px;background:#151517}.gh-bot-route span{font-weight:700;color:#f2ca59}.gh-bot-status{padding:20px;margin:14px 0;border:1px solid #ffffff18;border-radius:16px;background:#171719}.gh-bot-status.is-active{border-color:#39b98d50}.gh-bot-badge{border-radius:30px;padding:7px 12px;font-size:12px;background:#ffffff0b;line-height:1.8}.is-active .gh-bot-badge{background:#39b98d18;color:#7be0b8}.gh-bot-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin:20px 0}.gh-bot-facts div{min-width:0}.gh-bot-facts dt{font-size:12px;color:#aaa;margin-bottom:8px}.gh-bot-facts dd{margin:0;font-size:13px;overflow-wrap:anywhere}.gh-bot-code{margin:16px 0;padding:16px;border:1px solid #ffffff18;border-radius:12px}.gh-bot-code summary{cursor:pointer;overflow-wrap:anywhere}.gh-bot-code pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:420px;overflow:auto;text-align:left;font-size:12px;line-height:1.8}.gh-bots-page .gh-form-grid select{width:100%;padding:12px;color:#eee;background:#1b1b1f;border:1px solid #ffffff20;border-radius:10px}.gh-bot-status .gh-section-title{align-items:flex-start}.gh-bot-status .gh-actions{margin-top:18px}.gh-bot-status h3{margin:0}.gh-bot-status p{margin:8px 0}.gh-bot-route .material-symbols-outlined{color:#aaa}@media(max-width:600px){.gh-bot-status{padding:15px}.gh-bot-status .gh-section-title{flex-direction:column;gap:8px}.gh-bot-facts{grid-template-columns:1fr;gap:16px}.gh-bot-route{gap:8px;padding:12px;font-size:12px}.gh-bot-code{padding:12px}.gh-bot-status .gh-actions .gh-button{flex:1 1 140px;text-align:center}.gh-bot-route .material-symbols-outlined{font-size:18px}}
