/* v3.8.7 · Quality of Life layer */
.po-global-toast-host{position:fixed;z-index:100050;left:50%;top:calc(14px + env(safe-area-inset-top));transform:translateX(-50%);width:min(520px,calc(100% - 28px));display:grid;gap:7px;pointer-events:none;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.po-global-toast{pointer-events:auto;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:rgba(20,27,38,.97);box-shadow:0 16px 50px rgba(0,0,0,.42);color:#edf2f7;padding:11px 13px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;align-items:center;opacity:0;transform:translateY(-10px) scale(.98);transition:.16s ease;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.po-global-toast.is-show{opacity:1;transform:none}.po-global-toast__icon{width:26px;height:26px;border-radius:9px;display:grid;place-items:center;background:rgba(103,217,222,.08);font-size:13px}.po-global-toast__copy b{display:block;font-size:10px}.po-global-toast__copy small{display:block;color:#8d99aa;font-size:8px;line-height:1.35;margin-top:2px}.po-global-toast__action{border:0;background:transparent;color:#f2d58a;font:900 8px/1 system-ui;cursor:pointer;padding:8px 4px}.po-global-toast--success .po-global-toast__icon{background:rgba(67,211,158,.1);color:#83e6bd}.po-global-toast--error .po-global-toast__icon{background:rgba(255,102,116,.1);color:#ff9aa4}.po-global-toast--warning .po-global-toast__icon{background:rgba(240,205,116,.1);color:#f2d58a}
.po-memory-layer{position:fixed;z-index:100060;inset:0;display:grid;place-items:end center;padding:16px;background:rgba(0,0,0,.45);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.po-memory-card{width:min(560px,100%);border:1px solid rgba(255,255,255,.12);border-radius:24px;background:#111722;color:#eef2f7;padding:18px;box-shadow:0 30px 90px rgba(0,0,0,.58)}.po-memory-card__head{display:flex;justify-content:space-between;gap:12px;align-items:start}.po-memory-card__head span{display:block;color:#f0cd74;font-size:8px;font-weight:950;letter-spacing:.14em}.po-memory-card__head h2{font-size:19px;margin:4px 0 0}.po-memory-close{border:1px solid rgba(255,255,255,.1);background:#0d121a;color:#dce3eb;border-radius:12px;width:34px;height:34px;font-size:18px}.po-memory-question{margin:13px 0;border:1px solid rgba(255,255,255,.08);border-radius:15px;background:#0c1119;padding:12px;color:#dbe3eb;font-size:10px;line-height:1.5}.po-memory-form{display:grid;gap:9px}.po-memory-form label{display:grid;gap:5px}.po-memory-form label span{color:#8d99aa;font-size:8px;font-weight:900}.po-memory-form input,.po-memory-form textarea{width:100%;border:1px solid rgba(255,255,255,.09);background:#0b1017;color:#eef2f7;border-radius:13px;padding:11px 12px;outline:0;font:500 10px/1.45 system-ui}.po-memory-form textarea{min-height:82px;resize:vertical}.po-memory-actions{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:4px}.po-memory-save{border:0;border-radius:13px;background:linear-gradient(135deg,#f0cd74,#c99b40);color:#17130a;font-weight:950;padding:12px}.po-memory-cancel{border:1px solid rgba(255,255,255,.09);border-radius:13px;background:#111722;color:#dce3eb;font-weight:900;padding:12px}
.po-empty-state{border:1px dashed rgba(255,255,255,.1);border-radius:18px;padding:28px 18px;text-align:center;color:#8995a6;background:rgba(255,255,255,.018)}.po-empty-state__icon{width:50px;height:50px;border-radius:17px;margin:0 auto 10px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.08);background:#0d121a;font-size:21px}.po-empty-state b{display:block;color:#eef2f7;font-size:12px}.po-empty-state span{display:block;font-size:9px;line-height:1.5;margin:5px auto 0;max-width:360px}.po-empty-state a,.po-empty-state button{display:inline-block;margin-top:12px;border:1px solid rgba(240,205,116,.25);background:rgba(240,205,116,.05);color:#f0cd74;border-radius:999px;padding:8px 12px;text-decoration:none;font:900 8px/1 system-ui}
@media(max-width:560px){.po-global-toast-host{top:calc(9px + env(safe-area-inset-top));width:calc(100% - 18px)}.po-memory-layer{padding:9px}.po-memory-card{border-radius:21px;padding:15px}}

/* v3.8.7 · inline question / answer favorites */
.po-memory-star-host{position:relative!important}.po-memory-star{position:absolute;z-index:25;width:36px;height:36px;border-radius:12px;border:1px solid rgba(240,205,116,.28);background:rgba(10,14,21,.82);color:#f0cd74;display:grid;place-items:center;padding:0;box-shadow:0 8px 24px rgba(0,0,0,.25);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);cursor:pointer;-webkit-tap-highlight-color:transparent}.po-memory-star span{font-size:19px;line-height:1}.po-memory-star:active{transform:scale(.94)}.po-memory-star--question{right:13px;bottom:13px}.po-memory-star--answer{right:8px;top:8px;width:32px;height:32px;border-radius:10px;background:rgba(16,23,32,.9)}.po-memory-star--answer span{font-size:17px}.question-card>.po-memory-star--question,.host-card>.po-memory-star--question{right:14px;bottom:14px}.answer-box.po-memory-star-host{padding-right:46px!important}@media(max-width:560px){.po-memory-star{width:34px;height:34px;border-radius:11px}.po-memory-star--question{right:11px;bottom:11px}.po-memory-star--answer{width:30px;height:30px;right:7px;top:7px}}

/* v3.8.7 · deterministic star placement */
.question-card.po-memory-star-host>.po-memory-star--question,
.quiz-card.po-memory-star-host>.po-memory-star--question,
.prompt-card.po-memory-star-host>.po-memory-star--question,
.round-card.po-memory-star-host>.po-memory-star--question{right:18px!important;bottom:18px!important;top:auto!important}
.host-q.po-memory-star-host{position:relative!important;padding-right:48px!important;min-height:38px}
.host-q.po-memory-star-host>.po-memory-star--question{right:0!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)}
.host-q.po-memory-star-host>.po-memory-star--question:active{transform:translateY(-50%) scale(.94)}
.po-memory-star[data-po-memory-saved="1"]{background:rgba(215,184,106,.14);border-color:rgba(242,213,138,.48)}
@media(max-width:560px){.question-card.po-memory-star-host>.po-memory-star--question,.quiz-card.po-memory-star-host>.po-memory-star--question,.prompt-card.po-memory-star-host>.po-memory-star--question,.round-card.po-memory-star-host>.po-memory-star--question{right:15px!important;bottom:15px!important}}

/* v3.8.8 · Original Pass the Phone deterministic favorite anchors */
[data-po-question-host].po-memory-star-host{position:relative!important}
.question-card[data-po-question-host]>.po-memory-star--question{right:18px!important;bottom:18px!important;top:auto!important}
.host-question-memory{position:relative;padding-right:50px;min-height:54px}
.host-question-memory>.host-q{margin-right:0}
.host-question-memory>.po-memory-star--question{right:0!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)}
.host-question-memory>.po-memory-star--question:active{transform:translateY(-50%) scale(.94)}
[data-po-answer-host]{position:relative!important;padding-right:48px!important}
[data-po-answer-host]>.po-memory-star--answer{right:0!important;top:14px!important;bottom:auto!important}
@media(max-width:560px){
 .question-card[data-po-question-host]>.po-memory-star--question{right:15px!important;bottom:15px!important}
 .host-question-memory{padding-right:44px}
 [data-po-answer-host]{padding-right:42px!important}
}


/* v3.8.9 · Native favorite anchors. Native stars are rendered by games that know their
   card structure, so they remain visible even while shared DOM reconciliation is busy. */
.po-memory-star[data-po-native-memory]{display:grid!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
.host-question-memory{position:relative!important;padding-right:48px}
.host-question-memory>.po-memory-star--question{right:0!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)}
.host-question-memory>.po-memory-star--question:active{transform:translateY(-50%) scale(.94)}
.question-card>.po-memory-star[data-po-native-memory="question"]{right:18px!important;bottom:18px!important;top:auto!important}
.answer-box>.po-memory-star[data-po-native-memory="answer"]{right:0!important;top:14px!important;bottom:auto!important}
@media(max-width:560px){.question-card>.po-memory-star[data-po-native-memory="question"]{right:15px!important;bottom:15px!important}}


/* v4.2.4 · Hide visual scrollbars on desktop while preserving wheel/keyboard/touch scrolling. */
@media (pointer:fine){
  html,body,*{scrollbar-width:none!important;-ms-overflow-style:none!important}
  html::-webkit-scrollbar,body::-webkit-scrollbar,*::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}
}
