/* ============================================
   Boost - 点滴・サプリ記録機能
   ============================================ */

.boost-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f4ede4 100%);
    border-radius: 22px;
    padding: 24px 20px;
    box-shadow: var(--app-card-shadow);
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.boost-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at top right, rgba(201, 169, 110, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(201, 137, 154, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.boost-hero__chip {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--color-text-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.boost-hero__title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--color-text);
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.boost-hero__sub {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}

/* 今日のブースト記録 */
.boost-today {
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    box-shadow: var(--app-card-shadow);
    margin-bottom: 20px;
}

.boost-today__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.boost-today__label {
    font-family: var(--font-serif);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    color: var(--color-text-muted);
    text-transform: uppercase;
}

.boost-today__count {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.04em;
}

.boost-today__count-unit {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    margin-left: 4px;
    letter-spacing: 0.15em;
}

.boost-today__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.boost-today__chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    background: var(--color-bg-section);
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    color: var(--color-text);
    letter-spacing: 0.03em;
}

.boost-today__chip-emoji {
    font-size: 0.9rem;
}

.boost-today__empty {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-align: center;
    padding: 12px 0;
    letter-spacing: 0.05em;
}

/* カテゴリタブ */
.boost-cats {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}

.boost-cats::-webkit-scrollbar { display: none; }

.boost-cat {
    flex-shrink: 0;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    border-radius: var(--radius-pill);
    font-family: var(--font-serif);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.boost-cat:hover {
    color: var(--color-text);
}

.boost-cat.is-active {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(201, 137, 154, 0.25);
}

/* アイテムグリッド */
.boost-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

@media (min-width: 480px) {
    .boost-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.boost-item {
    background: #fff;
    border-radius: 16px;
    padding: 14px 12px;
    box-shadow: var(--app-card-shadow);
    cursor: pointer;
    transition: all 0.25s;
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.boost-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 38, 34, 0.08);
}

.boost-item.is-done {
    background: linear-gradient(135deg, #fff 0%, #f4ede4 100%);
    border-color: var(--color-secondary);
}

.boost-item.is-done::before {
    content: "✓";
    position: absolute;
    top: 6px;
    right: 8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.boost-item__emoji {
    font-size: 1.8rem;
    margin-bottom: 6px;
    line-height: 1;
}

.boost-item__name {
    font-family: var(--font-serif);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
    color: var(--color-text);
}

.boost-item__tag {
    display: inline-block;
    padding: 2px 8px;
    background: var(--color-bg-section);
    border-radius: var(--radius-pill);
    font-size: 0.62rem;
    color: var(--color-text-muted);
    letter-spacing: 0.08em;
    margin-top: 2px;
}

.boost-item.is-done .boost-item__tag {
    background: rgba(201, 137, 154, 0.12);
    color: var(--color-primary);
}

/* ミトコンドリア星（NMN用ボーナス演出） */
.bodymap__mitochondria {
    position: absolute;
    pointer-events: none;
    inset: 0;
}

.bodymap__star {
    fill: #c9a96e;
    opacity: 0;
}

.bodymap__star.is-active {
    animation: mitoStar 4s ease-in-out infinite;
}

@keyframes mitoStar {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 0.9; transform: scale(1.1); filter: drop-shadow(0 0 4px #c9a96e); }
}

/* 履歴 */
.boost-history {
    margin-top: 20px;
}

.boost-history__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.boost-history__row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--app-card-shadow);
    font-size: 0.82rem;
}

.boost-history__date {
    font-family: var(--font-serif);
    font-size: 0.7rem;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
    min-width: 64px;
}

.boost-history__items {
    flex: 1;
    color: var(--color-text);
    letter-spacing: 0.02em;
}

/* ブースト通知 */
.boost-toast-big {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: linear-gradient(135deg, #ffffff 0%, #f4ede4 100%);
    border-radius: 20px;
    padding: 24px 32px;
    box-shadow: 0 12px 48px rgba(46, 38, 34, 0.18);
    text-align: center;
    z-index: 200;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    border: 2px solid var(--color-secondary);
    max-width: 320px;
}

.boost-toast-big.is-show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.boost-toast-big__emoji {
    font-size: 3rem;
    margin-bottom: 8px;
}

.boost-toast-big__title {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
    color: var(--color-text);
}

.boost-toast-big__sub {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
}

.boost-toast-big__sub strong {
    color: var(--color-primary);
    font-weight: 700;
    margin: 0 2px;
}
