:root{
  --ink:#111;
  --muted:#6b7280;
  --paper:#fff;
  --line:#eaecef;

  --accent-a:#32c1b1;
  --accent-b:#5c7cff;
  --accent-c:#34d399;

  --max:1220px;

  color-scheme: light;

  --pc-side-w:230px;
  --pc-side-gap:18px;
  --pc-nav-h:60px;
}

.home-logo,
.home-logo *{
  -webkit-user-select: none;
  user-select: none;
}

.home-logo img{
  -webkit-user-drag: none;
}

.nav-search__input::-webkit-search-cancel-button,
.home-search__input::-webkit-search-cancel-button{
  cursor: pointer;
}

/* But let the feed take the full width */
.home-ins,
.home-news{
  max-width: 1220px;
  margin-left:auto;
  margin-right:auto;
}

.home-ins{
  margin-top: 18px;    
  padding: 14px;
  border-radius: 22px;
  /* background: rgba(255,255,255,.35); */
}

/* Header: centered search replaces tabs */
.logo-head{
  text-decoration: none;
  color: inherit;
  display:flex;
  align-items:center;
  gap:16px;
}

.nav-search{
  flex: 1 1 520px;
  display:flex;
  justify-content:center;
  position: relative;           /* IMPORTANT: dropdown anchors here */
  width: 100%;
  max-width: 800px;             /* SAME as your old input cap */
  margin-left: 30px;
  margin-right: auto;
}

/* DEFAULT (not focused): keep old size */
.nav-search__input{
  width: 100%;
  font-size: 17px;
  height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid #e1e6ee;
  background: rgba(255,255,255,.94);
  color: #111;
  outline: none;
  transition: 
    box-shadow .15s ease, 
    border-radius 0s, 
    background .15s ease, 
    height .15s ease, 
    font-size .15s ease, 
    padding .15s ease;
}

/* EXPANDED (focused): Google-like size */
.nav-search__input:focus{
  font-size: 18px;
  padding: 0 18px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
}

/* EXPANDED + "one connected piece" while dropdown is open */
.nav-search.is-open .nav-search__input{
  border-color: #e5e7eb;
  font-size: 18px;
  padding: 0 18px;
  height: 48px;
  border-radius: 18px 18px 0 0;
  border-bottom-color: transparent;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
}

/* Home deal cards: left vertical logo stack */
.home-deal__body{
  display: flex;
  gap: 12px;
}

/* Overlapping vertical stack (top icon fully visible, next ones behind it) */
.home-deal__icons{
  flex: 0 0 36px;
  width: 36px;
  min-height: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

/* Control overlap amount here */
.home-deal__icon{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.10);
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;

  margin-top: -12px;
  position: relative;
}

/* First one should not be pulled upward */
.home-deal__icon:first-child{
  margin-top: 0;
}

/* Keep the first icon on top, next ones behind it */
.home-deal__icon:nth-child(1){ z-index: 10; }
.home-deal__icon:nth-child(2){ z-index: 9; }
.home-deal__icon:nth-child(3){ z-index: 8; }
.home-deal__icon:nth-child(4){ z-index: 7; }

.home-deal__content{
  min-width: 0;
  flex: 1 1 auto;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}

.home-deal__icon img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.home-deal__icon--fallback{
  font-weight: 500;
  font-size: 16px;
}

.home-deal__media{
  position:relative;
  width:100%;
}

.home-deal__score{
  position:absolute;
  right:10px;
  bottom:10px;
  z-index:2;
  width:32px;
  height:32px;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:16px;
  line-height:1;
  font-weight:700;
  color:#fff;
  box-shadow:0 8px 20px rgba(15,23,42,.18);
}

.home-deal__score--great{ background:#67c27d; }
.home-deal__score--good{ background:#84cc16; }
.home-deal__score--mixed{ background:#f59e0b; }
.home-deal__score--low{ background:#ef4444; }

@media (max-width:530px){
  .home-deal__score{
    right:8px;
    bottom:8px;
    width:38px;
    height:38px;
    border-radius:10px;
    font-size:18px;
  }
}

.home-deal__icon--more{
  background: #f3f4f6;
}

.home-deal__coupon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:24px;
  padding:0 9px;
  border-radius:9px;
  background:#dbeafe;
  color:#1d4ed8;
  font-size:14px;
  font-weight:500;
  line-height:1;
  letter-spacing:-0.01em;
  white-space:nowrap;
  flex:0 0 auto;
}

@media (max-width: 440px){
  .home-deal__coupon{
    min-width: 18px;
    border-radius: 6px;
    font-size: 0;
    letter-spacing: 0;
  }

  .home-deal__coupon::before{
    content: "C";
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
  }
}

/* Keep header tidy on smaller screens */
@media (max-width: 900px){
  .logo-head .brand{
    display: none;
  }
}

@media (max-width: 560px){
  .pc-ac__count{ display:none; }  /* hide only the number */
  .pc-ac__pill{ display:none; }
  .nav-actions {margin-left: 6px;}
}

/* Search + AI circle container */
.nav-searchwrap{
  flex: 1 1 520px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  width: 100%;
  max-width: 880px;   /* search + button total */
  margin-left: 30px;
  margin-right: auto;
}

/* Let the form take remaining space */
.nav-search{
  flex: 1 1 auto;
  display:flex;
  justify-content:center;
  position: relative; /* keeps dropdown anchored */
  width: 100%;
  max-width: none;    /* controlled by wrap now */
  margin-left: 0;
  margin-right: 0;
}

/* AI circle button */
.nav-ai{
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #e1e6ee;
  background: rgba(255,255,255,.94);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  transition: transform .12s ease, box-shadow .15s ease, border-color .15s ease;
}

.nav-ai:hover{
  transform: translateY(-1px);
  border-color: #e1e6ee;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
}

.nav-ai:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 4px rgba(255,220,120,.30),
    0 0 16px 7px rgba(255,200,80,.35);
}

.nav-ai__icon{
  width: 30px;
  height: 30px;
  display:block;
  object-fit: contain;
}

/* Mobile: hide the AI button if space gets tight */
@media (max-width: 560px){
  .nav-ai{ display:none; }
  .nav-searchwrap{ margin-left: 12px; }
}


*{box-sizing:border-box}
html{
  overflow-y: scroll;
}
html,body{min-height:100%}
body{
  margin:56px 0 0 0;
  background: #f5f5f7;
  color:var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Google Sans", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}

.nav{
  position:fixed;top:0;left:0;right:0;background:rgba(255,255,255,.06);backdrop-filter:saturate(160%) blur(8px);border-bottom:1px solid var(--line);z-index:1000;
  margin:0 auto; padding:10px 30px 10px 0; height: 56px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.logo{font-weight:800; letter-spacing:-.01em; color:inherit; text-decoration:none}
.links{display:flex; gap:26px; align-items:center}
.links a{color:#1f2937; text-decoration:none; padding-bottom:4px}
.links a.active{border-bottom:2px solid #111}
.btn{
  text-align: center; 
  display:inline-flex; 
  align-items:center; 
  justify-content:center; 
  text-decoration:none;
  border-radius:999px; 
  padding: 10px 26.88px; 
  font-size: 17px;
  cursor: pointer;
  font-weight:500;
  border: 1px solid #e1e6ee;
  color:#111; 
  background:#fff;
}
.btn--outline:hover{background:#111; color:#fff}

.hero{
  display:grid; min-height:calc(65vh - 74px);
  padding:40px 20px;
}
.hero__stack{max-width:980px; margin:0 auto}
.display{
  font-size:clamp(80px, 5vw, 144px);
  line-height:1.2; letter-spacing:-.02em; margin:0 0 20px; font-weight:500;
}
.accent{
  background:linear-gradient(90deg,var(--accent-a),var(--accent-b),var(--accent-c));
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
}
.sub{
  color:var(--muted); font-size:clamp(18px, 2.2vw, 28px);
  line-height:1.35; max-width:700px;
}
.btn--solid{
  background:#111; color:#fff; border-color:#111;
  padding:14px 22px; border-radius:24px; box-shadow:0 6px 24px rgba(0,0,0,.12);
}

.btn--lg{font-size:20px; padding:18px 28px; border-radius:30px;
  transition: box-shadow .25s ease, transform .15s ease;
}

.btn--lg:hover,
.btn--lg:focus-visible{
  box-shadow:
    0 0 0 4px rgba(255,220,120,.30),   /* even ring */
    0 0 16px 7px rgba(255,200,80,.35); /* ambient glow */
}

.logo {
    width: 56px;
}

.pc-slab{padding:96px 0;border-top:1px solid #eaeaea;}
.pc-wrap{max-width:1180px;margin:0 auto;padding:0 24px}

.pc-feature{
  display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center;
}

.pc-feature__text{max-width:720px}
.pc-h2{margin:0 0 18px;font-size:clamp(28px,3.6vw,44px);line-height:1.05;letter-spacing:-.01em;font-weight:500}
.pc-lead{margin:0 0 30px;color:#555;font-size:22px}
.pc-points{margin:10px 0 0;padding-left:18px;color:#222}
.pc-points li{margin:10px 0; font-size: 25px;}

.pc-feature__media{display:flex;justify-content:flex-end}
.pc-feature__media img{
  width:100%;max-width:640px;height:auto;display:block;
  border-radius:24px;border:1px solid #e9e9e9;box-shadow:0 12px 40px rgba(0,0,0,.08);
  object-fit:cover;background:#fafafa;
}

.wordmark {
  font-size: 20px; font-weight: 500; color: inherit; text-decoration: none;
}

.brand{
  display:flex; flex-direction:column; align-items:flex-start; line-height:1;
}

.edition{
  margin-top:4px;
  font-size: 13px;
  white-space: nowrap;
  line-height:1;
  color:var(--muted);
}

.faq__title{
  text-align:center;
  font-size:clamp(34px, 5.5vw, 56px);
  line-height:1.08;
  letter-spacing:-.01em;
  margin:0 0 60px;
  font-weight:400;
}

.faq__list{
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq__item{
  background:white;
  border:1px solid #eceff3;
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.faq__q{
  cursor: pointer;
  list-style: none;
  font-size: 25px;
  font-weight: 400;
  color:#111;
}

.faq__q::-webkit-details-marker{ display:none; }

.faq__a{
  margin-top: 20px;
  color:#4b5563;
  font-size: 22px;
  line-height: 1.5;
}

.faq__item[open]{
  border-color: rgba(0,0,0,0.10);
}

.trust{
  background:#f8fafc; 
  border-top:1px solid var(--line);
  padding:100px 0 100px;
}
.trust__title{
  font-size:clamp(36px, 6.5vw, 60px);
  line-height:1.08; letter-spacing:-.01em;
  font-weight:400;
  margin-top: 0;
}
.trust__sub{
  color:var(--muted);
  font-size:clamp(25px, 2.3vw, 28px);
  line-height:1.4;
}
.trust__figure{ margin:0; }
.trust__img{
  width:400px; height:auto; display:block; margin:0 auto;
  filter: drop-shadow(0 8px 28px rgba(0,0,0,.08));
}

.use { background:#fff; }
.use__title{
  font-size:clamp(34px, 5.5vw, 56px);
  line-height:1.08; letter-spacing:-.01em;
  margin:0 0 100px; font-weight:400;
}
.use__grid{
  align-items: center;
  justify-content: center;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:100px;
}
.use__icon{
  width:80px; 
  height:80px; 
  margin: 0 auto 18px;
  padding:8px; 
  object-fit:contain; 
}

.pc-ac{
  position: absolute;
  top: 100%;                    /* attach directly */
  left: 0;
  right: 0;
  width: 100%;

  margin-top: 0;                /* no gap */
  background: #fff;
  border: 1px solid #e5e7eb;
  border-top: 0;                /* merge border with input */
  border-radius: 0 0 18px 18px; /* bottom only */
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  z-index: 9999;
}

.pc-ac[hidden] { display: none; }

.pc-ac__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
}

.pc-ac__item:hover,
.pc-ac__item.is-active {
  background: #f8fafc;
}

.pc-ac__left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pc-ac__label {
  font-size: 17px;
  color: #0b0f19;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pc-ac__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.pc-ac__pill {
  font-size: 15px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  color: #334155;
  background: #fff;
}

.pc-ac__count {
  font-size: 16px;
  color: #64748b;
}
.use__h3{
  margin:0 0 8px;
  font-size:clamp(20px, 2.6vw, 26px);
  line-height:1.15; letter-spacing:-.01em;
}
.use__p{
  margin:0 0 10px; color:#4b5563;
  font-size:clamp(15px, 2vw, 17px); line-height:1.55;
}
.say { background:#fff; }
.say__title{
  text-align:center;
  font-size:clamp(34px, 5.5vw, 56px);
  line-height:1.08; letter-spacing:-.01em;
  margin:0 0 100px; font-weight:400;
}

.say__rail{
  display:flex; gap:28px; overflow-x:auto; padding:4px;
  scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
}

em {
  font-style: normal;
}
.say__card{
  flex:0 0 520px; 
  background:#f7f7fb; border:1px solid #eceff3;
  border-radius:24px; padding:28px; scroll-snap-align:start;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}
.say__quote{
  margin:0 0 36px;
  font-size:clamp(20px, 2.6vw, 26px);
  line-height:1.35; color:#374151; font-weight:500;
  quotes:"“" "”" "‘" "’";
}
.say__quote:before{content:open-quote}
.say__quote:after{content:close-quote}

.say__byline{display:flex; align-items:center; gap:12px}
.say__logo{
  width:40px; height:40px; border-radius:9999px; object-fit:cover;
  background:#fff; border:1px solid #e6e6e6;
}
.say__brand{font-size:15px; color:#6b7280}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bridge{
  font-size: 30px;
  max-width: 1000px;
  font-weight: 400;
  margin: 0 auto;
  line-height: 1.2;
}

.pc-footer{
  position: relative;
  border-top:1px solid var(--line);
  background:#0E0E0E;
  color:rgb(214, 214, 214);
  font-size:14px;
  overflow: hidden;
}

.pc-footer__inner{
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 24px 32px;

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 48px;
  align-items: end;
}

.pc-footer__desc{
  margin: 0;
  max-width: 760px;
  color: #d6d6d6;
  line-height: 1.55;
  text-align: left;
}

.pc-footer__links{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}

.pc-footer__links a{
  color: #e5e7eb;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity .15s ease, color .15s ease;
  white-space: nowrap;
}

.pc-footer__links a:hover,
.pc-footer__links a:focus-visible{
  opacity: 1;
  color: #ffffff;
}

.pc-footer__logo{
  position: absolute;
  left: 0;
  bottom: 0;
  width: 150px;
  height: auto;
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 900px){
  .pc-footer__inner{
    grid-template-columns: 1fr;
    align-items: start;
  }

  .pc-footer__links{
    justify-content: flex-start;
    gap: 18px 24px;
  }
}

.nav-search__input::placeholder{
  color: rgba(17,24,39,.55);
  text-align:center;
  opacity:1;
  transition:opacity .12s ease;
}

.nav-search__input:focus{
  text-align:left; /* or start */
}

.nav-search__input:focus::placeholder{
  opacity:0;
}

.nav-search__input:not(:placeholder-shown){
  text-align:left; /* or start */
}

.pc-footer .pc-wrap{
  padding:26px 24px 32px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:12px 32px;
}

/* Main description */
.pc-footer p:first-child{
  margin:0;
  flex:1 1 260px;
  max-width:720px;
  color:rgb(214, 214, 214);
  line-height:1.5;
}

/* Link row */
.pc-footer p:not(:first-child){
  margin:0;
  flex:0 0 auto;
  font-weight:500;
}

.pc-footer a{
  color:#e5e7eb;
  text-decoration:none;
  opacity:0.85;
  transition:opacity .15s ease, color .15s ease;
}

.pc-footer a:hover,
.pc-footer a:focus-visible{
  opacity:1;
  color:var(--paper);
}

/* mobile breakpoint */
@media (max-width: 900px){
  .nav .links{ display: none; }

  .nav-signin-btn{
    min-width: 44px !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    justify-content: center !important;
    gap: 0 !important;
  }

  .nav-search__input{
    height: 44px !important;
  }

  .nav-signin-btn__text{
    display: none !important;
  }

  .nav-signin-btn__icon{
    display: inline-flex !important;
  }
}

/* Mobile stack */
@media (max-width:720px){
  .pc-footer .pc-wrap{
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
  }

  .home-logo__word {
    display: none;
  }

  .pc-footer p:not(:first-child){
    display:inline-flex;
    gap:14px;
  }
}


@media (min-width:1100px){
  .say__rail{
    display:grid; grid-template-columns:repeat(4, 1fr); gap:32px; overflow:visible;
  }
  .say__card{flex:auto}
}

@media (max-width:980px){
  .pc-feature{grid-template-columns:1fr;gap:28px}
  .pc-feature__media{justify-content:center}
  .use__grid{ grid-template-columns:1fr; gap:28px; }
  .trust__img{ width: 300px; }
  .say__card{ flex: 0 0 0; }
  .say__rail{ flex-direction:column}
  .use__item{ margin-bottom: 20px;}
}

@media (max-width:880px){
  .links{display:none}
}

/* Trends layout inside #homeInsList */
.trends{
  display:grid;
  gap:16px;
}

.trends-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}

@media (max-width: 980px){
  .trends-grid{ grid-template-columns:1fr; }
}

.trends-card{
  background:#fff;
  border:1px solid rgba(17,24,39,.12);
  border-radius:18px;
  padding:14px;
}

.trends-card__k{
  color: rgba(17,24,39,.55);
  font-size: 18px;
  margin:0 0 6px;
}

.trends-card__v{
  font-size: 40px;
  font-weight: 600;
  margin:0 0 6px;
}

.trends-card__n{
  color: rgba(17,24,39,.60);
  font-size: 16px;
  margin:0;
  line-height:1.4;
}

.trends-row{
  display:flex;
  gap:12px;
  align-items:flex-start;
  color: inherit;
  text-decoration: none;
  padding:10px 0;
  border-top:1px solid rgba(17,24,39,.08);
}

.trends-row:first-child{ border-top:none; padding-top:0; }

.trends-row__main{ flex:1 1 auto; }
.trends-row__title{ margin:0 0 3px; font-weight:600; font-size: 20px; }
.trends-row__meta{ margin:0; color: rgba(17,24,39,.60); font-size: 16px; }

.trends-pill{
  flex:0 0 auto;
  font-size: 14px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(17,24,39,.14);
  background: rgba(255,255,255,.7);
}

.ins-list.is-trends{
  display:block !important;
}

/* Top-left "My Mission" link */
.home-top__link{
  color: rgba(17,24,39,.72);
  text-decoration: none;
  font-weight: 520;
  font-size: 16px;
  line-height: 1;
  margin-right: 15px;
}

.home-top__link:hover,
.home-top__link:focus-visible{
  color: rgba(17,24,39,.92);
}

.home-top{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.home-top__right{
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.home-search__input:placeholder-shown{
  text-align: center;
}

.home-search__input:not(:placeholder-shown){
  text-align:left;
}

.home-search__input:focus{
  text-align:left;
}

.home-search__input:focus::placeholder{
  opacity:0;
}

.home-logo{
  display:flex;
  justify-content: center;
  flex-direction:row;
  align-items:center;
  gap:15px;
  margin-bottom: 24px;
}

.home-logo__img{
  width: 120px;
  height: 120px;
  object-fit:contain;
}

.home-logo__word{
  margin-left: 15px;
  font-size: 90px;
  font-weight: 630;
  letter-spacing: -0.02em;
}

  /* ===== Staggered enter animation (top to bottom) ===== */
.card.item.pc-enter{
  opacity: 0;
  transform: translateY(10px);
}

.card.item.pc-enter.pc-enter-active{
  opacity: 1;
  transform: translateY(0);
  transition: opacity 420ms ease, transform 420ms ease;
  transition-delay: var(--pc-delay, 0ms);
}

@media (prefers-reduced-motion: reduce){
  .card.item.pc-enter,
  .card.item.pc-enter.pc-enter-active{
    opacity: 1;
    transform: none;
    transition: none;
    transition-delay: 0ms;
  }
}

@media (max-width: 430px){
  .home-tabs .home-tab[data-home-tab="blogs"]{
    display:none;
  }
}

@media (max-width: 350px){
  .home-tabs .home-tab[data-home-tab="guides"]{
    display:none;
  }
}

/* IMPORTANT: anchors the .pc-ac dropdown under the home input */
.home-search{ position: relative; }

/* DEFAULT (not focused): keep it smaller like the old home input */
.home-search__input{
  box-sizing: border-box;
  width:100%;
  height:56px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 18px;
  outline: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  border-color: rgba(17,24,39,.35);
}

/* EXPANDED (focused): the current “Google-like” size */
.home-search__input:focus{
  height:56px;
  padding: 0 18px;
  font-size: 18px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
}

/* EXPANDED + connected-piece when autocomplete is open */
.home-search.is-open .home-search__input{
  border-color: #e5e7eb;
  height:56px;
  padding: 0 18px;
  font-size: 18px;
  border-radius: 18px 18px 0 0;
  border-bottom-color: transparent;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
}

.home-tabs{
  margin-top: auto;              /* this is the key */
  padding: 18px 0 8px;
  display:flex;
  justify-content:center;
  gap: 24px;
  flex-wrap:wrap;
  max-width: 860px;
  margin-left:auto;
  margin-right:auto;
}

.home-tab{
  font-size: 20px;
  color: var(--muted);
  text-decoration:none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.home-tab:hover{ color: var(--ink); }

.home-tab.is-active{
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* Homepage News block */
.home-news{
  margin-top: 24px;
  text-align: left;
}

.home-news__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom: 10px;
}

.home-news__title{
  font-size: 18px;
  margin: 0;
  font-weight: 650;
}

.home-news__list{
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow:hidden;
}

.home-news-item{
  display:block;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-decoration:none;
  color: inherit;
}

.home-news-item:last-child{ border-bottom:none; }
.home-news-item:hover{ background: var(--surface-2); }

.home-news-item__title{
  font-size: 15px;
  line-height: 1.35;
}

.home-news-item__meta{
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.home-news__empty{
  padding: 14px;
  color: var(--muted);
  font-size: 14px;
}

/* Skeleton shimmer */
.home-news__skeleton{
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow:hidden;
  margin-bottom: 10px;
}

.home-skel-row{
  height: 44px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #f3f4f6, #fafafa, #f3f4f6);
  background-size: 200% 100%;
  animation: homeShimmer 1.2s ease-in-out infinite;
}
.home-skel-row:last-child{ border-bottom:none; }

@keyframes homeShimmer{
  0%{ background-position: 200% 0; }
  100%{ background-position: -200% 0; }
}

/* keep the search bar constrained */
.home-search{
  width: min(900px, 92vw);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 120px;
  margin-top: 10px;
}

.home-deals{
  width: 100%;
  max-width: none;
  margin: 80px 0 0;
  padding: 0 24px; /* keeps it off the edges */
}

.home-deals__head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}

/* ===========================
   Home layout: feed + sidebar
   =========================== */

.home-layout{
  width: 100%;
  max-width: none;
  box-sizing: border-box;

  display: grid;
  grid-template-columns: var(--pc-side-w) minmax(0, 1fr);
  gap: var(--pc-side-gap);

  padding-left: 18px;
  padding-right: 8px;
  align-items: start;
}

.home-deal{
  position: relative;
}

.home-deal__shortlist{
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;

  width: 34px;
  height: 34px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.96);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #6b7280;
  padding: 0;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease, visibility .15s ease, border-color .15s ease, background .15s ease;
}

.home-side__subs-avatar{
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fff;
}

.home-side__subs-avatar--brand{
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
}

.home-side__subs-avatar--brand img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.home-side__subs-avatar-fallback{
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: #111;
  background: #f3f4f6;
  border-radius: 999px;
}

.home-deal:hover .home-deal__shortlist,
.home-deal__shortlist.is-active{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.home-deal__shortlist:hover{
  border-color: rgba(0,0,0,0.18);
  background: #fff;
}

.home-deal__shortlist.is-active{
  color: #16a34a;
  border-color: rgba(22,163,74,0.28);
  background: #f0fdf4;
}

.home-deal__shortlist svg{
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
  pointer-events: none;
}

.shortlist-rail{
  display: none;
}

body.has-shortlist .shortlist-rail{
  display: block;
}

.home-deal{
  position: relative;
}

.home-deal__link{
  display: block;
  color: inherit;
  text-decoration: none;
}

@media (min-width: 1280px){

  .home-main{
    min-width: 0;
    padding-right: 0;
    transition: padding-right .18s ease;
  }

  body.has-shortlist .home-main{
    padding-right: 68px;
  }

  .shortlist-mini-remove:hover{
    transform: scale(1.05);
  }

  .shortlist-mini-item--launch{
    position: relative !important;
    margin-top: auto;
    width: 70px !important;
    height: 40px !important;
    flex: 0 0 auto !important;
  }

  .shortlist-mini-item--launch:hover{
    width: 80px !important;
  }

  .shortlist-mini-link--launch{
    display: flex;
    align-items: center;
    justify-content: start;
    width: 100%;
    height: 40px !important;
    padding-left: 14px;
    border-top-left-radius: 999px !important;
    border-bottom-left-radius: 999px !important;
    background: #fff;
    color: #111;
    text-decoration: none;
  }

  .shortlist-mini-launch-icon{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
  }

  .shortlist-mini-launch-icon svg{
    width: 26px;
    height: 26px;
    display: block;
  }

  .shortlist-mini-launch-icon svg path{
    fill: currentColor;
  }
}

.pc-page-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--pc-side-w);
  gap: var(--pc-side-gap);
  align-items: start;
  width: 100%;
  padding-top: 70px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

@media (max-width: 980px){
  .pc-page-layout{
    grid-template-columns: 1fr;
    padding-left: 10px;
    padding-right: 10px;
  }
}

.pc-you-page .pc-updates-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) var(--pc-side-w);
  gap:var(--pc-side-gap);
  align-items:start;
  width:100%;
  padding-top:70px;
  padding-left:20px;
  padding-right:20px;
  box-sizing:border-box;
}

.home-main{ min-width: 0; }

.home-side{
  width: var(--pc-side-w);
  min-width: var(--pc-side-w);
  justify-self: start;
  align-self: start;
  min-height: 240px;
}

.home-side__inner{
  position: fixed;
  top: 64px;
  left: 18px;
  width: var(--pc-side-w);
  height: calc(100vh - 73px);
  display: flex;
  flex-direction: column;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: #fff;
  border-radius: 16px;
  padding: 10px;
}

.home-side__section[aria-label="Library"]{
  margin-top: auto;
}

.home-side__title{
  margin: 20px 8px 10px;
}

.home-side__sub{
  margin: 14px 8px 8px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 650;
}

.home-side__sep{
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 10px 6px;
}

.home-side__item{
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: #111;
  user-select: none;
}

.home-side__item:hover{
  background: rgba(0,0,0,0.04);
}

.home-side__item.is-active,
.home-side__item[aria-current="page"]{
  background: rgba(0,0,0,0.06);
  font-weight: 500;
}

.home-side__item.is-disabled{
  opacity: 0.55;
  cursor: not-allowed;
}

.home-side__item.is-disabled:hover{
  background: transparent;
}

.home-side__icon{
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.home-side__label{ min-width: 0; }
.home-side__soon{
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}

.home-side__list .home-side__item--thin{
  padding: 9px 12px;
  gap: 10px;
}

.home-side__more{
  display: inline-flex;
  margin: 10px 8px 6px;
  color: #111;
  text-decoration: underline;
  font-weight: 600;
}

.home-pills{
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 36px;
  margin: 7px 0 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.home-pill{
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: #111;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  flex: 0 0 auto;
}

.home-pill:hover{
  border-color: rgba(0,0,0,0.16);
}

/* Make the deals section behave inside the new grid */
.home-main .home-deals{
  margin: 0;
  padding: 0;
}

@media (max-width: 980px){
  .home-layout,
  .pc-you-page .pc-updates-layout{
    grid-template-columns: 1fr;
    padding-left: 10px;
    padding-right: 10px;
  }

  .home-side{
    display: none;
  }

  .home-side__inner{
    position: static;
    width: auto;
    height: auto;
  }

  .home-pills{
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.home-deals__title{
  font-size: 14px;
  font-weight: 650;
  color:#111;
}

.home-deals__grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap:12px;
  width: 100%;
}

/* Mobile: force 2-up grid */
@media (max-width: 560px){
  .home-deals{ padding: 0 12px; }
  .nav{ padding: 10px 8px 10px 0;gap: 0px;}

  .home-deal__range {
    display: none;
  }

  .home-deal__shortlist{
    display: none;
  }

  .home-deals__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home-deal__title{
    font-size: 14px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    min-height: calc(1.25em * 2);
    margin-bottom: 8px;
  }
}

/* Ultra-narrow: fall back to 1 column */
@media (max-width: 320px){
  .home-deals__grid{ grid-template-columns: 1fr; }
}

.home-deal{
  display:flex;
  gap:10px;
  padding:10px;
  border-radius:12px;
  background:#fff;
  text-decoration:none;
  color:inherit;
  flex-direction: column;
  align-items: stretch;
}

.home-deal:hover{
  border-color: rgba(0,0,0,0.14);
}

.home-deal__img{
  width:100%;
  height:auto;
  aspect-ratio: 1 / 1;
  border-radius:12px;
  object-fit: contain;
  flex:0 0 auto;
  display:block;
}

.home-deal__body{
  min-width:0;
  flex:1;
}

.home-deal__title{
  font-size:16px;
  font-weight:450;
  line-height:1.2;
  -webkit-line-clamp:2;
  min-height: 38.3958px;
  margin-bottom: 0;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.home-deal__meta{
  display:flex;
  align-items:center;
  gap:6px;
  margin-top: auto;
  margin-bottom: 0;
}

.home-deal__price{
  font-size:18px;
  font-weight:600;
}

.home-deal__range{
  font-size:14px;
  color:#6b7280;
}

.home-deal__sub{
  display:flex;
  gap:10px;
  font-size:14px;
  color:#6b7280;
}

/* Make it denser on wide screens */
@media (min-width: 980px){
  .home-deals__grid{ gap:10px; }
  .home-deal{ padding:9px; }
}

.home-fold{
  min-height: calc(100vh - 110px);
  height: auto;
  overflow: visible;
  padding-top: clamp(24px, 3vh, 110px);
  padding-bottom: 24px;
  display:flex;
  flex-direction:column;
}

.home-logo,
.home-search{
  flex: 0 0 auto;
}

.home-center{
  min-height: 100vh;
  display:block;
  padding-top: 0;
}

.home-center__inner{
  width: 100%;
  max-width: none;
}

/* Locked tabs should not feel "red / no sign" */
.pc-tab.is-disabled{
  cursor: pointer;          /* makes it feel clickable */
  opacity: 0.75;            /* subtle "locked" hint */
}

.pc-tab.is-disabled:hover{
  opacity: 1;
}

.pc-home .home-side__inner{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Small toast for "A PriceCheck+ Feature" */
.pc-plus-toast{
  position: fixed;
  left: 50%;
  top: calc(var(--pc-nav-h, 60px) + 12px);
  transform: translateX(-50%);
  z-index: 9999;

  background: rgba(17,17,17,0.95);
  color: #fff;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.2;

  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
  opacity: 0;
  pointer-events: none;

  transition: opacity 200ms ease;
}

.pc-plus-toast.is-show{
  opacity: 1;
}

.pc-timeline-item__top{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  column-gap: 12px;
}

.pc-timeline-item__title{
  min-width: 0;
  line-height: 1.25;
}

.pc-timeline-item__aside{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 4px;
  white-space: nowrap;
}

.pc-timeline-item__date{
  margin: 0;
  line-height: 1.2;
}

.pc-timeline-item__link{
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.pc-timeline-item__link:hover{
  text-decoration: underline;
}

body.pc-signin-open{
  overflow: hidden;
}

.pc-signin{
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: start center;
  padding: clamp(96px, 14vh, 140px) 16px 24px;
}

.pc-signin[hidden]{
  display: none;
}

.pc-signin__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.28);
  backdrop-filter: blur(4px);
}

.pc-signin__card{
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  background: #fff;
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 24px 80px rgba(15,23,42,.18);
}

.pc-signin__head{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.pc-signin__title{
  margin: 0 0 6px;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.pc-signin__sub{
  margin: 0;
  color: #6b7280;
  font-size: 15px;
  line-height: 1.45;
}

.pc-signin__close{
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.10);
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pc-signin__close:hover{
  background: #f8fafc;
}

.pc-signin__form{
  display: grid;
  gap: 10px;
}

.pc-signin__label{
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-top: 2px;
}

.pc-signin__input{
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(17,24,39,.12);
  background: #fff;
  color: #111;
  font-size: 16px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.pc-signin__input:focus{
  border-color: rgba(17,24,39,.22);
  box-shadow: 0 0 0 4px rgba(17,24,39,.05);
}

.pc-signin__submit{
  width: 100%;
  margin-top: 6px;
  min-height: 48px;
  justify-content: center;
}

.pc-signin__note{
  margin: 2px 0 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

.pc-signin__status{
  margin: 4px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(17,24,39,.08);
  color: #111827;
  font-size: 14px;
  line-height: 1.35;
}

@media (max-width: 560px){
  .pc-signin{
    padding-top: calc(var(--pc-nav-h, 80px) + 14px);
    padding-left: 10px;
    padding-right: 10px;
  }

  .pc-signin__card{
    border-radius: 18px;
    padding: 16px;
  }

  .pc-signin__title{
    font-size: 24px;
  }
}

/* =========================
   Auth pages
   ========================= */

.pc-auth-page{
  background: #f5f5f7;
}

.pc-auth-main{
  min-height: calc(100vh - 120px);
  padding-top: 10px !important;
  padding:
    calc(var(--pc-nav-h, 80px) + 36px)
    16px
    56px;
}

.pc-auth-wrap{
  width: min(100%, 520px);
  margin: 0 auto;
}

.pc-auth-card{

}

.pc-auth-eyebrow{
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #64748b;
}

.pc-auth-title{
  margin: 0 0 10px;
  font-size: clamp(34px, 5vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: #111827;
}

.pc-auth-sub{
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.55;
  color: #6b7280;
}

.pc-auth-form{
  display: grid;
  gap: 12px;
}

.pc-auth-row{
  display: flex;
  align-items: center;
  gap: 12px;
}

.pc-auth-row--between{
  justify-content: space-between;
}

.pc-auth-label{
  display: block;
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.pc-auth-input{
  width: 100%;
  height: 52px;
  padding: 0 15px;
  border-radius: 16px;
  border: 1px solid rgba(17,24,39,.12);
  background: #fff;
  color: #111;
  font-size: 16px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.pc-auth-input::placeholder{
  color: rgba(17,24,39,.48);
}

.pc-auth-input:focus{
  border-color: rgba(17,24,39,.22);
  box-shadow: 0 0 0 4px rgba(17,24,39,.05);
}

.pc-auth-check{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.45;
  color: #475569;
  cursor: pointer;
}

.pc-auth-check input{
  margin-top: 4px;
  flex: 0 0 auto;
}

.pc-account-trigger:hover{
  border-color:#bfdbfe;
}

.pc-account-trigger:focus-visible{
  outline:none;
  box-shadow:0 0 0 4px rgba(59,130,246,.14);
}

.pc-account-trigger__img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.pc-account-trigger__fallback{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:inherit;
  background:linear-gradient(135deg, #eff6ff, #dbeafe);
  color:#2563eb;
  font-size:30px;
  font-weight:500;
  line-height:1;
  user-select:none;
}

.pc-auth-submit{
  width: 100%;
  min-height: 52px;
  margin-top: 4px;
  border: 1px solid #111;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, opacity .15s ease;
}

.pc-auth-submit:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.pc-auth-submit:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 4px rgba(255,220,120,.30),
    0 0 16px 7px rgba(255,200,80,.35);
}

.pc-auth-link{
  color: #111827;
  text-decoration: none;
}

.pc-auth-link:hover{
  text-decoration: underline;
}

.pc-auth-link--small{
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.pc-auth-divider{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 20px 0 16px;
}

.pc-auth-divider span{
  display: block;
  height: 1px;
  background: rgba(17,24,39,.10);
}

.pc-auth-divider em{
  font-size: 16px;
  margin-bottom: 4px;
  color: #64748b;
  font-style: normal;
  text-transform: lowercase;
}

.pc-auth-secondary{
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17,24,39,.12);
  border-radius: 999px;
  background: #fff;
  color: #111827;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: background .15s ease, border-color .15s ease;
}

.pc-auth-secondary:hover{
  background: #f8fafc;
  border-color: rgba(17,24,39,.18);
}

.pc-auth-footnote{
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
  text-align: center;
}

@media (max-width: 640px){
  .pc-auth-main{
    padding:
      calc(var(--pc-nav-h, 80px) + 20px)
      10px
      40px;
  }

  .pc-auth-card{
    border-radius: 22px;
    padding: 20px 16px;
  }

  .pc-auth-title{
    font-size: 30px;
  }

  .pc-auth-row--between{
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

[hidden]{
  display: none !important;
}
.nav-actions{
  display:flex;
  align-items:center;
  gap:12px;
  position: relative;
}

.nav-actions .btn svg{
  display:block;
}

.pc-account-trigger{
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.14);
  background: #fff;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
  transition: border-color .15s ease, transform .12s ease, box-shadow .15s ease;
}

.pc-account-trigger:hover{
  transform: translateY(-1px);
  border-color: rgba(17,24,39,.22);
  box-shadow: 0 14px 40px rgba(15,23,42,.10);
}

.pc-account-trigger:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 4px rgba(255,220,120,.30),
    0 0 16px 7px rgba(255,200,80,.35);
}

.nav-signin-btn{
  min-width: 100px;
  gap: 8px;
  height: 40px;
  white-space: nowrap;
}

.nav-signin-btn__text{
  display: inline-block;
  line-height: 1;
}

.nav-signin-btn__icon{
  display: none;
  width: 30px;
  height: 30px;
  line-height: 0;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
}

.nav-signin-btn__icon svg{
  width: 30px;
  height: 30px;
  display: block;
}

.pc-account-menu{
  position: absolute;
  top: calc(100% + 20px);
  right: 0;
  min-width: 210px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(17,24,39,.10);
  background: #fff;
  box-shadow: 0 20px 50px rgba(15,23,42,.12);
  z-index: 1200;
}

.pc-account-menu__item{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  color: #111827;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
}

.pc-account-menu__item:hover{
  background: #f8fafc;
}

.pc-account-menu__sep{
  height: 1px;
  margin: 6px 4px;
  background: rgba(17,24,39,.08);
}

.pc-account-menu__item--danger{
  color: #b91c1c;
}

.home-side__subs-toggle[aria-expanded="true"] .home-side__subs-chevron{
  transform: rotate(90deg);
}

/* ── Subscription list ── */
.home-side__subs-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-side__subs-head{
  display: flex;
  align-items: center;
}

.home-side__subs-toggle{
  flex: 0 0 35px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #111;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-side__subs-toggle:hover{
  background: rgba(0, 0, 0, 0.04);
}

.home-side__subs-chevron{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}

.home-side__subs-toggle[aria-expanded="true"] .home-side__subs-chevron{
  transform: rotate(90deg);
}

.home-side__subs-link{
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 10px 9px;
  border-radius: 14px;
  color: #111;
  text-decoration: none;
}

.home-side__subs-link:hover{
  background: rgba(0, 0, 0, 0.04);
}

.home-side__subs-label{
  margin: 0 !important;
  flex: 1 1 auto;
}

.home-side__subs-list{
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
}

.home-side__item--sub{
  padding-left: 41px;
}

.home-side__subs-icon{
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
}

.home-side__subs-icon svg{
  width: 22px;
  height: 22px;
  display: block;
}

.home-side__subs-list{
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
}

/* ── Avatar circle (used both in toggle header and list items) ── */
.home-side__subs-avatar {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f3f4f6;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #6b7280;
}

.home-side__subs-avatar--sm {
  width: 28px;
  height: 28px;
}

.home-side__subs-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 999px;
}

.home-side__subs-icon{
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
}

.home-side__subs-icon svg{
  width: 22px;
  height: 22px;
  display: block;
}

.shortlist-rail[hidden]{
  display: none !important;
}

@media (min-width: 1280px){
  .shortlist-rail{
    position: fixed;
    right: 0;
    top: 63px;
    bottom: 0;
    height: calc(100dvh - 63px);
    z-index: 55;
    box-sizing: border-box;
    overflow: visible;
    padding: 0;
  }

  .shortlist-mini{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: visible;
    padding: 4px 0 14px 0;
  }

  .shortlist-mini::-webkit-scrollbar{
    width: 0;
    height: 0;
  }

  .shortlist-mini-item{
    position: relative;
    width: 70px;
    height: 60px;
    overflow: visible;
    flex: 0 0 auto;
    transition: width 0.2s ease;
  }

  .shortlist-mini-item:hover{
    width: 80px;
  }

  .shortlist-mini-link{
    display: flex;
    align-items: center;
    width: 100%;
    height: 60px;
    overflow: hidden;
    text-decoration: none;
    background: #fff;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-right: none;
    transition: box-shadow 0.2s ease;
  }

  .shortlist-mini-img{
    width: 60px;
    height: 60px;
    min-width: 60px;
    object-fit: contain;
    object-position: center;
    display: block;
  }

  .shortlist-mini-remove{
    position: absolute;
    top: 5px;
    right: 7px;
    width: 14px;
    height: 50px;
    border: 0;
    border-radius: 999px;
    background: #FDECEA;
    box-shadow: 0 1px 4px rgba(0,0,0,0.14);
    color: #111;
    opacity: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity .14s ease, transform .14s ease;
    padding: 0;
    z-index: 2;
  }

  .shortlist-mini-item:hover .shortlist-mini-remove{
    opacity: 1;
  }

  .shortlist-mini-remove svg{
    width: 12px;
    height: 12px;
    fill: #EA4335;
    display: block;
  }
}

@media (max-width: 1279px){
  .shortlist-rail{
    display: none !important;
  }
}

.pc-mobile-bottom-nav {
  display: none;
}

@media (max-width: 720px) {
  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .pc-mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(env(safe-area-inset-bottom));
    z-index: 1200;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    min-height: 64px;
    padding: 7px;
    border: 1px solid rgba(17, 24, 39, 0.10);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(16px) saturate(160%);
  }

  .pc-mobile-bottom-nav__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    min-height: 50px;
    border-radius: 16px;
    color: #667085;
    text-decoration: none;
    flex-direction: column;
    font-size: 12px;
    line-height: 1;
    font-weight: 500;
  }

  .pc-mobile-bottom-nav__item:hover,
  .pc-mobile-bottom-nav__item:focus-visible {
    background: #f5f5f7;
    color: #111827;
    outline: none;
  }

  .pc-mobile-bottom-nav__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
  }

  .pc-mobile-bottom-nav__icon svg {
    display: block;
    width: 24px;
    height: 24px;
  }
}