.header-auth-btn{display: none !important;}
:root, html[data-theme="light"]{--bg-dark: #f8fafc;--bg-panel: #ffffff;--bg-card: #ffffff;--bg-card-alt: #f1f5f9;--border-color: #e2e8f0;--border-light: #cbd5e1;--accent-gold: #b45309;--accent-gold-light: #92400e;--accent-orange: #ea580c;--accent-red: #dc2626;--accent-green: #059669;--accent-blue: #0284c7;--accent-purple: #7c3aed;--accent-pink: #e11d48;--text-main: #0f172a;--text-sub: #475569;--text-muted: #64748b;--header-actual-height: 100px;--home-btn-bg: #0f172a;--home-btn-color: #ffffff;--home-btn-border: #0f172a;--home-btn-hover-bg: #1e293b;--home-btn-shadow: rgba(15, 23, 42, 0.22);}
html[data-theme="dark"]{--dm-bg-base: #1E2126;--dm-bg-surface: #272B33;--dm-bg-surface-alt: #23272E;--dm-bg-elevated: #333842;--dm-bg-elevated-hover: #3B414D;--dm-text-main: #F0EDE7;--dm-text-sub: #D2CDC3;--dm-text-muted: #B6B0A5;--dm-border-subtle: rgba(255, 255, 255, 0.08);--dm-border-matte: rgba(255, 255, 255, 0.10);--dm-border-strong: rgba(255, 255, 255, 0.16);--dm-amber-accent: #E2A84B;--dm-amber-ink: #1B160E;--dm-amber-text: #F3D496;--dm-amber-bg: rgba(226, 168, 75, 0.15);--dm-amber-border: rgba(226, 168, 75, 0.44);--bg-dark: var(--dm-bg-base);--genre-page-bg: var(--dm-bg-base);--bg-body: var(--dm-bg-base);--bg-main: var(--dm-bg-base);--bg-page: var(--dm-bg-base);--bg-panel: var(--dm-bg-surface-alt);--bg-card: var(--dm-bg-surface);--card-bg: var(--dm-bg-surface);--bg-card-alt: var(--dm-bg-surface-alt);--bg-card-sub: var(--dm-bg-elevated);--bg-sub: var(--dm-bg-elevated);--bg-subtle: var(--dm-bg-elevated);--bg-card-hover: var(--dm-bg-elevated-hover);--border-color: rgba(255, 255, 255, 0.12);--border-light: rgba(255, 255, 255, 0.18);--hb-panel: var(--dm-bg-surface);--hb-panel-line: var(--dm-border-matte);--accent-gold: #E2A84B;--accent-gold-light: #F5DFB0;--accent-gold-dark: #F3D496;--accent-orange: #EB9B4E;--accent-red: #F87171;--accent-green: #4ADE80;--accent-blue: #7DD3FC;--accent-purple: #D8B4FE;--accent-pink: #FDA4AF;--mp-accent-text: #F3D496;--text-main: var(--dm-text-main);--text-sub: var(--dm-text-sub);--text-muted: var(--dm-text-muted);--home-btn-bg: var(--dm-amber-accent);--home-btn-color: var(--dm-amber-ink);--home-btn-border: var(--dm-amber-accent);--home-btn-hover-bg: #ECC06B;--home-btn-shadow: rgba(0, 0, 0, 0.28);}
:root, html[data-theme="light"][data-current-genre="all"], html:not([data-theme="dark"]):not([data-current-genre]){--genre-theme: #d97706;--genre-border: rgba(217, 119, 6, 0.58);--genre-border-subtle: rgba(217, 119, 6, 0.28);--genre-bg-tint: rgba(217, 119, 6, 0.05);--genre-shadow-tint: rgba(217, 119, 6, 0.15);--genre-page-bg: #faf9f6;}
html:not([data-theme="dark"])[data-current-genre="comic"]{--genre-theme: #ea580c;--genre-border: rgba(234, 88, 12, 0.62);--genre-border-subtle: rgba(234, 88, 12, 0.30);--genre-bg-tint: rgba(234, 88, 12, 0.06);--genre-shadow-tint: rgba(234, 88, 12, 0.16);--genre-page-bg: #fdf8f5;}
html:not([data-theme="dark"])[data-current-genre="lightnovel"]{--genre-theme: #9333ea;--genre-border: rgba(147, 51, 234, 0.62);--genre-border-subtle: rgba(147, 51, 234, 0.30);--genre-bg-tint: rgba(147, 51, 234, 0.06);--genre-shadow-tint: rgba(147, 51, 234, 0.16);--genre-page-bg: #faf6fd;}
html:not([data-theme="dark"])[data-current-genre="bungei"]{--genre-theme: #059669;--genre-border: rgba(5, 150, 105, 0.62);--genre-border-subtle: rgba(5, 150, 105, 0.30);--genre-bg-tint: rgba(5, 150, 105, 0.06);--genre-shadow-tint: rgba(5, 150, 105, 0.16);--genre-page-bg: #f4f9f6;}
html:not([data-theme="dark"])[data-current-genre="business"]{--genre-theme: #2563eb;--genre-border: rgba(37, 99, 235, 0.65);--genre-border-subtle: rgba(37, 99, 235, 0.32);--genre-bg-tint: rgba(37, 99, 235, 0.06);--genre-shadow-tint: rgba(37, 99, 235, 0.16);--genre-page-bg: #f4f7fc;}
html:not([data-theme="dark"])[data-current-genre="tech"]{--genre-theme: #0891b2;--genre-border: rgba(8, 145, 178, 0.62);--genre-border-subtle: rgba(8, 145, 178, 0.30);--genre-bg-tint: rgba(8, 145, 178, 0.06);--genre-shadow-tint: rgba(8, 145, 178, 0.16);--genre-page-bg: #f2f8f9;}
html:not([data-theme="dark"])[data-current-genre="other"]{--genre-theme: #d94668;--genre-border: rgba(217, 70, 104, 0.48);--genre-border-subtle: rgba(217, 70, 104, 0.25);--genre-bg-tint: rgba(217, 70, 104, 0.05);--genre-shadow-tint: rgba(217, 70, 104, 0.12);--genre-page-bg: #fcf7f8;}
html[data-theme="dark"][data-current-genre="all"], html[data-theme="dark"]:not([data-current-genre]){--genre-theme: var(--dm-amber-accent);--genre-border: var(--dm-border-matte);--genre-border-subtle: var(--dm-border-subtle);--genre-bg-tint: rgba(226, 168, 75, 0.06);--genre-shadow-tint: rgba(0, 0, 0, 0.24);--genre-page-bg: var(--dm-bg-base);}
html[data-theme="dark"][data-current-genre="comic"]{--genre-theme: #EB9B4E;--genre-border: var(--dm-border-matte);--genre-border-subtle: var(--dm-border-subtle);--genre-bg-tint: rgba(235, 155, 78, 0.06);--genre-shadow-tint: rgba(0, 0, 0, 0.24);--genre-page-bg: var(--dm-bg-base);}
html[data-theme="dark"][data-current-genre="lightnovel"]{--genre-theme: #C4A1EC;--genre-border: var(--dm-border-matte);--genre-border-subtle: var(--dm-border-subtle);--genre-bg-tint: rgba(196, 161, 236, 0.06);--genre-shadow-tint: rgba(0, 0, 0, 0.24);--genre-page-bg: var(--dm-bg-base);}
html[data-theme="dark"][data-current-genre="bungei"]{--genre-theme: #6ECBA0;--genre-border: var(--dm-border-matte);--genre-border-subtle: var(--dm-border-subtle);--genre-bg-tint: rgba(110, 203, 160, 0.06);--genre-shadow-tint: rgba(0, 0, 0, 0.24);--genre-page-bg: var(--dm-bg-base);}
html[data-theme="dark"][data-current-genre="business"]{--genre-theme: #82B4F5;--genre-border: var(--dm-border-matte);--genre-border-subtle: var(--dm-border-subtle);--genre-bg-tint: rgba(130, 180, 245, 0.06);--genre-shadow-tint: rgba(0, 0, 0, 0.24);--genre-page-bg: var(--dm-bg-base);}
html[data-theme="dark"][data-current-genre="tech"]{--genre-theme: #68C8DA;--genre-border: var(--dm-border-matte);--genre-border-subtle: var(--dm-border-subtle);--genre-bg-tint: rgba(104, 200, 218, 0.06);--genre-shadow-tint: rgba(0, 0, 0, 0.24);--genre-page-bg: var(--dm-bg-base);}
html[data-theme="dark"][data-current-genre="other"]{--genre-theme: #E892A2;--genre-border: var(--dm-border-matte);--genre-border-subtle: var(--dm-border-subtle);--genre-bg-tint: rgba(232, 146, 162, 0.06);--genre-shadow-tint: rgba(0, 0, 0, 0.24);--genre-page-bg: var(--dm-bg-base);}
.ranking-table-wrap{border: 2px solid var(--genre-border) !important;box-shadow: 0 4px 18px var(--genre-shadow-tint) !important;transition: border-color 0.25s ease, box-shadow 0.25s ease !important;}
.ranking-table th{border-bottom: 2.5px solid var(--genre-theme) !important;transition: border-color 0.25s ease !important;}
.ranking-table td{border-bottom: 1px solid var(--genre-border-subtle) !important;transition: border-color 0.25s ease !important;}
.ranking-table tr:hover td{background: var(--genre-bg-tint) !important;}
.schedule-table-wrap{border: 2px solid var(--genre-border) !important;box-shadow: 0 4px 18px var(--genre-shadow-tint) !important;transition: border-color 0.25s ease, box-shadow 0.25s ease !important;}
.schedule-table th{border-bottom: 2.5px solid var(--genre-theme) !important;transition: border-color 0.25s ease !important;}
.schedule-table td{border-bottom: 1px solid var(--genre-border-subtle) !important;transition: border-color 0.25s ease !important;}
.schedule-table tr:hover td{background: var(--genre-bg-tint) !important;}
.award-table-wrapper{border: 2px solid var(--genre-border) !important;box-shadow: 0 4px 18px var(--genre-shadow-tint) !important;transition: border-color 0.25s ease, box-shadow 0.25s ease !important;}
.award-comparison-table th{border-bottom: 2.5px solid var(--genre-theme) !important;transition: border-color 0.25s ease !important;}
.award-comparison-table td{border-bottom: 1px solid var(--genre-border-subtle) !important;transition: border-color 0.25s ease !important;}
.new-release-card{border: 1.5px solid var(--genre-border-subtle) !important;transition: border-color 0.25s ease, box-shadow 0.25s ease !important;}
.new-release-card:hover{border-color: var(--genre-theme) !important;box-shadow: 0 4px 16px var(--genre-shadow-tint) !important;}
.book-card{border: 1.5px solid var(--genre-border-subtle) !important;transition: border-color 0.25s ease, box-shadow 0.25s ease !important;}
.book-card:hover{border-color: var(--genre-border) !important;box-shadow: 0 4px 16px var(--genre-shadow-tint) !important;}
.permanent-search-section{border: 1.5px solid var(--genre-border-subtle) !important;transition: border-color 0.25s ease, box-shadow 0.25s ease !important;}
.permanent-search-section:focus-within{border-color: var(--genre-theme) !important;box-shadow: 0 4px 18px var(--genre-shadow-tint) !important;}
.new-store-row{border-color: var(--genre-border-subtle) !important;transition: border-color 0.25s ease, background 0.25s ease !important;}
.new-store-row:hover{border-color: var(--genre-border) !important;background: var(--genre-bg-tint) !important;}
.cal-date-chip.active{border-color: var(--genre-theme) !important;box-shadow: 0 2px 10px var(--genre-shadow-tint) !important;}
.view-showcase-header{border: 1.5px solid var(--genre-border) !important;border-left: 6px solid var(--genre-theme) !important;box-shadow: 0 4px 16px var(--genre-shadow-tint) !important;transition: border-color 0.25s ease, box-shadow 0.25s ease !important;}
.schedule-today-card.is-today{border: 2.5px solid var(--genre-theme) !important;box-shadow: 0 4px 22px var(--genre-shadow-tint) !important;}
.schedule-more-link-bar{border: 1.5px solid var(--genre-border) !important;background: var(--genre-bg-tint) !important;color: var(--genre-theme) !important;}
.schedule-more-link-bar:hover{border-color: var(--genre-theme) !important;box-shadow: 0 4px 14px var(--genre-shadow-tint) !important;}
.ranking-quick-bar{border: 2px solid var(--genre-border) !important;box-shadow: 0 4px 16px var(--genre-shadow-tint) !important;transition: border-color 0.25s ease, box-shadow 0.25s ease !important;}
.ranking-quick-bar:hover{border-color: var(--genre-theme) !important;}
.smart-filter-box{border: 1.5px solid var(--genre-border) !important;}
.sale-card-wrapper{border: 1.5px solid var(--genre-border-subtle) !important;box-shadow: 0 3px 12px var(--genre-shadow-tint) !important;}
.sale-card-wrapper.open{border-color: var(--genre-border) !important;box-shadow: 0 8px 24px var(--genre-shadow-tint) !important;}
.sale-special-header{border: 1.5px solid var(--store-border, var(--genre-border)) !important;border-radius: 12px !important;}
.btn-kininaru-toggle{display: inline-flex;align-items: center;gap: 5px;padding: 5px 12px;border-radius: 20px;font-size: 0.74rem;font-weight: 800;cursor: pointer;border: 1.5px solid #8b5cf6;background: rgba(139, 92, 246, 0.08);color: #7c3aed;transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);user-select: none;}
html[data-theme="dark"] .btn-kininaru-toggle{border-color: #a78bfa;background: rgba(167, 139, 250, 0.12);color: #c4b5fd;}
.btn-kininaru-toggle:hover{border-color: #7c3aed;background: rgba(124, 58, 237, 0.16);color: #6d28d9;transform: translateY(-1px);box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);}
html[data-theme="dark"] .btn-kininaru-toggle:hover{border-color: #c4b5fd;background: rgba(167, 139, 250, 0.22);color: #ede9fe;box-shadow: 0 2px 8px rgba(124, 58, 237, 0.35);}
.btn-kininaru-toggle.is-active{background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;color: #ffffff !important;border-color: #a78bfa !important;box-shadow: 0 2px 10px rgba(124, 58, 237, 0.45) !important;}
.btn-kininaru-toggle.is-active svg{fill: #ffffff !important;stroke: #ffffff !important;}
.btn-snap-kininaru{display: inline-flex;align-items: center;justify-content: center;gap: 4px;padding: 5px 10px;border-radius: 8px;font-size: 0.72rem;font-weight: 800;border: 1.5px solid #8b5cf6;background: rgba(139, 92, 246, 0.08);color: #7c3aed;cursor: pointer;transition: all 0.2s ease;white-space: nowrap;}
html[data-theme="dark"] .btn-snap-kininaru{border-color: #a78bfa;background: rgba(167, 139, 250, 0.12);color: #c4b5fd;}
.btn-snap-kininaru:hover{border-color: #7c3aed;background: rgba(124, 58, 237, 0.16);transform: translateY(-1px);box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25);}
.btn-snap-kininaru.is-active{background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;color: #ffffff !important;border-color: #a78bfa !important;box-shadow: 0 2px 10px rgba(124, 58, 237, 0.45) !important;}
.rank-cart-btn.is-active{background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;border-color: #a78bfa !important;color: #ffffff !important;box-shadow: 0 2px 10px rgba(124, 58, 237, 0.45) !important;}
.mobile-genre-fab-container{display: none;position: fixed;bottom: 54px;right: 12px;z-index: 1055;}
@media (max-width: 768px){.mobile-genre-fab-container{display: flex;flex-direction: column;align-items: flex-end;}}
.btn-mobile-genre-toggle{display: inline-flex;align-items: center;gap: 5px;height: 38px;padding: 0 13px;border-radius: 24px;background: var(--bg-card);border: 2px solid var(--genre-theme);color: var(--genre-theme);box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25), 0 0 0 1px var(--genre-border-subtle);font-size: 0.76rem;font-weight: 900;cursor: pointer;user-select: none;transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);}
.btn-mobile-genre-toggle:active{transform: scale(0.95);}
.genre-fab-icon{font-size: 0.95rem;line-height: 1;}
.genre-fab-label{font-weight: 900;letter-spacing: 0.02em;}
.genre-fab-arrow{transition: transform 0.2s ease;}
.mobile-genre-fab-container.is-open .genre-fab-arrow{transform: rotate(180deg);}
.mobile-genre-dropdown{position: absolute;bottom: 46px;right: 0;width: 220px;background: var(--bg-card);border: 2px solid var(--genre-theme);border-radius: 14px;box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);padding: 8px;display: flex;flex-direction: column;gap: 4px;animation: modalFadeIn 0.2s ease;backdrop-filter: blur(12px);-webkit-backdrop-filter: blur(12px);}
.mobile-genre-menu-header{font-size: 0.70rem;font-weight: 800;color: var(--text-muted);padding: 4px 8px 6px 8px;border-bottom: 1px solid var(--border-color);letter-spacing: 0.05em;}
.mobile-genre-opt-btn{display: flex;align-items: center;justify-content: space-between;width: 100%;padding: 8px 10px;border-radius: 8px;border: 1px solid transparent;background: transparent;color: var(--text-main);font-size: 0.82rem;font-weight: 800;cursor: pointer;text-align: left;transition: all 0.15s ease;}
.mobile-genre-opt-btn:hover, .mobile-genre-opt-btn:active{background: var(--genre-bg-tint);}
.mobile-genre-opt-btn.active{background: var(--genre-theme);color: #ffffff;box-shadow: 0 2px 8px var(--genre-shadow-tint);}
.genre-opt-left{display: flex;align-items: center;gap: 8px;}
.genre-opt-dot{width: 8px;height: 8px;border-radius: 50%;flex-shrink: 0;}
.kininaru-hub-box{max-width: 1040px !important;width: 94vw !important;max-height: 90vh !important;overflow-y: auto !important;padding: 18px 20px !important;border: 2px solid var(--genre-border) !important;border-radius: 16px !important;box-shadow: 0 18px 44px rgba(0, 0, 0, 0.26) !important;}
@media (max-width: 640px){.kininaru-hub-box{width: 96vw !important;padding: 14px 12px !important;}}
#modal-kininaru-hub .kininaru-top-action-card{border: none !important;padding: 0 !important;margin-bottom: 0 !important;box-shadow: none !important;background: transparent !important;}
.kininaru-hub-header{margin-bottom: 12px;padding-right: 0;}
.kininaru-hub-actions-grid{display: grid;grid-template-columns: 1fr 1fr;gap: 12px;margin-bottom: 20px;}
@media (max-width: 480px){.kininaru-hub-actions-grid{grid-template-columns: 1fr;gap: 10px;}}
.kininaru-action-card{display: flex;flex-direction: column;align-items: flex-start;gap: 6px;padding: 14px;border-radius: 12px;border: 2px solid;cursor: pointer;text-align: left;transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);position: relative;}
.kininaru-action-card:hover{transform: translateY(-2px);}
.kininaru-action-card.action-calc{background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(99, 102, 241, 0.12));border-color: #8b5cf6;color: var(--text-main);}
.kininaru-action-card.action-calc:hover{border-color: #7c3aed;box-shadow: 0 6px 20px rgba(124, 58, 237, 0.25);}
.kininaru-action-card.action-bookshelf{background: linear-gradient(135deg, rgba(2, 132, 199, 0.08), rgba(14, 165, 233, 0.12));border-color: #38bdf8;color: var(--text-main);}
.kininaru-action-card.action-bookshelf:hover{border-color: #0284c7;box-shadow: 0 6px 20px rgba(2, 132, 199, 0.25);}
.k-action-title{font-size: 0.92rem;font-weight: 800;color: var(--text-main);display: flex;align-items: center;gap: 6px;}
.k-action-desc{font-size: 0.72rem;color: var(--text-sub);line-height: 1.4;}
.k-action-badge{font-size: 0.68rem;font-weight: 800;padding: 2px 7px;border-radius: 10px;background: rgba(0, 0, 0, 0.08);color: var(--text-muted);align-self: flex-start;}
.kininaru-hub-list-wrapper{max-height: none;overflow: visible;border: none;border-radius: 0;padding: 0;background: transparent;}
html[data-theme="dark"] .kininaru-hub-list-wrapper{border-color: #334155;}
.kininaru-list-item{display: flex;align-items: center;justify-content: space-between;gap: 16px;padding: 12px 10px;border-bottom: 1.5px solid #e2e8f0;border-radius: 10px;transition: background 0.15s ease;}
html[data-theme="dark"] .kininaru-list-item{border-bottom-color: #334155;}
.kininaru-list-item:hover{background: rgba(0, 0, 0, 0.025);}
html[data-theme="dark"] .kininaru-list-item:hover{background: rgba(255, 255, 255, 0.035);}
.kininaru-list-item:last-child{border-bottom: none;}
.kininaru-item-left{display: flex;align-items: center;gap: 16px;min-width: 0;flex: 1;}
.kininaru-item-thumb{width: 56px;height: 78px;object-fit: cover;border-radius: 8px;flex-shrink: 0;box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);border: 1.5px solid rgba(0, 0, 0, 0.12);background: #e2e8f0;}
html[data-theme="dark"] .kininaru-item-thumb{border-color: rgba(255, 255, 255, 0.15);}
.kininaru-item-title{font-size: 0.95rem;font-weight: 800;color: var(--text-main);line-height: 1.42;margin-bottom: 6px;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;}
.kininaru-item-price{font-size: 0.82rem;color: var(--text-sub);display: flex;align-items: center;gap: 6px;flex-wrap: wrap;}
.kininaru-item-del-btn{background: transparent;border: 1px solid transparent;border-radius: 50%;color: var(--text-muted);width: 30px;height: 30px;display: inline-flex;align-items: center;justify-content: center;cursor: pointer;flex-shrink: 0;transition: all 0.15s ease;}
.kininaru-item-del-btn:hover{color: #ef4444;background: rgba(239, 68, 68, 0.1);border-color: rgba(239, 68, 68, 0.25);}
*{box-sizing: border-box;margin: 0;padding: 0;}
html{overflow-x: clip;}
body{overflow-x: clip;max-width: 100%;background-color: var(--genre-page-bg, var(--bg-dark));color: var(--text-main);font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;line-height: 1.5;min-height: 100vh;display: flex;flex-direction: column;transition: background-color 0.35s ease, color 0.2s;}
html[data-theme="dark"] body{background-color: var(--dm-bg-base) !important;color: var(--dm-text-main);}
a{color: var(--accent-blue);text-decoration: none;}
a:hover{text-decoration: underline;}
button{font-family: inherit;}
header{background: rgba(250, 249, 246, 0.96);backdrop-filter: blur(14px);-webkit-backdrop-filter: blur(14px);border-bottom: 1.5px solid var(--genre-border-subtle);box-shadow: 0 2px 10px rgba(60, 45, 20, 0.05);position: sticky;top: 0;z-index: 1000;padding: 8px 0 0 0;transition: background 0.2s, border-color 0.25s ease, box-shadow 0.2s;}
header.toolbar-stuck{border-bottom-color: transparent !important;box-shadow: none !important;}
header.toolbar-stuck .genre-selector-bar{border-bottom-left-radius: 0 !important;border-bottom-right-radius: 0 !important;border-bottom: 1.5px solid var(--genre-border) !important;}
header:not(.toolbar-stuck) .genre-selector-bar{border-radius: 12px !important;border-bottom-left-radius: 12px !important;border-bottom-right-radius: 12px !important;border-bottom: 1.5px solid var(--genre-border) !important;}
html[data-theme="dark"] header{background: rgba(30, 33, 38, 0.96);box-shadow: 0 4px 16px rgba(0, 0, 0, 0.26);}
.header-inner{max-width: 1560px;margin: 0 auto;padding: 0 16px;display: flex;flex-direction: column;gap: 6px;width: 100%;box-sizing: border-box;}
.header-top-row{display: flex;justify-content: space-between;align-items: center;width: 100%;gap: 12px;}
.header-top-actions{display: flex;align-items: center;gap: 8px;}
.header-action-btn{background: rgba(255, 255, 255, 0.88);border: 1.5px solid #d6cbb9;padding: 0 14px;height: 38px;font-size: 0.86rem;border-radius: 10px;font-weight: 800;color: #432818;cursor: pointer;display: inline-flex;align-items: center;justify-content: center;gap: 6px;transition: all 0.2s ease;white-space: nowrap;box-sizing: border-box;line-height: 1;box-shadow: 0 2px 6px rgba(67, 40, 24, 0.06);}
.header-action-btn:hover{background: #ffffff;color: #b45309;border-color: #d97706;transform: translateY(-1px);box-shadow: 0 4px 10px rgba(180, 83, 9, 0.14);}
html[data-theme="dark"] .header-action-btn{background: rgba(255, 255, 255, 0.06);border-color: #334155;color: #cbd5e1;box-shadow: none;}
html[data-theme="dark"] .header-action-btn:hover{background: rgba(255, 255, 255, 0.12);color: #f8fafc;border-color: #64748b;}
.header-action-btn.header-mypage-btn{background: linear-gradient(135deg, #9a5b25, #7c4316) !important;color: #fffdf9 !important;border: 1.5px solid #c68b59 !important;box-shadow: 0 2px 8px rgba(124, 67, 22, 0.24);font-weight: 800;font-size: 0.86rem;border-radius: 10px;display: inline-flex;align-items: center;justify-content: center;gap: 6px;padding: 0 14px;height: 38px;box-sizing: border-box;transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;}
.header-action-btn.header-mypage-btn:hover{background: linear-gradient(135deg, #b4692c, #8c4d1b) !important;color: #ffffff !important;border-color: #deb086 !important;transform: translateY(-1px) !important;box-shadow: 0 4px 12px rgba(124, 67, 22, 0.36);}
.icon-inline{display: inline-block;vertical-align: -0.15em;stroke-width: 2;stroke-linecap: round;stroke-linejoin: round;flex-shrink: 0;}
.mypage-star-count{background: rgba(255, 255, 255, 0.22);padding: 1px 6px;border-radius: 10px;font-size: 0.72rem;display: inline-flex;align-items: center;gap: 2px;line-height: 1.2;}
.header-action-btn.header-auth-btn{display: inline-flex;flex-direction: row;align-items: center;justify-content: center;padding: 0 14px;height: 38px;border-radius: 10px;line-height: 1;gap: 6px;box-sizing: border-box;}
.auth-icon-wrap{display: flex;align-items: center;justify-content: center;height: 15px;width: 15px;}
.auth-icon-wrap svg{display: block;width: 15px;height: 15px;}
.auth-text-label{font-size: 0.86rem;font-weight: 800;letter-spacing: -0.01em;}
.brand-logo-link{display: inline-flex;align-items: center;gap: 10px;text-decoration: none;color: inherit;cursor: pointer;user-select: none;transition: opacity 0.2s ease;}
.brand-logo-link:hover{opacity: 0.95;}
.brand-avatar{width: 42px;height: 42px;border-radius: 50%;object-fit: cover;border: 2px solid #f59e0b;box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);flex-shrink: 0;background: #fef3c7;}
.brand-logo-link:hover .brand-avatar{transform: scale(1.1) rotate(-4deg);}
html[data-theme="dark"] .brand-avatar{border-color: #fbbf24;box-shadow: 0 2px 10px rgba(251, 191, 36, 0.35);}
.brand-text-col{display: flex;align-items: baseline;gap: 10px;flex-wrap: wrap;}
.brand-title{font-size: 1.35rem;font-weight: 900;letter-spacing: 0.04em;color: var(--text-main);line-height: 1;}
html[data-theme="dark"] .brand-title{color: #ffffff;}
.brand-subtitle{font-size: 0.74rem;font-weight: 600;color: var(--text-sub);letter-spacing: 0.02em;line-height: 1.2;}
html[data-theme="dark"] .brand-subtitle{color: #94a3b8;}
.theme-toggle-switch{position: relative;width: 58px;height: 28px;background: #cbd5e1;border: 1px solid #94a3b8;border-radius: 14px;cursor: pointer;display: inline-flex;align-items: center;justify-content: space-between;padding: 0 4px;user-select: none;transition: all 0.25s ease;flex-shrink: 0;box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.12);}
html[data-theme="dark"] .theme-toggle-switch{background: #090d14;border-color: #2a374d;box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);}
.theme-toggle-thumb{position: absolute;top: 2px;left: 3px;width: 22px;height: 22px;border-radius: 50%;background: #ffffff;box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s ease;z-index: 1;}
html[data-theme="dark"] .theme-toggle-thumb{transform: translateX(28px);background: #253347;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);}
.theme-toggle-icon{position: relative;z-index: 2;width: 22px;height: 22px;display: flex;align-items: center;justify-content: center;color: #64748b;transition: color 0.25s ease;}
html[data-theme="light"] .theme-toggle-icon.sun{color: #ea580c;}
html[data-theme="light"] .theme-toggle-icon.moon{color: #94a3b8;}
html[data-theme="dark"] .theme-toggle-icon.sun{color: #475569;}
html[data-theme="dark"] .theme-toggle-icon.moon{color: #f8fafc;}
.nav-tabs{display: grid;grid-template-columns: repeat(9, minmax(0, 1fr));gap: 5px;background: #e2e8f0;padding: 4px;border-radius: 10px;border: 1px solid #cbd5e1;align-items: center;width: 100%;box-sizing: border-box;}
.nav-tabs::-webkit-scrollbar{display: none;}
html[data-theme="dark"] .nav-tabs{background: #121620;border-color: #233044;}
.nav-tab-btn{background: transparent;border: none;color: #475569;font-size: 0.82rem;font-weight: 700;padding: 7px 4px;border-radius: 6px;cursor: pointer;transition: all 0.2s;display: inline-flex;align-items: center;justify-content: center;gap: 5px;user-select: none;white-space: nowrap;text-align: center;width: 100%;min-width: 0;box-sizing: border-box;}
@media (max-width: 1100px) and (min-width: 641px){.nav-tab-btn{font-size: 0.74rem;padding: 6px 2px;gap: 3px;}.nav-tab-btn svg{width: 11px;height: 11px;}}
@media (max-width: 1100px) and (min-width: 641px){.genre-selector-bar{overflow-x: auto !important;scrollbar-width: none !important;-webkit-overflow-scrolling: touch !important;flex-wrap: nowrap !important;gap: 3px !important;padding: 3px 4px !important;}.genre-selector-bar::-webkit-scrollbar{display: none !important;}.genre-main-btn{flex: 1 1 auto !important;flex-shrink: 0 !important;padding: 4px 5px !important;font-size: 0.70rem !important;gap: 3px !important;white-space: nowrap !important;box-sizing: border-box !important;}.genre-main-btn .genre-color-indicator{width: 6px !important;height: 6px !important;}.genre-main-btn .genre-icon{width: 12px !important;height: 12px !important;}}
.nav-tab-btn:hover{color: #0f172a;background: rgba(255, 255, 255, 0.6);}
html[data-theme="dark"] .nav-tab-btn{color: #94a3b8;}
html[data-theme="dark"] .nav-tab-btn:hover{color: #fff;background: rgba(255, 255, 255, 0.08);}
.nav-tab-btn.active{background: #ffffff;color: #0f172a;box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);font-weight: 800;}
html[data-theme="dark"] .nav-tab-btn.active{background: var(--accent-gold);color: #0f1218;box-shadow: 0 2px 8px rgba(212, 175, 55, 0.35);font-weight: 800;}
.nav-tab-btn.mypage-btn{background: #e0f2fe;color: #0369a1;border: 1px solid #7dd3fc;font-weight: 700;}
.nav-tab-btn.mypage-btn:hover{background: #0284c7;color: #fff;}
html[data-theme="dark"] .nav-tab-btn.mypage-btn{background: #1e293b;color: #38bdf8;border-color: #38bdf8;}
html[data-theme="dark"] .nav-tab-btn.mypage-btn:hover{background: #0284c7;color: #fff;}
.nav-tab-btn.calc-btn{background: #f3e8ff;color: #7e22ce;border: 1px solid #d8b4fe;}
.nav-tab-btn.calc-btn:hover{background: #7e22ce;color: #fff;}
html[data-theme="dark"] .nav-tab-btn.calc-btn{background: #2e1065;color: #d8b4fe;border-color: #a855f7;}
html[data-theme="dark"] .nav-tab-btn.calc-btn:hover{background: #7e22ce;color: #fff;}
main{max-width: 1560px;margin: 0 auto;padding: 16px 16px 80px;width: 100%;box-sizing: border-box;flex: 1;}
.main-tab-view{animation: fadeInView 0.2s ease-out;}
@keyframes fadeInView{from{opacity: 0;transform: translateY(4px);}to{opacity: 1;transform: translateY(0);}}
.view-showcase-header{background: var(--bg-card);border: 1px solid var(--border-color);border-radius: 12px;padding: 18px 20px;margin-bottom: 20px;box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);}
html[data-theme="dark"] .view-showcase-header{background: #161c28;border-color: #273448;box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);}
.view-showcase-title-row{display: flex;align-items: center;justify-content: space-between;flex-wrap: wrap;gap: 12px;margin-bottom: 8px;}
.view-showcase-title{font-size: 1.35rem;font-weight: 800;color: var(--text-main);display: flex;align-items: center;gap: 10px;margin: 0;}
.view-showcase-desc{font-size: 0.85rem;color: var(--text-sub);margin: 0 0 14px;line-height: 1.5;}
.view-filter-tabs{display: flex;gap: 6px;flex-wrap: wrap;}
.view-filter-btn{background: var(--bg-panel);border: 1px solid var(--border-color);color: var(--text-sub);font-size: 0.78rem;font-weight: 700;padding: 5px 12px;border-radius: 20px;cursor: pointer;transition: all 0.2s;}
.view-filter-btn:hover{color: var(--text-main);border-color: var(--accent-gold);}
.view-filter-btn.active{background: var(--accent-gold);color: #0f1218;border-color: var(--accent-gold);box-shadow: 0 2px 6px rgba(212, 175, 55, 0.25);}
.genre-selector-bar{display: flex;background: #e2e8f0;border: 1.5px solid var(--genre-border) !important;border-radius: 12px !important;padding: 3px 4px;margin-bottom: 0;gap: 4px;transition: border-color 0.25s ease, background 0.2s ease, box-shadow 0.25s ease;}
html[data-theme="dark"] .genre-selector-bar{background: var(--dm-bg-surface);border: 1.5px solid var(--genre-border) !important;}
.genre-selector-bar[data-active-genre="all"]{border-color: var(--genre-border) !important;}
.genre-selector-bar[data-active-genre="comic"]{border-color: var(--genre-border) !important;}
.genre-selector-bar[data-active-genre="lightnovel"]{border-color: var(--genre-border) !important;}
.genre-selector-bar[data-active-genre="bungei"]{border-color: var(--genre-border) !important;}
.genre-selector-bar[data-active-genre="business"]{border-color: var(--genre-border) !important;}
.genre-selector-bar[data-active-genre="tech"]{border-color: var(--genre-border) !important;}
.genre-selector-bar[data-active-genre="other"]{border-color: var(--genre-border) !important;}
.genre-mode-banner{display: flex;align-items: center;justify-content: space-between;gap: 20px;background: var(--genre-bg-tint);border: 1.5px solid var(--genre-border);box-shadow: 0 2px 10px var(--genre-shadow-tint);border-radius: 8px;padding: 6px 14px;margin-bottom: 12px;font-size: 0.82rem;transition: all 0.25s ease;}
html[data-theme="dark"] .genre-mode-banner{background: var(--genre-bg-tint);border-color: var(--genre-border);}
.genre-mode-banner .mode-tag{display: inline-flex;align-items: center;gap: 4px;padding: 3px 10px;border-radius: 6px;font-size: 0.74rem;font-weight: 800;letter-spacing: 0.02em;color: #ffffff !important;background: var(--genre-theme) !important;box-shadow: 0 1px 4px var(--genre-shadow-tint);white-space: nowrap;}
.genre-mode-banner.mode-business .mode-tag{background: #2563eb !important;}
.genre-mode-banner.mode-comic .mode-tag{background: #ea580c !important;}
.genre-mode-banner.mode-lightnovel .mode-tag{background: #9333ea !important;}
.genre-mode-banner.mode-bungei .mode-tag{background: #059669 !important;}
.genre-mode-banner.mode-tech .mode-tag{background: #0891b2 !important;}
.genre-mode-banner.mode-other .mode-tag{background: #e11d48 !important;}
.genre-mode-banner.mode-all .mode-tag{background: #d97706 !important;}
.genre-mode-banner .mode-desc{font-size: 0.8rem;font-weight: 600;color: var(--text-main);margin-left: 8px;}
.genre-mode-banner .mode-reset-btn{background: rgba(0, 0, 0, 0.04);border: 1px solid var(--genre-border-subtle);color: var(--text-sub);font-size: 0.74rem;font-weight: 700;cursor: pointer;padding: 4px 12px;border-radius: 6px;transition: all 0.2s ease;white-space: nowrap;margin-left: 20px;flex-shrink: 0;}
.genre-mode-banner .mode-reset-btn:hover{background: var(--genre-border-subtle);color: var(--genre-theme);}
html[data-theme="dark"] .genre-mode-banner .mode-reset-btn{background: rgba(255, 255, 255, 0.06);color: #cbd5e1;}
html[data-theme="dark"] .genre-mode-banner .mode-reset-btn:hover{background: rgba(255, 255, 255, 0.12);color: #ffffff;}
.permanent-search-top-row{display: flex;align-items: center;gap: 10px;width: 100%;}
.permanent-search-top-row .search-input-wrapper{flex: 1;min-width: 0;}
.search-scope-toggle-row{display: inline-flex;align-items: center;flex-shrink: 0;margin: 0;padding: 0;font-size: 0.78rem;}
.scope-toggle-switch-wrap{display: inline-flex;align-items: center;gap: 8px;cursor: pointer;user-select: none;padding: 8px 14px;border-radius: 999px;background: #f8fafc;border: 1.5px solid #cbd5e1;transition: all 0.2s ease;white-space: nowrap;box-sizing: border-box;min-height: 40px;}
.scope-toggle-switch-wrap:hover{border-color: #94a3b8;background: #f1f5f9;}
html[data-theme="dark"] .scope-toggle-switch-wrap{background: #0b0f17;border-color: #36445c;}
html[data-theme="dark"] .scope-toggle-switch-wrap:hover{border-color: #64748b;background: #131b29;}
.scope-toggle-switch-wrap input{display: none;}
.scope-toggle-slider{position: relative;width: 32px;height: 18px;background-color: #cbd5e1;border-radius: 20px;transition: all 0.25s ease;flex-shrink: 0;}
html[data-theme="dark"] .scope-toggle-slider{background-color: #334155;}
.scope-toggle-slider::before{content: "";position: absolute;width: 14px;height: 14px;left: 2px;top: 2px;background-color: #ffffff;border-radius: 50%;transition: all 0.25s ease;box-shadow: 0 1px 3px rgba(0,0,0,0.25);}
.scope-toggle-switch-wrap input:checked + .scope-toggle-slider{background-color: #2563eb;}
.scope-toggle-switch-wrap input:checked + .scope-toggle-slider::before{transform: translateX(14px);}
.scope-toggle-switch-wrap input:disabled + .scope-toggle-slider{opacity: 0.45;cursor: not-allowed;}
.scope-toggle-label{color: #334155;font-weight: 700;font-size: 0.76rem;}
html[data-theme="dark"] .scope-toggle-label{color: #cbd5e1;}
.scope-toggle-hint{color: #64748b;font-size: 0.72rem;}
html[data-theme="dark"] .scope-toggle-hint{color: #94a3b8;}
.genre-home-btn{flex: 0 0 auto;display: inline-flex;align-items: center;justify-content: center;gap: 5px;padding: 5px 12px;background: var(--home-btn-bg, #0f172a);border: 1.5px solid var(--home-btn-border, #0f172a);color: var(--home-btn-color, #ffffff);font-size: 0.82rem;font-weight: 800;border-radius: 8px;cursor: pointer;transition: all 0.2s ease;user-select: none;white-space: nowrap;box-shadow: 0 2px 8px var(--home-btn-shadow, rgba(15, 23, 42, 0.2));box-sizing: border-box;}
.genre-home-btn .genre-icon, .genre-home-btn svg{stroke: currentColor;transition: transform 0.2s ease;}
.genre-home-btn:hover{background: var(--home-btn-hover-bg, #1e293b);border-color: var(--home-btn-hover-bg, #1e293b);color: var(--home-btn-color, #ffffff);transform: none !important;box-shadow: 0 4px 12px var(--home-btn-shadow, rgba(15, 23, 42, 0.32));}
.genre-home-btn:hover .genre-icon, .genre-home-btn:hover svg{transform: scale(1.15);}
.genre-home-btn:active{transform: none !important;box-shadow: 0 1px 4px var(--home-btn-shadow, rgba(15, 23, 42, 0.15));}
.genre-home-btn.active{background: var(--home-btn-bg, #0f172a);border-color: var(--home-btn-border, #0f172a);color: var(--home-btn-color, #ffffff);box-shadow: 0 3px 12px var(--home-btn-shadow, rgba(15, 23, 42, 0.25));font-weight: 900;}
html[data-theme="dark"] .genre-home-btn{background: var(--home-btn-bg, #f59e0b);border-color: var(--home-btn-border, #f59e0b);color: var(--home-btn-color, #0f172a);box-shadow: 0 2px 10px var(--home-btn-shadow, rgba(245, 158, 11, 0.3));font-weight: 900;}
html[data-theme="dark"] .genre-home-btn:hover{background: var(--home-btn-hover-bg, #fbbf24);border-color: var(--home-btn-hover-bg, #fbbf24);color: var(--home-btn-color, #0f172a);box-shadow: 0 4px 14px var(--home-btn-shadow, rgba(245, 158, 11, 0.45));}
html[data-theme="dark"] .genre-home-btn.active{background: var(--home-btn-bg, #f59e0b);color: var(--home-btn-color, #0f172a);border-color: var(--home-btn-border, #f59e0b);box-shadow: 0 3px 14px var(--home-btn-shadow, rgba(245, 158, 11, 0.35));font-weight: 900;}
.genre-nav-divider{width: 1.5px;height: 16px;background: #cbd5e1;margin: 0 3px;flex-shrink: 0;align-self: center;}
html[data-theme="dark"] .genre-nav-divider{background: #334155;}
.mobile-home-btn{display: none;}
@media (max-width: 768px){.genre-home-btn{padding: 6px 11px;font-size: 0.74rem;gap: 4px;}.genre-home-btn svg{width: 12px;height: 12px;}.mobile-home-btn{display: inline-flex;align-items: center;gap: 5px;padding: 6px 12px;border-radius: 8px;border: 1.5px solid var(--home-btn-border, #0f172a);background: var(--home-btn-bg, #0f172a);color: var(--home-btn-color, #ffffff);font-size: 0.74rem;font-weight: 800;cursor: pointer;flex-shrink: 0;white-space: nowrap;transition: all 0.2s ease;box-shadow: 0 2px 6px var(--home-btn-shadow, rgba(0, 0, 0, 0.18));box-sizing: border-box;}.mobile-home-btn svg{stroke: currentColor;}.mobile-home-btn.active{background: var(--home-btn-bg, #0f172a);color: var(--home-btn-color, #ffffff);border-color: var(--home-btn-border, #0f172a);box-shadow: 0 2px 8px var(--home-btn-shadow, rgba(0, 0, 0, 0.2));}.mobile-home-btn:hover, .mobile-home-btn:active{background: var(--home-btn-hover-bg, #1e293b);border-color: var(--home-btn-hover-bg, #1e293b);color: var(--home-btn-color, #ffffff);}html[data-theme="dark"] .mobile-home-btn{background: var(--home-btn-bg, #f59e0b);border-color: var(--home-btn-border, #f59e0b);color: var(--home-btn-color, #0f1218);box-shadow: 0 2px 8px var(--home-btn-shadow, rgba(245, 158, 11, 0.25));}html[data-theme="dark"] .mobile-home-btn.active{background: var(--home-btn-bg, #f59e0b);color: var(--home-btn-color, #0f1218);border-color: var(--home-btn-border, #f59e0b);}html[data-theme="dark"] .mobile-home-btn:hover, html[data-theme="dark"] .mobile-home-btn:active{background: var(--home-btn-hover-bg, #fbbf24);border-color: var(--home-btn-hover-bg, #fbbf24);color: var(--home-btn-color, #0f1218);}}
.genre-main-btn{flex: 1 1 0;min-width: 0;width: 0;display: flex;align-items: center;justify-content: center;gap: 4px;padding: 5px 4px 6px 4px;background: transparent;border: 1.5px solid transparent;border-bottom: 3px solid transparent;color: #64748b;font-size: 0.82rem;font-weight: 700;border-radius: 8px;cursor: pointer;transition: all 0.2s ease;user-select: none;position: relative;white-space: nowrap;box-sizing: border-box;}
.genre-main-btn .genre-color-indicator{width: 8px;height: 8px;border-radius: 50%;flex-shrink: 0;opacity: 0.75;transition: all 0.2s;}
.genre-main-btn .genre-icon{flex-shrink: 0;transition: transform 0.2s, stroke 0.2s;}
.genre-main-btn:hover .genre-icon{transform: scale(1.12);}
.genre-btn-all{color: #92400e;}
.genre-btn-all .genre-icon{stroke: #d97706;}
.genre-btn-all .genre-color-indicator{background-color: #d97706;}
.genre-btn-all:hover:not(.active){background: rgba(217, 119, 6, 0.08);color: #b45309;}
html[data-theme="dark"] .genre-btn-all{color: #cbd5e1;}
html[data-theme="dark"] .genre-btn-all .genre-icon{stroke: #fbbf24;}
html[data-theme="dark"] .genre-btn-all .genre-color-indicator{background-color: #f59e0b;}
html[data-theme="dark"] .genre-btn-all:hover:not(.active){background: rgba(245, 158, 11, 0.12);color: #fde68a;}
.genre-btn-all.active{background: #ffffff;color: #b45309;box-shadow: 0 3px 12px rgba(217, 119, 6, 0.2);border-color: rgba(217, 119, 6, 0.35);border-bottom: 3.5px solid #d97706;font-weight: 800;}
.genre-btn-all.active .genre-color-indicator{opacity: 1;box-shadow: 0 0 6px rgba(217, 119, 6, 0.6);transform: scale(1.2);}
html[data-theme="dark"] .genre-btn-all.active{background: #231e12;color: #fde68a;box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);border-color: rgba(245, 158, 11, 0.4);border-bottom: 3.5px solid #f59e0b;font-weight: 800;}
html[data-theme="dark"] .genre-btn-all.active .genre-color-indicator{box-shadow: 0 0 8px rgba(245, 158, 11, 0.8);}
.genre-btn-comic{color: #7c2d12;}
.genre-btn-comic .genre-icon{stroke: #ea580c;}
.genre-btn-comic .genre-color-indicator{background-color: #ea580c;}
.genre-btn-comic:hover:not(.active){background: rgba(234, 88, 12, 0.08);color: #c2410c;}
html[data-theme="dark"] .genre-btn-comic{color: #cbd5e1;}
html[data-theme="dark"] .genre-btn-comic .genre-icon{stroke: #fb923c;}
html[data-theme="dark"] .genre-btn-comic .genre-color-indicator{background-color: #f97316;}
html[data-theme="dark"] .genre-btn-comic:hover:not(.active){background: rgba(249, 115, 22, 0.12);color: #fdba74;}
.genre-btn-comic.active{background: #ffffff;color: #c2410c;box-shadow: 0 3px 12px rgba(234, 88, 12, 0.18);border-color: rgba(234, 88, 12, 0.3);border-bottom: 3.5px solid #ea580c;font-weight: 800;}
.genre-btn-comic.active .genre-color-indicator{opacity: 1;box-shadow: 0 0 6px rgba(234, 88, 12, 0.6);transform: scale(1.2);}
html[data-theme="dark"] .genre-btn-comic.active{background: #241b16;color: #fdba74;box-shadow: 0 4px 16px rgba(249, 115, 22, 0.25);border-color: rgba(249, 115, 22, 0.4);border-bottom: 3.5px solid #f97316;font-weight: 800;}
html[data-theme="dark"] .genre-btn-comic.active .genre-color-indicator{box-shadow: 0 0 8px rgba(249, 115, 22, 0.8);}
.genre-btn-bungei{color: #064e3b;}
.genre-btn-bungei .genre-icon{stroke: #059669;}
.genre-btn-bungei .genre-color-indicator{background-color: #059669;}
.genre-btn-bungei:hover:not(.active){background: rgba(5, 150, 105, 0.08);color: #047857;}
html[data-theme="dark"] .genre-btn-bungei{color: #cbd5e1;}
html[data-theme="dark"] .genre-btn-bungei .genre-icon{stroke: #34d399;}
html[data-theme="dark"] .genre-btn-bungei .genre-color-indicator{background-color: #10b981;}
html[data-theme="dark"] .genre-btn-bungei:hover:not(.active){background: rgba(16, 185, 129, 0.12);color: #6ee7b7;}
.genre-btn-bungei.active{background: #ffffff;color: #047857;box-shadow: 0 3px 12px rgba(5, 150, 105, 0.18);border-color: rgba(5, 150, 105, 0.3);border-bottom: 3.5px solid #059669;font-weight: 800;}
.genre-btn-bungei.active .genre-color-indicator{opacity: 1;box-shadow: 0 0 6px rgba(5, 150, 105, 0.6);transform: scale(1.2);}
html[data-theme="dark"] .genre-btn-bungei.active{background: #14241e;color: #6ee7b7;box-shadow: 0 4px 16px rgba(16, 185, 129, 0.25);border-color: rgba(16, 185, 129, 0.4);border-bottom: 3.5px solid #10b981;font-weight: 800;}
html[data-theme="dark"] .genre-btn-bungei.active .genre-color-indicator{box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);}
.genre-btn-business{color: #1e3a8a;}
.genre-btn-business .genre-icon{stroke: #2563eb;}
.genre-btn-business .genre-color-indicator{background-color: #2563eb;}
.genre-btn-business:hover:not(.active){background: rgba(37, 99, 235, 0.08);color: #1d4ed8;}
html[data-theme="dark"] .genre-btn-business{color: #cbd5e1;}
html[data-theme="dark"] .genre-btn-business .genre-icon{stroke: #60a5fa;}
html[data-theme="dark"] .genre-btn-business .genre-color-indicator{background-color: #3b82f6;}
html[data-theme="dark"] .genre-btn-business:hover:not(.active){background: rgba(59, 130, 246, 0.12);color: #93c5fd;}
.genre-btn-business.active{background: #ffffff;color: #1d4ed8;box-shadow: 0 3px 12px rgba(37, 99, 235, 0.18);border-color: rgba(37, 99, 235, 0.3);border-bottom: 3.5px solid #2563eb;font-weight: 800;}
.genre-btn-business.active .genre-color-indicator{opacity: 1;box-shadow: 0 0 6px rgba(37, 99, 235, 0.6);transform: scale(1.2);}
html[data-theme="dark"] .genre-btn-business.active{background: #152033;color: #93c5fd;box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25);border-color: rgba(59, 130, 246, 0.4);border-bottom: 3.5px solid #3b82f6;font-weight: 800;}
html[data-theme="dark"] .genre-btn-business.active .genre-color-indicator{box-shadow: 0 0 8px rgba(59, 130, 246, 0.8);}
.genre-btn-lightnovel{color: #581c87;}
.genre-btn-lightnovel .genre-icon{stroke: #9333ea;}
.genre-btn-lightnovel .genre-color-indicator{background-color: #9333ea;}
.genre-btn-lightnovel:hover:not(.active){background: rgba(147, 51, 234, 0.08);color: #7e22ce;}
html[data-theme="dark"] .genre-btn-lightnovel{color: #cbd5e1;}
html[data-theme="dark"] .genre-btn-lightnovel .genre-icon{stroke: #c084fc;}
html[data-theme="dark"] .genre-btn-lightnovel .genre-color-indicator{background-color: #a855f7;}
html[data-theme="dark"] .genre-btn-lightnovel:hover:not(.active){background: rgba(168, 85, 247, 0.12);color: #e9d5ff;}
.genre-btn-lightnovel.active{background: #ffffff;color: #7e22ce;box-shadow: 0 3px 12px rgba(147, 51, 234, 0.18);border-color: rgba(147, 51, 234, 0.3);border-bottom: 3.5px solid #9333ea;font-weight: 800;}
.genre-btn-lightnovel.active .genre-color-indicator{opacity: 1;box-shadow: 0 0 6px rgba(147, 51, 234, 0.6);transform: scale(1.2);}
html[data-theme="dark"] .genre-btn-lightnovel.active{background: #20152b;color: #e9d5ff;box-shadow: 0 4px 16px rgba(168, 85, 247, 0.25);border-color: rgba(168, 85, 247, 0.4);border-bottom: 3.5px solid #a855f7;font-weight: 800;}
html[data-theme="dark"] .genre-btn-lightnovel.active .genre-color-indicator{box-shadow: 0 0 8px rgba(168, 85, 247, 0.8);}
.genre-btn-tech{color: #164e63;}
.genre-btn-tech .genre-icon{stroke: #0891b2;}
.genre-btn-tech .genre-color-indicator{background-color: #0891b2;}
.genre-btn-tech:hover:not(.active){background: rgba(8, 145, 178, 0.08);color: #0e7490;}
html[data-theme="dark"] .genre-btn-tech{color: #cbd5e1;}
html[data-theme="dark"] .genre-btn-tech .genre-icon{stroke: #22d3ee;}
html[data-theme="dark"] .genre-btn-tech .genre-color-indicator{background-color: #06b6d4;}
html[data-theme="dark"] .genre-btn-tech:hover:not(.active){background: rgba(6, 182, 212, 0.12);color: #a5f3fc;}
.genre-btn-tech.active{background: #ffffff;color: #0e7490;box-shadow: 0 3px 12px rgba(8, 145, 178, 0.18);border-color: rgba(8, 145, 178, 0.3);border-bottom: 3.5px solid #0891b2;font-weight: 800;}
.genre-btn-tech.active .genre-color-indicator{opacity: 1;box-shadow: 0 0 6px rgba(8, 145, 178, 0.6);transform: scale(1.2);}
html[data-theme="dark"] .genre-btn-tech.active{background: #112328;color: #a5f3fc;box-shadow: 0 4px 16px rgba(6, 182, 212, 0.25);border-color: rgba(6, 182, 212, 0.4);border-bottom: 3.5px solid #06b6d4;font-weight: 800;}
html[data-theme="dark"] .genre-btn-tech.active .genre-color-indicator{box-shadow: 0 0 8px rgba(6, 182, 212, 0.8);}
.genre-btn-other{color: #881337;}
.genre-btn-other .genre-icon{stroke: #e11d48;}
.genre-btn-other .genre-color-indicator{background-color: #e11d48;}
.genre-btn-other:hover:not(.active){background: rgba(225, 29, 72, 0.08);color: #be123c;}
html[data-theme="dark"] .genre-btn-other{color: #cbd5e1;}
html[data-theme="dark"] .genre-btn-other .genre-icon{stroke: #fb7185;}
html[data-theme="dark"] .genre-btn-other .genre-color-indicator{background-color: #f43f5e;}
html[data-theme="dark"] .genre-btn-other:hover:not(.active){background: rgba(244, 63, 94, 0.12);color: #fecdd3;}
.genre-btn-other.active{background: #ffffff;color: #be123c;box-shadow: 0 3px 12px rgba(225, 29, 72, 0.18);border-color: rgba(225, 29, 72, 0.3);border-bottom: 3.5px solid #e11d48;font-weight: 800;}
.genre-btn-other.active .genre-color-indicator{opacity: 1;box-shadow: 0 0 6px rgba(225, 29, 72, 0.6);transform: scale(1.2);}
html[data-theme="dark"] .genre-btn-other.active{background: #28121a;color: #fecdd3;box-shadow: 0 4px 16px rgba(244, 63, 94, 0.25);border-color: rgba(244, 63, 94, 0.4);border-bottom: 3.5px solid #f43f5e;font-weight: 800;}
html[data-theme="dark"] .genre-btn-other.active .genre-color-indicator{box-shadow: 0 0 8px rgba(244, 63, 94, 0.8);}
.special-killer-container{margin-bottom: 14px;width: 100%;}
.special-killer-grid{display: grid;grid-template-columns: 1fr 1fr;gap: 12px;}
.special-killer-btn{display: flex;align-items: center;justify-content: space-between;padding: 10px 14px;border-radius: 12px;border: 1.5px solid;cursor: pointer;text-decoration: none;transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);position: relative;overflow: hidden;user-select: none;box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);background: transparent;box-sizing: border-box;}
.special-killer-btn:hover{transform: translateY(-2px);box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);}
.special-killer-btn.active{transform: none !important;box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4), 0 8px 24px rgba(0, 0, 0, 0.25);}
.special-killer-btn .sk-left{display: flex;align-items: center;gap: 10px;}
.special-killer-btn .sk-icon-wrap{width: 32px;height: 32px;border-radius: 8px;display: flex;align-items: center;justify-content: center;flex-shrink: 0;}
.special-killer-btn .sk-text-col{display: flex;flex-direction: column;align-items: flex-start;gap: 1px;}
.special-killer-btn .sk-title{font-size: 0.88rem;font-weight: 800;letter-spacing: -0.01em;}
.special-killer-btn .sk-desc{font-size: 0.70rem;opacity: 0.85;font-weight: 600;}
.special-killer-btn .sk-badge{font-size: 0.68rem;font-weight: 800;padding: 4px 8px;border-radius: 20px;letter-spacing: 0.02em;white-space: nowrap;}
.special-btn-unlimited{background: linear-gradient(135deg, #1f180d 0%, #2f2212 100%);border-color: #f59e0b;color: #fef3c7;}
.special-btn-unlimited .sk-icon-wrap{background: rgba(245, 158, 11, 0.25);color: #fbbf24;}
.special-btn-unlimited .sk-badge{background: #f59e0b;color: #0f172a;box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);}
html[data-theme="light"] .special-btn-unlimited{background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);border-color: #f59e0b;color: #78350f;}
html[data-theme="light"] .special-btn-unlimited .sk-icon-wrap{background: #fde68a;color: #b45309;}
.special-btn-unlimited.active{border-color: #f59e0b;background: linear-gradient(135deg, #b45309 0%, #78350f 100%);color: #fff;}
html[data-theme="light"] .special-btn-unlimited.active{background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);color: #fff;}
.special-btn-unlimited.active .sk-badge{background: #fff;color: #b45309;}
.special-btn-free{background: linear-gradient(135deg, #0d2119 0%, #133327 100%);border-color: #10b981;color: #d1fae5;}
.special-btn-free .sk-icon-wrap{background: rgba(16, 185, 129, 0.25);color: #34d399;}
.special-btn-free .sk-badge{background: #10b981;color: #064e3b;box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);}
html[data-theme="light"] .special-btn-free{background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);border-color: #10b981;color: #064e3b;}
html[data-theme="light"] .special-btn-free .sk-icon-wrap{background: #a7f3d0;color: #047857;}
.special-btn-free.active{border-color: #10b981;background: linear-gradient(135deg, #047857 0%, #064e3b 100%);color: #fff;}
html[data-theme="light"] .special-btn-free.active{background: linear-gradient(135deg, #10b981 0%, #059669 100%);color: #fff;}
.special-btn-free.active .sk-badge{background: #fff;color: #047857;}
.badge-unlimited-tag{background: #f59e0b;color: #0f172a;font-size: 0.68rem;font-weight: 800;padding: 2px 7px;border-radius: 4px;display: inline-flex;align-items: center;gap: 3px;}
.badge-free-tag{background: #10b981;color: #ffffff;font-size: 0.68rem;font-weight: 800;padding: 2px 7px;border-radius: 4px;display: inline-flex;align-items: center;gap: 3px;}
.permanent-search-section{background: #161c27;border: 1px solid #2d384c;border-radius: 12px;padding: 14px 18px;margin-bottom: 20px;box-shadow: 0 4px 12px rgba(0,0,0,0.25);}
.search-input-wrapper{position: relative;display: flex;align-items: center;}
.search-input-wrapper .search-icon{position: absolute;left: 14px;font-size: 1.1rem;color: #94a3b8;pointer-events: auto;cursor: pointer;z-index: 2;transition: color 0.2s, transform 0.15s;}
.search-input-wrapper .search-icon:hover{color: #ea580c;transform: scale(1.1);}
.permanent-search-input{width: 100%;background: #0b0f17;border: 1px solid #36445c;border-radius: 26px;padding: 10px 42px 10px 44px;color: #fff;font-size: 0.92rem;outline: none;transition: border-color 0.2s, box-shadow 0.2s;}
.permanent-search-input:focus{border-color: var(--accent-gold);box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);}
.search-clear-btn{position: absolute;right: 14px;background: transparent;border: none;color: #94a3b8;font-size: 1.1rem;cursor: pointer;padding: 4px;}
.search-autocomplete-dropdown{position: absolute;top: calc(100% + 6px);left: 0;right: 0;background: #131822;border: 1px solid #334259;border-radius: 12px;box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);z-index: 1000;overflow: hidden;max-height: 380px;overflow-y: auto;}
.autocomplete-header{display: flex;justify-content: space-between;align-items: center;padding: 7px 14px;background: #0f141d;border-bottom: 1px solid #232e40;font-size: 0.7rem;color: #94a3b8;font-weight: 700;}
.autocomplete-item{display: flex;align-items: center;justify-content: space-between;padding: 9px 14px;border-bottom: 1px solid #1a2230;cursor: pointer;transition: background 0.15s;}
.autocomplete-item:last-child{border-bottom: none;}
.autocomplete-item:hover, .autocomplete-item.active{background: #1f293b;}
.autocomplete-item.active{background: rgba(234, 88, 12, 0.16) !important;box-shadow: inset 3px 0 0 #f97316;}
html[data-theme="light"] .autocomplete-item.active{background: #fff7ed !important;box-shadow: inset 3px 0 0 #ea580c;}
.kw-admin-ban-btn{display: inline-flex;align-items: center;justify-content: center;margin-left: 5px;width: 15px;height: 15px;border-radius: 50%;font-size: 0.68rem;line-height: 1;color: #94a3b8;background: rgba(148, 163, 184, 0.14);transition: all 0.15s ease;}
.kw-admin-ban-btn:hover{color: #ffffff;background: #ef4444;}
.autocomplete-left{display: flex;align-items: center;gap: 10px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;flex: 1;}
.autocomplete-tag{font-size: 0.65rem;font-weight: 700;padding: 2px 6px;border-radius: 4px;background: #232f42;color: #94a3b8;white-space: nowrap;}
.autocomplete-tag.tag-title{background: rgba(16, 185, 129, 0.2);color: #34d399;border: 1px solid rgba(16, 185, 129, 0.35);}
.autocomplete-tag.tag-author{background: rgba(99, 102, 241, 0.2);color: #a5b4fc;border: 1px solid rgba(99, 102, 241, 0.35);}
.autocomplete-tag.tag-new{background: rgba(245, 158, 11, 0.2);color: #fde68a;border: 1px solid rgba(245, 158, 11, 0.35);}
.autocomplete-tag.tag-series{background: rgba(14, 165, 233, 0.2);color: #7dd3fc;border: 1px solid rgba(14, 165, 233, 0.35);}
.autocomplete-tag.tag-sale{background: rgba(239, 68, 68, 0.2);color: #fca5a5;border: 1px solid rgba(239, 68, 68, 0.4);}
.autocomplete-tag.tag-pub{background: rgba(245, 158, 11, 0.2);color: #fde68a;border: 1px solid rgba(245, 158, 11, 0.4);}
.autocomplete-tag.tag-award{background: rgba(168, 85, 247, 0.2);color: #d8b4fe;border: 1px solid rgba(168, 85, 247, 0.4);}
.autocomplete-tag.tag-trend{background: rgba(249, 115, 22, 0.2);color: #fdba74;border: 1px solid rgba(249, 115, 22, 0.4);}
.autocomplete-tag.tag-history{background: rgba(168, 85, 247, 0.2);color: #d8b4fe;border: 1px solid rgba(168, 85, 247, 0.45);display: inline-flex;align-items: center;gap: 3px;}
.autocomplete-del-btn{background: transparent;border: none;color: #94a3b8;padding: 2px 6px;border-radius: 4px;font-size: 0.95rem;cursor: pointer;transition: color 0.15s, background 0.15s;margin-left: 8px;line-height: 1;display: inline-flex;align-items: center;justify-content: center;flex-shrink: 0;}
.autocomplete-del-btn:hover{color: #ef4444;background: rgba(239, 68, 68, 0.15);}
.autocomplete-clear-history-btn{background: transparent;border: none;color: #94a3b8;font-size: 0.68rem;cursor: pointer;text-decoration: underline;padding: 1px 4px;transition: color 0.15s;}
.autocomplete-clear-history-btn:hover{color: #ef4444;}
.autocomplete-sub-header{display: flex;justify-content: space-between;align-items: center;padding: 6px 14px;background: #0d121a;border-top: 1px solid #1a2230;border-bottom: 1px solid #1a2230;font-size: 0.68rem;color: #94a3b8;font-weight: 700;}
.autocomplete-text{font-size: 0.86rem;color: #e2e8f0;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
.search-hl{background: rgba(245, 158, 11, 0.3);color: #fef08a;font-weight: 700;border-radius: 2px;padding: 0 1px;}
.autocomplete-price{font-size: 0.78rem;font-weight: 800;color: #fb923c;white-space: nowrap;margin-left: 10px;}
.autocomplete-footer{padding: 6px 14px;background: #0f141d;border-top: 1px solid #232e40;font-size: 0.68rem;color: #94a3b8;display: flex;justify-content: space-between;align-items: center;}
.quick-keywords-bar{display: flex;align-items: center;gap: 8px;margin-top: 10px;font-size: 0.78rem;color: var(--text-sub);overflow-x: auto;flex-wrap: nowrap;scrollbar-width: none;-webkit-overflow-scrolling: touch;padding: 4px 0;}
.search-focus-backdrop{position: fixed;inset: 0;background: rgba(10, 14, 22, 0.56);backdrop-filter: blur(1.5px);-webkit-backdrop-filter: blur(1.5px);z-index: 1050;opacity: 0;pointer-events: none;transition: opacity 0.18s ease;}
body.is-search-focused .search-focus-backdrop{opacity: 1;pointer-events: auto;}
body.is-search-focused header{z-index: 1060 !important;}
body.is-search-focused .permanent-search-section{position: relative;z-index: 1065 !important;box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28) !important;}
body.is-search-focused #permanent-search-results{position: relative;z-index: 1062 !important;}
.quick-keywords-bar::-webkit-scrollbar{display: none;}
.quick-kw-label{display: inline-flex;align-items: center;gap: 4px;font-weight: 800;color: var(--accent-gold-light);font-size: 0.74rem;white-space: nowrap;flex-shrink: 0;}
#quick-keywords-list{display: flex;align-items: center;gap: 6px;flex-wrap: nowrap;flex-shrink: 0;}
.quick-kw-tag{background: #202a3a;border: 1px solid #334259;color: #93c5fd;padding: 3px 10px;border-radius: 14px;font-size: 0.75rem;cursor: pointer;display: inline-flex;align-items: center;transition: all 0.15s;white-space: nowrap;flex-shrink: 0;box-sizing: border-box;}
.quick-kw-tag:hover{background: #2b394f;color: #fff;border-color: #60a5fa;}
.kw-rank-num{display: inline-flex;align-items: center;justify-content: center;width: 16px;height: 16px;border-radius: 50%;font-size: 0.62rem;font-weight: 900;margin-right: 5px;line-height: 1;}
.kw-rank-num.r1{background: linear-gradient(135deg, #fbbf24, #d97706);color: #78350f;}
.kw-rank-num.r2{background: linear-gradient(135deg, #e2e8f0, #94a3b8);color: #1e293b;}
.kw-rank-num.r3{background: linear-gradient(135deg, #fdba74, #ea580c);color: #431407;}
.kw-rank-num.rother{background: #334155;color: #94a3b8;}
html[data-theme="light"] .quick-kw-tag{background: #f1f5f9;border-color: #cbd5e1;color: #1e293b;}
html[data-theme="light"] .quick-kw-tag:hover{background: #e2e8f0;color: #0284c7;border-color: #38bdf8;}
html[data-theme="light"] .quick-kw-label{color: #b45309;}
html[data-theme="light"] .kw-rank-num.rother{background: #e2e8f0;color: #64748b;}
.quick-kw-tag.genre-comic{background: rgba(249, 115, 22, 0.12);border-color: rgba(249, 115, 22, 0.35);color: #fdba74;}
.quick-kw-tag.genre-comic:hover{background: rgba(249, 115, 22, 0.22);border-color: rgba(249, 115, 22, 0.6);color: #fed7aa;}
.quick-kw-tag.genre-comic .kw-rank-num.rother{background: rgba(249, 115, 22, 0.28);color: #fed7aa;}
html[data-theme="light"] .quick-kw-tag.genre-comic{background: #fff7ed;border-color: #fed7aa;color: #c2410c;}
html[data-theme="light"] .quick-kw-tag.genre-comic:hover{background: #ffedd5;border-color: #fb923c;color: #9a3412;}
html[data-theme="light"] .quick-kw-tag.genre-comic .kw-rank-num.rother{background: #fed7aa;color: #9a3412;}
.quick-kw-tag.genre-lightnovel{background: rgba(168, 85, 247, 0.12);border-color: rgba(168, 85, 247, 0.35);color: #e9d5ff;}
.quick-kw-tag.genre-lightnovel:hover{background: rgba(168, 85, 247, 0.22);border-color: rgba(168, 85, 247, 0.6);color: #f3e8ff;}
.quick-kw-tag.genre-lightnovel .kw-rank-num.rother{background: rgba(168, 85, 247, 0.28);color: #f3e8ff;}
html[data-theme="light"] .quick-kw-tag.genre-lightnovel{background: #faf5ff;border-color: #e9d5ff;color: #7e22ce;}
html[data-theme="light"] .quick-kw-tag.genre-lightnovel:hover{background: #f3e8ff;border-color: #c084fc;color: #6b21a8;}
html[data-theme="light"] .quick-kw-tag.genre-lightnovel .kw-rank-num.rother{background: #e9d5ff;color: #6b21a8;}
.quick-kw-tag.genre-business{background: rgba(59, 130, 246, 0.12);border-color: rgba(59, 130, 246, 0.35);color: #93c5fd;}
.quick-kw-tag.genre-business:hover{background: rgba(59, 130, 246, 0.22);border-color: rgba(59, 130, 246, 0.6);color: #bfdbfe;}
.quick-kw-tag.genre-business .kw-rank-num.rother{background: rgba(59, 130, 246, 0.28);color: #bfdbfe;}
html[data-theme="light"] .quick-kw-tag.genre-business{background: #eff6ff;border-color: #bfdbfe;color: #1d4ed8;}
html[data-theme="light"] .quick-kw-tag.genre-business:hover{background: #dbeafe;border-color: #60a5fa;color: #1e40af;}
html[data-theme="light"] .quick-kw-tag.genre-business .kw-rank-num.rother{background: #bfdbfe;color: #1e40af;}
.quick-kw-tag.genre-bungei{background: rgba(16, 185, 129, 0.12);border-color: rgba(16, 185, 129, 0.35);color: #6ee7b7;}
.quick-kw-tag.genre-bungei:hover{background: rgba(16, 185, 129, 0.22);border-color: rgba(16, 185, 129, 0.6);color: #a7f3d0;}
.quick-kw-tag.genre-bungei .kw-rank-num.rother{background: rgba(16, 185, 129, 0.28);color: #a7f3d0;}
html[data-theme="light"] .quick-kw-tag.genre-bungei{background: #f0fdf4;border-color: #bbf7d0;color: #047857;}
html[data-theme="light"] .quick-kw-tag.genre-bungei:hover{background: #dcfce7;border-color: #4ade80;color: #065f46;}
html[data-theme="light"] .quick-kw-tag.genre-bungei .kw-rank-num.rother{background: #bbf7d0;color: #065f46;}
.quick-kw-tag.genre-tech{background: rgba(6, 182, 212, 0.12);border-color: rgba(6, 182, 212, 0.35);color: #67e8f9;}
.quick-kw-tag.genre-tech:hover{background: rgba(6, 182, 212, 0.22);border-color: rgba(6, 182, 212, 0.6);color: #a5f3fc;}
.quick-kw-tag.genre-tech .kw-rank-num.rother{background: rgba(6, 182, 212, 0.28);color: #a5f3fc;}
html[data-theme="light"] .quick-kw-tag.genre-tech{background: #ecfeff;border-color: #a5f3fc;color: #0e7490;}
html[data-theme="light"] .quick-kw-tag.genre-tech:hover{background: #cffafe;border-color: #22d3ee;color: #155e75;}
html[data-theme="light"] .quick-kw-tag.genre-tech .kw-rank-num.rother{background: #a5f3fc;color: #155e75;}
.quick-kw-tag.genre-other{background: rgba(244, 63, 94, 0.12);border-color: rgba(244, 63, 94, 0.35);color: #fda4af;}
.quick-kw-tag.genre-other:hover{background: rgba(244, 63, 94, 0.22);border-color: rgba(244, 63, 94, 0.6);color: #fecdd3;}
.quick-kw-tag.genre-other .kw-rank-num.rother{background: rgba(244, 63, 94, 0.28);color: #fecdd3;}
html[data-theme="light"] .quick-kw-tag.genre-other{background: #fff1f2;border-color: #fecdd3;color: #be123c;}
html[data-theme="light"] .quick-kw-tag.genre-other:hover{background: #ffe4e6;border-color: #fb7185;color: #9f1239;}
html[data-theme="light"] .quick-kw-tag.genre-other .kw-rank-num.rother{background: #fecdd3;color: #9f1239;}
.quick-kw-tag.genre-all{background: rgba(245, 158, 11, 0.12);border-color: rgba(245, 158, 11, 0.35);color: #fbbf24;}
.quick-kw-tag.genre-all:hover{background: rgba(245, 158, 11, 0.22);border-color: rgba(245, 158, 11, 0.6);color: #fde68a;}
.quick-kw-tag.genre-all .kw-rank-num.rother{background: rgba(245, 158, 11, 0.28);color: #fde68a;}
html[data-theme="light"] .quick-kw-tag.genre-all{background: #fffbeb;border-color: #fde68a;color: #b45309;}
html[data-theme="light"] .quick-kw-tag.genre-all:hover{background: #fef3c7;border-color: #f59e0b;color: #92400e;}
html[data-theme="light"] .quick-kw-tag.genre-all .kw-rank-num.rother{background: #fde68a;color: #92400e;}
.search-genre-pills-bar{display: flex;align-items: center;gap: 6px;overflow-x: auto;padding: 6px 2px 2px 2px;margin-top: 6px;border-top: 1px dashed rgba(180, 168, 154, 0.55);scrollbar-width: none;-webkit-overflow-scrolling: touch;margin-bottom: 0;}
html[data-theme="dark"] .search-genre-pills-bar{border-top-color: rgba(148, 163, 184, 0.22);}
.search-genre-pills-bar::-webkit-scrollbar{display: none;}
.search-genre-switch-arrow{font-size: 0.75rem;font-weight: 900;color: #94a3b8;flex-shrink: 0;padding: 0 2px;user-select: none;}
.search-genre-pill{display: inline-flex;align-items: center;gap: 5px;padding: 4px 11px;font-size: 0.74rem;font-weight: 800;border-radius: 999px;background: var(--bg-card, #ffffff);color: var(--text-sub, #475569);border: 1.5px solid var(--border-color, #cbd5e1);cursor: pointer;white-space: nowrap;transition: all 0.15s ease;flex-shrink: 0;box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);box-sizing: border-box;}
.search-genre-pill:hover{background: rgba(217, 119, 6, 0.08);border-color: #d97706;color: #b45309;transform: none !important;}
.search-genre-pill.active{background: linear-gradient(135deg, #d97706, #b45309);color: #ffffff !important;border-color: #b45309;box-shadow: 0 2px 8px rgba(217, 119, 6, 0.28);}
.search-genre-pill.genre-comic.active{background: linear-gradient(135deg, #ea580c, #c2410c);border-color: #c2410c;box-shadow: 0 2px 8px rgba(234, 88, 12, 0.28);}
.search-genre-pill.genre-lightnovel.active{background: linear-gradient(135deg, #9333ea, #7e22ce);border-color: #7e22ce;box-shadow: 0 2px 8px rgba(147, 51, 234, 0.28);}
.search-genre-pill.genre-bungei.active{background: linear-gradient(135deg, #059669, #047857);border-color: #047857;box-shadow: 0 2px 8px rgba(5, 150, 105, 0.28);}
.search-genre-pill.genre-business.active{background: linear-gradient(135deg, #2563eb, #1d4ed8);border-color: #1d4ed8;box-shadow: 0 2px 8px rgba(37, 99, 235, 0.28);}
.search-genre-pill.genre-tech.active{background: linear-gradient(135deg, #0891b2, #0e7490);border-color: #0e7490;box-shadow: 0 2px 8px rgba(8, 145, 178, 0.28);}
.search-genre-pill.genre-other.active{background: linear-gradient(135deg, #e11d48, #be123c);border-color: #be123c;box-shadow: 0 2px 8px rgba(225, 29, 72, 0.28);}
.search-genre-pill.genre-subcon.active{background: linear-gradient(135deg, #0d9488, #0f766e);border-color: #0f766e;box-shadow: 0 2px 8px rgba(13, 148, 136, 0.28);}
.search-genre-pill .genre-pill-count{display: inline-flex;align-items: center;justify-content: center;font-size: 0.68rem;font-weight: 800;padding: 1px 6px;border-radius: 999px;background: rgba(0, 0, 0, 0.07);color: inherit;}
.search-genre-pill.active .genre-pill-count{background: rgba(255, 255, 255, 0.25);color: #ffffff;}
html[data-theme="dark"] .search-genre-pill{background: #1e293b;color: #94a3b8;border-color: #334155;}
html[data-theme="dark"] .search-genre-pill:hover{border-color: #c084fc;color: #f8fafc;}
html[data-theme="dark"] .search-genre-pill.active{background: linear-gradient(135deg, #9333ea, #7e22ce);color: #ffffff !important;border-color: #a855f7;}
html[data-theme="dark"] .search-genre-pill .genre-pill-count{background: rgba(255, 255, 255, 0.1);}
.permanent-search-results-panel{margin-top: 0;margin-bottom: 24px;width: 100%;}
.search-filter-panel-box{background: #ede8df !important;backdrop-filter: blur(14px);-webkit-backdrop-filter: blur(14px);border: 1.5px solid var(--genre-border, rgba(214, 203, 190, 0.85)) !important;border-radius: 14px !important;padding: 6px 14px;margin-bottom: 10px;position: sticky;top: calc(var(--header-actual-height, 108px) - 2px) !important;z-index: 950;box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);transition: all 0.2s ease;--store-theme: #ea580c;--store-shadow: rgba(234, 88, 12, 0.3);--store-bg-tint: rgba(234, 88, 12, 0.08);}
html[data-theme="light"] .search-filter-panel-box{background: #ede8df !important;border: 1.5px solid var(--genre-border) !important;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);}
html[data-theme="light"] .search-filter-panel-box.is-stuck{background: rgba(237, 232, 223, 0.98) !important;border: 1.5px solid var(--genre-border) !important;border-top: 1.5px solid var(--genre-border) !important;border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 14px !important;border-bottom-right-radius: 14px !important;padding: 5px 14px 4px 14px !important;box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10) !important;}
html[data-theme="dark"] .search-filter-panel-box{background: #111622 !important;border: 1.5px solid var(--genre-border) !important;box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);--store-theme: #f97316;--store-shadow: rgba(249, 115, 22, 0.35);--store-bg-tint: rgba(249, 115, 22, 0.12);}
html[data-theme="dark"] .search-filter-panel-box.is-stuck{background: rgba(17, 22, 34, 0.98) !important;border: 1.5px solid var(--genre-border) !important;border-top: 1.5px solid var(--genre-border) !important;border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 14px !important;border-bottom-right-radius: 14px !important;padding: 5px 14px 4px 14px !important;box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5) !important;}
.search-filter-panel-box.is-stuck{border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 14px !important;border-bottom-right-radius: 14px !important;border-top: 1.5px solid var(--genre-border) !important;box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;}
.search-filter-panel-box.is-stuck .filter-box-header{margin-bottom: 4px;}
.search-filter-panel-box.is-stuck .sale-toggle-switches-bar{margin-bottom: 4px;padding-bottom: 4px;}
.search-bulk-set-card{background: #ffffff;border: 2.2px solid var(--genre-theme, #ea580c) !important;border-radius: 14px;padding: 16px 20px;margin-bottom: 14px;box-shadow: 0 6px 24px var(--genre-shadow-tint, rgba(234, 88, 12, 0.14));position: relative;overflow: hidden;transition: transform 0.2s ease, box-shadow 0.2s ease;}
.search-bulk-set-card:hover{box-shadow: 0 8px 28px var(--genre-shadow-tint, rgba(234, 88, 12, 0.22));}
html[data-theme="dark"] .search-bulk-set-card{background: #141923;border-color: var(--genre-theme, #f97316) !important;box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);}
.bulk-set-badge-banner{display: flex;align-items: center;gap: 8px;margin-bottom: 12px;flex-wrap: wrap;}
.bulk-set-crown-badge{display: inline-flex;align-items: center;gap: 5px;background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);color: #ffffff;font-size: 0.78rem;font-weight: 800;padding: 4px 11px;border-radius: 999px;box-shadow: 0 2px 6px rgba(234, 88, 12, 0.35);letter-spacing: 0.02em;}
.bulk-set-scope-badge{font-size: 0.74rem;color: #92400e;background: rgba(245, 158, 11, 0.12);border: 1px solid rgba(245, 158, 11, 0.3);padding: 3px 9px;border-radius: 6px;font-weight: 700;}
html[data-theme="dark"] .bulk-set-scope-badge{color: #fde68a;background: rgba(245, 158, 11, 0.2);}
.bulk-set-cover-stack{position: relative;width: 68px;height: 98px;flex-shrink: 0;cursor: pointer;}
.bulk-set-cover-stack .stack-layer-2{position: absolute;top: -4px;right: -6px;width: 100%;height: 100%;background: #cbd5e1;border-radius: 6px;opacity: 0.55;border: 1px solid rgba(0,0,0,0.1);transform: rotate(3deg);}
.bulk-set-cover-stack .stack-layer-1{position: absolute;top: -2px;right: -3px;width: 100%;height: 100%;background: #94a3b8;border-radius: 6px;opacity: 0.75;border: 1px solid rgba(0,0,0,0.15);transform: rotate(1.5deg);}
.bulk-set-cover-stack .stack-main-img{position: relative;width: 100%;height: 100%;object-fit: cover;border-radius: 6px;box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);}
.bulk-set-cover-badge{position: absolute;bottom: -6px;left: 50%;transform: translateX(-50%);background: #111827;color: #fbbf24;font-size: 0.68rem;font-weight: 900;padding: 1px 7px;border-radius: 999px;white-space: nowrap;border: 1px solid #f59e0b;box-shadow: 0 2px 6px rgba(0,0,0,0.3);z-index: 2;}
.btn-bulk-sim-cta{display: inline-flex;align-items: center;gap: 6px;padding: 8px 16px;border-radius: 999px;font-size: 0.82rem;font-weight: 800;color: #92400e;background: #fef3c7;border: 1.5px solid #f59e0b;cursor: pointer;transition: all 0.18s ease;box-shadow: 0 2px 6px rgba(245, 158, 11, 0.2);}
.btn-bulk-sim-cta:hover{background: #fde68a;transform: translateY(-1px);box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);}
html[data-theme="dark"] .btn-bulk-sim-cta{background: rgba(245, 158, 11, 0.18);color: #fde68a;border-color: #f59e0b;}
.search-cards-grid{display: flex;flex-direction: column;gap: 12px;}
.search-results-header{background: #f0eee5;border: 1.5px solid rgba(214, 203, 190, 0.75);border-radius: 14px;padding: 10px 16px;margin-bottom: 14px;display: flex;justify-content: space-between;align-items: center;flex-wrap: wrap;gap: 10px;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);}
html[data-theme="dark"] .search-results-header{background: #1c2230;border-color: rgba(255, 255, 255, 0.08);box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);}
.search-results-header-left{display: flex;align-items: center;gap: 10px;flex-wrap: wrap;}
.search-header-badge{display: inline-flex;align-items: center;gap: 5px;background: #ea580c;color: #ffffff;font-size: 0.76rem;font-weight: 800;padding: 4px 11px;border-radius: 999px;letter-spacing: 0.02em;box-shadow: 0 2px 6px rgba(234, 88, 12, 0.28);}
.search-header-query{font-size: 0.95rem;font-weight: 800;color: var(--text-main, #0f172a);letter-spacing: 0.02em;}
.search-results-hit-badge{font-size: 0.72rem;font-weight: 700;color: #78350f;background: rgba(245, 158, 11, 0.15);padding: 3px 8px;border-radius: 6px;border: 1px solid rgba(245, 158, 11, 0.25);}
html[data-theme="dark"] .search-results-hit-badge{color: #fde68a;background: rgba(245, 158, 11, 0.2);border-color: rgba(245, 158, 11, 0.3);}
.search-results-scope-badge{font-size: 0.72rem;font-weight: 700;color: #ea580c;background: rgba(234, 88, 12, 0.1);padding: 3px 8px;border-radius: 6px;border: 1px solid rgba(234, 88, 12, 0.25);}
html[data-theme="dark"] .search-results-scope-badge{color: #fb923c;background: rgba(234, 88, 12, 0.18);border-color: rgba(234, 88, 12, 0.35);}
.search-results-close-btn{display: inline-flex;align-items: center;gap: 5px;background: #ffffff;color: #ea580c;border: 1.5px solid #ea580c;font-size: 0.76rem;font-weight: 800;padding: 4px 13px;border-radius: 999px;box-shadow: 0 2px 6px rgba(234, 88, 12, 0.12);cursor: pointer;transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);user-select: none;}
.search-results-close-btn:hover{background: #ea580c;color: #ffffff;box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);transform: translateY(-1px);}
html[data-theme="dark"] .search-results-close-btn{background: #181d28;color: #fb923c;border-color: #fb923c;}
html[data-theme="dark"] .search-results-close-btn:hover{background: #ea580c;color: #ffffff;border-color: #ea580c;}
.search-result-card{background: #ffffff;border: 1.5px solid rgba(214, 203, 190, 0.75);border-radius: 16px;padding: 16px;margin-bottom: 14px;box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;position: relative;}
.search-result-card:hover{box-shadow: 0 8px 24px rgba(234, 88, 12, 0.08);border-color: rgba(234, 88, 12, 0.4);}
html[data-theme="dark"] .search-result-card{background: #131720;border-color: rgba(255, 255, 255, 0.1);box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);}
html[data-theme="dark"] .search-result-card:hover{box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);border-color: rgba(249, 115, 22, 0.45);}
.search-card-top{display: flex;gap: 14px;align-items: flex-start;}
.search-card-cover-wrap{width: 62px;height: 90px;flex-shrink: 0;border-radius: 4px 8px 8px 4px;overflow: hidden;box-shadow: -2px 1px 4px rgba(0, 0, 0, 0.08), 0 6px 14px rgba(0, 0, 0, 0.12);cursor: pointer;background: #f1f5f9;position: relative;}
.search-card-cover-wrap::before{content: "";position: absolute;left: 0;top: 0;bottom: 0;width: 4px;background: linear-gradient(to right, rgba(0, 0, 0, 0.22) 0%, rgba(255, 255, 255, 0.35) 45%, transparent 100%);z-index: 2;pointer-events: none;}
html[data-theme="dark"] .search-card-cover-wrap{background: #242c3d;box-shadow: -2px 1px 4px rgba(0, 0, 0, 0.3), 0 6px 16px rgba(0, 0, 0, 0.4);}
.search-card-cover-img{width: 100%;height: 100%;object-fit: cover;transition: transform 0.3s ease;display: block;}
.search-card-cover-wrap:hover .search-card-cover-img{transform: scale(1.05);}
.search-card-info{flex: 1;min-width: 0;}
.search-card-tags-row{display: flex;gap: 6px;align-items: center;flex-wrap: wrap;margin-bottom: 5px;}
.search-tag-pill{font-size: 0.68rem;font-weight: 700;padding: 2px 7px;border-radius: 4px;line-height: 1.3;white-space: nowrap;}
.search-tag-pub{background: #f0eee5;color: #475569;border: 1px solid rgba(214, 203, 190, 0.75);}
html[data-theme="dark"] .search-tag-pub{background: #1c2230;color: #cbd5e1;border-color: rgba(255, 255, 255, 0.1);}
.search-tag-isbn{background: #faf8f5;color: #78350f;border: 1px solid rgba(214, 203, 190, 0.65);}
html[data-theme="dark"] .search-tag-isbn{background: #181d28;color: #d1d5db;border-color: #2b3548;}
.search-tag-sale{background: rgba(245, 158, 11, 0.12);color: #78350f;border: 1px solid rgba(245, 158, 11, 0.25);}
html[data-theme="dark"] .search-tag-sale{background: rgba(245, 158, 11, 0.18);color: #fde68a;border-color: rgba(245, 158, 11, 0.35);}
.search-card-title{font-size: 1.02rem;font-weight: 800;color: var(--text-main, #0f172a);margin: 0 0 4px 0;line-height: 1.4;cursor: pointer;transition: color 0.15s ease;}
.search-card-title:hover{color: #ea580c;}
.search-card-meta{font-size: 0.76rem;color: var(--text-sub, #475569);display: flex;align-items: center;gap: 6px;flex-wrap: wrap;}
.search-card-meta .pipe{color: rgba(214, 203, 190, 0.9);font-weight: 400;}
.search-saving-badge{display: inline-flex;align-items: center;gap: 4px;margin-top: 5px;font-size: 0.74rem;font-weight: 700;color: #78350f;background: rgba(245, 158, 11, 0.15);border: 1px solid rgba(245, 158, 11, 0.25);border-radius: 6px;padding: 3px 9px;}
html[data-theme="dark"] .search-saving-badge{color: #fde68a;background: rgba(245, 158, 11, 0.2);border-color: rgba(245, 158, 11, 0.3);}
.search-card-best-col{text-align: right;flex-shrink: 0;min-width: 110px;}
.search-best-label{font-size: 0.70rem;font-weight: 700;color: #78350f;letter-spacing: 0.02em;}
html[data-theme="dark"] .search-best-label{color: #cbd5e1;}
.search-best-price{font-size: 1.45rem;font-weight: 900;color: #ea580c;font-family: 'Montserrat', sans-serif;letter-spacing: -0.02em;line-height: 1.15;margin: 2px 0;}
html[data-theme="dark"] .search-best-price{color: #f97316;}
.search-best-discount{background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);color: #ffffff;border-radius: 999px;font-size: 0.70rem;font-weight: 800;font-family: 'Montserrat', sans-serif;padding: 3px 8px;display: inline-block;box-shadow: 0 2px 6px rgba(220, 38, 38, 0.35);letter-spacing: 0.03em;}
.search-stores-grid{display: grid;grid-template-columns: repeat(4, 1fr);gap: 8px;margin: 12px 0 10px 0;}
@media (max-width: 640px){.search-stores-grid{grid-template-columns: repeat(2, 1fr);}}
.search-store-cell{background: #faf8f5;border: 1px solid rgba(214, 203, 190, 0.75);border-radius: 10px;padding: 8px 10px;text-align: center;cursor: pointer;transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);position: relative;user-select: none;}
.search-store-cell:hover{border-color: #ea580c;transform: translateY(-2px);box-shadow: 0 4px 12px rgba(234, 88, 12, 0.08);}
html[data-theme="dark"] .search-store-cell{background: #111622;border-color: #232d3d;}
html[data-theme="dark"] .search-store-cell:hover{border-color: #f97316;box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);}
.search-store-cell.is-best{box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);position: relative;}
.search-store-cell.is-best.store-kindle{background: rgba(234, 88, 12, 0.06);border: 1.5px solid #ea580c;}
.search-store-cell.is-best.store-kobo{background: rgba(220, 38, 38, 0.06);border: 1.5px solid #dc2626;}
.search-store-cell.is-best.store-ebook{background: rgba(225, 29, 72, 0.06);border: 1.5px solid #e11d48;}
.search-store-cell.is-best.store-dmm{background: rgba(5, 150, 105, 0.06);border: 1.5px solid #059669;}
.search-store-cell.is-best.store-kindle:hover{background: rgba(234, 88, 12, 0.11);border-color: #c2410c;transform: translateY(-2px);box-shadow: 0 4px 14px rgba(234, 88, 12, 0.22);}
.search-store-cell.is-best.store-kobo:hover{background: rgba(220, 38, 38, 0.11);border-color: #b91c1c;transform: translateY(-2px);box-shadow: 0 4px 14px rgba(220, 38, 38, 0.22);}
.search-store-cell.is-best.store-ebook:hover{background: rgba(225, 29, 72, 0.11);border-color: #be123c;transform: translateY(-2px);box-shadow: 0 4px 14px rgba(225, 29, 72, 0.22);}
.search-store-cell.is-best.store-dmm:hover{background: rgba(5, 150, 105, 0.11);border-color: #047857;transform: translateY(-2px);box-shadow: 0 4px 14px rgba(5, 150, 105, 0.22);}
html[data-theme="dark"] .search-store-cell.is-best.store-kindle{background: rgba(249, 115, 22, 0.15);border-color: #f97316;}
html[data-theme="dark"] .search-store-cell.is-best.store-kobo{background: rgba(239, 68, 68, 0.15);border-color: #ef4444;}
html[data-theme="dark"] .search-store-cell.is-best.store-ebook{background: rgba(244, 63, 94, 0.15);border-color: #f43f5e;}
html[data-theme="dark"] .search-store-cell.is-best.store-dmm{background: rgba(16, 185, 129, 0.15);border-color: #10b981;}
.search-store-best-badge{position: absolute;top: -7px;right: 6px;color: #ffffff;font-size: 0.62rem;font-weight: 900;padding: 1px 7px;border-radius: 999px;letter-spacing: 0.02em;}
.search-store-cell.store-kindle .search-store-best-badge{background: #ea580c;box-shadow: 0 2px 4px rgba(234, 88, 12, 0.35);}
.search-store-cell.store-kobo .search-store-best-badge{background: #dc2626;box-shadow: 0 2px 4px rgba(220, 38, 38, 0.35);}
.search-store-cell.store-ebook .search-store-best-badge{background: #e11d48;box-shadow: 0 2px 4px rgba(225, 29, 72, 0.35);}
.search-store-cell.store-dmm .search-store-best-badge{background: #059669;box-shadow: 0 2px 4px rgba(5, 150, 105, 0.35);}
.search-store-cell.is-best.store-kindle .search-store-name-row{color: #ea580c;}
.search-store-cell.is-best.store-kobo .search-store-name-row{color: #dc2626;}
.search-store-cell.is-best.store-ebook .search-store-name-row{color: #e11d48;}
.search-store-cell.is-best.store-dmm .search-store-name-row{color: #059669;}
.search-store-cell.is-best.store-kindle .search-store-price{color: #ea580c;}
.search-store-cell.is-best.store-kobo .search-store-price{color: #dc2626;}
.search-store-cell.is-best.store-ebook .search-store-price{color: #e11d48;}
.search-store-cell.is-best.store-dmm .search-store-price{color: #059669;}
.search-store-cell.is-best.store-kindle .search-store-point{color: #c2410c;}
.search-store-cell.is-best.store-kobo .search-store-point{color: #b91c1c;}
.search-store-cell.is-best.store-ebook .search-store-point{color: #be123c;}
.search-store-cell.is-best.store-dmm .search-store-point{color: #047857;}
html[data-theme="dark"] .search-store-cell.is-best.store-kindle .search-store-price{color: #f97316;}
html[data-theme="dark"] .search-store-cell.is-best.store-kobo .search-store-price{color: #ef4444;}
html[data-theme="dark"] .search-store-cell.is-best.store-ebook .search-store-price{color: #f43f5e;}
html[data-theme="dark"] .search-store-cell.is-best.store-dmm .search-store-price{color: #10b981;}
.search-author-link{color: var(--accent-gold-dark, #b45309);text-decoration: underline;text-underline-offset: 3px;cursor: pointer;font-weight: 700;transition: all 0.15s ease;display: inline-flex;align-items: center;gap: 2px;}
.search-author-link:hover{color: var(--accent-orange, #ea580c);opacity: 0.85;}
html[data-theme="dark"] .search-author-link{color: #fbbf24;}
html[data-theme="dark"] .search-author-link:hover{color: #f97316;}
.search-best-price.store-kindle{color: #ea580c;}
.search-best-price.store-kobo{color: #dc2626;}
.search-best-price.store-ebook{color: #e11d48;}
.search-best-price.store-dmm{color: #059669;}
html[data-theme="dark"] .search-best-price.store-kindle{color: #f97316;}
html[data-theme="dark"] .search-best-price.store-kobo{color: #ef4444;}
html[data-theme="dark"] .search-best-price.store-ebook{color: #f43f5e;}
html[data-theme="dark"] .search-best-price.store-dmm{color: #10b981;}
.search-card-actions{display: flex;justify-content: space-between;align-items: center;gap: 8px;margin-top: 10px;padding-top: 10px;border-top: 1px solid rgba(214, 203, 190, 0.55);flex-wrap: wrap;}
html[data-theme="dark"] .search-card-actions{border-top-color: rgba(255, 255, 255, 0.08);}
.search-card-actions-left{display: flex;align-items: center;gap: 8px;flex-wrap: wrap;}
.search-card-actions .btn-kininaru-toggle{border-color: #8b5cf6 !important;background: rgba(139, 92, 246, 0.08) !important;color: #7c3aed !important;border-radius: 999px !important;padding: 5px 13px !important;font-size: 0.74rem !important;font-weight: 800 !important;box-shadow: 0 1px 4px rgba(124, 58, 237, 0.1) !important;transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;}
.search-card-actions .btn-kininaru-toggle:hover{border-color: #7c3aed !important;background: rgba(124, 58, 237, 0.16) !important;color: #6d28d9 !important;box-shadow: 0 3px 8px rgba(124, 58, 237, 0.25) !important;transform: translateY(-1px) !important;}
.search-card-actions .btn-kininaru-toggle.is-active{background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;color: #ffffff !important;border-color: #a78bfa !important;box-shadow: 0 2px 10px rgba(124, 58, 237, 0.45) !important;}
html[data-theme="dark"] .search-card-actions .btn-kininaru-toggle{background: rgba(167, 139, 250, 0.12) !important;border-color: #a78bfa !important;color: #c4b5fd !important;}
html[data-theme="dark"] .search-card-actions .btn-kininaru-toggle.is-active{background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;color: #ffffff !important;border-color: #a78bfa !important;}
.search-btn-preview{display: inline-flex;align-items: center;gap: 4px;padding: 5px 12px;border-radius: 999px;font-size: 0.74rem;font-weight: 700;background: #ffffff;border: 1px solid rgba(214, 203, 190, 0.85);color: #475569;cursor: pointer;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);transition: all 0.15s ease;user-select: none;}
.search-btn-preview:hover{background: #f0eee5;color: #0f172a;border-color: #cbd5e1;}
html[data-theme="dark"] .search-btn-preview{background: #1c2230;border-color: rgba(255, 255, 255, 0.1);color: #cbd5e1;}
html[data-theme="dark"] .search-btn-preview:hover{background: #242c3d;color: #ffffff;}
.search-btn-primary-buy{display: inline-flex;align-items: center;gap: 5px;padding: 6px 16px;border-radius: 999px;font-size: 0.78rem;font-weight: 800;background: linear-gradient(135deg, #ea580c, #c2410c);color: #ffffff !important;text-decoration: none;box-shadow: 0 3px 10px rgba(234, 88, 12, 0.28);transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);user-select: none;}
.search-btn-primary-buy:hover{transform: translateY(-1px);box-shadow: 0 5px 14px rgba(234, 88, 12, 0.4);filter: brightness(1.05);}
.search-btn-primary-buy.store-kindle{background: linear-gradient(135deg, #ea580c, #c2410c);box-shadow: 0 3px 10px rgba(234, 88, 12, 0.28);}
.search-btn-primary-buy.store-kindle:hover{box-shadow: 0 5px 14px rgba(234, 88, 12, 0.4);}
.search-btn-primary-buy.store-kobo{background: linear-gradient(135deg, #dc2626, #b91c1c);box-shadow: 0 3px 10px rgba(220, 38, 38, 0.28);}
.search-btn-primary-buy.store-kobo:hover{box-shadow: 0 5px 14px rgba(220, 38, 38, 0.4);}
.search-btn-primary-buy.store-ebook{background: linear-gradient(135deg, #e11d48, #be123c);box-shadow: 0 3px 10px rgba(225, 29, 72, 0.28);}
.search-btn-primary-buy.store-ebook:hover{box-shadow: 0 5px 14px rgba(225, 29, 72, 0.4);}
.search-btn-primary-buy.store-dmm{background: linear-gradient(135deg, #059669, #047857);box-shadow: 0 3px 10px rgba(5, 150, 105, 0.28);}
.search-btn-primary-buy.store-dmm:hover{box-shadow: 0 5px 14px rgba(5, 150, 105, 0.4);}
html[data-theme="dark"] .search-btn-primary-buy{background: linear-gradient(135deg, #f97316, #ea580c);box-shadow: 0 3px 10px rgba(249, 115, 22, 0.35);}
html[data-theme="dark"] .search-btn-primary-buy.store-kindle{background: linear-gradient(135deg, #f97316, #ea580c);box-shadow: 0 3px 10px rgba(249, 115, 22, 0.35);}
html[data-theme="dark"] .search-btn-primary-buy.store-kobo{background: linear-gradient(135deg, #ef4444, #dc2626);box-shadow: 0 3px 10px rgba(239, 68, 68, 0.35);}
html[data-theme="dark"] .search-btn-primary-buy.store-ebook{background: linear-gradient(135deg, #f43f5e, #e11d48);box-shadow: 0 3px 10px rgba(244, 63, 94, 0.35);}
html[data-theme="dark"] .search-btn-primary-buy.store-dmm{background: linear-gradient(135deg, #10b981, #059669);box-shadow: 0 3px 10px rgba(16, 185, 129, 0.35);}
.new-releases-container{background: #151a24;border: 1px solid #283447;border-radius: 10px;padding: 16px 18px;margin-bottom: 22px;}
.new-releases-header{display: flex;justify-content: space-between;align-items: center;flex-wrap: wrap;gap: 8px;margin-bottom: 12px;border-bottom: 1px solid #232c3d;padding-bottom: 8px;cursor: pointer;user-select: none;}
.btn-cal-toggle{background: #20293a;border: 1px solid #36445c;color: #cbd5e1;padding: 5px 12px;border-radius: 6px;font-size: 0.76rem;font-weight: 700;cursor: pointer;display: inline-flex;align-items: center;gap: 6px;transition: all 0.2s;}
.btn-cal-toggle:hover{background: #2a374d;color: #fff;border-color: #60a5fa;}
.btn-cal-toggle.collapsed{background: #1e3a5f;border-color: #38bdf8;color: #e0f2fe;}
.cal-summary-pill{background: rgba(245, 158, 11, 0.15);border: 1px solid rgba(245, 158, 11, 0.4);color: #fde68a;font-size: 0.74rem;font-weight: 700;padding: 4px 10px;border-radius: 6px;}
.cal-collapsible-body{transition: opacity 0.25s ease;}
.new-releases-title-wrap{display: flex;align-items: center;gap: 8px;}
.new-releases-title{font-size: 1.05rem;font-weight: 700;color: #fff;}
.new-tag-pill{background: #f59e0b;color: #0f1218;font-size: 0.7rem;font-weight: 900;padding: 2px 7px;border-radius: 4px;}
.new-releases-grid{display: grid;grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));gap: 14px;}
.new-release-card{background: #111620;border: 1px solid #232d3d;border-radius: 8px;padding: 12px;display: flex;flex-direction: column;gap: 8px;}
.new-card-top{display: flex;gap: 10px;}
.new-cover-img{width: 58px;height: 82px;object-fit: cover;border-radius: 4px;flex-shrink: 0;background: #252f40;}
.new-card-meta{flex: 1;display: flex;flex-direction: column;justify-content: space-between;}
.new-card-title{font-size: 0.86rem;font-weight: 700;line-height: 1.35;color: #fff;}
.new-card-author{font-size: 0.74rem;color: var(--accent-gold-light);}
.new-stores-price-bar{background: #0c1017;border: 1px solid #1f2737;border-radius: 6px;padding: 6px 8px;display: flex;flex-direction: column;gap: 4px;font-size: 0.73rem;}
.new-store-row{display: flex;justify-content: space-between;align-items: center;padding: 2px 4px;border-radius: 3px;}
.new-store-row.cheapest{background: rgba(16, 185, 129, 0.15);border-left: 2px solid #10b981;}
.top-sale-sort-bar{background: #181f2b;border: 1px solid #2d384d;border-radius: 10px;padding: 10px 14px;margin-bottom: 20px;display: flex;align-items: center;justify-content: space-between;flex-wrap: wrap;gap: 10px;box-shadow: 0 2px 8px rgba(0,0,0,0.25);}
.top-sort-buttons-group{display: flex;align-items: center;gap: 6px;flex-wrap: wrap;}
.top-sort-btn{background: #222b3b;border: 1px solid #36445c;color: #cbd5e1;padding: 6px 12px;border-radius: 20px;font-size: 0.82rem;cursor: pointer;display: inline-flex;align-items: center;gap: 6px;transition: all 0.15s;}
.top-sort-btn:hover{background: #2b374c;color: #fff;}
.top-sort-btn.active{background: #3b4961;color: #fff;border-color: var(--accent-gold);box-shadow: 0 0 0 1px var(--accent-gold);}
.top-sort-btn .badge-urgent-text{color: #ef4444;font-weight: 700;font-size: 0.75rem;margin: 0 2px;}
.top-sort-btn .arrow-indicator{font-size: 0.72rem;opacity: 0.7;}
.top-sort-btn.active .arrow-indicator{color: var(--accent-gold);opacity: 1;font-weight: bold;}
.top-misc-links{display: flex;align-items: center;gap: 8px;font-size: 0.82rem;flex-wrap: wrap;}
body.is-ranking-view main{padding-top: 0 !important;}
body.is-ranking-view #view-ranking{margin-top: 0 !important;}
body.is-ranking-view #ranking-toolbar{margin-top: -2px !important;}
#view-ranking .unified-ranking-toolbar, .unified-ranking-toolbar{position: sticky;top: calc(var(--header-actual-height, 108px) - 2px) !important;z-index: 950;background: #111622;border: 1.5px solid var(--genre-border) !important;border-top: 1.5px solid var(--genre-border) !important;border-radius: 12px;border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 12px !important;border-bottom-right-radius: 12px !important;padding: 4px 14px;margin-bottom: 8px;display: flex;align-items: center;box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);transition: box-shadow 0.2s ease, border-radius 0.2s ease, background 0.2s ease, border-color 0.25s ease;}
.unified-ranking-toolbar.is-stuck{border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 12px !important;border-bottom-right-radius: 12px !important;border: 1.5px solid var(--genre-border) !important;border-top: 1.5px solid var(--genre-border) !important;padding: 5px 14px 4px 14px !important;box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;background: rgba(15, 18, 24, 0.98) !important;backdrop-filter: blur(14px);-webkit-backdrop-filter: blur(14px);}
body.is-ranking-view header, header.toolbar-stuck{border-bottom-color: transparent !important;box-shadow: none !important;}
body.is-ranking-view header .genre-selector-bar, header.toolbar-stuck .genre-selector-bar{border-bottom-left-radius: 0 !important;border-bottom-right-radius: 0 !important;border-bottom: 1.5px solid var(--genre-border) !important;}
html[data-theme="dark"] .unified-ranking-toolbar{background: rgba(15, 18, 24, 0.98);border: 1.5px solid var(--genre-border) !important;}
html[data-theme="light"] .unified-ranking-toolbar{background: #ede8df;border: 1.5px solid var(--genre-border) !important;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);}
html[data-theme="light"] .unified-ranking-toolbar.is-stuck{background: rgba(237, 232, 223, 0.98) !important;backdrop-filter: blur(14px);-webkit-backdrop-filter: blur(14px);border: 1.5px solid var(--genre-border) !important;border-top: 1.5px solid var(--genre-border) !important;border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 12px !important;border-bottom-right-radius: 12px !important;padding: 5px 14px 4px 14px !important;box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10) !important;}
.unified-ranking-toolbar, .unified-ranking-toolbar.is-stuck{border-color: var(--genre-border) !important;}
.ranking-toolbar-pills-track{display: flex;align-items: center;gap: 4px;flex-wrap: nowrap;overflow-x: auto;-webkit-overflow-scrolling: touch;scrollbar-width: none;padding: 0;}
.ranking-toolbar-pills-track::-webkit-scrollbar{display: none;}
.ranking-tab-pill{display: inline-flex;align-items: center;gap: 4px;padding: 4px 8px;font-size: 0.80rem;font-weight: 700;border-radius: 8px;border: 1px solid var(--border-color, #cbd5e1);background: var(--bg-card, #ffffff);color: var(--text-main, #475569);cursor: pointer;white-space: nowrap;transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;user-select: none;box-sizing: border-box;}
body.is-free-view main{padding-top: 0 !important;}
body.is-free-view #view-free{margin-top: 0 !important;}
body.is-free-view #free-toolbar{margin-top: -2px !important;}
body.is-free-view .genre-selector-bar, body.is-free-view #mobile-genre-dropdown-bar, body.is-free-view .permanent-search-section, body.is-free-view .site-eyecatch-hero, body.is-free-view .special-killer-container, body.is-free-view .kindle-daily-showcase, body.is-free-view #unified-sale-toolbar{display: none !important;}
body.is-free-view header{border-bottom-color: transparent !important;box-shadow: none !important;}
body.is-free-view header #free-genre-bar, header.toolbar-stuck #free-genre-bar{border-bottom-left-radius: 0 !important;border-bottom-right-radius: 0 !important;border-bottom: 1.5px solid var(--genre-border, #10b981) !important;}
.free-genre-bar{display: flex;background: #e2e8f0;border: 1.5px solid var(--genre-border, #10b981) !important;border-radius: 12px !important;padding: 4px;margin-bottom: 0;gap: 5px;overflow-x: auto;scrollbar-width: none;-webkit-overflow-scrolling: touch;white-space: nowrap;transition: border-color 0.25s ease, background 0.2s ease, box-shadow 0.25s ease;}
html[data-theme="light"] .free-genre-bar{background: #ede8df;border: 1.5px solid var(--genre-border, #10b981) !important;}
html[data-theme="dark"] .free-genre-bar{background: #111622;border: 1.5px solid var(--genre-border, #10b981) !important;}
.free-genre-btn{flex: 1;display: inline-flex;align-items: center;justify-content: center;gap: 5px;padding: 8px 12px;background: transparent;border: 1.5px solid transparent;color: #64748b;font-size: 0.84rem;font-weight: 700;border-radius: 8px;cursor: pointer;transition: all 0.2s ease;user-select: none;white-space: nowrap;}
.free-genre-btn:hover:not(.active){background: var(--genre-bg-tint, rgba(16, 185, 129, 0.08));color: var(--genre-theme, #059669);}
html[data-theme="dark"] .free-genre-btn{color: #cbd5e1;}
html[data-theme="dark"] .free-genre-btn:hover:not(.active){background: var(--genre-bg-tint, rgba(16, 185, 129, 0.15));color: var(--genre-theme, #6ee7b7);}
.free-genre-btn.active{background: #ffffff;color: var(--genre-theme, #ea580c);box-shadow: 0 3px 12px var(--genre-shadow-tint, rgba(234, 88, 12, 0.2));border-color: var(--genre-border, rgba(234, 88, 12, 0.35));border-bottom: 3.5px solid var(--genre-theme, #ea580c);font-weight: 800;}
html[data-theme="dark"] .free-genre-btn.active{background: #1c2230;color: var(--genre-theme, #fb923c);box-shadow: 0 4px 16px var(--genre-shadow-tint, rgba(249, 115, 22, 0.25));border-color: var(--genre-border, rgba(249, 115, 22, 0.4));border-bottom: 3.5px solid var(--genre-theme, #fb923c);font-weight: 800;}
#view-free .unified-free-toolbar, .unified-free-toolbar{position: sticky;top: calc(var(--header-actual-height, 108px) - 2px) !important;z-index: 950;background: #111622;border: 1.5px solid var(--genre-border, #10b981) !important;border-top: 1.5px solid var(--genre-border, #10b981) !important;border-radius: 12px;border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 12px !important;border-bottom-right-radius: 12px !important;padding: 4px 14px;margin-bottom: 8px;display: flex;flex-direction: column;align-items: stretch;gap: 4px;box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);transition: box-shadow 0.2s ease, border-radius 0.2s ease, background 0.2s ease, border-color 0.25s ease;}
.unified-free-toolbar .free-toolbar-pills-track, .unified-free-toolbar .free-toolbar-filter-track{scrollbar-width: none;-ms-overflow-style: none;}
.unified-free-toolbar .free-toolbar-pills-track::-webkit-scrollbar, .unified-free-toolbar .free-toolbar-filter-track::-webkit-scrollbar{display: none;}
.unified-free-toolbar.is-stuck{border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 12px !important;border-bottom-right-radius: 12px !important;border: 1.5px solid var(--genre-border, #10b981) !important;border-top: 1.5px solid var(--genre-border, #10b981) !important;padding: 5px 14px 4px 14px !important;box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;background: rgba(15, 18, 24, 0.98) !important;backdrop-filter: blur(14px);-webkit-backdrop-filter: blur(14px);}
html[data-theme="dark"] .unified-free-toolbar{background: rgba(15, 18, 24, 0.98);border: 1.5px solid var(--genre-border, #10b981) !important;}
html[data-theme="light"] .unified-free-toolbar{background: #ede8df;border: 1.5px solid var(--genre-border, #10b981) !important;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);}
html[data-theme="light"] .unified-free-toolbar.is-stuck{background: rgba(237, 232, 223, 0.98) !important;backdrop-filter: blur(14px);-webkit-backdrop-filter: blur(14px);border: 1.5px solid var(--genre-border, #10b981) !important;border-top: 1.5px solid var(--genre-border, #10b981) !important;border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 12px !important;border-bottom-right-radius: 12px !important;padding: 5px 14px 4px 14px !important;box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10) !important;}
.unified-free-toolbar, .unified-free-toolbar.is-stuck{border-color: var(--genre-border, #10b981) !important;}
.free-toggle-pill{position: relative;outline: none !important;-webkit-tap-highlight-color: transparent;transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);cursor: pointer;user-select: none;}
.free-toggle-pill:focus, .free-toggle-pill:focus-visible{outline: none !important;box-shadow: none !important;}
#free-pill-finished.is-active{background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;color: #ffffff !important;border-color: #047857 !important;box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35) !important;font-weight: 800 !important;}
#free-pill-finished.is-active svg{stroke: #ffffff !important;}
#free-pill-ending.is-active{background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;color: #ffffff !important;border-color: #c2410c !important;box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35) !important;font-weight: 800 !important;}
#free-pill-ending.is-active svg{stroke: #ffffff !important;}
.free-sort-select:hover, .free-sort-select:focus{border-color: var(--genre-border, #10b981) !important;}
.free-campaign-strip-mount{margin-top: 10px;margin-bottom: 16px;transition: opacity 0.25s ease, transform 0.25s ease;}
.free-campaign-carousel-track{display: grid;grid-template-columns: repeat(4, 1fr);gap: 12px;}
@media (max-width: 900px){.free-campaign-carousel-track{display: flex;overflow-x: auto;scroll-snap-type: x mandatory;-webkit-overflow-scrolling: touch;padding-bottom: 6px;}.free-campaign-carousel-track::-webkit-scrollbar{height: 4px;}.free-campaign-carousel-track::-webkit-scrollbar-thumb{background: rgba(150, 150, 150, 0.3);border-radius: 999px;}.free-campaign-card{min-width: 250px;flex-shrink: 0;scroll-snap-align: start;}}
.free-campaign-card{background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 12px;padding: 14px 16px;display: flex;flex-direction: column;justify-content: space-between;position: relative;overflow: hidden;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;}
.free-campaign-card:hover{transform: translateY(-2px);box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);border-color: var(--store-color, #10b981);}
.free-campaign-card-header{display: flex;align-items: center;justify-content: space-between;margin-bottom: 8px;}
.free-campaign-card-badge{font-size: 0.72rem;font-weight: 800;padding: 2px 8px;border-radius: 999px;color: #fff;}
.free-campaign-card-title{font-size: 0.92rem;font-weight: 800;color: var(--text-main);margin-bottom: 6px;line-height: 1.35;}
.free-campaign-card-desc{font-size: 0.78rem;color: var(--text-sub);line-height: 1.45;margin-bottom: 12px;flex-grow: 1;}
.free-campaign-card-btn{display: inline-flex;align-items: center;justify-content: center;gap: 6px;padding: 8px 14px;font-size: 0.8rem;font-weight: 800;border-radius: 999px;text-decoration: none;transition: opacity 0.2s ease, transform 0.2s ease;color: #fff;}
.free-campaign-card-btn:hover{opacity: 0.92;transform: scale(1.02);}
.hikabon-owned-device-slot{display: inline-flex;align-items: center;gap: 4px;vertical-align: middle;}
.device-preset-pill{font-size: 0.68rem;font-weight: 700;padding: 3px 9px;border-radius: 999px;border: 1px solid rgba(99, 102, 241, 0.3);background: rgba(99, 102, 241, 0.08);color: #4338ca;cursor: pointer;transition: all 0.15s ease;}
.device-preset-pill:hover{background: #4f46e5;color: #fff;border-color: #4f46e5;}
.profile-device-tag{display: inline-flex;align-items: center;gap: 5px;background: #fff;border: 1.5px solid #818cf8;border-radius: 999px;padding: 3px 10px;font-size: 0.72rem;font-weight: 800;color: #312e81;box-shadow: 0 1px 4px rgba(99, 102, 241, 0.12);}
.profile-device-remove-btn{background: none;border: none;color: #94a3b8;font-weight: 900;font-size: 0.85rem;cursor: pointer;padding: 0 2px;line-height: 1;transition: color 0.15s;}
.profile-device-remove-btn:hover{color: #dc2626;}
.free-campaign-banner-wide{background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 12px;padding: 16px 20px;display: flex;align-items: center;justify-content: space-between;gap: 16px;flex-wrap: wrap;box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);position: relative;overflow: hidden;}
.free-campaign-banner-wide::before{content: '';position: absolute;left: 0;top: 0;bottom: 0;width: 5px;background: var(--banner-accent, #10b981);}
.free-campaign-wide-info{flex: 1 1 320px;min-width: 0;}
.free-campaign-wide-title-row{display: flex;align-items: center;gap: 10px;flex-wrap: wrap;margin-bottom: 6px;}
.free-campaign-wide-badge{font-size: 0.72rem;font-weight: 800;padding: 3px 10px;border-radius: 999px;color: #fff;}
.free-campaign-wide-title{font-size: 1.05rem;font-weight: 800;color: var(--text-main);margin: 0;}
.free-campaign-wide-desc{font-size: 0.82rem;color: var(--text-sub);line-height: 1.5;margin: 4px 0 10px 0;}
.free-campaign-tags-row{display: flex;align-items: center;gap: 6px;flex-wrap: wrap;}
.free-campaign-tag-pill{font-size: 0.74rem;font-weight: 700;color: var(--text-sub);background: var(--bg-card-sub, rgba(150, 150, 150, 0.08));border: 1px solid var(--border-color);padding: 2px 8px;border-radius: 6px;}
.free-campaign-wide-actions{display: flex;align-items: center;gap: 10px;flex-shrink: 0;}
.free-campaign-cta-btn{display: inline-flex;align-items: center;gap: 6px;padding: 10px 22px;font-size: 0.88rem;font-weight: 800;border-radius: 999px;color: #fff;text-decoration: none;box-shadow: 0 4px 12px rgba(0,0,0,0.15);transition: opacity 0.2s ease, transform 0.2s ease;}
.free-campaign-cta-btn:hover{opacity: 0.92;transform: translateY(-1px);}
body.is-media-view main{padding-top: 0 !important;}
body.is-media-view #view-media{margin-top: 0 !important;}
body.is-media-view #media-toolbar{margin-top: -2px !important;}
body.is-media-view .genre-selector-bar, body.is-media-view #mobile-genre-dropdown-bar, body.is-media-view .permanent-search-section, body.is-media-view .site-eyecatch-hero, body.is-media-view .special-killer-container, body.is-media-view .kindle-daily-showcase, body.is-media-view #unified-sale-toolbar{display: none !important;}
body.is-media-view header{border-bottom-color: transparent !important;box-shadow: none !important;}
body.is-media-view header #media-genre-bar, header.toolbar-stuck #media-genre-bar{border-bottom-left-radius: 0 !important;border-bottom-right-radius: 0 !important;border-bottom: 1.5px solid #f97316 !important;}
.media-genre-bar{display: flex;background: #e2e8f0;border: 1.5px solid #f97316 !important;border-radius: 12px !important;padding: 4px;margin-bottom: 0;gap: 5px;overflow-x: auto;scrollbar-width: none;-webkit-overflow-scrolling: touch;white-space: nowrap;transition: border-color 0.25s ease, background 0.2s ease, box-shadow 0.25s ease;}
html[data-theme="light"] .media-genre-bar{background: #ede8df;border: 1.5px solid #f97316 !important;}
html[data-theme="dark"] .media-genre-bar{background: #111622;border: 1.5px solid #f97316 !important;}
.media-genre-btn{flex: 1;display: inline-flex;align-items: center;justify-content: center;gap: 5px;padding: 8px 12px;background: transparent;border: 1.5px solid transparent;color: #64748b;font-size: 0.84rem;font-weight: 700;border-radius: 8px;cursor: pointer;transition: all 0.2s ease;user-select: none;white-space: nowrap;}
.media-genre-btn:hover:not(.active){background: rgba(249, 115, 22, 0.08);color: #ea580c;}
html[data-theme="dark"] .media-genre-btn{color: #cbd5e1;}
html[data-theme="dark"] .media-genre-btn:hover:not(.active){background: rgba(249, 115, 22, 0.15);color: #fb923c;}
.media-genre-btn.active{background: #ffffff;color: #ea580c;box-shadow: 0 3px 12px rgba(234, 88, 12, 0.2);border-color: rgba(234, 88, 12, 0.35);border-bottom: 3.5px solid #ea580c;font-weight: 800;}
html[data-theme="dark"] .media-genre-btn.active{background: #1c2230;color: #fb923c;box-shadow: 0 4px 16px rgba(249, 115, 22, 0.25);border-color: rgba(249, 115, 22, 0.4);border-bottom: 3.5px solid #fb923c;font-weight: 800;}
#view-media .unified-media-toolbar, .unified-media-toolbar{position: sticky;top: calc(var(--header-actual-height, 108px) - 2px) !important;z-index: 950;background: #111622;border: 1.5px solid #f97316 !important;border-top: 1.5px solid #f97316 !important;border-radius: 12px;border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 12px !important;border-bottom-right-radius: 12px !important;padding: 4px 14px;margin-bottom: 8px;display: flex;align-items: center;box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);transition: box-shadow 0.2s ease, border-radius 0.2s ease, background 0.2s ease, border-color 0.25s ease;}
.unified-media-toolbar.is-stuck{border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 12px !important;border-bottom-right-radius: 12px !important;border: 1.5px solid #f97316 !important;border-top: 1.5px solid #f97316 !important;padding: 5px 14px 4px 14px !important;box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;background: rgba(15, 18, 24, 0.98) !important;backdrop-filter: blur(14px);-webkit-backdrop-filter: blur(14px);}
html[data-theme="dark"] .unified-media-toolbar{background: rgba(15, 18, 24, 0.98);border: 1.5px solid #f97316 !important;}
html[data-theme="light"] .unified-media-toolbar{background: #ede8df;border: 1.5px solid #f97316 !important;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);}
html[data-theme="light"] .unified-media-toolbar.is-stuck{background: rgba(237, 232, 223, 0.98) !important;backdrop-filter: blur(14px);-webkit-backdrop-filter: blur(14px);border: 1.5px solid #f97316 !important;border-top: 1.5px solid #f97316 !important;border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 12px !important;border-bottom-right-radius: 12px !important;padding: 5px 14px 4px 14px !important;box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10) !important;}
.media-toolbar-pills-track{display: flex;align-items: center;gap: 4px;flex-wrap: nowrap;overflow-x: auto;scrollbar-width: none;-webkit-overflow-scrolling: touch;padding: 0;}
.media-toolbar-pills-track::-webkit-scrollbar{display: none;}
.media-tab-pill{display: inline-flex;align-items: center;gap: 4px;padding: 4px 8px;background: rgba(255, 255, 255, 0.06);border: 1px solid var(--border-color);border-radius: 8px;color: var(--text-sub);font-size: 0.76rem;font-weight: 700;cursor: pointer;white-space: nowrap;transition: all 0.15s ease;flex-shrink: 0;box-sizing: border-box;}
html[data-theme="light"] .media-tab-pill{background: #ffffff;border-color: #cbd5e1;color: #475569;}
.media-tab-pill:hover{background: rgba(249, 115, 22, 0.15);border-color: #f97316;color: #ea580c;}
html[data-theme="dark"] .media-tab-pill:hover{color: #fb923c;}
.media-tab-pill.active{background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);color: #ffffff !important;border-color: #f97316;font-weight: 800;box-shadow: 0 2px 8px rgba(249, 115, 22, 0.35);}
.media-finish-badge.finished{background: rgba(16, 185, 129, 0.12);color: #059669;border: 1px solid rgba(16, 185, 129, 0.3);}
html[data-theme="dark"] .media-finish-badge.finished{background: rgba(16, 185, 129, 0.2);color: #34d399;border-color: rgba(52, 211, 153, 0.35);}
.media-finish-badge.ongoing{background: rgba(59, 130, 246, 0.12);color: #2563eb;border: 1px solid rgba(59, 130, 246, 0.3);}
html[data-theme="dark"] .media-finish-badge.ongoing{background: rgba(59, 130, 246, 0.2);color: #60a5fa;border-color: rgba(96, 165, 250, 0.35);}
body.is-reader-view main, body.is-unlimited-view main, body.is-reading-items-view main, body.is-mypage-view main{padding-top: 0 !important;}
body.is-reader-view #view-reader, body.is-unlimited-view #view-unlimited, body.is-reading-items-view #view-reading-items, body.is-mypage-view #view-mybookshelf{margin-top: 0 !important;padding-top: 0 !important;}
body.is-reader-view #reader-toolbar, body.is-unlimited-view #unlimited-toolbar, body.is-reading-items-view #reading-items-toolbar, body.is-mypage-view #mypage-toolbar{margin-top: -2px !important;}
body.is-reader-view .genre-selector-bar, body.is-reader-view #mobile-genre-dropdown-bar, body.is-reader-view .permanent-search-section, body.is-reader-view .site-eyecatch-hero, body.is-reader-view .special-killer-container, body.is-reader-view .kindle-daily-showcase, body.is-reader-view #unified-sale-toolbar, body.is-unlimited-view .genre-selector-bar, body.is-unlimited-view #mobile-genre-dropdown-bar, body.is-unlimited-view .permanent-search-section, body.is-unlimited-view .site-eyecatch-hero, body.is-unlimited-view .special-killer-container, body.is-unlimited-view .kindle-daily-showcase, body.is-unlimited-view #unified-sale-toolbar, body.is-reading-items-view .genre-selector-bar, body.is-reading-items-view #mobile-genre-dropdown-bar, body.is-reading-items-view .permanent-search-section, body.is-reading-items-view .site-eyecatch-hero, body.is-reading-items-view .special-killer-container, body.is-reading-items-view .kindle-daily-showcase, body.is-reading-items-view #unified-sale-toolbar, body.is-mypage-view .genre-selector-bar, body.is-mypage-view #mobile-genre-dropdown-bar, body.is-mypage-view .permanent-search-section, body.is-mypage-view .site-eyecatch-hero, body.is-mypage-view .special-killer-container, body.is-mypage-view .kindle-daily-showcase, body.is-mypage-view #unified-sale-toolbar{display: none !important;}
body.is-reader-view header, body.is-unlimited-view header, body.is-reading-items-view header, body.is-mypage-view header{border-bottom-color: transparent !important;box-shadow: none !important;}
body.is-reader-view header #reader-genre-bar, header.toolbar-stuck #reader-genre-bar, body.is-unlimited-view header #unlimited-genre-bar, header.toolbar-stuck #unlimited-genre-bar, body.is-reading-items-view header #reading-items-genre-bar, header.toolbar-stuck #reading-items-genre-bar, body.is-mypage-view header #mypage-genre-bar, header.toolbar-stuck #mypage-genre-bar{border-bottom-left-radius: 0 !important;border-bottom-right-radius: 0 !important;border-bottom: 1.5px solid var(--genre-border, #d97706) !important;}
#mypage-genre-bar .reader-header-left-wrap{display: flex;align-items: center;gap: 12px;padding: 2px 4px;flex-wrap: nowrap;overflow-x: auto;scrollbar-width: none;-webkit-overflow-scrolling: touch;min-width: 0;flex: 1;}
#mypage-genre-bar .reader-header-left-wrap::-webkit-scrollbar{display: none;}
#mypage-genre-bar .mypage-membership-chip{padding: 4px 11px !important;font-size: 0.74rem !important;line-height: 1.25 !important;height: auto !important;flex-shrink: 0;}
.mypage-help-circle-btn, #mypage-pill-premium{display: none !important;}
.mypage-bar-user-wrap{display: inline-flex;align-items: center;gap: 7px;padding: 2px 4px;border-radius: 6px;background: transparent !important;border: none !important;box-shadow: none !important;cursor: pointer;flex-shrink: 0;transition: opacity 0.16s ease;}
.mypage-bar-user-wrap:hover{opacity: 0.82;}
html[data-theme="dark"] .mypage-bar-user-wrap{background: transparent !important;border: none !important;}
.mypage-bar-user-title{font-size: 0.82rem;font-weight: 800;color: var(--text-main);white-space: nowrap;line-height: 1;}
.mypage-bar-user-title strong{font-weight: 900;color: var(--text-main, #0f172a) !important;}
html[data-theme="dark"] .mypage-bar-user-title strong{color: #f8fafc !important;}
.mypage-bar-stats-row{display: inline-flex !important;align-items: center;gap: 6px !important;margin-top: 0 !important;flex-wrap: nowrap !important;flex-shrink: 0;}
.mypage-bar-stats-row .user-stat-chip{padding: 4px 9px !important;font-size: 0.73rem !important;gap: 4px !important;border-radius: 999px !important;background: #ffffff;border: 1.5px solid rgba(0, 0, 0, 0.08);transition: all 0.16s ease;}
html[data-theme="dark"] .mypage-bar-stats-row .user-stat-chip{background: rgba(255, 255, 255, 0.06);border-color: rgba(255, 255, 255, 0.14);}
.mypage-bar-stats-row .user-stat-chip.room.is-active-chip{background: #2563eb !important;color: #ffffff !important;border-color: #1d4ed8 !important;box-shadow: 0 2px 7px rgba(37, 99, 235, 0.32);transform: translateY(-1px);}
.mypage-bar-stats-row .user-stat-chip.shelf.is-active-chip{background: #e11d48 !important;color: #ffffff !important;border-color: #be123c !important;box-shadow: 0 2px 7px rgba(225, 29, 72, 0.32);transform: translateY(-1px);}
.mypage-bar-stats-row .user-stat-chip.heart.is-active-chip{background: #ea580c !important;color: #ffffff !important;border-color: #c2410c !important;box-shadow: 0 2px 7px rgba(234, 88, 12, 0.32);transform: translateY(-1px);}
.mypage-bar-stats-row .user-stat-chip.note.is-active-chip{background: #0d9488 !important;color: #ffffff !important;border-color: #0f766e !important;box-shadow: 0 2px 7px rgba(13, 148, 136, 0.32);transform: translateY(-1px);}
.mypage-bar-stats-row .user-stat-chip.star.is-active-chip{background: #7c3aed !important;color: #ffffff !important;border-color: #6d28d9 !important;box-shadow: 0 2px 7px rgba(124, 58, 237, 0.32);transform: translateY(-1px);}
.mypage-bar-stats-row .user-stat-chip.alert.is-active-chip{background: #d97706 !important;color: #ffffff !important;border-color: #b45309 !important;box-shadow: 0 2px 7px rgba(217, 119, 6, 0.32);transform: translateY(-1px);}
.mypage-bar-stats-row .user-stat-chip.is-active-chip svg{stroke: #ffffff !important;fill: none !important;}
.mypage-bar-edit-btn{display: inline-flex;align-items: center;gap: 5px;padding: 4px 12px;border-radius: 999px;background: rgba(124, 58, 237, 0.10);color: #7c3aed;border: 1px solid rgba(124, 58, 237, 0.32);font-size: 0.73rem;font-weight: 800;cursor: pointer;white-space: nowrap;flex-shrink: 0;transition: all 0.16s ease;}
.mypage-bar-edit-btn:hover{background: #7c3aed;color: #ffffff;border-color: #7c3aed;transform: translateY(-1px);box-shadow: 0 2px 8px rgba(124, 58, 237, 0.28);}
html[data-theme="dark"] .mypage-bar-edit-btn{background: rgba(139, 92, 246, 0.18);color: #c4b5fd;border-color: rgba(139, 92, 246, 0.4);}
#mypage-genre-bar, #mypage-toolbar, #view-mybookshelf{--mp-theme: #d97706;--mp-border: rgba(217, 119, 6, 0.58);--mp-border-subtle: rgba(217, 119, 6, 0.28);--mp-bg-tint: rgba(217, 119, 6, 0.06);--mp-shadow-tint: rgba(217, 119, 6, 0.12);--mp-accent-text: #b45309;}
#mypage-genre-bar[data-mypage-tab="all"], #mypage-toolbar[data-mypage-tab="all"], #view-mybookshelf[data-mypage-tab="all"]{--mp-theme: #d97706;--mp-border: rgba(217, 119, 6, 0.58);--mp-border-subtle: rgba(217, 119, 6, 0.28);--mp-bg-tint: rgba(217, 119, 6, 0.06);--mp-shadow-tint: rgba(217, 119, 6, 0.12);--mp-accent-text: #b45309;}
#mypage-genre-bar[data-mypage-tab="room"], #mypage-toolbar[data-mypage-tab="room"], #view-mybookshelf[data-mypage-tab="room"]{--mp-theme: #2563eb;--mp-border: rgba(37, 99, 235, 0.56);--mp-border-subtle: rgba(37, 99, 235, 0.28);--mp-bg-tint: rgba(37, 99, 235, 0.06);--mp-shadow-tint: rgba(37, 99, 235, 0.12);--mp-accent-text: #1d4ed8;}
#mypage-genre-bar[data-mypage-tab="shelf"], #mypage-toolbar[data-mypage-tab="shelf"], #view-mybookshelf[data-mypage-tab="shelf"]{--mp-theme: #d94668;--mp-border: rgba(217, 70, 104, 0.48);--mp-border-subtle: rgba(217, 70, 104, 0.25);--mp-bg-tint: rgba(217, 70, 104, 0.06);--mp-shadow-tint: rgba(217, 70, 104, 0.11);--mp-accent-text: #be185d;}
#mypage-genre-bar[data-mypage-tab="library"], #mypage-toolbar[data-mypage-tab="library"], #view-mybookshelf[data-mypage-tab="library"]{--mp-theme: #ea580c;--mp-border: rgba(234, 88, 12, 0.56);--mp-border-subtle: rgba(234, 88, 12, 0.28);--mp-bg-tint: rgba(234, 88, 12, 0.06);--mp-shadow-tint: rgba(234, 88, 12, 0.12);--mp-accent-text: #c2410c;}
#mypage-genre-bar[data-mypage-tab="highlights"], #mypage-toolbar[data-mypage-tab="highlights"], #view-mybookshelf[data-mypage-tab="highlights"]{--mp-theme: #059669;--mp-border: rgba(5, 150, 105, 0.56);--mp-border-subtle: rgba(5, 150, 105, 0.28);--mp-bg-tint: rgba(5, 150, 105, 0.06);--mp-shadow-tint: rgba(5, 150, 105, 0.12);--mp-accent-text: #047857;}
#mypage-genre-bar[data-mypage-tab="kininaru"], #mypage-toolbar[data-mypage-tab="kininaru"], #view-mybookshelf[data-mypage-tab="kininaru"]{--mp-theme: #9333ea;--mp-border: rgba(147, 51, 234, 0.56);--mp-border-subtle: rgba(147, 51, 234, 0.28);--mp-bg-tint: rgba(147, 51, 234, 0.06);--mp-shadow-tint: rgba(147, 51, 234, 0.12);--mp-accent-text: #7e22ce;}
#mypage-genre-bar[data-mypage-tab="alerts"], #mypage-toolbar[data-mypage-tab="alerts"], #view-mybookshelf[data-mypage-tab="alerts"]{--mp-theme: #d97706;--mp-border: rgba(217, 119, 6, 0.58);--mp-border-subtle: rgba(217, 119, 6, 0.28);--mp-bg-tint: rgba(217, 119, 6, 0.06);--mp-shadow-tint: rgba(217, 119, 6, 0.12);--mp-accent-text: #b45309;}
#mypage-genre-bar[data-mypage-tab="purchase"], #mypage-toolbar[data-mypage-tab="purchase"], #view-mybookshelf[data-mypage-tab="purchase"]{--mp-theme: #0891b2;--mp-border: rgba(8, 145, 178, 0.56);--mp-border-subtle: rgba(8, 145, 178, 0.28);--mp-bg-tint: rgba(8, 145, 178, 0.06);--mp-shadow-tint: rgba(8, 145, 178, 0.12);--mp-accent-text: #0e7490;}
html[data-theme="light"] #mypage-genre-bar, html[data-theme="light"] #mypage-toolbar, html[data-theme="light"] #mypage-toolbar.is-stuck{border-color: var(--mp-border, rgba(217, 119, 6, 0.58)) !important;}
html[data-theme="dark"] #mypage-genre-bar, html[data-theme="dark"] #mypage-toolbar, html[data-theme="dark"] #mypage-toolbar.is-stuck{border-color: var(--mp-border, rgba(245, 158, 11, 0.65)) !important;}
#mypage-toolbar, #mypage-toolbar.is-stuck{border-top: 1.5px solid var(--mp-border, rgba(217, 119, 6, 0.58)) !important;}
#view-mybookshelf #mypage-purchase-slim-bar > div, #view-mybookshelf .mypage-purchase-dashboard, #view-mybookshelf .kininaru-top-action-card, #view-mybookshelf .shelf-alerts-container, #view-mybookshelf .mypage-bookshelf-theater-card, #view-mybookshelf .hika-room-wrapper, #view-mybookshelf .sub-finished-rack-container, #view-mybookshelf .mypage-feature-card, #view-mybookshelf .mypage-devices-container, #view-mybookshelf .hn-app, #view-mybookshelf .hn-legacy, #view-mybookshelf .subcontent-loop-nav-section, #view-mybookshelf #mypage-guest-sandbox-banner{border: 1.5px solid var(--mp-border, rgba(217, 119, 6, 0.58)) !important;box-shadow: 0 6px 20px var(--mp-shadow-tint, rgba(217, 119, 6, 0.10)) !important;transition: border-color 0.25s ease, box-shadow 0.25s ease;}
#view-mybookshelf .mypage-zone-divider-line{background: linear-gradient(90deg, transparent, var(--mp-border-subtle, rgba(217, 119, 6, 0.30)), transparent) !important;}
#view-mybookshelf .mypage-zone-divider-badge{border: 1.5px solid var(--mp-border, rgba(217, 119, 6, 0.58)) !important;background: var(--mp-bg-tint, rgba(217, 119, 6, 0.06)) !important;color: var(--mp-accent-text, #b45309) !important;box-shadow: 0 2px 8px var(--mp-shadow-tint, rgba(217, 119, 6, 0.10)) !important;}
#view-mybookshelf .mypage-metric-card, #view-mybookshelf .kininaru-book-card, #view-mybookshelf .kininaru-sim-bar, #view-mybookshelf .alert-global-policy-bar, #view-mybookshelf .shelf-alert-item-row, #view-mybookshelf .hika-room-closet, #view-mybookshelf .hika-room-item-card, #view-mybookshelf .sub-finished-book-card, #view-mybookshelf .my-gear-card, #view-mybookshelf .reader-popular-ranking-box, #view-mybookshelf .hl-book-card, #view-mybookshelf .hl-search-wrapper, #view-mybookshelf .hl-dropzone-box, #view-mybookshelf .hn-pane, #view-mybookshelf .hn-spread, #view-mybookshelf .hn-book-item, #view-mybookshelf .hn-quote-card, #view-mybookshelf .ranking-loop-card, #view-mybookshelf #mypage-library-section .mypage-feature-card > div > div[onclick]{border-color: var(--mp-border-subtle, rgba(217, 119, 6, 0.28)) !important;transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;}
#view-mybookshelf .mypage-metric-card:hover, #view-mybookshelf .kininaru-book-card:hover, #view-mybookshelf .my-gear-card:hover, #view-mybookshelf .hl-book-card:hover, #view-mybookshelf .ranking-loop-card:hover, #view-mybookshelf #mypage-library-section .mypage-feature-card > div > div[onclick]:hover{border-color: var(--mp-border, rgba(217, 119, 6, 0.58)) !important;box-shadow: 0 4px 14px var(--mp-shadow-tint, rgba(217, 119, 6, 0.14)) !important;}
#view-mybookshelf .shelf-alerts-header, #view-mybookshelf .mypage-purchase-header, #view-mybookshelf .purchase-history-collapse, #view-mybookshelf .hn-tabs, #view-mybookshelf .mypage-devices-container > div:first-child{border-color: var(--mp-border-subtle, rgba(217, 119, 6, 0.28)) !important;}
#view-mybookshelf #mypage-purchase-slim-bar .pill-btn[onclick*="openAddPurchaseModal"], #view-mybookshelf .kininaru-action-primary-btn.calc, #view-mybookshelf .mypage-bookshelf-theater-card button[onclick*="openHikaRoomBookshelfModal()"], #view-mybookshelf #mypage-library-section .highlight-gold-btn, #view-mybookshelf .mypage-devices-container .pill-btn.active, #view-mybookshelf .shelf-alerts-header .pill-btn[onclick*="openPriceAlertSettingModal"]{background: var(--mp-theme, #d97706) !important;border-color: var(--mp-theme, #d97706) !important;color: #ffffff !important;box-shadow: 0 3px 10px var(--mp-shadow-tint, rgba(217, 119, 6, 0.18)) !important;}
#view-mybookshelf #mypage-purchase-slim-bar .pill-btn[onclick*="openMyPageSection('purchase')"], #view-mybookshelf .mypage-bookshelf-theater-card button[onclick*="openStandaloneShelfTheaterWindow"], #view-mybookshelf .mypage-bookshelf-theater-card button[onclick*="openHikaRoomBookshelfModal('cover')"], #view-mybookshelf .mypage-bookshelf-theater-card button[onclick*="openHikaRoomBookshelfModal('mega1000')"], #view-mybookshelf .kininaru-top-action-card .pill-btn:not(.highlight-gold-btn){border-color: var(--mp-border-subtle, rgba(217, 119, 6, 0.30)) !important;transition: all 0.18s ease;}
#view-mybookshelf #mypage-purchase-slim-bar .pill-btn[onclick*="openMyPageSection('purchase')"]:hover, #view-mybookshelf .mypage-bookshelf-theater-card button[onclick*="openStandaloneShelfTheaterWindow"]:hover, #view-mybookshelf .mypage-bookshelf-theater-card button[onclick*="openHikaRoomBookshelfModal('cover')"]:hover, #view-mybookshelf .mypage-bookshelf-theater-card button[onclick*="openHikaRoomBookshelfModal('mega1000')"]:hover, #view-mybookshelf .kininaru-top-action-card .pill-btn:not(.highlight-gold-btn):hover{border-color: var(--mp-border, rgba(217, 119, 6, 0.58)) !important;background: var(--mp-bg-tint, rgba(217, 119, 6, 0.08)) !important;color: var(--mp-accent-text, #b45309) !important;}
#mypage-toolbar .reader-tab-pill{flex: 1 1 auto;padding: 6px 8px;overflow: visible;}
#mypage-toolbar #mypage-pill-all{flex: 0 0 auto !important;width: auto !important;min-width: 0 !important;padding: 5px 12px !important;font-size: 0.80rem !important;gap: 5px !important;}
#mypage-toolbar #mypage-pill-kininaru{flex: 1.32 1 auto !important;padding: 6px 9px !important;}
@media (max-width: 960px){#mypage-toolbar #mypage-nav-row-main{overflow-x: auto;scrollbar-width: none;-webkit-overflow-scrolling: touch;}#mypage-toolbar #mypage-nav-row-main::-webkit-scrollbar{display: none;}#mypage-toolbar .reader-tab-pill{flex: 0 0 auto !important;padding: 5px 10px !important;}}
body.is-mypage-view #mypage-toolbar{margin-bottom: 16px !important;}
#view-mybookshelf-content-container{padding-top: 6px;position: relative;z-index: 1;scroll-margin-top: calc(var(--header-actual-height, 108px) + 62px);}
#mypage-shelf-section, #mypage-shelf-anchor-mount, #mypage-inline-bookshelf-mount, #mypage-library-section, #mypage-highlights-section, #mypage-kininaru-section, .mypage-bookshelf-theater-card{scroll-margin-top: calc(var(--header-actual-height, 108px) + 62px);}
#mypage-toolbar #mypage-pill-all svg{stroke: #d97706;}
#mypage-toolbar #mypage-pill-all:hover{border-color: rgba(217, 119, 6, 0.58);color: #b45309;background: rgba(217, 119, 6, 0.06);}
#mypage-toolbar #mypage-pill-all.active{background: linear-gradient(135deg, #f59e0b, #d97706) !important;border-color: #d97706 !important;color: #ffffff !important;box-shadow: 0 2px 8px rgba(217, 119, 6, 0.30);}
#mypage-toolbar #mypage-pill-room svg{stroke: #2563eb;}
#mypage-toolbar #mypage-pill-room .mypage-nav-badge{background: rgba(37, 99, 235, 0.10);color: #2563eb;border-color: rgba(37, 99, 235, 0.25);}
#mypage-toolbar #mypage-pill-room:hover{border-color: rgba(37, 99, 235, 0.56);color: #1d4ed8;background: rgba(37, 99, 235, 0.06);}
#mypage-toolbar #mypage-pill-room.active{background: linear-gradient(135deg, #3b82f6, #2563eb) !important;border-color: #2563eb !important;color: #ffffff !important;box-shadow: 0 2px 8px rgba(37, 99, 235, 0.28);}
#mypage-toolbar #mypage-pill-shelf svg{stroke: #d94668;}
#mypage-toolbar #mypage-pill-shelf .mypage-nav-badge{background: rgba(217, 70, 104, 0.10);color: #d94668;border-color: rgba(217, 70, 104, 0.25);}
#mypage-toolbar #mypage-pill-shelf:hover{border-color: rgba(217, 70, 104, 0.50);color: #be185d;background: rgba(217, 70, 104, 0.06);}
#mypage-toolbar #mypage-pill-shelf.active{background: linear-gradient(135deg, #e05270, #c83759) !important;border-color: #c83759 !important;color: #ffffff !important;box-shadow: 0 2px 8px rgba(217, 70, 104, 0.28);}
#mypage-toolbar #mypage-pill-library svg{stroke: #ea580c;}
#mypage-toolbar #mypage-pill-library .mypage-nav-badge{background: rgba(234, 88, 12, 0.12);color: #ea580c;border-color: rgba(234, 88, 12, 0.28);}
#mypage-toolbar #mypage-pill-library:hover{border-color: rgba(234, 88, 12, 0.56);color: #ea580c;background: rgba(234, 88, 12, 0.06);}
#mypage-toolbar #mypage-pill-library.active{background: linear-gradient(135deg, #ea580c, #c2410c) !important;border-color: #c2410c !important;color: #ffffff !important;box-shadow: 0 2px 8px rgba(234, 88, 12, 0.30);}
#mypage-toolbar #mypage-pill-highlights svg{stroke: #059669;}
#mypage-toolbar #mypage-pill-highlights .mypage-nav-badge{background: rgba(5, 150, 105, 0.12);color: #059669;border-color: rgba(5, 150, 105, 0.28);}
#mypage-toolbar #mypage-pill-highlights:hover{border-color: rgba(5, 150, 105, 0.56);color: #047857;background: rgba(5, 150, 105, 0.06);}
#mypage-toolbar #mypage-pill-highlights.active{background: linear-gradient(135deg, #10b981, #059669) !important;border-color: #059669 !important;color: #ffffff !important;box-shadow: 0 2px 8px rgba(5, 150, 105, 0.28);}
#mypage-toolbar #mypage-pill-kininaru svg{stroke: #9333ea;}
#mypage-toolbar #mypage-pill-kininaru .mypage-nav-badge{background: rgba(147, 51, 234, 0.12);color: #9333ea;border-color: rgba(147, 51, 234, 0.28);}
#mypage-toolbar #mypage-pill-kininaru:hover{border-color: rgba(147, 51, 234, 0.56);color: #7e22ce;background: rgba(147, 51, 234, 0.06);}
#mypage-toolbar #mypage-pill-kininaru.active{background: linear-gradient(135deg, #9333ea, #7e22ce) !important;border-color: #7e22ce !important;color: #ffffff !important;box-shadow: 0 2px 8px rgba(147, 51, 234, 0.28);}
#mypage-toolbar #mypage-pill-alerts svg{stroke: #d97706;}
#mypage-toolbar #mypage-pill-alerts .mypage-nav-badge{background: rgba(217, 119, 6, 0.14);color: #d97706;border-color: rgba(217, 119, 6, 0.28);}
#mypage-toolbar #mypage-pill-alerts:hover{border-color: rgba(217, 119, 6, 0.58);color: #d97706;background: rgba(217, 119, 6, 0.06);}
#mypage-toolbar #mypage-pill-alerts.active{background: linear-gradient(135deg, #f59e0b, #d97706) !important;border-color: #d97706 !important;color: #ffffff !important;box-shadow: 0 2px 8px rgba(217, 119, 6, 0.30);}
#mypage-toolbar .reader-tab-pill.active svg{stroke: #ffffff !important;}
#mypage-toolbar .reader-tab-pill .mypage-nav-badge{font-size: 0.68rem;min-height: 18px;height: auto;padding: 1px 6px;border-radius: 999px;font-weight: 800;display: inline-flex;align-items: center;justify-content: center;gap: 3px;flex-shrink: 0;white-space: nowrap;border: 1px solid transparent;}
#mypage-toolbar .reader-tab-pill .mypage-nav-badge .badge-svc-svg{flex-shrink: 0;stroke: currentColor !important;}
#mypage-toolbar .reader-tab-pill.active .mypage-nav-badge{background: rgba(255, 255, 255, 0.24) !important;color: #ffffff !important;border-color: rgba(255, 255, 255, 0.45) !important;}
.reader-genre-bar{display: flex;align-items: center;justify-content: space-between;width: 100%;background: #ede8df;border: 1.5px solid var(--genre-border, #d97706) !important;border-radius: 12px !important;padding: 4px 12px 4px 4px;margin-bottom: 0;gap: 10px;box-sizing: border-box;white-space: nowrap;transition: border-color 0.25s ease, background 0.2s ease, box-shadow 0.25s ease;}
html[data-theme="light"] .reader-genre-bar{background: #ede8df;border: 1.5px solid var(--genre-border, #d97706) !important;}
html[data-theme="dark"] .reader-genre-bar{background: #111622;border: 1.5px solid var(--genre-border, #d97706) !important;}
.reader-header-left-wrap{display: flex;align-items: center;gap: 8px;min-width: 0;flex: 1;}
.reader-header-title-stack{display: flex;flex-direction: column;justify-content: center;gap: 1px;min-width: 0;line-height: 1.22;flex: 1;}
.reader-header-main-title{display: inline-flex;align-items: center;gap: 6px;font-size: 0.88rem;font-weight: 900;color: #1e293b;letter-spacing: 0.01em;}
html[data-theme="dark"] .reader-header-main-title{color: #f8fafc;}
.reader-header-sub-title{font-size: 0.70rem;font-weight: 700;color: #57534e;padding-left: 2px;}
html[data-theme="dark"] .reader-header-sub-title{color: #94a3b8;}
.reader-header-right-badge{display: inline-flex;align-items: center;gap: 4px;font-size: 0.72rem;font-weight: 800;color: #b45309;background: rgba(245, 158, 11, 0.12);border: 1px solid rgba(245, 158, 11, 0.3);padding: 3px 9px;border-radius: 999px;flex-shrink: 0;}
html[data-theme="dark"] .reader-header-right-badge{color: #fbbf24;background: rgba(245, 158, 11, 0.2);}
.subcon-quick-jump-select{appearance: none;-webkit-appearance: none;background: #fffaf0;color: #78350f;border: 1.5px solid rgba(217, 119, 6, 0.42);border-radius: 999px;padding: 4px 13px;font-size: 0.73rem;font-weight: 800;cursor: pointer;flex-shrink: 0;max-width: 195px;box-shadow: 0 1px 4px rgba(217, 119, 6, 0.10);transition: all 0.15s ease;}
.subcon-quick-jump-select:hover{background: #fef3c7;border-color: #d97706;color: #92400e;transform: translateY(-0.5px);}
html[data-theme="dark"] .subcon-quick-jump-select{background: rgba(30, 41, 59, 0.88);color: #fde68a;border-color: rgba(245, 158, 11, 0.42);}
html[data-theme="dark"] .subcon-quick-jump-select:hover{background: #334155;border-color: #f59e0b;}
@media (max-width: 640px){.subcon-quick-jump-select{font-size: 0.68rem;padding: 3px 9px;max-width: 145px;}}
#view-reader .unified-reader-toolbar, .unified-reader-toolbar{position: sticky;top: calc(var(--header-actual-height, 108px) - 2px) !important;z-index: 950;background: #ede8df;border: 1.5px solid var(--genre-border, #d97706) !important;border-top: 1.5px solid var(--genre-border, #d97706) !important;border-radius: 12px;border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 12px !important;border-bottom-right-radius: 12px !important;padding: 4px 8px;margin-bottom: 14px;display: flex;align-items: center;width: 100%;box-sizing: border-box;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);transition: box-shadow 0.2s ease, border-radius 0.2s ease, background 0.2s ease, border-color 0.25s ease;}
.unified-reader-toolbar.is-stuck{border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 12px !important;border-bottom-right-radius: 12px !important;border: 1.5px solid var(--genre-border, #d97706) !important;border-top: 1.5px solid var(--genre-border, #d97706) !important;padding: 4px 8px !important;box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10) !important;background: rgba(237, 232, 223, 0.98) !important;backdrop-filter: blur(14px);-webkit-backdrop-filter: blur(14px);}
html[data-theme="dark"] .unified-reader-toolbar, html[data-theme="dark"] .unified-reader-toolbar.is-stuck{background: rgba(17, 22, 34, 0.98) !important;border: 1.5px solid var(--genre-border, #d97706) !important;border-top: 1.5px solid var(--genre-border, #d97706) !important;box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;}
.reader-toolbar-row{width: 100%;display: flex;align-items: center;}
.reader-tab-pills{display: flex;align-items: center;gap: 6px;width: 100%;padding: 0;box-sizing: border-box;}
.reader-tab-pill{flex: 1;display: inline-flex;align-items: center;justify-content: center;gap: 5px;padding: 6px 4px;background: #ffffff;border: 1px solid #dcd3c4;border-radius: 8px;color: #57534e;font-size: 0.77rem;font-weight: 800;cursor: pointer;white-space: nowrap;transition: all 0.15s ease;box-sizing: border-box;min-width: 0;text-align: center;}
html[data-theme="dark"] .reader-tab-pill{background: rgba(255, 255, 255, 0.06);border-color: #334155;color: #cbd5e1;}
.reader-tab-pill:hover{background: #ffffff;border-color: #b45309;color: #b45309;}
html[data-theme="dark"] .reader-tab-pill:hover{background: rgba(245, 158, 11, 0.18);border-color: #f59e0b;color: #fbbf24;}
.reader-tab-pill.active{background: #b45309 !important;color: #ffffff !important;border-color: #b45309 !important;box-shadow: 0 2px 8px rgba(180, 83, 9, 0.35);}
#unlimited-toolbar .reader-tab-pill svg{stroke: var(--pill-theme, #d97706);}
#unlimited-toolbar .reader-tab-pill:hover{border-color: var(--pill-theme, #d97706);color: var(--pill-theme, #d97706);}
#unlimited-toolbar .reader-tab-pill.active{background: var(--pill-theme, #d97706) !important;border-color: var(--pill-theme, #d97706) !important;color: #ffffff !important;}
#unlimited-toolbar .reader-tab-pill.active svg{stroke: #ffffff !important;}
#reader-toolbar #reader-toc-btn-all:hover{border-color: #d97706;color: #d97706;}
#reader-toolbar #reader-toc-btn-all.active{background: linear-gradient(135deg, #f59e0b, #d97706) !important;border-color: #d97706 !important;}
#reader-toolbar #reader-toc-btn-upcoming svg{stroke: #dc2626;}
#reader-toolbar #reader-toc-btn-upcoming:hover{border-color: #dc2626;color: #dc2626;}
#reader-toolbar #reader-toc-btn-upcoming.active{background: linear-gradient(135deg, #ef4444, #dc2626) !important;border-color: #dc2626 !important;}
#reader-toolbar #reader-toc-btn-quiz svg{stroke: #ea580c;}
#reader-toolbar #reader-toc-btn-quiz:hover{border-color: #ea580c;color: #ea580c;}
#reader-toolbar #reader-toc-btn-quiz.active{background: linear-gradient(135deg, #f97316, #ea580c) !important;border-color: #ea580c !important;}
#reader-toolbar #reader-toc-btn-map svg{stroke: #0891b2;}
#reader-toolbar #reader-toc-btn-map:hover{border-color: #0891b2;color: #0891b2;}
#reader-toolbar #reader-toc-btn-map.active{background: linear-gradient(135deg, #06b6d4, #0891b2) !important;border-color: #0891b2 !important;}
#reader-toolbar #reader-toc-btn-compare svg{stroke: #4f46e5;}
#reader-toolbar #reader-toc-btn-compare:hover{border-color: #4f46e5;color: #4f46e5;}
#reader-toolbar #reader-toc-btn-compare.active{background: linear-gradient(135deg, #6366f1, #4f46e5) !important;border-color: #4f46e5 !important;}
#reader-toolbar #reader-toc-btn-sim svg{stroke: #e11d48;}
#reader-toolbar #reader-toc-btn-sim:hover{border-color: #e11d48;color: #e11d48;}
#reader-toolbar #reader-toc-btn-sim.active{background: linear-gradient(135deg, #f43f5e, #e11d48) !important;border-color: #e11d48 !important;}
#reader-toolbar #reader-toc-btn-specs svg{stroke: #059669;}
#reader-toolbar #reader-toc-btn-specs:hover{border-color: #059669;color: #059669;}
#reader-toolbar #reader-toc-btn-specs.active{background: linear-gradient(135deg, #10b981, #059669) !important;border-color: #059669 !important;}
#reader-toolbar #reader-toc-btn-articles svg{stroke: #9333ea;}
#reader-toolbar #reader-toc-btn-articles:hover{border-color: #9333ea;color: #9333ea;}
#reader-toolbar #reader-toc-btn-articles.active{background: linear-gradient(135deg, #a855f7, #9333ea) !important;border-color: #9333ea !important;}
#reader-toolbar .reader-tab-pill.active svg{stroke: #ffffff !important;}
#reading-items-toolbar .reader-tab-pill[data-target="all"]:hover{border-color: #d97706;color: #d97706;}
#reading-items-toolbar .reader-tab-pill[data-target="all"].active{background: linear-gradient(135deg, #f59e0b, #d97706) !important;border-color: #d97706 !important;}
#reading-items-toolbar .reader-tab-pill[data-target="bed"]:hover{border-color: #9333ea;color: #9333ea;}
#reading-items-toolbar .reader-tab-pill[data-target="bed"].active{background: linear-gradient(135deg, #a855f7, #7c3aed) !important;border-color: #7c3aed !important;}
#reading-items-toolbar .reader-tab-pill[data-target="bath"]:hover{border-color: #0891b2;color: #0891b2;}
#reading-items-toolbar .reader-tab-pill[data-target="bath"].active{background: linear-gradient(135deg, #06b6d4, #0891b2) !important;border-color: #0891b2 !important;}
#reading-items-toolbar .reader-tab-pill[data-target="nagara"]:hover{border-color: #ea580c;color: #ea580c;}
#reading-items-toolbar .reader-tab-pill[data-target="nagara"].active{background: linear-gradient(135deg, #f97316, #ea580c) !important;border-color: #ea580c !important;}
#reading-items-toolbar .reader-tab-pill[data-target="outdoors"]:hover{border-color: #059669;color: #059669;}
#reading-items-toolbar .reader-tab-pill[data-target="outdoors"].active{background: linear-gradient(135deg, #10b981, #059669) !important;border-color: #059669 !important;}
#reading-items-toolbar .reader-tab-pill[data-target="desk"]:hover{border-color: #2563eb;color: #2563eb;}
#reading-items-toolbar .reader-tab-pill[data-target="desk"].active{background: linear-gradient(135deg, #3b82f6, #2563eb) !important;border-color: #2563eb !important;}
#reading-items-toolbar .reader-tab-pill[data-target="living"]:hover{border-color: #e11d48;color: #e11d48;}
#reading-items-toolbar .reader-tab-pill[data-target="living"].active{background: linear-gradient(135deg, #f43f5e, #e11d48) !important;border-color: #e11d48 !important;}
#reading-items-toolbar .reader-tab-pill[data-target="paper"]:hover{border-color: #b45309;color: #b45309;}
#reading-items-toolbar .reader-tab-pill[data-target="paper"].active{background: linear-gradient(135deg, #d97706, #b45309) !important;border-color: #b45309 !important;}
#reading-items-toolbar .reader-tab-pill[data-target="owned"]:hover{border-color: #4f46e5;color: #4f46e5;}
#reading-items-toolbar .reader-tab-pill[data-target="owned"].active{background: linear-gradient(135deg, #6366f1, #4f46e5) !important;border-color: #4f46e5 !important;}
@media (max-width: 768px){.reader-genre-bar{padding: 3px 8px 3px 3px;gap: 6px;}.reader-header-main-title{font-size: 0.78rem;gap: 4px;}.reader-header-main-title svg{width: 14px;height: 14px;}.reader-header-sub-title{font-size: 0.62rem;color: #78716c;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}.reader-header-right-badge{display: none;}.reader-tab-pills{overflow-x: auto;flex-wrap: nowrap;scrollbar-width: none;-webkit-overflow-scrolling: touch;gap: 5px;}.reader-tab-pills::-webkit-scrollbar{display: none;}.reader-tab-pill{flex: 0 0 auto;padding: 5px 9px;font-size: 0.72rem;}}
@media (max-width: 480px){.reader-header-main-title{font-size: 0.74rem;}.reader-header-sub-title{font-size: 0.58rem;}}
body.is-awards-view main{padding-top: 0 !important;}
body.is-awards-view #view-awards{margin-top: 0 !important;padding-top: 0 !important;}
body.is-awards-view #award-toolbar{margin-top: -2px !important;}
body.is-awards-view .genre-selector-bar, body.is-awards-view #mobile-genre-dropdown-bar, body.is-awards-view .permanent-search-section, body.is-awards-view .site-eyecatch-hero, body.is-awards-view .special-killer-container, body.is-awards-view .kindle-daily-showcase, body.is-awards-view #unified-sale-toolbar{display: none !important;}
body.is-awards-view header{border-bottom-color: transparent !important;box-shadow: none !important;}
body.is-awards-view header #awards-genre-bar, header.toolbar-stuck #awards-genre-bar, body.is-awards-view header .genre-selector-bar, header.toolbar-stuck .genre-selector-bar{border-bottom-left-radius: 0 !important;border-bottom-right-radius: 0 !important;border-bottom: 1.5px solid var(--genre-border, #d97706) !important;}
body.is-awards-view header .genre-selector-bar #awards-subcon-jump-select{display: inline-block !important;margin-left: auto;flex-shrink: 0;}
#view-awards .unified-award-toolbar, .unified-award-toolbar{position: sticky;top: calc(var(--header-actual-height, 108px) - 2px) !important;z-index: 950;background: #111622;border: 1.5px solid var(--genre-border) !important;border-top: 1.5px solid var(--genre-border) !important;border-radius: 12px;border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 12px !important;border-bottom-right-radius: 12px !important;padding: 4px 12px;margin-top: -2px !important;margin-bottom: 8px;display: flex;flex-direction: row;align-items: center;gap: 8px;box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);transition: box-shadow 0.2s ease, border-radius 0.2s ease, background 0.2s ease, border-color 0.25s ease;}
.unified-award-toolbar.is-stuck{border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 12px !important;border-bottom-right-radius: 12px !important;border: 1.5px solid var(--genre-border) !important;border-top: 1.5px solid var(--genre-border) !important;padding: 4px 12px !important;box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;background: rgba(15, 18, 24, 0.98) !important;backdrop-filter: blur(14px);-webkit-backdrop-filter: blur(14px);}
html[data-theme="dark"] .unified-award-toolbar{background: rgba(15, 18, 24, 0.98);border: 1.5px solid var(--genre-border) !important;}
html[data-theme="light"] .unified-award-toolbar{background: #ede8df;border: 1.5px solid var(--genre-border) !important;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;}
html[data-theme="light"] .unified-award-toolbar.is-stuck{background: rgba(237, 232, 223, 0.98) !important;backdrop-filter: blur(14px);-webkit-backdrop-filter: blur(14px);border: 1.5px solid var(--genre-border) !important;border-top: 1.5px solid var(--genre-border) !important;border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 12px !important;border-bottom-right-radius: 12px !important;padding: 4px 12px !important;box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10) !important;}
.award-genre-select{height: 28px;padding: 0 26px 0 10px;border-radius: 999px;border: 1.5px solid var(--genre-border, #d97706);background-color: var(--bg-card);color: var(--text-main);font-size: 0.75rem;font-weight: 800;cursor: pointer;outline: none;flex-shrink: 0;transition: border-color 0.2s, box-shadow 0.2s;}
.award-genre-select:hover, .award-genre-select:focus{box-shadow: 0 0 0 2px var(--genre-shadow-tint, rgba(245, 158, 11, 0.2));}
body.is-schedule-view main{padding-top: 0 !important;}
body.is-schedule-view #view-schedule{margin-top: 0 !important;}
body.is-schedule-view #schedule-toolbar{margin-top: -2px !important;}
body.is-schedule-view .permanent-search-section, body.is-schedule-view .site-eyecatch-hero, body.is-schedule-view .special-killer-container, body.is-schedule-view .kindle-daily-showcase, body.is-schedule-view #unified-sale-toolbar{display: none !important;}
body.is-schedule-view header{border-bottom-color: transparent !important;box-shadow: none !important;}
body.is-schedule-view header .genre-selector-bar, header.toolbar-stuck .genre-selector-bar{border-bottom-left-radius: 0 !important;border-bottom-right-radius: 0 !important;border-bottom: 1.5px solid var(--genre-border) !important;}
#view-schedule .unified-schedule-toolbar, .unified-schedule-toolbar{position: sticky;top: calc(var(--header-actual-height, 108px) - 2px) !important;z-index: 950;background: #111622;border: 1.5px solid var(--genre-border) !important;border-top: 1.5px solid var(--genre-border) !important;border-radius: 12px;border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 12px !important;border-bottom-right-radius: 12px !important;padding: 4px 14px;margin-top: -2px !important;margin-bottom: 8px;display: flex;align-items: center;justify-content: space-between;gap: 8px;box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);transition: box-shadow 0.2s ease, border-radius 0.2s ease, background 0.2s ease, border-color 0.25s ease;}
.unified-schedule-toolbar.is-stuck{border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 12px !important;border-bottom-right-radius: 12px !important;border: 1.5px solid var(--genre-border) !important;border-top: 1.5px solid var(--genre-border) !important;padding: 5px 14px 4px 14px !important;box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;background: rgba(15, 18, 24, 0.98) !important;backdrop-filter: blur(14px);-webkit-backdrop-filter: blur(14px);}
html[data-theme="dark"] .unified-schedule-toolbar{background: rgba(15, 18, 24, 0.98);border: 1.5px solid var(--genre-border) !important;}
html[data-theme="light"] .unified-schedule-toolbar{background: #ede8df;border: 1.5px solid var(--genre-border) !important;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;}
html[data-theme="light"] .unified-schedule-toolbar.is-stuck{background: rgba(237, 232, 223, 0.98) !important;backdrop-filter: blur(14px);-webkit-backdrop-filter: blur(14px);border: 1.5px solid var(--genre-border) !important;border-top: 1.5px solid var(--genre-border) !important;border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 12px !important;border-bottom-right-radius: 12px !important;padding: 5px 14px 4px 14px !important;box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10) !important;}
.unified-schedule-toolbar, .unified-schedule-toolbar.is-stuck{border-color: var(--genre-border) !important;}
.award-toolbar-pills-track{display: flex;align-items: center;gap: 6px;flex-wrap: nowrap;overflow-x: auto;scrollbar-width: none;-webkit-overflow-scrolling: touch;padding: 2px 0;margin-bottom: 0 !important;flex: 1;min-width: 0;}
.award-toolbar-pills-track::-webkit-scrollbar{display: none;}
.award-year-pills-track{display: inline-flex;align-items: center;gap: 5px;flex-wrap: nowrap;overflow-x: auto;scrollbar-width: none;-webkit-overflow-scrolling: touch;padding: 4px 0;}
.award-year-pills-track::-webkit-scrollbar{display: none;}
.award-year-pill{font-size: 0.74rem !important;padding: 3px 10px !important;border-radius: 999px !important;background: var(--bg-card);border: 1px solid var(--border-color);color: var(--text-main);font-weight: 700;cursor: pointer;white-space: nowrap;flex-shrink: 0;transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;box-sizing: border-box;}
.award-year-pill:not(.active):hover{border-color: #0284c7;color: #0284c7;background: rgba(2, 132, 199, 0.12);transform: none !important;}
html[data-theme="light"] .award-year-pill:not(.active):hover{border-color: #0284c7;color: #0284c7;background: rgba(2, 132, 199, 0.08);}
.award-year-pill.active{background: #0284c7 !important;border-color: #0284c7 !important;color: #ffffff !important;font-weight: 800;box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);}
html[data-theme="dark"] .award-year-pill.active{background: #0284c7 !important;border-color: #38bdf8 !important;color: #ffffff !important;box-shadow: 0 2px 8px rgba(14, 165, 233, 0.35);}
.free-ranking-table-wrap{width: 100%;overflow-x: auto;-webkit-overflow-scrolling: touch;border-radius: 10px;border: 2px solid var(--genre-border) !important;background: var(--bg-card);margin-top: 10px;box-shadow: 0 4px 18px var(--genre-shadow-tint) !important;transition: border-color 0.25s ease, box-shadow 0.25s ease !important;}
.free-ranking-table{width: 100%;min-width: 860px;border-collapse: collapse;font-size: 0.78rem;text-align: left;}
.free-ranking-table th{background: #1a2232;color: #94a3b8;font-weight: 700;padding: 10px 10px;border-bottom: 2.5px solid var(--genre-theme) !important;white-space: nowrap;font-size: 0.76rem;}
html[data-theme="light"] .free-ranking-table th{background: #f8fafc;color: #475569;border-bottom-color: var(--genre-theme) !important;}
.free-ranking-table td{padding: 10px 10px;border-bottom: 1px solid var(--genre-border-subtle) !important;vertical-align: middle;color: #cbd5e1;transition: border-color 0.25s ease !important;}
html[data-theme="light"] .free-ranking-table td{border-bottom-color: var(--genre-border-subtle) !important;color: #334155;}
.free-ranking-table tr:hover td{background: var(--genre-bg-tint) !important;}
html[data-theme="light"] .free-ranking-table tr:hover td{background: var(--genre-bg-tint) !important;}
.free-td-rank{width: 44px;text-align: center;white-space: nowrap;padding: 6px 4px;}
.free-td-badge{width: 90px;text-align: center;white-space: nowrap;}
.free-vol-pill{display: inline-flex;align-items: center;gap: 3px;padding: 4px 9px;border-radius: 6px;font-weight: 800;font-size: 0.76rem;letter-spacing: -0.01em;}
.free-vol-pill.vol-3plus{background: rgba(16, 185, 129, 0.15);color: #10b981;border: 1.5px solid rgba(16, 185, 129, 0.4);}
html[data-theme="dark"] .free-vol-pill.vol-3plus{background: rgba(16, 185, 129, 0.2);color: #34d399;border-color: rgba(52, 211, 153, 0.5);}
.free-vol-pill.vol-2plus{background: rgba(6, 182, 212, 0.12);color: #0891b2;border: 1.5px solid rgba(6, 182, 212, 0.35);}
html[data-theme="dark"] .free-vol-pill.vol-2plus{background: rgba(6, 182, 212, 0.18);color: #22d3ee;border-color: rgba(34, 211, 238, 0.45);}
.free-vol-pill.vol-1{background: rgba(100, 116, 139, 0.1);color: #475569;border: 1px solid rgba(100, 116, 139, 0.25);}
html[data-theme="dark"] .free-vol-pill.vol-1{background: rgba(255, 255, 255, 0.06);color: #94a3b8;border-color: rgba(255, 255, 255, 0.15);}
.free-td-cover{width: 52px;text-align: center;padding: 6px 4px;}
.free-cover-thumb{width: 44px;height: 62px;object-fit: cover;border-radius: 5px;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);display: block;margin: 0 auto;cursor: pointer;transition: transform 0.18s ease, box-shadow 0.18s ease;}
.free-cover-thumb:hover{transform: scale(1.08);box-shadow: 0 4px 12px rgba(0, 0, 0, 0.55);}
.free-td-info{min-width: 220px;}
.free-info-title{font-weight: 800;color: var(--text-main);font-size: 0.88rem;cursor: pointer;line-height: 1.35;}
.free-info-title:hover{color: #10b981;}
.free-info-meta{font-size: 0.72rem;color: var(--text-sub);margin-top: 3px;}
.free-info-catch{font-size: 0.72rem;color: var(--text-muted);margin-top: 4px;line-height: 1.35;}
.free-td-price{width: 125px;text-align: right;white-space: nowrap;padding-right: 14px;}
.free-price-val{font-size: 0.96rem;font-weight: 800;color: #10b981;}
.free-td-cta{width: 175px;text-align: center;white-space: nowrap;}
.free-store-read-btn{display: inline-flex;align-items: center;justify-content: center;gap: 5px;padding: 6px 12px;border-radius: 999px;font-weight: 800;font-size: 0.78rem;text-decoration: none;cursor: pointer;transition: all 0.2s ease;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);border: 1px solid transparent;white-space: nowrap;}
.free-store-read-btn:hover{transform: translateY(-1px);box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);}
.free-store-read-btn.kindle{background: #ff9900;color: #0f1218;}
.free-store-read-btn.kobo{background: #dc2626;color: #ffffff;}
.free-store-read-btn.ebook{background: #ef4444;color: #ffffff;}
.free-store-read-btn.dmm{background: #eab308;color: #0f1218;}
.free-td-sim{width: 145px;text-align: center;white-space: nowrap;}
.free-sim-subnote{margin-top: 3px;font-size: 0.63rem;font-weight: 800;color: #991b1b;}
.free-sim-subnote.is-sale{color: #b91c1c;}
.free-kobo-sub-pill{display: inline-flex;align-items: center;gap: 3px;font-size: 0.66rem;font-weight: 800;color: #991b1b;background: rgba(191, 0, 0, 0.06);border: 1px solid rgba(191, 0, 0, 0.28);padding: 2px 7px;border-radius: 999px;text-decoration: none;}
[data-theme="dark"] .free-sim-subnote, [data-theme="dark"] .free-sim-subnote.is-sale{color: #fca5a5;}
[data-theme="dark"] .free-kobo-sub-pill{color: #fca5a5;background: rgba(248, 113, 113, 0.14);border-color: rgba(248, 113, 113, 0.45);}
[data-theme="dark"] .free-info-meta .author-separator{color: var(--text-sub);opacity: 1;}
.free-table-sim-btn{font-size: 0.72rem;padding: 5px 10px;white-space: nowrap;display: inline-block;text-align: center;font-weight: 700;border-radius: 6px;background: rgba(255, 255, 255, 0.05);color: var(--text-sub);border: 1px solid var(--border-color);cursor: pointer;transition: all 0.18s ease;}
html[data-theme="light"] .free-table-sim-btn{background: #f1f5f9;color: #475569;border-color: #cbd5e1;}
.free-table-sim-btn:hover{border-color: #10b981;color: #10b981;background: rgba(16, 185, 129, 0.08);}
.free-td-fav{width: 44px;text-align: center;}
.free-toolbar-pills-track{display: flex;align-items: center;gap: 6px;flex-wrap: nowrap;overflow-x: auto;-webkit-overflow-scrolling: touch;scrollbar-width: none;padding: 4px 0;}
.free-toolbar-pills-track::-webkit-scrollbar, .free-sub-track::-webkit-scrollbar{display: none;}
.free-tab-pill{display: inline-flex;align-items: center;gap: 5px;padding: 6px 10px;font-size: 0.82rem;font-weight: 700;border-radius: 8px;border: 1px solid var(--border-color, #cbd5e1);background: var(--bg-card, #ffffff);color: var(--text-main, #475569);cursor: pointer;white-space: nowrap;transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;user-select: none;box-sizing: border-box;}
.free-tab-pill:not(.active):hover{border-color: #059669;color: #059669;background: rgba(5, 150, 105, 0.12);transform: none !important;}
html[data-theme="light"] .free-tab-pill:not(.active):hover{border-color: #059669;color: #059669;background: rgba(5, 150, 105, 0.08);}
.free-tab-pill.active, .free-tab-pill.active.all{background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;color: #ffffff !important;border-color: #047857 !important;box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35) !important;font-weight: 800 !important;}
.free-tab-pill.active.all svg{stroke: #ffffff !important;}
html[data-theme="light"] .free-tab-pill.active, html[data-theme="light"] .free-tab-pill.active.all{background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;color: #ffffff !important;border-color: #047857 !important;box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35) !important;}
.free-vol-segment-group, .free-status-segment-group{display: inline-flex;align-items: center;gap: 5px;flex-shrink: 0;white-space: nowrap;}
body.is-youtube-view main{padding-top: 0 !important;}
body.is-youtube-view #view-youtube{margin-top: 0 !important;}
body.is-youtube-view #youtube-toolbar{margin-top: -2px !important;}
body.is-youtube-view .permanent-search-section, body.is-youtube-view .site-eyecatch-hero, body.is-youtube-view .special-killer-container, body.is-youtube-view .kindle-daily-showcase, body.is-youtube-view #unified-sale-toolbar{display: none !important;}
body.is-youtube-view header{border-bottom-color: transparent !important;box-shadow: none !important;}
body.is-youtube-view .genre-selector-bar{display: flex !important;}
@media (max-width: 768px){body.is-youtube-view .genre-selector-bar{display: none !important;}body.is-youtube-view #mobile-genre-dropdown-bar{display: flex !important;}}
body.is-youtube-view header .genre-selector-bar, header.toolbar-stuck .genre-selector-bar{border-bottom-left-radius: 0 !important;border-bottom-right-radius: 0 !important;border-bottom: 1.5px solid var(--genre-border) !important;}
.youtube-genre-bar{display: none !important;}
#view-youtube .unified-youtube-toolbar, .unified-youtube-toolbar{position: sticky;top: calc(var(--header-actual-height, 108px) - 2px) !important;z-index: 950;background: var(--bg-card);border: 1.5px solid var(--genre-border) !important;border-top: 1.5px solid var(--genre-border) !important;border-radius: 12px;border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 12px !important;border-bottom-right-radius: 12px !important;padding: 4px 14px;margin-bottom: 8px;display: flex;flex-direction: column;align-items: stretch;gap: 4px;box-shadow: 0 4px 14px var(--genre-shadow-tint, rgba(0, 0, 0, 0.08));transition: box-shadow 0.2s ease, border-radius 0.2s ease, background 0.2s ease, border-color 0.25s ease;}
.unified-youtube-toolbar.is-stuck{border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 12px !important;border-bottom-right-radius: 12px !important;border: 1.5px solid var(--genre-border) !important;border-top: 1.5px solid var(--genre-border) !important;padding: 5px 14px 4px 14px !important;box-shadow: 0 8px 24px var(--genre-shadow-tint, rgba(0, 0, 0, 0.15)) !important;background: var(--bg-card) !important;backdrop-filter: blur(14px);-webkit-backdrop-filter: blur(14px);}
html[data-theme="dark"] .unified-youtube-toolbar{background: rgba(15, 18, 24, 0.98);border-color: var(--genre-border) !important;}
html[data-theme="light"] .unified-youtube-toolbar{background: #ede8df;border-color: var(--genre-border) !important;}
html[data-theme="light"] .unified-youtube-toolbar.is-stuck{background: rgba(237, 232, 223, 0.98) !important;padding: 5px 14px 4px 14px !important;}
.yt-influencer-selector-bar{display: flex !important;flex-wrap: wrap !important;align-items: center;gap: 6px;padding: 4px 0;width: 100%;}
.yt-influencer-pill{display: inline-flex;align-items: center;gap: 5px;padding: 4px 10px;border-radius: 999px;border: 1px solid var(--border-color);background: var(--bg-card);color: var(--text-main);font-size: 0.74rem;font-weight: 700;cursor: pointer;white-space: nowrap;flex-shrink: 0;transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;user-select: none;box-sizing: border-box;}
.yt-influencer-pill:not(.active):hover{border-color: #ef4444;color: #ef4444;background: rgba(239, 68, 68, 0.08);transform: none !important;}
.yt-influencer-pill.active{background: rgba(239, 68, 68, 0.14);border-color: #ef4444;color: #ef4444;font-weight: 800;box-shadow: 0 2px 8px rgba(239, 68, 68, 0.2);}
.yt-influencer-sub-badge{font-size: 0.64rem;padding: 1px 5px;border-radius: 999px;background: var(--bg-card-sub);color: var(--text-muted);border: 1px solid var(--border-color);font-weight: 600;}
.yt-influencer-pill.active .yt-influencer-sub-badge{background: #ef4444;color: #ffffff;border-color: #dc2626;}
.yt-sort-toggle-group{display: inline-flex;align-items: center;gap: 3px;background: var(--bg-card-alt, #f1f5f9);padding: 2px 4px;border-radius: 8px;border: 1px solid var(--border-color);flex-shrink: 0;}
html[data-theme="dark"] .yt-sort-toggle-group{background: #161b24;}
.yt-sort-btn{padding: 3px 8px;font-size: 0.72rem;font-weight: 700;border-radius: 6px;border: 1px solid transparent;background: transparent;color: var(--text-muted);cursor: pointer;transition: all 0.15s ease;white-space: nowrap;user-select: none;}
.yt-sort-btn:hover{color: var(--text-main);}
.yt-sort-btn.active{background: #ef4444;color: #ffffff !important;font-weight: 800;box-shadow: 0 2px 6px rgba(239, 68, 68, 0.25);}
.yt-influencer-pill-expand{display: inline-flex;align-items: center;gap: 4px;padding: 4px 10px;border-radius: 999px;font-size: 0.68rem;font-weight: 800;border: 1.5px dashed var(--border-color);background: var(--bg-card);color: #ef4444;cursor: pointer;transition: all 0.15s ease;white-space: nowrap;box-sizing: border-box;}
.yt-influencer-pill-expand:hover{background: rgba(239, 68, 68, 0.08);border-color: #ef4444;transform: none !important;}
.yt-influencer-pill-expand.is-expanded{background: rgba(239, 68, 68, 0.12);border-style: solid;border-color: rgba(239, 68, 68, 0.35);}
.yt-channel-card{background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 14px;margin-bottom: 20px;overflow: hidden;box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);transition: border-color 0.2s ease, box-shadow 0.2s ease;}
.yt-channel-card:hover{border-color: var(--genre-border);box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);}
.yt-channel-header{background: var(--bg-card-sub);border-bottom: 1px solid var(--border-color);display: flex;flex-direction: column;}
.yt-channel-header-row1{padding: 10px 14px;display: flex;align-items: center;gap: 12px;flex-wrap: wrap;}
.yt-channel-header-row2{padding: 7px 14px 9px 14px;background: rgba(245, 158, 11, 0.04);border-top: 1px dashed rgba(245, 158, 11, 0.22);display: flex;align-items: center;gap: 10px;overflow-x: auto;-webkit-overflow-scrolling: touch;scrollbar-width: none;}
.yt-channel-header-row2::-webkit-scrollbar{display: none;}
.yt-channel-title-link{display: inline-flex;align-items: center;gap: 8px;text-decoration: none;cursor: pointer;flex-shrink: 0;}
.yt-channel-avatar{width: 32px;height: 32px;border-radius: 8px;background: rgba(239, 68, 68, 0.12);display: flex;align-items: center;justify-content: center;flex-shrink: 0;}
.yt-channel-name{font-size: 0.96rem;font-weight: 900;color: var(--text-main);margin: 0;transition: color 0.15s ease;}
.yt-channel-title-link:hover .yt-channel-name{color: #ef4444;text-decoration: underline;}
.yt-channel-subs-badge{font-size: 0.66rem;font-weight: 800;color: #ef4444;background: rgba(239, 68, 68, 0.12);padding: 2px 7px;border-radius: 999px;white-space: nowrap;}
.yt-link-hp{display: inline-flex;align-items: center;gap: 4px;padding: 3px 9px;border-radius: 7px;font-size: 0.68rem;font-weight: 800;background: #eff6ff;border: 1.5px solid #3b82f6;color: #1d4ed8 !important;text-decoration: none;transition: all 0.15s ease;white-space: nowrap;box-shadow: 0 1px 3px rgba(59, 130, 246, 0.12);}
html[data-theme="dark"] .yt-link-hp{background: rgba(59, 130, 246, 0.18);border-color: #60a5fa;color: #93c5fd !important;}
.yt-link-hp:hover{background: #2563eb !important;border-color: #2563eb !important;color: #ffffff !important;transform: translateY(-1px);box-shadow: 0 3px 10px rgba(37, 99, 235, 0.28);}
.yt-inline-own-books{display: inline-flex;align-items: center;gap: 8px;overflow-x: auto;scrollbar-width: none;-webkit-overflow-scrolling: touch;margin-left: 0;padding: 4px 0;}
.yt-own-books-label{font-size: 0.68rem;font-weight: 800;color: #d97706;flex-shrink: 0;white-space: nowrap;}
.yt-own-book-chip{display: inline-flex;align-items: center;gap: 6px;padding: 3px 8px;background: var(--bg-card);border: 1px solid rgba(245, 158, 11, 0.35);border-radius: 7px;font-size: 0.68rem;flex-shrink: 0;white-space: nowrap;cursor: pointer;transition: all 0.15s ease;user-select: none;box-sizing: border-box;}
.yt-own-book-chip:hover{background: rgba(245, 158, 11, 0.08);border-color: #f59e0b;transform: none !important;box-shadow: 0 2px 8px rgba(245, 158, 11, 0.18);}
.yt-own-book-img{width: 18px;height: 26px;object-fit: cover;border-radius: 3px;}
.yt-own-book-title{font-weight: 700;color: var(--text-main);max-width: 240px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
.yt-own-book-price{font-weight: 800;color: #10b981;font-size: 0.68rem;}
.yt-own-book-detail-btn{padding: 1px 6px;font-size: 0.62rem;font-weight: 800;border-radius: 4px;background: rgba(245, 158, 11, 0.15);border: 1px solid rgba(245, 158, 11, 0.4);color: #d97706;transition: all 0.15s ease;}
.yt-own-book-chip:hover .yt-own-book-detail-btn{background: #f59e0b;color: #ffffff;}
.yt-channel-subbar{padding: 6px 14px;background: var(--bg-card);border-bottom: 1px solid var(--border-color);display: flex;align-items: center;justify-content: flex-start;gap: 14px;flex-wrap: wrap;}
.yt-channel-subbar-title{font-size: 0.72rem;font-weight: 800;color: var(--text-muted);display: flex;align-items: center;gap: 4px;}
.yt-channel-video-count{font-size: 0.68rem;font-weight: 700;color: var(--text-sub);}
.yt-channel-sort-wrap{display: inline-flex;align-items: center;gap: 5px;flex-shrink: 0;}
.yt-channel-sort-label{font-size: 0.70rem;font-weight: 700;color: var(--text-muted);}
.yt-channel-sort-group{display: inline-flex;align-items: center;gap: 2px;background: var(--bg-card-sub);border: 1px solid var(--border-color);padding: 2px;border-radius: 7px;}
.yt-chan-sort-btn{padding: 2px 8px;font-size: 0.68rem;font-weight: 700;border-radius: 4px;border: none;background: transparent;color: var(--text-muted);cursor: pointer;transition: all 0.15s ease;white-space: nowrap;}
.yt-chan-sort-btn:hover{color: var(--text-main);}
.yt-chan-sort-btn.active{background: #ef4444;color: #ffffff !important;font-weight: 800;}
.yt-table-wrap{width: 100%;overflow-x: auto;-webkit-overflow-scrolling: touch;}
.yt-channel-table{width: 100%;min-width: 1120px;border-collapse: collapse;font-size: 0.78rem;text-align: left;table-layout: auto;}
.yt-channel-table td{padding: 10px 8px;border-bottom: 1px solid var(--border-color);vertical-align: middle;color: var(--text-main);}
.yt-channel-table tr:hover td{background: var(--genre-bg-tint, rgba(0, 0, 0, 0.02));}
.yt-row-collapsed{display: none !important;}
.yt-sort-segment-group, .yt-subbar-sort-group{display: inline-flex !important;align-items: center !important;flex: 0 0 auto !important;background: #f1f5f9 !important;border: 1px solid #cbd5e1 !important;border-radius: 9px !important;padding: 3px !important;gap: 3px !important;flex-wrap: nowrap !important;max-width: none !important;}
html[data-theme="dark"] .yt-sort-segment-group, html[data-theme="dark"] .yt-subbar-sort-group{background: rgba(0, 0, 0, 0.28) !important;border-color: rgba(255, 255, 255, 0.1) !important;}
.yt-sort-segment-group .tool-btn, .yt-subbar-sort-group .tool-btn{flex: 0 0 auto !important;min-width: max-content !important;white-space: nowrap !important;display: inline-flex !important;align-items: center !important;justify-content: center !important;background: #f8fafc !important;border: 1px solid #cbd5e1 !important;color: #475569 !important;cursor: pointer !important;font-weight: 700 !important;transition: all 0.15s ease !important;box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;}
.yt-sort-segment-group .tool-btn{padding: 5px 12px !important;font-size: 0.82rem !important;border-radius: 7px !important;gap: 4px !important;line-height: 1.35 !important;}
.yt-subbar-sort-group .tool-btn{padding: 4px 10px !important;font-size: 0.75rem !important;border-radius: 6px !important;gap: 3px !important;line-height: 1.3 !important;}
.yt-sort-segment-group .tool-btn:hover, .yt-subbar-sort-group .tool-btn:hover{background: #ffffff !important;color: #0f172a !important;border-color: #94a3b8 !important;}
.yt-sort-segment-group .tool-btn.active, .yt-subbar-sort-group .tool-btn.active{background: #ffffff !important;color: #0f172a !important;border-color: #cbd5e1 !important;font-weight: 800 !important;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;}
.yt-sort-segment-group .tool-btn .arrow-indicator, .yt-subbar-sort-group .tool-btn .arrow-indicator{font-size: 0.68rem !important;color: #94a3b8 !important;font-weight: 600 !important;opacity: 0.85 !important;}
.yt-subbar-sort-group .tool-btn .arrow-indicator{font-size: 0.62rem !important;}
.yt-sort-segment-group .tool-btn.active .arrow-indicator, .yt-subbar-sort-group .tool-btn.active .arrow-indicator{color: #c2410c !important;font-weight: 900 !important;opacity: 1 !important;}
html[data-theme="dark"] .yt-sort-segment-group .tool-btn, html[data-theme="dark"] .yt-subbar-sort-group .tool-btn{background: #1e2638 !important;border-color: #334155 !important;color: #cbd5e1 !important;box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;}
html[data-theme="dark"] .yt-sort-segment-group .tool-btn:hover, html[data-theme="dark"] .yt-subbar-sort-group .tool-btn:hover{background: #253147 !important;border-color: #475569 !important;color: #ffffff !important;}
html[data-theme="dark"] .yt-sort-segment-group .tool-btn.active, html[data-theme="dark"] .yt-subbar-sort-group .tool-btn.active{background: #232f45 !important;border-color: #64748b !important;color: #ffffff !important;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;}
html[data-theme="dark"] .yt-sort-segment-group .tool-btn .arrow-indicator, html[data-theme="dark"] .yt-subbar-sort-group .tool-btn .arrow-indicator{color: #64748b !important;}
html[data-theme="dark"] .yt-sort-segment-group .tool-btn.active .arrow-indicator, html[data-theme="dark"] .yt-subbar-sort-group .tool-btn.active .arrow-indicator{color: #f59e0b !important;}
.yt-td-video{width: 105px;min-width: 105px;text-align: center;vertical-align: middle;padding: 10px 6px !important;flex-shrink: 0;}
.yt-video-thumb-link{display: inline-flex;flex-direction: column;align-items: center;text-decoration: none;cursor: pointer;width: 90px;}
.yt-video-badge-new-top{display: inline-flex;align-items: center;align-self: flex-start;margin-bottom: 3px;background: #ef4444;color: #ffffff;font-size: 0.60rem;font-weight: 900;padding: 1px 6px;border-radius: 3px;line-height: 1.25;letter-spacing: 0.5px;box-shadow: 0 1px 3px rgba(239, 68, 68, 0.35);}
.yt-video-thumb-box{position: relative;width: 90px;height: 51px;border-radius: 6px;overflow: hidden;background: #000;box-shadow: 0 2px 6px rgba(0,0,0,0.15);}
.yt-video-thumb-img{width: 100%;height: 100%;object-fit: cover;transition: transform 0.2s ease, opacity 0.2s ease;}
.yt-video-thumb-link:hover .yt-video-thumb-img{transform: scale(1.05);opacity: 0.85;}
.yt-video-play-overlay{position: absolute;inset: 0;display: flex;align-items: center;justify-content: center;background: rgba(0,0,0,0.25);color: #fff;font-size: 0.85rem;transition: transform 0.2s ease;}
.yt-video-thumb-link:hover .yt-video-play-overlay{transform: scale(1.15);color: #ef4444;}
.yt-thumb-badge-new{position: absolute;top: 3px;left: 3px;background: #ef4444;color: #ffffff;font-size: 0.52rem;font-weight: 900;padding: 1px 5px;border-radius: 3px;line-height: 1.2;z-index: 3;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);letter-spacing: 0.5px;}
.yt-video-date-badge{display: inline-flex;align-items: center;gap: 3px;margin-top: 5px;font-size: 0.66rem;font-weight: 800;padding: 2px 7px;border-radius: 5px;background: var(--bg-card-sub);border: 1px solid var(--border-color);color: var(--text-main);white-space: nowrap;box-shadow: 0 1px 2px rgba(0,0,0,0.04);}
html[data-theme="light"] .yt-video-date-badge{background: #f1f5f9;border-color: #cbd5e1;color: #334155;}
html[data-theme="dark"] .yt-video-date-badge{background: rgba(255, 255, 255, 0.08);border-color: rgba(255, 255, 255, 0.15);color: #cbd5e1;}
.yt-td-summary{width: 32%;min-width: 280px;vertical-align: middle;padding: 10px 12px !important;}
.yt-summary-box{display: flex;flex-direction: column;gap: 4px;}
.yt-summary-date-line{display: inline-flex;align-items: center;gap: 4px;font-size: 0.66rem;font-weight: 800;color: var(--text-sub);}
.yt-summary-text{font-weight: 600;font-size: 0.82rem;color: var(--text-main);display: -webkit-box;-webkit-line-clamp: 3;-webkit-box-orient: vertical;overflow: hidden;line-height: 1.55;margin: 0;}
.yt-td-book-cover{width: 60px;min-width: 60px;text-align: center;vertical-align: middle;padding: 10px 6px !important;flex-shrink: 0;}
.yt-book-covers-stack{display: flex;flex-direction: column;align-items: center;gap: 6px;}
.yt-book-cover-box{position: relative;flex-shrink: 0;cursor: pointer;display: inline-block;}
.yt-book-cover-img{width: 50px;height: 72px;object-fit: cover;border-radius: 4px;box-shadow: 0 2px 8px rgba(0,0,0,0.15);transition: transform 0.15s ease, box-shadow 0.15s ease;display: block;}
.yt-book-cover-box:hover .yt-book-cover-img{transform: scale(1.06);box-shadow: 0 4px 12px rgba(0,0,0,0.22);}
.yt-book-sample-tag{position: absolute;bottom: 2px;left: 2px;right: 2px;text-align: center;font-size: 0.52rem;font-weight: 800;background: rgba(15, 23, 42, 0.88);color: #fff;border-radius: 2px;padding: 1px 0;opacity: 0.92;}
.yt-td-book-details{vertical-align: middle;padding: 10px 10px !important;width: auto;min-width: 170px;}
.yt-book-details-stack{display: flex;flex-direction: column;gap: 4px;}
.yt-book-title{font-size: 0.88rem;font-weight: 800;color: var(--text-main);cursor: pointer;line-height: 1.35;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;transition: color 0.15s ease;}
.yt-book-title:hover{color: #ef4444;text-decoration: underline;}
.yt-book-author-pub{font-size: 0.72rem;color: var(--text-sub);display: flex;align-items: center;gap: 4px;flex-wrap: wrap;}
.yt-book-price-badge-row{display: flex;align-items: center;gap: 6px;margin-top: 2px;flex-wrap: wrap;}
.yt-book-paper-price{font-size: 0.68rem;font-weight: 700;color: var(--text-muted);}
.yt-sub-pill{font-size: 0.60rem;font-weight: 800;padding: 1px 5px;border-radius: 4px;}
.yt-sub-pill.audible{background: rgba(245, 158, 11, 0.15);color: #d97706;border: 1px solid rgba(245, 158, 11, 0.3);}
.yt-sub-pill.ku{background: rgba(16, 185, 129, 0.15);color: #059669;border: 1px solid rgba(16, 185, 129, 0.3);}
.yt-td-paper-price{width: 96px;min-width: 96px;text-align: center;vertical-align: middle;padding: 6px 8px !important;box-sizing: border-box;}
.yt-td-store-prices{vertical-align: middle;padding: 6px 8px !important;box-sizing: border-box;}
.yt-channel-table .rank-store-links-wrap{display: flex;align-items: center;gap: 7px;flex-wrap: nowrap;}
.yt-channel-table .rank-store-link-btn{min-width: 102px;padding: 5px 8px;}
.yt-td-actions{width: 180px;min-width: 175px;text-align: center;vertical-align: middle;white-space: nowrap;padding: 6px 8px !important;box-sizing: border-box;}
.yt-channel-accordion-wrap{padding: 7px 14px;background: var(--bg-card-sub);border-top: 1px dashed var(--border-color);text-align: center;}
.yt-chan-accordion-btn{display: inline-flex;align-items: center;gap: 6px;padding: 5px 16px;border-radius: 999px;border: 1px solid var(--border-color);background: var(--bg-card);color: var(--text-main);font-size: 0.72rem;font-weight: 800;cursor: pointer;transition: all 0.15s ease;}
.yt-chan-accordion-btn:hover{border-color: #ef4444;color: #ef4444;background: rgba(239, 68, 68, 0.08);transform: none !important;}
.ranking-tab-pill:not(.active):hover{border-color: #f59e0b;color: #f59e0b;background: rgba(245, 158, 11, 0.12);transform: none !important;}
html[data-theme="light"] .ranking-tab-pill:not(.active):hover{border-color: #d97706;color: #d97706;background: rgba(245, 158, 11, 0.08);}
.ranking-tab-pill.active, .ranking-tab-pill.active.all{background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;color: #ffffff !important;border-color: #047857 !important;box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35) !important;font-weight: 800 !important;}
.ranking-tab-pill.active.all svg{stroke: #ffffff !important;}
html[data-theme="light"] .ranking-tab-pill.active, html[data-theme="light"] .ranking-tab-pill.active.all{background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;color: #ffffff !important;border-color: #047857 !important;box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35) !important;}
.ranking-tab-pill.trend-pill.active{background: linear-gradient(135deg, #ea580c 0%, #f97316 100%) !important;color: #ffffff !important;border-color: #ea580c !important;box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35) !important;font-weight: 800 !important;}
.ranking-tab-pill.likes-pill.active{background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%) !important;color: #ffffff !important;border-color: #e11d48 !important;box-shadow: 0 2px 8px rgba(225, 29, 72, 0.35) !important;font-weight: 800 !important;}
.ranking-table tr.rank-row-1 td{background: rgba(234, 179, 8, 0.09) !important;}
.ranking-table tr.rank-row-2 td{background: rgba(148, 163, 184, 0.09) !important;}
.ranking-table tr.rank-row-3 td{background: rgba(180, 83, 9, 0.08) !important;}
html[data-theme="dark"] .ranking-table tr.rank-row-1 td{background: rgba(234, 179, 8, 0.12) !important;}
html[data-theme="dark"] .ranking-table tr.rank-row-2 td{background: rgba(148, 163, 184, 0.12) !important;}
html[data-theme="dark"] .ranking-table tr.rank-row-3 td{background: rgba(180, 83, 9, 0.11) !important;}
.rank-author-link{color: var(--accent-blue, #2563eb);text-decoration: underline;text-underline-offset: 2px;font-weight: 600;transition: color 0.15s ease, opacity 0.15s ease;}
.rank-author-link:hover{color: #1d4ed8;opacity: 0.85;}
html[data-theme="dark"] .rank-author-link{color: #60a5fa;}
html[data-theme="dark"] .rank-author-link:hover{color: #93c5fd;}
.ranking-loop-card{display: flex !important;flex-direction: column !important;justify-content: space-between !important;}
.ranking-loop-card > div:last-child{margin-top: auto !important;}
.ranking-loop-card:hover{transform: translateY(-2px);box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;border-color: var(--genre-border) !important;}
.ranking-home-return-btn:hover{transform: translateY(-1px);border-color: #f59e0b !important;color: #f59e0b !important;}
@media (max-width: 768px){.unified-ranking-toolbar, .unified-free-toolbar, .unified-youtube-toolbar, .unified-media-toolbar, .unified-award-toolbar, .unified-schedule-toolbar, .unified-reader-toolbar{padding: 5px 8px !important;margin-bottom: 8px !important;border-radius: 0 0 10px 10px !important;border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;}.unified-ranking-toolbar.is-stuck, .unified-free-toolbar.is-stuck, .unified-youtube-toolbar.is-stuck, .unified-media-toolbar.is-stuck, .unified-award-toolbar.is-stuck, .unified-schedule-toolbar.is-stuck, .unified-reader-toolbar.is-stuck{border-radius: 0 0 10px 10px !important;padding: 6px 8px 5px 8px !important;}.ranking-tab-pill:not(.store-tab-btn), .free-tab-pill:not(.store-tab-btn), .yt-tab-pill, .media-tab-pill, .reader-tab-pill, .award-cat-btn, .youtube-genre-btn, .yt-influencer-pill, .yt-year-pill, .award-year-pill{padding: 5px 9px !important;font-size: 0.72rem !important;}.reader-header-main-title{font-size: 0.84rem !important;}.reader-header-sub-title{font-size: 0.65rem !important;}.award-quick-search-box input{width: 125px !important;max-width: 125px !important;font-size: 0.70rem !important;padding-left: 24px !important;}.unified-schedule-toolbar{flex-wrap: wrap;gap: 8px !important;}.ranking-loop-cards-grid, .free-loop-cards-grid, .youtube-loop-cards-grid, .subcontent-loop-cards-grid{grid-template-columns: 1fr !important;}}
#unified-sale-anchor{scroll-margin-top: calc(var(--header-actual-height, 108px) - 2px);}
.unified-sale-toolbar{position: sticky;top: calc(var(--header-actual-height, 108px) - 2px) !important;scroll-margin-top: calc(var(--header-actual-height, 108px) - 2px);z-index: 950;background: #111622;border: 1.5px solid var(--genre-border) !important;border-radius: 12px;padding: 4px 14px;margin-bottom: 8px;display: flex;flex-direction: column;gap: 8px;box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);transition: box-shadow 0.2s ease, border-radius 0.2s ease, background 0.2s ease, border-color 0.25s ease;}
.unified-sale-toolbar.is-stuck{border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 12px !important;border-bottom-right-radius: 12px !important;border: 1.5px solid var(--genre-border) !important;border-top: 1.5px solid var(--genre-border) !important;padding: 5px 14px 4px 14px !important;box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;background: rgba(15, 18, 24, 0.98) !important;backdrop-filter: blur(14px);-webkit-backdrop-filter: blur(14px);}
html[data-theme="dark"] .unified-sale-toolbar{background: rgba(15, 18, 24, 0.98);border: 1.5px solid var(--genre-border) !important;}
html[data-theme="light"] .unified-sale-toolbar.is-stuck{background: rgba(237, 232, 223, 0.98) !important;backdrop-filter: blur(14px);-webkit-backdrop-filter: blur(14px);border: 1.5px solid var(--genre-border) !important;border-top: 1.5px solid var(--genre-border) !important;border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 12px !important;border-bottom-right-radius: 12px !important;padding: 5px 14px 4px 14px !important;box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10) !important;}
.unified-sale-toolbar, .unified-sale-toolbar.is-stuck{border-color: var(--genre-border) !important;}
.toolbar-row{display: flex;align-items: center;justify-content: space-between;flex-wrap: wrap;gap: 10px;width: 100%;}
.toolbar-row-top{padding-bottom: 8px;border-bottom: 1px solid rgba(255, 255, 255, 0.06);}
html[data-theme="light"] .toolbar-row-top{border-bottom: 1px solid #e2e8f0;}
.toolbar-section{display: flex;align-items: center;gap: 6px;flex-wrap: wrap;}
.toolbar-group-label{font-size: 0.90rem;font-weight: 700;color: #94a3b8;margin-right: 2px;}
.toolbar-group-label svg{width: 15px;height: 15px;}
.sort-segment-group{display: inline-flex;align-items: center;background: rgba(0, 0, 0, 0.28);border: 1px solid rgba(255, 255, 255, 0.08);border-radius: 10px;padding: 3px;gap: 3px;}
html[data-theme="dark"] .sort-segment-group{background: rgba(0, 0, 0, 0.28);border: 1px solid rgba(255, 255, 255, 0.08);padding: 3px;gap: 3px;}
.sort-segment-group .tool-btn{background: transparent;border: 1px solid transparent;color: #94a3b8;padding: 7px 15px;border-radius: 8px;font-size: 0.90rem;font-weight: 700;cursor: pointer;display: inline-flex;align-items: center;gap: 4px;line-height: 1.35;transition: all 0.15s;box-sizing: border-box;}
html[data-theme="dark"] .sort-segment-group .tool-btn{background: #1e2638;border: 1px solid #334155;color: #cbd5e1;box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);}
html[data-theme="light"] .sort-segment-group .tool-btn{color: #64748b;}
.sort-segment-group .tool-btn:hover{color: #ffffff;background: rgba(255, 255, 255, 0.08);}
html[data-theme="dark"] .sort-segment-group .tool-btn:hover{background: #253147;border-color: #475569;color: #ffffff;}
html[data-theme="light"] .sort-segment-group .tool-btn:hover{color: #0f172a;background: rgba(0, 0, 0, 0.04);}
.sort-segment-group .tool-btn.active{background: rgba(255, 255, 255, 0.14);color: #ffffff;border-color: rgba(255, 255, 255, 0.2);box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);font-weight: 700;}
html[data-theme="dark"] .sort-segment-group .tool-btn.active{background: #232f45;border-color: #64748b;color: #ffffff;font-weight: 700;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);}
html[data-theme="light"] .sort-segment-group .tool-btn.active{background: #ffffff;color: #0f172a;border-color: #cbd5e1;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);}
.tool-btn .badge-urgent-text{color: #ef4444;font-weight: 800;font-size: 0.78rem;margin: 0 1px;}
.tool-btn .arrow-indicator{font-size: 0.78rem;opacity: 0.7;}
.tool-btn.active .arrow-indicator{color: var(--accent-gold);opacity: 1;}
.tool-toggle-btn{background: transparent;border: 1px solid rgba(255, 255, 255, 0.12);color: #94a3b8;padding: 4px 10px;border-radius: 6px;font-size: 0.74rem;font-weight: 600;cursor: pointer;display: inline-flex;align-items: center;gap: 4px;transition: all 0.15s;}
html[data-theme="light"] .tool-toggle-btn{background: #f8fafc;border-color: #e2e8f0;color: #64748b;}
.tool-toggle-btn:hover{background: rgba(255, 255, 255, 0.08);color: #f1f5f9;border-color: rgba(255, 255, 255, 0.2);}
html[data-theme="light"] .tool-toggle-btn:hover{background: #f1f5f9;color: #0f172a;border-color: #cbd5e1;}
.tool-toggle-btn.active{background: rgba(56, 189, 248, 0.15);border-color: #38bdf8;color: #38bdf8;font-weight: 700;box-shadow: 0 1px 6px rgba(56, 189, 248, 0.25);}
.tool-toggle-btn.active-gold{background: rgba(245, 158, 11, 0.18);border-color: #f59e0b;color: #fbbf24;font-weight: 700;box-shadow: 0 1px 6px rgba(245, 158, 11, 0.25);}
.tool-toggle-btn.active-carrot{background: rgba(249, 115, 22, 0.18);border-color: #f97316;color: #fb923c;font-weight: 700;box-shadow: 0 1px 6px rgba(249, 115, 22, 0.25);}
.tool-toggle-btn.active-urgent{background: rgba(239, 68, 68, 0.18);border-color: #ef4444;color: #f87171;font-weight: 700;box-shadow: 0 1px 6px rgba(239, 68, 68, 0.25);}
.tool-action-btn{background: #222b3b;border: 1px solid #3b4961;color: #cbd5e1;padding: 5px 10px;border-radius: 6px;font-size: 0.75rem;font-weight: 600;cursor: pointer;display: inline-flex;align-items: center;gap: 5px;transition: all 0.15s;}
.tool-action-btn:hover{background: #2b374c;color: #fff;}
.tool-action-btn.active{background: rgba(56, 189, 248, 0.18);border-color: #38bdf8;color: #38bdf8;}
.toolbar-publisher-dropdown-group{display: inline-flex;align-items: center;gap: 6px;}
.top-publisher-select{appearance: none;-webkit-appearance: none;background: #1e2638 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 10px center;border: 1px solid #334155;border-radius: 8px;padding: 4px 28px 4px 10px;font-size: 0.76rem;font-weight: 600;color: #e2e8f0;cursor: pointer;outline: none;transition: all 0.18s ease;min-height: 28px;line-height: 1.4;}
.top-publisher-select:hover{border-color: #475569;}
.top-publisher-select:focus{border-color: #d97706;box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2);}
.top-publisher-select.is-filtered{border-color: #d97706;background-color: #2b1f14;color: #fbbf24;font-weight: 700;background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");}
html[data-theme="light"] .top-publisher-select{background-color: #ffffff;background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");border-color: #cbd5e1;color: #1e293b;}
html[data-theme="light"] .top-publisher-select:hover{border-color: #94a3b8;}
html[data-theme="light"] .top-publisher-select:focus{border-color: #b45309;box-shadow: 0 0 0 2px rgba(180, 83, 9, 0.15);}
html[data-theme="light"] .top-publisher-select.is-filtered{border-color: #b45309;background-color: #fffbeb;color: #b45309;font-weight: 700;background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23b45309' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");}
.custom-pub-dropdown{position: relative;display: inline-block;}
.custom-pub-trigger{display: inline-flex;align-items: center;justify-content: space-between;gap: 5px;background: #1e2638;border: 1px solid #334155;border-radius: 8px;padding: 4px 11px;font-size: 0.80rem;font-weight: 700;color: #e2e8f0;cursor: pointer;outline: none;transition: all 0.18s ease;min-height: 28px;line-height: 1.35;text-align: left;user-select: none;}
.custom-pub-trigger:hover{border-color: #475569;}
.custom-pub-trigger:focus, .custom-pub-trigger.is-open{border-color: #d97706;box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.2);}
.custom-pub-trigger.is-filtered{border-color: #d97706;background-color: #2b1f14;color: #fbbf24;font-weight: 700;}
.custom-pub-trigger-text{display: inline-flex;align-items: center;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;max-width: 280px;}
@media (max-width: 480px){.custom-pub-trigger-text{max-width: calc(100vw - 140px);}}
.custom-pub-arrow{flex-shrink: 0;width: 14px;height: 14px;color: #94a3b8;transition: transform 0.2s ease;}
.custom-pub-trigger.is-open .custom-pub-arrow{transform: rotate(180deg);color: #d97706;}
html[data-theme="light"] .custom-pub-trigger{background-color: #ffffff;border-color: #cbd5e1;color: #1e293b;}
html[data-theme="light"] .custom-pub-trigger:hover{border-color: #94a3b8;}
html[data-theme="light"] .custom-pub-trigger:focus, html[data-theme="light"] .custom-pub-trigger.is-open{border-color: #b45309;box-shadow: 0 0 0 2px rgba(180, 83, 9, 0.15);}
html[data-theme="light"] .custom-pub-trigger.is-filtered{border-color: #b45309;background-color: #fffbeb;color: #b45309;}
html[data-theme="light"] .custom-pub-arrow{color: #64748b;}
html[data-theme="light"] .custom-pub-trigger.is-open .custom-pub-arrow{color: #b45309;}
.custom-pub-menu{display: none;position: absolute;top: calc(100% + 4px);right: 0;min-width: 286px;max-width: 360px;max-height: 420px;overflow-y: auto;background: #1a2234;border: 1px solid #334155;border-radius: 8px;box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);z-index: 1200;padding: 4px 0 0 0;overscroll-behavior: contain;}
.custom-pub-menu.is-open{display: block;animation: pubDropdownFadeIn 0.14s ease-out;}
@keyframes pubDropdownFadeIn{from{opacity: 0;transform: translateY(-4px);}to{opacity: 1;transform: translateY(0);}}
html[data-theme="light"] .custom-pub-menu{background: #ffffff;border-color: #cbd5e1;box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.08);}
.custom-pub-group-title{padding: 7px 12px 4px 12px;font-size: 0.68rem;font-weight: 700;color: #94a3b8;letter-spacing: 0.4px;border-bottom: 1px solid rgba(255, 255, 255, 0.07);background: rgba(0, 0, 0, 0.15);margin-top: 4px;}
.custom-pub-group-title:first-child{margin-top: 0;}
html[data-theme="light"] .custom-pub-group-title{color: #64748b;border-bottom-color: rgba(0, 0, 0, 0.06);background: #f8fafc;}
.custom-pub-item{padding: 6px 12px;font-size: 0.77rem;color: #cbd5e1;display: flex;align-items: center;justify-content: space-between;gap: 8px;cursor: pointer;transition: background 0.12s ease, color 0.12s ease;line-height: 1.35;user-select: none;}
.custom-pub-item:hover{background: #28334a;color: #ffffff;}
.custom-pub-item.selected{background: rgba(217, 119, 6, 0.18);color: #fbbf24;font-weight: 700;}
html[data-theme="light"] .custom-pub-item{color: #334155;}
html[data-theme="light"] .custom-pub-item:hover{background: #f1f5f9;color: #0f172a;}
html[data-theme="light"] .custom-pub-item.selected{background: #fffbeb;color: #b45309;font-weight: 700;}
.badge-new-red{display: inline-flex;align-items: center;justify-content: center;color: #dc2626;background: #fee2e2;border: 1px solid #fca5a5;font-size: 0.67rem;font-weight: 800;padding: 0 4px;height: 17px;line-height: 15px;border-radius: 4px;margin-right: 5px;flex-shrink: 0;letter-spacing: -0.3px;}
html[data-theme="dark"] .badge-new-red{color: #f87171;background: rgba(239, 68, 68, 0.18);border-color: rgba(239, 68, 68, 0.45);}
.custom-pub-item-name{display: inline-flex;align-items: center;flex-grow: 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
.custom-pub-item-count{font-size: 0.70rem;color: #94a3b8;flex-shrink: 0;margin-left: 6px;}
html[data-theme="light"] .custom-pub-item-count{color: #64748b;}
.pub-menu-alert-btn{font-size: 0.64rem;font-weight: 800;padding: 2px 6px;border-radius: 999px;border: 1px solid rgba(56, 189, 248, 0.4);background: rgba(2, 132, 199, 0.14);color: #38bdf8;cursor: pointer;flex-shrink: 0;line-height: 1.25;transition: all 0.14s ease;}
.pub-menu-alert-btn:hover{background: #0284c7;color: #ffffff;border-color: #0284c7;}
.pub-menu-alert-btn.is-registered{background: rgba(16, 185, 129, 0.18);border-color: rgba(16, 185, 129, 0.5);color: #34d399;}
html[data-theme="light"] .pub-menu-alert-btn{background: rgba(2, 132, 199, 0.08);border-color: rgba(2, 132, 199, 0.35);color: #0369a1;}
html[data-theme="light"] .pub-menu-alert-btn:hover{background: #0284c7;color: #ffffff;}
html[data-theme="light"] .pub-menu-alert-btn.is-registered{background: rgba(16, 185, 129, 0.12);border-color: rgba(5, 150, 105, 0.45);color: #047857;}
.custom-pub-124-footer{position: sticky;bottom: 0;background: #131b2e;border-top: 1px solid #334155;margin-top: 4px;z-index: 2;}
html[data-theme="light"] .custom-pub-124-footer{background: #f8fafc;border-top-color: #cbd5e1;}
.custom-pub-124-toggle-btn{width: 100%;padding: 8px 12px;border: none;background: transparent;color: #38bdf8;font-size: 0.72rem;font-weight: 800;display: flex;align-items: center;justify-content: space-between;cursor: pointer;text-align: left;}
.custom-pub-124-toggle-btn:hover{background: rgba(2, 132, 199, 0.12);}
html[data-theme="light"] .custom-pub-124-toggle-btn{color: #0369a1;}
.pub-124-reg-badge{font-size: 0.62rem;font-weight: 800;padding: 1px 6px;border-radius: 999px;background: rgba(16, 185, 129, 0.2);color: #34d399;border: 1px solid rgba(16, 185, 129, 0.4);}
html[data-theme="light"] .pub-124-reg-badge{background: rgba(16, 185, 129, 0.12);color: #047857;border-color: rgba(5, 150, 105, 0.35);}
.detailed-filter-accordion{background: rgba(20, 26, 38, 0.95);border: 1px solid #2d3b52;border-radius: 10px;padding: 12px 16px;margin-bottom: 12px;backdrop-filter: blur(14px);-webkit-backdrop-filter: blur(14px);transition: all 0.2s ease-in-out;}
.detailed-filter-accordion.collapsed{display: none;}
.detailed-filter-inner{display: flex;flex-direction: column;gap: 10px;}
.accordion-group-row{display: flex;align-items: flex-start;gap: 10px;font-size: 0.78rem;}
.accordion-group-label{width: 76px;flex-shrink: 0;color: #94a3b8;font-weight: 700;padding-top: 4px;font-size: 0.74rem;}
.accordion-chips-list{display: flex;align-items: center;gap: 6px;flex-wrap: wrap;}
.accordion-footer-actions{display: flex;align-items: center;justify-content: flex-end;gap: 8px;border-top: 1px solid rgba(148, 163, 184, 0.12);padding-top: 8px;margin-top: 4px;}
.badge-series-head{display: inline-flex;align-items: center;gap: 3px;font-size: 0.65rem;font-weight: 800;padding: 1px 6px;border-radius: 4px;background: rgba(249, 115, 22, 0.18);border: 1px solid rgba(249, 115, 22, 0.4);color: #fb923c;}
.badge-series-count{display: inline-flex;align-items: center;gap: 3px;font-size: 0.65rem;font-weight: 700;padding: 1px 6px;border-radius: 4px;background: rgba(56, 189, 248, 0.15);border: 1px solid rgba(56, 189, 248, 0.35);color: #38bdf8;cursor: pointer;}
.badge-series-count:hover{background: rgba(56, 189, 248, 0.25);}
.mobile-genre-dropdown-bar{display: none;position: relative;width: 38%;min-width: 145px;max-width: 180px;}
.mobile-genre-trigger{width: 100%;background: #18202d;border: 1.5px solid #334155;color: #f1f5f9;border-radius: 8px;padding: 6px 10px;font-size: 0.74rem;font-weight: 700;display: flex;align-items: center;justify-content: space-between;gap: 6px;cursor: pointer;white-space: nowrap;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);transition: all 0.15s;}
html[data-theme="light"] .mobile-genre-trigger{background: #ffffff;border-color: #cbd5e1;color: #1e293b;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);}
.mg-trigger-dot{width: 8px;height: 8px;border-radius: 50%;background: #94a3b8;flex-shrink: 0;}
.mg-trigger-dot.dot-all{background: #94a3b8;}
.mg-trigger-dot.dot-comic{background: #ea580c;}
.mg-trigger-dot.dot-lightnovel{background: #9333ea;}
.mg-trigger-dot.dot-bungei{background: #059669;}
.mg-trigger-dot.dot-business{background: #2563eb;}
.mg-trigger-dot.dot-tech{background: #0891b2;}
.mg-trigger-dot.dot-other{background: #e11d48;}
.mg-trigger-label{flex: 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;text-align: left;}
.mg-chevron-icon{flex-shrink: 0;color: #94a3b8;transition: transform 0.2s ease;}
.mobile-genre-trigger.open .mg-chevron-icon{transform: rotate(180deg);}
.mobile-genre-popover{position: absolute;top: calc(100% + 4px);left: 0;width: 220px;background: #18202d;border: 1px solid #334155;border-radius: 10px;box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);z-index: 2000;padding: 6px;backdrop-filter: blur(12px);-webkit-backdrop-filter: blur(12px);}
html[data-theme="light"] .mobile-genre-popover{background: #ffffff;border-color: #cbd5e1;box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);}
.mg-pop-header{font-size: 0.68rem;font-weight: 800;color: #94a3b8;padding: 4px 8px;border-bottom: 1px solid rgba(255, 255, 255, 0.08);margin-bottom: 4px;}
html[data-theme="light"] .mg-pop-header{color: #64748b;border-bottom-color: rgba(0, 0, 0, 0.06);}
.mg-pop-item{width: 100%;background: transparent;border: none;color: #cbd5e1;padding: 7px 10px;border-radius: 6px;font-size: 0.76rem;font-weight: 700;display: flex;align-items: center;gap: 8px;cursor: pointer;text-align: left;transition: all 0.15s;}
html[data-theme="light"] .mg-pop-item{color: #334155;}
.mg-pop-item:hover, .mg-pop-item:active{background: rgba(255, 255, 255, 0.08);}
html[data-theme="light"] .mg-pop-item:hover{background: #f1f5f9;}
.mg-pop-item.active{background: rgba(245, 158, 11, 0.15);color: #f59e0b;}
.mg-pop-name{flex: 1;}
.mg-pop-check{font-size: 0.72rem;opacity: 0;font-weight: 900;}
.mg-pop-item.active .mg-pop-check{opacity: 1;}
.mobile-category-trigger{display: none;background: #18202d;border: 1.5px solid #334155;color: #f1f5f9;border-radius: 8px;padding: 6px 9px;font-size: 0.74rem;font-weight: 700;align-items: center;justify-content: space-between;gap: 5px;cursor: pointer;white-space: nowrap;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);transition: all 0.15s;}
html[data-theme="light"] .mobile-category-trigger{background: #ffffff;border-color: #cbd5e1;color: #1e293b;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);}
.mc-trigger-icon{font-size: 0.82rem;line-height: 1;flex-shrink: 0;display: inline-flex;align-items: center;justify-content: center;}
.mc-trigger-label{flex: 1;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;text-align: left;}
.mc-chevron-icon{flex-shrink: 0;color: #94a3b8;transition: transform 0.2s ease;}
.mobile-category-trigger.open .mc-chevron-icon{transform: rotate(180deg);}
.mobile-category-popover{position: absolute;top: calc(100% + 4px);right: 0;width: 220px;max-height: 380px;overflow-y: auto;background: #18202d;border: 1px solid #334155;border-radius: 10px;box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);z-index: 2000;padding: 6px;backdrop-filter: blur(12px);-webkit-backdrop-filter: blur(12px);}
html[data-theme="light"] .mobile-category-popover{background: #ffffff;border-color: #cbd5e1;box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);}
.mc-pop-header{font-size: 0.68rem;font-weight: 800;color: #94a3b8;padding: 4px 8px;border-bottom: 1px solid rgba(255, 255, 255, 0.08);margin-bottom: 4px;}
html[data-theme="light"] .mc-pop-header{color: #64748b;border-bottom-color: rgba(0, 0, 0, 0.06);}
.mc-pop-item{width: 100%;background: transparent;border: none;color: #cbd5e1;padding: 7px 10px;border-radius: 6px;font-size: 0.76rem;font-weight: 700;display: flex;align-items: center;gap: 8px;cursor: pointer;text-align: left;transition: all 0.15s;}
html[data-theme="light"] .mc-pop-item{color: #334155;}
.mc-pop-item:hover, .mc-pop-item:active{background: rgba(255, 255, 255, 0.08);}
html[data-theme="light"] .mc-pop-item:hover{background: #f1f5f9;}
.mc-pop-item.active{background: rgba(245, 158, 11, 0.18);color: #f59e0b;font-weight: 800;}
html[data-theme="light"] .mc-pop-item.active{background: #fef3c7;color: #b45309;}
.mc-item-icon{width: 18px;height: 18px;display: inline-flex;align-items: center;justify-content: center;flex-shrink: 0;}
.mc-pop-name{flex: 1;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.mc-pop-check{font-size: 0.72rem;opacity: 0;font-weight: 900;color: #f59e0b;display: inline-flex;align-items: center;justify-content: center;}
html[data-theme="light"] .mc-pop-check{color: #b45309;}
.nav-tabs-wrapper{width: 100%;}
.nav-tabs-toggle-row{display: none;}
.nav-tabs-toggle-btn{background: #18202d;border: 1px solid #334155;color: #94a3b8;font-size: 0.68rem;font-weight: 700;padding: 3px 8px;border-radius: 6px;cursor: pointer;display: inline-flex;align-items: center;gap: 4px;transition: all 0.15s;}
html[data-theme="light"] .nav-tabs-toggle-btn{background: #f1f5f9;border-color: #cbd5e1;color: #475569;}
.nav-tabs-toggle-btn:hover{background: #232d3f;color: #f1f5f9;}
html[data-theme="light"] .nav-tabs-toggle-btn:hover{background: #e2e8f0;color: #1e293b;}
.nav-toggle-chevron{transition: transform 0.2s ease;}
.genre-mode-banner{display: none !important;}
.toolbar-content-inner{display: flex;align-items: center;justify-content: space-between;gap: 16px;flex-wrap: nowrap;width: 100%;}
.toolbar-store-segment{display: flex;align-items: center;gap: 6px;flex: 1.15;min-width: 0;overflow-x: auto;-webkit-overflow-scrolling: touch;scrollbar-width: none;padding: 0;}
.toolbar-store-segment::-webkit-scrollbar{display: none;}
.store-segment-group{display: flex;align-items: center;flex: 1;min-width: max-content;flex-wrap: nowrap;flex-shrink: 0;background: rgba(0, 0, 0, 0.28);border: 1px solid rgba(255, 255, 255, 0.08);border-radius: 10px;padding: 2px;gap: 2px;}
html[data-theme="light"] .store-segment-group{background: #f1f5f9;border-color: #cbd5e1;}
.store-tab-btn, .store-tab-btn.schedule-store-pill, .store-tab-btn.free-tab-pill, .store-tab-btn.ranking-tab-pill{flex: 1 0 auto;min-width: max-content;flex-shrink: 0;box-sizing: border-box;justify-content: center;background: transparent;border: 1px solid transparent;color: #94a3b8;padding: 4px 8px;border-radius: 8px;font-size: 0.80rem;font-weight: 700;cursor: pointer;white-space: nowrap;display: inline-flex;align-items: center;gap: 4px;line-height: 1.35;transition: all 0.18s ease;user-select: none;}
.toolbar-divider{width: 1px;height: 16px;background: rgba(255, 255, 255, 0.12);flex-shrink: 0;}
html[data-theme="light"] .toolbar-divider{background: #cbd5e1;}
.toolbar-right-controls{display: flex;align-items: center;gap: 10px;flex: 1.45;min-width: 0;justify-content: flex-end;flex-shrink: 0;}
.toolbar-sort-group{display: flex;align-items: center;gap: 6px;flex-shrink: 0;}
.sort-segment-group{display: inline-flex;align-items: center;flex-shrink: 0;min-width: max-content;background: rgba(0, 0, 0, 0.28);border: 1px solid rgba(255, 255, 255, 0.08);border-radius: 10px;padding: 2px;gap: 2px;}
html[data-theme="light"] .sort-segment-group{background: #f1f5f9;border-color: #cbd5e1;}
.sort-segment-group .tool-btn{flex: 0 0 auto;min-width: max-content;white-space: nowrap !important;justify-content: center;background: transparent;border: 1px solid transparent;color: #94a3b8;padding: 4px 8px;border-radius: 8px;font-size: 0.80rem;font-weight: 700;cursor: pointer;display: inline-flex;align-items: center;gap: 3px;line-height: 1.35;transition: all 0.15s;box-sizing: border-box;}
html[data-theme="light"] .sort-segment-group .tool-btn:not(.active){background: transparent !important;border: 1px solid transparent !important;color: #64748b !important;box-shadow: none !important;}
html[data-theme="light"] .sort-segment-group .tool-btn:not(.active):hover{background: rgba(0, 0, 0, 0.04) !important;color: #0f172a !important;border-color: transparent !important;}
html[data-theme="light"] .sort-segment-group .tool-btn.active{background: #ffffff !important;color: #0f172a !important;border: 1px solid #cbd5e1 !important;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;font-weight: 700 !important;}
.toolbar-publisher-dropdown-group{display: flex;align-items: center;gap: 6px;flex-shrink: 0;}
@media (min-width: 769px) and (max-width: 1024px){.toolbar-content-inner{gap: 10px !important;}.store-tab-btn{font-size: 0.78rem !important;padding: 5px 8px !important;gap: 4px !important;min-width: max-content !important;flex-shrink: 0 !important;}.sort-segment-group .tool-btn{font-size: 0.78rem !important;padding: 5px 6px !important;gap: 2px !important;}.toolbar-group-label{font-size: 0.78rem !important;}.custom-pub-trigger{font-size: 0.78rem !important;padding: 5px 8px !important;}}
.unified-sale-toolbar{padding: 6px 14px !important;}
html[data-theme="light"] .store-tab-btn, html[data-theme="light"] .store-tab-btn.schedule-store-pill, html[data-theme="light"] .store-tab-btn.free-tab-pill, html[data-theme="light"] .store-tab-btn.ranking-tab-pill{color: #64748b;}
.store-tab-btn:hover, .store-tab-btn.schedule-store-pill:hover, .store-tab-btn.free-tab-pill:hover, .store-tab-btn.ranking-tab-pill:hover{background: rgba(255, 255, 255, 0.08);color: #f1f5f9;}
html[data-theme="light"] .store-tab-btn:hover, html[data-theme="light"] .store-tab-btn.schedule-store-pill:hover, html[data-theme="light"] .store-tab-btn.free-tab-pill:hover, html[data-theme="light"] .store-tab-btn.ranking-tab-pill:hover{background: rgba(0, 0, 0, 0.04);color: #0f172a;}
.store-dot{width: 8px;height: 8px;border-radius: 50%;display: inline-block;flex-shrink: 0;margin: 0;vertical-align: middle;}
.store-tab-btn.active.all, .store-tab-btn.all.active{background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;border-color: #047857 !important;color: #ffffff !important;box-shadow: 0 2px 8px rgba(5, 150, 105, 0.4) !important;font-weight: 800 !important;}
.store-tab-btn.active.all svg, .store-tab-btn.all.active svg{stroke: #ffffff !important;}
html[data-theme="light"] .store-tab-btn.active.all, html[data-theme="light"] .store-tab-btn.all.active{background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;border-color: #047857 !important;color: #ffffff !important;box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35) !important;font-weight: 800 !important;}
html[data-theme="light"] .store-tab-btn.active.all svg, html[data-theme="light"] .store-tab-btn.all.active svg{stroke: #ffffff !important;}
.store-tab-btn.active.kindle, .store-tab-btn.kindle.active, html[data-theme="light"] .store-tab-btn.active.kindle, html[data-theme="light"] .store-tab-btn.kindle.active{background: linear-gradient(135deg, #ea580c 0%, #f97316 100%) !important;border-color: #ea580c !important;color: #ffffff !important;box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35) !important;font-weight: 800 !important;}
.store-tab-btn.active.kindle .store-dot, .store-tab-btn.kindle.active .store-dot{background: #ffffff !important;}
.store-tab-btn.active.kobo, .store-tab-btn.kobo.active, html[data-theme="light"] .store-tab-btn.active.kobo, html[data-theme="light"] .store-tab-btn.kobo.active{background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;border-color: #b91c1c !important;color: #ffffff !important;box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35) !important;font-weight: 800 !important;}
.store-tab-btn.active.kobo .store-dot, .store-tab-btn.kobo.active .store-dot{background: #ffffff !important;}
.store-tab-btn.active.ebook, .store-tab-btn.ebook.active, html[data-theme="light"] .store-tab-btn.active.ebook, html[data-theme="light"] .store-tab-btn.ebook.active{background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;border-color: #be123c !important;color: #ffffff !important;box-shadow: 0 2px 8px rgba(225, 29, 72, 0.35) !important;font-weight: 800 !important;}
.store-tab-btn.active.ebook .store-dot, .store-tab-btn.ebook.active .store-dot{background: #ffffff !important;}
.store-tab-btn.active.dmm, .store-tab-btn.dmm.active, html[data-theme="light"] .store-tab-btn.active.dmm, html[data-theme="light"] .store-tab-btn.dmm.active{background: #18181b !important;border-color: #f59e0b !important;color: #fef08a !important;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45) !important;font-weight: 800 !important;}
.store-tab-btn.active.dmm .store-dot, .store-tab-btn.dmm.active .store-dot, html[data-theme="light"] .store-tab-btn.active.dmm .store-dot, html[data-theme="light"] .store-tab-btn.dmm.active .store-dot{background: #facc15 !important;}
html[data-theme="dark"] .store-tab-btn.active.dmm, html[data-theme="dark"] .store-tab-btn.dmm.active{background: #27272a !important;border-color: #f59e0b !important;color: #fef08a !important;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6) !important;}
html[data-theme="dark"] .store-tab-btn.active.dmm .store-dot, html[data-theme="dark"] .store-tab-btn.dmm.active .store-dot{background: #facc15 !important;}
.badge-award{background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(217, 119, 6, 0.15) 100%);border: 1px solid #f59e0b;color: #fef08a;font-size: 0.68rem;font-weight: 800;padding: 2px 7px;border-radius: 4px;display: inline-flex;align-items: center;gap: 4px;letter-spacing: 0.02em;}
.badge-award svg{color: #f59e0b;}
.top-sort-btn.active#sale-filter-award{background: linear-gradient(135deg, #f59e0b, #d97706);border-color: #f59e0b;color: #111;font-weight: 800;}
.badge-filter-btn.award{border-color: rgba(245, 158, 11, 0.45);color: #fef08a;}
.badge-filter-btn.award.active{background: linear-gradient(135deg, #f59e0b, #d97706);border-color: #f59e0b;color: #111;font-weight: 800;}
.autocomplete-item-tag.tag-award{background: rgba(245, 158, 11, 0.2);color: #fef08a;border: 1px solid rgba(245, 158, 11, 0.4);}
.quick-seo-presets-bar{display: flex;align-items: center;gap: 8px;margin-bottom: 12px;padding: 7px 12px;background: rgba(30, 41, 59, 0.45);border: 1px solid rgba(148, 163, 184, 0.15);border-radius: 8px;backdrop-filter: blur(10px);-webkit-backdrop-filter: blur(10px);}
.quick-seo-label{display: inline-flex;align-items: center;gap: 5px;font-size: 0.75rem;font-weight: 800;color: #38bdf8;white-space: nowrap;padding-right: 8px;border-right: 1px solid rgba(148, 163, 184, 0.2);}
.quick-seo-chips-list{display: flex;align-items: center;gap: 6px;overflow-x: auto;padding: 4px 0;-webkit-overflow-scrolling: touch;scrollbar-width: none;}
.quick-seo-chips-list::-webkit-scrollbar{display: none;}
.seo-preset-chip{background: rgba(15, 23, 42, 0.6);border: 1px solid rgba(56, 189, 248, 0.3);color: #cbd5e1;padding: 4px 11px;border-radius: 14px;font-size: 0.74rem;font-weight: 600;cursor: pointer;white-space: nowrap;transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;display: inline-flex;align-items: center;gap: 4px;box-sizing: border-box;}
.seo-preset-chip:hover{background: rgba(56, 189, 248, 0.15);color: #38bdf8;border-color: #38bdf8;transform: none !important;}
.seo-preset-chip.active{background: linear-gradient(135deg, #0284c7, #0369a1);border-color: #38bdf8;color: #ffffff;font-weight: 700;box-shadow: 0 2px 8px rgba(2, 132, 199, 0.4);}
.smart-filter-box{background: rgba(20, 26, 38, 0.85);border: 1px solid #2d3b52;border-radius: 10px;padding: 12px 16px;margin-bottom: 12px;backdrop-filter: blur(14px);-webkit-backdrop-filter: blur(14px);}
.smart-filter-header{display: flex;align-items: center;justify-content: space-between;cursor: pointer;user-select: none;}
.smart-filter-title{display: inline-flex;align-items: center;gap: 7px;font-size: 0.82rem;font-weight: 800;color: #f1f5f9;}
.smart-filter-toggle-hint{display: inline-flex;align-items: center;gap: 5px;font-size: 0.72rem;color: #94a3b8;}
.smart-filter-toggle-icon{transition: transform 0.2s;}
.smart-filter-box.collapsed .smart-filter-toggle-icon{transform: rotate(-90deg);}
.smart-filter-content{margin-top: 12px;display: flex;flex-direction: column;gap: 10px;border-top: 1px solid rgba(148, 163, 184, 0.12);padding-top: 10px;}
.smart-filter-box.collapsed .smart-filter-content{display: none;}
.filter-group-row{display: flex;align-items: flex-start;gap: 10px;font-size: 0.78rem;}
.filter-group-label{width: 72px;flex-shrink: 0;color: #94a3b8;font-weight: 700;padding-top: 4px;font-size: 0.74rem;}
.filter-group-chips{display: flex;align-items: center;gap: 6px;flex-wrap: wrap;}
.multi-filter-chip{background: #182232;border: 1px solid #334155;color: #94a3b8;padding: 4px 10px;border-radius: 6px;font-size: 0.75rem;font-weight: 600;cursor: pointer;transition: all 0.15s;display: inline-flex;align-items: center;gap: 5px;}
.multi-filter-chip:hover{background: #233045;color: #e2e8f0;}
.multi-filter-chip.active{background: #1e293b;border-color: #38bdf8;color: #38bdf8;font-weight: 700;box-shadow: 0 1px 4px rgba(56, 189, 248, 0.2);}
.multi-filter-chip .chip-check{width: 11px;height: 11px;border: 1.5px solid rgba(148, 163, 184, 0.5);border-radius: 2px;display: inline-flex;align-items: center;justify-content: center;font-size: 8px;background: rgba(0, 0, 0, 0.2);}
.multi-filter-chip.active .chip-check{background: #38bdf8;border-color: #38bdf8;color: #0f172a;}
.active-filters-summary-bar{display: flex;align-items: center;justify-content: space-between;gap: 10px;padding: 8px 12px;background: rgba(14, 165, 233, 0.08);border: 1px solid rgba(56, 189, 248, 0.25);border-radius: 8px;margin-bottom: 12px;font-size: 0.76rem;flex-wrap: wrap;}
.active-filters-list{display: flex;align-items: center;gap: 6px;flex-wrap: wrap;}
.active-filter-label{color: #94a3b8;font-weight: 700;}
.active-tag-chip{background: rgba(56, 189, 248, 0.15);border: 1px solid rgba(56, 189, 248, 0.4);color: #38bdf8;padding: 2px 8px;border-radius: 12px;font-size: 0.72rem;font-weight: 700;display: inline-flex;align-items: center;gap: 4px;}
.active-tag-chip button{background: none;border: none;color: #38bdf8;cursor: pointer;padding: 0;display: inline-flex;align-items: center;line-height: 1;font-size: 11px;}
.active-tag-chip button:hover{color: #ef4444;}
.active-filter-actions{display: flex;align-items: center;gap: 10px;margin-left: auto;}
.active-count-text{color: #cbd5e1;font-weight: 700;}
.clear-all-filters-btn{background: transparent;border: 1px solid rgba(239, 68, 68, 0.4);color: #f87171;padding: 2px 8px;border-radius: 4px;font-size: 0.7rem;font-weight: 700;cursor: pointer;transition: all 0.15s;}
.clear-all-filters-btn:hover{background: rgba(239, 68, 68, 0.15);color: #fca5a5;}
.seo-landing-header-banner{background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.95));border: 1px solid #38bdf8;border-left: 4px solid #38bdf8;border-radius: 8px;padding: 14px 18px;margin-bottom: 14px;box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);position: relative;}
.seo-landing-badge-row{display: flex;align-items: center;gap: 8px;margin-bottom: 6px;}
.seo-badge-tag{background: rgba(56, 189, 248, 0.2);border: 1px solid rgba(56, 189, 248, 0.4);color: #38bdf8;font-size: 0.68rem;font-weight: 800;padding: 1px 6px;border-radius: 4px;}
.seo-badge-date{color: #94a3b8;font-size: 0.7rem;}
.seo-landing-title{font-size: 1.05rem;font-weight: 800;color: #ffffff;margin: 0 0 6px 0;line-height: 1.4;}
.seo-landing-desc{font-size: 0.78rem;color: #cbd5e1;margin: 0;line-height: 1.5;}
.seo-banner-close-btn{position: absolute;top: 12px;right: 12px;background: none;border: none;color: #94a3b8;font-size: 1.1rem;cursor: pointer;padding: 4px;}
.seo-banner-close-btn:hover{color: #ffffff;}
#sales-list-wrapper{min-height: calc(100vh - var(--header-actual-height, 108px) + 200px);}
.sale-card-wrapper{background: #ffffff;border: 1px solid #e7e2d8;border-radius: 14px;margin-bottom: 12px;overflow: hidden;cursor: pointer;position: relative;box-shadow: 0 4px 14px rgba(45, 35, 25, 0.05), 0 1px 2px rgba(0, 0, 0, 0.02);transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.28s cubic-bezier(0.2, 0.9, 0.3, 1), border-color 0.25s ease;}
.sale-card-wrapper:active{transform: translateY(-1px) scale(0.996);transition-duration: 0.08s;}
@media (hover: hover){.sale-card-wrapper:hover{transform: translateY(-5px);box-shadow: 0 18px 42px rgba(45, 35, 25, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);}.sale-card-wrapper.theme-kindle:hover{border-color: #f59e0b;box-shadow: 0 18px 42px rgba(245, 158, 11, 0.18), 0 4px 12px rgba(0, 0, 0, 0.04);}.sale-card-wrapper.theme-kobo:hover{border-color: #ef4444;box-shadow: 0 18px 42px rgba(239, 68, 68, 0.18), 0 4px 12px rgba(0, 0, 0, 0.04);}.sale-card-wrapper.theme-ebook:hover{border-color: #06b6d4;box-shadow: 0 18px 42px rgba(6, 182, 212, 0.18), 0 4px 12px rgba(0, 0, 0, 0.04);}.sale-card-wrapper.theme-dmm:hover{border-color: #3b82f6;box-shadow: 0 18px 42px rgba(59, 130, 246, 0.18), 0 4px 12px rgba(0, 0, 0, 0.04);}}
.sale-card-wrapper.theme-kindle{border-left: 6px solid #f59e0b;}
.sale-card-wrapper.theme-kobo{border-left: 6px solid #ef4444;}
.sale-card-wrapper.theme-ebook{border-left: 6px solid #06b6d4;}
.sale-card-wrapper.theme-dmm{border-left: 6px solid #3b82f6;}
html[data-theme="dark"] .sale-card-wrapper{background: #151a24;border: 1px solid #263245;box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);}
@media (hover: hover){html[data-theme="dark"] .sale-card-wrapper:hover{box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);}html[data-theme="dark"] .sale-card-wrapper.theme-kindle:hover{border-color: #ff9900;box-shadow: 0 18px 42px rgba(255, 153, 0, 0.22);}html[data-theme="dark"] .sale-card-wrapper.theme-kobo:hover{border-color: #ef4444;box-shadow: 0 18px 42px rgba(239, 68, 68, 0.22);}html[data-theme="dark"] .sale-card-wrapper.theme-ebook:hover{border-color: #06b6d4;box-shadow: 0 18px 42px rgba(6, 182, 212, 0.22);}html[data-theme="dark"] .sale-card-wrapper.theme-dmm:hover{border-color: #3b82f6;box-shadow: 0 18px 42px rgba(59, 130, 246, 0.22);}}
.cafe-sale-card-inner{display: flex;min-height: 144px;}
.cafe-card-showcase{width: 204px;flex-shrink: 0;background: linear-gradient(135deg, #f8f6f0 0%, #f1ede4 100%);border-right: 1px solid #e7e2d8;display: flex;flex-direction: column;align-items: center;justify-content: center;padding: 8px 8px;position: relative;overflow: hidden;transition: background 0.3s ease;}
html[data-theme="dark"] .cafe-card-showcase{background: linear-gradient(135deg, #1b2230 0%, #161c28 100%);border-right-color: #283549;}
.cafe-covers-fan{position: relative;width: 186px;height: 90px;display: flex;align-items: flex-end;justify-content: center;gap: 6px;}
.fan-book{position: relative;width: 54px;height: 78px;flex-shrink: 0;border-radius: 4px;overflow: hidden;background: #fff;box-shadow: 0 5px 12px rgba(0, 0, 0, 0.16);transition: transform 0.38s cubic-bezier(0.18, 0.9, 0.32, 1.28), box-shadow 0.32s ease, opacity 0.3s ease;transform-origin: 50% 90%;}
.fan-book img{width: 100%;height: 100%;object-fit: contain;background: #ffffff;display: block;}
.fan-badge{display: none !important;}
.fan-book.book-back{transform: translateY(2px);z-index: 1;opacity: 0.98;}
.fan-book.book-mid{transform: translateY(-3px);z-index: 2;opacity: 1;box-shadow: 0 7px 15px rgba(0, 0, 0, 0.20);}
.fan-book.book-front{transform: translateY(2px);z-index: 1;opacity: 0.98;}
.sale-card-wrapper:hover .fan-book.book-back{transform: translate(-3px, -5px) rotate(-3.5deg) scale(1.04);opacity: 1;box-shadow: 0 11px 22px rgba(0, 0, 0, 0.23);}
.sale-card-wrapper:hover .fan-book.book-mid{transform: translate(0, -9px) rotate(0deg) scale(1.06);z-index: 4;opacity: 1;box-shadow: 0 14px 26px rgba(0, 0, 0, 0.27);}
.sale-card-wrapper:hover .fan-book.book-front{transform: translate(3px, -5px) rotate(3.5deg) scale(1.04);opacity: 1;box-shadow: 0 11px 22px rgba(0, 0, 0, 0.23);}
.cafe-official-notice-showcase{width: 176px;height: 86px;border-radius: 10px;display: flex;flex-direction: column;align-items: center;justify-content: center;gap: 4px;padding: 8px 10px;text-align: center;background: rgba(255, 255, 255, 0.92);border: 1.5px dashed rgba(100, 116, 139, 0.35);box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);transition: transform 0.3s ease, box-shadow 0.3s ease;}
html[data-theme="dark"] .cafe-official-notice-showcase{background: rgba(15, 23, 42, 0.78);border-color: rgba(148, 163, 184, 0.3);}
.sale-card-wrapper:hover .cafe-official-notice-showcase{transform: translateY(-3px);box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);}
.cafe-official-notice-store{font-size: 0.78rem;font-weight: 900;letter-spacing: 0.02em;color: #0f172a;}
html[data-theme="dark"] .cafe-official-notice-store{color: #f8fafc;}
.cafe-official-notice-sub{font-size: 0.64rem;font-weight: 700;color: #475569;line-height: 1.3;}
html[data-theme="dark"] .cafe-official-notice-sub{color: #94a3b8;}
.active-filter-kobo-hack-bar, .cafe-meta-column-links{display: inline-flex;align-items: center;gap: 6px;flex-wrap: wrap;}
.cafe-meta-column-links{margin-left: 4px;margin-right: auto;}
.cafe-column-pill-link{display: inline-flex;align-items: center;gap: 3px;padding: 2px 9px;border-radius: 9999px;font-size: 0.69rem;font-weight: 800;text-decoration: none !important;white-space: nowrap;line-height: 1.45;transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;border: 1px solid rgba(191, 0, 0, 0.28);background: linear-gradient(135deg, #fff5f5 0%, #fee2e2 100%);color: #b91c1c !important;box-shadow: 0 1px 4px rgba(185, 28, 28, 0.08);}
.cafe-column-pill-link.variant-sale{border-color: rgba(217, 119, 6, 0.35);background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);color: #b45309 !important;}
.cafe-column-pill-link.variant-column{border-color: rgba(2, 132, 199, 0.32);background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);color: #0369a1 !important;}
.cafe-column-pill-link:hover{transform: translateY(-1.5px);box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);filter: brightness(0.98);}
html[data-theme="dark"] .cafe-column-pill-link{background: rgba(185, 28, 28, 0.2);border-color: rgba(248, 113, 113, 0.4);color: #fca5a5 !important;}
html[data-theme="dark"] .cafe-column-pill-link.variant-sale{background: rgba(217, 119, 6, 0.2);border-color: rgba(251, 191, 36, 0.4);color: #fcd34d !important;}
html[data-theme="dark"] .cafe-column-pill-link.variant-column{background: rgba(2, 132, 199, 0.2);border-color: rgba(56, 189, 248, 0.4);color: #7dd3fc !important;}
.kobo-day-bonus-badge{display: inline-flex;align-items: center;padding: 0 5px;margin-left: 2px;border-radius: 999px;font-size: 0.61rem;font-weight: 900;background: rgba(185, 28, 28, 0.12);color: #991b1b;border: 1px solid rgba(185, 28, 28, 0.25);}
.kobo-day-bonus-badge.is-today{background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);color: #ffffff !important;border-color: #991b1b;box-shadow: 0 1px 5px rgba(220, 38, 38, 0.35);}
html[data-theme="dark"] .kobo-day-bonus-badge{background: rgba(248, 113, 113, 0.18);color: #fecaca;border-color: rgba(248, 113, 113, 0.35);}
.cafe-showcase-badge{margin-top: 4px;display: inline-flex;align-items: center;gap: 4px;background: rgba(255, 255, 255, 0.95);border: 1px solid rgba(220, 38, 38, 0.25);border-radius: 9999px;padding: 2px 8px;font-size: 0.65rem;font-weight: 800;color: #b91c1c;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);}
html[data-theme="dark"] .cafe-showcase-badge{background: rgba(30, 41, 59, 0.85);border-color: rgba(239, 68, 68, 0.4);color: #fca5a5;}
.cafe-card-main{flex: 1;padding: 10px 18px;display: flex;flex-direction: column;justify-content: center;gap: 5px;}
.cafe-meta-top{display: flex;align-items: center;justify-content: space-between;gap: 8px;margin-bottom: 0;}
.cafe-meta-left{display: flex;align-items: center;gap: 6px;flex-wrap: wrap;}
.cafe-period-chip{display: inline-flex;align-items: center;gap: 4px;font-size: 0.70rem;color: #64748b;background: #f8fafc;padding: 2px 8px;border-radius: 9999px;border: 1px solid #e2e8f0;white-space: nowrap;}
html[data-theme="dark"] .cafe-period-chip{color: #94a3b8;background: #1e293b;border-color: #334155;}
.cafe-status-chip{font-size: 0.70rem;font-weight: 700;padding: 2px 8px;border-radius: 9999px;white-space: nowrap;}
.cafe-status-chip.urgent{background: #fef2f2;color: #dc2626;border: 1px solid #fecaca;}
.cafe-status-chip.normal{background: #f0fdf4;color: #15803d;border: 1px solid #bbf7d0;}
html[data-theme="dark"] .cafe-status-chip.urgent{background: rgba(239, 68, 68, 0.15);color: #f87171;border-color: rgba(239, 68, 68, 0.35);}
html[data-theme="dark"] .cafe-status-chip.normal{background: rgba(34, 197, 94, 0.15);color: #4ade80;border-color: rgba(34, 197, 94, 0.35);}
.cafe-count-chip{font-size: 0.70rem;font-weight: 600;color: #64748b;background: #f1f5f9;border: 1px solid #e2e8f0;padding: 2px 8px;border-radius: 9999px;white-space: nowrap;}
html[data-theme="dark"] .cafe-count-chip{background: #1e293b;color: #94a3b8;border-color: #334155;}
.cafe-cta-action{display: inline-flex;align-items: center;gap: 5px;font-size: 0.74rem;font-weight: 800;padding: 4px 13px;border-radius: 9999px;background: linear-gradient(135deg, #fb923c 0%, #ea580c 100%);color: #ffffff;box-shadow: 0 2px 8px rgba(234, 88, 12, 0.25);transition: transform 0.2s ease, box-shadow 0.2s ease;white-space: nowrap;flex-shrink: 0;margin-left: auto;}
.sale-card-wrapper:hover .cafe-cta-action{transform: translateX(3px);box-shadow: 0 5px 16px rgba(234, 88, 12, 0.45);}
.cafe-cta-action svg{transition: transform 0.2s ease;}
.sale-card-wrapper:hover .cafe-cta-action svg{transform: translateX(3px);}
.cafe-card-title{font-size: 1.02rem;font-weight: 800;color: #0f172a;line-height: 1.32;margin: 0;transition: color 0.2s ease;letter-spacing: -0.01em;}
.sale-card-wrapper:hover .cafe-card-title{color: #ea580c;}
html[data-theme="dark"] .cafe-card-title{color: #f8fafc;}
html[data-theme="dark"] .sale-card-wrapper:hover .cafe-card-title{color: #fb923c;}
.cafe-curator-note{background: #faf8f5;border: 1px solid #f0ebe1;border-radius: 7px;padding: 5px 10px;margin: 0;}
html[data-theme="dark"] .cafe-curator-note{background: #18202d;border-color: #29374c;}
.cafe-curator-text{font-size: 0.76rem;line-height: 1.42;color: #334155;margin: 0;font-feature-settings: "palt";}
html[data-theme="dark"] .cafe-curator-text{color: #cbd5e1;}
.cafe-tags-cluster{display: flex;align-items: center;gap: 5px;flex-wrap: wrap;margin-top: 0;font-size: 0.71rem;}
@media (max-width: 768px){.sale-card-wrapper{border-radius: 14px;margin-bottom: 16px;-webkit-tap-highlight-color: transparent;}.sale-card-wrapper:active{transform: scale(0.985);transition-duration: 0.1s;}.cafe-sale-card-inner{flex-direction: column;}.cafe-card-showcase{width: 100%;min-height: 155px;border-right: none;border-bottom: 1px solid #e7e2d8;padding: 14px 10px 10px 10px;}html[data-theme="dark"] .cafe-card-showcase{border-bottom-color: #283549;}.cafe-covers-fan{width: 216px;height: 104px;gap: 8px;}.fan-book{width: 64px;height: 92px;}.cafe-official-notice-showcase{width: 92%;max-width: 260px;height: 78px;}.cafe-showcase-badge{margin-top: 8px;padding: 2.5px 9px;font-size: 0.70rem;}.cafe-card-main{padding: 12px 14px 14px 14px;gap: 8px;display: flex;flex-direction: column;}.cafe-meta-top{display: contents;}.cafe-meta-left{order: 1;display: flex;align-items: center;gap: 6px;flex-wrap: wrap;width: 100%;}.cafe-card-title{order: 2;font-size: 1.05rem;line-height: 1.4;margin: 2px 0 0 0;}.cafe-curator-note{order: 3;padding: 8px 12px;}.cafe-curator-text{font-size: 0.80rem;line-height: 1.55;}.cafe-meta-column-links{order: 4;width: 100%;margin-left: 0;gap: 5px;}.cafe-tags-cluster{order: 5;gap: 5px;margin-top: 2px;}.cafe-cta-action{order: 6;margin-left: 0;margin-top: 4px;width: 100%;min-height: 38px;justify-content: center;font-size: 0.84rem;border-radius: 999px;box-sizing: border-box;padding: 8px 16px;}.cafe-cta-action:active{transform: scale(0.97);}.sale-detail-header-card-wrap .cafe-meta-top{display: flex;flex-direction: column;align-items: flex-start;gap: 8px;}.sale-detail-header-card-wrap .cafe-meta-left{order: 1;}.sale-detail-header-card-wrap .cafe-card-title{order: 2;}.sale-detail-header-card-wrap .cafe-curator-note{order: 3;}.sale-detail-header-card-wrap .cafe-tags-cluster{order: 4;}}
.sale-card-wrapper.theme-kindle{border-color: rgba(245, 158, 11, 0.45);background: linear-gradient(180deg, rgba(245, 158, 11, 0.05) 0%, rgba(20, 26, 36, 0.98) 120px);}
.sale-card-wrapper.theme-kindle .sale-summary-banner{border-left: 5px solid #ff9900;background: linear-gradient(180deg, rgba(245, 158, 11, 0.12) 0%, #171e2c 100%);}
.sale-card-wrapper.theme-kindle .sale-banner-title{color: #fef08a;}
.sale-card-wrapper.theme-kindle .book-card{border-color: rgba(245, 158, 11, 0.25);}
.sale-card-wrapper.theme-kindle .price-calc-box{background: rgba(245, 158, 11, 0.08);border-color: rgba(245, 158, 11, 0.35);}
.sale-card-wrapper.theme-kobo{border-color: rgba(239, 68, 68, 0.45);background: linear-gradient(180deg, rgba(239, 68, 68, 0.05) 0%, rgba(20, 26, 36, 0.98) 120px);}
.sale-card-wrapper.theme-kobo .sale-summary-banner{border-left: 5px solid #dc2626;background: linear-gradient(180deg, rgba(239, 68, 68, 0.12) 0%, #171e2c 100%);}
.sale-card-wrapper.theme-kobo .sale-banner-title{color: #fecaca;}
.sale-card-wrapper.theme-kobo .book-card{border-color: rgba(239, 68, 68, 0.25);}
.sale-card-wrapper.theme-kobo .price-calc-box{background: rgba(239, 68, 68, 0.08);border-color: rgba(239, 68, 68, 0.35);}
.sale-card-wrapper.theme-ebook{border-color: rgba(6, 182, 212, 0.45);background: linear-gradient(180deg, rgba(6, 182, 212, 0.05) 0%, rgba(20, 26, 36, 0.98) 120px);}
.sale-card-wrapper.theme-ebook .sale-summary-banner{border-left: 5px solid #06b6d4;background: linear-gradient(180deg, rgba(6, 182, 212, 0.12) 0%, #171e2c 100%);}
.sale-card-wrapper.theme-ebook .sale-banner-title{color: #a5f3fc;}
.sale-card-wrapper.theme-ebook .book-card{border-color: rgba(6, 182, 212, 0.25);}
.sale-card-wrapper.theme-ebook .price-calc-box{background: rgba(6, 182, 212, 0.08);border-color: rgba(6, 182, 212, 0.35);}
.sale-card-wrapper.theme-dmm{border-color: rgba(37, 99, 235, 0.45);background: linear-gradient(180deg, rgba(37, 99, 235, 0.05) 0%, rgba(20, 26, 36, 0.98) 120px);}
.sale-card-wrapper.theme-dmm .sale-summary-banner{border-left: 5px solid #2563eb;background: linear-gradient(180deg, rgba(37, 99, 235, 0.12) 0%, #171e2c 100%);}
.sale-card-wrapper.theme-dmm .sale-banner-title{color: #bfdbfe;}
.sale-card-wrapper.theme-dmm .book-card{border-color: rgba(37, 99, 235, 0.25);}
.sale-card-wrapper.theme-dmm .price-calc-box{background: rgba(37, 99, 235, 0.08);border-color: rgba(37, 99, 235, 0.35);}
.sale-card-wrapper.theme-dmm .sale-banner-title{color: #bae6fd;}
.sale-card-wrapper.theme-dmm .book-card{border-color: rgba(2, 132, 199, 0.25);}
.sale-card-wrapper.theme-dmm .price-calc-box{background: rgba(2, 132, 199, 0.08);border-color: rgba(2, 132, 199, 0.35);}
.sale-card-wrapper.open{border-color: #3b4b66;box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);}
.sale-summary-banner{background: linear-gradient(180deg, #1b2332 0%, #171e2c 100%);padding: 16px 20px;cursor: pointer;position: relative;transition: background 0.2s ease, border-left-width 0.2s ease;}
.sale-summary-banner:hover{background: linear-gradient(180deg, #202b3d 0%, #192333 100%);}
.sale-top-control-row{display: flex;align-items: center;gap: 8px;flex-wrap: wrap;margin-bottom: 10px;}
.store-badge-btn{display: inline-flex;align-items: center;gap: 5px;font-size: 0.74rem;font-weight: 700;padding: 3px 8px;border-radius: 6px;border: 1px solid transparent;cursor: pointer;letter-spacing: 0.02em;transition: all 0.15s ease;user-select: none;}
.store-badge-btn::before{content: '';display: inline-block;width: 6px;height: 6px;border-radius: 50%;flex-shrink: 0;}
.store-badge-btn:hover{transform: translateY(-1px);filter: brightness(0.96);}
html[data-theme="dark"] .store-badge-btn:hover{filter: brightness(1.1);}
.store-badge-btn.kindle{background: rgba(255, 153, 0, 0.14);border-color: rgba(255, 153, 0, 0.35);color: #fbbf24;box-shadow: none;}
.store-badge-btn.kindle::before{background-color: #ff9900;}
html[data-theme="light"] .store-badge-btn.kindle{background: #fff7ed;border-color: #fdba74;color: #c2410c;}
html[data-theme="light"] .store-badge-btn.kindle::before{background-color: #ff9900;}
.store-badge-btn.kobo{background: rgba(220, 38, 38, 0.14);border-color: rgba(220, 38, 38, 0.35);color: #f87171;box-shadow: none;}
.store-badge-btn.kobo::before{background-color: #dc2626;}
html[data-theme="light"] .store-badge-btn.kobo{background: #fef2f2;border-color: #fca5a5;color: #b91c1c;}
html[data-theme="light"] .store-badge-btn.kobo::before{background-color: #dc2626;}
.store-badge-btn.ebook{background: rgba(239, 68, 68, 0.14);border-color: rgba(239, 68, 68, 0.35);color: #f87171;box-shadow: none;}
.store-badge-btn.ebook::before{background-color: #e11d48;}
html[data-theme="light"] .store-badge-btn.ebook{background: #fff1f2;border-color: #fecdd3;color: #be123c;}
html[data-theme="light"] .store-badge-btn.ebook::before{background-color: #e11d48;}
.store-badge-btn.dmm{background: #18181b;border-color: #f59e0b;color: #fef08a;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);}
.store-badge-btn.dmm::before{background-color: #eab308;}
html[data-theme="light"] .store-badge-btn.dmm{background: #18181b;border-color: #eab308;color: #fef08a;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);}
html[data-theme="light"] .store-badge-btn.dmm::before{background-color: #eab308;}
.store-badge-btn.all{background: rgba(16, 185, 129, 0.18);border-color: rgba(16, 185, 129, 0.4);color: #34d399;box-shadow: none;}
.store-badge-btn.all::before{background-color: #10b981;}
html[data-theme="light"] .store-badge-btn.all{background: #ffffff;border-color: #10b981;color: #059669;box-shadow: 0 1px 3px rgba(16, 185, 129, 0.18);}
html[data-theme="light"] .store-badge-btn.all::before{background-color: #10b981;}
.sale-meta-tags-row{display: flex;align-items: center;gap: 6px;flex-wrap: wrap;font-size: 0.74rem;}
.tag-category-pill{background: #20293a;color: #94a3b8;border: 1px solid #334155;padding: 2px 8px;border-radius: 20px;font-size: 0.71rem;font-weight: 600;}
.tag-publisher-pill{background: #064e3b;color: #6ee7b7;border: 1px solid #047857;padding: 2px 8px;border-radius: 20px;font-size: 0.71rem;font-weight: 600;}
.tag-count-pill{background: #134e4a;color: #5eead4;border: 1px solid #115e59;padding: 2.5px 9px;border-radius: 20px;font-weight: 700;}
html[data-theme="light"] .tag-category-pill{background: #f1f5f9;color: #475569;border-color: #e2e8f0;}
html[data-theme="light"] .tag-publisher-pill{background: #f0fdf4;color: #166534;border-color: #bbf7d0;}
html[data-theme="light"] .tag-count-pill{background: #eff6ff;color: #1d4ed8;border-color: #bfdbfe;}
.status-notice-text{margin-left: 4px;font-weight: 700;font-size: 0.76rem;}
.status-notice-text.urgent{color: #f87171;}
.status-notice-text.normal{color: #34d399;}
html[data-theme="light"] .status-notice-text.urgent{color: #dc2626;}
html[data-theme="light"] .status-notice-text.normal{color: #059669;}
.sale-banner-title-row{display: flex;align-items: baseline;gap: 8px;margin-bottom: 12px;flex-wrap: wrap;}
.sale-banner-title{font-size: 1.16rem;font-weight: 700;color: #f8fafc;line-height: 1.45;text-decoration: none;transition: color 0.18s ease;}
.sale-banner-title:hover{color: var(--accent-orange);text-decoration: none;}
html[data-theme="light"] .sale-banner-title{color: #0f172a;}
html[data-theme="light"] .sale-banner-title:hover{color: #ea580c;}
.sale-banner-period{font-size: 0.84rem;font-weight: 500;color: #94a3b8;margin-left: 6px;}
html[data-theme="light"] .sale-banner-period{color: #64748b;}
.sale-detail-header-card{background: linear-gradient(135deg, #1b2332 0%, #151c27 100%);border: 1.5px solid #283549;border-radius: 18px !important;padding: 24px 30px;margin-bottom: 20px;position: relative;overflow: hidden !important;box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);}
.sale-detail-header-card::before{display: none !important;}
.sale-detail-meta-top{display: flex;align-items: center;gap: 10px;margin-bottom: 12px;flex-wrap: wrap;}
.sale-detail-title-row{display: flex;align-items: baseline;gap: 12px;margin-bottom: 10px;flex-wrap: wrap;}
.sale-detail-main-title{font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;font-size: 1.35rem;font-weight: 700;color: #f8fafc;margin: 0;line-height: 1.45;letter-spacing: -0.01em;}
.sale-detail-lineup-text{font-size: 0.84rem;color: var(--store-theme, #38bdf8);margin-bottom: 12px;line-height: 1.5;font-weight: 500;}
.sale-detail-bottom-tags{display: flex;align-items: center;gap: 6px;flex-wrap: wrap;}
.sale-detail-period-text{font-size: 0.82rem;color: #94a3b8;display: inline-flex;align-items: center;gap: 6px;background: rgba(255, 255, 255, 0.05);padding: 3px 10px;border-radius: 20px;border: 1px solid rgba(255, 255, 255, 0.08);}
html[data-theme="light"] .sale-detail-header-card{background: linear-gradient(135deg, #ffffff 0%, #faf8f5 100%);border: 1.5px solid #e7e2d8 !important;box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);}
html[data-theme="light"] .sale-detail-main-title{color: #1e293b;}
html[data-theme="light"] .sale-detail-lineup-text{color: var(--store-theme, #0284c7);}
html[data-theme="light"] .sale-detail-period-text{color: #64748b;background: #f1ede4;border-color: #e2dbcd;}
.mini-covers-reel{display: flex;gap: 9px;overflow-x: auto;padding: 6px 0 10px;margin-bottom: 8px;scrollbar-width: thin;}
.mini-covers-reel::-webkit-scrollbar{height: 4px;}
.mini-covers-reel::-webkit-scrollbar-thumb{background: #334155;border-radius: 2px;}
.mini-cover-item{width: 60px;height: 85px;border-radius: 6px;overflow: hidden;flex-shrink: 0;position: relative;background: #252f40;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease;}
.mini-cover-item:hover{transform: translateY(-5px) scale(1.06) !important;box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);z-index: 3;}
html[data-theme="light"] .mini-cover-item{background: #f1f5f9;box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);}
.mini-cover-item img{width: 100%;height: 100%;object-fit: cover;}
.mini-cover-badge{position: absolute;top: 0;left: 0;background: #dc2626;color: #fff;font-size: 0.62rem;font-weight: 900;padding: 1.5px 4.5px;border-bottom-right-radius: 6px;line-height: 1.1;letter-spacing: -0.02em;}
.sale-bullets-list{list-style: none;font-size: 0.82rem;color: #94a3b8;display: flex;flex-direction: column;gap: 5px;margin-top: 4px;padding-left: 0;}
html[data-theme="light"] .sale-bullets-list{color: #475569;}
.sale-bullets-list li{position: relative;padding-left: 14px;line-height: 1.5;}
.sale-bullets-list li::before{content: "•";position: absolute;left: 0;color: var(--accent-orange);font-weight: bold;font-size: 0.95rem;}
.sale-expanded-body{display: none;padding: 20px 18px 24px;background: #111620;border-top: 1px solid #283447;animation: fadeIn 0.25s ease-in-out;}
html[data-theme="light"] .sale-expanded-body{background: #ffffff;border-top-color: #e2e8f0;}
.sale-card-wrapper.open .sale-expanded-body{display: block;}
@keyframes fadeIn{from{opacity: 0;transform: translateY(-6px);}to{opacity: 1;transform: translateY(0);}}
.sale-special-header{background: #18202e;border: 1px solid #334259;border-radius: 10px;padding: 14px 18px;margin-bottom: 16px;}
.breadcrumb{font-size: 0.74rem;color: var(--text-muted);margin-bottom: 6px;}
.sale-title-row{display: flex;align-items: baseline;gap: 10px;flex-wrap: wrap;margin-bottom: 6px;}
.sale-badge-orange{background: var(--accent-orange);color: #fff;font-size: 0.76rem;font-weight: 900;padding: 2px 8px;border-radius: 4px;}
.sale-main-heading{font-size: 1.15rem;font-weight: 700;color: #fff;}
.sale-nav-links{display: flex;align-items: center;gap: 10px;font-size: 0.8rem;margin-bottom: 8px;flex-wrap: wrap;}
.btn-view-toggle{background: #222c3d;border: 1px solid var(--border-light);color: var(--text-main);padding: 4px 10px;border-radius: 6px;font-size: 0.78rem;cursor: pointer;display: inline-flex;align-items: center;gap: 5px;}
.btn-view-toggle.active{background: var(--accent-blue);color: #0f1218;font-weight: 700;border-color: var(--accent-blue);}
.sale-lineup-desc{font-size: 0.82rem;color: var(--accent-blue);margin-bottom: 8px;line-height: 1.45;}
.sale-info-meta{font-size: 0.8rem;color: var(--text-sub);border-top: 1px dashed #2d3a4f;padding-top: 8px;display: flex;flex-direction: column;gap: 4px;}
.tag-bubble{display: inline-block;padding: 1px 6px;font-size: 0.72rem;border-radius: 3px;margin-right: 4px;}
.tag-pub{background: #1b3d2b;color: #34d399;}
.tag-gen{background: #283347;color: #93c5fd;}
.tag-isbn{background: #172554;color: #60a5fa;}
.tag-kdp{background: #3b1e1e;color: #f87171;}
html[data-theme="light"] .sale-special-header{background: #f8fafc;border: 1.5px solid var(--genre-border) !important;}
html[data-theme="light"] .btn-view-toggle{background: #f1f5f9;border-color: #cbd5e1;color: #334155;}
html[data-theme="light"] .btn-view-toggle.active{background: #0284c7;color: #ffffff;border-color: #0284c7;}
html[data-theme="light"] .sale-lineup-desc{color: #0284c7;}
html[data-theme="light"] .sale-info-meta{border-top-color: #e2e8f0;color: #64748b;}
.filter-panel-box{background: #ede8df !important;backdrop-filter: blur(14px);-webkit-backdrop-filter: blur(14px);border: 1.5px solid var(--genre-border) !important;border-radius: 14px !important;padding: 6px 14px;margin-bottom: 8px;font-size: 0.82rem;position: sticky;top: calc(var(--header-actual-height, 108px) - 2px) !important;z-index: 950;box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);transition: all 0.2s ease;}
html[data-theme="light"] .filter-panel-box{background: #ede8df !important;border: 1.5px solid var(--genre-border) !important;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);}
html[data-theme="light"] .filter-panel-box.is-stuck{background: rgba(237, 232, 223, 0.98) !important;border: 1.5px solid var(--genre-border) !important;border-top: 1.5px solid var(--genre-border) !important;border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 14px !important;border-bottom-right-radius: 14px !important;padding: 5px 14px 4px 14px !important;box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10) !important;}
html[data-theme="dark"] .filter-panel-box{background: #111622 !important;border: 1.5px solid var(--genre-border) !important;box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);}
html[data-theme="dark"] .filter-panel-box.is-stuck{background: rgba(17, 22, 34, 0.98) !important;border: 1.5px solid var(--genre-border) !important;border-top: 1.5px solid var(--genre-border) !important;border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 14px !important;border-bottom-right-radius: 14px !important;padding: 5px 14px 4px 14px !important;box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5) !important;}
.filter-panel-box.is-stuck{border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 14px !important;border-bottom-right-radius: 14px !important;border-top: 1.5px solid var(--genre-border) !important;padding: 5px 14px 4px 14px !important;box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;}
.store-theme-kobo{--store-theme: #dc2626;--store-border: rgba(220, 38, 38, 0.45);--store-bg-tint: rgba(220, 38, 38, 0.06);--store-shadow: rgba(220, 38, 38, 0.28);}
html[data-theme="dark"] .store-theme-kobo{--store-theme: #ef4444;--store-border: rgba(239, 68, 68, 0.4);--store-bg-tint: rgba(239, 68, 68, 0.12);--store-shadow: rgba(239, 68, 68, 0.35);}
.store-theme-kindle{--store-theme: #ea580c;--store-border: rgba(234, 88, 12, 0.45);--store-bg-tint: rgba(234, 88, 12, 0.06);--store-shadow: rgba(234, 88, 12, 0.28);}
html[data-theme="dark"] .store-theme-kindle{--store-theme: #f97316;--store-border: rgba(249, 115, 22, 0.4);--store-bg-tint: rgba(249, 115, 22, 0.12);--store-shadow: rgba(249, 115, 22, 0.35);}
.store-theme-ebook{--store-theme: #e11d48;--store-border: rgba(225, 29, 72, 0.45);--store-bg-tint: rgba(225, 29, 72, 0.06);--store-shadow: rgba(225, 29, 72, 0.28);}
html[data-theme="dark"] .store-theme-ebook{--store-theme: #f43f5e;--store-border: rgba(244, 63, 94, 0.4);--store-bg-tint: rgba(244, 63, 94, 0.12);--store-shadow: rgba(244, 63, 94, 0.35);}
.store-theme-dmm{--store-theme: #2563eb;--store-border: rgba(37, 99, 235, 0.45);--store-bg-tint: rgba(37, 99, 235, 0.06);--store-shadow: rgba(37, 99, 235, 0.28);}
html[data-theme="dark"] .store-theme-dmm{--store-theme: #3b82f6;--store-border: rgba(59, 130, 246, 0.4);--store-bg-tint: rgba(59, 130, 246, 0.12);--store-shadow: rgba(59, 130, 246, 0.35);}
.store-theme-kobo .sale-special-header, .store-theme-kobo.sale-special-header, .sale-card-wrapper.store-theme-kobo.open{border: 1.5px solid var(--store-border) !important;}
.store-theme-kindle .sale-special-header, .store-theme-kindle.sale-special-header, .sale-card-wrapper.store-theme-kindle.open{border: 1.5px solid var(--store-border) !important;}
.store-theme-ebook .sale-special-header, .store-theme-ebook.sale-special-header, .sale-card-wrapper.store-theme-ebook.open{border: 1.5px solid var(--store-border) !important;}
.store-theme-dmm .sale-special-header, .store-theme-dmm.sale-special-header, .sale-card-wrapper.store-theme-dmm.open{border: 1.5px solid var(--store-border) !important;}
[class*="store-theme-"] .sale-lineup-desc{color: var(--store-theme) !important;}
.sale-back-btn-pill{display: inline-flex;align-items: center;gap: 5px;padding: 6px 14px;border-radius: 9999px;font-size: 0.82rem;font-weight: 700;color: #94a3b8;background: rgba(255, 255, 255, 0.06);border: 1px solid rgba(255, 255, 255, 0.12);cursor: pointer;transition: all 0.2s;}
.sale-back-btn-pill:hover{color: #ffffff;background: rgba(255, 255, 255, 0.14);border-color: rgba(255, 255, 255, 0.25);transform: translateX(-2px);}
html[data-theme="light"] .sale-back-btn-pill{color: #475569;background: #f1f5f9;border: 1px solid #cbd5e1;}
html[data-theme="light"] .sale-back-btn-pill:hover{color: #0f172a;background: #e2e8f0;border-color: #94a3b8;}
.sale-share-btn-pill{display: inline-flex;align-items: center;gap: 5px;padding: 6px 14px;border-radius: 9999px;font-size: 0.82rem;font-weight: 700;color: #f97316;background: rgba(249, 115, 22, 0.12);border: 1px solid rgba(249, 115, 22, 0.3);cursor: pointer;transition: all 0.2s;}
.sale-share-btn-pill:hover{color: #ffffff;background: linear-gradient(135deg, #ea580c, #f59e0b);border-color: transparent;box-shadow: 0 4px 12px rgba(234, 88, 12, 0.35);transform: translateY(-1px);}
html[data-theme="light"] .sale-share-btn-pill{color: #c2410c;background: #ffedd5;border: 1px solid #fed7aa;}
html[data-theme="light"] .sale-share-btn-pill:hover{color: #ffffff;background: linear-gradient(135deg, #ea580c, #f59e0b);border-color: transparent;}
.filter-box-header{display: flex;align-items: center;justify-content: space-between;margin-bottom: 12px;gap: 12px;}
.filter-section-title{color: var(--text-muted);font-weight: 700;font-size: 0.85rem;display: flex;align-items: center;gap: 6px;margin: 0;}
.filter-reset-btn-top{background: rgba(245, 158, 11, 0.12) !important;border: 1.5px solid #f59e0b !important;color: #d97706 !important;border-radius: 9999px !important;padding: 5px 14px;font-size: 0.78rem;font-weight: 700;display: inline-flex;align-items: center;gap: 5px;cursor: pointer;white-space: nowrap;flex-shrink: 0;transition: all 0.2s;}
html[data-theme="dark"] .filter-reset-btn-top{background: rgba(245, 158, 11, 0.16) !important;border-color: #f59e0b !important;color: #fbbf24 !important;}
html[data-theme="light"] .filter-reset-btn-top{background: rgba(245, 158, 11, 0.1) !important;border-color: #f59e0b !important;color: #d97706 !important;}
.filter-reset-btn-top:hover{background: #f59e0b !important;color: #ffffff !important;border-color: #f59e0b !important;box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);transform: none !important;}
.sale-toggle-switches-bar{display: flex;align-items: center;gap: 8px;flex-wrap: wrap;margin-bottom: 12px;padding-bottom: 10px;border-bottom: 1px dashed var(--border-color, #e2e8f0);}
html[data-theme="dark"] .sale-toggle-switches-bar{border-bottom-color: rgba(255, 255, 255, 0.08);}
.hikabon-toggle-switch{display: inline-flex;align-items: center;gap: 7px;background: var(--bg-card, #ffffff);border: 1.5px solid var(--border-color, #cbd5e1);border-radius: 999px;padding: 4px 11px 4px 5px;font-size: 0.75rem;font-weight: 700;color: var(--text-sub, #475569);cursor: pointer;transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);user-select: none;box-sizing: border-box;}
html[data-theme="dark"] .hikabon-toggle-switch{background: #182232;border-color: #334155;color: #94a3b8;}
.hikabon-toggle-switch:hover{border-color: var(--store-theme, #dc2626);color: var(--text-main);box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);}
.hikabon-toggle-switch.is-active{background: var(--store-bg-tint, rgba(220, 38, 38, 0.06));border-color: var(--store-theme, #dc2626);color: var(--store-theme, #dc2626);}
.hikabon-toggle-track{width: 26px;height: 15px;border-radius: 999px;background: #cbd5e1;position: relative;transition: background 0.22s ease;flex-shrink: 0;}
html[data-theme="dark"] .hikabon-toggle-track{background: #475569;}
.hikabon-toggle-switch.is-active .hikabon-toggle-track{background: var(--store-theme, #dc2626);}
.hikabon-toggle-thumb{width: 11px;height: 11px;border-radius: 50%;background: #ffffff;position: absolute;top: 2px;left: 2px;box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);}
.hikabon-toggle-switch.is-active .hikabon-toggle-thumb{transform: translateX(11px);}
.filter-section-title{color: var(--text-muted);font-weight: 700;margin-bottom: 8px;display: flex;align-items: center;gap: 6px;}
.filter-pills-row{display: flex;align-items: center;gap: 8px;flex-wrap: wrap;margin-bottom: 12px;}
.pill-btn{background: #232c3d;border: 1px solid #3b4861;color: var(--text-main);padding: 5px 12px;border-radius: 9999px !important;cursor: pointer;font-size: 0.76rem;display: inline-flex;align-items: center;justify-content: center;gap: 5px;transition: all 0.15s;white-space: nowrap;box-sizing: border-box;}
#modal-shelf-customize .pill-btn, #modal-shelf-plate .pill-btn, .shelf-quick-adjust-popover .pill-btn{justify-content: center !important;text-align: center !important;}
.pill-btn:hover{background: #2d384d;}
.pill-btn.active{background: var(--accent-blue);color: #0f1218;font-weight: 700;border-color: var(--accent-blue);}
.pill-btn.highlight-active{background: var(--accent-gold);color: #0f1218;font-weight: 700;border-color: var(--accent-gold);}
html[data-theme="light"] .pill-btn:hover{background: #e2e8f0;}
.filter-search-input{background: #0d1117;border: 1.5px solid #3b4861;border-radius: 9999px !important;padding: 6px 18px;color: #fff;font-size: 0.82rem;outline: none;flex: 1 1 240px;min-width: 200px;max-width: 380px;transition: border-color 0.2s, box-shadow 0.2s;}
.filter-search-input::placeholder{color: #94a3b8;}
.filter-search-input:focus{border-color: var(--store-theme, #ea580c);box-shadow: 0 0 0 3px var(--store-bg-tint, rgba(234, 88, 12, 0.15));}
html[data-theme="light"] .filter-search-input::placeholder{color: #94a3b8;}
.filter-select{background: #232c3d;border: 1.5px solid #3b4861;color: #fff;padding: 5px 12px;border-radius: 9999px !important;font-size: 0.76rem;outline: none;cursor: pointer;}
html[data-theme="light"] .filter-select{background: #ffffff;border-color: #cbd5e1;color: #334155;}
.price-filter-capsule{display: inline-flex;align-items: stretch;border-radius: 9999px;overflow: hidden;font-size: 0.75rem;font-weight: 600;height: 28px;transition: all 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);user-select: none;vertical-align: middle;box-sizing: border-box;flex-shrink: 0;}
html[data-theme="light"] .price-filter-capsule{background: #f1f5f9;border: 1px solid #cbd5e1;color: #475569;}
html[data-theme="light"] .price-filter-capsule:hover{background: #e2e8f0;color: #0f172a;border-color: #94a3b8;}
html[data-theme="dark"] .price-filter-capsule{background: #232c3d;border: 1px solid #3b4861;color: #cbd5e1;}
html[data-theme="dark"] .price-filter-capsule:hover{background: #2d384d;color: #ffffff;}
.price-filter-capsule.active{background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;color: #ffffff !important;border-color: #dc2626 !important;box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35) !important;}
.price-filter-capsule.active:hover{filter: brightness(1.08);box-shadow: 0 3px 10px rgba(220, 38, 38, 0.45) !important;}
.price-capsule-tune-btn{display: inline-flex;align-items: center;justify-content: center;padding: 0 8px 0 10px;background: transparent;border: none;color: inherit;cursor: pointer;border-right: 1px solid rgba(0, 0, 0, 0.08);transition: all 0.15s;}
.price-filter-capsule.active .price-capsule-tune-btn{border-right-color: rgba(255, 255, 255, 0.25);}
html[data-theme="dark"] .price-capsule-tune-btn{border-right-color: rgba(255, 255, 255, 0.1);}
.price-capsule-tune-btn:hover{background: rgba(0, 0, 0, 0.07);}
.price-filter-capsule.active .price-capsule-tune-btn:hover{background: rgba(0, 0, 0, 0.15);}
.price-capsule-tune-btn.drawer-open{background: rgba(0, 0, 0, 0.08);}
.price-filter-capsule.active .price-capsule-tune-btn.drawer-open{background: rgba(0, 0, 0, 0.18);}
.price-capsule-label-btn{display: inline-flex;align-items: center;gap: 4px;padding: 0 12px 0 8px;background: transparent;border: none;color: inherit;cursor: pointer;font-size: inherit;font-weight: inherit;white-space: nowrap;transition: all 0.15s;}
.price-filter-capsule.active .price-capsule-label-btn{font-weight: 800;}
.price-capsule-label-btn:hover{background: rgba(0, 0, 0, 0.04);}
.price-filter-capsule.active .price-capsule-label-btn:hover{background: rgba(0, 0, 0, 0.08);}
.price-capsule-label-btn .price-btn-arrow{font-size: 0.68rem;font-family: inherit;font-weight: 900;margin-left: 2px;}
.price-slider-drawer{display: none;background: #fcfbf9;border: 1.5px solid rgba(214, 203, 190, 0.75);border-radius: 12px;padding: 12px 16px;margin-bottom: 12px;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);}
.price-slider-drawer.is-open{display: block;animation: priceDrawerSlide 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);}
@keyframes priceDrawerSlide{from{opacity: 0;transform: translateY(-4px);}to{opacity: 1;transform: translateY(0);}}
html[data-theme="dark"] .price-slider-drawer{background: #151b27;border-color: rgba(255, 255, 255, 0.1);box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);}
.price-slider-main-row{display: flex;align-items: center;justify-content: space-between;gap: 16px;flex-wrap: wrap;margin-bottom: 10px;}
.price-slider-bar-col{flex: 1 1 260px;min-width: 240px;}
.price-slider-meta-head{display: flex;align-items: center;gap: 8px;margin-bottom: 6px;}
.price-slider-label{font-size: 0.78rem;font-weight: 700;color: var(--text-sub, #475569);}
.price-slider-val-badge{font-size: 0.95rem;font-weight: 900;font-family: 'Montserrat', sans-serif;color: #ea580c;letter-spacing: 0.02em;}
.price-slider-dir-badge{font-size: 0.7rem;font-weight: 800;padding: 2px 8px;border-radius: 9999px;background: #dc2626;color: #ffffff;letter-spacing: 0.02em;}
.price-range-track-container{display: flex;align-items: center;gap: 10px;}
.price-range-limit{font-size: 0.72rem;color: #94a3b8;font-weight: 600;white-space: nowrap;}
.price-range-slider{-webkit-appearance: none;appearance: none;width: 100%;height: 6px;border-radius: 9999px;background: #e2e8f0;outline: none;cursor: pointer;transition: background 0.2s;}
html[data-theme="dark"] .price-range-slider{background: #2a3447;}
.price-range-slider::-webkit-slider-thumb{-webkit-appearance: none;appearance: none;width: 18px;height: 18px;border-radius: 50%;background: #ea580c;cursor: pointer;box-shadow: 0 2px 6px rgba(234, 88, 12, 0.4);transition: transform 0.15s, background 0.15s;}
.price-range-slider::-webkit-slider-thumb:hover{transform: scale(1.2);background: #dc2626;}
.price-range-slider::-moz-range-thumb{width: 18px;height: 18px;border-radius: 50%;background: #ea580c;border: none;cursor: pointer;box-shadow: 0 2px 6px rgba(234, 88, 12, 0.4);}
.price-slider-actions-col{display: flex;align-items: center;gap: 8px;flex-wrap: wrap;}
.price-dir-pill-group, .price-basis-pill-group{display: inline-flex;background: rgba(0, 0, 0, 0.05);padding: 2px;border-radius: 9999px;border: 1px solid rgba(0, 0, 0, 0.08);}
html[data-theme="dark"] .price-dir-pill-group, html[data-theme="dark"] .price-basis-pill-group{background: rgba(255, 255, 255, 0.05);border-color: rgba(255, 255, 255, 0.1);}
.price-dir-chip, .price-basis-chip{border: none;background: transparent;padding: 3px 9px;font-size: 0.72rem;font-weight: 700;color: var(--text-sub, #64748b);border-radius: 9999px;cursor: pointer;display: inline-flex;align-items: center;gap: 3px;transition: all 0.15s;user-select: none;}
.price-dir-chip.active{background: #dc2626;color: #ffffff;box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3);}
.price-basis-chip.active{background: #475569;color: #ffffff;}
html[data-theme="dark"] .price-basis-chip.active{background: #334155;color: #f8fafc;}
.price-drawer-reset-btn{display: inline-flex;align-items: center;gap: 4px;font-size: 0.72rem;font-weight: 700;color: #64748b;background: #f1f5f9;border: 1px solid #cbd5e1;padding: 4px 10px;border-radius: 9999px;cursor: pointer;transition: all 0.15s;user-select: none;}
.price-drawer-reset-btn:hover{background: #e2e8f0;color: #0f172a;border-color: #94a3b8;}
html[data-theme="dark"] .price-drawer-reset-btn{background: #232c3d;border-color: #3b4861;color: #cbd5e1;}
html[data-theme="dark"] .price-drawer-reset-btn:hover{background: #2d384d;color: #ffffff;}
.price-drawer-collapse-btn{display: inline-flex;align-items: center;gap: 4px;font-size: 0.72rem;font-weight: 700;color: var(--text-sub, #475569);background: #ffffff;border: 1px solid #cbd5e1;padding: 4px 10px;border-radius: 9999px;cursor: pointer;transition: all 0.15s;user-select: none;}
.price-drawer-collapse-btn:hover{color: var(--text-main, #0f172a);background: #f1f5f9;border-color: #94a3b8;}
html[data-theme="dark"] .price-drawer-collapse-btn{background: #1c2433;border-color: #3b4861;color: #cbd5e1;}
html[data-theme="dark"] .price-drawer-collapse-btn:hover{background: #232c3d;color: #ffffff;border-color: #64748b;}
.price-presets-row{display: flex;align-items: center;gap: 8px;flex-wrap: wrap;padding-top: 8px;border-top: 1px dashed rgba(214, 203, 190, 0.5);}
html[data-theme="dark"] .price-presets-row{border-top-color: rgba(255, 255, 255, 0.08);}
.price-presets-label{font-size: 0.72rem;font-weight: 700;color: var(--text-muted, #94a3b8);}
.price-presets-chips{display: flex;align-items: center;gap: 6px;flex-wrap: wrap;}
.price-preset-btn{border: 1px solid #cbd5e1;background: #ffffff;color: #334155;font-size: 0.72rem;font-weight: 700;padding: 2px 9px;border-radius: 9999px;cursor: pointer;transition: all 0.15s;}
.price-preset-btn:hover{background: #f1f5f9;border-color: #94a3b8;color: #0f172a;}
.price-preset-btn.active{background: rgba(234, 88, 12, 0.12);color: #ea580c;border-color: #ea580c;font-weight: 800;}
html[data-theme="dark"] .price-preset-btn{background: #1c2433;border-color: #3b4861;color: #cbd5e1;}
html[data-theme="dark"] .price-preset-btn:hover{background: #2d384d;color: #ffffff;}
html[data-theme="dark"] .price-preset-btn.active{background: rgba(234, 88, 12, 0.2);color: #fb923c;border-color: #ea580c;}
.sort-control-row{border-top: 1px solid var(--border-color, #283347);padding-top: 10px;display: flex;align-items: center;gap: 6px;flex-wrap: wrap;}
.sort-btn{background: var(--bg-card, #1c2433);border: 1px solid var(--border-color, #313e54);color: var(--text-sub, #cbd5e1);padding: 5px 12px;border-radius: 9999px !important;font-size: 0.75rem;font-weight: 600;cursor: pointer;display: inline-flex;align-items: center;gap: 4px;transition: all 0.15s;white-space: nowrap;user-select: none;}
#hikabon-global-tooltip{position: fixed;z-index: 9999999;pointer-events: none;background: rgba(15, 23, 42, 0.96);color: #f8fafc;font-size: 12.5px;font-weight: 500;line-height: 1.5;padding: 8px 14px;border-radius: 8px;box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28), 0 2px 6px rgba(0, 0, 0, 0.15);border: 1px solid rgba(255, 255, 255, 0.14);backdrop-filter: blur(10px);-webkit-backdrop-filter: blur(10px);max-width: 320px;white-space: normal;word-break: break-word;opacity: 0;visibility: hidden;transform: translateY(4px);transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;}
#hikabon-global-tooltip.is-visible{opacity: 1;visibility: visible;transform: translateY(0);}
html[data-theme="light"] #hikabon-global-tooltip{background: rgba(30, 41, 59, 0.96);color: #ffffff;border-color: rgba(255, 255, 255, 0.18);}
.sort-btn:hover{border-color: var(--store-theme, #dc2626);color: var(--text-main, #ffffff);}
.sort-btn.active{background: var(--store-theme, #dc2626) !important;color: #ffffff !important;border-color: var(--store-theme, #dc2626) !important;font-weight: 700;box-shadow: 0 2px 8px var(--store-shadow, rgba(220, 38, 38, 0.3));}
.sort-btn.active.is-secondary{background: rgba(217, 119, 6, 0.12) !important;color: var(--store-theme, #f59e0b) !important;border: 1.5px solid var(--store-theme, #d97706) !important;font-weight: 700;box-shadow: 0 2px 6px var(--store-shadow, rgba(217, 119, 6, 0.2)) !important;}
@keyframes comboHintPulse{0%, 100%{border-color: var(--border-color, #313e54);box-shadow: 0 0 0 0 rgba(217, 119, 6, 0);}50%{border-color: var(--store-theme, #f59e0b);box-shadow: 0 0 0 2.5px rgba(217, 119, 6, 0.22);color: var(--store-theme, #fbbf24);}}
.sort-btn.can-combine{border: 1px dashed var(--store-theme, #f59e0b) !important;color: var(--text-main, #ffffff);animation: comboHintPulse 2.6s infinite ease-in-out;position: relative;}
.sort-btn.can-combine:hover{background: rgba(217, 119, 6, 0.15) !important;border-style: solid !important;border-color: var(--store-theme, #f59e0b) !important;color: var(--store-theme, #fbbf24) !important;animation: none;}
.combo-plus-hint{display: inline-flex;align-items: center;justify-content: center;font-size: 0.72rem;font-weight: 900;margin-right: 2px;color: var(--store-theme, #f59e0b);line-height: 1;}
.sort-arrows-icon{font-size: 0.68rem;opacity: 0.75;font-family: inherit;}
.sort-btn.active .sort-arrows-icon{opacity: 1;font-weight: 900;}
.books-grid{display: grid;grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));gap: 16px;align-items: start;}
.books-grid.covers-only{grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));gap: 14px;}
.book-card{background: var(--bg-card);border: 1px solid var(--border-color);border-radius: 14px;overflow: hidden;display: flex;flex-direction: column;transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.2s ease;position: relative;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);content-visibility: auto;contain-intrinsic-size: 0 218px;}
.book-card:hover{transform: translateY(-5px);box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);border-color: #b45309;}
html[data-theme="dark"] .book-card:hover{border-color: #38bdf8;box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);}
.card-top{display: flex;padding: 16px;gap: 14px;background: #faf8f5;border-bottom: 1px solid #e7e2d8;transition: background 0.2s;}
html[data-theme="dark"] .card-top{background: #18202d;border-bottom-color: rgba(255, 255, 255, 0.06);}
.book-cover-wrap{width: 82px;height: 118px;border-radius: 6px;overflow: hidden;flex-shrink: 0;position: relative;box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);background: #f1ede4;cursor: pointer;transition: transform 0.2s ease;}
.book-cover-wrap:hover{transform: scale(1.03);}
html[data-theme="dark"] .book-cover-wrap{background: #252e40;box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);}
.book-cover-img{width: 100%;height: 100%;object-fit: cover;display: block;}
.cover-ribbon{position: absolute;top: 0;left: 0;background: linear-gradient(135deg, #e11d48, #be123c);color: #fff;font-size: 0.66rem;font-weight: 900;padding: 2px 7px;border-bottom-right-radius: 6px;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);}
.card-meta{flex: 1;display: flex;flex-direction: column;justify-content: space-between;}
.badge-new{background: #f59e0b;color: #0f1218;font-size: 0.65rem;font-weight: 900;padding: 1px 5px;border-radius: 3px;}
.card-title{font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;font-size: 0.98rem;font-weight: 700;line-height: 1.4;color: #1e293b;margin-bottom: 5px;cursor: pointer;transition: color 0.15s;}
.card-title:hover{color: #b45309;}
html[data-theme="dark"] .card-title{color: #f8fafc;}
html[data-theme="dark"] .card-title:hover{color: #38bdf8;}
.card-author-link{font-size: 0.78rem;color: #854d0e;cursor: pointer;display: inline-block;transition: color 0.15s;}
.card-author-link:hover{text-decoration: underline;color: #b45309;}
html[data-theme="dark"] .card-author-link{color: #fde68a;}
.card-subline{font-size: 0.74rem;color: #64748b;display: flex;gap: 8px;margin-top: 5px;}
html[data-theme="dark"] .card-subline{color: #94a3b8;}
.rating-stars{color: #d97706;font-weight: 700;}
.badge-per-volume{background: linear-gradient(135deg, #059669, #10b981);color: #fff;font-size: 0.72rem;font-weight: 900;padding: 2px 7px;border-radius: 4px;display: inline-flex;align-items: center;gap: 3px;box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);}
.badge-high-price{background: linear-gradient(135deg, #6366f1, #4f46e5);color: #fff;font-size: 0.68rem;font-weight: 700;padding: 1px 6px;border-radius: 3px;}
.badge-under100{background: #e11d48;color: #fff;font-size: 0.68rem;font-weight: 900;padding: 1px 5px;border-radius: 3px;animation: pulse 1.5s infinite;}
@keyframes pulse{0%{opacity: 1;}50%{opacity: 0.7;}100%{opacity: 1;}}
.paper-comparison-badge{background: #fdf6ec;border: 1px solid #fed7aa;color: #9a3412;font-size: 0.72rem;padding: 5px 12px;border-radius: 6px;margin: 10px 16px 0;display: flex;justify-content: space-between;align-items: center;}
html[data-theme="dark"] .paper-comparison-badge{background: #2a1b12;border-color: #78350f;color: #fde68a;}
.price-timestamp-bar{font-size: 0.68rem;color: #94a3b8;padding: 2px 16px;text-align: right;}
.price-calc-box{background: #fbf9f6;padding: 12px 16px;border-bottom: 1px solid #e7e2d8;display: flex;flex-direction: column;gap: 5px;transition: background 0.2s;}
html[data-theme="dark"] .price-calc-box{background: #131924;border-bottom-color: var(--border-color);}
.calc-row1{display: flex;justify-content: space-between;font-size: 0.78rem;color: #64748b;}
html[data-theme="dark"] .calc-row1{color: #94a3b8;}
.calc-row2{display: flex;justify-content: space-between;align-items: baseline;}
.real-price-val{font-size: 1.3rem;font-weight: 900;color: #059669;letter-spacing: -0.02em;}
html[data-theme="dark"] .real-price-val{color: #34d399;}
.badge-toku-circle{background: #e11d48;color: #fff;font-size: 0.66rem;font-weight: 900;width: 20px;height: 20px;border-radius: 50%;display: inline-flex;align-items: center;justify-content: center;margin-left: 6px;box-shadow: 0 1px 3px rgba(225, 29, 72, 0.3);}
.card-store-table{padding: 12px 16px;display: flex;flex-direction: column;gap: 6px;font-size: 0.79rem;background: #f7f4ee;transition: background 0.2s;}
html[data-theme="dark"] .card-store-table{background: #161c28;}
.store-row{display: flex;justify-content: space-between;align-items: center;padding: 6px 10px;border-radius: 6px;background: #ffffff;border: 1px solid #e7e2d8;transition: all 0.15s ease;cursor: pointer;}
.store-row:hover{border-color: #cbd5e1;transform: translateX(2px);}
html[data-theme="dark"] .store-row{background: #111622;border-color: transparent;}
html[data-theme="dark"] .store-row:hover{background: #18202d;}
.store-row.best{border-color: #a7f3d0;background: #ecfdf5;box-shadow: 0 1px 4px rgba(16, 185, 129, 0.1);}
html[data-theme="dark"] .store-row.best{border-color: rgba(52, 211, 153, 0.4);background: rgba(16, 185, 129, 0.12);}
.btn-rental{background: #fef3c7;border: 1px solid #fde68a;color: #92400e;padding: 2px 8px;border-radius: 4px;font-size: 0.7rem;font-weight: 700;text-decoration: none;display: inline-flex;align-items: center;gap: 4px;}
.btn-rental:hover{background: #fde68a;color: #78350f;text-decoration: none;}
.card-actions-bar{padding: 12px 16px;display: flex;align-items: center;justify-content: space-between;gap: 8px;background: #faf8f5;border-top: 1px solid #e7e2d8;margin-top: auto;}
html[data-theme="dark"] .card-actions-bar{background: #131822;border-top-color: var(--border-color);}
.btn-card-small{background: #f1ede4;border: 1px solid #d6cebe;color: #4b5563;padding: 6px 10px;border-radius: 6px;font-size: 0.74rem;font-weight: 600;cursor: pointer;transition: all 0.15s ease;}
.btn-card-small:hover{background: #e5ded0;color: #111827;}
html[data-theme="dark"] .btn-card-small{background: #1f2838;border-color: #334259;color: var(--text-sub);}
html[data-theme="dark"] .btn-card-small:hover{background: #2c394f;color: #fff;}
.btn-buy-link{background: linear-gradient(135deg, #059669, #047857);color: #fff;font-size: 0.76rem;font-weight: 700;padding: 6px 14px;border-radius: 20px;text-decoration: none;display: inline-flex;align-items: center;gap: 5px;box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);transition: all 0.15s ease;}
.btn-buy-link:hover{transform: translateY(-1px);box-shadow: 0 4px 10px rgba(5, 150, 105, 0.35);}
.card-top-compact{display: flex;padding: 12px 14px 10px;gap: 12px;align-items: flex-start;background: #faf8f5;border-bottom: 1px solid #e7e2d8;transition: background 0.2s;}
html[data-theme="dark"] .card-top-compact{background: #18202d;border-bottom-color: rgba(255, 255, 255, 0.06);}
.book-cover-wrap-compact{width: 86px;height: 124px;border-radius: 4px;overflow: hidden;flex-shrink: 0;position: relative;box-shadow: 1px 3px 10px rgba(0, 0, 0, 0.14);background: #faf6ed;cursor: pointer;transition: transform 0.15s ease;}
.book-cover-wrap-compact:hover{transform: scale(1.03);}
html[data-theme="dark"] .book-cover-wrap-compact{background: #1e293b;box-shadow: 1px 4px 12px rgba(0, 0, 0, 0.4);}
.cover-discount-pill{position: absolute;top: 3px;left: 3px;background: #dc2626;color: #ffffff;font-size: 0.62rem;font-weight: 800;padding: 1px 5px;border-radius: 3px;box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);}
.card-meta-compact{flex: 1;min-width: 0;display: flex;flex-direction: column;gap: 3px;}
.card-badge-row-compact{display: flex;align-items: center;gap: 4px;flex-wrap: wrap;margin-bottom: 2px;}
.tag-pub-compact{font-size: 0.64rem;font-weight: 700;background: #ecfdf5;color: #065f46;border: 1px solid #a7f3d0;padding: 1px 5px;border-radius: 3px;}
html[data-theme="dark"] .tag-pub-compact{background: rgba(16, 185, 129, 0.15);border-color: rgba(52, 211, 153, 0.4);color: #6ee7b7;}
.tag-unli-compact{font-size: 0.64rem;font-weight: 700;background: #fef3c7;color: #92400e;border: 1px solid #fde68a;padding: 1px 5px;border-radius: 3px;}
html[data-theme="dark"] .tag-unli-compact{background: rgba(245, 158, 11, 0.15);border-color: rgba(245, 158, 11, 0.4);color: #fbbf24;}
.tag-free-compact{font-size: 0.64rem;font-weight: 800;background: #d1fae5;color: #065f46;border: 1px solid #6ee7b7;padding: 1px 5px;border-radius: 3px;}
html[data-theme="dark"] .tag-free-compact{background: rgba(16, 185, 129, 0.2);border-color: #34d399;color: #a7f3d0;}
.tag-award-compact{font-size: 0.64rem;font-weight: 700;background: #fdf4ff;color: #86198f;border: 1px solid #f5d0fe;padding: 1px 5px;border-radius: 3px;}
html[data-theme="dark"] .tag-award-compact{background: rgba(217, 70, 239, 0.15);border-color: rgba(217, 70, 239, 0.4);color: #f0abfc;}
.tag-low-compact{font-size: 0.64rem;font-weight: 800;background: #fee2e2;color: #991b1b;padding: 1px 5px;border-radius: 3px;}
html[data-theme="dark"] .tag-low-compact{background: rgba(239, 68, 68, 0.2);color: #fca5a5;}
.tag-near-compact{font-size: 0.64rem;font-weight: 800;background: #ffedd5;color: #9a3412;padding: 1px 5px;border-radius: 3px;}
html[data-theme="dark"] .tag-near-compact{background: rgba(249, 115, 22, 0.2);color: #fdba74;}
.card-title-compact{font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;font-size: 0.94rem;font-weight: 700;line-height: 1.35;color: #1e293b;margin: 0;cursor: pointer;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;transition: color 0.15s;}
.card-title-compact:hover{color: #b45309;}
html[data-theme="dark"] .card-title-compact{color: #f8fafc;}
html[data-theme="dark"] .card-title-compact:hover{color: #38bdf8;}
.card-author-compact{font-size: 0.72rem;color: #64748b;display: flex;align-items: center;gap: 5px;margin: 1px 0 4px;}
html[data-theme="dark"] .card-author-compact{color: #94a3b8;}
.compact-dot{color: #cbd5e1;font-size: 0.7rem;}
html[data-theme="dark"] .compact-dot{color: #475569;}
.card-top-kinseri{display: flex;padding: 10px 14px 8px;gap: 12px;background: #ffffff;transition: background 0.2s;}
html[data-theme="dark"] .card-top-kinseri{background: #151c27;}
.kinseri-content-stack{flex: 1;min-width: 0;display: flex;flex-direction: column;gap: 3px;}
.kinseri-title-row{display: flex;align-items: flex-start;gap: 6px;line-height: 1.35;}
.badge-status-purple{flex-shrink: 0;background: #7c3aed;color: #ffffff;font-size: 0.62rem;font-weight: 800;padding: 1px 6px;border-radius: 3px;letter-spacing: -0.01em;}
.badge-status-green{flex-shrink: 0;background: #059669;color: #ffffff;font-size: 0.62rem;font-weight: 800;padding: 1px 6px;border-radius: 3px;}
.badge-status-orange{flex-shrink: 0;background: #d97706;color: #ffffff;font-size: 0.62rem;font-weight: 800;padding: 1px 6px;border-radius: 3px;}
.badge-status-red{flex-shrink: 0;background: #dc2626;color: #ffffff;font-size: 0.62rem;font-weight: 800;padding: 1px 6px;border-radius: 3px;}
.kinseri-title{font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;font-size: 0.92rem;font-weight: 700;color: #1e293b;margin: 0;cursor: pointer;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;transition: color 0.15s;}
.kinseri-title:hover{color: #b45309;}
html[data-theme="dark"] .kinseri-title{color: #f1f5f9;}
html[data-theme="dark"] .kinseri-title:hover{color: #38bdf8;}
.kinseri-meta-pipe{font-size: 0.7rem;color: #64748b;display: flex;align-items: center;gap: 5px;flex-wrap: wrap;line-height: 1.25;}
html[data-theme="dark"] .kinseri-meta-pipe{color: #94a3b8;}
.kinseri-pipe{color: #cbd5e1;font-size: 0.65rem;}
html[data-theme="dark"] .kinseri-pipe{color: #475569;}
.kinseri-author-link{cursor: pointer;color: #475569;font-weight: 500;transition: color 0.15s;}
.kinseri-author-link:hover{color: #b45309;text-decoration: underline;}
html[data-theme="dark"] .kinseri-author-link{color: #cbd5e1;}
html[data-theme="dark"] .kinseri-author-link:hover{color: #38bdf8;}
.kinseri-series-link{cursor: pointer;color: #b45309;font-weight: 600;transition: color 0.15s;}
.kinseri-series-link:hover{text-decoration: underline;}
html[data-theme="dark"] .kinseri-series-link{color: #fbbf24;}
.kinseri-rating-box{display: inline-flex;align-items: center;gap: 2px;color: #b45309;font-weight: 700;}
html[data-theme="dark"] .kinseri-rating-box{color: #f59e0b;}
.kinseri-rating-store{font-size: 0.65rem;font-weight: 600;color: #64748b;margin-right: 2px;}
html[data-theme="dark"] .kinseri-rating-store{color: #94a3b8;}
.kinseri-info-icon{color: #94a3b8;font-size: 0.68rem;cursor: help;margin-left: 1px;}
.kinseri-flat-meta-row{display: flex;align-items: center;gap: 5px;flex-wrap: wrap;font-size: 0.72rem;line-height: 1.4;margin: 2px 0 3px;color: #64748b;}
html[data-theme="dark"] .kinseri-flat-meta-row{color: #94a3b8;}
.flat-meta-pub{font-weight: 700;color: #334155;}
html[data-theme="dark"] .flat-meta-pub{color: #cbd5e1;}
.flat-meta-genre{font-weight: 500;color: #64748b;}
html[data-theme="dark"] .flat-meta-genre{color: #94a3b8;}
.flat-meta-dot{color: #cbd5e1;font-size: 0.65rem;user-select: none;}
html[data-theme="dark"] .flat-meta-dot{color: #475569;}
.flat-meta-comm{color: #2563eb;font-weight: 600;}
html[data-theme="dark"] .flat-meta-comm{color: #60a5fa;}
.flat-meta-unli{color: #d97706;font-weight: 700;display: inline-flex;align-items: center;gap: 2px;}
html[data-theme="dark"] .flat-meta-unli{color: #fbbf24;}
.sale-book-synopsis-preview{margin: 4px 0 5px;padding: 3px 8px;font-size: 0.70rem;line-height: 1.4;color: #475569;background: rgba(148, 163, 184, 0.08);border: 1px solid rgba(148, 163, 184, 0.28);border-radius: 6px;display: inline-flex;align-items: center;gap: 4px;width: fit-content;max-width: 100%;cursor: pointer;user-select: none;transition: background 0.15s ease, border-color 0.15s ease;}
.sale-book-synopsis-preview:hover{background: rgba(191, 0, 0, 0.06);border-color: rgba(191, 0, 0, 0.45);}
html[data-theme="dark"] .sale-book-synopsis-preview{color: #cbd5e1;background: rgba(30, 41, 59, 0.65);border-color: rgba(100, 116, 139, 0.45);}
html[data-theme="dark"] .sale-book-synopsis-preview:hover{background: rgba(248, 113, 113, 0.12);border-color: #f87171;}
.sale-book-synopsis-preview .synopsis-preview-body{display: none !important;}
.sale-book-synopsis-preview.is-expanded .synopsis-preview-body{display: block !important;margin-top: 5px;padding-top: 5px;border-top: 1px dashed rgba(148, 163, 184, 0.35);font-size: 0.72rem;line-height: 1.5;white-space: normal;}
.synopsis-preview-badge{display: inline-flex;align-items: center;gap: 3px;font-size: 0.65rem;font-weight: 800;color: #bf0000;padding: 0;border-radius: 3px;margin-right: 2px;}
html[data-theme="dark"] .synopsis-preview-badge{color: #fca5a5;}
.books-grid.covers-only .sale-book-synopsis-preview{display: none !important;}
.flat-meta-unli .unli-u{color: #64748b;font-weight: 500;}
html[data-theme="dark"] .flat-meta-unli .unli-u{color: #94a3b8;}
.flat-meta-award{color: #b45309;font-weight: 600;}
html[data-theme="dark"] .flat-meta-award{color: #f59e0b;}
.flat-meta-audi{color: #0284c7;font-weight: 600;display: inline-flex;align-items: center;gap: 2px;}
html[data-theme="dark"] .flat-meta-audi{color: #38bdf8;}
.flat-meta-indie{color: #8b5cf6;font-weight: 600;}
html[data-theme="dark"] .flat-meta-indie{color: #a78bfa;}
.kinseri-pricing-row{display: flex;align-items: baseline;gap: 6px;flex-wrap: wrap;font-size: 0.74rem;line-height: 1.3;}
.kinseri-price-orig{text-decoration: line-through;color: #dc2626;font-size: 0.72rem;font-weight: 500;}
html[data-theme="dark"] .kinseri-price-orig{color: #f87171;}
.kinseri-price-sale{font-size: 1.05rem;font-weight: 900;color: #dc2626;letter-spacing: -0.01em;}
html[data-theme="dark"] .kinseri-price-sale{color: #f87171;}
.kinseri-price-disc{font-size: 0.72rem;font-weight: 800;color: #dc2626;}
html[data-theme="dark"] .kinseri-price-disc{color: #f87171;}
.kinseri-price-pt{font-size: 0.72rem;font-weight: 700;color: #b91c1c;}
html[data-theme="dark"] .kinseri-price-pt{color: #f87171;}
.kinseri-paper-diff{font-size: 0.72rem;font-weight: 700;color: #059669;margin-left: 2px;}
html[data-theme="dark"] .kinseri-paper-diff{color: #34d399;}
.kinseri-realprice-row{display: flex;align-items: center;gap: 6px;flex-wrap: wrap;font-size: 0.72rem;line-height: 1.3;margin-top: 1px;}
.kinseri-real-label{font-weight: 800;color: #b45309;font-size: 0.74rem;}
html[data-theme="dark"] .kinseri-real-label{color: #fbbf24;}
.kinseri-real-pill{display: inline-flex;align-items: baseline;gap: 4px;background: rgba(245, 158, 11, 0.1);border: 1.5px solid rgba(217, 119, 6, 0.35);border-radius: 6px;padding: 2px 9px;box-shadow: 0 1px 4px rgba(217, 119, 6, 0.08);transition: all 0.15s ease;}
html[data-theme="dark"] .kinseri-real-pill{background: rgba(245, 158, 11, 0.18);border: 1.5px solid rgba(251, 191, 36, 0.35);box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);}
.kinseri-real-num{font-size: 1.12rem;font-weight: 900;color: #c2410c;letter-spacing: -0.02em;line-height: 1.15;}
html[data-theme="dark"] .kinseri-real-num{color: #fbbf24;}
.kinseri-real-disc{font-size: 0.80rem;font-weight: 800;color: #dc2626;}
html[data-theme="dark"] .kinseri-real-disc{color: #f87171;}
.badge-kinseri-toku{display: inline-flex;align-items: center;justify-content: center;width: 17px;height: 17px;border-radius: 50%;background: #dc2626;color: #ffffff;font-size: 0.62rem;font-weight: 900;line-height: 1;box-shadow: 0 1px 3px rgba(220, 38, 38, 0.3);}
.kinseri-timestamp{display: none !important;}
.price-hero-compact{background: #ffffff;border-radius: 6px;padding: 5px 8px;display: flex;flex-direction: column;gap: 1px;border: 1px solid #e7e2d8;}
html[data-theme="dark"] .price-hero-compact{background: #131924;border-color: #283549;}
.price-hero-main{display: flex;align-items: baseline;gap: 5px;flex-wrap: wrap;}
.price-hero-label{font-size: 0.7rem;font-weight: 600;color: #64748b;}
html[data-theme="dark"] .price-hero-label{color: #94a3b8;}
.price-hero-num{font-size: 1.22rem;font-weight: 900;color: #059669;letter-spacing: -0.02em;}
html[data-theme="dark"] .price-hero-num{color: #34d399;}
.price-hero-disc{font-size: 0.65rem;font-weight: 800;background: #dc2626;color: #ffffff;padding: 1px 5px;border-radius: 3px;}
.price-hero-pt{font-size: 0.68rem;font-weight: 700;color: #f87171;margin-left: auto;}
.price-hero-sub{font-size: 0.67rem;color: #94a3b8;display: flex;align-items: center;gap: 4px;flex-wrap: wrap;}
html[data-theme="dark"] .price-hero-sub{color: #64748b;}
.store-grid-compact{display: grid;grid-template-columns: repeat(2, 1fr);gap: 4px;padding: 8px 14px;background: #f7f4ee;}
html[data-theme="dark"] .store-grid-compact{background: #161c28;}
.store-chip-compact{display: flex;flex-direction: column;justify-content: center;padding: 6px 9px;border-radius: 6px;background: #ffffff;border: 1px solid #e2ddd3;cursor: pointer;transition: all 0.15s ease;min-height: 48px;box-sizing: border-box;text-align: left;}
.store-chip-compact:hover{border-color: #cbd5e1;transform: translateY(-1px);box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);}
html[data-theme="dark"] .store-chip-compact{background: #111622;border-color: #242f42;}
html[data-theme="dark"] .store-chip-compact:hover{background: #18202d;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);}
.store-chip-dot{display: inline-block;width: 7px;height: 7px;border-radius: 50%;margin-right: 4px;flex-shrink: 0;}
.store-chip-dot.dot-kindle{background: #ff9900;box-shadow: 0 0 3px rgba(255, 153, 0, 0.4);}
.store-chip-dot.dot-kobo{background: #dc2626;box-shadow: 0 0 3px rgba(220, 38, 38, 0.4);}
.store-chip-dot.dot-ebook{background: #e11d48;box-shadow: 0 0 3px rgba(225, 29, 72, 0.4);}
.store-chip-dot.dot-dmm{background: #10b981;box-shadow: 0 0 3px rgba(16, 185, 129, 0.4);}
.store-chip-dot.dot-bookwalker{background: #1d4ed8;box-shadow: 0 0 3px rgba(29, 78, 216, 0.4);}
.store-chip-compact.store-kindle:hover{border-color: rgba(255, 153, 0, 0.55);}
.store-chip-compact.store-kobo:hover{border-color: rgba(220, 38, 38, 0.55);}
.store-chip-compact.store-ebook:hover{border-color: rgba(225, 29, 72, 0.55);}
.store-chip-compact.store-dmm:hover{border-color: rgba(16, 185, 129, 0.55);}
.store-chip-compact.store-bookwalker:hover{border-color: rgba(29, 78, 216, 0.55);}
html[data-theme="dark"] .store-chip-compact.store-kindle:hover{border-color: rgba(255, 153, 0, 0.65);}
html[data-theme="dark"] .store-chip-compact.store-kobo:hover{border-color: rgba(220, 38, 38, 0.65);}
html[data-theme="dark"] .store-chip-compact.store-ebook:hover{border-color: rgba(225, 29, 72, 0.65);}
html[data-theme="dark"] .store-chip-compact.store-dmm:hover{border-color: rgba(16, 185, 129, 0.65);}
html[data-theme="dark"] .store-chip-compact.store-bookwalker:hover{border-color: rgba(59, 130, 246, 0.65);}
.store-chip-compact.is-best{background: #ecfdf5;border-color: #a7f3d0;box-shadow: 0 1px 4px rgba(16, 185, 129, 0.12);}
html[data-theme="dark"] .store-chip-compact.is-best{background: rgba(16, 185, 129, 0.12);border-color: rgba(52, 211, 153, 0.35);}
.store-chip-header{display: flex;align-items: center;justify-content: space-between;gap: 4px;width: 100%;margin-bottom: 2px;line-height: 1.2;}
.store-chip-name{font-size: 0.72rem;font-weight: 700;color: #475569;display: inline-flex;align-items: center;gap: 2px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
html[data-theme="dark"] .store-chip-name{color: #94a3b8;}
.store-chip-compact.is-best .store-chip-name{color: #065f46;font-weight: 700;}
html[data-theme="dark"] .store-chip-compact.is-best .store-chip-name{color: #34d399;}
.store-chip-best-tag{font-size: 0.60rem;font-weight: 800;color: #059669;background: rgba(16, 185, 129, 0.15);border-radius: 4px;padding: 1px 4px;line-height: 1.2;white-space: nowrap;flex-shrink: 0;}
html[data-theme="dark"] .store-chip-best-tag{color: #34d399;background: rgba(16, 185, 129, 0.25);}
.store-chip-pricing{display: flex;align-items: baseline;justify-content: flex-start;gap: 5px;width: 100%;white-space: nowrap;line-height: 1.2;}
.store-chip-price{font-size: 0.88rem;font-weight: 800;color: #1e293b;letter-spacing: -0.01em;}
html[data-theme="dark"] .store-chip-price{color: #f1f5f9;}
.store-chip-compact.is-best .store-chip-price{color: #059669;}
html[data-theme="dark"] .store-chip-compact.is-best .store-chip-price{color: #34d399;}
.store-chip-pt{font-size: 0.64rem;color: #64748b;white-space: nowrap;}
html[data-theme="dark"] .store-chip-pt{color: #94a3b8;}
.store-chip-pt-badge{font-size: 0.62rem;font-weight: 700;color: #c2410c;background: rgba(234, 88, 12, 0.1);border: 1px solid rgba(234, 88, 12, 0.25);border-radius: 4px;padding: 0 4px;line-height: 1.2;white-space: nowrap;}
html[data-theme="dark"] .store-chip-pt-badge{color: #fb923c;background: rgba(234, 88, 12, 0.2);border-color: rgba(251, 146, 60, 0.35);}
.store-chip-header-right{display: inline-flex;align-items: center;gap: 3px;flex-shrink: 0;}
.chip-sub-badge{display: inline-flex;align-items: center;gap: 2px;font-size: 0.58rem;font-weight: 700;padding: 1px 4px;border-radius: 4px;line-height: 1.2;white-space: nowrap;transition: all 0.15s ease;}
.chip-sub-badge.unli{color: #b45309;background: rgba(245, 158, 11, 0.12);border: 1px solid rgba(245, 158, 11, 0.28);}
html[data-theme="dark"] .chip-sub-badge.unli{color: #fbbf24;background: rgba(245, 158, 11, 0.2);border-color: rgba(251, 191, 36, 0.35);}
.chip-sub-badge.audi{color: #0284c7;background: rgba(14, 165, 233, 0.12);border: 1px solid rgba(14, 165, 233, 0.28);}
html[data-theme="dark"] .chip-sub-badge.audi{color: #38bdf8;background: rgba(14, 165, 233, 0.2);border-color: rgba(56, 189, 248, 0.35);}
.store-comp-legend{display: flex;align-items: center;flex-wrap: wrap;gap: 8px;margin-top: 6px;padding-top: 6px;border-top: 1px dashed #e2ddd3;font-size: 0.66rem;color: #64748b;line-height: 1.3;}
html[data-theme="dark"] .store-comp-legend{border-top-color: rgba(255, 255, 255, 0.08);color: #94a3b8;}
.comp-legend-lead{font-weight: 700;color: #78716c;font-size: 0.63rem;}
html[data-theme="dark"] .comp-legend-lead{color: #a8a29e;}
.comp-legend-item{display: inline-flex;align-items: center;gap: 3px;}
.legend-badge{display: inline-flex;align-items: center;justify-content: center;font-size: 0.64rem;padding: 0 3px;border-radius: 3px;line-height: 1.1;}
.legend-badge.unli{background: rgba(245, 158, 11, 0.15);border: 1px solid rgba(245, 158, 11, 0.3);}
.legend-badge.audi{background: rgba(14, 165, 233, 0.15);border: 1px solid rgba(14, 165, 233, 0.3);}
.comp-legend-sep{color: #cbd5e1;font-size: 0.60rem;}
html[data-theme="dark"] .comp-legend-sep{color: #475569;}
.store-compare-bar{padding: 4px 14px 6px;background: #faf8f5;border-bottom: 1px solid #f1ece4;}
html[data-theme="dark"] .store-compare-bar{background: #18202d;border-bottom-color: rgba(255, 255, 255, 0.04);}
.btn-store-compare-toggle{width: 100%;display: flex;align-items: center;justify-content: space-between;background: #f3efe6;border: 1px solid #e2dbcd;border-radius: 6px;padding: 4px 10px;font-size: 0.72rem;font-weight: 600;color: #64748b;cursor: pointer;transition: all 0.15s ease;}
.btn-store-compare-toggle:hover{background: #ebe4d5;color: #1e293b;border-color: #cbd5e1;}
html[data-theme="dark"] .btn-store-compare-toggle{background: #1e2736;border-color: #2e3c52;color: #94a3b8;}
html[data-theme="dark"] .btn-store-compare-toggle:hover{background: #283549;color: #f8fafc;}
.compare-toggle-left{display: inline-flex;align-items: center;gap: 5px;font-weight: 600;}
.compare-toggle-badge{font-size: 0.65rem;color: #94a3b8;background: rgba(0, 0, 0, 0.05);padding: 1px 6px;border-radius: 10px;}
html[data-theme="dark"] .compare-toggle-badge{background: rgba(255, 255, 255, 0.06);color: #94a3b8;}
.compare-toggle-badge.badge-cheaper-highlight{background: #fee2e2;color: #dc2626;font-weight: 800;}
html[data-theme="dark"] .compare-toggle-badge.badge-cheaper-highlight{background: rgba(220, 38, 38, 0.2);color: #f87171;}
.compare-chevron{transition: transform 0.2s ease;}
.btn-store-compare-toggle.is-open .compare-chevron{transform: rotate(180deg);}
.store-comparison-drawer{padding: 8px 14px;background: #f6f2ea;border-bottom: 1px solid #e7e0d3;animation: fadeInDrawer 0.18s ease-out;}
html[data-theme="dark"] .store-comparison-drawer{background: #141b26;border-bottom-color: rgba(255, 255, 255, 0.06);}
@keyframes fadeInDrawer{from{opacity: 0;transform: translateY(-4px);}to{opacity: 1;transform: translateY(0);}}
.store-grid-3col{display: grid;grid-template-columns: repeat(3, 1fr);gap: 6px;}
.author-works-drawer{background: #faf8f5;border-top: 1px dashed #e2dcd0;border-bottom: 1px solid #e7e0d3;padding: 9px 14px 11px;font-size: 0.74rem;animation: fadeInDrawer 0.18s ease-out;}
html[data-theme="dark"] .author-works-drawer{background: #111722;border-top-color: #27354a;border-bottom-color: rgba(255, 255, 255, 0.06);}
.author-drawer-header{display: flex;align-items: center;justify-content: space-between;gap: 8px;margin-bottom: 8px;flex-wrap: wrap;}
.author-drawer-title{display: inline-flex;align-items: center;gap: 5px;color: var(--text-main);font-size: 0.74rem;}
.author-drawer-title strong{color: #991b1b;}
html[data-theme="dark"] .author-drawer-title strong{color: #fca5a5;}
.btn-drawer-author-filter{background: #ffffff;border: 1px solid #d4c8b8;border-radius: 999px;padding: 2px 9px;font-size: 0.67rem;font-weight: 700;color: #475569;cursor: pointer;transition: all 0.15s ease;display: inline-flex;align-items: center;gap: 3px;}
.btn-drawer-author-filter:hover{background: #dc2626;border-color: #dc2626;color: #ffffff;}
html[data-theme="dark"] .btn-drawer-author-filter{background: #1e293b;border-color: #334155;color: #cbd5e1;}
html[data-theme="dark"] .btn-drawer-author-filter:hover{background: #ef4444;border-color: #ef4444;color: #ffffff;}
.author-modal-tabs-row{display: flex;align-items: center;gap: 6px;flex-wrap: wrap;margin-bottom: 12px;padding: 6px 8px;background: rgba(0, 0, 0, 0.03);border-radius: 10px;}
html[data-theme="dark"] .author-modal-tabs-row{background: rgba(255, 255, 255, 0.04);}
.author-tab-pill{display: inline-flex;align-items: center;gap: 4px;padding: 5px 12px;border-radius: 999px;font-size: 0.76rem;font-weight: 700;cursor: pointer;border: 1px solid var(--border-color, #d4c8b8);background: var(--bg-card, #ffffff);color: var(--text-sub, #475569);transition: all 0.16s ease;}
.author-tab-pill:hover{border-color: #ea580c;color: #ea580c;background: rgba(234, 88, 12, 0.05);}
.author-tab-pill.is-active{background: #ea580c;border-color: #ea580c;color: #ffffff;box-shadow: 0 2px 6px rgba(234, 88, 12, 0.25);}
html[data-theme="dark"] .author-tab-pill{background: #1e293b;border-color: #334155;color: #94a3b8;}
html[data-theme="dark"] .author-tab-pill:hover{border-color: #f97316;color: #f97316;background: rgba(249, 115, 22, 0.1);}
html[data-theme="dark"] .author-tab-pill.is-active{background: #ea580c;border-color: #ea580c;color: #ffffff;}
#modal-author-works{z-index: 1050;}
.author-separator{opacity: 0.45;margin: 0 3px;font-weight: 400;}
.author-drawer-grid{display: grid;grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));gap: 7px;}
.author-work-item{display: flex;gap: 6px;align-items: center;background: #ffffff;border: 1px solid #e7e2d8;border-radius: 6px;padding: 4px 6px;cursor: pointer;transition: all 0.15s ease;}
.author-work-item:hover{border-color: #dc2626;transform: translateY(-1px);box-shadow: 0 2px 6px rgba(0,0,0,0.06);}
html[data-theme="dark"] .author-work-item{background: #162032;border-color: #2b3952;}
html[data-theme="dark"] .author-work-item:hover{border-color: #ef4444;}
.author-work-cover{width: 28px;height: 40px;object-fit: cover;border-radius: 3px;flex-shrink: 0;}
.author-work-info{flex: 1;min-width: 0;}
.author-work-title{font-size: 0.67rem;font-weight: 600;color: var(--text-main);white-space: nowrap;overflow: hidden;text-overflow: ellipsis;line-height: 1.25;}
.author-work-price{font-size: 0.7rem;font-weight: 800;color: #dc2626;margin-top: 1px;}
html[data-theme="dark"] .author-work-price{color: #f87171;}
.author-drawer-empty{display: flex;align-items: center;justify-content: space-between;gap: 8px;padding: 3px 2px;color: #64748b;font-size: 0.72rem;flex-wrap: wrap;}
html[data-theme="dark"] .author-drawer-empty{color: #94a3b8;}
.btn-drawer-author-search{background: #ffffff;border: 1px dashed #cbd5e1;border-radius: 4px;padding: 3px 8px;font-size: 0.68rem;font-weight: 600;color: #2563eb;cursor: pointer;transition: all 0.15s ease;}
.btn-drawer-author-search:hover{border-color: #2563eb;background: rgba(37, 99, 235, 0.05);}
html[data-theme="dark"] .btn-drawer-author-search{background: #162032;border-color: #475569;color: #60a5fa;}
html[data-theme="dark"] .btn-drawer-author-search:hover{border-color: #60a5fa;background: rgba(96, 165, 250, 0.1);}
.related-works-gallery{margin-top: 10px;padding-top: 10px;border-top: 1px dashed #e2dcd0;}
html[data-theme="dark"] .related-works-gallery{border-top-color: #27354a;}
.related-works-title{font-size: 0.74rem;font-weight: 700;color: var(--text-sub, #64748b);margin-bottom: 8px;display: flex;align-items: center;gap: 5px;}
.related-works-track{display: flex;gap: 12px;overflow-x: auto;padding: 4px 4px 10px 4px;scrollbar-width: none;-webkit-overflow-scrolling: touch;scroll-snap-type: x proximity;}
.related-works-track::-webkit-scrollbar{display: none;}
.related-book-card{flex: 0 0 122px;width: 122px;display: flex;flex-direction: column;background: #ffffff;border: 1px solid rgba(226, 232, 240, 0.85);border-radius: 10px;padding: 8px 6px;text-decoration: none;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.2s ease, border-color 0.2s ease;scroll-snap-align: start;position: relative;cursor: pointer;}
html[data-theme="dark"] .related-book-card{background: #1b212d;border-color: rgba(255, 255, 255, 0.08);box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);}
.related-book-card:hover{transform: translateY(-3px);box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(234, 88, 12, 0.08);border-color: rgba(234, 88, 12, 0.4);text-decoration: none;}
html[data-theme="dark"] .related-book-card:hover{box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);border-color: rgba(249, 115, 22, 0.55);}
.related-card-cover-wrap{width: 100%;height: 130px;border-radius: 3px 6px 6px 3px;overflow: hidden;position: relative;background: #f1f5f9;box-shadow: -2px 1px 4px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.1);margin-bottom: 7px;flex-shrink: 0;}
html[data-theme="dark"] .related-card-cover-wrap{background: #242c3d;box-shadow: -2px 1px 4px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.35);}
.related-card-cover-wrap::before{content: "";position: absolute;left: 0;top: 0;bottom: 0;width: 4px;background: linear-gradient(to right, rgba(0, 0, 0, 0.2) 0%, rgba(255, 255, 255, 0.3) 45%, transparent 100%);z-index: 2;pointer-events: none;}
.related-card-cover-wrap img{width: 100%;height: 100%;object-fit: cover;display: block;transition: transform 0.25s ease;}
.related-book-card:hover .related-card-cover-wrap img{transform: scale(1.04);}
.related-card-title{font-size: 0.68rem;font-weight: 700;color: var(--text-main);white-space: nowrap;overflow: hidden;text-overflow: ellipsis;line-height: 1.3;margin-bottom: 4px;}
.related-card-price-row{display: flex;align-items: baseline;justify-content: flex-start;gap: 2px;white-space: nowrap;line-height: 1.2;}
.related-card-realprice{font-size: 0.84rem;font-weight: 900;color: #ea580c;font-family: 'Montserrat', sans-serif;letter-spacing: -0.01em;}
html[data-theme="dark"] .related-card-realprice{color: #f97316;}
.related-card-point{font-size: 0.64rem;font-weight: 700;color: #059669;margin-top: 2px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
html[data-theme="dark"] .related-card-point{color: #34d399;}
.related-card-actions-cluster{display: flex;align-items: center;justify-content: space-between;gap: 3px;margin-top: 6px;padding-top: 6px;border-top: 1px dashed rgba(226, 232, 240, 0.9);width: 100%;}
html[data-theme="dark"] .related-card-actions-cluster{border-top-color: rgba(255, 255, 255, 0.1);}
.related-card-actions-cluster .btn-snap-sample, .related-card-actions-cluster .rank-cart-btn, .related-card-actions-cluster .btn-snap-alert, .related-card-actions-cluster .btn-snap-share{flex: 1 1 0 !important;min-width: 0 !important;width: 24px !important;height: 24px !important;padding: 0 !important;display: inline-flex !important;align-items: center !important;justify-content: center !important;border-radius: 6px !important;cursor: pointer;transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;box-sizing: border-box !important;}
.related-card-actions-cluster .btn-snap-sample:hover, .related-card-actions-cluster .rank-cart-btn:hover, .related-card-actions-cluster .btn-snap-alert:hover, .related-card-actions-cluster .btn-snap-share:hover{transform: translateY(-1.5px);}
.related-card-actions-cluster .btn-snap-sample{background: #f1f5f9 !important;color: #475569 !important;border: 1px solid rgba(148, 163, 184, 0.35) !important;}
html[data-theme="dark"] .related-card-actions-cluster .btn-snap-sample{background: rgba(148, 163, 184, 0.12) !important;color: #cbd5e1 !important;border-color: rgba(148, 163, 184, 0.3) !important;}
.related-card-actions-cluster .rank-cart-btn{background: rgba(139, 92, 246, 0.10) !important;color: #7c3aed !important;border: 1.5px solid rgba(139, 92, 246, 0.40) !important;}
.related-card-actions-cluster .rank-cart-btn.is-active{background: #7c3aed !important;color: #ffffff !important;border-color: #7c3aed !important;}
html[data-theme="dark"] .related-card-actions-cluster .rank-cart-btn{background: rgba(167, 139, 250, 0.18) !important;color: #c4b5fd !important;border-color: rgba(167, 139, 250, 0.5) !important;}
.related-card-actions-cluster .btn-snap-alert{background: rgba(245, 158, 11, 0.10) !important;color: #d97706 !important;border: 1px solid rgba(245, 158, 11, 0.38) !important;}
html[data-theme="dark"] .related-card-actions-cluster .btn-snap-alert{background: rgba(245, 158, 11, 0.18) !important;color: #fbbf24 !important;border-color: rgba(245, 158, 11, 0.45) !important;}
.related-card-actions-cluster .btn-snap-share{background: rgba(14, 165, 233, 0.10) !important;color: #0284c7 !important;border: 1px solid rgba(14, 165, 233, 0.38) !important;}
html[data-theme="dark"] .related-card-actions-cluster .btn-snap-share{background: rgba(56, 189, 248, 0.18) !important;color: #38bdf8 !important;border-color: rgba(56, 189, 248, 0.45) !important;}
.card-actions-compact{display: flex;align-items: center;justify-content: space-between;padding: 7px 14px;background: #faf8f5;border-top: 1px solid #e7e2d8;margin-top: auto;gap: 6px;}
html[data-theme="dark"] .card-actions-compact{background: #131822;border-top-color: var(--border-color);}
.card-actions-left{display: flex;align-items: center;gap: 4px;flex-wrap: wrap;}
.btn-tool-compact{background: #ffffff;border: 1px solid #cbd5e1;color: #475569;padding: 4px 7px;border-radius: 5px;font-size: 0.68rem;font-weight: 600;cursor: pointer;display: inline-flex;align-items: center;gap: 3px;transition: all 0.15s ease;}
.btn-tool-compact:hover{border-color: #94a3b8;color: #0f172a;background: #f8fafc;}
html[data-theme="dark"] .btn-tool-compact{background: #1f2838;border-color: #334259;color: var(--text-sub);}
html[data-theme="dark"] .btn-tool-compact:hover{background: #2c394f;color: #fff;}
.btn-buy-compact{background: linear-gradient(135deg, #ea580c, #c2410c);color: #ffffff;font-size: 0.74rem;font-weight: 700;padding: 5px 12px;border-radius: 6px;text-decoration: none;display: inline-flex;align-items: center;gap: 4px;box-shadow: 0 2px 6px rgba(234, 88, 12, 0.28);transition: all 0.15s ease;white-space: nowrap;margin-left: auto;}
.btn-buy-compact:hover{transform: translateY(-1px);box-shadow: 0 4px 10px rgba(234, 88, 12, 0.42);filter: brightness(1.06);text-decoration: none;color: #ffffff;}
.btn-buy-compact.store-kindle{background: linear-gradient(135deg, #ea580c, #c2410c);box-shadow: 0 2px 6px rgba(234, 88, 12, 0.28);}
.btn-buy-compact.store-kindle:hover{box-shadow: 0 4px 10px rgba(234, 88, 12, 0.42);}
.btn-buy-compact.store-kobo{background: linear-gradient(135deg, #dc2626, #b91c1c);box-shadow: 0 2px 6px rgba(220, 38, 38, 0.28);}
.btn-buy-compact.store-kobo:hover{box-shadow: 0 4px 10px rgba(220, 38, 38, 0.42);}
.btn-buy-compact.store-ebookjapan{background: linear-gradient(135deg, #e11d48, #be123c);box-shadow: 0 2px 6px rgba(225, 29, 72, 0.28);}
.btn-buy-compact.store-ebookjapan:hover{box-shadow: 0 4px 10px rgba(225, 29, 72, 0.42);}
.btn-buy-compact.store-dmm{background: linear-gradient(135deg, #2563eb, #1d4ed8);box-shadow: 0 2px 6px rgba(37, 99, 235, 0.28);}
.btn-buy-compact.store-dmm:hover{box-shadow: 0 4px 10px rgba(37, 99, 235, 0.42);}
.btn-buy-compact.store-bookwalker{background: linear-gradient(135deg, #1d4ed8, #1e40af);box-shadow: 0 2px 6px rgba(29, 78, 216, 0.28);}
.btn-buy-compact.store-bookwalker:hover{box-shadow: 0 4px 10px rgba(29, 78, 216, 0.42);}
.check-cart-label{font-size: 0.72rem;color: var(--text-sub);display: flex;align-items: center;gap: 4px;cursor: pointer;}
.related-drawer{display: none;background: #0d1117;padding: 10px 14px;border-top: 1px solid #232c3d;font-size: 0.76rem;}
.related-title{color: var(--accent-gold);font-weight: 700;margin-bottom: 6px;}
.related-item-line{display: flex;justify-content: space-between;padding: 3px 0;border-bottom: 1px dotted #232c3d;}
.book-card.cover-compact{background: #141a24;border: 1px solid #283447;border-radius: 6px;overflow: hidden;position: relative;}
.book-card.cover-compact .compact-img-wrap{width: 100%;height: 190px;position: relative;background: #1b2332;}
.book-card.cover-compact img{width: 100%;height: 100%;object-fit: cover;}
.book-card.cover-compact .compact-meta{padding: 6px;font-size: 0.74rem;}
.book-card.cover-compact .compact-title{font-size: 0.76rem;font-weight: 700;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;color: #fff;}
.book-card.cover-compact .compact-price{color: #34d399;font-weight: 700;font-size: 0.8rem;}
.custom-modal-layer{position: fixed;inset: 0;background: rgba(0, 0, 0, 0.78);backdrop-filter: blur(5px);display: none;align-items: center;justify-content: center;z-index: 1200;padding: 16px;}
.modal-box{background: #161c28;border: 1px solid #3b4961;border-radius: 12px;width: 96%;max-width: 1560px;max-height: 90vh;overflow-y: auto;overflow-x: hidden;box-sizing: border-box;padding: 24px;position: relative;box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);}
.modal-close-x{position: absolute;top: 14px;right: 16px;background: transparent;border: none;color: #94a3b8;font-size: 1.4rem;cursor: pointer;}
.ranking-item-card{background: #111622;border: 1px solid #222d3d;border-radius: 8px;padding: 10px 14px;display: flex;align-items: center;justify-content: space-between;gap: 12px;transition: background 0.15s;}
.ranking-item-card:hover{background: #172030;}
.rank-badge{width: 30px;height: 30px;border-radius: 50%;display: flex;align-items: center;justify-content: center;font-size: 0.9rem;font-weight: 900;flex-shrink: 0;}
.rank-1{background: #d97706;color: #fff;}
.rank-2{background: #94a3b8;color: #0f1218;}
.rank-3{background: #b45309;color: #fff;}
.rank-other{background: #232d3d;color: #94a3b8;}
.ranking-table-wrap{width: 100%;overflow-x: auto;-webkit-overflow-scrolling: touch;border-radius: 10px;border: 1px solid #222d3d;background: #111622;margin-top: 10px;}
html[data-theme="light"] .ranking-table-wrap{background: #ffffff;border-color: #e2e8f0;}
.ranking-table{width: 100%;min-width: 1040px;border-collapse: collapse;font-size: 0.78rem;text-align: left;}
.ranking-table th{background: #1a2232;color: #94a3b8;font-weight: 700;padding: 10px 10px;border-bottom: 1px solid #2d3748;white-space: nowrap;font-size: 0.76rem;}
html[data-theme="light"] .ranking-table th{background: #f8fafc;color: #475569;border-bottom-color: #e2e8f0;}
.ranking-table td{padding: 8px 10px;border-bottom: 1px solid #1a2332;vertical-align: middle;color: #cbd5e1;}
html[data-theme="light"] .ranking-table td{border-bottom-color: #f1f5f9;color: #334155;}
.ranking-table tr:hover td{background: #172030;}
html[data-theme="light"] .ranking-table tr:hover td{background: #f8fafc;}
.rank-td-num{width: 44px;text-align: center;}
.rank-td-img{width: 52px;text-align: center;padding-left: 4px;padding-right: 4px;}
.rank-cover-thumb{width: 44px;height: 62px;object-fit: cover;border-radius: 5px;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);display: block;margin: 0 auto;cursor: pointer;transition: transform 0.18s ease, box-shadow 0.18s ease;}
.rank-cover-thumb:hover{transform: scale(1.08);box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);}
.rank-td-title{min-width: 170px;}
.rank-td-paper-price{width: 75px;text-align: right;white-space: nowrap;font-size: 0.8rem;color: var(--text-muted);padding: 8px 10px;font-variant-numeric: tabular-nums;}
.rank-td-sample{width: 145px;text-align: center;white-space: nowrap;}
.rank-sample-btn{font-size: 0.72rem;padding: 4px 9px;white-space: nowrap;display: inline-block;text-align: center;font-weight: 700;}
html[data-theme="light"] .rank-cart-btn:hover{border-color: #8b5cf6;color: #c4b5fd;transform: translateY(-1px);}
.rank-cart-btn.is-active{background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;border-color: #a78bfa !important;color: #ffffff !important;box-shadow: 0 2px 10px rgba(124, 58, 237, 0.45);font-weight: 800;transform: scale(1.03);}
html[data-theme="light"] .rank-cart-btn.is-active{background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;border-color: #7c3aed !important;color: #ffffff !important;box-shadow: 0 2px 8px rgba(124, 58, 237, 0.35);}
.rank-cart-btn:active{transform: scale(0.95);}
.rank-cart-btn .cart-btn-icon{font-weight: 900;font-size: 0.75rem;}
.rank-td-store-prices{min-width: 420px;}
.rank-td-note{min-width: 130px;}
.rank-badge-sm{width: 26px;height: 26px;border-radius: 50%;display: inline-flex;align-items: center;justify-content: center;font-size: 0.8rem;font-weight: 900;}
.rank-store-links-wrap{display: inline-flex;align-items: center;gap: 6px;flex-wrap: nowrap;padding-top: 8px;}
.rank-store-link-btn{position: relative;display: inline-flex;flex-direction: column;align-items: stretch;justify-content: center;gap: 2px;padding: 5px 6px;border-radius: 7px;font-size: 0.69rem;font-weight: 700;text-decoration: none;border: 1px solid #2a3547;background: rgba(255, 255, 255, 0.04);color: #cbd5e1;transition: all 0.15s ease;white-space: nowrap;cursor: pointer;width: 104px;min-width: 104px;max-width: 104px;flex: 0 0 104px;box-sizing: border-box;}
html[data-theme="light"] .rank-store-link-btn{border-color: #cbd5e1;background: #f8fafc;color: #334155;}
.rank-store-link-btn:hover{transform: translateY(-1px);box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);filter: brightness(1.15);}
.rank-store-link-btn.is-best{border: 1.5px solid #10b981;background: rgba(16, 185, 129, 0.14);color: #10b981;font-weight: 800;box-shadow: 0 0 8px rgba(16, 185, 129, 0.2);}
html[data-theme="light"] .rank-store-link-btn.is-best{background: rgba(16, 185, 129, 0.12);color: #047857;border-color: #059669;}
.rank-store-link-btn.is-paper-btn{border: 1.5px solid #f59e0b !important;background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.25)) !important;box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2) !important;}
html[data-theme="light"] .rank-store-link-btn.is-paper-btn{background: linear-gradient(135deg, #fffbeb, #fef3c7) !important;border-color: #f59e0b !important;}
html[data-theme="dark"] .rank-store-link-btn.is-paper-btn .store-tag-name{color: #fde68a !important;}
html[data-theme="dark"] .rank-store-link-btn.is-paper-btn .rank-store-price-text{color: #fef08a !important;}
html[data-theme="dark"] .rank-store-link-btn.is-paper-btn .rank-store-point-text{color: #fed7aa !important;}
.award-paper-badge{display: inline-flex;align-items: center;gap: 4px;background: #fef3c7;color: #92400e;border: 1px solid #fde68a;border-radius: 4px;padding: 1px 7px;font-size: 0.68rem;font-weight: 800;}
html[data-theme="dark"] .award-paper-badge{background: rgba(245, 158, 11, 0.2);color: #fde68a;border-color: rgba(245, 158, 11, 0.4);}
.rank-outer-best-badge{position: absolute;top: -8px;left: 50%;transform: translateX(-50%);font-size: 0.58rem;font-weight: 900;color: #ffffff;background: #10b981;padding: 1px 7px;border-radius: 9999px;line-height: 1.15;white-space: nowrap;letter-spacing: 0.3px;box-shadow: 0 2px 6px rgba(16, 185, 129, 0.45);z-index: 2;pointer-events: none;}
.rank-store-btn-top{display: flex;align-items: center;gap: 4px;line-height: 1.2;white-space: nowrap;}
.rank-store-logo{display: inline-block;flex-shrink: 0;}
.rank-store-link-btn .store-tag-name{font-size: 0.65rem;font-weight: 800;}
.rank-store-link-btn.store-kindle .store-tag-name{color: #f59e0b;}
.rank-store-link-btn.store-kobo .store-tag-name{color: #ef4444;}
.rank-store-link-btn.store-ebook .store-tag-name{color: #f43f5e;}
.rank-store-link-btn.store-dmm .store-tag-name{color: #eab308;}
html[data-theme="light"] .rank-store-link-btn.store-dmm .store-tag-name{color: #b45309;}
.rank-store-price-text{font-weight: 800;color: var(--text-main);font-size: 0.72rem;letter-spacing: -0.01em;}
.rank-store-btn-bottom{display: flex;align-items: center;padding-left: 17px;font-size: 0.61rem;color: #94a3b8;line-height: 1.1;letter-spacing: -0.01em;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
html[data-theme="light"] .rank-store-btn-bottom{color: #64748b;}
.rank-store-point-text{overflow: hidden;text-overflow: ellipsis;white-space: nowrap;display: block;max-width: 100%;}
.rank-store-link-btn.is-best .rank-store-price-text{color: #10b981;}
html[data-theme="light"] .rank-store-link-btn.is-best .rank-store-price-text{color: #047857;}
.rank-store-link-btn.is-best .rank-store-btn-bottom{color: #34d399;font-weight: 700;}
html[data-theme="light"] .rank-store-link-btn.is-best .rank-store-btn-bottom{color: #059669;}
.rank-best-tag{display: none;}
.ranking-quick-bar{display: flex;align-items: center;justify-content: space-between;gap: 12px;background: linear-gradient(90deg, rgba(217, 119, 6, 0.12), rgba(15, 23, 42, 0.4));border: 1px solid rgba(217, 119, 6, 0.35);border-radius: 12px;padding: 10px 16px;margin-bottom: 20px;cursor: pointer;transition: all 0.2s ease;}
.ranking-quick-bar:hover{background: linear-gradient(90deg, rgba(217, 119, 6, 0.22), rgba(30, 41, 59, 0.6));border-color: #d97706;transform: translateY(-1px);}
html[data-theme="light"] .ranking-quick-bar{background: linear-gradient(90deg, #fffbeb, #f8fafc);border-color: #fde68a;}
html[data-theme="light"] .ranking-quick-bar:hover{background: linear-gradient(90deg, #fef3c7, #f1f5f9);border-color: #f59e0b;}
.ranking-quick-title{font-weight: 800;font-size: 0.86rem;color: #fff;}
html[data-theme="light"] .ranking-quick-title{color: #0f172a;}
.ranking-quick-badge{font-size: 0.68rem;background: rgba(217, 119, 6, 0.2);color: #f59e0b;padding: 2px 7px;border-radius: 10px;font-weight: 700;}
html[data-theme="light"] .ranking-quick-badge{background: #fef3c7;color: #b45309;}
.schedule-policy-badge{display: inline-flex;align-items: center;gap: 6px;font-size: 0.72rem;color: #d97706;background: rgba(217, 119, 6, 0.1);border: 1px solid rgba(217, 119, 6, 0.25);border-radius: 20px;padding: 3px 10px;font-weight: 700;margin-top: 6px;max-width: 100%;white-space: normal;line-height: 1.35;}
html[data-theme="light"] .schedule-policy-badge{background: #fef3c7;border-color: #fde68a;color: #b45309;}
.schedule-genre-tabs{display: flex;align-items: center;gap: 6px;flex-wrap: wrap;margin-top: 10px;}
.pill-dot{width: 7px;height: 7px;border-radius: 50%;display: inline-block;flex-shrink: 0;}
.pill-dot.dot-all{background: #94a3b8;}
.pill-dot.dot-comic{background: #ea580c;}
.pill-dot.dot-lightnovel{background: #9333ea;}
.pill-dot.dot-bungei{background: #059669;}
.pill-dot.dot-business{background: #2563eb;}
.pill-dot.dot-tech{background: #0891b2;}
.pill-dot.dot-other{background: #e11d48;}
.schedule-genre-pill{background: rgba(255, 255, 255, 0.05);border: 1px solid rgba(255, 255, 255, 0.12);color: var(--text-sub);font-size: 0.72rem;padding: 4px 10px;border-radius: 20px;cursor: pointer;display: inline-flex;align-items: center;gap: 5px;transition: all 0.15s ease;font-weight: 600;}
.schedule-genre-pill:hover{background: rgba(255, 255, 255, 0.12);color: var(--text-main);}
.schedule-genre-pill.active{background: #475569;color: #ffffff;border-color: #64748b;font-weight: 700;}
html[data-theme="light"] .schedule-genre-pill{background: #f1f5f9;border-color: #cbd5e1;color: #64748b;}
html[data-theme="light"] .schedule-genre-pill:hover{background: #e2e8f0;color: #0f172a;}
html[data-theme="light"] .schedule-genre-pill.active{background: #1e293b;color: #ffffff;border-color: #1e293b;}
.schedule-genre-pill#modal-sched-genre-comic.active, .schedule-genre-pill#sched-genre-comic.active{background: #ea580c !important;color: #ffffff !important;border-color: #ea580c !important;box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35);}
.schedule-genre-pill#modal-sched-genre-lightnovel.active, .schedule-genre-pill#sched-genre-lightnovel.active{background: #9333ea !important;color: #ffffff !important;border-color: #9333ea !important;box-shadow: 0 2px 8px rgba(147, 51, 234, 0.35);}
.schedule-genre-pill#modal-sched-genre-bungei.active, .schedule-genre-pill#sched-genre-bungei.active{background: #059669 !important;color: #ffffff !important;border-color: #059669 !important;box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35);}
.schedule-genre-pill#modal-sched-genre-business.active, .schedule-genre-pill#sched-genre-business.active{background: #2563eb !important;color: #ffffff !important;border-color: #2563eb !important;box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);}
.schedule-genre-pill#modal-sched-genre-tech.active, .schedule-genre-pill#sched-genre-tech.active{background: #0891b2 !important;color: #ffffff !important;border-color: #0891b2 !important;box-shadow: 0 2px 8px rgba(8, 145, 178, 0.35);}
.schedule-genre-pill#modal-sched-genre-other.active, .schedule-genre-pill#sched-genre-other.active{background: #e11d48 !important;color: #ffffff !important;border-color: #e11d48 !important;box-shadow: 0 2px 8px rgba(225, 29, 72, 0.35);}
.schedule-store-pill{min-width: max-content !important;flex-shrink: 0 !important;box-sizing: border-box !important;}
.shelf-preview-board{display: flex;align-items: flex-end;gap: 8px;min-height: 145px;padding: 18px 14px 0;overflow-x: auto;-webkit-overflow-scrolling: touch;scrollbar-width: thin;background: var(--bg-card-sub, #131924);border: 1px solid var(--border-color);border-bottom: none;border-radius: 12px 12px 0 0;box-sizing: border-box;position: relative;}
.shelf-preview-board::-webkit-scrollbar{height: 4px;}
.shelf-preview-board::-webkit-scrollbar-thumb{background: rgba(255, 255, 255, 0.2);border-radius: 999px;}
.shelf-spine-book{border-radius: 4px 4px 1px 1px;padding: 5px 3px 6px;display: flex;flex-direction: column;align-items: center;justify-content: space-between;box-shadow: 3px 2px 7px rgba(0, 0, 0, 0.45), inset 2px 0 3px rgba(255, 255, 255, 0.22), inset -2px 0 4px rgba(0, 0, 0, 0.35);cursor: grab;transition: transform 0.25s cubic-bezier(0.18, 0.9, 0.32, 1.25), box-shadow 0.2s ease;position: relative;flex-shrink: 0;user-select: none;box-sizing: border-box;border-top: 2px solid rgba(255, 255, 255, 0.35);border-bottom: 2px solid rgba(0, 0, 0, 0.3);}
.shelf-spine-book:hover{transform: translateY(-13px) scale(1.03);box-shadow: 0 16px 28px rgba(0, 0, 0, 0.55), inset 2px 0 4px rgba(255, 255, 255, 0.4);z-index: 15;}
.shelf-spine-book:active{cursor: grabbing;opacity: 0.85;}
.shelf-spine-book.is-private{opacity: 0.62;filter: saturate(0.85);}
.spine-private-lock{position: absolute;top: 14px;right: 2px;background: rgba(0, 0, 0, 0.65);color: #fbbf24;font-size: 0.55rem;border-radius: 50%;width: 14px;height: 14px;display: flex;align-items: center;justify-content: center;z-index: 3;box-shadow: 0 1px 3px rgba(0,0,0,0.5);}
.spine-fmt-bunko{--book-real-height: 112px;height: calc(var(--book-real-height, 112px) * var(--shelf-scale, 1));}
.spine-fmt-shinsho{--book-real-height: 126px;height: calc(var(--book-real-height, 126px) * var(--shelf-scale, 1));}
.spine-fmt-comic{--book-real-height: 124px;height: calc(var(--book-real-height, 124px) * var(--shelf-scale, 1));}
.spine-fmt-wide{--book-real-height: 135px;height: calc(var(--book-real-height, 135px) * var(--shelf-scale, 1));}
.spine-fmt-tanko, .spine-fmt-hardcover, .spine-fmt-business{--book-real-height: 144px;height: calc(var(--book-real-height, 144px) * var(--shelf-scale, 1));}
.spine-fmt-big, .spine-fmt-tech{--book-real-height: 158px;height: calc(var(--book-real-height, 158px) * var(--shelf-scale, 1));}
.spine-fmt-artbook{--book-real-height: 172px;height: calc(var(--book-real-height, 172px) * var(--shelf-scale, 1));}
.spine-w-thin{width: calc(var(--book-real-width, 25px) * var(--shelf-scale, 1));}
.spine-w-medium{width: calc(var(--book-real-width, 32px) * var(--shelf-scale, 1));}
.spine-w-thick{width: calc(var(--book-real-width, 40px) * var(--shelf-scale, 1));}
.spine-w-mega{width: calc(var(--book-real-width, 50px) * var(--shelf-scale, 1));}
.shelf-spine-book::before{content: '';position: absolute;top: -3px;left: 2px;right: 2px;height: 3px;background: repeating-linear-gradient( 90deg, rgba(254, 249, 235, 0.88) 0px, rgba(254, 249, 235, 0.88) 1.5px, rgba(214, 204, 182, 0.78) 1.5px, rgba(214, 204, 182, 0.78) 3px );border-radius: 2px 2px 0 0;box-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);pointer-events: none;}
.spine-filigree{width: 75%;height: 2px;border-top: 1px solid rgba(251, 191, 36, 0.9);border-bottom: 1px solid rgba(251, 191, 36, 0.6);margin: 1px auto 2px;flex-shrink: 0;}
.spine-text{flex: 1 1 auto;min-height: 0;width: 100%;font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;font-weight: 800;color: #ffffff;font-size: calc(0.54rem * var(--shelf-scale, 1));line-height: 1.06;letter-spacing: 0.03em;display: flex;align-items: center;justify-content: center;margin: 0 auto;overflow: hidden;text-shadow: 0 1px 2px rgba(0,0,0,0.88);padding: 1px 0;-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;text-rendering: optimizeLegibility;transform: translateZ(0);}
.spine-1col-wrap{writing-mode: vertical-rl;text-orientation: upright;display: inline-block;max-height: 100%;overflow: hidden;white-space: nowrap;text-align: center;}
.spine-2col-wrap{writing-mode: horizontal-tb;display: inline-flex;flex-direction: row-reverse;align-items: flex-start;justify-content: center;gap: 1.5px;width: 100%;height: 100%;max-height: 100%;overflow: hidden;padding-top: 1px;}
.spine-2col-wrap .spine-col{writing-mode: vertical-rl;text-orientation: upright;font-size: calc(0.46rem * var(--shelf-scale, 1));line-height: 1.02;letter-spacing: 0.01em;max-height: 100%;overflow: hidden;white-space: nowrap;display: block;}
.spine-bottom-stack{flex-shrink: 0;width: 100%;display: flex;flex-direction: column;align-items: center;gap: 1.5px;margin-top: 2px;writing-mode: horizontal-tb;}
.spine-vol-box{writing-mode: horizontal-tb;display: inline-flex;align-items: center;justify-content: center;min-width: 15px;max-width: 92%;padding: 1.5px 3px;border-radius: 2.5px;background: rgba(255, 251, 235, 0.94);color: #0f172a;border: 1px solid rgba(251, 191, 36, 0.75);box-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), inset 0 0 0 0.5px rgba(15, 23, 42, 0.15);font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;font-weight: 900;font-size: calc(0.52rem * var(--shelf-scale, 1));line-height: 1.05;letter-spacing: -0.02em;text-align: center;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.spine-vol-box.is-series-bundle{background: linear-gradient(135deg, #fef3c7, #fde68a);color: #92400e;border-color: #f59e0b;font-size: calc(0.46rem * var(--shelf-scale, 1));padding: 1.5px 2.5px;}
.spine-pub-mark{writing-mode: horizontal-tb;font-size: calc(0.38rem * var(--shelf-scale, 1));font-weight: 700;color: rgba(255, 255, 255, 0.78);max-width: 94%;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;line-height: 1;text-align: center;letter-spacing: -0.02em;}
.spine-badge{flex-shrink: 0;margin-top: 2px;font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;font-weight: 800;font-size: calc(0.47rem * var(--shelf-scale, 1));color: #ffffff;background: rgba(0, 0, 0, 0.58);border: 1px solid rgba(255, 255, 255, 0.4);border-radius: 3px;padding: 1px 2.5px;min-width: 12px;max-width: 94%;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;text-align: center;line-height: 1.05;text-shadow: 0 1px 2px rgba(0,0,0,0.9);box-shadow: 0 1px 2px rgba(0,0,0,0.4);writing-mode: horizontal-tb;}
.spine-wish-ribbon{position: absolute;top: -3px;right: 2px;background: #f59e0b;color: #1e1b4b;font-size: 0.52rem;font-weight: 900;padding: 1px 3px;border-radius: 2px;box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);z-index: 2;}
body.is-community-view main{max-width: 100% !important;width: 100% !important;padding-left: clamp(14px, 2.5vw, 36px) !important;padding-right: clamp(14px, 2.5vw, 36px) !important;box-sizing: border-box !important;}
.community-shelves-view{max-width: 100% !important;width: 100% !important;margin: 0 auto;padding: 16px 0 40px;}
.community-hero-banner{background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 50%, #fed7aa 100%);border: 1.5px solid #ea580c;border-radius: 16px;padding: 20px 24px;margin-bottom: 20px;display: flex;align-items: center;justify-content: space-between;flex-wrap: wrap;gap: 16px;box-shadow: 0 8px 24px rgba(234, 88, 12, 0.15);}
html[data-theme="dark"] .community-hero-banner{background: linear-gradient(135deg, #2d1808 0%, #431407 50%, #7c2d12 100%);border-color: #ea580c;box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);}
.community-hero-left h2{font-size: 1.35rem;font-weight: 900;color: #9a3412;margin: 0 0 6px;display: flex;align-items: center;gap: 8px;}
html[data-theme="dark"] .community-hero-left h2{color: #fdba74;}
.community-hero-badge{font-size: 0.72rem;font-weight: 700;background: #ea580c;color: #fff;padding: 2px 10px;border-radius: 999px;}
.community-hero-left p{font-size: 0.82rem;color: var(--text-sub);margin: 0;line-height: 1.5;}
.community-my-shelf-anchor-section{background: var(--bg-card, #ffffff);border: 1.5px solid #ea580c;border-radius: 16px;padding: 18px 20px;margin-bottom: 22px;box-shadow: 0 6px 20px rgba(234, 88, 12, 0.1);position: relative;}
html[data-theme="dark"] .community-my-shelf-anchor-section{background: #1e293b;border-color: #f97316;box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);}
.community-anchor-header{display: flex;align-items: center;justify-content: space-between;flex-wrap: wrap;gap: 12px;margin-bottom: 14px;padding-bottom: 12px;border-bottom: 1px solid var(--border-color);}
.community-anchor-title-col{display: flex;align-items: center;gap: 12px;}
.community-anchor-user-avatar{width: 44px;height: 44px;border-radius: 50%;background: linear-gradient(135deg, #f97316, #ea580c);color: #fff;font-size: 1.15rem;font-weight: 900;display: flex;align-items: center;justify-content: center;box-shadow: 0 2px 8px rgba(234, 88, 12, 0.3);flex-shrink: 0;}
.community-anchor-title{font-size: 1.1rem;font-weight: 900;color: var(--text-main);display: flex;align-items: center;gap: 8px;}
.community-anchor-sub{font-size: 0.76rem;color: var(--text-sub);margin-top: 2px;}
.community-anchor-actions{display: flex;align-items: center;gap: 8px;flex-wrap: wrap;}
.community-matching-live-pill{display: inline-flex;align-items: center;gap: 6px;font-size: 0.72rem;font-weight: 800;color: #15803d;background: rgba(34, 197, 94, 0.12);border: 1px solid rgba(34, 197, 94, 0.3);padding: 3px 10px;border-radius: 999px;}
html[data-theme="dark"] .community-matching-live-pill{color: #4ade80;background: rgba(34, 197, 94, 0.2);}
.community-matching-dot{width: 7px;height: 7px;border-radius: 50%;background: #22c55e;animation: pulseLiveDot 1.5s infinite;}
@keyframes pulseLiveDot{0%, 100%{opacity: 1;transform: scale(1);}50%{opacity: 0.4;transform: scale(0.8);}}
.community-anchor-footer-note{display: flex;align-items: center;gap: 8px;font-size: 0.76rem;color: var(--text-sub);background: rgba(234, 88, 12, 0.06);border-radius: 8px;padding: 8px 12px;margin-top: 14px;line-height: 1.45;}
html[data-theme="dark"] .community-anchor-footer-note{background: rgba(234, 88, 12, 0.12);}
.community-view-tabs{display: flex;gap: 6px;background: rgba(0, 0, 0, 0.06);padding: 4px;border-radius: 12px;margin-bottom: 18px;width: fit-content;}
html[data-theme="dark"] .community-view-tabs{background: rgba(255, 255, 255, 0.08);}
.community-tab-btn{border: none;background: transparent;padding: 8px 18px;font-size: 0.82rem;font-weight: 800;border-radius: 8px;cursor: pointer;color: var(--text-sub);transition: all 0.2s ease;display: flex;align-items: center;gap: 6px;}
.community-tab-btn.active{background: #ffffff;color: #ea580c;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);}
html[data-theme="dark"] .community-tab-btn.active{background: #1e293b;color: #fb923c;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);}
.community-toolbar-box{background: var(--bg-card, #ffffff);border: 1px solid var(--border-color, #e2e8f0);border-radius: 14px;padding: 14px 18px;margin-bottom: 20px;display: flex;flex-direction: column;gap: 12px;}
html[data-theme="dark"] .community-toolbar-box{background: rgba(30, 41, 59, 0.6);border-color: rgba(51, 65, 85, 0.8);}
.community-search-wrapper{position: relative;display: flex;align-items: center;}
.community-search-input{width: 100%;height: 42px;border-radius: 999px;border: 1.5px solid var(--border-color, #cbd5e1);padding: 0 42px 0 40px;font-size: 0.88rem;background: var(--bg-card, #fff);color: var(--text-main);transition: border-color 0.2s, box-shadow 0.2s;}
.community-search-input:focus{outline: none;border-color: #ea580c;box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.18);}
.community-search-icon{position: absolute;left: 14px;color: var(--text-sub);pointer-events: none;}
.community-search-suggest-dropdown{position: absolute;top: calc(100% + 6px);left: 0;right: 0;background: var(--bg-card, #ffffff);border: 1.5px solid var(--border-color);border-radius: 14px;box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);z-index: 1000;max-height: 420px;overflow-y: auto;padding: 8px;}
html[data-theme="dark"] .community-search-suggest-dropdown{background: #1e293b;border-color: #475569;box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);}
.suggest-group-header{font-size: 0.72rem;font-weight: 800;color: var(--text-sub);padding: 8px 12px 4px;border-bottom: 1px solid var(--border-color);margin-bottom: 4px;display: flex;align-items: center;justify-content: space-between;}
.suggest-item-row{display: flex;align-items: center;justify-content: space-between;padding: 8px 12px;border-radius: 8px;cursor: pointer;transition: background 0.15s;gap: 10px;}
.suggest-item-row:hover{background: rgba(234, 88, 12, 0.08);}
html[data-theme="dark"] .suggest-item-row:hover{background: rgba(234, 88, 12, 0.18);}
.suggest-user-col{display: flex;align-items: center;gap: 10px;}
.suggest-avatar{width: 30px;height: 30px;border-radius: 50%;background: #fed7aa;color: #9a3412;display: flex;align-items: center;justify-content: center;font-size: 0.8rem;font-weight: 900;flex-shrink: 0;}
.suggest-user-name{font-size: 0.84rem;font-weight: 800;color: var(--text-main);}
.suggest-book-info{font-size: 0.72rem;color: #ea580c;font-weight: 700;margin-top: 1px;}
.community-filter-pills{display: flex;align-items: center;gap: 8px;flex-wrap: wrap;}
.community-filter-pill{border: 1px solid var(--border-color, #cbd5e1);background: transparent;padding: 5px 12px;border-radius: 999px;font-size: 0.74rem;font-weight: 700;color: var(--text-sub);cursor: pointer;transition: all 0.15s;}
.community-filter-pill.active{background: #ea580c;border-color: #ea580c;color: #ffffff;box-shadow: 0 2px 6px rgba(234, 88, 12, 0.3);}
.community-tag-pills-bar{display: flex;align-items: center;gap: 8px;margin-top: 10px;padding-top: 10px;border-top: 1px dashed var(--border-color);width: 100%;}
.community-tag-label{display: inline-flex;align-items: center;gap: 4px;font-size: 0.72rem;font-weight: 800;color: var(--text-muted);flex-shrink: 0;white-space: nowrap;}
.community-tag-pills-scroll{display: flex;align-items: center;gap: 6px;overflow-x: auto;-webkit-overflow-scrolling: touch;scrollbar-width: none;padding: 2px 0;flex: 1;}
.community-tag-pills-scroll::-webkit-scrollbar{display: none;}
.community-tag-pill{display: inline-flex;align-items: center;gap: 4px;border: 1px solid var(--border-color, #e2e8f0);background: var(--bg-card, #ffffff);padding: 4px 11px;border-radius: 999px;font-size: 0.73rem;font-weight: 700;color: var(--text-sub);cursor: pointer;white-space: nowrap;flex-shrink: 0;transition: all 0.15s ease;user-select: none;}
.community-tag-pill:hover{border-color: #ea580c;color: #ea580c;background: #fff7ed;transform: translateY(-1px);}
.community-tag-pill.active{background: #fff7ed;border-color: #ea580c;color: #ea580c;font-weight: 800;box-shadow: 0 1px 4px rgba(234, 88, 12, 0.2);}
.community-tag-pill-clear{display: inline-flex;align-items: center;justify-content: center;width: 14px;height: 14px;border-radius: 50%;background: rgba(234, 88, 12, 0.18);color: #ea580c;font-size: 0.65rem;font-weight: 900;margin-left: 2px;}
.shelf-tag-chip{display: inline-flex;align-items: center;font-size: 0.68rem;font-weight: 700;color: #ea580c;background: rgba(234, 88, 12, 0.08);border: 1px solid rgba(234, 88, 12, 0.25);padding: 1px 8px;border-radius: 999px;cursor: pointer;transition: all 0.15s ease;white-space: nowrap;user-select: none;}
.shelf-tag-chip:hover{background: #ea580c;color: #ffffff;border-color: #ea580c;transform: translateY(-1px);}
.active-tag-badge-pill{display: inline-flex;align-items: center;gap: 6px;padding: 4px 10px;border-radius: 999px;background: #fff7ed;border: 1px solid #ea580c;color: #ea580c;font-size: 0.74rem;font-weight: 800;}
.active-tag-badge-pill button{border: none;background: transparent;color: #ef4444;font-weight: 900;font-size: 0.85rem;cursor: pointer;padding: 0 2px;line-height: 1;}
.preset-tag-chip{display: inline-flex;align-items: center;gap: 3px;padding: 4px 10px;border-radius: 999px;background: var(--bg-card, #ffffff);border: 1px solid var(--border-color, #e2e8f0);color: var(--text-sub);font-size: 0.72rem;font-weight: 700;cursor: pointer;transition: all 0.15s ease;user-select: none;}
.preset-tag-chip:hover{border-color: #ea580c;color: #ea580c;background: #fff7ed;}
.preset-tag-chip.selected{background: #ea580c;border-color: #ea580c;color: #ffffff;font-weight: 800;box-shadow: 0 1px 4px rgba(234, 88, 12, 0.25);}
.community-tag-pill.clear-btn{background: #fee2e2;border-color: #fca5a5;color: #b91c1c;}
.community-tag-pill.clear-btn:hover{background: #ef4444;border-color: #dc2626;color: #ffffff;}
.table-shelf-tags-row{display: flex;flex-wrap: wrap;gap: 4px;margin-top: 5px;}
.community-shelves-list{display: flex;flex-direction: column;gap: 10px;}
.community-shelf-row{background: var(--bg-card, #ffffff);border: 1.5px solid var(--border-color, #e2e8f0);border-radius: 13px;padding: 10px 16px;display: flex;align-items: center;justify-content: space-between;gap: 16px;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);cursor: pointer;position: relative;}
.community-shelf-row:hover{transform: translateY(-1.5px);box-shadow: 0 6px 18px rgba(234, 88, 12, 0.12);border-color: #ea580c;}
.community-shelf-row.high-sync{border-color: rgba(245, 158, 11, 0.45);background: linear-gradient(90deg, rgba(254, 243, 199, 0.18), var(--bg-card, #ffffff));box-shadow: 0 3px 12px rgba(245, 158, 11, 0.12);}
html[data-theme="dark"] .community-shelf-row{background: #1e293b;border-color: #334155;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);}
html[data-theme="dark"] .community-shelf-row:hover{border-color: #f97316;box-shadow: 0 6px 18px rgba(249, 115, 22, 0.2);}
html[data-theme="dark"] .community-shelf-row.high-sync{border-color: rgba(217, 119, 6, 0.6);background: linear-gradient(90deg, rgba(120, 53, 15, 0.25), #1e293b);box-shadow: 0 3px 12px rgba(217, 119, 6, 0.2);}
.shelf-row-user-col{display: flex;align-items: center;gap: 12px;min-width: 190px;flex-shrink: 0;}
.shelf-row-avatar{width: 40px;height: 40px;border-radius: 50%;background: linear-gradient(135deg, #fed7aa, #ea580c);display: flex;align-items: center;justify-content: center;font-size: 1.15rem;font-weight: 900;color: #ffffff;border: 1.5px solid #fff;box-shadow: 0 2px 5px rgba(0,0,0,0.12);flex-shrink: 0;}
html[data-theme="dark"] .shelf-row-avatar{border-color: #334155;}
.shelf-row-meta{min-width: 0;}
.shelf-row-name-wrap{display: flex;align-items: center;gap: 6px;flex-wrap: wrap;}
.shelf-row-name{font-size: 0.92rem;font-weight: 800;color: var(--text-main);line-height: 1.25;}
.shelf-row-badge{font-size: 0.68rem;color: var(--text-sub);background: rgba(0, 0, 0, 0.04);padding: 1px 6px;border-radius: 999px;}
html[data-theme="dark"] .shelf-row-badge{background: rgba(255, 255, 255, 0.08);}
.shelf-row-content-col{flex: 1;min-width: 0;display: flex;align-items: center;gap: 8px;overflow: hidden;}
.shelf-row-common-tag{font-size: 0.72rem;font-weight: 800;color: #ea580c;flex-shrink: 0;}
.shelf-row-chips-wrap{display: flex;align-items: center;gap: 4px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}
.shelf-row-bio-snippet{font-size: 0.76rem;color: var(--text-sub);overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}
.shelf-row-sync-col{display: flex;flex-direction: column;align-items: flex-end;gap: 4px;min-width: 140px;flex-shrink: 0;}
.shelf-sync-info-row{display: flex;align-items: baseline;gap: 6px;}
.shelf-sync-title{font-size: 0.68rem;font-weight: 700;color: var(--text-sub);}
.shelf-sync-number{font-size: 0.95rem;font-weight: 900;color: var(--text-main);font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;}
.shelf-sync-number.high{color: #ea580c;}
html[data-theme="dark"] .shelf-sync-number.high{color: #fb923c;}
.shelf-sync-track{width: 120px;height: 7px;background: rgba(0, 0, 0, 0.08);border-radius: 999px;overflow: hidden;position: relative;}
html[data-theme="dark"] .shelf-sync-track{background: rgba(255, 255, 255, 0.12);}
.shelf-sync-fill{height: 100%;border-radius: 999px;background: linear-gradient(90deg, #38bdf8, #0284c7);transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);}
.shelf-sync-fill.high{background: linear-gradient(90deg, #f59e0b, #ea580c);box-shadow: 0 0 8px rgba(234, 88, 12, 0.45);}
.shelf-row-actions-col{display: flex;align-items: center;gap: 8px;flex-shrink: 0;}
.shelf-row-open-btn{font-size: 0.74rem;font-weight: 800;padding: 6px 14px;background: #fff7ed;border: 1.5px solid #ea580c;color: #ea580c;border-radius: 999px;white-space: nowrap;transition: all 0.2s ease;}
.shelf-row-open-btn:hover{background: #ea580c;color: #ffffff;transform: translateY(-1px);box-shadow: 0 3px 8px rgba(234, 88, 12, 0.3);}
html[data-theme="dark"] .shelf-row-open-btn{background: rgba(234, 88, 12, 0.15);border-color: #ea580c;color: #fb923c;}
html[data-theme="dark"] .shelf-row-open-btn:hover{background: #ea580c;color: #ffffff;}
@media (max-width: 680px){.community-shelf-row{flex-direction: column;align-items: stretch;gap: 8px;padding: 10px 12px;}.shelf-row-user-col{min-width: 0;width: 100%;justify-content: space-between;}.shelf-row-content-col{width: 100%;}.shelf-row-sync-col{width: auto;min-width: 0;align-items: flex-end;}.shelf-sync-track{width: 80px;height: 6px;}.shelf-row-actions-col{width: 100%;justify-content: flex-end;padding-top: 6px;border-top: 1px dashed var(--border-color, #e2e8f0);}}
.community-view-mode-pills{display: inline-flex;align-items: center;background: var(--bg-sub, #f1f5f9);padding: 3px;border-radius: 999px;border: 1px solid var(--border-color, #e2e8f0);gap: 2px;}
html[data-theme="dark"] .community-view-mode-pills{background: #1e293b;border-color: #334155;}
.view-pill-btn{border: none;background: transparent;padding: 4px 11px;font-size: 0.72rem;font-weight: 700;color: var(--text-sub, #64748b);border-radius: 999px;cursor: pointer;transition: all 0.18s ease;white-space: nowrap;}
.view-pill-btn:hover{color: var(--text-main, #1e293b);}
.view-pill-btn.active{background: #ffffff;color: #ea580c;font-weight: 800;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);}
html[data-theme="dark"] .view-pill-btn.active{background: #334155;color: #fb923c;}
.community-table-wrapper{width: 100%;overflow-x: auto;-webkit-overflow-scrolling: touch;scrollbar-width: thin;background: var(--bg-card, #ffffff);border: 1.5px solid var(--border-color, #e2e8f0);border-radius: 14px;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);margin-top: 6px;}
html[data-theme="dark"] .community-table-wrapper{background: #0f172a;border-color: #334155;box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);}
.community-readers-table{width: 100%;min-width: 680px;border-collapse: collapse;text-align: left;}
.community-readers-table th{padding: 12px 14px;font-size: 0.73rem;font-weight: 800;color: var(--text-sub, #64748b);background: var(--bg-sub, #f8fafc);border-bottom: 2px solid var(--border-color, #e2e8f0);white-space: nowrap;letter-spacing: 0.02em;}
html[data-theme="dark"] .community-readers-table th{background: #1e293b;color: #94a3b8;border-color: #334155;}
.community-readers-table td{padding: 12px 14px;font-size: 0.82rem;color: var(--text-main, #1e293b);border-bottom: 1px solid var(--border-color, #f1f5f9);vertical-align: middle;}
html[data-theme="dark"] .community-readers-table td{border-bottom-color: #1e293b;color: #f1f5f9;}
.reader-table-row{cursor: pointer;transition: background 0.15s ease;}
.reader-table-row:hover{background: rgba(234, 88, 12, 0.04);}
html[data-theme="dark"] .reader-table-row:hover{background: rgba(234, 88, 12, 0.1);}
.reader-table-row.high-sync{background: linear-gradient(90deg, rgba(254, 243, 199, 0.22), transparent 75%);}
.reader-table-row.high-sync:hover{background: linear-gradient(90deg, rgba(254, 243, 199, 0.35), rgba(234, 88, 12, 0.06));}
html[data-theme="dark"] .reader-table-row.high-sync{background: linear-gradient(90deg, rgba(120, 53, 15, 0.25), transparent 75%);}
html[data-theme="dark"] .reader-table-row.high-sync:hover{background: linear-gradient(90deg, rgba(120, 53, 15, 0.4), rgba(234, 88, 12, 0.1));}
.col-main-info{min-width: 380px;}
.account-row-tier-top{display: flex;align-items: center;gap: 10px;flex-wrap: wrap;}
.account-row-tier-bottom{margin-left: 42px;margin-top: 5px;display: flex;align-items: baseline;gap: 6px;font-size: 0.77rem;color: var(--text-sub);line-height: 1.45;}
.table-bio-text{color: var(--text-sub);}
html[data-theme="dark"] .table-bio-text{color: #94a3b8;}
.table-user-cell{display: flex;align-items: center;gap: 8px;}
.table-user-avatar{width: 34px;height: 34px;border-radius: 50%;background: linear-gradient(135deg, #fed7aa, #ea580c);display: flex;align-items: center;justify-content: center;font-size: 1rem;font-weight: 900;color: #ffffff;flex-shrink: 0;box-shadow: 0 2px 5px rgba(0,0,0,0.12);}
.table-user-name-box{min-width: 0;display: flex;align-items: center;gap: 6px;flex-wrap: wrap;}
.table-user-name-line{display: flex;align-items: baseline;gap: 2px;white-space: nowrap;}
.table-user-name{font-size: 0.88rem;font-weight: 800;color: var(--text-main);}
.table-user-honorific{font-size: 0.72rem;font-weight: normal;color: var(--text-sub);margin-left: 2px;}
.table-user-room-badge{font-size: 0.65rem;color: #ea580c;background: rgba(234, 88, 12, 0.08);padding: 1px 7px;border-radius: 999px;font-weight: 700;white-space: nowrap;}
html[data-theme="dark"] .table-user-room-badge{background: rgba(234, 88, 12, 0.2);color: #fb923c;}
.table-genre-badge{display: inline-block;font-size: 0.72rem;font-weight: 700;color: #475569;background: rgba(0, 0, 0, 0.05);padding: 3px 8px;border-radius: 999px;white-space: nowrap;}
html[data-theme="dark"] .table-genre-badge{color: #cbd5e1;background: rgba(255, 255, 255, 0.08);}
.table-common-books-wrap{display: inline-flex;align-items: center;flex-wrap: wrap;gap: 4px;}
.table-book-chip{font-size: 0.74rem;font-weight: 700;color: #c2410c;background: #fff7ed;border: 1px solid #ffedd5;padding: 2px 7px;border-radius: 6px;white-space: nowrap;}
html[data-theme="dark"] .table-book-chip{color: #fdba74;background: rgba(194, 65, 12, 0.2);border-color: rgba(234, 88, 12, 0.35);}
.table-more-books-tag{font-size: 0.7rem;font-weight: 700;color: var(--text-sub);margin-left: 3px;white-space: nowrap;}
.table-no-common-wrap{display: inline-flex;align-items: center;gap: 4px;font-size: 0.74rem;color: var(--text-sub);opacity: 0.85;}
.table-sample-book{font-size: 0.72rem;opacity: 0.8;}
.bio-speech-icon{color: #f59e0b;margin-right: 2px;font-size: 0.82rem;}
@media (max-width: 640px){.account-row-tier-bottom{margin-left: 0;}}
.col-sync{width: 110px;min-width: 110px;text-align: right;}
.table-sync-box{display: flex;flex-direction: column;align-items: flex-end;gap: 3px;}
.table-sync-pct{font-size: 0.95rem;font-weight: 900;color: var(--text-main);font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;}
.table-sync-pct.high{color: #ea580c;}
html[data-theme="dark"] .table-sync-pct.high{color: #fb923c;}
.table-sync-bar{width: 85px;height: 6px;background: rgba(0, 0, 0, 0.08);border-radius: 999px;overflow: hidden;}
html[data-theme="dark"] .table-sync-bar{background: rgba(255, 255, 255, 0.12);}
.table-sync-bar-fill{height: 100%;border-radius: 999px;background: linear-gradient(90deg, #38bdf8, #0284c7);transition: width 0.4s ease;}
.table-sync-bar-fill.high{background: linear-gradient(90deg, #f59e0b, #ea580c);box-shadow: 0 0 6px rgba(234, 88, 12, 0.4);}
.col-likes{width: 75px;min-width: 75px;text-align: center;}
.col-action{width: 100px;min-width: 100px;text-align: center;}
.reader-table-open-btn{font-size: 0.73rem;font-weight: 800;padding: 5px 12px;background: #fff7ed;border: 1.5px solid #ea580c;color: #ea580c;border-radius: 999px;white-space: nowrap;transition: all 0.18s ease;}
.reader-table-open-btn:hover{background: #ea580c;color: #ffffff;transform: translateY(-1px);box-shadow: 0 2px 7px rgba(234, 88, 12, 0.3);}
html[data-theme="dark"] .reader-table-open-btn{background: rgba(234, 88, 12, 0.15);color: #fb923c;}
html[data-theme="dark"] .reader-table-open-btn:hover{background: #ea580c;color: #ffffff;}
.community-shelves-grid{display: grid;grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));gap: 18px;}
@media (max-width: 640px){.community-shelves-grid{grid-template-columns: 1fr;}}
.community-shelf-card{background: var(--bg-card, #ffffff);border: 1.5px solid var(--border-color, #e2e8f0);border-radius: 14px;padding: 16px;display: flex;flex-direction: column;gap: 12px;box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;position: relative;}
.community-shelf-card:hover{transform: translateY(-3px);box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);border-color: #ea580c;}
.community-shelf-card.high-sync{border-color: #f59e0b;box-shadow: 0 6px 20px rgba(245, 158, 11, 0.18);}
html[data-theme="dark"] .community-shelf-card{background: #1e293b;border-color: #334155;box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);}
html[data-theme="dark"] .community-shelf-card.high-sync{border-color: #d97706;box-shadow: 0 6px 20px rgba(217, 119, 6, 0.25);}
.card-user-header{display: flex;align-items: center;justify-content: space-between;gap: 8px;}
.card-user-profile{display: flex;align-items: center;gap: 10px;}
.card-user-avatar{width: 40px;height: 40px;border-radius: 50%;background: linear-gradient(135deg, #fed7aa, #ea580c);display: flex;align-items: center;justify-content: center;font-size: 1.2rem;border: 1.5px solid #fff;box-shadow: 0 2px 6px rgba(0,0,0,0.15);flex-shrink: 0;}
.card-user-name{font-size: 0.86rem;font-weight: 800;color: var(--text-main);line-height: 1.2;}
.card-user-badge{font-size: 0.66rem;color: var(--text-sub);margin-top: 2px;}
.sync-rate-badge{display: inline-flex;align-items: center;gap: 4px;padding: 4px 9px;border-radius: 999px;font-size: 0.72rem;font-weight: 800;background: rgba(234, 88, 12, 0.1);color: #ea580c;border: 1px solid rgba(234, 88, 12, 0.25);}
.sync-rate-badge.high{background: linear-gradient(135deg, #fef3c7, #fed7aa);color: #9a3412;border-color: #f59e0b;box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);}
html[data-theme="dark"] .sync-rate-badge.high{background: linear-gradient(135deg, #78350f, #9a3412);color: #fef3c7;border-color: #d97706;}
.card-mini-shelf{background: #382415;border-radius: 8px;padding: 10px 10px 4px;border: 1px solid #2a1a0f;box-shadow: inset 0 2px 6px rgba(0,0,0,0.6);position: relative;}
.card-mini-shelf-stage{display: flex;align-items: flex-end;gap: 5px;height: 95px;overflow-x: auto;padding-bottom: 4px;scrollbar-width: none;}
.card-mini-shelf-stage::-webkit-scrollbar{display: none;}
.card-mini-plank{height: 7px;background: linear-gradient(to bottom, #4e3420, #2a1a0f);border-radius: 0 0 6px 6px;box-shadow: 0 2px 4px rgba(0,0,0,0.5);margin-top: 2px;}
.mini-spine-book{width: 22px;border-radius: 3px 3px 1px 1px;box-shadow: 1px 1px 4px rgba(0,0,0,0.5);display: flex;align-items: center;justify-content: center;padding: 3px 1px;flex-shrink: 0;position: relative;cursor: pointer;transition: transform 0.15s;}
.mini-spine-book:hover{transform: translateY(-4px) scale(1.08);z-index: 5;}
.mini-spine-title{writing-mode: vertical-rl;text-orientation: upright;font-size: 0.55rem;font-weight: 700;color: #ffffff;line-height: 1;max-height: 80px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;text-shadow: 0 1px 2px rgba(0,0,0,0.8);}
.common-books-box{font-size: 0.72rem;color: var(--text-sub);background: rgba(0, 0, 0, 0.03);padding: 6px 10px;border-radius: 8px;line-height: 1.4;}
html[data-theme="dark"] .common-books-box{background: rgba(255, 255, 255, 0.04);}
.common-book-chip{display: inline-block;background: rgba(234, 88, 12, 0.12);color: #ea580c;font-weight: 700;padding: 1px 6px;border-radius: 4px;margin: 2px 2px 2px 0;}
html[data-theme="dark"] .common-book-chip{background: rgba(234, 88, 12, 0.25);color: #fb923c;}
.card-footer-row{display: flex;align-items: center;justify-content: space-between;gap: 8px;margin-top: auto;padding-top: 8px;border-top: 1px solid var(--border-color, #e2e8f0);}
.community-like-btn{display: inline-flex;align-items: center;gap: 5px;border: 1.5px solid #f43f5e;background: transparent;color: #e11d48;font-size: 0.76rem;font-weight: 800;padding: 5px 12px;border-radius: 999px;cursor: pointer;transition: all 0.2s cubic-bezier(0.18, 0.9, 0.32, 1.25);}
.community-like-btn:hover{background: rgba(244, 63, 94, 0.08);transform: scale(1.05);}
.community-like-btn.liked{background: #e11d48;color: #ffffff;box-shadow: 0 2px 8px rgba(225, 29, 72, 0.35);}
.community-like-btn.liked .heart-icon{animation: heartPop 0.35s ease-out;}
@keyframes heartPop{0%{transform: scale(1);}40%{transform: scale(1.45);}70%{transform: scale(0.9);}100%{transform: scale(1);}}
.sync-matrix-box{background: rgba(234, 88, 12, 0.04);border: 1.5px solid rgba(234, 88, 12, 0.2);border-radius: 12px;padding: 14px 16px;margin-bottom: 20px;}
html[data-theme="dark"] .sync-matrix-box{background: rgba(234, 88, 12, 0.1);border-color: rgba(234, 88, 12, 0.35);}
.matrix-cols-grid{display: grid;grid-template-columns: 1fr 1fr;gap: 14px;margin-top: 10px;}
@media (max-width: 600px){.matrix-cols-grid{grid-template-columns: 1fr;}}
.matrix-col-card{background: var(--bg-card);border: 1px solid var(--border-color);border-radius: 8px;padding: 10px 12px;}
.matrix-col-title{font-size: 0.76rem;font-weight: 800;color: var(--text-sub);margin-bottom: 8px;display: flex;align-items: center;gap: 6px;}
.matrix-chips-wrap{display: flex;flex-wrap: wrap;gap: 6px;}
.matrix-chip{font-size: 0.72rem;font-weight: 700;padding: 3px 8px;border-radius: 6px;}
.matrix-chip.common{background: rgba(34, 197, 94, 0.12);color: #15803d;border: 1px solid rgba(34, 197, 94, 0.3);}
html[data-theme="dark"] .matrix-chip.common{color: #4ade80;}
.matrix-chip.unread{background: rgba(234, 88, 12, 0.12);color: #c2410c;border: 1px solid rgba(234, 88, 12, 0.3);cursor: pointer;transition: transform 0.15s;}
html[data-theme="dark"] .matrix-chip.unread{color: #fb923c;}
.matrix-chip.unread:hover{transform: scale(1.04);}
.community-modal-books-list{display: grid;grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));gap: 12px;margin-top: 16px;}
.community-dig-book-card{background: var(--bg-card);border: 1px solid var(--border-color);border-radius: 10px;padding: 12px;display: flex;flex-direction: column;justify-content: space-between;gap: 10px;transition: border-color 0.2s, box-shadow 0.2s;}
.community-dig-book-card:hover{border-color: #ea580c;box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);}
.dig-badge-row{display: flex;align-items: center;justify-content: space-between;gap: 6px;}
.badge-unread-recommend{font-size: 0.66rem;font-weight: 800;color: #ea580c;background: rgba(234, 88, 12, 0.12);padding: 2px 8px;border-radius: 4px;display: inline-flex;align-items: center;gap: 4px;}
.badge-already-owned{font-size: 0.66rem;font-weight: 800;color: #16a34a;background: rgba(22, 163, 74, 0.12);padding: 2px 8px;border-radius: 4px;display: inline-flex;align-items: center;gap: 4px;}
.curation-section-box, .playlist-section-box{background: var(--bg-card, #ffffff);border: 1.5px solid var(--border-color, #e2e8f0);border-radius: 14px;padding: 20px 22px;margin-bottom: 24px;box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);}
html[data-theme="dark"] .curation-section-box, html[data-theme="dark"] .playlist-section-box{background: #1e293b;border-color: #334155;box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);}
.curation-section-header, .playlist-section-header{display: flex;align-items: center;justify-content: space-between;margin-bottom: 18px;flex-wrap: wrap;gap: 12px;}
.curation-grid, .playlist-grid{display: grid;grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));gap: 18px;}
@media (max-width: 640px){.curation-grid, .playlist-grid{grid-template-columns: 1fr;}}
.curation-stand-card, .playlist-card{background: var(--bg-body, #f8fafc);border: 1.5px solid var(--border-color, #e2e8f0);border-radius: 14px;padding: 16px 18px;display: flex;flex-direction: column;gap: 12px;position: relative;transition: all 0.22s ease;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);}
.curation-stand-card:hover, .playlist-card:hover{border-color: #ea580c;box-shadow: 0 8px 24px rgba(234, 88, 12, 0.12);transform: translateY(-2px);}
html[data-theme="dark"] .curation-stand-card, html[data-theme="dark"] .playlist-card{background: #0f172a;border-color: #334155;}
html[data-theme="dark"] .curation-stand-card:hover, html[data-theme="dark"] .playlist-card:hover{border-color: #f97316;box-shadow: 0 8px 24px rgba(249, 115, 22, 0.18);}
.curation-stand-card.card-public{border: 2px solid #10b981;box-shadow: 0 3px 12px rgba(16, 185, 129, 0.09);}
.curation-stand-card.card-public:hover{border-color: #059669;box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2);}
html[data-theme="dark"] .curation-stand-card.card-public{border-color: #059669;box-shadow: 0 3px 12px rgba(16, 185, 129, 0.18);}
html[data-theme="dark"] .curation-stand-card.card-public:hover{border-color: #10b981;box-shadow: 0 8px 24px rgba(16, 185, 129, 0.28);}
.curation-stand-card.card-private{border: 2px solid #f59e0b;box-shadow: 0 3px 12px rgba(245, 158, 11, 0.09);}
.curation-stand-card.card-private:hover{border-color: #d97706;box-shadow: 0 8px 24px rgba(245, 158, 11, 0.2);}
html[data-theme="dark"] .curation-stand-card.card-private{border-color: #d97706;box-shadow: 0 3px 12px rgba(245, 158, 11, 0.18);}
html[data-theme="dark"] .curation-stand-card.card-private:hover{border-color: #f59e0b;box-shadow: 0 8px 24px rgba(245, 158, 11, 0.28);}
.curation-status-pill{font-size: 0.68rem;font-weight: 800;padding: 2px 9px;border-radius: 999px;display: inline-flex;align-items: center;gap: 4px;letter-spacing: 0.02em;}
.curation-status-pill.status-public{color: #065f46;background: #ecfdf5;border: 1px solid #a7f3d0;}
html[data-theme="dark"] .curation-status-pill.status-public{color: #a7f3d0;background: rgba(16, 185, 129, 0.18);border-color: rgba(16, 185, 129, 0.35);}
.curation-status-pill.status-private{color: #92400e;background: #fffbeb;border: 1px solid #fde68a;}
html[data-theme="dark"] .curation-status-pill.status-private{color: #fde68a;background: rgba(245, 158, 11, 0.18);border-color: rgba(245, 158, 11, 0.35);}
.status-pulse-dot{display: inline-block;width: 6px;height: 6px;border-radius: 50%;background: #10b981;box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);}
.curation-filter-pills{display: inline-flex;align-items: center;background: var(--bg-sub, #f1f5f9);padding: 3px;border-radius: 999px;border: 1px solid var(--border-color, #e2e8f0);gap: 3px;}
html[data-theme="dark"] .curation-filter-pills{background: #0f172a;border-color: #334155;}
.curation-filter-btn{border: none;background: transparent;padding: 4px 12px;font-size: 0.72rem;font-weight: 700;color: var(--text-sub, #64748b);border-radius: 999px;cursor: pointer;transition: all 0.18s ease;white-space: nowrap;display: inline-flex;align-items: center;gap: 5px;}
.curation-filter-btn:hover{color: var(--text-main, #1e293b);}
.curation-filter-btn.active{background: #ffffff;color: var(--text-main, #0f172a);font-weight: 800;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);}
html[data-theme="dark"] .curation-filter-btn.active{background: #334155;color: #f8fafc;}
.curation-filter-btn.active.filter-public{color: #047857;border: 1px solid #10b981;}
html[data-theme="dark"] .curation-filter-btn.active.filter-public{color: #6ee7b7;border-color: #059669;}
.curation-filter-btn.active.filter-private{color: #b45309;border: 1px solid #f59e0b;}
html[data-theme="dark"] .curation-filter-btn.active.filter-private{color: #fcd34d;border-color: #d97706;}
.curation-expand-container{display: flex;justify-content: center;margin-top: 20px;}
.curation-expand-toggle-btn{display: inline-flex;align-items: center;justify-content: center;gap: 8px;padding: 9px 26px;border-radius: 999px;background: var(--bg-card, #ffffff);border: 1.5px solid var(--border-color, #e2e8f0);color: var(--text-main, #1e293b);font-size: 0.82rem;font-weight: 700;cursor: pointer;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);}
.curation-expand-toggle-btn:hover{border-color: #ea580c;color: #ea580c;background: rgba(234, 88, 12, 0.04);transform: translateY(-1px);box-shadow: 0 4px 14px rgba(234, 88, 12, 0.16);}
.curation-expand-toggle-btn.is-expanded{color: var(--text-sub, #64748b);background: var(--bg-body, #f8fafc);border-color: var(--border-color, #e2e8f0);}
.curation-expand-toggle-btn.is-expanded:hover{color: var(--text-main, #0f172a);border-color: var(--text-sub, #94a3b8);background: var(--bg-card, #ffffff);}
html[data-theme="dark"] .curation-expand-toggle-btn{background: #1e293b;border-color: #334155;color: #f1f5f9;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);}
html[data-theme="dark"] .curation-expand-toggle-btn:hover{border-color: #f97316;color: #f97316;background: rgba(249, 115, 22, 0.1);}
html[data-theme="dark"] .curation-expand-toggle-btn.is-expanded{background: #0f172a;border-color: #334155;color: #94a3b8;}
html[data-theme="dark"] .curation-expand-toggle-btn.is-expanded:hover{color: #f8fafc;border-color: #64748b;}
.curation-expand-badge{display: inline-flex;align-items: center;justify-content: center;font-size: 0.70rem;font-weight: 800;padding: 1px 7px;border-radius: 999px;background: rgba(234, 88, 12, 0.12);color: #ea580c;}
.curation-card-top, .playlist-card-top{display: flex;align-items: center;justify-content: space-between;gap: 8px;flex-wrap: wrap;}
.curation-badge, .playlist-badge{display: inline-flex;align-items: center;gap: 4px;font-size: 0.68rem;font-weight: 800;padding: 3px 10px;border-radius: 999px;background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);color: #fff;box-shadow: 0 2px 6px rgba(234, 88, 12, 0.25);}
.curation-curator-row{display: flex;align-items: center;gap: 8px;margin-bottom: 2px;}
.curation-curator-avatar{width: 26px;height: 26px;border-radius: 50%;background: linear-gradient(135deg, #f97316, #ea580c);color: #fff;font-weight: 800;font-size: 0.72rem;display: inline-flex;align-items: center;justify-content: center;flex-shrink: 0;}
.curation-curator-name{font-size: 0.78rem;font-weight: 800;color: var(--text-main);}
.curation-curator-badge{font-size: 0.65rem;color: var(--text-sub);background: rgba(0, 0, 0, 0.05);padding: 1px 6px;border-radius: 4px;}
html[data-theme="dark"] .curation-curator-badge{background: rgba(255, 255, 255, 0.08);}
.curation-title, .playlist-title{font-size: 1.02rem;font-weight: 800;color: var(--text-main);margin: 2px 0 3px;line-height: 1.35;}
.curation-desc, .playlist-desc{font-size: 0.76rem;color: var(--text-sub);line-height: 1.5;margin: 0;}
.curation-stand-shelf, .playlist-books-row{display: flex;gap: 12px;align-items: flex-end;padding: 12px 14px 10px;background: linear-gradient(180deg, rgba(245, 158, 11, 0.03) 0%, rgba(245, 158, 11, 0.09) 100%);border: 1px solid rgba(245, 158, 11, 0.18);border-bottom: 3.5px solid #d97706;border-radius: 8px;overflow-x: auto;-webkit-overflow-scrolling: touch;scrollbar-width: none;position: relative;}
html[data-theme="dark"] .curation-stand-shelf, html[data-theme="dark"] .playlist-books-row{background: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.8) 100%);border-color: rgba(245, 158, 11, 0.25);border-bottom-color: #b45309;}
.curation-stand-shelf::-webkit-scrollbar, .playlist-books-row::-webkit-scrollbar{display: none;}
.curation-book-stand-item, .playlist-book-thumb{position: relative;width: 64px;height: 92px;border-radius: 3px 6px 6px 3px;overflow: hidden;flex-shrink: 0;box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.18), -1px 0 2px rgba(0, 0, 0, 0.06);border-left: 2.5px solid rgba(0, 0, 0, 0.15);background: #e2e8f0;cursor: pointer;transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);}
.curation-book-stand-item:hover, .playlist-book-thumb:hover{transform: translateY(-5px) scale(1.05);box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);z-index: 2;}
.curation-book-stand-item img, .playlist-book-thumb img{width: 100%;height: 100%;object-fit: cover;display: block;}
.curation-book-stand-item.is-secret, .playlist-book-thumb.is-secret{border: 1.5px solid #f59e0b;}
.curation-book-stand-item.is-secret img, .playlist-book-thumb.is-secret img{filter: blur(8px) brightness(0.7);transform: scale(1.15);}
.secret-overlay{position: absolute;inset: 0;display: flex;flex-direction: column;align-items: center;justify-content: center;background: rgba(15, 23, 42, 0.6);backdrop-filter: blur(4px);-webkit-backdrop-filter: blur(4px);color: #fbbf24;text-align: center;padding: 2px;}
.secret-lock-icon{font-size: 0.95rem;line-height: 1;margin-bottom: 2px;}
.secret-label{font-size: 0.52rem;font-weight: 800;letter-spacing: -0.2px;color: #f8fafc;text-shadow: 0 1px 3px rgba(0,0,0,0.8);line-height: 1.1;}
.curation-sale-badge{position: absolute;top: 3px;left: 3px;z-index: 3;background: #dc2626;color: #ffffff;font-size: 0.5rem;font-weight: 900;padding: 1.5px 4px;border-radius: 3px;letter-spacing: -0.2px;line-height: 1.15;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.38);pointer-events: none;}
.curation-book-kininaru-mini-btn{position: absolute;bottom: 0;left: 0;right: 0;z-index: 3;background: rgba(15, 23, 42, 0.84);color: #ffffff;border: none;border-top: 1px solid rgba(255, 255, 255, 0.2);font-size: 0.52rem;font-weight: 800;padding: 2px 2px;text-align: center;cursor: pointer;line-height: 1.25;transition: background 0.15s ease, color 0.15s ease;}
.curation-book-kininaru-mini-btn:hover{background: #059669;color: #ffffff;}
.curation-book-kininaru-mini-btn.is-saved{background: rgba(5, 150, 105, 0.9);color: #ecfdf5;}
.curation-book-kininaru-mini-btn.is-owned{background: rgba(217, 119, 6, 0.92);color: #fffbeb;}
.curation-card-sale-pill{display: inline-flex;align-items: center;gap: 3px;font-size: 0.64rem;font-weight: 800;padding: 1.5px 7px;border-radius: 999px;background: rgba(220, 38, 38, 0.1);color: #dc2626;border: 1px solid rgba(220, 38, 38, 0.32);line-height: 1.3;}
.curation-card-sale-pill.is-clickable{cursor: pointer;transition: all 0.15s ease;}
.curation-card-sale-pill.is-clickable:hover{background: #dc2626;color: #ffffff;border-color: #dc2626;}
.curation-main-pin-pill{display: inline-flex;align-items: center;gap: 3px;font-size: 0.64rem;font-weight: 800;padding: 1.5px 7px;border-radius: 999px;border: 1px dashed rgba(217, 119, 6, 0.45);background: rgba(245, 158, 11, 0.06);color: #b45309;cursor: pointer;line-height: 1.3;transition: all 0.15s ease;}
.curation-main-pin-pill:hover{background: rgba(245, 158, 11, 0.18);border-style: solid;}
.curation-main-pin-pill.is-pinned{border: 1px solid rgba(217, 119, 6, 0.65);background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(234, 88, 12, 0.14));color: #b45309;cursor: default;}
.curation-card-sync-pill{display: inline-flex;align-items: center;gap: 3px;font-size: 0.64rem;font-weight: 800;padding: 1.5px 7px;border-radius: 999px;background: rgba(245, 158, 11, 0.14);color: #b45309;border: 1px solid rgba(245, 158, 11, 0.38);line-height: 1.3;}
.curation-books-mini-bar{display: flex;flex-wrap: wrap;gap: 5px;margin-top: -2px;}
.curation-book-mini-chip{display: inline-flex;align-items: center;gap: 4px;padding: 2px 6px 2px 7px;border-radius: 6px;background: var(--bg-main, #f8fafc);border: 1px solid var(--border-color, #e2e8f0);font-size: 0.67rem;line-height: 1.3;max-width: 100%;}
.curation-book-mini-title{font-weight: 700;color: var(--text-main);cursor: pointer;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;max-width: 135px;}
.curation-book-mini-title:hover{color: #ea580c;text-decoration: underline;}
.curation-inline-sale-tag{font-size: 0.58rem;font-weight: 900;padding: 0.5px 4px;border-radius: 3px;background: rgba(220, 38, 38, 0.12);color: #dc2626;border: 1px solid rgba(220, 38, 38, 0.3);flex-shrink: 0;}
.curation-mini-wish-btn{font-size: 0.61rem;font-weight: 800;padding: 1px 5px;border-radius: 4px;border: 1px solid rgba(5, 150, 105, 0.38);background: rgba(5, 150, 105, 0.08);color: #059669;cursor: pointer;flex-shrink: 0;transition: all 0.15s ease;}
.curation-mini-wish-btn:hover{background: #059669;color: #ffffff;}
.curation-mini-wish-btn.is-saved{background: rgba(5, 150, 105, 0.15);color: #047857;border-color: rgba(5, 150, 105, 0.45);}
.curation-mini-wish-btn.is-owned{background: rgba(245, 158, 11, 0.15);color: #b45309;border-color: rgba(245, 158, 11, 0.45);}
.curation-memo-pad{background: rgba(254, 243, 199, 0.45);border: 1px solid rgba(245, 158, 11, 0.25);border-left: 3.5px solid #f59e0b;border-radius: 8px;padding: 10px 12px;display: flex;flex-direction: column;gap: 6px;position: relative;}
html[data-theme="dark"] .curation-memo-pad{background: rgba(30, 41, 59, 0.7);border-color: rgba(245, 158, 11, 0.25);border-left-color: #f59e0b;}
.curation-memo-header{display: flex;align-items: center;justify-content: space-between;font-size: 0.72rem;font-weight: 800;color: #b45309;}
html[data-theme="dark"] .curation-memo-header{color: #fbbf24;}
.curation-memo-text{font-size: 0.78rem;line-height: 1.55;color: var(--text-main);white-space: pre-line;margin: 0;}
.curation-memo-placeholder{font-size: 0.74rem;line-height: 1.45;color: var(--text-muted);cursor: pointer;border: 1px dashed rgba(245, 158, 11, 0.4);border-radius: 6px;padding: 7px 10px;transition: all 0.15s;background: rgba(255, 255, 255, 0.4);}
html[data-theme="dark"] .curation-memo-placeholder{background: rgba(15, 23, 42, 0.4);}
.curation-memo-placeholder:hover{background: rgba(245, 158, 11, 0.12);color: var(--text-main);}
.btn-quick-memo-edit{font-size: 0.68rem;padding: 2px 7px;background: transparent;border: 1px solid rgba(180, 83, 9, 0.3);border-radius: 4px;color: #b45309;cursor: pointer;font-weight: 700;transition: all 0.15s;}
html[data-theme="dark"] .btn-quick-memo-edit{color: #fbbf24;border-color: rgba(251, 191, 36, 0.3);}
.btn-quick-memo-edit:hover{background: #f59e0b;color: #fff;}
.curation-actions-row, .playlist-actions-row{display: flex;align-items: center;justify-content: space-between;gap: 8px;margin-top: auto;padding-top: 10px;border-top: 1px dashed var(--border-color, #e2e8f0);flex-wrap: wrap;}
.share-preview-modal-box{max-width: 780px !important;width: 95% !important;max-height: 92vh !important;display: flex;flex-direction: column;padding: 0 !important;overflow: hidden;border-radius: 16px !important;background: var(--bg-card, #ffffff);border: 1.5px solid var(--border-color, #e2e8f0);}
html[data-theme="dark"] .share-preview-modal-box{background: #111827;border-color: #374151;}
.share-modal-header{padding: 14px 20px;display: flex;align-items: center;justify-content: space-between;border-bottom: 1px solid var(--border-color, #e2e8f0);background: var(--bg-body, #f8fafc);flex-shrink: 0;}
html[data-theme="dark"] .share-modal-header{background: #1f2937;border-bottom-color: #374151;}
.share-modal-title{font-size: 1.05rem;font-weight: 800;color: var(--text-main);display: flex;align-items: center;gap: 8px;margin: 0;}
.share-modal-body{padding: 20px;overflow-y: auto;display: flex;flex-direction: column;gap: 16px;align-items: center;}
.share-controls-row{display: flex;align-items: center;justify-content: space-between;gap: 12px;width: 100%;max-width: 520px;flex-wrap: wrap;}
@media (max-width: 480px){.share-controls-row{justify-content: center;gap: 8px;}}
.share-format-tabs{display: inline-flex;background: rgba(0, 0, 0, 0.06);padding: 4px;border-radius: 999px;gap: 4px;}
html[data-theme="dark"] .share-format-tabs{background: rgba(255, 255, 255, 0.08);}
.share-tab-pill{border: none;background: transparent;padding: 6px 14px;border-radius: 999px;font-size: 0.78rem;font-weight: 700;color: var(--text-sub);cursor: pointer;transition: all 0.15s ease;display: inline-flex;align-items: center;gap: 5px;}
.share-tab-pill.active{background: #ffffff;color: #0f172a;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);}
html[data-theme="dark"] .share-tab-pill.active{background: #374151;color: #f8fafc;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);}
.share-theme-selector-bar{display: inline-flex;align-items: center;gap: 6px;}
.share-theme-label{font-size: 0.74rem;font-weight: 700;color: var(--text-sub);}
.share-theme-pills{display: inline-flex;background: rgba(0, 0, 0, 0.05);padding: 3px;border-radius: 999px;gap: 3px;}
html[data-theme="dark"] .share-theme-pills{background: rgba(255, 255, 255, 0.08);}
.share-theme-pill{border: none;background: transparent;padding: 4px 10px;border-radius: 999px;font-size: 0.72rem;font-weight: 700;color: var(--text-sub);cursor: pointer;transition: all 0.15s ease;display: inline-flex;align-items: center;gap: 5px;}
.share-theme-pill:hover{color: var(--text-main);}
.share-theme-pill.active{background: #ffffff;color: #0f172a;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);}
html[data-theme="dark"] .share-theme-pill.active{background: #374151;color: #f8fafc;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);}
.theme-swatch{display: inline-block;width: 10px;height: 10px;border-radius: 50%;border: 1.5px solid;box-sizing: border-box;}
.share-canvas-wrap{max-width: 440px;width: 100%;border-radius: 12px;overflow: hidden;box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);border: 1px solid var(--border-color, #e2e8f0);background: var(--bg-card, #ffffff);flex-shrink: 0;margin: 0 auto;display: flex;justify-content: center;align-items: center;transition: max-width 0.25s cubic-bezier(0.16, 1, 0.3, 1);}
.share-canvas-wrap.is-story{max-width: 295px;}
.share-canvas-wrap canvas{max-width: 100%;max-height: 54vh;width: auto;height: auto;display: block;border-radius: 10px;}
.share-quick-channels{width: 100%;max-width: 520px;background: var(--bg-body, #f8fafc);border: 1px solid var(--border-color, #e2e8f0);border-radius: 12px;padding: 12px 14px;box-sizing: border-box;}
html[data-theme="dark"] .share-quick-channels{background: #1f2937;border-color: #374151;}
.share-channels-title{font-size: 0.74rem;font-weight: 800;color: var(--text-sub);margin-bottom: 10px;display: flex;align-items: center;gap: 6px;}
.share-channels-grid{display: grid;grid-template-columns: repeat(4, 1fr);gap: 10px 8px;}
@media (max-width: 420px){.share-channels-grid{grid-template-columns: repeat(4, 1fr);gap: 8px 4px;}}
.channel-btn{display: flex;flex-direction: column;align-items: center;justify-content: center;background: transparent;border: none;padding: 6px 4px;border-radius: 10px;cursor: pointer;transition: all 0.16s ease;gap: 5px;color: var(--text-main);text-decoration: none;}
.channel-btn:hover{background: rgba(0, 0, 0, 0.05);transform: translateY(-2px);}
html[data-theme="dark"] .channel-btn:hover{background: rgba(255, 255, 255, 0.08);}
.channel-btn:active{transform: scale(0.94);}
.channel-icon{width: 42px;height: 42px;border-radius: 12px;display: flex;align-items: center;justify-content: center;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);transition: all 0.16s ease;}
@media (max-width: 420px){.channel-icon{width: 36px;height: 36px;border-radius: 10px;}}
.channel-label{font-size: 0.7rem;font-weight: 700;color: var(--text-sub);text-align: center;white-space: nowrap;line-height: 1.1;}
.channel-btn:hover .channel-label{color: var(--text-main);}
.icon-native{background: linear-gradient(135deg, #3b82f6, #1d4ed8);color: #ffffff;}
.icon-link{background: linear-gradient(135deg, #64748b, #475569);color: #ffffff;}
.icon-line{background: #06c755;color: #ffffff;}
.icon-insta{background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);color: #ffffff;}
.icon-x{background: #000000;color: #ffffff;border: 1px solid rgba(255, 255, 255, 0.15);}
html[data-theme="dark"] .icon-x{background: #111827;border-color: #374151;}
.icon-sms{background: linear-gradient(135deg, #10b981, #059669);color: #ffffff;}
.icon-gmail{background: #ffffff;color: #ea4335;border: 1.5px solid #ea4335;}
html[data-theme="dark"] .icon-gmail{background: #1e293b;border-color: #ef4444;color: #ef4444;}
.icon-download{background: linear-gradient(135deg, #ea580c, #f59e0b);color: #ffffff;}
.share-caption-box{width: 100%;max-width: 520px;background: var(--bg-body, #f8fafc);border: 1px solid var(--border-color, #e2e8f0);border-radius: 10px;padding: 12px 14px;box-sizing: border-box;}
html[data-theme="dark"] .share-caption-box{background: #1f2937;border-color: #374151;}
.share-caption-title{font-size: 0.76rem;font-weight: 800;color: var(--text-sub);margin-bottom: 6px;display: flex;align-items: center;justify-content: space-between;}
.share-caption-textarea{width: 100%;height: 64px;border: 1px solid var(--border-color, #cbd5e1);border-radius: 6px;padding: 8px;font-size: 0.78rem;line-height: 1.4;background: var(--bg-card, #ffffff);color: var(--text-main);box-sizing: border-box;resize: none;font-family: inherit;}
html[data-theme="dark"] .share-caption-textarea{background: #111827;border-color: #4b5563;color: #f8fafc;}
.share-actions-bar{display: flex;gap: 10px;flex-wrap: wrap;justify-content: center;width: 100%;max-width: 520px;}
.mybookshelf-hero-box{background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(99, 102, 241, 0.03) 100%);border: 1px solid rgba(14, 165, 233, 0.25);border-radius: 14px;padding: 16px 20px;margin-bottom: 20px;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);}
html[data-theme="dark"] .mybookshelf-hero-box{background: linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, rgba(99, 102, 241, 0.05) 100%);border-color: rgba(56, 189, 248, 0.3);box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);}
.mypage-top-nav{display: flex;align-items: center;justify-content: space-between;gap: 12px;flex-wrap: wrap;background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 12px;padding: 10px 16px;margin-bottom: 12px;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);}
html[data-theme="light"] .mypage-top-nav{background: #faf8f5;border-color: #e7e2d8;}
.mypage-breadcrumb{display: flex;align-items: center;gap: 8px;font-size: 0.82rem;color: #94a3b8;flex-wrap: wrap;}
html[data-theme="light"] .mypage-breadcrumb{color: #64748b;}
.mypage-breadcrumb a{color: #7c3aed;text-decoration: none;font-weight: 700;transition: color 0.15s;display: inline-flex;align-items: center;gap: 4px;}
.mypage-breadcrumb a:hover{text-decoration: underline;color: #6d28d9;}
html[data-theme="dark"] .mypage-breadcrumb a{color: #a78bfa;}
html[data-theme="dark"] .mypage-breadcrumb a:hover{color: #c4b5fd;}
.mypage-breadcrumb-current{font-weight: 800;color: var(--text-main);}
.mypage-membership-chip{display: inline-flex;align-items: center;gap: 6px;padding: 7px 14px;border-radius: 999px;font-size: 0.82rem;font-weight: 800;background: rgba(124, 58, 237, 0.08);border: 1.5px solid rgba(124, 58, 237, 0.35);color: #7c3aed;cursor: pointer;white-space: nowrap;flex-shrink: 0;transition: all 0.2s ease;user-select: none;box-shadow: 0 2px 6px rgba(124, 58, 237, 0.08);}
.mypage-membership-chip:hover{background: rgba(124, 58, 237, 0.16);border-color: #7c3aed;box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);transform: translateY(-1px);}
.mypage-membership-chip.is-premium{background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(217, 119, 6, 0.22));border-color: #f59e0b;color: #d97706;}
.mypage-membership-chip.is-free{background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);border-color: #38bdf8;color: #ffffff;box-shadow: 0 2px 8px rgba(2, 132, 199, 0.28);}
.mypage-membership-chip.is-guest{background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(234, 88, 12, 0.16));border-color: rgba(234, 88, 12, 0.38);color: #ea580c;}
html[data-theme="dark"] .mypage-membership-chip{background: rgba(139, 92, 246, 0.15);border-color: rgba(167, 139, 250, 0.4);color: #c4b5fd;}
html[data-theme="dark"] .mypage-membership-chip.is-premium{background: rgba(245, 158, 11, 0.2);border-color: #f59e0b;color: #fbbf24;}
html[data-theme="dark"] .mypage-membership-chip.is-free{background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);border-color: #38bdf8;color: #ffffff;}
html[data-theme="dark"] .mypage-membership-chip.is-guest{background: rgba(249, 115, 22, 0.18);border-color: rgba(249, 115, 22, 0.42);color: #fb923c;}
.mypage-nav-container{display: flex;flex-direction: column;gap: 9px;margin-top: 14px;}
.mypage-nav-row{display: flex;align-items: center;gap: 8px;overflow-x: auto;-webkit-overflow-scrolling: touch;scrollbar-width: none;flex-wrap: nowrap;padding: 2px 2px 4px 2px;}
.mypage-nav-row::-webkit-scrollbar{display: none;}
.mypage-nav-row-premium{padding-top: 8px;border-top: 1px dashed rgba(124, 58, 237, 0.18);}
html[data-theme="dark"] .mypage-nav-row-premium{border-top-color: rgba(168, 85, 247, 0.22);}
.mypage-nav-pill{display: inline-flex;align-items: center;gap: 6px;padding: 7px 14px;border-radius: 999px;font-size: 0.82rem;font-weight: 800;background: var(--bg-card);border: 1.5px solid rgba(124, 58, 237, 0.3);color: #6b21a8;cursor: pointer;transition: all 0.2s ease;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);box-sizing: border-box;white-space: nowrap;flex-shrink: 0;}
html[data-theme="light"] .mypage-nav-pill{background: #ffffff;color: #6b21a8;border-color: rgba(124, 58, 237, 0.28);}
html[data-theme="dark"] .mypage-nav-pill{background: #1e1b2e;border-color: rgba(168, 85, 247, 0.35);color: #e9d5ff;}
.mypage-nav-pill:hover{border-color: #7c3aed;color: #7c3aed;background: rgba(124, 58, 237, 0.08);box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);}
.mypage-nav-pill.active{background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;border-color: #7c3aed !important;color: #ffffff !important;box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);}
.mypage-nav-pill.active .mypage-nav-badge{background: rgba(255, 255, 255, 0.25);color: #ffffff;border-color: rgba(255, 255, 255, 0.4);}
.mypage-nav-badge{display: inline-flex;align-items: center;justify-content: center;min-width: 18px;height: 18px;padding: 0 6px;border-radius: 999px;font-size: 0.7rem;font-weight: 900;background: rgba(124, 58, 237, 0.1);color: #7c3aed;border: 1px solid rgba(124, 58, 237, 0.25);}
.mypage-nav-pill.mypage-pill-premium{border-color: rgba(245, 158, 11, 0.4) !important;color: #d97706 !important;background: rgba(245, 158, 11, 0.06);}
.mypage-nav-pill.mypage-pill-premium:hover{background: rgba(245, 158, 11, 0.14) !important;border-color: #f59e0b !important;color: #b45309 !important;}
html[data-theme="dark"] .mypage-nav-pill.mypage-pill-premium{color: #fbbf24 !important;border-color: rgba(245, 158, 11, 0.5) !important;background: rgba(245, 158, 11, 0.1);}
.mypage-premium-btn.is-disabled{opacity: 0.5;filter: grayscale(0.85);cursor: not-allowed !important;background: var(--bg-card-sub, #f1f5f9) !important;border-color: var(--border-color, #e2e8f0) !important;color: var(--text-muted, #64748b) !important;box-shadow: none !important;}
.mypage-premium-btn.is-disabled:hover{transform: none !important;background: var(--bg-card-sub, #f1f5f9) !important;border-color: var(--border-color, #e2e8f0) !important;color: var(--text-muted, #64748b) !important;box-shadow: none !important;}
.mypage-premium-btn.is-active{opacity: 1;filter: none;cursor: pointer;background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(217, 119, 6, 0.18)) !important;border-color: rgba(245, 158, 11, 0.5) !important;color: #b45309 !important;}
.mypage-premium-btn.is-active:hover{background: linear-gradient(135deg, #f59e0b, #d97706) !important;color: #ffffff !important;border-color: #d97706 !important;box-shadow: 0 3px 10px rgba(245, 158, 11, 0.35) !important;transform: translateY(-1px);}
.mypage-lock-badge{font-size: 0.66rem;background: rgba(100, 116, 139, 0.18);color: var(--text-muted);padding: 1px 5px;border-radius: 999px;font-weight: 800;margin-left: 2px;}
.mypage-premium-btn.is-active .mypage-lock-badge{display: none;}
@media (max-width: 768px){.mypage-nav-container{gap: 7px;}.mypage-nav-row{gap: 6px;}.mypage-nav-pill{padding: 6px 12px;font-size: 0.76rem;}.mypage-membership-chip{padding: 6px 12px;font-size: 0.76rem;}}
.direct-store-btn{display: flex;align-items: center;justify-content: space-between;padding: 10px 14px;border-radius: 10px;text-decoration: none;border: 1.5px solid var(--border-color, #e2e8f0);background: var(--bg-card, #ffffff);transition: all 0.2s ease;box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);}
.direct-store-btn:hover{transform: translateY(-2px);box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);border-color: #ea580c;}
.direct-store-btn .store-badge{font-size: 0.74rem;font-weight: 800;padding: 3px 8px;border-radius: 6px;transition: all 0.15s ease;}
.direct-store-btn .store-badge.kindle{background: #fff7ed;color: #c2410c;border: 1px solid #fed7aa;}
.direct-store-btn .store-badge.kobo{background: #fef2f2;color: #b91c1c;border: 1px solid #fecaca;}
.direct-store-btn .store-badge.ebook{background: #f0fdf4;color: #15803d;border: 1px solid #bbf7d0;}
.direct-store-btn .store-badge.dmm{background: #faf5ff;color: #7e22ce;border: 1px solid #e9d5ff;}
html[data-theme="dark"] .direct-store-btn .store-badge.kindle{background: rgba(234, 88, 12, 0.2);color: #fb923c;border-color: rgba(234, 88, 12, 0.4);}
html[data-theme="dark"] .direct-store-btn .store-badge.kobo{background: rgba(239, 68, 68, 0.2);color: #f87171;border-color: rgba(239, 68, 68, 0.4);}
html[data-theme="dark"] .direct-store-btn .store-badge.ebook{background: rgba(34, 197, 94, 0.2);color: #4ade80;border-color: rgba(34, 197, 94, 0.4);}
html[data-theme="dark"] .direct-store-btn .store-badge.dmm{background: rgba(168, 85, 247, 0.2);color: #c084fc;border-color: rgba(168, 85, 247, 0.4);}
.mypage-simulator-card{margin-bottom: 24px;transition: transform 0.2s, box-shadow 0.2s;}
.mypage-simulator-inner{background: var(--bg-card);border: 1.5px solid rgba(99, 102, 241, 0.28);border-radius: 14px;padding: 18px 20px;box-shadow: 0 4px 15px rgba(99, 102, 241, 0.05);display: flex;justify-content: space-between;align-items: center;flex-wrap: wrap;gap: 14px;transition: border-color 0.2s, box-shadow 0.2s;}
.mypage-simulator-inner:hover{border-color: rgba(99, 102, 241, 0.5);box-shadow: 0 6px 20px rgba(99, 102, 241, 0.1);}
html[data-theme="dark"] .mypage-simulator-inner{background: #151c27;border-color: rgba(129, 140, 248, 0.35);box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);}
.mypage-purchase-dashboard{background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 16px;padding: 18px 20px;margin-bottom: 28px;box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);transition: all 0.2s ease;}
html[data-theme="dark"] .mypage-purchase-dashboard{background: var(--bg-card);border-color: var(--border-color);box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);}
.mypage-dashboard-header{display: flex;justify-content: space-between;align-items: center;margin-bottom: 16px;flex-wrap: wrap;gap: 12px;}
.mypage-dashboard-title-group{display: flex;align-items: center;gap: 10px;flex-wrap: wrap;}
.mypage-dashboard-badge{display: inline-flex;align-items: center;gap: 5px;font-size: 0.74rem;font-weight: 800;padding: 3px 10px;border-radius: 999px;background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(5, 150, 105, 0.18));color: #059669;border: 1px solid rgba(16, 185, 129, 0.3);}
html[data-theme="dark"] .mypage-dashboard-badge{background: rgba(16, 185, 129, 0.2);color: #34d399;border-color: rgba(52, 211, 153, 0.35);}
.mypage-dashboard-title{font-size: 1.05rem;font-weight: 900;color: var(--text-main);margin: 0;display: flex;align-items: center;gap: 6px;}
.mypage-dashboard-actions{display: flex;align-items: center;gap: 8px;flex-wrap: wrap;}
.mypage-metrics-grid{display: grid;grid-template-columns: repeat(4, 1fr);gap: 12px;}
.mypage-metric-card{background: var(--bg-main, #fafaf9);border: 1.5px solid var(--border-color);border-radius: 14px;padding: 14px 16px;display: flex;flex-direction: column;justify-content: space-between;position: relative;overflow: hidden;transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;}
.mypage-metric-card:hover{transform: translateY(-2px);box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);}
html[data-theme="dark"] .mypage-metric-card{background: rgba(255, 255, 255, 0.03);border-color: rgba(255, 255, 255, 0.08);}
.mypage-metric-card.this-month-price{border-top: 3px solid #ea580c;}
.mypage-metric-card.this-month-count{border-top: 3px solid #10b981;}
.mypage-metric-card.this-year-price{border-top: 3px solid #6366f1;}
.mypage-metric-card.this-year-count{border-top: 3px solid #0284c7;}
.metric-card-top{display: flex;justify-content: space-between;align-items: center;margin-bottom: 8px;}
.metric-label{font-size: 0.76rem;font-weight: 800;color: var(--text-sub);}
.metric-tag{font-size: 0.68rem;font-weight: 800;padding: 2px 7px;border-radius: 999px;}
.metric-tag.month-tag{background: rgba(234, 88, 12, 0.1);color: #ea580c;border: 1px solid rgba(234, 88, 12, 0.25);}
.metric-tag.month-count-tag{background: rgba(16, 185, 129, 0.1);color: #059669;border: 1px solid rgba(16, 185, 129, 0.25);}
.metric-tag.year-tag{background: rgba(99, 102, 241, 0.1);color: #4f46e5;border: 1px solid rgba(99, 102, 241, 0.25);}
.metric-tag.year-count-tag{background: rgba(2, 132, 199, 0.1);color: #0284c7;border: 1px solid rgba(2, 132, 199, 0.25);}
html[data-theme="dark"] .metric-tag.month-tag{background: rgba(234, 88, 12, 0.2);color: #fb923c;}
html[data-theme="dark"] .metric-tag.month-count-tag{background: rgba(16, 185, 129, 0.2);color: #34d399;}
html[data-theme="dark"] .metric-tag.year-tag{background: rgba(99, 102, 241, 0.2);color: #818cf8;}
html[data-theme="dark"] .metric-tag.year-count-tag{background: rgba(2, 132, 199, 0.2);color: #38bdf8;}
.metric-value-row{display: flex;align-items: baseline;gap: 3px;margin-bottom: 6px;}
.metric-currency{font-size: 1.05rem;font-weight: 800;color: var(--text-sub);}
.metric-num{font-size: 1.6rem;font-weight: 900;font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;letter-spacing: -0.5px;color: var(--text-main);line-height: 1.1;}
.this-month-price .metric-num{color: #c2410c;}
.this-month-count .metric-num{color: #047857;}
.this-year-price .metric-num{color: #4338ca;}
.this-year-count .metric-num{color: #0369a1;}
html[data-theme="dark"] .this-month-price .metric-num{color: #fb923c;}
html[data-theme="dark"] .this-month-count .metric-num{color: #34d399;}
html[data-theme="dark"] .this-year-price .metric-num{color: #a5b4fc;}
html[data-theme="dark"] .this-year-count .metric-num{color: #38bdf8;}
.metric-unit{font-size: 0.85rem;font-weight: 800;color: var(--text-sub);margin-left: 2px;}
.metric-sub-note{font-size: 0.72rem;color: var(--text-sub);line-height: 1.35;display: flex;align-items: center;gap: 4px;}
.purchase-history-collapse{margin-top: 16px;padding-top: 16px;border-top: 1px dashed var(--border-color);display: none;}
.purchase-history-collapse.active{display: block;animation: fadeInPurchase 0.25s ease-out;}
@keyframes fadeInPurchase{from{opacity: 0;transform: translateY(-4px);}to{opacity: 1;transform: translateY(0);}}
.purchase-store-share-row{display: flex;align-items: center;gap: 8px;margin-bottom: 14px;flex-wrap: wrap;}
.purchase-store-pill{display: inline-flex;align-items: center;gap: 5px;font-size: 0.72rem;font-weight: 700;padding: 3px 8px;border-radius: 6px;background: var(--bg-main);border: 1px solid var(--border-color);}
.purchase-items-table{width: 100%;border-collapse: collapse;font-size: 0.78rem;}
.purchase-items-table th{text-align: left;padding: 8px 10px;color: var(--text-sub);font-weight: 800;border-bottom: 1.5px solid var(--border-color);white-space: nowrap;}
.purchase-items-table td{padding: 10px 10px;border-bottom: 1px solid var(--border-color);vertical-align: middle;}
.purchase-items-table tr:hover td{background: rgba(0, 0, 0, 0.015);}
html[data-theme="dark"] .purchase-items-table tr:hover td{background: rgba(255, 255, 255, 0.02);}
.purchase-store-badge{font-size: 0.68rem;font-weight: 800;padding: 2px 6px;border-radius: 4px;display: inline-block;white-space: nowrap;}
.purchase-store-badge.kindle{background: #fff7ed;color: #c2410c;border: 1px solid #fed7aa;}
.purchase-store-badge.kobo{background: #fef2f2;color: #b91c1c;border: 1px solid #fecaca;}
.purchase-store-badge.ebook{background: #f0fdf4;color: #15803d;border: 1px solid #bbf7d0;}
.purchase-store-badge.dmm{background: #faf5ff;color: #7e22ce;border: 1px solid #e9d5ff;}
.purchase-store-badge.paper{background: #f5f5f4;color: #57534e;border: 1px solid #e7e5e4;}
.purchase-store-badge.other{background: #f8fafc;color: #475569;border: 1px solid #cbd5e1;}
html[data-theme="dark"] .purchase-store-badge.kindle{background: rgba(234, 88, 12, 0.2);color: #fb923c;border-color: rgba(234, 88, 12, 0.4);}
html[data-theme="dark"] .purchase-store-badge.kobo{background: rgba(239, 68, 68, 0.2);color: #f87171;border-color: rgba(239, 68, 68, 0.4);}
html[data-theme="dark"] .purchase-store-badge.ebook{background: rgba(34, 197, 94, 0.2);color: #4ade80;border-color: rgba(34, 197, 94, 0.4);}
html[data-theme="dark"] .purchase-store-badge.dmm{background: rgba(168, 85, 247, 0.2);color: #c084fc;border-color: rgba(168, 85, 247, 0.4);}
html[data-theme="dark"] .purchase-store-badge.paper{background: rgba(168, 162, 158, 0.2);color: #d6d3d1;border-color: rgba(168, 162, 158, 0.4);}
html[data-theme="dark"] .purchase-store-badge.other{background: rgba(148, 163, 184, 0.2);color: #cbd5e1;border-color: rgba(148, 163, 184, 0.4);}
.purchase-edit-btn, .purchase-del-btn{background: none;border: none;color: var(--text-sub);cursor: pointer;padding: 4px;border-radius: 4px;display: inline-flex;align-items: center;justify-content: center;transition: all 0.15s ease;}
.purchase-edit-btn:hover{color: #0284c7;background: rgba(2, 132, 199, 0.12);}
.purchase-del-btn:hover{color: #ef4444;background: rgba(239, 68, 68, 0.1);}
@media (max-width: 900px){.mypage-metrics-grid{grid-template-columns: repeat(2, 1fr);gap: 10px;}.metric-num{font-size: 1.45rem;}}
@media (max-width: 480px){.mypage-purchase-dashboard{padding: 14px 14px;}.mypage-metrics-grid{grid-template-columns: repeat(2, 1fr);gap: 8px;}.mypage-metric-card{padding: 10px 12px;}.metric-label{font-size: 0.72rem;}.metric-num{font-size: 1.25rem;}.purchase-items-table th:nth-child(2), .purchase-items-table td:nth-child(2){display: none;}}
.mypage-zone-divider{display: flex;align-items: center;justify-content: center;margin: 36px 0 28px 0;position: relative;}
.mypage-zone-divider-line{flex: 1;height: 1.5px;background: linear-gradient(to right, transparent, var(--border-color), transparent);}
.mypage-zone-divider-badge{padding: 0 18px;font-size: 0.74rem;font-weight: 800;color: var(--text-muted);display: flex;align-items: center;gap: 8px;letter-spacing: 0.06em;text-transform: uppercase;white-space: nowrap;}
.mypage-bookshelf-stage-card{padding: 18px 20px;margin-bottom: 28px;position: relative;}
.shelf-plaque-showcase{display: flex;align-items: center;width: 100%;margin: 12px 0 6px;transition: all 0.25s ease;}
#modal-shelf-customize, #modal-shelf-plate{background: rgba(0, 0, 0, 0.12) !important;backdrop-filter: none !important;-webkit-backdrop-filter: none !important;}
@media (min-width: 900px){#modal-shelf-customize, #modal-shelf-plate{justify-content: flex-end !important;align-items: stretch !important;padding: 0 !important;}#modal-shelf-customize .modal-box, #modal-shelf-plate .modal-box{width: 480px !important;max-width: 480px !important;height: 100vh !important;max-height: 100vh !important;border-radius: 0 !important;border-left: 1.5px solid var(--border-color);box-shadow: -10px 0 35px rgba(0, 0, 0, 0.22);margin: 0;animation: shelfDrawerSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);}}
@media (max-width: 899px){#modal-shelf-customize, #modal-shelf-plate{align-items: flex-end !important;padding: 0 !important;}#modal-shelf-customize .modal-box, #modal-shelf-plate .modal-box{width: 100% !important;max-width: 100% !important;max-height: 65vh !important;border-radius: 20px 20px 0 0 !important;margin: 0;animation: shelfDrawerSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);}}
@keyframes shelfDrawerSlideIn{from{transform: translateX(100%);}to{transform: translateX(0);}}
@keyframes shelfDrawerSlideUp{from{transform: translateY(100%);}to{transform: translateY(0);}}
.shelf-plaque-showcase.plaque-align-center{justify-content: center;}
.shelf-plaque-showcase.plaque-align-left{justify-content: flex-start;}
.shelf-plaque-showcase.plaque-align-right{justify-content: flex-end;}
.shelf-plaque-showcase.plaque-align-off{display: none !important;}
.structure-grid-box .virtual-shelf-stage{background-color: rgba(0, 0, 0, 0.04);box-shadow: inset 0 8px 16px rgba(0, 0, 0, 0.18);}
html[data-theme="dark"] .structure-grid-box .virtual-shelf-stage{background-color: rgba(0, 0, 0, 0.16);box-shadow: inset 0 8px 20px rgba(0, 0, 0, 0.45);}
.shelf-grid-divider{width: 14px;height: 98%;align-self: flex-end;background: var(--shelf-wood-outer, #5c2c16);border-radius: 2px;box-shadow: -3px 0 8px rgba(0, 0, 0, 0.35), 3px 0 8px rgba(0, 0, 0, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.2);flex-shrink: 0;margin: 0 10px;position: relative;pointer-events: none;z-index: 1;transition: all 0.25s ease;}
.shelf-grid-divider::before{content: "";position: absolute;top: 0;left: 0;right: 0;height: 3px;background: rgba(0, 0, 0, 0.45);}
.shelf-grid-divider::after{content: "";position: absolute;bottom: 0;left: 0;right: 0;height: 3px;background: rgba(0, 0, 0, 0.5);}
.structure-crate-stack .virtual-shelf-stage{background: rgba(180, 83, 9, 0.07);background-image: repeating-linear-gradient(0deg, rgba(120, 53, 15, 0.05), rgba(120, 53, 15, 0.05) 28px, rgba(69, 26, 3, 0.14) 28px, rgba(69, 26, 3, 0.14) 30px);border: 3.5px solid #92400e;border-radius: 6px;box-shadow: inset 0 8px 18px rgba(0, 0, 0, 0.22), 0 4px 10px rgba(0,0,0,0.12);margin-bottom: 3px;position: relative;}
.structure-crate-stack .virtual-shelf-stage::before{content: "";position: absolute;top: 5px;left: 8px;width: 8px;height: 8px;border-radius: 50%;background: #78350f;box-shadow: 0 0 0 1px rgba(255,255,255,0.25), calc(100% - 24px) 0 0 0 #78350f;opacity: 0.75;pointer-events: none;}
.structure-crate-stack .virtual-shelf-plank{height: 16px;background: linear-gradient(180deg, #b45309 0%, #78350f 70%, #451a03 100%);border-radius: 2px;box-shadow: 0 6px 14px rgba(0,0,0,0.32);border-top: 1.5px solid rgba(255, 255, 255, 0.2);}
html[data-theme="dark"] .structure-crate-stack .virtual-shelf-stage{background: rgba(30, 15, 5, 0.4);border-color: #78350f;box-shadow: inset 0 8px 22px rgba(0, 0, 0, 0.55);}
.reading-sanctuary-stage{display: flex;align-items: flex-end;justify-content: center;gap: 16px;position: relative;margin-top: 10px;width: 100%;}
.sanctuary-shelf-center{flex: 1;min-width: 0;max-width: 100%;order: 2;}
.sanctuary-flank{display: flex;flex-direction: column;align-items: center;justify-content: flex-end;padding-bottom: 2px;position: relative;user-select: none;transition: opacity 0.3s ease, transform 0.3s ease;}
.sanctuary-flank.flank-left{width: 165px;flex-shrink: 0;order: 1;}
.sanctuary-flank.flank-right{width: 140px;flex-shrink: 0;order: 3;}
.sanctuary-nook-composition{display: flex;align-items: flex-end;position: relative;width: 100%;justify-content: center;}
.nook-lamp-col{position: relative;z-index: 2;margin-right: -24px;transform-origin: bottom center;transition: transform 0.2s ease;}
.nook-chair-col{position: relative;z-index: 3;display: flex;flex-direction: column;align-items: center;transform-origin: bottom center;transition: transform 0.2s ease;}
.nook-chair-col:hover, .nook-lamp-col:hover{transform: translateY(-2px);}
.nook-table-col{position: relative;z-index: 4;margin-left: -22px;margin-bottom: 2px;transform-origin: bottom center;transition: transform 0.2s ease;}
.nook-table-col:hover{transform: translateY(-2px);}
.nook-rug-base{position: absolute;bottom: -2px;left: -12px;right: -12px;height: 22px;background: radial-gradient(ellipse at center, rgba(217, 119, 6, 0.22) 0%, rgba(217, 119, 6, 0.08) 60%, transparent 100%);border-radius: 50%;z-index: 1;pointer-events: none;}
html[data-theme="dark"] .nook-rug-base{background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.18) 0%, rgba(245, 158, 11, 0.05) 60%, transparent 100%);}
.nook-rug-base.rug-cream-plush{background: radial-gradient(ellipse at center, rgba(254, 252, 232, 0.8) 0%, rgba(254, 243, 199, 0.45) 55%, transparent 85%);box-shadow: 0 0 16px rgba(254, 240, 138, 0.22);border-radius: 50%;}
.nook-rug-base.rug-boho{background: repeating-linear-gradient(45deg, rgba(180, 83, 9, 0.3) 0, rgba(180, 83, 9, 0.3) 5px, rgba(217, 119, 6, 0.15) 5px, rgba(217, 119, 6, 0.15) 10px);border: 1.5px dashed rgba(180, 83, 9, 0.45);border-radius: 50%;}
@keyframes steamRise{0%{transform: translateY(0) scaleX(1);opacity: 0;}25%{opacity: 0.75;}60%{opacity: 0.45;transform: translateY(-8px) scaleX(1.15) rotate(2deg);}100%{transform: translateY(-16px) scaleX(1.35) rotate(-3deg);opacity: 0;}}
.coffee-steam-group .wave-1{animation: steamRise 2.8s infinite ease-in-out;}
.coffee-steam-group .wave-2{animation: steamRise 3.2s infinite ease-in-out 0.7s;}
.coffee-steam-group .wave-3{animation: steamRise 2.4s infinite ease-in-out 1.3s;}
@keyframes leafGentleSway{0%, 100%{transform: rotate(0deg);}50%{transform: rotate(1.2deg);}}
@keyframes plantSwayClick{0%{transform: scale(1) rotate(0deg);}25%{transform: scale(1.05) rotate(-3deg);}50%{transform: scale(1.05) rotate(2.5deg);}75%{transform: scale(1.02) rotate(-1deg);}100%{transform: scale(1) rotate(0deg);}}
.sanctuary-plant-svg{transform-origin: bottom center;animation: leafGentleSway 6.5s ease-in-out infinite;transition: transform 0.25s ease, filter 0.25s ease;filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.12));}
.sanctuary-plant-svg:hover{transform: scale(1.03) rotate(-1deg);filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));}
.sanctuary-plant-svg.plant-sway-burst{animation: plantSwayClick 0.8s ease-in-out !important;}
.sanctuary-lamp-svg{transition: filter 0.3s ease, transform 0.2s ease;}
.sanctuary-lamp-svg.lamp-is-on{filter: drop-shadow(0 0 14px rgba(245, 158, 11, 0.45));}
.sanctuary-lamp-svg:hover{transform: scale(1.03);}
@media (max-width: 960px){.reading-sanctuary-stage{flex-wrap: wrap;gap: 12px;}.sanctuary-shelf-center{width: 100%;order: 1;margin-bottom: 8px;}.sanctuary-flank.flank-left{order: 2;width: auto;margin: 0 10px;}.sanctuary-flank.flank-right{order: 3;width: auto;margin: 0 10px;}}
@media (max-width: 480px){.sanctuary-flank.flank-left{transform: scale(0.9);margin: 0 2px;}.sanctuary-flank.flank-right{transform: scale(0.9);margin: 0 2px;}}
.room-preset-quick-bar{display: flex;align-items: center;gap: 8px;flex-wrap: wrap;background: var(--bg-card, #ffffff);border: 1.5px solid var(--border-color, #e2e8f0);border-radius: 12px;padding: 8px 14px;margin-bottom: 14px;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);}
html[data-theme="dark"] .room-preset-quick-bar{background: #1e293b;border-color: #334155;}
.room-preset-label{font-size: 0.76rem;font-weight: 800;color: #b45309;display: inline-flex;align-items: center;gap: 5px;margin-right: 4px;}
html[data-theme="dark"] .room-preset-label{color: #fbbf24;}
.btn-room-preset{font-size: 0.72rem;font-weight: 700;padding: 4px 11px;border-radius: 999px;border: 1px solid var(--border-color, #cbd5e1);background: var(--bg-body, #f8fafc);color: var(--text-main);cursor: pointer;transition: all 0.15s ease;display: inline-flex;align-items: center;gap: 4px;}
.btn-room-preset:hover{border-color: #ea580c;color: #ea580c;transform: translateY(-1px);}
.btn-room-preset.active{background: #ea580c;color: #ffffff;border-color: #ea580c;box-shadow: 0 2px 6px rgba(234, 88, 12, 0.3);}
html[data-theme="dark"] .btn-room-preset{background: #0f172a;border-color: #334155;}
html[data-theme="dark"] .btn-room-preset.active{background: #ea580c;color: #ffffff;border-color: #ea580c;}
.virtual-bookshelf-wrapper{width: 100%;display: flex;justify-content: center;transition: all 0.25s ease;}
.virtual-bookshelf-cabinet{width: 100%;transition: max-width 0.25s ease, width 0.25s ease;}
.virtual-bookshelf-cabinet.width-compact, .virtual-bookshelf-cabinet.is-hikaroom-illustrated.width-compact{max-width: 620px !important;}
.virtual-bookshelf-cabinet.width-standard, .virtual-bookshelf-cabinet.is-hikaroom-illustrated.width-standard{max-width: 850px !important;}
.virtual-bookshelf-cabinet.width-wide, .virtual-bookshelf-cabinet.is-hikaroom-illustrated.width-wide{max-width: 1100px !important;}
.virtual-bookshelf-cabinet.width-full, .virtual-bookshelf-cabinet.is-hikaroom-illustrated.width-full{max-width: 100% !important;}
.hikabon-room-studio{position: relative;width: 100%;border-radius: 18px;border: 1.5px solid var(--border-color, #e2e8f0);overflow: hidden;margin-bottom: 24px;box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);transition: all 0.3s ease;display: flex;flex-direction: column;padding: 20px 18px 0;}
.hikabon-room-studio.wall-brooklyn-brick{background: #8b3a2b;background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.45)), repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(0,0,0,0.3) 19px, rgba(0,0,0,0.3) 21px), repeating-linear-gradient(90deg, #993d2c, #993d2c 44px, rgba(0,0,0,0.35) 44px, rgba(0,0,0,0.35) 46px);box-shadow: inset 0 0 90px rgba(0,0,0,0.65);}
.hikabon-room-studio.wall-pure-white{background: #fdfdfd;background-image: radial-gradient(circle at 50% 20%, #ffffff 0%, #f1f5f9 100%);}
.hikabon-room-studio.wall-dark-black{background: #0f172a;background-image: linear-gradient(180deg, #182234 0%, #090d16 100%);box-shadow: inset 0 0 80px rgba(0,0,0,0.85);}
.hikabon-room-studio.wall-anime-mint{background: #ecfdf5;background-image: radial-gradient(circle at 20% 20%, rgba(254, 240, 138, 0.45) 0%, transparent 40%), linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);}
.hikabon-room-studio.wall-wood-panel{background: #78350f;background-image: repeating-linear-gradient(0deg, #92400e, #92400e 36px, #713f12 36px, #713f12 38px);box-shadow: inset 0 0 70px rgba(0,0,0,0.5);}
.hikabon-room-studio.wall-nordic-sage{background: #738676;background-image: radial-gradient(circle at 50% 25%, #859a89 0%, #637566 100%);box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.35);}
.hikabon-room-studio.wall-deep-navy{background: #0f172a;background-image: radial-gradient(circle at 50% 10%, #1e293b 0%, #070a12 100%);}
.hikabon-room-studio.wall-zen-washi{background: #f5f5f0;background-image: radial-gradient(circle at 50% 30%, #fafaf9 0%, #e7e5e4 100%);}
.hikabon-room-studio.wall-cafe-beige{background: #f5f0eb;background-image: linear-gradient(180deg, #faf7f2 0%, #ebe3d7 100%);}
.room-studio-window-layer{position: absolute;top: 18px;right: 24px;width: 125px;height: 195px;pointer-events: none;z-index: 1;opacity: 0.88;transition: all 0.3s ease;}
@media (max-width: 820px){.room-studio-window-layer{display: none;}}
.window-blinds{border: 5px solid rgba(255,255,255,0.75);border-radius: 8px;background: rgba(255,255,255,0.4);background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.9), rgba(255,255,255,0.9) 7px, rgba(148,163,184,0.4) 7px, rgba(148,163,184,0.4) 11px);box-shadow: 0 4px 15px rgba(0,0,0,0.1), inset 0 0 14px rgba(255,255,255,0.6);}
.window-sunlight{border: 5px solid #f8fafc;border-radius: 8px;background: linear-gradient(135deg, #bae6fd 0%, #e0f2fe 100%);box-shadow: 0 0 25px rgba(253, 230, 138, 0.45);position: relative;overflow: hidden;}
.window-sunlight::after{content: '';position: absolute;inset: 0;background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.85) 0%, transparent 60%);}
.window-night{border: 5px solid #1e293b;border-radius: 8px;background: #020617;background-image: radial-gradient(circle at 75% 25%, #fef08a 2px, transparent 3px), radial-gradient(circle at 25% 45%, #ffffff 1.5px, transparent 2px), radial-gradient(circle at 60% 65%, #94a3b8 1px, transparent 1.5px);box-shadow: inset 0 0 15px rgba(0,0,0,0.95);}
.window-shoji{border: 5px solid #78350f;border-radius: 4px;background: #fafaf9;background-image: repeating-linear-gradient(0deg, #92400e, #92400e 3px, transparent 3px, transparent 40px), repeating-linear-gradient(90deg, #92400e, #92400e 3px, transparent 3px, transparent 30px);box-shadow: inset 0 0 20px rgba(254, 243, 199, 0.6);}
.window-none{display: none !important;}
.room-studio-floor-base{position: relative;width: calc(100% + 36px);margin-left: -18px;margin-right: -18px;height: 64px;margin-top: -12px;z-index: 1;border-top: 2px solid rgba(0,0,0,0.15);box-shadow: inset 0 6px 14px rgba(0,0,0,0.18);transition: all 0.3s ease;}
.floor-oak-plank{background: #d97706;background-image: repeating-linear-gradient(90deg, #b45309, #b45309 55px, #78350f 55px, #78350f 57px), linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.35) 100%);}
.floor-herringbone{background: #78350f;background-image: repeating-linear-gradient(45deg, #92400e 0, #92400e 15px, #713f12 15px, #713f12 17px), repeating-linear-gradient(-45deg, #78350f 0, #78350f 15px, #58290c 15px, #58290c 17px);}
.floor-white-mortar{background: #e2e8f0;background-image: linear-gradient(180deg, #f1f5f9 0%, #cbd5e1 100%);}
.floor-vintage-timber{background: #451a03;background-image: repeating-linear-gradient(90deg, #58290c, #58290c 65px, #271506 65px, #271506 68px), linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.55) 100%);}
.floor-tatami{background: #84cc16;background-image: repeating-linear-gradient(0deg, #65a30d, #65a30d 3px, #4d7c0f 3px, #4d7c0f 4px), repeating-linear-gradient(90deg, transparent, transparent 75px, #166534 75px, #166534 79px);}
.floor-dark-ebony{background: #090d16;background-image: repeating-linear-gradient(90deg, #111827, #111827 48px, #030712 48px, #030712 50px);}
.shelf-top-counter-display{display: flex;justify-content: center;align-items: flex-end;gap: 16px;margin-bottom: -5px;z-index: 4;position: relative;}
.top-counter-art-frame{cursor: pointer;transition: transform 0.2s ease;filter: drop-shadow(0 4px 8px rgba(0,0,0,0.18));}
.top-counter-art-frame:hover{transform: scale(1.04) rotate(-1deg);}
.top-counter-table-lamp{cursor: pointer;transition: transform 0.2s ease;filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));}
.top-counter-table-lamp:hover{transform: scale(1.06);}
.top-counter-vase{cursor: pointer;transition: transform 0.2s ease;}
.top-counter-vase:hover{transform: scale(1.08);}
.reading-sanctuary-stage.chair-pos-front-center .nook-chair-col{position: absolute;bottom: -6px;left: 50%;transform: translateX(-50%);z-index: 8;filter: drop-shadow(0 8px 18px rgba(0,0,0,0.25));}
.reading-sanctuary-stage.chair-pos-front-center .nook-chair-col:hover{transform: translateX(-50%) translateY(-3px) scale(1.02);}
.reading-sanctuary-stage.chair-pos-front-center .sanctuary-flank.flank-left{width: 90px;}
.reading-sanctuary-stage.chair-pos-front-left .nook-chair-col{position: relative;z-index: 5;}
.reading-sanctuary-stage.chair-pos-front-right .sanctuary-flank.flank-left{width: 130px;order: 1;}
.reading-sanctuary-stage.chair-pos-front-right .sanctuary-shelf-center{order: 2;}
.reading-sanctuary-stage.chair-pos-front-right .sanctuary-flank.flank-right{width: 175px;order: 3;}
.reading-sanctuary-stage.chair-pos-front-right .nook-chair-col{position: relative;z-index: 5;}
.reading-sanctuary-stage.chair-pos-front-right .nook-lamp-col{margin-right: -10px;margin-left: -18px;}
@media (max-width: 820px){.reading-sanctuary-stage.chair-pos-front-right .sanctuary-shelf-center{order: 1;width: 100%;}.reading-sanctuary-stage.chair-pos-front-right .sanctuary-flank.flank-left{order: 2;width: auto;}.reading-sanctuary-stage.chair-pos-front-right .sanctuary-flank.flank-right{order: 3;width: auto;}}
.nook-rug-base.rug-dark-charcoal{background: radial-gradient(ellipse at center, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.5) 60%, transparent 100%) !important;border: 1.5px solid rgba(71, 85, 105, 0.5) !important;box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6) !important;}
.chair-eames-lounge:hover, .chair-sofa-dark:hover{transform: translateY(-3px) scale(1.03);filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));}
.cubby-mascot-nest{width: 100%;height: 100%;display: flex;align-items: center;justify-content: center;cursor: pointer;transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);}
.cubby-mascot-nest:hover{transform: scale(1.15);}
.shelf-cubby-plushie-item{flex: 0 0 auto;display: inline-flex;flex-direction: column;align-items: center;justify-content: flex-end;height: calc(135px * var(--shelf-scale, 1));padding: 0 10px;cursor: pointer;position: relative;z-index: 6;user-select: none;transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);margin-bottom: 2px;}
.shelf-cubby-plushie-item:hover{transform: translateY(-6px) scale(1.08);}
.shelf-cubby-plushie-item:active{transform: translateY(2px) scale(0.94);}
.cubby-plushie-svg{width: calc(82px * var(--shelf-scale, 1));height: calc(96px * var(--shelf-scale, 1));overflow: visible;filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.16));}
.cubby-plushie-bubble{position: absolute;top: -12px;background: #ffffff;color: #ea580c;font-size: 0.64rem;font-weight: 800;padding: 2px 8px;border-radius: 999px;box-shadow: 0 3px 8px rgba(0,0,0,0.14);border: 1.5px solid #fed7aa;pointer-events: none;opacity: 0;transform: translateY(4px) scale(0.85);transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);white-space: nowrap;z-index: 10;}
html[data-theme="dark"] .cubby-plushie-bubble{background: #1e293b;color: #fb923c;border-color: #7c2d12;box-shadow: 0 3px 8px rgba(0,0,0,0.4);}
.shelf-cubby-plushie-item:hover .cubby-plushie-bubble{opacity: 1;transform: translateY(0) scale(1);}
.nook-desk-col, .nook-cart-col{position: relative;z-index: 3;transform-origin: bottom center;transition: transform 0.2s ease;cursor: pointer;}
.nook-desk-col:hover, .nook-cart-col:hover{transform: translateY(-2px);}
.sanctuary-wall-art-wrap{display: flex;justify-content: center;align-items: center;gap: 16px;margin-bottom: 12px;width: 100%;}
.sanctuary-wall-art-item{transition: transform 0.2s ease;cursor: pointer;}
.sanctuary-wall-art-item:hover{transform: scale(1.04);}
.sanctuary-mascot-wrap{position: absolute;bottom: 2px;z-index: 5;cursor: pointer;transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);}
.sanctuary-mascot-wrap:hover{transform: scale(1.12);}
.sanctuary-floating-ledges-wrap{display: flex;flex-direction: column;gap: 10px;margin-bottom: 14px;padding: 0 14px;width: 100%;max-width: 460px;margin-left: auto;margin-right: auto;cursor: pointer;}
.floating-ledge-tier{display: flex;align-items: flex-end;gap: 14px;padding-bottom: 3px;border-bottom: 3.5px solid #78350f;box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);position: relative;}
.floating-ledge-item{transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.22));}
.floating-ledge-item:hover{transform: translateY(-5px) scale(1.08);}
.community-studio-quick-toolbar{display: flex;align-items: center;justify-content: space-between;gap: 10px;flex-wrap: wrap;padding: 10px 14px;background: var(--bg-card, #ffffff);border: 1.5px solid var(--border-color, #e2e8f0);border-radius: 14px;margin-bottom: 12px;box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);}
.room-preset-pill-group, .shelf-width-pill-group, .shelf-struct-pill-group{display: flex;align-items: center;gap: 6px;flex-wrap: wrap;}
.room-preset-pill, .shelf-width-pill, .shelf-struct-pill{font-size: 0.72rem;font-weight: 700;padding: 5px 11px;border-radius: 999px;border: 1.5px solid var(--border-color, #cbd5e1);background: var(--bg-page, #f8fafc);color: var(--text-sub, #64748b);cursor: pointer;transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);white-space: nowrap;display: inline-flex;align-items: center;gap: 4px;}
.room-preset-pill:hover, .shelf-width-pill:hover, .shelf-struct-pill:hover{border-color: #ea580c;color: #ea580c;transform: translateY(-1px);}
.room-preset-pill.active, .shelf-width-pill.active, .shelf-struct-pill.active{background: linear-gradient(135deg, #ea580c, #f97316);color: #ffffff !important;border-color: #ea580c;box-shadow: 0 2px 8px rgba(234, 88, 12, 0.3);}
.hikabon-photoreal-room-stage{position: relative;width: 100%;height: 600px;border-radius: 18px;overflow: hidden;border: 1.5px solid var(--border-color, #cbd5e1);box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);background-size: cover;background-position: center bottom;background-repeat: no-repeat;user-select: none;touch-action: none;transition: background-image 0.4s ease;}
@media (max-width: 768px){.hikabon-photoreal-room-stage{height: 520px;}.room-sandbox-bookshelf-mount{top: calc(var(--bs-mount-top, 26px) * 0.85);transform: translateX(-50%) scale(calc(var(--bs-mount-scale, 1.0) * 0.90));}}
@media (max-width: 480px){.hikabon-photoreal-room-stage{height: 480px;}.room-sandbox-bookshelf-mount{top: calc(var(--bs-mount-top, 26px) * 0.7);width: 96%;transform: translateX(-50%) scale(calc(var(--bs-mount-scale, 1.0) * 0.82));}}
.room-stage-ambient-overlay{position: absolute;inset: 0;pointer-events: none;background: radial-gradient(ellipse at 50% 30%, transparent 60%, rgba(0,0,0,0.18) 100%);z-index: 1;}
.room-sandbox-bookshelf-mount{position: absolute;top: var(--bs-mount-top, 26px);left: var(--bs-mount-left, 50%);transform: translateX(-50%) scale(var(--bs-mount-scale, 1.0));transform-origin: top center;z-index: 4;width: 90%;max-width: var(--bs-mount-width, 860px);pointer-events: auto;filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.28));transition: box-shadow 0.2s ease, outline 0.2s ease;user-select: none;}
.room-sandbox-bookshelf-mount:hover{outline: 2px dashed rgba(234, 88, 12, 0.45);outline-offset: 4px;border-radius: 10px;}
.room-sandbox-bookshelf-mount.is-editing{outline: 2.5px dashed #ea580c !important;outline-offset: 6px !important;border-radius: 12px !important;box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.2), 0 20px 40px rgba(0, 0, 0, 0.4) !important;cursor: move !important;}
.room-sandbox-bookshelf-mount.width-compact{max-width: 640px;}
.room-sandbox-bookshelf-mount.width-standard{max-width: 860px;}
.room-sandbox-bookshelf-mount.width-wide{max-width: 1050px;}
.room-sandbox-bookshelf-mount.width-full{max-width: 96%;}
.bookshelf-edit-trigger-badge{position: absolute;top: -14px;left: 8px;z-index: 25;background: linear-gradient(135deg, #ea580c, #c2410c);color: #ffffff;border: 1px solid rgba(255, 255, 255, 0.45);border-radius: 999px;padding: 3px 10px;font-size: 0.72rem;font-weight: 700;display: inline-flex;align-items: center;gap: 5px;cursor: pointer;box-shadow: 0 3px 10px rgba(234, 88, 12, 0.4);transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);}
.bookshelf-edit-trigger-badge:hover{transform: scale(1.05);background: linear-gradient(135deg, #f97316, #ea580c);box-shadow: 0 5px 14px rgba(234, 88, 12, 0.55);}
.bookshelf-transform-hud{position: absolute;top: -54px;left: 0;z-index: 1005;display: none;align-items: center;gap: 8px;background: rgba(15, 23, 42, 0.95);backdrop-filter: blur(12px);-webkit-backdrop-filter: blur(12px);padding: 5px 10px;border-radius: 10px;border: 1px solid rgba(255, 255, 255, 0.18);box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);white-space: nowrap;animation: bsHudSlideDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);}
@keyframes bsHudSlideDown{from{opacity: 0;transform: translateY(-6px);}to{opacity: 1;transform: translateY(0);}}
.room-sandbox-bookshelf-mount.is-editing .bookshelf-transform-hud{display: flex;}
.bs-hud-title{font-size: 0.72rem;font-weight: 800;color: #ea580c;display: flex;align-items: center;gap: 4px;padding-right: 4px;border-right: 1px solid rgba(255, 255, 255, 0.15);}
.bs-hud-group{display: flex;align-items: center;gap: 3px;background: rgba(255, 255, 255, 0.08);padding: 2px 5px;border-radius: 6px;}
.bs-hud-label{font-size: 0.65rem;color: rgba(255, 255, 255, 0.75);margin-right: 2px;font-weight: 600;}
.bs-hud-btn{background: rgba(255, 255, 255, 0.15);border: 1px solid rgba(255, 255, 255, 0.12);color: #ffffff;font-size: 0.70rem;font-weight: 600;padding: 2px 7px;border-radius: 5px;cursor: pointer;transition: all 0.15s ease;line-height: 1.3;}
.bs-hud-btn:hover{background: #ea580c;border-color: #ea580c;color: #ffffff;transform: scale(1.04);}
.bs-hud-btn.fit-wall{background: rgba(14, 165, 233, 0.3);border-color: rgba(14, 165, 233, 0.5);color: #38bdf8;}
.bs-hud-btn.fit-wall:hover{background: #0284c7;border-color: #0284c7;color: #ffffff;}
.bs-hud-btn.done{background: linear-gradient(135deg, #10b981, #059669);border-color: #10b981;color: #ffffff;font-weight: 700;padding: 2px 10px;}
.bs-hud-btn.done:hover{background: #059669;transform: scale(1.06);}
.bs-resize-handle{position: absolute;width: 14px;height: 14px;background: #ffffff;border: 2.5px solid #ea580c;border-radius: 50%;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);z-index: 1002;display: none;cursor: pointer;transition: transform 0.15s ease;}
.bs-resize-handle:hover{transform: scale(1.3);background: #ea580c;}
.room-sandbox-bookshelf-mount.is-editing .bs-resize-handle{display: block;}
.bs-resize-handle.handle-nw{top: -9px;left: -9px;width: 20px;height: 20px;background: #ea580c;border: 3px solid #ffffff;box-shadow: 0 0 0 2px #ea580c, 0 3px 8px rgba(0, 0, 0, 0.45);cursor: nwse-resize;}
.bs-resize-handle.handle-ne{top: -7px;right: -7px;cursor: nesw-resize;}
.bs-resize-handle.handle-sw{bottom: -7px;left: -7px;cursor: nesw-resize;}
.bs-resize-handle.handle-se{bottom: -7px;right: -7px;cursor: nwse-resize;}
.bs-resize-handle.handle-n{top: -7px;left: 50%;transform: translateX(-50%);cursor: ns-resize;}
.bs-resize-handle.handle-s{bottom: -7px;left: 50%;transform: translateX(-50%);cursor: ns-resize;}
.bs-resize-handle.handle-w{top: 50%;left: -7px;transform: translateY(-50%);cursor: ew-resize;}
.bs-resize-handle.handle-e{top: 50%;right: -7px;transform: translateY(-50%);cursor: ew-resize;}
@media (max-width: 640px){.bookshelf-transform-hud{top: -72px;left: 50%;transform: translateX(-50%);padding: 4px 6px;gap: 4px;font-size: 0.68rem;max-width: 96vw;overflow-x: auto;}}
.furniture-sandbox-layer{position: absolute;inset: 0;z-index: 10;pointer-events: none;}
.furniture-sandbox-entity{position: absolute;cursor: grab;user-select: none;touch-action: none;pointer-events: auto;transform-origin: center bottom;transition: outline 0.15s ease, filter 0.2s ease;}
.furniture-sandbox-entity:hover{outline: 2px dashed rgba(234, 88, 12, 0.6);outline-offset: 4px;border-radius: 8px;}
.furniture-sandbox-entity.is-selected{outline: 2.5px solid #ea580c !important;outline-offset: 6px;border-radius: 8px;filter: drop-shadow(0 8px 24px rgba(234, 88, 12, 0.35));}
.furniture-sandbox-entity.is-dragging{cursor: grabbing !important;opacity: 0.92;z-index: 999 !important;filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.45)) !important;outline: 2.5px solid #ea580c !important;}
.furniture-image-wrapper{position: relative;display: inline-block;transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);}
.furniture-photoreal-img{display: block;height: auto;pointer-events: none;filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.35));}
@keyframes hikaBounce{0%, 100%{transform: translate(-50%, -18%);animation-timing-function: cubic-bezier(0.8, 0, 1, 1);}50%{transform: translate(-50%, 0);animation-timing-function: cubic-bezier(0, 0, 0.2, 1);}}
@keyframes hikaFadeIn{from{opacity: 0;transform: scale(0.97);}to{opacity: 1;transform: scale(1);}}
.hika-room-wrapper{border-radius: 20px;padding: 20px;transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;background-color: #f5f3e8;color: #451a03;border: 1.5px solid rgba(217, 119, 6, 0.22);box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);margin-top: 10px;}
.hika-room-wrapper.is-dark{background-color: #0f172a;color: #f1f5f9;border-color: #334155;box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);}
.hika-room-inner{max-width: 896px;margin: 0 auto;}
.hika-room-header{display: flex;flex-wrap: wrap;justify-content: space-between;align-items: center;margin-bottom: 20px;gap: 14px;}
.hika-room-title{font-size: 1.45rem;font-weight: 800;margin: 0;display: flex;align-items: center;gap: 8px;line-height: 1.3;}
.hika-room-subtitle{font-size: 0.86rem;opacity: 0.85;margin: 4px 0 0 0;}
.hika-room-header-actions{display: flex;align-items: center;gap: 10px;flex-wrap: wrap;}
.hika-room-mode-btn{padding: 8px 16px;border-radius: 999px;font-size: 0.85rem;font-weight: 800;box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);transition: all 0.25s ease;display: inline-flex;align-items: center;gap: 6px;cursor: pointer;background: #ffffff;color: #78350f;border: 1.5px solid #fde68a;}
.hika-room-mode-btn:hover{transform: translateY(-1px);box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);}
.hika-room-wrapper.is-dark .hika-room-mode-btn{background: #1e1b4b;color: #fde047;border: 1.5px solid rgba(234, 179, 8, 0.45);box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);}
.hika-room-open-shelf-btn{padding: 8px 16px;border-radius: 999px;font-size: 0.85rem;font-weight: 800;background: linear-gradient(135deg, #d97706, #b45309);color: #ffffff;border: 1.5px solid #fde68a;box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);display: inline-flex;align-items: center;gap: 6px;cursor: pointer;transition: all 0.2s ease;}
.hika-room-open-shelf-btn:hover{transform: translateY(-1px) scale(1.02);box-shadow: 0 6px 16px rgba(217, 119, 6, 0.45);}
html body .hika-room-canvas, html body #mypage-shelf-anchor-mount .hika-room-canvas, html body #community-my-shelf-anchor-mount .hika-room-canvas{position: relative;width: 100%;max-width: 660px !important;margin: 0 auto;aspect-ratio: 858 / 1024 !important;border-radius: 26px;overflow: hidden;box-shadow: 0 22px 45px -12px rgba(0, 0, 0, 0.28), 0 0 0 1.5px rgba(217, 119, 6, 0.28);border: 10px solid rgba(255, 255, 255, 0.96);user-select: none;background-color: #fdf8f0;cursor: zoom-in;transition: max-width 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;}
html body .hika-room-canvas.is-room-zoomed, html body #mypage-shelf-anchor-mount .hika-room-canvas.is-room-zoomed, html body #community-my-shelf-anchor-mount .hika-room-canvas.is-room-zoomed{max-width: 1040px !important;cursor: zoom-out;box-shadow: 0 28px 60px -12px rgba(0, 0, 0, 0.38), 0 0 0 2px rgba(245, 158, 11, 0.45);}
html body .hika-room-canvas.is-room-night, html body #mypage-shelf-anchor-mount .hika-room-canvas.is-room-night, html body #community-my-shelf-anchor-mount .hika-room-canvas.is-room-night{background-color: #1a2035;border-color: rgba(255, 255, 255, 0.88);box-shadow: 0 22px 50px -10px rgba(0, 0, 0, 0.65), 0 0 0 1.5px rgba(251, 191, 36, 0.35);}
.hika-room-canvas.is-room-night.is-room-zoomed{box-shadow: 0 28px 64px -8px rgba(0, 0, 0, 0.78), 0 0 0 2px rgba(251, 191, 36, 0.55);}
.hika-room-canvas .hika-room-theme-toggle-switch{position: absolute;top: 14px;right: 14px;z-index: 62;background: rgba(255, 255, 255, 0.32) !important;backdrop-filter: blur(16px) saturate(180%);-webkit-backdrop-filter: blur(16px) saturate(180%);border: 1.5px solid rgba(255, 255, 255, 0.75) !important;box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16), inset 0 1px 1px rgba(255, 255, 255, 0.7) !important;}
.hika-room-canvas .hika-room-theme-toggle-switch .theme-toggle-thumb{transform: translateX(0) !important;background: #ffffff !important;}
.hika-room-canvas .hika-room-theme-toggle-switch .theme-toggle-icon.sun{color: #ea580c !important;}
.hika-room-canvas .hika-room-theme-toggle-switch .theme-toggle-icon.moon{color: #64748b !important;}
.hika-room-canvas.is-room-night .hika-room-theme-toggle-switch{background: rgba(15, 23, 42, 0.58) !important;border-color: rgba(251, 191, 36, 0.55) !important;box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;}
.hika-room-canvas.is-room-night .hika-room-theme-toggle-switch .theme-toggle-thumb{transform: translateX(28px) !important;background: #1e293b !important;}
.hika-room-canvas.is-room-night .hika-room-theme-toggle-switch .theme-toggle-icon.sun{color: #64748b !important;}
.hika-room-canvas.is-room-night .hika-room-theme-toggle-switch .theme-toggle-icon.moon{color: #fde68a !important;}
.hika-room-canvas .hika-room-snow-toggle-btn{position: absolute;top: 14px;right: 80px;z-index: 62;width: 28px;height: 28px;padding: 0;border-radius: 50%;display: inline-flex;align-items: center;justify-content: center;cursor: pointer;background: rgba(255, 255, 255, 0.82);color: #1e293b;backdrop-filter: blur(16px) saturate(180%);-webkit-backdrop-filter: blur(16px) saturate(180%);border: 1.5px solid rgba(255, 255, 255, 0.85);box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16), inset 0 1px 1px rgba(255, 255, 255, 0.7);transition: all 0.25s ease;}
.hika-room-canvas.is-room-night .hika-room-snow-toggle-btn{background: rgba(15, 23, 42, 0.78);color: #f1f5f9;border-color: rgba(255, 255, 255, 0.42);box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.2);}
.hika-room-canvas .hika-room-snow-toggle-btn.is-active, .hika-room-canvas.is-room-night .hika-room-snow-toggle-btn.is-active{background: #0369a1;color: #ffffff;border-color: #bae6fd;box-shadow: 0 4px 16px rgba(3, 105, 161, 0.48), inset 0 1px 1px rgba(255, 255, 255, 0.6);}
.hika-room-snow-canvas{z-index: 5;}
.hika-room-zoom-badge{position: absolute;top: 14px;left: 14px;z-index: 62;padding: 5px 11px;border-radius: 999px;font-size: 0.7rem;font-weight: 800;background: rgba(255, 255, 255, 0.78);backdrop-filter: blur(10px);-webkit-backdrop-filter: blur(10px);color: #78350f;border: 1px solid rgba(217, 119, 6, 0.35);box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);cursor: pointer;display: inline-flex;align-items: center;gap: 4px;transition: all 0.2s ease;}
.hika-room-zoom-badge:hover{background: rgba(255, 255, 255, 0.95);transform: translateY(-1px);}
.hika-room-canvas.is-room-night .hika-room-zoom-badge{background: rgba(15, 23, 42, 0.72);color: #fde68a;border-color: rgba(251, 191, 36, 0.45);}
.hika-room-base-img{position: absolute;top: -6.5%;left: 0;width: 100%;height: 100%;object-fit: cover;transition: opacity 0.7s ease;pointer-events: none;}
.hika-room-custom-wall-layer{position: absolute;inset: 0;pointer-events: none;overflow: hidden;}
.hika-room-custom-wall-layer.is-minimal-cream{inset: 0;width: auto;height: auto;aspect-ratio: auto;}
.hika-room-synced-layer-img{position: absolute;inset: 0;width: 100%;height: 100%;object-fit: cover;object-position: center center;pointer-events: none;display: block;}
.hika-room-floor-card{position: relative;}
.hika-room-floor-preview{position: relative;height: 116px;overflow: hidden;border-radius: 10px;}
.hika-room-floor-preview img{position: absolute;width: 100%;height: 200%;left: 0;bottom: 0;object-fit: contain;object-position: center bottom;}
.hika-room-base-img.hika-room-garden-ground-bottom-fill{top: 0;clip-path: inset(89% 0 0 0);}
.hika-room-base-img.hika-room-garden-ground-layer{top: -6.5%;left: 0;width: 100%;height: calc(100% * 610 / 572);object-fit: fill;}
.hika-room-back-layer{position: absolute;inset: 0;pointer-events: none;z-index: 2;}
.hika-room-back-layer .hika-room-slot-item{pointer-events: auto;}
.hika-room-frame{position: absolute;left: 5%;top: 5%;width: 90%;height: 90%;z-index: 6;pointer-events: none;}
.hika-room-frame .hika-room-back-layer{z-index: 1;}
.hika-room-frame .hika-room-custom-wall-layer{z-index: 2;}
.hika-room-frame .hika-room-measure-grid{position: absolute;inset: 0;z-index: 999;pointer-events: none;}
.hika-room-frame .hika-room-measure-grid svg{display: block;width: 100%;height: 100%;}
.hika-room-frame .hika-room-grid-label{position: absolute;font-size: 10px;line-height: 1;font-weight: 700;color: rgba(20, 80, 220, 0.95);background: rgba(255, 255, 255, 0.78);padding: 1px 2px;border-radius: 2px;pointer-events: none;white-space: nowrap;}
.hika-room-frame .hika-room-grid-label.is-x{top: 0;transform: translateX(-50%);text-align: center;}
.hika-room-frame .hika-room-grid-label.is-y{left: 0;transform: translateY(-50%);text-align: left;}
.hika-room-garden-straight-ground{position: absolute;inset: 0;z-index: 4;pointer-events: none;}
.hika-room-garden-texture-row{position: absolute;left: 0;width: 100%;background-repeat: no-repeat;background-position: center bottom;}
.hika-room-lighting-overlay{position: absolute;inset: 0;pointer-events: none;transition: opacity 0.6s ease;z-index: 27;}
.hika-room-light-cone{position: absolute;pointer-events: none;z-index: 14;mix-blend-mode: screen;transition: opacity 0.5s ease;}
.hika-room-moonlight{position: absolute;pointer-events: none;z-index: 13;mix-blend-mode: screen;transition: opacity 0.5s ease;}
.hika-room-slot-item{position: absolute;transition: box-shadow 0.2s ease, border-color 0.2s ease;pointer-events: auto;cursor: grab;touch-action: none;user-select: none;-webkit-user-select: none;-webkit-touch-callout: none;-webkit-user-drag: none;border-radius: 14px;border: 2px dashed transparent;}
.hika-room-slot-item.is-locked-item, .hika-room-slot-item.is-bookshelf.is-locked-item{cursor: pointer;border-color: transparent !important;background: transparent !important;box-shadow: none !important;}
.hika-room-slot-item.is-locked-item:active{cursor: pointer;}
.hika-room-slot-item:active, .hika-room-slot-item.is-dragging{cursor: grabbing;z-index: 45 !important;}
.hika-room-slot-item:hover{border-color: rgba(245, 158, 11, 0.55);background: rgba(254, 243, 199, 0.08);}
.hika-room-slot-item.is-bookshelf{pointer-events: auto;cursor: grab;border-radius: 16px;border: 2px dashed transparent;}
@keyframes hikaGardenNightGlow{0%, 100%{opacity: 0.72;transform: translate(-50%, -50%) scale(0.96);}50%{opacity: 1;transform: translate(-50%, -50%) scale(1.08);}}
.hika-room-night-garden-aura{position: absolute;left: 50%;top: 54%;width: 155%;height: 145%;transform: translate(-50%, -50%);pointer-events: none;z-index: -1;border-radius: 50%;background: radial-gradient(circle, rgba(255, 208, 96, 0.52) 0%, rgba(245, 158, 11, 0.26) 46%, rgba(245, 158, 11, 0) 76%);mix-blend-mode: screen;animation: hikaGardenNightGlow 4.2s ease-in-out infinite;}
.hika-room-night-garden-aura.is-ambient{width: 125%;height: 95%;top: 66%;background: radial-gradient(ellipse at 50% 55%, rgba(255, 214, 130, 0.22) 0%, rgba(245, 158, 11, 0.08) 52%, rgba(245, 158, 11, 0) 78%);animation: none;opacity: 0.85;}
.hika-room-garden-night-spill{position: absolute;inset: 0;z-index: 4;pointer-events: none;border-radius: inherit;}
.hika-room-garden-night-spill.is-lit{background: radial-gradient(ellipse 68% 42% at 50% 62%, rgba(255, 204, 112, 0.24) 0%, rgba(255, 168, 68, 0.10) 55%, rgba(15, 23, 42, 0) 82%), radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0) 52%, rgba(8, 12, 28, 0.34) 100%);}
.hika-room-garden-night-spill.is-moonlight{background: radial-gradient(ellipse 75% 48% at 50% 78%, rgba(148, 163, 184, 0.10) 0%, rgba(15, 23, 42, 0.28) 78%);}
.hika-room-slot-item.is-selected-item, .hika-room-slot-item.is-bookshelf.is-selected-item{border-color: rgba(234, 88, 12, 0.85) !important;box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.32) !important;}
.hika-room-resize-handle{position: absolute;left: -18px;top: -18px;z-index: 80;display: inline-flex;align-items: center;justify-content: center;width: 48px;height: 48px;padding: 0;border: 0;border-radius: 50%;background: transparent;color: #9a3412;cursor: nwse-resize;touch-action: none;user-select: none;-webkit-user-select: none;}
.hika-room-resize-handle::before{content: '';position: absolute;inset: 4px;border: 2px solid #ea580c;border-radius: 50%;background: #fff;box-shadow: 0 2px 6px rgba(15, 23, 42, 0.34);}
.hika-room-resize-handle > span{position: relative;z-index: 1;display: inline-flex;align-items: center;justify-content: center;line-height: 0;pointer-events: none;}
.hika-room-resize-handle > span > svg{display: block;}
.hika-room-resize-handle:active{transform: scale(0.94);}
.hika-room-resize-handle:focus-visible{outline: 3px solid #2563eb;outline-offset: 1px;}
.hika-room-slot-item.is-resizing{transition: none !important;}
.hika-room-slot-item.is-overlap-target{border-color: rgba(251, 191, 36, 0.95) !important;box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.28), 0 0 16px rgba(251, 191, 36, 0.35) !important;background: rgba(254, 243, 199, 0.14);}
.hika-room-slot-item.is-near-room-edge{border-color: rgba(239, 68, 68, 0.9) !important;box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.28), inset 0 0 10px rgba(239, 68, 68, 0.18) !important;}
.hika-room-canvas.has-edge-contact{box-shadow: 0 22px 45px -12px rgba(0, 0, 0, 0.28), 0 0 0 3px rgba(239, 68, 68, 0.65) !important;}
.hika-room-overlap-switcher{position: absolute;left: 50%;bottom: 12px;transform: translateX(-50%);z-index: 65;max-width: calc(100% - 24px);width: max-content;background: rgba(15, 23, 42, 0.92);backdrop-filter: blur(10px);-webkit-backdrop-filter: blur(10px);border: 1.5px solid rgba(251, 191, 36, 0.85);border-radius: 14px;padding: 7px 11px;box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);display: flex;flex-direction: column;align-items: center;gap: 6px;pointer-events: auto;animation: fadeIn 0.16s ease-out;}
.hika-room-overlap-title{font-size: 0.68rem;font-weight: 800;color: #fde68a;letter-spacing: 0.02em;line-height: 1.2;text-align: center;}
.hika-room-overlap-btns{display: flex;align-items: center;justify-content: center;gap: 6px;flex-wrap: wrap;}
.hika-room-overlap-btn{font-size: 0.72rem;font-weight: 800;padding: 5px 11px;border-radius: 999px;border: 1px solid rgba(255, 255, 255, 0.28);background: rgba(255, 255, 255, 0.14);color: #f1f5f9;cursor: pointer;transition: all 0.15s ease;display: inline-flex;align-items: center;gap: 4px;white-space: nowrap;}
.hika-room-overlap-btn:hover{background: rgba(245, 158, 11, 0.32);border-color: #fbbf24;color: #ffffff;transform: translateY(-1px);}
.hika-room-overlap-btn.is-front{background: linear-gradient(135deg, #ea580c, #d97706);border-color: #fde68a;color: #ffffff;box-shadow: 0 2px 8px rgba(234, 88, 12, 0.45);}
.hika-room-slot-item.is-bookshelf:hover{background: rgba(251, 191, 36, 0.10);border-color: rgba(217, 119, 6, 0.65);box-shadow: 0 0 20px rgba(251, 191, 36, 0.28);}
.hika-room-bookshelf-guide-pill{position: absolute;top: -46px;left: max(52%, 82px);transform: translateX(-50%);background: #8c6239;color: #ffffff;font-size: 0.76rem;font-weight: 800;padding: 6px 14px;border-radius: 999px;box-shadow: 0 6px 16px rgba(45, 25, 10, 0.36);white-space: nowrap;opacity: 0.99;display: inline-flex;align-items: center;gap: 6px;border: 2.5px solid #fdf6e9;z-index: 38;cursor: pointer;letter-spacing: 0.02em;}
.hika-room-bookshelf-guide-pill::before{content: '';position: absolute;bottom: -10px;left: 50%;transform: translateX(-50%);border-width: 10px 8px 0 8px;border-style: solid;border-color: #fdf6e9 transparent transparent transparent;}
.hika-room-bookshelf-guide-pill::after{content: '';position: absolute;bottom: -7px;left: 50%;transform: translateX(-50%);border-width: 8px 6px 0 6px;border-style: solid;border-color: #8c6239 transparent transparent transparent;}
.hika-room-slot-item.is-bookshelf:hover .hika-room-bookshelf-guide-pill{opacity: 1;background: #754f2b;box-shadow: 0 8px 20px rgba(45, 25, 10, 0.48);}
.hika-room-slot-item .hika-room-item-img, .hika-room-item-img{width: 100%;height: auto;display: block;pointer-events: none;filter: drop-shadow(0 3px 4px rgba(45, 25, 10, 0.26));transition: filter 0.4s ease, transform 0.2s ease;}
.hika-room-item-img.night-dimmed{filter: brightness(0.84) contrast(1.06) drop-shadow(0 5px 8px rgba(0, 0, 0, 0.48));}
.hika-room-item-img.night-glowing{filter: brightness(1.14) drop-shadow(0 0 18px rgba(255, 200, 90, 0.92));}
.hika-room-night-overlay{position: absolute;inset: 0;z-index: 40;pointer-events: none;}
.hika-room-night-hint{position: absolute;bottom: 16px;left: 50%;transform: translateX(-50%);z-index: 40;background: rgba(15, 23, 42, 0.85);backdrop-filter: blur(6px);color: #fde68a;font-size: 0.76rem;font-weight: 700;padding: 8px 16px;border-radius: 999px;border: 1px solid rgba(245, 158, 11, 0.38);white-space: nowrap;max-width: 92%;overflow: hidden;text-overflow: ellipsis;cursor: pointer;box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);}
.hika-room-closet{margin-top: 26px;padding: 20px;border-radius: 18px;box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);background: #ffffff;border: 1.5px solid #fef3c7;transition: all 0.4s ease;}
.hika-room-wrapper.is-dark .hika-room-closet{background: #1e293b;border-color: #334155;box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);}
.hika-room-closet-title{font-size: 1.1rem;font-weight: 800;margin: 0 0 12px 0;display: flex;align-items: center;gap: 8px;}
.hika-room-tabs-row{display: flex;gap: 8px;overflow-x: auto;padding-bottom: 10px;margin-bottom: 16px;border-bottom: 1.5px solid #e2e8f0;scrollbar-width: none;}
.hika-room-wrapper.is-dark .hika-room-tabs-row{border-bottom-color: #334155;}
@media (min-width: 900px){.hika-room-closet-body{display: flex;align-items: flex-start;gap: 14px;min-width: 0;}.hika-room-closet-content{flex: 1 1 0%;min-width: 0;}html body .hika-room-closet-body .hika-room-tabs-row{flex-direction: column;flex: 0 0 10rem;width: 10rem;gap: 6px;overflow-x: hidden;overflow-y: auto;max-height: 720px;align-self: stretch;padding: 0 12px 0 0;margin-bottom: 0;border-bottom: none;border-right: 1.5px solid #e2e8f0;box-sizing: border-box;}html body .hika-room-closet-body .hika-room-tabs-row .hika-room-tab-btn{width: 100%;text-align: left;justify-content: flex-start;box-sizing: border-box;flex-shrink: 0;padding: 8px 12px;}.hika-room-wrapper.is-dark .hika-room-closet-body .hika-room-tabs-row{border-right-color: #334155;}}
@media (max-width: 899px){.hika-room-closet-body{display: block;}}
.hika-room-tab-btn{padding: 8px 16px;border-radius: 12px;font-size: 0.85rem;font-weight: 800;white-space: nowrap;transition: all 0.2s ease;cursor: pointer;border: 1px solid transparent;background: #f1f5f9;color: #475569;}
.hika-room-wrapper.is-dark .hika-room-tab-btn{background: #334155;color: #cbd5e1;}
.hika-room-tab-btn:hover{opacity: 1;border-color: #f59e0b;}
.hika-room-tab-btn.active{background: #b45309 !important;color: #ffffff !important;box-shadow: 0 3px 10px rgba(180, 83, 9, 0.3);}
.hika-room-items-grid, html body .hika-room-items-grid, html body .hika-room-closet .hika-room-items-grid, html body #mypage-shelf-anchor-mount .hika-room-items-grid, html body #mypage-shelf-anchor-mount .hika-room-closet .hika-room-items-grid, html body #community-my-shelf-anchor-mount .hika-room-items-grid, html body #community-my-shelf-anchor-mount .hika-room-closet .hika-room-items-grid{display: grid;grid-template-columns: repeat(3, minmax(0, 1fr)) !important;gap: 12px;}
@media (max-width: 767px){html body .hika-room-items-grid, html body .hika-room-closet .hika-room-items-grid, html body #mypage-shelf-anchor-mount .hika-room-items-grid, html body #mypage-shelf-anchor-mount .hika-room-closet .hika-room-items-grid, html body #community-my-shelf-anchor-mount .hika-room-items-grid, html body #community-my-shelf-anchor-mount .hika-room-closet .hika-room-items-grid{grid-template-columns: repeat(3, minmax(0, 1fr)) !important;gap: 8px !important;}html body .hika-room-closet .hika-room-item-card, html body #mypage-shelf-anchor-mount .hika-room-closet .hika-room-item-card, html body #community-my-shelf-anchor-mount .hika-room-closet .hika-room-item-card{min-width: 0;padding: 7px 5px;border-radius: 11px;gap: 4px;}html body .hika-room-closet .hika-room-item-thumb-box, html body #mypage-shelf-anchor-mount .hika-room-closet .hika-room-item-thumb-box, html body #community-my-shelf-anchor-mount .hika-room-closet .hika-room-item-thumb-box{height: 56px;}html body .hika-room-closet .hika-room-item-name, html body #mypage-shelf-anchor-mount .hika-room-closet .hika-room-item-name, html body #community-my-shelf-anchor-mount .hika-room-closet .hika-room-item-name{font-size: 0.69rem;line-height: 1.25;}html body .hika-room-closet .hika-room-item-status, html body #mypage-shelf-anchor-mount .hika-room-closet .hika-room-item-status, html body #community-my-shelf-anchor-mount .hika-room-closet .hika-room-item-status{font-size: 0.62rem;line-height: 1.2;}#share-hikaroom-daynight-bar{flex-wrap: wrap;}}
.hika-room-catalog-filters{padding: 6px 8px;margin-bottom: 8px;border: 1px solid #fde68a;border-radius: 9px;background: #fffbeb;}
.hika-room-wrapper.is-dark .hika-room-catalog-filters{border-color: #475569;background: rgba(30, 41, 59, 0.72);}
.hika-room-filter-section + .hika-room-filter-section{margin-top: 6px;}
.hika-room-filter-toggle{display: grid;grid-template-columns: minmax(0, auto) minmax(0, 1fr) 20px;align-items: center;gap: 7px;width: 100%;min-height: 44px;padding: 5px 9px;border: 1px solid #d6d3d1;border-radius: 10px;background: #fff;color: #292524;font: inherit;font-size: 0.72rem;font-weight: 800;text-align: left;cursor: pointer;touch-action: manipulation;user-select: none;-webkit-user-select: none;}
.hika-room-filter-toggle.is-open{border-color: #d97706;border-bottom-left-radius: 6px;border-bottom-right-radius: 6px;}
.hika-room-filter-toggle.is-active{background: #fff7ed;border-color: #f59e0b;color: #9a3412;}
.hika-room-wrapper.is-dark .hika-room-filter-toggle{border-color: #475569;background: #0f172a;color: #f8fafc;}
.hika-room-wrapper.is-dark .hika-room-filter-toggle.is-active{border-color: #fbbf24;background: #422006;color: #fef3c7;}
.hika-room-filter-current{min-width: 0;overflow: hidden;color: inherit;font-size: 0.62rem;font-weight: 650;text-align: right;text-overflow: ellipsis;white-space: nowrap;opacity: 0.75;}
.hika-room-filter-chevron{width: 20px;font-size: 1rem;line-height: 1;text-align: center;}
.hika-room-filter-panel[hidden]{display: none !important;}
.hika-room-color-panel{display: block;padding: 5px;border: 1px solid #d97706;border-top: 0;border-radius: 0 0 10px 10px;background: rgba(255, 251, 235, 0.66);}
.hika-room-wrapper.is-dark .hika-room-color-panel{border-color: #a16207;background: rgba(30, 41, 59, 0.82);}
.hika-room-filter-subheading{margin: 2px 2px 3px;font-size: .62rem;font-weight: 800;opacity: .75;}
.hika-room-color-panel .hika-room-filter-grid{padding: 0 0 5px;border: 0;border-radius: 0;background: transparent;}
.hika-room-color-panel .hika-room-filter-grid:last-child{padding-bottom: 0;}
.hika-room-filter-grid{display: grid;grid-template-columns: repeat(3, minmax(0, 1fr));gap: 4px;padding: 5px;border: 1px solid #d97706;border-top: 0;border-radius: 0 0 10px 10px;background: rgba(255, 251, 235, 0.66);}
.hika-room-wrapper.is-dark .hika-room-filter-grid{border-color: #a16207;background: rgba(30, 41, 59, 0.82);}
.hika-room-filter-grid .hika-room-filter-chip{width: 100%;min-width: 0;min-height: 44px;padding: 4px 5px;gap: 3px;white-space: normal;font-size: 0.62rem;overflow-wrap: anywhere;}
.hika-room-filter-grid .hika-room-filter-chip > span:last-child{flex: 0 0 auto;}
.hika-room-color-grid{grid-template-columns: repeat(3, minmax(0, 1fr));}
@media (min-width: 360px) and (max-width: 639px){.hika-room-concept-grid{grid-template-columns: repeat(4, minmax(0, 1fr));}.hika-room-concept-grid .hika-room-filter-chip{padding-inline: 2px;font-size: 0.57rem;}}
.hika-room-filter-toggle:focus-visible, .hika-room-filter-chip:focus-visible{outline: 3px solid #2563eb;outline-offset: 2px;}
@media (min-width: 640px){.hika-room-filter-grid{grid-template-columns: repeat(4, minmax(0, 1fr));}}
@media (max-width: 360px){.hika-room-filter-toggle{grid-template-columns: minmax(0, auto) minmax(0, 1fr) 18px;gap: 4px;padding-inline: 7px;}.hika-room-filter-grid{gap: 3px;padding: 4px;}.hika-room-filter-grid .hika-room-filter-chip{padding-inline: 3px;font-size: 0.58rem;}}
.hika-room-filter-heading{display: flex;align-items: center;justify-content: space-between;gap: 5px;min-height: 28px;margin-bottom: 3px;font-size: 0.68rem;font-weight: 800;}
.hika-room-filter-heading > span{font-size: 0.61rem;opacity: 0.7;}
.hika-room-filter-heading strong{min-width: 0;}
.hika-room-filter-scroll-hint{margin-left: 4px;font-size: 0.58rem;font-weight: 600;opacity: 0.58;white-space: nowrap;}
.hika-room-filter-rail{display: flex;align-items: center;flex-wrap: nowrap;gap: 4px;overflow-x: auto;overflow-y: hidden;padding: 1px 2px 4px;scrollbar-width: thin;-webkit-overflow-scrolling: touch;touch-action: pan-x;}
.hika-room-filter-chip, .hika-room-color-entry{display: inline-flex;flex: 0 0 auto;align-items: center;justify-content: center;gap: 5px;min-height: 40px;padding: 0 9px;border: 1px solid #d6d3d1;border-radius: 999px;background: #fff;color: #292524;font: inherit;font-size: 0.68rem;font-weight: 800;line-height: 1.15;white-space: nowrap;cursor: pointer;touch-action: manipulation;user-select: none;-webkit-user-select: none;}
.hika-room-wrapper.is-dark .hika-room-filter-chip, .hika-room-wrapper.is-dark .hika-room-color-entry{border-color: #475569;background: #0f172a;color: #f8fafc;}
.hika-room-filter-chip > span:last-child{font-size: 0.6rem;opacity: 0.68;}
.hika-room-filter-chip.is-active{border-color: #d97706;background: #fef3c7;color: #7c2d12;box-shadow: inset 0 0 0 1px rgba(217, 119, 6, 0.18);}
.hika-room-wrapper.is-dark .hika-room-filter-chip.is-active{border-color: #fbbf24;background: rgba(120, 53, 15, 0.55);color: #fef3c7;}
.hika-room-color-entry{min-height: 44px;padding: 0 11px;border-color: #f59e0b;background: #fff7ed;color: #9a3412;font-size: 0.72rem;}
.hika-room-wrapper.is-dark .hika-room-color-entry{border-color: #fbbf24;background: #422006;color: #fef3c7;}
.hika-room-color-entry.is-active{box-shadow: 0 0 0 2px rgba(217, 119, 6, 0.22);}
.hika-room-filter-swatch{width: 11px;height: 11px;flex: 0 0 11px;border: 1px solid rgba(15, 23, 42, 0.25);border-radius: 50%;}
.hika-room-filter-hint{margin: 3px 1px 0;font-size: 0.62rem;line-height: 1.3;opacity: 0.72;}
.hika-room-filter-chip:focus-visible, .hika-room-color-entry:focus-visible{outline: 3px solid #2563eb;outline-offset: 1px;}
.hika-room-item-card{min-width: 0;padding: 12px;border-radius: 14px;border: 2px solid #e2e8f0;text-align: left;transition: all 0.2s ease;position: relative;display: flex;flex-direction: column;justify-content: space-between;background: transparent;color: inherit;cursor: pointer;}
.hika-room-wrapper.is-dark .hika-room-item-card{border-color: #334155;}
.hika-room-item-card:hover{border-color: #fbbf24;transform: translateY(-2px);}
.hika-room-item-card.is-selected{border-color: #f59e0b !important;background: rgba(254, 243, 199, 0.45);}
.hika-room-wrapper.is-dark .hika-room-item-card.is-selected{background: rgba(120, 53, 15, 0.32);}
.hika-room-item-card.is-locked{opacity: 0.68;}
.hika-room-item-thumb-wrap{width: 100%;height: 68px;display: flex;align-items: center;justify-content: center;margin: 6px 0 8px 0;background: rgba(0, 0, 0, 0.03);border-radius: 10px;padding: 4px;}
.hika-room-wrapper.is-dark .hika-room-item-thumb-wrap{background: rgba(15, 23, 42, 0.52);border: 1px solid rgba(255, 255, 255, 0.06);}
.hika-room-item-thumb{max-width: 100%;max-height: 58px;object-fit: contain;filter: drop-shadow(0 2px 4px rgba(0,0,0,0.18));}
.hika-room-wrapper.is-dark .hika-room-item-thumb{filter: drop-shadow(0 3px 6px rgba(0,0,0,0.58));}
.hika-room-promo-form{margin-top: 22px;padding-top: 16px;border-top: 1.5px solid #e2e8f0;display: flex;flex-wrap: wrap;align-items: center;gap: 8px;}
.hika-room-wrapper.is-dark .hika-room-promo-form{border-top-color: #334155;}
.hika-room-promo-input{padding: 7px 12px;font-size: 0.85rem;border-radius: 8px;border: 1.5px solid #cbd5e1;background: transparent;color: inherit;min-width: 160px;}
.hika-room-wrapper.is-dark .hika-room-promo-input{border-color: #475569;}
.hika-room-promo-btn{padding: 7px 16px;background: #1e293b;color: #ffffff;font-size: 0.78rem;font-weight: 800;border-radius: 8px;border: none;cursor: pointer;transition: opacity 0.2s;}
.hika-room-wrapper.is-dark .hika-room-promo-btn{background: #d97706;}
.hika-room-promo-btn:hover{opacity: 0.9;}
#modal-shelf-customize, #modal-shelf-import, #modal-shelf-barcode, #modal-book-color, #modal-shelf-tier-delete, #modal-shelf-share, #modal-add-subscription-book{z-index: 1250 !important;}
#shelf-hover-card{z-index: 1300 !important;}
.hika-room-modal-backdrop{position: fixed;inset: 0;z-index: 1200;display: none;align-items: stretch;justify-content: center;padding: 0;background: rgba(15, 23, 42, 0.45);backdrop-filter: blur(6px);-webkit-backdrop-filter: blur(6px);animation: hikaFadeIn 0.2s ease-out;}
.hika-room-modal-backdrop.is-open{display: flex;}
.hika-room-modal-dialog{position: relative;width: 100vw;max-width: 100vw;height: 100dvh;max-height: 100dvh;display: flex;flex-direction: column;overflow: hidden;border-radius: 0;background: var(--genre-page-bg, #faf9f6);padding: 10px 16px 12px 16px;box-shadow: none;border: none;color: var(--text-main, #0f172a);}
html[data-theme="dark"] .hika-room-modal-dialog{background: var(--bg-dark, #0f1218);color: var(--text-main, #f1f5f9);}
.hika-room-modal-topbar{display: flex;justify-content: space-between;align-items: center;flex-wrap: wrap;gap: 8px;margin-bottom: 8px;padding: 7px 14px;background: var(--bg-card, #ffffff);border: 1.5px solid var(--genre-border, rgba(217, 119, 6, 0.58));border-radius: 12px;box-shadow: 0 2px 10px var(--genre-shadow-tint, rgba(0, 0, 0, 0.05));flex-shrink: 0;}
html[data-theme="dark"] .hika-room-modal-topbar{background: var(--bg-card, #1c2230);border-color: var(--genre-border, #3d4a63);}
#hikaroom-bookshelf-modal-mount, #hikaroom-modal-bookshelf-mount{display: flex;flex-direction: column;flex: 1 1 auto;min-height: 0;overflow: hidden;}
.hika-room-modal-plaque{background: var(--genre-bg-tint, rgba(217, 119, 6, 0.08));color: var(--text-main, #0f172a);font-weight: 900;font-size: 0.92rem;padding: 5px 14px;border-radius: 10px;border: 1.5px solid var(--genre-border, rgba(217, 119, 6, 0.58));display: inline-flex;align-items: center;gap: 6px;}
html[data-theme="dark"] .hika-room-modal-plaque{background: rgba(245, 158, 11, 0.14);color: #f8fafc;}
.hika-room-modal-close-btn{background: var(--home-btn-bg, #0f172a);color: var(--home-btn-color, #ffffff);font-size: 0.76rem;font-weight: 800;padding: 6px 14px;border-radius: 999px;border: 1.5px solid var(--home-btn-border, #0f172a);box-shadow: 0 2px 8px var(--home-btn-shadow, rgba(15, 23, 42, 0.18));display: inline-flex;align-items: center;gap: 5px;cursor: pointer;transition: all 0.18s ease;}
.hika-room-modal-close-btn:hover{background: var(--home-btn-hover-bg, #1e293b);transform: translateY(-1px);}
.hikaroom-shelf-zoom-viewport{flex: 1 1 auto;min-height: 0;width: 100%;overflow: auto;position: relative;border-radius: 14px;background: linear-gradient(180deg, var(--bg-card, #ffffff) 0%, var(--genre-page-bg, #faf9f6) 100%);border: 1.5px solid var(--genre-border-subtle, #e2e8f0);padding: 14px 16px 42px 16px;touch-action: pan-x pan-y;-webkit-overflow-scrolling: touch;cursor: grab;box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.03);}
html[data-theme="dark"] .hikaroom-shelf-zoom-viewport{background: linear-gradient(180deg, #161b24 0%, #0f1218 100%);border-color: var(--border-color, #2b3548);box-shadow: inset 0 4px 18px rgba(0, 0, 0, 0.4);}
.hikaroom-shelf-zoom-viewport.is-panning{cursor: grabbing;user-select: none;}
.hikaroom-shelf-zoom-sizer{position: relative;overflow: visible;margin: 0 auto;}
.hikaroom-shelf-zoom-stage{transform-origin: 0 0;will-change: transform;width: 100%;}
.virtual-bookshelf-cabinet.is-hikaroom-illustrated{--shelf-wood-outer: #c2956b;--shelf-wood-plank: #d6ad83;--shelf-wood-bevel: #9c7048;--shelf-wood-highlight: rgba(255, 255, 255, 0.55);--shelf-wood-shadow: rgba(120, 75, 35, 0.18);--shelf-back-bg: linear-gradient(180deg, #fbf8f3 0%, #f3ece1 100%);--shelf-tier-header-bg: rgba(255, 255, 255, 0.86);--shelf-tier-header-text: #432818;--shelf-tier-header-border: rgba(194, 149, 107, 0.35);background: var(--shelf-back-bg) !important;border: 3px solid var(--shelf-wood-outer) !important;box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08), inset 0 0 24px rgba(180, 130, 80, 0.08) !important;border-radius: 16px;overflow: hidden;max-width: 1820px;width: 100% !important;}
html[data-theme="dark"] .virtual-bookshelf-cabinet.is-hikaroom-illustrated{--shelf-wood-outer: #7c4d2b;--shelf-wood-plank: #9c643b;--shelf-wood-bevel: #543219;--shelf-wood-highlight: rgba(255, 238, 205, 0.25);--shelf-back-bg: linear-gradient(180deg, #261b14 0%, #1c130d 100%);--shelf-tier-header-bg: rgba(15, 23, 42, 0.75);--shelf-tier-header-text: #fef3c7;--shelf-tier-header-border: rgba(251, 191, 36, 0.22);box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55), inset 0 0 40px rgba(0, 0, 0, 0.35) !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-oak{--shelf-wood-outer: #c2956b;--shelf-wood-plank: #d8ae84;--shelf-wood-bevel: #9e7249;--shelf-back-bg: linear-gradient(180deg, #fbf8f3 0%, #f2eae0 100%);}
html[data-theme="dark"] .virtual-bookshelf-cabinet.hikaroom-cab-oak{--shelf-wood-outer: #7c4d2b;--shelf-wood-plank: #9c643b;--shelf-wood-bevel: #543219;--shelf-back-bg: linear-gradient(180deg, #2b1d14 0%, #1e140d 100%);}
.virtual-bookshelf-cabinet.hikaroom-cab-white{--shelf-wood-outer: #cbd5e1;--shelf-wood-plank: #f1f5f9;--shelf-wood-bevel: #94a3b8;--shelf-back-bg: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);--shelf-tier-header-text: #0f172a;}
.virtual-bookshelf-cabinet.hikaroom-cab-antique{--shelf-wood-outer: #78350f;--shelf-wood-plank: #92400e;--shelf-wood-bevel: #451a03;--shelf-back-bg: linear-gradient(180deg, #f5ebe1 0%, #e7d8c9 100%);}
html[data-theme="dark"] .virtual-bookshelf-cabinet.hikaroom-cab-antique{--shelf-back-bg: linear-gradient(180deg, #29150b 0%, #1a0d06 100%);}
.virtual-bookshelf-cabinet.hikaroom-cab-pink{--shelf-wood-outer: #f472b6;--shelf-wood-plank: #f9a8d4;--shelf-wood-bevel: #db2777;--shelf-back-bg: linear-gradient(180deg, #fdf2f8 0%, #fce7f3 100%);}
.virtual-bookshelf-cabinet.hikaroom-cab-botanical{--shelf-wood-outer: #4d7c55;--shelf-wood-plank: #659a6e;--shelf-wood-bevel: #36593c;--shelf-back-bg: linear-gradient(180deg, #f2f9f4 0%, #e3f2e8 100%);}
.virtual-bookshelf-cabinet.hikaroom-cab-starry{--shelf-wood-outer: #4338ca;--shelf-wood-plank: #6366f1;--shelf-wood-bevel: #312e81;--shelf-back-bg: linear-gradient(180deg, #eef2ff 0%, #e0e7ff 100%);}
html[data-theme="dark"] .virtual-bookshelf-cabinet.hikaroom-cab-starry{--shelf-back-bg: linear-gradient(180deg, #1e1b4b 0%, #0f172a 100%);}
.virtual-bookshelf-cabinet.hikaroom-cab-marine{--shelf-wood-outer: #0284c7;--shelf-wood-plank: #38bdf8;--shelf-wood-bevel: #0369a1;--shelf-back-bg: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%);}
.virtual-bookshelf-cabinet.hikaroom-cab-cardboard{--shelf-wood-outer: #ca8a04;--shelf-wood-plank: #eab308;--shelf-wood-bevel: #a16207;--shelf-back-bg: linear-gradient(180deg, #fefce8 0%, #fef9c3 100%);}
.virtual-bookshelf-cabinet.hikaroom-cab-toyblock{--shelf-wood-outer: #ea580c;--shelf-wood-plank: #f97316;--shelf-wood-bevel: #c2410c;--shelf-back-bg: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);}
.virtual-bookshelf-cabinet.hikaroom-cab-ruins{--shelf-wood-outer: #64748b;--shelf-wood-plank: #94a3b8;--shelf-wood-bevel: #475569;--shelf-back-bg: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);}
.virtual-bookshelf-cabinet.hikaroom-cab-steampunk{--shelf-wood-outer: #92400e;--shelf-wood-plank: #b45309;--shelf-wood-bevel: #78350f;--shelf-back-bg: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);}
.virtual-bookshelf-cabinet.hikaroom-cab-sweets{--shelf-wood-outer: #db2777;--shelf-wood-plank: #ec4899;--shelf-wood-bevel: #9d174d;--shelf-back-bg: linear-gradient(180deg, #fff1f2 0%, #ffe4e6 100%);}
.virtual-bookshelf-cabinet.hikaroom-cab-library{--shelf-wood-outer: #3a2617;--shelf-wood-plank: #4a3220;--shelf-wood-bevel: #c9a35f;--shelf-wood-highlight: #c9a35f;--shelf-back-bg: linear-gradient(180deg, #33200f 0%, #201205 100%);--shelf-tier-header-bg: rgba(58, 38, 23, 0.88);--shelf-tier-header-text: #fef3c7;--shelf-tier-header-border: #c9a35f;border: 3px solid #c9a35f;border-radius: 8px;}
html[data-theme="dark"] .virtual-bookshelf-cabinet.hikaroom-cab-library{--shelf-wood-outer: #26180e;--shelf-wood-plank: #382414;--shelf-wood-bevel: #a88242;--shelf-wood-highlight: #a88242;--shelf-back-bg: linear-gradient(180deg, #1f1207 0%, #120903 100%);}
.virtual-bookshelf-cabinet.hikaroom-cab-cyber{--shelf-wood-outer: #0b1420;--shelf-wood-plank: #12202f;--shelf-wood-bevel: #070d16;--shelf-wood-highlight: #22d3ee;--shelf-back-bg: radial-gradient(120% 90% at 50% 0%, #10303f, #050a12);--shelf-tier-header-bg: rgba(11, 20, 32, 0.88);--shelf-tier-header-text: #f0f9ff;--shelf-tier-header-border: #22d3ee;border: 3px solid #22d3ee;border-radius: 8px;}
html[data-theme="dark"] .virtual-bookshelf-cabinet.hikaroom-cab-cyber{--shelf-wood-outer: #070d16;--shelf-wood-plank: #0d1722;--shelf-wood-bevel: #03060a;--shelf-wood-highlight: #0ea5e9;--shelf-back-bg: radial-gradient(120% 90% at 50% 0%, #0c202a, #03060a);}
.virtual-bookshelf-cabinet.is-hikaroom-illustrated .virtual-shelf-top-lintel{height: 16px;background: linear-gradient(180deg, var(--shelf-wood-plank) 0%, var(--shelf-wood-outer) 70%, var(--shelf-wood-bevel) 100%) !important;border-top: 2px solid var(--shelf-wood-highlight) !important;border-bottom: 3px solid var(--shelf-wood-bevel) !important;}
.virtual-bookshelf-cabinet.is-hikaroom-illustrated .virtual-shelf-tier{background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(0, 0, 0, 0.03) 90%, rgba(0, 0, 0, 0.09) 100%) !important;border-left: 12px solid var(--shelf-wood-outer) !important;border-right: 12px solid var(--shelf-wood-outer) !important;box-shadow: inset 6px 0 14px rgba(0, 0, 0, 0.06), inset -6px 0 14px rgba(0, 0, 0, 0.06) !important;position: relative;padding-bottom: 0 !important;margin-bottom: 0 !important;}
.virtual-bookshelf-cabinet.is-hikaroom-illustrated .virtual-shelf-tier-header{margin: 0;background: var(--shelf-tier-header-bg) !important;color: var(--shelf-tier-header-text) !important;border-bottom: 1px solid var(--shelf-tier-header-border) !important;border-radius: 0;padding: 6px 16px;backdrop-filter: blur(4px);}
.virtual-bookshelf-cabinet.is-hikaroom-illustrated .virtual-shelf-stage, .virtual-bookshelf-cabinet.is-hikaroom-illustrated .shelf-cover-grid{padding: var(--tier-head-gap, var(--shelf-head-gap, 8px)) 20px 0px 20px !important;min-height: calc(var(--tier-stage-height, var(--shelf-stage-height, 180px)) * var(--shelf-scale, 1)) !important;gap: var(--shelf-book-gap, 4px) !important;flex-wrap: wrap;align-content: flex-end;}
.virtual-bookshelf-cabinet.is-hikaroom-illustrated .virtual-shelf-plank{display: block !important;height: 18px;background: linear-gradient(180deg, var(--shelf-wood-plank) 0%, var(--shelf-wood-outer) 68%, var(--shelf-wood-bevel) 100%) !important;border-top: 2px solid var(--shelf-wood-highlight) !important;border-bottom: 4px solid var(--shelf-wood-bevel) !important;box-shadow: 0 6px 14px rgba(0, 0, 0, 0.14), inset 0 1px 3px var(--shelf-wood-highlight) !important;}
.virtual-bookshelf-cabinet.is-hikaroom-illustrated .virtual-shelf-bottom-plinth{height: 14px;background: linear-gradient(180deg, var(--shelf-wood-outer), var(--shelf-wood-bevel)) !important;position: relative;z-index: 5;}
.virtual-bookshelf-cabinet.hikaroom-cab-oak .virtual-shelf-top-lintel, .virtual-bookshelf-cabinet.hikaroom-cab-oak .virtual-shelf-plank, .virtual-bookshelf-cabinet.hikaroom-cab-oak .virtual-shelf-bottom-plinth{background: repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0px, rgba(255,255,255,0.08) 2px, transparent 2px, transparent 8px, rgba(110,65,25,0.12) 8px, rgba(110,65,25,0.12) 10px, transparent 10px, transparent 20px, rgba(255,255,255,0.12) 20px, rgba(255,255,255,0.12) 24px, transparent 24px, transparent 38px), radial-gradient(ellipse 700px 24px at 50% 50%, rgba(255,255,255,0.14) 0%, transparent 80%), linear-gradient(180deg, #e3be97 0%, #d8ae84 35%, #c2956b 70%, #9e7249 100%) !important;border-top-color: rgba(255, 255, 255, 0.45) !important;border-bottom-color: #8c603a !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-oak .virtual-shelf-tier{border-left-color: #be8e64 !important;border-right-color: #be8e64 !important;box-shadow: inset 8px 0 12px rgba(110,65,25,0.15), inset -8px 0 12px rgba(110,65,25,0.15) !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-white .virtual-shelf-top-lintel, .virtual-bookshelf-cabinet.hikaroom-cab-white .virtual-shelf-plank, .virtual-bookshelf-cabinet.hikaroom-cab-white .virtual-shelf-bottom-plinth{background: repeating-linear-gradient(90deg, rgba(148,163,184,0.12) 0px, rgba(148,163,184,0.12) 1.5px, transparent 1.5px, transparent 9px, rgba(255,255,255,0.35) 9px, rgba(255,255,255,0.35) 12px, transparent 12px, transparent 26px), radial-gradient(ellipse 600px 22px at 50% 40%, rgba(255,255,255,0.55) 0%, transparent 75%), linear-gradient(180deg, #ffffff 0%, #f1f5f9 40%, #e2e8f0 75%, #cbd5e1 100%) !important;border-top-color: #ffffff !important;border-bottom-color: #94a3b8 !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-white .virtual-shelf-tier{border-left-color: #d8e2ed !important;border-right-color: #d8e2ed !important;box-shadow: inset 8px 0 12px rgba(100,116,139,0.12), inset -8px 0 12px rgba(100,116,139,0.12) !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-antique .virtual-shelf-top-lintel, .virtual-bookshelf-cabinet.hikaroom-cab-antique .virtual-shelf-plank, .virtual-bookshelf-cabinet.hikaroom-cab-antique .virtual-shelf-bottom-plinth{background: repeating-linear-gradient(90deg, rgba(35,12,3,0.3) 0px, rgba(35,12,3,0.3) 2.5px, transparent 2.5px, transparent 8px, rgba(251,191,36,0.12) 8px, rgba(251,191,36,0.12) 11px, transparent 11px, transparent 22px, rgba(20,5,1,0.38) 22px, rgba(20,5,1,0.38) 25px, transparent 25px, transparent 42px), linear-gradient(90deg, rgba(25,8,2,0.4) 0%, transparent 12%, transparent 88%, rgba(25,8,2,0.4) 100%), linear-gradient(180deg, #a35017 0%, #873809 30%, #682604 70%, #451a03 100%) !important;border-top-color: #d97706 !important;border-bottom-color: #2b1002 !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-antique .virtual-shelf-tier{border-left-color: #682604 !important;border-right-color: #682604 !important;box-shadow: inset 10px 0 16px rgba(20,5,1,0.35), inset -10px 0 16px rgba(20,5,1,0.35) !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-pink .virtual-shelf-top-lintel, .virtual-bookshelf-cabinet.hikaroom-cab-pink .virtual-shelf-plank, .virtual-bookshelf-cabinet.hikaroom-cab-pink .virtual-shelf-bottom-plinth{background: repeating-linear-gradient(90deg, rgba(255,255,255,0.25) 0px, rgba(255,255,255,0.25) 2px, transparent 2px, transparent 14px, rgba(190,24,93,0.08) 14px, rgba(190,24,93,0.08) 16px, transparent 16px, transparent 30px), radial-gradient(ellipse 550px 22px at 50% 35%, rgba(255,255,255,0.4) 0%, transparent 75%), linear-gradient(180deg, #fce7f3 0%, #f9a8d4 35%, #f472b6 75%, #db2777 100%) !important;border-top-color: #fff0f6 !important;border-bottom-color: #be185d !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-pink .virtual-shelf-tier{border-left-color: #f472b6 !important;border-right-color: #f472b6 !important;box-shadow: inset 8px 0 12px rgba(190,24,93,0.12), inset -8px 0 12px rgba(190,24,93,0.12) !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-botanical .virtual-shelf-top-lintel, .virtual-bookshelf-cabinet.hikaroom-cab-botanical .virtual-shelf-plank, .virtual-bookshelf-cabinet.hikaroom-cab-botanical .virtual-shelf-bottom-plinth{background: repeating-linear-gradient(90deg, rgba(22,101,52,0.2) 0px, rgba(22,101,52,0.2) 2px, transparent 2px, transparent 9px, rgba(187,247,208,0.2) 9px, rgba(187,247,208,0.2) 12px, transparent 12px, transparent 24px, rgba(15,60,30,0.25) 24px, rgba(15,60,30,0.25) 26px, transparent 26px, transparent 40px), radial-gradient(ellipse 650px 24px at 50% 45%, rgba(255,255,255,0.18) 0%, transparent 75%), linear-gradient(180deg, #78af82 0%, #659a6e 35%, #4d7c55 70%, #36593c 100%) !important;border-top-color: #86efac !important;border-bottom-color: #1e3d23 !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-botanical .virtual-shelf-tier{border-left-color: #446d4b !important;border-right-color: #446d4b !important;box-shadow: inset 8px 0 12px rgba(22,101,52,0.18), inset -8px 0 12px rgba(22,101,52,0.18) !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-starry .virtual-shelf-top-lintel, .virtual-bookshelf-cabinet.hikaroom-cab-starry .virtual-shelf-plank, .virtual-bookshelf-cabinet.hikaroom-cab-starry .virtual-shelf-bottom-plinth{background-image: radial-gradient(1.2px 1.2px at 28px 6px, #ffffff, transparent), radial-gradient(1.5px 1.5px at 75px 12px, #fde047, transparent), radial-gradient(1.2px 1.2px at 135px 5px, #c7d2fe, transparent), radial-gradient(1.6px 1.6px at 190px 11px, #ffffff, transparent), radial-gradient(1.2px 1.2px at 245px 4px, #fef08a, transparent), radial-gradient(1.4px 1.4px at 305px 13px, #e0e7ff, transparent), radial-gradient(ellipse 350px 20px at 45% 50%, rgba(129,140,248,0.22) 0%, transparent 75%), linear-gradient(180deg, #4f46e5 0%, #4338ca 35%, #312e81 70%, #1e1b4b 100%) !important;background-size: 320px 100%, 320px 100%, 320px 100%, 320px 100%, 320px 100%, 320px 100%, 100% 100%, 100% 100% !important;background-repeat: repeat-x, repeat-x, repeat-x, repeat-x, repeat-x, repeat-x, no-repeat, no-repeat !important;border-top-color: #818cf8 !important;border-bottom-color: #17153a !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-starry .virtual-shelf-tier{border-left-color: #312e81 !important;border-right-color: #312e81 !important;box-shadow: inset 8px 0 14px rgba(15,23,42,0.4), inset -8px 0 14px rgba(15,23,42,0.4) !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-marine .virtual-shelf-top-lintel, .virtual-bookshelf-cabinet.hikaroom-cab-marine .virtual-shelf-plank, .virtual-bookshelf-cabinet.hikaroom-cab-marine .virtual-shelf-bottom-plinth{background: repeating-linear-gradient(90deg, transparent 0px, transparent 136px, rgba(3,105,161,0.45) 136px, rgba(2,60,95,0.65) 138px, rgba(255,255,255,0.7) 139px, transparent 141px), repeating-linear-gradient(90deg, rgba(255,255,255,0.24) 0px, rgba(255,255,255,0.24) 2px, transparent 2px, transparent 6px, rgba(3,105,161,0.18) 6px, rgba(3,105,161,0.18) 8px, transparent 8px, transparent 18px), linear-gradient(180deg, #7dd3fc 0%, #38bdf8 30%, #0284c7 70%, #0369a1 100%) !important;border-top-color: #bae6fd !important;border-bottom-color: #075985 !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-marine .virtual-shelf-tier{border-left-color: #0284c7 !important;border-right-color: #0284c7 !important;box-shadow: inset 8px 0 12px rgba(2,60,95,0.25), inset -8px 0 12px rgba(2,60,95,0.25) !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-cardboard .virtual-shelf-top-lintel, .virtual-bookshelf-cabinet.hikaroom-cab-cardboard .virtual-shelf-plank, .virtual-bookshelf-cabinet.hikaroom-cab-cardboard .virtual-shelf-bottom-plinth{background: repeating-linear-gradient(90deg, rgba(113,63,18,0.28) 0px, rgba(113,63,18,0.28) 2px, rgba(254,240,138,0.35) 3px, transparent 4px, transparent 9px, rgba(113,63,18,0.2) 10px, rgba(113,63,18,0.28) 11px), repeating-linear-gradient(0deg, rgba(255,255,255,0.12) 0px, rgba(255,255,255,0.12) 1px, transparent 1px, transparent 3px), linear-gradient(180deg, #facc15 0%, #eab308 35%, #ca8a04 70%, #a16207 100%) !important;border-top-color: #fef08a !important;border-bottom-color: #854d0e !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-cardboard .virtual-shelf-tier{border-left-color: #ca8a04 !important;border-right-color: #ca8a04 !important;box-shadow: inset 8px 0 12px rgba(113,63,18,0.2), inset -8px 0 12px rgba(113,63,18,0.2) !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-toyblock .virtual-shelf-top-lintel, .virtual-bookshelf-cabinet.hikaroom-cab-toyblock .virtual-shelf-plank, .virtual-bookshelf-cabinet.hikaroom-cab-toyblock .virtual-shelf-bottom-plinth{background: repeating-linear-gradient(90deg, transparent 0px, transparent 86px, rgba(124,45,18,0.6) 86px, rgba(67,20,7,0.85) 88px, rgba(255,255,255,0.55) 89px, transparent 91px), repeating-linear-gradient(90deg, rgba(255,255,255,0.14) 0px, rgba(255,255,255,0.14) 3px, transparent 3px, transparent 15px), linear-gradient(180deg, #fb923c 0%, #f97316 35%, #ea580c 70%, #c2410c 100%) !important;border-top-color: #fed7aa !important;border-bottom-color: #9a3412 !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-toyblock .virtual-shelf-tier{border-left-color: #ea580c !important;border-right-color: #ea580c !important;box-shadow: inset 8px 0 12px rgba(124,45,18,0.25), inset -8px 0 12px rgba(124,45,18,0.25) !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-ruins .virtual-shelf-top-lintel, .virtual-bookshelf-cabinet.hikaroom-cab-ruins .virtual-shelf-plank, .virtual-bookshelf-cabinet.hikaroom-cab-ruins .virtual-shelf-bottom-plinth{background: repeating-linear-gradient(108deg, transparent 0px, transparent 115px, rgba(30,41,59,0.5) 115px, rgba(15,23,42,0.7) 116.5px, rgba(241,245,249,0.35) 117px, transparent 118.5px), repeating-linear-gradient(90deg, rgba(15,23,42,0.14) 0px, rgba(15,23,42,0.14) 1px, transparent 1px, transparent 4px, rgba(255,255,255,0.18) 4px, rgba(255,255,255,0.18) 5px, transparent 5px, transparent 10px), linear-gradient(180deg, #cbd5e1 0%, #94a3b8 35%, #64748b 70%, #475569 100%) !important;border-top-color: #e2e8f0 !important;border-bottom-color: #334155 !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-ruins .virtual-shelf-tier{border-left-color: #64748b !important;border-right-color: #64748b !important;box-shadow: inset 8px 0 14px rgba(30,41,59,0.25), inset -8px 0 14px rgba(30,41,59,0.25) !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-steampunk .virtual-shelf-top-lintel, .virtual-bookshelf-cabinet.hikaroom-cab-steampunk .virtual-shelf-plank, .virtual-bookshelf-cabinet.hikaroom-cab-steampunk .virtual-shelf-bottom-plinth{background-image: radial-gradient(circle 2.5px at 24px 50%, #fef08a 0%, #ca8a04 55%, #451a03 100%), repeating-linear-gradient(90deg, rgba(254,240,138,0.15) 0px, rgba(254,240,138,0.15) 1px, transparent 1px, transparent 3px, rgba(69,26,3,0.2) 3px, rgba(69,26,3,0.2) 4px, transparent 4px, transparent 7px), linear-gradient(180deg, #d97706 0%, #b45309 30%, #92400e 65%, #78350f 100%) !important;background-size: 48px 100%, 100% 100%, 100% 100% !important;background-repeat: repeat-x, no-repeat, no-repeat !important;border-top-color: #fde68a !important;border-bottom-color: #451a03 !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-steampunk .virtual-shelf-tier{border-left-color: #92400e !important;border-right-color: #92400e !important;box-shadow: inset 8px 0 14px rgba(69,26,3,0.35), inset -8px 0 14px rgba(69,26,3,0.35) !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-sweets .virtual-shelf-top-lintel, .virtual-bookshelf-cabinet.hikaroom-cab-sweets .virtual-shelf-plank, .virtual-bookshelf-cabinet.hikaroom-cab-sweets .virtual-shelf-bottom-plinth{background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.3) 0px, rgba(255,255,255,0.3) 6px, transparent 6px, transparent 12px, rgba(219,39,119,0.25) 12px, rgba(219,39,119,0.25) 18px, transparent 18px, transparent 24px), radial-gradient(circle 2px at 16px 50%, rgba(131,24,67,0.5) 0%, rgba(131,24,67,0) 80%), linear-gradient(180deg, #fbcfe8 0%, #f472b6 25%, #db2777 65%, #9d174d 100%) !important;background-size: 100% 100%, 32px 100%, 100% 100% !important;background-repeat: no-repeat, repeat-x, no-repeat !important;border-top-color: #fce7f3 !important;border-bottom-color: #831843 !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-sweets .virtual-shelf-tier{border-left-color: #db2777 !important;border-right-color: #db2777 !important;box-shadow: inset 8px 0 12px rgba(157,23,77,0.2), inset -8px 0 12px rgba(157,23,77,0.2) !important;}
.hikaroom-cabinet-style-strip{display: flex;align-items: center;gap: 6px;overflow-x: auto;padding: 4px 2px 6px 2px;scrollbar-width: thin;-webkit-overflow-scrolling: touch;flex-shrink: 0;}
.hikaroom-cabinet-style-strip::-webkit-scrollbar{height: 6px;}
.hikaroom-cabinet-style-strip::-webkit-scrollbar-track{background: transparent;}
.hikaroom-cabinet-style-strip::-webkit-scrollbar-thumb{background: #cbd5e1;border-radius: 999px;}
html[data-theme="dark"] .hikaroom-cabinet-style-strip::-webkit-scrollbar-thumb{background: #334155;}
.hikaroom-cab-pill{display: inline-flex;align-items: center;gap: 6px;padding: 4px 10px;border-radius: 999px;border: 1px solid var(--border-color, #e2e8f0);background: var(--bg-card-alt, #f1f5f9);color: var(--text-main, #0f172a);font-size: 0.72rem;font-weight: 800;white-space: nowrap;cursor: pointer;transition: all 0.18s ease;flex-shrink: 0;}
.hikaroom-cab-pill img{width: 24px;height: 18px;object-fit: contain;border-radius: 3px;background: var(--bg-card, #ffffff);border: 1px solid var(--border-color, #cbd5e1);flex-shrink: 0;}
.hikaroom-cab-pill:hover{border-color: var(--genre-theme, #d97706);transform: translateY(-1px);}
.hikaroom-cab-pill.active{background: var(--genre-theme, #d97706);color: #ffffff;border-color: var(--genre-theme, #d97706);box-shadow: 0 2px 8px var(--genre-shadow-tint, rgba(217, 119, 6, 0.3));}
.spine-mini-cover{display: none !important;}
@media (max-width: 640px){.hika-room-wrapper{padding: 14px 12px;}.hika-room-title{font-size: 1.2rem;}.hika-room-bookshelf-guide-pill{font-size: 0.65rem;padding: 4px 9px;top: -30px;}.hika-room-night-hint{font-size: 0.66rem;padding: 6px 10px;}.hika-room-modal-dialog{padding: 12px;}}
.furniture-control-hud{position: absolute;top: -46px;left: 50%;transform: translateX(-50%);display: none;align-items: center;gap: 4px;background: rgba(15, 23, 42, 0.92);backdrop-filter: blur(8px);padding: 4px 8px;border-radius: 999px;box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);border: 1px solid rgba(255, 255, 255, 0.15);z-index: 1000;white-space: nowrap;animation: fHudFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);}
@keyframes fHudFadeIn{from{opacity: 0;transform: translate(-50%, 6px);}to{opacity: 1;transform: translate(-50%, 0);}}
.furniture-sandbox-entity.is-selected .furniture-control-hud, .furniture-sandbox-entity:hover .furniture-control-hud{display: flex;}
.f-hud-btn{background: rgba(255, 255, 255, 0.12);border: none;color: #ffffff;font-size: 0.68rem;font-weight: 700;padding: 3px 8px;border-radius: 999px;cursor: pointer;display: inline-flex;align-items: center;gap: 3px;transition: all 0.15s ease;}
.f-hud-btn:hover{background: #ea580c;color: #ffffff;transform: translateY(-1px);}
.f-hud-btn.remove:hover{background: #dc2626;}
.furniture-catalog-drawer{background: var(--bg-card, #ffffff);border: 1.5px solid var(--border-color, #e2e8f0);border-radius: 14px;padding: 12px 14px;margin-top: 10px;box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);display: none;}
.furniture-catalog-drawer.is-open{display: block;animation: fDrawerSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1);}
@keyframes fDrawerSlideDown{from{opacity: 0;transform: translateY(-8px);}to{opacity: 1;transform: translateY(0);}}
.furniture-drawer-grid{display: grid;grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));gap: 10px;margin-top: 10px;}
.furniture-drawer-item{background: var(--bg-page, #f8fafc);border: 1.5px solid var(--border-color, #cbd5e1);border-radius: 10px;padding: 8px;text-align: center;cursor: pointer;transition: all 0.2s ease;display: flex;flex-direction: column;align-items: center;gap: 6px;}
.furniture-drawer-item:hover{border-color: #ea580c;background: #fff7ed;transform: translateY(-2px);box-shadow: 0 4px 10px rgba(234, 88, 12, 0.15);}
.furniture-drawer-thumb{width: 72px;height: 72px;object-fit: contain;mix-blend-mode: multiply;pointer-events: none;}
.furniture-drawer-title{font-size: 0.7rem;font-weight: 700;color: var(--text-main);line-height: 1.2;}
.furniture-drawer-btn{font-size: 0.65rem;font-weight: 800;background: #ea580c;color: #fff;border: none;border-radius: 999px;padding: 3px 9px;cursor: pointer;margin-top: 2px;}
.shelf-tier-light-system{position: absolute;top: 31px;left: 0;right: 0;bottom: 14px;pointer-events: none;z-index: 2;overflow: hidden;}
.shelf-light-fixture-bar{position: absolute;top: 0;left: 6px;right: 6px;height: 3px;background: rgba(30, 41, 59, 0.75);border-radius: 999px;display: flex;align-items: center;justify-content: center;box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);}
.shelf-light-led-strip{width: 98%;height: 2px;border-radius: 999px;transition: all 0.3s ease;}
.shelf-light-beam-projection{position: absolute;inset: 0;pointer-events: none;transition: opacity 0.3s ease, background 0.3s ease;}
.lighting-warm-downlight .shelf-light-led-strip{background: #fef08a;box-shadow: 0 0 8px #f59e0b, 0 0 16px rgba(245, 158, 11, 0.85);}
.lighting-warm-downlight .shelf-light-beam-projection{background: radial-gradient(ellipse 95% 85% at 50% 0%, rgba(254, 240, 138, 0.28) 0%, rgba(245, 158, 11, 0.12) 42%, rgba(180, 83, 9, 0.03) 75%, transparent 100%);}
.lighting-spotlight .shelf-light-led-strip{background: #ffffff;box-shadow: 0 0 10px rgba(255, 255, 255, 0.95), 0 0 20px rgba(254, 215, 170, 0.8);}
.lighting-spotlight .shelf-light-beam-projection{background: radial-gradient(ellipse 130px 160px at 20% 0%, rgba(255, 255, 255, 0.32) 0%, rgba(254, 243, 199, 0.14) 45%, transparent 80%), radial-gradient(ellipse 150px 180px at 50% 0%, rgba(255, 255, 255, 0.42) 0%, rgba(253, 230, 138, 0.16) 45%, transparent 85%), radial-gradient(ellipse 130px 160px at 80% 0%, rgba(255, 255, 255, 0.32) 0%, rgba(254, 243, 199, 0.14) 45%, transparent 80%);}
.lighting-night-bar .shelf-light-led-strip{background: #f43f5e;box-shadow: 0 0 10px #f43f5e, 0 0 18px rgba(99, 102, 241, 0.8);}
.lighting-night-bar .shelf-light-beam-projection{background: radial-gradient(ellipse 90% 85% at 50% 0%, rgba(244, 63, 94, 0.22) 0%, rgba(129, 140, 248, 0.12) 45%, rgba(67, 56, 202, 0.04) 75%, transparent 100%);}
.lighting-daylight .shelf-light-led-strip{background: #e0f2fe;box-shadow: 0 0 8px #38bdf8, 0 0 16px rgba(56, 189, 248, 0.6);}
.lighting-daylight .shelf-light-beam-projection{background: radial-gradient(ellipse 95% 80% at 50% 0%, rgba(224, 242, 254, 0.28) 0%, rgba(186, 230, 253, 0.10) 45%, transparent 85%);}
.virtual-shelf-tier.has-lighting .virtual-shelf-plank::before{content: "";position: absolute;top: 0;left: 8%;right: 8%;height: 3px;background: radial-gradient(ellipse at 50% 0%, rgba(254, 240, 138, 0.35), transparent 75%);pointer-events: none;}
.shelf-faceout-book{position: relative;display: inline-flex;flex-direction: column;align-items: center;justify-content: flex-end;height: calc(var(--book-real-height, 132px) * var(--shelf-scale, 1));width: calc(var(--book-real-cover-w, 90px) * var(--shelf-scale, 1));margin-right: calc(var(--shelf-book-gap, 4px) + var(--book-depth-px, 4px));cursor: pointer;flex-shrink: 0;transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), filter 0.22s;user-select: none;filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));}
.shelf-faceout-book:hover{transform: translateY(-5px) scale(1.03);filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));}
.faceout-cover-container{position: relative;width: 100%;height: calc(100% - 6px);border-radius: 3px 5px 5px 3px;overflow: hidden;border: 1px solid rgba(255, 255, 255, 0.25);box-shadow: inset 2px 0 3px rgba(255, 255, 255, 0.42), inset -1.5px 0 2px rgba(0, 0, 0, 0.3), var(--book-depth-px, 4px) -1px 0 -0.5px #f5f0e1, calc(var(--book-depth-px, 4px) + 1px) 0px 2px rgba(0, 0, 0, 0.45);background: #1e293b;}
.faceout-cover-img{width: 100%;height: 100%;object-fit: cover;display: block;}
.faceout-cover-sheen{position: absolute;inset: 0;pointer-events: none;background: linear-gradient(115deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.04) 28%, transparent 60%);}
.faceout-easel-stand{width: 84%;height: 6px;background: linear-gradient(180deg, #d97706, #78350f);border-radius: 2px 2px 4px 4px;box-shadow: 0 3px 6px rgba(0,0,0,0.45), inset 0 1px 1px rgba(255,255,255,0.35);position: relative;margin-top: -2px;z-index: 2;}
.faceout-ribbon-badge{position: absolute;top: 6px;right: -2px;background: linear-gradient(135deg, #ea580c, #f59e0b);color: #fff;font-size: 0.58rem;font-weight: 800;padding: 1px 6px;border-radius: 4px 0 0 4px;box-shadow: 0 2px 4px rgba(0,0,0,0.3);letter-spacing: 0.04em;}
.shelf-prominent-plaque{position: relative;display: inline-flex;align-items: center;justify-content: center;gap: 10px;padding: 8px 26px;min-width: 260px;max-width: 92%;border-radius: 9px;font-size: 0.95rem;font-weight: 800;letter-spacing: 0.05em;cursor: pointer;user-select: none;transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s;}
.shelf-prominent-plaque:hover{transform: translateY(-2px);}
.shelf-prominent-plaque .plaque-title-text{flex: 1;text-align: center;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.shelf-prominent-plaque .plaque-crest-icon{display: inline-flex;align-items: center;opacity: 0.85;font-size: 0.95rem;}
.shelf-prominent-plaque .plaque-action-icon-btn{display: inline-flex;align-items: center;justify-content: center;background: rgba(0, 0, 0, 0.12);border: none;border-radius: 999px;width: 22px;height: 22px;padding: 0;cursor: pointer;opacity: 0.75;transition: opacity 0.15s, transform 0.15s;color: inherit;}
.shelf-prominent-plaque:hover .plaque-action-icon-btn{opacity: 1;}
.shelf-prominent-plaque .plaque-rivet{position: absolute;width: 6px;height: 6px;border-radius: 50%;opacity: 0.65;}
.shelf-prominent-plaque .plaque-rivet.top-left{top: 4px;left: 6px;}
.shelf-prominent-plaque .plaque-rivet.top-right{top: 4px;right: 6px;}
.shelf-prominent-plaque .plaque-rivet.bottom-left{bottom: 4px;left: 6px;}
.shelf-prominent-plaque .plaque-rivet.bottom-right{bottom: 4px;right: 6px;}
.plaque-antique-brass{background: linear-gradient(135deg, #c59b27 0%, #fef08a 28%, #b45309 65%, #78350f 100%);color: #381e05;border: 1.5px solid #78350f;box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.9), inset 0 -1px 2px rgba(0, 0, 0, 0.4);text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);font-family: 'Cinzel', 'Noto Serif JP', serif;}
.plaque-antique-brass .plaque-rivet{background: #5a2604;box-shadow: inset 0 1px 0 #fff;}
.plaque-carved-wood{background: linear-gradient(180deg, #603813 0%, #3e2208 100%);color: #1a0b02;border: 2px solid #231204;box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.7), 0 5px 14px rgba(0, 0, 0, 0.45);text-shadow: 0 1px 1px rgba(255, 255, 255, 0.2), 0 -1px 1px rgba(0, 0, 0, 0.9);font-family: 'Noto Serif JP', serif;}
.plaque-carved-wood .plaque-rivet{background: #1a0a02;border: 1px solid rgba(255,255,255,0.1);}
.plaque-modern-obsidian{background: linear-gradient(145deg, #18181b 0%, #09090b 100%);color: #f4f4f5;border: 1px solid rgba(255, 255, 255, 0.22);box-shadow: 0 6px 18px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25);letter-spacing: 0.08em;}
.plaque-modern-obsidian .plaque-rivet{background: #71717a;}
.plaque-royal-marble{background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);color: #78350f;border: 1.5px solid #d97706;box-shadow: 0 0 0 1px #b45309, 0 5px 14px rgba(0, 0, 0, 0.16);text-shadow: 0 1px 0 #ffffff, 0 -1px 0 rgba(180, 83, 9, 0.2);font-family: 'Noto Serif JP', serif;}
.plaque-royal-marble .plaque-rivet{background: #b45309;}
.plaque-vintage-iron{background: linear-gradient(180deg, #334155 0%, #1e293b 100%);color: #e2e8f0;border: 2px solid #0f172a;box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 5px 14px rgba(0, 0, 0, 0.45);text-shadow: 0 -1px 1px #000;}
.plaque-vintage-iron .plaque-rivet{background: #94a3b8;box-shadow: inset 0 1px 1px #000;}
.plaque-frosted-glass{background: rgba(255, 255, 255, 0.7);backdrop-filter: blur(12px);-webkit-backdrop-filter: blur(12px);color: #0f172a;border: 1px solid rgba(255, 255, 255, 0.8);box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);}
html[data-theme="dark"] .plaque-frosted-glass{background: rgba(30, 41, 59, 0.7);color: #f8fafc;border-color: rgba(255, 255, 255, 0.15);}
.plaque-frosted-glass .plaque-rivet{background: rgba(0, 0, 0, 0.2);}
.plaque-embossed-leather{background: linear-gradient(135deg, #78350f 0%, #451a03 100%);color: #fde68a;border: 2px dashed #b45309;outline: 2px solid #451a03;box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);}
.plaque-embossed-leather .plaque-rivet{background: #b45309;}
.plaque-patina-bronze{background: linear-gradient(135deg, #134e4a 0%, #115e59 45%, #78350f 100%);color: #ccfbf1;border: 1.5px solid #2dd4bf;box-shadow: 0 4px 14px rgba(15, 23, 42, 0.4);text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);}
.plaque-patina-bronze .plaque-rivet{background: #2dd4bf;}
.plaque-hinoki-wabi{background: linear-gradient(180deg, #fef3c7 0%, #fde68a 100%);color: #1c1917;border: 1.5px solid #b45309;box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);font-family: 'Noto Serif JP', serif;}
.plaque-hinoki-wabi .plaque-rivet{background: #b45309;}
.plaque-neo-cyber{background: #09090b;color: #67e8f9;border: 1.5px solid #06b6d4;box-shadow: 0 0 14px rgba(6, 182, 212, 0.3), inset 0 0 8px rgba(6, 182, 212, 0.15);text-shadow: 0 0 8px rgba(6, 182, 212, 0.8);letter-spacing: 0.12em;}
.plaque-neo-cyber .plaque-rivet{background: #06b6d4;box-shadow: 0 0 4px #06b6d4;}
.book-heart-burst{position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);pointer-events: none;z-index: 99;animation: bookHeartBurst 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;}
@keyframes bookHeartBurst{0%{opacity: 0;transform: translate(-50%, -50%) scale(0.2);}25%{opacity: 1;transform: translate(-50%, -50%) scale(1.4);}60%{opacity: 1;transform: translate(-50%, -75%) scale(1.15);}100%{opacity: 0;transform: translate(-50%, -105%) scale(0.7);}}
.shelf-quick-adjust-container{position: relative;display: inline-block;}
.shelf-quick-adjust-popover{position: absolute;top: calc(100% + 8px);left: 0;z-index: 110;min-width: 320px;max-width: 90vw;background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 14px;box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);padding: 16px 18px;display: none;pointer-events: auto;animation: fadeInSlideDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);}
.shelf-quick-adjust-popover::before{content: '';position: absolute;top: -10px;left: 0;right: 0;height: 12px;}
.sub-finished-rack-container{background: var(--bg-card, #ffffff);border: 1.5px solid #0d9488;border-radius: 14px;padding: 16px 18px;box-shadow: 0 4px 14px rgba(13, 148, 136, 0.08);position: relative;overflow: hidden;}
html[data-theme="dark"] .sub-finished-rack-container{background: rgba(13, 148, 136, 0.05);border-color: rgba(20, 184, 166, 0.4);}
.sub-finished-rack-header{display: flex;justify-content: space-between;align-items: center;margin-bottom: 8px;flex-wrap: wrap;gap: 8px;border-bottom: 1px solid rgba(13, 148, 136, 0.2);padding-bottom: 10px;}
.sub-finished-rack-title{font-size: 0.95rem;font-weight: 800;color: #0f766e;display: flex;align-items: center;gap: 6px;}
html[data-theme="dark"] .sub-finished-rack-title{color: #2dd4bf;}
.sub-finished-rack-desc{font-size: 0.74rem;color: var(--text-sub);margin-bottom: 14px;}
.sub-finished-books-grid{display: grid;grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));gap: 12px;}
.sub-finished-book-card{background: var(--bg-main, #f8fafc);border: 1px solid var(--border-color);border-radius: 10px;padding: 10px;display: flex;flex-direction: column;gap: 6px;transition: transform 0.15s, box-shadow 0.15s;position: relative;user-select: none;}
.sub-finished-book-card:hover{transform: translateY(-2px);box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);border-color: #0d9488;}
.sub-finished-tag{display: inline-flex;align-items: center;gap: 3px;font-size: 0.62rem;font-weight: 800;background: rgba(13, 148, 136, 0.12);color: #0d9488;padding: 1px 6px;border-radius: 999px;width: fit-content;}
html[data-theme="dark"] .sub-finished-tag{background: rgba(45, 212, 191, 0.15);color: #2dd4bf;}
.subscription-shelf-tier{position: relative;}
.subscription-tier-header{background: rgba(13, 148, 136, 0.08);border-radius: 8px 8px 0 0;padding: 7px 14px;border-bottom: 1.5px solid rgba(13, 148, 136, 0.25);display: flex;justify-content: space-between;align-items: center;flex-wrap: wrap;gap: 8px;}
html[data-theme="dark"] .subscription-tier-header{background: rgba(13, 148, 136, 0.16);border-bottom-color: rgba(45, 212, 191, 0.35);}
.subscription-tier-icon{font-size: 1.1rem;margin-right: 4px;}
.tier-title-subscription{font-size: 0.92rem;font-weight: 800;color: #0f766e;}
html[data-theme="dark"] .tier-title-subscription{color: #2dd4bf;}
.subscription-tier-count{font-size: 0.72rem;font-weight: 700;color: #0d9488;background: rgba(13, 148, 136, 0.12);padding: 2px 7px;border-radius: 999px;margin-left: 6px;}
html[data-theme="dark"] .subscription-tier-count{color: #5eead4;background: rgba(45, 212, 191, 0.2);}
.subscription-tier-desc{font-size: 0.73rem;color: var(--text-sub);padding: 6px 14px 4px 14px;line-height: 1.45;background: rgba(13, 148, 136, 0.03);}
html[data-theme="dark"] .subscription-tier-desc{background: rgba(13, 148, 136, 0.08);}
.sub-shelf-empty-state{display: flex;flex-direction: column;align-items: center;justify-content: center;gap: 8px;width: 100%;min-height: 130px;padding: 24px 16px;font-size: 0.8rem;color: var(--text-sub);text-align: center;box-sizing: border-box;}
.spine-sub-ribbon{position: absolute;top: 0;left: 50%;transform: translateX(-50%);background: #0d9488;color: #ffffff;font-size: 0.52rem;font-weight: 900;padding: 1px 4px;border-radius: 0 0 3px 3px;box-shadow: 0 2px 4px rgba(0,0,0,0.35);z-index: 4;letter-spacing: 0.5px;line-height: 1.1;}
.sub-shelf-badge{position: absolute;top: 6px;left: 6px;background: #0d9488;color: #ffffff;font-size: 0.62rem;font-weight: 800;padding: 2px 6px;border-radius: 4px;box-shadow: 0 2px 5px rgba(0,0,0,0.25);z-index: 3;}
.faceout-ribbon-badge.sub-ribbon{background: linear-gradient(135deg, #0d9488, #0f766e);color: #ffffff;}
.spine-jacket-band.sub-jacket{background: linear-gradient(135deg, #0d9488, #0f766e);color: #ffffff;}
.btn-tier-placement-toggle{font-size: 0.68rem;font-weight: 700;padding: 3px 8px;border-radius: 6px;background: var(--bg-card);border: 1px solid rgba(13, 148, 136, 0.4);color: #0f766e;cursor: pointer;display: inline-flex;align-items: center;gap: 4px;transition: all 0.2s;}
.btn-tier-placement-toggle:hover{background: #0d9488;color: #fff;border-color: #0d9488;}
html[data-theme="dark"] .btn-tier-placement-toggle{background: rgba(45, 212, 191, 0.1);border-color: rgba(45, 212, 191, 0.4);color: #2dd4bf;}
html[data-theme="dark"] .btn-tier-placement-toggle:hover{background: #0d9488;color: #fff;}
.btn-sub-add-record{font-size: 0.68rem;font-weight: 700;padding: 3px 8px;border-radius: 6px;background: #0d9488;border: 1px solid #0d9488;color: #fff;cursor: pointer;display: inline-flex;align-items: center;gap: 4px;transition: all 0.2s;}
.btn-sub-add-record:hover{background: #0f766e;border-color: #0f766e;}
.shelf-pediment-bar{display: flex;align-items: center;justify-content: space-between;flex-wrap: wrap;gap: 10px;margin-bottom: 12px;padding: 8px 14px;background: var(--bg-card);border-radius: 12px;border: 1px solid var(--border-color);box-shadow: 0 2px 6px rgba(0,0,0,0.03);}
.shelf-modern-like-btn{display: inline-flex;align-items: center;gap: 6px;padding: 4px 12px;border-radius: 999px;background: #fff1f2;border: 1.5px solid #fecdd3;color: #e11d48;font-size: 0.74rem;font-weight: 800;cursor: pointer;transition: transform 0.15s, background 0.15s, box-shadow 0.15s;}
html[data-theme="dark"] .shelf-modern-like-btn{background: rgba(225, 29, 72, 0.15);border-color: rgba(225, 29, 72, 0.4);color: #fb7185;}
.shelf-modern-like-btn:hover{transform: translateY(-1px);background: #ffe4e6;box-shadow: 0 3px 10px rgba(225, 29, 72, 0.2);}
.shelf-modern-like-btn.has-liked{background: #e11d48;color: #ffffff;border-color: #e11d48;}
.shelf-modern-like-btn.has-liked svg{fill: #ffffff;}
.heart-pop-anim{animation: heartBeatPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);}
@keyframes heartBeatPop{0%{transform: scale(1);}50%{transform: scale(1.35);}100%{transform: scale(1);}}
.shelf-owned-stat-container{position: relative;display: inline-block;}
.shelf-owned-stat-btn{display: inline-flex;align-items: center;gap: 5px;padding: 4px 12px;border-radius: 999px;background: var(--bg-main, #f8fafc);border: 1.5px solid var(--border-color);color: var(--text-main);font-size: 0.74rem;font-weight: 800;cursor: pointer;transition: background 0.15s, border-color 0.15s;}
.shelf-owned-stat-btn:hover{border-color: #ea580c;color: #ea580c;}
.shelf-breakdown-popover{position: absolute;top: calc(100% + 8px);right: 0;z-index: 100;min-width: 300px;background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 14px;box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);padding: 14px 16px;display: none;pointer-events: auto;animation: fadeInSlideDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);}
.shelf-breakdown-popover::before{content: '';position: absolute;top: -12px;left: 0;right: 0;height: 14px;}
@keyframes fadeInSlideDown{from{opacity: 0;transform: translateY(-6px);}to{opacity: 1;transform: translateY(0);}}
.virtual-bookshelf-cabinet{--shelf-stage-height: 180px;--shelf-book-gap: 4px;--shelf-head-gap: 8px;}
.virtual-shelf-stage, .shelf-cover-grid{min-height: calc(var(--tier-stage-height, var(--shelf-stage-height, 180px)) * var(--shelf-scale, 1)) !important;gap: var(--shelf-book-gap, 4px) !important;padding-top: var(--tier-head-gap, var(--shelf-head-gap, 8px)) !important;}
.shelf-cover-card{cursor: grab !important;user-select: none;transition: transform 0.2s, box-shadow 0.2s;}
.shelf-cover-card:active{cursor: grabbing !important;}
.shelf-hover-card{pointer-events: auto !important;z-index: 100000 !important;}
.shelf-hover-card::before{content: '';position: absolute;inset: -14px;z-index: -1;}
.spine-title-short{font-size: calc(0.56rem * var(--shelf-scale, 1)) !important;letter-spacing: 0.05em !important;font-weight: 800 !important;}
.spine-title-mid{font-size: calc(0.50rem * var(--shelf-scale, 1)) !important;letter-spacing: 0.02em !important;}
.spine-title-long{font-size: calc(0.45rem * var(--shelf-scale, 1)) !important;letter-spacing: 0.01em !important;line-height: 1.02 !important;max-height: 98% !important;}
.tate-chu-yoko{text-combine-upright: all;-webkit-text-combine: horizontal;font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;font-weight: 900;letter-spacing: 0 !important;margin: 1px 0;}
.spine-font-serif .spine-text{font-family: "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif !important;}
.spine-font-sans .spine-text{font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans JP", sans-serif !important;}
.shelf-spine-book > *{position: relative;z-index: 2;}
.spine-style-classic{position: relative;}
.spine-style-classic::before{content: "";position: absolute;inset: 0;border-radius: inherit;pointer-events: none;z-index: 1;background-image: repeating-linear-gradient(180deg, transparent 0px, transparent 26px, rgba(0, 0, 0, 0.45) 26px, rgba(255, 255, 255, 0.28) 27.5px, rgba(0, 0, 0, 0.35) 29px, transparent 30px ), repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.08) 0px, rgba(0, 0, 0, 0.08) 1px, transparent 1px, transparent 3px ), repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.06) 0px, rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 3px ), radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, 0.52) 100%), linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, rgba(255, 255, 255, 0.20) 16%, transparent 42%, transparent 65%, rgba(0, 0, 0, 0.40) 100% );}
.spine-style-classic::after{content: "";position: absolute;bottom: 5px;left: 7%;right: 7%;height: 9px;background: linear-gradient(180deg, #f5d67b 0px, #c9a35f 1.5px, transparent 1.5px, transparent calc(100% - 1.5px), #c9a35f calc(100% - 1.5px), #f5d67b 100% );box-shadow: 0 0 3px rgba(201, 163, 95, 0.5);border-radius: 1px;pointer-events: none;z-index: 1;}
.spine-style-classic .spine-filigree{width: 86%;height: 13px;margin: 2px auto 3px;border: none;position: relative;display: flex;align-items: center;justify-content: center;background: linear-gradient(180deg, #f5d67b 0px, #c9a35f 1.5px, transparent 1.5px, transparent calc(100% - 1.5px), #c9a35f calc(100% - 1.5px), #f5d67b 100% );box-shadow: 0 0 3px rgba(201, 163, 95, 0.5);border-radius: 1px;}
.spine-style-classic .spine-filigree::before{content: "";position: absolute;left: 4px;right: 4px;height: 4px;background: radial-gradient(circle at 10%, #f5d67b 1.5px, transparent 2px), radial-gradient(circle at 90%, #f5d67b 1.5px, transparent 2px);z-index: 1;}
.spine-style-classic .spine-filigree::after{content: "";position: absolute;width: 5px;height: 5px;background: #f5d67b;transform: rotate(45deg);box-shadow: 0 0 4px rgba(245, 214, 123, 0.95);z-index: 2;}
.spine-style-bunko{border-left: 2px solid rgba(0, 0, 0, 0.15) !important;border-right: 2px solid rgba(255, 255, 255, 0.3) !important;position: relative;}
.spine-style-bunko::before{content: "";position: absolute;inset: 4px 2.5px;border: 1px solid rgba(0, 0, 0, 0.2);outline: 1px solid rgba(255, 255, 255, 0.38);outline-offset: -2px;border-radius: 1px;pointer-events: none;z-index: 1;}
.spine-style-bunko .spine-filigree{display: none !important;}
.spine-style-jacket{position: relative;}
.spine-jacket-band{position: absolute;bottom: 18px;left: 0;right: 0;background: linear-gradient(135deg, #f59e0b, #ea580c);color: #fff;font-size: 0.42rem;font-weight: 800;text-align: center;padding: 0.5px 0;line-height: 1.1;box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);border-top: 0.5px solid rgba(255, 255, 255, 0.45);border-bottom: 0.5px solid rgba(0, 0, 0, 0.2);writing-mode: horizontal-tb;pointer-events: none;z-index: 3;}
.spine-design-western .spine-filigree{width: 88%;height: 13px;margin: 2px auto 3px;border: none;position: relative;display: flex;align-items: center;justify-content: center;background: linear-gradient(180deg, #f5d67b 0px, #c9a35f 1.5px, transparent 1.5px, transparent calc(100% - 1.5px), #c9a35f calc(100% - 1.5px), #f5d67b 100% );box-shadow: 0 0 4px rgba(245, 214, 123, 0.7);border-radius: 1px;}
.spine-design-western .spine-filigree::before{content: "";position: absolute;left: 3px;right: 3px;height: 4px;background: radial-gradient(circle at 8%, #f5d67b 1.5px, transparent 2px), radial-gradient(circle at 92%, #f5d67b 1.5px, transparent 2px);z-index: 1;}
.spine-design-western .spine-filigree::after{content: "";position: absolute;width: 5.5px;height: 5.5px;background: #f5d67b;transform: rotate(45deg);box-shadow: 0 0 5px rgba(245, 214, 123, 1);z-index: 2;}
.spine-design-dark .spine-filigree{width: 88%;height: 14px;margin: 2px auto 3px;border: none;background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='14' viewBox='0 0 40 14'%3E%3Cline x1='0' y1='1' x2='40' y2='1' stroke='%23e2e8f0' stroke-width='1.2' stroke-opacity='0.9'/%3E%3Cline x1='0' y1='13' x2='40' y2='13' stroke='%23e2e8f0' stroke-width='1.2' stroke-opacity='0.9'/%3E%3Cpath d='M20 2.5 A 4 4 0 0 0 22.5 11 A 3.2 3.2 0 1 1 20 2.5 Z' fill='%23e2e8f0' fill-opacity='0.95'/%3E%3Ccircle cx='8' cy='7' r='1.2' fill='%23f8fafc' fill-opacity='0.95'/%3E%3Ccircle cx='32' cy='7' r='1.2' fill='%23f8fafc' fill-opacity='0.95'/%3E%3Ccircle cx='4' cy='7' r='0.6' fill='%23cbd5e1' fill-opacity='0.8'/%3E%3Ccircle cx='36' cy='7' r='0.6' fill='%23cbd5e1' fill-opacity='0.8'/%3E%3C/svg%3E") no-repeat center center;background-size: 40px 14px;filter: drop-shadow(0 0 3px rgba(226, 232, 240, 0.75));}
.shelf-spine-book .spine-text{text-shadow: 0 1px 3px rgba(0, 0, 0, 0.92), 0 0 1.5px rgba(0, 0, 0, 0.85);}
.spine-design-clean .spine-filigree{display: none !important;}
.spine-design-pastel{position: relative;}
.spine-design-pastel::before{content: "";position: absolute;inset: 0;border-radius: inherit;pointer-events: none;z-index: 1;background-image: radial-gradient(circle, rgba(255, 255, 255, 0.28) 1px, transparent 1px);background-size: 7px 7px;background-position: center top;}
.spine-design-pastel .spine-filigree{width: 70%;height: 1px;margin: 2px auto 2px;border: none;background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5) 20%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.5) 80%, transparent);}
.spine-style-classic.spine-design-pastel::before{background-image: radial-gradient(circle, rgba(255, 255, 255, 0.28) 1px, transparent 1px), repeating-linear-gradient(180deg, transparent 0px, transparent 25px, rgba(0, 0, 0, 0.28) 25px, rgba(255, 255, 255, 0.18) 26px, rgba(0, 0, 0, 0.22) 27px, transparent 28px ), radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.38) 100%), linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0%, rgba(255, 255, 255, 0.15) 18%, transparent 40%, transparent 68%, rgba(0, 0, 0, 0.3) 100%);background-size: 7px 7px, auto, auto, auto;}
.spine-design-comic{position: relative;}
.spine-design-comic::after{content: "";position: absolute;bottom: 0;left: 0;right: 0;height: 3px;background: repeating-linear-gradient(90deg, #111827 0px, #111827 4px, #f9fafb 4px, #f9fafb 8px);box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.25);pointer-events: none;z-index: 1;}
.spine-style-classic.spine-design-comic::after{content: "";position: absolute;bottom: 0;left: 0;right: 0;height: 3px;background: repeating-linear-gradient(90deg, #111827 0px, #111827 4px, #f9fafb 4px, #f9fafb 8px);box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.25);pointer-events: none;z-index: 1;}
.watermark-sample-container{position: relative;border-radius: 12px;overflow: hidden;box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);}
.watermark-sample-overlay{position: absolute;inset: 0;display: flex;flex-direction: column;align-items: center;justify-content: center;pointer-events: none;user-select: none;background: rgba(0, 0, 0, 0.35);z-index: 10;}
.watermark-sample-text{font-size: 2.8rem;font-weight: 900;color: rgba(255, 255, 255, 0.45);transform: rotate(-25deg);letter-spacing: 0.18em;text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);border: 3px dashed rgba(255, 255, 255, 0.35);padding: 10px 24px;border-radius: 12px;}
.shelf-alerts-container{margin-top: 18px;background: var(--bg-card, #ffffff);border: 1.5px solid #0284c7;border-radius: 14px;padding: 16px 18px;box-shadow: 0 6px 20px rgba(2, 132, 199, 0.1);}
html[data-theme="dark"] .shelf-alerts-container{background: #1e293b;border-color: #0369a1;box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);}
.shelf-alerts-header{display: flex;align-items: center;justify-content: space-between;flex-wrap: wrap;gap: 8px;margin-bottom: 12px;padding-bottom: 8px;border-bottom: 1px dashed rgba(2, 132, 199, 0.35);}
.shelf-alerts-title{font-size: 0.92rem;font-weight: 800;color: #0369a1;display: flex;align-items: center;gap: 6px;}
html[data-theme="dark"] .shelf-alerts-title{color: #38bdf8;}
.virtual-bookshelf-wrapper{margin-top: 10px;}
.shelf-top-toolbar{display: flex;align-items: center;justify-content: space-between;flex-wrap: wrap;gap: 10px;margin-bottom: 12px;padding: 10px 14px;background: var(--bg-card, #ffffff);border: 1px solid var(--border-color, #e2e8f0);border-radius: 12px;}
html[data-theme="dark"] .shelf-top-toolbar{background: rgba(30, 41, 59, 0.5);border-color: rgba(51, 65, 85, 0.7);}
.shelf-toggle-group{display: flex;align-items: center;gap: 8px;flex-wrap: wrap;}
.shelf-action-group{display: flex;align-items: center;gap: 8px;flex-wrap: wrap;}
.shelf-zoom-control{display: inline-flex;align-items: center;gap: 6px;background: rgba(0, 0, 0, 0.04);padding: 4px 10px;border-radius: 999px;border: 1px solid var(--border-color);}
html[data-theme="dark"] .shelf-zoom-control{background: rgba(255, 255, 255, 0.06);}
.shelf-sort-menu-dropdown{position: absolute;top: calc(100% + 6px);left: 0;z-index: 100;min-width: 220px;background: var(--bg-card, #ffffff);border: 1.5px solid var(--border-color, #cbd5e1);border-radius: 10px;box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);padding: 6px 0;overflow: hidden;}
html[data-theme="dark"] .shelf-sort-menu-dropdown{background: #1e293b;border-color: #334155;box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);}
.shelf-sort-item{padding: 9px 14px;font-size: 0.78rem;font-weight: 700;color: var(--text-main);cursor: pointer;display: flex;align-items: center;gap: 8px;transition: background 0.15s;}
.shelf-sort-item:hover{background: rgba(234, 88, 12, 0.08);color: var(--accent-orange, #ea580c);}
html[data-theme="dark"] .shelf-sort-item:hover{background: rgba(234, 88, 12, 0.15);color: #fb923c;}
.virtual-bookshelf-cabinet{--shelf-scale: 1;border-radius: 14px;overflow: hidden;box-shadow: 0 14px 38px rgba(0, 0, 0, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.1);position: relative;transition: background 0.3s ease;border: 1px solid rgba(0, 0, 0, 0.25);}
.wood-walnut{--shelf-wood-outer: #382415;--shelf-wood-plank: #4e3420;--shelf-wood-bevel: #2a1a0f;--shelf-wood-highlight: rgba(255, 255, 255, 0.12);--shelf-wood-shadow: rgba(0, 0, 0, 0.65);}
.wood-natural{--shelf-wood-outer: #9e7d5a;--shelf-wood-plank: #b8956f;--shelf-wood-bevel: #7d6041;--shelf-wood-highlight: rgba(255, 255, 255, 0.25);--shelf-wood-shadow: rgba(0, 0, 0, 0.35);}
.wood-vintage{--shelf-wood-outer: #5c3a21;--shelf-wood-plank: #784c2b;--shelf-wood-bevel: #422814;--shelf-wood-highlight: rgba(255, 255, 255, 0.16);--shelf-wood-shadow: rgba(0, 0, 0, 0.55);}
.wood-white{--shelf-wood-outer: #d1cbbf;--shelf-wood-plank: #e5dfd5;--shelf-wood-bevel: #b8b0a2;--shelf-wood-highlight: rgba(255, 255, 255, 0.5);--shelf-wood-shadow: rgba(0, 0, 0, 0.2);}
.wood-dark{--shelf-wood-outer: #171b21;--shelf-wood-plank: #232830;--shelf-wood-bevel: #0d1117;--shelf-wood-highlight: rgba(255, 255, 255, 0.1);--shelf-wood-shadow: rgba(0, 0, 0, 0.8);}
.wood-mahogany{--shelf-wood-outer: #421115;--shelf-wood-plank: #5e1920;--shelf-wood-bevel: #2b0b0e;--shelf-wood-highlight: rgba(255, 255, 255, 0.15);--shelf-wood-shadow: rgba(0, 0, 0, 0.7);}
.wood-marble{--shelf-wood-outer: #cbd5e1;--shelf-wood-plank: #f1f5f9;--shelf-wood-bevel: #94a3b8;--shelf-wood-highlight: rgba(255, 255, 255, 0.8);--shelf-wood-shadow: rgba(0, 0, 0, 0.15);}
.wood-bamboo{--shelf-wood-outer: #b39b6e;--shelf-wood-plank: #c9b183;--shelf-wood-bevel: #8c764e;--shelf-wood-highlight: rgba(255, 255, 255, 0.3);--shelf-wood-shadow: rgba(0, 0, 0, 0.4);}
.wood-concrete{--shelf-wood-outer: #334155;--shelf-wood-plank: #475569;--shelf-wood-bevel: #1e293b;--shelf-wood-highlight: rgba(255, 255, 255, 0.15);--shelf-wood-shadow: rgba(0, 0, 0, 0.6);}
.wall-cafe-beige{background: radial-gradient(circle at 50% 20%, #f4eee3 0%, #e2d7c5 70%, #d1c5b1 100%);}
html[data-theme="dark"] .wall-cafe-beige{background: radial-gradient(circle at 50% 20%, #30261e 0%, #201913 70%, #15110d 100%);}
.wall-study-navy{background: radial-gradient(circle at 50% 20%, #1e293b 0%, #0f172a 70%, #090d16 100%);}
.wall-modern-charcoal{background: radial-gradient(circle at 50% 20%, #334155 0%, #1e293b 70%, #0f172a 100%);}
.wall-wood-plank{background: repeating-linear-gradient(90deg, #3d2b1a, #3d2b1a 64px, #332314 65px, #332314 66px);}
.wall-matcha{background: radial-gradient(circle at 50% 20%, #2e3c30 0%, #1f2a21 70%, #121c13 100%);}
.wall-brick{background: radial-gradient(circle at 50% 20%, #7f1d1d 0%, #450a0a 70%, #2a0505 100%);}
.wall-starlit{background: radial-gradient(circle at 50% 20%, #1e1b4b 0%, #0f172a 70%, #030712 100%);}
.wall-shoji{background: repeating-linear-gradient(0deg, #fefce8, #fefce8 40px, #e2d9bc 41px, #e2d9bc 42px), repeating-linear-gradient(90deg, #fefce8, #fefce8 40px, #e2d9bc 41px, #e2d9bc 42px);}
html[data-theme="dark"] .wall-shoji{background: repeating-linear-gradient(0deg, #2a251e, #2a251e 40px, #423b30 41px, #423b30 42px), repeating-linear-gradient(90deg, #2a251e, #2a251e 40px, #423b30 41px, #423b30 42px);}
.wall-custom{background-size: cover !important;background-position: center !important;background-repeat: no-repeat !important;}
.virtual-bookshelf-cabinet.wall-picked.wall-cafe-beige{--shelf-back-bg: linear-gradient(180deg, #faf7f2 0%, #ebe3d7 100%);}
.virtual-bookshelf-cabinet.wall-picked.wall-pure-white{--shelf-back-bg: radial-gradient(circle at 50% 20%, #ffffff 0%, #f1f5f9 100%);}
.virtual-bookshelf-cabinet.wall-picked.wall-brooklyn-brick{--shelf-back-bg: linear-gradient(180deg, #a34a38 0%, #7e3527 100%);}
.virtual-bookshelf-cabinet.wall-picked.wall-dark-black{--shelf-back-bg: linear-gradient(180deg, #182234 0%, #090d16 100%);}
.virtual-bookshelf-cabinet.wall-picked.wall-anime-mint{--shelf-back-bg: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);}
.virtual-bookshelf-cabinet.wall-picked.wall-wood-panel{--shelf-back-bg: linear-gradient(180deg, #9a4a12 0%, #713f12 100%);}
.virtual-bookshelf-cabinet.wall-picked.wall-nordic-sage{--shelf-back-bg: radial-gradient(circle at 50% 25%, #859a89 0%, #637566 100%);}
.virtual-bookshelf-cabinet.wall-picked.wall-deep-navy{--shelf-back-bg: radial-gradient(circle at 50% 10%, #1e293b 0%, #070a12 100%);}
.virtual-bookshelf-cabinet.wall-picked.wall-zen-washi{--shelf-back-bg: radial-gradient(circle at 50% 30%, #fafaf9 0%, #e7e5e4 100%);}
.virtual-bookshelf-cabinet.wall-picked.wall-cafe-beige{background: linear-gradient(180deg, #faf7f2 0%, #ebe3d7 100%) !important;}
.virtual-bookshelf-cabinet.wall-picked.wall-pure-white{background: radial-gradient(circle at 50% 20%, #ffffff 0%, #f1f5f9 100%) !important;}
.virtual-bookshelf-cabinet.wall-picked.wall-brooklyn-brick{background: linear-gradient(180deg, #a34a38 0%, #7e3527 100%) !important;}
.virtual-bookshelf-cabinet.wall-picked.wall-dark-black{background: linear-gradient(180deg, #182234 0%, #090d16 100%) !important;}
.virtual-bookshelf-cabinet.wall-picked.wall-anime-mint{background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%) !important;}
.virtual-bookshelf-cabinet.wall-picked.wall-wood-panel{background: linear-gradient(180deg, #9a4a12 0%, #713f12 100%) !important;}
.virtual-bookshelf-cabinet.wall-picked.wall-nordic-sage{background: radial-gradient(circle at 50% 25%, #859a89 0%, #637566 100%) !important;}
.virtual-bookshelf-cabinet.wall-picked.wall-deep-navy{background: radial-gradient(circle at 50% 10%, #1e293b 0%, #070a12 100%) !important;}
.virtual-bookshelf-cabinet.wall-picked.wall-zen-washi{background: radial-gradient(circle at 50% 30%, #fafaf9 0%, #e7e5e4 100%) !important;}
.virtual-shelf-top-lintel{height: 16px;background: var(--shelf-wood-outer);border-top: 2px solid var(--shelf-wood-highlight);border-bottom: 3px solid var(--shelf-wood-bevel);box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);position: relative;z-index: 6;}
.virtual-shelf-top-lintel.has-plaque-showcase{height: auto !important;min-height: 26px;padding: 5px 14px 6px;display: flex;align-items: center;box-sizing: border-box;}
.virtual-shelf-top-lintel.has-plaque-showcase .shelf-plaque-showcase{margin: 0;width: 100%;}
.virtual-shelf-top-lintel.has-plaque-showcase .shelf-prominent-plaque{font-size: 0.84rem;padding: 4px 20px;min-width: 180px;line-height: 1.3;}
.virtual-shelf-top-lintel.has-plaque-showcase:has(.plaque-align-off){height: 16px !important;min-height: 16px !important;padding: 0 !important;}
.virtual-shelf-tier{position: relative;border-left: 14px solid var(--shelf-wood-outer);border-right: 14px solid var(--shelf-wood-outer);box-sizing: border-box;box-shadow: inset 10px 0 20px rgba(0,0,0,0.25), inset -10px 0 20px rgba(0,0,0,0.25);}
.virtual-shelf-tier-header{display: flex;justify-content: space-between;align-items: center;padding: 7px 12px;background: rgba(0, 0, 0, 0.18);border-bottom: 1px dashed rgba(255, 255, 255, 0.15);font-size: 0.74rem;color: rgba(255, 255, 255, 0.85);}
html[data-theme="light"] .wall-cafe-beige .virtual-shelf-tier-header{background: rgba(0, 0, 0, 0.05);color: #475569;border-bottom-color: rgba(0, 0, 0, 0.1);}
.tier-title-text{font-weight: 800;letter-spacing: 0.5px;display: flex;align-items: center;gap: 6px;}
.btn-tier-del{background: transparent;border: none;color: rgba(255, 255, 255, 0.6);font-size: 0.7rem;cursor: pointer;padding: 2px 6px;border-radius: 4px;transition: all 0.15s;}
.btn-tier-del:hover{color: #ef4444;background: rgba(239, 68, 68, 0.15);}
.virtual-shelf-stage{display: flex;align-items: flex-end;gap: 9px;min-height: calc(185px * var(--shelf-scale, 1));padding: 24px 16px 0;overflow-x: auto;-webkit-overflow-scrolling: touch;scrollbar-width: thin;position: relative;}
.virtual-shelf-stage::-webkit-scrollbar{height: 6px;}
.virtual-shelf-stage::-webkit-scrollbar-thumb{background: rgba(255, 255, 255, 0.2);border-radius: 999px;}
.virtual-shelf-plank{height: 18px;background: var(--shelf-wood-plank);border-top: 2.5px solid var(--shelf-wood-highlight);border-bottom: 5px solid var(--shelf-wood-bevel);box-shadow: 0 10px 22px var(--shelf-wood-shadow), inset 0 2px 4px var(--shelf-wood-highlight);position: relative;z-index: 5;}
.virtual-shelf-plank::after{content: "";position: absolute;bottom: -6px;left: 0;right: 0;height: 6px;background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, transparent 100%);pointer-events: none;}
.alert-ios-switch{position: relative;display: inline-block;width: 44px;height: 24px;background: #cbd5e1;border-radius: 999px;cursor: pointer;transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);border: none;padding: 0;flex-shrink: 0;}
.alert-ios-switch::after{content: '';position: absolute;top: 2px;left: 2px;width: 20px;height: 20px;background: #ffffff;border-radius: 50%;box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);}
.alert-ios-switch.is-active{background: #10b981;}
.alert-ios-switch.is-active::after{transform: translateX(20px);}
html[data-theme="dark"] .alert-ios-switch{background: #475569;}
html[data-theme="dark"] .alert-ios-switch.is-active{background: #059669;}
.alert-cat-tab-bar{display: flex;gap: 6px;overflow-x: auto;-webkit-overflow-scrolling: touch;padding: 4px 0 10px;scrollbar-width: none;}
.alert-cat-tab-bar::-webkit-scrollbar{display: none;}
.alert-cat-pill{display: inline-flex;align-items: center;gap: 5px;padding: 5px 12px;border-radius: 999px;font-size: 0.76rem;font-weight: 700;background: var(--bg-card);border: 1.5px solid var(--border-color);color: var(--text-sub);cursor: pointer;white-space: nowrap;transition: all 0.18s ease;}
.alert-cat-pill:hover{border-color: #0284c7;color: #0284c7;}
.alert-cat-pill.active{background: #0284c7;border-color: #0284c7;color: #ffffff;box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3);}
.alert-type-badge{display: inline-flex;align-items: center;gap: 3px;font-size: 0.65rem;font-weight: 800;padding: 2px 7px;border-radius: 4px;white-space: nowrap;}
.alert-type-badge.sequel{background: rgba(14, 165, 233, 0.12);color: #0284c7;}
.alert-type-badge.author{background: rgba(168, 85, 247, 0.12);color: #9333ea;}
.alert-type-badge.publisher{background: rgba(245, 158, 11, 0.12);color: #d97706;}
.alert-type-badge.keyword{background: rgba(16, 185, 129, 0.12);color: #059669;}
.alert-threshold-badge{display: inline-flex;align-items: center;gap: 4px;font-size: 0.72rem;font-weight: 800;padding: 3px 9px;border-radius: 999px;background: rgba(2, 132, 199, 0.09);color: #0369a1;border: 1px solid rgba(2, 132, 199, 0.25);}
.alert-threshold-badge.reached{background: rgba(16, 185, 129, 0.12);color: #059669;border-color: #10b981;}
.btn-device-owned{display: inline-flex;align-items: center;gap: 5px;padding: 6px 14px;border-radius: 999px;font-size: 0.76rem;font-weight: 800;background: var(--bg-card);border: 1.5px solid var(--border-color);color: var(--text-main);cursor: pointer;transition: all 0.2s ease;}
.btn-device-owned:hover{border-color: #6366f1;color: #6366f1;}
.btn-device-owned.is-owned{background: linear-gradient(135deg, #6366f1, #4f46e5);border-color: #4f46e5;color: #ffffff;box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);}
.device-owner-stat-tag{display: inline-flex;align-items: center;gap: 4px;font-size: 0.68rem;font-weight: 700;color: #4f46e5;background: rgba(99, 102, 241, 0.08);padding: 2px 7px;border-radius: 4px;}
.my-gear-collection-grid{display: grid;grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));gap: 12px;margin-bottom: 16px;}
.my-gear-card{position: relative;background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 12px;padding: 12px 14px;display: flex;align-items: center;justify-content: space-between;gap: 10px;transition: all 0.2s ease;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);}
.my-gear-card:hover{transform: translateY(-2px);border-color: #6366f1;box-shadow: 0 4px 14px rgba(99, 102, 241, 0.15);}
.my-gear-card.is-premium-gold{border-color: rgba(245, 158, 11, 0.45);background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(217, 119, 6, 0.02));}
.my-gear-card.is-premium-fold{border-color: rgba(139, 92, 246, 0.5);background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(99, 102, 241, 0.03));}
.my-gear-icon-box{width: 42px;height: 42px;border-radius: 10px;background: var(--bg-card);border: 1.5px solid var(--border-color);display: flex;align-items: center;justify-content: center;font-size: 1.35rem;flex-shrink: 0;box-shadow: 0 2px 6px rgba(0,0,0,0.06);}
.my-gear-info{flex-grow: 1;min-width: 0;}
.my-gear-title{font-size: 0.86rem;font-weight: 800;color: var(--text-main);white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.my-gear-subtitle{font-size: 0.70rem;color: var(--text-sub);margin-top: 2px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.my-gear-badge{font-size: 0.65rem;font-weight: 800;color: #10b981;background: rgba(16, 185, 129, 0.12);border: 1px solid rgba(16, 185, 129, 0.25);padding: 1px 6px;border-radius: 999px;display: inline-flex;align-items: center;gap: 2px;flex-shrink: 0;}
.shelf-gear-pill{display: inline-flex;align-items: center;gap: 4px;font-size: 0.70rem;font-weight: 800;color: var(--text-main);background: var(--bg-card);border: 1.5px solid var(--border-color);padding: 2px 9px;border-radius: 999px;box-shadow: 0 2px 5px rgba(0,0,0,0.05);transition: all 0.15s ease;}
.shelf-gear-pill:hover{border-color: #6366f1;transform: translateY(-1px);}
.map-brand-dot.samsung, .map-brand-dot.samsunggoogle{background: #8b5cf6;}
.map-brand-dot.windowsmac{background: #3b82f6;}
.mypage-devices-container{background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 14px;padding: 18px 20px;margin-bottom: 24px;}
.device-chip-badge{display: inline-flex;align-items: center;gap: 6px;padding: 6px 12px;border-radius: 8px;background: rgba(99, 102, 241, 0.08);border: 1px solid rgba(99, 102, 241, 0.25);font-size: 0.8rem;font-weight: 800;color: var(--text-main);}
.reader-popular-ranking-box{background: var(--bg-card, #ffffff);border: 1.5px solid var(--border-color, #e2e8f0);border-radius: 14px;padding: 16px 18px;margin-top: 14px;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);}
html[data-theme="dark"] .reader-popular-ranking-box{background: #1e293b;border-color: #334155;box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);}
.ranking-ratio-header{display: flex;justify-content: space-between;align-items: center;margin-bottom: 10px;flex-wrap: wrap;gap: 8px;}
.ranking-ratio-title{font-size: 0.86rem;font-weight: 800;color: var(--text-main);display: flex;align-items: center;gap: 6px;}
.ranking-ratio-breakdown{display: flex;align-items: center;gap: 12px;font-size: 0.73rem;color: var(--text-sub);}
.ranking-dual-bar{width: 100%;height: 8px;background: #e2e8f0;border-radius: 999px;display: flex;overflow: hidden;margin-bottom: 14px;}
html[data-theme="dark"] .ranking-dual-bar{background: #334155;}
.ranking-dual-segment.eink{background: linear-gradient(90deg, #059669, #10b981);height: 100%;transition: width 0.4s ease;}
.ranking-dual-segment.tablet{background: linear-gradient(90deg, #6366f1, #3b82f6);height: 100%;transition: width 0.4s ease;}
.ranking-dual-segment.smartphone{background: linear-gradient(90deg, #f59e0b, #ea580c);height: 100%;transition: width 0.4s ease;}
.ranking-list-grid{display: flex;flex-direction: column;gap: 10px;}
.ranking-device-row{display: flex;align-items: center;justify-content: space-between;background: var(--bg-body, #f8fafc);border: 1px solid var(--border-color, #e2e8f0);border-radius: 10px;padding: 10px 14px;gap: 12px;transition: all 0.18s ease;}
.ranking-device-row:hover{background: rgba(99, 102, 241, 0.04);border-color: #818cf8;transform: translateY(-1px);}
html[data-theme="dark"] .ranking-device-row{background: #0f172a;border-color: #334155;}
html[data-theme="dark"] .ranking-device-row:hover{background: rgba(99, 102, 241, 0.12);border-color: #6366f1;}
.ranking-device-row.rank-1{border-left: 4px solid #eab308;}
.ranking-device-row.rank-2{border-left: 4px solid #94a3b8;}
.ranking-device-row.rank-3{border-left: 4px solid #b45309;}
.ranking-device-row.rank-4, .ranking-device-row.rank-5, .ranking-device-row.rank-6{border-left: 4px solid #64748b;}
.ranking-left-col{display: flex;align-items: center;gap: 12px;min-width: 0;flex: 1;}
.ranking-crown-box{width: 32px;height: 32px;border-radius: 8px;display: flex;align-items: center;justify-content: center;font-size: 0.95rem;font-weight: 900;flex-shrink: 0;background: rgba(0, 0, 0, 0.04);color: var(--text-main);}
.ranking-device-row.rank-1 .ranking-crown-box{background: #fef9c3;color: #854d0e;}
html[data-theme="dark"] .ranking-device-row.rank-1 .ranking-crown-box{background: rgba(234, 179, 8, 0.2);color: #fef08a;}
.ranking-device-row.rank-2 .ranking-crown-box{background: #f1f5f9;color: #475569;}
html[data-theme="dark"] .ranking-device-row.rank-2 .ranking-crown-box{background: rgba(148, 163, 184, 0.2);color: #e2e8f0;}
.ranking-device-row.rank-3 .ranking-crown-box{background: #ffedd5;color: #9a3412;}
html[data-theme="dark"] .ranking-device-row.rank-3 .ranking-crown-box{background: rgba(180, 83, 9, 0.2);color: #fdba74;}
.ranking-meta-box{min-width: 0;flex: 1;}
.ranking-name-line{display: flex;align-items: center;gap: 6px;flex-wrap: wrap;margin-bottom: 3px;}
.ranking-device-name-text{font-size: 0.88rem;font-weight: 800;color: var(--text-main);}
.ranking-type-pill{font-size: 0.65rem;font-weight: 700;padding: 1px 7px;border-radius: 999px;white-space: nowrap;}
.ranking-type-pill.type-eink{background: rgba(16, 185, 129, 0.12);color: #047857;}
html[data-theme="dark"] .ranking-type-pill.type-eink{background: rgba(16, 185, 129, 0.2);color: #6ee7b7;}
.ranking-type-pill.type-tablet{background: rgba(99, 102, 241, 0.12);color: #4f46e5;}
html[data-theme="dark"] .ranking-type-pill.type-tablet{background: rgba(99, 102, 241, 0.2);color: #a5b4fc;}
.ranking-type-pill.type-smartphone{background: rgba(245, 158, 11, 0.12);color: #b45309;}
html[data-theme="dark"] .ranking-type-pill.type-smartphone{background: rgba(245, 158, 11, 0.2);color: #fbbf24;}
.ranking-share-col{display: flex;flex-direction: column;align-items: center;justify-content: center;width: 112px;min-width: 112px;max-width: 112px;flex-shrink: 0;text-align: center;padding: 0 6px;box-sizing: border-box;}
.ranking-share-pct-badge{font-size: 0.84rem;font-weight: 900;color: #ea580c;white-space: nowrap;font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;font-variant-numeric: tabular-nums;letter-spacing: 0.02em;display: inline-block;width: 100%;text-align: center;}
.ranking-share-subtext{font-size: 0.68rem;font-weight: 700;color: var(--text-sub);white-space: nowrap;margin-top: 1px;}
.ranking-reason-text{font-size: 0.73rem;color: var(--text-sub);line-height: 1.4;}
.ranking-actions-col{display: grid;grid-template-columns: 58px 46px 54px 86px 76px;align-items: center;gap: 6px;flex-shrink: 0;}
.ranking-actions-col .hkb-store-btn, .ranking-actions-col .btn-owned-toggle, .ranking-actions-col .btn-ranking-detail{width: 100%;box-sizing: border-box;justify-content: center;text-align: center;padding-left: 2px !important;padding-right: 2px !important;display: inline-flex;align-items: center;}
.btn-owned-toggle{font-size: 0.72rem;font-weight: 800;padding: 4px 10px;border-radius: 999px;border: 1px solid var(--border-color);background: var(--bg-card);color: var(--text-sub);cursor: pointer;transition: all 0.15s ease;white-space: nowrap;}
.btn-owned-toggle:hover{border-color: #6366f1;color: #6366f1;}
.btn-owned-toggle.is-owned{background: #22c55e;border-color: #22c55e;color: #ffffff;box-shadow: 0 1px 4px rgba(34, 197, 94, 0.3);}
.btn-ranking-detail{font-size: 0.72rem;font-weight: 700;padding: 4px 9px;border-radius: 999px;border: 1px solid rgba(99, 102, 241, 0.3);background: rgba(99, 102, 241, 0.08);color: #6366f1;cursor: pointer;transition: all 0.15s ease;white-space: nowrap;}
.btn-ranking-detail:hover{background: #6366f1;color: #ffffff;}
@media (max-width: 768px){.ranking-device-row{flex-direction: column;align-items: stretch;gap: 8px;}.ranking-share-col{align-items: flex-start;text-align: left;padding: 2px 0 4px 44px;width: auto;min-width: unset;max-width: unset;flex-direction: row;justify-content: flex-start;gap: 6px;}.ranking-share-pct-badge{width: auto;text-align: left;}.ranking-actions-col{display: flex;flex-wrap: wrap;justify-content: flex-end;}.ranking-actions-col .hkb-store-btn, .ranking-actions-col .btn-owned-toggle, .ranking-actions-col .btn-ranking-detail{width: auto;padding-left: 8px !important;padding-right: 8px !important;}}
.premium-luxury-box{background: radial-gradient(circle at top, #1e1b2e 0%, #0a0b0e 100%);color: #f8fafc;border: 1.5px solid #d4af37;border-radius: 20px;box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(212, 175, 55, 0.18);position: relative;overflow: hidden;}
.vip-atelier-card{background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(10, 11, 14, 0.8) 100%);border: 1.5px solid rgba(212, 175, 55, 0.5);border-radius: 14px;padding: 16px 20px;margin-bottom: 20px;box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.2);}
.vip-gold-serial{font-family: "Courier New", monospace;font-size: 0.88rem;font-weight: 900;letter-spacing: 0.15em;color: #fef08a;text-shadow: 0 0 8px rgba(254, 240, 138, 0.6);}
.luxury-showroom-tabs{display: flex;gap: 8px;justify-content: center;margin-bottom: 16px;flex-wrap: wrap;}
.luxury-tab-btn{padding: 6px 14px;border-radius: 999px;font-size: 0.76rem;font-weight: 800;background: rgba(255, 255, 255, 0.06);border: 1px solid rgba(212, 175, 55, 0.35);color: #e2e8f0;cursor: pointer;transition: all 0.2s ease;}
.luxury-tab-btn:hover{background: rgba(212, 175, 55, 0.2);border-color: #d4af37;}
.luxury-tab-btn.active{background: linear-gradient(135deg, #d4af37, #b45309);border-color: #fef08a;color: #ffffff;box-shadow: 0 2px 10px rgba(212, 175, 55, 0.4);}
.import-store-tabs{display: flex;gap: 6px;overflow-x: auto;-webkit-overflow-scrolling: touch;padding-bottom: 8px;margin-bottom: 12px;scrollbar-width: none;}
.import-store-tabs::-webkit-scrollbar{display: none;}
.import-store-pill{display: inline-flex;align-items: center;gap: 5px;padding: 6px 12px;border-radius: 8px;font-size: 0.74rem;font-weight: 700;background: var(--bg-card-sub);border: 1px solid var(--border-color);color: var(--text-sub);cursor: pointer;white-space: nowrap;transition: all 0.15s ease;}
.import-store-pill.active{background: var(--bg-card);border-color: #ea580c;color: #ea580c;font-weight: 800;box-shadow: 0 2px 6px rgba(234, 88, 12, 0.2);}
.shelf-cover-grid{display: flex;flex-wrap: wrap;gap: 16px;padding: 20px 20px 14px;overflow-x: auto;-webkit-overflow-scrolling: touch;align-items: flex-end;}
.shelf-cover-card{flex: 0 0 128px;width: 128px;background: var(--bg-card, #ffffff);border: 1.5px solid var(--border-color, #e2e8f0);border-radius: 10px;padding: 7px 7px 8px;box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);cursor: pointer;transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s, border-color 0.2s;position: relative;}
html[data-theme="dark"] .shelf-cover-card{background: var(--bg-card, #1c2230);border-color: var(--border-color, #2b3548);box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);}
.shelf-cover-card:hover{transform: translateY(-6px) scale(1.02);border-color: var(--genre-theme, #d97706);box-shadow: 0 10px 24px var(--genre-shadow-tint, rgba(217, 119, 6, 0.22));z-index: 15;}
.shelf-cover-img{width: 100%;height: 172px;object-fit: cover;border-radius: 6px;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);display: block;}
.shelf-cover-title{font-size: 0.76rem;font-weight: 800;color: var(--text-main, #0f172a);margin-top: 6px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.shelf-cover-author{font-size: 0.67rem;color: var(--text-sub, #475569);white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.shelf-brass-nameplate{display: inline-flex;align-items: center;gap: 10px;background: linear-gradient(135deg, #d4af37 0%, #fef3c7 45%, #d97706 80%, #b45309 100%);color: #3b2006;padding: 4px 14px;border-radius: 6px;box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -1px 0 rgba(0, 0, 0, 0.2);font-size: 0.74rem;font-weight: 800;letter-spacing: 0.04em;border: 1px solid #92400e;text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);margin: 4px auto;}
.shelf-brass-nameplate .plate-item{display: inline-flex;align-items: center;gap: 4px;}
.wishlist-rack-container{margin-top: 16px;background: var(--bg-card, #ffffff);border: 1.5px solid #f59e0b;border-radius: 14px;padding: 16px 18px;box-shadow: 0 6px 20px rgba(245, 158, 11, 0.12);position: relative;}
html[data-theme="dark"] .wishlist-rack-container{background: #1e293b;border-color: #d97706;box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);}
.wishlist-rack-header{display: flex;align-items: center;justify-content: space-between;flex-wrap: wrap;gap: 8px;margin-bottom: 12px;padding-bottom: 8px;border-bottom: 1px dashed rgba(245, 158, 11, 0.4);}
.wishlist-rack-title{font-size: 0.92rem;font-weight: 800;color: #b45309;display: flex;align-items: center;gap: 6px;}
html[data-theme="dark"] .wishlist-rack-title{color: #fbbf24;}
.wishlist-rack-grid{display: grid;grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));gap: 12px;}
.wishlist-book-card{display: flex;gap: 10px;padding: 10px;background: rgba(245, 158, 11, 0.05);border: 1px solid rgba(245, 158, 11, 0.25);border-radius: 10px;transition: transform 0.2s, box-shadow 0.2s;}
.wishlist-book-card:hover{transform: translateY(-2px);box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);}
html[data-theme="dark"] .wishlist-book-card{background: rgba(245, 158, 11, 0.1);border-color: rgba(245, 158, 11, 0.3);}
.wishlist-book-cover{width: 54px;height: 74px;object-fit: cover;border-radius: 4px;box-shadow: 0 2px 6px rgba(0,0,0,0.25);flex-shrink: 0;}
.wishlist-book-info{flex: 1;min-width: 0;display: flex;flex-direction: column;justify-content: space-between;}
.wishlist-book-title{font-size: 0.78rem;font-weight: 700;color: var(--text-main);overflow: hidden;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;line-height: 1.3;margin-bottom: 2px;}
.wishlist-price-badge{display: inline-flex;align-items: center;gap: 4px;font-size: 0.7rem;font-weight: 800;color: #dc2626;background: rgba(220, 38, 38, 0.08);padding: 2px 6px;border-radius: 4px;width: fit-content;margin: 3px 0;}
.wishlist-actions-row{display: flex;align-items: center;gap: 6px;margin-top: 4px;}
.premium-theme-card{position: relative;border: 1.5px dashed #f59e0b;background: rgba(245, 158, 11, 0.05);border-radius: 8px;padding: 8px 6px;text-align: center;cursor: pointer;transition: all 0.2s;}
.premium-theme-card:hover{background: rgba(245, 158, 11, 0.12);transform: translateY(-2px);}
.premium-lock-tag{position: absolute;top: 4px;right: 4px;background: linear-gradient(135deg, #d97706, #b45309);color: #fff;font-size: 0.58rem;font-weight: 800;padding: 1px 4px;border-radius: 4px;}
.shelf-hover-card{position: fixed;z-index: 99999;background: var(--bg-card, #ffffff);border: 1.5px solid var(--border-color, #cbd5e1);border-radius: 12px;padding: 12px;box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);width: 270px;pointer-events: auto;transition: opacity 0.15s ease, transform 0.15s ease;display: none;}
html[data-theme="dark"] .shelf-hover-card{background: #1e293b;border-color: #334155;box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);}
.mypage-feature-card{background: #faf8f5;border: 1px solid #e7e2d8;border-radius: 14px;padding: 18px 20px;margin-bottom: 16px;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);transition: transform 0.2s, box-shadow 0.2s;}
html[data-theme="dark"] .mypage-feature-card{background: #151c27;border-color: #283549;box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);}
.mypage-card-title{font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;font-size: 0.98rem;font-weight: 700;color: #b45309;margin-bottom: 8px;display: flex;align-items: center;gap: 8px;}
html[data-theme="dark"] .mypage-card-title{color: #fde68a;}
.mypage-account-bar{display: flex;justify-content: flex-end;align-items: center;margin-top: 2px;margin-bottom: 12px;padding: 0 4px;}
.mypage-account-pill{display: inline-flex;align-items: center;gap: 7px;padding: 5px 14px;border-radius: 999px;background: #f8fafc;border: 1px solid #cbd5e1;font-size: 0.8rem;font-weight: 700;color: #334155;box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);user-select: none;transition: all 0.2s ease;}
html[data-theme="dark"] .mypage-account-pill{background: #1e293b;border-color: #334155;color: #e2e8f0;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);}
.mypage-account-pill .account-status-dot{width: 8px;height: 8px;border-radius: 50%;background: #10b981;box-shadow: 0 0 6px #10b981;flex-shrink: 0;}
.mypage-account-pill .account-status-dot.offline{background: #94a3b8;box-shadow: none;}
.mypage-account-pill .account-user-icon{font-size: 0.88rem;}
.mypage-account-pill .account-user-name{letter-spacing: 0.02em;}
.mybookshelf-hero-box{position: sticky;top: calc(var(--header-actual-height, 108px) - 2px) !important;z-index: 950;background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(99, 102, 241, 0.03) 100%);border: 1.5px solid var(--genre-border);border-radius: 14px;padding: 8px 14px;margin-bottom: 8px;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);transition: all 0.2s ease;}
html[data-theme="light"] .mybookshelf-hero-box{background: #f8fafc !important;border: 1.5px solid var(--genre-border) !important;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);}
html[data-theme="light"] .mybookshelf-hero-box.is-stuck{background: rgba(248, 250, 252, 0.98) !important;backdrop-filter: blur(12px);-webkit-backdrop-filter: blur(12px);border: 1.5px solid var(--genre-border) !important;border-top: 1.5px solid var(--genre-border) !important;border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 14px !important;border-bottom-right-radius: 14px !important;padding: 5px 14px 4px 14px !important;box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10) !important;}
html[data-theme="dark"] .mybookshelf-hero-box{background: #111622 !important;border: 1.5px solid var(--genre-border) !important;box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);}
html[data-theme="dark"] .mybookshelf-hero-box.is-stuck{background: rgba(17, 22, 34, 0.98) !important;backdrop-filter: blur(12px);-webkit-backdrop-filter: blur(12px);border: 1.5px solid var(--genre-border) !important;border-top: 1.5px solid var(--genre-border) !important;border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 14px !important;border-bottom-right-radius: 14px !important;padding: 5px 14px 4px 14px !important;box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45) !important;}
.mybookshelf-hero-box.is-stuck{border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 14px !important;border-bottom-right-radius: 14px !important;border-top: 1.5px solid var(--genre-border) !important;padding: 5px 14px 4px 14px !important;}
.mybookshelf-hero-box.is-stuck .mybookshelf-hero-desc{display: none;}
.mybookshelf-hero-box.is-stuck .mybookshelf-hero-title-row{margin-bottom: 0;}
.mybookshelf-hero-box.is-stuck .mybookshelf-hero-title{font-size: 0.95rem;}
.mybookshelf-hero-title-row{display: flex;align-items: center;justify-content: space-between;gap: 12px;margin-bottom: 6px;flex-wrap: wrap;}
.mybookshelf-hero-title{font-size: 1.25rem;font-weight: 900;color: var(--text-main);margin: 0;display: inline-flex;align-items: center;gap: 8px;}
.mybookshelf-hero-desc{font-size: 0.82rem;color: var(--text-sub);line-height: 1.55;margin: 0;}
.kininaru-hero-box{background: linear-gradient(135deg, rgba(217, 119, 6, 0.08) 0%, rgba(245, 158, 11, 0.03) 100%);border: 1px solid rgba(217, 119, 6, 0.25);border-radius: 14px;padding: 16px 20px;margin-bottom: 20px;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);}
html[data-theme="dark"] .kininaru-hero-box{background: linear-gradient(135deg, rgba(217, 119, 6, 0.14) 0%, rgba(245, 158, 11, 0.05) 100%);border-color: rgba(245, 158, 11, 0.35);box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);}
.kininaru-top-action-card{background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 14px;padding: 18px 20px;margin-bottom: 24px;box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);}
.kininaru-action-btn-row{display: flex;align-items: center;gap: 12px;flex-wrap: wrap;margin-bottom: 16px;padding-bottom: 14px;border-bottom: 1px dashed var(--border-color);}
.kininaru-action-primary-btn{flex: 1;min-width: 240px;padding: 11px 18px;font-size: 0.86rem;font-weight: 800;border-radius: 999px;display: inline-flex;align-items: center;justify-content: center;gap: 8px;cursor: pointer;transition: all 0.2s ease;text-decoration: none;}
.kininaru-action-primary-btn.calc{background: linear-gradient(135deg, #6366f1, #8b5cf6);color: #ffffff;border: none;box-shadow: 0 3px 12px rgba(99, 102, 241, 0.35);}
.kininaru-action-primary-btn.calc:hover{transform: translateY(-1px);box-shadow: 0 6px 18px rgba(99, 102, 241, 0.45);}
.kininaru-action-primary-btn.save{background: linear-gradient(135deg, #ea580c, #f59e0b);color: #ffffff;border: none;box-shadow: 0 3px 12px rgba(234, 88, 12, 0.35);}
.kininaru-action-primary-btn.save:hover{transform: translateY(-1px);box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45);}
.kininaru-selected-books-grid{display: flex;flex-direction: column;gap: 8px;}
.kininaru-book-card{display: flex;align-items: center;gap: 12px;padding: 10px 12px;border-radius: 10px;background: var(--bg-card-sub);border: 1px solid var(--border-color);transition: all 0.2s ease;}
.kininaru-book-card:hover{border-color: #d97706;box-shadow: 0 3px 10px rgba(217, 119, 6, 0.12);}
.kininaru-book-thumb{width: 44px;height: 62px;object-fit: cover;border-radius: 4px;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);flex-shrink: 0;}
.kininaru-book-info{flex: 1;min-width: 0;}
.kininaru-book-title{font-size: 0.84rem;font-weight: 800;color: var(--text-main);overflow: hidden;text-overflow: ellipsis;white-space: nowrap;margin-bottom: 2px;}
.kininaru-book-meta{font-size: 0.72rem;color: var(--text-sub);display: flex;align-items: center;gap: 6px;flex-wrap: wrap;}
.kininaru-book-del-btn{background: none;border: none;color: var(--text-muted);cursor: pointer;padding: 4px;font-size: 1.1rem;line-height: 1;transition: color 0.15s ease;flex-shrink: 0;}
.kininaru-book-del-btn:hover{color: #ef4444;}
.kininaru-empty-box{text-align: center;padding: 36px 20px;background: var(--bg-card-sub);border-radius: 12px;border: 1.5px dashed var(--border-color);}
.direct-access-grid{display: grid;grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));gap: 10px;}
.direct-store-btn{display: flex;align-items: center;justify-content: space-between;padding: 11px 14px;border-radius: 10px;text-decoration: none;border: 1px solid #cbd5e1;background: #ffffff;transition: all 0.2s ease;box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);}
html[data-theme="dark"] .direct-store-btn{background: #1e293b;border-color: #334155;}
.direct-store-btn:hover{transform: translateY(-1px);box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);}
.direct-store-btn.kindle:hover{border-color: #f59e0b;background: rgba(245, 158, 11, 0.05);}
.direct-store-btn.kobo:hover{border-color: #ef4444;background: rgba(239, 68, 68, 0.05);}
.direct-store-btn.ebook:hover{border-color: #06b6d4;background: rgba(6, 182, 212, 0.05);}
.direct-store-btn.dmm:hover{border-color: #6366f1;background: rgba(99, 102, 241, 0.05);}
.direct-store-btn .store-badge{font-size: 0.76rem;font-weight: 800;padding: 2px 7px;border-radius: 4px;}
.direct-store-btn .store-badge.kindle{background: #fef3c7;color: #b45309;}
.direct-store-btn .store-badge.kobo{background: #fee2e2;color: #b91c1c;}
.direct-store-btn .store-badge.ebook{background: #cffafe;color: #0e7490;}
.direct-store-btn .store-badge.dmm{background: #e0e7ff;color: #4338ca;}
.direct-store-btn .store-btn-text{font-size: 0.78rem;font-weight: 700;color: var(--text-main);}
.mypage-section-heading{font-size: 1.05rem;font-weight: 900;color: var(--text-main);display: flex;align-items: center;gap: 8px;margin-top: 10px;margin-bottom: 14px;padding-bottom: 6px;border-bottom: 1.5px solid rgba(14, 165, 233, 0.25);}
.floating-calc-trigger{position: fixed;bottom: 24px;right: 24px;background: linear-gradient(135deg, #7c3aed, #6d28d9);color: #fff;padding: 12px 20px;border-radius: 30px;box-shadow: 0 8px 24px rgba(124, 58, 237, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.15);border: 2px solid #a78bfa;font-weight: 800;cursor: pointer;z-index: 990;display: flex;align-items: center;gap: 8px;font-size: 0.88rem;transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;transform-origin: center center;}
.floating-calc-trigger:hover{transform: scale(1.06);box-shadow: 0 10px 28px rgba(124, 58, 237, 0.7);}
.floating-calc-trigger.is-hidden-on-kininaru, body.is-mypage-view:has(#view-mybookshelf[data-mypage-tab="kininaru"]) .floating-calc-trigger{display: none !important;}
.kininaru-dual-badge-host{display: inline-flex !important;align-items: center;gap: 5px;line-height: 1;}
.kininaru-dual-badge-host .ku-dual-chip{display: inline-flex;align-items: center;gap: 2.5px;font-weight: 800;line-height: 1;white-space: nowrap;}
.kininaru-dual-badge-host .ku-dual-chip svg{width: 11px;height: 11px;fill: none !important;stroke: currentColor;stroke-width: 2.2;flex-shrink: 0;}
.kininaru-dual-badge-host .ku-dual-sep{opacity: 0.38;font-size: 0.65em;}
.kininaru-dual-badge-host.is-fab{gap: 5px;margin-left: 2px;}
.kininaru-dual-badge-host.is-fab .ku-dual-chip{padding: 2px 6px;border-radius: 999px;background: rgba(255, 255, 255, 0.18);border: 1px solid rgba(255, 255, 255, 0.28);font-size: 0.74rem;color: #ffffff;}
@keyframes cartWobbleShake{0%{transform: scale(1) rotate(0deg);}15%{transform: scale(1.18) rotate(-6deg);}30%{transform: scale(1.18) rotate(5deg);}45%{transform: scale(1.1) rotate(-3deg);}60%{transform: scale(1.06) rotate(2deg);}75%{transform: scale(1.02) rotate(-1deg);}100%{transform: scale(1) rotate(0deg);}}
.floating-calc-trigger.animate-shake{animation: cartWobbleShake 0.55s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;}
#modal-price-calc{z-index: 1200 !important;}
.batch-buy-main-btn{width: 100%;max-width: 100%;box-sizing: border-box;padding: 12px 14px;border-radius: 10px;font-size: 0.92rem;font-weight: 800;cursor: pointer;display: flex;align-items: center;justify-content: center;gap: 8px;transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);border: 1.5px solid #7c3aed;background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);color: #ffffff;text-align: center;word-break: break-word;white-space: normal;line-height: 1.35;}
.batch-buy-main-btn:hover{transform: translateY(-2px);box-shadow: 0 6px 22px rgba(124, 58, 237, 0.6);filter: brightness(1.1);}
.batch-buy-main-btn:active{transform: scale(0.98);}
.batch-sub-stores-grid{display: grid;grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));gap: 8px;margin-top: 10px;width: 100%;box-sizing: border-box;}
.batch-sub-store-btn{display: inline-flex;align-items: center;justify-content: center;gap: 4px;padding: 9px 8px;border-radius: 8px;font-size: 0.74rem;font-weight: 700;cursor: pointer;border: 1px solid #2d3748;background: #141b26;color: #cbd5e1;transition: all 0.15s ease;white-space: normal;text-align: center;box-sizing: border-box;max-width: 100%;}
html[data-theme="light"] .batch-sub-store-btn{background: #f8fafc;border-color: #cbd5e1;color: #334155;}
.batch-sub-store-btn:hover{border-color: #64748b;transform: translateY(-1px);filter: brightness(1.1);}
.batch-sub-store-btn.store-kindle{border-color: rgba(245, 158, 11, 0.4);}
.batch-sub-store-btn.store-kobo{border-color: rgba(239, 68, 68, 0.4);}
.batch-sub-store-btn.store-ebook{border-color: rgba(244, 63, 94, 0.4);}
.batch-sub-store-btn.store-dmm{border-color: rgba(234, 179, 8, 0.4);}
.batch-copy-btn{display: inline-flex;align-items: center;justify-content: center;gap: 6px;padding: 8px 14px;border-radius: 8px;font-size: 0.76rem;font-weight: 700;cursor: pointer;border: 1px dashed #475569;background: transparent;color: #94a3b8;transition: all 0.15s ease;}
html[data-theme="light"] .batch-copy-btn{border-color: #cbd5e1;color: #64748b;}
.batch-copy-btn:hover{border-color: #a78bfa;color: #c4b5fd;}
.calc-step-item{background: #0f141e;padding: 10px 14px;border-radius: 8px;display: flex;justify-content: space-between;align-items: center;border: 1px solid #232d3d;gap: 12px;transition: all 0.2s ease;}
html[data-theme="light"] .calc-step-item{background: #f8fafc;border-color: #e2e8f0;}
.calc-step-item.is-purchased{background: rgba(124, 58, 237, 0.08);border-color: rgba(124, 58, 237, 0.35);opacity: 0.85;}
.calc-step-num-badge{width: 22px;height: 22px;border-radius: 50%;background: #283548;color: #cbd5e1;display: inline-flex;align-items: center;justify-content: center;font-size: 0.72rem;font-weight: 800;flex-shrink: 0;}
.calc-step-item.is-purchased .calc-step-num-badge{background: linear-gradient(135deg, #7c3aed, #6d28d9);color: #ffffff;}
.calc-step-buy-btn{display: inline-flex;align-items: center;gap: 4px;padding: 6px 12px;border-radius: 6px;font-size: 0.74rem;font-weight: 800;cursor: pointer;text-decoration: none;transition: all 0.15s ease;white-space: nowrap;border: 1.5px solid #8b5cf6;background: rgba(124, 58, 237, 0.14);color: #c084fc;}
html[data-theme="light"] .calc-step-buy-btn{color: #6d28d9;background: #f5f3ff;border-color: #7c3aed;}
.calc-step-buy-btn:hover{background: #7c3aed;border-color: #7c3aed;color: #ffffff;transform: translateY(-1px);box-shadow: 0 2px 10px rgba(124, 58, 237, 0.35);}
.calc-step-buy-btn.is-purchased-btn{background: #1e293b;border-color: #475569;color: #94a3b8;}
html[data-theme="light"] .calc-step-buy-btn.is-purchased-btn{background: #e2e8f0;border-color: #cbd5e1;color: #64748b;}
.calc-mode-tab-btn{padding: 6px 14px;border-radius: 6px;font-size: 0.78rem;font-weight: 800;cursor: pointer;border: 1px solid #334155;background: #1e293b;color: #94a3b8;transition: all 0.15s ease;}
.calc-mode-tab-btn.active{background: linear-gradient(135deg, #7c3aed, #6d28d9);border-color: #a78bfa;color: #ffffff;box-shadow: 0 2px 8px rgba(124, 58, 237, 0.35);}
html[data-theme="light"] .calc-mode-tab-btn{background: #f1f5f9;border-color: #cbd5e1;color: #64748b;}
html[data-theme="light"] .calc-mode-tab-btn.active{background: linear-gradient(135deg, #7c3aed, #6d28d9);color: #ffffff;}
#modal-price-calc, #modal-price-calc *{box-sizing: border-box;overflow-wrap: anywhere;word-break: break-word;}
#modal-price-calc .modal-box{width: min(840px, calc(100vw - 20px)) !important;max-width: min(840px, calc(100vw - 20px)) !important;min-width: 0 !important;margin: auto !important;overflow-x: hidden !important;position: relative;}
html[data-theme="light"] #modal-price-calc .modal-box{background: #ffffff;border: 1px solid #e2e8f0;box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);color: #1e293b;}
.sim-modal-header-row{display: flex;align-items: center;justify-content: space-between;gap: 12px;margin-bottom: 6px;}
.sim-modal-title-wrap{display: flex;align-items: center;gap: 8px;min-width: 0;flex: 1;}
.sim-modal-header-actions{display: flex;align-items: center;gap: 8px;flex-shrink: 0;}
.sim-guide-help-btn, .sim-header-mypage-btn{position: static;display: inline-flex;align-items: center;justify-content: center;padding: 0 14px;height: 32px;font-size: 0.78rem;font-weight: 700;border-radius: 999px;cursor: pointer;transition: all 0.2s ease;white-space: nowrap;line-height: 1;box-sizing: border-box;}
.sim-guide-help-btn{background: rgba(192, 132, 252, 0.12);border: 1px solid rgba(192, 132, 252, 0.35);color: #7c3aed;}
.sim-guide-help-btn:hover{background: rgba(192, 132, 252, 0.22);border-color: #9333ea;transform: translateY(-1px);}
html[data-theme="dark"] .sim-guide-help-btn{background: rgba(192, 132, 252, 0.16);border-color: rgba(192, 132, 252, 0.4);color: #c084fc;}
html[data-theme="dark"] .sim-guide-help-btn:hover{background: rgba(192, 132, 252, 0.28);border-color: #c084fc;}
.sim-header-mypage-btn{background: rgba(2, 132, 199, 0.12);border: 1px solid rgba(2, 132, 199, 0.35);color: #0284c7;}
.sim-header-mypage-btn:hover{background: rgba(2, 132, 199, 0.22);border-color: #0284c7;transform: translateY(-1px);}
html[data-theme="dark"] .sim-header-mypage-btn{background: rgba(56, 189, 248, 0.14);border-color: rgba(56, 189, 248, 0.35);color: #38bdf8;}
html[data-theme="dark"] .sim-header-mypage-btn:hover{background: rgba(56, 189, 248, 0.25);border-color: #38bdf8;}
#modal-price-calc .modal-close-x{position: static;top: auto;right: auto;display: inline-flex;align-items: center;justify-content: center;width: 32px;height: 32px;padding: 0;font-size: 1.45rem;line-height: 1;box-sizing: border-box;border-radius: 6px;transition: background 0.15s, color 0.15s;}
#modal-price-calc .modal-close-x:hover{background: rgba(148, 163, 184, 0.15);}
@media (max-width: 640px){.sim-modal-header-row{gap: 8px;}.sim-guide-help-btn, .sim-header-mypage-btn{height: 28px;padding: 0 10px;font-size: 0.72rem;}#modal-price-calc .modal-close-x{width: 28px;height: 28px;font-size: 1.3rem;}}
.sim-safety-notice-banner{display: flex;align-items: center;gap: 8px;padding: 9px 13px;border-radius: 8px;font-size: 0.78rem;line-height: 1.45;margin-bottom: 14px;background: #f5f3ff;border: 1.5px solid rgba(124, 58, 237, 0.35);color: #5b21b6;box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);}
.sim-safety-notice-banner strong{color: #4c1d95;font-weight: 800;}
html[data-theme="dark"] .sim-safety-notice-banner{background: rgba(124, 58, 237, 0.14);border-color: rgba(168, 85, 247, 0.35);color: #ddd6fe;}
html[data-theme="dark"] .sim-safety-notice-banner strong{color: #f5f3ff;}
.sim-guide-overlay{position: fixed;top: 0;left: 0;right: 0;bottom: 0;background: rgba(15, 23, 42, 0.65);backdrop-filter: blur(4px);-webkit-backdrop-filter: blur(4px);z-index: 2000;display: flex;align-items: center;justify-content: center;padding: 16px;box-sizing: border-box;animation: fadeInSimOverlay 0.2s ease;}
@keyframes fadeInSimOverlay{from{opacity: 0;}to{opacity: 1;}}
.sim-guide-modal-box{width: min(620px, calc(100vw - 24px));max-height: 88vh;overflow-y: auto;background: #ffffff;border: 1px solid #e2e8f0;border-radius: 16px;padding: 22px 20px;box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);position: relative;box-sizing: border-box;animation: popSimGuide 0.22s cubic-bezier(0.16, 1, 0.3, 1);}
@keyframes popSimGuide{from{transform: scale(0.95);opacity: 0;}to{transform: scale(1);opacity: 1;}}
html[data-theme="dark"] .sim-guide-modal-box{background: #111827;border-color: #334155;color: #f8fafc;}
.sim-guide-modal-box .modal-close-x{position: absolute !important;top: 16px !important;right: 16px !important;left: auto !important;bottom: auto !important;width: 32px !important;height: 32px !important;display: inline-flex !important;align-items: center !important;justify-content: center !important;background: transparent !important;border: none !important;color: #94a3b8 !important;cursor: pointer !important;border-radius: 8px !important;font-size: 1.4rem !important;z-index: 20 !important;transition: background 0.15s, color 0.15s !important;}
.sim-guide-modal-box .modal-close-x:hover{background: rgba(148, 163, 184, 0.15) !important;color: #0f172a !important;}
html[data-theme="dark"] .sim-guide-modal-box .modal-close-x:hover{color: #f8fafc !important;background: rgba(255, 255, 255, 0.1) !important;}
.sim-guide-header{display: flex;align-items: center;gap: 12px;margin-bottom: 16px;padding-right: 30px;}
.sim-guide-header-icon{width: 40px;height: 40px;border-radius: 10px;background: linear-gradient(135deg, #c084fc, #9333ea);display: flex;align-items: center;justify-content: center;color: #ffffff;font-size: 1.25rem;flex-shrink: 0;box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);}
.sim-guide-title{font-size: 1.12rem;font-weight: 800;margin: 0 0 3px 0;color: #0f172a;}
html[data-theme="dark"] .sim-guide-title{color: #ffffff;}
.sim-guide-sub{font-size: 0.78rem;color: #64748b;margin: 0;}
html[data-theme="dark"] .sim-guide-sub{color: #94a3b8;}
.sim-guide-list{display: flex;flex-direction: column;gap: 10px;margin-bottom: 18px;}
.sim-guide-step-card{display: flex;align-items: flex-start;gap: 12px;padding: 12px 14px;border-radius: 12px;background: #f8fafc;border: 1px solid #e2e8f0;box-sizing: border-box;}
html[data-theme="dark"] .sim-guide-step-card{background: #1e293b;border-color: #334155;}
.sim-guide-step-card.highlight{background: #f5f3ff;border: 1.5px solid #7c3aed;box-shadow: 0 2px 10px rgba(124, 58, 237, 0.2);}
html[data-theme="dark"] .sim-guide-step-card.highlight{background: rgba(124, 58, 237, 0.16);border-color: #8b5cf6;}
.sim-guide-step-badge{width: 26px;height: 26px;border-radius: 50%;background: linear-gradient(135deg, #7c3aed, #6d28d9);color: #ffffff;font-size: 0.8rem;font-weight: 800;display: flex;align-items: center;justify-content: center;flex-shrink: 0;margin-top: 1px;}
.sim-guide-step-card.highlight .sim-guide-step-badge{background: linear-gradient(135deg, #7c3aed, #6d28d9);box-shadow: 0 2px 8px rgba(124, 58, 237, 0.45);}
.sim-guide-step-content{flex: 1;min-width: 0;}
.sim-guide-step-content h5{margin: 0 0 4px 0;font-size: 0.88rem;font-weight: 800;color: #0f172a;}
html[data-theme="dark"] .sim-guide-step-content h5{color: #ffffff;}
.sim-guide-step-card.highlight .sim-guide-step-content h5{color: #5b21b6;}
html[data-theme="dark"] .sim-guide-step-card.highlight .sim-guide-step-content h5{color: #ddd6fe;}
.sim-guide-step-content p{margin: 0;font-size: 0.77rem;line-height: 1.55;color: #475569;}
html[data-theme="dark"] .sim-guide-step-content p{color: #cbd5e1;}
.sim-guide-step-card.highlight .sim-guide-step-content p{color: #4c1d95;}
html[data-theme="dark"] .sim-guide-step-card.highlight .sim-guide-step-content p{color: #ede9fe;}
.sim-guide-got-it-btn{width: 100%;padding: 12px 16px;border-radius: 999px;border: none;background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);color: #ffffff;font-size: 0.92rem;font-weight: 800;cursor: pointer;box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);transition: all 0.15s ease;display: flex;align-items: center;justify-content: center;gap: 6px;}
.sim-guide-got-it-btn:hover{transform: translateY(-1px);box-shadow: 0 6px 18px rgba(124, 58, 237, 0.45);filter: brightness(1.08);}
.sim-guide-got-it-btn:active{transform: scale(0.98);}
.calc-summary-comparison-box{background: #0f141e;border: 1px solid #232d3d;border-radius: 12px;padding: 16px;transition: all 0.2s ease;}
html[data-theme="light"] .calc-summary-comparison-box{background: #f8fafc;border-color: #e2e8f0;}
.calc-summary-header{font-size: 0.88rem;color: var(--accent-gold);font-weight: 800;margin-bottom: 10px;display: flex;align-items: center;justify-content: space-between;flex-wrap: wrap;gap: 6px;}
html[data-theme="light"] .calc-summary-header{color: #b45309;}
.calc-summary-sub-prices{font-size: 0.72rem;color: #94a3b8;font-weight: normal;}
html[data-theme="light"] .calc-summary-sub-prices{color: #64748b;}
.calc-stores-grid{display: grid;grid-template-columns: repeat(4, 1fr);gap: 8px;margin-bottom: 12px;width: 100%;box-sizing: border-box;}
.calc-store-card{cursor: pointer;background: #0f141e;border: 1.5px solid #232d3d;padding: 10px 8px;border-radius: 10px;text-align: center;transition: all 0.15s ease;box-sizing: border-box;position: relative;}
.calc-store-card:hover{transform: translateY(-2px);border-color: #475569;}
.calc-store-card .calc-store-name{font-size: 0.7rem;color: #94a3b8;margin-bottom: 3px;display: flex;align-items: center;justify-content: center;gap: 3px;}
.calc-store-card .calc-store-price{font-size: 1.18rem;font-weight: 900;color: #ffffff;letter-spacing: -0.02em;}
.calc-store-card.is-winner{background: rgba(124, 58, 237, 0.2);border-color: #8b5cf6;box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);}
.calc-store-card.is-winner .calc-store-price{color: #c084fc;}
.calc-store-badge-winner{font-size: 0.65rem;background: linear-gradient(135deg, #7c3aed, #6d28d9);color: #ffffff;font-weight: 800;padding: 2px 8px;border-radius: 999px;display: inline-block;margin-top: 3px;}
.calc-store-badge-selected{font-size: 0.63rem;background: rgba(16, 185, 129, 0.2);color: #34d399;font-weight: 800;padding: 2px 7px;border-radius: 999px;display: inline-block;margin-top: 3px;border: 1px solid rgba(16, 185, 129, 0.4);}
.calc-store-card.is-selected{outline: 2.5px solid #10b981;outline-offset: 1px;}
html[data-theme="light"] .calc-store-badge-selected{background: rgba(16, 185, 129, 0.12);color: #047857;border-color: rgba(16, 185, 129, 0.5);}
html[data-theme="light"] .calc-store-card.is-selected{outline: 2.5px solid #059669;outline-offset: 1px;}
html[data-theme="light"] .calc-store-card{background: #ffffff;border-color: #e2e8f0;box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);}
html[data-theme="light"] .calc-store-card:hover{border-color: #94a3b8;box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);}
html[data-theme="light"] .calc-store-card .calc-store-name{color: #64748b;}
html[data-theme="light"] .calc-store-card .calc-store-price{color: #0f172a;}
html[data-theme="light"] .calc-store-card.is-winner{background: #f5f3ff;border: 1.5px solid #7c3aed;box-shadow: 0 2px 10px rgba(124, 58, 237, 0.2);}
html[data-theme="light"] .calc-store-card.is-winner .calc-store-name{color: #6d28d9;font-weight: 700;}
html[data-theme="light"] .calc-store-card.is-winner .calc-store-price{color: #7c3aed;}
.calc-saving-banner{background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(109, 40, 217, 0.1));border: 1.5px solid rgba(124, 58, 237, 0.4);padding: 10px 14px;border-radius: 8px;font-size: 0.83rem;color: #e9d5ff;margin-bottom: 14px;line-height: 1.5;}
html[data-theme="light"] .calc-saving-banner{background: #f5f3ff;border: 1.5px solid rgba(124, 58, 237, 0.35);color: #5b21b6;}
html[data-theme="light"] .calc-saving-banner strong{color: #6d28d9;}
.calc-saving-note{font-size: 0.74rem;font-weight: 700;color: #c084fc;margin-top: 5px;}
html[data-theme="light"] .calc-saving-note{color: #6d28d9;}
.calc-assist-box{background: #0c111c;border: 1px solid #1e293b;border-radius: 10px;padding: 14px;}
html[data-theme="light"] .calc-assist-box{background: #ffffff;border-color: #e2e8f0;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);}
.calc-assist-title{font-size: 0.83rem;font-weight: 800;color: #f1f5f9;display: flex;align-items: center;gap: 6px;}
html[data-theme="light"] .calc-assist-title{color: #0f172a;}
.calc-mobile-tip{margin-top: 14px;background: rgba(59, 130, 246, 0.08);border: 1px solid rgba(59, 130, 246, 0.25);border-radius: 8px;padding: 10px 12px;}
.calc-mobile-tip-title{font-size: 0.75rem;font-weight: 800;color: #93c5fd;display: flex;align-items: center;gap: 6px;margin-bottom: 4px;}
.calc-mobile-tip-body{font-size: 0.72rem;color: #cbd5e1;line-height: 1.5;}
html[data-theme="light"] .calc-mobile-tip{background: #eff6ff;border-color: #bfdbfe;}
html[data-theme="light"] .calc-mobile-tip-title{color: #1d4ed8;}
html[data-theme="light"] .calc-mobile-tip-body{color: #334155;}
.calc-step-thumb-wrap{width: 40px;height: 54px;border-radius: 5px;overflow: hidden;background: #1a2230;flex-shrink: 0;display: flex;align-items: center;justify-content: center;border: 1px solid #334155;}
html[data-theme="light"] .calc-step-thumb-wrap{background: #f1f5f9;border-color: #cbd5e1;}
.calc-step-thumb-wrap img{width: 100%;height: 100%;object-fit: cover;}
.calc-step-check-btn{padding: 6px 10px;border-radius: 6px;font-size: 0.72rem;font-weight: 700;cursor: pointer;border: 1px solid #334155;background: #1e293b;color: #94a3b8;transition: all 0.15s ease;}
html[data-theme="light"] .calc-step-check-btn{background: #f1f5f9;border-color: #cbd5e1;color: #64748b;}
.calc-step-check-btn:hover{border-color: #64748b;}
html[data-theme="light"] .calc-step-check-btn:hover{background: #e2e8f0;color: #334155;}
.calc-step-item.is-purchased .calc-step-check-btn{background: #7c3aed !important;border-color: #6d28d9 !important;color: #ffffff !important;}
.calc-step-item.is-purchased .calc-step-num-badge{background: linear-gradient(135deg, #7c3aed, #6d28d9) !important;border-color: #6d28d9 !important;color: #ffffff !important;}
.calc-step-del-btn{background: transparent;border: none;color: #94a3b8;cursor: pointer;padding: 4px;display: inline-flex;align-items: center;justify-content: center;border-radius: 4px;transition: all 0.15s ease;}
.calc-step-del-btn:hover{color: #ef4444;background: rgba(239, 68, 68, 0.1);}
.calc-step-keep-btn{display: inline-flex;align-items: center;gap: 4px;padding: 6px 10px;border-radius: 6px;font-size: 0.72rem;font-weight: 700;cursor: pointer;border: 1px solid rgba(245, 158, 11, 0.35);background: rgba(245, 158, 11, 0.12);color: #fbbf24;transition: all 0.15s ease;white-space: nowrap;}
html[data-theme="light"] .calc-step-keep-btn{background: #fef3c7;border-color: #fcd34d;color: #b45309;}
.calc-step-keep-btn:hover{background: rgba(245, 158, 11, 0.25);border-color: #f59e0b;color: #ffffff;transform: translateY(-1px);}
html[data-theme="light"] .calc-step-keep-btn:hover{background: #fde68a;color: #92400e;}
.calc-step-thumb-wrap.clickable{cursor: pointer;position: relative;transition: transform 0.15s ease, box-shadow 0.15s ease;}
.calc-step-thumb-wrap.clickable:hover{transform: scale(1.05);box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);}
.calc-thumb-sample-badge{position: absolute;bottom: 0;left: 0;right: 0;background: rgba(0, 0, 0, 0.78);color: #ffffff;font-size: 0.52rem;font-weight: 700;text-align: center;padding: 1px 0;line-height: 1.2;display: flex;align-items: center;justify-content: center;gap: 2px;letter-spacing: -0.3px;backdrop-filter: blur(2px);}
html[data-theme="light"] .calc-thumb-sample-badge{background: rgba(15, 23, 42, 0.82);}
#modal-sample-reader, #modal-share-preview, #modal-price-alert-setting{z-index: 1200 !important;}
.calc-step-item-title{color: #ffffff;}
html[data-theme="light"] .calc-step-item-title{color: #0f172a !important;}
@media (max-width: 640px){.custom-modal-layer{padding: 6px !important;}#modal-price-calc .modal-box{padding: 14px 10px !important;width: calc(100vw - 12px) !important;max-width: calc(100vw - 12px) !important;min-width: 0 !important;border-radius: 10px !important;}#modal-price-calc h3{font-size: 1.05rem !important;line-height: 1.35 !important;}#calc-summary-comparison-box{padding: 12px 8px !important;box-sizing: border-box !important;}.calc-step-item{flex-direction: column !important;align-items: stretch !important;gap: 8px !important;padding: 10px 8px !important;box-sizing: border-box !important;}.calc-step-item .calc-step-actions{display: flex !important;align-items: center !important;gap: 6px !important;width: 100% !important;border-top: 1px dashed rgba(148, 163, 184, 0.2) !important;padding-top: 8px !important;margin-top: 2px !important;box-sizing: border-box !important;}html[data-theme="light"] .calc-step-item .calc-step-actions{border-top-color: rgba(0, 0, 0, 0.08) !important;}.calc-step-item .calc-step-actions .calc-step-buy-btn{flex: 1 1 0 !important;min-width: 0 !important;justify-content: center !important;padding: 7px 6px !important;font-size: 0.72rem !important;}.calc-step-item .calc-step-actions .calc-step-check-btn{flex: 0 0 auto !important;padding: 7px 8px !important;font-size: 0.7rem !important;}.calc-step-item .calc-step-actions .calc-step-keep-btn{flex: 0 0 auto !important;padding: 7px 8px !important;font-size: 0.7rem !important;}.calc-step-item-title{white-space: normal !important;line-height: 1.35 !important;display: -webkit-box !important;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;}.batch-buy-main-btn{font-size: 0.82rem !important;padding: 10px 8px !important;white-space: normal !important;line-height: 1.35 !important;text-align: center !important;}.batch-sub-stores-grid{grid-template-columns: repeat(2, 1fr) !important;gap: 6px !important;}.batch-sub-store-btn{padding: 8px 4px !important;font-size: 0.7rem !important;justify-content: center !important;white-space: normal !important;text-align: center !important;}.calc-stores-grid{grid-template-columns: repeat(2, 1fr) !important;gap: 6px !important;}.calc-stores-grid .clickable{padding: 8px 4px !important;}.batch-copy-btn{padding: 6px 10px !important;font-size: 0.72rem !important;}}
.sim-auth-register-banner{margin-bottom: 16px;border-radius: 14px;padding: 13px 16px;background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(234, 88, 12, 0.08));border: 1.5px solid rgba(124, 58, 237, 0.25);box-shadow: 0 3px 12px rgba(124, 58, 237, 0.06);}
html[data-theme="dark"] .sim-auth-register-banner{background: linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(234, 88, 12, 0.14));border-color: rgba(124, 58, 237, 0.38);}
.sim-reg-content{display: flex;align-items: center;justify-content: space-between;gap: 14px;flex-wrap: wrap;}
.sim-reg-text-wrap{flex: 1;min-width: 260px;}
.sim-reg-title{font-size: 0.9rem;font-weight: 800;color: var(--text-main);display: flex;align-items: center;gap: 6px;margin-bottom: 4px;}
.sim-reg-desc{font-size: 0.74rem;color: var(--text-sub);line-height: 1.5;margin: 0;}
.sim-reg-actions{display: flex;align-items: center;gap: 8px;flex-wrap: wrap;}
.sim-reg-line-btn{font-size: 0.8rem;font-weight: 800;padding: 7px 15px;background: #06c755;color: #ffffff;border: none;border-radius: 999px;box-shadow: 0 3px 10px rgba(6, 199, 85, 0.3);cursor: pointer;display: inline-flex;align-items: center;gap: 6px;transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);}
.sim-reg-line-btn:hover{transform: translateY(-1px);box-shadow: 0 5px 14px rgba(6, 199, 85, 0.4);}
.sim-reg-other-btn{font-size: 0.76rem;font-weight: 700;padding: 6px 13px;background: var(--bg-card);color: var(--text-sub);border: 1.5px solid var(--border-color);border-radius: 999px;cursor: pointer;transition: all 0.2s;}
.sim-reg-other-btn:hover{color: var(--text-main);border-color: #7c3aed;}
.sim-bookshelf-tray-section{margin-top: 24px;padding-top: 18px;border-top: 1.5px dashed var(--border-color, #e2e8f0);}
.sim-tray-header{display: flex;justify-content: space-between;align-items: center;margin-bottom: 12px;flex-wrap: wrap;gap: 8px;}
.sim-tray-title-group{display: flex;align-items: center;gap: 8px;}
.sim-tray-icon{font-size: 1.15rem;}
.sim-tray-title{font-size: 0.95rem;font-weight: 800;color: var(--text-main);margin: 0;}
.sim-tray-badge{font-size: 0.7rem;font-weight: 800;padding: 2px 8px;border-radius: 999px;background: rgba(234, 88, 12, 0.1);color: #ea580c;border: 1px solid rgba(234, 88, 12, 0.25);}
.sim-tray-subtext{font-size: 0.72rem;color: var(--text-sub);}
footer.site-footer{border-top: 1px solid var(--border-color);background: #090d16;padding: 36px 20px 48px;color: #94a3b8;font-size: 0.78rem;line-height: 1.6;box-sizing: border-box;width: 100%;}
html[data-theme="light"] footer.site-footer{background: #f1f5f9;border-top-color: #e2e8f0;color: #64748b;}
.footer-inner{max-width: 1560px;margin: 0 auto;display: flex;flex-direction: column;gap: 20px;align-items: center;text-align: center;}
.footer-disclaimer-box{width: 100%;background: rgba(15, 23, 42, 0.6);border: 1px solid #1e293b;border-radius: 12px;padding: 14px 20px;text-align: left;font-size: 0.74rem;color: #94a3b8;line-height: 1.65;box-sizing: border-box;}
html[data-theme="light"] .footer-disclaimer-box{background: #ffffff;border-color: #e2e8f0;color: #64748b;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);}
.footer-disclaimer-header{font-weight: 800;font-size: 0.78rem;color: #f59e0b;display: flex;align-items: center;gap: 6px;margin-bottom: 6px;}
.footer-nav-list{display: flex;flex-wrap: wrap;justify-content: center;align-items: center;gap: 6px 12px;padding: 0;margin: 0;list-style: none;}
.footer-nav-btn, .footer-nav-link{background: none;border: none;color: #cbd5e1;font-size: 0.78rem;font-weight: 700;cursor: pointer;padding: 4px 6px;border-radius: 6px;transition: all 0.15s ease;text-decoration: none;display: inline-flex;align-items: center;gap: 4px;}
html[data-theme="light"] .footer-nav-btn, html[data-theme="light"] .footer-nav-link{color: #475569;}
.footer-nav-btn:hover, .footer-nav-link:hover{color: #f59e0b !important;background: rgba(245, 158, 11, 0.08);text-decoration: underline;}
.footer-nav-btn-highlight{border: 1.5px solid #2563eb !important;border-radius: 8px !important;padding: 3px 12px !important;color: #1d4ed8 !important;background: #ffffff !important;box-shadow: 0 1px 2px rgba(37, 99, 235, 0.08);font-weight: 700;text-decoration: none !important;}
.footer-nav-btn-highlight:hover{background: #eff6ff !important;border-color: #1d4ed8 !important;color: #1e40af !important;text-decoration: none !important;}
html[data-theme="dark"] .footer-nav-btn-highlight{border-color: #3b82f6 !important;color: #93c5fd !important;background: rgba(59, 130, 246, 0.12) !important;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);}
html[data-theme="dark"] .footer-nav-btn-highlight:hover{background: rgba(59, 130, 246, 0.2) !important;border-color: #60a5fa !important;color: #bfdbfe !important;}
.footer-nav-sep{color: #334155;font-size: 0.7rem;user-select: none;}
html[data-theme="light"] .footer-nav-sep{color: #cbd5e1;}
.footer-compliance-box{font-size: 0.72rem;color: #64748b;display: flex;flex-direction: column;gap: 6px;text-align: center;line-height: 1.55;}
html[data-theme="light"] .footer-compliance-box{color: #94a3b8;}
.footer-affiliate-notice{font-size: 10px !important;line-height: 1.5 !important;color: #94a3b8 !important;opacity: 0.85;max-width: 820px;margin: 8px auto 4px !important;padding: 0 16px;text-align: center;box-sizing: border-box;letter-spacing: -0.01em;}
html[data-theme="dark"] .footer-affiliate-notice{color: rgba(148, 163, 184, 0.72) !important;}
html[data-theme="light"] .footer-affiliate-notice{color: #94a3b8 !important;}
.footer-copy-text{font-size: 0.74rem;font-weight: 700;color: #94a3b8;margin-top: 4px;}
html[data-theme="light"] .footer-copy-text{color: #64748b;}
@media (max-width: 768px){footer.site-footer{padding: 24px 14px 40px !important;}.footer-inner{gap: 12px !important;}.footer-disclaimer-box{padding: 10px 12px !important;font-size: 0.67rem !important;line-height: 1.5 !important;border-radius: 10px !important;}.footer-disclaimer-header{font-size: 0.74rem !important;margin-bottom: 4px !important;}.footer-nav-list{gap: 4px 8px !important;}.footer-nav-btn{font-size: 0.72rem !important;padding: 2px 4px !important;}.footer-affiliate-notice{font-size: 9.5px !important;line-height: 1.4 !important;margin: 4px auto 2px !important;padding: 0 8px !important;opacity: 0.75;}.footer-copy-text{font-size: 0.68rem !important;margin-top: 2px !important;}.legal-title-desktop{display: none !important;}.legal-title-mobile{display: inline !important;font-size: 0.92rem;}}
html[data-view="footer"] header, html[data-view="footer"] main, html[data-view="footer"] .custom-modal-layer:not(#modal-site-legal){display: none !important;}
.legal-modal-box{max-width: 960px !important;width: 95% !important;max-height: 88vh !important;height: 720px !important;display: flex !important;flex-direction: column !important;padding: 0 !important;overflow: hidden !important;border-radius: 16px !important;background: #0f172a !important;border: 1px solid #1e293b !important;}
html[data-theme="light"] .legal-modal-box{background: #ffffff !important;border-color: #cbd5e1 !important;}
.legal-modal-header{display: flex;align-items: center;justify-content: space-between;padding: 16px 20px;border-bottom: 1px solid #1e293b;background: #0b0f19;flex-shrink: 0;}
html[data-theme="light"] .legal-modal-header{background: #f8fafc;border-bottom-color: #e2e8f0;}
.legal-modal-title{font-size: 1.05rem;font-weight: 800;color: #f8fafc;margin: 0;display: flex;align-items: center;gap: 8px;}
html[data-theme="light"] .legal-modal-title{color: #0f172a;}
.legal-modal-layout{display: flex;flex: 1;min-height: 0;overflow: hidden;}
@media (max-width: 768px){.legal-modal-box{height: 90vh !important;}.legal-modal-layout{flex-direction: column;}}
.legal-tabs-sidebar{width: 220px;background: #0b0f19;border-right: 1px solid #1e293b;padding: 12px 8px;display: flex;flex-direction: column;gap: 4px;overflow-y: auto;flex-shrink: 0;}
html[data-theme="light"] .legal-tabs-sidebar{background: #f8fafc;border-right-color: #e2e8f0;}
@media (max-width: 768px){.legal-tabs-sidebar{width: 100%;border-right: none;border-bottom: 1px solid #1e293b;flex-direction: row;overflow-x: auto;overflow-y: hidden;padding: 8px 10px;gap: 6px;white-space: nowrap;}html[data-theme="light"] .legal-tabs-sidebar{border-bottom-color: #e2e8f0;}}
.legal-tab-btn{display: flex;align-items: center;gap: 8px;padding: 10px 14px;border-radius: 8px;border: 1px solid transparent;background: transparent;color: #94a3b8;font-size: 0.8rem;font-weight: 700;text-align: left;cursor: pointer;transition: all 0.15s ease;white-space: nowrap;}
html[data-theme="light"] .legal-tab-btn{color: #64748b;}
.legal-tab-btn:hover{color: #f8fafc;background: rgba(255, 255, 255, 0.05);}
html[data-theme="light"] .legal-tab-btn:hover{color: #0f172a;background: #e2e8f0;}
.legal-tab-btn.active{color: #fbbf24 !important;background: rgba(245, 158, 11, 0.15) !important;border-color: rgba(245, 158, 11, 0.3) !important;}
html[data-theme="light"] .legal-tab-btn.active{color: #b45309 !important;background: #fef3c7 !important;border-color: #fde68a !important;}
.legal-tab-btn svg{flex-shrink: 0;}
.legal-content-pane{flex: 1;padding: 24px 28px;overflow-y: auto;box-sizing: border-box;font-size: 0.84rem;line-height: 1.7;color: #cbd5e1;}
html[data-theme="light"] .legal-content-pane{color: #334155;}
@media (max-width: 768px){.legal-content-pane{padding: 16px 18px;}}
.legal-tab-pane{display: none;}
.legal-tab-pane.active{display: block;animation: fadeIn 0.2s ease;}
.legal-pane-title{font-size: 1.2rem;font-weight: 800;color: #f8fafc;margin: 0 0 14px 0;padding-bottom: 8px;border-bottom: 2px solid rgba(245, 158, 11, 0.4);display: flex;align-items: center;gap: 8px;}
html[data-theme="light"] .legal-pane-title{color: #0f172a;}
.legal-section-block{margin-bottom: 20px;}
.legal-section-block h4{font-size: 0.95rem;font-weight: 800;color: #fbbf24;margin: 16px 0 6px 0;}
html[data-theme="light"] .legal-section-block h4{color: #b45309;}
.legal-section-block p, .legal-section-block li{font-size: 0.82rem;margin-bottom: 8px;}
.legal-section-block ul, .legal-section-block ol{padding-left: 20px;margin-bottom: 12px;}
.legal-highlight-card{background: rgba(245, 158, 11, 0.08);border-left: 3px solid #f59e0b;padding: 10px 14px;border-radius: 4px;margin: 12px 0;font-size: 0.8rem;}
html[data-theme="light"] .legal-highlight-card{background: #fffbeb;border-left-color: #d97706;}
.legal-form-wrap{display: flex;flex-direction: column;gap: 14px;max-width: 600px;margin-top: 12px;}
.legal-form-group{display: flex;flex-direction: column;gap: 5px;}
.legal-form-label{font-size: 0.78rem;font-weight: 700;color: #e2e8f0;display: flex;align-items: center;gap: 6px;}
html[data-theme="light"] .legal-form-label{color: #1e293b;}
.legal-form-req{font-size: 0.65rem;background: #dc2626;color: #fff;padding: 1px 5px;border-radius: 3px;font-weight: 800;}
.legal-form-opt{font-size: 0.65rem;background: #64748b;color: #fff;padding: 1px 5px;border-radius: 3px;font-weight: 700;}
.legal-form-input, .legal-form-textarea, .legal-form-select{width: 100%;padding: 9px 12px;border-radius: 8px;border: 1px solid #334155;background: #0b0f19;color: #f8fafc;font-size: 0.82rem;box-sizing: border-box;outline: none;transition: border-color 0.2s;}
html[data-theme="light"] .legal-form-input, html[data-theme="light"] .legal-form-textarea, html[data-theme="light"] .legal-form-select{background: #ffffff;border-color: #cbd5e1;color: #0f172a;}
.legal-form-input:focus, .legal-form-textarea:focus, .legal-form-select:focus{border-color: #f59e0b;}
.legal-form-textarea{min-height: 110px;resize: vertical;}
.legal-form-submit-btn{align-self: flex-start;background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);color: #ffffff;font-weight: 800;font-size: 0.85rem;border: none;padding: 10px 24px;border-radius: 24px;cursor: pointer;box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);transition: transform 0.15s, box-shadow 0.15s;}
.legal-form-submit-btn:hover{transform: translateY(-1px);box-shadow: 0 6px 16px rgba(217, 119, 6, 0.4);}
.hikabon-badge{display: inline-flex;align-items: center;gap: 3px;font-size: 0.68rem;font-weight: 800;padding: 2px 7px;border-radius: 4px;letter-spacing: 0.03em;line-height: 1.2;box-sizing: border-box;vertical-align: middle;transition: all 0.2s;}
.hikabon-badge svg{display: block;flex-shrink: 0;}
.badge-meicho{background: linear-gradient(135deg, rgba(217, 119, 6, 0.28) 0%, rgba(180, 83, 9, 0.16) 100%);border: 1px solid rgba(245, 158, 11, 0.75);color: #fef08a;box-shadow: 0 0 8px rgba(245, 158, 11, 0.22);text-shadow: 0 1px 2px rgba(0,0,0,0.5);}
.badge-meicho:hover{border-color: #fde047;box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);}
.badge-ryosho{background: linear-gradient(135deg, rgba(16, 185, 129, 0.28) 0%, rgba(5, 150, 105, 0.16) 100%);border: 1px solid rgba(52, 211, 153, 0.75);color: #a7f3d0;box-shadow: 0 0 8px rgba(16, 185, 129, 0.22);text-shadow: 0 1px 2px rgba(0,0,0,0.5);}
.badge-ryosho:hover{border-color: #6ee7b7;box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);}
.badge-kogaku{background: linear-gradient(135deg, rgba(56, 189, 248, 0.26) 0%, rgba(99, 102, 241, 0.18) 100%);border: 1px solid rgba(125, 211, 252, 0.75);color: #e0f2fe;box-shadow: 0 0 8px rgba(56, 189, 248, 0.25);text-shadow: 0 1px 2px rgba(0,0,0,0.5);}
.badge-kogaku:hover{border-color: #38bdf8;box-shadow: 0 0 12px rgba(56, 189, 248, 0.45);}
.badge-osume{background: linear-gradient(135deg, rgba(244, 63, 94, 0.28) 0%, rgba(225, 29, 72, 0.16) 100%);border: 1px solid rgba(251, 113, 133, 0.75);color: #ffe4e6;box-shadow: 0 0 8px rgba(244, 63, 94, 0.25);text-shadow: 0 1px 2px rgba(0,0,0,0.5);}
.badge-osume:hover{border-color: #fda4af;box-shadow: 0 0 12px rgba(244, 63, 94, 0.45);}
.badge-filter-btn{display: inline-flex;align-items: center;gap: 4px;font-size: 0.75rem;padding: 5px 12px;border-radius: 9999px !important;transition: all 0.2s;}
.badge-filter-btn.award.active{background: #78350f !important;color: #fef08a !important;border-color: #f59e0b !important;box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);}
.badge-filter-btn.kogaku.active{background: #1e1b4b !important;color: #e0f2fe !important;border-color: #38bdf8 !important;box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);}
.badge-filter-btn.under100.active{background: #7c2d12 !important;color: #ffedd5 !important;border-color: #ea580c !important;box-shadow: 0 0 10px rgba(234, 88, 12, 0.4);}
html[data-theme="light"] .badge-filter-btn.award.active{background: #f59e0b !important;color: #ffffff !important;border-color: #d97706 !important;}
html[data-theme="light"] .badge-filter-btn.kogaku.active{background: #0284c7 !important;color: #ffffff !important;border-color: #0369a1 !important;}
html[data-theme="light"] .badge-filter-btn.under100.active{background: #ea580c !important;color: #ffffff !important;border-color: #c2410c !important;}
.release-calendar-header-tabs{display: flex;gap: 6px;overflow-x: auto;padding-bottom: 4px;margin-bottom: 12px;border-bottom: 1px solid #1f2838;}
.cal-tab-btn{background: #141923;border: 1px solid #232d3e;color: var(--text-sub);font-size: 0.78rem;font-weight: 700;padding: 6px 13px;border-radius: 6px;cursor: pointer;white-space: nowrap;transition: all 0.2s;display: inline-flex;align-items: center;gap: 6px;}
.cal-tab-btn:hover{background: #1c2433;color: #fff;border-color: #3b82f6;}
.cal-tab-btn.active{background: linear-gradient(135deg, #1e3a8a, #111827);border-color: #38bdf8;color: #bae6fd;box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);}
.cal-tab-badge{background: rgba(56, 189, 248, 0.2);color: #38bdf8;font-size: 0.68rem;padding: 1px 6px;border-radius: 10px;}
.badge-all-time-low{display: inline-flex;align-items: center;gap: 3px;font-size: 0.68rem;font-weight: 900;padding: 2px 7px;border-radius: 4px;background: linear-gradient(135deg, rgba(16, 185, 129, 0.28) 0%, rgba(6, 78, 59, 0.18) 100%);border: 1px solid #10b981;color: #6ee7b7;box-shadow: 0 0 8px rgba(16, 185, 129, 0.25);letter-spacing: 0.02em;}
.badge-near-all-time-low{display: inline-flex;align-items: center;gap: 3px;font-size: 0.68rem;font-weight: 800;padding: 2px 7px;border-radius: 4px;background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(180, 83, 9, 0.16) 100%);border: 1px solid #f59e0b;color: #fbbf24;box-shadow: 0 0 8px rgba(245, 158, 11, 0.2);letter-spacing: 0.02em;}
.btn-price-history{background: #151d2a;border: 1px solid #28374d;color: #93c5fd;font-size: 0.72rem;font-weight: 700;padding: 3px 8px;border-radius: 4px;cursor: pointer;display: inline-flex;align-items: center;gap: 4px;transition: all 0.15s;}
.btn-price-history:hover{background: #223046;border-color: #60a5fa;color: #fff;}
.cafe-title-new-row{display: flex;align-items: center;justify-content: flex-start;margin: 0 0 4px 0;width: 100%;}
.badge-new-24h{display: inline-flex;align-items: center;gap: 4px;font-size: 0.69rem;font-weight: 900;padding: 2px 8px;border-radius: 999px;background: linear-gradient(135deg, #ef4444 0%, #ea580c 100%);border: 1px solid #fca5a5;color: #ffffff;box-shadow: 0 0 12px rgba(239, 68, 68, 0.55);animation: badge24hPulseBlink 1.35s ease-in-out infinite;letter-spacing: 0.02em;}
html[data-theme="light"] .badge-new-24h{color: #ffffff;background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);border-color: #f87171;box-shadow: 0 2px 10px rgba(220, 38, 38, 0.42);}
.badge-new-24h-dot{width: 6px;height: 6px;border-radius: 50%;background: #fef08a;box-shadow: 0 0 6px #fef08a;flex-shrink: 0;}
@keyframes badge24hPulseBlink{0%, 100%{opacity: 1;transform: scale(1);box-shadow: 0 0 6px rgba(239, 68, 68, 0.38);}50%{opacity: 0.76;transform: scale(1.04);box-shadow: 0 0 16px rgba(239, 68, 68, 0.82), 0 0 6px rgba(251, 191, 36, 0.65);}}
@keyframes pulse-glow{0%, 100%{box-shadow: 0 0 6px rgba(245, 158, 11, 0.3);}50%{box-shadow: 0 0 14px rgba(245, 158, 11, 0.6);}}
.btn-sample-preview{background: #1a2233;border: 1px solid #2d3d57;color: #e2e8f0;font-size: 0.72rem;font-weight: 700;padding: 3px 9px;border-radius: 4px;cursor: pointer;display: inline-flex;align-items: center;gap: 4px;transition: all 0.15s;}
.btn-sample-preview:hover{background: #25334c;border-color: #38bdf8;color: #38bdf8;}
.price-chart-svg-wrap{background: #0b0f17;border: 1px solid #1e2838;border-radius: 8px;padding: 16px;margin: 14px 0;}
.sample-reader-paper{background: #fdfbf7;color: #1a1a1a;border-radius: 8px;padding: 14px 18px;max-height: 190px;overflow-y: auto;font-family: serif;line-height: 1.75;font-size: 0.90rem;box-shadow: inset 0 2px 8px rgba(0,0,0,0.12);margin: 10px 0;border: 1px solid #e2d9cc;}
html[data-theme="dark"] .sample-reader-paper{background: #181c24;color: #e2e8f0;border-color: #2e384d;box-shadow: inset 0 2px 8px rgba(0,0,0,0.4);}
.sample-modal-book-box{display: flex;gap: 16px;align-items: flex-start;background: var(--bg-card-sub, #f8fafc);border: 1px solid var(--border-color, #e2e8f0);border-radius: 10px;padding: 14px 16px;margin-bottom: 14px;}
.sample-modal-cover{width: 72px;height: 102px;object-fit: cover;border-radius: 6px;box-shadow: 0 4px 12px rgba(0,0,0,0.18);flex-shrink: 0;}
.sample-modal-info{flex: 1;min-width: 0;}
.sample-modal-title{font-size: 1.05rem;font-weight: 800;color: var(--text-main, #0f172a);line-height: 1.35;margin-bottom: 4px;}
.sample-modal-meta{font-size: 0.78rem;color: var(--text-sub, #64748b);margin-bottom: 6px;display: flex;flex-wrap: wrap;gap: 6px;align-items: center;}
.sample-modal-badges{display: flex;flex-wrap: wrap;gap: 6px;margin-bottom: 8px;}
.sample-modal-badge{display: inline-flex;align-items: center;gap: 4px;font-size: 0.72rem;padding: 2px 8px;border-radius: 4px;font-weight: 700;}
.sample-modal-badge.award{background: #fef3c7;color: #92400e;border: 1px solid #fde68a;}
html[data-theme="dark"] .sample-modal-badge.award{background: rgba(245, 158, 11, 0.18);color: #fde68a;border-color: rgba(245, 158, 11, 0.35);}
.sample-modal-badge.unlimited{background: #eff6ff;color: #1e40af;border: 1px solid #bfdbfe;}
html[data-theme="dark"] .sample-modal-badge.unlimited{background: rgba(59, 130, 246, 0.18);color: #93c5fd;border-color: rgba(59, 130, 246, 0.35);}
.sample-modal-badge.audible{background: #fff7ed;color: #c2410c;border: 1px solid #fed7aa;}
html[data-theme="dark"] .sample-modal-badge.audible{background: rgba(234, 88, 12, 0.18);color: #fdba74;border-color: rgba(234, 88, 12, 0.35);}
.sample-modal-store-grid{display: grid;grid-template-columns: repeat(4, 1fr);gap: 8px;margin-top: 14px;margin-bottom: 8px;}
@media (max-width: 600px){.sample-modal-store-grid{grid-template-columns: repeat(2, 1fr);gap: 14px 8px;}}
.sample-modal-store-chip{position: relative;background: var(--bg-card, #ffffff);border: 1.5px solid var(--border-color, #e2e8f0);border-radius: 8px;padding: 11px 6px 9px;display: flex;flex-direction: column;align-items: center;justify-content: center;text-align: center;cursor: pointer;transition: all 0.15s ease;text-decoration: none;color: inherit;min-height: 56px;box-sizing: border-box;}
.sample-modal-store-chip:hover{border-color: var(--accent-gold, #f59e0b);transform: translateY(-2px);box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);}
.sample-modal-store-chip.is-cheapest{border-color: #10b981;background: rgba(16, 185, 129, 0.07);}
html[data-theme="dark"] .sample-modal-store-chip.is-cheapest{background: rgba(16, 185, 129, 0.12);border-color: #059669;}
.chip-outer-cheapest-badge{position: absolute;top: -9px;left: 50%;transform: translateX(-50%);font-size: 0.60rem;font-weight: 800;color: #ffffff;background: #dc2626;padding: 1px 8px;border-radius: 9999px;line-height: 1.25;white-space: nowrap;letter-spacing: 0.3px;box-shadow: 0 2px 5px rgba(220, 38, 38, 0.35);z-index: 3;pointer-events: none;}
.sample-modal-desc-box{background: var(--bg-card, #ffffff);border: 1px solid var(--border-color, #e2e8f0);border-radius: 8px;padding: 12px 14px;font-size: 0.82rem;line-height: 1.65;color: var(--text-main, #334155);margin: 10px 0;}
.sample-modal-desc-box strong{color: var(--accent-gold-dark, #b45309);}
html[data-theme="dark"] .sample-modal-desc-box strong{color: #fbbf24;}
.sample-modal-btn-row{display: flex;gap: 10px;flex-wrap: wrap;margin-top: 14px;}
.sample-modal-btn{flex: 1;min-width: 170px;display: inline-flex;align-items: center;justify-content: center;gap: 8px;padding: 10px 16px;border-radius: 8px;font-size: 0.84rem;font-weight: 700;text-decoration: none;transition: all 0.15s ease;cursor: pointer;}
.sample-modal-btn.kindle-btn{background: #0284c7;color: #ffffff;border: 1px solid #0369a1;box-shadow: 0 2px 6px rgba(2, 132, 199, 0.25);}
.sample-modal-btn.kindle-btn:hover{background: #0369a1;transform: translateY(-1px);}
.sample-modal-btn.kobo-btn{background: #dc2626;color: #ffffff;border: 1px solid #b91c1c;box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25);}
.sample-modal-btn.kobo-btn:hover{background: #b91c1c;transform: translateY(-1px);}
.sample-modal-btn.ebook-btn{background: #e11d48;color: #ffffff;border: 1px solid #be123c;box-shadow: 0 2px 6px rgba(225, 29, 72, 0.25);}
.sample-modal-btn.ebook-btn:hover{background: #be123c;transform: translateY(-1px);}
.sample-modal-btn.dmm-btn{background: #059669;color: #ffffff;border: 1px solid #047857;box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);}
.sample-modal-btn.dmm-btn:hover{background: #047857;transform: translateY(-1px);}
.sample-modal-btn.close-btn{flex: 0 0 auto;min-width: 90px;background: var(--bg-card-sub, #f1f5f9);color: var(--text-main, #475569);border: 1px solid var(--border-color, #cbd5e1);}
.sample-modal-btn.close-btn:hover{background: var(--border-color, #cbd5e1);}
.sample-modal-btn.share-btn{flex: 0 0 auto;min-width: 120px;background: rgba(234, 88, 12, 0.1);color: #ea580c;border: 1px solid rgba(234, 88, 12, 0.35);cursor: pointer;display: inline-flex;align-items: center;justify-content: center;gap: 6px;font-weight: 700;transition: all 0.2s ease;}
.sample-modal-btn.share-btn:hover{background: linear-gradient(135deg, #ea580c, #f59e0b);color: #ffffff;border-color: transparent;box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);}
.sample-modal-btn.keep-btn:hover{background: #0284c7 !important;color: #ffffff !important;transform: translateY(-1px);}
.sample-modal-btn.alert-btn:hover{background: #ea580c !important;color: #ffffff !important;transform: translateY(-1px);}
.sample-author-link-btn:hover{color: #0369a1 !important;text-decoration-thickness: 2px !important;}
.sample-icon-btn{width: 38px;height: 38px;min-width: 38px;border-radius: 10px;display: inline-flex;align-items: center;justify-content: center;cursor: pointer;transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);padding: 0;box-sizing: border-box;outline: none;}
.sample-icon-btn:active{transform: scale(0.92);}
.sample-icon-btn.keep-icon-btn{background: #f5f3ff;border: 1.5px solid #c4b5fd;color: #8b5cf6;}
.sample-icon-btn.keep-icon-btn:hover{background: #ede9fe;border-color: #8b5cf6;transform: translateY(-1px);}
.sample-icon-btn.keep-icon-btn.is-active{background: #8b5cf6;border-color: #7c3aed;color: #ffffff;}
.sample-icon-btn.keep-icon-btn.is-active svg{fill: #ffffff !important;stroke: #ffffff !important;}
.sample-icon-btn.alert-icon-btn{background: #fffbeb;border: 1.5px solid #fde68a;color: #d97706;}
.sample-icon-btn.alert-icon-btn:hover{background: #fef3c7;border-color: #d97706;transform: translateY(-1px);}
.sample-icon-btn.share-icon-btn{background: #f0f9ff;border: 1.5px solid #bae6fd;color: #0284c7;}
.sample-icon-btn.share-icon-btn:hover{background: #e0f2fe;border-color: #0284c7;transform: translateY(-1px);}
.sample-modal-other-stores-row{display: flex;align-items: center;gap: 8px;flex-wrap: wrap;margin-top: 8px;font-size: 0.76rem;}
.sample-other-stores-label{color: var(--text-sub, #64748b);font-weight: 700;font-size: 0.74rem;white-space: nowrap;}
.sample-other-stores-pills{display: flex;gap: 6px;flex-wrap: wrap;align-items: center;}
.sample-other-store-pill{display: inline-flex;align-items: center;gap: 4px;padding: 4px 10px;border-radius: 999px;font-size: 0.72rem;font-weight: 600;text-decoration: none;background: var(--bg-card, #ffffff);border: 1px solid var(--border-color, #cbd5e1);color: var(--text-main, #334155);transition: all 0.15s ease;}
.sample-other-store-pill:hover{border-color: var(--accent-gold, #f59e0b);transform: translateY(-1px);box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);}
.sample-modal-actions-bar{display: flex;align-items: center;justify-content: space-between;flex-wrap: wrap;gap: 10px;margin-top: 12px;padding: 10px 14px;background: var(--bg-card, #ffffff);border: 1px solid var(--border-color, #e2e8f0);border-radius: 12px;}
.sample-modal-actions-left{display: flex;align-items: center;gap: 8px;flex-wrap: wrap;flex: 1;}
.sample-modal-actions-right{display: flex;align-items: center;gap: 8px;flex-shrink: 0;}
.sample-compact-read-btn{height: 38px;padding: 0 16px;display: inline-flex;align-items: center;gap: 6px;border-radius: 999px;font-size: 0.82rem;font-weight: 700;text-decoration: none;cursor: pointer;transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);white-space: nowrap;}
.sample-compact-read-btn:hover{transform: translateY(-1px);box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);}
.sample-compact-read-btn:active{transform: scale(0.96);}
.sample-compact-read-btn.kindle-btn{background: #0284c7;color: #ffffff;border: 1px solid #0369a1;}
.sample-compact-read-btn.kobo-btn{background: #dc2626;color: #ffffff;border: 1px solid #b91c1c;}
.sample-compact-read-btn.ebook-btn{background: #e11d48;color: #ffffff;border: 1px solid #be123c;}
.sample-compact-read-btn.dmm-btn{background: #059669;color: #ffffff;border: 1px solid #047857;}
.sample-compact-read-btn.bookwalker-btn{background: #1d4ed8;color: #ffffff;border: 1px solid #1e40af;}
.sample-compact-read-btn.free-special-btn{background: linear-gradient(135deg, #10b981 0%, #059669 100%);color: #ffffff;border: 1px solid #047857;box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);}
.sample-modal-bottom-close-btn{background: var(--bg-card-sub, #f1f5f9);color: var(--text-main, #475569);border: 1px solid var(--border-color, #cbd5e1);border-radius: 999px;padding: 7px 32px;font-size: 0.82rem;font-weight: 700;cursor: pointer;transition: all 0.15s ease;display: inline-flex;align-items: center;justify-content: center;}
.sample-modal-bottom-close-btn:hover{background: var(--border-color, #cbd5e1);color: var(--text-main, #1e293b);transform: translateY(-1px);}
html[data-theme="dark"] .sample-modal-actions-bar{background: #1e293b;border-color: #334155;}
html[data-theme="dark"] .sample-modal-bottom-close-btn{background: #334155;color: #f1f5f9;border-color: #475569;}
html[data-theme="dark"] .sample-modal-bottom-close-btn:hover{background: #475569;}
.award-showcase-container{background: #151a24;border: 1px solid #283447;border-radius: 10px;padding: 16px 18px;margin-bottom: 22px;box-shadow: 0 4px 12px rgba(0,0,0,0.25);transition: border-color 0.2s, background 0.2s;}
.award-showcase-header{display: flex;justify-content: space-between;align-items: center;flex-wrap: wrap;gap: 8px;margin-bottom: 12px;border-bottom: 1px solid #232c3d;padding-bottom: 8px;cursor: pointer;user-select: none;}
.award-title-wrap{display: flex;align-items: center;gap: 8px;flex-wrap: wrap;}
.btn-award-toggle{background: #20293a;border: 1px solid #36445c;color: #cbd5e1;padding: 5px 12px;border-radius: 6px;font-size: 0.76rem;font-weight: 700;cursor: pointer;display: inline-flex;align-items: center;gap: 6px;transition: all 0.2s;}
.btn-award-toggle:hover{background: #2a374d;color: #fff;border-color: #60a5fa;}
.btn-award-toggle.collapsed{background: #1e3a5f;border-color: #38bdf8;color: #e0f2fe;}
.award-tag-pill{background: linear-gradient(135deg, #f59e0b, #d97706);color: #111;font-size: 0.7rem;font-weight: 900;padding: 2px 8px;border-radius: 4px;display: inline-flex;align-items: center;gap: 4px;}
.award-showcase-title{font-size: 1.05rem;font-weight: 700;color: #fff;}
.award-summary-pill{background: rgba(245, 158, 11, 0.15);border: 1px solid rgba(245, 158, 11, 0.4);color: #fde68a;font-size: 0.74rem;font-weight: 700;padding: 4px 10px;border-radius: 6px;}
.award-desc-bar{font-size: 0.76rem;color: var(--text-sub);margin-bottom: 10px;}
.award-genre-bar{display: flex;align-items: center;gap: 6px;margin-bottom: 8px;overflow-x: auto;padding: 6px 10px;background: var(--bg-card-sub);border: 1px solid var(--border-color);border-radius: 10px;scrollbar-width: none;-webkit-overflow-scrolling: touch;white-space: nowrap;}
.award-genre-bar::-webkit-scrollbar{display: none;}
.award-genre-btn{display: inline-flex;align-items: center;gap: 4px;padding: 4px 10px;border-radius: 999px;font-size: 0.74rem;font-weight: 700;color: var(--text-sub);background: var(--bg-card);border: 1px solid var(--border-color);cursor: pointer;transition: all 0.15s ease;white-space: nowrap;flex-shrink: 0;}
.award-genre-btn:hover{color: var(--text-main);border-color: #f59e0b;}
.award-genre-btn.active{background: #f59e0b;color: #111;border-color: #f59e0b;font-weight: 800;box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25);}
.award-cat-btn[data-hidden="true"]{display: none !important;}
.youtube-hero-box{background: transparent;border: none;padding: 0;margin-bottom: 14px;text-align: left;}
.yt-hero-title-row{display: flex;align-items: center;justify-content: space-between;gap: 12px;margin-bottom: 6px;flex-wrap: wrap;}
.yt-hero-title{font-size: 1.25rem;font-weight: 900;color: var(--text-main);margin: 0;display: inline-flex;align-items: center;gap: 8px;}
.yt-hero-desc{font-size: 0.82rem;color: var(--text-sub);line-height: 1.5;margin: 0;}
.curator-books-shelf{background: var(--bg-card);border: 1.5px solid rgba(245, 158, 11, 0.4);border-radius: 12px;padding: 12px 14px;margin-bottom: 14px;box-shadow: 0 4px 14px rgba(245, 158, 11, 0.08);}
.curator-shelf-header{display: flex;align-items: center;justify-content: space-between;gap: 8px;margin-bottom: 10px;padding-bottom: 8px;border-bottom: 1px solid var(--border-color);flex-wrap: wrap;}
.curator-shelf-title{font-size: 0.88rem;font-weight: 800;color: #f59e0b;display: inline-flex;align-items: center;gap: 6px;}
.curator-shelf-scroll{display: flex;gap: 12px;overflow-x: auto;padding-bottom: 4px;scrollbar-width: none;-webkit-overflow-scrolling: touch;}
.curator-shelf-scroll::-webkit-scrollbar{display: none;}
.curator-book-card{flex: 0 0 210px;background: var(--bg-card-sub);border: 1px solid var(--border-color);border-radius: 8px;padding: 8px;display: flex;gap: 8px;align-items: center;transition: all 0.2s ease;}
.curator-book-card:hover{border-color: #f59e0b;transform: translateY(-2px);}
.youtube-filter-section{margin-bottom: 16px;display: flex;flex-direction: column;gap: 8px;}
.yt-axis-toggle-bar{display: flex;align-items: center;gap: 6px;padding: 6px 10px;background: var(--bg-card-sub);border: 1px solid var(--border-color);border-radius: 10px;overflow-x: auto;white-space: nowrap;scrollbar-width: none;}
.yt-filter-label{font-size: 0.74rem;font-weight: 800;color: var(--text-sub);flex-shrink: 0;margin-right: 4px;}
.yt-axis-btn{display: inline-flex;align-items: center;gap: 4px;padding: 5px 12px;border-radius: 999px;font-size: 0.75rem;font-weight: 700;color: var(--text-sub);background: var(--bg-card);border: 1px solid var(--border-color);cursor: pointer;transition: all 0.15s ease;white-space: nowrap;flex-shrink: 0;}
.yt-axis-btn:hover{color: var(--text-main);border-color: #ef4444;}
.yt-axis-btn.active{background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);color: #fff;border-color: #ef4444;font-weight: 800;box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);}
.yt-pills-bar{display: flex;align-items: center;gap: 6px;overflow-x: auto;padding-bottom: 4px;scrollbar-width: none;-webkit-overflow-scrolling: touch;white-space: nowrap;}
.yt-pills-bar::-webkit-scrollbar{display: none;}
.yt-pill-btn{display: inline-flex;align-items: center;gap: 5px;background: var(--bg-card);border: 1px solid var(--border-color);color: var(--text-sub);padding: 5px 12px;border-radius: 20px;font-size: 0.76rem;font-weight: 700;cursor: pointer;white-space: nowrap;transition: all 0.15s ease;}
.yt-pill-btn:hover{border-color: #ef4444;color: var(--text-main);}
.yt-pill-btn.active{background: rgba(239, 68, 68, 0.12);border-color: #ef4444;color: #ef4444;font-weight: 800;}
.yt-timeline-archive-bar{display: flex;align-items: center;gap: 6px;padding: 6px 10px;background: var(--bg-card-sub);border: 1px solid var(--border-color);border-radius: 8px;overflow-x: auto;white-space: nowrap;scrollbar-width: none;}
.youtube-timeline-container{display: flex;flex-direction: column;gap: 16px;}
.yt-card{background: var(--bg-card);border: 1px solid var(--border-color);border-radius: 12px;padding: 16px;box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);transition: all 0.2s ease;display: flex;flex-direction: column;gap: 12px;}
.yt-card:hover{border-color: rgba(239, 68, 68, 0.4);box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);}
.yt-card-top-row{display: flex;align-items: center;justify-content: space-between;gap: 8px;flex-wrap: wrap;}
.yt-channel-badge{display: inline-flex;align-items: center;gap: 5px;background: rgba(239, 68, 68, 0.1);color: #ef4444;padding: 3px 8px;border-radius: 6px;font-size: 0.74rem;font-weight: 800;}
.yt-date-tag{font-size: 0.72rem;color: var(--text-muted);font-weight: 700;}
.yt-video-title-link{font-size: 0.96rem;font-weight: 800;color: var(--text-main);text-decoration: none;line-height: 1.4;display: block;}
.yt-video-title-link:hover{color: #ef4444;text-decoration: underline;}
.yt-book-info-row{display: flex;gap: 14px;align-items: flex-start;}
.yt-book-cover{width: 72px;height: 104px;object-fit: cover;border-radius: 6px;box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);flex-shrink: 0;}
.yt-book-meta{flex: 1;min-width: 0;}
.yt-book-title{font-size: 1rem;font-weight: 900;color: var(--text-main);margin: 0 0 4px;line-height: 1.35;}
.yt-book-author{font-size: 0.78rem;color: var(--text-sub);margin-bottom: 4px;}
.yt-book-price-line{font-size: 0.74rem;color: var(--text-muted);margin-bottom: 6px;}
.yt-summary-box{background: rgba(239, 68, 68, 0.04);border-left: 3px solid #ef4444;border-radius: 0 8px 8px 0;padding: 10px 12px;display: flex;flex-direction: column;gap: 4px;}
.yt-summary-heading{font-size: 0.72rem;font-weight: 800;color: #ef4444;margin-bottom: 2px;display: flex;align-items: center;gap: 4px;}
.yt-summary-line{font-size: 0.78rem;color: var(--text-main);line-height: 1.45;}
.yt-price-mini-table{width: 100%;border-collapse: collapse;margin: 4px 0;}
.yt-price-mini-table th, .yt-price-mini-table td{padding: 6px 8px;text-align: center;font-size: 0.74rem;border: 1px solid var(--border-color);}
.yt-price-mini-table th{background: var(--bg-card-sub);color: var(--text-sub);font-weight: 700;}
.yt-price-mini-table td.is-best{background: rgba(16, 185, 129, 0.08);color: #10b981;font-weight: 900;}
.yt-card-actions{display: flex;align-items: center;gap: 8px;flex-wrap: wrap;margin-top: 4px;}
.yt-video-btn{display: inline-flex;align-items: center;justify-content: center;gap: 6px;padding: 8px 14px;border-radius: 8px;font-size: 0.8rem;font-weight: 800;background: #ef4444;color: #ffffff !important;text-decoration: none;transition: all 0.15s ease;cursor: pointer;border: none;flex: 1 1 200px;}
.yt-video-btn:hover{background: #dc2626;box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);}
.yt-sim-btn{display: inline-flex;align-items: center;justify-content: center;gap: 6px;padding: 8px 14px;border-radius: 8px;font-size: 0.8rem;font-weight: 800;background: var(--bg-card-sub);color: var(--text-main);border: 1px solid var(--border-color);cursor: pointer;transition: all 0.15s ease;flex: 1 1 180px;}
.yt-sim-btn:hover{border-color: #f59e0b;color: #f59e0b;}
.media-hero-box{background: linear-gradient(135deg, rgba(249, 115, 22, 0.09) 0%, rgba(234, 88, 12, 0.03) 100%);border: 1px solid rgba(249, 115, 22, 0.28);border-radius: 14px;padding: 16px 20px;margin-bottom: 14px;}
.media-hero-title-row{display: flex;align-items: center;justify-content: space-between;gap: 12px;margin-bottom: 6px;flex-wrap: wrap;}
.media-hero-title{font-size: 1.22rem;font-weight: 900;color: var(--text-main);margin: 0;display: inline-flex;align-items: center;gap: 8px;}
.media-hero-desc{font-size: 0.82rem;color: var(--text-sub);line-height: 1.5;margin: 0;}
.media-filter-section{margin-bottom: 16px;display: flex;flex-direction: column;gap: 8px;}
.media-axis-bar{display: flex;align-items: center;gap: 6px;padding: 6px 10px;background: var(--bg-card-sub);border: 1px solid var(--border-color);border-radius: 10px;overflow-x: auto;white-space: nowrap;scrollbar-width: none;}
.media-filter-label{font-size: 0.74rem;font-weight: 800;color: var(--text-sub);flex-shrink: 0;margin-right: 4px;}
.media-axis-btn{display: inline-flex;align-items: center;gap: 4px;padding: 5px 12px;border-radius: 999px;font-size: 0.75rem;font-weight: 700;color: var(--text-sub);background: var(--bg-card);border: 1px solid var(--border-color);cursor: pointer;transition: all 0.15s ease;white-space: nowrap;flex-shrink: 0;}
.media-axis-btn:hover{color: var(--text-main);border-color: #f97316;}
.media-axis-btn.active{background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);color: #fff;border-color: #f97316;font-weight: 800;box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);}
.media-status-bar{display: flex;align-items: center;gap: 6px;overflow-x: auto;padding: 6px 10px;background: var(--bg-card-sub);border: 1px solid var(--border-color);border-radius: 8px;scrollbar-width: none;-webkit-overflow-scrolling: touch;white-space: nowrap;}
.media-works-grid{display: grid;grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));gap: 16px;}
.media-work-card{background: var(--bg-card);border: 1px solid var(--border-color);border-radius: 12px;padding: 16px;display: flex;flex-direction: column;justify-content: space-between;box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);transition: all 0.2s ease;}
.media-work-card:hover{border-color: rgba(249, 115, 22, 0.45);box-shadow: 0 6px 18px rgba(0, 0, 0, 0.09);}
.media-card-top-row{display: flex;align-items: center;justify-content: space-between;gap: 8px;margin-bottom: 10px;flex-wrap: wrap;}
.media-badge-tag{display: inline-flex;align-items: center;gap: 4px;padding: 3px 8px;border-radius: 6px;font-size: 0.72rem;font-weight: 800;}
.media-badge-tag.anime{background: rgba(249, 115, 22, 0.12);color: #f97316;border: 1px solid rgba(249, 115, 22, 0.3);}
.media-badge-tag.drama{background: rgba(168, 85, 247, 0.12);color: #a855f7;border: 1px solid rgba(168, 85, 247, 0.3);}
.media-badge-tag.movie{background: rgba(14, 165, 233, 0.12);color: #0ea5e9;border: 1px solid rgba(14, 165, 233, 0.3);}
.media-badge-tag.stage{background: rgba(236, 72, 153, 0.12);color: #ec4899;border: 1px solid rgba(236, 72, 153, 0.3);}
.media-free-pill{display: inline-flex;align-items: center;gap: 4px;background: linear-gradient(135deg, #10b981 0%, #059669 100%);color: #ffffff !important;font-size: 0.7rem;font-weight: 800;padding: 3px 8px;border-radius: 6px;cursor: pointer;text-decoration: none;box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);transition: all 0.15s ease;}
.media-free-pill:hover{transform: translateY(-1px);box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);}
.media-book-row{display: flex;gap: 12px;margin-bottom: 12px;}
.media-book-cover{width: 76px;height: 110px;object-fit: cover;border-radius: 6px;box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);flex-shrink: 0;cursor: pointer;}
.media-book-info{flex: 1;min-width: 0;}
.media-book-title{font-size: 0.98rem;font-weight: 800;color: var(--text-main);margin: 0 0 4px;line-height: 1.35;cursor: pointer;}
.media-book-author{font-size: 0.74rem;color: var(--text-sub);margin-bottom: 4px;}
.media-book-vols{font-size: 0.72rem;color: var(--text-muted);margin-bottom: 6px;}
.media-catchphrase-box{font-size: 0.74rem;color: var(--text-sub);line-height: 1.45;background: var(--bg-card-sub);border-left: 3px solid #f97316;border-radius: 0 6px 6px 0;padding: 6px 8px;margin-bottom: 8px;}
.btn-media-bulk-buy{width: 100%;display: flex;align-items: center;justify-content: center;gap: 6px;background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);color: #ffffff !important;border: none;border-radius: 8px;padding: 9px 12px;font-size: 0.84rem;font-weight: 800;cursor: pointer;box-shadow: 0 3px 10px rgba(249, 115, 22, 0.28);transition: all 0.15s ease;margin-bottom: 8px;}
.btn-media-bulk-buy:hover{background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);box-shadow: 0 5px 14px rgba(249, 115, 22, 0.4);transform: translateY(-1px);}
.reader-hero-box{background: linear-gradient(135deg, rgba(99, 102, 241, 0.09) 0%, rgba(79, 70, 229, 0.03) 100%);border: 1px solid rgba(99, 102, 241, 0.28);border-radius: 14px;padding: 16px 20px;margin-bottom: 16px;}
.reader-hero-title-row{display: flex;align-items: center;justify-content: space-between;gap: 12px;margin-bottom: 6px;flex-wrap: wrap;}
.reader-hero-title{font-size: 1.22rem;font-weight: 900;color: var(--text-main);margin: 0;display: inline-flex;align-items: center;gap: 8px;}
.reader-hero-desc{font-size: 0.82rem;color: var(--text-sub);line-height: 1.5;margin: 0;}
.reader-api-status-badge{display: inline-flex;align-items: center;gap: 5px;background: rgba(16, 185, 129, 0.1);border: 1px solid rgba(16, 185, 129, 0.3);color: #10b981;padding: 3px 8px;border-radius: 999px;font-size: 0.7rem;font-weight: 700;}
.api-live-dot{width: 6px;height: 6px;border-radius: 50%;background: #10b981;box-shadow: 0 0 6px #10b981;}
.reader-section-header{display: flex;align-items: center;justify-content: space-between;gap: 8px;margin-bottom: 12px;flex-wrap: wrap;}
.reader-section-title{font-size: 0.95rem;font-weight: 800;color: var(--text-main);display: inline-flex;align-items: center;gap: 6px;}
.reader-positioning-section{background: var(--bg-card);border: 1px solid var(--border-color);border-radius: 14px;padding: 18px 20px;margin-bottom: 24px;box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);}
.reader-map-canvas-wrap{position: relative;width: 100%;overflow-x: auto;-webkit-overflow-scrolling: touch;padding: 6px 0 12px;scrollbar-width: thin;}
.reader-map-canvas{position: relative;width: 100%;min-width: 680px;height: 520px;background: var(--bg-card-sub);border: 1.5px solid var(--border-color);border-radius: 14px;background-image: radial-gradient(var(--border-color) 1.2px, transparent 1.2px);background-size: 28px 28px;overflow: hidden;box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.04);}
.map-axis-y{position: absolute;left: 50%;top: 40px;bottom: 40px;width: 2px;background: #64748b;transform: translateX(-50%);z-index: 3;}
.map-axis-x{position: absolute;top: 50%;left: 40px;right: 40px;height: 2px;background: #64748b;transform: translateY(-50%);z-index: 3;}
.map-label-top, .map-label-bottom, .map-label-left, .map-label-right{position: absolute;z-index: 6;font-size: 0.78rem;font-weight: 800;background: var(--bg-card);padding: 4px 14px;border-radius: 999px;border: 1.5px solid var(--border-color);color: var(--text-main);box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);white-space: nowrap;user-select: none;}
.map-label-top{top: 10px;left: 50%;transform: translateX(-50%);}
.map-label-bottom{bottom: 10px;left: 50%;transform: translateX(-50%);}
.map-label-left{left: 10px;top: 50%;transform: translateY(-50%);}
.map-label-right{right: 10px;top: 50%;transform: translateY(-50%);}
.map-quadrant-bubble{position: absolute;pointer-events: none;z-index: 2;user-select: none;transition: all 0.3s ease;}
.map-bubble-rim-badge{position: absolute;display: inline-flex;align-items: center;gap: 6px;padding: 5px 14px;border-radius: 10px;font-size: 0.75rem;font-weight: 800;white-space: nowrap;user-select: none;box-shadow: 0 3px 10px rgba(0, 0, 0, 0.10);pointer-events: auto;letter-spacing: 0.02em;z-index: 28;}
.q1-bubble{top: 10px;left: 12px;width: calc(50% - 24px);height: calc(50% - 24px);background: rgba(245, 158, 11, 0.045);border: 1.5px dashed rgba(245, 158, 11, 0.35);border-radius: 18px;}
.q1-badge{top: 8px;left: 10px;border: 1.5px solid #d97706;color: #b45309;background: #fffbeb;}
html[data-theme="dark"] .q1-badge{background: #251b0e;color: #fbbf24;border-color: #f59e0b;}
.q2-bubble{top: 10px;right: 12px;width: calc(50% - 24px);height: calc(50% - 24px);background: rgba(56, 189, 248, 0.045);border: 1.5px dashed rgba(56, 189, 248, 0.35);border-radius: 18px;}
.q2-badge{top: 8px;right: 10px;border: 1.5px solid #0284c7;color: #0284c7;background: #f0f9ff;}
html[data-theme="dark"] .q2-badge{background: #0f1d2b;color: #38bdf8;border-color: #0284c7;}
.q3-bubble{bottom: 10px;left: 12px;width: calc(50% - 24px);height: calc(50% - 24px);background: rgba(168, 85, 247, 0.045);border: 1.5px dashed rgba(168, 85, 247, 0.35);border-radius: 18px;}
.q3-badge{bottom: 8px;left: 10px;border: 1.5px solid #9333ea;color: #9333ea;background: #faf5ff;}
html[data-theme="dark"] .q3-badge{background: #221230;color: #c084fc;border-color: #9333ea;}
.q4-bubble{bottom: 10px;right: 12px;width: calc(50% - 24px);height: calc(50% - 24px);background: rgba(239, 68, 68, 0.045);border: 1.5px dashed rgba(239, 68, 68, 0.35);border-radius: 18px;}
.q4-badge{bottom: 8px;right: 10px;border: 1.5px solid #dc2626;color: #dc2626;background: #fef2f2;}
html[data-theme="dark"] .q4-badge{background: #2c1215;color: #f87171;border-color: #dc2626;}
.map-nodes-layer{position: absolute;inset: 0;pointer-events: none;z-index: 30;}
.hkb-map-pin{position: absolute;transform: translate(-50%, -50%);display: inline-flex;align-items: center;gap: 5px;padding: 4px 9px;border-radius: 999px;background: rgba(255, 255, 255, 0.96);border: 1.8px solid #cbd5e1;box-shadow: 0 2px 8px rgba(15, 23, 42, 0.10);font-size: 0.70rem;font-weight: 800;color: #1e293b;white-space: nowrap;cursor: pointer !important;pointer-events: auto !important;z-index: 35;transition: transform 0.15s ease, box-shadow 0.15s ease;user-select: none;}
.hkb-map-pin:hover{transform: translate(-50%, -50%) scale(1.15) !important;z-index: 110 !important;box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25) !important;border-color: #6366f1 !important;}
.hkb-map-pin.selected-a{border: 2.2px solid #4f46e5 !important;background: #eef2ff !important;color: #312e81 !important;box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.35) !important;z-index: 45;}
.hkb-map-pin.selected-b{border: 2.2px solid #ea580c !important;background: #fff7ed !important;color: #9a3412 !important;box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.35) !important;z-index: 45;}
.hkb-map-pin-popover{position: absolute;z-index: 120;pointer-events: auto !important;background: #ffffff;border: 2px solid #4f46e5;border-radius: 14px;padding: 12px 14px;width: 250px;box-shadow: 0 12px 28px rgba(15, 23, 42, 0.24);animation: hkbFadeIn 0.16s ease;}
.map-device-node{position: absolute;transform: translate(-50%, -50%);pointer-events: auto;cursor: pointer;transition: left 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), top 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.22s ease, box-shadow 0.22s ease;user-select: none;z-index: 35;}
.map-node-pill{display: inline-flex;align-items: center;gap: 7px;padding: 6px 13px;border-radius: 999px;background: var(--bg-card);border: 1.5px solid var(--border-color);box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);font-size: 0.78rem;font-weight: 800;color: var(--text-main);white-space: nowrap;transition: all 0.2s ease;}
.map-device-node:hover{transform: translate(-50%, -50%) scale(1.08);z-index: 110;}
.map-device-node:hover .map-node-pill{border-color: #6366f1;box-shadow: 0 8px 24px rgba(99, 102, 241, 0.28);}
.map-brand-dot{width: 8px;height: 8px;border-radius: 50%;flex-shrink: 0;}
.map-brand-dot.amazon{background: #ff9900;}
.map-brand-dot.rakuten{background: #bf0000;}
.map-brand-dot.apple{background: #64748b;}
.map-brand-dot.onyxboox{background: #0284c7;}
.map-brand-dot.alldocube{background: #06b6d4;}
.map-brand-dot.xiaomi{background: #ff6700;}
.map-node-price{font-size: 0.70rem;font-weight: 700;color: var(--text-muted);background: var(--bg-card-sub);padding: 1px 6px;border-radius: 6px;}
.map-node-price.is-sale{color: #ef4444;background: rgba(239, 68, 68, 0.12);font-weight: 800;}
.map-node-slot-tag{display: inline-flex;align-items: center;justify-content: center;font-size: 0.65rem;font-weight: 900;color: #fff;padding: 1px 7px;border-radius: 999px;line-height: 1.2;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);}
.map-node-slot-tag.slot-a{background: #4f46e5;}
.map-node-slot-tag.slot-b{background: #ea580c;}
.map-node-slot-tag.slot-both{background: linear-gradient(90deg, #4f46e5, #ea580c);}
.map-device-node.is-selected-a .map-node-pill{border-color: #4f46e5 !important;border-width: 2px !important;box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.35), 0 6px 20px rgba(79, 70, 229, 0.3) !important;background: rgba(79, 70, 229, 0.06);}
.map-device-node.is-selected-b .map-node-pill{border-color: #ea580c !important;border-width: 2px !important;box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.35), 0 6px 20px rgba(234, 88, 12, 0.3) !important;background: rgba(234, 88, 12, 0.06);}
.map-device-node.is-selected-both .map-node-pill{border-color: #8b5cf6 !important;border-width: 2px !important;box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.35), 0 6px 20px rgba(139, 92, 246, 0.3) !important;background: rgba(139, 92, 246, 0.06);}
.reader-map-mode-bar{display: flex;align-items: center;gap: 10px;flex-wrap: wrap;margin-bottom: 12px;padding: 10px 14px;background: var(--bg-card-sub);border: 1.5px solid var(--border-color);border-radius: 12px;}
.reader-map-mode-label{font-size: 0.74rem;font-weight: 800;color: var(--text-muted);flex-shrink: 0;}
.reader-map-mode-pills{display: flex;gap: 6px;flex-wrap: wrap;}
.reader-mode-pill{font-size: 0.74rem;font-weight: 700;padding: 5px 12px;border-radius: 999px;border: 1.5px solid var(--border-color);background: var(--bg-card);color: var(--text-sub);cursor: pointer;transition: all 0.2s ease;white-space: nowrap;}
.reader-mode-pill:hover{border-color: #6366f1;color: #6366f1;}
.reader-mode-pill.active{background: #6366f1;border-color: #6366f1;color: #ffffff;font-weight: 800;box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);}
.reader-map-custom-axes{display: flex;gap: 16px;flex-wrap: wrap;align-items: center;padding: 10px 14px;margin-bottom: 12px;background: rgba(99, 102, 241, 0.05);border: 1px dashed rgba(99, 102, 241, 0.35);border-radius: 10px;}
.custom-axis-select-item{display: flex;align-items: center;gap: 8px;}
.custom-axis-select-item label{font-size: 0.74rem;font-weight: 800;color: #4f46e5;white-space: nowrap;}
.reader-axis-dropdown{font-size: 0.74rem;font-weight: 700;padding: 5px 10px;border-radius: 8px;border: 1.5px solid var(--border-color);background: var(--bg-card);color: var(--text-main);cursor: pointer;}
.map-quick-modal-overlay{position: fixed;inset: 0;background: rgba(0, 0, 0, 0.55);z-index: 9999;display: flex;align-items: center;justify-content: center;padding: 16px;backdrop-filter: blur(4px);-webkit-backdrop-filter: blur(4px);}
.map-quick-modal-card{background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 14px;padding: 20px;max-width: 380px;width: 100%;box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);animation: popQuickModal 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);}
@keyframes popQuickModal{from{transform: scale(0.92);opacity: 0;}to{transform: scale(1);opacity: 1;}}
.reader-compare-section{background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 14px;padding: 20px;margin-bottom: 24px;box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);}
.compare-preset-bar{display: flex;align-items: center;gap: 10px;margin-bottom: 16px;flex-wrap: wrap;}
.compare-preset-pills{display: flex;align-items: center;gap: 6px;flex-wrap: wrap;}
.compare-preset-pill{padding: 5px 12px;font-size: 0.74rem;font-weight: 700;border-radius: 999px;background: var(--bg-card-sub);border: 1px solid var(--border-color);color: var(--text-sub);cursor: pointer;transition: all 0.16s ease;}
.compare-preset-pill:hover{border-color: #6366f1;color: #6366f1;background: rgba(99, 102, 241, 0.08);transform: translateY(-1px);}
.compare-selector-bar{display: grid;grid-template-columns: 1fr 140px 1fr;gap: 16px;align-items: end;padding: 16px 20px;background: var(--bg-card-sub);border: 1.5px solid var(--border-color);border-radius: 14px;margin-bottom: 20px;box-sizing: border-box;width: 100%;}
.compare-select-slot{display: flex;flex-direction: column;gap: 5px;min-width: 0;width: 100%;}
.compare-select-label{font-size: 0.76rem;font-weight: 800;display: inline-flex;align-items: center;gap: 6px;}
.compare-select-label.a{color: #4f46e5;}
.compare-select-label.b{color: #ea580c;}
.slot-badge{display: inline-flex;align-items: center;justify-content: center;width: 18px;height: 18px;border-radius: 50%;color: #fff;font-size: 0.68rem;font-weight: 900;}
.slot-badge.a{background: #4f46e5;}
.slot-badge.b{background: #ea580c;}
.compare-dropdown{width: 100%;padding: 8px 12px;border-radius: 8px;font-size: 0.82rem;font-weight: 700;background: var(--bg-card);color: var(--text-main);border: 1.5px solid var(--border-color);cursor: pointer;transition: border-color 0.15s ease;box-sizing: border-box;}
.compare-dropdown:focus{outline: none;border-color: #6366f1;}
.compare-swap-btn-wrap{display: flex;flex-direction: column;align-items: center;justify-content: flex-end;width: 100%;}
.compare-swap-btn{display: inline-flex;align-items: center;justify-content: center;gap: 6px;width: 100%;max-width: 120px;height: 38px;padding: 0 10px;border-radius: 999px;background: var(--bg-card);border: 1.5px solid var(--border-color);color: var(--text-main);font-weight: 800;font-size: 0.78rem;cursor: pointer;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);transition: all 0.2s ease;margin: 0 auto;box-sizing: border-box;}
.compare-swap-btn:hover{transform: scale(1.04);border-color: #6366f1;color: #6366f1;background: rgba(99, 102, 241, 0.06);}
.compare-columns-grid{display: grid;grid-template-columns: 1fr 140px 1fr;gap: 16px;margin-bottom: 20px;align-items: stretch;width: 100%;box-sizing: border-box;}
.compare-center-spec-summary{display: flex;flex-direction: column;align-items: center;justify-content: flex-start;gap: 8px;padding: 14px 6px;background: var(--bg-card-sub);border: 1.5px solid #cbd5e1;border-radius: 12px;text-align: center;box-sizing: border-box;width: 100%;min-width: 0;}
html[data-theme="dark"] .compare-center-spec-summary{border-color: #334155;}
.compare-center-header{display: flex;flex-direction: column;align-items: center;gap: 4px;margin-bottom: 4px;width: 100%;}
.compare-vs-badge{display: inline-flex;align-items: center;justify-content: center;width: 38px;height: 38px;border-radius: 50%;background: linear-gradient(135deg, #4f46e5, #ea580c);color: #ffffff;font-size: 0.86rem;font-weight: 900;box-shadow: 0 4px 10px rgba(79, 70, 229, 0.25);letter-spacing: -0.02em;}
.compare-center-title{font-size: 0.68rem;font-weight: 800;color: var(--text-muted);letter-spacing: 0.03em;}
.compare-center-specs-list{display: flex;flex-direction: column;gap: 6px;width: 100%;flex: 1;}
.compare-center-spec-item{display: flex;flex-direction: column;align-items: center;background: var(--bg-card);border: 1px solid var(--border-color);border-radius: 8px;padding: 6px 4px;gap: 3px;box-sizing: border-box;transition: all 0.15s ease;}
.compare-center-spec-item.winner-a{border-color: rgba(79, 70, 229, 0.45);background: linear-gradient(to right, rgba(79, 70, 229, 0.06), var(--bg-card));}
.compare-center-spec-item.winner-b{border-color: rgba(234, 88, 12, 0.45);background: linear-gradient(to left, rgba(234, 88, 12, 0.06), var(--bg-card));}
.compare-center-spec-label{color: var(--text-muted);font-size: 0.63rem;font-weight: 700;}
.compare-center-spec-diff{color: var(--text-main);font-size: 0.70rem;font-weight: 800;line-height: 1.25;word-break: break-word;}
.spec-win-badge{font-size: 0.61rem;font-weight: 900;padding: 1.5px 6px;border-radius: 999px;display: inline-flex;align-items: center;gap: 3px;line-height: 1.2;letter-spacing: -0.01em;}
.spec-win-badge.win-a{background: rgba(79, 70, 229, 0.12);color: #4338ca;border: 1px solid rgba(79, 70, 229, 0.3);}
.spec-win-badge.win-b{background: rgba(234, 88, 12, 0.12);color: #c2410c;border: 1px solid rgba(234, 88, 12, 0.3);}
.spec-win-badge.win-tie{background: rgba(0, 0, 0, 0.04);color: var(--text-muted);border: 1px solid var(--border-color);}
html[data-theme="dark"] .spec-win-badge.win-a{background: rgba(99, 102, 241, 0.2);color: #a5b4fc;border-color: rgba(99, 102, 241, 0.4);}
html[data-theme="dark"] .spec-win-badge.win-b{background: rgba(234, 88, 12, 0.2);color: #fdba74;border-color: rgba(234, 88, 12, 0.4);}
.compare-score-pill{display: inline-flex;align-items: center;gap: 4px;padding: 2px 8px;border-radius: 999px;font-size: 0.65rem;font-weight: 800;background: rgba(0, 0, 0, 0.05);color: var(--text-main);border: 1px solid var(--border-color);margin-top: 2px;}
html[data-theme="dark"] .compare-score-pill{background: rgba(255, 255, 255, 0.06);}
.compare-center-scroll-btn{font-size: 0.68rem;font-weight: 800;color: #4f46e5;background: rgba(79, 70, 229, 0.08);border: 1px solid rgba(79, 70, 229, 0.25);border-radius: 999px;cursor: pointer;display: inline-flex;align-items: center;justify-content: center;gap: 3px;padding: 5px 6px;margin-top: 6px;width: 100%;box-sizing: border-box;transition: all 0.15s ease;}
.compare-center-scroll-btn:hover{background: #4f46e5;color: #ffffff;}
@media (max-width: 768px){.compare-selector-bar{grid-template-columns: 1fr auto 1fr;gap: 8px;padding: 10px 10px;}.compare-select-slot{min-width: 0;}.compare-dropdown{font-size: 0.76rem;padding: 6px 6px;border-radius: 8px;}.compare-swap-btn{width: 34px;height: 34px;min-width: 34px;max-width: 34px;padding: 0;}.compare-swap-btn span{display: none;}.compare-columns-grid{grid-template-columns: 1fr;gap: 12px;}.compare-center-spec-summary{order: 1;padding: 12px 10px;}.compare-center-specs-list{display: grid;grid-template-columns: repeat(2, 1fr);gap: 6px;}.compare-card.card-a{order: 2;padding: 14px 12px;}.compare-card.card-b{order: 3;padding: 14px 12px;}}
@media (max-width: 480px){.compare-selector-bar{padding: 8px 8px;gap: 6px;}.compare-dropdown{font-size: 0.72rem;padding: 5px 4px;}.compare-center-specs-list{grid-template-columns: repeat(2, 1fr);gap: 5px;}.compare-center-spec-item{padding: 5px 3px;}.compare-spec-table{min-width: 520px;}}
.compare-card{background: var(--bg-card-sub);border: 1.5px solid #cbd5e1;border-radius: 12px;padding: 18px;display: flex;flex-direction: column;justify-content: space-between;box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);}
.compare-card.card-a{border: 1.5px solid rgba(79, 70, 229, 0.35);border-top: 4px solid #4f46e5;}
.compare-card.card-b{border: 1.5px solid rgba(234, 88, 12, 0.35);border-top: 4px solid #ea580c;}
html[data-theme="dark"] .compare-card{border-color: #334155;box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);}
html[data-theme="dark"] .compare-card.card-a{border-color: rgba(99, 102, 241, 0.45);border-top: 4px solid #6366f1;}
html[data-theme="dark"] .compare-card.card-b{border-color: rgba(234, 88, 12, 0.45);border-top: 4px solid #ea580c;}
.compare-card-badge-row{display: flex;align-items: center;justify-content: space-between;margin-bottom: 8px;}
.compare-slot-tag{font-size: 0.70rem;font-weight: 900;color: #fff;padding: 2px 9px;border-radius: 999px;}
.compare-slot-tag.slot-a{background: #4f46e5;}
.compare-slot-tag.slot-b{background: #ea580c;}
.compare-type-tag{font-size: 0.68rem;font-weight: 700;color: var(--text-muted);background: var(--bg-card);padding: 2px 8px;border-radius: 6px;border: 1px solid var(--border-color);}
.compare-device-title{font-size: 1.15rem;font-weight: 900;color: var(--text-main);margin: 0 0 4px;}
.compare-device-badge{font-size: 0.76rem;font-weight: 800;color: #d97706;margin-bottom: 12px;}
.compare-price-box{margin-bottom: 14px;display: flex;align-items: baseline;gap: 8px;}
.compare-price-val{font-size: 1.45rem;font-weight: 900;color: var(--text-main);}
.compare-price-val.sale{color: #ef4444;}
.compare-buy-btn-wrap{display: grid;grid-template-columns: repeat(3, 1fr);gap: 6px;margin-bottom: 16px;}
.compare-pros-box{background: var(--bg-card);border: 1.5px solid #cbd5e1;border-radius: 8px;padding: 12px;margin-top: auto;}
html[data-theme="dark"] .compare-pros-box{border-color: #334155;}
.compare-pros-title{font-size: 0.78rem;font-weight: 800;color: var(--text-main);margin: 0 0 8px;}
.compare-pros-list{list-style: none;padding: 0;margin: 0;display: flex;flex-direction: column;gap: 6px;}
.compare-pros-list li{font-size: 0.74rem;color: var(--text-sub);line-height: 1.45;}
.compare-table-wrap{overflow-x: auto;margin-bottom: 20px;border-radius: 12px;border: 1.5px solid #cbd5e1;background: var(--bg-card);box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);}
html[data-theme="dark"] .compare-table-wrap{border-color: #334155;box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);}
.compare-spec-table{width: 100%;min-width: 600px;table-layout: fixed;border-collapse: separate;border-spacing: 0;font-size: 0.82rem;}
.compare-spec-table th{padding: 12px 16px;background: var(--bg-card-sub);border-bottom: 2px solid #94a3b8;text-align: left;font-weight: 800;font-size: 0.84rem;}
html[data-theme="dark"] .compare-spec-table th{border-bottom-color: #475569;}
.compare-spec-table th.spec-th-a{width: calc((100% - 140px) / 2);border-right: 1.5px solid #cbd5e1;color: #4f46e5;background: rgba(79, 70, 229, 0.06);border-top: 3px solid #4f46e5;}
.compare-spec-table th.spec-th-label{width: 140px;border-right: 1.5px solid #cbd5e1;color: var(--text-main);text-align: center;background: var(--bg-card-sub);}
.compare-spec-table th.spec-th-b{width: calc((100% - 140px) / 2);color: #ea580c;background: rgba(234, 88, 12, 0.06);border-top: 3px solid #ea580c;}
html[data-theme="dark"] .compare-spec-table th.spec-th-a{border-right-color: #334155;color: #818cf8;background: rgba(99, 102, 241, 0.12);border-top-color: #6366f1;}
html[data-theme="dark"] .compare-spec-table th.spec-th-label{border-right-color: #334155;}
html[data-theme="dark"] .compare-spec-table th.spec-th-b{color: #fb923c;background: rgba(234, 88, 12, 0.12);border-top-color: #ea580c;}
.compare-spec-table td{padding: 11px 16px;border-bottom: 1px solid #cbd5e1;line-height: 1.5;vertical-align: middle;word-break: break-word;}
html[data-theme="dark"] .compare-spec-table td{border-bottom-color: #334155;}
.compare-spec-table tbody tr:last-child td{border-bottom: none;}
.compare-spec-table td.spec-val-a{width: calc((100% - 140px) / 2);border-right: 1.5px solid #cbd5e1;background: rgba(79, 70, 229, 0.015);}
.compare-spec-table td.spec-label{width: 140px;font-weight: 800;color: var(--text-muted);background: var(--bg-card-sub) !important;white-space: nowrap;text-align: center;padding: 11px 8px;border-right: 1.5px solid #cbd5e1;}
.compare-spec-table td.spec-val-b{width: calc((100% - 140px) / 2);background: rgba(234, 88, 12, 0.015);}
html[data-theme="dark"] .compare-spec-table td.spec-val-a{border-right-color: #334155;background: rgba(99, 102, 241, 0.03);}
html[data-theme="dark"] .compare-spec-table td.spec-label{border-right-color: #334155;}
html[data-theme="dark"] .compare-spec-table td.spec-val-b{background: rgba(234, 88, 12, 0.03);}
.compare-spec-table tbody tr:nth-child(even) td.spec-val-a{background: rgba(79, 70, 229, 0.038);}
.compare-spec-table tbody tr:nth-child(even) td.spec-val-b{background: rgba(234, 88, 12, 0.038);}
html[data-theme="dark"] .compare-spec-table tbody tr:nth-child(even) td.spec-val-a{background: rgba(99, 102, 241, 0.06);}
html[data-theme="dark"] .compare-spec-table tbody tr:nth-child(even) td.spec-val-b{background: rgba(234, 88, 12, 0.06);}
.compare-spec-table tbody tr:hover td{background: rgba(0, 0, 0, 0.04) !important;}
html[data-theme="dark"] .compare-spec-table tbody tr:hover td{background: rgba(255, 255, 255, 0.05) !important;}
.compare-spec-table tbody tr:hover td.spec-label{background: var(--bg-card-sub) !important;color: var(--text-main);}
.badge-good{color: #10b981;font-weight: 800;}
.badge-sub{color: var(--text-muted);}
.spec-winner-td{background: rgba(16, 185, 129, 0.08) !important;position: relative;}
html[data-theme="dark"] .spec-winner-td{background: rgba(16, 185, 129, 0.12) !important;}
.table-win-badge{display: inline-flex;align-items: center;gap: 2px;font-size: 0.65rem;font-weight: 900;color: #059669;background: rgba(16, 185, 129, 0.15);border: 1px solid rgba(16, 185, 129, 0.35);padding: 1px 5px;border-radius: 4px;margin-left: 6px;vertical-align: middle;white-space: nowrap;}
html[data-theme="dark"] .table-win-badge{color: #34d399;background: rgba(16, 185, 129, 0.22);border-color: rgba(52, 211, 153, 0.4);}
.mobile-table-scroll-hint{display: none;}
@media (max-width: 768px){.mobile-table-scroll-hint{display: flex;align-items: center;justify-content: center;gap: 6px;padding: 7px 10px;font-size: 0.72rem;font-weight: 800;color: #4338ca;background: rgba(99, 102, 241, 0.08);border: 1px dashed rgba(99, 102, 241, 0.3);border-radius: 8px;margin-bottom: 8px;}html[data-theme="dark"] .mobile-table-scroll-hint{color: #a5b4fc;background: rgba(99, 102, 241, 0.15);border-color: rgba(99, 102, 241, 0.35);}}
.compare-verdict-card{background: linear-gradient(135deg, rgba(79, 70, 229, 0.06), rgba(234, 88, 12, 0.06));border: 1.5px solid #cbd5e1;border-radius: 12px;padding: 16px 20px;}
html[data-theme="dark"] .compare-verdict-card{border-color: #334155;}
.compare-verdict-header{display: flex;align-items: center;gap: 8px;margin-bottom: 12px;}
.compare-verdict-grid{display: grid;grid-template-columns: 1fr 1fr;gap: 16px;}
@media (max-width: 640px){.compare-verdict-grid{grid-template-columns: 1fr;}}
.verdict-col{background: var(--bg-card);border: 1.5px solid #cbd5e1;border-radius: 8px;padding: 12px 14px;}
.verdict-col.a{border: 1.5px solid rgba(79, 70, 229, 0.3);border-left: 4px solid #4f46e5;}
.verdict-col.b{border: 1.5px solid rgba(234, 88, 12, 0.3);border-left: 4px solid #ea580c;}
html[data-theme="dark"] .verdict-col{border-color: #334155;}
html[data-theme="dark"] .verdict-col.a{border-color: rgba(99, 102, 241, 0.4);border-left: 4px solid #6366f1;}
html[data-theme="dark"] .verdict-col.b{border-color: rgba(234, 88, 12, 0.4);border-left: 4px solid #ea580c;}
.mini-compare-btn{font-size: 0.66rem;font-weight: 800;padding: 2px 7px;border-radius: 4px;border: 1px solid #4f46e5;color: #4f46e5;background: rgba(79, 70, 229, 0.08);cursor: pointer;transition: all 0.15s ease;white-space: nowrap;}
.mini-compare-btn.b{border-color: #ea580c;color: #ea580c;background: rgba(234, 88, 12, 0.08);}
.mini-compare-btn:hover{transform: translateY(-1px);}
.reader-table-wrapper{overflow-x: auto;margin-bottom: 24px;border: 1.5px solid #cbd5e1;border-radius: 12px;background: var(--bg-card);box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);}
html[data-theme="dark"] .reader-table-wrapper{border-color: #334155;box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);}
.reader-table{width: 100%;border-collapse: separate;border-spacing: 0;font-size: 0.78rem;text-align: left;}
.reader-table th{padding: 11px 12px;font-weight: 800;background: var(--bg-card-sub);border-bottom: 2px solid #94a3b8;border-right: 1px solid #cbd5e1;white-space: nowrap;}
.reader-table th:last-child{border-right: none;}
html[data-theme="dark"] .reader-table th{border-bottom-color: #475569;border-right-color: #334155;}
.reader-table td{padding: 10px 12px;border-bottom: 1px solid #cbd5e1;border-right: 1px solid #cbd5e1;vertical-align: middle;}
.reader-table td:last-child{border-right: none;}
.reader-table tbody tr:last-child td{border-bottom: none;}
.reader-table tbody tr:hover td{background: rgba(0, 0, 0, 0.035);}
html[data-theme="dark"] .reader-table td{border-bottom-color: #334155;border-right-color: #334155;}
html[data-theme="dark"] .reader-table tbody tr:hover td{background: rgba(255, 255, 255, 0.045);}
.btn-table-jump-card{width: 22px;height: 22px;min-width: 22px;border-radius: 6px;border: 1.5px solid rgba(99, 102, 241, 0.35);background: rgba(99, 102, 241, 0.08);color: #6366f1;font-size: 0.62rem;font-weight: 900;display: inline-flex;align-items: center;justify-content: center;cursor: pointer;padding: 0;margin-top: 1px;flex-shrink: 0;transition: all 0.15s ease;line-height: 1;}
.btn-table-jump-card:hover{background: #6366f1;color: #ffffff;border-color: #6366f1;transform: translateY(1.5px);box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);}
html[data-theme="dark"] .btn-table-jump-card{border-color: rgba(99, 102, 241, 0.5);background: rgba(99, 102, 241, 0.18);color: #a5b4fc;}
html[data-theme="dark"] .btn-table-jump-card:hover{background: #6366f1;color: #ffffff;}
.reader-devices-divider{display: flex;align-items: center;gap: 16px;margin: 36px 0 24px;}
.reader-divider-line{flex: 1;height: 1.5px;background: #cbd5e1;}
html[data-theme="dark"] .reader-divider-line{background: #334155;}
.reader-divider-badge{display: inline-flex;align-items: center;gap: 8px;padding: 6px 18px;background: var(--bg-card);border: 1.5px solid #cbd5e1;border-radius: 999px;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);font-size: 0.84rem;font-weight: 800;color: var(--text-main);white-space: nowrap;}
html[data-theme="dark"] .reader-divider-badge{background: #1e293b;border-color: #334155;color: #f1f5f9;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);}
@media (max-width: 640px){.reader-devices-divider{gap: 10px;margin: 28px 0 20px;}.reader-divider-badge{padding: 5px 12px;font-size: 0.76rem;}}
.reader-cards-grid{display: grid;grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));gap: 16px;}
.reader-device-card{background: var(--bg-card);border: 1.5px solid #cbd5e1;border-radius: 12px;padding: 16px;display: flex;flex-direction: column;justify-content: space-between;box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);transition: all 0.2s ease;}
html[data-theme="dark"] .reader-device-card{border-color: #334155;}
.reader-device-card:hover{border-color: rgba(99, 102, 241, 0.45);transform: translateY(-2px);box-shadow: 0 6px 18px rgba(0, 0, 0, 0.09);}
.reader-device-card.reader-card-highlight{border-color: #6366f1 !important;box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.35), 0 8px 24px rgba(99, 102, 241, 0.18) !important;transform: translateY(-3px);transition: all 0.3s ease;}
html[data-theme="dark"] .reader-device-card.reader-card-highlight{border-color: #818cf8 !important;box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.45), 0 8px 24px rgba(99, 102, 241, 0.3) !important;}
.dev-card-top-row{display: flex;align-items: center;justify-content: space-between;gap: 6px;margin-bottom: 8px;}
.dev-badge-tag{font-size: 0.7rem;font-weight: 800;padding: 2px 7px;border-radius: 4px;background: rgba(99, 102, 241, 0.1);color: #6366f1;border: 1px solid rgba(99, 102, 241, 0.3);}
.dev-stock-tag{font-size: 0.68rem;color: #10b981;font-weight: 700;}
.dev-title{font-size: 1.05rem;font-weight: 900;color: var(--text-main);margin: 0 0 6px;}
.dev-price-box{display: flex;align-items: baseline;gap: 8px;margin-bottom: 10px;}
.dev-price-main{font-size: 1.25rem;font-weight: 900;color: #f59e0b;}
.dev-price-main.sale{color: #ef4444;}
.dev-sale-badge{font-size: 0.72rem;font-weight: 800;background: rgba(239, 68, 68, 0.12);color: #ef4444;padding: 2px 6px;border-radius: 4px;}
.dev-specs-summary{font-size: 0.76rem;color: var(--text-sub);line-height: 1.55;padding-left: 16px;margin: 0 0 10px;}
.dev-best-for{font-size: 0.74rem;color: var(--text-muted);background: var(--bg-card-sub);border-radius: 6px;padding: 8px 10px;margin-bottom: 12px;line-height: 1.4;}
.dev-card-buy-btn-wrap{display: grid;grid-template-columns: repeat(3, 1fr);gap: 6px;margin-top: 12px;}
.btn-reader-buy-amazon{width: 100%;display: inline-flex;align-items: center;justify-content: center;gap: 5px;background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);color: #ffffff !important;font-size: 0.82rem;font-weight: 800;padding: 9px 5px;border-radius: 8px;border: none;text-decoration: none;box-shadow: 0 3px 8px rgba(245, 158, 11, 0.28);transition: all 0.15s ease;cursor: pointer;white-space: nowrap;box-sizing: border-box;}
.btn-reader-buy-amazon:hover{background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);transform: translateY(-1px);box-shadow: 0 5px 12px rgba(245, 158, 11, 0.38);}
.btn-reader-buy-rakuten{width: 100%;display: inline-flex;align-items: center;justify-content: center;gap: 5px;background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);color: #ffffff !important;font-size: 0.82rem;font-weight: 800;padding: 9px 5px;border-radius: 8px;border: none;text-decoration: none;box-shadow: 0 3px 8px rgba(239, 68, 68, 0.28);transition: all 0.15s ease;cursor: pointer;white-space: nowrap;box-sizing: border-box;}
.btn-reader-buy-rakuten:hover{background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);transform: translateY(-1px);box-shadow: 0 5px 12px rgba(239, 68, 68, 0.38);}
.btn-reader-buy-yahoo{width: 100%;display: inline-flex;align-items: center;justify-content: center;gap: 5px;background: linear-gradient(135deg, #ff0033 0%, #c40024 100%);color: #ffffff !important;font-size: 0.82rem;font-weight: 800;padding: 9px 5px;border-radius: 8px;border: none;text-decoration: none;box-shadow: 0 3px 8px rgba(255, 0, 51, 0.28);transition: all 0.15s ease;cursor: pointer;white-space: nowrap;box-sizing: border-box;}
.btn-reader-buy-yahoo:hover{background: linear-gradient(135deg, #ff3355 0%, #ff0033 100%);transform: translateY(-1px);box-shadow: 0 5px 12px rgba(255, 0, 51, 0.38);}
@media (max-width: 480px){.btn-reader-buy-amazon, .btn-reader-buy-rakuten, .btn-reader-buy-yahoo{font-size: 0.72rem;padding: 8px 3px;gap: 2px;}}
.reader-catalog-filter-bar{display: flex;align-items: center;gap: 6px;margin-bottom: 14px;flex-wrap: wrap;}
.reader-filter-pill{font-size: 0.74rem;font-weight: 700;padding: 5px 12px;border-radius: 999px;background: var(--bg-card-sub);color: var(--text-sub);border: 1px solid var(--border-color);cursor: pointer;transition: all 0.2s ease;white-space: nowrap;}
.reader-filter-pill:hover{border-color: #6366f1;color: #6366f1;transform: translateY(-1px);}
.reader-filter-pill.active{background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(168, 85, 247, 0.15));color: #4f46e5;border-color: #6366f1;font-weight: 800;}
html[data-theme="dark"] .reader-filter-pill.active{color: #a5b4fc;border-color: #818cf8;}
.reader-filter-pill.highlight-indigo{background: rgba(99, 102, 241, 0.08);color: #4f46e5;border-color: rgba(99, 102, 241, 0.35);}
html[data-theme="dark"] .reader-filter-pill.highlight-indigo{color: #a5b4fc;border-color: rgba(165, 180, 252, 0.4);}
.compare-preset-pill.highlight-indigo{background: rgba(99, 102, 241, 0.1);color: #4f46e5;border-color: rgba(99, 102, 241, 0.35);font-weight: 700;}
html[data-theme="dark"] .compare-preset-pill.highlight-indigo{color: #a5b4fc;border-color: rgba(165, 180, 252, 0.4);}
.compare-preset-pill.highlight-warn{background: rgba(239, 68, 68, 0.08);color: #dc2626;border-color: rgba(239, 68, 68, 0.35);font-weight: 700;}
html[data-theme="dark"] .compare-preset-pill.highlight-warn{color: #f87171;border-color: rgba(239, 68, 68, 0.4);}
.reader-risk-advice-card{background: rgba(245, 158, 11, 0.05);border: 1.5px solid rgba(245, 158, 11, 0.28);border-radius: 14px;padding: 16px 18px;margin-bottom: 24px;box-shadow: 0 2px 10px rgba(245, 158, 11, 0.03);}
html[data-theme="dark"] .reader-risk-advice-card{background: rgba(245, 158, 11, 0.06);border-color: rgba(245, 158, 11, 0.35);}
.risk-advice-header{display: flex;align-items: center;gap: 10px;margin-bottom: 12px;padding-bottom: 10px;border-bottom: 1px dashed rgba(245, 158, 11, 0.25);}
.risk-advice-grid{display: grid;grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));gap: 12px;}
.risk-item{background: var(--bg-card);border: 1px solid var(--border-color);border-radius: 10px;padding: 12px 14px;}
.risk-item-title{font-size: 0.82rem;font-weight: 800;color: var(--text-main);display: flex;align-items: center;gap: 6px;margin-bottom: 6px;}
.risk-item-num{width: 18px;height: 18px;border-radius: 50%;background: #f59e0b;color: #fff;font-size: 0.68rem;font-weight: 900;display: inline-flex;align-items: center;justify-content: center;flex-shrink: 0;}
.risk-item-desc{font-size: 0.75rem;color: var(--text-sub);line-height: 1.52;margin: 0;}
.reader-map-mode-hint{margin: 10px 0 14px;padding: 10px 14px;background: rgba(99, 102, 241, 0.08);border-left: 3.5px solid #6366f1;border-radius: 8px;font-size: 0.78rem;color: var(--text-main);line-height: 1.55;}
html[data-theme="dark"] .reader-map-mode-hint{background: rgba(99, 102, 241, 0.15);border-left-color: #818cf8;}
.reader-articles-section{background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 14px;padding: 22px 20px;margin-bottom: 24px;box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);}
.reader-articles-grid{display: grid;grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));gap: 16px;}
@media (max-width: 680px){.reader-articles-grid{grid-template-columns: 1fr;}}
.reader-article-card{background: var(--bg-card-sub);border: 1.5px solid var(--border-color);border-radius: 14px;padding: 16px;display: flex;flex-direction: column;justify-content: space-between;transition: all 0.2s ease;position: relative;}
.reader-article-card:hover{border-color: #6366f1;transform: translateY(-2px);box-shadow: 0 6px 20px rgba(99, 102, 241, 0.12);}
.reader-article-card-header{display: flex;align-items: center;justify-content: space-between;gap: 8px;margin-bottom: 10px;}
.reader-article-badge{display: inline-flex;align-items: center;gap: 4px;padding: 3px 9px;border-radius: 999px;font-size: 0.68rem;font-weight: 800;color: #fff;}
.reader-article-badge.indigo{background: linear-gradient(135deg, #4338ca, #3b82f6);}
.reader-article-badge.amber{background: linear-gradient(135deg, #b45309, #d97706);}
.reader-article-badge.rose{background: linear-gradient(135deg, #be123c, #f43f5e);}
.reader-article-badge.cyan{background: linear-gradient(135deg, #0e7490, #06b6d4);}
.reader-article-badge.purple{background: linear-gradient(135deg, #6d28d9, #8b5cf6);}
.reader-article-badge.emerald{background: linear-gradient(135deg, #047857, #10b981);}
.reader-article-date{font-size: 0.68rem;color: var(--text-muted);}
.reader-article-title{font-size: 0.94rem;font-weight: 800;line-height: 1.45;color: var(--text-main);margin: 0 0 8px;line-height: 1.45;}
.reader-article-title a{color: inherit;text-decoration: none;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;transition: color 0.15s ease;}
.reader-article-title a:hover{color: #4f46e5;}
.reader-article-desc{font-size: 0.77rem;line-height: 1.55;color: var(--text-muted);margin: 0 0 12px;display: -webkit-box;-webkit-line-clamp: 3;-webkit-box-orient: vertical;overflow: hidden;}
.compare-related-articles-box{margin-top: 14px;padding: 12px 14px;background: linear-gradient(135deg, rgba(79, 70, 229, 0.05), rgba(245, 158, 11, 0.05));border: 1.5px solid rgba(99, 102, 241, 0.25);border-radius: 12px;display: flex;flex-direction: column;gap: 8px;}
.compare-related-article-item{display: flex;align-items: center;justify-content: space-between;gap: 10px;background: var(--bg-card);padding: 8px 12px;border-radius: 8px;border: 1px solid var(--border-color);text-decoration: none;color: var(--text-main);font-size: 0.78rem;font-weight: 700;transition: all 0.15s ease;}
.compare-related-article-item:hover{border-color: #6366f1;transform: translateX(2px);box-shadow: 0 2px 8px rgba(99, 102, 241, 0.12);}
.reader-article-fukumaru{background: #fff8ec;border: 1px solid #fed7aa;border-radius: 10px;padding: 8px 10px;margin-bottom: 14px;display: flex;align-items: flex-start;gap: 8px;font-size: 0.73rem;color: #78350f;line-height: 1.45;}
html[data-theme="dark"] .reader-article-fukumaru{background: rgba(180, 83, 9, 0.15);border-color: rgba(245, 158, 11, 0.3);color: #fde68a;}
.reader-article-fukumaru-icon{font-size: 1.1rem;flex-shrink: 0;line-height: 1;}
.reader-article-actions{display: flex;align-items: center;gap: 8px;margin-top: auto;padding-top: 10px;border-top: 1px solid var(--border-color);flex-wrap: wrap;}
.btn-reader-article-read{flex: 1.2;min-width: 120px;background: #4f46e5;color: #fff;border: none;border-radius: 999px;padding: 7px 12px;font-size: 0.76rem;font-weight: 800;cursor: pointer;display: inline-flex;align-items: center;justify-content: center;gap: 5px;transition: all 0.15s ease;text-decoration: none;}
.btn-reader-article-read:hover{background: #4338ca;transform: translateY(-1px);}
.btn-reader-article-compare{flex: 1;min-width: 110px;background: var(--bg-card);color: var(--text-main);border: 1.5px solid var(--border-color);border-radius: 999px;padding: 6px 10px;font-size: 0.72rem;font-weight: 800;cursor: pointer;display: inline-flex;align-items: center;justify-content: center;gap: 4px;transition: all 0.15s ease;}
.btn-reader-article-compare:hover{border-color: #4f46e5;color: #4f46e5;background: rgba(79, 70, 229, 0.06);}
.reader-non-amazon-guide-section{background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 16px;padding: 22px 20px;margin-bottom: 24px;box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);}
html[data-theme="dark"] .reader-non-amazon-guide-section{border-color: #334155;background: var(--bg-card);}
.guide-section-badge-row{display: flex;align-items: center;gap: 8px;margin-bottom: 10px;flex-wrap: wrap;}
.guide-badge-pill{font-size: 0.72rem;font-weight: 800;padding: 4px 10px;border-radius: 999px;background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(168, 85, 247, 0.12));color: #6366f1;border: 1px solid rgba(99, 102, 241, 0.28);display: inline-flex;align-items: center;gap: 5px;}
html[data-theme="dark"] .guide-badge-pill{color: #a5b4fc;border-color: rgba(165, 180, 252, 0.3);}
.guide-badge-lifehacker{font-size: 0.7rem;font-weight: 800;padding: 4px 9px;border-radius: 999px;background: rgba(245, 158, 11, 0.12);color: #d97706;border: 1px solid rgba(245, 158, 11, 0.28);}
html[data-theme="dark"] .guide-badge-lifehacker{color: #fbbf24;}
.guide-main-heading{font-size: 1.24rem;font-weight: 900;color: var(--text-main);line-height: 1.45;margin: 0 0 10px;}
.guide-intro-lead{font-size: 0.85rem;color: var(--text-sub);line-height: 1.68;margin: 0 0 20px;}
.guide-concept-cards{display: grid;grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));gap: 12px;margin-bottom: 22px;}
.guide-concept-card{background: var(--bg-card-sub);border: 1px solid var(--border-color);border-radius: 12px;padding: 14px;transition: transform 0.2s ease;}
.guide-concept-card:hover{transform: translateY(-2px);}
.guide-concept-icon{font-size: 1.5rem;margin-bottom: 6px;display: block;}
.guide-concept-title{font-size: 0.92rem;font-weight: 800;color: var(--text-main);margin: 0 0 4px;}
.guide-concept-desc{font-size: 0.78rem;color: var(--text-muted);line-height: 1.5;margin: 0;}
.guide-devices-grid{display: grid;grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));gap: 14px;margin-bottom: 22px;}
.guide-device-card{background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 14px;padding: 16px;display: flex;flex-direction: column;justify-content: space-between;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);transition: all 0.2s ease;}
.guide-device-card:hover{border-color: #6366f1;transform: translateY(-2px);box-shadow: 0 6px 18px rgba(99, 102, 241, 0.12);}
.guide-device-card.warning-card{border-color: rgba(239, 68, 68, 0.35);background: rgba(239, 68, 68, 0.02);}
.guide-dev-header{display: flex;align-items: flex-start;justify-content: space-between;gap: 8px;margin-bottom: 8px;}
.guide-dev-badge{font-size: 0.68rem;font-weight: 800;padding: 2px 7px;border-radius: 999px;background: rgba(99, 102, 241, 0.12);color: #6366f1;}
html[data-theme="dark"] .guide-dev-badge{color: #a5b4fc;background: rgba(99, 102, 241, 0.2);}
.guide-dev-badge.warn{background: rgba(239, 68, 68, 0.12);color: #ef4444;}
.guide-dev-price{font-size: 0.95rem;font-weight: 900;color: #f59e0b;white-space: nowrap;}
.guide-dev-title{font-size: 1.02rem;font-weight: 900;color: var(--text-main);margin: 0 0 6px;}
.guide-dev-spec-pills{display: flex;flex-wrap: wrap;gap: 5px;margin-bottom: 10px;}
.guide-dev-pill{font-size: 0.68rem;font-weight: 700;padding: 2px 6px;border-radius: 4px;background: var(--bg-card-sub);color: var(--text-sub);border: 1px solid var(--border-color);}
.guide-dev-pill.ok{background: rgba(16, 185, 129, 0.1);color: #059669;border-color: rgba(16, 185, 129, 0.3);}
.guide-dev-pill.ng{background: rgba(239, 68, 68, 0.1);color: #dc2626;border-color: rgba(239, 68, 68, 0.3);}
.guide-dev-desc{font-size: 0.77rem;color: var(--text-sub);line-height: 1.55;margin: 0 0 12px;flex-grow: 1;}
.guide-dev-action-row{display: flex;gap: 6px;}
.guide-alert-box{background: rgba(245, 158, 11, 0.08);border: 1.5px solid rgba(245, 158, 11, 0.32);border-radius: 12px;padding: 16px 18px;margin-bottom: 20px;}
.guide-alert-title{font-size: 0.92rem;font-weight: 800;color: #b45309;margin: 0 0 8px;display: flex;align-items: center;gap: 6px;}
html[data-theme="dark"] .guide-alert-title{color: #f59e0b;}
.guide-alert-list{margin: 0;padding-left: 18px;font-size: 0.8rem;color: var(--text-sub);line-height: 1.6;}
.guide-alert-list li{margin-bottom: 4px;}
.guide-alert-list li:last-child{margin-bottom: 0;}
.guide-match-table{width: 100%;border-collapse: separate;border-spacing: 0;border: 1px solid var(--border-color);border-radius: 10px;overflow: hidden;font-size: 0.8rem;}
.guide-match-table th, .guide-match-table td{padding: 9px 12px;border-bottom: 1px solid var(--border-color);}
.guide-match-table th{background: var(--bg-card-sub);font-weight: 800;color: var(--text-main);text-align: left;}
.guide-match-table tr:last-child td{border-bottom: none;}
.reader-accessories-section{margin-top: 36px;padding-top: 24px;border-top: 2px dashed var(--border-color);}
.accessory-filter-bar{margin-bottom: 18px;overflow-x: auto;scrollbar-width: none;-webkit-overflow-scrolling: touch;padding-bottom: 4px;}
.accessory-filter-bar::-webkit-scrollbar{display: none;}
.accessory-filter-pills{display: inline-flex;gap: 8px;white-space: nowrap;}
.accessory-filter-pill{font-size: 0.82rem;font-weight: 700;padding: 7px 14px;border-radius: 999px;background: var(--bg-card-sub);color: var(--text-sub);border: 1px solid var(--border-color);cursor: pointer;transition: all 0.2s ease;display: inline-flex;align-items: center;gap: 5px;}
.accessory-filter-pill:hover{background: var(--bg-card-hover, rgba(255, 255, 255, 0.08));color: var(--text-main);border-color: #f59e0b;}
.accessory-filter-pill.active{background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);color: #fff;border-color: #d97706;box-shadow: 0 3px 10px rgba(217, 119, 6, 0.35);}
.accessory-cards-grid{display: grid;grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));gap: 16px;}
.accessory-card{background: var(--bg-card);border: 1px solid var(--border-color);border-radius: 12px;padding: 16px;display: flex;flex-direction: column;justify-content: space-between;box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);transition: all 0.2s ease;}
.accessory-card:hover{border-color: rgba(245, 158, 11, 0.5);transform: translateY(-2px);box-shadow: 0 6px 18px rgba(0, 0, 0, 0.09);}
.acc-header{display: flex;justify-content: space-between;align-items: center;gap: 6px;margin-bottom: 8px;}
.acc-img-wrap{width: 100%;height: 155px;border-radius: 8px;overflow: hidden;background: #ffffff;margin-bottom: 10px;position: relative;border: 1px solid var(--border-color);display: flex;align-items: center;justify-content: center;padding: 8px;box-sizing: border-box;}
html[data-theme="dark"] .acc-img-wrap{background: #1e293b;}
.acc-img{max-width: 100%;max-height: 100%;width: auto;height: auto;object-fit: contain;transition: transform 0.35s ease;display: block;margin: 0 auto;}
.accessory-card:hover .acc-img{transform: scale(1.06);}
.acc-brand-badge{position: absolute;bottom: 7px;left: 7px;font-size: 0.67rem;font-weight: 800;padding: 2px 7px;border-radius: 4px;background: rgba(15, 23, 42, 0.78);color: #fff;backdrop-filter: blur(4px);letter-spacing: 0.02em;}
html[data-theme="dark"] .acc-brand-badge{background: rgba(30, 41, 59, 0.88);color: #f1f5f9;border: 1px solid rgba(255, 255, 255, 0.15);}
.acc-situation-badge{font-size: 0.7rem;font-weight: 800;padding: 2px 8px;border-radius: 4px;background: rgba(245, 158, 11, 0.12);color: #d97706;border: 1px solid rgba(245, 158, 11, 0.28);}
.acc-price-est{font-size: 0.78rem;font-weight: 800;color: var(--text-muted);}
.acc-title{font-size: 0.92rem;font-weight: 800;color: var(--text-main);margin: 0 0 6px 0;line-height: 1.4;display: flex;align-items: flex-start;gap: 6px;}
.acc-lead{font-size: 0.78rem;color: var(--text-sub);line-height: 1.55;margin-bottom: 12px;flex-grow: 1;}
.acc-tags-row{display: flex;flex-wrap: wrap;gap: 4px;margin-bottom: 14px;}
.acc-tag-item{font-size: 0.68rem;padding: 2px 7px;border-radius: 4px;background: var(--bg-card-sub);color: var(--text-sub);border: 1px solid var(--border-color);}
.acc-buy-btn-wrap{display: flex;gap: 5px;margin-top: auto;}
.acc-buy-btn-wrap .btn-reader-buy-amazon, .acc-buy-btn-wrap .btn-reader-buy-rakuten, .acc-buy-btn-wrap .btn-reader-buy-yahoo{flex: 1;padding: 8px 3px;font-size: 0.72rem;font-weight: 700;justify-content: center;white-space: nowrap;letter-spacing: -0.02em;gap: 3px;}
.reader-diagnostic-section{margin-bottom: 28px;background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 16px;padding: 22px 20px;box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);position: relative;overflow: hidden;transition: all 0.3s ease;}
.reader-diagnostic-section::before{content: "";position: absolute;top: 0;left: 0;right: 0;height: 3px;background: linear-gradient(90deg, #6366f1, #f59e0b, #ec4899);}
.quiz-start-box{text-align: center;padding: 12px 6px;}
.quiz-start-badges{display: inline-flex;flex-wrap: wrap;justify-content: center;gap: 6px;margin-bottom: 12px;}
.quiz-badge{font-size: 0.72rem;font-weight: 700;padding: 3px 9px;border-radius: 999px;background: rgba(99, 102, 241, 0.12);color: #6366f1;border: 1px solid rgba(99, 102, 241, 0.25);}
.quiz-start-title{font-size: 1.22rem;font-weight: 900;color: var(--text-main);margin: 0 0 8px 0;line-height: 1.4;}
.quiz-start-desc{font-size: 0.85rem;color: var(--text-sub);line-height: 1.6;max-width: 600px;margin: 0 auto 20px auto;}
.btn-quiz-start{display: inline-flex;align-items: center;gap: 8px;background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);color: #ffffff !important;font-size: 0.96rem;font-weight: 800;padding: 13px 28px;border-radius: 999px;border: none;cursor: pointer;box-shadow: 0 4px 14px rgba(79, 70, 229, 0.38);transition: all 0.2s ease;text-decoration: none;}
.btn-quiz-start:hover{transform: translateY(-2px);box-shadow: 0 7px 20px rgba(79, 70, 229, 0.48);}
.quiz-progress-wrap{margin-bottom: 16px;}
.quiz-progress-meta{display: flex;justify-content: space-between;align-items: center;margin-bottom: 6px;font-size: 0.76rem;font-weight: 700;}
.quiz-progress-counter{color: #6366f1;display: flex;align-items: center;gap: 5px;}
.quiz-progress-cat{color: var(--text-muted);background: var(--bg-card-sub);padding: 2px 8px;border-radius: 4px;border: 1px solid var(--border-color);}
.quiz-progress-track{width: 100%;height: 7px;background: var(--bg-card-sub);border-radius: 999px;overflow: hidden;border: 1px solid var(--border-color);}
.quiz-progress-bar{height: 100%;background: linear-gradient(90deg, #6366f1 0%, #f59e0b 100%);border-radius: 999px;transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);}
.quiz-question-box{animation: quizFadeIn 0.25s ease-out;}
@keyframes quizFadeIn{from{opacity: 0;transform: translateY(6px);}to{opacity: 1;transform: translateY(0);}}
.quiz-question-text{font-size: 1.06rem;font-weight: 800;color: var(--text-main);text-align: center;margin: 0 0 18px 0;line-height: 1.5;}
.quiz-options-grid{display: grid;grid-template-columns: repeat(2, 1fr);gap: 14px;margin-bottom: 18px;}
@media (max-width: 600px){.quiz-options-grid{grid-template-columns: 1fr;gap: 10px;}}
.quiz-option-card{background: var(--bg-card-sub);border: 1.5px solid var(--border-color);border-radius: 14px;padding: 16px 14px;cursor: pointer;text-align: left;transition: all 0.18s ease;display: flex;flex-direction: column;justify-content: flex-start;gap: 6px;position: relative;}
.quiz-option-card:hover{border-color: #6366f1;background: var(--bg-card-hover, rgba(99, 102, 241, 0.05));transform: translateY(-2px);box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);}
.quiz-option-card:active{transform: scale(0.98);}
.quiz-option-head{display: flex;align-items: center;gap: 8px;}
.quiz-option-key{display: inline-flex;align-items: center;justify-content: center;width: 26px;height: 26px;border-radius: 8px;background: #6366f1;color: #fff;font-size: 0.78rem;font-weight: 900;flex-shrink: 0;}
.quiz-option-title{font-size: 0.92rem;font-weight: 800;color: var(--text-main);line-height: 1.35;}
.quiz-option-desc{font-size: 0.76rem;color: var(--text-sub);line-height: 1.45;padding-left: 34px;margin: 0;}
.quiz-nav-row{display: flex;justify-content: space-between;align-items: center;border-top: 1px dashed var(--border-color);padding-top: 12px;font-size: 0.78rem;}
.btn-quiz-text{background: none;border: none;color: var(--text-muted);cursor: pointer;font-size: 0.78rem;font-weight: 700;padding: 4px 8px;border-radius: 6px;transition: all 0.15s ease;display: inline-flex;align-items: center;gap: 4px;}
.btn-quiz-text:hover{color: var(--text-main);background: var(--bg-card-sub);}
.quiz-loading-box{text-align: center;padding: 36px 12px;animation: quizFadeIn 0.3s ease;}
.quiz-spinner{width: 44px;height: 44px;border: 3.5px solid var(--border-color);border-top-color: #6366f1;border-radius: 50%;animation: quizSpin 0.7s linear infinite;margin: 0 auto 16px auto;}
@keyframes quizSpin{to{transform: rotate(360deg);}}
.quiz-result-box{animation: quizFadeIn 0.35s ease;}
.quiz-result-header{text-align: center;margin-bottom: 20px;}
.quiz-result-title{font-size: 1.25rem;font-weight: 900;color: var(--text-main);margin: 0 0 6px 0;}
.quiz-best-card{background: linear-gradient(180deg, rgba(99, 102, 241, 0.06) 0%, var(--bg-card) 100%);border: 2px solid #6366f1;border-radius: 16px;padding: 20px 18px;margin-bottom: 18px;box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);position: relative;}
.quiz-best-badge-row{display: flex;justify-content: space-between;align-items: center;flex-wrap: wrap;gap: 8px;margin-bottom: 12px;}
.quiz-crown-tag{display: inline-flex;align-items: center;gap: 6px;background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);color: #fff;font-size: 0.78rem;font-weight: 900;padding: 4px 12px;border-radius: 999px;box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);}
.quiz-match-score{font-size: 0.95rem;font-weight: 900;color: #6366f1;background: rgba(99, 102, 241, 0.12);padding: 4px 10px;border-radius: 8px;border: 1px solid rgba(99, 102, 241, 0.28);}
.quiz-best-content-row{display: flex;flex-direction: column;gap: 14px;}
.quiz-best-reason-box{background: var(--bg-card-sub);border-left: 3.5px solid #6366f1;border-radius: 0 8px 8px 0;padding: 10px 12px;font-size: 0.82rem;color: var(--text-main);line-height: 1.55;}
.quiz-specs-chips{display: flex;flex-wrap: wrap;gap: 6px;margin: 10px 0;}
.quiz-chip{font-size: 0.72rem;padding: 3px 8px;border-radius: 6px;background: var(--bg-card-sub);border: 1px solid var(--border-color);color: var(--text-sub);}
.btn-set-to-compare{display: inline-flex;align-items: center;justify-content: center;gap: 6px;width: 100%;background: rgba(99, 102, 241, 0.12);border: 1px solid rgba(99, 102, 241, 0.35);color: #6366f1;font-size: 0.84rem;font-weight: 800;padding: 10px 14px;border-radius: 10px;cursor: pointer;transition: all 0.2s ease;margin-top: 10px;}
.btn-set-to-compare:hover{background: #6366f1;color: #fff;}
.quiz-runner-up-card{background: var(--bg-card-sub);border: 1px solid var(--border-color);border-radius: 12px;padding: 14px 16px;margin-bottom: 16px;}
.quiz-runner-header{display: flex;justify-content: space-between;align-items: center;margin-bottom: 8px;font-size: 0.82rem;font-weight: 800;color: var(--text-muted);}
.award-category-tabs{display: flex;align-items: center;gap: 6px;margin-bottom: 12px;overflow-x: auto;padding: 4px 0;scrollbar-width: none;}
.award-category-tabs::-webkit-scrollbar{display: none;}
.award-cat-btn{display: inline-flex;align-items: center;gap: 6px;background: #20293a;border: 1px solid #36445c;color: #cbd5e1;padding: 5px 12px;border-radius: 8px;font-size: 0.76rem;font-weight: 700;cursor: pointer;white-space: nowrap;transition: all 0.15s;box-sizing: border-box;}
.award-cat-btn:hover{background: #2a374d;color: #fff;}
.award-cat-btn.active{background: linear-gradient(135deg, #f59e0b, #d97706);border-color: #f59e0b;color: #111;font-weight: 800;}
.award-up-badge{font-size: 0.60rem;padding: 1px 5px;border-radius: 8px;background: rgba(245, 158, 11, 0.22);color: #fbbf24;font-weight: 800;letter-spacing: -0.2px;line-height: 1.2;}
.award-cat-btn.active .award-up-badge{background: rgba(0, 0, 0, 0.28);color: #ffffff;}
.award-overview-card{background: var(--bg-card-sub);border: 1px solid var(--border-color);border-left: 4px solid #f59e0b;border-radius: 8px;padding: 10px 14px;margin-bottom: 12px;font-size: 0.78rem;line-height: 1.5;}
.award-overview-header{display: flex;align-items: center;justify-content: space-between;flex-wrap: wrap;gap: 6px;margin-bottom: 5px;}
.award-overview-title{font-size: 0.88rem;font-weight: 800;color: var(--text-main);display: flex;align-items: center;gap: 6px;}
.award-overview-meta{font-size: 0.70rem;color: var(--text-muted);display: flex;align-items: center;gap: 8px;}
.award-overview-desc{color: var(--text-sub);font-size: 0.75rem;margin: 0;}
.award-search-wrap{display: flex;align-items: center;position: relative;margin-bottom: 12px;}
.award-search-icon{position: absolute;left: 10px;color: var(--text-muted);pointer-events: none;display: flex;align-items: center;}
.award-search-input{width: 100%;padding: 7px 32px 7px 32px;border-radius: 8px;border: 1px solid var(--border-color);background: var(--bg-card-sub);color: var(--text-main);font-size: 0.8rem;outline: none;transition: border-color 0.2s;}
.award-search-input:focus{border-color: #f59e0b;}
.award-search-clear{position: absolute;right: 8px;background: none;border: none;color: var(--text-muted);cursor: pointer;font-size: 1rem;display: none;padding: 2px 6px;line-height: 1;}
.award-table-wrapper{overflow-x: auto;-webkit-overflow-scrolling: touch;border: 1px solid #283447;border-radius: 8px;}
.award-comparison-table{width: 100%;border-collapse: collapse;font-size: 0.82rem;text-align: left;min-width: 900px;}
.award-comparison-table th{background: #18202d;color: #94a3b8;padding: 10px 12px;font-weight: 700;font-size: 0.74rem;border-bottom: 2px solid #283447;white-space: nowrap;}
.award-comparison-table td{padding: 10px 12px;border-bottom: 1px solid #1e2636;vertical-align: middle;}
.award-comparison-table tr:hover td{background: rgba(255, 255, 255, 0.02);}
.store-th-badge{display: inline-block;padding: 2px 7px;border-radius: 4px;font-weight: 800;font-size: 0.7rem;}
.store-th-badge.kindle{background: #ff9900;color: #111;}
.store-th-badge.kobo{background: #dc2626;color: #fff;}
.store-th-badge.ebook{background: #e60012;color: #fff;}
.store-th-badge.dmm{background: #18181b;color: #facc15;border: 1px solid #3f3f46;}
.award-cell-badge{font-size: 0.69rem;font-weight: 800;padding: 3px 6px;border-radius: 6px;display: inline-flex;align-items: center;justify-content: center;gap: 3px;max-width: 136px;box-sizing: border-box;overflow: hidden;white-space: nowrap;}
.award-book-title{font-weight: 700;color: #fff;font-size: 0.86rem;line-height: 1.35;}
.award-book-sub{font-size: 0.72rem;color: var(--accent-gold-light);margin-top: 2px;}
.award-cheapest-box{background: rgba(16, 185, 129, 0.15);border: 1px solid #10b981;color: #34d399;padding: 4px 8px;border-radius: 6px;font-weight: 800;font-size: 0.84rem;white-space: nowrap;display: inline-flex;flex-direction: column;align-items: center;}
.award-cheapest-store{font-size: 0.65rem;font-weight: 700;}
.award-price-cell{font-size: 0.8rem;}
.award-price-val{font-weight: 700;color: #e2e8f0;}
.award-price-point{font-size: 0.68rem;color: #94a3b8;}
.award-price-cell.best-store .award-price-val{color: #34d399;font-weight: 900;}
html[data-theme="light"] .nav-tab-btn{color: #475569;}
html[data-theme="light"] .nav-tab-btn:hover{color: #0f172a;background: rgba(255, 255, 255, 0.6);}
html[data-theme="light"] .nav-tab-btn.active{background: #ffffff;color: #0f172a;box-shadow: 0 2px 6px rgba(15, 23, 42, 0.12);border-bottom: 2px solid #d97706;}
html[data-theme="light"] .nav-tab-btn.mypage-btn{background: #e0f2fe;color: #0284c7;border-color: #7dd3fc;}
html[data-theme="light"] .nav-tab-btn.mypage-btn:hover{background: #0284c7;color: #fff;}
html[data-theme="light"] .genre-selector-bar{background: #ede8df;border: 1.5px solid var(--genre-border) !important;}
html[data-theme="light"] .genre-btn-all{color: #92400e;}
html[data-theme="light"] .genre-btn-all.active{background: #ffffff;color: #b45309;border-bottom: 3.5px solid #d97706;box-shadow: 0 3px 12px rgba(217, 119, 6, 0.2);}
html[data-theme="light"] .genre-btn-comic{color: #7c2d12;}
html[data-theme="light"] .genre-btn-comic.active{background: #ffffff;color: #c2410c;border-bottom: 3.5px solid #ea580c;box-shadow: 0 3px 12px rgba(234, 88, 12, 0.18);}
html[data-theme="light"] .genre-btn-lightnovel{color: #581c87;}
html[data-theme="light"] .genre-btn-lightnovel.active{background: #ffffff;color: #7e22ce;border-bottom: 3.5px solid #9333ea;box-shadow: 0 3px 12px rgba(147, 51, 234, 0.18);}
html[data-theme="light"] .genre-btn-bungei{color: #064e3b;}
html[data-theme="light"] .genre-btn-bungei.active{background: #ffffff;color: #047857;border-bottom: 3.5px solid #059669;box-shadow: 0 3px 12px rgba(5, 150, 105, 0.18);}
html[data-theme="light"] .genre-btn-business{color: #1e3a8a;}
html[data-theme="light"] .genre-btn-business.active{background: #ffffff;color: #1d4ed8;border-bottom: 3.5px solid #2563eb;box-shadow: 0 3px 12px rgba(37, 99, 235, 0.18);}
html[data-theme="light"] .genre-btn-tech{color: #164e63;}
html[data-theme="light"] .genre-btn-tech.active{background: #ffffff;color: #0e7490;border-bottom: 3.5px solid #0891b2;box-shadow: 0 3px 12px rgba(8, 145, 178, 0.18);}
html[data-theme="light"] .genre-btn-other{color: #881337;}
html[data-theme="light"] .genre-btn-other.active{background: #ffffff;color: #be123c;border-bottom: 3.5px solid #e11d48;box-shadow: 0 3px 12px rgba(225, 29, 72, 0.18);}
html[data-theme="light"] .permanent-search-section{background: #ffffff;border-color: #e2e8f0;box-shadow: 0 4px 12px rgba(0,0,0,0.05);}
html[data-theme="light"] .permanent-search-input{background: #f8fafc;border-color: #cbd5e1;color: #0f172a;}
html[data-theme="light"] .search-autocomplete-dropdown{background: #ffffff;border-color: #cbd5e1;box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);}
html[data-theme="light"] .autocomplete-header{background: #f8fafc;border-bottom: 1px solid #e2e8f0;color: #64748b;}
html[data-theme="light"] .autocomplete-item{border-bottom: 1px solid #f1f5f9;}
html[data-theme="light"] .autocomplete-item:hover, html[data-theme="light"] .autocomplete-item.active{background: #f1f5f9;}
html[data-theme="light"] .autocomplete-text{color: #1e293b;}
html[data-theme="light"] .autocomplete-tag{background: #e2e8f0;color: #475569;}
html[data-theme="light"] .autocomplete-tag.tag-title{background: #d1fae5;color: #065f46;border-color: #a7f3d0;}
html[data-theme="light"] .autocomplete-tag.tag-author{background: #e0e7ff;color: #3730a3;border-color: #c7d2fe;}
html[data-theme="light"] .autocomplete-tag.tag-new{background: #fef3c7;color: #92400e;border-color: #fde68a;}
html[data-theme="light"] .autocomplete-tag.tag-series{background: #e0f2fe;color: #075985;border-color: #bae6fd;}
html[data-theme="light"] .autocomplete-tag.tag-award{background: #fef3c7;color: #b45309;border-color: #fde68a;}
html[data-theme="light"] .autocomplete-tag.tag-sale{background: #fee2e2;color: #b91c1c;border-color: #fecaca;}
html[data-theme="light"] .autocomplete-tag.tag-pub{background: #fef3c7;color: #b45309;border-color: #fde68a;}
html[data-theme="light"] .autocomplete-tag.tag-trend{background: #ffedd5;color: #c2410c;border-color: #fed7aa;}
html[data-theme="light"] .autocomplete-tag.tag-history{background: #f3e8ff;color: #7e22ce;border-color: #d8b4fe;}
html[data-theme="light"] .autocomplete-del-btn{color: #94a3b8;}
html[data-theme="light"] .autocomplete-del-btn:hover{color: #dc2626;background: rgba(239, 68, 68, 0.12);}
html[data-theme="light"] .autocomplete-clear-history-btn{color: #64748b;}
html[data-theme="light"] .autocomplete-clear-history-btn:hover{color: #dc2626;}
html[data-theme="light"] .autocomplete-sub-header{background: #f8fafc;border-top: 1px solid #e2e8f0;border-bottom: 1px solid #e2e8f0;color: #64748b;}
html[data-theme="light"] .autocomplete-footer{background: #f8fafc;border-top: 1px solid #e2e8f0;color: #64748b;}
html[data-theme="light"] .autocomplete-price{color: #ea580c;font-weight: 800;}
html[data-theme="light"] .search-hl{background: #fef08a;color: #92400e;font-weight: 800;border-radius: 2px;padding: 0 2px;}
html[data-theme="light"] .quick-kw-tag:not([class*="genre-"]){background: #f1f5f9;border-color: #cbd5e1;color: #2563eb;}
html[data-theme="light"] .quick-kw-tag:not([class*="genre-"]):hover{background: #e2e8f0;color: #1d4ed8;}
html[data-theme="light"] .new-releases-container{background: #ffffff;border-color: #e2e8f0;box-shadow: 0 2px 8px rgba(0,0,0,0.04);}
html[data-theme="light"] .new-releases-header{border-bottom-color: #e2e8f0;}
html[data-theme="light"] .new-releases-title{color: #0f172a;}
html[data-theme="light"] .btn-cal-toggle{background: #f1f5f9;border-color: #cbd5e1;color: #334155;}
html[data-theme="light"] .btn-cal-toggle:hover{background: #e2e8f0;color: #0f172a;}
html[data-theme="light"] .btn-cal-toggle.collapsed{background: #e0f2fe;border-color: #7dd3fc;color: #0369a1;}
html[data-theme="light"] .cal-summary-pill{background: #fef3c7;border-color: #fde68a;color: #92400e;}
html[data-theme="light"] .cal-tab-btn{background: #f8fafc;border-color: #cbd5e1;color: #475569;}
html[data-theme="light"] .cal-tab-btn:hover{background: #e2e8f0;color: #0f172a;}
html[data-theme="light"] .cal-tab-btn.active{background: #2563eb;color: #fff;border-color: #2563eb;}
html[data-theme="light"] .new-release-card{background: #f8fafc;border-color: #e2e8f0;}
html[data-theme="light"] .new-card-title{color: #0f172a;}
html[data-theme="light"] .new-card-author{color: #b45309;}
html[data-theme="light"] .new-stores-price-bar{background: #ffffff;border-color: #e2e8f0;}
html[data-theme="light"] .new-store-row.cheapest{background: #ecfdf5;border-left: 2px solid #10b981;}
html[data-theme="light"] .top-sale-sort-bar{background: #ffffff;border-color: #e2e8f0;box-shadow: 0 2px 8px rgba(0,0,0,0.04);}
html[data-theme="light"] .top-sort-btn{background: #f1f5f9;border-color: #cbd5e1;color: #334155;}
html[data-theme="light"] .top-sort-btn:hover{background: #e2e8f0;color: #0f172a;}
html[data-theme="light"] .top-sort-btn.active{background: #e2e8f0;color: #0f172a;border-color: #d97706;}
html[data-theme="light"] .store-tab-btn{background: #ffffff;border-color: #cbd5e1;color: #475569;}
html[data-theme="light"] .store-tab-btn:hover{background: #f1f5f9;color: #0f172a;}
html[data-theme="light"] .store-tab-btn.active.all{background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;border-color: #047857 !important;color: #ffffff !important;box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35) !important;font-weight: 800 !important;}
html[data-theme="light"] .store-tab-btn.active.all svg{stroke: #ffffff !important;}
html[data-theme="light"] .store-tab-btn.active.kindle{background: linear-gradient(135deg, #ea580c 0%, #f97316 100%) !important;border-color: #ea580c !important;color: #ffffff !important;box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35) !important;}
html[data-theme="light"] .store-tab-btn.active.kindle .store-dot{background: #ffffff !important;}
html[data-theme="light"] .store-tab-btn.active.kobo{background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;border-color: #b91c1c !important;color: #ffffff !important;box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35) !important;}
html[data-theme="light"] .store-tab-btn.active.kobo .store-dot{background: #ffffff !important;}
html[data-theme="light"] .store-tab-btn.active.ebook{background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;border-color: #be123c !important;color: #ffffff !important;box-shadow: 0 2px 8px rgba(225, 29, 72, 0.35) !important;}
html[data-theme="light"] .store-tab-btn.active.ebook .store-dot{background: #ffffff !important;}
html[data-theme="light"] .store-tab-btn.active.dmm{background: #18181b !important;border-color: #f59e0b !important;color: #fef08a !important;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45) !important;}
html[data-theme="light"] .store-tab-btn.active.dmm .store-dot{background: #facc15 !important;}
html[data-theme="light"] .store-check-box{border-color: #94a3b8;background: #f1f5f9;}
html[data-theme="light"] .badge-award{background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);border-color: #f59e0b;color: #92400e;}
html[data-theme="light"] .award-showcase-container{background: #ffffff;border-color: #e2e8f0;box-shadow: 0 4px 12px rgba(0,0,0,0.04);}
html[data-theme="light"] .award-showcase-header{border-bottom-color: #e2e8f0;}
html[data-theme="light"] .award-showcase-title{color: #0f172a;}
html[data-theme="light"] .btn-award-toggle{background: #f1f5f9;border-color: #cbd5e1;color: #334155;}
html[data-theme="light"] .btn-award-toggle:hover{background: #e2e8f0;color: #0f172a;}
html[data-theme="light"] .btn-award-toggle.collapsed{background: #e0f2fe;border-color: #7dd3fc;color: #0369a1;}
html[data-theme="light"] .award-summary-pill{background: #fef3c7;border-color: #fde68a;color: #92400e;}
html[data-theme="light"] .award-cat-btn{background: #f1f5f9;border-color: #cbd5e1;color: #475569;}
html[data-theme="light"] .award-cat-btn:hover{background: #e2e8f0;color: #0f172a;}
html[data-theme="light"] .award-cat-btn.active{background: linear-gradient(135deg, #f59e0b, #d97706);border-color: #f59e0b;color: #fff;}
html[data-theme="light"] .award-table-wrapper{border-color: #e2e8f0;}
html[data-theme="light"] .award-comparison-table th{background: #f8fafc;color: #475569;border-bottom-color: #e2e8f0;}
html[data-theme="light"] .award-comparison-table td{border-bottom-color: #f1f5f9;color: #1e293b;}
html[data-theme="light"] .award-comparison-table tr:hover td{background: #f8fafc;}
html[data-theme="light"] .award-cell-badge{background: #fef3c7;border-color: #f59e0b;color: #92400e;}
html[data-theme="light"] .award-book-title{color: #0f172a;}
html[data-theme="light"] .award-book-sub{color: #b45309;}
html[data-theme="light"] .award-price-val{color: #1e293b;}
html[data-theme="light"] .award-price-point{color: #64748b;}
html[data-theme="light"] .award-price-cell.best-store .award-price-val{color: #059669;}
html[data-theme="light"] .award-cheapest-box{background: #ecfdf5;border-color: #10b981;color: #047857;}
html[data-theme="light"] .sale-card-wrapper{background: #ffffff;border: 1px solid #e7e2d8;}
html[data-theme="light"] .sale-card-wrapper.theme-kindle{border-color: #fed7aa;border-left: 6px solid #f59e0b;}
html[data-theme="light"] .sale-card-wrapper.theme-kobo{border-color: #fecaca;border-left: 6px solid #ef4444;}
html[data-theme="light"] .sale-card-wrapper.theme-ebook{border-color: #a5f3fc;border-left: 6px solid #06b6d4;}
html[data-theme="light"] .sale-card-wrapper.theme-dmm{border-color: #bfdbfe;border-left: 6px solid #3b82f6;}
html[data-theme="light"] .book-card{background: #ffffff;border-color: #e2e8f0;}
html[data-theme="light"] .book-card:hover{border-color: #94a3b8;box-shadow: 0 8px 20px rgba(0,0,0,0.1);}
html[data-theme="light"] .card-top{background: #f8fafc;border-bottom: 1px solid #f1f5f9;}
html[data-theme="light"] .card-title{color: #0f172a;}
html[data-theme="light"] .card-author-link{color: #b45309;}
html[data-theme="light"] .store-table{border-color: #e2e8f0;}
html[data-theme="light"] .store-table th{background: #f1f5f9;color: #475569;border-bottom-color: #e2e8f0;}
html[data-theme="light"] .store-table td{background: #ffffff;border-bottom-color: #f1f5f9;color: #1e293b;}
html[data-theme="light"] .pill-btn{background: #f1f5f9;border-color: #cbd5e1;color: #334155;}
html[data-theme="light"] .pill-btn:hover{background: #e2e8f0;color: #0f172a;}
html[data-theme="light"] .pill-btn.active{background: #0284c7;color: #fff;border-color: #0284c7;}
html[data-theme="light"] .pill-btn.highlight-active{background: #d97706;color: #fff;border-color: #d97706;}
html[data-theme="light"] .filter-search-input{background: #ffffff;border-color: #cbd5e1;color: #0f172a;}
html[data-theme="light"] .filter-select{background: #f8fafc;border-color: #cbd5e1;color: #0f172a;}
html[data-theme="light"] .quick-seo-presets-bar{background: rgba(241, 245, 249, 0.85);border-color: #cbd5e1;}
html[data-theme="light"] .quick-seo-label{color: #0284c7;border-color: #cbd5e1;}
html[data-theme="light"] .seo-preset-chip{background: #ffffff;border-color: #cbd5e1;color: #334155;}
html[data-theme="light"] .seo-preset-chip:hover{background: rgba(2, 132, 199, 0.08);color: #0284c7;border-color: #0284c7;}
html[data-theme="light"] .seo-preset-chip.active{background: linear-gradient(135deg, #0284c7, #0369a1);color: #ffffff;border-color: #0284c7;}
html[data-theme="light"] .smart-filter-box{background: rgba(255, 255, 255, 0.95);border-color: #cbd5e1;}
html[data-theme="light"] .smart-filter-title{color: #0f172a;}
html[data-theme="light"] .multi-filter-chip{background: #f8fafc;border-color: #cbd5e1;color: #475569;}
html[data-theme="light"] .multi-filter-chip:hover{background: #f1f5f9;color: #0f172a;}
html[data-theme="light"] .multi-filter-chip.active{background: #e0f2fe;border-color: #0284c7;color: #0284c7;}
html[data-theme="light"] .active-filters-summary-bar{background: rgba(2, 132, 199, 0.06);border-color: #bae6fd;}
html[data-theme="light"] .active-tag-chip{background: #e0f2fe;border-color: #7dd3fc;color: #0284c7;}
html[data-theme="light"] .seo-landing-header-banner{background: linear-gradient(135deg, #f8fafc, #ffffff);border-color: #0284c7;box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);}
html[data-theme="light"] .seo-landing-title{color: #0f172a;}
html[data-theme="light"] .seo-landing-desc{color: #475569;}
html[data-theme="light"] .sort-control-row{border-top-color: #e2e8f0;}
html[data-theme="light"] .sort-btn{background: #f1f5f9;border-color: #cbd5e1;color: #475569;}
html[data-theme="light"] .sort-btn:hover{background: #e2e8f0;color: #0f172a;}
html[data-theme="light"] .sort-btn.active{background: var(--store-theme, #d97706);color: #fff;border-color: var(--store-theme, #d97706);box-shadow: 0 2px 8px var(--store-shadow, rgba(217, 119, 6, 0.3));}
html[data-theme="light"] .sort-btn.active.is-secondary{background: #fff7ed !important;color: var(--store-theme, #d97706) !important;border-color: var(--store-theme, #d97706) !important;box-shadow: 0 2px 6px rgba(217, 119, 6, 0.15) !important;}
html[data-theme="light"] .sort-btn.can-combine{border-color: var(--store-theme, #d97706) !important;color: #1e293b;}
html[data-theme="light"] .sort-btn.can-combine:hover{background: #fff7ed !important;color: var(--store-theme, #d97706) !important;}
html[data-theme="light"] .modal-box{background: #ffffff;border-color: #cbd5e1;color: #0f172a;box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);}
html[data-theme="light"] .modal-close-x{color: #64748b;}
html[data-theme="light"] .modal-close-x:hover{color: #0f172a;}
html[data-theme="light"] .ranking-item-card{background: #f8fafc;border-color: #e2e8f0;}
html[data-theme="light"] .ranking-item-card:hover{background: #f1f5f9;}
html[data-theme="light"] .mypage-feature-card{background: #f8fafc;border-color: #e2e8f0;}
html[data-theme="light"] #calc-summary-comparison-box{background: #f8fafc;border-color: #cbd5e1;}
html[data-theme="light"] footer{background: #f1f5f9;border-top: 1px solid #e2e8f0;color: #64748b;}
html[data-theme="light"] .badge-near-all-time-low{background: #fef3c7;border-color: #f59e0b;color: #b45309;box-shadow: 0 1px 4px rgba(245, 158, 11, 0.15);}
html[data-theme="light"] .unified-sale-toolbar{background: #ede8df !important;border: 1.5px solid var(--genre-border) !important;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);}
html[data-theme="light"] .toolbar-group-label{color: #64748b;}
html[data-theme="light"] .tool-btn{background: #f8fafc;border-color: #cbd5e1;color: #334155;}
html[data-theme="light"] .tool-btn:hover{background: #f1f5f9;color: #0f172a;}
html[data-theme="light"] .tool-btn.active{background: #d97706;border-color: #d97706;color: #ffffff;box-shadow: 0 1px 6px rgba(217, 119, 6, 0.3);}
html[data-theme="light"] .tool-toggle-btn{background: #f8fafc;border-color: #cbd5e1;color: #475569;}
html[data-theme="light"] .tool-toggle-btn:hover{background: #f1f5f9;color: #0f172a;}
html[data-theme="light"] .tool-toggle-btn.active{background: #e0f2fe;border-color: #0284c7;color: #0284c7;}
html[data-theme="light"] .tool-toggle-btn.active-gold{background: #fef3c7;border-color: #f59e0b;color: #b45309;}
html[data-theme="light"] .tool-toggle-btn.active-carrot{background: #ffedd5;border-color: #ea580c;color: #c2410c;}
html[data-theme="light"] .tool-toggle-btn.active-urgent{background: #fee2e2;border-color: #ef4444;color: #b91c1c;}
html[data-theme="light"] .tool-action-btn{background: #f8fafc;border-color: #cbd5e1;color: #334155;}
html[data-theme="light"] .tool-accordion-btn{background: #f0f9ff;border-color: #bae6fd;color: #0369a1;}
html[data-theme="light"] .tool-accordion-btn.open{background: #e0f2fe;border-color: #0284c7;color: #0284c7;}
html[data-theme="light"] .detailed-filter-accordion{background: #ffffff;border-color: #cbd5e1;}
html[data-theme="light"] .accordion-group-label{color: #64748b;}
html[data-theme="light"] .badge-series-head{background: #ffedd5;border-color: #ea580c;color: #c2410c;}
html[data-theme="light"] .badge-series-count{background: #e0f2fe;border-color: #0284c7;color: #0284c7;}
.site-eyecatch-hero{position: relative;border-radius: 18px;overflow: hidden;margin-bottom: 24px;min-height: 520px;height: clamp(500px, 42vw, 620px);display: flex;flex-direction: column;justify-content: flex-end;align-items: flex-start;padding: 24px 28px;box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);border: 1px solid rgba(0, 0, 0, 0.08);transition: box-shadow 0.3s, border-color 0.3s;background: #f1f5f9;}
html[data-theme="dark"] .site-eyecatch-hero{box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55);border-color: rgba(255, 255, 255, 0.12);background: #0b1120;}
.site-eyecatch-hero .theme-toggle-switch{position: absolute;top: 18px;right: 18px;z-index: 10;background: rgba(255, 255, 255, 0.22);backdrop-filter: blur(18px) saturate(190%);-webkit-backdrop-filter: blur(18px) saturate(190%);border: 1px solid rgba(255, 255, 255, 0.55);box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.6);transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);}
.site-eyecatch-hero .theme-toggle-switch:hover{background: rgba(255, 255, 255, 0.38);border-color: rgba(255, 255, 255, 0.8);box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16), inset 0 1px 2px rgba(255, 255, 255, 0.8);transform: translateY(-1px);}
html[data-theme="dark"] .site-eyecatch-hero .theme-toggle-switch{background: rgba(15, 23, 42, 0.32);backdrop-filter: blur(18px) saturate(190%);-webkit-backdrop-filter: blur(18px) saturate(190%);border-color: rgba(255, 255, 255, 0.28);box-shadow: 0 4px 22px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.2);}
html[data-theme="dark"] .site-eyecatch-hero .theme-toggle-switch:hover{background: rgba(15, 23, 42, 0.48);border-color: rgba(255, 255, 255, 0.45);box-shadow: 0 6px 26px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.35);transform: translateY(-1px);}
.eyecatch-bg-wrapper{position: absolute;inset: 0;width: 100%;height: 100%;z-index: 1;pointer-events: none;}
.eyecatch-img{position: absolute;inset: 0;width: 100%;height: 100%;object-fit: cover;object-position: 52% 52%;transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1);}
.eyecatch-img-day{opacity: 1;}
.eyecatch-img-night{opacity: 0;}
html[data-theme="dark"] .eyecatch-img-day{opacity: 0;}
html[data-theme="dark"] .eyecatch-img-night{opacity: 1;}
.eyecatch-scrim{position: absolute;inset: 0;z-index: 2;background: linear-gradient( 180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 40%, rgba(255, 255, 255, 0.28) 100% );transition: background 0.65s ease;pointer-events: none;}
html[data-theme="dark"] .eyecatch-scrim{background: linear-gradient( 180deg, rgba(11, 17, 32, 0) 0%, rgba(11, 17, 32, 0.1) 40%, rgba(11, 17, 32, 0.4) 100% );}
.eyecatch-content{position: relative;z-index: 3;background: rgba(255, 255, 255, 0.18);backdrop-filter: blur(12px) saturate(160%);-webkit-backdrop-filter: blur(12px) saturate(160%);border: 1px solid rgba(255, 255, 255, 0.5);border-radius: 14px;padding: 12px 18px;max-width: 310px;width: 100%;box-sizing: border-box;box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.75);transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;}
html[data-theme="dark"] .eyecatch-content{background: rgba(15, 23, 42, 0.20);border: 1px solid rgba(255, 255, 255, 0.20);box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.2);}
.eyecatch-title{font-size: 1.65rem;font-weight: 900;letter-spacing: 0.04em;color: #0f172a;margin: 0 0 3px 0;line-height: 1.15;}
html[data-theme="dark"] .eyecatch-title{color: #ffffff;text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);}
.eyecatch-catchphrase{font-size: 0.78rem;font-weight: 800;letter-spacing: 0.02em;color: #b45309;margin-bottom: 5px;white-space: nowrap;}
html[data-theme="dark"] .eyecatch-catchphrase{color: #fbbf24;text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);}
.eyecatch-tagline{font-size: 0.75rem;line-height: 1.45;color: #334155;margin: 0;font-weight: 600;text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);}
html[data-theme="dark"] .eyecatch-tagline{color: #e2e8f0;text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);}
.top-subcontents-section{width: 100%;margin: 0 0 20px 0;box-sizing: border-box;}
.top-subcontents-grid{display: grid;grid-template-columns: repeat(4, 1fr);gap: 14px;width: 100%;box-sizing: border-box;}
.top-subcontent-card{background: var(--bg-card, #ffffff);border: 1px solid var(--border-color, #e2e8f0);border-radius: 15px;padding: 14px 16px 12px 16px;box-sizing: border-box;display: flex;flex-direction: column;justify-content: space-between;min-height: 140px;cursor: pointer;position: relative;overflow: hidden;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s, border-color 0.2s;text-decoration: none !important;user-select: none;}
.top-subcontent-card:hover{transform: translateY(-2px);box-shadow: 0 6px 16px rgba(0, 0, 0, 0.09);border-color: #ea580c;}
.top-sc-header{display: flex;align-items: center;justify-content: space-between;margin-bottom: 8px;}
.top-sc-badge{display: inline-flex;align-items: center;gap: 4px;font-size: 0.68rem;font-weight: 800;padding: 2px 8px;border-radius: 999px;background: rgba(234, 88, 12, 0.09);color: #ea580c;}
.top-sc-category-tag{font-size: 0.66rem;color: var(--text-sub, #64748b);font-weight: 700;}
.top-sc-title{font-size: 0.96rem;font-weight: 800;color: var(--text-main, #1e293b);margin-bottom: 5px;line-height: 1.35;}
.top-sc-sales-copy{font-size: 0.8rem;font-weight: 800;color: #b45309;margin-bottom: 4px;line-height: 1.4;}
html[data-theme="dark"] .top-sc-sales-copy{color: #fbbf24;}
.top-sc-desc{font-size: 0.73rem;color: var(--text-sub, #64748b);line-height: 1.45;}
.top-sc-footer{display: flex;align-items: center;justify-content: space-between;margin-top: 12px;padding-top: 8px;border-top: 1px solid rgba(0, 0, 0, 0.04);}
html[data-theme="dark"] .top-sc-footer{border-top-color: rgba(255, 255, 255, 0.06);}
.top-sc-icon-wrap{display: inline-flex;align-items: center;justify-content: center;width: 28px;height: 28px;border-radius: 8px;background: rgba(234, 88, 12, 0.08);color: #ea580c;}
.top-sc-action-btn{display: inline-flex;align-items: center;gap: 4px;font-size: 0.72rem;font-weight: 800;color: #ea580c;padding: 4px 10px;border-radius: 999px;background: rgba(234, 88, 12, 0.08);transition: background 0.15s, color 0.15s;}
.top-subcontent-card:hover .top-sc-action-btn{background: #ea580c;color: #ffffff;}
@media (max-width: 1024px){.top-subcontents-grid{grid-template-columns: repeat(2, 1fr);gap: 12px;}}
@media (max-width: 768px){.top-subcontents-grid{grid-template-columns: 1fr;gap: 10px;}.top-subcontent-card{min-height: auto;padding: 12px 14px;}}
.hero-carousel-section{position: relative;margin: 0 0 20px 0;width: 100%;user-select: none;scroll-margin-top: calc(var(--header-actual-height, 108px) + 12px);}
.hero-carousel-container{position: relative;width: 100%;padding: 0 44px;box-sizing: border-box;}
.hero-carousel-track{display: flex;overflow-x: auto;scroll-behavior: smooth;-webkit-overflow-scrolling: touch;scrollbar-width: none;gap: 12px;padding: 6px 0 24px 0;border-radius: 16px;}
.hero-carousel-track::-webkit-scrollbar{display: none;}
.hero-banner-card{flex: 0 0 calc((100% - 48px) / 5);min-width: calc((100% - 48px) / 5);max-width: calc((100% - 48px) / 5);width: calc((100% - 48px) / 5);height: 204px;box-sizing: border-box;border-radius: 15px;padding: 9px 11px 7px 11px;display: flex;flex-direction: column;justify-content: space-between;cursor: pointer;position: relative;overflow: hidden;box-shadow: 0 3px 14px rgba(0, 0, 0, 0.07);transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s, border-color 0.22s;border: 1px solid rgba(255, 255, 255, 0.15);text-decoration: none !important;user-select: none;}
.hero-banner-card, .hero-banner-card *{text-decoration: none !important;}
.hero-banner-card:hover{transform: translateY(-3px);box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);}
:root:not([data-theme="light"]) .hero-banner-card::before, html[data-theme="dark"] .hero-banner-card::before{display: none !important;}
html[data-theme="light"] .hero-banner-card::before{display: none !important;}
.hero-tile-header{display: flex;align-items: center;justify-content: space-between;gap: 5px;}
.hero-store-pill{font-size: 0.67rem;font-weight: 800;padding: 2.5px 8px;border-radius: 999px;display: inline-flex;align-items: center;line-height: 1.2;white-space: nowrap;flex-shrink: 0;}
.hero-badge-notice{font-size: 0.62rem;font-weight: 800;padding: 2.5px 8.5px;border-radius: 999px;background: linear-gradient(135deg, #833ab4 0%, #e1306c 40%, #fd1d1d 70%, #fcb045 100%);color: #ffffff !important;border: none;white-space: nowrap;letter-spacing: 0.3px;line-height: 1.2;box-shadow: 0 2px 6px rgba(225, 48, 108, 0.28);display: inline-flex;align-items: center;flex-shrink: 0;}
html[data-theme="light"] .hero-badge-notice{font-size: 0.6rem;font-weight: 700;padding: 1.5px 6.5px;background: rgba(0, 0, 0, 0.05);border: 1px solid rgba(0, 0, 0, 0.12) !important;color: var(--text-main) !important;box-shadow: none !important;letter-spacing: normal;}
.hero-tile-body{display: flex;flex-direction: column;gap: 2px;margin: 2px 0;flex: 1;justify-content: center;}
.hero-discount-headline{font-size: 0.95rem;font-weight: 900;line-height: 1.24;letter-spacing: -0.3px;white-space: normal;word-break: break-word;overflow: hidden;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;}
.hero-tile-sub{font-size: 0.67rem;font-weight: 700;color: var(--text-sub);line-height: 1.25;white-space: normal;word-break: break-word;overflow: hidden;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;}
html[data-theme="dark"] .hero-tile-sub{color: #cbd5e1;}
.hero-tile-footer{display: flex;align-items: flex-end;justify-content: space-between;margin-top: auto;padding-top: 2px;min-height: 66px;}
.hero-footer-spacer{flex: 1;}
.hero-card-illust{width: 66px;height: 66px;object-fit: contain;filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s;user-select: none;pointer-events: none;flex-shrink: 0;}
.hero-banner-card:hover .hero-card-illust{transform: scale(1.06) translateY(-2px);filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.12));}
.hero-tile-action-btn{display: inline-flex;align-items: center;gap: 4px;padding: 3.5px 10px;margin-bottom: 2px;border-radius: 999px;font-size: 0.67rem;font-weight: 800;color: #ffffff;background: rgba(30, 41, 59, 0.85);border: 1px solid rgba(255, 255, 255, 0.22);white-space: nowrap;box-shadow: 0 2px 6px rgba(0,0,0,0.14);transition: background 0.15s, transform 0.15s, box-shadow 0.15s;}
html[data-theme="light"] .hero-tile-action-btn{background: #ffffff;color: #0f172a;border-color: #cbd5e1;box-shadow: 0 2px 5px rgba(0,0,0,0.06);}
:root:not([data-theme="light"]) .hero-banner-card, html[data-theme="dark"] .hero-banner-card{background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 36%, transparent 72%), linear-gradient(155deg, #1e2433 0%, #151923 48%, #0f121a 100%);border: 1px solid rgba(255, 255, 255, 0.12);border-top: 2px solid rgba(255, 255, 255, 0.25);border-left: 1px solid rgba(255, 255, 255, 0.18);box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);}
:root:not([data-theme="light"]) .hero-banner-card:hover, html[data-theme="dark"] .hero-banner-card:hover{box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.08);border-color: rgba(255, 255, 255, 0.3);}
:root:not([data-theme="light"]) .hero-banner-card.ranking, html[data-theme="dark"] .hero-banner-card.ranking{background: radial-gradient(circle at 0% 0%, rgba(254, 240, 138, 0.26) 0%, rgba(234, 179, 8, 0.12) 36%, transparent 72%), linear-gradient(155deg, #282215 0%, #1c180e 48%, #100e08 100%);border: 1px solid rgba(234, 179, 8, 0.30);border-top: 2px solid #eab308;border-left: 1px solid rgba(234, 179, 8, 0.35);}
:root:not([data-theme="light"]) .hero-banner-card.ranking:hover, html[data-theme="dark"] .hero-banner-card.ranking:hover{box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 22px rgba(234, 179, 8, 0.25);border-color: rgba(234, 179, 8, 0.55);}
.hero-banner-card.ranking .hero-discount-headline{color: #fef08a;}
.hero-banner-card.ranking .hero-store-pill{background: rgba(234, 179, 8, 0.20);border: 1px solid rgba(234, 179, 8, 0.45);color: #fef08a;}
:root:not([data-theme="light"]) .hero-banner-card.free, html[data-theme="dark"] .hero-banner-card.free{background: radial-gradient(circle at 0% 0%, rgba(167, 243, 208, 0.26) 0%, rgba(16, 185, 129, 0.12) 36%, transparent 72%), linear-gradient(155deg, #142a20 0%, #0d1e17 48%, #08120e 100%);border: 1px solid rgba(16, 185, 129, 0.30);border-top: 2px solid #10b981;border-left: 1px solid rgba(16, 185, 129, 0.35);}
:root:not([data-theme="light"]) .hero-banner-card.free:hover, html[data-theme="dark"] .hero-banner-card.free:hover{box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 22px rgba(16, 185, 129, 0.25);border-color: rgba(16, 185, 129, 0.55);}
.hero-banner-card.free .hero-store-pill{background: rgba(16, 185, 129, 0.20);border: 1px solid rgba(16, 185, 129, 0.45);color: #a7f3d0;}
:root:not([data-theme="light"]) .hero-banner-card.media, html[data-theme="dark"] .hero-banner-card.media{background: radial-gradient(circle at 0% 0%, rgba(254, 205, 211, 0.26) 0%, rgba(251, 113, 133, 0.12) 36%, transparent 72%), linear-gradient(155deg, #2b171e 0%, #1e1015 48%, #12090d 100%);border: 1px solid rgba(251, 113, 133, 0.30);border-top: 2px solid #fb7185;border-left: 1px solid rgba(251, 113, 133, 0.35);}
:root:not([data-theme="light"]) .hero-banner-card.media:hover, html[data-theme="dark"] .hero-banner-card.media:hover{box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 22px rgba(251, 113, 133, 0.25);border-color: rgba(251, 113, 133, 0.55);}
.hero-banner-card.media .hero-discount-headline{color: #fecdd3;}
.hero-banner-card.media .hero-store-pill{background: rgba(251, 113, 133, 0.20);border: 1px solid rgba(251, 113, 133, 0.45);color: #fecdd3;}
:root:not([data-theme="light"]) .hero-banner-card.awards, html[data-theme="dark"] .hero-banner-card.awards{background: radial-gradient(circle at 0% 0%, rgba(233, 213, 255, 0.26) 0%, rgba(168, 85, 247, 0.12) 36%, transparent 72%), linear-gradient(155deg, #25182e 0%, #1a1020 48%, #100a14 100%);border: 1px solid rgba(168, 85, 247, 0.30);border-top: 2px solid #a855f7;border-left: 1px solid rgba(168, 85, 247, 0.35);}
:root:not([data-theme="light"]) .hero-banner-card.awards:hover, html[data-theme="dark"] .hero-banner-card.awards:hover{box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 22px rgba(168, 85, 247, 0.25);border-color: rgba(168, 85, 247, 0.55);}
.hero-banner-card.awards .hero-discount-headline{color: #e9d5ff;}
.hero-banner-card.awards .hero-store-pill{background: rgba(168, 85, 247, 0.20);border: 1px solid rgba(168, 85, 247, 0.45);color: #e9d5ff;}
:root:not([data-theme="light"]) .hero-banner-card.youtube, html[data-theme="dark"] .hero-banner-card.youtube{background: radial-gradient(circle at 0% 0%, rgba(186, 230, 253, 0.26) 0%, rgba(56, 189, 248, 0.12) 36%, transparent 72%), linear-gradient(155deg, #152530 0%, #0e1a22 48%, #081016 100%);border: 1px solid rgba(56, 189, 248, 0.30);border-top: 2px solid #38bdf8;border-left: 1px solid rgba(56, 189, 248, 0.35);}
:root:not([data-theme="light"]) .hero-banner-card.youtube:hover, html[data-theme="dark"] .hero-banner-card.youtube:hover{box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 22px rgba(56, 189, 248, 0.25);border-color: rgba(56, 189, 248, 0.55);}
.hero-banner-card.youtube .hero-discount-headline{color: #bae6fd;}
.hero-banner-card.youtube .hero-store-pill{background: rgba(56, 189, 248, 0.20);border: 1px solid rgba(56, 189, 248, 0.45);color: #bae6fd;}
:root:not([data-theme="light"]) .hero-banner-card.schedule, html[data-theme="dark"] .hero-banner-card.schedule{background: radial-gradient(circle at 0% 0%, rgba(231, 229, 228, 0.22) 0%, rgba(168, 162, 158, 0.09) 36%, transparent 72%), linear-gradient(155deg, #22201e 0%, #181715 48%, #100f0e 100%);border: 1px solid rgba(168, 162, 158, 0.30);border-top: 2px solid #a8a29e;border-left: 1px solid rgba(168, 162, 158, 0.35);}
:root:not([data-theme="light"]) .hero-banner-card.schedule:hover, html[data-theme="dark"] .hero-banner-card.schedule:hover{box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 22px rgba(168, 162, 158, 0.25);border-color: rgba(168, 162, 158, 0.55);}
.hero-banner-card.schedule .hero-discount-headline{color: #e7e5e4;}
.hero-banner-card.schedule .hero-store-pill{background: rgba(168, 162, 158, 0.20);border: 1px solid rgba(168, 162, 158, 0.45);color: #e7e5e4;}
:root:not([data-theme="light"]) .hero-banner-card.unlimited, html[data-theme="dark"] .hero-banner-card.unlimited{background: radial-gradient(circle at 0% 0%, rgba(253, 230, 138, 0.26) 0%, rgba(245, 158, 11, 0.12) 36%, transparent 72%), linear-gradient(155deg, #2a1f14 0%, #1d150d 48%, #110c07 100%);border: 1px solid rgba(245, 158, 11, 0.30);border-top: 2px solid #f59e0b;border-left: 1px solid rgba(245, 158, 11, 0.35);}
:root:not([data-theme="light"]) .hero-banner-card.unlimited:hover, html[data-theme="dark"] .hero-banner-card.unlimited:hover{box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 22px rgba(245, 158, 11, 0.25);border-color: rgba(245, 158, 11, 0.55);}
.hero-banner-card.unlimited .hero-discount-headline{color: #fde68a;}
.hero-banner-card.unlimited .hero-store-pill{background: rgba(245, 158, 11, 0.20);border: 1px solid rgba(245, 158, 11, 0.45);color: #fde68a;}
:root:not([data-theme="light"]) .hero-banner-card.reader, html[data-theme="dark"] .hero-banner-card.reader{background: radial-gradient(circle at 0% 0%, rgba(153, 246, 228, 0.26) 0%, rgba(20, 184, 166, 0.12) 36%, transparent 72%), linear-gradient(155deg, #132a27 0%, #0d1e1c 48%, #071211 100%);border: 1px solid rgba(20, 184, 166, 0.30);border-top: 2px solid #14b8a6;border-left: 1px solid rgba(20, 184, 166, 0.35);}
:root:not([data-theme="light"]) .hero-banner-card.reader:hover, html[data-theme="dark"] .hero-banner-card.reader:hover{box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 22px rgba(20, 184, 166, 0.25);border-color: rgba(20, 184, 166, 0.55);}
.hero-banner-card.reader .hero-discount-headline{color: #99f6e4;}
.hero-banner-card.reader .hero-store-pill{background: rgba(20, 184, 166, 0.20);border: 1px solid rgba(20, 184, 166, 0.45);color: #99f6e4;}
:root:not([data-theme="light"]) .hero-banner-card.reading-items, html[data-theme="dark"] .hero-banner-card.reading-items{background: radial-gradient(circle at 0% 0%, rgba(251, 207, 232, 0.26) 0%, rgba(236, 72, 153, 0.12) 36%, transparent 72%), linear-gradient(155deg, #2b1623 0%, #1e0f18 48%, #12090e 100%);border: 1px solid rgba(236, 72, 153, 0.32);border-top: 2px solid #ec4899;border-left: 1px solid rgba(236, 72, 153, 0.38);}
:root:not([data-theme="light"]) .hero-banner-card.reading-items:hover, html[data-theme="dark"] .hero-banner-card.reading-items:hover{box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 22px rgba(236, 72, 153, 0.26);border-color: rgba(236, 72, 153, 0.58);}
.hero-banner-card.reading-items .hero-discount-headline{color: #fbcfe8;}
.hero-banner-card.reading-items .hero-store-pill{background: rgba(236, 72, 153, 0.22);border: 1px solid rgba(236, 72, 153, 0.48);color: #fbcfe8;}
html[data-theme="light"] .hero-banner-card{box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);}
html[data-theme="light"] .hero-banner-card:hover{box-shadow: 0 8px 20px rgba(0, 0, 0, 0.09);}
html[data-theme="light"] .hero-banner-card.ranking{background: linear-gradient(145deg, hsl(42, 45%, 96%) 0%, hsl(42, 40%, 91%) 55%, #ffffff 100%);border: 1.5px solid hsl(42, 40%, 82%);border-top: 2.5px solid hsl(42, 75%, 46%);}
html[data-theme="light"] .hero-banner-card.ranking .hero-discount-headline{color: hsl(42, 75%, 28%);}
html[data-theme="light"] .hero-banner-card.ranking .hero-store-pill{background: hsl(42, 75%, 44%);color: #ffffff;border: none;}
html[data-theme="light"] .hero-banner-card.free{background: linear-gradient(145deg, hsl(158, 45%, 96%) 0%, hsl(158, 40%, 91%) 55%, #ffffff 100%);border: 1.5px solid hsl(158, 40%, 82%);border-top: 2.5px solid hsl(158, 65%, 40%);}
html[data-theme="light"] .hero-banner-card.free .hero-discount-headline{color: hsl(158, 70%, 26%);}
html[data-theme="light"] .hero-banner-card.free .hero-store-pill{background: hsl(158, 65%, 38%);color: #ffffff;border: none;}
html[data-theme="light"] .hero-banner-card.media{background: linear-gradient(145deg, hsl(14, 48%, 96%) 0%, hsl(14, 42%, 91%) 55%, #ffffff 100%);border: 1.5px solid hsl(14, 42%, 82%);border-top: 2.5px solid hsl(14, 75%, 54%);}
html[data-theme="light"] .hero-banner-card.media .hero-discount-headline{color: hsl(14, 75%, 32%);}
html[data-theme="light"] .hero-banner-card.media .hero-store-pill{background: hsl(14, 75%, 50%);color: #ffffff;border: none;}
html[data-theme="light"] .hero-banner-card.awards{background: linear-gradient(145deg, hsl(270, 45%, 96%) 0%, hsl(270, 40%, 91%) 55%, #ffffff 100%);border: 1.5px solid hsl(270, 40%, 82%);border-top: 2.5px solid hsl(270, 65%, 52%);}
html[data-theme="light"] .hero-banner-card.awards .hero-discount-headline{color: hsl(270, 65%, 32%);}
html[data-theme="light"] .hero-banner-card.awards .hero-store-pill{background: hsl(270, 65%, 48%);color: #ffffff;border: none;}
html[data-theme="light"] .hero-banner-card.youtube{background: linear-gradient(145deg, hsl(205, 45%, 96%) 0%, hsl(205, 40%, 91%) 55%, #ffffff 100%);border: 1.5px solid hsl(205, 40%, 82%);border-top: 2.5px solid hsl(205, 75%, 48%);}
html[data-theme="light"] .hero-banner-card.youtube .hero-discount-headline{color: hsl(205, 75%, 28%);}
html[data-theme="light"] .hero-banner-card.youtube .hero-store-pill{background: hsl(205, 75%, 44%);color: #ffffff;border: none;}
html[data-theme="light"] .hero-banner-card.schedule{background: linear-gradient(145deg, hsl(36, 22%, 96%) 0%, hsl(36, 18%, 91%) 55%, #ffffff 100%);border: 1.5px solid hsl(36, 18%, 80%);border-top: 2.5px solid hsl(36, 28%, 46%);}
html[data-theme="light"] .hero-banner-card.schedule .hero-discount-headline{color: hsl(36, 25%, 26%);}
html[data-theme="light"] .hero-banner-card.schedule .hero-store-pill{background: hsl(36, 25%, 40%);color: #ffffff;border: none;}
html[data-theme="light"] .hero-banner-card.unlimited{background: linear-gradient(145deg, hsl(28, 48%, 96%) 0%, hsl(28, 42%, 91%) 55%, #ffffff 100%);border: 1.5px solid hsl(28, 42%, 82%);border-top: 2.5px solid hsl(28, 75%, 50%);}
html[data-theme="light"] .hero-banner-card.unlimited .hero-discount-headline{color: hsl(28, 75%, 30%);}
html[data-theme="light"] .hero-banner-card.unlimited .hero-store-pill{background: hsl(28, 75%, 46%);color: #ffffff;border: none;}
html[data-theme="light"] .hero-banner-card.reader{background: linear-gradient(145deg, hsl(175, 45%, 96%) 0%, hsl(175, 40%, 91%) 55%, #ffffff 100%);border: 1.5px solid hsl(175, 40%, 82%);border-top: 2.5px solid hsl(175, 65%, 40%);}
html[data-theme="light"] .hero-banner-card.reader .hero-discount-headline{color: hsl(175, 65%, 26%);}
html[data-theme="light"] .hero-banner-card.reader .hero-store-pill{background: hsl(175, 65%, 38%);color: #ffffff;border: none;}
html[data-theme="light"] .hero-banner-card.reading-items{background: linear-gradient(145deg, hsl(334, 52%, 96%) 0%, hsl(334, 45%, 91%) 55%, #ffffff 100%);border: 1.5px solid hsl(334, 42%, 82%);border-top: 2.5px solid hsl(334, 72%, 48%);}
html[data-theme="light"] .hero-banner-card.reading-items .hero-discount-headline{color: hsl(334, 72%, 30%);}
html[data-theme="light"] .hero-banner-card.reading-items .hero-store-pill{background: hsl(334, 72%, 46%);color: #ffffff;border: none;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="purple"]{background: linear-gradient(145deg, #f5f0ff 0%, #ede4ff 56%, #ffffff 100%);border: 1.5px solid #d5c2fa;border-top: 3px solid #7c3aed;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="purple"] .hero-discount-headline{color: #5b21b6;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="purple"] .hero-store-pill{background: #7c3aed;color: #ffffff;border: none;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="purple"], html[data-theme="dark"] .hero-banner-card[data-subcon-color="purple"]{background: radial-gradient(circle at 0% 0%, rgba(196, 181, 253, 0.28) 0%, rgba(124, 58, 237, 0.14) 38%, transparent 72%), linear-gradient(155deg, #241638 0%, #180f26 50%, #0e0917 100%);border: 1px solid rgba(139, 92, 246, 0.36);border-top: 2.5px solid #8b5cf6;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="purple"] .hero-discount-headline, html[data-theme="dark"] .hero-banner-card[data-subcon-color="purple"] .hero-discount-headline{color: #ddd6fe;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="purple"] .hero-store-pill, html[data-theme="dark"] .hero-banner-card[data-subcon-color="purple"] .hero-store-pill{background: rgba(124, 58, 237, 0.28);border: 1px solid rgba(167, 139, 250, 0.5);color: #ede9fe;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="amber"]{background: linear-gradient(145deg, #fff5eb 0%, #ffe8d1 56%, #ffffff 100%);border: 1.5px solid #f9c79b;border-top: 3px solid #ea580c;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="amber"] .hero-discount-headline{color: #9a3412;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="amber"] .hero-store-pill{background: #ea580c;color: #ffffff;border: none;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="amber"], html[data-theme="dark"] .hero-banner-card[data-subcon-color="amber"]{background: radial-gradient(circle at 0% 0%, rgba(253, 186, 116, 0.28) 0%, rgba(234, 88, 12, 0.14) 38%, transparent 72%), linear-gradient(155deg, #2d1b10 0%, #1f130b 50%, #120b06 100%);border: 1px solid rgba(249, 115, 22, 0.36);border-top: 2.5px solid #f97316;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="amber"] .hero-discount-headline, html[data-theme="dark"] .hero-banner-card[data-subcon-color="amber"] .hero-discount-headline{color: #fed7aa;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="amber"] .hero-store-pill, html[data-theme="dark"] .hero-banner-card[data-subcon-color="amber"] .hero-store-pill{background: rgba(234, 88, 12, 0.28);border: 1px solid rgba(251, 146, 60, 0.5);color: #ffedd5;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="rose"]{background: linear-gradient(145deg, #fdf0f7 0%, #fbe0ef 56%, #ffffff 100%);border: 1.5px solid #f3b6d4;border-top: 3px solid #db2777;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="rose"] .hero-discount-headline{color: #9d174d;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="rose"] .hero-store-pill{background: #db2777;color: #ffffff;border: none;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="rose"], html[data-theme="dark"] .hero-banner-card[data-subcon-color="rose"]{background: radial-gradient(circle at 0% 0%, rgba(249, 168, 212, 0.28) 0%, rgba(219, 39, 119, 0.14) 38%, transparent 72%), linear-gradient(155deg, #2d1424 0%, #1f0e19 50%, #12080f 100%);border: 1px solid rgba(236, 72, 153, 0.36);border-top: 2.5px solid #ec4899;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="rose"] .hero-discount-headline, html[data-theme="dark"] .hero-banner-card[data-subcon-color="rose"] .hero-discount-headline{color: #fbcfe8;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="rose"] .hero-store-pill, html[data-theme="dark"] .hero-banner-card[data-subcon-color="rose"] .hero-store-pill{background: rgba(219, 39, 119, 0.28);border: 1px solid rgba(244, 114, 182, 0.5);color: #fce7f3;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="teal"]{background: linear-gradient(145deg, #eefcf9 0%, #daf5f0 56%, #ffffff 100%);border: 1.5px solid #99e2d8;border-top: 3px solid #0d9488;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="teal"] .hero-discount-headline{color: #115e59;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="teal"] .hero-store-pill{background: #0d9488;color: #ffffff;border: none;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="teal"], html[data-theme="dark"] .hero-banner-card[data-subcon-color="teal"]{background: radial-gradient(circle at 0% 0%, rgba(153, 246, 228, 0.28) 0%, rgba(13, 148, 136, 0.14) 38%, transparent 72%), linear-gradient(155deg, #112a28 0%, #0b1d1b 50%, #061110 100%);border: 1px solid rgba(20, 184, 166, 0.36);border-top: 2.5px solid #14b8a6;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="teal"] .hero-discount-headline, html[data-theme="dark"] .hero-banner-card[data-subcon-color="teal"] .hero-discount-headline{color: #99f6e4;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="teal"] .hero-store-pill, html[data-theme="dark"] .hero-banner-card[data-subcon-color="teal"] .hero-store-pill{background: rgba(13, 148, 136, 0.28);border: 1px solid rgba(45, 212, 191, 0.5);color: #ccfbf1;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="indigo"]{background: linear-gradient(145deg, #eef3ff 0%, #dce7ff 56%, #ffffff 100%);border: 1.5px solid #adc6ff;border-top: 3px solid #2563eb;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="indigo"] .hero-discount-headline{color: #1e3a8a;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="indigo"] .hero-store-pill{background: #1d4ed8;color: #ffffff;border: none;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="indigo"], html[data-theme="dark"] .hero-banner-card[data-subcon-color="indigo"]{background: radial-gradient(circle at 0% 0%, rgba(147, 197, 253, 0.30) 0%, rgba(37, 99, 235, 0.16) 38%, transparent 72%), linear-gradient(155deg, #131f3b 0%, #0d1529 50%, #080d1a 100%);border: 1px solid rgba(59, 130, 246, 0.40);border-top: 2.5px solid #3b82f6;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="indigo"] .hero-discount-headline, html[data-theme="dark"] .hero-banner-card[data-subcon-color="indigo"] .hero-discount-headline{color: #bfdbfe;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="indigo"] .hero-store-pill, html[data-theme="dark"] .hero-banner-card[data-subcon-color="indigo"] .hero-store-pill{background: rgba(37, 99, 235, 0.30);border: 1px solid rgba(96, 165, 250, 0.52);color: #dbeafe;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="gold"]{background: linear-gradient(145deg, #fefce8 0%, #fef3b8 56%, #ffffff 100%);border: 1.5px solid #f3d878;border-top: 3px solid #ca8a04;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="gold"] .hero-discount-headline{color: #854d0e;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="gold"] .hero-store-pill{background: #ca8a04;color: #ffffff;border: none;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="gold"], html[data-theme="dark"] .hero-banner-card[data-subcon-color="gold"]{background: radial-gradient(circle at 0% 0%, rgba(254, 240, 138, 0.28) 0%, rgba(202, 138, 4, 0.14) 38%, transparent 72%), linear-gradient(155deg, #2b2312 0%, #1d180c 50%, #110e07 100%);border: 1px solid rgba(234, 179, 8, 0.36);border-top: 2.5px solid #eab308;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="gold"] .hero-discount-headline, html[data-theme="dark"] .hero-banner-card[data-subcon-color="gold"] .hero-discount-headline{color: #fef08a;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="gold"] .hero-store-pill, html[data-theme="dark"] .hero-banner-card[data-subcon-color="gold"] .hero-store-pill{background: rgba(202, 138, 4, 0.28);border: 1px solid rgba(250, 204, 21, 0.5);color: #fef9c3;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="emerald"]{background: linear-gradient(145deg, #eefdf4 0%, #dcf8e6 56%, #ffffff 100%);border: 1.5px solid #9be3b7;border-top: 3px solid #16a34a;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="emerald"] .hero-discount-headline{color: #166534;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="emerald"] .hero-store-pill{background: #16a34a;color: #ffffff;border: none;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="emerald"], html[data-theme="dark"] .hero-banner-card[data-subcon-color="emerald"]{background: radial-gradient(circle at 0% 0%, rgba(187, 247, 208, 0.28) 0%, rgba(22, 163, 74, 0.14) 38%, transparent 72%), linear-gradient(155deg, #122b1c 0%, #0c1e14 50%, #07120c 100%);border: 1px solid rgba(34, 197, 94, 0.36);border-top: 2.5px solid #22c55e;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="emerald"] .hero-discount-headline, html[data-theme="dark"] .hero-banner-card[data-subcon-color="emerald"] .hero-discount-headline{color: #bbf7d0;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="emerald"] .hero-store-pill, html[data-theme="dark"] .hero-banner-card[data-subcon-color="emerald"] .hero-store-pill{background: rgba(22, 163, 74, 0.28);border: 1px solid rgba(74, 222, 128, 0.5);color: #dcfce7;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="crimson"]{background: linear-gradient(145deg, #fff1f1 0%, #ffe0e0 56%, #ffffff 100%);border: 1.5px solid #f7b0b0;border-top: 3px solid #dc2626;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="crimson"] .hero-discount-headline{color: #991b1b;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="crimson"] .hero-store-pill{background: #dc2626;color: #ffffff;border: none;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="crimson"], html[data-theme="dark"] .hero-banner-card[data-subcon-color="crimson"]{background: radial-gradient(circle at 0% 0%, rgba(254, 202, 202, 0.28) 0%, rgba(220, 38, 38, 0.14) 38%, transparent 72%), linear-gradient(155deg, #2d1416 0%, #1f0d0f 50%, #120809 100%);border: 1px solid rgba(239, 68, 68, 0.36);border-top: 2.5px solid #ef4444;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="crimson"] .hero-discount-headline, html[data-theme="dark"] .hero-banner-card[data-subcon-color="crimson"] .hero-discount-headline{color: #fecaca;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="crimson"] .hero-store-pill, html[data-theme="dark"] .hero-banner-card[data-subcon-color="crimson"] .hero-store-pill{background: rgba(220, 38, 38, 0.28);border: 1px solid rgba(248, 113, 113, 0.5);color: #fee2e2;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="sapphire"]{background: linear-gradient(145deg, #eef8ff 0%, #d8efff 56%, #ffffff 100%);border: 1.5px solid #99d3f8;border-top: 3px solid #0284c7;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="sapphire"] .hero-discount-headline{color: #075985;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="sapphire"] .hero-store-pill{background: #0284c7;color: #ffffff;border: none;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="sapphire"], html[data-theme="dark"] .hero-banner-card[data-subcon-color="sapphire"]{background: radial-gradient(circle at 0% 0%, rgba(186, 230, 253, 0.28) 0%, rgba(2, 132, 199, 0.15) 38%, transparent 72%), linear-gradient(155deg, #112536 0%, #0b1925 50%, #060f16 100%);border: 1px solid rgba(14, 165, 233, 0.38);border-top: 2.5px solid #0ea5e9;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="sapphire"] .hero-discount-headline, html[data-theme="dark"] .hero-banner-card[data-subcon-color="sapphire"] .hero-discount-headline{color: #bae6fd;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="sapphire"] .hero-store-pill, html[data-theme="dark"] .hero-banner-card[data-subcon-color="sapphire"] .hero-store-pill{background: rgba(2, 132, 199, 0.30);border: 1px solid rgba(56, 189, 248, 0.52);color: #e0f2fe;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="bronze"]{background: linear-gradient(145deg, #fbf5ee 0%, #f3e6d6 56%, #ffffff 100%);border: 1.5px solid #d9be9f;border-top: 3px solid #92400e;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="bronze"] .hero-discount-headline{color: #78350f;}
html[data-theme="light"] .hero-banner-card[data-subcon-color="bronze"] .hero-store-pill{background: #92400e;color: #ffffff;border: none;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="bronze"], html[data-theme="dark"] .hero-banner-card[data-subcon-color="bronze"]{background: radial-gradient(circle at 0% 0%, rgba(253, 213, 168, 0.25) 0%, rgba(146, 64, 14, 0.15) 38%, transparent 72%), linear-gradient(155deg, #271c15 0%, #1b130e 50%, #100b08 100%);border: 1px solid rgba(180, 83, 9, 0.38);border-top: 2.5px solid #b45309;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="bronze"] .hero-discount-headline, html[data-theme="dark"] .hero-banner-card[data-subcon-color="bronze"] .hero-discount-headline{color: #fed7aa;}
:root:not([data-theme="light"]) .hero-banner-card[data-subcon-color="bronze"] .hero-store-pill, html[data-theme="dark"] .hero-banner-card[data-subcon-color="bronze"] .hero-store-pill{background: rgba(146, 64, 14, 0.32);border: 1px solid rgba(217, 119, 6, 0.5);color: #ffedd5;}
#top-subcontents-section{width: 100%;margin: 0 0 12px 0;box-sizing: border-box;position: relative;user-select: none;}
#top-subcontents-section .top-sc-nav-bar{display: flex;align-items: center;justify-content: space-between;gap: 10px;margin-bottom: 7px;}
#top-subcontents-section .top-sc-tabs-group{display: inline-flex;align-items: center;gap: 6px;min-width: 0;background: rgba(15, 23, 42, 0.55);border: 1px solid rgba(255, 255, 255, 0.12);border-radius: 999px;padding: 3px;}
html[data-theme="light"] #top-subcontents-section .top-sc-tabs-group{background: #ede8df;border-color: rgba(180, 83, 9, 0.22);}
#top-subcontents-section .top-sc-slide-tab{display: inline-flex;align-items: center;gap: 6px;border: none;background: transparent;color: var(--text-sub, #94a3b8);font-size: 0.74rem;font-weight: 800;padding: 4px 12px;border-radius: 999px;cursor: pointer;transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;line-height: 1.25;white-space: nowrap;}
#top-subcontents-section .top-sc-slide-tab .top-sc-tab-sub{font-size: 0.64rem;font-weight: 700;opacity: 0.78;}
#top-subcontents-section .top-sc-slide-tab:hover{color: var(--text-main, #f8fafc);}
#top-subcontents-section .top-sc-slide-tab.active{background: linear-gradient(135deg, #ea580c 0%, #d97706 100%);color: #ffffff !important;box-shadow: 0 2px 8px rgba(234, 88, 12, 0.32);}
#top-subcontents-section .top-sc-controls-right{display: inline-flex;align-items: center;gap: 8px;flex-shrink: 0;}
.hikabon-live-db-pill{display: inline-flex;align-items: center;gap: 6px;padding: 4px 10px;border-radius: 999px;font-size: 0.68rem;font-weight: 800;color: #e2e8f0;background: rgba(15, 23, 42, 0.72);border: 1px solid rgba(16, 185, 129, 0.35);cursor: pointer;white-space: nowrap;line-height: 1.25;transition: border-color 0.2s ease, transform 0.15s ease;}
html[data-theme="light"] .hikabon-live-db-pill{color: #1e293b;background: #ffffff;border-color: rgba(16, 185, 129, 0.45);box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);}
.hikabon-live-db-pill:hover{border-color: #10b981;transform: translateY(-1px);}
.hikabon-live-db-footer-bar{width: 100%;max-width: 1280px;margin: 0 auto 12px auto;padding: 8px 14px;border-radius: 12px;background: rgba(15, 23, 42, 0.65);border: 1px solid rgba(16, 185, 129, 0.32);color: #e2e8f0;font-size: 0.75rem;font-weight: 700;display: flex;flex-wrap: wrap;align-items: center;justify-content: space-between;gap: 8px;box-sizing: border-box;cursor: pointer;}
html[data-theme="light"] .hikabon-live-db-footer-bar{background: #f5f1e8;border-color: rgba(16, 185, 129, 0.45);color: #334155;}
@media (max-width: 1260px){#top-subcontents-section .top-sc-slide-tab .top-sc-tab-sub{display: none;}#hikabon-live-db-monitor-top{max-width: 340px;overflow: hidden;text-overflow: ellipsis;}}
@media (max-width: 1024px){#hikabon-live-db-monitor-top{display: none !important;}.hikabon-live-db-footer-bar{font-size: 0.7rem;padding: 7px 10px;}}
#top-subcontents-section .top-sc-dots{display: inline-flex;align-items: center;gap: 5px;margin-right: 2px;}
#top-subcontents-section .top-sc-dot{width: 7px;height: 7px;border-radius: 999px;background: rgba(148, 163, 184, 0.38);cursor: pointer;transition: width 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease;}
#top-subcontents-section .top-sc-dot.active{width: 20px;background: #ea580c;}
#top-subcontents-section .top-sc-step-btn{width: 26px;height: 26px;border-radius: 999px;border: 1px solid rgba(255, 255, 255, 0.16);background: rgba(30, 41, 59, 0.85);color: #e2e8f0;display: inline-flex;align-items: center;justify-content: center;cursor: pointer;padding: 0;transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, background 0.18s ease;}
html[data-theme="light"] #top-subcontents-section .top-sc-step-btn{background: #ffffff;color: #334155;border-color: #cbd5e1;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);}
#top-subcontents-section .top-sc-step-btn:hover{border-color: #ea580c;color: #ea580c;transform: scale(1.08);}
#top-subcontents-section .top-sc-carousel-viewport{position: relative;width: 100%;box-sizing: border-box;}
@media (min-width: 1025px){#top-subcontents-section .top-sc-carousel-viewport{padding: 0 38px;}}
#top-subcontents-section .top-sc-carousel-track{position: relative;display: flex !important;flex-wrap: nowrap !important;overflow-x: auto !important;scroll-snap-type: x mandatory;scroll-behavior: smooth;-webkit-overflow-scrolling: touch;scrollbar-width: none;gap: 12px;padding: 3px 0 6px 0;box-sizing: border-box;width: 100%;}
#top-subcontents-section .top-sc-carousel-track::-webkit-scrollbar{display: none;}
#top-subcontents-section .top-sc-carousel-track .hero-banner-card{flex: 0 0 calc((100% - 48px) / 5) !important;min-width: calc((100% - 48px) / 5) !important;max-width: calc((100% - 48px) / 5) !important;width: calc((100% - 48px) / 5) !important;height: 204px !important;padding: 9px 11px 7px 11px !important;scroll-snap-align: start !important;box-sizing: border-box !important;}
@media (min-width: 1025px){#top-subcontents-section .top-sc-carousel-track .hero-banner-card{scroll-snap-align: none !important;}#top-subcontents-section .top-sc-carousel-track .hero-banner-card:nth-child(5n+1){scroll-snap-align: start !important;}}
#top-subcontents-section .top-sc-carousel-track .hero-banner-card .hero-store-pill{font-size: 0.63rem !important;padding: 2px 7px !important;}
#top-subcontents-section .top-sc-carousel-track .hero-banner-card .hero-badge-notice{font-size: 0.57rem !important;padding: 2px 6px !important;}
#top-subcontents-section .top-sc-carousel-track .hero-banner-card .hero-discount-headline{font-size: 0.85rem !important;line-height: 1.26 !important;letter-spacing: -0.25px !important;}
#top-subcontents-section .top-sc-carousel-track .hero-banner-card .hero-tile-sub{font-size: 0.63rem !important;line-height: 1.26 !important;}
#top-subcontents-section .top-sc-carousel-track .hero-banner-card .hero-tile-footer{min-height: 56px !important;}
#top-subcontents-section .top-sc-carousel-track .hero-banner-card .hero-card-illust{width: 56px !important;height: 56px !important;}
#top-subcontents-section .top-sc-carousel-track .hero-banner-card .hero-tile-action-btn{font-size: 0.62rem !important;padding: 3px 8px !important;}
#top-subcontents-section .top-sc-edge-arrow{position: absolute;top: 50%;transform: translateY(-50%);width: 32px;height: 32px;border-radius: 50%;background: rgba(255, 255, 255, 0.96);color: #334155;border: 1px solid rgba(0, 0, 0, 0.12);display: flex;align-items: center;justify-content: center;cursor: pointer;z-index: 15;box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;}
html[data-theme="dark"] #top-subcontents-section .top-sc-edge-arrow{background: rgba(30, 41, 59, 0.94);color: #e2e8f0;border-color: rgba(255, 255, 255, 0.18);box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);}
#top-subcontents-section .top-sc-edge-arrow.prev{left: 0px;}
#top-subcontents-section .top-sc-edge-arrow.next{right: 0px;animation: arrowBeckonNext 3.6s cubic-bezier(0.25, 1, 0.5, 1) infinite;}
html[data-theme="dark"] #top-subcontents-section .top-sc-edge-arrow.next{animation-name: arrowBeckonNextDark;}
#top-subcontents-section .top-sc-edge-arrow:hover{animation-play-state: paused;color: #ea580c;border-color: #fdba74;transform: translateY(-50%) scale(1.12) !important;}
@media (min-width: 641px) and (max-width: 1024px){#top-subcontents-section .top-sc-edge-arrow{display: none !important;}#top-subcontents-section .top-sc-slide-tab .top-sc-tab-sub{display: none;}#top-subcontents-section .top-sc-carousel-track{gap: 11px !important;padding: 3px 20px 8px 2px !important;}#top-subcontents-section .top-sc-carousel-track .hero-banner-card{flex: 0 0 38% !important;min-width: 230px !important;max-width: 280px !important;width: 38% !important;height: 202px !important;}}
@media (max-width: 640px){#top-subcontents-section .top-sc-edge-arrow, #top-subcontents-section .top-sc-step-btn{display: none !important;}#top-subcontents-section .top-sc-nav-bar{gap: 6px;margin-bottom: 6px;}#top-subcontents-section .top-sc-tabs-group{flex: 1;display: grid;grid-template-columns: 1fr 1fr;gap: 4px;}#top-subcontents-section .top-sc-slide-tab{justify-content: center;font-size: 0.7rem;padding: 5px 6px;}#top-subcontents-section .top-sc-slide-tab .top-sc-tab-sub{display: none;}#top-subcontents-section .top-sc-carousel-track{gap: 10px !important;padding: 2px 26px 8px 2px !important;scroll-snap-type: x mandatory !important;}#top-subcontents-section .top-sc-carousel-track .hero-banner-card{flex: 0 0 80% !important;min-width: 80% !important;max-width: 285px !important;width: 80% !important;height: 200px !important;padding: 10px 12px 8px 12px !important;scroll-snap-align: start !important;scroll-snap-stop: always !important;}#top-subcontents-section .top-sc-carousel-track .hero-banner-card .hero-discount-headline{font-size: 0.92rem !important;}#top-subcontents-section .top-sc-carousel-track .hero-banner-card .hero-tile-sub{font-size: 0.67rem !important;}#top-subcontents-section .top-sc-carousel-track .hero-banner-card .hero-card-illust{width: 62px !important;height: 62px !important;}}
.top-mypage-shortcut-bar{display: flex;align-items: center;justify-content: space-between;gap: 8px;background: #111622;border: 1.5px solid var(--genre-border, #d97706);border-radius: 12px;padding: 4px 10px;margin: 8px 0 10px;min-height: 38px;box-sizing: border-box;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);}
html[data-theme="light"] .top-mypage-shortcut-bar{background: #ede8df;border-color: var(--genre-border, #d97706);}
.top-mp-lead-area{display: inline-flex;align-items: center;gap: 6px;flex-shrink: 0;font-size: 0.74rem;font-weight: 800;color: #f8fafc;white-space: nowrap;}
html[data-theme="light"] .top-mp-lead-area{color: #432818;}
.top-mp-status-pill{display: inline-flex;align-items: center;gap: 4px;padding: 3px 9px;border-radius: 999px;font-size: 0.70rem;font-weight: 800;line-height: 1.2;white-space: nowrap;}
.top-mp-status-pill.guest{background: linear-gradient(135deg, #78716c 0%, #57534e 100%);color: #ffffff;border: 1px solid #a8a29e;box-shadow: 0 2px 6px rgba(87, 83, 78, 0.22);}
.top-mp-status-pill.free{background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);color: #ffffff;border: 1px solid #38bdf8;box-shadow: 0 2px 6px rgba(2, 132, 199, 0.28);}
html[data-theme="dark"] .top-mp-status-pill.free{color: #ffffff;background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);border-color: #38bdf8;}
.top-mp-status-pill.premium{background: linear-gradient(135deg, #ea580c 0%, #f59e0b 100%);color: #ffffff;border: 1px solid #fb923c;box-shadow: 0 2px 8px rgba(234, 88, 12, 0.3);}
.top-mp-pills-track{display: flex;align-items: center;gap: 5px;flex: 1;min-width: 0;overflow-x: auto;scrollbar-width: none;-webkit-overflow-scrolling: touch;}
.top-mp-pills-track::-webkit-scrollbar{display: none;}
.top-mp-pills-track .reader-tab-pill{padding: 4px 8px;font-size: 0.74rem;font-weight: 800;white-space: nowrap;flex: 1;min-width: max-content;}
.top-mp-pills-track .reader-tab-pill:hover{border-color: #d97706;color: #b45309;background: #fffbeb;transform: translateY(-1px);}
html[data-theme="dark"] .top-mp-pills-track .reader-tab-pill:hover{background: #1e293b;color: #fbbf24;border-color: #f59e0b;}
.top-mp-cta-btn{flex-shrink: 0;display: inline-flex;align-items: center;gap: 4px;padding: 4px 12px;border-radius: 999px;font-size: 0.72rem;font-weight: 800;cursor: pointer;white-space: nowrap;border: 1.5px solid #c68b59;background: linear-gradient(135deg, #9a5b25 0%, #7c4316 100%);color: #fffdf9;box-shadow: 0 2px 6px rgba(124, 67, 22, 0.22);transition: all 0.15s ease;}
.top-mp-cta-btn:hover{background: linear-gradient(135deg, #b4692c 0%, #8c4d1b 100%);border-color: #deb086;color: #ffffff;transform: translateY(-1px);}
@media (max-width: 900px){.top-mypage-shortcut-bar{flex-wrap: wrap;padding: 6px 8px;gap: 6px;}.top-mp-pills-track{width: 100%;order: 3;}}
.hero-banner-card.kindle{background: linear-gradient(145deg, #998c77 0%, #4a4f5e 32%, #1e2536 60%, #141a24 100%);border: 1px solid rgba(245, 158, 11, 0.45);border-top: 3.5px solid #ff9900;}
.hero-banner-card.kindle .hero-discount-headline{color: #fef08a;}
.hero-banner-card.kindle .hero-store-pill{background: #d97706;}
.hero-banner-card.kobo{background: linear-gradient(145deg, #998086 0%, #4a4250 32%, #261b22 60%, #1a1318 100%);border: 1px solid rgba(239, 68, 68, 0.45);border-top: 3.5px solid #dc2626;}
.hero-banner-card.kobo .hero-discount-headline{color: #fecaca;}
.hero-banner-card.kobo .hero-store-pill{background: #dc2626;}
.hero-banner-card.ebook{background: linear-gradient(145deg, #7fa0a6 0%, #3e4f58 32%, #16242c 60%, #111a20 100%);border: 1px solid rgba(6, 182, 212, 0.45);border-top: 3.5px solid #06b6d4;}
.hero-banner-card.ebook .hero-discount-headline{color: #a5f3fc;}
.hero-banner-card.ebook .hero-store-pill{background: #0891b2;}
.hero-banner-card.dmm{background: linear-gradient(145deg, #7b8ea3 0%, #3e4a5d 32%, #161f30 60%, #111622 100%);border: 1px solid rgba(37, 99, 235, 0.45);border-top: 3.5px solid #2563eb;}
.hero-banner-card.dmm .hero-discount-headline{color: #bfdbfe;}
.hero-banner-card.dmm .hero-store-pill{background: #2563eb;}
.hero-banner-card.free{background: linear-gradient(145deg, #749682 0%, #3a5347 32%, #142820 60%, #101c17 100%);border: 1px solid rgba(16, 185, 129, 0.45);border-top: 3.5px solid #10b981;}
.hero-banner-card.free .hero-discount-headline{color: #a7f3d0;}
.hero-banner-card.free .hero-store-pill{background: #059669;}
.hero-banner-card.kadokawa{background: linear-gradient(145deg, #9281a3 0%, #453c52 32%, #241a2e 60%, #181120 100%);border: 1px solid rgba(168, 85, 247, 0.45);border-top: 3.5px solid #a855f7;}
.hero-banner-card.kadokawa .hero-discount-headline{color: #e9d5ff;}
.hero-banner-card.kadokawa .hero-store-pill{background: #9333ea;}
.hero-banner-card.shueisha{background: linear-gradient(145deg, #9f7d86 0%, #4b3945 32%, #2a1822 60%, #1c1117 100%);border: 1px solid rgba(244, 63, 94, 0.45);border-top: 3.5px solid #f43f5e;}
.hero-banner-card.shueisha .hero-discount-headline{color: #fecdd3;}
.hero-banner-card.shueisha .hero-store-pill{background: #e11d48;}
.hero-banner-card.kodansha{background: linear-gradient(145deg, #9c9377 0%, #4a4b3f 32%, #262115 60%, #1c1810 100%);border: 1px solid rgba(234, 179, 8, 0.45);border-top: 3.5px solid #eab308;}
.hero-banner-card.kodansha .hero-discount-headline{color: #fef08a;}
.hero-banner-card.kodansha .hero-store-pill{background: #ca8a04;}
html[data-theme="light"] .hero-banner-card.kindle{background: linear-gradient(145deg, #fffbeb 0%, #fef3c7 55%, #ffffff 100%);border: 1.5px solid #fcd34d;border-top: 3.5px solid #ea580c;}
html[data-theme="light"] .hero-banner-card.kindle .hero-discount-headline{color: #9a3412;}
html[data-theme="light"] .hero-banner-card.kindle .hero-store-pill{background: #ea580c;}
html[data-theme="light"] .hero-banner-card.kobo{background: linear-gradient(145deg, #fef2f2 0%, #fee2e2 55%, #ffffff 100%);border: 1.5px solid #fca5a5;border-top: 3.5px solid #dc2626;}
html[data-theme="light"] .hero-banner-card.kobo .hero-discount-headline{color: #991b1b;}
html[data-theme="light"] .hero-banner-card.kobo .hero-store-pill{background: #dc2626;}
html[data-theme="light"] .hero-banner-card.ebook{background: linear-gradient(145deg, #ecfeff 0%, #cffafe 55%, #ffffff 100%);border: 1.5px solid #a5f3fc;border-top: 3.5px solid #0891b2;}
html[data-theme="light"] .hero-banner-card.ebook .hero-discount-headline{color: #155e75;}
html[data-theme="light"] .hero-banner-card.ebook .hero-store-pill{background: #0891b2;}
html[data-theme="light"] .hero-banner-card.dmm{background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 55%, #ffffff 100%);border: 1.5px solid #bfdbfe;border-top: 3.5px solid #2563eb;}
html[data-theme="light"] .hero-banner-card.dmm .hero-discount-headline{color: #1e40af;}
html[data-theme="light"] .hero-banner-card.dmm .hero-store-pill{background: #2563eb;}
html[data-theme="light"] .hero-banner-card.kadokawa{background: linear-gradient(145deg, #faf5ff 0%, #f3e8ff 55%, #ffffff 100%);border: 1.5px solid #d8b4fe;border-top: 3.5px solid #9333ea;}
html[data-theme="light"] .hero-banner-card.kadokawa .hero-discount-headline{color: #6b21a8;}
html[data-theme="light"] .hero-banner-card.kadokawa .hero-store-pill{background: #9333ea;}
html[data-theme="light"] .hero-banner-card.shueisha{background: linear-gradient(145deg, #fff1f2 0%, #ffe4e6 55%, #ffffff 100%);border: 1.5px solid #fecdd3;border-top: 3.5px solid #e11d48;}
html[data-theme="light"] .hero-banner-card.shueisha .hero-discount-headline{color: #9f1239;}
html[data-theme="light"] .hero-banner-card.shueisha .hero-store-pill{background: #e11d48;}
html[data-theme="light"] .hero-banner-card.kodansha{background: linear-gradient(145deg, #fefce8 0%, #fef9c3 55%, #ffffff 100%);border: 1.5px solid #fde047;border-top: 3.5px solid #ca8a04;}
html[data-theme="light"] .hero-banner-card.kodansha .hero-discount-headline{color: #854d0e;}
html[data-theme="light"] .hero-banner-card.kodansha .hero-store-pill{background: #ca8a04;}
.hero-arrow-btn{position: absolute;top: 50%;transform: translateY(-50%);width: 40px;height: 40px;border-radius: 50%;background: rgba(255, 255, 255, 0.98);color: #475569;border: 1px solid rgba(0, 0, 0, 0.08);display: flex;align-items: center;justify-content: center;cursor: pointer;z-index: 20;transition: background 0.22s, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s, border-color 0.22s, color 0.22s;box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.06);backdrop-filter: blur(8px);-webkit-backdrop-filter: blur(8px);}
@keyframes arrowBeckonNext{0%, 72%, 100%{transform: translateY(-50%) translateX(0);color: #475569;}78%{transform: translateY(-50%) translateX(4.5px);color: #ea580c;}84%{transform: translateY(-50%) translateX(1.5px);color: #ea580c;}90%{transform: translateY(-50%) translateX(5px);color: #ea580c;}}
@keyframes arrowBeckonPrev{0%, 72%, 100%{transform: translateY(-50%) translateX(0);color: #475569;}78%{transform: translateY(-50%) translateX(-4.5px);color: #ea580c;}84%{transform: translateY(-50%) translateX(-1.5px);color: #ea580c;}90%{transform: translateY(-50%) translateX(-5px);color: #ea580c;}}
.hero-arrow-btn.next{right: 0px;animation: arrowBeckonNext 3.6s cubic-bezier(0.25, 1, 0.5, 1) infinite;}
.hero-arrow-btn.prev{left: 0px;animation: arrowBeckonPrev 3.6s cubic-bezier(0.25, 1, 0.5, 1) infinite;}
.hero-arrow-btn:hover{animation-play-state: paused;background: #ffffff;border-color: #fdba74;color: #ea580c;transform: translateY(-50%) scale(1.15) !important;box-shadow: 0 6px 20px rgba(234, 88, 12, 0.22), 0 2px 6px rgba(0, 0, 0, 0.08) !important;}
.hero-arrow-btn:active{transform: translateY(-50%) scale(0.92) !important;}
html[data-theme="dark"] .hero-arrow-btn{background: rgba(30, 41, 59, 0.95);color: #cbd5e1;border: 1px solid rgba(255, 255, 255, 0.16);box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);}
@keyframes arrowBeckonNextDark{0%, 72%, 100%{transform: translateY(-50%) translateX(0);color: #cbd5e1;}78%{transform: translateY(-50%) translateX(4.5px);color: var(--accent-gold);}84%{transform: translateY(-50%) translateX(1.5px);color: var(--accent-gold);}90%{transform: translateY(-50%) translateX(5px);color: var(--accent-gold);}}
@keyframes arrowBeckonPrevDark{0%, 72%, 100%{transform: translateY(-50%) translateX(0);color: #cbd5e1;}78%{transform: translateY(-50%) translateX(-4.5px);color: var(--accent-gold);}84%{transform: translateY(-50%) translateX(-1.5px);color: var(--accent-gold);}90%{transform: translateY(-50%) translateX(-5px);color: var(--accent-gold);}}
html[data-theme="dark"] .hero-arrow-btn.next{animation-name: arrowBeckonNextDark;}
html[data-theme="dark"] .hero-arrow-btn.prev{animation-name: arrowBeckonPrevDark;}
html[data-theme="dark"] .hero-arrow-btn:hover{background: #1e293b;border-color: rgba(245, 158, 11, 0.45);color: #fbbf24;box-shadow: 0 6px 22px rgba(245, 158, 11, 0.35) !important;}
.hero-dots-indicator{display: flex;align-items: center;justify-content: center;gap: 7px;margin-top: 10px;margin-bottom: 2px;user-select: none;}
.hero-dot-item{position: relative;width: 8px;height: 8px;border-radius: 999px;background: rgba(148, 163, 184, 0.35);cursor: pointer;overflow: hidden;transition: width 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;}
.hero-dot-item:hover{background: rgba(148, 163, 184, 0.75);transform: scale(1.15);}
.hero-dot-item.active{width: 24px;background: rgba(220, 38, 38, 0.25);box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);}
.hero-dot-item.active::after{content: '';position: absolute;top: 0;left: 0;height: 100%;width: 0%;background: #dc2626;border-radius: 999px;animation: heroDotFill 6.5s linear infinite;}
@keyframes heroDotFill{0%{width: 0%;}100%{width: 100%;}}
.hero-carousel-section:hover .hero-dot-item.active::after{animation-play-state: paused;}
html[data-theme="dark"] .hero-dot-item.active{background: rgba(245, 158, 11, 0.25);box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);}
html[data-theme="dark"] .hero-dot-item.active::after{background: var(--accent-gold);}
@media (min-width: 900px) and (max-width: 1024px){.hero-carousel-track{overflow-x: auto !important;scroll-snap-type: x mandatory !important;padding: 6px 0 24px 0 !important;border-radius: 16px !important;}.hero-banner-card{flex: 0 0 calc((100% - 48px) / 5) !important;min-width: calc((100% - 48px) / 5) !important;max-width: calc((100% - 48px) / 5) !important;width: calc((100% - 48px) / 5) !important;scroll-snap-align: start !important;}}
@media (min-width: 641px) and (max-width: 899px){.hero-carousel-track{overflow-x: auto !important;scroll-snap-type: x mandatory !important;padding: 6px 0 24px 0 !important;border-radius: 16px !important;}.hero-banner-card{flex: 0 0 calc((100% - 12px) / 2) !important;min-width: calc((100% - 12px) / 2) !important;max-width: calc((100% - 12px) / 2) !important;width: calc((100% - 12px) / 2) !important;scroll-snap-align: start !important;}}
@media (max-width: 640px){.hero-carousel-track{overflow-x: auto !important;scroll-snap-type: x mandatory !important;-webkit-overflow-scrolling: touch !important;gap: 12px !important;padding-left: 10px !important;padding-right: 28px !important;}.hero-banner-card{flex: 0 0 80% !important;min-width: 80% !important;max-width: 80% !important;width: 80% !important;height: 200px !important;scroll-snap-align: start !important;scroll-snap-stop: always !important;}}
.kindle-daily-showcase{margin: 14px 0 18px 0;width: 100%;scroll-margin-top: calc(var(--header-actual-height, 108px) + 12px);background: #ffffff;border: 1.5px solid rgba(214, 203, 190, 0.75);border-radius: 16px;overflow: hidden;box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);transition: box-shadow 0.25s ease, border-color 0.25s ease;}
html[data-theme="dark"] .kindle-daily-showcase{background: #131720;border-color: rgba(255, 255, 255, 0.1);box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);}
.kindle-daily-showcase:hover{box-shadow: 0 8px 24px rgba(234, 88, 12, 0.08);border-color: rgba(234, 88, 12, 0.35);}
html[data-theme="dark"] .kindle-daily-showcase:hover{box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);border-color: rgba(249, 115, 22, 0.45);}
.kds-link-cta{display: flex;align-items: center;justify-content: space-between;gap: 16px;padding: 14px 18px;background: #ffffff;flex-wrap: wrap;}
html[data-theme="dark"] .kds-link-cta{background: #131720;}
.kds-link-cta-text{display: flex;flex-direction: column;gap: 4px;min-width: 0;}
.kds-link-cta-text strong{font-size: 0.92rem;color: var(--text-main);}
.kds-link-cta-text span{font-size: 0.76rem;color: var(--text-sub);line-height: 1.5;}
.kds-link-cta-actions{display: flex;align-items: flex-end;gap: 12px;flex-shrink: 0;flex-wrap: wrap;}
.kds-link-cta-col{display: flex;flex-direction: column;align-items: center;gap: 6px;}
.kds-btn-countdown{padding: 2px 10px;font-size: 0.72rem;white-space: nowrap;}
.kds-btn-countdown--monthly{background: rgba(240, 249, 255, 0.92);border-color: rgba(2, 132, 199, 0.28);box-shadow: 0 1px 4px rgba(2, 132, 199, 0.08);}
.kds-btn-countdown--monthly .kds-countdown-lbl{color: #0284c7;}
.kds-btn-countdown--monthly .kds-timer-digits{color: #0369a1;}
html[data-theme="dark"] .kds-btn-countdown--monthly{background: rgba(12, 30, 46, 0.75);border-color: rgba(56, 189, 248, 0.35);}
html[data-theme="dark"] .kds-btn-countdown--monthly .kds-countdown-lbl{color: #38bdf8;}
html[data-theme="dark"] .kds-btn-countdown--monthly .kds-timer-digits{color: #7dd3fc;}
.kds-link-cta-btn{flex-shrink: 0;display: inline-flex;align-items: center;justify-content: center;gap: 6px;padding: 9px 18px;border-radius: 999px;background: #ea580c;color: #fff;font-size: 0.82rem;font-weight: 700;text-decoration: none;white-space: nowrap;transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;}
.kds-link-cta-btn:hover{background: #c2410c;transform: translateY(-1px);}
.kds-link-cta-btn--monthly{background: #0284c7;color: #ffffff;}
.kds-link-cta-btn--monthly:hover{background: #0369a1;}
html[data-theme="dark"] .kds-link-cta-btn--monthly{background: #0284c7;color: #ffffff;}
html[data-theme="dark"] .kds-link-cta-btn--monthly:hover{background: #0ea5e9;}
.top-pr-disclosure-badge, .kds-pr-tag{display: inline-flex;align-items: center;justify-content: center;padding: 1px 6px;font-size: 0.65rem;font-weight: 800;letter-spacing: 0.04em;color: #64748b;background: rgba(100, 116, 139, 0.12);border: 1px solid rgba(100, 116, 139, 0.28);border-radius: 4px;line-height: 1.3;flex-shrink: 0;}
html[data-theme="dark"] .top-pr-disclosure-badge, html[data-theme="dark"] .kds-pr-tag{color: #94a3b8;background: rgba(148, 163, 184, 0.14);border-color: rgba(148, 163, 184, 0.3);}
@media (max-width: 640px){.kds-link-cta{flex-direction: column;align-items: stretch;text-align: left;}.kds-link-cta-actions{display: grid;grid-template-columns: 1fr 1fr;gap: 8px;width: 100%;align-items: end;}.kds-link-cta-col{width: 100%;align-items: stretch;}.kds-btn-countdown{justify-content: center;padding: 2px 6px;}.kds-link-cta-btn{justify-content: center;padding: 9px 10px;font-size: 0.78rem;width: 100%;box-sizing: border-box;}}
.kds-header-bar{display: flex;justify-content: space-between;align-items: center;gap: 12px;padding: 7px 14px;background: #f0eee5;border-bottom: 1px solid rgba(0, 0, 0, 0.06);flex-wrap: wrap;}
html[data-theme="dark"] .kds-header-bar{background: #1c2230;border-bottom-color: rgba(255, 255, 255, 0.08);}
.kds-header-left{display: flex;align-items: center;gap: 10px;flex-wrap: wrap;}
.kds-badge-pill{display: inline-flex;align-items: center;gap: 5px;background: #ea580c;color: #ffffff;font-size: 0.76rem;font-weight: 800;padding: 4px 10px;border-radius: 999px;letter-spacing: 0.02em;box-shadow: 0 2px 6px rgba(234, 88, 12, 0.28);}
.kds-date-badge{font-size: 0.95rem;font-weight: 800;color: var(--text-main);letter-spacing: 0.02em;}
.kds-count-badge{font-size: 0.74rem;font-weight: 800;color: #ea580c;background: rgba(234, 88, 12, 0.12);border: 1px solid rgba(234, 88, 12, 0.28);padding: 2px 8px;border-radius: 999px;display: inline-flex;align-items: center;}
html[data-theme="dark"] .kds-count-badge{color: #fdba74;background: rgba(234, 88, 12, 0.2);border-color: rgba(234, 88, 12, 0.35);}
.kds-notice-tag{font-size: 0.72rem;font-weight: 600;color: #78350f;background: rgba(245, 158, 11, 0.15);padding: 3px 8px;border-radius: 6px;border: 1px solid rgba(245, 158, 11, 0.25);}
html[data-theme="dark"] .kds-notice-tag{color: #fde68a;background: rgba(245, 158, 11, 0.2);border-color: rgba(245, 158, 11, 0.3);}
.kds-countdown-wrap{display: inline-flex;align-items: center;gap: 6px;background: rgba(255, 255, 255, 0.85);border: 1px solid rgba(220, 38, 38, 0.25);padding: 3px 10px;border-radius: 999px;box-shadow: 0 1px 4px rgba(220, 38, 38, 0.08);}
html[data-theme="dark"] .kds-countdown-wrap{background: rgba(30, 24, 24, 0.7);border-color: rgba(248, 113, 113, 0.35);}
.kds-countdown-lbl{display: inline-flex;align-items: center;gap: 4px;font-size: 0.70rem;font-weight: 700;color: #dc2626;}
html[data-theme="dark"] .kds-countdown-lbl{color: #f87171;}
.kds-timer-digits{font-family: 'Montserrat', monospace, sans-serif;font-size: 0.84rem;font-weight: 800;color: #b91c1c;letter-spacing: 0.04em;font-variant-numeric: tabular-nums;}
html[data-theme="dark"] .kds-timer-digits{color: #fca5a5;}
.kds-header-right{display: flex;align-items: center;}
.kds-monthly-cta-btn{display: inline-flex;align-items: center;gap: 6px;background: #ffffff;color: #ea580c;border: 1.5px solid #ea580c;font-size: 0.78rem;font-weight: 800;padding: 5px 13px;border-radius: 999px;text-decoration: none;box-shadow: 0 2px 8px rgba(234, 88, 12, 0.15);transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);}
.kds-monthly-cta-btn:hover{background: #ea580c;color: #ffffff;box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);transform: translateY(-1px);text-decoration: none;}
html[data-theme="dark"] .kds-monthly-cta-btn{background: #181d28;color: #fb923c;border-color: #fb923c;}
html[data-theme="dark"] .kds-monthly-cta-btn:hover{background: #ea580c;color: #ffffff;border-color: #ea580c;}
.kds-monthly-icon-dot{width: 6px;height: 6px;border-radius: 50%;background: currentColor;}
.kds-body-gallery{background: #ffffff;padding: 8px 12px 10px 12px;}
html[data-theme="dark"] .kds-body-gallery{background: #131720;}
.kds-books-scroll-wrap{width: 100%;overflow: hidden;position: relative;}
.kds-books-scroll-wrap:hover .kds-arrow-btn{opacity: 1;visibility: visible;}
.kds-arrow-btn{position: absolute;top: calc(50% - 6px);transform: translateY(-50%);width: 40px;height: 40px;border-radius: 50%;background: rgba(255, 255, 255, 0.96);border: 1px solid rgba(203, 213, 225, 0.8);box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.06);display: flex;align-items: center;justify-content: center;cursor: pointer;z-index: 6;color: #334155;transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);opacity: 0.85;backdrop-filter: blur(4px);}
html[data-theme="dark"] .kds-arrow-btn{background: rgba(30, 41, 59, 0.94);border-color: rgba(255, 255, 255, 0.15);box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);color: #f1f5f9;}
.kds-arrow-btn:hover{transform: translateY(-50%) scale(1.12);background: #ffffff;color: #ea580c;border-color: rgba(234, 88, 12, 0.4);box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18), 0 0 12px rgba(234, 88, 12, 0.2);}
html[data-theme="dark"] .kds-arrow-btn:hover{background: #1e293b;color: #fb923c;border-color: rgba(249, 115, 22, 0.5);box-shadow: 0 6px 22px rgba(0, 0, 0, 0.55), 0 0 14px rgba(249, 115, 22, 0.25);}
.kds-arrow-btn:active{transform: translateY(-50%) scale(0.96);}
.kds-arrow-btn.prev{left: 10px;}
.kds-arrow-btn.next{right: 10px;}
@media (max-width: 640px){.kds-arrow-btn{display: none !important;}}
.kds-books-track{display: flex;gap: 14px;overflow-x: auto;padding: 8px 6px 12px 6px;scrollbar-width: none;-webkit-overflow-scrolling: touch;scroll-snap-type: x proximity;}
.kds-books-track::-webkit-scrollbar{display: none;}
.kds-book-card{flex: 0 0 130px;width: 130px;display: flex;flex-direction: column;background: #ffffff;border: 1px solid rgba(226, 232, 240, 0.85);border-radius: 14px;padding: 7px;text-decoration: none;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;scroll-snap-align: start;position: relative;cursor: pointer;}
html[data-theme="dark"] .kds-book-card{background: #1b212d;border-color: rgba(255, 255, 255, 0.08);box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);}
.kds-book-card:hover{transform: translateY(-5px);box-shadow: 0 12px 26px rgba(0, 0, 0, 0.09), 0 2px 6px rgba(234, 88, 12, 0.08);border-color: rgba(234, 88, 12, 0.4);text-decoration: none;}
html[data-theme="dark"] .kds-book-card:hover{box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);border-color: rgba(249, 115, 22, 0.55);}
div.kds-book-card, div.kds-book-card:hover{cursor: default;transform: none;border-color: rgba(226, 232, 240, 0.85);box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);}
html[data-theme="dark"] div.kds-book-card, html[data-theme="dark"] div.kds-book-card:hover{border-color: rgba(255, 255, 255, 0.08);box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);}
div.kds-book-card:hover .kds-card-cover-wrap img{transform: none;}
.kds-card-cover-wrap{width: 100%;height: 168px;aspect-ratio: 1 / 1.45;border-radius: 4px 8px 8px 4px;overflow: hidden;position: relative;background: #f1f5f9;box-shadow: -2px 1px 4px rgba(0, 0, 0, 0.08), 0 6px 14px rgba(0, 0, 0, 0.12);margin-bottom: 8px;flex-shrink: 0;}
html[data-theme="dark"] .kds-card-cover-wrap{background: #242c3d;box-shadow: -2px 1px 4px rgba(0, 0, 0, 0.3), 0 6px 16px rgba(0, 0, 0, 0.4);}
.kds-card-cover-wrap::before{content: "";position: absolute;left: 0;top: 0;bottom: 0;width: 5px;background: linear-gradient(to right, rgba(0, 0, 0, 0.22) 0%, rgba(255, 255, 255, 0.35) 45%, transparent 100%);z-index: 2;pointer-events: none;}
.kds-card-cover-wrap img{width: 100%;height: 100%;object-fit: cover;object-position: top center;display: block;transition: transform 0.3s ease;}
.kds-book-card:hover .kds-card-cover-wrap img{transform: scale(1.05);}
.kds-card-badge-row{display: flex;align-items: center;justify-content: space-between;gap: 4px;margin-bottom: 7px;width: 100%;min-height: 22px;}
.kds-card-discount-badge{display: inline-flex;align-items: center;justify-content: center;background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);color: #ffffff;font-size: 0.70rem;font-weight: 800;font-family: 'Montserrat', sans-serif;padding: 2.5px 7.5px;border-radius: 6px;box-shadow: 0 2px 6px rgba(220, 38, 38, 0.35);letter-spacing: 0.02em;line-height: 1.15;white-space: nowrap;}
.kds-card-kininaru-tag{display: inline-flex;align-items: center;gap: 2px;background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);color: #ffffff;font-size: 0.62rem;font-weight: 800;padding: 2.5px 6px;border-radius: 6px;box-shadow: 0 2px 6px rgba(124, 58, 237, 0.35);white-space: nowrap;margin-left: auto;}
.kds-book-card.is-kininaru-match{border: 2px solid #7c3aed !important;animation: pulseKininaruDeal 2s infinite ease-in-out;}
html[data-theme="dark"] .kds-book-card.is-kininaru-match{border-color: #a78bfa !important;}
@keyframes pulseKininaruDeal{0%, 100%{box-shadow: 0 2px 8px rgba(124, 58, 237, 0.25), 0 0 0 0 rgba(124, 58, 237, 0.45);border-color: #7c3aed;}50%{box-shadow: 0 4px 18px rgba(124, 58, 237, 0.55), 0 0 14px 2px rgba(167, 139, 250, 0.7);border-color: #c084fc;}}
.kds-card-price-row, .kds-card-price-block{display: flex;align-items: baseline;justify-content: center;gap: 3px;white-space: nowrap;line-height: 1;width: 100%;margin: 0;}
.kds-card-list-price{font-size: 0.68rem;color: #94a3b8;text-decoration: line-through;font-family: 'Montserrat', sans-serif;font-weight: 500;line-height: 1;}
html[data-theme="dark"] .kds-card-list-price{color: #64748b;}
.kds-card-price-arrow{font-size: 0.68rem;color: #cbd5e1;font-weight: 700;line-height: 1;user-select: none;margin: 0 1px;}
html[data-theme="dark"] .kds-card-price-arrow{color: #475569;}
.kds-card-sale-price{display: inline-flex;align-items: baseline;gap: 1px;line-height: 1;}
.kds-price-num{font-size: 1.10rem;font-weight: 900;color: #ea580c;font-family: 'Montserrat', sans-serif;letter-spacing: -0.02em;line-height: 1;}
html[data-theme="dark"] .kds-price-num{color: #f97316;}
.kds-yen{font-size: 0.82rem;font-weight: 800;color: #ea580c;font-family: 'Montserrat', sans-serif;line-height: 1;margin-right: 1px;}
html[data-theme="dark"] .kds-yen{color: #f97316;}
.kds-card-title{font-size: 0.74rem;font-weight: 700;line-height: 1.38;color: var(--text-main);display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;min-height: 2.76em;}
@media (max-width: 640px){.kindle-daily-showcase{margin: 8px 0 12px 0;border-radius: 14px;}.kds-header-bar{padding: 6px 10px;gap: 8px;}.kds-body-gallery{padding: 6px 8px 8px 8px;}.kds-date-badge{font-size: 0.84rem;}.kds-monthly-cta-btn{font-size: 0.70rem;padding: 3px 8px;}.kds-book-card{flex: 0 0 114px;width: 114px;padding: 6px;}.kds-card-cover-wrap{height: 148px;margin-bottom: 5px;}.kds-price-num{font-size: 1.05rem;}}
.sale-detail-page-container{width: 100%;display: flex;flex-direction: column;gap: 16px;padding-bottom: 40px;}
.sale-detail-top-nav{display: flex;align-items: center;justify-content: space-between;gap: 12px;flex-wrap: wrap;background: var(--bg-card);border: 1px solid var(--border-color);border-radius: 12px;padding: 12px 18px;margin-bottom: 6px;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);}
html[data-theme="light"] .sale-detail-top-nav{background: #faf8f5;border-color: #e7e2d8;}
.sale-back-btn{display: inline-flex;align-items: center;gap: 7px;background: #f1ede4;border: 1px solid #d6cebe;border-radius: 20px;padding: 7px 18px;font-size: 0.82rem;font-weight: 700;color: #374151;cursor: pointer;transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);white-space: nowrap;box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);}
.sale-back-btn:hover{background: #e5ded0;border-color: #c4b9a3;transform: translateX(-3px);color: #111827;}
html[data-theme="dark"] .sale-back-btn{background: #1e2636;border-color: #334155;color: #cbd5e1;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);}
html[data-theme="dark"] .sale-back-btn:hover{background: #283549;border-color: #475569;color: #f8fafc;}
.sale-detail-breadcrumb{display: flex;align-items: center;gap: 8px;font-size: 0.82rem;color: #94a3b8;flex-wrap: wrap;}
html[data-theme="light"] .sale-detail-breadcrumb{color: #64748b;}
.sale-detail-breadcrumb a{color: #b45309;text-decoration: none;font-weight: 700;transition: color 0.15s;}
.sale-detail-breadcrumb a:hover{text-decoration: underline;color: #d97706;}
html[data-theme="dark"] .sale-detail-breadcrumb a{color: #38bdf8;}
html[data-theme="dark"] .sale-detail-breadcrumb a:hover{color: #7dd3fc;}
.btn-goto-detail-badge{display: inline-flex;align-items: center;gap: 5px;padding: 4px 12px;border-radius: 20px;font-size: 0.78rem;font-weight: 800;background: linear-gradient(135deg, #f97316, #ea580c);color: #ffffff !important;border: 1px solid #c2410c;box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35);cursor: pointer;user-select: none;margin-left: auto;flex-shrink: 0;transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);}
.btn-goto-detail-badge svg{transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);}
.btn-goto-detail-badge:hover{background: linear-gradient(135deg, #fb923c, #ea580c);transform: translateY(-1px);box-shadow: 0 4px 12px rgba(234, 88, 12, 0.5);}
.sale-card-footer-cta{display: flex;align-items: center;justify-content: flex-end;gap: 6px;margin-top: 10px;padding-top: 10px;border-top: 1px dashed rgba(255, 255, 255, 0.08);font-size: 0.8rem;font-weight: 600;color: #94a3b8;transition: color 0.2s ease;}
.sale-card-footer-cta svg{transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);color: var(--accent-orange);}
html[data-theme="light"] .sale-card-footer-cta{border-top-color: rgba(0, 0, 0, 0.07);color: #64748b;}
.snap-slider-section{background: var(--bg-panel);border: 1px solid var(--border-color);border-radius: 12px;padding: 14px 16px;margin-bottom: 16px;position: relative;}
.snap-slider-header{display: flex;justify-content: space-between;align-items: center;margin-bottom: 12px;cursor: pointer;user-select: none;}
.snap-slider-title-wrap{display: flex;align-items: center;gap: 8px;flex-wrap: wrap;}
.snap-slider-title{font-size: 0.98rem;font-weight: 800;color: var(--text-main);display: flex;align-items: center;gap: 6px;}
.btn-slider-toggle{background: #1e2636;border: 1px solid var(--border-light);color: var(--text-main);font-size: 0.72rem;font-weight: 700;padding: 3px 9px;border-radius: 6px;cursor: pointer;display: inline-flex;align-items: center;gap: 4px;transition: all 0.2s;}
.btn-slider-toggle:hover{background: #2b374d;color: var(--accent-gold);}
.btn-slider-toggle.collapsed{background: rgba(212, 175, 55, 0.15);border-color: var(--accent-gold);color: var(--accent-gold-light);}
.slider-tag-pill{font-size: 0.68rem;font-weight: 700;padding: 2px 8px;border-radius: 12px;display: inline-flex;align-items: center;gap: 4px;}
.slider-tag-pill.mybookshelf{background: rgba(56, 189, 248, 0.15);border: 1px solid rgba(56, 189, 248, 0.4);color: #38bdf8;}
.slider-tag-pill.ranking{background: rgba(245, 158, 11, 0.15);border: 1px solid rgba(245, 158, 11, 0.4);color: #f59e0b;}
.slider-tag-pill.award{background: rgba(217, 119, 6, 0.15);border: 1px solid rgba(217, 119, 6, 0.4);color: #f59e0b;}
.slider-tag-pill.media{background: rgba(6, 182, 212, 0.15);border: 1px solid rgba(6, 182, 212, 0.4);color: #06b6d4;}
.slider-summary-pill{font-size: 0.7rem;background: rgba(212, 175, 55, 0.12);border: 1px solid rgba(212, 175, 55, 0.3);color: var(--accent-gold-light);padding: 2px 8px;border-radius: 12px;}
.snap-slider-track{display: flex;gap: 12px;overflow-x: auto;scroll-snap-type: x mandatory;-webkit-overflow-scrolling: touch;padding-bottom: 6px;scrollbar-width: thin;scrollbar-color: var(--border-light) transparent;}
.snap-slider-track::-webkit-scrollbar{height: 4px;}
.snap-slider-track::-webkit-scrollbar-thumb{background: var(--border-light);border-radius: 4px;}
.snap-slider-card{scroll-snap-align: start;flex: 0 0 230px;background: var(--bg-card);border: 1px solid var(--border-color);border-radius: 10px;padding: 10px;display: flex;flex-direction: column;justify-content: space-between;position: relative;transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;}
.snap-slider-card:hover{border-color: var(--border-light);box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);transform: translateY(-2px);}
.rank-crown-badge{position: absolute;top: -6px;left: -6px;width: 32px;height: 32px;border-radius: 50%;display: flex;align-items: center;justify-content: center;font-weight: 900;font-size: 0.85rem;box-shadow: 0 2px 6px rgba(0,0,0,0.3);z-index: 2;}
.rank-crown-badge.rank-1{background: linear-gradient(135deg, #fbbf24, #d97706);color: #78350f;border: 2px solid #fef3c7;}
.rank-crown-badge.rank-2{background: linear-gradient(135deg, #e2e8f0, #94a3b8);color: #1e293b;border: 2px solid #f8fafc;}
.rank-crown-badge.rank-3{background: linear-gradient(135deg, #fdba74, #ea580c);color: #431407;border: 2px solid #ffedd5;}
.rank-crown-badge.rank-other{background: #1e293b;color: #94a3b8;border: 1px solid #334155;}
.award-ribbon-tag{font-size: 0.66rem;font-weight: 800;background: linear-gradient(135deg, #fef3c7, #fde68a);color: #92400e;border: 1px solid #f59e0b;padding: 1px 7px;border-radius: 4px;display: inline-flex;align-items: center;gap: 3px;margin-bottom: 6px;align-self: flex-start;}
.media-ribbon-tag{font-size: 0.66rem;font-weight: 800;padding: 1px 7px;border-radius: 4px;display: inline-flex;align-items: center;gap: 3px;margin-bottom: 6px;align-self: flex-start;}
.media-ribbon-tag.anime{background: rgba(6, 182, 212, 0.15);border: 1px solid #06b6d4;color: #38bdf8;}
.media-ribbon-tag.drama{background: rgba(236, 72, 153, 0.15);border: 1px solid #ec4899;color: #f472b6;}
.media-ribbon-tag.stage{background: rgba(16, 185, 129, 0.15);border: 1px solid #10b981;color: #34d399;}
.snap-card-cover-box{width: 100%;height: 120px;border-radius: 6px;overflow: hidden;margin-bottom: 8px;display: flex;align-items: center;justify-content: center;background: linear-gradient(135deg, #1e293b, #0f172a);border: 1px solid var(--border-color);position: relative;}
.snap-card-cover-img{width: 100%;height: 100%;object-fit: cover;object-position: top center;}
.snap-card-title{font-size: 0.82rem;font-weight: 700;color: var(--text-main);line-height: 1.35;margin-bottom: 3px;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;height: 2.7em;}
.snap-card-author{font-size: 0.7rem;color: var(--accent-gold);margin-bottom: 6px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.snap-card-price-bar{background: var(--bg-card-alt);border: 1px solid var(--border-color);border-radius: 6px;padding: 5px 8px;margin-bottom: 8px;display: flex;justify-content: space-between;align-items: center;}
.snap-card-store{font-size: 0.68rem;color: var(--text-sub);}
.snap-card-price{font-size: 0.95rem;font-weight: 900;color: var(--accent-green);}
.snap-card-actions{display: flex;align-items: center;gap: 5px;margin-top: 6px;}
.btn-snap-sample{flex: 0 0 28px;width: 28px;height: 28px;background: rgba(0, 0, 0, 0.04);border: 1px solid var(--border-color);border-radius: 6px;padding: 0;color: var(--text-main);cursor: pointer;display: inline-flex;align-items: center;justify-content: center;transition: all 0.15s ease;box-sizing: border-box;}
.btn-snap-sample:hover{background: rgba(0, 0, 0, 0.08);border-color: var(--border-light);}
html[data-theme="dark"] .btn-snap-sample{flex: 0 0 28px;width: 28px;height: 28px;background: rgba(0, 0, 0, 0.04);border: 1px solid var(--border-color);border-radius: 6px;padding: 0;color: var(--text-main);cursor: pointer;display: inline-flex;align-items: center;justify-content: center;transition: all 0.15s ease;box-sizing: border-box;}
.btn-snap-sample:hover{background: rgba(0,0,0,0.08);transform: translateY(-1px);}
html[data-theme="dark"] .btn-snap-sample{background: rgba(255, 255, 255, 0.08);}
html[data-theme="dark"] .btn-snap-sample:hover{background: rgba(255, 255, 255, 0.15);}
html[data-theme="dark"] .btn-snap-sample:hover{background: rgba(255, 255, 255, 0.12);border-color: rgba(255, 255, 255, 0.3);}
.btn-snap-cart, .btn-snap-kininaru, .btn-snap-cart:hover, .btn-snap-kininaru:hover, .rank-cart-btn:hover{background: rgba(139, 92, 246, 0.2);border-color: #7c3aed;transform: translateY(-1px);}
.btn-snap-cart:hover{background: rgba(124, 58, 237, 0.18);border-color: #7c3aed;transform: translateY(-1px);}
.btn-snap-cart.active{background: #7c3aed !important;color: #ffffff !important;border-color: #6d28d9 !important;box-shadow: 0 2px 6px rgba(124, 58, 237, 0.35);}
html[data-theme="dark"] .btn-snap-cart, .btn-snap-kininaru, .btn-snap-cart:hover, .btn-snap-kininaru:hover, .rank-cart-btn:hover{background: rgba(139, 92, 246, 0.2);border-color: #7c3aed;transform: translateY(-1px);}
.btn-snap-cart.active, .btn-snap-kininaru.is-active, .rank-cart-btn.is-active{background: #8b5cf6 !important;color: #ffffff !important;border-color: #7c3aed !important;box-shadow: 0 2px 6px rgba(139, 92, 246, 0.35);}
html[data-theme="dark"] .btn-snap-cart, html[data-theme="dark"] .btn-snap-kininaru, html[data-theme="dark"] html[data-theme="dark"] .btn-snap-cart:hover, html[data-theme="dark"] .btn-snap-kininaru:hover, html[data-theme="dark"] .rank-cart-btn:hover{background: rgba(139, 92, 246, 0.25);}
html[data-theme="dark"] .btn-snap-cart.active, html[data-theme="dark"] .btn-snap-kininaru.is-active, html[data-theme="dark"] .rank-cart-btn.is-active{background: #8b5cf6 !important;color: #ffffff !important;}
html[data-theme="dark"] .btn-snap-cart:hover{background: rgba(167, 139, 250, 0.22);}
html[data-theme="dark"] .btn-snap-cart.active{background: #7c3aed !important;color: #ffffff !important;border-color: #a78bfa !important;}
.btn-snap-share{flex: 0 0 28px;width: 28px;height: 28px;background: rgba(14, 165, 233, 0.08);color: #0ea5e9;border: 1px solid rgba(14, 165, 233, 0.3);border-radius: 6px;padding: 0;cursor: pointer;display: inline-flex;align-items: center;justify-content: center;transition: all 0.15s ease;box-sizing: border-box;}
.btn-snap-alert{flex: 0 0 28px;width: 28px;height: 28px;background: rgba(245, 158, 11, 0.08);color: #d97706;border: 1px solid rgba(245, 158, 11, 0.3);border-radius: 6px;padding: 0;cursor: pointer;display: inline-flex;align-items: center;justify-content: center;transition: all 0.15s ease;box-sizing: border-box;}
.btn-snap-alert:hover{background: rgba(245, 158, 11, 0.2);border-color: #f59e0b;transform: translateY(-1px);}
.btn-snap-alert.active{background: #f59e0b !important;color: #ffffff !important;border-color: #d97706 !important;box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);}
html[data-theme="dark"] .btn-snap-share{flex: 0 0 28px;width: 28px;height: 28px;background: rgba(14, 165, 233, 0.08);color: #0ea5e9;border: 1px solid rgba(14, 165, 233, 0.3);border-radius: 6px;padding: 0;cursor: pointer;display: inline-flex;align-items: center;justify-content: center;transition: all 0.15s ease;box-sizing: border-box;}
.btn-snap-share:hover{background: rgba(14, 165, 233, 0.2);border-color: #0284c7;transform: translateY(-1px);}
html[data-theme="dark"] .btn-snap-share{background: rgba(14, 165, 233, 0.12);color: #38bdf8;border-color: rgba(14, 165, 233, 0.35);}
html[data-theme="dark"] .btn-snap-share:hover{background: rgba(14, 165, 233, 0.25);}
.btn-snap-alert{background: rgba(245, 158, 11, 0.12);color: #fbbf24;border-color: rgba(245, 158, 11, 0.35);}
html[data-theme="dark"] .btn-snap-alert:hover{background: rgba(245, 158, 11, 0.25);}
html[data-theme="dark"] .btn-snap-alert.active{background: #f59e0b !important;color: #1e1b4b !important;}
.btn-snap-del{flex: 0 0 28px;width: 28px;height: 28px;background: rgba(239, 68, 68, 0.08);color: #ef4444;border: 1px solid rgba(239, 68, 68, 0.25);border-radius: 6px;padding: 0;cursor: pointer;display: inline-flex;align-items: center;justify-content: center;transition: all 0.15s ease;box-sizing: border-box;}
.btn-snap-del:hover{background: #ef4444 !important;color: #ffffff !important;border-color: #ef4444 !important;transform: translateY(-1px);}
.shelf-controls-bar{display: flex;flex-wrap: wrap;gap: 8px;align-items: center;background: rgba(0, 0, 0, 0.03);padding: 9px 12px;border-radius: 8px;margin-bottom: 14px;border: 1px solid var(--border-color);}
html[data-theme="dark"] .shelf-controls-bar{background: rgba(255, 255, 255, 0.03);}
.shelf-toggle-pill{background: var(--bg-card);border: 1px solid var(--border-color);color: var(--text-main);padding: 5px 11px;border-radius: 6px;font-size: 0.74rem;font-weight: 700;cursor: pointer;display: inline-flex;align-items: center;gap: 4px;transition: all 0.15s ease;line-height: 1.3;}
.shelf-toggle-pill:hover{border-color: var(--border-light);background: var(--bg-card-sub);}
.shelf-toggle-pill.active{background: #0284c7;border-color: #0284c7;color: #ffffff;box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3);}
.shelf-toggle-pill.sequel{background: rgba(14, 165, 233, 0.12);border-color: rgba(14, 165, 233, 0.35);color: #0284c7;}
.shelf-toggle-pill.sequel:hover{background: rgba(14, 165, 233, 0.22);}
html[data-theme="dark"] .shelf-toggle-pill.sequel{background: rgba(14, 165, 233, 0.18);color: #38bdf8;}
.shelf-toggle-pill.noise-btn.active{background: #e11d48;border-color: #be123c;color: #ffffff;box-shadow: 0 2px 6px rgba(225, 29, 72, 0.3);}
.snap-slider-more-card{scroll-snap-align: start;flex: 0 0 150px;background: var(--bg-card);border: 2px dashed var(--border-light);border-radius: 10px;padding: 14px;display: flex;flex-direction: column;align-items: center;justify-content: center;text-align: center;cursor: pointer;transition: all 0.2s;}
.snap-slider-more-card:hover{border-color: var(--accent-gold);background: var(--bg-card-alt);}
.snap-slider-more-card svg{width: 24px;height: 24px;margin-bottom: 8px;color: var(--accent-gold);}
.snap-slider-more-text{font-size: 0.76rem;font-weight: 700;color: var(--text-main);line-height: 1.4;}
html[data-theme="light"] .snap-slider-section{background: #ffffff;border-color: #e2e8f0;box-shadow: 0 2px 8px rgba(0,0,0,0.04);}
html[data-theme="light"] .btn-slider-toggle{background: #f1f5f9;border-color: #cbd5e1;color: #334155;}
html[data-theme="light"] .btn-slider-toggle:hover{background: #e2e8f0;color: #0f172a;}
html[data-theme="light"] .btn-slider-toggle.collapsed{background: #e0f2fe;border-color: #7dd3fc;color: #0369a1;}
html[data-theme="light"] .snap-slider-card{background: #f8fafc;border-color: #e2e8f0;}
html[data-theme="light"] .snap-slider-card:hover{border-color: #cbd5e1;box-shadow: 0 6px 18px rgba(0,0,0,0.08);}
html[data-theme="light"] .snap-card-cover-box{background: linear-gradient(135deg, #f1f5f9, #e2e8f0);border-color: #e2e8f0;}
html[data-theme="light"] .snap-card-price-bar{background: #ffffff;border-color: #e2e8f0;}
html[data-theme="light"] .btn-snap-del{background: #f1f5f9;color: #475569;border-color: #cbd5e1;}
html[data-theme="light"] .btn-snap-del:hover{background: #fee2e2;color: #dc2626;border-color: #fca5a5;}
html[data-theme="light"] .snap-slider-more-card{background: #f8fafc;border-color: #cbd5e1;}
html[data-theme="light"] .snap-slider-more-card:hover{background: #f1f5f9;border-color: #d97706;}
html[data-theme="light"] .media-ribbon-tag.anime{background: #ecfeff;border-color: #06b6d4;color: #0e7490;}
html[data-theme="light"] .media-ribbon-tag.drama{background: #fdf2f8;border-color: #ec4899;color: #be185d;}
html[data-theme="light"] .media-ribbon-tag.stage{background: #ecfdf5;border-color: #10b981;color: #047857;}
.btn-back-to-top{position: fixed;bottom: 84px;right: 24px;width: 48px;height: 48px;border-radius: 50%;background: #0f172a;border: 2px solid var(--accent-gold);color: #ffffff;box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);cursor: pointer;display: flex;flex-direction: column;align-items: center;justify-content: center;z-index: 990;opacity: 0;pointer-events: none;transform: translateY(14px);transition: opacity 0.25s, transform 0.25s, background 0.2s, border-color 0.2s, box-shadow 0.2s;}
.btn-back-to-top.visible{opacity: 1;pointer-events: auto;transform: translateY(0);}
.btn-back-to-top:hover{background: #1e293b;border-color: #fef08a;transform: translateY(-3px);box-shadow: 0 8px 26px rgba(0, 0, 0, 0.55);}
.btn-back-to-top span{font-size: 0.6rem;font-weight: 900;line-height: 1;margin-top: 2px;letter-spacing: 0.6px;color: var(--accent-gold-light);}
html[data-theme="light"] .btn-back-to-top{background: #ffffff;border-color: #d97706;color: #0f172a;box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);}
html[data-theme="light"] .btn-back-to-top:hover{background: #f8fafc;border-color: #b45309;}
html[data-theme="light"] .btn-back-to-top span{color: #b45309;}
.creator-guard-badge{position: fixed;bottom: 24px;left: 24px;z-index: 1060;display: none !important;align-items: center;gap: 7px;height: 38px;padding: 0 14px;border-radius: 999px;font-size: 0.78rem;font-weight: 800;letter-spacing: 0.03em;cursor: pointer;user-select: none;transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);backdrop-filter: blur(12px);-webkit-backdrop-filter: blur(12px);}
body.is-admin-authorized .creator-guard-badge{display: inline-flex !important;}
@media (max-width: 768px){.creator-guard-badge{bottom: 20px;left: 12px;height: 34px;padding: 0 11px;font-size: 0.72rem;}}
.creator-guard-badge.active{background: linear-gradient(135deg, rgba(6, 78, 59, 0.95), rgba(4, 120, 87, 0.92));border: 1.5px solid #34d399;color: #ecfdf5;box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4), 0 0 0 1px rgba(52, 211, 153, 0.2);}
.creator-guard-badge.active:hover{transform: translateY(-2px);box-shadow: 0 6px 20px rgba(16, 185, 129, 0.55), 0 0 0 2px rgba(52, 211, 153, 0.3);}
.guard-badge-pulse{width: 7px;height: 7px;border-radius: 50%;background: #34d399;box-shadow: 0 0 8px #34d399;animation: guardPulse 2s infinite;}
@keyframes guardPulse{0%{transform: scale(0.95);opacity: 0.8;}50%{transform: scale(1.35);opacity: 1;box-shadow: 0 0 12px #34d399;}100%{transform: scale(0.95);opacity: 0.8;}}
.creator-guard-badge.inactive{background: rgba(30, 41, 59, 0.75);border: 1.5px solid rgba(148, 163, 184, 0.45);color: #cbd5e1;box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);}
.creator-guard-badge.inactive:hover{background: rgba(51, 65, 85, 0.9);border-color: #f59e0b;color: #fbbf24;transform: translateY(-2px);}
body.is-creator-safe-active .store-badge-btn.kindle::after, body.is-creator-safe-active .store-price-badge.kindle::after, body.is-creator-safe-active .search-btn-primary-buy.store-kindle::after, body.is-creator-safe-active .btn-buy-compact.store-kindle::after, body.is-creator-safe-active .batch-sub-store-btn.store-kindle::after, body.is-creator-safe-active .search-store-cell.store-kindle .search-store-name-row::after{content: '';font-size: 0.72rem;font-weight: 800;}
.creator-guard-modal-box{max-width: 940px;width: min(940px, 96vw);max-height: 91vh;overflow-y: auto;background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 20px;padding: 24px;color: var(--text-main);box-shadow: 0 20px 40px rgba(0,0,0,0.4);animation: modalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);}
.hmr-board-card{background: var(--bg-item);border: 1.5px solid rgba(2, 132, 199, 0.38);border-radius: 14px;padding: 14px 16px;margin-bottom: 16px;font-size: 0.77rem;color: var(--text-main);}
.hmr-board-card.is-anomaly{border-color: rgba(220, 38, 38, 0.65);background: rgba(220, 38, 38, 0.04);}
.hmr-table-scroll{width: 100%;overflow-x: auto;-webkit-overflow-scrolling: touch;border-radius: 10px;border: 1px solid var(--border-color);background: var(--bg-card);}
.hmr-recon-table{width: 100%;min-width: 680px;border-collapse: collapse;font-size: 0.75rem;line-height: 1.5;}
.hmr-recon-table th{text-align: left;padding: 8px 10px;font-size: 0.72rem;font-weight: 900;border-bottom: 1.5px solid var(--border-color);background: rgba(2, 132, 199, 0.07);color: var(--text-main);}
.hmr-recon-table td{vertical-align: top;padding: 9px 10px;border-bottom: 1px solid var(--border-color);border-right: 1px dashed rgba(148, 163, 184, 0.28);}
.hmr-recon-table td:last-child{border-right: none;}
.hmr-recon-table tr:last-child td{border-bottom: none;}
.hmr-progress-track{width: 100%;height: 7px;border-radius: 999px;background: rgba(148, 163, 184, 0.22);overflow: hidden;margin: 4px 0;}
.hmr-progress-bar{height: 100%;border-radius: 999px;background: linear-gradient(90deg, #0284c7, #10b981);transition: width 0.3s ease;}
.hmr-sec-grid{display: grid;grid-template-columns: repeat(3, 1fr);gap: 8px;margin-top: 10px;}
@media (max-width: 720px){.hmr-sec-grid{grid-template-columns: 1fr;}}
.hmr-refresh-btn{display: inline-flex;align-items: center;gap: 5px;padding: 5px 12px;border-radius: 999px;border: 1.5px solid #0284c7;background: linear-gradient(135deg, #0284c7, #0369a1);color: #fff;font-size: 0.72rem;font-weight: 900;cursor: pointer;white-space: nowrap;}
.hmr-refresh-btn:disabled{opacity: 0.65;cursor: wait;}
.guard-status-hero{border-radius: 14px;padding: 16px;margin-bottom: 16px;}
.guard-status-hero.active{background: rgba(16, 185, 129, 0.12);border: 1.5px solid #10b981;}
.guard-status-hero.inactive{background: rgba(239, 68, 68, 0.12);border: 1.5px solid #ef4444;}
button:active, .btn-buy-link:active, .pill-btn:active, .btn-snap-cart:active, .btn-snap-alert:active, .btn-snap-del:active, .top-sort-btn:active, .store-tab-btn:active, .nav-tab-btn:active, .hero-btn-action:active, .store-row.clickable:active, .new-store-row.clickable:active, .btn-view-toggle:active, .shelf-spine:active, .btn-sample-preview:active, .btn-price-history:active, .btn-card-small:active, .award-cat-btn:active, .quick-kw-tag:active{transform: scale(0.96) translateY(1px) !important;transition: transform 0.08s ease-out !important;}
.store-row.clickable, .new-store-row.clickable{cursor: pointer;position: relative;transition: background 0.15s, border-color 0.15s, transform 0.1s;}
.store-row.clickable:hover, .new-store-row.clickable:hover{background: rgba(255, 255, 255, 0.08);border-color: var(--accent-gold);}
html[data-theme="light"] .store-row.clickable:hover, html[data-theme="light"] .new-store-row.clickable:hover{background: #f1f5f9;border-color: #d97706;}
.store-row-external-icon{margin-left: 4px;opacity: 0.5;vertical-align: middle;display: inline-block;transition: opacity 0.15s;}
.store-row.clickable:hover .store-row-external-icon, .new-store-row.clickable:hover .store-row-external-icon{opacity: 1;}
.snap-card-cover-box, .snap-card-title, .book-cover-wrap, .card-title, .new-card-top, .shelf-spine, .award-book-title, .hero-cover-cell, .ranking-item-card{cursor: pointer;}
.hero-cover-cell{transition: transform 0.18s ease-out;}
.hero-cover-cell:active{transform: scale(0.94) !important;}
.hikabon-toast-container{position: fixed;top: 64px;left: 50%;transform: translateX(-50%);z-index: 10005;display: flex;flex-direction: column;align-items: center;gap: 8px;pointer-events: none;width: calc(100% - 32px);max-width: 440px;}
.hikabon-toast{pointer-events: auto;background: rgba(15, 23, 42, 0.94);color: #f8fafc;border: 1px solid rgba(245, 158, 11, 0.4);box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5), 0 0 12px rgba(245, 158, 11, 0.2);border-radius: 30px;padding: 9px 18px;font-size: 0.82rem;font-weight: 600;display: flex;align-items: center;gap: 9px;backdrop-filter: blur(12px);animation: hikabonToastIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;opacity: 0;transform: translateY(-8px) scale(0.95);}
@keyframes hikabonToastIn{to{opacity: 1;transform: translateY(0) scale(1);}}
.hikabon-toast.fade-out{animation: hikabonToastOut 0.25s forwards;}
@keyframes hikabonToastOut{to{opacity: 0;transform: translateY(-10px) scale(0.95);}}
@keyframes hikabonSpin{from{transform: rotate(0deg);}to{transform: rotate(360deg);}}
html[data-theme="light"] .hikabon-toast{background: rgba(255, 255, 255, 0.96);color: #0f172a;border-color: rgba(217, 119, 6, 0.4);box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), 0 0 10px rgba(217, 119, 6, 0.15);}
.hikabon-toast-icon{flex-shrink: 0;display: flex;align-items: center;}
@media (max-width: 640px){html{overflow-x: clip !important;}body{overflow-x: clip !important;max-width: 100% !important;}header{padding: 8px 10px 6px 10px !important;}header.toolbar-stuck{border-bottom-color: transparent !important;box-shadow: none !important;}.header-inner{padding: 0 !important;display: flex !important;flex-direction: column !important;gap: 8px !important;width: 100% !important;max-width: 100% !important;}.header-top-row{display: flex !important;justify-content: space-between !important;align-items: center !important;width: 100% !important;}.brand-wrap{display: flex !important;align-items: center !important;gap: 8px !important;min-width: 0 !important;}.brand-title{font-size: 1.15rem !important;white-space: nowrap !important;}.brand-tagline{display: none !important;}.brand-subtitle{display: none !important;}.brand-avatar{width: 32px !important;height: 32px !important;}.header-top-actions{display: flex !important;align-items: center !important;gap: 4px !important;flex-shrink: 0 !important;min-width: 0 !important;}#header-global-columns-btn{display: none !important;}#header-global-guide-btn{padding: 0 6px !important;min-width: 28px !important;justify-content: center !important;}#header-global-guide-btn span{display: none !important;}#header-alert-bell-btn{padding: 4px 5px !important;min-width: 28px !important;}.header-action-btn{padding: 0 7px !important;height: 28px !important;font-size: 0.72rem !important;gap: 3px !important;box-sizing: border-box !important;white-space: nowrap !important;}.header-action-btn.header-mypage-btn{height: 28px !important;padding: 0 7px !important;}#header-global-login-btn{height: 28px !important;padding: 0 7px !important;}.header-action-btn.header-auth-btn{height: 28px !important;padding: 0 6px !important;}.header-action-btn.header-user-pill-btn{height: 28px !important;padding: 0 7px 0 6px !important;font-size: 0.72rem !important;gap: 3px !important;max-width: 96px !important;}.header-user-name-label{overflow: hidden !important;text-overflow: ellipsis !important;white-space: nowrap !important;}.theme-switch-btn{padding: 5px 11px !important;font-size: 0.74rem !important;white-space: nowrap !important;flex-shrink: 0 !important;}.brand-logo-link{display: flex !important;align-items: center !important;gap: 8px !important;flex: 0 0 auto !important;min-width: 0 !important;}.theme-toggle-switch{flex-shrink: 0 !important;margin: 0 !important;}.genre-selector-bar{display: none !important;}.mobile-genre-dropdown-bar{display: flex !important;align-items: center !important;gap: 6px !important;width: 100% !important;max-width: 100% !important;margin: 4px 0 0 0 !important;}.mobile-genre-dropdown-bar .mobile-home-btn{flex-shrink: 0;padding: 5px 8px !important;font-size: 0.72rem !important;}.mobile-genre-dropdown-bar .mobile-genre-trigger{width: auto !important;flex: 1 !important;min-width: 0 !important;max-width: none !important;padding: 5px 8px !important;font-size: 0.72rem !important;}.mobile-genre-dropdown-bar .mobile-category-trigger{display: flex !important;width: auto !important;flex: 1 !important;min-width: 0 !important;max-width: none !important;padding: 5px 8px !important;font-size: 0.72rem !important;}.genre-mode-banner{display: none !important;}.nav-tabs-wrapper{width: 100% !important;display: flex !important;flex-direction: column !important;}.nav-tabs{display: grid !important;grid-template-columns: repeat(3, minmax(0, 1fr)) !important;gap: 5px !important;padding: 6px !important;overflow-x: visible !important;white-space: normal !important;width: 100% !important;max-width: 100% !important;min-width: 0 !important;box-sizing: border-box !important;border-radius: 12px !important;}.nav-tabs.is-collapsed .nav-tab-collapsible{display: none !important;}.nav-tabs-toggle-row{display: flex !important;justify-content: flex-end !important;padding-top: 4px !important;padding-right: 2px !important;}.nav-tabs::-webkit-scrollbar{display: none;}.nav-tab-btn{display: flex !important;flex-direction: column !important;align-items: center !important;justify-content: center !important;padding: 6px 1px !important;font-size: 0.66rem !important;font-weight: 700 !important;line-height: 1.15 !important;letter-spacing: -0.02em !important;text-align: center !important;border-radius: 8px !important;gap: 3px !important;min-height: 42px !important;min-width: 0 !important;box-sizing: border-box !important;flex-shrink: 1 !important;white-space: normal !important;}.nav-tab-btn svg{width: 14px !important;height: 14px !important;flex-shrink: 0 !important;margin: 0 !important;}.header-action-btn.calc-btn{display: none !important;}main{padding: 10px 10px 80px !important;}.special-killer-container{margin-bottom: 10px !important;}.special-killer-grid{grid-template-columns: 1fr 1fr !important;gap: 8px !important;}.special-killer-btn{padding: 8px 8px !important;border-radius: 10px !important;flex-direction: column !important;align-items: flex-start !important;gap: 6px !important;}.special-killer-btn .sk-left{gap: 6px !important;width: 100% !important;}.special-killer-btn .sk-icon-wrap{width: 26px !important;height: 26px !important;}.special-killer-btn .sk-icon-wrap svg{width: 14px !important;height: 14px !important;}.special-killer-btn .sk-title{font-size: 0.74rem !important;line-height: 1.2 !important;}.special-killer-btn .sk-desc{font-size: 0.62rem !important;}.special-killer-btn .sk-badge{font-size: 0.60rem !important;padding: 2px 6px !important;align-self: flex-start !important;}.genre-selector-bar{display: none !important;}.permanent-search-section{padding: 10px 12px !important;margin-bottom: 14px !important;}.permanent-search-top-row{gap: 6px !important;}.scope-toggle-switch-wrap{padding: 5px 10px !important;min-height: 34px !important;gap: 5px !important;}.scope-toggle-label{font-size: 0.70rem !important;}.search-input-wrapper input{font-size: 0.76rem !important;padding: 8px 28px 8px 32px !important;}.quick-keywords-bar{font-size: 0.72rem !important;gap: 5px !important;flex-wrap: nowrap !important;overflow-x: auto !important;padding: 4px 0 !important;scrollbar-width: none;}.quick-keywords-bar::-webkit-scrollbar{display: none;}.quick-kw-tag{font-size: 0.72rem !important;padding: 2px 7px !important;white-space: nowrap !important;}.new-releases-container{padding: 12px 10px !important;margin-bottom: 16px !important;}.new-releases-title{font-size: 0.95rem !important;}.new-releases-grid{grid-template-columns: 1fr !important;gap: 10px !important;}.new-release-card{padding: 10px !important;}.cal-tab-btn{font-size: 0.72rem !important;padding: 5px 9px !important;}.btn-cal-toggle{font-size: 0.7rem !important;padding: 3px 8px !important;}.cal-summary-pill{font-size: 0.68rem !important;padding: 2px 6px !important;}.award-showcase-container{padding: 12px 10px !important;margin-bottom: 16px !important;}.award-showcase-title{font-size: 0.95rem !important;}.btn-award-toggle{font-size: 0.7rem !important;padding: 3px 8px !important;}.award-summary-pill{font-size: 0.68rem !important;padding: 2px 6px !important;}.award-cat-btn{font-size: 0.72rem !important;padding: 4px 9px !important;}.store-filter-tabs-bar{gap: 6px !important;margin-bottom: 8px !important;}.store-tab-btn{font-size: 0.74rem !important;padding: 5px 10px !important;flex-shrink: 0 !important;}.unified-sale-toolbar{padding: 6px 8px !important;gap: 6px !important;border-radius: 10px !important;}.unified-sale-toolbar.is-stuck{border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 10px !important;border-bottom-right-radius: 10px !important;border-top: 1.5px solid var(--genre-border) !important;padding: 8px 8px 6px 8px !important;}.filter-panel-box, .search-filter-panel-box{padding: 6px 10px !important;margin-bottom: 8px !important;border-radius: 10px !important;}.filter-panel-box.is-stuck, .search-filter-panel-box.is-stuck{border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 10px !important;border-bottom-right-radius: 10px !important;border-top: 1.5px solid var(--genre-border) !important;padding: 6px 10px 5px 10px !important;}.mybookshelf-hero-box{padding: 6px 10px !important;margin-bottom: 8px !important;border-radius: 10px !important;}.mybookshelf-hero-box.is-stuck{border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 10px !important;border-bottom-right-radius: 10px !important;border-top: 1.5px solid var(--genre-border) !important;padding: 6px 10px 5px 10px !important;}.toolbar-row{gap: 6px !important;}.toolbar-divider{display: none !important;}.toolbar-content-inner{flex-direction: column !important;align-items: stretch !important;gap: 6px !important;}.toolbar-right-controls{width: 100% !important;display: flex !important;align-items: center !important;justify-content: space-between !important;gap: 8px !important;flex-wrap: nowrap !important;}.toolbar-store-segment{width: 100% !important;overflow-x: auto !important;flex-wrap: nowrap !important;white-space: nowrap !important;-webkit-overflow-scrolling: touch !important;scrollbar-width: none !important;}.toolbar-store-segment::-webkit-scrollbar{display: none !important;}.store-segment-group{display: flex !important;gap: 4px !important;flex-wrap: nowrap !important;flex-shrink: 0 !important;}.store-tab-btn{padding: 5px 10px !important;font-size: 0.76rem !important;min-height: 32px !important;border-radius: 8px !important;white-space: nowrap !important;flex: 0 0 auto !important;touch-action: manipulation;-webkit-tap-highlight-color: transparent;}.store-tab-btn:active{transform: scale(0.96);}.sort-segment-group{display: flex !important;gap: 4px !important;flex-wrap: nowrap !important;flex-shrink: 0 !important;overflow-x: auto !important;scrollbar-width: none !important;-webkit-overflow-scrolling: touch !important;}.sort-segment-group .tool-btn{flex: 0 0 auto !important;}.sort-segment-group::-webkit-scrollbar{display: none !important;}.toolbar-section{width: 100% !important;overflow-x: auto !important;flex-wrap: nowrap !important;white-space: nowrap !important;padding-bottom: 2px !important;-webkit-overflow-scrolling: touch !important;scrollbar-width: none !important;}.toolbar-section::-webkit-scrollbar{display: none !important;}.toolbar-publisher-dropdown-group{overflow: visible !important;flex-wrap: nowrap !important;white-space: normal !important;}.custom-pub-trigger{min-height: 32px !important;padding: 4px 10px !important;font-size: 0.76rem !important;touch-action: manipulation;-webkit-tap-highlight-color: transparent;}.custom-pub-trigger:active{transform: scale(0.97);}.custom-pub-menu{max-width: calc(100vw - 28px) !important;max-height: 52vh !important;right: 0 !important;}.toolbar-group-label{flex-shrink: 0;font-size: 0.70rem !important;}.tool-btn, .tool-toggle-btn, .tool-action-btn, .tool-accordion-btn{flex-shrink: 0 !important;padding: 5px 10px !important;font-size: 0.76rem !important;min-height: 30px !important;touch-action: manipulation;-webkit-tap-highlight-color: transparent;}.tool-btn:active, .tool-toggle-btn:active{transform: scale(0.96);}.toolbar-actions-group{justify-content: flex-end;}.search-autocomplete-dropdown{max-height: 280px !important;}.autocomplete-item{padding: 8px 10px !important;}.autocomplete-text{font-size: 0.78rem !important;}.floating-calc-trigger{bottom: 12px !important;right: 12px !important;padding: 7px 12px !important;font-size: 0.73rem !important;border-radius: 24px !important;z-index: 990 !important;}.btn-back-to-top{bottom: 98px !important;right: 14px !important;width: 38px !important;height: 38px !important;z-index: 990 !important;}.btn-back-to-top svg{width: 15px !important;height: 15px !important;}.btn-back-to-top span{font-size: 0.52rem !important;font-weight: 900 !important;}.books-grid{grid-template-columns: 1fr !important;gap: 12px !important;}.card-top-compact, .card-top-kinseri{padding: 8px 10px 6px !important;gap: 9px !important;}.kinseri-title{font-size: 0.86rem !important;}.kinseri-meta-pipe{font-size: 0.66rem !important;}.kinseri-pricing-row{font-size: 0.7rem !important;}.kinseri-realprice-row{font-size: 0.68rem !important;}.book-cover-wrap-compact{width: 74px !important;height: 108px !important;}.store-grid-compact{padding: 6px 10px !important;gap: 3px !important;}.store-compare-bar{padding: 4px 10px 5px !important;}.btn-store-compare-toggle{padding: 3px 8px !important;font-size: 0.68rem !important;}.store-comparison-drawer{padding: 6px 10px !important;}.store-grid-3col{gap: 4px !important;}.store-grid-3col .store-chip-compact{padding: 5px 6px !important;min-height: 44px !important;}.store-grid-3col .store-chip-name{font-size: 0.65rem !important;}.store-grid-3col .store-chip-price{font-size: 0.78rem !important;}.store-grid-3col .store-chip-pt{font-size: 0.58rem !important;}.store-grid-3col .store-chip-pt-badge{font-size: 0.56rem !important;padding: 0 3px !important;}.store-grid-3col .store-chip-best-tag{font-size: 0.56rem !important;padding: 0 3px !important;}.chip-sub-badge .sub-text{display: none !important;}.chip-sub-badge{padding: 0 3px !important;font-size: 0.62rem !important;}.store-comp-legend{font-size: 0.58rem !important;gap: 5px !important;margin-top: 4px !important;padding-top: 4px !important;}.author-works-drawer{padding: 6px 10px 8px !important;}.author-drawer-grid{grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)) !important;gap: 5px !important;}.author-work-item{padding: 3px 5px !important;}.card-actions-compact{padding: 6px 10px !important;gap: 4px !important;}.card-actions-left{gap: 3px !important;}.btn-tool-compact{padding: 3px 5px !important;font-size: 0.64rem !important;}.card-actions-compact .btn-kininaru-toggle{padding: 3px 7px !important;font-size: 0.68rem !important;}.btn-buy-compact{padding: 4px 8px !important;font-size: 0.7rem !important;}.filter-box-header{margin-bottom: 8px !important;gap: 8px !important;}.filter-section-title{font-size: 0.78rem !important;white-space: nowrap !important;}.filter-reset-btn-top{padding: 3px 10px !important;font-size: 0.7rem !important;white-space: nowrap !important;flex-shrink: 0 !important;}.sort-control-row{overflow-x: auto !important;flex-wrap: nowrap !important;scrollbar-width: none;padding-bottom: 4px !important;}.sort-control-row::-webkit-scrollbar{display: none;}.sort-btn{white-space: nowrap !important;}.snap-slider-section{padding: 11px 10px !important;margin-bottom: 12px !important;}.snap-slider-track{gap: 8px !important;padding-bottom: 4px !important;}.snap-slider-card{flex: 0 0 195px !important;padding: 8px !important;}.snap-card-cover-box{height: 105px !important;}.snap-slider-more-card{flex: 0 0 135px !important;padding: 10px !important;}.hero-carousel-section{margin-bottom: 14px !important;}.hero-carousel-track{gap: 10px !important;overflow-x: auto !important;scroll-snap-type: x mandatory !important;-webkit-overflow-scrolling: touch !important;padding: 4px 6px 14px 6px !important;border-radius: 16px !important;}.hero-banner-card{flex: 0 0 240px !important;min-width: 240px !important;max-width: 240px !important;width: 240px !important;height: 200px !important;scroll-snap-align: start !important;padding: 10px 12px 8px 12px !important;border-radius: 15px !important;}.hero-store-pill{font-size: 0.66rem !important;padding: 2px 7px !important;}.hero-badge-notice{font-size: 0.6rem !important;padding: 1.5px 5px !important;}.hero-tile-body{gap: 2px !important;margin: 3px 0 !important;}.hero-discount-headline{font-size: 0.98rem !important;line-height: 1.22 !important;letter-spacing: -0.4px !important;white-space: normal !important;word-break: break-word !important;display: -webkit-box !important;-webkit-line-clamp: 2 !important;-webkit-box-orient: vertical !important;}.hero-tile-sub{font-size: 0.69rem !important;line-height: 1.3 !important;white-space: normal !important;word-break: break-word !important;display: -webkit-box !important;-webkit-line-clamp: 2 !important;-webkit-box-orient: vertical !important;}.hero-tile-footer{min-height: 72px !important;}.hero-card-illust{width: 72px !important;height: 72px !important;}.hero-tile-action-btn{font-size: 0.62rem !important;padding: 3px 9px !important;border-radius: 999px !important;}.hero-carousel-container{padding: 0 !important;}.hero-arrow-btn{display: none !important;}.hero-dots-indicator{margin-top: 8px !important;margin-bottom: 2px !important;}.site-eyecatch-hero{min-height: 380px !important;margin-bottom: 14px !important;border-radius: 14px !important;display: flex;flex-direction: column !important;justify-content: flex-end !important;align-items: stretch !important;padding: 10px !important;position: relative !important;}.site-eyecatch-hero[style*="display: none"]{display: none !important;}.site-eyecatch-hero .theme-toggle-switch{top: 10px !important;right: 10px !important;position: absolute !important;z-index: 10 !important;}.eyecatch-img{object-position: center 2% !important;}.eyecatch-scrim{background: linear-gradient( 180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.04) 40%, rgba(255, 255, 255, 0.25) 100% ) !important;}html[data-theme="dark"] .eyecatch-scrim{background: linear-gradient( 180deg, rgba(11, 17, 32, 0) 0%, rgba(11, 17, 32, 0.08) 40%, rgba(11, 17, 32, 0.38) 100% ) !important;}.eyecatch-content{padding: 8px 12px !important;max-width: 270px !important;border-radius: 10px !important;background: rgba(255, 255, 255, 0.20) !important;backdrop-filter: blur(12px) saturate(160%) !important;-webkit-backdrop-filter: blur(12px) saturate(160%) !important;border: 1px solid rgba(255, 255, 255, 0.45) !important;box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.7) !important;}html[data-theme="dark"] .eyecatch-content{background: rgba(15, 23, 42, 0.22) !important;border: 1px solid rgba(255, 255, 255, 0.18) !important;box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;}.eyecatch-title{font-size: 1.22rem !important;margin-bottom: 2px !important;}.eyecatch-catchphrase{font-size: 0.64rem !important;margin-bottom: 3px !important;}.eyecatch-tagline{font-size: 0.66rem !important;line-height: 1.35 !important;margin: 0 !important;}}
.header-guide-btn{display: inline-flex;align-items: center;gap: 6px;padding: 6px 12px;font-size: 0.78rem;font-weight: 700;color: #475569;background: rgba(241, 245, 249, 0.85);border: 1px solid #cbd5e1;border-radius: 20px;cursor: pointer;transition: all 0.2s ease;}
.header-guide-btn:hover{color: #d97706;background: #fff;border-color: #f59e0b;box-shadow: 0 2px 8px rgba(217, 119, 6, 0.15);}
html[data-theme="dark"] .header-guide-btn{color: #cbd5e1;background: rgba(30, 41, 59, 0.8);border-color: #475569;}
html[data-theme="dark"] .header-guide-btn:hover{color: #fbbf24;background: #334155;border-color: #f59e0b;}
.weekly-schedule-section{margin: 0 0 24px 0;background: #ffffff;border: 1.5px solid var(--genre-border) !important;border-radius: 16px;padding: 16px 18px;box-shadow: 0 4px 18px var(--genre-shadow-tint) !important;transition: all 0.3s ease;}
html[data-theme="dark"] .weekly-schedule-section{background: #0f172a;border-color: var(--genre-border) !important;box-shadow: 0 4px 20px var(--genre-shadow-tint) !important;}
.schedule-header-wrap{display: flex;align-items: center;justify-content: space-between;flex-wrap: wrap;gap: 12px;margin-bottom: 14px;padding-bottom: 12px;border-bottom: 1px solid #f1f5f9;}
html[data-theme="dark"] .schedule-header-wrap{border-bottom-color: #1e293b;}
.schedule-title-left{display: flex;flex-direction: column;gap: 3px;}
.schedule-main-title{font-size: 1.05rem;font-weight: 800;color: #0f172a;margin: 0;display: flex;align-items: center;gap: 8px;}
html[data-theme="dark"] .schedule-main-title{color: #f8fafc;}
.schedule-sub-desc{font-size: 0.75rem;color: #64748b;margin: 0;}
html[data-theme="dark"] .schedule-sub-desc{color: #94a3b8;}
.schedule-today-card{background: #f8fafc;border: 2px solid #e2e8f0;border-radius: 14px;padding: 16px;box-sizing: border-box;display: flex;flex-direction: column;gap: 14px;transition: all 0.2s ease;}
.schedule-today-card.is-today{border-color: #f59e0b;box-shadow: 0 4px 18px rgba(245, 158, 11, 0.12);}
html[data-theme="dark"] .schedule-today-card{background: #121826;border-color: #1e293b;}
html[data-theme="dark"] .schedule-today-card.is-today{border-color: #fbbf24;box-shadow: 0 4px 22px rgba(251, 191, 36, 0.18);}
.schedule-today-grid{display: grid;grid-template-columns: repeat(3, 1fr);gap: 14px;}
@media (max-width: 768px){.schedule-today-grid{grid-template-columns: 1fr;gap: 10px;}}
.schedule-more-link-bar{display: flex;align-items: center;justify-content: center;gap: 8px;padding: 12px 18px;border-radius: 12px;background: linear-gradient(135deg, rgba(217, 119, 6, 0.08), rgba(245, 158, 11, 0.15));border: 1px solid rgba(217, 119, 6, 0.3);color: #b45309;font-size: 0.85rem;font-weight: 800;cursor: pointer;transition: all 0.25s ease;text-decoration: none;margin-top: 6px;user-select: none;}
.schedule-more-link-bar:hover{background: linear-gradient(135deg, rgba(217, 119, 6, 0.16), rgba(245, 158, 11, 0.25));border-color: #d97706;transform: translateY(-1px);box-shadow: 0 4px 12px rgba(217, 119, 6, 0.15);}
html[data-theme="dark"] .schedule-more-link-bar{background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(251, 191, 36, 0.2));border-color: rgba(251, 191, 36, 0.35);color: #fbbf24;}
html[data-theme="dark"] .schedule-more-link-bar:hover{background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(251, 191, 36, 0.32));border-color: #f59e0b;box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);}
.schedule-full-modal-open-btn{display: inline-flex;align-items: center;gap: 6px;padding: 6px 14px;border-radius: 20px;background: #fef3c7;border: 1px solid #fde68a;color: #b45309;font-size: 0.78rem;font-weight: 800;cursor: pointer;transition: all 0.2s;}
.schedule-full-modal-open-btn:hover{background: #fde68a;border-color: #f59e0b;}
html[data-theme="dark"] .schedule-full-modal-open-btn{background: rgba(245, 158, 11, 0.15);border-color: rgba(245, 158, 11, 0.3);color: #fbbf24;}
html[data-theme="dark"] .schedule-full-modal-open-btn:hover{background: rgba(245, 158, 11, 0.25);border-color: #f59e0b;}
.schedule-view-switcher{display: inline-flex;background: #f1f5f9;padding: 3px;border-radius: 10px;gap: 3px;border: 1px solid #e2e8f0;}
html[data-theme="dark"] .schedule-view-switcher{background: #1e293b;border-color: #334155;}
.schedule-switch-btn{display: inline-flex;align-items: center;gap: 6px;padding: 5px 12px;border-radius: 7px;font-size: 0.76rem;font-weight: 700;color: #64748b;background: transparent;border: none;cursor: pointer;transition: all 0.2s;}
.schedule-switch-btn:hover{color: #0f172a;}
html[data-theme="dark"] .schedule-switch-btn{color: #94a3b8;}
html[data-theme="dark"] .schedule-switch-btn:hover{color: #ffffff;}
.schedule-switch-btn.active{background: #ffffff;color: #0f172a;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);}
html[data-theme="dark"] .schedule-switch-btn.active{background: #334155;color: #38bdf8;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);}
.schedule-slider-container{position: relative;width: 100%;}
.schedule-slider-track{display: flex;gap: 14px;overflow-x: auto;scroll-snap-type: x mandatory;padding: 4px 2px 14px 2px;-webkit-overflow-scrolling: touch;scrollbar-width: thin;}
.schedule-slider-track::-webkit-scrollbar{height: 6px;}
.schedule-slider-track::-webkit-scrollbar-thumb{background: #cbd5e1;border-radius: 10px;}
html[data-theme="dark"] .schedule-slider-track::-webkit-scrollbar-thumb{background: #334155;}
.schedule-day-card{flex: 0 0 310px;max-width: 310px;scroll-snap-align: start;background: #f8fafc;border: 1px solid #e2e8f0;border-radius: 14px;padding: 14px;box-sizing: border-box;display: flex;flex-direction: column;gap: 10px;transition: transform 0.2s, box-shadow 0.2s;}
.schedule-day-card:hover{transform: translateY(-2px);box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);}
html[data-theme="dark"] .schedule-day-card{background: #1e293b;border-color: #334155;}
html[data-theme="dark"] .schedule-day-card:hover{box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);}
.schedule-day-card.is-today{background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);border: 2px solid #f59e0b;box-shadow: 0 4px 14px rgba(245, 158, 11, 0.18);}
html[data-theme="dark"] .schedule-day-card.is-today{background: linear-gradient(180deg, rgba(69, 26, 3, 0.35) 0%, rgba(30, 41, 59, 0.95) 100%);border: 2px solid #d97706;box-shadow: 0 4px 16px rgba(217, 119, 6, 0.25);}
.schedule-day-header{display: flex;align-items: center;justify-content: space-between;padding-bottom: 8px;border-bottom: 1px solid rgba(0, 0, 0, 0.06);}
html[data-theme="dark"] .schedule-day-header{border-bottom-color: rgba(255, 255, 255, 0.08);}
.schedule-day-date{font-size: 0.95rem;font-weight: 800;color: #0f172a;display: flex;align-items: center;gap: 6px;}
html[data-theme="dark"] .schedule-day-date{color: #ffffff;}
.schedule-day-today-badge{font-size: 0.65rem;font-weight: 800;background: #dc2626;color: #ffffff;padding: 2px 7px;border-radius: 12px;letter-spacing: 0.03em;}
.schedule-section-block{background: #ffffff;border: 1px solid #e2e8f0;border-radius: 10px;padding: 8px 10px;display: flex;flex-direction: column;gap: 6px;}
html[data-theme="dark"] .schedule-section-block{background: #0f172a;border-color: #334155;}
.schedule-section-title{font-size: 0.70rem;font-weight: 800;display: flex;align-items: center;gap: 5px;padding-bottom: 4px;border-bottom: 1px dashed #f1f5f9;}
html[data-theme="dark"] .schedule-section-title{border-bottom-color: #1e293b;}
.schedule-section-title.ending{color: #dc2626;}
.schedule-section-title.starting{color: #16a34a;}
.schedule-section-title.release{color: #2563eb;}
.schedule-item-row{display: flex;align-items: flex-start;gap: 6px;font-size: 0.74rem;color: #1e293b;line-height: 1.35;text-decoration: none;padding: 3px 0;cursor: pointer;transition: color 0.2s;}
.schedule-item-row:hover{color: #d97706;}
html[data-theme="dark"] .schedule-item-row{color: #e2e8f0;}
html[data-theme="dark"] .schedule-item-row:hover{color: #fbbf24;}
.schedule-item-bullet{width: 5px;height: 5px;border-radius: 50%;margin-top: 5px;flex-shrink: 0;}
.schedule-item-bullet.ending{background: #ef4444;}
.schedule-item-bullet.starting{background: #22c55e;}
.schedule-item-bullet.release{background: #3b82f6;}
.schedule-item-badge{font-size: 0.62rem;font-weight: 700;padding: 1px 5px;border-radius: 4px;white-space: nowrap;flex-shrink: 0;}
.schedule-item-badge.ending{background: #fee2e2;color: #b91c1c;}
html[data-theme="dark"] .schedule-item-badge.ending{background: rgba(185, 28, 28, 0.3);color: #fca5a5;}
.schedule-item-badge.starting{background: #dcfce7;color: #15803d;}
html[data-theme="dark"] .schedule-item-badge.starting{background: rgba(21, 128, 61, 0.3);color: #86efac;}
.schedule-item-badge.release{background: #dbeafe;color: #1d4ed8;}
html[data-theme="dark"] .schedule-item-badge.release{background: rgba(29, 78, 216, 0.3);color: #93c5fd;}
.schedule-table-wrap{width: 100%;overflow-x: auto;border-radius: 12px;border: 1px solid #e2e8f0;background: #ffffff;}
html[data-theme="dark"] .schedule-table-wrap{background: #0f172a;border-color: #1e293b;}
.schedule-table{width: 100%;border-collapse: collapse;font-size: 0.76rem;text-align: left;}
.schedule-table th{background: #f8fafc;color: #475569;font-weight: 800;padding: 10px 12px;border-bottom: 1px solid #e2e8f0;white-space: nowrap;}
html[data-theme="dark"] .schedule-table th{background: #1e293b;color: #cbd5e1;border-bottom-color: #334155;}
.schedule-table td{padding: 10px 12px;border-bottom: 1px solid #f1f5f9;vertical-align: top;color: #334155;}
html[data-theme="dark"] .schedule-table td{border-bottom-color: #1e293b;color: #cbd5e1;}
.schedule-table tr:hover td{background: #f8fafc;}
html[data-theme="dark"] .schedule-table tr:hover td{background: #1e293b;}
.schedule-table tr.is-today td{background: #fffbeb;font-weight: 600;}
html[data-theme="dark"] .schedule-table tr.is-today td{background: rgba(69, 26, 3, 0.25);}
.schedule-table td.col-date{white-space: nowrap;font-weight: 800;color: #0f172a;width: 110px;}
html[data-theme="dark"] .schedule-table td.col-date{color: #ffffff;}
.schedule-more-card{min-width: 220px;max-width: 240px;background: linear-gradient(135deg, rgba(217, 119, 6, 0.15), rgba(15, 23, 42, 0.4));border: 1px dashed rgba(217, 119, 6, 0.5) !important;border-radius: 14px;display: flex;flex-direction: column;align-items: center;justify-content: center;text-align: center;padding: 24px 16px;cursor: pointer;transition: all 0.2s ease;flex-shrink: 0;}
.schedule-more-card:hover{background: linear-gradient(135deg, rgba(217, 119, 6, 0.25), rgba(30, 41, 59, 0.6));border-color: #d97706 !important;transform: translateY(-2px);}
html[data-theme="light"] .schedule-more-card{background: linear-gradient(135deg, #fffbeb, #f8fafc);border-color: #f59e0b !important;}
.schedule-more-badge{font-size: 0.68rem;background: #d97706;color: #fff;padding: 2px 8px;border-radius: 10px;font-weight: 800;margin-bottom: 8px;}
.schedule-more-title{font-size: 0.95rem;font-weight: 800;color: var(--text-main);margin-bottom: 6px;line-height: 1.3;}
.schedule-more-desc{font-size: 0.7rem;color: var(--text-sub);margin-bottom: 12px;line-height: 1.4;}
.schedule-full-trigger-bar{display: flex;align-items: center;justify-content: center;gap: 8px;width: 100%;background: rgba(255, 255, 255, 0.04);border: 1px solid var(--border-color);border-radius: 10px;padding: 10px 16px;margin-top: 12px;color: var(--text-main);font-size: 0.82rem;font-weight: 700;cursor: pointer;transition: all 0.2s ease;}
.schedule-full-trigger-bar:hover{background: rgba(217, 119, 6, 0.12);border-color: #d97706;color: #f59e0b;}
html[data-theme="light"] .schedule-full-trigger-bar{background: #f8fafc;border-color: #e2e8f0;}
html[data-theme="light"] .schedule-full-trigger-bar:hover{background: #fef3c7;border-color: #f59e0b;color: #b45309;}
.cal-modal-box{max-width: 1560px;width: 96%;max-height: 90vh;overflow-y: auto;}
.cal-date-chips-wrap{display: flex;gap: 6px;overflow-x: auto;-webkit-overflow-scrolling: touch;padding-top: 14px;padding-bottom: 8px;margin-bottom: 14px;border-bottom: 1px solid var(--border-color);}
.cal-date-chip{flex-shrink: 0;background: rgba(255, 255, 255, 0.05);border: 1px solid var(--border-color);border-radius: 8px;padding: 8px 4px 7px 4px;text-align: center;cursor: pointer;transition: all 0.15s ease;min-width: 76px;position: relative;user-select: none;}
.cal-date-chip:hover{background: rgba(255, 255, 255, 0.1);border-color: #f59e0b;transform: translateY(-1px);}
.cal-date-chip.active{background: #d97706;border-color: #d97706;color: #fff !important;box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);}
.cal-date-chip.active .chip-day-name{color: #fff !important;}
html[data-theme="light"] .cal-date-chip{background: #f8fafc;border-color: #e2e8f0;color: #334155;}
html[data-theme="light"] .cal-date-chip:hover{background: #f1f5f9;border-color: #d97706;}
html[data-theme="light"] .cal-date-chip.active{background: #d97706;border-color: #d97706;color: #fff !important;}
html[data-theme="dark"] .cal-date-chip{background: rgba(30, 41, 59, 0.6);border-color: rgba(255, 255, 255, 0.1);color: #e2e8f0;}
html[data-theme="dark"] .cal-date-chip:hover{background: rgba(51, 65, 85, 0.8);border-color: #f59e0b;}
html[data-theme="dark"] .cal-date-chip.active{background: linear-gradient(135deg, #d97706, #b45309);border-color: #f59e0b;color: #fff !important;box-shadow: 0 4px 14px rgba(217, 119, 6, 0.45);}
.chip-date-text{font-size: 0.88rem;font-weight: 800;line-height: 1.2;}
.chip-day-name{font-size: 0.72rem;font-weight: 700;color: var(--text-sub);margin-top: 2px;}
.chip-day-name.sunday, .day-name-colored.sunday{color: #dc2626 !important;}
html[data-theme="dark"] .chip-day-name.sunday, html[data-theme="dark"] .day-name-colored.sunday{color: #f87171 !important;}
.chip-day-name.saturday, .day-name-colored.saturday{color: #2563eb !important;}
html[data-theme="dark"] .chip-day-name.saturday, html[data-theme="dark"] .day-name-colored.saturday{color: #60a5fa !important;}
.chip-outer-today-badge{position: absolute;top: -10px;left: 50%;transform: translateX(-50%);font-size: 0.58rem;font-weight: 900;color: #ffffff;background: #dc2626;padding: 1px 7px;border-radius: 9999px;line-height: 1.15;white-space: nowrap;letter-spacing: 0.3px;box-shadow: 0 2px 5px rgba(220, 38, 38, 0.45);z-index: 3;pointer-events: none;}
.chip-badges-row{display: flex;justify-content: center;align-items: center;gap: 3px;margin-top: 5px;flex-wrap: nowrap;}
.chip-mini-badge{font-size: 0.68rem;font-weight: 800;padding: 2px 4px;border-radius: 4px;line-height: 1.15;display: inline-block;letter-spacing: -0.2px;}
.chip-mini-badge.ending{color: #dc2626;background: rgba(220, 38, 38, 0.12);border: 1px solid rgba(220, 38, 38, 0.28);}
html[data-theme="dark"] .chip-mini-badge.ending{color: #fca5a5;background: rgba(239, 68, 68, 0.2);border-color: rgba(239, 68, 68, 0.4);}
.chip-mini-badge.starting{color: #16a34a;background: rgba(22, 163, 74, 0.12);border: 1px solid rgba(22, 163, 74, 0.28);}
html[data-theme="dark"] .chip-mini-badge.starting{color: #86efac;background: rgba(34, 197, 94, 0.2);border-color: rgba(34, 197, 94, 0.4);}
.chip-mini-badge.release{color: #2563eb;background: rgba(37, 99, 235, 0.12);border: 1px solid rgba(37, 99, 235, 0.28);}
html[data-theme="dark"] .chip-mini-badge.release{color: #93c5fd;background: rgba(59, 130, 246, 0.2);border-color: rgba(59, 130, 246, 0.4);}
.cal-date-chip.active .chip-mini-badge.ending{background: #ffffff;color: #dc2626;border-color: #ffffff;box-shadow: 0 1px 3px rgba(0,0,0,0.18);}
.cal-date-chip.active .chip-mini-badge.starting{background: #ffffff;color: #15803d;border-color: #ffffff;box-shadow: 0 1px 3px rgba(0,0,0,0.18);}
.cal-date-chip.active .chip-mini-badge.release{background: #ffffff;color: #1d4ed8;border-color: #ffffff;box-shadow: 0 1px 3px rgba(0,0,0,0.18);}
.selected-day-today-badge{background: #dc2626;color: #fff;font-size: 0.7rem;font-weight: 800;padding: 2px 8px;border-radius: 10px;}
.calendar-sticky-control-bar{position: static;background: transparent;padding: 0;margin-bottom: 8px;border-bottom: none;box-shadow: none;}
.cal-date-chip.is-past{opacity: 0.52;filter: grayscale(85%);background: var(--bg-card-sub);}
.cal-date-chip.is-past:hover{opacity: 0.85;filter: grayscale(30%);}
.chip-past-badge{display: inline-block;font-size: 0.58rem;font-weight: 800;color: #64748b;background: rgba(100, 116, 139, 0.15);border-radius: 999px;padding: 1px 5px;margin-top: 3px;}
.cal-fomo-banner{background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(245, 158, 11, 0.1));border: 1.5px solid #f87171;border-radius: 10px;padding: 12px 14px;margin-bottom: 14px;color: var(--text-main);font-size: 0.82rem;line-height: 1.5;display: flex;align-items: center;gap: 10px;}
.cal-event-card.is-past{opacity: 0.55 !important;filter: grayscale(60%) !important;position: relative;cursor: default !important;pointer-events: none !important;}
.cal-event-card.is-past:hover{transform: none !important;}
.cal-event-card.is-past button, .cal-event-card.is-past .pill-btn, .cal-event-card.is-past .cal-alert-pill-btn, .cal-event-card.is-past .release-hook-btn, .cal-event-card.is-past a, tr.is-past button, tr.is-past .pill-btn, tr.is-past .cal-alert-pill-btn{pointer-events: none !important;cursor: not-allowed !important;opacity: 0.45 !important;box-shadow: none !important;transform: none !important;}
.cal-date-chip.today-emphasis{border: 2.2px solid #ef4444 !important;box-shadow: 0 0 14px rgba(239, 68, 68, 0.45) !important;animation: pulseToday 2s infinite ease-in-out;position: relative;}
@keyframes pulseToday{0%, 100%{box-shadow: 0 0 10px rgba(239, 68, 68, 0.35);border-color: #ef4444;}50%{box-shadow: 0 0 22px rgba(239, 68, 68, 0.75);border-color: #dc2626;}}
.chip-outer-today-badge.pulse-red{background: #dc2626;animation: pulseTodayBadge 1.5s infinite alternate;}
@keyframes pulseTodayBadge{0%{transform: translateX(-50%) scale(1);}100%{transform: translateX(-50%) scale(1.08);box-shadow: 0 2px 10px rgba(220, 38, 38, 0.7);}}
.selected-day-today-badge.pulse{animation: pulseTodayBadge 1.5s infinite alternate;display: inline-flex;align-items: center;gap: 4px;}
.badge-ending-today-red{display: inline-flex;align-items: center;gap: 4px;font-size: 0.68rem;font-weight: 900;color: #ffffff;background: #dc2626;padding: 2px 7px;border-radius: 999px;box-shadow: 0 2px 6px rgba(220, 38, 38, 0.45);margin-left: 6px;animation: pulseTodayBadge 1.5s infinite alternate;}
.ending-pulse-dot{width: 5px;height: 5px;border-radius: 50%;background: #ffffff;display: inline-block;}
.release-hook-btn{display: inline-flex;align-items: center;gap: 4px;font-size: 0.72rem;font-weight: 800;color: #047857;background: #d1fae5;border: 1.5px solid #10b981;padding: 3px 9px;border-radius: 999px;cursor: pointer;transition: all 0.15s ease;box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);}
.release-hook-btn:hover{background: #10b981;color: #ffffff;transform: translateY(-1px);box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);}
html[data-theme="dark"] .release-hook-btn{color: #a7f3d0;background: rgba(16, 185, 129, 0.2);border-color: #34d399;}
html[data-theme="dark"] .release-hook-btn:hover{background: #10b981;color: #ffffff;}
.cal-notify-bell-btn{display: inline-flex;align-items: center;justify-content: center;gap: 3px;min-width: 26px;height: 24px;padding: 2px 7px;border-radius: 999px;background: var(--bg-card-sub);border: 1.2px solid var(--border-color);color: #0284c7;font-size: 0.68rem;cursor: pointer;transition: all 0.15s ease;flex-shrink: 0;white-space: nowrap;box-shadow: 0 1px 3px rgba(0,0,0,0.06);}
.cal-notify-bell-btn:hover{border-color: #0284c7;color: #0284c7;transform: translateY(-1px);background: var(--bg-card);}
.cal-notify-bell-btn.is-active{background: #e0f2fe;border-color: #0284c7;color: #0369a1;font-weight: 800;width: auto;padding: 2px 8px;border-radius: 999px;font-size: 0.68rem;}
.cal-alert-pill-btn{color: #0284c7 !important;border-color: rgba(2, 132, 199, 0.35) !important;background: rgba(2, 132, 199, 0.06) !important;white-space: nowrap !important;display: inline-flex !important;align-items: center !important;gap: 3px !important;cursor: pointer;transition: all 0.15s ease;font-weight: 600;}
.cal-alert-pill-btn:hover{background: rgba(2, 132, 199, 0.15) !important;border-color: #0284c7 !important;transform: translateY(-1px);}
html[data-theme="dark"] .cal-alert-pill-btn{color: #38bdf8 !important;border-color: rgba(56, 189, 248, 0.35) !important;background: rgba(56, 189, 248, 0.1) !important;}
.schedule-period-badge{display: inline-flex;align-items: center;gap: 3px;font-size: 0.68rem;font-weight: 600;color: #047857;background: rgba(16, 185, 129, 0.1);border: 1px solid rgba(16, 185, 129, 0.25);padding: 1px 6px;border-radius: 4px;line-height: 1.2;white-space: nowrap;}
.schedule-period-badge.ending{color: #b91c1c;background: rgba(220, 38, 38, 0.08);border-color: rgba(220, 38, 38, 0.22);}
html[data-theme="dark"] .schedule-period-badge{color: #6ee7b7;background: rgba(16, 185, 129, 0.15);border-color: rgba(16, 185, 129, 0.3);}
html[data-theme="dark"] .schedule-period-badge.ending{color: #fca5a5;background: rgba(220, 38, 38, 0.15);border-color: rgba(220, 38, 38, 0.3);}
.cal-empty-container{background: var(--bg-card);border: 1.5px dashed var(--border-color);border-radius: 12px;padding: 28px 20px;text-align: center;margin: 12px 0;}
.cal-empty-cta-btn{display: inline-flex;align-items: center;justify-content: center;gap: 6px;padding: 9px 18px;border-radius: 999px;font-size: 0.82rem;font-weight: 800;text-decoration: none;cursor: pointer;border: none;margin-top: 10px;box-shadow: 0 3px 10px rgba(0,0,0,0.12);transition: all 0.2s;}
.cal-empty-cta-btn:hover{transform: translateY(-2px);box-shadow: 0 6px 16px rgba(0,0,0,0.2);}
.cal-empty-cta-btn.green{background: #10b981;color: #ffffff !important;}
.cal-empty-cta-btn.blue{background: #0284c7;color: #ffffff !important;}
.cal-empty-cta-btn.orange{background: #f97316;color: #ffffff !important;}
.cal-empty-cta-btn.purple{background: #8b5cf6;color: #ffffff !important;}
.cal-empty-cta-btn.amber{background: #f59e0b;color: #ffffff !important;}
.cal-day-quick-nav{display: flex;align-items: center;gap: 8px;flex-wrap: wrap;margin-bottom: 14px;padding: 8px 12px;background: var(--bg-card-sub);border-radius: 8px;border: 1px solid var(--border-color);}
.cal-quick-nav-label{font-size: 0.72rem;font-weight: 800;color: var(--text-sub);margin-right: 2px;}
.cal-quick-nav-btn{display: inline-flex;align-items: center;gap: 5px;font-size: 0.72rem;font-weight: 700;padding: 4px 10px;border-radius: 6px;border: 1px solid var(--border-color);background: rgba(255, 255, 255, 0.05);color: var(--text-main);cursor: pointer;transition: all 0.15s ease;user-select: none;}
.cal-quick-nav-btn:hover{border-color: #f59e0b;background: rgba(245, 158, 11, 0.1);transform: translateY(-1px);}
html[data-theme="light"] .cal-quick-nav-btn{background: #ffffff;border-color: #e2e8f0;}
html[data-theme="light"] .cal-quick-nav-btn:hover{background: #fef3c7;border-color: #f59e0b;}
.cal-quick-nav-btn.ending{border-color: rgba(220, 38, 38, 0.28);}
.cal-quick-nav-btn.starting{border-color: rgba(22, 163, 74, 0.28);}
.cal-quick-nav-btn.release{border-color: rgba(37, 99, 235, 0.28);}
.cal-sec-toggle-header{display: flex;justify-content: space-between;align-items: center;padding: 6px 10px;margin-bottom: 8px;border-radius: 6px;cursor: pointer;user-select: none;transition: background 0.15s ease;}
.cal-sec-toggle-header:hover{background: rgba(255, 255, 255, 0.05);}
html[data-theme="light"] .cal-sec-toggle-header:hover{background: #f1f5f9;}
.cal-sec-arrow{font-size: 0.72rem;color: var(--text-sub);transition: transform 0.2s ease;display: inline-block;}
.cal-sec-arrow.collapsed{transform: rotate(-90deg);}
.cal-event-card{display: flex;align-items: center;gap: 10px;padding: 9px 12px;border-radius: 8px;margin-bottom: 7px;cursor: pointer;transition: all 0.18s ease;border: 1px solid transparent;}
.cal-event-card:hover{transform: translateY(-1px);}
html[data-theme="light"] .cal-event-card.ending{background: #fef2f2;border-color: #fee2e2;}
html[data-theme="light"] .cal-event-card.ending:hover{background: #fee2e2;border-color: #fca5a5;}
html[data-theme="light"] .cal-event-card.ending .event-title{color: #0f172a;font-weight: 700;font-size: 0.85rem;}
html[data-theme="light"] .cal-event-card.ending .event-note{color: #dc2626;font-weight: 700;font-size: 0.72rem;margin-top: 2px;}
html[data-theme="dark"] .cal-event-card.ending{background: rgba(239, 68, 68, 0.08);border-color: rgba(239, 68, 68, 0.25);box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);}
html[data-theme="dark"] .cal-event-card.ending:hover{background: rgba(239, 68, 68, 0.14);border-color: rgba(248, 113, 113, 0.4);}
html[data-theme="dark"] .cal-event-card.ending .event-title{color: #f8fafc;font-weight: 700;font-size: 0.85rem;}
html[data-theme="dark"] .cal-event-card.ending .event-note{color: #fca5a5;font-weight: 700;font-size: 0.72rem;margin-top: 2px;}
html[data-theme="light"] .cal-event-card.starting{background: #f0fdf4;border-color: #dcfce7;}
html[data-theme="light"] .cal-event-card.starting:hover{background: #dcfce7;border-color: #86efac;}
html[data-theme="light"] .cal-event-card.starting .event-title{color: #0f172a;font-weight: 700;font-size: 0.85rem;}
html[data-theme="light"] .cal-event-card.starting .event-note{color: #16a34a;font-weight: 700;font-size: 0.72rem;margin-top: 2px;}
html[data-theme="dark"] .cal-event-card.starting{background: rgba(34, 197, 94, 0.08);border-color: rgba(34, 197, 94, 0.25);box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);}
html[data-theme="dark"] .cal-event-card.starting:hover{background: rgba(34, 197, 94, 0.14);border-color: rgba(74, 222, 128, 0.4);}
html[data-theme="dark"] .cal-event-card.starting .event-title{color: #f8fafc;font-weight: 700;font-size: 0.85rem;}
html[data-theme="dark"] .cal-event-card.starting .event-note{color: #86efac;font-weight: 700;font-size: 0.72rem;margin-top: 2px;}
.cal-event-card.release{display: flex;align-items: center;gap: 12px;padding: 8px 12px;}
html[data-theme="light"] .cal-event-card.release{background: #ffffff;border-color: #e2e8f0;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);}
html[data-theme="light"] .cal-event-card.release:hover{border-color: #3b82f6;box-shadow: 0 3px 10px rgba(59, 130, 246, 0.12);}
html[data-theme="dark"] .cal-event-card.release{background: rgba(30, 41, 59, 0.65);border-color: rgba(255, 255, 255, 0.08);box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);}
html[data-theme="dark"] .cal-event-card.release:hover{background: rgba(30, 41, 59, 0.95);border-color: rgba(96, 165, 250, 0.4);}
.release-cover-img{width: 38px;height: 54px;object-fit: cover;border-radius: 4px;box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);flex-shrink: 0;background: #e2e8f0;}
html[data-theme="dark"] .release-cover-img{background: #1e293b;border: 1px solid rgba(255, 255, 255, 0.1);}
.genre-badge-unified{display: inline-flex;align-items: center;gap: 3px;font-size: 0.64rem;font-weight: 800;padding: 1.5px 6px;border-radius: 4px;white-space: nowrap;}
html[data-theme="light"] .genre-badge-unified.comic{background: #fff7ed;color: #c2410c;border: 1px solid #fed7aa;}
html[data-theme="dark"] .genre-badge-unified.comic{background: rgba(249, 115, 22, 0.2);color: #fdba74;border: 1px solid rgba(249, 115, 22, 0.4);}
html[data-theme="light"] .genre-badge-unified.bungei{background: #f0fdf4;color: #047857;border: 1px solid #bbf7d0;}
html[data-theme="dark"] .genre-badge-unified.bungei{background: rgba(16, 185, 129, 0.2);color: #6ee7b7;border: 1px solid rgba(16, 185, 129, 0.4);}
html[data-theme="light"] .genre-badge-unified.business{background: #eff6ff;color: #1d4ed8;border: 1px solid #bfdbfe;}
html[data-theme="dark"] .genre-badge-unified.business{background: rgba(59, 130, 246, 0.2);color: #93c5fd;border: 1px solid rgba(59, 130, 246, 0.4);}
.cal-store-badge{font-size: 0.65rem;font-weight: 800;padding: 2px 7px;border-radius: 4px;white-space: nowrap;flex-shrink: 0;display: inline-flex;align-items: center;gap: 3px;}
html[data-theme="light"] .cal-store-badge.store-kindle{background: #fff7ed;color: #b45309;border: 1px solid #fcd34d;}
html[data-theme="dark"] .cal-store-badge.store-kindle{background: rgba(245, 158, 11, 0.2);color: #fde68a;border: 1px solid rgba(245, 158, 11, 0.4);}
html[data-theme="light"] .cal-store-badge.store-kobo{background: #fef2f2;color: #991b1b;border: 1px solid #fecaca;}
html[data-theme="dark"] .cal-store-badge.store-kobo{background: rgba(185, 28, 28, 0.2);color: #fca5a5;border: 1px solid rgba(185, 28, 28, 0.4);}
html[data-theme="light"] .cal-store-badge.store-ebook{background: #fff1f2;color: #be123c;border: 1px solid #fecdd3;}
html[data-theme="dark"] .cal-store-badge.store-ebook{background: rgba(239, 68, 68, 0.2);color: #fecdd3;border: 1px solid rgba(239, 68, 68, 0.4);}
html[data-theme="light"] .cal-store-badge.store-dmm{background: #18181b;color: #fef08a;border: 1px solid #3f3f46;}
html[data-theme="dark"] .cal-store-badge.store-dmm{background: #27272a;color: #fef08a;border: 1px solid rgba(245, 158, 11, 0.4);}
html[data-theme="light"] .cal-store-badge.store-all{background: #f1f5f9;color: #475569;border: 1px solid #cbd5e1;}
html[data-theme="dark"] .cal-store-badge.store-all{background: rgba(148, 163, 184, 0.2);color: #cbd5e1;border: 1px solid rgba(148, 163, 184, 0.3);}
.guide-modal-content{max-width: 640px;width: 90%;background: #ffffff;border-radius: 18px;padding: 24px;box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);position: relative;max-height: 85vh;overflow-y: auto;user-select: none;-webkit-user-select: none;}
.guide-modal-content p, .guide-step-body p{user-select: text;-webkit-user-select: text;}
html[data-theme="dark"] .guide-modal-content{background: #0f172a;border: 1px solid #334155;color: #f8fafc;box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);}
.guide-step-card{background: #f8fafc;border: 1px solid #e2e8f0;border-radius: 12px;padding: 16px;margin-bottom: 14px;display: flex;gap: 14px;align-items: flex-start;}
html[data-theme="dark"] .guide-step-card{background: #1e293b;border-color: #334155;}
.guide-step-num{width: 32px;height: 32px;border-radius: 50%;background: linear-gradient(135deg, #d97706, #b45309);color: #ffffff;font-weight: 900;font-size: 0.9rem;display: flex;align-items: center;justify-content: center;flex-shrink: 0;box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);}
.guide-step-body h4{margin: 0 0 4px 0;font-size: 0.92rem;font-weight: 800;color: #0f172a;}
html[data-theme="dark"] .guide-step-body h4{color: #ffffff;}
.guide-step-body p{margin: 0;font-size: 0.78rem;line-height: 1.5;color: #475569;}
html[data-theme="dark"] .guide-step-body p{color: #cbd5e1;}
.guide-tabs-scroll-bar{display: flex;gap: 6px;overflow-x: auto;padding: 4px 2px 10px 2px;margin-bottom: 16px;-webkit-overflow-scrolling: touch;scrollbar-width: none;border-bottom: 1px solid var(--border-color, #e2e8f0);}
.guide-tabs-scroll-bar::-webkit-scrollbar{display: none;}
.guide-tab-pill{display: inline-flex;align-items: center;gap: 5px;padding: 6px 13px;font-size: 0.78rem;font-weight: 700;border-radius: 999px;background: var(--bg-card-sub, #f1f5f9);color: var(--text-sub, #64748b);border: 1px solid var(--border-color, #e2e8f0);cursor: pointer;white-space: nowrap;flex-shrink: 0;transition: all 0.15s ease;user-select: none;}
.guide-tab-pill svg{flex-shrink: 0;}
.guide-tab-pill:hover{background: #ffffff;color: #0f172a;border-color: #cbd5e1;}
.guide-tab-pill.active{background: linear-gradient(135deg, #f59e0b, #d97706);color: #ffffff !important;border-color: #d97706 !important;box-shadow: 0 2px 8px rgba(217, 119, 6, 0.32);}
.guide-tab-pill.active svg{stroke: #ffffff;}
html[data-theme="dark"] .guide-tabs-scroll-bar{border-bottom-color: #334155;}
html[data-theme="dark"] .guide-tab-pill{background: #1e293b;color: #94a3b8;border-color: #334155;}
html[data-theme="dark"] .guide-tab-pill:hover{background: #273549;color: #f8fafc;border-color: #475569;}
html[data-theme="dark"] .guide-tab-pill.active{background: linear-gradient(135deg, #f59e0b, #d97706);color: #ffffff !important;border-color: #d97706 !important;box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);}
.guide-tab-panel{display: none;animation: guideFadeIn 0.22s ease-out;}
.guide-tab-panel.active{display: block;}
@keyframes guideFadeIn{from{opacity: 0;transform: translateY(3px);}to{opacity: 1;transform: translateY(0);}}
.guide-panel-action-row{display: flex;justify-content: center;align-items: center;gap: 12px;margin-top: 22px;flex-wrap: wrap;}
.guide-action-btn-main{padding: 10px 24px;font-size: 0.88rem;font-weight: 800;border-radius: 999px;background: linear-gradient(135deg, #f59e0b, #d97706);color: #ffffff;box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);display: inline-flex;align-items: center;gap: 7px;cursor: pointer;border: none;transition: transform 0.15s, box-shadow 0.15s;}
.guide-action-btn-main:hover{transform: translateY(-1px);box-shadow: 0 6px 18px rgba(217, 119, 6, 0.45);}
.guide-action-btn-sub{padding: 9px 20px;font-size: 0.85rem;font-weight: 700;border-radius: 999px;background: var(--bg-card-sub, #f1f5f9);color: var(--text-main, #334155);border: 1px solid var(--border-color, #cbd5e1);display: inline-flex;align-items: center;gap: 6px;cursor: pointer;transition: all 0.15s ease;}
.guide-action-btn-sub:hover{background: #e2e8f0;color: #0f172a;}
html[data-theme="dark"] .guide-action-btn-sub{background: #1e293b;color: #cbd5e1;border-color: #475569;}
html[data-theme="dark"] .guide-action-btn-sub:hover{background: #273549;color: #f8fafc;}
.subcontent-guide-help-btn{display: inline-flex;align-items: center;gap: 4px;padding: 4px 9px;font-size: 0.74rem;font-weight: 700;border-radius: 6px;background: transparent;color: var(--text-sub, #64748b);border: 1px solid var(--border-color, #cbd5e1);cursor: pointer;white-space: nowrap;transition: all 0.15s ease;line-height: 1;}
.subcontent-guide-help-btn:hover{background: var(--bg-card-sub, #f1f5f9);color: #d97706;border-color: #d97706;}
html[data-theme="dark"] .subcontent-guide-help-btn{border-color: #334155;color: #94a3b8;}
html[data-theme="dark"] .subcontent-guide-help-btn:hover{background: #1e293b;color: #f59e0b;border-color: #f59e0b;}
#tutorial-backdrop{position: fixed;inset: 0;z-index: 99990;background: transparent;display: none;cursor: pointer;}
#tutorial-spotlight{position: fixed;z-index: 99992;pointer-events: none;display: none;box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.72);border: 2.5px solid #f59e0b;border-radius: 12px;transition: top 0.32s cubic-bezier(0.16, 1, 0.3, 1), left 0.32s cubic-bezier(0.16, 1, 0.3, 1), width 0.32s cubic-bezier(0.16, 1, 0.3, 1), height 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.32s ease;filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.5));animation: tutorialPulse 2.4s infinite ease-in-out;}
@keyframes tutorialPulse{0%, 100%{border-color: #f59e0b;filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.45));}50%{border-color: #fbbf24;filter: drop-shadow(0 0 16px rgba(245, 158, 11, 0.75));}}
#tutorial-popover{position: fixed;z-index: 99995;display: none;width: 380px;max-width: calc(100vw - 32px);left: 50%;transform: translateX(-50%);background: #ffffff;border: 1.5px solid rgba(245, 158, 11, 0.45);border-radius: 16px;padding: 16px 18px 14px 18px;box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38), 0 0 1px rgba(0, 0, 0, 0.2);transition: opacity 0.22s ease;box-sizing: border-box;pointer-events: auto;}
html[data-theme="dark"] #tutorial-popover{background: #0f172a;border-color: rgba(245, 158, 11, 0.5);color: #f8fafc;box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 1px rgba(255, 255, 255, 0.1);}
.tutorial-popover-header{display: flex;justify-content: space-between;align-items: center;margin-bottom: 8px;}
.tutorial-step-badge{display: inline-flex;align-items: center;gap: 5px;background: linear-gradient(135deg, #f59e0b, #d97706);color: #ffffff;font-size: 0.72rem;font-weight: 900;padding: 3px 9px;border-radius: 999px;letter-spacing: 0.5px;}
.tutorial-popover-close{background: transparent;border: none;font-size: 1.35rem;color: var(--text-sub, #64748b);cursor: pointer;padding: 2px 6px;line-height: 1;border-radius: 6px;transition: background 0.15s, color 0.15s;}
.tutorial-popover-close:hover{background: rgba(0, 0, 0, 0.06);color: var(--text-main, #0f172a);}
html[data-theme="dark"] .tutorial-popover-close:hover{background: rgba(255, 255, 255, 0.1);color: #ffffff;}
.tutorial-step-title{font-size: 1.05rem;font-weight: 800;margin: 0 0 6px 0;color: var(--text-main, #0f172a);display: flex;align-items: center;gap: 6px;min-height: 26px;}
html[data-theme="dark"] .tutorial-step-title{color: #f8fafc;}
.tutorial-step-desc{font-size: 0.82rem;line-height: 1.55;color: var(--text-sub, #475569);margin: 0 0 14px 0;min-height: 56px;}
html[data-theme="dark"] .tutorial-step-desc{color: #cbd5e1;}
.tutorial-popover-actions{display: flex;justify-content: flex-end;align-items: center;gap: 8px;}
.tutorial-skip-btn{background: transparent;border: none;font-size: 0.78rem;font-weight: 700;color: var(--text-sub, #64748b);cursor: pointer;padding: 5px 8px;border-radius: 6px;transition: color 0.15s;}
.tutorial-skip-btn:hover{color: var(--text-main, #0f172a);text-decoration: underline;}
html[data-theme="dark"] .tutorial-skip-btn:hover{color: #ffffff;}
.tutorial-nav-group{display: flex;gap: 8px;align-items: center;}
.tutorial-nav-btn{padding: 6px 14px;font-size: 0.8rem;font-weight: 800;border-radius: 999px;cursor: pointer;transition: transform 0.15s, box-shadow 0.15s, background 0.15s;border: 1px solid var(--border-color, #cbd5e1);background: var(--bg-card-sub, #f1f5f9);color: var(--text-main, #1e293b);}
html[data-theme="dark"] .tutorial-nav-btn{background: #1e293b;border-color: #475569;color: #f8fafc;}
.tutorial-nav-btn:hover{transform: translateY(-1px);}
.tutorial-nav-btn.primary{background: linear-gradient(135deg, #f59e0b, #d97706);border-color: #d97706;color: #ffffff;box-shadow: 0 3px 10px rgba(217, 119, 6, 0.35);}
.tutorial-nav-btn.primary:hover{box-shadow: 0 4px 14px rgba(217, 119, 6, 0.45);}
.tutorial-nav-btn.plan-btn{background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(217, 119, 6, 0.18));border: 1.5px solid #f59e0b;color: #b45309;box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);display: inline-flex;align-items: center;gap: 5px;}
.tutorial-nav-btn.plan-btn:hover{background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(217, 119, 6, 0.3));box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);color: #92400e;}
html[data-theme="dark"] .tutorial-nav-btn.plan-btn{background: rgba(245, 158, 11, 0.2);border-color: #fbbf24;color: #fde68a;}
html[data-theme="dark"] .tutorial-nav-btn.plan-btn:hover{background: rgba(245, 158, 11, 0.32);color: #ffffff;}
#tutorial-popover.is-last-step{width: 440px !important;}
#tutorial-spotlight.sim-tutorial-mode{border-color: #8b5cf6;filter: drop-shadow(0 0 14px rgba(139, 92, 246, 0.65));animation: simTutorialPulse 2.4s infinite ease-in-out;}
@keyframes simTutorialPulse{0%, 100%{border-color: #8b5cf6;filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));}50%{border-color: #a78bfa;filter: drop-shadow(0 0 18px rgba(167, 139, 250, 0.85));}}
#tutorial-popover.sim-tutorial-mode{border-color: rgba(139, 92, 246, 0.55);box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(139, 92, 246, 0.2);bottom: 24px !important;top: auto !important;left: 50% !important;transform: translateX(-50%) !important;}
#tutorial-popover.sim-tutorial-mode .tutorial-step-badge{background: linear-gradient(135deg, #7c3aed, #6d28d9);}
#tutorial-popover.sim-tutorial-mode #tutorial-next-btn{background: linear-gradient(135deg, #7c3aed, #6d28d9);border-color: #6d28d9;box-shadow: 0 3px 10px rgba(124, 58, 237, 0.35);}
#tutorial-popover.sim-tutorial-mode #tutorial-next-btn:hover{box-shadow: 0 4px 14px rgba(124, 58, 237, 0.45);}
@media (max-width: 480px){#tutorial-popover{bottom: 16px !important;top: auto !important;left: 50% !important;transform: translateX(-50%) !important;width: calc(100vw - 24px) !important;padding: 12px 14px 10px 14px !important;border-radius: 14px !important;}#tutorial-popover.popover-align-top{top: 16px !important;bottom: auto !important;}.tutorial-step-title{font-size: 0.95rem !important;margin-bottom: 4px !important;}.tutorial-step-desc{font-size: 0.77rem !important;line-height: 1.48 !important;margin-bottom: 10px !important;}.tutorial-nav-group{flex-wrap: wrap !important;justify-content: flex-end !important;gap: 6px !important;}.tutorial-nav-btn{padding: 5px 11px !important;font-size: 0.74rem !important;}.tutorial-nav-btn.plan-btn{padding: 5px 9px !important;font-size: 0.72rem !important;}.tutorial-skip-btn{font-size: 0.74rem !important;padding: 4px 6px !important;}}
.floating-calc-trigger.tutorial-elevated-highlight{z-index: 99996 !important;box-shadow: 0 0 0 3px #f59e0b, 0 10px 30px rgba(124, 58, 237, 0.8) !important;animation: cartWobbleShake 1.6s infinite ease-in-out !important;transition: box-shadow 0.2s, transform 0.2s !important;}
@media (max-width: 640px){.brand-text-col{flex-direction: column;align-items: flex-start;gap: 2px;}.brand-title{font-size: 1.18rem;}.brand-subtitle{display: none !important;}.schedule-day-card{flex: 0 0 270px;max-width: 270px;padding: 12px;}.weekly-schedule-section{padding: 12px;}}
.book-subs-showcase-section{background: var(--bg-card);border: 1px solid var(--border-color);border-radius: 14px;padding: 22px 20px;margin-bottom: 24px;box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);}
html[data-theme="dark"] .book-subs-showcase-section{background: #161c28;border-color: #273448;box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);}
.book-subs-header-wrap{display: flex;justify-content: space-between;align-items: flex-start;margin-bottom: 18px;flex-wrap: wrap;gap: 12px;border-bottom: 1px dashed var(--border-color);padding-bottom: 14px;}
.book-subs-title{font-size: 1.15rem;font-weight: 800;color: var(--text-main);display: flex;align-items: center;gap: 8px;margin: 0 0 4px;}
.book-subs-subtitle{font-size: 0.8rem;color: var(--text-sub);margin: 0;line-height: 1.5;}
.book-subs-grid{display: grid;grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));gap: 16px;}
.book-sub-card{background: var(--bg-panel);border: 1px solid var(--border-color);border-radius: 12px;padding: 16px;display: flex;flex-direction: column;justify-content: space-between;transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;position: relative;overflow: hidden;}
.book-sub-card:hover{transform: translateY(-3px);box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);border-color: var(--accent-gold);}
html[data-theme="dark"] .book-sub-card{background: #1b2332;border-color: #28374d;}
html[data-theme="dark"] .book-sub-card:hover{box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);border-color: var(--accent-gold);}
.book-sub-card::before{content: '';position: absolute;top: 0;left: 0;right: 0;height: 3px;background: var(--card-accent, #f59e0b);}
.book-sub-top{display: flex;align-items: flex-start;gap: 12px;margin-bottom: 12px;}
.book-sub-icon-badge{width: 44px;height: 44px;border-radius: 10px;display: flex;align-items: center;justify-content: center;font-size: 1.45rem;flex-shrink: 0;background: var(--badge-bg, rgba(245,158,11,0.12));color: var(--badge-color, #d97706);box-shadow: 0 2px 6px rgba(0,0,0,0.06);}
.book-sub-meta{flex: 1;min-width: 0;}
.book-sub-name-row{display: flex;align-items: center;justify-content: space-between;gap: 6px;margin-bottom: 3px;}
.book-sub-name{font-size: 0.98rem;font-weight: 800;color: var(--text-main);white-space: nowrap;overflow: hidden;text-overflow: ellipsis;margin: 0;}
.book-sub-provider{font-size: 0.72rem;color: var(--text-sub);}
.book-sub-tag{display: inline-block;font-size: 0.68rem;font-weight: 700;padding: 2px 7px;border-radius: 4px;background: rgba(245,158,11,0.12);color: #b45309;border: 1px solid rgba(245,158,11,0.25);}
html[data-theme="dark"] .book-sub-tag{background: rgba(245,158,11,0.2);color: #fbbf24;border-color: rgba(245,158,11,0.4);}
.book-sub-tag.tag-audio{background: rgba(16, 185, 129, 0.12);color: #059669;border-color: rgba(16, 185, 129, 0.25);}
html[data-theme="dark"] .book-sub-tag.tag-audio{background: rgba(16, 185, 129, 0.2);color: #34d399;border-color: rgba(16, 185, 129, 0.4);}
.book-sub-tag.tag-magazine{background: rgba(239, 68, 68, 0.12);color: #dc2626;border-color: rgba(239, 68, 68, 0.25);}
html[data-theme="dark"] .book-sub-tag.tag-magazine{background: rgba(239, 68, 68, 0.2);color: #f87171;border-color: rgba(239, 68, 68, 0.4);}
.book-sub-tag.tag-summary{background: rgba(2, 132, 199, 0.12);color: #0284c7;border-color: rgba(2, 132, 199, 0.25);}
html[data-theme="dark"] .book-sub-tag.tag-summary{background: rgba(2, 132, 199, 0.2);color: #38bdf8;border-color: rgba(2, 132, 199, 0.4);}
.book-sub-tag.tag-manga{background: rgba(236, 72, 153, 0.12);color: #db2777;border-color: rgba(236, 72, 153, 0.25);}
html[data-theme="dark"] .book-sub-tag.tag-manga{background: rgba(236, 72, 153, 0.2);color: #f472b6;border-color: rgba(236, 72, 153, 0.4);}
.book-sub-tag.tag-ranobe{background: rgba(139, 92, 246, 0.12);color: #7c3aed;border-color: rgba(139, 92, 246, 0.25);}
html[data-theme="dark"] .book-sub-tag.tag-ranobe{background: rgba(139, 92, 246, 0.2);color: #a78bfa;border-color: rgba(139, 92, 246, 0.4);}
.book-sub-tag.tag-rental{background: rgba(13, 148, 136, 0.12);color: #0d9488;border-color: rgba(13, 148, 136, 0.25);}
html[data-theme="dark"] .book-sub-tag.tag-rental{background: rgba(13, 148, 136, 0.2);color: #2dd4bf;border-color: rgba(13, 148, 136, 0.4);}
.book-sub-pricing-box{background: var(--bg-card);border: 1px solid var(--border-color);border-radius: 8px;padding: 8px 12px;margin-bottom: 12px;display: flex;justify-content: space-between;align-items: center;gap: 6px;}
html[data-theme="dark"] .book-sub-pricing-box{background: #131923;border-color: #263345;}
.book-sub-price-val{font-size: 0.95rem;font-weight: 800;color: var(--accent-gold);}
.book-sub-trial-val{font-size: 0.72rem;font-weight: 700;color: #059669;background: rgba(16, 185, 129, 0.1);padding: 2px 7px;border-radius: 4px;border: 1px solid rgba(16, 185, 129, 0.25);white-space: nowrap;}
html[data-theme="dark"] .book-sub-trial-val{color: #34d399;background: rgba(16, 185, 129, 0.18);}
.book-sub-features{font-size: 0.78rem;color: var(--text-sub);line-height: 1.45;margin: 0 0 14px;padding: 0;flex-grow: 1;}
.book-sub-features li{margin-bottom: 5px;list-style: none;display: flex;align-items: flex-start;gap: 6px;}
.book-sub-features li::before{content: "";display: inline-block;width: 12px;height: 12px;background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center center;background-size: contain;margin-top: 2px;flex-shrink: 0;}
.book-sub-btn{width: 100%;padding: 8px 12px;border-radius: 8px;font-size: 0.8rem;font-weight: 700;text-align: center;text-decoration: none;display: inline-flex;align-items: center;justify-content: center;gap: 6px;transition: all 0.2s;box-sizing: border-box;}
.book-sub-btn-gold{background: var(--accent-gold);color: #0f1218;border: 1px solid var(--accent-gold);box-shadow: 0 2px 6px rgba(212, 175, 55, 0.2);}
.book-sub-btn-gold:hover{background: #e5be3c;color: #0f1218;box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);}
.book-sub-btn-outline{background: var(--bg-card);color: var(--text-main);border: 1px solid var(--border-color);}
body.is-lp-special-mode .genre-selector-bar, body.is-lp-special-mode #mobile-genre-dropdown-bar, body.is-lp-special-mode .permanent-search-section, body.is-lp-special-mode .site-eyecatch-hero, body.is-lp-special-mode .special-killer-container, body.is-lp-special-mode .kindle-daily-showcase, body.is-lp-special-mode #unified-sale-toolbar{display: none !important;}
.lp-top-nav-bar{display: flex;align-items: center;justify-content: space-between;gap: 12px;padding: 10px 14px;margin-bottom: 16px;background: var(--bg-card-sub);border: 1px solid var(--border-color);border-radius: 12px;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);}
.lp-home-return-btn{display: inline-flex;align-items: center;gap: 6px;padding: 7px 14px;border-radius: 999px;background: var(--home-btn-bg);border: 1.5px solid var(--home-btn-border);color: var(--home-btn-color);font-size: 0.84rem;font-weight: 800;cursor: pointer;transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);box-shadow: 0 2px 8px var(--home-btn-shadow);}
.lp-home-return-btn:hover{background: var(--home-btn-hover-bg);color: var(--home-btn-color);border-color: var(--home-btn-border);transform: translateY(-1px);box-shadow: 0 4px 14px var(--home-btn-shadow);}
.lp-brand-pill{display: inline-flex;align-items: center;gap: 6px;padding: 4px 12px;border-radius: 999px;background: rgba(245, 158, 11, 0.12);border: 1px solid rgba(245, 158, 11, 0.3);color: #d97706;font-size: 0.74rem;font-weight: 800;}
html[data-theme="dark"] .lp-brand-pill{background: rgba(245, 158, 11, 0.2);color: #fbbf24;border-color: rgba(245, 158, 11, 0.4);}
.lp-brand-pill.green{background: rgba(16, 185, 129, 0.12);border-color: rgba(16, 185, 129, 0.3);color: #059669;}
html[data-theme="dark"] .lp-brand-pill.green{background: rgba(16, 185, 129, 0.2);color: #34d399;border-color: rgba(16, 185, 129, 0.4);}
.lp-brand-dot{width: 7px;height: 7px;border-radius: 50%;background: currentColor;}
.unlimited-lp-hero{text-align: center;margin-bottom: 20px;padding: 4px 8px;}
.unlimited-lp-title{font-size: 1.45rem;font-weight: 900;color: var(--text-main);margin: 0 0 6px 0;letter-spacing: -0.02em;}
.unlimited-lp-subtitle{font-size: 0.86rem;color: var(--text-sub);margin: 0;line-height: 1.5;}
.coverflow-carousel-section{position: relative;width: 100%;margin: 10px 0 20px 0;perspective: 1000px;overflow: hidden;padding: 14px 0 18px 0;}
.coverflow-track-wrap{width: 100%;overflow: hidden;position: relative;touch-action: pan-y;cursor: grab;user-select: none;-webkit-user-select: none;}
.coverflow-track-wrap.is-dragging{cursor: grabbing;}
.coverflow-track{position: relative;width: 100%;height: 248px;display: flex;align-items: center;justify-content: center;transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);will-change: transform;}
@media (max-width: 640px){.coverflow-track{height: 228px;}}
.coverflow-card{position: absolute;left: 50%;top: 50%;width: 326px;height: 206px;border-radius: 18px;padding: 13px 16px;box-sizing: border-box;background: var(--bg-card);border: 1.5px solid var(--border-color);box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);cursor: pointer;display: flex;flex-direction: column;justify-content: space-between;user-select: none;transition: transform 0.42s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.35s ease, filter 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;will-change: transform, opacity, filter;}
@media (max-width: 640px){.coverflow-card{width: 290px;height: 192px;padding: 11px 13px;border-radius: 16px;}}
.coverflow-card[data-pos="0"]{transform: translate(-50%, -50%) scale(1.08);z-index: 10;opacity: 1;filter: grayscale(0%) brightness(1);border-color: var(--service-theme, #f59e0b) !important;border-width: 2px !important;box-shadow: 0 14px 38px rgba(0, 0, 0, 0.22), 0 0 0 2px var(--service-theme, #f59e0b) !important;cursor: pointer;pointer-events: auto;}
@media (max-width: 640px){.coverflow-card[data-pos="0"]{transform: translate(-50%, -50%) scale(1.04);}}
.coverflow-card[data-pos="-1"]{transform: translate(calc(-50% - 315px), -50%) scale(0.85);z-index: 5;opacity: 0.45;filter: grayscale(100%) brightness(0.92);border-color: var(--border-color);box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);pointer-events: auto;}
.coverflow-card[data-pos="-1"]:hover{opacity: 0.65;filter: grayscale(50%) brightness(0.96);}
.coverflow-card[data-pos="1"]{transform: translate(calc(-50% + 315px), -50%) scale(0.85);z-index: 5;opacity: 0.45;filter: grayscale(100%) brightness(0.92);border-color: var(--border-color);box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);pointer-events: auto;}
.coverflow-card[data-pos="1"]:hover{opacity: 0.65;filter: grayscale(50%) brightness(0.96);}
.coverflow-card[data-pos="-2"]{transform: translate(calc(-50% - 560px), -50%) scale(0.74);z-index: 2;opacity: 0.18;filter: grayscale(100%) brightness(0.85);border-color: var(--border-color);pointer-events: auto;}
.coverflow-card[data-pos="2"]{transform: translate(calc(-50% + 560px), -50%) scale(0.74);z-index: 2;opacity: 0.18;filter: grayscale(100%) brightness(0.85);border-color: var(--border-color);pointer-events: auto;}
.coverflow-card[data-pos="hidden-left"]{transform: translate(calc(-50% - 720px), -50%) scale(0.60);z-index: 1;opacity: 0 !important;visibility: hidden !important;pointer-events: none !important;transition: none !important;filter: grayscale(100%);}
.coverflow-card[data-pos="hidden-right"]{transform: translate(calc(-50% + 720px), -50%) scale(0.60);z-index: 1;opacity: 0 !important;visibility: hidden !important;pointer-events: none !important;transition: none !important;filter: grayscale(100%);}
@media (max-width: 900px){.coverflow-card[data-pos="-1"]{transform: translate(calc(-50% - 250px), -50%) scale(0.84);}.coverflow-card[data-pos="1"]{transform: translate(calc(-50% + 250px), -50%) scale(0.84);}.coverflow-card[data-pos="-2"]{transform: translate(calc(-50% - 440px), -50%) scale(0.70);opacity: 0.12;}.coverflow-card[data-pos="2"]{transform: translate(calc(-50% + 440px), -50%) scale(0.70);opacity: 0.12;}}
@media (max-width: 640px){.coverflow-card[data-pos="-1"]{transform: translate(calc(-50% - 180px), -50%) scale(0.80);opacity: 0.35;}.coverflow-card[data-pos="1"]{transform: translate(calc(-50% + 180px), -50%) scale(0.80);opacity: 0.35;}.coverflow-card[data-pos="-2"], .coverflow-card[data-pos="2"]{opacity: 0;pointer-events: none;}}
.coverflow-card-topbar{display: flex;align-items: center;justify-content: space-between;gap: 8px;min-width: 0;}
.coverflow-brand-info{display: inline-flex;align-items: center;gap: 6px;min-width: 0;}
.coverflow-app-icon{width: 26px;height: 26px;border-radius: 7px;display: inline-flex;align-items: center;justify-content: center;font-size: 1.05rem;flex-shrink: 0;border: 1px solid var(--border-color);box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);}
.coverflow-provider-tag{font-size: 0.68rem;font-weight: 700;color: var(--text-sub);background: var(--bg-card-sub);border: 1px solid var(--border-color);padding: 2px 7px;border-radius: 999px;white-space: nowrap;flex-shrink: 0;}
.coverflow-trial-badge{font-size: 0.70rem;font-weight: 800;color: var(--service-theme, #f59e0b);background: color-mix(in srgb, var(--service-theme, #f59e0b) 12%, transparent);border: 1px solid color-mix(in srgb, var(--service-theme, #f59e0b) 32%, transparent);padding: 3px 9px;border-radius: 999px;white-space: nowrap;flex-shrink: 0;}
.coverflow-service-title-box{width: 100%;margin: 2px 0 1px 0;min-width: 0;}
.coverflow-service-name{font-size: 1.15rem;font-weight: 900;color: var(--text-main);line-height: 1.22;letter-spacing: -0.01em;white-space: nowrap;overflow: visible;text-overflow: clip;}
@media (max-width: 640px){.coverflow-service-name{font-size: 1.04rem;}}
.coverflow-pricing-box{background: var(--bg-panel);border: 1px solid var(--border-color);border-radius: 11px;padding: 6px 12px;display: flex;align-items: center;justify-content: space-between;gap: 8px;margin: 2px 0;}
.coverflow-price-col, .coverflow-books-col{display: flex;flex-direction: column;gap: 1px;min-width: 0;}
.coverflow-price-col{flex: 1.15;}
.coverflow-books-col{flex: 0.85;text-align: right;}
.coverflow-price-label, .coverflow-books-label{font-size: 0.60rem;font-weight: 700;color: var(--text-muted);letter-spacing: 0.04em;}
.coverflow-price-val{font-size: 0.82rem;font-weight: 800;color: var(--service-theme, #f59e0b);white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.coverflow-books-val{font-size: 0.78rem;font-weight: 700;color: var(--text-main);white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.coverflow-divider{width: 1px;height: 22px;background: var(--border-color);flex-shrink: 0;}
.coverflow-card-footer{display: flex;align-items: center;justify-content: space-between;gap: 6px;}
.coverflow-footer-hint{font-size: 0.68rem;color: var(--text-sub);font-weight: 600;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.coverflow-detail-btn{display: inline-flex;align-items: center;gap: 4px;padding: 4px 11px;border-radius: 999px;font-size: 0.72rem;font-weight: 800;background: var(--service-theme, #f59e0b);color: #ffffff;border: none;cursor: pointer;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);transition: transform 0.2s ease, box-shadow 0.2s ease;white-space: nowrap;flex-shrink: 0;}
.coverflow-card:hover .coverflow-detail-btn{transform: scale(1.04);box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);}
@media (max-width: 640px){.coverflow-pricing-box{padding: 5px 9px;margin: 1px 0;}.coverflow-price-val{font-size: 0.76rem;}.coverflow-books-val{font-size: 0.72rem;}.coverflow-footer-hint{font-size: 0.64rem;}.coverflow-detail-btn{padding: 3px 9px;font-size: 0.66rem;}}
.coverflow-nav-arrow{position: absolute;top: 50%;transform: translateY(-50%);width: 40px;height: 40px;border-radius: 50%;background: var(--bg-card);border: 1.5px solid var(--border-color);box-shadow: 0 4px 14px rgba(0,0,0,0.15);display: flex;align-items: center;justify-content: center;cursor: pointer;color: var(--text-main);z-index: 25;transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);}
.coverflow-nav-arrow:hover{background: #f59e0b;color: #ffffff;border-color: #f59e0b;transform: translateY(-50%) scale(1.12);box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);}
.coverflow-nav-arrow.prev{left: 8px;}
.coverflow-nav-arrow.next{right: 8px;}
@media (max-width: 640px){.coverflow-nav-arrow{width: 34px;height: 34px;}.coverflow-nav-arrow.prev{left: 4px;}.coverflow-nav-arrow.next{right: 4px;}}
.coverflow-dots{display: flex;align-items: center;justify-content: center;gap: 7px;margin-top: 4px;margin-bottom: 22px;}
.coverflow-dot{width: 8px;height: 8px;border-radius: 999px;background: rgba(148, 163, 184, 0.4);cursor: pointer;transition: all 0.25s ease;}
.coverflow-dot.active{width: 22px;background: var(--unlimited-active-color, #f59e0b);box-shadow: 0 2px 6px color-mix(in srgb, var(--unlimited-active-color, #f59e0b) 42%, transparent);}
#unlimited-service-pills .reader-tab-pill{border-color: color-mix(in srgb, var(--pill-theme, #d97706) 32%, var(--border-color, #e2d9c5));transition: all 0.22s cubic-bezier(0.2, 0.9, 0.3, 1);}
#unlimited-service-pills .reader-tab-pill svg{color: var(--pill-theme, #d97706);transition: color 0.2s ease, transform 0.2s ease;}
#unlimited-service-pills .reader-tab-pill:hover:not(.active){border-color: var(--pill-theme, #d97706) !important;background: color-mix(in srgb, var(--pill-theme, #d97706) 10%, var(--bg-card, #ffffff)) !important;color: var(--pill-theme, #d97706) !important;transform: translateY(-1px);}
#unlimited-service-pills .reader-tab-pill.active{background: linear-gradient(135deg, var(--pill-theme, #d97706) 0%, color-mix(in srgb, var(--pill-theme, #d97706) 82%, #0f172a) 100%) !important;border-color: var(--pill-theme, #d97706) !important;color: #ffffff !important;box-shadow: 0 4px 12px color-mix(in srgb, var(--pill-theme, #d97706) 40%, transparent) !important;}
#unlimited-service-pills .reader-tab-pill.active svg{color: #ffffff !important;}
.unlim-sub-section-card{background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 18px;padding: 22px 24px;box-shadow: 0 6px 22px rgba(0, 0, 0, 0.05);margin-bottom: 28px;}
@media (max-width: 640px){.unlim-sub-section-card{padding: 16px 14px;border-radius: 14px;}}
.unlim-filter-pill{display: inline-flex;align-items: center;gap: 5px;padding: 6px 13px;border-radius: 999px;font-size: 0.76rem;font-weight: 800;border: 1.5px solid var(--border-color);background: var(--bg-card-sub);color: var(--text-main);cursor: pointer;transition: all 0.18s ease;}
.unlim-filter-pill:hover{border-color: #d97706;background: #fffbeb;color: #b45309;}
.unlim-filter-pill.active{background: #432818;border-color: #432818;color: #fde68a;box-shadow: 0 2px 8px rgba(67, 40, 24, 0.22);}
.aida-work-award-badge{display: inline-block;margin-top: 3px;padding: 2px 7px;border-radius: 999px;font-size: 0.62rem;font-weight: 900;background: linear-gradient(135deg, #fef3c7, #fde68a);color: #92400e;border: 1px solid #f59e0b;white-space: nowrap;max-width: 100%;overflow: hidden;text-overflow: ellipsis;}
.aida-detail-box{background: var(--bg-card);border: 2px solid var(--card-theme, #f59e0b);border-radius: 18px;padding: 22px 24px;box-shadow: 0 6px 24px rgba(0,0,0,0.06);margin-bottom: 30px;transition: all 0.3s ease;}
@media (max-width: 640px){.aida-detail-box{padding: 16px 14px;border-radius: 14px;}}
.aida-header{margin-bottom: 18px;padding-bottom: 14px;border-bottom: 1px solid var(--border-color);}
.aida-service-label{font-size: 0.8rem;font-weight: 800;color: var(--card-theme, #f59e0b);margin-bottom: 4px;display: flex;align-items: center;gap: 6px;}
.aida-headline{font-size: 1.35rem;font-weight: 900;color: var(--text-main);line-height: 1.35;margin: 0;}
.aida-merits-list{display: flex;flex-direction: column;gap: 12px;margin-bottom: 22px;}
.aida-merit-item{display: flex;align-items: flex-start;gap: 10px;background: var(--bg-card-sub);border: 1px solid var(--border-color);padding: 12px 14px;border-radius: 10px;font-size: 0.88rem;line-height: 1.55;color: var(--text-main);}
.aida-check-icon{font-size: 1.1rem;flex-shrink: 0;margin-top: 1px;}
.aida-cta-primary{width: 100%;padding: 13px 24px;border-radius: 999px;background: linear-gradient(135deg, var(--card-theme, #f59e0b) 0%, color-mix(in srgb, var(--card-theme, #f59e0b) 80%, #0f172a) 100%);color: #ffffff !important;font-size: 1rem;font-weight: 800;text-align: center;text-decoration: none;display: inline-flex;align-items: center;justify-content: center;gap: 8px;box-shadow: 0 4px 14px color-mix(in srgb, var(--card-theme, #f59e0b) 38%, transparent);transition: all 0.2s ease;box-sizing: border-box;margin-bottom: 24px;}
.aida-cta-primary:hover{transform: translateY(-2px);box-shadow: 0 6px 20px color-mix(in srgb, var(--card-theme, #f59e0b) 52%, transparent);}
.aida-works-title{font-size: 1.05rem;font-weight: 800;color: var(--text-main);margin-bottom: 8px;display: flex;align-items: center;justify-content: space-between;flex-wrap: wrap;gap: 8px;}
.aida-works-title-left{display: flex;align-items: center;gap: 8px;}
.aida-works-badge-count{font-size: 0.72rem;font-weight: 800;color: var(--card-theme, #f59e0b);background: color-mix(in srgb, var(--card-theme, #f59e0b) 12%, transparent);border: 1px solid color-mix(in srgb, var(--card-theme, #f59e0b) 28%, transparent);padding: 2px 8px;border-radius: 999px;}
.aida-works-nav-controls{display: flex;align-items: center;gap: 6px;}
.aida-works-arrow-btn{width: 32px;height: 32px;border-radius: 50%;background: var(--bg-card);border: 1.5px solid var(--border-color);color: var(--text-main);display: flex;align-items: center;justify-content: center;cursor: pointer;box-shadow: 0 2px 6px rgba(0,0,0,0.06);transition: all 0.2s ease;}
.aida-works-arrow-btn:hover{border-color: var(--card-theme, #f59e0b);color: var(--card-theme, #f59e0b);transform: scale(1.08);}
.aida-works-note-text{font-size: 0.74rem;color: var(--text-sub);margin-bottom: 12px;display: flex;align-items: center;gap: 6px;}
.aida-works-carousel-container{position: relative;margin-bottom: 24px;padding: 4px 0;}
.aida-works-carousel-wrapper{position: relative;width: 100%;overflow-x: auto;overflow-y: hidden;scrollbar-width: none;-ms-overflow-style: none;-webkit-overflow-scrolling: touch;padding: 10px 4px 14px;mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);-webkit-mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);}
.aida-works-carousel-wrapper::-webkit-scrollbar{display: none;}
.aida-works-carousel-track{display: flex;gap: 13px;width: max-content;animation: endlessWorksScroll 42s linear infinite;will-change: transform;}
.aida-works-carousel-wrapper:hover .aida-works-carousel-track, .aida-works-carousel-wrapper:focus-within .aida-works-carousel-track, .aida-works-carousel-wrapper.is-paused .aida-works-carousel-track{animation-play-state: paused;}
@keyframes endlessWorksScroll{0%{transform: translateX(0);}100%{transform: translateX(-50%);}}
.aida-work-card{flex: 0 0 136px;width: 136px;background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 12px;padding: 8px;display: flex;flex-direction: column;box-shadow: 0 3px 10px rgba(0,0,0,0.04);transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);user-select: none;cursor: default;position: relative;box-sizing: border-box;}
.aida-work-card:hover{border-color: var(--card-theme, #f59e0b);transform: translateY(-4px);box-shadow: 0 10px 22px rgba(0,0,0,0.1);}
.aida-work-cover-wrap{width: 100%;height: 168px;border-radius: 8px;overflow: hidden;margin-bottom: 8px;background: rgba(0,0,0,0.04);box-shadow: 0 2px 8px rgba(0,0,0,0.08);position: relative;}
.aida-work-cover{width: 100%;height: 100%;object-fit: cover;display: block;transition: transform 0.3s ease;}
.aida-work-card:hover .aida-work-cover{transform: scale(1.04);}
.aida-work-title{font-size: 0.78rem;font-weight: 800;color: var(--text-main);line-height: 1.35;margin-bottom: 3px;overflow: hidden;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;min-height: 2.1em;}
.aida-work-author{font-size: 0.68rem;color: var(--text-sub);margin-bottom: 6px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.aida-work-tag{font-size: 0.65rem;font-weight: 800;color: var(--card-theme, #f59e0b);background: rgba(245, 158, 11, 0.1);padding: 2px 7px;border-radius: 4px;display: inline-block;align-self: flex-start;margin-top: auto;}
.reading-goods-section{margin-top: 14px;margin-bottom: 28px;padding: 24px 20px;background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 16px;box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);}
.reading-goods-header{text-align: center;margin-bottom: 22px;}
.reading-goods-badge{display: inline-flex;align-items: center;gap: 6px;font-size: 0.76rem;font-weight: 800;color: #ea580c;background: rgba(234, 88, 12, 0.1);border: 1px solid rgba(234, 88, 12, 0.25);padding: 3px 12px;border-radius: 999px;margin-bottom: 8px;}
.reading-goods-title{font-size: 1.15rem;font-weight: 900;color: var(--text-main);margin: 0 0 8px 0;line-height: 1.35;}
.reading-goods-subtitle{font-size: 0.82rem;color: var(--text-sub);line-height: 1.55;margin: 0 auto;max-width: 640px;}
.reading-goods-grid{display: grid;grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));gap: 16px;}
.reading-goods-card{background: var(--bg-card-sub);border: 1.5px solid var(--border-color);border-radius: 14px;padding: 16px;display: flex;flex-direction: column;position: relative;transition: all 0.25s ease;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);}
.reading-goods-card:hover{border-color: #ea580c;transform: translateY(-3px);box-shadow: 0 8px 20px rgba(234, 88, 12, 0.1);}
.reading-goods-card-badge{display: inline-flex;align-items: center;align-self: flex-start;margin-bottom: 10px;font-size: 0.7rem;font-weight: 800;color: #0284c7;background: rgba(2, 132, 199, 0.1);padding: 3px 10px;border-radius: 999px;line-height: 1.3;}
.reading-goods-img-wrap{width: 100%;height: 160px;border-radius: 10px;overflow: hidden;background: #ffffff;margin-bottom: 12px;position: relative;border: 1px solid var(--border-color);display: flex;align-items: center;justify-content: center;padding: 10px;box-sizing: border-box;box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.02);}
html[data-theme="dark"] .reading-goods-img-wrap{background: #1e293b;border-color: rgba(255, 255, 255, 0.08);}
.reading-goods-img{max-width: 100%;max-height: 100%;width: auto;height: auto;object-fit: contain;transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);display: block;}
.reading-goods-card:hover .reading-goods-img{transform: scale(1.05);}
.reading-goods-content{flex: 1;display: flex;flex-direction: column;}
.reading-goods-name{font-size: 0.92rem;font-weight: 800;color: var(--text-main);margin: 0 0 4px 0;line-height: 1.35;padding-right: 0;}
.reading-goods-specs{font-size: 0.72rem;font-weight: 700;color: #d97706;margin-bottom: 8px;}
.reading-goods-desc{font-size: 0.78rem;color: var(--text-sub);line-height: 1.5;margin: 0 0 12px 0;}
.reading-goods-footer{margin-top: auto;display: flex;flex-direction: column;gap: 10px;padding-top: 10px;border-top: 1px dashed var(--border-color);}
.reading-goods-compatibility{font-size: 0.72rem;font-weight: 800;color: #ea580c;display: inline-flex;align-items: center;gap: 5px;}
.reading-goods-buy-row{display: grid;grid-template-columns: repeat(3, 1fr);gap: 5px;}
.btn-goods-buy{display: inline-flex;align-items: center;justify-content: center;padding: 7px 2px;font-size: 0.72rem;font-weight: 800;border-radius: 8px;text-decoration: none;white-space: nowrap;transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);box-sizing: border-box;letter-spacing: -0.01em;border: none;}
.btn-goods-amazon{background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);color: #ffffff !important;box-shadow: 0 2px 6px rgba(217, 119, 6, 0.25);}
.btn-goods-amazon:hover{background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);transform: translateY(-1px);box-shadow: 0 4px 10px rgba(217, 119, 6, 0.35);}
.btn-goods-rakuten{background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);color: #ffffff !important;box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25);}
.btn-goods-rakuten:hover{background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);transform: translateY(-1px);box-shadow: 0 4px 10px rgba(220, 38, 38, 0.35);}
.btn-goods-yahoo{background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);color: #ffffff !important;box-shadow: 0 2px 6px rgba(190, 18, 60, 0.25);}
.btn-goods-yahoo:hover{background: linear-gradient(135deg, #fb7185 0%, #e11d48 100%);transform: translateY(-1px);box-shadow: 0 4px 10px rgba(190, 18, 60, 0.35);}
@media (max-width: 640px){.reading-goods-section{padding: 18px 12px;}.reading-goods-img-wrap{height: 150px;}.reading-goods-name{padding-right: 0;margin-top: 2px;}.reading-goods-card-badge{position: static;align-self: flex-start;margin-bottom: 6px;}}
.reading-items-quick-nav{display: flex;gap: 10px;overflow-x: auto;padding: 6px 2px 14px 2px;margin-bottom: 24px;-webkit-overflow-scrolling: touch;scrollbar-width: none;}
.reading-items-quick-nav::-webkit-scrollbar{display: none;}
.reading-jump-btn{display: inline-flex;align-items: center;gap: 6px;font-size: 0.82rem;font-weight: 800;padding: 9px 18px;border-radius: 999px;background: var(--bg-card);border: 1.5px solid var(--border-color);color: var(--text-main);cursor: pointer;white-space: nowrap;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);transition: all 0.2s ease;text-decoration: none;}
.reading-jump-btn:hover{transform: translateY(-2px);border-color: #d97706;color: #d97706;box-shadow: 0 4px 12px rgba(217, 119, 6, 0.15);}
.reading-jump-btn.highlight{background: rgba(245, 158, 11, 0.1);border-color: #f59e0b;color: #b45309;}
html[data-theme="dark"] .reading-jump-btn.highlight{background: rgba(245, 158, 11, 0.2);border-color: #fbbf24;color: #fbbf24;}
.reading-table-item-cell{display: flex;align-items: center;gap: 12px;min-width: 220px;}
.reading-table-item-thumb{width: 48px;height: 48px;border-radius: 8px;object-fit: cover;background: var(--bg-card-sub);border: 1px solid var(--border-color);flex-shrink: 0;}
.reading-table-item-info{display: flex;flex-direction: column;gap: 2px;}
.reading-table-item-name{font-weight: 800;font-size: 0.82rem;color: var(--text-main);line-height: 1.35;}
.reading-table-item-brand{font-size: 0.68rem;font-weight: 700;color: #d97706;}
.reading-table-store-links{display: flex;flex-direction: column;gap: 4px;min-width: 90px;}
.btn-table-store{display: inline-flex;align-items: center;justify-content: center;font-size: 0.68rem;font-weight: 800;padding: 3px 8px;border-radius: 6px;text-decoration: none !important;transition: all 0.15s ease;white-space: nowrap;}
.btn-table-store.amazon{background: #ff9900;color: #111827 !important;}
.btn-table-store.rakuten{background: #bf0000;color: #ffffff !important;}
.btn-table-store.yahoo{background: #e11d48;color: #ffffff !important;}
.btn-table-store:hover{opacity: 0.88;transform: translateY(-1px);}
.reading-table-tag{display: inline-block;font-size: 0.68rem;font-weight: 700;padding: 2px 7px;border-radius: 999px;background: rgba(245, 158, 11, 0.12);color: #b45309;margin-right: 4px;margin-bottom: 2px;}
html[data-theme="dark"] .reading-table-tag{background: rgba(245, 158, 11, 0.22);color: #fbbf24;}
.aida-cta-secondary{width: 100%;padding: 12px 20px;border-radius: 12px;background: var(--bg-card-sub);border: 1.5px solid var(--card-theme, #f59e0b);color: var(--text-main) !important;font-size: 0.94rem;font-weight: 800;text-align: center;text-decoration: none;display: inline-flex;align-items: center;justify-content: center;gap: 6px;transition: all 0.2s ease;box-sizing: border-box;}
.aida-cta-secondary:hover{background: var(--card-theme, #f59e0b);color: #ffffff !important;transform: translateY(-2px);box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);}
.aida-app-section{background: var(--bg-card-sub);border: 1.5px solid var(--border-color);border-radius: 14px;padding: 16px 18px;margin-bottom: 24px;display: flex;flex-direction: column;gap: 12px;transition: border-color 0.2s ease;}
.aida-app-section:hover{border-color: var(--card-theme, #f59e0b);}
@media (max-width: 640px){.aida-app-section{padding: 14px 13px;border-radius: 12px;margin-bottom: 20px;gap: 10px;}}
.aida-app-header{display: flex;align-items: center;justify-content: space-between;flex-wrap: wrap;gap: 8px;}
.aida-app-title-group{display: flex;align-items: center;gap: 7px;}
.aida-app-icon-badge{font-size: 1.15rem;line-height: 1;}
.aida-app-title{font-size: 0.94rem;font-weight: 800;color: var(--text-main);}
.aida-app-meta{display: flex;align-items: center;gap: 8px;flex-wrap: wrap;}
.aida-app-rating-pill{font-size: 0.76rem;font-weight: 800;padding: 3px 9px;border-radius: 999px;background: #fef3c7;color: #b45309;border: 1px solid #fde68a;display: inline-flex;align-items: center;gap: 3px;line-height: 1.2;}
html[data-theme="dark"] .aida-app-rating-pill{background: rgba(245, 158, 11, 0.15);color: #fbbf24;border-color: rgba(245, 158, 11, 0.35);}
.aida-app-reviews{font-size: 0.68rem;font-weight: 600;opacity: 0.85;}
.aida-app-note-pill{font-size: 0.72rem;color: var(--text-sub);background: var(--bg-card);border: 1px solid var(--border-color);padding: 3px 9px;border-radius: 999px;white-space: nowrap;}
.aida-app-desc{font-size: 0.82rem;line-height: 1.55;color: var(--text-sub);margin: 0;}
.aida-app-btn-row{display: grid;grid-template-columns: repeat(2, 1fr);gap: 12px;}
@media (max-width: 540px){.aida-app-btn-row{grid-template-columns: 1fr;gap: 9px;}}
.aida-app-btn{display: flex;align-items: center;gap: 12px;padding: 10px 16px;border-radius: 10px;text-decoration: none;background: #0f172a;color: #ffffff !important;border: 1.5px solid #334155;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;box-sizing: border-box;}
html[data-theme="dark"] .aida-app-btn{background: #1e293b;border-color: #475569;}
.aida-app-btn:hover{transform: translateY(-2px);box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);border-color: var(--card-theme, #f59e0b);background: #1e293b;}
html[data-theme="dark"] .aida-app-btn:hover{background: #334155;}
.aida-app-svg{flex-shrink: 0;}
.aida-app-btn-labels{display: flex;flex-direction: column;align-items: flex-start;line-height: 1.15;}
.aida-app-btn-sub{font-size: 0.65rem;color: rgba(255, 255, 255, 0.82);letter-spacing: 0.02em;}
.aida-app-btn-main{font-size: 0.95rem;font-weight: 800;color: #ffffff;letter-spacing: 0.03em;margin-top: 2px;}
.free-lp-hero{text-align: left;margin-bottom: 14px;}
.free-title-row{display: flex;align-items: center;justify-content: space-between;gap: 12px;flex-wrap: wrap;margin-bottom: 6px;}
.free-main-title{font-size: 1.25rem;font-weight: 800;color: var(--text-main);margin: 0;display: inline-flex;align-items: center;gap: 8px;}
.free-subtitle-desc{font-size: 0.82rem;color: var(--text-sub);margin: 6px 0 0 0;line-height: 1.5;text-align: left;}
.free-3tier-filters-box{background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 14px;padding: 12px 16px;display: flex;flex-direction: column;gap: 10px;margin-bottom: 20px;box-shadow: 0 2px 10px rgba(0,0,0,0.04);}
.free-filter-tier{display: flex;align-items: center;gap: 8px;}
.free-tier-label{font-size: 0.76rem;font-weight: 800;color: var(--text-sub);white-space: nowrap;min-width: 65px;}
.free-tier-pills{display: flex;align-items: center;gap: 6px;flex-wrap: wrap;}
.free-tier-pills.scrollable{flex-wrap: nowrap;overflow-x: auto;-webkit-overflow-scrolling: touch;scrollbar-width: none;padding-bottom: 2px;}
.free-tier-pills.scrollable::-webkit-scrollbar{display: none;}
.free-pill-btn{padding: 4px 11px;border-radius: 999px;font-size: 0.74rem;font-weight: 700;border: 1px solid var(--border-color);background: var(--bg-card-sub);color: var(--text-main);cursor: pointer;white-space: nowrap;transition: all 0.15s ease;}
.free-pill-btn:hover{border-color: #10b981;color: #10b981;}
.free-pill-btn.active{background: #10b981;color: #ffffff;border-color: #10b981;box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);}
.free-pill-btn.is-disabled{opacity: 0.4;pointer-events: none;}
.free-works-grid{display: grid;grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));gap: 16px;margin-bottom: 30px;}
.free-book-card{background: var(--bg-card);border: 1.5px solid var(--border-color);border-top: 3.5px solid #10b981;border-radius: 12px;padding: 12px;display: flex;flex-direction: column;justify-content: space-between;box-shadow: 0 3px 12px rgba(0,0,0,0.05);transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;position: relative;}
.free-book-card:hover{transform: translateY(-3px);box-shadow: 0 8px 20px rgba(0,0,0,0.1);border-color: #10b981;}
.free-card-catch{font-size: 0.74rem;font-weight: 800;color: #059669;background: rgba(16, 185, 129, 0.1);border: 1px solid rgba(16, 185, 129, 0.25);padding: 3px 8px;border-radius: 6px;margin-bottom: 8px;line-height: 1.35;}
html[data-theme="dark"] .free-card-catch{color: #34d399;background: rgba(16, 185, 129, 0.18);}
.free-card-body{display: flex;gap: 10px;margin-bottom: 10px;}
.free-cover-wrap{position: relative;width: 76px;height: 108px;flex-shrink: 0;border-radius: 6px;overflow: hidden;cursor: pointer;box-shadow: 0 2px 8px rgba(0,0,0,0.15);}
.free-cover-img{width: 100%;height: 100%;object-fit: cover;}
.free-fav-heart-btn{position: absolute;top: 4px;right: 4px;width: 24px;height: 24px;border-radius: 50%;background: rgba(0, 0, 0, 0.65);border: 1px solid rgba(255, 255, 255, 0.3);color: #ffffff;font-size: 0.72rem;display: flex;align-items: center;justify-content: center;cursor: pointer;transition: all 0.15s ease;z-index: 3;}
.free-fav-heart-btn:hover{transform: scale(1.15);background: rgba(220, 38, 38, 0.85);}
.free-fav-heart-btn.is-active{background: #dc2626;border-color: #f87171;color: #ffffff;}
.free-card-info{flex: 1;min-width: 0;display: flex;flex-direction: column;}
.free-card-title{font-size: 0.88rem;font-weight: 800;color: var(--text-main);line-height: 1.35;margin: 0 0 3px 0;cursor: pointer;}
.free-card-author{font-size: 0.72rem;color: var(--text-sub);margin-bottom: 6px;}
.free-card-range-badge{display: inline-flex;align-items: center;gap: 4px;font-size: 0.7rem;font-weight: 800;color: #059669;background: rgba(16, 185, 129, 0.12);border: 1px solid rgba(16, 185, 129, 0.3);padding: 2px 7px;border-radius: 999px;margin-top: auto;align-self: flex-start;}
html[data-theme="dark"] .free-card-range-badge{color: #34d399;}
.free-card-actions{display: flex;flex-direction: column;gap: 6px;margin-top: 4px;}
.free-cta-primary{width: 100%;padding: 9px 12px;border-radius: 8px;background: linear-gradient(135deg, #10b981 0%, #059669 100%);color: #ffffff !important;font-size: 0.84rem;font-weight: 800;text-align: center;text-decoration: none;display: inline-flex;align-items: center;justify-content: center;gap: 6px;box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);transition: all 0.15s ease;box-sizing: border-box;}
.free-cta-primary:hover{transform: translateY(-1px);box-shadow: 0 4px 12px rgba(16, 185, 129, 0.45);}
.free-cta-secondary{width: 100%;padding: 6px 8px;border-radius: 6px;background: transparent;border: 1px dashed rgba(16, 185, 129, 0.5);color: #059669;font-size: 0.74rem;font-weight: 800;text-align: center;cursor: pointer;display: inline-flex;align-items: center;justify-content: center;gap: 4px;transition: all 0.15s ease;}
html[data-theme="dark"] .free-cta-secondary{color: #34d399;border-color: rgba(52, 211, 153, 0.4);}
.free-cta-secondary:hover{background: rgba(16, 185, 129, 0.1);border-color: #10b981;}
.sample-modal-btn.free-special-btn{background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;color: #ffffff !important;flex: 2 !important;font-weight: 800 !important;box-shadow: 0 3px 10px rgba(16, 185, 129, 0.35) !important;}
.sim-bulk-series-header{background: linear-gradient(135deg, rgba(192, 132, 252, 0.12), rgba(147, 51, 234, 0.16));border: 1.5px solid #a855f7;border-radius: 12px;padding: 12px 16px;margin-bottom: 14px;}
.sim-bulk-series-title{font-size: 1.05rem;font-weight: 900;color: #e9d5ff;margin-bottom: 4px;}
html[data-theme="light"] .sim-bulk-series-title{color: #7e22ce;}
.sim-bulk-series-desc{font-size: 0.78rem;color: var(--text-sub);line-height: 1.45;}
.sim-crm-stock-bar{display: flex;align-items: center;justify-content: space-between;gap: 10px;padding: 10px 14px;background: rgba(245, 158, 11, 0.1);border: 1px dashed rgba(245, 158, 11, 0.45);border-radius: 10px;margin-bottom: 14px;flex-wrap: wrap;}
.sim-crm-stock-btn{display: inline-flex;align-items: center;gap: 5px;padding: 6px 14px;border-radius: 999px;background: #f59e0b;color: #ffffff;font-size: 0.76rem;font-weight: 800;border: none;cursor: pointer;box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);transition: all 0.15s ease;}
.sim-crm-stock-btn:hover{background: #d97706;transform: scale(1.03);}
.sim-crm-stock-btn.is-active{background: #059669;box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35);}
.sim-crm-stock-btn.is-active:hover{background: #047857;}
.sim-vols-checklist{display: flex;flex-direction: column;gap: 6px;max-height: 280px;overflow-y: auto;padding: 4px 6px;border: 1px solid var(--border-color);border-radius: 10px;background: var(--bg-card-sub);margin-bottom: 14px;}
.sim-vol-item{display: flex;align-items: center;justify-content: space-between;padding: 7px 10px;border-radius: 6px;background: var(--bg-card);border: 1px solid var(--border-color);font-size: 0.8rem;transition: background 0.15s;}
.sim-vol-item.unchecked{opacity: 0.55;background: transparent;}
.sim-vol-label{display: flex;align-items: center;gap: 8px;cursor: pointer;flex: 1;font-weight: 700;color: var(--text-main);}
.sim-vol-prices{display: flex;align-items: center;gap: 8px;font-size: 0.74rem;}
.ranking-lp-hero{margin-bottom: 14px;}
.ranking-title-row{display: flex;align-items: center;justify-content: space-between;gap: 12px;flex-wrap: wrap;margin-bottom: 6px;}
.ranking-main-title{font-size: 1.35rem;font-weight: 900;color: var(--text-main);margin: 0;display: inline-flex;align-items: center;gap: 8px;}
.rank-crown-svg{color: #f59e0b;flex-shrink: 0;}
.ranking-meta-pill{font-size: 0.72rem;font-weight: 800;padding: 3px 10px;border-radius: 999px;background: #fef3c7;color: #b45309;border: 1px solid #fde68a;display: inline-flex;align-items: center;gap: 5px;white-space: nowrap;transition: all 0.2s ease;}
.ranking-meta-pill.daily{background: #e0f2fe;color: #0369a1;border-color: #bae6fd;}
.ranking-subtitle-desc{font-size: 0.82rem;color: var(--text-sub);margin: 0;line-height: 1.45;}
#ranking-aggregation-time{display: inline-flex;align-items: center;gap: 6px;font-size: 0.74rem;color: var(--text-sub);background: var(--bg-card);padding: 4px 12px;border-radius: 999px;border: 1px solid var(--border-color);font-weight: 600;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);white-space: nowrap;}
html[data-theme="dark"] #ranking-aggregation-time{background: #162032;border-color: #2b3952;color: #94a3b8;}
.ranking-dynamic-filters-box{background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 14px;padding: 12px 16px;display: flex;flex-direction: column;gap: 10px;margin-bottom: 18px;box-shadow: 0 2px 10px rgba(0,0,0,0.04);}
.rank-filter-row{display: flex;align-items: center;gap: 10px;}
.rank-filter-label{font-size: 0.74rem;font-weight: 800;color: var(--text-sub);min-width: 58px;white-space: nowrap;}
.rank-filter-buttons{display: flex;align-items: center;gap: 6px;flex-wrap: wrap;}
.rank-filter-pill{padding: 5px 13px;border-radius: 999px;font-size: 0.76rem;font-weight: 700;border: 1px solid var(--border-color);background: var(--bg-card-sub);color: var(--text-main);cursor: pointer;white-space: nowrap;transition: all 0.15s ease;display: inline-flex;align-items: center;gap: 4px;}
.rank-filter-pill:hover{border-color: #f59e0b;color: #f59e0b;}
.tier-base-btn{padding: 6px 14px;font-size: 0.8rem;font-weight: 800;}
.tier-base-btn.active{background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);color: #ffffff;border-color: #d97706;box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);}
.tier-base-btn.active .rank-pill-sub{color: rgba(255, 255, 255, 0.9);}
.rank-pill-sub{font-size: 0.68rem;font-weight: normal;opacity: 0.85;margin-left: 2px;}
.rank-genre-scroll-track{display: flex;align-items: center;gap: 6px;overflow-x: auto;white-space: nowrap;-webkit-overflow-scrolling: touch;scrollbar-width: none;padding-bottom: 2px;flex: 1;}
.rank-genre-scroll-track::-webkit-scrollbar{display: none;}
.tier-genre-btn.active{background: var(--genre-theme, #f59e0b);color: #ffffff;border-color: var(--genre-theme, #f59e0b);box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);}
.tier-store-row{border-top: 1px dashed var(--border-color);padding-top: 8px;animation: fadeInTier 0.2s ease;}
@keyframes fadeInTier{from{opacity: 0;transform: translateY(-4px);}to{opacity: 1;transform: translateY(0);}}
.tier-store-btn.active{background: #1e293b;color: #ffffff;border-color: #0f172a;}
.tier-store-btn.store-kindle.active{background: #ff9900;color: #ffffff;border-color: #ea580c;}
.tier-store-btn.store-kobo.active{background: #bf0000;color: #ffffff;border-color: #991b1b;}
.tier-store-btn.store-ebook.active{background: #ef4444;color: #ffffff;border-color: #dc2626;}
.tier-store-btn.store-dmm.active{background: #ca8a04;color: #ffffff;border-color: #a16207;}
.rank-score-badge{display: inline-flex;align-items: center;gap: 3px;font-size: 0.7rem;font-weight: 800;color: #b45309;background: #fef3c7;padding: 2px 6px;border-radius: 4px;border: 1px solid #fde68a;}
.rank-delta-badge{font-size: 0.65rem;font-weight: 800;padding: 1px 5px;border-radius: 3px;margin-left: 4px;}
.rank-delta-badge.up{background: #dcfce7;color: #15803d;}
.rank-delta-badge.new{background: #fee2e2;color: #b91c1c;}
.rank-delta-badge.stay{background: #f1f5f9;color: #64748b;}
.rank-daily-note{font-size: 0.72rem;color: var(--text-sub);line-height: 1.35;}
.award-lp-hero{margin-bottom: 14px;}
.award-title-row{display: flex;align-items: center;justify-content: space-between;gap: 12px;flex-wrap: wrap;margin-bottom: 6px;}
.award-main-title{font-size: 1.3rem;font-weight: 900;color: var(--text-main);margin: 0;display: inline-flex;align-items: center;gap: 8px;}
.award-trophy-svg{flex-shrink: 0;}
.award-subtitle-desc{font-size: 0.82rem;color: var(--text-sub);margin: 0;line-height: 1.45;}
tr.award-row-grand-prix{background: #fefce8 !important;border-left: 4px solid #f59e0b !important;box-shadow: inset 0 0 12px rgba(245, 158, 11, 0.08);}
html[data-theme="dark"] tr.award-row-grand-prix{background: rgba(245, 158, 11, 0.14) !important;border-left: 4px solid #f59e0b !important;box-shadow: inset 0 0 14px rgba(245, 158, 11, 0.15);}
.award-cell-badge{display: inline-flex;align-items: center;justify-content: center;gap: 3px;font-size: 0.69rem;font-weight: 800;padding: 3px 6px;border-radius: 6px;max-width: 136px;box-sizing: border-box;line-height: 1.2;text-align: center;overflow: hidden;white-space: nowrap;}
.award-badge-icon{display: inline-flex;align-items: center;justify-content: center;flex-shrink: 0;}
.award-badge-text{display: inline-block;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;max-width: 100%;flex: 1 1 auto;min-width: 0;}
.award-cell-badge.grand-prix, .award-cell-badge.gold{background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%) !important;color: #92400e !important;border: 1.5px solid #f59e0b !important;font-weight: 900 !important;box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3) !important;}
.award-cell-badge.runner-up, .award-cell-badge.silver{background: #f1f5f9 !important;color: #334155 !important;border: 1px solid #cbd5e1 !important;font-weight: 800 !important;}
.award-cell-badge.third-place, .award-cell-badge.bronze{background: #fff7ed !important;color: #9a3412 !important;border: 1px solid #fdba74 !important;font-weight: 800 !important;}
.award-cell-badge.normal{background: rgba(255, 255, 255, 0.08) !important;color: var(--text-main) !important;border: 1px solid var(--border-color) !important;font-weight: 700 !important;}
html[data-theme="light"] .award-cell-badge.normal{background: #f1f5f9 !important;color: #334155 !important;border: 1px solid #cbd5e1 !important;}
.award-cell-year{font-size: 0.65rem;color: var(--text-muted);margin-top: 3px;font-weight: 700;}
.award-author-link{color: #0284c7;font-weight: 800;text-decoration: underline;text-underline-offset: 2px;cursor: pointer;transition: color 0.15s ease;}
.award-author-link:hover{color: #0369a1;text-decoration-thickness: 2px;}
html[data-theme="dark"] .award-author-link{color: #38bdf8;}
html[data-theme="dark"] .award-author-link:hover{color: #7dd3fc;}
.award-pub-sep{color: var(--text-muted);margin: 0 3px;}
.award-sub-btn, .award-sub-badge{display: inline-flex;align-items: center;gap: 3px;font-size: 0.65rem;font-weight: 700;padding: 2px 8px;border-radius: 999px;margin-top: 4px;cursor: pointer;white-space: nowrap;text-decoration: none !important;transition: all 0.15s ease;line-height: 1.3;border: 1px solid transparent;outline: none;}
.award-sub-btn:hover, .award-sub-badge:hover{transform: translateY(-1px);box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);}
.award-sub-btn.sub-ku, .award-sub-badge.ku{background: #eff6ff;color: #1d4ed8;border-color: #bfdbfe;}
html[data-theme="dark"] .award-sub-btn.sub-ku, html[data-theme="dark"] .award-sub-badge.ku{background: rgba(29, 78, 216, 0.2);color: #60a5fa;border-color: rgba(96, 165, 250, 0.4);}
.award-sub-btn.sub-audible, .award-sub-badge.audible{background: #fff7ed;color: #c2410c;border-color: #fed7aa;}
html[data-theme="dark"] .award-sub-btn.sub-audible, html[data-theme="dark"] .award-sub-badge.audible{background: rgba(194, 65, 12, 0.2);color: #fb923c;border-color: rgba(251, 146, 60, 0.4);}
.award-ranking-table .rank-td-sample{width: 156px;min-width: 156px;text-align: center;white-space: nowrap;}
.award-actions-cluster{display: inline-flex;align-items: center;justify-content: center;gap: 6px;}
.award-ranking-table .rank-sample-btn, .yt-channel-table .rank-sample-btn, .award-actions-cluster .rank-sample-btn{height: 28px;padding: 0 10px;border-radius: 6px;font-size: 0.72rem;font-weight: 700;line-height: 26px;box-sizing: border-box;display: inline-flex;align-items: center;justify-content: center;background: rgba(255, 255, 255, 0.08);border: 1px solid var(--border-color);color: var(--text-main);cursor: pointer;transition: all 0.15s ease;}
html[data-theme="light"] .award-ranking-table .rank-sample-btn, html[data-theme="light"] .yt-channel-table .rank-sample-btn, html[data-theme="light"] .award-actions-cluster .rank-sample-btn{background: #f1f5f9;border-color: #cbd5e1;color: #334155;}
.award-ranking-table .rank-sample-btn:hover, .yt-channel-table .rank-sample-btn:hover, .award-actions-cluster .rank-sample-btn:hover{background: rgba(255, 255, 255, 0.16);border-color: #60a5fa;color: #60a5fa;transform: translateY(-1px);}
html[data-theme="light"] .award-ranking-table .rank-sample-btn:hover, html[data-theme="light"] .yt-channel-table .rank-sample-btn:hover, html[data-theme="light"] .award-actions-cluster .rank-sample-btn:hover{background: #e2e8f0;border-color: #3b82f6;color: #1d4ed8;}
.btn-snap-sample{flex: 0 0 28px !important;width: 28px !important;height: 28px !important;background: rgba(100, 116, 139, 0.08) !important;color: #475569 !important;border: 1px solid rgba(100, 116, 139, 0.28) !important;border-radius: 6px !important;padding: 0 !important;cursor: pointer;display: inline-flex !important;align-items: center !important;justify-content: center !important;transition: all 0.15s ease;box-sizing: border-box !important;text-decoration: none;}
.btn-snap-sample:hover{background: rgba(100, 116, 139, 0.18) !important;border-color: #334155 !important;color: #0f172a !important;transform: translateY(-1px);}
html[data-theme="dark"] .btn-snap-sample{background: rgba(148, 163, 184, 0.1) !important;color: #cbd5e1 !important;border-color: rgba(148, 163, 184, 0.28) !important;}
.award-ranking-table .rank-cart-btn, .yt-channel-table .rank-cart-btn, .award-actions-cluster .rank-cart-btn, .rank-cart-btn{flex: 0 0 28px !important;width: 28px !important;height: 28px !important;background: rgba(139, 92, 246, 0.12) !important;color: #7c3aed !important;border: 1.5px solid rgba(139, 92, 246, 0.45) !important;border-radius: 6px !important;padding: 0 !important;cursor: pointer;display: inline-flex !important;align-items: center !important;justify-content: center !important;transition: all 0.15s ease;box-sizing: border-box !important;}
.rank-cart-btn:hover{background: rgba(139, 92, 246, 0.25) !important;border-color: #6d28d9 !important;color: #6d28d9 !important;transform: translateY(-1px);}
.rank-cart-btn.is-active, .rank-cart-btn.active{background: #7c3aed !important;color: #ffffff !important;border-color: #7c3aed !important;}
html[data-theme="dark"] .rank-cart-btn{background: rgba(167, 139, 250, 0.18) !important;color: #c4b5fd !important;border-color: rgba(167, 139, 250, 0.5) !important;}
.award-ranking-table .btn-snap-alert, .yt-channel-table .btn-snap-alert, .award-actions-cluster .btn-snap-alert, .btn-snap-alert{flex: 0 0 28px !important;width: 28px !important;height: 28px !important;background: rgba(245, 158, 11, 0.1) !important;color: #d97706 !important;border: 1px solid rgba(245, 158, 11, 0.35) !important;border-radius: 6px !important;padding: 0 !important;box-sizing: border-box !important;display: inline-flex !important;align-items: center !important;justify-content: center !important;cursor: pointer;transition: all 0.15s ease;}
.btn-snap-alert:hover{background: rgba(245, 158, 11, 0.22) !important;border-color: #b45309 !important;transform: translateY(-1px);}
.btn-snap-alert.active{background: #f59e0b !important;color: #ffffff !important;border-color: #f59e0b !important;}
html[data-theme="dark"] .btn-snap-alert{background: rgba(245, 158, 11, 0.14) !important;color: #fbbf24 !important;border-color: rgba(245, 158, 11, 0.4) !important;}
.btn-snap-share{flex: 0 0 28px !important;width: 28px !important;height: 28px !important;background: rgba(14, 165, 233, 0.08) !important;color: #0284c7 !important;border: 1px solid rgba(14, 165, 233, 0.3) !important;border-radius: 6px !important;padding: 0 !important;cursor: pointer;display: inline-flex !important;align-items: center !important;justify-content: center !important;transition: all 0.15s ease;box-sizing: border-box !important;}
.btn-snap-share:hover{background: rgba(14, 165, 233, 0.2) !important;border-color: #0284c7 !important;transform: translateY(-1px);}
html[data-theme="dark"] .btn-snap-share{background: rgba(14, 165, 233, 0.12) !important;color: #38bdf8 !important;border-color: rgba(14, 165, 233, 0.35) !important;}
.btn-snap-shelf{flex: 0 0 28px !important;width: 28px !important;height: 28px !important;background: rgba(225, 29, 72, 0.08) !important;color: #e11d48 !important;border: 1px solid rgba(225, 29, 72, 0.35) !important;border-radius: 6px !important;padding: 0 !important;cursor: pointer;display: inline-flex !important;align-items: center !important;justify-content: center !important;transition: all 0.15s ease;box-sizing: border-box !important;}
.btn-snap-shelf:hover{background: rgba(225, 29, 72, 0.18) !important;border-color: #be123c !important;color: #be123c !important;transform: translateY(-1px);}
.btn-snap-shelf.is-active{background: #e11d48 !important;color: #ffffff !important;border-color: #be123c !important;box-shadow: 0 2px 7px rgba(225, 29, 72, 0.32) !important;}
html[data-theme="dark"] .btn-snap-shelf{background: rgba(244, 63, 94, 0.15) !important;color: #fb7185 !important;border-color: rgba(244, 63, 94, 0.4) !important;}
html[data-theme="dark"] .btn-snap-shelf.is-active{background: #e11d48 !important;color: #ffffff !important;border-color: #fb7185 !important;}
.award-ranking-table{table-layout: fixed !important;width: 100% !important;min-width: 1140px !important;border-collapse: collapse;}
.award-ranking-table .rank-td-num{width: 144px !important;min-width: 144px !important;max-width: 144px !important;text-align: center;padding: 10px 4px !important;box-sizing: border-box;overflow: hidden;}
.award-ranking-table .rank-td-img{width: 60px !important;min-width: 60px !important;max-width: 60px !important;text-align: center;padding: 10px 4px !important;box-sizing: border-box;}
.award-ranking-table .rank-td-title{width: auto !important;padding: 10px 14px !important;box-sizing: border-box;overflow: hidden;word-break: break-word;}
.award-ranking-table .rank-td-paper-price{width: 88px !important;min-width: 88px !important;max-width: 88px !important;text-align: center;padding: 10px 6px !important;box-sizing: border-box;}
.award-ranking-table .rank-td-store-prices{width: 470px !important;min-width: 470px !important;max-width: 470px !important;padding: 10px 6px !important;box-sizing: border-box;}
.award-ranking-table .rank-td-sample{width: 184px !important;min-width: 184px !important;max-width: 184px !important;text-align: center;padding: 10px 6px !important;box-sizing: border-box;white-space: nowrap;}
.award-ranking-table .rank-store-links-wrap{display: flex !important;align-items: center !important;gap: 6px !important;flex-wrap: nowrap !important;width: 456px !important;min-width: 456px !important;max-width: 456px !important;box-sizing: border-box !important;}
.award-ranking-table .rank-store-link-btn{width: 109px !important;min-width: 109px !important;max-width: 109px !important;flex: 0 0 109px !important;height: 44px !important;padding: 5px 6px !important;box-sizing: border-box !important;display: flex !important;flex-direction: column !important;justify-content: center !important;}
.award-paper-price-pill{display: inline-flex;flex-direction: column;align-items: center;justify-content: center;background: rgba(255, 255, 255, 0.04);border: 1px solid var(--border-color);border-radius: 8px;padding: 4px 8px;min-width: 78px;box-sizing: border-box;transition: all 0.15s ease;user-select: none;}
html[data-theme="light"] .award-paper-price-pill{background: #f8fafc;border-color: #e2e8f0;}
.price-pill-label{font-size: 0.62rem;font-weight: 700;color: var(--text-muted);letter-spacing: 0.02em;line-height: 1;margin-bottom: 2px;}
.price-pill-val{font-size: 0.82rem;font-weight: 800;color: var(--text-main);font-variant-numeric: tabular-nums;line-height: 1.1;}
.award-schedule-card{background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 12px;padding: 13px 16px;margin-bottom: 14px;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);transition: all 0.2s ease;}
.award-schedule-header{display: flex;align-items: center;justify-content: space-between;gap: 8px;flex-wrap: wrap;margin-bottom: 4px;}
.award-schedule-title{font-size: 0.92rem;font-weight: 800;color: var(--text-main);display: inline-flex;align-items: center;gap: 7px;}
.schedule-calendar-svg{flex-shrink: 0;}
.schedule-badge{background: rgba(245, 158, 11, 0.12);color: #d97706;border: 1px solid rgba(245, 158, 11, 0.28);padding: 1px 7px;border-radius: 999px;font-size: 0.68rem;font-weight: 700;letter-spacing: -0.2px;}
.award-schedule-toggle-btn{background: var(--bg-card-sub);border: 1px solid var(--border-color);border-radius: 6px;padding: 3px 9px;font-size: 0.72rem;font-weight: 600;color: var(--text-sub);cursor: pointer;display: inline-flex;align-items: center;gap: 4px;transition: all 0.15s ease;}
.award-schedule-toggle-btn:hover{background: var(--bg-card-hover, rgba(0, 0, 0, 0.04));color: var(--text-main);border-color: #f59e0b;}
.award-schedule-lead{font-size: 0.75rem;color: var(--text-sub);margin: 0 0 10px 0;line-height: 1.45;}
.award-schedule-grid{display: grid;grid-template-columns: repeat(4, 1fr);gap: 10px;}
@media (max-width: 900px){.award-schedule-grid{grid-template-columns: repeat(2, 1fr);}}
@media (max-width: 560px){.award-schedule-grid{display: flex;overflow-x: auto;scroll-snap-type: x mandatory;-webkit-overflow-scrolling: touch;scrollbar-width: none;gap: 8px;padding-bottom: 4px;}.award-schedule-grid::-webkit-scrollbar{display: none;}.schedule-season-col{min-width: 230px;scroll-snap-align: start;flex-shrink: 0;}}
.schedule-season-col{background: var(--bg-card-sub);border: 1px solid var(--border-color);border-radius: 9px;padding: 8px 10px;display: flex;flex-direction: column;}
.season-col-header{display: flex;align-items: center;justify-content: space-between;gap: 6px;padding-bottom: 6px;margin-bottom: 6px;border-bottom: 1px dashed var(--border-color);}
.season-col-title{font-size: 0.77rem;font-weight: 800;color: var(--text-main);display: inline-flex;align-items: center;gap: 5px;}
.season-col-period{font-size: 0.67rem;color: var(--text-muted);font-weight: 600;}
.season-col-list{display: flex;flex-direction: column;gap: 4px;}
.schedule-award-chip{display: flex;align-items: center;justify-content: space-between;gap: 6px;padding: 5px 8px;border-radius: 6px;background: var(--bg-card);border: 1px solid var(--border-color);font-size: 0.72rem;cursor: pointer;transition: all 0.15s ease;width: 100%;text-align: left;box-sizing: border-box;color: var(--text-main);}
.schedule-award-chip:hover{border-color: #f59e0b;background: rgba(245, 158, 11, 0.05);transform: translateY(-1px);}
.schedule-award-chip.is-active{background: #fefce8;border-color: #f59e0b;font-weight: 700;box-shadow: 0 1px 4px rgba(245, 158, 11, 0.18);}
body.theme-dark .schedule-award-chip.is-active, body[data-theme="dark"] .schedule-award-chip.is-active{background: rgba(245, 158, 11, 0.18);border-color: #f59e0b;}
.schedule-award-chip .chip-name{font-weight: 600;color: var(--text-main);white-space: nowrap;overflow: hidden;text-overflow: ellipsis;flex: 1;min-width: 0;}
.schedule-award-chip.is-active .chip-name{color: #b45309;}
body.theme-dark .schedule-award-chip.is-active .chip-name, body[data-theme="dark"] .schedule-award-chip.is-active .chip-name{color: #fbbf24;}
.schedule-award-chip .chip-date{font-size: 0.66rem;color: #d97706;font-weight: 700;flex-shrink: 0;background: rgba(245, 158, 11, 0.1);padding: 1px 5px;border-radius: 4px;white-space: nowrap;}
.schedule-award-chip.is-active .chip-date{background: #f59e0b;color: #ffffff;}
.award-overview-card{background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 12px;padding: 16px 20px;margin-bottom: 14px;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);}
.award-overview-header{display: flex;align-items: center;justify-content: space-between;flex-wrap: wrap;gap: 8px;margin-bottom: 12px;padding-bottom: 10px;border-bottom: 1px dashed var(--border-color);}
.award-overview-title{font-size: 1.05rem;font-weight: 900;color: var(--text-main);display: flex;align-items: center;gap: 6px;}
.award-overview-meta{font-size: 0.72rem;color: var(--text-sub);display: flex;align-items: center;gap: 8px;flex-wrap: wrap;}
.award-rich-sections{display: grid;grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));gap: 12px;margin-top: 10px;}
.award-rich-box{background: var(--bg-card-sub);border: 1px solid var(--border-color);border-radius: 8px;padding: 10px 14px;}
.award-rich-box-title{font-size: 0.78rem;font-weight: 800;color: var(--text-main);margin-bottom: 5px;display: flex;align-items: center;gap: 5px;}
.award-rich-box-content{font-size: 0.74rem;color: var(--text-sub);line-height: 1.5;margin: 0;}
.author-work-item{display: flex;align-items: center;gap: 10px;padding: 8px 12px;background: var(--bg-card);border: 1px solid var(--border-color);border-radius: 8px;transition: background 0.15s;}
.author-work-item:hover{background: var(--bg-card-sub);}
.author-work-item.unchecked{opacity: 0.55;}
.auth-prompt-modal-box{max-width: 620px !important;padding: 28px 30px !important;border-radius: 18px !important;position: relative;}
.auth-prompt-header{text-align: center;margin-bottom: 22px;}
.auth-prompt-badge{display: inline-flex;align-items: center;gap: 5px;padding: 4px 14px;font-size: 0.74rem;font-weight: 800;border-radius: 999px;background: linear-gradient(135deg, rgba(234, 88, 12, 0.08), rgba(245, 158, 11, 0.12));color: #ea580c;border: 1px solid rgba(234, 88, 12, 0.3);margin-bottom: 10px;letter-spacing: 0.5px;}
html[data-theme="dark"] .auth-prompt-badge{background: linear-gradient(135deg, rgba(234, 88, 12, 0.15), rgba(245, 158, 11, 0.15));color: #fb923c;border-color: rgba(251, 146, 60, 0.38);}
.auth-prompt-title{font-size: 1.25rem;font-weight: 800;color: var(--text-main);margin: 0 0 8px 0;line-height: 1.35;}
.auth-prompt-sub{font-size: 0.82rem;color: var(--text-sub);margin: 0 auto;line-height: 1.6;max-width: 440px;text-align: left;}
#auth-view-register .auth-prompt-sub{max-width: 520px;}
.auth-prompt-benefits-grid{display: grid;grid-template-columns: 1fr 1fr;gap: 12px;margin-bottom: 24px;}
@media (max-width: 600px){.auth-prompt-benefits-grid{grid-template-columns: 1fr;gap: 10px;}.auth-prompt-modal-box{padding: 22px 18px !important;}}
.auth-benefit-card{display: flex;gap: 12px;align-items: flex-start;background: var(--bg-card-sub, #f8fafc);border: 1px solid var(--border-color, #e2e8f0);border-radius: 12px;padding: 12px 14px;transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;}
html[data-theme="dark"] .auth-benefit-card{background: rgba(30, 41, 59, 0.6);border-color: rgba(51, 65, 85, 0.8);}
.auth-benefit-card:hover{border-color: #ea580c;transform: translateY(-1px);box-shadow: 0 4px 14px rgba(234, 88, 12, 0.14);}
.auth-benefit-icon{width: 36px;height: 36px;border-radius: 10px;display: flex;align-items: center;justify-content: center;flex-shrink: 0;}
.auth-benefit-body h4{font-size: 0.86rem;font-weight: 800;color: var(--text-main);margin: 0 0 4px 0;}
.auth-benefit-body p{font-size: 0.74rem;color: var(--text-sub);margin: 0;line-height: 1.48;}
.auth-prompt-actions{display: flex;flex-direction: column;align-items: center;gap: 10px;}
.auth-prompt-submit-btn{width: 100%;max-width: 440px;padding: 13px 24px;font-size: 0.95rem;font-weight: 800;color: #ffffff;background: linear-gradient(135deg, #f97316, #ea580c);border: none;border-radius: 999px;cursor: pointer;display: inline-flex;align-items: center;justify-content: center;gap: 8px;box-shadow: 0 4px 16px rgba(234, 88, 12, 0.38);transition: transform 0.15s, box-shadow 0.15s, background 0.15s;}
.auth-prompt-submit-btn:hover{background: linear-gradient(135deg, #fb923c, #ea580c);transform: translateY(-1px);box-shadow: 0 6px 20px rgba(234, 88, 12, 0.48);}
.auth-prompt-guest-btn{background: transparent;border: none;font-size: 0.78rem;font-weight: 700;color: var(--text-sub);cursor: pointer;padding: 6px 12px;border-radius: 6px;transition: color 0.15s;}
.auth-prompt-guest-btn:hover{color: #ea580c;text-decoration: underline;}
.auth-prompt-dismiss-wrap{display: inline-flex;align-items: center;justify-content: center;margin: 2px 0 4px;}
.auth-prompt-dismiss-label{display: inline-flex;align-items: center;gap: 7px;font-size: 0.8rem;font-weight: 600;color: var(--text-sub);cursor: pointer;padding: 5px 14px;border-radius: 999px;background: rgba(0, 0, 0, 0.03);border: 1px solid rgba(0, 0, 0, 0.08);user-select: none;transition: all 0.2s ease;}
.auth-prompt-dismiss-label:hover{background: rgba(0, 0, 0, 0.06);color: var(--text-main);}
html[data-theme="dark"] .auth-prompt-dismiss-label{background: rgba(255, 255, 255, 0.05);border: 1px solid rgba(255, 255, 255, 0.1);}
html[data-theme="dark"] .auth-prompt-dismiss-label:hover{background: rgba(255, 255, 255, 0.1);color: #ffffff;}
.auth-prompt-dismiss-checkbox{width: 15px;height: 15px;margin: 0;cursor: pointer;accent-color: #ea580c;}
.auth-prompt-actions-wrap{width: 100%;display: flex;flex-direction: column;align-items: center;margin-top: 6px;}
.auth-social-buttons{width: 100%;max-width: 440px;display: flex;flex-direction: column;gap: 10px;margin-bottom: 14px;}
.btn-auth-social{width: 100%;height: 48px;border-radius: 12px;display: inline-flex;align-items: center;justify-content: center;gap: 12px;font-size: 0.94rem;font-weight: 800;cursor: pointer;position: relative;transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;user-select: none;text-decoration: none;box-sizing: border-box;}
.btn-auth-social:active{transform: scale(0.985);}
.btn-auth-line{background: #06C755;color: #ffffff;border: none;box-shadow: 0 4px 14px rgba(6, 199, 85, 0.35);}
.btn-auth-line:hover{background: #05b34c;transform: translateY(-1.5px);box-shadow: 0 6px 20px rgba(6, 199, 85, 0.45);}
.auth-line-rec-badge{position: absolute;top: -10px;right: 14px;background: #ef4444;color: #ffffff;font-size: 0.68rem;font-weight: 800;padding: 2px 9px;border-radius: 999px;box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);letter-spacing: 0.3px;pointer-events: none;}
.btn-auth-google{background: #ffffff;color: #374151;border: 1.5px solid #d1d5db;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);}
.btn-auth-google:hover{background: #f9fafb;border-color: #9ca3af;transform: translateY(-1.5px);box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);}
html[data-theme="dark"] .btn-auth-google{background: #1e293b;color: #f1f5f9;border-color: rgba(255, 255, 255, 0.18);}
html[data-theme="dark"] .btn-auth-google:hover{background: #273549;}
.btn-auth-apple{background: #000000;color: #ffffff;border: none;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);}
.btn-auth-apple:hover{background: #1f2937;transform: translateY(-1.5px);box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);}
html[data-theme="dark"] .btn-auth-apple{background: #ffffff;color: #000000;}
html[data-theme="dark"] .btn-auth-apple:hover{background: #e2e8f0;}
.auth-divider-line{width: 100%;max-width: 440px;display: flex;align-items: center;gap: 12px;margin: 4px 0 14px;color: var(--text-muted);font-size: 0.74rem;font-weight: 700;}
.auth-divider-line::before, .auth-divider-line::after{content: "";flex: 1;height: 1px;background: var(--border-color);}
.auth-email-row{width: 100%;max-width: 440px;display: flex;gap: 8px;box-sizing: border-box;}
.auth-email-input{flex: 1;padding: 10px 14px;border: 1.5px solid var(--border-color);border-radius: 10px;background: var(--bg-card);color: var(--text-main);font-size: 0.86rem;outline: none;transition: border-color 0.15s ease;}
.auth-email-input:focus{border-color: #ea580c;}
.auth-email-submit{padding: 0 16px;border-radius: 10px;background: linear-gradient(135deg, #f97316, #ea580c);color: #ffffff;font-weight: 800;font-size: 0.84rem;border: none;cursor: pointer;white-space: nowrap;transition: opacity 0.15s ease, transform 0.15s ease;}
.auth-email-submit:hover{opacity: 0.92;transform: translateY(-1px);}
.auth-modal-top-bar{display: flex;align-items: center;justify-content: center;position: relative;margin-bottom: 20px;width: 100%;}
.auth-mode-tab-wrap{display: inline-flex;background: var(--bg-card-sub, #f1f5f9);padding: 4px;border-radius: 999px;gap: 4px;border: 1px solid var(--border-color);box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);}
.auth-mode-tab-btn{border: none;background: transparent;padding: 7px 22px;border-radius: 999px;font-size: 0.84rem;font-weight: 800;color: var(--text-sub);cursor: pointer;display: inline-flex;align-items: center;gap: 6px;transition: all 0.18s ease;}
.auth-mode-tab-btn.active{background: var(--bg-card, #ffffff);color: #ea580c;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);}
html[data-theme="dark"] .auth-mode-tab-btn.active{background: #1e293b;color: #fb923c;}
.auth-modal-close-btn{position: absolute;right: 0;top: 50%;transform: translateY(-50%);font-size: 1.5rem;line-height: 1;padding: 4px 8px;}
.auth-view-panel{width: 100%;display: flex;flex-direction: column;align-items: center;animation: fadeInAuth 0.22s ease-out;}
.auth-view-panel.is-hidden{display: none !important;}
@keyframes fadeInAuth{from{opacity: 0;transform: translateY(6px);}to{opacity: 1;transform: translateY(0);}}
.auth-switch-link-wrap{margin-top: 14px;font-size: 0.8rem;color: var(--text-sub);text-align: center;}
.auth-switch-link-btn{background: none;border: none;color: #ea580c;font-weight: 800;cursor: pointer;text-decoration: underline;padding: 0 4px;font-size: 0.82rem;}
.auth-switch-link-btn:hover{color: #c2410c;}
.auth-profile-setup-box{width: 100%;max-width: 440px;box-sizing: border-box;background: var(--bg-card-sub, #f8fafc);border: 1.5px solid var(--border-color);border-radius: 16px;padding: 16px 18px;margin-bottom: 14px;}
.auth-avatar-customizer{display: flex;flex-direction: column;align-items: center;gap: 14px;margin-bottom: 16px;}
.auth-avatar-preview-box{position: relative;width: 84px;height: 84px;border-radius: 50%;display: flex;align-items: center;justify-content: center;background: var(--bg-card, #ffffff);box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);transition: all 0.2s ease;overflow: hidden;flex-shrink: 0;}
.auth-palette-section{width: 100%;margin-bottom: 12px;}
.auth-palette-title{font-size: 0.76rem;font-weight: 800;color: var(--text-main);margin-bottom: 6px;display: flex;align-items: center;justify-content: space-between;}
.color-swatch-grid{display: grid;grid-template-columns: repeat(8, 1fr);gap: 6px;width: 100%;}
.color-swatch-btn{width: 100%;aspect-ratio: 1;border-radius: 50%;border: 2px solid transparent;cursor: pointer;padding: 0;position: relative;transition: transform 0.15s ease, box-shadow 0.15s ease;display: inline-flex;align-items: center;justify-content: center;}
.color-swatch-btn:hover{transform: scale(1.15);}
.color-swatch-btn.is-active{transform: scale(1.15);box-shadow: 0 0 0 2px var(--bg-card, #ffffff), 0 0 0 4px #ea580c;}
.color-swatch-btn.is-active::after{content: "";display: inline-block;width: 11px;height: 11px;background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center center;background-size: contain;}
.icon-type-grid{display: grid;grid-template-columns: repeat(4, 1fr);gap: 6px;width: 100%;margin-top: 6px;}
.icon-type-btn{display: flex;align-items: center;justify-content: center;height: 40px;padding: 0;border: 1.5px solid var(--border-color);border-radius: 10px;background: var(--bg-card);cursor: pointer;transition: all 0.16s ease;color: var(--text-main);}
.icon-type-btn:hover{border-color: #ea580c;transform: translateY(-1px);}
.icon-type-btn.active{border-color: #ea580c;background: rgba(234, 88, 12, 0.08);color: #ea580c;box-shadow: 0 2px 6px rgba(234, 88, 12, 0.18);}
.icon-type-btn svg{width: 22px;height: 22px;display: block;}
.auth-upload-btn-row{display: flex;align-items: center;justify-content: center;gap: 8px;margin-top: 6px;}
.btn-auth-upload{border: 1.5px dashed var(--border-color);background: var(--bg-card);color: var(--text-main);font-size: 0.74rem;font-weight: 700;padding: 5px 12px;border-radius: 999px;cursor: pointer;display: inline-flex;align-items: center;gap: 5px;transition: all 0.15s ease;}
.btn-auth-upload:hover{border-color: #ea580c;color: #ea580c;}
.header-user-menu-wrap{position: relative;display: inline-flex;align-items: center;}
.header-action-btn.header-user-pill-btn{display: inline-flex;flex-direction: row;align-items: center;justify-content: center;padding: 0 13px 0 8px;height: 38px;line-height: 1;gap: 7px;box-sizing: border-box;border-radius: 999px;border: 1.5px solid #f97316 !important;background: linear-gradient(135deg, #ea580c, #f59e0b) !important;color: #ffffff !important;box-shadow: 0 2px 10px rgba(234, 88, 12, 0.35);cursor: pointer;font-size: 0.92rem;font-weight: 800;transition: all 0.18s ease;}
.header-action-btn.header-user-pill-btn:hover{background: linear-gradient(135deg, #f97316, #ea580c) !important;border-color: #fdba74 !important;transform: translateY(-1px);box-shadow: 0 4px 14px rgba(234, 88, 12, 0.55);}
.header-action-btn.header-user-pill-btn.is-free{border: 1.5px solid #38bdf8 !important;background: linear-gradient(135deg, #0ea5e9, #0284c7) !important;color: #ffffff !important;box-shadow: 0 2px 10px rgba(2, 132, 199, 0.35);}
.header-action-btn.header-user-pill-btn.is-free:hover{background: linear-gradient(135deg, #0284c7, #0369a1) !important;border-color: #7dd3fc !important;box-shadow: 0 4px 14px rgba(2, 132, 199, 0.55);}
.header-user-dropdown.is-free{border-color: rgba(2, 132, 199, 0.45);box-shadow: 0 12px 36px rgba(2, 132, 199, 0.18);}
.header-user-dropdown.is-free .user-dropdown-header{background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(2, 132, 199, 0.03));border-bottom: 1px solid rgba(2, 132, 199, 0.18);}
.header-user-status-dot{width: 8px;height: 8px;border-radius: 50%;background: #10b981;border: 1.5px solid rgba(255, 255, 255, 0.92);flex-shrink: 0;box-shadow: 0 0 6px #10b981;}
.header-user-avatar-icon{display: flex;align-items: center;justify-content: center;flex-shrink: 0;}
.header-user-name-label{font-weight: 900;font-size: 0.92rem;letter-spacing: 0.01em;color: #ffffff !important;max-width: 120px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);}
.header-user-arrow{color: rgba(255, 255, 255, 0.85) !important;transition: transform 0.2s ease;flex-shrink: 0;}
.header-user-pill-btn:hover .header-user-arrow{color: #ffffff !important;}
.header-user-pill-btn.is-active .header-user-arrow{transform: rotate(180deg);color: #ffffff !important;}
.header-user-dropdown{position: absolute;top: calc(100% + 8px);right: 0;width: 336px;min-width: 280px;max-width: min(336px, calc(100vw - 12px));max-height: calc(100dvh - 110px);overflow-y: auto;overflow-x: hidden !important;-webkit-overflow-scrolling: touch;scrollbar-width: thin;background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 16px;box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);z-index: 2500;padding: 10px 0;display: none;box-sizing: border-box;}
.header-user-dropdown::-webkit-scrollbar{width: 5px;}
.header-user-dropdown::-webkit-scrollbar-thumb{background: rgba(0, 0, 0, 0.15);border-radius: 999px;}
.header-user-dropdown.is-open{display: block;animation: userDropdownAnim 0.18s cubic-bezier(0.16, 1, 0.3, 1);}
@keyframes userDropdownAnim{from{opacity: 0;transform: translateY(-6px);}to{opacity: 1;transform: translateY(0);}}
.user-dropdown-header{padding: 12px 16px;}
.btn-user-dropdown-edit{display: inline-flex;align-items: center;gap: 4px;margin-left: auto;padding: 4px 10px;border-radius: 999px;border: 1.5px solid rgba(234, 88, 12, 0.35);background: rgba(234, 88, 12, 0.08);color: #ea580c;font-size: 0.72rem;font-weight: 800;cursor: pointer;transition: all 0.18s ease;flex-shrink: 0;}
.btn-user-dropdown-edit:hover{background: #ea580c;color: #ffffff;border-color: #ea580c;transform: translateY(-1px);box-shadow: 0 2px 8px rgba(234, 88, 12, 0.3);}
@media (max-width: 640px){.header-user-dropdown{right: 4px !important;max-width: calc(100vw - 12px) !important;width: min(328px, calc(100vw - 12px)) !important;max-height: calc(100dvh - 100px) !important;overflow-x: hidden !important;}#modal-user-profile .modal-box{padding: 18px 14px !important;width: calc(100vw - 16px) !important;max-width: calc(100vw - 16px) !important;max-height: 90vh !important;border-radius: 16px !important;}}
.user-dropdown-profile-box{display: flex;flex-direction: column;gap: 7px;}
.user-dropdown-avatar-name-row{display: flex;align-items: center;gap: 12px;}
.user-dropdown-avatar-name-row .user-dropdown-avatar{width: 46px;height: 46px;border-radius: 50%;flex-shrink: 0;display: flex;align-items: center;justify-content: center;box-sizing: border-box;}
.user-dropdown-avatar-name-row .user-dropdown-name{font-size: 1.3rem;font-weight: 900;color: var(--text-main);margin: 0;line-height: 1.2;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;letter-spacing: -0.01em;}
.user-dropdown-badges-row{display: flex;align-items: center;gap: 6px;flex-wrap: wrap;}
.user-dropdown-tier-row{display: flex;align-items: center;justify-content: space-between;gap: 6px;flex-wrap: nowrap;width: 100%;}
.user-dropdown-upgrade-cta{display: inline-flex;align-items: center;justify-content: center;gap: 4px;padding: 4px 10px;border-radius: 999px;font-size: 0.69rem;font-weight: 900;background: linear-gradient(135deg, #f59e0b, #d97706);color: #ffffff !important;border: 1px solid rgba(217, 119, 6, 0.55);box-shadow: 0 2px 7px rgba(217, 119, 6, 0.28);cursor: pointer;white-space: nowrap;flex-shrink: 0;transition: transform 0.16s ease, box-shadow 0.16s ease;}
.user-dropdown-upgrade-cta:hover{transform: translateY(-1px);box-shadow: 0 4px 10px rgba(217, 119, 6, 0.38);}
.user-dropdown-integrations-row{display: grid;grid-template-columns: 1fr 1fr;gap: 6px;width: 100%;}
.dropdown-integration-btn{display: inline-flex;align-items: center;justify-content: center;gap: 4px;padding: 4px 8px;border-radius: 8px;font-size: 0.70rem;font-weight: 800;cursor: pointer;white-space: nowrap;min-width: 0;overflow: hidden;text-overflow: ellipsis;transition: all 0.16s ease;box-sizing: border-box;}
.dropdown-integration-btn.google{border: 1px solid rgba(37, 99, 235, 0.32);background: rgba(37, 99, 235, 0.07);color: #1d4ed8;}
.dropdown-integration-btn.google.is-linked{border-color: rgba(2, 132, 199, 0.42);background: rgba(2, 132, 199, 0.12);color: #0369a1;}
html[data-theme="dark"] .dropdown-integration-btn.google{border-color: rgba(96, 165, 250, 0.35);background: rgba(37, 99, 235, 0.16);color: #93c5fd;}
.dropdown-integration-btn.is-locked, .user-dropdown-line-friend-btn.is-locked, .mypage-line-friend-btn.is-locked{border: 1px dashed rgba(148, 163, 184, 0.55) !important;background: rgba(148, 163, 184, 0.14) !important;color: #64748b !important;opacity: 0.78;cursor: not-allowed;box-shadow: none !important;transform: none !important;}
html[data-theme="dark"] .dropdown-integration-btn.is-locked, html[data-theme="dark"] .user-dropdown-line-friend-btn.is-locked, html[data-theme="dark"] .mypage-line-friend-btn.is-locked{border-color: rgba(100, 116, 139, 0.55) !important;background: rgba(51, 65, 85, 0.45) !important;color: #94a3b8 !important;}
.user-dropdown-line-friend-btn{display: inline-flex;align-items: center;gap: 3px;padding: 3px 8px;border-radius: 999px;font-size: 0.70rem;font-weight: 700;cursor: pointer;transition: all 0.18s ease;user-select: none;border: 1px solid rgba(6, 199, 85, 0.35);background: rgba(6, 199, 85, 0.08);color: #15803d;white-space: nowrap;text-decoration: none;}
.user-dropdown-line-friend-btn:hover{background: rgba(6, 199, 85, 0.16);border-color: #06C755;transform: translateY(-0.5px);}
.user-dropdown-line-friend-btn.friended{border-color: rgba(6, 199, 85, 0.45);background: rgba(6, 199, 85, 0.10);color: #06C755 !important;font-weight: 800;}
html[data-theme="dark"] .user-dropdown-line-friend-btn{color: #4ade80;border-color: rgba(74, 222, 128, 0.35);background: rgba(6, 199, 85, 0.12);}
html[data-theme="dark"] .user-dropdown-line-friend-btn.friended{color: #22c55e !important;border-color: rgba(34, 197, 94, 0.45);background: rgba(6, 199, 85, 0.16);}
html[data-theme="dark"] .user-dropdown-line-friend-btn:hover{background: rgba(6, 199, 85, 0.22);border-color: #4ade80;}
.mypage-line-friend-btn{display: inline-flex;align-items: center;gap: 4px;padding: 4px 11px;border-radius: 999px;font-size: 0.74rem;font-weight: 800;cursor: pointer;transition: all 0.18s ease;user-select: none;border: 1px solid rgba(6, 199, 85, 0.35);background: rgba(6, 199, 85, 0.08);color: #15803d;white-space: nowrap;text-decoration: none;}
.mypage-line-friend-btn:hover{background: rgba(6, 199, 85, 0.16);border-color: #06C755;transform: translateY(-0.5px);box-shadow: 0 2px 6px rgba(6, 199, 85, 0.15);}
.mypage-line-friend-btn.friended{border-color: rgba(6, 199, 85, 0.45);background: rgba(6, 199, 85, 0.10);color: #06C755 !important;font-weight: 800;}
html[data-theme="dark"] .mypage-line-friend-btn{color: #4ade80;border-color: rgba(74, 222, 128, 0.35);background: rgba(6, 199, 85, 0.12);}
html[data-theme="dark"] .mypage-line-friend-btn.friended{color: #22c55e !important;border-color: rgba(34, 197, 94, 0.45);background: rgba(6, 199, 85, 0.16);}
html[data-theme="dark"] .mypage-line-friend-btn:hover{background: rgba(6, 199, 85, 0.22);border-color: #4ade80;}
.welcome-modal-box{max-width: 440px;width: 90%;border-radius: 20px;padding: 26px 22px;text-align: center;position: relative;background: var(--bg-card);border: 1.5px solid var(--border-color);box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);}
.welcome-modal-line-btn{display: inline-flex;align-items: center;justify-content: center;gap: 8px;width: 100%;padding: 12px 20px;border-radius: 12px;font-size: 0.95rem;font-weight: 800;cursor: pointer;transition: all 0.2s ease;user-select: none;border: 1.5px solid #06C755;background: #06C755;color: #ffffff;box-shadow: 0 4px 14px rgba(6, 199, 85, 0.25);}
.welcome-modal-line-btn:hover{background: #05b34c;border-color: #05b34c;transform: translateY(-1px);box-shadow: 0 6px 18px rgba(6, 199, 85, 0.35);}
.welcome-modal-line-btn.friended{background: rgba(6, 199, 85, 0.10);border-color: rgba(6, 199, 85, 0.45);color: #06C755 !important;box-shadow: none;}
html[data-theme="dark"] .welcome-modal-line-btn.friended{color: #22c55e !important;border-color: rgba(74, 222, 128, 0.45);background: rgba(6, 199, 85, 0.18);}
.user-dropdown-stats-row{display: flex;align-items: center;gap: 5px;flex-wrap: nowrap;margin-top: 2px;}
.user-dropdown-stats-row .user-stat-chip{display: inline-flex;align-items: center;gap: 3px;padding: 3px 7px;border-radius: 6px;font-size: 0.72rem;font-weight: 800;line-height: 1;cursor: pointer;transition: all 0.16s ease;position: relative;white-space: nowrap;}
.user-dropdown-stats-row .user-stat-chip:hover{transform: translateY(-1px);box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);}
.user-dropdown-stats-row .user-stat-chip.shelf{background: rgba(225, 29, 72, 0.08);color: #e11d48;}
.user-dropdown-stats-row .user-stat-chip.shelf:hover{background: rgba(225, 29, 72, 0.16);}
.user-dropdown-stats-row .user-stat-chip.shelf svg{stroke: #e11d48;}
.user-dropdown-stats-row .user-stat-chip.star{background: rgba(124, 58, 237, 0.08);color: #7c3aed;}
.user-dropdown-stats-row .user-stat-chip.star:hover{background: rgba(124, 58, 237, 0.16);}
.user-dropdown-stats-row .user-stat-chip.star svg{stroke: #7c3aed;fill: none;}
.user-dropdown-stats-row .user-stat-chip.heart{background: rgba(225, 29, 72, 0.08);color: #e11d48;}
.user-dropdown-stats-row .user-stat-chip.heart:hover{background: rgba(225, 29, 72, 0.16);}
.user-dropdown-stats-row .user-stat-chip.heart svg{stroke: #e11d48;fill: none;}
.user-dropdown-stats-row .user-stat-chip.alert{background: rgba(217, 119, 6, 0.10);color: #d97706;}
.user-dropdown-stats-row .user-stat-chip.alert:hover{background: rgba(217, 119, 6, 0.18);}
.user-dropdown-stats-row .user-stat-chip.alert svg{stroke: #d97706;}
.user-dropdown-stats-row .user-stat-chip.note{background: rgba(13, 148, 136, 0.10);color: #0d9488;}
.user-dropdown-stats-row .user-stat-chip.note:hover{background: rgba(13, 148, 136, 0.18);}
.user-dropdown-stats-row .user-stat-chip.note svg{stroke: #0d9488;}
.user-dropdown-plan-pill{display: inline-flex;align-items: center;gap: 5px;font-size: 0.72rem;font-weight: 800;padding: 2px 8px;border-radius: 999px;border: 1px solid transparent;cursor: pointer;transition: all 0.15s ease;line-height: 1.3;user-select: none;}
.user-dropdown-plan-pill.free{background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);color: #ffffff;border-color: #38bdf8;box-shadow: 0 2px 6px rgba(2, 132, 199, 0.28);}
.user-dropdown-plan-pill.free:hover{background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);transform: translateY(-1px);box-shadow: 0 3px 10px rgba(2, 132, 199, 0.42);}
.user-dropdown-plan-pill.premium{background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(217, 119, 6, 0.28));color: #b45309;border-color: rgba(245, 158, 11, 0.55);box-shadow: 0 1px 4px rgba(245, 158, 11, 0.2);}
.user-dropdown-plan-pill.premium:hover{transform: translateY(-1px);box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);}
.prem-plus-sup{display: inline-block;font-size: 0.72em;font-weight: 900;line-height: 1;vertical-align: super;margin-left: 1px;margin-right: 1px;transform: translateY(-0.18em);color: #7c3aed;text-shadow: 0 0 4px rgba(255, 255, 255, 0.9);}
.top-mp-status-pill.premium .prem-plus-sup, .mypage-membership-chip.is-premium .prem-plus-sup{color: #fef08a;text-shadow: 0 1px 3px rgba(109, 40, 217, 0.95);}
.plan-plus-upgrade-tag{font-size: 0.62rem;background: linear-gradient(135deg, #7c3aed, #6d28d9);color: #ffffff;padding: 1px 6px;border-radius: 999px;font-weight: 900;margin-left: 3px;letter-spacing: -0.02em;box-shadow: 0 1px 4px rgba(124, 58, 237, 0.35);}
.plan-upgrade-tag{font-size: 0.62rem;background: linear-gradient(135deg, #f59e0b, #d97706);color: #fff;padding: 1px 5px;border-radius: 999px;font-weight: 900;letter-spacing: -0.02em;}
.plan-sparkle{font-size: 0.72rem;}
.badge-line-connected{display: inline-flex;align-items: center;gap: 3px;color: #047857;background: rgba(6, 199, 85, 0.14);border: 1px solid rgba(6, 199, 85, 0.32);font-size: 0.7rem;font-weight: 800;padding: 2px 8px;border-radius: 999px;white-space: nowrap;}
html[data-theme="dark"] .badge-line-connected{color: #34d399;background: rgba(6, 199, 85, 0.22);border-color: rgba(52, 211, 153, 0.38);}
.badge-email-connected{display: inline-flex;align-items: center;gap: 3px;color: #0284c7;background: rgba(2, 132, 199, 0.1);border: 1px solid rgba(2, 132, 199, 0.26);font-size: 0.7rem;font-weight: 800;padding: 2px 8px;border-radius: 999px;white-space: nowrap;}
html[data-theme="dark"] .badge-email-connected{color: #38bdf8;background: rgba(2, 132, 199, 0.18);border-color: rgba(56, 189, 248, 0.32);}
.badge-google-connected{display: inline-flex;align-items: center;gap: 3px;color: #1e293b;background: rgba(66, 133, 244, 0.08);border: 1px solid rgba(66, 133, 244, 0.22);font-size: 0.7rem;font-weight: 800;padding: 2px 8px;border-radius: 999px;white-space: nowrap;}
html[data-theme="dark"] .badge-google-connected{color: #f1f5f9;background: rgba(66, 133, 244, 0.18);border-color: rgba(66, 133, 244, 0.32);}
.badge-apple-connected{display: inline-flex;align-items: center;gap: 3px;color: var(--text-main);background: rgba(148, 163, 184, 0.12);border: 1px solid rgba(148, 163, 184, 0.25);font-size: 0.7rem;font-weight: 800;padding: 2px 8px;border-radius: 999px;white-space: nowrap;}
html[data-theme="dark"] .badge-apple-connected{background: rgba(148, 163, 184, 0.18);border-color: rgba(148, 163, 184, 0.32);}
.user-dropdown-divider{height: 1px;background: var(--border-color);margin: 6px 0;}
.user-dropdown-items{display: flex;flex-direction: column;}
.user-dropdown-item{width: 100%;border: none;background: transparent;padding: 8px 12px;display: flex;align-items: center;gap: 8px;font-size: 0.80rem;font-weight: 700;color: var(--text-main);cursor: pointer;text-align: left;transition: background 0.15s ease;box-sizing: border-box;min-width: 0;}
.user-dropdown-item:hover{background: rgba(0, 0, 0, 0.05);}
html[data-theme="dark"] .user-dropdown-item:hover{background: rgba(255, 255, 255, 0.06);}
.user-dropdown-item-notebook:hover{background: rgba(16, 185, 129, 0.14) !important;}
.hl-section-glow{animation: hlSectionGlowAnim 2s ease-out;}
@keyframes hlSectionGlowAnim{0%{box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.5), 0 6px 20px rgba(16, 185, 129, 0.2);transform: scale(1.005);}70%{box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2), 0 6px 20px rgba(16, 185, 129, 0.1);transform: scale(1);}100%{box-shadow: none;transform: scale(1);}}
.dropdown-item-icon{width: 20px;height: 20px;display: inline-flex;align-items: center;justify-content: center;flex-shrink: 0;}
.dropdown-item-icon svg{width: 17px;height: 17px;stroke-width: 2.2;display: block;}
.user-dropdown-item-mypage{background: rgba(225, 29, 72, 0.08) !important;color: #e11d48 !important;font-weight: 800 !important;border-radius: 8px !important;margin-bottom: 4px !important;}
.user-dropdown-item-mypage:hover{background: rgba(225, 29, 72, 0.14) !important;}
.user-dropdown-item-mypage .dropdown-item-icon svg{stroke: #e11d48 !important;}
.user-dropdown-item-mypage .dropdown-item-badge{font-size: 0.72rem;background: #e11d48 !important;color: #ffffff !important;padding: 2px 8px;border-radius: 999px;font-weight: 800;margin-left: auto;}
.user-dropdown-item-room .dropdown-item-icon svg{stroke: #6366f1 !important;}
.user-dropdown-item-room:hover{background: rgba(99, 102, 241, 0.08) !important;color: #4f46e5 !important;}
.user-dropdown-item-room .dropdown-item-badge{font-size: 0.71rem;background: rgba(99, 102, 241, 0.12) !important;color: #4f46e5 !important;padding: 2px 7px;border-radius: 999px;font-weight: 800;margin-left: auto;display: inline-flex;align-items: center;gap: 3px;flex-shrink: 0;white-space: nowrap;}
.user-dropdown-item-shelf .dropdown-item-icon svg{stroke: #e11d48 !important;}
.user-dropdown-item-shelf:hover{background: rgba(225, 29, 72, 0.08) !important;color: #e11d48 !important;}
.user-dropdown-item-shelf .dropdown-item-badge{font-size: 0.72rem;background: rgba(225, 29, 72, 0.12) !important;color: #e11d48 !important;padding: 2px 8px;border-radius: 999px;font-weight: 800;margin-left: auto;}
.user-dropdown-item-library .dropdown-item-icon svg{stroke: #ea580c !important;}
.user-dropdown-item-library:hover{background: rgba(234, 88, 12, 0.08) !important;color: #ea580c !important;}
.user-dropdown-item-library .dropdown-item-badge{font-size: 0.72rem;background: rgba(234, 88, 12, 0.12) !important;color: #ea580c !important;padding: 2px 8px;border-radius: 999px;font-weight: 800;display: inline-flex;align-items: center;gap: 4px;margin-left: auto;}
.user-dropdown-item-notebook .dropdown-item-icon svg{stroke: #0d9488 !important;}
.user-dropdown-item-notebook:hover{background: rgba(13, 148, 136, 0.08) !important;color: #0d9488 !important;}
.user-dropdown-item-notebook .dropdown-item-counter{background: rgba(13, 148, 136, 0.12) !important;color: #0d9488 !important;}
.user-dropdown-item-fav .dropdown-item-icon svg{stroke: #7c3aed !important;fill: rgba(124, 58, 237, 0.15) !important;}
.user-dropdown-item-fav:hover{background: rgba(124, 58, 237, 0.08) !important;color: #7c3aed !important;}
.user-dropdown-item-fav .dropdown-item-counter{background: rgba(124, 58, 237, 0.12) !important;color: #7c3aed !important;}
.user-dropdown-item-alerts .dropdown-item-icon svg{stroke: #d97706 !important;}
.user-dropdown-item-alerts:hover{background: rgba(217, 119, 6, 0.08) !important;color: #d97706 !important;}
.user-dropdown-item-alerts .dropdown-item-counter{background: rgba(217, 119, 6, 0.12) !important;color: #d97706 !important;}
.user-dropdown-item-settings .dropdown-item-icon svg{stroke: #64748b;}
.user-dropdown-item-premium .dropdown-item-icon svg{stroke: #d97706;fill: rgba(217, 119, 6, 0.12);}
.user-dropdown-logout .dropdown-item-icon svg{stroke: #ef4444;}
.dropdown-item-label{flex: 1;min-width: 0;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.dropdown-item-badge, .dropdown-item-counter{margin-left: auto;font-size: 0.71rem;font-weight: 800;padding: 2px 7px;border-radius: 999px;display: inline-flex;align-items: center;gap: 3px;flex-shrink: 0;white-space: nowrap;}
.mypage-nav-badge{display: inline-flex;align-items: center;gap: 3px;white-space: nowrap;}
.badge-svc-svg{width: 11px;height: 11px;flex-shrink: 0;vertical-align: -1px;stroke: currentColor;}
.profile-device-autocomplete-list{position: absolute;top: calc(100% + 4px);left: 0;right: 0;max-height: 210px;overflow-y: auto;background: var(--bg-card, #ffffff);border: 1.5px solid var(--border-color, #cbd5e1);border-radius: 10px;box-shadow: 0 10px 26px rgba(15, 23, 42, 0.18);z-index: 3200;padding: 4px;}
.profile-device-ac-item{width: 100%;border: none;background: transparent;color: var(--text-main);padding: 7px 10px;border-radius: 7px;font-size: 0.76rem;font-weight: 700;text-align: left;display: flex;align-items: center;justify-content: space-between;gap: 8px;cursor: pointer;}
.profile-device-ac-item:hover, .profile-device-ac-item.is-active{background: rgba(79, 70, 229, 0.1);color: #4f46e5;}
html[data-theme="dark"] .profile-device-ac-item:hover, html[data-theme="dark"] .profile-device-ac-item.is-active{background: rgba(99, 102, 241, 0.22);color: #a5b4fc;}
.profile-device-ac-cat{font-size: 0.65rem;font-weight: 800;color: var(--text-sub);padding: 1px 6px;border-radius: 999px;background: rgba(148, 163, 184, 0.14);flex-shrink: 0;}
.user-dropdown-logout{color: #ef4444 !important;}
.user-dropdown-logout:hover{background: rgba(239, 68, 68, 0.08) !important;}
.alert-channel-card{border: 1.5px solid var(--border-color);border-radius: 10px;padding: 10px 12px;background: var(--bg-card);cursor: pointer;transition: border-color 0.15s ease, background 0.15s ease;}
.alert-channel-card.active{border-color: #06C755;background: rgba(6, 199, 85, 0.04);}
.alert-channel-card.email-active{border-color: #0284c7;background: rgba(2, 132, 199, 0.04);}
.fav-modal-box{max-width: 680px !important;padding: 24px 26px !important;border-radius: 18px !important;max-height: 88vh;display: flex;flex-direction: column;}
.fav-modal-header{margin-bottom: 12px;padding-right: 28px;}
.fav-summary-banner{background: linear-gradient(135deg, rgba(234, 88, 12, 0.06), rgba(245, 158, 11, 0.1));border: 1px solid rgba(234, 88, 12, 0.25);border-radius: 12px;padding: 10px 14px;margin-bottom: 14px;display: flex;align-items: center;justify-content: space-between;flex-wrap: wrap;gap: 10px;}
.fav-list-scroll{flex: 1;overflow-y: auto;display: flex;flex-direction: column;gap: 10px;padding-right: 4px;min-height: 140px;max-height: 440px;}
.fav-book-card{background: var(--bg-card-sub, #f8fafc);border: 1.5px solid var(--border-color);border-radius: 12px;padding: 12px 14px;display: flex;align-items: center;gap: 14px;transition: border-color 0.15s ease, transform 0.15s ease;}
html[data-theme="dark"] .fav-book-card{background: rgba(30, 41, 59, 0.5);}
.fav-book-card:hover{border-color: #ea580c;transform: translateY(-1px);}
.fav-book-cover{width: 52px;height: 72px;object-fit: cover;border-radius: 6px;box-shadow: 0 2px 6px rgba(0,0,0,0.12);flex-shrink: 0;}
.fav-book-info{min-width: 0;flex: 1;}
.fav-book-title{font-size: 0.92rem;font-weight: 800;color: var(--text-main);margin-bottom: 4px;line-height: 1.35;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;}
.fav-book-author{font-size: 0.74rem;color: var(--text-sub);margin-bottom: 6px;}
.fav-stores-price-row{display: flex;align-items: center;gap: 6px;flex-wrap: wrap;}
.fav-store-pill{font-size: 0.7rem;font-weight: 700;padding: 2px 7px;border-radius: 6px;background: var(--bg-card);border: 1px solid var(--border-color);color: var(--text-main);}
.fav-store-pill.is-best{border-color: #ea580c;background: rgba(234, 88, 12, 0.1);color: #ea580c;font-weight: 800;}
.fav-book-actions{display: flex;flex-direction: column;gap: 6px;align-items: flex-end;flex-shrink: 0;}
.btn-fav-quick-alert{padding: 6px 12px;border-radius: 999px;background: rgba(2, 132, 199, 0.1);color: #0284c7;border: 1px solid rgba(2, 132, 199, 0.3);font-size: 0.74rem;font-weight: 800;cursor: pointer;display: inline-flex;align-items: center;gap: 4px;white-space: nowrap;transition: all 0.15s ease;}
.btn-fav-quick-alert:hover{background: #0284c7;color: #ffffff;}
.btn-fav-remove{background: transparent;border: none;color: var(--text-muted);cursor: pointer;font-size: 0.72rem;padding: 4px;transition: color 0.15s ease;}
.btn-fav-remove:hover{color: #ef4444;}
.hl-dropzone-box{border: 2px dashed #10b981;border-radius: 14px;padding: 26px 20px;text-align: center;background: rgba(16, 185, 129, 0.04);cursor: pointer;transition: all 0.2s ease;}
.hl-dropzone-box:hover, .hl-dropzone-box.drag-over{background: rgba(16, 185, 129, 0.1);border-color: #059669;transform: translateY(-1px);}
.hl-form-input, .hl-form-textarea{width: 100%;background: #ffffff;border: 1.5px solid var(--border-color);border-radius: 10px;padding: 10px 14px;font-size: 0.88rem;color: var(--text-main);box-sizing: border-box;outline: none;transition: border-color 0.2s, box-shadow 0.2s;font-family: inherit;}
html[data-theme="dark"] .hl-form-input, html[data-theme="dark"] .hl-form-textarea{background: #0f141d;border-color: #283549;color: #f1f5f9;}
.hl-form-input:focus, .hl-form-textarea:focus{border-color: #10b981;box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);}
.hl-book-card{background: var(--bg-card);border: 1px solid var(--border-color);border-radius: 14px;padding: 18px 20px;margin-bottom: 18px;box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);transition: border-color 0.2s, box-shadow 0.2s;}
.hl-book-card:hover{border-color: rgba(16, 185, 129, 0.45);box-shadow: 0 4px 16px rgba(16, 185, 129, 0.08);}
.hl-book-header{display: flex;justify-content: space-between;align-items: flex-start;flex-wrap: wrap;gap: 12px;padding-bottom: 12px;border-bottom: 1px solid var(--border-color);margin-bottom: 14px;}
.hl-quote-item{position: relative;background: rgba(16, 185, 129, 0.05);border-left: 3.5px solid #10b981;border-radius: 0 10px 10px 0;padding: 12px 16px;margin-bottom: 10px;transition: background 0.15s ease;}
.hl-quote-item:hover{background: rgba(16, 185, 129, 0.09);}
.hl-quote-text{font-size: 0.88rem;line-height: 1.65;color: var(--text-main);white-space: pre-wrap;word-break: break-word;font-style: normal;}
.hl-quote-meta{display: flex;justify-content: space-between;align-items: center;margin-top: 8px;font-size: 0.72rem;color: var(--text-sub);}
.hl-book-sale-link-btn{font-size: 0.78rem;font-weight: 800;padding: 7px 16px;border-radius: 999px;background: linear-gradient(135deg, #fff7ed, #ffedd5);border: 1.5px solid #ea580c;color: #ea580c;cursor: pointer;display: inline-flex;align-items: center;gap: 6px;box-shadow: 0 2px 6px rgba(234, 88, 12, 0.15);transition: all 0.2s ease;}
.hl-book-sale-link-btn:hover{background: linear-gradient(135deg, #ea580c, #f59e0b);color: #ffffff;transform: translateY(-1px);box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);}
html[data-theme="dark"] .hl-book-sale-link-btn{background: rgba(234, 88, 12, 0.15);border-color: #ea580c;color: #fb923c;}
html[data-theme="dark"] .hl-book-sale-link-btn:hover{background: #ea580c;color: #ffffff;}
.hl-serendipity-card{background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(234, 88, 12, 0.05));border: 1.5px solid rgba(245, 158, 11, 0.35);border-radius: 16px;padding: 20px 24px;margin-bottom: 22px;position: relative;overflow: hidden;box-shadow: 0 4px 18px rgba(245, 158, 11, 0.08);transition: all 0.25s ease;}
.hl-serendipity-card:hover{box-shadow: 0 6px 24px rgba(245, 158, 11, 0.14);border-color: rgba(245, 158, 11, 0.55);}
.hl-serendipity-bg-watermark{position: absolute;right: 18px;bottom: -10px;font-size: 6.5rem;line-height: 1;opacity: 0.08;pointer-events: none;font-family: Georgia, serif;color: #ea580c;}
.hl-serendipity-quote{font-size: 1.02rem;font-weight: 700;line-height: 1.75;color: var(--text-main);position: relative;z-index: 1;margin-bottom: 12px;white-space: pre-wrap;word-break: break-word;}
.hl-serendipity-source{display: flex;justify-content: space-between;align-items: center;flex-wrap: wrap;gap: 12px;position: relative;z-index: 1;border-top: 1px dashed rgba(245, 158, 11, 0.3);padding-top: 12px;}
.hl-search-wrapper{position: relative;margin-bottom: 18px;}
.hl-search-input{width: 100%;background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 999px;padding: 12px 42px 12px 44px;font-size: 0.9rem;color: var(--text-main);outline: none;box-sizing: border-box;box-shadow: 0 2px 8px rgba(0,0,0,0.04);transition: all 0.2s ease;font-family: inherit;}
.hl-search-input:focus{border-color: #10b981;box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);}
.hl-search-icon{position: absolute;left: 16px;top: 50%;transform: translateY(-50%);font-size: 1.05rem;color: var(--text-muted);pointer-events: none;}
.hl-search-clear{position: absolute;right: 14px;top: 50%;transform: translateY(-50%);background: rgba(0,0,0,0.06);border: none;border-radius: 50%;width: 22px;height: 22px;display: flex;align-items: center;justify-content: center;font-size: 0.75rem;color: var(--text-muted);cursor: pointer;transition: all 0.15s ease;}
.hl-search-clear:hover{background: rgba(239, 68, 68, 0.15);color: #ef4444;}
.hl-btn-markdown{font-size: 0.76rem;font-weight: 700;padding: 5px 12px;border-radius: 999px;background: var(--bg-card);border: 1.2px solid var(--border-color);color: var(--text-main);cursor: pointer;display: inline-flex;align-items: center;gap: 5px;transition: all 0.15s ease;}
.hl-btn-markdown:hover{border-color: #3b82f6;color: #2563eb;background: rgba(59, 130, 246, 0.08);transform: translateY(-1px);}
.hl-btn-x-share{font-size: 0.74rem;font-weight: 700;padding: 4px 10px;border-radius: 999px;background: #0f1419;color: #ffffff;border: 1px solid #333333;cursor: pointer;display: inline-flex;align-items: center;gap: 4px;transition: all 0.15s ease;line-height: 1;}
.hl-btn-x-share:hover{background: #272c30;transform: translateY(-1px);box-shadow: 0 2px 8px rgba(0,0,0,0.2);}
html[data-theme="dark"] .hl-btn-x-share{background: #ffffff;color: #0f1419;border-color: #e5e7eb;}
html[data-theme="dark"] .hl-btn-x-share:hover{background: #e2e8f0;}
.hl-highlight-match{background: rgba(245, 158, 11, 0.3);color: inherit;padding: 0 2px;border-radius: 3px;font-weight: 700;}
.hl-quote-action-btn{font-size: 0.7rem;font-weight: 600;padding: 2px 7px;border-radius: 6px;background: var(--bg-card);border: 1px solid var(--border-color);color: var(--text-sub);cursor: pointer;display: inline-flex;align-items: center;gap: 3px;transition: all 0.15s ease;line-height: 1.2;}
.hl-quote-action-btn:hover{border-color: #10b981;color: var(--text-main);background: rgba(16, 185, 129, 0.08);transform: translateY(-1px);}
.hl-store-badge{display: inline-flex;align-items: center;gap: 3px;font-size: 0.68rem;font-weight: 800;padding: 1.5px 7px;border-radius: 999px;line-height: 1.3;letter-spacing: 0.02em;}
.hl-store-badge.kindle{background: rgba(234, 88, 12, 0.12);color: #ea580c;border: 1px solid rgba(234, 88, 12, 0.28);}
.hl-store-badge.kobo{background: rgba(220, 38, 38, 0.12);color: #dc2626;border: 1px solid rgba(220, 38, 38, 0.28);}
.hl-store-badge.ebook{background: rgba(2, 132, 199, 0.12);color: #0284c7;border: 1px solid rgba(2, 132, 199, 0.28);}
.hl-store-badge.dmm{background: rgba(245, 158, 11, 0.12);color: #d97706;border: 1px solid rgba(245, 158, 11, 0.35);}
html[data-theme="dark"] .hl-store-badge.dmm{background: rgba(245, 158, 11, 0.18);color: #fbbf24;border: 1px solid rgba(245, 158, 11, 0.45);}
.hl-store-segment-group{display: inline-flex;align-items: center;flex-wrap: wrap;background: rgba(0, 0, 0, 0.28);border: 1px solid rgba(255, 255, 255, 0.08);border-radius: 10px;padding: 3px;gap: 3px;margin-top: 4px;}
html[data-theme="light"] .hl-store-segment-group{background: #f1f5f9;border-color: #cbd5e1;}
.hl-store-segment-group .store-tab-btn{font-size: 0.80rem;padding: 5px 11px;}
.hl-store-filter-bar{display: inline-flex;align-items: center;background: rgba(0, 0, 0, 0.28);border: 1px solid rgba(255, 255, 255, 0.08);border-radius: 10px;padding: 3px;gap: 3px;overflow-x: auto;margin-bottom: 14px;-webkit-overflow-scrolling: touch;scrollbar-width: none;max-width: 100%;}
html[data-theme="light"] .hl-store-filter-bar{background: #f1f5f9;border-color: #cbd5e1;}
.hl-store-filter-bar::-webkit-scrollbar{display: none;}
.hl-store-filter-bar .store-tab-btn{font-size: 0.80rem;padding: 5px 11px;}
.hl-store-filter-bar .store-tab-btn .count-badge{display: inline-flex;align-items: center;justify-content: center;padding: 1px 6px;border-radius: 999px;font-size: 0.70rem;background: rgba(255, 255, 255, 0.25);margin-left: 3px;font-weight: 800;}
html[data-theme="light"] .hl-store-filter-bar .store-tab-btn:not(.active) .count-badge{background: rgba(0, 0, 0, 0.08);color: #64748b;}
.plans-lp-container{max-width: 1040px;margin: 0 auto;padding: 6px 12px 48px;}
.plans-lp-hero{text-align: center;margin-bottom: 32px;padding: 10px 14px;}
.plans-lp-badge{display: inline-flex;align-items: center;gap: 6px;padding: 5px 14px;border-radius: 999px;background: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(217, 119, 6, 0.18));border: 1px solid rgba(245, 158, 11, 0.35);color: #b45309;font-size: 0.78rem;font-weight: 800;margin-bottom: 12px;}
html[data-theme="dark"] .plans-lp-badge{background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(217, 119, 6, 0.28));border-color: rgba(245, 158, 11, 0.5);color: #fbbf24;}
.plans-lp-title{font-size: 1.85rem;font-weight: 900;color: var(--text-main);margin: 0 0 10px 0;letter-spacing: -0.02em;line-height: 1.3;}
.plans-lp-subtitle{font-size: 0.94rem;color: var(--text-sub);max-width: 680px;margin: 0 auto 14px auto;line-height: 1.6;}
.plans-lp-subinfo{display: inline-flex;align-items: center;gap: 8px;padding: 6px 16px;border-radius: 8px;background: var(--bg-card);border: 1px dashed var(--border-color);font-size: 0.8rem;color: var(--text-sub);}
.plans-lp-subinfo strong{color: #ea580c;}
.plans-cards-grid{display: grid;grid-template-columns: repeat(3, 1fr);gap: 18px;margin-bottom: 48px;align-items: stretch;}
@media (max-width: 860px){.plans-cards-grid{grid-template-columns: 1fr;max-width: 440px;margin-left: auto;margin-right: auto;gap: 20px;}}
.plan-card{position: relative;background: var(--bg-card);border-radius: 18px;border: 1.5px solid var(--border-color);box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);display: flex;flex-direction: column;padding: 24px 20px;box-sizing: border-box;transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;}
.plan-card:hover{transform: translateY(-3px);box-shadow: 0 8px 26px rgba(0, 0, 0, 0.1);}
.plan-card.is-popular{border: 2px solid #f59e0b;box-shadow: 0 6px 22px rgba(245, 158, 11, 0.15);background: linear-gradient(180deg, rgba(245, 158, 11, 0.04) 0%, var(--bg-card) 25%);}
.plan-card.is-premium{border: 2px solid #ea580c;box-shadow: 0 8px 28px rgba(234, 88, 12, 0.18);background: linear-gradient(180deg, rgba(234, 88, 12, 0.06) 0%, var(--bg-card) 25%);}
.plan-card-tag{position: absolute;top: -12px;left: 50%;transform: translateX(-50%);padding: 3px 14px;border-radius: 999px;font-size: 0.72rem;font-weight: 800;white-space: nowrap;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);}
.plan-card-tag.popular{background: linear-gradient(135deg, #f59e0b, #d97706);color: #fff;}
.plan-card-tag.premium{background: linear-gradient(135deg, #ea580c, #c2410c);color: #fff;}
.plan-card-header{text-align: center;padding-bottom: 16px;border-bottom: 1px dashed var(--border-color);margin-bottom: 18px;}
.plan-card-icon{font-size: 2.2rem;margin-bottom: 6px;line-height: 1;}
.plan-card-title{font-size: 1.25rem;font-weight: 900;color: var(--text-main);margin: 0 0 4px 0;}
.plan-card-desc{font-size: 0.78rem;color: var(--text-sub);margin: 0 0 14px 0;min-height: 2.4em;line-height: 1.45;}
.plan-card-price-box{display: flex;align-items: baseline;justify-content: center;gap: 4px;margin-bottom: 4px;}
.plan-card-price-currency{font-size: 1.1rem;font-weight: 800;color: var(--text-main);}
.plan-card-price-num{font-size: 2.1rem;font-weight: 900;color: var(--text-main);letter-spacing: -0.03em;}
.plan-card-price-period{font-size: 0.78rem;color: var(--text-sub);font-weight: 600;}
.plan-card-subprice{font-size: 0.72rem;color: #d97706;font-weight: 700;margin-top: 2px;}
.plan-card-features{list-style: none;padding: 0;margin: 0 0 24px 0;flex: 1 1 auto;display: flex;flex-direction: column;gap: 11px;}
.plan-feature-item{display: flex;align-items: flex-start;gap: 8px;font-size: 0.82rem;line-height: 1.45;color: var(--text-main);}
.plan-feature-item.disabled{color: var(--text-sub);opacity: 0.6;}
.plan-feature-icon{font-size: 0.88rem;flex-shrink: 0;margin-top: 1px;}
.plan-feature-icon.check{color: #10b981;}
.plan-feature-icon.cross{color: var(--text-sub);}
.plan-feature-item strong{color: var(--text-main);font-weight: 800;}
.plan-card-btn{width: 100%;padding: 12px 16px;border-radius: 999px;font-size: 0.92rem;font-weight: 800;cursor: pointer;display: inline-flex;align-items: center;justify-content: center;gap: 6px;transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);box-sizing: border-box;text-decoration: none;border: 1.5px solid transparent;}
.plan-card-btn.btn-outline{background: var(--bg-card);border-color: var(--border-color);color: var(--text-main);}
.plan-card-btn.btn-outline:hover{background: var(--bg-card-sub);border-color: var(--text-sub);transform: translateY(-1px);}
.plan-card-btn.btn-popular{background: linear-gradient(135deg, #f59e0b, #d97706);color: #fff;box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);}
.plan-card-btn.btn-popular:hover{background: linear-gradient(135deg, #fbbf24, #ea580c);box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);transform: translateY(-1px);}
.plan-card-btn.btn-premium{background: linear-gradient(135deg, #ea580c, #c2410c);color: #fff;box-shadow: 0 4px 16px rgba(234, 88, 12, 0.4);}
.plan-card-btn.btn-premium:hover{background: linear-gradient(135deg, #f97316, #9a3412);box-shadow: 0 6px 20px rgba(234, 88, 12, 0.5);transform: translateY(-1px);}
.plans-matrix-section{background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 18px;padding: 26px 22px;box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);margin-bottom: 40px;}
.plans-matrix-title-row{text-align: center;margin-bottom: 22px;}
.plans-matrix-title{font-size: 1.35rem;font-weight: 900;color: var(--text-main);margin: 0 0 6px 0;}
.plans-matrix-desc{font-size: 0.84rem;color: var(--text-sub);margin: 0;}
.plans-table-responsive{overflow-x: auto;-webkit-overflow-scrolling: touch;border-radius: 12px;border: 1px solid var(--border-color);}
.plans-table{width: 100%;border-collapse: collapse;font-size: 0.84rem;min-width: 580px;}
.plans-table th, .plans-table td{padding: 12px 14px;text-align: center;border-bottom: 1px solid var(--border-color);line-height: 1.4;}
.plans-table th:first-child, .plans-table td:first-child{text-align: left;font-weight: 700;color: var(--text-main);width: 40%;}
.plans-table thead th{background: var(--bg-card-sub);font-weight: 800;color: var(--text-main);border-bottom: 2px solid var(--border-color);font-size: 0.88rem;}
.plans-table thead th.col-popular{background: rgba(245, 158, 11, 0.1);color: #d97706;border-bottom: 2px solid #f59e0b;}
.plans-table thead th.col-premium{background: rgba(234, 88, 12, 0.1);color: #ea580c;border-bottom: 2px solid #ea580c;}
.plans-table tbody tr:hover{background: rgba(0, 0, 0, 0.015);}
html[data-theme="dark"] .plans-table tbody tr:hover{background: rgba(255, 255, 255, 0.02);}
.plans-table .category-row{background: var(--bg-card-sub);font-weight: 800;color: var(--text-sub);font-size: 0.78rem;letter-spacing: 0.04em;text-transform: uppercase;}
.plans-table .category-row td{text-align: left;padding: 8px 14px;border-top: 1px solid var(--border-color);}
.table-check{color: #10b981;font-size: 1.05rem;font-weight: 900;}
.table-cross{color: var(--text-sub);opacity: 0.45;font-size: 0.95rem;}
.table-highlight{font-weight: 800;color: #ea580c;}
.plans-faq-section{margin-bottom: 40px;}
.plans-faq-title-row{text-align: center;margin-bottom: 20px;}
.plans-faq-title{font-size: 1.3rem;font-weight: 900;color: var(--text-main);margin: 0 0 4px 0;}
.plans-faq-grid{display: grid;grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));gap: 14px;}
.plans-faq-card{background: var(--bg-card);border: 1px solid var(--border-color);border-radius: 14px;padding: 16px 18px;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);}
.plans-faq-q{font-size: 0.88rem;font-weight: 800;color: var(--text-main);margin: 0 0 6px 0;display: flex;align-items: flex-start;gap: 8px;}
.plans-faq-q-badge{display: inline-flex;align-items: center;justify-content: center;width: 20px;height: 20px;border-radius: 6px;background: rgba(245, 158, 11, 0.16);color: #d97706;font-size: 0.74rem;font-weight: 900;flex-shrink: 0;margin-top: 1px;}
.plans-faq-a{font-size: 0.8rem;color: var(--text-sub);margin: 0;line-height: 1.55;padding-left: 28px;}
.plans-bottom-cta{background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(234, 88, 12, 0.14));border: 1.5px solid rgba(245, 158, 11, 0.35);border-radius: 18px;padding: 28px 20px;text-align: center;margin-bottom: 24px;}
.plans-bottom-cta-title{font-size: 1.25rem;font-weight: 900;color: var(--text-main);margin: 0 0 8px 0;}
.plans-bottom-cta-desc{font-size: 0.84rem;color: var(--text-sub);margin: 0 0 18px 0;line-height: 1.5;}
.plans-bottom-cta-btns{display: flex;justify-content: center;gap: 12px;flex-wrap: wrap;}
.auth-premium-teaser-btn:hover{filter: brightness(0.96);transform: translateY(-1px);box-shadow: 0 6px 16px rgba(245,158,11,0.15);}
@keyframes hikabonBellSwing{0%{transform: rotate(0deg);}20%{transform: rotate(14deg);}40%{transform: rotate(-11deg);}60%{transform: rotate(7deg);}80%{transform: rotate(-4deg);}100%{transform: rotate(0deg);}}
#header-alert-bell-btn svg{transform-origin: 50% 15%;transition: color 0.18s ease, stroke 0.18s ease;}
#header-alert-bell-btn:hover{color: #d97706 !important;transform: none !important;}
#header-alert-bell-btn:hover svg{animation: hikabonBellSwing 0.55s ease-in-out;stroke: #d97706;}
#header-alert-bell-btn #header-alert-bell-badge{transition: transform 0.18s ease;}
#header-alert-bell-btn:hover #header-alert-bell-badge{transform: scale(1.08);}
.ku-scope-toggle-group{display: inline-flex;align-items: center;background: var(--bg-subtle, rgba(148, 163, 184, 0.14));border: 1.5px solid var(--border-color);border-radius: 999px;padding: 2px;gap: 2px;flex-shrink: 0;}
.ku-scope-toggle-btn{border: none;background: transparent;color: var(--text-sub);font-size: 0.73rem;font-weight: 800;padding: 5px 10px;border-radius: 999px;cursor: pointer;display: inline-flex;align-items: center;gap: 4px;white-space: nowrap;transition: all 0.16s ease;}
.ku-scope-toggle-btn.is-active{background: linear-gradient(135deg, #d97706, #b45309);color: #ffffff;box-shadow: 0 2px 6px rgba(180, 83, 9, 0.25);}
.ku-scope-toggle-btn.is-locked{opacity: 0.85;}
.ku-filter-panel-box{background: #ede8df;border: 1.5px solid var(--genre-border);border-radius: 14px;padding: 12px 14px;margin-bottom: 14px;position: relative !important;top: auto !important;z-index: 2 !important;box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);}
html[data-theme="dark"] .ku-filter-panel-box{background: #111622;box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);}
.ku-tracker-banner{background: linear-gradient(135deg, rgba(220, 38, 38, 0.08), rgba(245, 158, 11, 0.08));border: 1.5px solid rgba(220, 38, 38, 0.34);border-radius: 14px;padding: 12px 15px;margin-bottom: 14px;}
html[data-theme="dark"] .ku-tracker-banner{background: linear-gradient(135deg, rgba(220, 38, 38, 0.14), rgba(245, 158, 11, 0.10));border-color: rgba(248, 113, 113, 0.4);}
.ku-mobile-col-switch{display: none;}
@media (max-width: 767px){.ku-mobile-col-switch{display: grid;grid-template-columns: 1fr 1fr;gap: 6px;padding: 5px;margin-bottom: 12px;background: var(--bg-card);border: 1.5px solid var(--genre-border);border-radius: 12px;position: sticky;top: calc(var(--header-actual-height, 108px) + 4px);z-index: 35;box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);}#modal-kininaru-hub .ku-mobile-col-switch{top: 0;}}
.ku-mobile-col-btn{border: 1.5px solid transparent;background: transparent;color: var(--text-sub);font-size: 0.80rem;font-weight: 900;padding: 8px 10px;border-radius: 9px;cursor: pointer;display: inline-flex;align-items: center;justify-content: center;gap: 6px;transition: all 0.16s ease;}
.ku-mobile-col-btn.is-active.col-buy{background: linear-gradient(135deg, #ea580c, #d97706);color: #ffffff;box-shadow: 0 3px 10px rgba(234, 88, 12, 0.25);}
.ku-mobile-col-btn.is-active.col-alerts{background: linear-gradient(135deg, #0284c7, #0369a1);color: #ffffff;box-shadow: 0 3px 10px rgba(2, 132, 199, 0.25);}
.ku-two-col-grid{display: grid;grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);gap: 16px;align-items: start;}
@media (min-width: 768px){.ku-two-col-grid{grid-template-rows: auto auto auto 1fr;align-items: stretch;}.ku-col-panel{display: grid;grid-template-rows: subgrid;grid-row: span 4;row-gap: 10px;}.ku-col-panel > .ku-col-header, .ku-col-panel > .ku-store-totals-box, .ku-col-panel > .ku-alert-cond-box, .ku-col-panel > .ku-batch-bar, .ku-col-panel > .ku-col-body-wrap{margin-bottom: 0 !important;}.ku-col-panel > .ku-guest-locked-wrap{grid-row: 2 / span 3;margin-bottom: 0 !important;}}
@media (max-width: 767px){.ku-two-col-grid{display: block;}.ku-col-panel.is-mobile-hidden{display: none !important;}}
.ku-col-panel{background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 14px;padding: 14px;min-width: 0;transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;}
.ku-col-panel.ku-col-buy{border-top: 3.5px solid #ea580c;}
.ku-col-panel.ku-col-alerts{border-top: 3.5px solid #0284c7;}
.ku-col-panel.is-drag-over{border-color: #8b5cf6 !important;box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22) !important;background: rgba(139, 92, 246, 0.04);}
.ku-col-header{display: flex;align-items: center;justify-content: space-between;gap: 8px;flex-wrap: wrap;margin-bottom: 10px;padding-bottom: 8px;border-bottom: 1px solid var(--border-color);}
.ku-col-title{font-size: 0.95rem;font-weight: 900;color: var(--text-main);display: inline-flex;align-items: center;gap: 6px;margin: 0;}
.ku-store-totals-box{background: linear-gradient(135deg, rgba(234, 88, 12, 0.07), rgba(245, 158, 11, 0.05));border: 1.5px solid rgba(234, 88, 12, 0.28);border-radius: 12px;padding: 10px 12px;margin-bottom: 10px;}
html[data-theme="dark"] .ku-store-totals-box{background: linear-gradient(135deg, rgba(234, 88, 12, 0.14), rgba(245, 158, 11, 0.08));}
.ku-alert-cond-box{background: linear-gradient(135deg, rgba(2, 132, 199, 0.06), rgba(14, 165, 233, 0.04));border: 1.5px solid rgba(2, 132, 199, 0.26);border-radius: 12px;padding: 10px 12px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;gap: 8px;}
html[data-theme="dark"] .ku-alert-cond-box{background: linear-gradient(135deg, rgba(2, 132, 199, 0.14), rgba(14, 165, 233, 0.08));}
.ku-col-body-wrap{min-width: 0;display: flex;flex-direction: column;}
.ku-store-links-grid{display: grid;grid-template-columns: repeat(3, minmax(0, 1fr));gap: 6px;margin-top: 8px;}
@media (max-width: 480px){.ku-store-links-grid{grid-template-columns: 1fr;}}
.ku-store-ext-link{display: inline-flex;align-items: center;justify-content: center;gap: 4px;padding: 6px 8px;border-radius: 8px;font-size: 0.71rem;font-weight: 800;text-decoration: none;border: 1px solid var(--border-color);background: var(--bg-subtle, rgba(148, 163, 184, 0.1));color: var(--text-main);transition: transform 0.14s ease, border-color 0.14s ease;}
.ku-store-ext-link:hover{transform: translateY(-1px);border-color: #d97706;}
.ku-batch-bar{display: flex;align-items: center;justify-content: space-between;gap: 6px;flex-wrap: wrap;padding: 8px 10px;margin-bottom: 10px;border-radius: 10px;background: var(--bg-subtle, rgba(148, 163, 184, 0.10));border: 1px solid var(--border-color);}
.ku-batch-actions{display: flex;align-items: center;gap: 5px;flex-wrap: wrap;}
.ku-batch-btn{font-size: 0.70rem;font-weight: 800;padding: 4px 9px;border-radius: 999px;border: 1px solid var(--border-color);background: var(--bg-card);color: var(--text-main);cursor: pointer;display: inline-flex;align-items: center;gap: 4px;white-space: nowrap;transition: all 0.14s ease;}
.ku-batch-btn:disabled{opacity: 0.45;cursor: not-allowed;}
.ku-batch-btn.btn-move:not(:disabled){border-color: rgba(124, 58, 237, 0.45);color: #6d28d9;background: rgba(124, 58, 237, 0.08);}
html[data-theme="dark"] .ku-batch-btn.btn-move:not(:disabled){color: #c4b5fd;}
.ku-batch-btn.btn-purchased:not(:disabled){border-color: rgba(5, 150, 105, 0.45);color: #059669;background: rgba(16, 185, 129, 0.08);}
html[data-theme="dark"] .ku-batch-btn.btn-purchased:not(:disabled){color: #6ee7b7;}
.ku-batch-btn.btn-delete:not(:disabled){border-color: rgba(220, 38, 38, 0.4);color: #dc2626;background: rgba(239, 68, 68, 0.07);}
html[data-theme="dark"] .ku-batch-btn.btn-delete:not(:disabled){color: #fca5a5;}
.ku-item-list{display: flex;flex-direction: column;gap: 8px;}
.ku-item-card{display: flex;align-items: flex-start;gap: 10px;padding: 10px;border-radius: 11px;border: 1.5px solid var(--border-color);background: var(--bg-card);position: relative;transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;}
.ku-item-card:hover{border-color: rgba(217, 119, 6, 0.45);}
.ku-item-card.is-checked{border-color: #7c3aed;background: rgba(124, 58, 237, 0.04);}
.ku-item-card.is-dragging{opacity: 0.5;transform: scale(0.98);}
.ku-item-cb{width: 17px;height: 17px;margin-top: 4px;accent-color: #7c3aed;cursor: pointer;flex-shrink: 0;}
.ku-item-cover-wrap{width: 48px;height: 68px;border-radius: 6px;overflow: hidden;flex-shrink: 0;border: 1px solid var(--border-color);background: var(--bg-subtle, #f1f5f9);display: flex;align-items: center;justify-content: center;}
.ku-item-cover-wrap img{width: 100%;height: 100%;object-fit: cover;display: block;}
.ku-item-body{flex: 1;min-width: 0;display: flex;flex-direction: column;gap: 5px;}
.ku-item-title{font-size: 0.84rem;font-weight: 800;color: var(--text-main);line-height: 1.35;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;word-break: break-word;}
.ku-item-meta{font-size: 0.71rem;color: var(--text-sub);display: flex;align-items: center;gap: 6px;flex-wrap: wrap;}
.ku-item-price-row{display: flex;align-items: center;gap: 6px;flex-wrap: wrap;}
.ku-item-actions-bar{display: flex;align-items: center;justify-content: space-between;gap: 6px;flex-wrap: wrap;margin-top: 2px;padding-top: 5px;border-top: 1px dashed var(--border-color);}
.ku-item-extra-btns{display: inline-flex;align-items: center;gap: 4px;flex-wrap: wrap;}
.ku-btn-purchased{font-size: 0.69rem;font-weight: 800;padding: 3px 8px;border-radius: 999px;border: 1px solid rgba(5, 150, 105, 0.45);background: rgba(16, 185, 129, 0.09);color: #059669;cursor: pointer;white-space: nowrap;}
html[data-theme="dark"] .ku-btn-purchased{color: #6ee7b7;}
.ku-btn-store{font-size: 0.69rem;font-weight: 800;padding: 3px 8px;border-radius: 999px;border: 1px solid rgba(191, 0, 0, 0.35);background: #bf0000;color: #ffffff !important;text-decoration: none;display: inline-flex;align-items: center;gap: 3px;white-space: nowrap;}
.ku-btn-transfer-mini{font-size: 0.68rem;font-weight: 800;padding: 3px 7px;border-radius: 999px;border: 1px solid rgba(124, 58, 237, 0.4);background: rgba(124, 58, 237, 0.08);color: #6d28d9;cursor: pointer;white-space: nowrap;}
html[data-theme="dark"] .ku-btn-transfer-mini{color: #c4b5fd;}
.ku-btn-remove{width: 24px;height: 24px;border-radius: 999px;border: 1px solid var(--border-color);background: transparent;color: var(--text-muted);font-size: 0.85rem;font-weight: 800;line-height: 1;cursor: pointer;display: inline-flex;align-items: center;justify-content: center;flex-shrink: 0;}
.ku-btn-remove:hover{color: #dc2626;border-color: rgba(220, 38, 38, 0.45);background: rgba(239, 68, 68, 0.08);}
.ku-item-list.is-cover-grid{display: grid;grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));gap: 8px;}
.ku-item-list.is-cover-grid .ku-item-card{flex-direction: column;align-items: stretch;padding: 8px;gap: 6px;}
.ku-item-list.is-cover-grid .ku-item-cover-wrap{width: 100%;height: 156px;}
.ku-item-list.is-cover-grid .ku-item-title{font-size: 0.74rem;-webkit-line-clamp: 1;}
.ku-item-list.is-cover-grid .ku-item-meta{display: none;}
.ku-guest-locked-wrap{position: relative;border-radius: 14px;overflow: hidden;}
.ku-guest-locked-inner{filter: grayscale(0.72) opacity(0.38);pointer-events: none;user-select: none;}
.ku-guest-locked-overlay{position: absolute;inset: 0;z-index: 6;display: flex;flex-direction: column;align-items: center;justify-content: center;text-align: center;padding: 18px 16px;background: radial-gradient(circle at center, rgba(255, 255, 255, 0.86) 0%, rgba(248, 250, 252, 0.68) 100%);backdrop-filter: blur(2px);}
html[data-theme="dark"] .ku-guest-locked-overlay{background: radial-gradient(circle at center, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.72) 100%);}
.ku-guest-sample-btn{border: 1.5px solid #d97706;background: linear-gradient(135deg, #f59e0b, #d97706);color: #ffffff;font-size: 0.82rem;font-weight: 900;padding: 9px 18px;border-radius: 999px;cursor: pointer;display: inline-flex;align-items: center;gap: 6px;box-shadow: 0 6px 18px rgba(217, 119, 6, 0.28);transition: transform 0.16s ease, box-shadow 0.16s ease;}
.ku-guest-sample-btn:hover{transform: translateY(-1px);box-shadow: 0 8px 22px rgba(217, 119, 6, 0.36);}
#top-subcontents-section .top-sc-nav-bar.top-sc-nav-bar--minimal{justify-content: center !important;margin-top: 6px;margin-bottom: 0;padding: 0 !important;}
@media (min-width: 1025px){#top-subcontents-section .top-sc-nav-bar.top-sc-nav-bar--minimal{padding: 0 !important;}}
.top-sc-progress-wrap{display: inline-flex;align-items: center;gap: 8px;padding: 3px 10px;border-radius: 999px;background: rgba(255, 255, 255, 0.85);border: 1px solid rgba(234, 88, 12, 0.22);cursor: pointer;box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);transition: border-color 0.2s ease, background 0.2s ease;}
html[data-theme="dark"] .top-sc-progress-wrap{background: rgba(15, 23, 42, 0.72);border-color: rgba(251, 146, 60, 0.28);}
.top-sc-progress-wrap:hover{border-color: #ea580c;}
.top-sc-progress-count{font-size: 0.66rem;font-weight: 900;color: #c2410c;font-variant-numeric: tabular-nums;letter-spacing: 0.02em;}
html[data-theme="dark"] .top-sc-progress-count{color: #fdba74;}
.top-sc-progress-track{width: 68px;height: 5px;border-radius: 999px;background: rgba(234, 88, 12, 0.16);overflow: hidden;position: relative;}
html[data-theme="dark"] .top-sc-progress-track{background: rgba(251, 146, 60, 0.2);}
.top-sc-progress-fill{width: 0%;height: 100%;border-radius: 999px;background: linear-gradient(90deg, #f59e0b 0%, #ea580c 100%);transition: width 0.1s linear;}
.top-sc-progress-wrap.is-paused .top-sc-progress-fill{opacity: 0.65;}
.header-bell-popover{position: absolute;top: calc(100% + 8px);right: -8px;width: 390px;max-width: calc(100vw - 20px);max-height: 76vh;display: none;flex-direction: column;background: var(--bg-card, #ffffff);border: 1.5px solid rgba(217, 119, 6, 0.35);border-radius: 14px;box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);z-index: 9500;overflow: hidden;color: var(--text-main, #0f172a);}
.header-bell-popover.is-open{display: flex !important;animation: userDropdownAnim 0.18s cubic-bezier(0.16, 1, 0.3, 1);}
html[data-theme="dark"] .header-bell-popover{background: #0f172a;border-color: rgba(251, 191, 36, 0.35);box-shadow: 0 20px 48px rgba(0, 0, 0, 0.62);color: #f8fafc;}
@media (max-width: 640px){.header-bell-popover{position: fixed;top: 58px;left: 10px;right: 10px;width: auto;max-width: none;}}
.bell-pop-head, .bell-pop-header{display: flex;align-items: center;justify-content: space-between;gap: 8px;padding: 10px 13px;background: linear-gradient(135deg, rgba(254, 243, 199, 0.55) 0%, rgba(255, 251, 235, 0.9) 100%);border-bottom: 1px solid rgba(217, 119, 6, 0.22);}
html[data-theme="dark"] .bell-pop-head, html[data-theme="dark"] .bell-pop-header{background: linear-gradient(135deg, rgba(120, 53, 15, 0.35) 0%, rgba(30, 41, 59, 0.95) 100%);border-bottom-color: rgba(251, 191, 36, 0.24);}
.bell-pop-title{font-size: 0.84rem;font-weight: 900;display: inline-flex;align-items: center;gap: 6px;color: #92400e;}
html[data-theme="dark"] .bell-pop-title{color: #fde68a;}
.bell-pop-close{width: 24px;height: 24px;border-radius: 999px;border: 1px solid rgba(148, 163, 184, 0.35);background: rgba(255, 255, 255, 0.8);color: #475569;font-size: 0.85rem;font-weight: 900;cursor: pointer;display: inline-flex;align-items: center;justify-content: center;padding: 0;flex-shrink: 0;}
html[data-theme="dark"] .bell-pop-close{background: rgba(30, 41, 59, 0.9);color: #cbd5e1;border-color: rgba(148, 163, 184, 0.25);}
.bell-pop-sub{padding: 8px 13px;font-size: 0.72rem;font-weight: 700;line-height: 1.45;color: var(--text-sub, #475569);background: rgba(248, 250, 252, 0.85);border-bottom: 1px solid rgba(203, 213, 225, 0.55);}
html[data-theme="dark"] .bell-pop-sub{background: rgba(15, 23, 42, 0.75);color: #cbd5e1;border-bottom-color: rgba(51, 65, 85, 0.65);}
.bell-pop-list, .bell-pop-body{padding: 10px 12px;overflow-y: auto;display: flex;flex-direction: column;gap: 8px;max-height: 46vh;}
.bell-pop-item{display: flex;align-items: flex-start;gap: 10px;padding: 8px 10px;border-radius: 10px;background: rgba(248, 250, 252, 0.95);border: 1px solid rgba(203, 213, 225, 0.75);}
html[data-theme="dark"] .bell-pop-item{background: rgba(30, 41, 59, 0.78);border-color: rgba(71, 85, 105, 0.65);}
.bell-pop-cover{width: 42px;height: 60px;border-radius: 4px;object-fit: contain;background: #ffffff;flex-shrink: 0;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);}
.bell-pop-info{flex: 1;min-width: 0;display: flex;flex-direction: column;gap: 4px;}
.bell-pop-item-title{font-size: 0.78rem;font-weight: 800;line-height: 1.35;color: var(--text-main, #0f172a);display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;}
html[data-theme="dark"] .bell-pop-item-title{color: #f8fafc;}
.bell-pop-price-row{display: flex;align-items: center;flex-wrap: wrap;gap: 6px;}
.bell-pop-disc-badge{display: inline-flex;align-items: center;padding: 1px 6px;border-radius: 999px;font-size: 0.66rem;font-weight: 900;background: rgba(220, 38, 38, 0.12);color: #dc2626;border: 1px solid rgba(220, 38, 38, 0.28);}
html[data-theme="dark"] .bell-pop-disc-badge{background: rgba(239, 68, 68, 0.2);color: #fca5a5;border-color: rgba(248, 113, 113, 0.35);}
.bell-pop-kobo-price{font-size: 0.74rem;font-weight: 900;color: #b45309;}
html[data-theme="dark"] .bell-pop-kobo-price{color: #fbbf24;}
.bell-pop-actions{display: flex;align-items: center;flex-wrap: wrap;gap: 6px;margin-top: 2px;}
.bell-pop-btn-buy{display: inline-flex;align-items: center;gap: 3px;padding: 4px 9px;border-radius: 7px;font-size: 0.68rem;font-weight: 800;cursor: pointer;border: 1px solid rgba(124, 58, 237, 0.35);background: linear-gradient(135deg, #ede9fe, #f5f3ff);color: #5b21b6;transition: transform 0.14s ease, box-shadow 0.14s ease;}
.bell-pop-btn-buy:hover{transform: translateY(-1px);box-shadow: 0 2px 6px rgba(124, 58, 237, 0.22);}
html[data-theme="dark"] .bell-pop-btn-buy{background: rgba(124, 58, 237, 0.24);border-color: rgba(167, 139, 250, 0.45);color: #ddd6fe;}
.bell-pop-btn-store{display: inline-flex;align-items: center;padding: 4px 9px;border-radius: 7px;font-size: 0.68rem;font-weight: 800;text-decoration: none !important;border: 1px solid rgba(220, 38, 38, 0.32);background: rgba(254, 242, 242, 0.95);color: #b91c1c !important;transition: transform 0.14s ease;}
.bell-pop-btn-store:hover{transform: translateY(-1px);}
html[data-theme="dark"] .bell-pop-btn-store{background: rgba(220, 38, 38, 0.2);border-color: rgba(248, 113, 113, 0.4);color: #fecaca !important;}
.bell-pop-guest-cta{padding: 10px 13px;background: linear-gradient(135deg, rgba(254, 243, 199, 0.45) 0%, rgba(238, 242, 255, 0.65) 100%);border-top: 1px solid rgba(217, 119, 6, 0.2);display: flex;flex-direction: column;gap: 6px;}
html[data-theme="dark"] .bell-pop-guest-cta{background: linear-gradient(135deg, rgba(120, 53, 15, 0.28) 0%, rgba(30, 41, 59, 0.85) 100%);border-top-color: rgba(251, 191, 36, 0.24);}
.bell-pop-guest-cta-btn{width: 100%;padding: 8px 12px;border-radius: 9px;border: none;background: linear-gradient(135deg, #ea580c, #d97706);color: #ffffff;font-size: 0.76rem;font-weight: 900;cursor: pointer;box-shadow: 0 3px 10px rgba(234, 88, 12, 0.28);transition: transform 0.15s ease, box-shadow 0.15s ease;}
.bell-pop-guest-cta-btn:hover{transform: translateY(-1px);box-shadow: 0 5px 14px rgba(234, 88, 12, 0.38);}
.bell-pop-empty{padding: 18px 14px;text-align: center;}
.bell-pop-foot, .bell-pop-footer{padding: 9px 12px;border-top: 1px solid var(--border-color, #e2e8f0);background: var(--bg-card-sub, #f8fafc);display: flex;flex-direction: column;gap: 6px;}
html[data-theme="dark"] .bell-pop-foot, html[data-theme="dark"] .bell-pop-footer{background: #131c2e;border-top-color: #1e293b;}
.bell-pop-manage-link{width: 100%;padding: 7px 10px;border-radius: 8px;border: 1px solid rgba(124, 58, 237, 0.28);background: #ffffff;color: #5b21b6;font-size: 0.74rem;font-weight: 800;cursor: pointer;transition: background 0.15s ease, border-color 0.15s ease;}
.bell-pop-manage-link:hover{background: #f5f3ff;border-color: rgba(124, 58, 237, 0.5);}
html[data-theme="dark"] .bell-pop-manage-link{background: #1e293b;color: #ddd6fe;border-color: rgba(167, 139, 250, 0.35);}
.top-4store-unified-console{--hikabon-store-banner-kindle: none;--hikabon-store-banner-kobo: none;--hikabon-store-banner-ebookjapan: none;--hikabon-store-banner-dmm: none;margin: 8px 0 10px 0;border-radius: 12px;background: var(--bg-card, #ffffff);border: 1.5px solid var(--genre-border, rgba(180, 145, 110, 0.34));box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05);overflow: hidden;}
html[data-theme="dark"] .top-4store-unified-console{background: #131b2b;border-color: rgba(148, 163, 184, 0.28);box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);}
.t4s-console-head{display: flex;align-items: center;justify-content: space-between;flex-wrap: wrap;gap: 8px;padding: 7px 12px;background: linear-gradient(90deg, rgba(254, 243, 199, 0.42) 0%, rgba(248, 250, 252, 0.85) 100%);border-bottom: 1px solid rgba(148, 163, 184, 0.22);font-size: 0.74rem;}
html[data-theme="dark"] .t4s-console-head{background: linear-gradient(90deg, rgba(120, 53, 15, 0.26) 0%, rgba(15, 23, 42, 0.85) 100%);border-bottom-color: rgba(71, 85, 105, 0.45);}
.t4s-table-scroll{width: 100%;overflow-x: auto;-webkit-overflow-scrolling: touch;scrollbar-width: thin;}
.t4s-table{width: 100%;border-collapse: separate;border-spacing: 0;font-size: 0.73rem;min-width: 880px;}
.t4s-table.t4s-matrix-6col th{text-align: left;padding: 6px 9px;font-size: 0.68rem;font-weight: 800;color: var(--text-sub, #475569);background: #f8fafc;border-bottom: 1.5px solid rgba(148, 163, 184, 0.26);border-right: 1px solid rgba(148, 163, 184, 0.14);white-space: nowrap;vertical-align: middle;}
.t4s-table.t4s-matrix-6col th:last-child{border-right: none;}
html[data-theme="dark"] .t4s-table.t4s-matrix-6col th{background: #0f172a;color: #cbd5e1;border-bottom-color: rgba(71, 85, 105, 0.55);border-right-color: rgba(51, 65, 85, 0.45);}
.t4s-table.t4s-matrix-6col td{padding: 7px 8px;border-bottom: 1px solid rgba(148, 163, 184, 0.18);border-right: 1px solid rgba(148, 163, 184, 0.12);vertical-align: middle;line-height: 1.35;background: var(--bg-card, #ffffff);}
.t4s-table.t4s-matrix-6col td:last-child{border-right: none;}
.t4s-table.t4s-matrix-6col tbody tr:last-child td{border-bottom: none;}
html[data-theme="dark"] .t4s-table.t4s-matrix-6col td{background: #131b2b;border-bottom-color: rgba(51, 65, 85, 0.52);border-right-color: rgba(51, 65, 85, 0.36);}
.t4s-table.t4s-matrix-6col tbody tr:hover td{background: #fffbeb;}
html[data-theme="dark"] .t4s-table.t4s-matrix-6col tbody tr:hover td{background: #192338;}
.t4s-table.t4s-matrix-6col th.t4s-col-store, .t4s-table.t4s-matrix-6col td.t4s-td-store{position: sticky;left: 0;z-index: 3;width: 176px;min-width: 170px;max-width: 186px;border-right: 1.5px solid rgba(148, 163, 184, 0.28);}
.t4s-table.t4s-matrix-6col th.t4s-col-store{z-index: 4;}
html[data-theme="dark"] .t4s-table.t4s-matrix-6col th.t4s-col-store, html[data-theme="dark"] .t4s-table.t4s-matrix-6col td.t4s-td-store{border-right-color: rgba(71, 85, 105, 0.65);}
.t4s-store-mini-banner{position: relative;display: flex;flex-direction: column;justify-content: center;gap: 5px;width: 100%;min-height: 58px;padding: 8px 10px;border-radius: 11px;text-decoration: none !important;box-sizing: border-box;overflow: hidden;border: 2px solid transparent;box-shadow: 0 4px 10px rgba(15, 23, 42, 0.22), 0 2px 0 rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.28);transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;background-size: cover;background-position: center;cursor: pointer;}
.t4s-store-mini-banner:hover{transform: translateY(-2px);box-shadow: 0 8px 18px rgba(15, 23, 42, 0.30), 0 3px 0 rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.38);filter: brightness(1.05);text-decoration: none !important;}
.t4s-store-mini-banner:active{transform: translateY(0);}
.t4s-store-mini-banner.kindle, .t4s-store-mini-banner.is-kindle{background-image: var(--hikabon-store-banner-kindle), linear-gradient(135deg, #232f3e 0%, #19222d 62%, #472e0d 100%);border-color: #ff9900;color: #ffffff !important;}
.t4s-store-mini-banner.kobo, .t4s-store-mini-banner.is-kobo{background-image: var(--hikabon-store-banner-kobo), linear-gradient(135deg, #c80000 0%, #a30000 65%, #7f1d1d 100%);border-color: #fca5a5;color: #ffffff !important;}
.t4s-store-mini-banner.ebook, .t4s-store-mini-banner.is-ebookjapan{background-image: var(--hikabon-store-banner-ebookjapan), linear-gradient(135deg, #e11d48 0%, #be123c 65%, #881337 100%);border-color: #fda4af;color: #ffffff !important;}
.t4s-store-mini-banner.dmm, .t4s-store-mini-banner.is-dmm{background-image: var(--hikabon-store-banner-dmm), linear-gradient(135deg, #18181b 0%, #27272a 65%, #423308 100%);border-color: #facc15;color: #ffffff !important;}
.t4s-store-banner-top, .t4s-banner-top-row{display: flex;align-items: center;gap: 7px;line-height: 1.15;}
.t4s-store-brand-mark{display: inline-flex;align-items: center;justify-content: center;width: 20px;height: 20px;border-radius: 6px;font-size: 0.72rem;font-weight: 900;flex-shrink: 0;box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);}
.t4s-store-banner-name, .t4s-banner-brand-name{font-size: 0.86rem;font-weight: 900;letter-spacing: -0.01em;white-space: nowrap;color: #ffffff !important;text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);}
.t4s-store-mini-banner.dmm .t4s-banner-brand-name, .t4s-store-mini-banner.is-dmm .t4s-banner-brand-name{color: #fde047 !important;}
.t4s-store-banner-sub, .t4s-banner-sub-row{display: inline-flex;align-items: center;justify-content: center;gap: 4px;width: 100%;padding: 2.5px 7px;border-radius: 999px;font-size: 0.65rem;font-weight: 900;letter-spacing: 0.01em;white-space: nowrap;box-sizing: border-box;background: rgba(255, 255, 255, 0.95);color: #0f172a !important;box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);}
.t4s-store-mini-banner.is-kindle .t4s-banner-sub-row{background: linear-gradient(135deg, #ffb84d 0%, #ff9900 100%);color: #111827 !important;}
.t4s-store-mini-banner.is-kobo .t4s-banner-sub-row{background: #ffffff;color: #991b1b !important;}
.t4s-store-mini-banner.is-ebookjapan .t4s-banner-sub-row{background: #ffffff;color: #be123c !important;}
.t4s-store-mini-banner.is-dmm .t4s-banner-sub-row{background: linear-gradient(135deg, #fde047 0%, #facc15 100%);color: #18181b !important;}
.t4s-store-mini-banner.kindle .t4s-store-brand-mark, .t4s-store-mini-banner.is-kindle .t4s-store-brand-mark{background: #ff9900;color: #111827;}
.t4s-store-mini-banner.kobo .t4s-store-brand-mark, .t4s-store-mini-banner.is-kobo .t4s-store-brand-mark{background: #ffffff;color: #bf0000;}
.t4s-store-mini-banner.ebook .t4s-store-brand-mark, .t4s-store-mini-banner.is-ebookjapan .t4s-store-brand-mark{background: #ffffff;color: #e11d48;}
.t4s-store-mini-banner.dmm .t4s-store-brand-mark, .t4s-store-mini-banner.is-dmm .t4s-store-brand-mark{background: #facc15;color: #18181b;}
.t4s-th-stack{display: flex;align-items: center;justify-content: space-between;gap: 5px;flex-wrap: wrap;}
.t4s-th-title{font-size: 0.71rem;font-weight: 900;color: var(--text-main, #0f172a);}
html[data-theme="dark"] .t4s-th-title{color: #f1f5f9;}
.t4s-col-salelist{min-width: 196px;}
.t4s-salelist-stack{display: flex;flex-wrap: wrap;gap: 4px;width: 100%;}
.t4s-salelist-stack .t4s-matrix-cell-btn{min-height: 27px;padding: 3.5px 8px;font-size: 0.66rem;width: auto;flex: 1 1 calc(50% - 4px);justify-content: center;text-align: center;}
.t4s-salelist-stack .t4s-matrix-cell-btn:first-child{flex: 1 1 100%;}
.t4s-matrix-cell-btn.is-salelist-accent{background: #fffbeb;border-color: rgba(217, 119, 6, 0.45);color: #9a3412;}
html[data-theme="dark"] .t4s-matrix-cell-btn.is-salelist-accent{background: rgba(217, 119, 6, 0.18);border-color: rgba(251, 191, 36, 0.42);color: #fde68a;}
.t4s-col-sale{min-width: 126px;}
.t4s-td-sale-cell{min-width: 126px;}
.t4s-matrix-cell-btn{display: flex;align-items: center;justify-content: space-between;gap: 5px;width: 100%;min-height: 36px;padding: 5px 9px;border-radius: 8px;box-sizing: border-box;font-size: 0.70rem;font-weight: 800;text-decoration: none !important;white-space: nowrap;cursor: pointer;border: 1px solid rgba(148, 163, 184, 0.36);background: #f8fafc;color: #1e293b;transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;}
html[data-theme="dark"] .t4s-matrix-cell-btn{background: #1e293b;color: #e2e8f0;border-color: rgba(148, 163, 184, 0.3);}
.t4s-matrix-cell-btn:hover{transform: translateY(-1px);border-color: #d97706;background: #ffffff;box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);text-decoration: none !important;}
html[data-theme="dark"] .t4s-matrix-cell-btn:hover{background: #263449;border-color: #f59e0b;}
.t4s-matrix-cell-btn.is-daily, .t4s-matrix-cell-btn.is-daily-primary{background: rgba(254, 243, 199, 0.45);border-color: rgba(217, 119, 6, 0.42);color: #92400e;}
html[data-theme="dark"] .t4s-matrix-cell-btn.is-daily, html[data-theme="dark"] .t4s-matrix-cell-btn.is-daily-primary{background: rgba(217, 119, 6, 0.16);border-color: rgba(245, 158, 11, 0.42);color: #fde68a;}
.t4s-cell-btn-label{overflow: hidden;text-overflow: ellipsis;}
.t4s-cell-btn-arrow{font-size: 0.68rem;opacity: 0.72;flex-shrink: 0;}
.t4s-col-perk, .t4s-td-perk{min-width: 214px;}
.t4s-perk-btn-stack{display: flex;flex-direction: column;gap: 4px;width: 100%;}
.t4s-perk-direct-btn{display: inline-flex;align-items: center;justify-content: center;gap: 4px;width: 100%;min-height: 29px;padding: 4px 10px;border-radius: 8px;box-sizing: border-box;font-size: 0.69rem;font-weight: 900;text-decoration: none !important;white-space: nowrap;box-shadow: 0 2px 5px rgba(15, 23, 42, 0.12);transition: transform 0.14s ease, filter 0.14s ease;}
.t4s-perk-direct-btn:hover{transform: translateY(-1px);filter: brightness(1.05);text-decoration: none !important;}
.t4s-perk-direct-btn.is-kindle{background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);border: 1.5px solid #f59e0b;color: #9a3412 !important;}
.t4s-perk-direct-btn.is-kobo{background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);border: 1.5px solid #ef4444;color: #991b1b !important;}
.t4s-perk-direct-btn.is-ebookjapan{background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);border: 1.5px solid #f43f5e;color: #9f1239 !important;}
.t4s-perk-direct-btn.is-dmm{background: linear-gradient(135deg, #fefce8 0%, #fef08a 100%);border: 1.5px solid #eab308;color: #713f12 !important;}
html[data-theme="dark"] .t4s-perk-direct-btn.is-kindle{background: rgba(245, 158, 11, 0.22);color: #fde68a !important;}
html[data-theme="dark"] .t4s-perk-direct-btn.is-kobo{background: rgba(239, 68, 68, 0.22);color: #fecaca !important;}
html[data-theme="dark"] .t4s-perk-direct-btn.is-ebookjapan{background: rgba(244, 63, 94, 0.22);color: #fecdd3 !important;}
html[data-theme="dark"] .t4s-perk-direct-btn.is-dmm{background: rgba(234, 179, 8, 0.22);color: #fef08a !important;}
.t4s-perk-strategy-btn{display: inline-flex;align-items: center;justify-content: center;gap: 5px;width: 100%;min-height: 27px;padding: 3.5px 9px;border-radius: 8px;box-sizing: border-box;font-size: 0.66rem;font-weight: 800;cursor: pointer;background: #ffffff;color: #1e3a8a;border: 1px solid #bfdbfe;transition: background 0.14s ease, border-color 0.14s ease, transform 0.14s ease;white-space: nowrap;}
.t4s-perk-strategy-btn:hover{background: #eff6ff;border-color: #3b82f6;transform: translateY(-1px);}
html[data-theme="dark"] .t4s-perk-strategy-btn{background: rgba(30, 58, 138, 0.28);color: #bfdbfe;border-color: rgba(96, 165, 250, 0.4);}
.t4s-perk-cell-inner{display: flex;align-items: center;justify-content: space-between;gap: 8px;width: 100%;}
.t4s-perk-summary-wrap{display: flex;flex-direction: column;gap: 2px;min-width: 0;}
.t4s-perk-headline{font-size: 0.72rem;font-weight: 900;color: var(--text-main, #0f172a);white-space: nowrap;}
html[data-theme="dark"] .t4s-perk-headline{color: #f8fafc;}
.t4s-perk-today-badge{display: inline-flex;align-items: center;align-self: center;padding: 1px 6px;border-radius: 5px;font-size: 0.60rem;font-weight: 800;color: #b45309;background: rgba(245, 158, 11, 0.12);border: 1px solid rgba(217, 119, 6, 0.24);white-space: nowrap;}
html[data-theme="dark"] .t4s-perk-today-badge{color: #fcd34d;background: rgba(245, 158, 11, 0.2);border-color: rgba(251, 191, 36, 0.35);}
.t4s-perk-guide-btn{flex-shrink: 0;}
.t4s-pill-btn{display: inline-flex;align-items: center;gap: 4px;padding: 4px 10px;border-radius: 999px;font-size: 0.69rem;font-weight: 800;text-decoration: none !important;white-space: nowrap;cursor: pointer;border: 1px solid rgba(148, 163, 184, 0.35);background: #ffffff;color: #1e293b;transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;}
html[data-theme="dark"] .t4s-pill-btn{background: #1e293b;color: #e2e8f0;border-color: rgba(148, 163, 184, 0.32);}
.t4s-pill-btn:hover{transform: translateY(-1px);border-color: #d97706;box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);}
.t4s-pill-btn.is-guide{background: rgba(240, 249, 255, 0.95);border-color: rgba(2, 132, 199, 0.38);color: #0369a1;}
html[data-theme="dark"] .t4s-pill-btn.is-guide{background: rgba(2, 132, 199, 0.2);border-color: rgba(56, 189, 248, 0.45);color: #7dd3fc;}
.t4s-pill-btn.is-store{background: linear-gradient(135deg, #ea580c, #d97706);border-color: transparent;color: #ffffff !important;}
.t4s-pill-btn.is-store.kobo{background: linear-gradient(135deg, #dc2626, #b91c1c);}
.t4s-pill-btn.is-store.ebook{background: linear-gradient(135deg, #e11d48, #be123c);}
.t4s-pill-btn.is-store.dmm{background: linear-gradient(135deg, #ca8a04, #a16207);}
.t4s-single-bar{display: flex;align-items: center;justify-content: space-between;flex-wrap: wrap;gap: 10px;padding: 10px 14px;}
.t4s-store-brand-badge{display: inline-flex;align-items: center;gap: 6px;padding: 4px 10px;border-radius: 8px;font-size: 0.76rem;font-weight: 900;letter-spacing: -0.01em;white-space: nowrap;border: 1.5px solid transparent;box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);}
.t4s-store-brand-mark{display: inline-flex;align-items: center;justify-content: center;width: 18px;height: 18px;border-radius: 5px;font-size: 0.66rem;font-weight: 900;line-height: 1;flex-shrink: 0;}
.t4s-store-brand-badge.kindle{background: linear-gradient(135deg, #232f3e 0%, #131921 100%);color: #ffffff;border-color: #ff9900;}
.t4s-store-brand-badge.kindle .t4s-store-brand-mark{background: #ff9900;color: #111827;}
.t4s-store-brand-badge.kobo{background: linear-gradient(135deg, #bf0000 0%, #991b1b 100%);color: #ffffff;border-color: #fca5a5;}
.t4s-store-brand-badge.kobo .t4s-store-brand-mark{background: #ffffff;color: #bf0000;}
.t4s-store-brand-badge.ebook{background: linear-gradient(135deg, #ff0033 0%, #be123c 100%);color: #ffffff;border-color: #fda4af;}
.t4s-store-brand-badge.ebook .t4s-store-brand-mark{background: #ffffff;color: #e11d48;}
.t4s-store-brand-badge.dmm{background: linear-gradient(135deg, #18181b 0%, #27272a 100%);color: #facc15;border-color: #eab308;}
.t4s-store-brand-badge.dmm .t4s-store-brand-mark{background: #facc15;color: #18181b;}
.t4s-countdown-chip{display: inline-flex;align-items: center;gap: 3px;padding: 1.5px 6px;border-radius: 5px;font-size: 0.63rem;font-weight: 800;font-variant-numeric: tabular-nums;white-space: nowrap;background: rgba(245, 158, 11, 0.13);color: #b45309;border: 1px solid rgba(217, 119, 6, 0.34);}
.t4s-countdown-chip.is-daily{background: rgba(239, 68, 68, 0.12);color: #dc2626;border-color: rgba(220, 38, 38, 0.36);}
html[data-theme="dark"] .t4s-countdown-chip{background: rgba(245, 158, 11, 0.2);color: #fcd34d;border-color: rgba(251, 191, 36, 0.38);}
html[data-theme="dark"] .t4s-countdown-chip.is-daily{background: rgba(239, 68, 68, 0.24);color: #fca5a5;border-color: rgba(248, 113, 113, 0.45);}
@media (max-width: 768px){.t4s-table.t4s-matrix-6col th.t4s-col-store, .t4s-table.t4s-matrix-6col td.t4s-td-store{width: 146px;min-width: 142px;max-width: 152px;box-shadow: 3px 0 8px rgba(15, 23, 42, 0.08);}.t4s-store-mini-banner{padding: 5px 8px;min-height: 40px;}.t4s-store-banner-name{font-size: 0.72rem;}.t4s-store-banner-sub{font-size: 0.61rem;padding-left: 22px;}}
.t4s-table.t4s-matrix-5col{min-width: 920px;}
.t4s-table.t4s-matrix-5col th{text-align: left;padding: 7px 10px;font-size: 0.69rem;font-weight: 900;color: var(--text-sub, #475569);background: #f8fafc;border-bottom: 1.5px solid rgba(148, 163, 184, 0.28);border-right: 1px solid rgba(148, 163, 184, 0.14);white-space: nowrap;vertical-align: middle;}
.t4s-table.t4s-matrix-5col th:last-child{border-right: none;}
html[data-theme="dark"] .t4s-table.t4s-matrix-5col th{background: #0f172a;color: #cbd5e1;border-bottom-color: rgba(71, 85, 105, 0.58);border-right-color: rgba(51, 65, 85, 0.45);}
.t4s-table.t4s-matrix-5col td{padding: 8px 9px;border-bottom: 1px solid rgba(148, 163, 184, 0.18);border-right: 1px solid rgba(148, 163, 184, 0.12);vertical-align: middle;line-height: 1.35;background: var(--bg-card, #ffffff);}
.t4s-table.t4s-matrix-5col td:last-child{border-right: none;}
.t4s-table.t4s-matrix-5col tbody tr:last-child td{border-bottom: none;}
html[data-theme="dark"] .t4s-table.t4s-matrix-5col td{background: #131b2b;border-bottom-color: rgba(51, 65, 85, 0.52);border-right-color: rgba(51, 65, 85, 0.36);}
.t4s-table.t4s-matrix-5col tbody tr:hover td{background: #fffbeb;}
html[data-theme="dark"] .t4s-table.t4s-matrix-5col tbody tr:hover td{background: #192338;}
.t4s-table.t4s-matrix-5col th.t4s-col-store, .t4s-table.t4s-matrix-5col td.t4s-td-store{position: sticky;left: 0;z-index: 3;width: 162px;min-width: 156px;max-width: 168px;border-right: 1.5px solid rgba(148, 163, 184, 0.28);}
.t4s-table.t4s-matrix-5col th.t4s-col-store{z-index: 4;}
html[data-theme="dark"] .t4s-table.t4s-matrix-5col th.t4s-col-store, html[data-theme="dark"] .t4s-table.t4s-matrix-5col td.t4s-td-store{border-right-color: rgba(71, 85, 105, 0.65);}
.t4s-table.t4s-matrix-5col th.t4s-col-first, .t4s-table.t4s-matrix-5col td.t4s-td-first{width: 178px;min-width: 170px;}
.t4s-table.t4s-matrix-5col th.t4s-col-specialday, .t4s-table.t4s-matrix-5col td.t4s-td-specialday{width: 196px;min-width: 186px;}
.t4s-table.t4s-matrix-5col th.t4s-col-salelist, .t4s-table.t4s-matrix-5col td.t4s-td-salelist{min-width: 280px;}
.t4s-table.t4s-matrix-5col th.t4s-col-column, .t4s-table.t4s-matrix-5col td.t4s-td-column{width: 204px;min-width: 192px;}
.t4s-first-cap-badge{display: inline-flex;align-items: center;justify-content: center;padding: 2px 7px;border-radius: 6px;font-size: 0.61rem;font-weight: 800;color: #475569;background: rgba(148, 163, 184, 0.14);border: 1px solid rgba(148, 163, 184, 0.3);white-space: nowrap;}
.t4s-first-cap-badge.is-warm{color: #b45309;background: rgba(245, 158, 11, 0.13);border-color: rgba(217, 119, 6, 0.32);}
.t4s-first-cap-badge.is-hot{color: #be123c;background: rgba(244, 63, 94, 0.11);border-color: rgba(225, 29, 72, 0.3);}
html[data-theme="dark"] .t4s-first-cap-badge{color: #cbd5e1;background: rgba(71, 85, 105, 0.35);border-color: rgba(100, 116, 139, 0.45);}
html[data-theme="dark"] .t4s-first-cap-badge.is-warm{color: #fcd34d;background: rgba(245, 158, 11, 0.22);border-color: rgba(251, 191, 36, 0.38);}
html[data-theme="dark"] .t4s-first-cap-badge.is-hot{color: #fda4af;background: rgba(244, 63, 94, 0.22);border-color: rgba(251, 113, 133, 0.42);}
.t4s-specialday-stack{display: flex;flex-direction: column;gap: 4px;width: 100%;}
.t4s-salelist-grid-2col{display: grid;grid-template-columns: repeat(2, minmax(0, 1fr));gap: 5px;width: 100%;}
.t4s-salelist-grid-2col .t4s-matrix-cell-btn{width: 100%;justify-content: center;overflow: hidden;text-overflow: ellipsis;padding: 4.5px 7px;font-size: 0.67rem;}
.t4s-column-stack{display: flex;flex-direction: column;gap: 4px;width: 100%;}
.t4s-column-sub-btn{display: inline-flex;align-items: center;justify-content: center;gap: 3px;width: 100%;padding: 3.5px 7px;border-radius: 7px;font-size: 0.64rem;font-weight: 800;color: #334155;background: rgba(241, 245, 249, 0.92);border: 1px solid rgba(148, 163, 184, 0.38);cursor: pointer;white-space: nowrap;transition: background 0.14s ease, border-color 0.14s ease;}
.t4s-column-sub-btn:hover{background: #e0f2fe;border-color: #38bdf8;color: #0369a1;}
html[data-theme="dark"] .t4s-column-sub-btn{color: #cbd5e1;background: rgba(30, 41, 59, 0.85);border-color: rgba(100, 116, 139, 0.45);}
html[data-theme="dark"] .t4s-column-sub-btn:hover{background: rgba(2, 132, 199, 0.25);border-color: rgba(56, 189, 248, 0.5);color: #bae6fd;}
.t4s-column-cap-note{font-size: 0.60rem;font-weight: 700;color: var(--text-sub, #64748b);text-align: center;line-height: 1.25;}
html[data-theme="dark"] .t4s-column-cap-note{color: #94a3b8;}
.t4s-noari-edit-btn{display: inline-flex;align-items: center;gap: 4px;padding: 3px 9px;border-radius: 999px;font-size: 0.65rem;font-weight: 900;color: #ffffff;background: linear-gradient(135deg, #0f766e, #0d9488);border: 1px solid rgba(13, 148, 136, 0.65);cursor: pointer;box-shadow: 0 2px 6px rgba(13, 148, 136, 0.25);transition: transform 0.14s ease, filter 0.14s ease;}
.t4s-noari-edit-btn:hover{transform: translateY(-1px);filter: brightness(1.06);}
.t4s-admin-modal-backdrop{position: fixed;inset: 0;z-index: 12050;display: none;align-items: center;justify-content: center;padding: 16px;background: rgba(15, 23, 42, 0.62);backdrop-filter: blur(3px);}
.t4s-admin-modal-card{width: 100%;max-width: 820px;max-height: 88vh;display: flex;flex-direction: column;background: #ffffff;color: #0f172a;border-radius: 14px;border: 1.5px solid rgba(148, 163, 184, 0.35);box-shadow: 0 20px 48px rgba(15, 23, 42, 0.35);overflow: hidden;}
html[data-theme="dark"] .t4s-admin-modal-card{background: #0f172a;color: #f8fafc;border-color: rgba(71, 85, 105, 0.65);}
.t4s-admin-modal-head{display: flex;align-items: center;justify-content: space-between;gap: 12px;padding: 13px 16px;border-bottom: 1px solid rgba(148, 163, 184, 0.25);background: #f8fafc;}
html[data-theme="dark"] .t4s-admin-modal-head{background: #1e293b;border-bottom-color: rgba(71, 85, 105, 0.55);}
.t4s-admin-modal-title{font-size: 0.88rem;font-weight: 900;}
.t4s-admin-modal-sub{font-size: 0.68rem;color: #64748b;margin-top: 2px;}
html[data-theme="dark"] .t4s-admin-modal-sub{color: #94a3b8;}
.t4s-admin-close-btn{padding: 5px 11px;border-radius: 8px;font-size: 0.72rem;font-weight: 800;border: 1px solid rgba(148, 163, 184, 0.4);background: #ffffff;color: #334155;cursor: pointer;}
html[data-theme="dark"] .t4s-admin-close-btn{background: #334155;color: #f1f5f9;border-color: rgba(148, 163, 184, 0.35);}
.t4s-admin-tabs{display: flex;gap: 6px;padding: 10px 16px 8px;flex-wrap: wrap;border-bottom: 1px solid rgba(148, 163, 184, 0.2);}
.t4s-admin-tab-btn{display: inline-flex;align-items: center;gap: 5px;padding: 5px 12px;border-radius: 999px;font-size: 0.73rem;font-weight: 800;border: 1px solid rgba(148, 163, 184, 0.38);background: #f8fafc;color: #334155;cursor: pointer;}
.t4s-admin-tab-btn.is-active{background: #0f766e;color: #ffffff;border-color: #0f766e;}
html[data-theme="dark"] .t4s-admin-tab-btn{background: #1e293b;color: #cbd5e1;}
html[data-theme="dark"] .t4s-admin-tab-btn.is-active{background: #0d9488;color: #ffffff;border-color: #14b8a6;}
.t4s-admin-tab-cnt{padding: 0 6px;border-radius: 999px;font-size: 0.64rem;background: rgba(15, 23, 42, 0.12);}
.t4s-admin-tab-btn.is-active .t4s-admin-tab-cnt{background: rgba(255, 255, 255, 0.24);}
.t4s-admin-hint-bar{display: flex;align-items: center;justify-content: space-between;gap: 8px;flex-wrap: wrap;padding: 8px 16px;font-size: 0.70rem;font-weight: 700;color: #0f766e;background: rgba(13, 148, 136, 0.07);}
html[data-theme="dark"] .t4s-admin-hint-bar{color: #5eead4;background: rgba(13, 148, 136, 0.16);}
.t4s-admin-add-btn{padding: 4px 11px;border-radius: 8px;font-size: 0.71rem;font-weight: 900;color: #ffffff;background: #0f766e;border: none;cursor: pointer;}
.t4s-admin-rows-wrap{flex: 1;overflow-y: auto;padding: 12px 16px;display: flex;flex-direction: column;gap: 8px;}
.t4s-admin-row{display: grid;grid-template-columns: 30px minmax(150px, 0.9fr) minmax(220px, 1.5fr) auto;gap: 7px;align-items: center;}
.t4s-admin-row-num{font-size: 0.70rem;font-weight: 900;color: #64748b;text-align: center;}
.t4s-admin-input{width: 100%;box-sizing: border-box;padding: 6px 9px;border-radius: 7px;font-size: 0.74rem;border: 1px solid rgba(148, 163, 184, 0.45);background: #ffffff;color: #0f172a;}
html[data-theme="dark"] .t4s-admin-input{background: #1e293b;color: #f8fafc;border-color: rgba(100, 116, 139, 0.55);}
.t4s-admin-row-actions{display: inline-flex;gap: 4px;align-items: center;}
.t4s-admin-icon-btn{padding: 4px 8px;border-radius: 6px;font-size: 0.69rem;font-weight: 800;border: 1px solid rgba(148, 163, 184, 0.4);background: #f8fafc;color: #334155;cursor: pointer;}
.t4s-admin-icon-btn:disabled{opacity: 0.4;cursor: default;}
.t4s-admin-icon-btn.is-danger{color: #dc2626;border-color: rgba(220, 38, 38, 0.35);background: rgba(254, 242, 242, 0.9);}
html[data-theme="dark"] .t4s-admin-icon-btn{background: #1e293b;color: #e2e8f0;}
html[data-theme="dark"] .t4s-admin-icon-btn.is-danger{background: rgba(127, 29, 29, 0.4);color: #fca5a5;}
.t4s-admin-empty{padding: 18px;text-align: center;font-size: 0.74rem;color: #64748b;}
.t4s-admin-modal-foot{display: flex;align-items: center;justify-content: space-between;gap: 10px;flex-wrap: wrap;padding: 11px 16px;border-top: 1px solid rgba(148, 163, 184, 0.25);background: #f8fafc;}
html[data-theme="dark"] .t4s-admin-modal-foot{background: #1e293b;border-top-color: rgba(71, 85, 105, 0.55);}
.t4s-admin-reset-btn, .t4s-admin-cancel-btn{padding: 6px 12px;border-radius: 8px;font-size: 0.73rem;font-weight: 800;border: 1px solid rgba(148, 163, 184, 0.42);background: #ffffff;color: #475569;cursor: pointer;}
html[data-theme="dark"] .t4s-admin-reset-btn, html[data-theme="dark"] .t4s-admin-cancel-btn{background: #334155;color: #e2e8f0;}
.t4s-admin-save-btn{padding: 7px 16px;border-radius: 8px;font-size: 0.75rem;font-weight: 900;border: none;background: linear-gradient(135deg, #0f766e, #0d9488);color: #ffffff;cursor: pointer;box-shadow: 0 3px 10px rgba(13, 148, 136, 0.3);}
@media (max-width: 768px){.t4s-table.t4s-matrix-5col th.t4s-col-store, .t4s-table.t4s-matrix-5col td.t4s-td-store{width: 144px;min-width: 140px;max-width: 150px;box-shadow: 3px 0 8px rgba(15, 23, 42, 0.08);}.t4s-admin-row{grid-template-columns: 26px 1fr;}.t4s-admin-row .is-url, .t4s-admin-row-actions{grid-column: 2 / -1;}}
.cafe-card-showcase{width: 218px;justify-content: space-between;gap: 5px;padding: 8px 8px;}
.cafe-showcase-top-row, .cafe-showcase-bottom-row{width: 100%;display: flex;align-items: center;justify-content: center;gap: 4px;flex-wrap: wrap;z-index: 3;}
.cafe-showcase-maxoff-badge{display: inline-flex;align-items: center;gap: 2px;padding: 1.5px 7px;border-radius: 999px;background: rgba(220, 38, 38, 0.11);color: #b91c1c;border: 1px solid rgba(220, 38, 38, 0.3);font-size: 0.65rem;font-weight: 900;white-space: nowrap;}
html[data-theme="dark"] .cafe-showcase-maxoff-badge{background: rgba(239, 68, 68, 0.2);color: #fca5a5;border-color: rgba(248, 113, 113, 0.4);}
.cafe-showcase-end-badge{display: inline-flex;align-items: center;gap: 2px;padding: 1.5px 7px;border-radius: 999px;background: rgba(255, 255, 255, 0.92);color: #475569;border: 1px solid rgba(148, 163, 184, 0.38);font-size: 0.64rem;font-weight: 800;white-space: nowrap;}
.cafe-showcase-end-badge.is-urgent{background: rgba(254, 242, 242, 0.96);color: #dc2626;border-color: rgba(220, 38, 38, 0.42);font-weight: 900;}
html[data-theme="dark"] .cafe-showcase-end-badge{background: rgba(30, 41, 59, 0.88);color: #cbd5e1;border-color: rgba(100, 116, 139, 0.45);}
html[data-theme="dark"] .cafe-showcase-end-badge.is-urgent{background: rgba(127, 29, 29, 0.45);color: #fca5a5;border-color: rgba(248, 113, 113, 0.45);}
.cafe-header-title-row{display: flex;align-items: flex-start;justify-content: space-between;gap: 12px;}
.cafe-1line-summary{display: flex;align-items: center;flex-wrap: wrap;gap: 8px;font-size: 0.78rem;font-weight: 700;color: var(--text-sub, #475569);line-height: 1.45;margin: 2px 0;}
html[data-theme="dark"] .cafe-1line-summary{color: #cbd5e1;}
.cafe-owned-inline-badge{display: inline-flex;align-items: center;gap: 3px;padding: 1.5px 8px;border-radius: 999px;font-size: 0.69rem;font-weight: 900;background: rgba(16, 185, 129, 0.13);color: #059669;border: 1px solid rgba(16, 185, 129, 0.38);white-space: nowrap;cursor: pointer;}
html[data-theme="dark"] .cafe-owned-inline-badge{background: rgba(16, 185, 129, 0.22);color: #6ee7b7;border-color: rgba(52, 211, 153, 0.45);}
@media (max-width: 768px){.cafe-card-showcase{width: 100%;}.cafe-header-title-row{flex-direction: column;gap: 8px;}}
.books-grid{min-height: 55vh;}
.books-grid.view-cards{display: grid;grid-template-columns: repeat(3, minmax(0, 1fr));gap: 14px;align-items: stretch;}
@media (max-width: 1120px){.books-grid.view-cards{grid-template-columns: repeat(2, minmax(0, 1fr));gap: 12px;}}
@media (max-width: 700px){.books-grid.view-cards{grid-template-columns: minmax(0, 1fr);gap: 12px;}}
.books-grid.view-cards .book-card{display: flex;flex-direction: column;height: 100%;}
.books-grid.view-cards .card-top-kinseri{padding: 12px;gap: 10px;flex: 1 1 auto;}
.books-grid.view-cards .book-cover-wrap-compact{width: 68px;flex: 0 0 68px;}
.books-grid.view-cards .kinseri-title{font-size: 0.88rem;line-height: 1.38;}
.sale-book-price-condensed{display: flex;flex-direction: column;gap: 2px;margin-top: 5px;padding: 6px 9px;border-radius: 8px;background: rgba(191, 0, 0, 0.04);border: 1px solid rgba(191, 0, 0, 0.14);}
html[data-theme="dark"] .sale-book-price-condensed{background: rgba(248, 113, 113, 0.08);border-color: rgba(248, 113, 113, 0.22);}
.price-condensed-main{display: flex;align-items: baseline;gap: 6px;flex-wrap: wrap;line-height: 1.25;}
.price-condensed-main .kinseri-real-label{font-size: 0.68rem;font-weight: 800;color: var(--text-sub, #475569);}
.price-condensed-main .kinseri-real-num{font-size: 1.05rem;font-weight: 900;color: #dc2626;letter-spacing: -0.01em;}
html[data-theme="dark"] .price-condensed-main .kinseri-real-num{color: #f87171;}
.price-condensed-main .kinseri-real-disc{font-size: 0.72rem;font-weight: 800;color: #dc2626;background: rgba(220, 38, 38, 0.1);padding: 0.5px 5px;border-radius: 4px;}
html[data-theme="dark"] .price-condensed-main .kinseri-real-disc{color: #fca5a5;background: rgba(248, 113, 113, 0.18);}
.price-condensed-sub{display: flex;align-items: center;gap: 8px;flex-wrap: wrap;font-size: 0.7rem;font-weight: 700;color: var(--text-sub, #64748b);}
.sale-book-synopsis-preview{position: relative;}
.sale-book-synopsis-preview .synopsis-expand-hint{display: inline-block;margin-left: 2px;font-size: 0.64rem;font-weight: 800;color: #bf0000;opacity: 0.9;}
html[data-theme="dark"] .sale-book-synopsis-preview .synopsis-expand-hint{color: #fca5a5;}
.sale-book-synopsis-preview.is-expanded{display: block !important;width: 100% !important;box-sizing: border-box;padding: 6px 9px !important;border-left: 2.5px solid #bf0000 !important;background: rgba(191, 0, 0, 0.05);}
html[data-theme="dark"] .sale-book-synopsis-preview.is-expanded{background: rgba(248, 113, 113, 0.14);border-left-color: #f87171 !important;}
.card-actions-compact.sale-card-footer-chip5{display: flex;align-items: center;justify-content: space-between;gap: 6px;padding: 8px 10px;margin-top: auto;flex-wrap: wrap;}
.sale-card-chip5{display: inline-flex !important;align-items: center !important;gap: 4px !important;flex-shrink: 0;}
.card-actions-compact.sale-card-footer-chip5 .btn-buy-compact{display: inline-flex;align-items: center;justify-content: center;gap: 4px;padding: 5px 10px;font-size: 0.73rem;font-weight: 800;border-radius: 7px;white-space: nowrap;margin-left: auto;}
.sale-view-mode-segmented{display: inline-flex;align-items: center;gap: 2px;padding: 2px;border-radius: 9px;background: rgba(148, 163, 184, 0.18);border: 1px solid rgba(148, 163, 184, 0.35);flex-shrink: 0;}
html[data-theme="dark"] .sale-view-mode-segmented{background: rgba(30, 41, 59, 0.85);border-color: rgba(100, 116, 139, 0.45);}
.sale-view-seg-btn{display: inline-flex;align-items: center;gap: 4px;padding: 4px 9px;border-radius: 7px;border: none;background: transparent;color: var(--text-sub, #475569);font-size: 0.72rem;font-weight: 800;cursor: pointer;white-space: nowrap;transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;}
.sale-view-seg-btn:hover{color: var(--text-main, #0f172a);}
.sale-view-seg-btn.active{background: var(--bg-card, #ffffff);color: #bf0000;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);}
html[data-theme="dark"] .sale-view-seg-btn.active{background: #1e293b;color: #fca5a5;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);}
.books-grid.view-list-1row{display: flex;flex-direction: column;gap: 6px;}
.book-row-1line-wrap{background: var(--bg-card);border: 1px solid var(--border-color);border-radius: 10px;overflow: hidden;transition: border-color 0.15s ease, box-shadow 0.15s ease;}
.book-row-1line-wrap:hover{border-color: rgba(191, 0, 0, 0.4);box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);}
.book-row-1line{display: grid;grid-template-columns: 44px minmax(0, 1fr) 256px 436px;align-items: center;column-gap: 12px;padding: 8px 12px;box-sizing: border-box;}
.row1-cover{width: 44px;height: 62px;border-radius: 4px;overflow: hidden;border: 1px solid var(--border-color);cursor: pointer;flex-shrink: 0;background: #f1f5f9;}
.row1-cover img{width: 100%;height: 100%;object-fit: cover;display: block;}
.row1-info{min-width: 0;overflow: hidden;display: flex;flex-direction: column;gap: 3px;}
.row1-title-line{display: flex;align-items: center;gap: 6px;flex-wrap: nowrap;min-width: 0;overflow: hidden;}
.row1-title{margin: 0;font-size: 0.86rem;font-weight: 800;color: var(--text-main);cursor: pointer;line-height: 1.35;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;min-width: 0;flex: 1 1 auto;}
.row1-title:hover{color: #bf0000;text-decoration: underline;}
.row1-meta-line{display: flex;align-items: center;gap: 6px;flex-wrap: nowrap;min-width: 0;overflow: hidden;white-space: nowrap;font-size: 0.71rem;color: var(--text-sub, #64748b);}
.row1-meta-line .flat-meta-author, .row1-meta-line .flat-meta-pub{overflow: hidden;text-overflow: ellipsis;white-space: nowrap;min-width: 0;}
.row1-rating{display: inline-flex;align-items: center;gap: 2px;color: #d97706;font-weight: 700;flex-shrink: 0;}
.row1-price{width: 256px;min-width: 256px;max-width: 256px;box-sizing: border-box;}
.row1-price .sale-book-price-condensed{margin-top: 0;padding: 5px 10px;width: 100%;box-sizing: border-box;}
.row1-price .price-condensed-main, .row1-price .price-condensed-sub{flex-wrap: nowrap;white-space: nowrap;}
.row1-actions{display: grid;grid-template-columns: 108px 168px 144px;align-items: center;column-gap: 8px;width: 436px;min-width: 436px;max-width: 436px;box-sizing: border-box;flex-shrink: 0;}
.btn-row1-other3{display: inline-flex;align-items: center;justify-content: center;gap: 3px;width: 108px;height: 30px;padding: 0 6px;box-sizing: border-box;border-radius: 6px;border: 1px solid var(--border-color);background: var(--bg-card);color: var(--text-sub);font-size: 0.69rem;font-weight: 700;cursor: pointer;white-space: nowrap;}
.btn-row1-other3:hover{border-color: #94a3b8;color: var(--text-main);}
.row1-actions .sale-card-chip5{width: 168px;justify-content: space-between !important;box-sizing: border-box;}
.row1-actions .btn-buy-compact{display: inline-flex;align-items: center;justify-content: center;gap: 4px;width: 144px;height: 32px;padding: 0 8px;margin: 0 !important;box-sizing: border-box;font-size: 0.73rem;font-weight: 800;border-radius: 7px;white-space: nowrap;}
@media (max-width: 960px){.book-row-1line{grid-template-columns: 44px minmax(0, 1fr);gap: 8px 10px;padding: 9px 10px;}.row1-price{grid-column: 1 / -1;width: 100%;min-width: 0;max-width: none;}.row1-actions{grid-column: 1 / -1;display: flex;flex-wrap: wrap;justify-content: space-between;width: 100%;min-width: 0;max-width: none;gap: 6px;}.btn-row1-other3, .row1-actions .sale-card-chip5, .row1-actions .btn-buy-compact{width: auto;}}
.ku-item-cover-wrap{position: relative;}
.ku-sale-badge-topleft{position: absolute;top: 3px;left: 3px;z-index: 3;padding: 1px 5px;border-radius: 4px;background: linear-gradient(135deg, #dc2626, #b91c1c);color: #ffffff;font-size: 0.58rem;font-weight: 900;letter-spacing: 0.02em;line-height: 1.3;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);pointer-events: none;}
.sample-guide-col-btn{display: inline-flex;align-items: center;gap: 5px;padding: 7px 12px;border-radius: 8px;border: 1.5px solid rgba(217, 119, 6, 0.48);background: rgba(245, 158, 11, 0.08);color: #b45309;font-size: 0.74rem;font-weight: 800;text-decoration: none;white-space: nowrap;transition: all 0.16s ease;}
.sample-guide-col-btn:hover{background: rgba(245, 158, 11, 0.16);border-color: #d97706;color: #92400e;}
html[data-theme="dark"] .sample-guide-col-btn{color: #fbbf24;background: rgba(245, 158, 11, 0.14);border-color: rgba(251, 191, 36, 0.45);}
.btn-channel-copyimg .icon-copyimg{background: linear-gradient(135deg, #0284c7, #0369a1);color: #ffffff;}
.is-plus-library-frame{border: 2px solid #7c3aed !important;box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.15), 0 8px 22px rgba(124, 58, 237, 0.18) !important;}
.eyecatch-early-badge{position: absolute;left: 14px;bottom: 10px;z-index: 6;display: inline-flex;align-items: center;gap: 4px;padding: 3px 10px;border-radius: 999px;background: rgba(15, 23, 42, 0.72);backdrop-filter: blur(8px);border: 1px solid rgba(196, 181, 253, 0.65);color: #f5f3ff;font-size: 0.68rem;font-weight: 800;cursor: pointer;}
.eyecatch-var-btn{padding: 7px 10px;border-radius: 8px;border: 1.5px solid var(--border-color);background: var(--bg-card);color: var(--text-sub);font-size: 0.74rem;font-weight: 800;cursor: pointer;transition: all 0.15s ease;}
.eyecatch-var-btn.is-active{border-color: #7c3aed;background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(109, 40, 217, 0.18));color: #6d28d9;}
html[data-theme="dark"] .eyecatch-var-btn.is-active{color: #ddd6fe;border-color: #a78bfa;}
.hikabon-stamp-trigger{display: inline-flex;align-items: center;gap: 3px;padding: 2px 7px;border-radius: 999px;border: 1px solid rgba(220, 38, 38, 0.35);background: rgba(220, 38, 38, 0.05);color: #dc2626;font-size: 0.68rem;font-weight: 800;cursor: pointer;transition: all 0.15s ease;}
.hikabon-stamp-trigger.is-plus-stamp{border-color: rgba(124, 58, 237, 0.48);background: rgba(124, 58, 237, 0.09);color: #6d28d9;}
.icon-type-btn.is-plus-only{position: relative;}
.icon-type-btn .plus-icon-mini-tag{position: absolute;top: -4px;right: -4px;padding: 0 4px;border-radius: 999px;background: linear-gradient(135deg, #7c3aed, #6d28d9);color: #ffffff;font-size: 0.56rem;font-weight: 900;line-height: 1.35;pointer-events: none;}
.sale-detail-filter-box .filter-sticky-slim-bar{display: none;}
.sale-detail-filter-box .btn-sticky-filter-collapse{display: none;}
.sale-detail-filter-box.is-stuck:not(.is-stuck-expanded) .filter-sticky-slim-bar{display: flex;align-items: center;gap: 8px;flex-wrap: nowrap;overflow-x: auto;scrollbar-width: none;padding: 2px 0;}
.sale-detail-filter-box.is-stuck:not(.is-stuck-expanded) .filter-sticky-slim-bar::-webkit-scrollbar{display: none;}
.sale-detail-filter-box.is-stuck:not(.is-stuck-expanded) .filter-full-body-wrap{display: none;}
.sale-detail-filter-box.is-stuck.is-stuck-expanded .btn-sticky-filter-collapse{display: inline-flex;align-items: center;gap: 4px;padding: 4px 10px;border-radius: 999px;border: 1px solid var(--border-color);background: var(--bg-card);color: var(--text-main);font-size: 0.71rem;font-weight: 800;cursor: pointer;}
.slim-sticky-search{flex: 1 1 180px;min-width: 130px;max-width: 280px;height: 30px !important;padding: 4px 10px !important;font-size: 0.76rem !important;}
.slim-sticky-sort-wrap{display: inline-flex;align-items: center;gap: 5px;flex-shrink: 0;}
.btn-sticky-filter-expand{display: inline-flex;align-items: center;gap: 4px;padding: 5px 11px;border-radius: 999px;border: 1px solid rgba(191, 0, 0, 0.32);background: var(--bg-card);color: #bf0000;font-size: 0.72rem;font-weight: 800;cursor: pointer;white-space: nowrap;margin-left: auto;flex-shrink: 0;}
html[data-theme="dark"] .btn-sticky-filter-expand{color: #fca5a5;border-color: rgba(248, 113, 113, 0.4);}
.sale-pagination-more-box{display: flex;flex-direction: column;align-items: center;justify-content: center;gap: 10px;padding: 16px 20px;background: var(--bg-card);border: 1.5px solid var(--border-color);border-radius: 12px;box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);}
.sale-pagination-btn-row{display: flex;align-items: center;justify-content: center;flex-wrap: wrap;gap: 10px;width: 100%;}
.btn-sale-load-more-primary{display: inline-flex;align-items: center;justify-content: center;gap: 6px;background: linear-gradient(135deg, #bf0000, #dc2626);color: #ffffff;border: none;border-radius: 999px;padding: 10px 24px;font-size: 0.84rem;font-weight: 900;cursor: pointer;box-shadow: 0 3px 10px rgba(191, 0, 0, 0.22);transition: transform 0.15s ease, box-shadow 0.15s ease;}
.btn-sale-load-more-primary:hover{transform: translateY(-1px);box-shadow: 0 5px 14px rgba(191, 0, 0, 0.3);}
.btn-sale-load-all-sub{display: inline-flex;align-items: center;justify-content: center;gap: 5px;background: var(--bg-card);color: var(--text-main);border: 1.5px solid var(--border-color);border-radius: 999px;padding: 9px 18px;font-size: 0.78rem;font-weight: 800;cursor: pointer;transition: border-color 0.15s ease, background 0.15s ease;}
.btn-sale-load-all-sub:hover{border-color: #94a3b8;}
.sale-pagination-complete-bar{display: flex;align-items: center;justify-content: space-between;flex-wrap: wrap;gap: 10px;padding: 12px 16px;background: var(--bg-card);border: 1px solid var(--border-color);border-radius: 12px;}
@media (min-width: 900px){html body .hika-room-wrapper, html body #mypage-shelf-anchor-mount .hika-room-wrapper, html body #community-my-shelf-anchor-mount .hika-room-wrapper{grid-template-columns: 660px minmax(0, 1fr) !important;}html body .hika-room-left-rail, html body #mypage-shelf-anchor-mount .hika-room-left-rail, html body #community-my-shelf-anchor-mount .hika-room-left-rail{grid-column: 1 !important;grid-row: 1 !important;display: flex !important;flex-direction: column !important;align-items: stretch !important;gap: 12px;position: sticky !important;top: calc(var(--header-actual-height, 108px) + 64px) !important;align-self: start !important;width: 660px !important;min-width: 660px !important;max-width: 660px !important;flex: 0 0 660px !important;box-sizing: border-box;z-index: 45;}html body .hika-room-canvas, html body #mypage-shelf-anchor-mount .hika-room-canvas, html body #community-my-shelf-anchor-mount .hika-room-canvas{width: 660px !important;min-width: 660px !important;max-width: 660px !important;flex: 0 0 auto !important;margin: 0 !important;}html body .hika-room-promo-form, html body #mypage-shelf-anchor-mount .hika-room-promo-form, html body #community-my-shelf-anchor-mount .hika-room-promo-form{max-width: 660px !important;}html body .hika-room-closet, html body #mypage-shelf-anchor-mount .hika-room-closet, html body #community-my-shelf-anchor-mount .hika-room-closet{flex: 1 1 0% !important;width: 100% !important;min-width: 0 !important;max-width: 100% !important;overflow-x: hidden;}html body .hika-room-wrapper.is-room-zoomed, html body #mypage-shelf-anchor-mount .hika-room-wrapper.is-room-zoomed, html body #community-my-shelf-anchor-mount .hika-room-wrapper.is-room-zoomed{grid-template-columns: minmax(0, 1fr) !important;}html body .hika-room-wrapper.is-room-zoomed .hika-room-left-rail, html body #mypage-shelf-anchor-mount .hika-room-wrapper.is-room-zoomed .hika-room-left-rail, html body #community-my-shelf-anchor-mount .hika-room-wrapper.is-room-zoomed .hika-room-left-rail{position: static !important;width: 100% !important;min-width: 0 !important;max-width: 1040px !important;flex: 1 1 auto !important;margin: 0 auto;}html body .hika-room-canvas.is-room-zoomed, html body #mypage-shelf-anchor-mount .hika-room-canvas.is-room-zoomed, html body #community-my-shelf-anchor-mount .hika-room-canvas.is-room-zoomed{width: 100% !important;min-width: 0 !important;max-width: 1040px !important;flex: 0 1 auto !important;margin: 0 auto !important;}html body .hika-room-wrapper.is-room-zoomed .hika-room-closet, html body #mypage-shelf-anchor-mount .hika-room-wrapper.is-room-zoomed .hika-room-closet, html body #community-my-shelf-anchor-mount .hika-room-wrapper.is-room-zoomed .hika-room-closet{grid-column: 1 !important;grid-row: 2 !important;}}
.virtual-bookshelf-cabinet.hikaroom-cab-brooklyn{--shelf-wood-outer: #35322e;--shelf-wood-plank: #b57a44;--shelf-wood-bevel: #17140f;--shelf-wood-highlight: rgba(255, 255, 255, 0.28);--shelf-back-bg: linear-gradient(180deg, #3a332b 0%, #292219 100%);--shelf-tier-header-bg: rgba(255, 251, 243, 0.88);--shelf-tier-header-text: #2d241a;--shelf-tier-header-border: rgba(53, 50, 46, 0.35);}
html[data-theme="dark"] .virtual-bookshelf-cabinet.hikaroom-cab-brooklyn{--shelf-wood-outer: #211d1a;--shelf-wood-plank: #8a5a30;--shelf-wood-bevel: #0d0b09;--shelf-back-bg: linear-gradient(180deg, #241d16 0%, #171208 100%);}
.virtual-bookshelf-cabinet.hikaroom-cab-brooklyn{border-image-source: url('../../images/room/cabinet_brooklyn.png');border-image-slice: 30 48 28 48;border-image-width: 11px 20px;border-image-repeat: stretch;border-radius: 8px;}
.virtual-bookshelf-cabinet.hikaroom-cab-brooklyn .virtual-shelf-top-lintel{background: #35322e url('../../images/room/cabinet_brooklyn_pipe_h.png') repeat-x center / auto 100% !important;border-top: none !important;border-bottom: 2px solid #17140f !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-brooklyn .virtual-shelf-bottom-plinth{background: #35322e url('../../images/room/cabinet_brooklyn_pipe_h.png') repeat-x center / auto 100% !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-brooklyn .virtual-shelf-tier{border-left: 12px solid transparent !important;border-right: 12px solid transparent !important;background-image: url('../../images/room/cabinet_brooklyn_pipe_v.png'), url('../../images/room/cabinet_brooklyn_pipe_v.png'), linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(0, 0, 0, 0.03) 90%, rgba(0, 0, 0, 0.09) 100%) !important;background-position: left top, right top, center !important;background-repeat: repeat-y, repeat-y, no-repeat !important;background-size: 12px auto, 12px auto, cover !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-brooklyn .virtual-shelf-plank{background: #b57a44 url('../../images/room/cabinet_brooklyn_board.png') repeat-x center / auto 100% !important;border-top: none !important;border-bottom: 2px solid #17140f !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-brooklyn{border-image-width: 14px 26px;}
.virtual-bookshelf-cabinet.hikaroom-cab-brooklyn .virtual-shelf-top-lintel{height: 22px;background-color: #35322e !important;background-image: url('../../images/room/cabinet_brooklyn_pipe_h.png') !important;background-repeat: repeat-x !important;background-position: center !important;background-size: auto 100% !important;border-top: none !important;border-bottom: 2px solid #17140f !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-brooklyn .virtual-shelf-bottom-plinth{height: 18px;background-color: #35322e !important;background-image: url('../../images/room/cabinet_brooklyn_pipe_h.png') !important;background-repeat: repeat-x !important;background-position: center !important;background-size: auto 100% !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-brooklyn .virtual-shelf-plank{background-color: #b57a44 !important;background-image: url('../../images/room/cabinet_brooklyn_board.png') !important;background-repeat: repeat-x !important;background-position: center !important;background-size: auto 100% !important;border-top: none !important;border-bottom: 2px solid #17140f !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-brooklyn .virtual-shelf-tier{background-size: 26px auto, 26px auto, cover !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-brooklyn .virtual-shelf-stage, .virtual-bookshelf-cabinet.hikaroom-cab-brooklyn .shelf-cover-grid{padding-left: 38px !important;padding-right: 38px !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-brooklyn .virtual-shelf-tier-header{padding-left: 38px;padding-right: 38px;}
.virtual-bookshelf-cabinet.hikaroom-cab-brooklyn{border-image-slice: 34 48 28 48;border-image-width: 18px 26px;}
.virtual-bookshelf-cabinet.hikaroom-cab-brooklyn .virtual-shelf-top-lintel{height: 20px;background-color: #b57a44 !important;background-image: url('../../images/room/cabinet_brooklyn_topboard.png') !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-brooklyn{border-image-slice: 32 48 40 48;}
.virtual-bookshelf-cabinet.hikaroom-cab-brooklyn .virtual-shelf-bottom-plinth{background-color: #b57a44 !important;background-image: url('../../images/room/cabinet_brooklyn_board.png') !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-midcentury{--shelf-wood-outer: #9c5c26;--shelf-wood-plank: #b57a3e;--shelf-wood-bevel: #6e3f1a;--shelf-wood-highlight: rgba(255, 255, 255, 0.3);--shelf-back-bg: linear-gradient(180deg, #5d3d20 0%, #422a13 100%);--shelf-tier-header-bg: rgba(255, 251, 243, 0.88);--shelf-tier-header-text: #3a2410;--shelf-tier-header-border: rgba(90, 60, 30, 0.3);border-image-source: url('../../images/room/cabinet_midcentury.png');border-image-slice: 37 109 34 109;border-image-width: 18px 26px;border-image-repeat: stretch;border-radius: 8px;}
html[data-theme="dark"] .virtual-bookshelf-cabinet.hikaroom-cab-midcentury{--shelf-wood-outer: #5e3a1c;--shelf-wood-plank: #7c4f24;--shelf-wood-bevel: #3a2410;--shelf-back-bg: linear-gradient(180deg, #241708 0%, #180e04 100%);}
.virtual-bookshelf-cabinet.hikaroom-cab-midcentury .virtual-shelf-top-lintel{height: 20px;background-color: #b57a3e !important;background-image: url('../../images/room/cabinet_midcentury_topboard.png') !important;background-repeat: no-repeat !important;background-position: center !important;background-size: 100% 100% !important;border-top: none !important;border-bottom: 2px solid #6e3f1a !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-midcentury .virtual-shelf-bottom-plinth{height: 18px;background-color: #b57a3e !important;background-image: url('../../images/room/cabinet_midcentury_board.png') !important;background-repeat: repeat-x !important;background-position: center !important;background-size: auto 100% !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-midcentury .virtual-shelf-tier{border-left: 12px solid transparent !important;border-right: 12px solid transparent !important;background-image: url('../../images/room/cabinet_midcentury_side.png'), url('../../images/room/cabinet_midcentury_side.png'), linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(0, 0, 0, 0.03) 90%, rgba(0, 0, 0, 0.09) 100%) !important;background-position: left top, right top, center !important;background-repeat: repeat-y, repeat-y, no-repeat !important;background-size: 26px auto, 26px auto, cover !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-midcentury .virtual-shelf-plank{background-color: #b57a3e !important;background-image: url('../../images/room/cabinet_midcentury_board.png') !important;background-repeat: repeat-x !important;background-position: center !important;background-size: auto 100% !important;border-top: none !important;border-bottom: 2px solid #6e3f1a !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-midcentury .virtual-shelf-stage, .virtual-bookshelf-cabinet.hikaroom-cab-midcentury .shelf-cover-grid{padding-left: 38px !important;padding-right: 38px !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-midcentury .virtual-shelf-tier-header{padding-left: 38px;padding-right: 38px;}
.virtual-bookshelf-cabinet.hikaroom-cab-minimalist{--shelf-wood-outer: #ddd6c6;--shelf-wood-plank: #f3eee2;--shelf-wood-bevel: #b3ac99;--shelf-wood-highlight: rgba(255, 255, 255, 0.3);--shelf-back-bg: linear-gradient(180deg, #fdfcf9 0%, #f1efe7 100%);--shelf-tier-header-bg: rgba(255, 251, 243, 0.88);--shelf-tier-header-text: #4a4234;--shelf-tier-header-border: rgba(90, 60, 30, 0.3);border-image-source: url('../../images/room/cabinet_minimalist.png');border-image-slice: 29 33 38 33;border-image-width: 18px 26px;border-image-repeat: stretch;border-radius: 8px;}
html[data-theme="dark"] .virtual-bookshelf-cabinet.hikaroom-cab-minimalist{--shelf-wood-outer: #8f887a;--shelf-wood-plank: #b0a894;--shelf-wood-bevel: #6e685c;--shelf-back-bg: linear-gradient(180deg, #262019 0%, #1a150f 100%);}
.virtual-bookshelf-cabinet.hikaroom-cab-minimalist .virtual-shelf-top-lintel{height: 20px;background-color: #f3eee2 !important;background-image: url('../../images/room/cabinet_minimalist_topboard.png') !important;background-repeat: repeat-x !important;background-position: center !important;background-size: auto 100% !important;border-top: none !important;border-bottom: 2px solid #b3ac99 !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-minimalist .virtual-shelf-bottom-plinth{height: 18px;background-color: #f3eee2 !important;background-image: url('../../images/room/cabinet_minimalist_board.png') !important;background-repeat: repeat-x !important;background-position: center !important;background-size: auto 100% !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-minimalist .virtual-shelf-tier{border-left: 12px solid transparent !important;border-right: 12px solid transparent !important;background-image: url('../../images/room/cabinet_minimalist_side.png'), url('../../images/room/cabinet_minimalist_side.png'), linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(0, 0, 0, 0.03) 90%, rgba(0, 0, 0, 0.09) 100%) !important;background-position: left top, right top, center !important;background-repeat: repeat-y, repeat-y, no-repeat !important;background-size: 26px auto, 26px auto, cover !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-minimalist .virtual-shelf-plank{background-color: #f3eee2 !important;background-image: url('../../images/room/cabinet_minimalist_board.png') !important;background-repeat: repeat-x !important;background-position: center !important;background-size: auto 100% !important;border-top: none !important;border-bottom: 2px solid #b3ac99 !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-minimalist .virtual-shelf-stage, .virtual-bookshelf-cabinet.hikaroom-cab-minimalist .shelf-cover-grid{padding-left: 38px !important;padding-right: 38px !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-minimalist .virtual-shelf-tier-header{padding-left: 38px;padding-right: 38px;}
.virtual-bookshelf-cabinet.hikaroom-cab-industrial{--shelf-wood-outer: #3c3835;--shelf-wood-plank: #a06a34;--shelf-wood-bevel: #211d1a;--shelf-wood-highlight: rgba(255, 255, 255, 0.3);--shelf-back-bg: linear-gradient(180deg, #33373c 0%, #232629 100%);--shelf-tier-header-bg: rgba(255, 251, 243, 0.88);--shelf-tier-header-text: #2b2118;--shelf-tier-header-border: rgba(90, 60, 30, 0.3);border-image-source: url('../../images/room/cabinet_industrial.png');border-image-slice: 47 46 61 46;border-image-width: 18px 26px;border-image-repeat: stretch;border-radius: 8px;}
html[data-theme="dark"] .virtual-bookshelf-cabinet.hikaroom-cab-industrial{--shelf-wood-outer: #232019;--shelf-wood-plank: #6e4a24;--shelf-wood-bevel: #12100c;--shelf-back-bg: linear-gradient(180deg, #20180f 0%, #140e07 100%);}
.virtual-bookshelf-cabinet.hikaroom-cab-industrial .virtual-shelf-top-lintel{height: 20px;background-color: #a06a34 !important;background-image: url('../../images/room/cabinet_industrial_topboard.png') !important;background-repeat: repeat-x !important;background-position: center !important;background-size: auto 100% !important;border-top: none !important;border-bottom: 2px solid #211d1a !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-industrial .virtual-shelf-bottom-plinth{height: 18px;background-color: #a06a34 !important;background-image: url('../../images/room/cabinet_industrial_board.png') !important;background-repeat: repeat-x !important;background-position: center !important;background-size: auto 100% !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-industrial .virtual-shelf-tier{border-left: 12px solid transparent !important;border-right: 12px solid transparent !important;background-image: url('../../images/room/cabinet_industrial_side.png'), url('../../images/room/cabinet_industrial_side.png'), linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(0, 0, 0, 0.03) 90%, rgba(0, 0, 0, 0.09) 100%) !important;background-position: left top, right top, center !important;background-repeat: repeat-y, repeat-y, no-repeat !important;background-size: 26px auto, 26px auto, cover !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-industrial .virtual-shelf-plank{background-color: #a06a34 !important;background-image: url('../../images/room/cabinet_industrial_board.png') !important;background-repeat: repeat-x !important;background-position: center !important;background-size: auto 100% !important;border-top: none !important;border-bottom: 2px solid #211d1a !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-industrial .virtual-shelf-stage, .virtual-bookshelf-cabinet.hikaroom-cab-industrial .shelf-cover-grid{padding-left: 38px !important;padding-right: 38px !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-industrial .virtual-shelf-tier-header{padding-left: 38px;padding-right: 38px;}
.virtual-bookshelf-cabinet.hikaroom-cab-amekaji{--shelf-wood-outer: #8a5426;--shelf-wood-plank: #a9713a;--shelf-wood-bevel: #5e3a18;--shelf-wood-highlight: rgba(255, 255, 255, 0.3);--shelf-back-bg: linear-gradient(180deg, #2c3e55 0%, #1f2d40 100%);--shelf-tier-header-bg: rgba(255, 251, 243, 0.88);--shelf-tier-header-text: #33200e;--shelf-tier-header-border: rgba(90, 60, 30, 0.3);border-image-source: url('../../images/room/cabinet_amekaji.png');border-image-slice: 45 125 81 125;border-image-width: 18px 26px;border-image-repeat: stretch;border-radius: 8px;}
html[data-theme="dark"] .virtual-bookshelf-cabinet.hikaroom-cab-amekaji{--shelf-wood-outer: #54320f;--shelf-wood-plank: #7a5226;--shelf-wood-bevel: #38200a;--shelf-back-bg: linear-gradient(180deg, #221605 0%, #150d03 100%);}
.virtual-bookshelf-cabinet.hikaroom-cab-amekaji .virtual-shelf-top-lintel{height: 20px;background-color: #a9713a !important;background-image: url('../../images/room/cabinet_amekaji_topboard.png') !important;background-repeat: repeat-x !important;background-position: center !important;background-size: auto 100% !important;border-top: none !important;border-bottom: 2px solid #5e3a18 !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-amekaji .virtual-shelf-bottom-plinth{height: 18px;background-color: #a9713a !important;background-image: url('../../images/room/cabinet_amekaji_board.png') !important;background-repeat: repeat-x !important;background-position: center !important;background-size: auto 100% !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-amekaji .virtual-shelf-tier{border-left: 12px solid transparent !important;border-right: 12px solid transparent !important;background-image: url('../../images/room/cabinet_amekaji_side.png'), url('../../images/room/cabinet_amekaji_side.png'), linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(0, 0, 0, 0.03) 90%, rgba(0, 0, 0, 0.09) 100%) !important;background-position: left top, right top, center !important;background-repeat: repeat-y, repeat-y, no-repeat !important;background-size: 26px auto, 26px auto, cover !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-amekaji .virtual-shelf-plank{background-color: #a9713a !important;background-image: url('../../images/room/cabinet_amekaji_board.png') !important;background-repeat: repeat-x !important;background-position: center !important;background-size: auto 100% !important;border-top: none !important;border-bottom: 2px solid #5e3a18 !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-amekaji .virtual-shelf-stage, .virtual-bookshelf-cabinet.hikaroom-cab-amekaji .shelf-cover-grid{padding-left: 38px !important;padding-right: 38px !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-amekaji .virtual-shelf-tier-header{padding-left: 38px;padding-right: 38px;}
.virtual-bookshelf-cabinet.hikaroom-cab-nordic{--shelf-wood-outer: #c99a5e;--shelf-wood-plank: #dbb47c;--shelf-wood-bevel: #9c743e;--shelf-wood-highlight: rgba(255, 255, 255, 0.3);--shelf-back-bg: linear-gradient(180deg, #eef0e4 0%, #dfe4d0 100%);--shelf-tier-header-bg: rgba(255, 251, 243, 0.88);--shelf-tier-header-text: #4a3418;--shelf-tier-header-border: rgba(90, 60, 30, 0.3);border-image-source: url('../../images/room/cabinet_nordic.png');border-image-slice: 44 60 52 60;border-image-width: 18px 26px;border-image-repeat: stretch;border-radius: 8px;}
html[data-theme="dark"] .virtual-bookshelf-cabinet.hikaroom-cab-nordic{--shelf-wood-outer: #7d5a2e;--shelf-wood-plank: #a07c42;--shelf-wood-bevel: #54390f;--shelf-back-bg: linear-gradient(180deg, #261b0c 0%, #1a1206 100%);}
.virtual-bookshelf-cabinet.hikaroom-cab-nordic .virtual-shelf-top-lintel{height: 20px;background-color: #dbb47c !important;background-image: url('../../images/room/cabinet_nordic_topboard.png') !important;background-repeat: repeat-x !important;background-position: center !important;background-size: auto 100% !important;border-top: none !important;border-bottom: 2px solid #9c743e !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-nordic .virtual-shelf-bottom-plinth{height: 18px;background-color: #dbb47c !important;background-image: url('../../images/room/cabinet_nordic_board.png') !important;background-repeat: repeat-x !important;background-position: center !important;background-size: auto 100% !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-nordic .virtual-shelf-tier{border-left: 12px solid transparent !important;border-right: 12px solid transparent !important;background-image: url('../../images/room/cabinet_nordic_side.png'), url('../../images/room/cabinet_nordic_side.png'), linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(0, 0, 0, 0.03) 90%, rgba(0, 0, 0, 0.09) 100%) !important;background-position: left top, right top, center !important;background-repeat: repeat-y, repeat-y, no-repeat !important;background-size: 26px auto, 26px auto, cover !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-nordic .virtual-shelf-plank{background-color: #dbb47c !important;background-image: url('../../images/room/cabinet_nordic_board.png') !important;background-repeat: repeat-x !important;background-position: center !important;background-size: auto 100% !important;border-top: none !important;border-bottom: 2px solid #9c743e !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-nordic .virtual-shelf-stage, .virtual-bookshelf-cabinet.hikaroom-cab-nordic .shelf-cover-grid{padding-left: 38px !important;padding-right: 38px !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-nordic .virtual-shelf-tier-header{padding-left: 38px;padding-right: 38px;}
.virtual-bookshelf-cabinet.hikaroom-cab-wamodern{--shelf-wood-outer: #8a4f22;--shelf-wood-plank: #a5682f;--shelf-wood-bevel: #5e3410;--shelf-wood-highlight: rgba(255, 255, 255, 0.3);--shelf-back-bg: linear-gradient(180deg, #2f2a23 0%, #201c16 100%);--shelf-tier-header-bg: rgba(255, 251, 243, 0.88);--shelf-tier-header-text: #38200c;--shelf-tier-header-border: rgba(90, 60, 30, 0.3);border-image-source: url('../../images/room/cabinet_wamodern.png');border-image-slice: 55 93 55 93;border-image-width: 18px 26px;border-image-repeat: stretch;border-radius: 8px;}
html[data-theme="dark"] .virtual-bookshelf-cabinet.hikaroom-cab-wamodern{--shelf-wood-outer: #4e2c10;--shelf-wood-plank: #6e451c;--shelf-wood-bevel: #2e1a06;--shelf-back-bg: linear-gradient(180deg, #211305 0%, #140b02 100%);}
.virtual-bookshelf-cabinet.hikaroom-cab-wamodern .virtual-shelf-top-lintel{height: 20px;background-color: #a5682f !important;background-image: url('../../images/room/cabinet_wamodern_topboard.png') !important;background-repeat: repeat-x !important;background-position: center !important;background-size: auto 100% !important;border-top: none !important;border-bottom: 2px solid #5e3410 !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-wamodern .virtual-shelf-bottom-plinth{height: 18px;background-color: #a5682f !important;background-image: url('../../images/room/cabinet_wamodern_board.png') !important;background-repeat: repeat-x !important;background-position: center !important;background-size: auto 100% !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-wamodern .virtual-shelf-tier{border-left: 12px solid transparent !important;border-right: 12px solid transparent !important;background-image: url('../../images/room/cabinet_wamodern_side.png'), url('../../images/room/cabinet_wamodern_side.png'), linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(0, 0, 0, 0.03) 90%, rgba(0, 0, 0, 0.09) 100%) !important;background-position: left top, right top, center !important;background-repeat: repeat-y, repeat-y, no-repeat !important;background-size: 26px auto, 26px auto, cover !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-wamodern .virtual-shelf-plank{background-color: #a5682f !important;background-image: url('../../images/room/cabinet_wamodern_board.png') !important;background-repeat: repeat-x !important;background-position: center !important;background-size: auto 100% !important;border-top: none !important;border-bottom: 2px solid #5e3410 !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-wamodern .virtual-shelf-stage, .virtual-bookshelf-cabinet.hikaroom-cab-wamodern .shelf-cover-grid{padding-left: 38px !important;padding-right: 38px !important;}
.virtual-bookshelf-cabinet.hikaroom-cab-wamodern .virtual-shelf-tier-header{padding-left: 38px;padding-right: 38px;}
.footer-column-sitemap-accordion{margin-top: 14px;border-radius: 12px;border: 1px solid var(--border-color, #e2e8f0);background: var(--bg-card, #ffffff);overflow: hidden;}
.footer-column-sitemap-accordion > summary{list-style: none;cursor: pointer;padding: 11px 16px;font-size: 0.82rem;font-weight: 800;color: var(--text-sub, #475569);display: flex;align-items: center;justify-content: space-between;gap: 10px;user-select: none;transition: background 0.16s ease, color 0.16s ease;}
.footer-column-sitemap-accordion > summary::-webkit-details-marker{display: none;}
.footer-column-sitemap-accordion > summary:hover{background: var(--bg-card-sub, rgba(248, 250, 252, 0.9));color: var(--text-main, #0f172a);}
.footer-column-sitemap-accordion[open] > summary{border-bottom: 1px dashed var(--border-color, #e2e8f0);color: var(--text-main, #0f172a);}
.footer-column-sitemap-accordion .sitemap-acc-chevron{transition: transform 0.2s ease;}
.footer-column-sitemap-accordion[open] .sitemap-acc-chevron{transform: rotate(180deg);}
.mp-digest-4axis-card{padding: 16px 18px;border-radius: 16px;border: 1.5px solid var(--mp-border, rgba(16, 185, 129, 0.36));background: var(--bg-card, #ffffff);box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);}
.mp-digest-header-row{display: flex;align-items: flex-start;justify-content: space-between;gap: 12px;flex-wrap: wrap;margin-bottom: 14px;padding-bottom: 12px;border-bottom: 1px dashed var(--border-color, #e2e8f0);}
.mp-digest-title-wrap{flex: 1 1 360px;min-width: 240px;}
.mp-digest-title-line{display: flex;align-items: center;gap: 8px;flex-wrap: wrap;margin-bottom: 5px;}
.mp-digest-icon-badge{display: inline-flex;align-items: center;justify-content: center;width: 26px;height: 26px;border-radius: 8px;background: rgba(6, 199, 85, 0.14);color: #059669;flex-shrink: 0;}
.mp-digest-title{font-size: 0.95rem;font-weight: 900;color: var(--text-main, #0f172a);}
.mp-digest-cron-pill{font-size: 0.7rem;font-weight: 800;padding: 2px 9px;border-radius: 999px;background: rgba(2, 132, 199, 0.12);color: #0284c7;border: 1px solid rgba(2, 132, 199, 0.3);}
.mp-digest-sub{margin: 0;font-size: 0.74rem;color: var(--text-sub, #475569);line-height: 1.5;}
.mp-digest-master-ctrl{display: flex;align-items: center;flex-shrink: 0;}
.mp-digest-line-toggle-btn{display: inline-flex;align-items: center;gap: 6px;padding: 7px 14px;border-radius: 999px;font-size: 0.75rem;font-weight: 800;cursor: pointer;transition: all 0.16s ease;border: 1.5px solid transparent;}
.mp-digest-line-toggle-btn.is-on{background: linear-gradient(135deg, #06c755, #059669);color: #ffffff;box-shadow: 0 2px 8px rgba(6, 199, 85, 0.25);}
.mp-digest-line-toggle-btn.is-off{background: var(--bg-card-sub, #f1f5f9);color: var(--text-sub, #475569);border-color: var(--border-color, #cbd5e1);}
.mp-digest-axes-container{display: grid;grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));gap: 10px;}
.mp-digest-axis-block{padding: 10px 12px;border-radius: 12px;background: var(--bg-card-sub, #f8fafc);border: 1px solid var(--border-color, #e2e8f0);}
.mp-digest-axis-block.is-authors-axis{grid-column: 1 / -1;}
.mp-digest-axis-head{display: flex;align-items: center;gap: 7px;margin-bottom: 8px;flex-wrap: wrap;}
.mp-digest-axis-head.is-wrap{justify-content: space-between;}
.mp-digest-axis-num{display: inline-flex;align-items: center;justify-content: center;width: 18px;height: 18px;border-radius: 999px;font-size: 0.68rem;font-weight: 900;background: #0f172a;color: #ffffff;flex-shrink: 0;}
html[data-theme="dark"] .mp-digest-axis-num{background: #f59e0b;color: #0f172a;}
.mp-digest-axis-title{font-size: 0.8rem;font-weight: 900;color: var(--text-main, #0f172a);}
.mp-digest-axis-badge{font-size: 0.69rem;font-weight: 800;padding: 1px 8px;border-radius: 999px;background: rgba(16, 185, 129, 0.14);color: #059669;border: 1px solid rgba(16, 185, 129, 0.34);}
.mp-digest-axis-note{font-size: 0.69rem;color: var(--text-muted, #64748b);}
.mp-digest-axis-grid{display: flex;flex-wrap: wrap;gap: 6px;}
.mp-digest-chk-chip{display: inline-flex;align-items: center;gap: 5px;padding: 5px 10px;border-radius: 999px;font-size: 0.74rem;font-weight: 700;background: var(--bg-card, #ffffff);color: var(--text-sub, #475569);border: 1.5px solid var(--border-color, #cbd5e1);cursor: pointer;user-select: none;transition: all 0.14s ease;}
.mp-digest-chk-chip input[type="checkbox"]{position: absolute;opacity: 0;pointer-events: none;width: 0;height: 0;}
.mp-digest-chk-chip.is-checked{background: rgba(16, 185, 129, 0.1);color: var(--text-main, #0f172a);border-color: #10b981;}
.mp-digest-chk-box{display: inline-flex;align-items: center;justify-content: center;width: 15px;height: 15px;border-radius: 4px;border: 1.5px solid #94a3b8;background: var(--bg-card, #ffffff);color: #ffffff;flex-shrink: 0;}
.mp-digest-chk-chip.is-checked .mp-digest-chk-box{background: #10b981;border-color: #059669;}
.mp-digest-store-dot{width: 7px;height: 7px;border-radius: 50%;flex-shrink: 0;}
.mp-digest-author-cnt{font-size: 0.66rem;font-weight: 800;padding: 1px 6px;border-radius: 999px;background: rgba(148, 163, 184, 0.18);color: var(--text-sub, #475569);}
.mp-digest-author-toolbar{display: flex;align-items: center;gap: 6px;flex-wrap: wrap;}
.mp-digest-author-search-wrap{display: inline-flex;align-items: center;gap: 5px;padding: 3px 9px;border-radius: 999px;background: var(--bg-card, #ffffff);border: 1px solid var(--border-color, #cbd5e1);color: var(--text-muted, #64748b);}
.mp-digest-author-search{border: none;outline: none;background: transparent;color: var(--text-main, #0f172a);font-size: 0.73rem;width: 150px;}
.mp-digest-mini-btn{padding: 4px 10px;border-radius: 999px;font-size: 0.71rem;font-weight: 800;border: 1px solid var(--border-color, #cbd5e1);background: var(--bg-card, #ffffff);color: var(--text-main, #0f172a);cursor: pointer;transition: all 0.14s ease;}
.mp-digest-mini-btn:hover, .mp-digest-mini-btn.is-active{border-color: #059669;color: #059669;background: rgba(16, 185, 129, 0.08);}
.mp-digest-author-scroll{display: flex;flex-wrap: wrap;gap: 6px;max-height: 156px;overflow-y: auto;padding-top: 2px;}
.mp-digest-author-empty{font-size: 0.74rem;color: var(--text-muted, #64748b);padding: 6px 2px;}
.mp-digest-preview-accordion{margin-top: 12px;border-radius: 10px;border: 1px dashed var(--border-color, #cbd5e1);background: var(--bg-card-sub, #f8fafc);padding: 8px 12px;}
.mp-digest-preview-accordion > summary{cursor: pointer;font-size: 0.75rem;font-weight: 800;color: var(--text-main, #0f172a);user-select: none;}
.mp-digest-preview-box{margin-top: 8px;display: grid;grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));gap: 8px;font-size: 0.72rem;color: var(--text-sub, #475569);line-height: 1.5;}
.mp-digest-preview-tier{padding: 8px 10px;border-radius: 8px;background: var(--bg-card, #ffffff);border: 1px solid var(--border-color, #e2e8f0);}
.mp-digest-preview-tier strong{display: block;font-size: 0.72rem;color: var(--text-main, #0f172a);margin-bottom: 3px;}
:root{--hikabon-sale-header-banner-img: none;--hikabon-column-header-banner-img: none;}
.hikabon-section-header-banner{position: relative;width: 100%;height: 104px;min-height: 96px;max-height: 120px;margin: 12px 0 8px;border-radius: 14px;overflow: hidden;border: 1.5px solid var(--genre-border, rgba(180, 83, 9, 0.28));box-shadow: 0 4px 14px rgba(67, 40, 24, 0.06);display: flex;align-items: center;box-sizing: border-box;background: #fdfaf3;}
.hikabon-section-header-banner__bg{position: absolute;inset: 0;z-index: 0;background-size: cover;background-position: center;background-repeat: no-repeat;pointer-events: none;}
.hikabon-sale-header-banner .hikabon-section-header-banner__bg{background-image: var(--hikabon-sale-header-banner-img), radial-gradient(circle at 88% 24%, rgba(245, 158, 11, 0.20) 0%, transparent 48%), radial-gradient(circle at 12% 80%, rgba(217, 119, 6, 0.14) 0%, transparent 45%), linear-gradient(115deg, #fffdf8 0%, #f8efe0 54%, #efe0c4 100%);}
.hikabon-column-header-banner .hikabon-section-header-banner__bg{background-image: var(--hikabon-column-header-banner-img), radial-gradient(circle at 86% 28%, rgba(16, 185, 129, 0.14) 0%, transparent 48%), radial-gradient(circle at 14% 78%, rgba(180, 83, 9, 0.13) 0%, transparent 46%), linear-gradient(115deg, #fcfaf4 0%, #f1ead8 54%, #e5dbc2 100%);}
.hikabon-section-header-banner__content{position: relative;z-index: 1;width: 100%;padding: 12px 22px;display: flex;flex-direction: column;justify-content: center;gap: 5px;}
.hikabon-section-header-banner[data-banner-image-only="true"] .hikabon-section-header-banner__content{opacity: 0;pointer-events: none;}
.hikabon-section-header-banner__badge-row{display: flex;align-items: center;gap: 8px;flex-wrap: wrap;}
.hikabon-section-header-banner__eyebrow{display: inline-flex;align-items: center;gap: 5px;font-size: 0.68rem;font-weight: 900;letter-spacing: 0.08em;color: #78350f;background: rgba(255, 255, 255, 0.78);border: 1px solid rgba(180, 83, 9, 0.26);padding: 2px 9px;border-radius: 999px;}
.hikabon-section-header-banner__subpill{font-size: 0.68rem;font-weight: 800;color: #5c4033;background: rgba(67, 40, 24, 0.07);padding: 2px 8px;border-radius: 999px;}
.hikabon-section-header-banner__title-row{display: flex;align-items: baseline;justify-content: space-between;gap: 12px;flex-wrap: wrap;}
.hikabon-section-header-banner__title{margin: 0;font-size: clamp(1.02rem, 1.65vw, 1.24rem);font-weight: 900;color: #3b2314;letter-spacing: -0.01em;line-height: 1.25;}
.hikabon-section-header-banner__desc{margin: 0;font-size: 0.75rem;font-weight: 700;color: #6b5344;line-height: 1.35;}
html[data-theme="dark"] .hikabon-sale-header-banner .hikabon-section-header-banner__bg, body.dark-mode .hikabon-sale-header-banner .hikabon-section-header-banner__bg{background-image: var(--hikabon-sale-header-banner-img), linear-gradient(115deg, #1e293b 0%, #27201a 55%, #33261b 100%);}
html[data-theme="dark"] .hikabon-column-header-banner .hikabon-section-header-banner__bg, body.dark-mode .hikabon-column-header-banner .hikabon-section-header-banner__bg{background-image: var(--hikabon-column-header-banner-img), linear-gradient(115deg, #1e293b 0%, #1f2928 55%, #29251f 100%);}
html[data-theme="dark"] .hikabon-section-header-banner__title, body.dark-mode .hikabon-section-header-banner__title{color: #f8fafc;}
html[data-theme="dark"] .hikabon-section-header-banner__desc, body.dark-mode .hikabon-section-header-banner__desc, html[data-theme="dark"] .hikabon-section-header-banner__subpill, body.dark-mode .hikabon-section-header-banner__subpill{color: #cbd5e1;}
@media (max-width: 768px){.hikabon-section-header-banner{height: 72px;min-height: 64px;max-height: 80px;margin: 8px 0 6px;border-radius: 11px;}.hikabon-section-header-banner__content{padding: 8px 14px;gap: 2px;}.hikabon-section-header-banner__title{font-size: 0.92rem;}.hikabon-section-header-banner__desc{display: none;}}
.oshibon-board-card{position: relative;border-radius: 18px;padding: 18px 20px;background: var(--bg-card, #ffffff);border: 1.5px solid var(--border-color, #e2e8f0);box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);transition: box-shadow 0.2s ease, border-color 0.2s ease;}
.oshibon-board-card.is-dnd-over{border-color: #d97706 !important;box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.28), 0 12px 28px rgba(217, 119, 6, 0.16) !important;}
.oshibon-frame-showcase{position: relative;border-radius: 14px;padding: 20px 18px 16px;margin: 10px 0 12px;box-sizing: border-box;transition: all 0.22s ease;}
.oshibon-frame-showcase.frame-gallery-wood{background: linear-gradient(180deg, #fbf8f1 0%, #f3ecdd 100%);border: 8px solid #b08254;box-shadow: inset 0 2px 10px rgba(67, 40, 24, 0.14), 0 6px 18px rgba(67, 40, 24, 0.10);}
.oshibon-frame-showcase.frame-antique-gold{background: linear-gradient(180deg, #fffdf7 0%, #f6eed9 100%);border: 8px solid #c59b38;box-shadow: inset 0 0 0 2px #fdf3c7, inset 0 3px 12px rgba(120, 53, 15, 0.16), 0 8px 20px rgba(180, 130, 30, 0.16);}
.oshibon-frame-showcase.frame-museum-walnut{background: linear-gradient(180deg, #f8f5ef 0%, #ede6d8 100%);border: 9px solid #4a2e1b;box-shadow: inset 0 0 0 2px #d6c7b2, inset 0 4px 12px rgba(28, 18, 12, 0.20), 0 8px 20px rgba(28, 18, 12, 0.15);}
.oshibon-frame-showcase.frame-brass-noir{background: radial-gradient(circle at 50% 20%, #273244 0%, #151c28 100%);border: 8px solid #2d3748;box-shadow: inset 0 0 0 1.5px #d4af37, inset 0 4px 16px rgba(0, 0, 0, 0.45), 0 8px 22px rgba(15, 23, 42, 0.22);color: #f8fafc;}
.oshibon-frame-showcase.frame-watercolor-linen{background: linear-gradient(135deg, #f8faf7 0%, #eef5f0 52%, #f7f2ea 100%);border: 8px solid #94a89a;box-shadow: inset 0 0 0 2px #ffffff, inset 0 2px 10px rgba(71, 85, 105, 0.10), 0 6px 16px rgba(100, 116, 139, 0.10);}
.oshibon-books-stage{display: flex;flex-wrap: wrap;justify-content: center;align-items: flex-end;gap: 16px 18px;min-height: 158px;margin: 0 auto;}
.oshibon-books-stage[data-oshibon-count="1"] .oshibon-book-pedestal{width: 132px;}
.oshibon-books-stage[data-oshibon-count="2"] .oshibon-book-pedestal, .oshibon-books-stage[data-oshibon-count="3"] .oshibon-book-pedestal{width: 112px;}
.oshibon-books-stage[data-oshibon-count="4"] .oshibon-book-pedestal{width: 102px;}
.oshibon-books-stage[data-oshibon-count="5"] .oshibon-book-pedestal{width: 96px;}
.oshibon-books-stage[data-oshibon-count="6"] .oshibon-book-pedestal{max-width: 380px;width: 94px;}
.oshibon-books-stage[data-oshibon-count="6"]{max-width: 360px;}
.oshibon-books-stage[data-oshibon-count="7"], .oshibon-books-stage[data-oshibon-count="8"]{max-width: 460px;}
.oshibon-books-stage[data-oshibon-count="9"]{max-width: 540px;}
.oshibon-books-stage[data-oshibon-count="7"] .oshibon-book-pedestal, .oshibon-books-stage[data-oshibon-count="8"] .oshibon-book-pedestal, .oshibon-books-stage[data-oshibon-count="9"] .oshibon-book-pedestal{width: 88px;}
.oshibon-book-pedestal{display: flex;flex-direction: column;align-items: center;text-align: center;cursor: pointer;user-select: none;transition: transform 0.18s ease;position: relative;}
.oshibon-book-pedestal:hover{transform: translateY(-3px);}
.oshibon-book-cover-box{width: 100%;aspect-ratio: 1 / 1.42;display: flex;align-items: flex-end;justify-content: center;margin-bottom: 6px;background: transparent;}
.oshibon-book-cover-box img{max-width: 100%;max-height: 100%;width: auto;height: auto;object-fit: contain;border-radius: 3px;box-shadow: 0 6px 14px rgba(15, 23, 42, 0.22);display: block;pointer-events: none;}
.oshibon-book-meta-cap{width: 100%;display: flex;flex-direction: column;align-items: center;gap: 2px;}
.oshibon-reread-badge{display: inline-flex;align-items: center;gap: 3px;font-size: 0.63rem;font-weight: 800;padding: 1px 7px;border-radius: 999px;background: rgba(180, 83, 9, 0.12);color: #92400e;border: 1px solid rgba(180, 83, 9, 0.28);line-height: 1.35;white-space: nowrap;}
.frame-brass-noir .oshibon-reread-badge{background: rgba(251, 191, 36, 0.16);color: #fde68a;border-color: rgba(251, 191, 36, 0.36);}
.oshibon-book-title{font-size: 0.72rem;font-weight: 800;color: inherit;line-height: 1.25;max-width: 100%;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;}
.oshibon-book-author{font-size: 0.64rem;opacity: 0.76;max-width: 100%;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.oshibon-authors-bar{display: flex;align-items: center;gap: 6px;flex-wrap: wrap;padding: 8px 12px;border-radius: 10px;background: var(--bg-card-sub, rgba(248, 250, 252, 0.9));border: 1px solid var(--border-color, #e2e8f0);margin-bottom: 10px;}
.oshibon-authors-label{display: inline-flex;align-items: center;gap: 4px;font-size: 0.7rem;font-weight: 900;color: #78350f;white-space: nowrap;}
.oshibon-author-tag{display: inline-flex;align-items: center;gap: 4px;font-size: 0.71rem;font-weight: 800;padding: 2px 9px;border-radius: 999px;background: #ffffff;color: #334155;border: 1px solid rgba(180, 83, 9, 0.28);cursor: pointer;transition: all 0.15s ease;}
.oshibon-author-tag:hover{background: #fef3c7;border-color: #d97706;color: #78350f;}
.oshibon-edit-drawer{display: none;flex-direction: column;gap: 8px;margin-top: 10px;padding: 10px 12px;border-radius: 10px;background: rgba(241, 245, 249, 0.85);border: 1px dashed #94a3b8;}
.oshibon-board-card.is-editing .oshibon-edit-drawer{display: flex;}
.oshibon-edit-toggle-btn{display: inline-flex;align-items: center;gap: 4px;padding: 5px 11px;border-radius: 999px;font-size: 0.73rem;font-weight: 800;background: var(--bg-body, #f8fafc);color: var(--text-main, #334155);border: 1px solid var(--border-color, #cbd5e1);cursor: pointer;transition: all 0.16s ease;}
.oshibon-edit-toggle-btn.is-active{background: #432818;color: #fde68a;border-color: #432818;}
.hikabon-dnd-ghost{position: fixed;z-index: 99998;pointer-events: none;transform: translate(-50%, -65%) rotate(-3deg);padding: 6px 10px;border-radius: 10px;background: rgba(15, 23, 42, 0.92);color: #ffffff;font-size: 0.74rem;font-weight: 800;box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);border: 1.5px solid #fbbf24;display: inline-flex;align-items: center;gap: 7px;max-width: 220px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.hikabon-throw-dock{position: fixed;left: 50%;bottom: 22px;transform: translateX(-50%);z-index: 99995;display: none;align-items: center;gap: 10px;padding: 10px 14px;border-radius: 18px;background: rgba(15, 23, 42, 0.94);backdrop-filter: blur(10px);border: 1.5px solid rgba(251, 191, 36, 0.45);box-shadow: 0 16px 38px rgba(0, 0, 0, 0.36);}
.hikabon-throw-dock.is-visible{display: flex;}
.hikabon-throw-target{display: inline-flex;align-items: center;gap: 7px;padding: 10px 16px;border-radius: 12px;background: rgba(255, 255, 255, 0.10);color: #f8fafc;border: 1.5px dashed rgba(255, 255, 255, 0.36);font-size: 0.78rem;font-weight: 900;transition: all 0.15s ease;white-space: nowrap;}
.hikabon-throw-target.is-drop-hover{background: linear-gradient(135deg, #f59e0b, #d97706);color: #ffffff;border-style: solid;border-color: #fde68a;transform: scale(1.06);}
.hikabon-book-context-menu{position: fixed;z-index: 99999;min-width: 208px;padding: 6px;border-radius: 12px;background: var(--bg-card, #ffffff);border: 1.5px solid var(--border-color, #cbd5e1);box-shadow: 0 14px 34px rgba(15, 23, 42, 0.20);display: none;flex-direction: column;gap: 2px;}
.hikabon-book-context-menu.is-open{display: flex;}
.hikabon-ctx-header{padding: 5px 9px 6px;font-size: 0.7rem;font-weight: 800;color: var(--text-sub, #64748b);border-bottom: 1px solid var(--border-color, #e2e8f0);margin-bottom: 2px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;max-width: 220px;}
.hikabon-ctx-item{display: flex;align-items: center;gap: 8px;width: 100%;padding: 7px 10px;border: none;border-radius: 8px;background: transparent;color: var(--text-main, #0f172a);font-size: 0.78rem;font-weight: 800;text-align: left;cursor: pointer;transition: background 0.12s ease;}
.hikabon-ctx-item:hover{background: rgba(217, 119, 6, 0.10);color: #92400e;}
.hikabon-ctx-item.is-danger:hover{background: rgba(239, 68, 68, 0.10);color: #be123c;}
.hikabon-reading-log-panel{border-radius: 16px;padding: 16px 18px;background: var(--bg-card, #ffffff);border: 1.5px solid var(--border-color, #e2e8f0);box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);}
.reading-lamp-btn{display: inline-flex;align-items: center;gap: 7px;padding: 8px 16px;border-radius: 999px;font-size: 0.78rem;font-weight: 900;cursor: pointer;border: 1.5px solid #d97706;background: linear-gradient(135deg, #fffbeb, #fef3c7);color: #92400e;transition: all 0.2s ease;}
.reading-lamp-btn.is-lit{background: linear-gradient(135deg, #f59e0b, #d97706);color: #ffffff;border-color: #b45309;box-shadow: 0 0 16px rgba(245, 158, 11, 0.42);}
.reading-tendency-grid{display: grid;grid-template-columns: 1.35fr 1fr 1fr;gap: 12px;margin-top: 12px;}
@media (max-width: 860px){.reading-tendency-grid{grid-template-columns: 1fr;}.oshibon-books-stage{gap: 12px;}.oshibon-books-stage[data-oshibon-count="2"] .oshibon-book-pedestal, .oshibon-books-stage[data-oshibon-count="3"] .oshibon-book-pedestal{width: 92px;}}
.reading-tendency-box{padding: 11px 13px;border-radius: 12px;background: var(--bg-card-sub, #f8fafc);border: 1px solid var(--border-color, #e2e8f0);}
.reading-hour-bars{display: grid;grid-template-columns: repeat(24, minmax(0, 1fr));align-items: end;gap: 2px;height: 54px;margin-top: 8px;padding-top: 4px;}
.reading-hour-bar-col{display: flex;flex-direction: column;align-items: center;justify-content: flex-end;height: 100%;}
.reading-hour-bar-fill{width: 100%;border-radius: 3px 3px 1px 1px;background: rgba(148, 163, 184, 0.35);min-height: 4px;transition: height 0.25s ease;}
.reading-hour-bar-fill.is-active{background: linear-gradient(180deg, #f59e0b, #d97706);}
.reading-hour-bar-fill.is-now{background: linear-gradient(180deg, #fb7185, #e11d48);}
.comm-empathy-pure-btn{display: inline-flex;align-items: center;justify-content: center;gap: 5px;padding: 5px 12px;border-radius: 999px;font-size: 0.74rem;font-weight: 800;cursor: pointer;border: 1.5px solid var(--border-color, #cbd5e1);background: var(--bg-card, #ffffff);color: var(--text-sub, #475569);transition: all 0.16s ease;white-space: nowrap;}
.comm-empathy-pure-btn:hover{border-color: rgba(225, 29, 72, 0.45);color: #be123c;}
.comm-empathy-pure-btn.is-liked{border-color: rgba(225, 29, 72, 0.45);background: rgba(225, 29, 72, 0.09);color: #e11d48;}
#mypage-shelf-anchor-mount .mypage-bookshelf-theater-card, .mypage-bookshelf-theater-card{display: flex !important;flex-direction: row;align-items: center;justify-content: space-between;flex-wrap: wrap;height: auto !important;min-height: 0 !important;padding: 14px 18px !important;visibility: visible;opacity: 1;}
#mypage-shelf-anchor-mount .hika-room-wrapper{visibility: visible;opacity: 1;min-height: 480px;}
#mypage-shelf-anchor-mount .hika-room-left-rail, .hika-room-left-rail{display: flex !important;flex-direction: column !important;align-items: stretch;gap: 12px;visibility: visible;opacity: 1;}
#mypage-shelf-anchor-mount .hika-room-stage, .hika-room-stage{display: flex !important;flex-direction: column !important;align-items: center;justify-content: center;visibility: visible;opacity: 1;min-height: 380px;overflow: visible;}
#mypage-shelf-anchor-mount .hika-room-canvas{display: block;visibility: visible;opacity: 1;}
#mypage-shelf-anchor-mount .hika-room-closet, .hika-room-closet{display: flex !important;flex-direction: column !important;align-items: stretch;visibility: visible;opacity: 1;}
header{border-bottom: none !important;padding-bottom: 0 !important;}
header .header-inner, main{max-width: 1560px !important;width: 100% !important;margin-left: auto !important;margin-right: auto !important;box-sizing: border-box !important;}
@media (min-width: 769px){header .header-inner{padding-left: 16px !important;padding-right: 16px !important;padding-bottom: 0 !important;}main{padding-left: 16px !important;padding-right: 16px !important;}}
@media (max-width: 768px){header{padding: 8px 0 0 0 !important;}header .header-inner{padding: 0 10px !important;}main{padding-left: 10px !important;padding-right: 10px !important;}#mobile-genre-dropdown-bar{width: 100% !important;max-width: 100% !important;margin: 0 !important;padding: 4px 6px !important;box-sizing: border-box !important;background: #ede8df;border: 1.5px solid var(--genre-border) !important;border-radius: 10px !important;}html[data-theme="dark"] #mobile-genre-dropdown-bar{background: #111622;}}
header .genre-selector-bar, header .sub-genre-bar, header #free-genre-bar, header #media-genre-bar, header #reader-genre-bar, header #unlimited-genre-bar, header #reading-items-genre-bar, header #awards-genre-bar, header #mypage-genre-bar, #unified-sale-toolbar, .unified-sale-toolbar, #ranking-toolbar, .unified-ranking-toolbar, #free-toolbar, .unified-free-toolbar, #schedule-toolbar, .unified-schedule-toolbar, #award-toolbar, .unified-award-toolbar, #youtube-toolbar, .unified-youtube-toolbar, #media-toolbar, .unified-media-toolbar, #reader-toolbar, #unlimited-toolbar, #reading-items-toolbar, #mypage-toolbar, .unified-reader-toolbar, #view-sale-detail .filter-panel-box, #permanent-search-results .search-filter-panel-box, .mybookshelf-hero-box{width: 100% !important;max-width: 100% !important;margin-left: 0 !important;margin-right: 0 !important;box-sizing: border-box !important;transition: box-shadow 0.2s ease, background 0.2s ease, border-color 0.25s ease !important;}
header.toolbar-stuck .genre-selector-bar, header.toolbar-stuck .sub-genre-bar, header.toolbar-stuck #mobile-genre-dropdown-bar, header.toolbar-stuck #free-genre-bar, header.toolbar-stuck #media-genre-bar, header.toolbar-stuck #reader-genre-bar, header.toolbar-stuck #unlimited-genre-bar, header.toolbar-stuck #reading-items-genre-bar, header.toolbar-stuck #awards-genre-bar, header.toolbar-stuck #mypage-genre-bar, body.is-ranking-view header .genre-selector-bar, body.is-ranking-view header #mobile-genre-dropdown-bar, body.is-free-view header #free-genre-bar, body.is-schedule-view header .genre-selector-bar, body.is-schedule-view header #mobile-genre-dropdown-bar, body.is-awards-view header #awards-genre-bar, body.is-awards-view header .genre-selector-bar, body.is-youtube-view header .genre-selector-bar, body.is-youtube-view header #mobile-genre-dropdown-bar, body.is-media-view header #media-genre-bar, body.is-reader-view header #reader-genre-bar, body.is-unlimited-view header #unlimited-genre-bar, body.is-reading-items-view header #reading-items-genre-bar, body.is-mypage-view header #mypage-genre-bar{border-bottom-left-radius: 0 !important;border-bottom-right-radius: 0 !important;margin-bottom: 0 !important;border-bottom: 1.5px solid var(--genre-border) !important;}
body.is-mypage-view header #mypage-genre-bar, header.toolbar-stuck #mypage-genre-bar{border-bottom: 1.5px solid var(--mp-border, rgba(217, 119, 6, 0.58)) !important;}
#unified-sale-toolbar.is-stuck, .unified-sale-toolbar.is-stuck, #view-sale-detail .filter-panel-box.is-stuck, #permanent-search-results .search-filter-panel-box.is-stuck, .mybookshelf-hero-box.is-stuck, body.is-ranking-view #ranking-toolbar, #ranking-toolbar.is-stuck, .unified-ranking-toolbar.is-stuck, body.is-free-view #free-toolbar, #free-toolbar.is-stuck, .unified-free-toolbar.is-stuck, body.is-schedule-view #schedule-toolbar, #schedule-toolbar.is-stuck, .unified-schedule-toolbar.is-stuck, body.is-awards-view #award-toolbar, #award-toolbar.is-stuck, .unified-award-toolbar.is-stuck, body.is-youtube-view #youtube-toolbar, #youtube-toolbar.is-stuck, .unified-youtube-toolbar.is-stuck, body.is-media-view #media-toolbar, #media-toolbar.is-stuck, .unified-media-toolbar.is-stuck, body.is-reader-view #reader-toolbar, #reader-toolbar.is-stuck, body.is-unlimited-view #unlimited-toolbar, #unlimited-toolbar.is-stuck, body.is-reading-items-view #reading-items-toolbar, #reading-items-toolbar.is-stuck, body.is-mypage-view #mypage-toolbar, #mypage-toolbar.is-stuck{top: calc(var(--header-actual-height, 108px) - 2px) !important;border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-top: 0 !important;margin-top: -1px !important;}
#modal-darkmode-upsell .darkmode-upsell-modal-box{max-width: 560px;width: calc(100% - 28px);padding: 0;border-radius: 20px;overflow: hidden;background: #ffffff;border: 1.5px solid rgba(217, 119, 6, 0.38);box-shadow: 0 24px 60px rgba(15, 23, 42, 0.45);position: relative;}
#modal-darkmode-upsell .darkmode-upsell-close-x{position: absolute;top: 12px;right: 12px;z-index: 10;width: 32px;height: 32px;border-radius: 999px;background: rgba(15, 23, 42, 0.65);color: #ffffff;border: 1px solid rgba(255, 255, 255, 0.28);font-size: 1.2rem;line-height: 1;display: inline-flex;align-items: center;justify-content: center;cursor: pointer;}
.darkmode-upsell-hero{position: relative;padding: 22px 22px 18px;color: #f8fafc;overflow: hidden;background: #0f172a;}
.darkmode-upsell-hero-bg{position: absolute;inset: 0;z-index: 0;}
.darkmode-upsell-hero-img{width: 100%;height: 100%;object-fit: cover;opacity: 0.42;}
.darkmode-upsell-hero-overlay{position: absolute;inset: 0;background: linear-gradient(155deg, rgba(15, 23, 42, 0.86) 0%, rgba(15, 23, 42, 0.78) 55%, rgba(30, 41, 59, 0.94) 100%);}
.darkmode-upsell-hero-content{position: relative;z-index: 1;}
.darkmode-upsell-badge-row{display: flex;flex-wrap: wrap;align-items: center;gap: 7px;margin-bottom: 9px;}
.darkmode-upsell-crown-pill{display: inline-flex;align-items: center;gap: 5px;padding: 3px 10px;border-radius: 999px;background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);color: #111827;font-size: 0.66rem;font-weight: 900;letter-spacing: 0.04em;}
.darkmode-upsell-sub-pill{padding: 2.5px 9px;border-radius: 999px;background: rgba(255, 255, 255, 0.14);border: 1px solid rgba(251, 191, 36, 0.45);color: #fde68a;font-size: 0.66rem;font-weight: 800;}
.darkmode-upsell-headline{margin: 0 0 7px;font-size: 1.02rem;font-weight: 900;line-height: 1.44;color: #ffffff;}
.darkmode-upsell-lead{margin: 0;font-size: 0.76rem;line-height: 1.56;color: #cbd5e1;}
.darkmode-upsell-body{padding: 16px 20px 20px;background: #fffdf9;}
.darkmode-upsell-preview-grid{display: grid;grid-template-columns: 1fr auto 1fr;align-items: center;gap: 8px;margin-bottom: 14px;}
.darkmode-preview-card{border-radius: 12px;overflow: hidden;border: 1.5px solid #e2d8c5;background: #ffffff;}
.darkmode-preview-card.is-night{background: #0f172a;border-color: #f59e0b;box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22);}
.darkmode-preview-thumb{display: block;width: 100%;height: 64px;object-fit: cover;}
.darkmode-preview-meta{padding: 6px 9px 7px;display: flex;flex-direction: column;gap: 2px;font-size: 0.72rem;color: #1e293b;}
.darkmode-preview-card.is-night .darkmode-preview-meta{color: #f8fafc;}
.darkmode-preview-tag{font-size: 0.60rem;font-weight: 800;color: #64748b;}
.darkmode-preview-tag.is-gold{color: #fbbf24;}
.darkmode-preview-arrow{color: #d97706;display: flex;align-items: center;justify-content: center;}
.darkmode-upsell-compare-wrap{border-radius: 12px;border: 1px solid #e5dccb;overflow: hidden;margin-bottom: 15px;background: #ffffff;}
.darkmode-upsell-compare-table{width: 100%;border-collapse: collapse;font-size: 0.74rem;}
.darkmode-upsell-compare-table th{background: #f8f3ea;color: #432818;padding: 7px 10px;font-weight: 900;text-align: left;border-bottom: 1px solid #e5dccb;}
.darkmode-upsell-compare-table th.is-premium-col{background: #fff7ed;color: #9a3412;text-align: center;}
.darkmode-upsell-compare-table td{padding: 7px 10px;border-bottom: 1px solid #f1ece1;color: #334155;font-weight: 700;}
.darkmode-upsell-compare-table tr:last-child td{border-bottom: none;}
.darkmode-upsell-compare-table td.is-muted{color: #64748b;font-weight: 600;white-space: nowrap;}
.darkmode-upsell-compare-table td.is-strong{color: #b45309;font-weight: 900;text-align: center;background: rgba(254, 243, 199, 0.35);white-space: nowrap;}
.darkmode-upsell-compare-table tr.is-highlight-row td{background: #fffbeb;}
.darkmode-upsell-actions{display: flex;flex-direction: column;gap: 8px;}
.darkmode-upsell-cta-btn{width: 100%;display: inline-flex;align-items: center;justify-content: center;gap: 7px;padding: 12px 16px;border-radius: 999px;border: none;background: linear-gradient(135deg, #ea580c 0%, #d97706 100%);color: #ffffff;font-size: 0.85rem;font-weight: 900;cursor: pointer;box-shadow: 0 6px 18px rgba(234, 88, 12, 0.32);transition: transform 0.15s ease, filter 0.15s ease;}
.darkmode-upsell-cta-btn:hover{transform: translateY(-1px);filter: brightness(1.05);}
.darkmode-upsell-later-btn{width: 100%;padding: 8px 12px;border-radius: 999px;border: 1px solid #cbd5e1;background: #ffffff;color: #475569;font-size: 0.76rem;font-weight: 800;cursor: pointer;}
@media (max-width: 520px){.darkmode-upsell-preview-grid{grid-template-columns: 1fr;}.darkmode-preview-arrow{display: none;}}
.curiosity-hero-banner{border-radius: 16px;padding: 20px 22px;background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 52%, #fffdf9 100%);border: 1.5px solid #bae6fd;border-left: 6px solid #0284c7;box-shadow: 0 4px 16px rgba(2, 132, 199, 0.08);box-sizing: border-box;}
html[data-theme="dark"] .curiosity-hero-banner{background: linear-gradient(135deg, #0c1e2e 0%, #11293d 55%, #0f172a 100%);border-color: rgba(56, 189, 248, 0.35);border-left-color: #0ea5e9;}
.curiosity-hero-badges{display: flex;flex-wrap: wrap;align-items: center;gap: 8px;margin-bottom: 8px;}
.curiosity-hero-pill-main{display: inline-flex;align-items: center;gap: 5px;padding: 3px 10px;border-radius: 999px;background: #0284c7;color: #ffffff;font-size: 0.69rem;font-weight: 900;}
.curiosity-hero-pill-sub{padding: 3px 10px;border-radius: 999px;background: rgba(255, 255, 255, 0.85);border: 1px solid #7dd3fc;color: #0369a1;font-size: 0.68rem;font-weight: 800;}
html[data-theme="dark"] .curiosity-hero-pill-sub{background: rgba(15, 23, 42, 0.7);border-color: rgba(56, 189, 248, 0.4);color: #bae6fd;}
.curiosity-hero-title{margin: 0 0 8px;font-size: 1.32rem;font-weight: 900;color: #0c4a6e;line-height: 1.35;display: flex;flex-wrap: wrap;align-items: baseline;gap: 8px;}
html[data-theme="dark"] .curiosity-hero-title{color: #f0f9ff;}
.curiosity-hero-title-sub{font-size: 1.02rem;font-weight: 800;color: #0369a1;}
html[data-theme="dark"] .curiosity-hero-title-sub{color: #7dd3fc;}
.curiosity-hero-desc{margin: 0;font-size: 0.82rem;line-height: 1.65;color: #334155;font-weight: 600;}
html[data-theme="dark"] .curiosity-hero-desc{color: #cbd5e1;}
.curiosity-guide-container{display: flex;flex-direction: column;gap: 24px;}
.curiosity-genre-section{border-radius: 16px;background: var(--bg-card, #ffffff);border: 1.5px solid var(--border-color, #e2e8f0);border-top: 4px solid var(--curiosity-accent, #0284c7);padding: 18px 18px 20px;box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);box-sizing: border-box;}
.curiosity-genre-head{margin-bottom: 14px;padding-bottom: 12px;border-bottom: 1px solid var(--border-color, #e2e8f0);}
.curiosity-genre-title-row{display: flex;flex-wrap: wrap;align-items: center;gap: 7px;margin-bottom: 6px;}
.curiosity-genre-num{padding: 2px 8px;border-radius: 6px;background: var(--curiosity-accent, #0284c7);color: #ffffff;font-size: 0.64rem;font-weight: 900;letter-spacing: 0.04em;}
.curiosity-genre-badge{padding: 2px 9px;border-radius: 999px;background: rgba(2, 132, 199, 0.1);color: var(--text-main, #0f172a);font-size: 0.67rem;font-weight: 800;}
.curiosity-genre-count{font-size: 0.70rem;font-weight: 800;color: var(--text-sub, #64748b);}
.curiosity-genre-heading{margin: 0 0 5px;font-size: 1.12rem;font-weight: 900;color: var(--text-main, #0f172a);line-height: 1.38;}
.curiosity-genre-lead{margin: 0;font-size: 0.79rem;line-height: 1.58;color: var(--text-sub, #475569);}
.curiosity-books-grid{display: grid;grid-template-columns: repeat(2, minmax(0, 1fr));gap: 14px;}
@media (max-width: 860px){.curiosity-books-grid{grid-template-columns: 1fr;}}
.curiosity-book-card{display: flex;flex-direction: column;justify-content: space-between;gap: 11px;padding: 13px 14px;border-radius: 13px;background: var(--bg-card-sub, #f8fafc);border: 1px solid var(--border-color, #e2e8f0);box-sizing: border-box;transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;}
.curiosity-book-card:hover{border-color: var(--curiosity-accent, #0284c7);box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);transform: translateY(-1px);}
.curiosity-book-main{display: flex;align-items: flex-start;gap: 12px;}
.curiosity-book-cover-wrap{flex: 0 0 68px;width: 68px;height: 98px;border-radius: 7px;overflow: hidden;background: #ffffff;border: 1px solid rgba(148, 163, 184, 0.35);box-shadow: 0 3px 8px rgba(15, 23, 42, 0.12);}
.curiosity-book-cover{width: 100%;height: 100%;object-fit: cover;display: block;}
.curiosity-book-info{flex: 1;min-width: 0;}
.curiosity-book-meta-top{display: flex;flex-wrap: wrap;align-items: center;justify-content: space-between;gap: 5px;margin-bottom: 4px;}
.curiosity-book-tag{padding: 1.5px 7px;border-radius: 5px;background: rgba(2, 132, 199, 0.12);color: var(--curiosity-accent, #0369a1);font-size: 0.64rem;font-weight: 900;}
html[data-theme="dark"] .curiosity-book-tag{background: rgba(56, 189, 248, 0.18);color: #7dd3fc;}
.curiosity-book-ref-price{font-size: 0.65rem;font-weight: 700;color: var(--text-sub, #64748b);}
.curiosity-book-title{margin: 0 0 3px;font-size: 0.88rem;font-weight: 900;line-height: 1.38;color: var(--text-main, #0f172a);}
.curiosity-book-author{font-size: 0.70rem;color: var(--text-sub, #64748b);margin-bottom: 6px;line-height: 1.35;}
.curiosity-book-pub-sep{margin: 0 4px;opacity: 0.5;}
.curiosity-book-takeaway{margin: 0;padding: 7px 9px;border-radius: 8px;background: var(--bg-card, #ffffff);border-left: 3px solid var(--curiosity-accent, #0284c7);font-size: 0.74rem;line-height: 1.52;color: var(--text-main, #1e293b);font-weight: 700;}
.curiosity-book-footer{display: flex;flex-direction: column;gap: 7px;}
.curiosity-store-btn-grid{display: grid;grid-template-columns: repeat(4, minmax(0, 1fr));gap: 5px;}
@media (max-width: 520px){.curiosity-store-btn-grid{grid-template-columns: repeat(2, minmax(0, 1fr));}}
.curiosity-store-btn{display: flex;flex-direction: column;align-items: center;justify-content: center;padding: 5px 4px;border-radius: 8px;text-decoration: none !important;line-height: 1.2;border: 1px solid transparent;transition: transform 0.14s ease, filter 0.14s ease;}
.curiosity-store-btn:hover{transform: translateY(-1px);filter: brightness(1.05);text-decoration: none !important;}
.curiosity-store-name{font-size: 0.67rem;font-weight: 900;white-space: nowrap;}
.curiosity-store-arrow{font-size: 0.57rem;font-weight: 800;opacity: 0.9;white-space: nowrap;}
.curiosity-store-btn.is-kindle{background: #232f3e;border-color: #ff9900;color: #ffffff !important;}
.curiosity-store-btn.is-kindle .curiosity-store-arrow{color: #ffb84d;}
.curiosity-store-btn.is-kobo{background: #bf0000;border-color: #fca5a5;color: #ffffff !important;}
.curiosity-store-btn.is-ebookjapan{background: #be123c;border-color: #fda4af;color: #ffffff !important;}
.curiosity-store-btn.is-ebookjapan .curiosity-store-arrow{color: #ffffff;opacity: 1;}
.curiosity-store-btn.is-dmm{background: #18181b;border-color: #facc15;color: #fde047 !important;}
.curiosity-book-utility-row{display: flex;align-items: center;justify-content: space-between;gap: 8px;}
.curiosity-price-note{font-size: 0.64rem;color: var(--text-muted, #64748b);}
.spine-owl-emblem{display: flex;align-items: center;justify-content: center;margin: 4px auto 3px;line-height: 1;opacity: 0.95;pointer-events: none;flex-shrink: 0;width: 100%;}
.spine-owl-emblem svg{width: 18px;height: 18px;display: block;overflow: visible;filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.75));}
.shelf-spine-book.spine-w-wide .spine-owl-emblem svg, .shelf-spine-book.spine-w-thick .spine-owl-emblem svg{width: 20px;height: 20px;}
.shelf-spine-book.spine-w-thin .spine-owl-emblem{display: none;}
.spine-design-grid{display: grid;grid-template-columns: repeat(4, 1fr);gap: 6px;margin-top: 6px;}
@media (max-width: 640px){.spine-design-grid{grid-template-columns: repeat(2, 1fr);}}
.top-sales-sticky-scope{position: relative;width: 100%;max-width: 100%;}
.quick-keywords-list{display: flex;align-items: center;gap: 6px;flex-wrap: nowrap;flex-shrink: 0;}
.top-mp-pills-track.has-scroll-right, .toolbar-store-segment.has-scroll-right, .toolbar-sort-group.has-scroll-right, .sort-segment-group.has-scroll-right, .genre-selector-bar.has-scroll-right, .reader-tab-pills.has-scroll-right, .award-cat-tabs-scroll.has-scroll-right{-webkit-mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 26px), transparent 100%);mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 26px), transparent 100%);}
.top-mp-pills-track.has-scroll-left.has-scroll-right, .toolbar-store-segment.has-scroll-left.has-scroll-right, .toolbar-sort-group.has-scroll-left.has-scroll-right, .sort-segment-group.has-scroll-left.has-scroll-right, .genre-selector-bar.has-scroll-left.has-scroll-right, .reader-tab-pills.has-scroll-left.has-scroll-right, .award-cat-tabs-scroll.has-scroll-left.has-scroll-right{-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 16px, #000 calc(100% - 26px), transparent 100%);mask-image: linear-gradient(to right, transparent 0%, #000 16px, #000 calc(100% - 26px), transparent 100%);}
@media (max-width: 900px){.top-mypage-shortcut-bar{flex-wrap: wrap !important;padding: 6px 9px !important;gap: 6px !important;}.top-mypage-shortcut-bar .top-mp-cta-btn{margin-left: auto !important;}.top-mypage-shortcut-bar .top-mp-pills-track{flex: 0 0 100% !important;width: 100% !important;max-width: 100% !important;order: 3 !important;}.top-mp-pills-track::after, .toolbar-store-segment .store-segment-group::after, .sort-segment-group::after{content: "";flex: 0 0 14px;min-width: 14px;height: 1px;display: block;}}
@media (min-width: 768px){.hikabon-floating-dock{display: contents !important;}.hikabon-dock-collapse-btn, #header-creator-guard-pill, .mobile-genre-fab-container, #mobile-genre-dropdown-bar{display: none !important;}}
@media (min-width: 768px) and (max-width: 1100px){header .genre-selector-bar .genre-main-btn{flex: 0 0 auto !important;width: auto !important;min-width: max-content !important;padding: 5px 10px !important;font-size: 0.74rem !important;gap: 4px !important;}header .genre-selector-bar::after{content: "";flex: 0 0 16px;min-width: 16px;height: 1px;display: block;}}
@media (min-width: 768px) and (max-width: 1023px){main{padding-bottom: 92px !important;}#creator-guard-badge{padding: 4px 10px !important;font-size: 0.66rem !important;bottom: 14px !important;left: 14px !important;}.quick-keywords-bar{flex-wrap: wrap !important;overflow-x: visible !important;}.quick-keywords-list, #quick-keywords-list{flex-wrap: wrap !important;flex-shrink: 1 !important;min-width: 0 !important;}.quick-kw-empty-note{white-space: normal !important;line-height: 1.4 !important;}.top-4store-unified-console .t4s-table-scroll{overflow-x: hidden !important;}.t4s-table.t4s-matrix-5col{min-width: 0 !important;width: 100% !important;table-layout: fixed !important;}.t4s-table.t4s-matrix-5col th, .t4s-table.t4s-matrix-5col td{white-space: normal !important;padding: 7px 6px !important;}.t4s-table.t4s-matrix-5col th.t4s-col-store, .t4s-table.t4s-matrix-5col td.t4s-td-store{position: static !important;width: 18% !important;min-width: 0 !important;max-width: none !important;box-shadow: none !important;}.t4s-table.t4s-matrix-5col th.t4s-col-first, .t4s-table.t4s-matrix-5col td.t4s-td-first{width: 18% !important;min-width: 0 !important;}.t4s-table.t4s-matrix-5col th.t4s-col-specialday, .t4s-table.t4s-matrix-5col td.t4s-td-specialday{width: 21% !important;min-width: 0 !important;}.t4s-table.t4s-matrix-5col th.t4s-col-salelist, .t4s-table.t4s-matrix-5col td.t4s-td-salelist{width: 24% !important;min-width: 0 !important;}.t4s-table.t4s-matrix-5col th.t4s-col-column, .t4s-table.t4s-matrix-5col td.t4s-td-column{width: 19% !important;min-width: 0 !important;}.t4s-table.t4s-matrix-5col .t4s-perk-direct-btn, .t4s-table.t4s-matrix-5col .t4s-first-cap-badge, .t4s-table.t4s-matrix-5col .t4s-matrix-cell-btn, .t4s-table.t4s-matrix-5col .t4s-perk-strategy-btn, .t4s-table.t4s-matrix-5col .t4s-column-sub-btn, .t4s-table.t4s-matrix-5col .t4s-store-banner-sub, .t4s-table.t4s-matrix-5col .t4s-banner-sub-row{display: block !important;text-align: center !important;white-space: normal !important;height: auto !important;line-height: 1.32 !important;font-size: 0.64rem !important;padding: 4px 5px !important;}.t4s-table.t4s-matrix-5col .t4s-salelist-grid-2col{grid-template-columns: 1fr !important;gap: 4px !important;}#top-page-guide-section{scroll-margin-top: calc(var(--header-actual-height, 96px) + 12px) !important;}}
@media (max-width: 767px){html, body{overflow-x: clip !important;max-width: 100% !important;}main{padding: 8px 10px 76px !important;}footer{padding-bottom: 68px !important;}header{padding: 5px 0 0 0 !important;}header .header-inner{padding: 0 8px !important;gap: 4px !important;width: 100% !important;max-width: 100% !important;}.header-top-row{gap: 6px !important;min-width: 0 !important;}.brand-logo-link{gap: 5px !important;min-width: max-content !important;flex: 0 0 auto !important;}.brand-avatar{width: 26px !important;height: 26px !important;}.brand-title{font-size: 0.96rem !important;white-space: nowrap !important;}.brand-subtitle, .brand-tagline{display: none !important;}.genre-selector-bar{display: none !important;}#mobile-genre-dropdown-bar{display: flex !important;align-items: center !important;gap: 5px !important;width: 100% !important;max-width: 100% !important;margin: 0 !important;padding: 3px 5px !important;}#mobile-genre-dropdown-bar .mobile-home-btn{flex-shrink: 0 !important;padding: 4px 7px !important;font-size: 0.70rem !important;min-height: 26px !important;}#mobile-genre-dropdown-bar .mobile-genre-trigger, #mobile-genre-dropdown-bar .mobile-category-trigger{display: flex !important;flex: 1 1 0 !important;width: auto !important;min-width: 0 !important;max-width: none !important;padding: 4px 7px !important;font-size: 0.70rem !important;min-height: 26px !important;}.header-top-actions{display: flex !important;align-items: center !important;gap: 3px !important;flex-shrink: 0 !important;min-width: 0 !important;}#header-global-columns-btn, .header-action-btn.calc-btn{display: none !important;}.header-action-btn{height: 28px !important;padding: 0 6px !important;font-size: 0.70rem !important;gap: 3px !important;border-radius: 8px !important;}#header-global-guide-btn{padding: 0 4px !important;min-width: 25px !important;justify-content: center !important;}#header-global-guide-btn span{display: none !important;}#header-alert-bell-btn{padding: 3px 4px !important;min-width: 25px !important;}.header-action-btn.header-mypage-btn{height: 28px !important;padding: 0 6px !important;font-size: 0.67rem !important;gap: 2px !important;}#header-global-login-btn, .header-action-btn.header-auth-btn{height: 28px !important;padding: 0 6px !important;font-size: 0.69rem !important;}.header-action-btn.header-user-pill-btn{height: 28px !important;padding: 0 6px 0 4px !important;gap: 3px !important;max-width: 120px !important;min-width: 0 !important;border-radius: 999px !important;font-size: 0.71rem !important;}.header-user-pill-btn .header-user-status-dot{display: none !important;}.header-user-pill-btn .header-user-avatar-icon{width: 17px !important;height: 17px !important;flex-shrink: 0 !important;}.header-user-pill-btn .header-user-avatar-icon > *, .header-user-pill-btn .header-user-avatar-icon img, .header-user-pill-btn .header-user-avatar-icon svg{width: 17px !important;height: 17px !important;max-width: 17px !important;max-height: 17px !important;min-width: 17px !important;font-size: 0.56rem !important;}.header-user-pill-btn .header-user-name-label{font-size: 0.71rem !important;max-width: 78px !important;overflow: hidden !important;text-overflow: ellipsis !important;white-space: nowrap !important;line-height: 1.15 !important;}.header-user-dropdown{width: min(332px, calc(100vw - 16px)) !important;min-width: 0 !important;max-width: calc(100vw - 16px) !important;right: 0 !important;}#creator-guard-badge, body.is-admin-authorized #creator-guard-badge{display: none !important;}#header-creator-guard-pill{display: none !important;}body.is-admin-authorized #header-creator-guard-pill.is-active{display: inline-flex !important;align-items: center !important;justify-content: center !important;height: 26px !important;padding: 0 5px !important;min-width: 25px !important;gap: 2.5px !important;border-radius: 999px !important;background: linear-gradient(135deg, #065f46, #047857) !important;border: 1px solid #34d399 !important;color: #ecfdf5 !important;font-size: 0.58rem !important;font-weight: 900 !important;letter-spacing: 0.02em !important;box-shadow: 0 1px 4px rgba(5, 150, 105, 0.25) !important;}#header-creator-guard-pill .hcg-pill-dot{width: 5px;height: 5px;border-radius: 50%;background: #6ee7b7;flex-shrink: 0;}}
@media (max-width: 520px){#header-creator-guard-pill .hcg-pill-text{display: none !important;}.header-user-pill-btn .header-user-name-label{max-width: 68px !important;}}
@media (max-width: 389px){header .header-inner{padding: 0 6px !important;}.header-top-row{gap: 4px !important;}.brand-logo-link{gap: 4px !important;}.brand-avatar{width: 24px !important;height: 24px !important;}.brand-title{font-size: 0.90rem !important;}.header-top-actions{gap: 2px !important;}#header-alert-bell-btn{padding: 2px 3px !important;min-width: 23px !important;}#header-global-guide-btn{padding: 0 3px !important;min-width: 23px !important;}body.is-admin-authorized #header-creator-guard-pill.is-active{padding: 0 4px !important;min-width: 23px !important;}.header-action-btn.header-mypage-btn{padding: 0 5px !important;font-size: 0.64rem !important;}.header-action-btn.header-mypage-btn > svg{display: none !important;}.header-action-btn.header-user-pill-btn{padding: 0 5px 0 4px !important;gap: 2.5px !important;max-width: 98px !important;}.header-user-pill-btn .header-user-name-label{font-size: 0.68rem !important;max-width: 56px !important;}}
@media (max-width: 767px){.site-eyecatch-hero{min-height: 200px !important;height: clamp(200px, 47vw, 244px) !important;max-height: 244px !important;margin-bottom: 10px !important;padding: 8px 10px !important;border-radius: 14px !important;justify-content: flex-end !important;align-items: flex-start !important;}.site-eyecatch-hero[style*="display: none"]{display: none !important;}.site-eyecatch-hero .theme-toggle-switch{top: 8px !important;right: 8px !important;}.site-eyecatch-hero .eyecatch-img{object-position: center 20% !important;}.site-eyecatch-hero .eyecatch-content{padding: 7px 11px !important;max-width: 248px !important;border-radius: 10px !important;}.site-eyecatch-hero .eyecatch-title{font-size: 1.12rem !important;margin-bottom: 1px !important;}.site-eyecatch-hero .eyecatch-catchphrase{font-size: 0.62rem !important;margin-bottom: 2px !important;}.site-eyecatch-hero .eyecatch-tagline{font-size: 0.63rem !important;line-height: 1.3 !important;margin: 0 !important;}.permanent-search-section{padding: 8px 10px !important;margin-bottom: 10px !important;}.search-input-wrapper input.permanent-search-input{font-size: 0.72rem !important;padding: 8px 26px 8px 30px !important;text-overflow: ellipsis !important;}.quick-keywords-bar{display: flex !important;flex-wrap: wrap !important;align-items: center !important;gap: 4px 6px !important;overflow-x: visible !important;padding: 4px 0 0 0 !important;}.quick-kw-label{flex-shrink: 0 !important;font-size: 0.70rem !important;}.quick-keywords-list, #quick-keywords-list{display: flex !important;flex-wrap: wrap !important;align-items: center !important;gap: 4px 5px !important;flex: 1 1 auto !important;min-width: 0 !important;max-width: 100% !important;}.quick-kw-empty-note{white-space: normal !important;line-height: 1.38 !important;font-size: 0.69rem !important;overflow-wrap: anywhere !important;}.quick-kw-tag{font-size: 0.70rem !important;padding: 2px 7px !important;white-space: nowrap !important;}.unified-sale-toolbar{padding: 5px 7px !important;gap: 4px !important;border-radius: 10px !important;}.unified-sale-toolbar.is-stuck{border-top-left-radius: 0 !important;border-top-right-radius: 0 !important;border-bottom-left-radius: 10px !important;border-bottom-right-radius: 10px !important;border-top: 1.5px solid var(--genre-border) !important;padding: 4px 7px 5px 7px !important;}.unified-sale-toolbar .toolbar-group-label, .unified-sale-toolbar .toolbar-divider{display: none !important;}.unified-sale-toolbar .toolbar-content-inner{display: flex !important;flex-direction: column !important;align-items: stretch !important;gap: 4px !important;width: 100% !important;}.unified-sale-toolbar .toolbar-store-segment{width: 100% !important;overflow-x: auto !important;flex-wrap: nowrap !important;scrollbar-width: none !important;-webkit-overflow-scrolling: touch !important;}.unified-sale-toolbar .store-segment-group{display: flex !important;gap: 4px !important;flex-wrap: nowrap !important;flex-shrink: 0 !important;}.unified-sale-toolbar .store-tab-btn{min-height: 27px !important;padding: 3px 8px !important;font-size: 0.71rem !important;border-radius: 7px !important;flex: 0 0 auto !important;white-space: nowrap !important;}.unified-sale-toolbar .toolbar-right-controls{width: 100% !important;display: flex !important;align-items: center !important;justify-content: space-between !important;gap: 5px !important;flex-wrap: nowrap !important;min-width: 0 !important;}.unified-sale-toolbar .toolbar-sort-group{flex: 1 1 auto !important;width: auto !important;min-width: 0 !important;overflow-x: auto !important;padding-bottom: 0 !important;scrollbar-width: none !important;}.unified-sale-toolbar .sort-segment-group{display: flex !important;gap: 3px !important;flex-wrap: nowrap !important;}.unified-sale-toolbar .sort-segment-group .tool-btn{min-height: 26px !important;padding: 2px 6px !important;font-size: 0.68rem !important;border-radius: 6px !important;flex: 0 0 auto !important;white-space: nowrap !important;}.unified-sale-toolbar .sort-segment-group .tool-btn .arrow-indicator{font-size: 0.56rem !important;}.unified-sale-toolbar .toolbar-publisher-dropdown-group{flex: 0 0 auto !important;width: auto !important;min-width: 0 !important;overflow: visible !important;padding-bottom: 0 !important;}.unified-sale-toolbar .custom-pub-trigger{min-height: 26px !important;padding: 2px 7px !important;font-size: 0.69rem !important;max-width: 112px !important;border-radius: 6px !important;gap: 3px !important;}.unified-sale-toolbar .custom-pub-trigger-text{overflow: hidden !important;text-overflow: ellipsis !important;white-space: nowrap !important;max-width: 82px !important;display: inline-block !important;}.unified-sale-toolbar .custom-pub-menu{max-width: calc(100vw - 24px) !important;right: 0 !important;}.top-4store-unified-console .t4s-console-head{padding: 8px 10px !important;gap: 6px !important;}.top-4store-unified-console .t4s-table-scroll{overflow-x: visible !important;}.t4s-table.t4s-matrix-5col{display: block !important;min-width: 0 !important;width: 100% !important;}.t4s-table.t4s-matrix-5col thead{display: none !important;}.t4s-table.t4s-matrix-5col tbody{display: flex !important;flex-direction: column !important;gap: 10px !important;padding: 10px !important;width: 100% !important;box-sizing: border-box !important;}.t4s-table.t4s-matrix-5col tbody tr{display: flex !important;flex-direction: column !important;width: 100% !important;box-sizing: border-box !important;border: 1.5px solid rgba(148, 163, 184, 0.36) !important;border-radius: 12px !important;overflow: hidden !important;background: var(--bg-card, #ffffff) !important;box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05) !important;}html[data-theme="dark"] .t4s-table.t4s-matrix-5col tbody tr{background: #131b2b !important;border-color: rgba(71, 85, 105, 0.65) !important;}.t4s-table.t4s-matrix-5col td, .t4s-table.t4s-matrix-5col td.t4s-td-store, .t4s-table.t4s-matrix-5col td.t4s-td-first, .t4s-table.t4s-matrix-5col td.t4s-td-specialday, .t4s-table.t4s-matrix-5col td.t4s-td-salelist, .t4s-table.t4s-matrix-5col td.t4s-td-column{display: block !important;position: static !important;left: auto !important;width: 100% !important;min-width: 0 !important;max-width: none !important;box-sizing: border-box !important;border-right: none !important;box-shadow: none !important;padding: 8px 10px !important;}.t4s-table.t4s-matrix-5col td.t4s-td-store{padding: 0 !important;border-bottom: 1px solid rgba(148, 163, 184, 0.22) !important;}.t4s-table.t4s-matrix-5col td.t4s-td-store .t4s-store-mini-banner{display: flex !important;flex-direction: row !important;align-items: center !important;justify-content: space-between !important;width: 100% !important;min-height: 40px !important;padding: 8px 12px !important;border-radius: 0 !important;border: none !important;box-sizing: border-box !important;}.t4s-table.t4s-matrix-5col td.t4s-td-store .t4s-banner-sub-row{padding-left: 0 !important;font-size: 0.66rem !important;white-space: nowrap !important;}.t4s-table.t4s-matrix-5col td.t4s-td-first::before, .t4s-table.t4s-matrix-5col td.t4s-td-specialday::before, .t4s-table.t4s-matrix-5col td.t4s-td-salelist::before, .t4s-table.t4s-matrix-5col td.t4s-td-column::before{display: block;font-size: 0.62rem;font-weight: 900;color: var(--text-sub, #64748b);margin-bottom: 5px;letter-spacing: 0.02em;}.t4s-table.t4s-matrix-5col td.t4s-td-first::before{content: "初回限定特典・公式クーポン";}.t4s-table.t4s-matrix-5col td.t4s-td-specialday::before{content: "特売日・常設キャンペーン";}.t4s-table.t4s-matrix-5col td.t4s-td-salelist::before{content: "開催中・注目セール一覧";}.t4s-table.t4s-matrix-5col td.t4s-td-column::before{content: "還元・まとめ買い攻略コラム";}.t4s-table.t4s-matrix-5col .t4s-perk-btn-stack{display: flex !important;flex-direction: row !important;flex-wrap: wrap !important;align-items: center !important;gap: 6px !important;}.t4s-table.t4s-matrix-5col .t4s-perk-direct-btn{flex: 1 1 180px !important;white-space: normal !important;height: auto !important;line-height: 1.3 !important;text-align: center !important;}.t4s-table.t4s-matrix-5col .t4s-first-cap-badge{white-space: normal !important;line-height: 1.3 !important;}.t4s-table.t4s-matrix-5col .t4s-specialday-stack{display: flex !important;flex-direction: row !important;flex-wrap: wrap !important;gap: 5px !important;}.t4s-table.t4s-matrix-5col .t4s-specialday-stack .t4s-matrix-cell-btn{flex: 1 1 calc(50% - 4px) !important;min-width: 140px !important;display: block !important;white-space: normal !important;height: auto !important;line-height: 1.35 !important;text-align: center !important;padding: 5.5px 8px !important;}.t4s-table.t4s-matrix-5col .t4s-salelist-grid-2col{grid-template-columns: repeat(2, minmax(0, 1fr)) !important;gap: 5px !important;}.t4s-table.t4s-matrix-5col .t4s-salelist-grid-2col .t4s-matrix-cell-btn{display: block !important;white-space: normal !important;overflow: visible !important;text-overflow: clip !important;height: auto !important;line-height: 1.3 !important;padding: 5.5px 6px !important;font-size: 0.66rem !important;text-align: center !important;}.t4s-table.t4s-matrix-5col .t4s-column-stack{display: grid !important;grid-template-columns: repeat(2, minmax(0, 1fr)) !important;gap: 5px !important;}.t4s-table.t4s-matrix-5col .t4s-perk-strategy-btn, .t4s-table.t4s-matrix-5col .t4s-column-sub-btn{white-space: normal !important;height: auto !important;line-height: 1.28 !important;padding: 5px 6px !important;font-size: 0.65rem !important;text-align: center !important;}.t4s-table.t4s-matrix-5col .t4s-column-cap-note{grid-column: 1 / -1 !important;white-space: normal !important;}#top-page-guide-section{scroll-margin-top: calc(var(--header-actual-height, 74px) + 10px) !important;}#top-page-guide-section .guide-blog-article-card{padding-bottom: 10px !important;}.hikabon-floating-dock{position: fixed !important;right: 8px !important;bottom: max(8px, env(safe-area-inset-bottom, 8px)) !important;z-index: 990 !important;display: inline-flex !important;flex-direction: row !important;align-items: center !important;gap: 4px !important;padding: 3px 5px !important;border-radius: 999px !important;background: rgba(24, 24, 27, 0.90) !important;backdrop-filter: blur(10px) !important;-webkit-backdrop-filter: blur(10px) !important;border: 1px solid rgba(217, 119, 6, 0.45) !important;box-shadow: 0 4px 16px rgba(15, 23, 42, 0.26) !important;max-width: calc(100vw - 16px) !important;box-sizing: border-box !important;transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease !important;}html[data-theme="light"] .hikabon-floating-dock{background: rgba(255, 253, 249, 0.94) !important;border-color: rgba(180, 83, 9, 0.36) !important;box-shadow: 0 4px 16px rgba(67, 40, 24, 0.14) !important;}.hikabon-floating-dock.is-reading-minimized{transform: translateY(calc(100% + 18px)) !important;opacity: 0 !important;pointer-events: none !important;}.hikabon-floating-dock.is-user-collapsed > :not(#hikabon-dock-collapse-btn){display: none !important;}.hikabon-floating-dock.is-user-collapsed #hikabon-dock-collapse-btn svg{transform: rotate(180deg);}.hikabon-floating-dock #floating-kininaru-fab.floating-calc-trigger{position: static !important;bottom: auto !important;right: auto !important;height: 27px !important;padding: 0 9px !important;font-size: 0.68rem !important;border-radius: 999px !important;gap: 4px !important;box-shadow: none !important;margin: 0 !important;white-space: nowrap !important;}.hikabon-floating-dock #floating-kininaru-fab.is-hidden-on-kininaru{display: none !important;}.hikabon-floating-dock #floating-kininaru-fab svg{width: 12px !important;height: 12px !important;}.hikabon-floating-dock #mobile-genre-fab-container{position: relative !important;bottom: auto !important;right: auto !important;margin: 0 !important;z-index: 2 !important;flex-direction: row !important;align-items: center !important;}.hikabon-floating-dock #btn-mobile-genre-toggle{height: 27px !important;padding: 0 8px !important;font-size: 0.68rem !important;border-radius: 999px !important;gap: 3px !important;box-shadow: none !important;border-width: 1.5px !important;white-space: nowrap !important;}.hikabon-floating-dock #mobile-genre-dropdown{position: absolute !important;bottom: calc(100% + 10px) !important;right: 0 !important;margin-bottom: 0 !important;max-width: calc(100vw - 24px) !important;z-index: 1060 !important;}.hikabon-floating-dock #btn-back-to-top{position: static !important;bottom: auto !important;right: auto !important;width: auto !important;height: 27px !important;padding: 0 8px !important;border-radius: 999px !important;display: none !important;flex-direction: row !important;align-items: center !important;justify-content: center !important;gap: 2px !important;margin: 0 !important;box-shadow: none !important;transform: none !important;opacity: 1 !important;pointer-events: auto !important;}.hikabon-floating-dock #btn-back-to-top.visible{display: inline-flex !important;}.hikabon-floating-dock #btn-back-to-top svg{width: 12px !important;height: 12px !important;}.hikabon-floating-dock #btn-back-to-top span{font-size: 0.62rem !important;font-weight: 900 !important;}.hikabon-floating-dock .hikabon-dock-collapse-btn{display: inline-flex !important;align-items: center !important;justify-content: center !important;width: 24px !important;height: 24px !important;padding: 0 !important;border-radius: 50% !important;border: 1px solid rgba(148, 163, 184, 0.35) !important;background: rgba(148, 163, 184, 0.14) !important;color: var(--text-main, #e2e8f0) !important;cursor: pointer !important;flex-shrink: 0 !important;}html[data-theme="light"] .hikabon-floating-dock .hikabon-dock-collapse-btn{color: #432818 !important;background: rgba(67, 40, 24, 0.08) !important;border-color: rgba(67, 40, 24, 0.2) !important;}}
html[data-theme="dark"] body, html[data-theme="dark"] main, html[data-theme="dark"] .main-container, html[data-theme="dark"] #view-top, html[data-theme="dark"] #view-ranking, html[data-theme="dark"] #view-free, html[data-theme="dark"] #view-media, html[data-theme="dark"] #view-awards, html[data-theme="dark"] #view-youtube, html[data-theme="dark"] #view-schedule, html[data-theme="dark"] #view-unlimited, html[data-theme="dark"] #view-reader, html[data-theme="dark"] #view-reading-items, html[data-theme="dark"] #view-plans, html[data-theme="dark"] #view-mybookshelf, html[data-theme="dark"] #view-community-shelves{background-color: var(--dm-bg-base) !important;color: var(--dm-text-main);}
html[data-theme="dark"] header{background: rgba(30, 33, 38, 0.96) !important;border-bottom: 1px solid var(--dm-border-matte) !important;}
html[data-theme="dark"] .header-action-btn{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border: 1px solid var(--dm-border-strong) !important;box-shadow: none !important;}
html[data-theme="dark"] .header-action-btn:hover{background: var(--dm-bg-elevated-hover) !important;border-color: var(--dm-amber-border) !important;}
html[data-theme="dark"] .genre-selector-bar{background: rgba(35, 39, 46, 0.97) !important;border-top: 1px solid var(--dm-border-subtle) !important;border-bottom: 1px solid var(--dm-border-matte) !important;box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22) !important;}
html[data-theme="dark"] .genre-main-btn{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border: 1px solid var(--dm-border-matte) !important;box-shadow: none !important;text-shadow: none !important;}
html[data-theme="dark"] .genre-main-btn:hover{background: var(--dm-bg-elevated-hover) !important;border-color: var(--dm-amber-border) !important;color: #FFFDF9 !important;}
html[data-theme="dark"] .genre-main-btn.active, html[data-theme="dark"] .genre-btn-all.active, html[data-theme="dark"] .genre-btn-comic.active, html[data-theme="dark"] .genre-btn-novel.active, html[data-theme="dark"] .genre-btn-business.active, html[data-theme="dark"] .genre-btn-practical.active, html[data-theme="dark"] .genre-btn-magazine.active, html[data-theme="dark"] .genre-btn-photo.active{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;border-color: #F3D496 !important;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.24) !important;font-weight: 900 !important;}
html[data-theme="dark"] .genre-main-btn.active *, html[data-theme="dark"] .genre-main-btn.active svg{color: var(--dm-amber-ink) !important;}
@media (min-width: 768px){html[data-theme="dark"] #creator-guard-badge, html[data-theme="dark"] body.is-admin-authorized #creator-guard-badge{display: none !important;}html[data-theme="dark"] #header-creator-guard-pill{display: none !important;}html[data-theme="dark"] body.is-admin-authorized #header-creator-guard-pill, html[data-theme="dark"] body.is-admin-authorized #header-creator-guard-pill.is-active{display: inline-flex !important;align-items: center !important;justify-content: center !important;gap: 5px !important;height: 30px !important;padding: 0 10px !important;border-radius: 999px !important;background: #22352C !important;border: 1px solid rgba(110, 231, 183, 0.38) !important;color: #D1FAE5 !important;font-size: 0.68rem !important;font-weight: 800 !important;letter-spacing: 0.03em !important;box-shadow: none !important;}html[data-theme="dark"] body.is-admin-authorized #header-creator-guard-pill .hcg-pill-dot, html[data-theme="dark"] body.is-admin-authorized #header-creator-guard-pill.is-active .hcg-pill-dot{width: 6px;height: 6px;border-radius: 50%;background: #6EE7B7;flex-shrink: 0;}}
html[data-theme="dark"] #top-subcontents-section .top-sc-tabs-group{background: var(--dm-bg-surface) !important;border: 1px solid var(--dm-border-matte) !important;}
html[data-theme="dark"] #top-subcontents-section .top-sc-slide-tab{color: var(--dm-text-sub) !important;}
html[data-theme="dark"] #top-subcontents-section .top-sc-slide-tab .top-sc-tab-sub{opacity: 0.9 !important;color: inherit !important;}
html[data-theme="dark"] #top-subcontents-section .top-sc-slide-tab.active{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.24) !important;}
html[data-theme="dark"] #top-subcontents-section .top-sc-slide-tab.active .top-sc-tab-sub{color: var(--dm-amber-ink) !important;opacity: 0.88 !important;}
html[data-theme="dark"] #top-subcontents-section .top-sc-dot.active{background: var(--dm-amber-accent) !important;}
html[data-theme="dark"] #top-subcontents-section .top-sc-step-btn, html[data-theme="dark"] #top-subcontents-section .top-sc-edge-arrow{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border: 1px solid var(--dm-border-strong) !important;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28) !important;}
html[data-theme="dark"] .hikabon-live-db-pill, html[data-theme="dark"] .hikabon-live-db-footer-bar{background: var(--dm-bg-surface) !important;color: var(--dm-text-main) !important;border: 1px solid rgba(110, 231, 183, 0.26) !important;}
html[data-theme="dark"] .hero-banner-card, html[data-theme="dark"] .hero-banner-card[data-subcon-color]{background: linear-gradient(165deg, #2A2E37 0%, #252931 100%) !important;border: 1px solid var(--dm-border-matte) !important;border-top: 2.5px solid rgba(226, 168, 75, 0.55) !important;box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22) !important;}
html[data-theme="dark"] .hero-banner-card:hover{background: linear-gradient(165deg, #2F343F 0%, #292E37 100%) !important;border-color: var(--dm-border-strong) !important;box-shadow: 0 6px 18px rgba(0, 0, 0, 0.30) !important;}
html[data-theme="dark"] .hero-banner-card[data-subcon-color="purple"], html[data-theme="dark"] .hero-banner-card.awards{border-top-color: #9D8AC7 !important;}
html[data-theme="dark"] .hero-banner-card[data-subcon-color="amber"], html[data-theme="dark"] .hero-banner-card.unlimited{border-top-color: #D89A5B !important;}
html[data-theme="dark"] .hero-banner-card[data-subcon-color="rose"], html[data-theme="dark"] .hero-banner-card.reading-items{border-top-color: #C9829B !important;}
html[data-theme="dark"] .hero-banner-card[data-subcon-color="teal"], html[data-theme="dark"] .hero-banner-card.reader{border-top-color: #67AEA6 !important;}
html[data-theme="dark"] .hero-banner-card[data-subcon-color="indigo"], html[data-theme="dark"] .hero-banner-card.column-library{border-top-color: #7999CC !important;}
html[data-theme="dark"] .hero-banner-card[data-subcon-color="gold"], html[data-theme="dark"] .hero-banner-card.ranking{border-top-color: #CBAF64 !important;}
html[data-theme="dark"] .hero-banner-card[data-subcon-color="emerald"], html[data-theme="dark"] .hero-banner-card.free{border-top-color: #6DB086 !important;}
html[data-theme="dark"] .hero-banner-card[data-subcon-color="crimson"], html[data-theme="dark"] .hero-banner-card.media{border-top-color: #CB7D7D !important;}
html[data-theme="dark"] .hero-banner-card[data-subcon-color="sapphire"], html[data-theme="dark"] .hero-banner-card.youtube{border-top-color: #6DA4C7 !important;}
html[data-theme="dark"] .hero-banner-card[data-subcon-color="bronze"], html[data-theme="dark"] .hero-banner-card.schedule{border-top-color: #BC936C !important;}
html[data-theme="dark"] .hero-banner-card .hero-store-pill, html[data-theme="dark"] .hero-banner-card[data-subcon-color] .hero-store-pill{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border: 1px solid var(--dm-border-strong) !important;box-shadow: none !important;}
html[data-theme="dark"] .hero-banner-card .hero-badge-notice{background: #313640 !important;color: #DDD7CC !important;border: 1px solid rgba(255, 255, 255, 0.14) !important;box-shadow: none !important;font-weight: 700 !important;}
html[data-theme="dark"] .hero-banner-card .hero-discount-headline, html[data-theme="dark"] .hero-banner-card[data-subcon-color] .hero-discount-headline{color: var(--dm-text-main) !important;}
html[data-theme="dark"] .hero-banner-card .hero-tile-sub{color: var(--dm-text-sub) !important;}
html[data-theme="dark"] .hero-banner-card .hero-tile-action-btn{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border: 1px solid var(--dm-border-strong) !important;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.20) !important;}
html[data-theme="dark"] .hero-banner-card:hover .hero-tile-action-btn{background: var(--dm-bg-elevated-hover) !important;border-color: var(--dm-amber-border) !important;color: #FFFDF9 !important;}
@media (min-width: 1025px){html[data-theme="dark"] #top-subcontents-section .top-sc-carousel-viewport{padding: 0 32px !important;}html[data-theme="dark"] #top-subcontents-section .top-sc-carousel-track{gap: 10px !important;}html[data-theme="dark"] #top-subcontents-section .top-sc-carousel-track .hero-banner-card{flex: 0 0 calc((100% - 40px) / 5) !important;min-width: calc((100% - 40px) / 5) !important;max-width: calc((100% - 40px) / 5) !important;width: calc((100% - 40px) / 5) !important;padding: 9px 10px 7px 10px !important;}html[data-theme="dark"] #top-subcontents-section .top-sc-carousel-track .hero-banner-card .hero-card-illust{width: 52px !important;height: 52px !important;}html[data-theme="dark"] #top-subcontents-section .top-sc-carousel-track .hero-banner-card .hero-tile-action-btn{padding: 3px 8px !important;font-size: 0.61rem !important;}}
html[data-theme="dark"] .top-mypage-shortcut-bar{background: var(--dm-bg-surface) !important;border: 1px solid var(--dm-border-matte) !important;box-shadow: 0 3px 12px rgba(0, 0, 0, 0.20) !important;}
html[data-theme="dark"] .top-mypage-shortcut-bar .top-mp-pill{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border: 1px solid var(--dm-border-matte) !important;box-shadow: none !important;}
html[data-theme="dark"] .top-mypage-shortcut-bar .top-mp-pill:hover{background: var(--dm-bg-elevated-hover) !important;border-color: var(--dm-amber-border) !important;}
html[data-theme="dark"] .top-mypage-shortcut-bar .top-mp-status-pill{background: var(--dm-bg-elevated) !important;color: var(--dm-amber-text) !important;border: 1px solid var(--dm-amber-border) !important;}
html[data-theme="dark"] .top-mypage-shortcut-bar .top-mp-cta-btn{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;border: 1px solid #F3D496 !important;box-shadow: none !important;}
html[data-theme="dark"] .mypage-nav-badge, html[data-theme="dark"] #top-mp-kininaru-badge, html[data-theme="dark"] #mypage-nav-kininaru-badge, html[data-theme="dark"] #mypage-nav-shelf-badge, html[data-theme="dark"] #mypage-nav-room-badge, html[data-theme="dark"] #mypage-nav-highlights-badge, html[data-theme="dark"] #mypage-nav-library-badge, html[data-theme="dark"] #dropdown-fav-count, html[data-theme="dark"] #dropdown-shelf-count-badge, html[data-theme="dark"] #dropdown-room-count-badge, html[data-theme="dark"] #dropdown-notebook-count{background: #232730 !important;color: #F0EDE7 !important;border: 1px solid rgba(255, 255, 255, 0.16) !important;box-shadow: none !important;}
html[data-theme="dark"] .mypage-nav-badge *, html[data-theme="dark"] #top-mp-kininaru-badge *, html[data-theme="dark"] #mypage-nav-kininaru-badge *, html[data-theme="dark"] #dropdown-fav-count *, html[data-theme="dark"] .ku-dual-chip, html[data-theme="dark"] .ku-dual-chip span{color: #F0EDE7 !important;background: transparent !important;}
html[data-theme="dark"] .ku-dual-sep, html[data-theme="dark"] .user-stat-chip.star, html[data-theme="dark"] .user-stat-chip.star span{color: #D2CDC3 !important;opacity: 1 !important;}
html[data-theme="dark"] .user-stat-chip{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border: 1px solid var(--dm-border-strong) !important;}
html[data-theme="dark"] .user-stat-chip strong, html[data-theme="dark"] #dropdown-header-fav-count, html[data-theme="dark"] #dropdown-header-alert-count, html[data-theme="dark"] #dropdown-header-shelf-count, html[data-theme="dark"] #dropdown-header-likes-count, html[data-theme="dark"] #mypage-bar-note-count, html[data-theme="dark"] #mypage-bar-likes-count, html[data-theme="dark"] #awards-bar-fav-count, html[data-theme="dark"] #awards-bar-alert-count{color: #F3D496 !important;background: transparent !important;}
html[data-theme="dark"] #floating-kininaru-fab, html[data-theme="dark"] .floating-calc-trigger{background: #363246 !important;color: #F0EDE7 !important;border: 1px solid rgba(203, 190, 242, 0.36) !important;box-shadow: 0 6px 18px rgba(0, 0, 0, 0.36) !important;}
html[data-theme="dark"] #floating-kininaru-fab *, html[data-theme="dark"] .floating-calc-trigger *{color: #F0EDE7 !important;}
html[data-theme="dark"] .btn-kininaru-toggle.active, html[data-theme="dark"] .btn-kininaru-toggle.is-saved{background: #38334A !important;color: #EAE4F8 !important;border-color: rgba(196, 181, 253, 0.44) !important;box-shadow: none !important;}
html[data-theme="dark"] .top-4store-unified-console{background: var(--dm-bg-surface) !important;border: 1px solid var(--dm-border-matte) !important;box-shadow: 0 4px 16px rgba(0, 0, 0, 0.24) !important;}
html[data-theme="dark"] .t4s-console-head{background: var(--dm-bg-surface-alt) !important;border-bottom: 1px solid var(--dm-border-matte) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] .t4s-table th, html[data-theme="dark"] .t4s-table.t4s-matrix-6col th, html[data-theme="dark"] .t4s-table.t4s-matrix-5col th{background: var(--dm-bg-surface-alt) !important;color: var(--dm-text-sub) !important;border-bottom: 1px solid var(--dm-border-matte) !important;border-right: 1px solid var(--dm-border-subtle) !important;}
html[data-theme="dark"] .t4s-table td, html[data-theme="dark"] .t4s-table.t4s-matrix-6col td, html[data-theme="dark"] .t4s-table.t4s-matrix-5col td{background: var(--dm-bg-surface) !important;border-bottom: 1px solid var(--dm-border-subtle) !important;border-right: 1px solid var(--dm-border-subtle) !important;}
html[data-theme="dark"] .t4s-table tbody tr:hover td{background: #2C313B !important;}
html[data-theme="dark"] .t4s-store-mini-banner{border: 1px solid rgba(255, 255, 255, 0.18) !important;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.24) !important;}
html[data-theme="dark"] .t4s-store-mini-banner.is-kindle{background-image: linear-gradient(135deg, #2D3644 0%, #3A3022 100%) !important;}
html[data-theme="dark"] .t4s-store-mini-banner.is-kobo{background-image: linear-gradient(135deg, #6E2326 0%, #521B1E 100%) !important;}
html[data-theme="dark"] .t4s-store-mini-banner.is-ebookjapan{background-image: linear-gradient(135deg, #742339 0%, #561B2B 100%) !important;}
html[data-theme="dark"] .t4s-store-mini-banner.is-dmm{background-image: linear-gradient(135deg, #2C2F36 0%, #3C3520 100%) !important;}
html[data-theme="dark"] .t4s-store-mini-banner .t4s-banner-sub-row{background: rgba(24, 27, 32, 0.72) !important;color: #F2EFE9 !important;border: 1px solid rgba(255, 255, 255, 0.16) !important;box-shadow: none !important;}
html[data-theme="dark"] .t4s-matrix-cell-btn, html[data-theme="dark"] .t4s-matrix-cell-btn.is-daily, html[data-theme="dark"] .t4s-matrix-cell-btn.is-daily-primary, html[data-theme="dark"] .t4s-matrix-cell-btn.is-salelist-accent, html[data-theme="dark"] .t4s-perk-direct-btn, html[data-theme="dark"] .t4s-perk-direct-btn.is-kindle, html[data-theme="dark"] .t4s-perk-direct-btn.is-kobo, html[data-theme="dark"] .t4s-perk-direct-btn.is-ebookjapan, html[data-theme="dark"] .t4s-perk-direct-btn.is-dmm, html[data-theme="dark"] .t4s-perk-strategy-btn{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border: 1px solid var(--dm-border-strong) !important;box-shadow: none !important;}
html[data-theme="dark"] .t4s-perk-direct-btn{border-left: 3px solid var(--dm-amber-accent) !important;color: var(--dm-amber-text) !important;}
html[data-theme="dark"] .t4s-matrix-cell-btn:hover, html[data-theme="dark"] .t4s-perk-direct-btn:hover, html[data-theme="dark"] .t4s-perk-strategy-btn:hover{background: var(--dm-bg-elevated-hover) !important;border-color: var(--dm-amber-border) !important;color: #FFFDF9 !important;}
html[data-theme="dark"] .hikabon-section-header-banner, html[data-theme="dark"] #hikabon-sale-header-banner, html[data-theme="dark"] #hikabon-column-header-banner{background: var(--dm-bg-surface) !important;border: 1px solid var(--dm-border-matte) !important;box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22) !important;}
html[data-theme="dark"] .hikabon-section-header-banner__bg{opacity: 0.12 !important;}
html[data-theme="dark"] .hikabon-section-header-banner__title{color: var(--dm-text-main) !important;text-shadow: none !important;}
html[data-theme="dark"] .hikabon-section-header-banner__desc{color: var(--dm-text-sub) !important;text-shadow: none !important;}
html[data-theme="dark"] .hikabon-section-header-banner__eyebrow{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;border: none !important;}
html[data-theme="dark"] .hikabon-section-header-banner__subpill, html[data-theme="dark"] .hikabon-pr-disclosure-pill{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border: 1px solid var(--dm-border-strong) !important;box-shadow: none !important;}
html[data-theme="dark"] .badge-new-24h{background: #7F231C !important;color: #FEE2E2 !important;border: 1px solid rgba(252, 165, 165, 0.42) !important;box-shadow: none !important;}
html[data-theme="dark"] #unified-sale-toolbar, html[data-theme="dark"] .unified-sale-toolbar, html[data-theme="dark"] .filter-panel-box, html[data-theme="dark"] .permanent-search-section{background: var(--dm-bg-surface) !important;border-color: var(--genre-border, var(--dm-border-matte)) !important;}
html[data-theme="dark"] .sale-group-card, html[data-theme="dark"] .cafe-sale-card-inner{background: var(--dm-bg-surface) !important;border-color: var(--dm-border-matte) !important;}
html[data-theme="dark"] footer#site-footer{background: #22262C !important;border-top: 1px solid var(--dm-border-matte) !important;color: var(--dm-text-sub) !important;}
html[data-theme="dark"] footer#site-footer .footer-nav-sep{color: var(--dm-text-muted) !important;}
html[data-theme="dark"] footer#site-footer a{color: var(--dm-text-main) !important;}
html[data-theme="dark"] .hika-room-wrapper{background: var(--dm-bg-surface-alt) !important;border: 1px solid var(--dm-border-matte) !important;color: var(--dm-text-main) !important;box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28) !important;}
html[data-theme="dark"] .hika-room-closet{background: var(--dm-bg-surface) !important;border: 1px solid var(--dm-border-matte) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] .hika-room-mode-btn{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border: 1px solid var(--dm-border-strong) !important;}
html[data-theme="dark"] .hika-room-mode-btn:hover{background: var(--dm-bg-elevated-hover) !important;border-color: var(--dm-amber-border) !important;}
html[data-theme="dark"] .hika-room-tab-btn{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border: 1px solid var(--dm-border-strong) !important;}
html[data-theme="dark"] .hika-room-tab-btn:hover{background: var(--dm-bg-elevated-hover) !important;border-color: var(--dm-amber-border) !important;}
html[data-theme="dark"] .hika-room-tab-btn.active{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;border-color: #F3D496 !important;font-weight: 900 !important;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.24) !important;}
html[data-theme="dark"] .hika-room-tab-btn.active span{background: rgba(27, 22, 14, 0.18) !important;color: var(--dm-amber-ink) !important;}
html[data-theme="dark"] .hb-set-panel{background: var(--dm-bg-surface-alt) !important;border: 1px solid var(--dm-border-matte) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] .hb-set-title{color: var(--dm-text-main) !important;}
html[data-theme="dark"] .hb-set-btn{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border: 1.5px solid var(--dm-border-strong) !important;}
html[data-theme="dark"] .hb-set-btn .hb-set-name{color: var(--dm-text-main) !important;}
html[data-theme="dark"] .hb-set-btn .hb-set-sub{color: var(--dm-text-sub) !important;opacity: 1 !important;}
html[data-theme="dark"] .hb-set-btn.is-active{background: #362E21 !important;border-color: var(--dm-amber-accent) !important;color: #FFFBEB !important;box-shadow: 0 0 0 2px rgba(226, 168, 75, 0.22) !important;}
html[data-theme="dark"] .hb-set-restore:not(.hb-garden-clear-btn){background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border: 1px solid var(--dm-border-strong) !important;}
html[data-theme="dark"] .hika-room-catalog-filters, html[data-theme="dark"] .hika-room-filter-panel{background: var(--dm-bg-surface-alt) !important;border-color: var(--dm-border-matte) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] .hika-room-filter-toggle{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border: 1px solid var(--dm-border-strong) !important;}
html[data-theme="dark"] .hika-room-filter-toggle .hika-room-filter-current{background: #252932 !important;color: var(--dm-amber-text) !important;border: 1px solid var(--dm-amber-border) !important;}
html[data-theme="dark"] .hika-room-filter-subheading, html[data-theme="dark"] .hika-room-filter-hint{color: var(--dm-text-sub) !important;}
html[data-theme="dark"] .hika-room-filter-chip{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border: 1px solid var(--dm-border-strong) !important;}
html[data-theme="dark"] .hika-room-filter-chip span:last-child{color: var(--dm-text-sub) !important;opacity: 0.95 !important;}
html[data-theme="dark"] .hika-room-filter-chip.is-active{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;border-color: #F3D496 !important;font-weight: 900 !important;}
html[data-theme="dark"] .hika-room-filter-chip.is-active span:last-child{color: var(--dm-amber-ink) !important;opacity: 0.9 !important;}
html[data-theme="dark"] .hika-room-item-card{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border: 1.5px solid var(--dm-border-strong) !important;}
html[data-theme="dark"] .hika-room-item-card.is-equipped{background: #352D20 !important;border-color: var(--dm-amber-accent) !important;box-shadow: 0 0 0 2px rgba(226, 168, 75, 0.22) !important;}
html[data-theme="dark"] .hika-room-item-card .hika-room-item-thumb-box{background: #262A32 !important;border-color: var(--dm-border-subtle) !important;}
html[data-theme="dark"] .hika-room-item-card .hika-room-item-name{color: var(--dm-text-main) !important;}
html[data-theme="dark"] .hika-room-item-card .hika-room-item-status{color: var(--dm-text-sub) !important;}
html[data-theme="dark"] .hika-room-item-card.is-equipped .hika-room-item-status{color: var(--dm-amber-text) !important;}
html[data-theme="dark"] .hika-room-item-badge:not(.hb-garden-badge):not(.hb-midcentury-badge):not(.premium):not(.secret){background: #232730 !important;color: var(--dm-amber-text) !important;border: 1px solid var(--dm-amber-border) !important;}
html[data-theme="dark"] .hika-room-expansion-upsell-pop, html[data-theme="dark"] #modal-room-expansion .modal-box{background: var(--dm-bg-surface) !important;color: var(--dm-text-main) !important;border: 1.5px solid rgba(196, 181, 253, 0.35) !important;}
html[data-theme="dark"] .hika-room-expansion-upsell-pop div, html[data-theme="dark"] .hika-room-expansion-upsell-pop p, html[data-theme="dark"] .hika-room-expansion-upsell-pop h3, html[data-theme="dark"] .hika-room-expansion-upsell-pop h4, html[data-theme="dark"] .hika-room-expansion-upsell-pop li{color: var(--dm-text-main) !important;}
html[data-theme="dark"] .hika-room-expansion-upsell-pop > div[style*="background"]{background: #2E2942 !important;border-color: rgba(196, 181, 253, 0.38) !important;color: #EDE9FE !important;}
html[data-theme="dark"] .hika-room-expansion-upsell-pop button{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border: 1px solid var(--dm-border-strong) !important;}
html[data-theme="dark"] .hika-room-expansion-upsell-pop button[onclick*="startStripeCheckout"], html[data-theme="dark"] .hika-room-expansion-upsell-pop button[style*="7c3aed"]{background: #5B21B6 !important;color: #F5F3FF !important;border-color: rgba(196, 181, 253, 0.5) !important;}
html[data-theme="dark"] #top-page-guide-section, html[data-theme="dark"] .guide-blog-article-card, html[data-theme="dark"] .guide-blog-toc-card, html[data-theme="dark"] .guide-blog-list-card{background: var(--dm-bg-surface) !important;border-color: var(--dm-border-matte) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] .guide-blog-list-item{background: var(--dm-bg-surface-alt) !important;border-color: var(--dm-border-subtle) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] .guide-blog-list-item.is-active{background: #342C20 !important;border-color: var(--dm-amber-accent) !important;}
html[data-theme="dark"] .guide-blog-list-idx{color: var(--dm-amber-text) !important;}
html[data-theme="dark"] .guide-blog-list-cat{background: #362F24 !important;color: var(--dm-amber-text) !important;border: 1px solid var(--dm-amber-border) !important;}
html[data-theme="dark"] .guide-blog-date-pill{background: var(--dm-bg-elevated) !important;color: var(--dm-text-sub) !important;border: 1px solid var(--dm-border-strong) !important;}
html[data-theme="dark"] .guide-blog-web-notice{background: #3D242B !important;color: #FECDD3 !important;border: 1px solid rgba(251, 113, 133, 0.4) !important;}
html[data-theme="dark"] .guide-blog-nav-btn{background: var(--dm-bg-elevated) !important;border-color: var(--dm-border-strong) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] .guide-blog-nav-btn .guide-blog-nav-dir{color: var(--dm-amber-text) !important;}
html[data-theme="dark"] .guide-markdown-body, html[data-theme="dark"] .guide-markdown-body p, html[data-theme="dark"] .guide-markdown-body li, html[data-theme="dark"] .guide-markdown-body li span{color: var(--dm-text-main) !important;}
html[data-theme="dark"] .guide-markdown-body .guide-md-list, html[data-theme="dark"] .guide-markdown-body ul, html[data-theme="dark"] .guide-markdown-body ol{background: var(--dm-bg-surface-alt) !important;border-color: var(--dm-border-matte) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] .guide-markdown-body .guide-md-callout, html[data-theme="dark"] .guide-markdown-body blockquote{background: #2D2922 !important;border-color: var(--dm-amber-accent) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] .guide-markdown-body .guide-md-callout-label{color: var(--dm-amber-text) !important;}
html[data-theme="dark"] .guide-markdown-body .guide-md-callout-text{color: var(--dm-text-main) !important;}
html[data-theme="dark"] .guide-markdown-body .guide-md-link, html[data-theme="dark"] .guide-markdown-body a:not(.btn):not([class*="store-btn"]){color: #7DD3FC !important;}
html[data-theme="dark"] .guide-markdown-body .guide-md-strong, html[data-theme="dark"] .guide-markdown-body strong{color: #F6DCAC !important;}
html[data-theme="dark"] .guide-markdown-body .guide-md-table-wrap{background: var(--dm-bg-surface-alt) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] .guide-markdown-body table th, html[data-theme="dark"] .guide-markdown-body .guide-md-th{background: #313641 !important;color: var(--dm-amber-text) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] .guide-markdown-body table td, html[data-theme="dark"] .guide-markdown-body .guide-md-td, html[data-theme="dark"] .guide-markdown-body .guide-md-tr td{background: var(--dm-bg-surface-alt) !important;color: var(--dm-text-main) !important;border-color: var(--dm-border-matte) !important;}
html[data-theme="dark"] .guide-markdown-body table tr:nth-child(even) td{background: #282C35 !important;}
html[data-theme="dark"] .guide-coupon-calc-box, html[data-theme="dark"] .store-micro-guide-box{background: var(--dm-bg-surface-alt) !important;border-color: var(--dm-border-strong) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] .guide-coupon-calc-box .guide-calc-badge{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;}
html[data-theme="dark"] .guide-coupon-calc-box .guide-calc-title, html[data-theme="dark"] .guide-coupon-calc-box .guide-calc-input-label, html[data-theme="dark"] .guide-coupon-calc-box .guide-calc-unit{color: var(--dm-text-main) !important;}
html[data-theme="dark"] .guide-coupon-calc-box .guide-calc-sub, html[data-theme="dark"] .guide-coupon-calc-box .guide-calc-footnote{color: var(--dm-text-sub) !important;}
html[data-theme="dark"] .guide-coupon-calc-box .guide-calc-preset-btn{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] .guide-coupon-calc-box .guide-calc-input-row, html[data-theme="dark"] .guide-coupon-calc-box .guide-calc-input{background: #1E2126 !important;color: var(--dm-text-main) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] .guide-coupon-calc-box .guide-calc-card{background: var(--dm-bg-elevated) !important;border-color: var(--dm-border-strong) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] .guide-coupon-calc-box .guide-calc-card.is-active{background: #362E20 !important;border-color: var(--dm-amber-accent) !important;}
html[data-theme="dark"] .guide-coupon-calc-box .guide-calc-card-store{color: var(--dm-amber-text) !important;}
html[data-theme="dark"] .guide-coupon-calc-box .guide-calc-card-price{color: #FFFDF9 !important;}
html[data-theme="dark"] .guide-coupon-calc-box .guide-calc-card-save{color: #86EFAC !important;}
html[data-theme="dark"] .guide-coupon-calc-box .guide-calc-card-note{color: var(--dm-text-sub) !important;}
html[data-theme="dark"] .hikabon-clean-sim-card, html[data-theme="dark"] .hikabon-clean-shelf-card{background: var(--dm-bg-surface) !important;border-color: var(--dm-border-strong) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] .hikabon-clean-sim-card .hk-sim-eyebrow{background: #1E3A3A !important;color: #99F6E4 !important;border: 1px solid rgba(94, 234, 212, 0.35) !important;}
html[data-theme="dark"] .hikabon-clean-shelf-card .hk-shelf-eyebrow{background: #3A2A1E !important;color: #FCD34D !important;border: 1px solid rgba(251, 191, 36, 0.35) !important;}
html[data-theme="dark"] .hikabon-clean-sim-card .hk-sim-title, html[data-theme="dark"] .hikabon-clean-shelf-card .hk-shelf-title, html[data-theme="dark"] .hikabon-clean-sim-card .hk-sim-ctrl-label, html[data-theme="dark"] .hikabon-clean-sim-card .hk-sim-spec-title, html[data-theme="dark"] .hikabon-clean-shelf-card .hk-shelf-note-box{color: var(--dm-text-main) !important;}
html[data-theme="dark"] .hikabon-clean-sim-card .hk-sim-sub, html[data-theme="dark"] .hikabon-clean-shelf-card .hk-shelf-sub, html[data-theme="dark"] .hikabon-clean-sim-card .hk-sim-spec-desc, html[data-theme="dark"] .hikabon-clean-sim-card .hk-sim-legal-foot, html[data-theme="dark"] .hikabon-clean-shelf-card .hk-shelf-legal-foot{color: var(--dm-text-sub) !important;}
html[data-theme="dark"] .hikabon-clean-sim-card .hk-sim-stage{background: #1B1E24 !important;border-color: var(--dm-border-matte) !important;}
html[data-theme="dark"] .hikabon-clean-sim-card .hk-sim-spec-bar, html[data-theme="dark"] .hikabon-clean-shelf-card .hk-shelf-note-box{background: var(--dm-bg-surface-alt) !important;border-color: var(--dm-border-matte) !important;}
html[data-theme="dark"] .hikabon-clean-sim-card .hk-sim-btn, html[data-theme="dark"] .hikabon-clean-shelf-card .hk-shelf-mode-btn{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] .hikabon-clean-sim-card .hk-sim-btn.is-active{background: #115E59 !important;color: #F0FDFA !important;border-color: #2DD4BF !important;}
html[data-theme="dark"] .hikabon-clean-shelf-card .hk-shelf-mode-btn.is-active{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;border-color: #F3D496 !important;}
html[data-theme="dark"] .hikabon-clean-shelf-card .hk-shelf-mode-btn span{background: rgba(0, 0, 0, 0.28) !important;color: #FFFFFF !important;}
html[data-theme="dark"] #view-unlimited .unlimited-lp-hero span[style*="f59e0b"], html[data-theme="dark"] #view-unlimited .aida-header span[style*="f59e0b"]{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;}
html[data-theme="dark"] #view-unlimited #coverflow-track .coverflow-card{background: var(--dm-bg-surface) !important;border-color: var(--dm-border-strong) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] #view-unlimited #coverflow-track .coverflow-service-name, html[data-theme="dark"] #view-unlimited #coverflow-track .coverflow-price-val, html[data-theme="dark"] #view-unlimited #coverflow-track .coverflow-books-val{color: var(--dm-text-main) !important;}
html[data-theme="dark"] #view-unlimited #coverflow-track .coverflow-provider-tag, html[data-theme="dark"] #view-unlimited #coverflow-track .coverflow-price-label, html[data-theme="dark"] #view-unlimited #coverflow-track .coverflow-books-label, html[data-theme="dark"] #view-unlimited #coverflow-track .coverflow-footer-hint{color: var(--dm-text-sub) !important;}
html[data-theme="dark"] #view-unlimited #coverflow-track .coverflow-pricing-box{background: var(--dm-bg-surface-alt) !important;border-color: var(--dm-border-matte) !important;}
html[data-theme="dark"] #view-unlimited #coverflow-track .coverflow-trial-badge{background: #382E1E !important;color: var(--dm-amber-text) !important;border: 1px solid var(--dm-amber-border) !important;}
html[data-theme="dark"] #view-unlimited #coverflow-track .coverflow-detail-btn{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;border: none !important;}
html[data-theme="dark"] #view-unlimited #coverflow-track .coverflow-detail-btn span{color: var(--dm-amber-ink) !important;}
html[data-theme="dark"] #view-unlimited .unlim-ab-summary-box, html[data-theme="dark"] #view-unlimited #unlimited-selected-service-columns, html[data-theme="dark"] #view-unlimited #unlimited-minnie-columns-section, html[data-theme="dark"] #view-unlimited #unlimited-scene-finder-section, html[data-theme="dark"] #view-unlimited .aida-detail-box, html[data-theme="dark"] #view-unlimited .hkb-acc-pickup-box{background: var(--dm-bg-surface) !important;border-color: var(--dm-border-strong) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] #view-unlimited #unlimited-master-overview-mount div[style*="fde68a"], html[data-theme="dark"] #view-unlimited #unlimited-master-overview-mount div[style*="fffbeb"], html[data-theme="dark"] #view-unlimited #unlimited-master-overview-mount div[style*="fffdf9"]{background: var(--dm-bg-surface-alt) !important;color: var(--dm-text-main) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] #view-unlimited #unlimited-scene-finder-section div{color: var(--dm-text-main);}
html[data-theme="dark"] #view-unlimited .unlim-ab-title, html[data-theme="dark"] #view-unlimited #unlimited-selected-service-columns h3, html[data-theme="dark"] #view-unlimited #unlimited-minnie-columns-section h3, html[data-theme="dark"] #view-unlimited .hkb-acc-pickup-box h4{color: var(--dm-text-main) !important;}
html[data-theme="dark"] #view-unlimited .unlim-ab-hint, html[data-theme="dark"] #view-unlimited #unlimited-selected-service-columns span[style*="78350f"]{color: var(--dm-amber-text) !important;}
html[data-theme="dark"] #view-unlimited .unlim-ab-card, html[data-theme="dark"] #view-unlimited .unlim-deep-col-card, html[data-theme="dark"] #view-unlimited .unlim-minnie-col-card, html[data-theme="dark"] #view-unlimited .hkb-acc-card{background: var(--dm-bg-elevated) !important;border-color: var(--dm-border-strong) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] #view-unlimited .unlim-ab-card-title, html[data-theme="dark"] #view-unlimited .unlim-deep-card-title, html[data-theme="dark"] #view-unlimited .unlim-minnie-col-title{color: var(--dm-text-main) !important;}
html[data-theme="dark"] #view-unlimited .unlim-ab-card-desc, html[data-theme="dark"] #view-unlimited .unlim-deep-card-summary, html[data-theme="dark"] #view-unlimited .unlim-minnie-col-summary{color: var(--dm-text-sub) !important;}
html[data-theme="dark"] #view-unlimited .unlim-ab-verdict, html[data-theme="dark"] #view-unlimited .unlim-deep-hack-box, html[data-theme="dark"] #view-unlimited .unlim-acc-why-box{background: #232730 !important;color: var(--dm-text-main) !important;border-color: var(--dm-amber-accent) !important;}
html[data-theme="dark"] #view-unlimited .unlim-acc-device-note{color: var(--dm-text-sub) !important;}
html[data-theme="dark"] #view-unlimited .unlim-deep-readtime-badge, html[data-theme="dark"] #view-unlimited .unlim-minnie-status-badge, html[data-theme="dark"] #view-unlimited .hkb-acc-card span[style*="fef3c7"]{background: #382F20 !important;color: var(--dm-amber-text) !important;}
html[data-theme="dark"] #view-unlimited .hkb-acc-card span[style*="432818"]{color: var(--dm-text-main) !important;}
html[data-theme="dark"] #view-unlimited .unlim-minnie-cat-badge{background: #252932 !important;color: var(--dm-amber-text) !important;border: 1px solid var(--dm-border-strong) !important;}
html[data-theme="dark"] #view-unlimited .unlim-deep-card-foot, html[data-theme="dark"] #view-unlimited .unlim-minnie-col-foot{border-top-color: var(--dm-border-matte) !important;color: var(--dm-amber-text) !important;}
html[data-theme="dark"] #view-unlimited .unlim-deep-details{background: var(--dm-bg-surface-alt) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] #view-unlimited .unlim-deep-summary, html[data-theme="dark"] #view-unlimited .unlim-deep-body{color: var(--dm-text-main) !important;}
html[data-theme="dark"] #view-unlimited .unlim-deep-shortcut-bar{background: var(--dm-bg-elevated) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] #view-unlimited .unlim-deep-shortcut-bar span{color: var(--dm-text-main) !important;}
html[data-theme="dark"] #view-unlimited .unlim-filter-pill{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border: 1px solid var(--dm-border-strong) !important;}
html[data-theme="dark"] #view-unlimited .unlim-filter-pill.active{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;border-color: #F3D496 !important;}
html[data-theme="dark"] #view-unlimited .unlim-filter-pill.active span{color: var(--dm-amber-ink) !important;}
html[data-theme="dark"] #view-unlimited button[style*="fef3c7"], html[data-theme="dark"] #view-unlimited button[style*="fffbeb"], html[data-theme="dark"] #view-unlimited button[style*="fffdf9"], html[data-theme="dark"] #view-unlimited span[style*="fef7eb"]{background: var(--dm-bg-elevated) !important;color: var(--dm-amber-text) !important;border: 1px solid var(--dm-amber-border) !important;}
html[data-theme="dark"] #modal-unlimited-minnie-column .modal-box, html[data-theme="dark"] #minnie-modal-body, html[data-theme="dark"] #minnie-modal-body div[style*="color:#1e293b"], html[data-theme="dark"] #minnie-modal-body div[style*="f8fafc"], html[data-theme="dark"] #minnie-modal-body div[style*="fffbeb"]{background: var(--dm-bg-surface) !important;color: var(--dm-text-main) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] #view-reader .reader-tab-pill.active, html[data-theme="dark"] #view-reading-items .reader-tab-pill.active, html[data-theme="dark"] #reader-toc-btn-all.active, html[data-theme="dark"] #reader-toc-btn-all{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;border-color: #F3D496 !important;}
html[data-theme="dark"] #view-reader .reader-tab-pill.active span, html[data-theme="dark"] #view-reading-items .reader-tab-pill.active span, html[data-theme="dark"] #reader-toc-btn-all span{color: var(--dm-amber-ink) !important;}
html[data-theme="dark"] #view-reading-items .btn-reader-buy-amazon, html[data-theme="dark"] #view-reader .btn-reader-buy-amazon{background: #E2A84B !important;color: #1B160E !important;border-color: #F3D496 !important;}
html[data-theme="dark"] #view-reading-items .btn-reader-buy-amazon span, html[data-theme="dark"] #view-reader .btn-reader-buy-amazon span{color: #1B160E !important;}
html[data-theme="dark"] #view-reading-items div[style*="ffffff"], html[data-theme="dark"] #view-reading-items div[style*="#fff"], html[data-theme="dark"] #view-reading-items details[style*="fff"], html[data-theme="dark"] #view-reading-items div[style*="fef8ee"], html[data-theme="dark"] #reading-items-tables-panel, html[data-theme="dark"] #reading-items-tables-panel > div{background: var(--dm-bg-surface) !important;color: var(--dm-text-main) !important;border-color: var(--dm-border-matte) !important;}
html[data-theme="dark"] #view-reading-items h3, html[data-theme="dark"] #view-reading-items h4, html[data-theme="dark"] #view-reading-items details li, html[data-theme="dark"] #reading-items-tables-panel th, html[data-theme="dark"] #reading-items-tables-panel td{color: var(--dm-text-main) !important;}
html[data-theme="dark"] #view-reading-items p{color: var(--dm-text-sub) !important;}
html[data-theme="dark"] #btn-toggle-reader-ranking-more{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border: 1px solid var(--dm-border-strong) !important;}
html[data-theme="dark"] #btn-toggle-reader-ranking-more span{color: var(--dm-text-main) !important;}
html[data-theme="dark"] #reader-specs-table th, html[data-theme="dark"] #reader-specs-table th.hkb-sortable-th, html[data-theme="dark"] #reader-compare-section table th{background: #2E333E !important;color: var(--dm-text-main) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] #reader-specs-table th *, html[data-theme="dark"] #reader-compare-section table th *{color: var(--dm-text-main) !important;}
html[data-theme="dark"] #reader-specs-table td, html[data-theme="dark"] #reader-compare-section table td{background: var(--dm-bg-surface) !important;color: var(--dm-text-main) !important;border-color: var(--dm-border-matte) !important;}
html[data-theme="dark"] #reader-specs-tbody span[style*="ff9900"]{background: #E2A84B !important;color: #1B160E !important;}
html[data-theme="dark"] #reader-specs-tbody div[style*="dc2626"], html[data-theme="dark"] .ranking-device-row .ranking-name-line span[style*="dc2626"]{color: #FCA5A5 !important;}
html[data-theme="dark"] #hkb-map-view-switcher, html[data-theme="dark"] #hkb-map-view-switcher span, html[data-theme="dark"] #hkb-map-ab-status-bar, html[data-theme="dark"] #hkb-map-ab-status-bar span{background: var(--dm-bg-surface-alt) !important;color: var(--dm-text-main) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] #reader-map-nodes-layer .hkb-map-pin{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] #reader-map-nodes-layer .hkb-map-pin.selected-a, html[data-theme="dark"] #reader-map-nodes-layer .hkb-map-pin.selected-b{background: #352F47 !important;color: #F5F3FF !important;border-color: #A78BFA !important;}
html[data-theme="dark"] #reader-diagnostic-section > div, html[data-theme="dark"] #reader-accessories-section span[style*="fef3c7"], html[data-theme="dark"] #view-reader div[style*="eef2ff"], html[data-theme="dark"] #view-reader button[style*="eef2ff"], html[data-theme="dark"] #library-owned-device-slot > span{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] .reader-popular-ranking-box div[style*="065f46"], html[data-theme="dark"] .reader-popular-ranking-box span[style*="065f46"], html[data-theme="dark"] .reader-popular-ranking-box span[style*="065f46"] strong{color: #A7F3D0 !important;}
html[data-theme="dark"] #reader-risk-advice-card .risk-item-num{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;}
html[data-theme="dark"] #reader-compare-section .compare-preset-bar span, html[data-theme="dark"] #reader-compare-section .compare-select-label{color: #C7D2FE !important;}
html[data-theme="dark"] .ranking-device-row .btn-ranking-detail{background: var(--dm-bg-elevated) !important;color: #C7D2FE !important;border-color: rgba(165, 180, 252, 0.4) !important;}
html[data-theme="dark"] .compare-articles-notice-banner p{color: var(--dm-text-sub) !important;}
html[data-theme="dark"] #view-schedule .cal-event-card{background: var(--dm-bg-surface) !important;border-color: var(--dm-border-strong) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] #view-schedule .cal-event-card span[style*="047857"], html[data-theme="dark"] #view-schedule .schedule-section-title.release span{background: #1E362D !important;color: #A7F3D0 !important;border-color: rgba(110, 231, 183, 0.35) !important;}
html[data-theme="dark"] #view-schedule .cal-event-card div[style*="bf0000"], html[data-theme="dark"] #view-schedule .cal-event-card button[style*="bf0000"], html[data-theme="dark"] #view-schedule .cal-event-card button[style*="dc2626"], html[data-theme="dark"] #view-schedule .kds-notice-tag{background: #3D2327 !important;color: #FECACA !important;border-color: rgba(248, 113, 113, 0.42) !important;}
html[data-theme="dark"] #view-schedule .chip-past-badge{background: var(--dm-bg-elevated) !important;color: var(--dm-text-sub) !important;}
html[data-theme="dark"] #view-schedule .cal-alert-pill-btn{background: #203442 !important;color: #BAE6FD !important;border-color: rgba(125, 211, 252, 0.4) !important;}
html[data-theme="dark"] #view-schedule .cal-alert-pill-btn span{color: #BAE6FD !important;}
html[data-theme="dark"] .curiosity-book-card{background: var(--dm-bg-surface) !important;border-color: var(--dm-border-strong) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] .curiosity-book-card .curiosity-book-title{color: var(--dm-text-main) !important;}
html[data-theme="dark"] .curiosity-book-card .curiosity-book-tag{background: #213544 !important;color: #BAE6FD !important;border-color: rgba(125, 211, 252, 0.35) !important;}
html[data-theme="dark"] .curiosity-book-card .curiosity-book-ref-price, html[data-theme="dark"] .curiosity-book-card .curiosity-book-author, html[data-theme="dark"] .curiosity-book-card .curiosity-book-author span, html[data-theme="dark"] .curiosity-book-card .author-separator, html[data-theme="dark"] .curiosity-book-card .curiosity-book-pub-sep{color: var(--dm-text-sub) !important;}
html[data-theme="dark"] .curiosity-book-card .rank-author-link{color: #93C5FD !important;}
html[data-theme="dark"] .curiosity-book-card .curiosity-store-btn.is-ebookjapan, html[data-theme="dark"] .reading-travel-spot-card .curiosity-store-btn.is-ebookjapan{background: #9F1239 !important;color: #FFF1F2 !important;}
html[data-theme="dark"] .curiosity-book-card .curiosity-store-btn.is-ebookjapan span, html[data-theme="dark"] .reading-travel-spot-card .curiosity-store-btn.is-ebookjapan span{color: #FFF1F2 !important;opacity: 1 !important;}
html[data-theme="dark"] #yt-influencer-selector-bar .yt-influencer-pill .yt-influencer-sub-badge{color: var(--dm-text-sub) !important;}
html[data-theme="dark"] #yt-influencer-selector-bar .yt-influencer-pill.active{background: #3B2529 !important;border-color: #F87171 !important;color: #FEE2E2 !important;}
html[data-theme="dark"] #yt-influencer-selector-bar .yt-influencer-pill.active span{color: #FEE2E2 !important;}
html[data-theme="dark"] #yt-influencer-selector-bar .yt-influencer-pill.active .yt-influencer-sub-badge{background: #991B1B !important;color: #FEF2F2 !important;}
html[data-theme="dark"] .curiosity-genre-num{background: #115E59 !important;color: #F0FDFA !important;}
html[data-theme="dark"] .table-disclaimer-note, html[data-theme="dark"] .table-disclaimer-note span{color: var(--dm-text-sub) !important;}
html[data-theme="dark"] #view-media .media-work-card{background: var(--dm-bg-surface) !important;border-color: var(--dm-border-strong) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] #view-media .media-book-vols span, html[data-theme="dark"] #media-match-count{color: var(--dm-text-sub) !important;}
html[data-theme="dark"] #view-media div[style*="bf0000"], html[data-theme="dark"] #view-media a[style*="bf0000"] span, html[data-theme="dark"] #media-finish-pill-kobosale{color: #FCA5A5 !important;}
html[data-theme="dark"] #view-media button[style*="0f766e"] span{color: #99F6E4 !important;}
html[data-theme="dark"] #view-media .media-free-pill{background: #065F46 !important;color: #ECFDF5 !important;}
html[data-theme="dark"] #media-status-pill-all.active, html[data-theme="dark"] #media-finish-pill-all.active, html[data-theme="dark"] #media-sort-pill-latest.active, html[data-theme="dark"] #view-media button[style*="f26611"], html[data-theme="dark"] #view-media .btn-media-bulk-buy{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;border-color: #F3D496 !important;}
html[data-theme="dark"] #view-media .btn-media-bulk-buy span{color: var(--dm-amber-ink) !important;}
html[data-theme="dark"] #view-media .media-badge-tag.drama{background: #362B4E !important;color: #E9D5FF !important;}
html[data-theme="dark"] #view-media .media-badge-tag.stage{background: #42263B !important;color: #FBCFE8 !important;}
html[data-theme="dark"] .cafe-column-pill-link.variant-hack{background: #4A2528 !important;color: #FEE2E2 !important;border-color: rgba(252, 165, 165, 0.42) !important;}
html[data-theme="dark"] .free-campaign-card .free-campaign-card-badge, html[data-theme="dark"] .free-campaign-card .free-campaign-card-btn{color: #1B160E !important;font-weight: 900 !important;}
html[data-theme="dark"] .free-campaign-card .free-campaign-card-btn[style*="be123c"], html[data-theme="dark"] .free-campaign-card .free-campaign-card-btn[style*="dc2626"], html[data-theme="dark"] .free-campaign-card .free-campaign-card-btn[style*="059669"]{background: #065F46 !important;color: #F0FDF4 !important;}
html[data-theme="dark"] #view-awards .schedule-award-chip.is-active .chip-date, html[data-theme="dark"] #award-category-overview .award-overview-meta span[style*="f59e0b"], html[data-theme="dark"] .award-cell-badge.gold{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;}
html[data-theme="dark"] #award-collection-action-bar button{background: var(--dm-bg-elevated) !important;color: var(--dm-amber-text) !important;border: 1px solid var(--dm-amber-border) !important;}
html[data-theme="dark"] #award-schedule-body .schedule-award-chip .chip-date{color: #DDD6FE !important;}
html[data-theme="dark"] #award-table-body tr.rank-row-top1 td, html[data-theme="dark"] #award-table-body tr.rank-row td{background: var(--dm-bg-surface) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] #award-table-body tr.rank-row-top1 td span[style*="efdcc7"], html[data-theme="dark"] #award-table-body tr.rank-row td span[style*="bf0000"]{background: #3D2428 !important;color: #FECACA !important;}
html[data-theme="dark"] .rank-store-link-btn .rank-outer-best-badge{background: #065F46 !important;color: #ECFDF5 !important;}
html[data-theme="dark"] #award-table-container .award-table-year-header span{color: #A7F3D0 !important;}
html[data-theme="dark"] .award-paper-price-pill .price-pill-label, html[data-theme="dark"] .rank-store-btn-top span, html[data-theme="dark"] .award-cell-year, html[data-theme="dark"] #award-table-body td div span{color: var(--dm-text-sub) !important;}
html[data-theme="dark"] #view-plans .plan-card{background: var(--dm-bg-surface) !important;border-color: var(--dm-border-strong) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] #view-plans .plan-card.is-popular{background: #2C2820 !important;border-color: var(--dm-amber-accent) !important;}
html[data-theme="dark"] #view-plans .plan-card.is-premium{background: #2F2520 !important;border-color: #F59E0B !important;}
html[data-theme="dark"] #view-plans .plan-card-tag.popular, html[data-theme="dark"] #view-plans .plan-card-btn.btn-popular{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;border: none !important;}
html[data-theme="dark"] #view-plans .plan-card-btn.btn-popular span{color: var(--dm-amber-ink) !important;}
html[data-theme="dark"] #view-plans .plan-card-subprice, html[data-theme="dark"] #view-plans .plans-faq-q-badge{color: var(--dm-amber-text) !important;}
html[data-theme="dark"] #view-plans .plan-card-desc, html[data-theme="dark"] #view-plans .plan-card-price-period, html[data-theme="dark"] #view-plans .plan-feature-item.disabled span{color: var(--dm-text-sub) !important;opacity: 1 !important;}
html[data-theme="dark"] #view-plans .plans-table th, html[data-theme="dark"] #modal-premium-plan table th{background: #2C303B !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] #view-plans .plans-table th.col-popular, html[data-theme="dark"] #view-plans .plans-table th.col-premium{color: var(--dm-amber-text) !important;}
html[data-theme="dark"] #view-plans .plans-table th.col-plus, html[data-theme="dark"] #view-plans .plans-table th.col-plus span, html[data-theme="dark"] #view-plans .plans-table td strong, html[data-theme="dark"] #modal-premium-plan th span, html[data-theme="dark"] #modal-premium-plan td, html[data-theme="dark"] #modal-premium-plan td span{color: #DDD6FE !important;}
html[data-theme="dark"] #modal-premium-plan #premium-modal-faq-sec > div, html[data-theme="dark"] #modal-premium-plan #premium-modal-faq-sec span{background: var(--dm-bg-surface-alt) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] #modal-premium-plan #premium-modal-plus-tools-box, html[data-theme="dark"] #modal-premium-plan #premium-modal-plus-tools-box span, html[data-theme="dark"] #modal-premium-plan #premium-modal-plus-tools-box button{background: var(--dm-bg-elevated) !important;color: #EDE9FE !important;border-color: rgba(196, 181, 253, 0.4) !important;}
html[data-theme="dark"] #modal-premium-plan #premium-modal-active-title, html[data-theme="dark"] #dropdown-user-plan-pill{color: var(--dm-amber-text) !important;background: #342C1F !important;border-color: var(--dm-amber-border) !important;}
html[data-theme="dark"] sup.prem-plus-sup{color: #DDD6FE !important;}
html[data-theme="dark"] #mypage-toolbar button[id^="mypage-pill-"].active, html[data-theme="dark"] #mypage-pill-shelf, html[data-theme="dark"] #mypage-pill-room, html[data-theme="dark"] #mypage-pill-highlights, html[data-theme="dark"] #mypage-pill-library{color: #FFFFFF !important;}
html[data-theme="dark"] #mypage-pill-shelf.active, html[data-theme="dark"] #mypage-pill-room.active, html[data-theme="dark"] #mypage-pill-highlights.active, html[data-theme="dark"] #mypage-pill-library.active, html[data-theme="dark"] #mypage-pill-kininaru.active, html[data-theme="dark"] #mypage-pill-purchase.active, html[data-theme="dark"] #mypage-pill-all.active{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;border-color: #F3D496 !important;}
html[data-theme="dark"] #mypage-toolbar button[id^="mypage-pill-"].active > span:first-of-type{color: var(--dm-amber-ink) !important;}
html[data-theme="dark"] #mypage-next-step-bridge, html[data-theme="dark"] #mypage-next-step-bridge > div{background: var(--dm-bg-surface) !important;border-color: var(--dm-border-strong) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] #mypage-next-step-bridge button{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border: 1px solid var(--dm-border-strong) !important;}
html[data-theme="dark"] #mypage-next-step-bridge button span{color: var(--dm-amber-text) !important;}
html[data-theme="dark"] #kininaru-header-count{background: #362C20 !important;color: var(--dm-amber-text) !important;}
html[data-theme="dark"] #mypage-inline-bookshelf-mount .mypage-inline-bookshelf-card button.pill-btn.active, html[data-theme="dark"] #mypage-inline-bookshelf-mount .mypage-inline-bookshelf-card button[style*="fb7185"], html[data-theme="dark"] #btn-lib-header-my-public, html[data-theme="dark"] .community-my-public-view button.highlight-gold-btn, html[data-theme="dark"] .mypage-devices-container button.pill-btn.active{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;border-color: #F3D496 !important;}
html[data-theme="dark"] #btn-lib-header-my-public span{color: var(--dm-amber-ink) !important;}
html[data-theme="dark"] #mp-digest-4axis-card, html[data-theme="dark"] #mp-digest-4axis-card .mp-digest-axis-block, html[data-theme="dark"] #mp-digest-4axis-card .mp-digest-axis-head, html[data-theme="dark"] #mp-digest-4axis-card .mp-digest-preview-accordion, html[data-theme="dark"] #mp-digest-4axis-card .mp-digest-preview-accordion summary{background: var(--dm-bg-surface) !important;border-color: var(--dm-border-strong) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] #mp-digest-4axis-card .mp-digest-axis-title{color: var(--dm-text-main) !important;}
html[data-theme="dark"] #mp-digest-4axis-card .mp-digest-chk-chip{background: var(--dm-bg-elevated) !important;border-color: var(--dm-border-strong) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] #mp-digest-4axis-card .mp-digest-chk-chip.is-checked{background: #1F3B34 !important;border-color: #34D399 !important;color: #ECFDF5 !important;}
html[data-theme="dark"] #mp-digest-4axis-card .mp-digest-chk-chip .mp-digest-chk-label{color: inherit !important;}
html[data-theme="dark"] .community-my-public-view, html[data-theme="dark"] .community-my-public-view > div{background: var(--dm-bg-surface) !important;border-color: var(--dm-border-strong) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] .community-my-public-view .table-genre-badge{background: var(--dm-bg-elevated) !important;color: var(--dm-amber-text) !important;border: 1px solid var(--dm-amber-border) !important;}
html[data-theme="dark"] .community-my-public-view .table-user-honorific, html[data-theme="dark"] .community-my-public-view .table-more-books-tag, html[data-theme="dark"] .community-my-public-view .table-bio-text, html[data-theme="dark"] .community-my-public-view span{color: var(--dm-text-sub) !important;}
html[data-theme="dark"] .community-my-public-view .table-user-name-line strong, html[data-theme="dark"] .community-my-public-view button.highlight-gold-btn, html[data-theme="dark"] .community-my-public-view button.highlight-gold-btn span{color: var(--dm-amber-ink) !important;}
html[data-theme="dark"] .community-my-public-view .table-user-name-box strong{color: var(--dm-text-main) !important;}
html[data-theme="dark"] #header-user-dropdown{background: var(--dm-bg-surface) !important;border: 1px solid var(--dm-border-strong) !important;box-shadow: 0 12px 32px rgba(0, 0, 0, 0.48) !important;}
html[data-theme="dark"] #header-user-dropdown .user-dropdown-item .dropdown-item-label{color: var(--dm-text-main) !important;}
html[data-theme="dark"] #header-user-dropdown .user-dropdown-item.user-dropdown-item-mypage{background: #362C22 !important;border-color: var(--dm-amber-border) !important;}
html[data-theme="dark"] #header-user-dropdown .user-dropdown-item.user-dropdown-item-mypage .dropdown-item-label{color: var(--dm-amber-text) !important;}
html[data-theme="dark"] #header-user-dropdown .user-dropdown-item[onclick*="Erase"] .dropdown-item-label, html[data-theme="dark"] #header-user-dropdown .user-dropdown-item[onclick*="delete"] .dropdown-item-label{color: #FCA5A5 !important;}
html[data-theme="dark"] #modal-auth-prompt .modal-box{background: var(--dm-bg-surface) !important;border-color: var(--dm-border-strong) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] #modal-auth-prompt .btn-auth-line{background: #047857 !important;color: #FFFFFF !important;}
html[data-theme="dark"] #modal-auth-prompt .btn-auth-line span{color: #FFFFFF !important;}
html[data-theme="dark"] #modal-auth-prompt #auth-tab-btn-login, html[data-theme="dark"] #modal-auth-prompt #auth-tab-btn-register{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] #modal-auth-prompt #auth-tab-btn-login.active, html[data-theme="dark"] #modal-auth-prompt #auth-tab-btn-register.active{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;}
html[data-theme="dark"] #modal-auth-prompt #auth-tab-btn-login.active span, html[data-theme="dark"] #modal-auth-prompt #auth-tab-btn-register.active span{color: var(--dm-amber-ink) !important;}
html[data-theme="dark"] #modal-auth-prompt .auth-premium-teaser-btn{background: #332B1E !important;border: 1px solid var(--dm-amber-border) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] #modal-auth-prompt .auth-premium-teaser-btn h4, html[data-theme="dark"] #modal-auth-prompt .auth-premium-teaser-btn div{color: var(--dm-amber-text) !important;background: transparent !important;}
html[data-theme="dark"] #modal-auth-prompt .auth-switch-link-btn{color: var(--dm-amber-text) !important;}
html[data-theme="dark"] #modal-auth-prompt a, html[data-theme="dark"] #modal-legal a{color: #7DD3FC !important;}
html[data-theme="dark"] #modal-legal .modal-box{background: var(--dm-bg-surface) !important;color: var(--dm-text-main) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] #darkmode-upsell-upgrade-btn{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;}
html[data-theme="dark"] #darkmode-upsell-upgrade-btn span{color: var(--dm-amber-ink) !important;}
html[data-theme="dark"] .hk-erase-card, html[data-theme="dark"] [aria-labelledby="hk-erase-title"]{background: var(--dm-bg-surface) !important;border-color: rgba(248, 113, 113, 0.35) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] .guide-markdown-body .guide-md-strong, html[data-theme="dark"] .guide-markdown-body strong{background: none !important;background-image: linear-gradient(transparent 66%, rgba(226, 168, 75, 0.22) 66%) !important;color: #F6DCAC !important;}
html[data-theme="dark"] .guide-markdown-body table.guide-md-table tr, html[data-theme="dark"] .guide-markdown-body table.guide-md-table tr.is-even-row, html[data-theme="dark"] .guide-markdown-body table.guide-md-table tr.is-alt-row{background: var(--dm-bg-surface-alt) !important;}
html[data-theme="dark"] .guide-markdown-body table.guide-md-table tr.is-alt-row td{background: #292E37 !important;}
html[data-theme="dark"] .guide-markdown-body table.guide-md-table td.is-lead-col{background: #2D323D !important;}
html[data-theme="dark"] #guide-calc-ebookjapan .guide-calc-panel, html[data-theme="dark"] .guide-calc-panel, html[data-theme="dark"] #guide-calc-ebookjapan-result, html[data-theme="dark"] #guide-calc-ebookjapan-result > div{background: var(--dm-bg-surface) !important;border-color: var(--dm-border-strong) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] .guide-calc-label, html[data-theme="dark"] .guide-calc-unit, html[data-theme="dark"] .guide-calc-res-detail, html[data-theme="dark"] #guide-calc-ebookjapan-result p, html[data-theme="dark"] #guide-calc-ebookjapan-result strong{color: var(--dm-text-main) !important;}
html[data-theme="dark"] .guide-calc-pill, html[data-theme="dark"] .guide-blog-num-pill{background: #362E20 !important;color: #F3D496 !important;border: 1px solid var(--dm-amber-border) !important;}
html[data-theme="dark"] .guide-calc-preset-price, html[data-theme="dark"] .guide-calc-preset-vols, html[data-theme="dark"] .guide-filter-tab-btn, html[data-theme="dark"] #top-guide-search-input, html[data-theme="dark"] .guide-blog-cta-sub-btn{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] .guide-calc-preset-price.is-active, html[data-theme="dark"] .guide-calc-preset-vols.is-active, html[data-theme="dark"] .guide-filter-tab-btn.active, html[data-theme="dark"] .guide-filter-tab-btn.is-active{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;border-color: #F3D496 !important;}
html[data-theme="dark"] #guide-calc-ebookjapan-result .guide-calc-res-saving-box{background: #3B2329 !important;color: #FECDD3 !important;border-color: rgba(251, 113, 133, 0.42) !important;}
html[data-theme="dark"] #guide-calc-ebookjapan-result .guide-calc-res-saving-box *{color: #FECDD3 !important;}
html[data-theme="dark"] #guide-calc-ebookjapan-result a.guide-calc-res-cta, html[data-theme="dark"] a.guide-calc-res-cta{background: #9F1239 !important;color: #FFF1F2 !important;border-color: rgba(253, 164, 175, 0.45) !important;}
html[data-theme="dark"] #guide-calc-ebookjapan-result a.guide-calc-res-cta *{color: #FFF1F2 !important;}
html[data-theme="dark"] .guide-blog-conclusion-box, html[data-theme="dark"] .guide-blog-cta-box{background: var(--dm-bg-surface-alt) !important;border-color: var(--dm-amber-border) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] .guide-blog-conclusion-box *, html[data-theme="dark"] .guide-blog-cta-box h4, html[data-theme="dark"] .guide-blog-cta-box p, html[data-theme="dark"] .guide-blog-cta-box div:not(.guide-blog-cta-btn-row){color: var(--dm-text-main) !important;}
html[data-theme="dark"] .guide-blog-cat-pill, html[data-theme="dark"] .guide-blog-list-reading, html[data-theme="dark"] #top-4store-unified-console .t4s-console-head span[style*="c76508"], html[data-theme="dark"] #top-4store-unified-console .t4s-console-head span[style*="d97706"], html[data-theme="dark"] #top-4store-unified-console .t4s-console-head span[style*="ea580c"], html[data-theme="dark"] #top-4store-unified-console .t4s-console-head > div > span:first-child{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;}
html[data-theme="dark"] .guide-blog-top5-pill, html[data-theme="dark"] #header-alert-bell-badge{background: #B91C1C !important;color: #FFFFFF !important;}
html[data-theme="dark"] .cafe-card-main .cafe-header-cta-group > a > span{color: #FCA5A5 !important;}
html[data-theme="dark"] .cafe-card-main .cafe-header-cta-group .cafe-cta-action, html[data-theme="dark"] .cafe-card-main .cafe-header-cta-group .cafe-cta-action span{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;}
html[data-theme="dark"] footer#site-footer .footer-affiliate-notice, html[data-theme="dark"] details.footer-column-sitemap-accordion span{color: var(--dm-text-sub) !important;}
html[data-theme="dark"] .hikabon-clean-sim-card .hk-sim-badge{background: #1B3838 !important;color: #99F6E4 !important;border: 1px solid rgba(94, 234, 212, 0.35) !important;}
html[data-theme="dark"] .hikabon-clean-shelf-card .hk-shelf-badge{background: #3A2A1E !important;color: #FCD34D !important;border: 1px solid rgba(251, 191, 36, 0.35) !important;}
html[data-theme="dark"] .hikabon-clean-sim-card .hk-sim-label, html[data-theme="dark"] .hikabon-clean-sim-card .hk-sim-credit, html[data-theme="dark"] .hikabon-clean-shelf-card .hk-shelf-credit{color: var(--dm-text-sub) !important;}
html[data-theme="dark"] .hikabon-clean-sim-card .hk-sim-subbar, html[data-theme="dark"] .hikabon-clean-sim-card .hk-sim-verdict, html[data-theme="dark"] .hikabon-clean-shelf-card .hk-shelf-preview{background: var(--dm-bg-surface-alt) !important;border-color: var(--dm-border-strong) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] .hikabon-clean-sim-card .hk-sim-verdict-title, html[data-theme="dark"] .hikabon-clean-shelf-card .hk-shelf-preview-title{color: var(--dm-amber-text) !important;}
html[data-theme="dark"] .hikabon-clean-sim-card .hk-sim-verdict-sub{color: #6EE7B7 !important;}
html[data-theme="dark"] .hikabon-clean-shelf-card .hk-shelf-preview-body{color: var(--dm-text-main) !important;}
html[data-theme="dark"] .hikabon-clean-shelf-card .hk-shelf-btn{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] .hikabon-clean-shelf-card .hk-shelf-btn.is-active{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;border-color: #F3D496 !important;}
html[data-theme="dark"] .hikabon-clean-shelf-card .hk-bj-spine-badge{background: rgba(15, 23, 42, 0.78) !important;color: #FFFFFF !important;}
html[data-theme="dark"] #reading-items-device-protection-mount > div, html[data-theme="dark"] #reading-items-device-protection-mount div[style*="#fff"], html[data-theme="dark"] #reading-items-device-protection-mount div[style*="fffbeb"]{background: var(--dm-bg-surface) !important;border-color: var(--dm-amber-border) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] #reading-items-device-protection-mount h3, html[data-theme="dark"] #reading-items-device-protection-mount p, html[data-theme="dark"] #reading-items-device-protection-mount div, html[data-theme="dark"] #reading-items-device-protection-mount span{color: var(--dm-text-main) !important;}
html[data-theme="dark"] #reading-items-device-protection-mount button, html[data-theme="dark"] #reading-items-device-protection-mount select, html[data-theme="dark"] #btn-items-table-tab-device, html[data-theme="dark"] #btn-items-table-tab-scene{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] #btn-items-table-tab-device.active, html[data-theme="dark"] #btn-items-table-tab-scene.active{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;border-color: #F3D496 !important;}
html[data-theme="dark"] #view-reading-items div[style*="f8f4ea"], html[data-theme="dark"] div[id^="acc-"], html[data-theme="dark"] div[id^="acc-"] > div, html[data-theme="dark"] div[id^="acc-"] > div > div[style*="f8f4ea"], html[data-theme="dark"] div[id^="acc-"] > div > div[style*="#fff"]{background: var(--dm-bg-surface) !important;border-color: var(--dm-border-matte) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] span.acc-situation-badge, html[data-theme="dark"] #reading-items-featured-grid .reading-goods-card-badge, html[data-theme="dark"] #reading-items-scene-header-bar span, html[data-theme="dark"] #reading-items-catalog-panel > div > div > span, html[data-theme="dark"] #sec-items-featured > div > span, html[data-theme="dark"] #sec-items-situation-table > div > span{background: #362E20 !important;color: var(--dm-amber-text) !important;border: 1px solid var(--dm-amber-border) !important;}
html[data-theme="dark"] div[id^="acc-"] div[style*="0284c7"], html[data-theme="dark"] .hkb-acc-card div[style*="0284c7"]{color: #7DD3FC !important;background: transparent !important;}
html[data-theme="dark"] .reading-goods-compatibility span, html[data-theme="dark"] .reading-goods-specs, html[data-theme="dark"] .reading-table-item-brand, html[data-theme="dark"] .reading-table-item-info span, html[data-theme="dark"] #view-reading-items table.reader-table td strong, html[data-theme="dark"] #view-reading-items details > summary{color: var(--dm-amber-text) !important;}
html[data-theme="dark"] a.btn-goods-amazon, html[data-theme="dark"] a.btn-goods-amazon span{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;}
html[data-theme="dark"] a.btn-reader-buy-rakuten, html[data-theme="dark"] a.btn-reader-buy-rakuten span, html[data-theme="dark"] a.btn-goods-rakuten, html[data-theme="dark"] a.btn-goods-rakuten span, html[data-theme="dark"] a.hkb-store-btn.yahoo, html[data-theme="dark"] a.hkb-store-btn.yahoo span, html[data-theme="dark"] a.btn-reader-buy-yahoo, html[data-theme="dark"] a.btn-reader-buy-yahoo span{background: #B91C1C !important;color: #FFFFFF !important;border-color: rgba(252, 165, 165, 0.4) !important;}
html[data-theme="dark"] #view-unlimited .unlimited-lp-hero span, html[data-theme="dark"] #view-unlimited .unlimited-lp-hero span strong{color: var(--dm-amber-text) !important;}
html[data-theme="dark"] #unlimited-selected-service-columns details.unlim-deep-details h4, html[data-theme="dark"] #unlimited-selected-service-columns details.unlim-deep-details strong{color: var(--dm-text-main) !important;}
html[data-theme="dark"] #unlimited-selected-service-columns details.unlim-deep-details div[style*="fffbeb"], html[data-theme="dark"] #unlimited-selected-service-columns details.unlim-deep-details div[style*="fef3c7"], html[data-theme="dark"] #unlimited-selected-service-columns details.unlim-deep-details div[style*="f8fafc"], html[data-theme="dark"] #unlimited-selected-service-columns details.unlim-deep-details div[style*="fff1f2"]{background: #2C2923 !important;color: var(--dm-text-main) !important;border-color: var(--dm-amber-border) !important;}
html[data-theme="dark"] button[onclick*="jumpToHikabonNoteFromUnlimited"], html[data-theme="dark"] button[onclick*="jumpToTopSaleFromUnlimited"]{background: #362E20 !important;color: #F3D496 !important;border-color: var(--dm-amber-border) !important;}
html[data-theme="dark"] #unlimited-scene-finder-section > div, html[data-theme="dark"] #unlimited-scene-finder-section div[style*="fffbeb"], html[data-theme="dark"] #unlimited-scene-finder-section div[style*="ffffff"], html[data-theme="dark"] #unlimited-scene-finder-section p[style*="f8fafc"], html[data-theme="dark"] #unlimited-ab-compare-section > div, html[data-theme="dark"] #unlimited-ab-compare-section div[style*="#fff"], html[data-theme="dark"] #unlimited-ab-compare-section div[style*="fff8e0"], html[data-theme="dark"] #unlimited-combo-relay-section div[style*="#fff"], html[data-theme="dark"] #unlimited-detail-container .aida-detail-box > div, html[data-theme="dark"] #unlimited-detail-container .aida-detail-box div[style*="#fff"], html[data-theme="dark"] #unlimited-detail-container .aida-detail-box div[style*="f8fafc"], html[data-theme="dark"] #unlimited-detail-container .aida-detail-box div[style*="ecfdf5"]{background: var(--dm-bg-surface-alt) !important;color: var(--dm-text-main) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] #unlimited-scene-finder-section div[style*="78350f"], html[data-theme="dark"] #unlimited-scene-finder-section div[style*="432818"], html[data-theme="dark"] #unlimited-scene-finder-section div[style*="1e293b"], html[data-theme="dark"] #unlimited-scene-finder-section div[style*="475569"], html[data-theme="dark"] #unlimited-scene-finder-section p, html[data-theme="dark"] #unlimited-combo-relay-section div[style*="1e293b"], html[data-theme="dark"] #unlimited-combo-relay-section div[style*="475569"]{color: var(--dm-text-main) !important;}
html[data-theme="dark"] #unlimited-scene-finder-section a[style*="background:#fff"], html[data-theme="dark"] #unlimited-combo-relay-section button, html[data-theme="dark"] #unlimited-ab-compare-section button, html[data-theme="dark"] #unlimited-ab-compare-section select, html[data-theme="dark"] #unlimited-detail-container .aida-detail-box button, html[data-theme="dark"] #view-unlimited .compare-spec-table td button{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border: 1px solid var(--dm-border-strong) !important;}
html[data-theme="dark"] #unlimited-scene-finder-section span[style*="background:"], html[data-theme="dark"] #unlimited-scene-finder-section button[onclick*="jumpToUnlimitedServiceFromFinder"], html[data-theme="dark"] #unlimited-combo-relay-section span[style*="background:"], html[data-theme="dark"] #unlimited-selected-service-columns span[style*="f59e0b"], html[data-theme="dark"] .unlim-deep-role-badge, html[data-theme="dark"] .unlim-minnie-active-badge, html[data-theme="dark"] #unlimited-pill-btn-0, html[data-theme="dark"] #unlimited-detail-container a.aida-cta-primary, html[data-theme="dark"] #unlimited-detail-container a.aida-cta-primary span, html[data-theme="dark"] #view-unlimited .compare-spec-table td a[style*="background:"]{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;border-color: #F3D496 !important;}
html[data-theme="dark"] #unlimited-pill-btn-0 span{color: var(--dm-amber-ink) !important;}
html[data-theme="dark"] #unlimited-combo-relay-section div[style*="color:#e11d48"], html[data-theme="dark"] #unlimited-combo-relay-section div[style*="color:#f97316"], html[data-theme="dark"] #unlimited-combo-relay-section div[style*="color:#0ea5e9"], html[data-theme="dark"] #unlimited-combo-relay-section span[style*="color:"]:not([style*="background:"]), html[data-theme="dark"] #unlimited-ab-compare-section div[style*="color:"]{color: var(--dm-amber-text) !important;}
html[data-theme="dark"] #view-unlimited .compare-spec-table th.spec-th-a, html[data-theme="dark"] #view-unlimited .compare-spec-table th.spec-th-b, html[data-theme="dark"] #view-unlimited .compare-spec-table td.spec-val-a, html[data-theme="dark"] #view-unlimited .compare-spec-table td.spec-val-b{color: var(--dm-text-main) !important;background: var(--dm-bg-surface) !important;}
html[data-theme="dark"] .aida-app-rating-pill .aida-app-reviews{color: #FDE68A !important;}
html[data-theme="dark"] #reader-diagnostic-section h2, html[data-theme="dark"] #reader-diagnostic-section h2 div, html[data-theme="dark"] #reader-diagnostic-section p, html[data-theme="dark"] #reader-risk-advice-card .risk-title{color: var(--dm-text-main) !important;}
html[data-theme="dark"] #reader-compare-section > div[style*="fff"], html[data-theme="dark"] #reader-compare-body > div, html[data-theme="dark"] #reader-compare-body div[style*="#fff"], html[data-theme="dark"] #reader-compare-body div[style*="f8fafc"], html[data-theme="dark"] #reader-compare-body table tr, html[data-theme="dark"] #reader-accessories-section > div, html[data-theme="dark"] #reader-accessories-section > div > div, html[data-theme="dark"] #reader-accessories-section div[style*="#fff"], html[data-theme="dark"] #reader-accessories-section details, html[data-theme="dark"] #view-reader .hkb-acc-pickup-box, html[data-theme="dark"] #view-reader .hkb-acc-pickup-box > div, html[data-theme="dark"] #view-reader .hkb-acc-pickup-box .hkb-acc-card, html[data-theme="dark"] #view-reader .hkb-acc-pickup-box .hkb-acc-card div[style*="fff"], html[data-theme="dark"] #view-reader .hkb-acc-pickup-box .hkb-acc-card span[style*="fff"], html[data-theme="dark"] #reader-specs-table thead tr{background: var(--dm-bg-surface) !important;color: var(--dm-text-main) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] #reader-compare-body div, html[data-theme="dark"] #reader-compare-body span:not(.slot-badge):not(.compare-slot-tag):not(.spec-win-badge):not(.table-win-badge), html[data-theme="dark"] #reader-compare-body strong, html[data-theme="dark"] #reader-compare-body p, html[data-theme="dark"] #reader-accessories-section div, html[data-theme="dark"] #reader-accessories-section span{color: var(--dm-text-main) !important;}
html[data-theme="dark"] #reader-compare-body button, html[data-theme="dark"] #btn-view-style-grid, html[data-theme="dark"] #btn-view-style-map, html[data-theme="dark"] button.hkb-own-btn, html[data-theme="dark"] #view-reader .hkb-acc-pickup-box button{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border: 1px solid var(--dm-border-strong) !important;}
html[data-theme="dark"] button#btn-map-mode-mode1, html[data-theme="dark"] button[id^="btn-map-mode-"].active{background: #4338CA !important;color: #FFFFFF !important;}
html[data-theme="dark"] #reader-map-nodes-layer .hkb-map-pin .hkb-pin-price, html[data-theme="dark"] #reader-specs-tbody td div, html[data-theme="dark"] #reader-specs-tbody td > span{color: var(--dm-text-sub) !important;}
html[data-theme="dark"] #reader-specs-tbody td div > span[style*="background"]{background: #2D3340 !important;color: var(--dm-amber-text) !important;border: 1px solid var(--dm-border-strong) !important;}
html[data-theme="dark"] .quiz-start-btn, html[data-theme="dark"] .quiz-start-btn span, html[data-theme="dark"] #reader-accessories-section > div > div > button, html[data-theme="dark"] #reader-accessories-section > div > div > button span, html[data-theme="dark"] .hkb-acc-pickup-box > div > div > button[style*="ea580c"], html[data-theme="dark"] .hkb-acc-pickup-box > div > div > button[style*="ea580c"] span, html[data-theme="dark"] .hkb-pin-slot.b, html[data-theme="dark"] .slot-badge.b, html[data-theme="dark"] .hkb-ab-set-btn.slot-b, html[data-theme="dark"] .compare-slot-tag.slot-b, html[data-theme="dark"] #reader-compare-section th span[style*="ea580c"], html[data-theme="dark"] .reader-article-badge.amber{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;}
html[data-theme="dark"] .reader-article-badge.cyan{background: #0E7490 !important;color: #ECFEFF !important;}
html[data-theme="dark"] .reader-article-badge.emerald, html[data-theme="dark"] .hkb-pin-tag.owned, html[data-theme="dark"] .quiz-diff-badge.better{background: #047857 !important;color: #ECFDF5 !important;}
html[data-theme="dark"] .ranking-share-pct-badge{color: var(--dm-amber-text) !important;}
html[data-theme="dark"] #mypage-toolbar #mypage-pill-all.active, html[data-theme="dark"] #mypage-toolbar #mypage-pill-room.active, html[data-theme="dark"] #mypage-toolbar #mypage-pill-shelf.active, html[data-theme="dark"] #mypage-toolbar #mypage-pill-library.active, html[data-theme="dark"] #mypage-toolbar #mypage-pill-highlights.active, html[data-theme="dark"] #mypage-toolbar #mypage-pill-kininaru.active, html[data-theme="dark"] #mypage-toolbar #mypage-pill-purchase.active{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;border-color: #F3D496 !important;box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28) !important;}
html[data-theme="dark"] #mypage-toolbar button[id^="mypage-pill-"].active > span:not(.mypage-nav-badge), html[data-theme="dark"] #mypage-toolbar button[id^="mypage-pill-"].active svg{color: var(--dm-amber-ink) !important;stroke: var(--dm-amber-ink) !important;}
html[data-theme="dark"] #mypage-toolbar button[id^="mypage-pill-"] .mypage-nav-badge, html[data-theme="dark"] #mypage-toolbar button[id^="mypage-pill-"].active .mypage-nav-badge, html[data-theme="dark"] #dropdown-library-badge, html[data-theme="dark"] #dropdown-library-badge span{background: #232730 !important;color: #F0EDE7 !important;border: 1px solid rgba(255, 255, 255, 0.20) !important;}
html[data-theme="dark"] #mypage-toolbar button[id^="mypage-pill-"] .mypage-nav-badge *, html[data-theme="dark"] #mypage-toolbar button[id^="mypage-pill-"].active .mypage-nav-badge *{background: transparent !important;color: #F0EDE7 !important;}
html[data-theme="dark"] .mypage-bar-stats-row .user-stat-chip, html[data-theme="dark"] .mypage-bar-stats-row .user-stat-chip.is-active-chip, html[data-theme="dark"] .mypage-bar-stats-row .user-stat-chip.room.is-active-chip, html[data-theme="dark"] .mypage-bar-stats-row .user-stat-chip.shelf.is-active-chip, html[data-theme="dark"] .mypage-bar-stats-row .user-stat-chip.heart.is-active-chip, html[data-theme="dark"] .mypage-bar-stats-row .user-stat-chip.note.is-active-chip, html[data-theme="dark"] .mypage-bar-stats-row .user-stat-chip.star.is-active-chip, html[data-theme="dark"] .mypage-bar-stats-row .user-stat-chip.alert.is-active-chip{background: #2C313D !important;color: #F0EDE7 !important;border-color: var(--dm-amber-border) !important;}
html[data-theme="dark"] .mypage-bar-stats-row .user-stat-chip.is-active-chip *, html[data-theme="dark"] .mypage-bar-stats-row .user-stat-chip *{color: #F3D496 !important;background: transparent !important;}
html[data-theme="dark"] .mypage-bookshelf-theater-card button sup.prem-plus-sup{color: #1B160E !important;}
html[data-theme="dark"] .shelf-prominent-plaque.plaque-antique-brass, html[data-theme="dark"] .shelf-prominent-plaque.plaque-antique-brass *{color: #1C1308 !important;text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) !important;}
html[data-theme="dark"] div[id^="spine-book-"] .spine-pub-mark{background: rgba(15, 18, 24, 0.62) !important;color: #FFFFFF !important;opacity: 1 !important;}
html[data-theme="dark"] div[id^="spine-book-"] .spine-text, html[data-theme="dark"] div[id^="spine-book-"] .spine-text span{color: #FFFFFF !important;text-shadow: none !important;}
html[data-theme="dark"] div[id^="spine-book-"] .spine-1col-wrap, html[data-theme="dark"] div[id^="spine-book-"] .spine-2col-wrap{background: rgba(15, 18, 24, 0.36) !important;border-radius: 3px;padding: 2px 1px;}
html[data-theme="dark"] .spine-sub-ribbon, html[data-theme="dark"] .btn-sub-add-record, html[data-theme="dark"] #community-banner-public-badge, html[data-theme="dark"] .btn-owned-toggle.is-owned, html[data-theme="dark"] #mp-digest-4axis-card .mp-digest-line-toggle-btn.is-on, html[data-theme="dark"] #mp-digest-4axis-card .mp-digest-line-toggle-btn.is-on span, html[data-theme="dark"] #mypage-highlights-header-card button[style*="0ba875"], html[data-theme="dark"] #hl-panel-text button.highlight-gold-btn, html[data-theme="dark"] #hl-panel-text button.highlight-gold-btn span, html[data-theme="dark"] #mypage-purchase-dashboard-section button.highlight-gold-btn{background: #047857 !important;color: #ECFDF5 !important;}
html[data-theme="dark"] .faceout-ribbon-badge, html[data-theme="dark"] .table-user-avatar, html[data-theme="dark"] #kininaru-return-sale-btn, html[data-theme="dark"] #kininaru-return-sale-btn span, html[data-theme="dark"] .mypage-bookshelf-theater-card > div > button, html[data-theme="dark"] .mypage-bookshelf-theater-card > div > button span, html[data-theme="dark"] .community-my-public-view button.highlight-gold-btn, html[data-theme="dark"] .community-my-public-view button.highlight-gold-btn span, html[data-theme="dark"] .mypage-devices-container button.pill-btn.active, html[data-theme="dark"] #hl-store-btn-Kindle, html[data-theme="dark"] #hl-store-btn-Kindle span, html[data-theme="dark"] #hl-panel-text button[style*="e26809"], html[data-theme="dark"] #hl-panel-text button[style*="e26809"] span, html[data-theme="dark"] #ku-price-drop-tracker button.pill-btn, html[data-theme="dark"] #ku-price-drop-tracker button.pill-btn span, html[data-theme="dark"] .ku-mobile-col-btn.col-buy, html[data-theme="dark"] .ku-mobile-col-btn.col-buy span, html[data-theme="dark"] #community-filter-pills .community-filter-pill.active, html[data-theme="dark"] .table-user-name-line > span:not(.table-user-name):not(.table-user-honorific), html[data-theme="dark"] #ku-col-buy .ku-col-title > span, html[data-theme="dark"] #mp-spotlight-scope-inpage, html[data-theme="dark"] #mp-spotlight-scope-inpage span, html[data-theme="dark"] .mypage-inline-bookshelf-card div > button[style*="e2a84b"], html[data-theme="dark"] .mypage-inline-bookshelf-card div > button[style*="e892a2"], html[data-theme="dark"] .mypage-inline-bookshelf-card div > button[style*="d97706"]:not([onclick*="autoSortShelf"]), html[data-theme="dark"] .ku-filter-panel-box .badge-filter-btn[style*="d97706"]{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;border-color: #F3D496 !important;}
html[data-theme="dark"] #ku-col-alerts .ku-col-title > span, html[data-theme="dark"] #ku-col-alerts .ku-alert-cond-box button[style*="0284c7"]{background: #0369A1 !important;color: #F0F9FF !important;}
html[data-theme="dark"] #mypage-storage-usage-bar span, html[data-theme="dark"] #mypage-storage-usage-bar button, html[data-theme="dark"] .mypage-devices-container span:not(.my-gear-badge), html[data-theme="dark"] .mypage-devices-container .my-gear-info div, html[data-theme="dark"] .mypage-devices-container .reader-popular-ranking-box button, html[data-theme="dark"] .mypage-inline-bookshelf-card span, html[data-theme="dark"] .mypage-inline-bookshelf-card button.pill-btn:not(.active), html[data-theme="dark"] #community-banner-likes-count, html[data-theme="dark"] #community-banner-books-count, html[data-theme="dark"] .community-my-public-view button:not(.highlight-gold-btn), html[data-theme="dark"] .hikabon-reading-log-panel span, html[data-theme="dark"] .hikabon-reading-log-panel strong, html[data-theme="dark"] .hikabon-reading-log-panel button.pill-btn, html[data-theme="dark"] #mypage-data-backup-section span, html[data-theme="dark"] .subcontent-loop-nav-section .ranking-loop-card span{color: var(--dm-text-main) !important;}
html[data-theme="dark"] .hikabon-reading-log-panel button.reading-lamp-btn{background: #362E20 !important;color: var(--dm-amber-text) !important;border: 1px solid var(--dm-amber-border) !important;}
html[data-theme="dark"] .mypage-purchase-dashboard span, html[data-theme="dark"] .mypage-purchase-dashboard strong, html[data-theme="dark"] .my-gear-badge, html[data-theme="dark"] #mp-digest-4axis-card .mp-digest-axis-badge, html[data-theme="dark"] #mp-digest-4axis-card .mp-digest-cron-pill, html[data-theme="dark"] #mp-digest-4axis-card .mp-digest-mini-btn.is-active, html[data-theme="dark"] #mypage-highlights-header-card span, html[data-theme="dark"] #mypage-highlights-header-card button.pill-btn:not([style*="0ba875"]), html[data-theme="dark"] #hl-quick-book-picker span, html[data-theme="dark"] #hl-quick-book-picker button span, html[data-theme="dark"] #hl-manual-char-counter, html[data-theme="dark"] details#hl-legacy-details span{color: #86EFAC !important;}
html[data-theme="dark"] .mypage-purchase-dashboard .metric-tag.year-tag{color: #C7D2FE !important;}
html[data-theme="dark"] #ku-col-buy .ku-store-totals-box a, html[data-theme="dark"] #ku-price-drop-tracker strong, html[data-theme="dark"] #ku-price-drop-tracker > div > button > span:first-child, html[data-theme="dark"] .ku-filter-panel-box .badge-filter-btn[style*="dc2626"]{color: #FCA5A5 !important;}
html[data-theme="dark"] #ku-col-buy .ku-store-totals-box span, html[data-theme="dark"] #ku-price-drop-tracker > div > button > span:last-child, html[data-theme="dark"] .ku-item-card .ku-item-price-row span, html[data-theme="dark"] .ku-item-card .ku-item-price-row strong, html[data-theme="dark"] .ku-item-card .ku-item-meta span, html[data-theme="dark"] .ku-filter-panel-box .badge-filter-btn[style*="0284c7"]{color: var(--dm-amber-text) !important;}
html[data-theme="dark"] table.community-readers-table .account-row-tier-top span:not(.table-user-name-line > span), html[data-theme="dark"] table.community-readers-table .table-book-chip, html[data-theme="dark"] table.community-readers-table .table-common-label, html[data-theme="dark"] table.community-readers-table .shelf-tag-chip, html[data-theme="dark"] table.community-readers-table .reader-table-open-btn{color: var(--dm-amber-text) !important;}
html[data-theme="dark"] .hika-room-expansion-upsell-pop span{color: #EDE9FE !important;}
html[data-theme="dark"] .hk-erase-card > div:first-child{color: #FCA5A5 !important;}
html[data-theme="dark"] .hk-erase-card button[data-hk-erase-open="1"]{background: #3F2226 !important;color: #FECACA !important;border-color: rgba(248, 113, 113, 0.45) !important;}
html[data-theme="dark"] [aria-labelledby="hk-erase-title"] > div{background: var(--dm-bg-surface) !important;color: var(--dm-text-main) !important;border: 1px solid rgba(248, 113, 113, 0.35) !important;}
html[data-theme="dark"] [aria-labelledby="hk-erase-title"] h3#hk-erase-title, html[data-theme="dark"] [aria-labelledby="hk-erase-title"] [data-err="1"]{color: #FCA5A5 !important;}
html[data-theme="dark"] [aria-labelledby="hk-erase-title"] ul{color: var(--dm-text-sub) !important;}
html[data-theme="dark"] [aria-labelledby="hk-erase-title"] input#hk-erase-input{background: #1E2126 !important;color: var(--dm-text-main) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] [aria-labelledby="hk-erase-title"] button[data-cancel="1"]{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] #view-ranking #ranking-kobo-sale-only-pill, html[data-theme="dark"] #view-ranking .ranking-lp-hero button, html[data-theme="dark"] #view-media .media-hero-box button{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] #award-collection-action-bar > div > div, html[data-theme="dark"] #award-schedule-body .schedule-award-chip.is-active{background: var(--dm-bg-surface-alt) !important;color: var(--dm-text-main) !important;border-color: var(--dm-amber-border) !important;}
html[data-theme="dark"] #award-table-body tr.rank-row td.rank-td-title > div > span{background: #362C22 !important;color: var(--dm-amber-text) !important;}
html[data-theme="dark"] #award-year-kobo-sale-only{color: #FCA5A5 !important;}
html[data-theme="dark"] #award-table-container .award-table-year-header button.pill-btn, html[data-theme="dark"] #award-annual-schedule .schedule-badge, html[data-theme="dark"] #award-collection-action-bar a.cafe-column-pill-link.variant-sale{background: #362E20 !important;color: var(--dm-amber-text) !important;border-color: var(--dm-amber-border) !important;}
html[data-theme="dark"] .schedule-award-chip .chip-announced{background: #B91C1C !important;color: #FFFFFF !important;}
html[data-theme="dark"] #award-year-tabs .award-year-pill, html[data-theme="dark"] .curiosity-hero-pill-main{background: #0369A1 !important;color: #F0F9FF !important;}
html[data-theme="dark"] .rank-store-link-btn .rank-store-btn-top span{color: #D2CDC3 !important;}
html[data-theme="dark"] #view-schedule #cal-body-release .cal-event-card span, html[data-theme="dark"] #view-schedule #cal-body-ending .cal-event-card button.pill-btn, html[data-theme="dark"] #view-schedule #cal-sec-release .schedule-section-title button.pill-btn{color: #BAE6FD !important;}
html[data-theme="dark"] #view-schedule #cal-sec-ending .schedule-section-title span{color: #FCA5A5 !important;}
html[data-theme="dark"] #view-schedule #cal-sec-starting .schedule-section-title{color: #86EFAC !important;}
html[data-theme="dark"] #view-schedule [id^="modal-cal-chip-"] .chip-date-text, html[data-theme="dark"] #view-schedule [id^="modal-cal-chip-"] .chip-day-name, html[data-theme="dark"] #view-schedule [id^="modal-cal-chip-"] .chip-past-badge{color: var(--dm-text-main) !important;}
html[data-theme="dark"] #view-schedule #modal-cal-chip-2, html[data-theme="dark"] #view-schedule [id^="modal-cal-chip-"].is-today{background: #3A2E1E !important;border-color: var(--dm-amber-accent) !important;}
html[data-theme="dark"] #view-schedule [id^="modal-cal-chip-"] .chip-mini-badge{background: #2C313D !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] #view-schedule [id^="modal-cal-chip-"] .chip-mini-badge.ending{background: #48262D !important;color: #FECACA !important;}
html[data-theme="dark"] #view-schedule [id^="modal-cal-chip-"] .chip-mini-badge.release{background: #1E3452 !important;color: #BAE6FD !important;}
html[data-theme="dark"] #view-schedule [id^="modal-cal-chip-"] .chip-mini-badge.starting{background: #1B3D32 !important;color: #A7F3D0 !important;}
html[data-theme="dark"] #view-schedule [id^="modal-cal-chip-"] > div:not(.chip-date-text):not(.chip-day-name):not(.chip-badges-row){background: #B91C1C !important;color: #FFFFFF !important;}
html[data-theme="dark"] #view-media .media-work-card .clickable div, html[data-theme="dark"] #media-total-count-pill, html[data-theme="dark"] #view-media .media-badge-tag.anime{color: var(--dm-amber-text) !important;}
html[data-theme="dark"] #view-media .media-badge-tag.movie{color: #7DD3FC !important;}
html[data-theme="dark"] .curiosity-book-card .author-separator, html[data-theme="dark"] .curiosity-book-card .curiosity-book-pub-sep{color: #B8B2A7 !important;}
html[data-theme="dark"] .free-campaign-card .free-campaign-card-badge[style*="dc2626"], html[data-theme="dark"] .free-campaign-card .free-campaign-card-badge[style*="bf0000"], html[data-theme="dark"] .free-campaign-card .free-campaign-card-badge[style*="e11d48"], html[data-theme="dark"] .free-campaign-card .free-campaign-card-btn[style*="e11d48"]{background: #9F1239 !important;color: #FFF1F2 !important;}
html[data-theme="dark"] #view-plans .plans-lp-subinfo strong, html[data-theme="dark"] #view-plans .plans-table td span{color: var(--dm-amber-text) !important;}
html[data-theme="dark"] #view-plans .plan-card .plan-feature-item.disabled span, html[data-theme="dark"] #view-plans .plan-card.is-popular .plan-feature-item.disabled span{color: #C4BEB3 !important;opacity: 1 !important;}
html[data-theme="dark"] #view-plans .plan-card-tag.premium, html[data-theme="dark"] #view-plans .plan-card-btn.btn-premium, html[data-theme="dark"] #view-plans .plan-card-btn.btn-premium span{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;}
html[data-theme="dark"] #modal-auth-prompt .auth-premium-teaser-btn p{color: var(--dm-text-sub) !important;}
html[data-theme="dark"] #modal-premium-plan #premium-modal-faq-sec button, html[data-theme="dark"] #modal-premium-plan .modal-box a, html[data-theme="dark"] #modal-legal a, html[data-theme="dark"] #modal-legal table td a{color: #7DD3FC !important;}
html[data-theme="dark"] #modal-premium-plan .modal-box span[style*="059669"]{color: #86EFAC !important;}
html[data-theme="dark"] #modal-premium-plan .modal-box span[style*="d97706"]{color: var(--dm-amber-text) !important;}
html[data-theme="dark"] #guide-calc-ebookjapan-result .guide-calc-res-plan, html[data-theme="dark"] #guide-calc-ebookjapan-result .guide-calc-res-sub{color: var(--dm-text-main) !important;}
html[data-theme="dark"] #guide-calc-ebookjapan-result .guide-calc-res-saving-pill{background: #9F1239 !important;color: #FFFFFF !important;}
html[data-theme="dark"] #reader-specs-tbody td span:not([style*="background"]){color: var(--dm-text-sub) !important;}
html[data-theme="dark"] #reader-accessories-section details > summary{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] #reader-accessories-section h3, html[data-theme="dark"] #reader-accessories-section h4, html[data-theme="dark"] #reader-accessories-section p, html[data-theme="dark"] #reader-accessories-section strong, html[data-theme="dark"] #reader-compare-section > div > div, html[data-theme="dark"] #view-reader .hkb-acc-pickup-box h4{color: var(--dm-text-main) !important;}
html[data-theme="dark"] #reader-accessories-section span[style*="eef2ff"], html[data-theme="dark"] #reader-accessories-section span[style*="fff7ed"], html[data-theme="dark"] #reader-accessories-section span[style*="f1f5f9"], html[data-theme="dark"] #reader-accessories-section button[style*="fff7ed"], html[data-theme="dark"] #reader-accessories-section button[style*="eef2ff"], html[data-theme="dark"] #view-reader .hkb-acc-pickup-grid .hkb-acc-card div > div > span{background: var(--dm-bg-elevated) !important;color: var(--dm-amber-text) !important;border: 1px solid var(--dm-border-strong) !important;}
html[data-theme="dark"] #reader-accessories-section a[style*="ff0033"], html[data-theme="dark"] #reader-compare-body a[style*="ff0033"], html[data-theme="dark"] #view-reader a[style*="ff0033"]{background: #B91C1C !important;color: #FFFFFF !important;}
html[data-theme="dark"] #reader-accessories-section span[style*="background:#ea580c"], html[data-theme="dark"] #view-reader #reader-compare-section #reader-compare-body table thead th span[style*="ea580c"], html[data-theme="dark"] #view-reader #reader-compare-section #reader-compare-body span[style*="background:#ea580c"], html[data-theme="dark"] #view-reader #reader-compare-section #reader-compare-body .hkb-acc-pickup-box button[style*="background:#ea580c"], html[data-theme="dark"] #view-reader #reader-compare-section #reader-compare-body .hkb-acc-pickup-box button[style*="background:#ea580c"] > span:last-child{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;}
html[data-theme="dark"] #view-reader #reader-compare-section #reader-compare-body .hkb-acc-pickup-box button[style*="background:#ea580c"] > span:first-child:not(:only-child){background: #1B160E !important;color: #F3D496 !important;}
html[data-theme="dark"] #view-reader #reader-compare-section #reader-compare-body table thead th span[style*="4f46e5"], html[data-theme="dark"] #view-reader #reader-compare-section #reader-compare-body span[style*="background:#4f46e5"], html[data-theme="dark"] #view-reader #reader-compare-section #reader-compare-body .hkb-acc-pickup-box button[style*="background:#4f46e5"], html[data-theme="dark"] #view-reader #reader-compare-section #reader-compare-body .hkb-acc-pickup-box button[style*="background:#4f46e5"] > span:last-child{background: #4338CA !important;color: #FFFFFF !important;}
html[data-theme="dark"] #view-reader #reader-compare-section #reader-compare-body .hkb-acc-pickup-box button[style*="background:#4f46e5"] > span:first-child:not(:only-child){background: #EEF2FF !important;color: #1E1B4B !important;}
html[data-theme="dark"] #view-reader #reader-compare-section #reader-compare-body .hkb-acc-pickup-box button[style*="background:#fff"]{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] #view-reader #reader-compare-section #reader-compare-body .hkb-acc-pickup-box button[style*="background:#fff"] > span:last-child{background: transparent !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] #view-reader #reader-compare-section #reader-compare-body .hkb-acc-pickup-box button[style*="background:#fff"] > span[style*="background:#4f46e5"]{background: #4338CA !important;color: #FFFFFF !important;}
html[data-theme="dark"] #view-reader #reader-compare-section #reader-compare-body .hkb-acc-pickup-box button[style*="background:#fff"] > span[style*="background:#ea580c"]{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;}
html[data-theme="dark"] #reader-compare-body .hkb-acc-pickup-box button:not([style*="background:#ea580c"]):not([style*="background:#4f46e5"]) span:only-child{background: transparent !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] #unlimited-detail-container .aida-detail-box span:not(.aida-cta-primary span), html[data-theme="dark"] #unlimited-detail-container .aida-detail-box strong, html[data-theme="dark"] #unlimited-detail-container .aida-detail-box div{color: var(--dm-text-main) !important;}
html[data-theme="dark"] #unlimited-detail-container a.aida-cta-primary, html[data-theme="dark"] #unlimited-detail-container a.aida-cta-primary span{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;}
html[data-theme="dark"] #unlimited-ab-compare-section > div > div > div > span{color: var(--dm-amber-text) !important;}
html[data-theme="dark"] .table-user-honorific{background: transparent !important;color: var(--dm-text-sub) !important;}
html[data-theme="dark"] details#hl-legacy-details button#hl-tab-btn-text.active, html[data-theme="dark"] details#hl-legacy-details button#hl-tab-btn-text.active span, html[data-theme="dark"] details#hl-legacy-details button#hl-tab-btn-file.active, html[data-theme="dark"] details#hl-legacy-details button#hl-tab-btn-file.active span, html[data-theme="dark"] details#hl-legacy-details button#hl-store-btn-Kindle, html[data-theme="dark"] details#hl-legacy-details button#hl-store-btn-Kindle span, html[data-theme="dark"] details#hl-legacy-details #hl-panel-text button[style*="e26809"], html[data-theme="dark"] details#hl-legacy-details #hl-panel-text button[style*="e26809"] span, html[data-theme="dark"] #ku-price-drop-tracker > div > button.pill-btn, html[data-theme="dark"] #ku-price-drop-tracker > div > button.pill-btn > span, html[data-theme="dark"] #mypage-inline-bookshelf-mount .mypage-inline-bookshelf-card button.pill-btn.active, html[data-theme="dark"] #mypage-inline-bookshelf-mount .mypage-inline-bookshelf-card button.pill-btn.active span, html[data-theme="dark"] #community-showcase-mount .community-my-public-view button.pill-btn.highlight-gold-btn, html[data-theme="dark"] #community-showcase-mount .community-my-public-view button.pill-btn.highlight-gold-btn span, html[data-theme="dark"] #view-mybookshelf .mypage-devices-container button.pill-btn.active, html[data-theme="dark"] #view-mybookshelf .mypage-devices-container button.pill-btn.active span{background: var(--dm-amber-accent) !important;background-image: none !important;color: var(--dm-amber-ink) !important;border-color: #F3D496 !important;}
html[data-theme="dark"] #mypage-highlights-header-card button.pill-btn[style*="0ba875"], html[data-theme="dark"] #mypage-highlights-header-card button.pill-btn[style*="0ba875"] span, html[data-theme="dark"] #modal-auth-prompt button.btn-auth-line, html[data-theme="dark"] #modal-auth-prompt button.btn-auth-line span{background: #065F46 !important;background-image: none !important;color: #FFFFFF !important;opacity: 1 !important;}
html[data-theme="dark"] #mypage-data-backup-section button.pill-btn, html[data-theme="dark"] #mypage-data-backup-section button.pill-btn span{background: #0369A1 !important;background-image: none !important;color: #FFFFFF !important;}
html[data-theme="dark"] .shelf-prominent-plaque.plaque-antique-brass span{opacity: 1 !important;color: #1C1308 !important;}
html[data-theme="dark"] div[id^="spine-book-"] .spine-1col-wrap, html[data-theme="dark"] div[id^="spine-book-"] .spine-2col-wrap{background: rgba(15, 18, 24, 0.72) !important;}
html[data-theme="dark"] .mypage-inline-bookshelf-card > div > div > div > span, html[data-theme="dark"] .ku-item-card .ku-item-meta > span{color: var(--dm-text-sub) !important;opacity: 1 !important;}
html[data-theme="dark"] .ku-item-card .ku-item-price-row span[style*="dc2626"], html[data-theme="dark"] .ku-item-card .ku-item-price-row span[style*="ef4444"]{background: #991B1B !important;color: #FFFFFF !important;}
html[data-theme="dark"] #community-content-mount span{color: var(--dm-amber-text) !important;}
html[data-theme="dark"] #award-collection-action-bar span{color: var(--dm-text-main) !important;}
html[data-theme="dark"] #award-table-body tr.rank-row td.rank-td-title > div > span, html[data-theme="dark"] #award-schedule-body .schedule-award-chip.is-active .chip-name{color: var(--dm-amber-text) !important;opacity: 1 !important;}
html[data-theme="dark"] .rank-store-link-btn .rank-store-btn-top span{color: #E5E0D8 !important;opacity: 1 !important;}
html[data-theme="dark"] #view-schedule #cal-body-release .cal-event-card.release span{background: #2C313D !important;color: #F0EDE7 !important;}
html[data-theme="dark"] #view-schedule [id^="modal-cal-chip-"], html[data-theme="dark"] #view-schedule [id^="modal-cal-chip-"] *{opacity: 1 !important;}
html[data-theme="dark"] .curiosity-book-card .author-separator, html[data-theme="dark"] .curiosity-book-card .curiosity-book-pub-sep{color: #D2CDC3 !important;opacity: 1 !important;}
html[data-theme="dark"] #view-plans .plan-card .plan-feature-item.disabled, html[data-theme="dark"] #view-plans .plan-card .plan-feature-item.disabled span{opacity: 1 !important;color: #C8C2B7 !important;}
html[data-theme="dark"] .legal-tab-pane a, html[data-theme="dark"] .legal-tab-pane table td a{color: #7DD3FC !important;}
html[data-theme="dark"] #modal-premium-plan .modal-box > div > div > span{color: var(--dm-amber-text) !important;}
html[data-theme="dark"] #view-mybookshelf #community-content-mount .table-user-name-line > span.table-user-name, html[data-theme="dark"] #community-content-mount .table-user-name-line > span.table-user-name, html[data-theme="dark"] #view-mybookshelf .table-user-name-line > span.table-user-name, html[data-theme="dark"] table.community-readers-table .account-row-tier-top .table-user-name-line > span.table-user-name, html[data-theme="dark"] .table-user-name-line > span.table-user-name{background: transparent !important;color: var(--dm-text-main) !important;opacity: 1 !important;}
html[data-theme="dark"] #view-mybookshelf #community-content-mount .table-user-name-line > span:not(.table-user-name):not(.table-user-honorific), html[data-theme="dark"] #community-content-mount .table-user-name-line > span:not(.table-user-name):not(.table-user-honorific), html[data-theme="dark"] #view-mybookshelf .table-user-name-line > span:not(.table-user-name):not(.table-user-honorific), html[data-theme="dark"] table.community-readers-table .account-row-tier-top .table-user-name-line > span:not(.table-user-name):not(.table-user-honorific), html[data-theme="dark"] .shelf-row-name-wrap > span[style*="ea580c"]{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;opacity: 1 !important;}
html[data-theme="dark"] #view-mybookshelf .mypage-inline-bookshelf-card button[onclick*="autoSortShelf('height_asc')"], html[data-theme="dark"] .mypage-inline-bookshelf-card button[onclick*="autoSortShelf('height_asc')"]{background: transparent !important;color: var(--dm-amber-text) !important;opacity: 1 !important;}
html[data-theme="dark"] #view-mybookshelf .mypage-inline-bookshelf-card button[onclick*="autoSortShelf('tier_by_format')"], html[data-theme="dark"] .mypage-inline-bookshelf-card button[onclick*="autoSortShelf('tier_by_format')"]{background: transparent !important;color: #7DD3FC !important;opacity: 1 !important;}
html[data-theme="dark"] #view-unlimited #unlimited-detail-container .aida-detail-box .aida-header > div > span > span:first-child, html[data-theme="dark"] #view-unlimited #unlimited-detail-container #unlimited-selected-service-columns > div > div > div > span:first-child, html[data-theme="dark"] #view-unlimited #unlimited-detail-container .aida-detail-box .unlim-deep-role-badge{background: var(--dm-amber-accent) !important;color: var(--dm-amber-ink) !important;opacity: 1 !important;}
html[data-theme="dark"] #view-mybookshelf #mypage-highlights-header-card button[onclick*="hl-legacy-details"], html[data-theme="dark"] #mypage-highlights-header-card button[onclick*="hl-legacy-details"]{background: #065F46 !important;background-image: none !important;color: #FFFFFF !important;opacity: 1 !important;}
html[data-theme="dark"] #view-mybookshelf #hl-panel-text button[onclick*="submitManualHighlight(true)"], html[data-theme="dark"] #view-mybookshelf #hl-panel-text button[onclick*="submitManualHighlight(true)"] span, html[data-theme="dark"] #hl-panel-text button[onclick*="submitManualHighlight(true)"], html[data-theme="dark"] #hl-panel-text button[onclick*="submitManualHighlight(true)"] span{background: var(--dm-amber-accent) !important;background-image: none !important;color: var(--dm-amber-ink) !important;opacity: 1 !important;}
html[data-theme="dark"] #view-mybookshelf #mypage-library-section #community-showcase-mount button.highlight-gold-btn, html[data-theme="dark"] #view-mybookshelf #mypage-library-section #community-showcase-mount button.highlight-gold-btn span, html[data-theme="dark"] #view-mybookshelf #community-showcase-mount .community-my-public-view button.highlight-gold-btn, html[data-theme="dark"] #view-mybookshelf #community-showcase-mount .community-my-public-view button.highlight-gold-btn span{background: var(--dm-amber-accent) !important;background-image: none !important;color: var(--dm-amber-ink) !important;border-color: #F3D496 !important;opacity: 1 !important;}
html[data-theme="dark"] #mypage-toolbar button[id^="mypage-pill-"]{transition: border-color 0.15s ease, box-shadow 0.15s ease !important;}
html[data-theme="dark"] #mypage-toolbar button[id^="mypage-pill-"]:not(.active):hover{background: var(--dm-bg-elevated-hover) !important;color: var(--dm-text-main) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] [id^="view-"]{animation: none !important;opacity: 1 !important;}
html[data-theme="dark"] #ranking-toolbar, html[data-theme="dark"] .unified-ranking-toolbar, html[data-theme="dark"] #ranking-store-filter-bar .segment-buttons{background: var(--dm-bg-surface) !important;}
html[data-theme="dark"] #ranking-toolbar .toolbar-group-label{color: var(--dm-text-sub) !important;}
html[data-theme="dark"] #ranking-toolbar button[id^="rank-pill-"]:not(.active){background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] #ranking-toolbar button[id^="rank-pill-"].active, html[data-theme="dark"] #ranking-toolbar button[id^="rank-pill-"].active span{background: var(--dm-amber-accent) !important;background-image: none !important;color: var(--dm-amber-ink) !important;border-color: #F3D496 !important;}
html[data-theme="dark"] #view-ranking .ranking-lp-hero span[style*="bf0000"], html[data-theme="dark"] #view-ranking .ranking-lp-hero span[style*="dc2626"]{background: #9F1239 !important;color: #FFFFFF !important;}
html[data-theme="dark"] #modal-share-preview .share-preview-modal-box{background: var(--dm-bg-surface) !important;border-color: var(--dm-border-matte) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] #modal-share-preview .share-modal-header{background: var(--dm-bg-surface-alt) !important;border-bottom-color: var(--dm-border-matte) !important;}
html[data-theme="dark"] #modal-share-preview .share-modal-title{color: var(--dm-text-main) !important;}
html[data-theme="dark"] #modal-share-preview .share-canvas-wrap{background: #1B1E25 !important;border-color: var(--dm-border-matte) !important;}
html[data-theme="dark"] #modal-share-preview .share-caption-box, html[data-theme="dark"] #modal-share-preview .share-quick-channels{background: var(--dm-bg-surface-alt) !important;border-color: var(--dm-border-matte) !important;color: var(--dm-text-main) !important;}
html[data-theme="dark"] #modal-share-preview .share-caption-title, html[data-theme="dark"] #modal-share-preview .share-channels-title, html[data-theme="dark"] #modal-share-preview .share-theme-label, html[data-theme="dark"] #share-hikaroom-daynight-bar > span{color: var(--dm-text-sub) !important;}
html[data-theme="dark"] #modal-share-preview .share-caption-textarea{background: #20242C !important;color: var(--dm-text-main) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] #modal-share-preview .highlight-gold-btn{background: var(--dm-amber-accent) !important;background-image: none !important;color: var(--dm-amber-ink) !important;}
html[data-theme="dark"] #modal-share-preview #btn-share-hikaroom-day, html[data-theme="dark"] #modal-share-preview #btn-share-hikaroom-night, html[data-theme="dark"] #modal-share-preview #btn-share-hikaroom-badge{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] #modal-share-preview #btn-share-hikaroom-day.is-time-active, html[data-theme="dark"] #modal-share-preview #btn-share-hikaroom-night.is-time-active, html[data-theme="dark"] #modal-share-preview #btn-share-hikaroom-badge.is-badge-on{background: #382E1E !important;color: var(--dm-amber-text) !important;border-color: var(--dm-amber-accent) !important;}
html[data-theme="dark"] #modal-share-preview .channel-btn{background: var(--dm-bg-elevated) !important;color: var(--dm-text-main) !important;border-color: var(--dm-border-strong) !important;}
html[data-theme="dark"] #modal-share-preview .channel-btn .channel-label{color: var(--dm-text-main) !important;}
html[data-theme="dark"] td.rank-td-title > div > span[style*="opacity"], html[data-theme="dark"] td.rank-td-title .author-separator, html[data-theme="dark"] .author-separator{opacity: 1 !important;color: var(--dm-text-sub) !important;}
html[data-theme="dark"] .rank-store-link-btn .rank-store-cta-text, html[data-theme="dark"] .rank-daily-note{color: var(--dm-amber-text) !important;opacity: 1 !important;}
html[data-theme="dark"] .rank-store-link-btn .rank-store-btn-top > span:not(.store-tag-name):not(.rank-store-price-text), html[data-theme="dark"] .rank-store-link-btn .rank-store-btn-bottom > span:not(.rank-store-point-text):not(.rank-store-cta-text){color: var(--dm-text-sub) !important;opacity: 1 !important;}

/* ＝＝＝ サブコン④『読書と出かけよう』＆ 1ヶ月無料体験ダークパターン防止UI（Light / Soft Matte Dark WCAG 4.5:1+ 保証） ＝＝＝ */
.hero-banner-card.youtube .hero-card-header{gap: 4px;}
.hero-banner-card.youtube .hero-store-pill{font-size: 0.62rem !important;padding: 2.5px 6.5px !important;letter-spacing: -0.01em;}
.hero-banner-card.youtube .hero-badge-notice{font-size: 0.57rem !important;padding: 2px 6px !important;letter-spacing: -0.01em;}
html[data-theme="light"] .hero-banner-card.youtube .hero-store-pill{background: #0369a1 !important;color: #ffffff !important;}

.reading-travel-area-bar{display: flex;align-items: center;gap: 6px;flex-wrap: wrap;flex: 1;min-width: 0;}
.rt-area-pill{display: inline-flex;align-items: center;gap: 5px;padding: 4px 10px;border-radius: 999px;border: 1px solid #cbd5e1;background: #ffffff;color: #1e293b;font-size: 0.73rem;font-weight: 800;cursor: pointer;transition: background 0.15s ease, border-color 0.15s ease;line-height: 1.25;}
.rt-area-pill:hover{border-color: #0284c7;background: #f0f9ff;color: #0c4a6e;}
.rt-area-pill.is-active{background: #0c4a6e;border-color: #0c4a6e;color: #ffffff;}
.rt-area-pill-cnt{font-size: 0.65rem;font-weight: 900;padding: 1px 6px;border-radius: 999px;background: rgba(15, 23, 42, 0.08);color: inherit;}
.rt-area-pill.is-active .rt-area-pill-cnt{background: rgba(255, 255, 255, 0.22);color: #ffffff;}
@media (max-width: 768px){
  #youtube-toolbar .yt-toolbar-row{flex-wrap: nowrap !important;gap: 6px !important;}
  #youtube-toolbar .yt-influencer-selector-bar, #youtube-toolbar .reading-travel-area-bar{flex-wrap: nowrap !important;overflow-x: auto;-webkit-overflow-scrolling: touch;scrollbar-width: none;flex: 1;width: auto;min-width: 0;padding: 2px 0;}
  #youtube-toolbar .yt-influencer-selector-bar::-webkit-scrollbar, #youtube-toolbar .reading-travel-area-bar::-webkit-scrollbar{display: none;}
  #youtube-toolbar .rt-area-pill{flex-shrink: 0;white-space: nowrap;}
}

.rt-loading-state, .rt-empty-state{padding: 28px 18px;border-radius: 14px;background: var(--bg-card, #ffffff);border: 1px solid var(--border-color, #cbd5e1);text-align: center;color: var(--text-sub, #475569);font-size: 0.84rem;font-weight: 700;}
.reading-travel-cards-grid{display: grid;grid-template-columns: repeat(3, minmax(0, 1fr));gap: 16px;}
@media (max-width: 1080px){.reading-travel-cards-grid{grid-template-columns: repeat(2, minmax(0, 1fr));}}
@media (max-width: 700px){.reading-travel-cards-grid{grid-template-columns: 1fr;}}

.reading-travel-spot-card{display: flex;flex-direction: column;border-radius: 15px;overflow: hidden;background: var(--bg-card, #ffffff);border: 1.5px solid var(--border-color, #d6dce5);box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);box-sizing: border-box;transition: border-color 0.16s ease, box-shadow 0.16s ease;}
.reading-travel-spot-card:hover{border-color: #0284c7;box-shadow: 0 8px 22px rgba(15, 23, 42, 0.09);}
.rt-spot-visual-band{position: relative;padding: 12px 14px 10px;background: linear-gradient(145deg, #f0f7fc 0%, #e4eff7 100%);border-bottom: 1px solid rgba(14, 116, 144, 0.16);color: #0c4a6e;}
.rt-spot-visual-band.has-spot-photo{padding: 0;background: #0f172a;border-bottom: 1px solid var(--border-color, #cbd5e1);}
.rt-spot-visual-band[data-cat="onsen_inn"]{background: linear-gradient(145deg, #f7f3eb 0%, #ece4d5 100%);color: #5c3a1e;border-bottom-color: rgba(120, 72, 32, 0.16);}
.rt-spot-visual-band[data-cat="onsen_inn"].has-spot-photo{background: #0f172a;border-bottom-color: var(--border-color, #cbd5e1);}
.rt-spot-visual-band[data-cat="daytrip_lounge"]{background: linear-gradient(145deg, #eff8f5 0%, #e0f0ea 100%);color: #115e59;border-bottom-color: rgba(17, 94, 89, 0.16);}
.rt-spot-visual-band[data-cat="daytrip_lounge"].has-spot-photo{background: #0f172a;border-bottom-color: var(--border-color, #cbd5e1);}
.rt-spot-visual-meta{display: flex;align-items: center;justify-content: space-between;gap: 6px;flex-wrap: wrap;margin-bottom: 6px;}
.rt-spot-cat-pill{display: inline-flex;align-items: center;padding: 2.5px 9px;border-radius: 999px;background: #0c4a6e;color: #ffffff;font-size: 0.66rem;font-weight: 900;box-shadow: 0 2px 6px rgba(15, 23, 42, 0.25);}
.rt-spot-visual-band[data-cat="onsen_inn"] .rt-spot-cat-pill{background: #78350f;color: #ffffff;}
.rt-spot-visual-band[data-cat="daytrip_lounge"] .rt-spot-cat-pill{background: #115e59;color: #ffffff;}
.rt-spot-area-pill{display: inline-flex;align-items: center;gap: 4px;padding: 2.5px 8px;border-radius: 999px;background: #ffffff;border: 1px solid rgba(15, 23, 42, 0.15);color: #1e293b;font-size: 0.66rem;font-weight: 800;}
.rt-spot-emblem-stage{display: flex;align-items: center;justify-content: center;height: 92px;color: inherit;}
.rt-spot-emblem-stage svg{max-width: 176px;height: 88px;display: block;}
.rt-spot-photo-wrap{display: flex;flex-direction: column;width: 100%;}
.rt-spot-official-img-wrap{position: relative;width: 100%;aspect-ratio: 16 / 10;height: auto;border-radius: 0;overflow: hidden;background: #0f172a;}
.rt-spot-official-img-wrap::after{content: "";position: absolute;inset: 0;background: linear-gradient(180deg, rgba(15, 23, 42, 0.34) 0%, rgba(15, 23, 42, 0.02) 38%, rgba(15, 23, 42, 0.04) 64%, rgba(15, 23, 42, 0.42) 100%);pointer-events: none;z-index: 1;}
.rt-spot-official-img{width: 100%;height: 100%;aspect-ratio: 16 / 10;object-fit: cover;display: block;transition: transform 0.36s ease;}
.reading-travel-spot-card:hover .rt-spot-official-img{transform: scale(1.025);}
.rt-spot-photo-top-badges{position: absolute;top: 9px;left: 10px;right: 10px;display: flex;align-items: center;justify-content: space-between;gap: 6px;flex-wrap: wrap;z-index: 2;pointer-events: none;}
.rt-spot-photo-top-badges .rt-spot-area-pill{background: rgba(15, 23, 42, 0.88);border-color: rgba(255, 255, 255, 0.28);color: #f8fafc;box-shadow: 0 2px 6px rgba(15, 23, 42, 0.3);}
.rt-spot-area-notice-badge{position: absolute;left: 9px;bottom: 8px;max-width: calc(100% - 18px);display: inline-flex;align-items: center;gap: 4px;padding: 3px 8px;border-radius: 6px;background: rgba(15, 23, 42, 0.88);border: 1px solid rgba(255, 255, 255, 0.24);color: #f8fafc;font-size: 0.62rem;font-weight: 800;line-height: 1.3;z-index: 2;box-sizing: border-box;box-shadow: 0 2px 6px rgba(15, 23, 42, 0.32);}
.rt-spot-area-notice-badge svg{flex-shrink: 0;}
.rt-spot-area-notice-badge span{min-width: 0;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
.rt-spot-photo-credit-bar{display: flex;align-items: center;justify-content: space-between;gap: 8px;padding: 5px 11px;background: #f1f5f9;border-top: 1px solid #cbd5e1;color: #334155;font-size: 0.61rem;font-weight: 700;line-height: 1.35;box-sizing: border-box;}
.rt-spot-photo-credit-text{min-width: 0;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;color: inherit;}
.rt-spot-photo-source-link{flex-shrink: 0;color: #0c4a6e;font-weight: 800;text-decoration: underline;text-underline-offset: 2px;}
.rt-spot-photo-source-link:hover{color: #0369a1;}
.rt-spot-official-credit{position: absolute;right: 6px;bottom: 5px;padding: 1.5px 6px;border-radius: 4px;background: rgba(15, 23, 42, 0.86);color: #ffffff;font-size: 0.58rem;font-weight: 700;z-index: 2;}

.rt-spot-body{display: flex;flex-direction: column;gap: 10px;padding: 14px 15px 15px;flex: 1;}
.rt-spot-title{margin: 0;font-size: 1.0rem;font-weight: 900;line-height: 1.38;color: var(--text-main, #0f172a);}
.rt-spot-catch{margin: 0;font-size: 0.78rem;font-weight: 800;line-height: 1.48;color: #0c4a6e;}
.rt-spot-desc{margin: 0;font-size: 0.76rem;line-height: 1.6;color: var(--text-sub, #334155);}
.rt-spec-tag-list{list-style: none;margin: 0;padding: 0;display: flex;flex-wrap: wrap;gap: 5px;}
.rt-spec-tag{display: inline-flex;align-items: center;gap: 4px;padding: 3px 8px;border-radius: 7px;background: #f1f5f9;border: 1px solid #cbd5e1;color: #1e293b;font-size: 0.67rem;font-weight: 800;line-height: 1.3;}
.rt-spec-tag svg{flex-shrink: 0;}

.rt-rakuten-cta-wrap{margin-top: 2px;}
.rt-rakuten-travel-btn{display: flex;align-items: center;justify-content: space-between;gap: 8px;width: 100%;padding: 9px 12px;border-radius: 10px;background: #9f1239;border: 1px solid #881337;color: #ffffff !important;text-decoration: none !important;font-size: 0.75rem;font-weight: 900;line-height: 1.35;box-sizing: border-box;transition: filter 0.15s ease, transform 0.15s ease;}
.rt-rakuten-travel-btn:hover{filter: brightness(1.06);transform: translateY(-1px);text-decoration: none !important;}
.rt-rakuten-btn-main{display: inline-flex;align-items: center;gap: 6px;color: #ffffff;}
.rt-rakuten-btn-main svg{flex-shrink: 0;}
.rt-rakuten-btn-pr{flex-shrink: 0;padding: 2px 7px;border-radius: 999px;background: rgba(0, 0, 0, 0.28);color: #ffffff;font-size: 0.63rem;font-weight: 900;white-space: nowrap;}

.rt-companion-book-box{margin-top: auto;padding: 11px 12px;border-radius: 11px;background: #f8fafc;border: 1px solid #cbd5e1;display: flex;flex-direction: column;gap: 8px;}
.rt-companion-book-kicker{display: inline-flex;align-items: center;gap: 5px;font-size: 0.68rem;font-weight: 900;color: #0c4a6e;}
.rt-companion-book-main{display: flex;align-items: flex-start;gap: 10px;}
.rt-companion-cover-wrap{flex: 0 0 54px;width: 54px;height: 78px;border-radius: 6px;overflow: hidden;background: #1e293b;border: 1px solid rgba(148, 163, 184, 0.4);}
.rt-companion-cover{width: 100%;height: 100%;object-fit: cover;display: block;}
.rt-companion-info{flex: 1;min-width: 0;}
.rt-companion-title{margin: 0 0 2px;font-size: 0.80rem;font-weight: 900;line-height: 1.35;color: #0f172a;}
.rt-companion-author{font-size: 0.67rem;font-weight: 700;color: #475569;margin-bottom: 4px;line-height: 1.3;}
.rt-companion-reason{margin: 0;font-size: 0.70rem;line-height: 1.48;color: #334155;font-weight: 600;}
.rt-book-store-grid{display: grid;grid-template-columns: repeat(4, minmax(0, 1fr));gap: 4px;}
@media (max-width: 480px){.rt-book-store-grid{grid-template-columns: repeat(2, minmax(0, 1fr));}}
.rt-companion-price-note{font-size: 0.63rem;color: #475569;font-weight: 700;text-align: right;}

.rt-gear-inline-btn{display: flex;align-items: center;justify-content: space-between;gap: 6px;width: 100%;padding: 7px 10px;border-radius: 9px;background: #f1f5f9;border: 1px solid #cbd5e1;color: #0f172a;font-size: 0.71rem;font-weight: 800;cursor: pointer;text-align: left;line-height: 1.35;transition: background 0.14s ease, border-color 0.14s ease;}
.rt-gear-inline-btn:hover{background: #e2e8f0;border-color: #94a3b8;}
.rt-gear-inline-btn svg{flex-shrink: 0;}
.rt-gear-inline-btn span:nth-child(2){flex: 1;min-width: 0;}

.reading-travel-gear-bridge{margin-top: 22px;padding: 18px 20px;border-radius: 16px;background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);border: 1.5px solid #bfdbfe;box-sizing: border-box;}
.reading-travel-gear-bridge-head{margin-bottom: 12px;}
.reading-travel-gear-bridge-badge{display: inline-flex;align-items: center;gap: 5px;padding: 3px 10px;border-radius: 999px;background: #1e3a5f;color: #ffffff;font-size: 0.68rem;font-weight: 900;margin-bottom: 6px;}
.reading-travel-gear-bridge-title{margin: 0 0 5px;font-size: 1.05rem;font-weight: 900;color: #0f172a;line-height: 1.38;}
.reading-travel-gear-bridge-desc{margin: 0;font-size: 0.78rem;line-height: 1.6;color: #334155;font-weight: 600;}
.reading-travel-gear-bridge-grid{display: grid;grid-template-columns: repeat(2, minmax(0, 1fr));gap: 12px;}
@media (max-width: 760px){.reading-travel-gear-bridge-grid{grid-template-columns: 1fr;}}
.reading-travel-gear-cta-card{display: flex;align-items: center;gap: 12px;width: 100%;padding: 13px 15px;border-radius: 12px;background: #ffffff;border: 1.5px solid #93c5fd;color: #0f172a;text-align: left;cursor: pointer;box-sizing: border-box;transition: border-color 0.15s ease, transform 0.15s ease;}
.reading-travel-gear-cta-card:hover{border-color: #0284c7;transform: translateY(-1px);}
.rt-gear-cta-icon{flex: 0 0 40px;width: 40px;height: 40px;border-radius: 10px;background: #e0f2fe;color: #0c4a6e;display: flex;align-items: center;justify-content: center;}
.rt-gear-cta-body{flex: 1;min-width: 0;display: flex;flex-direction: column;gap: 2px;}
.rt-gear-cta-kicker{font-size: 0.67rem;font-weight: 900;color: #0369a1;}
.rt-gear-cta-body strong{font-size: 0.84rem;font-weight: 900;color: #0f172a;line-height: 1.35;}
.rt-gear-cta-body span:last-child{font-size: 0.71rem;color: #475569;line-height: 1.4;}
.rt-gear-cta-arrow{font-size: 1.2rem;font-weight: 900;color: #0369a1;flex-shrink: 0;}

/* エリア風景写真 出典・ライセンス一覧折りたたみドロワー */
.rt-photo-license-drawer{margin-top: 14px;border-radius: 12px;background: #f8fafc;border: 1px solid #cbd5e1;overflow: hidden;box-sizing: border-box;}
.rt-photo-license-summary{display: flex;align-items: center;justify-content: space-between;gap: 8px;flex-wrap: wrap;padding: 10px 14px;cursor: pointer;list-style: none;font-size: 0.75rem;font-weight: 800;color: #0f172a;user-select: none;}
.rt-photo-license-summary::-webkit-details-marker{display: none;}
.rt-photo-license-summary-main{display: inline-flex;align-items: center;gap: 6px;min-width: 0;}
.rt-photo-license-summary-main svg{flex-shrink: 0;color: #0c4a6e;}
.rt-photo-license-summary-hint{font-size: 0.68rem;font-weight: 800;color: #334155;flex-shrink: 0;}
.rt-photo-license-drawer-body{padding: 4px 14px 14px;border-top: 1px dashed #cbd5e1;}
.rt-photo-license-lead{margin: 10px 0 10px;font-size: 0.72rem;line-height: 1.58;color: #334155;font-weight: 600;}
.rt-photo-license-grid{display: grid;grid-template-columns: repeat(3, minmax(0, 1fr));gap: 8px;}
@media (max-width: 960px){.rt-photo-license-grid{grid-template-columns: repeat(2, minmax(0, 1fr));}}
@media (max-width: 640px){.rt-photo-license-grid{grid-template-columns: 1fr;}}
.rt-photo-license-item{padding: 8px 10px;border-radius: 8px;background: #ffffff;border: 1px solid #cbd5e1;display: flex;flex-direction: column;gap: 3px;min-width: 0;box-sizing: border-box;}
.rt-photo-license-item-head{display: flex;align-items: center;gap: 6px;min-width: 0;font-size: 0.72rem;color: #0f172a;}
.rt-photo-license-item-head strong{min-width: 0;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;font-weight: 900;}
.rt-photo-license-num{flex-shrink: 0;padding: 1px 6px;border-radius: 999px;background: #0c4a6e;color: #ffffff;font-size: 0.61rem;font-weight: 900;}
.rt-photo-license-item-meta{font-size: 0.65rem;line-height: 1.45;color: #334155;font-weight: 600;overflow-wrap: anywhere;}
.rt-photo-license-link{display: inline-flex;align-items: center;align-self: flex-start;font-size: 0.65rem;font-weight: 800;color: #0c4a6e;text-decoration: underline;text-underline-offset: 2px;}
.rt-photo-license-link:hover{color: #0369a1;}

/* 無料体験残り日数バー（マイページ最上部常設） */
.mypage-trial-countdown-bar, .mypage-trial-countdown-bar *{transition: none !important;}
.mypage-trial-countdown-bar{display: none;align-items: center;justify-content: space-between;gap: 12px;flex-wrap: wrap;padding: 12px 15px;margin-bottom: 12px;border-radius: 13px;background: #f0fdf4;border: 1.5px solid #15803d;color: #14532d;box-sizing: border-box;}
.mypage-trial-countdown-bar.is-urgent-milestone{background: #fffbeb;border-color: #b45309;color: #451a03;}
.mpt-countdown-main{flex: 1;min-width: 240px;}
.mpt-countdown-badge-row{display: flex;align-items: center;gap: 8px;flex-wrap: wrap;margin-bottom: 4px;}
.mpt-countdown-pill, .mpt-countdown-pill span{color: #ffffff !important;}
.mpt-countdown-pill{display: inline-flex;align-items: center;gap: 4px;padding: 2.5px 9px;border-radius: 999px;background: #065f46;color: #ffffff !important;font-size: 0.69rem;font-weight: 900;white-space: nowrap;}
.mypage-trial-countdown-bar.is-urgent-milestone .mpt-countdown-pill{background: #92400e;color: #ffffff !important;}
.mpt-countdown-title{font-size: 0.84rem;font-weight: 900;color: inherit;line-height: 1.35;}
.mpt-countdown-desc{margin: 0;font-size: 0.74rem;line-height: 1.52;color: #1e293b;font-weight: 600;}
.mypage-trial-countdown-bar.is-urgent-milestone .mpt-countdown-desc{color: #451a03;}
.mpt-countdown-actions{display: flex;align-items: center;gap: 8px;flex-shrink: 0;}
.mpt-countdown-btn{padding: 8px 14px;border-radius: 999px;border: none;background: #1e3a5f;color: #ffffff;font-size: 0.76rem;font-weight: 900;cursor: pointer;white-space: nowrap;}
.mpt-countdown-btn:hover{filter: brightness(1.08);}

/* 無料体験終了のお知らせと移行確認ポップアップ（対等視認性・ダークパターンゼロ） */
.trial-confirm-dialog-card, .trial-confirm-dialog-card *{transition: none !important;}
.trial-transition-modal-overlay{display: none;position: fixed;inset: 0;z-index: 12200;background: rgba(15, 23, 42, 0.66);align-items: center;justify-content: center;padding: 16px;backdrop-filter: blur(4px);box-sizing: border-box;}
.trial-confirm-dialog-card{width: 100%;max-width: 560px;max-height: 92vh;overflow-y: auto;border-radius: 18px;padding: 22px 22px 18px;background: #fffdf9;border: 2px solid #1e3a5f;box-shadow: 0 20px 48px rgba(15, 23, 42, 0.28);color: #0f172a;box-sizing: border-box;}
.trial-confirm-top-row{display: flex;align-items: center;justify-content: space-between;gap: 8px;margin-bottom: 8px;}
.trial-confirm-stage-pill{display: inline-flex;align-items: center;gap: 5px;padding: 3px 11px;border-radius: 999px;background: #92400e;color: #ffffff;font-size: 0.71rem;font-weight: 900;}
.trial-confirm-close-x{width: 30px;height: 30px;border-radius: 50%;border: 1px solid #94a3b8;background: #ffffff;color: #1e293b;font-size: 1.05rem;font-weight: 900;cursor: pointer;display: inline-flex;align-items: center;justify-content: center;line-height: 1;}
.trial-confirm-title{margin: 0 0 12px;font-size: 1.14rem;font-weight: 900;line-height: 1.38;color: #0f172a;}
.trial-confirm-schedule-strip{display: flex;align-items: center;justify-content: space-around;gap: 12px;padding: 11px 14px;border-radius: 12px;background: #f1f5f9;border: 1px solid #cbd5e1;margin-bottom: 12px;}
.trial-confirm-stat{display: flex;flex-direction: column;align-items: center;gap: 2px;text-align: center;}
.trial-confirm-stat-label{font-size: 0.69rem;font-weight: 800;color: #475569;}
.trial-confirm-stat-value{font-size: 0.98rem;font-weight: 900;color: #0f172a;}
.trial-confirm-stat-divider{width: 1px;height: 30px;background: #cbd5e1;}
.trial-confirm-safeguard-box{display: flex;flex-direction: column;gap: 8px;padding: 12px 14px;border-radius: 12px;background: #f0fdf4;border: 1.5px solid #15803d;color: #14532d;margin-bottom: 12px;font-size: 0.78rem;line-height: 1.55;}
.trial-confirm-safeguard-item{display: flex;align-items: flex-start;gap: 8px;}
.trial-confirm-safeguard-item svg{flex-shrink: 0;margin-top: 2px;color: #065f46;}
.trial-confirm-choice-lead{margin: 0 0 10px;font-size: 0.76rem;font-weight: 800;color: #334155;line-height: 1.45;}
.trial-confirm-actions-grid{display: grid;grid-template-columns: repeat(2, minmax(0, 1fr));gap: 10px;margin-bottom: 10px;}
@media (max-width: 540px){.trial-confirm-actions-grid{grid-template-columns: 1fr;}}
.trial-confirm-btn{display: flex;flex-direction: column;align-items: center;justify-content: center;gap: 3px;min-height: 64px;padding: 12px 12px;border-radius: 12px;cursor: pointer;text-align: center;box-sizing: border-box;transition: transform 0.14s ease, filter 0.14s ease;}
.trial-confirm-btn:hover{transform: translateY(-1px);filter: brightness(1.04);}
.trial-confirm-btn-main{font-size: 0.82rem;font-weight: 900;line-height: 1.32;}
.trial-confirm-btn-sub{font-size: 0.67rem;font-weight: 700;line-height: 1.3;}
.trial-confirm-btn.is-opt-in{background: #1e3a5f;border: 2px solid #1e3a5f;color: #ffffff;}
.trial-confirm-btn.is-opt-in .trial-confirm-btn-sub{color: #e2e8f0;}
.trial-confirm-btn.is-keep-free{background: #f1f5f9;border: 2px solid #334155;color: #0f172a;}
.trial-confirm-btn.is-keep-free .trial-confirm-btn-sub{color: #334155;}
.trial-confirm-later-row{display: flex;justify-content: center;}
.trial-confirm-later-btn{padding: 7px 20px;border-radius: 999px;border: 1.5px solid #64748b;background: #ffffff;color: #334155;font-size: 0.76rem;font-weight: 800;cursor: pointer;}
.trial-confirm-later-btn:hover{background: #f8fafc;}

/* Soft Matte Dark 対応（全要素 WCAG 4.5:1以上・白浮き面ゼロ） */
html[data-theme="dark"] .rt-area-pill{background: var(--dm-bg-elevated, #2A2F3A) !important;border-color: var(--dm-border-strong, #454D5E) !important;color: var(--dm-text-main, #E6E2DA) !important;}
html[data-theme="dark"] .rt-area-pill:hover{background: var(--dm-bg-elevated-hover, #343A47) !important;border-color: #7DD3FC !important;color: #F0F9FF !important;}
html[data-theme="dark"] .rt-area-pill.is-active{background: var(--dm-amber-accent, #E2A84B) !important;border-color: #F3D496 !important;color: var(--dm-amber-ink, #1B160E) !important;}
html[data-theme="dark"] .rt-area-pill.is-active .rt-area-pill-cnt{background: rgba(27, 22, 14, 0.18) !important;color: var(--dm-amber-ink, #1B160E) !important;}
html[data-theme="dark"] .rt-area-pill:not(.is-active) .rt-area-pill-cnt{background: rgba(255, 255, 255, 0.10) !important;color: var(--dm-text-main, #E6E2DA) !important;}
html[data-theme="dark"] .reading-travel-spot-card{background: var(--dm-bg-surface, #22262E) !important;border-color: var(--dm-border-matte, #363C49) !important;color: var(--dm-text-main, #E6E2DA) !important;}
html[data-theme="dark"] .reading-travel-spot-card:hover{border-color: #7DD3FC !important;}
html[data-theme="dark"] .rt-spot-visual-band{background: linear-gradient(145deg, #1A2533 0%, #151D27 100%) !important;color: #BAE6FD !important;border-bottom-color: var(--dm-border-matte, #363C49) !important;}
html[data-theme="dark"] .rt-spot-visual-band[data-cat="onsen_inn"]{background: linear-gradient(145deg, #292119 0%, #1D1813 100%) !important;color: #F3D496 !important;}
html[data-theme="dark"] .rt-spot-visual-band[data-cat="daytrip_lounge"]{background: linear-gradient(145deg, #172826 0%, #131F1E 100%) !important;color: #99F6E4 !important;}
html[data-theme="dark"] .rt-spot-visual-band.has-spot-photo{background: #0F172A !important;border-bottom-color: var(--dm-border-matte, #363C49) !important;}
html[data-theme="dark"] .rt-spot-cat-pill{background: #0C4A6E !important;color: #F0F9FF !important;}
html[data-theme="dark"] .rt-spot-visual-band[data-cat="onsen_inn"] .rt-spot-cat-pill{background: #78350F !important;color: #FEF3C7 !important;}
html[data-theme="dark"] .rt-spot-visual-band[data-cat="daytrip_lounge"] .rt-spot-cat-pill{background: #115E59 !important;color: #CCFBF1 !important;}
html[data-theme="dark"] .rt-spot-area-pill{background: #252A34 !important;border-color: #454D5E !important;color: #E6E2DA !important;}
html[data-theme="dark"] .rt-spot-photo-top-badges .rt-spot-area-pill{background: rgba(15, 23, 42, 0.90) !important;border-color: rgba(255, 255, 255, 0.28) !important;color: #F8FAFC !important;}
html[data-theme="dark"] .rt-spot-area-notice-badge{background: rgba(15, 23, 42, 0.90) !important;border-color: rgba(255, 255, 255, 0.25) !important;color: #F8FAFC !important;}
html[data-theme="dark"] .rt-spot-photo-credit-bar{background: #181C24 !important;border-top-color: #2E3545 !important;color: #CBD5E1 !important;}
html[data-theme="dark"] .rt-spot-photo-source-link{color: #7DD3FC !important;}
html[data-theme="dark"] .rt-photo-license-drawer{background: #1D222B !important;border-color: #384152 !important;color: #E6E2DA !important;}
html[data-theme="dark"] .rt-photo-license-summary{color: #E6E2DA !important;}
html[data-theme="dark"] .rt-photo-license-summary-main svg{color: #7DD3FC !important;}
html[data-theme="dark"] .rt-photo-license-summary-hint{color: #CBD5E1 !important;}
html[data-theme="dark"] .rt-photo-license-drawer-body{border-top-color: #384152 !important;}
html[data-theme="dark"] .rt-photo-license-lead{color: #CBD5E1 !important;}
html[data-theme="dark"] .rt-photo-license-item{background: #252B36 !important;border-color: #454D5E !important;color: #E6E2DA !important;}
html[data-theme="dark"] .rt-photo-license-item-head{color: #F8FAFC !important;}
html[data-theme="dark"] .rt-photo-license-num{background: #0C4A6E !important;color: #F0F9FF !important;}
html[data-theme="dark"] .rt-photo-license-item-meta{color: #CBD5E1 !important;}
html[data-theme="dark"] .rt-photo-license-link{color: #7DD3FC !important;}
html[data-theme="dark"] .rt-spot-title{color: var(--dm-text-main, #E6E2DA) !important;}
html[data-theme="dark"] .rt-spot-catch{color: #93C5FD !important;}
html[data-theme="dark"] .rt-spot-desc{color: var(--dm-text-sub, #C2BDB4) !important;}
html[data-theme="dark"] .rt-spec-tag{background: #1B1F27 !important;border-color: #363C49 !important;color: #E2DDD5 !important;}
html[data-theme="dark"] .rt-rakuten-travel-btn{background: #9F1239 !important;border-color: #FB7185 !important;color: #FFFFFF !important;}
html[data-theme="dark"] .rt-companion-book-box{background: #1A1E26 !important;border-color: #363C49 !important;}
html[data-theme="dark"] .rt-companion-book-kicker{color: #7DD3FC !important;}
html[data-theme="dark"] .rt-companion-cover-wrap{background: #141820 !important;border-color: #363C49 !important;}
html[data-theme="dark"] .rt-companion-title{color: var(--dm-text-main, #E6E2DA) !important;}
html[data-theme="dark"] .rt-companion-author, html[data-theme="dark"] .rt-companion-price-note{color: var(--dm-text-sub, #B8B3AA) !important;}
html[data-theme="dark"] .rt-companion-reason{color: #D8D4CC !important;}
html[data-theme="dark"] .rt-gear-inline-btn{background: #262B36 !important;border-color: #454D5E !important;color: var(--dm-text-main, #E6E2DA) !important;}
html[data-theme="dark"] .rt-gear-inline-btn:hover{background: #303746 !important;border-color: #7DD3FC !important;}
html[data-theme="dark"] .reading-travel-gear-bridge{background: #1D222B !important;border-color: #384152 !important;}
html[data-theme="dark"] .reading-travel-gear-bridge-badge{background: #0C4A6E !important;color: #F0F9FF !important;}
html[data-theme="dark"] .reading-travel-gear-bridge-title{color: var(--dm-text-main, #E6E2DA) !important;}
html[data-theme="dark"] .reading-travel-gear-bridge-desc{color: var(--dm-text-sub, #C2BDB4) !important;}
html[data-theme="dark"] .reading-travel-gear-cta-card{background: #252B36 !important;border-color: #454D5E !important;color: var(--dm-text-main, #E6E2DA) !important;}
html[data-theme="dark"] .rt-gear-cta-icon{background: #182838 !important;color: #7DD3FC !important;}
html[data-theme="dark"] .rt-gear-cta-kicker, html[data-theme="dark"] .rt-gear-cta-arrow{color: #7DD3FC !important;}
html[data-theme="dark"] .rt-gear-cta-body strong{color: var(--dm-text-main, #E6E2DA) !important;}
html[data-theme="dark"] .rt-gear-cta-body span:last-child{color: var(--dm-text-sub, #C2BDB4) !important;}

html[data-theme="dark"] .cardless-trial-promo-box{--trial-safe-pill-fg: #A7F3D0;--trial-safe-pill-bg: #064E3B;--trial-safe-price-fg: #6EE7B7;background: #182521 !important;border-color: #2D6A4F !important;}
html[data-theme="dark"] #btn-start-cardless-trial{background: #065F46 !important;color: #FFFFFF !important;}
html[data-theme="dark"] .mypage-trial-countdown-bar{background: #182521 !important;border-color: #2D6A4F !important;color: #E6F4EA !important;}
html[data-theme="dark"] .mypage-trial-countdown-bar.is-urgent-milestone{background: #282015 !important;border-color: #D97706 !important;color: #FEF3C7 !important;}
html[data-theme="dark"] .mpt-countdown-pill{background: #065F46 !important;color: #FFFFFF !important;}
html[data-theme="dark"] .mypage-trial-countdown-bar.is-urgent-milestone .mpt-countdown-pill{background: #92400E !important;color: #FFFFFF !important;}
html[data-theme="dark"] .mpt-countdown-desc, html[data-theme="dark"] .mypage-trial-countdown-bar.is-urgent-milestone .mpt-countdown-desc{color: #E6E2DA !important;}
html[data-theme="dark"] .mpt-countdown-btn{background: var(--dm-amber-accent, #E2A84B) !important;color: var(--dm-amber-ink, #1B160E) !important;}

html[data-theme="dark"] .trial-confirm-dialog-card{background: #22262F !important;border-color: #64748B !important;color: #EAE6DF !important;}
html[data-theme="dark"] .trial-confirm-stage-pill{background: #92400E !important;color: #FFFFFF !important;}
html[data-theme="dark"] .trial-confirm-close-x{background: #2B313D !important;border-color: #64748B !important;color: #F1F5F9 !important;}
html[data-theme="dark"] .trial-confirm-title{color: #F8FAFC !important;}
html[data-theme="dark"] .trial-confirm-schedule-strip{background: #181C23 !important;border-color: #363C49 !important;}
html[data-theme="dark"] .trial-confirm-stat-label{color: #CBD5E1 !important;}
html[data-theme="dark"] .trial-confirm-stat-value{color: #F8FAFC !important;}
html[data-theme="dark"] .trial-confirm-stat-divider{background: #363C49 !important;}
html[data-theme="dark"] .trial-confirm-safeguard-box{background: #182521 !important;border-color: #2D6A4F !important;color: #E6F4EA !important;}
html[data-theme="dark"] .trial-confirm-safeguard-item svg{color: #6EE7B7 !important;}
html[data-theme="dark"] .trial-confirm-choice-lead{color: #E2E8F0 !important;}
html[data-theme="dark"] .trial-confirm-btn.is-opt-in{background: #E2A84B !important;border-color: #F3D496 !important;color: #1B160E !important;}
html[data-theme="dark"] .trial-confirm-btn.is-opt-in .trial-confirm-btn-main, html[data-theme="dark"] .trial-confirm-btn.is-opt-in .trial-confirm-btn-sub{color: #1B160E !important;}
html[data-theme="dark"] .trial-confirm-btn.is-keep-free{background: #2A303C !important;border-color: #94A3B8 !important;color: #F8FAFC !important;}
html[data-theme="dark"] .trial-confirm-btn.is-keep-free .trial-confirm-btn-main{color: #F8FAFC !important;}
html[data-theme="dark"] .trial-confirm-btn.is-keep-free .trial-confirm-btn-sub{color: #CBD5E1 !important;}
html[data-theme="dark"] .trial-confirm-later-btn{background: #1A1E26 !important;border-color: #64748B !important;color: #E2E8F0 !important;}

/* ==========================================================================
   Subcontent Live D1 Dashboards, 4-Store Comparison Strips & Dark Mode Contrast
   ========================================================================== */
.subcon-live-d1-dashboard,
.column-library-live-d1-card {
  margin: 12px 0 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fffdf9 0%, #f8fafc 100%);
  border: 1.5px solid #cbd5e1;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05);
}
.subcon-live-d1-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.subcon-live-d1-title {
  font-size: 0.9rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.35;
}
.subcon-live-d1-desc {
  font-size: 0.75rem;
  color: #475569;
  line-height: 1.5;
  margin-top: 3px;
}
.subcon-live-kpi-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.subcon-live-kpi-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid #cbd5e1;
}
.subcon-live-kpi-pill.is-primary {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #93c5fd;
}
.subcon-live-kpi-pill.is-sale {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fca5a5;
}
.subcon-live-kpi-pill.is-drop {
  background: #ecfdf5;
  color: #047857;
  border-color: #6ee7b7;
}
.subcon-live-kpi-time {
  font-size: 0.68rem;
  font-weight: 700;
  color: #475569;
}
.subcon-live-camp-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.subcon-live-camp-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: #334155;
}
.subcon-live-camp-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #1e40af;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  text-decoration: none;
  max-width: 100%;
}
.subcon-live-book-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(242px, 1fr));
  gap: 10px;
}
.subcon-live-book-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  min-width: 0;
}
.subcon-live-book-top {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
}
.subcon-live-book-cover {
  width: 46px;
  height: 66px;
  object-fit: cover;
  border-radius: 5px;
  flex-shrink: 0;
  border: 1px solid rgba(15, 23, 42, 0.1);
}
.subcon-live-book-meta {
  flex: 1;
  min-width: 0;
}
.subcon-live-book-badges {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 3px;
}
.subcon-disc-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.64rem;
  font-weight: 900;
  background: #b91c1c;
  color: #ffffff;
}
.subcon-remain-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.64rem;
  font-weight: 800;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}
.subcon-live-book-title {
  font-size: 0.77rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.subcon-live-book-pub {
  font-size: 0.68rem;
  color: #475569;
  margin-top: 2px;
}
.subcon-live-book-pub strong {
  color: #b91c1c;
}
.subcon-4store-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.subcon-4store-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #1e293b;
}
.subcon-4store-pill.is-kobo {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fca5a5;
}
.subcon-4store-pill.is-kindle {
  background: #fffbeb;
  color: #92400e;
  border-color: #fcd34d;
}
.subcon-4store-pill.is-ebook {
  background: #faf5ff;
  color: #6b21a8;
  border-color: #d8b4fe;
}
.subcon-4store-pill.is-dmm {
  background: #f0f9ff;
  color: #075985;
  border-color: #7dd3fc;
}
.subcon-cross-store-notice {
  margin: 10px 0 8px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.77rem;
  line-height: 1.5;
  background: #eff6ff;
  color: #1e3a8a;
  border: 1px solid #93c5fd;
}
.subcon-outline-pill-red {
  background: #ffffff;
  color: #b91c1c;
  border: 1.5px solid rgba(185, 28, 28, 0.45);
}
.subcon-outline-pill-red.is-active {
  background: linear-gradient(135deg, #bf0000 0%, #991b1b 100%) !important;
  color: #ffffff !important;
  border-color: #ef4444 !important;
}
.subcon-outline-pill-teal {
  background: #ffffff;
  color: #0f766e;
  border: 1px solid rgba(13, 148, 136, 0.4);
}
.award-jst-badge {
  display: inline-block;
  font-size: 0.56rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  margin-right: 5px;
  vertical-align: middle;
}
.award-jst-badge.is-done {
  background: #e2e8f0;
  color: #334155;
}
.award-jst-badge.is-current {
  background: #b91c1c;
  color: #ffffff;
}
.award-jst-badge.is-next {
  background: #92400e;
  color: #ffffff;
}
.award-jst-badge.is-upcoming {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}
.award-jst-badge.is-archive {
  background: #f3e8ff;
  color: #6b21a8;
}

@media (max-width: 520px) {
  .subcon-live-d1-dashboard,
  .column-library-live-d1-card {
    padding: 11px 12px;
  }
  .subcon-live-book-strip {
    grid-template-columns: 1fr;
  }
}

/* Soft Matte Dark Mode (>= 4.5:1 WCAG AA Contrast Guard) */
html[data-theme="dark"] .subcon-live-d1-dashboard,
html[data-theme="dark"] .column-library-live-d1-card {
  background: #22262E !important;
  border-color: #3F4756 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28) !important;
}
html[data-theme="dark"] .subcon-live-d1-title,
html[data-theme="dark"] .subcon-live-book-title {
  color: #F1EFEA !important;
}
html[data-theme="dark"] .subcon-live-d1-desc,
html[data-theme="dark"] .subcon-live-book-pub,
html[data-theme="dark"] .subcon-live-kpi-time,
html[data-theme="dark"] .subcon-live-camp-label {
  color: #CBD5E1 !important;
}
html[data-theme="dark"] .subcon-live-book-pub strong {
  color: #FCA5A5 !important;
}
html[data-theme="dark"] .subcon-live-kpi-pill {
  background: #2A2F3A !important;
  color: #E6E2DA !important;
  border-color: #4B5565 !important;
}
html[data-theme="dark"] .subcon-live-kpi-pill.is-primary {
  background: #1E293B !important;
  color: #93C5FD !important;
  border-color: #3B82F6 !important;
}
html[data-theme="dark"] .subcon-live-kpi-pill.is-sale {
  background: #2D1F24 !important;
  color: #FCA5A5 !important;
  border-color: #F87171 !important;
}
html[data-theme="dark"] .subcon-live-kpi-pill.is-drop {
  background: #182924 !important;
  color: #6EE7B7 !important;
  border-color: #34D399 !important;
}
html[data-theme="dark"] .subcon-live-camp-strip {
  background: #1B1F27 !important;
  border-color: #363C49 !important;
}
html[data-theme="dark"] .subcon-live-camp-chip {
  background: #252B37 !important;
  color: #93C5FD !important;
  border-color: #475569 !important;
}
html[data-theme="dark"] .subcon-live-book-card {
  background: #2A2F3A !important;
  border-color: #434B5B !important;
}
html[data-theme="dark"] .subcon-disc-badge {
  background: #991B1B !important;
  color: #FFFFFF !important;
}
html[data-theme="dark"] .subcon-remain-badge {
  background: #332718 !important;
  color: #FCD34D !important;
  border-color: #B45309 !important;
}
html[data-theme="dark"] .subcon-4store-pill {
  background: #1E232C !important;
  color: #E6E2DA !important;
  border-color: #4B5565 !important;
}
html[data-theme="dark"] .subcon-4store-pill.is-kobo {
  background: #2D1E22 !important;
  color: #FCA5A5 !important;
  border-color: #EF4444 !important;
}
html[data-theme="dark"] .subcon-4store-pill.is-kindle {
  background: #2D2618 !important;
  color: #FCD34D !important;
  border-color: #D97706 !important;
}
html[data-theme="dark"] .subcon-4store-pill.is-ebook {
  background: #281F33 !important;
  color: #D8B4FE !important;
  border-color: #A855F7 !important;
}
html[data-theme="dark"] .subcon-4store-pill.is-dmm {
  background: #1B2836 !important;
  color: #7DD3FC !important;
  border-color: #0284C7 !important;
}
html[data-theme="dark"] .subcon-cross-store-notice {
  background: #1E293B !important;
  color: #E2E8F0 !important;
  border-color: #3B82F6 !important;
}
html[data-theme="dark"] .unlimited-rename-notice-pill {
  background: #2E2618 !important;
  color: #FDE68A !important;
  border-color: #B45309 !important;
}
html[data-theme="dark"] .minnie-column-modal-card {
  background: #22262E !important;
  color: #E6E2DA !important;
  border: 1px solid #4B5565 !important;
}
html[data-theme="dark"] .subcon-kobo-promo-bar {
  background: linear-gradient(90deg, #2A2024 0%, #2A251E 100%) !important;
  border-color: #5B3A3E !important;
  color: #E6E2DA !important;
}
html[data-theme="dark"] .subcon-outline-pill-red,
html[data-theme="dark"] .media-kobo-sale-pill,
html[data-theme="dark"] .award-kobo-sale-pill,
html[data-theme="dark"] .media-kobo-bulk-pill,
html[data-theme="dark"] .sched-action-pill-kobo,
html[data-theme="dark"] .sched-backlist-sale-pill {
  background: #2D1E22 !important;
  color: #FCA5A5 !important;
  border-color: #F87171 !important;
}
html[data-theme="dark"] .subcon-outline-pill-red.is-active,
html[data-theme="dark"] .media-kobo-sale-pill.active,
html[data-theme="dark"] .award-kobo-sale-pill.is-active {
  background: #991B1B !important;
  color: #FFFFFF !important;
  border-color: #FCA5A5 !important;
}
html[data-theme="dark"] .award-daisho-pill {
  background: #2D2518 !important;
  color: #FDE68A !important;
  border-color: #D97706 !important;
}
html[data-theme="dark"] .subcon-outline-pill-teal,
html[data-theme="dark"] .media-sched-pill {
  background: #182927 !important;
  color: #5EEAD4 !important;
  border-color: #2DD4BF !important;
}
html[data-theme="dark"] .subcon-openbd-badge {
  background: #182924 !important;
  color: #6EE7B7 !important;
  border-color: #34D399 !important;
}
html[data-theme="dark"] .subcon-amber-badge {
  background: #2E2516 !important;
  color: #FCD34D !important;
  border-color: #D97706 !important;
}
html[data-theme="dark"] .subcon-amber-inline {
  color: #FCD34D !important;
}
html[data-theme="dark"] .sched-preorder-badge {
  background: #281F36 !important;
  color: #DDD6FE !important;
  border-color: #A78BFA !important;
}
html[data-theme="dark"] .sched-date-badge,
html[data-theme="dark"] .sched-action-pill-blue,
html[data-theme="dark"] .sched-refresh-pill {
  background: #1E293B !important;
  color: #93C5FD !important;
  border-color: #60A5FA !important;
}
html[data-theme="dark"] .sched-bookshelf-match-pill {
  background: #332715 !important;
  color: #FDE68A !important;
  border-color: #F59E0B !important;
}
html[data-theme="dark"] .sched-kobo-price-text,
html[data-theme="dark"] .media-store-kobo-price {
  color: #FCA5A5 !important;
}
html[data-theme="dark"] .media-store-kobo-cell {
  background: #2A1F23 !important;
  border-color: #EF4444 !important;
}
html[data-theme="dark"] .media-store-check-label {
  color: #CBD5E1 !important;
}
html[data-theme="dark"] .rank-likes-pill {
  background: #2F1D26 !important;
  color: #FDA4AF !important;
  border-color: #FB7185 !important;
}
html[data-theme="dark"] .award-jst-badge.is-done {
  background: #2B313D !important;
  color: #E2E8F0 !important;
}
html[data-theme="dark"] .award-jst-badge.is-current {
  background: #991B1B !important;
  color: #FFFFFF !important;
}
html[data-theme="dark"] .award-jst-badge.is-next {
  background: #92400E !important;
  color: #FFFFFF !important;
}
html[data-theme="dark"] .award-jst-badge.is-upcoming {
  background: #1E293B !important;
  color: #93C5FD !important;
  border-color: #3B82F6 !important;
}
html[data-theme="dark"] .award-jst-badge.is-archive {
  background: #281F36 !important;
  color: #E9D5FF !important;
}

/* ===== サブコン⑧『読書アイテム（5大シチュエーション×各10選＝50選）』公式商品画像100%統一フレーム ＆ ライト/ダークWCAG対応 ===== */
.acc-catalog-photo-frame {
  position: relative;
  width: calc(100% + 32px);
  margin: -16px -16px 10px -16px;
  aspect-ratio: 16 / 10;
  height: auto;
  min-height: 176px;
  max-height: 196px;
  background: #f6f2e9;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 14px 12px;
  box-sizing: border-box;
}
.acc-catalog-photo-img {
  width: 78%;
  height: 86%;
  max-width: 214px;
  max-height: 146px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #ffffff;
  border-radius: 12px;
  padding: 8px;
  box-sizing: border-box;
  display: block;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.08);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.accessory-card:hover .acc-catalog-photo-img {
  transform: scale(1.04);
}
.acc-catalog-photo-frame .acc-situation-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #3b2314;
  color: #fef3c7;
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 0.67rem;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
}
.acc-meta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0 0 6px;
}
.acc-shop-origin-chip {
  display: inline-flex;
  align-items: center;
  background: #1e293b;
  color: #f8fafc;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
}
.acc-meta-strip .acc-price-est {
  display: inline-flex;
  align-items: center;
  background: #432818;
  color: #fde68a;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
}
.acc-target-device-line {
  font-size: 0.72rem;
  font-weight: 800;
  color: #0369a1;
  margin-bottom: 6px;
  line-height: 1.4;
}
.acc-selection-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.71rem;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 999px;
  background: #1e293b;
  color: #fde68a;
  border: 1px solid #d97706;
}
.acc-selection-reason-box {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fffbeb;
  border-left: 3.5px solid #d97706;
  font-size: 0.74rem;
  line-height: 1.52;
  color: #432818;
}
.acc-fukumaru-tip-box {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fdfaf3;
  border: 1px dashed rgba(180, 83, 9, 0.42);
  font-size: 0.74rem;
  line-height: 1.5;
  color: #432818;
}
.reading-table-item-thumb {
  object-fit: contain;
  background: #ffffff;
  padding: 3px;
  box-sizing: border-box;
}
.reading-items-table-tab-btn {
  background: #ffffff;
  color: #432818;
  border: 1.5px solid #432818;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.18s ease;
}
.reading-items-table-tab-btn.is-active {
  background: #432818;
  color: #fde68a;
  border-color: #432818;
}
#view-reading-items .btn-reader-buy-amazon,
#view-reading-items .btn-goods-amazon {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #1c1917 !important;
}
#view-reading-items .btn-reader-buy-amazon span,
#view-reading-items .btn-goods-amazon span {
  color: #1c1917 !important;
}
#view-reading-items .btn-reader-buy-rakuten,
#view-reading-items .btn-goods-rakuten,
#view-reading-items .btn-table-store.rakuten {
  background: linear-gradient(135deg, #c81e1e 0%, #991b1b 100%);
  color: #ffffff !important;
}
#view-reading-items .btn-reader-buy-yahoo,
#view-reading-items .btn-goods-yahoo,
#view-reading-items .btn-table-store.yahoo {
  background: linear-gradient(135deg, #be123c 0%, #9f1239 100%);
  color: #ffffff !important;
}
#view-reading-items .reading-goods-card-badge {
  color: #0369a1;
  background: rgba(3, 105, 161, 0.1);
}
#view-reading-items .reading-goods-specs,
#view-reading-items .reading-table-item-brand,
#view-reading-items .reading-table-tag {
  color: #92400e;
}
#view-reading-items .reading-goods-compatibility {
  color: #9a3412;
}
#view-reading-items .acc-tag-item {
  color: #334155;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
}
html[data-theme="dark"] #view-reading-items .acc-catalog-photo-frame {
  background: #232730 !important;
  border-bottom-color: var(--dm-border-matte) !important;
}
html[data-theme="dark"] #view-reading-items .reading-goods-img,
html[data-theme="dark"] .acc-img {
  background: #ffffff;
  border-radius: 8px;
  padding: 6px;
  box-sizing: border-box;
}
html[data-theme="dark"] .acc-shop-origin-chip {
  background: #1E293B !important;
  color: #F8FAFC !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
}
html[data-theme="dark"] .acc-meta-strip .acc-price-est {
  background: #2C2923 !important;
  color: #FDE68A !important;
  border: 1px solid var(--dm-amber-border) !important;
}
html[data-theme="dark"] .acc-target-device-line {
  color: #7DD3FC !important;
}
html[data-theme="dark"] .acc-selection-badge-pill {
  background: #1E293B !important;
  color: #FDE68A !important;
  border-color: var(--dm-amber-border) !important;
}
html[data-theme="dark"] .acc-selection-reason-box {
  background: #2C2923 !important;
  color: var(--dm-text-main) !important;
  border-left-color: var(--dm-amber-accent) !important;
}
html[data-theme="dark"] .acc-fukumaru-tip-box {
  background: #262932 !important;
  color: var(--dm-text-main) !important;
  border-color: var(--dm-amber-border) !important;
}
html[data-theme="dark"] .acc-selection-reason-box strong,
html[data-theme="dark"] .acc-fukumaru-tip-box strong,
html[data-theme="dark"] #view-reading-items .reading-goods-specs,
html[data-theme="dark"] #view-reading-items .reading-table-item-brand,
html[data-theme="dark"] #view-reading-items .reading-goods-compatibility {
  color: var(--dm-amber-text) !important;
}
html[data-theme="dark"] #view-reading-items .acc-tag-item {
  background: var(--dm-bg-elevated) !important;
  color: var(--dm-text-main) !important;
  border-color: var(--dm-border-matte) !important;
}
html[data-theme="dark"] #view-reading-items .reading-items-table-tab-btn,
html[data-theme="dark"] #view-reading-items #btn-items-table-tab-situation.reading-items-table-tab-btn,
html[data-theme="dark"] #view-reading-items #btn-items-table-tab-device.reading-items-table-tab-btn {
  background: var(--dm-bg-elevated) !important;
  color: var(--dm-text-main) !important;
  border-color: var(--dm-border-strong) !important;
}
html[data-theme="dark"] #view-reading-items .reading-items-table-tab-btn.is-active,
html[data-theme="dark"] #view-reading-items #btn-items-table-tab-situation.reading-items-table-tab-btn.is-active,
html[data-theme="dark"] #view-reading-items #btn-items-table-tab-device.reading-items-table-tab-btn.is-active {
  background: #362E20 !important;
  color: var(--dm-amber-text) !important;
  border-color: var(--dm-amber-border) !important;
}
html[data-theme="dark"] #reading-items-device-protection-mount .acc-prot-container {
  background: var(--dm-bg-surface) !important;
  border-color: var(--dm-border-matte) !important;
}
html[data-theme="dark"] #reading-items-device-protection-mount .acc-prot-card {
  background: var(--dm-bg-elevated) !important;
  border-color: var(--dm-border-strong) !important;
}
html:not([data-theme="dark"]) #view-reading-items #reading-items-toolbar .reader-tab-pill[data-target="all"].active {
  background: linear-gradient(135deg, #b45309, #92400e) !important;
  border-color: #92400e !important;
  color: #ffffff !important;
}
html:not([data-theme="dark"]) #view-reading-items #reading-items-toolbar .reader-tab-pill[data-target="all"].active span {
  color: #ffffff !important;
}
html:not([data-theme="dark"]) .acc-prot-card a.btn-reader-buy-amazon {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
  color: #1c1917 !important;
}
html[data-theme="dark"] #view-reader #reader-compare-body .acc-prot-card a.btn-reader-buy-amazon,
html[data-theme="dark"] #view-reader #reader-compare-body .acc-prot-card a.btn-reader-buy-amazon span,
html[data-theme="dark"] #view-reader .acc-prot-card a.btn-reader-buy-amazon,
html[data-theme="dark"] #view-reader .acc-prot-card a.btn-reader-buy-amazon span,
html[data-theme="dark"] #hkb-subcon-modal-content .acc-prot-card a.btn-reader-buy-amazon,
html[data-theme="dark"] #hkb-subcon-modal-content .acc-prot-card a.btn-reader-buy-amazon span,
html[data-theme="dark"] .acc-prot-card a.btn-reader-buy-amazon,
html[data-theme="dark"] .acc-prot-card a.btn-reader-buy-amazon span,
html[data-theme="dark"] #reading-items-device-protection-mount a.btn-reader-buy-amazon,
html[data-theme="dark"] #reading-items-device-protection-mount a.btn-reader-buy-amazon span {
  background: #E2A84B !important;
  color: #1B160E !important;
}
html[data-theme="dark"] .acc-prot-card a.btn-reader-buy-rakuten,
html[data-theme="dark"] .acc-prot-card a.btn-reader-buy-rakuten span,
html[data-theme="dark"] .acc-prot-card a.btn-reader-buy-yahoo,
html[data-theme="dark"] .acc-prot-card a.btn-reader-buy-yahoo span,
html[data-theme="dark"] #reading-items-device-protection-mount a.btn-reader-buy-rakuten,
html[data-theme="dark"] #reading-items-device-protection-mount a.btn-reader-buy-rakuten span,
html[data-theme="dark"] #reading-items-device-protection-mount a.btn-reader-buy-yahoo,
html[data-theme="dark"] #reading-items-device-protection-mount a.btn-reader-buy-yahoo span {
  background: #B91C1C !important;
  color: #FFFFFF !important;
}
html[data-theme="dark"] #reader-popular-ranking-section div[style*="92400e"],
html[data-theme="dark"] #reader-popular-ranking-section div[style*="92400e"] span,
html[data-theme="dark"] #reader-popular-ranking-section div[style*="92400e"] strong {
  color: var(--dm-amber-text) !important;
}

/* ===== サブコン⑧『愛用端末連動セクション（4枠自動提案）』＆ シーン回遊ブリッジ UI・WCAG 4.5:1完全対応 ===== */
.ri-bridge-back-all-btn {
  padding: 6px 14px;
  border-radius: 999px;
  background: #432818;
  color: #fde68a;
  border: 1.5px solid #432818;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.16s ease, opacity 0.16s ease;
}
.ri-bridge-back-all-btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}
@keyframes riLinkedCardPulse {
  0% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.55); border-color: #d97706; }
  50% { box-shadow: 0 0 0 8px rgba(217, 119, 6, 0.16); border-color: #b45309; }
  100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); }
}
.accessory-card.is-linked-focus-pulse {
  animation: riLinkedCardPulse 1.1s ease 2;
  border-color: #d97706 !important;
}

.ri-owned-sync-shell {
  background: linear-gradient(180deg, #fffdf8 0%, #f8fafc 100%);
  border: 2px solid #cbd5e1;
  border-radius: 18px;
  padding: 18px 20px;
  box-sizing: border-box;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}
.ri-owned-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.ri-owned-top-info {
  flex: 1 1 320px;
  min-width: 0;
}
.ri-owned-kicker-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.ri-owned-kicker-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 11px;
  border-radius: 999px;
  background: #3b2314;
  color: #fef3c7;
  font-size: 0.70rem;
  font-weight: 900;
}
.ri-owned-link-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #ffffff;
  color: #1e293b;
  border: 1.5px solid #94a3b8;
  font-size: 0.70rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.ri-owned-link-pill:hover {
  border-color: #432818;
  background: #fffbeb;
}
.ri-owned-title {
  margin: 0 0 4px;
  font-size: 1.04rem;
  font-weight: 900;
  color: #1e293b;
  line-height: 1.42;
}
.ri-owned-desc {
  margin: 0;
  font-size: 0.77rem;
  color: #334155;
  line-height: 1.55;
  font-weight: 600;
}
.ri-owned-select-wrap {
  flex: 0 1 300px;
  min-width: 0;
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ri-owned-select-label {
  font-size: 0.71rem;
  font-weight: 800;
  color: #334155;
}
.ri-owned-select {
  width: 100%;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1.5px solid #64748b;
  background: #ffffff;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 700;
  box-sizing: border-box;
  cursor: pointer;
}
.ri-owned-quick-row {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.ri-owned-quick-label {
  font-size: 0.72rem;
  font-weight: 900;
  color: #334155;
  flex-shrink: 0;
}
.ri-owned-quick-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  flex: 1 1 auto;
  min-width: 0;
}
.ri-owned-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1.5px solid #94a3b8;
  background: #f8fafc;
  color: #1e293b;
  font-size: 0.73rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ri-owned-chip:hover {
  border-color: #432818;
}
.ri-owned-chip.is-active {
  background: #432818;
  color: #fde68a;
  border-color: #432818;
}
.ri-owned-chip.is-active span {
  color: #fde68a;
}
.ri-owned-chip-mark {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 999px;
  background: #065f46;
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 900;
}
.ri-owned-chip.is-active .ri-owned-chip-mark {
  background: #fde68a;
  color: #3b2314;
}
.ri-owned-register-toggle-btn {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1.5px solid #432818;
  background: #432818;
  color: #fde68a;
  font-size: 0.73rem;
  font-weight: 900;
  cursor: pointer;
  white-space: normal;
  text-align: center;
}
.ri-owned-register-toggle-btn.is-owned {
  background: #ecfdf5;
  color: #065f46;
  border-color: #059669;
}
.ri-owned-status-row,
.ri-owned-unregistered-bar {
  margin-top: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #fffbeb;
  border: 1px solid #f59e0b;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ri-owned-status-label {
  font-size: 0.73rem;
  font-weight: 900;
  color: #78350f;
}
.ri-owned-active-pill {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #ffffff;
  border: 1.5px solid #b45309;
  border-radius: 999px;
  padding: 2px 4px 2px 8px;
}
.ri-owned-active-pill-focus {
  border: none;
  background: transparent;
  color: #432818;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  padding: 2px 4px;
}
.ri-owned-active-pill-del {
  border: none;
  background: #fee2e2;
  color: #991b1b;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ri-owned-unreg-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: #3b2314;
  color: #fef3c7;
  font-size: 0.68rem;
  font-weight: 900;
  flex-shrink: 0;
}
.ri-owned-unreg-text {
  font-size: 0.74rem;
  color: #432818;
  line-height: 1.5;
  font-weight: 700;
}

.acc-prot-dev-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 10px;
  border-bottom: 1px dashed #cbd5e1;
}
.acc-prot-dev-visual-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 240px;
}
.acc-prot-dev-meta {
  min-width: 0;
}
.acc-prot-dev-title {
  font-size: 0.86rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.4;
}
.acc-prot-dev-specs {
  margin-top: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.acc-prot-jump-reader-btn {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1.5px solid #432818;
  background: #ffffff;
  color: #432818;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
}
.acc-prot-special-note {
  margin-top: 8px;
  font-size: 0.73rem;
  font-weight: 800;
  color: #78350f;
  background: #fffbeb;
  border: 1px solid #f59e0b;
  padding: 7px 11px;
  border-radius: 8px;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .acc-prot-cards-grid.is-four-col {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 767px) {
  .ri-owned-sync-shell {
    padding: 14px 12px;
  }
  .ri-owned-select-wrap {
    max-width: 100%;
    flex-basis: 100%;
  }
  .acc-prot-cards-grid.is-four-col {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
.acc-prot-card-linked {
  background: var(--bg-card, #ffffff);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border-color, #e2e8f0);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.acc-prot-slot-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.acc-prot-slot-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: #3b2314;
  color: #fef3c7;
  font-size: 0.68rem;
  font-weight: 900;
  flex-shrink: 0;
}
.acc-prot-slot-why {
  font-size: 0.70rem;
  font-weight: 800;
  color: #334155;
  line-height: 1.35;
}
.acc-prot-card-title {
  font-size: 0.80rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.4;
  word-break: break-word;
}
.acc-prot-card-desc {
  font-size: 0.72rem;
  color: #334155;
  margin: 0 0 10px;
  line-height: 1.5;
}
.acc-prot-catalog-jump-link {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: #fffbeb;
  color: #78350f;
  border: 1px solid #d97706;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
}

html[data-theme="dark"] .ri-bridge-back-all-btn {
  background: #362E20 !important;
  color: var(--dm-amber-text) !important;
  border-color: var(--dm-amber-border) !important;
}
html[data-theme="dark"] .ri-bridge-arrow {
  color: var(--dm-amber-text) !important;
}
html[data-theme="dark"] #reading-items-device-protection-mount .ri-owned-sync-shell {
  background: var(--dm-bg-surface) !important;
  border-color: var(--dm-border-strong) !important;
}
html[data-theme="dark"] #reading-items-device-protection-mount label,
html[data-theme="dark"] #reading-items-device-protection-mount .ri-owned-select-label {
  color: var(--dm-text-main) !important;
}
html[data-theme="dark"] #reading-items-device-protection-mount .ri-owned-quick-row {
  background: var(--dm-bg-surface-alt, #252A34) !important;
  border-color: var(--dm-border-matte) !important;
}
html[data-theme="dark"] #reading-items-device-protection-mount .ri-owned-kicker-pill,
html[data-theme="dark"] #reading-items-device-protection-mount .ri-owned-unreg-badge,
html[data-theme="dark"] #reading-items-device-protection-mount .acc-prot-slot-pill,
html[data-theme="dark"] .acc-prot-slot-pill {
  background: #362E20 !important;
  color: #FDE68A !important;
  border: 1px solid var(--dm-amber-border) !important;
}
html[data-theme="dark"] #reading-items-device-protection-mount .ri-owned-chip.is-active,
html[data-theme="dark"] #reading-items-device-protection-mount .ri-owned-chip.is-active span {
  background: #362E20 !important;
  color: #FDE68A !important;
  border-color: var(--dm-amber-border) !important;
}
html[data-theme="dark"] #reading-items-device-protection-mount .ri-owned-chip-mark {
  background: #065F46 !important;
  color: #ECFDF5 !important;
}
html[data-theme="dark"] #reading-items-device-protection-mount .ri-owned-register-toggle-btn {
  background: #362E20 !important;
  color: #FDE68A !important;
  border-color: var(--dm-amber-border) !important;
}
html[data-theme="dark"] #reading-items-device-protection-mount .ri-owned-register-toggle-btn.is-owned {
  background: #14352B !important;
  color: #6EE7B7 !important;
  border-color: #10B981 !important;
}
html[data-theme="dark"] #reading-items-device-protection-mount .ri-owned-status-row,
html[data-theme="dark"] #reading-items-device-protection-mount .ri-owned-unregistered-bar,
html[data-theme="dark"] #reading-items-device-protection-mount .acc-prot-special-note {
  background: #2C2923 !important;
  border-color: var(--dm-amber-border) !important;
  color: var(--dm-text-main) !important;
}
html[data-theme="dark"] #reading-items-device-protection-mount .ri-owned-active-pill {
  background: var(--dm-bg-elevated) !important;
  border-color: var(--dm-amber-border) !important;
}
html[data-theme="dark"] #reading-items-device-protection-mount .ri-owned-active-pill-focus {
  background: transparent !important;
  color: var(--dm-amber-text) !important;
  border: none !important;
}
html[data-theme="dark"] #reading-items-device-protection-mount .ri-owned-active-pill-del {
  background: #451A1A !important;
  color: #FCA5A5 !important;
  border: none !important;
}
html[data-theme="dark"] #reading-items-device-protection-mount .acc-prot-dev-header {
  border-bottom-color: var(--dm-border-matte) !important;
}
html[data-theme="dark"] #reading-items-device-protection-mount .acc-prot-catalog-jump-link {
  background: #2C2923 !important;
  color: #FDE68A !important;
  border-color: var(--dm-amber-border) !important;
}
html[data-theme="dark"] #reading-items-theme-columns-container div[style*="color:#b45309"],
html[data-theme="dark"] #reading-items-theme-columns-container summary[style*="color:#b45309"] {
  color: var(--dm-amber-text) !important;
}

/* サブコン⑨『端末・リーダー（全52機種）』統一プロダクト図解＆診断結果・マップポップオーバー ダークモード最適化 */
html[data-theme="dark"] #view-reader .hkb-dev-visual-stage {
  background: linear-gradient(180deg, #262b35 0%, #1d212a 100%) !important;
  border-color: rgba(148, 163, 184, 0.30) !important;
}
html[data-theme="dark"] #view-reader .hkb-compare-scale-stage {
  background: linear-gradient(180deg, #242933 0%, #1b1f27 100%) !important;
  border-color: rgba(148, 163, 184, 0.32) !important;
}
html[data-theme="dark"] #view-reader .hkb-compare-scale-stage .hkb-compare-scale-meta-col {
  background: #282d38 !important;
  border-color: rgba(148, 163, 184, 0.32) !important;
}
html[data-theme="dark"] #view-reader .hkb-compare-scale-stage .hkb-compare-scale-meta-col.col-a {
  border-top: 3px solid #818cf8 !important;
}
html[data-theme="dark"] #view-reader .hkb-compare-scale-stage .hkb-compare-scale-meta-col.col-b {
  border-top: 3px solid #E2A84B !important;
}
html[data-theme="dark"] #view-reader .hkb-compare-scale-stage .hkb-scale-slot-pill.slot-a {
  background: #4F46E5 !important;
  color: #FFFFFF !important;
}
html[data-theme="dark"] #view-reader .hkb-compare-scale-stage .hkb-scale-slot-pill.slot-b,
html[data-theme="dark"] #view-reader div.hkb-compare-scale-stage div.hkb-compare-scale-name span.hkb-scale-slot-pill.slot-b {
  background: #9A3412 !important;
  color: #FFF7ED !important;
}
html[data-theme="dark"] #view-reader .hkb-compare-scale-stage .hkb-scale-chip {
  background: #1e232d !important;
  color: #E2E8F0 !important;
  border-color: rgba(148, 163, 184, 0.35) !important;
}
html[data-theme="dark"] #view-reader .hkb-compare-scale-stage .hkb-scale-chip.kind-eink-color {
  background: #362d1e !important;
  color: #FDE68A !important;
  border-color: rgba(251, 191, 36, 0.42) !important;
}
html[data-theme="dark"] #view-reader .hkb-compare-scale-stage .hkb-scale-chip.kind-eink-bw {
  background: #2b313d !important;
  color: #F1F5F9 !important;
  border-color: rgba(148, 163, 184, 0.42) !important;
}
html[data-theme="dark"] #view-reader .hkb-compare-scale-stage .hkb-scale-chip.kind-oled-lcd {
  background: #292742 !important;
  color: #E0E7FF !important;
  border-color: rgba(165, 180, 252, 0.42) !important;
}
html[data-theme="dark"] #view-reader .hkb-quiz-lineup-card {
  background: #262b35 !important;
  border-color: rgba(226, 168, 75, 0.36) !important;
}
html[data-theme="dark"] #view-reader .hkb-quiz-lineup-card .hkb-quiz-lineup-caption {
  color: #F0EDE7 !important;
}
html[data-theme="dark"] #view-reader .hkb-quiz-lineup-card .hkb-quiz-lineup-sub {
  color: #F3D496 !important;
}
html[data-theme="dark"] #view-reader .hkb-map-pin-popover {
  background: #242933 !important;
  border-color: #818cf8 !important;
  color: #F0EDE7 !important;
}
html[data-theme="dark"] #view-reader .hkb-map-pin-popover div,
html[data-theme="dark"] #view-reader .hkb-map-pin-popover span {
  color: #F0EDE7 !important;
}
html[data-theme="dark"] #view-reader .hkb-map-pin-popover div[style*="dc2626"] {
  color: #FCA5A5 !important;
}
html[data-theme="dark"] #view-reader .hkb-map-pin-popover button[onclick*="assignMapPinToSlot"] {
  background: #2e3442 !important;
  color: #F0EDE7 !important;
  border-color: #818cf8 !important;
}
html[data-theme="dark"] #view-reader .hkb-map-pin-popover button[onclick*="closeMapPinPopover"] {
  background: #333947 !important;
  color: #F0EDE7 !important;
}
html[data-theme="dark"] #view-reader span[style*="c2410c"],
html[data-theme="dark"] #view-reader #hkb-map-ab-status-bar span[style*="c2410c"],
html[data-theme="dark"] #view-reader #reader-compare-section th span[style*="c2410c"] {
  background: #9A3412 !important;
  color: #FFF7ED !important;
}
html[data-theme="dark"] #view-reader #reader-diagnostic-section div[style*="#fff"],
html[data-theme="dark"] #view-reader #reader-diagnostic-section div[style*="ffffff"],
html[data-theme="dark"] #view-reader #reader-diagnostic-section p[style*="#fff"],
html[data-theme="dark"] #view-reader #reader-diagnostic-section .quiz-runnerup-wrap,
html[data-theme="dark"] #view-reader #reader-diagnostic-section .quiz-compare-panel > div,
html[data-theme="dark"] #view-reader #reader-diagnostic-section table tr,
html[data-theme="dark"] #view-reader #reader-diagnostic-section table th,
html[data-theme="dark"] #view-reader #reader-diagnostic-section table td {
  background: var(--dm-bg-surface) !important;
  color: var(--dm-text-main) !important;
  border-color: var(--dm-border-strong) !important;
}
html[data-theme="dark"] #view-reader #reader-diagnostic-section div[style*="fffbeb"],
html[data-theme="dark"] #view-reader #reader-diagnostic-section div[style*="f0fdf4"] {
  background: #282d37 !important;
  color: var(--dm-text-main) !important;
  border-color: var(--dm-border-strong) !important;
}
html[data-theme="dark"] #view-reader #reader-diagnostic-section h3,
html[data-theme="dark"] #view-reader #reader-diagnostic-section h4,
html[data-theme="dark"] #view-reader #reader-diagnostic-section strong,
html[data-theme="dark"] #view-reader #reader-diagnostic-section li,
html[data-theme="dark"] #view-reader #reader-diagnostic-section td,
html[data-theme="dark"] #view-reader #reader-diagnostic-section th {
  color: var(--dm-text-main) !important;
}
html[data-theme="dark"] #view-reader #reader-diagnostic-section div[style*="dc2626"],
html[data-theme="dark"] #view-reader #reader-diagnostic-section td[style*="dc2626"] {
  color: #FCA5A5 !important;
}
html[data-theme="dark"] #view-reader #reader-diagnostic-section td[style*="0284c7"],
html[data-theme="dark"] #view-reader #reader-specs-tbody td span[style*="0284c7"] {
  color: #7DD3FC !important;
}
html[data-theme="dark"] #view-reader #reader-diagnostic-section .quiz-compare-tab-btn {
  background: var(--dm-bg-elevated) !important;
  color: var(--dm-text-main) !important;
  border-color: var(--dm-border-strong) !important;
}
html[data-theme="dark"] #view-reader #reader-diagnostic-section .quiz-compare-tab-btn.active {
  background: #4F46E5 !important;
  color: #FFFFFF !important;
  border-color: #818CF8 !important;
}
html[data-theme="dark"] #view-reader #reader-diagnostic-section .quiz-compare-tab-btn.active span {
  color: #FFFFFF !important;
}
html[data-theme="dark"] #view-reader #reader-diagnostic-section .quiz-diff-badge.alt {
  background: #3A2E1E !important;
  color: #FDE68A !important;
}
html[data-theme="dark"] #view-reader #reader-diagnostic-section .quiz-diff-badge.neutral {
  background: #2C323E !important;
  color: #E2E8F0 !important;
}
html[data-theme="dark"] #view-reader #reader-diagnostic-section a.hkb-store-btn.amazon,
html[data-theme="dark"] #view-reader #reader-compare-body a.hkb-store-btn.amazon,
html[data-theme="dark"] #view-reader #reader-specs-tbody a.hkb-store-btn.amazon,
html[data-theme="dark"] #view-reader #reader-popular-ranking-section a.hkb-store-btn.amazon {
  background: #E2A84B !important;
  color: #1B160E !important;
}
html[data-theme="dark"] #view-reader #reader-specs-tbody td > div > div > div > span[style*="background"] {
  background: #2D3340 !important;
  color: var(--dm-amber-text) !important;
  border: 1px solid var(--dm-border-strong) !important;
}
html[data-theme="dark"] #view-reader #reader-tab-next-bridge > div {
  background: #242933 !important;
  border-color: rgba(226, 168, 75, 0.45) !important;
  color: #F0EDE7 !important;
}
html[data-theme="dark"] #view-reader #reader-tab-next-bridge h4 {
  color: #F0EDE7 !important;
}
html[data-theme="dark"] #view-reader #reader-tab-next-bridge p {
  color: #D2CDC3 !important;
}
html[data-theme="dark"] #view-reader #reader-tab-next-bridge span[style*="d97706"] {
  background: #E2A84B !important;
  color: #1B160E !important;
}
html[data-theme="dark"] #view-reader #reader-tab-next-bridge button[style*="ffffff"],
html[data-theme="dark"] #view-reader #reader-tab-next-bridge button[style*="transparent"] {
  background: #2F3542 !important;
  color: #F0EDE7 !important;
  border-color: rgba(226, 168, 75, 0.45) !important;
}
html[data-theme="dark"] #view-reader #reader-tab-next-bridge button[style*="432818"] {
  background: #E2A84B !important;
  color: #1B160E !important;
  border-color: #E2A84B !important;
}
html[data-theme="dark"] #view-reader .hkb-acc-pickup-box {
  background: #232831 !important;
  border-color: rgba(226, 168, 75, 0.40) !important;
  color: #F0EDE7 !important;
}
html[data-theme="dark"] #view-reader .hkb-acc-pickup-box h4,
html[data-theme="dark"] #view-reader .hkb-acc-pickup-box strong,
html[data-theme="dark"] #view-reader .hkb-acc-pickup-box .hkb-acc-card div[style*="1e293b"] {
  color: #F0EDE7 !important;
}
html[data-theme="dark"] #view-reader .hkb-acc-pickup-box span[style*="78350f"],
html[data-theme="dark"] #view-reader .hkb-acc-pickup-box div[style*="78350f"],
html[data-theme="dark"] #view-reader .hkb-acc-pickup-box .hkb-acc-card p {
  color: #E2E8F0 !important;
}
html[data-theme="dark"] #view-reader .hkb-acc-pickup-box div[style*="rgba(255,255,255"],
html[data-theme="dark"] #view-reader .hkb-acc-pickup-box .hkb-acc-card div[style*="fffbeb"],
html[data-theme="dark"] #view-reader .hkb-acc-pickup-box .hkb-acc-card span[style*="fffbeb"],
html[data-theme="dark"] #view-reader .hkb-acc-pickup-box .hkb-acc-card span[style*="fef3c7"] {
  background: #2B313D !important;
  color: #FDE68A !important;
  border-color: rgba(251, 191, 36, 0.38) !important;
}
html[data-theme="dark"] #view-reader .hkb-acc-pickup-box .hkb-acc-card div[style*="0284c7"] {
  color: #7DD3FC !important;
}
html[data-theme="dark"] #view-reader .hkb-acc-pickup-box button[style*="background:#fff"],
html[data-theme="dark"] #view-reader #reader-diagnostic-section .hkb-acc-pickup-box button[style*="background:#fff"] {
  background: #2E3442 !important;
  color: #F0EDE7 !important;
}
html[data-theme="dark"] #view-reader .hkb-acc-pickup-box button[style*="background:#fff"] > span:last-child,
html[data-theme="dark"] #view-reader #reader-diagnostic-section .hkb-acc-pickup-box button[style*="background:#fff"] > span:last-child {
  background: transparent !important;
  color: #F0EDE7 !important;
}
html[data-theme="dark"] #view-reader .hkb-acc-pickup-box button[style*="background:#ea580c"],
html[data-theme="dark"] #view-reader #reader-diagnostic-section .hkb-acc-pickup-box button[style*="background:#ea580c"] {
  background: #9A3412 !important;
  color: #FFF7ED !important;
  border-color: #FB923C !important;
}
html[data-theme="dark"] #view-reader .hkb-acc-pickup-box button[style*="background:#ea580c"] > span:last-child,
html[data-theme="dark"] #view-reader #reader-diagnostic-section .hkb-acc-pickup-box button[style*="background:#ea580c"] > span:last-child {
  background: transparent !important;
  color: #FFF7ED !important;
}
html[data-theme="dark"] #view-reader #reader-toolbar .reader-tab-pill.active,
html[data-theme="dark"] #view-reader #reader-toolbar button.reader-tab-pill.active {
  background: var(--dm-amber-accent) !important;
  color: var(--dm-amber-ink) !important;
  border-color: #F3D496 !important;
}
html[data-theme="dark"] #view-reader #reader-toolbar .reader-tab-pill.active span,
html[data-theme="dark"] #view-reader #reader-toolbar button.reader-tab-pill.active span {
  color: var(--dm-amber-ink) !important;
}
html[data-theme="dark"] #view-reader #reader-popular-ranking-section .ranking-name-line span[style*="fef3c7"],
html[data-theme="dark"] #view-reader #reader-popular-ranking-section span[style*="fef3c7"] {
  background: #332B1E !important;
  color: #FDE68A !important;
  border-color: rgba(251, 191, 36, 0.38) !important;
}
html[data-theme="dark"] #view-reader #reader-diagnostic-section div[style*="eef2ff"],
html[data-theme="dark"] #view-reader #reader-diagnostic-section div[style*="e0e7ff"] {
  background: #242933 !important;
  color: #F0EDE7 !important;
  border-color: rgba(129, 140, 248, 0.45) !important;
}
html[data-theme="dark"] #view-reader #reader-diagnostic-section div[style*="1e293b"]:not(button),
html[data-theme="dark"] #view-reader #reader-diagnostic-section span[style*="1e293b"],
html[data-theme="dark"] #view-reader #reader-diagnostic-section p[style*="334155"] {
  color: #F0EDE7 !important;
}
html[data-theme="dark"] #view-reader #reader-diagnostic-section div[style*="475569"],
html[data-theme="dark"] #view-reader #reader-diagnostic-section span[style*="64748b"] {
  color: #CBD5E1 !important;
}
html[data-theme="dark"] #view-reader #reader-diagnostic-section div[style*="4f46e5"],
html[data-theme="dark"] #view-reader #reader-diagnostic-section th[style*="4f46e5"] {
  color: #A5B4FC !important;
}
html[data-theme="dark"] #view-reader #reader-diagnostic-section th[style*="ea580c"],
html[data-theme="dark"] #view-reader #reader-diagnostic-section th[style*="c2410c"] {
  color: #FDBA74 !important;
}
html[data-theme="dark"] #view-reader #reader-diagnostic-section th[style*="059669"],
html[data-theme="dark"] #view-reader #reader-diagnostic-section td[style*="166534"] {
  color: #6EE7B7 !important;
}
html[data-theme="dark"] #view-reader #reader-diagnostic-section button[onclick*="saveReaderDiagnosisToMypage"],
html[data-theme="dark"] #view-reader #reader-diagnostic-section button[onclick*="saveReaderDiagnosisToMypage"] span {
  background: #312E81 !important;
  color: #EEF2FF !important;
  border-color: #818CF8 !important;
}
html[data-theme="dark"] #view-reader #reader-diagnostic-section button[onclick*="resetReaderQuiz"],
html[data-theme="dark"] #view-reader #reader-diagnostic-section button[onclick*="resetReaderQuiz"] span,
html[data-theme="dark"] #view-reader #reader-diagnostic-section button[onclick*="copyReaderQuizResultText"],
html[data-theme="dark"] #view-reader #reader-diagnostic-section button[onclick*="copyReaderQuizResultText"] span {
  background: #2F3542 !important;
  color: #F0EDE7 !important;
  border: 1px solid rgba(148, 163, 184, 0.38) !important;
}
html[data-theme="dark"] #view-reader #reader-diagnostic-section button[onclick*="resetReaderQuiz"] span,
html[data-theme="dark"] #view-reader #reader-diagnostic-section button[onclick*="copyReaderQuizResultText"] span,
html[data-theme="dark"] #view-reader #reader-diagnostic-section button[onclick*="saveReaderDiagnosisToMypage"] span,
html[data-theme="dark"] #view-reader #reader-diagnostic-section button[onclick*="clearSavedReaderDiagnosis"] span {
  border: none !important;
  background: transparent !important;
}
html[data-theme="dark"] #view-reader #reader-diagnostic-section button[onclick*="clearSavedReaderDiagnosis"] {
  background: #3B2025 !important;
  color: #FECACA !important;
  border-color: rgba(248, 113, 113, 0.45) !important;
}
html[data-theme="dark"] #view-reader #reader-diagnostic-section button[onclick*="clearSavedReaderDiagnosis"] span {
  color: #FECACA !important;
}
html[data-theme="dark"] #view-reader #reader-diagnostic-section .quiz-diff-badge.better {
  background: #14532D !important;
  color: #DCFCE7 !important;
}

/* ==========================================================================
   Subcon 9 (2026-11 Upgrade): 双方向同期カテゴリチェックボックス・OS寿命表示・新着速報テーブル
   ========================================================================== */
.reader-upcoming-section {
  background: var(--bg-card, #ffffff);
  border: 1.5px solid var(--border-color, #cbd5e1);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  max-width: 100%;
}
.hkb-upcoming-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.hkb-upcoming-kicker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #1e293b;
  color: #fde68a;
  font-size: 0.68rem;
  font-weight: 900;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 5px;
}
.hkb-upcoming-title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 900;
  color: var(--text-main, #0f172a);
  line-height: 1.4;
}
.hkb-upcoming-sub {
  margin: 4px 0 0;
  font-size: 0.76rem;
  color: var(--text-sub, #475569);
  line-height: 1.5;
}
.hkb-upcoming-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  box-sizing: border-box;
}
.hkb-upcoming-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 0.78rem;
  background: #ffffff;
}
.hkb-upcoming-table th {
  background: #f8fafc;
  color: #1e293b;
  font-weight: 900;
  font-size: 0.74rem;
  padding: 10px 10px;
  text-align: left;
  border-bottom: 2px solid #cbd5e1;
  white-space: nowrap;
}
.hkb-upcoming-table td {
  padding: 11px 10px;
  vertical-align: middle;
  border-bottom: 1px solid #e2e8f0;
  color: #1e293b;
  line-height: 1.48;
}
.hkb-upcoming-table tbody tr:last-child td {
  border-bottom: none;
}
.hkb-upcoming-rel-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff1f2;
  color: #9f1239;
  border: 1px solid #fda4af;
  border-radius: 8px;
  padding: 3px 8px;
  font-size: 0.70rem;
  font-weight: 900;
  white-space: nowrap;
}
.hkb-upcoming-status-sub {
  display: block;
  margin-top: 4px;
  font-size: 0.66rem;
  font-weight: 800;
  color: #475569;
  white-space: nowrap;
}
.hkb-upcoming-cmp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  padding: 6px 10px;
  border-radius: 8px;
  background: #312e81;
  color: #ffffff;
  border: 1.5px solid #312e81;
  font-size: 0.71rem;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s ease, transform 0.15s ease;
  box-sizing: border-box;
}
.hkb-upcoming-cmp-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}
.hkb-upcoming-foot-note {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px dashed #94a3b8;
  font-size: 0.72rem;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* 双方向同期・カテゴリチェックボックスバー */
.hkb-sync-cat-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 11px 14px;
  margin: 0 0 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  box-sizing: border-box;
  max-width: 100%;
}
.hkb-sync-cat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.hkb-sync-cat-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 900;
  color: #0f172a;
}
.hkb-sync-cat-meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.hkb-sync-count-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #1e293b;
  color: #f8fafc;
  font-size: 0.71rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.hkb-sync-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 11px;
  border-radius: 999px;
  background: #ffffff;
  border: 1.5px solid #64748b;
  color: #1e293b;
  font-size: 0.70rem;
  font-weight: 800;
  cursor: pointer;
}
.hkb-sync-cat-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.hkb-sync-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 9px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #334155;
  font-size: 0.73rem;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
  line-height: 1.3;
}
.hkb-sync-cat-chip input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #4f46e5;
  cursor: pointer;
}
.hkb-sync-cat-chip.is-checked {
  background: #eef2ff;
  border-color: #4f46e5;
  color: #1e1b4b;
}
.hkb-sync-prevgen-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 9px;
  background: #fffbeb;
  border: 1.5px solid #d97706;
  color: #78350f;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
  line-height: 1.3;
}
.hkb-sync-prevgen-chip input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #b45309;
  cursor: pointer;
}
.hkb-sync-guard-msg {
  font-size: 0.70rem;
  font-weight: 800;
  color: #b45309;
}

/* OSバージョン＆アップデート方針バッジ・ワンポイント解説 */
.hkb-os-guide-banner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 13px;
  margin: 0 0 12px;
  border-radius: 11px;
  background: #f0fdf4;
  border: 1.5px solid #22c55e;
  color: #14532d;
  font-size: 0.75rem;
  line-height: 1.52;
  font-weight: 700;
  box-sizing: border-box;
}
.hkb-os-guide-icon {
  color: #15803d;
  flex-shrink: 0;
  margin-top: 2px;
}
.hkb-os-ver-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.70rem;
  font-weight: 900;
  line-height: 1.35;
  white-space: nowrap;
}
.hkb-os-ver-badge.tier-modern {
  background: #dcfce7;
  color: #14532d;
  border: 1px solid #86efac;
}
.hkb-os-ver-badge.tier-mid {
  background: #e0f2fe;
  color: #0c4a6e;
  border: 1px solid #7dd3fc;
}
.hkb-os-ver-badge.tier-std {
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid #cbd5e1;
}
.hkb-os-ver-badge.tier-legacy {
  background: #fef3c7;
  color: #78350f;
  border: 1px solid #f59e0b;
}
.hkb-os-ver-badge.tier-dedicated {
  background: #eef2ff;
  color: #312e81;
  border: 1px solid #a5b4fc;
}
.hkb-os-policy-sub {
  margin-top: 3px;
  font-size: 0.65rem;
  font-weight: 700;
  color: #475569;
  line-height: 1.35;
}
.hkb-gen-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 0.62rem;
  font-weight: 900;
  background: #fef3c7;
  color: #78350f;
  border: 1px solid #d97706;
  white-space: nowrap;
}
.hkb-rel-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 0.62rem;
  font-weight: 900;
  background: #dcfce7;
  color: #14532d;
  border: 1px solid #22c55e;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .reader-upcoming-section { padding: 13px 12px; }
  .hkb-sync-cat-bar { padding: 9px 10px; }
  .hkb-sync-cat-chip, .hkb-sync-prevgen-chip { font-size: 0.69rem; padding: 4px 8px; }
}

/* ソフトマットダークモード対応（WCAG 4.5:1以上・白浮きゼロ保証） */
html[data-theme="dark"] #view-reader .reader-upcoming-section {
  background: var(--dm-bg-surface, #242933) !important;
  border-color: var(--dm-border-strong, #475569) !important;
  color: #F0EDE7 !important;
}
html[data-theme="dark"] #view-reader .hkb-upcoming-kicker {
  background: #E2A84B !important;
  color: #1B160E !important;
}
html[data-theme="dark"] #view-reader .hkb-upcoming-kicker span {
  color: #1B160E !important;
}
html[data-theme="dark"] #view-reader .hkb-upcoming-title {
  color: #F0EDE7 !important;
}
html[data-theme="dark"] #view-reader .hkb-upcoming-sub {
  color: #CBD5E1 !important;
}
html[data-theme="dark"] #view-reader .hkb-upcoming-table-wrap {
  border-color: rgba(148, 163, 184, 0.35) !important;
}
html[data-theme="dark"] #view-reader .hkb-upcoming-table,
html[data-theme="dark"] #view-reader .hkb-upcoming-table td {
  background: #232831 !important;
  color: #F0EDE7 !important;
  border-color: rgba(148, 163, 184, 0.25) !important;
}
html[data-theme="dark"] #view-reader .hkb-upcoming-table th {
  background: #2C323E !important;
  color: #F0EDE7 !important;
  border-color: rgba(148, 163, 184, 0.38) !important;
}
html[data-theme="dark"] #view-reader .hkb-upcoming-rel-badge {
  background: #3B1F26 !important;
  color: #FECDD3 !important;
  border-color: rgba(251, 113, 133, 0.45) !important;
}
html[data-theme="dark"] #view-reader .hkb-upcoming-status-sub {
  color: #CBD5E1 !important;
}
html[data-theme="dark"] #view-reader .hkb-upcoming-cmp-btn,
html[data-theme="dark"] #view-reader .hkb-upcoming-cmp-btn span {
  background: #4338CA !important;
  color: #FFFFFF !important;
  border-color: #818CF8 !important;
}
html[data-theme="dark"] #view-reader .hkb-upcoming-cmp-btn span {
  background: transparent !important;
  border: none !important;
}
html[data-theme="dark"] #view-reader #reader-upcoming-new-section a.hkb-store-btn.amazon {
  background: #E2A84B !important;
  color: #1B160E !important;
}
html[data-theme="dark"] #view-reader .hkb-upcoming-foot-note {
  background: #1F242D !important;
  border-color: rgba(148, 163, 184, 0.35) !important;
  color: #CBD5E1 !important;
}
html[data-theme="dark"] #view-reader .hkb-sync-cat-bar {
  background: #232831 !important;
  border-color: rgba(148, 163, 184, 0.36) !important;
  color: #F0EDE7 !important;
}
html[data-theme="dark"] #view-reader .hkb-sync-cat-title {
  color: #F0EDE7 !important;
}
html[data-theme="dark"] #view-reader .hkb-sync-count-badge {
  background: #E2A84B !important;
  color: #1B160E !important;
}
html[data-theme="dark"] #view-reader .hkb-sync-reset-btn {
  background: #2F3542 !important;
  border-color: rgba(148, 163, 184, 0.45) !important;
  color: #F0EDE7 !important;
}
html[data-theme="dark"] #view-reader .hkb-sync-cat-chip {
  background: #2C323E !important;
  border-color: rgba(148, 163, 184, 0.40) !important;
  color: #E2E8F0 !important;
}
html[data-theme="dark"] #view-reader .hkb-sync-cat-chip span {
  color: inherit !important;
}
html[data-theme="dark"] #view-reader .hkb-sync-cat-chip.is-checked {
  background: #2A2D4A !important;
  border-color: #818CF8 !important;
  color: #EEF2FF !important;
}
html[data-theme="dark"] #view-reader .hkb-sync-prevgen-chip {
  background: #332B1E !important;
  border-color: rgba(251, 191, 36, 0.45) !important;
  color: #FDE68A !important;
}
html[data-theme="dark"] #view-reader .hkb-sync-prevgen-chip span {
  color: #FDE68A !important;
}
html[data-theme="dark"] #view-reader .hkb-sync-guard-msg {
  color: #FDE68A !important;
}
html[data-theme="dark"] #view-reader .hkb-os-guide-banner {
  background: #1B2E26 !important;
  border-color: rgba(52, 211, 153, 0.45) !important;
  color: #ECFDF5 !important;
}
html[data-theme="dark"] #view-reader .hkb-os-guide-banner strong,
html[data-theme="dark"] #view-reader .hkb-os-guide-banner div {
  color: #ECFDF5 !important;
}
html[data-theme="dark"] #view-reader .hkb-os-guide-icon {
  color: #6EE7B7 !important;
}
html[data-theme="dark"] #view-reader .hkb-os-ver-badge.tier-modern,
html[data-theme="dark"] #view-reader .hkb-rel-badge {
  background: #163B2B !important;
  color: #A7F3D0 !important;
  border-color: rgba(52, 211, 153, 0.45) !important;
}
html[data-theme="dark"] #view-reader .hkb-os-ver-badge.tier-mid {
  background: #1B3244 !important;
  color: #BAE6FD !important;
  border-color: rgba(56, 189, 248, 0.45) !important;
}
html[data-theme="dark"] #view-reader .hkb-os-ver-badge.tier-std {
  background: #2C323E !important;
  color: #F1F5F9 !important;
  border-color: rgba(148, 163, 184, 0.42) !important;
}
html[data-theme="dark"] #view-reader .hkb-os-ver-badge.tier-legacy,
html[data-theme="dark"] #view-reader .hkb-gen-badge {
  background: #382B1B !important;
  color: #FDE68A !important;
  border-color: rgba(251, 191, 36, 0.45) !important;
}
html[data-theme="dark"] #view-reader .hkb-os-ver-badge.tier-dedicated {
  background: #2A2945 !important;
  color: #E0E7FF !important;
  border-color: rgba(165, 180, 252, 0.45) !important;
}
html[data-theme="dark"] #view-reader .hkb-os-policy-sub {
  color: #CBD5E1 !important;
}
