/* Neutral shell, readable light cards, and a distinct color for each category. */
#modalBackdrop:has(.modal.drop-center-modal) { background: #020b16a8; backdrop-filter: blur(12px); }
.modal.drop-center-modal {
  display: flex;
  width: min(960px, 100%);
  max-width: 100%;
  max-height: min(820px, calc(100dvh - 32px));
  padding: 0;
  overflow: hidden;
  border: 1px solid #70dff08a;
  border-top: 2px solid #62dff3;
  border-radius: 24px;
  background: #111827;
  color: #eaf6ff;
  box-shadow: 0 30px 100px #020812b8, 0 0 36px #43c9ef1c;
  zoom: .8474576271;
  color-scheme: dark;
}
.modal.drop-center-modal #modalContent { min-height: 0; width: 100%; overflow: auto; scrollbar-color: #3988a6 #091827; }
.modal.drop-center-modal #modalContent > .drop-center-modal {
  width: 100%;
  max-width: none;
  padding: 34px 40px 30px;
  background: radial-gradient(ellipse at 10% 95%, #12608728, transparent 37%), linear-gradient(145deg, #172233, #111827 64%, #192638);
}
.modal.drop-center-modal > .modal-close {
  z-index: 3;
  top: 15px;
  right: 16px;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid #b6eaf3a6;
  border-radius: 50%;
  background: linear-gradient(145deg, #eafcff, #9ecbd8);
  color: #16354c;
  box-shadow: 0 0 0 4px #64cfe51c, 0 5px 18px #02091488;
}
.modal.drop-center-modal > .modal-close:hover { background: #dffbff; }
.modal.drop-center-modal .drop-center-heading { flex-wrap: wrap; gap: 18px; margin: 0 0 22px; padding: 0 35px 23px 0; border-bottom: 1px solid #70b7d336; }
.modal.drop-center-modal .drop-center-title { gap: 18px; }
.modal.drop-center-modal .drop-center-heading-copy { min-width: 0; }
.modal.drop-center-modal .drop-center-eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: #8fc8dc; font-size: 10px; font-weight: 650; letter-spacing: 1px; }
.modal.drop-center-modal .drop-center-eyebrow i { width: 6px; height: 6px; flex: none; border-radius: 50%; background: #55deed; box-shadow: 0 0 0 4px #55deed20, 0 0 14px #55deed8a; }
.modal.drop-center-modal .drop-center-title h2 { margin: 0 0 6px; color: #f1faff; font-size: clamp(27px, 3.2vw, 36px); line-height: 1.3; letter-spacing: -.4px; }
.modal.drop-center-modal .drop-center-title p { max-width: none; color: #c1ccdc; font-size: 13px; line-height: 1.7; }
.modal.drop-center-modal .drop-center-icon { width: 64px; height: 64px; flex-basis: 64px; border-color: #8eeaff9c; border-radius: 18px; background: radial-gradient(circle at 30% 20%, #9ceaff33, transparent 65%), linear-gradient(145deg, #254b65, #12283c); color: #72deed; box-shadow: 0 0 0 5px #4dd6ef0c, 0 0 26px #2ebbe32c, inset 0 1px #ffffff38; }
.modal.drop-center-modal .drop-center-icon svg, .modal.drop-center-modal .drop-empty-icon svg { width: 30px; height: 30px; }
.modal.drop-center-modal .drop-mark-read { min-height: 42px; flex: none; border-color: #77a9bf6b; border-radius: 11px; background: linear-gradient(145deg, #1b364a, #12283b); color: #d7e9f2; font-size: 12px; box-shadow: inset 0 1px #ffffff14; }
.modal.drop-center-modal .drop-mark-read:hover { border-color: #72dced; background: #1b3d53; }
.modal.drop-center-modal .drop-tabs { flex: none; gap: 8px; margin-bottom: 20px; padding: 3px 3px 13px; border-bottom-color: #70b7d32b; scrollbar-color: #3988a6 #091827; }
/* One palette is shared by each filter, its cards, icon, and action. */
.modal.drop-center-modal .drop-tab-btn,
.modal.drop-center-modal .drop-card { --notice-ink: #334155; --notice-tint: #eef2f6; --notice-line: #b8c5d4; --notice-solid: #475569; }
.modal.drop-center-modal [data-drop-tab="chat"],
.modal.drop-center-modal .chat-message-alert { --notice-ink: #174caf; --notice-tint: #eaf2ff; --notice-line: #a0bff3; --notice-solid: #2563d9; }
.modal.drop-center-modal [data-drop-tab="likes"],
.modal.drop-center-modal .song-like-alert { --notice-ink: #a52259; --notice-tint: #fff0f5; --notice-line: #edabc5; --notice-solid: #c02c68; }
.modal.drop-center-modal [data-drop-tab="music"],
.modal.drop-center-modal .drop-card:has(.drop-icon.music) { --notice-ink: #126340; --notice-tint: #eaf8ef; --notice-line: #8fc9a7; --notice-solid: #18804e; }
.modal.drop-center-modal [data-drop-tab="ticket"],
.modal.drop-center-modal .drop-card:has(.drop-icon.ticket, .drop-icon.event) { --notice-ink: #805100; --notice-tint: #fff6db; --notice-line: #dec16b; --notice-solid: #966000; }
.modal.drop-center-modal [data-drop-tab="venue"],
.modal.drop-center-modal .drop-card:has(.drop-icon.venue) { --notice-ink: #6937ae; --notice-tint: #f4edff; --notice-line: #c2a4e9; --notice-solid: #7944bc; }
.modal.drop-center-modal [data-drop-tab="sponsored"],
.modal.drop-center-modal .sponsored-drop { --notice-ink: #9a3b12; --notice-tint: #fff0e5; --notice-line: #eeb087; --notice-solid: #b84a17; }
.modal.drop-center-modal .drop-tab-btn { flex: 0 0 auto; min-height: 44px; gap: 7px; padding: 0 13px; border: 1px solid var(--notice-line); border-radius: 11px; background: var(--notice-tint); color: var(--notice-ink); font-size: 13px; font-weight: 700; white-space: nowrap; box-shadow: inset 0 1px #fff9; }
.modal.drop-center-modal .drop-tab-btn > span { color: inherit; }
.modal.drop-center-modal .drop-tab-btn:hover { background: #fff; border-color: var(--notice-solid); }
.modal.drop-center-modal .drop-tab-btn.active { border-color: #fff; background: var(--notice-solid); color: #fff; box-shadow: 0 0 0 3px var(--notice-line); }
.modal.drop-center-modal .drop-tab-btn b { background: #ffffffbd; color: var(--notice-ink); }
.modal.drop-center-modal .drop-tab-btn b:empty { display: none; }
.modal.drop-center-modal .drop-feed-list { min-height: 210px; max-height: min(44dvh, 420px); gap: 12px; padding: 2px 6px 4px 1px; scrollbar-color: #3988a6 #091827; }
.modal.drop-center-modal .drop-card { flex: none; gap: 17px; padding: 20px; border: 1px solid var(--notice-line); border-left: 4px solid var(--notice-line); border-radius: 16px; background: #f8fafc; box-shadow: 0 5px 18px #020a1426; }
.modal.drop-center-modal .drop-card:hover { border-color: var(--notice-solid); }
.modal.drop-center-modal .drop-card.unread { border-left: 5px solid var(--notice-solid); background: linear-gradient(110deg, var(--notice-tint), #fff 75%); }
.modal.drop-center-modal .drop-card.unread .drop-content::before { content: 'ยังไม่อ่าน'; display: inline-block; margin-bottom: 8px; padding: 3px 8px; border-radius: 5px; background: var(--notice-solid); color: #fff; font-size: 11px; font-weight: 700; }
.modal.drop-center-modal .drop-creator { color: #566579; font-size: 13px; }
.modal.drop-center-modal .drop-creator b { color: #253348; }
.modal.drop-center-modal .drop-time { color: #59677c; font-size: 11px; }
.modal.drop-center-modal .drop-content { overflow-wrap: anywhere; }
.modal.drop-center-modal .drop-content h4 { margin: 7px 0 5px; color: #172338; font-size: 16px; line-height: 1.6; }
.modal.drop-center-modal .drop-content p { color: #46576c; font-size: 14px; line-height: 1.7; }
.modal.drop-center-modal .drop-icon { width: 46px; height: 46px; flex-basis: 46px; border: 1px solid var(--notice-line); border-radius: 13px; background: var(--notice-tint); color: var(--notice-ink); box-shadow: inset 0 1px #fff9; }
.modal.drop-center-modal .drop-action-btn { min-height: 40px; border: 1px solid var(--notice-line); border-radius: 9px; background: var(--notice-tint); color: var(--notice-ink); text-decoration: none; font-weight: 700; box-shadow: inset 0 1px #fff9; }
.modal.drop-center-modal .drop-action-btn:hover { border-color: var(--notice-solid); background: var(--notice-solid); color: #fff; }
.modal.drop-center-modal .drop-empty { min-height: 230px; border-color: #6fb6cf42; border-radius: 18px; background: radial-gradient(ellipse at 50% 0, #25688a26, transparent 65%), #102333a8; }
.modal.drop-center-modal .drop-empty-icon { width: 60px; height: 60px; border-color: #74d9ec63; border-radius: 18px; background: linear-gradient(145deg, #254b65, #12283c); color: #75dbea; box-shadow: 0 0 28px #31b6d526, inset 0 1px #ffffff20; }
.modal.drop-center-modal .drop-empty h3 { color: #e7f6ff; }
.modal.drop-center-modal .drop-empty p { color: #96b2c5; font-size: 13px; line-height: 1.8; }
.modal.drop-center-modal .boost-cta-box { gap: 18px; margin-top: 22px; padding: 20px; border-color: #74d9ec4d; border-radius: 16px; background: linear-gradient(135deg, #19394e, #102d3f); box-shadow: inset 0 1px #ffffff12, 0 10px 24px #020a142e; }
.modal.drop-center-modal .boost-cta-box strong { color: #e4f7ff; font-size: 15px; }
.modal.drop-center-modal .boost-cta-box p { color: #9ebcce; font-size: 13px; line-height: 1.7; }
.modal.drop-center-modal .boost-launch-btn { min-height: 46px; padding: 0 18px; border: 1px solid #83edff; border-radius: 11px; background: linear-gradient(105deg, #138fc8, #21b8df 55%, #248ed0); color: #f4fdff; font-size: 13px; box-shadow: 0 9px 25px #0685bd35, inset 0 1px #ffffff66; }
.modal.drop-center-modal .boost-launch-btn:hover { background: linear-gradient(105deg, #1da5df, #39cbe9); box-shadow: 0 9px 25px #0685bd55; }
.modal.drop-center-modal :focus-visible { outline: 3px solid #8aeaff; outline-offset: 3px; }
@media (max-width: 680px) {
  .modal.drop-center-modal { max-height: calc(100dvh - 24px); border-radius: 18px; zoom: 1; }
  .modal.drop-center-modal #modalContent > .drop-center-modal { padding: 24px 17px 20px; }
  .modal.drop-center-modal > .modal-close { top: 10px; right: 10px; width: 34px; height: 34px; }
  .modal.drop-center-modal .drop-center-heading { gap: 15px; padding: 0 20px 18px 0; margin-bottom: 16px; }
  .modal.drop-center-modal .drop-center-title { align-items: flex-start; gap: 13px; }
  .modal.drop-center-modal .drop-center-icon { width: 46px; height: 46px; flex-basis: 46px; border-radius: 13px; }
  .modal.drop-center-modal .drop-center-eyebrow { margin-bottom: 7px; font-size: 8px; letter-spacing: .6px; }
  .modal.drop-center-modal .drop-center-title h2 { font-size: 26px; }
  .modal.drop-center-modal .drop-center-title p { font-size: 12px; }
  .modal.drop-center-modal .drop-mark-read { margin-left: 59px; }
  .modal.drop-center-modal .drop-tabs { margin-bottom: 15px; }
  .modal.drop-center-modal .drop-feed-list { max-height: none; overflow: visible; padding-right: 0; }
  .modal.drop-center-modal .drop-card { gap: 12px; padding: 15px 12px; }
  .modal.drop-center-modal .drop-icon { width: 38px; height: 38px; flex-basis: 38px; font-size: 18px; }
  .modal.drop-center-modal .drop-topline { flex-direction: column; gap: 2px; }
  .modal.drop-center-modal .drop-content h4 { font-size: 15px; }
  .modal.drop-center-modal .drop-content p { font-size: 13px; }
  .modal.drop-center-modal .boost-cta-box { align-items: stretch; flex-direction: column; gap: 14px; margin-top: 18px; padding: 16px; }
  .modal.drop-center-modal .boost-launch-btn { width: 100%; }
}
