.cred-card {
--tilt-x: 0deg; --tilt-y: 0deg;
position: relative; isolation: isolate; overflow: hidden;
width: 100%; max-width: 460px;
border-radius: 26px; padding: 22px;
background:
radial-gradient(120% 90% at 100% 0%, rgba(var(--accent-rgb), 0.22), transparent 55%),
radial-gradient(90% 80% at 0% 100%, rgba(168, 85, 247, 0.18), transparent 60%),
linear-gradient(160deg, #0d1a2e 0%, #070e1a 60%, #050a13 100%);
border: 1px solid rgba(var(--accent-rgb), 0.35);
box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.03) inset, 0 0 60px -20px rgba(var(--accent-rgb), 0.55);
}
.cred-card::before {
content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0.35;
background-image:
linear-gradient(30deg, rgba(var(--accent-rgb), 0.08) 12%, transparent 12.5%, transparent 87%, rgba(var(--accent-rgb), 0.08) 87.5%),
linear-gradient(150deg, rgba(var(--accent-rgb), 0.08) 12%, transparent 12.5%, transparent 87%, rgba(var(--accent-rgb), 0.08) 87.5%),
linear-gradient(90deg, rgba(var(--accent-rgb), 0.05) 2%, transparent 2.5%, transparent 97%, rgba(var(--accent-rgb), 0.05) 97.5%);
background-size: 28px 48px;
-webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.cred-card::after {
content: ''; position: absolute; inset: -50%; z-index: -1; pointer-events: none;
background: linear-gradient(115deg, transparent 40%, rgba(143, 243, 255, 0.12) 47%, rgba(200, 160, 255, 0.12) 52%, transparent 60%);
animation: sheen 5.5s var(--ease) infinite;
}
.cred-corner { position: absolute; width: 18px; height: 18px; border-color: rgba(var(--accent-rgb), 0.8); border-style: solid; border-width: 0; }
.cred-corner.tl { top: 10px; left: 10px; border-top-width: 2px; border-left-width: 2px; border-top-left-radius: 8px; }
.cred-corner.tr { top: 10px; right: 10px; border-top-width: 2px; border-right-width: 2px; border-top-right-radius: 8px; }
.cred-corner.bl { bottom: 10px; left: 10px; border-bottom-width: 2px; border-left-width: 2px; border-bottom-left-radius: 8px; }
.cred-corner.br { bottom: 10px; right: 10px; border-bottom-width: 2px; border-right-width: 2px; border-bottom-right-radius: 8px; }
.cred-head { display: flex; align-items: center; gap: 12px; margin-block-end: 18px; }
.cred-head img { width: 46px; height: 46px; filter: drop-shadow(0 0 12px rgba(var(--accent-rgb), 0.6)); }
.cred-brand { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.08em; font-size: 15px; line-height: 1.2; }
.cred-brand small { display: block; font-family: var(--font); letter-spacing: 0; font-weight: 500; font-size: 12px; color: var(--text-3); }
.cred-head .pill { margin-inline-start: auto; }
.cred-row {
position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px;
padding: 12px 14px; margin-block-end: 10px; border-radius: 16px;
background: rgba(2, 6, 12, 0.6); border: 1px solid var(--line-2);
transition: border-color 0.25s, box-shadow 0.3s;
}
.cred-row:hover { border-color: rgba(var(--accent-rgb), 0.45); box-shadow: 0 0 24px -10px rgba(var(--accent-rgb), 0.7); }
.cred-label { font-size: 11.5px; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.cred-label svg { width: 13px; height: 13px; }
.cred-value {
font-family: var(--font-mono); font-size: 17px; font-weight: 600; letter-spacing: 0.04em;
direction: ltr; text-align: left; color: #fff; word-break: break-all; line-height: 1.45; margin-top: 2px;
text-shadow: 0 0 18px rgba(var(--accent-rgb), 0.45);
}
.cred-value.is-pass { color: var(--accent-3); }
.cred-copy {
width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px;
color: var(--accent-3); background: rgba(var(--accent-rgb), 0.1); border: 1px solid rgba(var(--accent-rgb), 0.28);
transition: transform 0.25s var(--ease-spring), background 0.2s, box-shadow 0.25s;
}
.cred-copy:hover { background: rgba(var(--accent-rgb), 0.2); box-shadow: 0 0 18px -4px rgba(var(--accent-rgb), 0.8); }
.cred-copy:active { transform: scale(0.88); }
.cred-copy.is-copied { color: var(--green); border-color: rgba(var(--green-rgb), 0.5); background: rgba(var(--green-rgb), 0.12); }
.cred-copy svg { width: 18px; height: 18px; }
.cred-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-block-start: 14px; flex-wrap: wrap; }
.cred-meta { font-size: 12px; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.cred-meta svg { width: 14px; height: 14px; }
.cred-warning {
display: flex; gap: 10px; align-items: flex-start; margin-block-start: 14px; padding: 10px 12px; border-radius: 12px;
font-size: 12.5px; color: #fcd56b; background: rgba(251, 191, 36, 0.07); border: 1px dashed rgba(251, 191, 36, 0.3);
}
.cred-warning svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.cred-card.is-new { animation: cred-in 0.9s var(--ease-spring) both; }
.cred-card.is-new .cred-row { animation: rise 0.6s var(--ease-out) both; }
.cred-card.is-new .cred-row:nth-of-type(2) { animation-delay: 0.25s; }
.cred-card.is-new .cred-row:nth-of-type(3) { animation-delay: 0.38s; }
@keyframes sheen { 0% { transform: translateX(-30%) rotate(0deg); } 60%, 100% { transform: translateX(30%) rotate(0deg); } }
@keyframes cred-in {
0% { opacity: 0; transform: perspective(900px) rotateX(35deg) translateY(40px) scale(0.85); filter: blur(8px); }
60% { filter: blur(0); }
100% { opacity: 1; transform: none; }
}
.cred-stack { display: grid; gap: 14px; justify-items: center; }
.share-box {
width: 100%; max-width: 460px; padding: 14px; border-radius: 20px;
background: linear-gradient(135deg, rgba(251, 191, 36, 0.09), rgba(var(--accent-rgb), 0.05));
border: 1px solid rgba(251, 191, 36, 0.32);
box-shadow: 0 0 40px -24px rgba(251, 191, 36, 0.9);
animation: rise 0.6s var(--ease-out) both;
}
.share-box > .btn { width: 100%; margin-top: 12px; }
.share-intro { display: flex; align-items: center; gap: 12px; }
.share-intro b { display: block; font-size: 14.5px; }
.share-intro small { display: block; font-size: 12px; color: var(--text-3); }
.share-ic { width: 42px; height: 42px; flex: none; border-radius: 13px; display: grid; place-items: center; color: #fbbf24; background: rgba(251, 191, 36, 0.14); border: 1px solid rgba(251, 191, 36, 0.35); }
.share-ic svg { width: 20px; height: 20px; }
.share-live { display: grid; gap: 12px; }
.share-url {
display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px;
background: rgba(2, 6, 12, 0.7); border: 1px dashed rgba(251, 191, 36, 0.45); color: #fde68a; min-width: 0;
}
.share-url svg { width: 18px; height: 18px; flex: none; }
.share-url .mono { font-size: 15px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-time { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-3); }
.share-left { font-family: var(--font-display); font-weight: 800; color: #fde68a; font-size: 15px; }
.share-bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.share-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #f59e0b, #fde68a); box-shadow: 0 0 10px rgba(251, 191, 36, 0.7); transition: width 1s linear; }
.share-box.is-ending .share-left { color: var(--red); animation: pulse-dot 1s infinite; }
.share-box.is-ending .share-bar i { background: linear-gradient(90deg, #be123c, var(--red)); }
.share-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.share-actions .btn-primary, .share-actions .btn-gold { flex: 1 1 160px; }
.share-box.featured {
position: relative; max-width: 460px; padding: 22px 18px 18px; margin-top: 6px; border-radius: 24px;
background:
radial-gradient(120% 90% at 100% 0%, rgba(251, 191, 36, 0.2), transparent 55%),
linear-gradient(160deg, rgba(30, 24, 10, 0.85), rgba(8, 10, 16, 0.9));
border: 1px solid rgba(251, 191, 36, 0.55);
box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9), 0 0 60px -22px rgba(251, 191, 36, 0.85);
}
.share-box.featured > .btn { margin-top: 16px; }
.share-box.featured .share-intro b { font-size: 16px; }
.share-box.featured .share-ic { width: 48px; height: 48px; border-radius: 15px; animation: logo-breathe 2.6s ease-in-out infinite; box-shadow: 0 0 24px -6px rgba(251, 191, 36, 0.9); }
.share-box.featured .share-ic svg { width: 23px; height: 23px; }
.share-rec {
position: absolute; top: -12px; inset-inline-start: 18px; display: inline-flex; align-items: center; gap: 5px;
height: 24px; padding: 0 10px; border-radius: 99px; font-size: 11.5px; font-weight: 800; color: #2a1a00;
background: linear-gradient(135deg, #fff3cc, #fbbf24 60%, #f59e0b); box-shadow: 0 6px 18px -6px rgba(251, 191, 36, 0.9);
}
.share-rec svg { width: 13px; height: 13px; }
.share-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.share-head b { font-size: 15px; color: #fde68a; }
.share-copied { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 99px; font-size: 12px; font-weight: 700; color: #8af5cf; background: rgba(var(--green-rgb), 0.12); border: 1px solid rgba(var(--green-rgb), 0.45); }
.share-copied svg { width: 14px; height: 14px; }
.share-copied.is-hidden { visibility: hidden; }
.share-copied.pop { animation: pop-in 0.5s var(--ease-spring); }
.share-box.featured.is-live .share-url { font-size: 16px; border-style: solid; border-color: rgba(251, 191, 36, 0.55); box-shadow: inset 0 0 20px -10px rgba(251, 191, 36, 0.8); }
@keyframes pop-in { 0% { transform: scale(0.6); opacity: 0; } 70% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }
.or-divider { width: 100%; max-width: 460px; display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--text-3); }
.or-divider::before, .or-divider::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.gauge { position: relative; width: var(--g-size, 120px); aspect-ratio: 1; flex: none; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge .g-track { fill: none; stroke: rgba(255, 255, 255, 0.07); }
.gauge .g-bar {
fill: none; stroke: var(--accent); stroke-linecap: round;
transition: stroke-dashoffset 1.4s var(--ease-out);
filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), 0.8));
}
.gauge .g-label { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; line-height: 1.15; }
.gauge .g-num { font-family: var(--font-display); font-weight: 800; font-size: calc(var(--g-size, 120px) * 0.2); }
.gauge .g-sub { font-size: 11px; color: var(--text-3); }
.gauge.warn .g-bar { stroke: var(--amber); filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.8)); }
.gauge.danger .g-bar { stroke: var(--red); filter: drop-shadow(0 0 6px rgba(var(--red-rgb), 0.8)); }
.avatar {
--a: var(--accent);
width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center;
font-family: var(--font-display); font-weight: 800; font-size: 13px; color: #fff; letter-spacing: 0.05em;
background: linear-gradient(135deg, color-mix(in srgb, var(--a) 70%, #fff 0%), color-mix(in srgb, var(--a) 45%, #000));
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 18px -8px var(--a);
}
.avatar.lg { width: 64px; height: 64px; border-radius: 18px; font-size: 20px; }
.avatar.sm { width: 32px; height: 32px; border-radius: 10px; font-size: 11px; }
.empty { display: grid; place-items: center; text-align: center; gap: 10px; padding: 46px 20px; color: var(--text-2); }
.empty .ball { --size: 64px; animation: float-y 3.5s ease-in-out infinite; margin-block-end: 6px; }
.empty-title { font-weight: 700; color: var(--text); font-size: 16px; }
.empty-text { font-size: 13.5px; max-width: 340px; }
