/* Recover from an old link without leaving the townie world. */
html body.notice-page{--notice-top:#695aff;--notice-mid:#805aeb;--notice-end:#a872ff;background:var(--notice-top);color:#fff}
html[data-theme=dark] body.notice-page{--notice-top:#30203f;--notice-mid:#3b2653;--notice-end:#48305f;background:var(--notice-top);color:#fff}
.notice-surface{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;overflow:clip;background:linear-gradient(180deg,var(--notice-top) 12px,transparent 160px),linear-gradient(90deg,var(--notice-top),var(--notice-mid) 58%,var(--notice-end));padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
.notice-main{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:48px;flex:1;padding-block:60px 80px}
.notice-label{font-size:12px;letter-spacing:.09em;text-transform:uppercase;margin-bottom:22px;opacity:.78}
.notice-copy h1{font:500 clamp(46px,5.4vw,76px)/1.06 Involve,Arial,sans-serif;letter-spacing:-.05em;margin:0}
.notice-description{font:400 19px/1.55 Involve,Arial,sans-serif;max-width:430px;margin:26px 0 32px;color:#ffffffe0}
.notice-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.notice-actions a{min-height:54px;display:inline-flex;align-items:center;justify-content:center;gap:18px;border-radius:40px;padding:15px 24px;font:600 15px/1.4 Involve,Arial,sans-serif;text-decoration:none}
.notice-actions .notice-primary{background:#fff;color:#5337a6;box-shadow:0 7px 22px #30203f16}
.notice-actions .notice-primary:hover{background:#fff0e9}
.notice-actions .notice-secondary{color:#fff;border:1px solid #ffffff66;background:#ffffff06}
.notice-actions .notice-secondary:hover{background:#ffffff18}
.notice-page a:focus-visible{outline:2px solid #ffcebd;outline-offset:5px}
.notice-art{position:relative;isolation:isolate;width:100%;max-width:470px;height:440px;justify-self:end}
.notice-art img{position:absolute;z-index:2;bottom:-8px;right:-18px;width:98%;height:auto}
.notice-orbit{position:absolute;inset:60px -30px 0 18px;border:1px solid #ffffff27;border-radius:50%;transform:rotate(-18deg);background:radial-gradient(ellipse at 55% 55%,#ffffff12,transparent 68%)}
.notice-code{position:absolute;top:-35px;left:-22px;font:500 clamp(150px,15vw,220px)/1 Involve,Arial,sans-serif;letter-spacing:-.08em;color:#ffffff35;transform:rotate(-8deg)}
.notice-calendar{position:absolute;left:24px;top:-30px;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:190px;height:205px;border:2px solid #8662cf;border-radius:22px;overflow:hidden;padding:38px 0 8px;background:#fff9f4;color:#563d8d;transform:rotate(-10deg);box-shadow:9px 12px 0 #563d8d24,0 14px 28px #30203f20;font-family:Involve,Arial,sans-serif}

.notice-calendar>span{position:absolute;inset:0 0 auto;display:flex;align-items:center;justify-content:center;height:38px;background:#7850bf;color:#fff;font-size:14px}.notice-calendar strong{font-size:87px;line-height:1;font-weight:500;letter-spacing:-.07em}.notice-calendar small{font-size:11px;color:#85788f}
.notice-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-block:24px;border-top:1px solid #ffffff26;font:400 12px/1.5 Involve,Arial,sans-serif;color:#ffffffc7}
.notice-footer a{text-decoration:underline;text-underline-offset:4px}
@media(max-width:760px){
 .notice-page .header{height:77px;gap:10px}.notice-page .header-download{font-size:10px;padding:8px 11px}.notice-page .header .theme-toggle{flex-basis:34px;width:34px;height:34px;padding:7px}.notice-page .brand{width:126px}.notice-page .brand img:first-child{width:30px}.notice-page .brand img:last-child{width:90px}
 .notice-main{display:flex;flex-direction:column;gap:18px;padding-block:22px 34px;text-align:center}
 .notice-art{order:-1;align-self:center;width:260px;height:205px;margin:0}
 .notice-art img{width:232px;right:-14px;bottom:-5px}.notice-orbit{inset:14px -4px 0 0}.notice-code{font-size:139px;top:-7px;left:-2px}
 .notice-calendar{width:112px;height:126px;top:1px;left:13px;border-radius:15px;gap:4px;padding:27px 0 6px;box-shadow:6px 8px 0 #563d8d24,0 8px 18px #30203f20}.notice-calendar>span{height:27px;font-size:10px}.notice-calendar strong{font-size:53px}.notice-calendar small{font-size:8px}
 .notice-label{font-size:10px;margin-bottom:13px}.notice-copy h1{font-size:clamp(36px,10.5vw,48px);line-height:1.08}.notice-description{font-size:15px;line-height:1.5;max-width:340px;margin:19px auto 23px}.notice-actions{gap:10px;justify-content:center}.notice-actions a{min-height:48px;padding:13px 18px;font-size:13px}.notice-footer{font-size:10px;padding-block:18px}
}
@media(max-width:370px){.notice-page .brand{width:108px}.notice-page .brand img:last-child{width:72px}.notice-page .header-download{font-size:9px;padding-inline:9px}.notice-actions{flex-direction:column}.notice-actions a{width:100%}}

/* Keep the date legible beside the characters. */
.notice-main[data-recovery=past] .notice-art img{width:76%;right:-35px}
.notice-main[data-recovery=past] .notice-calendar{z-index:3;left:0}
@media(max-width:760px){.notice-main[data-recovery=past] .notice-art img{width:210px;right:-32px}}

/* A pale illustration panel separates purple clothes from the light-theme canvas. */
html:not([data-theme=dark]) .notice-orbit{
  inset:-6px -48px -16px -12px;transform:none;border:0;border-radius:54px 110px 54px 110px;
  background:#f4edff;box-shadow:0 16px 38px #33205816;
}
html:not([data-theme=dark]) .notice-code{color:#7353bb38}
@media(max-width:760px){
 html:not([data-theme=dark]) .notice-orbit{inset:-6px -40px -12px -12px;border-radius:32px 64px 32px 64px}
 html:not([data-theme=dark]) .notice-art{transform:translateX(-14px)}
 html:not([data-theme=dark]) .notice-main{gap:26px}
}
