/* Shared, non-content layout refinements for the current AI Studio site. */
.nav-news-short { display: none; }
.nav-news { white-space: nowrap; }
.news-teaser {
  width: min(1280px, 88%); margin: 44px auto 8px; padding: clamp(22px,4vw,42px);
  display:flex; align-items:center; justify-content:space-between; gap:28px; overflow:hidden;
  border:1px solid rgba(112,241,222,.24); border-radius:18px;
  background:radial-gradient(ellipse at 8% 10%,rgba(112,241,222,.12),transparent 45%),linear-gradient(135deg,#071721,#06121a 68%,#08131b);
  box-shadow:0 20px 60px rgba(0,0,0,.18);
}
.news-teaser-copy { max-width:780px; }
.news-teaser .news-kicker { display:inline-flex; align-items:center; gap:9px; color:#70f1de; font-size:12px; letter-spacing:.08em; }
.news-teaser .news-kicker:before { content:""; width:7px; height:7px; border-radius:50%; background:#70f1de; box-shadow:0 0 14px #70f1de; }
.news-teaser h2 { margin:10px 0; color:#edf5f8; font-size:clamp(24px,3vw,38px); line-height:1.4; }
.news-teaser p { color:#a7bac4; margin:0 0 20px; max-width:660px; }
.news-teaser .news-teaser-art { flex:0 0 145px; height:145px; display:grid; place-items:center; border:1px solid rgba(112,241,222,.35); border-radius:50%; color:#70f1de; font-size:52px; background:radial-gradient(circle,rgba(112,241,222,.12),transparent 65%); box-shadow:inset 0 0 40px rgba(112,241,222,.08),0 0 35px rgba(112,241,222,.07); }
.comment-note { margin:12px 0 22px; padding:12px 16px; border:1px solid rgba(112,241,222,.24); border-radius:10px; background:rgba(112,241,222,.06); color:#a7bac4; font-size:12px; }
.comment-card { position:relative; }
.comment-card .sample-badge { display:inline-flex; padding:3px 8px; border:1px solid rgba(112,241,222,.25); border-radius:999px; color:#70f1de; font-size:10px; margin-bottom:8px; }
.comment-card b { display:block; margin-top:12px; }
@media(max-width:620px) {
  .news-teaser { width:88%; margin-top:24px; flex-direction:column; align-items:stretch; gap:18px; }
  .news-teaser .news-teaser-art { display:none; }
  .topbar nav { gap:8px !important; }
  .topbar nav a.nav-news { display:inline-flex !important; }
  .topbar nav a.nav-news .nav-news-full { display:none; }
  .topbar nav a.nav-news .nav-news-short { display:inline; }
}
@media(max-width:620px) {
  .topbar nav a[href="#guides"] { display:none !important; }
  .reels-library-page .topbar nav a:first-child { display:none !important; }
  .news-topbar nav a:first-child { display:none !important; }
}

/* Keep the 3D portrait inside the mobile frame while scrolling; desktop motion is untouched. */
@media (max-width:620px) and (prefers-reduced-motion:no-preference) {
  .portrait-wrap {
    width:112% !important;
    height:62% !important;
    left:-6% !important;
    bottom:0 !important;
    transform:translate3d(0,calc(var(--p,0)*4vh),0) scale(calc(1 + var(--p,0)*.18)) rotateY(0deg) !important;
    transform-origin:50% 85% !important;
    opacity:calc(.96 - max(0,var(--p,0) - .68)*1.1) !important;
  }
}
