/* Claim widget (src/claim.js) — brand v2, dark. Builds on brand.css tokens. */
#claim [hidden], .net-banner[hidden] { display: none !important; }
.net-banner { position: relative; z-index: 2; width: fit-content; max-width: calc(100% - 32px); margin: 10px auto 0; padding: 8px 14px; border-radius: var(--pill); font-size: 13px; color: var(--ember-2); background: var(--ember-soft); border: 1px solid rgba(255,106,26,.3); text-align: center; }
#claim .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 10px var(--ember-glow); display: inline-block; flex: none; }
#claim .eyebrow { font: 500 11.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }

/* live strip */
.cw-live { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0 0 20px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--line); }
.cw-live .lv { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; background: var(--bg-1); transition: background .2s; }
.cw-live a.lv:hover { background: var(--bg-2); }
.cw-live .k { display: flex; align-items: center; gap: 8px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cw-live b { font-size: 28px; font-weight: 560; letter-spacing: -.035em; color: var(--text); font-variant-numeric: tabular-nums; }
.cw-live small { color: var(--muted); font-size: 13px; min-height: 1em; }

/* layout */
.cw { display: grid; grid-template-columns: 210px minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.cw-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cw-steps li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; font-size: 14.5px; font-weight: 500; color: var(--muted); border: 1px solid transparent; transition: all .3s var(--ease); }
.cw-steps li i { font: 500 12px/1 var(--mono); font-style: normal; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); transition: all .3s; }
.cw-steps li.now { color: var(--text); background: var(--bg-1); border-color: var(--line-2); }
.cw-steps li.now i { background: var(--ember); border-color: var(--ember); color: var(--on-ember); box-shadow: 0 0 16px var(--ember-glow); }
.cw-steps li.done { color: var(--text-2); }
.cw-steps li.done i { background: var(--bg-3); color: var(--text); border-color: var(--line-2); }

.cw-card, .cw-me { background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); border: 1px solid var(--line); border-radius: var(--r-lg); }
.cw-card { padding: 34px; min-height: 340px; position: relative; overflow: hidden; }
.cw-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,106,26,.5), transparent); opacity: .7; }
.cw-card h3 { font-size: 26px; font-weight: 560; letter-spacing: -.035em; margin: 0 0 10px; }
.cw-card p { color: var(--text-2); font-size: 15.5px; line-height: 1.6; margin: 0 0 22px; max-width: 560px; }
.cw-card p b { color: var(--text); font-weight: 560; }
.cw-card .fine { font-size: 13px; color: var(--muted); margin: 18px 0 0; }
.cw-card .fine a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.cw-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.cw-row .btn b, #cw-claim b, #cw-verify b, #cw-connect b { font-weight: 500; transition: transform .25s var(--ease); }
.cw-row .btn:hover b { transform: translateX(3px); }
.cw-wallets { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 18px; }
.cw-wallets p { width: 100%; margin: 0 0 4px; font-size: 14px; color: var(--text-2); }

.cw-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 24px; }
.cw-svc { text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 18px; background: var(--bg-1); border: 1px solid var(--line); cursor: pointer; font: inherit; color: inherit; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.cw-svc:hover { border-color: var(--line-2); background: var(--bg-2); transform: translateY(-2px); }
.cw-svc.on { border-color: rgba(255,106,26,.65); background: linear-gradient(180deg, rgba(255,106,26,.08), var(--bg-1)); box-shadow: 0 0 0 4px rgba(255,106,26,.08); }
.cw-svc .tile, .soon-svc .tile { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--line); color: var(--text); margin-bottom: 4px; }
.cw-svc .tile svg, .soon-svc .tile svg { width: 20px; height: 20px; fill: currentColor; }
.cw-svc .nm { font-weight: 560; font-size: 17px; letter-spacing: -.02em; }
.cw-svc .pl { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.cw-svc .cap { font: 500 12px/1.3 var(--mono); color: var(--ember-2); }

.cw-spin { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--ember); animation: cwspin .9s linear infinite; margin-bottom: 18px; }
@keyframes cwspin { to { transform: rotate(360deg) } }
.cw-ok { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; font-weight: 600; color: var(--on-ember); background: var(--ember); margin-bottom: 16px; box-shadow: 0 0 30px var(--ember-glow); }
.cw-ok.bad { background: var(--bg-3); color: var(--danger); border: 1px solid rgba(255,92,92,.4); box-shadow: none; }
.cw-big { font-size: 56px; font-weight: 560; letter-spacing: -.05em; color: var(--text); margin: 2px 0 8px; font-variant-numeric: tabular-nums; }
.cw-dev { margin-top: 22px; padding: 12px 14px; border-radius: 12px; background: var(--bg-1); border: 1px dashed var(--line-2); font-size: 13px; color: var(--text-2); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.cw-dev select, .cw-dev input { padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg-2); }

/* my rewards */
.cw-me { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.cw-me .k { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.cw-me .addr { font: 500 12.5px/1.45 var(--mono); word-break: break-all; color: var(--text); margin-bottom: 6px; }
.cw-me .btn { width: 100%; }
.cw-me .cw-row .btn { width: auto; flex: 1; }
.hist, .subs { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.hist li, .subs li { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 12px; border-radius: 12px; background: var(--bg-1); border: 1px solid var(--line); font-size: 13.5px; }
.hist li .svc, .subs li b { font-weight: 560; }
.hist li small { color: var(--muted); margin-left: 4px; }
.hist li a { grid-column: 1 / -1; color: var(--ember-2); font-size: 12.5px; }
.subs li .amt { font-weight: 560; color: var(--ember-2); font-variant-numeric: tabular-nums; }
.subs li .when { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
.subs li .when.ready { color: var(--ember-2); }
.hist li.empty, .subs li.empty { display: block; color: var(--muted); }

/* feed */
.cw-feed { margin-top: 28px; }
.cw-feed ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }
.cw-feed li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--bg-1); border: 1px solid var(--line); font-size: 13.5px; }
.cw-feed li .sv { font-weight: 560; }
.cw-feed li .w { font: 400 12px/1.2 var(--mono); color: var(--muted); }
.cw-feed li a { color: var(--ember-2); white-space: nowrap; }
.cw-feed li.empty { display: block; color: var(--muted); }

.btn.busy { opacity: .6; pointer-events: none; }
.cw-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; z-index: 80; padding: 12px 18px; border-radius: 14px; background: var(--bg-3); border: 1px solid var(--line-2); color: var(--text); font-weight: 500; font-size: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.5); transition: all .35s var(--ease-out); pointer-events: none; max-width: calc(100% - 32px); }
.cw-toast.on { opacity: 1; transform: translate(-50%, 0); }
.cw-toast.bad { border-color: rgba(255,92,92,.5); color: #ffb3b3; }

/* coming soon (claims not live) */
#claim .cw.soon > :not(.cw-soon) { display: none !important; }
#claim .cw.soon { display: block; }
.cw-soon { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 28px; padding: 44px 48px; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(120% 140% at 100% 0%, rgba(255,106,26,.10), transparent 55%), linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012)); border: 1px solid var(--line); }
.cw-soon h3 { margin: 18px 0 12px; font-size: clamp(30px, 3.6vw, 46px); font-weight: 560; line-height: 1.04; letter-spacing: -.045em; }
.cw-soon p { margin: 0 0 24px; color: var(--text-2); font-size: 16px; line-height: 1.6; max-width: 540px; }
.soon-svcs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.soon-svc { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 14px; background: var(--bg-1); border: 1px solid var(--line); }
.soon-svc .tile { margin: 0; width: 34px; height: 34px; border-radius: 9px; }
.soon-svc .tile svg { width: 17px; height: 17px; }
.soon-svc b { display: block; font-size: 14px; font-weight: 560; } .soon-svc small { color: var(--muted); font: 400 11.5px/1.3 var(--mono); }
.soon-art { width: 100%; max-width: 260px; justify-self: center; }
.soon-art svg { width: 100%; height: auto; overflow: visible; }
.soon-orbit { transform-origin: 120px 120px; animation: soonOrbit 9s linear infinite; }
.soon-token { filter: drop-shadow(0 0 14px rgba(255,106,26,.6)); animation: soonPulse 3s ease-in-out infinite; transform-origin: 162px 78px; }
.soon-ring { animation: soonRing 9s linear infinite; transform-origin: 120px 120px; }
@keyframes soonOrbit { to { transform: rotate(360deg); } }
@keyframes soonRing { to { stroke-dashoffset: -377; } }
@keyframes soonPulse { 50% { transform: scale(1.12); } }

@media (max-width: 1080px) {
  .cw { grid-template-columns: 1fr; }
  .cw-steps { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .cw-steps li { flex: 1 0 auto; padding: 10px 12px; font-size: 13.5px; }
}
@media (max-width: 860px) { .cw-soon { grid-template-columns: 1fr; padding: 30px 22px; } .soon-art { max-width: 170px; order: -1; justify-self: start; } }
@media (max-width: 720px) {
  .cw-card { padding: 24px 20px; min-height: 0; }
  .cw-card h3 { font-size: 22px; }
  .cw-services { grid-template-columns: 1fr; }
  .cw-big { font-size: 44px; }
  .cw-live { grid-template-columns: 1fr; } .cw-live b { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .soon-orbit, .soon-token, .soon-ring { animation: none; } }
