/* $HABIBI claim app: the wallet-style airdrop layout (same as the $WHALE claim), in the Habibi Dubai look:
   near-black night, 24k gold, Bodoni + Manrope (Arabic: Reem Kufi + IBM Plex Sans Arabic). transform/opacity only. */
@font-face { font-family: 'Dollar'; src: url('/fonts/manrope.woff2') format('woff2'); font-weight: 300 800; font-display: swap; unicode-range: U+0024; }
@font-face { font-family: 'Manrope'; src: url('/fonts/manrope.woff2') format('woff2'); font-weight: 300 800; font-display: swap; }
@font-face { font-family: 'Bodoni'; src: url('/fonts/bodoni.woff2') format('woff2'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Kufi'; src: url('/fonts/kufi.woff2') format('woff2'); font-weight: 400 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: 'PlexAr'; src: url('/fonts/plexar-500.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: 'PlexAr'; src: url('/fonts/plexar-700.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
:root {
  --ink: #050403; --panel: #0b0907; --card: #110e0a; --line: rgba(233, 196, 120, .13); --chip: #16120c; --chip-hover: #1f190f; --chip-text: #e2d6bf;
  --bubble: #19140d; --bubble-hover: #241c11; --dim: #a39780; --faint: #5a5246; --iris: #f0c766; --avatar: #2a2010; --avatar-text: #f0c766;
  --red: #ff7a6b; --display: 'Dollar', 'Manrope', 'PlexAr', ui-sans-serif, system-ui, sans-serif; --sans: 'Manrope', 'PlexAr', ui-sans-serif, system-ui, sans-serif; --serif: 'Bodoni', 'Kufi', Georgia, serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace; --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.34, 1.4, .64, 1);
  --goldg: linear-gradient(100deg, #b8862f 0%, #f0c766 30%, #fff3c9 48%, #f0c766 64%, #c99a3e 100%);
  color-scheme: dark;
}
html[dir=rtl] { --sans: 'PlexAr', 'Manrope', system-ui, sans-serif; --serif: 'Kufi', 'Bodoni', serif; }
html.i18n-wait body { visibility: hidden; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--ink); color: #f4f1ea; font-family: var(--sans); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
input { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic.xl { width: 16px; height: 16px; stroke: none; }
.offscreen, .offscreen * { animation-play-state: paused !important; }

/* header */
.hd { position: relative; z-index: 2; border-bottom: 1px solid var(--line); }
.hd-in { max-width: 480px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.hd-brand { display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 44px; color: #f4f1ea; }
.hd-mark { width: 30px; height: 21px; flex: none; }
.hd-name { font: 600 16px/1 var(--sans); letter-spacing: .2em; white-space: nowrap; }
.hd-sub { padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .15); font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.hd-follow { display: flex; flex: none; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; background: #f4f1ea; color: #0a0c10; font-family: var(--sans); font-size: 14.5px; font-weight: 600; transition: transform .15s, background .15s; }
.hd-follow:hover { background: #fff; } .hd-follow:active { transform: scale(.95); }
@media (min-width: 640px) { .hd-follow { padding: 10px 20px; font-size: 15px; } }

/* top: balance, actions, tabs (the deep-sea photo sits behind the balance) */
body::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 420px; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 4, 3, .35), var(--ink) 92%), linear-gradient(90deg, var(--ink) 0%, rgba(5, 4, 3, .2) 60%), url('/media/claim-top-800.webp') 60% 20% / cover no-repeat; opacity: .95; }
@media (min-width: 700px) { body::before { background-image: linear-gradient(180deg, rgba(5, 4, 3, .35), var(--ink) 92%), linear-gradient(90deg, var(--ink) 0%, rgba(5, 4, 3, .2) 60%), url('/media/claim-top-1400.webp'); } }
.top { position: relative; z-index: 1; width: 100%; max-width: 480px; margin: 0 auto; padding: 0 16px; }
.bal { position: relative; padding-top: 32px; }
.bal-n { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bal-n .w { font-size: min(60px, 13.5vw); color: #f4f1ea; display: inline-block; transform-origin: left bottom; }
.bal-n .w.bump { animation: bump .6s var(--spring); }
@keyframes bump { 35% { transform: scale(1.06); } }
.bal-n .f { font-size: min(60px, 13.5vw); color: var(--faint); display: inline-block; }
.acts { margin-top: 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.act { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-radius: 20px; border: 1px solid var(--line); background: rgba(22, 17, 10, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--chip-text); font-size: 13px; font-weight: 600; transition: background .15s, transform .15s; }
.act .ic { width: 26px; height: 26px; color: var(--iris); stroke-width: 1.6; }
.act:hover { background: var(--chip-hover); } .act:active { transform: scale(.95); }
@media (min-width: 400px) { .act { font-size: 15px; } }
@media (min-width: 640px) { .bal { padding-top: 40px; } .bal-n .w, .bal-n .f { font-size: 68px; } .acts { gap: 12px; } .act { font-size: 16px; } .act .ic { width: 32px; height: 32px; } }
.tabs { margin-top: 40px; display: flex; align-items: center; gap: 24px; }
.tab { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 36px; line-height: 1; letter-spacing: -.01em; color: var(--faint); transition: color .15s; }
.tab:hover { color: var(--dim); } .tab.on { color: #f4f1ea; }
.tag { padding: 4px 8px; border-radius: 99px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0; background: rgba(240, 199, 102, .15); color: var(--iris); transition: background .15s, color .15s; }
.tab.on .tag { background: var(--iris); color: #000; }
@media (min-width: 640px) { .tab { font-size: 40px; } }

/* panel */
.panel { position: relative; margin-top: 28px; flex: 1; background: var(--panel); border-top: 1px solid var(--line); }
.panel-in { max-width: 480px; margin: 0 auto; padding: 20px 16px 64px; }
.stack > * + * { margin-top: 24px; }
#panel-referral.stack > * + * { margin-top: 12px; }
.panel-in [data-panel] { animation: panelIn .35s var(--ease) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
.card { border-radius: 20px; border: 1px solid var(--line); background: var(--card); padding: 16px; }
@media (min-width: 640px) { .card { padding: 20px; } }
.lbl { display: block; font-size: 14px; color: var(--dim); }
.lbl .faint { color: var(--faint); }
.row { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 380px) { .row { flex-direction: row; } }
.fld { flex: 1; min-width: 0; display: flex; align-items: center; gap: 4px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); transition: border-color .15s; }
.fld:focus-within { border-color: rgba(240, 199, 102, .6); }
.fld span { color: var(--dim); }
.fld input { width: 100%; min-width: 0; padding: 12px 0; background: transparent; border: 0; outline: none; color: #fff; }
.fld input::placeholder, .inp::placeholder { color: var(--faint); }
.btn-w { flex: none; padding: 12px 20px; border-radius: 99px; background: #f4f1ea; color: #0a0c10; font-weight: 600; transition: transform .15s, background .15s, opacity .15s; }
.btn-w:not(:disabled):hover { background: rgba(255, 255, 255, .9); } .btn-w:not(:disabled):active { transform: scale(.95); }
.btn-w:disabled { opacity: .4; cursor: default; }
.btn-w.big { width: 100%; padding: 12px; font-size: 15px; }
.btn-w.big:not(:disabled):active { transform: scale(.98); }
.hint { margin: 8px 0 0; font-size: 12px; color: var(--dim); } .hint.err { color: var(--red); }

/* taking part as */
.me { display: flex; align-items: center; gap: 16px; }
.ava { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--avatar); color: var(--avatar-text); font-size: 18px; font-weight: 600; }
.me-t { min-width: 0; flex: 1; } .me-t p { margin: 0; } .me-t .s { font-size: 14px; color: var(--dim); }
.me-t .h { font-size: 18px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-t .i { font-size: 12px; color: var(--dim); }
.chg { flex: none; padding: 4px 8px; border-radius: 99px; font-size: 15px; color: var(--dim); } .chg:hover { color: #fff; }

/* progress + tasks */
.prog-row { display: flex; align-items: center; gap: 16px; padding: 0 4px; }
.prog { flex: 1; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.prog i { display: block; height: 100%; border-radius: 99px; background: var(--iris); transform-origin: left; transform: scaleX(0); transition: transform .5s var(--ease); }
.prog-t { flex: none; font-size: 17px; color: var(--dim); }
.tasks { list-style: none; margin: 20px 0 0; padding: 0; }
.tasks > li + li { margin-top: 12px; }
.task { position: relative; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; overflow: hidden; animation: rise .45s var(--ease) both; }
.task:nth-child(2) { animation-delay: .05s; } .task:nth-child(3) { animation-delay: .1s; } .task:nth-child(4) { animation-delay: .15s; } .task:nth-child(5) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.tasks.nofx .task { animation: none; }
@media (min-width: 380px) { .task { grid-template-columns: auto 1fr auto; } }
@media (min-width: 640px) { .task { column-gap: 16px; } }
.t-ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--bubble); color: #fff; transition: background .3s, color .3s; }
.t-ic .ic { width: 20px; height: 20px; }
.task.done .t-ic { background: rgba(240, 199, 102, .15); color: var(--iris); }
.task.done .t-ic .ic { animation: pop .5s var(--spring); }
@keyframes pop { from { transform: scale(0) rotate(-45deg); } }
@media (min-width: 640px) { .t-ic { width: 48px; height: 48px; } .t-ic .ic { width: 24px; height: 24px; } .task.done .t-ic .ic { width: 20px; height: 20px; } }
.t-tx { min-width: 0; }
.t-tx h3 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.375; }
.t-tx p { margin: 2px 0 0; font-size: 14px; line-height: 1.375; color: var(--dim); }
@media (min-width: 640px) { .t-tx h3 { font-size: 17px; } .t-tx p { font-size: 15px; } }
.again { margin-top: 6px; font-size: 14px; color: var(--dim); text-decoration: underline; text-underline-offset: 4px; } .again:hover { color: #fff; }
.t-act { grid-column-start: 2; margin-top: 12px; justify-self: start; }
@media (min-width: 380px) { .t-act { grid-column-start: 3; margin-top: 0; } }
.go { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; background: var(--bubble); color: #fff; font-size: 15px; font-weight: 600; transition: background .15s, transform .15s, opacity .15s; }
.go .ic { width: 16px; height: 16px; }
.go:not(:disabled):hover { background: var(--bubble-hover); } .go:not(:disabled):active { transform: scale(.95); } .go:disabled { opacity: .4; cursor: default; }
.did { padding: 10px 16px; font-size: 15px; } .did:disabled { opacity: .6; }
@media (min-width: 640px) { .go, .did { padding-left: 20px; padding-right: 20px; } }
.ok { display: flex; align-items: center; gap: 6px; padding: 0 8px; font-size: 15px; font-weight: 600; color: var(--iris); animation: pop .45s var(--spring); }
.ok .ic { width: 16px; height: 16px; }
.task.flash::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(240, 199, 102, .18) 50%, transparent 70%); transform: translateX(-100%); animation: sweep .9s var(--ease) forwards; pointer-events: none; }
@keyframes sweep { to { transform: translateX(100%); } }

/* claim card */
.cl-top { display: flex; align-items: center; gap: 12px; }
@media (min-width: 640px) { .cl-top { gap: 16px; } }
.cl-top h3 { margin: 0; font-size: 16px; font-weight: 600; }
.cl-top p { margin: 2px 0 0; font-size: 14px; line-height: 1.375; color: var(--dim); }
@media (min-width: 640px) { .cl-top h3 { font-size: 17px; } .cl-top p { font-size: 15px; } }
.cl-top .t-ic { color: #fff; }
.inp { margin-top: 16px; width: 100%; padding: 12px 16px; border-radius: 99px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); color: #fff; font-family: var(--mono); font-size: 14px; outline: none; transition: border-color .15s, opacity .15s; }
.inp::placeholder { font-family: var(--sans); }
.inp:focus { border-color: rgba(240, 199, 102, .6); } .inp:disabled { opacity: .4; }
.cl-err { margin: 8px 0 0; padding: 0 4px; font-size: 12px; color: var(--red); }
.cl-btn { margin-top: 12px; width: 100%; padding: 13px; border-radius: 99px; background: #f4f1ea; color: #0a0c10; font-size: 15px; font-weight: 600; position: relative; overflow: hidden; transition: transform .15s, background .15s, opacity .15s; }
.cl-btn:disabled { opacity: .3; cursor: default; }
.cl-btn:not(:disabled):hover { background: rgba(255, 255, 255, .9); } .cl-btn:not(:disabled):active { transform: scale(.98); }
.cl-btn:not(:disabled)::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(240, 199, 102, .45) 50%, transparent 70%); transform: translateX(-100%); animation: shine 2.6s ease-in-out infinite; }
@keyframes shine { 0%, 50% { transform: translateX(-100%); } 90%, 100% { transform: translateX(100%); } }
.claimed { display: flex; align-items: center; gap: 16px; border-color: rgba(240, 199, 102, .3); background: rgba(240, 199, 102, .07); animation: rise .5s var(--ease) both; }
.claimed .tick { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--iris); color: #000; animation: pop .6s var(--spring); }
.claimed .tick .ic { width: 24px; height: 24px; }
.claimed h3 { margin: 0; font-size: 17px; font-weight: 600; }
.claimed p { margin: 2px 0 0; font-size: 15px; line-height: 1.375; color: var(--dim); }
.claimed .mono { font-family: var(--mono); font-size: 14px; color: #fff; }
.claimed .st { margin-top: 6px; font-size: 14px; color: var(--dim); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.claimed .st a { color: var(--iris); text-decoration: underline; text-underline-offset: 4px; }
.claimed .st button { color: var(--iris); text-decoration: underline; text-underline-offset: 4px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--iris); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
@keyframes glow { 50% { border-color: rgba(240, 199, 102, .15); } }

/* live "received" leaderboard */
.recv-card .rh { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.recv-card h3 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; }
.recv-card .pulse { background: #3ddc97; }
.rt { font-size: 13px; color: var(--dim); text-align: right; }
.recv { list-style: none; margin: 14px 0 0; padding: 0; }
.recv li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.recv li:first-child { border-top: 0; }
.recv li.empty { display: block; color: var(--dim); font-size: 14px; text-align: center; padding: 14px 0; }
.recv li.new { animation: recvIn .6s var(--spring) both; }
.recv li.new .rw b { color: #3ddc97; }
@keyframes recvIn { from { opacity: 0; transform: translateY(-14px) scale(.97); } }
.recv .av { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--avatar); color: var(--avatar-text); font-weight: 600; font-size: 15px; }
.recv .av img { width: 100%; height: 100%; object-fit: cover; }
.recv .rw { min-width: 0; }
.recv .rw p { margin: 0; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recv .rw p b { font-weight: 600; transition: color 1.2s; }
.recv .rw span { font-size: 12.5px; color: var(--dim); }
.recv .tx { display: inline-flex; align-items: center; min-height: 32px; padding: 0 6px; font-size: 13px; color: var(--iris); white-space: nowrap; }
.recv .amt { color: #fff; font-weight: 600; }

/* referral */
.ref-empty { display: flex; flex-direction: column; align-items: center; padding: 32px 20px; text-align: center; }
.ref-empty .big-ic { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--bubble); color: var(--iris); }
.ref-empty .big-ic .ic { width: 24px; height: 24px; }
.ref-empty h3 { margin: 16px 0 0; font-size: 18px; font-weight: 600; }
.ref-empty p { margin: 4px 0 0; max-width: 320px; font-size: 15px; line-height: 1.375; color: var(--dim); }
.ref-empty .btn-w { margin-top: 20px; padding: 10px 24px; font-size: 15px; }
.link-row { margin-top: 8px; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border-radius: 99px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); }
.link-row span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 14px; }
.copy { flex: none; display: flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 99px; background: #fff; color: #000; font-size: 14px; font-weight: 600; transition: transform .15s; }
.copy .ic { width: 16px; height: 16px; } .copy:active { transform: scale(.95); }
.share { margin-top: 12px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 99px; background: var(--bubble); font-size: 15px; font-weight: 600; transition: background .15s, transform .15s; }
.share:hover { background: var(--bubble-hover); } .share:active { transform: scale(.98); }
.stats { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 360px) { .stats { grid-template-columns: 1fr 1fr; } }
.stats .card { min-width: 0; }
.stats p { margin: 0; font-size: 14px; color: var(--dim); }
.stats b { display: block; margin-top: 8px; font-family: var(--serif); font-size: 40px; font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stats b.iris { color: var(--iris); }
.pend { margin: 0; padding: 0 4px; font-size: 14px; line-height: 1.375; color: var(--dim); }
.how h3 { margin: 0; font-size: 17px; font-weight: 600; }
.how ol { list-style: none; margin: 16px 0 0; padding: 0; }
.how li { display: flex; align-items: flex-start; gap: 12px; } .how li + li { margin-top: 16px; }
.how .hi { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--bubble); color: var(--iris); }
.how .hi .ic { width: 20px; height: 20px; }
.how li div { min-width: 0; padding-top: 2px; } .how li b { display: block; font-size: 15px; font-weight: 600; } .how li span { font-size: 14px; line-height: 1.375; color: var(--dim); }

/* toast */
.toast-wrap { position: fixed; left: 0; right: 0; bottom: 32px; z-index: 50; pointer-events: none; }
.toast { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 12px 20px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .12); background: #19140d; font-size: 15px; font-weight: 600; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .6); animation: toastIn .18s ease-out; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 12px); } }

/* claim celebration: coins + bubbles burst (transform/opacity) */
.fx { position: fixed; inset: 0; z-index: 60; pointer-events: none; overflow: hidden; }
.fx i { position: absolute; left: 50%; top: 38%; width: 14px; height: 14px; border-radius: 50%; opacity: 0; animation: burst 1.5s var(--d) cubic-bezier(.2, .7, .3, 1) forwards; }
.fx i.c { background: radial-gradient(circle at 35% 35%, #fff3c9, #f0c766 55%, #8f6a26); }
.fx i.b { background: transparent; border: 2px solid var(--iris); }
@keyframes burst { 0% { opacity: 1; transform: translate(0, 0) scale(.6); } 100% { opacity: 0; transform: translate(calc(var(--x) * 45vw), calc(var(--y) * 40vh)) scale(1.1); } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Habibi additions: round coin logo + title in the header (like the tweet card), gold balance, extras, footer, RTL */
.hd-logo { width: 40px; height: 40px; flex: none; border-radius: 50%; box-shadow: 0 0 0 1px rgba(240, 199, 102, .35), 0 0 18px rgba(240, 199, 102, .25); }
.hd-name { font: 600 15px/1.1 var(--sans); letter-spacing: .02em; white-space: normal; }
@media (min-width: 400px) { .hd-name { font-size: 17px; white-space: nowrap; } }
.hd-follow { background: #fff; color: #050403; }
.bal-n .w { background: linear-gradient(180deg, #fffaf0 30%, #f3dcae); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tab { font-weight: 500; }
.cl-btn, .btn-w, .copy { background: var(--goldg); color: #1a1206; }
.cl-btn:not(:disabled):hover, .btn-w:not(:disabled):hover { background: var(--goldg); filter: brightness(1.06); }
.claimed .tick { color: #1a1206; }
.tag { background: rgba(240, 199, 102, .14); }
.est { margin: 0; padding: 0 4px; font-size: 12.5px; line-height: 1.45; color: var(--faint); text-align: center; }
.cl-tk { margin: 6px 0 0; font-size: 13px; color: var(--iris); }
.more { display: grid; gap: 10px; }
.more h3 { margin: 0 0 2px; font-size: 17px; font-weight: 600; }
.more a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); transition: background .15s, transform .15s; }
.more a:hover { background: var(--bubble); } .more a:active { transform: scale(.98); }
.more img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.more b { display: block; font-size: 15px; } .more span { font-size: 13px; color: var(--dim); }
.more i { font-style: normal; color: var(--iris); font-size: 18px; }
.ft { margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 18px; font-size: 14px; color: var(--dim); }
.ft a:hover, .lang:hover { color: #fff; }
.lang { min-height: 36px; padding: 4px 14px; border-radius: 99px; border: 1px solid var(--line); color: var(--chip-text); font-family: 'Kufi', var(--sans); }
html[dir=rtl] .bal-n { text-align: right; }
html[dir=rtl] .prog i { transform-origin: right; }
html[dir=rtl] .tab { letter-spacing: 0; }
html[dir=rtl] .link-row { padding: 6px 16px 6px 6px; }
.recv .rw p, .link-row span, .mono { unicode-bidi: plaintext; }
@media (max-width: 420px) { .tabs { gap: 16px; } .tab { font-size: 31px; } .tag { font-size: 11.5px; padding: 3px 7px; } }
