/* Профиль, вкус, люди и настройки (me.js). Всё с префиксом mx-, поверх дизайн-системы site.css */

/* ---------- шапка профиля ---------- */
.mx-hero { display: flex; align-items: center; gap: var(--s5); flex-wrap: wrap; margin-bottom: var(--s6); }
.mx-id { flex: 1; min-width: 220px; }
.mx-id .h1 { overflow-wrap: anywhere; }
.mx-handle { margin-top: 6px; color: var(--ink-2); font-weight: 600; }
.mx-id .meta { margin-top: 4px; }
.mx-hero-act { display: flex; gap: var(--s2); align-items: center; flex-wrap: wrap; }
.mx-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: var(--s3); margin-bottom: var(--s7); }
.mx-stat { display: block; text-align: left; padding: var(--s4) var(--s4) var(--s3); border-radius: var(--r2); background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow var(--d2), transform var(--d2) var(--ease); }
a.mx-stat:hover, button.mx-stat:hover { box-shadow: inset 0 0 0 1px var(--line-2); transform: translateY(-1px); }
.mx-stat b { display: block; font: 800 var(--t-2)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.mx-stat span { display: block; margin-top: 6px; color: var(--muted); font-size: var(--t-s); font-weight: 600; line-height: 1.3; }
.mx-cols { align-items: start; }
.mx-side > * + * { margin-top: var(--s5); }
.mx-side-h { font: 500 var(--t-l)/1.2 var(--f-display); letter-spacing: .01em; margin: var(--s6) 0 var(--s3); display: flex; gap: 8px; align-items: baseline; }
.mx-side-h:first-child { margin-top: 0; }
.mx-side-h span { font: 600 var(--t-s) var(--f-text); color: var(--muted); }
.mx-n { font: 600 12px var(--f-text); color: var(--faint); margin-left: 2px; }
.tabs .on .mx-n { color: var(--muted); }
.mx-new { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; background: var(--sticker); color: #f7ecdb; font: 700 11px/1.5 var(--f-text); vertical-align: middle; }
.mx-invite b { display: block; font: 500 var(--t-l) var(--f-display); }
.mx-invite .sub { margin: 6px 0 14px; }
.mx-note { color: var(--muted); font-size: var(--t-s); line-height: 1.55; margin: 0 0 var(--s4); max-width: 64ch; }
.mx-soon { color: var(--gold); font-weight: 700; }
.mx-avail { color: var(--green); font-weight: 700; }
.mx-heart { color: var(--heart); display: inline-flex; vertical-align: -2px; }

/* строка с кнопками справа поверх строки-ссылки */
.mx-a { position: relative; }
.mx-a > .row, .mx-a > .prow { padding-right: calc(var(--aw, 44px) + 18px); }
.mx-tastepg .mx-cols .mx-a > .row { padding-right: calc(var(--aw, 44px) + 14px); }   /* 5.11: компактные строки в две колонки съедали место под кнопку, крестик ложился на IMDb */
.mx-a-b { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: flex; gap: 6px; z-index: 2; }
.mx-ib { width: 36px; height: 36px; border-radius: 10px; }
.mx-ib.on { color: var(--gold); }
.mx-ib:hover { color: var(--sticker-2); }
.mx-prow-r { margin-left: auto; }
.mx-gone { opacity: 0; transform: translateX(16px); transition: opacity var(--d2), transform var(--d2) var(--ease); pointer-events: none; }

/* ---------- лестница вкуса ---------- */
.mx-ladder { padding: var(--s5); }
.mx-ladder-h { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.mx-ladder-h b { font: 500 var(--t-l) var(--f-display); }
.mx-ladder-h span { color: var(--muted); font-size: var(--t-s); font-weight: 600; }
.mx-ladder-lead { color: var(--muted); font-size: var(--t-s); margin: 4px 0 var(--s3); line-height: 1.45; }
.mx-ladder-note { color: var(--faint); font-size: var(--t-xs); margin-top: var(--s3); line-height: 1.45; }
.mx-step { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.mx-step > i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  font: 600 12px var(--f-display); font-style: normal; background: var(--surface-3); color: var(--muted); }
.mx-step .x { flex: 1; min-width: 0; }
.mx-step b { display: block; font-weight: 700; font-size: var(--t-m); line-height: 1.3; }
.mx-step small { display: block; color: var(--muted); font-size: var(--t-xs); line-height: 1.45; margin-top: 2px; }
.mx-step .go { color: var(--faint); align-self: center; transition: transform var(--d2) var(--ease); }
.mx-step.done > i { background: rgba(127, 174, 134, .16); color: var(--green); }
.mx-step.done:hover .go { transform: translateX(3px); color: var(--ink-2); }
.mx-step.cur > i { background: var(--gold); color: var(--label-ink); }
.mx-step.cur .bar { margin: 10px 0 12px; }
.mx-step.off { opacity: .5; }
.mx-steps { display: flex; flex-wrap: wrap; gap: 8px; margin: calc(-1 * var(--s5)) 0 var(--s6); }

/* замок до ступени */
.mx-lock { padding: var(--s5); }
.mx-lock-h { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.mx-lock-h b { color: var(--ink); font: 500 var(--t-l) var(--f-display); }
.mx-lock p { color: var(--muted); font-size: var(--t-s); margin: 8px 0 12px; line-height: 1.5; }
.mx-cmp .sub { margin: 8px 0 14px; }
.mx-cmp b { font: 500 var(--t-l) var(--f-display); }
.mx-cmp-big { font: 800 var(--t-4)/1 var(--f-display); margin-bottom: 4px; }
a.mx-cmp { display: block; }

/* ---------- дневник ---------- */
.mx-ctl { display: grid; gap: var(--s3); margin-bottom: var(--s4); }
.mx-ctl-row { display: flex; align-items: center; gap: var(--s3); flex-wrap: wrap; }
.mx-sel { width: auto; height: 38px; padding: 0 12px; font-size: var(--t-s); }
.mx-count { margin-bottom: var(--s3); }
.mx-group + .mx-group { margin-top: var(--s5); }
.mx-group-h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.mx-group-h b { font: 500 var(--t-l) var(--f-display); }
.mx-group-h span { color: var(--faint); font-size: var(--t-s); font-weight: 700; }
.mx-rev { margin: -2px 0 6px 72px; padding: 10px 14px; border-left: 2px solid var(--line-2); }
.mx-rev p { color: var(--ink-2); font-size: var(--t-s); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mx-rev .tlink { display: inline-block; margin-top: 6px; }
.mx-more { margin-top: var(--s5); }
.mx-wide-read { max-width: 820px; }

/* «Смотрю сейчас»: сезоны */
.mx-seas { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px 72px; }
.mx-seas:empty { display: none; }
.mx-sea { display: flex; flex-direction: column; align-items: center; gap: 3px; width: 34px; }
.mx-sea .t { display: block; width: 100%; height: 5px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.mx-sea .t i { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 99px; transition: width var(--d4) var(--ease); }
.mx-sea.full .t i { background: var(--green); }
.mx-sea small { font: 600 11px var(--f-text); color: var(--faint); }
.mx-sea:hover small { color: var(--ink); }

/* ---------- сравнение ---------- */
.mx-cmp-head { display: flex; align-items: center; gap: var(--s5); flex-wrap: wrap; margin-bottom: var(--s6); }
.mx-cmp-head .avas .ava + .ava { margin-left: -14px; }
.mx-cmp-head .avas { display: flex; }
.mx-hero-card .in { display: flex; align-items: center; gap: var(--s5); flex-wrap: wrap; }
.mx-big { font: 800 var(--t-5)/1 var(--f-display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mx-big small { font-size: .45em; margin-left: 2px; opacity: .65; }
.mx-hero-card b { display: block; font: 500 var(--t-xl)/1.15 var(--f-display); }
.mx-hero-card p { color: var(--label-muted); font-weight: 600; margin-top: 6px; line-height: 1.5; max-width: 46ch; }
.mx-hero-card .in > div:last-child { flex: 1; min-width: 200px; }
.mx-scs { display: grid; gap: var(--s4); margin-top: var(--s5); }
.mx-sc-h { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-weight: 700; }
.mx-sc-h b { font: 600 var(--t-l) var(--f-display); }
.mx-sc small { display: block; color: var(--muted); font-size: var(--t-s); margin-top: 6px; }
.mx-kpis { margin-top: var(--s5); }
.kpi em { font-style: normal; color: var(--faint); }
button.kpi { text-align: left; width: 100%; transition: box-shadow var(--d2); } button.kpi:hover { box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line-2); }
.mx-hab { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.mx-hab .kpi b { font-size: 21px; }
.mx-cols .sec-h, .mx-wide-read .sec-h, .mx-cmp-head + * .sec-h { flex-wrap: wrap; row-gap: 10px; }
.row .w .prob { margin-left: 0; }
.mx-how { margin-top: var(--s5); color: var(--ink-2); font-size: var(--t-s); line-height: 1.6; }
.mx-how summary { cursor: pointer; font-weight: 700; color: var(--muted); }
.mx-how summary:hover { color: var(--ink); }
.mx-how p, .mx-how ul { margin-top: 10px; max-width: 68ch; }
.mx-how li { margin: 6px 0 0 18px; }
.mx-fb-sub { margin: calc(-1 * var(--s4)) 0 var(--s4); font-size: var(--t-s); }
.mx-hide { display: none; }
.mx-fb-more { margin-top: 12px; }
.mx-who { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.mx-who i { font: 700 10px var(--f-text); font-style: normal; color: var(--muted); max-width: 56px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-prob { height: 22px; padding: 0 8px; font-size: 12.5px; vertical-align: 1px; }
.mx-leg { display: flex; gap: var(--s4); margin-bottom: var(--s3); color: var(--muted); font-size: var(--t-s); font-weight: 600; }
.mx-leg span { display: inline-flex; align-items: center; gap: 6px; }
.mx-leg i { width: 12px; height: 12px; border-radius: 3px; }
.mx-leg i.a, .mx-g2 i.a { background: var(--gold); } .mx-leg i.b, .mx-g2 i.b { background: #6f80b8; }
.mx-g2 { display: grid; grid-template-columns: 130px 1fr; gap: 14px; align-items: center; padding: 7px 0; }
.mx-g2 .nm { font-size: var(--t-m); }
.mx-g2 .tr { display: grid; grid-template-columns: 1fr 44px; gap: 4px 10px; align-items: center; }
.mx-g2 .tr span { height: 7px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.mx-g2 .tr span i { display: block; height: 100%; width: 0; border-radius: 99px; transition: width var(--d4) var(--ease); }
.mx-g2 .tr em { font-style: normal; color: var(--muted); font-size: var(--t-xs); text-align: right; font-variant-numeric: tabular-nums; }
.mx-ppl { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: var(--s4) var(--s3); }
.mx-ppl .person .ph { width: 72px; height: 72px; }
button.person { width: 100%; }
.person.on .ph { box-shadow: 0 0 0 2px var(--gold); }
.person > span:last-child b { display: inline; margin: 0; font-size: inherit; }

/* ---------- графики ---------- */
.mx-vb { height: 190px; gap: 6px; }
.mx-vb .b { min-width: 0; }
.mx-vb .b i[data-c] { background: var(--c); }
.mx-vb .b.dim { opacity: .35; }
.mx-vb button.b { cursor: pointer; transition: opacity var(--d2); }
.mx-vb button.b:hover i { filter: brightness(1.12); }
.mx-vb .b em { font-size: 12px; white-space: nowrap; }
.mx-vb.dense .b em { font-size: 10px; } .mx-vb.dense .b small { font-size: 10px; }
.mx-vb .b small { white-space: nowrap; }
.mx-hbars { display: grid; }
.mx-hb { width: 100%; text-align: left; border-radius: 8px; transition: opacity var(--d2), background var(--d2); }
button.mx-hb:hover { background: rgba(247, 247, 238, .03); }
.mx-hb.dim { opacity: .4; }
.mx-hb.on .nm { color: var(--gold); font-weight: 700; }
.mx-hb .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-cap { margin-top: var(--s3); }
.mx-filters { display: grid; gap: var(--s3); margin: calc(-1 * var(--s5)) 0 var(--s5); }
.mx-active { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mx-time .in { padding-top: var(--s5); }
.mx-kick { display: block; font: 700 var(--t-xs) var(--f-text); text-transform: uppercase; letter-spacing: .08em; color: var(--sticker); margin-bottom: 8px; }
.mx-time .mx-big { font-size: var(--t-4); white-space: normal; }
.mx-time p { color: var(--label-muted); font-weight: 600; margin-top: 6px; }
.mx-time p.muted { font-weight: 500; }
.mx-rec { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: var(--s4); transition: box-shadow var(--d2); }
.mx-rec:hover { box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line-2); }
.mx-rec .lb { grid-column: 1 / -1; color: var(--muted); font-size: var(--t-xs); font-weight: 700; }
.mx-rec b { font: 500 17px/1.25 var(--f-display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-rec .val { color: var(--gold); font: 600 15px var(--f-display); white-space: nowrap; }
.mx-fix { padding: 0 0 12px; }
.mx-fix .row { background: none; box-shadow: none; }
.mx-fix .chips { padding: 0 14px 0 72px; }

/* календарь */
.mx-heat { overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.mx-heat .in { width: max-content; }
.mx-heat .mon, .mx-heat .grid { display: grid; grid-template-columns: repeat(var(--cols), 12px); gap: 3px; }
.mx-heat .mon { margin-bottom: 6px; font-size: 11px; color: var(--faint); }
.mx-heat .grid { grid-template-rows: repeat(7, 12px); grid-auto-flow: column; }
.mx-heat i, .mx-heat-leg i { display: block; width: 12px; height: 12px; border-radius: 3px; background: var(--surface-2); }
.mx-heat i.pad { background: none; }
.mx-heat i[data-day] { cursor: pointer; transition: transform var(--d1); }
.mx-heat i[data-day]:hover { transform: scale(1.25); }
.mx-heat i.sel { outline: 2px solid var(--ink); outline-offset: 1px; }
.lv1 { background: rgba(233, 180, 92, .3) !important; } .lv2 { background: rgba(233, 180, 92, .55) !important; }
.lv3 { background: rgba(233, 180, 92, .8) !important; } .lv4 { background: var(--gold) !important; }
.mx-heat-leg { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.mx-heat-leg .sc { display: inline-flex; align-items: center; gap: 3px; }
.mx-heat-leg .sc i { width: 10px; height: 10px; }
.mx-heat-day { margin-top: 10px; line-height: 1.6; min-height: 24px; }
.mx-heat-day b { color: var(--ink); }

/* ---------- люди ---------- */
.mx-shared { color: #cdbf9f; }
.mx-crank { display: grid; gap: 4px; }
.mx-cr { display: grid; grid-template-columns: 22px 28px minmax(80px, 160px) 1fr 48px; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; transition: background var(--d2); }
.mx-cr:hover { background: var(--surface); }
.mx-cr .n { font: 600 16px var(--f-display); color: var(--sticker); text-align: center; }
.mx-cr .nm { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-cr b { font: 600 16px var(--f-display); text-align: right; }
.mx-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--s3); margin-top: var(--s5); }
.mx-fact { display: flex; flex-direction: column; gap: 8px; padding: var(--s4); transition: box-shadow var(--d2), transform var(--d2) var(--ease); }
.mx-fact:hover { box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line-2); transform: translateY(-1px); }
.mx-fact .lb { font: 700 var(--t-xs) var(--f-text); color: var(--muted); }
.mx-fact .mid { display: flex; align-items: center; gap: 10px; }
.mx-fact .mid b { font: 500 18px/1.2 var(--f-display); flex: 1; min-width: 0; }
.mx-fact .mid em { font: 600 20px var(--f-display); font-style: normal; color: var(--gold); }
.mx-fact small { color: var(--muted); font-size: var(--t-s); line-height: 1.45; }
.mx-fact small b { color: var(--ink-2); }

/* ---------- настройки ---------- */
.mx-set { margin-top: var(--s7); }
.mx-set:first-of-type { margin-top: 0; }
.mx-set > .h3 { margin-bottom: var(--s3); }
.mx-photo { display: flex; align-items: center; gap: var(--s5); flex-wrap: wrap; margin: var(--s4) 0 var(--s5); }
.mx-photo b { display: block; font-weight: 700; }
.mx-photo label.btn { cursor: pointer; }
.mx-lbl { display: block; font-weight: 700; font-size: var(--t-s); color: var(--muted); margin: var(--s5) 0 8px; }
.mx-field-row { display: flex; gap: var(--s3); margin-bottom: 8px; }
.mx-field-row .field { flex: 1; min-width: 0; }
.mx-ints { margin-top: var(--s4); }
#s-handle-msg.red { color: var(--sticker-2); }

/* ---------- совпадение по ссылке ---------- */
.mx-match { margin: 0 auto; text-align: center; }
.mx-match .page-head { justify-content: center; text-align: center; }
.mx-match .page-head .sub { margin-left: auto; margin-right: auto; }
.mx-match .lead { margin: var(--s4) auto 0; max-width: 44ch; }
.mx-match .meta { margin: var(--s3) auto var(--s5); max-width: 50ch; }
.mx-mt-avas { display: flex; justify-content: center; margin-bottom: var(--s5); }
.mx-mt-avas .ava + .ava { margin-left: -18px; }
.mx-q { --c: var(--surface-3) !important; color: var(--muted); }
.mx-mt-top { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; margin-bottom: 10px; text-align: left; }
.mx-mt-top b { color: var(--muted); font-weight: 600; }
.mx-mt-card { margin-top: var(--s6); display: grid; justify-items: center; gap: 8px; }
.mx-mt-poster { width: 180px; aspect-ratio: 2 / 3; border-radius: var(--r2); object-fit: cover; background: var(--surface-3); box-shadow: var(--shadow-2); margin-bottom: var(--s3); }
.mx-mt-card .stars { margin-top: var(--s3); }
.mx-mt-card .stars button { transition: color var(--d2), transform var(--d1) var(--spring); }
.mx-mt-card .small { margin-top: var(--s3); }
.mx-mt-res { margin-bottom: var(--s5); }
.mx-mt-pct { font: 800 var(--t-6)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.mx-mt-res-row { text-align: left; margin-top: var(--s4); }
.mx-mt-res-row .meta { margin: 0 0 6px; }
.mx-match .row-x { justify-content: center; }
.mx-match .links { text-align: left; }

/* ---------- достижения ---------- */
.mx-ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s4); }
.mx-ach { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: var(--s5) var(--s3) var(--s4); border-radius: var(--r3);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-align: center; transition: transform var(--d2) var(--ease), box-shadow var(--d2); }
.mx-ach:hover { transform: translateY(-2px); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line-2); }
.mx-ach b { font: 500 16px/1.2 var(--f-display); letter-spacing: .01em; }
.mx-ach small { color: var(--muted); font-size: var(--t-xs); line-height: 1.4; }
.mx-ach.off b { color: var(--muted); }
.mx-ach .bar { width: 70%; height: 5px; }
.mx-ach .mx-new { position: absolute; top: 10px; right: 10px; margin: 0; }
.mx-ach.new { box-shadow: inset 0 0 0 1px rgba(233, 180, 92, .45), 0 0 28px rgba(233, 180, 92, .12); }
.badge-w { position: relative; width: 84px; height: 84px; }
.badge-w .badge { position: absolute; inset: 0; }
.badge { display: block; overflow: visible; }
.badge.got { filter: drop-shadow(0 4px 5px rgba(0, 0, 0, .5)); }
.badge .sw { transform: translateX(-150px); }
.mx-ach.new .badge.b-on { opacity: 0; animation: mxAchPress 1.05s cubic-bezier(.2, .8, .25, 1) .5s forwards; }
.mx-ach.new .badge.b-off { animation: mxAchOff .45s ease .8s forwards; }
.mx-ach.new .badge .sw, .mx-ach-modal .badge .sw { animation: mxAchSweep 1.2s ease-in-out 1.2s forwards; }
@keyframes mxAchPress { 0% { opacity: 0; transform: scale(.9); filter: brightness(.5); } 40% { opacity: 1; transform: scale(1.07); } 100% { opacity: 1; transform: none; filter: brightness(1) drop-shadow(0 8px 12px rgba(0, 0, 0, .5)); } }
@keyframes mxAchOff { to { opacity: 0; transform: scale(1.04); } }
@keyframes mxAchSweep { to { transform: translateX(150px); } }
.mx-ach-modal { text-align: center; padding-top: 8px; }
.mx-ach-modal .big { width: 150px; height: 150px; margin: 0 auto var(--s4); }
.mx-ach-modal .d { margin-top: 10px; font-weight: 600; line-height: 1.5; }
.mx-ach-modal .ref { margin-top: 10px; color: var(--muted); font-size: var(--t-s); line-height: 1.5; font-style: italic; }
.mx-ach-st { margin-top: var(--s4); font-weight: 700; color: var(--muted); }
.mx-ach-st .bar { margin: 0 auto 8px; max-width: 220px; }
@media (prefers-reduced-motion: reduce) {
  .mx-ach.new .badge.b-on { animation: none; opacity: 1; filter: none; }
  .mx-ach.new .badge.b-off, .badge .sw { display: none; }
}

/* ---------- адаптив ---------- */
@media (max-width: 1080px) {
  .mx-side { margin-top: var(--s6); }
}
@media (max-width: 820px) {
  .mx-hero { gap: var(--s4); }
  .mx-hero .ava.xl { width: 76px; height: 76px; font-size: 32px; border-radius: 20px; }
  .mx-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .mx-stats:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }   /* четыре цифры — 2×2, без одинокой в последнем ряду */
  .mx-stat { padding: 12px; } .mx-stat b { font-size: 22px; } .mx-stat span { font-size: 12px; }
  .mx-ctl-row .spacer { display: none; }
  .mx-ctl-row .seg { width: 100%; } .mx-ctl-row .seg button { flex: 1; padding: 0 8px; }
  .mx-ctl .chips, .mx-filters .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 4px; }
  .mx-ctl .chips::-webkit-scrollbar, .mx-filters .chips::-webkit-scrollbar { display: none; }
  .mx-rev, .mx-seas { margin-left: 0; }
  .mx-fix .chips { padding: 0 14px; }
  .mx-big { font-size: var(--t-4); }
  .mx-g2 { grid-template-columns: 90px 1fr; gap: 10px; }
  .mx-cr { grid-template-columns: 18px 28px minmax(60px, 1fr) 70px 40px; gap: 8px; }
  .mx-vb { height: 160px; gap: 3px; }
  .mx-field-row { flex-wrap: wrap; } .mx-field-row .btn { width: 100%; }
  .mx-a > .prow { padding-right: 16px; padding-bottom: 56px; }
  .mx-a > .prow + .mx-a-b { top: auto; bottom: 12px; transform: none; left: 62px; right: auto; }
  .mx-ach-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
  .mx-mt-pct { font-size: var(--t-5); }
}
#mx-plist > .sec:first-child { margin-top: var(--s6); }
.mx-g2 .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 820px) { .mx-g2 { grid-template-columns: 104px 1fr; } }

/* главный процент сравнения: подпись, число, шкала 0–100 с диапазоном и отметкой «обычно» (29.10) */
.mh .in { display: block; padding: var(--s5) var(--s6) var(--s6); }
.mh-cap { font-size: 15px; font-weight: 700; color: var(--label-muted); }
.mh-num { font: 800 34px/1 var(--f-text); letter-spacing: -.02em; margin-top: 8px; }
.mh-num small { font-size: 34px; margin-left: 1px; }
.mh-top { display: flex; align-items: baseline; gap: 12px; } .mh-base { font-size: 15px; font-weight: 600; color: var(--label-muted); }
.mh-ln { display: grid; grid-template-columns: 1fr auto auto; align-items: baseline; gap: 12px; font-size: 15px; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(20, 15, 6,.1); max-width: 560px; }
.mh-ln span { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; } .mh-ln span svg { width: 16px; height: 16px; color: #4f8a43; }
.mh-ln b { font: 800 18px/1 var(--f-text); color: #4f8a43; } .mh-ln em { font-style: normal; font-size: 13px; color: var(--label-muted); }
.mh-miss { display: block; margin-top: 4px; font-weight: 500; opacity: .75; }
.mh-prog { height: 6px; border-radius: 3px; background: color-mix(in srgb, currentColor 12%, transparent); margin-top: 14px; overflow: hidden; } .mh-prog i { display: block; height: 100%; border-radius: 3px; background: var(--gold, #e9b45c); }
.mh-num.rng { font-weight: 500; }
.mh-scale { position: relative; height: 10px; margin: 18px 0 0; border-radius: 10px; background: rgba(20, 15, 6, .12); max-width: 560px; }
.mh-scale i { position: absolute; top: 0; bottom: 0; border-radius: 10px; background: #e07a2c; }
.mh .mh-num { color: #c8601c; }   /* 🔥 шедевр на кремовой карточке: тёмно-огненный, чтобы читался */
.mh-scale i.band { opacity: .55; background: repeating-linear-gradient(135deg, var(--sticker) 0 6px, var(--sticker-2) 6px 12px); }
.mh-scale i.dot { min-width: 12px; transform: translateX(-4px); }
.mh-scale b { position: absolute; top: -5px; width: 2px; height: 20px; background: rgba(20, 15, 6, .55); }
.mh-scale b span { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); white-space: nowrap; font: 600 12.5px/1 var(--f-text); color: var(--label-muted); }
.mh-note { font-size: 16px; font-weight: 700; margin-top: 14px; }
.mh-rule { margin-top: 6px; font-size: 13px; color: var(--label-muted); }
.mx-cmp-big.rng { }

/* «Заходит X%» в статистике: на всю ширину ряда, полоска любимое / понравилось / остальное */
.mx-liked { grid-column: 1 / -1; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.sl-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; } .sl-top span { margin: 0; } .sl-top .sl-2 { margin-left: 16px; }
.sl-top b { display: inline-flex; align-items: center; gap: 5px; } .sl-top b svg { width: .8em; height: .8em; } .sl-top b.f { color: #f39a4a; } .sl-top b.l { color: #8fca7e; }
.sl-bar { display: flex; height: 8px; border-radius: 4px; margin-top: 12px; overflow: hidden; background: rgba(247, 247, 238,.08); }
.sl-bar em.f { background: #f39a4a; } .sl-bar em.l { background: #8fca7e; }
.mx-liked .sl-leg { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.sl-leg s, .sl-row s { display: inline-block; width: 9px; height: 9px; border-radius: 2px; background: rgba(247, 247, 238,.18); margin-left: 6px; }
.sl-leg s:first-child { margin-left: 0; } .sl-leg s.f, .sl-row s.f { background: #f39a4a; } .sl-leg s.l, .sl-row s.l { background: #8fca7e; }
.sl-rows { margin-top: 14px; display: grid; gap: 8px; }
.sl-row { display: grid; grid-template-columns: 12px 1fr auto 48px; align-items: center; gap: 10px; } .sl-row s { margin: 0; }
.sl-row em { font-style: normal; color: var(--muted); text-align: right; }

/* ---------- «Мой вкус»: обложка с отпечатком ---------- */
.mx-cover { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--s6); align-items: center;
  margin: calc(-1 * var(--s4)) 0 var(--s7); padding: var(--s6) 0 var(--s5); }
.mx-cover::before { content: ""; position: absolute; inset: -40px -10vw 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 70% at 72% 48%, rgba(233, 180, 92, .10), transparent 70%), radial-gradient(40% 50% at 20% 30%, rgba(141, 177, 255, .05), transparent 70%); }
.mx-cover-k { color: var(--muted); font-weight: 600; font-size: var(--t-m); margin-bottom: var(--s3);
  animation: mx-up 700ms var(--ease) both; }
.mx-cover-h { font: 500 clamp(40px, 5.6vw, 76px)/1.02 var(--f-display); letter-spacing: -.02em; text-wrap: balance; max-width: 12ch;
  animation: mx-up 800ms var(--ease) 60ms both; }
.mx-cover-l { color: var(--ink-2); font-size: var(--t-b); line-height: 1.55; max-width: 40ch; margin-top: var(--s4);
  animation: mx-up 800ms var(--ease) 120ms both; }
.mx-cover-n { display: flex; gap: var(--s6); margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); flex-wrap: wrap;
  animation: mx-up 800ms var(--ease) 180ms both; }
.mx-cover-n b { display: block; font: 800 var(--t-4)/1 var(--f-display); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.mx-cover-n b.gold { color: var(--gold); text-shadow: 0 0 28px rgba(233, 180, 92, .35); }
.mx-cover-n span { display: block; margin-top: 8px; color: var(--muted); font-size: var(--t-s); font-weight: 600; }
.mx-print { position: relative; margin: 0; }
.mx-print canvas { display: block; width: 100%; aspect-ratio: 1 / .92; }
.mx-print figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; color: var(--muted); font-size: var(--t-xs); font-weight: 600; margin-top: 4px; }
.mx-print figcaption span { display: inline-flex; align-items: center; gap: 6px; }
.mx-print figcaption i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.mx-print .d10 { background: var(--gold); box-shadow: 0 0 8px rgba(233, 180, 92, .7); } .mx-print .d9 { background: var(--paper); }
.mx-print .d8 { background: var(--dim); } .mx-print .d7 { background: #8a8174; } .mx-print .d5 { background: var(--blue); }
.mx-print figcaption em { flex-basis: 100%; text-align: center; font-style: normal; color: var(--faint); margin-top: 2px; }
@keyframes mx-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* пусто: пятьдесят точек, закрашены набранные */
.mx-cover-empty .btn { margin-top: var(--s5); }
.mx-dots { position: relative; display: grid; grid-template-columns: repeat(10, 1fr); gap: clamp(10px, 2vw, 18px); max-width: 420px; justify-self: center; width: 100%; padding: var(--s5); }
.mx-dots i { aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); animation: mx-dot 500ms var(--ease) both; animation-delay: calc(var(--k) * 14ms); }
.mx-dots i.on { background: var(--gold); box-shadow: 0 0 14px rgba(233, 180, 92, .5); }
.mx-dots-n { grid-column: 1 / -1; margin-top: var(--s4); text-align: center; color: var(--muted); font-weight: 600; }
.mx-dots-n b { display: block; font: 800 var(--t-5)/1 var(--f-display); color: var(--ink); margin-bottom: 6px; }
@keyframes mx-dot { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.mx-unlock { list-style: none; padding: 0; margin: var(--s6) 0 0; display: grid; gap: 10px; }
.mx-unlock li { display: flex; gap: 14px; align-items: baseline; color: var(--muted); }
.mx-unlock b { min-width: 40px; font: 500 var(--t-l) var(--f-display); color: var(--faint); font-variant-numeric: tabular-nums; }
.mx-unlock li.on b { color: var(--gold); } .mx-unlock li.on span { color: var(--ink); }

/* манера оценивать: крупные цифры без карточек */
.mx-figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.mx-fig { padding: var(--s4) 0; border-top: 1px solid var(--line-2); }
.mx-fig b { display: block; font: 800 var(--t-3)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.mx-fig span { display: block; margin-top: 8px; color: var(--muted); font-size: var(--t-s); font-weight: 600; }

/* десятка: ровная лента небольших постеров */
.mx-ten { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: var(--s3); }
.mx-pc { display: block; min-width: 0; }
.mx-pc .ph { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: var(--r2); overflow: hidden; background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--line), 0 4px 12px rgba(0, 0, 0, .3); transition: box-shadow var(--d2); }
.mx-pc .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mx-pc em { position: absolute; left: 6px; bottom: 4px; z-index: 1; font: 500 18px/1 var(--f-display); font-style: normal; color: var(--paper); text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
.mx-pc b { display: block; margin-top: 8px; font-weight: 600; font-size: var(--t-xs); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-pc small { display: block; color: var(--faint); font-size: 11.5px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .mx-pc:hover .ph { box-shadow: inset 0 0 0 1px var(--line-2), 0 4px 12px rgba(0, 0, 0, .3), 0 0 0 3px rgba(233, 180, 92, .18); } }

@media (max-width: 860px) {
  .mx-cover { grid-template-columns: 1fr; gap: var(--s4); margin-top: 0; padding-top: var(--s4); }
  .mx-cover-h { max-width: none; }
  .mx-cover-n { gap: var(--s5); }
  .mx-cover-n b { font-size: var(--t-3); }
  .mx-cover-n:has(> :nth-child(4)) { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s5); }   /* 5.11: четыре цифры два на два, а не три и одна внизу */
  .mx-ten { grid-template-columns: repeat(10, 24%); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); margin: 0 calc(-1 * var(--gut)); padding: var(--s3) var(--gut) var(--s4); scrollbar-width: none; }
  .mx-ten::-webkit-scrollbar { display: none; }
  .mx-pc { scroll-snap-align: start; }
  .mx-figs { gap: var(--s3); }
  .mx-fig b { font-size: var(--t-2); }
}
@media (prefers-reduced-motion: reduce) {
  .mx-cover-k, .mx-cover-h, .mx-cover-l, .mx-cover-n, .mx-dots i { animation: none; }
}

/* ---------- статистика: обложка со временем ---------- */
.mx-cover-time { display: flex; flex-wrap: wrap; gap: 0 .35em; max-width: none; }
.mx-cover-time span { white-space: nowrap; }
.mx-cover-time b { font-weight: 800; font-variant-numeric: tabular-nums; }
.mx-cover-time small { font-size: .42em; color: var(--muted); margin-left: .12em; letter-spacing: 0; }
.mx-cover-a { margin-top: var(--s5); }
.mx-cover-st + .mx-filters { margin-top: calc(-1 * var(--s5)); }
.mx-dots-ghost i { box-shadow: inset 0 0 0 1.5px var(--line-2); }

/* крупные цифры без рамок вместо карточек */
.mx-flat { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0 var(--s5); }
.mx-flat .kpi, .mx-flat .mx-stat { background: none; box-shadow: none; border-radius: 0; padding: var(--s4) 0 var(--s3); border-top: 1px solid var(--line-2); transform: none; }
.mx-flat .kpi b, .mx-flat .mx-stat b { font: 800 var(--t-3)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.mx-flat .kpi span, .mx-flat .mx-stat span { margin-top: 8px; }
@media (hover: hover) and (pointer: fine) { .mx-flat a.mx-stat:hover, .mx-flat button.mx-stat:hover, .mx-flat button.kpi:hover { box-shadow: none; border-top-color: var(--gold); transform: none; } }
.mx-flat a.mx-stat, .mx-flat button.mx-stat, .mx-flat button.kpi { transition: border-color var(--d2); }

/* рекорды с постером */
.mx-rec-p { display: flex; gap: 14px; align-items: center; padding: 6px 0; }
.mx-rec-p .ph { flex: none; width: 40px; aspect-ratio: 2 / 3; border-radius: var(--r1); overflow: hidden; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line), 0 3px 10px rgba(0, 0, 0, .3); }
.mx-rec-p .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mx-rec-p .x { min-width: 0; display: grid; gap: 2px; }
.mx-rec-p .lb { color: var(--muted); font-size: var(--t-xs); font-weight: 600; }
.mx-rec-p b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-rec-p .val { color: var(--gold); font-size: var(--t-s); font-weight: 600; }
@media (hover: hover) and (pointer: fine) { .mx-rec-p:hover b { color: var(--gold); } }

/* ---------- профиль: обложка из имени и цифр ---------- */
.mx-hero-cover { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); margin: 0 0 var(--s6); padding: var(--s5) 0; }
.mx-hero-l { display: flex; align-items: center; gap: var(--s5); }
.mx-hero-cover .h1 { font: 500 clamp(40px, 5vw, 68px)/1.02 var(--f-display); letter-spacing: -.02em; }
.mx-hero-lead { color: var(--ink-2); font-size: var(--t-l); line-height: 1.45; max-width: 44ch; }

/* ---------- близнецы: тройка самых близких ---------- */
.mx-wide-read { max-width: 980px; }
.mx-twins-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); margin: var(--s2) 0 var(--s7); }
.mx-twin { display: grid; justify-items: center; text-align: center; gap: 6px; padding: var(--s5) var(--s3); border-radius: var(--r3);
  background: radial-gradient(80% 60% at 50% 30%, rgba(233, 180, 92, .07), transparent 70%); }
.mx-twin .who { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s2); font-size: var(--t-b); }
.mx-twin .pc { font: 800 var(--t-4)/1 var(--f-display); font-variant-numeric: tabular-nums; }
.mx-twin small { color: var(--muted); font-weight: 600; font-size: var(--t-s); }
.mx-twin:first-child .pc { text-shadow: 0 0 28px rgba(233, 180, 92, .3); }

@media (max-width: 860px) {
  .mx-hero-cover .h1 { font-size: 40px; }
  .mx-hero-lead { font-size: var(--t-b); }
  .mx-twins-top { grid-template-columns: 1fr; gap: var(--s2); }
  .mx-twin { grid-template-columns: auto 1fr auto; justify-items: start; text-align: left; align-items: center; padding: var(--s3) 0; background: none; border-top: 1px solid var(--line); }
    .mx-twin .who { margin: 0; }
  .mx-twin .pc { grid-row: 1 / 3; grid-column: 3; font-size: var(--t-2); }
  .mx-twin small { grid-column: 1 / 3; }
  .mx-cover-st + .mx-filters { margin-top: 0; }
  .mx-flat { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s4); }
  .mx-flat .kpi b, .mx-flat .mx-stat b { font-size: var(--t-2); }
}

/* ---------- люди: орбита круга по вкусу ---------- */
.mx-orbit { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1; justify-self: center; }
.mx-orbit .ring { position: absolute; left: 50%; top: 50%; width: calc(var(--s) * 100%); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); border: 1px dashed rgba(247, 247, 238, .16); }
.mx-orbit .ring:first-child { border-color: rgba(233, 180, 92, .28); }
.mx-orbit .me { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 4px; font-weight: 700; font-size: var(--t-s); }
.mx-orbit .me .ava { box-shadow: 0 0 0 4px rgba(233, 180, 92, .25), 0 0 40px rgba(233, 180, 92, .35); }
.mx-orb { position: absolute; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 2px; text-align: center; white-space: nowrap;
  animation: mx-orb 800ms var(--ease) both; animation-delay: calc(var(--k) * 70ms + 200ms); transition: transform var(--d2) var(--ease); }
.mx-orb b { font-size: var(--t-xs); font-weight: 600; color: var(--ink-2); }
.mx-orb em { font-style: normal; font: 800 var(--t-m)/1 var(--f-display); font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .mx-orb:hover { transform: translate(-50%, -50%) scale(1.06); } }
@keyframes mx-orb { from { opacity: 0; transform: translate(-50%, -50%) scale(.85); } }

/* ---------- достижения: точка на каждое ---------- */
.mx-cover-ach .mx-cover-h { font-variant-numeric: tabular-nums; }
.mx-achdots { display: flex; flex-wrap: wrap; gap: 18px; max-width: 420px; justify-self: center; justify-content: center; }
.mx-achdots i { width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); animation: mx-dot 500ms var(--ease) both; animation-delay: calc(var(--k) * 25ms); }
.mx-achdots i.on { background: var(--gold); box-shadow: 0 0 14px rgba(233, 180, 92, .5); }

/* ---------- настройки: тише и ровнее ---------- */
.mx-set { padding-top: var(--s6); border-top: 1px solid var(--line); }
.mx-set:first-of-type { padding-top: 0; border-top: 0; }
.mx-set > .h3 { font: 500 var(--t-xl)/1.2 var(--f-display); margin-bottom: var(--s4); }
.mx-photo .ava { box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }

@media (max-width: 860px) {
  .mx-orbit { max-width: 340px; }
  .mx-orb b { display: none; }
  .mx-achdots { gap: 12px; } .mx-achdots i { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) { .mx-orb, .mx-achdots i { animation: none; } }

/* шар оценок на /stats */
.mx-sphere canvas { aspect-ratio: 1 / .9; }
.mx-sphere figcaption { max-width: 520px; margin-left: auto; margin-right: auto; }
.mx-print .d0 { background: #6e665c; }

/* подсказка над точкой шара и отпечатка */
.mx-tip { position: absolute; left: 0; top: 0; z-index: 5; display: flex; gap: 10px; align-items: center; width: 220px; padding: 8px 12px 8px 8px;
  border-radius: var(--r2); background: rgba(21, 17, 13, .94); box-shadow: inset 0 0 0 1px var(--line-2), 0 10px 30px rgba(0, 0, 0, .5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none; opacity: 0; transition: opacity 120ms ease-out; }
.mx-tip.on { opacity: 1; pointer-events: auto; }
.mx-tip img { flex: none; width: 34px; aspect-ratio: 2 / 3; border-radius: 4px; object-fit: cover; }
.mx-tip > span { min-width: 0; display: grid; grid-template-columns: 1fr auto; column-gap: 8px; align-items: center; flex: 1; }
.mx-tip b { font-weight: 600; font-size: var(--t-s); line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-tip small { grid-column: 1; color: var(--muted); font-size: var(--t-xs); }
.mx-tip em { grid-column: 2; grid-row: 1 / 3; font: 500 var(--t-l)/1 var(--f-display); font-style: normal; font-variant-numeric: tabular-nums; }
.mx-print canvas { touch-action: pan-y; }
.mx-print .dc { background: var(--paper); box-shadow: 0 0 8px rgba(247, 247, 238, .6); }
.mx-tip em.pair { display: inline-flex; gap: 6px; font-size: var(--t-b); }
.mx-tip em.pair i { font-style: normal; }
.mx-cball .mx-sphere { max-width: 620px; margin: 0 auto; }
.mx-hl { cursor: pointer; }
.mx-hl.on .nm { color: var(--gold); }

/* ---------- два шара в профиле: ты и он, нити между любимыми (4.11) ---------- */
.mx-two { margin: var(--s5) 0 var(--s6); }
.mx-two-fig { position: relative; margin: 0; }
.mx-two-fig canvas { display: block; width: 100%; aspect-ratio: 2.3 / 1; min-height: 260px; cursor: grab; }
.mx-two-fig canvas.grab { cursor: grabbing; }
.mx-two-mid { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; display: flex; flex-direction: column; gap: 4px; }
.mx-two-mid b { font: 800 clamp(34px, 5vw, 56px)/1 var(--f-display); letter-spacing: -.02em; text-shadow: 0 2px 24px rgba(0, 0, 0, .7); }
.mx-two-mid span { font-size: var(--t-xs); color: var(--muted); }
.mx-two-names { display: flex; justify-content: space-around; font-weight: 600; font-size: var(--t-s); color: var(--ink-2); }
.mx-two-names span { display: inline-flex; align-items: center; gap: 8px; }
.mx-two-names i { width: 9px; height: 9px; border-radius: 50%; background: rgb(233, 180, 92); }
.mx-two-names i.him { background: rgb(141, 177, 255); }
.mx-two-cap { max-width: 62ch; margin: 6px auto 0; text-align: center; color: var(--muted); font-size: var(--t-xs); line-height: 1.5; text-wrap: balance; }
@media (max-width: 600px) { .mx-two-fig canvas { aspect-ratio: 1.5 / 1; min-height: 220px; } }
.mx-two-mid { padding: 34px 46px; background: radial-gradient(closest-side, rgba(11, 9, 7, .88), rgba(11, 9, 7, .55) 60%, transparent); }
.mx-orbit .ring em { position: absolute; left: 14.6%; top: 85.4%; transform: translate(-50%, -50%); padding: 0 6px; background: var(--night, #0b0907);
  font: 600 10.5px/1 var(--f-text); font-style: normal; color: var(--faint); letter-spacing: .02em; }

/* Портрет вкуса: списки фильмов компактнее и в две колонки, между блоками воздух (4.11, Леша: плашки слишком крупные) */
.mx-tastepg .mx-cols .rows { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; }
.mx-tastepg .mx-cols .row { padding: 7px 10px 7px 7px; gap: 12px; }
.mx-tastepg .mx-cols .row .th { width: 34px; height: 51px; border-radius: 5px; }
.mx-tastepg .mx-cols .row .t { font-size: 15px; }
.mx-tastepg .mx-cols .row .y { font-size: 12.5px; margin-top: 2px; }
.mx-tastepg .mx-cols .row .rc { width: 38px; height: 38px; font-size: 13.5px; }
.mx-tastepg .mx-cols .row .rc small { font-size: 6.5px; }
.mx-tastepg .mx-cols .row .r { gap: 6px; }
.mx-tastepg .mx-cols .row .rc.mine.gold { margin-inline: 5px; }
.mx-tastepg #world > .sec, .mx-tastepg .mx-fb { margin-top: 56px; }
.mx-tastepg .mx-fb-sub { margin: -6px 0 14px; }
@media (max-width: 760px) { .mx-tastepg .mx-cols .rows { grid-template-columns: 1fr; } }
.mx-cover-k .ava { width: 26px; height: 26px; font-size: 12px; vertical-align: -7px; margin-right: 6px; }
.mx-portrait > .sec:first-child { margin-top: var(--s5); }
.mx-pside { margin-top: var(--s8); }
.mx-pside .mx-ppl { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
/* первый экран: шар и цифры не выше половины экрана, чтобы вкладки и цифры профиля были видны сразу (4.11) */
.mx-tsph canvas { aspect-ratio: auto; height: min(50vh, 520px); }
.mx-tastepg .mx-cover { padding: 0 0 var(--s4); margin-bottom: var(--s5); }
.mx-two-fig canvas { aspect-ratio: auto; height: min(44vh, 460px); min-height: 240px; }
.mx-two { margin: var(--s3) 0 var(--s5); }
.mx-two-names { align-items: center; }
.mx-two-only { font-size: var(--t-xs); }
/* каналы о кино наверху подписок */
.mx-chans { margin: 0 0 var(--s6); }
.mx-chrow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.mx-chc { display: grid; justify-items: center; gap: 6px; padding: 16px 10px 14px; border-radius: 16px; background: rgba(247, 247, 238, .035); border: 1px solid var(--line);
  text-align: center; color: var(--ink); text-decoration: none; transition: transform 160ms var(--ease), border-color 160ms var(--ease); }
.mx-chc:hover { transform: translateY(-2px); border-color: var(--line-2); }
.mx-chc b { font-size: 14px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mx-chc small { font-size: 12px; color: var(--muted); }
.mx-chc em { font-style: normal; font-weight: 800; }
/* объём за профилем человека и канала (4.11) */
.prof-glow { position: relative; }
.prof-glow::before { content: ""; position: absolute; left: -30vw; right: -30vw; top: -140px; height: 1000px; z-index: -1; pointer-events: none;
  background: radial-gradient(42% 46% at 30% 4%, color-mix(in srgb, var(--pc, #e9b45c) 20%, transparent), transparent 72%),
              radial-gradient(34% 40% at 76% 22%, color-mix(in srgb, var(--pc, #e9b45c) 9%, transparent), transparent 72%),
              radial-gradient(30% 30% at 55% 60%, rgba(141, 177, 255, .04), transparent 70%); }
.mx-unread { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 12px 14px; border-radius: 14px; text-decoration: none; color: var(--ink);
  background: color-mix(in srgb, var(--blue) 12%, transparent); border: 1px solid color-mix(in srgb, var(--blue) 35%, transparent); transition: transform 160ms var(--ease); }
.mx-unread:hover { transform: translateY(-1px); }
.mx-unread .x { flex: 1; min-width: 0; display: grid; gap: 2px; }
.mx-unread small { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mx-ub { min-width: 26px; height: 26px; padding: 0 7px; border-radius: 99px; background: var(--blue); color: #0b0907; font: 800 13px/26px var(--f-display); text-align: center; }
.mx-two-btns { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

/* уведомления */
.nf-list { display: grid; gap: 6px; margin-top: var(--s4); }
.nf-day { margin: var(--s5) 0 4px; color: var(--muted); font-size: var(--t-xs); font-weight: 600; }
.nf-day:first-child { margin-top: 0; }
.nf-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 14px; border-radius: 14px; text-align: left; color: var(--ink); text-decoration: none;
  background: rgba(247, 247, 238, .025); border: 1px solid transparent; transition: background-color 160ms var(--ease), border-color 160ms var(--ease); font: inherit; cursor: pointer; }
.nf-row:hover { background: rgba(247, 247, 238, .05); }
.nf-row.new { border-color: color-mix(in srgb, var(--blue) 30%, transparent); background: color-mix(in srgb, var(--blue) 7%, transparent); }
.nf-row .ava { flex: none; }
.nf-ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(247, 247, 238, .06); font-size: 20px; }
.nf-b { flex: 1; min-width: 0; display: grid; gap: 2px; }
.nf-b b { font-weight: 600; font-size: 15px; }
.nf-b > span { color: var(--ink-2); font-size: 14px; line-height: 1.4; }
.nf-b small { color: var(--faint); font-size: 12px; }
.nf-p { width: 34px; height: 51px; border-radius: 5px; object-fit: cover; flex: none; }
.nf-stack { display: flex; flex: none; } .nf-stack img { width: 30px; height: 45px; border-radius: 4px; object-fit: cover; margin-left: -10px; box-shadow: 0 0 0 2px var(--night, #0b0907); }
.nf-more { display: grid; gap: 4px; margin: 2px 0 8px 54px; }
.nf-more[hidden] { display: none; }   /* display:grid перебивал hidden, список был всегда раскрыт (5.11) */
.nf-film { display: flex; align-items: center; gap: 12px; padding: 6px 8px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.nf-film:hover { background: rgba(247, 247, 238, .04); }
.nf-film img, .nf-film i { width: 30px; height: 45px; border-radius: 4px; object-fit: cover; flex: none; background: rgba(247, 247, 238, .06); }
.nf-film > span:not(.rc) { flex: 1; min-width: 0; display: grid; font-size: 14px; } .nf-film small { color: var(--muted); font-size: 12px; }
.mx-two-f { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 6px; }
.mx-two-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.mx-two-chips .chip { font-size: 13px; }

.mx-dd { position: relative; }
.mx-dd-b { display: inline-flex; align-items: center; gap: 6px; }
.mx-dd-b svg { width: 14px; height: 14px; opacity: .7; }
.mx-dd-x { display: inline-grid; place-items: center; margin-right: -4px; padding: 2px; border-radius: 50%; }
.mx-dd-x:hover { background: rgba(0, 0, 0, .15); }
.mx-dd-m { position: absolute; z-index: 30; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); min-width: 180px; max-height: 280px; overflow: auto;
  display: grid; padding: 6px; border-radius: 14px; background: rgba(20, 16, 12, .98); border: 1px solid var(--line-2); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.mx-dd-m button { text-align: left; padding: 8px 12px; border-radius: 9px; font-size: 14px; color: var(--ink-2); }
.mx-dd-m button:hover, .mx-dd-m button.on { background: rgba(247, 247, 238, .07); color: var(--ink); }
.mx-dd-m[hidden] { display: none; }
.mx-hate.on { background: #e26e60; border-color: #e26e60; color: #fff; }
.mx-fight.on { background: #8db1ff; border-color: #8db1ff; color: #0b0907; }
.mx-two-btns [hidden] { display: none; }
.mx-tsph-f { margin: 4px 0 10px; }
.mx-unread[hidden] { display: none; }
/* одна строка под шаром постоянной высоты: экран не прыгает при фильтрах */
.mx-tsph-cap { min-height: 1.6em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }

/* счётчики во вкладках плашками; рамка фокуса только с клавиатуры (4.11) */
.mx-n { display: inline-grid; place-items: center; min-width: 24px; height: 20px; padding: 0 7px; margin-left: 7px; vertical-align: 2px; border-radius: 99px;
  background: rgba(247, 247, 238, .07); color: var(--muted); font: 600 11.5px/1 var(--f-text); font-variant-numeric: tabular-nums; transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.tabs .on .mx-n { background: rgba(233, 180, 92, .16); color: var(--gold); }
.tabs button:focus:not(:focus-visible) { outline: none; box-shadow: none; }
/* «Мой вкус»: заголовок обложки выше, на уровне верха шара */
.mx-tastepg .mx-cover { align-items: start; }
.mx-tastepg .mx-cover-t { padding-top: clamp(24px, 6vh, 72px); }
@media (max-width: 700px) { .mx-tastepg .mx-cover-t { padding-top: 0; } }   /* 5.11: на телефоне заголовок сразу под меню, как на других страницах */
.mx-tastepg .tabs { overflow-x: auto; scrollbar-width: none; }
.mx-tastepg .tabs button { font-size: 17px; white-space: nowrap; }
.mx-tastepg .tabs button { font-size: 16px; padding-inline: 4px; margin-right: 4px; }   /* 5.11: шесть вкладок с «Пересматриваю» помещаются целиком */
.mx-tastepg .tabs .mx-n { margin-left: 5px; min-width: 20px; padding: 0 6px; }
/* «почему он любимый»: имя в заголовке кликабельно */
.mx-why { all: unset; cursor: pointer; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; text-decoration-color: rgba(233, 180, 92, .55); transition: text-decoration-color 160ms; }
.mx-why:hover { text-decoration-color: var(--gold); }
.mx-whypop { position: absolute; z-index: 90; padding: 14px; border-radius: 16px; background: rgba(20, 16, 12, .98); border: 1px solid var(--line-2); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); animation: fade 160ms var(--ease) both; }
.mx-whypop-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.mx-whypop-h b { font: 600 17px var(--f-display); } .mx-whypop-h span { color: var(--muted); font-size: 13px; } .mx-whypop-h em { font-style: normal; font-weight: 800; }
.mx-whypop-l { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 10px; }
.mx-whypop-l a { position: relative; display: block; }
.mx-whypop-l .ph { display: block; aspect-ratio: 2 / 3; border-radius: 7px; overflow: hidden; background: rgba(247, 247, 238, .06); }
.mx-whypop-l .ph img { width: 100%; height: 100%; object-fit: cover; }
.mx-whypop-l .rc { position: absolute; right: -6px; bottom: -6px; }
.mx-nw { white-space: nowrap; }
/* в раскрытых уведомлениях кольцо оценки обычного размера: общее правило span растягивало его во всю ширину */
.nf-film .rc { flex: none; }
.nf-film > span:not(.rc) { flex: 1; }
.mx-whyfav { position: absolute; left: 4px; top: 4px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(11, 9, 7, .8); color: #e05a4f; }
.nf-film .rc.mine.gold, .nf-row .rc.mine.gold { margin-inline: 0; }
/* постеры в «почему»: под курсором приподнимаются и показывают название; мостик, чтобы карточка не пропадала по дороге к ней */
.mx-whypop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.mx-whypop-l a { transition: transform 160ms var(--ease); }
.mx-whypop-l a:hover { transform: translateY(-3px); z-index: 2; }
.mx-whypop-l .ph { position: relative; }
.mx-whyt { position: absolute; inset: auto 0 0 0; padding: 18px 6px 6px; font-style: normal; font: 600 11px/1.2 var(--f-text); color: #f7f7ee;
  background: linear-gradient(transparent, rgba(11, 9, 7, .92)); opacity: 0; transition: opacity 160ms; display: grid; gap: 1px; }
.mx-whyt small { font-weight: 500; color: var(--muted); font-size: 10px; }
.mx-whypop-l a:hover .mx-whyt, .mx-whypop-l a:focus-visible .mx-whyt { opacity: 1; }
.mx-whypop-l a:hover .rc { opacity: .25; }

/* лестница и ссылки справа на «Моём вкусе» прокручиваются вместе со страницей, чтобы дойти до достижений (4.11, Леша) */
.mx-tastepg .mx-side.sticky { position: static; top: auto; max-height: none; overflow: visible; }

/* когда оценено: столбик на год под шаром, выбрать можно несколько (4.11) */
.mx-when { width: min(100%, 520px); margin: 4px auto 10px; }
.mx-when-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.mx-when-h span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-when-h .tlink { font-size: 13px; flex: none; }
.mx-when-b { display: grid; grid-template-columns: repeat(auto-fit, minmax(44px, 1fr)); gap: 5px; }
.mx-when-b button { display: grid; gap: 1px; justify-items: center; padding: 7px 4px 6px; border-radius: 11px; background: rgba(247, 247, 238, .04);
  border: 1px solid var(--line); cursor: pointer; transition: background 140ms ease, border-color 140ms ease, transform 140ms cubic-bezier(.23, 1, .32, 1); }
.mx-when-b b { font: 600 13px/1.2 var(--f-display); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.mx-when-b small { font: 600 11px/1.2 var(--f-text); color: var(--faint); font-variant-numeric: tabular-nums; }
.mx-when-b button:hover:not([disabled]) { background: rgba(247, 247, 238, .08); border-color: var(--line-2); }
.mx-when-b button:active:not([disabled]) { transform: scale(.96); }
.mx-when-b button[disabled] { cursor: default; opacity: .4; }
.mx-when-b button.on { background: rgba(233, 180, 92, .14); border-color: rgba(233, 180, 92, .6); }
.mx-when-b button.on b { color: var(--gold); } .mx-when-b button.on small { color: rgba(233, 180, 92, .75); }

/* заходит в «Манере оценивать» */
.mx-manner .mx-figs { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.mx-fig-b { text-align: left; background: none; cursor: pointer; border-radius: 0; color: inherit; }
.mx-fig-b .sl-bar { margin-top: 10px; height: 6px; }
.mx-fig-b:hover span { color: var(--ink-2); }

/* плашка «часы примерные» под часами на обложке */
.mx-fixhint { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 6px 12px 6px 10px; border-radius: 99px; background: rgba(247, 247, 238, .05);
  border: 1px solid var(--line-2); color: var(--muted); font-size: 13px; cursor: pointer; transition: background 140ms, color 140ms; }
.mx-fixhint b { color: var(--gold); font-weight: 600; }
.mx-fixhint:hover { background: rgba(247, 247, 238, .09); color: var(--ink-2); }
.mx-fixhint .i { opacity: .7; }
.mx-fixl { margin-top: 14px; max-height: 60vh; overflow: auto; }
.mx-fix.mx-gone { opacity: 0; transform: translateX(12px); transition: opacity 260ms, transform 260ms; }

/* время в кино */
.mx-tfigs { grid-template-columns: repeat(4, 1fr); }
.mx-tfigs .mx-fig b small { font-size: .5em; color: var(--muted); font-weight: 700; }
.mx-tsub { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 30px 0 14px; }
.mx-tsub > span { font: 600 15px var(--f-display); color: var(--ink); }
.mx-time .vbars { height: 150px; }
.mx-time .vbars button.b { background: none; cursor: pointer; padding: 0; }
.mx-time .vbars .b.dim i { opacity: .5; }
.mx-time .vbars .b:hover i { filter: brightness(1.12); }
.mx-yearnav { display: inline-flex; align-items: center; gap: 4px; }
.mx-yearnav b { font: 600 15px var(--f-display); min-width: 44px; text-align: center; font-variant-numeric: tabular-nums; }
.mx-yearnav .icon-btn { width: 32px; height: 32px; }
.mx-yearnav .icon-btn[disabled] { opacity: .3; pointer-events: none; }
.mx-trecs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mx-trec { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: rgba(247, 247, 238, .03); border: 1px solid var(--line); transition: background 140ms, border-color 140ms; min-width: 0; }
.mx-trec:hover { background: rgba(247, 247, 238, .06); border-color: var(--line-2); }
.mx-trec .ph { flex: none; width: 42px; aspect-ratio: 2 / 3; border-radius: 6px; overflow: hidden; background: var(--surface-2); }
.mx-trec .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mx-trec .x { min-width: 0; display: grid; gap: 2px; }
.mx-trec .lb { color: var(--muted); font-size: 12px; font-weight: 600; }
.mx-trec b { font: 500 15px/1.25 var(--f-display); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-trec .val { color: var(--gold); font: 600 13.5px var(--f-display); }
@media (max-width: 900px) { .mx-tfigs { grid-template-columns: repeat(2, 1fr); } .mx-trecs { grid-template-columns: 1fr; } }
.mx-cover-t .mx-when { width: 100%; max-width: 560px; margin: 28px 0 0; }
.mx-fixhint { text-align: left; }
.mx-lnew { display: flex; gap: 10px; margin-top: 20px; }
.mx-lnew .field { flex: 1; min-width: 0; }
.mx-lnew .btn { flex: none; }
.mx-lacts { margin-top: 12px; gap: 8px; flex-wrap: wrap; }
@media (max-width: 520px) { .mx-lnew { flex-direction: column; } }
/* «Когда оценено» списком с галочками */
.mx-dd-wm { min-width: 220px; }
.mx-wm-top { display: flex; justify-content: space-between; gap: 10px; padding: 4px 10px 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.mx-wm-top .tlink { font-size: 13px; }
.mx-dd-m .mx-wm-y { display: grid; grid-template-columns: 18px auto 1fr; align-items: center; gap: 10px; width: 100%; }
.mx-wm-y small { justify-self: end; color: var(--faint); font-size: 12px; }
.mx-wm-c { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line-2); font-style: normal; }
.mx-wm-y.on .mx-wm-c { background: var(--gold); border-color: var(--gold); color: #1a1208; }
.mx-wm-y.on span { color: var(--gold); }
.mx-wm-y[disabled] { opacity: .4; cursor: default; }
.mx-wm-top .tlink { white-space: nowrap; }
.mx-dd-wm { min-width: 250px; }
/* фильтры шара двумя ровными рядами: сверху всё, фильмы, сериалы, ниже четыре списка (4.11) */
.mx-fbr { flex-basis: 100%; height: 0; }
.mx-tsph-f { row-gap: 10px; }
@media (max-width: 600px) { .mx-tsph-f > .mx-dd { flex: 0 0 calc(50% - 4px); } .mx-tsph-f > .mx-dd > .mx-dd-b { width: 100%; justify-content: center; } }
/* списки фильтров компактнее: короткие пункты в две колонки, чтобы меню не уезжало далеко вниз (4.11, Леша) */
.mx-tsph-f .mx-dd-m { max-height: 300px; padding: 6px; }
.mx-tsph-f .mx-dd-m button { padding: 7px 10px; font-size: 13.5px; border-radius: 8px; }
.mx-tsph-f .mx-dd:not(.mx-dd-w) .mx-dd-m:not([hidden]) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; min-width: 260px; }
.mx-tsph-f .mx-dd-wm .mx-wm-y { padding: 6px 10px; }
.mx-tsph-f .mx-wm-top { padding: 2px 8px 6px; }
.mx-tsph-f .mx-dd-wm:not([hidden]) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; min-width: 300px; }
.mx-tsph-f .mx-dd-wm .mx-wm-top { grid-column: 1 / -1; }
.mx-tsph-f .mx-dd-wm .mx-wm-y { grid-template-columns: 16px auto 1fr; gap: 8px; }
.mx-tsph-f .mx-dd-wm .mx-wm-y small { font-size: 11px; }
/* портрет друга внутри его профиля: без второй обложки и ссылки «к профилю» */
#mx-tab > .mx-tastepg { padding: 0 !important; margin: 0 !important; max-width: none !important; }
#mx-tab > .mx-tastepg > .mx-cover, #mx-tab > .mx-tastepg > a.tlink:first-child, #mx-tab > .mx-tastepg > .mx-steps { display: none; }
#mx-tab > .mx-tastepg > .cols { grid-template-columns: 1fr; margin-top: 8px; }
#mx-tab > .mx-tastepg > .cols > aside { position: static; }

/* «Возвращаюсь снова» и пересмотры во «Времени в кино» (5.11) */
.mx-reshelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 16px 14px; }
.mx-rei { display: grid; gap: 6px; color: inherit; text-decoration: none; min-width: 0; }
.mx-rei .ph { position: relative; aspect-ratio: 2 / 3; border-radius: 12px; overflow: visible; background: var(--surface-2); }
.mx-rei .ph img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; transition: transform var(--d2) var(--ease); }
.mx-rei:hover .ph img { transform: translateY(-3px); }
.mx-rex { position: absolute; right: -6px; top: -8px; display: inline-flex; align-items: center; gap: 3px; font: 800 13px/1 var(--f-display); font-style: normal; color: #1a1006; background: var(--gold); border-radius: 99px; padding: 5px 8px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .5); }
.mx-rei b { font: 500 13.5px/1.3 var(--f-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mx-rei small { color: var(--muted); font-size: var(--t-xs); margin-top: -4px; }
.mx-rebar { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: var(--surface-3); margin-top: var(--s4); }
.mx-rebar i { display: block; height: 100%; background: var(--gold); } .mx-rebar i.re { background: var(--blue); }
.mx-rek { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin: 0 6px 1px 0; } .mx-rek.re { background: var(--blue); margin-left: 12px; }
/* 6.11, Леша: «Пересматривали» выбирается так же, как остальные режимы, без синего */
/* строка пересмотров в подсказке: отдельной строкой под названием, на всю ширину, не поверх оценок (5.11) */
.mx-tip em.re { grid-column: 1 / -1; grid-row: auto; display: block; margin-top: 3px; color: var(--blue); font: 500 var(--t-xs)/1.3 var(--f-text); font-style: normal; white-space: normal; }
.mx-tip:has(em.re) { width: 250px; }
.nf-u { cursor: pointer; } .nf-un { transition: color var(--d1); } .nf-un:hover { color: var(--gold); }
span.nf-u .ava { transition: box-shadow var(--d1); } span.nf-u:hover .ava { box-shadow: 0 0 0 2px var(--gold); }

/* «Сейчас» в портрете вкуса (5.11): что человек смотрит в последнее время */
.mx-now { margin-top: var(--s6); }
.mx-now .h3 small { margin-left: 8px; font: 400 var(--t-sm) var(--f-body, inherit); }
.mx-now-g { font: 500 var(--t-xl)/1.2 var(--f-display); margin: 0 0 6px; }
.mx-now-t { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-top: 12px; }

/* «Всего / Сейчас» под часами в обложке (5.11) */
.mx-nowc { margin-top: var(--s3); display: flex; align-items: center; gap: var(--s4); }
.mx-nowc-seg button { position: relative; }
.mx-nowpop { position: absolute; z-index: 60; width: 320px; padding: 14px; border-radius: 14px; background: #211a12;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .6), inset 0 0 0 1px var(--line-2); color: var(--ink-2); font-size: var(--t-xs); line-height: 1.45; }
.mx-nowpop p { margin: 0 0 12px; } .mx-nowpop p:last-child { margin: 0; }
.mx-nowc-l { margin-top: 0; }
.mx-nowc-l .tlink { margin-left: 6px; }
.mx-red { margin-top: var(--s3); }
.mx-red > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: var(--t-s); font-weight: 600; }
.mx-red > summary::-webkit-details-marker { display: none; }
.mx-red > summary span { color: var(--faint); font-weight: 500; }
.mx-red > summary svg { width: 14px; height: 14px; transition: transform var(--d2) var(--ease); }
.mx-red[open] > summary svg { transform: rotate(180deg); }
.mx-red .mx-reshelf { margin-top: var(--s4); }

/* строка пересмотров в шапке профиля */
.mx-rwline { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; padding: 0; background: none; border: 0; color: var(--muted); font: inherit; font-size: var(--t-s); cursor: pointer; text-align: left; }
.mx-rwline .i:first-child { color: var(--gold); flex: none; }
.mx-rwline .i:last-child { opacity: .5; transition: transform var(--d2, .2s) ease-out, opacity .2s; }
.mx-rwline:hover { color: var(--ink); }
.mx-rwline:hover .i:last-child { opacity: 1; transform: translateX(2px); }
.mx-rwpop .rows { margin-top: 16px; }
.mx-rwpop .mx-rwn, .mx-list .mx-rwn { color: var(--gold); }
.mx-rwpop .rwb { display: none; }

/* ---------- «Подписки» (6.11, Леша): слева люди, справа кинокритики, обе колонки одинаковые ---------- */
.mx-subs-h { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s5); }
.mx-subs-ctl { display: flex; align-items: center; gap: 10px; }
.mx-like { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; color: var(--gold);
  background: rgba(233, 180, 92, .1); box-shadow: inset 0 0 0 1px rgba(233, 180, 92, .32); font: 600 14px/1 var(--f-display); white-space: nowrap; transition: background var(--d2); }
.mx-like:hover { background: rgba(233, 180, 92, .16); } .mx-like span { font-size: 16px; line-height: 1; }
.mx-subs-q { display: flex; margin-top: var(--s5); width: 100%; }
.mx-subs-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); align-items: start; margin-top: var(--s6); }
.mx-col { display: grid; gap: var(--s5); align-content: start; min-width: 0; }
.mx-col-h { display: flex; align-items: baseline; justify-content: space-between; height: 40px; }
.mx-col-h .h2 { margin: 0; }
.mx-sb { display: grid; gap: 10px; }
.mx-sb-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; height: 28px; }
.mx-sb-h .h3 { margin: 0; } .mx-sb-h .tlink { font-size: 14px; } .mx-sb-e { margin: 0; padding: 18px 20px; border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.mx-sl { border-radius: 18px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.mx-sl-all { max-height: 64vh; overflow: auto; background: none; box-shadow: none; border-radius: 0; }
.mx-sr { display: grid; grid-template-columns: minmax(0, 1fr) 96px 52px 36px; align-items: center; gap: 14px; height: 64px; padding: 0 14px 0 16px; }
.mx-sr + .mx-sr { box-shadow: inset 0 1px 0 var(--line); }
.mx-sr-l { display: flex; align-items: center; gap: 12px; min-width: 0; height: 100%; }
.mx-sr-l .ava { flex: none; width: 34px; height: 34px; border-radius: 50%; }
.mx-sr .nm { display: grid; gap: 2px; min-width: 0; }
.mx-sr .nm .t { display: flex; align-items: baseline; gap: 8px; min-width: 0; font-weight: 700; font-size: 15px; line-height: 1.2; white-space: nowrap; }
.mx-sr .nm .t .n { overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; min-width: 0; }
/* ник рядом с именем, тише и мельче: по нему ищут (6.11, Леша) */
.mx-sr .nm .t .hd { flex: 0 10 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--muted); font-weight: 500; font-size: 13px; }
.mx-sr .nm small { color: var(--muted); font-size: 12.5px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mx-sr-l:hover .t { color: var(--gold); }
.mx-sr .bar { height: 6px; border-radius: 99px; background: rgba(247, 247, 238, .07); overflow: hidden; }
.mx-sr .bar i { display: block; height: 100%; border-radius: inherit; background: var(--gold); }
.mx-sr .pc { font: 600 16px/1 var(--f-display); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mx-sr-f { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--ink); background: var(--glass-2, rgba(247, 247, 238, .06));
  box-shadow: inset 0 0 0 1px var(--line-2, rgba(247, 247, 238, .12)); transition: background var(--d2), transform var(--d1); }
.mx-sr-f:hover { background: rgba(247, 247, 238, .12); } .mx-sr-f:active { transform: scale(.94); }
.mx-sr-f.on { color: var(--gold); box-shadow: inset 0 0 0 1px rgba(233, 180, 92, .4); background: rgba(233, 180, 92, .08); }
.mx-sr-f svg { display: block; }
.mx-how { font-size: 14px; margin-right: 6px; } .mx-how-t p { margin: 0 0 12px; color: var(--ink-2); line-height: 1.6; } .mx-how-t p:last-child { margin: 0; }
.mx-subs-foot { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); }
.mx-subs-card { display: flex; flex-direction: column; gap: 8px; height: 100%; } .mx-subs-card .row-x { margin-top: auto; padding-top: 6px; }
.mx-subs-card b { display: flex; align-items: center; gap: 10px; font: 600 17px/1.25 var(--f-display); } .mx-subs-card .sub { margin: 0; }

.mx-chown .ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #4fa9e8; background: rgba(79, 169, 232, .12); }

@media (max-width: 900px) {
  .mx-subs-cols, .mx-subs-foot { grid-template-columns: 1fr; gap: var(--s7, 48px); } .mx-subs-foot { gap: var(--s4); }
  .mx-subs-ctl { width: 100%; flex-wrap: wrap; } .mx-like { flex: 1; justify-content: center; }
  .mx-how { order: 3; flex-basis: 100%; text-align: left; margin: 4px 0 0; }
  .mx-sr { grid-template-columns: minmax(0, 1fr) 54px 48px 36px; gap: 10px; padding: 0 12px; }
}

/* ---------- «Тебе понравится» (6.11): кто советует, главный совет крупно, аватары в строках ---------- */
.mx-rc-avs { display: flex; margin: var(--s5) 0 var(--s3); } .mx-rc-avs + .page-head, .mx-rc-avs + * { margin-top: 0 !important; padding-top: 0 !important; }
.mx-rc-avs a + a, .mx-rc-avs i { margin-left: -10px; }
.mx-rc-avs .ava { box-shadow: 0 0 0 3px var(--bg); border-radius: 50%; transition: transform var(--d2); } .mx-rc-avs a:hover .ava { transform: translateY(-2px); }
.mx-rc-avs i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 0 3px var(--bg); font: 700 12px/1 var(--f-display); font-style: normal; color: var(--muted); }
.mx-rc-hero { position: relative; display: block; overflow: hidden; margin-bottom: var(--s5); border-radius: 26px; background: #15110c; box-shadow: inset 0 0 0 1px rgba(233, 180, 92, .25); }
.mx-rc-hero .bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(34px) saturate(1.2); opacity: .45; transition: opacity var(--d3); }
.mx-rc-hero:hover .bg { opacity: .55; }
.mx-rc-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 11, 8, .65), rgba(14, 11, 8, .2)); }
.mx-rc-hero .in { position: relative; z-index: 1; display: flex; gap: var(--s5); padding: var(--s5); align-items: center; }
.mx-rc-hero .ps { flex: none; width: 150px; aspect-ratio: 2 / 3; border-radius: 14px; object-fit: cover; background: var(--surface); box-shadow: 0 18px 40px rgba(0, 0, 0, .55); }
.mx-rc-hero .tx { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mx-rc-hero .k { color: var(--gold); font: 700 12px/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; }
.mx-rc-hero .t { font: 500 clamp(26px, 3vw, 38px)/1.08 var(--f-display); letter-spacing: -.01em; } .mx-rc-hero .t small { color: var(--muted); font-size: .45em; letter-spacing: 0; }
.mx-rc-hero .pr { display: flex; align-items: baseline; gap: 8px; } .mx-rc-hero .pr b { font: 800 40px/1 var(--f-display); color: var(--gold); font-variant-numeric: tabular-nums; }
.mx-rc-hero .pr span { color: var(--ink-2); }
.mx-rc-hero .ws, .mx-rc-ws { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.mx-rc-hero .btn { align-self: flex-start; }
.mx-rc-w { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.mx-rc-w .ava { width: 22px; height: 22px; font-size: 10px; border-radius: 50%; } .mx-rc-w b { font: 700 14px/1 var(--f-display); }
.mx-rc-ws .more { color: var(--muted); font-size: 13px; align-self: center; }
@media (max-width: 700px) { .mx-rc-hero .in { gap: var(--s4); padding: var(--s4); align-items: flex-start; } .mx-rc-hero .ps { width: 104px; } .mx-rc-hero .pr b { font-size: 30px; } }

/* ---------- сравнение вкусов (6.11, Леша): как в приложении. Широкий экран, слева главное, справа два шара ---------- */
.mx-cmp2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head head" "main side"; gap: 0 var(--s7, 56px); align-items: start; }
.mx-c-head { grid-area: head; } .mx-c-main { grid-area: main; min-width: 0; } .mx-c-side { grid-area: side; position: sticky; top: 90px; min-width: 0; }
.mx-c-side .mx-two { margin-top: 0; }
.mx-cs { margin-top: var(--s6); }
.mx-mh { margin-top: var(--s4); padding: 20px 22px 18px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.mx-mh .t { display: block; font: 600 19px/1.25 var(--f-display); }
.mx-mh .r { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; margin-top: 14px; }
.mx-mh .r.dim { opacity: .8; margin-top: 10px; }
.mx-mh .l { grid-column: 1 / -1; font-size: 13px; font-weight: 600; color: var(--muted); }
.mx-mh .dots { display: flex; gap: 6px; }
.mx-mh .dots i { width: 24px; height: 24px; border-radius: 50%; background: rgba(247, 247, 238, .07); box-shadow: inset 0 0 0 1px rgba(247, 247, 238, .1); }
.mx-mh .dots i.on { background: var(--gold); box-shadow: 0 0 12px rgba(233, 180, 92, .45); }
.mx-mh .dots i.base { background: rgba(247, 247, 238, .35); box-shadow: none; } .mx-mh .dots i.half { background: rgba(247, 247, 238, .2); }
.mx-mh .r em { font: 700 16px/1 var(--f-display); font-style: normal; white-space: nowrap; } .mx-mh .r.dim em { color: var(--muted); }
.mx-mh .v { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.mx-mh .v b { display: block; font-weight: 700; color: var(--gold); } .mx-mh .v span { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.mx-mh .why { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.mx-tab { border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.mx-tab .tr { display: grid; grid-template-columns: minmax(0, 1fr) 84px 84px; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; font-size: 14.5px; color: var(--ink-2); }
.mx-tab .tr + .tr { box-shadow: inset 0 1px 0 var(--line); }
.mx-tab .tr b { text-align: right; font: 700 16px/1 var(--f-display); font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mx-tab .tr.head { min-height: 38px; background: rgba(247, 247, 238, .03); } .mx-tab .tr.head b, .mx-tab .tr.head span { font: 600 12.5px/1 var(--f-body, inherit); color: var(--muted); }
.mx-tab .tr b.hi { color: var(--gold); }
@media (max-width: 900px) {
  .mx-cmp2 { grid-template-columns: 1fr; grid-template-areas: "head" "side" "main"; }
  .mx-c-side { position: static; margin-top: var(--s4); }
  .mx-mh .dots i { width: 20px; height: 20px; gap: 5px; }
  .mx-tab .tr { grid-template-columns: minmax(0, 1fr) 64px 64px; padding: 0 14px; }
}
@media (max-width: 380px) { .mx-mh .dots { gap: 4px; } .mx-mh .dots i { width: 17px; height: 17px; } }
/* на странице сравнения шары плотнее: на телефоне без пустоты над ними, кнопки режимов одной строкой с прокруткой */
.mx-cmp2 .mx-two-fig canvas { height: min(52vh, 480px); }
@media (max-width: 900px) {
  .mx-cmp2 .mx-two-fig canvas { height: auto; aspect-ratio: 1.25 / 1; min-height: 0; }
  .mx-cmp2 .mx-two-names { flex-wrap: wrap; gap: 10px; justify-content: space-between; }
  .mx-cmp2 .mx-two-btns { order: 3; flex-basis: 100%; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .mx-cmp2 .mx-two-btns::-webkit-scrollbar { display: none; } .mx-cmp2 .mx-two-btns button { flex: none; }
}

/* 6.11, Леша: компактнее и ровнее. Ничего не растягиваем, кнопки шара не наезжают на имена, оценки ровными колонками */
.mx-cmp2 { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 0 44px; }
.mx-cmp2 .mx-c-side { top: 84px; }
.mx-cmp2 .mx-two-names { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px 12px; }
.mx-cmp2 .mx-two-names > span:first-child { grid-column: 1; grid-row: 1; } .mx-cmp2 .mx-two-names > span:last-child { grid-column: 3; grid-row: 1; }
.mx-cmp2 .mx-two-btns { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; gap: 2px; padding: 3px; scrollbar-width: none; }
.mx-cmp2 .mx-two-btns::-webkit-scrollbar { display: none; }
.mx-cmp2 .mx-two-btns button { flex: none; height: 30px; padding: 0 12px; font-size: 13px; }
.mx-cmp2 .mx-two-fig canvas { height: min(40vh, 360px); min-height: 240px; aspect-ratio: auto; }
.mx-cmp2 .mx-two-f .chip, .mx-cmp2 .mx-two-f button { height: 32px; font-size: 13px; padding: 0 12px; }
.mx-cmp2 .mx-two-f { gap: 6px; } .mx-cmp2 .mx-two-cap { font-size: 13px; margin-top: 8px; }
.mx-cmp2 .mx-cs { margin-top: 30px; } .mx-cmp2 .sec-h { margin-bottom: 10px; } .mx-cmp2 .mx-fb-sub { margin: -4px 0 10px; font-size: 13.5px; }
.mx-cmp2 .mx-fb { margin-top: 30px; }
.mx-mh { padding: 16px 18px 14px; border-radius: 18px; }
.mx-mh .t { font-size: 16px; }
.mx-mh .r { margin-top: 10px; gap: 4px 12px; } .mx-mh .r.dim { margin-top: 8px; }
.mx-mh .l { font-size: 12.5px; }
.mx-mh .dots { gap: 5px; } .mx-mh .dots i { width: 16px; height: 16px; }
.mx-mh .r em { font-size: 14px; min-width: 52px; text-align: right; }
.mx-mh .v { margin-top: 12px; padding-top: 10px; } .mx-mh .v b { font-size: 14.5px; } .mx-mh .v span { font-size: 13px; }
.mx-tab .tr { min-height: 40px; padding: 0 16px; font-size: 13.5px; grid-template-columns: minmax(0, 1fr) 72px 72px; }
.mx-tab .tr b { font-size: 15px; } .mx-tab .tr.head { min-height: 32px; }
/* строки фильмов: плотнее, справа оценки в колонках по 44px, у всех строк одинаково */
.mx-cmp2 .row { min-height: 0; padding: 8px 10px; gap: 12px; }
.mx-cmp2 .row .th { width: 40px; height: 60px; flex: none; }
.mx-cmp2 .row .t { font-size: 15px; } .mx-cmp2 .row .y { font-size: 12.5px; }
.mx-cmp2 .row .r { display: grid; grid-auto-flow: column; grid-auto-columns: 50px; justify-items: center; align-items: center; gap: 4px; }
.mx-cmp2 .row .rc { width: 38px; height: 38px; font-size: 15px; } .mx-cmp2 .row .rc small { font-size: 6px; }
.mx-cmp2 .row .rc.mine.gold { margin-inline: 0; }
.mx-cmp2 .mx-who { width: 50px; } .mx-cmp2 .mx-who i { font-size: 9.5px; max-width: 50px; }
.mx-cmp2 .mx-a { --aw: 40px !important; } .mx-cmp2 .mx-ib { width: 36px; height: 36px; }
.mx-cmp2 .rows { gap: 6px; }
@media (max-width: 900px) {
  .mx-cmp2 .mx-two-fig canvas { height: auto; aspect-ratio: 1.45 / 1; min-height: 0; }
  .mx-cmp2 .row .r { grid-auto-columns: 46px; }
}
.mx-cmp2 .mx-a > .row { padding-right: 58px; } .mx-cmp2 .mx-a-b { right: 10px; }
.mx-mh.wait .dots i { width: 14px; height: 14px; }
@media (max-width: 900px) { .mx-cmp2 { grid-template-columns: 1fr; grid-template-areas: "head" "side" "main"; gap: 0; } }
/* 6.11, Леша: все кружки оценок на одной линии. Подпись под кружком не занимает места, кружок не уезжает вверх */
.mx-cmp2 .mx-who { position: relative; display: grid; place-items: center; height: 38px; }
.mx-cmp2 .mx-who i { position: absolute; top: calc(100% + 3px); left: 50%; transform: translateX(-50%); line-height: 1; }
.mx-cmp2 .row .r { align-items: center; padding-bottom: 0; }
/* 6.11, Леша: режимы шара без листания вбок. Переносятся на вторую строку, по центру */
.mx-cmp2 .mx-two-btns { flex-wrap: wrap !important; overflow: visible !important; justify-content: center !important; border-radius: 18px; gap: 4px; }
/* «Подробное сравнение» под шарами профиля и перелёт шаров (6.11, Леша) */
.mx-two-more { display: flex; align-items: center; justify-content: center; gap: 6px; width: max-content; margin: -64px auto 22px; padding: 6px 10px; position: relative; z-index: 2;
  color: var(--gold); font: 600 15px/1 var(--f-display); transition: opacity var(--d2); }
.mx-two-more svg { transform: rotate(180deg); transition: transform var(--d2); } .mx-two-more:hover svg { transform: rotate(180deg) translateX(-3px); }
.mx-fly { position: fixed; z-index: 900; pointer-events: none; transform-origin: center; }

/* «Что ты пересматриваешь?» (6.11, Леша): окно и три входа, как в приложении */
.modal .box.rwp-box { max-width: 520px; }
.rwp-h { margin: 2px 40px 12px 0; }
.rwp-why { padding: 10px 14px; border-radius: 12px; background: rgba(233, 180, 92, .1); color: #e9b45c; font: 600 14px/1.4 var(--f-display); }
.rwp-sub { margin: 10px 0 12px; }
.rwp-head { display: flex; justify-content: space-between; margin: 0 0 4px; font: 600 12px var(--f-display); color: var(--muted); }
.rwp-l { display: grid; max-height: min(52vh, 480px); overflow: auto; margin: 0 -6px; padding: 0 6px; overscroll-behavior: contain; }
.rwp-r { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(247, 247, 238, .07); } .rwp-r:first-child { border-top: 0; }
.rwp-r .ph { width: 40px; height: 60px; border-radius: 8px; overflow: hidden; flex: none; background: #2a2520; } .rwp-r .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rwp-t { flex: 1; min-width: 0; display: grid; } .rwp-t b { font: 700 15px var(--f-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.rwp-t small { margin-top: 2px; color: var(--muted); font: 500 12.5px var(--f-display); }
.rwp-st { display: flex; align-items: center; gap: 2px; flex: none; border-radius: 999px; background: rgba(247, 247, 238, .05); box-shadow: inset 0 0 0 1px rgba(247, 247, 238, .1); }
.rwp-st button { width: 36px; height: 36px; border: 0; background: none; color: var(--ink); font: 600 20px var(--f-display); border-radius: 50%; cursor: pointer; }
.rwp-st button:hover { background: rgba(247, 247, 238, .06); } .rwp-st button:active { transform: scale(.9); }
.rwp-st b { min-width: 22px; text-align: center; font: 800 15px var(--f-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.rwp-st.on { background: rgba(233, 180, 92, .14); box-shadow: inset 0 0 0 1px rgba(233, 180, 92, .45); } .rwp-st.on b { color: #e9b45c; }
.rwp-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; } .rwp-btns .btn { flex: 1 1 160px; }
.rwp-pp { display: flex; gap: 8px; } .rwp-pp img { width: 52px; height: 78px; border-radius: 8px; object-fit: cover; background: #2a2520; }
.rwp-entry { position: relative; display: grid; gap: 10px; justify-items: start; padding: 20px; border-radius: 20px; background: rgba(247, 247, 238, .04); box-shadow: inset 0 0 0 1px rgba(247, 247, 238, .09); }
.rwp-entry > b { font: 700 18px var(--f-display); color: var(--ink); } .rwp-entry > span { max-width: 560px; color: var(--muted); font: 500 14px/1.45 var(--f-display); }
.rwp-entry .btn { min-width: 240px; margin-top: 4px; }
.rwp-port .rwp-x { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; background: none; box-shadow: none; color: var(--muted); }
.dc-rwp { margin-top: 18px; background: rgba(20, 15, 6, .05); box-shadow: inset 0 0 0 1px rgba(20, 15, 6, .1); }
.dc-rwp > b { color: var(--label-ink); } .dc-rwp > span { color: var(--label-muted); }
.rwp-empty { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 36px 16px 20px; }
.rwp-empty > b { font: 700 20px var(--f-display); color: var(--ink); } .rwp-empty > span { max-width: 380px; color: var(--muted); font: 500 14.5px/1.45 var(--f-display); }
.rwp-empty .btn { min-width: 260px; margin-top: 6px; }
@media (max-width: 560px) { .rwp-entry .btn, .rwp-empty .btn { width: 100%; min-width: 0; } }

/* 7.11, Леша: новичок в «Моём вкусе». Шар растёт с каждой оценкой, под ним шкала порогов */
.mx-nb { align-items: center; }
.mx-nb-btns { margin-top: var(--s5); gap: 10px; flex-wrap: wrap; } .mx-nb-btns .btn { margin-top: 0 !important; }
.mx-nb-r { display: grid; gap: 18px; justify-items: center; width: 100%; }
.mx-nb-fig { position: relative; margin: 0; width: min(100%, 380px); aspect-ratio: 1; border-radius: 50%; }
.mx-nb-fig canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mx-nb-fig::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(233, 180, 92, .1), rgba(233, 180, 92, 0) 70%); animation: nbBreath 3.2s ease-in-out infinite; }
.mx-nb-cloud { position: absolute; inset: 0; transition: opacity .6s; } .mx-nb-cloud.off { opacity: 0; pointer-events: none; }
.mx-nb-cloud i { position: absolute; width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: rgba(247, 247, 238, .16); animation: nbTw 3s ease-in-out var(--d) infinite; }
.mx-nb-fig.flash::after { content: ""; position: absolute; inset: 30%; border-radius: 50%; background: radial-gradient(circle, rgba(242, 198, 119, .85), rgba(233, 180, 92, 0) 70%); animation: nbFlash .9s ease-out both; pointer-events: none; }
@keyframes nbBreath { 50% { transform: scale(1.06); opacity: .7; } }
@keyframes nbTw { 50% { opacity: .35; transform: scale(.7); } }
@keyframes nbFlash { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.mx-nb-scale { width: min(100%, 420px); }
.mx-nb-bar { position: relative; height: 4px; margin: 14px 10px 26px; border-radius: 4px; background: rgba(247, 247, 238, .1); }
.mx-nb-bar > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: linear-gradient(90deg, #c98f3a, #f2c677); transition: width .8s var(--ease); }
.mx-nb-m { position: absolute; top: 50%; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: #1c1712; box-shadow: inset 0 0 0 2px rgba(247, 247, 238, .22); }
.mx-nb-m b { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); font: 700 11.5px var(--f-display); color: var(--faint); font-variant-numeric: tabular-nums; }
.mx-nb-m.on { background: var(--gold); box-shadow: 0 0 10px rgba(233, 180, 92, .6); } .mx-nb-m.on b { color: var(--gold); }
.mx-nb-m.nx { box-shadow: inset 0 0 0 2px var(--gold); } .mx-nb-m.nx b { color: var(--ink); }
.mx-nb-cap { margin: 0; text-align: center; color: var(--muted); font: 600 14px/1.45 var(--f-display); } .mx-nb-cap b { color: var(--gold); }

/* подсказки с затемнением: светится одно место, рядом текст */
.cm { position: fixed; inset: 0; z-index: 9000; opacity: 0; transition: opacity .25s; } .cm.on { opacity: 1; } .cm.out { opacity: 0; pointer-events: none; }
.cm-hole { position: fixed; box-shadow: 0 0 0 200vmax rgba(6, 4, 2, .74), 0 0 0 2px rgba(233, 180, 92, .55), 0 0 30px rgba(233, 180, 92, .25); pointer-events: none;
  transition: left .45s var(--ease), top .45s var(--ease), width .45s var(--ease), height .45s var(--ease), border-radius .45s, opacity .3s; }
.cm-tip { position: fixed; padding: 18px 18px 16px; border-radius: 18px; background: linear-gradient(180deg, #221b14, #17120d); box-shadow: inset 0 0 0 1px rgba(233, 180, 92, .28), 0 20px 50px rgba(0, 0, 0, .55);
  color: var(--ink); font: 500 14.5px/1.5 var(--f-display); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s, left .45s var(--ease), top .45s var(--ease); }
.cm-tip.on { opacity: 1; transform: none; }
.cm-tip p { margin: 0 0 8px; color: rgba(247, 247, 238, .78); } .cm-tip .cm-t { margin-bottom: 6px; color: var(--ink); font: 700 17px/1.3 var(--f-display); }
.cm-n { margin-bottom: 6px; color: var(--gold); font: 700 11.5px var(--f-display); letter-spacing: .04em; }
.cm-x { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--muted); cursor: pointer; }
.cm-x:hover { background: rgba(247, 247, 238, .07); color: var(--ink); }
.cm-f { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; } .cm-f:empty { display: none; }
.cm-film { display: flex; gap: 14px; align-items: center; margin: 10px 0 12px; } .cm-film .ph { width: 72px; aspect-ratio: 2 / 3; border-radius: 9px; overflow: hidden; flex: none; background: #2a2520; }
.cm-film .ph img { width: 100%; height: 100%; object-fit: cover; display: block; } .cm-film b { display: block; font: 700 16px/1.3 var(--f-display); } .cm-film small { color: var(--muted); }
.cm-sc { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.cm-sc button { height: 34px; border: 0; border-radius: 8px; background: rgba(247, 247, 238, .07); color: var(--ink); font: 700 14px var(--f-display); cursor: pointer; transition: background .15s, transform .15s; }
.cm-sc button:hover { background: var(--c); color: #140f06; } .cm-sc button.on { background: var(--c); color: #140f06; transform: scale(1.1); }
.cm-skip { margin-top: 10px; font-size: 13.5px; }
.cm-fly { position: fixed; z-index: 9500; overflow: hidden; pointer-events: none; box-shadow: 0 0 0 2px var(--c), 0 0 26px var(--c); background: var(--c); }
.cm-fly img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) { .cm-hole, .cm-tip { transition: none; } .mx-nb-fig::before, .mx-nb-cloud i { animation: none; } }
@media (max-width: 760px) { .mx-nb-fig { width: min(64vw, 260px); } .mx-nb-r { gap: 10px; } }
.cm-hole.soft { box-shadow: none; transition: opacity .3s; }
.cm-rw { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; color: rgba(247, 247, 238, .78); font: 500 13.5px/1.35 var(--f-display); }
.cm-rw .rwp-st button { width: 30px; height: 30px; font-size: 17px; } .cm-rw .rwp-st b { min-width: 18px; font-size: 14px; }
.cm-tip .stars { display: flex; justify-content: space-between; width: 100%; }
.cm-tip .stars.lg button { width: 10%; height: 40px; } .cm-tip .stars.lg button::before { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
.cm-f .btn .src-ic, .mx-nb-btns .src-ic { display: inline-flex; gap: 2px; margin-right: 4px; } .cm-f .btn .imp-logo, .mx-nb-btns .imp-logo { width: 18px; height: 18px; }
.cm-tip .cm-sc { display: none; }
.cm-body .cm-rw { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid rgba(247, 247, 238, .08); }
/* окно оценки рядом с шаром (7.11, Леша): шар остаётся на виду и растёт с каждой оценкой */
.nb-pop { position: fixed; z-index: 8000; width: 360px; padding: 18px 18px 16px; border-radius: 18px; background: linear-gradient(180deg, #221b14, #17120d);
  box-shadow: inset 0 0 0 1px rgba(233, 180, 92, .28), 0 20px 50px rgba(0, 0, 0, .55); color: var(--ink); font: 500 14.5px/1.5 var(--f-display);
  opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s, top .35s var(--ease); }
.nb-pop.on { opacity: 1; transform: none; }
.nb-pop .cm-t { margin: 0 0 6px; font: 700 17px/1.3 var(--f-display); } .nb-pop p { margin: 0 0 8px; color: rgba(247, 247, 238, .78); }
.nb-pop .stars { display: flex; justify-content: space-between; width: 100%; } .nb-pop .stars.lg button { width: 10%; height: 40px; }
.nb-pop .stars.lg button::before { width: 28px; height: 28px; margin: -14px 0 0 -14px; }
.nb-last:empty { display: none; } .nb-last .cm-rw { margin: 0 34px 12px 0; padding-bottom: 12px; border-bottom: 1px solid rgba(247, 247, 238, .08); }
.nb-pop .cm-f:empty { display: none; }
@media (max-width: 760px) { .nb-pop { left: 8px; right: 8px; bottom: 8px; width: auto; max-height: 62vh; overflow: auto; } }
.nb-dim { position: fixed; inset: 0; z-index: 7990; opacity: 0; transition: opacity .3s; } .nb-dim.on { opacity: 1; }
.nb-pop { width: 380px; padding: 20px; border-radius: 22px; background: linear-gradient(180deg, rgba(38, 30, 22, .96), rgba(22, 17, 12, .97)); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(233, 180, 92, .3), 0 30px 70px rgba(0, 0, 0, .6), 0 0 80px rgba(233, 180, 92, .06); }
.nb-pop .cm-film .ph { width: 84px; box-shadow: 0 10px 24px rgba(0, 0, 0, .45); }
.nb-pop .cm-film b { font-size: 18px; }
.cm-thr { display: block; width: 100%; height: 130px; margin: 4px 0 10px; }
.gt-sph { display: block; width: 100%; aspect-ratio: 1; max-height: 360px; }
/* вертикальная карточка оценки (7.11, Леша): постер крупно, под ним звёзды, после оценки пересмотры и «Следующий фильм» */
.nb-card { display: grid; justify-items: center; text-align: center; gap: 4px; margin: 6px 0 14px; transition: opacity .35s, transform .35s; }
.nb-card .ph { width: 168px; aspect-ratio: 2 / 3; border-radius: 12px; overflow: hidden; background: #2a2520; box-shadow: 0 16px 34px rgba(0, 0, 0, .5); margin-bottom: 8px; }
.nb-card .ph img { width: 100%; height: 100%; object-fit: cover; display: block; animation: nbIn .35s ease both; }
.nb-card b { font: 700 19px/1.25 var(--f-display); color: var(--ink); } .nb-card small { color: var(--muted); font-size: 13.5px; }
.nb-card.gone { opacity: .35; transform: scale(.97); } .nb-card.done .ph { box-shadow: 0 16px 34px rgba(0, 0, 0, .5), 0 0 0 2px rgba(233, 180, 92, .5); }
@keyframes nbIn { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
.nb-act { display: grid; justify-items: center; gap: 4px; } .nb-act .cm-skip { margin-top: 6px; }
.cm-tip .nb-card .ph { width: 140px; }
.cm-dot { position: fixed; z-index: 9500; width: 18px; height: 18px; border-radius: 50%; pointer-events: none; background: var(--c); box-shadow: 0 0 14px var(--c), 0 0 32px var(--c); }
.nb-rated { font: 600 14px var(--f-display); color: var(--muted); } .nb-rated b { color: var(--c); font: 800 22px var(--f-display); margin-right: 2px; }
.nb-act .cm-rw { width: 100%; margin: 8px 0 4px; padding-top: 12px; border-top: 1px solid rgba(247, 247, 238, .08); }
.nb-next { width: 100%; margin-top: 8px; }
.nb-pop { width: 360px; }
@media (max-width: 760px) { .nb-card .ph { width: 120px; } .nb-pop { max-height: 70vh; } }
.nb-load { display: grid; justify-items: center; gap: 8px; padding: 6px 0 4px; }
.nb-load .ph, .nb-load i { position: relative; overflow: hidden; background: rgba(247, 247, 238, .06); border-radius: 12px; }
.nb-load .ph { width: 168px; aspect-ratio: 2 / 3; margin-bottom: 6px; } .nb-load i { width: 150px; height: 14px; border-radius: 7px; } .nb-load i.s { width: 70px; }
.nb-load .ph::after, .nb-load i::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(233, 180, 92, .14), transparent); animation: nbShine 1.2s ease-in-out infinite; }
.nb-load p { margin: 6px 0 0; color: var(--muted); font: 600 13px var(--f-display); }
@keyframes nbShine { to { transform: translateX(100%); } }
.cm-tip .nb-load .ph { width: 140px; }
@media (max-width: 760px) { .nb-load .ph { width: 120px; } }
.nb-ints { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 14px; } .nb-ints .chip { font-size: 13px; }
/* окно оценки красивее (7.11, Леша): заголовок по центру с воздухом, свечение цветов постера, звёзды крупнее */
.nb-pop { padding: 30px 26px 22px; overflow: hidden; }
.nb-pop::before { content: ""; position: absolute; inset: -20%; z-index: 0; background: var(--bg, none) center / cover; filter: blur(46px) saturate(1.4); opacity: .32;
  -webkit-mask-image: radial-gradient(70% 55% at 50% 32%, #000, transparent 75%); mask-image: radial-gradient(70% 55% at 50% 32%, #000, transparent 75%); transition: background-image .4s; pointer-events: none; }
.nb-pop > * { position: relative; z-index: 1; }
.nb-pop .cm-x { position: absolute; z-index: 2; top: 12px; right: 12px; }
.nb-pop .cm-body > .cm-t { text-align: center; margin: 0 24px 14px; font: 600 15px/1.35 var(--f-display); color: rgba(247, 247, 238, .7); letter-spacing: .01em; }
.nb-pop .nb-card { margin: 0 0 16px; } .nb-pop .nb-card .ph { width: 180px; border-radius: 14px; box-shadow: 0 22px 44px rgba(0, 0, 0, .55), 0 0 0 1px rgba(247, 247, 238, .08); margin-bottom: 12px; }
.nb-pop .nb-card b { font-size: 21px; letter-spacing: -.01em; } .nb-pop .nb-card small { font-size: 14px; }
.nb-pop .stars { gap: 0; } .nb-pop .stars.lg button { height: 44px; } .nb-pop .stars.lg button::before { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.nb-pop .cm-skip { margin-top: 10px; color: var(--muted); font-size: 13.5px; text-decoration-color: rgba(247, 247, 238, .2); }
.nb-pop .nb-last .cm-rw { margin: 0 30px 18px 0; }
@media (max-width: 760px) { .nb-pop { padding: 24px 18px 18px; } .nb-pop .nb-card .ph { width: 128px; } .nb-pop .stars.lg button { height: 38px; } .nb-pop .stars.lg button::before { width: 26px; height: 26px; margin: -13px 0 0 -13px; } }
.nb-pop .cm-body > .nb-card:first-child { margin-top: 4px; } .cm-tip .cm-body > .nb-card:first-child { margin-top: 2px; }
/* «Что смотришь в последнее время?» (7.11, Леша: легче и красивее) */
.nb-ask h3 { margin: 2px 30px 6px 0; font: 700 21px/1.25 var(--f-display); letter-spacing: -.01em; color: var(--ink); text-align: left; }
.nb-ask > p { margin: 0 0 16px; color: var(--muted); font: 500 14px/1.45 var(--f-display); }
.nb-ints { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 16px; }
.nb-int { display: flex; align-items: center; gap: 9px; min-height: 48px; padding: 8px 10px; border: 0; border-radius: 14px; text-align: left; cursor: pointer;
  background: rgba(247, 247, 238, .045); box-shadow: inset 0 0 0 1px rgba(247, 247, 238, .08); color: rgba(247, 247, 238, .86); font: 600 13px/1.25 var(--f-display); transition: background .15s, box-shadow .15s, transform .15s; }
.nb-int i { font-style: normal; font-size: 18px; flex: none; width: 22px; text-align: center; }
.nb-int:hover { background: rgba(247, 247, 238, .07); } .nb-int:active { transform: scale(.97); }
.nb-int.on { background: rgba(233, 180, 92, .14); box-shadow: inset 0 0 0 1.5px rgba(233, 180, 92, .7); color: #f3d7a2; }
.nb-ask .nb-next { width: 100%; }
/* портрет вкуса открылся (7.11, Леша): всё проявляется по очереди и плавно */
.mx-reveal .mx-rd { animation: mxRise .9s cubic-bezier(.2, .7, .2, 1) var(--rd) both; }
.mx-reveal .mx-tsph.mx-rd { animation: mxBloom 1.4s cubic-bezier(.2, .7, .2, 1) var(--rd) both; }
@keyframes mxRise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes mxBloom { from { opacity: 0; transform: scale(.82); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
.mx-unlocked { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 7px 14px 7px 10px; border-radius: 99px;
  background: rgba(233, 180, 92, .14); box-shadow: inset 0 0 0 1px rgba(233, 180, 92, .45), 0 0 30px rgba(233, 180, 92, .2); color: #f3d7a2; font: 700 13.5px var(--f-display);
  animation: mxUnlock 1s cubic-bezier(.2, .7, .2, 1) both; }
.mx-unlocked i { font-style: normal; color: #e9b45c; animation: mxSpark 1.6s ease-in-out .4s 2; }
@keyframes mxUnlock { from { opacity: 0; transform: translateY(-10px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes mxSpark { 50% { transform: rotate(90deg) scale(1.4); text-shadow: 0 0 12px #e9b45c; } }
.nb-now { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 7px 14px; border: 0; border-radius: 99px; cursor: pointer;
  background: rgba(233, 180, 92, .1); box-shadow: inset 0 0 0 1px rgba(233, 180, 92, .3); color: #f3d7a2; font: 600 13px var(--f-display); }
.nb-now svg { width: 14px; height: 14px; color: var(--gold); } .nb-now:hover { background: rgba(233, 180, 92, .16); }

/* 7.11, Леша: в окне оценки новичка сверху сколько осталось до портрета */
.nb-pg { margin: 0 34px 12px 0; font: 600 13px/1.35 var(--font, "Manrope", sans-serif); color: var(--muted); } .nb-pg:empty { display: none; }
.nb-pg b { color: var(--gold, #e9b45c); }
.nb-pg-bar { display: block; height: 4px; margin-top: 8px; border-radius: 4px; background: rgba(247, 247, 238, .1); overflow: hidden; }
.nb-pg-bar > i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #c98f3a, #f2c677); transition: width .6s cubic-bezier(.2, .7, .2, 1); }

/* 7.11, Леша: шкала ровнее. Кружки ставим по центру точно на линию, подписи ровно под ними */
.mx-nb-m { margin: 0; transform: translate(-50%, -50%); box-sizing: border-box; }
.mx-nb-m b { top: 17px; line-height: 1; }
.mx-nb-bar { margin-left: 0; margin-right: 11px; }   /* 7.11, Леша: начало линии и край «300» на одинаковом отступе */

/* 9.11, Леша: «Скачать мои оценки», видно, что нажалось */
.xp-spin { display: block; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(247, 247, 238, .18); border-top-color: var(--gold); animation: xpspin .8s linear infinite; }
@keyframes xpspin { to { transform: rotate(360deg); } }
.xp-ok { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #1a1712; font: 900 13px/1 var(--f-display); font-style: normal; animation: xpok .32s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes xpok { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }

/* Способы входа и расхождения оценок после объединения (9.11) */
.lgn-box { display: flex; flex-direction: column; margin-top: 10px; }
.lgn-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lgn-ic { width: 36px; height: 36px; flex: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--soft, rgba(127,127,127,.1)); }
.lgn-ic .gg, .lgn-ic .ap { width: 18px; height: 18px; display: block; }
.lgn-ic .gg { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23FFC107' d='M43.6 20.5H42V20H24v8h11.3C33.7 32.7 29.2 36 24 36c-6.6 0-12-5.4-12-12s5.4-12 12-12c3.1 0 5.8 1.2 7.9 3.1l5.7-5.7C34 6.1 29.3 4 24 4 12.9 4 4 12.9 4 24s8.9 20 20 20 20-8.9 20-20c0-1.3-.1-2.4-.4-3.5z'/%3E%3Cpath fill='%23FF3D00' d='M6.3 14.7l6.6 4.8C14.7 15.1 19 12 24 12c3.1 0 5.8 1.2 7.9 3.1l5.7-5.7C34 6.1 29.3 4 24 4 16.3 4 9.7 8.3 6.3 14.7z'/%3E%3Cpath fill='%234CAF50' d='M24 44c5.2 0 9.9-2 13.4-5.2l-6.2-5.2C29.2 35.1 26.7 36 24 36c-5.2 0-9.6-3.3-11.3-8l-6.5 5C9.5 39.6 16.2 44 24 44z'/%3E%3Cpath fill='%231976D2' d='M43.6 20.5H42V20H24v8h11.3c-.8 2.2-2.2 4.2-4.1 5.6l6.2 5.2C37 39.2 44 34 44 24c0-1.3-.1-2.4-.4-3.5z'/%3E%3C/svg%3E") center/contain no-repeat; }
.lgn-ic .ap { background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 20'%3E%3Cpath d='M14.1 10.6c0-2.6 2.1-3.8 2.2-3.9-1.2-1.8-3.1-2-3.7-2-1.6-.2-3.1.9-3.9.9-.8 0-2-.9-3.4-.9C3.6 4.7 2 5.7 1.1 7.3c-1.9 3.2-.5 8 1.3 10.6.9 1.3 1.9 2.7 3.3 2.6 1.3-.1 1.8-.8 3.4-.8 1.6 0 2 .8 3.4.8 1.4 0 2.3-1.3 3.2-2.6 1-1.5 1.4-2.9 1.4-3-.1 0-2.9-1.1-3-4.3zM11.5 3c.7-.9 1.2-2 1.1-3.2-1 0-2.3.7-3 1.6-.7.8-1.3 2-1.1 3.1 1.1.1 2.3-.6 3-1.5z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 20'%3E%3Cpath d='M14.1 10.6c0-2.6 2.1-3.8 2.2-3.9-1.2-1.8-3.1-2-3.7-2-1.6-.2-3.1.9-3.9.9-.8 0-2-.9-3.4-.9C3.6 4.7 2 5.7 1.1 7.3c-1.9 3.2-.5 8 1.3 10.6.9 1.3 1.9 2.7 3.3 2.6 1.3-.1 1.8-.8 3.4-.8 1.6 0 2 .8 3.4.8 1.4 0 2.3-1.3 3.2-2.6 1-1.5 1.4-2.9 1.4-3-.1 0-2.9-1.1-3-4.3zM11.5 3c.7-.9 1.2-2 1.1-3.2-1 0-2.3.7-3 1.6-.7.8-1.3 2-1.1 3.1 1.1.1 2.3-.6 3-1.5z'/%3E%3C/svg%3E") center/contain no-repeat; }
.lgn-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lgn-t span { color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lgn-warn { margin-top: 12px; padding: 12px 14px; border: 0; border-radius: 12px; background: rgba(233,180,92,.14); color: inherit; font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.lgn-mail { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; max-width: 360px; }
.lgn-mail[hidden], .lgn-mail input[hidden], #lgn-tg[hidden], #lgn-mail-h[hidden] { display: none; }
#lgn-tg { margin: 10px 0 4px; padding: 14px 16px; border-radius: 14px; background: rgba(233,180,92,.12); color: var(--ink); max-width: 420px; }
#lgn-tg .pin { display: block; margin-top: 6px; font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: .06em; color: var(--accent, #e9b45c); }
.mc-row { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mc-p { width: 46px; height: 69px; flex: none; border-radius: 6px; object-fit: cover; background: var(--soft, rgba(127,127,127,.1)); }
.mc-b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; } .mc-b span { color: var(--muted); font-size: 14px; }
.mc-stars { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; }
.mc-stars button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: none; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
.mc-stars button.on { background: var(--ink, #111); color: var(--bg, #fff); border-color: transparent; }
