.community-day {
    --peach: #ffbc94;
    --amber: #ffcf8d;
    padding-top: clamp(24px, 4vw, 48px);
}
.cd-poster {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .86fr);
    align-items: center;
    overflow: hidden;
    color: #fff5e8;
    border: 1px solid #7d6470;
    border-radius: 18px;
    background: linear-gradient(90deg, #101723ce 0%, #14202bc4 30%, #18252b42 63%, #332a2714),
        url('/art/community-day/riverside-park.webp') center / cover;
}
.cd-poster::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(0deg, #171a2a99, transparent 30%),
        radial-gradient(ellipse at 77% 65%, #ffba8e36, transparent 40%);
}
.cd-copy { padding: clamp(24px, 4vw, 50px); }
.cd-copy h2 { margin: 12px 0 0; font: 800 clamp(3.5rem, 7.3vw, 7.2rem)/.98 Cond, sans-serif; letter-spacing: -.035em; overflow-wrap: anywhere; }
.cd-copy > p { max-width: 43ch; margin-top: 15px; color: #f1e5de; }
.cd-dateline, .cd-identity, .cd-calendar a, .cd-roster a { display: flex; align-items: center; gap: 12px; }
.cd-dateline .spot-state { display: flex; margin-bottom: 2px; }
.cd-dateline strong { font: 650 1.15rem Cond, sans-serif; }
.cd-date { display: grid; align-content: center; justify-items: center; gap: 2px; min-width: 49px; padding: 7px 5px; border: 1px solid #987468; border-radius: 7px; background: #362d35; color: var(--peach); text-transform: uppercase; font: 750 .71rem/1 Sans, sans-serif; letter-spacing: .08em; }
.cd-date b { font: 800 1.85rem/.95 Cond, sans-serif; letter-spacing: 0; color: #fff2dc; }
.cd-identity { margin-top: 12px; font: 700 .86rem Sans, sans-serif; }
.cd-identity b { color: var(--peach); font-variant-numeric: tabular-nums; }
.cd-identity span { border-left: 1px solid #8c7773; padding-left: 12px; }
.cd-opening { margin-top: 26px; border-left: 3px solid var(--peach); padding-left: 12px; }
.cd-opening strong, .cd-opening span { display: block; }
.cd-opening strong { font: 720 1.25rem Cond, sans-serif; }
.cd-opening time { color: var(--peach); font-variant-numeric: tabular-nums; }
.cd-opening span { margin-top: 2px; color: #e1d7d5; font-size: .87rem; }
.cd-jumps { display: flex; flex-wrap: wrap; gap: 14px; }
.cd-jumps a { margin-top: 12px; color: var(--peach); text-underline-offset: 3px; font-size: .85rem; }
.cd-jumps a:hover { text-decoration: underline; }
.cd-art { position: relative; display: grid; place-items: center; min-height: clamp(290px, 30vw, 382px); }
.cd-art::before, .cd-art::after { content: ""; position: absolute; pointer-events: none; border-radius: 50%; }
.cd-art::before { width: min(84%, 280px); aspect-ratio: 1; border: 1px solid #fff6df85; outline: 1px dashed #ffe4c267; outline-offset: 8px; background: radial-gradient(circle, #ffeecc40 0%, #ffd4b111 60%, #fff0db26); }
.cd-art::after { width: 48%; height: 5%; bottom: 13%; background: #26213084; filter: blur(7px); z-index: -1; }
.cd-art > img, .cd-art .portrait-stage { position: relative; inset: auto; width: min(91%, 330px); height: auto; aspect-ratio: 1; }
.cd-art img { object-fit: contain; }
.cd-art .portrait-layers { position: absolute; inset: 6px 0; }
.cd-art .portrait-layers, .cd-plain-portrait { animation: cd-hover 2.4s ease-in-out infinite; will-change: transform; }
.cd-art .portrait-label { border: 1px solid #c5a890; border-radius: 2rem; padding: 4px 10px; }
@keyframes cd-hover { 0%, 100% { transform: translateY(3px); } 50% { transform: translateY(-3px); } }
.cd-button { background: var(--peach); color: #302029; }
.cd-button { padding: 10px 16px; border-radius: 6px; font-weight: 750; }
.cd-gate .cd-copy h2 { font-size: clamp(3rem, 6vw, 5.8rem); }
.cd-roster { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 0; }
.cd-roster a { flex: 0 1 auto; gap: 5px; background: var(--surface); border: 1px solid var(--line); padding: 4px 11px 4px 5px; border-radius: 9px; color: var(--muted); font: 700 1rem Cond, sans-serif; }
.cd-roster a:is(:hover, [aria-current]), .cd-calendar a:is(:hover, [aria-current]) { border-color: #d99e7f; background: #382f34; color: #fff2e0; }
.cd-roster img { object-fit: contain; }
.cd-section-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cd-section-title a { color: var(--peach); font-size: .87rem; }
.cd-section-title a:hover { text-decoration: underline; }
.cd-bonuses, .cd-calendar { margin-top: clamp(24px, 3vw, 38px); }
.cd-section-title h2, .cd-calendar h2 { font: 750 clamp(1.6rem, 2.7vw, 2.2rem)/1.1 Cond, sans-serif; }
.cd-bonuses ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(285px, 100%), 1fr)); padding: 0; list-style: none; gap: 8px; }
.cd-bonuses ul, .cd-bonuses > p { margin: 12px 0 0; }
.cd-bonuses li { position: relative; padding: 13px 14px 13px 31px; border: 1px solid #51434a; border-radius: 8px; background: linear-gradient(115deg, #332d33, var(--surface)); font-size: .94rem; }
.cd-bonuses li::before { content: ""; position: absolute; top: 19px; left: 14px; width: 6px; height: 6px; background: var(--peach); transform: rotate(45deg); }
.cd-calendar > div { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(205px,100%),1fr)); gap: 8px; margin-top: 12px; }
.cd-calendar a { padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.cd-calendar strong, .cd-calendar small { display: block; }
.cd-calendar strong { font: 700 1.1rem/1.1 Cond,sans-serif; }
.cd-calendar small { color: var(--muted); margin-top: 4px; font-size: .8rem; }
.cd-feed-preview { margin-top: 16px; border: 1px solid #54515a; border-radius: 10px; overflow: hidden; background: #20222a; }
.cd-preview-head { display: flex; align-items: center; justify-content: space-between; padding: 9px 14px; background: linear-gradient(100deg,#3b3338,#29292f); font-size: .84rem; }
.cd-preview-head span { display: inline-flex; align-items: center; gap: 6px; color: var(--peach); }
.cd-feed-preview table { border-collapse: collapse; width: 100%; font-size: .84rem; }
.cd-feed-preview :is(th,td) { padding: 8px; text-align: center; }
.cd-feed-preview th:first-child { padding-left: 12px; text-align: left; }
.cd-feed-preview thead { font-size: .75rem; color: var(--muted); }
.cd-feed-preview tbody tr { border-top: 1px solid var(--line); }
.cd-feed-preview tbody th img { vertical-align: middle; object-fit: contain; margin-right: 7px; }
.cd-feed-preview td { color: var(--muted); }
.cd-redacted { display: inline-block; width: clamp(16px,4vw,40px); height: 6px; border-radius: 3px; background: repeating-linear-gradient(120deg,#555660 0 2px,#393a44 2px 5px); }
.cd-unlock-title { margin: 18px 0 4px; font: 740 1.55rem Cond,sans-serif; }
.cd-unlock-copy, .cd-guide p { color: var(--muted); max-width: 75ch; }
.cd-unlock-links { margin-top: 16px; }
.cd-guide { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.cd-guide h2 { font: 750 1.8rem Cond,sans-serif; }
.cd-guide p { margin-top: 9px; }
.cd-guide a { color: var(--peach); text-decoration: underline; }
@media (max-width: 620px) {
    .cd-poster { grid-template-columns: 1fr; background: #1a2128; }
    .cd-poster::after { content: none; }
    .cd-art { grid-row: 1; min-height: 190px; background: linear-gradient(0deg,#1a2128 0%,transparent 30%),url('/art/community-day/riverside-park-mobile.webp') center / cover; }
    .cd-art > img, .cd-art .portrait-stage { width: 178px; }
    .cd-art::before { width: 145px; }
    .cd-copy { padding: 0 20px 22px; }
    .cd-copy h2 { font-size: clamp(3.1rem, 13vw, 4.2rem); }
    .cd-opening { margin-top: 18px; }
    .cd-roster { gap: 5px; }
    .cd-roster a { font-size: .92rem; padding-right: 8px; }
    .cd-roster img { width: 32px; height: 32px; }
    .cd-calendar > div { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .cd-calendar a { align-items: start; flex-direction: column; gap: 8px; }
    .cd-feed-preview :is(th,td) { padding-inline: 4px; }
    .cd-feed-preview tbody th img { width: 30px; height: 30px; margin-right: 3px; }
}
