/* Additions are scoped to the new chapter; the approved Grimoire styles are reused. */
.protection-page{background:radial-gradient(ellipse at 0 0,#74306b55,transparent 45%),radial-gradient(ellipse at 100% 80%,#67305c44,transparent 40%),linear-gradient(135deg,#30133e,#241030 65%,#35133e);padding-bottom:24px}
.protection-intro{position:static;display:block;margin-bottom:22px}
.protection-banner{position:relative;overflow:hidden;margin:12px 12px 0;border:1px solid #dfb97d;border-radius:16px}
.protection-banner img{display:block;width:100%;height:auto;object-fit:contain}
.protection-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.protection-card{display:grid;grid-template-columns:36% minmax(0,1fr) 28px;align-items:center;gap:10px;min-width:0;min-height:114px;padding:0 10px 0 0;overflow:hidden;border:1px solid #f3d18d;border-radius:17px;background:radial-gradient(ellipse at 80% 100%,#6d365755,transparent 75%),linear-gradient(115deg,#46204c,#291337 70%);box-shadow:inset 0 0 12px #dc9c6838,0 0 9px #df966d38}
.protection-card-art{display:flex;align-items:center;align-self:stretch;min-width:0;background:#351238}
.protection-card-art img{display:block;width:100%;height:auto;object-fit:contain;object-position:center}
.protection-card-copy{min-width:0;padding:12px 0}
.protection-page .protection-card h2{font-size:1.03rem;line-height:1.22;margin:0 0 6px;text-wrap:balance}
.protection-page .protection-card p{font-size:.86rem;line-height:1.38;margin:0}
.protection-page .consecration-hero{max-width:820px}
.protection-page .consecration-content{max-width:850px;margin:auto}
.protection-page .consecration-content>section{height:auto;min-width:0}
.protection-page .consecration-annexes{grid-template-columns:minmax(0,1fr)}
.protection-page .consecration-steps h3{font-size:1.05rem;font-weight:600;line-height:1.4;margin:0 0 6px}
.protection-page .consecration-steps li{padding:0 0 0 38px;scroll-margin-top:120px}
.protection-page .consecration-steps li p{margin:0 0 8px}
.protection-page .protection-materials-list{margin:12px 0 0;padding-left:22px}
.protection-page .protection-materials-list li{padding:0;margin:5px 0}
.protection-page .protection-materials-list li::marker{color:#f3d18d}
.protection-page .protection-supply-accents{display:flex;justify-content:center;flex-wrap:wrap;gap:18px;margin:4px 0 16px}
.protection-supply-accents figure{display:grid;justify-items:center;gap:6px;flex:0 1 100px;margin:0}
.protection-supply-accents svg{width:80px;height:85px;max-width:100%;overflow:hidden;filter:drop-shadow(0 2px 4px #10081750)}
.protection-supply-accents figcaption{font-size:.85rem;text-align:center;line-height:1.3}
.protection-page .protection-step-words{font-style:italic;color:#ffebba;border-left:1px solid #deb677;margin:12px 0;padding:4px 0 4px 13px;line-height:1.6}
.protection-step-words span{display:block}
.protection-page .protection-formula-link,.protection-page .protection-formula-return a{display:inline-block;padding:10px 0;color:#ffdda2;text-decoration:underline;text-underline-offset:4px;min-height:44px}
.protection-page .protection-formula-return{text-align:center}
.protection-page #incantation{scroll-margin-top:140px}
/* These resets affect only the new chapter, avoiding generic article decorations on steps. */
#app .am-gm-special .protection-page :is(.consecration-invocation,.consecration-steps>li){background:none!important;border:0!important;box-shadow:none;border-radius:0}
#app .am-gm-special .protection-page .consecration-panel{border-color:#e8c182!important;background:radial-gradient(ellipse at 100% 100%,#8c4c6b22,transparent 70%),linear-gradient(135deg,#51235388,#31163fbb)!important;box-shadow:inset 0 0 13px #d79c6028,0 0 9px #cd955625}
/* Keep the existing personal-Grimoire action from squeezing the greeting on this chapter. */
#app:has(.protection-page)>.account-strip{flex-wrap:wrap!important}
#app:has(.protection-page)>.account-strip>.gb-actions{order:3;flex:1 1 100%;margin:4px 0 0;padding:10px;gap:8px;justify-content:center}
#app:has(.protection-page)>.account-strip>.gb-actions .gb-button{width:auto;min-height:44px;padding:9px 14px;font-size:14px}
#app:has(.protection-page)>.account-strip>.gb-actions>a{font-size:14px}
@media(min-width:700px){.protection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.protection-card{grid-template-columns:minmax(0,1fr) 32px;grid-template-rows:auto 1fr;gap:0;padding:0}.protection-card-art{grid-column:1/-1}.protection-card-copy{padding:15px 12px 17px}.protection-card>.consecration-chevron{margin-right:10px}.protection-page .protection-card h2{font-size:1.24rem}.protection-page .protection-card p{font-size:1rem}.protection-banner{max-width:820px;margin:16px auto 0}.protection-page .consecration-content{padding-inline:22px}}
@media(max-width:370px){.protection-card{grid-template-columns:34% minmax(0,1fr) 24px;gap:7px;padding-right:7px}.protection-page .protection-card h2{font-size:1rem}.protection-page .protection-card p{font-size:.82rem}.protection-page .consecration-toolbar{font-size:1.45rem}.protection-page .consecration-steps li{padding-left:32px}}
@media(max-width:699px){.protection-card-art img{aspect-ratio:1;object-fit:contain}}

.protection-card>.consecration-chevron svg{display:block;width:13px;height:13px}
