@font-face {
  font-family: 'Taluvo';
  src: url('/assets/media/type-rimin.woff2') format('woff2');
  font-display: swap;
}

:root {
  color-scheme: dark;
  --nos-canvas: #14090d;
  --nos-card: #211017;
  --nos-raised: #2c161d;
  --nos-ivory: #faf5ef;
  --nos-copy: #e8d9d0;
  --nos-muted: #c8aea5;
  --nos-gold: #eab308;
  --nos-champagne: #efcb86;
  --nos-edge: #613c34;
  --nos-rule: #44262a;
  --nos-radius: 8px;
  --nos-serif: Georgia, 'Times New Roman', serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(ellipse at 50% 0, #33151d 0, transparent 54rem), var(--nos-canvas);
  color: var(--nos-copy);
  font: 1rem/1.65 'Taluvo', system-ui, sans-serif;
}

h1, h2, h3, p, dl, dd {
  margin: 0;
}

h1, h2, h3 {
  color: var(--nos-ivory);
  overflow-wrap: break-word;
  text-wrap: balance;
}

h1, h2 {
  font-family: var(--nos-serif);
  font-weight: 400;
}

h1 {
  margin-inline: auto;
  max-width: 26ch;
  font-size: clamp(2.25rem, 1.18rem + 3.6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -.043em;
}

h2 {
  font-size: clamp(1.5rem, 1.16rem + 1vw, 2.2rem);
  line-height: 1.17;
  letter-spacing: -.025em;
}

h3 {
  font-size: 1.025rem;
  line-height: 1.4;
}

a {
  color: var(--nos-champagne);
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

a:hover {
  color: #ffe7b1;
}

button {
  cursor: pointer;
  font: inherit;
}

:where(a, button):focus-visible {
  outline: 2px solid var(--nos-champagne);
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.nos-wrap {
  width: min(1400px, calc(100% - 3rem));
  margin-inline: auto;
}

.nos-header {
  background: #190b10;
  border-bottom: 1px solid var(--nos-edge);
  box-shadow: 0 1px 0 #0009;
}

.nos-strip {
  border-bottom: 1px solid var(--nos-rule);
  background: #10070b;
}

.nos-strip-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
  min-height: 2.65rem;
  color: var(--nos-muted);
  font-size: .76rem;
  letter-spacing: .055em;
}

.nos-strip-row > :last-child {
  text-align: right;
}

.nos-strip-row nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(.9rem, 3vw, 2.5rem);
}

.nos-strip-row a {
  color: var(--nos-copy);
  text-decoration: none;
}

.nos-strip-row a:hover,
.nos-footer nav a:hover {
  color: var(--nos-champagne);
  text-decoration: underline;
}

.nos-masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 6.5rem;
  padding-block: .85rem;
}

.nos-login {
  justify-self: start;
}

.nos-register {
  justify-self: end;
}

.nos-brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  color: var(--nos-ivory);
  font: 400 clamp(1.18rem, 1rem + 1vw, 2rem)/1 var(--nos-serif);
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.nos-crest {
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  width: 2.75rem;
  height: 3rem;
  padding-bottom: .22rem;
  background: linear-gradient(155deg, #f2ce85, #896334 80%);
  color: var(--nos-champagne);
  font-size: .9rem;
  letter-spacing: .03em;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 50% 100%, 0 72%);
}

.nos-crest::before {
  position: absolute;
  z-index: -1;
  inset: 2px;
  background: #29141b;
  clip-path: inherit;
  content: '';
}

.tip_savat,
.nos-console button {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  padding: .64rem 1.05rem;
  border: 1px solid var(--nos-edge);
  border-radius: var(--nos-radius);
  background: #29151b;
  color: var(--nos-ivory);
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease;
}

.tip_savat:hover,
.nos-console button:hover {
  border-color: var(--nos-champagne);
  background-color: #3b2027;
  color: var(--nos-ivory);
}

.fivuz_h4e5hb6,
.fivuz_gd7zmwd,
.fivuz_8hawhgs,
.nos-console [data-ra-kati] {
  border-color: #f1cc73;
  background: linear-gradient(120deg, #f6d897, #d7a644);
  color: #24110f;
  box-shadow: inset 0 1px 0 #fff5;
}

.fivuz_h4e5hb6:hover,
.fivuz_gd7zmwd:hover,
.fivuz_8hawhgs:hover,
.nos-console [data-ra-kati]:hover {
  background: #ffe2a2;
  color: #24110f;
}

.nos-main {
  padding-bottom: clamp(2.5rem, 6vw, 5.5rem);
}

.nos-title {
  display: grid;
  gap: .9rem;
  padding-block: clamp(2.5rem, 5.45vw, 5rem) clamp(1.7rem, 3.1vw, 3rem);
  text-align: center;
}

.nos-title::after {
  justify-self: center;
  width: 3.6rem;
  height: 1px;
  margin-top: .5rem;
  background: linear-gradient(90deg, transparent, var(--nos-gold), transparent);
  content: '';
}

.tip_vetit {
  color: var(--nos-muted);
  font-size: .8rem;
}

.tip_vetit a {
  margin-right: .24rem;
}

.tip_vetit span {
  margin-left: .24rem;
}

.nos-salon {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  min-height: clamp(15rem, 28vw, 25rem);
  overflow: hidden;
  border: 1px solid #8b603e;
  border-radius: var(--nos-radius);
  background: linear-gradient(135deg, #351822, #1d0d12 77%);
  box-shadow: 0 1.5rem 4rem #09030680;
}

.nos-salon-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .85rem;
  padding: clamp(1.4rem, 5.2vw, 5rem);
}

.nos-salon-copy::before {
  position: absolute;
  inset: .6rem;
  border: 1px solid #e5b66b26;
  border-right: 0;
  border-radius: 4px 0 0 4px;
  pointer-events: none;
  content: '';
}

.nos-salon-label {
  color: var(--nos-champagne);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.nos-salon-offer {
  color: var(--nos-ivory);
  font: 400 clamp(1.85rem, .95rem + 3vw, 4.05rem)/1.03 var(--nos-serif);
  letter-spacing: -.04em;
}

.nos-salon-offer span {
  display: block;
  margin-top: .28em;
  color: var(--nos-champagne);
  font-size: .61em;
  letter-spacing: -.018em;
}

.nos-salon-facts {
  color: var(--nos-muted);
  font-size: .78rem;
}

.nos-salon-facts span {
  margin-inline: .12em;
  color: var(--nos-champagne);
}

.nos-salon-art {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-left: 1px solid #8b603e;
  object-fit: cover;
  object-position: 73% center;
}

.tip_karam {
  max-width: 77ch;
  margin: clamp(1.7rem, 3.2vw, 3.2rem) auto;
  padding: .22rem 0 .22rem clamp(.9rem, 2.3vw, 1.7rem);
  border-left: 2px solid #af7a45;
  color: var(--nos-ivory);
  font-size: clamp(1.02rem, .91rem + .4vw, 1.23rem);
  line-height: 1.65;
}

.nos-arena {
  margin-block: 2rem;
  border: 1px solid var(--nos-edge);
  border-radius: var(--nos-radius);
  background: #1d0d13;
}

.nos-arena-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .5rem 2rem;
  flex-wrap: wrap;
  min-height: 3.75rem;
  padding: .85rem clamp(.9rem, 2.6vw, 2rem);
  border-bottom: 1px solid var(--nos-rule);
}

.nos-arena-head strong {
  color: var(--nos-ivory);
  font: 400 clamp(1.35rem, 1.05rem + .75vw, 1.95rem)/1.2 var(--nos-serif);
}

.nos-arena-head span {
  color: var(--nos-muted);
  font-size: .82rem;
}

.nos-arena-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(13.5rem, 1fr);
  gap: .9rem;
  padding: clamp(.7rem, 1.9vw, 1.5rem);
}

.nos-console {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--nos-rule);
  border-radius: var(--nos-radius);
  background: #160b0f;
}

.nos-canvas {
  display: block;
  width: 100%;
  height: auto;
  background: #14090d;
}

.nos-console-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem 1.2rem;
  padding: clamp(.72rem, 2vw, 1.3rem);
  border-top: 1px solid var(--nos-rule);
}

.nos-stakes,
.nos-arena-actions,
.nos-account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.nos-stakes button {
  min-width: 3.2rem;
  padding-inline: .6rem;
}

.nos-console .nos-selected {
  border-color: var(--nos-champagne);
  background: #493020;
  color: var(--nos-champagne);
}

.nos-balance {
  color: var(--nos-muted);
  font-size: .87rem;
  font-variant-numeric: tabular-nums;
}

.nos-balance strong {
  display: block;
  color: var(--nos-ivory);
  font-size: 1.16rem;
}

.nos-arena-actions {
  grid-column: 1 / -1;
}

.nos-round-status {
  grid-column: 1 / -1;
  min-height: 1.5em;
  color: var(--nos-muted);
  font-size: .84rem;
}

.nos-round-result {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: .5rem .9rem;
  align-items: center;
  padding-top: .6rem;
  border-top: 1px solid var(--nos-rule);
  color: var(--nos-champagne);
  font-size: .87rem;
}

.nos-specs {
  display: grid;
  gap: .65rem;
}

.nos-specs > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 5.5rem;
  padding: .8rem 1rem;
  border: 1px solid var(--nos-rule);
  border-radius: var(--nos-radius);
  background: linear-gradient(125deg, var(--nos-raised), var(--nos-card));
}

.nos-specs dt {
  color: var(--nos-muted);
  font-size: .81rem;
}

.nos-specs dd {
  color: var(--nos-champagne);
  font-family: var(--nos-serif);
  font-size: clamp(1.12rem, .94rem + .55vw, 1.53rem);
  line-height: 1.2;
}

.nos-account-actions,
.nos-inline-action {
  justify-content: center;
  margin-block: 1.25rem;
  text-align: center;
}

.nos-editorial {
  display: grid;
  max-width: 76rem;
  margin: clamp(1.6rem, 3.4vw, 3rem) auto 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
  align-items: stretch;
}

.nos-chapter {
  padding: clamp(1.15rem, 2.65vw, 2.4rem);
  border: 1px solid var(--nos-rule);
  border-radius: var(--nos-radius);
  background: linear-gradient(145deg, #29151c, var(--nos-card) 70%);
}

.nos-chapter:has(.tip_novan),
.nos-editorial .nos-inline-action {
  grid-column: 1 / -1;
}

.nos-chapter h2 {
  margin-bottom: .8rem;
}

.nos-chapter p {
  max-width: 78ch;
}

.nos-chapter ol {
  display: grid;
  gap: .4rem;
  padding-inline-start: 1.35rem;
  margin: 0;
}

.nos-chapter li::marker {
  color: var(--nos-champagne);
  font-weight: 700;
}

.tip_novan {
  width: 100%;
  margin-top: 1.15rem;
  border: 1px solid var(--nos-rule);
  border-spacing: 0;
  border-radius: var(--nos-radius);
  background: #190c10;
  font-size: .89rem;
  text-align: left;
}

.tip_novan :is(th, td) {
  padding: .7rem .85rem;
  vertical-align: top;
}

.tip_novan thead th {
  background: #322017;
  color: var(--nos-champagne);
  font-size: .81rem;
}

.tip_novan thead th:first-child {
  border-radius: 7px 0 0 0;
}

.tip_novan thead th:last-child {
  border-radius: 0 7px 0 0;
}

.tip_novan tbody th {
  color: var(--nos-ivory);
}

.tip_novan tbody tr > * {
  border-top: 1px solid var(--nos-rule);
}

.tip_nevep,
.nos-related {
  max-width: 76rem;
  margin: clamp(1.65rem, 4vw, 3.5rem) auto 0;
  padding: clamp(1.1rem, 3.8vw, 3rem);
  border: 1px solid var(--nos-edge);
  border-radius: var(--nos-radius);
}

.tip_nevep {
  background: #1b0d12;
}

.tip_nevep h2,
.nos-related h2 {
  margin-bottom: 1rem;
}

.tip_nevep h3 {
  position: relative;
  padding: .9rem 0 .27rem 1.13rem;
  border-top: 1px solid var(--nos-rule);
}

.tip_nevep h3::before {
  position: absolute;
  top: 1.4rem;
  left: 0;
  width: .35rem;
  height: .35rem;
  transform: rotate(45deg);
  background: var(--nos-gold);
  content: '';
}

.tip_nevep p {
  max-width: 80ch;
  margin-bottom: .9rem;
  padding-inline-start: 1.13rem;
}

.tip_nevep p:last-child {
  margin-bottom: 0;
}

.nos-related {
  background: #211017;
}

.nos-related ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nos-related a {
  display: block;
  padding: .65rem .8rem;
  border-left: 1px solid var(--nos-edge);
  background-color: #301a20;
  text-decoration: none;
}

.nos-related a:hover {
  background-color: #40232b;
  text-decoration: underline;
}

.nos-contact,
.nos-checked {
  max-width: 76rem;
  margin: 1.35rem auto 0;
  color: var(--nos-muted);
  font-size: .84rem;
}

.nos-footer {
  padding-block: 1.65rem 2.3rem;
  border-top: 1px solid var(--nos-edge);
  background: #10070a;
}

.nos-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem 1.25rem;
  padding-block-end: 1.05rem;
  border-bottom: 1px solid var(--nos-rule);
  font-size: .86rem;
}

.nos-footer nav a {
  padding: .25rem 0;
  color: var(--nos-ivory);
  text-decoration: none;
}

.nos-footer p {
  max-width: 95ch;
  padding-top: .88rem;
  color: var(--nos-muted);
  line-height: 1.5;
}

.nos-footer small {
  font-size: .8rem;
}

.nos-sticky {
  display: none;
}

@media (max-width: 820px) {
  .nos-wrap {
    width: min(1400px, calc(100% - 2rem));
  }

  .nos-arena-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nos-specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .nos-strip-row {
    grid-template-columns: auto 1fr;
    gap: .5rem;
    min-height: 2.75rem;
  }

  .nos-strip-row nav {
    justify-content: flex-end;
  }

  .nos-strip-row > :last-child {
    display: none;
  }

  .nos-masthead {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .65rem;
  }

  .nos-brand {
    grid-area: 1 / 1 / auto / -1;
    justify-self: center;
  }

  .nos-login,
  .nos-register {
    justify-self: stretch;
  }

  .nos-masthead .tip_savat {
    width: 100%;
  }

  .nos-masthead :is(.nos-login, .nos-register):empty {
    display: none;
  }

  .nos-salon {
    grid-template-columns: minmax(0, 1fr);
  }

  .nos-salon-copy {
    min-height: 13rem;
  }

  .nos-salon-copy::before {
    border: 1px solid #e5b66b26;
    border-bottom: 0;
    border-radius: 4px 4px 0 0;
  }

  .nos-salon-art {
    height: auto;
    max-height: 17rem;
    aspect-ratio: 16 / 9;
    border: 0;
    border-top: 1px solid var(--nos-edge);
  }

  .nos-editorial {
    grid-template-columns: minmax(0, 1fr);
  }

  .nos-editorial .nos-inline-action {
    margin-block: .55rem;
  }

  body:has(.nos-sticky .tip_savat) {
    padding-bottom: calc(4.4rem + env(safe-area-inset-bottom));
  }

  .nos-sticky:has(.tip_savat) {
    position: fixed;
    z-index: 3;
    inset: auto 0 0;
    display: flex;
    justify-content: center;
    padding: .55rem 1rem calc(.55rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--nos-edge);
    background: #1c0d13;
  }

  .nos-sticky .tip_savat {
    width: min(100%, 30rem);
  }
}

@media (max-width: 435px) {
  .nos-wrap {
    width: calc(100% - 1.35rem);
  }

  .nos-specs {
    grid-template-columns: minmax(0, 1fr);
  }

  .nos-specs > div {
    display: grid;
    grid-template-columns: 44% 1fr;
    align-items: center;
    min-height: 3.15rem;
    padding: .5rem .65rem;
  }

  .nos-console-controls,
  .nos-related ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .nos-balance strong {
    display: inline;
    margin-inline-start: .25rem;
  }

  .nos-arena-actions > * {
    width: 100%;
  }

  .tip_novan,
  .tip_novan tbody {
    display: block;
  }

  .tip_novan thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .tip_novan tr {
    display: grid;
  }

  .tip_novan tbody tr + tr {
    border-top: 1px solid var(--nos-edge);
  }

  .tip_novan tbody tr > * {
    border: 0;
  }

  .tip_novan tbody th {
    padding-block-end: .2rem;
    color: var(--nos-champagne);
  }

  .tip_novan td {
    display: grid;
    gap: .08rem;
    padding-block: .3rem .55rem;
  }

  .tip_novan td::before {
    content: attr(data-label);
    color: var(--nos-muted);
    font-size: .74rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tip_savat,
  .nos-console button {
    transition: none;
  }
}

@media print {
  body {
    padding: 0;
    background: white;
    color: black;
  }

  :is(h1, h2, h3, p, a, small) {
    color: black !important;
  }

  .nos-wrap {
    width: 100%;
  }

  .nos-title {
    padding-block: 1rem;
  }

  .nos-editorial {
    display: block;
  }

  .nos-chapter,
  .tip_nevep,
  .nos-related,
  .tip_novan {
    margin-block: .5rem;
    padding: .6rem;
    background: white;
    color: black;
    break-inside: avoid;
  }

  .nos-header,
  .nos-salon,
  .nos-arena,
  .nos-sticky,
  .nos-account-actions,
  .nos-inline-action {
    display: none !important;
  }

  .nos-footer,
  .nos-related a,
  .tip_novan :is(th, td) {
    background: white;
    color: black;
  }
}

.nos-question-mark {
  margin-inline-start: .19em;
}

.tip_viral .tip_pamot{background:linear-gradient(90deg, rgba(10,10,18,0.93) 0%, rgba(10,10,18,0.78) 52%, rgba(10,10,18,0.22) 100%), url('/assets/media/stage_lomer.webp');background-size:cover;background-position:right center;border-radius:16px;padding:28px 32px;margin:18px 0 24px;color:#f8fafc;}
.tip_viral .tip_pamot [class$='-top']{font-size:clamp(22px,3vw,32px);font-weight:800;line-height:1.15;margin:0 0 14px;max-width:560px;}
.tip_viral .tip_pamot ul{list-style:none;padding:0;margin:0 0 18px;display:flex;flex-wrap:wrap;gap:8px;}
.tip_viral .tip_pamot ul li{background:rgba(255,255,255,0.10);padding:6px 12px;border-radius:8px;font-size:13px;}
.tip_viral .tip_pamot [class$='-foot']{display:flex;flex-wrap:wrap;align-items:center;gap:12px;}
button.tip_savat, button.tip_sutat { cursor: pointer; font: inherit; border: none; }
