/* Isolated from YandS themes AND third-party fullscreen games. */
.yands-consent, .yands-consent * { box-sizing: border-box; }
.yands-consent {
 position: fixed !important; z-index: 2147483646 !important;
 inset: auto 12px max(12px,env(safe-area-inset-bottom)) 12px !important;
 max-width: 740px; max-height: min(82vh, 630px); overflow: auto;
 margin: 0 auto; padding: 20px 22px;
 color: #16243a !important; background: #ffffff !important;
 border: 1px solid #cbd6e4 !important; border-radius: 16px !important;
 box-shadow: 0 14px 54px #071a2a50 !important;
 font: 15px/1.5 system-ui,-apple-system,'Segoe UI',Arial,sans-serif !important;
 text-align: left !important; user-select: text !important; touch-action: pan-y !important;
}
.yands-consent h2 { margin: 0 0 8px !important; color: #16243a !important; font: 700 21px/1.3 system-ui,sans-serif !important; letter-spacing: 0 !important; }
.yands-consent p { color: #344761 !important; margin: 0 0 10px !important; font: 14px/1.55 system-ui,sans-serif !important; }
.yands-consent .yands-consent__info { font-size: 12px !important; }
.yands-consent__links { margin: 10px 0 13px; }
.yands-consent__links a { color: #1256b4 !important; text-decoration: underline !important; font-size: 13px !important; }
.yands-consent__actions { display:flex; flex-wrap:wrap; gap: 10px; align-items: stretch; }
.yands-consent__button { display:inline-block; flex: 1 1 170px; min-height: 44px; margin:0 !important; padding: 10px 14px !important; border:1px solid #506986 !important; border-radius:9px !important; background:#f4f7fc !important; color:#17283f !important; font: 700 14px/1.25 system-ui,sans-serif !important; cursor:pointer; text-align:center !important; box-shadow: none !important; touch-action: manipulation !important; }
.yands-consent__button:hover { background: #e6effb !important; }
.yands-consent__button--decision, .yands-consent__button--primary { border-color: #1b548b !important; background:#1e609a !important; color:#fff !important; }
.yands-consent__button--decision:hover, .yands-consent__button--primary:hover { background:#194f80 !important; }
.yands-consent__button--quiet { border-color:#c9d5e3 !important; background:#fff !important; color:#1b4d82 !important; }
.yands-consent__toggle { display: flex; align-items:center; gap:12px; min-height:48px; padding: 9px 11px; margin: 12px 0 16px; border-radius: 9px; border:1px solid #b9cadc; color: #18304e; font-weight:600; cursor:pointer; }
.yands-consent__toggle input { flex:none; width:21px; height:21px; accent-color:#1e609a; }
.yands-footer-consent { appearance:none; color: inherit; font: inherit; text-decoration:underline; border:0; padding:0; margin:0; background:transparent; cursor:pointer; }
.yands-game-consent { color:#fff !important; background:rgba(0,20,40,.35) !important; font:600 13px/1.2 Arial,sans-serif !important; text-decoration:underline; border:1px solid #ffffff75; border-radius:8px; padding:8px 12px; cursor:pointer; pointer-events:auto; touch-action:manipulation; }
.yands-game-consent:focus-visible, .yands-footer-consent:focus-visible, .yands-consent button:focus-visible, .yands-consent a:focus-visible { outline: 3px solid #f59e0b !important; outline-offset: 3px; }
@media(max-width:520px){ .yands-consent { padding:15px 16px !important; inset: auto 8px max(8px,env(safe-area-inset-bottom)) 8px !important; } .yands-consent h2 {font-size:18px !important;} .yands-consent p {font-size:13px !important;} .yands-consent__button {flex-basis:100%;} }
@media(max-height:520px) and (orientation:landscape){ .yands-consent {max-height:90vh; padding:10px 16px !important;} .yands-consent h2 {font-size:17px !important;} .yands-consent p {font-size:12px !important; margin-bottom:5px !important;} .yands-consent__actions {gap:6px;} .yands-consent__button { min-height:38px; padding:7px !important;} }
/* 1.7.5: Handy quer (flach) - kompakt und zweispaltig: Text links, Knoepfe rechts gestapelt. Alle Texte bleiben vollstaendig. */
@media(max-height:520px) and (orientation:landscape) and (min-width:560px){
 .yands-consent { display:grid; grid-template-columns: minmax(0,1fr) 168px; column-gap:14px; align-items:start; max-width:860px; max-height:min(62vh,230px); padding:8px 12px !important; }
 .yands-consent > :not(.yands-consent__actions) { grid-column:1; }
 .yands-consent > .yands-consent__actions { grid-column:2; grid-row:1 / span 5; align-self:center; flex-direction:column; flex-wrap:nowrap; gap:5px; }
 .yands-consent h2 { font-size:14px !important; margin-bottom:3px !important; }
 .yands-consent p { font-size:11px !important; line-height:1.35 !important; margin-bottom:3px !important; }
 .yands-consent .yands-consent__info { font-size:10.5px !important; }
 .yands-consent__links { margin:2px 0 0; } .yands-consent__links a { font-size:11px !important; }
 .yands-consent__toggle { min-height:36px; margin:4px 0; padding:5px 9px; font-size:12px; }
 .yands-consent__button { flex:0 0 auto; min-height:34px; padding:6px 8px !important; font-size:12.5px !important; }
}
/* 1.7.5: Flammeo F117 - im Querformat (Handy und Desktop) oben ueber dem Titel, damit die Levelkarten frei und antippbar bleiben. */
@media(orientation:landscape) and (min-width:560px){
 body[data-game-id="flammeo-f117"] .yands-consent { inset: max(6px,env(safe-area-inset-top)) 12px auto 12px !important; }
}
