/* gift.css - アイドル育成アプリ風デザイン（サイト統一版） */

/* ===== タブ (5つ対応) ===== */
.gift-tabs {
    display: flex;
    background: white;
    padding: 5px;
    border-radius: 15px;
    margin: 10px;
    box-shadow: 0 2px 10px rgba(230, 46, 92, 0.15);
    border: 2px solid var(--primary-color);
    overflow-x: auto;
    gap: 3px;
}
.gift-tab {
    flex: 1;
    min-width: 70px;
    border: none;
    background: transparent;
    padding: 10px 6px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 11px;
    color: var(--light-text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
}
.gift-tab.active {
    background: var(--gradient-pink);
    color: white;
    box-shadow: 0 3px 10px rgba(255, 123, 140, 0.4);
}
.gift-tab i {
    font-size: 16px;
}

@media (max-width: 480px) {
    .gift-tabs {
        padding: 4px;
        gap: 2px;
    }
    .gift-tab {
        min-width: 60px;
        padding: 8px 4px;
        font-size: 10px;
    }
    .gift-tab i {
        font-size: 14px;
    }
}

.gift-content {
    display: none;
    animation: fadeIn 0.4s ease;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    height: 100%;
}
.gift-content.active {
    display: flex;
    flex-direction: column;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 支援ページ全体の横スクロール防止 */
#page-gift {
    overflow-x: hidden;
}

/* #page-gift は .page のインラインdisplay指定(block)で上書きされるため、
   .stream-container と同じく専用ラッパーで独自にflex縦積みを作る */
.gift-page-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    position: relative;
}
/* サイト全体にはbox-sizing:border-boxの指定が無いため、
   paddingがwidthに加算されて横あふれする(既存の#gift-present-areaの
   横パディング0回避策と同じ問題)。このタブ内だけ明示的に指定して防ぐ */
.gift-page-wrap,
.gift-page-wrap * {
    box-sizing: border-box;
}

/* ===== 支援タブ - アイドル育成アプリ風 ===== */
#gift-plan-area {
    background: linear-gradient(180deg, #fff5f7 0%, #ffe8ec 50%, #ffd6de 100%);
    margin: 0 -15px;
    padding: 20px 15px 30px;
    min-height: calc(100% - 60px);
}

.support-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}
.support-header::before {
    content: '♪';
    position: absolute;
    top: -5px; left: 20px;
    font-size: 20px;
    color: var(--accent-color);
    animation: float 2s ease-in-out infinite;
}
.support-header::after {
    content: '♡';
    position: absolute;
    top: 0; right: 25px;
    font-size: 18px;
    color: var(--deep-rose);
    animation: float 2s ease-in-out infinite 0.5s;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.support-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--deep-rose);
    margin: 0 0 8px;
    text-shadow: 0 1px 2px rgba(230, 46, 92, 0.2);
}
.support-header p {
    font-size: 12px;
    color: var(--light-text-color);
    margin: 0;
    line-height: 1.6;
}

.plan-list.idol-style {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.idol-card {
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(255, 182, 193, 0.3);
}
.idol-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}
.idol-card:hover::before,
.idol-card:active::before { opacity: 1; }
.idol-card:active { transform: scale(0.98); }

.idol-card.popular {
    border: 3px solid var(--deep-rose);
    box-shadow: 0 4px 20px rgba(230, 46, 92, 0.25);
    background: linear-gradient(135deg, #fff 0%, #fff5f7 100%);
}
.idol-card.popular::after {
    content: '👑 人気';
    position: absolute;
    top: -2px; right: 12px;
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.idol-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.idol-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.idol-icon {
    width: 55px; height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.idol-icon.bronze { 
    background: linear-gradient(135deg, #f4d8c8 0%, #d4a574 100%);
    border: 3px solid #cd9b6a;
}
.idol-icon.silver { 
    background: linear-gradient(135deg, #f0f0f0 0%, #c0c0c0 100%);
    border: 3px solid #a8a8a8;
}
.idol-icon.gold { 
    background: linear-gradient(135deg, #fff5cc 0%, #ffd700 100%);
    border: 3px solid #e6c200;
}

.idol-info h4 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-color);
}
.idol-info p {
    margin: 0;
    font-size: 12px;
    color: var(--light-text-color);
    font-weight: 600;
}

.idol-btn {
    background: var(--gradient-pink);
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(255, 123, 140, 0.4);
    transition: all 0.3s;
    pointer-events: none;
}

/* ===== メッセージギフト - キュート風 ===== */
#gift-msg-area {
    background: linear-gradient(180deg, #f0f8ff 0%, #fff0f5 50%, #ffe4ec 100%);
    margin: 0 -15px;
    padding: 20px 15px 30px;
    min-height: calc(100% - 60px);
}

.msg-header {
    text-align: center;
    margin-bottom: 20px;
}
.msg-header h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--deep-rose);
    margin: 0 0 5px;
}
.msg-header p {
    font-size: 11px;
    color: var(--light-text-color);
    margin: 0;
}

.gift-grid.superchat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.gift-card {
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 2px solid transparent;
}
.gift-card:active { transform: scale(0.96); }

/* Tier別カラー - パステル調 */
.sc-tier1 { 
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #90caf9;
}
.sc-tier2 { 
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
    border-color: #80cbc4;
}
.sc-tier3 { 
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border-color: #ffd54f;
}
.sc-tier4 { 
    background: linear-gradient(135deg, #fbe9e7 0%, #ffccbc 100%);
    border-color: #ff8a65;
}
.sc-tier5 { 
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
    border-color: #f48fb1;
}
.sc-tier6 { 
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    border-color: #ba68c8;
    box-shadow: 0 4px 20px rgba(186, 104, 200, 0.3);
}

.sc-content {
    padding: 14px;
    position: relative;
    z-index: 1;
}

.sc-price {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-color);
}
.sc-tier1 .sc-price { color: #1565c0; }
.sc-tier2 .sc-price { color: #00796b; }
.sc-tier3 .sc-price { color: #f57f17; }
.sc-tier4 .sc-price { color: #e64a19; }
.sc-tier5 .sc-price { color: #c2185b; }
.sc-tier6 .sc-price { color: #7b1fa2; }

.sc-features {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sc-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-color);
    opacity: 0.8;
}
.sc-feature i {
    font-size: 11px;
    width: 14px;
    text-align: center;
    color: var(--deep-rose);
}

.sc-effect {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed rgba(0,0,0,0.1);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--deep-rose);
}

/* ===== モーダル - 可愛い風 ===== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(230, 46, 92, 0.3);
    backdrop-filter: blur(8px);
    z-index: 200;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 350px;
    padding: 25px;
    border-radius: 25px;
    text-align: center;
    border: 3px solid var(--primary-color);
    box-shadow: 0 10px 40px rgba(230, 46, 92, 0.25);
    position: relative;
}

.modal-content h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--deep-rose);
    margin: 10px 0 5px;
}

.modal-detail {
    color: var(--light-text-color) !important;
    font-size: 14px !important;
    font-weight: 600;
}

#modal-msg-input-area {
    margin-top: 18px;
}

textarea#gift-message-text {
    width: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 12px;
    height: 90px;
    resize: none;
    font-family: inherit;
    box-sizing: border-box;
    background: #fff5f7;
    color: var(--text-color);
    font-size: 14px;
    transition: border-color 0.3s;
}
textarea#gift-message-text:focus {
    outline: none;
    border-color: var(--deep-rose);
    background: white;
}
textarea#gift-message-text::placeholder {
    color: #ccc;
}

.char-counter {
    text-align: right;
    font-size: 11px;
    color: var(--light-text-color);
    margin-top: 6px;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}
.modal-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}
.modal-btn.cancel {
    background: var(--background-dark);
    color: var(--light-text-color);
    border: 2px solid var(--border-color);
}
.modal-btn.cancel:hover {
    background: #e0e0e0;
}
.modal-btn.send {
    background: linear-gradient(135deg, #635bff 0%, #7c3aed 100%);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 15px rgba(99, 91, 255, 0.35);
}
.modal-btn.send:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(99, 91, 255, 0.45);
}
.modal-btn.send i {
    font-size: 16px;
}

/* サブタイトル非表示 */
.sub-title { display: none; }

/* ===== プレゼントを贈るタブ ===== */
#gift-present-area {
    background: linear-gradient(180deg, #fff9fb 0%, #ffeef5 45%, #ffe0ea 100%);
    padding: 30px 20px 26px;
    min-height: calc(100% - 60px);
    position: relative;
    overflow: hidden;
}
#gift-present-area::before,
#gift-present-area::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.55;
    z-index: 0;
    pointer-events: none;
}
#gift-present-area::before {
    width: 180px; height: 180px;
    background: #ffd1de;
    top: -60px; right: -50px;
}
#gift-present-area::after {
    width: 140px; height: 140px;
    background: #ffb6c1;
    bottom: 15%; left: -50px;
}

.present-hero {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 22px;
}
.present-hero-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    background: radial-gradient(circle at 32% 28%, #ffffff, #ffe0e8 55%, #ffc2d1 100%);
    box-shadow: 0 10px 26px rgba(255, 105, 180, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
    animation: presentFloat 3s ease-in-out infinite;
}
@keyframes presentFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}
.present-hero h3 {
    font-size: 21px;
    font-weight: 800;
    color: var(--deep-rose);
    margin: 0 0 8px;
    text-shadow: 0 1px 2px rgba(230, 46, 92, 0.15);
}
.present-hero p {
    font-size: 12.5px;
    color: var(--light-text-color);
    line-height: 1.8;
    margin: 0;
}

.present-perks {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
}
.present-perk {
    flex: 1;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1.5px solid rgba(255, 182, 193, 0.7);
    border-radius: 16px;
    padding: 14px 6px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}
.present-perk i {
    font-size: 17px;
    color: var(--deep-rose);
}
.present-perk span {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.4;
}

.present-cta {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #ff9f0a 0%, #ff7700 100%);
    border-radius: 22px;
    padding: 16px 18px;
    text-decoration: none;
    color: white;
    box-shadow: 0 10px 26px rgba(255, 153, 0, 0.4);
    transition: transform 0.15s ease;
}
.present-cta:active { transform: scale(0.97); }
.present-cta-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}
.present-cta-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.present-cta-text strong { font-size: 15px; font-weight: 800; }
.present-cta-text small { font-size: 10.5px; opacity: 0.9; font-weight: 600; }
.present-cta-arrow { flex-shrink: 0; font-size: 15px; opacity: 0.85; }

@media (max-width: 360px) {
    .present-perk span { font-size: 9px; }
}

/* ===== 支援メニュー(選択肢画面) ===== */
.gift-menu {
    display: none;
    flex: 1;
    height: 100%;
    overflow-y: auto;
    flex-direction: column;
    padding: 28px 18px 24px;
    background: linear-gradient(180deg, #fff5f7 0%, #ffe8ec 50%, #ffd6de 100%);
}
.gift-menu.active { display: flex; }

.gift-menu-header {
    text-align: center;
    margin-bottom: 22px;
}
.gift-menu-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--deep-rose);
    margin: 0 0 6px;
}
.gift-menu-header p {
    font-size: 12px;
    color: var(--light-text-color);
    margin: 0;
}

.gift-menu-choices {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}

.gift-choice {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: white;
    border: 2px solid var(--primary-color);
    border-radius: 18px;
    padding: 16px 20px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    box-shadow: 0 3px 15px rgba(255, 182, 193, 0.3);
    transition: transform 0.15s ease;
}
.gift-choice:active { transform: scale(0.97); }
.gift-choice-arrow {
    flex-shrink: 0;
    color: var(--deep-rose);
    font-size: 16px;
}
.gift-choice-label {
    flex: 1;
    font-size: 15px;
    font-weight: 800;
    color: var(--text-color);
}
/* 「広告一覧へ行く」だけは <a>（別ページ遷移）なので、
   <button> と同じ見た目になるよう打ち消しておく */
a.gift-choice {
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
/* display:flex がブラウザ標準の [hidden]{display:none} に勝ってしまうため明示 */
.gift-choice[hidden] { display: none !important; }

/* ===== 広告枠 =====
   ・サイト自身のリンクと見分けがつくように「スポンサーリンク」を必ず表示する
     （見分けがつかない配置はAdSenseのポリシー違反になるため）
   ・「応援する方法を選んでね」の文言からは離した位置に置く */
.ad-block {
    margin: 22px 0 4px;
    padding: 10px 10px 12px;
    border: 1px solid #ffd3da;
    border-radius: 12px;
    background: #fff;
    /* .gift-menu が height:100% の縦flexなので、指定しないと flex-shrink で
       広告が押し潰される（マルチプレックスが145pxに切れる）。
       overflow:hidden も背の高い広告を切ってしまうので付けない。 */
    flex: 0 0 auto;
    max-width: 100%;
}
.ad-block--feed { margin: 18px 0 4px; }
.ad-label {
    display: block;
    text-align: center;
    font-size: 10px;
    letter-spacing: .14em;
    color: #a89aa0;
    margin: 0 0 8px;
}
.ad-slot { min-height: 1px; }
.ad-slot ins { display: block; }
/* 広告の前に区切りを入れて、サイト本体のコンテンツと視覚的に切り離す */
.ad-divider {
    border: 0;
    height: 0;
    border-top: 2px dotted #ffd3da;
    margin: 24px 0 0;
}

/* ===== プライバシーポリシー ポップアップ ===== */
.pp-open {
    flex: 0 0 auto;
    display: block;
    margin: 16px auto 4px;
    padding: 10px 18px;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    color: var(--light-text-color);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.pp-open:active { opacity: .6; }

/* アプリのスマホ枠の中に収めたいので absolute（fixed だと枠外に広がる） */
.pp-overlay {
    position: absolute;
    inset: 0;
    z-index: 900;
    background: rgba(230, 46, 92, .28);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px 16px;
}
.pp-overlay.show { display: flex; }

.pp-sheet {
    background: #fff;
    width: 100%;
    max-width: 340px;
    max-height: 100%;
    border-radius: 24px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 10px 40px rgba(230, 46, 92, .25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: ppPop .25s ease;
}
@keyframes ppPop {
    from { opacity: 0; transform: scale(.94); }
    to   { opacity: 1; transform: scale(1); }
}

.pp-head {
    flex: 0 0 auto;
    position: relative;
    padding: 16px 44px 12px;
    text-align: center;
    border-bottom: 2px dotted #ffd3da;
}
.pp-head h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--deep-rose);
}
.pp-x {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background: #fff0f3;
    color: var(--deep-rose);
    font-size: 15px;
    cursor: pointer;
    line-height: 1;
}
.pp-x:active { transform: scale(.92); }

.pp-body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 14px 18px 6px;
    text-align: left;
}
.pp-body h4 {
    margin: 14px 0 6px;
    font-size: 13px;
    font-weight: 800;
    color: var(--deep-rose);
}
.pp-body h4:first-child { margin-top: 0; }
.pp-body p {
    margin: 0 0 10px;
    font-size: 11.5px;
    line-height: 1.9;
    color: var(--light-text-color);
}
.pp-body a { color: var(--accent-color); }

.pp-foot {
    flex: 0 0 auto;
    padding: 10px 18px 16px;
}
.pp-close {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 22px;
    background: var(--gradient-pink);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 3px 15px rgba(255, 123, 140, .35);
}
.pp-close:active { transform: scale(.97); }

/* ===== 各展示エリア内に常備する「戻る」ボタン ===== */
.gift-back-btn {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 20;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--deep-rose);
    font-size: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(230, 46, 92, 0.3);
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease;
}
.gift-back-btn.show { display: flex; }
.gift-back-btn:active {
    transform: scale(0.9);
    background: var(--deep-rose);
    color: white;
}

/* ===== プライバシー / アソシエイト表記 ===== */
.associate-disclosure {
    margin: 0;
    background: rgba(255, 255, 255, 0.6);
    border: 2px dashed var(--primary-color);
    border-radius: 14px;
    padding: 0 14px;
    flex-shrink: 0;
}
.associate-disclosure summary {
    list-style: none;
    cursor: pointer;
    padding: 10px 0;
    font-size: 11px;
    font-weight: 700;
    color: var(--deep-rose);
    display: flex;
    align-items: center;
    gap: 6px;
}
.associate-disclosure summary::-webkit-details-marker { display: none; }
.associate-disclosure summary .chev {
    margin-left: auto;
    font-size: 10px;
    color: var(--light-text-color);
    transition: transform 0.25s ease;
}
.associate-disclosure[open] summary .chev { transform: rotate(180deg); }
.associate-disclosure-body {
    font-size: 11px;
    line-height: 1.8;
    color: var(--light-text-color);
    padding: 0 0 14px;
}
.associate-disclosure-body p { margin: 0 0 8px; }
.associate-disclosure-body p:last-child { margin-bottom: 0; }

/* ===== 映画作品展・愛用品展 ===== */
#gift-movies-area,
#gift-items-area {
    background: linear-gradient(180deg, #fff5f7 0%, #ffe8ec 50%, #ffd6de 100%);
    padding: 20px 15px 30px;
    min-height: calc(100% - 60px);
    display: flex;
    flex-direction: column;
}

/* .gift-content.active は style.css で display:block !important のため、
   親のflex/gapに頼らずheader側にmarginを持たせて余白を確保する */
.picks-header { text-align: center; margin: 0 0 18px; }
.picks-header h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--deep-rose);
    margin: 0 0 6px;
}
.picks-header p {
    font-size: 12px;
    color: var(--light-text-color);
    margin: 0;
    line-height: 1.6;
}

/* ---- 映画作品展: コンパクトなリスト形式(作品数が多いため) ---- */
.movie-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.movie-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    border-radius: 14px;
    padding: 9px 14px 9px 9px;
    box-shadow: 0 2px 10px rgba(255, 182, 193, 0.25);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease;
}
a.movie-row:active { transform: scale(0.98); }
.movie-row:not(.has-link) { opacity: 0.68; }

.movie-row-index {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--gradient-pink);
    color: white;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.movie-row:not(.has-link) .movie-row-index {
    background: var(--background-dark);
    color: var(--light-text-color);
}

.movie-row-title {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.4;
}

.movie-row-status {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, #ff9900 0%, #ff7700 100%);
    padding: 6px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(255, 153, 0, 0.3);
}

.movie-list-footnote {
    text-align: center;
    font-size: 11px;
    color: var(--light-text-color);
    margin-top: 14px;
    line-height: 1.7;
}

/* ---- 愛用品展: 商品スポットライト風カード ---- */
.item-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.item-card {
    background: white;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(255, 182, 193, 0.35);
}

.item-card-media {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: white;
    background: var(--gradient-pink);
    position: relative;
}
.item-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.4), transparent 60%);
}

.item-card-body { padding: 16px 18px 18px; }

.item-card-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 10px;
    background: #ffe4ec;
    color: var(--deep-rose);
    margin-bottom: 8px;
}

.item-card-body h4 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-color);
}

.item-card-body p {
    margin: 0 0 14px;
    font-size: 12px;
    line-height: 1.7;
    color: var(--light-text-color);
}

.item-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 800;
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ff9900 0%, #ff7700 100%);
    box-shadow: 0 3px 12px rgba(255, 153, 0, 0.35);
}

.item-list-footnote {
    text-align: center;
    font-size: 11.5px;
    color: var(--light-text-color);
    margin-top: 4px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px dashed var(--primary-color);
    border-radius: 14px;
    line-height: 1.7;
}