/* C4 approved notebook visuals, scoped to .c4x; no practice or navigation rules. */
.c4x{--c4brown:#382015;--c4cream:#fff6df;--c4green:#08783a;--c4gold:#ffc53c;color:var(--c4brown);font-family:'Hiragino Maru Gothic ProN','Yu Gothic',Meiryo,sans-serif;line-height:1.4;isolation:isolate;margin:20px 0}
.c4x *{box-sizing:border-box}.c4x img{display:block;object-fit:contain;max-width:100%;height:auto}
.c4x button,.c4x button{font-family:inherit;cursor:pointer;touch-action:manipulation;min-height:44px;max-width:none;font-weight:800}
.c4x button:focus-visible,.c4x a:focus-visible{outline:3px solid #1359c9;outline-offset:3px}
.c4x-home,.c4x-recent{border-radius:18px;background:linear-gradient(155deg,#fffbe8,#fff0c6);border:3px solid #e4c980;padding:13px;box-shadow:0 4px 1px #d4b35c6b}
.c4x-intro strong,.c4x-intro small{display:block}.c4x-intro strong{font-size:19px;color:#7a421e}.c4x-intro small{font-size:12px;color:#86552a;margin-top:3px}
.c4x-home-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:11px 0}.c4x-home-stamp{display:flex;align-items:center;flex-direction:column;gap:4px;background:#fff;border:2px solid #e9d39c;border-radius:13px;padding:4px;min-width:0;text-align:center;color:#573b30;text-decoration:none}.c4x-home-stamp img{width:100%;max-width:94px;aspect-ratio:1}.c4x-home-stamp small{font-size:11px;line-height:1.25}
.c4x-green,.c4x .c4x-green{display:flex;align-items:center;justify-content:center;max-width:100%;min-height:48px;padding:9px 15px;font-size:16px;font-weight:900;color:#fff;text-shadow:0 1px #166831;text-decoration:none;border:2px solid #0b7835;border-radius:999px;background:linear-gradient(#82ee75 0%,#2fd553 36%,#08b73e 67%,#0a8e3b);box-shadow:inset 0 2px #dcffba,0 4px 0 #065b2b,0 6px 10px #217f473a}
.c4x-green:active{transform:translateY(2px);box-shadow:inset 0 1px #dcffba,0 2px #065b2b}
.c4x-growth{padding:8px 0 20px}.c4x-growth .c4x-recent{max-width:390px;margin:0 auto 15px}.c4x-growth .c4x-recent .c4x-home-row{margin-bottom:0}
.c4x-app{margin:0 auto;max-width:390px;min-width:0;background:linear-gradient(#fffdf6,#fef2d7);border-radius:24px;border:2px solid #b0cba4;box-shadow:0 4px 0 #a3b894,0 10px 19px #62542925;overflow:hidden}
.c4x-bar{position:relative;min-height:56px;background:linear-gradient(#fff,#f9fff6);border-bottom:3px solid #beeac5;display:flex;align-items:center;justify-content:center;gap:5px;padding:9px 64px;color:#17522d;text-align:center}.c4x-bar b{font-size:17px;line-height:1.25;font-weight:900}
.c4x .c4x-back,.c4x .c4x-back{position:absolute;left:7px;top:5px;min-width:52px;max-width:52px;min-height:43px;border:1px solid #d3e9fd;background:#fff;border-radius:24px;padding:4px 3px;color:#1477c9;font-size:12px}
.c4x-viewport{position:relative;min-width:0;overflow-x:hidden;background:#fffbef}
.c4x-cover{padding:12px 13px 18px;background:linear-gradient(#fffdf4,#fdf6e3)}
.c4x-cover-art{margin:0 auto 11px;width:100%;max-width:365px;filter:drop-shadow(0 4px 3px #bba47355)}.c4x-cover-art img{width:100%;aspect-ratio:388/535;object-fit:contain}
.c4x-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.c4x .c4x-cat,.c4x .c4x-cat{display:flex;align-items:center;text-align:left;gap:6px;padding:7px 5px 7px 7px;min-height:78px;border-radius:14px;border:3px solid #f7d673;background:linear-gradient(#fffef9,#fff6d9);box-shadow:0 4px 0 #dfcc97,inset 0 0 0 2px #fff;color:#df6e1c}
.c4x .c4x-cat img{width:40px;height:40px}.c4x .c4x-cat b{font-size:16px;line-height:1.15;white-space:nowrap}.c4x .c4x-cat small{display:block;font-size:11px;color:#654e3d;line-height:1.2;font-weight:600}
.c4x .c4x-cat-try,.c4x .c4x-cat-try{border-color:#aee0ff;color:#178bdf;background:linear-gradient(#fff,#ebf8ff);box-shadow:0 4px #b3d9ef,inset 0 0 0 2px #fff}
.c4x .c4x-cat-keep,.c4x .c4x-cat-keep{border-color:#f7bcd8;color:#f23d88;background:linear-gradient(#fff,#fff0f6);box-shadow:0 4px #e6b6cb,inset 0 0 0 2px #fff}
.c4x .c4x-cat-special,.c4x .c4x-cat-special{border-color:#d7bafb;color:#9534d7;background:linear-gradient(#fff,#f5eafa);box-shadow:0 4px #d1b0e8,inset 0 0 0 2px #fff}
.c4x .c4x-count,.c4x .c4x-count{width:100%;margin:18px auto 0;min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:5px;border:3px solid #f2d69a;background:linear-gradient(#fffef6,#fff0c7);box-shadow:0 3px #d8bc7c;border-radius:15px;padding:7px 12px;color:#60321a;font-size:14px}
.c4x-count img{width:32px;height:32px;flex-shrink:0}.c4x-count strong{font-size:20px}.c4x-chevron{font-size:30px;margin-left:auto}
.c4x-collection{background:radial-gradient(circle at 10% 70%,#f8c0eb 0%,transparent 58%),linear-gradient(#fae4ff,#ffe8f8);padding:13px 10px 24px}
.c4x-collection-head{text-align:center;color:#722a96;margin:3px auto 11px}.c4x-collection-head h2{font-size:19px;margin:0}.c4x-collection-head p{font-size:12px;margin:4px 0}
.c4x-book{padding:11px 9px 13px 19px;min-height:370px;border:3px solid #97632b;border-radius:18px;background:linear-gradient(92deg,#d29b5a 0 9px,#fff8e9 10px 100%);box-shadow:0 4px #deb47d,0 8px 10px #81547755;position:relative}
.c4x-book:before{content:'▰  ▰  ▰  ▰  ▰  ▰';position:absolute;top:52px;left:-5px;transform:rotate(90deg);transform-origin:top left;white-space:nowrap;color:#b57837;letter-spacing:3px;text-shadow:1px 1px #543e29}
.c4x-book-inside{padding:12px 9px 19px;min-height:343px;border:2px dashed #dfc28a;border-radius:13px;background:linear-gradient(#fffbec,#fffef7)}
.c4x-years{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 8px}.c4x .c4x-year,.c4x .c4x-year{min-height:39px;border:1px solid #e7b2ff;border-radius:11px;background:#eed2ff;padding:5px 13px;color:#883dab;font-size:14px}.c4x .c4x-year.selected,.c4x .c4x-year.selected{background:linear-gradient(#e17aec,#a54bbd);color:white}
.c4x-subcount{text-align:right;font-size:13px;margin:0 0 8px;color:#785473}
.c4x-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.c4x .c4x-cell,.c4x .c4x-cell{display:flex;flex-direction:column;gap:5px;align-items:center;text-align:center;padding:9px 4px;background:linear-gradient(#fff,#fff9f3);border:2px dashed #e6d4ba;border-radius:15px;min-height:189px;color:#5a3429}
.c4x-cell img{width:120px;height:120px}.c4x-cell strong{font-size:13px;line-height:1.2}.c4x-cell time{font-size:11px;color:#715747}.c4x-empty{text-align:center;padding:40px 5px;color:#91798f;font-size:14px}
.c4x-collection>.c4x-green{width:88%;margin:18px auto 2px}
.c4x-detail{padding:12px 12px 23px;background:radial-gradient(circle at 50% 17%,#ffdcfa,transparent 53%),linear-gradient(#fff0ff,#fffaff)}
.c4x-detail-art{min-height:280px;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at 50%,#f5d2f9 0%,transparent 60%)}
.c4x-detail-art img{width:100%;max-width:335px;aspect-ratio:1;filter:drop-shadow(0 5px 5px #ad62a158)}
.c4x-detail-heading{padding:13px 10px 8px;border-radius:15px 15px 0 0;background:white;display:flex;align-items:center;gap:8px}.c4x-detail-heading strong{font-size:18px;color:#633259}
.c4x-pill{background:linear-gradient(#d984f9,#963ec6);color:white;border-radius:22px;padding:5px 13px;font-size:12px;white-space:nowrap}
.c4x-detail-facts{background:#fffdfd;border:2px solid #ffdc9b;border-radius:15px;margin:0 0 14px;padding:5px 12px}.c4x-fact{padding:9px 3px 11px;border-bottom:1px solid #f4dfd8}.c4x-fact:last-child{border:0}.c4x-fact dt{font-size:12px;color:#87654b}.c4x-fact dd{font-size:14px;font-weight:850;margin:3px 0;color:#543c2f;overflow-wrap:anywhere}
.c4x-privacy{color:#97759d;font-size:11px;text-align:center;margin:8px 0 14px}.c4x .c4x-seen,.c4x .c4x-seen{display:block;margin:8px auto 12px;background:#fffde4;border:1px solid #d7bb80;border-radius:30px;color:#8c662e;padding:9px 25px;min-height:44px}
.c4x-detail>.c4x-green{width:86%;margin:8px auto}
.c4x-error{border:2px solid #d8dbc0;background:#fffced;padding:14px;border-radius:14px}
.c4x-award{max-height:calc(100dvh - 18px);overflow:auto;width:min(94vw,390px);border:0;padding:0;border-radius:24px;background:transparent;color:#68391e;box-shadow:0 20px 40px #0006}
.c4x-award::backdrop{background:#10161dd0;backdrop-filter:blur(2px)}
.c4x-award-panel{border:5px solid #ffe09a;padding:15px;border-radius:24px;background:linear-gradient(#fffbdd,#fff4c6);text-align:center;box-shadow:inset 0 0 0 4px #fff6d8}
.c4x-award-crown{width:58px;height:58px;margin:0 auto -3px}.c4x-award h2{font-size:21px;color:#824818;margin:4px 0 9px}.c4x-award-img{width:min(260px,95%);height:auto;aspect-ratio:1;margin:0 auto;filter:drop-shadow(0 6px 8px #76499388)}
.c4x-award strong{display:block;font-size:18px;color:#7a3324}.c4x-award p{font-size:13px;margin:7px}.c4x-award .c4x-green{width:95%;margin:14px auto 12px}.c4x-award .c4x-later{display:block;width:80%;min-height:42px;margin:auto;border:2px solid #b5b9c4;border-radius:32px;color:#503a35;background:white;font-weight:800}
@media(prefers-reduced-motion:no-preference){.c4x-award-img{animation:c4x-pop .5s cubic-bezier(.17,1.4,.33,1)}@keyframes c4x-pop{from{opacity:.3;transform:scale(.88)}to{opacity:1;transform:scale(1)}}}
@media(max-width:350px){.c4x-bar b{font-size:15px}.c4x .c4x-cat img{width:34px}.c4x .c4x-cat b{font-size:14px}.c4x .c4x-cat{gap:4px}.c4x-grid{gap:7px}.c4x-cell img{width:110px;height:110px}}
/* Reviewed presentation refinements; all interactions remain real HTML controls. */
.c4x{color-scheme:light;font-weight:600}.c4x picture{display:block;min-width:0}.c4x picture img{width:100%;height:100%;object-fit:contain}.c4x button:disabled{cursor:wait;opacity:.6}.c4x h2,.c4x h3{font-family:inherit;line-height:1.35}.c4x-app{max-width:412px;scroll-margin-top:16px}.c4x-bar-title{margin:0;font-size:17px;font-weight:900}.c4x-bar:has(.c4x-back){padding-right:16px;padding-left:68px}.c4x-bar:not(:has(.c4x-back)){padding:14px 12px}.c4x-cover-art{display:block}.c4x-cover-art img{height:auto;aspect-ratio:388/535}.c4x .c4x-cat{width:100%;min-height:94px;padding:9px 7px}.c4x .c4x-cat-icon{width:42px;height:48px;flex:0 0 42px}.c4x .c4x-cat b{font-size:17px;letter-spacing:-.045em}.c4x .c4x-cat small{font-size:12px;margin-top:2px}.c4x .c4x-cat-done{color:#a74705}.c4x .c4x-cat-try{color:#106cb1}.c4x .c4x-cat-keep{color:#b82061}.c4x .c4x-cat-special{color:#7820b5}.c4x .c4x-count{flex-wrap:nowrap}.c4x-count-crown{width:34px;flex:0 0 34px}.c4x .c4x-green{background:linear-gradient(#67df65 0%,#20b94b 24%,#0b963c 55%,#087335);font-size:17px;text-shadow:0 1px 2px #084e2b}.c4x-home-row .c4x-home-stamp{width:100%;font-size:14px}.c4x-home-stamp picture{width:94px;max-width:100%;aspect-ratio:1}.c4x-home-stamp small{font-size:12px;line-height:1.4}.c4x-intro small{font-size:13px}.c4x-collection-head h3{font-size:19px;margin:0}.c4x-collection-head p{font-size:13px}.c4x-book{min-height:430px;padding-left:21px}.c4x-book:before{content:none}.c4x-book-inside{min-height:402px;background:radial-gradient(circle at 92% 2%,#f6ebc399,transparent 40%),linear-gradient(#fffbec,#fffef7)}.c4x-rings{position:absolute;left:-7px;top:24px;bottom:24px;width:25px;display:flex;flex-direction:column;justify-content:space-between;pointer-events:none;z-index:1}.c4x-rings i{display:block;height:12px;border:2px solid #805126;border-radius:8px;background:linear-gradient(#f6dda5,#ad7f39 36%,#efcf8a 64%,#a07838);box-shadow:0 2px 1px #a0773966;transform:rotate(-7deg)}.c4x .c4x-year{min-height:44px;min-width:86px;font-size:17px;font-weight:900;transform:rotate(-2deg);border-radius:7px 14px 14px 7px;box-shadow:0 3px #d9b1e2}.c4x .c4x-year.selected{background:linear-gradient(100deg,#ba46cd,#8630a2);border-color:#c36cd3}.c4x-subcount{color:#674364;font-size:14px}.c4x .c4x-cell{min-height:190px;width:100%;padding:8px 4px}.c4x-cell picture{width:100%;max-width:132px;aspect-ratio:1;filter:drop-shadow(0 3px 2px #9677a333)}.c4x-cell img{width:100%;height:100%}.c4x-cell strong{font-size:14px;line-height:1.45}.c4x-cell time{font-size:12px;color:#654535}.c4x-new{font-size:11px;color:#752995;background:#f7e4ff;border:1px solid #e3c2ef;border-radius:20px;padding:3px 6px}.c4x-empty{color:#705878;font-size:15px;padding:30px 8px}.c4x-empty-icon{width:70px;height:70px;margin:0 auto 20px;filter:drop-shadow(0 4px 0 #d4c2df44)}.c4x-empty p{font-size:13px;line-height:1.7;margin-top:12px}.c4x-detail-art{position:relative;min-height:0}.c4x-detail-art picture{width:100%;max-width:350px;aspect-ratio:1;z-index:1;filter:drop-shadow(0 5px 4px #9a589650)}.c4x-detail-art img{width:100%;height:100%;filter:none}.c4x-detail-stars{position:absolute;inset:12px 0;color:#b879db;font-size:36px;word-spacing:1em;text-shadow:1px 2px #fff;pointer-events:none}.c4x-detail-heading{flex-wrap:wrap;gap:8px}.c4x-detail-heading h3{font-size:20px;color:#54203f;margin:0}.c4x-pill{background:linear-gradient(#ba64df,#822caf);font-size:13px}.c4x-fact dt{font-size:13px;color:#725237}.c4x-fact dd{font-size:15px;line-height:1.7}.c4x-privacy{font-size:12px;color:#745a7a}.c4x .c4x-seen{font-size:15px;color:#6c4b1e;min-height:46px}.c4x-loading{padding:18px;text-align:center}.c4x-error p{margin:0 0 12px}.c4x-error .c4x-seen{margin-bottom:0}
/* Gold celebration is a once-claimed dialog, not a new notification mechanism. */
.c4x.c4x-award{margin:auto;padding:0;width:min(94vw,412px);max-width:calc(100vw - 18px);max-height:calc(100dvh - 20px);border:0;border-radius:24px;background:transparent;overflow:auto;isolation:isolate;box-shadow:none}.c4x-award::backdrop{background:#14221bd4;backdrop-filter:blur(2px)}.c4x-award .c4x-award-panel{position:relative;isolation:isolate;padding:12px 12px 16px;border:0;background:transparent;box-shadow:none;color:#63301b}.c4x-rays{position:absolute;z-index:-1;inset:14% -35% 12%;border-radius:50%;background:repeating-conic-gradient(from 4deg,#ffef9caa 0deg,#ffd34d55 7deg,transparent 9deg,transparent 19deg),radial-gradient(ellipse,#fffad9 3%,#ffe378aa 30%,#edb33d44 54%,transparent 67%);mask-image:radial-gradient(ellipse,#000 14%,#000a 39%,transparent 69%);pointer-events:none}.c4x-award-crown{width:52px;height:46px;margin:0 auto -3px;filter:drop-shadow(0 3px 1px #774011)}.c4x-award .c4x-award-banner{position:relative;margin:0 0 8px;padding:12px 5px 14px;font-size:clamp(18px,5vw,23px);font-weight:900;color:#502810;background:linear-gradient(#fff8c2,#ffdb62);border:3px solid #ad7125;border-radius:52% 52% 20% 20% / 30% 30% 20% 20%;box-shadow:inset 0 0 0 2px #fff0b2,0 4px #6b471d66;transform:rotate(-2deg);text-shadow:0 1px #fff5d2}.c4x-award-img{width:min(310px,96%);aspect-ratio:1;height:auto;margin:0 auto 3px;filter:drop-shadow(0 0 12px #fff7b3)}.c4x-award-img img{height:100%;width:100%}.c4x-award-sheet{padding:13px 11px 16px;background:linear-gradient(#fffdea,#fff8d6);border:3px solid #e4c27c;border-radius:22px;box-shadow:0 4px 0 #91693766,inset 0 0 0 2px #fff}.c4x-award-sheet strong{font-size:19px;color:#6b3425}.c4x-award-sheet p{font-size:14px;color:#6b4329;margin:6px 0}.c4x-award .c4x-green{width:100%;margin:12px auto}.c4x-award .c4x-later{width:100%;min-height:46px;font-size:16px;border-color:#aaa8a1;color:#563a2d;background:linear-gradient(#fff,#f8f7f4);box-shadow:0 2px #b4a993}.c4x-award-other{display:flex;justify-content:center;gap:12px}.c4x-award-other span{display:flex;align-items:center;gap:6px;font-size:12px}.c4x-award-other picture{height:40px;width:40px}.c4x-award-other small{font-size:12px}.c4x-award-panel>*:not(.c4x-rays){position:relative}.c4x button:focus-visible,.c4x a:focus-visible{outline:3px solid #165fbf;outline-offset:3px}
@media(max-width:350px){.c4x-cover{padding:10px 8px 16px}.c4x .c4x-cat{padding:8px 4px;gap:4px;min-height:86px}.c4x .c4x-cat-icon{width:30px;height:38px;flex-basis:30px}.c4x .c4x-cat b{font-size:14px}.c4x .c4x-cat small{font-size:11px}.c4x .c4x-count{padding:7px;font-size:12px}.c4x .c4x-count strong{font-size:18px}.c4x-count-crown{width:28px;flex-basis:28px}.c4x-bar-title{font-size:15px}.c4x-book-inside{padding:10px 5px}.c4x-grid{gap:7px}.c4x-cell strong{font-size:13px}.c4x-cell time{font-size:11px}.c4x-detail{padding:12px 9px 20px}.c4x-detail-heading h3{font-size:18px}.c4x-detail-facts{padding:5px 8px}.c4x-fact dd{font-size:14px}.c4x-award-img{width:min(250px,92%)}.c4x-award-other picture{width:32px;height:32px}}
@media(prefers-reduced-motion:reduce){.c4x *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.c4x button,.student-portal .c4x button{margin:0}.c4x button.c4x-count{margin:18px auto 0}.c4x .c4x-collection>.c4x-green{margin:18px auto 2px}.c4x .c4x-detail>.c4x-green{margin:8px auto}.c4x .c4x-detail>.c4x-seen{margin:8px auto 12px}.c4x .c4x-award-sheet>.c4x-green{margin:12px auto}.c4x .c4x-award-sheet>.c4x-later{margin:0 auto}
.c4x.c4x-award{overflow-x:hidden}.c4x-bar-title:focus{outline:none}
.c4x-rays{left:0;right:0}.c4x-award-panel{overflow:hidden}
.c4x .c4x-back{min-height:44px}
@media(max-width:440px){.c4x .c4x-cat{gap:4px;padding:9px 5px}.c4x .c4x-cat-icon{width:32px;height:42px;flex-basis:32px}.c4x .c4x-cat b{font-size:15px}.c4x .c4x-cat small{font-size:11px}}
@media(max-width:350px){.c4x .c4x-cat{padding:8px 4px}.c4x .c4x-cat-icon{width:28px;flex-basis:28px}.c4x .c4x-cat b{font-size:14px}}

/* r166: CHAT Ready exact award composition; native dialog/claim retained. */
.c4x-award-panel{position:relative;width:100%;padding:8px 15px 20px;text-align:center;z-index:1;isolation:isolate}.c4x-award .fx-rays{position:absolute;z-index:-1;left:-24%;top:17%;width:148%;aspect-ratio:1;pointer-events:none;border-radius:50%;background:repeating-conic-gradient(from 12deg,#fff3a3dc 0deg,#ffca4077 8deg,transparent 12deg,transparent 24deg),radial-gradient(circle,#fff9de 0%,#ffe37fae 26%,#ffaf3655 49%,transparent 68%);mask-image:radial-gradient(circle,#000 9%,#000d 43%,transparent 66%);-webkit-mask-image:radial-gradient(circle,#000 9%,#000d 43%,transparent 66%);opacity:.88;transform:scale(.98)}.c4x-award .fx-halo{position:absolute;z-index:-1;left:3%;right:3%;top:23%;height:50%;border-radius:50%;background:radial-gradient(ellipse,#fff5b0c4 0%,#ffe27270 25%,transparent 65%);pointer-events:none}.c4x-award .fx-sparkle{position:absolute;z-index:3;display:block;color:#ffd44f;font-size:var(--size,22px);font-family:Arial,sans-serif;text-shadow:0 1px 5px #fff6b0,0 0 8px #ffc84a;pointer-events:none;opacity:0;transform:scale(.4)}.c4x-award .fx-sparkle--purple{color:#b879f8;text-shadow:0 0 5px white,0 0 10px #a86dfc}.c4x-award .fx-sparkle--white{color:#fff2b8}.c4x-award .fx-crown{display:block;width:46px;height:45px;object-fit:contain;margin:0 auto -5px;filter:drop-shadow(0 3px #af6b1e)}.c4x-award .fx-ribbon{position:relative;font-size:25px;font-weight:1000;letter-spacing:1px;color:#6b2e15;background:linear-gradient(180deg,#fffbc3 0%,#ffe77e 40%,#ffd55b 100%);border:3px solid #bc842e;box-shadow:inset 0 3px #fffddd,0 4px #60330d99;min-height:52px;border-radius:53% 53% 20% 20% / 38% 38% 20% 20%;padding:8px 0;transform:rotate(-2deg);text-shadow:0 1px white}.c4x-award .fx-ribbon::before,.c4x-award .fx-ribbon::after{content:"";position:absolute;bottom:-6px;width:26px;height:31px;background:#eab53c;z-index:-1;border:2px solid #ac751b}.c4x-award .fx-ribbon::before{left:-12px;transform:skewY(-16deg)}.c4x-award .fx-ribbon::after{right:-12px;transform:skewY(16deg)}.c4x-award .fx-sticker-wrap{position:relative;width:min(85%,260px);margin:11px auto 7px;aspect-ratio:1;transform-origin:center;filter:drop-shadow(0 0 12px #fff2a4) drop-shadow(0 6px 6px #5314788a)}.c4x-award .fx-sticker{display:block;width:100%;height:100%;object-fit:contain}.c4x-award .fx-award-details{position:relative;border:3px solid #f0ca86;border-radius:22px;padding:12px 13px 13px;background:linear-gradient(#fffdf4,#fff4cf);box-shadow:0 4px #a77d3a66,inset 0 0 0 3px #fff9de}.c4x-award .fx-award-details strong{display:block;font-size:17px;color:#793725}.c4x-award .fx-award-details p{margin:5px 0 9px;font-size:12px;color:#9b5f3c;font-weight:800}.c4x-award .fx-counter{position:absolute;top:-10px;right:9px;background:#9e48c8;color:white;font-size:11px;font-weight:900;border-radius:15px;padding:3px 9px;box-shadow:0 2px #6c3199}.c4x-award .fx-button{border:2px solid #117d39;border-radius:28px;background:linear-gradient(#39ed73,#05ab46 50%,#057934 100%);color:white;font-size:15px;font-weight:1000;text-shadow:0 -1px #075c27;box-shadow:inset 0 3px #a3ffad,0 5px #075b2e;border-bottom-width:2px;width:100%;min-height:45px;display:block;margin:11px auto 9px}.c4x-award .fx-button:active{transform:translateY(2px);box-shadow:inset 0 2px #7be59d,0 2px #075b2e}.c4x-award .fx-button--quiet{background:linear-gradient(#fff,#f8f8f8);border:2px solid #babcb8;color:#4c4a47;text-shadow:none;box-shadow:0 3px #aaa49a;margin:0 auto;min-height:45px;font-size:14px}.c4x-award .fx-topline{color:#ffe5a2;margin:0 auto 5px;font-size:11px;font-weight:900;letter-spacing:.1em;opacity:.98}.c4x-award .fx-skip{position:absolute;right:13px;top:0;color:#fff1b9;background:#432b218c;border:1px solid #f0cf8c;border-radius:12px;min-height:44px;padding:4px 8px;font-size:11px;font-weight:900;z-index:8}
/* All effects are transform + opacity and end in a static resting state. */
@keyframes c4fx-rays-bloom{0%{opacity:0;transform:scale(.51) rotate(-8deg)}65%{opacity:.98}100%{opacity:.88;transform:scale(.98) rotate(0)}}
@keyframes c4fx-halo-bloom{0%{transform:scale(.5);opacity:0}55%{opacity:1}100%{transform:scale(1);opacity:1}}
/* Reuse r165 .5s entry pop on image. A separate halo/inner wrapper provides one soft settling bounce. */
@keyframes c4x-pop{from{opacity:.3;transform:scale(.88)}to{opacity:1;transform:scale(1)}}
@keyframes c4fx-settle{0%{transform:scale(1)}46%{transform:scale(1.045)}80%{transform:scale(.992)}100%{transform:scale(1)}}
@keyframes c4fx-twinkle{0%{transform:scale(.15) rotate(-40deg);opacity:0}27%{opacity:1}67%{opacity:1;transform:scale(1.15) rotate(12deg)}100%{opacity:0;transform:scale(.7) rotate(38deg)}}
@keyframes c4fx-banner{from{opacity:0;transform:translateY(5px) rotate(-2deg)}to{opacity:1;transform:translateY(0) rotate(-2deg)}}
.c4x.c4x-award.is-playing .fx-rays{animation:c4fx-rays-bloom 880ms cubic-bezier(.15,.75,.27,1) 0ms both}.c4x.c4x-award.is-playing .fx-halo{animation:c4fx-halo-bloom 880ms ease-out both}.c4x.c4x-award.is-playing .fx-sticker{animation:c4x-pop 500ms cubic-bezier(.17,1.4,.33,1) 150ms both}.c4x.c4x-award.is-playing .fx-sticker-wrap{animation:c4fx-settle 350ms ease-in-out 660ms both}.c4x.c4x-award.is-playing .fx-sparkle{animation:c4fx-twinkle 860ms ease-out var(--delay,0ms) 1 both}.c4x.c4x-award.is-playing .fx-ribbon{animation:c4fx-banner 320ms ease-out 120ms both}

.c4x.c4x-award{width:min(100vw - 18px,390px);border-radius:0;overflow-x:hidden}
.c4x-award::backdrop{background:radial-gradient(circle at 50% 45%,#e8b52d55,transparent 63%),#06150fce;backdrop-filter:blur(1.1px)}
.c4x.c4x-award .c4x-award-panel{padding:8px 15px 20px;overflow:hidden}
.c4x-award .c4x-award-panel>*{position:relative}
.c4x-award .c4x-award-panel>.fx-rays,.c4x-award .c4x-award-panel>.fx-halo,.c4x-award .c4x-award-panel>.fx-sparkle,.c4x-award .c4x-award-panel>.fx-skip{position:absolute}
.c4x-award h2.fx-ribbon{margin:0;font-size:25px;line-height:1.35;color:#6b2e15}
.c4x-award .fx-award-details strong{font-size:17px;color:#793725}
.c4x-award .fx-award-details p{margin:5px 0 9px;font-size:12px;color:#9b5f3c}
.c4x-award button.fx-button{margin:11px auto 9px}.c4x-award button.fx-button--quiet{margin:0 auto}
@media(max-width:410px){.c4x-award .fx-sticker-wrap{width:min(82%,242px)}.c4x-award h2.fx-ribbon{font-size:23px}}
@media(max-width:348px){.c4x.c4x-award .c4x-award-panel{padding:8px 12px 10px}.c4x-award .fx-sticker-wrap{width:min(75%,211px)}.c4x-award .fx-award-details{padding:9px 10px}.c4x-award h2.fx-ribbon{font-size:21px}.c4x-award .fx-crown{width:40px;height:35px}.c4x-award .fx-award-details strong{font-size:15px}.c4x-award .fx-award-details p{font-size:11px;margin:4px}.c4x-award button.fx-button{min-height:44px;margin:7px auto 6px}.c4x-award button.fx-button--quiet{margin:0 auto}.c4x-award .fx-topline{font-size:10px}}
@media(prefers-reduced-motion:reduce){.c4x-award .fx-sparkle{display:none!important}.c4x.c4x-award *{animation:none!important;transition:none!important}}

/* r174 C4-only: adopted notebook extension; no coach/Weekly/preview styles. */
.c4x-more{margin:14px 2px;border:1.5px solid #dfbd87;background:#fffdf5;border-radius:13px;padding:9px}.c4x-more summary{cursor:pointer;font-size:13px;color:#83552d;font-weight:900;text-align:center;padding:5px;min-height:34px}
.c4x-cell.is-pending small{color:#74542f}.c4x-cell:not(.is-earned) picture{filter:grayscale(1);opacity:.46}.c4x-cell .c4x-state{font-size:13px}.c4x-placeholder{min-height:100px;display:grid;place-items:center;color:#796959}.c4x-progress-note{padding:10px;border:1px solid #efb6cf;border-radius:12px;background:#fff7fb;color:#85405f}.c4x-cell{min-width:0}.c4x-count strong{font-size:18px}.c4x-count span{min-width:0}

/* Keep unearned detail artwork monochrome, including its decorative effects. */
.c4x-detail-art:not(.is-earned){filter:grayscale(1)}
.c4x-detail-art:not(.is-earned) picture{opacity:.46}

/* Approved birthday locked thumbnail already includes grayscale/soft blur/veil. */
.c4x .c4x-cell:not(.is-earned) picture.c4x-locked-thumbnail,.c4x .c4x-detail-art:not(.is-earned) picture.c4x-locked-thumbnail{filter:none;opacity:1}
