/* Public opening notice and tutorial playback. Keep all selectors local to these components. */
html body.pp-announcement-active { overflow: hidden; }
html body.pp-tutorial-player-active { overflow: hidden; }
html body .pp-announcement-overlay[hidden],
html body .pp-tutorial-player-overlay[hidden] { display: none !important; }
html body .pp-announcement-overlay {
    position: fixed;
    z-index: 200000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    background: rgba(19, 28, 43, .43) !important;
    -webkit-backdrop-filter: blur(7px) saturate(1.08) !important;
    backdrop-filter: blur(7px) saturate(1.08) !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, visibility 180ms ease;
}
html body .pp-announcement-overlay.is-open { opacity: 1; visibility: visible; }
html body .pp-announcement-dialog {
    position: relative;
    width: min(100%, 620px);
    max-height: min(920px, calc(100dvh - 24px));
    margin: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    overscroll-behavior: contain;
    opacity: 0;
    transform: translateY(8px) scale(.992);
    transition: opacity 180ms ease, transform 180ms cubic-bezier(.2,.75,.25,1);
    outline: none;
    scrollbar-width: thin;
}
html body .pp-announcement-overlay.is-open .pp-announcement-dialog { opacity: 1; transform: translateY(0) scale(1); }
html body .pp-announcement-card,
html[data-theme="dark"] body .pp-announcement-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: min(920px, calc(100dvh - 24px));
    border: 1px solid transparent !important;
    border-radius: 27px !important;
    color: #1b2433 !important;
    background: linear-gradient(155deg, #fffdf9 0%, #ffffff 54%, #f9fbff 100%) padding-box, linear-gradient(135deg, rgba(215,25,45,.72), rgba(255,106,42,.72) 42%, rgba(242,181,29,.55) 72%, rgba(44,114,214,.4)) border-box !important;
    box-shadow: 0 24px 72px rgba(11, 22, 41, .24), 0 5px 15px rgba(170, 43, 56, .1), inset 0 1px 0 #fff !important;
}
html body .pp-announcement-card::before {
    content: "";
    position: absolute;
    z-index: 4;
    top: 0;
    left: -34%;
    width: 34%;
    height: 3px;
    border-radius: 0 999px 999px 0;
    opacity: .82;
    background: linear-gradient(90deg, transparent, #d7192d 25%, #ff6a2a 62%, #f2b51d 86%, transparent);
    box-shadow: 0 0 9px rgba(255,106,42,.48);
    pointer-events: none;
    animation: pp-notice-edge-sweep 9s ease-in-out infinite;
}
html body .pp-announcement-card::after { opacity: .025 !important; pointer-events: none; }
html body .pp-announcement-card::before { height: 5px; animation-duration: 11s; box-shadow: 0 0 12px rgba(255,106,42,.42); }
html body .pp-announcement-content {
    position: relative;
    z-index: 1;
    flex: 0 1 auto;
    min-height: 0;
    max-height: min(920px, calc(100dvh - 24px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    padding: 21px clamp(16px, 4.2vw, 28px) 20px;
    text-align: left;
}
html body .pp-announcement-content::before { display: none !important; content: none !important; animation: none !important; }
html body .pp-announcement-brandbar {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    margin: 0 46px 14px 0;
    text-align: left;
}
html body .pp-announcement-brandmark,
html[data-theme="dark"] body .pp-announcement-brandmark {
    display: grid;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    place-items: center;
    overflow: hidden;
    border: 1px solid #f0d4d2 !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: 0 3px 10px rgba(32, 42, 56, .1) !important;
}
html body .pp-announcement-brandmark img { display: block; width: 45px; height: 45px; object-fit: contain; }
html body .pp-announcement-brandcopy { display: flex; flex: 1 1 auto; min-width: 0; flex-direction: column; gap: 5px; }
html body .pp-announcement-brandcopy strong,
html[data-theme="dark"] body .pp-announcement-brandcopy strong {
    overflow: hidden;
    color: #202a3a !important;
    font-size: clamp(13px, 2vw, 16px);
    font-weight: 900;
    letter-spacing: .035em;
    line-height: 1.25;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: none !important;
    animation: none !important;
}
html body .pp-announcement-eyebrow {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #667184 !important;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .15em;
}
html body .pp-announcement-eyebrow i,
html body .pp-announcement-live i {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #2c9b68;
    box-shadow: 0 0 0 3px rgba(44,155,104,.1);
    animation: pp-notice-live-pulse 2.4s ease-in-out infinite !important;
}
html body .pp-announcement-live,
html[data-theme="dark"] body .pp-announcement-live {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid #ccebd9 !important;
    border-radius: 999px;
    color: #167448 !important;
    background: #effaf3 !important;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .09em;
}
html body .pp-announcement-live[hidden] { display: none !important; }
html body .pp-announcement-divider { height: 1px; margin: 0 0 15px; background: linear-gradient(90deg, rgba(182,31,50,.26), #e4e8ee 45%, rgba(44,114,214,.22)); }
html body .pp-announcement-main { display: grid; grid-template-columns: 32px minmax(0,1fr); align-items: start; gap: 9px; margin: 0 0 13px; }
html body .pp-announcement-megaphone { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 10px; color: #b61f32; background: #fff0ef; }
html body .pp-announcement-message,
html[data-theme="dark"] body .pp-announcement-message {
    margin: 1px 0 0;
    color: #263247 !important;
    font-size: clamp(14px, 3.8vw, 17px);
    font-weight: 750;
    line-height: 1.65;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    text-shadow: none !important;
}
html body .pp-announcement-highlight { color: #94640d; font-weight: 900; text-decoration: underline; text-decoration-color: rgba(242,181,29,.6); text-decoration-thickness: 2px; text-underline-offset: 3px; }
html body .pp-announcement-legacy-title { margin: 0 0 9px 41px; color: #687487; font-size: 12px; font-weight: 800; }
html body .pp-announcement-legacy-title[hidden] { display: none !important; }
html body .pp-announcement-image,
html[data-theme="dark"] body .pp-announcement-image {
    display: block;
    width: 100%;
    max-height: min(36dvh, 350px);
    aspect-ratio: 16 / 9;
    margin: 0 0 14px;
    border: 1px solid #e6e9ef !important;
    border-radius: 14px !important;
    object-fit: contain;
    background: #f7f8fa !important;
    box-shadow: 0 5px 16px rgba(20,32,50,.08) !important;
    filter: none !important;
}
html body .pp-announcement-image[hidden] { display: none !important; }
html body .pp-announcement-features { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
html body .pp-announcement-feature {
    display: grid;
    grid-template-columns: 32px minmax(0,1fr);
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 6px 11px;
    border: 1px solid #e8ebf0;
    border-radius: 13px;
    color: #273247;
    background: linear-gradient(105deg, #fff 0%, #fffefa 100%);
    box-shadow: 0 2px 7px rgba(20,32,50,.035);
}
html body .pp-announcement-feature-icon { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid #f1dfc1; border-radius: 10px; color: #a9751b; background: #fff9ed; }
html body .pp-announcement-feature-text { min-width: 0; color: #273247; font-size: clamp(12px, 3.2vw, 14px); font-weight: 800; line-height: 1.38; overflow-wrap: anywhere; }
html body .pp-announcement-footer-copy { margin: 13px 0 0; padding: 11px 12px 10px; border-radius: 13px; background: #f8fafc; }
html body .pp-announcement-reminder,
html body .pp-announcement-support { position: relative; margin: 0; color: #4c586b; font-size: clamp(11px, 3vw, 13px); line-height: 1.6; overflow-wrap: anywhere; }
html body .pp-announcement-reminder { padding-left: 20px; font-weight: 720; }
html body .pp-announcement-reminder::before { content: "📌"; position: absolute; left: 0; top: 0; }
html body .pp-announcement-support { margin-top: 5px; padding-left: 20px; color: #8c4f49; font-weight: 650; }
html body .pp-announcement-support::before { content: "♥"; position: absolute; left: 1px; top: 0; color: #d7192d; font-size: 16px; }
html body .pp-announcement-link,
html[data-theme="dark"] body .pp-announcement-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 54px;
    margin: 8px 0;
    padding: 12px 15px;
    isolation: isolate;
    overflow: hidden;
    border: 2px solid transparent !important;
    border-radius: 15px;
    color: #7f1d2b !important;
    background: linear-gradient(110deg, #fff, #fffaf5 54%, #fff) padding-box, linear-gradient(105deg, #b61f32, #ff6a2a 43%, #f2b51d 70%, #b61f32) border-box !important;
    box-shadow: 0 7px 18px rgba(151,31,48,.15), inset 0 1px 0 rgba(255,255,255,.92) !important;
    font-size: clamp(12px, 3.2vw, 14px);
    font-weight: 900;
    letter-spacing: .025em;
    text-align: center;
    text-decoration: none;
    transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
    animation: pp-notice-button-glow 3.4s ease-in-out infinite;
}
html body .pp-announcement-link::before { content: ""; position: absolute; z-index: -1; top: -40%; bottom: -40%; left: -38%; width: 38%; opacity: 0; transform: translateX(-160%) skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.82) 45%, rgba(255,255,255,.95) 50%, rgba(255,255,255,.82) 55%, transparent); pointer-events: none; animation: pp-notice-cta-glint 8.5s ease-in-out infinite; }
html body .pp-announcement-link > i { color: #1685d7; font-size: 20px; }
html body .pp-announcement-link > span { position: relative; z-index: 1; }
html body .pp-announcement-link-label { color: #742033; text-shadow: 0 0 14px rgba(255, 213, 157, .52); }
html body .pp-announcement-link[hidden] { display: none !important; }
html body .pp-announcement-link:hover { transform: translateY(-1px); filter: saturate(1.08); box-shadow: 0 9px 22px rgba(151,31,48,.27) !important; }
html body .pp-announcement-link:active { transform: scale(.985); }
html body .pp-announcement-link:focus-visible,
html body .pp-announcement-close:focus-visible { outline: 3px solid #2d72d6; outline-offset: 3px; }
html body .pp-announcement-link-arrows { display: inline-flex; gap: 1px; color: #c44528; font-size: 10px; }
html body .pp-announcement-link-arrows i + i { margin-left: -4px; }
html body .pp-announcement-links { display: grid; gap: 7px; }
html body .pp-announcement-links:empty { display: none; }
html body .pp-announcement-links-top { margin: 0 0 9px; }
html body .pp-announcement-links-middle { margin: 8px 0 10px; }
html body .pp-announcement-links-end { margin-top: 9px; }
html body .pp-announcement-link-label { animation: pp-notice-label-glow 3.4s ease-in-out infinite; }
@keyframes pp-notice-button-glow { 0%,100% { box-shadow: 0 7px 18px rgba(151,31,48,.14), inset 0 1px 0 rgba(255,255,255,.92); filter: saturate(1); } 50% { box-shadow: 0 9px 26px rgba(224,74,39,.25), 0 0 14px rgba(246,173,54,.25), inset 0 1px 0 rgba(255,255,255,.98); filter: saturate(1.12); } }
@keyframes pp-notice-label-glow { 0%,100% { text-shadow: 0 0 8px rgba(255,213,157,.34); } 50% { text-shadow: 0 0 13px rgba(255,168,84,.78), 0 0 3px rgba(255,255,255,.7); } }
html body .pp-announcement-close,
html[data-theme="dark"] body .pp-announcement-close {
    position: absolute;
    z-index: 5;
    top: 14px;
    right: 14px;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid #e5e8ee !important;
    border-radius: 50%;
    color: #526074 !important;
    background: #fff !important;
    box-shadow: 0 2px 7px rgba(20,32,50,.07) !important;
    transition: transform 150ms ease, background-color 150ms ease;
}
html body .pp-announcement-close:hover { transform: scale(1.04); background: #f8fafc !important; }
html body .pp-announcement-eyebrow i { animation: none !important; }
html body .pp-announcement-live i { animation: pp-notice-live-pulse 2.4s ease-in-out infinite !important; }

@keyframes pp-notice-edge-sweep { 0%, 13% { transform: translateX(0); opacity: 0; } 20% { opacity: .9; } 71% { transform: translateX(390%); opacity: .72; } 79%, 100% { transform: translateX(390%); opacity: 0; } }
@keyframes pp-notice-live-pulse { 0%, 100% { transform: scale(.92); opacity: .76; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes pp-notice-cta-glint { 0%, 22% { opacity: 0; transform: translateX(-160%) skewX(-18deg); } 30% { opacity: .78; } 48% { opacity: .3; transform: translateX(520%) skewX(-18deg); } 55%, 100% { opacity: 0; transform: translateX(520%) skewX(-18deg); } }

@media (max-width: 420px) {
    html body .pp-announcement-overlay { padding: max(8px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); }
    html body .pp-announcement-dialog { max-height: calc(100dvh - 16px); }
    html body .pp-announcement-card { max-height: calc(100dvh - 16px); border-radius: 21px !important; }
    html body .pp-announcement-content { max-height: calc(100dvh - 16px); padding: 16px 13px 14px; }
    html body .pp-announcement-brandbar { gap: 9px; margin-bottom: 11px; }
    html body .pp-announcement-brandmark { flex-basis: 46px; width: 46px; height: 46px; }
    html body .pp-announcement-brandmark img { width: 40px; height: 40px; }
    html body .pp-announcement-close { top: 8px; right: 8px; width: 44px; height: 44px; }
    html body .pp-announcement-brandbar { margin-right: 50px; }
    html body .pp-announcement-live { padding: 6px 7px; font-size: 8px; }
    html body .pp-announcement-feature { min-height: 43px; grid-template-columns: 28px minmax(0,1fr); gap: 8px; padding: 5px 8px; }
    html body .pp-announcement-feature-icon { width: 27px; height: 27px; }
}

/* Lightweight, thumbnail-first tutorial cards; playback iframe exists only after an explicit click. */
.pp-tutorial-list { display: grid; grid-template-columns: minmax(0,1fr); gap: 15px; padding: 0 16px 28px; }
.pp-panel-videos { margin: 0 0 16px; padding: 16px; border: 1px solid rgba(226,232,240,.92); border-radius: 20px; background: rgba(255,255,255,.96); box-shadow: 0 8px 24px rgba(27,39,58,.06); }
.pp-panel-videos-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.pp-panel-videos-heading h3 { margin: 2px 0 0; color: #202b3c; font-size: 16px; font-weight: 850; line-height: 1.25; }
.pp-panel-videos-heading > i { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border: 1px solid #dbeafe; border-radius: 13px; color: #2563a8; background: #f1f7ff; font-size: 18px; }
.pp-panel-videos-kicker { margin: 0; color: #64748b; font-size: 10px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.pp-panel-videos-list { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; }
.pp-panel-video-card { border-radius: 15px; box-shadow: 0 3px 12px rgba(27,39,58,.055); }
.pp-tutorial-thumb-fallback.pp-panel-video-fallback { display: flex; flex-direction: column; gap: 9px; color: #4f6580; background: linear-gradient(145deg,#e8f1fc,#f7f9fc); }
.pp-panel-video-fallback > span { font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.pp-panel-video-provider { width: fit-content; color: #60748d; font-size: 9px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.pp-tutorial-card { min-width: 0; overflow: hidden; border: 1px solid #e4e8ef; border-radius: 18px; background: #fff; box-shadow: 0 5px 18px rgba(27,39,58,.07); }
.pp-tutorial-play { display: block; width: 100%; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.pp-tutorial-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg,#e8edf4,#f8fafc); }
.pp-tutorial-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 200ms ease; }
.pp-tutorial-thumb img[hidden] { display: none !important; }
.pp-tutorial-thumb-fallback { position: absolute; inset: 0; display: none; place-items: center; color: #7b8797; background: linear-gradient(145deg,#edf1f6,#f8fafc); }
.pp-tutorial-thumb-fallback i { display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid #d8dee8; border-radius: 50%; color: #79869a; background: #fff; font-size: 21px; }
.pp-tutorial-thumb.has-thumbnail-fallback .pp-tutorial-thumb-fallback { display: grid; }
.pp-tutorial-play:hover .pp-tutorial-thumb img { transform: scale(1.025); }
.pp-tutorial-play:focus-visible { outline: 3px solid #3172d6; outline-offset: -3px; }
.pp-tutorial-play-icon { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: linear-gradient(0deg,rgba(8,18,32,.38),rgba(8,18,32,.06)); }
.pp-tutorial-play-icon i { display: grid; width: 54px; height: 54px; place-items: center; padding-left: 3px; border: 1px solid rgba(255,255,255,.78); border-radius: 50%; background: rgba(31,48,70,.72); box-shadow: 0 5px 17px rgba(0,0,0,.2); }
.pp-tutorial-card-copy { display: grid; gap: 5px; padding: 14px 15px 16px; }
.pp-tutorial-title { color: #202b3c; font-size: 15px; font-weight: 800; line-height: 1.4; overflow-wrap: anywhere; }
.pp-tutorial-description { margin: 0; color: #697586; font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.pp-tutorial-empty { grid-column: 1 / -1; padding: 28px 18px; border: 1px dashed #d7dee8; border-radius: 16px; color: #687487; background: rgba(255,255,255,.84); text-align: center; }
.pp-tutorial-empty p { margin: 0 0 10px; }
.pp-tutorial-retry { min-height: 44px; padding: 9px 16px; border: 1px solid #d8dee8; border-radius: 10px; color: #263247; background: #fff; font: inherit; font-weight: 750; cursor: pointer; }
.pp-tutorial-player-overlay { position: fixed; z-index: 200010; inset: 0; display: flex; align-items: center; justify-content: center; overflow: auto; padding: max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left)); background: rgba(12,20,34,.76); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity 180ms ease, visibility 180ms ease; }
.pp-tutorial-player-overlay.is-open { opacity: 1; visibility: visible; }
.pp-tutorial-player-dialog { position: relative; width: min(100%, 900px); max-height: calc(100dvh - 28px); overflow: auto; padding: 20px; border: 1px solid rgba(255,255,255,.82); border-radius: 20px; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.32); opacity: 0; transform: translateY(8px) scale(.992); transition: opacity 180ms ease, transform 180ms cubic-bezier(.2,.75,.25,1); }
.pp-tutorial-player-overlay.is-open .pp-tutorial-player-dialog { opacity: 1; transform: translateY(0) scale(1); }
.pp-tutorial-player-title { margin: 0 48px 14px 0; color: #1e293b; font-size: clamp(16px,3.8vw,21px); font-weight: 800; line-height: 1.35; }
.pp-tutorial-player-close { position: absolute; z-index: 3; top: 10px; right: 10px; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #e3e8ef; border-radius: 50%; color: #526074; background: #f8fafc; cursor: pointer; transition: transform 150ms ease, background-color 150ms ease; }
.pp-tutorial-player-close:hover { transform: scale(1.04); background: #f1f5f9; }
.pp-tutorial-player-close:focus-visible,.pp-tutorial-player-youtube:focus-visible { outline: 3px solid #3172d6; outline-offset: 3px; }
.pp-tutorial-player-frame { position: relative; width: 100%; min-height: 200px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: #10141b; }
.pp-tutorial-player-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.pp-tutorial-player-frame.is-telegram { min-height: 320px; aspect-ratio: auto; overflow-y: auto; background: #f3f6fa; }
.pp-telegram-widget-host { width: 100%; min-height: 300px; }
.pp-tutorial-player-frame.is-telegram .pp-telegram-widget-host iframe { width: 100% !important; min-height: 300px; }
.pp-tutorial-player-state { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px; color: #fff; background: rgba(14,20,30,.92); text-align: center; font-size: 13px; }
.pp-tutorial-player-state[hidden] { display: none !important; }
.pp-tutorial-player-spinner { width: 28px; height: 28px; border: 3px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: pp-tutorial-spin .8s linear infinite; }
.pp-tutorial-player-state.is-error { color: #263247; background: rgba(255,255,255,.97); }
.pp-tutorial-player-state.is-error .pp-tutorial-player-spinner { display: none; }
.pp-tutorial-player-state button { min-height: 44px; padding: 9px 16px; border: 1px solid #d8dee8; border-radius: 10px; color: #263247; background: #fff; font: inherit; font-weight: 750; cursor: pointer; }
@keyframes pp-tutorial-spin { to { transform: rotate(360deg); } }
.pp-tutorial-player-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; color: #687487; font-size: 12px; }
.pp-tutorial-player-footer p { margin: 0; }
.pp-tutorial-player-footer a { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; color: #245eae; font-weight: 800; text-decoration: none; }
@media (min-width: 760px) { .pp-tutorial-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; padding-right: 22px; padding-left: 22px; } }
@media (min-width: 640px) { .pp-panel-videos-list { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 420px) { .pp-tutorial-list { gap: 12px; padding-right: 14px; padding-left: 14px; } .pp-panel-videos { padding: 13px; } .pp-tutorial-player-dialog { padding: 14px; border-radius: 16px; } .pp-tutorial-player-footer { align-items: flex-start; flex-direction: column; } }
@media (prefers-reduced-motion: reduce) {
    html body .pp-announcement-overlay, html body .pp-announcement-dialog, html body .pp-announcement-link,
    html body .pp-announcement-close, .pp-tutorial-thumb img, .pp-tutorial-player-overlay,
    .pp-tutorial-player-dialog, .pp-tutorial-player-close { transition-duration: .01ms !important; }
    html body .pp-announcement-card::before, html body .pp-announcement-live i,
    html body .pp-announcement-link::before, html body .pp-announcement-link, html body .pp-announcement-link-label, .pp-tutorial-player-spinner { animation: none !important; }
    .pp-tutorial-play:hover .pp-tutorial-thumb img { transform: none; }
}

/* Notice artwork: a calm, premium frame with one slow fire-colored light sweep. */
html body .pp-announcement-image-frame {
    position: relative;
    isolation: isolate;
    display: flex;
    width: fit-content;
    max-width: 100%;
    max-height: min(36dvh, 350px);
    align-items: center;
    justify-content: center;
    margin: 0 0 14px;
    padding: 3px;
    overflow: visible;
    border: 1px solid rgba(255, 164, 112, .48);
    border-radius: 19px;
    background: linear-gradient(135deg, #f04b3a, #ffc77e 48%, #df334b);
    box-shadow: 0 10px 28px rgba(193, 56, 48, .16), 0 0 22px rgba(255, 151, 79, .15), inset 0 1px 0 rgba(255,255,255,.85);
}
html body .pp-announcement-image-frame[hidden] { display: none !important; }
html body .pp-announcement-image-frame::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: -80%;
    pointer-events: none;
    background: conic-gradient(from 0deg, transparent 0 72%, rgba(255, 93, 43, .92) 76%, rgba(255, 226, 167, .98) 79%, rgba(221, 42, 63, .9) 82%, transparent 87% 100%);
    filter: blur(8px);
    transform: translateZ(0);
    animation: pp-notice-fire-sweep 8s linear infinite;
    will-change: transform;
}
html body .pp-announcement-image-frame::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    border: 1px solid rgba(255, 245, 228, .7);
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 112, 67, .18);
}
html body .pp-announcement-image-frame .pp-announcement-image,
html[data-theme="dark"] body .pp-announcement-image-frame .pp-announcement-image {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: min(calc(36dvh - 6px), 344px);
    min-height: 0;
    aspect-ratio: auto;
    margin: 0;
    border: 0 !important;
    border-radius: 14px !important;
    object-fit: cover;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
}
html body .pp-announcement-image-frame .pp-announcement-image[hidden] { display: none !important; }
@keyframes pp-notice-fire-sweep { to { transform: translateZ(0) rotate(1turn); } }
@media (max-width: 480px) {
    html body .pp-announcement-image-frame { padding: 2.5px; border-radius: 16px; }
    html body .pp-announcement-image-frame .pp-announcement-image { border-radius: 13px !important; }
}
@media (prefers-reduced-motion: reduce) {
    html body .pp-announcement-image-frame::before { animation: none !important; filter: blur(6px); }
}
