/*
 * 用途：SQE-ADV 飯店進階獨立查詢視窗全部樣式。
 * 對外 API：無 JavaScript API；所有新增 class 均以 .adv- 開頭。
 * 依賴：宿主頁 :root 色彩變數，以及既有 .btn / .flag / .res 視覺語彙。
 */

.adv-modal {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(12, 28, 49, 0.56);
  overscroll-behavior: contain;
}
.adv-modal.adv-modal--open { display: flex; }
.adv-modal__panel {
  width: min(1220px, calc(100vw - 32px)); max-width: 100%;
  height: min(900px, calc(100vh - 32px)); max-height: calc(100vh - 32px);
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card, #fff); color: var(--text, #0d2342);
  border: 1px solid var(--line, #dbe6f1); border-radius: var(--radius, 16px);
  box-shadow: 0 28px 80px rgba(10, 37, 66, 0.3); outline: none;
}
.adv-modal__header {
  flex: none; min-height: 62px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 13px 18px; background: #fff; border-bottom: 1px solid var(--line, #dbe6f1);
}
.adv-modal__title { margin: 0; font-size: 18px; font-weight: 900; line-height: 1.4; }
.adv-modal__close {
  width: 36px; height: 36px; flex: none; display: grid; place-items: center; padding: 0;
  border: 1px solid #d9e3ed; border-radius: 10px; background: #f5f8fb; color: #3b5572;
  font-size: 23px; line-height: 1; cursor: pointer;
}
.adv-modal__close:hover { background: #edf4fb; }
.adv-modal__body { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 14px 16px; background: #f8fbfe; }
.adv-modal__footer {
  flex: none; min-height: 60px; display: flex; align-items: center; justify-content: flex-end;
  gap: 8px; padding: 10px 16px; background: #fff; border-top: 1px solid var(--line, #dbe6f1);
}
.adv-modal button:focus-visible, .adv-modal input:focus-visible, .adv-modal select:focus-visible, .adv-modal a:focus-visible {
  outline: 3px solid rgba(11, 116, 216, 0.24); outline-offset: 2px;
}
.adv-modal button:disabled { cursor: not-allowed; opacity: 0.45; }

.adv-hotel__layout {
  min-width: 0; display: grid; grid-template-columns: minmax(390px, 0.92fr) minmax(0, 1.35fr);
  gap: 14px; align-items: start;
}
.adv-hotel__conditions, .adv-hotel__result-column {
  min-width: 0; border: 1px solid var(--line, #dbe6f1); border-radius: 14px; background: #fff;
  box-shadow: 0 8px 24px rgba(30, 63, 101, 0.05);
}
.adv-hotel__conditions { padding: 14px; }
.adv-hotel__result-column { overflow: clip; }
.adv-hotel__form { min-width: 0; }

.adv-form-errors {
  margin-bottom: 12px; padding: 10px 12px; border: 1px solid #efbfc5; border-radius: 10px;
  background: var(--red-soft, #fff3f4); color: #a23d47; font-size: 13px; font-weight: 700;
}
.adv-form-errors[hidden] { display: none; }
.adv-form-errors__list { margin: 0; padding-left: 20px; }
.adv-form-errors__item + .adv-form-errors__item { margin-top: 4px; }

.adv-mode {
  display: inline-flex; max-width: 100%; gap: 4px; margin-bottom: 14px; padding: 4px;
  border: 1px solid #d8e4ef; border-radius: 11px; background: #f5f9fd;
}
.adv-mode__button {
  min-height: 36px; padding: 7px 14px; border: 0; border-radius: 8px; background: transparent;
  color: #48617c; font-weight: 850; cursor: pointer;
}
.adv-mode__button--active { background: var(--blue, #0b74d8); color: #fff; box-shadow: 0 5px 12px rgba(11,116,216,.18); }

.adv-hotel__search-only, .adv-hotel__name-only, .adv-hotel__filters { min-width: 0; }
.adv-hotel__search-only[hidden], .adv-hotel__name-only[hidden], .adv-hotel__filters[hidden], .adv-form-grid[hidden] { display: none; }
.adv-field { min-width: 0; display: block; }
.adv-field--full { width: 100%; }
.adv-field__label { display: block; margin: 0 0 5px; color: #5b7089; font-size: 11px; font-weight: 850; }
.adv-input, .adv-select {
  width: 100%; min-width: 0; height: 39px; padding: 7px 9px; border: 1px solid #d4e0eb;
  border-radius: 9px; background: #fbfdff; color: #243953; font-size: 13px; font-weight: 700;
}
.adv-input::placeholder { color: #9aa8b8; font-weight: 500; }
.adv-input:focus, .adv-select:focus { border-color: #77b4ec; background: #fff; }

.adv-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.adv-quick__button {
  min-height: 30px; padding: 4px 10px; border: 1px solid #cfddeb; border-radius: 999px;
  background: #fff; color: #3d6082; font-size: 12px; font-weight: 800; cursor: pointer;
}
.adv-quick__button:hover, .adv-quick__button--active { border-color: #87b9e7; background: var(--blue-soft, #eaf4ff); color: #155d9f; }

.adv-form-grid { display: grid; gap: 8px; margin-top: 12px; }
.adv-form-grid--dates { grid-template-columns: minmax(0,1fr) minmax(0,1fr) 86px; }
.adv-form-grid--price { grid-template-columns: minmax(0,1fr) minmax(0,1fr) 105px; margin-top: 12px; }
.adv-nights {
  min-height: 39px; display: flex; align-items: center; padding: 7px 9px; border: 1px solid #d4e0eb;
  border-radius: 9px; background: #f2f7fb; color: #315674; font-size: 13px; font-weight: 900;
}
.adv-subtitle { margin: 14px 0 8px; color: #304b67; font-size: 13px; font-weight: 900; }

.adv-guests { position: relative; min-width: 0; }
.adv-guests__summary {
  width: 100%; min-height: 42px; display: flex; align-items: center; justify-content: space-between;
  padding: 8px 11px; border: 1px solid #d4e0eb; border-radius: 10px; background: #fff;
  color: #213b56; font-size: 13px; font-weight: 850; text-align: left; cursor: pointer;
}
.adv-guests__summary::after { content: "▾"; color: #6e8298; transition: transform .15s ease; }
.adv-guests--open .adv-guests__summary::after { transform: rotate(180deg); }
.adv-guests__panel {
  margin-top: 7px; overflow: hidden; border: 1px solid #d6e1eb; border-radius: 12px;
  background: #fff; box-shadow: 0 12px 28px rgba(25,58,92,.12);
}
.adv-guests__panel[hidden] { display: none; }
.adv-guests__rooms { max-height: 360px; overflow: auto; padding: 10px; }
.adv-guests__footer { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-top: 1px solid #e3eaf1; background: #f9fbfd; }
.adv-guests__add { flex: none; }
.adv-guests__limit { min-width: 0; color: #9a5a06; font-size: 11px; font-weight: 700; }

.adv-room { padding: 10px; border: 1px solid #e0e8f0; border-radius: 11px; background: #fbfdff; }
.adv-room + .adv-room { margin-top: 9px; }
.adv-room__heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.adv-room__title { color: #1f3f5d; font-size: 13px; font-weight: 900; }
.adv-room__remove { padding: 3px 7px; border: 0; background: transparent; color: #b14854; font-size: 11px; font-weight: 800; cursor: pointer; }
.adv-room__row { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 5px 0; }
.adv-room__row + .adv-room__row { border-top: 1px dashed #e2e9f0; }
.adv-room__label { color: #4a6078; font-size: 12px; font-weight: 800; }
.adv-stepper { display: inline-flex; align-items: center; gap: 5px; }
.adv-stepper__button {
  width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 1px solid #86c7a9;
  border-radius: 8px; background: #fff; color: #0b9d61; font-size: 19px; font-weight: 700; line-height: 1; cursor: pointer;
}
.adv-stepper__button:hover:not(:disabled) { background: #edf9f4; }
.adv-stepper__value { min-width: 26px; color: #263c53; font-size: 13px; font-weight: 900; text-align: center; }
.adv-room__ages { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin-top: 7px; }
.adv-room__age-label { display: block; margin-bottom: 3px; color: #6b7c91; font-size: 10px; font-weight: 800; }
.adv-room__age {
  width: 100%; height: 35px; padding: 5px 7px; border: 1px solid #d5e0eb; border-radius: 8px;
  background: #fff; color: #2d4057; font-size: 12px;
}

.adv-filter-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.adv-filter {
  min-width: 0; display: flex; align-items: flex-start; gap: 7px; padding: 8px 9px; border: 1px solid #dde6ee;
  border-radius: 9px; background: #fbfdff; color: #3e566f; font-size: 12px; font-weight: 750; cursor: pointer;
}
.adv-filter:hover { border-color: #bfd5e8; background: #f7fbff; }
.adv-filter input { flex: none; margin: 2px 0 0; accent-color: var(--blue, #0b74d8); }

.adv-results-head { min-height: 51px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 13px; border-bottom: 1px solid #e2e9f0; background: #fbfdff; }
.adv-results-head__title { margin: 0; color: #1d3b58; font-size: 15px; font-weight: 900; }
.adv-results-head__meta { color: #6c8095; font-size: 12px; font-weight: 800; }
.adv-result-messages { padding: 10px 11px 0; }
.adv-result-list { min-width: 0; padding: 10px 11px 13px; }
.adv-status { display: flex; align-items: flex-start; gap: 7px; margin-bottom: 6px; padding: 7px 9px; border: 1px solid #dfe7ef; border-radius: 9px; font-size: 12px; line-height: 1.5; }
.adv-status--ok { border-color: #b9decf; background: #edf8f3; color: #157a56; }
.adv-status--warn { border-color: #f0d58a; background: #fff7e0; color: #8a5a00; }
.adv-status--bad { border-color: #f0cdd1; background: #fff3f4; color: #a23d47; }
.adv-note { margin-bottom: 6px; padding: 7px 9px; border: 1px solid #dce6f0; border-radius: 9px; background: #f5f9fd; color: #465c73; font-size: 12px; line-height: 1.55; }
.adv-not-applied { margin-bottom: 6px; padding: 8px 10px; border: 1px solid #f0c86f; border-radius: 9px; background: #fff7df; color: #8b5700; font-size: 12px; font-weight: 850; line-height: 1.55; }
.adv-result + .adv-result { margin-top: 9px; }
.adv-result__identity { min-width: 0; }
.adv-result__title { overflow-wrap: anywhere; }
.adv-result__source { display: inline-block; margin-top: 4px; padding: 2px 7px; border: 1px solid #d5e4f1; border-radius: 999px; background: #f2f7fc; color: #53708d; font-size: 10px; font-weight: 850; }
.adv-result__meta-row { display: grid; grid-template-columns: 66px minmax(0,1fr); gap: 7px; margin-top: 3px; line-height: 1.55; }
.adv-result__key { color: #8494a7; font-size: 11px; }
.adv-result__value { min-width: 0; overflow-wrap: anywhere; }
.adv-result__flags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.adv-result__link { display: inline-block; margin-top: 7px; color: #1669ad; font-size: 11px; font-weight: 800; text-decoration: none; }
.adv-result__link:hover { text-decoration: underline; }
.adv-result__actions { display: flex; justify-content: flex-end; gap: 7px; margin-top: 9px; padding-top: 9px; border-top: 1px dashed #e0e8f0; }
.adv-empty { padding: 30px 16px; border: 1.5px dashed #cfdae5; border-radius: 11px; background: #fbfdff; color: #8292a4; font-size: 13px; text-align: center; }

.adv-footer-status { min-width: 0; margin-right: auto; color: #6a7d92; font-size: 11px; font-weight: 750; line-height: 1.4; }
.adv-spinner { display: inline-block; width: 13px; height: 13px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; vertical-align: -2px; animation: adv-spin .7s linear infinite; }
@keyframes adv-spin { to { transform: rotate(360deg); } }

.adv-room-error { margin-bottom: 7px; padding: 8px 10px; border: 1px solid #f0cdd1; border-radius: 9px; background: #fff3f4; color: #a23d47; font-size: 12px; font-weight: 850; }
.adv-rooms-panel__head { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.adv-rooms-panel__title { margin: 0; color: #233f5b; font-size: 15px; font-weight: 900; }
.adv-room-summary { position: sticky; top: 0; z-index: 5; box-shadow: 0 4px 10px rgba(20,50,80,.12); margin-bottom: 10px; padding: 10px; border: 1px solid #d7e5f1; border-radius: 11px; background: #f7fbff; }
.adv-room-summary__hotel { margin-bottom: 8px; color: #203e5a; font-size: 14px; font-weight: 900; }
.adv-room-summary__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.adv-room-summary__metric { padding: 7px 9px; border: 1px solid #dfe7ef; border-radius: 8px; background: #fff; }
.adv-room-summary__metric span, .adv-room-summary__metric strong { display: block; }
.adv-room-summary__metric span { margin-bottom: 2px; color: #71849a; font-size: 10px; font-weight: 800; }
.adv-room-summary__metric strong { color: #165f9c; font-family: Consolas, "Cascadia Code", monospace; font-size: 14px; }
.adv-room-state { margin-top: 8px; padding: 7px 9px; border-radius: 8px; font-size: 12px; font-weight: 900; }
.adv-room-state--ok { background: var(--green-soft, #eaf7f0); color: var(--green, #16875f); }
.adv-room-summary__metric--ok { border-color: #8fd0b0; background: #f0faf5; }
.adv-room-summary__metric--bad { border-color: #e7a2a9; background: #fff3f4; }
.adv-room-checks { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; padding: 7px; border: 2px solid #8fc8f2; border-radius: 9px; background: #f0f8ff; }
.adv-room-check { padding: 3px 7px; border-radius: 6px; font-size: 12px; font-weight: 800; }
.adv-room-check--ok { background: #eaf7f0; color: #16875f; }
.adv-room-check--warn { background: #fff6e0; color: #9a6400; }
.adv-room-check--bad { background: #ffe3e6; color: #b1414d; }
.adv-room-state--bad { background: var(--red-soft, #fff3f4); color: #b1414d; }
.adv-room-types { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.adv-room-type { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) 158px; gap: 12px; align-items: start; padding: 11px; border: 1px solid #dce5ee; border-radius: 11px; background: #fff; }
.adv-room-type__name-row { display: flex; align-items: flex-start; gap: 6px; flex-wrap: wrap; margin-bottom: 5px; }
.adv-room-type__name { margin: 0; color: #1c3b58; font-size: 13px; font-weight: 900; overflow-wrap: anywhere; flex: 1 1 0; min-width: 0; }
.adv-room-cap-badge { flex-shrink: 0; align-self: center; background: #e8f0fb; color: #2057a7; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 20px; white-space: nowrap; }
.adv-room-type__control { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.adv-room-type__price { color: #0c6bc3; font-family: Consolas, "Cascadia Code", monospace; font-size: 15px; font-weight: 900; white-space: nowrap; }
.adv-room-plan { margin: 4px 0 6px; padding: 6px 8px; border-left: 3px solid #8fc8f2; background: #f5faff; border-radius: 4px; }
.adv-room-plan__title { color: #24496b; font-size: 12px; font-weight: 800; overflow-wrap: anywhere; }
.adv-room-plan__desc { margin-top: 3px; color: #5a6f84; font-size: 11px; overflow-wrap: anywhere; }
.adv-room-actions { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.adv-room-link { color: #1a6fc4; font-size: 12px; font-weight: 700; }
.adv-room-detail { margin-top: 8px; padding: 8px 10px; border: 1px dashed #9cc3e6; border-radius: 8px; background: #fbfdff; font-size: 12px; color: #2c4660; }
.adv-room-detail[hidden] { display: none; }
.adv-room-detail__line { margin-bottom: 4px; overflow-wrap: anywhere; }
.adv-room-detail__line strong { display: inline-block; min-width: 96px; color: #1c3b58; }
.adv-rooms-panel__adopt { width: 100%; margin-top: 11px; }

@media (max-width: 1279px) {
  .adv-modal__panel { width: min(920px, calc(100vw - 28px)); }
  .adv-hotel__layout { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 767px) {
  .adv-modal { align-items: stretch; padding: 8px; }
  .adv-modal__panel { width: calc(100vw - 16px); height: calc(100vh - 16px); max-height: calc(100vh - 16px); border-radius: 12px; }
  .adv-modal__header { min-height: 54px; padding: 9px 11px; }
  .adv-modal__title { font-size: 16px; }
  .adv-modal__body { padding: 9px; }
  .adv-modal__footer { flex-wrap: wrap; min-height: 58px; padding: 8px 10px; }
  .adv-footer-status { width: 100%; order: -1; }
  .adv-hotel__conditions { padding: 10px; }
  .adv-form-grid--dates, .adv-form-grid--price, .adv-filter-grid, .adv-room__ages, .adv-room-summary__grid { grid-template-columns: minmax(0,1fr); }
  .adv-room-type { grid-template-columns: minmax(0,1fr); }
  .adv-room-type__control { align-items: stretch; padding-top: 8px; border-top: 1px dashed #e1e8ef; }
}
@media (max-width: 430px) {
  .adv-modal { padding: 4px; }
  .adv-modal__panel { width: calc(100vw - 8px); height: calc(100vh - 8px); max-height: calc(100vh - 8px); }
  .adv-modal__header { padding: 8px 9px; }
  .adv-modal__body { padding: 7px; }
  .adv-modal__footer { gap: 6px; padding: 7px 8px; }
  .adv-search-button, .adv-force-button, .adv-close-button { flex: 1 1 auto; min-width: 0; padding-left: 8px; padding-right: 8px; }
  .adv-mode { width: 100%; }
  .adv-mode__button { flex: 1 1 50%; min-width: 0; }
  .adv-guests__footer { align-items: flex-start; flex-direction: column; }
  .adv-guests__add { width: 100%; }
  .adv-result__meta-row { grid-template-columns: 60px minmax(0,1fr); }
}

.adv-loading { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; padding: 9px 11px; border: 1px solid #cfe0f1; border-radius: 9px; background: #eef6ff; color: #1d5a94; font-size: 12px; font-weight: 800; }
.adv-spinner--dark { border-color: rgba(21, 93, 159, .25); border-top-color: #155d9f; }
.adv-result--picked { border-color: #6fc3a0; background: #f3fbf7; }

/* ---- flight pop-up additions (v3.0) ---- */
.adv-route { display: grid; grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr); gap: 6px; align-items: end; margin-top: 12px; }
.adv-swap { height: 39px; border: 1px solid #cfdbe8; border-radius: 9px; background: #f5f9fd; color: #36597c; font-size: 16px; cursor: pointer; }
.adv-combo { position: relative; min-width: 0; }
.adv-combo__list { position: absolute; z-index: 6; left: 0; right: 0; top: 100%; margin-top: 4px; max-height: 260px; overflow: auto; background: #fff; border: 1px solid #cfdbe8; border-radius: 10px; box-shadow: 0 12px 28px rgba(25, 58, 92, .16); }
.adv-combo__list[hidden] { display: none; }
.adv-combo__option { width: 100%; display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border: 0; border-bottom: 1px solid #eef2f6; background: #fff; text-align: left; font-size: 12px; cursor: pointer; }
.adv-combo__option span { color: #7a8b9d; white-space: nowrap; }
.adv-combo__option:hover { background: #eef6ff; }
.adv-lock { margin-top: 10px; padding: 9px 10px; border: 1px solid #dde6ee; border-radius: 9px; background: #fbfdff; }
.adv-lock__chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.adv-chip { padding: 2px 8px; border: 1px solid #cfe0f1; border-radius: 999px; background: #f2f8ff; color: #2c5d8b; font-size: 11px; font-weight: 800; }
.adv-chip--pick { cursor: pointer; font-family: inherit; opacity: .55; }
.adv-chip--pick.is-on { opacity: 1; box-shadow: inset 0 0 0 1px currentColor; }
.adv-lock__all { margin-top: 8px; }
.adv-chip--lcc { border-color: #f0d58a; background: #fff8e4; color: #8a5a00; }
@media (max-width: 767px) { .adv-route { grid-template-columns: minmax(0, 1fr); } .adv-swap { justify-self: center; width: 60px; } }
.adv-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }

/* 機票＋飯店 一起查 */
.adv-modal__panel.adv-combo2 { width: min(1180px, 96vw); }
.adv-combo2__layout { display: grid; grid-template-columns: minmax(360px, .8fr) minmax(0, 1.4fr); gap: 14px; align-items: start; }
.adv-combo2__results { display: grid; gap: 12px; min-width: 0; }
.adv-combo2__pane { border: 1px solid var(--line, #dbe6f1); border-radius: 14px; background: #fff; padding: 12px 14px; min-width: 0; }
.adv-combo2__pane[hidden] { display: none; }
.adv-combo2__picks { display: flex; gap: 16px; margin-bottom: 10px; font-weight: 800; }
.adv-combo2__check { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.adv-combo2__hint { color: #7a8b9d; font-size: 11px; margin: 8px 0; }
.adv-combo2__go { width: 100%; margin-top: 8px; }
.adv-combo2__status { font-size: 12px; color: #53708d; margin: 4px 0 8px; }
.adv-combo2__status--busy { color: #b26a00; }
.adv-combo2__status--bad { color: #c0392b; font-weight: 800; }
.adv-combo2__row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #eef2f6; font-size: 13px; }
.adv-combo2__sub { color: #7a8b9d; font-size: 11px; margin-top: 2px; }
.adv-combo2__price { font-weight: 900; color: #155d9f; white-space: nowrap; }
.adv-combo2__note { color: #7a6a3a; font-size: 11px; margin-top: 6px; }
.adv-combo2__actions { margin-top: 8px; }
@media (max-width: 860px) { .adv-combo2__layout { grid-template-columns: minmax(0, 1fr); } }

/* OTA 來源勾選 */
.adv-sources { margin: 8px 0 10px; }
.adv-sources__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; align-items: center; }
.adv-sources__chip { display: inline-flex; align-items: center; gap: 3px; padding: 4px 10px; border: 1px solid #cfdbe8; border-radius: 999px; background: #f6f9fd; font-size: 12px; font-weight: 800; color: #355577; cursor: pointer; }
.adv-sources__chip:has(input:checked) { border-color: #87b9e7; background: #eaf4ff; color: #155d9f; }
.adv-sources__all { border: 0; background: none; color: #155d9f; font-size: 11px; font-weight: 800; cursor: pointer; text-decoration: underline; }
.adv-sources__note { color: #c0392b; font-size: 11px; min-height: 0; }
.adv-sources[hidden] { display: none; }
