:root {
    --navy: #050f26;
    --navy-deep: #000d23;
    --cyan: #00d4ff;
    --cyan-dim: rgba(0, 212, 255, 0.35);
    --gold: #f1c40f;
    --text: #ffffff;
    --muted: rgba(255, 255, 255, 0.72);
    --modal-bg: #eef1f5;
    --line-green: #00b900;
    --orange: #ff6b2c;
}

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", sans-serif;
    background: var(--navy-deep);
    color: var(--text);
    min-height: 100vh;
}

/* ========== Home (效果图) ========== */
.home {
    position: relative;
    min-height: 100vh;
    padding: 28px 18px 40px;
    overflow-x: hidden;
}

.home::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, #020b1a 0%, #000d23 45%, #020814 100%);
    z-index: -2;
}

.home::after {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: -1;
    pointer-events: none;
}

.home-inner {
    max-width: 420px;
    margin: 0 auto;
}

.hero-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 10px;
    letter-spacing: 0.02em;
}

.hero-title .accent {
    color: var(--cyan);
}

.hero-sub {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted);
    margin: 0 0 18px;
}

.hero-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan-dim), transparent);
    margin: 0 auto 22px;
    max-width: 88%;
}

.features {
    margin-bottom: 4px;
    padding-bottom: 4px;
}

.feat-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.22);
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.15);
}

.feat-row:last-child {
    margin-bottom: 0;
}

.feat-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
}

.feat-icon svg {
    width: 36px;
    height: 36px;
}

.feat-text h3 {
    margin: 0 0 4px;
    font-size: 0.95rem;
    font-weight: 700;
}

.feat-text p {
    margin: 0;
    font-size: 0.9rem;
    color: rgb(114 210 250);
    line-height: 1.45;
}

.live-count {
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 14px;
    font-weight: 600;
}

.live-count em {
    font-style: normal;
    color: var(--gold);
    font-size: 1.05rem;
    font-weight: 800;
}

.robot-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.robot-wrap img {
    width: 110px;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 212, 255, 0.25));
}

.card-input {
    border: 1px solid var(--cyan-dim);
    border-radius: 12px;
    padding: 16px 14px 14px;
    background: rgba(5, 20, 45, 0.65);
    backdrop-filter: blur(8px);
}

.card-input label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 10px;
    color: rgb(114 210 250);
    font-weight: 600;
}

.card-input .req-mark {
    font-size: 0.78em;
    font-weight: 600;
    color: rgba(241, 196, 15, 0.95);
}

.card-input input {
    width: 100%;
    padding: 10px 10px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    font-family: inherit;
    margin-bottom: 12px;
}

.card-input input::placeholder {
    color: #889;
}

.card-input input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.35);
}

.btn-img {
    display: block;
    width: 100%;
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
    margin-bottom: 10px;
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
}

.btn-img:last-of-type {
    margin-bottom: 0;
}

.btn-img img {
    width: 100%;
    height: auto;
    vertical-align: middle;
    display: block;
}

.btn-img:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 3px;
}

@-webkit-keyframes pulse2 {
    0% {
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
    }

    50% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    100% {
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
    }
}

@keyframes pulse2 {
    0% {
        transform: scale(0.9);
    }

    50% {
        transform: scale(1);
    }

    100% {
        transform: scale(0.9);
    }
}

.btn-img.btn-pulse,
.line-cta.btn-pulse {
    -webkit-animation: pulse2 2s ease-in-out infinite;
    animation: pulse2 2s ease-in-out infinite;
    -webkit-transform-origin: center center;
    transform-origin: center center;
    will-change: transform;
}

.stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.stat-num {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--cyan);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.65rem;
    color: var(--muted);
    margin-top: 4px;
    font-weight: 600;
}

.disclaimer {
    margin-top: 22px;
    padding: 14px;
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 10px;
    background: rgba(0, 20, 50, 0.4);
}

.disclaimer h4 {
    margin: 0 0 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}

.disclaimer h4 svg {
    flex-shrink: 0;
    color: var(--cyan);
}

.disclaimer p {
    margin: 0;
    font-size: 0.7rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.65);
}

.foot-copy {
    text-align: center;
    margin-top: 24px;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.45);
}

.foot-copy a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
}

.foot-copy a:hover {
    text-decoration: underline;
}

/* ========== Analysis（参考 ykclnzdqpm.help / 设计图：机器人+光环+胶囊+进度条） ========== */
.analyzing {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(2, 6, 18, 0.92);
}

.analyzing.is-open {
    display: flex;
}

.analyze-card {
    position: relative;
    max-width: 360px;
    width: 100%;
    text-align: center;
    padding: 32px 22px 28px;
    border-radius: 22px;
    border: 1px solid rgba(0, 212, 255, 0.22);
    background: #0a122a;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.analyze-avatar-wrap {
    position: relative;
    width: 104px;
    height: 104px;
    margin: 0 auto 22px;
}

.analyze-orbit {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid rgba(15, 28, 55, 0.95);
    border-top-color: #00e5ff;
    border-right-color: rgba(0, 229, 255, 0.45);
    box-shadow:
        0 0 18px rgba(0, 229, 255, 0.45),
        0 0 32px rgba(0, 180, 220, 0.2);
    animation: analyzeOrbitSpin 1.1s linear infinite;
}

@-webkit-keyframes analyzeOrbitSpin {
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

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

.analyze-avatar-inner {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 72px;
    height: 72px;
    margin: -36px 0 0 -36px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #0c162e;
    background: #e8eef5;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.15);
}

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

.analyze-card h2 {
    margin: 0 0 18px;
    font-size: 1.14rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fff;
}

.analyze-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 auto 10px;
    padding: 11px 18px;
    max-width: 100%;
    text-align: left;
    font-size: 0.68rem;
    font-weight: 400;
    line-height: 1.45;
    color: #fff;
    background: rgba(4, 12, 32, 0.85);
    border: 1px solid rgba(0, 212, 255, 0.42);
    border-radius: 999px;
    box-shadow: 0 0 14px rgba(0, 212, 255, 0.12);
}

.analyze-pill .analyze-pill-emoji {
    flex-shrink: 0;
    font-size: 1.05rem;
    line-height: 1;
}

.analyze-progress {
    margin: 0 0 18px;
}

.analyze-progress-track {
    height: 5px;
    border-radius: 4px;
    background: rgba(35, 48, 72, 0.95);
    overflow: hidden;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35);
}

.analyze-progress-fill {
    height: 100%;
    width: 0%;
    border-radius: 4px;
    background: linear-gradient(90deg, #00a8d4, #00e5ff);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.55);
}

.analyze-model {
    margin: 0;
    font-size: 0.76rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.52);
    letter-spacing: 0.02em;
}

/* ========== Modal (弹框效果图) ========== */
.modal-root {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
    background: rgba(0, 0, 0, 0.45);
}

.modal-root.is-open {
    display: flex;
}

.modal-sheet {
    width: 100%;
    max-width: 440px;
    max-height: 92vh;
    overflow-y: auto;
    background: var(--modal-bg);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.2);
    animation: sheetUp 0.35s ease-out;
}

@keyframes sheetUp {
    from {
        transform: translateY(100%);
        opacity: 0.9;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-hero {
    position: relative;
    padding: 28px 20px 36px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(ellipse 85% 70% at 100% 0%, rgba(40, 100, 200, 0.35) 0%, transparent 55%),
        linear-gradient(168deg, #0d2a66 0%, #0a1e45 42%, #051028 100%);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), 50% 100%, 0 calc(100% - 20px));
}

.modal-hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 60'%3E%3Cpath fill='rgba(255,255,255,0.06)' d='M20 50 L35 20 L50 45 L65 15 L80 40 L100 30 V60 H0 Z'/%3E%3C/svg%3E") no-repeat;
    background-size: contain;
    opacity: 0.9;
    pointer-events: none;
}

.shield-gold {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    color: #e8c547;
    filter: drop-shadow(0 2px 8px rgba(232, 197, 71, 0.4));
}

.shield-gold svg {
    display: block;
    width: 100%;
    height: auto;
}

.modal-hero h2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.45;
}

.modal-hero .gold {
    display: block;
    color: #f5d76e;
    font-size: 1.35rem;
    margin-top: 4px;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.modal-hero .desc {
    margin: 14px 0 0;
    font-size: 0.82rem;
    line-height: 1.55;
    opacity: 0.95;
    padding: 0 4px;
}

.modal-hero .desc .symbol-mark {
    color: #f5d76e;
    font-weight: 700;
}

.modal-body {
    padding: 18px 16px 28px;
}

.white-card {
    background: #fff;
    border: 1px solid #e2e6ec;
    border-radius: 12px;
    padding: 14px 14px 6px;
    margin-bottom: 12px;
}

.white-card h3 {
    margin: 0 0 12px;
    font-size: 0.95rem;
    font-weight: 800;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 8px;
}

.white-card h3 .doc-ico {
    color: #2563eb;
    flex-shrink: 0;
}

.report-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.report-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.85rem;
    font-weight: 600;
    color: #222;
}

.report-list li:last-child {
    border-bottom: none;
    padding-bottom: 4px;
}

.chk {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.chk svg {
    width: 12px;
    height: 12px;
}

.line-cta {
    display: block;
    width: 100%;
    margin: 4px 0 14px;
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
}

.line-cta img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

.line-cta:focus-visible {
    outline: 3px solid var(--line-green);
    outline-offset: 2px;
}

.timer-card {
    /*display: flex;*/
    display: none;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid #ffd8bf;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 10px;
}

.timer-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--orange);
}

.timer-left svg {
    flex-shrink: 0;
}

.timer-mid {
    width: 1px;
    height: 28px;
    background: #ddd;
    display: none;
}

@media (min-width: 360px) {
    .timer-mid {
        display: block;
    }
}

.timer-right {
    font-size: 0.85rem;
    font-weight: 700;
    color: #222;
}

.timer-right .big {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--orange);
    font-variant-numeric: tabular-nums;
}

.warn-line {
    text-align: center;
    font-size: 0.7rem;
    color: #444;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.warn-line .warn-ico {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.warn-line .warn-ico svg {
    display: block;
    width: 20px;
    height: 20px;
}

.social-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 14px;
    border: 1px solid #e2e6ec;
    border-radius: 12px;
    background: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    color: #222;
}

.social-card .people-ico {
    color: var(--line-green);
}

.social-card .num {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--line-green);
    font-variant-numeric: tabular-nums;
}

.modal-foot-note {
    text-align: center;
    margin-top: 14px;
    font-size: 0.68rem;
    color: #888;
}

body.modal-lock {
    overflow: hidden;
}