/* Migrated Home, Inspiration, and Article legacy foundation, 2026-07-29. Current route-owner rules follow. */


.article-list {
  display: grid;
  gap: 12px;
}

@media (min-width: 1024px) {
  .article-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


.home-tonight-pulse{
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  min-height:86px;
  padding:14px 18px;
  overflow:hidden;
  border-radius:0;
  background:
  repeating-linear-gradient(90deg,rgba(255,255,255,.035) 0 1px,transparent 1px 18px),
  linear-gradient(135deg,#050505 0%,#111 48%,#070707 100%);
  color:#fff;
}

.home-tonight-pulse::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.08),transparent 42%,rgba(0,0,0,.26));
  mix-blend-mode:screen;
  opacity:.38;
}

.home-tonight-pulse:hover .pulse-track{
  animation-play-state:paused;
}

.day-mode .home-tonight-pulse{
  background:
  repeating-linear-gradient(90deg,rgba(0,0,0,.04) 0 1px,transparent 1px 18px),
  linear-gradient(135deg,#101010 0%,#191919 48%,#080808 100%);
  box-shadow:none;
}

.article-list-page{
  max-width:760px;
  margin:auto
}

.article-list-card{
  display:grid;
  grid-template-columns:150px 1fr;
  gap:16px;
  padding:12px;
  border:1px solid var(--line);
  background:var(--card);
  color:inherit;
  text-decoration:none
}

.article-list-image{
  min-height:120px;
  background-position:center;
  background-size:cover
}

.article-list-card small{
  color:var(--accent);
  font-size:11px;
  font-weight:900;
  letter-spacing:.1em
}

.article-list-card h2{
  margin:6px 0;
  font-size:22px
}

.article-list-card p{
  margin:0;
  color:var(--muted);
}

.article-pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  margin-top:24px
}

.article-pagination a{
  padding:9px 12px;
  border:1px solid var(--line);
  border-radius:99px;
  color:inherit;
  text-decoration:none
}

.article-pagination a.active{
  background:var(--accent);
  border-color:var(--accent);
  color:#000
}

@media(max-width:560px){
.article-list-card{
    grid-template-columns:105px 1fr
  }

.article-list-image{
    min-height:100px
  }

.article-list-card h2{
    font-size:18px
  }
}


.article-list-card p{
  display:-webkit-box;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
}

.day-mode .article-list-card{
  background:#fff;
  color:#171715;
}

.day-mode .article-list-card h2{
  color:#171715
}

.day-mode .article-list-card p{
  color:#5f5b55
}

.day-mode .article-list-card small,
.night-mode .article-list-card small{
  color:var(--accent)
}

.night-mode .article-list-card{
  background:#1d1d1d;
  color:#fff;
  border:0;
  box-shadow:0 2px 12px rgba(0,0,0,.22)
}

.night-mode .article-list-card h2{
  color:#fff
}

.night-mode .article-list-card p{
  color:#b8b8b8
}

.article-list-image{
  border-radius:var(--image-radius);
}

.article-list-card{
  border-radius:var(--surface-radius);
}

.article-list-card,
.day-mode .article-list-card{
  box-shadow:none;
}

.article-list-card h2{
  line-height:1.12;
}

.article-list-card p{
  font-size:14px;
  line-height:1.5;
}


@media (min-width:720px){
.article-list-page{
    max-width:920px;
    padding-right:30px;
    padding-left:30px;
  }

.article-list-card{
    grid-template-columns:190px minmax(0,1fr);
  }

.article-list-image{
    min-height:142px;
  }
}

@media (min-width:1024px){
.article-list-page{
    max-width:1080px;
    padding:52px 36px;
  }

.article-list-card{
    grid-template-columns:140px minmax(0,1fr);
  }

.article-list-image{
    min-height:128px;
  }

.article-list-card h2{
    font-size:20px;
  }
}


@media (max-width:719px){


.home-tonight-pulse{
    grid-template-columns:auto minmax(0,1fr) auto;
    gap:10px;
    min-height:74px;
    padding:12px 10px 12px 14px;
  }


}

.article-detail-page{
  max-width:760px;
  margin:0 auto;
}

.article-detail-page .guide-head{
  width:100%;
  min-height:min(76vh,720px);
  padding:28px 22px;
  background-position:center;
  background-size:cover;
}

.article-reading > p{
  margin:0;
  font-size:17px;
  line-height:1.72;
  white-space:pre-line;
}

@media (min-width:720px){
.article-detail-page .guide-head{
    overflow:hidden;
  }
}

.article-desktop-heading{
  display:none;
}

@media (min-width:720px){
.article-detail-page{
    padding-bottom:56px;
  }

.article-detail-layout{
    display:grid;
    align-items:start;
    margin:0 auto;
  }

.article-cover-column{
    position:sticky;
    top:92px;
    align-self:start;
  }

.article-detail-page .guide-head{
    width:100%;
    min-height:0;
    aspect-ratio:3 / 4;
    margin:0;
    padding:24px;
    border-radius:22px;
  }

.article-detail-page .guide-head > *{
    display:none;
  }

.article-copy-column{
    min-width:0;
  }

.article-desktop-heading{
    display:block;
    padding:4px 0 26px;
  }

.article-desktop-heading .eyebrow{
    color:var(--accent);
  }

.article-desktop-heading h1{
    max-width:680px;
    margin:0;
    color:inherit;
    font-size:clamp(36px, 4.2vw, 54px);
    font-weight:700;
    line-height:.98;
    letter-spacing:-.05em;
  }

.article-desktop-heading > p:last-child{
    max-width:580px;
    margin:18px 0 0;
    color:var(--muted);
    font-size:16px;
    line-height:1.5;
  }

.article-copy-column > section,
.article-copy-column > .guide-intro{
    max-width:none;
    margin:0;
    padding-right:0;
    padding-left:0;
  }

.article-copy-column .guide-intro{
    padding-top:0;
  }
}

@media (min-width:1180px){
.article-cover-column{
    top:76px;
  }
}

@media (min-width:720px){
.article-detail-page{
    padding-top:76px;
  }
}

.day-mode .article-detail-page{
  background:var(--luca-day-paper) ;
}

.day-mode .article-list-page{
  border:0;
  border-radius:22px;
  background:var(--luca-day-card);
  box-shadow:none;
  width:min(calc(100% - 32px),960px);
  max-width:none;
  margin:16px auto 24px;
}

.day-mode .article-list-card{
  border:0;
  box-shadow:none;
}

.day-mode .article-list-card + .article-list-card{
  border-top:0;
}

@media (min-width:720px){
.day-mode .article-list-page{
    width:min(calc(100% - 60px),960px);
    margin-top:24px;
  }
}

@media (min-width:720px){
.article-detail-page{
    width:100%;
    max-width:none;
  }

.article-detail-layout{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:clamp(20px,2.5vw,36px);
  }

.day-mode .article-cover-column,
.day-mode .article-copy-column{
    min-width:0;
    border:0;
    border-radius:22px;
    background:var(--luca-day-card);
    box-shadow:none;
  }

.day-mode .article-cover-column{
    width:100%;
    padding:12px;
  }

.day-mode .article-detail-page .guide-head{
    width:100%;
    max-width:none;
    border-radius:16px;
  }

.day-mode .article-copy-column{
    padding:clamp(26px,3.2vw,44px);
  }

.day-mode .article-desktop-heading{
    padding-top:0;
  }

.day-mode .article-copy-column > section,
.day-mode .article-copy-column > .guide-intro{
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }
}


@media (min-width:720px){
.article-detail-page{
    padding-right:20px;
    padding-left:20px;
  }

.article-detail-layout{
    width:min(100%,1360px);
    max-width:1360px;
  }
}


@media (max-width:719px){
body.article-route .article-detail-page{
    padding-bottom:calc(96px + env(safe-area-inset-bottom));
  }
}

.home-tonight-pulse,
.day-mode .home-tonight-pulse,
.night-mode .home-tonight-pulse{
  border-radius:26px;
  overflow:hidden;
  background:
  repeating-linear-gradient(90deg,rgba(255,255,255,.04) 0 1px,transparent 1px 18px),
  linear-gradient(135deg,#050505 0%,#121212 48%,#070707 100%);
  color:#fff;
  box-shadow:none;
}

@media (max-width:719px){
.home-tonight-pulse,
.day-mode .home-tonight-pulse,
.night-mode .home-tonight-pulse{
    border-radius:22px;
    overflow:hidden;
  }
}

.home-tonight-pulse .pulse-label small,
.day-mode .home-tonight-pulse .pulse-label small,
.night-mode .home-tonight-pulse .pulse-label small{
  color:#a99cff;
}

.home-tonight-pulse .pulse-label strong,
.day-mode .home-tonight-pulse .pulse-label strong,
.night-mode .home-tonight-pulse .pulse-label strong{
  color:#fff;
}

.home-tonight-pulse .pulse-item b,
.day-mode .home-tonight-pulse .pulse-item b,
.night-mode .home-tonight-pulse .pulse-item b{
  color:var(--luca-purple);
}

.home-tonight-pulse .pulse-item span,
.day-mode .home-tonight-pulse .pulse-item span,
.night-mode .home-tonight-pulse .pulse-item span{
  color:#aaa;
}

.home-tonight-pulse .pulse-more,
.day-mode .home-tonight-pulse .pulse-more,
.night-mode .home-tonight-pulse .pulse-more{
  border-color:transparent;
  color:#f4f4f6;
}


/* Home/Inspiration migration owner, 2026-07-27: #inspiration. */
#app > .topbar-fade + .home-night-hero,
.home-night-hero,
.day-mode .home-night-hero,
.night-mode .home-night-hero {
  position: relative;
  display: grid;
  align-content: end;
  width: 100%;
  max-width: none;
  min-height: 100svh;
  margin: 0 auto;
  padding: 132px max(30px, calc((100vw - 1280px) / 2 + 30px)) 34px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.72) 32%, rgba(0,0,0,.08) 70%, rgba(0,0,0,.34) 100%),
    radial-gradient(circle at 78% 32%, rgba(104,76,255,.72), transparent 24%),
    radial-gradient(circle at 86% 58%, rgba(255,29,221,.48), transparent 20%),
    var(--home-night-image, url("assets/images/home-bangkok-night-is-yours.webp")) center center / cover no-repeat,
    #020204;
  color: #fff;
}

.home-night-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.045) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.66));
  opacity: .24;
}

.home-night-hero::after {
  content: none;
}

.home-night-hero-copy,
.home-night-hero .home-tonight-pulse {
  position: relative;
  z-index: 1;
}

.home-night-hero-copy {
  display: grid;
  justify-items:start;
  gap: 18px;
  width:min(560px,50%);
  margin:0 0 48px;
  text-align:left;
}

.home-night-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 5.4vw, 72px);
  font-weight: 900;
  line-height: .88;
  letter-spacing: -.065em;
}

.home-night-hero h1 em {
  color: #00FF09;
  font-style: normal;
}

.home-night-hero p {
  margin: 2px 0 18px;
  color: rgba(255,255,255,.74);
  font-size: clamp(15px, 1.3vw, 20px);
  font-weight: 800;
  line-height: 1.25;
}

.home-night-hero-copy small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  min-height: 26px;
  border-radius: 999px;
  padding: 0 10px 0 8px;
  background: rgba(104,76,255,.2);
  color: #c8bdff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-night-hero-copy small i,
.home-live-now > small i {
  position: relative;
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #00FF09;
  box-shadow: 0 0 0 4px rgba(104,76,255,.12), 0 0 10px rgba(0,255,9,.28);
}

.home-live-now {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.home-live-now > small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c8bdff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.home-live-now div {
  display: grid;
  grid-template-columns: auto auto auto auto;
  align-items: end;
  gap: 8px 24px;
  width: max-content;
  max-width: 100%;
}

.home-live-now strong,
.home-live-now b {
  color: #fff;
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 950;
  line-height: .9;
  letter-spacing: -.055em;
}

.home-live-now span {
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
}

.home-night-hero .home-tonight-pulse,
.day-mode .home-night-hero .home-tonight-pulse,
.night-mode .home-night-hero .home-tonight-pulse {
  width: 100%;
  max-width: 1280px;
  min-height: 64px;
  margin: 0;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  background: rgba(8,10,10,.82);
  color: #fff;
}

.home-night-hero .pulse-label {
  min-width: 82px;
}

.home-night-hero .pulse-label small {
  font-size: 8px;
}

.home-night-hero .pulse-label strong {
  font-size: 18px;
}

.home-night-hero .pulse-track {
  gap: 12px;
}

.home-night-hero .pulse-track > i {
  font-size: 20px;
}

.home-night-hero .pulse-item b {
  font-size: clamp(20px, 2.3vw, 28px);
}

.home-night-hero .pulse-item span {
  font-size: 9px;
}

.home-night-hero .pulse-more {
  min-height: 28px;
  padding: 0 8px;
  font-size: 10px;
}

@media (min-width: 720px) and (max-width: 1023px) {
  #app > .topbar-fade + .home-night-hero,
  .home-night-hero,
  .day-mode .home-night-hero,
  .night-mode .home-night-hero {
    min-height: clamp(600px, 78vh, 820px);
  }

  .home-night-hero h1 {
    font-size: clamp(46px, 6vw, 62px);
  }

  .home-live-now strong,
  .home-live-now b {
    font-size: clamp(32px, 4vw, 40px);
  }
}

@media (min-width: 1600px) {
  #app > .topbar-fade + .home-night-hero,
  .home-night-hero,
  .day-mode .home-night-hero,
  .night-mode .home-night-hero {
    align-content: start;
    padding-top: clamp(220px, 20svh, 420px);
  }

  .home-night-hero-copy {
    width: min(680px, 46%);
    margin-bottom: 32px;
  }

  .home-night-hero h1 {
    font-size: clamp(76px, 3.6vw, 96px);
  }

  .home-night-hero p {
    font-size: clamp(20px, 1.1vw, 24px);
  }

  .home-live-now strong,
  .home-live-now b {
    font-size: clamp(46px, 2.1vw, 56px);
  }
}

@media (min-width: 2560px) {
  #app > .topbar-fade + .home-night-hero,
  .home-night-hero,
  .day-mode .home-night-hero,
  .night-mode .home-night-hero {
    min-height: clamp(1100px, 74svh, 1600px);
  }
}

.home-entry-cards,
.day-mode .home-entry-cards,
.night-mode .home-entry-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(calc(100% - 60px), 1280px);
  max-width: none;
  margin: 16px auto 0;
  padding: 0;
  overflow: visible;
  background: transparent;
}

.home-entry-card,
.day-mode .home-entry-card,
.night-mode .home-entry-card {
  position: relative;
  display: grid;
  align-content: space-between;
  min-width: 0;
  min-height: 218px;
  padding: 24px;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  background: #070b19;
  color: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,.38);
  transition: transform .18s ease;
}

.home-entry-card:hover {
  transform: translateY(-1px);
}

.home-entry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .75;
}

.home-entry-checkins::after {
  background:
    radial-gradient(circle at 74% 38%, rgba(104,76,255,.85), transparent 18%),
    radial-gradient(circle at 74% 38%, transparent 0 8%, rgba(104,76,255,.5) 9% 10%, transparent 11%);
}

.home-entry-energy::after {
  background:
    radial-gradient(circle at 82% 34%, rgba(0,255,9,.7), transparent 7%),
    repeating-radial-gradient(circle at 78% 36%, rgba(255,255,255,.14) 0 1px, transparent 1px 18px);
}

.home-entry-area::after {
  background:
    radial-gradient(circle at 72% 22%, rgba(104,76,255,.9), transparent 7%),
    radial-gradient(circle at 84% 62%, rgba(104,76,255,.75), transparent 8%),
    radial-gradient(circle at 62% 72%, rgba(0,255,9,.42), transparent 5%);
}

.home-entry-card > * {
  position: relative;
  z-index: 1;
}

.home-entry-card small {
  color: #a99cff;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .08em;
}

.home-entry-card strong {
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  line-height: 1.1;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.home-entry-card b {
  align-self: end;
  color: #7b57ff;
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 950;
  line-height: .9;
  letter-spacing: -.055em;
}

.home-entry-energy b,
.home-entry-area b {
  color: #00FF09;
}

.home-entry-card span {
  display: grid;
  gap: 3px;
  min-width: 0;
  color: #fff;
  max-width: 220px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.home-latest-moments {
  width: min(calc(100% - 60px), 1280px);
  margin: 44px auto 0;
  padding: 0;
  background: transparent;
}

.home-latest-moments > header {
  display: grid;
  gap: 5px;
  margin-bottom: 18px;
}

.home-latest-moments > header .eyebrow {
  margin: 0;
  color: #684cff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.home-latest-moments > header h2 {
  width: max-content;
  margin: 0;
  background: linear-gradient(105deg, #684cff 8%, #9a84ff 68%, #684cff 100%);
  background-clip: text;
  color: #684cff;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1;
  letter-spacing: -.035em;
  text-shadow: 0 8px 24px rgba(104,76,255,.16);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-latest-moments-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px 14px;
}

.home-latest-moments-grid .home-moment-card {
  width: 100%;
  min-width: 0;
}

.home-latest-moments-grid .home-moment-card .moment-profile-cover {
  border: 0;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(24,18,52,.12);
}

.home-latest-moments-grid .home-moment-card .moment-profile-copy {
  padding: 9px 2px 0;
}

.home-latest-moments-grid .home-moment-card .moment-profile-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text, #171715);
  font-size: 14px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-moment-skeleton {
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  background: linear-gradient(100deg, rgba(130,124,150,.08) 20%, rgba(130,124,150,.16) 42%, rgba(130,124,150,.08) 64%);
  background-size: 220% 100%;
  animation: home-moment-loading 1.25s ease-in-out infinite;
}

.home-latest-moments-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px 0;
  color: #8b8892;
  font-size: 13px;
}

body.night-mode .home-latest-moments-grid .home-moment-card .moment-profile-copy strong {
  color: #f7f7fb;
}

body.night-mode .home-latest-moments > header h2 {
  background-image: linear-gradient(105deg, #8d74ff 8%, #c0b3ff 68%, #8d74ff 100%);
  text-shadow: 0 8px 26px rgba(104,76,255,.28);
}

@keyframes home-moment-loading {
  to { background-position: -120% 0; }
}

@media (max-width: 1023px) {
  .home-latest-moments {
    width: calc(100% - 32px);
    margin-top: 30px;
  }

  .home-latest-moments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }
}

@media (max-width: 719px) {
  .home-latest-moments {
    margin-top: 14px;
  }

  .home-latest-moments > header {
    margin-bottom: 12px;
  }

  .home-latest-moments > header h2 {
    font-size: 19px;
    letter-spacing: -.02em;
  }

  .home-latest-moments-grid .home-moment-card .moment-profile-cover {
    border-radius: 12px;
  }

  .home-latest-moments-grid .home-moment-card .moment-profile-copy strong {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-moment-skeleton {
    animation: none;
  }
}

body.day-mode #app > .topbar-fade + .home-night-hero,
body.day-mode .home-night-hero {
  background:
    linear-gradient(90deg, rgba(250,250,252,.88) 0%, rgba(250,250,252,.66) 38%, rgba(250,250,252,.22) 72%, rgba(250,250,252,.62) 100%),
    radial-gradient(circle at 78% 32%, rgba(104,76,255,.18), transparent 24%),
    radial-gradient(circle at 86% 58%, rgba(0,255,9,.16), transparent 20%),
    var(--home-day-image, url("assets/images/home-bangkok-day-is-yours.webp")) center center / cover no-repeat,
    #f6f6f8;
  color: #1d1d1f;
}

body.day-mode .home-night-hero::before {
  background:
    repeating-linear-gradient(0deg, rgba(29,29,31,.035) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.72));
  opacity: .38;
}

body.day-mode .home-night-hero h1,
body.day-mode .home-live-now strong,
body.day-mode .home-live-now b {
  color: #151518;
  text-shadow: none;
}

body.day-mode .home-night-hero p {
  color: #151518;
}

body.day-mode .home-live-now > small {
  background: rgba(104,76,255,.1);
  color: #684cff;
}

body.day-mode .home-night-hero h1 em {
  color: #684cff;
}

body.day-mode .home-night-hero-copy small,
body.day-mode .home-live-now span {
  color: #68686f;
}

body.day-mode .home-night-hero-copy small {
  background: rgba(104,76,255,.1);
  color: #684cff;
}

body.day-mode .home-night-hero-copy small i,
body.day-mode .home-live-now > small i {
  background: #00FF09;
  box-shadow: 0 0 0 4px rgba(104,76,255,.1), 0 0 10px rgba(0,255,9,.24);
}

body.day-mode .home-night-hero .home-tonight-pulse {
  border-color: rgba(29,29,31,.1);
  background: rgba(255,255,255,.78);
  color: #1d1d1f;
}

body.day-mode .home-night-hero .pulse-label small {
  color: #684cff;
}

body.day-mode .home-night-hero .pulse-label strong,
body.day-mode .home-night-hero .pulse-more {
  color: #1d1d1f;
}

body.day-mode .home-night-hero .pulse-item span {
  color: #6f6f76;
}

body.day-mode .home-entry-card {
  border: 0;
  background: #fff;
  color: #1d1d1f;
  box-shadow: 0 12px 30px rgba(35,27,61,.09);
}

body.day-mode .home-entry-card small {
  color: #684cff;
}

body.day-mode .home-entry-card strong,
body.day-mode .home-entry-card span {
  color: #1d1d1f;
}

body.day-mode .home-entry-card b {
  color: #684cff;
}

body.day-mode .home-entry-energy b,
body.day-mode .home-entry-area b {
  color: #00FF09;
}

body.day-mode .home-entry-card::after {
  opacity: .32;
}


@media (max-width: 719px) {
  .home-night-hero,
  .day-mode .home-night-hero,
  .night-mode .home-night-hero {
    align-content: end;
    min-height: clamp(476px, calc(70svh - 64px), 536px);
    padding: 86px 16px calc(20px + env(safe-area-inset-bottom));
    background-position: right top;
  }

  body.day-mode .home-night-hero {
    background-position: 90% top;
  }

  body.night-mode .home-night-hero {
    background-position: 84% top;
  }

  .home-night-hero-copy {
    justify-items:start;
    width: 100%;
    gap: 14px;
    margin:0 0 18px;
    text-align:left;
  }

  .home-night-hero h1 {
    font-size: clamp(38px, 11vw, 46px);
  line-height: .9;
}

.home-live-now strong.is-rolling,
.home-live-now b.is-rolling {
  animation:home-live-number-roll .65s cubic-bezier(.2,.75,.25,1);
}

@keyframes home-live-number-roll {
  0% {
    opacity:.35;
    transform:translateY(12px);
  }
  100% {
    opacity:1;
    transform:translateY(0);
  }
}

@media (prefers-reduced-motion:reduce) {
  .home-live-now strong.is-rolling,
  .home-live-now b.is-rolling {
    animation:none;
  }
}

  .home-night-hero p {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .home-live-now strong,
  .home-live-now b {
    font-size: clamp(28px, 8.5vw, 36px);
  }

  .home-live-now div {
    grid-template-columns: auto auto;
  }

  .home-night-hero .home-tonight-pulse,
  .day-mode .home-night-hero .home-tonight-pulse,
  .night-mode .home-night-hero .home-tonight-pulse {
    min-height: 52px;
    padding: 8px 10px;
    border-radius: 16px;
  }

  .home-entry-cards,
  .day-mode .home-entry-cards,
  .night-mode .home-entry-cards {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(224px, 82%);
    gap: 10px;
    width: calc(100% - 32px);
    margin-top: -44px;
    margin-right: auto;
    margin-left: auto;
    padding: 0 0 4px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .home-entry-card,
  .day-mode .home-entry-card,
  .night-mode .home-entry-card {
    min-width: 0;
    min-height: 154px;
    padding: 16px;
    border-radius: 14px;
    scroll-snap-align: start;
  }

  .home-entry-card small {
    font-size: 9px;
    line-height: 1.15;
  }

  .home-entry-card strong {
    font-size: 15px;
    line-height: 1.15;
  }

  .home-entry-card b {
    font-size: clamp(30px, 10vw, 40px);
  }

  .home-entry-card span {
    max-width: 100%;
    font-size: 11px;
    line-height: 1.3;
  }
}
