.names-hero h1 { max-width: 760px; }
.lang { margin-inline-start: 6px; }
.searchrow { display: flex; gap: 10px; flex-wrap: wrap; }
.nameinput { flex: 1 1 320px; display: flex; align-items: center; background: #060912; border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; }
.nameinput input { border: 0; border-radius: 0; background: transparent; font-size: 20px; padding: 12px 14px; }
.nameinput input:focus { border: 0; }
.nameinput span { padding: 0 14px; color: var(--muted); font-size: 18px; font-weight: 600; }
.searchrow button { font-size: 16px; padding: 12px 22px; }
.verdict { display: grid; gap: 6px; padding: 16px; border-radius: 14px; border: 1px solid var(--line2); background: #060912; }
.verdict .nm { font-size: 24px; font-weight: 800; direction: ltr; text-align: start; unicode-bidi: plaintext; }
.verdict .st { font-weight: 700; }
.verdict .pr { font-size: 30px; font-weight: 800; }
.verdict .pr small { font-size: 14px; color: var(--muted); font-weight: 600; }
.verdict.ok { border-color: rgba(52, 211, 153, .5); }
.verdict.no { border-color: rgba(248, 113, 113, .45); }
.verdict.wait { border-color: rgba(251, 191, 36, .5); }
.tierchip { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: rgba(255, 200, 87, .14); color: #ffd98a; width: fit-content; }
.raregrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.rare { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #060912; display: grid; gap: 2px; cursor: pointer; text-align: start; color: inherit; font: inherit; min-width: 0; grid-template-columns: minmax(0, 1fr); overflow: hidden; }
.rare:hover { border-color: rgba(124, 192, 255, .5); }
.rare b { font-size: 18px; direction: ltr; unicode-bidi: plaintext; }
.rare span { color: var(--muted); font-size: 12.5px; overflow-wrap: anywhere; }
.rare em { font-style: normal; color: #ffd98a; font-weight: 700; }
[dir="rtl"] .steps { padding-left: 0; padding-right: 22px; }
[dir="rtl"] .list { padding-left: 0; padding-right: 20px; }
[dir="rtl"] th { text-align: right; }
@media (max-width: 860px) { .raregrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- page design: hero with before/after, benefits, VIP cards, steps, closing call ---- */
.nhero { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: center; padding: 34px 0 6px; }
.nhero h1 { font-size: 50px; line-height: 1.15; }
.nhero .lead { color: #c3cee3; margin: 0 0 18px; max-width: 640px; }
.nhero .result { max-width: 640px; }
/* three short steps under the search box (one row on desktop, stacked on phones) */
.hsteps { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: .85fr 1fr 1.3fr; gap: 8px; max-width: 640px; }
.hsteps li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: #c3cee3; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; background: rgba(255,255,255,.03); text-wrap: balance; }
.hsteps b { flex: 0 0 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 12px; }
.nhero .result:not(:empty) { margin-top: 14px; }
.nhero-art { display: grid; gap: 10px; justify-items: stretch; }
.addr { border-radius: 16px; padding: 16px 18px; display: grid; gap: 4px; position: relative; direction: ltr; text-align: left; }
.addr small { color: var(--muted); font-size: 12px; }
.addr.before { background: #060912; border: 1px dashed var(--line2); }
.addr.before code { color: #7d879c; font-size: 15px; text-decoration: line-through; text-decoration-color: rgba(248,113,113,.6); }
.addr.after { background: linear-gradient(135deg, rgba(61,123,255,.22), rgba(255,200,87,.12)); border: 1px solid rgba(124,192,255,.45); }
.addr.after b { font-size: 30px; letter-spacing: -.3px; }
.addr .ok { position: absolute; top: 14px; right: 16px; width: 26px; height: 26px; border-radius: 50%; background: var(--good); color: #032; display: grid; place-items: center; font-weight: 800; }
.arrow { text-align: center; color: var(--sky); font-size: 22px; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ben h3 { margin: 6px 0 4px; font-size: 16px; }
.ben p { margin: 0; font-size: 14px; }
.ben .ico { font-size: 24px; }
.vipcard { border-color: rgba(255,200,87,.35); background: linear-gradient(180deg, rgba(40,30,10,.55), rgba(10,14,23,.92)); }
.viphead { display: flex; align-items: center; gap: 10px; }
.vipbadge { font-weight: 800; font-size: 12px; letter-spacing: 1px; color: #1a1205; background: linear-gradient(120deg, #ffe29a, #ffb84d); border-radius: 6px; padding: 2px 8px; }
.vipcard .rare { border-color: rgba(255,200,87,.25); min-height: 92px; align-content: center; }
.vipcard .rare:hover { border-color: rgba(255,200,87,.6); }
.vipcard .rare b { color: #ffe3a3; }
.vipcard .rare .tap { color: var(--muted); font-size: 12.5px; }
.vipcard .rare.open { border-color: rgba(255,200,87,.55); }
.vipcard .rare em { font-size: 20px; }
.vipcard .rare em small { font-size: 12px; color: var(--muted); font-weight: 600; }
.vipcard .rare .go { color: var(--sky); font-size: 13px; font-weight: 600; }
.vipcard .rare .bad { font-size: 13px; }
#prices .tablewrap { margin-top: 10px; }
.exline { text-align: center; margin: 0; }
.exline a { color: var(--sky); font-weight: 600; text-decoration: none; }
.exline a:hover { text-decoration: underline; }
.cta { text-align: center; padding: 34px 20px; border-radius: 18px; border: 1px solid rgba(124,192,255,.35); background: linear-gradient(135deg, rgba(61,123,255,.18), rgba(255,200,87,.08)); }
.cta h2 { margin: 0; font-size: 26px; }
@media (max-width: 860px) {
  .nhero { grid-template-columns: 1fr; padding-top: 18px; }
  .nhero h1 { font-size: 36px; }
  .benefits { grid-template-columns: 1fr; }
  .hsteps { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 520px) { .addr.after b { font-size: 24px; } .nameinput input { font-size: 18px; } }

/* safe sale */
#sale .box { margin-top: 10px; }
#sale .bigprice { font-size: 26px; }
.ownerbox { margin-top: 14px; }
.ownerbox .field { display: grid; gap: 4px; margin: 8px 0; }
.ownerbox input { max-width: 420px; }

/* name page: who to pay */
.namecard { margin-top: 10px; border: 1px solid rgba(52, 211, 153, .35); border-radius: 14px; padding: 14px; background: #060912; display: grid; gap: 8px; }
.namecard h3 { margin: 0; font-size: 17px; direction: ltr; text-align: start; unicode-bidi: plaintext; }
.namecard code { font-size: 14px; color: var(--sky); }
.namecard .pay img { width: 150px; height: 150px; border-radius: 10px; background: #fff; padding: 6px; }
#vipBox > summary { cursor: pointer; list-style: none; flex-wrap: wrap; }
#vipBox > summary::-webkit-details-marker { display: none; }
#vipBox > summary h2 { margin: 0; }
.viptoggle { margin-inline-start: auto; color: #ffd98a; font-size: 14px; font-weight: 600; border: 1px solid rgba(255,200,87,.4); border-radius: 999px; padding: 6px 14px; }
#vipBox > summary:hover .viptoggle { border-color: rgba(255,200,87,.8); }
#vipBox[open] > summary { margin-bottom: 10px; }
#vipBox { border-top: 0; padding-top: 0; margin-top: 0; }

/* one-click claim and pay */
.quick { display: grid; gap: 8px; margin: 10px 0 4px; }
.quick .qbtns { display: flex; flex-wrap: wrap; gap: 8px; }
.quick .qbtns button { font-size: 16px; padding: 12px 28px; }
.wpick { display: grid; gap: 6px; max-width: 420px; }
/* the network picked from the buyer's balances, with «Change» (names.js railLine) */
.railline { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.railline[hidden], .railline .railpick[hidden] { display: none; }
.railline .railpick { flex: 1 1 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.railline .railpick button { padding: 6px 12px; font-size: 13.5px; }
.quick button.linkbtn, .railline button.linkbtn { background: none; border: 0; box-shadow: none; color: var(--sky); text-decoration: underline; text-underline-offset: 3px; padding: 2px 0; font: inherit; cursor: pointer; }
#quickOut .linkbtn { display: inline-block; margin-top: 4px; }
#quickOut .holdlist { margin: 4px 0 2px; padding-inline-start: 20px; }
.wpick[hidden] { display: none; }
.wpick .wopt { display: flex; align-items: center; gap: 10px; width: 100%; text-align: start; background: #060912; color: var(--text); border: 1px solid var(--line2); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 15px; cursor: pointer; }
.wpick .wopt:hover { border-color: var(--sky); background: #0a1020; }
.wpick .wopt img, .wpick .wdot { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 8px; }
.wpick .wdot { display: grid; place-items: center; background: var(--line2); color: #fff; font-weight: 700; font-size: 13px; }
.wpick .wname { flex: 1 1 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 600; min-width: 0; }
.wpick .rec { font-size: 11.5px; font-weight: 600; color: #cfe0ff; background: rgba(61,123,255,.18); border: 1px solid rgba(61,123,255,.45); border-radius: 999px; padding: 1px 8px; }
.wpick .wnet { flex: 0 0 auto; color: var(--muted); font-size: 12.5px; }
.wpick .storecard { display: block; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(61,123,255,.5); background: rgba(61,123,255,.1); color: var(--text); font-weight: 600; text-decoration: none; }
.wpick .storecard:hover { background: rgba(61,123,255,.18); }
.otherpay { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; }
.otherpay > summary { cursor: pointer; color: var(--sky); font-size: 14px; }
.otherpay[open] > summary { margin-bottom: 4px; }
.sendbox select.tok { flex: 1 1 150px; min-width: 0; max-width: 100%; }
.orline { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 14px 0 0; }
.orline::before, .orline::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sendbox { display: grid; gap: 6px; margin-top: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.sendbox .amt { width: 110px; direction: ltr; }
.sendbox input.amt { width: 120px; flex: 0 0 120px; min-width: 0; }

/* where the name works (both forms) */
.forms { display: grid; gap: 6px; margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px; text-align: start; }
.forms > summary { color: var(--sky); font-size: 14px; }
.forms .fline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.forms .fline code { color: var(--sky); font-size: 14px; }
.forms .fline .muted { flex-basis: 100%; }
.forms .fcard { display: grid; gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: rgba(255, 255, 255, .02); }
.forms .fplaces { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.forms .fplaces li { font-size: 12.5px; color: #c3cee3; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; background: rgba(255, 255, 255, .03); }
.vipcard .rare .vforms { color: var(--muted); font-size: 12px; line-height: 1.5; direction: ltr; unicode-bidi: plaintext; }

/* name profile (shown on the name card; edited by the owner wallet) */
.profile { display: flex; gap: 12px; align-items: flex-start; }
.profile .avatar { position: relative; flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #3d7bff, #7c5cff); color: #fff; font-weight: 800; font-size: 22px; }
.profile .avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0b1020; }
.profile .pinfo { display: grid; gap: 4px; min-width: 0; }
.profile .pinfo b { font-size: 18px; overflow-wrap: anywhere; }
.profile .pinfo p { margin: 0; color: #c3cee3; font-size: 14px; overflow-wrap: anywhere; }
.plinks { display: flex; flex-wrap: wrap; gap: 6px; }
.plinks a { font-size: 13px; color: var(--sky); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; text-decoration: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plinks a:hover { border-color: rgba(124, 192, 255, .5); }
/* the page itself is managed in «استوديو مدار» (/studio/) */
.studiobtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: fit-content; max-width: 100%; margin-top: 6px; font-weight: 700; font-size: 15px; text-decoration: none; color: #fff; background: #3d7bff; border-radius: 12px; padding: 11px 18px; }
.studiobtn:hover { background: #5590ff; }
.acctgate { display: grid; gap: 8px; border: 1px solid rgba(124, 192, 255, .4); border-radius: 14px; padding: 14px; background: rgba(61, 123, 255, .08); margin: 10px 0; }
.acctgate p { margin: 0; }
.acctgate .row { gap: 8px; flex-wrap: wrap; }
.acctgate a.ghostlink { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line2); color: var(--text); text-decoration: none; }
.rare > * { min-width: 0; max-width: 100%; }
.rare .vforms { white-space: normal; overflow-wrap: anywhere; }
/* «request a premium name» under the VIP grid */
.vipask { display: grid; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,200,87,.2); }
.vipask-p { margin: 0; color: #ffe3a3; font-weight: 600; font-size: 15px; }
.askrow { display: flex; gap: 10px; flex-wrap: wrap; }
.askrow[hidden], .asklogin[hidden] { display: none; }
.askrow .nameinput { flex: 1 1 260px; max-width: 460px; border-color: rgba(255,200,87,.3); }
.askrow .nameinput:focus-within { border-color: rgba(255,200,87,.7); }
.askrow .nameinput input { font-size: 17px; padding: 10px 12px; }
.askrow .nameinput input::placeholder { color: var(--muted); opacity: .8; font-size: 15px; }
.askrow .nameinput span { font-size: 16px; }
.askrow button { font-size: 15px; padding: 10px 20px; }
.vipcard a.asklogin { display: inline-flex; align-items: center; width: fit-content; padding: 10px 16px; border-radius: 12px; border: 1px solid rgba(255,200,87,.45); color: #ffd98a; font-weight: 600; text-decoration: none; }
.vipcard a.asklogin:hover { border-color: rgba(255,200,87,.8); }
.askout:empty { display: none; }
.askout { display: grid; gap: 8px; }
.askout .row { gap: 8px; flex-wrap: wrap; align-items: center; }
.askout button.alt { font-size: 14px; padding: 8px 16px; }
/* 18 VIP names: three per row on wide screens (no half-empty last row), two on phones */
.vipcard .raregrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .vipcard .raregrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* «from $9» under the lead, and «what your name gives you» (owner 2026-10-10): the wallets first, then PepFan */
.fromprice { display: inline-block; margin: 2px 0 10px; padding: 4px 12px; border-radius: 999px; border: 1px solid rgba(255, 200, 87, .45); background: rgba(255, 200, 87, .08); color: #ffd56b; font-size: 14px; font-weight: 700; }
.gives { display: grid; gap: 12px; }
.gives-h { margin: 0; text-align: center; font-size: 24px; }
.gives-p { margin: 0 auto 4px; max-width: 560px; text-align: center; }
.gives-g { margin: 8px 0 0; font-size: 17px; color: #ffd56b; }
.gives .benefits { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.soonchip { display: inline-block; padding: 0 8px; border-radius: 999px; font-size: 12px; line-height: 1.7; color: #1a1205; background: linear-gradient(135deg, #ffc857, #ff9b3d); vertical-align: 2px; }
@media (min-width: 1100px) { .gives .benefits.five { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 700px) and (max-width: 1099px) { .gives .benefits.five { grid-template-columns: repeat(6, minmax(0, 1fr)); } .gives .benefits.five > * { grid-column: span 2; } .gives .benefits.five > :nth-child(n+4) { grid-column: span 3; } }
/* promoter code (2026-10-12) */
.refrow { display: grid; gap: 6px; margin: 4px 0 12px; max-width: 460px; }
.refrow .nameinput { flex: none; }
.refrow .nameinput input { font-size: 16px; padding: 9px 12px; }
/* «كود الدعوة» box (2026-10-13) */
.inv h2 { margin: 0 0 4px; }
.inv .lead { margin: 0 0 14px; }
.inv .invcode { color: #e2e4e9; }
.inv .linkrow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 6px 0 4px; }
.inv .linkbox { flex: 1 1 260px; direction: ltr; text-align: left; background: #060608; border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; font-size: 15px; overflow-wrap: anywhere; }
.inv .invstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 0; }
.inv .stat { border: 1px solid var(--line); border-radius: 12px; padding: 12px; text-align: center; }
.inv .stat b { display: block; font-size: 24px; }
.inv .stat.gold b { color: #ffc857; }
.inv table { width: 100%; border-collapse: collapse; font-size: 14px; }
.inv th { text-align: start; color: var(--muted); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.inv td { padding: 8px; border-bottom: 1px solid var(--line); }
.inv .pill { font-size: 12px; padding: 2px 8px; border-radius: 99px; border: 1px solid var(--line2); white-space: nowrap; }
.inv .pill.paid { color: #5fd38d; border-color: rgba(95, 211, 141, .4); }
.inv .pill.wait { color: #ffc857; border-color: rgba(255, 200, 87, .4); }
.inv .rules { margin: 14px 0 0; font-size: 13px; }
.inv .rules li { margin: 3px 0; }
@media (max-width: 520px) { .inv .stat { padding: 10px 4px; } .inv .stat b { font-size: 18px; } }
/* the buy box as wide as the name card above it (2026-10-13) */
#buy { max-width: 640px; margin-inline: auto; }
.acctgate .refkept { font-weight: 600; }
