/* Клуб «Марлин» (update/71_VIP_CLUB.md, этап 1а): дверь в «Гавани» и мир клуба — слой #marlin поверх игры, как #fte и
   #dive: вкладки и страницы под ним спят. Вид — утверждённый макет А «Ночная марина» (update/mockups/club/club_a.css,
   club_a2.css, club_trip.css): тёмно-синий, тёплое золото фонарей, узкий курсив для заголовков и чисел.
   Телефон (update/42_PERFORMANCE.md): без backdrop-filter и mix-blend-mode; анимации — только transform и opacity;
   бесконечных — яхта чуть покачивается у причала, в море — блесны за кормой; закрытый слой не рисуется. */

/* ── дверь клуба в «Гавани» (макеты door_locked.html, door_member.html) ── */
.mr-door { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 18px; padding: 16px;
  border-radius: 22px; overflow: hidden; color: var(--ink); text-decoration: none; cursor: pointer; isolation: isolate; text-align: left; width: 100%;
  background: #0b1418 var(--mr-door-img, none) 55% 30% / 150% auto no-repeat;
  border: 1.5px solid rgba(243, 210, 139, .9);
  box-shadow: 0 0 0 4px rgba(243, 210, 139, .12), 0 16px 36px rgba(0, 0, 0, .45); transition: transform .18s var(--ease); }
.mr-door::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(6, 12, 20, .94) 0%, rgba(6, 12, 20, .8) 50%, rgba(6, 12, 20, .25) 82%, rgba(6, 12, 20, .05) 100%); }
.mr-door:active { transform: scale(.98); }
.mr-door .k { font-size: 13px; font-weight: 600; color: rgba(246, 243, 236, .8); max-width: 70%; }
.mr-door .t { font-size: 42px; line-height: .92; color: #FFF3D6; padding-right: .08em; text-shadow: 0 3px 16px rgba(0, 0, 0, .55); }
.mr-door .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; margin-top: 4px; max-width: 74%; font-size: 13px; font-weight: 600;
  color: rgba(246, 243, 236, .82); line-height: 1.25; }
.mr-door .price .coin { align-self: center; }
.mr-door .price b { font-size: 25px; line-height: 1; color: var(--accent, #F3D28B); }
.mr-door .facts { display: flex; flex-direction: column; gap: 5px; margin-top: 8px; max-width: 78%; }
.mr-door .facts span { display: flex; align-items: flex-start; gap: 7px; font-size: 13.5px; font-weight: 700; line-height: 1.3; color: rgba(246, 243, 236, .9); }
.mr-door .facts svg { flex: none; width: 17px; height: 17px; color: var(--accent, #F3D28B); }
.mr-door.member .facts svg { color: var(--aqua); }
.mr-door .lock { position: absolute; bottom: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(6, 12, 20, .78); border: 1.5px solid rgba(243, 210, 139, .8); color: var(--accent, #F3D28B); }
.mr-door .lock svg { width: 19px; height: 19px; }
.mr-door .go { align-self: stretch; margin-top: 12px; height: 50px; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 4px;
  font-size: 21px; color: #3a2300; background: linear-gradient(100deg, #FFE6A0, #E8B55C); box-shadow: 0 10px 26px rgba(232, 181, 92, .3); }
.mr-door .go svg { width: 18px; height: 18px; }

/* дверь раскрывается (владелец 01.11, как «Остров и карьер» на «Рыбалке»): свёрнута — заголовок и строка; раскрыта — всё */
.mr-door.fold { gap: 0; padding: 0; cursor: default; }
.mr-door.fold:active { transform: none; }
.mr-door.fold .hd { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto 30px; align-items: center; gap: 10px; padding: 13px 14px 14px 16px;
  color: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mr-door.fold .hd:active { opacity: .75; }
.mr-door.fold .tx { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mr-door.fold .t { font-size: 36px; }
.mr-door.fold .tx small { font-size: 13.5px; font-weight: 700; color: rgba(246, 243, 236, .86); text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
.mr-door.fold .tx small .o, .mr-door.fold.open .tx small .c { display: none; }
.mr-door.fold.open .tx small .o { display: inline; }
.mr-door.fold .ch { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #F3D28B;
  background: rgba(6, 12, 20, .78); border: 1.5px solid rgba(243, 210, 139, .8); }
.mr-door.fold .ch svg { width: 17px; height: 17px; transform: rotate(90deg); transition: transform .25s var(--ease); }
.mr-door.fold.open .ch svg { transform: rotate(-90deg); }
.mr-door.fold .in { height: 34px; padding: 0 14px; border-radius: 17px; display: grid; place-items: center; font-size: 18px; color: #3a2300;
  background: linear-gradient(100deg, #FFE6A0, #E8B55C); box-shadow: 0 6px 16px rgba(232, 181, 92, .3); }
.mr-door.fold.open .in { display: none; }
.mr-door.fold .bd { display: none; flex-direction: column; align-items: flex-start; gap: 6px; padding: 0 16px 16px; cursor: pointer; }
.mr-door.fold.open .bd { display: flex; animation: mrFold .3s var(--ease) both; }
.mr-door.fold .bd .facts { margin-top: 4px; }
@keyframes mrFold { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ── слой клуба ── */
#marlin { --mr-night: #070F24; --mr-lamp: #FFC769; --mr-lamp-2: #FFE3A3; --mr-ink: #FFF6E8; --mr-mute: rgba(255, 246, 232, .7);
  --mr-dim: rgba(255, 246, 232, .5); --mr-sea: #8DE6D6; --mr-red: #FF9C8A; --mr-line: rgba(255, 199, 105, .24);
  z-index: 3; overflow: hidden; background: var(--mr-night); color: var(--mr-ink); font: 500 15px/1.35 var(--f-text);
  touch-action: manipulation; -webkit-user-select: none; user-select: none; }
#marlin.day { --mr-night: #0B1731; }
body.in-marlin #pages, body.in-marlin .app-bg, body.in-marlin #tabbar, body.in-marlin #fishing { visibility: hidden; }
body.in-marlin #pages *, body.in-marlin .app-bg *, body.in-marlin #tabbar * { animation-play-state: paused !important; }
#marlin .hidden { display: none !important; }
#marlin h1, #marlin h2, #marlin h3, #marlin p { margin: 0; font-weight: inherit; }
#marlin ul, #marlin ol { margin: 0; padding: 0; list-style: none; }
#marlin img { max-width: none; }
#marlin button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; -webkit-tap-highlight-color: transparent; }
#marlin button:disabled { cursor: default; }
#marlin svg { flex: none; }
#marlin .mr-x { font-family: var(--f-display); font-style: italic; font-weight: 900; letter-spacing: 0; font-variant-numeric: tabular-nums; }
#marlin .nb { white-space: nowrap; }
#marlin .mr-mar { fill: currentColor; }
#marlin .mr-scroll { position: absolute; inset: 0; overflow: hidden auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding-bottom: calc(var(--safe-bottom) + 112px); }
#marlin .mr-scroll::-webkit-scrollbar { display: none; }
#marlin .mr-scroll.has-act { padding-bottom: calc(var(--safe-bottom) + 196px); }
#marlin .mr-scroll.mr-solo { padding-bottom: calc(var(--safe-bottom) + 32px); }
#marlin .mr-view { position: relative; min-height: 100%; }
#marlin .mr-view > :not(.mr-bg) { position: relative; z-index: 1; }
#marlin .mr-view.in > * { animation: mrIn .45s var(--ease) both; }
#marlin .mr-view.in > :nth-child(3) { animation-delay: .04s; } #marlin .mr-view.in > :nth-child(4) { animation-delay: .08s; }
#marlin .mr-view.in > :nth-child(5) { animation-delay: .12s; } #marlin .mr-view.in > :nth-child(n+6) { animation-delay: .16s; }
@keyframes mrIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
#marlin .mr-loading { position: absolute; inset: 0; display: grid; place-items: center; }

/* фон шапки вкладок: картинка причала клуба, уходит в синий */
#marlin .mr-bg { position: absolute; left: 0; right: 0; top: 0; height: 440px; z-index: 0; pointer-events: none;
  background: var(--mr-pic) center 100% / 100% auto no-repeat; }
#marlin .mr-bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 15, 36, .82) 0%, rgba(7, 15, 36, .56) 24%, rgba(7, 15, 36, .62) 52%, rgba(7, 15, 36, .86) 78%, var(--mr-night) 100%); }
#marlin .mr-bg.club { background-position: 50% 14%; background-size: 140% auto; }
#marlin .mr-bg.plain { height: 360px; background: radial-gradient(70% 60% at 85% 0%, rgba(255, 199, 105, .13), rgba(255, 199, 105, 0) 70%),
  linear-gradient(180deg, #0D1A3C 0%, var(--mr-night) 100%); }
#marlin .mr-bg.plain::after { display: none; }
#marlin .mr-bg.entry { height: 600px; background-position: 72% 16%; background-size: 150% auto; }
#marlin .mr-bg.entry::after { background: linear-gradient(180deg, rgba(7, 15, 36, .6) 0%, rgba(7, 15, 36, .3) 30%, rgba(7, 15, 36, .55) 62%, var(--mr-night) 100%); }

/* шапка клуба: «В обычную игру», монеты, клубная карта, ранг и состояние */
#marlin .mr-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: calc(var(--safe-top) + 14px) 16px 0; }
#marlin .mr-exit { display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 13px 0 8px; border-radius: 17px; flex: none;
  background: rgba(7, 15, 36, .74); border: 1px solid rgba(255, 246, 232, .2); font-size: 13.5px; font-weight: 700; color: var(--mr-ink); white-space: nowrap; }
#marlin .mr-exit svg { width: 17px; height: 17px; stroke-width: 2.4; }
#marlin .mr-coins { display: inline-flex; align-items: center; gap: 7px; min-width: 0; height: 34px; padding: 0 13px 0 9px; border-radius: 17px; font-size: 21px; line-height: 1;
  white-space: nowrap; background: rgba(7, 15, 36, .74); border: 1px solid rgba(255, 246, 232, .2); }
#marlin .mr-coin { position: relative; width: 17px; height: 17px; flex: none; border-radius: 50%; border: 2.1px solid var(--mr-lamp); }
#marlin .mr-coin::after { content: ""; position: absolute; inset: 2.6px; border-radius: 50%; border: 1.8px solid var(--mr-lamp); }
#marlin .mr-coin.sm { width: 15px; height: 15px; border-width: 1.9px; }
#marlin .mr-coin.sm::after { inset: 2.2px; border-width: 1.6px; }
#marlin .mr-coin.lg { width: 24px; height: 24px; border-width: 2.6px; }
#marlin .mr-coin.lg::after { inset: 3.6px; border-width: 2px; }
#marlin .mr-me { display: flex; align-items: center; gap: 12px; padding: 16px 16px 0; }
#marlin .mr-mcard { position: relative; width: 58px; height: 38px; flex: none; border-radius: 7px; overflow: hidden;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, rgba(0, 0, 0, .16) 1px 2px, rgba(255, 255, 255, 0) 2px 3px),
              linear-gradient(155deg, #23407F 0%, #102352 55%, #060E26 100%);
  border: 1px solid rgba(255, 205, 120, .7); box-shadow: 0 6px 16px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 240, 210, .3); }
#marlin .mr-mcard .mr-mar { position: absolute; right: -6px; top: 3px; width: 50px; height: 20px; color: rgba(255, 199, 105, .55); }
#marlin .mr-mcard b { position: absolute; left: 6px; bottom: 3px; font-size: 19px; line-height: 1; color: var(--mr-lamp-2); white-space: nowrap; }
#marlin .mr-me-go { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; }
#marlin .mr-me-go:active { transform: scale(.97); }
#marlin .mr-me-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
#marlin .mr-me-t b { font-size: 22px; line-height: 1; }
#marlin .mr-me-t b i { font-style: normal; color: var(--mr-lamp); }
#marlin .mr-me-t small { font-size: 13px; font-weight: 700; color: var(--mr-mute); }
#marlin .mr-me-t small em { font-style: normal; color: var(--mr-lamp-2); }

/* заголовок вкладки: большое слово и золотая строка */
#marlin .mr-tab-h { padding: 22px 16px 0; }
#marlin .mr-word { font-size: min(92px, 23.6vw); line-height: .8; letter-spacing: -.02em; padding-right: .06em; text-shadow: 0 10px 34px rgba(2, 6, 18, .65); }
#marlin .mr-word.long { font-size: min(74px, 18.6vw); }
#marlin .mr-line { margin-top: 10px; font-size: 21px; line-height: 1.1; color: var(--mr-lamp-2); text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }

/* разделы */
#marlin .mr-sec { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 26px 16px 10px; }
#marlin .mr-sec > span { font-size: 30px; line-height: 1; }
#marlin .mr-sec small { font-family: var(--f-display); font-style: italic; font-size: 16px; font-weight: 800; color: var(--mr-dim); white-space: nowrap; }

/* нижние вкладки клуба: Море · Яхта · Имущество · Турниры · Магазин */
#marlin .mr-tabs { position: absolute; z-index: 20; left: 12px; right: 12px; bottom: calc(var(--safe-bottom) + 12px); height: 66px; border-radius: 24px;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  background: rgba(8, 15, 36, .97); border: 1px solid rgba(255, 199, 105, .2); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
#marlin .mr-tabs button { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 13px; color: rgba(255, 246, 232, .6); text-align: center; }
#marlin .mr-tabs button span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#marlin .mr-tabs svg { width: 23px; height: 23px; transition: transform .25s var(--spring); }
#marlin .mr-tabs button.on { color: var(--mr-lamp); }
#marlin .mr-tabs button.on svg { transform: translateY(-1px) scale(1.06); }
#marlin .mr-tabs button.shop svg { color: var(--mr-lamp); }
#marlin .mr-tabs .dot { position: relative; }
#marlin .mr-tabs .dot::after { content: ""; position: absolute; top: 9px; left: calc(50% + 9px); width: 8px; height: 8px; border-radius: 50%; background: var(--mr-sea);
  box-shadow: 0 0 0 2px rgba(8, 15, 36, .97); }
@media (max-width: 370px) {
  #marlin .mr-tabs button { font-size: 12px; }
  #marlin .mr-props { gap: 12px 8px; } #marlin .mr-props li { gap: 7px; font-size: 13px; } #marlin .mr-props .mr-ic { width: 28px; height: 28px; }
}

/* главная кнопка над нижними вкладками */
#marlin .mr-act { position: absolute; z-index: 19; left: 12px; right: 12px; bottom: calc(var(--safe-bottom) + 88px); }
#marlin .mr-act::before { content: ""; position: absolute; z-index: -1; left: -12px; right: -12px; top: -26px; bottom: -100px; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 15, 36, 0) 0%, var(--mr-night) 34%); }
#marlin .mr-go { width: 100%; margin-top: 16px; min-height: 56px; border-radius: 18px; display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 24px; color: #3a2300; background: linear-gradient(100deg, #FFE6A0, #E8B55C); box-shadow: 0 10px 26px rgba(232, 181, 92, .3); text-align: center; transition: transform .15s; }
#marlin .mr-go:active:not(:disabled) { transform: scale(.98); }
#marlin .mr-go svg { width: 19px; height: 19px; stroke-width: 2.6; }
#marlin .mr-act .mr-go { margin-top: 0; }
#marlin .mr-go.two { flex-direction: column; gap: 3px; min-height: 64px; padding: 9px 16px; line-height: 1; }
#marlin .mr-go.two small { font-family: var(--f-text); font-style: normal; font-weight: 700; font-size: 13px; line-height: 1.25; color: rgba(58, 35, 0, .78); text-wrap: balance; }
#marlin .mr-go.off { color: rgba(255, 226, 160, .7); background: rgba(255, 199, 105, .07); border: 1.5px dashed rgba(255, 199, 105, .42); box-shadow: none; }
#marlin .mr-act .mr-go.off { background: #18213b; }   /* закреплённая: список под ней не просвечивает */
#marlin .mr-go.off small { color: var(--mr-mute); }
#marlin .mr-go.sea { color: #04221C; background: linear-gradient(100deg, #B9F3E6, #6FD3C0); box-shadow: 0 10px 26px rgba(111, 211, 192, .25); }
#marlin .mr-go.sea small { color: rgba(4, 34, 28, .75); }
#marlin .busy { pointer-events: none; opacity: .7; }
/* вторая кнопка над вкладками «Море» — тише главной: яхта выходит сама (автоловля в море) */
#marlin .mr-act { display: flex; flex-direction: column; gap: 8px; }
#marlin .mr-go2 { width: 100%; min-height: 52px; padding: 7px 12px 8px 14px; border-radius: 16px; display: flex; align-items: center; gap: 11px; text-align: left;
  background: #0B1838; border: 1.5px solid rgba(141, 230, 214, .55); color: var(--mr-ink); transition: transform .15s; }
#marlin .mr-go2:active { transform: scale(.98); }
#marlin .mr-go2 > svg:first-child { width: 24px; height: 24px; color: var(--mr-sea); }
#marlin .mr-go2 > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
#marlin .mr-go2 b { font-size: 20px; line-height: 1.05; }
#marlin .mr-go2 small { font-size: 12.5px; font-weight: 700; line-height: 1.25; color: var(--mr-mute); }
#marlin .mr-go2 > svg:last-child { width: 18px; height: 18px; color: var(--mr-dim); }
#marlin .mr-go2.dim { border-color: rgba(255, 246, 232, .2); }
#marlin .mr-go2.dim > svg:first-child { color: var(--mr-dim); }
#marlin .mr-go2.dim b { color: rgba(255, 246, 232, .82); }
#marlin .mr-scroll.has-act2 { padding-bottom: calc(var(--safe-bottom) + 256px); }

/* ── «Яхта»: сцена из слоёв — причал клуба днём или ночью, яхта боком у причала с отражением ── */
#marlin .mr-scene { position: relative; width: 100%; aspect-ratio: 1024 / 1536; overflow: hidden; }
#marlin .mr-scene.marina { margin-bottom: -27%; }
#marlin .ys-bg { position: absolute; inset: 0; background: var(--mr-pic) center / 100% 100% no-repeat; }
#marlin .ys-yacht { position: absolute; z-index: 1; --yw: 80.08%; left: calc((100% - var(--yw)) / 2); width: var(--yw); bottom: 32.4%;
  animation: mrBob 6s ease-in-out infinite; }   /* низ корпуса — у воды, у всех яхт на одной высоте */
#marlin .ys-yacht img { display: block; width: 100%;
  -webkit-mask-image: linear-gradient(180deg, #000 95.6%, transparent 100%); mask-image: linear-gradient(180deg, #000 95.6%, transparent 100%); }
@keyframes mrBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
#marlin .ys-refl { position: absolute; --yw: 80.08%; left: calc((100% - var(--yw)) / 2); width: var(--yw); top: 67.1%; height: calc(16.6% * var(--yk, 1));
  transform: scaleY(-1); opacity: .3;
  -webkit-mask-image: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .35) 45%, transparent 100%); mask-image: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .35) 45%, transparent 100%); }
#marlin .ys-shade { position: absolute; --yw: 80.08%; left: calc((100% - var(--yw) * .92) / 2); width: calc(var(--yw) * .92); top: 66.5%; height: 2%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 5, 18, .75), rgba(0, 5, 18, 0)); }
#marlin .ys-top { position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 27%; background: linear-gradient(180deg, rgba(4, 10, 26, .66), rgba(4, 10, 26, 0)); }
#marlin .ys-bot { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(180deg, rgba(7, 15, 36, 0), var(--mr-night) 92%); }
#marlin .ys-head { position: absolute; z-index: 3; left: 0; right: 0; top: 0; }
#marlin .ys-word { position: absolute; z-index: 3; left: 14px; top: 69.5%; font-size: min(92px, 23.6vw); line-height: .8; letter-spacing: -.02em;
  padding-right: .06em; text-shadow: 0 8px 30px rgba(2, 6, 18, .75); }
#marlin .ys-away { position: absolute; z-index: 3; left: 50%; top: 52%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 18px; border-radius: 18px; background: rgba(7, 15, 36, .78); border: 1px solid rgba(141, 230, 214, .4); color: var(--mr-sea); text-align: center; white-space: nowrap; }
#marlin .ys-away svg { width: 26px; height: 26px; }
#marlin .ys-away b { font-size: 22px; line-height: 1; color: var(--mr-ink); }
#marlin .ys-away small { font-size: 12.5px; font-weight: 700; color: var(--mr-mute); }
html.idle #marlin .ys-yacht { animation-play-state: paused; }

/* карточка яхты */
#marlin .mr-card { margin: 0 16px; padding: 16px 16px 14px; border-radius: 24px;
  background: linear-gradient(180deg, #14254F 0%, #0D1937 100%); border: 1px solid var(--mr-line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 236, 190, .12); }
#marlin .mr-card + .mr-card { margin-top: 12px; }
#marlin .mr-yname { display: flex; flex-direction: column; gap: 3px; }
#marlin .mr-yname b { font-size: 34px; line-height: .9; }
#marlin .mr-yname small { font-size: 13px; font-weight: 600; color: var(--mr-mute); }
#marlin .mr-props { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; margin: 14px 0 0; padding: 0; list-style: none; }
#marlin .mr-props li { display: flex; align-items: flex-start; gap: 9px; min-width: 0; font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--mr-mute); }
#marlin .mr-props li b { color: var(--mr-ink); font-weight: 800; }
#marlin .mr-ic { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 199, 105, .12); color: var(--mr-lamp); }
#marlin .mr-ic svg { width: 17px; height: 17px; }
#marlin .mr-up { width: 100%; margin-top: 10px; display: flex; align-items: center; gap: 10px; padding: 9px 4px 2px; }
#marlin .mr-up .mr-ic { background: none; border: 1.5px solid rgba(255, 199, 105, .55); }
#marlin .mr-up .mr-ic svg { width: 16px; height: 16px; stroke-width: 2.4; }
#marlin .mr-up > span:not(.mr-ic) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
#marlin .mr-up b { font-size: 15px; font-weight: 800; }
#marlin .mr-up small { font-size: 12.5px; font-weight: 600; color: var(--mr-mute); }
#marlin .mr-up > svg { width: 18px; height: 18px; color: var(--mr-dim); }

/* трюм */
#marlin .mr-hold { margin: 12px 16px 0; padding: 14px; border-radius: 22px; background: rgba(16, 29, 66, .94); border: 1px solid rgba(255, 246, 232, .13); }
#marlin .mr-hold-h { display: flex; align-items: center; gap: 12px; }
#marlin .mr-hold-h .mr-ic { width: 40px; height: 40px; }
#marlin .mr-hold-h .mr-ic svg { width: 21px; height: 21px; }
#marlin .mr-hold-h .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#marlin .mr-hold-h b { font-size: 21px; line-height: 1.05; }
#marlin .mr-hold-h small { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--mr-mute); }
#marlin .mr-hold-h small em { font-style: normal; font-weight: 800; color: var(--mr-lamp-2); }
#marlin .mr-bar { position: relative; height: 6px; margin-top: 12px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
#marlin .mr-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: 3px; background: var(--mr-lamp); transform-origin: 0 50%; }
#marlin .mr-bar.sea i { background: var(--mr-sea); }
#marlin .mr-hold .mr-go { margin-top: 12px; min-height: 50px; font-size: 21px; }
#marlin .mr-hold .mr-hold-see { margin-top: 6px; }
/* «Что в трюме» — шторка (views.js holdSheetHtml, 15.11) */
#sheet .mr-hl { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
#sheet .mr-hl li { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 16px; background: rgba(255, 246, 232, .05);
  border: 1px solid rgba(255, 246, 232, .1); }
#sheet .mr-hl img { width: 64px; height: 44px; object-fit: contain; flex: none; }
#sheet .mr-hl .nm { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#sheet .mr-hl .nm b { font-size: 16px; line-height: 1.15; color: #F6F3EC; }
#sheet .mr-hl .nm small { font-size: 12.5px; font-weight: 600; line-height: 1.3; color: rgba(246, 243, 236, .65); }
#sheet .mr-hl .v { flex: none; display: flex; flex-direction: column; align-items: flex-end; }
#sheet .mr-hl .v b { font-size: 19px; line-height: 1; color: #FFE3A3; }
#sheet .mr-hl .v small { font-size: 11.5px; font-weight: 700; color: rgba(246, 243, 236, .6); }
#sheet .mr-hl-note, #sheet .mr-hl-empty { margin: 12px 2px 0; font-size: 13px; font-weight: 600; line-height: 1.4; color: rgba(246, 243, 236, .65); }
/* «Сменить место» — шторка в море (trip.js openMoves, 15.11) */
#sheet .mr-mv { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
#sheet .mr-mv button { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 3px; padding: 11px 14px; border-radius: 16px;
  color: #F6F3EC; background: rgba(255, 246, 232, .05); border: 1.5px solid rgba(255, 246, 232, .14); }
#sheet .mr-mv button:disabled { opacity: .5; }
#sheet .mr-mv .h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
#sheet .mr-mv .h b { font-size: 19px; line-height: 1.1; }
#sheet .mr-mv .h span { font-size: 13px; font-weight: 800; color: #FFE3A3; white-space: nowrap; }
#sheet .mr-mv small { font-size: 12.5px; font-weight: 600; line-height: 1.35; color: rgba(246, 243, 236, .65); }

/* автоловля и «скоро» */
#marlin .mr-auto { width: calc(100% - 32px); margin: 12px 16px 0; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 20px;
  background: rgba(141, 230, 214, .07); border: 1px solid rgba(141, 230, 214, .34); text-align: left; }
#marlin .mr-auto .mr-ic { width: 40px; height: 40px; background: rgba(141, 230, 214, .12); color: var(--mr-sea); }
#marlin .mr-auto .mr-ic svg { width: 22px; height: 22px; }
#marlin .mr-auto .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#marlin .mr-auto b { font-size: 19px; line-height: 1.05; }
#marlin .mr-auto small { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--mr-mute); }
#marlin .mr-auto > svg { width: 18px; height: 18px; color: var(--mr-dim); }
#marlin .mr-auto.live { background: rgba(141, 230, 214, .12); border-color: rgba(141, 230, 214, .65); }
#marlin .mr-auto.slim { padding: 10px 12px; margin-top: 18px; }
#marlin .mr-auto.slim .mr-ic { width: 34px; height: 34px; }
#marlin .mr-auto.slim .mr-ic svg { width: 19px; height: 19px; }
#marlin .mr-auto.slim b { font-size: 17px; }
#marlin .mr-soon { margin: 10px 16px 0; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; border: 1.5px dashed rgba(255, 246, 232, .22); color: var(--mr-mute); }
#marlin .mr-soon .mr-ic { width: 34px; height: 34px; background: rgba(255, 255, 255, .05); color: rgba(255, 246, 232, .6); }
#marlin .mr-soon .mr-ic svg { width: 19px; height: 19px; }
#marlin .mr-soon b { display: block; font-size: 17px; line-height: 1.05; color: rgba(255, 246, 232, .82); }
#marlin .mr-soon small { display: block; font-size: 13px; font-weight: 600; line-height: 1.3; }

/* ранг клуба */
#marlin .mr-rank { margin: 12px 16px 0; padding: 14px; border-radius: 20px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 246, 232, .12); }
#marlin .mr-rank-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
#marlin .mr-rank-h b { font-size: 22px; line-height: 1; }
#marlin .mr-rank-h b i { font-style: normal; color: var(--mr-lamp); }
#marlin .mr-rank-h span { font-size: 13px; font-weight: 700; color: var(--mr-mute); text-align: right; }
#marlin .mr-rank p { margin: 8px 0 0; font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--mr-mute); }

/* причал клуба: ваша яхта у причала */
#marlin .mr-quay { display: flex; align-items: stretch; gap: 10px; padding: 0 16px; }
#marlin .q-berth { width: 134px; flex: none; display: flex; flex-direction: column; gap: 2px; }
#marlin .q-water { position: relative; height: 120px; margin-bottom: 8px; overflow: hidden; border-radius: 16px;
  background: linear-gradient(180deg, #111A31 0 22px, #2E241A 22px 25px, rgba(0, 0, 0, 0) 25px),
              repeating-linear-gradient(180deg, rgba(255, 220, 160, 0) 0 11px, rgba(255, 220, 160, .045) 11px 12px),
              linear-gradient(180deg, #0B1733 0%, #07112A 100%); }
#marlin.day .q-water { background: linear-gradient(180deg, #1E2A4C 0 22px, #3A2E21 22px 25px, rgba(0, 0, 0, 0) 25px),
              repeating-linear-gradient(180deg, rgba(220, 230, 255, 0) 0 11px, rgba(220, 230, 255, .05) 11px 12px),
              linear-gradient(180deg, #15265A 0%, #0E1A3E 100%); }
#marlin .q-water .y { position: absolute; z-index: 1; left: 13px; bottom: 26px; width: 108px;
  -webkit-mask-image: linear-gradient(180deg, #000 95.6%, transparent 100%); mask-image: linear-gradient(180deg, #000 95.6%, transparent 100%); }
#marlin .q-water .r { position: absolute; left: 13px; top: calc(100% - 27px); width: 108px; height: 34px; transform: scaleY(-1); opacity: .28;
  -webkit-mask-image: linear-gradient(0deg, #000, transparent); mask-image: linear-gradient(0deg, #000, transparent); }
#marlin .q-water .n { position: absolute; z-index: 2; left: 8px; top: 30px; padding: 2px 7px 3px; border-radius: 8px; font-size: 15px; line-height: 1; color: #2b1c02; background: var(--mr-lamp); }
#marlin .q-water .sea { position: absolute; left: 0; right: 0; top: 52px; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--mr-sea); font-size: 13px; font-weight: 700; }
#marlin .q-water .sea svg { width: 24px; height: 24px; }
#marlin .q-berth b { padding-left: 2px; font-size: 19px; line-height: 1; color: var(--mr-lamp-2); }
#marlin .q-berth small { padding-left: 2px; font-size: 12.5px; font-weight: 600; line-height: 1.25; color: var(--mr-mute); }
#marlin .q-note { flex: 1; min-width: 0; align-self: flex-start; margin-top: 22px; padding: 12px 14px; border-radius: 16px; border: 1.5px dashed rgba(255, 246, 232, .2);
  font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--mr-mute); }
#marlin .q-note b { display: block; margin-bottom: 3px; font-size: 18px; line-height: 1; color: rgba(255, 246, 232, .86); }

/* турнир недели (тизер на «Яхте») */
#marlin .mr-tour { position: relative; width: calc(100% - 32px); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 26px 16px 0; padding: 16px;
  border-radius: 22px; overflow: hidden; border: 1px solid var(--mr-line); isolation: isolate; text-align: left;
  background: linear-gradient(180deg, #14254F 0%, #0D1937 100%); }
#marlin .mr-tour .mr-mar { position: absolute; z-index: -1; right: -20px; top: 30px; width: 160px; height: 64px; color: rgba(255, 199, 105, .11); transform: rotate(-14deg); }
#marlin .mr-tour .k { font-size: 13px; font-weight: 700; color: var(--mr-lamp); }
#marlin .mr-tour .t { font-size: 31px; line-height: .92; max-width: 72%; }
#marlin .mr-tour .mr-lead { margin-top: 4px; font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--mr-mute); max-width: 86%; }
#marlin .mr-tour .mr-lead b { color: var(--mr-lamp-2); font-weight: 800; }
#marlin .mr-left { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--mr-mute); }
#marlin .mr-left svg { width: 16px; height: 16px; }

/* ── «Море»: места по удалённости от клуба ── */
#marlin .mr-route { position: relative; margin: 16px 16px 0; padding: 0 0 0 34px; list-style: none; }
#marlin .sz { position: relative; margin-bottom: 8px; }
#marlin .sz::before { content: ""; position: absolute; left: -23px; top: 24px; bottom: -34px; width: 2px; background: var(--mr-lamp); }
#marlin .sz.out::before { background: repeating-linear-gradient(180deg, rgba(255, 246, 232, .3) 0 5px, rgba(255, 246, 232, 0) 5px 10px); }
#marlin .sz:last-child::before { display: none; }
#marlin .sz::after { content: ""; position: absolute; left: -29px; top: 15px; width: 14px; height: 14px; border-radius: 50%; box-sizing: border-box;
  background: var(--mr-night); border: 2px solid var(--mr-lamp); }
#marlin .sz.sel::after { background: var(--mr-lamp); box-shadow: 0 0 0 4px rgba(255, 199, 105, .22); }
#marlin .sz.out::after { border: 2px dashed rgba(255, 246, 232, .4); }
#marlin .sz.port::after { display: none; }
#marlin .sz.port .pin { position: absolute; left: -36px; top: 4px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--mr-lamp); color: #2b1c02; }
#marlin .sz.port .pin svg { width: 16px; height: 16px; stroke-width: 2.4; }
#marlin .sz.port { padding: 4px 0 6px 2px; }
#marlin .sz.port b { display: block; font-size: 21px; line-height: 1.05; }
#marlin .sz.port small { display: block; font-size: 13px; font-weight: 600; color: var(--mr-mute); }
#marlin .sz-card { display: block; width: 100%; padding: 10px 13px 11px; border-radius: 18px; background: rgba(16, 29, 66, .94); border: 1px solid rgba(255, 246, 232, .13);
  transition: border-color .2s, background-color .2s; }
#marlin .sz.sel .sz-card { background: linear-gradient(180deg, #1B2F63 0%, #11214B 100%); border: 1.5px solid var(--mr-lamp); box-shadow: 0 12px 28px rgba(232, 181, 92, .14); }
#marlin .sz-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
#marlin .sz-h b { font-size: 24px; line-height: 1; }
#marlin .sz-h .mi { font-size: 18px; color: var(--mr-lamp-2); white-space: nowrap; }
#marlin .sz-h .mi small { display: block; margin-top: 2px; font: 700 12px/1.2 var(--f-text); color: var(--mr-mute); text-align: right; }
#marlin .sz-fish { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
#marlin .sz-fish span { padding: 3px 8px 4px; border-radius: 9px; background: rgba(255, 255, 255, .07); font-size: 12.5px; font-weight: 700; line-height: 1.2; }
#marlin .sz-note { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--mr-mute); }
#marlin .sz-pick { display: flex; width: fit-content; align-items: center; gap: 4px; margin-top: 9px; padding: 3px 10px 4px 6px; border-radius: 10px; background: var(--mr-lamp);
  color: #2b1c02; font-size: 12.5px; font-weight: 800; }
#marlin .sz-pick svg { width: 14px; height: 14px; stroke-width: 3; }
#marlin .sz-pick.here { background: var(--mr-sea); color: #04221C; }
/* в море — «Перейти сюда прямо из моря» (marlin.move, 15.11): тише, чем «Яхта здесь» */
#marlin .sz-pick.go { background: rgba(255, 199, 105, .14); color: var(--mr-lamp-2); border: 1px solid rgba(255, 199, 105, .45); }
#marlin .sz.out .sz-card { background: rgba(255, 255, 255, .02); border: 1px dashed rgba(255, 246, 232, .24); }
#marlin .sz.out .sz-h b { color: rgba(255, 246, 232, .62); }
#marlin .sz.out .sz-h .mi { color: rgba(255, 246, 232, .5); }
#marlin .sz.out .sz-fish span { color: rgba(255, 246, 232, .6); background: rgba(255, 255, 255, .04); }
#marlin .sz-need { display: flex; align-items: flex-start; gap: 6px; margin-top: 9px; font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--mr-lamp-2); }
#marlin .sz-need svg { width: 15px; height: 15px; margin-top: 1px; }
#marlin .sz-limit { position: relative; margin: -2px 0 12px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--mr-lamp); }
#marlin .sz-limit::before { content: ""; position: absolute; left: -30px; top: 50%; width: 16px; height: 2px; background: var(--mr-lamp); }
#marlin .sz-limit::after { content: ""; flex: 1; height: 0; border-top: 1px dashed rgba(255, 199, 105, .45); }

/* ── «Имущество» ── */
#marlin .pr-worth { margin: 18px 16px 0; padding: 16px; border-radius: 22px; background: linear-gradient(180deg, #14254F 0%, #0D1937 100%); border: 1px solid var(--mr-line); }
#marlin .pr-worth .lb { font-size: 13px; font-weight: 700; color: var(--mr-mute); }
#marlin .pr-sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 2px; }
#marlin .pr-sum b { font-size: 44px; line-height: .95; color: var(--mr-lamp-2); }
#marlin .pr-sum span { font-size: 15px; font-weight: 700; }
#marlin .pr-bar { display: flex; gap: 2px; height: 10px; margin-top: 14px; border-radius: 5px; overflow: hidden; }
#marlin .pr-bar i { display: block; height: 100%; }
#marlin .pr-legend { margin: 8px 0 0; padding: 0; list-style: none; }
#marlin .pr-legend li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 0;
  border-bottom: 1px solid rgba(255, 246, 232, .08); font-size: 14px; font-weight: 700; }
#marlin .pr-legend li:last-child { border-bottom: 0; padding-bottom: 0; }
#marlin .pr-legend .dot { width: 10px; height: 10px; border-radius: 50%; }
#marlin .pr-legend .v { font-size: 19px; white-space: nowrap; }
#marlin .pr-legend li.none { color: var(--mr-dim); }
#marlin .pr-legend li.none .dot { border: 1.5px dashed rgba(255, 246, 232, .4); }
#marlin .pr-legend li.none .v { font-family: var(--f-text); font-style: normal; font-weight: 600; font-size: 13px; }
#marlin .d-coin { background: #8DE6D6; } #marlin .d-yacht { background: #7FA0E6; } #marlin .d-share { background: #FFC769; } #marlin .d-hold { background: #E9D4A6; }
#marlin .pr-house { margin: 0 16px; border-radius: 22px; overflow: hidden; background: #0D1937; border: 1px solid var(--mr-line); }
#marlin .pr-house .crop { position: relative; aspect-ratio: 1.2; overflow: hidden; background: #0D1937 var(--mr-pic) center 40% / cover no-repeat; }
#marlin .pr-house .crop::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: linear-gradient(180deg, rgba(13, 25, 55, 0), #0D1937); }
#marlin .pr-house .tx { padding: 2px 16px 16px; }
#marlin .pr-house .k { font-size: 13px; font-weight: 700; color: var(--mr-lamp); }
#marlin .pr-house .nm { display: block; margin-top: 2px; font-size: 32px; line-height: .95; }
#marlin .pr-house p { margin: 8px 0 0; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--mr-mute); }
#marlin .pr-house .pr-later { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 5px 11px 6px; border-radius: 11px;
  border: 1.5px dashed rgba(255, 199, 105, .5); font-size: 13px; font-weight: 800; color: var(--mr-lamp-2); }
#marlin .pr-house .pr-later svg { width: 15px; height: 15px; }

/* ── «Турниры» ── */
#marlin .t-week { position: relative; margin: 18px 16px 0; padding: 16px; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, #1A2E63 0%, #0F1D44 100%); border: 1.5px solid rgba(255, 199, 105, .6); box-shadow: 0 16px 34px rgba(0, 0, 0, .35); }
#marlin .t-week .mr-mar { position: absolute; z-index: -1; right: -24px; top: 20px; width: 200px; height: 80px; color: rgba(255, 199, 105, .09); transform: rotate(-14deg); }
#marlin .t-week .k { font-size: 13px; font-weight: 700; color: var(--mr-lamp); }
#marlin .t-week .t { margin-top: 4px; font-size: 30px; line-height: .95; max-width: 82%; }
#marlin .t-week .rule { margin-top: 8px; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--mr-mute); max-width: 92%; }
#marlin .t-week .mr-left { margin-top: 10px; }
#marlin .t-week .t-prz { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
#marlin .t-week .t-prz > div { min-width: 0; padding: 8px 8px 9px; border-radius: 14px; background: rgba(7, 15, 36, .55); border: 1px solid rgba(255, 246, 232, .12); }
#marlin .t-week .t-prz > div.gold { border-color: rgba(255, 199, 105, .55); }
#marlin .t-week .t-prz small { display: block; font-size: 11.5px; font-weight: 700; color: var(--mr-mute); }
#marlin .t-week .t-prz b { display: block; margin-top: 3px; font-size: 18px; line-height: 1; color: var(--mr-lamp-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#marlin .t-week .t-prz span { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 700; color: var(--mr-mute); }
#marlin .t-me { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 10px 12px; border-radius: 16px; background: rgba(7, 15, 36, .55); }
#marlin .t-me .pl { flex: none; min-width: 50px; text-align: center; font-size: 30px; line-height: 1; color: var(--mr-lamp); }
#marlin .t-me .pl small { display: block; font-family: var(--f-text); font-style: normal; font-weight: 700; font-size: 11.5px; color: var(--mr-mute); }
#marlin .t-me .pl.none { font-size: 26px; color: var(--mr-dim); }
#marlin .t-me .tx { min-width: 0; font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--mr-mute); }
#marlin .t-me .tx b { color: var(--mr-ink); font-weight: 800; }
#marlin .t-fb { margin: 0 16px; padding: 0; list-style: none; border-radius: 20px; overflow: hidden; background: rgba(16, 29, 66, .94); border: 1px solid rgba(255, 246, 232, .13); }
#marlin .t-fb li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid rgba(255, 246, 232, .08); }
#marlin .t-fb li:last-child { border-bottom: 0; }
#marlin .t-fb .p { font-size: 22px; line-height: 1; color: var(--mr-lamp); }
#marlin .t-fb .nm { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
#marlin .t-fb .nm b { font-size: 15px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#marlin .t-fb .nm small { font-size: 12px; font-weight: 600; color: var(--mr-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#marlin .t-fb .v { font-size: 21px; white-space: nowrap; }
#marlin .t-fb .v small { font-family: var(--f-text); font-style: normal; font-weight: 600; font-size: 12px; color: var(--mr-mute); margin-left: 3px; }
#marlin .t-fb li.me { background: rgba(255, 199, 105, .08); }
#marlin .t-fb li.me .nm b { color: var(--mr-lamp-2); }
#marlin .t-empty { margin: 0 16px; padding: 18px 16px; border-radius: 20px; border: 1.5px dashed rgba(255, 246, 232, .2); text-align: center; color: var(--mr-mute);
  font-size: 13.5px; font-weight: 600; line-height: 1.4; }
#marlin .t-empty b { display: block; margin-bottom: 4px; font-size: 21px; line-height: 1; color: rgba(255, 246, 232, .86); }
#marlin .t-quiet { margin: 18px 18px 0; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--mr-dim); }
#marlin .t-quiet svg { width: 16px; height: 16px; }

/* ── «Магазин» ── */
#marlin .sh-auto { margin-top: 18px; }

/* ── вход в клуб (a_entry.html) ── */
#marlin .ae-head { padding: 22px 18px 0; }
#marlin .ae-k { font-size: 13.5px; font-weight: 700; color: var(--mr-lamp); }
#marlin .ae-t { margin-top: 6px; font-size: min(62px, 16.4vw); line-height: .86; padding-right: .06em; text-shadow: 0 8px 30px rgba(0, 0, 0, .6); }
#marlin .ae-d { margin-top: 10px; max-width: 34em; font-size: 15px; font-weight: 600; line-height: 1.4; color: rgba(255, 246, 232, .86); text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
#marlin .mr-ccard { position: relative; width: min(326px, calc(100% - 44px)); aspect-ratio: 1.586; margin: 22px auto 0; padding: 14px 16px; border-radius: 18px; overflow: hidden;
  color: var(--mr-ink); transform: rotate(-2.5deg);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, rgba(0, 0, 0, .16) 1px 2px, rgba(255, 255, 255, 0) 2px 4px),
              radial-gradient(90% 70% at 16% 0%, rgba(255, 226, 170, .2), rgba(255, 226, 170, 0) 60%),
              linear-gradient(155deg, #23407F 0%, #102352 48%, #060E26 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 205, 120, .55), inset 0 0 0 3px rgba(6, 14, 38, .9), inset 0 0 0 4px rgba(255, 205, 120, .18),
              inset 0 1px 0 rgba(255, 240, 210, .28), 0 30px 56px rgba(0, 0, 0, .7); }
#marlin .mr-ccard::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 240, 210, 0), rgba(255, 240, 210, .2), rgba(255, 240, 210, 0)); transform: translateX(0) skewX(-16deg);
  animation: mrSheen 1.6s cubic-bezier(.3, .6, .2, 1) .5s both; }
@keyframes mrSheen { from { transform: translateX(0) skewX(-16deg); } to { transform: translateX(420%) skewX(-16deg); } }
#marlin .mr-ccard .club { position: relative; z-index: 1; font-size: 21px; line-height: 1; color: var(--mr-lamp-2); }
#marlin .mr-ccard .mr-mar { position: absolute; right: 16px; top: 16px; width: 40%; height: auto; aspect-ratio: 2.5; color: #C9A25A;
  filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, .85)) drop-shadow(0 1px 0 rgba(255, 236, 200, .25)); }
#marlin .mr-chip { position: absolute; left: 16px; top: 44px; width: 38px; height: 28px; border-radius: 6px;
  background: linear-gradient(135deg, #FFE7A8, #C89A45 60%, #F3D28B); box-shadow: inset 0 0 0 1px rgba(80, 50, 0, .35); }
#marlin .mr-chip::before { content: ""; position: absolute; inset: 8px 0; border-top: 1px solid rgba(80, 50, 0, .4); border-bottom: 1px solid rgba(80, 50, 0, .4); }
#marlin .mr-ccard .num { position: absolute; left: 14px; bottom: 10px; display: flex; align-items: baseline; gap: 4px; color: var(--mr-lamp);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 240, 210, .3), 0 3px 14px rgba(0, 0, 0, .45); }
#marlin .mr-ccard .num small { font-size: 26px; }
#marlin .mr-ccard .num b { font-size: 78px; line-height: .78; }
#marlin .mr-ccard .who { position: absolute; right: 16px; bottom: 14px; max-width: 52%; text-align: right; display: flex; flex-direction: column; gap: 1px; }
#marlin .mr-ccard .who b { font-size: 17px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#marlin .mr-ccard .who small { font-size: 12px; font-weight: 600; color: var(--mr-mute); }
#marlin .ae-cardnote { margin: 14px 24px 0; text-align: center; text-wrap: balance; font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--mr-mute); }
#marlin .ae-pay { margin: 18px 16px 0; padding: 16px; border-radius: 22px; background: rgba(12, 22, 52, .96); border: 1px solid var(--mr-line); }
#marlin .ae-pay .lb { font-size: 13px; font-weight: 700; color: var(--mr-mute); }
#marlin .ae-price { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-top: 4px; }
#marlin .ae-price b { font-size: 40px; line-height: .9; color: var(--mr-lamp-2); }
#marlin .ae-price span { font-size: 15px; font-weight: 700; }
#marlin .ae-pay .once { margin-top: 3px; font-size: 13px; font-weight: 600; color: var(--mr-mute); }
#marlin .ae-bar { position: relative; height: 8px; margin-top: 16px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
#marlin .ae-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: 4px; background: var(--mr-lamp); transform-origin: 0 50%; }
#marlin .ae-bal { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 2px 12px; margin-top: 8px; font-size: 13.5px; font-weight: 700; }
#marlin .ae-bal span { color: var(--mr-mute); }
#marlin .ae-bal b { color: var(--mr-red); font-weight: 800; }
#marlin .ae-bal b.ok { color: var(--mr-sea); }
#marlin .ae-btn { width: calc(100% - 32px); margin: 14px 16px 0; font-size: 23px; }
#marlin .ae-btn svg { width: 19px; height: 19px; }
#marlin .ae-keep { margin: 10px 24px 0; text-align: center; text-wrap: balance; font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--mr-mute); }
#marlin .ae-list { margin: 0 16px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
#marlin .ae-list li { display: flex; gap: 12px; align-items: flex-start; }
#marlin .ae-list .mr-ic { width: 40px; height: 40px; border-radius: 14px; background: rgba(255, 199, 105, .1); }
#marlin .ae-list .mr-ic svg { width: 21px; height: 21px; }
#marlin .ae-list b { display: block; font-size: 20px; line-height: 1.05; }
#marlin .ae-list small { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--mr-mute); }
#marlin .ae-list.later .mr-ic { background: rgba(255, 246, 232, .06); color: rgba(255, 246, 232, .7); }
#marlin .ae-list.later b { color: rgba(255, 246, 232, .82); }
#marlin .ae-list + .mr-sec { margin-top: 26px; }

/* ── добро пожаловать: красная дорожка и карта (один раз после вступления) ── */
#marlin .mr-welcome { position: absolute; inset: 0; z-index: 40; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 0 20px calc(var(--safe-bottom) + 28px); background: #040915; }
#marlin .mr-welcome .bg { position: absolute; inset: 0; background: var(--mr-pic) 60% 30% / cover no-repeat; opacity: .55; transform: scale(1.08); animation: mrWbg 3.2s var(--ease) both; }
#marlin .mr-welcome .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 9, 21, .2) 0%, rgba(4, 9, 21, .45) 45%, #040915 92%); }
@keyframes mrWbg { from { opacity: 0; transform: scale(1.18); } to { opacity: .55; transform: scale(1.08); } }
#marlin .mr-carpet { position: absolute; left: 50%; bottom: 0; width: 66%; height: 58%; margin-left: -33%; transform-origin: 50% 100%;
  background: linear-gradient(180deg, rgba(226, 178, 96, 0) 0%, rgba(226, 178, 96, .75) 30%, #E2B260 100%);
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%); animation: mrCarpet 1.1s var(--ease) .15s both; }
#marlin .mr-carpet::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(110, 15, 29, 0) 0%, #6E0F1D 30%, #8F1527 100%);
  clip-path: polygon(44.8% 0, 55.2% 0, 97.2% 100%, 2.8% 100%); }
@keyframes mrCarpet { from { transform: scaleY(0); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
#marlin .mr-welcome .in { position: relative; z-index: 1; width: 100%; max-width: 420px; display: flex; flex-direction: column; align-items: center; text-align: center; }
#marlin .mr-welcome .k { font-size: 14px; font-weight: 700; color: var(--mr-lamp); animation: mrUp .6s var(--ease) .9s both; }
#marlin .mr-welcome h2 { margin: 6px 0 0; font-size: min(50px, 13vw); line-height: .9; text-wrap: balance; text-shadow: 0 6px 24px rgba(0, 0, 0, .9), 0 0 2px rgba(0, 0, 0, .6); animation: mrUp .6s var(--ease) 1s both; }
#marlin .mr-welcome p { margin: 12px 0 0; max-width: 30em; font-size: 14.5px; font-weight: 600; line-height: 1.4; color: rgba(255, 246, 232, .9); text-shadow: 0 2px 10px rgba(0, 0, 0, .95); animation: mrUp .6s var(--ease) 1.1s both; }
#marlin .mr-welcome .mr-ccard { margin-top: 0; margin-bottom: 26px; animation: mrCardIn 1s cubic-bezier(.2, .9, .25, 1.1) .45s both; }
#marlin .mr-welcome .mr-ccard::after { animation-delay: 1.4s; }
#marlin .mr-welcome .mr-go { margin-top: 20px; animation: mrUp .6s var(--ease) 1.3s both; }
@keyframes mrCardIn { from { opacity: 0; transform: translateY(-60vh) rotate(-16deg) scale(.7); } to { opacity: 1; transform: rotate(-2.5deg); } }
@keyframes mrUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ── шторка улучшений и яхт (core/ui.js openSheet с классом mr-sheet) ── */
.sheet.mr-sheet { --mr-lamp: #FFC769; --mr-lamp-2: #FFE3A3; --mr-ink: #FFF6E8; --mr-mute: rgba(255, 246, 232, .7); --mr-dim: rgba(255, 246, 232, .5); --mr-sea: #8DE6D6; --mr-line: rgba(255, 199, 105, .24); --mr-red: #FF9C8A;
  background: #0E1A3E; border-top: 1px solid rgba(255, 199, 105, .4); -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--mr-ink); }
.mr-sheet .mr-x { font-family: var(--f-display); font-style: italic; font-weight: 900; font-variant-numeric: tabular-nums; }
.mr-sheet .sheet-head h3 { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 32px; line-height: 1; }
.mr-sheet .sheet-head .sub { font-size: 13px; font-weight: 700; color: var(--mr-mute); }
.mr-sheet .ms-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0 16px 10px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .05); flex: none; }
.mr-sheet .ms-seg button { height: 38px; border-radius: 11px; font: italic 900 18px/1 var(--f-display); color: var(--mr-mute); background: none; border: 0; }
.mr-sheet .ms-seg button.on { color: #2b1c02; background: var(--mr-lamp); }
.mr-sheet .ms-seg button { display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.mr-sheet .ms-seg button svg { width: 16px; height: 16px; flex: none; }   /* «Яхты клуба ›» — стрелка была во всю шторку */
.mr-sheet .ms-note { margin: 0 0 12px; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--mr-mute); }
.mr-sheet .ms-note b { color: var(--mr-lamp-2); }
.mr-sheet .ms-up { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 246, 232, .08); }
.mr-sheet .ms-up:last-child { border-bottom: 0; }
.mr-sheet .ms-up .ic { grid-row: span 3; width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 199, 105, .12); color: var(--mr-lamp); }
.mr-sheet .ms-up .ic svg { width: 21px; height: 21px; }
.mr-sheet .ms-up-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.mr-sheet .ms-up-h b { font-size: 21px; line-height: 1; }
.mr-sheet .ms-up-h span { font-size: 13px; font-weight: 700; color: var(--mr-mute); white-space: nowrap; }
.mr-sheet .ms-pips { display: flex; gap: 3px; margin-top: 2px; }
.mr-sheet .ms-pips i { flex: 1; max-width: 22px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .12); }
.mr-sheet .ms-pips i.on { background: var(--mr-lamp); }
.mr-sheet .ms-pips i.idle { background: rgba(255, 199, 105, .35); }
.mr-sheet .ms-up p { margin: 2px 0 0; font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--mr-mute); }
.mr-sheet .ms-up p b { color: var(--mr-ink); font-weight: 800; }
.mr-sheet .ms-buy { grid-column: 2; justify-self: start; margin-top: 8px; min-height: 40px; padding: 4px 16px; border-radius: 13px; border: 0; display: inline-flex; align-items: center; gap: 7px;
  font: italic 900 19px/1 var(--f-display); color: #3a2300; background: linear-gradient(100deg, #FFE6A0, #E8B55C); }
.mr-sheet .ms-buy .coin { width: 14px; height: 14px; border-color: #5a3800; }
.mr-sheet .ms-buy .coin::after { border-color: #5a3800; }
.mr-sheet .ms-buy.poor { color: rgba(255, 226, 160, .75); background: rgba(255, 199, 105, .08); border: 1.5px dashed rgba(255, 199, 105, .4); }
.mr-sheet .ms-buy.poor .coin, .mr-sheet .ms-buy.poor .coin::after { border-color: rgba(255, 226, 160, .75); }
.mr-sheet .ms-full { grid-column: 2; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--mr-sea); }
.mr-sheet .ms-yacht { margin-bottom: 12px; padding: 14px; border-radius: 20px; background: linear-gradient(180deg, #14254F 0%, #0D1937 100%); border: 1px solid rgba(255, 199, 105, .24); }
.mr-sheet .ms-yacht.cur { border: 1.5px solid var(--mr-lamp); }
.mr-sheet .ms-yacht .pic { position: relative; height: 100px; margin: -2px 0 8px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; border-radius: 14px;
  background: linear-gradient(180deg, #0B1733 0%, #07112A 100%); }
.mr-sheet .ms-yacht .pic img { height: var(--h, 56px); width: auto; margin-bottom: 8px; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .5)); }
.mr-sheet .ms-yacht .pic .tag { position: absolute; left: 8px; top: 8px; padding: 2px 8px 3px; border-radius: 8px; font: italic 900 14px/1 var(--f-display); color: #2b1c02; background: var(--mr-lamp); }
.mr-sheet .ms-yacht .pic .tag.own { background: var(--mr-sea); color: #04221C; }
.mr-sheet .ms-yacht-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.mr-sheet .ms-yacht-h b { font-size: 25px; line-height: 1; }
.mr-sheet .ms-yacht-h span { font-size: 13px; font-weight: 700; color: var(--mr-mute); white-space: nowrap; }
.mr-sheet .ms-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; margin: 10px 0 0; padding: 0; list-style: none; }
.mr-sheet .ms-facts li { font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--mr-mute); }
.mr-sheet .ms-facts li b { color: var(--mr-ink); font-weight: 800; }
.mr-sheet .ms-yacht .act { margin-top: 12px; }
.mr-sheet .ms-yacht .act .ms-buy { margin-top: 0; width: 100%; justify-content: center; min-height: 46px; font-size: 20px; }
.mr-sheet .ms-yacht .act .ms-buy.ghost { color: var(--mr-lamp-2); background: none; border: 1.5px solid rgba(255, 199, 105, .55); }
.mr-sheet .ms-why { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--mr-lamp-2); }
.mr-sheet .ms-why svg { width: 15px; height: 15px; margin-top: 1px; }
.mr-sheet .ms-why.ok { color: var(--mr-sea); }

/* ── выход в море: от первого лица из кокпита (club_trip.css), как сцена рыбалки «Кино» ── */
#marlin .mt { position: absolute; inset: 0; z-index: 30; overflow: hidden; color: #F6F3EC; font: 600 15px/1.35 var(--f-text);
  --mt-accent: #F3D28B; --mt-aqua: #A9E4D0; --mt-red: #FF7A8A; touch-action: none;
  background: #01101F; animation: mtIn .45s var(--ease) both; }
#marlin.day .mt { background: #6F86AE; }
/* качка: всё, что относится к картинке (небо, вода, удочки, приманки, рыба), медленно качается на волне — только transform;
   увеличено на 5 %, чтобы края не открывались; кнопки, шкала и подписи стоят */
#marlin .mt-rock { position: absolute; inset: 0; transform-origin: 50% 62%; background: linear-gradient(180deg, #01101F 0, #041A34 170px);
  transform: scale(1.05); will-change: transform; }
#marlin.day .mt-rock { background: linear-gradient(180deg, #6F86AE 0, #869ABA 170px); }
/* есть живая вода — качку, приманки и небо двигает её кадр (js/marlin/sea.js move); нет — CSS */
/* качка — готовая анимация и с живой водой: её ведёт телефон с частотой экрана, а не скрипт моря 30 раз в секунду
   (владелец 04.11: «с яхты будто 30 кадров и меньше») */
#marlin .mt .mt-rock { animation: mtRock 7.2s linear infinite; }
#marlin .mt.fighting .mt-rock { animation: mtRockF 5.6s linear infinite; }
#marlin .mt.asleep .mt-rock, #marlin .mt.asleep .mt-rock * { animation-play-state: paused !important; }
/* 15.11 («лодка странно плывёт»): была ломаная из 8 точек с линейным ходом — на телефоне 120 Гц в каждой точке качка
   резко меняла скорость; теперь синус по 24 точкам, ход тот же (наклон и подъём со сдвигом на четверть) */
@keyframes mtRock {
  0%, 100% { transform: translateY(4.00px) rotate(0.000deg) scale(1.05); } 4.167% { transform: translateY(3.86px) rotate(0.194deg) scale(1.05); } 8.333% { transform: translateY(3.46px) rotate(0.375deg) scale(1.05); }
  12.5% { transform: translateY(2.83px) rotate(0.530deg) scale(1.05); } 16.667% { transform: translateY(2.00px) rotate(0.650deg) scale(1.05); } 20.833% { transform: translateY(1.04px) rotate(0.724deg) scale(1.05); }
  25% { transform: translateY(0.00px) rotate(0.750deg) scale(1.05); } 29.167% { transform: translateY(-1.04px) rotate(0.724deg) scale(1.05); } 33.333% { transform: translateY(-2.00px) rotate(0.650deg) scale(1.05); }
  37.5% { transform: translateY(-2.83px) rotate(0.530deg) scale(1.05); } 41.667% { transform: translateY(-3.46px) rotate(0.375deg) scale(1.05); } 45.833% { transform: translateY(-3.86px) rotate(0.194deg) scale(1.05); }
  50% { transform: translateY(-4.00px) rotate(0.000deg) scale(1.05); } 54.167% { transform: translateY(-3.86px) rotate(-0.194deg) scale(1.05); } 58.333% { transform: translateY(-3.46px) rotate(-0.375deg) scale(1.05); }
  62.5% { transform: translateY(-2.83px) rotate(-0.530deg) scale(1.05); } 66.667% { transform: translateY(-2.00px) rotate(-0.650deg) scale(1.05); } 70.833% { transform: translateY(-1.04px) rotate(-0.724deg) scale(1.05); }
  75% { transform: translateY(-0.00px) rotate(-0.750deg) scale(1.05); } 79.167% { transform: translateY(1.04px) rotate(-0.724deg) scale(1.05); } 83.333% { transform: translateY(2.00px) rotate(-0.650deg) scale(1.05); }
  87.5% { transform: translateY(2.83px) rotate(-0.530deg) scale(1.05); } 91.667% { transform: translateY(3.46px) rotate(-0.375deg) scale(1.05); } 95.833% { transform: translateY(3.86px) rotate(-0.194deg) scale(1.05); } }
@keyframes mtRockF {
  0%, 100% { transform: translateY(5.50px) rotate(0.000deg) scale(1.06); } 4.167% { transform: translateY(5.31px) rotate(0.272deg) scale(1.06); } 8.333% { transform: translateY(4.76px) rotate(0.525deg) scale(1.06); }
  12.5% { transform: translateY(3.89px) rotate(0.742deg) scale(1.06); } 16.667% { transform: translateY(2.75px) rotate(0.909deg) scale(1.06); } 20.833% { transform: translateY(1.42px) rotate(1.014deg) scale(1.06); }
  25% { transform: translateY(0.00px) rotate(1.050deg) scale(1.06); } 29.167% { transform: translateY(-1.42px) rotate(1.014deg) scale(1.06); } 33.333% { transform: translateY(-2.75px) rotate(0.909deg) scale(1.06); }
  37.5% { transform: translateY(-3.89px) rotate(0.742deg) scale(1.06); } 41.667% { transform: translateY(-4.76px) rotate(0.525deg) scale(1.06); } 45.833% { transform: translateY(-5.31px) rotate(0.272deg) scale(1.06); }
  50% { transform: translateY(-5.50px) rotate(0.000deg) scale(1.06); } 54.167% { transform: translateY(-5.31px) rotate(-0.272deg) scale(1.06); } 58.333% { transform: translateY(-4.76px) rotate(-0.525deg) scale(1.06); }
  62.5% { transform: translateY(-3.89px) rotate(-0.742deg) scale(1.06); } 66.667% { transform: translateY(-2.75px) rotate(-0.909deg) scale(1.06); } 70.833% { transform: translateY(-1.42px) rotate(-1.014deg) scale(1.06); }
  75% { transform: translateY(-0.00px) rotate(-1.050deg) scale(1.06); } 79.167% { transform: translateY(1.42px) rotate(-1.014deg) scale(1.06); } 83.333% { transform: translateY(2.75px) rotate(-0.909deg) scale(1.06); }
  87.5% { transform: translateY(3.89px) rotate(-0.742deg) scale(1.06); } 91.667% { transform: translateY(4.76px) rotate(-0.525deg) scale(1.06); } 95.833% { transform: translateY(5.31px) rotate(-0.272deg) scale(1.06); } }
/* живая вода (js/marlin/sea.js): холст ровно на картинке кормы; есть вода — фон картинки не нужен */
#marlin .mt-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#marlin .mt.gl .mt-img { background-image: none; }
/* небо: днём медленно плывёт тень облаков, ночью мерцают звёзды — по одной бесконечной анимации */
#marlin .mt-sky { position: absolute; z-index: 1; left: 0; right: 0; top: 0; height: calc(100% - 123.4vw); overflow: hidden; pointer-events: none; }
#marlin .mt-sky .cl { position: absolute; top: 0; left: -60%; width: 220%; height: 100%;
  background: radial-gradient(22% 30% at 18% 62%, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 70%),
              radial-gradient(16% 22% at 46% 40%, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 70%),
              radial-gradient(24% 26% at 70% 70%, rgba(40, 56, 88, .14), rgba(40, 56, 88, 0) 70%),
              radial-gradient(18% 24% at 90% 45%, rgba(255, 255, 255, .13), rgba(255, 255, 255, 0) 70%);
}
#marlin .mt .mt-sky .cl { animation: mtCloud 70s linear infinite alternate; will-change: transform; }
@keyframes mtCloud { from { transform: translateX(0); } to { transform: translateX(22%); } }
#marlin .mt-sky .st { position: absolute; inset: 0; }
#marlin .mt .mt-sky .st { animation: mtTwinkle 3.8s ease-in-out infinite alternate; }
#marlin .mt-sky .st i { position: absolute; width: calc(2.2px * var(--s, 1)); height: calc(2.2px * var(--s, 1)); border-radius: 50%; background: #F4F7FF;
  box-shadow: 0 0 4px rgba(220, 232, 255, .8); }
#marlin .mt-sky .st i:nth-child(3n) { opacity: .45; } #marlin .mt-sky .st i:nth-child(4n) { opacity: .7; }
@keyframes mtTwinkle { from { opacity: .45; } to { opacity: 1; } }
@keyframes mtIn { from { opacity: 0; } to { opacity: 1; } }
#marlin .mt.out { opacity: 0; transition: opacity .3s; }
#marlin .mt-img { position: absolute; left: -4%; width: 108%; bottom: 0; aspect-ratio: 1024 / 1536; background: var(--mt-stern) center / 100% 100% no-repeat;
  transition: transform .6s var(--ease); transform-origin: 50% 100%; }
#marlin .mt-img::before { content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: -1px; height: 15%; background: linear-gradient(180deg, #041A34 0%, rgba(4, 26, 52, .6) 45%, rgba(4, 26, 52, 0)); }
#marlin.day .mt-img::before { background: linear-gradient(180deg, #869ABA 0%, rgba(134, 154, 186, .6) 45%, rgba(134, 154, 186, 0)); }
#marlin .mt.bent .mt-img { background-image: var(--mt-stern-norod); }
#marlin .mt-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
#marlin .mt.bent .mt-svg { z-index: 2; }
#marlin .mt-svg path { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 2.4; vector-effect: non-scaling-stroke; }
#marlin .mt-rod { position: absolute; z-index: 2; left: 51.76%; top: 30.6%; width: 47.85%; height: 36.13%; display: none; transform-origin: 88% 98%; }
#marlin .mt-rod { will-change: transform; }
#marlin .mt-fline { position: absolute; z-index: 2; left: 0; top: 0; width: 1px; height: 2.4px; margin-top: -1.2px; background: rgba(255, 255, 255, .85);
  transform-origin: 0 50%; will-change: transform; pointer-events: none; }
#marlin .mt-rod b { position: absolute; inset: 0; background: var(--mt-rod) center / 100% 100% no-repeat; filter: drop-shadow(0 0 5px rgba(243, 210, 139, .45)); }
#marlin .mt.bent .mt-rod { display: block; }
#marlin .mt-rod.pull { animation: mtPull .5s ease-in-out 1; }
@keyframes mtPull { 0%, 100% { transform: rotate(0); } 40% { transform: rotate(-2.2deg); } }
#marlin .mt-lt, #marlin .mt-lb { position: absolute; left: 0; right: 0; z-index: 2; pointer-events: none; }
#marlin .mt-lt { top: 0; height: 190px; background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); }
#marlin .mt-lb { bottom: 0; height: 360px; background: linear-gradient(0deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, 0)); }
#marlin .mt-dim { position: absolute; inset: 0; z-index: 1; background: rgba(2, 8, 18, .28); pointer-events: none; opacity: 0; transition: opacity .4s; }
#marlin .mt.bent .mt-dim { opacity: 1; }
#marlin .mt.gl .mt-dim { display: none; }   /* с живой водой затемнение — в её отрисовке (sea.js dim), без слоя во весь экран */
#marlin .mt-vig { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .25s; }
/* бой: край идёт за стрелкой (trip.js vigFight) — слой всё время боя свой, иначе телефон пересобирает экран на каждом
   включении и выключении и он мигает (владелец 04.11) */
#marlin .mt.fighting .mt-vig { transition: opacity .12s linear; will-change: opacity; }
#marlin .mt-vig.g { box-shadow: inset 0 0 90px 12px rgba(243, 210, 139, .55); }
#marlin .mt-vig.y { box-shadow: inset 0 0 105px 15px rgba(243, 201, 105, .42); }
#marlin .mt-vig.r { box-shadow: inset 0 0 120px 22px rgba(255, 90, 110, .5); }
#marlin .mt-bars i { position: absolute; z-index: 3; left: 0; right: 0; height: 46px; background: #020606; transform: scaleY(0); transition: transform .35s var(--ease); pointer-events: none; }
#marlin .mt-bars .t { top: 0; transform-origin: 50% 0; } #marlin .mt-bars .b { bottom: 0; transform-origin: 50% 100%; }
#marlin .mt[data-ph="strike"] .mt-bars i { transform: scaleY(1); }
#marlin .mt[data-ph="strike"] .mt-top, #marlin .mt.trophy .mt-top { opacity: 0; pointer-events: none; }

/* шапка: место крупно, под ним — где вы и сколько в трюме; «Вернуться» справа */
#marlin .mt-top { position: absolute; z-index: 5; left: 0; right: 0; top: 0; padding: calc(var(--safe-top) + 12px) 12px 0 10px; display: flex; align-items: flex-start; gap: 8px; transition: opacity .3s; }
#marlin .mt-home { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(6, 12, 22, .62); border: 1px solid rgba(255, 255, 255, .2); }
#marlin .mt-home svg { width: 19px; height: 19px; stroke-width: 2.4; }
#marlin .mt-title { flex: 1; min-width: 0; text-shadow: 0 2px 14px rgba(0, 0, 0, .7); }
#marlin .mt-title b { display: block; font-size: 34px; line-height: .95; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#marlin .mt-title small { display: flex; flex-wrap: wrap; gap: 2px 10px; margin-top: 5px; font-size: 13px; font-weight: 600; color: rgba(246, 243, 236, .84); }
#marlin .mt-title small span { white-space: nowrap; }
#marlin .mt-back { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 34px; margin-top: 2px; padding: 0 12px 0 10px; border-radius: 17px;
  background: rgba(6, 12, 22, .62); border: 1px solid rgba(255, 255, 255, .2); font-size: 13.5px; font-weight: 700; white-space: nowrap; }
#marlin .mt-back svg { width: 16px; height: 16px; stroke-width: 2.4; }
#marlin .mt-back:disabled { opacity: .45; }

/* низ: шкала боя, субтитр, кнопка */
#marlin .mt-bot { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; padding: 0 20px calc(var(--safe-bottom) + 30px); display: flex; flex-direction: column; align-items: stretch; }
#marlin .mt-hint { min-height: 50px; margin: 0 6px 16px; text-align: center; font-size: 18px; font-weight: 600; line-height: 1.35;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .95), 0 0 2px rgba(0, 0, 0, .85); text-wrap: balance; }
#marlin .mt-hint.warn { color: #F3C969; }
#marlin .mt-hint.gold { color: var(--mt-accent); font: italic 900 24px/1.1 var(--f-display); }
#marlin .mt-hint small { display: block; margin-top: 4px; font-size: 14px; font-weight: 700; color: rgba(246, 243, 236, .7); }
#marlin .mt-btn { position: relative; align-self: center; width: 84px; height: 84px; border-radius: 50%; flex: none; }
#marlin .mt-btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85); transition: border-color .2s, box-shadow .2s; }
#marlin .mt-btn .core { position: absolute; inset: 8px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: rgba(12, 22, 24, .42); color: #F6F3EC; transition: background-color .2s, color .2s, transform .15s; }
#marlin .mt-btn .core svg { width: 26px; height: 26px; }
#marlin .mt-btn .core span { white-space: nowrap; font: 800 11.5px/1 var(--f-text); }
#marlin .mt-btn.wait::before { border-color: rgba(255, 255, 255, .45); }
#marlin .mt-btn.wait .core { color: rgba(246, 243, 236, .8); }
#marlin .mt-btn.bite::before { border-color: var(--mt-accent); box-shadow: 0 0 24px var(--mt-accent); }
#marlin .mt-btn.bite .core { background: var(--mt-accent) radial-gradient(circle at 34% 26%, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 52%); color: #1F1A0E;
  box-shadow: 0 0 26px rgba(243, 210, 139, .7); animation: mtThrob .55s ease-in-out 14 alternate; }
@keyframes mtThrob { from { transform: scale(1); } to { transform: scale(1.07); } }
#marlin .mt-btn.danger::before { border-color: rgba(255, 255, 255, .25); }
#marlin .mt-btn.danger .core { background: #FF5A6E; color: #fff; }
#marlin .mt-btn.reel .core { background: rgba(12, 24, 26, .6); color: var(--mt-aqua); }
#marlin .mt-btn.reel::before { border-color: rgba(169, 228, 208, .55); }
#marlin .mt-btn.reel.on .core { transform: scale(.94); }
#marlin .mt-btn.amber .core { background: rgba(243, 201, 105, .92); color: #2a1c02; }
#marlin .mt-btn .ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
#marlin .mt-btn .ring circle { fill: none; stroke-width: 4; stroke-linecap: round; }
#marlin .mt-two { display: grid; gap: 10px; }
#marlin .mt-b { width: 100%; min-height: 56px; padding: 8px 16px; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  text-align: center; font: italic 900 22px/1.05 var(--f-display); transition: transform .15s; }
#marlin .mt-b:active:not(:disabled) { transform: scale(.98); }
#marlin .mt-b.gold { color: #3a2300; background: linear-gradient(100deg, #FFE6A0, #E8B55C); box-shadow: 0 10px 26px rgba(232, 181, 92, .3); }
#marlin .mt-b.ghost { color: #F6F3EC; background: rgba(10, 18, 24, .72); border: 1px solid rgba(255, 255, 255, .22); }
#marlin .mt-b small { font: 700 13px/1.25 var(--f-text); opacity: .8; }
#marlin .mt-b:disabled { opacity: .45; }
#marlin .mt-b svg { width: 20px; height: 20px; }
#marlin .mt-b.ghost { flex-direction: row; gap: 8px; }
#marlin .mt-b.big { flex-direction: row; gap: 8px; min-height: 62px; font-size: 26px; }
#marlin .mt-b.slim { width: auto; align-self: center; min-height: 40px; margin-top: 14px; padding: 6px 16px; border-radius: 20px; font-size: 14px; }
/* в пути, на троллинге и когда яхта ловит сама — два тихих действия в ряд: «Сменить место» и «Пусть ловит сама» / «Ловить самому» */
#marlin .mt-slims { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }
#marlin .mt-slims .mt-b.slim { margin-top: 0; align-self: auto; }
#marlin .mt-autobox + .mt-hint + .mt-slims { margin-top: 4px; margin-bottom: 10px; }
#marlin .mt-hl { font: inherit; color: inherit; padding: 0; background: none; border: 0; text-decoration: underline; text-decoration-style: dotted;
  text-underline-offset: 3px; white-space: nowrap; }
/* «На яхту с другом» (15.11): строка под шапкой — у хозяина о друге (нажать — высадить), у гостя о капитане */
#marlin .mt-top { flex-wrap: wrap; row-gap: 0; }
#marlin .mt-br { flex-basis: 100%; height: 0; }      /* строка о друге — своей строкой на всю ширину под шапкой */
#marlin .mt-mate { display: flex; align-items: center; gap: 6px; margin: 7px 0 0 46px; max-width: calc(100% - 46px); padding: 4px 10px 5px 7px; border-radius: 12px;
  background: rgba(6, 12, 22, .62); border: 1px solid rgba(255, 255, 255, .18); color: #F6F3EC; font: 700 12.5px/1.25 var(--f-text);
  text-align: left; text-shadow: none; }
#marlin .mt-mate.hidden { display: none; }
#marlin .mt-mate svg { flex: none; width: 15px; height: 15px; color: var(--mt-accent); }
#marlin .mt-mate span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#marlin .mt-mate b { display: inline; flex: none; margin-left: 2px; font: 800 12.5px/1.25 var(--f-text); color: #FFE3A3;
  white-space: nowrap; overflow: visible; }
#marlin .mt.as-mate .mt-mate { pointer-events: none; }
.sheet.mr-sheet .mr-go.two { flex-direction: column; gap: 3px; min-height: 64px; padding: 9px 16px; line-height: 1; }
.sheet.mr-sheet .mr-go.two small { font: 700 13px/1.25 var(--f-text); color: rgba(58, 35, 0, .78); }
.sheet.mr-sheet .mt-copy { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 10px; min-height: 44px;
  border-radius: 14px; color: #F6F3EC; background: rgba(255, 246, 232, .05); border: 1.5px solid rgba(255, 246, 232, .16); font: 700 14px/1 var(--f-text); }
.sheet.mr-sheet .mt-copy svg { width: 16px; height: 16px; }
.sheet.mr-sheet .busy { opacity: .6; pointer-events: none; }
#sheet .mr-fr .h span { color: rgba(246, 243, 236, .6); font-weight: 700; }
#marlin .mt-b.slim svg { width: 17px; height: 17px; }
#marlin .mt-b.big svg { width: 24px; height: 24px; }
/* яхта ловит сама: улов яхты карточкой над субтитром */
#marlin .mt-autobox { margin: 0 0 12px; padding: 12px 14px 13px; border-radius: 18px; background: rgba(6, 14, 24, .84); border: 1px solid rgba(169, 228, 208, .38); }
#marlin .mt-autobox .k { display: flex; align-items: center; gap: 7px; font: italic 900 20px/1 var(--f-display); color: var(--mt-aqua); }
#marlin .mt-autobox .k svg { width: 20px; height: 20px; }
#marlin .mt-autobox .mk-stats { margin-top: 10px; display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 4px 10px; }
#marlin .mt-autobox .mk-stats b { font-size: 28px; white-space: nowrap; }
#marlin .mt-autobox .mk-stats small { font-size: 12.5px; line-height: 1.2; }
@media (max-width: 370px) { #marlin .mt-autobox .mk-stats b { font-size: 25px; } #marlin .mt-autobox .mk-stats small { font-size: 12px; } }
#marlin .mt-autobox.bump .mk-stats div:first-child b { animation: mtBump .6s cubic-bezier(.2, .9, .25, 1.3); }
@keyframes mtBump { 0% { transform: scale(1); } 35% { transform: scale(1.35); color: var(--mt-aqua); } 100% { transform: scale(1); } }
#marlin .mk-stats div b { display: inline-block; transform-origin: 0 70%; }
/* «Звать меня к крупной рыбе» (17.11) — строка-переключатель внизу карточки «Улов яхты» */
#marlin .mt-call { width: 100%; display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 0; background: none; border: 0;
  text-align: left; color: #F6F3EC; font: 800 14px/1.2 var(--f-text); }
#marlin .mt-call span { flex: 1; min-width: 0; }
#marlin .mt-call small { display: block; margin-top: 2px; font: 600 12px/1.25 var(--f-text); color: rgba(246, 243, 236, .66); }
#marlin .mt-call i { position: relative; order: 2; width: 42px; height: 24px; flex: none; border-radius: 12px; background: rgba(255, 255, 255, .16);
  transition: background-color .2s; }
#marlin .mt-call i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #F6F3EC;
  transition: transform .2s; }
#marlin .mt-call.on i { background: var(--mt-aqua); }
#marlin .mt-call.on i::after { transform: translateX(18px); background: #06221c; }
#marlin .mt-call.busy { opacity: .6; pointer-events: none; }

/* крупное слово в кадре и полоска времени на подсечку */
#marlin .mt-big { position: absolute; z-index: 4; left: 0; right: 0; top: 30%; padding: 0 12px; text-align: center; font-size: 68px; line-height: .9; color: var(--mt-accent); pointer-events: none;
  text-shadow: 0 0 36px rgba(243, 210, 139, .6), 0 4px 18px rgba(0, 0, 0, .6); opacity: 0; transform: scale(.9); transition: opacity .2s, transform .25s var(--spring); }
#marlin .mt-big.on { opacity: 1; transform: none; }
#marlin .mt-big.red { color: var(--mt-red); font-size: 44px; text-shadow: 0 0 30px rgba(255, 90, 110, .6), 0 4px 18px rgba(0, 0, 0, .6); }
#marlin .mt-big.fight { top: auto; bottom: calc(var(--safe-bottom) + 322px); font-size: 46px; }
#marlin .mt-cd { position: absolute; z-index: 4; left: 50%; top: calc(30% + 74px); width: 220px; height: 4px; margin-left: -110px; border-radius: 2px; background: rgba(255, 255, 255, .14); overflow: hidden; }
#marlin .mt-big.giant { top: 22%; font-size: min(60px, 15vw); line-height: .9; text-wrap: balance; }
#marlin .mt-gfish { display: block; margin-top: 10px; font-size: 24px; line-height: 1.05; color: #F6F3EC; text-shadow: 0 2px 14px rgba(0, 0, 0, .8); }
/* крупная рыба, которую нашла яхта: в турнир недели не идёт (15.11) — сказано до боя */
#marlin .mt-gnote { display: flex; gap: 6px; align-items: flex-start; margin: -6px 8px 14px; padding: 8px 12px; border-radius: 14px; background: rgba(6, 12, 22, .66);
  border: 1px solid rgba(255, 255, 255, .14); font-size: 13px; font-weight: 600; line-height: 1.35; color: rgba(246, 243, 236, .86); }
#marlin .mt-gnote svg { flex: none; width: 15px; height: 15px; margin-top: 1px; color: var(--mt-accent); }
#marlin .mt-cd.giant { top: calc(22% + 168px); }
#marlin .mt-cd i { display: block; width: 100%; height: 100%; border-radius: 2px; background: var(--mt-accent); box-shadow: 0 0 12px var(--mt-accent); transform-origin: 0 50%; }

/* шкала натяжения — как у спиннинга (js/fishing/spinfight.js) */
#marlin .sf-box { margin: 0 6px 12px; pointer-events: none; }
#marlin .sf-stam { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
#marlin .sf-stam span { flex: none; font-size: 13px; font-weight: 800; color: rgba(246, 243, 236, .82); text-shadow: 0 1px 8px rgba(0, 0, 0, .9); }
#marlin .sf-stam i { position: relative; flex: 1; height: 7px; border-radius: 4px; overflow: hidden; background: rgba(255, 255, 255, .16); }
#marlin .sf-stam b { position: absolute; inset: 0; border-radius: 4px; background: linear-gradient(90deg, #FF8A5B, #F3D28B); transform-origin: 0 50%; }
#marlin .sf-stam.low b { background: linear-gradient(90deg, #5BD69A, #9FE8C2); }
/* две рыбы сразу: две полоски сил, сорвавшаяся — серая (04.11) */
#marlin .sf-stam.duo { margin-bottom: 6px; }
#marlin .sf-stam.duo span { width: 56px; }
#marlin .sf-stam.duo.gone { opacity: .4; }
#marlin .sf-stam.duo.gone b { transform: scaleX(0) !important; }
#marlin .mt.duo .mt-wait { display: none; }
#marlin .mt.fighting.two:not(.duo) .mt-wait { display: block; }
/* у борта две рыбы */
#marlin .mt-side .fish.b { display: none; }
#marlin .mt.duo-boat .mt-side .fish { left: 34%; top: 40%; width: 56%; }
#marlin .mt.duo-boat .mt-side .fish.b { display: block; left: 17%; top: 61%; width: 46%; animation-delay: -1.2s; }
#marlin .mt-sidew.two b { font-size: 40px; }
#marlin .mt-sidew.two b small { font-size: 22px; color: rgba(246, 243, 236, .7); margin: 0 4px; }
#marlin .mt-pick2.three + .mt-b.slim { margin-top: 10px; }
#marlin .sf-meter { position: relative; height: 26px; }
#marlin .sf-zones { position: absolute; inset: 4px 0; display: flex; border-radius: 9px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 2px 12px rgba(0, 0, 0, .45); }
#marlin .sf-zones i { display: block; flex: 1 1 0; }
#marlin .sf-zones .s { background: rgba(160, 175, 190, .35); }
#marlin .sf-zones .g { background: rgba(91, 214, 154, .75); }
#marlin .sf-zones .y { background: rgba(243, 201, 105, .8); }
#marlin .sf-zones .r { background: rgba(255, 90, 110, .85); }
#marlin .sf-needle { position: absolute; left: -3px; top: 0; width: 6px; height: 26px; border-radius: 3px; background: #F6F3EC;
  box-shadow: 0 0 0 2px rgba(8, 14, 18, .7), 0 0 10px rgba(255, 255, 255, .6); will-change: transform; }
#marlin .sf-meter[data-z="red"] .sf-needle { box-shadow: 0 0 0 2px rgba(120, 10, 25, .8), 0 0 16px #FF5A6E; }
#marlin .sf-legend { display: flex; justify-content: space-between; margin-top: 4px; font-size: 11px; font-weight: 700; color: rgba(246, 243, 236, .68); text-shadow: 0 1px 6px rgba(0, 0, 0, .9); }
/* путь до лодки тонкой полосой внизу, как «до берега» в игре */
#marlin .mt-scrub { position: absolute; z-index: 5; left: 20px; right: 20px; bottom: calc(var(--safe-bottom) + 12px); height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .2); }
#marlin .mt-scrub i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: 2px; background: var(--mt-accent); box-shadow: 0 0 10px var(--mt-accent); transform-origin: 0 50%; transform: scaleX(0); will-change: transform; }
#marlin .mt-scrub b { position: absolute; left: -6px; top: -4.5px; width: 12px; height: 12px; border-radius: 50%; background: var(--mt-accent); box-shadow: 0 0 12px var(--mt-accent); will-change: transform; }
#marlin .mt-scrub span { position: absolute; top: -19px; font-size: 11px; font-weight: 700; color: rgba(246, 243, 236, .66); white-space: nowrap; }
#marlin .mt-scrub .l { left: 0; } #marlin .mt-scrub .r { right: 0; }
#marlin .mt-dist { position: absolute; z-index: 4; left: 0; top: 0; font: italic 900 19px/1 var(--f-display); color: #F6F3EC; text-shadow: 0 1px 8px rgba(0, 0, 0, .9); white-space: nowrap; will-change: transform; }

/* вода поверх фото: блесны, знаки, всплеск рыбы (координаты — проценты картинки 1024×1536) */
#marlin .mt-lure { position: absolute; width: 3.2%; aspect-ratio: 2.4; margin: -.8% 0 0 -1.6%; }
#marlin .mt-lure i { position: absolute; inset: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 0 8px 2px rgba(255, 255, 255, .5); }
#marlin .mt .mt-lure i { animation: mtHop var(--t, 1.7s) ease-in-out var(--d, 0s) infinite; }
#marlin .mt.gl .mt-lure::after { display: none; }
#marlin .mt-lure::after { content: ""; position: absolute; left: -70%; right: -70%; top: 20%; height: 110%; border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .8), rgba(235, 244, 255, .35) 55%, rgba(235, 244, 255, 0));
  animation: mtSplashUp var(--t, 1.7s) ease-out var(--d, 0s) infinite; }
@keyframes mtHop { 0%, 100% { transform: translateY(0) scale(.8); opacity: .7; } 30% { transform: translateY(-170%) scale(1.12); opacity: 1; }
  56% { transform: translateY(0) scale(.95); opacity: .95; } 70% { transform: translateY(-25%) scale(.85); opacity: .8; } }
@keyframes mtSplashUp { 0%, 52% { opacity: 0; transform: scale(.3); } 60% { opacity: .95; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.6); } }
#marlin .mt[data-ph="travel"] .mt-lure, #marlin .mt.bent .mt-lure, #marlin .mt.close .mt-lure { display: none; }
#marlin .mt-ring { position: absolute; width: 22%; aspect-ratio: 1; margin: -11% 0 0 -11%; border-radius: 50%; border: 2px solid rgba(243, 210, 139, .85);
  box-shadow: 0 0 18px rgba(243, 210, 139, .4), inset 0 0 18px rgba(243, 210, 139, .25); animation: mtRing 2.2s ease-out 9; }
@keyframes mtRing { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.2); opacity: .25; } }
#marlin .mt-tag { position: absolute; padding: 3px 9px 4px; border-radius: 10px; background: rgba(6, 12, 22, .74); border: 1px solid rgba(243, 210, 139, .6);
  font-size: 12.5px; font-weight: 800; color: var(--mt-accent); white-space: nowrap; transform: translate(-50%, 0); }
#marlin .mt-spray { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(230, 240, 255, .5) 55%, rgba(230, 240, 255, 0)); }
#marlin .mt-drop { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: rgba(240, 246, 255, .9); box-shadow: 0 0 4px rgba(255, 255, 255, .6); }
#marlin .mt-bird { position: absolute; color: #F2F6FA; filter: drop-shadow(0 0 3px rgba(255, 255, 255, .35)); }
#marlin .mt-bird svg { width: 100%; height: auto; stroke-width: 2.8; }
#marlin .mt-fin { position: absolute; width: 5%; aspect-ratio: .8; margin: -4% 0 0 -2.5%; background: #0B1626; clip-path: polygon(10% 100%, 60% 0, 100% 100%); }
#marlin.day .mt-fin { background: #1C2A40; }
#marlin .mt-wake { position: absolute; height: .8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0)); }
#marlin .mt-sign { position: absolute; inset: 0; pointer-events: none; animation: mtIn .5s ease both; }
#marlin .mt-splash { position: absolute; left: 0; top: 0; width: 13%; height: 1.6%; will-change: transform; pointer-events: none; }
#marlin .mt-splash .mt-spray { inset: -40% -10%; transition: transform .3s; }
#marlin .mt-splash .mt-drop { opacity: .85; }
#marlin .mt-splash.run .mt-spray { transform: scale(1.5, 1.8); }
#marlin .mt-air { position: absolute; left: 0; top: 0; width: 38%; pointer-events: none; opacity: 0; will-change: transform, opacity; }
#marlin .mt-air img { display: block; width: 100%; filter: brightness(.95) saturate(.85) drop-shadow(0 0 10px rgba(180, 210, 255, .35)); }

/* у борта: камера ближе — корма уходит вниз, под выбор, а вода за ней занимает кадр */
#marlin .mt.close .mt-img { transform: scale(1.574); }
#marlin .mt-side { position: absolute; left: 0; right: 0; top: 0; height: 67.06%; overflow: hidden; display: none; }
#marlin .mt.close .mt-side { display: block; }
/* рыба у борта крупнее (владелец 04.11), но в пределах экрана: 66 % ширины — рыба на 80–85 % экрана, с запасом от краёв (у картинок рыб прозрачные поля) */
#marlin .mt-side .fish { position: absolute; left: 17%; top: 53%; width: 66%; transform: rotate(-4deg); animation: mtSide 3s ease-in-out infinite; }
#marlin .mt-side .fish img { display: block; width: 100%; filter: brightness(.9) saturate(.9); }
#marlin .mt-side::after { content: ""; position: absolute; left: 0; right: 0; top: 91%; bottom: 0; background: linear-gradient(180deg, rgba(14, 34, 64, 0), rgba(14, 34, 64, .8)); }
/* узкий экран: картинка меньше, а вес и выбор той же высоты — рыба выше из-под кормы, чтобы они её не закрывали */
@media (max-width: 389px) { #marlin .mt-side .fish { top: 54%; } }
@keyframes mtSide { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-2deg) translateY(1.5%); } }
#marlin .mt-sidew { text-align: center; margin: 0 0 14px; text-shadow: 0 2px 14px rgba(0, 0, 0, .8); }
#marlin .mt-sidew b { display: block; font-size: 54px; line-height: .9; }
#marlin .mt-sidew b small { font-size: 26px; color: var(--mt-accent); margin-left: 4px; }
#marlin .mt-sidew span { display: block; margin-top: 4px; font: italic 900 24px/1 var(--f-display); color: var(--mt-accent); }
#marlin .mt-pick2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#marlin .mt-pk { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 18px; background: rgba(8, 16, 26, .9); border: 1px solid rgba(255, 255, 255, .16); }
#marlin .mt-pk.gold { border: 1.5px solid var(--mt-accent); background: rgba(30, 26, 14, .92); }
#marlin .mt-pk.off { opacity: .55; }
#marlin .mt-pk ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 5px; }
#marlin .mt-pk li { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: rgba(246, 243, 236, .78); }
#marlin .mt-pk li b { color: #F6F3EC; font-weight: 800; }
#marlin .mt-pk li svg { width: 14px; height: 14px; margin-top: 1px; color: var(--mt-accent); }
#marlin .mt-pk.free li svg { color: var(--mt-aqua); }
#marlin .mt-pk .mt-b { min-height: 46px; font-size: 19px; border-radius: 14px; margin-top: auto; }

/* трофей: карточка улова как в «Кино» (catchcard.js) */
#marlin .mk { position: absolute; inset: 0; z-index: 12; animation: mtIn .35s ease both; }
#marlin .mk-dim { position: absolute; inset: 0; background: rgba(2, 8, 14, .8); }
#marlin .mk-top { position: absolute; z-index: 4; left: 0; right: 0; top: 0; height: calc(var(--safe-top) + 56px); padding-top: var(--safe-top); display: grid; place-items: center; background: #020606;
  font-size: 13.5px; font-weight: 600; color: rgba(246, 243, 236, .75); }
#marlin .mk-bot { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: calc(var(--safe-bottom) + 112px); background: #020606; }
#marlin .mk-rays { position: absolute; z-index: 3; left: 50%; top: 27%; width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 226, 160, .2) 0deg 4deg, rgba(255, 226, 160, 0) 4deg 13deg);
  -webkit-mask-image: radial-gradient(circle, #000 0, #000 12%, transparent 48%); mask-image: radial-gradient(circle, #000 0, #000 12%, transparent 48%);
  animation: mkSpin 60s linear infinite; }
@keyframes mkSpin { to { transform: rotate(360deg); } }
#marlin .mk-fish { position: absolute; z-index: 4; left: 4%; right: 4%; top: 15%; animation: mkFish .7s cubic-bezier(.2, .9, .25, 1.15) .1s both; }
#marlin .mk-fish img { display: block; width: 100%; filter: drop-shadow(0 0 14px rgba(255, 236, 190, .55)); }
@keyframes mkFish { from { opacity: 0; transform: translateY(40px) scale(.8) rotate(-6deg); } to { opacity: 1; transform: none; } }
#marlin .mk-stamp { position: absolute; z-index: 5; right: 16px; top: calc(var(--safe-top) + 66px); width: 108px; height: 108px; border-radius: 50%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; transform: rotate(9deg); color: #2a1c02;
  background: radial-gradient(circle at 40% 34%, #FFE9AE, #E2AE4C 70%, #C38E2E); box-shadow: 0 0 0 4px rgba(42, 28, 2, .35), 0 10px 26px rgba(0, 0, 0, .5);
  font: italic 900 20px/1 var(--f-display); animation: mkStamp .5s cubic-bezier(.2, .9, .25, 1.3) .6s both; }
#marlin .mk-stamp b { font-size: 46px; line-height: .85; }
@keyframes mkStamp { from { opacity: 0; transform: rotate(30deg) scale(1.8); } to { opacity: 1; transform: rotate(9deg); } }
#marlin .mk-info { position: absolute; z-index: 5; left: 0; right: 0; bottom: calc(var(--safe-bottom) + 112px); padding: 0 20px 12px; animation: mrUp .5s var(--ease) .3s both; }
#marlin .mk-kick { font: italic 900 21px/1 var(--f-display); color: var(--mt-accent); }
#marlin .mk-wrow { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
#marlin .mk-w { font: italic 900 112px/.8 var(--f-display); letter-spacing: -.02em; text-shadow: 0 6px 30px rgba(0, 0, 0, .55); }
#marlin .mk-unit { font: italic 900 34px/1 var(--f-display); color: var(--mt-accent); }
#marlin .mk-name { display: block; margin-top: 8px; font: italic 900 46px/.95 var(--f-display); }
#marlin .mk-line { display: flex; gap: 7px; align-items: flex-start; margin-top: 10px; font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--mt-accent); }
#marlin .mk-line svg { width: 18px; height: 18px; margin-top: 1px; }
#marlin .mk-stats { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 12px; }
#marlin .mk-stats div { display: flex; flex-direction: column; }
#marlin .mk-stats b { font: italic 900 30px/1 var(--f-display); }
#marlin .mk-stats small { font-size: 13px; font-weight: 600; color: rgba(246, 243, 236, .74); }
#marlin .mk-acts { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: calc(var(--safe-bottom) + 112px); padding: 26px 20px calc(var(--safe-bottom) + 30px); display: grid; }
#marlin .mk-acts .mt-b { min-height: 56px; }

/* итог выхода */
#marlin .mt-over { position: absolute; inset: 0; z-index: 11; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 20px calc(var(--safe-bottom) + 30px);
  background: linear-gradient(180deg, rgba(2, 8, 14, .2) 0%, rgba(2, 8, 14, .7) 45%, rgba(2, 8, 14, .96) 80%); animation: mtIn .4s ease both; }
#marlin .mt-over .k { font: italic 900 21px/1 var(--f-display); color: var(--mt-accent); }
#marlin .mt-over h2 { margin: 6px 0 0; font: italic 900 56px/.9 var(--f-display); }
#marlin .mt-over p { margin: 10px 0 0; font-size: 15px; font-weight: 600; line-height: 1.4; color: rgba(246, 243, 236, .82); }
#marlin .mt-over .mk-stats { margin: 16px 0 20px; }
#marlin .mt-over .mt-b + .mt-b { margin-top: 10px; }


/* ── ловля с движением (update/71_VIP_CLUB.md «Ловля с яхты: больше движения», макеты a_hunt_3…7) ── */
/* жор: вторая согнутая удочка — та же картинка зеркально в левом держателе; прямую левую прячет зеркальный кусок кормы */
#marlin .mt-patch { position: absolute; inset: 0; z-index: 1; display: none;
  clip-path: polygon(12.5% 32.23%, 20.51% 32.23%, 12.5% 58.59%, 11.91% 62.83%, 0% 62.83%, 0% 57.29%); }
#marlin .mt-patch i { position: absolute; inset: 0; background: var(--mt-stern-norod) center / 100% 100% no-repeat; transform: scaleX(-1); }
#marlin .mt.two .mt-patch { display: block; }
#marlin .mt-rod.l { left: .39%; will-change: auto; }
#marlin .mt-rod.l b { background-image: var(--mt-rod-l); filter: none; }
/* «ещё 1 рыба ждёт» — над левой удочкой, пока вторая рыба косяка на крючке */
#marlin .mt-wait { position: absolute; z-index: 3; left: 9%; top: 41%; padding: 4px 10px 5px; border-radius: 12px; font-size: 12.5px; font-weight: 800;
  color: #2a1c02; background: rgba(243, 210, 139, .92); box-shadow: 0 4px 14px rgba(0, 0, 0, .35); pointer-events: none; }
#marlin .mt:not(.two) .mt-wait, #marlin .mt:not(.fighting) .mt-wait { display: none; }
#marlin .mt.bent .mt-rod.l { display: none; }
#marlin .mt.bent.two .mt-rod.l { display: block; }
#marlin .mt-boil { position: absolute; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .9), rgba(220, 235, 255, .5) 45%, rgba(220, 235, 255, 0)); }
#marlin .mt-sign { z-index: 1; }
#marlin .mt-tuna { position: absolute; transform: rotate(var(--r, 0deg)); }
#marlin .mt-tuna.f { transform: rotate(var(--r, 0deg)) scaleX(-1); }
#marlin .mt-tuna img { display: block; width: 100%; filter: brightness(.95) saturate(.85) drop-shadow(0 0 10px rgba(180, 210, 255, .35));
  -webkit-mask-image: linear-gradient(180deg, #000 70%, rgba(0, 0, 0, .2)); mask-image: linear-gradient(180deg, #000 70%, rgba(0, 0, 0, .2)); }
#marlin .mt-frenzy .mt-tuna { animation: mtTuna .6s cubic-bezier(.2, .9, .3, 1.2) both; }
#marlin .mt-frenzy .mt-tuna:nth-of-type(2) { animation-delay: .12s; } #marlin .mt-frenzy .mt-tuna:nth-of-type(3) { animation-delay: .22s; }
@keyframes mtTuna { from { opacity: 0; translate: 0 40%; } to { opacity: 1; translate: 0 0; } }
#marlin .mt-big.two { top: 12%; line-height: .95; }
#marlin .mt-big.two small { display: block; margin-top: 8px; font-size: 30px; color: #F6F3EC; text-shadow: 0 2px 14px rgba(0, 0, 0, .8); }
#marlin .mt-big.next { top: 19%; font-size: min(46px, 12vw); line-height: .95; text-wrap: balance; }
#marlin .mt-big.soft { top: 24%; font-size: min(50px, 13vw); text-shadow: 0 0 30px rgba(243, 210, 139, .5), 0 4px 18px rgba(0, 0, 0, .6); }
#marlin .mt-big.white { top: 24%; font-size: min(50px, 13vw); color: #fff; text-shadow: 0 0 28px rgba(200, 225, 255, .55), 0 4px 18px rgba(0, 0, 0, .7); }
#marlin .mt-count { align-self: center; display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 6px 14px 7px; border-radius: 16px;
  background: rgba(6, 12, 22, .78); border: 1px solid rgba(243, 210, 139, .55); font-size: 14px; font-weight: 800; }
#marlin .mt-count .rods { display: flex; gap: 4px; }
#marlin .mt-count .rods i { width: 6px; height: 18px; border-radius: 3px; background: rgba(255, 255, 255, .2); }
#marlin .mt-count .rods i.on { background: var(--mt-accent); box-shadow: 0 0 8px rgba(243, 210, 139, .7); }
#marlin .mt-cd.low { top: calc(12% + 112px); }
#marlin .mt-cd.next { top: calc(19% + 104px); }
#marlin .mt-cd.short { width: 110px; margin-left: -55px; top: calc(30% + 74px); }

/* марлин за приманкой: марлин сверху, клювом к яхте, под водой за приманкой; приманка прыгает по воде */
#marlin .mt.raise .mt-lure:nth-child(3) { display: none; }
#marlin .mt-rmar { position: absolute; z-index: 0; left: 50.5%; width: 24%; bottom: 59%; transform-origin: 50% 100%; pointer-events: none;
  animation: mtDrift 3.4s ease-in-out infinite; }
#marlin .mt-rmar .b { transform-origin: 50% 100%; }
#marlin .mt-rmar img { display: block; width: 100%; transform: scaleY(.44); transform-origin: 50% 100%; opacity: .8; filter: brightness(1.05);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%); }
#marlin:not(.day) .mt-rmar img { filter: brightness(1.4); }
@keyframes mtDrift { 0%, 100% { transform: translateX(-3px) rotate(-11deg); } 50% { transform: translateX(4px) rotate(-7deg); } }
#marlin .mt-bait { position: absolute; z-index: 1; width: 2.6%; aspect-ratio: 2.2; margin: -.6% 0 0 -1.3%; border-radius: 50%; background: #FFF7E6;
  box-shadow: 0 0 10px 3px rgba(255, 240, 200, .55); }
/* полоса ударов клювом: внизу, как путь до лодки; точки — удары, золото — миг, когда он взял, жёлтая — когда вы подсекли */
#marlin .mt-bill { position: absolute; z-index: 5; left: 20px; right: 20px; bottom: calc(var(--safe-bottom) + 14px); pointer-events: none; }
#marlin .mt-bill-lb { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 7px; font-size: 11.5px; font-weight: 700; color: rgba(246, 243, 236, .72);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .9); }
#marlin .mt-bill-lb span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
#marlin .mt-bill-lb i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
#marlin .mt-bill-lb i.g { width: 14px; height: 6px; border-radius: 3px; background: var(--mt-accent); }
#marlin .mt-bill-lb i.e { background: #F3C969; }
#marlin .mt-bill-tr { position: relative; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .2); }
#marlin .mt-bill-tr .past { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: 2px; background: rgba(255, 255, 255, .45); transform-origin: 0 50%; transform: scaleX(0); }
#marlin .mt-bill-tr .sl { position: absolute; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px rgba(255, 255, 255, .7);
  animation: mtDot .35s cubic-bezier(.2, .9, .3, 1.4) both; }
#marlin .mt-bill-tr .win { position: absolute; top: -3px; bottom: -3px; border-radius: 5px; background: var(--mt-accent); box-shadow: 0 0 12px var(--mt-accent); }
#marlin .mt-bill-tr .early { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #F3C969; box-shadow: 0 0 0 3px rgba(243, 201, 105, .3); }
#marlin .mt-bill-tr .now { position: absolute; left: 0; top: 50%; width: 3px; height: 18px; margin: -9px 0 0 -1.5px; border-radius: 2px; background: #fff; will-change: transform; }
@keyframes mtDot { from { transform: scale(0); } to { transform: scale(1); } }
#marlin .mt.billing .mt-bot { padding-bottom: calc(var(--safe-bottom) + 60px); }
#marlin .mt.taken[data-ph="raise"] .mt-bars i { transform: scaleY(1); }
#marlin .mt.taken[data-ph="raise"] .mt-top { opacity: 0; pointer-events: none; }

@media (max-height: 700px) {
  #marlin .mk-w { font-size: 88px; } #marlin .mk-name { font-size: 38px; } #marlin .mk-fish { top: 12%; left: 10%; right: 10%; }
  #marlin .mt-hint { font-size: 16px; min-height: 40px; margin-bottom: 10px; }
  #marlin .mt-sidew b { font-size: 44px; }
}

/* ── этап 1б: турниры игроков, ставки, Forbes (макеты update/mockups/club/club_tour.css; приставка tz-) ── */
/* строки двери в «Гавани»: турниры клуба и Forbes — смотреть всем */
.mr-door .rows { align-self: stretch; display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.mr-door .row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(6, 12, 20, .82); border: 1px solid rgba(243, 210, 139, .45);
  color: var(--ink); text-align: left; }
.mr-door .row > svg { width: 20px; height: 20px; flex: none; color: var(--accent, #F3D28B); }
.mr-door .row > svg:last-child { width: 16px; height: 16px; color: rgba(246, 243, 236, .55); }
.mr-door .row > span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.mr-door .row b { font-size: 14.5px; font-weight: 800; line-height: 1.2; }
.mr-door .row small { font-size: 12.5px; font-weight: 600; color: rgba(246, 243, 236, .7); }
.mr-door.locked .lock { top: 14px; bottom: auto; }

#marlin .tz-mt { margin-top: 14px !important; }
#marlin .tz-wait { display: grid; place-items: center; min-height: 120px; }
/* состояние турнира: запись / идёт / закончился */
#marlin .tz-st { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 4px 8px; border-radius: 11px; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
#marlin .tz-st i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
#marlin .tz-st.reg { color: #FFE3A3; background: rgba(255, 199, 105, .14); }
#marlin .tz-st.live { color: #8DE6D6; background: rgba(141, 230, 214, .14); }
#marlin .tz-st.live i { box-shadow: 0 0 0 3px rgba(141, 230, 214, .25); }
#marlin .tz-st.done { color: rgba(255, 246, 232, .62); background: rgba(255, 255, 255, .07); }
/* компактная карточка турнира недели (кнопка) */
#marlin button.t-week { display: block; width: calc(100% - 32px); text-align: left; }
#marlin .t-week.slim { padding: 14px 16px; }
#marlin .t-week.slim .t { font-size: 26px; }
#marlin .t-week .wk-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--mr-mute); }
#marlin .t-week .wk-row > span { white-space: nowrap; }
#marlin .t-week .wk-row b { color: var(--mr-ink); font-weight: 800; }
#marlin .t-week .wk-prize { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--mr-mute); text-align: left; }
#marlin .t-week .wk-prize svg { flex: none; width: 15px; height: 15px; color: var(--mr-lamp); }
#marlin .t-week .wk-prize b { color: var(--mr-lamp-2); font-weight: 800; }
#marlin .t-week .wk-row svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: 4px; }
/* карточка турнира в списке */
#marlin .tz-card { margin: 0 16px 10px; padding: 14px; border-radius: 20px; background: rgba(16, 29, 66, .94); border: 1px solid rgba(255, 246, 232, .13); display: block; cursor: pointer; }
#marlin .tz-card.reg { border-color: rgba(255, 199, 105, .45); }
#marlin .tz-card.done { background: rgba(16, 29, 66, .55); }
#marlin .tz-card-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
#marlin .tz-t { display: block; margin-top: 8px; font-size: 26px; line-height: 1; }
#marlin .tz-rule { margin-top: 5px; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--mr-mute); }
#marlin .tz-rule b { color: var(--mr-ink); font-weight: 800; }
#marlin .tz-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin-top: 10px; }
#marlin .tz-facts div { min-width: 0; }
#marlin .tz-facts span { display: block; font-size: 12px; font-weight: 600; color: var(--mr-dim); }
#marlin .tz-facts b { display: block; font-size: 14px; font-weight: 800; line-height: 1.25; }
#marlin .tz-btns { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 8px; margin-top: 12px; }
#marlin .tz-btns > :only-child { grid-column: 1 / -1; }
#marlin .tz-btns button { min-height: 46px; padding: 6px 8px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  font-size: 18px; line-height: 1.05; }
#marlin .tz-btns button small { font-family: var(--f-text); font-style: normal; font-weight: 700; font-size: 11.5px; }
#marlin .tz-btns .join { color: #3a2300; background: linear-gradient(100deg, #FFE6A0, #E8B55C); }
#marlin .tz-btns .join small { color: rgba(58, 35, 0, .75); }
#marlin .tz-btns .bet { color: var(--mr-lamp-2); border: 1.5px solid rgba(255, 199, 105, .55); background: rgba(10, 18, 40, .6); }
#marlin .tz-btns .leave { color: var(--mr-ink); border: 1px solid rgba(255, 246, 232, .25); background: rgba(10, 18, 40, .8); font-size: 17px; }
#marlin .tz-btns.act { margin: 0; }
#marlin .tz-btns.act button { min-height: 58px; font-size: 21px; }
#marlin .tz-btns.act .bet, #marlin .tz-btns.act .leave { background: #0B1838; }
#marlin .tz-btns.act .leave { font-size: 18px; }
#marlin .tz-in { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border-radius: 14px; background: rgba(141, 230, 214, .1);
  color: var(--mr-sea); font-size: 14px; font-weight: 800; }
#marlin .tz-in svg { width: 17px; height: 17px; stroke-width: 2.6; }
#marlin .tz-go { margin-top: 12px; }
#marlin .tz-mine { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 13.5px; font-weight: 800; color: var(--mr-sea); }
#marlin .tz-mine svg { width: 17px; height: 17px; }
#marlin .tz-lead { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
#marlin .tz-lead div { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(7, 15, 36, .5);
  font-size: 14px; font-weight: 700; }
#marlin .tz-lead div > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#marlin .tz-lead .p { font-size: 20px; color: var(--mr-lamp); text-align: center; }
#marlin .tz-lead .v { font-size: 19px; white-space: nowrap; }
#marlin .tz-lead .me { background: rgba(255, 199, 105, .1); box-shadow: inset 0 0 0 1px rgba(255, 199, 105, .4); }
#marlin .tz-lead .me span:nth-child(2) { color: var(--mr-lamp-2); }
#marlin .tz-more { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; font-size: 13.5px; font-weight: 800; color: var(--mr-lamp-2); }
#marlin .tz-more svg { width: 17px; height: 17px; }
#marlin .tz-win { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
#marlin .tz-win img { width: 84px; height: 40px; flex: none; object-fit: cover; }
#marlin .tz-win span { min-width: 0; font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--mr-mute); }
#marlin .tz-win b { color: var(--mr-ink); font-weight: 800; }
#marlin .tz-win em { font-style: normal; color: var(--mr-lamp-2); font-weight: 800; }
/* Forbes-строка (как a-forbes) */
#marlin .mr-forbes { width: calc(100% - 32px); margin: 14px 16px 0; display: flex; align-items: center; gap: 12px; padding: 13px 12px 13px 14px; border-radius: 18px; text-align: left;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 246, 232, .12); }
#marlin .mr-forbes .ic { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 199, 105, .12); color: var(--mr-lamp); }
#marlin .mr-forbes .ic svg { width: 19px; height: 19px; }
#marlin .mr-forbes .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
#marlin .mr-forbes b { font-size: 19px; line-height: 1.05; }
#marlin .mr-forbes small { font-size: 12.5px; font-weight: 600; color: var(--mr-mute); }
#marlin .mr-forbes > svg { width: 18px; height: 18px; color: var(--mr-dim); }
/* гостю: «Вступите в клуб» */
#marlin .tz-join { width: calc(100% - 32px); margin: 14px 16px 0; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; text-align: left;
  background: rgba(255, 199, 105, .08); border: 1px solid rgba(255, 199, 105, .4); }
#marlin .tz-join .ic { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 199, 105, .14); color: var(--mr-lamp); }
#marlin .tz-join .ic svg { width: 20px; height: 20px; }
#marlin .tz-join > span:not(.ic) { flex: 1; min-width: 0; }
#marlin .tz-join b { display: block; font-size: 15px; font-weight: 800; }
#marlin .tz-join small { display: block; font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--mr-mute); }
#marlin .tz-join > svg { width: 18px; height: 18px; color: var(--mr-dim); }

/* ── страница турнира ── */
#marlin .tz-tt { padding: 18px 16px 0; }
#marlin .tz-tt .tz-st { margin-bottom: 8px; }
#marlin .tz-tt h1 { font-size: min(52px, 13.4vw); line-height: .9; padding-right: .06em; text-shadow: 0 8px 28px rgba(2, 6, 18, .6); }
#marlin .tz-org { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--mr-mute); }
#marlin .tz-org b { color: var(--mr-ink); }
.tz-av { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font: italic 900 17px/1 var(--f-display); color: #2b1c02;
  background: linear-gradient(135deg, #FFE6A0, #C9953F); box-shadow: 0 0 0 2px rgba(7, 15, 36, .8); }
.tz-av.b { background: linear-gradient(135deg, #9FC3F2, #4C6FB0); color: #08142e; }
.tz-av.g { background: linear-gradient(135deg, #A8E8D6, #3E9A86); color: #052019; }
.tz-av.r { background: linear-gradient(135deg, #F4B6A8, #B5604D); color: #2a0c05; }
.tz-av.v { background: linear-gradient(135deg, #D2C2FF, #7B66C6); color: #150c33; }
.tz-av.me { background: linear-gradient(135deg, #FFF6E8, #CFC4B0); color: #1a1408; }
#marlin .tz-rule1 { margin: 12px 16px 0; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 246, 232, .1);
  font-size: 14.5px; font-weight: 600; line-height: 1.45; }
#marlin .tz-rule1 small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--mr-mute); }
#marlin .tz-bank { margin: 12px 16px 0; padding: 14px 16px; border-radius: 20px; background: linear-gradient(180deg, #1A2E63 0%, #0F1D44 100%); border: 1.5px solid rgba(255, 199, 105, .55); }
#marlin .tz-bank .lb { font-size: 13px; font-weight: 700; color: var(--mr-mute); }
#marlin .tz-bank .sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 2px; }
#marlin .tz-bank .sum b { font-size: 40px; line-height: 1; color: var(--mr-lamp-2); }
#marlin .tz-bank .sum span { font-size: 14px; font-weight: 700; }
#marlin .tz-bank .tz-brow { display: flex; justify-content: space-between; gap: 4px 10px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 246, 232, .1);
  font-size: 13px; font-weight: 700; color: var(--mr-mute); }
#marlin .tz-bank .tz-brow b { color: var(--mr-ink); }
#marlin .tz-split { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
#marlin .tz-split.one { grid-template-columns: 1fr; }
#marlin .tz-split.n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
#marlin .tz-split div { padding: 7px 4px; border-radius: 12px; background: rgba(7, 15, 36, .5); text-align: center; }
#marlin .tz-split small { display: block; font-size: 11.5px; font-weight: 700; color: var(--mr-mute); white-space: nowrap; }
#marlin .tz-split b { display: block; font-size: 18px; line-height: 1.1; }
#marlin .tz-split.n5 small { font-size: 10.5px; }
/* участники */
#marlin .tz-ppl, #marlin .tz-bets, #marlin .tz-board, #marlin .tz-fb { margin: 0 16px; padding: 0; list-style: none; border-radius: 20px; overflow: hidden;
  background: rgba(16, 29, 66, .94); border: 1px solid rgba(255, 246, 232, .13); }
#marlin .tz-ppl li { display: grid; grid-template-columns: 34px minmax(0, 1fr) 84px; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid rgba(255, 246, 232, .08); }
#marlin .tz-ppl li:last-child { border-bottom: 0; }
#marlin .tz-ppl .nm, #marlin .tz-board .nm, #marlin .tz-fb .nm { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
#marlin .tz-ppl .nm b { font-size: 15px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#marlin .tz-ppl .nm small { font-size: 12px; font-weight: 600; color: var(--mr-mute); }
#marlin .tz-ppl .yt { width: 84px; height: 36px; object-fit: contain; object-position: right center; }
#marlin .tz-ppl li.free { color: var(--mr-dim); font-size: 13.5px; font-weight: 700; grid-template-columns: 34px minmax(0, 1fr); }
#marlin .tz-ppl li.free .tz-av { background: none; border: 1.5px dashed rgba(255, 246, 232, .3); box-shadow: none; color: rgba(255, 246, 232, .4); }
/* ставки: сколько вернётся с 1 000 000 монет */
#marlin .tz-bets li { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 246, 232, .08); }
#marlin .tz-bets li:last-child { border-bottom: 0; }
#marlin .tz-bets .nm { font-size: 15px; font-weight: 800; }
#marlin .tz-bets .od { font-size: 12.5px; font-weight: 600; color: var(--mr-mute); }
#marlin .tz-bets .od b { color: var(--mr-lamp-2); font-weight: 800; }
#marlin .tz-mybet { margin: 10px 16px 0; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 18px; background: rgba(141, 230, 214, .07); border: 1px solid rgba(141, 230, 214, .34); }
#marlin .tz-mybet .ic { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(141, 230, 214, .12); color: var(--mr-sea); }
#marlin .tz-mybet .ic svg { width: 19px; height: 19px; }
#marlin .tz-mybet b { display: block; font-size: 16px; font-weight: 800; }
#marlin .tz-mybet small { display: block; font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--mr-mute); }
#marlin .tz-mybet small em { font-style: normal; color: var(--mr-lamp-2); font-weight: 800; }
#marlin .tz-mybet.win { background: rgba(255, 199, 105, .1); border-color: rgba(255, 199, 105, .55); }
#marlin .tz-mybet.win .ic { background: rgba(255, 199, 105, .16); color: var(--mr-lamp); }
#marlin .tz-mybet.lost { background: rgba(255, 255, 255, .04); border-color: rgba(255, 246, 232, .14); }
#marlin .tz-mybet.lost .ic { background: rgba(255, 255, 255, .06); color: var(--mr-dim); }
#marlin .tz-closed { margin: 0 16px; display: flex; gap: 8px; align-items: center; padding: 11px 14px; border-radius: 16px; border: 1.5px dashed rgba(255, 246, 232, .22);
  font-size: 13.5px; font-weight: 700; line-height: 1.35; color: var(--mr-mute); }
#marlin .tz-closed svg { width: 17px; height: 17px; flex: none; }
#marlin .tz-note { margin: 8px 18px 0; font-size: 12.5px; font-weight: 600; line-height: 1.4; color: var(--mr-dim); }
/* таблица в прямом эфире и итоги */
#marlin .tz-board li { display: grid; grid-template-columns: 26px 64px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid rgba(255, 246, 232, .08); }
#marlin .tz-board li:last-child { border-bottom: 0; }
#marlin .tz-board .p { font-size: 21px; line-height: 1; color: var(--mr-lamp); text-align: center; }
#marlin .tz-board img { width: 64px; height: 30px; object-fit: cover; }   /* картинки рыб квадратные — середина, где рыба */
#marlin .tz-board .nofish { width: 64px; height: 30px; border-radius: 10px; border: 1.5px dashed rgba(255, 246, 232, .18); }
#marlin .tz-board .nm b { font-size: 15px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#marlin .tz-board .nm small { font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--mr-mute); }
#marlin .tz-board .v { text-align: right; font-size: 20px; line-height: 1; white-space: nowrap; }
#marlin .tz-board .v small { display: block; margin-top: 2px; font-family: var(--f-text); font-style: normal; font-size: 11.5px; font-weight: 800; color: var(--mr-lamp-2); }
#marlin .tz-board li.me { background: rgba(255, 199, 105, .08); }
#marlin .tz-board li.me .nm b { color: var(--mr-lamp-2); }
#marlin .tz-board li.top { background: linear-gradient(90deg, rgba(255, 199, 105, .12), rgba(255, 199, 105, 0)); }
#marlin .tz-timer { margin: 12px 16px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#marlin .tz-timer div { padding: 11px 12px; border-radius: 16px; background: rgba(16, 29, 66, .94); border: 1px solid rgba(255, 246, 232, .13); min-width: 0; }
#marlin .tz-timer small { display: block; font-size: 12px; font-weight: 700; color: var(--mr-mute); }
#marlin .tz-timer b { display: block; margin-top: 2px; font-size: 24px; line-height: 1.05; }
#marlin .tz-timer b.gold { color: var(--mr-lamp-2); }
/* победитель */
#marlin .tz-winner { position: relative; margin: 14px 16px 0; padding: 16px; border-radius: 22px; overflow: hidden; isolation: isolate; text-align: center;
  background: radial-gradient(90% 70% at 50% 30%, rgba(255, 199, 105, .2), rgba(255, 199, 105, 0) 70%), linear-gradient(180deg, #1C3170 0%, #0F1D44 100%);
  border: 1.5px solid rgba(255, 199, 105, .7); }
#marlin .tz-winner .k { font-size: 13px; font-weight: 800; color: var(--mr-lamp); }
#marlin .tz-winner img { display: block; width: 92%; aspect-ratio: 2.1; object-fit: cover; margin: 4px auto 0; filter: drop-shadow(0 0 14px rgba(255, 236, 190, .35)); }
#marlin .tz-winner .w { margin-top: 4px; font-size: 64px; line-height: .85; }
#marlin .tz-winner .w small { font-size: 26px; color: var(--mr-lamp); margin-left: 4px; }
#marlin .tz-winner .who { margin-top: 6px; font-size: 22px; line-height: 1.1; }
#marlin .tz-winner .who span { display: block; margin-top: 3px; font-family: var(--f-text); font-style: normal; font-size: 13.5px; font-weight: 700; color: var(--mr-mute); }
#marlin .tz-winner .tz-prize { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; padding: 7px 14px; border-radius: 14px; background: rgba(7, 15, 36, .6);
  font-size: 14px; font-weight: 700; color: var(--mr-mute); }
#marlin .tz-winner .tz-prize b { font-size: 22px; color: var(--mr-lamp-2); }
/* Forbes */
#marlin .tz-pod { margin: 26px 16px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: end; }
#marlin .tz-pod.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#marlin .tz-pod.n1 { grid-template-columns: minmax(0, 1fr); max-width: 200px; margin-left: auto; margin-right: auto; }
#marlin .tz-pod div { position: relative; padding: 10px 8px 12px; border-radius: 18px; text-align: center; background: rgba(16, 29, 66, .94); border: 1px solid rgba(255, 246, 232, .13); min-width: 0; }
#marlin .tz-pod div.p1 { padding-top: 16px; border: 1.5px solid rgba(255, 199, 105, .7); background: linear-gradient(180deg, #1C3170 0%, #0F1D44 100%); }
#marlin .tz-pod div.me { box-shadow: 0 0 0 2px rgba(255, 199, 105, .35); }
#marlin .tz-pod .pl { position: absolute; left: 50%; top: -12px; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font: italic 900 16px/1 var(--f-display); color: #2b1c02; background: var(--mr-lamp); }
#marlin .tz-pod div.p2 .pl, #marlin .tz-pod div.p3 .pl { background: #D7DCE4; }
#marlin .tz-pod img { display: block; width: 100%; height: 44px; object-fit: contain; margin-top: 4px; }
#marlin .tz-pod b { display: block; margin-top: 6px; font-size: 14.5px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#marlin .tz-pod .v { display: block; margin-top: 2px; font-size: 21px; line-height: 1; color: var(--mr-lamp-2); white-space: nowrap; }
#marlin .tz-pod small { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 600; color: var(--mr-mute); }
#marlin .tz-fb { margin-top: 10px; }
#marlin .tz-fb li { display: grid; grid-template-columns: 26px 44px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid rgba(255, 246, 232, .08); }
#marlin .tz-fb li:last-child { border-bottom: 0; }
#marlin .tz-fb .p { font-size: 21px; color: var(--mr-lamp); text-align: center; }
#marlin .tz-fb .no { height: 28px; border-radius: 6px; display: grid; place-items: center; font: italic 900 14px/1 var(--f-display); color: var(--mr-lamp-2); white-space: nowrap;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, rgba(0, 0, 0, .16) 1px 2px, rgba(255, 255, 255, 0) 2px 3px), linear-gradient(155deg, #23407F, #0B1A44);
  box-shadow: inset 0 0 0 1px rgba(255, 205, 120, .55); }
#marlin .tz-fb .nm b { font-size: 15px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#marlin .tz-fb .nm small { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--mr-mute); white-space: nowrap; overflow: hidden; }
#marlin .tz-fb .nm img { width: 46px; height: 18px; object-fit: contain; flex: none; }
#marlin .tz-fb .v { text-align: right; font-size: 20px; line-height: 1; white-space: nowrap; }
#marlin .tz-fb .v small { display: block; margin-top: 1px; font-family: var(--f-text); font-style: normal; font-size: 11px; font-weight: 700; color: var(--mr-mute); }
#marlin .tz-fb li.me { background: rgba(255, 199, 105, .1); box-shadow: inset 3px 0 0 var(--mr-lamp); }
#marlin .tz-fb li.me .nm b { color: var(--mr-lamp-2); }
#marlin .tz-fb li.gap { display: block; padding: 8px 12px 10px 48px; background: rgba(255, 199, 105, .1); font-size: 13px; font-weight: 700; color: var(--mr-lamp-2); }
#marlin .tz-gap { margin: 10px 18px 0; font-size: 13px; font-weight: 700; color: var(--mr-lamp-2); text-align: center; }
#marlin .tz-what { margin: 12px 16px 0; font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--mr-mute); }

/* ── шторки «Устроить свой турнир» и «Ставка» (core/ui.js openSheet, класс mr-sheet tz-sheet) ── */
.mr-sheet.tz-sheet { max-height: 92%; }
.tz-sheet .sheet-body { padding-top: 0; }
.tz-sheet button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; -webkit-tap-highlight-color: transparent; }
.tz-sheet .tz-sub { margin: 0; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--mr-mute); }
.tz-sheet .tz-grp { margin-top: 14px; padding: 14px; border-radius: 20px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 246, 232, .1); }
.tz-sheet .tz-grp > b { display: flex; align-items: center; gap: 8px; font-size: 21px; line-height: 1; }
.tz-sheet .tz-grp > b i { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 800 13px/1 var(--f-text); font-style: normal; color: #2b1c02; background: var(--mr-lamp); }
.tz-sheet .tz-fld { margin-top: 12px; }
.tz-sheet .tz-fld > span { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; color: var(--mr-mute); }
.tz-sheet .tz-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tz-sheet .tz-chips button { min-height: 40px; padding: 6px 13px; border-radius: 13px; display: inline-flex; flex-direction: column; justify-content: center; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 246, 232, .14); font-size: 14px; font-weight: 800; line-height: 1.15; }
.tz-sheet .tz-chips button small { font-size: 11.5px; font-weight: 600; color: var(--mr-mute); }
.tz-sheet .tz-chips button.on { background: var(--mr-lamp); border-color: var(--mr-lamp); color: #2b1c02; }
.tz-sheet .tz-chips button.on small { color: rgba(43, 28, 2, .7); }
.tz-sheet .tz-chips button.off { opacity: .45; border-style: dashed; }
.tz-sheet .tz-chips.eq4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tz-sheet .tz-chips.eq3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tz-sheet .tz-chips.eq4 button, .tz-sheet .tz-chips.eq3 button { align-items: center; text-align: center; padding: 6px 4px; }
.tz-sheet .tz-opt { display: flex; flex-direction: column; gap: 6px; }
.tz-sheet .tz-opt button, .tz-sheet .tz-toggle { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 246, 232, .12); font-size: 14.5px; font-weight: 700; line-height: 1.3; text-align: left; }
.tz-sheet .tz-opt button i { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 2px solid rgba(255, 246, 232, .35); }
.tz-sheet .tz-opt button.on { border-color: var(--mr-lamp); background: rgba(255, 199, 105, .08); }
.tz-sheet .tz-opt button.on i { border: 6px solid var(--mr-lamp); }
.tz-sheet .tz-opt small, .tz-sheet .tz-toggle small { display: block; font-size: 12px; font-weight: 600; color: var(--mr-mute); }
.tz-sheet .tz-toggle { margin-top: 12px; }
.tz-sheet .tz-toggle i { position: relative; width: 42px; height: 24px; flex: none; border-radius: 12px; background: rgba(255, 255, 255, .14); transition: background-color .2s; }
.tz-sheet .tz-toggle i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #F6F3EC; transition: transform .2s; }
.tz-sheet .tz-toggle.on { border-color: var(--mr-lamp); background: rgba(255, 199, 105, .08); }
.tz-sheet .tz-toggle.on i { background: var(--mr-lamp); }
.tz-sheet .tz-toggle.on i::after { transform: translateX(18px); background: #2b1c02; }
.tz-sheet .tz-step { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 8px; }
.tz-sheet .tz-step button { height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 246, 232, .16);
  font: 800 26px/1 var(--f-text); color: var(--mr-lamp-2); text-align: center; }
.tz-sheet .tz-step button:disabled { opacity: .3; }
.tz-sheet .tz-step div { text-align: center; min-width: 0; }
.tz-sheet .tz-step b { display: block; font-size: 28px; line-height: 1; }
.tz-sheet .tz-step small { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--mr-mute); }
.tz-sheet .tz-sum { margin-top: 14px; padding: 14px 16px; border-radius: 20px; background: linear-gradient(180deg, #1A2E63 0%, #10204A 100%); border: 1.5px solid rgba(255, 199, 105, .55); }
.tz-sheet .tz-sum .lb2 { font-size: 13px; font-weight: 700; color: var(--mr-mute); }
.tz-sheet .tz-sum .big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 2px; }
.tz-sheet .tz-sum .big b { font-size: 36px; line-height: 1; color: var(--mr-lamp-2); }
.tz-sheet .tz-sum .big span { font-size: 14px; font-weight: 700; }
.tz-sheet .tz-sum ul { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 5px; }
.tz-sheet .tz-sum li { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--mr-mute); }
.tz-sheet .tz-sum li b { color: var(--mr-ink); font-weight: 800; white-space: nowrap; }
.tz-sheet .tz-sumnote { margin: 8px 0 0; font-size: 12px; font-weight: 600; line-height: 1.4; color: var(--mr-dim); }
.tz-sheet .tz-foot { background: #0E1A3E; border-top: 1px solid rgba(255, 199, 105, .18); }
.tz-sheet .tz-foot small { display: block; margin-top: 8px; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--mr-mute); }
.tz-sheet .mr-go { width: 100%; min-height: 56px; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-align: center;
  font: italic 900 24px/1 var(--f-display); color: #3a2300; background: linear-gradient(100deg, #FFE6A0, #E8B55C); box-shadow: 0 10px 26px rgba(232, 181, 92, .3); }
.tz-sheet .mr-go.two { min-height: 64px; padding: 9px 16px; }
.tz-sheet .mr-go small { margin: 0; font: 700 13px/1.25 var(--f-text); color: rgba(58, 35, 0, .78); text-wrap: balance; }
.tz-sheet .mr-go.off { color: rgba(255, 226, 160, .7); background: rgba(255, 199, 105, .07); border: 1.5px dashed rgba(255, 199, 105, .42); box-shadow: none; }
.tz-sheet .mr-go.off small { color: var(--mr-mute); }
.tz-sheet .tz-pick { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.tz-sheet .tz-pick button { width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 12px 7px 9px; border-radius: 15px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 246, 232, .12); text-align: left; }
.tz-sheet .tz-pick .nm { min-width: 0; }
.tz-sheet .tz-pick .nm b { display: block; font-size: 15px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tz-sheet .tz-pick .nm small { display: block; font-size: 12px; font-weight: 600; color: var(--mr-mute); }
.tz-sheet .tz-pick .x3 { text-align: right; font-size: 20px; line-height: 1; color: var(--mr-lamp-2); }
.tz-sheet .tz-pick .x3 small { display: block; font-family: var(--f-text); font-style: normal; font-size: 11px; font-weight: 700; color: var(--mr-mute); }
.tz-sheet .tz-pick button.on { border: 1.5px solid var(--mr-lamp); background: rgba(255, 199, 105, .09); }
.tz-sheet .tz-pick button.on .nm small { color: var(--mr-lamp); font-weight: 800; }
.tz-sheet .tz-pick button.off { opacity: .45; }
.tz-sheet .tz-lim { margin-top: 12px; display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: rgba(141, 230, 214, .07);
  border: 1px solid rgba(141, 230, 214, .3); font-size: 13px; font-weight: 700; line-height: 1.4; }
.tz-sheet .tz-lim svg { width: 17px; height: 17px; margin-top: 1px; flex: none; color: var(--mr-sea); }
.tz-sheet .tz-lim b { color: var(--mr-lamp-2); }
.tz-sheet .tz-fine { margin: 10px 0 0; text-align: center; font-size: 12.5px; font-weight: 600; line-height: 1.4; color: var(--mr-dim); }
@media (max-width: 370px) {
  .tz-sheet .tz-chips button { padding: 6px 10px; font-size: 13.5px; }
  .tz-sheet .tz-chips.eq4 button, .tz-sheet .tz-chips.eq3 button { font-size: 13px; }
  #marlin .tz-split.n5 small { font-size: 9.5px; }
}

/* ── этап 2 «Деньги клуба»: доли бизнесов и аукционный дом клуба (макеты update/mockups/club/club_money.css; приставка mr-) ── */
#marlin .mr-sec small.mr-gold { color: var(--mr-lamp); }
#marlin .pr-legend li > span:nth-child(2) small { display: block; margin-top: 1px; font-size: 12px; font-weight: 600; color: var(--mr-dim); }
/* строки «подпись — число» в карточках бизнеса и торгов */
#marlin .mr-rows li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(255, 246, 232, .09);
  font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--mr-mute); }
#marlin .mr-rows li:last-of-type { border-bottom: 0; }
#marlin .mr-rows li > span { min-width: 0; }
#marlin .mr-rows li b { flex: none; font-size: 20px; line-height: 1; color: var(--mr-ink); white-space: nowrap; }
#marlin .mr-rows li b small { font-family: var(--f-text); font-style: normal; font-size: 12px; font-weight: 700; color: var(--mr-mute); margin-left: 4px; }
#marlin .mr-rows li b.none { font-size: 13.5px; font-weight: 700; color: var(--mr-dim); }

/* карточка «Аукционный дом клуба · Торги недели» наверху «Имущества» */
#marlin .mr-hw { position: relative; display: block; margin: 18px 16px 0; padding: 14px 14px 12px 16px; border-radius: 22px; overflow: hidden; isolation: isolate; cursor: pointer;
  background: linear-gradient(180deg, #1A2E63 0%, #0F1D44 100%); border: 1.5px solid rgba(255, 199, 105, .6); box-shadow: 0 16px 34px rgba(0, 0, 0, .35); transition: transform .15s; }
#marlin .mr-hw:active { transform: scale(.985); }
#marlin .mr-hw > svg.bgi { position: absolute; z-index: -1; right: -14px; top: -14px; width: 118px; height: 118px; color: rgba(255, 199, 105, .1); stroke-width: 1.3; }
#marlin .mr-hw .k { font-size: 13px; font-weight: 700; color: var(--mr-lamp); }
#marlin .mr-hw .t { display: block; margin-top: 3px; font-size: 26px; line-height: .95; }
#marlin .mr-hw-lots { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
#marlin .mr-hw-lots li { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 10px 7px 7px; border-radius: 14px; background: rgba(7, 15, 36, .8); }
#marlin .mr-hw-lots img { width: 42px; height: 42px; border-radius: 11px; object-fit: cover; object-position: 50% 18%; }
#marlin .mr-hw-lots .nm { min-width: 0; }
#marlin .mr-hw-lots .nm b { display: block; font-size: 14.5px; font-weight: 800; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#marlin .mr-hw-lots .nm small { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 700; line-height: 1.25; color: var(--mr-mute); }
#marlin .mr-hw-lots .nm small.out { color: var(--mr-red); }
#marlin .mr-hw-lots .nm small.is-lead { color: var(--mr-sea); }
#marlin .mr-hw-lots .v { text-align: right; font-size: 22px; line-height: 1; color: var(--mr-lamp-2); white-space: nowrap; }
#marlin .mr-hw-lots .v small { display: block; max-width: 112px; margin: 2px 0 0 auto; overflow: hidden; text-overflow: ellipsis; font-family: var(--f-text); font-style: normal; font-size: 11px;
  font-weight: 700; color: var(--mr-mute); }
#marlin .mr-hw-none { margin-top: 8px; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--mr-mute); }
#marlin .mr-hw-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--mr-mute); }
#marlin .mr-hw-row > span { display: inline-flex; align-items: center; gap: 5px; }
#marlin .mr-hw-row svg { width: 15px; height: 15px; }
#marlin .mr-hw-row .go { color: var(--mr-lamp-2); font-weight: 800; gap: 2px; }
#marlin .mr-hw-row .go svg { width: 16px; height: 16px; }

/* карточка бизнеса на «Имуществе» */
#marlin .mr-biz { display: block; margin: 0 16px 10px; border-radius: 22px; overflow: hidden; cursor: pointer; background: linear-gradient(180deg, #14254F 0%, #0D1937 100%);
  border: 1px solid var(--mr-line); transition: transform .15s; }
#marlin .mr-biz:active { transform: scale(.985); }
#marlin .mr-biz-pic { position: relative; height: 138px; background: #0D1937 var(--mr-pic) 50% 20% / cover no-repeat; }
#marlin .mr-biz-pic::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 46, .1) 0%, rgba(10, 20, 46, .2) 40%, rgba(19, 36, 77, .92) 88%, #13244D 100%); }
#marlin .mr-biz-pic .nm { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 6px; font-size: 32px; line-height: .95; padding-right: .06em; text-shadow: 0 4px 16px rgba(0, 0, 0, .75); }
#marlin .mr-biz-pic .mine { position: absolute; z-index: 1; right: 10px; top: 10px; max-width: calc(100% - 20px); padding: 4px 10px 5px; border-radius: 11px; font-size: 12.5px; font-weight: 800;
  color: #2b1c02; background: var(--mr-lamp); box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
#marlin .mr-biz-tx { padding: 8px 14px 12px; }
#marlin .mr-biz-more { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 246, 232, .1);
  font-size: 13.5px; font-weight: 800; color: var(--mr-lamp-2); }
#marlin .mr-biz-more svg { width: 17px; height: 17px; }

/* страница бизнеса: картинка во всю ширину сверху */
#marlin .mr-bg.mr-bizbg { height: 390px; background: #0D1937 var(--mr-pic) 50% 16% / cover no-repeat; }
#marlin .mr-bg.mr-bizbg::after { background: linear-gradient(180deg, rgba(7, 15, 36, .62) 0%, rgba(7, 15, 36, .08) 22%, rgba(7, 15, 36, .12) 46%, rgba(7, 15, 36, .78) 72%, var(--mr-night) 100%); }
#marlin .mr-bz-h { padding: 196px 16px 0; }
#marlin .mr-bz-h .k { display: inline-block; padding: 3px 10px 4px; border-radius: 11px; font-size: 12.5px; font-weight: 800; color: var(--mr-lamp-2); background: rgba(7, 15, 36, .72); }
#marlin .mr-bz-h h1 { margin-top: 8px; font-size: min(56px, 14.6vw); line-height: .88; padding-right: .06em; text-shadow: 0 8px 28px rgba(2, 6, 18, .8); }
#marlin .mr-bz-say { margin: 12px 16px 0; font-size: 15.5px; font-weight: 700; line-height: 1.4; color: var(--mr-ink); }
#marlin .mr-bz-say small { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--mr-mute); }

/* деньги по неделям: восемь столбиков, подписаны первый и прошлая неделя */
#marlin .mr-pay { margin: 0 16px; padding: 14px 16px 12px; border-radius: 22px; background: linear-gradient(180deg, #14254F 0%, #0D1937 100%); border: 1px solid var(--mr-line); }
#marlin .mr-pay .lb { font-size: 13px; font-weight: 700; color: var(--mr-mute); }
#marlin .mr-pay .big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 2px; }
#marlin .mr-pay .big b { font-size: 38px; line-height: 1; color: var(--mr-lamp-2); }
#marlin .mr-pay .big b.none { font-size: 30px; color: var(--mr-dim); }
#marlin .mr-pay .big span { font-size: 14px; font-weight: 700; }
#marlin .mr-pay-bars { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; align-items: end; height: 132px; margin-top: 10px; padding-top: 22px;
  border-bottom: 1px solid rgba(255, 246, 232, .18); }
#marlin .mr-pay-bars i { position: relative; display: block; height: var(--h); border-radius: 4px 4px 0 0; background: rgba(141, 170, 235, .36); }
#marlin .mr-pay-bars i.last { background: var(--mr-lamp); }
#marlin .mr-pay-bars i.zero { height: 2px; border-radius: 1px; background: rgba(141, 170, 235, .22); }
#marlin .mr-pay-bars i b { position: absolute; left: 50%; bottom: calc(100% + 5px); transform: translateX(-50%); white-space: nowrap; font: italic 900 14px/1 var(--f-display); color: var(--mr-ink); }
#marlin .mr-pay-bars i b.l { left: 0; transform: none; }
#marlin .mr-pay-bars i b.r { left: auto; right: 0; transform: none; color: var(--mr-lamp-2); }
#marlin .mr-pay-ax { display: flex; justify-content: space-between; gap: 10px; margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--mr-dim); }
#marlin .mr-pay-foot { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 246, 232, .1); font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--mr-mute); }
#marlin .mr-pay-foot b { color: var(--mr-ink); font-weight: 800; }

/* десять номерных долей */
#marlin .mr-dl { margin: 0 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#marlin .mr-dl li { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: center; gap: 9px; min-height: 62px; padding: 8px 10px 8px 8px; border-radius: 16px;
  background: rgba(16, 29, 66, .94); border: 1px solid rgba(255, 246, 232, .13); }
#marlin .mr-dl li.tap { cursor: pointer; }
#marlin .mr-dl .n { height: 46px; border-radius: 10px; display: grid; place-items: center; font-size: 19px; line-height: 1; color: var(--mr-lamp-2); white-space: nowrap;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, rgba(0, 0, 0, .16) 1px 2px, rgba(255, 255, 255, 0) 2px 3px), linear-gradient(155deg, #23407F, #0B1A44);
  box-shadow: inset 0 0 0 1px rgba(255, 205, 120, .55); }
#marlin .mr-dl .nm { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
#marlin .mr-dl .nm b { font-size: 15px; font-weight: 800; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#marlin .mr-dl .nm small { font-size: 12px; font-weight: 600; line-height: 1.25; color: var(--mr-mute); }
#marlin .mr-dl .nm small em { font-style: normal; font-weight: 800; color: var(--mr-lamp); }
#marlin .mr-dl li.me { border: 1.5px solid var(--mr-lamp); background: rgba(255, 199, 105, .1); }
#marlin .mr-dl li.me .nm b { color: var(--mr-lamp-2); }
#marlin .mr-dl li.sale { border: 1.5px dashed rgba(255, 199, 105, .6); background: rgba(255, 199, 105, .05); }
#marlin .mr-dl li.sale .nm b { color: var(--mr-lamp); }
#marlin .mr-dl li.club { background: rgba(255, 255, 255, .02); border: 1px dashed rgba(255, 246, 232, .2); }
#marlin .mr-dl li.club .n { color: rgba(255, 246, 232, .45); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 246, 232, .14); }
#marlin .mr-dl li.club .nm b { color: rgba(255, 246, 232, .6); font-weight: 700; }
#marlin .mr-dl-note { margin: 10px 16px 0; display: flex; gap: 8px; align-items: flex-start; font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--mr-mute); }
#marlin .mr-dl-note svg { width: 16px; height: 16px; margin-top: 1px; color: var(--mr-lamp); }

/* ваша доля */
#marlin .mr-my { margin: 0 16px 10px; padding: 14px; border-radius: 22px; background: linear-gradient(180deg, #1A2E63 0%, #0F1D44 100%); border: 1.5px solid rgba(255, 199, 105, .55); }
#marlin .mr-my-h b { display: block; font-size: 26px; line-height: 1; padding-right: .06em; }
#marlin .mr-my-h small { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; color: var(--mr-mute); }
#marlin .mr-my-weeks { margin-top: 10px; }
#marlin .mr-my-weeks li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255, 246, 232, .09);
  font-size: 14px; font-weight: 700; color: var(--mr-mute); }
#marlin .mr-my-weeks li b { font-size: 20px; line-height: 1; color: var(--mr-ink); white-space: nowrap; }
#marlin .mr-my-weeks li b small { font-family: var(--f-text); font-style: normal; font-size: 12px; font-weight: 700; color: var(--mr-mute); margin-left: 4px; }
#marlin .mr-my-weeks li.tot { border-bottom: 0; color: var(--mr-ink); }
#marlin .mr-my-weeks li.tot b { font-size: 24px; color: var(--mr-lamp-2); }
#marlin .mr-my-weeks li.none { border-bottom: 0; font-size: 13.5px; font-weight: 600; line-height: 1.4; }
#marlin .mr-out { width: 100%; margin-top: 10px; min-height: 52px; padding: 7px 12px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; text-align: center; font-size: 21px; line-height: 1.05; color: var(--mr-lamp-2); border: 1.5px solid rgba(255, 199, 105, .6); background: rgba(7, 15, 36, .35); transition: transform .15s; }
#marlin .mr-out:active { transform: scale(.98); }
#marlin .mr-out small { font-family: var(--f-text); font-style: normal; font-weight: 700; font-size: 12px; line-height: 1.25; color: var(--mr-mute); }
/* содержание доли (11.11): до какого дня оплачена; за два дня до конца — красным */
#marlin .mr-up { margin-top: 10px; padding: 10px 12px; border-radius: 14px; display: flex; gap: 9px; align-items: flex-start; background: rgba(7, 15, 36, .35); border: 1px solid rgba(255, 246, 232, .12); }
#marlin .mr-up svg { width: 18px; height: 18px; margin-top: 1px; flex: none; color: var(--mr-lamp); }
#marlin .mr-up span { min-width: 0; }
#marlin .mr-up b { display: block; font-size: 14.5px; font-weight: 800; line-height: 1.3; color: var(--mr-ink); }
#marlin .mr-up small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; line-height: 1.35; color: var(--mr-mute); }
#marlin .mr-up.due { border-color: rgba(255, 122, 110, .55); background: rgba(255, 122, 110, .08); }
#marlin .mr-up.due svg, #marlin .mr-up.due b { color: var(--mr-red); }
#marlin .mr-out.hot { color: #1A1206; background: linear-gradient(180deg, var(--mr-lamp-2), var(--mr-lamp)); border-color: transparent; }
#marlin .mr-out.hot small { color: rgba(26, 18, 6, .72); }
#marlin .mr-bzr .nm small.mr-due { color: var(--mr-red); font-weight: 800; }
.mr-msheet .mr-lim.mr-lim-red { background: rgba(255, 122, 110, .07); border-color: rgba(255, 122, 110, .35); }
.mr-msheet .mr-lim.mr-lim-red svg { color: var(--mr-red); }
/* «Снять с торгов» — тихая ссылка под кнопкой своей доли на торгах, пока ставок нет */
#marlin .mr-unlist { display: block; margin: 8px auto 0; padding: 8px 14px; font-size: 13px; font-weight: 700; color: var(--mr-mute);
  text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; }
#marlin .mr-unlist:active { opacity: .7; }
#marlin .mr-pubnote { margin: 16px 16px 0; padding: 12px 14px; border-radius: 16px; border: 1.5px dashed rgba(255, 246, 232, .22); font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--mr-mute); }
#marlin .mr-pubnote b { color: var(--mr-ink); }

/* аукционный дом клуба */
#marlin .mr-ah-when { margin: 0 16px 10px; display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: rgba(255, 199, 105, .08);
  border: 1px solid rgba(255, 199, 105, .32); font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--mr-ink); }
#marlin .mr-ah-when svg { width: 17px; height: 17px; margin-top: 1px; flex: none; color: var(--mr-lamp); }
#marlin .mr-ah-when b { color: var(--mr-lamp-2); }
#marlin .mr-lot { margin: 0 16px 10px; padding: 12px 14px 14px; border-radius: 20px; background: rgba(16, 29, 66, .94); border: 1px solid rgba(255, 246, 232, .13); }
#marlin .mr-lot.out { border-color: rgba(255, 156, 138, .5); }
#marlin .mr-lot.is-lead { border-color: rgba(141, 230, 214, .45); }
#marlin .mr-lot.mine { border-color: rgba(255, 199, 105, .45); }
#marlin .mr-lot-h { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; }
#marlin .mr-lot-h img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; object-position: 50% 18%; }
#marlin .mr-lot-h > span { min-width: 0; }
#marlin .mr-lot-h b { display: block; font-size: 24px; line-height: 1; padding-right: .06em; }
#marlin .mr-lot-h small { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 700; line-height: 1.3; color: var(--mr-mute); }
#marlin .mr-lot-st { margin-top: 10px; }
#marlin .mr-lot-bid { margin-top: 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(7, 15, 36, .55); }
#marlin .mr-lot-bid small { display: block; font-size: 12px; font-weight: 700; color: var(--mr-mute); }
#marlin .mr-lot-bid .sum { min-width: 0; }
#marlin .mr-lot-bid .sum b { font-size: 27px; line-height: 1; color: var(--mr-lamp-2); white-space: nowrap; }
#marlin .mr-lot-bid .sum > span { font-size: 13px; font-weight: 700; margin-left: 4px; }
#marlin .mr-lot-bid .who { min-width: 0; max-width: 120px; text-align: right; }
#marlin .mr-lot-bid .who b { display: block; margin-top: 2px; font-size: 16px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#marlin .mr-lot-me { margin-top: 8px; display: flex; gap: 7px; align-items: flex-start; font-size: 13px; font-weight: 700; line-height: 1.35; }
#marlin .mr-lot-me svg { width: 16px; height: 16px; margin-top: 1px; flex: none; }
#marlin .mr-lot-me span { min-width: 0; color: var(--mr-mute); font-weight: 600; }
#marlin .mr-lot-me em { font-style: normal; font-weight: 800; }
#marlin .mr-lot-me.out svg, #marlin .mr-lot-me.out em { color: var(--mr-red); }
#marlin .mr-lot-me.is-lead svg, #marlin .mr-lot-me.is-lead em { color: var(--mr-sea); }
#marlin .mr-lot-me.mine svg, #marlin .mr-lot-me.mine em { color: var(--mr-lamp); }
#marlin .mr-lot-me span b { color: var(--mr-ink); font-weight: 800; }
#marlin .mr-lot .mr-rows { margin-top: 4px; }
#marlin .mr-lot-go { width: 100%; margin-top: 12px; min-height: 52px; padding: 7px 12px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; text-align: center; font-size: 21px; line-height: 1.05; color: #3a2300; background: linear-gradient(100deg, #FFE6A0, #E8B55C); transition: transform .15s; }
#marlin .mr-lot-go:active { transform: scale(.98); }
#marlin .mr-lot-go small { font-family: var(--f-text); font-style: normal; font-weight: 700; font-size: 12px; line-height: 1.25; color: rgba(58, 35, 0, .78); }
#marlin .mr-lot-go.sec { color: var(--mr-lamp-2); background: rgba(7, 15, 36, .35); border: 1.5px solid rgba(255, 199, 105, .55); }
#marlin .mr-lot-go.sec small { color: var(--mr-mute); }
#marlin .mr-lot-go.off { color: rgba(255, 226, 160, .7); background: rgba(255, 199, 105, .07); border: 1.5px dashed rgba(255, 199, 105, .42); }
#marlin .mr-lot-go.off small { color: var(--mr-mute); }
#marlin .mr-past { margin: 0 16px; border-radius: 20px; overflow: hidden; background: rgba(16, 29, 66, .94); border: 1px solid rgba(255, 246, 232, .13); }
#marlin .mr-past li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 10px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 246, 232, .08); }
#marlin .mr-past li:last-child { border-bottom: 0; }
#marlin .mr-past .nm { min-width: 0; }
#marlin .mr-past .nm b { display: block; font-size: 14.5px; font-weight: 800; line-height: 1.25; }
#marlin .mr-past .nm small { display: block; margin-top: 1px; font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--mr-mute); }
#marlin .mr-past .v { text-align: right; font-size: 20px; line-height: 1; white-space: nowrap; }
#marlin .mr-past .v small { display: block; margin-top: 2px; font-family: var(--f-text); font-style: normal; font-size: 11px; font-weight: 700; color: var(--mr-mute); }
#marlin .mr-past li.me .nm small { color: var(--mr-lamp-2); }
#marlin .mr-note-s { margin: 8px 18px 0; font-size: 12.5px; font-weight: 600; line-height: 1.4; color: var(--mr-dim); }

/* шторки «Поднять ставку» и «Выставить долю на торги» (core/ui.js openSheet, класс mr-sheet tz-sheet mr-msheet) */
.mr-msheet .sheet-head { flex-direction: column; align-items: flex-start; gap: 0; }
.mr-msheet .sheet-head h3 { flex: none; padding-right: .06em; }
.mr-msheet .sheet-head .sub { display: block; margin-top: 5px; font-family: var(--f-text); font-style: normal; font-size: 13.5px; font-weight: 700; color: var(--mr-mute); }
.mr-msheet .mr-cur { margin-top: 2px; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; border-radius: 16px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 246, 232, .12); }
.mr-msheet .mr-cur img { width: 52px; height: 52px; border-radius: 13px; object-fit: cover; object-position: 50% 18%; }
.mr-msheet .mr-cur > span { min-width: 0; }
.mr-msheet .mr-cur small { display: block; font-size: 12.5px; font-weight: 700; color: var(--mr-mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mr-msheet .mr-cur b { display: block; margin-top: 2px; font-size: 24px; line-height: 1; color: var(--mr-lamp-2); }
.mr-msheet .mr-cur b span { font-family: var(--f-text); font-style: normal; font-size: 13px; font-weight: 700; color: var(--mr-ink); margin-left: 3px; }
.mr-msheet .mr-cur.own b { color: var(--mr-ink); padding-right: .06em; }
.mr-msheet .mr-cur .back { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--mr-sea); }
.mr-msheet .mr-cur.own .back { color: var(--mr-mute); }
.mr-msheet .tz-fld { margin-top: 14px; }
.mr-msheet .mr-step b { font-size: 32px; color: var(--mr-lamp-2); }
.mr-msheet .mr-chips { margin-top: 8px; }
.mr-msheet .mr-chips button { min-height: 44px; font-size: 13.5px; line-height: 1.15; }
.mr-msheet .tz-chips.eq2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.mr-msheet .tz-chips.eq2 button, .mr-msheet .tz-chips.eq3 button { align-items: center; text-align: center; padding: 6px 4px; }
.mr-msheet .tz-chips.eq2 button { min-height: 52px; }
.mr-msheet .mr-hint { margin: 8px 0 0; font-size: 12.5px; font-weight: 600; line-height: 1.4; color: var(--mr-mute); }
.mr-msheet .mr-hint b { color: var(--mr-ink); font-weight: 800; }
.mr-msheet .mr-sum { padding: 12px 14px; }
.mr-msheet .mr-sum ul { margin-top: 0; }
.mr-msheet .mr-sum li > span { min-width: 0; }
.mr-msheet .mr-sum li.big2 { align-items: baseline; color: var(--mr-ink); font-size: 14.5px; }
.mr-msheet .mr-sum li.big2 b { font-size: 22px; line-height: 1; color: var(--mr-lamp-2); }
.mr-msheet .mr-sum p { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid rgba(255, 246, 232, .1); font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--mr-mute); }
.mr-msheet .mr-sum p b { color: var(--mr-ink); font-weight: 800; }
.mr-msheet .mr-lim { padding: 8px 11px; font-size: 12.5px; }
.mr-msheet .mr-lim + .mr-lim { margin-top: 8px; }
.mr-msheet .mr-lim.mr-lim-gold { background: rgba(255, 199, 105, .07); border-color: rgba(255, 199, 105, .3); }
.mr-msheet .mr-lim.mr-lim-gold svg { color: var(--mr-lamp); }

/* окно «Доли принесли за неделю» — при входе в клуб, поверх «Имущества» */
#marlin .mr-paid { position: absolute; inset: 0; z-index: 45; display: grid; place-items: center; padding: 16px; animation: mrPaidIn .3s var(--ease) both; }
#marlin .mr-paid.out { animation: mrPaidOut .26s var(--ease) both; pointer-events: none; }
@keyframes mrPaidIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes mrPaidOut { from { opacity: 1; } to { opacity: 0; } }
#marlin .mr-lt-back { position: absolute; inset: 0; background: rgba(2, 5, 14, .76); }
#marlin .mr-lt { position: relative; width: 100%; max-width: 380px; max-height: calc(100% - 16px); overflow-y: auto; overscroll-behavior: contain;
  padding: 20px 16px 16px; border-radius: 26px; text-align: center; color: var(--mr-ink);
  background: radial-gradient(90% 50% at 50% 0%, rgba(255, 199, 105, .18), rgba(255, 199, 105, 0) 70%), linear-gradient(180deg, #1A2E63 0%, #0E1A3E 100%);
  border: 1.5px solid rgba(255, 199, 105, .6); box-shadow: 0 30px 70px rgba(0, 0, 0, .6); animation: mrPaidUp .4s var(--ease) both; }
@keyframes mrPaidUp { from { transform: translateY(16px) scale(.97); } to { transform: none; } }
#marlin .mr-lt .ic { width: 54px; height: 54px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 199, 105, .16); color: var(--mr-lamp); }
#marlin .mr-lt .ic svg { width: 28px; height: 28px; stroke-width: 1.8; }
#marlin .mr-lt .k { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--mr-lamp); }
#marlin .mr-lt h2 { margin-top: 4px; font-size: 32px; line-height: .95; }
#marlin .mr-lt-rows { margin-top: 14px; text-align: left; border-radius: 18px; overflow: hidden; background: rgba(7, 15, 36, .5); }
#marlin .mr-lt-rows li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 12px 9px 9px; border-bottom: 1px solid rgba(255, 246, 232, .08); }
#marlin .mr-lt-rows li:last-child { border-bottom: 0; }
#marlin .mr-lt-rows img { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; object-position: 50% 18%; }
#marlin .mr-lt-rows .nm { min-width: 0; }
#marlin .mr-lt-rows .nm b { display: block; font-size: 15px; font-weight: 800; line-height: 1.2; }
#marlin .mr-lt-rows .nm small { display: block; font-size: 12.5px; font-weight: 600; color: var(--mr-mute); }
#marlin .mr-lt-rows .v { text-align: right; font-size: 21px; line-height: 1; white-space: nowrap; }
#marlin .mr-lt-rows .v small { display: block; margin-top: 2px; font-family: var(--f-text); font-style: normal; font-size: 11px; font-weight: 700; color: var(--mr-mute); }
#marlin .mr-lt-tot { margin-top: 14px; }
#marlin .mr-lt-tot small { display: block; font-size: 13px; font-weight: 700; color: var(--mr-mute); }
#marlin .mr-lt-tot b { display: block; margin-top: 2px; font-size: 44px; line-height: .95; color: var(--mr-lamp-2); }
#marlin .mr-lt-tot span { display: block; font-size: 14px; font-weight: 700; }
#marlin .mr-lt p { margin-top: 10px; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--mr-mute); text-wrap: balance; }
#marlin .mr-lt .mr-go { margin-top: 14px; }

/* ── этап 3а «Дома» (макеты update/mockups/club/club_house.css, club_house2.css; js/marlin/houses.js; приставка mr-) ──
   Сцена дома собирается из слоёв в кадре 1024×1536, как яхта у причала клуба: пустой дом, машина и вертолёт на своих
   площадках, яхта на ватерлинии с отражением. Обрезка кадра по высоте — --py (0 % — верх картинки, 100 % — низ), так же,
   как background-position у макета. Здесь ничего не движется бесконечно. */
#marlin .mr-hs { position: relative; overflow: hidden; background: #0D1937; }
#marlin .mr-hs-fr { position: absolute; left: 0; width: 100%; aspect-ratio: 1024 / 1536; top: var(--py, 48%); transform: translateY(calc(-1 * var(--py, 48%))); }
#marlin .mr-hf-bg { position: absolute; z-index: 0; inset: 0; background: var(--mr-pic) center / 100% 100% no-repeat; }
#marlin .mr-hf-v { position: absolute; z-index: 1; display: block; height: auto; }
#marlin .mr-hf-shd { position: absolute; z-index: 1; aspect-ratio: 16 / 1; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0)); }
#marlin .mr-hf-y, #marlin .mr-hf-yr { position: absolute; z-index: 1; display: block; left: calc((100% - var(--yw)) / 2); width: var(--yw); height: auto; }
#marlin .mr-hf-y { transform: translateY(4%);   /* низ корпуса чуть ниже ватерлинии, как в сборке макета (comp6.py, sink 4 %) */
  -webkit-mask-image: linear-gradient(180deg, #000 95.6%, transparent 100%); mask-image: linear-gradient(180deg, #000 95.6%, transparent 100%); }
#marlin .mr-hf-yr { transform-origin: 50% 100%; transform: scaleY(-.55); opacity: .3;
  -webkit-mask-image: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .35) 45%, transparent 100%); mask-image: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .35) 45%, transparent 100%); }
#marlin .mr-hf-ysh { position: absolute; z-index: 1; left: calc((100% - var(--yw) * .92) / 2); width: calc(var(--yw) * .92); height: 2%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 5, 18, .75), rgba(0, 5, 18, 0)); }
#marlin .mr-hf-call { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 4px 7px; border-radius: 10px;
  font-size: 12px; font-weight: 800; line-height: 1.2; white-space: nowrap; color: var(--mr-ink); background: rgba(7, 15, 36, .8); border: 1px solid rgba(255, 246, 232, .3); }
#marlin .mr-hf-call svg { width: 14px; height: 14px; color: var(--mr-sea); stroke-width: 2.2; }

/* метки на картинке: «Главный дом», «Вы здесь», «Ваш» */
#marlin .mr-hchips { position: absolute; z-index: 3; left: 10px; right: 10px; top: 10px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
#marlin .mr-hchip, .mr-sheet .mr-hchip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 5px 8px; border-radius: 11px; font-size: 12.5px; font-weight: 800; line-height: 1.2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
#marlin .mr-hchip svg { width: 14px; height: 14px; stroke-width: 2.4; }
#marlin .mr-hchip-gold { color: #2b1c02; background: var(--mr-lamp); }
#marlin .mr-hchip-sea { color: #052019; background: var(--mr-sea); }
#marlin .mr-hchip-dark { color: var(--mr-lamp-2); background: rgba(7, 15, 36, .82); border: 1px solid rgba(255, 199, 105, .45); }
#marlin .mr-hchip-dark svg { color: var(--mr-sea); }
#marlin .mr-where { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--mr-mute); }
#marlin .mr-where svg { width: 15px; height: 15px; color: var(--mr-lamp); }
#marlin .mr-tap { cursor: pointer; transition: transform .15s; }
#marlin .mr-tap:active { transform: scale(.985); }

/* ── «Имущество»: главный дом большой картой ── */
#marlin .mr-hm { display: block; margin: 0 16px; border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, #14254F 0%, #0D1937 100%);
  border: 1.5px solid rgba(255, 199, 105, .6); box-shadow: 0 18px 40px rgba(0, 0, 0, .4); }
#marlin .mr-hs-main, #marlin .mr-hs-card { aspect-ratio: 1.12; }
#marlin .mr-hs-main::after, #marlin .mr-hs-card::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 16%; background: linear-gradient(180deg, rgba(19, 36, 77, 0), #13244D); }
#marlin .mr-hs-card::after { background: linear-gradient(180deg, rgba(16, 29, 66, 0), rgb(16, 29, 66)); }
#marlin .mr-hm-tx { padding: 2px 16px 14px; }
#marlin .mr-hm-nm { display: block; font-size: 32px; line-height: .95; padding-right: .06em; }
#marlin .mr-hm-sub { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; padding: 9px 11px; border-radius: 14px; background: rgba(7, 15, 36, .5);
  font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--mr-mute); }
#marlin .mr-hm-sub svg { width: 17px; height: 17px; margin-top: 1px; color: var(--mr-sea); }
#marlin .mr-hm-sub b { color: var(--mr-ink); font-weight: 800; }
#marlin .mr-hm-more { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 246, 232, .1);
  font-size: 13.5px; font-weight: 800; color: var(--mr-lamp-2); }
#marlin .mr-hm-more svg { width: 17px; height: 17px; }
/* другой дом — строкой */
#marlin .mr-hth, .mr-sheet .mr-hth { display: block; border-radius: 12px; background: #0D1937 var(--mr-pic) 50% 36% / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 246, 232, .12); }
#marlin .mr-hrow { width: calc(100% - 32px); margin: 10px 16px 0; display: grid; grid-template-columns: 96px minmax(0, 1fr) 18px; align-items: center; gap: 12px; padding: 8px 12px 8px 8px;
  border-radius: 18px; background: rgba(16, 29, 66, .94); border: 1px solid rgba(255, 246, 232, .13); text-align: left; transition: transform .15s; }
#marlin .mr-hrow:active { transform: scale(.985); }
#marlin .mr-hrow .mr-hth { height: 74px; }
#marlin .mr-hrow-tx { min-width: 0; }
#marlin .mr-hrow-tx b { display: block; font-size: 21px; line-height: 1; }
#marlin .mr-hrow-tx small { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--mr-mute); }
#marlin .mr-hrow > svg { width: 18px; height: 18px; color: var(--mr-dim); }
#marlin .mr-sea-t { font-style: normal; font-weight: 800; color: var(--mr-sea); }
/* в пути — строка над домами */
#marlin .mr-mvbar { width: calc(100% - 32px); margin: 0 16px 10px; display: flex; align-items: center; gap: 12px; padding: 11px 12px 11px 14px; border-radius: 18px; text-align: left;
  background: rgba(141, 230, 214, .1); border: 1.5px solid rgba(141, 230, 214, .55); }
#marlin .mr-mvbar > svg:first-child { width: 26px; height: 26px; color: var(--mr-sea); }
#marlin .mr-mvbar-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#marlin .mr-mvbar-tx b { font-size: 20px; line-height: 1.05; }
#marlin .mr-mvbar-tx small { font-size: 13px; font-weight: 800; color: var(--mr-sea); }
#marlin .mr-mvbar > svg:last-child { width: 18px; height: 18px; color: var(--mr-dim); }
/* агент недвижимости: пять домов превью */
#marlin .mr-agent { display: block; width: calc(100% - 32px); margin: 10px 16px 0; padding: 12px; border-radius: 22px; text-align: left;
  background: linear-gradient(180deg, #1A2E63 0%, #0F1D44 100%); border: 1px solid rgba(255, 199, 105, .4); transition: transform .15s; }
#marlin .mr-agent:active { transform: scale(.985); }
#marlin .mr-agent-th { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
#marlin .mr-agent-th span { position: relative; display: block; aspect-ratio: .9; border-radius: 10px; background: #0D1937 var(--mr-pic) 50% 30% / 150% auto no-repeat;
  box-shadow: inset 0 0 0 2px var(--rim, rgba(255, 246, 232, .14)); overflow: hidden; }
#marlin .mr-agent-th span i { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 2px 3px; font: 800 9.5px/1.1 var(--f-text); font-style: normal;
  text-align: center; color: #fff; background: linear-gradient(180deg, rgba(4, 10, 24, 0), rgba(4, 10, 24, .88)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#marlin .mr-agent-th .r0 { --rim: #8FA6C4; }  #marlin .mr-agent-th .r1 { --rim: #5FC7B8; }  #marlin .mr-agent-th .r2 { --rim: #C98A5B; }
#marlin .mr-agent-th .r3 { --rim: #E7A3A0; }  #marlin .mr-agent-th .r4 { --rim: #FFC769; }
#marlin .mr-agent-h { display: flex; align-items: center; gap: 12px; margin-top: 11px; padding: 0 2px; }
#marlin .mr-agent-h .mr-ic { width: 40px; height: 40px; background: rgba(255, 199, 105, .14); }
#marlin .mr-agent-h .mr-ic svg { width: 21px; height: 21px; }
#marlin .mr-agent-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#marlin .mr-agent-tx b { font-size: 23px; line-height: 1; }
#marlin .mr-agent-tx small { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--mr-mute); }
#marlin .mr-agent-tx small em { font-style: normal; font-weight: 800; color: var(--mr-lamp-2); }
#marlin .mr-agent-h > svg { width: 18px; height: 18px; color: var(--mr-dim); }
/* транспорт клуба — строка под агентом */
#marlin .mr-auto.mr-trent { margin-top: 10px; background: rgba(255, 199, 105, .05); border-color: rgba(255, 199, 105, .3); }
#marlin .mr-trent .mr-ic { background: rgba(255, 199, 105, .12); color: var(--mr-lamp); }
#marlin .mr-trent + .mr-hw { margin-top: 26px; }
/* домов нет: карточка к агенту */
#marlin .pr-house.mr-tap { margin-top: 0; }
#marlin .mr-teaser-go { display: flex; align-items: center; justify-content: center; gap: 4px; height: 48px; margin-top: 14px; border-radius: 15px; font-size: 21px;
  color: #3a2300; background: linear-gradient(100deg, #FFE6A0, #E8B55C); box-shadow: 0 10px 26px rgba(232, 181, 92, .25); }
#marlin .mr-teaser-go svg { width: 18px; height: 18px; stroke-width: 2.6; }
/* «Состояние»: дома и транспорт */
#marlin .d-house { background: #F0A27A; } #marlin .d-trans { background: #C3A8F0; } #marlin .d-aqua { background: #5FB4E8; }
/* доли — строкой (a_house_1) */
#marlin .mr-bzr { margin: 0 16px; border-radius: 20px; overflow: hidden; background: rgba(16, 29, 66, .94); border: 1px solid rgba(255, 246, 232, .13); }
#marlin .mr-bzr li { border-bottom: 1px solid rgba(255, 246, 232, .08); }
#marlin .mr-bzr li:last-child { border-bottom: 0; }
#marlin .mr-bzr button { width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 16px; align-items: center; gap: 10px; padding: 9px 10px 9px 9px; text-align: left; }
#marlin .mr-bzr img { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; object-position: 50% 18%; }
#marlin .mr-bzr .nm { min-width: 0; }
#marlin .mr-bzr .nm b { display: block; font-size: 15px; font-weight: 800; line-height: 1.2; }
#marlin .mr-bzr .nm small { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--mr-mute); }
#marlin .mr-bzr .nm small em { font-style: normal; font-weight: 800; color: var(--mr-lamp); }
#marlin .mr-bzr .v { text-align: right; font-size: 20px; line-height: 1; white-space: nowrap; }
#marlin .mr-bzr .v small { display: block; margin-top: 2px; font-family: var(--f-text); font-style: normal; font-size: 11px; font-weight: 700; color: var(--mr-mute); }
#marlin .mr-bzr .v small.mr-none { margin: 0; font-size: 12px; color: var(--mr-dim); }
#marlin .mr-bzr button > svg { width: 16px; height: 16px; color: var(--mr-dim); }

/* ── агент недвижимости: каталог ── */
#marlin .mr-word.mr-word-s { font-size: min(64px, 16.4vw); line-height: .86; }
#marlin .mr-intro { margin: 16px 16px 14px; display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: rgba(255, 199, 105, .08);
  border: 1px solid rgba(255, 199, 105, .32); font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--mr-ink); }
#marlin .mr-intro svg { width: 17px; height: 17px; margin-top: 1px; color: var(--mr-lamp); }
#marlin .mr-hc, #marlin .mr-tr { margin: 0 16px 12px; border-radius: 22px; overflow: hidden; background: rgb(16, 29, 66); border: 1px solid rgba(255, 246, 232, .13); }
#marlin .mr-hc.mr-mine, #marlin .mr-tr.mr-mine { border: 1.5px solid rgba(255, 199, 105, .6); }
#marlin .mr-hc-tx { padding: 0 14px 14px; }
#marlin .mr-hc-nm { display: block; font-size: 30px; line-height: .95; padding-right: .06em; }
#marlin .mr-hc-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 10px; }
#marlin .mr-hc-price .mr-coin { align-self: center; }
#marlin .mr-hc-price b { font-size: 27px; line-height: 1; color: var(--mr-lamp-2); }
#marlin .mr-hc-price > span:not(.mr-coin) { font-size: 14px; font-weight: 700; }
#marlin .mr-hc-price small { flex-basis: 100%; font-size: 12.5px; font-weight: 700; color: var(--mr-mute); }
#marlin .mr-hc-price small.mr-own { color: var(--mr-lamp); }
#marlin .mr-gv { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#marlin .mr-gv li { min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 10px 10px 11px; border-radius: 15px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 246, 232, .11); }
#marlin .mr-gv-k { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; line-height: 1.2; color: var(--mr-lamp); }
#marlin .mr-gv-k svg { width: 15px; height: 15px; }
#marlin .mr-gv b { font-size: 23px; line-height: 1; color: var(--mr-ink); }
#marlin .mr-gv b.mr-n { color: var(--mr-lamp-2); }
#marlin .mr-gv small { font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--mr-mute); }
#marlin .mr-facts { margin-top: 8px; }
#marlin .mr-facts li { display: flex; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid rgba(255, 246, 232, .08); font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--mr-mute); }
#marlin .mr-facts li b { color: var(--mr-ink); font-weight: 800; }
#marlin .mr-facts-0 { margin-top: 0; }
#marlin .mr-facts-0 li:first-child { border-top: 0; padding-top: 0; }
#marlin .mr-facts-0 li:last-child { padding-bottom: 0; }
#marlin .mr-fic { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 199, 105, .12); color: var(--mr-lamp); }
#marlin .mr-fic svg { width: 16px; height: 16px; }
#marlin .mr-facts li.mr-no .mr-fic { background: none; border: 1.5px dashed rgba(255, 246, 232, .3); color: rgba(255, 246, 232, .55); }
#marlin .mr-warn { margin-top: 6px; display: flex; gap: 8px; align-items: flex-start; padding: 9px 11px; border-radius: 13px; background: rgba(255, 156, 138, .08);
  border: 1px solid rgba(255, 156, 138, .32); font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--mr-ink); }
#marlin .mr-warn svg { width: 17px; height: 17px; margin-top: 1px; color: var(--mr-red); }
#marlin .mr-hc-go { width: 100%; margin-top: 12px; height: 48px; border-radius: 15px; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 21px;
  color: var(--mr-lamp-2); background: rgba(7, 15, 36, .35); border: 1.5px solid rgba(255, 199, 105, .55); transition: transform .15s; }
#marlin .mr-hc-go:active { transform: scale(.98); }
#marlin .mr-hc-go svg { width: 17px; height: 17px; stroke-width: 2.4; }

/* ── страница дома: сцена во всю ширину, шапка поверх неба ── */
#marlin .mr-hero { position: relative; width: 100%; aspect-ratio: 1024 / 1290; overflow: hidden; background: #0D1937; }
#marlin .mr-hero.mr-fly { aspect-ratio: 1024 / 1020; }
#marlin .mr-hero-t { position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 24%; background: linear-gradient(180deg, rgba(4, 10, 26, .62), rgba(4, 10, 26, 0)); }
#marlin .mr-hero-b { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(180deg, rgba(7, 15, 36, 0), rgba(7, 15, 36, .55) 45%, var(--mr-night)); }
#marlin .mr-hero-head { position: absolute; z-index: 4; left: 0; right: 0; top: 0; }
#marlin .mr-hero-tags { left: 16px; right: 16px; top: calc(var(--safe-top) + 60px); }
#marlin .mr-hero-tags .mr-hchip { padding: 5px 11px 6px 9px; border-radius: 12px; font-size: 13px; }
#marlin .mr-hero-tags .mr-hchip svg { width: 16px; height: 16px; }
#marlin .mr-hh { margin-top: -62px; padding: 0 16px; }
#marlin .mr-hh h1 { font-size: min(48px, 12.6vw); line-height: .9; padding-right: .06em; text-shadow: 0 6px 24px rgba(2, 6, 18, .85); }
#marlin .mr-hh .mr-where { margin-top: 7px; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
#marlin .mr-hpay { margin-top: 14px; }
#marlin .mr-hpay-sell { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--mr-mute); }
#marlin .mr-hpay-sell b { color: var(--mr-ink); font-weight: 800; }
#marlin .mr-hnote { margin: 14px 16px 0; display: flex; gap: 8px; align-items: flex-start; font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--mr-mute); }
#marlin .mr-hnote svg { width: 16px; height: 16px; margin-top: 1px; color: var(--mr-lamp); }
#marlin .mr-hnote b { color: var(--mr-ink); font-weight: 800; }

/* три пользы дома */
#marlin .mr-hb { margin: 0 16px 12px; padding: 14px; border-radius: 22px; background: rgba(16, 29, 66, .94); border: 1px solid rgba(255, 246, 232, .13); }
#marlin .mr-hb-h { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
#marlin .mr-hb-ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 199, 105, .12); color: var(--mr-lamp); }
#marlin .mr-hb-ic svg { width: 21px; height: 21px; }
#marlin .mr-hb-tx { min-width: 0; }
#marlin .mr-hb-tx b { display: block; font-size: 24px; line-height: 1; }
#marlin .mr-hb-tx small { display: block; margin-top: 3px; font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--mr-mute); }
#marlin .mr-hb-big { font-size: 32px; line-height: 1; color: var(--mr-lamp-2); white-space: nowrap; }
#marlin .mr-hb-lead { margin-top: 10px; font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--mr-ink); }
#marlin .mr-hb-lead b { font-weight: 800; color: var(--mr-lamp-2); }
#marlin .mr-hb-quiet { margin-top: 8px; display: flex; gap: 7px; align-items: flex-start; font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--mr-mute); }
#marlin .mr-hb-quiet svg { width: 15px; height: 15px; margin-top: 2px; color: var(--mr-lamp); }
#marlin .mr-hb-quiet b { color: var(--mr-ink); }
/* своё место ловли (этап 3б, a_house_8): картинка воды, свои рыбы по редкости, «Ловить у дома» */
#marlin .mr-r-white { --rc: #E9E2D4; --rb: rgba(233, 226, 212, .3); }
#marlin .mr-r-green { --rc: #8FE3A0; --rb: rgba(143, 227, 160, .4); }
#marlin .mr-r-blue { --rc: #7DBBFF; --rb: rgba(125, 187, 255, .45); }
#marlin .mr-r-purple { --rc: #C9A0FF; --rb: rgba(201, 160, 255, .48); }
#marlin .mr-r-gold { --rc: #FFC769; --rb: rgba(255, 199, 105, .6); }
#marlin .mr-wt-pic { position: relative; display: block; width: 100%; margin-top: 12px; aspect-ratio: 1.75; border-radius: 16px; overflow: hidden; text-align: left;
  background: #0D1937 var(--mr-pic) 50% 50% / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 246, 232, .14); }
#marlin .mr-wt-pic::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 58%; background: linear-gradient(180deg, rgba(7, 15, 36, 0), rgba(7, 15, 36, .88)); }
#marlin .mr-wt-nm { position: absolute; z-index: 1; left: 12px; right: 12px; bottom: 10px; font-size: 26px; line-height: .95; padding-right: .06em; text-shadow: 0 2px 12px rgba(0, 0, 0, .75); }
#marlin .mr-wt-nm small { display: block; margin-top: 5px; font-family: var(--f-text); font-style: normal; font-size: 12.5px; font-weight: 700; color: rgba(255, 246, 232, .82); }
#marlin .mr-wt-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
#marlin .mr-wt-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 6px 9px; border-radius: 12px; font-size: 14px; font-weight: 800; line-height: 1.1;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--rb); }
#marlin .mr-wt-chips li i { width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--rc); box-shadow: 0 0 0 3px var(--rb); }
#marlin .mr-wt-also { margin-top: 9px; font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--mr-mute); }
#marlin .mr-wt-go { margin-top: 12px; min-height: 52px; font-size: 22px; }
#marlin .mr-wt-go.two { min-height: 62px; font-size: 21px; }
/* отдых: силы сейчас → после отдыха */
#marlin .mr-en { margin-top: 12px; padding: 12px; border-radius: 16px; background: rgba(7, 15, 36, .5); }
#marlin .mr-en-row { display: flex; align-items: flex-end; gap: 14px; }
#marlin .mr-en-v { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
#marlin .mr-en-v small { font-size: 12.5px; font-weight: 700; line-height: 1.2; color: var(--mr-mute); white-space: nowrap; }
#marlin .mr-en-v b { font-size: 34px; line-height: .95; color: #F5B57A; }
#marlin .mr-en-v b.mr-to { color: var(--mr-lamp-2); }
#marlin .mr-en-v b span { margin-left: 5px; font-family: var(--f-text); font-style: normal; font-size: 14px; font-weight: 700; color: var(--mr-ink); }
#marlin .mr-en-row > svg { width: 22px; height: 22px; margin-bottom: 6px; color: var(--mr-lamp); stroke-width: 2.4; }
#marlin .mr-en-bar { position: relative; height: 10px; margin-top: 10px; border-radius: 5px; background: rgba(255, 255, 255, .1); overflow: hidden; }
#marlin .mr-en-bar i { position: absolute; top: 0; bottom: 0; left: 0; }
#marlin .mr-en-now { z-index: 1; border-radius: 5px; background: #F5B57A; }
#marlin .mr-en-add { background: repeating-linear-gradient(135deg, rgba(255, 199, 105, .62) 0 5px, rgba(255, 199, 105, .3) 5px 10px); border-radius: 0 5px 5px 0; }
#marlin .mr-en-full { border-radius: 5px; background: var(--mr-lamp); }
#marlin .mr-en-scale { display: flex; justify-content: space-between; margin-top: 5px; font-size: 11.5px; font-weight: 700; color: var(--mr-dim); }
/* тихая золотая кнопка внутри блока: «Отдохнуть», «Сделать главным» */
#marlin .mr-mk { width: 100%; margin-top: 12px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 21px;
  color: var(--mr-lamp-2); border: 1.5px solid rgba(255, 199, 105, .55); transition: transform .15s; }
#marlin .mr-mk:active { transform: scale(.98); }
#marlin .mr-mk svg { width: 17px; height: 17px; stroke-width: 2.2; color: var(--mr-lamp); }
#marlin .mr-mk.mr-dis { color: rgba(255, 246, 232, .5); border: 1.5px dashed rgba(255, 246, 232, .22); font-size: 19px; }
#marlin .mr-mk.mr-dis svg { color: rgba(255, 246, 232, .45); }
/* в море от дома: до места ловли и топливо — настоящие числа яхты */
#marlin .mr-hb-ex { margin-top: 10px; display: grid; gap: 6px; }
#marlin .mr-hb-ex li { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; padding: 8px 12px; border-radius: 13px;
  background: rgba(255, 255, 255, .04); font-size: 13.5px; font-weight: 700; color: var(--mr-ink); }
#marlin .mr-hb-ex li b { font-size: 21px; line-height: 1; color: var(--mr-sea); white-space: nowrap; }
#marlin .mr-hb-ex li b small { margin-left: 4px; font-family: var(--f-text); font-style: normal; font-size: 12px; font-weight: 700; color: var(--mr-mute); }

/* транспорт у дома */
#marlin .mr-htr { margin: 0 16px; border-radius: 20px; overflow: hidden; background: rgba(16, 29, 66, .94); border: 1px solid rgba(255, 246, 232, .13); }
#marlin .mr-htr-r { width: 100%; display: grid; grid-template-columns: 92px minmax(0, 1fr) 18px; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; text-align: left;
  border-bottom: 1px solid rgba(255, 246, 232, .08); }
#marlin .mr-htr-r:last-child { border-bottom: 0; }
#marlin .mr-tr-pic { height: 58px; border-radius: 12px; display: grid; place-items: center; background: radial-gradient(70% 80% at 50% 70%, #24407F, #0D1937); }
#marlin .mr-tr-pic img { width: 90%; height: auto; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .45)); }
#marlin .mr-tr-pic.mr-none { background: none; border: 1.5px dashed rgba(255, 246, 232, .26); color: rgba(255, 246, 232, .5); }
#marlin .mr-tr-pic.mr-none svg { width: 28px; height: 28px; }
#marlin .mr-htr-tx { min-width: 0; }
#marlin .mr-htr-tx b { display: block; font-size: 15.5px; font-weight: 800; line-height: 1.2; }
#marlin .mr-htr-tx small { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--mr-mute); }
#marlin .mr-htr-r.mr-here small { color: var(--mr-sea); font-weight: 700; }
#marlin .mr-htr-r > svg { width: 18px; height: 18px; color: var(--mr-dim); }
#marlin .mr-hmove { width: calc(100% - 32px); margin: 12px 16px 0; height: 54px; border-radius: 17px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 22px;
  color: var(--mr-lamp-2); background: rgba(255, 199, 105, .08); border: 1.5px solid rgba(255, 199, 105, .6); transition: transform .15s; }
#marlin .mr-hmove:active { transform: scale(.98); }
#marlin .mr-hmove svg { width: 20px; height: 20px; color: var(--mr-lamp); stroke-width: 2.3; }
#marlin .mr-hmove-note { margin: 8px 24px 0; text-align: center; text-wrap: balance; font-size: 12.5px; font-weight: 600; line-height: 1.4; color: var(--mr-dim); }
#marlin .mr-go.mr-hgo { width: calc(100% - 32px); margin: 12px 16px 0; }
#marlin .mr-mvnote { margin: 12px 16px 0; display: flex; gap: 8px; align-items: flex-start; padding: 11px 13px; border-radius: 16px; background: rgba(141, 230, 214, .07);
  border: 1px solid rgba(141, 230, 214, .32); font-size: 13.5px; font-weight: 700; line-height: 1.4; color: var(--mr-ink); }
#marlin .mr-mvnote svg { width: 18px; height: 18px; margin-top: 1px; color: var(--mr-sea); }
#marlin .mr-mvnote b { color: var(--mr-sea); }
#marlin .mr-mvnote.mr-no { background: rgba(255, 156, 138, .07); border-color: rgba(255, 156, 138, .32); }
#marlin .mr-mvnote.mr-no svg { color: var(--mr-red); }
#marlin .mr-sell { width: calc(100% - 32px); margin: 22px 16px 0; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 11px 12px; border-radius: 16px;
  border: 1.5px dashed rgba(255, 246, 232, .22); text-align: center; font-size: 15px; font-weight: 800; color: rgba(255, 246, 232, .82); }
#marlin .mr-sell small { font-size: 12.5px; font-weight: 600; color: var(--mr-dim); }

/* в пути: вертолёт над домом, полоса пути */
#marlin .mr-fl-heli { position: absolute; z-index: 3; left: 39%; top: 19%; width: 56%; height: auto; transform: rotate(-5deg); filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .5)); }
#marlin .mr-fl-k { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 700; line-height: 1.3; color: var(--mr-lamp); text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
#marlin .mr-fl-left { display: block; margin-top: 8px; font-size: min(60px, 15.6vw); line-height: .86; padding-right: .06em; color: var(--mr-lamp-2); text-shadow: 0 6px 24px rgba(2, 6, 18, .85); }
#marlin .mr-flr { margin: 16px 16px 0; padding: 14px; border-radius: 20px; background: rgba(16, 29, 66, .94); border: 1px solid rgba(255, 246, 232, .13); }
#marlin .mr-flr-ends { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 800; line-height: 1.25; }
#marlin .mr-flr-ends span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
#marlin .mr-flr-ends span:last-child { text-align: right; }
#marlin .mr-flr-ends small { font-size: 12px; font-weight: 600; color: var(--mr-mute); }
#marlin .mr-flr-track { position: relative; height: 34px; margin: 6px 4px 0; }
#marlin .mr-flr-track::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; border-top: 2px dashed rgba(255, 246, 232, .25); }
#marlin .mr-flr-done { position: absolute; left: 0; right: 0; top: 15px; height: 4px; border-radius: 2px; background: var(--mr-lamp); transform-origin: 0 50%; }
#marlin .mr-flr-dot { position: absolute; top: 11px; width: 12px; height: 12px; border-radius: 50%; background: var(--mr-night); border: 2.5px solid var(--mr-lamp); }
#marlin .mr-flr-dot.mr-a { left: -4px; }
#marlin .mr-flr-dot.mr-b { right: -4px; border-color: rgba(255, 246, 232, .45); }
#marlin .mr-flr-dot.mr-via { margin-left: -6px; border-color: var(--mr-sea); }
#marlin .mr-flr-me { position: absolute; z-index: 1; top: 0; width: 34px; height: 34px; margin-left: -17px; border-radius: 50%; display: grid; place-items: center;
  color: #2b1c02; background: var(--mr-lamp); box-shadow: 0 0 0 4px rgba(255, 199, 105, .2); }
#marlin .mr-flr-me svg { width: 19px; height: 19px; stroke-width: 2.3; }
#marlin .mr-flr-via { margin-top: 6px; font-size: 12.5px; font-weight: 700; line-height: 1.35; color: var(--mr-sea); text-align: center; }
#marlin .mr-flr-time { margin-top: 8px; display: flex; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 700; color: var(--mr-mute); }
#marlin .mr-flr-time b { color: var(--mr-ink); font-weight: 800; }
#marlin .mr-hparts { margin: 0 16px; display: flex; flex-direction: column; gap: 8px; }
#marlin .mr-hparts li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border-radius: 18px;
  background: rgba(16, 29, 66, .94); border: 1px solid rgba(255, 246, 232, .13); }
#marlin .mr-hp-ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 199, 105, .12); color: var(--mr-lamp); }
#marlin .mr-hp-ic svg { width: 21px; height: 21px; }
#marlin .mr-hp-tx { min-width: 0; }
#marlin .mr-hp-tx b { display: block; font-size: 15.5px; font-weight: 800; line-height: 1.2; }
#marlin .mr-hp-tx small { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--mr-mute); }
#marlin .mr-hparts li.mr-ok { border-color: rgba(141, 230, 214, .45); background: rgba(141, 230, 214, .06); }
#marlin .mr-hparts li.mr-ok small { color: var(--mr-sea); font-weight: 700; }
#marlin .mr-okm { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--mr-sea); color: #052019; }
#marlin .mr-okm svg { width: 15px; height: 15px; stroke-width: 3; }
#marlin .mr-hparts li.mr-later { background: rgba(255, 255, 255, .02); border: 1px dashed rgba(255, 246, 232, .22); }
#marlin .mr-hparts li.mr-later .mr-hp-ic { background: rgba(255, 255, 255, .05); color: rgba(255, 246, 232, .62); }

/* ── транспорт клуба ── */
#marlin .mr-tr-stage { position: relative; height: 178px; overflow: hidden; background: radial-gradient(75% 85% at 50% 32%, #22407F 0%, #13244D 55%, #0D1937 100%); }
#marlin.day .mr-tr-stage { background: radial-gradient(75% 85% at 50% 32%, #4A5F98 0%, #26396B 55%, #16264F 100%); }
#marlin .mr-tr-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(180deg, rgba(16, 29, 66, 0), rgb(16, 29, 66)); }
#marlin .mr-tr-stage img { position: absolute; z-index: 1; left: 50%; height: auto; transform: translateX(-50%); filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .55)); }
#marlin .mr-tr-stage.mr-car img { width: 82%; bottom: 34px; }
#marlin .mr-tr-stage.mr-heli img { width: 90%; bottom: 40px; }
#marlin .mr-tr-stage.mr-plane img { width: 92%; bottom: 44px; }
#marlin .mr-tr-pad { position: absolute; left: 6%; right: 6%; bottom: 18px; height: 40px; border-radius: 50%; }
#marlin .mr-tr-stage.mr-car .mr-tr-pad { border-radius: 10px; left: 4%; right: 4%; height: 34px; bottom: 22px;
  background: repeating-linear-gradient(90deg, rgba(255, 246, 232, .08) 0 1px, rgba(0, 0, 0, 0) 1px 34px), linear-gradient(180deg, #3B4560, #283149);
  transform: perspective(200px) rotateX(38deg); }
#marlin .mr-tr-stage.mr-heli .mr-tr-pad { background: radial-gradient(closest-side, #2C3550 0 86%, rgba(255, 246, 232, .5) 87% 90%, #2C3550 91%); }
#marlin .mr-tr .mr-hc-tx { padding-top: 2px; }
#marlin .mr-tr .mr-go { margin-top: 12px; }
#marlin .mr-trlim { margin-top: 10px; display: flex; gap: 8px; align-items: flex-start; padding: 9px 11px; border-radius: 14px; background: rgba(255, 199, 105, .07);
  border: 1px solid rgba(255, 199, 105, .3); font-size: 13px; font-weight: 700; line-height: 1.4; }
#marlin .mr-trlim svg { width: 17px; height: 17px; margin-top: 1px; flex: none; color: var(--mr-lamp); }
#marlin .mr-trlim b { color: var(--mr-lamp-2); }

/* ── «Яхта» у главного дома: сцена дома вместо причала клуба ── */
#marlin .mr-scene.mr-home { margin-bottom: -10.5%; }
#marlin .mr-scene.mr-home .ys-bot { height: 19%; }
#marlin .mr-scene.mr-home .ys-word { top: 78.6%; }
#marlin .mr-scene.mr-home .ys-away { top: 66%; }   /* яхта в море: подпись над пустым причалом дома */

/* ── шторки «Купить дом» и «Куда переехать» (класс mr-sheet tz-sheet mr-msheet mr-hsheet) ── */
.mr-hsheet .mr-cur .mr-hth-sq { width: 52px; height: 52px; border-radius: 13px; background-position: 50% 36%; }
.mr-hsheet .mr-cur b { color: var(--mr-lamp-2); }
.mr-hsheet .tz-lim + .tz-lim { margin-top: 8px; }
.mr-hsheet .mr-mv { margin: 2px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.mr-hsheet .mr-mv-i { padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 246, 232, .12); }
.mr-hsheet .mr-mv-i.mr-go-ok { border: 1.5px solid rgba(255, 199, 105, .55); background: rgba(255, 199, 105, .06); }
.mr-hsheet .mr-mv-top { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: center; }
.mr-hsheet .mr-mv-top .mr-hth { height: 70px; background-position: 50% 34%; }
.mr-hsheet .mr-mv-tx { min-width: 0; }
.mr-hsheet .mr-mv-tx > b { display: block; font-size: 22px; line-height: 1; }
.mr-hsheet .mr-mv-how { display: flex; align-items: flex-start; gap: 6px; margin-top: 5px; font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--mr-sea); }
.mr-hsheet .mr-mv-how svg { width: 16px; height: 16px; flex: none; }
.mr-hsheet .mr-mv-how.mr-no { color: var(--mr-red); }
.mr-hsheet .mr-mv-btns { margin-top: 10px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.mr-hsheet .mr-mv-btns.mr-two { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.mr-hsheet .mr-mv-go { height: 48px; border-radius: 15px; display: flex; align-items: center; justify-content: center; gap: 6px; font: italic 900 21px/1 var(--f-display);
  color: #3a2300; background: linear-gradient(100deg, #FFE6A0, #E8B55C); box-shadow: 0 8px 20px rgba(232, 181, 92, .25); }
.mr-hsheet .mr-mv-go svg { width: 18px; height: 18px; stroke-width: 2.4; }
.mr-hsheet .mr-mv-go.mr-off { color: rgba(255, 246, 232, .5); background: rgba(255, 255, 255, .04); border: 1.5px dashed rgba(255, 246, 232, .22); box-shadow: none; }
.mr-hsheet .mr-mv-buy { height: 48px; border-radius: 15px; display: flex; align-items: center; justify-content: center; gap: 4px; font: italic 900 19px/1 var(--f-display);
  color: var(--mr-lamp-2); border: 1.5px solid rgba(255, 199, 105, .55); }
.mr-hsheet .mr-mv-buy svg { width: 16px; height: 16px; stroke-width: 2.4; }
.mr-hsheet .mr-mv + .tz-lim { margin-top: 14px; }

/* ── окно «Вы отдохнули» (поверх слоя клуба, как окно выплаты) ── */
#marlin .mr-rw { position: relative; width: 100%; max-width: 360px; max-height: calc(100% - 16px); overflow-y: auto; overscroll-behavior: contain;
  border-radius: 26px; background: #0E1A3E; border: 1px solid rgba(255, 199, 105, .45); box-shadow: 0 30px 60px rgba(0, 0, 0, .6); color: var(--mr-ink);
  animation: mrPaidUp .4s var(--ease) both; }
#marlin .mr-rw-pic { position: relative; height: 138px; background: #0D1937 var(--mr-pic) 50% 30% / cover no-repeat; }
#marlin .mr-rw-pic::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(180deg, rgba(14, 26, 62, 0), #0E1A3E); }
#marlin .mr-rw-ic { position: relative; z-index: 1; width: 56px; height: 56px; margin: -34px auto 0; border-radius: 50%; display: grid; place-items: center;
  color: #2b1c02; background: var(--mr-lamp); box-shadow: 0 0 0 6px rgba(255, 199, 105, .18), 0 10px 24px rgba(0, 0, 0, .45); }
#marlin .mr-rw-ic svg { width: 28px; height: 28px; stroke-width: 2.2; }
#marlin .mr-rw-tx { padding: 10px 18px 18px; text-align: center; }
#marlin .mr-rw h2 { font-size: 30px; line-height: .98; text-wrap: balance; }
#marlin .mr-rw-en { margin-top: 14px; padding: 12px 14px; border-radius: 18px; text-align: left; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 246, 232, .12); }
#marlin .mr-rw-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13.5px; font-weight: 700; color: var(--mr-mute); }
#marlin .mr-rw-h2 { margin-top: 4px; }
#marlin .mr-rw-h b { font-size: 34px; line-height: 1; color: var(--mr-lamp-2); }
#marlin .mr-rw-h b span { font-family: var(--f-text); font-style: normal; font-size: 14px; font-weight: 700; color: var(--mr-ink); margin-left: 4px; }
#marlin .mr-rw-h .mr-plus { color: var(--mr-sea); font-weight: 800; white-space: nowrap; }
#marlin .mr-rw-next { margin-top: 12px; display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--mr-ink); }
#marlin .mr-rw-next svg { width: 16px; height: 16px; color: var(--mr-lamp); }
#marlin .mr-rw .mr-go { margin-top: 14px; min-height: 52px; font-size: 22px; }
@media (max-width: 370px) {
  #marlin .mr-gv b { font-size: 21px; }
  #marlin .mr-hb-tx b { font-size: 22px; }
  #marlin .mr-hb-big { font-size: 28px; }
}

/* ── ловля у дома (этап 3б, a_house_9): копия сцены рыбалки #mrwt поверх клуба (hfish.js); правила #fishing на неё копирует
   hfish.js, здесь — только отличия: без наживки и «Ловим вместе», название в две строки, трюм вместо садка ── */
/* копия правил #fishing подключается последней — здесь #marlin #mrwt, чтобы перебить её */
#marlin #mrwt { z-index: 30; }
#marlin #mrwt .bait-chip, #marlin #mrwt .kn-duo, #marlin #mrwt .kn-book { visibility: hidden; pointer-events: none; }
/* «В гости к дому» (15.11): у своего дома «Ловим вместе» в шапке зовёт друга; точка — друг в гостях */
#marlin #mrwt.mate-ok .kn-duo { visibility: visible; pointer-events: auto; }
#marlin #mrwt.as-guest .kn-xp { display: none; }       /* у гостя опыта клуба нет — полоска пустая ни к чему */
#marlin #mrwt .kn-title, #marlin #mrwt[data-st="idle"] .kn-title { pointer-events: none; cursor: default; }
#marlin #mrwt .kn-title b { white-space: normal; overflow: visible; font-size: 30px; line-height: .95; padding-right: .06em; text-wrap: balance; }
#marlin #mrwt .kn-coins { font-size: 21px; }
#marlin #mrwt .kn-coins .coin { width: 16px; height: 16px; }
#marlin #mrwt .bucket-btn.full { animation: none; }
#marlin #mrwt .bucket-btn .icon svg { display: block; width: 100%; height: 100%; }
#marlin #mrwt .mr-wt-host { top: calc(var(--safe-top, 0px) + 132px); }
body.mr-wt-on #toasts { bottom: calc(var(--safe-bottom) + 196px); }
#marlin .mr-wt-ban { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 10px; padding: 9px 12px 10px 9px;
  border-radius: 16px; background: rgba(7, 15, 36, .72); border: 1px solid rgba(255, 246, 232, .16); color: var(--mr-ink); text-align: left; }
#marlin .mr-wt-ban .ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--mr-sea); background: rgba(141, 230, 214, .12); }
#marlin .mr-wt-ban .ic svg { width: 19px; height: 19px; }
#marlin .mr-wt-ban .tx { min-width: 0; }
#marlin .mr-wt-ban small { display: block; font-size: 12px; font-weight: 700; color: var(--mr-mute); }
#marlin .mr-wt-ban b { display: block; margin-top: 2px; font-size: 18px; line-height: 1.05; }
#marlin .mr-wt-ban { touch-action: none; transition: opacity .3s, transform .3s; animation: mrBanIn .35s ease-out both; }
#marlin .mr-wt-ban.gone { opacity: 0; transform: translateY(-14px); pointer-events: none; }
@keyframes mrBanIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
/* карточка улова: рыба, вес, цена в трюме, опыт клуба */
#marlin .mr-wt-cw { position: absolute; inset: 0; z-index: 40; display: grid; place-items: center; padding: 16px; background: rgba(2, 8, 18, .74);
  animation: mrWtIn .3s ease-out both; }
#marlin .mr-wt-cw.out { animation: mrWtOut .25s ease-in both; pointer-events: none; }
@keyframes mrWtIn { from { opacity: 0; } }
@keyframes mrWtOut { to { opacity: 0; } }
#marlin .mr-wt-card { position: relative; width: min(100%, 380px); padding: 18px 18px 16px; border-radius: 24px; text-align: center;
  background: linear-gradient(180deg, #15234B, #0A1430); border: 1.5px solid var(--rb);
  box-shadow: 0 0 0 4px rgba(255, 199, 105, .06), 0 24px 60px rgba(0, 0, 0, .55); animation: mrWtCard .45s cubic-bezier(.2, .9, .25, 1.15) both; }
@keyframes mrWtCard { from { opacity: 0; transform: translateY(24px) scale(.94); } }
#marlin .mr-wt-k { font-size: 19px; line-height: 1; color: var(--rc); }
/* рыбы домов нарисованы в квадрате (рыба — средняя полоса), рыбы игры — по контуру: квадрат обрезаем сверху и снизу */
#marlin .mr-wt-fish { position: relative; width: 92%; aspect-ratio: 1.9; margin: 10px auto 0; }
#marlin .mr-wt-fish img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 12px var(--rb));
  animation: mrWtFish .6s cubic-bezier(.2, .9, .25, 1.15) .08s both; }
#marlin .mr-wt-fish img.sq { object-fit: cover; }
@keyframes mrWtFish { from { opacity: 0; transform: translateY(30px) scale(.8) rotate(-6deg); } }
#marlin .mr-wt-card h3 { margin-top: 4px; font-size: 38px; line-height: .95; padding-right: .06em; text-wrap: balance; }
#marlin .mr-wt-w { margin-top: 4px; font-size: 24px; line-height: 1; color: var(--mr-lamp-2); }
#marlin .mr-wt-st { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
#marlin .mr-wt-st > div { padding: 9px 8px 10px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 246, 232, .1); }
#marlin .mr-wt-st small { display: block; font-size: 12.5px; font-weight: 700; color: var(--mr-mute); }
#marlin .mr-wt-st b { display: block; margin-top: 3px; font-size: 26px; line-height: 1; color: var(--mr-lamp-2); white-space: nowrap; }
#marlin .mr-wt-st b i { font-size: 16px; color: var(--mr-ink); }
#marlin .mr-wt-st > div + div b { color: var(--mr-sea); }
#marlin .mr-wt-note, #marlin .mr-wt-hold { display: flex; gap: 7px; align-items: flex-start; justify-content: center; margin-top: 10px; text-align: left;
  font-size: 13px; font-weight: 700; line-height: 1.35; color: var(--mr-mute); }
#marlin .mr-wt-note svg, #marlin .mr-wt-hold svg { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--mr-sea); }
#marlin .mr-wt-hold.full { color: var(--mr-lamp-2); }
#marlin .mr-wt-hold.full svg { color: var(--mr-lamp); }
#marlin .mr-wt-card .mt-b { margin-top: 14px; flex-direction: row; gap: 8px; }
#marlin .mr-wt-card .mt-b + .mt-b { margin-top: 8px; min-height: 48px; font-size: 19px; }
@media (max-width: 370px) {
  #marlin #mrwt .kn-title b { font-size: 27px; }
  #marlin #mrwt .kn-coins { font-size: 19px; }
  #marlin .mr-wt-card h3 { font-size: 33px; }
  #marlin .mr-wt-st b { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  #marlin *, #marlin *::before, #marlin *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ── элитный аквариум (js/marlin/aqua.js; макеты update/mockups/club/club_aqua.css, a_aqua_4…8) ──
   Разрез дома: ширина 1024, высота своя у дома (assets/club/aqua/<дом>.webp, update/club_art/aqua_cut.py): сверху гостиная со стеной-аквариумом, снизу холл с колонной.
   Рыбы игрока плавают внутри стекла: у каждого слоя одно свойство transform или opacity, без фильтров на движущемся;
   стекло за краем экрана замирает (vis-off, css/perf.css). Сцена и рыбы — без #marlin: их же рисует карточка игрока. */
/* кадр картинки в коробке: картинка шире коробки в --z раз, её середина — --cx, верх видимого — --cy (доли картинки) */
.mr-aq-pic { position: absolute; top: 0; left: calc(50% - var(--cx) * var(--z) * 100%); width: calc(var(--z) * 100%); aspect-ratio: 1024 / 3072;   /* у каждого дома своя высота — style из aqua.js */
  margin-top: calc(var(--cy) * var(--z) * var(--ratio, 3) * -100%); background: #050B1C center / 100% 100% no-repeat; }
.mr-aq-tank { position: absolute; overflow: hidden; }
.mr-aq-tank::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(60, 140, 210, .1), rgba(8, 30, 70, .14)); }
.mr-aq-column::after { background: linear-gradient(90deg, rgba(150, 230, 255, .12), rgba(150, 230, 255, 0) 18%, rgba(150, 230, 255, 0) 82%, rgba(150, 230, 255, .12)); }
/* рыба: место, наклон, глубина (Web Animations из aqua.js) → прозрачность (колонна: сзади бледнее) → разворот → картинка */
.mr-fx { position: absolute; left: 0; top: 0; pointer-events: none; transform: translate3d(-200%, 0, 0); }
.mr-fx span { display: block; }
.mr-fx img { display: block; width: 100%; max-width: none; aspect-ratio: 1.6; object-fit: cover; }
/* картинки смотрят влево: вправо — зеркало (разворот — те же кадры дорожки) */
/* камбала лежит на песке: нарисована сверху — сплющиваем, не разворачивается */
.mr-fx.mr-flat .mr-fx-turn { position: relative; transition: none; transform: none; }
.mr-fx.mr-flat .mr-fx-turn::after { content: ""; position: absolute; left: 14%; right: 14%; top: 56%; height: 14%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 8, 20, .55), rgba(0, 8, 20, 0)); }
.mr-fx.mr-flat img { position: relative; z-index: 1; transform: scaleY(.4); }

/* ── страница «Аквариумы дома» (a_aqua_8) ── */
#marlin .mr-aq-hero { position: relative; width: 100%; overflow: hidden; background: #050B1C; }
#marlin .mr-aq-hero::before { content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 90px; background: linear-gradient(180deg, rgba(3, 7, 18, .72), rgba(3, 7, 18, 0)); pointer-events: none; }
#marlin .mr-aq-hero::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 5%; background: linear-gradient(180deg, rgba(7, 15, 36, 0), var(--mr-night)); pointer-events: none; }
#marlin .mr-aq-slab { position: absolute; left: 0; right: 0; top: 45.4%; height: 6.8%; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 6, 14, 0) 0%, rgba(4, 6, 14, .86) 38%, rgba(4, 6, 14, .86) 78%, rgba(4, 6, 14, 0) 100%); }
#marlin .mr-aq-tag { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 5px 8px; border-radius: 11px;
  font-size: 12.5px; font-weight: 800; line-height: 1.2; color: var(--mr-lamp-2); background: rgba(7, 15, 36, .82); border: 1px solid rgba(255, 199, 105, .4); white-space: nowrap; }
#marlin .mr-aq-tag svg { width: 15px; height: 15px; color: var(--mr-sea); }
#marlin .mr-aq-tag.mr-mid { transform: translateX(-50%); }
#marlin .mr-aq-tag .mr-down { transform: rotate(90deg); }
#marlin .mr-aq-wait { display: grid; place-items: center; min-height: 50vh; }
#marlin .mr-aq-h { margin-top: -18px; padding: 0 16px; }
#marlin .mr-aq-h h1 { font-size: min(40px, 10.6vw); line-height: .92; padding-right: .06em; text-wrap: balance; text-shadow: 0 6px 24px rgba(2, 6, 18, .85); }
#marlin .mr-aq-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; font-size: 13.5px; font-weight: 700; color: var(--mr-mute); }
#marlin .mr-aq-cap { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 4px 8px; border-radius: 10px; font-size: 13px; font-weight: 800; color: #2b1c02; background: var(--mr-lamp); }
#marlin .mr-aq-cap svg { width: 15px; height: 15px; stroke-width: 2.4; }
#marlin .mr-aq-cap.part { color: var(--mr-lamp-2); background: rgba(255, 199, 105, .1); border: 1px solid rgba(255, 199, 105, .45); }
#marlin .mr-aq-cap.part svg { color: var(--mr-lamp); }
#marlin .mr-aq-eye { display: inline-flex; align-items: center; gap: 6px; }
#marlin .mr-aq-eye svg { width: 16px; height: 16px; color: var(--mr-sea); }
/* таблички — латунные, как в музее: рыба на воде, под ней табличка */
.mr-aq-brass { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 0; padding: 5px 8px 6px; border-radius: 7px; text-align: center;
  color: #2b1c02; background: linear-gradient(180deg, #EBD08F 0%, #C9A158 50%, #A27A38 100%);
  box-shadow: inset 0 1px 0 rgba(255, 250, 230, .75), inset 0 -1px 0 rgba(90, 55, 10, .45), 0 4px 10px rgba(0, 0, 0, .45); }
.mr-aq-brass b { max-width: 100%; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 17px; line-height: 1; text-shadow: 0 1px 0 rgba(255, 244, 210, .55); overflow-wrap: anywhere; }
.mr-aq-brass small { font-size: 11.5px; font-weight: 800; line-height: 1.15; color: rgba(43, 28, 2, .8); white-space: nowrap; }
#marlin .mr-aq-strip { margin: 0 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; align-items: start; }
#marlin .mr-aq-pq { min-width: 0; display: flex; flex-direction: column; text-align: center; transition: transform .15s; }
#marlin .mr-aq-pq:active { transform: scale(.97); }
#marlin .mr-aq-pq .pic, .mr-aqsheet .pic { position: relative; display: block; border-radius: 14px; overflow: hidden;
  background: radial-gradient(80% 90% at 50% 30%, #1C4F86 0%, #0F2A55 60%, #0A1A3A 100%); box-shadow: inset 0 0 0 1px rgba(141, 230, 214, .22); }
#marlin .mr-aq-pq .pic { height: 76px; }
#marlin .mr-aq-pq .pic img, .mr-aqsheet .pic img { position: absolute; left: 3%; top: 42%; width: 94%; aspect-ratio: 1.6; object-fit: cover; transform: translateY(-50%); }
#marlin .mr-aq-pq .pic img.mr-lie, .mr-aqsheet .pic img.mr-lie { transform: translateY(-40%) scaleY(.5); }
#marlin .mr-aq-pq .mr-aq-brass { position: relative; z-index: 1; margin: -16px 5px 0; padding: 4px 6px 5px; border-radius: 6px; }
#marlin .mr-aq-pq .mr-aq-brass b { font-size: 15px; }
#marlin .mr-aq-pq .mr-aq-brass small { font-size: 11px; }
#marlin .mr-aq-from { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 5px; font-size: 12px; font-weight: 700; line-height: 1.2; color: var(--mr-mute); }
#marlin .mr-aq-from svg { width: 13px; height: 13px; flex: none; color: var(--mr-lamp); }
/* свободное место (a_aqua_4) */
#marlin .mr-aq-empty { margin: 12px 16px 0; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border-radius: 20px;
  background: rgba(255, 199, 105, .04); border: 1.5px dashed rgba(255, 199, 105, .45); }
#marlin .mr-aq-strip + .mr-aq-empty { margin-top: 14px; }
#marlin .mr-aq-empty .slot { height: 82px; border-radius: 14px; display: grid; place-items: center; color: rgba(255, 226, 160, .7);
  background: repeating-linear-gradient(180deg, rgba(141, 230, 214, 0) 0 9px, rgba(141, 230, 214, .06) 9px 10px), rgba(10, 26, 58, .7); }
#marlin .mr-aq-empty .slot svg { width: 30px; height: 30px; stroke-width: 1.6; }
#marlin .mr-aq-empty .tx { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
#marlin .mr-aq-empty b { display: block; font-size: 21px; line-height: 1; }
#marlin .mr-aq-empty small { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--mr-mute); }
#marlin .mr-aq-put { margin-top: 9px; height: 40px; padding: 0 12px; border-radius: 13px; display: inline-flex; align-items: center; gap: 6px; font-size: 18px;
  color: var(--mr-lamp-2); border: 1.5px solid rgba(255, 199, 105, .6); background: rgba(7, 15, 36, .35); white-space: nowrap; }
#marlin .mr-aq-put svg { width: 16px; height: 16px; color: var(--mr-lamp); stroke-width: 2.3; }
#marlin .mr-aq-put.off { opacity: .55; border-style: dashed; }
#marlin .mr-aq-full { margin: 12px 16px 0; display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; font-weight: 700; line-height: 1.4; color: var(--mr-mute); }
#marlin .mr-aq-full svg { width: 15px; height: 15px; margin-top: 1px; flex: none; color: var(--mr-lamp); }
#marlin .mr-auto.mr-aq-entry { background: rgba(255, 199, 105, .05); border-color: rgba(255, 199, 105, .3); }
#marlin .mr-auto.mr-aq-entry .mr-ic { background: rgba(255, 199, 105, .12); color: var(--mr-lamp); }
#marlin .mr-auto.mr-aq-entry.mr-aq-bk { margin-top: 22px; }
/* блок «Аквариумы» на странице дома */
#marlin .mr-aq-prev { position: relative; display: block; width: 100%; margin-top: 12px; aspect-ratio: 2; border-radius: 16px; overflow: hidden; background: #050B1C;
  box-shadow: inset 0 0 0 1px rgba(255, 246, 232, .14); }
#marlin .mr-aq-prev::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 199, 105, .3); pointer-events: none; }
#marlin .mr-hb-big small { font-family: var(--f-text); font-style: normal; font-size: 13px; font-weight: 700; color: var(--mr-mute); }

/* ── книга коллекции (a_aqua_6) ── */
#marlin .mr-bk-all { margin: 16px 16px 0; padding: 16px; border-radius: 22px; background: linear-gradient(180deg, #1A2E63 0%, #0F1D44 100%); border: 1.5px solid rgba(255, 199, 105, .55);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .35); }
#marlin .mr-bk-all .k { font-size: 13px; font-weight: 700; color: var(--mr-lamp); }
#marlin .mr-bk-n { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin-top: 2px; }
#marlin .mr-bk-n b { font-size: 46px; line-height: .9; color: var(--mr-lamp-2); padding-right: .06em; }
#marlin .mr-bk-n span { font-size: 15px; font-weight: 700; }
#marlin .mr-bk-bar { position: relative; height: 8px; margin-top: 12px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
#marlin .mr-bk-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--mr-lamp); }
#marlin .mr-bk-bar.sm { height: 5px; margin-top: 10px; }
#marlin .mr-bk-prize { margin-top: 14px; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px 10px 10px; border-radius: 16px; background: rgba(7, 15, 36, .5); }
#marlin .mr-bk-prize .fr { position: relative; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #2b1c02;
  background: linear-gradient(140deg, #FFF0C2, #E8B55C 45%, #9E6E28 70%, #F6DE9F); box-shadow: 0 0 0 3px rgba(141, 230, 214, .35), 0 6px 16px rgba(0, 0, 0, .4); }
#marlin .mr-bk-prize .fr::after { content: ""; position: absolute; inset: 6px; border-radius: 9px; background: radial-gradient(70% 70% at 50% 35%, #1C4F86, #0A1A3A); }
#marlin .mr-bk-prize .fr svg { position: relative; z-index: 1; width: 24px; height: 24px; color: var(--mr-lamp-2); }
#marlin .mr-bk-prize b { display: block; font-size: 14.5px; font-weight: 800; line-height: 1.3; }
#marlin .mr-bk-prize b em { font-style: normal; color: var(--mr-lamp-2); }
#marlin .mr-bk-prize small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; line-height: 1.35; color: var(--mr-mute); }
#marlin .mr-bk-prize.done { background: rgba(255, 199, 105, .1); }
#marlin .mr-bk { margin: 0 16px 12px; padding: 12px; border-radius: 22px; background: rgba(16, 29, 66, .94); border: 1px solid rgba(255, 246, 232, .13); }
#marlin .mr-bk.done { border-color: rgba(255, 199, 105, .55); }
#marlin .mr-bk-h { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
#marlin .mr-bk-h .mr-hth { height: 44px; border-radius: 11px; background-position: 50% 30%; }
#marlin .mr-bk-h .tx { min-width: 0; }
#marlin .mr-bk-h b { display: block; font-size: 21px; line-height: 1; }
#marlin .mr-bk-h small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 600; color: var(--mr-mute); }
#marlin .mr-bk-h .n { font-size: 26px; line-height: 1; color: var(--mr-lamp-2); white-space: nowrap; }
#marlin .mr-bk-h .n span { font-family: var(--f-text); font-style: normal; font-size: 13px; font-weight: 700; color: var(--mr-mute); }
#marlin .mr-bk.locked .mr-bk-h b { color: rgba(255, 246, 232, .78); }
#marlin .mr-bk-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 5px; margin-top: 12px; }
#marlin .mr-bk-c { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
#marlin .mr-bk-c .pic { position: relative; width: 100%; aspect-ratio: 1.25; border-radius: 10px; overflow: hidden;
  background: radial-gradient(80% 90% at 50% 30%, #1C4F86 0%, #0F2A55 60%, #0A1A3A 100%); box-shadow: inset 0 0 0 1px rgba(141, 230, 214, .2); }
#marlin .mr-bk-c .pic img { position: absolute; left: -4%; top: 50%; width: 108%; aspect-ratio: 1.6; object-fit: cover; transform: translateY(-50%); }
#marlin .mr-bk-c .pic img.mr-lie { transform: translateY(-38%) scaleY(.55); }
#marlin .mr-bk-c .nm { max-width: 100%; font-family: var(--f-display); font-style: italic; font-weight: 800; font-size: 12px; line-height: 1; letter-spacing: -.01em; overflow-wrap: anywhere; }
#marlin .mr-bk-c .w { font-size: 11.5px; font-weight: 800; line-height: 1; color: var(--mr-lamp-2); white-space: nowrap; }
#marlin .mr-bk-c.no .pic { background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 246, 232, .1); }
#marlin .mr-bk-c.no .pic img { filter: brightness(0); opacity: .55; }
#marlin .mr-bk-c.no .pic::after { content: "?"; position: absolute; inset: 0; display: grid; place-items: center; font: italic 900 24px/1 var(--f-display); color: rgba(255, 246, 232, .55); }
#marlin .mr-bk-reward { margin-top: 12px; display: flex; gap: 8px; align-items: flex-start; padding: 9px 11px; border-radius: 13px; background: rgba(255, 199, 105, .07);
  font-size: 13px; font-weight: 700; line-height: 1.35; color: var(--mr-ink); }
#marlin .mr-bk-reward svg { width: 16px; height: 16px; margin-top: 1px; flex: none; color: var(--mr-lamp); }
#marlin .mr-bk-reward b { color: var(--mr-lamp-2); font-weight: 800; }
#marlin .mr-bk-reward.on { background: rgba(255, 199, 105, .16); }
#marlin .mr-bk-lock { width: 100%; margin-top: 10px; display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; font-weight: 700; line-height: 1.35; color: var(--mr-dim); text-align: left; }
#marlin .mr-bk-lock svg { width: 15px; height: 15px; margin-top: 1px; flex: none; }
#marlin .mr-bk-lock span { flex: 1; }

/* ── шторки аквариума: табличка, «Выбрать в трюме», «Куда положить?» (класс mr-sheet tz-sheet mr-msheet mr-aqsheet) ── */
.mr-aqsheet .mr-r-white { --rc: #E9E2D4; } .mr-aqsheet .mr-r-green { --rc: #8FE3A0; } .mr-aqsheet .mr-r-blue { --rc: #7DBBFF; }
.mr-aqsheet .mr-r-purple { --rc: #C9A0FF; } .mr-aqsheet .mr-r-gold { --rc: #FFC769; }
.mr-aqsheet .mr-aq-pl { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border-radius: 20px;
  background: rgba(16, 29, 66, .94); border: 1px solid rgba(255, 246, 232, .13); }
.mr-aqsheet .mr-aq-pl .pic { height: 86px; }
.mr-aqsheet .mr-aq-pl .pic img { left: 2%; top: 50%; width: 96%; }
.mr-aqsheet .mr-aq-pl .tx { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.mr-aqsheet .mr-aq-rar { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; line-height: 1.2; color: var(--rc, var(--mr-mute)); }
.mr-aqsheet .mr-aq-rar::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rc, var(--mr-mute)); }
.mr-aqsheet .mr-aq-pl .mr-aq-brass { align-items: flex-start; text-align: left; max-width: 100%; padding: 5px 11px 6px; gap: 2px; }
.mr-aqsheet .mr-aq-pl .mr-aq-brass b { font-size: 20px; }
.mr-aqsheet .mr-aq-pl .mr-aq-brass small { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 17px; color: #4a2c00; }
.mr-aqsheet .meta { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 3px; }
.mr-aqsheet .meta li { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; line-height: 1.25; color: var(--mr-mute); }
.mr-aqsheet .meta svg { width: 15px; height: 15px; flex: none; color: var(--mr-lamp); }
.mr-aqsheet .tz-fine { margin: 12px 0 0; font-size: 12.5px; font-weight: 600; line-height: 1.4; color: var(--mr-mute); }
.mr-aqsheet .mr-aq-foot { display: grid; gap: 8px; }
.mr-aqsheet .mr-go { flex-direction: row; gap: 8px; color: #3a2300; background: linear-gradient(100deg, #FFE6A0, #E8B55C); box-shadow: 0 10px 26px rgba(232, 181, 92, .3); font-size: 21px; }
.mr-aqsheet .mr-go svg { width: 19px; height: 19px; stroke-width: 2.4; }
.mr-aqsheet .mr-aq-ghost { width: 100%; min-height: 50px; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 20px;
  color: var(--mr-lamp-2); background: rgba(10, 18, 40, .72); border: 1.5px solid rgba(255, 199, 105, .5); }
.mr-aqsheet .mr-aq-ghost svg { width: 18px; height: 18px; color: var(--mr-lamp); }
.mr-aqsheet .busy { opacity: .6; pointer-events: none; }
/* рыбы трюма */
.mr-aqsheet .mr-aq-hls { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.mr-aqsheet .mr-aq-hl { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px 8px 8px; border-radius: 16px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 246, 232, .12); }
.mr-aqsheet .mr-aq-hl .pic, .mr-aqsheet .mr-aq-what .pic { height: 46px; border-radius: 10px; }
.mr-aqsheet .mr-aq-hl .pic img, .mr-aqsheet .mr-aq-what .pic img { left: 0; top: 50%; width: 100%; }
.mr-aqsheet .mr-aq-hl .tx { min-width: 0; }
.mr-aqsheet .mr-aq-hl b, .mr-aqsheet .mr-aq-what b { display: block; font-size: 15px; font-weight: 800; line-height: 1.2; }
.mr-aqsheet .mr-aq-hl small, .mr-aqsheet .mr-aq-what small { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--mr-mute); }
.mr-aqsheet .mr-aq-hl em { display: block; margin-top: 2px; font-style: normal; font-size: 12px; font-weight: 700; color: var(--mr-sea); }
.mr-aqsheet .mr-aq-go { min-height: 40px; padding: 4px 14px; border-radius: 13px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 18px; line-height: 1; color: #3a2300; background: linear-gradient(100deg, #FFE6A0, #E8B55C); white-space: nowrap; text-align: center; }
.mr-aqsheet .mr-aq-go small { font: 700 12px/1.2 var(--f-text); color: rgba(58, 35, 0, .78); white-space: normal; }
.mr-aqsheet .mr-aq-go.ghost { color: var(--mr-lamp-2); background: rgba(10, 18, 40, .72); border: 1.5px solid rgba(255, 199, 105, .5); }
.mr-aqsheet .mr-aq-go.ghost small { color: var(--mr-mute); }
.mr-aqsheet .mr-aq-go.off { color: var(--mr-dim); background: rgba(255, 255, 255, .04); border: 1.5px dashed rgba(255, 246, 232, .2); }
/* «Куда положить?» */
.mr-aqsheet .mr-aq-what { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 12px 8px 8px; border-radius: 15px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 246, 232, .12); }
.mr-aqsheet .mr-aq-dests { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.mr-aqsheet .mr-aq-dest { padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 246, 232, .12); }
.mr-aqsheet .mr-aq-dest.go { border: 1.5px solid rgba(255, 199, 105, .6); background: rgba(255, 199, 105, .06); }
.mr-aqsheet .mr-aq-dest-top { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: center; }
.mr-aqsheet .mr-aq-dest-top .mr-hth { height: 56px; background-position: 50% 34%; }
.mr-aqsheet .mr-aq-dest-top .tx { min-width: 0; }
.mr-aqsheet .mr-aq-dest-top b { display: block; font-size: 21px; line-height: 1; }
.mr-aqsheet .mr-aq-dest-top .n { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--mr-mute); }
.mr-aqsheet .mr-aq-dest-top .n em { font-style: normal; font-weight: 800; color: var(--mr-sea); margin-left: 4px; }
.mr-aqsheet .mr-aq-dest-btns { margin-top: 10px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.mr-aqsheet .mr-aq-dest-btns .mr-aq-go { min-height: 54px; font-size: 19px; }

/* ── карточка улова у дома: «В аквариум», новый лучший вес, новый титул (a_aqua_5) ── */
#marlin .mr-wt-new { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 4px 11px 5px 9px; border-radius: 11px; font-size: 13px; font-weight: 800;
  color: var(--mr-sea); background: rgba(141, 230, 214, .09); border: 1px solid rgba(141, 230, 214, .4); }
#marlin .mr-wt-new svg { width: 15px; height: 15px; flex: none; }
#marlin .mr-wt-title { display: flex; gap: 7px; align-items: center; justify-content: center; margin-top: 8px; font-size: 14px; font-weight: 800; line-height: 1.3; color: var(--mr-lamp-2); }
#marlin .mr-wt-title svg { width: 17px; height: 17px; flex: none; color: var(--mr-lamp); }
#marlin .mr-wt-card .mt-b.mr-wt-aq { color: var(--mr-lamp-2); background: rgba(10, 18, 40, .72); border: 1.5px solid rgba(255, 199, 105, .55); }
#marlin .mr-wt-card .mt-b.mr-wt-aq svg { color: var(--mr-lamp); }
#marlin .mr-wt-card .mt-b.busy { opacity: .6; pointer-events: none; }

/* ── роскошь: часы, украшения, картины (js/marlin/lux.js; макеты update/mockups/club/club_lux.css, a_lux_1…5, 7, 8) ──
   Вещи — на прозрачном фоне (assets/club/lux), бархат рисуем здесь; картины 3:2 без рамы — золочёная рама здесь, одна на все.
   Комнаты галереи и сейфа — 1024×1536, вещи ставим в координатах картинки. Ничего не движется; фильтры — только на
   неподвижных картинках. Бархат, рама, бирка номера и витрина — без #marlin: их же рисует карточка игрока (pages.css). */
.mr-velvet { position: relative; overflow: hidden;
  background:
    radial-gradient(70% 62% at 50% 34%, rgba(150, 175, 245, .22), rgba(150, 175, 245, 0) 72%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .62 0 0 0 0 .7 0 0 0 0 1 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(180deg, #1A2F66 0%, #0E1B45 58%, #08112D 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 199, 105, .26), inset 0 14px 26px rgba(0, 0, 0, .42), inset 0 -8px 18px rgba(0, 0, 0, .35); }
.mr-velvet > img { position: absolute; left: 50%; top: 50%; width: var(--iw, 82%); max-width: none; transform: translate(-50%, -50%); filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .55)); }
/* тёмная стена под картину: свет лампы сверху */
.mr-wall { position: relative; overflow: hidden; background: radial-gradient(60% 60% at 50% 18%, rgba(255, 205, 130, .26), rgba(255, 205, 130, 0) 70%), linear-gradient(180deg, #2A1C12 0%, #1C130C 70%, #120C07 100%); }
/* золочёная рама: толщина — доля ширины рамы (padding в % — от ширины, тени — в единицах контейнера) */
.mr-frame { display: block; container-type: inline-size; }
.mr-gild { display: block; padding: 7.5%; border-radius: 3px; border-radius: 1.5cqw;
  background: linear-gradient(135deg, #FFF1C4 0%, #CF9C45 16%, #87561A 31%, #F4D88C 49%, #A8762B 64%, #EBCB79 80%, #6E4512 100%);
  box-shadow: 0 0 0 1px rgba(38, 20, 0, .85), 0 6px 14px rgba(0, 0, 0, .6);
  box-shadow: 0 0 0 .8cqw rgba(38, 20, 0, .85), inset 0 0 0 .7cqw rgba(255, 238, 190, .55), inset 0 0 0 2.4cqw rgba(110, 70, 20, .28), 0 4cqw 9cqw rgba(0, 0, 0, .62); }
.mr-gild img { display: block; width: 100%; max-width: none; aspect-ratio: 3 / 2; object-fit: cover;
  box-shadow: 0 0 0 2px #2E1A05; box-shadow: 0 0 0 1.4cqw #2E1A05, 0 0 0 2.1cqw rgba(255, 228, 160, .5); }
/* картины ещё нет: тёмная рама, чёрный холст */
.mr-frame.mr-no .mr-gild { background: linear-gradient(135deg, #2B2F3E, #171A26 50%, #2A2D3B); box-shadow: 0 0 0 1px rgba(0, 0, 0, .6); }
.mr-frame.mr-no .mr-gild img { filter: brightness(0); opacity: .55; box-shadow: 0 0 0 2px #0B0D14; }
/* номер вещи — латунная бирка */
.mr-lxno { display: inline-flex; align-items: center; justify-content: center; padding: 2px 8px 3px; border-radius: 6px; white-space: nowrap;
  font: italic 900 14px/1 var(--f-display); color: #2b1c02; background: linear-gradient(180deg, #EBD08F 0%, #C9A158 55%, #A27A38 100%);
  box-shadow: inset 0 1px 0 rgba(255, 250, 230, .7), 0 3px 8px rgba(0, 0, 0, .45); }
.mr-lxno.one { font-family: var(--f-text); font-style: normal; font-size: 11px; font-weight: 800; padding: 3px 7px; }
/* витрина на бархате: вещи в ряд по три */
.mr-lxtray { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; padding: 10px; border-radius: 18px; }
.mr-lxcell { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.mr-lxcell .pic { position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; }
.mr-lxcell .pic::before { content: ""; position: absolute; left: 6%; right: 6%; top: -4%; height: 78%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 226, 170, .2), rgba(255, 226, 170, 0)); }
.mr-lxcell .pic > * { position: relative; }
.mr-lxcell .pic > img { width: 92%; max-width: none; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .6)); }
.mr-lxcell .pic .mr-frame { width: 94%; }
.mr-lxcell .nm { max-width: 100%; font: italic 800 14px/1.05 var(--f-display); color: #FFF6E8; text-wrap: balance; overflow-wrap: anywhere; }

/* ── «Имущество» → «Роскошь» ── */
#marlin .mr-lxb { margin: 0 16px; padding: 12px; border-radius: 24px; background: linear-gradient(180deg, #14254F 0%, #0D1937 100%); border: 1px solid var(--mr-line); }
#marlin .mr-lxcell { transition: transform .15s; }
#marlin .mr-lxcell:active { transform: scale(.96); }
#marlin .mr-lxnone { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 16px; text-align: center; }
#marlin .mr-lxnone .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--mr-lamp); background: rgba(255, 199, 105, .12); }
#marlin .mr-lxnone .ic svg { width: 22px; height: 22px; }
#marlin .mr-lxnone b { margin-top: 4px; font-size: 22px; line-height: 1; }
#marlin .mr-lxnone small { font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--mr-mute); text-wrap: balance; }
#marlin .mr-lxmore { margin: 8px 4px 0; font-size: 12.5px; font-weight: 700; color: var(--mr-dim); text-align: center; }
#marlin .mr-lxworth { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 12px 4px 0; font-size: 13px; font-weight: 700; color: var(--mr-mute); }
#marlin .mr-lxworth b { font-size: 20px; line-height: 1; color: var(--mr-lamp-2); white-space: nowrap; }
#marlin .mr-lxrooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
#marlin .mr-lxroom-l { position: relative; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; min-height: 108px; padding: 10px 11px;
  border-radius: 16px; overflow: hidden; isolation: isolate; text-align: left; background: #0B1430 var(--mr-pic) 50% var(--py, 30%) / cover no-repeat; border: 1px solid rgba(255, 199, 105, .3);
  transition: transform .15s; }
#marlin .mr-lxroom-l:active { transform: scale(.97); }
#marlin .mr-lxroom-l::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 15, 36, .05) 0%, rgba(7, 15, 36, .55) 46%, rgba(7, 15, 36, .94) 100%); }
#marlin .mr-lxroom-l b { display: flex; align-items: center; gap: 6px; font-size: 21px; line-height: 1; }
#marlin .mr-lxroom-l b svg { width: 18px; height: 18px; color: var(--mr-lamp); }
#marlin .mr-lxroom-l small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 700; line-height: 1.25; color: var(--mr-mute); }
#marlin .mr-lxroom-l small em { font-style: normal; color: var(--mr-lamp-2); }
#marlin .mr-lxroom-l small.dim { margin-top: 1px; font-weight: 600; color: var(--mr-dim); }
/* строка: значок или вещь, две строки текста, стрелка (нет дома, ждёт места, торгов нет) */
#marlin .mr-lxrow2 { width: 100%; margin-top: 12px; display: grid; grid-template-columns: 46px minmax(0, 1fr) 16px; gap: 10px; align-items: center; padding: 9px 10px 9px 9px;
  border-radius: 16px; text-align: left; background: rgba(7, 15, 36, .5); border: 1px solid rgba(255, 199, 105, .3); transition: transform .15s; }
#marlin .mr-lxrow2:active { transform: scale(.98); }
#marlin .mr-lxrow2 .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: var(--mr-lamp); background: rgba(255, 199, 105, .12); }
#marlin .mr-lxrow2 .ic svg { width: 22px; height: 22px; }
#marlin .mr-lxrow2 .tx { min-width: 0; }
#marlin .mr-lxrow2 b { display: block; font-size: 14.5px; font-weight: 800; line-height: 1.25; }
#marlin .mr-lxrow2 small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; line-height: 1.35; color: var(--mr-mute); }
#marlin .mr-lxrow2 > svg { width: 16px; height: 16px; color: var(--mr-dim); }
#marlin .mr-lxrow2.warn { border-color: rgba(255, 156, 138, .55); background: rgba(255, 156, 138, .06); }
#marlin .mr-lxrow2.warn b { color: var(--mr-red); }
#marlin .mr-lxrow2.quiet { border-style: dashed; border-color: rgba(255, 246, 232, .2); }
/* значок вещи: бархат или рама */
.mr-lxth { position: relative; width: 46px; height: 46px; flex: none; border-radius: 11px; display: grid; place-items: center; --iw: 86%; }
.mr-lxth.lg { width: 76px; height: 76px; border-radius: 15px; }
.mr-lxth .mr-frame { width: 88%; }
.mr-lxth.mr-wall { box-shadow: inset 0 0 0 1px rgba(255, 226, 170, .16); }
#marlin .mr-lxth > img, .mr-msheet .mr-lxth > img { width: var(--iw); height: auto; border-radius: 0; object-fit: contain; object-position: 50% 50%; }
#marlin .mr-lxth .mr-gild img, .mr-msheet .mr-lxth .mr-gild img { width: 100%; height: auto; border-radius: 0; aspect-ratio: 3 / 2; object-fit: cover; }
/* торги недели внутри блока */
#marlin .mr-lxtease { display: block; margin-top: 12px; padding: 10px 10px 8px; border-radius: 16px; background: rgba(7, 15, 36, .5); border: 1px solid rgba(255, 199, 105, .3); }
#marlin .mr-lxtease-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 2px; }
#marlin .mr-lxtease-h > span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--mr-lamp); }
#marlin .mr-lxtease-h svg { width: 16px; height: 16px; }
#marlin .mr-lxtease-h small { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--mr-mute); white-space: nowrap; }
#marlin .mr-lxtease-h small svg { width: 14px; height: 14px; }
#marlin .mr-lxtease .mr-hw-lots { margin-top: 8px; }
#marlin .mr-lxtease .mr-hw-lots li { grid-template-columns: 46px minmax(0, 1fr) auto; background: rgba(16, 29, 66, .9); }
#marlin .mr-lxtease .mr-hw-row { margin-top: 8px; padding: 0 2px; }
#marlin .mr-lxtease .mr-hw-lots .nm b { white-space: normal; overflow: visible; text-wrap: balance; }
#marlin .mr-lxcol { width: 100%; display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 6px 2px; border-top: 1px solid rgba(255, 246, 232, .1);
  font-size: 13.5px; font-weight: 800; color: var(--mr-lamp-2); text-align: left; }
#marlin .mr-lxcol > span { flex: 1; min-width: 0; }
#marlin .mr-lxcol small { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 600; color: var(--mr-mute); }
#marlin .mr-lxcol small.ttl { color: var(--mr-lamp); font-weight: 700; }
#marlin .mr-lxcol > svg { width: 17px; height: 17px; }
#marlin .mr-lxcol > svg:first-child { width: 20px; height: 20px; color: var(--mr-lamp); }
#marlin .d-lux { background: #C9A0FF; }

/* ── карточка вещи (a_lux_2) ── */
#marlin .mr-lxstage { position: relative; margin: 14px 16px 0; aspect-ratio: 1.08; border-radius: 26px; --iw: 76%; }
#marlin .mr-lxstage > img { top: 52%; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .6)); }
#marlin .mr-lxstage.mr-velvet::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 7%; height: 9%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 4, 14, .6), rgba(0, 4, 14, 0)); }
#marlin .mr-lxstage.mr-wall { aspect-ratio: 1.3; box-shadow: inset 0 -18px 26px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 226, 170, .16); }
#marlin .mr-lxstage.mr-wall .mr-frame { position: absolute; left: 50%; top: 54%; width: 76%; transform: translate(-50%, -50%); }
#marlin .mr-lxstage .mr-lxno { position: absolute; z-index: 1; left: 12px; top: 12px; font-size: 18px; padding: 4px 11px 5px; }
#marlin .mr-lxstage .mr-lxno.one { font-size: 13px; padding: 5px 10px; }
/* лампа над картиной — латунная планка со светом */
#marlin .mr-lxlamp { position: absolute; left: 50%; top: 10px; width: 64px; height: 5px; margin-left: -32px; border-radius: 3px; background: linear-gradient(180deg, #F7DA94, #9A6B25);
  box-shadow: 0 8px 26px 10px rgba(255, 205, 130, .22); }
#marlin .mr-lxh { padding: 14px 16px 0; }
#marlin .mr-lxh .k { font-size: 13px; font-weight: 700; color: var(--mr-lamp); }
#marlin .mr-lxh h1 { margin-top: 3px; font-size: min(46px, 12.4vw); line-height: .92; padding-right: .06em; text-wrap: balance; }
#marlin .mr-lxh .mr-where { margin-top: 8px; align-items: flex-start; line-height: 1.35; }
#marlin .mr-lxh .mr-where svg { margin-top: 1px; }
#marlin .mr-lxh .mr-where b { color: var(--mr-ink); font-weight: 800; }
#marlin .mr-lxone { margin: 16px 16px 0; display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 14px; font-size: 13.5px; font-weight: 700; line-height: 1.35;
  background: rgba(255, 199, 105, .08); border: 1px solid rgba(255, 199, 105, .3); }
#marlin .mr-lxone svg { width: 18px; height: 18px; flex: none; color: var(--mr-lamp); }
#marlin .mr-lxnums { margin: 0 16px; padding: 12px; border-radius: 20px; background: rgba(16, 29, 66, .94); border: 1px solid rgba(255, 246, 232, .13); }
#marlin .mr-lxnums ol { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; }
#marlin .mr-lxnums ol li { aspect-ratio: .82; border-radius: 8px; display: grid; place-items: center; font: italic 900 16px/1 var(--f-display); color: var(--mr-ink);
  background: rgba(255, 199, 105, .12); box-shadow: inset 0 0 0 1px rgba(255, 199, 105, .45); }
#marlin .mr-lxnums ol li.me { color: #2b1c02; background: linear-gradient(180deg, #FFE6A0, #E8B55C); box-shadow: 0 0 0 2px rgba(255, 199, 105, .3); }
#marlin .mr-lxnums ol li.no { color: rgba(255, 246, 232, .38); background: none; box-shadow: inset 0 0 0 1px rgba(255, 246, 232, .2); }
#marlin .mr-lxnums ol li.sale { color: var(--mr-sea); background: rgba(141, 230, 214, .08); box-shadow: inset 0 0 0 1.5px rgba(141, 230, 214, .55); }
#marlin .mr-lxnums ul { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--mr-mute); }
#marlin .mr-lxnums ul li { display: inline-flex; align-items: center; gap: 6px; }
#marlin .mr-lxnums ul i { width: 10px; height: 10px; border-radius: 3px; background: rgba(255, 199, 105, .2); box-shadow: inset 0 0 0 1px rgba(255, 199, 105, .55); }
#marlin .mr-lxnums ul i.me { background: var(--mr-lamp); box-shadow: none; }
#marlin .mr-lxnums ul i.no { background: none; box-shadow: inset 0 0 0 1px rgba(255, 246, 232, .3); }
#marlin .mr-lxnums ul i.sale { background: none; box-shadow: inset 0 0 0 1.5px var(--mr-sea); }
#marlin .mr-lxbars { grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 10px; height: 128px; padding-top: 24px; }
#marlin .mr-lxbars i.mine { background: rgba(141, 230, 214, .55); }
#marlin .mr-lxbars i.mine b { color: var(--mr-sea); }
#marlin .mr-lxbars i.last.mine { background: var(--mr-lamp); }
#marlin .mr-lxown { margin: 0 16px; padding: 4px 14px; border-radius: 20px; background: rgba(16, 29, 66, .94); border: 1px solid rgba(255, 246, 232, .13); }
#marlin .mr-lxchain { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 0; border-bottom: 1px solid rgba(255, 246, 232, .09); font-size: 13px; font-weight: 700; color: var(--mr-mute); }
#marlin .mr-lxchain b { padding: 3px 10px 4px; border-radius: 10px; font-size: 14px; font-weight: 800; color: var(--mr-ink); background: rgba(255, 255, 255, .07); }
#marlin .mr-lxchain b.me { color: #2b1c02; background: var(--mr-lamp); }
#marlin .mr-lxchain svg { width: 15px; height: 15px; color: var(--mr-dim); }
#marlin .mr-lxown li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255, 246, 232, .09); }
#marlin .mr-lxown li:last-child { border-bottom: 0; }
#marlin .mr-lxown .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; line-height: 1; color: var(--mr-lamp-2); background: rgba(255, 199, 105, .12); }
#marlin .mr-lxown li.me .av { color: #2b1c02; background: var(--mr-lamp); }
#marlin .mr-lxown .tx { min-width: 0; }
#marlin .mr-lxown .tx b { display: block; font-size: 15px; font-weight: 800; line-height: 1.2; }
#marlin .mr-lxown .tx small { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 600; line-height: 1.35; color: var(--mr-mute); }
#marlin .mr-lxacts { margin: 18px 16px 0; display: flex; flex-direction: column; gap: 10px; }
#marlin .mr-lxacts .mr-out { margin-top: 0; }
#marlin .mr-lxacts .mr-unlist { margin-top: -2px; }
#marlin .mr-lxwear { margin: -4px 6px 2px; font-size: 12.5px; font-weight: 700; line-height: 1.4; color: var(--mr-mute); text-align: center; }
#marlin .mr-lxbtn { width: 100%; min-height: 50px; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 20px;
  color: var(--mr-lamp-2); background: rgba(10, 18, 40, .72); border: 1.5px solid rgba(255, 199, 105, .5); transition: transform .15s; }
#marlin .mr-lxbtn svg { width: 18px; height: 18px; color: var(--mr-lamp); }
#marlin .mr-lxbtn.gold { color: #3a2300; background: linear-gradient(100deg, #FFE6A0, #E8B55C); border: 0; box-shadow: 0 10px 26px rgba(232, 181, 92, .3); }
#marlin .mr-lxbtn.gold svg { color: #3a2300; }
#marlin .mr-lxbtn:active, #marlin .mr-lxquiet:active { transform: scale(.98); }
#marlin .mr-lxquiet { width: 100%; min-height: 50px; padding: 7px 12px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  text-align: center; color: rgba(255, 226, 160, .85); border: 1px solid rgba(255, 199, 105, .32); transition: transform .15s; }
#marlin .mr-lxquiet span { display: inline-flex; align-items: center; gap: 6px; font-size: 19px; line-height: 1.05; }
#marlin .mr-lxquiet svg { width: 16px; height: 16px; }
#marlin .mr-lxquiet small { font-size: 12px; font-weight: 700; color: var(--mr-dim); }

/* ── аукционный дом: вещь на торгах клуба крупно, перепродажа — с картинкой сбоку, доли недели — строками ── */
#marlin .mr-lot.mr-lxlot { padding: 0 0 14px; overflow: hidden; }
#marlin .mr-lot.mr-lxlot > :not(.mr-lxlotpic) { margin-left: 14px; margin-right: 14px; }
/* кнопка ставки — во всю ширину за вычетом отступов: с width 100% и отступами она вылезала за карточку на 28 точек и на
   узком телефоне обрезалась краем экрана (владелец 04.11) */
#marlin .mr-lot.mr-lxlot > .mr-lot-go { width: calc(100% - 28px); }
#marlin .mr-lxlotpic { position: relative; height: 172px; display: block; --iw: 138px; }
#marlin .mr-lxlotpic.mr-velvet > img { top: 52%; }
#marlin .mr-lxlotpic.mr-wall { height: 204px; box-shadow: inset 0 -18px 26px rgba(0, 0, 0, .45); }
#marlin .mr-lxlotpic.mr-wall .mr-frame { position: absolute; left: 50%; top: 28px; width: 172px; transform: translateX(-50%); }
#marlin .mr-lxlotpic .tags { position: absolute; z-index: 1; left: 10px; right: 10px; bottom: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
#marlin .mr-lxlotpic .club { padding: 3px 9px 4px; border-radius: 10px; font-size: 12px; font-weight: 800; color: var(--mr-lamp-2); background: rgba(7, 15, 36, .84); border: 1px solid rgba(255, 199, 105, .4); white-space: nowrap; }
#marlin .mr-lxlot-t { margin-top: 12px; }
#marlin .mr-lxlot-t b { display: block; font-size: 25px; line-height: 1; padding-right: .06em; text-wrap: balance; }
#marlin .mr-lxlot-t small { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 700; line-height: 1.3; color: var(--mr-mute); }
#marlin .mr-lot.mr-lxlot .mr-lot-st { display: inline-flex; margin-top: 10px; }
#marlin .mr-lot-h.mr-lxside { grid-template-columns: 76px minmax(0, 1fr); }
#marlin .mr-lxsubh { margin: 16px 18px 8px; font-size: 20px; line-height: 1; color: var(--mr-mute); }
#marlin .mr-lxmini { margin: 0 16px; border-radius: 20px; overflow: hidden; background: rgba(16, 29, 66, .94); border: 1px solid rgba(255, 246, 232, .13); }
#marlin .mr-lxmini li { border-bottom: 1px solid rgba(255, 246, 232, .08); }
#marlin .mr-lxmini li:last-child { border-bottom: 0; }
#marlin .mr-lxmini li.out { box-shadow: inset 3px 0 0 var(--mr-red); }
#marlin .mr-lxmini li.is-lead { box-shadow: inset 3px 0 0 var(--mr-sea); }
#marlin .mr-lxmini button { width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 16px; align-items: center; gap: 10px; padding: 9px 10px 9px 9px; text-align: left; }
#marlin .mr-lxmini img { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; object-position: 50% 18%; }
#marlin .mr-lxmini .nm { min-width: 0; }
#marlin .mr-lxmini .nm b { display: block; font-size: 15px; font-weight: 800; line-height: 1.2; }
#marlin .mr-lxmini .nm small { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--mr-mute); }
#marlin .mr-lxmini .nm small.out { color: var(--mr-red); font-weight: 700; }
#marlin .mr-lxmini .v { text-align: right; font-size: 20px; line-height: 1; color: var(--mr-lamp-2); white-space: nowrap; }
#marlin .mr-lxmini .v small { display: block; margin-top: 2px; font-family: var(--f-text); font-style: normal; font-size: 11px; font-weight: 700; color: var(--mr-mute); }
#marlin .mr-lxmini button > svg { width: 16px; height: 16px; color: var(--mr-dim); }

/* ── комнаты: галерея (a_lux_4) и сейф (a_lux_5); картинка 1024×1536, видна её часть, вещи — в координатах картинки ── */
#marlin .mr-lxroom { position: relative; width: 100%; overflow: hidden; aspect-ratio: var(--ar); background: #050B1C; }
#marlin .mr-lxpic { position: absolute; top: 0; left: calc(50% - var(--cx) * var(--z) * 100%); width: calc(var(--z) * 100%); aspect-ratio: 1024 / 1536;
  margin-top: calc(var(--cy) * var(--z) * -150%); background: center / 100% 100% no-repeat; }
#marlin .mr-lxpic > * { position: absolute; }
#marlin .mr-lxroom::before { content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 80px; background: linear-gradient(180deg, rgba(3, 7, 18, .72), rgba(3, 7, 18, 0)); pointer-events: none; }
#marlin .mr-lxroom::after { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 16%; background: linear-gradient(180deg, rgba(7, 15, 36, 0), var(--mr-night)); pointer-events: none; }
/* галерея: видно x 230–975, y 150–830; панели с подсветкой — середины x 346 · 600 · 856 */
#marlin .mr-lxroom.mr-gal { --z: 1.3745; --cx: .5884; --cy: .0977; --ar: 745 / 680; }
#marlin .mr-galart { top: 21%; width: 20.3%; display: block; transition: transform .15s; }
#marlin .mr-galart:active { transform: scale(.97); }
#marlin .mr-galart .mr-gild { box-shadow: 0 0 0 1px rgba(38, 20, 0, .85), 0 8px 18px rgba(0, 0, 0, .7);
  box-shadow: 0 0 0 .8cqw rgba(38, 20, 0, .85), inset 0 0 0 .7cqw rgba(255, 238, 190, .55), inset 0 0 0 2.4cqw rgba(110, 70, 20, .28), 0 5cqw 10cqw rgba(0, 0, 0, .7), 0 -2cqw 14cqw rgba(255, 200, 120, .16); }
#marlin .mr-galpq { top: 31.8%; width: 17.6%; container-type: inline-size; }
#marlin .mr-galpq .mr-aq-brass { padding: 3cqw 3cqw 3.6cqw; border-radius: 3cqw; }
#marlin .mr-galpq .mr-aq-brass span { display: block; font-size: max(9px, 7.6cqw); font-weight: 800; line-height: 1.15; color: rgba(43, 28, 2, .82); }
#marlin .mr-galpq .mr-aq-brass b { font-size: max(12px, 11cqw); line-height: 1; margin: 1.5cqw 0 1.8cqw; }
#marlin .mr-galpq .mr-aq-brass small { font-size: max(9px, 7.4cqw); }
#marlin .mr-galfree { top: 21%; width: 20.3%; aspect-ratio: 1.395; display: grid; place-items: center; border-radius: 4px; border: 1.5px dashed rgba(255, 226, 170, .42); background: rgba(255, 210, 140, .04); }
#marlin .mr-galfree span { font: italic 900 15px/1 var(--f-display); color: rgba(255, 232, 190, .82); text-shadow: 0 2px 8px rgba(0, 0, 0, .8); }
#marlin .mr-lxmorechip { left: 58.6%; top: 44%; transform: translateX(-50%); padding: 4px 11px 5px; border-radius: 11px; white-space: nowrap; font-size: 12.5px; font-weight: 800;
  color: var(--mr-lamp-2); background: rgba(7, 15, 36, .82); border: 1px solid rgba(255, 199, 105, .4); }
/* сейф: видно x 200–840, y 200–990; четыре лотка */
#marlin .mr-lxroom.mr-safe { --z: 1.6; --cx: .5078; --cy: .1302; --ar: 640 / 790; }
#marlin .mr-sfit { display: block; transition: transform .15s; }
#marlin .mr-sfit:active { transform: scale(.95); }
#marlin .mr-sfit img { display: block; width: 100%; max-width: none; filter: drop-shadow(0 8px 8px rgba(0, 0, 0, .65)); }
#marlin .mr-sftag { transform: translateX(-50%); z-index: 1; pointer-events: none; }
#marlin .mr-sffree { transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px 5px 9px; border-radius: 11px; white-space: nowrap;
  font: italic 900 15px/1 var(--f-display); color: rgba(255, 232, 190, .9); background: rgba(7, 15, 36, .7); border: 1px dashed rgba(255, 226, 170, .5); }
#marlin .mr-sffree svg { width: 14px; height: 14px; }
#marlin .mr-sfdot { transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: rgba(255, 232, 190, .8);
  background: rgba(7, 15, 36, .6); border: 1px dashed rgba(255, 226, 170, .5); }
#marlin .mr-sfdot svg { width: 13px; height: 13px; }
/* заголовок под картинкой комнаты */
#marlin .mr-lxrh { margin-top: -20px; padding: 0 16px; }
#marlin .mr-lxrh h1 { font-size: min(40px, 10.6vw); line-height: .92; padding-right: .06em; text-wrap: balance; text-shadow: 0 6px 24px rgba(2, 6, 18, .85); }
#marlin .mr-lxrh .mr-aq-sub { margin-top: 9px; }
#marlin .mr-lxdots { display: inline-flex; gap: 4px; }
#marlin .mr-lxdots i { width: 8px; height: 8px; border-radius: 50%; background: var(--mr-lamp); }
#marlin .mr-lxdots i.o { background: none; box-shadow: inset 0 0 0 1.5px rgba(255, 199, 105, .55); }
#marlin .mr-lxhint { display: inline-flex; align-items: center; gap: 6px; }
#marlin .mr-lxhint svg { width: 15px; height: 15px; color: var(--mr-sea); }
#marlin .mr-lxlist { margin: 0 16px; display: flex; flex-direction: column; gap: 10px; }
/* картина в галерее: рама, латунная табличка, когда куплена, «В другой дом», «На торги» */
#marlin .mr-lxpl { padding: 12px; border-radius: 20px; background: rgba(16, 29, 66, .94); border: 1px solid rgba(255, 246, 232, .13); }
#marlin .mr-lxpl-top { width: 100%; display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 12px; align-items: center; text-align: left; }
#marlin .mr-lxpl-top .mr-frame { width: 100%; }
#marlin .mr-lxpl .mr-aq-brass { align-items: flex-start; text-align: left; padding: 6px 11px 7px; gap: 2px; }
#marlin .mr-lxpl .mr-aq-brass span { font-size: 12px; font-weight: 800; color: rgba(43, 28, 2, .8); }
#marlin .mr-lxpl .mr-aq-brass b { font-size: 21px; }
#marlin .mr-lxpl .mr-aq-brass small { font-size: 12px; }
#marlin .mr-lxpl-meta { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; }
#marlin .mr-lxpl-meta li { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--mr-mute); }
#marlin .mr-lxpl-meta li.sale { color: var(--mr-sea); }
#marlin .mr-lxpl-meta svg { width: 15px; height: 15px; flex: none; color: var(--mr-lamp); }
#marlin .mr-lxpl-act { display: flex; justify-content: flex-end; gap: 18px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 246, 232, .09); }
#marlin .mr-lxpl-act button { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 800; color: var(--mr-lamp-2); }
#marlin .mr-lxpl-act svg { width: 15px; height: 15px; color: var(--mr-lamp); }
/* вещь в сейфе — строкой */
#marlin .mr-lxrow { width: 100%; display: grid; grid-template-columns: 76px minmax(0, 1fr) auto 16px; gap: 12px; align-items: center; padding: 10px; border-radius: 20px; text-align: left;
  background: rgba(16, 29, 66, .94); border: 1px solid rgba(255, 246, 232, .13); transition: transform .15s; }
#marlin .mr-lxrow:active { transform: scale(.98); }
#marlin .mr-lxrow .tx { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
#marlin .mr-lxrow .tx b { font-size: 21px; line-height: 1; padding-right: .06em; text-wrap: balance; }
#marlin .mr-lxrow .tx small { font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--mr-mute); }
#marlin .mr-lxrow .v { text-align: right; font-size: 20px; line-height: 1; color: var(--mr-lamp-2); white-space: nowrap; }
#marlin .mr-lxrow .v small { display: block; margin-top: 3px; font-family: var(--f-text); font-style: normal; font-size: 11px; font-weight: 700; color: var(--mr-mute); }
#marlin .mr-lxrow > svg { width: 16px; height: 16px; color: var(--mr-dim); }
#marlin .mr-lxrow .v small { max-width: 76px; margin-left: auto; white-space: normal; line-height: 1.2; }
@media (max-width: 370px) {
  #marlin .mr-lxrow { grid-template-columns: 64px minmax(0, 1fr) auto 14px; gap: 10px; }
  #marlin .mr-lxrow .mr-lxth.lg { width: 64px; height: 64px; }
  #marlin .mr-lxrow .tx b { font-size: 19px; }
}
/* свободные места и вещи, которые ждут места */
#marlin .mr-lxempty { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; border-radius: 20px;
  background: rgba(255, 199, 105, .04); border: 1.5px dashed rgba(255, 199, 105, .45); }
#marlin .mr-lxempty .slot { aspect-ratio: 1.36; border-radius: 6px; display: grid; place-items: center; color: rgba(255, 226, 160, .7);
  background: linear-gradient(180deg, #2A1C12, #160F09); box-shadow: inset 0 0 0 1.5px rgba(255, 226, 170, .25); }
#marlin .mr-lxempty .slot svg { width: 30px; height: 30px; stroke-width: 1.6; }
#marlin .mr-lxempty .slot.vel { aspect-ratio: 1; }
#marlin .mr-lxempty .tx { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
#marlin .mr-lxempty b { display: block; font-size: 21px; line-height: 1; }
#marlin .mr-lxempty small { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--mr-mute); }
#marlin .mr-lxputs { display: flex; flex-direction: column; gap: 8px; }
#marlin .mr-lxputs li { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px 8px 8px; border-radius: 16px;
  background: rgba(255, 199, 105, .07); border: 1px solid rgba(255, 199, 105, .35); }
#marlin .mr-lxputs .nm { min-width: 0; }
#marlin .mr-lxputs .nm b { display: block; font-size: 14.5px; font-weight: 800; line-height: 1.2; }
#marlin .mr-lxputs .nm small { display: block; margin-top: 1px; font-size: 12px; font-weight: 600; color: var(--mr-mute); }
#marlin .mr-lxput { height: 38px; padding: 0 14px; border-radius: 12px; font-size: 17px; color: #3a2300; background: linear-gradient(100deg, #FFE6A0, #E8B55C); white-space: nowrap; }
#marlin .mr-lxfull { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--mr-ink);
  background: rgba(255, 156, 138, .07); border: 1px solid rgba(255, 156, 138, .4); }
#marlin .mr-lxfull svg { width: 16px; height: 16px; margin-top: 1px; flex: none; color: var(--mr-red); }

/* ── коллекции (a_lux_7) ── */
#marlin .mr-lxsum p { margin-top: 10px; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--mr-mute); }
#marlin .mr-lxsum p b { color: var(--mr-ink); font-weight: 800; }
#marlin .mr-lxc-h { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
#marlin .mr-lxc-h .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--mr-lamp); background: rgba(255, 199, 105, .12); }
#marlin .mr-lxc-h .ic svg { width: 23px; height: 23px; }
#marlin .mr-lxc-h b { display: block; font-size: 21px; line-height: 1; }
#marlin .mr-lxc-h small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 600; color: var(--mr-mute); }
#marlin .mr-lxc-h .n { font-size: 26px; line-height: 1; color: var(--mr-lamp-2); white-space: nowrap; }
#marlin .mr-lxc-h .n span { font-family: var(--f-text); font-style: normal; font-size: 13px; font-weight: 700; color: var(--mr-mute); }
#marlin .mr-lxc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 7px; margin-top: 12px; }
#marlin .mr-lxc { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
#marlin .mr-lxc .pic { position: relative; width: 100%; aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; --iw: 84%; }
#marlin .mr-lxc .pic .mr-frame { width: 92%; }
#marlin .mr-lxc.art .pic { aspect-ratio: auto; padding: 14% 6%; border-radius: 10px; background: linear-gradient(180deg, #2A1C12, #160F09); box-shadow: inset 0 0 0 1px rgba(255, 226, 170, .16); }
#marlin .mr-lxc .nm { max-width: 100%; margin-top: 2px; font: italic 800 13px/1.02 var(--f-display); color: var(--mr-ink); text-wrap: balance; overflow-wrap: anywhere; }
#marlin .mr-lxc .wh { font-size: 11.5px; font-weight: 700; line-height: 1.2; color: var(--mr-mute); text-wrap: balance; }
#marlin .mr-lxc .wh.mine { color: var(--mr-lamp-2); }
#marlin .mr-lxc .wh.now { color: var(--mr-sea); }
#marlin .mr-lxc.no .pic > img { filter: brightness(0); opacity: .82; }
#marlin .mr-lxc.no .pic::after { content: "?"; position: absolute; inset: 0; display: grid; place-items: center; font: italic 900 26px/1 var(--f-display); color: rgba(255, 246, 232, .55); }
#marlin .mr-lxc.no.art .pic { background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px rgba(255, 246, 232, .1); }
#marlin .mr-lxc.no .nm { color: rgba(255, 246, 232, .55); }

/* ── шторки роскоши: «Выставить на торги», «Куда положить?» (класс mr-sheet tz-sheet mr-msheet mr-aqsheet mr-lxsheet), ставка ── */
.mr-msheet .mr-cur .mr-lxth { width: 52px; height: 52px; border-radius: 13px; }
.mr-lxsheet .mr-aq-what { grid-template-columns: 56px minmax(0, 1fr); }
.mr-lxsheet .mr-aq-what .mr-lxth { width: 56px; height: 56px; border-radius: 13px; }
.mr-lxsheet .mr-aq-dest-btns.mr-lxone-btn { grid-template-columns: minmax(0, 1fr); }
.mr-lxsheet .mr-aq-dest-btns .mr-aq-go { min-height: 46px; }
.mr-lxsheet .mr-go { flex-direction: column; gap: 3px; }

/* ── обычные бизнесы: коптильня и рынок клуба (js/marlin/smoke.js; макеты update/mockups/club/a_biz_*.html) ── */
#marlin { --bz-card: linear-gradient(180deg, #14254F 0%, #0D1937 100%); --bz-green: #7FE3A6; --bz-fire: #FF9A4D; }
#marlin .bz-scene { position: relative; height: 300px; margin-top: -48px; background: #0B1530 var(--pic) center 40% / cover no-repeat; }
#marlin .bz-scene::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 15, 36, .55) 0%, rgba(7, 15, 36, .05) 30%, rgba(7, 15, 36, .25) 62%, var(--mr-night) 100%); }
#marlin .bz-scene .tx { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 10px; }
#marlin .bz-scene .k { font-size: 13px; font-weight: 700; color: var(--mr-lamp-2); text-shadow: 0 2px 8px rgba(0, 0, 0, .8); }
/* «Перевезти» — бизнес к другому своему дому (владелец 04.11) */
#marlin .bz-scene .k .bz-mv { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding: 3px 9px 4px; border-radius: 12px; vertical-align: 1px;
  font-size: 12px; font-weight: 800; color: var(--mr-ink); text-shadow: none; background: rgba(7, 15, 36, .7); border: 1px solid rgba(255, 199, 105, .45); }
#marlin .bz-scene .k .bz-mv svg { width: 13px; height: 13px; }
.mr-sheet .bz-mvlist { display: flex; flex-direction: column; gap: 8px; padding-bottom: 6px; }
.mr-sheet .bz-mvh { display: grid; grid-template-columns: 72px minmax(0, 1fr) 18px; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border-radius: 16px;
  text-align: left; color: var(--mr-ink); background: rgba(16, 29, 66, .94); border: 1px solid rgba(255, 246, 232, .13); }
.mr-sheet .bz-mvh .pic { width: 72px; height: 54px; border-radius: 12px; background: #0B1530 var(--pic) 50% 32% / cover no-repeat; }
.mr-sheet .bz-mvh b { display: block; font-size: 16px; font-weight: 800; }
.mr-sheet .bz-mvh small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 700; color: var(--mr-mute); }
.mr-sheet .bz-mvh svg { width: 18px; height: 18px; color: var(--mr-mute); }
#marlin .bz-scene h1 { margin-top: 2px; font-size: 54px; line-height: .86; text-shadow: 0 6px 24px rgba(0, 0, 0, .7); }
#marlin .bz-rep { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13.5px; font-weight: 700; color: var(--mr-mute); text-shadow: 0 2px 8px rgba(0, 0, 0, .8); }
#marlin .bz-stars { display: inline-flex; gap: 2px; }
#marlin .bz-stars svg.i { width: 17px; height: 17px; stroke-width: 1.8; color: rgba(255, 246, 232, .35); }
#marlin .bz-stars svg.i.on { color: var(--mr-lamp); fill: var(--mr-lamp); }
#marlin .bz-stars.big svg.i { width: 30px; height: 30px; }
#marlin .bz-card { margin: 0 16px; padding: 14px; border-radius: 22px; background: var(--bz-card); border: 1px solid var(--mr-line);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 236, 190, .1); }
#marlin .bz-card + .bz-card { margin-top: 10px; }
#marlin .bz-card .lb { font-size: 13px; font-weight: 700; color: var(--mr-mute); }
#marlin .bz-note { margin: 10px 18px 0; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--mr-dim); }
#marlin .bz-note b { color: var(--mr-mute); }
#marlin .bz-slot { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
#marlin .bz-slot + .bz-slot { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 246, 232, .08); }
#marlin .bz-slot .pic { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(70% 70% at 50% 40%, rgba(255, 199, 105, .2), rgba(255, 199, 105, 0)), #0A1430; border: 1px solid rgba(255, 199, 105, .25); }
#marlin .bz-slot .pic img { width: 88%; }
#marlin .bz-slot .pic.fire { background: radial-gradient(60% 60% at 50% 70%, rgba(255, 140, 60, .45), rgba(255, 140, 60, 0)), #1A1010; border-color: rgba(255, 154, 77, .5); }
#marlin .bz-slot .t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
#marlin .bz-slot .t b { font-size: 20px; line-height: 1.05; }
#marlin .bz-slot .t small { font-size: 13px; font-weight: 600; color: var(--mr-mute); line-height: 1.3; }
#marlin .bz-slot .bar { position: relative; height: 6px; margin-top: 6px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
#marlin .bz-slot .bar i { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--mr-lamp); }
#marlin .bz-slot .r { text-align: right; font-size: 13px; font-weight: 700; color: var(--mr-mute); }
#marlin .bz-slot .r b { display: block; font-size: 20px; color: var(--mr-ink); }
#marlin .bz-slot.alert .t small.warn { color: var(--bz-fire); }
#marlin .bz-slot.empty .pic { border-style: dashed; background: none; color: var(--mr-dim); }
#marlin .bz-slot.empty .pic svg.i { width: 26px; height: 26px; }
#marlin .bz-slot.lock { opacity: .55; }
#marlin .bz-btn { height: 38px; padding: 0 14px; border-radius: 13px; display: inline-flex; align-items: center; gap: 5px; font-size: 18px; white-space: nowrap;
  color: #3a2300; background: linear-gradient(100deg, #FFE6A0, #E8B55C); box-shadow: 0 6px 16px rgba(232, 181, 92, .25); }
#marlin .bz-btn.fire { color: #2a0f00; background: linear-gradient(100deg, #FFC48A, #FF8A3D); box-shadow: 0 6px 18px rgba(255, 138, 61, .35); animation: bzPulse 1.6s ease-in-out infinite; }
#marlin .bz-btn.ghost { color: var(--mr-lamp-2); background: rgba(255, 199, 105, .08); border: 1.5px solid rgba(255, 199, 105, .45); box-shadow: none; }
#marlin .bz-btn svg.i { width: 16px; height: 16px; stroke-width: 2.6; }
#marlin 0%, #marlin 100% { transform: scale(1); }
#marlin 50% { transform: scale(1.05); }
#marlin .bz-shelf { display: flex; gap: 10px; padding: 0 16px 4px; }
#marlin .bz-item { width: 128px; flex: none; padding: 10px; border-radius: 18px; background: var(--bz-card); border: 1px solid var(--mr-line); }
#marlin .bz-item .pic { aspect-ratio: 1; display: grid; place-items: center; border-radius: 12px; background: radial-gradient(60% 60% at 50% 45%, rgba(255, 199, 105, .16), rgba(255, 199, 105, 0)); }
#marlin .bz-item .pic img { width: 90%; }
#marlin .bz-item b { display: block; margin-top: 6px; font-size: 17px; line-height: 1.05; }
#marlin .bz-item small { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--mr-mute); line-height: 1.3; }
#marlin .bz-item .bz-stars svg.i { width: 13px; height: 13px; }
#marlin .bz-item.sig { border-color: rgba(255, 199, 105, .8); box-shadow: 0 0 0 3px rgba(255, 199, 105, .12); }
#marlin .bz-tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 9px; font-size: 11.5px; font-weight: 800;
  color: #3a2300; background: var(--mr-lamp); }
#marlin .bz-tag.mint { color: #04221C; background: var(--mr-sea); }
#marlin .bz-tag.dim { color: var(--mr-mute); background: rgba(255, 246, 232, .08); }
#marlin .bz-tag.red { color: #2a0800; background: var(--mr-red); }
#marlin .bz-ord { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
#marlin .bz-ord + .bz-ord { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 246, 232, .08); }
#marlin .bz-ord .who { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 199, 105, .12); color: var(--mr-lamp); }
#marlin .bz-ord .who svg.i { width: 24px; height: 24px; }
#marlin .bz-ord .t b { display: block; font-size: 18px; line-height: 1.1; }
#marlin .bz-ord .t small { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; color: var(--mr-mute); line-height: 1.35; }
#marlin .bz-ord .need { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
#marlin .bz-ord .r { text-align: right; }
#marlin .bz-ord .r b { display: block; font-size: 21px; color: var(--mr-lamp-2); }
#marlin .bz-ord .r small { font-size: 12px; font-weight: 700; color: var(--mr-dim); }
#marlin .bz-ord.ready .r b { color: var(--mr-sea); }
#marlin .bz-case { margin: 0 16px; padding: 16px; border-radius: 22px; background: linear-gradient(180deg, #2A1A12 0%, #150D0A 100%);
  border: 1px solid rgba(255, 154, 77, .45); box-shadow: 0 14px 34px rgba(0, 0, 0, .35); }
#marlin .bz-case .k { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--bz-fire); }
#marlin .bz-case .k svg.i { width: 16px; height: 16px; }
#marlin .bz-case h3 { margin-top: 6px; font-size: 28px; line-height: .95; }
#marlin .bz-case p { margin-top: 6px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--mr-mute); }
#marlin .bz-opts { display: grid; gap: 8px; margin-top: 12px; }
#marlin .bz-opt { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 16px;
  background: rgba(255, 246, 232, .05); border: 1px solid rgba(255, 246, 232, .14); }
#marlin .bz-opt b { display: block; font-size: 15.5px; font-weight: 800; line-height: 1.2; }
#marlin .bz-opt small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--mr-mute); line-height: 1.35; }
#marlin .bz-opt .v { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 18px; color: var(--mr-lamp-2); white-space: nowrap; }
#marlin .bz-opt.risk .v { color: var(--bz-fire); }
#marlin .bz-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 16px; }
#marlin .bz-pick { position: relative; padding: 12px; border-radius: 18px; background: var(--bz-card); border: 1.5px solid rgba(255, 246, 232, .12); }
#marlin .bz-pick.on { border-color: var(--mr-lamp); box-shadow: 0 0 0 3px rgba(255, 199, 105, .14); }
#marlin .bz-pick.off { opacity: .45; }
#marlin .bz-pick b { display: block; font-size: 20px; line-height: 1; }
#marlin .bz-pick small { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--mr-mute); line-height: 1.3; }
#marlin .bz-pick .m { margin-top: 8px; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 18px; color: var(--mr-lamp-2); }
#marlin .bz-pick .ck { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--mr-lamp); color: #3a2300; }
#marlin .bz-pick .ck svg.i { width: 13px; height: 13px; stroke-width: 3; }
/* сколько звёзд даёт способ у этой коптильни и чего не хватает до заказа (отзыв 22.11) */
#marlin .bz-pick small.bz-best { margin-top: 6px; color: var(--mr-lamp); font-weight: 800; }
#marlin .bz-ord small.bz-reach { grid-column: 2 / -1; margin-top: -4px; font-size: 13px; line-height: 1.35; color: #ffb09a; font-weight: 700; }
#marlin .bz-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px; }
#marlin .bz-chip { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; border-radius: 14px; font-size: 14.5px; font-weight: 700;
  background: rgba(255, 246, 232, .05); border: 1.5px solid rgba(255, 246, 232, .14); }
#marlin .bz-chip.on { border-color: var(--mr-lamp); background: rgba(255, 199, 105, .1); color: var(--mr-lamp-2); }
#marlin .bz-chip.off { opacity: .45; }
#marlin .bz-chip i { width: 18px; height: 18px; border-radius: 50%; background: var(--c, #b88a5a); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25); }
#marlin .bz-fish { display: flex; gap: 10px; padding: 0 16px 4px; }
#marlin .bz-f { width: 112px; flex: none; padding: 10px 10px 9px; border-radius: 18px; background: var(--bz-card); border: 1.5px solid rgba(255, 246, 232, .12); }
#marlin .bz-f.on { border-color: var(--mr-lamp); box-shadow: 0 0 0 3px rgba(255, 199, 105, .14); }
#marlin .bz-f img { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; }
#marlin .bz-f b { display: block; margin-top: 4px; font-size: 16px; line-height: 1.05; }
#marlin .bz-f small { display: block; font-size: 12px; font-weight: 600; color: var(--mr-mute); }
#marlin .bz-f .n { display: inline-flex; margin-top: 6px; padding: 2px 8px; border-radius: 8px; font-size: 12px; font-weight: 800; background: rgba(255, 199, 105, .14); color: var(--mr-lamp-2); }
#marlin .bz-sum { margin: 16px 16px 0; padding: 14px; border-radius: 20px; background: rgba(12, 22, 52, .96); border: 1px solid var(--mr-line); }
#marlin .bz-sum .bz-r { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 14px; font-weight: 600; color: var(--mr-mute); }
#marlin .bz-sum .bz-r + .row { margin-top: 6px; }
#marlin .bz-sum .bz-r b { font-size: 22px; color: var(--mr-lamp-2); }
#marlin .bz-sum .bz-hint { display: flex; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 246, 232, .08); font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--mr-mute); }
#marlin .bz-sum .bz-hint svg.i { width: 18px; height: 18px; color: var(--mr-lamp); }
#marlin .bz-hand { min-height: 100vh; padding-bottom: 0; background: #000 var(--pic) center / cover no-repeat; }
#marlin .bz-hand::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 8, 18, .7) 0%, rgba(5, 8, 18, .1) 30%, rgba(5, 8, 18, .2) 60%, rgba(5, 8, 18, .92) 100%); }
#marlin .hd-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 0; }
#marlin .hd-time { font-size: 30px; line-height: 1; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
#marlin .hd-time small { font-family: var(--f-text); font-style: normal; font-size: 13px; font-weight: 700; color: var(--mr-mute); }
#marlin .hd-h { padding: 18px 16px 0; text-align: center; }
#marlin .hd-h b { display: block; font-size: 36px; line-height: .95; text-shadow: 0 4px 18px rgba(0, 0, 0, .8); }
#marlin .hd-h small { display: block; margin-top: 6px; font-size: 14.5px; font-weight: 700; color: var(--mr-ink); text-shadow: 0 2px 10px rgba(0, 0, 0, .9); }
#marlin .hd-dock { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 16px 28px; }
#marlin .hd-gauge { position: relative; height: 34px; border-radius: 17px; overflow: hidden; display: flex;
  background: rgba(5, 8, 18, .75); border: 1.5px solid rgba(255, 246, 232, .25); }
#marlin .hd-gauge span { height: 100%; }
#marlin .hd-gauge .cold { flex: 30; background: linear-gradient(90deg, #2D4C8A, #4C6FAE); }
#marlin .hd-gauge .warm { flex: 12; background: #C9A24A; }
#marlin .hd-gauge .good { flex: 22; background: linear-gradient(90deg, #4FBF7E, #7FE3A6, #4FBF7E); }
#marlin .hd-gauge .hot { flex: 14; background: #E08A3A; }
#marlin .hd-gauge .burn { flex: 22; background: linear-gradient(90deg, #D9542E, #9E1F12); }
#marlin .hd-needle { position: absolute; top: -8px; bottom: -8px; width: 4px; margin-left: -2px; border-radius: 2px; background: #fff; box-shadow: 0 0 0 2px rgba(0, 0, 0, .5), 0 0 12px rgba(255, 255, 255, .8); }
#marlin .hd-scale { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--mr-mute); }
#marlin .hd-q { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--mr-mute); }
#marlin .hd-btn { margin-top: 14px; height: 96px; border-radius: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 30px; color: #2a0f00; background: radial-gradient(120% 140% at 50% 0%, #FFD7A8, #FF8A3D 60%, #D9542E);
  box-shadow: 0 0 0 4px rgba(255, 138, 61, .25), 0 16px 40px rgba(255, 110, 40, .45); }
#marlin .hd-btn small { font-family: var(--f-text); font-style: normal; font-size: 13px; font-weight: 800; color: rgba(42, 15, 0, .75); }
#marlin .hd-btn.water { color: #032226; background: radial-gradient(120% 140% at 50% 0%, #CFF7F0, #6FD3C0 60%, #2E9C8E); box-shadow: 0 0 0 4px rgba(111, 211, 192, .25), 0 16px 40px rgba(60, 190, 170, .4); }
#marlin .hd-btn.water small { color: rgba(3, 34, 38, .75); }
#marlin .hd-gauge.o2 .low { flex: 26; background: linear-gradient(90deg, #8E2B2B, #C9583A); }
#marlin .hd-gauge.o2 .ok { flex: 14; background: #C9A24A; }
#marlin .hd-gauge.o2 .good { flex: 26; }
#marlin .hd-gauge.o2 .high { flex: 34; background: linear-gradient(90deg, #4C6FAE, #2D4C8A); }
#marlin .bz-reveal { padding: 26px 16px 0; text-align: center; }
#marlin .bz-reveal .k { font-size: 14px; font-weight: 800; color: var(--mr-lamp); }
#marlin .bz-reveal .stage { position: relative; width: 250px; height: 250px; margin: 10px auto 0; display: grid; place-items: center; }
#marlin .bz-reveal .stage::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 199, 105, .4), rgba(255, 199, 105, 0)); }
#marlin .bz-reveal .stage img { position: relative; width: 92%; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .6)); }
#marlin .bz-reveal h1 { margin-top: 6px; font-size: 40px; line-height: .92; }
#marlin .bz-reveal p { margin: 8px auto 0; max-width: 32ch; font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--mr-mute); }
#marlin .bz-new { margin: 16px 16px 0; padding: 14px; border-radius: 20px; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: center;
  background: linear-gradient(100deg, rgba(255, 199, 105, .2), rgba(255, 199, 105, .05)); border: 1.5px solid rgba(255, 199, 105, .7); }
#marlin .bz-new .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--mr-lamp); color: #3a2300; }
#marlin .bz-new .ic svg.i { width: 26px; height: 26px; }
#marlin .bz-new b { display: block; font-size: 21px; line-height: 1.05; color: var(--mr-lamp-2); }
#marlin .bz-new small { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--mr-mute); line-height: 1.35; }
#marlin .bz-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 16px 0; }
#marlin .bz-book { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0 16px; }
#marlin .bz-cell { position: relative; padding: 8px; border-radius: 16px; text-align: center; background: var(--bz-card); border: 1px solid var(--mr-line); }
#marlin .bz-cell .pic { aspect-ratio: 1; display: grid; place-items: center; }
#marlin .bz-cell .pic img { width: 92%; }
#marlin .bz-cell b { display: block; font-size: 14px; line-height: 1.1; }
#marlin .bz-cell small { display: block; margin-top: 2px; font-size: 11px; font-weight: 600; color: var(--mr-mute); line-height: 1.25; }
#marlin .bz-cell.no { background: rgba(255, 246, 232, .03); border-style: dashed; border-color: rgba(255, 246, 232, .16); }
#marlin .bz-cell.no .pic img { filter: brightness(0) opacity(.28); }
#marlin .bz-cell.no b { color: var(--mr-dim); }
#marlin .bz-prog { margin: 0 16px; display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; color: var(--mr-mute); }
#marlin .bz-prog .bar { flex: 1; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
#marlin .bz-prog .bar i { display: block; height: 100%; background: var(--mr-lamp); }
#marlin .bz-fair li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
#marlin .bz-fair li + li { margin-top: 10px; }
#marlin .bz-fair img { width: 44px; }
#marlin .bz-fair .t b { display: block; font-size: 16px; line-height: 1.1; }
#marlin .bz-fair .t small { font-size: 12px; font-weight: 600; color: var(--mr-mute); }
#marlin .bz-fair .p { text-align: right; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 19px; }
#marlin .bz-fair .p small { display: block; font-family: var(--f-text); font-style: normal; font-size: 11.5px; font-weight: 800; }
#marlin .bz-fair .up small { color: var(--bz-green); }
#marlin .bz-fair .down small { color: var(--mr-red); }
#marlin .bz-ponds { display: grid; gap: 10px; padding: 0 16px; }
#marlin .bz-pond { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px; border-radius: 22px;
  background: var(--bz-card); border: 1px solid var(--mr-line); }
#marlin .bz-pond .w { position: relative; width: 112px; height: 112px; border-radius: 50%; overflow: hidden;
  clip-path: circle(50% at 50% 50%); isolation: isolate;   /* iPhone: overflow со скруглением не режет рыб с тенью и поворотом (07.11) */
  background: radial-gradient(circle at 50% 40%, #3FD0C6 0%, #168C93 55%, #0B4E5C 100%); box-shadow: inset 0 0 0 5px #3B4049, inset 0 0 18px rgba(0, 0, 0, .5); }
#marlin .bz-pond .w img { position: absolute; width: 44px; filter: drop-shadow(0 3px 2px rgba(0, 0, 0, .35)); }
#marlin .bz-pond .w .fry { position: absolute; width: 6px; height: 3px; border-radius: 3px; background: rgba(230, 250, 255, .85); }
#marlin .bz-pond .t b { display: block; font-size: 21px; line-height: 1.05; }
#marlin .bz-pond .t small { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; color: var(--mr-mute); line-height: 1.35; }
#marlin .bz-pond .row { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
#marlin .bz-pond .bar { position: relative; height: 6px; margin-top: 8px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
#marlin .bz-pond .bar i { position: absolute; inset: 0 auto 0 0; background: var(--mr-sea); }
#marlin .bz-pond.alert { border-color: rgba(255, 154, 77, .6); }
#marlin .bz-pond .act { margin-top: 9px; }
#marlin .bz-pond.empty .w { background: none; box-shadow: inset 0 0 0 2px rgba(255, 246, 232, .2); display: grid; place-items: center; color: var(--mr-dim); }
/* свободный пруд нажимается — пара на нерест прямо в него (04.11) */
#marlin button.bz-pond.empty { width: 100%; text-align: left; color: var(--mr-ink); grid-template-columns: 112px minmax(0, 1fr) 18px; }
#marlin button.bz-pond.empty > svg { width: 18px; height: 18px; color: var(--mr-mute); }
#marlin button.bz-pond.empty:active { transform: scale(.99); }
#marlin .m-gold { filter: sepia(1) saturate(3.2) hue-rotate(-12deg) brightness(1.08) drop-shadow(0 0 6px rgba(255, 200, 80, .6)) !important; }
#marlin .m-albino { filter: grayscale(1) brightness(1.55) contrast(.85) drop-shadow(0 0 5px rgba(255, 220, 230, .6)) !important; }
#marlin .m-spot { filter: hue-rotate(160deg) saturate(1.4) contrast(1.15) !important; }
#marlin .bz-pair { display: grid; grid-template-columns: 1fr 34px 1fr; align-items: center; gap: 6px; padding: 0 16px; }
#marlin .bz-parent { padding: 12px; border-radius: 20px; text-align: center; background: var(--bz-card); border: 1.5px solid rgba(255, 199, 105, .5); }
#marlin .bz-parent img { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; }
#marlin .bz-parent b { display: block; margin-top: 4px; font-size: 17px; line-height: 1.05; }
#marlin .bz-parent small { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--mr-mute); line-height: 1.3; }
#marlin .bz-pair .x2 { text-align: center; font-size: 30px; color: var(--mr-lamp); }
#marlin .bz-traits li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: baseline; font-size: 14px; font-weight: 600; color: var(--mr-mute); }
#marlin .bz-traits li + li { margin-top: 8px; }
#marlin .bz-traits li b { color: var(--mr-ink); font-weight: 800; }
#marlin .bz-traits li em { font-style: normal; color: var(--mr-lamp-2); }
#marlin .bz-show li { display: grid; grid-template-columns: 30px 70px minmax(0, 1fr) auto; gap: 10px; align-items: center; }
#marlin .bz-show li + li { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 246, 232, .08); }
#marlin .bz-show .pl { font-size: 26px; color: var(--mr-lamp); text-align: center; }
#marlin .bz-show img { width: 70px; }
#marlin .bz-show .t b { display: block; font-size: 16px; line-height: 1.1; }
#marlin .bz-show .t small { font-size: 12px; font-weight: 600; color: var(--mr-mute); }
#marlin .bz-show .sc { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 22px; color: var(--mr-lamp-2); }
#marlin .bz-show li.me { margin-left: -8px; margin-right: -8px; padding-left: 8px; padding-right: 8px; border-radius: 14px; background: rgba(255, 199, 105, .08); }
#marlin .bz-own { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px; }
#marlin .bz-tile { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; padding: 12px; border-radius: 22px;
  background: #0B1530 var(--pic) center 35% / cover no-repeat; border: 1px solid var(--mr-line); }
#marlin .bz-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 15, 36, .05) 20%, rgba(7, 15, 36, .92) 78%); }
#marlin .bz-tile > * { position: relative; }
#marlin .bz-tile b { font-size: 25px; line-height: .95; }
#marlin .bz-tile small { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 700; color: var(--mr-mute); line-height: 1.3; }
#marlin .bz-tile .bz-stars svg.i { width: 14px; height: 14px; }
#marlin .bz-tile .flag { position: absolute; top: 10px; left: 10px; }
#marlin .bz-tile.buy { border-style: dashed; }
#marlin .bz-tile .price { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 19px; color: var(--mr-lamp-2); }
#marlin .bz-later { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 10px 16px 0; }
#marlin .bz-later > div { padding: 12px; border-radius: 18px; border: 1px dashed rgba(255, 246, 232, .2); color: var(--mr-dim); }
#marlin .bz-later b { display: block; font-size: 19px; color: rgba(255, 246, 232, .7); }
#marlin .bz-later small { font-size: 12px; font-weight: 600; }
#marlin .bz-mk li { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
#marlin .bz-mk li + li { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 246, 232, .08); }
#marlin .bz-mk .pic { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 45%, rgba(255, 199, 105, .16), rgba(255, 199, 105, 0)), #0A1430; }
#marlin .bz-mk .pic img { width: 92%; }
#marlin .bz-mk .t b { display: block; font-size: 17px; line-height: 1.1; }
#marlin .bz-mk .t small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--mr-mute); line-height: 1.3; }
#marlin .bz-mk .r { text-align: right; }
#marlin .bz-mk .r b { display: block; font-size: 19px; color: var(--mr-lamp-2); }
#marlin .bz-seg { display: flex; gap: 6px; margin: 0 16px 12px; padding: 4px; border-radius: 16px; background: rgba(255, 246, 232, .05); border: 1px solid rgba(255, 246, 232, .1); }
#marlin .bz-seg span { flex: 1; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 14px; font-weight: 800; color: var(--mr-mute); }
#marlin .bz-seg span.on { color: #3a2300; background: linear-gradient(100deg, #FFE6A0, #E8B55C); }
#marlin .bz-hand .hd-dock { position: absolute; }
#marlin .bz-f img, #marlin .bz-parent img { object-fit: cover; }
@keyframes bzPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

#marlin .bz-tile { cursor: pointer; text-align: left; width: 100%; color: inherit; }
#marlin .bz-tile.bz-soon { cursor: default; opacity: .8; border-style: dashed; }
#marlin .bz-tile.bz-soon::before { background: linear-gradient(180deg, rgba(7, 15, 36, .35) 10%, rgba(7, 15, 36, .94) 75%); }
#marlin .bz-row { width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; text-align: left; color: inherit; }
#marlin .bz-card > .bz-row + .bz-row { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 246, 232, .08); }
#marlin .bz-row .who { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 199, 105, .12); color: var(--mr-lamp); }
#marlin .bz-row .who svg { width: 21px; height: 21px; }
#marlin .bz-row .t b { display: block; font-size: 17px; font-weight: 800; line-height: 1.15; }
#marlin .bz-row .t small { display: block; margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--mr-mute); line-height: 1.35; }
#marlin .bz-row > svg { width: 18px; height: 18px; color: var(--mr-dim); }
#marlin button.bz-card.bz-row { margin-top: 10px; width: calc(100% - 32px); }
#marlin .bz-p { font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--mr-mute); }
#marlin .bz-facts { display: grid; gap: 8px; margin-top: 12px; }
#marlin .bz-facts li { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; color: var(--mr-ink); }
#marlin .bz-facts svg { width: 18px; height: 18px; color: var(--mr-lamp); }
#marlin .bz-news { margin: 12px 16px 0; padding: 10px 12px; border-radius: 14px; font-size: 13.5px; font-weight: 700; line-height: 1.4;
  color: var(--mr-ink); background: rgba(255, 154, 77, .12); border: 1px solid rgba(255, 154, 77, .4); }
#marlin .bz-gap { height: 10px; }
#marlin .bz-mt { width: calc(100% - 32px); margin: 14px 16px 0; }
#marlin .bz-btn.sm { height: 32px; padding: 0 11px; font-size: 15px; border-radius: 11px; }
#marlin .bz-btn em { font-style: normal; font-size: 12px; }
#marlin .bz-btn em.up { color: #0b5a2c; } #marlin .bz-btn em.down { color: #7a1d0c; }
#marlin .bz-ord .r .bz-btn { margin-top: 4px; }
#marlin .bz-slot { width: 100%; color: inherit; text-align: left; }
#marlin .bz-slot.ready .pic { border-color: var(--mr-sea); }
#marlin .bz-item.bad { opacity: .6; }
#marlin .bz-sell { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px 12px; align-items: center; }
#marlin .bz-sell + .bz-sell { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 246, 232, .08); }
#marlin .bz-sell .pic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #0A1430; }
#marlin .bz-sell .pic img { width: 92%; }
#marlin .bz-sell .t b { display: block; font-size: 16px; font-weight: 800; line-height: 1.15; }
#marlin .bz-sell .t small { font-size: 12.5px; font-weight: 600; color: var(--mr-mute); }
#marlin .bz-sell .btns { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
#marlin .bz-done { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--mr-sea); }
#marlin .bz-done + .bz-done, #marlin .bz-done + .bz-row { margin-top: 10px; }
#marlin .bz-done svg { width: 16px; height: 16px; }
#marlin .bz-treat { width: 100%; margin-bottom: 8px; display: grid; grid-template-columns: 36px minmax(0, 1fr) 20px; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 16px; text-align: left; background: rgba(12, 22, 52, .96); border: 1.5px dashed rgba(255, 199, 105, .45); color: var(--mr-ink); }
#marlin .bz-treat.on { border-style: solid; border-color: var(--mr-lamp); }
#marlin .bz-treat > svg:first-child { width: 22px; height: 22px; color: var(--mr-lamp); justify-self: center; }
#marlin .bz-treat b { display: block; font-size: 14.5px; font-weight: 800; line-height: 1.2; }
#marlin .bz-treat small { font-size: 12px; font-weight: 600; color: var(--mr-mute); }
#marlin .bz-treat > svg:last-child { width: 18px; height: 18px; color: var(--mr-lamp); }
#marlin .bz-two .mr-go { margin-top: 0; }
#marlin .mr-go.ghost { color: var(--mr-lamp-2); background: rgba(255, 199, 105, .08); border: 1.5px solid rgba(255, 199, 105, .45); box-shadow: none; }
#marlin .mr-go.ghost.two small { color: var(--mr-mute); }     /* «Продать · за 150 млн» на тёмной кнопке (22.11): был тёмный текст */
/* дело руками у печи — поверх слоя клуба, во весь экран */
#marlin .bz-hand { position: absolute; inset: 0; z-index: 60; overflow: hidden; background: #000 var(--pic) center / cover no-repeat;
  touch-action: none; -webkit-user-select: none; user-select: none; }
#marlin .bz-hand > * { position: relative; z-index: 1; }
#marlin .bz-hand .hd-top { padding-top: calc(var(--safe-top) + 14px); }
#marlin .bz-hand .hd-dock { position: absolute; padding-bottom: calc(var(--safe-bottom) + 28px); }
#marlin .bz-hand .hd-needle { left: 0; will-change: transform; }
#marlin .bz-hand .hd-btn { width: 100%; }
#marlin .bz-hand .hd-btn.on { transform: scale(.97); }
#marlin .bz-hscroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
#marlin .bz-hscroll::-webkit-scrollbar { display: none; }
#marlin .bz-hscroll > * { flex: none; }
#marlin .mr-view > .mr-top { z-index: 3; }
#marlin .d-works { background: #FF9A4D; }

/* значки в блоках бизнесов: размер по умолчанию (отдельные места задают свой) */
#marlin [class^="bz-"] svg, #marlin [class*=" bz-"] svg { width: 18px; height: 18px; flex: none; }
#marlin .bz-slot .pic > svg { width: 26px; height: 26px; color: var(--mr-dim); }
#marlin .bz-chip > svg { width: 15px; height: 15px; }
#marlin .bz-stars svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
#marlin .bz-stars svg.on { fill: currentColor; }
#marlin .bz-reveal .bz-stars.big svg { width: 30px; height: 30px; }
#marlin .bz-tile .bz-stars svg { width: 14px; height: 14px; }
#marlin .bz-item .bz-stars svg { width: 13px; height: 13px; }
#marlin .bz-new .ic svg { width: 26px; height: 26px; }
#marlin .bz-ord .who svg { width: 24px; height: 24px; }
#marlin .mr-scroll.has-treat { padding-bottom: calc(var(--safe-bottom) + 330px); }
#marlin .bz-book { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
#marlin .bz-cell { padding: 6px 4px 8px; border-radius: 14px; }
#marlin .bz-cell b { font-size: 12.5px; }
#marlin .bz-cell small { font-size: 10.5px; }
#marlin .bz-prog { margin: 6px 16px 0; }
/* породы рыбного хозяйства: окрас — фильтром на картинке вида (картинка неподвижна, плывёт обёртка) */
#marlin img.m-gold { filter: sepia(1) saturate(3.2) hue-rotate(-12deg) brightness(1.08) drop-shadow(0 0 6px rgba(255, 200, 80, .55)); }
#marlin img.m-albino { filter: grayscale(1) brightness(1.55) contrast(.85) drop-shadow(0 0 5px rgba(255, 220, 230, .55)); }
#marlin img.m-spot { filter: hue-rotate(160deg) saturate(1.4) contrast(1.15); }
#marlin .bz-book.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#marlin .bz-pond .act { display: flex; flex-wrap: wrap; gap: 6px; }
#marlin .bz-pond.lock { width: 100%; text-align: left; color: inherit; opacity: .6; }
#marlin .bz-pond .w svg { width: 26px; height: 26px; }
#marlin .bz-f.off { opacity: .35; }
#marlin .bz-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
#marlin .hd-q svg { width: 18px; height: 18px; color: var(--mr-sea); }

/* ── чартер (charter.js; макеты update/mockups/club/a_ch_1…8.html) ── */
#marlin .ch-g { width: 100%; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; text-align: left; }
#marlin .ev-where .pic { display: block; height: 160px; margin: -2px -2px 12px; border-radius: 14px; background: #0B1530 var(--pic) 50% 30% / cover no-repeat; }
#marlin .ev-where .ch-g { grid-template-columns: minmax(0, 1fr) auto; }
#marlin .bz-card > .ch-g + .ch-g { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 246, 232, .08); }
#marlin .ch-g .pt { width: 64px; height: 64px; border-radius: 18px; overflow: hidden; border: 1.5px solid rgba(255, 199, 105, .35); }
#marlin .ch-g .pt img, #marlin .ch-vip .pt img, #marlin .ch-end .pt img, #marlin .mt-gst .pt img { width: 100%; height: 100%; object-fit: cover; display: block; }
#marlin .ch-g .t b { display: block; font-size: 19px; line-height: 1.05; }
#marlin .ch-g .t .who { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 700; color: var(--mr-dim); }
#marlin .ch-g .t small { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 700; color: var(--mr-ink); line-height: 1.3; }
#marlin .ch-g .need { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
#marlin .ch-g .need svg { width: 12px; height: 12px; }
#marlin .ch-g .r { text-align: right; }
#marlin .ch-g .r b { display: block; font-size: 21px; color: var(--mr-lamp-2); }
#marlin .ch-g .r small { font-size: 12px; font-weight: 700; color: var(--mr-dim); }
#marlin .ch-g .r > svg { width: 22px; height: 22px; color: var(--mr-lamp); }
#marlin .ch-next { margin: 10px 18px 0; display: flex; align-items: flex-start; gap: 8px; font-size: 13px; font-weight: 700; line-height: 1.35; color: var(--mr-dim); }
#marlin .ch-next svg { width: 16px; height: 16px; margin-top: 1px; }
#marlin .ch-vip { width: calc(100% - 32px); margin: 0 16px; padding: 14px; border-radius: 22px; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; text-align: left;
  background: linear-gradient(120deg, rgba(255, 199, 105, .24), rgba(255, 199, 105, .05) 60%), #111D3F; border: 1.5px solid var(--mr-lamp);
  box-shadow: 0 0 0 4px rgba(255, 199, 105, .1), 0 14px 34px rgba(0, 0, 0, .4); }
#marlin .ch-vip .pt { width: 96px; height: 96px; border-radius: 22px; overflow: hidden; border: 2px solid var(--mr-lamp); }
#marlin .ch-vip .k { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: var(--mr-lamp); }
#marlin .ch-vip .k svg { width: 15px; height: 15px; }
#marlin .ch-vip b { display: block; margin-top: 3px; font-size: 23px; line-height: 1; }
#marlin .ch-vip small { display: block; margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--mr-ink); line-height: 1.3; }
#marlin .ch-vip .m { display: block; margin-top: 6px; font-size: 19px; color: var(--mr-lamp-2); }
#marlin .ch-rev + .ch-rev { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 246, 232, .08); }
#marlin .ch-rev .h { display: flex; align-items: center; gap: 8px; }
#marlin .ch-rev .h img { width: 30px; height: 30px; border-radius: 9px; object-fit: cover; }
#marlin .ch-rev .h b { font-size: 16px; font-weight: 800; }
#marlin .ch-rev .h .bz-stars { margin-left: auto; }
#marlin .ch-rev .h .bz-stars svg.i { width: 14px; height: 14px; }
#marlin .ch-rev p { margin-top: 6px; font-size: 13.5px; font-weight: 600; font-style: italic; line-height: 1.4; color: var(--mr-mute); }
#marlin .ch-cap-tag { font-style: normal; font-size: 12px; font-weight: 800; color: var(--mr-dim); }
#marlin .ch-hero { position: relative; height: 360px; margin-top: -48px; background: #0B1530 var(--pic) center 22% / cover no-repeat; }
#marlin .ch-hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 15, 36, .6) 0%, rgba(7, 15, 36, 0) 26%, rgba(7, 15, 36, 0) 55%, var(--mr-night) 100%); }
#marlin .ch-hero .tx { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 6px; }
#marlin .ch-hero .k { font-size: 13px; font-weight: 800; color: var(--mr-lamp-2); text-shadow: 0 2px 8px rgba(0, 0, 0, .9); }
#marlin .ch-hero h1 { margin-top: 2px; font-size: 46px; line-height: .9; text-shadow: 0 6px 24px rgba(0, 0, 0, .8); }
#marlin .ch-quote { margin: 12px 16px 0; padding: 14px 16px; border-radius: 4px 20px 20px 20px; font-size: 15px; font-weight: 600; font-style: italic; line-height: 1.45;
  color: var(--mr-ink); background: rgba(255, 246, 232, .07); border: 1px solid rgba(255, 246, 232, .14); }
#marlin .ch-req { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; }
#marlin .ch-req + .ch-req { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 246, 232, .08); }
#marlin .ch-req .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 199, 105, .12); color: var(--mr-lamp); }
#marlin .ch-req .ic svg { width: 22px; height: 22px; }
#marlin .ch-req b { display: block; font-size: 20px; line-height: 1.05; }
#marlin .ch-req small { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; color: var(--mr-mute); line-height: 1.35; }
#marlin .ch-cap { margin: 14px 16px 0; padding: 12px 14px; border-radius: 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center;
  border: 1.5px dashed rgba(255, 199, 105, .4); }
#marlin .ch-cap b { display: block; font-size: 15.5px; font-weight: 800; }
#marlin .ch-cap small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--mr-mute); line-height: 1.35; }
#marlin .ch-skip { display: block; margin: 14px auto 0; padding: 8px 16px; font-size: 13px; font-weight: 700; color: var(--mr-dim); text-decoration: underline; text-underline-offset: 3px; }
#marlin .bz-chip img { width: 26px; height: 26px; margin-left: -6px; }
#marlin .bz-chip em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--mr-sea); }
#marlin .ch-end { padding: 22px 16px 0; text-align: center; }
#marlin .ch-end .pt { display: block; width: 132px; height: 132px; margin: 0 auto; border-radius: 34px; overflow: hidden; border: 2.5px solid var(--mr-lamp);
  box-shadow: 0 0 0 6px rgba(255, 199, 105, .12), 0 18px 40px rgba(0, 0, 0, .5); }
#marlin .ch-end .bz-stars { margin-top: 14px; justify-content: center; }
#marlin .ch-end h1 { margin-top: 8px; font-size: 40px; line-height: .92; }
#marlin .ch-end .ch-quote { margin: 12px 0 0; border-radius: 20px; text-align: left; }
#marlin button.bz-new { width: calc(100% - 32px); text-align: left; }

/* в море: гость сверху, слова, «просьба выполнена», случай */
#marlin .mt-gst { position: absolute; z-index: 6; left: 12px; right: 12px; top: calc(var(--safe-top) + 100px); padding: 10px 12px; border-radius: 20px;
  display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 10px; align-items: center; background: rgba(6, 12, 24, .8); border: 1px solid rgba(255, 255, 255, .16); transition: opacity .3s; }
#marlin .mt-gst .pt { width: 50px; height: 50px; border-radius: 15px; overflow: hidden; border: 1.5px solid var(--mt-accent); }
#marlin .mt-gst .tx { min-width: 0; }
#marlin .mt-gst .nm { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
#marlin .mt-gst .nm b { font-size: 20px; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#marlin .mt-gst .nm span { font-size: 12.5px; font-weight: 800; color: rgba(246, 243, 236, .74); white-space: nowrap; }
#marlin .mt-gst .mood { display: block; position: relative; height: 9px; margin-top: 6px; border-radius: 5px; background: rgba(255, 255, 255, .12); overflow: hidden; }
#marlin .mt-gst .mood i { position: absolute; inset: 0 auto 0 0; border-radius: 5px; background: linear-gradient(90deg, #E0784A, #F3C969); transition: width .6s; }
#marlin .mt-gst .mood.good i { background: linear-gradient(90deg, #F3C969, #7FE3A6); }
#marlin .mt-gst .mood.bad i { background: linear-gradient(90deg, #C9463A, #E0784A); }
#marlin .mt-gst .req { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; font-weight: 700; color: #F6F3EC; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#marlin .mt-gst .req svg { width: 14px; height: 14px; flex: none; color: var(--mt-accent); }
#marlin .mt-gst .req em { font-style: normal; color: rgba(246, 243, 236, .7); overflow: hidden; text-overflow: ellipsis; }
#marlin .mt-gst .req.done, #marlin .mt-gst .req.done svg { color: #7FE3A6; }
#marlin .mt-say { position: absolute; z-index: 6; left: 24px; top: calc(var(--safe-top) + 180px); max-width: 76%; padding: 9px 14px; border-radius: 4px 18px 18px 18px;
  font-size: 15px; font-weight: 700; font-style: italic; line-height: 1.35; color: #1d1608; background: #FFF4DC; box-shadow: 0 10px 24px rgba(0, 0, 0, .4); pointer-events: none; }
#marlin .mt-say.hot { background: #E3FFEF; color: #06261a; }
#marlin .mt-say.pop { animation: chSay .35s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes chSay { from { opacity: 0; transform: translateY(-6px) scale(.92); } to { opacity: 1; transform: none; } }
#marlin .mt-cban { position: absolute; z-index: 8; left: 50%; top: 34%; transform: translateX(-50%); white-space: nowrap; padding: 12px 20px; border-radius: 18px; pointer-events: none;
  font-size: 28px; line-height: 1; color: #06261a; background: linear-gradient(100deg, #A9F5CC, #6FD3A0); box-shadow: 0 10px 30px rgba(80, 220, 150, .35); }
#marlin .mt-cban small { display: block; margin-top: 4px; font: 800 12.5px/1 var(--f-text); font-style: normal; text-align: center; color: rgba(6, 38, 26, .8); }
#marlin .mt-cban.pop { animation: chBan .5s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes chBan { from { opacity: 0; transform: translateX(-50%) scale(.7); } to { opacity: 1; transform: translateX(-50%); } }
#marlin .mt.cased .mt-img, #marlin .mt.cased .mt-bot { opacity: .35; }
#marlin .mt-case { position: absolute; z-index: 12; left: 12px; right: 12px; bottom: calc(var(--safe-bottom) + 22px); padding: 16px; border-radius: 24px;
  background: linear-gradient(180deg, #2A1A12 0%, #150D0A 100%); border: 1px solid rgba(255, 154, 77, .5); box-shadow: 0 18px 44px rgba(0, 0, 0, .6); }
#marlin .mt-case .k { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: #FF9A4D; }
#marlin .mt-case .k svg { width: 16px; height: 16px; }
#marlin .mt-case .hd { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 8px; }
#marlin .mt-case .hd img { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; }
#marlin .mt-case h3 { font-size: 30px; line-height: .95; }
#marlin .mt-case p { margin-top: 8px; font-size: 14px; font-weight: 600; line-height: 1.4; color: rgba(246, 243, 236, .78); }
#marlin .ch-opts { display: grid; gap: 8px; margin-top: 12px; }
#marlin .ch-opt { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 16px; text-align: left;
  background: rgba(255, 246, 232, .06); border: 1px solid rgba(255, 246, 232, .16); }
#marlin .ch-opt b { display: block; font-size: 15.5px; font-weight: 800; line-height: 1.2; }
#marlin .ch-opt small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: rgba(246, 243, 236, .74); line-height: 1.35; }
#marlin .ch-opt .v { font-size: 18px; color: #FF9A4D; white-space: nowrap; }
#marlin .ch-opt.busy { opacity: .6; pointer-events: none; }
#marlin .mt-pk li.gst svg { color: #7FE3A6; }
#marlin .mt-pk li.gst { color: #C9F7DD; }
#marlin .mt-pk li.bad svg { color: var(--mt-red); }
#marlin .mt-pk li.bad { color: #FFC2C9; }
#marlin .mt.trophy .mt-gst, #marlin .mt.trophy .mt-say, #marlin .mt.trophy .mt-cban { opacity: 0; }

/* ── ивенты для всех: «Турниры», конструктор, зал славы (events.js; макеты update/mockups/club/a_ev_1…4, 11) ── */
#marlin .ev-next { position: relative; display: flex; flex-direction: column; justify-content: flex-end; width: calc(100% - 32px); min-height: 220px;
  margin: 0 16px; padding: 16px; border-radius: 24px; overflow: hidden; text-align: left; color: var(--mr-ink);
  background: #0B1530 var(--pic) center 30% / cover no-repeat; border: 1.5px solid var(--mr-lamp);
  box-shadow: 0 0 0 4px rgba(255, 199, 105, .1), 0 16px 40px rgba(0, 0, 0, .45); }
#marlin .ev-next::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 15, 36, .1) 10%, rgba(7, 15, 36, .92) 80%); }
#marlin .ev-next > * { position: relative; }
#marlin .ev-next .k { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--mr-lamp); }
#marlin .ev-next .k svg { width: 15px; height: 15px; }
#marlin .ev-next b { margin-top: 4px; font-size: 32px; line-height: .92; }
#marlin .ev-next small { margin-top: 6px; font-size: 13.5px; font-weight: 700; line-height: 1.35; }
#marlin .ev-next .when { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px 12px;
  border-radius: 12px; font-size: 14px; font-weight: 800; color: #3a2300; background: var(--mr-lamp); }
#marlin .ev-next .when svg { width: 15px; height: 15px; }
#marlin .ev-rows { margin-top: 10px; }
#marlin .bz-row.off { opacity: .55; }
#marlin .ev-steps { display: flex; gap: 6px; margin: 14px 16px 0; }
#marlin .ev-steps span { flex: 1; height: 5px; border-radius: 3px; background: rgba(255, 246, 232, .12); }
#marlin .ev-steps span.on { background: var(--mr-lamp); }
#marlin .ev-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#marlin .ev-days { display: flex; gap: 8px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
#marlin .ev-day { flex: 1 0 96px; padding: 10px; border-radius: 16px; text-align: center; color: var(--mr-ink); background: var(--bz-card);
  border: 1.5px solid rgba(255, 246, 232, .12); }
#marlin .ev-day.on { border-color: var(--mr-lamp); box-shadow: 0 0 0 3px rgba(255, 199, 105, .14); }
#marlin .ev-day b { display: block; font-size: 20px; line-height: 1; }
#marlin .ev-day small { display: block; margin-top: 3px; font-size: 12px; font-weight: 700; color: var(--mr-mute); }
#marlin .ev-times { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 0 16px; }
#marlin .ev-t { height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 19px; color: var(--mr-ink);
  background: rgba(255, 246, 232, .05); border: 1.5px solid rgba(255, 246, 232, .14); }
#marlin .ev-t.on { border-color: var(--mr-lamp); background: rgba(255, 199, 105, .12); color: var(--mr-lamp-2); }
#marlin .ev-t.busy { opacity: .35; text-decoration: line-through; }
#marlin .ev-busy { margin: 10px 18px 0; display: flex; align-items: flex-start; gap: 8px; font-size: 13px; font-weight: 700; line-height: 1.35; color: var(--mr-dim); }
#marlin .ev-busy svg { width: 16px; height: 16px; margin-top: 1px; flex: none; }
#marlin .ev-waters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 16px; }
#marlin .ev-w { position: relative; overflow: hidden; min-height: 104px; padding: 12px; border-radius: 18px; display: flex; flex-direction: column;
  justify-content: flex-end; text-align: left; color: var(--mr-ink); background: #0B1530 var(--pic) center / cover no-repeat;
  border: 1.5px solid rgba(255, 246, 232, .14); }
#marlin .ev-w::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 15, 36, .1), rgba(7, 15, 36, .9)); }
#marlin .ev-w > * { position: relative; }
#marlin .ev-w.on { border-color: var(--mr-lamp); box-shadow: 0 0 0 3px rgba(255, 199, 105, .16); }
#marlin .ev-w b { font-size: 22px; line-height: 1; }
#marlin .ev-w small { display: block; margin-top: 3px; font-size: 12px; font-weight: 700; color: var(--mr-mute); line-height: 1.3; }
#marlin .ev-cnt { display: flex; align-items: center; gap: 12px; margin: 0 16px; padding: 12px 14px; border-radius: 18px; background: var(--bz-card);
  border: 1px solid var(--mr-line); }
#marlin .ev-cnt + .ev-cnt { margin-top: 10px; }
#marlin .ev-cnt .t { flex: 1; min-width: 0; }
#marlin .ev-cnt b { display: block; font-size: 16px; font-weight: 800; }
#marlin .ev-cnt small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--mr-mute); line-height: 1.35; }
#marlin .ev-step { display: flex; align-items: center; border-radius: 14px; overflow: hidden; border: 1.5px solid rgba(255, 199, 105, .45); flex: none; }
#marlin .ev-step button { width: 38px; height: 40px; display: grid; place-items: center; font-size: 22px; font-weight: 800; color: var(--mr-lamp-2);
  background: rgba(255, 199, 105, .08); text-align: center; }
#marlin .ev-step b { min-width: 52px; padding: 0 4px; text-align: center; font-size: 20px; white-space: nowrap; }
#marlin .ev-phr { display: flex; flex-direction: column; gap: 8px; padding: 0 16px; }
#marlin .ev-phr .bz-chip { height: auto; min-height: 42px; padding: 9px 14px; text-align: left; font-style: italic; line-height: 1.3; }
#marlin .ev-price { margin: 16px 16px 0; padding: 14px; border-radius: 20px; background: linear-gradient(120deg, rgba(255, 199, 105, .18), rgba(255, 199, 105, .04)), #0E1A3C;
  border: 1.5px solid var(--mr-lamp); }
#marlin .ev-price .ev-r { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--mr-mute); }
#marlin .ev-price .ev-r + .ev-r { margin-top: 5px; }
#marlin .ev-price .tot { margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 246, 232, .12); display: flex; justify-content: space-between; align-items: baseline; }
#marlin .ev-price .tot span { font-size: 15px; font-weight: 800; }
#marlin .ev-price .tot b { font-size: 32px; line-height: 1; color: var(--mr-lamp-2); }
#marlin .ev-price .min { margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--mr-dim); line-height: 1.4; }
#marlin .ev-price .min.warn { color: var(--bz-fire); }
#marlin .ev-hall li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
#marlin .ev-hall li + li { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 246, 232, .08); }
#marlin .ev-hall li.me .pic { border-color: var(--mr-lamp); }
#marlin .ev-hall .pic { width: 64px; height: 64px; border-radius: 16px; background: var(--pic) center 60% / cover no-repeat; border: 1px solid var(--mr-line); }
#marlin .ev-hall b { display: block; font-size: 17px; line-height: 1.1; }
#marlin .ev-hall small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 600; color: var(--mr-mute); line-height: 1.35; }
#marlin .ev-hall .r { text-align: right; font-size: 20px; color: #FF9CBA; }
#marlin .ev-hall .r small { font-family: var(--f-text); font-style: normal; font-size: 11.5px; color: var(--mr-dim); }

/* ── «Небо» (этап 4б, 02.11; js/marlin/sky.js, макеты a_sky_1…8): перелёты, место, перелёт, медведь ── */
#marlin .sk-entry { margin-top: 8px; }
#marlin .sk-bar { margin-top: 4px; }
#marlin .sk-bar > svg:first-child { color: var(--mr-sea); }
#marlin .sk-res { display: grid; gap: 10px; padding: 0 16px; }
#marlin .sk-r { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 172px; padding: 12px 14px; border-radius: 22px;
  overflow: hidden; text-align: left; color: var(--mr-ink); background: #0B1530 var(--pic) center 30% / cover no-repeat; border: 1px solid var(--mr-line); }
#marlin .sk-r::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 15, 36, .05) 18%, rgba(7, 15, 36, .92) 80%); }
#marlin .sk-r > * { position: relative; }
#marlin .sk-r b { font-size: 30px; line-height: .95; }
#marlin .sk-r small { display: block; margin-top: 4px; font-size: 13px; font-weight: 700; line-height: 1.35; }
#marlin .sk-r .meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
#marlin .sk-r .meta svg { width: 13px; height: 13px; }
#marlin .sk-r .price { position: absolute; top: 10px; right: 10px; padding: 5px 10px; border-radius: 11px; font-family: var(--f-display); font-style: italic;
  font-weight: 900; font-size: 17px; color: #3a2300; background: linear-gradient(100deg, #FFE6A0, #E8B55C); }
#marlin .sk-r .price.on { color: #04221C; background: var(--mr-sea); }
#marlin .sk-r .sk-why { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 10px;
  font-size: 12px; font-weight: 800; color: var(--mr-ink); background: rgba(6, 12, 28, .78); }
#marlin .sk-r .sk-why svg { width: 13px; height: 13px; }
#marlin .sk-r.lock::before { background: linear-gradient(180deg, rgba(7, 15, 36, .45) 0%, rgba(7, 15, 36, .94) 80%); }
#marlin .sk-r:active { transform: scale(.985); }
#marlin .sk-bookbtn { margin-top: 12px; }

#marlin .sk-stage { position: relative; height: 140px; margin: 4px 16px 0; border-radius: 22px; overflow: hidden;
  background: radial-gradient(80% 90% at 50% 100%, rgba(255, 199, 105, .16), rgba(255, 199, 105, 0) 70%), linear-gradient(180deg, #0E1A3C, #070F24);
  border: 1px solid var(--mr-line); }
#marlin .sk-stage img { position: absolute; left: 50%; bottom: 16px; width: 88%; transform: translateX(-50%); }
#marlin .sk-tr { margin: 10px 16px 0; padding: 12px 14px 14px; border-radius: 20px; background: var(--bz-card); border: 1px solid var(--mr-line); }
#marlin .sk-tr .h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
#marlin .sk-tr .h b { font-size: 26px; line-height: 1; }
#marlin .sk-tr .h span { font-size: 22px; color: var(--mr-lamp-2); white-space: nowrap; }
#marlin .sk-tr p { margin-top: 6px; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--mr-mute); }
#marlin .sk-tr .mr-go { margin-top: 12px; }

#marlin .sk-hero { height: 320px; background-position: center 45%; }
#marlin .sk-quote { margin: 12px 16px 0; font-size: 14.5px; font-weight: 600; line-height: 1.45; color: var(--mr-ink); }
#marlin .sk-grid { padding: 0 16px; margin-top: 4px; }
#marlin .sk-facts li { align-items: flex-start; font-size: 13.5px; line-height: 1.4; }
#marlin .sk-facts li svg { flex: none; margin-top: 1px; }

/* перелёт — на месте картинки места: небо, облака, самолёт (только transform и opacity) */
#marlin .sk-fly { position: relative; height: 360px; margin-top: -48px; overflow: hidden;
  background: linear-gradient(180deg, #0B1636 0%, #1B2E62 55%, #3E4F84 100%); }
#marlin .sk-fly .cl { position: absolute; left: -10%; width: 120%; height: 110px; border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(230, 236, 255, .16), rgba(230, 236, 255, 0) 70%); animation: sk-cloud 9s linear infinite; }
#marlin .sk-fly .cl:nth-child(2) { animation-duration: 13s; animation-delay: -5s; }
#marlin .sk-fly .cl:nth-child(3) { animation-duration: 7s; animation-delay: -2s; }
@keyframes sk-cloud { from { transform: translateX(45%); } to { transform: translateX(-45%); } }
#marlin .sk-fly .craft { position: absolute; left: 9%; width: 82%; top: 26%; animation: sk-bob 4s ease-in-out infinite; }
#marlin .sk-fly.heli .craft { width: 70%; left: 15%; top: 24%; }
@keyframes sk-bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(-2deg); } }
#marlin .sk-fly .tx { position: absolute; left: 16px; right: 16px; bottom: 14px; text-align: center; }
#marlin .sk-fly .tx b { display: block; font-size: 38px; line-height: .95; text-shadow: 0 4px 18px rgba(0, 0, 0, .5); }
#marlin .sk-fly .tx small { display: block; margin-top: 6px; font-size: 15px; font-weight: 800; color: var(--mr-lamp-2); }
#marlin .sk-fly .tx p { margin-top: 8px; font-size: 13px; font-weight: 600; color: rgba(246, 243, 236, .8); }
#marlin .sk-fly .bar { height: 7px; margin: 10px auto 0; width: 82%; border-radius: 4px; background: rgba(255, 255, 255, .15); overflow: hidden; }
#marlin .sk-fly .bar i { display: block; height: 100%; width: 100%; transform-origin: left center; background: linear-gradient(90deg, #FFE3A3, #FFC769); }
html.lite #marlin .sk-fly .cl, html.lite #marlin .sk-fly .craft { animation-iteration-count: 1; }

/* на месте: сколько ещё, отдых, улететь; медведь */
#marlin .sk-here { margin: 12px 16px 0; display: grid; gap: 8px; }
#marlin .sk-left { display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-radius: 16px;
  background: rgba(12, 22, 52, .96); border: 1px solid var(--mr-line); font-size: 14px; font-weight: 800; }
#marlin .sk-left b { font-size: 24px; color: var(--mr-lamp-2); font-variant-numeric: tabular-nums; }
#marlin .sk-here .mr-go2 { border-color: rgba(255, 199, 105, .55); }
#marlin .sk-here .mr-go2 > svg:first-child { color: var(--mr-lamp); }
#marlin .sk-home { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; border-radius: 14px; font-size: 14px; font-weight: 800;
  color: var(--mr-mute); background: rgba(255, 246, 232, .05); border: 1px solid rgba(255, 246, 232, .14); }
#marlin .sk-home svg { width: 17px; height: 17px; }
#marlin .sk-rested { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 14px; font-size: 13px; font-weight: 700; color: var(--mr-mute);
  background: rgba(255, 246, 232, .04); }
#marlin .sk-rested svg { width: 18px; height: 18px; color: var(--mr-lamp); flex: none; }
#marlin .sk-bear { margin-top: 12px; }
#marlin .sk-travel { margin: 0 16px 10px; }

/* ── «Верфь и новые яхты» (этап 4в, 02.11; js/marlin/yard.js, макеты a_yard_1…9) ──
   Своё у верфи — чертёж: синяя калька с сеткой, белые линии детали; по ходу работы его заполняет готовая деталь. */
#marlin { --bp: #123A70; --bp-grid: rgba(190, 215, 255, .09); --bp-line: rgba(214, 231, 255, .9); }
#marlin .yd-bp { position: relative; overflow: hidden; border-radius: 16px; background-color: var(--bp);
  background-image: linear-gradient(var(--bp-grid) 1px, transparent 1px), linear-gradient(90deg, var(--bp-grid) 1px, transparent 1px),
    radial-gradient(90% 80% at 50% 40%, rgba(255, 255, 255, .06), rgba(0, 0, 0, .18));
  background-size: 14px 14px, 14px 14px, 100% 100%; border: 1px solid rgba(190, 215, 255, .28); }
#marlin .yd-bp .ln, #marlin .yd-bp .obj { position: absolute; left: 8%; top: 10%; width: 84%; height: 68%; object-fit: contain; }
#marlin .yd-bp .obj { clip-path: inset(0 calc(100% - var(--p, 0%)) 0 0); }
#marlin .yd-bp .edge { position: absolute; top: 8%; bottom: 20%; left: calc(8% + 84% * var(--pp, 0)); width: 2px;
  background: linear-gradient(180deg, transparent, #FFE3A3, transparent); box-shadow: 0 0 12px 3px rgba(255, 199, 105, .5); }
#marlin .yd-tb { position: absolute; right: 8px; bottom: 8px; display: flex; border: 1px solid rgba(214, 231, 255, .55); font-size: 10.5px; font-weight: 700; color: var(--bp-line); }
#marlin .yd-tb span { padding: 3px 7px; }
#marlin .yd-tb span + span { border-left: 1px solid rgba(214, 231, 255, .35); }

/* причал клуба: все яхты в одном масштабе */
#marlin .yd-dock { position: relative; margin-top: 4px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
#marlin .yd-dock::-webkit-scrollbar { display: none; }
#marlin .yd-strip { position: relative; height: 178px; }
#marlin .yd-water { position: absolute; left: 0; right: 0; bottom: 26px; height: 40px; background: linear-gradient(180deg, rgba(40, 80, 140, .35), rgba(7, 15, 36, 0)); }
#marlin .yd-y { position: absolute; bottom: 56px; padding: 0; background: none; }
#marlin .yd-y img { display: block; width: 100%; }
#marlin .yd-y.lock img { opacity: .4; }
#marlin .yd-y .nm { position: absolute; left: 0; bottom: -22px; white-space: nowrap; font-size: 11.5px; font-weight: 800; color: var(--mr-mute); }
#marlin .yd-y.cur .nm { color: var(--mr-sea); }
#marlin .yd-y.cur::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 2px; background: var(--mr-sea); }
#marlin .yd-scale { position: absolute; left: 16px; bottom: 4px; display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--mr-dim); }
#marlin .yd-scale i { display: block; height: 6px; border: 1px solid rgba(255, 246, 232, .5); border-top: 0; }
#marlin .yd-hint { display: flex; align-items: center; gap: 6px; margin: 2px 16px 0; font-size: 12.5px; font-weight: 700; color: var(--mr-mute); }
#marlin .yd-hint svg { width: 15px; height: 15px; }
#marlin .yd-list { display: grid; gap: 8px; padding: 0 16px; }
#marlin .yd-row { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 18px;
  text-align: left; color: var(--mr-ink); background: var(--bz-card); border: 1px solid var(--mr-line); }
#marlin .yd-row .pic { height: 44px; display: flex; align-items: flex-end; }
#marlin .yd-row .pic img { width: 100%; }
#marlin .yd-row b { display: block; font-size: 20px; line-height: 1; }
#marlin .yd-row small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 700; color: var(--mr-mute); line-height: 1.3; }
#marlin .yd-row .r { font-size: 17px; color: var(--mr-lamp-2); white-space: nowrap; }
#marlin .yd-row.cur { border-color: rgba(141, 230, 214, .55); }
#marlin .yd-row.cur .r { color: var(--mr-sea); }
#marlin .yd-row.lock { opacity: .62; }

/* карточка яхты */
#marlin .yd-stage { position: relative; height: 250px; margin-top: -48px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 34px;
  background: radial-gradient(70% 70% at 50% 80%, rgba(255, 199, 105, .14), rgba(255, 199, 105, 0) 70%), linear-gradient(180deg, #0B1636, var(--mr-night) 88%); }
#marlin .yd-stage img { width: 94%; }
#marlin .yd-stage .wl { position: absolute; left: 0; right: 0; bottom: 26px; height: 18px; background: linear-gradient(180deg, rgba(60, 110, 180, .3), rgba(7, 15, 36, 0)); }
#marlin .yd-title { padding: 0 16px; }
#marlin .yd-title h1 { font-size: 46px; line-height: .9; }
#marlin .yd-title p { margin-top: 6px; font-size: 13.5px; font-weight: 700; color: var(--mr-mute); }
#marlin .yd-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 16px; }
#marlin .yd-stat { padding: 10px 12px; border-radius: 16px; background: var(--bz-card); border: 1px solid var(--mr-line); }
#marlin .yd-stat small { display: block; font-size: 12px; font-weight: 700; color: var(--mr-mute); }
#marlin .yd-stat b { display: block; margin-top: 2px; font-size: 24px; line-height: 1; }
#marlin .yd-stat em { display: block; margin-top: 3px; font-style: normal; font-size: 11.5px; font-weight: 800; color: var(--mr-sea); }
#marlin .yd-stat em.same { color: var(--mr-mute); }
#marlin .yd-stat em.less { color: var(--mr-red); }
#marlin .yd-piers { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px; }

/* оснастка на яхте */
#marlin .yd-rig { position: relative; margin: 0 16px; padding: 18px 10px 12px; border-radius: 22px; background: linear-gradient(180deg, #0E1D44, #0A1532); border: 1px solid var(--mr-line); }
#marlin .yd-rig img.boat { display: block; width: 100%; }
#marlin .yd-pin { position: absolute; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; transform: translate(-50%, -50%);
  font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 15px; color: #2a1c02; background: var(--mr-lamp); box-shadow: 0 0 0 4px rgba(243, 210, 139, .25); }
#marlin .yd-pin.empty { color: var(--mr-lamp); background: rgba(7, 15, 36, .85); border: 1.5px dashed rgba(243, 210, 139, .7); box-shadow: none; }
#marlin .yd-slots { margin-top: 10px; padding: 4px 2px; }
#marlin .yd-slot { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; }
#marlin .yd-slot + .yd-slot { border-top: 1px solid rgba(255, 246, 232, .07); }
#marlin .yd-slot .pic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 246, 232, .05); }
#marlin .yd-slot .pic img { width: 88%; }
#marlin .yd-slot b { display: block; font-size: 15.5px; font-weight: 800; }
#marlin .yd-slot small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--mr-mute); line-height: 1.35; }
#marlin .yd-slot .no { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; border: 1.5px dashed rgba(243, 210, 139, .45); color: var(--mr-lamp); }
#marlin .yd-slot .no svg { width: 20px; height: 20px; }

/* верфь: стапели, материалы */
#marlin .yd-bays { display: grid; gap: 10px; padding: 0 16px; }
#marlin .yd-bay { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border-radius: 20px; text-align: left;
  color: var(--mr-ink); background: var(--bz-card); border: 1px solid var(--mr-line); }
#marlin .yd-bay .yd-bp { height: 92px; }
#marlin .yd-bay b { display: block; font-size: 16.5px; font-weight: 800; line-height: 1.15; }
#marlin .yd-bay small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 600; color: var(--mr-mute); line-height: 1.35; }
#marlin .yd-bay .bar { display: block; height: 6px; margin-top: 8px; border-radius: 3px; background: rgba(255, 246, 232, .1); overflow: hidden; }
#marlin .yd-bay .bar i { display: block; height: 100%; width: 100%; transform-origin: left center; background: linear-gradient(90deg, #FFE3A3, #FFC769); }
#marlin .yd-bay .go { margin-top: 8px; }
#marlin .yd-bay-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
#marlin .yd-bay.ready { border-color: rgba(255, 199, 105, .6); }
#marlin .yd-bay.empty .yd-bp { opacity: .5; }
#marlin .yd-bay.lock { grid-template-columns: 44px minmax(0, 1fr); opacity: .8; border-style: dashed; }
#marlin .yd-lock { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: var(--mr-lamp); background: rgba(255, 246, 232, .05); }
#marlin .yd-mats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0 16px; }
#marlin .yd-mat { padding: 10px 8px 12px; border-radius: 16px; text-align: center; color: var(--mr-ink); background: var(--bz-card); border: 1px solid var(--mr-line); }
#marlin .yd-mat .sw { display: block; width: 40px; height: 40px; margin: 0 auto; border-radius: 12px; }
#marlin .yd-mat .sw.steel, #marlin .yd-need .sw.steel { background: linear-gradient(135deg, #C9D3E0, #6E7C90 60%, #3B4656); }
#marlin .yd-mat .sw.teak { background: repeating-linear-gradient(100deg, #C98A3E 0 5px, #A96B2A 5px 8px, #D99B4C 8px 12px); }
#marlin .yd-mat .sw.carbon { background-color: #1D2129; background-image: linear-gradient(45deg, #2B303A 25%, transparent 25%, transparent 75%, #2B303A 75%),
  linear-gradient(45deg, #2B303A 25%, transparent 25%, transparent 75%, #2B303A 75%); background-size: 8px 8px; background-position: 0 0, 4px 4px; }
#marlin .yd-mat b { display: block; margin-top: 6px; font-size: 22px; line-height: 1; }
#marlin .yd-mat small { display: block; font-size: 11.5px; font-weight: 700; color: var(--mr-mute); }
#marlin .yd-mat .buy { display: inline-block; margin-top: 7px; padding: 5px 10px; border-radius: 10px; font-size: 12px; font-weight: 800; color: var(--mr-lamp); border: 1px solid rgba(243, 210, 139, .45); }
#marlin small.red { color: var(--mr-red); }

/* выбор чертежа, книга */
#marlin .yd-sel { margin-bottom: 12px; }
#marlin .yd-sel .yd-bp { height: 168px; }
#marlin .yd-pick, #marlin .yd-book { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 16px; }
#marlin .yd-pc { padding: 8px; border-radius: 18px; text-align: left; color: var(--mr-ink); background: var(--bz-card); border: 1.5px solid var(--mr-line); }
#marlin .yd-pc .yd-bp { height: 100px; }
#marlin .yd-pc b { display: block; margin-top: 7px; font-size: 14.5px; font-weight: 800; line-height: 1.15; }
#marlin .yd-pc small { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--mr-mute); line-height: 1.3; }
#marlin .yd-pc.on { border-color: var(--mr-lamp); box-shadow: 0 0 0 3px rgba(243, 210, 139, .18); }
#marlin .yd-pc.lock .yd-bp { opacity: .55; }
#marlin .yd-pc.lock small { color: var(--mr-lamp); }
#marlin .yd-pc .made { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 11.5px; font-weight: 800; color: var(--mr-sea); }
#marlin .yd-pc .made svg { width: 13px; height: 13px; }
#marlin .yd-need { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
#marlin .yd-need span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 10px; font-size: 12.5px; font-weight: 800; background: rgba(255, 246, 232, .07); }
#marlin .yd-need .sw { display: inline-block; width: 12px; height: 12px; border-radius: 4px; }
#marlin .yd-need svg { width: 14px; height: 14px; }
#marlin .yd-q { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
#marlin .yd-q div { padding: 7px 4px; border-radius: 12px; text-align: center; background: rgba(255, 246, 232, .05); }
#marlin .yd-q b { display: block; font-size: 17px; line-height: 1; color: var(--mr-lamp-2); }
#marlin .yd-q small { display: block; margin-top: 3px; font-size: 11px; font-weight: 700; color: var(--mr-mute); letter-spacing: 1px; }
#marlin .yd-gives-p { margin-top: 10px; }

/* готово: чертёж стал деталью — один раз проявляется */
#marlin .yd-done .yd-bp { height: 270px; margin: 0 16px; }
#marlin .yd-done .yd-bp .ln, #marlin .yd-done .yd-bp .obj { left: 6%; top: 6%; width: 88%; height: 76%; }
#marlin .yd-reveal .obj { animation: yd-reveal 1.1s cubic-bezier(.3, .7, .2, 1) both; }
@keyframes yd-reveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
#marlin .yd-done h1 { margin-top: 14px; padding: 0 16px; font-size: 38px; line-height: .92; text-align: center; }
#marlin .yd-done .st { display: flex; justify-content: center; margin-top: 8px; }
#marlin .yd-gives { margin: 12px 16px 0; padding: 12px 14px; border-radius: 18px; background: rgba(141, 230, 214, .08); border: 1px solid rgba(141, 230, 214, .35);
  font-size: 14px; font-weight: 700; line-height: 1.4; }
#marlin .yd-gives.gold { display: flex; gap: 8px; align-items: center; background: rgba(243, 210, 139, .08); border-color: rgba(243, 210, 139, .4); color: var(--mr-lamp-2); }
#marlin .yd-gives.gold svg { width: 18px; height: 18px; }
#marlin .yd-acts { display: grid; gap: 8px; margin: 14px 16px 0; }
#marlin .yd-acts .mr-go { margin-top: 0; }
#marlin .yd-act { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; border-radius: 15px; font-size: 15px; font-weight: 800;
  color: var(--mr-ink); background: rgba(255, 246, 232, .05); border: 1px solid rgba(255, 246, 232, .16); }
#marlin .yd-act svg { width: 18px; height: 18px; }

/* подгонка: циферблат ключа, три болта — во весь экран поверх клуба */
#marlin .yd-fit { position: absolute; inset: 0; z-index: 60; display: flex; flex-direction: column; align-items: center;
  padding: calc(var(--safe-top, 0px) + 12px) 0 calc(var(--safe-bottom, 0px) + 24px); color: var(--mr-ink);
  background: radial-gradient(80% 50% at 50% 42%, #163566, var(--mr-night) 72%); }
#marlin .yd-fit .hd-top { align-self: stretch; padding: 0 16px; }
#marlin .yd-fit .tx { margin-top: 8px; text-align: center; padding: 0 22px; }
#marlin .yd-fit .tx h2 { font-size: 34px; line-height: .95; }
#marlin .yd-fit .tx p { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--mr-mute); line-height: 1.4; }
#marlin .yd-fit .bolts { display: flex; justify-content: center; gap: 14px; margin-top: 12px; }
#marlin .yd-fit .bolts i { width: 32px; height: 32px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #EEF2F8, #8C97A8 60%, #4A5363); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .3); }
#marlin .yd-fit .bolts i.ok { background: radial-gradient(circle at 35% 30%, #FFF1C9, #F3C66B 60%, #A8782A); box-shadow: 0 0 0 4px rgba(243, 210, 139, .25); }
#marlin .yd-fit .bolts i.miss { background: radial-gradient(circle at 35% 30%, #FFC9B3, #D9643B 60%, #8A3318); }
#marlin .yd-dial { position: relative; width: min(300px, 78vw); aspect-ratio: 1; margin-top: 16px; border-radius: 50%;
  background: radial-gradient(circle, #0D1B3D 58%, #182C5C 59%, #0D1B3D 70%, #24365F 71%, #0A142F 100%); box-shadow: 0 20px 50px rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(255, 246, 232, .12); }
#marlin .yd-dial svg { position: absolute; inset: 0; width: 100%; height: 100%; }
#marlin .yd-dial .needle { position: absolute; left: 50%; top: 50%; width: 4px; height: 42%; margin-left: -2px; border-radius: 2px; transform-origin: 50% 0;
  background: linear-gradient(180deg, #F6F3EC, var(--mr-lamp)); will-change: transform; }
#marlin .yd-dial .hub { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF1C9, #C9963E); }
#marlin .yd-dial .lbl { position: absolute; left: 0; right: 0; bottom: 22%; text-align: center; font-size: 26px; line-height: 1; color: var(--mr-sea); }
#marlin .yd-tap { width: 170px; height: 170px; margin-top: auto; border-radius: 50%; display: grid; place-items: center; font-size: 26px; color: #2a1c02;
  background: radial-gradient(circle at 34% 26%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 52%), var(--mr-lamp);
  box-shadow: 0 0 0 8px rgba(243, 210, 139, .16), 0 18px 40px rgba(0, 0, 0, .45); touch-action: manipulation; user-select: none; -webkit-user-select: none; }
#marlin .yd-tap:active { transform: scale(.97); }
#marlin .bz-two .bz-card { margin: 0; }
#marlin .yd-ord .who { overflow: hidden; }
#marlin .yd-ord .who img { width: 82%; height: 82%; object-fit: contain; }
#marlin .yd-link { margin-top: 10px; }

/* ── «Биржа» (этап 5, 03.11; js/marlin/bx.js, макеты a_bx_1…8). Линия цены — латунь клуба, рост — мята, падение —
   коралл, всегда со знаком и стрелкой. Движется само только одно — бегущая лента котировок (в «Лёгкой графике» стоит). */
#marlin { --bx-up: #8DE6D6; --bx-down: #FF8A7A; --bx-line: #F3D28B; --bx-grid: rgba(255, 246, 232, .08); --bx-axis: rgba(246, 243, 236, .5); }
#marlin .d-bx { background: #9ED36A; }
#marlin .mr-sec-link { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 15px; color: var(--mr-dim); }
#marlin .bx-entry { width: calc(100% - 32px); margin: 12px 16px 0; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: 20px; text-align: left; color: var(--mr-ink); background: linear-gradient(160deg, #15264F, #0C1736); border: 1px solid rgba(243, 210, 139, .3); }
#marlin .bx-entry .ph { width: 56px; height: 56px; border-radius: 16px; overflow: hidden; }
#marlin .bx-entry .ph img { width: 100%; height: 100%; object-fit: cover; }
#marlin .bx-entry b { display: block; font-size: 22px; line-height: 1; }
#marlin .bx-entry small { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 700; color: var(--mr-mute); line-height: 1.3; }
#marlin .bx-entry > svg { width: 18px; height: 18px; color: var(--mr-dim); }

#marlin .bx-hero { position: relative; height: 290px; margin-top: -48px; background: #0B1530 var(--pic) center 28% / cover no-repeat; }
#marlin .bx-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 15, 36, .5), rgba(7, 15, 36, 0) 28%, rgba(7, 15, 36, .25) 60%, var(--mr-night)); }
#marlin .bx-hero .tx { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 12px; }
#marlin .bx-hero .k { font-size: 13px; font-weight: 800; color: var(--mr-lamp-2); text-shadow: 0 2px 8px #000; }
#marlin .bx-hero h1 { margin-top: 2px; font-size: 56px; line-height: .86; text-shadow: 0 6px 24px rgba(0, 0, 0, .7); }
#marlin .bx-say { margin: 10px 16px 0; padding: 12px 14px; border-radius: 4px 18px 18px 18px; background: rgba(243, 210, 139, .08); border: 1px solid rgba(243, 210, 139, .3);
  font-size: 14px; font-weight: 600; line-height: 1.45; }
#marlin .bx-tape { margin-top: 12px; overflow: hidden; border-top: 1px solid rgba(255, 246, 232, .1); border-bottom: 1px solid rgba(255, 246, 232, .1); background: rgba(0, 0, 0, .25); }
#marlin .bx-tape .run { display: flex; gap: 22px; padding: 8px 0; width: max-content; animation: bx-run 32s linear infinite; will-change: transform; }
#marlin .bx-tape span { font-size: 13px; font-weight: 800; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
#marlin .bx-tape i { font-style: normal; }
#marlin .bx-tape .up i { color: var(--bx-up); }
#marlin .bx-tape .down i { color: var(--bx-down); }
@keyframes bx-run { to { transform: translateX(-50%); } }
html.lite #marlin .bx-tape .run { animation: none; }
@media (prefers-reduced-motion: reduce) { #marlin .bx-tape .run { animation: none; } }

#marlin .bx-list { margin: 0 16px; border-radius: 22px; background: var(--bz-card); border: 1px solid var(--mr-line); overflow: hidden; }
#marlin .bx-links { margin-top: 12px; }
#marlin .bx-co { width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) 76px auto; gap: 10px; align-items: center; padding: 11px 12px; text-align: left; color: var(--mr-ink); }
#marlin .bx-links .bx-co { grid-template-columns: 44px minmax(0, 1fr) auto; }
#marlin .bx-co + .bx-co { border-top: 1px solid rgba(255, 246, 232, .07); }
#marlin .bx-co .em, #marlin .bx-hold .em, #marlin .bx-top .em, #marlin .bx-nw .em { display: block; }
#marlin .bx-co .em { width: 44px; height: 44px; }
#marlin .bx-co .em img, #marlin .bx-hold .em img, #marlin .bx-nw .em img, #marlin .bx-top .em img { width: 100%; height: 100%; object-fit: contain; }
#marlin .bx-co .em.ic { display: grid; place-items: center; border-radius: 50%; background: rgba(255, 199, 105, .12); color: var(--mr-lamp); }
#marlin .bx-co .em.ic svg { width: 22px; height: 22px; }
#marlin .bx-co b { display: block; font-size: 15.5px; font-weight: 800; line-height: 1.15; }
#marlin .bx-co small { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--mr-mute); line-height: 1.25; }
#marlin .bx-co svg.sp { width: 76px; height: 30px; overflow: visible; }
#marlin svg.sp circle.up { fill: var(--bx-up); }
#marlin svg.sp circle.down { fill: var(--bx-down); }
#marlin .bx-co .r, #marlin .bx-hold .r { text-align: right; }
#marlin .bx-co .r b { font-size: 18px; line-height: 1; font-variant-numeric: tabular-nums; }
#marlin .bx-co > svg:last-child { width: 18px; height: 18px; color: var(--mr-dim); }
#marlin .bx-co.burn { opacity: .55; }
#marlin .bx-ch { display: inline-flex; align-items: center; gap: 2px; margin-top: 3px; font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
#marlin .bx-ch.up, #marlin .bx-sum b.up { color: var(--bx-up); }
#marlin .bx-ch.down, #marlin .bx-sum b.down { color: var(--bx-down); }
#marlin .bx-ch.flat { color: var(--mr-mute); }

#marlin .bx-pf { position: relative; margin: 0 16px; padding: 14px; border-radius: 22px; background: linear-gradient(160deg, #13244E, #0C1736); border: 1px solid var(--mr-line); }
#marlin .bx-pf .h { display: flex; justify-content: space-between; align-items: baseline; }
#marlin .bx-pf .h > span:first-child { font-size: 13px; font-weight: 700; color: var(--mr-mute); }
#marlin .bx-pf .h .bx-ch { font-size: 14px; }
#marlin .bx-pf .v { margin-top: 4px; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
#marlin .bx-pf .bx-r { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
#marlin .bx-pf-go { display: flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 13px; font-weight: 800; color: var(--mr-lamp-2); }
#marlin .bx-pf-go svg { width: 15px; height: 15px; }

#marlin .bx-news { margin: 0 16px; display: grid; gap: 8px; }
#marlin .bx-nw { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 10px 12px; border-radius: 16px; background: var(--bz-card); border: 1px solid var(--mr-line); }
#marlin .bx-nw .em { width: 36px; height: 36px; }
#marlin .bx-nw b { display: block; font-size: 14px; font-weight: 800; line-height: 1.3; }
#marlin .bx-nw small { display: block; margin-top: 3px; font-size: 12px; font-weight: 600; color: var(--mr-mute); }
#marlin .bx-nw .r { text-align: right; white-space: nowrap; }
#marlin .bx-nw.hot { border-color: rgba(243, 210, 139, .55); background: linear-gradient(160deg, rgba(243, 210, 139, .1), #101C3F 60%); }
#marlin .bx-nw.bust { border-color: rgba(255, 138, 122, .45); }

#marlin .bx-top { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; padding: 0 16px; margin-top: 4px; }
#marlin .bx-top .em { width: 56px; height: 56px; }
#marlin .bx-top h1 { font-size: 32px; line-height: .95; }
#marlin .bx-top p { margin-top: 3px; font-size: 13px; font-weight: 600; color: var(--mr-mute); }
#marlin .bx-price { padding: 0 16px; margin-top: 14px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
#marlin .bx-price b { font-size: 50px; line-height: .9; font-variant-numeric: tabular-nums; }
#marlin .bx-price small { font-size: 13px; font-weight: 700; color: var(--mr-mute); }
#marlin .bx-price .bx-ch { font-size: 15px; }
#marlin .bx-seg { display: flex; gap: 4px; margin: 12px 16px 0; padding: 4px; border-radius: 14px; background: rgba(255, 246, 232, .06); }
#marlin .bx-seg button { flex: 1; display: flex; align-items: center; justify-content: center; padding: 8px 0; border-radius: 10px; font-size: 13.5px; font-weight: 800; color: var(--mr-mute); }
#marlin .bx-seg button.on { color: #2a1c02; background: var(--mr-lamp); }
#marlin .bx-chart { position: relative; margin: 10px 16px 0; touch-action: pan-y; }
#marlin .bx-chart.empty { padding: 30px 0; text-align: center; }
#marlin .bx-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
#marlin .bx-chart .g { stroke: var(--bx-grid); stroke-width: 1; }
#marlin .bx-chart .ax { fill: var(--bx-axis); font-size: 11px; font-weight: 700; }
#marlin .bx-chart .line { fill: none; stroke: var(--bx-line); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
#marlin .bx-chart .fl { stroke: rgba(243, 210, 139, .22); stroke-width: 1; }
#marlin .bx-chart .flag circle { fill: var(--bx-line); stroke: var(--mr-night); stroke-width: 2.5; }
#marlin .bx-chart .flag path { fill: #2a1c02; }
#marlin .bx-chart .end { fill: var(--bx-line); stroke: var(--mr-night); stroke-width: 2; }
#marlin .bx-chart .endbox { fill: var(--bx-line); }
#marlin .bx-chart .endtx { fill: #2a1c02; font-size: 11px; font-weight: 800; }
#marlin .bx-chart .cl { stroke: rgba(246, 243, 236, .5); stroke-width: 1; }
#marlin .bx-chart .cd { fill: #F6F3EC; stroke: var(--mr-night); stroke-width: 2; }
#marlin .bx-tip { position: absolute; padding: 7px 10px; border-radius: 12px; background: rgba(6, 12, 28, .96); border: 1px solid rgba(255, 246, 232, .18); font-size: 12px; font-weight: 700;
  line-height: 1.35; white-space: nowrap; transform: translate(-50%, -100%); box-shadow: 0 8px 20px rgba(0, 0, 0, .4); pointer-events: none; }
#marlin .bx-tip b { display: block; font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 17px; line-height: 1; }
#marlin .bx-flagnote { display: flex; gap: 8px; align-items: flex-start; margin: 8px 16px 0; padding: 10px 12px; border-radius: 14px; background: rgba(243, 210, 139, .07);
  border: 1px solid rgba(243, 210, 139, .3); font-size: 13px; font-weight: 600; line-height: 1.4; }
#marlin .bx-flagnote svg { width: 18px; height: 18px; color: var(--mr-lamp); flex: none; margin-top: 1px; }
#marlin .bx-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 16px; }
#marlin .bx-fact { padding: 10px 12px; border-radius: 16px; background: var(--bz-card); border: 1px solid var(--mr-line); }
#marlin .bx-fact small { display: block; font-size: 12px; font-weight: 700; color: var(--mr-mute); line-height: 1.3; }
#marlin .bx-fact b { display: block; margin: 3px 0; font-size: 21px; line-height: 1; font-variant-numeric: tabular-nums; }
#marlin .bx-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#marlin .bx-acts button { min-height: 58px; border-radius: 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 22px; line-height: 1; }
#marlin .bx-acts small { font-family: var(--f-text); font-style: normal; font-weight: 700; font-size: 12px; line-height: 1.2; }
#marlin .bx-acts .buy { color: #3a2300; background: linear-gradient(100deg, #FFE6A0, #E8B55C); box-shadow: 0 10px 26px rgba(232, 181, 92, .3); }
#marlin .bx-acts .buy small { color: rgba(58, 35, 0, .75); }
#marlin .bx-acts .sell { color: var(--mr-ink); background: #18213b; border: 1.5px solid rgba(255, 246, 232, .25); }
#marlin .bx-acts .sell small { color: var(--mr-mute); }
#marlin .bx-acts .off { opacity: .5; }

#marlin .bx-hold { width: 100%; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px; text-align: left; color: var(--mr-ink); }
#marlin .bx-hold + .bx-hold { border-top: 1px solid rgba(255, 246, 232, .07); }
#marlin .bx-hold .em { width: 44px; height: 44px; }
#marlin .bx-hold b { display: block; font-size: 15px; font-weight: 800; }
#marlin .bx-hold small { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--mr-mute); line-height: 1.35; }
#marlin .bx-hold .r b { font-size: 19px; line-height: 1; font-variant-numeric: tabular-nums; }
#marlin .bx-burn { margin: 12px 16px 0; padding: 16px; border-radius: 22px; background: linear-gradient(180deg, #2A1414, #150A0A); border: 1px solid rgba(255, 138, 122, .45); }
#marlin .bx-burn .k { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--bx-down); }
#marlin .bx-burn .k svg { width: 16px; height: 16px; }
#marlin .bx-burn h3 { margin-top: 6px; font-size: 28px; line-height: .95; }
#marlin .bx-burn p { margin-top: 8px; font-size: 14px; font-weight: 600; line-height: 1.45; color: rgba(246, 243, 236, .8); }
#marlin .bx-burn .bz-btn { margin-top: 10px; }
#marlin .bx-rank { display: grid; grid-template-columns: 26px 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; }
#marlin .bx-rank + .bx-rank { border-top: 1px solid rgba(255, 246, 232, .07); }
#marlin .bx-rank.me { background: rgba(141, 230, 214, .06); }
#marlin .bx-rank .n { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 20px; color: var(--mr-mute); text-align: center; }
#marlin .bx-rank .n.g { color: var(--mr-lamp); }
#marlin .bx-rank .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 800; background: rgba(255, 246, 232, .08); }
#marlin .bx-rank b { display: block; font-size: 15px; font-weight: 800; }
#marlin .bx-rank small { display: block; font-size: 12px; font-weight: 600; color: var(--mr-mute); }
#marlin .bx-rank .r { font-size: 18px; font-variant-numeric: tabular-nums; }

/* шторки покупки и продажи */
#sheet .bx-amts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
#sheet .bx-amts button { padding: 11px 12px; border-radius: 16px; text-align: left; color: #F6F3EC; background: rgba(255, 246, 232, .05); border: 1.5px solid rgba(255, 246, 232, .14); }
#sheet .bx-amts b { display: block; font-size: 22px; line-height: 1; }
#sheet .bx-amts small { display: block; margin-top: 3px; font-size: 12px; font-weight: 700; color: rgba(246, 243, 236, .65); }
#sheet .bx-amts button.on { border-color: #F3D28B; background: rgba(243, 210, 139, .1); }
#sheet .bx-sum { margin-top: 12px; padding: 12px; border-radius: 16px; background: rgba(0, 0, 0, .25); font-size: 13.5px; font-weight: 600; color: #F6F3EC; }
#sheet .bx-sum .bx-r { display: flex; justify-content: space-between; gap: 10px; }
#sheet .bx-sum .bx-r + .bx-r { margin-top: 6px; }
#sheet .bx-sum .bx-r b { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
#sheet .bx-sum .bx-r.warn { color: #FF8A7A; }
#sheet .bx-sum b.up { color: #8DE6D6; }
#sheet .bx-sum b.down { color: #FF8A7A; }
#sheet .bx-sheet .mr-go, #sheet .mr-sheet .mr-go { margin-top: 12px; }

/* шторки клуба рисуются вне #marlin (#sheet у всей игры): кнопки, метки и строки оснастки — и здесь (03.11: в шторках
   материалов, «Поставить на яхту», цены на рынке кнопки сливались в строку текста) */
.sheet.mr-sheet .sheet-body { padding-bottom: 8px; }
.sheet.mr-sheet .bz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sheet.mr-sheet .bz-chip { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px; border-radius: 14px; font-size: 14.5px;
  font-weight: 700; color: var(--mr-ink); background: rgba(255, 246, 232, .05); border: 1.5px solid rgba(255, 246, 232, .14); }
.sheet.mr-sheet .bz-chip:active { border-color: var(--mr-lamp); background: rgba(255, 199, 105, .1); }
.sheet.mr-sheet .bz-btn { height: 38px; padding: 0 14px; border-radius: 13px; display: inline-flex; align-items: center; gap: 5px; font-family: var(--f-display);
  font-style: italic; font-weight: 900; font-size: 18px; white-space: nowrap; color: #3a2300; background: linear-gradient(100deg, #FFE6A0, #E8B55C); }
.sheet.mr-sheet .bz-btn.sm { height: 32px; padding: 0 11px; font-size: 15px; border-radius: 11px; }
.sheet.mr-sheet .mr-go { width: 100%; margin-top: 12px; min-height: 56px; border-radius: 18px; display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 24px; color: #3a2300; background: linear-gradient(100deg, #FFE6A0, #E8B55C); box-shadow: 0 10px 26px rgba(232, 181, 92, .3); }
.sheet.mr-sheet .mr-go:disabled { opacity: .45; box-shadow: none; }
.sheet.mr-sheet .bz-p { font-size: 14px; font-weight: 600; line-height: 1.45; color: var(--mr-mute); }
.sheet.mr-sheet .bz-stars { display: inline-flex; gap: 2px; margin-top: 3px; }
.sheet.mr-sheet .bz-stars svg { width: 15px; height: 15px; fill: none; stroke: rgba(255, 246, 232, .35); stroke-width: 1.8; }
.sheet.mr-sheet .bz-stars svg.on { fill: var(--mr-lamp); stroke: var(--mr-lamp); }
.sheet.mr-sheet .yd-slot { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; color: var(--mr-ink); }
.sheet.mr-sheet .yd-slot + .yd-slot { border-top: 1px solid rgba(255, 246, 232, .08); }
.sheet.mr-sheet .yd-slot .pic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 246, 232, .05); }
.sheet.mr-sheet .yd-slot .pic img { width: 88%; }
.sheet.mr-sheet .yd-slot b { display: block; font-size: 15.5px; font-weight: 800; }
.sheet.mr-sheet .yd-slot small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--mr-mute); line-height: 1.35; }
.sheet.mr-sheet .sheet-content > .mr-sheet { padding: 4px 16px 12px; }
.sheet.mr-sheet .sheet-content > .mr-sheet h3 { font-size: 30px; line-height: 1; }
.sheet.mr-sheet .sheet-content > .mr-sheet .bz-p { margin-top: 6px; }
#marlin .bx-list > .bz-p { padding: 14px 16px; }
#marlin .bx-news > .bz-p { padding: 2px 4px; }

/* ── Этап 6 (update/71_VIP_CLUB.md): профиль члена клуба, задания торговцев, навыки клуба; макеты update/mockups/club/p6 ── */

/* ── 1. Карточка обычной игры: вместо строки клуба, аквариума и витрины — одна большая клубная карта ── */
.pcm-big { display: block; width: 100%; margin: 14px 0 0; padding: 0; border: 0; background: none; color: inherit; text-align: left; font: inherit; }
.pcm-big .cc { position: relative; display: block; width: 100%; aspect-ratio: 1.586; border-radius: 20px; overflow: hidden; color: #FFF6E8;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, rgba(0, 0, 0, .16) 1px 2px, rgba(255, 255, 255, 0) 2px 4px),
              radial-gradient(90% 70% at 16% 0%, rgba(255, 226, 170, .2), rgba(255, 226, 170, 0) 60%),
              linear-gradient(155deg, #23407F 0%, #102352 48%, #060E26 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 205, 120, .55), inset 0 0 0 3px rgba(6, 14, 38, .9), inset 0 0 0 4px rgba(255, 205, 120, .18),
              inset 0 1px 0 rgba(255, 240, 210, .28), 0 22px 44px rgba(0, 0, 0, .55); }
.pcm-big .cc::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 240, 210, 0), rgba(255, 240, 210, .18), rgba(255, 240, 210, 0)); transform: translateX(260%) skewX(-16deg); }
.pcm-big .club { position: absolute; left: 18px; top: 16px; font: italic 900 22px/1 var(--f-display); color: #FFE3A3; }
.pcm-big .mar { position: absolute; right: 18px; top: 18px; width: 38%; height: auto; aspect-ratio: 2.5; color: #C9A25A;
  filter: drop-shadow(0 -1px 0 rgba(0, 0, 0, .85)) drop-shadow(0 1px 0 rgba(255, 236, 200, .25)); }
.pcm-big .chip { position: absolute; left: 18px; top: 48px; width: 40px; height: 30px; border-radius: 6px;
  background: linear-gradient(135deg, #FFE7A8, #C89A45 60%, #F3D28B); box-shadow: inset 0 0 0 1px rgba(80, 50, 0, .35); }
.pcm-big .chip::before { content: ""; position: absolute; inset: 9px 0; border-top: 1px solid rgba(80, 50, 0, .4); border-bottom: 1px solid rgba(80, 50, 0, .4); }
.pcm-big .num { position: absolute; left: 16px; bottom: 12px; display: flex; align-items: baseline; gap: 4px; color: #FFC769;
  font: italic 900 28px/1 var(--f-display); text-shadow: 0 -1px 0 rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 240, 210, .3), 0 3px 14px rgba(0, 0, 0, .45); }
.pcm-big .num b { font-size: 92px; line-height: .78; }
.pcm-big .who { position: absolute; right: 18px; bottom: 16px; max-width: 54%; text-align: right; display: flex; flex-direction: column; gap: 2px; }
.pcm-big .who b { font: italic 900 24px/1 var(--f-display); color: #FFE3A3; }
.pcm-big .who small { font-size: 12.5px; font-weight: 600; color: rgba(255, 246, 232, .72); }
.pcm-big .go { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 13px 16px; border-radius: 16px;
  background: rgba(7, 15, 36, .78); border: 1px solid rgba(255, 199, 105, .36); color: #FFE3A3; font: italic 900 21px/1 var(--f-display); }
.pcm-big .go small { display: block; margin-top: 3px; font: 600 12.5px/1.3 var(--f-text); font-style: normal; color: rgba(255, 246, 232, .66); }
.pcm-big .go svg { width: 20px; height: 20px; flex: none; }

/* ── 2. Клубный профиль ── */
#marlin .pf-hero { position: relative; height: 540px; overflow: hidden; }
#marlin .pf-hero .mr-scene { position: absolute; inset: 0; }
#marlin .pf-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 15, 36, .65) 0%, rgba(7, 15, 36, 0) 22%, rgba(7, 15, 36, 0) 80%, var(--mr-night) 100%); }
#marlin .pf-hero .mr-top { position: absolute; z-index: 3; left: 0; right: 0; top: 0; }
#marlin .pf-name { position: relative; z-index: 2; margin: -34px 16px 0; }
#marlin .pf-name .k { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--mr-lamp-2); text-shadow: 0 2px 8px rgba(0, 0, 0, .8); }
#marlin .pf-name .k .mini { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px 3px 6px; border-radius: 8px; font: italic 900 15px/1 var(--f-display);
  color: #FFC769; background: linear-gradient(155deg, #23407F, #0B1A44); box-shadow: inset 0 0 0 1px rgba(255, 205, 120, .55); }
#marlin .pf-name .k .mini svg { width: 26px; height: 11px; color: #C9A25A; }
#marlin .pf-name h1 { margin-top: 6px; font-size: 58px; line-height: .86; text-shadow: 0 6px 24px rgba(0, 0, 0, .7); overflow-wrap: anywhere; }
#marlin .pf-name .r { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--mr-mute); text-shadow: 0 2px 8px rgba(0, 0, 0, .8); }
#marlin .pf-name .r b { font: italic 900 22px/1 var(--f-display); color: var(--mr-ink); }
#marlin .pf-stars { display: inline-flex; gap: 1px; color: var(--mr-lamp); }
#marlin .pf-stars svg { width: 16px; height: 16px; fill: currentColor; stroke-width: 1.6; }

#marlin .pf-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 16px 0; }
#marlin .pf-facts > span { padding: 11px 10px 10px; border-radius: 16px; background: linear-gradient(180deg, #14254F 0%, #0D1937 100%); border: 1px solid var(--mr-line); }
#marlin .pf-facts b { display: block; font: italic 900 26px/1 var(--f-display); color: var(--mr-lamp); white-space: nowrap; }
#marlin .pf-facts small { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; line-height: 1.25; color: var(--mr-mute); }

/* стена трофеев — главное в профиле: лакированное дерево и латунные таблички */
#marlin .pf-wall { position: relative; margin: 0 16px; padding: 14px 12px 12px; border-radius: 22px;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .14) 0 2px, rgba(0, 0, 0, 0) 2px 9px, rgba(255, 210, 160, .03) 9px 10px, rgba(0, 0, 0, 0) 10px 23px),
              linear-gradient(180deg, #3A2418 0%, #2A1810 55%, #1E110B 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 199, 105, .28), inset 0 2px 0 rgba(255, 226, 180, .12), 0 20px 40px rgba(0, 0, 0, .5); }
#marlin .pf-wall::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 90px; border-radius: 22px 22px 0 0; pointer-events: none;
  background: radial-gradient(60% 100% at 50% 0%, rgba(255, 210, 140, .22), rgba(255, 210, 140, 0) 70%); }
#marlin .pf-rec { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px; padding: 6px 6px 14px; }
#marlin .pf-rec img { grid-column: 1 / -1; width: 100%; height: 124px; object-fit: cover; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .6)); }
#marlin .pf-rec .t { font-size: 13px; font-weight: 700; color: rgba(255, 226, 180, .75); }
#marlin .pf-rec .t b { display: block; margin-top: 2px; font: italic 900 24px/1 var(--f-display); color: #FFE3A3; }
#marlin .pf-rec .w { font: italic 900 46px/.9 var(--f-display); color: #FFC769; text-shadow: 0 2px 0 rgba(0, 0, 0, .5); white-space: nowrap; }
#marlin .pf-rec .w small { font-size: 22px; }
#marlin .pf-plq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#marlin .pf-plq > span > span { min-width: 0; }
#marlin .pf-plq > span { position: relative; display: grid; grid-template-columns: 54px 1fr; align-items: center; gap: 8px; padding: 8px 10px 8px 6px; border-radius: 12px;
  background: linear-gradient(180deg, #D9B46A 0%, #A9813E 52%, #8C6A2E 100%);
  box-shadow: inset 0 1px 0 rgba(255, 244, 214, .7), inset 0 -1px 0 rgba(60, 36, 10, .6), 0 4px 10px rgba(0, 0, 0, .45); color: #2C1A07; }
#marlin .pf-plq > span::before, #marlin .pf-plq > span::after { content: ""; position: absolute; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFF1C8, #6E5020); }
#marlin .pf-plq > span::before { left: 4px; } #marlin .pf-plq > span::after { right: 4px; }
#marlin .pf-plq img { width: 54px; height: 30px; object-fit: cover; filter: drop-shadow(0 2px 2px rgba(40, 20, 0, .45)); }
#marlin .pf-plq b { display: block; font: italic 900 21px/1 var(--f-display); }
#marlin .pf-plq small { display: block; margin-top: 1px; font-size: 11px; font-weight: 800; line-height: 1.15; color: rgba(44, 26, 7, .78); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#marlin .pf-plq > span.no { background: linear-gradient(180deg, rgba(255, 226, 180, .1), rgba(255, 226, 180, .05)); box-shadow: inset 0 0 0 1px rgba(255, 199, 105, .2); color: rgba(255, 226, 180, .55); }
#marlin .pf-plq > span.no::before, #marlin .pf-plq > span.no::after { display: none; }
#marlin .pf-plq > span.no img { filter: brightness(0) opacity(.42); }
#marlin .pf-plq > span.no small { color: rgba(255, 226, 180, .45); }
#marlin .pf-wall .more { display: block; margin-top: 10px; text-align: center; font-size: 13px; font-weight: 700; color: rgba(255, 226, 180, .7); }

#marlin .pf-wins { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 16px 0; }
#marlin .pf-wins > span { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; background: rgba(12, 22, 52, .96); border: 1px solid var(--mr-line); }
#marlin .pf-wins .mr-ic { flex: none; }
#marlin .pf-wins b { display: block; font: italic 900 24px/1 var(--f-display); color: var(--mr-lamp); }
#marlin .pf-wins small { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; line-height: 1.25; color: var(--mr-mute); }

#marlin .pf-titles { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 16px; }
#marlin .pf-titles > span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px 8px 9px; border-radius: 12px; font-size: 13.5px; font-weight: 800; color: var(--mr-lamp-2);
  background: rgba(255, 199, 105, .1); border: 1px solid rgba(255, 199, 105, .34); }
#marlin .pf-titles > span svg { width: 17px; height: 17px; color: var(--mr-lamp); }
#marlin .pf-titles > span.trust { color: var(--mr-sea); background: rgba(141, 230, 214, .08); border-color: rgba(141, 230, 214, .32); }
#marlin .pf-titles > span.trust svg { color: var(--mr-sea); }

#marlin .pf-houses { display: flex; align-items: flex-start; gap: 10px; overflow-x: auto; padding: 0 16px 4px; scrollbar-width: none; }
#marlin .pf-houses::-webkit-scrollbar { display: none; }
#marlin .pf-house { flex: none; width: 168px; display: flex; flex-direction: column; height: auto; max-height: none; }
#marlin .pf-house .pic { position: relative; display: block; flex: none; height: 112px; border-radius: 16px; background: #0B1530 center 42% / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 199, 105, .3), 0 10px 22px rgba(0, 0, 0, .45); }
#marlin .pf-house .pic i { position: absolute; left: 8px; top: 8px; padding: 3px 8px; border-radius: 8px; font: italic 900 14px/1.1 var(--f-display); font-style: italic;
  color: #3a2300; background: linear-gradient(100deg, #FFE6A0, #E8B55C); }
#marlin .pf-house b { display: block; margin-top: 7px; font-size: 14px; font-weight: 800; }
#marlin .pf-house small { display: block; font-size: 12px; font-weight: 600; color: var(--mr-mute); }
#marlin .pf-yacht { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 12px; margin: 12px 16px 0; padding: 12px; border-radius: 18px;
  background: rgba(12, 22, 52, .96); border: 1px solid var(--mr-line); }
#marlin .pf-yacht img { width: 120px; height: 56px; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); }
#marlin .pf-yacht b { display: block; font: italic 900 22px/1 var(--f-display); color: var(--mr-ink); }
#marlin .pf-yacht small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--mr-mute); }
#marlin .pf-move { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 16px 0; }   /* три вида транспорта на узком телефоне — в две строки */
#marlin .pf-move > span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px 8px 9px; border-radius: 12px; font-size: 13.5px; font-weight: 700;
  color: var(--mr-mute); background: rgba(255, 246, 232, .06); border: 1px solid rgba(255, 246, 232, .12); }
#marlin .pf-move > span svg { width: 18px; height: 18px; color: var(--mr-lamp); }

#marlin .pf-biz { margin: 0 16px; border-radius: 20px; background: rgba(12, 22, 52, .96); border: 1px solid var(--mr-line); }
#marlin .pf-biz > span { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 12px 14px; }
#marlin .pf-biz > span + span { border-top: 1px solid rgba(255, 199, 105, .12); }
#marlin .pf-biz b { display: block; font-size: 15px; font-weight: 800; }
#marlin .pf-biz small { display: block; font-size: 12px; font-weight: 600; color: var(--mr-mute); }
#marlin .pf-biz .st { display: inline-flex; gap: 1px; color: rgba(255, 246, 232, .25); }
#marlin .pf-biz .st svg { width: 14px; height: 14px; fill: currentColor; stroke-width: 1.5; }
#marlin .pf-biz .st svg.on { color: var(--mr-lamp); }
#marlin .pf-biz .v { font: italic 900 20px/1 var(--f-display); color: var(--mr-lamp); white-space: nowrap; }

#marlin .pf-skills { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 0 16px; }
#marlin .pf-skills > span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 4px 10px; border-radius: 16px; text-align: center;
  background: rgba(12, 22, 52, .96); border: 1px solid var(--mr-line); }
#marlin .pf-skills svg { width: 24px; height: 24px; color: var(--mr-lamp); }
#marlin .pf-skills b { font: italic 900 26px/1 var(--f-display); color: var(--mr-ink); }
#marlin .pf-skills small { font-size: 11px; font-weight: 700; line-height: 1.15; color: var(--mr-mute); }
#marlin .pf-skills > span.zero b { color: var(--mr-dim); }
#marlin .pf-watch { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 12px; margin: 10px 16px 0; padding: 10px 12px; border-radius: 16px;
  background: rgba(255, 199, 105, .08); border: 1px solid rgba(255, 199, 105, .3); }
#marlin .pf-watch img { width: 64px; height: 64px; object-fit: contain; }
#marlin .pf-watch b { display: block; font-size: 15px; font-weight: 800; }
#marlin .pf-watch small { display: block; font-size: 12.5px; font-weight: 600; color: var(--mr-mute); }

/* ── 3. Задания торговцев ── */
#marlin .tr-face , .mr-msheet .tr-face{ position: relative; flex: none; width: 56px; height: 56px; border-radius: 50%; overflow: visible; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #2C4A8E, #0C1B44 70%); box-shadow: inset 0 0 0 1.5px rgba(255, 205, 120, .6), 0 6px 14px rgba(0, 0, 0, .45);
  font: italic 900 22px/1 var(--f-display); color: #FFC769; }
#marlin .tr-face img , .mr-msheet .tr-face img{ width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
#marlin .tr-face.lg , .mr-msheet .tr-face.lg{ width: 84px; height: 84px; font-size: 32px; }
#marlin .tr-face .bang , .mr-msheet .tr-face .bang{ position: absolute; right: -2px; top: -2px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  font: 900 13px/1 var(--f-text); color: #3a2300; background: linear-gradient(135deg, #FFE6A0, #E8B55C); box-shadow: 0 0 0 2px var(--mr-night); }

#marlin .tr-trader { margin: 0 16px 12px; border-radius: 22px; background: linear-gradient(180deg, #14254F 0%, #0D1937 100%); border: 1px solid var(--mr-line);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .35); overflow: hidden; }
#marlin .tr-trader > .h { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; padding: 14px 14px 10px; }
#marlin .tr-trader > .h b { display: block; font: italic 900 23px/1 var(--f-display); }
#marlin .tr-trader > .h small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--mr-mute); }
#marlin .tr-trust { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 12px; font-weight: 800; color: var(--mr-sea); }
#marlin .tr-trust i { display: block; width: 54px; height: 5px; border-radius: 3px; background: rgba(141, 230, 214, .18); overflow: hidden; }
#marlin .tr-trust i::after { content: ""; display: block; width: var(--p, 30%); height: 100%; border-radius: 3px; background: var(--mr-sea); }
#marlin .tr-trader > .h svg.chev { width: 20px; height: 20px; color: var(--mr-dim); }
#marlin .tr-task { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 10px; padding: 11px 14px; border-top: 1px solid rgba(255, 199, 105, .12); }
#marlin .tr-task b { font-size: 14.5px; font-weight: 800; line-height: 1.25; }
#marlin .tr-task .rw { display: inline-flex; align-items: center; gap: 5px; font: italic 900 18px/1 var(--f-display); color: var(--mr-lamp); white-space: nowrap; }
#marlin .tr-task .rw .mr-coin { width: 15px; height: 15px; }
#marlin .tr-task .pr { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--mr-mute); }
#marlin .tr-task .pr i { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 246, 232, .12); overflow: hidden; }
#marlin .tr-task .pr i::after { content: ""; display: block; width: var(--p, 0%); height: 100%; border-radius: 3px; background: linear-gradient(90deg, #E8B55C, #FFE3A3); }
#marlin .tr-task.ready { background: rgba(255, 199, 105, .1); }
#marlin .tr-task.ready .pr { color: var(--mr-lamp-2); }
#marlin .tr-task .give { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; min-height: 44px; border-radius: 14px;
  font: italic 900 20px/1 var(--f-display); color: #3a2300; background: linear-gradient(100deg, #FFE6A0, #E8B55C); }
#marlin .tr-task .give svg { width: 18px; height: 18px; }
#marlin .tr-task.new b::before { content: "Новое · "; color: var(--mr-sea); }
#marlin .tr-task.lock { opacity: .62; }
#marlin .tr-task.lock .pr { color: var(--mr-dim); }

#marlin .tr-hero { position: relative; margin: 6px 16px 0; padding: 16px; border-radius: 24px; background: linear-gradient(180deg, #172A58 0%, #0D1937 100%);
  border: 1px solid var(--mr-line); box-shadow: 0 18px 40px rgba(0, 0, 0, .4); }
#marlin .tr-hero .top { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; }
#marlin .tr-hero .k { font-size: 13px; font-weight: 700; color: var(--mr-lamp-2); }
#marlin .tr-hero h1 { margin-top: 2px; font-size: 40px; line-height: .9; }
#marlin .tr-say , .mr-msheet .tr-say{ position: relative; margin-top: 14px; padding: 12px 14px; border-radius: 16px; font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--mr-ink);
  background: rgba(255, 246, 232, .06); border: 1px solid rgba(255, 246, 232, .1); }
#marlin .tr-say::before , .mr-msheet .tr-say::before{ content: ""; position: absolute; left: 30px; top: -7px; width: 12px; height: 12px; transform: rotate(45deg);
  background: #1A2C58; border-left: 1px solid rgba(255, 246, 232, .1); border-top: 1px solid rgba(255, 246, 232, .1); }
#marlin .tr-tiers { margin: 0 16px; border-radius: 20px; background: rgba(12, 22, 52, .96); border: 1px solid var(--mr-line); overflow: hidden; }
#marlin .tr-tiers > .bar { padding: 14px 14px 12px; }
#marlin .tr-tiers > .bar .l { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
#marlin .tr-tiers > .bar .l b { font: italic 900 22px/1 var(--f-display); color: var(--mr-sea); }
#marlin .tr-tiers > .bar .l span { font-size: 12.5px; font-weight: 700; color: var(--mr-mute); }
#marlin .tr-tiers > .bar i { display: block; height: 8px; margin-top: 9px; border-radius: 4px; background: rgba(141, 230, 214, .16); overflow: hidden; }
#marlin .tr-tiers > .bar i::after { content: ""; display: block; width: var(--p, 30%); height: 100%; border-radius: 4px; background: linear-gradient(90deg, #4FC8B4, #8DE6D6); }
#marlin .tr-tier { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; padding: 11px 14px; border-top: 1px solid rgba(141, 230, 214, .12); }
#marlin .tr-tier .mr-ic { margin-top: 1px; }
#marlin .tr-tier b { display: block; font-size: 14.5px; font-weight: 800; }
#marlin .tr-tier small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; line-height: 1.35; color: var(--mr-mute); }
#marlin .tr-tier.on b { color: var(--mr-sea); }
#marlin .tr-tier.off { opacity: .66; }
#marlin .tr-list { margin: 0 16px; border-radius: 20px; background: linear-gradient(180deg, #14254F 0%, #0D1937 100%); border: 1px solid var(--mr-line); overflow: hidden; }
#marlin .tr-list .tr-task:first-child { border-top: 0; }
#marlin .tr-done { display: block; margin: 10px 16px 0; text-align: center; font-size: 13px; font-weight: 700; color: var(--mr-dim); }

/* окно задания: слова торговца, что сделать, что сдать из трюма, награда */
#marlin .tr-sheet-bg { position: absolute; inset: 0; z-index: 40; background: rgba(3, 7, 20, .66); }
#marlin .tr-sheet { position: absolute; z-index: 41; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(var(--safe-bottom) + 18px); border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, #172A58 0%, #0B1636 100%); border-top: 1px solid rgba(255, 199, 105, .4); box-shadow: 0 -20px 50px rgba(0, 0, 0, .6); }
#marlin .tr-sheet .grab { display: block; width: 44px; height: 5px; margin: 0 auto 12px; border-radius: 3px; background: rgba(255, 246, 232, .25); }
#marlin .tr-sheet .who { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; }
#marlin .tr-sheet .who b { display: block; font: italic 900 26px/1 var(--f-display); }
#marlin .tr-sheet .who small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--mr-mute); }
#marlin .tr-goal , .mr-msheet .tr-goal{ margin-top: 14px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 199, 105, .1); border: 1px solid rgba(255, 199, 105, .34); }
#marlin .tr-goal .lb , .mr-msheet .tr-goal .lb{ font-size: 12.5px; font-weight: 700; color: var(--mr-lamp-2); }
#marlin .tr-goal b , .mr-msheet .tr-goal b{ display: block; margin-top: 3px; font: italic 900 24px/1.05 var(--f-display); color: var(--mr-ink); }
#marlin .tr-pick , .mr-msheet .tr-pick{ margin-top: 12px; }
#marlin .tr-pick .lb , .mr-msheet .tr-pick .lb{ font-size: 13px; font-weight: 700; color: var(--mr-mute); }
#marlin .tr-pick ul , .mr-msheet .tr-pick ul{ display: grid; gap: 6px; margin-top: 8px; }
#marlin .tr-pick li , .mr-msheet .tr-pick li{ display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 14px;
  background: rgba(255, 246, 232, .05); border: 1px solid rgba(255, 246, 232, .12); }
#marlin .tr-pick li img , .mr-msheet .tr-pick li img{ width: 64px; height: 34px; object-fit: cover; }
#marlin .tr-pick li b , .mr-msheet .tr-pick li b{ display: block; font-size: 14.5px; font-weight: 800; }
#marlin .tr-pick li small , .mr-msheet .tr-pick li small{ display: block; font-size: 12px; font-weight: 600; color: var(--mr-mute); }
#marlin .tr-pick li .ck , .mr-msheet .tr-pick li .ck{ width: 24px; height: 24px; border-radius: 50%; border: 2px solid rgba(255, 246, 232, .3); }
#marlin .tr-pick li.on , .mr-msheet .tr-pick li.on{ background: rgba(255, 199, 105, .12); border-color: rgba(255, 199, 105, .55); }
#marlin .tr-pick li.on .ck , .mr-msheet .tr-pick li.on .ck{ border: 0; background: linear-gradient(135deg, #FFE6A0, #E8B55C) center / 14px no-repeat; box-shadow: inset 0 0 0 6px #E8B55C; }
#marlin .tr-pay , .mr-msheet .tr-pay{ display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
#marlin .tr-pay > span , .mr-msheet .tr-pay > span{ display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px 7px 8px; border-radius: 12px; font-size: 13px; font-weight: 800;
  background: rgba(255, 246, 232, .06); border: 1px solid rgba(255, 246, 232, .12); }
#marlin .tr-pay > span svg , .mr-msheet .tr-pay > span svg{ width: 16px; height: 16px; color: var(--mr-lamp); }
#marlin .tr-pay > span.tr , .mr-msheet .tr-pay > span.tr{ color: var(--mr-sea); }
#marlin .tr-pay > span.tr svg , .mr-msheet .tr-pay > span.tr svg{ color: var(--mr-sea); }

/* ступень доверия: момент */
#marlin .tr-up-bg { position: absolute; inset: 0; z-index: 40; background: radial-gradient(70% 50% at 50% 42%, rgba(79, 200, 180, .18), rgba(3, 7, 20, .88) 70%); }
#marlin .tr-up { position: absolute; z-index: 41; left: 20px; right: 20px; top: 50%; transform: translateY(-50%); padding: 26px 20px 20px; border-radius: 28px; text-align: center;
  background: linear-gradient(180deg, #16305E 0%, #0B1636 100%); border: 1px solid rgba(141, 230, 214, .45); box-shadow: 0 30px 70px rgba(0, 0, 0, .7), 0 0 60px rgba(79, 200, 180, .18); }
#marlin .tr-up .tr-face { margin: -64px auto 0; width: 96px; height: 96px; font-size: 38px; box-shadow: inset 0 0 0 2px rgba(141, 230, 214, .8), 0 0 0 6px #0B1636, 0 12px 30px rgba(0, 0, 0, .6); }
#marlin .tr-up .k { margin-top: 12px; font-size: 13px; font-weight: 800; color: var(--mr-sea); }
#marlin .tr-up h2 { margin-top: 6px; font-size: 38px; line-height: .92; }
#marlin .tr-up p { margin-top: 10px; font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--mr-mute); }
#marlin .tr-up ul { display: grid; gap: 8px; margin-top: 14px; text-align: left; }
#marlin .tr-up li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(141, 230, 214, .08); border: 1px solid rgba(141, 230, 214, .26); }
#marlin .tr-up li b { display: block; font-size: 14.5px; font-weight: 800; }
#marlin .tr-up li small { display: block; font-size: 12px; font-weight: 600; color: var(--mr-mute); }

/* ── 4. Навыки клуба ── */
#marlin .sk-pts { margin: 6px 16px 0; padding: 16px; border-radius: 22px; background: linear-gradient(180deg, #172A58 0%, #0D1937 100%); border: 1px solid var(--mr-line); }
#marlin .sk-pts .pt { display: flex; align-items: center; gap: 12px; }
#marlin .sk-pts .big { font: italic 900 64px/.8 var(--f-display); color: var(--mr-lamp); }
#marlin .sk-pts .pt b { display: block; font: italic 900 24px/1 var(--f-display); }
#marlin .sk-pts .pt small { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; color: var(--mr-mute); }
#marlin .sk-pts .nx { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 12.5px; font-weight: 700; color: var(--mr-mute); }
#marlin .sk-pts i { display: block; height: 7px; margin-top: 6px; border-radius: 4px; background: rgba(255, 246, 232, .1); overflow: hidden; }
#marlin .sk-pts i::after { content: ""; display: block; width: var(--p, 40%); height: 100%; border-radius: 4px; background: linear-gradient(90deg, #E8B55C, #FFE3A3); }
#marlin .sk-br { margin: 0 16px 12px; border-radius: 22px; background: linear-gradient(180deg, #14254F 0%, #0D1937 100%); border: 1px solid var(--mr-line); overflow: hidden; }
#marlin .sk-br > .h { display: flex; align-items: center; gap: 10px; padding: 13px 14px 9px; }
#marlin .sk-br > .h svg { width: 26px; height: 26px; color: var(--mr-lamp); }
#marlin .sk-br > .h b { font: italic 900 26px/1 var(--f-display); }
#marlin .sk-br > .h small { margin-left: auto; font: italic 800 16px/1 var(--f-display); color: var(--mr-dim); }
#marlin .sk-br > .h .about { display: block; margin-left: 0; font: 600 12.5px/1.2 var(--f-text); font-style: normal; color: var(--mr-mute); }
#marlin .sk { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid rgba(255, 199, 105, .12); }
#marlin .sk b { display: block; font-size: 15px; font-weight: 800; }
#marlin .sk small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--mr-mute); }
#marlin .sk small em { font-style: normal; color: var(--mr-lamp-2); font-weight: 800; }
#marlin .sk .pips { display: inline-flex; gap: 4px; margin-top: 6px; }
#marlin .sk .pips i { display: block; width: 22px; height: 6px; border-radius: 3px; background: rgba(255, 246, 232, .14); }
#marlin .sk .pips i.on { background: linear-gradient(90deg, #E8B55C, #FFE3A3); }
#marlin .sk .add { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #3a2300; background: linear-gradient(135deg, #FFE6A0, #E8B55C); box-shadow: 0 6px 14px rgba(232, 181, 92, .3); }
#marlin .sk .add svg { width: 22px; height: 22px; stroke-width: 2.6; }
#marlin .sk .add.full { color: var(--mr-sea); background: rgba(141, 230, 214, .1); box-shadow: inset 0 0 0 1px rgba(141, 230, 214, .4); }
#marlin .sk-reset { display: block; margin: 4px 16px 0; padding: 13px; border-radius: 16px; text-align: center; font-size: 14px; font-weight: 700; color: var(--mr-mute);
  background: rgba(255, 246, 232, .05); border: 1px solid rgba(255, 246, 232, .12); }
#marlin .sk-sheet .steps , .mr-msheet .sk-sheet .steps{ display: grid; gap: 6px; margin-top: 14px; }
#marlin .sk-sheet .steps > span , .mr-msheet .sk-sheet .steps > span{ display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px;
  background: rgba(255, 246, 232, .05); border: 1px solid rgba(255, 246, 232, .1); font-size: 14px; font-weight: 700; color: var(--mr-mute); }
#marlin .sk-sheet .steps > span b , .mr-msheet .sk-sheet .steps > span b{ display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; font: italic 900 18px/1 var(--f-display); color: var(--mr-dim); background: rgba(255, 246, 232, .08); }
#marlin .sk-sheet .steps > span.on , .mr-msheet .sk-sheet .steps > span.on{ color: var(--mr-ink); background: rgba(255, 199, 105, .1); border-color: rgba(255, 199, 105, .4); }
#marlin .sk-sheet .steps > span.on b , .mr-msheet .sk-sheet .steps > span.on b{ color: #3a2300; background: linear-gradient(135deg, #FFE6A0, #E8B55C); }
#marlin .sk-sheet .steps > span.nx , .mr-msheet .sk-sheet .steps > span.nx{ color: var(--mr-ink); border-color: rgba(141, 230, 214, .45); }
#marlin .sk-sheet .steps > span.nx b , .mr-msheet .sk-sheet .steps > span.nx b{ color: var(--mr-sea); background: rgba(141, 230, 214, .12); }

/* кнопка «Задания» в шапке клуба (этап 6) */
#marlin .tr-pill { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; align-self: center; padding: 8px 12px 8px 10px; border-radius: 14px; font: italic 900 17px/1 var(--f-display);
  color: var(--mr-lamp-2); background: rgba(7, 15, 36, .7); border: 1px solid rgba(255, 199, 105, .45); }
#marlin .tr-pill svg { width: 17px; height: 17px; }
#marlin .tr-pill i { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; font: 900 12px/1 var(--f-text); font-style: normal;
  color: #3a2300; background: linear-gradient(135deg, #FFE6A0, #E8B55C); }

/* профиль: дополнения к макету */
#marlin .pf-pad { margin: 0 16px; }
/* задания торговцев: шапка, строка торговца сверху раздела, окно задания (шторка игры — вне #marlin) */
#marlin .mr-me { flex-wrap: nowrap; }
#marlin .mr-me .tr-pill { flex: none; }
#marlin .tr-pill i.nw { min-width: 10px; width: 10px; height: 10px; padding: 0; }
#marlin .tr-row { display: grid; grid-template-columns: 56px 1fr 20px; align-items: center; gap: 12px; width: calc(100% - 32px); margin: 12px 16px 0;
  padding: 12px 14px; border-radius: 20px; background: linear-gradient(180deg, #14254F 0%, #0D1937 100%); border: 1px solid var(--mr-line);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .3); color: inherit; font: inherit; text-align: left; }
#marlin .tr-row b { display: block; font: italic 900 21px/1 var(--f-display); }
#marlin .tr-row small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 700; color: var(--mr-lamp-2); }
#marlin .tr-row .tw { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--mr-mute); }
#marlin .tr-row > svg { width: 20px; height: 20px; color: var(--mr-dim); }
#marlin .tr-up-wrap { position: absolute; inset: 0; z-index: 60; }
.mr-msheet .tr-sheetb .who { display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; }
.mr-msheet .tr-sheetb .who b { display: block; font: italic 900 24px/1 var(--f-display); }
.mr-msheet .tr-sheetb .who small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--mr-mute, rgba(255, 246, 232, .66)); }
.mr-msheet .tr-sheetb .tr-say { margin-top: 14px; }
.mr-msheet .tr-pick li { cursor: pointer; }
#marlin .sk-row { display: grid; grid-template-columns: 34px 1fr auto auto; align-items: center; gap: 10px; width: 100%; margin-top: 12px; padding: 12px;
  border-radius: 16px; background: rgba(255, 199, 105, .1); border: 1px solid rgba(255, 199, 105, .4); color: inherit; font: inherit; text-align: left; }
#marlin .sk-row b { display: block; font: italic 900 21px/1 var(--f-display); color: var(--mr-lamp-2); }
#marlin .sk-row small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--mr-mute); }
#marlin .sk-row > i { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; font: 900 13px/1 var(--f-text); font-style: normal;
  color: #3a2300; background: linear-gradient(135deg, #FFE6A0, #E8B55C); }
#marlin .sk-row > svg { width: 20px; height: 20px; color: var(--mr-dim); }
#marlin .sk .add.off { opacity: .4; box-shadow: none; }
#marlin .sk > span.mr-tap { display: block; min-width: 0; }
.mr-msheet .sk-sheet .tr-say { margin-top: 0; }
.mr-msheet .tz-chips.eq4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mr-msheet .mr-limtx { margin-top: 8px; font-size: 12.5px; font-weight: 600; line-height: 1.4; color: var(--mr-mute, rgba(255, 246, 232, .66)); }
#marlin .pf-empty { margin: 4px 6px 8px; font-size: 13.5px; font-weight: 700; line-height: 1.4; color: rgba(255, 226, 180, .7); text-align: center; }
#marlin .pf-houses + .pf-yacht { margin-top: 12px; }
#marlin .pf-end { height: 28px; }
#marlin .pf-stars em { margin-left: 3px; font-style: normal; font-weight: 900; font-size: 13px; }
#marlin .pf-plq b svg { width: 14px; height: 14px; margin-left: 4px; vertical-align: -1px; color: #5A3A08; }
#marlin .pf-plq > span.rec { background: linear-gradient(180deg, #F6D58A 0%, #C99A45 52%, #A27832 100%); }
#marlin .pf-wall .more { width: 100%; padding: 6px 0 0; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 700; color: rgba(255, 226, 180, .78); }
#marlin .pf-titles > span.week { color: var(--mr-ink); background: rgba(255, 246, 232, .07); border-color: rgba(255, 246, 232, .2); }
#marlin .pf-house small { line-height: 1.3; }
#marlin .tz-fb li.mr-tap, #marlin .tz-pod > .mr-tap { cursor: pointer; }
.mr-msheet .sk-sheet .tr-say::before { display: none; }
#marlin .tr-task .pr svg { width: 14px; height: 14px; flex: none; }
#marlin .tr-task .pr i { min-width: 40px; }
.mr-msheet .tr-pick ul { margin: 8px 0 0; padding: 0; list-style: none; }
.mr-msheet .tr-sheetb { padding-top: 6px; }
#marlin .pf-pennant { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px 10px 6px 8px; border-radius: 10px; font-size: 12.5px;
  font-weight: 800; color: var(--mr-sea); background: rgba(141, 230, 214, .08); border: 1px solid rgba(141, 230, 214, .32); }
#marlin .pf-pennant svg { width: 16px; height: 16px; }

/* «Ловят сами» у дома и на курорте (владелец 04.11, п. 16) */
#marlin .mr-ha { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 12px;
  border-radius: 16px; background: rgba(141, 230, 214, .08); border: 1px solid rgba(141, 230, 214, .35); color: var(--mr-ink); text-align: left; }
#marlin .mr-ha .mr-ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--mr-sea); background: rgba(141, 230, 214, .14);
  animation: mrHaSpin 6s linear infinite; }
#marlin .mr-ha .mr-ic svg { width: 20px; height: 20px; }
@keyframes mrHaSpin { to { transform: rotate(360deg); } }
#marlin .mr-ha .tx b { display: block; font-size: 18px; line-height: 1.05; }
#marlin .mr-ha .tx small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 700; line-height: 1.3; color: var(--mr-mute); }
#marlin .mr-ha-stop { padding: 8px 12px; border-radius: 12px; font-size: 13px; font-weight: 800; color: var(--mr-ink); background: rgba(7, 15, 36, .6);
  border: 1px solid rgba(255, 246, 232, .22); }
#marlin .mr-hb .mr-go2, #marlin .sk-act .mr-go2 { margin-top: 10px; }

/* ── гараж (06.11, js/marlin/garage.js; макеты update/mockups/club/index_garage.html, club_garage.css) ── */
#marlin .gz-hero { margin: 14px 16px 0; aspect-ratio: 1.02; border-radius: 22px; border: 1px solid var(--mr-line); }
#marlin .gz-hcap { position: absolute; z-index: 3; left: 14px; bottom: 12px; display: flex; flex-direction: column; gap: 2px; }
#marlin .gz-hcap b { font-size: 22px; line-height: 1; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
#marlin .gz-hcap small { font-size: 12.5px; font-weight: 700; color: rgba(255, 246, 232, .82); text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
#marlin .gz-seg { margin: 14px 16px 0; }
#marlin .gz-seg span { cursor: pointer; }
#marlin .gz-list { margin: 12px 16px 0; display: flex; flex-direction: column; gap: 8px; }
#marlin .gz-row { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 12px 9px 8px;
  border-radius: 18px; text-align: left; color: var(--mr-ink); background: linear-gradient(180deg, rgba(30, 47, 98, .9), rgba(14, 26, 62, .9));
  border: 1px solid var(--mr-line); }
#marlin .gz-row.on { border-color: rgba(141, 230, 214, .55); }
#marlin .gz-row > svg { width: 18px; height: 18px; color: var(--mr-dim); }
#marlin .gz-pic { height: 56px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 4px; border-radius: 12px;
  background: radial-gradient(60% 70% at 50% 62%, rgba(196, 214, 255, .26), rgba(196, 214, 255, 0) 75%); }
#marlin .gz-pic img { max-width: 100%; max-height: 48px; width: auto; height: auto; filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .5)); }
#marlin .gz-tx { min-width: 0; }
#marlin .gz-tx b { display: block; font-size: 19px; line-height: 1.02; }
#marlin .gz-tx small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--mr-mute); }
#marlin .gz-use { font-size: 12px; font-weight: 800; color: var(--mr-sea); padding: 4px 8px; border-radius: 9px; white-space: nowrap;
  background: rgba(141, 230, 214, .1); border: 1px solid rgba(141, 230, 214, .35); }
#marlin .gz-sec { margin-top: 26px; }
#marlin .gz-cls { margin: 14px 16px 8px; font-size: 20px; color: var(--mr-lamp-2); }
#marlin .gz-grid { margin: 0 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
#marlin .gz-card { min-width: 0; display: flex; flex-direction: column; align-items: stretch; text-align: left; padding: 8px 10px 11px; border-radius: 18px;
  color: var(--mr-ink); background: linear-gradient(180deg, rgba(30, 47, 98, .9), rgba(14, 26, 62, .9)); border: 1px solid var(--mr-line); }
#marlin .gz-card .gz-pic { height: 72px; }
#marlin .gz-card .gz-pic img { max-height: 60px; }
#marlin .gz-card b { margin-top: 6px; font-size: 17px; line-height: 1.04; }
#marlin .gz-card small { margin-top: 4px; flex: 1; font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--mr-mute); }
#marlin .gz-pr { margin-top: 8px; font-size: 19px; color: var(--mr-lamp-2); }
#marlin .gz-note { margin: 16px 16px 26px; font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--mr-dim); }
/* стоянка в профиле члена клуба: вся техника сеткой по три */
#marlin .gz-lot { margin: 0 16px; padding: 14px 10px 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; border-radius: 20px;
  background: radial-gradient(70% 80% at 30% 40%, rgba(196, 214, 255, .2), rgba(196, 214, 255, 0) 70%), linear-gradient(180deg, #2C3658 0%, #1F2846 100%);
  border: 1px solid rgba(255, 246, 232, .12); }
#marlin .gz-lot > div { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 4px; }
#marlin .gz-lot > div:not(:nth-child(3n+1)) { border-left: 2px solid rgba(255, 246, 232, .2); }
#marlin .gz-lot .gz-pic { width: 100%; height: 48px; padding: 0; background: none; }
#marlin .gz-lot .nm { font-size: 12px; font-weight: 800; line-height: 1.2; text-align: center; color: var(--mr-mute); }
/* шторка модели: витрина с отражением, плюс, дорога, Forbes */
.mr-sheet .gz-stage { position: relative; height: 170px; margin-top: 2px; border-radius: 20px; overflow: hidden; border: 1px solid var(--mr-line);
  background: radial-gradient(64% 58% at 50% 34%, rgba(196, 214, 255, .34), rgba(196, 214, 255, 0) 72%),
              linear-gradient(180deg, #1E2F62 0%, #15244E 64%, #0C1636 64.4%, #101D42 100%); }
.mr-sheet .gz-stage img { position: absolute; left: 50%; width: 80%; height: auto; }
.mr-sheet .gz-stage img.v { bottom: 36%; transform: translateX(-50%); filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .5)); }
.mr-sheet .gz-stage img.r { top: 64%; transform: translateX(-50%) scaleY(-1); transform-origin: 50% 0; opacity: .16;
  -webkit-mask-image: linear-gradient(0deg, transparent 40%, #000 100%); mask-image: linear-gradient(0deg, transparent 40%, #000 100%); }
.mr-sheet .gz-facts { margin-top: 10px; padding: 0; list-style: none; }
.mr-sheet .gz-facts li { display: flex; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid rgba(255, 246, 232, .08); font-size: 13.5px;
  font-weight: 600; line-height: 1.3; color: var(--mr-mute); }
.mr-sheet .gz-facts li:first-child { border-top: 0; }
.mr-sheet .gz-facts li b { color: var(--mr-ink); font-weight: 800; }
.mr-sheet .gz-facts .mr-fic { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 199, 105, .12); color: var(--mr-lamp); }
.mr-sheet .gz-facts .mr-fic svg { width: 16px; height: 16px; }
.mr-sheet .gz-foot { display: flex; flex-direction: column; gap: 8px; }
.mr-sheet .gz-foot .tz-lim { margin-top: 0; }
.mr-sheet .gz-sell { height: 44px; display: grid; place-items: center; text-align: center; border-radius: 14px; font: 800 14px/1 var(--f-text); color: var(--mr-mute); background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 246, 232, .14); }

/* ── номерные машины (06.11, garage.js; макеты a_gg_3, a_gg_4): латунная табличка, серии, лот на торгах ── */
.gz-plate { display: inline-flex; align-items: baseline; gap: 5px; padding: 5px 11px 6px; border-radius: 7px; position: relative; white-space: nowrap;
  color: #3A2604; background: linear-gradient(180deg, #F6DE9E 0%, #D9A954 55%, #B88232 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(90, 55, 10, .35), 0 3px 8px rgba(0, 0, 0, .35); }
.gz-plate::before, .gz-plate::after { content: ""; position: absolute; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%;
  background: rgba(90, 55, 10, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); }
.gz-plate::before { left: 4px; }
.gz-plate::after { right: 4px; }
.gz-plate b { font-size: 18px; line-height: 1; }
.gz-plate small { font-size: 11px; font-weight: 800; opacity: .8; }
.gz-plate.sm { padding: 3px 9px 4px; border-radius: 6px; }
.gz-plate.sm b { font-size: 14px; }
.gz-plate.sm small { font-size: 9.5px; }
.gz-plate.big { padding: 8px 16px 9px; border-radius: 9px; }
.gz-plate.big b { font-size: 30px; }
.gz-plate.big small { font-size: 13px; }
.gz-plate.one { color: #253349; background: linear-gradient(180deg, #FFFFFF, #B9C4CE); }
#marlin .gz-tx .gz-plate { margin-top: 6px; }
#marlin .gz-wait { margin: 18px 16px; display: flex; gap: 8px; align-items: center; color: var(--mr-mute); font-size: 13.5px; font-weight: 600; }
#marlin .gz-wait svg { width: 18px; height: 18px; }
#marlin .gz-month { margin: 0 16px; width: calc(100% - 32px); display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 14px 12px 10px;
  border-radius: 20px; text-align: left; color: var(--mr-ink); border: 1px solid rgba(255, 199, 105, .45);
  background: radial-gradient(80% 90% at 15% 50%, rgba(196, 214, 255, .2), rgba(196, 214, 255, 0) 70%), linear-gradient(180deg, rgba(36, 54, 108, .95), rgba(16, 28, 66, .95)); }
#marlin .gz-month .gz-pic { height: 70px; }
#marlin .gz-month .gz-pic img { max-height: 60px; }
#marlin .gz-month .gz-pr { display: inline-block; margin-top: 8px; }
#marlin .gz-all { margin: 10px 16px 0; width: calc(100% - 32px); display: flex; justify-content: space-between; align-items: center; padding: 13px 14px; border-radius: 16px;
  font: 800 14px/1.2 var(--f-text); color: var(--mr-lamp-2); background: rgba(255, 199, 105, .07); border: 1px solid rgba(255, 199, 105, .25); }
#marlin .gz-all svg { width: 18px; height: 18px; }
#marlin .gz-how { margin: 18px 16px 0; padding: 0; list-style: none; display: grid; gap: 10px; }
#marlin .gz-how li { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: var(--mr-mute); }
#marlin .gz-how li b { color: var(--mr-ink); font-weight: 800; }
#marlin .gz-show { position: relative; height: 250px; margin: 14px 16px 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--mr-line);
  background: radial-gradient(64% 58% at 50% 34%, rgba(196, 214, 255, .34), rgba(196, 214, 255, 0) 72%),
              radial-gradient(60% 55% at 50% 26%, rgba(255, 214, 140, .2), rgba(255, 214, 140, 0) 70%),
              linear-gradient(180deg, #1E2F62 0%, #15244E 64%, #0C1636 64.4%, #101D42 100%); }
#marlin .gz-show img { position: absolute; left: 50%; width: 84%; height: auto; }
#marlin .gz-show img.v { bottom: 36%; transform: translateX(-50%); filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .5)); }
#marlin .gz-show img.r { top: 64%; transform: translateX(-50%) scaleY(-1); transform-origin: 50% 0; opacity: .16;
  -webkit-mask-image: linear-gradient(0deg, transparent 40%, #000 100%); mask-image: linear-gradient(0deg, transparent 40%, #000 100%); }
#marlin .gz-show .gz-plate { position: absolute; right: 14px; bottom: 14px; }
#marlin .gz-h { margin: 18px 16px 0; }
#marlin .gz-h b { display: block; font-size: 30px; line-height: 1; }
#marlin .gz-h small { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--mr-mute); }
#marlin .gz-h em { font-style: normal; color: var(--mr-lamp-2); }
#marlin .gz-ticks { margin: 16px 16px 0; display: grid; grid-template-columns: repeat(25, 1fr); gap: 3px; }
#marlin .gz-ticks i { height: 14px; border-radius: 2px; background: rgba(255, 246, 232, .12); }
#marlin .gz-ticks i.s { background: linear-gradient(180deg, #F6DE9E, #C99645); }
#marlin .gz-ticks i.me { background: var(--mr-sea); box-shadow: 0 0 0 2px rgba(141, 230, 214, .3); }
#marlin .gz-tl { margin: 8px 16px 0; display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: var(--mr-mute); }
#marlin .gz-tl b { color: var(--mr-lamp-2); }
#marlin .gz-owners { margin: 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
#marlin .gz-owners > span { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; border-radius: 12px; font-size: 13px; font-weight: 700;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 246, 232, .1); }
#marlin .gz-owners > span.me { border-color: rgba(141, 230, 214, .5); }
#marlin .gz-owners > span.more { padding: 8px 12px; color: var(--mr-mute); }
#marlin .gz-foot2 { margin: 20px 16px 28px; }
#marlin .gz-foot2 .mr-go { margin-top: 0; }
#marlin .gz-lim { display: flex; gap: 8px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; font-size: 13.5px; font-weight: 600; line-height: 1.4;
  color: var(--mr-ink); background: rgba(141, 230, 214, .08); border: 1px solid rgba(141, 230, 214, .3); }
#marlin .gz-lim svg { width: 17px; height: 17px; flex: none; color: var(--mr-sea); }
#marlin .gz-c { text-align: center; margin: 10px 0 0; }
/* лот номерной машины в аукционном доме */
#marlin .gz-astage { position: relative; height: 140px; margin: -2px -2px 10px; border-radius: 16px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(64% 58% at 50% 40%, rgba(196, 214, 255, .3), rgba(196, 214, 255, 0) 72%), linear-gradient(180deg, #1E2F62 0%, #15244E 70%, #0C1636 70.4%, #101D42 100%); }
#marlin .gz-astage img { width: 78%; height: auto; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .5)); }
#marlin .gz-astage .gz-plate { position: absolute; left: 10px; top: 10px; }
#marlin .gz-astage .gz-who { position: absolute; right: 10px; top: 10px; padding: 3px 9px 4px; border-radius: 10px; font-size: 12px; font-weight: 800;
  background: rgba(7, 15, 36, .8); border: 1px solid rgba(255, 246, 232, .25); }
.mr-sheet .gz-th { display: grid; place-items: center; overflow: hidden; background: linear-gradient(180deg, #1E2F62, #101D42); }
.mr-sheet .gz-th img { width: 92%; height: auto; }
.mr-sheet .gz-stage .gz-plate { position: absolute; right: 12px; bottom: 12px; }

/* ── выставка машин (07.11, js/marlin/cshow.js; макеты update/mockups/club/a_gx_*) ── */
/* дверь клуба в «Гавани», вариант А: подпись в сб — вс и строка внутри раскрытой двери */
.mr-door.fold .tx small .sh { display: inline-flex; align-items: center; gap: 6px; color: #F3D28B; }
.mr-door.fold .tx small .sh i { width: 7px; height: 7px; border-radius: 50%; background: #F3D28B; box-shadow: 0 0 0 3px rgba(243, 210, 139, .2); }
.mr-door .row.show { border-color: rgba(243, 210, 139, .9); background: linear-gradient(100deg, rgba(60, 42, 10, .9), rgba(6, 12, 20, .86)); }
/* сцена: дом и машина, кадр приближен к машине */
.cs-hz { position: relative; overflow: hidden; background: #0D1937; }
.cs-fr { position: absolute; left: var(--fl, 0%); width: calc(100% * var(--z, 1)); aspect-ratio: 1024 / 1536; top: var(--py, 48%); transform: translateY(calc(-1 * var(--py, 48%))); }
.cs-bg { position: absolute; inset: 0; background: center / 100% 100% no-repeat; }
.cs-car { position: absolute; z-index: 1; display: block; height: auto; }
.cs-shd { position: absolute; z-index: 1; aspect-ratio: 16 / 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)); }
.cs-hz::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(7, 15, 36, 0) 52%, rgba(7, 15, 36, .85) 100%); }
.cs-cap { position: absolute; z-index: 3; left: 14px; right: 60px; bottom: 12px; }
.cs-cap b { display: block; font-size: 22px; line-height: 1; text-shadow: 0 2px 10px rgba(0, 0, 0, .7); }
.cs-cap small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 700; color: rgba(255, 246, 232, .82); text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.cs-hz .cs-pl { position: absolute; z-index: 3; left: 12px; top: 12px; }
#marlin .cs-head { margin: 8px 16px 0; }
#marlin .cs-head h1 { font-size: 56px; line-height: .9; }
#marlin .cs-head p { margin-top: 8px; font-size: 16px; color: var(--mr-lamp-2); }
#marlin .cs-left { margin: 14px 16px 0; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: 13px; font-weight: 700; color: var(--mr-mute); }
#marlin .cs-left .bar { height: 6px; border-radius: 3px; background: rgba(255, 246, 232, .12); overflow: hidden; }
#marlin .cs-left .bar i { display: block; height: 100%; background: var(--mr-lamp); transform-origin: 0 50%; }
#marlin .cs-pair { position: relative; margin: 12px 16px 0; display: flex; flex-direction: column; gap: 10px; }
#marlin .cs-e { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 246, 232, .16); cursor: pointer; }
#marlin .cs-e:active { transform: scale(.985); }
#marlin .cs-e.picked { border-color: var(--mr-lamp); box-shadow: 0 0 0 3px rgba(255, 199, 105, .3); }
#marlin .cs-or { position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 4px 14px 6px; border-radius: 14px;
  font-size: 18px; color: #3a2300; background: linear-gradient(100deg, #FFE6A0, #E8B55C); }
#marlin .cs-fav { position: absolute; z-index: 4; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  color: var(--mr-ink); background: rgba(7, 15, 36, .7); border: 1px solid rgba(255, 246, 232, .3); }
#marlin .cs-fav svg { width: 19px; height: 19px; }
#marlin .cs-fav.on { color: #FF8FA3; border-color: rgba(255, 143, 163, .6); }
#marlin .cs-fav.on svg { fill: currentColor; }
#marlin .cs-me { margin: 14px 16px 0; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 246, 232, .12); }
#marlin .cs-me .ic { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--mr-lamp); background: rgba(255, 199, 105, .12); }
#marlin .cs-me .ic svg { width: 19px; height: 19px; }
#marlin .cs-me b { display: block; font-size: 18px; line-height: 1.05; }
#marlin .cs-me small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 600; line-height: 1.35; color: var(--mr-mute); }
#marlin .cs-me.gold { border-color: rgba(255, 199, 105, .45); }
#marlin .cs-me.sea { border-color: rgba(141, 230, 214, .45); }
#marlin .cs-me.sea .ic { color: var(--mr-sea); background: rgba(141, 230, 214, .12); }
#marlin .cs-small { margin: 12px 16px 0; font-size: 12.5px; font-weight: 600; line-height: 1.45; color: var(--mr-dim); }
#marlin .cs-small.c { text-align: center; }
#marlin .cs-skip { font: 800 14px/1 var(--f-text); color: var(--mr-lamp-2); background: none; border: 0; padding: 8px 12px; }
#marlin .cs-note { margin: 16px 16px 0; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; font-size: 13.5px; font-weight: 600;
  line-height: 1.4; color: var(--mr-mute); background: rgba(255, 199, 105, .07); border: 1px solid rgba(255, 199, 105, .2); }
#marlin .cs-note svg { width: 18px; height: 18px; flex: none; color: var(--mr-lamp); }
#marlin .cs-fee, .mr-sheet .cs-fee { margin: 14px 16px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mr-sheet .cs-fee { margin: 12px 0 0; }
#marlin .cs-fee span, .mr-sheet .cs-fee span { padding: 10px 12px; border-radius: 14px; font-size: 12px; font-weight: 600; line-height: 1.35; color: var(--mr-mute);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 246, 232, .1); }
#marlin .cs-fee b, .mr-sheet .cs-fee b { display: block; margin-bottom: 3px; font-size: 15px; color: var(--mr-ink); }
#marlin .cs-mine { margin: 14px 16px 0; border-radius: 22px; overflow: hidden; border: 1px solid rgba(141, 230, 214, .45); }
#marlin .cs-btns { margin: 12px 16px 0; display: grid; gap: 8px; }
#marlin .cs-btns .mr-go { margin-top: 0; }
#marlin .cs-leave { height: 44px; border-radius: 14px; font: 800 14px/1 var(--f-text); color: var(--mr-mute); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 246, 232, .14); }
#marlin .cs-go { margin: 14px 16px 0; width: calc(100% - 32px); }
#marlin .cs-sec { margin-top: 26px; }
#marlin .cs-pod { margin: 14px 16px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#marlin .cs-p { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--mr-line); background: #0D1937; }
#marlin .cs-p.first { grid-column: 1 / -1; }
#marlin .cs-p .t { padding: 9px 12px 11px; }
#marlin .cs-p .t b { display: block; font-size: 18px; line-height: 1.02; }
#marlin .cs-p.first .t b { font-size: 24px; }
#marlin .cs-p .t small { display: block; margin-top: 3px; font-size: 12px; font-weight: 700; color: var(--mr-mute); }
#marlin .cs-p .prize { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--mr-lamp-2); }
#marlin .cs-p .prize svg { width: 15px; height: 15px; }
#marlin .cs-p .place { position: absolute; z-index: 4; left: 10px; top: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font: italic 900 22px/1 var(--f-display); color: #3a2300; background: linear-gradient(180deg, #FFE6A0, #D9A04A); }
#marlin .cs-p.first .place { width: 46px; height: 46px; font-size: 30px; }
#marlin .cs-p .place.s2 { background: linear-gradient(180deg, #F3F6F9, #A9B4BF); }
#marlin .cs-p .place.s3 { background: linear-gradient(180deg, #F2C9A0, #A8673A); }
#marlin .cs-tbl { margin: 0 16px; padding: 0; list-style: none; }
#marlin .cs-tbl li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 2px; border-bottom: 1px solid rgba(255, 246, 232, .08);
  font-size: 14px; font-weight: 700; }
#marlin .cs-tbl li .n { font-size: 18px; color: var(--mr-dim); text-align: center; }
#marlin .cs-tbl li small { display: block; font-size: 12px; font-weight: 600; color: var(--mr-mute); }
#marlin .cs-tbl li .s { font-size: 13px; color: var(--mr-mute); }
#marlin .cs-tbl li.me { color: var(--mr-sea); }
#marlin .cs-how { margin-bottom: 28px; }
#marlin .cs-card { margin: 14px 16px 0; width: calc(100% - 32px); display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 10px 14px 10px 10px; border-radius: 18px; text-align: left; color: var(--mr-ink); border: 1px solid rgba(255, 199, 105, .45);
  background: linear-gradient(100deg, rgba(60, 42, 10, .7), rgba(14, 26, 62, .9)); }
#marlin .cs-card .cs-th { height: 44px; display: grid; place-items: center; }
#marlin .cs-card .cs-th img { max-width: 100%; max-height: 40px; }
#marlin .cs-card .tx b { display: block; font-size: 20px; line-height: 1; }
#marlin .cs-card .tx small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 600; color: var(--mr-mute); }
#marlin .cs-card > svg { width: 18px; height: 18px; color: var(--mr-dim); }
/* шторка заявки */
.mr-sheet .cs-lbl { margin-top: 14px; font-size: 13px; font-weight: 800; color: var(--mr-mute); }
.mr-sheet .cs-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 8px; }
.mr-sheet .cs-pick button { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 6px; border-radius: 14px;
  font: 800 12px/1.2 var(--f-text); color: var(--mr-ink); text-align: center; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 246, 232, .12); }
.mr-sheet .cs-pick button img { width: 100%; height: 34px; object-fit: contain; }
.mr-sheet .cs-pick button small { font-size: 11px; color: var(--mr-lamp-2); }
.mr-sheet .cs-pick button.on { border: 1.5px solid var(--mr-lamp); background: rgba(255, 199, 105, .1); }
.mr-sheet .cs-seg { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; padding: 4px; border-radius: 16px; background: rgba(255, 246, 232, .05); border: 1px solid rgba(255, 246, 232, .1); }
.mr-sheet .cs-seg button { flex: 1 1 auto; min-height: 36px; padding: 0 10px; border-radius: 12px; font: 800 13px/1.15 var(--f-text); color: var(--mr-mute); background: none; border: 0; }
.mr-sheet .cs-seg button.on { color: #3a2300; background: linear-gradient(100deg, #FFE6A0, #E8B55C); }
.mr-sheet .cs-prev { margin-top: 10px; border-radius: 18px; border: 1px solid rgba(255, 246, 232, .14); }
/* кубки выставки машин в профиле члена клуба */
#marlin .cs-cups { margin: 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#marlin .cs-cups > span { display: flex; gap: 10px; align-items: center; padding: 11px 12px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 246, 232, .12); }
#marlin .cs-cups > span > svg { width: 22px; height: 22px; flex: none; color: var(--mr-lamp); }
#marlin .cs-cups > span.p2 > svg { color: #D9E1E8; }
#marlin .cs-cups > span.p3 > svg { color: #E2A877; }
#marlin .cs-cups b { display: block; font-size: 17px; line-height: 1; }
#marlin .cs-cups small { display: block; margin-top: 3px; font-size: 12px; font-weight: 600; line-height: 1.25; color: var(--mr-mute); }

/* ── магазин клуба за рубли (07.11, js/marlin/shop.js; макет update/mockups/club/a_gs_1, club_garage.css pl-, gs-) ── */
#marlin, .sheet.mr-sheet { --pl-1: #F3F6F9; --pl-2: #CBD4DD; --pl-ink: #16233F; }
#marlin .pl-card { position: relative; width: min(318px, calc(100% - 52px)); aspect-ratio: 1.586; margin: 0 auto; border-radius: 18px; overflow: hidden;
  color: var(--pl-ink); transform: rotate(-3deg);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 1px, rgba(40, 52, 66, .08) 1px 2px, rgba(255, 255, 255, 0) 2px 4px),
              radial-gradient(80% 60% at 18% 0%, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0) 60%),
              linear-gradient(155deg, #EEF2F5 0%, #C3CDD6 38%, #8C98A4 72%, #B4BFC9 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), inset 0 0 0 3px rgba(86, 97, 110, .35), 0 30px 60px rgba(0, 0, 0, .7); }
#marlin .pl-card::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 42%; pointer-events: none;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); transform: skewX(-16deg);
  animation: plSheen 1.8s cubic-bezier(.3, .6, .2, 1) .4s both; }
@keyframes plSheen { from { transform: translateX(0) skewX(-16deg); } to { transform: translateX(420%) skewX(-16deg); } }
html.lite #marlin .pl-card::after { animation: none; display: none; }
#marlin .pl-card .club { position: absolute; left: 16px; top: 14px; font-size: 20px; line-height: 1; color: #2C3A52; }
#marlin .pl-card .kind { position: absolute; left: 16px; top: 37px; font-size: 12px; font-weight: 800; color: #4A5668; }
#marlin .pl-card > svg { position: absolute; right: 14px; top: 14px; width: 42%; height: auto; color: #5E6B7B; fill: currentColor; }
#marlin .pl-card .chip { position: absolute; left: 16px; top: 60px; width: 38px; height: 28px; border-radius: 6px;
  background: linear-gradient(135deg, #E9D7A6, #B89548); box-shadow: inset 0 0 0 1px rgba(80, 60, 20, .35); }
#marlin .pl-card .num { position: absolute; left: 14px; bottom: 10px; display: flex; align-items: baseline; gap: 4px; color: #253349; }
#marlin .pl-card .num small { font-size: 24px; }
#marlin .pl-card .num b { font-size: 74px; line-height: .78; }
#marlin .pl-card .who { position: absolute; right: 16px; bottom: 14px; text-align: right; display: flex; flex-direction: column; gap: 1px; }
#marlin .pl-card .who b { font-size: 17px; font-weight: 800; }
#marlin .pl-card .who small { font-size: 12px; font-weight: 700; color: #4A5668; }
#marlin .pl-hero { position: relative; margin: 18px 16px 0; padding: 26px 16px 16px; border-radius: 26px; overflow: hidden; isolation: isolate;
  background: radial-gradient(70% 46% at 50% 18%, rgba(203, 212, 221, .2), rgba(203, 212, 221, 0) 70%), linear-gradient(180deg, #16244A 0%, #0B1532 100%);
  border: 1px solid rgba(203, 212, 221, .38); box-shadow: 0 18px 44px rgba(0, 0, 0, .45); }
#marlin .pl-hero h2 { margin-top: 24px; font-size: 38px; line-height: .9; color: var(--pl-1); }
#marlin .pl-hero .d { margin-top: 6px; font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--mr-mute); }
#marlin .pl-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
#marlin .pl-trio span { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 4px 9px; border-radius: 14px; text-align: center;
  background: rgba(203, 212, 221, .07); border: 1px solid rgba(203, 212, 221, .18); font-size: 12.5px; font-weight: 800; line-height: 1.15; }
#marlin .pl-trio svg { width: 22px; height: 22px; color: var(--pl-2); }
#marlin .pl-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 16px; }
#marlin .pl-price b { font-size: 42px; line-height: .9; color: var(--pl-1); }
#marlin .pl-price s { font-size: 15px; font-weight: 700; color: var(--mr-dim); }
#marlin .pl-price .by { font-size: 13px; font-weight: 700; color: var(--mr-dim); }
#marlin .pl-go { width: 100%; margin-top: 14px; height: 56px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 22px;
  color: var(--pl-ink); background: linear-gradient(100deg, #FFFFFF, #CBD4DD 55%, #EEF2F5); box-shadow: 0 10px 26px rgba(203, 212, 221, .25); border: 0; }
#marlin .pl-note { margin-top: 10px; display: flex; gap: 8px; align-items: center; font-size: 12.5px; font-weight: 600; line-height: 1.35; color: var(--mr-mute); }
.pl-mark { display: inline-grid; place-items: center; flex: none; width: 24px; height: 15px; margin: 0 2px; vertical-align: -2px; border-radius: 5px;
  background: linear-gradient(155deg, #F6F8FA, #A9B4BF 60%, #DCE2E8); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 1px 4px rgba(0, 0, 0, .4); }
.pl-mark svg { width: 19px; height: 8px; color: #3D4A5C; fill: currentColor; }
#marlin .gs-list { margin: 0 16px; display: flex; flex-direction: column; gap: 8px; }
#marlin .gs-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; text-align: left;
  color: var(--mr-ink); background: linear-gradient(180deg, rgba(30, 47, 98, .9), rgba(14, 26, 62, .9)); border: 1px solid var(--mr-line); }
#marlin .gs-row .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 199, 105, .1); color: var(--mr-lamp); }
#marlin .gs-row .ic svg { width: 23px; height: 23px; }
#marlin .gs-row b { display: block; font-size: 21px; line-height: 1; }
#marlin .gs-row small { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; line-height: 1.32; color: var(--mr-mute); }
#marlin .gs-row .pr { min-width: 76px; height: 40px; padding: 0 12px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; color: #3a2300;
  background: linear-gradient(100deg, #FFE6A0, #E8B55C); white-space: nowrap; }
#marlin .gs-row .pr.own { color: var(--mr-sea); background: rgba(141, 230, 214, .1); border: 1px solid rgba(141, 230, 214, .4); font: 800 13px/1.1 var(--f-text); }
/* скидка магазина клуба (владелец 15.11: «скидка 20 %, без срока»): плашка вверху, «−20 %» у карты, старая цена зачёркнута */
#marlin .gs-strip { margin: 4px 16px 12px; padding: 10px 14px; display: flex; align-items: center; gap: 12px; border-radius: 18px;
  background: linear-gradient(100deg, rgba(255, 122, 110, .22), rgba(255, 199, 105, .14)); border: 1px solid rgba(255, 156, 138, .5); }
#marlin .gs-strip .pct { flex: none; padding: 6px 10px 7px; border-radius: 12px; font-size: 22px; line-height: 1; color: #fff;
  background: linear-gradient(100deg, #FF7A6E, #E8505A); box-shadow: 0 6px 16px rgba(232, 80, 90, .35); }
#marlin .gs-strip .tx { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
#marlin .gs-strip b { font-size: 19px; line-height: 1.05; color: var(--mr-ink); }
#marlin .gs-strip small { font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--mr-mute); }
#marlin .gs-sale { align-self: center; padding: 3px 8px 4px; border-radius: 9px; font-size: 15px; line-height: 1; color: #fff;
  background: linear-gradient(100deg, #FF7A6E, #E8505A); }
#marlin .gs-row .pr.sale { height: auto; min-height: 40px; padding: 4px 12px 5px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
#marlin .gs-row .pr .old, #marlin .gz-pr .old { display: block; font: 700 11.5px/1 var(--f-text); color: rgba(58, 35, 0, .62); text-decoration: line-through; }
#marlin .gz-pr .old { color: var(--mr-dim); margin-bottom: 2px; }
#marlin .sp-sw small .old, #marlin .ck small .old { display: block; font: 700 10.5px/1.1 var(--f-text); color: var(--mr-dim); text-decoration: line-through; }

/* ── вид клубной карты (магазин клуба, 07.11; макет a_gs_5): мини-карта в шапке клуба и большая карта в карточке игрока;
   lk-plat — пока идёт «Платиновая карта», остальные — куплены навсегда ── */
#marlin .mr-mcard.lk-plat, .pcm-big .cc.lk-plat, .ck-c.lk-plat {
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 1px, rgba(40, 52, 66, .08) 1px 2px, rgba(255, 255, 255, 0) 2px 4px),
              radial-gradient(80% 60% at 18% 0%, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0) 60%),
              linear-gradient(155deg, #EEF2F5 0%, #C3CDD6 38%, #8C98A4 72%, #B4BFC9 100%);
  border-color: rgba(255, 255, 255, .85); color: #16233F; }
#marlin .mr-mcard.lk-black, .pcm-big .cc.lk-black, .ck-c.lk-black {
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 1px, rgba(0, 0, 0, .3) 1px 2px, rgba(255, 255, 255, 0) 2px 4px),
              radial-gradient(80% 60% at 18% 0%, rgba(255, 214, 140, .14), rgba(255, 214, 140, 0) 60%), linear-gradient(155deg, #2A2A2E 0%, #121214 55%, #050506 100%);
  border-color: rgba(232, 181, 92, .9); }
#marlin .mr-mcard.lk-wood, .pcm-big .cc.lk-wood, .ck-c.lk-wood {
  background: repeating-linear-gradient(100deg, rgba(255, 220, 180, .06) 0 2px, rgba(60, 20, 8, .18) 2px 5px, rgba(255, 220, 180, 0) 5px 9px),
              radial-gradient(80% 60% at 18% 0%, rgba(255, 210, 160, .22), rgba(255, 210, 160, 0) 60%), linear-gradient(155deg, #8A3B22 0%, #5A2012 55%, #2E0E07 100%);
  border-color: rgba(255, 205, 120, .8); }
#marlin .mr-mcard.lk-pearl, .pcm-big .cc.lk-pearl, .ck-c.lk-pearl {
  background: radial-gradient(70% 60% at 20% 10%, rgba(255, 255, 255, .9), rgba(255, 255, 255, 0) 60%),
              linear-gradient(135deg, #F7F1EC 0%, #E6DDF2 30%, #D7ECF1 60%, #F3E3E8 100%);
  border-color: rgba(255, 255, 255, .9); color: #2E3448; }
#marlin .mr-mcard.lk-plat b, #marlin .mr-mcard.lk-pearl b { color: #253349; }
#marlin .mr-mcard.lk-plat .mr-mar, #marlin .mr-mcard.lk-pearl .mr-mar { color: rgba(60, 74, 94, .55); }
.pcm-big .cc.lk-plat .club, .pcm-big .cc.lk-pearl .club { color: #2C3A52; }
.pcm-big .cc.lk-plat .num, .pcm-big .cc.lk-pearl .num { color: #253349; text-shadow: none; }
.pcm-big .cc.lk-plat .mar, .pcm-big .cc.lk-pearl .mar { color: #5E6B7B; filter: none; }
.pcm-big .cc.lk-plat .who, .pcm-big .cc.lk-pearl .who { color: #253349; }
/* страницы «Окраска яхты» и «Вид клубной карты» (макеты a_gs_4, a_gs_5) */
#marlin .sp-yacht { height: 210px; }
#marlin .sp-yacht img { width: 88%; }
#marlin .sp-sw { margin: 14px 16px 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
#marlin .sp-sw button { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px 8px; border-radius: 16px; text-align: center;
  font: 800 12px/1.15 var(--f-text); color: var(--mr-ink); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 246, 232, .12); }
#marlin .sp-sw i { width: 34px; height: 34px; border-radius: 50%; background: var(--c); box-shadow: inset 0 -5px 0 rgba(0, 0, 0, .25), 0 0 0 2px rgba(255, 246, 232, .5); }
#marlin .sp-sw small { font-size: 11px; font-weight: 700; color: var(--mr-mute); }
#marlin .sp-sw .have small { color: var(--mr-sea); }
#marlin .sp-sw .on { border: 1.5px solid var(--mr-lamp); background: rgba(255, 199, 105, .1); }
#marlin .sp-sw .on small { color: var(--mr-lamp-2); }
.ck-c { position: relative; display: block; aspect-ratio: 1.586; border-radius: 9px; overflow: hidden; color: #FFF6E8; border: 1px solid rgba(255, 205, 120, .7);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, rgba(0, 0, 0, .16) 1px 2px, rgba(255, 255, 255, 0) 2px 3px), linear-gradient(155deg, #23407F 0%, #102352 55%, #060E26 100%);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .5); }
.ck-c .club { position: absolute; left: 8px; top: 7px; font-size: 11px; line-height: 1; color: var(--mr-lamp-2); }
.ck-c.lk-plat .club, .ck-c.lk-pearl .club { color: #2C3A52; }
.ck-c > svg { position: absolute; right: 7px; top: 7px; width: 46%; height: auto; color: rgba(255, 199, 105, .6); }
.ck-c.lk-plat > svg, .ck-c.lk-pearl > svg { color: #5E6B7B; }
.ck-c > b { position: absolute; left: 7px; bottom: 5px; font-size: 21px; line-height: 1; color: var(--mr-lamp-2); }
.ck-c.lk-plat > b, .ck-c.lk-pearl > b { color: #253349; }
.ck-c > b small { font-size: 12px; margin-right: 2px; }
#marlin .ck-big { width: min(300px, calc(100% - 60px)); margin: 18px auto 0; transform: rotate(-3deg); }
#marlin .ck-big .ck-c { border-radius: 16px; }
#marlin .ck-big .ck-c .club { left: 16px; top: 14px; font-size: 20px; }
#marlin .ck-big .ck-c > b { left: 14px; bottom: 10px; font-size: 64px; line-height: .8; }
#marlin .ck-big .ck-c > b small { font-size: 24px; }
#marlin .ck-row { margin: 14px 16px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
#marlin .ck { min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 0; text-align: left; color: var(--mr-ink); background: none; border: 0; }
#marlin .ck.on .ck-c { box-shadow: 0 0 0 2px var(--mr-lamp), 0 8px 18px rgba(0, 0, 0, .5); }
#marlin .ck b.n { font-size: 15px; line-height: 1.05; }
#marlin .ck small { font-size: 11.5px; font-weight: 700; color: var(--mr-mute); }

/* ── вёрстка на краях (проверка 07.11): узкие экраны, длинные имена ── */
/* 2. дверь клуба в «Гавани»: длинное имя победителя выставки без пробелов не распирает дверь */
.mr-door .row b, .mr-door .row small { overflow-wrap: anywhere; }
/* 3. платиновая карта: длинное имя сокращается и не лезет на «№» */
#marlin .pl-card .who { max-width: 40%; align-items: flex-end; }      /* «№ 25» слева — до середины карты */
#marlin .pl-card .who b, #marlin .pl-card .who small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 4. гараж в профиле: табличка номера — на картинке, а не рядом */
#marlin .gz-lot .gz-pic { position: relative; display: flex; justify-content: center; }
#marlin .gz-lot .gz-plate { position: absolute; right: 0; top: -6px; transform: scale(.82); transform-origin: top right; }
/* 5. шапка профиля члена клуба: стиль .pf-hero основной игры (tabs.css) сюда не идёт */
#marlin .pf-hero { margin: 0; border: 0; border-radius: 0; cursor: default; }
/* 6. голосование на 320: подпись не закрывает машину */
.cs-cap small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 359px) { .cs-cap b { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }
/* 7. «Купить» в шторке гаража, когда купить нельзя, — видно, что нельзя */
.sheet.mr-sheet .mr-go.off { color: rgba(255, 226, 160, .7); background: rgba(255, 199, 105, .07); border: 1.5px dashed rgba(255, 199, 105, .42); box-shadow: none; }
.sheet.mr-sheet .mr-go.off small { color: var(--mr-mute); }
/* 8. «У кого номера»: длинное имя переносится, табличка — целиком */
#marlin .gz-owners > span { max-width: 100%; min-width: 0; overflow-wrap: anywhere; }
#marlin .gz-owners .gz-plate, #marlin .gz-owners .pl-mark { flex: none; }
/* 9. пьедестал выставки: длинные имена переносятся внутри плитки */
#marlin .cs-p .t b, #marlin .cs-p .t small { overflow-wrap: anywhere; }
/* 10. Forbes: имя сокращается, платиновый марлин остаётся */
#marlin .nm-mk { display: flex; min-width: 0; max-width: 100%; }
#marlin .tz-pod .nm-mk { justify-content: center; }
#marlin .nm-mk .nm-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#marlin .nm-mk .nm-m { flex: none; white-space: pre; }
/* 12. «Снять с выставки» — по центру кнопки */
#marlin .cs-leave { display: grid; place-items: center; padding: 0 14px; text-align: center; }
/* 15. вкладки гаража на 320 — с полями */
@media (max-width: 359px) { #marlin .gz-seg span { padding-left: 6px; padding-right: 6px; } }

/* магазин клуба: помощнику у этого игрока пока нечего делать (игра «свежими глазами» 07.11) */
#marlin .gs-row small.gs-idle { margin-top: 3px; color: var(--mr-red, #FF9C8A); }

/* пруд с икрой: родитель — по центру круга, а не в углу (07.11: «рыбка уехала за кружок») */
#marlin .bz-pond .w img.egg-fish { left: 34px; top: 34px; }

/* цена варианта в событии бизнеса: сумма и под ней «монет» (07.11) */
#marlin .bz-opt .v small { display: block; font: 700 11px/1.1 var(--f-text); font-style: normal; color: var(--mr-mute); text-align: right; }

/* обратный отсчёт до открытия клуба на экране входа (владелец 07.11) */
#marlin .ae-cd { margin: 18px 16px 0; padding: 16px 18px; border-radius: 22px; text-align: center;
  background: linear-gradient(160deg, rgba(255, 199, 105, .16), rgba(255, 199, 105, .04)); border: 1px solid rgba(255, 199, 105, .45); }
#marlin .ae-cd .lb { display: block; font-size: 13px; font-weight: 700; color: rgba(255, 246, 232, .72); }
#marlin .ae-cd .v b { display: block; margin-top: 4px; font-size: 38px; line-height: 1.05; color: #FFE3A3; font-variant-numeric: tabular-nums; }
#marlin .ae-cd .when { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; line-height: 1.35; color: rgba(255, 246, 232, .78); }

/* ── отзывы 18.11: книга рецептов, звёзды, ледник коптильни, трюм с отметками ── */
/* клетка с подсказкой повара (класс «hint» был занят подсказкой рыбалки в app.css — клетка сжималась в полоску) */
#marlin .bz-cell.clue { border-color: rgba(255, 199, 105, .5); border-style: dashed; }
#marlin .bz-cell.clue .pic img { filter: brightness(0) opacity(.28); }
#marlin .bz-cell .cl { display: block; margin-top: 5px; padding-top: 5px; border-top: 1px dashed rgba(255, 199, 105, .3); font-style: normal; font-size: 10.5px;
  font-weight: 700; line-height: 1.25; color: var(--mr-lamp-2); overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
/* звёзды под названием — кнопка «что дают звёзды» */
#marlin button.bz-rep { padding: 0; border: 0; background: none; text-align: left; color: var(--mr-mute); font: inherit; font-size: 13.5px; font-weight: 700; }
#marlin button.bz-rep > span:not(.bz-stars) { min-width: 0; }
#marlin button.bz-rep > svg { width: 16px; height: 16px; flex: none; opacity: .75; }
/* ледник */
#marlin .bz-ice { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px 12px; align-items: center; }
#marlin .bz-ice + .bz-ice { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 246, 232, .08); }
#marlin .bz-ice .pic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #0A1430; }
#marlin .bz-ice .pic img { width: 92%; }
#marlin .bz-ice .t b { display: block; font-size: 16px; line-height: 1.15; }
#marlin .bz-ice .t small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--mr-mute); }
#marlin .bz-ice .btns { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
#marlin .bz-ice + .bz-row, #marlin .bz-card > .bz-p + .bz-row { margin-top: 12px; }
/* шторки «Звёзды коптильни» и «Управляющий» */
.sheet.mr-sheet .bz-starlist { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 6px; }
.sheet.mr-sheet .bz-starlist li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 14px;
  background: rgba(255, 246, 232, .04); border: 1px solid rgba(255, 246, 232, .08); }
.sheet.mr-sheet .bz-starlist li.on { border-color: rgba(255, 199, 105, .55); background: rgba(255, 199, 105, .08); }
.sheet.mr-sheet .bz-starlist .bz-stars { margin-top: 0; }
.sheet.mr-sheet .bz-starlist .bz-stars svg { width: 13px; height: 13px; }
.sheet.mr-sheet .bz-starlist b { display: block; font-size: 15px; font-weight: 800; color: var(--mr-ink); }
.sheet.mr-sheet .bz-starlist small { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--mr-mute); }
.sheet.mr-sheet .bz-starlist .me { font-size: 11.5px; font-weight: 800; color: #3a2300; padding: 3px 8px; border-radius: 999px; background: var(--mr-lamp); }
.sheet.mr-sheet .bz-facts { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 12px; }
.sheet.mr-sheet .bz-facts li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; font-weight: 600; line-height: 1.42; color: var(--mr-ink); }
.sheet.mr-sheet .bz-facts svg { width: 20px; height: 20px; color: var(--mr-lamp); margin-top: 1px; }
/* «Что в трюме»: виды раскрываются, рыбы отмечаются по одной (views.js holdSheetHtml) */
#sheet .mr-hl.pick > li { display: block; padding: 0; overflow: hidden; }
#sheet .mr-hl .hl-h { display: flex; align-items: stretch; }
#sheet .mr-hl .hl-ck { flex: none; width: 46px; display: grid; place-items: center; border: 0; background: none; color: transparent; padding: 0; }
#sheet .mr-hl .hl-ck svg, #sheet .mr-hl .hl-f .ck svg { width: 15px; height: 15px; stroke-width: 3; }
#sheet .mr-hl .hl-ck svg { box-sizing: content-box; padding: 4px; border-radius: 8px; border: 1.5px solid rgba(255, 246, 232, .35); }
#sheet .mr-hl .hl-g.some .hl-ck svg { border-color: var(--mr-lamp); color: var(--mr-lamp); background: rgba(255, 199, 105, .12); }
#sheet .mr-hl .hl-g.all .hl-ck svg { border-color: var(--mr-lamp); color: #3a2300; background: var(--mr-lamp); }
#sheet .mr-hl .hl-row { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 0; border: 0; background: none; color: inherit;
  text-align: left; font: inherit; }
#sheet .mr-hl:not(.pick) .hl-row { padding-left: 8px; }
#sheet .mr-hl .hl-row:disabled { opacity: 1; }
#sheet .mr-hl .hl-row .chev { flex: none; display: grid; place-items: center; color: rgba(246, 243, 236, .5); transition: transform .2s; }
#sheet .mr-hl .hl-row .chev svg { width: 16px; height: 16px; }
#sheet .mr-hl .hl-g.open .hl-row .chev { transform: rotate(90deg); }
#sheet .mr-hl .hl-g.some, #sheet .mr-hl .hl-g.all { border-color: rgba(255, 199, 105, .45); }
#sheet .mr-hl .hl-fish { list-style: none; margin: 0; padding: 0 10px 10px 46px; display: grid; gap: 4px; }
#sheet .mr-hl .hl-f { width: 100%; display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 12px; border: 1px solid rgba(255, 246, 232, .08);
  background: rgba(255, 246, 232, .03); color: #F6F3EC; text-align: left; font: inherit; }
#sheet .mr-hl .hl-f .ck { flex: none; display: grid; place-items: center; color: transparent; }
#sheet .mr-hl .hl-f .ck svg { box-sizing: content-box; padding: 3px; border-radius: 7px; border: 1.5px solid rgba(255, 246, 232, .35); }
#sheet .mr-hl .hl-f.on { border-color: rgba(255, 199, 105, .55); background: rgba(255, 199, 105, .1); }
#sheet .mr-hl .hl-f.on .ck svg { border-color: var(--mr-lamp); background: var(--mr-lamp); color: #3a2300; }
#sheet .mr-hl .hl-f .w { font-size: 17px; line-height: 1; }
#sheet .mr-hl .hl-f .tg { font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 999px; color: var(--mr-sea); background: rgba(141, 230, 214, .1); }
#sheet .mr-hl .hl-f .fv { margin-left: auto; font-size: 14px; font-weight: 800; color: #FFE3A3; white-space: nowrap; }
#sheet .mr-hl .hl-f .fv small { font-size: 11px; font-weight: 700; color: rgba(246, 243, 236, .6); }
.mr-hsheet .hl-foot { display: grid; gap: 8px; }
.mr-hsheet .hl-foot .mr-go { margin-top: 0; }
.sheet.mr-sheet .mr-go.ghost { color: var(--mr-lamp-2); background: rgba(255, 199, 105, .08); border: 1.5px solid rgba(255, 199, 105, .45); box-shadow: none; }
.sheet.mr-sheet .mr-go.ghost small { color: var(--mr-mute); }
.sheet.mr-sheet .mr-go.ghost svg { width: 18px; height: 18px; }
.mr-hsheet .hl-clear { justify-self: center; padding: 6px 12px; border: 0; background: none; font-size: 14px; font-weight: 700; color: var(--mr-mute); text-decoration: underline;
  text-underline-offset: 3px; }
.sheet.mr-sheet .mr-go > svg { width: 20px; height: 20px; flex: none; stroke-width: 2.4; }
#sheet .mr-hl .hl-fish > li { display: block; padding: 0; gap: 0; border: 0; border-radius: 0; background: none; }
