/* Экран «Подарки» и суперприз (js/lottery.js) — стиль 13 (Claude Design, tatneft-style-13.css).
   На красном — кремовый текст; в кремовой карточке — тёмный текст, красные надзаголовки разрядкой, красные кнопки-градиенты.
   .s13p--cream — то же содержимое на кремовой шторке «готово» (победители — тёмным текстом). */
.s13p { position: relative; display: flex; flex-direction: column; font-family: "Montserrat TN", Montserrat, system-ui, sans-serif; color: #fdfaf3; text-align: left; }
.s13p svg { flex: none; }
.s13p__over { margin: 0; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #c8283a; }
.s13p__over--w { color: rgba(253, 250, 243, .85); }

/* главное: подарок линией, большая цифра */
.s13p__hero { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; margin-top: 4px; }
.s13p__gift { width: 122px; height: 108px; margin-bottom: 6px; }
.s13p__big { margin-top: 4px; display: flex; align-items: center; justify-content: center; gap: 18px; }
.s13p__big b { font: 700 70px/74px "Origin", "Montserrat TN", Montserrat, sans-serif; text-shadow: 0 10px 30px rgba(90, 0, 20, .35); white-space: nowrap; font-variant-numeric: tabular-nums; }
.s13p__line { width: 56px; height: 1px; background: linear-gradient(90deg, transparent, rgba(253, 250, 243, .5)); }
.s13p__line--r { background: linear-gradient(90deg, rgba(253, 250, 243, .5), transparent); }
.s13p__of { letter-spacing: .2em; color: rgba(253, 250, 243, .8); }
.s13p__bar { margin-top: 12px; width: 240px; max-width: 70%; height: 4px; border-radius: 2px; background: rgba(253, 250, 243, .22); }
.s13p__bar i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #fdfaf3, #f3d48f); box-shadow: 0 0 12px rgba(255, 207, 138, .6); }
.s13p__lead { margin: 10px 32px 0; font-size: 14px; line-height: 20px; font-weight: 500; color: rgba(253, 250, 243, .92); }
@media (max-width: 359px) { .s13p__big b { font-size: 56px; line-height: 60px; } .s13p__line { width: 32px; } }

/* коротко: два факта на стекле */
.s13p__facts { margin: 16px -4px 0; display: flex; flex-direction: column; gap: 8px; }
.s13p__fact { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; font-size: 13px; line-height: 18px;
  background: rgba(253, 250, 243, .1); border: 1px solid rgba(253, 250, 243, .28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.s13p__fact svg { width: 18px; height: 18px; fill: none; stroke: #f3d48f; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.s13p__fact b { font-weight: 700; }

/* карточка суперприза */
.s13p__card { position: relative; margin: 16px -4px 0; padding: 20px; border-radius: 28px; overflow: hidden; background: #fdfaf3; color: #231717; box-shadow: 0 24px 44px -24px rgba(60, 0, 15, .55); }
.s13p__cardfl { position: absolute; right: -18px; top: -18px; width: 96px; height: 96px; opacity: .07; fill: none; stroke: #c8283a; stroke-width: 12; stroke-linecap: round; }
.s13p--cream { color: #231717; }
.s13p__ch { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.s13p__h2 { margin: 6px 0 0; font: 700 28px/32px "Origin", "Montserrat TN", Montserrat, sans-serif; color: #231717; }
.s13p__timer { flex: none; margin-top: 2px; padding: 8px 12px; border-radius: 14px; background: #f4ede5; text-align: right; }
.s13p__timer small { display: block; font-size: 11px; line-height: 14px; font-weight: 600; color: #745d5b; }
.s13p__timer b { display: block; font: 700 17px/20px "Origin", "Montserrat TN", Montserrat, sans-serif; color: #c8283a; white-space: nowrap; font-variant-numeric: tabular-nums; }
.s13p__txt { position: relative; margin: 8px 0 0; font-size: 14px; line-height: 20px; color: #745d5b; }

/* билет «Admit One» */
.s13p__tks { position: relative; margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.s13t { position: relative; width: 100%; max-width: 360px; aspect-ratio: 318 / 150; margin: 0 auto; color: #fdfaf3; filter: drop-shadow(0 14px 16px rgba(154, 11, 44, .3)); }
.s13t__shape { position: absolute; inset: 0; width: 100%; height: 100%; }
.s13t__side { position: absolute; top: 7%; bottom: 7%; width: 15%; display: flex; align-items: center; justify-content: center; writing-mode: vertical-rl; white-space: nowrap;
  font: 700 14px/1 "Origin", "Montserrat TN", Montserrat, sans-serif; letter-spacing: .12em; color: rgba(253, 250, 243, .8); }
.s13t__side--l { left: 3%; } .s13t__side--r { right: 3%; }
.s13t__c { position: absolute; left: 18%; right: 18%; top: 7%; bottom: 7%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; }
.s13t__over { font-size: 9px; line-height: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.s13t__num { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; font: 700 36px/40px "Origin", "Montserrat TN", Montserrat, sans-serif; font-variant-numeric: tabular-nums; }
.s13t__num small { font: 700 15px "Montserrat TN", Montserrat, sans-serif; opacity: .85; }
.s13t__for { padding: 5px 12px; border-radius: 10px; background: #fdfaf3; color: #c8283a; font-size: 11px; line-height: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.s13t__fl, .s13t__sp { position: absolute; display: block; pointer-events: none; }
.s13t__fl svg { width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 12; stroke-linecap: round; }
.s13t__sp svg { width: 100%; height: 100%; fill: #f3d48f; }
.s13t__fl--a1 { left: 29%; top: 12%; width: 14px; height: 14px; opacity: .32; }
.s13t__fl--a2 { right: 27%; bottom: 13%; width: 18px; height: 18px; opacity: .22; transform: rotate(18deg); }
.s13t__sp--a { right: 23%; top: 25%; width: 14px; height: 14px; }
.s13t__fl--b1 { right: 30%; top: 13%; width: 14px; height: 14px; opacity: .3; }
.s13t__fl--b2 { left: 26%; bottom: 12%; width: 18px; height: 18px; opacity: .22; transform: rotate(-14deg); }
.s13t__sp--b { left: 24%; top: 27%; width: 12px; height: 12px; }
@media (max-width: 370px) { .s13t__num { font-size: 30px; line-height: 34px; } .s13t__side { font-size: 12px; } }

/* друзья */
.s13p__fr { position: relative; margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.s13p__frt { font: 700 17px/21px "Origin", "Montserrat TN", Montserrat, sans-serif; color: #231717; }
.s13p__frt em { font-style: normal; color: #c8283a; }
.s13p__steps { flex: none; display: flex; align-items: center; gap: 4px; }
.s13p__steps i { width: 22px; height: 6px; border-radius: 3px; background: #e6dcd2; }
.s13p__steps i.on { background: #c8283a; }
.s13p__steps b { margin-left: 4px; font-size: 12px; font-weight: 700; color: #745d5b; white-space: nowrap; }
.s13p__note { position: relative; margin: 4px 0 0; font-size: 13px; line-height: 18px; color: #745d5b; }
.s13p__btns { position: relative; margin-top: 14px; display: flex; gap: 10px; }
.s13p__btn { flex: 1; height: 56px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 16px; border: 0; border-radius: 20px; cursor: pointer; text-decoration: none;
  background: linear-gradient(160deg, #de3b3d 0%, #9a0b2c 100%); color: #fdfaf3; font: 700 16px/1 "Montserrat TN", Montserrat, sans-serif; box-shadow: 0 14px 24px -12px rgba(154, 11, 44, .65); }
.s13p__ibtn { width: 56px; height: 56px; flex: none; display: flex; align-items: center; justify-content: center; padding: 0; border-radius: 20px; border: 1px solid rgba(200, 40, 58, .15); background: #f4ede5; color: #c8283a; cursor: pointer; }
.s13p__btns svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.s13p__btns .is-ok { background: #1f6b4a; color: #fdfaf3; border-color: transparent; }
.s13p__btn:active, .s13p__ibtn:active { transform: scale(.98); }
.s13p__btn:focus-visible, .s13p__ibtn:focus-visible { outline: 2px solid #f3d48f; outline-offset: 2px; }
.s13p__ok { display: block; margin-top: 8px; font-size: 13px; line-height: 16px; color: #1f6b4a; }
.s13p__ok:empty { display: none; }

/* победители — прямо на красном */
.s13p__win { position: relative; margin: 30px 0 0; }
.s13p__win ul { margin: 8px 0 0; padding: 0; list-style: none; }
.s13p__win li { display: flex; align-items: center; height: 48px; border-bottom: 1px solid rgba(253, 250, 243, .16); font-size: 15px; }
.s13p__win li:last-child { border-bottom: 0; }
.s13p__win time { width: 96px; flex: none; color: rgba(253, 250, 243, .72); }
.s13p__win b { flex: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.s13p__win li.is-me { height: 52px; margin: 6px -10px; padding: 0 10px; border-radius: 16px; border-bottom: 0;
  background: rgba(253, 250, 243, .1); border: 1px solid rgba(253, 250, 243, .28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.s13p__win li.is-me time { color: rgba(253, 250, 243, .85); }
.s13p__win li.is-me b { font-weight: 800; }
.s13p__me { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 12px; background: #fdfaf3; color: #c8283a; font-size: 12px; font-weight: 800; }
.s13p__me svg { width: 11px; height: 11px; fill: #e2b45a; }
.s13p__empty { margin: 8px 0 0; font-size: 14px; line-height: 20px; color: rgba(253, 250, 243, .8); }

/* на кремовой шторке «готово» */
.s13p--cream .s13p__over--w { color: #c8283a; }
.s13p--cream .s13p__win { margin-top: 24px; }
.s13p--cream .s13p__win li { border-bottom-color: rgba(35, 23, 23, .08); }
.s13p--cream .s13p__win time, .s13p--cream .s13p__empty { color: #745d5b; }
.s13p--cream .s13p__win li.is-me { background: rgba(200, 40, 58, .07); border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.s13p--cream .s13p__win li.is-me b { color: #c8283a; }
.s13p--cream .s13p__me { background: #c8283a; color: #fdfaf3; }
.s13p__id { position: relative; margin-top: 14px; padding: 12px 14px; border-radius: 18px; background: #f4ede5; border: 1px solid rgba(200, 40, 58, .08); display: flex; flex-direction: column; gap: 4px; }
.s13p__id span { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.s13p__id span small { font-size: 12px; font-weight: 600; color: #745d5b; }
.s13p__id b { font: 700 22px/26px "Origin", "Montserrat TN", Montserrat, sans-serif; letter-spacing: .08em; color: #c8283a; }
.s13p__id > small { font-size: 12px; line-height: 16px; color: #745d5b; }
