:root {
  --bg-base: #f8fafc;
  --bg-gradient: linear-gradient(180deg, #fff5f7 0%, #fdf2f8 35%, #f8fafc 100%);
  --bg-card: #ffffff;
  --bg-card-subtle: #f9fafb;
  --border-color: rgba(226, 232, 240, 0.8);
  --border-highlight: rgba(244, 63, 94, 0.2);
  --item-divider: #f1f5f9;
  
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --primary: #f43f5e;
  --primary-hover: #e11d48;
  --primary-light: #fff1f2;
  --primary-glow: rgba(244, 63, 94, 0.25);
  --primary-gradient-end: #fb7185;
  
  --secondary: #8b5cf6;
  --secondary-light: #f5f3ff;
  
  --accent: #0284c7;
  --accent-light: #f0f9ff;

  --blob-1: #fecdd3;
  --blob-2: #e9d5ff;
  --avatar-ring-gradient: linear-gradient(135deg, #fb7185, #c084fc, #38bdf8);
  --tabs-nav-bg: rgba(226, 232, 240, 0.6);
  --tabs-nav-border: rgba(255, 255, 255, 0.6);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(149, 157, 165, 0.12);
  --shadow-lg: 0 12px 32px rgba(244, 63, 94, 0.12);

  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-full: 9999px;

  --font-base: 'M PLUS Rounded 1c', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  padding-bottom: 60px;
}

/* Background soft decorative shapes */
.background-decorations {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.blob-1 {
  width: 320px;
  height: 320px;
  background: var(--blob-1);
  top: -80px;
  right: -60px;
}

.blob-2 {
  width: 350px;
  height: 350px;
  background: var(--blob-2);
  bottom: 20%;
  left: -80px;
}

/* Mobile-first Container (Max 520px for clean app-like feel) */
.container {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.05rem;
}

.logo-badge {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 14px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a:active {
  color: var(--primary);
  background: var(--primary-light);
}

/* Hero Section */
.hero-section {
  padding: 36px 0 24px;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar-wrapper {
  position: relative;
  width: 104px;
  height: 104px;
  margin-bottom: 16px;
}

.avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--avatar-ring-gradient);
  box-shadow: var(--shadow-lg);
}

.avatar-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  border: 3px solid var(--bg-card);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05);
}

.avatar-image {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-card);
  display: block;
  z-index: 1;
}

.hero-title {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  color: var(--text-main);
}

.hero-handle {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 700;
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 14px;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 22px;
  padding: 0 10px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-gradient-end));
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:active {
  background: #f1f5f9;
  transform: scale(0.98);
}

.x-icon {
  width: 26px;
  height: 26px;
  padding: 4px;
  border-radius: 50%;
  background: #ffffff;
  color: #1DA1F2;
  fill: #1DA1F2;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

/* Sections */
.section {
  padding: 24px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 18px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--primary-light);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}

.section-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

/* Card Style (White Base) */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Twitter Stack */
.twitter-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.twitter-profile-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 4px solid var(--primary);
}

.profile-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.profile-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fecdd3, #e9d5ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.profile-id {
  color: var(--text-muted);
  font-size: 0.85rem;
  display: block;
}

.profile-bio {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  background: var(--bg-card-subtle);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid #f1f5f9;
}

.btn-x-follow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  text-align: center;
  padding: 13px;
  border-radius: var(--radius-lg);
  background: #0f1419;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.92rem;
  box-shadow: 0 4px 14px rgba(15, 20, 25, 0.2);
  transition: all 0.2s ease;
}

.btn-x-follow:active {
  transform: scale(0.98);
  background: #272c30;
}

.twitter-timeline-card {
  padding: 18px;
}

.timeline-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.timeline-container {
  min-height: 380px;
  overflow: hidden;
  border-radius: var(--radius-md);
}

/* About Section */
.about-card {
  border-top: 4px solid var(--secondary);
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-item {
  border-bottom: 1px solid var(--item-divider);
  padding-bottom: 14px;
}

.about-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--about-label-color, var(--secondary));
  display: block;
  margin-bottom: 3px;
}

.about-value {
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Links Section */
.links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.link-item:hover,
.link-item:active {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.link-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.link-icon svg {
  width: 22px;
  height: 22px;
}

.link-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.link-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.link-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.link-arrow {
  color: var(--text-light);
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.link-item:active .link-arrow {
  transform: translateX(3px);
  color: var(--primary);
}

.link-placeholder {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  background: var(--bg-card-subtle);
}

/* Tabs Navigation */
.tabs-nav-wrapper {
  margin: 16px 0 24px;
  display: flex;
  justify-content: center;
}

.tabs-nav {
  display: inline-flex;
  gap: 6px;
  background: var(--tabs-nav-bg);
  padding: 5px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  border: 1px solid var(--tabs-nav-border);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  max-width: 100%;
  overflow-x: auto;
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-main);
}

.tab-btn.active {
  background: var(--bg-card);
  color: var(--primary);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* Tab Content Transitions */
.tab-pane {
  display: none;
  animation: tabFadeIn 0.3s ease-out;
}

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

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
.footer {
  margin-top: 40px;
  text-align: center;
}

.footer-container p {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-sub {
  font-size: 0.75rem !important;
  margin-top: 4px;
  color: var(--text-light);
}

/* Font Family Utility Classes (Per-Box & Inline) */
.font-rounded {
  font-family: 'M PLUS Rounded 1c', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.font-sans {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.font-serif {
  font-family: 'Shippori Mincho', "Hiragino Mincho ProN", "Yu Mincho", serif !important;
}

.font-handwriting {
  font-family: 'Yomogi', cursive, sans-serif !important;
}

.font-pop {
  font-family: 'Mochiy Pop One', sans-serif !important;
}

.font-marupop {
  font-family: 'Hachi Maru Pop', cursive, sans-serif !important;
}

.font-pixel {
  font-family: 'DotGothic16', monospace, sans-serif !important;
}

/* Inline Text Size Utility Classes */
.text-size-sm {
  font-size: 0.82em;
}

.text-size-lg {
  font-size: 1.22em;
}

.text-size-xl {
  font-size: 1.45em;
}

/* Sensitive / Spoiler Content Protection (Zero-Accidental-Reveal) */
.sensitive-guard-box {
  background: rgba(15, 23, 42, 0.05);
  border: 1.5px dashed rgba(100, 116, 139, 0.45);
  border-radius: var(--radius-lg);
  padding: 16px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  user-select: none;
}

.sensitive-guard-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.sensitive-guard-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text-main);
}

.sensitive-guard-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.sensitive-btn-step1 {
  margin-top: 4px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.sensitive-btn-step1:active {
  transform: scale(0.97);
}

.sensitive-confirm-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.sensitive-btn-cancel {
  padding: 7px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.sensitive-btn-confirm {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: opacity 0.2s ease;
}

.sensitive-btn-confirm:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.sensitive-rehide-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 6px;
}

.sensitive-btn-rehide {
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-card-subtle);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

/* Inline Sensitive Text ([hide]...[/hide]) */
.sensitive-inline-wrapper {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin: 0 2px;
}

.sensitive-inline-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
  color: #ffffff;
  font-size: 0.78em;
  font-weight: 700;
  border: none;
  cursor: pointer;
  user-select: none;
  line-height: 1.4;
}

.sensitive-inline-pill.confirming {
  background: #dc2626;
}

.sensitive-inline-pill:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.sensitive-inline-revealed {
  background: rgba(139, 92, 246, 0.1);
  padding: 1px 6px;
  border-radius: 6px;
  border: 1px dashed rgba(139, 92, 246, 0.35);
}

.sensitive-inline-rehide {
  margin-left: 4px;
  padding: 0 5px;
  font-size: 0.72em;
  border-radius: 999px;
  border: 1px solid rgba(100, 116, 139, 0.4);
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
}

/* Vertically Stacked Blocks inside a Single Tab */
.tab-blocks-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.tab-block-section {
  padding-top: 10px;
}

/* Vertically Stacked Sub-Items inside a Profile Item */
.about-subitems-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.about-subitem-box {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-subitem-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--about-label-color, var(--secondary));
}

/* Inline Images inside textboxes */
.inline-image-container {
  display: block;
  margin: 12px auto;
  text-align: center;
}

.inline-content-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  display: inline-block;
  vertical-align: middle;
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.inline-content-img:hover {
  transform: scale(1.015);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.inline-img-sm .inline-content-img {
  max-width: 160px;
}

.inline-img-md .inline-content-img {
  max-width: 320px;
}

.inline-img-lg .inline-content-img {
  max-width: 100%;
}

/* Image Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 16px;
  cursor: zoom-out;
  touch-action: manipulation;
}

.lightbox-modal.show {
  display: flex;
  animation: tabFadeIn 0.2s ease-out;
}

.lightbox-img {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
}

.lightbox-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: none;
  font-size: 32px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* Visitor Comments / Messages Section */
.comments-section {
  padding-top: 10px;
}

.comment-card {
  border-top: 4px solid var(--primary);
  max-width: 580px;
  margin: 0 auto;
}

.comment-form {
  display: flex;
  flex-direction: column;
}

.comment-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.comment-input,
.comment-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.comment-input:focus,
.comment-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.15);
}

.comment-textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

.comment-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.25);
  margin-top: 4px;
}

.comment-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(147, 51, 234, 0.35);
}

.comment-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.comment-status-msg {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  line-height: 1.4;
  text-align: center;
  animation: tabFadeIn 0.2s ease-out;
}

.comment-status-msg.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.comment-status-msg.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Links inside rich textboxes (Bio, items, sub-items) */
.rich-link {
  color: var(--primary, #9333ea);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  font-weight: 700;
  word-break: break-all;
  display: inline;
  transition: all 0.2s ease;
}

.rich-link:hover,
.rich-link:active {
  color: var(--primary-hover, #7e22ce);
  text-decoration-thickness: 2.5px;
  opacity: 0.85;
}

.rich-link::after {
  content: ' ↗';
  font-size: 0.82em;
  font-weight: 800;
  text-decoration: none;
  display: inline-block;
  opacity: 0.8;
}



