*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg: #0d0d0d;
    --bg-soft: rgba(255, 255, 255, 0.04);
    --bg-strong: rgba(255, 255, 255, 0.08);
    --line: rgba(41, 255, 249, 0.14);
    --line-strong: rgba(41, 255, 249, 0.28);
    --text: rgba(255, 255, 255, 0.96);
    --text-soft: rgba(255, 255, 255, 0.7);
    --text-faint: rgba(255, 255, 255, 0.45);
    --cyan: #29fff9;
    --success: #4ce6a1;
    --error: #ff7676;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    --mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

html {
    color-scheme: dark;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background:
        radial-gradient(circle at top, rgba(41, 255, 249, 0.12), transparent 34%),
        linear-gradient(180deg, #101111 0%, var(--bg) 58%, #090909 100%);
    color: var(--text);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(41, 255, 249, 0.4);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition:
        color 0.2s ease,
        text-decoration-color 0.2s ease;
}

a:hover {
    color: var(--cyan);
    text-decoration-color: rgba(41, 255, 249, 0.75);
}

a:focus-visible {
    outline: 2px solid rgba(41, 255, 249, 0.28);
    outline-offset: 3px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(41, 255, 249, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(41, 255, 249, 0.035) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 15%, rgba(41, 255, 249, 0.09), transparent 18%),
        radial-gradient(circle at 80% 22%, rgba(41, 255, 249, 0.07), transparent 22%),
        radial-gradient(circle at 50% 100%, rgba(41, 255, 249, 0.05), transparent 26%);
    pointer-events: none;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    width: min(1280px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2rem 0 3rem;
}

.page-header {
    position: relative;
    padding: 1.5rem 0 2rem;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 1.35rem;
    padding: 0.35rem 1rem;
    border: 1px solid rgba(41, 255, 249, 0.3);
    clip-path: polygon(0 0, calc(100% - 0.5rem) 0, 100% 0.5rem, 100% 100%, 0 100%);
    color: var(--cyan);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

h1 {
    margin: 0 0 0.9rem;
    font-size: clamp(2.75rem, 7vw, 5.25rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.98;
}

h1 span {
    color: var(--cyan);
    text-shadow:
        0 0 12px rgba(41, 255, 249, 0.3),
        0 0 28px rgba(41, 255, 249, 0.12);
}

.subtitle {
    width: min(720px, 100%);
    margin: 0 auto;
    color: var(--text-soft);
    font-size: 1.02rem;
    line-height: 1.75;
}

.panel {
    position: relative;
    overflow: hidden;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    clip-path: polygon(0 0, calc(100% - 1.25rem) 0, 100% 1.25rem, 100% 100%, 0 100%);
    box-shadow:
        var(--shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, transparent 48%);
    pointer-events: none;
}

.panel-content {
    position: relative;
    z-index: 1;
    padding: 1.4rem;
}

.report-panel {
    width: min(860px, 100%);
    margin: 0 auto 2.5rem;
}

.report-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
}

.report-textarea {
    display: block;
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.42);
    border: 1px solid var(--line-strong);
    border-radius: 0;
    color: var(--text);
    font-family: var(--mono);
    font-size: 0.82rem;
    line-height: 1.6;
    outline: none;
    resize: vertical;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.report-textarea:hover {
    border-color: rgba(41, 255, 249, 0.44);
}

.report-textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(41, 255, 249, 0.12);
}

.report-textarea::placeholder {
    color: var(--text-faint);
    opacity: 1;
}

.report-textarea.copy-success {
    animation: copy-success-pulse 0.6s cubic-bezier(0.22, 0.68, 0.32, 1);
}

@keyframes copy-success-pulse {
    0% {
        border-color: var(--success);
        box-shadow: 0 0 0 0 rgba(76, 230, 161, 0.7);
    }

    30% {
        border-color: var(--success);
        box-shadow:
            0 0 0 4px rgba(76, 230, 161, 0.32),
            0 0 14px rgba(76, 230, 161, 0.4);
    }

    100% {
        border-color: var(--line-strong);
        box-shadow:
            0 0 0 9px rgba(76, 230, 161, 0),
            0 0 18px rgba(76, 230, 161, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .report-textarea.copy-success {
        animation-duration: 0.01ms;
    }
}

.report-hint {
    margin: 0.85rem 0 0;
    color: var(--error);
    font-size: 0.9rem;
    line-height: 1.6;
}

.copy-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    margin-top: 1.25rem;
}

.copy-button {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 44px;
    padding: 0.72rem 1.5rem;
    background: var(--cyan);
    border: 1px solid var(--cyan);
    clip-path: polygon(0 0, calc(100% - 0.6rem) 0, 100% 0.6rem, 100% 100%, 0 100%);
    color: #081313;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.copy-button:hover {
    background: transparent;
    color: var(--cyan);
    box-shadow: 0 0 24px rgba(41, 255, 249, 0.14);
}

.copy-button:focus-visible {
    outline: 3px solid rgba(41, 255, 249, 0.28);
    outline-offset: 3px;
}

.copy-button-icon {
    flex: 0 0 auto;
}

.copy-status {
    width: min(520px, 100%);
    margin: 0;
    color: var(--text-soft);
    font-size: 0.82rem;
    line-height: 1.45;
    text-align: center;
}

.copy-status:empty {
    display: none;
}

.copy-status[data-state="success"] {
    color: var(--success);
}

.copy-status[data-state="error"] {
    color: var(--error);
}

.box-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
    align-items: start;
    gap: 1.5rem;
}

.box-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1.2rem 1.4rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.box-icon-frame {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    background: rgba(41, 255, 249, 0.08);
    border: 1px solid var(--line-strong);
    clip-path: polygon(0 0, calc(100% - 0.5rem) 0, 100% 0.5rem, 100% 100%, 0 100%);
    color: var(--cyan);
}

.box-title {
    margin: 0;
    color: var(--cyan);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.box-content {
    position: relative;
    z-index: 1;
    padding: 1.2rem 1.4rem 1.4rem;
}

.fact-list {
    display: grid;
    gap: 0.9rem;
    margin: 0;
}

.fact {
    display: grid;
    gap: 0.2rem;
}

.fact-label {
    color: var(--text-soft);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fact-value {
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--text);
    font-family: var(--mono);
    font-size: 0.86rem;
    line-height: 1.5;
}

.fact-value.is-unavailable {
    color: var(--text-faint);
    font-style: italic;
}

.box-note {
    margin: 1.25rem 0 0;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-soft);
    font-size: 0.82rem;
    line-height: 1.6;
}

.page-footer {
    margin-top: 2.5rem;
    text-align: center;
}

.page-footer p {
    width: min(640px, 100%);
    margin: 0 auto;
    color: var(--text-faint);
    font-size: 0.8rem;
    line-height: 1.6;
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 1rem, 1280px);
        padding-top: 1rem;
    }

    .page-header {
        padding-top: 1rem;
    }

    .subtitle {
        font-size: 0.96rem;
    }

    .panel-content {
        padding: 1rem;
    }

    .box-header {
        padding: 1rem 1rem 0.85rem;
    }

    .box-content {
        padding: 1rem;
    }

    .report-textarea {
        font-size: 0.78rem;
    }
}
