/* Home server news: the hero announcement, key dates, server features and the new-account promo. */
.hero-news{display:flex;align-items:center;gap:12px;width:fit-content;max-width:100%;margin-bottom:24px;padding-block:6px;padding-inline:6px 16px;border:1px solid #d8b87850;border-radius:999px;background:rgba(17,20,22,.62);backdrop-filter:blur(14px);color:#e9e0c8;font-size:11px;line-height:1.4;transition:border-color .2s,background .2s}
.hero-news:hover{border-color:#d8b87899;background:rgba(23,26,28,.8)}
.hero-news-tag{flex:none;padding:4px 10px;border-radius:999px;background:linear-gradient(125deg,#efd89f,#c9a55e);color:#18150e;font-size:9px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase}
.hero-news .icon{width:14px;height:14px;color:var(--gold)}
/* Above phone width the announcement sits in the hero's top padding, so the rest of the hero keeps its place. */
@media(min-width:681px){.hero-news{position:absolute;top:34px;left:0;right:0;margin:0 auto}}
.server-news{padding-block:96px 24px}
.server-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:820px;margin:0 auto 56px}
.server-date{display:flex;flex-direction:column;align-items:center;min-width:0;padding:30px 24px 28px;border:1px solid var(--border);border-radius:13px;background:linear-gradient(135deg,#1d201a90,#111416);text-align:center}
.server-date .feature-icon{margin-bottom:16px}
.server-date .section-label{margin-bottom:10px}
.server-date strong{font:500 46px/1.05 var(--serif);letter-spacing:-.5px;color:#f4f0e5}
.server-date span{margin-top:8px;color:var(--muted);font-size:11px;letter-spacing:2px}
.server-news-subhead{margin-bottom:20px;text-align:center}
.server-features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 56px;padding:0;list-style:none}
.server-features li{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-width:0;min-height:124px;padding:24px 16px;border:1px solid var(--border);border-radius:12px;background:linear-gradient(135deg,#191d1d,#111416);color:#e6e1d6;font-size:14px;font-weight:500;line-height:1.45;text-align:center;transition:border-color .2s}
.server-features li:hover{border-color:#d8b87840}
.server-features .icon{width:24px;height:24px;color:var(--gold);stroke-width:1.4}
.server-promo{display:flex;flex-direction:column;align-items:center;max-width:960px;margin-inline:auto;padding:44px 32px 40px;border:1px solid #d8b87845;border-radius:18px;background:radial-gradient(ellipse at 50% 0,#d8b87824,transparent 62%),linear-gradient(180deg,#17160f,#0f1213);text-align:center}
.server-promo .feature-icon{width:34px;height:34px;margin-bottom:18px}
.server-promo .section-label{margin-bottom:12px}
.server-promo h3{max-width:640px;font:500 40px/1.12 var(--serif);letter-spacing:-.4px;color:#f4f0e5}
.server-promo-expiry{display:flex;align-items:center;justify-content:center;gap:8px;margin-block:16px 26px;color:var(--muted);font-size:12px}
.server-promo-expiry .icon{width:15px;height:15px;color:var(--gold)}
html[data-theme=light] .server-date,html[data-theme=light] .server-features li{background:var(--surface)}
html[data-theme=light] .server-date strong,html[data-theme=light] .server-features li,html[data-theme=light] .server-promo h3{color:var(--text)}
html[data-theme=light] .server-promo{background:radial-gradient(ellipse at 50% 0,#d8b87833,transparent 62%),var(--surface)}
html[lang=ar] .hero-news-tag{letter-spacing:0}
html[lang=ar] .server-date strong{font-size:36px;line-height:1.5}
html[lang=ar] .server-promo h3{font-size:30px}
/* The News menu link lengthens the desktop menu; tighter gaps keep Play Now on one line below 1340px. */
@media(max-width:1339px){.desktop-nav{gap:20px}html[lang=ar] .desktop-nav{gap:clamp(12px,calc((100vw - 1270px) / 7 + 15px),27px)}}
@media(max-width:940px){.server-news{padding-block:75px 16px}.server-features{grid-template-columns:repeat(2,minmax(0,1fr))}.server-date strong{font-size:40px}.server-promo h3{font-size:34px}}
@media(max-width:680px){.server-news{padding-block:60px 8px}.hero-news{gap:9px;margin-bottom:20px;font-size:10px}.server-dates{gap:10px;margin-bottom:40px}.server-date{padding:22px 12px 20px}.server-date strong{font-size:30px}.server-features{gap:10px;margin-bottom:40px}.server-features li{min-height:112px;padding:18px 10px;font-size:13px}.server-promo{padding:34px 20px 30px;border-radius:14px}.server-promo h3{font-size:29px}html[lang=ar] .server-date strong{font-size:26px}html[lang=ar] .server-promo h3{font-size:24px}}
@media(max-width:360px){.server-dates,.server-features{grid-template-columns:minmax(0,1fr)}}
/* News items (dist/news.js): owner-written Arabic copy sits next to the English and the page language picks one. */
html[lang=ar] [data-news-lang=en],html:not([lang=ar]) [data-news-lang=ar]{display:none}
/* Site images keep their width/height attributes, so their box is reserved before the file loads. The article image is never wider than the file. */
.news-image{display:block;max-width:100%;height:auto;border:1px solid var(--border);border-radius:10px;background:var(--surface-2)}
.news-card .news-card-image{width:100%;max-height:340px;object-fit:contain;margin-bottom:18px}
.news-article .news-article-image{margin:0 auto 30px}
.news-article .news-body{overflow-wrap:break-word}
@media(max-width:680px){.news-card .news-card-image{max-height:300px;margin-bottom:14px}.news-article .news-article-image{margin-bottom:24px}}
/* News revamp (owner 2026-11-21): a timeline of updates with no boxes. Each entry is a big patch numeral on a thin
   spine, a bold headline, a bold lead and the first notes with a coloured kind word. Used by the news page, the
   home feature and the article (dist/news.js). Logical properties keep it right in Arabic (rtl). */
.news-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px 30px;margin-bottom:54px;padding-bottom:18px;border-bottom:1px solid var(--border)}
.news-tabs{display:flex;flex-wrap:wrap;gap:6px 28px}
.news-tabs a{position:relative;padding-block:6px;color:var(--muted);font-size:13px;font-weight:500;transition:color .2s}
.news-tabs a:hover,.news-tabs a[aria-current]{color:var(--text)}
.news-tabs a[aria-current]::after{content:"";position:absolute;inset-inline:0;bottom:-19px;height:2px;background:var(--gold)}
.news-search{display:flex;align-items:center;gap:8px;min-width:min(260px,100%);border-bottom:1px solid var(--border);transition:border-color .2s}
.news-search:focus-within{border-color:var(--gold)}
.news-search input{flex:1;min-width:0;padding:8px 0;border:0;outline:0;background:transparent;color:var(--text);font:inherit;font-size:13px}
.news-search input::placeholder{color:var(--muted)}
.news-search button{display:grid;place-items:center;padding:6px;border:0;background:transparent;color:var(--gold);cursor:pointer}
.news-search .icon{width:16px;height:16px}
.news-timeline{position:relative;margin:0;padding:0;list-style:none}
.news-entry{position:relative;display:grid;grid-template-columns:190px minmax(0,1fr);gap:0 56px;padding-bottom:84px}
.news-entry:last-child{padding-bottom:20px}
/* The spine runs down the gap between numeral and text; each entry hangs a small diamond on it. */
.news-entry::before{content:"";position:absolute;inset-block:14px -14px;inset-inline-start:217px;width:1px;background:linear-gradient(180deg,var(--gold),transparent 92%);opacity:.32}
.news-entry:last-child::before{inset-block-end:0}
.news-entry::after{content:"";position:absolute;top:14px;inset-inline-start:213px;width:9px;height:9px;transform:rotate(45deg);background:var(--bg);border:1px solid var(--gold)}
.news-entry.is-latest::after{background:var(--gold);box-shadow:0 0 0 6px #d8b87818,0 0 26px #d8b87870}
.news-rail{text-align:end}
.news-numeral{display:inline-flex;flex-direction:column;align-items:flex-end;line-height:1}
.news-numeral small{color:var(--gold);font-size:10px;font-weight:600;letter-spacing:3px;text-transform:uppercase}
.news-numeral b{margin-top:4px;font:600 92px/.86 var(--serif);letter-spacing:-3px;color:transparent;-webkit-text-stroke:1px #d8b87866}
.is-latest .news-numeral b,.news-article-head .news-numeral b,.news-feature .news-numeral b{-webkit-text-stroke:0;background:linear-gradient(160deg,#f6e3ad 10%,#d8b878 45%,#8f7240 95%);-webkit-background-clip:text;background-clip:text}
.is-latest .news-numeral b{font-size:128px}
.news-numeral-mark{display:none}
.news-kicker{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin-bottom:14px;color:var(--muted);font-size:11px;letter-spacing:1.6px;text-transform:uppercase}
.news-kicker>span{color:var(--gold)}
.news-kicker em{padding:3px 10px;border-radius:999px;background:linear-gradient(125deg,#efd89f,#c9a55e);color:#18150e;font-size:9px;font-style:normal;font-weight:700;letter-spacing:1.4px}
.news-kicker time::before{content:"·";margin-inline-end:14px;color:var(--border)}
.news-entry h2{max-width:21ch;font:600 44px/1.04 var(--serif);letter-spacing:-.8px;text-wrap:balance}
.news-entry.is-latest h2{max-width:19ch;font-size:68px;line-height:.98;letter-spacing:-1.6px}
.news-entry h2 a,.news-feature h3 a{background:linear-gradient(var(--gold),var(--gold)) 0 100%/0 1px no-repeat;transition:background-size .35s,color .2s}
.news-entry h2 a:hover,.news-feature h3 a:hover{background-size:100% 1px;color:var(--gold-light)}
html[dir=rtl] .news-entry h2 a,html[dir=rtl] .news-feature h3 a{background-position:100% 100%}
.news-lead{max-width:62ch;margin-top:18px;color:var(--text);font-size:17px;font-weight:600;line-height:1.55}
.is-latest .news-lead,.news-article-lead{font-size:21px;line-height:1.5}
.news-points{display:grid;gap:11px;max-width:68ch;margin:26px 0 0;padding:0;list-style:none}
.news-point{display:grid;grid-template-columns:78px minmax(0,1fr);gap:0 16px;align-items:baseline;color:#c9c8c0;font-size:14px;line-height:1.6}
.news-point strong{font-size:10px;font-weight:700;letter-spacing:1.8px;text-transform:uppercase;color:var(--kind)}
.news-kind-new{--kind:#e6c57e}.news-kind-event{--kind:#e0946c}.news-kind-change{--kind:#8fb7d9}.news-kind-fix{--kind:#8ecf9d}.news-kind-client{--kind:#b7a3e0}
.news-more{display:inline-block;margin-top:14px;margin-inline-start:94px;color:var(--muted);font-size:12px;transition:color .2s}
.news-more:hover{color:var(--gold)}
.news-actions{display:flex;flex-wrap:wrap;align-items:center;gap:16px 34px;margin-top:30px}
.news-guides{display:flex;flex-wrap:wrap;gap:10px 26px}
.news-guides a{display:inline-flex;align-items:center;gap:8px;color:var(--text);font-size:12px;font-weight:500;border-bottom:1px dashed #d8b87866;padding-bottom:3px;transition:color .2s,border-color .2s}
.news-guides a:hover{color:var(--gold-light);border-color:var(--gold)}
.news-guides .icon{width:14px;height:14px;color:var(--gold)}
/* Entries with no build number: no numeral, the text keeps the same column. */
.news-entry.no-version .news-rail{visibility:hidden}
/* Home feature */
.news-feature{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:40px 72px;align-items:start}
.news-feature-main{display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 44px;align-items:start}
.news-feature .news-numeral b{font-size:132px}
.news-feature .news-numeral-mark{display:none}
.news-feature h3{max-width:20ch;font:600 54px/1 var(--serif);letter-spacing:-1.2px;text-wrap:balance}
.news-feature .news-lead{font-size:18px}
.news-feature-earlier{padding-inline-start:40px;border-inline-start:1px solid var(--border)}
.news-feature-earlier ol{margin:18px 0 26px;padding:0;list-style:none}
.news-feature-earlier li+li{border-top:1px solid var(--border)}
.news-feature-earlier li a{display:block;padding-block:17px}
.news-feature-earlier time{display:block;margin-bottom:6px;color:var(--muted);font-size:10px;letter-spacing:1.4px;text-transform:uppercase}
.news-feature-earlier strong{display:block;font:600 22px/1.18 var(--serif);transition:color .2s}
.news-feature-earlier strong i{margin-inline-end:10px;color:var(--gold);font-style:normal}
.news-feature-earlier a:hover strong{color:var(--gold-light)}
/* Article */
.news-article{max-width:900px;margin-inline:auto}
.news-back{display:inline-flex;align-items:center;gap:10px;margin-bottom:44px;color:var(--muted);font-size:12px;transition:color .2s}
.news-back:hover{color:var(--gold)}
.news-back .icon{width:15px;height:15px;transform:scaleX(-1)}
html[dir=rtl] .news-back .icon{transform:none}
.news-article-head{display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 40px;align-items:end;margin-bottom:30px}
.news-article-head .news-numeral b{font-size:140px}
.news-article.no-version .news-article-head{grid-template-columns:minmax(0,1fr)}
.news-article-head h2{font:600 60px/1 var(--serif);letter-spacing:-1.4px;text-wrap:balance}
.news-article .news-article-lead{color:var(--text);max-width:none;margin:0 0 20px;padding-block:26px;border-block:1px solid var(--border)}
.news-article .news-body{margin-top:26px;color:#c9c8c0;font-size:15px;line-height:1.85}
.news-article .news-body p+p{margin-top:16px}
.news-article .news-body p:first-child{color:var(--text);font-size:18px;font-weight:500;line-height:1.7}
.news-group{display:grid;grid-template-columns:190px minmax(0,1fr);gap:8px 30px;padding-block:30px;border-bottom:1px solid var(--border)}
.news-group h3{font:600 26px/1.15 var(--serif);color:var(--kind)}
.news-group ul{margin:0;padding:0;list-style:none}
.news-group li{position:relative;padding-inline-start:22px;color:#d6d4cb;font-size:15px;line-height:1.7}
.news-group li+li{margin-top:12px}
.news-group li::before{content:"";position:absolute;top:.72em;inset-inline-start:2px;width:6px;height:6px;transform:rotate(45deg);background:var(--kind)}
.news-article-guides{margin-top:46px}
.news-article-guides h3{margin-bottom:8px;color:var(--gold);font-size:10px;font-weight:600;letter-spacing:2.5px;text-transform:uppercase}
.news-article-guides ul{margin:0;padding:0;list-style:none}
.news-article-guides li{border-bottom:1px solid var(--border)}
.news-article-guides a{display:flex;align-items:center;gap:18px;padding-block:20px;transition:padding .25s}
.news-article-guides a:hover{padding-inline-start:10px}
.news-article-guides a>span{flex:1;min-width:0}
.news-article-guides strong{display:block;font:600 25px/1.2 var(--serif)}
.news-article-guides small{display:block;margin-top:4px;color:var(--muted);font-size:13px}
.news-article-guides .icon{flex:none;width:20px;height:20px;color:var(--gold)}
.news-pager{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-top:60px}
.news-pager a{min-width:0}
.news-pager a:last-child{text-align:end}
.news-pager small{display:block;margin-bottom:8px;color:var(--gold);font-size:10px;letter-spacing:2.2px;text-transform:uppercase}
.news-pager a>span{font:600 22px/1.2 var(--serif);transition:color .2s}
.news-pager a:hover>span{color:var(--gold-light)}
html[dir=rtl] .news-actions .icon,html[dir=rtl] .news-article-guides a>.icon:last-child{transform:scaleX(-1)}
html[data-theme=light] .news-point,html[data-theme=light] .news-group li,html[data-theme=light] .news-article .news-body{color:#4a4f44}
html[data-theme=light] .news-numeral b{-webkit-text-stroke-color:#98703988}
html[data-theme=light] .is-latest .news-numeral b,html[data-theme=light] .news-article-head .news-numeral b,html[data-theme=light] .news-feature .news-numeral b{background-image:linear-gradient(160deg,#b98d4a,#7a5626)}
html[data-theme=light] .news-kind-new{--kind:#8a6424}html[data-theme=light] .news-kind-event{--kind:#a8552c}html[data-theme=light] .news-kind-change{--kind:#2f6591}html[data-theme=light] .news-kind-fix{--kind:#2f7a45}html[data-theme=light] .news-kind-client{--kind:#6a4fa8}
html[lang=ar] .news-entry h2,html[lang=ar] .news-entry.is-latest h2,html[lang=ar] .news-feature h3,html[lang=ar] .news-article-head h2{line-height:1.35;letter-spacing:0}
html[lang=ar] .news-entry h2{font-size:34px}html[lang=ar] .news-entry.is-latest h2{font-size:46px}html[lang=ar] .news-feature h3{font-size:40px}html[lang=ar] .news-article-head h2{font-size:42px}
html[lang=ar] .news-kicker,html[lang=ar] .news-point strong,html[lang=ar] .news-numeral small,html[lang=ar] .news-pager small,html[lang=ar] .news-article-guides h3,html[lang=ar] .news-feature-earlier time{letter-spacing:0;font-size:12px}
html[lang=ar] .news-feature-earlier strong,html[lang=ar] .news-pager a>span,html[lang=ar] .news-article-guides strong,html[lang=ar] .news-group h3{line-height:1.5}
@media(max-width:1080px){.news-feature{grid-template-columns:minmax(0,1fr)}.news-feature-earlier{padding-inline-start:0;padding-top:30px;border-inline-start:0;border-top:1px solid var(--border)}}
@media(max-width:940px){.news-entry{grid-template-columns:120px minmax(0,1fr);gap:0 44px;padding-bottom:68px}.news-entry::before{inset-inline-start:141px}.news-entry::after{inset-inline-start:137px}.news-numeral b{font-size:62px;letter-spacing:-2px}.is-latest .news-numeral b{font-size:80px}.news-entry h2{font-size:38px}.news-entry.is-latest h2{font-size:52px}.news-feature .news-numeral b,.news-article-head .news-numeral b{font-size:96px}.news-feature h3,.news-article-head h2{font-size:46px}.news-group{grid-template-columns:150px minmax(0,1fr)}}
/* Phone: the numeral sits above the headline and the spine moves to the page edge. */
@media(max-width:680px){.news-toolbar{margin-bottom:38px}.news-tabs{gap:4px 20px}.news-tabs a[aria-current]::after{bottom:-2px}.news-search{width:100%}
.news-entry{display:block;padding-inline-start:26px;padding-bottom:54px}.news-entry::before{inset-inline-start:4px}.news-entry::after{inset-inline-start:0}.news-rail{text-align:start;margin-bottom:14px}.news-entry.no-version .news-rail{display:none}.news-numeral{flex-direction:row;align-items:baseline;gap:10px}.news-numeral b,.is-latest .news-numeral b{margin:0;font-size:56px;letter-spacing:-1.5px}
.news-entry h2{font-size:32px}.news-entry.is-latest h2{font-size:40px;letter-spacing:-.8px}.news-lead,.is-latest .news-lead,.news-article-lead,.news-feature .news-lead{font-size:16px}.news-point{grid-template-columns:minmax(0,1fr);gap:2px}.news-more{margin-inline-start:0}
.news-feature-main,.news-article-head{display:block}.news-feature .news-numeral,.news-article-head .news-numeral{margin-bottom:14px}.news-feature .news-numeral b,.news-article-head .news-numeral b{font-size:72px}.news-feature h3,.news-article-head h2{font-size:38px;letter-spacing:-.8px}
.news-group{display:block;padding-block:24px}.news-group h3{margin-bottom:12px}.news-pager{grid-template-columns:1fr}.news-pager a:last-child{text-align:start}
html[lang=ar] .news-entry h2,html[lang=ar] .news-entry.is-latest h2,html[lang=ar] .news-feature h3,html[lang=ar] .news-article-head h2{font-size:28px}}
html[data-theme=light] .news-entry h2,html[data-theme=light] .news-feature h3,html[data-theme=light] .news-article-head h2,html[data-theme=light] .news-feature-earlier strong,html[data-theme=light] .news-pager a>span,html[data-theme=light] .news-article-guides strong{color:var(--text)}
html[data-theme=light] .news-entry h2 a:hover,html[data-theme=light] .news-feature h3 a:hover{color:var(--gold)}
html[data-theme=light] .news-search input{background:transparent}
