:root {
    --bg-color: #0a0b1e;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-main: #e0e6ed;
    --text-muted: #94a3b8;
    --accent-blue: #a5f3fc;
    --accent-glow: rgba(165, 243, 252, 0.2);
    --accent-warm: #fda4af;
    --font-serif: "Noto Serif JP", "Shippori Mincho", "MS PMincho", serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-serif);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

.bg-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: 
        radial-gradient(circle at 10% 10%, rgba(165, 243, 252, 0.04) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(253, 164, 175, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(100, 120, 200, 0.02) 0%, transparent 60%);
    pointer-events: none;
    animation: bgPulse 30s ease-in-out infinite alternate;
}

@keyframes bgPulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

/* ============================================
   V4: ライブ・プレゼンス（背景のOrbs）
   ============================================ */
.orb-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.presence-orb {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    mix-blend-mode: soft-light;
    animation: drift 60s linear infinite alternate;
}

.orb-1 {
    background: radial-gradient(circle, rgba(165, 243, 252, 0.4) 0%, transparent 70%);
    top: -200px; left: -100px;
}

.orb-2 {
    background: radial-gradient(circle, rgba(253, 164, 175, 0.3) 0%, transparent 70%);
    bottom: -150px; right: -50px;
    animation-delay: -15s;
    animation-duration: 45s;
}

.orb-3 {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    top: 40%; left: 30%;
    animation-delay: -30s;
    animation-duration: 80s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 150px) scale(1.1); }
}

/* 全体パルス演出 */
.sync-flash {
    animation: flashMask 1.2s ease-out;
}

@keyframes flashMask {
    0% { background: rgba(253, 164, 175, 0); }
    30% { background: rgba(253, 164, 175, 0.1); }
    100% { background: rgba(253, 164, 175, 0); }
}

/* ============================================
   宇宙モード：浮遊する不均一カード
   ============================================ */
.voice-card {
    position: absolute;
    background: rgba(15, 16, 40, 0.65);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.2rem;
    border-radius: 3px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    width: 280px;
    opacity: 0;
    cursor: pointer;
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    animation: floatDrift 30s linear infinite;
    z-index: 5;
    overflow: hidden;
    user-select: none;
}

/* ---- V4: 宇宙の封印（ロック状態） ---- */
.is-locked .voice-card {
    filter: blur(25px) grayscale(0.8) opacity(0.5);
    pointer-events: none;
    transform: scale(0.95);
}

/* ---- V4.2: Twin Stars (属性演出) ---- */

/* 浄化（本音）: デフォルトの青白い静かな色調 */
.voice-card.type-pain {
    border-left: 2px solid var(--accent-blue);
    background: rgba(30, 41, 59, 0.4);
}

/* 希望（夢）: 黄金の輝きと上昇感 */
.voice-card.type-dream {
    border-left: 2px solid var(--accent-warm);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(217, 119, 6, 0.05));
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.1);
    animation: floatRise 45s linear infinite !important; /* ゆっくり上昇 */
}

.voice-card.type-dream .card-name {
    color: var(--accent-warm);
}

.voice-card.type-dream::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: inset 0 0 15px rgba(251, 191, 36, 0.05);
    pointer-events: none;
}

/* ロック状態でのボタン中央配置（誘導強化） */
.is-locked .simulate-btn {
    position: fixed;
    bottom: auto; right: auto;
    top: 80%; left: 50%;
    transform: translate(-50%, -50%);
    padding: 1rem 2.8rem;
    font-size: 1.1rem;
    background: rgba(253, 164, 175, 0.15);
    border-color: var(--accent-warm);
    color: var(--accent-warm);
    box-shadow: 0 0 40px rgba(253, 164, 175, 0.2);
    z-index: 1000;
}

.is-locked .simulate-btn:hover {
    background: rgba(253, 164, 175, 0.25);
    box-shadow: 0 0 60px rgba(253, 164, 175, 0.4);
    transform: translate(-50%, -52%);
}

/* ロック中は表示切り替えを隠す (裏口の封鎖) */
.is-locked .mode-toggle {
    display: none;
}

/* 万が一表示された場合の一覧モードの封印 */
.is-locked #list-view {
    filter: blur(35px);
    pointer-events: none;
    opacity: 0.3;
}

/* 北極星は封印の影響を受けない */
.polaris-banner {
    filter: none !important;
}

/* ---- サイズバリエーション ---- */
.voice-card.tiny {
    width: 160px;
    padding: 0.8rem;
}

.voice-card.short {
    width: 220px;
    padding: 1rem;
}

.voice-card.medium-long {
    width: 340px;
    padding: 1.3rem;
}

.voice-card.long {
    width: 400px;
    padding: 1.4rem 1.5rem;
}

.voice-card:hover {
    background: rgba(20, 25, 60, 0.9);
    border-color: rgba(165, 243, 252, 0.3);
    z-index: 100;
    cursor: grab;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6), 0 0 15px var(--accent-glow);
}

.voice-card:active { cursor: grabbing; }

.voice-card.expanded {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) rotate(0deg) !important;
    width: 90vw !important;
    max-width: 600px !important;
    height: auto !important;
    max-height: 80vh !important;
    z-index: 5000 !important;
    padding: 3rem !important;
    background: rgba(15, 17, 45, 0.98) !important;
    border: 1px solid var(--accent-blue) !important;
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.9), 0 0 40px rgba(165, 243, 252, 0.2) !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: default;
}

.voice-card.expanded .message {
    font-size: 1.1rem !important;
    line-height: 2 !important;
    overflow-y: auto;
    padding-right: 1rem;
    max-height: 50vh;
}

.voice-card.expanded .handle {
    font-size: 0.9rem !important;
    margin-bottom: 1.5rem;
}

.voice-card.expanded .meta {
    margin-top: 1.5rem;
    font-size: 0.8rem !important;
}

.voice-card.expanded::-webkit-scrollbar { width: 4px; }
.voice-card.expanded::-webkit-scrollbar-thumb { background: var(--accent-blue); }

.voice-card .handle {
    font-size: 0.72rem;
    color: var(--accent-blue);
    margin-bottom: 0.7rem;
    letter-spacing: 0.12em;
    opacity: 0.8;
}

.voice-card .message {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.voice-card.tiny .message {
    -webkit-line-clamp: 2;
    line-clamp: 2;
    line-height: 1.6;
}

.voice-card.expanded .message {
    -webkit-line-clamp: unset;
    line-clamp: unset;
}

.voice-card .meta {
    margin-top: 0.6rem;
    font-size: 0.68rem;
    color: var(--text-muted);
    display: flex;
    gap: 0.8rem;
    opacity: 0.6;
}

/* ---- V3: 審査・配慮レイヤー ---- */
.word-blur {
    filter: blur(8px);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    padding: 0 6px;
    border-radius: 2px;
    cursor: help;
}

.word-blur:hover {
    filter: blur(0);
    background: transparent;
}

.medical-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.55rem;
    background: rgba(165, 243, 252, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(165, 243, 252, 0.3);
    padding: 1px 5px;
    border-radius: 2px;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

/* 審査中（保留）のパルス演出 */
.voice-card.pending {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.2);
    animation: cardPulse 2s infinite ease-in-out;
}

@keyframes cardPulse {
    0% { opacity: 0.3; transform: scale(0.98); }
    50% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 0.3; transform: scale(0.98); }
}

/* ---- 新規投稿ハイライト ---- */
.voice-card.new-post {
    border-color: var(--accent-warm);
    box-shadow: 0 0 40px rgba(253, 164, 175, 0.3);
}

/* ============================================
   ヘッダー・キーワード
   ============================================ */
.master-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(10, 11, 30, 0.98), rgba(10, 11, 30, 0.85));
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(165, 243, 252, 0.08);
    padding: 1.2rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.5s ease;
}

.project-title {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    color: var(--text-main);
    text-shadow: 0 0 20px rgba(165, 243, 252, 0.2);
    margin-bottom: 0.2rem;
}

.header-sub {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.hope-badge {
    font-size: 0.72rem;
    color: var(--accent-warm);
    letter-spacing: 0.15em;
    opacity: 0.85;
}

/* V4.5: Sacred Manifesto Section */
.sacred-manifesto {
    margin-top: 1rem;
    max-width: 850px;
    text-align: center;
    border-top: 1px solid rgba(165, 243, 252, 0.05);
    padding-top: 1.2rem;
    animation: manifestoFadeIn 2.5s ease-out forwards;
}

@keyframes manifestoFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 0.85; transform: translateY(0); }
}

.manifesto-lead {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-main);
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
}

.manifesto-call {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    letter-spacing: 0.08em;
}

.manifesto-call .highlight {
    color: var(--accent-warm);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(253, 164, 175, 0.2);
}

.disclaimer-note {
    font-size: 0.65rem;
    opacity: 0.5;
    display: block;
}

/* 一覧モード時は空間を広く使うためにマニフェストを非表示 */
.list-mode .sacred-manifesto {
    display: none !important;
}

.list-mode .master-header {
    padding: 0.7rem 1rem;
}

/* ============================================
   V4: 今日の北極星（共鳴の道標）
   ============================================ */
.polaris-banner {
    margin-top: 1.5rem;
    width: 100%;
    text-align: center;
    z-index: 50;
    pointer-events: none;
    opacity: 0;
    transition: all 0.8s ease;
    animation: polarisFadeIn 3s forwards 2s;
    border-top: 1px dashed rgba(165, 243, 252, 0.1);
    padding-top: 1.5rem;
}

.polaris-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.label-jp {
    font-size: 0.85rem;
    color: var(--accent-blue);
    letter-spacing: 0.3em;
    font-weight: 600;
    text-shadow: 0 0 15px rgba(165, 243, 252, 0.4);
}

.label-en {
    font-size: 0.55rem;
    color: var(--text-muted);
    letter-spacing: 0.4em;
    opacity: 0.6;
}

.list-mode .polaris-banner {
    display: none !important;
}

@keyframes polarisFadeIn {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

.polaris-label {
    font-size: 0.65rem;
    color: var(--accent-blue); /* 希望力（暖色）と分けるために寒色（Celestial Blue）を採用 */
    letter-spacing: 0.4em;
    margin-bottom: 0.8rem;
    display: block;
    opacity: 0.7;
    text-shadow: 0 0 10px rgba(165, 243, 252, 0.3);
}

.polaris-voice {
    font-size: 1.15rem;
    color: var(--text-main);
    font-family: var(--font-serif);
    max-width: 80%;
    margin: 0 auto;
    line-height: 1.8;
    letter-spacing: 0.15em;
    opacity: 0.95;
    text-shadow: 0 0 20px rgba(0,0,0,0.9);
    display: inline-block;
    line-break: relaxed;
}

.disclaimer-content {
    font-size: 0.72rem;
    color: var(--text-muted);
    max-width: 1000px;
    margin: 0 auto;
    letter-spacing: 0.08em;
    line-height: 1.8;
    opacity: 0.9;
}

.disclaimer-content b {
    color: var(--accent-blue);
    font-weight: 600;
}

.project-header h1 {
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    color: var(--text-main);
    border-left: 1px solid var(--accent-blue);
    padding-left: 1.3rem;
    opacity: 0.85;
}

.keyword-cluster {
    position: fixed;
    right: 0; top: 0;
    height: 100vh;
    width: 180px;
    padding: 8vh 1.8rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    z-index: 30;
    background: linear-gradient(to left, rgba(10, 11, 30, 0.85), transparent);
    display: none; /* 宇宙空間からタグを削除し、純粋な共鳴空間へ */
}

.keyword-cluster::-webkit-scrollbar { width: 2px; }
.keyword-cluster::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 10px;
}

.keyword {
    font-size: 0.82rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    opacity: 0.45;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.keyword:hover, .keyword.active {
    opacity: 1;
    color: var(--accent-blue);
    transform: translateX(-8px);
    text-shadow: 0 0 12px var(--accent-glow);
}

.keyword.active { font-weight: 600; }

/* ============================================
   カウンター
   ============================================ */
.solidarity-counter {
    position: fixed;
    bottom: 2rem; right: 2rem;
    text-align: right;
    z-index: 40;
    padding: 0.8rem 1.2rem;
    background: rgba(10, 11, 30, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
}

.solidarity-counter .number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-blue);
    opacity: 0.7;
    font-family: var(--font-sans);
    margin-top: 0.2rem;
}

.solidarity-counter .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.5;
}

.phase-progress {
    margin-top: 0.8rem;
    min-width: 140px;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.phase-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    opacity: 0.7;
    margin-bottom: 0.35rem;
    letter-spacing: 0.03em;
}

.phase-label strong {
    color: var(--accent-warm);
    font-weight: 600;
}

.phase-bar-wrap {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.3rem;
}

.phase-bar {
    height: 100%;
    background: linear-gradient(to right, var(--accent-blue), var(--accent-warm));
    border-radius: 2px;
    transition: width 1s ease;
    min-width: 2px;
}

.phase-desc {
    font-size: 0.62rem;
    color: var(--text-muted);
    opacity: 0.4;
    letter-spacing: 0.05em;
}

/* ============================================
   シミュレートボタン
   ============================================ */
.simulate-btn {
    position: fixed;
    bottom: 12rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.65rem 1.6rem;
    cursor: pointer;
    z-index: 100;
    font-family: var(--font-serif);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(253, 164, 175, 0.12);
    border-radius: 4px;
    transition: all 0.3s;
}

.simulate-btn:hover {
    background: rgba(253, 164, 175, 0.1);
    border-color: var(--accent-warm);
    color: var(--accent-warm);
}

/* ============================================
   モード切替トグル
   ============================================ */
.mode-toggle {
    position: fixed;
    bottom: 1.8rem; left: 1.8rem;
    display: flex;
    background: rgba(10, 11, 30, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.mode-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    padding: 0.65rem 1.6rem;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.08em;
    border-radius: 50px;
}

.mode-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.04);
}

.mode-btn.active {
    color: var(--accent-blue);
    background: rgba(165, 243, 252, 0.08);
}

/* ============================================
   一覧モード
   ============================================ */
#list-view {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 10;
    display: flex;
    flex-direction: column;
    padding: 1rem 3.5rem 5rem 3.5rem; /* ヘッダーがコンパクトになった分、バランス調整 */
    height: 100vh;
    overflow: hidden;
}

#list-view.hidden { display: none; }

.list-toolbar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: nowrap; /* タグが横に並ぶように */
    background: rgba(10, 11, 30, 0.95);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.list-filter {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto; /* タグが多い場合は横スクロール */
    padding-bottom: 5px;
    flex: 1;
}

.list-filter::-webkit-scrollbar { height: 2px; }
.list-filter::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); }

.filter-tag {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 0.25rem 0.8rem;
    cursor: pointer;
    transition: all 0.25s;
}

.filter-tag:hover {
    border-color: var(--accent-blue);
    color: var(--text-main);
}

.filter-tag.active {
    background: rgba(165, 243, 252, 0.12);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.list-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: auto;
    opacity: 0.6;
}

.list-scroll {
    flex: 1;
    overflow-y: auto;
    padding-right: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 220px;
    gap: 1.2rem;
    align-content: start;
}

.list-scroll::-webkit-scrollbar { width: 3px; }
.list-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.list-item {
    background: rgba(15, 16, 40, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    padding: 1.3rem;
    transition: border-color 0.3s, background 0.3s;
    cursor: pointer;
    height: 220px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.list-item::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48px;
    background: linear-gradient(to bottom, rgba(15, 16, 40, 0), rgba(15, 16, 40, 0.85));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.list-item.is-clamped::after {
    opacity: 1;
}

.list-item:hover {
    border-color: rgba(165, 243, 252, 0.2);
    background: rgba(20, 22, 50, 0.7);
}

/* ============================================
   X シェアボタン（宇宙モード展開カード・一覧展開共通）
   ============================================ */
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
    padding: 0.45rem 1rem;
    font-size: 0.75rem;
    font-family: inherit;
    letter-spacing: 0.08em;
    color: var(--accent-blue);
    border: 1px solid rgba(165, 243, 252, 0.25);
    border-radius: 20px;
    background: rgba(165, 243, 252, 0.06);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    align-self: flex-start;
}

.share-btn:hover {
    background: rgba(165, 243, 252, 0.14);
    border-color: rgba(165, 243, 252, 0.5);
}

.share-btn svg {
    width: 13px;
    height: 13px;
    fill: var(--accent-blue);
    flex-shrink: 0;
}

/* ============================================
   ハンドル名クリック可能スタイル
   ============================================ */
.handle-clickable {
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
    transition: opacity 0.2s;
}

.handle-clickable:hover {
    opacity: 1;
    color: var(--accent-blue);
}

/* ============================================
   ハンドル履歴モーダル
   ============================================ */
.handle-history-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 520px;
    max-height: 75vh;
    z-index: 5100;
    background: rgba(10, 12, 35, 0.98);
    border: 1px solid rgba(165, 243, 252, 0.2);
    border-radius: 6px;
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.9), 0 0 30px rgba(165, 243, 252, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hh-header {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    padding: 1.5rem 1.8rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.hh-handle {
    font-size: 1rem;
    color: var(--accent-blue);
    letter-spacing: 0.1em;
    font-weight: 600;
}

.hh-count {
    font-size: 0.72rem;
    color: var(--text-muted);
    opacity: 0.6;
}

.hh-list {
    overflow-y: auto;
    padding: 1rem 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.hh-list::-webkit-scrollbar { width: 3px; }
.hh-list::-webkit-scrollbar-thumb { background: rgba(165, 243, 252, 0.15); border-radius: 10px; }

.hh-item {
    padding: 0.9rem 1rem;
    border-radius: 3px;
    border-left: 2px solid rgba(165, 243, 252, 0.3);
    background: rgba(255, 255, 255, 0.02);
}

.hh-item.type-dream {
    border-left-color: rgba(253, 164, 175, 0.4);
}

.hh-type-tag {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    color: var(--accent-blue);
    opacity: 0.5;
    display: block;
    margin-bottom: 0.4rem;
}

.hh-item.type-dream .hh-type-tag {
    color: var(--accent-warm);
}

.hh-message {
    font-size: 0.88rem;
    line-height: 1.8;
    color: var(--text-main);
    margin: 0;
}

.hh-meta {
    font-size: 0.62rem;
    color: var(--text-muted);
    opacity: 0.4;
    display: block;
    margin-top: 0.4rem;
}

.hh-close {
    margin: 0.8rem 1.8rem 1.2rem;
    padding: 0.5rem;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: var(--text-muted);
    font-size: 0.78rem;
    cursor: pointer;
    letter-spacing: 0.08em;
    transition: border-color 0.2s, color 0.2s;
    flex-shrink: 0;
}

.hh-close:hover {
    border-color: rgba(165, 243, 252, 0.3);
    color: var(--text-main);
}

.list-item-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 4900;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.list-item-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

/* 一覧モード：展開モーダル（body 直下に生成・stacking context 問題を回避） */
.list-expand-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 600px;
    height: auto;
    max-height: 80vh;
    z-index: 5000;
    padding: 2.5rem;
    background: rgba(15, 17, 45, 0.98);
    border: 1px solid var(--accent-blue);
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.9), 0 0 40px rgba(165, 243, 252, 0.2);
    overflow-y: auto;
    cursor: default;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
}

.list-expand-modal .handle {
    font-size: 0.72rem;
    color: var(--accent-blue);
    margin-bottom: 0.8rem;
    letter-spacing: 0.08em;
    opacity: 0.7;
}

.list-expand-modal .message {
    font-size: 1rem;
    line-height: 2;
    color: var(--text-main);
    display: block;
    overflow: visible;
    flex: 1;
}

.list-expand-modal .meta {
    margin-top: 0.8rem;
    font-size: 0.65rem;
    color: var(--text-muted);
    display: flex;
    gap: 0.8rem;
    opacity: 0.5;
}

.list-expand-modal .tags {
    margin-top: 0.6rem;
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.list-expand-modal .tag-label {
    font-size: 0.6rem;
    color: var(--accent-blue);
    opacity: 0.4;
    background: rgba(165, 243, 252, 0.04);
    padding: 0.12rem 0.45rem;
    border-radius: 2px;
}

.list-item .handle {
    font-size: 0.72rem;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
    letter-spacing: 0.08em;
    opacity: 0.7;
}

.list-item .message {
    font-size: 0.88rem;
    line-height: 1.8;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    min-height: 0;
}

.list-item .meta {
    margin-top: 0.7rem;
    font-size: 0.65rem;
    color: var(--text-muted);
    display: flex;
    gap: 0.8rem;
    opacity: 0.5;
}

.list-item .tags {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.list-item .tag-label {
    font-size: 0.6rem;
    color: var(--accent-blue);
    opacity: 0.4;
    background: rgba(165, 243, 252, 0.04);
    padding: 0.12rem 0.45rem;
    border-radius: 2px;
}

/* ============================================
   アニメーション
   ============================================ */
@keyframes floatDrift {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.92);
    }
    8% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    25% {
        opacity: 1;
        transform: translateY(-10px) translateX(6px) scale(1.005);
    }
    50% {
        opacity: 1;
        transform: translateY(-6px) translateX(-5px) scale(1.01);
    }
    75% {
        opacity: 1;
        transform: translateY(-12px) translateX(4px) scale(1.005);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.voice-card.resonating {
    animation-play-state: paused;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   魂のフィードバック（モーダル）
   ============================================ */
#modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(5, 6, 20, 0.9);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#modal-overlay.active {
    display: flex;
    opacity: 1;
}

.feedback-modal {
    background: rgba(15, 16, 40, 0.95);
    border: 1px solid var(--accent-warm);
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 0 60px rgba(253, 164, 175, 0.15);
}

.feedback-modal h2 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--accent-warm);
    letter-spacing: 0.2em;
}
@keyframes floatRise {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
    5% { opacity: 0.9; }
    90% { opacity: 0.9; }
    100% { transform: translate(150px, -1500px) rotate(15deg); opacity: 0; }
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-4px); }
    40% { transform: translateX(4px); }
    60% { transform: translateX(-2px); }
    80% { transform: translateX(2px); }
}

.feedback-content {
    font-size: 1rem;
    line-height: 2;
    color: var(--text-main);
    margin-bottom: 2rem;
    font-weight: 300;
}

.feedback-modal .close-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-muted);
    padding: 0.6rem 1.5rem;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.feedback-modal .close-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* ============================================
   V4: 本音投稿フォーム（インライン）
   ============================================ */
.post-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(5, 6, 20, 0.95);
    backdrop-filter: blur(20px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.post-overlay.active {
    display: flex;
    opacity: 1;
}

.post-form {
    background: rgba(15, 16, 40, 0.9);
    border: 1px solid rgba(165, 243, 252, 0.2);
    padding: 3.5rem;
    max-width: 1000px; /* 横幅を広げて思想を伝えやすく */
    width: 95%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 100px rgba(0, 0, 0, 0.8);
    overflow-y: auto;
}

.post-form-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

/* ---- 思想・マニフェストエリア ---- */
.post-manifesto {
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    padding-right: 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.manifesto-section p {
    margin-bottom: 1.2rem;
    opacity: 0.9;
}

.manifesto-section .note {
    font-size: 0.75rem;
    color: var(--accent-warm);
    opacity: 0.8;
    margin-top: 1.5rem;
}

.roadmap-section h4 {
    font-size: 0.85rem;
    color: var(--accent-blue);
    margin-bottom: 1.2rem;
    letter-spacing: 0.1em;
}

.roadmap-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.roadmap-list li {
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
}

.roadmap-list li span {
    font-size: 0.65rem;
    background: rgba(165, 243, 252, 0.08);
    color: var(--accent-blue);
    border: 1px solid rgba(165, 243, 252, 0.3);
    padding: 2px 8px;
    border-radius: 3px;
    min-width: 65px;
    text-align: center;
}

.post-intro-manifesto {
    margin-bottom: 2.5rem;
    padding: 0 1rem;
    line-height: 1.8;
}

.post-intro-manifesto p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    letter-spacing: 0.02em;
}

.post-form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.post-form-header h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    letter-spacing: 0.05em;
    font-family: var(--font-serif);
}

/* ---- Mode Selector ---- */
.post-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.type-tab {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    color: var(--text-muted);
}

.type-tab strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    font-family: var(--font-serif);
    margin-bottom: 0.1rem;
}

.type-tab small {
    display: block;
    font-size: 0.7rem;
    opacity: 0.5;
    letter-spacing: 0.05em;
    font-family: var(--font-serif);
}

/* Active State: Purification */
.type-tab[data-type="pain"].active {
    background: rgba(165, 243, 252, 0.08);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(165, 243, 252, 0.1);
}

/* Active State: Hope */
.type-tab[data-type="dream"].active {
    background: rgba(251, 191, 36, 0.08);
    border-color: var(--accent-warm);
    color: var(--accent-warm);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.1);
}

.post-form-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.post-fields {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.field-item {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.field-item label {
    font-size: 0.72rem;
    color: var(--accent-blue);
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.field-item textarea, 
.field-item input,
.field-item select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-main);
    padding: 0.8rem;
    font-family: var(--font-serif);
    font-size: 0.95rem;
    transition: all 0.3s;
}

.field-item textarea {
    height: 151px;
    resize: none;
    line-height: 1.8;
}

.field-item textarea:focus, 
.field-item input:focus,
.field-item select:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(165, 243, 252, 0.05);
    box-shadow: 0 0 15px rgba(165, 243, 252, 0.1);
}

/* Validation Error State */
.field-item.is-error input,
.field-item.is-error textarea {
    border-color: rgba(239, 68, 68, 0.5) !important;
    background: rgba(239, 68, 68, 0.03) !important;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.2) !important;
    animation: errorShake 0.4s cubic-bezier(.36,.07,.19,.97) both;
}

.post-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center; /* 右サイドの真ん中にバランスよく配置 */
    gap: 1.5rem;
    align-items: center;
}

.post-actions button {
    padding: 0.8rem 2.5rem;
    font-family: var(--font-serif);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 4px;
    letter-spacing: 0.1em;
}

.cancel-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-muted);
    padding: 0.5rem 1.5rem !important; /* 戻るボタンを少し小さく */
    font-size: 0.75rem !important;
}

.cancel-btn:hover {
    border-color: var(--text-muted);
    color: var(--text-main);
}

.submit-btn {
    background: var(--accent-blue);
    color: #050614;
    border: none;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(165, 243, 252, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(165, 243, 252, 0.5);
    filter: brightness(1.1);
}

.submit-btn:active {
    transform: translateY(0);
}

/* ============================================
   Category Cloud Modal (V4.4)
   ============================================ */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 1rem;
}

.cloud-tag {
    font-size: 0.85rem;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.6rem 1.4rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-serif);
    letter-spacing: 0.05em;
}

.cloud-tag:hover {
    border-color: var(--accent-blue);
    background: rgba(165, 243, 252, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.cloud-tag.active {
    border-color: var(--accent-blue);
    background: rgba(165, 243, 252, 0.15);
    color: var(--accent-blue);
    font-weight: 600;
}

.tag-menu-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent-blue);
    font-size: 0.72rem;
    padding: 0.45rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-serif) !important; /* セリフ体への統一 */
    transition: all 0.3s;
    letter-spacing: 0.12em;
    opacity: 0.8;
}

.tag-menu-btn:hover {
    background: rgba(165, 243, 252, 0.08);
    border-color: var(--accent-blue);
    opacity: 1;
}

/* ============================================
   モバイルファースト
   ============================================ */
@media (max-width: 768px) {

    /* --- ベース --- */
    body {
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
    }

    /* --- ヘッダー --- */
    .master-header {
        position: sticky;
        top: 0;
        text-align: left;
        padding: 1.2rem 1.2rem 1rem;
        gap: 0.5rem;
    }

    .project-title {
        font-size: 1.3rem;
        letter-spacing: 0.08em;
        line-height: 1.5;
    }

    .header-sub {
        align-items: flex-start;
    }

    .hope-badge {
        font-size: 0.68rem;
    }

    /* マニフェストは非表示 */
    .sacred-manifesto { display: none; }
    .polaris-banner { display: none !important; }

    /* --- 宇宙モードは非表示 --- */
    #voices-container { display: none !important; }
    .mode-toggle { display: none; }

    /* --- 声の件数カウンター：投稿ボタンの真上に固定 --- */
    .solidarity-counter {
        position: fixed;
        bottom: 60px;
        left: 0;
        right: 0;
        text-align: left;
        padding: 0.6rem 1.2rem;
        background: rgba(10, 11, 30, 0.97);
        border: none;
        border-top: 1px solid rgba(165, 243, 252, 0.08);
        border-radius: 0;
        margin-top: 0;
        z-index: 190;
        backdrop-filter: blur(12px);
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }

    .solidarity-counter .number {
        font-size: 1.4rem;
        display: inline;
        margin-right: 0;
        margin-top: 0;
        flex-shrink: 0;
    }

    .solidarity-counter .label {
        font-size: 0.7rem;
        display: inline;
    }

    .solidarity-counter .phase-progress {
        flex: 1;
        margin-top: 0;
        padding-top: 0;
        border-top: none;
        min-width: 0;
    }

    .solidarity-counter .phase-label {
        font-size: 0.65rem;
        margin-bottom: 0.2rem;
    }

    .solidarity-counter .phase-desc {
        display: none;
    }

    /* --- 一覧ビュー --- */
    #list-view {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
        padding: 0 0 8rem 0 !important;
    }

    .list-toolbar {
        margin: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 0.8rem 1.2rem;
        gap: 0.8rem;
    }

    .list-count {
        white-space: nowrap;
    }

    .list-scroll {
        overflow-y: visible !important;
        height: auto !important;
        grid-template-columns: 1fr !important;
        padding: 0.8rem 1.2rem;
        gap: 0.8rem;
    }

    .list-item {
        padding: 1rem;
    }

    .list-item .message {
        font-size: 0.9rem;
        line-height: 1.85;
    }

    /* --- 投稿ボタン：画面下部固定・全幅 --- */
    .simulate-btn {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
        text-align: center;
        padding: 1rem;
        font-size: 1rem;
        background: rgba(10, 11, 30, 0.97);
        border-top-color: rgba(253, 164, 175, 0.3);
        color: var(--accent-warm);
        letter-spacing: 0.15em;
        backdrop-filter: blur(12px);
        z-index: 200;
    }

    /* --- 投稿フォーム --- */
    .post-overlay {
        align-items: flex-end;
    }

    .post-form {
        max-height: 95vh;
        overflow-y: auto;
        padding: 1.5rem !important;
        border-radius: 12px 12px 0 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .field-row {
        flex-direction: column;
        gap: 0.8rem;
    }

    #app {
        padding: 0;
    }
}

/* ============================================
   サイドドロワー
   ============================================ */

.menu-btn {
    position: fixed;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(165, 243, 252, 0.2);
    color: var(--accent-blue);
    font-size: 1.2rem;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    transition: background 0.2s, border-color 0.2s;
}

.menu-btn:hover {
    background: rgba(165, 243, 252, 0.12);
    border-color: rgba(165, 243, 252, 0.5);
}

.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.drawer-backdrop.open {
    opacity: 1;
    pointer-events: all;
}

.side-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: min(420px, 92vw);
    height: 100dvh;
    background: rgba(10, 11, 30, 0.97);
    border-right: 1px solid rgba(165, 243, 252, 0.15);
    z-index: 2600;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    backdrop-filter: blur(20px);
}

.side-drawer.open {
    transform: translateX(0);
}

.drawer-close {
    position: sticky;
    top: 1rem;
    left: calc(100% - 3rem);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(165, 243, 252, 0.2);
    color: var(--text-muted);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 1rem 0 auto;
    transition: color 0.2s, border-color 0.2s;
}

.drawer-close:hover {
    color: var(--text-main);
    border-color: rgba(165, 243, 252, 0.5);
}

.drawer-content {
    padding: 0.5rem 2rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    line-height: 1.85;
    font-size: 0.9rem;
    color: var(--text-main);
}

.drawer-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.55;
    color: var(--accent-blue);
    letter-spacing: 0.03em;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(165, 243, 252, 0.12);
}

.drawer-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    border-left: 2px solid rgba(165, 243, 252, 0.3);
    padding-left: 0.8rem;
}

.drawer-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(165, 243, 252, 0.1);
    border-radius: 10px;
    padding: 1.2rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.drawer-section h3 {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    color: var(--accent-blue);
    text-transform: uppercase;
    opacity: 0.8;
}

.drawer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.drawer-section li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.88rem;
    line-height: 1.6;
}

.phase-tag {
    display: inline-block;
    background: rgba(165, 243, 252, 0.1);
    border: 1px solid rgba(165, 243, 252, 0.25);
    color: var(--accent-blue);
    font-size: 0.72rem;
    padding: 0.1em 0.55em;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 0.15em;
}

.pillar-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4em;
    height: 1.4em;
    border-radius: 50%;
    background: rgba(253, 164, 175, 0.15);
    border: 1px solid rgba(253, 164, 175, 0.3);
    color: var(--accent-warm);
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 0.15em;
}

.drawer-closing {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.9;
}

.drawer-cta {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-warm);
    text-align: center;
    padding: 0.8rem 0;
}

.drawer-legal {
    font-size: 0.72rem;
    color: rgba(148, 163, 184, 0.55);
    line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1rem;
}
