/* Mobile action hierarchy. Existing routes, native controls and desktop layout are retained. */
.ev-navmenu__account,
.ev-edhub__read-action { display:none; }

@media (max-width:1023px) {
 html body.ev-theme { padding-bottom:calc(72px + env(safe-area-inset-bottom)); }
 html body.ev-theme .ev-header--studio .ev-header__bar--app { min-height:64px;padding-inline:16px;gap:12px; }
 html body.ev-theme .ev-header--studio .ev-header__actions { gap:4px;min-width:0; }
 html body.ev-theme .ev-header--studio .ev-btn--join { min-height:44px; }
 html body.ev-theme .ev-header--studio .ev-header__actions :is(.ev-search-toggle,.ev-bell,.ev-header-cart),
 html body.ev-theme .ev-header--studio .ev-navmenu__toggle { width:44px;min-width:44px;height:44px;min-height:44px; }
 html body.ev-theme .ev-header--studio .ev-header__actions .ev-header__upload {
  display:inline-flex;align-items:center;justify-content:center;gap:6px;width:auto;min-width:80px;
  height:44px;min-height:44px;padding:0 12px;border:1px solid #e12635;background:#d32335;color:#fff;border-radius:10px;
 }
 html body.ev-theme .ev-header--studio .ev-header__upload .ev-icon { width:19px;height:19px;flex:none; }
 html body.ev-theme .ev-header--studio .ev-header__upload .ev-header__quick-label {
  position:static;display:block;width:auto;height:auto;margin:0;overflow:visible;clip:auto;clip-path:none;
  font-size:12px;font-weight:750;line-height:1;white-space:nowrap;
 }
 html body.ev-theme .ev-header--studio .ev-header__upload:hover { background:#ed3144;border-color:#ed3144;color:#fff; }
 html body.ev-theme .ev-bottomnav { background:#0b0d10;box-shadow:0 -6px 24px #0003; }
 html body.ev-theme .ev-bottomnav__link { min-height:56px;gap:3px;color:#aab2bd;font-size:11px;font-weight:600; }
 html body.ev-theme .ev-bottomnav__icon { display:flex;align-items:center;justify-content:center;min-width:52px;height:28px;border-radius:999px; }
 html body.ev-theme .ev-bottomnav__link.is-current { color:#f4fff9; }
 html body.ev-theme .ev-bottomnav__link.is-current .ev-bottomnav__icon { background:#34d39920;box-shadow:inset 0 0 0 1px #34d39935; }
 html body.ev-theme .ev-bottomnav__link.is-current .ev-bottomnav__icon svg { color:#eafff3; }
 html body.ev-theme .ev-bottomnav__link:focus-visible { outline:2px solid #9ee3bf;outline-offset:-3px; }

 /* Secondary destinations are compact rows, rather than competing hero-sized panels. */
 html body.ev-theme .ev-edhub .ev-edhub__pathways { gap:8px;padding-top:16px;grid-template-columns:repeat(2,minmax(0,1fr)); }
 html body.ev-theme .ev-edhub .ev-edhub__pathways>a { position:relative;display:flex;flex-direction:column;justify-content:center;min-width:0;min-height:64px;padding:10px 36px 10px 14px;background:#11151a;border-radius:10px; }
 html body.ev-theme .ev-edhub .ev-edhub__pathways>a::after { content:'\2192';position:absolute;right:14px;top:50%;transform:translateY(-50%);color:#b9c5ce;font-size:18px; }
 html body.ev-theme .ev-edhub .ev-edhub__pathways strong { margin:0 0 3px;font-size:14px;line-height:1.3;overflow-wrap:anywhere; }
 html body.ev-theme .ev-edhub .ev-edhub__pathways span { font-size:11px;line-height:1.4;overflow-wrap:anywhere; }
 html body.ev-theme .ev-edhub .ev-edhub__trend-row { min-width:0;min-height:76px;padding:10px;gap:10px; }
 html body.ev-theme .ev-edhub .ev-edhub__trend-row strong { white-space:normal;overflow:visible;text-overflow:clip;font-size:14px;line-height:1.4;overflow-wrap:anywhere; }
 html body.ev-theme .ev-edhub .ev-edhub__trend-row small { display:block;margin-top:5px;font-size:11px; }
 html body.ev-theme .ev-edhub .ev-edhub__section-head { gap:8px;align-items:flex-start; }
 html body.ev-theme .ev-edhub .ev-edhub__section-head h2 { font-size:22px;line-height:1.25; }
 html body.ev-theme .ev-edhub .ev-edhub__section-head>a { display:inline-flex;align-items:center;min-height:44px; }
 html body.ev-theme .ev-edhub .ev-edhub__card h3 { font-size:18px;line-height:1.4;overflow-wrap:anywhere; }
 html body.ev-theme .ev-edhub .ev-edhub__card-body { padding:16px; }
 html body.ev-theme .ev-edhub .ev-edhub__mini-signal { color:#929eac;font-size:11px; }
 html body.ev-theme .ev-edhub .ev-edhub__read-action { display:inline-flex;align-items:center;min-height:44px;margin-top:8px;color:#f36a75;font-size:13px;font-weight:700;text-decoration:none; }
 html body.ev-theme .ev-edhub .ev-edhub__read-action:hover { color:#fff;text-decoration:underline; }
 html body.ev-theme .ev-edhub .ev-edhub__read-action:focus-visible { outline:2px solid #9ee3bf;outline-offset:3px; }
}

@media (max-width:820px) {
 html body.ev-theme .ev-edhub :is(.ev-edhub__cards--2,.ev-edhub__cards--4,.ev-edhub__trend,.ev-edhub__trend--2col) { grid-template-columns:minmax(0,1fr); }
 html body.ev-theme .ev-edhub .ev-edhub__cards { gap:16px; }
 html body.ev-theme .ev-edhub .ev-edhub__card-media { aspect-ratio:16/9; }
 html body.ev-theme .ev-edhub .ev-edhub__card p { font-size:14px;line-height:1.5; }
 html body.ev-theme .ev-edhub--interviews>.ev-edhub__featured { grid-template-columns:minmax(0,1fr);min-height:0; }
 html body.ev-theme .ev-edhub--interviews>.ev-edhub__featured>.ev-edhub__featured-media { height:clamp(180px,42vw,280px); }
 html body.ev-theme .ev-edhub--interviews>.ev-edhub__featured>.ev-edhub__featured-copy { padding:18px; }
 html body.ev-theme .ev-edhub--interviews>.ev-edhub__featured .ev-edhub__featured-copy h2 { font-size:24px;line-height:1.3; }
 html body.ev-theme .ev-edhub--interviews>.ev-edhub__featured .ev-edhub__featured-copy>.ev-edhub__btn { min-height:46px; }
}

@media (max-width:767px) {
 html body.ev-theme .ev-header--studio .ev-header__bar--app { padding-inline:10px;gap:4px; }
 html body.ev-theme .ev-header--studio .ev-header__actions { gap:2px; }
 html body.ev-theme.logged-in .ev-header--studio .ev-account__menu { display:none; }
 html body.ev-theme .ev-header--studio .ev-brand__type { display:none!important; }
 html body.ev-theme .ev-header--studio .ev-brand__compact { display:inline-flex!important;align-items:baseline;gap:1px;color:#f7f7f8;font-size:27px;font-weight:850;letter-spacing:-.06em; }
 html body.ev-theme .ev-header--studio .ev-brand__compact b { color:#e12635; }
 html body.ev-theme .ev-header--studio .ev-brand__compact i { width:3px;height:3px;margin-left:2px;border-radius:50%;background:#3bd69c; }
 html body.ev-theme .ev-header--studio .ev-header__actions .ev-header__upload { min-width:70px;padding-inline:8px;gap:4px; }
 html body.ev-theme .ev-header--studio .ev-navmenu__account { display:block;margin:0 0 14px;padding-bottom:14px;border-bottom:1px solid #ffffff18; }
 html body.ev-theme .ev-header--studio .ev-navmenu__account>p { margin:0 12px 6px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#9daebc; }
 html body.ev-theme .ev-header--studio .ev-navmenu__account a { min-height:44px; }
}

@media (max-width:539px) {
 html body.ev-theme .ev-edhub .ev-edhub__pathways { grid-template-columns:minmax(0,1fr); }
 html body.ev-theme .ev-edhub .ev-edhub__section { padding-block:20px; }
}

@media (max-width:359px) {
 html body.ev-theme .ev-header--studio .ev-header__upload>.ev-icon { display:none; }
}

/* A populated cart previously pushed the guest Join action outside a narrow desktop viewport. */
@media (min-width:1024px) and (max-width:1099px) {
 html body.ev-theme:not(.logged-in):has(.ev-header-cart:not([hidden])) .ev-header--studio .ev-brand__type { font-size:19px; }
}
