/* ============================================================
   FORO UBRE
   EXPLORER.CSS
   iOS 27 / Liquid Glass / Carbon
   ============================================================ */


/* ============================================================
   01 — RESET
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  min-height: 100%;
  background: #050606;
}

body {
  width: 100%;
  min-height: 100vh;
  margin: 0;

  color: #f4f6f4;

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    Inter,
    system-ui,
    sans-serif;

  background:
    radial-gradient(
      circle at 18% 10%,
      rgba(76, 255, 130, .055),
      transparent 30%
    ),
    radial-gradient(
      circle at 84% 75%,
      rgba(72, 150, 255, .035),
      transparent 28%
    ),
    #050606;

  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}


/* ============================================================
   02 — VARIABLES
   ============================================================ */

:root {

  --bg:
    #050606;

  --bg-soft:
    #090b0a;

  --glass:
    rgba(20, 23, 21, .68);

  --glass-strong:
    rgba(18, 21, 19, .86);

  --glass-soft:
    rgba(255,255,255,.035);

  --glass-highlight:
    rgba(255,255,255,.075);

  --border:
    rgba(255,255,255,.075);

  --border-strong:
    rgba(255,255,255,.12);

  --text:
    #f4f6f4;

  --text-2:
    #a6aaa7;

  --text-3:
    #676d69;

  --green:
    #71f58b;

  --green-strong:
    #46dc67;

  --green-soft:
    rgba(91, 239, 119, .10);

  --green-glow:
    rgba(92, 244, 122, .18);

  --red:
    #ff5c67;

  --shadow:
    0 30px 80px rgba(0,0,0,.46);

  --radius:
    24px;

  --radius-small:
    17px;

  --radius-full:
    999px;

}


/* ============================================================
   03 — CARBON BACKGROUND
   ============================================================ */

.carbon-bg {
  position: fixed;
  inset: 0;

  pointer-events: none;

  z-index: -5;

  opacity: .22;

  background-image:
    linear-gradient(
      135deg,
      rgba(255,255,255,.018) 25%,
      transparent 25%
    ),
    linear-gradient(
      315deg,
      rgba(255,255,255,.014) 25%,
      transparent 25%
    );

  background-size:
    7px 7px,
    7px 7px;

  background-position:
    0 0,
    3px 3px;

  mask-image:
    linear-gradient(
      to bottom,
      black,
      rgba(0,0,0,.72)
    );
}


.ambient {
  position: fixed;

  width: 500px;
  height: 500px;

  border-radius: 50%;

  pointer-events: none;

  filter: blur(100px);

  opacity: .055;

  z-index: -4;
}


.ambient-one {
  top: -250px;
  left: -180px;

  background: #5cff82;
}


.ambient-two {
  right: -280px;
  bottom: -260px;

  background: #5c8aff;
}


/* ============================================================
   04 — MAIN LAYOUT
   ============================================================ */

.app-layout {
  width: 100%;
  min-height: 100vh;

  display: grid;

  grid-template-columns:
    minmax(190px, 250px)
    minmax(0, 680px)
    minmax(220px, 300px);

  justify-content: center;

  gap: 22px;

  padding:
    20px 22px 40px;
}


/* ============================================================
   05 — SIDEBAR
   ============================================================ */

.sidebar {
  position: sticky;
  top: 20px;

  height: calc(100vh - 40px);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 16px;

  border:
    1px solid var(--border);

  border-radius:
    28px;

  background:
    linear-gradient(
      145deg,
      rgba(28,31,29,.78),
      rgba(12,14,13,.76)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.065),
    inset 0 -1px 0 rgba(0,0,0,.4),
    0 24px 70px rgba(0,0,0,.3);

  backdrop-filter:
    blur(20px);

  -webkit-backdrop-filter:
    blur(20px);

  overflow: hidden;
}


.sidebar::before {
  content: "";

  position: absolute;

  top: 0;
  left: 12%;
  right: 12%;

  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255,255,255,.18),
      transparent
    );

  pointer-events: none;
}


.sidebar-top {
  display: flex;
  flex-direction: column;
}


/* ============================================================
   06 — BRAND
   ============================================================ */

.brand {
  display: flex;
  align-items: center;
  gap: 11px;

  padding: 6px 8px 24px;
}


.brand-icon {
  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;

  border-radius: 13px;

  color: #061008;

  font-size: 20px;

  background:
    linear-gradient(
      145deg,
      #a0ffad,
      #48dc67
    );

  box-shadow:
    0 9px 28px rgba(71,225,101,.18),
    inset 0 1px 1px rgba(255,255,255,.65);

  flex-shrink: 0;
}


.brand-name {
  font-size: 17px;
  font-weight: 760;

  letter-spacing: -.4px;
}


/* ============================================================
   07 — NAVIGATION
   ============================================================ */

.main-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}


.nav-item {
  min-height: 48px;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 8px 11px;

  border-radius: 15px;

  color: var(--text-2);

  transition:
    background .22s ease,
    color .22s ease,
    transform .22s ease;
}


.nav-item:hover {
  color: var(--text);

  background:
    rgba(255,255,255,.045);

  transform:
    translateX(2px);
}


.nav-item.active {
  color: var(--text);

  background:
    linear-gradient(
      135deg,
      rgba(111,242,133,.11),
      rgba(255,255,255,.045)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06);
}


.nav-icon {
  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  border-radius: 11px;

  font-size: 19px;

  color: var(--text-2);
}


.nav-item.active .nav-icon {
  color: var(--green);

  background:
    rgba(92,241,116,.08);
}


.nav-label {
  font-size: 14px;
  font-weight: 650;
}


/* ============================================================
   08 — NEW POST
   ============================================================ */

.new-post-button {
  width: 100%;

  margin-top: 18px;

  min-height: 47px;

  border: 0;

  border-radius: 15px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 9px;

  color: #071008;

  font-size: 13px;
  font-weight: 800;

  cursor: pointer;

  background:
    linear-gradient(
      135deg,
      #9affaa,
      #48dc67
    );

  box-shadow:
    0 12px 28px rgba(70,220,100,.13),
    inset 0 1px 1px rgba(255,255,255,.65);

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}


.new-post-button:hover {
  transform:
    translateY(-2px);

  box-shadow:
    0 16px 35px rgba(70,220,100,.2),
    inset 0 1px 1px rgba(255,255,255,.7);
}


.new-post-button:active {
  transform:
    translateY(0) scale(.98);
}


.new-post-icon {
  font-size: 17px;
}


/* ============================================================
   09 — SIDEBAR USER
   ============================================================ */

.sidebar-user {
  display: flex;
  align-items: center;

  gap: 10px;

  min-width: 0;

  padding:
    10px;

  border:
    1px solid rgba(255,255,255,.055);

  border-radius:
    17px;

  background:
    rgba(255,255,255,.025);
}


.sidebar-avatar {
  width: 38px;
  height: 38px;

  border-radius: 50%;

  object-fit: cover;

  flex-shrink: 0;

  border:
    1px solid rgba(255,255,255,.12);
}


.sidebar-user-info {
  min-width: 0;

  display: flex;
  flex-direction: column;

  overflow: hidden;
}


.sidebar-user-info strong {
  font-size: 12px;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;
}


.sidebar-user-info small {
  margin-top: 2px;

  color: var(--text-3);

  font-size: 11px;

  overflow: hidden;

  text-overflow: ellipsis;

  white-space: nowrap;
}


.sidebar-user-more {
  margin-left: auto;

  color: var(--text-3);

  font-size: 16px;
}


/* ============================================================
   10 — MAIN EXPLORER
   ============================================================ */

.explorer-main {
  min-width: 0;

  min-height: calc(100vh - 60px);

  padding-bottom: 50px;
}


/* ============================================================
   11 — HEADER
   ============================================================ */

.explorer-header {
  min-height: 128px;

  display: flex;
  align-items: flex-end;

  padding:
    22px 8px 20px;
}


.header-eyebrow {
  display: flex;
  align-items: center;

  gap: 7px;

  margin-bottom: 7px;

  color: var(--text-3);

  font-size: 10px;
  font-weight: 800;

  letter-spacing: 1.3px;
}


.live-dot {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background:
    var(--green);

  box-shadow:
    0 0 12px rgba(112,245,139,.7);
}


.explorer-header h1 {
  margin: 0;

  font-size:
    clamp(29px, 4vw, 40px);

  line-height: 1;

  letter-spacing:
    -1.8px;

  font-weight:
    780;
}


.explorer-header p {
  margin:
    9px 0 0;

  color: var(--text-3);

  font-size: 13px;
}


/* ============================================================
   12 — SEARCH PANEL
   ============================================================ */

.search-panel {
  position: sticky;

  top: 0;

  z-index: 20;

  padding-bottom: 13px;

  background:
    linear-gradient(
      to bottom,
      rgba(5,6,6,.97),
      rgba(5,6,6,.88),
      rgba(5,6,6,0)
    );
}


.search-box {
  min-height: 58px;

  display: flex;
  align-items: center;

  gap: 11px;

  padding:
    0 16px;

  border:
    1px solid var(--border);

  border-radius:
    19px;

  background:
    linear-gradient(
      145deg,
      rgba(35,39,36,.66),
      rgba(13,15,14,.7)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 15px 45px rgba(0,0,0,.22);

  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}


.search-box:focus-within {
  border-color:
    rgba(105,240,125,.34);

  background:
    linear-gradient(
      145deg,
      rgba(38,43,39,.76),
      rgba(13,15,14,.8)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.065),
    0 0 0 3px rgba(87,235,111,.055),
    0 18px 50px rgba(0,0,0,.28);
}


.search-icon {
  width: 32px;
  height: 32px;

  display: grid;
  place-items: center;

  border-radius: 11px;

  color: var(--green);

  background:
    rgba(92,240,118,.075);

  font-size: 17px;

  flex-shrink: 0;
}


.search-box input {
  min-width: 0;
  flex: 1;

  border: 0;
  outline: 0;

  background: transparent;

  color: var(--text);

  font-size: 15px;
}


.search-box input::placeholder {
  color:
    #606763;
}


.clear-search {
  width: 30px;
  height: 30px;

  display: grid;
  place-items: center;

  border: 0;

  border-radius: 50%;

  color: var(--text-2);

  background:
    rgba(255,255,255,.055);

  cursor: pointer;

  transition:
    background .2s ease,
    color .2s ease,
    transform .2s ease;
}


.clear-search:hover {
  color: var(--text);

  background:
    rgba(255,255,255,.1);

  transform:
    scale(1.05);
}


.hidden {
  display: none !important;
}


/* ============================================================
   13 — SEARCH TABS
   ============================================================ */

.search-tabs {
  display: flex;

  gap: 5px;

  margin-top: 9px;

  padding: 4px;

  border:
    1px solid rgba(255,255,255,.055);

  border-radius:
    15px;

  background:
    rgba(12,14,13,.72);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035);
}


.tab-btn {
  min-height: 37px;

  flex: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 6px;

  border: 0;

  border-radius: 11px;

  color: var(--text-3);

  background: transparent;

  font-size: 12px;
  font-weight: 700;

  cursor: pointer;

  transition:
    color .2s ease,
    background .2s ease,
    transform .2s ease;
}


.tab-btn:hover {
  color: var(--text-2);

  background:
    rgba(255,255,255,.035);
}


.tab-btn.active {
  color: var(--text);

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.09),
      rgba(255,255,255,.045)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.065),
    0 4px 15px rgba(0,0,0,.16);
}


.tab-btn.active i {
  color: var(--green);
}


/* ============================================================
   14 — RESULTS
   ============================================================ */

.search-results {
  min-height: 400px;

  position: relative;
}


.search-section-title {
  display: flex;
  align-items: center;

  gap: 8px;

  padding:
    19px 5px 9px;

  color: var(--text-3);

  font-size: 10px;
  font-weight: 850;

  letter-spacing:
    1.1px;

  text-transform:
    uppercase;
}


.section-title-icon {
  width: 25px;
  height: 25px;

  display: grid;
  place-items: center;

  border-radius: 8px;

  color: var(--green);

  background:
    rgba(88,239,113,.065);

  font-size: 13px;
}


/* ============================================================
   15 — PLACEHOLDER
   ============================================================ */

.explore-placeholder {
  min-height: 430px;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  padding: 45px 20px;

  text-align: center;

  animation:
    placeholder-in .35s ease both;
}


@keyframes placeholder-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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


.placeholder-icon {
  width: 68px;
  height: 68px;

  display: grid;
  place-items: center;

  margin-bottom: 17px;

  border:
    1px solid rgba(255,255,255,.075);

  border-radius:
    22px;

  color: var(--green);

  background:
    linear-gradient(
      145deg,
      rgba(91,241,116,.08),
      rgba(255,255,255,.035)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 18px 45px rgba(0,0,0,.25);

  font-size: 27px;
}


.explore-placeholder h2 {
  margin: 0;

  color: var(--text);

  font-size: 17px;

  letter-spacing: -.4px;
}


.explore-placeholder p {
  max-width: 320px;

  margin:
    8px 0 0;

  color: var(--text-3);

  font-size: 13px;

  line-height: 1.55;
}


.explore-placeholder strong {
  color: var(--text-2);
}


.no-results .placeholder-icon {
  color: var(--text-2);

  background:
    rgba(255,255,255,.035);
}


/* ============================================================
   16 — USER RESULT
   ============================================================ */

.search-user-result {
  position: relative;

  display: flex;
  align-items: center;

  gap: 13px;

  padding:
    13px;

  margin-bottom: 7px;

  border:
    1px solid rgba(255,255,255,.055);

  border-radius:
    19px;

  background:
    linear-gradient(
      145deg,
      rgba(29,33,30,.67),
      rgba(12,14,13,.64)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 10px 30px rgba(0,0,0,.16);

  cursor: pointer;

  transition:
    transform .22s ease,
    border-color .22s ease,
    background .22s ease,
    box-shadow .22s ease;
}


.search-user-result:hover {
  transform:
    translateY(-2px);

  border-color:
    rgba(255,255,255,.11);

  background:
    linear-gradient(
      145deg,
      rgba(34,39,35,.75),
      rgba(13,15,14,.72)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 16px 35px rgba(0,0,0,.25);
}


.result-avatar-wrap {
  flex-shrink: 0;
}


.result-avatar {
  width: 46px;
  height: 46px;

  display: block;

  object-fit: cover;

  border-radius: 50%;

  border:
    1px solid rgba(255,255,255,.1);

  background:
    #151816;
}


.search-user-content {
  flex: 1;

  min-width: 0;
}


.search-user-name {
  display: flex;
  align-items: center;

  min-width: 0;

  line-height: 1.15;
}


.search-user-handle {
  margin-top: 4px;

  color: var(--text-3);

  font-size: 11px;
}


.search-user-bio {
  max-width: 100%;

  margin:
    5px 0 0;

  color: var(--text-2);

  font-size: 11px;

  white-space: nowrap;

  overflow: hidden;

  text-overflow: ellipsis;
}


/* ============================================================
   17 — FOLLOW BUTTON
   ============================================================ */

.btn-follow-search {
  min-height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 5px;

  padding:
    0 12px;

  border:
    1px solid transparent;

  border-radius:
    11px;

  color: #071008;

  background:
    linear-gradient(
      135deg,
      #a1ffad,
      #55dd70
    );

  font-size: 11px;
  font-weight: 800;

  cursor: pointer;

  flex-shrink: 0;

  transition:
    transform .2s ease,
    background .2s ease,
    border-color .2s ease,
    color .2s ease;
}


.btn-follow-search:hover {
  transform:
    translateY(-1px);
}


.btn-follow-search:active {
  transform:
    scale(.96);
}


.btn-follow-search.siguiendo {
  color: var(--text);

  border-color:
    rgba(255,255,255,.1);

  background:
    rgba(255,255,255,.045);
}


.btn-follow-search.siguiendo:hover {
  color: var(--red);

  border-color:
    rgba(255,92,103,.2);

  background:
    rgba(255,92,103,.055);
}


/* ============================================================
   18 — POST RESULT
   ============================================================ */

.search-post {
  display: flex;

  gap: 12px;

  padding:
    15px;

  margin-bottom: 7px;

  border:
    1px solid rgba(255,255,255,.055);

  border-radius:
    20px;

  background:
    linear-gradient(
      145deg,
      rgba(29,33,30,.67),
      rgba(12,14,13,.64)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 10px 30px rgba(0,0,0,.16);

  cursor: pointer;

  transition:
    transform .22s ease,
    border-color .22s ease,
    background .22s ease;
}


.search-post:hover {
  transform:
    translateY(-2px);

  border-color:
    rgba(255,255,255,.105);

  background:
    linear-gradient(
      145deg,
      rgba(34,39,35,.75),
      rgba(13,15,14,.72)
    );
}


.post-avatar-wrap {
  flex-shrink: 0;
}


.post-avatar {
  width: 42px;
  height: 42px;

  display: block;

  object-fit: cover;

  border-radius: 50%;

  border:
    1px solid rgba(255,255,255,.1);
}


.post-body {
  min-width: 0;
  flex: 1;
}


.post-user {
  min-width: 0;

  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 5px;
}


.post-name {
  display: flex;
  align-items: center;
}


.handle {
  color: var(--text-3);

  font-size: 11px;
}


.post-time {
  color: var(--text-3);

  font-size: 11px;
}


.post-text {
  margin:
    9px 0 0;

  color: #dfe3e0;

  font-size: 13px;

  line-height: 1.55;

  white-space: pre-wrap;

  word-break: break-word;
}


.search-post-image {
  width: 100%;

  max-height: 270px;

  display: block;

  margin-top: 11px;

  object-fit: cover;

  border-radius: 15px;

  border:
    1px solid rgba(255,255,255,.065);
}


.post-footer {
  display: flex;

  align-items: center;

  margin-top: 12px;

  padding-top: 9px;

  border-top:
    1px solid rgba(255,255,255,.045);
}


.post-stat {
  display: flex;
  align-items: center;

  gap: 5px;

  color: var(--text-3);

  font-size: 11px;
}


.post-stat i {
  font-size: 15px;
}


/* ============================================================
   19 — BADGES
   ============================================================ */

.badge-verified {
  margin-left: 4px;

  color: #4dabf7;

  font-size: .85em;
}


.badge-star {
  margin-left: 4px;

  color: #ffd43b;

  font-size: .85em;
}


.badge-fire {
  margin-left: 4px;

  color: #ff6b35;

  font-size: .85em;
}


.badge-crown {
  margin-left: 4px;

  color: #ffd43b;

  font-size: .85em;
}


.badge-dev {
  margin-left: 4px;

  color: #69db7c;

  font-size: .85em;
}


.badge-vip {
  display: inline-flex;
  align-items: center;

  margin-left: 5px;

  padding:
    2px 6px;

  border-radius: 5px;

  color: #050505;

  background:
    linear-gradient(
      90deg,
      #ffd43b,
      #ff6b35
    );

  font-size: 8px;

  font-weight: 900;

  letter-spacing: .3px;
}


.badge-new {
  display: inline-flex;
  align-items: center;

  margin-left: 5px;

  padding:
    2px 6px;

  border-radius: 5px;

  color: #061008;

  background:
    var(--green);

  font-size: 8px;

  font-weight: 900;

  letter-spacing: .3px;
}


/* ============================================================
   20 — LOADING
   ============================================================ */

.search-loading {
  min-height: 220px;

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 9px;

  color: var(--text-3);

  font-size: 12px;
}


.loading-spinner {
  width: 18px;
  height: 18px;

  border-radius: 50%;

  border:
    2px solid rgba(255,255,255,.08);

  border-top-color:
    var(--green);

  animation:
    spinner .75s linear infinite;
}


@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}


/* ============================================================
   21 — ERROR
   ============================================================ */

.search-error {
  min-height: 260px;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 7px;

  text-align: center;
}


.error-icon {
  width: 54px;
  height: 54px;

  display: grid;
  place-items: center;

  margin-bottom: 7px;

  border-radius: 18px;

  color: var(--red);

  background:
    rgba(255,92,103,.06);

  font-size: 24px;
}


.search-error strong {
  color: var(--text);

  font-size: 14px;
}


.search-error span {
  color: var(--text-3);

  font-size: 12px;
}


/* ============================================================
   22 — RIGHT SIDEBAR
   ============================================================ */

.right-sidebar {
  padding-top: 18px;
}


.trends-card {
  position: sticky;
  top: 20px;

  padding: 18px;

  border:
    1px solid var(--border);

  border-radius:
    25px;

  background:
    linear-gradient(
      145deg,
      rgba(27,31,28,.7),
      rgba(11,13,12,.73)
    );

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 24px 65px rgba(0,0,0,.27);

  backdrop-filter:
    blur(18px);

  -webkit-backdrop-filter:
    blur(18px);
}


.trends-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  margin-bottom: 16px;
}


.trends-eyebrow {
  display: block;

  margin-bottom: 4px;

  color: var(--text-3);

  font-size: 8px;

  font-weight: 850;

  letter-spacing: 1.1px;
}


.trends-header h2 {
  margin: 0;

  font-size: 18px;

  letter-spacing:
    -.5px;
}


.trends-icon {
  width: 35px;
  height: 35px;

  display: grid;
  place-items: center;

  border-radius: 12px;

  color: #ffb84c;

  background:
    rgba(255,174,58,.07);

  font-size: 17px;
}


.trend-list {
  display: flex;
  flex-direction: column;
}


.trend-item {
  display: flex;
  align-items: center;

  gap: 11px;

  padding:
    12px 4px;

  border-bottom:
    1px solid rgba(255,255,255,.045);
}


.trend-item:last-child {
  border-bottom: 0;
}


.trend-number {
  width: 25px;

  color: #454b47;

  font-size: 9px;

  font-weight: 850;
}


.trend-content {
  min-width: 0;

  display: flex;
  flex-direction: column;

  gap: 3px;
}


.trend-content strong {
  color: #dfe4e0;

  font-size: 12px;

  font-weight: 700;
}


.trend-content span {
  color: var(--text-3);

  font-size: 10px;
}


.right-footer {
  padding:
    17px 5px;

  color: #454b47;

  font-size: 10px;

  text-align: center;
}


/* ============================================================
   23 — MOBILE NAV
   ============================================================ */

.bottom-nav {
  display: none;
}


/* ============================================================
   24 — RESPONSIVE
   ============================================================ */

@media (max-width: 1080px) {

  .app-layout {
    grid-template-columns:
      210px
      minmax(0, 680px);

    max-width:
      950px;
  }


  .right-sidebar {
    display: none;
  }

}


@media (max-width: 760px) {

  body {
    padding-bottom:
      calc(72px + env(safe-area-inset-bottom));
  }


  .app-layout {
    display: block;

    min-height: 100vh;

    padding:
      0 12px 30px;
  }


  .sidebar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 64px;

    z-index: 100;

    display: flex;
    flex-direction: row;
    align-items: center;

    padding:
      8px 13px;

    border:
      0;

    border-bottom:
      1px solid rgba(255,255,255,.075);

    border-radius: 0;

    background:
      rgba(7,9,8,.91);

    box-shadow:
      0 12px 35px rgba(0,0,0,.3);

    backdrop-filter:
      blur(20px);

    -webkit-backdrop-filter:
      blur(20px);
  }


  .sidebar-top {
    width: 100%;

    display: flex;
    flex-direction: row;
    align-items: center;
  }


  .brand {
    padding: 0;

    gap: 9px;
  }


  .brand-icon {
    width: 36px;
    height: 36px;

    border-radius: 11px;

    font-size: 17px;
  }


  .brand-name {
    font-size: 15px;
  }


  .main-nav {
    margin-left: auto;

    flex-direction: row;

    gap: 2px;
  }


  .nav-item {
    width: 40px;
    height: 40px;

    min-height: 40px;

    padding: 0;

    justify-content: center;

    border-radius: 12px;
  }


  .nav-label,
  .new-post-button,
  .sidebar-user {
    display: none;
  }


  .nav-icon {
    width: 35px;
    height: 35px;
  }


  .explorer-main {
    min-height: auto;

    padding-top:
      64px;

    padding-bottom:
      18px;
  }


  .explorer-header {
    min-height: 125px;

    padding:
      25px 6px 17px;
  }


  .explorer-header h1 {
    font-size: 32px;

    letter-spacing:
      -1.5px;
  }


  .explorer-header p {
    font-size: 12px;
  }


  .search-panel {
    top: 64px;

    padding-bottom: 10px;
  }


  .search-box {
    min-height: 54px;

    border-radius: 17px;
  }


  .search-tabs {
    border-radius: 14px;
  }


  .tab-btn {
    min-height: 36px;

    font-size: 11px;
  }


  .search-user-result {
    padding:
      12px;

    border-radius:
      17px;
  }


  .search-post {
    padding:
      13px;

    border-radius:
      18px;
  }


  .btn-follow-search {
    width: 36px;
    height: 34px;

    padding: 0;
  }


  .btn-follow-search span {
    display: none;
  }


  .explore-placeholder {
    min-height:
      350px;
  }


  .bottom-nav {
    position: fixed;

    display: block;

    left: 10px;
    right: 10px;
    bottom:
      calc(10px + env(safe-area-inset-bottom));

    z-index: 200;
  }


  .bottom-nav-inner {
    height: 62px;

    display: grid;

    grid-template-columns:
      repeat(4, 1fr);

    align-items: center;

    padding:
      5px;

    border:
      1px solid rgba(255,255,255,.09);

    border-radius:
      21px;

    background:
      rgba(17,20,18,.88);

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.075),
      0 18px 45px rgba(0,0,0,.42);

    backdrop-filter:
      blur(24px);

    -webkit-backdrop-filter:
      blur(24px);
  }


  .bottom-nav-btn {
    height: 52px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 2px;

    border-radius:
      16px;

    color: var(--text-3);

    font-size: 9px;
    font-weight: 700;

    transition:
      color .2s ease,
      background .2s ease;
  }


  .bottom-nav-btn.active {
    color: var(--text);

    background:
      rgba(255,255,255,.055);
  }


  .bn-icon {
    width: 29px;
    height: 27px;

    display: grid;
    place-items: center;

    font-size: 18px;
  }


  .bottom-nav-btn.active .bn-icon {
    color: var(--green);
  }

}


@media (max-width: 420px) {

  .app-layout {
    padding-left: 9px;
    padding-right: 9px;
  }


  .brand-name {
    display: none;
  }


  .main-nav {
    gap: 0;
  }


  .explorer-header h1 {
    font-size: 29px;
  }


  .search-user-result {
    gap: 10px;
  }


  .result-avatar {
    width: 43px;
    height: 43px;
  }


  .search-user-bio {
    display: none;
  }


  .search-post {
    gap: 9px;
  }


  .post-avatar {
    width: 38px;
    height: 38px;
  }

}


/* ============================================================
   25 — REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

}
