@font-face { font-family: Vazirmatn; src: url("fonts/Vazirmatn-Regular.ttf"); font-weight: 400; }
@font-face { font-family: Vazirmatn; src: url("fonts/Vazirmatn-Medium.ttf"); font-weight: 500 700; }
:root {
  --bg1: #0f1b2d; --bg2: #1d3557; --gold: #f5c542; --gold2: #ffe08a; --text: #fff; --muted: rgba(255,255,255,.7);
  --card: rgba(255,255,255,.08); --line: rgba(255,255,255,.16);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: Vazirmatn, Tahoma, sans-serif; color: var(--text);
  background: radial-gradient(1200px 600px at 85% -10%, rgba(245,197,66,.22), transparent 60%),
              linear-gradient(160deg, var(--bg1), var(--bg2) 60%, #3a2d12);
  background-attachment: fixed; -webkit-tap-highlight-color: transparent;
}
.wrap { max-width: 980px; margin: 0 auto; padding: max(24px, env(safe-area-inset-top)) 16px 32px; }
.head { display: flex; align-items: center; gap: 16px; margin: 8px 0 22px; }
.logo { width: 72px; height: 72px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.35)); }
h1 { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -.5px; }
.sub { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
h2 { font-size: 19px; font-weight: 500; margin: 26px 0 14px; }
.hidden { display: none !important; }
.note { background: rgba(245,197,66,.12); border: 1px solid rgba(245,197,66,.4); border-radius: 18px; padding: 14px 18px;
        font-size: 15px; line-height: 1.9; }
.note ol { margin: 6px 0 0; padding-inline-start: 22px; }
.share { display: inline-block; width: 14px; height: 17px; vertical-align: -3px; border: 2px solid currentColor; border-top: 0;
         border-radius: 0 0 3px 3px; position: relative; }
.status { margin: 18px 0 0; }
.track { height: 6px; border-radius: 6px; background: rgba(255,255,255,.15); overflow: hidden; }
.bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold2)); border-radius: 6px; transition: width .3s; }
.statusText { margin-top: 8px; font-size: 13px; color: var(--muted); }
.status.done .track { display: none; }
.panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 620px) { .panels { grid-template-columns: 1fr; } }
.panel {
  display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 14px; row-gap: 4px;
  text-align: right; padding: 20px; border-radius: 22px; border: 1px solid var(--line); background: var(--card);
  color: inherit; font: inherit; cursor: pointer; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,.18); transition: transform .18s, background .18s, border-color .18s, opacity .3s;
}
.panel svg { grid-row: 1 / span 2; width: 52px; height: 52px; padding: 12px; border-radius: 16px; fill: none; stroke: #1b1405;
             stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round;
             background: linear-gradient(145deg, var(--gold2), var(--gold)); }
.panel b { font-size: 20px; font-weight: 600; align-self: end; }
.panel span { font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.panel:not(:disabled):active { transform: scale(.98); }
.panel:not(:disabled):hover { background: rgba(255,255,255,.12); border-color: rgba(245,197,66,.55); }
.panel:disabled { opacity: .45; cursor: default; }
.foot { margin-top: 30px; font-size: 13px; color: var(--muted); line-height: 1.9; text-align: center; }
