    * {
      box-sizing: border-box;
      -webkit-tap-highlight-color: transparent;
    }

    html,
    body {
      overscroll-behavior-y: none;
      touch-action: manipulation;
      font-family: 'Inter', 'Noto Sans Ethiopic', 'Abyssinica SIL', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      letter-spacing: -0.011em;
    }

    .no-scrollbar::-webkit-scrollbar {
      display: none;
    }

    .no-scrollbar {
      -ms-overflow-style: none;
      scrollbar-width: none;
    }

    .safe-pb {
      padding-bottom: max(0.45rem, env(safe-area-inset-bottom));
    }

    .safe-pt {
      padding-top: env(safe-area-inset-top);
    }

    .bsky-pill-tab {
      position: relative;
    }

    .bsky-pill-tab[data-active="true"]::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 44px;
      height: 3.5px;
      border-radius: 9999px;
      background: var(--primary);
    }

    /* Pure CSS Collectible Avatar Frames (0 KB disk) */
    .frame-none {
      padding: 0;
    }

    .frame-gold {
      padding: 2.5px;
      background: linear-gradient(135deg, #f59e0b, #fef08a, #b45309);
      box-shadow: 0 0 12px rgba(245, 158, 11, 0.45);
    }

    .frame-prism {
      padding: 2.5px;
      background: conic-gradient(from 40deg, #06b6d4, #6366f1, #ec4899, #f59e0b, #06b6d4);
      box-shadow: 0 0 12px rgba(99, 102, 241, 0.45);
    }

    .frame-emerald {
      padding: 2.5px;
      background: linear-gradient(135deg, #10b981, #6ee7b7, #047857);
      box-shadow: 0 0 11px rgba(16, 185, 129, 0.42);
    }

    .frame-solar {
      padding: 3px;
      background: linear-gradient(135deg, #f43f5e, #fb923c, #facc15, #be123c);
      box-shadow: 0 0 14px rgba(244, 63, 94, 0.5);
    }

    .frame-arctic {
      padding: 2.5px;
      background: linear-gradient(135deg, #38bdf8, #e0f2fe, #0284c7);
      box-shadow: 0 0 11px rgba(56, 189, 248, 0.45);
    }

    .frame-obsidian {
      padding: 2.5px;
      background: linear-gradient(135deg, #94a3b8, #334155, #e2e8f0);
      box-shadow: 0 0 10px rgba(148, 163, 184, 0.35);
    }

    .frame-sakura {
      padding: 2.5px;
      background: linear-gradient(135deg, #f9a8d4, #fbcfe8, #db2777);
      box-shadow: 0 0 12px rgba(236, 72, 153, 0.45);
    }

    .frame-cyber {
      padding: 2.5px;
      background: linear-gradient(135deg, #22d3ee, #a855f7, #ec4899);
      box-shadow: 0 0 13px rgba(168, 85, 247, 0.48);
    }

    .frame-royal {
      padding: 3px;
      background: linear-gradient(135deg, #6366f1, #fbbf24, #4338ca);
      box-shadow: 0 0 14px rgba(99, 102, 241, 0.5);
    }

    .frame-meskel {
      padding: 3px;
      background: linear-gradient(135deg, #facc15, #f97316, #16a34a);
      box-shadow: 0 0 13px rgba(250, 204, 21, 0.48);
    }

    /* Living Weather Sky Cloud & Seasonal Animations (Pure GPU CSS — 0 KB Video!) */
    @keyframes wxCloudFloat {

      0%,
      100% {
        transform: translateX(0px) translateY(0px);
      }

      50% {
        transform: translateX(9px) translateY(-3px);
      }
    }

    @keyframes wxCloudFloatSlow {

      0%,
      100% {
        transform: translateX(0px);
      }

      50% {
        transform: translateX(-11px);
      }
    }

    @keyframes wxSunSpin {
      from {
        transform: rotate(0deg);
      }

      to {
        transform: rotate(360deg);
      }
    }

    @keyframes wxSunPulse {

      0%,
      100% {
        transform: scale(1);
        opacity: 0.92;
      }

      50% {
        transform: scale(1.1);
        opacity: 1;
      }
    }

    @keyframes wxRainDrop {
      0% {
        transform: translateY(-10px) translateX(2px);
        opacity: 0;
      }

      20% {
        opacity: 0.95;
      }

      100% {
        transform: translateY(58px) translateX(-10px);
        opacity: 0;
      }
    }

    @keyframes wxLightning {

      0%,
      84%,
      90%,
      100% {
        opacity: 0;
      }

      86%,
      89% {
        opacity: 1;
      }
    }

    @keyframes wxSnowFall {
      0% {
        transform: translateY(-10px) translateX(0px) rotate(0deg);
        opacity: 0;
      }

      15% {
        opacity: 0.95;
      }

      100% {
        transform: translateY(68px) translateX(14px) rotate(180deg);
        opacity: 0;
      }
    }

    @keyframes wxLeafSwirl {
      0% {
        transform: translate(-12px, -8px) rotate(0deg);
        opacity: 0;
      }

      20% {
        opacity: 0.95;
      }

      100% {
        transform: translate(65px, 54px) rotate(240deg);
        opacity: 0;
      }
    }

    @keyframes wxPetalFloat {
      0% {
        transform: translate(0px, -8px) rotate(0deg);
        opacity: 0;
      }

      20% {
        opacity: 0.95;
      }

      100% {
        transform: translate(36px, 60px) rotate(160deg);
        opacity: 0;
      }
    }

    @keyframes wxFogSlide {

      0%,
      100% {
        transform: translateX(-10%);
        opacity: 0.45;
      }

      50% {
        transform: translateX(10%);
        opacity: 0.78;
      }
    }

    @keyframes wxStarTwinkle {

      0%,
      100% {
        opacity: 0.35;
        transform: scale(0.85);
      }

      50% {
        opacity: 1;
        transform: scale(1.2);
      }
    }

    .wx-cloud-float {
      animation: wxCloudFloat 5.2s ease-in-out infinite;
    }

    .wx-cloud-slow {
      animation: wxCloudFloatSlow 7.5s ease-in-out infinite;
    }

    .wx-sun-spin {
      animation: wxSunSpin 22s linear infinite;
      transform-origin: center;
    }

    .wx-sun-pulse {
      animation: wxSunPulse 3.4s ease-in-out infinite;
    }

    .wx-rain-drop {
      animation: wxRainDrop 1.05s linear infinite;
    }

    .wx-bolt {
      animation: wxLightning 3.6s ease-in-out infinite;
    }

    .wx-snow {
      animation: wxSnowFall 3.2s linear infinite;
    }

    .wx-leaf {
      animation: wxLeafSwirl 3.6s ease-in-out infinite;
    }

    .wx-petal {
      animation: wxPetalFloat 3.8s ease-in-out infinite;
    }

    .wx-fog {
      animation: wxFogSlide 6s ease-in-out infinite;
    }

    .wx-star {
      animation: wxStarTwinkle 2.4s ease-in-out infinite;
    }

    .wx-cloud-shell {
      position: relative;
      border-radius: 26px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
    }

    .wx-horizon-shell {
      position: relative;
      width: 100%;
      border-radius: 0;
      overflow: hidden;
      border: 0;
      box-shadow: none;
      transition: background 0.45s ease;
    }

    @keyframes wxSkyDriftA {
      0% { transform: translateX(-12%); }
      50% { transform: translateX(10%); }
      100% { transform: translateX(-12%); }
    }

    @keyframes wxSkyDriftB {
      0% { transform: translateX(10%); }
      50% { transform: translateX(-14%); }
      100% { transform: translateX(10%); }
    }

    @keyframes wxWinRain {
      0% { transform: translate(0, -14px); opacity: 0; }
      15% { opacity: 0.78; }
      85% { opacity: 0.78; }
      100% { transform: translate(-18px, 86px); opacity: 0; }
    }

    @keyframes wxWinSnow {
      0% { transform: translate(0, -10px) rotate(0deg); opacity: 0; }
      15% { opacity: 0.92; }
      85% { opacity: 0.85; }
      100% { transform: translate(-14px, 82px) rotate(140deg); opacity: 0; }
    }

    @keyframes wxBlizzard {
      0% { transform: translate(20px, -12px); opacity: 0; }
      12% { opacity: 0.95; }
      88% { opacity: 0.85; }
      100% { transform: translate(-95px, 88px); opacity: 0; }
    }

    @keyframes wxHailDrop {
      0% { transform: translate(0, -10px); opacity: 0; }
      12% { opacity: 0.95; }
      90% { opacity: 0.9; }
      100% { transform: translate(-10px, 95px); opacity: 0; }
    }

    @keyframes wxWindSweep {
      0% { stroke-dashoffset: 160; opacity: 0; }
      25% { opacity: 0.72; }
      75% { opacity: 0.65; }
      100% { stroke-dashoffset: -160; opacity: 0; }
    }

    @keyframes wxAuroraWave {
      0%, 100% { transform: translateX(-6%) scaleY(1); opacity: 0.58; }
      50% { transform: translateX(6%) scaleY(1.16); opacity: 0.92; }
    }

    @keyframes wxMeteorShoot {
      0%, 72% { transform: translate(0, 0); opacity: 0; }
      78% { opacity: 1; }
      94% { transform: translate(-110px, 56px); opacity: 0; }
      100% { transform: translate(-110px, 56px); opacity: 0; }
    }

    @keyframes wxRainbowGlow {
      0%, 100% { opacity: 0.52; }
      50% { opacity: 0.78; }
    }

    .wx-sky-drift-a { animation: wxSkyDriftA 18s ease-in-out infinite; }
    .wx-sky-drift-b { animation: wxSkyDriftB 24s ease-in-out infinite; }
    .wx-sky-drift-fast { animation: wxSkyDriftA 7.5s ease-in-out infinite; }
    .wx-win-rain { animation: wxWinRain 1.15s linear infinite; }
    .wx-win-rain-heavy { animation: wxWinRain 0.68s linear infinite; }
    .wx-win-snow { animation: wxWinSnow 4.2s linear infinite; }
    .wx-blizzard { animation: wxBlizzard 1.45s linear infinite; }
    .wx-hail { animation: wxHailDrop 0.62s linear infinite; }
    .wx-wind-line { stroke-dasharray: 85 120; animation: wxWindSweep 2.6s ease-in-out infinite; }
    .wx-aurora { animation: wxAuroraWave 7.2s ease-in-out infinite; transform-origin: center top; }
    .wx-meteor { animation: wxMeteorShoot 4.8s ease-out infinite; }
    .wx-rainbow { animation: wxRainbowGlow 6s ease-in-out infinite; }

    .flag-svg {
      display: inline-block;
      vertical-align: -0.14em;
      border-radius: 3px;
      box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.14);
      flex-shrink: 0;
    }

    .wx-horizon-wave {
      position: absolute;
      left: -4%;
      right: -4%;
      bottom: -1px;
      height: 22px;
      pointer-events: none;
      opacity: 0.18;
    }

    @keyframes wxHorizonPulse {

      0%,
      100% {
        opacity: 0.55;
        transform: scale(1);
      }

      50% {
        opacity: 0.85;
        transform: scale(1.06);
      }
    }

    .wx-horizon-orb {
      animation: wxHorizonPulse 6.5s ease-in-out infinite;
    }

    /* Shimmer Skeleton (Adapts to Light & Dark Mode) */
    .skel {
      position: relative;
      overflow: hidden;
      background: var(--content);
      border-radius: 10px;
    }

    /* Pure Native Bluesky Edge-to-Edge Hairline Feed Stream (Zero Bloated Margins/Cards!) */
    .feed-stream {
      background: var(--background);
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 0;
    }

    .feed-post-card {
      background: var(--background);
      border: 0;
      border-bottom: 1px solid var(--border);
      border-radius: 0;
      box-shadow: none;
      transition: background-color 0.14s ease;
      position: relative;
      overflow: visible;
    }

    .feed-post-card:hover {
      background: color-mix(in srgb, var(--content) 26%, var(--background));
    }

    .feed-post-muted {
      background: color-mix(in srgb, var(--content) 45%, var(--background));
    }

    .feed-sponsored-card {
      background: color-mix(in srgb, var(--primary) 2.5%, var(--background));
    }

    .feed-sponsored-card::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--primary), #8b5cf6, transparent);
      opacity: 0.6;
      pointer-events: none;
    }

    /* Full-Width Post Media: Crisp Rounded on Desktop · Edge-to-Edge Full-Bleed on Mobile! */
    .post-media-bleed {
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid var(--border);
      background: var(--content);
    }

    @media (max-width: 767px) {
      .feed-post-card:hover {
        background: var(--background);
      }

      .post-media-bleed {
        margin-left: -12px;
        margin-right: -12px;
        width: calc(100% + 24px);
        max-width: none;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
      }
    }

    body.mobile-sim .feed-post-card:hover {
      background: var(--background);
    }

    body.mobile-sim .post-media-bleed {
      margin-left: -12px;
      margin-right: -12px;
      width: calc(100% + 24px);
      max-width: none;
      border-radius: 0;
      border-left: 0;
      border-right: 0;
    }

    /* Native Scroll-Snap Image Carousel Physics & Capped Shrinking Pagination Dots */
    .pulse-carousel-track {
      display: flex;
      overflow-x: auto;
      overflow-y: hidden;
      scroll-snap-type: x mandatory;
      overscroll-behavior-x: contain;
      overscroll-behavior-y: auto;
      -webkit-overflow-scrolling: touch;
      touch-action: pan-x pan-y;
      scrollbar-width: none;
      user-select: none;
      cursor: grab;
    }

    .pulse-carousel-track::-webkit-scrollbar {
      display: none;
    }

    .pulse-carousel-track.is-dragging {
      scroll-snap-type: none;
      scroll-behavior: auto;
      cursor: grabbing;
    }

    .pulse-carousel-slide {
      flex: 0 0 100%;
      width: 100%;
      min-width: 100%;
      scroll-snap-align: center;
      scroll-snap-stop: always;
    }

    .car-dots {
      position: absolute;
      left: 50%;
      bottom: 10px;
      transform: translateX(-50%);
      z-index: 10;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 5px 8px;
      border-radius: 9999px;
      background: rgba(0, 0, 0, 0.46);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      max-width: 120px;
    }

    .car-dots-viewport {
      overflow: hidden;
      display: flex;
      align-items: center;
    }

    .car-dots-track {
      display: flex;
      align-items: center;
      gap: 5px;
      transition: transform 240ms cubic-bezier(.22, 1, .36, 1);
      will-change: transform;
    }

    .car-dot {
      width: 6px;
      height: 6px;
      flex: 0 0 6px;
      border-radius: 9999px;
      background: rgba(255, 255, 255, 0.45);
      transition: transform 220ms cubic-bezier(.22, 1, .36, 1), background-color 200ms ease, opacity 200ms ease;
    }

    .car-dot.is-active {
      background: #ffffff;
      transform: scale(1.18);
      opacity: 1;
    }

    .car-dot.is-med {
      transform: scale(0.75);
      opacity: 0.78;
    }

    .car-dot.is-sm {
      transform: scale(0.5);
      opacity: 0.56;
    }

    .car-dot.is-far {
      transform: scale(0.25);
      opacity: 0;
    }

    /* Bluesky Threaded Comment Connector Line */
    .reply-thread-line {
      width: 2px;
      border-radius: 9999px;
      background: var(--border);
      flex: 1;
      min-height: 12px;
      margin-top: 4px;
    }

    /* Native Pull-to-Refresh Spinner */
    @keyframes ptrSpin {
      to { transform: rotate(360deg); }
    }
    .ptr-spinning {
      animation: ptrSpin 0.72s linear infinite;
    }

    /* Smooth Native Tab Slide Transitions (Zero Full-Page Reload / Zero Flicker!) */
    @keyframes tabSlideFromRight {
      from { opacity: 0.4; transform: translateX(20px); }
      to { opacity: 1; transform: translateX(0); }
    }
    @keyframes tabSlideFromLeft {
      from { opacity: 0.4; transform: translateX(-20px); }
      to { opacity: 1; transform: translateX(0); }
    }
    @keyframes inlineReplyPop {
      from { opacity: 0; transform: translateY(-6px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .tab-slide-next {
      animation: tabSlideFromRight 0.17s cubic-bezier(.22, 1, .36, 1);
    }
    .tab-slide-prev {
      animation: tabSlideFromLeft 0.17s cubic-bezier(.22, 1, .36, 1);
    }
    [data-tab-panel] {
      overflow-x: clip;
    }
    .inline-reply-enter {
      animation: inlineReplyPop 0.16s cubic-bezier(.22, 1, .36, 1);
    }

    /* Rock-Solid Modal & Sheet Body Scroll Lock (ZERO Background Scroll Bleed!) */
    html.modal-open,
    body.modal-open {
      overflow: hidden !important;
      overscroll-behavior: none !important;
    }

    body.modal-open #desktopGrid {
      overflow: hidden !important;
      touch-action: none !important;
    }

    .vp-sheet-wrap {
      overscroll-behavior: contain;
    }

    .modal-scroll-area {
      overscroll-behavior: contain !important;
      -webkit-overflow-scrolling: touch;
      touch-action: pan-y;
    }

    /* GIPHY GIFs, Transparent Die-Cut Stickers & Super-Modern Emoji Studio */
    @keyframes expStickerBob {

      0%,
      100% {
        transform: translateY(0px) rotate(-1deg);
      }

      50% {
        transform: translateY(-5px) rotate(1.5deg);
      }
    }

    @keyframes expStickerPopIn {
      0% {
        opacity: 0;
        transform: scale(0.72) rotate(-6deg);
      }

      65% {
        opacity: 1;
        transform: scale(1.06) rotate(2deg);
      }

      100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
      }
    }

    .exp-sticker-float {
      animation: expStickerBob 3.4s ease-in-out infinite;
      filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.22));
      transition: transform 0.2s ease;
    }

    .exp-sticker-float:hover {
      transform: scale(1.07) rotate(2deg);
    }

    .exp-pop-in {
      animation: expStickerPopIn 0.28s cubic-bezier(.22, 1, .36, 1);
    }

    .exp-emoji-cell {
      width: 100%;
      aspect-ratio: 1;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
      line-height: 1;
      cursor: pointer;
      user-select: none;
      transition: transform 0.14s cubic-bezier(.22, 1, .36, 1), background-color 0.14s ease;
    }

    .exp-emoji-cell:hover {
      background: var(--content);
      transform: scale(1.22);
    }

    .exp-emoji-cell:active {
      transform: scale(0.9);
    }

    .giphy-badge {
      background: linear-gradient(90deg, #00ff99, #00ccff, #9933ff, #ff6666);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      font-weight: 900;
      letter-spacing: 0.04em;
    }

    /* Radio Station Profile Live Streaming Console (Only Visible on Profile Visit!) */
    @keyframes radioOnAirBlink {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.45; transform: scale(0.86); }
    }
    @keyframes radioEqDance {
      0%, 100% { transform: scaleY(0.24); }
      35% { transform: scaleY(0.95); }
      68% { transform: scaleY(0.45); }
      85% { transform: scaleY(1); }
    }
    @keyframes radioPulseRing {
      0% { transform: scale(1); opacity: 0.55; }
      100% { transform: scale(1.48); opacity: 0; }
    }
    .radio-live-dot { animation: radioOnAirBlink 1.35s ease-in-out infinite; }
    .radio-eq-bar {
      width: 3px; border-radius: 9999px; transform-origin: bottom;
      height: 18px; transform: scaleY(0.22); transition: transform 0.2s ease, opacity 0.2s ease;
      opacity: 0.45;
    }
    .radio-deck[data-playing="true"] .radio-eq-bar {
      opacity: 1;
      animation: radioEqDance var(--eq-dur, 0.85s) ease-in-out infinite;
      animation-delay: var(--eq-del, 0s);
    }
    .radio-play-ring {
      position: absolute; inset: 0; border-radius: 9999px; pointer-events: none; opacity: 0;
    }
    .radio-deck[data-playing="true"] .radio-play-ring {
      animation: radioPulseRing 1.9s cubic-bezier(.16,1,.3,1) infinite;
    }
    .radio-vol-slider {
      -webkit-appearance: none; appearance: none; height: 4px; border-radius: 9999px;
      background: rgba(148, 163, 184, 0.35); outline: none; cursor: pointer;
    }
    .radio-vol-slider::-webkit-slider-thumb {
      -webkit-appearance: none; appearance: none; width: 13px; height: 13px;
      border-radius: 9999px; background: currentColor; border: 2px solid #ffffff;
      box-shadow: 0 2px 6px rgba(0,0,0,0.3); cursor: pointer;
    }

    .skel::after {
      content: "";
      position: absolute;
      inset: 0;
      transform: translateX(-100%);
      background: linear-gradient(90deg, transparent, var(--skel-shine, rgba(255, 255, 255, 0.12)), transparent);
      animation: skelShimmer 1.1s infinite;
    }

    @keyframes skelShimmer {
      100% {
        transform: translateX(100%);
      }
    }

    @keyframes fadeSlideIn {
      from {
        opacity: 0;
        transform: translateY(5px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .view-enter {
      animation: fadeSlideIn 0.16s cubic-bezier(.22, 1, .36, 1);
    }

    @keyframes popLike {
      0% {
        transform: scale(1);
      }

      40% {
        transform: scale(1.42) rotate(-8deg);
      }

      100% {
        transform: scale(1) rotate(0);
      }
    }

    .pop-anim {
      animation: popLike 0.3s cubic-bezier(.22, 1, .36, 1);
    }

    @keyframes pushDown {
      from {
        transform: translateY(-130%);
        opacity: 0;
      }

      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

    .push-in {
      animation: pushDown 0.32s cubic-bezier(.22, 1, .36, 1);
    }

    @keyframes hscrollNudgeR {

      0%,
      100% {
        transform: translateX(0);
      }

      50% {
        transform: translateX(2.5px);
      }
    }

    @keyframes hscrollNudgeL {

      0%,
      100% {
        transform: translateX(0);
      }

      50% {
        transform: translateX(-2.5px);
      }
    }

    /* Desktop Horizontal Scroll Arrows & Edge Fades */
    .hscroll-wrap {
      position: relative;
    }

    .hscroll-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 15;
      width: 30px;
      height: 30px;
      border-radius: 9999px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--background);
      color: var(--foreground);
      border: 1px solid var(--card-border);
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
      cursor: pointer;
      transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.15s ease, color 0.15s ease;
    }

    .hscroll-btn:hover {
      border-color: var(--primary);
      color: var(--primary);
      transform: translateY(-50%) scale(1.08);
    }

    .hscroll-btn:active {
      transform: translateY(-50%) scale(0.94);
    }

    .hscroll-btn.hscroll-left {
      left: 6px;
    }

    .hscroll-btn.hscroll-right {
      right: 6px;
    }

    .hscroll-btn.hscroll-right svg {
      animation: hscrollNudgeR 1.6s ease-in-out infinite;
    }

    .hscroll-btn.hscroll-left svg {
      animation: hscrollNudgeL 1.6s ease-in-out infinite;
    }

    .hscroll-btn.hscroll-hidden {
      opacity: 0;
      pointer-events: none;
      transform: translateY(-50%) scale(0.84);
    }

    .hscroll-fade-l,
    .hscroll-fade-r {
      position: absolute;
      top: 0;
      bottom: 0;
      width: 42px;
      pointer-events: none;
      z-index: 12;
      transition: opacity 0.2s ease;
    }

    .hscroll-fade-l {
      left: 0;
      background: linear-gradient(to right, var(--background) 28%, transparent);
    }

    .hscroll-fade-r {
      right: 0;
      background: linear-gradient(to left, var(--background) 28%, transparent);
    }

    .hscroll-fade-hidden {
      opacity: 0;
    }

    .car-arrow-r span {
      display: inline-block;
      animation: hscrollNudgeR 1.6s ease-in-out infinite;
    }

    .car-arrow-l span {
      display: inline-block;
      animation: hscrollNudgeL 1.6s ease-in-out infinite;
    }

    /* TikTok-Style Full-Stage Gift Animations */
    @keyframes giftBannerSlide {
      0% {
        opacity: 0;
        transform: translateX(-110%) scale(0.9);
      }

      14% {
        opacity: 1;
        transform: translateX(0) scale(1);
      }

      84% {
        opacity: 1;
        transform: translateX(0) scale(1);
      }

      100% {
        opacity: 0;
        transform: translateX(-20px) scale(0.96);
      }
    }

    @keyframes giftHeroEnter {
      0% {
        opacity: 0;
        transform: scale(0.25) translateY(60px) rotate(-14deg);
      }

      22% {
        opacity: 1;
        transform: scale(1.16) translateY(-6px) rotate(4deg);
      }

      36% {
        transform: scale(0.96) translateY(0) rotate(-2deg);
      }

      50% {
        transform: scale(1.04) translateY(-8px) rotate(2deg);
      }

      80% {
        opacity: 1;
        transform: scale(1) translateY(-4px) rotate(0);
      }

      100% {
        opacity: 0;
        transform: scale(1.22) translateY(-38px);
      }
    }

    @keyframes giftShockwave {
      0% {
        opacity: 0.9;
        transform: scale(0.2);
      }

      100% {
        opacity: 0;
        transform: scale(2.8);
      }
    }

    @keyframes giftParticleFly {
      0% {
        opacity: 1;
        transform: translate(0, 0) scale(0.4) rotate(0deg);
      }

      70% {
        opacity: 1;
      }

      100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(1.2) rotate(var(--rot));
      }
    }

    @keyframes giftComboPop {
      0% {
        transform: scale(0.5);
      }

      55% {
        transform: scale(1.38);
      }

      100% {
        transform: scale(1);
      }
    }

    .gift-banner-anim {
      animation: giftBannerSlide 3.1s cubic-bezier(.22, 1, .36, 1) forwards;
    }

    .gift-hero-anim {
      animation: giftHeroEnter 3s cubic-bezier(.22, 1, .36, 1) forwards;
    }

    .gift-ring-anim {
      animation: giftShockwave 1.35s cubic-bezier(.16, 1, .3, 1) forwards;
    }

    .gift-particle {
      position: absolute;
      left: 50%;
      top: 50%;
      pointer-events: none;
      animation: giftParticleFly 1.9s cubic-bezier(.15, .85, .35, 1) forwards;
    }

    .gift-combo-anim {
      animation: giftComboPop 0.45s cubic-bezier(.22, 1, .36, 1) 0.25s both;
    }

    /* Clean Mobile Bar Stacking (No translateZ trap so fixed modals ALWAYS render above top/bottom bars!) */
    #mobileTopBar,
    #mobileBottomNav {
      z-index: 28;
    }

    .sheet-grabber {
      display: none !important;
    }

    /* UNIQUE MOBILE PULSE SPEED-DIAL ORB & STYLISH BACK-TO-TOP BUTTON */
    @keyframes fabPulseHalo {
      0% {
        transform: scale(1);
        opacity: 0.55;
      }

      70% {
        transform: scale(1.42);
        opacity: 0;
      }

      100% {
        transform: scale(1.42);
        opacity: 0;
      }
    }

    .fab-orb-ring {
      position: absolute;
      inset: 0;
      border-radius: 9999px;
      background: var(--primary);
      animation: fabPulseHalo 2.6s cubic-bezier(.16, 1, .3, 1) infinite;
      pointer-events: none;
    }

    .fab-orb-btn {
      background: linear-gradient(135deg, var(--primary), #8b5cf6);
      box-shadow: 0 10px 28px -4px rgba(17, 133, 254, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.4);
      transition: transform 0.28s cubic-bezier(.22, 1, .36, 1), box-shadow 0.2s ease;
    }

    .fab-orb-btn.fab-open svg {
      transform: rotate(135deg);
    }

    .fab-orb-btn svg {
      transition: transform 0.28s cubic-bezier(.22, 1, .36, 1);
    }

    @keyframes dialPopIn {
      from {
        opacity: 0;
        transform: translateY(14px) scale(0.84);
      }

      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .fab-dial-item {
      animation: dialPopIn 0.22s cubic-bezier(.22, 1, .36, 1) both;
    }

    #backToTopBtn {
      opacity: 0;
      pointer-events: none;
      transform: translateY(14px) scale(0.88);
      transition: opacity 0.24s ease, transform 0.26s cubic-bezier(.22, 1, .36, 1), border-color 0.18s ease, box-shadow 0.2s ease;
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
    }

    #backToTopBtn.btt-visible {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0) scale(1);
    }

    #backToTopBtn:hover {
      transform: translateY(-3px) scale(1.06);
      border-color: var(--primary);
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    }

    #backToTopBtn:active {
      transform: scale(0.94);
    }

    /* Profile Studio Custom Avatar Shapes */
    .av-circle,
    .av-circle img {
      border-radius: 9999px !important;
    }

    .av-squircle,
    .av-squircle img {
      border-radius: 28% !important;
    }

    .av-rounded,
    .av-rounded img {
      border-radius: 14px !important;
    }

    .av-hex {
      clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
      border-radius: 0 !important;
    }

    .av-hex img {
      clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
      border-radius: 0 !important;
    }

    /* COMPACT DESKTOP / TABLET ICON-ONLY NAVIGATION RAIL (768px - 1179px, NOT mobile!) */
    @media (min-width: 768px) and (max-width: 1179px) {
      body:not(.mobile-sim) #leftSidebar {
        display: flex !important;
        width: 72px !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
        align-items: center !important;
      }

      body:not(.mobile-sim) .nav-rail-lbl,
      body:not(.mobile-sim) .nav-rail-brand,
      body:not(.mobile-sim) .nav-rail-profile-meta,
      body:not(.mobile-sim) .nav-rail-compose-lbl,
      body:not(.mobile-sim) .nav-rail-badge-inline {
        display: none !important;
      }

      body:not(.mobile-sim) .nav-rail-btn {
        width: 48px !important;
        height: 48px !important;
        padding: 0 !important;
        justify-content: center !important;
        margin: 0 auto !important;
        position: relative !important;
      }

      body:not(.mobile-sim) .nav-rail-dot {
        display: flex !important;
      }

      body:not(.mobile-sim) .nav-rail-compose {
        width: 48px !important;
        height: 48px !important;
        padding: 0 !important;
        margin: 14px auto 0 !important;
      }

      body:not(.mobile-sim) .nav-rail-compose-ico {
        display: inline-flex !important;
      }

      body:not(.mobile-sim) .nav-rail-logo {
        padding: 8px !important;
        justify-content: center !important;
      }

      body:not(.mobile-sim) .nav-rail-profile {
        padding: 6px !important;
        justify-content: center !important;
      }

      body:not(.mobile-sim) #desktopGrid {
        grid-template-columns: 72px minmax(0, 580px) 280px !important;
        max-width: 950px !important;
      }

      body:not(.mobile-sim) #desktopGrid.grid-expanded {
        grid-template-columns: 72px minmax(0, 1fr) !important;
        max-width: 960px !important;
      }

      body:not(.mobile-sim) #centerColumn {
        border-left-width: 1px !important;
        border-right-width: 1px !important;
      }
    }

    @media (min-width: 768px) and (max-width: 1023px) {
      body:not(.mobile-sim) #rightSidebar {
        display: none !important;
      }

      body:not(.mobile-sim) #desktopGrid {
        grid-template-columns: 72px minmax(0, 1fr) !important;
        max-width: 680px !important;
      }

      body:not(.mobile-sim) #desktopGrid.grid-expanded {
        max-width: 920px !important;
      }
    }

    /* TRUE NATIVE MOBILE SHELL ON REAL MOBILE BROWSERS (<768px) */
    @media (max-width: 767px) {

      html,
      body {
        height: 100dvh;
        overflow: hidden;
      }

      #appViewport {
        height: 100dvh;
        width: 100%;
        display: flex;
        flex-direction: column;
        overflow: hidden;
      }

      #desktopGrid {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        display: flex !important;
        flex-direction: column !important;
        min-height: 0 !important;
        padding-bottom: 0 !important;
      }

      #desktopGrid::-webkit-scrollbar {
        display: none;
      }

      #centerColumn {
        width: 100% !important;
        flex: 1 0 auto;
        display: flex;
        flex-direction: column;
      }

      #mobileTopBar {
        display: flex !important;
        position: relative !important;
        flex-shrink: 0;
      }

      #mobileBottomNav {
        display: grid !important;
        position: relative !important;
        flex-shrink: 0;
      }

      .vp-sheet-wrap,
      .vp-sheet-wrap.vp-fullpage-wrap {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        top: var(--vvt, 0px) !important;
        bottom: auto !important;
        height: var(--vvh, 100dvh) !important;
        max-height: var(--vvh, 100dvh) !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 14px !important;
        isolation: isolate;
      }

      .vp-sheet,
      .vp-sheet.vp-fullpage {
        max-width: 440px !important;
        width: 100% !important;
        height: auto !important;
        max-height: calc(var(--vvh, 100dvh) - 28px) !important;
        border-radius: 24px !important;
        border: 1px solid var(--post-border, var(--card-border)) !important;
        animation: nativeDialogIn 0.2s cubic-bezier(.22, 1, .36, 1) !important;
      }

      #expressionModal .vp-sheet {
        height: min(540px, calc(var(--vvh, 100dvh) - 32px)) !important;
      }

      .vp-sheet.vp-fullpage .sheet-grabber {
        display: none !important;
      }

      /* Mobile Composer Keyboard Compact Mode — Bottom Icon Dock ALWAYS visible above keyboard! */
      body.kb-open #composerModal .composer-kb-dock {
        padding-bottom: 4px !important;
      }
      body.kb-open #composerModal #cmpBody {
        min-height: 56px !important;
      }
    }

    /* PINNED STICKY NAVIGATION BARS (100% Opaque Frosted Contrast — Never Turns Invisible Over Dark Photos!) */
    .sticky-pinned-bar {
      position: sticky;
      top: 0;
      z-index: 26;
      background: color-mix(in srgb, var(--background) 97%, transparent);
      backdrop-filter: blur(20px) saturate(165%);
      -webkit-backdrop-filter: blur(20px) saturate(165%);
      border-bottom: 1px solid var(--border);
      box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    }
    @media (min-width: 768px) {
      body:not(.mobile-sim) .sticky-pinned-bar { top: 0; }
    }
    #previewBar {
      background: color-mix(in srgb, var(--background) 97%, transparent) !important;
      backdrop-filter: blur(20px) saturate(165%);
      -webkit-backdrop-filter: blur(20px) saturate(165%);
    }

    /* NATIVE APP MODAL DESIGN SYSTEM (iOS 26 × Material You — Sheets & Full-Page Screens!) */
    @keyframes nativeBackdropIn { from { opacity: 0.35; } to { opacity: 1; } }
    @keyframes nativeSheetUp { from { opacity: 0.75; transform: translateY(34px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes nativeFullUp { from { opacity: 0.88; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
    @keyframes nativeDialogIn { from { opacity: 0.55; transform: scale(0.96) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }

    .vp-sheet-wrap:not(.hidden) {
      animation: nativeBackdropIn 0.16s ease-out forwards;
      background: rgba(8, 11, 20, 0.58) !important;
      backdrop-filter: blur(10px) saturate(130%) !important;
      -webkit-backdrop-filter: blur(10px) saturate(130%) !important;
    }
    .vp-sheet {
      background: var(--background) !important;
      border: 1px solid var(--post-border, var(--card-border));
      box-shadow: 0 32px 96px rgba(0, 0, 0, 0.44), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
      animation: nativeDialogIn 0.2s cubic-bezier(.22, 1, .36, 1) forwards;
    }
    @media (min-width: 768px) {
      body:not(.mobile-sim) .vp-sheet.vp-fullpage {
        max-width: 600px !important;
        height: auto !important;
        max-height: min(85vh, 720px) !important;
        border-radius: 28px !important;
      }
      body:not(.mobile-sim) .vp-sheet.vp-fullpage .sheet-grabber {
        display: none !important;
      }
    }
    .vp-sheet.vp-flex-shell {
      display: flex !important;
      flex-direction: column !important;
      padding: 0 !important;
      overflow: hidden !important;
    }
    .vp-sheet.vp-flex-shell > * { margin-top: 0 !important; }
    .native-appbar {
      flex-shrink: 0;
      z-index: 25;
      background: color-mix(in srgb, var(--background) 96%, transparent);
      backdrop-filter: blur(22px) saturate(165%);
      -webkit-backdrop-filter: blur(22px) saturate(165%);
      border-bottom: 1px solid var(--border);
    }
    .native-scroll-body {
      flex: 1 1 auto;
      min-height: 0;
      overflow-y: auto;
      overscroll-behavior: contain;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }
    .native-scroll-body::-webkit-scrollbar { display: none; }
    .native-bottom-dock {
      flex-shrink: 0;
      z-index: 25;
      background: color-mix(in srgb, var(--background) 97%, transparent);
      backdrop-filter: blur(20px) saturate(160%);
      -webkit-backdrop-filter: blur(20px) saturate(160%);
      border-top: 1px solid var(--border);
      padding-bottom: max(12px, env(safe-area-inset-bottom));
    }
    .native-sticky-nav {
      position: sticky;
      top: 0;
      z-index: 25;
      background: color-mix(in srgb, var(--background) 96%, transparent);
      backdrop-filter: blur(20px) saturate(160%);
      -webkit-backdrop-filter: blur(20px) saturate(160%);
      border-bottom: 1px solid var(--border);
    }
    .native-x-btn {
      width: 32px; height: 32px; border-radius: 9999px;
      display: inline-flex; align-items: center; justify-content: center;
      background: var(--content); color: var(--muted-foreground);
      font-size: 13px; font-weight: 800; transition: all 0.15s ease; flex-shrink: 0;
    }
    .native-x-btn:hover { background: var(--border); color: var(--foreground); transform: scale(1.05); }
    .native-x-btn:active { transform: scale(0.92); }
    .native-search-wrap {
      position: relative;
      display: flex;
      align-items: center;
    }
    .native-search-input {
      width: 100%;
      border-radius: 14px;
      background: var(--content);
      border: 1px solid transparent;
      padding: 9px 34px 9px 36px;
      font-size: 13px;
      color: var(--foreground);
      transition: all 0.15s ease;
    }
    .native-search-input::placeholder { color: var(--muted-foreground); }
    .native-search-input:focus {
      outline: none;
      background: var(--background);
      border-color: var(--primary);
      box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 16%, transparent);
    }
    .native-pill-select {
      appearance: none;
      -webkit-appearance: none;
      background-color: var(--content);
      border: 1px solid transparent;
      border-radius: 9999px;
      padding: 5px 26px 5px 11px;
      font-size: 12px;
      font-weight: 700;
      color: var(--foreground);
      cursor: pointer;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 9px center;
      transition: all 0.15s ease;
    }
    .native-pill-select:hover { border-color: var(--border); }
    .native-pill-select:focus { outline: none; border-color: var(--primary); }
    .native-action-group {
      border-radius: 20px; overflow: hidden;
      border: 1px solid var(--post-border, var(--card-border));
      background: var(--card);
    }
    .native-action-row {
      width: 100%; padding: 13px 15px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
      text-align: left; font-size: 13px; font-weight: 600;
      border-bottom: 1px solid var(--border); transition: background-color 0.14s ease;
    }
    .native-action-row:last-child { border-bottom: 0; }
    .native-action-row:hover { background: var(--content); }
    .native-action-row:active { background: var(--border); }

    /* RESPONSIVE MODAL & SUBSCRIPTION GRIDS (Desktop vs Real Mobile vs 390px Mobile Simulator!) */
    .gift-catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .picker-list-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .weather-scene-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .sub-plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .sub-benefit-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .sub-action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
    .studio-theme-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .studio-swatch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .studio-slider-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .studio-canvas-stage {
      background-color: var(--content);
      background-image: radial-gradient(color-mix(in srgb, var(--foreground) 11%, transparent) 1px, transparent 1px);
      background-size: 16px 16px;
    }
    .studio-color-dot {
      position: relative;
      width: 30px;
      height: 30px;
      border-radius: 9999px;
      overflow: hidden;
      flex-shrink: 0;
      box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.12);
    }
    .studio-color-dot input[type="color"] {
      position: absolute;
      inset: -8px;
      width: 48px;
      height: 48px;
      cursor: pointer;
      opacity: 0;
    }
    @media (min-width: 640px) {
      body:not(.mobile-sim) .gift-catalog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
      body:not(.mobile-sim) .picker-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
      body:not(.mobile-sim) .weather-scene-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
      body:not(.mobile-sim) .sub-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
      body:not(.mobile-sim) .sub-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
      body:not(.mobile-sim) .sub-action-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
      body:not(.mobile-sim) .studio-theme-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
      body:not(.mobile-sim) .studio-swatch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
      body:not(.mobile-sim) .studio-slider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    }

    /* PERSISTENT SITE-WIDE FLOATING MINI RADIO PLAYER */
    #globalRadioMiniBar {
      position: fixed;
      z-index: 38;
      bottom: 72px;
      left: 10px;
      right: 10px;
      background: color-mix(in srgb, var(--background) 96%, transparent);
      backdrop-filter: blur(22px) saturate(170%);
      -webkit-backdrop-filter: blur(22px) saturate(170%);
      border: 1px solid var(--post-border, var(--card-border));
      box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
      border-radius: 20px;
      animation: nativeSheetUp 0.22s cubic-bezier(.22, 1, .36, 1);
    }
    @media (min-width: 768px) {
      body:not(.mobile-sim) #globalRadioMiniBar {
        left: auto;
        right: 20px;
        bottom: 20px;
        width: 336px;
      }
    }
    body.mobile-sim #globalRadioMiniBar {
      position: absolute !important;
      left: 10px !important;
      right: 10px !important;
      bottom: 70px !important;
      width: auto !important;
    }
    /* Lift Mobile Compose FAB & Back-to-Top cleanly above Mini Radio Bar when active (zero overlap!) */
    body.radio-mini-active #mobileFab,
    body.radio-mini-active #backToTopBtn {
      bottom: 142px !important;
      transition: bottom 0.22s cubic-bezier(.22, 1, .36, 1);
    }
    @media (min-width: 768px) {
      body.radio-mini-active:not(.mobile-sim) #backToTopBtn {
        bottom: 24px !important;
      }
    }

    /* ULTRA-REALISTIC NATIVE 390px PHONE SIMULATOR ON DESKTOP */
    body.mobile-sim {
      display: flex;
      flex-direction: column;
      align-items: center;
      min-height: 100vh;
      background: var(--sidebar);
      overflow-x: hidden;
    }

    body.mobile-sim #appViewport {
      width: 394px;
      max-width: 100vw;
      height: 836px;
      max-height: calc(100vh - 60px);
      margin: 8px auto 12px;
      border-radius: 44px;
      border: 7px solid var(--border);
      box-shadow: 0 28px 80px rgba(0, 0, 0, 0.52);
      overflow: hidden;
      position: relative;
      display: flex;
      flex-direction: column;
      background: var(--background);
    }

    body.mobile-sim #mobileStatusBar {
      display: flex !important;
      flex-shrink: 0;
    }

    body.mobile-sim #mobileTopBar {
      display: flex !important;
      position: relative !important;
      flex-shrink: 0;
    }

    body.mobile-sim #desktopGrid {
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 !important;
      display: flex !important;
      flex-direction: column !important;
      flex: 1;
      min-height: 0 !important;
      overflow-y: auto;
      padding-bottom: 0 !important;
    }

    body.mobile-sim #desktopGrid::-webkit-scrollbar {
      display: none;
    }

    body.mobile-sim #leftSidebar,
    body.mobile-sim #rightSidebar {
      display: none !important;
    }

    body.mobile-sim #centerColumn {
      border-right: none !important;
      width: 100% !important;
      flex: 1 0 auto;
      display: flex;
      flex-direction: column;
    }

    body.mobile-sim #mobileBottomNav {
      display: grid !important;
      position: relative !important;
      flex-shrink: 0;
    }

    body.mobile-sim .vp-overlay {
      position: absolute !important;
    }

    body.mobile-sim #ptrIndicator {
      top: 86px !important;
    }

    body.mobile-sim .vp-sheet-wrap,
    body.mobile-sim .vp-sheet-wrap.vp-fullpage-wrap {
      inset: 0 !important;
      height: 100% !important;
      max-height: 100% !important;
      align-items: center !important;
      justify-content: center !important;
      padding: 14px !important;
    }

    body.mobile-sim .vp-sheet,
    body.mobile-sim .vp-sheet.vp-fullpage {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      max-height: calc(100% - 36px) !important;
      border-radius: 24px !important;
      border: 1px solid var(--post-border, var(--card-border)) !important;
      animation: nativeDialogIn 0.22s cubic-bezier(.22, 1, .36, 1) !important;
    }

    body.mobile-sim #expressionModal .vp-sheet {
      height: min(520px, calc(100% - 40px)) !important;
    }

    body.mobile-sim .vp-sheet.vp-fullpage .sheet-grabber {
      display: none !important;
    }

    body.mobile-sim .grid[class*="lg:grid-cols-12"],
    body.mobile-sim .grid[class*="md:grid-cols-2"],
    body.mobile-sim .grid[class*="sm:grid-cols-2"] {
      grid-template-columns: minmax(0, 1fr) !important;
    }

    body.mobile-sim .grid[class*="sm:grid-cols-3"],
    body.mobile-sim .grid[class*="md:grid-cols-3"] {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.mobile-sim .grid[class*="md:grid-cols-5"],
    body.mobile-sim .grid[class*="sm:grid-cols-4"] {
      grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    body.mobile-sim .grid[class*="lg:grid-cols-12"]>* {
      grid-column: auto !important;
    }

    body.mobile-sim .grid[class*="xl:grid-cols-6"] {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.mobile-sim .cmp-dock-lbl {
      display: none !important;
    }

/* ===== Instagram-style post action bar ===== */
.ig-actions .ig-act { display:inline-flex; align-items:center; gap:6px; padding:6px 2px; background:transparent !important; border-radius:9999px; font-size:13.5px; font-weight:600; line-height:1; transition:transform .12s ease, opacity .12s ease; }
.ig-actions .ig-act:hover { opacity:.6; }
.ig-actions .ig-act:active { transform:scale(.88); }
.ig-actions .ig-act svg, .ig-actions .ig-act img { width:24px !important; height:24px !important; stroke-width:1.8; flex-shrink:0; }
.ig-actions .ig-act span:empty { display:none; }
.ig-actions .ig-flip svg { transform:scaleX(-1); }
@media (max-width: 480px) { .ig-actions .ig-act svg, .ig-actions .ig-act img { width:23px !important; height:23px !important; } }

/* ===== Bluesky / Instagram Anchored Floating Popover Menus (Non-Modal!) ===== */
@keyframes anchoredPopIn {
  from { opacity: 0; transform: scale(0.94) translateY(-3px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.anchored-popover-card {
  position: absolute;
  z-index: 86;
  background: var(--background);
  border: 1px solid color-mix(in srgb, var(--border) 92%, rgba(15, 23, 42, 0.08));
  border-radius: 18px;
  padding: 6px;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.14), 0 2px 8px rgba(15, 23, 42, 0.06);
  animation: anchoredPopIn 0.13s cubic-bezier(.2, .9, .25, 1) forwards;
  user-select: none;
}
html.dark .anchored-popover-card {
  background: var(--card);
  border-color: var(--card-border, var(--border));
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.pop-menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--foreground);
  text-align: left;
  transition: background 0.12s ease, transform 0.1s ease;
  white-space: nowrap;
}
.pop-menu-item:hover {
  background: var(--content);
}
.pop-menu-item:active {
  transform: scale(0.98);
}
.pop-menu-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke-width: 2;
}
.pop-menu-item.pop-danger {
  color: var(--error);
}
.pop-menu-item.pop-danger:hover {
  background: color-mix(in srgb, var(--error) 11%, transparent);
}
.pop-menu-divider {
  height: 1px;
  margin: 4px 6px;
  background: var(--border);
}

/* ===== Native 60fps Mobile Navigation Drawer (Spring Slide + Parallax Depth + Touch Drag) ===== */
#mobileDrawerBackdrop {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: rgba(8, 12, 22, 0.54);
  backdrop-filter: blur(7px) saturate(140%);
  -webkit-backdrop-filter: blur(7px) saturate(140%);
  transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.3s;
}
#mobileDrawerBackdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
#mobileDrawer {
  transform: translate3d(-104%, 0, 0);
  visibility: hidden;
  pointer-events: none;
  will-change: transform;
  border-top-right-radius: 26px;
  border-bottom-right-radius: 26px;
  box-shadow: 20px 0 60px rgba(0, 0, 0, 0.32), 1px 0 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.32s;
}
#mobileDrawer.is-open {
  transform: translate3d(0, 0, 0);
  visibility: visible;
  pointer-events: auto;
}
#mobileDrawer.is-dragging {
  transition: none !important;
}
#mobileDrawer .drawer-safe-top {
  padding-top: max(12px, env(safe-area-inset-top));
}
body.mobile-sim #mobileDrawer .drawer-safe-top {
  padding-top: 18px;
}
/* Native iOS / Bluesky background depth shift when drawer opens */
#desktopGrid,
#mobileTopBar,
#mobileBottomNav {
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), border-radius 0.32s ease;
}
body.drawer-open #desktopGrid,
body.drawer-open #mobileTopBar,
body.drawer-open #mobileBottomNav {
  transform: translate3d(12px, 0, 0) scale(0.985);
}
.drawer-nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8.5px 12px;
  border-radius: 13px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--foreground);
  transition: background-color 0.14s ease, color 0.14s ease, transform 0.1s ease;
}
.drawer-nav-item:hover {
  background: var(--content);
}
.drawer-nav-item:active {
  transform: scale(0.98);
}
.drawer-nav-item.is-active {
  background: color-mix(in srgb, var(--primary) 11%, var(--content));
  color: var(--primary);
  font-weight: 800;
}
.drawer-nav-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}


