*{box-sizing:border-box}

:root{
  --bg:#17111f;
  --panel:#21182b;
  --text:#f8eff8;
  --muted:#cdb7d1;
  --pink:#f29ac2;
  --pink2:#ffd3e5;
  --lav:#cbb7f6;
  --line:rgba(242,154,194,.38);
}

html,body{
  margin:0;
  width:100%;
  min-height:100%;
  font-family:Inter,ui-rounded,"Segoe UI",Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
}

body{
  height:100vh;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  padding:14px;
  gap:14px;
  background:#120c19;
}

.layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 350px;
  gap:14px;
  flex:1;
  min-height:0;
}

.player{
  display:grid;
  place-items:center;
  position:relative;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:28px;
  background-color:#21162c;
  background-image:
    linear-gradient(rgba(16,9,24,.04),rgba(16,9,24,.04)),
    url("assets/flo-night-bg.png");
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
  box-shadow:0 18px 48px rgba(0,0,0,.34);
}

.offline-card{
  position:relative;
  z-index:2;
  width:min(620px,68%);
  text-align:center;
  padding:42px 34px;
  border:1px solid rgba(242,154,194,.58);
  border-radius:32px;
  background:linear-gradient(145deg,rgba(35,20,47,.84),rgba(22,13,32,.88));
  backdrop-filter:blur(9px);
  -webkit-backdrop-filter:blur(9px);
  box-shadow:0 22px 60px rgba(0,0,0,.34),0 0 36px rgba(242,154,194,.13);
}

.avatar-bubble{
  width:76px;height:76px;border-radius:50%;
  display:grid;place-items:center;
  margin:0 auto 16px;
  font-size:34px;font-weight:800;color:#fff;
  background:linear-gradient(135deg,var(--pink),var(--lav));
  box-shadow:0 0 0 4px rgba(255,255,255,.9),0 10px 30px rgba(242,154,194,.28),0 0 32px rgba(203,183,246,.22);
}

.eyebrow{
  margin:0 0 10px;
  font-size:12px;
  letter-spacing:.28em;
  color:#e6c0df;
  font-weight:800;
}

.offline-card h1{
  margin:0;
  font-size:clamp(58px,8vw,118px);
  line-height:.95;
  letter-spacing:-.04em;
  color:#fff0fa;
  text-shadow:0 0 25px rgba(242,154,194,.15);
}

.subtitle{
  margin:20px auto 0;
  max-width:520px;
  color:var(--muted);
  font-size:17px;
  line-height:1.6;
}

.status{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:24px;
  padding:9px 14px;
  border-radius:999px;
  background:rgba(13,8,20,.66);
  border:1px solid rgba(203,183,246,.28);
  color:#d5c4d9;
  font-size:13px;
}

.status-dot{
  width:9px;height:9px;border-radius:50%;
  background:var(--lav);
  box-shadow:0 0 0 5px rgba(203,183,246,.10),0 0 12px rgba(203,183,246,.55);
}

.chat{
  border:1px solid var(--line);
  border-radius:28px;
  background:#161019;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  box-shadow:0 18px 48px rgba(0,0,0,.38);
}

.chat header{
  padding:16px 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-weight:800;
  border-bottom:1px solid rgba(242,154,194,.18);
  background:linear-gradient(90deg,#25192f,#2b1b36);
}

.live-pill{
  font-size:11px;
  letter-spacing:.08em;
  color:#ffc9e2;
  border:1px solid rgba(242,154,194,.28);
  border-radius:999px;
  padding:6px 9px;
  background:rgba(242,154,194,.08);
  text-transform:uppercase;
}

.kick-chat{
  width:100%;
  height:100%;
  min-height:0;
  flex:1;
  border:0;
  background:#0b0b0b;
}

.chat-footer{
  padding:11px 14px;
  border-top:1px solid rgba(242,154,194,.16);
  text-align:center;
  color:#d4b4d7;
  font-size:12px;
  background:#24172d;
}

.social-card{
  flex:0 0 86px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:15px 26px;
  position:relative;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:26px;
  background-color:#21162c;
  background-image:
    linear-gradient(rgba(21,12,30,.26),rgba(21,12,30,.26)),
    url("assets/flo-night-bar.png");
  background-size:cover;
  background-position:center center;
  box-shadow:0 12px 32px rgba(0,0,0,.28);
}

.social-title{
  white-space:nowrap;
  color:#f0c6e4;
  font-size:14px;
  font-weight:800;
  text-shadow:0 1px 7px rgba(0,0,0,.65);
}

.social-btn{
  height:44px;
  min-width:112px;
  padding:0 16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:1px solid rgba(242,205,239,.22);
  border-radius:999px;
  background:rgba(31,20,42,.88);
  backdrop-filter:blur(6px);
  color:#fff5fc;
  text-decoration:none;
  font-size:14px;
  font-weight:800;
  box-shadow:0 5px 16px rgba(0,0,0,.22);
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
  white-space:nowrap;
}

.social-btn img{
  display:block!important;
  width:24px!important;height:24px!important;
  max-width:24px!important;max-height:24px!important;
  min-width:24px!important;min-height:24px!important;
  object-fit:contain!important;
  flex:0 0 24px!important;
}

.social-btn:hover{
  transform:translateY(-2px);
  border-color:rgba(242,154,194,.55);
  background:rgba(54,35,67,.94);
}

@media(max-width:1100px){
  body{height:auto;min-height:100vh;overflow:auto}
  .social-card{flex-wrap:wrap;height:auto;flex-basis:auto;overflow:visible}
  .social-title{width:100%;text-align:center}
  .layout{min-height:700px}
}

@media(max-width:850px){
  .layout{grid-template-columns:1fr;grid-template-rows:minmax(58vh,1fr) 320px}
  .offline-card{width:min(620px,88%);margin:20px}
  .social-card{padding:18px 14px;gap:10px}
  .social-btn{min-width:136px}
}

@media(max-width:520px){
  body{padding:10px;gap:10px}
  .offline-card{padding:30px 18px}
  .social-btn{width:calc(50% - 6px);min-width:0;padding:0 10px}
  .social-title{font-size:13px}
}


/* Homepage status button */
.watch-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:24px;
  min-height:46px;
  padding:0 22px;
  border-radius:999px;
  border:1px solid rgba(255,214,238,.32);
  background:linear-gradient(135deg,var(--pink),var(--lav));
  color:#251329;
  text-decoration:none;
  font-size:14px;
  font-weight:900;
  box-shadow:0 10px 28px rgba(242,154,194,.22);
  transition:transform .18s ease,opacity .18s ease,box-shadow .18s ease;
}

.watch-action:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 34px rgba(242,154,194,.30);
}

.watch-action.is-disabled{
  opacity:.5;
  cursor:not-allowed;
  filter:saturate(.6);
  transform:none;
  box-shadow:none;
}

.status.is-online .status-dot{
  background:#70f3a6;
  box-shadow:0 0 0 5px rgba(112,243,166,.10),0 0 14px rgba(112,243,166,.65);
}


/* ===== Homepage layout fixes ===== */
body{
  width:100%;
  min-width:0;
}

.layout{
  grid-template-columns:minmax(0,1fr) !important;
  width:100%;
  max-width:none;
  gap:0;
}

.player{
  width:100%;
  min-width:0;
}

/* The original heading sizing was meant for the single word "offline".
   This version uses a longer status sentence, so keep it compact. */
.offline-card{
  width:min(680px,82%);
  padding:38px 34px 34px;
}

.offline-card h1{
  font-size:clamp(34px,4.2vw,64px) !important;
  line-height:1.06 !important;
  letter-spacing:-.035em !important;
  text-wrap:balance;
}

.subtitle{
  margin-top:18px;
}

.watch-action{
  margin-top:22px;
}

.status{
  margin-top:14px;
}

@media(max-width:850px){
  .layout{
    grid-template-columns:1fr !important;
    grid-template-rows:minmax(70vh,1fr) !important;
    min-height:0;
  }

  .offline-card{
    width:min(680px,90%);
  }
}

@media(max-width:520px){
  .offline-card h1{
    font-size:clamp(32px,10vw,46px) !important;
  }
}
