/* ================================================================
   PROFIV — Design System v2
   高級感・ブランド感重視
================================================================ */

:root {
    --profiv-primary: #ff69b4;
    --profiv-bg: #fafafa;
    --profiv-card: #ffffff;
    --profiv-text: #1a1a1a;
    --profiv-muted: #888;
    --profiv-border: #ebebeb;
    --profiv-radius: 16px;
    --profiv-shadow: 0 2px 20px rgba(0,0,0,0.07);
}

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

/* ── プロフィールページ ── */
.profiv-body {
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    min-height: 100vh;
    font-family: -apple-system, 'Noto Sans JP', BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.profiv-profile-wrap {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.profiv-profile-card {
    width: 100%;
    max-width: 480px;
    background: var(--profiv-card);
    min-height: 100vh;
}

@media (min-width: 600px) {
    .profiv-profile-wrap { padding: 32px 16px; background: #efefef; }
    .profiv-profile-card { min-height: auto; border-radius: 20px; overflow: hidden; box-shadow: 0 8px 40px rgba(0,0,0,0.10); }
}

/* ── ヘッダー ── */
.profiv-header {
    padding: 40px 24px 28px;
    text-align: center;
    background: var(--profiv-accent-light, #fff5f9);
    position: relative;
}
.profiv-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 14px;
    display: block;
    border: 3px solid rgba(255,255,255,0.9);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.profiv-avatar-placeholder {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.profiv-name {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 5px;
    color: var(--profiv-text);
}
.profiv-catch {
    font-size: 13px;
    color: var(--profiv-muted);
    margin-bottom: 14px;
    line-height: 1.6;
}
.profiv-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}
.profiv-tag {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(0,0,0,0.05);
    color: #555;
    letter-spacing: 0.3px;
}
.profiv-clip-tag.ok { background: #e8f5e9; color: #2e7d32; }
.profiv-clip-tag.ng { background: #fce4ec; color: #c62828; }

/* ── 配信中バッジ ── */
.profiv-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e53935;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}
.profiv-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    animation: profiv-blink 1.4s infinite;
}
@keyframes profiv-blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ── リンク ── */
.profiv-links {
    padding: 20px 20px 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.profiv-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--profiv-border);
    text-decoration: none;
    color: var(--profiv-text);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: all 0.18s;
    background: #fff;
}
.profiv-link:hover {
    border-color: #ccc;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}
.profiv-link-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    background: #f5f5f5;
    flex-shrink: 0;
}
.profiv-link-icon-yt { background: #ff0000 !important; color: #fff !important; }
.profiv-link-live-badge {
    margin-left: auto;
    background: #e53935;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 8px;
    letter-spacing: 0.5px;
}

/* ── セクション ── */
.profiv-section {
    padding: 16px 20px;
    border-top: 1px solid #f2f2f2;
}
.profiv-section-title {
    font-size: 10px;
    color: #bbb;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-weight: 600;
}

/* ── 動画 ── */
.profiv-video-thumb {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    background: #000;
}
.profiv-video-thumb img { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; opacity: 0.92; }
.profiv-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0,0,0,0.72);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: transform 0.15s;
}
.profiv-video-thumb:hover .profiv-video-play { transform: translate(-50%,-50%) scale(1.08); }
.profiv-video-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 12px;
    background: linear-gradient(transparent, rgba(0,0,0,0.72));
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 500;
}

/* ── スケジュール ── */
.profiv-schedule { display: flex; gap: 6px; }
.profiv-schedule-day {
    flex: 1;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    background: #f5f5f5;
    color: #bbb;
}

/* ── PR ── */
.profiv-pr-text {
    font-size: 13px;
    line-height: 1.8;
    color: #444;
    background: #fafafa;
    border-radius: 10px;
    padding: 14px 16px;
    border: 1px solid #f0f0f0;
}

/* ── ファンレター ── */
.profiv-fanmail-form { display: flex; flex-direction: column; gap: 10px; }
.profiv-input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.18s;
    background: #fff;
    color: var(--profiv-text);
    font-family: inherit;
}
.profiv-input:focus { border-color: #aaa; }
.profiv-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    font-size: 14px;
    outline: none;
    resize: vertical;
    min-height: 88px;
    font-family: inherit;
    color: var(--profiv-text);
}
.profiv-textarea:focus { border-color: #aaa; }
.profiv-btn {
    padding: 13px 24px;
    border: none;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.18s, transform 0.15s;
    letter-spacing: 0.3px;
    font-family: inherit;
}
.profiv-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.profiv-result { font-size: 13px; min-height: 20px; margin-top: 4px; }

/* ── 誕生日バナー ── */
.profiv-birthday-banner {
    background: linear-gradient(135deg, #ff9de2, #ffb3c6);
    color: #fff;
    text-align: center;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* ── シェアボタン ── */
.profiv-share { padding: 14px 20px; border-top: 1px solid #f2f2f2; text-align: center; }
.profiv-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    background: #000;
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: opacity 0.18s;
}
.profiv-share-btn:hover { opacity: 0.78; color: #fff; }

/* ── 登録誘導バナー ── */
.profiv-join-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
    gap: 12px;
}
.profiv-join-title { font-size: 13px; font-weight: 700; color: #222; }
.profiv-join-desc { font-size: 11px; color: #999; margin-top: 2px; }
.profiv-join-btn {
    white-space: nowrap;
    padding: 9px 18px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
    letter-spacing: 0.3px;
    transition: opacity 0.18s;
}
.profiv-join-btn:hover { opacity: 0.78; color: #fff; }

/* ── WALLIV広告 ── */
.profiv-footer {
    padding: 16px 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.profiv-powered {
    font-size: 10px;
    color: #ccc;
    text-decoration: none;
    text-align: center;
    letter-spacing: 1px;
}
.profiv-walliv-ad {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 14px 16px;
    background: #f8f4ff;
    border: 1px solid #ede6ff;
    border-radius: 12px;
    transition: opacity 0.18s;
}
.profiv-walliv-ad:hover { opacity: 0.85; }
.profiv-walliv-img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.profiv-walliv-title { font-size: 13px; font-weight: 700; color: #5b3fa0; margin-bottom: 2px; }
.profiv-walliv-desc { font-size: 11px; color: #9b7ed4; }

.profiv-footer-pro { padding: 14px 20px; text-align: center; border-top: 1px solid #f0f0f0; }

/* ── フッターナビ（gamepixdock） ── */
.profiv-site-footer {
    padding: 12px 20px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
    background: #fafafa;
}
.profiv-site-footer a {
    font-size: 10px;
    color: #ccc;
    text-decoration: none;
    margin: 0 8px;
    letter-spacing: 0.5px;
}
.profiv-site-footer a:hover { color: #999; }

/* ── テンプレート別 ── */
.profiv-template-pastel .profiv-header { background: linear-gradient(160deg, #fce4ee, #f3e5f5); }
.profiv-template-simple .profiv-header { background: #f8f8f8; }
.profiv-template-dark .profiv-profile-card { background: #111; color: #eee; }
.profiv-template-dark .profiv-header { background: linear-gradient(160deg, #1a1a2e, #16213e) !important; }
.profiv-template-dark .profiv-name { color: #eee; }
.profiv-template-dark .profiv-catch { color: #888; }
.profiv-template-dark .profiv-link { background: #1c1c2e; border-color: #2a2a4a; color: #ddd; }
.profiv-template-dark .profiv-section { border-top-color: #222; }
.profiv-template-dark .profiv-section-title { color: #444; }
.profiv-template-dark .profiv-input { background: #1c1c2e; border-color: #2a2a4a; color: #eee; }
.profiv-template-dark .profiv-textarea { background: #1c1c2e; border-color: #2a2a4a; color: #eee; }
.profiv-template-dark .profiv-pr-text { background: #1c1c2e; border-color: #2a2a4a; color: #ccc; }
.profiv-template-dark .profiv-tag { background: rgba(255,255,255,0.07); color: #aaa; }
.profiv-template-dark .profiv-schedule-day { background: #1c1c2e; color: #555; }
.profiv-template-dark .profiv-join-banner { background: #1c1c2e; border-top-color: #222; }
.profiv-template-dark .profiv-join-title { color: #ddd; }
.profiv-template-dark .profiv-footer { border-top-color: #222; background: #111; }
.profiv-template-dark .profiv-site-footer { background: #111; border-top-color: #222; }

.profiv-template-emo .profiv-profile-card { background: #0d0d1a; color: #e8d8ff; }
.profiv-template-emo .profiv-header { background: linear-gradient(160deg, #1a0a3a, #0d1a3a) !important; }
.profiv-template-emo .profiv-name { color: #e8d8ff; }
.profiv-template-emo .profiv-catch { color: #9b7ed4; }
.profiv-template-emo .profiv-link { background: #1a1232; border-color: #2d2050; color: #c8a8f8; }
.profiv-template-emo .profiv-section { border-top-color: #1a1232; }
.profiv-template-emo .profiv-section-title { color: #4a3880; }
.profiv-template-emo .profiv-input { background: #1a1232; border-color: #2d2050; color: #e8d8ff; }
.profiv-template-emo .profiv-textarea { background: #1a1232; border-color: #2d2050; color: #e8d8ff; }
.profiv-template-emo .profiv-pr-text { background: #1a1232; border-color: #2d2050; color: #c8a8f8; }
.profiv-template-emo .profiv-tag { background: rgba(167,139,250,0.12); color: #c8a8f8; }
.profiv-template-emo .profiv-schedule-day { background: #1a1232; color: #4a3880; }
.profiv-template-emo .profiv-join-banner { background: #1a1232; border-top-color: #2d2050; }
.profiv-template-emo .profiv-join-title { color: #c8a8f8; }
.profiv-template-emo .profiv-footer { background: #0d0d1a; border-top-color: #1a1232; }
.profiv-template-emo .profiv-site-footer { background: #0d0d1a; border-top-color: #1a1232; }

.profiv-template-pop .profiv-profile-card { background: #fffde7; }
.profiv-template-pop .profiv-header { background: linear-gradient(160deg, #fff9c4, #ffccbc) !important; }
.profiv-template-pop .profiv-link { border-radius: 28px; font-weight: 700; }

.profiv-template-flower .profiv-profile-card { background: #fff5f8; }
.profiv-template-flower .profiv-header { background: linear-gradient(160deg, #ffe0eb, #ffd6e8) !important; }
.profiv-template-flower .profiv-link { border-radius: 20px; border-color: #ffb7c5; }

.profiv-template-heart .profiv-profile-card { background: #fff0f3; }
.profiv-template-heart .profiv-header { background: linear-gradient(160deg, #ffd6de, #ffb3c1) !important; }
.profiv-template-heart .profiv-link { border-color: #ffb3c1; border-radius: 20px; }

.profiv-template-star .profiv-profile-card { background: #0a0a1f; color: #eee; }
.profiv-template-star .profiv-header { background: linear-gradient(160deg, #1a1240, #0d0d2b) !important; }
.profiv-template-star .profiv-name { color: #fff; }
.profiv-template-star .profiv-catch { color: #9b7ed4; }
.profiv-template-star .profiv-link { background: rgba(255,255,255,0.04); border-color: rgba(167,139,250,0.2); color: #e8d8ff; }
.profiv-template-star .profiv-section { border-top-color: rgba(255,255,255,0.06); }
.profiv-template-star .profiv-section-title { color: #4a3880; }
.profiv-template-star .profiv-input { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); color: #eee; }
.profiv-template-star .profiv-textarea { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); color: #eee; }
.profiv-template-star .profiv-tag { background: rgba(167,139,250,0.12); color: #c8a8f8; }
.profiv-template-star .profiv-schedule-day { background: rgba(255,255,255,0.04); color: #4a3880; }
.profiv-template-star .profiv-join-banner { background: rgba(255,255,255,0.04); border-top-color: rgba(255,255,255,0.06); }
.profiv-template-star .profiv-join-title { color: #e8d8ff; }
.profiv-template-star .profiv-footer { background: #0a0a1f; border-top-color: rgba(255,255,255,0.06); }
.profiv-template-star .profiv-site-footer { background: #0a0a1f; border-top-color: rgba(255,255,255,0.06); }

.profiv-template-japan .profiv-profile-card { background: #fdf6ec; }
.profiv-template-japan .profiv-header { background: linear-gradient(160deg, #fce4c8, #f5d0b0) !important; }
.profiv-template-japan .profiv-link { border-color: #e8c4a0; border-radius: 4px; }

.profiv-template-neon .profiv-profile-card { background: #050510; color: #fff; }
.profiv-template-neon .profiv-header { background: #050510 !important; }
.profiv-template-neon .profiv-name { color: #fff; text-shadow: 0 0 20px #00ffff; }
.profiv-template-neon .profiv-catch { color: #00ffff88; }
.profiv-template-neon .profiv-link { background: #0a0a20; border-color: #00ffff22; color: #00ffff; }
.profiv-template-neon .profiv-section { border-top-color: #00ffff11; }
.profiv-template-neon .profiv-section-title { color: #00ffff33; }
.profiv-template-neon .profiv-input { background: #0a0a20; border-color: #00ffff22; color: #fff; }
.profiv-template-neon .profiv-textarea { background: #0a0a20; border-color: #00ffff22; color: #fff; }
.profiv-template-neon .profiv-tag { background: rgba(0,255,255,0.08); color: #00ffff88; }
.profiv-template-neon .profiv-schedule-day { background: #0a0a20; color: #00ffff22; }
.profiv-template-neon .profiv-join-banner { background: #0a0a20; border-top-color: #00ffff11; }
.profiv-template-neon .profiv-join-title { color: #00ffff; }
.profiv-template-neon .profiv-footer { background: #050510; border-top-color: #00ffff11; }
.profiv-template-neon .profiv-site-footer { background: #050510; border-top-color: #00ffff11; }

.profiv-template-mint .profiv-profile-card { background: #f0fdf8; }
.profiv-template-mint .profiv-header { background: linear-gradient(160deg, #c6f7e9, #a8edda) !important; }
.profiv-template-mint .profiv-link { border-color: #5eead4; color: #0f766e; }
.profiv-template-mint .profiv-tag { background: #ccfbf1; color: #0f766e; }

.profiv-template-sakura .profiv-profile-card { background: #fff8f9; }
.profiv-template-sakura .profiv-header { background: linear-gradient(160deg, #ffe4e8, #ffd6de) !important; }
.profiv-template-sakura .profiv-link { border-color: #ffc2ce; border-radius: 24px; }
.profiv-template-sakura .profiv-tag { background: #ffe4e8; color: #be185d; }

.profiv-template-galaxy .profiv-profile-card { background: #030318; color: #e8e8ff; }
.profiv-template-galaxy .profiv-header { background: linear-gradient(160deg, #0d0830, #1a0a4a) !important; }
.profiv-template-galaxy .profiv-name { color: #fff; }
.profiv-template-galaxy .profiv-catch { color: #8b7fd4; }
.profiv-template-galaxy .profiv-link { background: rgba(255,255,255,0.04); border-color: rgba(167,139,250,0.2); color: #c8b8ff; }
.profiv-template-galaxy .profiv-section { border-top-color: rgba(255,255,255,0.05); }
.profiv-template-galaxy .profiv-section-title { color: #3a2870; }
.profiv-template-galaxy .profiv-tag { background: rgba(167,139,250,0.1); color: #a89de8; }
.profiv-template-galaxy .profiv-input { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.07); color: #eee; }
.profiv-template-galaxy .profiv-textarea { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.07); color: #eee; }
.profiv-template-galaxy .profiv-join-banner { background: rgba(255,255,255,0.04); border-top-color: rgba(255,255,255,0.05); }
.profiv-template-galaxy .profiv-join-title { color: #c8b8ff; }
.profiv-template-galaxy .profiv-footer { background: #030318; border-top-color: rgba(255,255,255,0.05); }
.profiv-template-galaxy .profiv-site-footer { background: #030318; border-top-color: rgba(255,255,255,0.05); }

.profiv-template-retro .profiv-profile-card { background: #fdf8f0; }
.profiv-template-retro .profiv-header { background: linear-gradient(160deg, #f5e6c8, #ead5a8) !important; }
.profiv-template-retro .profiv-link { border-color: #c8a87a; border-radius: 4px; font-family: monospace; }

.profiv-template-candy .profiv-profile-card { background: #fff; }
.profiv-template-candy .profiv-header { background: linear-gradient(160deg, #ff9de2, #ffb3c6) !important; }
.profiv-template-candy .profiv-link { border-radius: 28px; border-color: #ffb3c6; }
.profiv-template-candy .profiv-tag { background: #ffe0ec; color: #be185d; border-radius: 20px; }

/* ── アニメーション ── */
.profiv-animated .profiv-header { animation: profiv-fadein 0.7s ease; }
.profiv-animated .profiv-link { transition: all 0.2s; }
@keyframes profiv-fadein { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }

/* ================================================================
   トップページ
================================================================ */
.profiv-top-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px 80px; }

.profiv-top-hero {
    text-align: center;
    padding: 80px 24px 64px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 56px;
}
.profiv-hero-eyebrow {
    font-size: 11px;
    letter-spacing: 4px;
    color: #999;
    margin-bottom: 20px;
    font-weight: 600;
}
.profiv-hero-title {
    font-size: 40px;
    font-weight: 800;
    color: #111;
    margin-bottom: 16px;
    line-height: 1.25;
    letter-spacing: -1px;
}
.profiv-hero-title span { color: var(--profiv-primary, #ff69b4); }
.profiv-hero-sub {
    font-size: 16px;
    color: #777;
    margin-bottom: 36px;
    line-height: 1.8;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
.profiv-hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.profiv-btn-primary {
    padding: 14px 32px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 28px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: opacity 0.18s, transform 0.15s;
    font-family: inherit;
}
.profiv-btn-primary:hover { opacity: 0.82; color: #fff; transform: translateY(-1px); }
.profiv-btn-secondary {
    padding: 14px 32px;
    background: #fff;
    color: #111;
    border: 1.5px solid #ddd;
    border-radius: 28px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: all 0.18s;
    font-family: inherit;
}
.profiv-btn-secondary:hover { border-color: #aaa; color: #111; }
.profiv-hero-features {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 12px;
    color: #aaa;
    letter-spacing: 0.3px;
}

/* ── 宣伝グリッド ── */
.profiv-section-wrap { margin-bottom: 52px; }
.profiv-section-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111;
    letter-spacing: -0.3px;
}
.profiv-promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 16px; }
.profiv-promo-card {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 14px;
    padding: 20px;
    transition: box-shadow 0.18s;
}
.profiv-promo-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.profiv-promo-user { font-size: 12px; color: #aaa; margin-bottom: 8px; }
.profiv-promo-user a { color: #666; text-decoration: none; font-weight: 600; }
.profiv-promo-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: #111; }
.profiv-promo-content { font-size: 13px; color: #666; margin-bottom: 12px; line-height: 1.7; }
.profiv-promo-link { font-size: 12px; color: #111; text-decoration: none; font-weight: 600; }

/* ── ユーザーグリッド ── */
.profiv-user-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 14px; }
.profiv-user-card {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 16px;
    padding: 20px 14px;
    text-align: center;
    text-decoration: none;
    color: var(--profiv-text);
    transition: box-shadow 0.18s, transform 0.15s;
}
.profiv-user-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.07); transform: translateY(-2px); }
.profiv-user-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; display: block; }
.profiv-user-avatar-placeholder {
    width: 64px; height: 64px; border-radius: 50%;
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 24px; font-weight: bold; margin: 0 auto 10px;
}
.profiv-user-name { font-size: 13px; font-weight: 700; margin-bottom: 4px; color: #111; }
.profiv-user-catch { font-size: 11px; color: #aaa; margin-bottom: 8px; }
.profiv-user-genres { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.profiv-mini-tag { font-size: 10px; padding: 2px 8px; border-radius: 10px; background: #f5f5f5; color: #999; }

/* ── CTA ── */
.profiv-top-cta {
    text-align: center;
    padding: 56px 24px;
    background: #111;
    border-radius: 20px;
    color: #fff;
}
.profiv-cta-title { font-size: 26px; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.5px; }
.profiv-cta-desc { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 28px; }
.profiv-top-cta .profiv-btn-primary { background: #fff; color: #111; }
.profiv-top-cta .profiv-btn-primary:hover { opacity: 0.88; }

/* ── トップフッター ── */
.profiv-top-footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #ebebeb;
    text-align: center;
}
.profiv-top-footer a { font-size: 12px; color: #bbb; text-decoration: none; margin: 0 10px; }
.profiv-top-footer a:hover { color: #777; }
.profiv-top-footer-copy { font-size: 11px; color: #ddd; margin-top: 10px; }

/* ================================================================
   フォームページ（登録・ログイン）
================================================================ */
.profiv-form-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #f5f5f5;
}
.profiv-form-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.08);
}
.profiv-form-logo {
    text-align: center;
    font-size: 13px;
    letter-spacing: 5px;
    color: #111;
    margin-bottom: 28px;
    font-weight: 800;
}
.profiv-form-title {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: #111;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}
.profiv-form-sub {
    text-align: center;
    color: #aaa;
    font-size: 13px;
    margin-bottom: 28px;
    line-height: 1.6;
}
.profiv-form { display: flex; flex-direction: column; gap: 16px; }
.profiv-form-group { display: flex; flex-direction: column; gap: 6px; }
.profiv-form-group label { font-size: 12px; font-weight: 600; color: #555; letter-spacing: 0.3px; }
.profiv-form-group small { font-size: 11px; color: #aaa; }
.profiv-form-link { margin-top: 20px; text-align: center; font-size: 13px; color: #aaa; }
.profiv-form-link a { color: #111; font-weight: 600; text-decoration: none; }
.profiv-input-prefix { display: flex; align-items: center; border: 1px solid #e5e5e5; border-radius: 10px; overflow: hidden; }
.profiv-input-prefix span { padding: 11px 12px; background: #f8f8f8; font-size: 13px; color: #aaa; white-space: nowrap; border-right: 1px solid #e5e5e5; }
.profiv-input-prefix .profiv-input { border: none; border-radius: 0; }
.profiv-result { font-size: 13px; min-height: 20px; text-align: center; margin-top: 4px; }

/* ================================================================
   ダッシュボード
================================================================ */
.profiv-dashboard-wrap { max-width: 720px; margin: 40px auto; padding: 0 20px 80px; }
.profiv-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 12px;
}
.profiv-dashboard-header h1 { font-size: 22px; font-weight: 800; color: #111; letter-spacing: -0.3px; }
.profiv-dashboard-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.profiv-btn-pro {
    padding: 10px 20px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.3px;
    font-family: inherit;
    transition: opacity 0.18s;
}
.profiv-btn-pro:hover { opacity: 0.8; }
.profiv-pro-badge {
    padding: 8px 16px;
    background: #f8f4ff;
    color: #5b3fa0;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.profiv-dashboard-section {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}
.profiv-dashboard-section h2 { font-size: 16px; font-weight: 700; margin-bottom: 20px; color: #111; }
.profiv-access-chart { display: flex; align-items: flex-end; gap: 3px; height: 72px; margin-bottom: 8px; }
.profiv-access-bar-wrap { display: flex; flex-direction: column; align-items: center; gap: 2px; flex: 1; }
.profiv-access-bar { width: 100%; background: #111; border-radius: 2px 2px 0 0; min-height: 2px; }
.profiv-access-date { font-size: 9px; color: #ccc; }
.profiv-access-total { font-size: 13px; color: #888; }
.profiv-fanmail-list { display: flex; flex-direction: column; gap: 12px; }
.profiv-fanmail-item { padding: 14px; background: #fafafa; border-radius: 10px; border-left: 3px solid #ebebeb; }
.profiv-fanmail-item.unread { border-left-color: #111; background: #f8f8f8; }
.profiv-fanmail-sender { font-size: 12px; color: #aaa; margin-bottom: 6px; font-weight: 600; }
.profiv-fanmail-message { font-size: 14px; line-height: 1.7; margin-bottom: 6px; color: #333; }
.profiv-fanmail-date { font-size: 11px; color: #ccc; }
.profiv-link-row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.profiv-btn-remove { padding: 8px 12px; background: #fff; border: 1px solid #e5e5e5; border-radius: 8px; cursor: pointer; color: #e74c3c; font-family: inherit; }
.profiv-schedule-picker { display: flex; gap: 8px; flex-wrap: wrap; }
.profiv-schedule-check { display: flex; align-items: center; gap: 4px; cursor: pointer; font-size: 14px; }
.profiv-pro-settings { background: #fafafa; border-radius: 12px; padding: 16px; margin-top: 8px; border: 1px solid #f0f0f0; }
.profiv-pro-badge-inline { font-size: 11px; color: #5b3fa0; font-weight: 700; margin-bottom: 14px; letter-spacing: 1px; }
.profiv-current-avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; display: block; }

@media (max-width: 600px) {
    .profiv-form-card { border-radius: 0; box-shadow: none; padding: 32px 20px; }
    .profiv-form-wrap { padding: 0; justify-content: flex-start; }
    .profiv-hero-title { font-size: 28px; }
    .profiv-link { padding: 15px 16px; font-size: 15px; }
}
