/* Framed pages (#/raffle, #/pay): js/screens/frames.js. Prefix fr-. */
.fr { display: flex; flex-direction: column; gap: 12px; height: calc(100dvh - 190px); min-height: 520px; }
.fr-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-card); background: var(--ink); color: #fff; }
:root[data-theme="dark"] .fr-bar { background: #232a63; }
.fr-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.14); color: #FFD166; }
.fr-t { flex: 1; min-width: 0; }
.fr-t b, .fr-t small { display: block; }
.fr-t small { font-size: var(--fs-xs); color: rgba(255,255,255,.75); margin-top: 2px; display: flex; gap: 4px; align-items: center; }
.fr-open { flex: none; background: rgba(255,255,255,.1) !important; color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35) !important; }
@media (max-width: 560px) { .fr-open span { display: none; } }
.fr-frame { position: relative; flex: 1; min-height: 0; border-radius: var(--r-card); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.fr-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #F3F4F8; }
.fr-load { position: absolute; inset: 0; padding: 16px; background: var(--surface); z-index: 1; }
.fr-frame > .error-state, .fr-frame > .empty { margin: 24px; }
.fr-note { display: flex; gap: 14px; align-items: flex-start; padding: 24px; color: var(--text-2); }
.fr-note > .ico { flex: none; width: 28px; height: 28px; color: var(--ink); }
.fr-note b { color: var(--text); font-size: var(--fs-md); }
.fr-note p { margin: 6px 0 0; line-height: 1.5; max-width: 560px; }
