:root { --ink:#e8f4ff; --paper:#061428; --card:rgba(10,40,80,.72); --line:rgba(120,190,255,.35); --accent:#1e88e5; }
* { box-sizing: border-box; }
body {
  margin: 0; color: var(--ink);
  font-family: Vazirmatn, Tahoma, sans-serif; line-height: 1.7;
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(30,136,229,.45), transparent 60%),
    radial-gradient(700px 380px at 100% 0%, rgba(0,229,255,.22), transparent 55%),
    linear-gradient(180deg, #07182e, #04101f 40%, #071a33);
  min-height: 100vh;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(80,170,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(80,170,255,.08) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(#000, transparent 85%);
}
a { color: #9ad7ff; }
.top {
  position: sticky; top: 0; z-index: 5;
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  padding: 14px 5vw; color: #fff;
  background: rgba(6, 24, 48, .82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); box-shadow: 0 10px 40px rgba(0,0,0,.35);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 22px; color: #fff; }
.logo {
  width: 64px; height: 64px; object-fit: contain; border-radius: 16px;
  background: #000; box-shadow: 0 0 24px rgba(66,165,245,.8);
}
@keyframes pulse { 50% { box-shadow: 0 0 36px rgba(129,212,250,1); transform: translateY(-2px); } }
nav { display: flex; gap: 8px; flex-wrap: wrap; }
nav a { color: #fff; text-decoration: none; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.08); }
nav a:hover { background: #1565c0; }
.sponsor { margin-inline-start: auto; display: flex; align-items: center; }
.warnline { border-bottom: 1px solid var(--line); background: rgba(6, 24, 48, .95); color: #d7ecff; font-size: 13px; line-height: 1.4; }
.warnline marquee { padding: 4px 0; }
.letter { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #229ED9; color: #fff; text-decoration: none; }
.letter.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
main { position: relative; padding: 28px 5vw 72px; max-width: 1100px; }
.hero { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; margin-bottom: 28px; }
.hero .mark { width: 120px; height: 120px; border-radius: 28px; }
h1 { font-size: clamp(36px, 6vw, 64px); margin: 0; text-shadow: 0 0 24px rgba(66,165,245,.7); }
.lede { font-size: 18px; color: #c5e4ff; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card, form, table {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,.25); backdrop-filter: blur(8px);
}
.card { transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(30,136,229,.35); }
.price strong, .card h3 { margin: 0 0 6px; }
.slots { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.pill.open { background: rgba(46,125,50,.35); box-shadow: 0 0 16px rgba(102,187,106,.4); }
.pill.full { opacity: .65; }
label { display: block; margin: 10px 0; }
input, textarea, select, button { font: inherit; width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,.25); color: #fff; }
button, .btn { background: linear-gradient(90deg, #0d47a1, #1e88e5); color: #fff; border: 0; cursor: pointer; text-decoration: none; display: inline-block; padding: 10px 16px; width: auto; box-shadow: 0 8px 20px rgba(21,101,192,.45); }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: start; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.medal { font-weight: 800; color: #ffd54f; text-shadow: 0 0 10px rgba(255,213,79,.6); }
.rank { font-size: 22px; color: #81d4fa; }
.contest { margin: 18px 0; }
.winners { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.winner { background: linear-gradient(180deg, rgba(255,213,79,.2), transparent); border: 1px solid rgba(255,213,79,.4); border-radius: 12px; padding: 8px 12px; }
.social-row { display: flex; gap: 14px; justify-content: center; margin: 8px 5vw; }
.foot { padding: 20px 5vw 36px; border-top: 1px solid var(--line); color: #b9d7f2; }
.credits { display: flex; flex-wrap: wrap; gap: 12px; }
.note { color: #b3e5fc; }
.note.ok { color: #b9f6ca; }
.note.err { color: #ffab91; }
.eyebrow { margin: 0 0 6px; color: #81d4fa; font-weight: 800; letter-spacing: .04em; }
.status { display: inline-block; margin: 8px 0; padding: 6px 12px; border-radius: 999px; }
.status.open { background: rgba(46,125,50,.4); }
.status.shut { background: rgba(198,40,40,.35); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn.ghost { background: transparent; border: 1px solid var(--line); box-shadow: none; }
.day-card { text-decoration: none; color: inherit; }
.day-card.today { border-color: #ffd54f; }
.rate .big, .total .big, .big { font-size: clamp(28px, 4vw, 42px); margin: 6px 0; color: #ffd54f; font-weight: 800; }
.week-nav, .legend, .lookup { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.lookup label { flex: 1; min-width: 220px; }
.week { display: grid; grid-template-columns: repeat(7, minmax(148px, 1fr)); gap: 10px; overflow-x: auto; padding-bottom: 8px; }
.day { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px; min-width: 148px; }
.day.today { border-color: #ffd54f; box-shadow: 0 0 0 1px rgba(255,213,79,.35); }
.day h2 { margin: 0; font-size: 18px; }
.date, .range, .sub, .who { display: block; color: #b9d7f2; font-size: 13px; }
.cell { display: grid; gap: 2px; margin-top: 8px; padding: 8px; border-radius: 12px; text-decoration: none; color: #fff; border: 1px solid var(--line); }
.cell.open { background: rgba(46,125,50,.38); }
.cell.open:hover, .cell.on { outline: 2px solid #ffd54f; }
.cell.full { background: rgba(198,40,40,.28); }
.cell.passed { opacity: .55; }
.cell.mine, .pill.mine { background: rgba(21,101,192,.45); }
.claim { margin-top: 18px; }
.clocks, .grid.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.clock.mine { outline: 2px solid #ffd54f; }
.elapsed { font-size: clamp(32px, 5vw, 48px); margin: 8px 0; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.due strong { color: #ffd54f; font-size: 22px; }
.hour-row { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 8px; align-items: end; }
input[type="checkbox"] { width: auto; }
input[type="time"] { color-scheme: dark; }
.check { display: flex; align-items: center; gap: 8px; }
.table-wrap { overflow-x: auto; }
td form { margin: 0; }
.lang { color: #fff; text-decoration: none; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.08); font-weight: 800; }
.lang:hover { background: #1565c0; }
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; }
  .hour-row { grid-template-columns: 1fr; }
}
