.ys-consent { position: fixed; z-index: 1000; left: 16px; right: 16px; bottom: 16px; display: none; justify-content: center; pointer-events: none; }
.ys-consent.is-open { display: flex; }
.ys-consent-box { pointer-events: auto; width: 100%; max-width: 760px; padding: 22px 24px 20px; background: rgba(13,16,17,.97); border: 1px solid rgba(212,168,77,.45); box-shadow: 0 18px 50px rgba(0,0,0,.55); color: #f3f4f1; font-family: 'Manrope', 'Avenir Next', 'Hiragino Sans', 'Yu Gothic', sans-serif; }
.ys-consent-title { margin: 0 0 8px; color: #f0d38b; font-family: 'Montserrat', 'Manrope', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.ys-consent-text { margin: 0; color: #cdd3d1; font-size: 13.5px; line-height: 1.75; }
.ys-consent-text a { color: #4dd2d7; text-decoration: underline; text-underline-offset: 3px; }
.ys-consent-panel { margin-top: 14px; border-top: 1px solid rgba(255,255,255,.1); }
.ys-consent-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); cursor: default; }
label.ys-consent-row { cursor: pointer; }
.ys-consent-row strong { display: block; font-size: 13px; color: #f3f4f1; margin-bottom: 2px; }
.ys-consent-row span { display: block; font-size: 12px; line-height: 1.6; color: #b3bcb9; }
.ys-consent-row em { flex-shrink: 0; font-style: normal; font-size: 11px; color: #4dd2d7; letter-spacing: .06em; }
.ys-consent-analytics { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ys-switch { flex-shrink: 0; position: relative; width: 40px; height: 22px; border-radius: 22px; background: #2a3132; transition: background .2s ease; }
.ys-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #cdd3d1; transition: transform .2s ease; }
.ys-consent-analytics:checked + .ys-switch { background: #21acb9; }
.ys-consent-analytics:checked + .ys-switch::after { transform: translateX(18px); background: #fff; }
.ys-consent-analytics:focus-visible + .ys-switch { outline: 2px solid #f0d38b; outline-offset: 2px; }
.ys-consent-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.ys-btn { min-width: 120px; padding: 11px 18px; border: 1px solid rgba(212,168,77,.7); background: transparent; color: #f0d38b; font: 600 12px/1 'Montserrat', 'Manrope', 'Hiragino Sans', sans-serif; letter-spacing: .08em; cursor: pointer; transition: background .2s ease, color .2s ease; }
.ys-btn:hover, .ys-btn:focus-visible { background: #d4a84d; color: #13120f; outline: none; }
.ys-btn-text { min-width: 0; border-color: transparent; color: #cdd3d1; text-decoration: underline; text-underline-offset: 3px; }
.ys-btn-text:hover, .ys-btn-text:focus-visible { background: transparent; color: #f0d38b; }
.ys-btn[hidden] { display: none; }
@media (max-width: 640px) {
  .ys-consent { left: 10px; right: 10px; bottom: 10px; }
  .ys-consent-box { padding: 18px 16px 16px; max-height: 80vh; overflow-y: auto; }
  .ys-consent-actions { justify-content: stretch; }
  .ys-consent-actions .ys-btn:not(.ys-btn-text) { flex: 1 1 40%; }
  .ys-btn-text { order: 3; flex-basis: 100%; }
}
