.lesson-notice{position:fixed;left:12px;bottom:max(12px,env(safe-area-inset-bottom));z-index:10020;box-sizing:border-box;width:220px;height:200px;border:1px solid #b48b51;border-radius:3px;background:#102333 url(/lesson-notice-library.webp) center/100% 100% no-repeat;color:#102e48;box-shadow:0 5px 22px #07162350;font-family:Georgia,Times New Roman,serif;text-align:center;animation:lesson-notice-in 1.15s cubic-bezier(.2,.65,.25,1) both}.lesson-notice-content{position:absolute;inset:35px 25px 31px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.lesson-notice-book{width:23px;height:17px;flex:none;color:#143a59}.lesson-notice h2{font-size:14px;line-height:1.2;margin:0;font-weight:700;letter-spacing:-.2px}.lesson-notice h2 span{display:block;font-size:19px;margin-top:2px}.lesson-notice-audience{font-family:Arial,sans-serif;font-size:10px;line-height:1.2;font-weight:700;color:#78542e;margin:0}.lesson-notice-message{font-size:12px;font-weight:700;line-height:1.2;margin:1px 0 0}.lesson-notice-link{display:block;box-sizing:border-box;min-height:28px;padding:5px 13px;border:1px solid #bd9659;border-radius:7px;background:#113a58;color:#fff4df!important;font-size:13px;line-height:16px;font-weight:700;text-decoration:none!important;box-shadow:0 1px 3px #10233330}.lesson-notice-close{position:absolute;right:6px;top:6px;width:27px;height:27px;padding:0;border:1px solid #b58f54;border-radius:50%;background:#fff7e8;color:#16364c;font:23px/25px Arial,sans-serif;cursor:pointer}.lesson-notice-close:focus-visible,.lesson-notice-link:focus-visible{outline:2px solid #fff;outline-offset:2px}.lesson-notice.lesson-notice-closing{animation:lesson-notice-out .6s ease-in both;pointer-events:none}@keyframes lesson-notice-in{0%{transform:translate(calc(-100% - 16px));opacity:0}to{transform:translate(0);opacity:1}}@keyframes lesson-notice-out{0%{transform:translate(0);opacity:1}to{transform:translate(calc(-100% - 16px));opacity:0}}@media(max-width:600px){.lesson-notice{left:8px;bottom:calc(max(8px,env(safe-area-inset-bottom)) + 106px);width:190px;height:188px}.lesson-notice-content{inset:32px 21px 28px;gap:4px}.lesson-notice h2{font-size:12px}.lesson-notice h2 span{font-size:17px}.lesson-notice-audience{font-size:9px}.lesson-notice-message{font-size:10.5px}.lesson-notice-link{font-size:12px}.lesson-notice-book{width:21px;height:15px}}@media(prefers-reduced-motion:reduce){.lesson-notice{animation:none}.lesson-notice.lesson-notice-closing{animation:none;opacity:0}}@media print{.lesson-notice{display:none}}

/* Approved premium square registration creative; source pixels remain unchanged. */
.lesson-notice.lesson-notice--class-ad{width:min(400px,calc(100vw - 24px),calc(100dvh - 136px));height:auto;aspect-ratio:1;background:#081522;border:1px solid #c6a862;border-radius:10px;overflow:hidden;box-shadow:0 16px 48px #0006}
.lesson-notice--class-ad .lesson-notice-content{position:relative;inset:auto;display:block;width:100%;height:100%}
.lesson-notice--class-ad .lesson-notice-link{position:relative;display:block;width:100%;height:100%;padding:0;margin:0;border:0;border-radius:0;background:transparent;overflow:hidden;box-shadow:none}
.lesson-notice--class-ad .lesson-notice-poster{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.lesson-notice--class-ad .lesson-notice-link:after{content:'';position:absolute;left:32%;right:32%;top:74%;height:8%;pointer-events:none;background:linear-gradient(110deg,transparent 20%,#fff9 50%,transparent 80%);transform:translateX(-150%);opacity:0;animation:class-ad-sheen 9s ease-in-out 2s infinite}
.lesson-notice--class-ad .lesson-notice-close{z-index:2;right:7px;top:7px;width:38px;height:38px;font:28px/34px Arial,sans-serif;border-radius:50%;background:#f8eed8;color:#142638;box-shadow:0 2px 10px #0008}
@keyframes class-ad-sheen{0%,75%,100%{transform:translateX(-150%);opacity:0}79%{opacity:.65}90%{transform:translateX(150%);opacity:0}}
@media(max-width:600px){.lesson-notice.lesson-notice--class-ad{width:min(330px,calc(100vw - 20px),calc(100dvh - 146px));left:10px;bottom:calc(max(10px,env(safe-area-inset-bottom)) + 60px)}.lesson-notice--class-ad .lesson-notice-close{width:36px;height:36px;font-size:26px}}
@media(prefers-reduced-motion:reduce){.lesson-notice--class-ad .lesson-notice-link:after{animation:none;display:none}}

.lesson-notice.lesson-notice--omer{
 width:min(340px,calc(100vw - 24px));height:245px;border:1px solid #f2a974;border-radius:17px;
 background:linear-gradient(140deg,#51232ce0,#27152be8) center/cover no-repeat, url(/lesson-notice-library.webp) center/cover no-repeat #2b1a32;
 color:#fff8ed;box-shadow:0 12px 38px #26162765;
}
.lesson-notice--omer .lesson-notice-content{inset:27px 20px 22px;gap:8px}
.lesson-notice--omer .lesson-notice-book{color:#ffc28e}
.lesson-notice--omer h2{font-size:clamp(23px,6vw,30px);letter-spacing:0}
.lesson-notice--omer h2 span{font-size:20px;color:#ffd8b8}
.lesson-notice--omer .lesson-notice-audience{order:-1;color:#ffd1b1;letter-spacing:.13em;font-size:10px}
.lesson-notice--omer .lesson-notice-message{font:600 15px/1.3 system-ui,sans-serif}
.lesson-notice--omer .lesson-notice-link{margin-top:4px;border-color:#ffd1b1;background:#ffd1b1;color:#3d2231!important;padding:7px 22px;border-radius:18px;font-family:system-ui,sans-serif}
.lesson-notice--omer .lesson-notice-close{background:#41263a;color:#fff8ed;border-color:#e7aa85}
