/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-qg5w2ebt5t] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-qg5w2ebt5t] {
    flex: 1;
}

.sidebar[b-qg5w2ebt5t] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-qg5w2ebt5t] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-qg5w2ebt5t]  a, .top-row[b-qg5w2ebt5t]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-qg5w2ebt5t]  a:hover, .top-row[b-qg5w2ebt5t]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-qg5w2ebt5t]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-qg5w2ebt5t] {
        justify-content: space-between;
    }

    .top-row[b-qg5w2ebt5t]  a, .top-row[b-qg5w2ebt5t]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-qg5w2ebt5t] {
        flex-direction: row;
    }

    .sidebar[b-qg5w2ebt5t] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-qg5w2ebt5t] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-qg5w2ebt5t]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-qg5w2ebt5t], article[b-qg5w2ebt5t] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Pages/HabitStatus.razor.rz.scp.css */
/* HabitStatus.razor scoped styles ── Phase 1 placeholder */

.hs-screen[b-wpouix0fwg] {
    min-height: 100vh;
    padding: 16px 14px 60px;
    background: linear-gradient(180deg, #0f1428 0%, #1A2D5C 100%);
    color: #f5e9c8;
    font-family: "Yu Gothic", "Hiragino Sans", "Meiryo", "Segoe UI", sans-serif;
}

.hs-header[b-wpouix0fwg] { text-align: center; max-width: 480px; margin: 0 auto 18px; }
.hs-back[b-wpouix0fwg] {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 14px;
    background: transparent;
    color: #c9d0e8;
    border: 1px solid rgba(201, 208, 232, 0.4);
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
}
.hs-back:hover[b-wpouix0fwg] { color: #f4dca0; border-color: #f4dca0; }
.hs-header h2[b-wpouix0fwg] { margin: 4px 0 2px; color: #f4dca0; letter-spacing: 0.05em; }
.hs-sub[b-wpouix0fwg] { color: #c9d0e8; font-size: 13px; margin: 0; }

.hs-card[b-wpouix0fwg] {
    max-width: 480px;
    margin: 0 auto 18px;
    padding: 18px 18px 14px;
    background: rgba(13, 17, 40, 0.6);
    border: 1px solid rgba(184, 134, 11, 0.4);
    border-radius: 12px;
    box-shadow: 0 6px 22px rgba(0,0,0,0.4);
}
.hs-row[b-wpouix0fwg] {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(201, 208, 232, 0.15);
    font-size: 14px;
}
.hs-row:last-child[b-wpouix0fwg] { border-bottom: 0; }
.hs-label[b-wpouix0fwg] { color: #c9d0e8; }
.hs-value[b-wpouix0fwg] { color: #f4dca0; font-weight: 700; }
.hs-meter[b-wpouix0fwg] {
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(0,0,0,0.3);
    border-radius: 6px;
    font-family: "Consolas", monospace;
    text-align: center;
    color: #d6b260;
    font-size: 13px;
}

.hs-coming[b-wpouix0fwg] {
    max-width: 480px;
    margin: 0 auto;
    padding: 14px 16px;
    background: rgba(184, 134, 11, 0.12);
    border: 1px dashed rgba(184, 134, 11, 0.5);
    border-radius: 10px;
    color: #d6b260;
    font-size: 12.5px;
    line-height: 1.7;
}
.hs-coming p[b-wpouix0fwg] { margin: 0; }
/* /Pages/Title.razor.rz.scp.css */
/* Title.razor scoped styles ── 世界観の核（Phase 1） */

/* 全体 ── 全画面・暗幕・タイポ */
.tt-screen[b-6c3jo57y9g] {
    position: relative;
    min-height: 100vh;
    color: #f5e9c8;
    overflow: hidden;
    font-family: "Yu Gothic", "Hiragino Sans", "Meiryo", "Segoe UI", sans-serif;
}

/* 背景画像（cover）── AI生成タイトル画 */
.tt-bg[b-6c3jo57y9g] {
    position: absolute; inset: 0;
    background-image: url('/images/ui/bg_title_new.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    /* 軽く呼吸する（オーケストラと合う） */
    animation: tt-breath-b-6c3jo57y9g 14s ease-in-out infinite;
}
@keyframes tt-breath-b-6c3jo57y9g {
    0%, 100% { transform: scale(1.00); filter: brightness(1.00); }
    50%      { transform: scale(1.03); filter: brightness(1.06); }
}

/* 下から上への暗幕：文字とメニューを読みやすく */
.tt-overlay[b-6c3jo57y9g] {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(13,17,40,0.10) 0%, rgba(13,17,40,0.55) 70%),
        linear-gradient(to bottom, rgba(13,17,40,0.35) 0%, rgba(13,17,40,0.80) 100%);
    z-index: 1;
    pointer-events: none;
}

/* ヘッダー（ロゴ＋サブタイトル） */
.tt-header[b-6c3jo57y9g] {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 8vh 16px 16px;
}
.tt-crest[b-6c3jo57y9g] {
    color: #d6b260;
    letter-spacing: 8px;
    font-size: 12px;
    margin-bottom: 8px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}
.tt-logo[b-6c3jo57y9g] {
    font-size: clamp(34px, 6vw, 64px);
    margin: 0;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #f4dca0;
    text-shadow:
        0 2px 4px rgba(0,0,0,0.95),
        0 0 24px rgba(244, 220, 160, 0.35);
    animation: tt-glow-b-6c3jo57y9g 4.5s ease-in-out infinite;
}
@keyframes tt-glow-b-6c3jo57y9g {
    0%, 100% { text-shadow: 0 2px 4px rgba(0,0,0,0.95), 0 0 24px rgba(244, 220, 160, 0.30); }
    50%      { text-shadow: 0 2px 6px rgba(0,0,0,1.00), 0 0 36px rgba(244, 220, 160, 0.55); }
}
.tt-sub[b-6c3jo57y9g] {
    color: #c9d0e8;
    font-size: 14px;
    margin: 6px 0 0;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

/* ログインカード（未連携時） */
.tt-login[b-6c3jo57y9g] {
    position: relative;
    z-index: 2;
    max-width: 420px;
    margin: 24px auto 0;
    padding: 22px 22px 18px;
    background: rgba(13, 17, 40, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(184, 134, 11, 0.45);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.55);
    text-align: center;
}
.tt-login-prompt[b-6c3jo57y9g] { color: #c9d0e8; margin: 0 0 12px; font-size: 13px; }
.tt-input[b-6c3jo57y9g] {
    width: 100%;
    padding: 11px 12px;
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(184, 134, 11, 0.5);
    border-radius: 8px;
    color: #f5e9c8;
    font-size: 14px;
    letter-spacing: 0.02em;
    text-align: center;
}
.tt-input[b-6c3jo57y9g]::placeholder { color: #7a82a8; }
.tt-cta[b-6c3jo57y9g] {
    margin-top: 12px;
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(90deg, #1A2D5C, #2a3f7a);
    border: 1px solid #d6b260;
    color: #f4dca0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.18s ease;
}
.tt-cta:hover:not(:disabled)[b-6c3jo57y9g] {
    filter: brightness(1.15);
    box-shadow: 0 0 16px rgba(244, 220, 160, 0.45);
}
.tt-cta:disabled[b-6c3jo57y9g] { opacity: 0.55; cursor: not-allowed; }
.tt-link-out[b-6c3jo57y9g] {
    display: inline-block;
    margin-top: 10px;
    color: #d6b260;
    font-size: 12px;
    text-decoration: none;
    opacity: 0.9;
}
.tt-link-out:hover[b-6c3jo57y9g] { text-decoration: underline; opacity: 1; }
.tt-err[b-6c3jo57y9g] {
    margin: 10px 0 0;
    color: #ff9a9a;
    font-size: 13px;
}

/* メニュー（9個） */
.tt-menu[b-6c3jo57y9g] {
    position: relative;
    z-index: 2;
    max-width: 520px;
    margin: 24px auto 8px;
    padding: 18px;
    display: grid;
    gap: 8px;
    background: rgba(13, 17, 40, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(184, 134, 11, 0.35);
    border-radius: 14px;
    box-shadow: 0 10px 36px rgba(0,0,0,0.65);
}

.mi[b-6c3jo57y9g] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    background: rgba(26, 45, 92, 0.65);
    color: #f5e9c8;
    border: 1px solid rgba(184, 134, 11, 0.30);
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    font-size: 15px;
    font-family: inherit;
}
.mi:hover[b-6c3jo57y9g] {
    background: rgba(38, 60, 120, 0.85);
    border-color: #d6b260;
    transform: translateX(4px);
    box-shadow: 0 0 18px rgba(244, 220, 160, 0.30);
}
.mi:active[b-6c3jo57y9g] { transform: translateX(2px) scale(0.99); }

.mi-icon[b-6c3jo57y9g] { font-size: 20px; min-width: 26px; text-align: center; }
.mi-label[b-6c3jo57y9g] { flex: 1; font-weight: 600; letter-spacing: 0.02em; }
.mi-meta[b-6c3jo57y9g] {
    font-size: 11px;
    color: #c9d0e8;
    opacity: 0.85;
    padding: 2px 8px;
    background: rgba(0,0,0,0.25);
    border-radius: 999px;
}

/* 主力 CTA（新しい物語を開始）── 一段大きく＋金色グラデ */
.mi-featured[b-6c3jo57y9g] {
    padding: 14px 18px;
    font-size: 17px;
    background: linear-gradient(90deg, rgba(38, 60, 120, 0.9), rgba(184, 134, 11, 0.35));
    border-color: #f4dca0;
    box-shadow: 0 0 18px rgba(244, 220, 160, 0.20);
}
.mi-featured .mi-label[b-6c3jo57y9g] { font-weight: 800; }
.mi-featured:hover[b-6c3jo57y9g] {
    background: linear-gradient(90deg, rgba(50, 78, 150, 0.95), rgba(214, 154, 21, 0.50));
    box-shadow: 0 0 28px rgba(244, 220, 160, 0.55);
}

/* Coming Soon ── 薄め＋小バッジ */
.mi-dim[b-6c3jo57y9g] { opacity: 0.62; }
.mi-dim:hover[b-6c3jo57y9g] {
    opacity: 0.85;
    transform: translateX(2px);
    box-shadow: 0 0 12px rgba(244, 220, 160, 0.20);
}
.mi-badge[b-6c3jo57y9g] {
    font-size: 10px;
    background: rgba(184, 134, 11, 0.55);
    color: #fff8e6;
    padding: 3px 8px;
    border-radius: 999px;
    letter-spacing: 0.06em;
    border: 1px solid rgba(244, 220, 160, 0.5);
}

/* ログイン後の挨拶＋ログアウト */
.tt-greeting[b-6c3jo57y9g] {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #c9d0e8;
    font-size: 13px;
    padding: 8px 16px 18px;
}
.tt-bond[b-6c3jo57y9g] { color: #d6b260; }
.tt-logout[b-6c3jo57y9g] {
    margin-left: 14px;
    padding: 4px 12px;
    background: transparent;
    color: #c9d0e8;
    border: 1px solid rgba(201, 208, 232, 0.4);
    border-radius: 999px;
    cursor: pointer;
    font-size: 11px;
    font-family: inherit;
    transition: all 0.18s ease;
}
.tt-logout:hover[b-6c3jo57y9g] { color: #ff9a9a; border-color: #ff9a9a; }

/* トースト（Coming Soon 連打用） */
.tt-toast[b-6c3jo57y9g] {
    position: fixed;
    left: 50%;
    bottom: 56px;
    transform: translateX(-50%);
    z-index: 10;
    padding: 12px 22px;
    background: rgba(13, 17, 40, 0.92);
    color: #f5e9c8;
    border: 1px solid #d6b260;
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 0.02em;
    box-shadow: 0 12px 32px rgba(0,0,0,0.6);
    animation: tt-toast-in-b-6c3jo57y9g 0.25s ease both;
}
@keyframes tt-toast-in-b-6c3jo57y9g {
    from { opacity: 0; transform: translate(-50%, 8px); }
    to   { opacity: 1; transform: translate(-50%, 0);   }
}

/* クレジット（小・右下） */
.tt-credits[b-6c3jo57y9g] {
    position: absolute;
    right: 14px;
    bottom: 10px;
    z-index: 2;
    font-size: 10.5px;
    color: rgba(201, 208, 232, 0.55);
    letter-spacing: 0.03em;
}

/* モバイル：横余白とロゴサイズの微調整 */
@media (max-width: 520px) {
    .tt-header[b-6c3jo57y9g] { padding-top: 6vh; }
    .tt-menu[b-6c3jo57y9g] { max-width: calc(100% - 24px); margin-left: 12px; margin-right: 12px; padding: 14px; }
    .mi[b-6c3jo57y9g] { padding: 12px 12px; font-size: 14px; }
    .mi-featured[b-6c3jo57y9g] { font-size: 16px; padding: 13px 14px; }
    .tt-credits[b-6c3jo57y9g] { font-size: 10px; right: 8px; bottom: 6px; }
}
