/* Replace the home Guide presentation only after the news panel has mounted. */
.official-news{--on-red:#be3e32;--on-ink:#171a1c;--on-muted:#7e858c;--on-line:#e2e4e5;color:var(--on-ink);width:100%;font-family:inherit;text-align:left}
.official-news *, .on-admin-page *{box-sizing:border-box}
.official-news [hidden],.on-admin-page [hidden]{display:none!important}
.on-heading{display:grid;grid-template-columns:29% minmax(0,1fr) auto;gap:3%;align-items:start;margin:0 0 48px}
.on-kicker{margin:12px 0 0;font-size:11px;font-weight:750;letter-spacing:2px;display:flex;gap:27px;align-items:center}
.on-kicker span{font-size:11px;color:#899099;font-weight:400;letter-spacing:0}
.on-title h2{font-size:clamp(30px,3.2vw,49px);font-weight:750;line-height:1.2;letter-spacing:-2px;margin:0 0 16px;word-break:keep-all}
.on-title p{color:var(--on-muted);font-size:14px;line-height:1.8;margin:0;word-break:keep-all}
.on-home-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 16px;border:1px solid var(--on-line);color:var(--on-ink);background:#fff;text-decoration:none;font-size:12px;line-height:1.5;white-space:nowrap;margin-top:8px}
.on-home-link:hover{background:#faf7f6;border-color:var(--on-red)}
.on-layout{display:grid;grid-template-columns:1fr 1fr;gap:7%;align-items:stretch}
.on-visual{display:flex;flex-direction:column;min-width:0;min-height:0;padding:24px 20px 20px;background:linear-gradient(155deg,#fff0e2,#eeeaff)}
.on-visual-brand{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;letter-spacing:1.2px;color:#68727c}
.on-visual-brand img{display:block;width:106px;height:auto;flex-shrink:0}
.on-visual-brand span{max-width:90px;text-align:right}
.on-art-stage{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;padding:22px 0}
.on-art-stage img{display:block;width:100%;height:auto;max-height:440px;object-fit:contain;object-position:center}
.on-image-caption{display:flex;justify-content:space-between;gap:8px;color:#68727c;font-size:11px;letter-spacing:.7px;font-weight:500}
.on-body{min-width:0}.on-topline{border-bottom:1px solid #24282b;display:flex;justify-content:space-between;align-items:stretch;gap:10px}
.on-tabs{display:flex;gap:28px}
.on-tabs button{position:relative;background:none;border:0;padding:0 0 21px;cursor:pointer;font:inherit;font-size:18px;font-weight:700;color:#858b8f;white-space:nowrap}
.on-tabs button[aria-selected=true]{color:var(--on-ink)}
.on-tabs button[aria-selected=true]:after{content:'';height:3px;position:absolute;bottom:-1px;left:0;right:0;background:var(--on-red)}
.on-tabs button>span{margin-left:8px;font-size:11px;font-weight:500;color:#999fa4;vertical-align:top;position:relative;top:3px}
.on-tabs button[aria-selected=true]>span{color:var(--on-red)}
.on-all{font-size:12px;color:#555b60;align-self:flex-start;margin-top:5px;white-space:nowrap;text-decoration:none}
.on-list:focus-visible{outline:2px solid var(--on-red);outline-offset:4px}
.on-row{width:100%;background:none;color:inherit;border:0;border-bottom:1px solid var(--on-line);display:grid;grid-template-columns:20px 1fr 18px;gap:13px;align-items:center;text-align:left;padding:20px 0;min-height:86px;text-decoration:none;cursor:pointer;transition:background-color .18s,padding .18s;font:inherit}
.on-row:hover{background:#faf7f6;padding-left:10px;padding-right:10px}
.on-number{font-size:11px;color:#a0a6ab;font-variant-numeric:tabular-nums;align-self:start;padding-top:3px}
.on-row-content{min-width:0}.on-meta{display:flex;align-items:center;gap:12px;margin-bottom:8px;flex-wrap:wrap;font-size:11px;line-height:1.3}
.on-category{font-weight:650;color:var(--on-red)}.on-category.update{color:#4d5d8a}.on-meta time{color:#90969c;font-variant-numeric:tabular-nums}
.on-row h3{margin:0!important;font-size:16px!important;font-weight:600!important;letter-spacing:-.3px;line-height:1.5!important;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;word-break:keep-all;overflow-wrap:anywhere}
.on-row-arrow{font-size:18px;width:18px;text-align:center;color:#9aa0a5;transition:transform .2s}.on-row:hover .on-row-arrow{color:var(--on-red);transform:translateY(-2px)}
.on-footer{margin-top:18px}.on-statusline{display:flex;justify-content:space-between;align-items:center;gap:12px}
.on-status{font-size:11px;color:#737d84;display:inline-flex;align-items:center;gap:7px}.on-status:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}
.on-status.is-auto{color:#377d69}.on-status.is-warning{color:#9c701e}.on-status.is-manual{color:#82898e}
.on-refresh{background:none;border:0;color:#707980;font:inherit;font-size:11px;padding:3px 0;cursor:pointer}.on-refresh:disabled{opacity:.4;cursor:wait}
.on-updated{font-size:10px;color:#959ba0;margin:8px 0 15px;line-height:1.65}
.on-source{display:flex;flex-direction:column;gap:6px;font-size:10px;line-height:1.6;color:#9a9fa3}.on-source a{color:#697078;text-decoration:none}.on-source a:hover{text-decoration:underline}
.on-admin{display:inline-block;margin-top:16px;padding:7px 11px;border:1px solid #e2e4e5;color:#4c555d;text-decoration:none;font-size:11px}
.on-feedback{font-size:12px;line-height:1.7;color:#9a602f;margin:8px 0 0}.on-feedback:empty{display:none}
.on-empty{min-height:412px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px 15px;gap:10px;border-bottom:1px solid var(--on-line)}
.on-empty-mark{font-size:30px;color:#b8bfc5;font-weight:300;margin-bottom:6px}.on-empty strong{font-size:15px;word-break:keep-all}.on-empty p{font-size:12px;color:#91989f;line-height:1.8;margin:0}.on-empty-link{font-size:12px;color:#41474d;text-decoration:none;border-bottom:1px solid #ccc;padding:4px 0;margin-top:8px}
.on-loader{width:22px;height:22px;border:2px solid #eee;border-top-color:var(--on-red);border-radius:50%;animation:on-spin 1.1s linear infinite;margin-bottom:12px}
@keyframes on-spin{to{transform:rotate(360deg)}}
.official-news a:focus-visible,.official-news button:focus-visible{outline:2px solid var(--on-red);outline-offset:5px}
#home-archive.has-official-news>.section-heading,
#home-archive.has-official-news>.archive-layout{display:none!important}
html[data-official-news-enabled] #home-archive>.section-heading,
html[data-official-news-enabled] #home-archive>.archive-layout{display:none!important}
html[data-official-news-enabled] #home-archive:not(.has-official-news){min-height:480px}
@media(max-width:1000px){.on-layout{gap:5%}.on-tabs{gap:18px}.on-tabs button{font-size:16px}.on-row{gap:10px;padding:19px 0}.on-row h3{font-size:15px!important}.on-heading{grid-template-columns:minmax(0,1fr) auto;gap:16px}.on-kicker{grid-column:1/-1;margin:0}.on-title h2{letter-spacing:-1.3px}.on-home-link{align-self:start;margin-top:0}}
@media(max-width:700px){.on-heading{display:flex;flex-direction:column;align-items:stretch;gap:16px;margin-bottom:28px}.on-kicker{margin:0;font-size:11px}.on-title h2{font-size:32px;letter-spacing:-1.2px;margin-bottom:12px}.on-title p{font-size:12px;line-height:1.8}.on-home-link{width:100%;align-self:stretch;margin-top:0}.on-layout{grid-template-columns:1fr;gap:28px}.on-visual{padding:14px}.on-visual-brand{display:none}.on-art-stage{padding:0 0 14px;flex:none}.on-art-stage img{height:270px;max-height:none;object-fit:contain}.on-image-caption{font-size:11px;letter-spacing:0}.on-tabs{gap:27px}.on-tabs button{font-size:17px;padding-bottom:18px}.on-all{font-size:11px}.on-row{min-height:87px;padding:19px 0}.on-row h3{font-size:15px!important}.on-empty{min-height:310px}.on-source{font-size:11px}}
@media(prefers-reduced-motion:reduce){.official-news *{animation:none!important;transition:none!important}}

/* v1.2: distinguish article links from explicit board fallbacks. */
.official-news .on-meta{flex-wrap:wrap;row-gap:5px}
.official-news .on-link-kind{font-size:10px;color:#64706d;border-left:1px solid #dce0dc;padding-left:9px;letter-spacing:0}
.official-news .on-row-content h3{overflow-wrap:anywhere}

/* Banner uploads and the shipped default art keep their natural aspect ratio. */
.official-news .on-visual.on-custom-banner{padding:0;background:transparent}
.official-news .on-custom-banner .on-visual-brand,.official-news .on-custom-banner .on-image-caption{display:none}
.official-news .on-custom-banner .on-art-stage{padding:0;align-items:flex-start}
.official-news .on-custom-banner .on-art-stage img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center}
@media(max-width:700px){.official-news .on-custom-banner .on-art-stage img{height:auto;max-height:none;width:100%}}

/* Hide sync metadata and the manual refresh control; background updates continue. */
.official-news .on-statusline,.official-news .on-updated,.official-news .on-source{display:none}
.official-news .on-footer{margin-top:0}

/* Homepage news: site notices on the left, official notices on the right. */
.official-news .on-heading{margin-bottom:64px}
.official-news .on-column-heading{position:relative;min-height:64px;padding-right:112px;margin:0 0 28px}
.official-news .on-mascot{position:absolute;right:6px;bottom:-13px;width:92px;height:138px;pointer-events:none;transform-origin:50% 92%;animation:on-mascot-sway 2.8s ease-in-out infinite}
.official-news .on-mascot-lindsay{animation-name:on-lindsay-sway;animation-duration:3.4s}
.official-news .on-mascot img{display:block;width:100%;height:100%;max-width:none;object-fit:contain;user-select:none}
@keyframes on-mascot-sway{0%,100%{transform:translate(-1px,0) rotate(-.8deg)}50%{transform:translate(2px,-3px) rotate(.9deg)}}
@keyframes on-lindsay-sway{0%,100%{transform:translate(1px,0) rotate(.9deg)}50%{transform:translate(-2px,-3px) rotate(-.8deg)}}
.official-news .on-column-kicker{display:flex;align-items:center;gap:14px;margin:0 0 10px;font-size:10px;font-weight:650;letter-spacing:1.7px;color:#898f95;line-height:1.4}
.official-news .on-column-kicker:before{content:'';width:17px;height:2px;background:var(--on-red)}
.official-news .on-column-heading h3{font-size:27px;font-weight:700;line-height:1.3;letter-spacing:-1px;margin:0}
.official-news .on-list{min-height:445px}
.official-news .on-row{min-height:89px}
.official-news .on-column-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;font-size:11px;line-height:1.5;color:#92989e}
.official-news .on-column-note{display:flex;align-items:center;gap:7px}
.official-news .on-column-note:before{content:'';width:4px;height:4px;border-radius:50%;background:#a4a9ae;flex-shrink:0}
.official-news .on-column-foot a{font-size:11px;color:#767e85;white-space:nowrap;text-decoration:none}
.official-news .on-column-foot a:hover{color:var(--on-red)}
.official-news .on-site-retry{padding:8px 12px;font:inherit;font-size:12px;border:1px solid var(--on-line);background:#fff;color:var(--on-ink);cursor:pointer}
html[data-official-news-enabled] #home-site-news{display:none!important}
.on-site-dialog{position:fixed;inset:0;margin:auto;font-family:inherit;border:1px solid #e2e4e5;background:#fff;color:#171a1c;padding:34px;width:min(720px,calc(100vw - 40px));height:fit-content;max-width:calc(100vw - 40px);max-height:85vh;max-height:85dvh;overflow-y:auto;box-sizing:border-box;overscroll-behavior:contain}
.on-site-dialog::backdrop{background:#10151865;backdrop-filter:blur(3px)}
.on-site-dialog .on-article-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:25px;font-size:12px;color:#be3e32;font-weight:650}
.on-site-dialog .on-article-close{border:0;background:transparent;font:inherit;font-size:27px;line-height:1;padding:0 3px;font-weight:300;color:#171a1c;cursor:pointer}
.on-site-dialog h2{font-size:24px;font-weight:700;line-height:1.5;letter-spacing:-.7px;margin:0 0 13px;word-break:keep-all}
.on-site-dialog .on-article-date{font-size:12px;color:#858b92}
.on-site-dialog .on-article-body{margin:24px 0 30px;padding-top:24px;border-top:1px solid #e2e4e5;font-size:15px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere}
.on-site-dialog .on-article-body p{margin:0}
.on-site-dialog .on-article-image{margin:16px 0;white-space:normal}
.on-site-dialog .on-article-image img{display:block;max-width:100%;height:auto}
.on-site-dialog .on-article-board{display:inline-flex;border:1px solid #e2e4e5;padding:11px 15px;font-size:12px;text-decoration:none;color:#171a1c}
.on-site-dialog a:focus-visible,.on-site-dialog button:focus-visible{outline:2px solid #be3e32;outline-offset:4px}
@media(max-width:1000px){.official-news .on-column-heading{padding-right:100px}.official-news .on-column-heading h3{font-size:25px}}
@media(max-width:700px){.official-news .on-heading{margin-bottom:54px}.official-news .on-layout{gap:58px}.official-news .on-column-heading{padding-right:94px;margin-bottom:25px}.official-news .on-mascot{right:0;bottom:-11px;width:80px;height:120px}.official-news .on-column-kicker{font-size:9px;margin-bottom:9px}.official-news .on-column-heading h3{font-size:25px}.official-news .on-list{min-height:0}.official-news .on-row{min-height:90px}.official-news .on-column-foot{margin-top:15px;font-size:10px}.official-news .on-column-foot a{font-size:10px}.on-site-dialog{padding:24px}.on-site-dialog h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){.official-news .on-mascot{animation:none}}
