/* Единая тема tours: графит + золото, Manrope (как /tury.html и главная). 01.11.2026.
   Подключается ПОСЛЕДНИМ на всех страницах tours. Цвета берутся из токенов ниже. */
:root{--t-bg:#131619;--t-bg2:#181c20;--t-panel:#1d2227;--t-panel2:#262c32;--t-line:#2f363d;--t-line2:#414951;--t-fg:#f2f4f7;--t-fg2:#c9d0d8;--t-muted:#9aa5b0;--t-gold:#f7c95d;--t-champ:#e3c27a;--t-ink:#1a1405;--t-ok:#6fcf97;--t-bad:#ff8a8a;--t-font:"Manrope",system-ui,sans-serif}
html,body,button,input,select,textarea{font-family:var(--t-font)}
body{background:var(--t-bg);color:var(--t-fg2);-webkit-font-smoothing:antialiased}
.meal-code{font-weight:800;letter-spacing:.04em;border-bottom:1px dotted currentColor;cursor:help}
/* Вкладки результатов: чипы как на /tury.html */
.tour-category-tabs{display:flex;flex-wrap:wrap;gap:8px}
.tour-category-tabs button{height:40px;padding:0 16px;border-radius:999px;border:1px solid var(--t-line2);background:transparent;color:var(--t-fg2);font-weight:700;white-space:nowrap}
.tour-category-tabs button:hover:not(:disabled){border-color:var(--t-champ);background:transparent}
.tour-category-tabs button.active,.tour-category-tabs button.active:hover:not(:disabled){background:var(--t-champ);color:var(--t-ink);border-color:var(--t-champ)}
@media(max-width:860px){.tour-category-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:6px}.tour-category-tabs button{flex:none}}
.category-note{text-align:left}
.category-note p{margin:0 0 6px;color:var(--t-fg2)}
/* Загрузка страницы отеля */
.hc-loading{max-width:none;margin:8px 0 30px;padding:0}
.hc-crumb-loading{margin-bottom:28px}
.hc-loading-head{display:flex;align-items:center;gap:12px;font-size:18px;color:var(--t-fg)}
.hc-loading-title{margin:18px 0 6px;font-size:28px;color:var(--t-fg)}
.hc-loading-sub{margin:0 0 18px;color:var(--t-muted);font-size:14px}
.hc-spinner{width:22px;height:22px;border-radius:50%;border:3px solid var(--t-line2);border-top-color:var(--t-gold);animation:hcspin .9s linear infinite;flex:none}
.hc-skeleton{display:grid;gap:14px;margin:20px 0 26px}
.hc-sk{border-radius:12px;background:linear-gradient(90deg,var(--t-panel) 0,var(--t-panel2) 50%,var(--t-panel) 100%);background-size:200% 100%;animation:hcsk 1.4s ease-in-out infinite}
.hc-sk-photo{height:220px}.hc-sk-line{height:18px;border-radius:9px}.hc-sk-line.w60{width:60%}.hc-sk-line.w40{width:40%}.hc-sk-block{height:72px}
@keyframes hcspin{to{transform:rotate(360deg)}}@keyframes hcsk{0%{background-position:200% 0}100%{background-position:-200% 0}}
@media(prefers-reduced-motion:reduce){.hc-spinner,.hc-sk{animation:none}}
.hc-error-title{font-size:20px;font-weight:800;color:var(--t-fg)}
.hc-retry{background:var(--t-gold);color:var(--t-ink);border:1px solid var(--t-gold);border-radius:999px;padding:11px 24px;font-weight:800;margin:6px 12px 6px 0}
.hc-retry:hover{background:var(--t-champ)!important;border-color:var(--t-champ)!important;color:var(--t-ink)!important}
/* Подборка/избранное (стили в hotel-navigation.js) */
body .pt-count{border-color:var(--t-line2);color:var(--t-fg2)}
body .pt-count:hover,body .pt-count[aria-expanded=true]{border-color:var(--t-champ);color:var(--t-fg);background:var(--t-panel2)}
body .pt-count b{color:var(--t-gold)}
body .pt-next{border-color:var(--t-champ);background:var(--t-panel2);color:var(--t-gold)}
body .pt-next:hover{background:var(--t-line)}
body .saved-panel,body dialog.inline-dialog{border-color:var(--t-line2);background:var(--t-panel)}
/* Таблица «Все цены на одном экране»: тёмные ячейки вместо светло-зелёных */
.hc-dot{background:var(--t-ok)}.hc-dot.few{background:var(--t-gold)}.hc-dot.none{background:#e8616b}
.hc-room-offers td.hc-price-cell{background:var(--t-panel2);color:var(--t-fg2)}
.hc-price-offer strong,.hc-price-cell.best .hc-price-offer:first-child strong{color:var(--t-fg)}
.hc-price-cell.best .hc-price-offer:first-child strong{color:var(--t-gold)}
.hc-price-offer small{color:var(--t-muted)}
.hc-price-offer+.hc-price-offer{border-top-color:var(--t-line2)}
.hc-price-cell.best{box-shadow:inset 0 0 0 2px var(--t-champ)}
.hc-select-price{color:var(--t-gold)}
.hc-select-price.best,.hc-select-price[aria-pressed=true].best{background:var(--t-gold);color:var(--t-ink)}
.hc-select-price[aria-pressed=true]{color:var(--t-gold)}
.hc-price-controls button{background:var(--t-panel);color:var(--t-fg);border-color:var(--t-line2)}
.hc-price-position{color:var(--t-muted)}
.hc-room-min{color:var(--t-gold)}
/* Таблица на телефоне: без поломки слов, прокрутка внутри таблицы */
.hc-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
@media(max-width:760px){
 .hc-table-scroll table.hc-table,.hc-table-scroll table{min-width:640px;table-layout:auto}
 .hc-table th,.hc-table-scroll th{min-width:140px;white-space:nowrap;word-break:normal;overflow-wrap:normal}
 .hc-category-operators th:first-child,.hc-room-offers td:first-child{width:170px;min-width:150px;white-space:normal}
 .hc-room-min{white-space:nowrap;font-size:17px;gap:12px}
 .hc-price-offer strong{white-space:nowrap}
 .hc-room-head td .hc-room-toggle{position:sticky;left:0;width:calc(100vw - 34px);max-width:100%;min-height:80px;padding:18px 16px}
}
.hc-retry{display:block}.hc-error .hc-retry+a{display:inline-block;margin-top:8px}

.bottom-currency button .cur-text{font:700 11px/1 var(--f-b,Manrope,system-ui,sans-serif);letter-spacing:0;white-space:nowrap}.bottom-currency button:has(.cur-text){width:auto;min-width:34px;padding:4px 5px}
@media(max-width:480px){.search-bottom .bottom-currency{grid-column:1/-1;border:0;padding:0}.search-bottom .bottom-currency .choices{gap:12px}.search-bottom .bottom-beach{grid-column:1/-1;justify-content:center}}

/* подсказка о валюте при первом заходе (currency.js) */
.cur-hint{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:0 0 10px;padding:8px 12px;border:1px solid var(--line,#30363c);border-radius:10px;background:var(--panel,rgba(255,255,255,.04));color:inherit;font-size:14px}
.cur-hint span{flex:1 1 auto}
.cur-hint button{min-height:32px;padding:4px 14px;border-radius:8px;border:1px solid currentColor;background:transparent;color:inherit;font:inherit;cursor:pointer}
.cur-hint button:first-of-type{font-weight:700}
@media(max-width:480px){.cur-hint span{flex:1 1 100%}}
/* 05.11.2026: слайдер отеля стандартного размера фото (3:2), заглушка без фото компактна */
.hc-slider:not(.hc-slider-room){max-width:520px;margin:24px auto 32px}
.hc-slider:not(.hc-slider-room) .hc-slider-stage{height:auto;aspect-ratio:3/2}
.hc-gallery.hc-gallery-compact{height:auto;min-height:0;margin:0 0 20px;padding:14px 0;display:block;background:transparent;border:0;border-radius:0}
.hc-gallery.hc-gallery-compact .hc-gallery-empty{display:block;color:var(--t-muted)}
.hc-slider-skeleton .hc-slider-stage{pointer-events:none}
.hc-slider-skeleton .hc-slider-thumbs span{flex:0 0 94px;height:62px;border-radius:8px}
@media(max-width:760px){.hc-slider-skeleton .hc-slider-thumbs span{flex-basis:66px;height:46px}}
/* 05.11.2026: счётчик секунд в прозрачном круге по центру серого блока-заглушки (без спиннера) */
.hc-sk-photo{position:relative}
.hc-wait-circle{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:170px;height:170px;border-radius:50%;box-sizing:border-box;border:2px solid rgba(255,255,255,.38);background:rgba(255,255,255,.04);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;text-align:center;pointer-events:none;color:var(--t-fg)}
.hc-wait-circle .hc-wait-timer{font-size:64px;font-weight:700;line-height:1;color:var(--t-gold)}
.hc-wait-circle span{font-size:20px;line-height:1.2}
@media(max-width:760px){.hc-wait-circle{width:140px;height:140px}.hc-wait-circle .hc-wait-timer{font-size:52px}.hc-wait-circle span{font-size:18px}}
/* 05.11.2026 timer8: жёлтая дуга вращается по окружности рамки вокруг цифры */
.hc-wait-circle::before{content:"";position:absolute;inset:-2px;border-radius:50%;pointer-events:none;background:conic-gradient(from 0deg,rgba(233,200,143,0) 0deg,rgba(233,200,143,0) 215deg,var(--t-gold) 360deg);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 5px),#000 calc(100% - 4px));mask:radial-gradient(farthest-side,transparent calc(100% - 5px),#000 calc(100% - 4px));animation:hcspin 1.1s linear infinite}
@media(prefers-reduced-motion:reduce){.hc-wait-circle::before{animation:none}}
/* timer9: без «волны» и дёрганья */
.hc-loading .hc-sk{animation:none;background:var(--t-panel);background-size:auto}
.hc-wait-circle{-webkit-backdrop-filter:none;backdrop-filter:none}
.hc-wait-circle::before{will-change:transform;backface-visibility:hidden}
.hc-wait-circle .hc-wait-timer{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1;min-width:3ch;text-align:center}
body.hotel-detail-mode:not(:has(.kaz-language-topbar))::before{content:"";display:block;min-height:48px;background:var(--bg,#171b20)}
#hotelPage:has(.hc-loading) .hc-brandbar *,#hotelPage:has(.hc-loading) .hc-brandbar *::before,#hotelPage:has(.hc-loading) .hc-brandbar *::after{animation:none!important;transition:none!important}
#hotelPage:has(.hc-loading) .hc-brandbar .hc-logo{display:block;width:104px;height:61px;overflow:hidden;box-sizing:border-box}
@media(max-width:760px){#hotelPage:has(.hc-loading) .hc-brandbar .hc-logo{width:84px;height:50px}}
.hc-loading .hc-wait-circle,.hc-loading .hc-wait-circle *{transition:none}

/* 05.11.2026 ТЗ-45 v2: заглушки фото отеля и номера */
.hc-room-ph{margin:0}
.hc-room-ph img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:12px}
.hc-slider-ph .hc-slider-stage{pointer-events:none}
.tour-photo img.kh-ph-img{object-fit:cover}
