/* === Base reset & fluid tokens (ADD at very top) === */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
img,
iframe {
  max-width: 100%;
  display: block;
}

.ytp-chrome-top-buttons {
    display:none;
}
.ytp-title-link {
    display: none;
}
.ytp-title-enable-channel-logo .ytp-title-channel {
    display: none;
}
.ytp-gradient-top {
    display:none;
}
body {
  min-height: 100dvh;
  margin: 0;
  background: #000; /* solid base; image handled in ::before */
  color: #fff;
  font-family: "Cera ProModern", Arial, sans-serif;
  overflow-x: hidden;
  overflow-y: hidden;
  position: relative; /* needed for ::before layering */
}

/* Blurred, low-opacity full-page background image */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../dashboardbg.png") center center / cover no-repeat;
  filter: blur(0.9px);
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
}

/* Fluid container + type tokens */
:root {
  --container: clamp(320px, 92vw, 1536px);
  --gap: clamp(12px, 2.2vw, 20px);
  --radius: 12px;
  --h1: clamp(28px, 5vw, 56px);
  --h2: clamp(18px, 2.2vw, 22px);
}

/* Sitewide container helper */
.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: clamp(12px, 3vw, 24px);
}

/* Top Navigation */
#top-nav {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 30px;
  z-index: 1000;
}
#top-nav .active {
  color: red; /* Highlight the selected button */
}

/* Top-Nav Dropdown Section */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
}

.dropdown-menu ul {
  list-style: none;
  margin-left: -40px;
  margin-top: 0px;
  margin-bottom: 0px;
}

.dropdown-menu li {
  color: black;
  text-transform: capitalize;
  text-align: left;
  font-size: 16px;
  font-weight: bold;
}

.dropdown-menu li:hover {
  color: rgb(255, 0, 0);
  text-transform: capitalize;
  text-align: left;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
}

.dropdown-menu li::before {
  content: "- ";
  color: white;
  position: relative;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* Right Navigation */

/* === Right nav (separate positions, no scale) === */
#right-nav1 {
  position: fixed;
  top: clamp(10px, 2vh, 18px);
  right: clamp(10px, 2vw, 18px);
  z-index: 1000;
}

#right-nav2 {
  position: fixed;
  top: clamp(9px, 2.5vh, 9px); /* slightly different spot */
  right: clamp(12px, 2.5vw, 24px);
  z-index: 1000;
}

/* Guest button (smaller than logged-in card) */
#right-nav1 a.rn-btn {
  font-size: clamp(13px, 1.6vw, 15px);
  padding: 8px 12px;
  border-radius: 10px;
  line-height: 1.1;
}

/* Logged-in card (slightly larger) */
#right-nav2 .rn-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0e0e0e;
  border: 1px solid #272727;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
#right-nav2 .rn-avatar {
  width: clamp(40px, 4vw, 48px);
  height: clamp(40px, 4vw, 48px);
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #404040;
  background: #111;
}
#right-nav2 .rn-avatar img {
  width: 110%;
  height: 100%;
  object-fit: cover;
  max-width: 220%;
  position: relative;
  left: -5%;
  scale: 128.5%;
}
#right-nav2 .rn-greeting {
  font-weight: 700;
  line-height: 1.2;
  font-size: clamp(12px, 1.5vw, 14px);
}
#right-nav2 .rn-greeting span {
  color: #ffd400;
}
#right-nav2 .rn-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
#right-nav2 .rn-actions .rn-btn {
  font-size: clamp(12px, 1.5vw, 13px);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #2f2f2f;
  text-decoration: none;
}
#right-nav2 .rn-btn-primary {
  background: gold;
  color: #000;
  border-color: gold;
  font-weight: 800;
}
#right-nav2 .rn-btn-ghost {
  background: #1a1a1a;
  color: #fff;
}

/* Tighten on very small screens */
@media (max-width: 560px) {
  #right-nav1 {
    top: 10px;
    right: 10px;
  }
  #right-nav2 {
    top: 12px;
    right: 10px;
  }
}

/* === Right-nav card pieces (clean, fluid) === */
.rn-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0e0e0e;
  border: 1px solid #272727;
  border-radius: 12px;
  padding: 10px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.rn-avatar {
  width: clamp(40px, 4vw, 48px);
  height: clamp(40px, 4vw, 48px);
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #404040;
  background: #111;
}
.rn-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rn-info {
  min-width: 0;
  margin: 0;
} /* no offsets */
.rn-greeting {
  font-weight: 700;
  line-height: 1.2;
  font-size: clamp(12px, 1.5vw, 14px);
  margin: 0;
}
.rn-greeting span {
  color: #ffd400;
}

.rn-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
} /* no scale/margin-left */

.rn-btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 8px;
  padding: 8px 12px;
  border: 1px solid #2f2f2f;
  cursor: pointer;
  transition: transform 0.05s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease;
}
.rn-btn:hover {
  transform: translateY(-1px);
}
.rn-btn-primary {
  background: gold;
  color: #000;
  border-color: gold;
  font-weight: 800;
}
.rn-btn-ghost {
  background: #1a1a1a;
  color: #fff;
}

/* Guest button sizes */
#right-nav1 a.rn-btn {
  font-size: clamp(13px, 1.6vw, 15px);
  padding: 8px 12px;
  border-radius: 10px;
  line-height: 1.1;
}

/* Logged-in action button sizes */
#right-nav2 .rn-actions .rn-btn {
  font-size: clamp(12px, 1.5vw, 13px);
  padding: 6px 10px;
  border-radius: 8px;
}

/* === Guest hero layout (vertical) === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffd400;
  color: #000;
  font-weight: 800;
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  text-decoration: none;
  transition: transform 0.12s ease, background-color 0.12s ease,
    box-shadow 0.12s ease;
}
.btn-primary:hover {
  transform: scale(1.04);
  background: #ffb300;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 3vh, 22px);
  padding-block: clamp(16px, 6vh, 40px);
  text-align: center;
}
.hero__logo {
  /* Big, responsive logo size */
  width: clamp(560px, 72vw, 1040px);
  height: auto;

  /* Don’t let it push the videos down */
  margin-top: clamp(-360px, -61.8vh, -73px);
  margin-bottom: clamp(-400px, -66.2vh, -57px);
}

/* Two videos side-by-side */
.video-row {
  width: min(100%, 1100px);
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: clamp(10px, 3vw, 24px);
  align-items: start;
  justify-items: center;
  margin-block: clamp(6px, 2vh, 12px);
}
.video {
  width: 100%;
}
.video__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  border: 2px solid #fff;
}
.video__media iframe {
  width: 100%;
  height: 100%;
}
.video__caption {
  color: #ddd;
  font-size: 14px;
  text-align: center;
  margin-top: 8px;
}

/* Explainer + CTA */
.hero__explainer {
  line-height: 1.45;
  color: #ddd;
  font-size: clamp(14px, 1.6vw, 16px);
  max-width: 113ch;
}
.hero__cta {
  margin-top: 4px;
}

/* Stack videos on narrow screens */
@media (max-width: 820px) {
  .video-row {
    grid-template-columns: 1fr;
  }
}

/* Top nav only (do NOT target right-nav links here) */
#top-nav a {
  color: #fff;
  font-size: clamp(14px, 1.8vw, 18px);
  text-transform: uppercase;
  text-decoration: none;
}

#top-nav a:hover {
  text-decoration: none;
}
#right-nav1 a:hover {
  text-decoration: underline;
}

#right-nav2 a:hover {
  text-decoration: underline;
}
#top-nav-custom {
  text-decoration: none;
}

#top-nav-custom a:hover {
  text-decoration: underline;
}

/* Dashboard logo sits in flow */
.dashboard #logo-container2 {
  position: static;
  margin: 6px 0 10px;
  z-index: 5;
}
.dashboard #logo-container2 img {
  width: clamp(160px, 18vw, 260px);
  height: auto;
  cursor: pointer;
}

#howItWorksLink {
  color: #ffd400;
  font-weight: bold;
  cursor: pointer;
  text-decoration: underline;
  font-size: 20px;
  display: inline-block;
  position: relative;
  top: 75%;
}

#howItWorksModal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
}

.hiw-modal-content {
  background: #111;
  color: #fff;
  max-width: 900px;
  margin: 5vh auto;
  padding: 20px;
  border-radius: 10px;
  position: relative;
}

/* ===================== V5 LOGGED-IN DASHBOARD ===================== */

/* Grid wrapper */
.md-panel-grid {
  --gut: 12px;
  margin: clamp(6px, 2vh, 14px) auto clamp(24px, 6vh, 48px);
  padding: 0 16px;
  display: grid;
  /* 2 columns: left square + right stacked rectangles */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 160px;
  gap: var(--gut);
}

/* Base “manga panel” */
.md-panel {
  --panel-bg: url("../images/"); /* placeholder for now */
  position: relative;
  isolation: isolate; /* create stacking context for z-index of ::before/::after */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;

  background: #0d0d0d;
  border: 2.5px solid #f5f5f5;
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    border-color 0.12s ease;
}

/* v6 dashboard panels */
.md-panel--critiques-main {
  --panel-bg: url("../images/dashboardimgc.png");
}
.md-panel--shop {
  --panel-bg: url("../images/dashboardimge.jpg");
}
.md-panel--account {
  --panel-bg: url("../images/dash1.png");
}
.md-panel--contact {
  --panel-bg: url("../images/dash2.png");
}
.md-panel--logout {
  --panel-bg: url("../images/dashboardimgf.png");
}

/* Background image layer */
.md-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--panel-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.35; /* was .22 — make it visible */
  filter: grayscale(100%) contrast(1.05);
  transform: scale(1.03);
  pointer-events: none;
}

/* Subtle scrim for legibility */
.md-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.45)
  );
  pointer-events: none;
}

/* Centered content */
.md-panel__content {
  position: relative;
  z-index: 2;
  padding: 10px 14px;
}
.md-panel h3 {
  margin: 0 0 6px;
  font-size: clamp(32px, 4.2vw, 60px); /* bigger headers */
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}
.md-panel .md-desc {
  margin: 0;
  color: #ffd400; /* yellow desc */
  font-weight: 800;
  font-size: clamp(16px, 1.7vw, 24px); /* bigger desc */
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* Meta (e.g., XP) */
.md-meta {
  position: absolute;
  left: 12px;
  bottom: 10px;
  font-size: 12px;
  color: #ccc;
  z-index: 3;
}

/* Small panel icons (bottom-right) */
.md-icons {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 6px;
  z-index: 3;
}
.md-icon {
  font-size: 18px; /* emoji placeholders for now */
  line-height: 1;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.5));
}

/* Layout map (desktop ≥ 900px) */
/* 2 columns, 4 rows: left = big square, right = 4 stacked rectangles */
@media (min-width: 900px) {
  .md-panel--critiques-main {
    grid-column: 1 / 2;
    grid-row: 1 / span 4; /* tall main square */
  }
  .md-panel--shop {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }
  .md-panel--account {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }
  .md-panel--contact {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }
  .md-panel--logout {
    grid-column: 2 / 3;
    grid-row: 4 / 5;
  }
}

/* Hover zoom */
.md-panel {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
  will-change: transform;
}
.md-panel:hover {
  transform: scale(1.035);
  z-index: 5;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  border-color: #fff;
}
.md-panel:hover::before {
  transform: scale(1.08);
  opacity: 0.48;
}
.md-panel:active {
  transform: scale(1.02);
}
.md-panel:focus-visible {
  outline: 3px solid #ffd400;
  outline-offset: 2px;
}

/* Red status labels (bottom-right) */
.md-status {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 3;
  font-weight: 900;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.md-status--red {
  color: #ff4747;
}

/* Tablet & Mobile: stack everything in one column */
@media (max-width: 900px) {
  .md-panel-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 160px;
    margin: 60px auto 40px;
  }

  .md-panel--critiques-main,
  .md-panel--shop,
  .md-panel--account,
  .md-panel--contact,
  .md-panel--logout {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }
}

#footer-nav {
  display: flex;
  justify-content: center;
  z-index: 2;
  position: relative;
  left: -42%;
  overflow-y: hidden;
  top: -0.5%;
}

#footer-nav a {
  color: black;
  font-size: 18px;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 2;
  padding-top: 10px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 1px;
}

#footer-nav a:hover {
  text-decoration: underline;
}

#footer-socials {
  display: block;
  position: relative;
}

.social-icon {
  width: 32px;
  height: 32px;
  border: 2px solid white;
  border-radius: 70%;
  padding: 6px;
  box-sizing: content-box;
  transition: transform 0.2s ease;
  position: relative;
}

.social-icon:hover {
  transform: scale(1.1);
}

#arrow-button {
  font-size: 21px;
  color: #333;
  left: -5%;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 100;
}

#arrow-button:hover {
  color: #ff4500;
}

/* Email field with inline arrow */
.footer-signup-form .input-with-button {
  position: relative;
  width: clamp(260px, 28vw, 320px);
}

.footer-signup-form #email-field {
  width: 100%;
  padding-right: 44px; /* space for the arrow */
  height: 32px; /* keep whatever height you prefer */
  line-height: 32px;
}

/* Arrow inside the input (reCAPTCHA trigger) */
#signup-arrow.g-recaptcha {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: #000; /* match your light footer; change if needed */
  padding: 0;
}

/* Optional hover focus polish */
#signup-arrow.g-recaptcha:hover {
  filter: brightness(0.85);
}
.footer-signup-form #email-field:focus {
  outline: 2px solid #ffd400;
  outline-offset: 1px;
}

/* ===================== DASHBOARD (desktop/laptop) FIXES ===================== */
/* Keep dashboard content inside your container and remove drift */
.dashboard .dash {
  padding-block: clamp(12px, 3vh, 28px);
}

/* Dashboard logo sits in flow */
.dashboard #logo-container2 {
  position: fixed;
  top: clamp(-140px, 2.5vh, -117px);
  left: clamp(-37px, 2.5vw, -38px);
  z-index: 5;
}
.dashboard #logo-container2 img {
  width: clamp(220px, 20vw, 340px);
  height: auto;
  cursor: pointer;
}

/* Panels grid: wide & centered */
.dashboard .md-panel-grid {
  width: min(110%, clamp(960px, 100vw, 1752px));
  margin: clamp(45px, 2vh, 26px) clamp(-71px, 6vh, -56px);
  grid-auto-rows: 200px;
  scale: 0.9;
}
/* Wider container just for the dashboard pages */
.dashboard .container {
  width: min(100%, clamp(320px, 94vw, 1680px));
}

/* Footer bar (nav • signup • socials) */
.site-footer {
  background: #f2f2f2;
  margin-top: clamp(-128px, 5vh, -54px);
  height: clamp(49px, 1vh, 113px);
}
.site-footer .footer__inner {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px) 1fr;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  padding: 12px clamp(12px, 3vw, 24px);
}

/* Left column: nav */
.dashboard #footer-nav {
  position: static;
  display: flex;
  justify-content: left;
  margin-top: -12px;
}
.dashboard #footer-nav a {
  color: #000;
}

/* Center column: signup */
.footer__signup {
  justify-self: center;
  text-align: center;
}
.footer-signup-form {
  display: flex;
  align-items: center;
  gap: 8px;
}
#email-field {
  position: static;
  width: clamp(260px, 28vw, 288px);
  font-size: 10px;
  border: 2px solid #998b8b;
  border-radius: 5px;
  box-sizing: border-box;
}
#signup-message {
  font-size: 11px;
  font-weight: 500;
  color: black;
}

/* Right column: socials */
.dashboard #footer-socials {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: -56px;
}
.dashboard .social-icon {
  width: 32px;
  height: 32px;
}

/* Kill the old fixed-height bar strip */
#footer-bar {
  display: none !important;
}

/* Keep things tidy on very wide monitors */
@media (min-width: 1440px) {
  .dashboard .footer__inner {
    padding-inline: 0;
  }
}

/* === Account dropdown (inside #right-nav2) === */
.rn-menu[hidden] {
  display: none !important;
}
.rn-menu {
  position: absolute; /* positioned relative to #right-nav2 (fixed) */
  top: calc(100% + 8px); /* sits just under the rn-card */
  right: 0;
  background: #0e0e0e;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  min-width: 180px;
  padding: 8px;
  z-index: 1200;
}
.rn-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
}
.rn-menu a:hover {
  background: #1b1b1b;
}
.rn-menu a.danger {
  color: #ff6b6b;
}

/* === Mobile: avatar-only; dropdown on tap (covers 320px and up phones) === */
@media (max-width: 560px) {
  #right-nav2 .rn-info {
    display: none;
  } /* hide greeting + buttons */
  #right-nav2 .rn-card {
    /* make card minimal */
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }
  #rn2-avatarBtn {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #404040;
    border-radius: 50%;
    background: #111;
    cursor: pointer;
  }

  /* nudge the dropdown spacing on tiny screens */
  #right-nav2 .rn-menu {
    top: calc(44px + 8px);
    right: 0;
  }
}

/*--------------------------------------------------------------------------------------MOBILE V5-------------------------------------------------------------------------------------- */

@media (max-width: 359.98px) {
  .hero__logo {
    width: clamp(312px, 72vw, 560px);
    margin-top: -88px;
    margin-bottom: -118px;
  }

  .dashboard #logo-container2 {
    position: relative;
    left: 0;
  }

  .dashboard #logo-container2 img {
    width: clamp(345px, 20vw, 398px);
  }

  .dashboard .md-panel-grid {
    grid-auto-rows: 160px;
    margin: -0.8rem;
    margin-top: -16rem;
  }

  #right-nav2 {
    top: clamp(9px, 2.5vh, 9px);
    right: clamp(8px, 2.5vw, 10px);
  }

  .site-footer {
    background: none;
  }

  .dashboard #footer-nav a {
    color: white;
  }

  .dashboard #footer-nav {
    position: relative;
    overflow-y: visible;
    left: 1%;
    top: 4rem;
    width: 111%;
  }

  #footer-socials {
    right: 26%;
    scale: 138%;
  }

  .dashboard #footer-socials {
    margin-top: 1rem;
    margin-right: -3rem;
  }

  #signup-form {
    margin-right: 36.5rem;
    margin-top: 20px;
    margin-left: 0;
  }

  #signup-message {
    color: yellow;
    position: relative;
  }

  .footer-signup-form #email-field {
    height: 21px;
  }

  #right-nav2 .rn-avatar img {
    width: 100%;
    left: 0;
    scale: none;
  }
}

/* Android common 360dp family (e.g., 360×800, 360×780) */
@media (min-width: 360px) and (max-width: 374.98px) {
  .hero__logo {
    width: clamp(312px, 72vw, 560px);
    margin-top: -88px;
    margin-bottom: -118px;
  }

  .dashboard #logo-container2 {
    position: relative;
    left: 0;
  }

  .dashboard #logo-container2 img {
    width: clamp(345px, 20vw, 398px);
  }

  .dashboard .md-panel-grid {
    grid-auto-rows: 160px;
    margin: -0.8rem;
    margin-top: -16rem;
  }

  #right-nav2 {
    top: clamp(9px, 2.5vh, 9px);
    right: clamp(8px, 2.5vw, 10px);
  }

  .site-footer {
    background: none;
  }

  .dashboard #footer-nav a {
    color: white;
  }

  .dashboard #footer-nav {
    position: relative;
    overflow-y: visible;
    left: 9%;
    top: 4rem;
    width: 111%;
  }

  .dashboard #footer-socials {
    margin-top: 0rem;
    margin-right: 0rem;
  }

  #signup-form {
    margin-right: 33.5rem;
    margin-top: 20px;
    margin-left: 0;
  }

  #signup-message {
    color: yellow;
    position: relative;
  }

  .footer-signup-form #email-field {
    height: 21px;
  }

  #right-nav2 .rn-avatar img {
    width: 100%;
    left: 0;
    scale: none;
  }
}

/* iPhone 6/7/8/SE2 fam (375×667) + iPhone X/11 Pro (375×812) */
@media (min-width: 375px) and (max-width: 389.98px) {
  .hero__logo {
    width: clamp(312px, 72vw, 560px);
    margin-top: -88px;
    margin-bottom: -118px;
  }

  .dashboard #logo-container2 {
    position: relative;
    left: 0;
  }

  .dashboard #logo-container2 img {
    width: clamp(345px, 20vw, 398px);
  }

  .dashboard .md-panel-grid {
    grid-auto-rows: 160px;
    margin: -0.8rem;
    margin-top: -16rem;
  }

  #right-nav2 {
    top: clamp(9px, 2.5vh, 9px);
    right: clamp(8px, 2.5vw, 10px);
  }

  .site-footer {
    background: none;
  }

  .dashboard #footer-nav a {
    color: white;
  }

  .dashboard #footer-nav {
    position: relative;
    overflow-y: visible;
    left: 13%;
    top: 4rem;
    width: 111%;
  }

  .dashboard #footer-socials {
    margin-top: 0rem;
    margin-right: 0.5rem;
  }

  #signup-form {
    margin-right: 32.5rem;
    margin-top: 20px;
    margin-left: 0;
  }

  #signup-message {
    color: yellow;
    position: relative;
  }

  .footer-signup-form #email-field {
    height: 21px;
  }

  #right-nav2 .rn-avatar img {
    width: 100%;
    left: 0;
    scale: none;
  }
}

/* iPhone 12/13/14/15 (390×844) */
@media (min-width: 390px) and (max-width: 392.98px) {
  .hero__logo {
    width: clamp(312px, 72vw, 560px);
    margin-top: -88px;
    margin-bottom: -118px;
  }

  .dashboard #logo-container2 {
    position: relative;
    left: 0;
  }

  .dashboard #logo-container2 img {
    width: clamp(345px, 20vw, 398px);
  }

  .dashboard .md-panel-grid {
    grid-auto-rows: 160px;
    margin: -0.8rem;
    margin-top: -16rem;
  }

  #right-nav2 {
    top: clamp(9px, 2.5vh, 9px);
    right: clamp(8px, 5.5vw, 170px);
  }

  .site-footer {
    background: none;
  }

  .dashboard #footer-nav a {
    color: white;
  }

  .dashboard #footer-nav {
    position: relative;
    overflow-y: visible;
    left: 16%;
    top: 4rem;
    width: 111%;
  }

  .dashboard #footer-socials {
    margin-top: 0rem;
    margin-right: 0rem;
  }

  #signup-form {
    margin-right: 31.5rem;
    margin-top: 20px;
    margin-left: 0;
  }

  #signup-message {
    color: yellow;
    position: relative;
  }

  .footer-signup-form #email-field {
    height: 21px;
  }

  #right-nav2 .rn-avatar img {
    width: 100%;
    left: 0;
    scale: none;
  }
}
/* iPhone 14/15 Pro (393×852) + many tall Androids (412×915 fits next band) */
@media (min-width: 393px) and (max-width: 413.98px) {
  .hero__logo {
    width: clamp(312px, 72vw, 560px);
    margin-top: -88px;
    margin-bottom: -118px;
  }

  .dashboard #logo-container2 {
    position: relative;
    left: 0;
  }

  .dashboard #logo-container2 img {
    width: clamp(345px, 20vw, 398px);
  }

  .dashboard .md-panel-grid {
    grid-auto-rows: 160px;
    margin: -0.8rem;
    margin-top: -16rem;
  }

  #right-nav2 {
    top: clamp(9px, 2.5vh, 9px);
    right: clamp(8px, 2.5vw, 10px);
  }

  .site-footer {
    background: none;
  }

  .dashboard #footer-nav a {
    color: white;
  }

  .dashboard #footer-nav {
    position: relative;
    overflow-y: visible;
    left: 16%;
    top: 4rem;
    width: 111%;
  }

  .dashboard #footer-socials {
    margin-top: 0rem;
    margin-right: 0rem;
  }

  #signup-form {
    margin-right: 31.5rem;
    margin-top: 20px;
    margin-left: 0;
  }

  #signup-message {
    color: yellow;
    position: relative;
  }

  .footer-signup-form #email-field {
    height: 21px;
  }

  #right-nav2 .rn-avatar img {
    width: 100%;
    left: 0;
    scale: none;
  }
}
/* iPhone XR/11 (414×896) + many Android 414dp devices */
@media (min-width: 414px) and (max-width: 427.98px) {
  .hero__logo {
    width: clamp(312px, 72vw, 560px);
    margin-top: -88px;
    margin-bottom: -118px;
  }

  .dashboard #logo-container2 {
    position: relative;
    left: 0;
  }

  .dashboard #logo-container2 img {
    width: clamp(345px, 20vw, 398px);
  }

  .dashboard .md-panel-grid {
    grid-auto-rows: 160px;
    margin: -0.8rem;
    margin-top: -16rem;
  }

  #right-nav2 {
    top: clamp(9px, 2.5vh, 9px);
    right: clamp(8px, 2.5vw, 10px);
  }

  .site-footer {
    background: none;
  }

  .dashboard #footer-nav a {
    color: white;
  }

  .dashboard #footer-nav {
    position: relative;
    overflow-y: visible;
    left: 16%;
    top: 4rem;
    width: 111%;
  }

  .dashboard #footer-socials {
    margin-top: 0rem;
    margin-right: 0rem;
  }

  #signup-form {
    margin-right: 31.5rem;
    margin-top: 20px;
    margin-left: 0;
  }

  #signup-message {
    color: yellow;
    position: relative;
  }

  .footer-signup-form #email-field {
    height: 21px;
  }

  #right-nav2 .rn-avatar img {
    width: 100%;
    left: 0;
    scale: none;
  }
}
/* iPhone 12/13/14/15 Pro Max & Plus (428×926) */
@media (min-width: 428px) and (max-width: 479.98px) {
  .hero__logo {
    width: clamp(312px, 72vw, 560px);
    margin-top: -88px;
    margin-bottom: -118px;
  }

  .dashboard #logo-container2 {
    position: relative;
    left: 11px;
  }

  .dashboard #logo-container2 img {
    width: clamp(345px, 20vw, 398px);
  }

  .dashboard .md-panel-grid {
    grid-auto-rows: 160px;
    margin: -0.8rem;
    margin-top: -16rem;
  }

  #right-nav2 {
    top: clamp(9px, 2.5vh, 9px);
    right: clamp(8px, 2.5vw, 10px);
  }

  .site-footer {
    background: none;
  }

  .dashboard #footer-nav a {
    color: white;
  }

  .dashboard #footer-nav {
    position: relative;
    overflow-y: visible;
    left: 16%;
    top: 4rem;
    width: 111%;
  }

  .dashboard #footer-socials {
    margin-top: 0rem;
    margin-right: 0rem;
  }

  #signup-form {
    margin-right: 31.5rem;
    margin-top: 20px;
    margin-left: 0;
  }

  #signup-message {
    color: yellow;
    position: relative;
  }

  .footer-signup-form #email-field {
    height: 21px;
  }

  #right-nav2 .rn-avatar img {
    width: 100%;
    left: 0;
    scale: none;
  }
}
