/* Bio2Twin Love intimacy · Meal / Today matched header, truthful timer stage. */
/* Bio2Twin Love Overview header V3 — align with live Meal / Today header.
   Scoped to #love/overview through existing b2t-love-overview-ui class.
   Meal and other routes unchanged. No fabricated watch or health metrics. */

/* Exact Meal / Today desktop header rhythm. */
body.b2t-love-intimacy-ui main.workspace > section.app-head {
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:16px !important;
  max-width:1180px;
  margin:0 auto 18px !important;
}
body.b2t-love-intimacy-ui main.workspace > section.app-head > div:first-child {
  min-width:0;
  flex:1 1 auto;
}
body.b2t-love-intimacy-ui main.workspace > section.app-head #appEyebrow {
  font-size:11px !important;
  font-weight:400 !important;
  letter-spacing:.12em;
  margin:0 0 6px !important;
  line-height:normal;
}
body.b2t-love-intimacy-ui main.workspace > section.app-head #appTitle {
  font-size:28px !important;
  font-weight:400 !important;
  line-height:1.35 !important;
  letter-spacing:0;
  margin:0 !important;
}
body.b2t-love-intimacy-ui main.workspace > section.app-head #b2tLoveIntimacyDate {
  display:block;
  margin:7px 0 9px !important;
  color:#acb5c3;
  font:400 13px/1.55 -apple-system,BlinkMacSystemFont,"Noto Sans TC",system-ui,sans-serif;
  letter-spacing:.025em;
}
body.b2t-love-intimacy-ui main.workspace > section.app-head #b2tLoveIntimacyDate[hidden] {
  display:none !important;
}
body.b2t-love-intimacy-ui main.workspace > section.app-head #appSubtitle {
  font-size:15px !important;
  font-weight:400 !important;
  line-height:1.65 !important;
  margin:7px 0 0 !important;
  max-width:680px;
}
body.b2t-love-intimacy-ui main.workspace > section.app-head #headMetrics {
  display:flex !important;
  flex:0 0 auto;
  align-items:center !important;
  justify-content:flex-end !important;
  flex-wrap:wrap;
  gap:8px !important;
  margin:0 !important;
  min-width:0;
  width:auto;
}
body.b2t-love-intimacy-ui main.workspace > section.app-head #headMetrics .metric-chip {
  box-sizing:border-box !important;
  flex:0 0 auto;
  min-width:90px !important;
  min-height:55px;
  padding:9px 12px !important;
  border-radius:13px !important;
  border:1px solid #333c4b;
  background:#10151e;
}
body.b2t-love-intimacy-ui main.workspace > section.app-head #headMetrics .metric-chip small {
  display:block;
  font-size:10px !important;
  font-weight:400 !important;
  line-height:1.2;
  margin:0 0 3px;
  letter-spacing:.05em;
  white-space:nowrap;
}
body.b2t-love-intimacy-ui main.workspace > section.app-head #headMetrics .metric-chip b {
  font-size:14px !important;
  font-weight:400 !important;
  line-height:1.4;
  white-space:nowrap;
}

/* Exact Meal / Today tab bar sizing, inactive/active states, spacing. */
body.b2t-love-intimacy-ui main.workspace > nav#subnav.subnav {
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  box-sizing:border-box;
  width:100%;
  max-width:1180px;
  min-height:56px !important;
  margin:0 auto 18px !important;
  padding:6px !important;
  gap:7px !important;
  border:1px solid #3c485c !important;
  border-radius:17px !important;
  background:#10151e !important;
  overflow-x:auto;
  overflow-y:hidden;
  white-space:nowrap;
  scrollbar-width:none;
}
body.b2t-love-intimacy-ui main.workspace > nav#subnav.subnav::-webkit-scrollbar {
  display:none;
}
body.b2t-love-intimacy-ui main.workspace > nav#subnav.subnav > button {
  flex:0 0 auto;
  box-sizing:border-box;
  min-height:42px !important;
  padding:9px 15px !important;
  margin:0 !important;
  font-size:15px !important;
  line-height:1.4 !important;
  font-weight:400 !important;
  border:1px solid transparent !important;
  border-radius:11px !important;
  background:transparent !important;
  box-shadow:none !important;
  color:#b3bece;
}
body.b2t-love-intimacy-ui main.workspace > nav#subnav.subnav > button.active,
body.b2t-love-intimacy-ui main.workspace > nav#subnav.subnav > button[aria-current="page"] {
  background:#25334b !important;
  border-color:#728db7 !important;
  color:#fff !important;
}
body.b2t-love-intimacy-ui main.workspace > nav#subnav.subnav > button:hover {
  color:#fff !important;
}
body.b2t-love-intimacy-ui main.workspace > nav#subnav.subnav > button:focus-visible {
  outline:2px solid currentColor;
  outline-offset:2px;
}

/* Keep the Love content palette, cards and small type as already approved. */
@media(max-width:760px) {
  body.b2t-love-intimacy-ui main.workspace > section.app-head {
    display:block !important;
    gap:12px !important;
    margin:0 auto 14px !important;
  }
  body.b2t-love-intimacy-ui main.workspace > section.app-head > div:first-child {
    min-width:0;
    width:100%;
  }
  body.b2t-love-intimacy-ui main.workspace > section.app-head #appEyebrow {
    font-size:11px !important;
    letter-spacing:.12em;
    margin:0 0 10px !important;
  }
  body.b2t-love-intimacy-ui main.workspace > section.app-head #appTitle {
    font-size:24px !important;
    line-height:1.35 !important;
  }
  body.b2t-love-intimacy-ui main.workspace > section.app-head #b2tLoveIntimacyDate {
    font-size:12px !important;
    margin:6px 0 8px !important;
  }
  body.b2t-love-intimacy-ui main.workspace > section.app-head #appSubtitle {
    font-size:14px !important;
    line-height:1.6 !important;
    margin:12px 0 0 !important;
  }
  body.b2t-love-intimacy-ui main.workspace > section.app-head #headMetrics {
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr));
    align-items:center;
    gap:6px !important;
    width:100%;
    margin:15px 0 0 !important;
  }
  body.b2t-love-intimacy-ui main.workspace > section.app-head #headMetrics .metric-chip {
    min-width:0 !important;
    width:100%;
    min-height:57px;
    padding:9px 10px !important;
    border-radius:13px !important;
  }
  body.b2t-love-intimacy-ui main.workspace > section.app-head #headMetrics .metric-chip small {
    font-size:10px !important;
    margin:0 0 5px;
  }
  body.b2t-love-intimacy-ui main.workspace > section.app-head #headMetrics .metric-chip b {
    display:block;
    font-size:13px !important;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  body.b2t-love-intimacy-ui main.workspace > nav#subnav.subnav {
    min-height:50px !important;
    margin-bottom:14px !important;
    padding:5px !important;
    gap:5px !important;
    border-radius:14px !important;
    -webkit-overflow-scrolling:touch;
  }
  body.b2t-love-intimacy-ui main.workspace > nav#subnav.subnav > button {
    min-height:38px !important;
    padding:8px 11px !important;
    font-size:13px !important;
    border-radius:9px !important;
  }
}

/* Match Meal / Today header's tablet-width height without changing small or wide layouts. */
@media (min-width:761px) and (max-width:1100px) {
  body.b2t-love-intimacy-ui main.workspace > section.app-head {
    min-height:128px !important;
  }
}

/* Love intimacy: premium dark/pink presentation, truthful browser timer only. */
body.b2t-love-intimacy-ui #integrationStrip {display:none !important}
body.b2t-love-intimacy-ui #content {display:grid; gap:14px; min-width:0}
body.b2t-love-intimacy-ui #content > .love-sport {
  box-sizing:border-box !important;
  width:100% !important;max-width:1180px !important;
  margin:0 auto 16px !important; padding:30px 36px !important;
  min-height:320px !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 210px;
  grid-template-areas:"kicker button" "title button" "description button" "clock button" "status button" "reset button" "note button";
  column-gap:30px;row-gap:0;
  align-items:center;align-content:center;justify-items:start;
  text-align:left !important;
  border:1px solid #3a3440 !important;
  border-radius:22px !important;
  background:#19191e !important;
  box-shadow:none !important;
}
body.b2t-love-intimacy-ui #content > .love-sport .love-sport-eyebrow {
  grid-area:kicker;font-size:11px !important;font-weight:400;
  letter-spacing:.10em;line-height:1.5;color:#df9caf !important;
}
body.b2t-love-intimacy-ui #content > .love-sport h2 {
  grid-area:title;font-size:24px !important;font-weight:400 !important;
  line-height:1.45;margin:8px 0 5px !important;color:#f0eef2 !important;
}
body.b2t-love-intimacy-ui #content > .love-sport > p:first-of-type {
  grid-area:description;font-size:14px !important;line-height:1.7;
  font-weight:400;margin:0 !important;max-width:580px;color:#b4abb8 !important;
}
body.b2t-love-intimacy-ui #content > .love-sport #loveSportButton {
  grid-area:button;justify-self:center;align-self:center;
  box-sizing:border-box !important;
  width:178px !important;height:178px !important;min-width:178px;min-height:178px;
  margin:0 auto !important;padding:16px !important;
  border-radius:50% !important;border:2px solid #bb7798 !important;
  background:#251922 !important;color:#f1eaf0 !important;
  box-shadow:0 0 0 4px rgba(168,105,145,.06) !important;
  font-size:20px !important;font-weight:400;line-height:1.25;gap:9px;
  transition:transform .15s ease,box-shadow .2s ease;touch-action:manipulation;
}
body.b2t-love-intimacy-ui #content > .love-sport #loveSportButton:hover {
  border-color:#d39caf !important;transform:scale(1.015);
}
body.b2t-love-intimacy-ui #content > .love-sport #loveSportButton:focus-visible {
  outline:3px solid #ddb2c4;outline-offset:5px;
}
body.b2t-love-intimacy-ui #content > .love-sport .love-sport-heart {
  font-size:38px !important;line-height:1;color:#dfa3be !important;
}
body.b2t-love-intimacy-ui #content > .love-sport #loveSportTimer {
  grid-area:clock;font-size:30px !important;font-weight:400 !important;
  font-variant-numeric:tabular-nums;letter-spacing:.025em;line-height:1.3;
  margin:16px 0 6px !important;color:#f1eef3 !important;
}
body.b2t-love-intimacy-ui #content > .love-sport #loveSportStatus {
  grid-area:status;font-size:13px !important;line-height:1.65;
  color:#b9b2bf !important;margin:0 !important;text-align:left;
}
body.b2t-love-intimacy-ui #content > .love-sport #loveSportReset {
  grid-area:reset;margin:12px 0 0 !important;padding:9px 14px;
  font-size:13px !important;font-weight:400;color:#f0eaf1 !important;
  background:#26202b !important;border:1px solid #6c5167 !important;
}
body.b2t-love-intimacy-ui #content > .love-sport #loveSportReset[hidden] {
  display:none !important;
}
body.b2t-love-intimacy-ui #content > .love-sport .love-sport-note {
  grid-area:note;font-size:12px !important;line-height:1.65;
  color:#a9a1b1 !important;margin:11px 0 0 !important;
  max-width:560px;text-align:left;
}
@media(max-width:760px) {
  body.b2t-love-intimacy-ui #content > .love-sport {
    max-width:100% !important;width:100% !important;
    min-height:0 !important;padding:24px 17px !important;
    margin:0 auto 12px !important;
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"kicker" "title" "description" "button" "clock" "status" "reset" "note";
    justify-items:center;text-align:center !important;
    row-gap:0;border-radius:18px !important;
  }
  body.b2t-love-intimacy-ui #content > .love-sport h2 {
    font-size:21px !important;margin:9px 0 6px !important;
  }
  body.b2t-love-intimacy-ui #content > .love-sport > p:first-of-type {
    font-size:13px !important;max-width:290px;text-align:center;
  }
  body.b2t-love-intimacy-ui #content > .love-sport #loveSportButton {
    width:160px !important;height:160px !important;min-width:160px;min-height:160px;
    font-size:19px !important;margin:17px auto 4px !important;padding:11px !important;
  }
  body.b2t-love-intimacy-ui #content > .love-sport .love-sport-heart {font-size:35px !important}
  body.b2t-love-intimacy-ui #content > .love-sport #loveSportTimer {
    font-size:29px !important;margin:10px 0 5px !important;
  }
  body.b2t-love-intimacy-ui #content > .love-sport #loveSportStatus {
    font-size:12px !important;text-align:center;
  }
  body.b2t-love-intimacy-ui #content > .love-sport #loveSportReset {justify-self:center}
  body.b2t-love-intimacy-ui #content > .love-sport .love-sport-note {
    font-size:11px !important;text-align:center;
  }
  body.b2t-love-intimacy-ui main.workspace {min-height:0 !important;padding-bottom:14px !important}
  body.b2t-love-intimacy-ui #watchDock.watch-dock {
    margin:13px 14px 24px !important;padding:16px !important;
  }
  body.b2t-love-intimacy-ui #watchDock .watch-face {
    width:min(210px,100%) !important;height:276px !important;
    margin:18px auto 17px !important;border-radius:46px !important;
  }
}
@media(max-width:350px) {
  body.b2t-love-intimacy-ui #content > .love-sport {padding:19px 12px !important}
  body.b2t-love-intimacy-ui #content > .love-sport #loveSportButton {
    width:150px !important;height:150px !important;min-width:150px;min-height:150px;
  }
}
