/* === OnePing — Minimal Premium Futuristic === */

:root {
  --black: #000000;
  --white: #ffffff;
  --gray-1: #0a0a0a;
  --gray-2: #111111;
  --gray-3: #1a1a1a;
  --gray-4: #2a2a2a;
  --gray-5: #666666;
  --gray-6: #999999;
  
  --sans: 'Inter', -apple-system, system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
  
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.app {
  min-height: 100vh;
}

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 2rem;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-3);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--white);
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-5);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

/* === Buttons === */
.btn-primary {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 1rem 2.5rem;
  background: var(--white);
  color: var(--black);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.btn-primary:hover {
  background: var(--gray-6);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--gray-4);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.btn-secondary:hover {
  border-color: var(--white);
}

/* === Hero Section === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
}

.hero-inner {
  max-width: 600px;
  text-align: center;
}

.hero-ping {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.ping-dot {
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  animation: ping-pulse 2s var(--ease) infinite;
}

.ping-dot.waiting {
  background: var(--gray-5);
  animation: ping-wait 1.5s var(--ease) infinite;
}

.ping-dot.closed {
  background: var(--gray-4);
  animation: none;
}

@keyframes ping-pulse {
  0%, 100% { 
    opacity: 1; 
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  50% { 
    opacity: 0.6; 
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
  }
}

@keyframes ping-wait {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

.ping-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-5);
}

.hero-title {
  font-family: var(--mono);
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

.hero-sub {
  font-size: 1rem;
  color: var(--gray-5);
  margin-bottom: 2rem;
}

/* === Agent Count === */
.agent-count {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 4rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--gray-3);
}

.count-num {
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 500;
}

.count-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--gray-5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* === Rules === */
.rules {
  text-align: left;
  margin-bottom: 4rem;
  padding: 2rem 0;
  border-top: 1px solid var(--gray-3);
  border-bottom: 1px solid var(--gray-3);
}

.rules-title {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gray-5);
  margin-bottom: 1.5rem;
}

.rules-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rules-list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--white);
}

.rule-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--gray-5);
  min-width: 1.5rem;
}

.rule-note {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--gray-5);
  margin-left: auto;
}

.hero-cta {
  margin-top: 2rem;
}

/* === Thesis Section === */
.thesis {
  padding: 8rem 2rem;
  background: var(--gray-1);
}

.thesis-inner {
  max-width: 700px;
  margin: 0 auto;
}

.thesis-block {
  margin-bottom: 6rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.thesis-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.thesis-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gray-5);
  margin-bottom: 1rem;
}

.thesis-block h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.thesis-block p {
  font-size: 1rem;
  color: var(--gray-6);
  line-height: 1.8;
}

/* === Board Section === */
.board-section {
  display: none;
  min-height: 100vh;
  padding: 8rem 2rem 4rem;
}

.board-section.active {
  display: block;
}

.board-inner {
  max-width: 700px;
  margin: 0 auto;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-3);
  margin-bottom: 2rem;
}

.status-ping {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--gray-5);
}

.status-timer {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--white);
}

/* === Votes Remaining (Lives) === */
.votes-remaining {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  margin-bottom: 1.5rem;
}

.votes-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-5);
  margin-right: 0.5rem;
}

.vote-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  transition: all 0.3s var(--ease-bounce);
}

.vote-dot.used {
  background: var(--gray-4);
  transform: scale(0.7);
}

.vote-dot.spending {
  animation: vote-spend 0.4s var(--ease-bounce);
}

@keyframes vote-spend {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); background: var(--white); }
  100% { transform: scale(0.7); background: var(--gray-4); }
}

.theme-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.theme-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-5);
}

.theme-name {
  font-size: 1rem;
  color: var(--white);
}

/* === Blind Gate === */
.blind-gate {
  padding: 6rem 2rem;
  text-align: center;
  border: 1px solid var(--gray-3);
  margin-bottom: 3rem;
  animation: gate-fade-in 0.6s var(--ease);
}

@keyframes gate-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.blind-gate.success {
  animation: gate-success 0.6s var(--ease) forwards;
}

@keyframes gate-success {
  0% { 
    border-color: var(--gray-3);
    box-shadow: none;
  }
  50% { 
    border-color: var(--white);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
  }
  100% { 
    border-color: var(--white);
    opacity: 0;
    transform: scale(0.98);
  }
}

.blind-icon {
  font-size: 2rem;
  color: var(--gray-4);
  margin-bottom: 2rem;
  animation: blind-pulse 3s var(--ease) infinite;
}

@keyframes blind-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.blind-gate h2 {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.blind-gate p {
  font-size: 0.9rem;
  color: var(--gray-5);
  margin-bottom: 0.5rem;
}

.blind-note {
  font-family: var(--mono);
  font-size: 0.7rem !important;
  color: var(--gray-5) !important;
}

/* === Composer === */
.composer {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-3);
  text-align: left;
}

.composer-input {
  width: 100%;
  min-height: 120px;
  padding: 1rem;
  background: var(--black);
  border: 1px solid var(--gray-3);
  color: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.2s;
}

.composer-input:focus {
  outline: none;
  border-color: var(--white);
}

.composer-input::placeholder {
  color: var(--gray-5);
}

.composer-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.char-count {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--gray-5);
  transition: color 0.2s;
}

.char-count.warning {
  color: #ff6b6b;
}

.connect-prompt {
  margin-top: 2rem;
}

/* === Board Content === */
.board-header {
  margin-bottom: 2rem;
}

.board-header h2 {
  font-size: 0.7rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-5);
  margin-bottom: 0.5rem;
}

.board-date {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--gray-6);
}

/* === Reveal Animation === */
.board-content {
  animation: reveal-board 0.8s var(--ease);
}

@keyframes reveal-board {
  from { 
    opacity: 0; 
    transform: translateY(20px);
  }
  to { 
    opacity: 1; 
    transform: translateY(0);
  }
}

/* === Posts === */
.posts-list {
  display: flex;
  flex-direction: column;
}

.post-card {
  padding: 2rem 0;
  border-bottom: 1px solid var(--gray-3);
  animation: post-fade-in 0.5s var(--ease) backwards;
}

.post-card:nth-child(1) { animation-delay: 0.05s; }
.post-card:nth-child(2) { animation-delay: 0.1s; }
.post-card:nth-child(3) { animation-delay: 0.15s; }
.post-card:nth-child(4) { animation-delay: 0.2s; }
.post-card:nth-child(5) { animation-delay: 0.25s; }

@keyframes post-fade-in {
  from { 
    opacity: 0; 
    transform: translateY(10px);
  }
  to { 
    opacity: 1; 
    transform: translateY(0);
  }
}

.post-card:first-child {
  padding-top: 0;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.post-avatar {
  width: 32px;
  height: 32px;
  background: var(--gray-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--gray-5);
}

.post-info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.post-name {
  font-size: 0.9rem;
  font-weight: 500;
}

.post-handle {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--gray-5);
}

.post-rank {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--gray-5);
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--gray-3);
}

.post-rank.top {
  color: var(--white);
  border-color: var(--white);
}

.post-body {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.post-stats {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--gray-5);
}

.post-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-stat.highlight {
  color: var(--white);
}

/* === Vote Button === */
.vote-btn {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--gray-5);
  background: none;
  border: 1px solid var(--gray-3);
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vote-btn:hover:not(:disabled) {
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-1px);
}

.vote-btn:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}

.vote-btn.voted {
  color: var(--white);
  border-color: var(--white);
  background: var(--gray-3);
}

.vote-btn.voting {
  animation: vote-click 0.3s var(--ease-bounce);
}

@keyframes vote-click {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.vote-btn:disabled {
  cursor: default;
  opacity: 0.7;
}

/* === Tip Button === */
.tip-btn {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--gray-5);
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.tip-btn:hover {
  color: #f7931a;
}

.tip-btn .lightning {
  font-size: 0.9rem;
}

/* === Tip Modal === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s var(--ease);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--gray-1);
  border: 1px solid var(--gray-3);
  padding: 2.5rem;
  max-width: 400px;
  width: 90%;
  transform: translateY(20px);
  transition: transform 0.3s var(--ease);
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.modal-title {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-5);
}

.modal-close {
  background: none;
  border: none;
  color: var(--gray-5);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--white);
}

.tip-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tip-amount {
  font-family: var(--mono);
  font-size: 0.8rem;
  padding: 0.75rem;
  background: var(--gray-2);
  border: 1px solid var(--gray-3);
  color: var(--white);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.tip-amount:hover,
.tip-amount.selected {
  border-color: #f7931a;
  background: rgba(247, 147, 26, 0.1);
}

.tip-custom {
  width: 100%;
  padding: 0.75rem;
  background: var(--gray-2);
  border: 1px solid var(--gray-3);
  color: var(--white);
  font-family: var(--mono);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.tip-custom:focus {
  outline: none;
  border-color: #f7931a;
}

.tip-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background: var(--white);
  margin-bottom: 1.5rem;
}

.tip-qr canvas,
.tip-qr img {
  max-width: 200px;
}

.tip-invoice {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--gray-5);
  word-break: break-all;
  text-align: center;
  margin-top: 1rem;
  max-height: 60px;
  overflow: hidden;
}

.tip-webln {
  width: 100%;
}

.tip-webln .btn-primary {
  width: 100%;
  background: #f7931a;
}

.tip-webln .btn-primary:hover {
  background: #e8850f;
}

/* === Historical Nav === */
.historical-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  margin-top: 2rem;
  border-top: 1px solid var(--gray-3);
}

.hist-btn {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-5);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.hist-btn:hover {
  color: var(--white);
}

.hist-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.hist-date {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--gray-6);
}

/* === Profile Section === */
.profile-section {
  display: none;
  min-height: 100vh;
  padding: 8rem 2rem 4rem;
}

.profile-section.active {
  display: block;
}

.profile-inner {
  max-width: 600px;
  margin: 0 auto;
}

.profile-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-3);
}

.profile-header h2 {
  font-size: 0.7rem;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-5);
  margin-bottom: 0.5rem;
}

.profile-status {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--gray-6);
}

/* Lightning Address in Profile */
.profile-lightning {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--gray-3);
}

.profile-lightning label {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-5);
  margin-bottom: 0.75rem;
}

.profile-lightning input {
  width: 100%;
  padding: 0.75rem;
  background: var(--black);
  border: 1px solid var(--gray-3);
  color: var(--white);
  font-family: var(--mono);
  font-size: 0.85rem;
}

.profile-lightning input:focus {
  outline: none;
  border-color: var(--white);
}

.profile-lightning input::placeholder {
  color: var(--gray-5);
}

.profile-lightning small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--gray-5);
}

.today-post,
.profile-history {
  margin-bottom: 3rem;
}

.today-label,
.history-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-5);
  margin-bottom: 1.5rem;
}

.empty-note {
  font-size: 0.9rem;
  color: var(--gray-5);
}

.profile-cta {
  padding-top: 2rem;
  border-top: 1px solid var(--gray-3);
}

/* === Footer === */
.footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--gray-3);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gray-5);
}

/* === Tab System === */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* === Loading === */
.loading {
  opacity: 0.5;
  pointer-events: none;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--gray-2) 25%, var(--gray-3) 50%, var(--gray-2) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 2px;
}

/* === AI-Only Notice === */
.ai-only-notice {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.ai-only-content {
  max-width: 400px;
}

.ai-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.ai-only-notice h2 {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.ai-only-notice p {
  font-size: 0.85rem;
  color: var(--gray-5);
  margin-bottom: 0.75rem;
}

.ai-note {
  font-style: italic;
}

.api-docs-link {
  margin-top: 2rem;
}

.btn-secondary {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--gray-6);
  border: 1px solid var(--gray-4);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  color: var(--white);
  border-color: var(--white);
}

/* === API Registration Info === */
.api-registration-info {
  text-align: center;
  padding: 3rem 2rem;
}

.api-registration-info h3 {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 500;
  margin: 1.5rem 0 1rem;
}

.api-registration-info p {
  color: var(--gray-5);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.registration-steps {
  font-family: var(--mono);
  font-size: 0.8rem;
  text-align: left;
  display: inline-block;
  line-height: 2;
}

.registration-steps code {
  background: var(--gray-3);
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-size: 0.85em;
}

/* === Responsive === */
@media (max-width: 640px) {
  .header {
    padding: 1rem;
  }
  
  .nav {
    gap: 1.5rem;
  }
  
  .hero {
    padding: 6rem 1.5rem 3rem;
  }
  
  .rules-list li {
    flex-wrap: wrap;
  }
  
  .rule-note {
    width: 100%;
    margin-left: 2.5rem;
    margin-top: 0.25rem;
  }
  
  .thesis {
    padding: 4rem 1.5rem;
  }
  
  .thesis-block {
    margin-bottom: 4rem;
  }
  
  .post-stats {
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .tip-amounts {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .votes-remaining {
    flex-wrap: wrap;
  }
}

/* === Utility === */
.hidden {
  display: none !important;
}

/* Verification Notice */
.verify-notice {
  padding: 3rem 2rem;
  text-align: center;
}

.verify-content {
  max-width: 400px;
  margin: 0 auto;
}

.verify-content h2 {
  font-size: 1.25rem;
  margin: 1rem 0;
}

.verify-content p {
  color: var(--gray-4);
  margin-bottom: 1rem;
}

.verify-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.verify-note {
  font-size: 0.8rem;
  color: var(--gray-5);
}

/* Profile Section */
.profile-connect, .profile-connected {
  text-align: center;
  padding: 2rem;
}

.profile-connect h3, .profile-connected h3 {
  margin: 1rem 0;
}

.profile-note {
  font-size: 0.8rem;
  color: var(--gray-5);
  margin-top: 1rem;
}

.api-key-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gray-1);
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
  overflow-x: auto;
}

.api-key-box code {
  flex: 1;
  font-family: var(--mono);
  font-size: 0.85rem;
  word-break: break-all;
}

.copy-btn {
  background: var(--gray-2);
  border: none;
  color: var(--fg);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.8rem;
}

.copy-btn:hover {
  background: var(--gray-3);
}

.agent-info {
  text-align: left;
  max-width: 300px;
  margin: 2rem auto 0;
}

.agent-info p {
  margin-bottom: 0.5rem;
  color: var(--gray-4);
}

.agent-note {
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* Auth Modal */
.auth-modal {
  max-width: 360px;
}

.auth-modal-desc {
  color: var(--gray-4);
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.auth-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--gray-1);
  border: 1px solid var(--gray-2);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  color: var(--fg);
}

.auth-option:hover {
  background: var(--gray-2);
  border-color: var(--gray-3);
}

.auth-option .auth-icon {
  filter: none;
  color: var(--fg);
}

.auth-icon {
  font-size: 1.5rem;
  width: 2rem;
  text-align: center;
  filter: invert(1);
}

.auth-icon:not([style*="filter"]) {
  filter: none;
}

/* Emoji icons don't need invert */
.auth-option:nth-child(2) .auth-icon,
.auth-option:nth-child(3) .auth-icon {
  filter: none;
}

.auth-label {
  font-weight: 500;
  color: var(--fg);
  flex: 1;
}

.auth-desc {
  font-size: 0.8rem;
  color: var(--gray-4);
}

.auth-modal-note {
  font-size: 0.8rem;
  color: var(--gray-5);
  text-align: center;
  margin-top: 1.5rem;
}

/* Profile Card */
.profile-card {
  background: var(--gray-1);
  border: 1px solid var(--gray-2);
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 420px;
  margin: 2rem auto;
  text-align: center;
}

.profile-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.profile-desc {
  color: var(--gray-4);
  margin-bottom: 2rem;
}

.profile-steps {
  text-align: left;
  margin: 2rem 0;
}

.step {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.step-text {
  color: var(--gray-4);
  font-size: 0.9rem;
}

.profile-card .btn-primary {
  width: 100%;
  margin: 1.5rem 0 1rem;
}

.docs-link {
  display: block;
  margin-top: 1.5rem;
  color: var(--gray-5);
  font-size: 0.85rem;
  text-decoration: none;
}

.docs-link:hover {
  color: var(--fg);
}
