/* A continuous editorial canvas; individual entries are not glass cards. */
.portal { --portal-gap: clamp(1.25rem, 3vw, 2.5rem); }
.portal-intro { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; padding: .5rem .25rem 1.25rem; }
.portal-eyebrow { margin: 0 0 .65rem; font-size: .73rem; font-weight: 650; letter-spacing: .08em; color: var(--oj-accent); }
.portal-intro h1 { margin: 0; font-size: clamp(1.8rem, 3.6vw, 2.65rem); letter-spacing: -.045em; line-height: 1.3; font-weight: 730; }
.portal-description, .portal-empty { color: var(--oj-muted); margin: 0; }
.portal-shortcuts { display: flex; gap: 1.2rem; flex-wrap: wrap; padding-bottom: .25rem; font-size: .86rem; }
.portal-shortcuts a { color: var(--oj-text); white-space: nowrap; }
.portal-shortcuts span { color: var(--oj-muted); margin-left: .3rem; }
.portal-shortcuts a:hover, .portal h2 a:hover, .portal h3 a:hover { color: var(--oj-accent); }
.portal-surface { background: var(--oj-surface); border: 1px solid var(--oj-border); border-radius: var(--oj-radius); overflow: hidden; }
.portal-feature { padding: var(--portal-gap); border-bottom: 1px solid var(--oj-border); position: relative; }
.portal-feature::before { content: ''; position: absolute; left: 0; top: var(--portal-gap); width: 3px; height: 2.5rem; border-radius: 0 3px 3px 0; background: var(--oj-accent); }
.portal-feature-heading { display: flex; align-items: center; gap: 1rem; margin-bottom: .9rem; flex-wrap: wrap; }
.portal-feature-heading .portal-eyebrow { margin: 0; }
.portal-status { display: inline-flex; align-items: center; gap: .45rem; color: var(--oj-muted); font-size: .77rem; white-space: nowrap; }
.portal-status::before { content: ''; width: .38rem; height: .38rem; border-radius: 50%; background: currentColor; }
.portal-status.is-live { color: var(--oj-success); }
.portal-feature-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem 1.25rem; margin-bottom: 1.2rem; }
.portal-feature-title > div { min-width: 0; }
.portal-feature-title .action-link { flex-shrink: 0; }
.portal-feature h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 700; letter-spacing: -.025em; margin: 0 0 .65rem; }
.portal h2 a, .portal h3 a { color: var(--oj-text); }
.portal h2, .portal h3, .portal p { overflow-wrap: anywhere; }
.portal-meta { color: var(--oj-muted); font-size: .82rem; margin: 0; }
.portal-meta > span { margin-inline: .35rem; }
.portal-layout { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--oj-panel); border: 1px solid var(--oj-border); border-radius: var(--oj-radius); overflow: hidden; margin-bottom: var(--portal-gap); }
.portal-layout.has-posters { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.portal-main { padding: var(--portal-gap); min-width: 0; }
.portal-aside { display: flex; flex-direction: column; padding: clamp(1rem, 2.2vw, 2rem); min-width: 0; }
.has-posters .portal-aside { border-left: 1px solid var(--oj-border); }
.portal-aside .portal-admin { margin-top: auto; padding-top: 1.25rem; }
.portal-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 .85rem; }
.portal-section-heading h2, .portal-aside h2 { font-size: 1.03rem; font-weight: 650; margin: 0; }
.portal-section-heading > a { font-size: .78rem; color: var(--oj-muted); white-space: nowrap; }
.portal-section-heading > a:hover { color: var(--oj-accent); }
.portal-contest-row { padding: 1.15rem 0; border-bottom: 1px solid var(--oj-border); }
.portal-contest-row:last-child, .portal-article-row:last-child { border-bottom: 0; padding-bottom: 0; }
.portal-row-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .55rem; }
.portal h3 { font-size: 1.06rem; line-height: 1.5; margin: 0; font-weight: 620; }
.portal .notice-preview { margin-top: 1rem; }
.portal .notice-preview { --notice-limit: 8.5rem; }
.portal .notice-body { font-size: .88rem; }
.portal .notice-preview.is-expanded .notice-body { max-height: none; }
.portal .notice-toggle { color: var(--oj-accent) !important; border-color: transparent !important; padding-left: 0; font-size: .78rem; }
.portal .notice-toggle:hover { background: transparent !important; border-color: transparent !important; }
.portal-articles { margin-top: 2.5rem; }
.portal-article-row { display: grid; grid-template-columns: 3.3rem minmax(0, 1fr); gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--oj-border); }
.portal-article-row time { font-size: .78rem; color: var(--oj-muted); font-variant-numeric: tabular-nums; padding-top: .2rem; }
.portal-article-row p { color: var(--oj-muted); font-size: .87rem; margin: .45rem 0 0; line-height: 1.75; }
.portal-empty { font-size: .88rem; padding: 1rem 0; line-height: 1.8; }
.portal-aside-section + .portal-aside-section { border-top: 1px solid var(--oj-border); padding-top: 1.65rem; margin-top: 1.65rem; }
.portal-aside-section[hidden] { display: none; }
.portal-community > p:not(.portal-eyebrow) { font-size: .83rem; color: var(--oj-muted); margin: .7rem 0 1rem; }
.portal-qq { display: block; font-size: 1.4rem; font-weight: 620; letter-spacing: .06em; font-variant-numeric: tabular-nums; margin-top: .35rem; }
.portal-admin { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1rem; margin-top: 2rem; font-size: .76rem; }
.portal-admin .btn { font-size: inherit; padding: 0; min-height: 32px; }
#adCarousel { border-radius: 8px; overflow: hidden; background: var(--oj-surface-soft); }
#adCarousel .carousel-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; display: block; }
#adCarousel .carousel-control-prev, #adCarousel .carousel-control-next { width: 15%; }
#adCarousel .carousel-control-prev-icon, #adCarousel .carousel-control-next-icon { width: 1.3rem; height: 1.3rem; filter: none; }
#adCarousel .carousel-control-prev { background: linear-gradient(90deg, #0006, transparent); }
#adCarousel .carousel-control-next { background: linear-gradient(270deg, #0006, transparent); }
#adCarousel .carousel-indicators { margin-bottom: .35rem; filter: none; }
#adCarousel .carousel-indicators [data-bs-target] { background-color: white; width: 16px; }
.portal-ad-delete { position: absolute; top: .5rem; right: .5rem; z-index: 3; }
.portal-error { color: var(--oj-danger); font-size: .8rem; margin-top: .6rem; }
.promo-modal .modal-dialog {width:calc(100% - 2rem);max-width:1120px;margin:1rem auto;min-height:calc(100% - 2rem)}
.promo-modal .modal-content {overflow:hidden;background:var(--oj-panel);border:1px solid var(--oj-border);box-shadow:0 24px 80px #0005}
.promo-modal .modal-header,.promo-modal .modal-footer {padding:.85rem 1.2rem;border-color:var(--oj-border)}
.promo-modal .modal-title {color:var(--oj-text)}
.promo-modal .promo-stage #adCarousel {max-width:none;border-radius:0}
.promo-modal #adCarousel .carousel-item img {height:auto;max-height:min(68vh,680px);max-height:min(68dvh,680px);aspect-ratio:auto;object-fit:contain}
.promo-modal #adCarousel .carousel-control-prev-icon,.promo-modal #adCarousel .carousel-control-next-icon {width:2rem;height:2rem}
.promo-flight {position:fixed;z-index:1101;pointer-events:none;object-fit:contain;transform-origin:top left;border-radius:8px;background:var(--oj-panel)}
body.promo-active #notification-container {z-index:1070!important}
.promo-modal.is-shrinking .modal-content {opacity:0;transition:opacity 160ms ease}
@media (prefers-reduced-motion:reduce) {.promo-modal.fade,.promo-modal.fade .modal-dialog {transition:none!important;transform:none!important}}
@supports (backdrop-filter: blur(1px)) { @media (min-width: 768px) { .portal-surface { backdrop-filter: blur(10px); } } }
@media (max-width: 767.98px) {
    .portal-layout.has-posters { grid-template-columns: minmax(0, 1fr); }
    .has-posters .portal-aside { border-left: 0; border-top: 1px solid var(--oj-border); }
}
@media (max-width: 575.98px) {
    .portal-intro { flex-wrap: wrap; gap: .5rem 1rem; }
    .portal-feature-title { align-items: start; flex-direction: column; }
    .portal-row-heading { align-items: start; flex-direction: column; gap: .35rem; }
    .portal-article-row { grid-template-columns: 2.8rem minmax(0, 1fr); gap: .65rem; }
    .portal-shortcuts { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .portal-surface { backdrop-filter: none; } #adCarousel .carousel-item { transition: none; } }

.portal-banner { position: relative; min-width: 0; align-self: start; }
.portal-banner #adCarousel { border-radius: 0; }
.portal-banner .carousel-item img { cursor: zoom-in; }
.portal-banner .banner-tools { display: flex; flex-wrap: wrap; gap: .4rem; margin: .55rem; }
.has-posters .banner-tools { position: absolute; z-index: 3; top: 0; left: 0; }
.portal-banner .carousel-item [role=button]:focus-visible { outline:3px solid var(--oj-accent);outline-offset:-4px; }
