/* B.Ring Discover / Reels — phase 3 */
.br-discover-fullscreen{
  position:fixed;
  inset:0;
  z-index:12000;
  background:#050505;
  color:#fff;
  font-family:Inter,Arial,Helvetica,sans-serif;
}
.br-discover-fullscreen[hidden]{display:none}

.br-feed-top{
  position:absolute;
  inset:0 0 auto;
  z-index:12;
  min-height:64px;
  display:grid;
  grid-template-columns:44px minmax(0,1fr) 44px;
  align-items:center;
  gap:8px;
  padding:max(10px,env(safe-area-inset-top)) 10px 10px;
  background:linear-gradient(180deg,rgba(0,0,0,.72),rgba(0,0,0,0));
}
.br-feed-top>button,
.br-feed-top-actions>button{
  width:40px;
  height:40px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:50%;
  background:rgba(12,12,12,.42);
  color:#fff;
  display:grid;
  place-items:center;
  padding:0;
  backdrop-filter:blur(12px);
  box-shadow:none;
}
.br-feed-top>button{
  font-size:28px;
  line-height:1;
}
.br-feed-top-actions{
  justify-self:end;
  display:flex;
  align-items:center;
}
.br-feed-top-actions>button{
  font-size:17px;
  position:relative;
}
.br-feed-top-actions i{
  position:absolute;
  right:-3px;
  top:-4px;
  min-width:17px;
  height:17px;
  padding:0 4px;
  border-radius:999px;
  background:#ff7600;
  color:#fff;
  display:grid;
  place-items:center;
  font-size:8px;
  font-style:normal;
  font-weight:950;
  border:2px solid #050505;
}
.br-feed-top-actions i[hidden]{display:none}

.br-feed-tabs{
  justify-self:center;
  display:flex;
  align-items:center;
  gap:18px;
  min-width:0;
  padding:0;
  background:none;
  border:0;
  backdrop-filter:none;
}
.br-feed-tabs button{
  position:relative;
  border:0;
  background:none;
  color:rgba(255,255,255,.62);
  padding:10px 0 9px;
  border-radius:0;
  font-size:11px;
  font-weight:850;
  white-space:nowrap;
}
.br-feed-tabs button.active{
  background:none;
  color:#fff;
}
.br-feed-tabs button.active:after{
  content:"";
  position:absolute;
  left:20%;
  right:20%;
  bottom:2px;
  height:2px;
  border-radius:999px;
  background:#ff7600;
}

.br-feed-scroll{
  width:100%;
  height:100dvh;
  overflow-y:auto;
  scroll-snap-type:y mandatory;
  overscroll-behavior:contain;
  scrollbar-width:none;
  background:#050505;
}
.br-feed-scroll::-webkit-scrollbar{display:none}
.br-feed-reel{
  position:relative;
  width:100%;
  height:100dvh;
  overflow:hidden;
  scroll-snap-align:start;
  scroll-snap-stop:always;
  background:#0a0a0a;
}
.br-feed-media,
.br-feed-media video,
.br-feed-media img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.br-feed-placeholder{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  font-size:76px;
  background:linear-gradient(155deg,#25211d,#070707 62%);
}
.br-feed-shade{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(0,0,0,.36) 0%,transparent 24%,transparent 48%,rgba(0,0,0,.36) 70%,rgba(0,0,0,.9) 100%);
}
.br-feed-sound{
  position:absolute;
  top:calc(max(10px,env(safe-area-inset-top)) + 62px);
  right:12px;
  z-index:7;
  width:34px;
  height:34px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:50%;
  background:rgba(12,12,12,.44);
  color:#fff;
  display:grid;
  place-items:center;
  padding:0;
  font-size:15px;
  backdrop-filter:blur(10px);
}
.br-feed-sound[data-sound="on"]{
  background:#fff;
  color:#111;
}

.br-feed-copy{
  position:absolute;
  left:14px;
  right:76px;
  bottom:calc(20px + env(safe-area-inset-bottom));
  z-index:5;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}
.br-feed-kind{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:0 8px;
  border-radius:999px;
  background:rgba(0,0,0,.48);
  border:1px solid rgba(255,255,255,.16);
  color:#ffb475;
  font-size:8px;
  font-weight:950;
  letter-spacing:.12em;
  margin-bottom:9px;
  backdrop-filter:blur(10px);
}
.br-feed-author{
  border:0;
  background:none;
  color:#fff;
  padding:0;
  display:flex;
  align-items:center;
  gap:8px;
  text-align:left;
}
.br-feed-author>span{
  width:32px;
  height:32px;
  border-radius:50%;
  overflow:hidden;
  background:#fff1e5;
  color:#111;
  display:grid;
  place-items:center;
  font-size:11px;
  font-weight:950;
  border:1px solid rgba(255,255,255,.25);
}
.br-feed-author>span img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.br-feed-author b{
  font-size:11px;
  font-weight:850;
}
.br-feed-copy h2{
  margin:9px 0 4px;
  max-width:520px;
  font-size:21px;
  line-height:1.08;
  letter-spacing:-.45px;
  color:#fff;
}
.br-feed-copy p{
  max-width:520px;
  margin:0 0 7px;
  color:rgba(255,255,255,.82);
  font-size:10px;
  line-height:1.4;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.br-feed-meta{
  min-height:24px;
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 9px;
  color:rgba(255,255,255,.64);
  font-size:8px;
  font-weight:750;
}
.br-feed-inline-action{
  border:0;
  background:none;
  color:rgba(255,255,255,.72);
  padding:0;
  display:inline-flex;
  align-items:center;
  gap:4px;
  font-size:8px;
  font-weight:850;
}
.br-feed-inline-action span{font-size:11px}
.br-feed-inline-action.on{color:#ffb475}

.br-feed-cta{
  width:min(100%,360px);
  min-height:46px;
  border:0;
  border-radius:13px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  font-size:11px;
  font-weight:950;
  text-decoration:none;
  letter-spacing:.01em;
  box-shadow:none;
}
.br-feed-cta.recipe,
.br-feed-cta.restaurant,
.br-feed-cta.product{
  background:#ff7600;
  color:#fff;
}
.br-feed-cta.product.in-basket{
  background:#e9f7ee;
  color:#1b6238;
}
.br-feed-cta:disabled{opacity:1}

.br-feed-actions{
  position:absolute;
  right:8px;
  bottom:calc(22px + env(safe-area-inset-bottom));
  z-index:6;
  width:58px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:11px;
}
.br-feed-action{
  width:54px;
  border:0;
  background:none;
  color:#fff;
  padding:0;
  display:grid;
  justify-items:center;
  gap:3px;
  text-shadow:0 2px 8px rgba(0,0,0,.5);
}
.br-feed-action>span{
  width:42px;
  height:42px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(12,12,12,.46);
  border:1px solid rgba(255,255,255,.18);
  font-size:19px;
  backdrop-filter:blur(10px);
}
.br-feed-action>b{
  min-width:20px;
  text-align:center;
  color:#fff;
  font-size:7px;
  line-height:1.1;
  font-weight:800;
}
.br-feed-action.on>span{
  background:#ff7600;
  border-color:#ff9d50;
}
.br-feed-action.metric{display:none!important}

.br-feed-location-empty,
.br-feed-empty{
  height:100dvh;
  padding:32px;
  display:grid;
  place-content:center;
  text-align:center;
  background:radial-gradient(circle at 50% 30%,#322318,#070707 58%);
}
.br-feed-location-empty>span{font-size:42px}
.br-feed-location-empty h2,
.br-feed-empty h2{
  margin:10px 0 6px;
  font-size:24px;
  letter-spacing:-.6px;
}
.br-feed-location-empty p,
.br-feed-empty p{
  max-width:380px;
  margin:0 auto;
  color:#b8b8b8;
  font-size:10px;
  line-height:1.5;
}
.br-feed-location-empty button{
  justify-self:center;
  margin-top:15px;
  border:0;
  border-radius:12px;
  background:#ff7600;
  color:#fff;
  padding:11px 14px;
  font-size:10px;
  font-weight:900;
}

/* Comments should feel like part of the same product, not a separate utility. */
.br-comments-sheet{
  position:fixed;
  inset:0;
  z-index:13000;
  background:rgba(0,0,0,.54);
  display:flex;
  align-items:flex-end;
  backdrop-filter:blur(3px);
}
.br-comments-sheet[hidden]{display:none}
.br-comments-panel{
  width:min(680px,100%);
  max-height:min(72dvh,760px);
  margin:0 auto;
  overflow:hidden;
  border-radius:24px 24px 0 0;
  background:#fff;
  color:#111820;
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto;
  padding-bottom:env(safe-area-inset-bottom);
}
.br-comments-panel header{
  padding:15px 16px;
  border-bottom:1px solid #eeeae3;
}
.br-comments-panel header b{
  font-size:14px;
}
.br-comments-panel header button{
  width:32px;
  height:32px;
  border:0;
  border-radius:50%;
  background:#f3f1ed;
  color:#111820;
}
.br-comments-list{padding:4px 16px}
.br-comments-list article{
  padding:12px 0;
  border-bottom:1px solid #f0ede8;
}
.br-comments-list article b{font-size:10px}
.br-comments-list article p{
  margin:4px 0;
  font-size:11px;
  line-height:1.45;
}
.br-comments-panel form{
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  padding:10px 12px;
  border-top:1px solid #eeeae3;
}
.br-comments-panel input{
  min-width:0;
  border:1px solid #ded9d1;
  border-radius:999px;
  background:#f8f7f4;
  padding:11px 13px;
  font-size:11px;
}
.br-comments-panel form button{
  border:0;
  border-radius:999px;
  background:#ff7600;
  color:#fff;
  padding:0 15px;
  font-size:10px;
  font-weight:900;
}

@media(max-width:520px){
  .br-feed-top{
    grid-template-columns:40px minmax(0,1fr) 40px;
    padding-left:7px;
    padding-right:7px;
  }
  .br-feed-top>button,
  .br-feed-top-actions>button{
    width:36px;
    height:36px;
  }
  .br-feed-tabs{gap:12px}
  .br-feed-tabs button{font-size:9px}
  .br-feed-copy{
    left:12px;
    right:70px;
    bottom:calc(18px + env(safe-area-inset-bottom));
  }
  .br-feed-copy h2{font-size:19px}
  .br-feed-actions{
    right:4px;
    bottom:calc(18px + env(safe-area-inset-bottom));
    gap:9px;
  }
  .br-feed-action{width:52px}
  .br-feed-action>span{
    width:40px;
    height:40px;
    font-size:18px;
  }
  .br-feed-cta{
    min-height:44px;
    font-size:10px;
  }
}

@media(max-height:720px){
  .br-feed-actions{gap:6px}
  .br-feed-action>span{
    width:36px;
    height:36px;
    font-size:17px;
  }
  .br-feed-copy h2{font-size:18px}
  .br-feed-copy p{-webkit-line-clamp:1}
}

@media(min-width:900px){
  .br-feed-scroll{background:#111}
  .br-feed-reel{max-width:620px;margin:0 auto}
  .br-feed-top{max-width:650px;margin:0 auto;left:50%;right:auto;width:650px;transform:translateX(-50%)}
}
