.yofebq-guide-page .yofebq-display[data-yq-display] {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
}
.yofebq-guide-page .yofebq-guide-copy .yofebq-display:is([data-yq-state="loading"], [data-yq-state="rendered"]) {
    min-height: 400px;
    margin-block: 32px;
}
.yofebq-guide-page .yofebq-guide-copy .yofebq-display:is([data-yq-state="loading"], [data-yq-state="rendered"]) [data-yq-slot] {
    box-sizing: border-box;
    min-height: 320px;
    width: 100%;
    margin: 20px auto;
    text-align: center;
}
.yofebq-display [data-yq-slot] > div { margin-inline: auto; }
@media (min-width: 300px) and (max-width: 339px) {
    .yofebq-guide-page .yofebq-guide-copy .yofebq-display[data-yq-display] {
        width: 100vw;
        max-width: 100vw;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }
}
dialog.yofebq-watch-dialog {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    width: min(90vw, 450px);
    height: min(60vh, 450px);
    height: min(60dvh, 450px);
    max-width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    margin: auto;
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 10px;
    background: #fff;
    color: #1f2937;
    box-shadow: 0 12px 38px #0c1a2b40;
    text-align: center;
}
dialog.yofebq-watch-dialog:not([open]) { display: none; }
dialog.yofebq-watch-dialog::backdrop { background: rgb(21 28 39 / 52%); backdrop-filter: blur(5px); }
.yofebq-watch-dialog .yofebq-watch-inner {
    position: relative;
    box-sizing: border-box;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 12px;
    min-height: 100%;
    padding: 48px 20px 24px;
}
.yofebq-watch-dialog h2 { color: #17212c; margin: 0; font: 650 24px/1.2 system-ui,sans-serif; }
.yofebq-watch-dialog p { margin: 0; color: #455364; font: 400 16px/1.45 system-ui,sans-serif; }
.yofebq-watch-dialog .yofebq-watch-close,
.yofebq-watch-dialog .yofebq-watch-skip {
    background: transparent;
    border: 0;
    color: #30445c;
    cursor: pointer;
    font: 500 14px/1.25 system-ui,sans-serif;
}
.yofebq-watch-dialog .yofebq-watch-close {
    position: absolute;
    width: 44px;
    height: 44px;
    right: 2px;
    top: 2px;
    font-size: 29px;
}
.yofebq-watch-dialog .yofebq-watch-skip { padding: 10px; text-decoration: underline; text-underline-offset: 2px; }
.yofebq-watch-dialog .yofebq-watch-play {
    min-height: 48px;
    max-width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 8px;
    padding: 12px 22px;
    background: #24a0ed;
    color: #062f48;
    font: 700 16px/1.3 system-ui,sans-serif;
    cursor: pointer;
}
.yofebq-watch-dialog .yofebq-watch-play:disabled { cursor: default; }
.yofebq-watch-icon { width: 0; height: 0; border-left: 12px solid currentColor; border-block: 8px solid transparent; }

/* Yofeb Glow: full-viewport waiting screen. GPT's own ad overlay remains untouched. */
dialog.yofebq-watch-dialog {
  width:100%; height:100%; height:100dvh; max-width:none; max-height:none;
  border:0; border-radius:0; margin:auto; padding:0; background:var(--yq-background); color:var(--yq-ink); box-shadow:none;
  overscroll-behavior:contain;
}
.yofebq-watch-dialog .yofebq-watch-inner {
  display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:0;
  width:100%; max-width:620px; min-height:100%; margin:0 auto; padding:0; position:relative; overflow:hidden;
}
.yofebq-watch-dialog .yq-loading-brand {flex:none; width:100%; height:auto; margin:0;}
.yofebq-watch-dialog .yofebq-watch-close {z-index:2; color:#402565; border:1px solid #ffffffcf; border-radius:50%; background:#faf5ffd9; top:max(8px,env(safe-area-inset-top)); right:8px; width:38px; height:38px; line-height:1; padding:0; font-size:27px}
.yofebq-watch-dialog .yq-loading-orb {
  flex:none; position:relative; display:grid; place-items:center; isolation:isolate;
  width:clamp(120px,35vw,218px); aspect-ratio:1; border-radius:50%; margin:clamp(9px,3vh,26px) auto 14px;
  background:radial-gradient(circle at 50% 50%,#d1c6ff,#e6deff 60%,#fdfaff 62%,#fff 72%);box-shadow:0 5px 26px #8e7ae56b,0 0 35px #fff9;
}
.yofebq-watch-dialog .yq-loading-orb::before {content:'';position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 0deg,#a84bf5,#7358ff 16%,#00dbb0 32%,transparent 33%);mask:radial-gradient(farthest-side,transparent calc(100% - 18px),#000 calc(100% - 17px));-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 18px),#000 calc(100% - 17px));animation:yq-spin-glow 1.4s linear infinite}
.yofebq-watch-dialog .yq-loading-orb span {position:relative;font-size:clamp(46px,15vw,80px);line-height:1;color:white;text-shadow:0 0 15px #fff;animation:yq-twinkle-glow 2s ease-in-out infinite}
.yofebq-watch-dialog .yq-loading-title,.yofebq-watch-dialog .yq-ready-title {font:900 italic clamp(27px,7.2vw,47px)/1.08 var(--yq-font);letter-spacing:-.05em;color:var(--yq-ink);margin:0 19px;text-wrap:balance;position:relative}
.yofebq-watch-dialog .yq-loading-title em {font-style:inherit;color:#371059}
.yofebq-watch-dialog .yq-loading-title::after {content:'';display:block;width:53%;height:6px;margin:10px auto 0;border-radius:90% 20% 90% 20%;background:linear-gradient(90deg,#00e1b5,#6ce0c4);transform:rotate(-3deg)}
.yofebq-watch-dialog [data-yq-panel-status] {font:500 clamp(14px,4vw,21px)/1.45 var(--yq-font);color:var(--yq-muted);margin:16px 26px 0;text-wrap:balance;max-width:430px}
.yofebq-watch-dialog .yq-loading-track {position:relative;flex:none;isolation:isolate;width:calc(100% - 50px);max-width:480px;height:26px;margin:20px auto 0;border:2px solid #fff;border-radius:999px;background:#c9c4e7b5;box-shadow:inset 0 2px 6px #6c63c23c,0 0 16px #fff;overflow:hidden}
.yofebq-watch-dialog .yq-loading-track span {position:absolute;left:0;top:0;width:44%;height:100%;border-radius:99px;background:linear-gradient(90deg,#a442f7,#6f58ff,#00dabc);box-shadow:0 0 12px #00e9cb9e;animation:yq-track-glow 2s ease-in-out infinite}
.yofebq-watch-dialog .yq-loading-track span::after {content:'✦';position:absolute;left:20%;top:50%;transform:translateY(-50%);color:#fff;font-size:16px}
.yofebq-watch-dialog .yofebq-watch-skip {color:#48246c;font:600 14px/1.4 var(--yq-font);min-height:44px;margin:9px 0 4px;padding:8px 14px;z-index:1}
.yofebq-watch-dialog .yofebq-watch-play {background:linear-gradient(120deg,#a442f7,#7358ff,#00b79e);color:white;border:2px solid #fff;border-radius:99px;box-shadow:0 5px 16px #8d5be965;font:800 17px/1.2 var(--yq-font);width:min(85%,420px);margin:22px auto 0;min-height:54px}
.yofebq-watch-dialog .yq-loading-world {margin-top:auto;max-width:620px;min-height:0}
.yofebq-offer[data-yq-state="loading"] .yofebq-watch-dialog .yq-ready-title,
.yofebq-offer[data-yq-state="loading"] .yofebq-watch-dialog .yofebq-watch-play,
.yofebq-offer[data-yq-state="ready"] .yofebq-watch-dialog .yq-loading-title,
.yofebq-offer[data-yq-state="ready"] .yofebq-watch-dialog .yq-loading-orb,
.yofebq-offer[data-yq-state="ready"] .yofebq-watch-dialog .yq-loading-track {display:none!important}
.yofebq-offer[data-yq-state="ready"] .yofebq-watch-dialog .yq-ready-title {margin-top:22px}
.yofebq-watch-dialog button:focus-visible {outline:3px solid #007b85;outline-offset:2px}
@media(prefers-reduced-motion:reduce){.yofebq-watch-dialog *, .yofebq-watch-dialog *::before,.yofebq-watch-dialog *::after{animation:none!important;transition:none!important}.yofebq-watch-dialog .yq-loading-track span{transform:translateX(60%)}}
.yofebq-watch-dialog .yq-loading-title {max-width:min(83%,450px);font-size:clamp(30px,8.5vw,47px)}
.yofebq-watch-dialog .yq-loading-title em {display:block}
