/* EGYTAG UNIVERSE — graphite and restrained silver; scoped to rendered interactive features. */
:root[data-eg-carbon=active]{
 --egxu-bg:#1b2024;--egxu-surface:#262c31;--egxu-raised:#323b41;
 --egxu-line:#515c65;--egxu-text:#edf0f3;--egxu-muted:#b9c1c8;
}
:root[data-eg-carbon=active][data-egxu-mood=lab]{--egxu-raised:#39434b}
:root[data-eg-carbon=active][data-egxu-mood=community]{--egxu-raised:#333943}
:root[data-eg-carbon=active][data-egxu-mood=reading]{--egxu-raised:#30383d}
.egxu-entry{
 display:flex;align-items:center;justify-content:flex-start;gap:7px;flex-wrap:wrap;
 margin:13px 0 17px;padding:9px 10px;max-width:100%;width:max-content;box-sizing:border-box;
 border:1px solid rgba(208,215,222,.17);border-radius:13px;background:rgba(28,33,36,.95);
 color:#f0f1f3;direction:inherit;
}
.egxu-entry button{
 border:1px solid rgba(197,207,215,.27);background:#2b3338;color:#e5e9ed;
 font:inherit;font-weight:700;font-size:.78rem;border-radius:9px;padding:7px 11px;
 min-height:36px;cursor:pointer;transition:background .2s ease,border-color .2s ease;
}
.egxu-entry button:hover,.egxu-entry button:focus-visible{background:#424c52;border-color:#c2cbd3}
.egx-explore__head .egxu-entry{flex:1 1 100%;margin-block:0 0}
.egxu-dialog{
 box-sizing:border-box;width:min(840px,calc(100vw - 28px));max-width:840px;max-height:min(84dvh,850px);
 padding:0;border:1px solid #69737b;border-radius:20px;
 background:linear-gradient(145deg,#242a2f,#171b1e);color:#eef1f3;
 box-shadow:0 32px 88px rgba(0,0,0,.76),inset 0 1px 0 rgba(255,255,255,.055);
 overflow:auto;direction:inherit;
}
.egxu-dialog::backdrop{background:rgba(3,5,7,.79);backdrop-filter:blur(5px)}
.egxu-dialog__top{
 display:flex;justify-content:space-between;align-items:center;gap:12px;
 padding:12px 20px;border-bottom:1px solid rgba(208,218,227,.13);
}
.egxu-eyebrow{color:#bbc5cd;font-size:.75rem;font-weight:750;letter-spacing:.05em}
.egxu-close{
 min-width:38px;min-height:38px;background:#343c42;border:1px solid #66717a;
 color:#f0f3f5;font-size:22px;border-radius:10px;cursor:pointer;line-height:1;
}
.egxu-dialog__content{padding:clamp(17px,3vw,27px)}
.egxu-dialog__content h2{margin:0 0 7px;font-size:clamp(1.27rem,2.5vw,1.85rem);color:#f1f3f5;line-height:1.5}
.egxu-dialog__content .egxu-lead{color:#bdc6cc;line-height:1.7;font-size:.88rem;margin:0 0 21px}
.egxu-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin-block:18px 2px}
.egxu-action,.egxu-dialog button:not(.egxu-close),.egxu-try-link{
 display:inline-flex;align-items:center;justify-content:center;gap:6px;
 min-height:39px;padding:8px 14px;font:inherit;font-size:.84rem;font-weight:700;
 border:1px solid #65727b;border-radius:10px;background:#353f45;color:#eaf0f4;
 text-decoration:none;cursor:pointer;
}
.egxu-dialog button:disabled{opacity:.45;cursor:not-allowed}
.egxu-action--primary{background:#cdd4d9;color:#20262a!important;border-color:#e1e5e8}
.egxu-dialog :is(a,button):focus-visible,.egxu-entry button:focus-visible,.egxu-peek-btn:focus-visible{
 outline:2px solid #e4eaf0;outline-offset:2px
}
.egxu-preview-summary{color:#e1e5e8;line-height:1.95;max-height:45vh;overflow:auto;font-size:.95rem}
.egxu-preview-summary p{margin:.75rem 0}
.egxu-toast{
 position:fixed;z-index:2147482000;bottom:max(84px,env(safe-area-inset-bottom));left:50%;
 transform:translate(-50%,12px);opacity:0;pointer-events:none;max-width:90vw;text-align:center;
 border-radius:100px;padding:11px 17px;border:1px solid #8c969e;
 background:#374148;color:#f6f8f9;box-shadow:0 12px 38px #0009;
 transition:opacity .2s ease,transform .2s ease;
}
.egxu-toast--open{opacity:1;transform:translate(-50%,0)}
.egxu-peek-host{position:relative}
.egxu-peek-host .egxu-peek-btn{
 position:absolute;z-index:7;right:8px;bottom:8px;left:auto;
 border:1px solid #89939b;border-radius:8px;
 background:#273038ec;color:#f5f7f8;padding:5px 9px;min-height:31px;
 font:inherit;font-size:.72rem;font-weight:750;cursor:pointer;
 opacity:0;transform:translateY(3px);transition:opacity .2s ease,transform .2s ease;
}
.egxu-peek-host:hover .egxu-peek-btn,.egxu-peek-host:focus-within .egxu-peek-btn{opacity:1;transform:translateY(0)}
.egxu-peek-host .egxu-peek-btn:hover{background:#424e57;border-color:#e0e7eb}
.egxu-article-save,.egxu-story-open{
 display:inline-flex;min-height:38px;align-items:center;margin:8px 7px 8px 0;
 padding:7px 12px;border:1px solid #707d84;border-radius:10px;
 background:#343f46;color:#eef0f3;font:inherit;font-size:.84rem;font-weight:680;cursor:pointer;
}
.egxu-article-save:hover,.egxu-story-open:hover{background:#49545c;border-color:#bec9d0}
.egxu-compare-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.egxu-compare-panel{padding:16px;border:1px solid #55626b;border-radius:12px;background:#252c31;min-width:0}
.egxu-compare-panel h3{margin:0 0 10px;color:#f0f3f5;font-size:1rem;line-height:1.65}
.egxu-compare-panel p{color:#d4dade;line-height:1.9;font-size:.89rem}
.egxu-compare-panel>a{color:#e6eef3;text-decoration:underline;text-underline-offset:3px}
.egxu-shelf-list{display:grid;gap:8px}
.egxu-shelf-item{display:flex;align-items:center;gap:13px;justify-content:space-between;
 padding:11px 13px;background:#262e33;border:1px solid #4c5861;border-radius:10px}
.egxu-shelf-item a{color:#e9edf0;text-decoration:none;line-height:1.55;flex:1;min-width:0}
.egxu-shelf-item a:hover{text-decoration:underline}
.egxu-empty{line-height:1.8;color:#c5ccd1}
/* Universe is intentionally a keyboard-navigable collection of plain links. */
.egxu-orbits{
 position:relative;isolation:isolate;display:grid;place-items:center;
 min-height:375px;max-width:600px;margin:0 auto 18px;
 background:radial-gradient(circle,rgba(178,194,208,.14),transparent 54%),
 repeating-radial-gradient(circle at center,transparent 0 68px,rgba(182,199,214,.105) 69px 70px,transparent 71px 127px);
 border-radius:18px;overflow:hidden;
}
.egxu-orbit-core{
 position:absolute;z-index:3;display:grid;place-items:center;width:110px;height:110px;
 border-radius:50%;border:1px solid #a8b6c2;background:#303a42;
 text-decoration:none;color:#f2f5f7;font-size:1rem;font-weight:900;
 box-shadow:0 0 0 15px #a6b7c510,0 0 32px #a6b7c51d;
}
.egxu-orbit-node{
 position:absolute;z-index:2;display:grid;place-items:center;text-align:center;
 width:97px;min-height:65px;padding:7px;border-radius:14px;box-sizing:border-box;
 border:1px solid #677783;background:#303940;color:#eaf0f5;text-decoration:none;
 font-size:.8rem;font-weight:700;line-height:1.5;
 --orbit-angle:calc(var(--orbit-index) * 360deg / var(--orbit-count));
 transform:rotate(var(--orbit-angle)) translateY(-140px) rotate(calc(-1 * var(--orbit-angle)));
 transition:background .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.egxu-orbit-node:hover,.egxu-orbit-node:focus-visible,.egxu-orbit-core:hover{background:#52616d;border-color:#e0e7ec;box-shadow:0 0 25px #c0cbd12c}
.egxu-universe-links{display:flex;gap:8px;flex-wrap:wrap}
.egxu-universe-links a{
 display:inline-flex;max-width:100%;text-decoration:none;padding:7px 11px;border-radius:100px;
 color:#e2e8ed;border:1px solid #5d6871;background:#2d363c;font-size:.84rem;
}
.egxu-universe-links a:hover{background:#45535e}
.egxu-subhead{font-size:1rem;margin-block:18px 10px;color:#e6ecef}
.egxu-mission-steps{list-style:none;padding:0;display:grid;gap:9px;counter-reset:none}
.egxu-mission-step{display:flex;align-items:center;gap:11px;padding:13px;
 background:#283136;border:1px solid #4d5a63;border-radius:11px}
.egxu-mission-mark{font-size:1.3rem;color:#c7d1d8;min-width:24px}
.egxu-mission-step a{flex:1;text-decoration:none;color:#f0f3f5;font-weight:720;line-height:1.5}
.egxu-mission-state{font-size:.75rem;color:#c4cdd4}
.egxu-story-count{font-variant-numeric:tabular-nums;font-weight:750;color:#c0c9d0}
.egxu-story-heading{font-size:1.2rem;color:#f1f5f7;line-height:1.7}
.egxu-story-excerpt{font-size:1.04rem;line-height:2;color:#d7e0e5}
.egxu-try{margin-block:24px;padding:19px;border:1px solid #57656f;border-radius:15px;background:#232b30;color:#e9eff2}
.egxu-try-text h2{font-size:1.3rem;margin:7px 0;color:#f2f4f5}
.egxu-try-text p{color:#bec9d0;line-height:1.7}
.egxu-try>button{padding:10px 16px;min-height:43px;background:#d1d8dc;color:#252d31;border:1px solid #e5eaed;border-radius:10px;font:inherit;font-weight:800;cursor:pointer}
.egxu-try>button:disabled{opacity:.6}
.egxu-try-link{margin-inline-start:9px}
.egxu-tool-frame{width:100%;min-height:550px;background:#fff;border:1px solid #71808a;border-radius:12px;display:block;margin-top:18px}
@media(hover:none),(pointer:coarse){.egxu-peek-host .egxu-peek-btn{opacity:1;transform:none}}
@media(max-width:700px){
 .egxu-dialog{width:calc(100vw - 16px);max-height:88dvh;border-radius:14px}
 .egxu-compare-panels{grid-template-columns:1fr}
 .egxu-orbits{min-height:0;display:flex;flex-direction:column;gap:9px;padding:16px;background:#22292f}
 .egxu-orbit-core,.egxu-orbit-node{position:static;transform:none;width:100%;min-height:46px;box-shadow:none;border-radius:11px}
 .egxu-orbit-core{height:auto}
 .egxu-entry{width:100%;justify-content:center;gap:5px}
 .egxu-entry button{flex:1 1 70px;font-size:.73rem;padding:6px}
 .egxu-shelf-item{align-items:start;flex-wrap:wrap}
 .egxu-tool-frame{min-height:430px}
 .egxu-try-link{margin:9px 0 0}
}
@media(prefers-reduced-motion:reduce){
 .egxu-dialog::backdrop{backdrop-filter:none}
 .egxu-toast,.egxu-peek-btn,.egxu-orbit-node,.egxu-entry button{animation:none!important;transition:none!important}
}
/* Shared article cover: native cross-document View Transitions, with root portal fallback. */
@media(prefers-reduced-motion:no-preference){
 :root[data-eg-carbon-morph=article] .article-page .article-cover img{view-transition-name:eg-carbon-cover}
 ::view-transition-old(eg-carbon-cover),::view-transition-new(eg-carbon-cover){
  animation-duration:590ms!important;animation-timing-function:cubic-bezier(.2,.76,.18,1)!important;
  object-fit:cover;
 }
}
.egxu-secret-doors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-block:18px}
.egxu-secret-door{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px;
 min-height:130px;padding:14px;background:linear-gradient(150deg,#37434b,#222a2f);
 border:1px solid #75828e;border-radius:13px;color:#f0f4f7;text-decoration:none;font-weight:750;text-align:center;
 transition:translate .22s ease,border-color .2s ease}
.egxu-secret-door>span{font-size:1.35rem;font-variant-numeric:tabular-nums;color:#cbd4db}
.egxu-secret-door:hover{translate:0 -4px;border-color:#dce5eb}
.egxu-secret-entry{margin-block:17px}
.egxu-tool-note{font-size:.8rem;color:#b8c2c9;margin:13px 0 0}
@media(max-width:650px){.egxu-secret-doors{grid-template-columns:1fr}.egxu-secret-door{min-height:75px}}
@media(prefers-reduced-motion:reduce){.egxu-secret-door{transition:none!important}}

/* CARBON latest-ticker actions V2 — centered, custom graphite/silver controls. */
:root[data-eg-carbon="active"] .egxu-entry{
 box-sizing:border-box;gap:10px;padding:8px 10px;margin:12px 0 16px;
 border:1px solid rgba(197,205,213,.21);border-radius:17px;
 background:linear-gradient(145deg,rgba(48,55,60,.97),rgba(29,34,38,.98));
 box-shadow:inset 0 1px 0 rgba(255,255,255,.075),0 11px 26px rgba(0,0,0,.19);
 direction:inherit;
}
:root[data-eg-carbon="active"] .egxu-entry button.egxu-entry__button{
 box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
 gap:10px;min-height:51px;padding:9px 15px;border:1px solid #66727b;
 border-radius:13px;background:linear-gradient(170deg,#3c454c,#2b3338);
 box-shadow:0 5px 13px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.085);
 color:#f1f4f6;font-family:inherit;font-size:16px;font-weight:800;line-height:1.2;
 white-space:nowrap;cursor:pointer;
 transition:transform .22s cubic-bezier(.2,.74,.2,1),border-color .2s ease,
 background-color .2s ease,box-shadow .2s ease;
}
:root[data-eg-carbon="active"] .egxu-entry button.egxu-entry__button--primary{
 border-color:#c1ccd4;color:#151c21;
 background:linear-gradient(140deg,#f3f5f7,#c5cdd3);
 box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 7px 22px rgba(168,188,201,.15);
}
:root[data-eg-carbon="active"] .egxu-entry button.egxu-entry__button:hover{
 transform:translateY(-3px);border-color:#d1d9de;
 box-shadow:0 12px 22px rgba(0,0,0,.29),inset 0 1px 0 rgba(255,255,255,.14);
}
:root[data-eg-carbon="active"] .egxu-entry button.egxu-entry__button--primary:hover{
 background:linear-gradient(140deg,#fff,#d7e0e6);
}
:root[data-eg-carbon="active"] .egxu-entry button.egxu-entry__button:active{
 transform:translateY(0) scale(.985);
}
:root[data-eg-carbon="active"] .egxu-entry .egxu-entry__icon{
 display:inline-flex;align-items:center;justify-content:center;
 width:25px;min-width:25px;height:27px;
 font-family:inherit;font-size:25px;font-weight:850;line-height:1;letter-spacing:0;
}
:root[data-eg-carbon="active"] .egxu-entry .egxu-entry__label{
 display:inline-block;font-family:inherit;font-size:16px;font-weight:800;line-height:1.3;
}
:root[data-eg-carbon="active"] .egxu-entry button.egxu-entry__button:focus-visible{
 outline:2px solid #e7edf2;outline-offset:3px;
}

/* Hierarchical, non-overlapping latest news + discovery strip.
   The ticker occupies the full news row; navigation gets a dedicated centered row.
   This prevents long headlines and time labels from colliding with buttons. */
:root[data-eg-carbon="active"] .homepage-layout .latest-strip.latest-strip--egxu{
 display:grid!important;
 grid-template-areas:"latest news" "actions actions";
 grid-template-columns:max-content minmax(0,1fr);
 align-items:center;column-gap:20px!important;row-gap:0!important;
 min-height:0;padding:12px 19px 13px!important;
 border:1px solid rgba(184,195,203,.24)!important;border-radius:17px;
 background:linear-gradient(145deg,#252b2e,#1b2023);
 box-shadow:0 8px 26px #00000020,inset 0 1px 0 #ffffff0a;
}
:root[data-eg-carbon="active"] .latest-strip--egxu>.latest-strip__latest-link{
 grid-area:latest;align-self:center;justify-self:start;white-space:nowrap;
 padding:9px 12px!important;border-radius:9px;
 border:1px solid rgba(212,220,226,.20);
 background:#333c41;color:#f0f2f4;font-weight:800;
}
:root[data-eg-carbon="active"] .latest-strip--egxu>.latest-strip__viewport{
 grid-area:news;align-self:center;min-width:0;max-width:100%;width:100%;
 overflow:hidden;
}
:root[data-eg-carbon="active"] .latest-strip--egxu .latest-strip__item{
 grid-template-columns:minmax(0,1fr) max-content;gap:13px;min-width:0;
}
:root[data-eg-carbon="active"] .latest-strip--egxu .latest-strip__item>a{
 min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;
 white-space:nowrap;font-size:clamp(.91rem,1.06vw,1.04rem);
 font-weight:750;line-height:1.65;
}
:root[data-eg-carbon="active"] .latest-strip--egxu .latest-strip__time{
 font-size:.8rem;white-space:nowrap;opacity:.79;
}
:root[data-eg-carbon="active"] .latest-strip--egxu>.latest-strip__actions-band{
 grid-area:actions;min-width:0;width:100%;box-sizing:border-box;
 display:flex;justify-content:center;align-items:center;
 margin-top:11px;padding:11px 4px 0;
 border-top:1px solid rgba(202,213,222,.15);
}
:root[data-eg-carbon="active"] .latest-strip--egxu .latest-strip__actions-band>.egxu-entry{
 display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;
 width:max-content;max-width:100%;margin:0;padding:5px 6px;
 gap:9px;border-color:rgba(195,205,213,.12);
 background:linear-gradient(150deg,#343c41,#283035);
 box-shadow:inset 0 1px 0 #ffffff0c,0 6px 18px #00000018;
}
:root[data-eg-carbon="active"] .latest-strip--egxu .egxu-entry__button{
 min-height:48px!important;padding:8px 16px!important;
}
/* Other pages retain their existing toolbar placement. */
:root[data-eg-carbon="active"] .egx-explore__head .egxu-entry{flex:0 1 auto}
@media(max-width:720px){
 :root[data-eg-carbon="active"] .homepage-layout .latest-strip.latest-strip--egxu{
  grid-template-areas:"latest latest" "news news" "actions actions";
  grid-template-columns:minmax(0,1fr);
  padding:12px 12px 13px!important;row-gap:9px!important;
 }
 :root[data-eg-carbon="active"] .latest-strip--egxu>.latest-strip__latest-link{
  justify-self:start;min-height:34px;padding:6px 11px!important;
 }
 :root[data-eg-carbon="active"] .latest-strip--egxu>.latest-strip__viewport{
  min-height:42px;align-content:center;
 }
 :root[data-eg-carbon="active"] .latest-strip--egxu .latest-strip__item{
  grid-template-columns:minmax(0,1fr);min-height:42px;
 }
 :root[data-eg-carbon="active"] .latest-strip--egxu .latest-strip__item>a{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  white-space:normal;overflow:hidden;text-overflow:ellipsis;
  line-height:1.55;font-size:.93rem;
 }
 :root[data-eg-carbon="active"] .latest-strip--egxu .latest-strip__time{display:none}
 :root[data-eg-carbon="active"] .latest-strip--egxu>.latest-strip__actions-band{
  margin-top:0;padding:12px 0 0;
 }
 :root[data-eg-carbon="active"] .latest-strip--egxu .latest-strip__actions-band>.egxu-entry{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  width:100%;max-width:480px;gap:8px;padding:7px;
 }
 :root[data-eg-carbon="active"] .latest-strip--egxu .egxu-entry__button{
  min-width:0;width:100%;padding:8px 10px!important;
 }
}
@media(max-width:360px){
 :root[data-eg-carbon="active"] .latest-strip--egxu .egxu-entry__button{padding:8px 4px!important}
}
@media(prefers-reduced-motion:reduce){
 :root[data-eg-carbon="active"] .latest-strip--egxu .egxu-entry__button{transition:none!important;transform:none!important}
}

/* Editorial outline preview: genuine section headings and useful body excerpts. */
.egxu-preview-sections{counter-reset:section;list-style:none;margin:2px 0 0;padding:0;display:grid;gap:12px}
.egxu-preview-section{position:relative;padding:13px 17px;border:1px solid #53616b;border-radius:12px;background:#252e34;color:#e7ecef}
.egxu-preview-section strong{display:block;font-size:.98rem;line-height:1.65;color:#f4f7f9;margin-bottom:5px}
.egxu-preview-section p{font-size:.88rem;line-height:1.85;color:#ced7dd;margin:0;max-width:72ch}
.egxu-preview-more{font-size:.83rem;color:#c0cbd2;margin:4px 0 0}
.egxu-preview-excerpt{line-height:1.95;border-inline-start:2px solid #a8b7c1;padding-inline-start:13px}
/* Do not obscure article cards. Explicit preview controls are visible and touch-sized. */
.egxu-peek-host .egxu-peek-btn{opacity:1;transform:none;min-height:36px;padding:6px 11px;border-color:#7c8992;background:#2b343bdc;font-size:.78rem}
.egxu-peek-host .egxu-peek-btn:hover{background:#414c54;border-color:#d1dce3}
@media(max-width:650px){.egxu-preview-section{padding:11px 12px}.egxu-peek-host .egxu-peek-btn{min-height:38px}}

.egxu-preview-jump{display:inline-flex;margin-top:10px;font-size:.78rem;font-weight:800;color:#d6e5ee;
 text-decoration:underline;text-underline-offset:3px;padding:2px 0}
.egxu-preview-jump:hover{color:#fff;text-decoration-thickness:2px}
.egxu-preview-jump:focus-visible{outline:2px solid #e8eff4;outline-offset:4px;border-radius:2px}
