    :root {
      /* Nimiq Brand Colors */
      --nimiq-gold: #E9B213;
      --nimiq-gold-dark: #C99E10;
      --nimiq-blue: #1F2348;
      --nimiq-blue-light: #2A2F54;
      --nimiq-light-blue: #0582CA;
      --nimiq-green: #21BCA5;
      --nimiq-orange: #FC8702;
      --nimiq-red: #D94432;
      
      /* UI Colors */
      --bg-primary: #F8F8F8;
      --bg-card: #FFFFFF;
      --bg-dark: var(--nimiq-blue);
      --text-primary: #1F2348;
      --text-secondary: #6E7191;
      --text-muted: #A0A3BD;
      --border-color: #E4E4ED;
      
      /* Shadows */
      --shadow-sm: 0 2px 8px rgba(31, 35, 72, 0.08);
      --shadow-md: 0 4px 20px rgba(31, 35, 72, 0.12);
      --shadow-lg: 0 8px 40px rgba(31, 35, 72, 0.16);
      --shadow-gold: 0 4px 20px rgba(233, 178, 19, 0.3);
      
      /* Spacing */
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 20px;
      --radius-xl: 28px;
    }

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

    body {
      font-family: 'Mulish', -apple-system, BlinkMacSystemFont, sans-serif;
      background: var(--bg-primary);
      color: var(--text-primary);
      min-height: 100vh;
      line-height: 1.6;
    }

    /* Background Pattern */
    .bg-pattern {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: 
        radial-gradient(circle at 20% 20%, rgba(233, 178, 19, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(33, 188, 165, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(31, 35, 72, 0.02) 0%, transparent 70%);
      pointer-events: none;
      z-index: -1;
    }

    /* Header */
    .header {
      background: var(--bg-card);
      border-bottom: 1px solid var(--border-color);
      padding: 1rem 2rem;
      position: sticky;
      top: 0;
      z-index: 100;
      backdrop-filter: blur(10px);
    }

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

    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .logo-icon {
      width: 42px;
      height: 42px;
      /*background: linear-gradient(135deg, var(--nimiq-gold) 0%, var(--nimiq-orange) 100%);
      border-radius: var(--radius-md);*/
      display: flex;
      /*align-items: center;
      justify-content: center;
      font-weight: 800;
      color: white;
      font-size: 1.2rem;
      box-shadow: var(--shadow-gold);*/
    }

    .logo-text {
      font-weight: 800;
      font-size: 1.5rem;
      color: var(--nimiq-blue);
    }

    .logo-text span {
      color: var(--nimiq-gold);
    }

    /* Buttons */
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 24px;
      border-radius: var(--radius-lg);
      font-family: inherit;
      font-weight: 700;
      font-size: 0.95rem;
      border: none;
      cursor: pointer;
      transition: all 0.2s ease;
      text-decoration: none;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--nimiq-gold) 0%, var(--nimiq-gold-dark) 100%);
      color: white;
      box-shadow: var(--shadow-gold);
    }

    .btn-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 24px rgba(233, 178, 19, 0.4);
    }

    .btn-secondary {
      background: var(--bg-card);
      color: var(--text-primary);
      border: 2px solid var(--border-color);
    }

    .btn-secondary:hover {
      border-color: var(--nimiq-gold);
      background: rgba(233, 178, 19, 0.05);
    }

    .btn-disconnect {
      background: rgba(217, 68, 50, 0.1);
      color: var(--nimiq-red);
      padding: 8px 16px;
      font-size: 0.85rem;
    }

    .btn-disconnect:hover {
      background: rgba(217, 68, 50, 0.2);
    }

    /* Main Content */
    .main {
      max-width: 1200px;
      margin: 0 auto;
      padding: 2rem 2rem;
    }

    /* Hero Section */
    .hero {
      text-align: center;
      margin-bottom: 2rem;
      animation: fadeInUp 0.6s ease-out;
    }

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

    .hero h1 {
      font-size: clamp(2rem, 4vw, 2.8rem);
      font-weight: 800;
      line-height: 1.2;
      margin-bottom: 0.75rem;
      background: linear-gradient(135deg, var(--nimiq-blue) 0%, var(--nimiq-blue-light) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero h1 .highlight {
      background: linear-gradient(135deg, var(--nimiq-gold) 0%, var(--nimiq-orange) 100%);
      -webkit-background-clip: text;
      background-clip: text;
    }

    .hero p {
      font-size: 1.1rem;
      color: var(--text-secondary);
      max-width: 700px;
      margin: 0 auto;
    }

    /* Principles */
    .principles {
      display: flex;
      justify-content: center;
      gap: 2rem;
      margin-top: 1.5rem;
      flex-wrap: wrap;
    }

    .principle {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.9rem;
      color: var(--text-secondary);
      font-weight: 600;
    }

    .principle-icon {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1rem;
    }

    .principle-icon.gold { background: rgba(233, 178, 19, 0.15); }
    .principle-icon.green { background: rgba(33, 188, 165, 0.15); }
    .principle-icon.blue { background: rgba(5, 130, 202, 0.15); }

    /* Cards Grid */
    .cards-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
      gap: 1.5rem;
      margin-bottom: 2rem;
    }

    /* Card */
    .card {
      background: var(--bg-card);
      border-radius: var(--radius-xl);
      padding: 1.75rem;
      box-shadow: var(--shadow-md);
      border: 1px solid var(--border-color);
      transition: all 0.3s ease;
      animation: fadeInUp 0.6s ease-out backwards;
    }

    .card:nth-child(1) { animation-delay: 0.1s; }
    .card:nth-child(2) { animation-delay: 0.2s; }
    .card:nth-child(3) { animation-delay: 0.3s; }

    .card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-lg);
    }

    .card-header {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 1.25rem;
    }

    .card-icon {
      width: 48px;
      height: 48px;
      border-radius: var(--radius-lg);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
    }

    .card-icon.gold {
      background: linear-gradient(135deg, rgba(233, 178, 19, 0.15) 0%, rgba(252, 135, 2, 0.15) 100%);
    }

    .card-icon.green {
      background: linear-gradient(135deg, rgba(33, 188, 165, 0.15) 0%, rgba(5, 130, 202, 0.15) 100%);
    }

    .card-icon.blue {
      background: linear-gradient(135deg, rgba(31, 35, 72, 0.1) 0%, rgba(42, 47, 84, 0.1) 100%);
    }

    .card-title {
      font-size: 1.2rem;
      font-weight: 700;
      color: var(--text-primary);
    }

    .card-subtitle {
      font-size: 0.85rem;
      color: var(--text-secondary);
    }

    /* Stats Grid inside Card */
    .stake-stats {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;
    }

    .stake-stat {
      background: var(--bg-primary);
      padding: 1rem;
      border-radius: var(--radius-md);
      text-align: center;
    }

    .stake-stat-value {
      font-size: 1.3rem;
      font-weight: 800;
      color: var(--nimiq-blue);
      font-family: 'Fira Code', monospace;
    }

    .stake-stat-value.gold {
      color: var(--nimiq-gold);
    }

    .stake-stat-value.green {
      color: var(--nimiq-green);
    }

    .stake-stat-label {
      font-size: 0.75rem;
      color: var(--text-muted);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-top: 0.25rem;
    }

    .stake-address {
      background: var(--bg-primary);
      padding: 0.75rem 1rem;
      border-radius: var(--radius-md);
      font-family: 'Fira Code', monospace;
      font-size: 0.9rem;
      color: var(--text-primary);
      text-align: center;
      margin-bottom: 1rem;
    }

    /* Form Elements */
    .form-group {
      margin-bottom: 1.25rem;
    }

    .form-label {
      display: block;
      font-weight: 600;
      margin-bottom: 0.5rem;
      color: var(--text-primary);
    }

    .form-hint {
      font-size: 0.85rem;
      color: var(--text-muted);
      margin-top: 0.25rem;
    }

    .form-input {
      width: 100%;
      padding: 14px 18px;
      border: 2px solid var(--border-color);
      border-radius: var(--radius-md);
      font-family: 'Fira Code', monospace;
      font-size: 0.95rem;
      transition: all 0.2s ease;
      background: var(--bg-primary);
    }

    .form-input:focus {
      outline: none;
      border-color: var(--nimiq-gold);
      box-shadow: 0 0 0 4px rgba(233, 178, 19, 0.1);
    }

    .form-input::placeholder {
      color: var(--text-muted);
    }

    /* Toggle Switch Group */
    .toggle-group {
      display: flex;
      background: var(--bg-primary);
      border-radius: var(--radius-lg);
      padding: 4px;
      border: 2px solid var(--border-color);
    }

    .toggle-option {
      flex: 1;
      padding: 12px 20px;
      text-align: center;
      border-radius: var(--radius-md);
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s ease;
      color: var(--text-secondary);
    }

    .toggle-option.active {
      background: var(--bg-card);
      color: var(--nimiq-blue);
      box-shadow: var(--shadow-sm);
    }

    .toggle-option:hover:not(.active) {
      color: var(--text-primary);
    }

    /* Range Slider with Input */
    .range-with-input {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .range-slider-container {
      flex: 1;
      position: relative;
    }

    .form-range {
      width: 100%;
      height: 8px;
      border-radius: 4px;
      background: var(--border-color);
      appearance: none;
      cursor: pointer;
    }

    .form-range::-webkit-slider-thumb {
      appearance: none;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--nimiq-gold) 0%, var(--nimiq-orange) 100%);
      box-shadow: var(--shadow-gold);
      cursor: pointer;
      transition: transform 0.2s ease;
    }

    .form-range::-webkit-slider-thumb:hover {
      transform: scale(1.1);
    }

    .form-range::-moz-range-thumb {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--nimiq-gold) 0%, var(--nimiq-orange) 100%);
      box-shadow: var(--shadow-gold);
      cursor: pointer;
      border: none;
    }

    .commission-input-wrapper {
      display: flex;
      align-items: center;
      background: var(--bg-primary);
      border: 2px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 8px 12px;
      min-width: 100px;
      transition: all 0.2s ease;
    }

    .commission-input-wrapper:focus-within {
      border-color: var(--nimiq-gold);
      box-shadow: 0 0 0 4px rgba(233, 178, 19, 0.1);
    }

    .commission-input {
      width: 60px;
      border: none;
      background: transparent;
      font-family: 'Fira Code', monospace;
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--nimiq-blue);
      text-align: right;
      outline: none;
    }

    .commission-input::-webkit-outer-spin-button,
    .commission-input::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }

    .commission-input[type=number] {
      -moz-appearance: textfield;
    }

    .commission-suffix {
      font-weight: 700;
      color: var(--nimiq-blue);
      margin-left: 4px;
    }

    .range-labels {
      display: flex;
      justify-content: space-between;
      margin-top: 8px;
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    /* Connected State */
    .wallet-info {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .wallet-address {
      background: var(--bg-primary);
      padding: 8px 16px;
      border-radius: var(--radius-md);
      font-family: 'Fira Code', monospace;
      font-size: 0.85rem;
      color: var(--text-primary);
      border: 1px solid var(--border-color);
    }

    /* Status Messages */
    .status {
      padding: 16px 20px;
      border-radius: var(--radius-md);
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 600;
    }

    .status.success {
      background: rgba(33, 188, 165, 0.1);
      color: var(--nimiq-green);
      border: 1px solid rgba(33, 188, 165, 0.3);
    }

    .status.error {
      background: rgba(217, 68, 50, 0.1);
      color: var(--nimiq-red);
      border: 1px solid rgba(217, 68, 50, 0.3);
    }

    .status.info {
      background: rgba(5, 130, 202, 0.1);
      color: var(--nimiq-light-blue);
      border: 1px solid rgba(5, 130, 202, 0.3);
    }

    /* Stats Row */
    .stats-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
      margin-bottom: 2rem;
    }

    .stat-item {
      background: var(--bg-card);
      padding: 1.25rem;
      border-radius: var(--radius-lg);
      text-align: center;
      border: 1px solid var(--border-color);
      box-shadow: var(--shadow-sm);
    }

    .stat-value {
      font-size: 1.6rem;
      font-weight: 800;
      color: var(--nimiq-blue);
      margin-bottom: 0.25rem;
    }

    .stat-value.gold {
      color: var(--nimiq-gold);
    }

    .stat-sublabel {
      font-size: 1rem;
      color: var(--text-muted);
      font-weight: 600;
      margin-top: 0.25rem;
      margin-bottom: 0.5rem;
    }

    .stat-label {
      font-size: 0.8rem;
      color: var(--text-secondary);
      font-weight: 600;
    }

    /* Marketing Fund Card */
    .name-promo {
      position: relative;
      overflow: hidden;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1.5rem;
      margin-bottom: 2rem;
      padding: 1.5rem 2rem;
      border-radius: var(--radius-lg);
      background: linear-gradient(135deg, #F6D365 0%, var(--nimiq-gold) 45%, var(--nimiq-orange) 100%);
      color: var(--nimiq-blue);
      box-shadow: var(--shadow-gold);
    }

    /* A band of light crossing the banner every few seconds. */
    .name-promo::before {
      content: '';
      position: absolute;
      top: 0;
      bottom: 0;
      left: -40%;
      width: 30%;
      background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
      transform: skewX(-20deg);
      animation: name-promo-shine 4.5s ease-in-out infinite;
      pointer-events: none;
    }

    @keyframes name-promo-shine {
      0%, 55% { left: -40%; }
      100% { left: 120%; }
    }

    @media (prefers-reduced-motion: reduce) {
      .name-promo::before { animation: none; }
    }

    .name-promo > * {
      position: relative;
    }

    .name-promo-title {
      font-size: 1.35rem;
      font-weight: 800;
      margin-bottom: 0.25rem;
    }

    .name-promo-text {
      color: rgba(31, 35, 72, 0.8);
    }

    .name-promo-text strong {
      color: var(--nimiq-blue);
    }

    .name-promo .btn {
      flex: none;
      background: var(--nimiq-blue);
      color: #fff;
      box-shadow: var(--shadow-md);
    }

    @media (max-width: 720px) {
      .name-promo {
        flex-direction: column;
        align-items: flex-start;
      }
    }

    .marketing-fund-card {
      margin-bottom: 2rem;
    }

    .marketing-fund-link {
      display: block;
      text-decoration: none;
      color: inherit;
    }

    .marketing-fund-content {
      background: linear-gradient(135deg, rgba(240, 205, 101, 0.08) 0%, rgba(233, 178, 19, 0.03) 100%);
      border: 2px solid var(--nimiq-gold);
      border-radius: var(--radius-lg);
      padding: 1.5rem 2rem;
      box-shadow: var(--shadow-md);
      transition: all 0.3s ease;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 2rem;
    }

    .marketing-fund-link:hover .marketing-fund-content {
      transform: translateY(-2px);
      box-shadow: var(--shadow-gold);
      border-color: var(--nimiq-gold-dark);
      background: linear-gradient(135deg, rgba(240, 205, 101, 0.15) 0%, rgba(233, 178, 19, 0.05) 100%);
    }

    .marketing-fund-header {
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .marketing-fund-icon {
      font-size: 2.5rem;
      width: 64px;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, var(--nimiq-gold) 0%, var(--nimiq-gold-dark) 100%);
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-gold);
    }

    .marketing-fund-label {
      font-size: 0.9rem;
      color: var(--text-secondary);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 0.25rem;
    }

    .marketing-fund-balance {
      font-size: 2rem;
      font-weight: 800;
      color: var(--nimiq-gold);
      font-family: 'Fira Code', monospace;
    }

    .marketing-fund-address-section {
      text-align: right;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 0.5rem;
    }

    .marketing-fund-address {
      font-family: 'Fira Code', monospace;
      font-size: 0.95rem;
      background: rgba(255, 255, 255, 0.5);
      padding: 0.5rem 1rem;
      border-radius: var(--radius-sm);
      color: var(--nimiq-blue);
      font-weight: 600;
      border: 1px solid rgba(233, 178, 19, 0.2);
    }

    .marketing-fund-hint {
      font-size: 0.85rem;
      color: var(--text-muted);
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 0.25rem;
    }

    .marketing-fund-link:hover .marketing-fund-hint {
      color: var(--nimiq-gold-dark);
    }

    @media (max-width: 768px) {
      .marketing-fund-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem;
      }

      .marketing-fund-address-section {
        align-items: flex-start;
        text-align: left;
        width: 100%;
      }

      .marketing-fund-address {
        font-size: 0.75rem;
        word-break: break-all;
      }
    }

    /* Connect Prompt */
    .connect-prompt {
      text-align: center;
      padding: 3rem 2rem;
    }

    .connect-prompt h2 {
      font-size: 1.4rem;
      margin-bottom: 0.75rem;
      color: var(--text-primary);
    }

    .connect-prompt p {
      color: var(--text-secondary);
      margin-bottom: 1.5rem;
      max-width: 400px;
      margin-left: auto;
      margin-right: auto;
    }

    /* Info Box */
    .info-box {
      background: linear-gradient(135deg, rgba(233, 178, 19, 0.1) 0%, rgba(252, 135, 2, 0.1) 100%);
      padding: 1rem;
      border-radius: var(--radius-md);
      margin-top: 1rem;
    }

    .info-box-title {
      font-weight: 700;
      color: var(--nimiq-gold-dark);
      margin-bottom: 0.5rem;
    }

    .info-box-text {
      font-size: 0.9rem;
      color: var(--text-secondary);
    }

    /* Footer */
    .footer {
      text-align: center;
      padding: 2rem;
      color: var(--text-muted);
      font-size: 0.9rem;
    }

    .footer a {
      color: var(--nimiq-gold);
      text-decoration: none;
      font-weight: 600;
    }

    .footer a:hover {
      text-decoration: underline;
    }

    /* FAQ Section */
    .faq-section {
      max-width: 900px;
      margin: 3rem auto 2rem;
      padding: 0 2rem;
    }

    .faq-header {
      text-align: center;
      margin-bottom: 2rem;
    }

    .faq-header h2 {
      font-size: 2rem;
      font-weight: 800;
      margin-bottom: 0.5rem;
      color: var(--nimiq-blue);
    }

    .faq-header p {
      color: var(--text-secondary);
      font-size: 1rem;
    }

    .faq-item {
      background: var(--bg-card);
      border-radius: var(--radius-md);
      margin-bottom: 1rem;
      box-shadow: var(--shadow-sm);
      overflow: hidden;
      transition: box-shadow 0.2s ease;
    }

    .faq-item:hover {
      box-shadow: var(--shadow-md);
    }

    .faq-question {
      width: 100%;
      text-align: left;
      padding: 1.25rem 1.5rem;
      background: transparent;
      border: none;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-family: inherit;
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--text-primary);
      transition: color 0.2s ease;
    }

    .faq-question:hover {
      color: var(--nimiq-gold);
    }

    .faq-question-icon {
      font-size: 1.2rem;
      transition: transform 0.3s ease;
      color: var(--nimiq-gold);
    }

    .faq-item.active .faq-question-icon {
      transform: rotate(180deg);
    }

    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease, padding 0.3s ease;
      padding: 0 1.5rem;
      color: var(--text-secondary);
      line-height: 1.7;
    }

    .faq-item.active .faq-answer {
      max-height: 500px;
      padding: 0 1.5rem 1.25rem 1.5rem;
    }

    /* Animations */
    .fade-in {
      animation: fadeIn 0.3s ease-out;
    }

    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    /* Loading Spinner */
    .loading {
      display: inline-block;
      width: 16px;
      height: 16px;
      border: 2px solid var(--border-color);
      border-top-color: var(--nimiq-gold);
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    /* Responsive */
    @media (max-width: 768px) {
      .header-content {
        flex-direction: column;
        gap: 1rem;
      }

      .cards-grid {
        grid-template-columns: 1fr;
      }

      .stats-row {
        grid-template-columns: 1fr;
      }

      .main {
        padding: 1.5rem 1rem;
      }

      .principles {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
      }

      .stake-stats {
        grid-template-columns: 1fr;
      }

      .range-with-input {
        flex-direction: column;
        align-items: stretch;
      }

      .commission-input-wrapper {
        justify-content: center;
      }
    }

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

    /* Save button wrapper with tooltip */
    .save-button-wrapper {
      position: relative;
      display: inline-block;
    }

    .save-tooltip {
      visibility: hidden;
      opacity: 0;
      position: absolute;
      bottom: calc(100% + 10px);
      left: 50%;
      transform: translateX(-50%);
      background: var(--nimiq-blue);
      color: white;
      padding: 10px 16px;
      border-radius: var(--radius-md);
      font-size: 0.85rem;
      font-weight: 600;
      white-space: nowrap;
      transition: opacity 0.2s ease, visibility 0.2s ease;
      z-index: 10;
    }

    .save-tooltip::after {
      content: '';
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      border: 6px solid transparent;
      border-top-color: var(--nimiq-blue);
    }

    .save-button-wrapper:hover .save-tooltip.show {
      visibility: visible;
      opacity: 1;
    }

    .btn:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      transform: none !important;
      box-shadow: none !important;
    }

    /* Pool Stakers table */
    .stakers-card {
      margin-top: 2rem;
    }

    .stakers-table-wrap {
      overflow-x: auto;
      margin-top: 0.5rem;
    }

    .stakers-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.9rem;
      min-width: 640px;
    }

    .stakers-table th {
      text-align: left;
      font-size: 0.72rem;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: var(--text-muted);
      font-weight: 700;
      padding: 0.6rem 0.75rem;
      border-bottom: 2px solid var(--border-color);
      white-space: nowrap;
    }

    .stakers-table td {
      padding: 0.6rem 0.75rem;
      border-bottom: 1px solid var(--border-color);
      color: var(--text-primary);
    }

    .stakers-table tbody tr:hover {
      background: var(--bg-primary);
    }

    .stakers-table .num {
      text-align: right;
      font-family: 'Fira Code', monospace;
      white-space: nowrap;
    }

    .stakers-table .rank {
      color: var(--text-muted);
      font-family: 'Fira Code', monospace;
    }

    .stakers-table .addr {
      font-family: 'Fira Code', monospace;
      font-size: 0.82rem;
    }

    .name-claim-row {
      display: flex;
      gap: 0.75rem;
    }

    .name-claim-row .form-input {
      flex: 1;
      min-width: 0;
    }

    .name-nudge {
      margin-top: 0.75rem;
      color: var(--nimiq-gold-dark);
      font-weight: 600;
    }

    .name-owned {
      font-size: 1.6rem;
      font-weight: 800;
      color: var(--nimiq-gold-dark);
      word-break: break-all;
    }

    .stakers-table .staker {
      display: flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
    }

    .stakers-table .identicon {
      width: 28px;
      height: 28px;
      flex: none;
    }

    .stakers-table .staker-name {
      font-family: 'Mulish', sans-serif;
      font-size: 0.92rem;
      font-weight: 700;
    }

    .stakers-table .staker-address {
      color: var(--text-muted);
      font-size: 0.75rem;
    }

    .stakers-table .addr .you {
      display: inline-block;
      padding: 1px 7px;
      border-radius: 10px;
      font-family: 'Mulish', sans-serif;
      font-size: 0.68rem;
      font-weight: 700;
      background: rgba(233, 178, 19, 0.15);
      color: var(--nimiq-gold-dark);
    }

    .contrib-badge {
      display: inline-block;
      padding: 2px 10px;
      border-radius: 12px;
      font-family: 'Fira Code', monospace;
      font-weight: 600;
      background: var(--bg-primary);
      color: var(--text-secondary);
    }

    .contrib-badge.gives {
      background: rgba(33, 188, 165, 0.12);
      color: var(--nimiq-green);
    }

    .mode-pill {
      display: inline-block;
      padding: 2px 10px;
      border-radius: 12px;
      font-size: 0.75rem;
      font-weight: 600;
      background: rgba(5, 130, 202, 0.1);
      color: var(--nimiq-light-blue);
    }

    .stakers-empty {
      text-align: center;
      color: var(--text-muted);
      padding: 1.5rem;
    }

    /* Sortable headers */
    .stakers-table th.sortable {
      cursor: pointer;
      user-select: none;
    }

    .stakers-table th.sortable:hover {
      color: var(--nimiq-gold-dark);
    }

    .stakers-table th .sort-caret::after {
      content: '↕';
      opacity: 0.35;
      margin-left: 2px;
      font-size: 0.8em;
    }

    .stakers-table th.sort-asc .sort-caret::after {
      content: '▲';
      opacity: 1;
      color: var(--nimiq-gold);
    }

    .stakers-table th.sort-desc .sort-caret::after {
      content: '▼';
      opacity: 1;
      color: var(--nimiq-gold);
    }

    /* Unstaking (release-queue) marker in the stakers table */
    .unstaking-tag {
      display: inline-block;
      margin-left: 6px;
      padding: 1px 8px;
      border-radius: 10px;
      font-family: 'Mulish', sans-serif;
      font-size: 0.68rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.3px;
      background: rgba(252, 135, 2, 0.12);
      color: var(--nimiq-orange);
    }

    /* Header navigation */
    html { scroll-behavior: smooth; }

    /* Offset anchor targets so they clear the sticky header */
    #stats-section, #marketing-section, #pool-stakers, #faq { scroll-margin-top: 90px; }

    .main-nav {
      display: flex;
      gap: 1.75rem;
      align-items: center;
    }

    .main-nav a {
      color: var(--text-secondary);
      font-weight: 700;
      font-size: 0.95rem;
      text-decoration: none;
      white-space: nowrap;
      transition: color 0.2s ease;
    }

    .main-nav a:hover {
      color: var(--nimiq-gold);
    }

    .nav-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 1.6rem;
      line-height: 1;
      color: var(--nimiq-blue);
      cursor: pointer;
      padding: 4px 8px;
    }

    @media (max-width: 768px) {
      /* Override the stacked-column header for a logo + hamburger row */
      .header-content {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.5rem;
      }

      .logo { flex: 1; }
      .nav-toggle { display: block; }

      .main-nav, #header-actions { display: none; flex-basis: 100%; }

      .header.nav-open .main-nav {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
        padding-top: 0.75rem;
        margin-top: 0.25rem;
        border-top: 1px solid var(--border-color);
      }

      .header.nav-open #header-actions {
        display: flex;
        justify-content: center;
        padding-top: 0.25rem;
      }
    }
