/* Home uses the existing CPU-rendered Ultralight surface. Keep idle artwork static. */
body { --home-background:#0d0e0e; --home-gold:#f2cf63; --home-ink:#f3f1eb; --home-patcher-height:64px; background:#0d0e0e; }
.titlebar { background:linear-gradient(180deg,#191a1a,#101111); }
.brand, .brand b { color:#c6c8c8; }
.brand svg { color:#e3e4e0; }
.icon-button { color:#c0c3c3; }
.icon-button:hover, .icon-button[aria-expanded="true"] { color:#f6d676; }
/* Keep the current browser tab shape, border and selected/inactive treatment. */
.home-tab { flex:0 0 94px; }
.home-tab .tab-select { padding:0 14px; }
.home-tab svg { width:15px; height:15px; margin-right:8px; }
.home-scroll { position:absolute; top:calc(var(--titlebar-height) + 5px); right:5px; bottom:5px; left:5px; overflow-y:auto; overflow-x:hidden; border:1px solid #3c3930; background:var(--home-background); }
.home-scroll[hidden] { display:none; }
.home-scroll::-webkit-scrollbar { width:5px; }
.home-scroll::-webkit-scrollbar-thumb { background:#49473e; border-radius:5px; }
.home-page { max-width:1480px; margin:auto; padding:16px 28px 18px; background:radial-gradient(ellipse at 18% 0,rgba(163,123,49,.045),transparent 48%); }
.home-masthead { display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; }
.home-wordmark { display:flex; align-items:center; color:var(--home-ink); }
.home-wordmark strong { font:44px/1 Georgia,serif; letter-spacing:-4px; color:var(--home-gold); margin-right:17px; text-shadow:0 1px 14px rgba(237,183,48,.12); }
.home-wordmark span { font:19px/1.2 Georgia,serif; letter-spacing:4px; }
.home-wordmark small { display:block; margin-top:4px; color:#babcb9; font:8px/1.4 "Segoe UI",sans-serif; letter-spacing:2.8px; }
.home-site { display:flex; align-items:center; padding:9px 0 9px 14px; color:#d0d2cf; font-size:11px; cursor:pointer; }
.home-site svg { width:14px; height:14px; margin-left:9px; }
.home-site:hover { color:var(--home-gold); }
.home-hero { position:relative; min-height:326px; overflow:hidden; border:1px solid #514a3c; background:#1c1b18; box-shadow:0 1px 0 rgba(244,205,111,.06); }
.home-art { position:absolute; width:100%; height:100%; object-fit:cover; object-position:65% 46%; }
.home-hero:after { content:""; position:absolute; top:0; right:0; bottom:0; left:0; background:linear-gradient(90deg,rgba(5,7,8,.6),rgba(5,7,8,.3) 40%,transparent 73%),linear-gradient(0deg,rgba(5,7,8,.16),transparent 40%); pointer-events:none; }
.home-hero-copy { position:relative; z-index:1; max-width:760px; width:73%; padding:42px; }
.home-eyebrow { display:flex; align-items:center; color:var(--home-gold); font-size:9px; font-weight:600; letter-spacing:2.2px; text-transform:uppercase; }
.home-eyebrow:before { content:""; display:inline-block; width:23px; height:1px; background:var(--home-gold); margin-right:10px; }
.home-hero h1 { margin:19px 0 14px; color:#f6f4ed; font:46px/1.08 Georgia,serif; letter-spacing:-1.3px; overflow-wrap:break-word; text-shadow:0 2px 15px rgba(0,0,0,.45); }
.home-title-accent { color:var(--home-gold); }
.home-hero p { margin:0; color:#d6d8d4; font-size:12px; line-height:1.8; max-width:355px; text-shadow:0 1px 5px #080909; }
.home-play { position:relative; display:flex; align-items:center; justify-content:center; min-width:180px; height:40px; padding:0 22px; color:#201909; font-weight:700; letter-spacing:2.4px; font-size:11px; background:linear-gradient(115deg,#f9df80,#eac34d 52%,#d3a736); border:1px solid #ffe99b; box-shadow:inset 0 0 0 3px rgba(255,244,184,.15),0 0 18px rgba(230,182,53,.13); cursor:pointer; }
.home-play:after { content:""; position:absolute; top:-4px; right:-5px; bottom:-4px; left:-5px; border:1px solid rgba(227,192,99,.32); pointer-events:none; }
.home-play:hover:not(:disabled) { background:linear-gradient(115deg,#fff0ac,#ffda68 52%,#e5be53); border-color:#fff2be; box-shadow:inset 0 0 0 3px rgba(255,244,184,.23),0 0 22px rgba(230,182,53,.22); }
.home-play:active:not(:disabled) { background:#d9af3f; box-shadow:inset 0 2px 8px rgba(60,35,0,.3); }
.home-play:disabled { opacity:1; background:#23221e; border-color:#504a38; color:#928b77; box-shadow:none; cursor:default; }
.home-play:disabled:after { border-color:#38352b; }
.home-play svg { width:13px; height:13px; margin-right:13px; fill:currentColor; stroke-width:1; }
.home-read { display:inline-block; margin-top:24px; color:#f0d68b; padding:10px 4px; cursor:pointer; font-size:11px; border-bottom:1px solid #8f793e; }
.home-read[hidden] { display:none; }
.home-read:hover { color:#ffe9a2; }
.home-session-note { position:relative; z-index:1; margin-top:14px; color:#b5b8ad; font-size:10px; }
.home-session-note[hidden] { display:none; }
.home-lower { display:flex; margin-top:18px; }
.home-news { flex:1; min-width:0; }
.home-section-title { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
.home-section-title h2 { margin:0; padding-left:10px; border-left:3px solid #f3cf55; font-size:10px; line-height:13px; font-weight:600; color:#ecece7; letter-spacing:1.7px; text-transform:uppercase; }
.home-feed-status { margin-left:12px; color:#b5b6b1; font-size:9px; text-align:right; }
.home-news-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.home-card { position:relative; display:flex; flex-direction:column; text-align:left; border:1px solid #3d3c35; background:linear-gradient(125deg,#171816,#111212); overflow:hidden; min-width:0; }
button.home-card { cursor:pointer; }
button.home-card:hover { border-color:#ad8c42; background:linear-gradient(125deg,#222119,#171816); }
button.home-card:after { content:""; position:absolute; right:18px; bottom:36px; width:6px; height:6px; border-top:1px solid var(--home-gold); border-right:1px solid var(--home-gold); transform:rotate(45deg); pointer-events:none; }
.home-card-image { width:100%; height:100px; object-fit:cover; object-position:55% 35%; border-bottom:1px solid #38382f; }
.home-card:nth-child(even) .home-card-image { object-position:90% 45%; }
.home-card-copy { padding:10px 14px 12px; width:100%; }
.home-card-meta { display:flex; justify-content:space-between; color:#f0ce67; font-size:8px; letter-spacing:1.2px; text-transform:uppercase; }
.home-card:nth-child(even) .home-card-meta > span { color:#c2e577; }
.home-card-meta time { margin-left:8px; color:#adae9f; }
.home-card h3 { margin:7px 0 6px; padding-right:14px; color:#f0f0e9; font:18px/1.2 Georgia,serif; overflow-wrap:break-word; }
.home-card p { margin:0; font-size:11px; line-height:1.6; color:#bfc1b9; overflow-wrap:break-word; }
.home-events { flex:0 0 240px; border-left:1px solid #34352d; padding-left:20px; margin-left:20px; }
.home-events .home-section-title h2 { border-left-color:#f35b40; }
.home-event { padding:11px 0; border-bottom:1px solid #303128; }
.home-event:first-child { padding-top:0; }
.home-event h3 { margin:4px 0 6px; font-size:12px; font-weight:500; color:#e8e9df; }
.home-event p { margin:0; font-size:11px; line-height:1.6; color:#b6baac; }
.home-event time { color:var(--home-gold); font-size:9px; }
.home-event button { margin-top:8px; font-size:10px; color:var(--home-gold); cursor:pointer; }
.home-empty { padding:14px 0 6px; color:#b6b9b2; font-size:11px; line-height:1.6; }
.home-empty strong { display:block; color:#f0f0e8; font:20px/1.25 Georgia,serif; margin-bottom:9px; }
.home-community { position:relative; display:flex; align-items:center; width:100%; margin-top:14px; padding:13px; border:1px solid #3b3b34; background:linear-gradient(115deg,#171816,#0e1010); color:#e0e2dc; text-align:left; cursor:pointer; }
.home-community:after { content:""; width:6px; height:6px; flex-shrink:0; border-top:1px solid #bdc0b5; border-right:1px solid #bdc0b5; transform:rotate(45deg); margin-left:auto; }
.home-community:hover { background:#20211b; border-color:#9d8547; }
.home-community[hidden] { display:none; }
.home-community svg { width:21px; height:21px; flex-shrink:0; margin-right:12px; color:#e5e7de; }
.home-community span { font-size:11px; padding-right:10px; }
.home-community small { display:block; color:#aeb3a5; font-size:9px; margin-top:4px; }
@media(min-width:1200px) { .home-hero { min-height:360px; } .home-hero-copy { padding:52px 48px; } .home-hero h1 { font-size:54px; } .home-events { flex-basis:280px; } }
@media(max-width:900px) { .home-page { padding:20px; } .home-events { flex-basis:195px; padding-left:16px; margin-left:16px; } .home-hero-copy { width:78%; padding:30px; } .home-hero h1 { font-size:38px; } .home-hero { min-height:300px; } .home-feed-status { max-width:155px; } }
@media(max-width:700px) { .home-page { padding:16px; } .home-masthead { margin-bottom:16px; } .home-wordmark span { font-size:15px; letter-spacing:3px; } .home-hero h1 { font-size:34px; } .home-hero-copy { padding:24px; width:85%; } .home-lower { flex-direction:column; } .home-events { flex-basis:auto; border-left:0; padding-left:0; margin-left:0; margin-top:18px; border-top:1px solid #34352d; padding-top:18px; } }
@media(max-width:460px) { .home-news-grid { grid-template-columns:1fr; } .home-hero-copy { width:100%; } .home-hero:after { background:rgba(5,7,8,.52); } .home-wordmark small { display:none; } .home-feed-status { max-width:135px; } }
.is-maximized .home-scroll { top:var(--titlebar-height); right:0; bottom:0; left:0; }

/* Fixed compact footer outside Home's scroll region; no native viewport changes. */
.home-patcher-visible .home-scroll { bottom:calc(var(--home-patcher-height) + 5px); border-bottom:0; }
.is-maximized.home-patcher-visible .home-scroll { bottom:var(--home-patcher-height); }
.home-patcher { position:absolute; right:5px; bottom:5px; left:5px; height:var(--home-patcher-height); border:0; padding:1px; background:var(--home-background); color:#e9eae2; }
/* Ultralight 1.3 drops thin CSS border edges at fractional DPI (reproduced at 150%).
   Paint the perimeter above the decorative content, without changing layout or hit targets. */
.home-patcher:after { content:""; position:absolute; top:0; right:0; bottom:0; left:0; z-index:1; box-shadow:inset 0 1px 0 #514833,inset 0 0 0 1px #3c3930; pointer-events:none; }
.is-maximized .home-patcher { right:0; bottom:0; left:0; }
.home-patcher[hidden], .home-patcher [hidden] { display:none !important; }
.home-patcher-inner { position:relative; display:flex; align-items:center; height:100%; max-width:1480px; margin:auto; padding:10px 28px; }
.home-patcher-info { flex:1; min-width:0; }
.home-patcher-heading { display:flex; align-items:center; justify-content:space-between; }
.home-patcher-heading strong { font-size:11px; font-weight:600; line-height:14px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.home-patcher[data-state="NORMAL"] .home-patcher-heading strong:before { content:""; display:inline-block; width:7px; height:7px; margin-right:8px; border-radius:50%; background:#b8e566; box-shadow:0 0 6px rgba(168,223,86,.18); vertical-align:0; }
.home-patcher-progress-row { display:flex; align-items:center; margin-top:6px; }
.home-patcher-progress { flex:1; height:3px; overflow:hidden; border-radius:3px; background:#353127; }
.home-patcher-progress > span { display:block; width:0; height:100%; border-radius:4px; background:linear-gradient(90deg,#b9862e,#f3d574); }
/* Static unknown-length meter: no continuous full-home repaint. */
.home-patcher-progress.indeterminate > span { width:100% !important; background:repeating-linear-gradient(110deg,#857039,#857039 9px,#3e3825 9px,#3e3825 18px); }
.home-patcher-percent { flex:0 0 34px; margin-left:13px; color:#f1d383; font-size:10px; text-align:right; font-variant-numeric:tabular-nums; }
.home-patcher-meta { display:flex; margin-top:4px; color:#c1beae; font-size:10px; line-height:13px; font-variant-numeric:tabular-nums; }
.home-patcher-meta > span { white-space:nowrap; }
.home-patcher-meta > span + span { margin-left:16px; }
.home-patcher-note { margin-top:4px; color:#b8bcb1; font-size:10px; line-height:13px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.home-patcher-signature { position:relative; display:none; align-self:stretch; flex:0 1 310px; margin-left:24px; margin-top:-10px; margin-bottom:-10px; overflow:hidden; background:linear-gradient(90deg,#0d0e0e,rgba(13,14,14,.88) 42%,rgba(13,14,14,.8)),url('../images/vanguard-home-ember.png') 90% 44% / 530px auto; }
.home-patcher[data-state="NORMAL"] .home-patcher-signature { display:flex; align-items:center; justify-content:flex-end; }
.home-patcher-signature svg { position:absolute; top:0; left:0; width:100%; height:100%; stroke:#807044; stroke-width:.7; opacity:.65; }
.home-patcher-signature span { position:relative; margin:9px 16px 0 0; color:#a5a697; font-size:8px; letter-spacing:2.5px; white-space:nowrap; }
.home-patcher-actions { display:flex; align-items:center; flex-shrink:0; margin-left:24px; padding-left:14px; border-left:1px solid #5b4c2d; }
.home-patcher-action { min-width:108px; height:32px; margin-right:12px; padding:0 12px; border:1px solid #89713a; background:#242219; color:#f0d282; font-size:10px; letter-spacing:.7px; cursor:pointer; }
.home-patcher-action:hover:not(:disabled) { background:#373020; border-color:#dcc077; }
.home-patcher-action:disabled { opacity:1; color:#99927e; cursor:default; }
.home-patcher button:focus { outline:1px solid #ffe49a; outline-offset:2px; }
.home-patcher[data-state="ERROR"] .home-patcher-heading strong { color:#ffac8c; }
.home-patcher[data-state="NORMAL"] .home-patcher-heading strong, .home-patcher[data-state="TERMINADO"] .home-patcher-heading strong { color:#c3e875; }
/* Ultralight 1.3 requires margins for flex spacing (flex gap is unsupported). */
@media(max-width:1000px) { .home-patcher-inner { padding:10px 20px; } .home-patcher-actions { margin-left:16px; } .home-patcher-meta > span + span { margin-left:12px; } .home-patcher[data-state="NORMAL"] .home-patcher-signature { display:none; } .home-play { min-width:150px; } }
@media(max-width:700px) { body { --home-patcher-height:80px; } .home-patcher-inner { padding:8px 16px; } .home-patcher-actions { margin-left:12px; padding-left:0; border-left:0; } .home-play { min-width:100px; padding:0 12px; font-size:10px; letter-spacing:1.4px; } .home-patcher-action { min-width:86px; padding:0 8px; margin-right:8px; } .home-patcher-meta { flex-wrap:wrap; } .home-patcher-meta > span:last-child { width:100%; margin-left:0; } }
