:root {
    --lock-accent: #0ea5e9;
    --lock-accent-strong: #2563eb;
    --lock-surface: #ffffff;
    --lock-ink: #0f172a;
    --lock-muted: #6b7280;
    --lock-border: rgba(37, 99, 235, 0.25);
    --lock-veil: rgba(37, 99, 235, 0.06);
}

.hidden-content {
    position: relative;
    margin: 1.2rem 0;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.06), rgba(37, 99, 235, 0.08)), var(--lock-surface);
    border: 1px solid var(--lock-border);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}

.hidden-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 10%, rgba(14, 165, 233, 0.25), transparent 40%),
        radial-gradient(circle at 90% 0, rgba(37, 99, 235, 0.18), transparent 32%);
    opacity: 0.6;
    pointer-events: none;
}

.hidden-content-title {
    position: relative;
    padding: 14px 18px;
    color: var(--lock-ink);
    font-weight: 700;
    letter-spacing: 0.01em;
    border-bottom: 1px solid var(--lock-border);
    background: linear-gradient(120deg, rgba(14, 165, 233, 0.14), rgba(37, 99, 235, 0.18));
}

.hidden-content .lock-title-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.hidden-content-title::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(150deg, var(--lock-accent), var(--lock-accent-strong));
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.45);
}

.hidden-content-body {
    position: relative;
    padding: 16px 18px 18px;
    color: var(--lock-ink);
    line-height: 1.65;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.95));
}

.hidden-content-body p {
    margin: 0 0 0.9rem;
}

.hidden-content-body p:last-child {
    margin-bottom: 0;
}

.hidden-content form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.9rem 1.2rem;
    margin-top: 0.25rem;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px dashed var(--lock-border);
    background: rgba(37, 99, 235, 0.05);
}

.hidden-content .lock-form-message {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    flex: 1 1 240px;
    color: var(--lock-muted);
    font-weight: 600;
}

.hidden-content .lock-form-balance {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.12);
    color: var(--lock-accent-strong);
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.18);
}

.hidden-content .lock-form-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.hidden-content .button {
    padding: 0.65rem 1.1rem;
    border-radius: 10px;
    border: none;
    color: #ffffff;
    background: linear-gradient(120deg, var(--lock-accent), var(--lock-accent-strong));
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.35);
    font-weight: 800;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.hidden-content .button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.4);
    filter: saturate(1.05);
}

.hidden-content .button:active {
    transform: translateY(0);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.35);
}

.hidden-content .lock-link-status {
    margin-top: 0.85rem;
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.005em;
    background: rgba(37, 99, 235, 0.06);
    color: var(--lock-accent-strong);
    box-shadow: inset 0 0 0 1px var(--lock-border);
}

.hidden-content .lock-link-status-code {
    background: rgba(14, 165, 233, 0.08);
    color: #0ea5e9;
    box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.28);
}

.hidden-content .lock-link-status-missing {
    background: rgba(239, 68, 68, 0.08);
    color: #b91c1c;
    box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.25);
}

.hidden-content .lock-link-status-timeout,
.hidden-content .lock-link-status-error {
    background: rgba(249, 115, 22, 0.08);
    color: #c2410c;
    box-shadow: inset 0 0 0 1px rgba(249, 115, 22, 0.24);
}

.hidden-content .lock-link-status-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: 0.4rem;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.005em;
    border: 1px solid transparent;
    text-decoration: none;
}

.hidden-content .lock-link-status-inline.lock-link-status-inline-ok,
.hidden-content-title .lock-link-status-inline.lock-link-status-inline-ok {
    color: #15803d;
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.25);
}

.hidden-content .lock-link-status-inline.lock-link-status-inline-bad,
.hidden-content-title .lock-link-status-inline.lock-link-status-inline-bad {
    color: #b91c1c;
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.25);
}

.hidden-content .lock-link-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

  .hidden-content .lock-link-check {
      background: linear-gradient(120deg, #fcd34d, #f59e0b);
      border: 1px solid rgba(245, 158, 11, 0.45);
      color: #78350f;
  }
  .hidden-content .lock-link-check:hover {
      box-shadow: 0 10px 20px rgba(245,158,11,0.22);
      border-color: rgba(217,119,6,0.5);
  }
  .hidden-content .lock-link-check:active {
      box-shadow: 0 6px 14px rgba(217,119,6,0.18);
  }

.hidden-content a {
    color: var(--lock-accent-strong);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.hidden-content a:hover {
    color: #0b61d1;
    border-color: rgba(11, 97, 209, 0.25);
}

@media (max-width: 640px) {
    .hidden-content {
        border-radius: 12px;
        margin: 1rem 0;
    }

    .hidden-content-title,
    .hidden-content-body {
        padding: 14px;
    }

    .hidden-content form {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .hidden-content .lock-form-message {
        width: 100%;
    }

    .hidden-content .button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hidden-content .lock-form-actions,
    .hidden-content .lock-link-actions {
        width: 100%;
        gap: 0.65rem;
    }

    .hidden-content .lock-link-actions {
        justify-content: flex-start;
        margin-top: -0.15rem;
    }
}
