/* Compact game portals: identity, discovery, capability families, saved work. */
.page:has(.game-hub){max-width:1440px;padding:20px 36px 40px}
body:has(.game-hub)>.game-nav{max-width:1440px;padding-inline:36px;box-sizing:border-box}
.game-hub{--portal-radius:10px;line-height:1.5}
.game-hub *{box-sizing:border-box;min-width:0}
.game-hub :is(h1,h2,h3,p){margin-top:0}
.game-hub h1{font-size:clamp(1.9rem,3vw,2.75rem);line-height:1.12;margin:5px 0 12px}
.game-hub h2{font-size:1.35rem;line-height:1.25;margin:0 0 6px}
.game-hub h3{font-size:1rem;line-height:1.4;margin:0 0 5px}
.game-hub p{color:var(--muted);margin-bottom:12px}
.game-hub a{text-underline-offset:4px}
.game-hub .eyebrow{font-size:.66rem;letter-spacing:.14em;font-weight:750;color:var(--accent);margin-bottom:8px}
.game-hub small{font-size:.74rem;line-height:1.5;color:var(--muted)}
.portal-identity{display:grid;grid-template-columns:1fr 304px;gap:36px;align-items:center;padding-bottom:18px;border-bottom:1px solid var(--line)}
.game-hub .portal-description{font-size:1.03rem;max-width:70ch;color:var(--ink);margin-bottom:12px}
.game-hub .portal-facets{font-size:.78rem;color:var(--accent);margin:0;letter-spacing:.04em}
.hub-art{width:100%;margin:0;border:1px solid var(--line);border-radius:var(--portal-radius);overflow:hidden;background:var(--surface)}
.hub-art>a{display:block}
.hub-art img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#091017}
.hub-art figcaption{text-align:right;font-size:.63rem;padding:3px 8px;line-height:1.4}
.portal-snapshot{display:flex;flex-wrap:wrap;gap:0;border-bottom:1px solid var(--line)}
.portal-snapshot a{padding:10px 22px 10px 0;margin-right:22px;text-decoration:none;font-size:.85rem}
.portal-snapshot strong{font-variant-numeric:tabular-nums;font-size:1.1rem;color:var(--ink);margin-right:5px}
.portal-snapshot a:hover{text-decoration:underline}
.game-hub .catalog-search{background:none;border:0;padding:16px 0 12px;margin:0;max-width:none}
.game-hub .catalog-search label,.portal-search label{font-size:.83rem;font-weight:650;display:block;color:var(--ink);margin-bottom:7px}
.game-hub .catalog-search input,.portal-search input[type=search]{width:100%;min-height:44px;font:inherit;font-size:.92rem}
.game-hub .catalog-search .search-help{font-size:.73rem;margin:5px 0 0}
.game-hub .search-results{max-height:300px;overflow-y:auto}
.portal-search{max-width:700px;margin:18px 0}
.portal-search>div{display:flex;gap:8px}
.portal-search button{font:inherit;font-size:.87rem;padding:8px 18px;flex-shrink:0;cursor:pointer}
.portal-search small{display:block;margin-top:5px}
.portal-grid{display:grid;grid-template-columns:1fr 1fr .9fr;gap:22px;margin-top:20px;align-items:start}
.portal-section{border:1px solid var(--line);background:var(--surface);border-radius:var(--portal-radius);overflow:hidden}
.portal-section>header{padding:16px 20px 12px;border-bottom:1px solid var(--line)}
.portal-section>header>p{font-size:.78rem;margin:0}
.portal-section.portal-planning{border-top:3px solid var(--accent)}
.portal-destinations{list-style:none;padding:0 20px;margin:0}
.portal-destinations li+li{border-top:1px solid var(--line)}
.portal-destinations a{display:block;text-decoration:none;padding:12px 0;min-height:44px}
.portal-destinations a:hover strong{text-decoration:underline}
.portal-destinations strong{font-size:.91rem;display:flex;justify-content:space-between;gap:12px;line-height:1.4}
.portal-destinations a>span{display:block;color:var(--muted);font-size:.76rem;line-height:1.5;margin-top:4px}
.portal-section.portal-reading{background:transparent;border:0;border-radius:0}
.portal-reading>header{padding:0 0 12px;border-bottom:2px solid var(--accent)}
.portal-guides{list-style:none;margin:0;padding:0}
.portal-guides li{padding:12px 0;border-bottom:1px solid var(--line)}
.portal-guides a{text-decoration:none}
.portal-guides a:hover{text-decoration:underline}
.portal-guides small{font-size:.69rem}
.portal-section-link{display:inline-flex;align-items:center;min-height:44px;font-size:.8rem}
.portal-reading>.portal-destinations{padding:0}
.portal-family{margin-top:20px}
.portal-family>header{display:flex;gap:16px;align-items:baseline;border-bottom:1px solid var(--line);padding-bottom:8px}
.portal-family>header>p{font-size:.82rem;margin:0}
.portal-family .portal-grid{margin-top:16px}
.portal-connection{display:flex;align-items:center;gap:20px;border-block:1px solid var(--line);margin-top:24px;padding:16px 0}
.portal-connection img{object-fit:contain;flex-shrink:0}
.portal-connection h2{font-size:1.08rem}
.portal-connection p{font-size:.8rem;margin:0;max-width:72ch}
.portal-connection nav{display:flex;flex-wrap:wrap;gap:8px 22px;margin-left:auto;font-size:.83rem}
.portal-connection nav a{display:inline-flex;align-items:center;min-height:44px}
.game-hub .saved-work{padding:18px 20px;margin:22px 0 0;border-radius:var(--portal-radius)}
.game-hub .saved-work h2{font-size:1.15rem}
.game-hub .saved-work>p:last-child{margin-bottom:0}
.game-hub [data-nexus-continue]:has(>p){padding-top:18px}
.hub-osrs{--portal-radius:2px}.hub-osrs .portal-section>header{border-bottom:3px double var(--line)}
.hub-osrs .portal-grid{grid-template-columns:1.1fr 1.1fr .8fr}
.hub-eve{--portal-radius:0}.hub-eve .portal-section>header{border-left:3px solid var(--accent)}
.hub-eve .eyebrow,.hub-eve .portal-facets{font-family:Consolas,monospace}
.portal-market-links{display:flex;gap:8px 16px;flex-wrap:wrap;margin:10px 20px 16px;font-size:.8rem}
.portal-market-links a{display:inline-flex;align-items:center;min-height:40px}
.hub-ffxiv{--portal-radius:3px 16px 3px 16px}.hub-ffxiv .portal-section>header{border-bottom:3px double var(--line)}
.hub-palworld{--portal-radius:12px 3px 12px 3px}.hub-pokemon-go{--portal-radius:16px}
.portal-event-list{list-style:none;margin:0;padding:0 20px}
.portal-event-list li{border-bottom:1px solid var(--line);padding:12px 0}
.portal-event-list li:last-child{border-bottom:0}
.portal-event-list time{font-size:.72rem;color:var(--muted)}
.portal-event-list h3{font-size:.9rem;margin-top:4px}.portal-event-list a{text-decoration:none}
.portal-event-list a:hover{text-decoration:underline}
.portal-event-list .event-prepare{font-size:.75rem;display:inline-flex;align-items:center;min-height:36px}
@media(max-width:1100px){.portal-grid,.hub-osrs .portal-grid{gap:16px;grid-template-columns:1fr 1fr}.portal-reading{grid-column:1/-1}.portal-guides{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.portal-connection{flex-wrap:wrap}.portal-connection nav{margin-left:0}.portal-section>header{padding:14px 16px}.portal-destinations,.portal-event-list{padding-inline:16px}}
@media(max-width:900px){.portal-identity{grid-template-columns:1fr 220px;gap:24px}.page:has(.game-hub){padding-inline:24px}.portal-family>header{display:block}.portal-family>header>p{margin-top:6px}}
@media(max-width:600px){.page:has(.game-hub){padding:16px 20px 28px}body:has(.game-hub)>.game-nav{padding-inline:20px}.portal-identity{grid-template-columns:1fr 104px;gap:14px;align-items:start}.game-hub h1{font-size:1.75rem}.game-hub .portal-description{font-size:.85rem}.game-hub .portal-facets{font-size:.7rem}.hub-art{margin-top:26px}.hub-art figcaption{font-size:.56rem;padding:4px}.portal-snapshot{display:grid;grid-template-columns:1fr 1fr}.portal-snapshot a{margin:0;padding:8px 4px;font-size:.76rem}.portal-snapshot strong{font-size:1rem}.portal-grid,.hub-osrs .portal-grid{grid-template-columns:1fr;gap:18px}.portal-reading{grid-column:auto}.portal-guides{display:block}.portal-section>header{padding:14px 16px 10px}.portal-reading>header{padding:0 0 10px}.portal-destinations{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.portal-destinations li+li{border:0}.portal-destinations li{border-top:1px solid var(--line)!important}.portal-destinations li:nth-child(-n+2){border-top:0!important}.portal-destinations strong{font-size:.85rem}.portal-destinations a>span{font-size:.72rem}.portal-search{margin:16px 0}.portal-search button{padding-inline:12px}.portal-connection{gap:12px}.portal-connection>div{flex:1}.portal-connection nav{width:100%;gap:4px 14px}.portal-event-list h3{font-size:.94rem}.portal-event-list li{padding:10px 0}.portal-section-link{font-size:.8rem}.game-hub h2{font-size:1.2rem}}
@media(prefers-reduced-motion:no-preference){.portal-destinations a:hover{background:color-mix(in srgb,var(--accent) 5%,transparent)}}

.source-status{margin:24px 0 0;border-block:1px solid var(--line);font-size:.8rem;color:var(--muted);line-height:1.6}
.source-status summary{cursor:pointer;display:flex;gap:8px 20px;align-items:center;flex-wrap:wrap;padding:13px 0;min-height:48px;list-style:none}
.source-status summary::-webkit-details-marker{display:none}
.source-status summary>span:nth-child(2){font-weight:650;color:var(--ink)}
.source-indicator{width:8px;height:8px;background:var(--accent);border-radius:50%;flex-shrink:0}
.source-expand{margin-left:auto;color:var(--accent);text-decoration:underline;text-underline-offset:4px}
.source-expand:after{content:' +';font-weight:700}
.source-status[open] .source-expand:after{content:' −'}
.source-details{padding:0 0 16px 28px;max-width:100ch;overflow-wrap:anywhere}
.source-details p{margin:7px 0}.source-details ul{padding-left:20px;margin:8px 0}
.source-status :is(a,summary):focus-visible,.game-hub :is(a,button,input,select):focus-visible{outline:3px solid var(--accent);outline-offset:4px}

@media(min-width:1100px){.game-dashboard .workflow-grid:has(>.workflow-group:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}}

.hub-eve .portal-grid,.hub-ffxiv .portal-grid,.hub-pokemon-go .portal-grid{grid-template-columns:1fr 1fr}
:is(.hub-eve,.hub-ffxiv,.hub-pokemon-go) .portal-reading{grid-column:1/-1;display:grid;grid-template-columns:1fr 2fr;gap:24px;border-top:1px solid var(--line);padding-top:16px}
:is(.hub-eve,.hub-ffxiv,.hub-pokemon-go) .portal-reading>header{border:0;padding:0}
:is(.hub-eve,.hub-ffxiv,.hub-pokemon-go) .portal-guides{display:block}
:is(.hub-eve,.hub-ffxiv,.hub-pokemon-go) .portal-guides li{padding:0;border:0}
:is(.hub-eve,.hub-ffxiv,.hub-pokemon-go) .portal-reading .portal-destinations a{padding-top:0}
@media(max-width:600px){.hub-eve .portal-grid,.hub-ffxiv .portal-grid,.hub-pokemon-go .portal-grid{grid-template-columns:1fr}:is(.hub-eve,.hub-ffxiv,.hub-pokemon-go) .portal-reading{display:block}:is(.hub-eve,.hub-ffxiv,.hub-pokemon-go) .portal-reading>header{margin-bottom:12px}.hub-eve .portal-destinations:has(li:only-child){display:block}}

/* Let mobile copy use the full width instead of wrapping beside a thumbnail. */
@media(max-width:600px){.portal-identity{row-gap:8px}.portal-identity>div{display:contents}.portal-identity .eyebrow{grid-column:1;margin:0}.portal-identity h1{grid-column:1;margin:0}.portal-identity .portal-description,.portal-identity .portal-facets{grid-column:1/-1;margin:0}.portal-identity .hub-art{grid-column:2;grid-row:1/3;align-self:center;margin:0}}
.hub-pokemon-go .hub-art img{aspect-ratio:1280/549}
