.dash-body {
  padding-bottom: 40px;
}

.topnav__right {
  position: relative;
}
.bell-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--ink-850);
  color: var(--text-hi);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s var(--ease-spring), border-color 0.2s;
}
.bell-btn svg {
  width: 19px;
  height: 19px;
}
.bell-btn:hover {
  border-color: var(--acid);
  color: var(--acid);
}
.bell-btn:active {
  transform: scale(0.9);
}
.bell-badge {
  position: absolute;
  top: -3px;
  right: -1px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--coral);
  color: #2a0510;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink-950);
  animation: badge-pop 0.4s var(--ease-spring);
}
@keyframes badge-pop {
  0% { transform: scale(0); }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.notif-panel {
  position: absolute;
  top: 52px;
  right: 0;
  width: 300px;
  max-width: 82vw;
  background: var(--ink-850);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 14px;
  z-index: 60;
  animation: pop-in 0.22s var(--ease-spring) both;
  transform-origin: top right;
}
.notif-panel__title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.notif-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 260px;
  overflow-y: auto;
}
.notif-item {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 9px 8px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.4;
}
.notif-item.is-unread {
  background: rgba(200, 255, 61, 0.06);
}
.notif-item__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--acid);
  margin-top: 6px;
  flex-shrink: 0;
}
.notif-item.is-read .notif-item__dot {
  background: transparent;
}
.notif-item__time {
  display: block;
  color: var(--text-low);
  font-size: 11px;
  margin-top: 2px;
}

/* Link card ------------------------------------------------------------ */
.dash-main {
  padding-top: 22px;
}
.link-card {
  background: linear-gradient(135deg, rgba(200, 255, 61, 0.12), rgba(111, 231, 221, 0.06));
  border: 1px solid rgba(200, 255, 61, 0.3);
  border-radius: var(--radius-lg);
  padding: 20px 20px 18px;
}
.link-card__label {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--acid);
  margin-bottom: 10px;
}
.link-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.link-card__url {
  font-size: 16.5px;
  font-weight: 500;
  color: var(--text-hi);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.link-card__hint {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--text-mid);
  line-height: 1.5;
}

/* Stat strip ------------------------------------------------------------ */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.stat-pill {
  background: var(--ink-850);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 6px;
  text-align: center;
}
.stat-pill strong {
  display: block;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text-hi);
}
.stat-pill span {
  font-size: 10.5px;
  color: var(--text-low);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.feed-title {
  font-size: 15px;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 28px 0 14px;
  font-family: var(--font-mono);
  font-weight: 500;
}

.feed {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Empty state ------------------------------------------------------------ */
.empty-state {
  text-align: center;
  padding: 54px 20px;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}
.empty-state__icon {
  font-size: 40px;
  margin-bottom: 14px;
}
.empty-state h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.empty-state p {
  color: var(--text-mid);
  font-size: 13.5px;
  max-width: 32ch;
  margin: 0 auto 20px;
}

/* Message card ------------------------------------------------------------ */
.msg-card {
  padding: 18px 18px 16px;
  animation: rise-in 0.5s var(--ease-out) both;
}
.msg-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.msg-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.msg-card__vibe {
  font-size: 17px;
}
.msg-card__time {
  font-size: 11px;
  color: var(--text-low);
}
.msg-card__unread-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 6px var(--sky);
}

.msg-card__content {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-hi);
  margin-bottom: 12px;
}

.msg-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.msg-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Pending / countdown ------------------------------------------------------------ */
.countdown-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 92, 122, 0.08);
  border: 1px solid rgba(255, 92, 122, 0.3);
}
.countdown-ring {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  transform: rotate(-90deg);
}
.countdown-ring circle {
  fill: none;
  stroke-width: 4;
}
.countdown-ring__track {
  stroke: rgba(255, 92, 122, 0.18);
}
.countdown-ring__fill {
  stroke: var(--coral);
  stroke-linecap: round;
  transition: stroke-dashoffset 1s linear;
}
.countdown-ring__fill.is-urgent {
  animation: urgent-pulse 0.8s ease-in-out infinite;
}
@keyframes urgent-pulse {
  0%, 100% { stroke: var(--coral); }
  50% { stroke: #ff8fa3; }
}
.countdown-copy {
  flex: 1;
  min-width: 0;
}
.countdown-copy__label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--coral);
}
.countdown-copy__time {
  font-size: 17px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-hi);
}
.countdown-copy__time.is-urgent {
  color: var(--coral);
}
.demo-accept-btn {
  font-size: 11px;
  color: var(--text-low);
  border: 1px dashed var(--line-strong);
  background: transparent;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
  transition: color 0.2s, border-color 0.2s;
}
.demo-accept-btn:hover {
  color: var(--acid);
  border-color: var(--acid);
}

/* Revealed block ------------------------------------------------------------ */
.revealed-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: rgba(200, 255, 61, 0.07);
  border: 1px solid rgba(200, 255, 61, 0.28);
}
.revealed-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-950);
  flex-shrink: 0;
}
.revealed-copy strong {
  display: block;
  font-size: 14px;
  color: var(--text-hi);
}
.revealed-copy span {
  font-size: 12px;
  color: var(--text-mid);
}
.revealed-copy span.revealed-unverified {
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-low);
}
.revealed-footer {
  margin-top: 8px;
}
.report-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 11.5px;
  color: var(--text-low);
  cursor: pointer;
  transition: color 0.2s;
}
.report-btn:hover:not(:disabled) {
  color: var(--coral);
}
.report-btn:disabled {
  cursor: default;
  opacity: 0.6;
}

.expired-row {
  font-size: 12.5px;
  color: var(--text-low);
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--line-strong);
}

/* Bottom sheet ------------------------------------------------------------ */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 8, 0.6);
  backdrop-filter: blur(3px);
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s var(--ease-out);
}
.sheet-backdrop.is-visible {
  opacity: 1;
}
.sheet {
  width: 100%;
  max-width: 480px;
  background: var(--ink-850);
  border: 1px solid var(--line-strong);
  border-bottom: none;
  border-radius: 26px 26px 0 0;
  padding: 12px 22px 26px;
  transform: translateY(100%);
  transition: transform 0.35s var(--ease-spring);
}
.sheet-backdrop.is-visible .sheet {
  transform: translateY(0);
}
.sheet__handle {
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background: var(--line-strong);
  margin: 6px auto 18px;
}
.sheet__title {
  font-size: 20px;
  margin-bottom: 6px;
}
.sheet__sub {
  font-size: 13px;
  color: var(--text-mid);
  margin-bottom: 18px;
}
.hint-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.hint-option {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  background: var(--ink-800);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--text-hi);
  transition: border-color 0.2s, transform 0.15s var(--ease-spring), background 0.2s;
}
.hint-option:hover {
  border-color: var(--amber);
  background: rgba(255, 184, 76, 0.06);
}
.hint-option:active {
  transform: scale(0.98);
}
.hint-option__icon {
  font-size: 21px;
  flex-shrink: 0;
}
.hint-option strong {
  display: block;
  font-size: 14.5px;
  margin-bottom: 2px;
}
.hint-option small {
  color: var(--text-mid);
  font-size: 12px;
}

/* Unmask reveal modal ------------------------------------------------------------ */
.unmask-backdrop {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(200, 255, 61, 0.14), var(--ink-950) 70%);
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
}
.unmask-backdrop.is-visible {
  opacity: 1;
}
#unmaskConfetti {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.unmask-modal {
  position: relative;
  text-align: center;
  padding: 20px;
  max-width: 340px;
}
.unmask-eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--acid);
  margin-bottom: 22px;
}
.unmask-figure {
  position: relative;
  width: 108px;
  height: 108px;
  margin: 0 auto 22px;
}
.unmask-silhouette, .unmask-avatar {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.unmask-silhouette {
  background: var(--ink-700);
  border: 2px solid var(--line-strong);
  font-size: 40px;
  color: var(--text-low);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), filter 0.5s;
}
.unmask-avatar {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  color: var(--ink-950);
  opacity: 0;
  transform: scale(0.7);
  box-shadow: 0 0 0 0 rgba(200, 255, 61, 0);
  transition: opacity 0.5s var(--ease-spring) 0.35s, transform 0.6s var(--ease-spring) 0.35s, box-shadow 0.6s ease 0.35s;
}
.unmask-figure.is-revealed .unmask-silhouette {
  opacity: 0;
  transform: scale(1.3);
  filter: blur(8px);
}
.unmask-figure.is-revealed .unmask-avatar {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 0 10px rgba(200, 255, 61, 0.12), 0 0 50px rgba(200, 255, 61, 0.4);
}
.unmask-name {
  font-size: 25px;
  margin-bottom: 8px;
  min-height: 32px;
}
.unmask-note {
  font-size: 13.5px;
  color: var(--text-mid);
  margin-bottom: 26px;
  line-height: 1.5;
  min-height: 20px;
}
