:root {
  --bg:#071014;
  --text:#f5f5f3;
  --muted:#8d9499;
  --red:#e62626;
  --green:#35df7d;
  --subscribe:#267e74;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  background:var(--bg);
}

body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Arial,Helvetica,sans-serif;
}

body.modal-open {
  overflow:hidden;
}

/* ========================================
   HERO
   ======================================== */

.hero {
  position:relative;
  width:calc(100% - 48px);
  max-width:1000px;
  height:40svh;
  min-height:340px;
  max-height:460px;
  margin:12px auto 0;

  background-image:
    linear-gradient(
      180deg,
      rgba(5,8,10,.08) 0%,
      rgba(5,8,10,.18) 55%,
      rgba(5,8,10,.70) 100%
    ),
    url("images/hero/hero-main.jpg");

  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav {
  position:relative;
  top:0;
  left:0;
  width:calc(100% - 48px);
  max-width:1000px;
  margin:0 auto;
  padding:22px 0;

  display:grid;
  grid-template-columns:1fr auto auto;
  gap:28px;
  align-items:center;

  background:var(--bg);
  border-bottom:1px solid #292929;
  z-index:20;
}

.brand {
  font-size:20px;
  font-weight:700;
  letter-spacing:.24em;
  white-space:nowrap;
}

.brand-logo {
  display:block;
  width:210px;
  height:auto;
}

.brand-main {
  line-height:1;
}

.brand-tagline {
  margin-top:4px;
  font-size:9px;
  font-weight:500;
  letter-spacing:.52em;
  line-height:1;
}

.nav-links {
  display:flex;
  gap:23px;
  align-self:end;
  align-items:center;
  padding-bottom:1px;
}

.nav-links a {
  color:#d5d6d6;
  text-decoration:none;
  font-size:14px;
}

.nav-separator {
  display:block;
  width:1px;
  height:12px;
  flex:0 0 1px;
  background:#555;
}

@media (max-width:700px) and (orientation:portrait) {
  .nav-separator {
    margin-left:1px;
    margin-right:-1px;
  }
}

/* ========================================
   MENU
   ======================================== */

.menu-wrap {
  position:relative;
  transform:translateY(9px);
}

.menu {
  width:27px;
  height:20px;
  padding:0;
  border:0;
  background:none;
  cursor:pointer;

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

.menu span {
  height:2px;
  width:27px;
  background:#fff;
  display:block;
  transition:transform .2s ease, opacity .2s ease;
}

.menu.open span:nth-child(1) {
  transform:translateY(9px) rotate(45deg);
}

.menu.open span:nth-child(2) {
  opacity:0;
}

.menu.open span:nth-child(3) {
  transform:translateY(-9px) rotate(-45deg);
}

/* ========================================
   DROPDOWN
   ======================================== */

.dropdown {
  position:absolute;
  top:38px;
  right:0;
  width:190px;
  padding:8px;

  background:#111719;
  border:1px solid #2b3337;
  border-radius:12px;

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

  opacity:0;
  visibility:hidden;
  transform:translateY(-8px);

  transition:
    opacity .18s ease,
    transform .18s ease,
    visibility .18s ease;

  z-index:50;
}

.dropdown.open {
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.dropdown a {
  display:block;
  padding:13px 14px;
  color:#f2f2f2;
  text-decoration:none;
  font-size:15px;
  border-radius:8px;
}

.dropdown a:hover {
  background:#20282c;
}

/* ========================================
   HERO TEXT
   ======================================== */

.hero-copy {
  position:absolute;
  left:0;
  right:0;
  bottom:20px;
}

.eyebrow {
  position:relative;
  margin-bottom:8px;
  padding-left:22px;
  font-size:15px;
  letter-spacing:.17em;
  line-height:1.2;
}

.live-dot {
  position:absolute;
  left:0;
  top:1px;
  width:11px;
  height:11px;
  border-radius:50%;
  background:var(--red);
}

.hero h1 {
  margin:0 0 25px;
  padding-left:22px;
  font-size:15px;
  line-height:1.2;
  font-weight:700;
}

.watch-button {
  display:inline-flex;
  gap:20px;
  align-items:center;

  background:#fff;
  color:#0b0d0e;
  text-decoration:none;
  font-weight:700;
  font-size:15px;

  padding:10px 16px;
  border-radius:999px;
}

/* ========================================
   LIVE SECTION
   ======================================== */

.live-section {
  width:calc(100% - 48px);
  max-width:1000px;
  margin:0 auto;
  padding:28px 0 40px;
}

.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:20px;
  margin-bottom:21px;
}

.section-heading h2 {
  margin:0;
  font-size:20px;
}

.section-heading p {
  margin:0;
  color:var(--muted);
  font-size:16px;
  white-space:nowrap;
}

/* ========================================
   CAMERA
   ======================================== */

.camera {
  margin-bottom:48px;
}

.player-wrap {
  position:relative;
  width:100%;
}

.player-frame {
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  background:#000;
  border:1px solid #20282c;
  border-radius:32px;
  overflow:hidden;
}

.player-frame iframe {
  display:block;
  width:100%;
  height:100%;
  border:0;
}

/* ========================================
   SNAPSHOT
   ======================================== */

.snapshot-view {
  position:absolute;
  inset:0;
  cursor:pointer;
  background:#000;
}

.snapshot-view img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.play-button {
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);

  width:74px;
  height:74px;
  padding:0;

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

  border:1px solid rgba(255,255,255,.72);
  border-radius:50%;

  background:rgba(5,12,15,.58);
  box-shadow:0 4px 22px rgba(0,0,0,.35);

  pointer-events:none;
}

.play-button::after {
  content:"";
  display:block;

  width:0;
  height:0;
  margin-left:6px;

  border-top:12px solid transparent;
  border-bottom:12px solid transparent;
  border-left:19px solid #fff;
}

/* ========================================
   LIVE PLAYER
   ======================================== */

.live-player {
  position:absolute;
  inset:0;
  display:none;
  background:#000;
}

.live-player.active {
  display:block;
}

.live-player iframe {
  display:block;
  width:100%;
  height:100%;
  border:0;
}

/* ========================================
   CLOSE PLAYER
   ======================================== */

.close-player {
  position:absolute;
  top:14px;
  right:14px;
  z-index:20;

  width:38px;
  height:38px;
  padding:0;

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

  border:1px solid rgba(255,255,255,.45);
  border-radius:50%;

  background:rgba(5,12,15,.78);
  color:#fff;

  font-family:Arial,Helvetica,sans-serif;
  font-size:25px;
  font-weight:300;
  line-height:1;

  cursor:pointer;
}

.close-player:hover {
  background:rgba(5,12,15,.95);
}

/* ========================================
   ONLINE
   ======================================== */

.camera-status {
  position:absolute;
  right:25px;
  bottom:22px;

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

  padding:7px 12px;
  border-radius:14px;

  background:rgba(4,13,15,.78);

  color:var(--green);
  font-size:22px;

  z-index:5;
}

.camera-status .dot {
  width:15px;
  height:15px;
  border-radius:50%;
  background:var(--green);
}

/* ========================================
   NAME + STATISTICS
   ======================================== */

.camera-main-info {
  display:grid;
  grid-template-columns:80px minmax(0,1fr);
  align-items:center;
  column-gap:22px;
  padding:28px 4px 0;
}

.camera-identity {
  min-width:0;
  width:100%;
  display:block;
}

.host-avatar-link {
	  display:block;
  width:60px;
  height:60px;
  text-decoration:none;
}

.host-avatar {
  width:60px;
  height:60px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#26313a;
  color:#fff;
  font-size:30px;
  font-weight:700;
  overflow:hidden;
}

.camera-name-link {
  color:inherit;
  text-decoration:none;
}

.camera-name-link:hover .camera-name,
.camera-name-link:hover .camera-location,
.camera-name-link:hover .camera-description {
  text-decoration:none;
}

.camera-name {
  margin:0 0 5px;
  font-size:24px;
  line-height:1.15;
  font-weight:700;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.camera-location {
  margin:0 0 5px;
  color:#c1c5c6;
  font-size:18px;
  line-height:1.15;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.camera-description {
  margin:0;
  min-width:0;
  color:var(--muted);
  font-size:16px;
  line-height:1.3;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* ========================================
   SUBSCRIBE + PRICE
   ======================================== */

.camera-action-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:27px 4px 0;
}

.subscribe-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;

  min-width:132px;
  height:38px;
  padding:0 15px;

  border:0;
  border-radius:10px;

  background:var(--subscribe);
  color:#fff;

  font-family:inherit;
  font-size:16px;
  font-weight:700;

  cursor:pointer;
}

.camera-price {
  color:#eb4b4b;
  font-size:22px;
  line-height:1;
  font-weight:400;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
	  margin-top:44px;
  border-top:1px solid #2b3337;
  padding:34px 0 6px;
}

.footer-main {
  display:grid;
  grid-template-columns:auto auto;
  align-items:center;
  justify-content:center;
  gap:330px;
  padding-bottom:30px;
}

.footer-brand {
	  white-space:nowrap;
}

.footer-actions {
	  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:60px;
}

.footer-logo {
	  font-size:18px;
  font-weight:700;
  letter-spacing:.24em;
  line-height:1;
}

.footer-tagline {
  margin-top:5px;
  font-size:8px;
  font-weight:500;
  letter-spacing:.55em;
  line-height:1;
  color:#8c9499;
}

.footer-links {
	  display:flex;
  justify-content:center;
  gap:24px;
}

.footer-links a {
	  color:#8c9499;
  text-decoration:none;
  font-size:13px;
}

.footer-links a:hover {
	  color:#fff;
}

.footer-social {
	  display:flex;
  align-items:center;
  gap:14px;
}

.social-link {
	  width:30px;
  height:30px;
  border:1px solid #394247;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#d5d6d6;
  text-decoration:none;
  font-size:13px;
}

.social-link:hover {
	  border-color:#8c9499;
  color:#fff;
}

.social-youtube {
	  font-size:11px;
  transform:translateX(1px);
}

.social-x {
	  font-size:13px;
}

.social-telegram {
	  font-size:12px;
  transform:translateX(-1px);
}

.footer-bottom {
  border-top:1px solid #20272b;
  padding-top:18px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  color:#737c81;
  font-size:10px;
  letter-spacing:.18em;
  text-align:center;
}

.footer-slogan {
  font-size:15px;
  letter-spacing:.26em;
  text-align:center;
  color:#8c9499;
  margin-bottom:18px;
}

.footer-project {
  font-size:11px;
  letter-spacing:.16em;
  white-space:nowrap;
  font-weight:700;
}

/* ========================================
   MOBILE
   ======================================== */

@media(max-width:700px) {

  .nav-links,
  .menu-wrap {
    position:relative;
    left:10px;
  }

  .hero {
   width:calc(100% - 40px);

  }

  .nav {
    padding-left:0px;
    padding-right:20px;
    gap:14px;
  }
  .nav-links {
    gap:15px;
    position:relative;
    top:12px;
  }
  .nav-links a {
    font-size:12px;
  }

  .hero-copy {
    left:20px;
    right:20px;
  }

  .live-section {
    width:calc(100% - 40px);
  }

  .section-heading {
    gap:10px;
  }

  .section-heading p {
    font-size:12px;
    white-space:nowrap;
  }

  .player-frame {
    border-radius:20px;
  }

  .play-button {
    width:58px;
    height:58px;
  }

  .play-button::after {
    margin-left:5px;
    border-top-width:9px;
    border-bottom-width:9px;
    border-left-width:15px;
  }

  .close-player {
    top:10px;
    right:10px;
    width:34px;
    height:34px;
    font-size:22px;
  }

  .camera-status {
    right:13px;
    bottom:12px;
    font-size:14px;
  }

  .camera-status .dot {
    width:10px;
    height:10px;
  }

.camera-main-info {
  grid-template-columns:45px minmax(0,1fr);
  align-items:center;
  gap:10px;
  padding-top:18px;
}

.host-avatar-link {
  width:45px;
  height:45px;
  transform:translateY(0px);
}

.host-avatar {
  width:45px;
  height:45px;
  font-size:24px;
}

.camera-identity {
	  min-width:0;
      margin-left:5px;
}

.camera-name {
  font-size:14px;
  margin-bottom:3px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.camera-location {
  margin-bottom:3px;
  font-size:12px;
  line-height:1.05;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.camera-description {
  font-size:11px;
  line-height:1.05;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

  .camera-action-row {
    padding-top:22px;
  }

  .subscribe-button {
    min-width:115px;
    height:36px;
    font-size:15px;
  }

  .camera-price {
    font-size:18px;
  }

  .eyebrow {
    font-size:12px;
  }

  .hero h1 {
    font-size:12px;
  }

  .dropdown {
    width:180px;
  }

  .description-modal {
    padding:18px;
  }

  .description-modal-card {
    max-width:none;
    padding:25px 22px 25px;
    border-radius:18px;
  }

  .description-modal-close {
    top:12px;
    right:12px;
    width:33px;
    height:33px;
    font-size:22px;
  }

  .description-modal-title {
    padding-right:42px;
    font-size:20px;
  }

  .description-modal-text {
    margin-top:17px;
    font-size:16px;
    line-height:1.5;
  }
  .footer-main {
	grid-template-columns:1fr;
    justify-items:center;
    gap:22px;
  }

  .footer-links {
	flex-wrap:wrap;
    justify-content:center;
    gap:12px 10px;
  }

  .footer-social {
    justify-content:center;
  }
 
  .footer-brand {
    display:none;
  }
 
.footer-slogan {
  font-size:10px;
  letter-spacing:.16em;
  white-space:nowrap;
}

.brand-logo {
  width:185px;
  position:relative;
  top:4px;
}


}

/* ========================================
   MOBILE LANDSCAPE
   ======================================== */

@media (max-width:950px) and (orientation:landscape) {

  .footer-main {
	  gap:60px;
  }

  .hero-copy {
   left:20px;
   right:20px;
  }
	
  .nav-links {
   position:relative;
   top:5px;
  }

  .brand-tagline {
	  font-size:10px;
   letter-spacing:.51em;
  }

  .camera-main-info {
	grid-template-columns:50px minmax(0,1fr);
    gap:20px;
  }

  .host-avatar-link {
	    width:50px;
    height:50px;
  }

  .host-avatar {
	    width:50px;
    height:50px;
  }

  .stat-row {
	    gap:2px;
  }
  .menu-wrap {
    transform:translateY(1px);
  }

}

/* ========================================
   DESKTOP
   ======================================== */

 @media(min-width:701px) {

  .nav {
    grid-template-columns:auto auto 1fr auto;
  }

  .brand-tagline {
	font-size:10px;
    letter-spacing:.52em;
  }

  .hero {
    height:640px;
    max-height:72vh;
  }

  .brand {
    font-size:22px;
  }

  .nav-links a {
    font-size:17px;
  }

  .nav-links {
    gap:34px;
  }
  .camera-main-info {
	    grid-template-columns:72px minmax(0,1fr);
  }

  .host-avatar-link {
	    width:72px;
    height:72px;
    transform:translateY(-3px);
  }

  .host-avatar {
	    width:72px;
    height:72px;
  }
 
}

 @media (max-width:950px) and (orientation:landscape) {
  .menu-wrap {
    transform:translateY(12px);
  }
}
/* ========================================
   HOST PAGE
   ======================================== */

.host-page {
  min-height:100vh;
}

.host-topbar {
  width:calc(100% - 48px);
  max-width:1000px;
  height:82px;
  margin:0 auto;

  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #292929;

}

/* Host page only: close button on the right */
.host-page .host-topbar {
  justify-content:flex-end;
}

.host-logo {
  color:var(--text);
  font-size:22px;
  font-weight:700;
  letter-spacing:.24em;
  text-decoration:none;
  white-space:nowrap;
}

.host-logo:hover {
  opacity:.78;
}

.host-label {
  color:var(--muted);
  font-size:13px;
  letter-spacing:.12em;
  text-decoration:none;
}

.host-main {
  width:calc(100% - 48px);
  max-width:1000px;
  margin:38px auto 60px;
}

.host-heading {
  margin:0 0 8px;
  font-size:20px;
  line-height:1.2;
  font-weight:700;
}

.host-subtitle {
  margin:0 0 30px;
  color:var(--muted);
  font-size:15px;
}

.host-camera-card {
  width:100%;
}

.host-camera-info {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  padding:28px 4px 0;
}

.host-camera-name {
  margin:0 0 10px;
  font-size:30px;
  line-height:1.15;
  font-weight:700;
}

.host-camera-type {
  margin:0;
  color:var(--muted);
  font-size:20px;
  line-height:1.15;
}

.host-online {
  display:flex;
  align-items:center;
  gap:10px;

  padding:7px 12px;
  border-radius:14px;

  background:rgba(4,13,15,.78);

  color:var(--green);
  font-size:18px;
  white-space:nowrap;
}

.host-online-dot {
  width:12px;
  height:12px;
  border-radius:50%;
  background:var(--green);
}

.host-actions {
  display:flex;
  gap:12px;
  padding:27px 4px 0;
}

.host-button {
  min-height:38px;
  padding:0 18px;

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

  border:0;
  border-radius:10px;

  font-family:inherit;
  font-size:16px;
  font-weight:700;
  text-decoration:none;

  cursor:pointer;
}

.host-watch-button {
  background:#f2f2f2;
  color:#111;
}

.host-access-button {
  background:#20282c;
  color:#f2f2f2;
}

.host-watch-button:hover,
.host-access-button:hover {
  opacity:.85;
}


/* ========================================
   HOST MOBILE
   ======================================== */

@media(max-width:700px) {

  .host-topbar {
    width:calc(100% - 40px);
    height:72px;
  }

  .host-logo {
    font-size:20px;
  }

  .host-main {
    width:calc(100% - 40px);
    margin-top:12px;
  }

  .host-heading {
    font-size:20px;
  }

  .host-subtitle {
    margin-bottom:24px;
    font-size:14px;
  }

  .host-camera-info {
    padding-top:18px;
    gap:15px;
  }

 .camera-name .camera-name {
  font-size:15px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;

 }
  .host-camera-type {
    font-size:16px;
  }

  .host-online {
    gap:7px;
    padding:6px 10px;
    font-size:14px;
  }

  .host-online-dot {
    width:10px;
    height:10px;
  }

  .host-actions {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    padding-top:22px;
  }

  .host-button {
    width:100%;
    min-height:38px;
    padding:0 12px;
    font-size:15px;
  }

.host-heading-row {
  display:flex;
  flex-direction:column;
}

.host-heading-actions {
  order:-1;
}

.host-heading-actions {
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-bottom:20px;
}

.host-heading-actions .host-button {
  width:auto;
  min-height:38px;
  padding:0 14px;
  white-space:nowrap;
}
.host-camera-name {
  font-size:20px;
}

}
/* ========================================
   CAMERA OVERLAY ACTIONS
   ======================================== */

.camera-overlay-actions {
  position:absolute;
  left:25px;
  bottom:22px;
  z-index:6;

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

  padding:7px 10px;

  background:rgba(4,13,15,.78);
  border-radius:14px;
}

.camera-overlay-button {
  width:28px;
  height:28px;
  padding:2px;

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

  border:0;
  background:transparent;
  color:#fff;

  cursor:pointer;
}

/* ========================================
   CAMERA OVERLAY ACTIONS
   ======================================== */

.camera-overlay-actions {
  position:absolute;
  left:25px;
  bottom:22px;
  z-index:10;

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

  padding:7px 10px;

  background:rgba(4,13,15,.78);
  border-radius:14px;
}

.camera-overlay-button {
  appearance:none;
  -webkit-appearance:none;

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

  width:28px;
  height:28px;
  margin:0;
  padding:2px;

  border:0;
  border-radius:0;

  background:transparent;
  color:#fff;

  box-shadow:none;
  outline:none;

  cursor:pointer;
}

.camera-overlay-button svg {
  display:block;

  width:24px;
  height:24px;

  fill:none;
  stroke:#fff;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;

  pointer-events:none;
}

.camera-overlay-button:hover {
  opacity:.72;
}


/* ========================================
   CAMERA OVERLAY ACTIONS вЂ” MOBILE
   ======================================== */

@media(max-width:700px) {

  .camera-overlay-actions {
    left:13px;
    bottom:12px;

    gap:7px;
    padding:5px 8px;

    border-radius:12px;
  }

  .camera-overlay-button {
    width:23px;
    height:23px;
    padding:1px;
  }

  .camera-overlay-button svg {
    width:20px;
    height:20px;
  }

}
/* ========================================
   HOST PROFILE
   ======================================== */

.host-profile-heading {
  margin-bottom:30px;
}

.host-profile-heading h1 {
  margin:0 0 8px;
  font-size:28px;
  font-weight:600;
}

.host-profile-heading p {
  margin:0;
  color:var(--muted);
  font-size:15px;
}


.host-profile-card {
  background:#101518;
  border:1px solid #252d31;
  border-radius:16px;
  padding:24px;
}


.host-profile-layout {
  display:flex;
  gap:32px;
  align-items:flex-start;
}


.host-profile-avatar {
  flex:0 0 120px;
}


.host-avatar-circle {
  width:120px;
  height:120px;

  border-radius:50%;

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

  background:#20282c;
  color:#f5f5f3;

  font-size:32px;
  font-weight:600;
}


.host-profile-form {
  flex:1;
  display:flex;
  flex-direction:column;
  gap:12px;
}


.host-profile-form label {
  color:var(--muted);
  font-size:14px;
}


.host-profile-form input,
.host-profile-form textarea {

  width:100%;

  background:#080d0f;
  color:var(--text);

  border:1px solid #30383d;
  border-radius:10px;

  padding:12px;

  font-family:inherit;
  font-size:15px;

}


.host-profile-form textarea {
  resize:vertical;
}


.host-profile-save {
  margin-top:10px;

  width:max-content;

  padding:12px 22px;

  border:0;
  border-radius:10px;

  background:#f5f5f3;
  color:#111;

  font-weight:600;
  cursor:pointer;
}


.host-account-card {

  margin-top:25px;

  background:#101518;

  border:1px solid #252d31;

  border-radius:16px;

  padding:24px;

}


.host-account-card h2 {

  margin:0 0 20px;

  font-size:20px;

}


.host-account-row {

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

  padding:14px 0;

  border-bottom:1px solid #252d31;

}


.host-account-row:last-child {

  border-bottom:0;

}


@media(max-width:700px){

  .host-profile-layout {

    flex-direction:column;

  }


  .host-profile-avatar {

    align-self:center;

  }


  .host-account-row {

    flex-direction:column;
    align-items:flex-start;
    gap:10px;

  }

}
/* ========================================
   COMPACT MOBILE — 409px AND BELOW
   ======================================== */

@media (max-width:409px) {

  .brand-logo {
    width:165px;
    transform:translateY(3px);
  }
  .nav-links {
    gap:10px;
  }

  .nav-links a {
    font-size:11px;
  }

  .menu {
    width:18px;
    height:20px;
  }
 
  .section-heading {
    display:block;
  }

  .section-heading h2 {
    font-size:18px;
    margin-bottom:5px;
    white-space:nowrap;
  }

  .section-heading p {
    width:100%;
    font-size:12px;
    white-space:nowrap;
    text-align:left;
  }

  .footer-slogan {
    letter-spacing:.10em;
  }
}

/* ========================================
   EXTRA NARROW MOBILE — 349px AND BELOW
   ======================================== */

@media (max-width:349px) {

.nav-links,
.menu-wrap {
  left:0;
}

.nav-links {
  flex-direction:column;
  gap:2px;
  align-items:flex-end;
}

.footer-links {
  flex-wrap:nowrap;
  gap:8px;
}

.footer-slogan {
  font-size:9px;
}

.footer-actions {
  gap:12px;
}

}


/* ========================================
   HOST CAMERA WORKSPACE
   ======================================== */

.host-heading-row {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
}

.host-heading-actions {
  display:flex;
  align-items:center;
  gap:10px;
}

.host-snapshot-button {
  appearance:none;
  -webkit-appearance:none;
  width:100%;
  height:100%;
  margin:0;
  padding:0;
  border:0;
  background:#000;
  color:inherit;
  font:inherit;
  text-align:left;
}

.host-camera-overlay {
  position:absolute;
  left:18px;
  right:18px;
  bottom:16px;
  z-index:6;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  pointer-events:none;
}

.host-camera-stats {
  display:flex;
  align-items:center;
  gap:12px;
  padding:7px 10px;
  border-radius:14px;
  background:rgba(4,13,15,.78);
  color:#d5d6d6;
  font-size:13px;
  white-space:nowrap;
}

.host-camera-details {
  margin-top:20px;
  border-top:1px solid #252d31;
}

.host-camera-field {
  min-height:68px;
  padding:12px 4px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  border-bottom:1px solid #252d31;
}

.host-camera-field-content {
  min-width:0;
  flex:1;
}

.host-camera-field-label {
  display:block;
  margin-bottom:5px;
  color:var(--muted);
  font-size:12px;
}

.host-camera-value,
.host-camera-description {
  max-width:100%;
  margin:0;
  color:var(--text);
  font-size:16px;
  line-height:1.35;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.host-camera-empty {
  color:var(--muted);
}

.host-edit-button {
  position:relative;
  top:2px;
  flex:0 0 34px;
  width:34px;
  height:34px;
  padding:0;
  border:0;
  border-radius:8px;
  background:#20282c;
  cursor:pointer;
}

.host-edit-button::before {
  content:"";
  position:absolute;
  left:10px;
  top:9px;
  width:12px;
  height:5px;
  border:2px solid #d5d6d6;
  border-radius:1px;
  transform:rotate(-45deg);
}

.host-edit-button::after {
  content:"";
  position:absolute;
  left:8px;
  top:21px;
  width:6px;
  height:2px;
  background:#d5d6d6;
  transform:rotate(-45deg);
}

.host-edit-button:hover {
  opacity:.85;
}

.host-camera-editor {
  width:100%;
  margin-top:3px;
  padding:10px 11px;
  border:1px solid #394247;
  border-radius:9px;
  outline:none;
  background:#080d0f;
  color:var(--text);
  font:inherit;
  font-size:15px;
}

textarea.host-camera-editor {
  min-height:82px;
  resize:vertical;
}

.host-camera-edit-actions {
  display:flex;
  gap:8px;
  margin-top:9px;
}

.host-camera-edit-save,
.host-camera-edit-cancel {
  min-height:32px;
  padding:0 13px;
  border:0;
  border-radius:8px;
  font:inherit;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}

.host-camera-edit-save {
  background:#f2f2f2;
  color:#111;
}

.host-camera-edit-cancel {
  background:#20282c;
  color:#f2f2f2;
}

.host-publish-button {
  background:#f2f2f2;
  color:#111;
}

.host-publish-button:disabled {
  background:#171d20;
  color:#687176;
  cursor:not-allowed;
}


/* ========================================
   PRIVATE ACCESS MODAL
   ======================================== */

.host-access-modal {
  position:fixed;
  inset:0;
  z-index:2000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(0,0,0,.76);
  backdrop-filter:blur(3px);
  opacity:0;
  visibility:hidden;
  transition:opacity .18s ease, visibility .18s ease;
}

.host-access-modal.open {
  opacity:1;
  visibility:visible;
}

.host-access-card {
  width:100%;
  max-width:620px;
  max-height:calc(100vh - 48px);
  overflow:auto;
  padding:28px;
  border:1px solid #303a3e;
  border-radius:20px;
  background:#11191c;
  box-shadow:0 24px 70px rgba(0,0,0,.55);
}

.host-access-title {
  margin:0;
  font-size:24px;
  line-height:1.2;
}

.host-access-intro {
  margin:10px 0 22px;
  color:var(--muted);
  font-size:15px;
  line-height:1.45;
}

.host-access-create {
  min-height:40px;
  padding:0 17px;
  border:0;
  border-radius:10px;
  background:#f2f2f2;
  color:#111;
  font:inherit;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
}

.host-access-list {
  margin-top:22px;
}

.host-access-empty {
  margin:0;
  color:var(--muted);
  font-size:14px;
}

.host-access-item {
  padding:16px 0;
  border-top:1px solid #2b3337;
}

.host-access-item:first-child {
  border-top:0;
}

.host-access-item-title {
  margin:0 0 8px;
  font-size:15px;
  font-weight:700;
}

.host-access-link {
  width:100%;
  padding:10px 11px;
  border:1px solid #30383d;
  border-radius:9px;
  background:#080d0f;
  color:#cfd4d6;
  font:inherit;
  font-size:13px;
}

.host-access-item-actions {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}

.host-access-small-button {
  min-height:32px;
  padding:0 12px;
  border:0;
  border-radius:8px;
  background:#20282c;
  color:#f2f2f2;
  font:inherit;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
}

.host-access-small-button:hover,
.host-access-create:hover {
  opacity:.85;
}

.host-access-revoke {
  color:#ff8a8a;
}

.host-access-footer {
  display:flex;
  justify-content:flex-end;
  margin-top:20px;
  padding-top:18px;
  border-top:1px solid #2b3337;
}

.host-access-close {
  min-height:36px;
  padding:0 15px;
  border:0;
  border-radius:9px;
  background:#20282c;
  color:#f2f2f2;
  font:inherit;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
}

.host-access-copy-status {
  margin-top:8px;
  color:var(--green);
  font-size:12px;
}

@media(max-width:700px) {

  .host-camera-overlay {
    left:10px;
    right:10px;
    bottom:10px;
    gap:8px;
  }

  .host-camera-stats {
    gap:8px;
    padding:6px 8px;
    font-size:11px;
  }

  .host-camera-field {
    min-height:62px;
  }

  .host-access-modal {
    padding:20px;
  }

  .host-access-card {
    max-height:calc(100vh - 40px);
    padding:22px 18px;
    border-radius:18px;
  }

  .host-access-title {
    font-size:20px;
  }

  .host-access-intro {
    font-size:14px;
  }

  .host-access-create {
    width:100%;
  }

  .host-access-item-actions {
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
  }

  .host-access-small-button {
    width:100%;
    padding:0 7px;
  }
}


/* HOST QR SHARE LAYOUT */

.host-access-qr {
  margin-top:16px;
  text-align:center;
}

.host-access-qr[hidden] {
  display:none;
}

.host-access-qr img {
  display:block;
  width:220px;
  height:220px;
  max-width:100%;
  margin:0 auto;
  background:#fff;
}

.host-access-qr-share {
  display:block;
  min-width:140px;
  margin:12px auto 0;
}


/* HOST ACCESS RECIPIENT */

.host-access-recipient {
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
}

.host-access-recipient-input {
  min-width:0;
  flex:1;
  height:38px;
  padding:0 11px;
  border:1px solid #30383d;
  border-radius:9px;
  outline:none;
  background:#080d0f;
  color:var(--text);
  font:inherit;
  font-size:14px;
}

.host-access-recipient-name {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:16px;
}

.host-access-recipient-edit {
  flex:0 0 30px;
  width:30px;
  height:30px;
  padding:0;
  border:0;
  border-radius:8px;
  background:#20282c;
  color:#f2f2f2;
  font-size:17px;
  cursor:pointer;
}


/* HOST ACCESS RECIPIENT — WIDTH FIX */

.host-access-recipient {
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  align-items:center;
  gap:8px;
  width:100%;
}

.host-access-recipient-input {
  width:100%;
  min-width:0;
}

.host-access-recipient > .host-access-small-button {
  width:auto;
  min-width:64px;
  padding:0 12px;
}

/* ========================================
   PRIVATE ACCESS — COMPACT ACCORDION
   ======================================== */

.host-access-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.host-access-x {
  flex:0 0 36px;
  width:36px;
  height:36px;
  padding:0;
  border:0;
  border-radius:9px;
  background:#20282c;
  color:#f2f2f2;
  font:inherit;
  font-size:25px;
  font-weight:300;
  line-height:1;
  cursor:pointer;
}

.host-access-camera-name {
  width:100%;
  min-width:0;
  margin:18px 0 14px;
  color:var(--text);
  font-size:17px;
  font-weight:700;
  line-height:1.25;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.host-access-search-wrap {
  margin-top:14px;
}

.host-access-search {
  width:100%;
  height:40px;
  padding:0 12px;
  border:1px solid #30383d;
  border-radius:10px;
  outline:none;
  background:#080d0f;
  color:var(--text);
  font:inherit;
  font-size:14px;
}

.host-access-search:focus {
  border-color:#59656a;
}

.host-access-search::placeholder {
  color:#737c81;
}

.host-access-list {
  margin-top:14px;
}

.host-access-item {
  padding:0;
  border-top:1px solid #2b3337;
}

.host-access-item:first-child {
  border-top:1px solid #2b3337;
}

.host-access-accordion-row {
  appearance:none;
  -webkit-appearance:none;
  width:100%;
  min-height:48px;
  margin:0;
  padding:0 4px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 24px;
  align-items:center;
  gap:10px;
  border:0;
  background:transparent;
  color:var(--text);
  font:inherit;
  text-align:left;
  cursor:pointer;
}

.host-access-accordion-name {
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:15px;
  font-weight:700;
}

.host-access-chevron {
  position:relative;
  width:10px;
  height:10px;
  justify-self:center;
  border-right:2px solid #aab1b4;
  border-bottom:2px solid #aab1b4;
  transform:rotate(45deg) translateY(-2px);
  transition:transform .15s ease;
}

.host-access-item.expanded .host-access-chevron {
  transform:rotate(225deg) translate(-2px,-2px);
}

.host-access-details {
  padding:4px 4px 16px;
}

.host-access-link-wrap {
  position:relative;
  width:100%;
}

.host-access-link-wrap .host-access-link {
  width:100%;
  padding-right:46px;
}

.host-access-copy-icon {
  position:absolute;
  top:50%;
  right:7px;
  transform:translateY(-50%);
  width:32px;
  height:32px;
  padding:0;
  border:0;
  border-radius:7px;
  background:transparent;
  cursor:pointer;
}

.host-copy-square {
  position:absolute;
  width:12px;
  height:12px;
  border:1.5px solid #cfd4d6;
  border-radius:2px;
}

.host-copy-square-back {
  left:8px;
  top:8px;
}

.host-copy-square-front {
  left:12px;
  top:12px;
  background:#080d0f;
}

.host-access-copy-icon.copied .host-copy-square {
  border-color:var(--green);
}

.host-access-footer {
  display:none;
}

.host-access-intro {
  display:none;
}

@media(max-width:700px) {
  .host-access-card {
    padding:20px 18px;
  }

  .host-access-camera-name {
    margin-top:16px;
    font-size:16px;
  }

  .host-access-search-wrap {
    margin-top:12px;
  }

  .host-access-list {
    margin-top:12px;
  }

  .host-access-accordion-row {
    min-height:46px;
  }

  .host-access-item-actions {
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
  }

  .host-access-details {
    padding-bottom:15px;
  }
}

/* ========================================
   INDEX PAGE — HOST MODAL + HEADER USER AVATAR
   Moved from index.html after visual tuning
   ======================================== */
.index-host-modal{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(0,0,0,.78)}
.index-host-modal.open{display:flex}
.index-host-modal-card{position:relative;width:min(420px,100%);max-height:calc(100vh - 48px);overflow-y:auto;padding:28px;background:#0b0b0b;border:1px solid rgba(255,255,255,.14);border-radius:14px;box-shadow:0 24px 70px rgba(0,0,0,.55)}
.index-host-modal-close{position:absolute;top:12px;right:14px;width:34px;height:34px;padding:0;border:0;background:transparent;color:#fff;font-size:28px;font-weight:300;line-height:34px;cursor:pointer}
.index-host-modal-photo{width:180px;height:180px;margin:8px auto 22px;overflow:hidden;border-radius:8px;background:#1a1a1a;display:flex;align-items:center;justify-content:center;color:#fff;font-size:44px;font-weight:600}
.index-host-modal-photo img{width:100%;height:100%;object-fit:cover}
.index-host-modal-name{margin:0 0 16px;text-align:center;font-size:22px;line-height:1.25}
.index-host-modal-about{margin:0;color:var(--muted,#9aa0a6);font-size:14px;line-height:1.6;white-space:pre-wrap}
body.index-host-modal-open{overflow:hidden}
.header-user-avatar{width:40px;height:40px;flex:0 0 40px;margin-left:14px;overflow:hidden;border-radius:50%;background:#26313a;color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;line-height:1;text-decoration:none}
.header-user-avatar.visible{display:flex}
.header-user-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.header-user-placeholder{width:40px;height:40px;padding:8px;box-sizing:border-box;border-radius:50%;background:#26313a;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;opacity:.82}
@media (max-width:950px) and (orientation:landscape){
  .nav{grid-template-columns:185px 1fr 45px 27px;column-gap:14px}
  .nav-links{justify-self: end; transform:translateX(-22px);}
  .header-user-avatar{width:40px;height:40px;flex-basis:40px;transform:translate(-20px,12px)}
  .menu-wrap{width:27px;grid-column:4;grid-row:1;left:0;transform:translateY(12px)}
}
@media (max-width:700px) and (orientation:portrait){
  .nav{grid-template-columns:185px auto 35px 27px;column-gap:4px}
  .brand{width:185px}
  .nav-links{gap:6px;transform:translate(2px,-4px)}
  .nav-links a:first-child{white-space:nowrap}
  .header-user-avatar{width:33px;height:33px;flex-basis:33px;margin-left:0;grid-column:3;grid-row:1;transform:translate(11px,5px)}
  .menu-wrap{width:27px;left:0;grid-column:4;grid-row:1;transform:translate(19px,5px)}
}

/* ========================================
   HOST TOPBAR — ONLOOKER LOGO + CLOSE
   ======================================== */

.host-logo {
  display:block;
  line-height:0;
}

.host-brand-logo {
  display:block;
  width:210px;
  height:auto;
}

.host-close {
  appearance:none;
  -webkit-appearance:none;
  width:44px;
  height:44px;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  color:var(--text);
  display:grid;
  place-items:center;
  font-family:Arial,Helvetica,sans-serif;
  font-size:40px;
  font-weight:300;
  line-height:1;
  cursor:pointer;
  opacity:1;
}

.host-close:hover,
.host-close:focus-visible {
  opacity:1;
  outline:none;
}

@media(max-width:700px) {
  .host-brand-logo {
    width:185px;
  }

  .host-close {
    width:42px;
    height:42px;
    font-size:38px;
  }
}



@media (min-width:951px) {
  .nav > .header-user-avatar {
    transform:translate(0px, 2px);
 }

  .menu { 
    width:30px;
    height:20px; 
    transform:scale(1.25);
    transform-origin:center;
 }
  .menu span { width:30px; }
  .nav > .menu-wrap { width:30px; 
}

}


/* ========================================
   INDEX HEADER — CANONICAL
   One active geometry for desktop / mobile
   ======================================== */

.nav {
  grid-template-columns:auto auto 1fr auto;
  gap:28px;
}

.nav > .menu-wrap {
  grid-column:1;
  grid-row:1;
  width:auto;
  position:relative;
  left:0;
  top:auto;
  transform:translateY(9px);
  justify-self:start;
}

.nav > .menu-wrap .dropdown {
  left:0;
  right:auto;
}

.nav > .brand {
  grid-column:2;
  grid-row:1;
  min-width:0;
  width:auto;
  margin-left:8px;
  justify-self:start;
}

.nav > .nav-links {
  grid-column:3;
  grid-row:1;
  min-width:0;
  position:relative;
  left:0;
  justify-self:end;
  transform:none;
  gap:34px;
}

.nav > .header-user-avatar {
  grid-column:4;
  grid-row:1;
  width:42px;
  height:42px;
  flex:0 0 42px;
  margin-left:0;
  justify-self:end;
  transform:translateY(2px);
}

@media (min-width:951px) {
  .nav > .menu-wrap {
    width:30px;
  }

  .nav > .menu-wrap .menu {
    width:30px;
    height:20px;
    transform:scale(1.25);
    transform-origin:center;
  }

  .nav > .menu-wrap .menu span {
    width:30px;
  }
}

@media (max-width:950px) and (orientation:landscape) {
  .nav {
    grid-template-columns:auto auto 1fr auto;
    gap:14px;
  }

  .nav > .menu-wrap {
    transform:translateY(12px);
  }

  .nav > .brand .brand-logo {
    width:165px;
    position:relative;
    top:7px;
  }

  .nav > .nav-links {
    gap:15px;
    top:7px;
  }

  .nav > .nav-links a {
    font-size:12px;
    white-space:nowrap;
  }

  .nav > .header-user-avatar {
    width:38px;
    height:38px;
    flex-basis:38px;
    transform:translateY(3px);  }
}

@media (max-width:700px) and (orientation:portrait) {
  .nav {
    width:calc(100% - 40px);
    padding:22px 0;
    grid-template-columns:auto auto 1fr auto;
    gap:14px;
  }

  .nav > .brand {
    margin-left:0;
  }

  .nav > .brand .brand-logo {
    width:165px;
    position:relative;
    top:4px;
    transform:none;
  }

  .nav > .nav-links {
    gap:15px;
    top:7px;
  }

  .nav > .nav-links a {
    font-size:12px;
    white-space:nowrap;
  }

  .nav-separator {
    margin-left:1px;
    margin-right:-1px;
  }

  .nav > .header-user-avatar {
    width:38px;
    height:38px;
    flex-basis:38px;
    transform:translateY(4px);
  }
}

@media (max-width:409px) and (orientation:portrait) {
  .nav {
    gap:10px;
  }

  .nav > .brand .brand-logo {
    width:155px;
    transform:translateY(3px);
  }

  .nav > .nav-links {
    gap:10px;
  }

  .nav > .nav-links a {
    font-size:11px;
  }

  .nav > .menu-wrap .menu,
  .nav > .menu-wrap .menu span {
    width:18px;
  }
}

@media (max-width:349px) and (orientation:portrait) {
  .nav > .nav-links {
    flex-direction:column;
    gap:2px;
    align-items:flex-end;
  }
}

