/* Espaturk Premium - Android-only Bottom Sheet UI */
.esp-premium-open{overflow:hidden!important}
.esp-premium-overlay{position:fixed;inset:0;z-index:2147483000;background:rgba(4,13,26,.0);display:flex;align-items:flex-end;justify-content:center;font-family:inherit;transition:background .3s ease;pointer-events:auto}
.esp-premium-overlay.esp-premium-visible{background:rgba(4,13,26,.76)}
.esp-premium-overlay.esp-premium-exiting{background:rgba(4,13,26,0)}
.esp-premium-sheet{--drag-y:0px;box-sizing:border-box;width:min(100%,460px);height:min(610px,88dvh);max-height:calc(100dvh - 30px);display:flex;flex-direction:column;overflow:hidden;border-radius:26px 26px 0 0;background:#172838;color:#edf3fa;padding:0 19px max(20px,env(safe-area-inset-bottom));text-align:center;box-shadow:0 -16px 50px #0006;transform:translateY(calc(105% + var(--drag-y)));transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.esp-premium-visible .esp-premium-sheet{transform:translateY(var(--drag-y))}
.esp-premium-exiting .esp-premium-sheet{transform:translateY(105%)}
.esp-premium-handle-zone{flex:none;display:flex;align-items:center;justify-content:center;height:37px;touch-action:none;cursor:grab}
.esp-premium-handle{width:43px;height:5px;background:#8d9cab;border-radius:10px}
.esp-premium-content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.esp-premium-hero{height:150px;position:relative;overflow:hidden;border-radius:13px;background:linear-gradient(125deg,#2d4a58,#ad8054);display:flex;align-items:center;justify-content:center;margin:0 5px 19px}
.esp-premium-hero img{width:100%;height:100%;object-fit:cover}
.esp-premium-hero.esp-premium-fallback:after{content:'☕';font-size:76px;filter:drop-shadow(0 5px 9px #0006)}
.esp-premium-brand{font-size:15px;font-weight:800;color:#f0be63;margin-bottom:8px}
.esp-premium-sheet h2{font-size:24px;line-height:1.24;margin:8px 0 14px;color:#f4f7fb}
.esp-premium-desc{font-size:15px;line-height:1.55;color:#c5d0dd;margin:0 0 18px}
.esp-premium-actions{flex:none;padding-top:7px}
.esp-premium-primary{width:100%;min-height:49px;border:1px solid #4d6b89;border-radius:11px;background:#294763;color:#fff;font:700 15px inherit;cursor:pointer;box-shadow:0 3px 10px #0002}
.esp-premium-primary:active{filter:brightness(1.15)}
.esp-premium-later{width:100%;background:transparent;border:0;color:#b6c6d5;font-size:14px;font-weight:600;padding:15px;cursor:pointer}
.esp-premium-crown{font-size:52px;color:#f0be63;margin:7px auto 15px}
.esp-premium-plan{padding:16px;margin:10px 0;border:1px solid #526b82;background:#20384e;border-radius:12px;text-align:left;font-size:14px;color:#f1f5f9}
.esp-premium-notice{color:#aab9c7;font-size:12px;line-height:1.5;margin:17px 0}
@media(max-height:670px){.esp-premium-sheet{height:min(560px,91dvh)}.esp-premium-hero{height:125px}}
@media(prefers-reduced-motion:reduce){.esp-premium-overlay,.esp-premium-sheet{transition-duration:.01ms!important}}

/* Admin-configurable transition durations */
.esp-premium-overlay{transition-duration:var(--premium-open-ms,300ms)}
.esp-premium-sheet{transition-duration:var(--premium-open-ms,300ms)}
.esp-premium-exiting{transition-duration:var(--premium-close-ms,250ms)}
.esp-premium-exiting .esp-premium-sheet{transition-duration:var(--premium-close-ms,250ms)}
.esp-premium-rich{text-align:center}.esp-premium-rich p{margin:.35em 0}.esp-premium-rich ul,.esp-premium-rich ol{text-align:left}.esp-premium-rich a{color:#9cc9ff}

/* Premium guest login: Google brand icon and aligned actions */
.esp-premium-login-actions{display:flex;align-items:stretch;gap:10px;width:100%;margin-top:18px}
.esp-premium-login-actions .esp-premium-google-login{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;flex:1 1 auto;min-width:0;margin:0!important;padding:11px 10px!important}
.esp-premium-google-logo{display:block;width:21px;height:21px;object-fit:contain;flex:none}
.esp-premium-login-actions .ref87-secondary{flex:0 0 auto;align-self:stretch;margin:0!important;padding:10px 14px!important;white-space:nowrap}

/* Premium active member buttons only; do not change free-user offer actions. */
.esp-premium-active-actions{display:flex;flex-direction:row;align-items:stretch;gap:9px}
.esp-premium-active-actions>.esp-premium-primary,.esp-premium-active-actions>.esp-premium-later{flex:1 1 0;min-width:0;width:auto;min-height:49px;box-sizing:border-box;padding:9px 7px;font-size:13px;line-height:1.25;text-align:center;white-space:normal}
.esp-premium-active-actions>.esp-premium-later{border:1px solid #526b82;border-radius:11px;background:#20384e;color:#e6edf5}
.esp-premium-review-manage-note{margin:9px 0 0;font-size:12px;color:#b6c6d5;text-align:center}

/* Reviewer-only manage-subscription explanation, independent of the sheet layout. */
.esp-review-dialog-backdrop{position:fixed;inset:0;z-index:2147483647;background:rgba(4,10,20,.76);display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}
.esp-review-dialog{width:min(100%,380px);max-height:80vh;overflow-y:auto;background:#15283f;border:1px solid #49617e;border-radius:16px;padding:24px 20px 18px;box-sizing:border-box;box-shadow:0 18px 55px rgba(0,0,0,.45);text-align:center;color:#f4f7fb}
.esp-review-dialog-message{font-size:15px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 22px}
.esp-review-dialog-ok{display:block;margin:0 auto;min-width:120px;max-width:100%;min-height:49px;padding:12px 22px;border:1px solid #4d6b89;border-radius:11px;background:#294763;color:#fff;font-size:15px;font-weight:700;cursor:pointer;box-shadow:0 3px 10px #0002}
.esp-review-dialog-ok:active{filter:brightness(1.15)}
.esp-review-dialog-ok:focus-visible{outline:2px solid #9bb9dc;outline-offset:2px}
