/* Страница билета. Дополняет stub.css: палитра, шапка, подвал и .lang берутся оттуда. */
.page-ticket .sheet{max-width:720px;margin:0 auto;padding:0 clamp(4px,2vw,16px);min-height:100vh;display:flex;flex-direction:column}
.page-ticket header{padding:clamp(18px,3vw,30px) clamp(8px,2vw,16px)}
.page-ticket footer{margin-top:auto;padding:clamp(28px,4vw,44px) clamp(8px,2vw,16px)}

.ticket{display:block;padding:clamp(8px,2vw,16px) clamp(8px,2vw,16px) clamp(24px,4vw,40px);text-align:center}
.ticket .eyebrow{font-size:clamp(10px,2.4vw,12px);letter-spacing:.3em;text-transform:uppercase;color:rgba(201,165,87,.9);margin-bottom:14px}
.ticket h1{font-size:clamp(28px,5vw,42px);line-height:1.1}
.ticket .rule{width:52px;height:1px;background:rgba(201,165,87,.5);margin:22px auto 0}

/* QR намеренно тёмный на белом: сканеру на входе нужен контраст, а не палитра. */
.qr-card{margin:clamp(26px,4vw,36px) auto 0;max-width:340px;padding:clamp(18px,3vw,26px);background:#fff;border-radius:8px;box-shadow:0 18px 44px rgba(0,0,0,.45)}
.qr-card .qr{display:block;width:100%;height:auto;max-width:260px;margin:0 auto;image-rendering:pixelated}
.qr-card .code{margin:16px 0 0;max-width:none;font-family:'Manrope',system-ui,sans-serif;font-size:clamp(20px,4vw,26px);font-weight:600;letter-spacing:.14em;color:#12131A}
.qr-card .hint{margin:10px 0 0;max-width:none;font-size:13px;line-height:1.5;color:#5A5C66}

.facts{margin:clamp(26px,4vw,36px) auto 0;max-width:420px;padding:0;text-align:left;display:grid;gap:16px}
.fact{display:grid;grid-template-columns:88px 1fr;gap:14px;align-items:baseline}
.facts dt{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:rgba(239,230,212,.45)}
.facts dd{margin:0;font-size:clamp(15px,1.7vw,17px);line-height:1.5;color:var(--text)}
.facts .time{display:block;font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(26px,5vw,34px);line-height:1.1;color:var(--gold-soft);margin-top:4px}

.actions{margin:clamp(26px,4vw,34px) auto 0;max-width:none}
.btn{display:inline-block;padding:13px 26px;border:1px solid rgba(201,165,87,.55);border-radius:2px;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--gold-soft);transition:background-color .2s,border-color .2s}
.btn:hover{background:rgba(201,165,87,.13);border-color:rgba(201,165,87,.8)}

.notes{margin:clamp(34px,5vw,48px) auto 0;max-width:520px;text-align:left;padding-top:clamp(22px,3vw,30px);border-top:1px solid rgba(239,230,212,.12)}
.notes h2{margin:0;font-family:'Cormorant Garamond',Georgia,serif;font-weight:400;font-size:22px;color:#F6EEDC}
.notes ul{margin:16px 0 0;padding-left:20px;display:grid;gap:9px}
.notes li{font-size:15px;line-height:1.6;font-weight:300;color:rgba(239,230,212,.72)}
.notes li::marker{color:rgba(201,165,87,.6)}

.ticket-missing p{margin-top:26px}
.ticket-booking>p{margin-top:22px;font-size:15px;line-height:1.6;color:rgba(239,230,212,.72)}
.booking-form label{width:100%}
.booking-form input+label{margin-top:8px}
.booking-or{margin:clamp(30px,5vw,44px) auto 0;max-width:520px;padding-top:clamp(22px,3vw,30px);border-top:1px solid rgba(239,230,212,.12);text-align:left}
.booking-or h2{margin:0;font-family:'Cormorant Garamond',Georgia,serif;font-weight:400;font-size:22px;color:#F6EEDC}
.booking-or p{margin-top:10px;font-size:14px;line-height:1.6;color:rgba(239,230,212,.6)}

@media (max-width:420px){
  .fact{grid-template-columns:1fr;gap:4px}
}

/* Блок пожертвования. Живёт после .actions и не должен выглядеть как счёт:
   те же размеры и тот же класс .btn у «Пропустить», что и у кнопок суммы. */
.donation{margin:clamp(34px,5vw,48px) auto 0;max-width:520px;text-align:left;padding-top:clamp(22px,3vw,30px);border-top:1px solid rgba(239,230,212,.12)}
.donation h2{margin:0;font-family:'Cormorant Garamond',Georgia,serif;font-weight:400;font-size:26px;color:#F6EEDC}
.donation p{margin:14px 0 0;max-width:none;font-size:15px;line-height:1.6;font-weight:300;color:rgba(239,230,212,.72)}
.donation .bank{margin:20px 0 0;padding:16px 18px;list-style:none;border:1px solid rgba(201,165,87,.28);border-radius:3px;display:grid;gap:10px}
.donation h3{margin:28px 0 0;font-family:'Cormorant Garamond',Georgia,serif;font-weight:400;font-size:21px;color:#F6EEDC}
.donation .donation-note{font-size:13px;color:rgba(239,230,212,.55)}
.donation-amounts{margin:22px 0 0;display:flex;flex-wrap:wrap;gap:10px}
.donation-custom{margin:16px 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.donation-custom label{font-size:13px;color:rgba(239,230,212,.55)}
.donation-custom input{width:110px;padding:12px 14px;background:transparent;border:1px solid rgba(239,230,212,.22);border-radius:2px;color:var(--text);font-family:inherit;font-size:15px}
.donation-custom input:focus-visible{outline:none;border-color:rgba(201,165,87,.75)}
.donation-amounts .btn,.donation-custom .btn{background:transparent;font-family:inherit;cursor:pointer}
.donation-actions{margin:22px 0 0}
.donation-thanks h2{color:var(--gold-soft)}
.ticket-donate-now .donation{margin-top:clamp(26px,4vw,34px)}
.ticket-donate-now .donate-powered{margin:14px 0 0;display:flex;justify-content:flex-end}
.ticket-donate-now .donate-powered img{display:block;height:24px;width:auto;opacity:.7}

/* Счётчик сбора на странице «Пожертвовать сейчас» — тот же, что в карточке
   первого экрана (site.css). Полоса — <progress>: CSP запрещает style="". */
.fund-page{margin:clamp(24px,4vw,32px) auto 0;max-width:520px;padding:18px 20px;border:1px solid rgba(201,165,87,.28);border-radius:3px;text-align:left}
.fund-numbers{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0;max-width:none}
.fund-raised{font-family:'Cormorant Garamond',Georgia,serif;font-weight:400;font-size:clamp(26px,4vw,32px);line-height:1;color:#F6EEDC}
.fund-goal{font-size:13px;color:rgba(239,230,212,.5);white-space:nowrap}
.fund-bar{display:block;width:100%;height:5px;margin-top:10px;border:none;border-radius:3px;overflow:hidden;background:rgba(239,231,220,.14);color:var(--gold);-webkit-appearance:none;appearance:none}
.fund-bar::-webkit-progress-bar{background:rgba(239,231,220,.14);border-radius:3px}
.fund-bar::-webkit-progress-value{background:var(--gold);border-radius:3px}
.fund-bar::-moz-progress-bar{background:var(--gold);border-radius:3px}
.fund-since{margin:8px 0 0;max-width:none;font-size:12px;letter-spacing:.03em;color:rgba(239,230,212,.5)}

/* Регулярное пожертвование — основной блок: без верхней черты, крупнее
   заголовок, кнопки суммы с заливкой, «Подписаться» золотой. */
.donation-primary{border-top:none;padding-top:0}
.donation-primary h2{font-size:clamp(28px,4vw,32px);color:var(--gold-soft)}
.donation-primary .donation-amounts .btn{background:rgba(201,165,87,.13);border-color:rgba(201,165,87,.8);font-weight:500}
.donation-primary .donation-amounts .btn:hover{background:rgba(201,165,87,.22)}
.donation-primary .donation-custom .btn-gold{padding:13px 24px;font-size:13px;letter-spacing:.1em;text-transform:uppercase}

/* Блок «Получить билет в WhatsApp». Обычная форма без скриптов: страница
   билета остаётся без единого <script>, это проверяется тестом. */
.whatsapp{margin:clamp(34px,5vw,48px) auto 0;max-width:520px;text-align:left;padding-top:clamp(22px,3vw,30px);border-top:1px solid rgba(239,230,212,.12)}
.whatsapp h2{margin:0;font-family:'Cormorant Garamond',Georgia,serif;font-weight:400;font-size:26px;color:#F6EEDC}
.whatsapp p{margin:14px 0 0;max-width:none;font-size:15px;line-height:1.6;font-weight:300;color:rgba(239,230,212,.72)}
.whatsapp .wa-note{font-size:13px;color:rgba(239,230,212,.55)}
.whatsapp .wa-problem{color:#F0D8D2}
.wa-form{margin:18px 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.wa-form label{width:100%;font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:rgba(239,230,212,.45)}
.wa-form input{flex:1 1 200px;min-width:0;padding:12px 14px;background:transparent;border:1px solid rgba(239,230,212,.22);border-radius:2px;color:var(--text);font-family:inherit;font-size:15px}
.wa-form input:focus-visible{outline:none;border-color:rgba(201,165,87,.75)}
.wa-form .btn{background:transparent;font-family:inherit;cursor:pointer}
.ticket-whatsapp p{margin:22px auto 0;max-width:34em}
.ticket-whatsapp .wa-form{margin:26px auto 0;max-width:420px;justify-content:center}
.ticket-whatsapp .wa-form label{text-align:left}

/* Реквизиты: подпись, значение и кнопка «скопировать». Кнопку создаёт
   /js/copy.js — без него остаются обычные выделяемые строки.

   На узком экране подпись идёт над значением, на широком встаёт слева в свою
   колонку: шесть строк по две сокращаются до шести по одной, и блок перестаёт
   быть длиннее текста, который его объясняет. Третья колонка держится всегда,
   даже у строк без кнопки, — иначе значения разъезжались бы по ширине. */
.bank li{position:relative;display:grid;grid-template-columns:1fr 34px;align-items:center;gap:2px 10px;font-size:14px;line-height:1.45}
.bank-label{grid-column:1/-1;font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:rgba(239,230,212,.4)}
.bank-value{color:#F6EEDC;word-break:break-word;font-variant-numeric:tabular-nums}
@media (min-width:620px){
  .bank li{grid-template-columns:minmax(150px,auto) 1fr 34px;gap:14px}
  .bank-label{grid-column:auto;line-height:1.4}
}
.copy-btn{flex:none;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border:1px solid rgba(201,165,87,.28);border-radius:3px;background:transparent;color:rgba(239,230,212,.6);cursor:pointer;transition:border-color .2s,color .2s}
.copy-btn:hover{border-color:rgba(201,165,87,.7);color:var(--gold-soft)}
.copy-btn:focus-visible{outline:2px solid rgba(201,165,87,.7);outline-offset:2px}
.copy-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5}
.bank-copy-all{position:relative;margin:14px 0 0;text-align:center}
.btn-copy-all{font-size:13px;padding:11px 20px}
.copy-balloon{position:absolute;right:0;bottom:calc(100% + 6px);z-index:2;padding:6px 10px;border-radius:3px;background:#C9A557;color:#12100B;font-size:12px;line-height:1.3;white-space:nowrap;box-shadow:0 6px 18px rgba(0,0,0,.35)}
.bank-copy-all .copy-balloon{right:auto;left:50%;transform:translateX(-50%)}
.copy-balloon.is-failed{background:#C97F7F;color:#1A1B20}
@media (prefers-reduced-motion:no-preference){.copy-balloon{animation:copy-pop .18s ease-out}}
@keyframes copy-pop{from{opacity:0}to{opacity:1}}

/* Страница пожертвований после отзыва: подсказка о сюрпризах для подписчиков
   стоит внутри блока регулярного пожертвования, отбивкой золотой линией. */
.donation .donation-friend{margin:18px 0 0;padding:12px 16px;border-left:2px solid rgba(201,165,87,.75);background:rgba(201,165,87,.07);font-size:15px;line-height:1.6;color:#EFE6D4}

.wallet{margin:14px 0 0;display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.wallet a{display:inline-block;line-height:0}
.wallet img{display:block;height:48px;width:auto}
