/* New Chronicle homepage (owner's design). Homepage only: loaded via $page['css'] in pages/home.php. */
:root{--hx-or:#C9551F;--hx-or-dk:#A8441A;--hx-or-lt:#F6E7DA;--hx-line:#DEDAD0;--hx-white:#FFFDF8;--hx-dark:#1A1814}
body.home-hx{--red:var(--hx-or);--red-dk:var(--hx-or-dk);--red-lt:var(--hx-or-lt)}
.hx-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.hx-i{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.hx-eyebrow{margin:0;font:700 .68rem/1.2 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--ink)}
.hx-or{color:var(--hx-or)}
.hx-solid{display:inline-flex;align-items:center;gap:1.4rem;background:var(--ink);color:var(--paper);font:600 .86rem/1 var(--sans);padding:.95rem 1.1rem;border-radius:3px;text-decoration:none;white-space:nowrap}
.hx-solid svg,.hx-more svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2}
.hx-solid:hover{background:var(--hx-or);color:#fff}
.hx-linkbtn{border:0;background:none;font:600 .82rem/1 var(--sans);color:var(--ink);cursor:pointer;padding:.4rem}
.hx-linkbtn:hover{color:var(--hx-or)}

/* ---- Header ---- */
.hxh-in{max-width:var(--wrap);margin:0 auto;padding-inline:max(18px,env(safe-area-inset-left,0px))}
.hxh-strip{background:var(--ink);color:#E9E2D3;font:500 .7rem/1 var(--sans)}
.hxh-strip .hxh-in{display:flex;justify-content:space-between;align-items:center;gap:1rem;min-height:28px}
.hxh-tagline{letter-spacing:.14em;text-transform:uppercase}
.hxh-date{letter-spacing:.08em;color:#A99F8D}
.hxh-free b{color:#F08A5D;font-weight:600}
.hxh-mc{color:#E9E2D3;text-decoration:none;display:inline-flex;align-items:center;gap:.3rem}
.hxh-mc svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:2}
.hxh-mc:hover{color:#F08A5D}
.hxh{background:var(--paper);border-bottom:1px solid var(--rule)}
.hxh-bar{display:flex;align-items:center;gap:1.4rem;padding-block:.35rem}
.hxh-logo{flex:none;display:block}
.hxh-logo img{display:block;width:300px;height:auto}
.hxh-search{flex:1;display:flex;align-items:center;gap:.6rem;border:1px solid var(--rule);background:var(--hx-white);border-radius:4px;padding:.3rem .3rem .3rem .9rem;min-width:0}
.hxh-search>svg{width:17px;height:17px;flex:none;fill:none;stroke:var(--muted);stroke-width:2}
.hxh-search input{flex:1;min-width:0;border:0;background:transparent;font:400 .9rem/1.2 var(--sans);color:var(--ink);padding:.55rem 0;outline:0}
.hxh-search:focus-within{border-color:var(--hx-or)}
.hxh-search button{flex:none;width:38px;height:38px;border:0;border-radius:3px;background:var(--hx-or);display:grid;place-items:center;cursor:pointer}
.hxh-search button svg{width:18px;height:18px;fill:none;stroke:#fff;stroke-width:2}
.hxh-search button:hover{background:var(--hx-or-dk)}
.hxh-saved{flex:none;display:inline-flex;align-items:center;gap:.45rem;border:0;background:none;cursor:pointer;font:500 .86rem/1 var(--sans);color:var(--ink);padding:.4rem}
.hxh-saved svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7}
.hxh-count{display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:10px;background:var(--paper-2);border:1px solid var(--rule);font:600 .68rem/1 var(--sans);color:var(--muted)}
.hxh-saved:hover{color:var(--hx-or)}
.hxh-don{flex:none;display:inline-flex;align-items:center;gap:.5rem;font:500 .86rem/1 var(--sans);color:var(--ink);text-decoration:none}
.hxh-don .btc-coin{width:20px;height:20px}
.hxh-don:hover{color:var(--hx-or)}
.hxh-dash{flex:none;display:inline-flex;align-items:center;gap:1.4rem;background:var(--ink);color:var(--paper);text-decoration:none;font:600 .86rem/1 var(--sans);padding:1rem;border-radius:3px}
.hxh-dash svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2}
.hxh-dash:hover{background:var(--hx-or);color:#fff}
.hxh-d{display:none}
.hxh-nav{background:var(--ink);color:#fff;position:relative;z-index:40}
.hxh-nav-in{display:flex;align-items:stretch;justify-content:space-between}
.hxh-nav summary,.hxh-all,.hxh-pub{list-style:none;cursor:pointer;display:flex;align-items:center;gap:.45rem;height:46px;padding:0 .9rem;font:600 .84rem/1 var(--sans);color:#fff;white-space:nowrap;user-select:none;text-decoration:none}
.hxh-nav summary::-webkit-details-marker{display:none}
.hxh-nav summary:hover,.hxh-drop[open] summary,.hxh-pub:hover{color:#F08A5D}
.hxh-chev{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.2;opacity:.8;transition:transform .15s}
.hxh-drop[open] .hxh-chev{transform:rotate(180deg)}
.hxh-all{background:var(--hx-or);padding:0 1.4rem;gap:.6rem}
.hxh-all:hover{background:var(--hx-or-dk);color:#fff}
.hxh-all svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8}
.hxh-pub{color:#F08A5D}
.hxh-pub svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2}
.hxh-panel{position:absolute;left:0;right:0;top:100%;background:var(--paper);color:var(--ink);border-bottom:1px solid var(--rule);box-shadow:0 18px 36px rgba(23,20,15,.18)}
.hxh-panel-in{display:grid;grid-template-columns:minmax(220px,1fr) 2.6fr;gap:1.4rem 2.6rem;padding-block:1.8rem}
.hxh-p-intro h2{font:500 1.7rem/1.12 var(--serif-d,Georgia,serif);margin:.6rem 0 .5rem;color:var(--ink)}
.hxh-p-intro p:not(.hx-eyebrow){font:400 .88rem/1.5 var(--sans);color:var(--muted);margin:0 0 1.1rem}
.hxh-p-intro .hx-eyebrow{color:var(--hx-or)}
.hxh-p-links{display:grid;grid-template-columns:repeat(2,1fr);border-top:1px solid var(--hx-line)}
.hxh-p-links a{display:block;padding:.75rem .4rem;border-bottom:1px solid var(--hx-line);text-decoration:none;color:var(--ink)}
.hxh-p-links a:nth-child(odd){margin-right:1.4rem}
.hxh-p-links strong{display:block;font:600 .9rem/1.3 var(--sans)}
.hxh-p-links span{display:block;font:400 .78rem/1.4 var(--sans);color:var(--muted)}
.hxh-p-links a:hover strong{color:var(--hx-or)}
.hxh-p-more{grid-column:2;display:flex;flex-wrap:wrap;gap:.3rem 1rem;font:500 .8rem/1.4 var(--sans)}
.hxh-p-more span{font:700 .64rem/1.9 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.hxh-p-more a{color:var(--ink-2);text-decoration:none}
.hxh-p-more a:hover{color:var(--hx-or)}
.hxh-sc{background:var(--paper-2);border-bottom:1px solid var(--rule)}
.hxh-sc-in{display:flex;align-items:center;justify-content:space-between;min-height:42px;font:500 .8rem/1.2 var(--sans)}
.hxh-sc-in a{color:var(--ink-2);text-decoration:none;padding:.3rem .4rem;white-space:nowrap}
.hxh-sc-in a:hover{color:var(--hx-or)}
.hxh-sc-label{font:700 .64rem/1 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--muted);display:inline-flex;align-items:center;gap:.4rem;white-space:nowrap}
.hxh-sc-label svg{width:15px;height:15px;fill:none;stroke:var(--hx-or);stroke-width:2.2}

/* ---- Hero + department tiles ---- */
.hx{margin:1.8rem 0 1.6rem}
.hx-top{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin:0 0 .75rem}
.hx-tag{margin:0;font:700 .7rem/1 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--hx-or)}
.hx-art{position:relative;margin:0;border:1px solid var(--rule);border-bottom:0;background:var(--paper-2);overflow:hidden}
.hx-art-btn{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in}
.hx-art img{display:block;width:100%;height:auto}
.hx-zoom{position:absolute;top:14px;right:14px;display:inline-flex;align-items:center;gap:.45rem;background:var(--paper);border:1px solid var(--rule);border-radius:4px;padding:.5rem .8rem;font:500 .74rem/1 var(--sans);color:var(--ink);text-decoration:none;box-shadow:0 2px 8px rgba(23,20,15,.12)}
.hx-zoom svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2}
.hx-zoom:hover{color:var(--hx-or)}
.hx-tiles{display:grid;grid-template-columns:repeat(6,1fr);border:1px solid var(--rule);background:var(--hx-white)}
.hx-tile{position:relative;border-right:1px solid var(--rule);padding:1.1rem 1.1rem 1rem;transition:background .2s}
.hx-tile:last-child{border-right:0}
.hx-main{display:block;text-decoration:none;color:inherit;position:relative;min-height:5.6rem}
.hx-main .hx-i{color:var(--hx-or);margin:0 0 .9rem;display:block}
.hx-num{position:absolute;top:0;right:0;font:500 .66rem/1 var(--sans);letter-spacing:.08em;color:var(--muted)}
.hx-name{display:block;font:700 1.28rem/1.05 var(--sans);letter-spacing:-.02em}
.hx-arrow{position:absolute;right:0;bottom:.15rem;width:17px;height:17px;fill:none;stroke:var(--hx-or);stroke-width:2;transition:transform .2s}
.hx-links{margin:.9rem 0 0;display:flex;flex-wrap:wrap;gap:.25rem .8rem;font:400 .74rem/1.3 var(--sans)}
.hx-links a{text-decoration:none;color:var(--ink-2)}
.hx-links a:hover{color:var(--hx-or);text-decoration:underline}
.hx-tile:hover{background:var(--paper-2)}
.hx-tile:hover .hx-arrow{transform:translate(2px,-2px)}
.hx-on,.hx-on:hover{background:var(--ink);color:var(--paper)}
.hx-on .hx-links a,.hx-on .hx-num{color:#D9D1C1}
.hx-on .hx-main .hx-i,.hx-on .hx-arrow{color:#F08A5D;stroke:#F08A5D}
.hx-pubtile,.hx-pubtile:hover{background:var(--hx-or-lt)}
.hx-pubtile .hx-links a{color:var(--hx-or-dk);font-weight:600}

/* ---- Section heads ---- */
.hx-head{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;margin:0 0 1.2rem}
.hx-head h2{font:500 clamp(1.7rem,3.2vw,2.5rem)/1.08 var(--serif-d,Georgia,serif);letter-spacing:-.02em;margin:.55rem 0 0}
.hx-sub{margin:.5rem 0 0;font:400 .9rem/1.5 var(--sans);color:var(--muted)}
.hx-more{display:inline-flex;align-items:center;gap:.6rem;font:600 .84rem/1 var(--sans);color:var(--ink);text-decoration:none;white-space:nowrap;padding-bottom:.3rem}
.hx-more:hover{color:var(--hx-or)}

/* ---- Newsroom: lead + latest ---- */
.hx-news{margin:2.4rem 0}
.hx-news-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:2.2rem;border-top:2px solid var(--ink);padding-top:1.4rem}
.hx-lead-img{display:block;margin:0 0 1rem;border:1px solid var(--rule);overflow:hidden;background:var(--paper-2)}
.hx-lead-img img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.hx-lead h3{font:600 clamp(1.5rem,2.6vw,2.15rem)/1.12 var(--serif-d,Georgia,serif);letter-spacing:-.015em;margin:.2rem 0 .6rem}
.hx-lead h3 a{text-decoration:none}
.hx-lead .dek{font:400 1.02rem/1.55 var(--serif);color:var(--ink-2);margin:0 0 .7rem}
.hx-lead .hx-solid{margin-top:.6rem}
.hx-river{border-left:1px solid var(--rule);padding-left:1.8rem}
.hx-river ol{list-style:none;margin:.8rem 0 0;padding:0}
.hx-river li{display:flex;gap:.9rem;padding:.8rem 0;border-bottom:1px solid var(--hx-line)}
.hx-rn{font:italic 400 1.05rem/1.2 var(--serif-d,Georgia,serif);color:var(--muted);min-width:1.6rem}
.hx-rsec{display:block;font:700 .62rem/1.3 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--hx-or);text-decoration:none;margin:0 0 .2rem}
.hx-rh{display:block;font:600 .98rem/1.3 var(--serif);color:var(--ink);text-decoration:none;margin:0 0 .25rem}
.hx-rh:hover{color:var(--hx-or)}
.hx-river time{font:400 .72rem/1 var(--sans);color:var(--muted)}

/* ---- Sports desk ---- */
.hx-desk{background:var(--hx-dark);color:var(--paper);border-radius:6px;padding:2rem 2.2rem;margin:2.4rem 0;display:grid;grid-template-columns:minmax(220px,1fr) 2.4fr;gap:2rem;align-items:start}
.hx-desk .hx-eyebrow{color:#D9D1C1;display:flex;align-items:center;gap:.6rem;font-size:.62rem}
.hx-desk .hx-eyebrow span{display:inline-block;width:20px;height:2px;background:var(--hx-or)}
.hx-desk h2{color:var(--paper);font:400 clamp(2rem,3.4vw,2.6rem)/1.05 var(--serif-d,Georgia,serif);margin:1rem 0 .9rem}
.hx-desk h2 em{color:#F08A5D}
.hx-desk-head p{font:400 .88rem/1.55 var(--sans);color:#CFC7B8;margin:0 0 1.2rem}
.hx-desk-head a{display:inline-flex;align-items:center;gap:.8rem;font:600 .84rem/1 var(--sans);color:#fff;text-decoration:none}
.hx-desk-head a svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2}
.hx-desk-head a:hover{color:#F08A5D}
.hx-leagues{display:grid;grid-template-columns:repeat(4,1fr);gap:.65rem}
.hx-league{display:block;border:1px solid #3A352D;border-radius:3px;padding:.95rem 1rem 1rem;text-decoration:none;color:var(--paper);background:#24211C;transition:border-color .2s,background .2s}
.hx-league b{display:block;font:800 1.45rem/1 var(--sans);letter-spacing:-.02em;text-transform:uppercase;margin:0 0 1.1rem}
.hx-league b small{font-size:.55em;color:#F08A5D}
.hx-league span{font:400 .74rem/1.3 var(--sans);color:#B9B0A0}
.hx-league:hover{border-color:var(--hx-or);background:#2C2822}
.hx-fight{background:#3A2A20;border-color:#7A4A30}
.hx-fight b{color:#F08A5D}
.hx-desk-util{display:grid;grid-template-columns:repeat(4,1fr);gap:.65rem;border-top:1px solid #3A352D;margin-top:1rem;padding-top:1rem}
.hx-desk-util a{font:500 .8rem/1 var(--sans);color:#E9E2D3;text-decoration:none}
.hx-desk-util a:hover{color:#F08A5D}

/* ---- Trading desk ---- */
.hx-trade{margin:2.6rem 0}
.hx-trade-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:1.4rem;align-items:start}
.hx-board{border:1px solid var(--rule);background:var(--paper-2);border-radius:4px;padding:1.4rem 1.5rem}
.hx-board-top{display:flex;justify-content:space-between;align-items:center;margin:0 0 .8rem}
.hx-board-top .hx-eyebrow{color:var(--muted)}
.hx-tagbox{font:700 .6rem/1 var(--sans);letter-spacing:.14em;text-transform:uppercase;border:1px solid var(--ink-2);padding:.4rem .55rem;color:var(--ink);text-decoration:none}
.hx-mini{font:700 .74rem/1 var(--sans);letter-spacing:.1em;text-transform:uppercase;margin:.4rem 0 .5rem}
.hx-mini a{text-decoration:none}
.hx-boards{margin:0 0 1.1rem}
.hx-tools{border:1px solid var(--rule);background:var(--hx-white);border-radius:4px}
.hx-tools a{display:flex;align-items:center;gap:1.1rem;padding:1.15rem 1.4rem;border-bottom:1px solid var(--rule);text-decoration:none;color:var(--ink);position:relative}
.hx-tools a:last-child{border-bottom:0}
.hx-tools .hx-i{color:var(--hx-or)}
.hx-math{width:22px;text-align:center;font:400 1.3rem/1 var(--sans);color:var(--hx-or)}
.hx-tools strong{display:block;font:600 .95rem/1.3 var(--sans)}
.hx-tools span{font:400 .78rem/1.4 var(--sans);color:var(--muted)}
.hx-tools .hx-arrow{position:static;margin-left:auto}
.hx-tools a:hover{background:var(--paper)}
.hx-tools a:hover strong{color:var(--hx-or)}

/* ---- Life cards ---- */
.hx-life{margin:2.6rem 0}
.hx-life-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
.hx-card{position:relative;border:1px solid var(--rule);border-radius:4px;padding:1.6rem 1.6rem 1.3rem;display:flex;flex-direction:column}
.hx-card .hx-eyebrow{font-size:.6rem;color:var(--muted)}
.hx-card>.hx-i{position:absolute;top:1.5rem;right:1.5rem;width:38px;height:38px;stroke-width:1.3;color:var(--hx-or)}
.hx-card h3{font:400 1.65rem/1.15 var(--serif-d,Georgia,serif);margin:1.2rem 0 .8rem;padding-right:2.5rem}
.hx-card>p:not(.hx-eyebrow){font:400 .86rem/1.55 var(--sans);color:var(--muted);margin:0 0 1rem;max-width:36ch}
.hx-card-links{display:flex;flex-direction:column;gap:.55rem;margin:0 0 1.2rem}
.hx-card-links a{font:600 .8rem/1.2 var(--sans);color:var(--ink);text-decoration:none}
.hx-card-links a:hover{color:var(--hx-or)}
.hx-card-act{margin-top:auto;display:flex;justify-content:space-between;align-items:center;border-top:1px solid rgba(23,20,15,.15);padding-top:1rem;font:600 .84rem/1 var(--sans);color:var(--ink);text-decoration:none}
.hx-card-act svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}
.hx-card-act:hover{color:var(--hx-or)}
.hx-card-travel{background:#ECEDE0}
.hx-card-travel>.hx-i{color:#7E8466}
.hx-card-play{background:#F5DECD}
.hx-card-fortune{background:var(--hx-white);text-align:center;align-items:center}
.hx-card-fortune h3{padding:0;margin:1rem 0 .4rem}
.hx-fc{width:100%}

/* ---- Tool shelf ---- */
.hx-shelf{margin:2.8rem 0}
.hx-mine{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem;border:1px solid var(--rule);background:var(--hx-white);padding:1rem 1.2rem;margin:0 0 1rem;border-radius:4px}
.hx-mine .hx-eyebrow{color:var(--hx-or)}
#hxMineList{display:flex;flex-wrap:wrap;gap:.5rem;flex:1}
.hx-pill{font:500 .8rem/1 var(--sans);border:1px solid var(--rule);border-radius:999px;padding:.55rem .85rem;text-decoration:none;color:var(--ink);background:var(--paper)}
.hx-pill:hover{border-color:var(--hx-or);color:var(--hx-or)}
.hx-feat{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--rule);border-bottom:0;background:var(--hx-white)}
.hx-ft,.hx-res{position:relative;border-right:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.hx-ft:nth-child(4n){border-right:0}
.hx-ft a,.hx-res a{display:block;padding:1.4rem 1.5rem 1.3rem;text-decoration:none;color:var(--ink);height:100%}
.hx-ft a:hover,.hx-res a:hover{background:var(--paper)}
.hx-kind{display:block;font:700 .6rem/1.2 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--hx-or);margin:0 2rem .8rem 0}
.hx-ft h3,.hx-res h3{font:700 1.05rem/1.25 var(--sans);margin:0 1.6rem .6rem 0}
.hx-ft h3 span,.hx-res h3 span{color:var(--hx-or);font-size:.85em}
.hx-ft p,.hx-res p{font:400 .8rem/1.55 var(--sans);color:var(--muted);margin:0}
.hx-star{position:absolute;top:.9rem;right:.9rem;z-index:2;border:0;background:none;font-size:1.25rem;line-height:1;color:var(--muted);cursor:pointer;padding:.3rem}
.hx-star[aria-pressed="true"]{color:var(--hx-or)}
.hx-star:hover{color:var(--hx-or)}
.hx-dirbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;background:var(--paper-2);border:1px solid var(--rule);padding:1.1rem 1.4rem;text-decoration:none;color:var(--ink);font:600 .86rem/1.2 var(--sans)}
.hx-dirbar span{display:inline-flex;align-items:center;gap:.7rem}
.hx-dirbar span:last-child{font-weight:400;color:var(--muted);font-size:.78rem}
.hx-dirbar svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.hx-dirbar:hover{color:var(--hx-or)}

/* ---- Desks + newsletter ---- */
.hx-desks{margin:3rem 0 1rem}
.hx-brief{margin:2.4rem 0}

/* ---- Dialogs ---- */
.hx-dlg{width:min(1060px,calc(100vw - 32px));max-height:min(86vh,900px);border:1px solid var(--rule);border-radius:6px;background:var(--paper);color:var(--ink);padding:0;box-shadow:0 30px 80px rgba(0,0,0,.35)}
.hx-dlg::backdrop{background:rgba(23,20,15,.55)}
.hx-dlg[open]{display:flex;flex-direction:column}
.hx-dlg-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;padding:1.4rem 1.6rem .9rem}
.hx-dlg-head h2{font:500 1.9rem/1.1 var(--serif-d,Georgia,serif);margin:.5rem 0 0}
.hx-dlg-head>div:last-child{display:flex;align-items:center;gap:.4rem}
.hx-x{border:1px solid var(--rule);background:var(--hx-white);width:38px;height:38px;border-radius:50%;font-size:1.4rem;line-height:1;cursor:pointer;color:var(--ink)}
.hx-x:hover{border-color:var(--hx-or);color:var(--hx-or)}
.hx-dlg-search{display:flex;align-items:center;gap:.7rem;margin:0 1.6rem;border:1px solid var(--rule);background:var(--hx-white);border-radius:4px;padding:0 .9rem}
.hx-dlg-search svg{width:18px;height:18px;fill:none;stroke:var(--muted);stroke-width:2;flex:none}
.hx-dlg-search input{flex:1;border:0;background:none;font:400 1rem/1 var(--sans);padding:.9rem 0;outline:0;color:var(--ink);min-width:0}
.hx-filters{display:flex;gap:.45rem;overflow-x:auto;padding:1rem 1.6rem .6rem;scrollbar-width:none}
.hx-filters button{flex:none;border:1px solid var(--rule);background:var(--hx-white);border-radius:999px;padding:.5rem .85rem;font:500 .78rem/1 var(--sans);cursor:pointer;color:var(--ink)}
.hx-filters button[aria-pressed="true"]{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.hx-count-line{margin:0;padding:.2rem 1.6rem .7rem;font:500 .76rem/1 var(--sans);color:var(--muted)}
.hx-results{overflow:auto;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--rule);background:var(--hx-white)}
.hx-results .hx-res:nth-child(3n){border-right:0}
.hx-moreres{grid-column:1/-1;border:0;background:var(--paper-2);padding:1rem;font:600 .84rem/1 var(--sans);cursor:pointer}
.hx-empty{grid-column:1/-1;padding:2.4rem 1.6rem;text-align:center}
.hx-empty h3{font:500 1.4rem/1.2 var(--serif-d,Georgia,serif);margin:0 0 .4rem}
.hx-empty p{color:var(--muted);font:400 .88rem/1.5 var(--sans)}
.hx-empty a{font:600 .86rem/1 var(--sans);color:var(--hx-or)}
.hx-artdlg{width:min(1400px,calc(100vw - 24px))}
.hx-art-view{overflow:auto;border-top:1px solid var(--rule)}
.hx-art-view img{display:block;width:100%;height:auto}
.hx-artdlg.zoomed .hx-art-view img{width:220%;max-width:none}
.hx-toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);background:var(--ink);color:var(--paper);font:500 .84rem/1 var(--sans);padding:.85rem 1.1rem;border-radius:4px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:3000}
.hx-toast.on{opacity:1;transform:translate(-50%,0)}

/* ---- Tablet ---- */
@media (max-width:1100px){
 .hxh-free,.hxh-saved-t{display:none}
 .hxh-logo img{width:230px}
 .hxh-bar{gap:.9rem}
 .hxh-nav-in{overflow-x:auto;scrollbar-width:none;justify-content:flex-start}
 .hxh-nav-in::-webkit-scrollbar{display:none}
 .hxh-nav details{position:static}
 .hxh-panel{position:fixed;top:auto;max-height:70vh;overflow:auto}
 .hxh-panel-in{grid-template-columns:1fr}
 .hxh-p-more{grid-column:1}
 .hxh-sc-in{overflow-x:auto;scrollbar-width:none;justify-content:flex-start;gap:.6rem}
 .hxh-sc-in::-webkit-scrollbar{display:none}
 .hx-tiles{grid-template-columns:repeat(3,1fr)}
 .hx-tile:nth-child(3){border-right:0}
 .hx-tile:nth-child(-n+3){border-bottom:1px solid var(--rule)}
 .hx-news-grid,.hx-trade-grid{grid-template-columns:1fr}
 .hx-river{border-left:0;padding-left:0}
 .hx-desk{grid-template-columns:1fr}
 .hx-life-grid{grid-template-columns:1fr 1fr}
 .hx-card-fortune{grid-column:1/-1}
 .hx-feat{grid-template-columns:repeat(2,1fr)}
 .hx-ft:nth-child(4n){border-right:1px solid var(--rule)}
 .hx-ft:nth-child(2n){border-right:0}
 .hx-results{grid-template-columns:repeat(2,1fr)}
 .hx-results .hx-res:nth-child(3n){border-right:1px solid var(--rule)}
 .hx-results .hx-res:nth-child(2n){border-right:0}
}
/* ---- Phone ---- */
@media (max-width:700px){
 .hxh-mc,.hxh-date{display:none}
 .hxh-strip .hxh-in{justify-content:center}
 .hxh-tagline{font-size:.62rem;letter-spacing:.1em}
 .hxh-bar{flex-wrap:wrap;gap:.5rem .6rem;padding-block:.5rem .8rem}
 .hxh-logo{flex:1 1 0;min-width:0}
 .hxh-logo img{width:160px}
 .hxh-don span{display:none}
 .hxh-don .btc-coin{width:28px;height:28px}
 .hxh-o{display:none}.hxh-d{display:inline}
 .hxh-dash{padding:.65rem .75rem;gap:.6rem;font-size:.78rem}
 .hxh-search{order:5;flex:1 1 100%}
 .hxh-nav summary,.hxh-all,.hxh-pub{height:44px;padding:0 .75rem;font-size:.8rem}
 .hxh-all{padding:0 .9rem}
 .hxh-p-links{grid-template-columns:1fr}
 .hxh-p-links a:nth-child(odd){margin-right:0}
 .hx{margin-top:1.2rem}
 .hx-top{flex-direction:column;align-items:flex-start;gap:.5rem}
 .hx-art img{height:230px;object-fit:cover;object-position:42% 50%}
 .hx-zoom span{display:none}
 .hx-tiles{grid-template-columns:1fr 1fr}
 .hx-tile{border-bottom:1px solid var(--rule)}
 .hx-tile:nth-child(3){border-right:1px solid var(--rule)}
 .hx-tile:nth-child(2n){border-right:0}
 .hx-tile:nth-last-child(-n+2){border-bottom:0}
 .hx-name{font-size:1.1rem}
 .hx-head{flex-direction:column;align-items:flex-start}
 .hx-desk{padding:1.5rem 1.1rem}
 .hx-leagues{grid-template-columns:1fr 1fr}
 .hx-desk-util{grid-template-columns:1fr 1fr;row-gap:1rem}
 .hx-board{padding:1.1rem}
 .hx-life-grid,.hx-feat,.hx-results{grid-template-columns:1fr}
 .hx-ft,.hx-ft:nth-child(4n),.hx-results .hx-res:nth-child(3n){border-right:0}
 .hx-dirbar{flex-direction:column;align-items:flex-start}
 .hx-dlg{width:100vw;max-width:100vw;max-height:100dvh;height:100dvh;border-radius:0;margin:0}
 .hx-dlg-head,.hx-filters,.hx-count-line{padding-inline:1rem}
 .hx-dlg-search{margin:0 1rem}
}
/* fixes */
.hx-mine[hidden]{display:none}
.hx-math{font:600 1.45rem/1 var(--sans);width:22px}
.hx-fc{max-width:300px;margin:0 auto}
.hx-life-grid{align-items:stretch}
.hx-deskgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:0 2rem;margin:1.6rem 0 2rem}
.hx-dk{border-top:2px solid var(--ink);padding:.9rem 0 1.2rem}
.hx-dk-top{display:flex;justify-content:space-between;align-items:baseline;margin:0 0 .3rem}
.hx-dk h3{font:600 1.25rem/1.2 var(--serif-d,Georgia,serif);margin:0}
.hx-dk h3 a{text-decoration:none}
.hx-dk-more{font:600 .76rem/1 var(--sans);color:var(--hx-or);text-decoration:none}
.hx-dk ul{list-style:none;margin:0;padding:0}
.hx-dk li{padding:.6rem 0;border-bottom:1px solid var(--hx-line)}
.hx-dk li:last-child{border-bottom:0}
.hx-dk li a{display:block;font:500 .95rem/1.32 var(--serif);color:var(--ink);text-decoration:none;margin:0 0 .2rem}
.hx-dk li a:hover{color:var(--hx-or)}
.hx-dk time{font:400 .7rem/1 var(--sans);color:var(--muted)}
@media (max-width:1100px){.hx-deskgrid{grid-template-columns:1fr 1fr}}
@media (max-width:700px){.hx-deskgrid{grid-template-columns:1fr}}
/* ---- Sports desk (real scores + fight cards) ---- */
.hx-sd{margin:2.6rem 0}
.hx-sd-grid{display:grid;grid-template-columns:3fr 1fr;border:1px solid var(--rule);background:var(--hx-white);border-radius:4px}
.hx-sd-games{display:grid;grid-template-columns:repeat(4,1fr)}
.hx-sd-lg{border-right:1px solid var(--rule);padding:1rem 1rem .6rem}
.hx-sd-h{display:block;font:700 .68rem/1 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--hx-or);text-decoration:none;margin:0 0 .7rem}
.hx-sd-g{display:block;padding:.55rem 0 .6rem;border-top:1px solid var(--hx-line);text-decoration:none;color:var(--ink)}
.hx-sd-g:hover{background:var(--paper)}
.hx-sd-t{display:flex;align-items:baseline;gap:.4rem;font:500 .9rem/1.5 var(--sans);color:var(--muted)}
.hx-sd-t b{font-weight:700;color:var(--ink);min-width:2.6rem}
.hx-sd-t i{font-style:normal;font-size:.7rem}
.hx-sd-t em{font-style:normal;margin-left:auto;font-weight:600;color:var(--ink-2)}
.hx-sd-t.w em{color:var(--ink);font-weight:800}
.hx-sd-when{display:flex;align-items:center;gap:.35rem;font:500 .7rem/1.3 var(--sans);color:var(--muted);margin-top:.15rem}
.hx-sd-g.live .hx-sd-when{color:#B3261E;font-weight:700}
.hx-sd-when .dot{width:7px;height:7px;border-radius:50%;background:#D93025;animation:hxp 1.4s infinite}
@keyframes hxp{50%{opacity:.25}}
.hx-sd-fights{padding:1rem 1.1rem .6rem;background:var(--paper-2)}
.hx-sd-f{display:block;padding:.6rem 0;border-top:1px solid var(--hx-line);text-decoration:none;color:var(--ink)}
.hx-sd-f strong{display:block;font:600 .86rem/1.3 var(--sans)}
.hx-sd-f span{font:400 .72rem/1.3 var(--sans);color:var(--muted)}
.hx-sd-f .hx-sd-p{display:inline-block;font:700 .6rem/1 var(--sans);letter-spacing:.1em;color:#fff;background:var(--ink);padding:.2rem .35rem;border-radius:2px;margin:0 0 .3rem}
.hx-sd-f:hover strong{color:var(--hx-or)}
.hx-sd-util{display:flex;flex-wrap:wrap;gap:.5rem 2rem;padding:.9rem .2rem 0;font:600 .8rem/1 var(--sans)}
.hx-sd-util a{color:var(--ink);text-decoration:none}
.hx-sd-util a:hover{color:var(--hx-or)}
@media (max-width:1100px){.hx-sd-grid{grid-template-columns:1fr}.hx-sd-games{grid-template-columns:1fr 1fr}.hx-sd-lg:nth-child(2n){border-right:0}.hx-sd-lg{border-bottom:1px solid var(--rule)}}
@media (max-width:700px){.hx-sd-games{grid-template-columns:1fr}.hx-sd-lg{border-right:0}}
/* Owner: no big serif display headings on the homepage. Section titles use the bold sans of the tiles. */
.hx-head h2,.hxh-p-intro h2,.hx-card h3,.hx-dlg-head h2,.hx-empty h3,.hx-dk h3,.hx-desks .rail-top h2{font-family:var(--sans);font-weight:700;letter-spacing:-.03em}
.hx-head h2{font-size:clamp(1.6rem,2.8vw,2.2rem);line-height:1.1}
.hxh-p-intro h2{font-size:1.5rem;line-height:1.15}
.hx-card h3{font-size:1.45rem;line-height:1.15}
.hx-dk h3{font-size:1.1rem}
.hx-dk li a,.hx-desks .card-h{font-family:var(--sans);font-weight:600;font-size:.92rem;line-height:1.35}
.hx-tools .hx-math{font:600 1.4rem/1 var(--sans);color:var(--hx-or);width:22px;text-align:center}
.hx-play{position:absolute;left:14px;bottom:14px;display:inline-flex;align-items:center;gap:.45rem;background:var(--hx-or,#ea6a1f);color:#fff;border-radius:4px;padding:.45rem .8rem .45rem .6rem;font:600 .78rem/1 var(--sans);text-decoration:none;box-shadow:0 2px 8px rgba(23,20,15,.2)}
.hx-play img{width:14px;height:22px;background:#fff;border-radius:3px;padding:1px}
.hx-play:hover{filter:brightness(1.08)}
@media (max-width:700px){.hx-play{left:8px;bottom:8px;font-size:.72rem;padding:.38rem .6rem .38rem .45rem}}
