/* Дальнее озеро (update/21_GARAGE.md): страница поездки — машина, таймер, событие на дороге, «Козлик» */
.tp.far { position: relative; }
.tp.far > * { position: relative; z-index: 1; }

.far-car { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.far-car-art { position: relative; width: 156px; height: 124px; flex: none; }
.far-car-art .glow {
  position: absolute; inset: 8% 4%; border-radius: 50%; opacity: .5;
  background: radial-gradient(closest-side, var(--rc), transparent);
}
.far-car-art img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45)); }
.far-car-art img.gold { filter: sepia(.5) saturate(1.6) hue-rotate(-8deg) brightness(1.08) drop-shadow(0 0 14px rgba(255, 216, 107, .55)); }
.far-car-tx { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.far-car-tx b.tm-x { font-size: 30px; line-height: 1; color: #F6F3EC; }
.far-car-tx span { font-size: 14px; color: rgba(246, 243, 236, .75); }
.far-car-tx span b { color: var(--rc); }

.far-clock { text-align: center; margin: 4px 0 6px; }
.far-clock b { display: block; font-size: 58px; line-height: 1.05; color: #F3D28B; text-shadow: 0 0 24px rgba(243, 210, 139, .35); }
.far-clock small { font-size: 14px; color: rgba(246, 243, 236, .7); }

.far-ev {
  position: relative; height: 210px; margin-top: 8px; border-radius: 22px; overflow: hidden;
  background-size: cover; background-position: center 30%; box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}
.far-ev::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0, 0, 0, .65)); }
.far-ev span { position: absolute; z-index: 1; left: 16px; bottom: 10px; font-size: 40px; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .7); }
.far-ev.stuck span { color: #F29A8E; }

.far-gift { display: flex; gap: 12px; align-items: center; margin-top: 12px; padding: 14px 16px; border-radius: 18px; }
.far-gift > svg, .far-gift > .icon { width: 30px; height: 30px; flex: none; color: #F3D28B; }
.far-gift b { display: block; font-size: 20px; color: #F6F3EC; }
.far-gift small { color: rgba(246, 243, 236, .7); }

/* плитка в «Рыбалке» */
.tm-place.far .tk { color: #F3D28B; }
.tm-place.far.parked .mt { color: #A9E4D0; }
.tm-place.far.road .mt, .tm-place.far.stuck .mt { color: #F3D28B; }
.far-car-tx .far-tune { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: #A9E4D0; }
.far-car-tx .far-tune svg { width: 14px; height: 14px; }

/* «Почему туда едут» (30_POLISH.md): таёжная цена, шансы, находки */
.far-why { display: grid; gap: 10px; margin-top: 10px; padding: 14px; border-radius: 20px;
  background: linear-gradient(160deg, rgba(243, 210, 139, .14), rgba(8, 18, 20, .72) 62%); border: 1px solid rgba(243, 210, 139, .32); }
.far-why-r { display: flex; gap: 12px; align-items: flex-start; }
.far-why-r .ic { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 11px;
  background: rgba(169, 228, 208, .12); color: #A9E4D0; }
.far-why-r .ic.gold { background: rgba(243, 210, 139, .16); color: #F3D28B; }
.far-why-r .ic svg { width: 19px; height: 19px; }
.far-why-r .tx { display: flex; flex-direction: column; min-width: 0; }
.far-why-r .tx b { font-size: 19px; line-height: 1.1; color: #F6F3EC; }
.far-why-r .tx small { font-size: 13px; line-height: 1.3; color: rgba(246, 243, 236, .72); margin-top: 2px; }
.far-car-tx .far-type { font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: var(--rc); }
/* прогноз дороги: как часто машина вязнет */
.far-road { display: flex; gap: 8px; align-items: center; margin-top: 10px; padding: 10px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.3;
  color: rgba(246, 243, 236, .86); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.far-road svg { width: 18px; height: 18px; flex: none; }
.far-road b { color: #F6F3EC; }
.far-road.bad { border-color: rgba(227, 106, 86, .45); background: rgba(227, 106, 86, .1); }
.far-road.bad svg, .far-road.bad b { color: #F29A8E; }
.far-road.mid svg, .far-road.mid b { color: #F3D28B; }
.far-road.ok svg, .far-road.ok b { color: #A9E4D0; }
/* препятствие N из 2 */
.far-steps { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 13px; font-weight: 700;
  color: rgba(246, 243, 236, .78); }
.far-steps .d { display: inline-flex; gap: 6px; }
.far-steps .d i { width: 26px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .16); }
.far-steps .d i.done { background: #A9E4D0; }
.far-steps .d i.cur { background: #F3D28B; box-shadow: 0 0 8px rgba(243, 210, 139, .6); }
/* на стоянке: что даёт озеро — одной строкой */
.far-perk { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 10px; font-size: 14px; color: rgba(246, 243, 236, .82); }
.far-perk svg { width: 17px; height: 17px; color: #F3D28B; }
.far-perk b { color: #F3D28B; }
.far-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* Уголки места (58_SUBPLACES.md, владелец 21.10): ящик под карточкой своего места — выдвигается из-под неё (отступ 14 px —
   у скругления карточки щели нет), свёрнут — строка с кружками-фото; раскрыт — открытки по две в ряд. Без backdrop-filter. */
.tm-places .nv-cn { margin: -9px 14px 0; padding: 1px 0 0; border-radius: 0 0 18px 18px; background: rgba(6, 18, 22, .46);
  border: 1px solid rgba(255, 255, 255, .1); border-top: 0; box-shadow: inset 0 10px 14px -10px rgba(0, 0, 0, .55); }
.tm-home.intro .nv-cn { animation: tmRowIn .55s cubic-bezier(.2, .8, .2, 1) both; }
.nv-cn-hd { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) 22px; align-items: center; gap: 10px;
  padding: 9px 12px 10px; background: none; border: 0; color: inherit; text-align: left; cursor: pointer; }
.nv-cn-hd:active { opacity: .7; }
.nv-cn-th { display: flex; padding-left: 2px; }
.nv-cn-th i { width: 30px; height: 30px; border-radius: 50%; background-size: cover; background-position: center;
  border: 2px solid rgba(12, 26, 30, .95); box-shadow: 0 0 0 1px rgba(243, 210, 139, .35); }
.nv-cn-th i + i { margin-left: -10px; }
.nv-cn-tx { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.nv-cn-tx b { font-size: 18px; line-height: 1.05; color: #F6F3EC; }
.nv-cn-tx small { font-size: 12.5px; font-weight: 600; line-height: 1.25; color: rgba(246, 243, 236, .62); }
.nv-cn.trip .nv-cn-tx small { color: #A9E4D0; }
.nv-cn-ch { display: grid; place-items: center; color: #F3D28B; }
.nv-cn-ch svg { width: 18px; height: 18px; transform: rotate(90deg); transition: transform .25s var(--ease); }
.nv-cn.open .nv-cn-ch svg { transform: rotate(-90deg); }
.nv-cn-grid { display: none; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; padding: 0 8px 8px; }
.nv-cn.open .nv-cn-grid { display: grid; }
/* открытка: фото сверху, значок лодки или машины на нём, таймер погоды — в углу фото */
.nv-cn-c { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: 14px; overflow: hidden; cursor: pointer;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); transition: transform .2s var(--ease); }
.nv-cn.anim .nv-cn-c { animation: cnIn .32s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--k, 0) * 50ms); }
@keyframes cnIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nv-cn-c:active { transform: scale(.97); }
.nv-cn-c .ph { position: relative; height: 84px; background-size: cover; background-position: center; filter: saturate(.85); }
.nv-cn-c .vi { position: absolute; left: 7px; top: 7px; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center;
  background: rgba(8, 20, 24, .72); color: #F3D28B; }
.nv-cn-c .vi svg { width: 17px; height: 17px; }
.nv-cn-c .nv-left { right: 6px; bottom: 6px; padding: 3px 6px; font-size: 11px; border-radius: 8px; }
.nv-cn-c .tx { display: flex; flex-direction: column; gap: 3px; padding: 8px 10px 10px; min-width: 0; }
.nv-cn-c .nm { font-size: 19px; line-height: 1; overflow-wrap: break-word; text-wrap: balance; }
.nv-cn-c .mt { font-size: 12px; font-weight: 600; line-height: 1.3; color: rgba(246, 243, 236, .7); }
.nv-cn-c .nv-wx { margin-top: 3px; font-size: 12px; }
.nv-cn-c .nv-wx svg { width: 14px; height: 14px; }
.nv-cn-c.parked .mt { color: #A9E4D0; }
.nv-cn-c.road .mt, .nv-cn-c.stuck .mt { color: #F3D28B; }
.nv-cn-c.cur { border-color: var(--accent); background: rgba(255, 255, 255, .13); }
.nv-cn-c.cur .ph { filter: none; }
.nv-cn-c.locked { background: none; border-style: dashed; border-color: rgba(246, 243, 236, .24); }
.nv-cn-c.locked .ph { filter: grayscale(1) brightness(.4); }
.nv-cn-c.locked .vi { color: rgba(246, 243, 236, .5); }
.nv-cn-c .lk { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 5px; color: rgba(246, 243, 236, .78); }
.nv-cn-c .lk svg { width: 18px; height: 18px; }
.nv-cn-c .lk b { font-size: 30px; }
.nv-cn-c.locked .nm { color: rgba(246, 243, 236, .6); }
.nv-cn-c.locked .mt { color: rgba(246, 243, 236, .5); }
@media (prefers-reduced-motion: reduce) { .nv-cn.anim .nv-cn-c { animation: none; } .nv-cn-ch svg { transition: none; } }
/* уголок: на страницах поездки и переправы — только описание места, без заголовка (название уже в шапке) */
.far-why-r.about { align-items: center; }
.far-why-r.about .tx small { margin-top: 0; font-size: 14px; color: rgba(246, 243, 236, .82); }

/* Улов дня и рекорд недели уголка (game/place_board.py, 21.10): строки с местом, ником, рыбой и весом; первые три —
   цветом медали, моя — мятной рамкой. На открытке уголка в «Рыбалке» — первый за сегодня. */
.pb { padding: 12px 12px 10px; border-radius: 20px; display: flex; flex-direction: column; gap: 6px; }
.pb-hd { display: flex; flex-direction: column; gap: 1px; padding: 0 4px; }
.pb-hd.wk { margin-top: 10px; }
.pb-hd b { font-size: 20px; color: #F6F3EC; }
.pb-hd small { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: rgba(246, 243, 236, .62); }
.pb-hd small svg { width: 13px; height: 13px; color: #F3D28B; }
.pb-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.pb-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 10px;
  border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); cursor: pointer; }
.pb-row:active { transform: scale(.985); }
.pb-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 16px;
  color: rgba(246, 243, 236, .75); background: rgba(255, 255, 255, .08); }
.pb-row.p1 .pb-n { color: #2A1C05; background: linear-gradient(135deg, #FFE7A8, #E9B95A); }
.pb-row.p2 .pb-n { color: #1E2427; background: linear-gradient(135deg, #F2F5F6, #B9C3C7); }
.pb-row.p3 .pb-n { color: #2A1608; background: linear-gradient(135deg, #F0BE92, #C27B45); }
.pb-who { display: flex; flex-direction: column; min-width: 0; }
.pb-who b { font-size: 14.5px; color: #F6F3EC; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-who small { font-size: 12px; color: rgba(246, 243, 236, .6); }
.pb-w { font-size: 17px; color: #F3D28B; white-space: nowrap; }
.pb-row.me { border-color: rgba(169, 228, 208, .7); background: rgba(169, 228, 208, .08); }
.pb-me { padding: 2px 6px 0; font-size: 12.5px; color: #A9E4D0; }
.pb-empty { padding: 8px 6px; font-size: 13px; color: rgba(246, 243, 236, .6); }
.nv-cn-c .nv-cn-lead { display: flex; align-items: flex-start; gap: 5px; margin-top: 4px; font-size: 12px; line-height: 1.25;
  color: rgba(246, 243, 236, .78); }
.nv-cn-c .nv-cn-lead svg { flex: none; width: 13px; height: 13px; margin-top: 1px; color: #F3D28B; }
.nv-cn-c .nv-cn-lead b { color: #F3D28B; }
