/* Д-2291 п.6: Тур по Akadeemia - карточка в «Моё» и экран с таблицей напитков (модули tur.js, tur-tablica.js, D-478).
   Вариант выделения 3 (слово владельца 01.11): ореол только вокруг кольца, у карточки нет ни рамки, ни свечения, ни бегущего огня
   (они остались у баннера «Пригласи друга», referal.css). Цвета - токены портала. */
/* ---- карточка Тура в «Моё»: вариант 3 (слово владельца 01.11): ореол только вокруг кольца, рамки и свечения карточки нет;
   свечение и бегущий огонёк остаются у баннера «Пригласи друга» ---- */
.mo-tur {
  position: relative; isolation: isolate; display: grid; grid-template-columns: 92px minmax(0, 1fr); grid-template-areas: 'ring tx' 'bot bot'; gap: 12px 14px; align-items: center;
  width: 100%; margin: 0 0 12px; padding: 14px; box-sizing: border-box; border: 1.5px solid transparent; border-radius: var(--radius-lg); color: var(--text); font: inherit; text-align: left;
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
}
.mo-tur-ring { grid-area: ring; position: relative; width: 92px; height: 92px; }
.mo-tur-ring::before, .tr-ring::before { content: ''; position: absolute; inset: -16px; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent) 0%, color-mix(in srgb, var(--accent) 5%, transparent) 50%, transparent 70%); }
.mo-tur-ring .ring, .tr-ring .ring { display: block; filter: drop-shadow(0 0 7px color-mix(in srgb, var(--ring-a) 50%, transparent)); }
.mo-tur-ring .ring.dash circle { stroke-dasharray: 3 6; }
.mo-tur-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; }
.mo-tur-num b { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; }
.mo-tur-num span { margin-top: 1px; font-size: 12px; font-weight: 700; color: var(--muted); }
.mo-tur-tx { grid-area: tx; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.mo-tur-tx b { font-size: 20px; font-weight: 800; line-height: 1.15; }
.mo-tur-sub { font-size: 14px; line-height: 1.3; color: var(--muted); }
.tur-wait { color: var(--warn-text); font-size: 13px; }
.mo-tur-bot { grid-area: bot; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.mo-tur-prize { display: inline-flex; align-items: center; gap: 6px; min-width: 0; padding: 6px 10px; border: 1px solid color-mix(in srgb, var(--accent) 70%, var(--line)); border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; color: var(--baner-akcent); }
.mo-tur-prize svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html[data-urv='osnovatel'] .mo-tur-prize { color: var(--stk-znak); }
.mo-tur-go { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border-radius: 12px; background: var(--go-bg); color: var(--go-ink); font-size: 15px; font-weight: 800; white-space: nowrap; }
html[data-urv='osnovatel'] .mo-tur-go { background: var(--stk-znak); }
@media (max-width: 370px) {
  .mo-tur { grid-template-columns: 80px minmax(0, 1fr); gap: 10px 10px; padding: 12px; }
  .mo-tur-ring { width: 80px; height: 80px; } .mo-tur-ring .ring { width: 80px; height: 80px; }
  .mo-tur-num b { font-size: 26px; } .mo-tur-tx b { font-size: 18px; }
  .mo-tur-go { padding: 0 10px; font-size: 14px; } .mo-tur-prize { padding: 6px 8px; font-size: 12px; }
}

html[data-urv='osnovatel'] .mo-tur { color: var(--stk-znak); background: var(--stk-plitka); }
html[data-urv='osnovatel'] .mo-tur-sub, html[data-urv='osnovatel'] .mo-tur-num span { color: var(--stk-tishe); }
html[data-urv] .mo-tur-prize { border-color: color-mix(in srgb, var(--urv) 75%, var(--text)); }
/* ===== экран «Тур»: таблица напитков (слово владельца 01.11) ===== */
.tr { padding: 0 0 16px; }
.tr-plitka { margin: 0 0 14px; cursor: default; } /* Д-2325: плитка не кнопка, вид - `.dom-plitka` из guest-dom.css */
.tr-hero { position: relative; isolation: isolate; margin: 0 0 14px; padding: 20px 14px 16px; border: 1.5px solid transparent; border-radius: var(--radius-lg); text-align: center; box-sizing: border-box;
  background: linear-gradient(160deg, var(--panel-2), var(--panel)); }
html[data-urv='osnovatel'] .tr-hero { background: var(--stk-plitka); }
.tr-ring { position: relative; width: 200px; height: 200px; margin: 0 auto; max-width: 100%; }
.tr-ring::before { inset: -16px; }
.tr-ring .ring { width: 100%; height: 100%; }
.tr-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tr-num { line-height: 1; }
.tr-num b { display: block; font-size: 66px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tr-num span { display: block; margin-top: 4px; font-size: 18px; font-weight: 700; color: var(--muted); }
.tr-txt { margin-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.tr-line { font-size: 18px; font-weight: 800; line-height: 1.25; }
.tr-line.ok { color: var(--ok-text); }
.tr-sub { font-size: 14px; color: var(--muted); }
.tr-rule { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px 0 14px; font-size: 14px; font-weight: 700; color: var(--muted); }
.tr-rule svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tr-rand { width: 100%; }
.tr-pick { margin-top: 12px; padding: 10px 12px; border: 1.5px solid var(--accent); border-radius: 12px; background: color-mix(in srgb, var(--accent) 10%, var(--panel)); display: flex; flex-direction: column; gap: 2px; text-align: left; }
.tr-pick b { font-size: 17px; font-weight: 800; overflow-wrap: anywhere; }
.tr-pick span { font-size: 13px; color: var(--muted); }
.tr-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tr-cta .pk-btn { flex: 1 1 0; min-width: 0; }
.tr-hero.frozen .tr-ring { opacity: .6; }
html[data-urv='osnovatel'] .tr-num span, html[data-urv='osnovatel'] .tr-sub, html[data-urv='osnovatel'] .tr-rule, html[data-urv='osnovatel'] .tr-pick span { color: var(--stk-tishe); }
html[data-urv='osnovatel'] .tr-pick { background: var(--osn-karta); border-color: var(--stk-ramka); }

/* таблица: название, цена, галочка 1 «заказал», галочка 2 «подарок» */
.tb-head, .tb-row { display: grid; grid-template-columns: minmax(0, 1fr) 58px 58px 58px; align-items: center; }
.tb-head { position: sticky; top: -12px; z-index: 3; margin: 0 0 6px; padding: 20px 8px 8px 12px; background: var(--bg); font-size: 11px; font-weight: 700; line-height: 1.15; color: var(--muted); }
.tb-head span:not(:first-child) { text-align: center; }
.tb { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tb-row { min-height: 54px; padding: 6px 8px 6px 12px; box-sizing: border-box; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.tb-row.ord { border-color: color-mix(in srgb, var(--ts-green) 45%, var(--line)); }
.tb-row.pick { border: 2px solid var(--accent); padding: 5px 7px 5px 11px; background: color-mix(in srgb, var(--accent) 10%, var(--panel)); }
.tb-nm { min-width: 0; font-size: 15px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.tb-own { display: block; width: fit-content; margin-top: 3px; padding: 1px 8px; border: 1px solid color-mix(in srgb, var(--accent) 60%, var(--line)); border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; font-style: normal; line-height: 1.35; color: var(--baner-akcent); }
.tb-pr { text-align: center; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.tb-ck { justify-self: center; width: 30px; height: 30px; box-sizing: border-box; display: grid; place-items: center; border: 2px solid var(--edge); border-radius: 9px; background: transparent; }
.tb-ck svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.tb-ck.a.on { border-color: var(--ts-green); background: var(--ts-green); color: var(--bg); }
.tb-ck.b.on { border-color: var(--go-bg); background: var(--go-bg); color: var(--go-ink); }
html[data-urv='osnovatel'] .tb-head { background: transparent; }
html[data-urv='osnovatel'] .tb-row { background: var(--osn-karta); border-color: var(--stk-liniya); }
html[data-urv='osnovatel'] .tb-row.pick { border-color: var(--stk-ramka); }
html[data-urv='osnovatel'] .tb-own { color: var(--stk-znak); }

/* Mugglet в конце таблицы: кружка нейтральной иконкой, модель не выбрана */
.tb-mug { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1.5px dashed var(--edge); border-radius: var(--radius-lg); background: var(--panel); }
.tb-mug-ic { flex: none; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--panel-2); color: var(--muted); }
.tb-mug-ic svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tb-mug-tx { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tb-mug-tx b { font-size: 20px; font-weight: 800; }
.tb-mug-tx span { font-size: 14px; line-height: 1.3; color: var(--muted); }
.tb-mug.got { border-style: solid; border-color: var(--ok-edge); }
.tb-mug.got .tb-mug-ic { background: var(--go-bg); color: var(--go-ink); }
html[data-urv='osnovatel'] .tb-mug { background: var(--osn-karta); border-color: var(--stk-liniya); }
html[data-urv='osnovatel'] .tb-mug-tx span { color: var(--stk-tishe); }
@media (max-width: 370px) {
  .tr-ring { width: 180px; height: 180px; } .tr-num b { font-size: 58px; }
  .tb-head, .tb-row { grid-template-columns: minmax(0, 1fr) 52px 50px 50px; }
  .tb-nm { font-size: 14px; } .tb-pr { font-size: 13px; }
}
html[data-urv='osnovatel'] .tr-line.ok { color: var(--stk-znak); }
.mo-tur:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tur-kolco { display: block; width: 100%; height: 100%; line-height: 0; }
.tr-ring .tur-kolco { position: relative; }
