/* fc2.pro - 分析レポート */

:root {
    --bg: #0a0e1a;
    --bg-elevated: #0f1420;
    --surface: #141a28;
    --surface-2: #1b2235;
    --surface-hover: #232b3f;
    --border: rgba(255, 255, 255, 0.06);
    --border-strong: rgba(255, 255, 255, 0.12);
    --text: #e8ebf2;
    --text-muted: #8b92a8;
    --text-dim: #5c657d;
    --accent: #f471b5;
    --accent-glow: rgba(244, 113, 181, 0.35);
    --accent-soft: rgba(244, 113, 181, 0.12);
    --blue: #60a5fa;
    --green: #34d399;
    --green-soft: rgba(52, 211, 153, 0.12);
    --amber: #fbbf24;
    --red: #f87171;
    --red-soft: rgba(248, 113, 113, 0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
                 "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI",
                 Meiryo, sans-serif;
    --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
code {
    font-family: var(--font-mono);
    font-size: 0.88em;
    background: var(--bg-elevated);
    padding: 2px 6px;
    border-radius: 5px;
    color: var(--blue);
}

/* orbs */
.bg-orbs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bg-orbs .orb { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.3; }
.bg-orbs .orb-1 { width: 480px; height: 480px; background: radial-gradient(circle, rgba(244,113,181,0.4), transparent 70%); top: -8%; right: 10%; animation: f1 24s ease-in-out infinite; }
.bg-orbs .orb-2 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(96,165,250,0.3), transparent 70%); top: 55%; left: -8%; animation: f2 30s ease-in-out infinite; }
@keyframes f1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-40px,50px)} }
@keyframes f2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(50px,30px)} }

/* header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 14px; padding: 12px 28px;
    background: rgba(10,14,26,0.72);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid var(--border);
}
.site-brand .brand-mark {
    display: inline-block; font-size: 1.05rem; font-weight: 600;
    color: var(--text-muted); padding: 7px 16px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--border);
    transition: border-color .3s, color .3s, transform .3s;
}
.site-brand:hover .brand-mark { border-color: var(--accent-soft); color: var(--text); transform: translateY(-1px); }
.site-brand .brand-dot { color: var(--accent); text-shadow: 0 0 8px var(--accent-glow); }
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.navlink {
    padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 500;
    color: var(--text-muted); transition: background .18s, color .18s;
}
.navlink:hover { color: var(--text); background: var(--surface-2); }
.navlink.is-active { color: var(--accent); background: var(--accent-soft); }

/* layout */
.report {
    position: relative; z-index: 1;
    max-width: 860px; margin: 0 auto;
    padding: 48px 24px 60px;
    display: flex; flex-direction: column; gap: 28px;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.is-revealed { opacity: 1; transform: translateY(0); }

/* hero */
.r-hero { text-align: center; padding: 32px 0 12px; }
.r-tag {
    display: inline-block; font-size: .72rem; font-weight: 700;
    letter-spacing: .25em; color: var(--text-dim);
    padding: 5px 14px; border: 1px solid var(--border); border-radius: 999px;
    margin-bottom: 22px;
}
.r-hero h1 { font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.r-hero .grad {
    background: linear-gradient(100deg, var(--accent), var(--blue) 50%, var(--accent));
    background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: grad 7s linear infinite;
}
@keyframes grad { 0%{background-position:0% 50%} 100%{background-position:200% 50%} }
.r-period { color: var(--text-muted); font-size: .92rem; margin-top: 16px; font-variant-numeric: tabular-nums; }

/* tldr */
.r-tldr {
    background: linear-gradient(135deg, var(--accent-soft), transparent 60%), var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius); padding: 26px 28px;
}
.r-tldr h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); margin-bottom: 16px; }
.r-tldr ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.r-tldr li {
    padding-left: 24px; position: relative; color: var(--text); font-size: .98rem;
}
.r-tldr li::before { content: "▸"; position: absolute; left: 0; color: var(--accent); }
.r-tldr strong { color: var(--accent); font-weight: 700; }
.r-oneliner {
    margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border);
    font-size: 1.05rem; color: var(--text);
}
.r-oneliner b { color: var(--amber); }

/* section */
.r-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 30px;
}
.r-section h2 {
    font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em;
    margin-bottom: 14px; display: flex; align-items: baseline; gap: 12px;
}
.r-num {
    font-size: .8rem; font-weight: 700; color: var(--accent);
    font-family: var(--font-mono);
    background: var(--accent-soft); padding: 3px 9px; border-radius: 6px;
}
.r-section p { color: var(--text-muted); font-size: .95rem; margin-bottom: 14px; }
.r-section p:last-child { margin-bottom: 0; }
.r-section strong { color: var(--text); font-weight: 600; }
.r-note {
    font-size: .82rem !important; color: var(--text-dim) !important;
    background: var(--bg-elevated); padding: 12px 16px; border-radius: var(--radius-sm);
    border-left: 2px solid var(--border-strong);
}

/* stat row */
.r-stat-row {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px; margin: 18px 0;
}
.r-stat {
    background: var(--bg-elevated); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 16px; text-align: center;
}
.r-stat .v {
    font-size: 1.5rem; font-weight: 700; color: var(--text);
    font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.r-stat .l { font-size: .72rem; color: var(--text-dim); margin-top: 4px; }

/* bars */
.r-bars { display: flex; flex-direction: column; gap: 8px; margin: 18px 0; }
.r-bar { display: flex; align-items: center; gap: 12px; }
.r-bar .bl {
    width: 44px; flex-shrink: 0; text-align: right;
    font-size: .85rem; font-weight: 600; color: var(--text-muted);
}
.r-bar .bl.hot { color: var(--accent); }
.r-bar .bl.low { color: var(--text-dim); }
.r-bar .bt {
    flex: 1; height: 26px; border-radius: 6px;
    background: linear-gradient(90deg, var(--blue), var(--accent));
    width: var(--w); position: relative; min-width: 60px;
    display: flex; align-items: center;
    transition: width .9s cubic-bezier(.22,1,.36,1);
}
.r-bar .bt.hot { background: linear-gradient(90deg, var(--amber), var(--accent)); }
.r-bar .bt.low { background: linear-gradient(90deg, var(--surface-2), var(--text-dim)); }
.r-bar .bt i {
    position: absolute; right: 10px; font-style: normal;
    font-size: .78rem; font-weight: 600; color: #0a0e1a;
    font-variant-numeric: tabular-nums;
}
.r-bar .bt.low i { color: var(--text); right: -52px; }

/* rhythm */
.r-rhythm { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.rh-row {
    display: flex; gap: 16px; padding: 14px 18px;
    background: var(--bg-elevated); border: 1px solid var(--border);
    border-radius: var(--radius-sm); align-items: flex-start;
}
.rh-row.rh-hot { border-color: rgba(251,191,36,.3); background: rgba(251,191,36,.05); }
.rh-row.rh-cold { border-color: rgba(248,113,113,.25); background: rgba(248,113,113,.04); }
.rh-time { flex-shrink: 0; width: 130px; font-weight: 600; font-size: .9rem; color: var(--text); }
.rh-desc { color: var(--text-muted); font-size: .88rem; }

/* strategy grid */
.r-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
@media (max-width: 640px) { .r-grid2 { grid-template-columns: 1fr; } }
.r-card { border-radius: var(--radius-sm); padding: 20px 22px; border: 1px solid var(--border); }
.r-card.good { background: var(--green-soft); border-color: rgba(52,211,153,.25); }
.r-card.bad { background: var(--red-soft); border-color: rgba(248,113,113,.25); }
.rc-head { font-weight: 700; font-size: .95rem; margin-bottom: 12px; }
.r-card.good .rc-head { color: var(--green); }
.r-card.bad .rc-head { color: var(--red); }
.r-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.r-card li { font-size: .88rem; color: var(--text-muted); padding-left: 16px; position: relative; }
.r-card li::before { content: "·"; position: absolute; left: 4px; color: var(--text-dim); }
.r-card b { color: var(--text); font-weight: 600; }

/* limits */
.r-limits { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.r-limits li {
    font-size: .88rem; color: var(--text-muted);
    padding-left: 22px; position: relative;
}
.r-limits li::before { content: "⚠"; position: absolute; left: 0; font-size: .8rem; }
.r-limits strong { color: var(--text); }

/* footer */
.r-footer { text-align: center; padding: 16px 0; }
.rf-line { margin-bottom: 16px; }
.rf-link {
    display: inline-block; padding: 12px 24px;
    background: var(--accent-soft); color: var(--accent);
    border: 1px solid rgba(244,113,181,.3); border-radius: 999px;
    font-weight: 600; font-size: .92rem;
    transition: background .2s, transform .2s;
}
.rf-link:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.rf-meta { color: var(--text-dim); font-size: .76rem; }

@media (max-width: 640px) {
    .report { padding: 32px 16px 40px; }
    .r-section { padding: 22px 20px; }
    .rh-row { flex-direction: column; gap: 6px; }
    .rh-time { width: auto; }
    .r-bar .bt.low i { right: 8px; color: #0a0e1a; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .bg-orbs { display: none; }
}
