
@import url('https://fonts.googleapis.com/css2?family=Hind+Madurai:wght@300;400;500;600;700&display=swap');

body,
button,
input,
.btn,
.live-card,
.timeline-card,
.day-card,
.mini-card {
  font-family: "Hind Madurai", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.mobile-bottom-nav{display:none}

@media(max-width:760px){
  body{padding-bottom:82px}
  .nav{
    position:static;
    border-bottom:0;
    background:transparent;
    backdrop-filter:none;
  }
  .nav-inner{
    padding:8px 12px 0;
  }
  .nav .menu{
    display:none;
  }
  .brand{
    font-size:13px;
    opacity:.9;
  }
  .mobile-bottom-nav{
    position:fixed;
    z-index:100;
    left:10px;
    right:10px;
    bottom:10px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:6px;
    padding:8px;
    border:1px solid #2d4774;
    border-radius:22px;
    background:rgba(5,12,25,.92);
    backdrop-filter:blur(18px);
    box-shadow:0 12px 40px rgba(0,0,0,.45);
  }
  .mobile-bottom-nav a{
    text-decoration:none;
    color:#cfe0ff;
    display:grid;
    place-items:center;
    gap:2px;
    border-radius:16px;
    padding:7px 4px;
    font-size:11px;
    font-weight:900;
  }
  .mobile-bottom-nav a .ico{
    font-size:18px;
    line-height:1;
  }
  .mobile-bottom-nav a.active{
    background:var(--gold);
    color:#071225;
  }
}


:root{--bg:#020713;--panel:#071225;--line:#21375e;--text:#f5f8ff;--muted:#a9bee6;--gold:#ffc533;--red:#ff668a;--blue:#4cc9ff;--green:#3ee6ad;--violet:#ad8cff}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at top,#14305f 0,#020713 45%,#01040a 100%);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,sans-serif}.wrap{max-width:1450px;margin:auto;padding:16px}.nav{position:sticky;top:0;z-index:20;background:#020713dd;backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}.nav-inner{max-width:1450px;margin:auto;padding:10px 16px;display:flex;justify-content:space-between;gap:10px;align-items:center}.brand{font-weight:950}.menu{display:flex;gap:8px;flex-wrap:wrap}.btn,button{background:#122342;color:#eaf2ff;border:1px solid #2d4774;padding:10px 12px;border-radius:12px;font-weight:900;text-decoration:none;cursor:pointer}.primary{background:var(--gold)!important;color:#071225!important}.hero{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;margin-top:18px}.panel,.section{border:1px solid var(--line);background:#071225ee;border-radius:24px;box-shadow:0 20px 55px #0006;overflow:hidden}.pad{padding:16px}h1{margin:0 0 8px;font-size:32px}.lead{color:var(--muted);line-height:1.45}.section{margin:18px 0}.section-head{padding:16px 18px;background:linear-gradient(90deg,#10244b,#081427);display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid var(--line)}.section-head h2{margin:0}.badge{background:var(--gold);color:#071225;border-radius:999px;padding:7px 10px;font-weight:900;font-size:12px}.current{border-color:var(--gold);box-shadow:0 0 38px #ffc53322}.current-grid{display:grid;grid-template-columns:118px 1fr;gap:16px;align-items:center}.current-icon{font-size:76px;width:118px;height:118px;border-radius:30px;background:#101f3c;display:grid;place-items:center;border:1px solid #324c78}.current-title{font-size:27px;font-weight:950}.current-path{color:var(--muted);font-size:13px}.big-count{font-size:34px;font-weight:950;color:var(--gold);margin-top:8px}.progress{height:12px;background:#071123;border:1px solid #20385e;border-radius:99px;overflow:hidden;margin-top:12px}.bar{height:100%;background:linear-gradient(90deg,var(--gold),#fff0a0);width:0%}.micro-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:12px}.micro{border:1px solid #2b4169;background:#0c1930;border-radius:14px;padding:9px;text-align:center;font-size:12px;font-weight:900}.micro.active{border-color:var(--gold);background:#ffc53322}.micro small{display:block;color:var(--muted);font-size:10px}.stats,.context{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}.stat,.context div{background:#091831;border:1px solid #1d3154;border-radius:16px;padding:10px}.stat b,.context small{display:block;font-size:11px;color:var(--muted);text-transform:uppercase}.stat span,.context b{font-weight:900}.controls{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.input-panel{background:#091831;border:1px solid #1d3154;border-radius:16px;padding:12px;margin-top:12px}.input-panel input{padding:10px;border-radius:10px;border:1px solid #2d4774;background:#081327;color:white;margin:6px 6px 6px 0}.status{background:#0a1832;border:1px solid #2d4774;border-radius:16px;padding:10px 12px;font-size:13px}.status b{display:block}.moon-wheel{position:relative;height:320px;max-width:360px;margin:auto}.moon-dot{position:absolute;width:36px;height:36px;border-radius:50%;background:#0b1831;border:1px solid #324c78;color:#dbe8ff;display:grid;place-items:center;font-size:11px;font-weight:900}.moon-dot.active{background:var(--gold);color:#071225;box-shadow:0 0 28px #ffc533cc;transform:scale(1.15)}.moon-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);text-align:center}.moon-center .moon{font-size:64px}.moon-center b{display:block}.card-list{display:grid;gap:12px}.timeline-card{border:1px solid #2b4169;background:#0c1930;border-radius:20px;padding:14px}.timeline-card.active{border-color:var(--gold);box-shadow:0 0 25px #ffc53333}.topline{display:flex;justify-content:space-between;color:#bfd3ff;font-size:12px;font-weight:850}.body{display:grid;grid-template-columns:88px 1fr;gap:12px;align-items:center;margin-top:8px}.birdbig{width:88px;height:88px;border-radius:22px;background:#101f3c;display:grid;place-items:center;font-size:56px;border:1px solid #31476e}.name{font-size:21px;font-weight:950}.time{font-weight:850;margin-top:4px}.grid7{display:grid;grid-template-columns:repeat(7,minmax(185px,1fr));gap:12px;padding:14px}.day-card{background:#08152c;border:1px solid #1c3154;border-radius:20px;overflow:hidden}.day-head{padding:12px;background:#0d1d3b;border-bottom:1px solid #20375d}.day-head span{display:block;color:var(--muted);font-size:12px}.birdpair{display:grid;gap:8px;padding:10px}.role-card{background:#0d1930;border:1px solid #263b61;border-radius:18px;padding:10px;text-align:center}.role-card.adhi{border-top:5px solid var(--gold)}.role-card.padu{border-top:5px solid var(--red)}.role-card .emoji{font-size:48px}.role-card .role{font-size:10px;color:var(--muted);font-weight:900}.role-card .bname{font-weight:950}.tree{padding:14px}.tree details{border:1px solid #1d3154;border-radius:16px;background:#08152c;margin:10px 0;overflow:hidden}.tree summary{cursor:pointer;padding:12px 14px;font-weight:950;background:#0d1d3b}.tree details details{margin:10px 12px;background:#0a1832}.samam{padding:14px 16px;border-top:1px solid #172945}.samam-title{display:flex;justify-content:space-between;margin-bottom:10px}.card-row{display:flex;gap:10px;overflow-x:auto}.mini-card{min-width:190px;border:1px solid #2b4169;background:#0c1930;border-radius:18px;padding:12px}.bird-img{height:88px;font-size:56px;display:grid;place-items:center;border-radius:18px;background:#101f3c;border:1px solid #31476e}.activity{font-size:18px;font-weight:950}.units{font-size:22px;color:var(--gold);font-weight:950}.eat{border-top:5px solid var(--gold)}.walk{border-top:5px solid var(--blue)}.rule{border-top:5px solid var(--green)}.sleep{border-top:5px solid var(--violet)}.death{border-top:5px solid var(--red)}.ref-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.formula{background:#081327;border:1px solid #1e3458;border-radius:16px;padding:14px}.formula code{color:#ffe28a}@media(max-width:1050px){.hero{grid-template-columns:1fr}.grid7{grid-template-columns:repeat(3,1fr)}.ref-grid{grid-template-columns:1fr}}@media(max-width:760px){.wrap{padding:12px}.nav-inner{align-items:flex-start;flex-direction:column}.grid7{grid-template-columns:1fr}.current-grid{grid-template-columns:88px 1fr}.current-icon{width:88px;height:88px;font-size:56px}.stats,.context{grid-template-columns:repeat(2,1fr)}h1{font-size:25px}.big-count{font-size:27px}.body{grid-template-columns:72px 1fr}.birdbig{width:72px;height:72px;font-size:46px}}

.moon-card-detail{margin-top:12px}
.tithi-track{position:relative;height:230px;margin-top:12px;border:1px solid #21375e;border-radius:28px;background:linear-gradient(180deg,#08152c,#050b18);overflow:hidden}
.tithi-row{position:absolute;left:12px;right:12px;display:grid;grid-template-columns:repeat(16,1fr);gap:4px}
.tithi-row.top{top:18px}.tithi-row.bottom{bottom:18px}
.tithi-item{min-width:0;border:1px solid #263b61;background:#0d1930;border-radius:14px;padding:7px 4px;text-align:center;font-size:10px;font-weight:900;color:#cfe0ff}
.tithi-item .emoji{display:block;font-size:19px;line-height:1.1;margin-bottom:2px}
.tithi-item.active{background:var(--gold);color:#071225;border-color:var(--gold);box-shadow:0 0 24px rgba(255,197,51,.65);transform:scale(1.05)}
.tithi-line-label{position:absolute;left:50%;transform:translateX(-50%);font-size:12px;color:var(--muted);font-weight:900;text-align:center}
.tithi-line-label.top-label{top:105px}.tithi-line-label.bottom-label{top:126px}
.moon-detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:12px}
.moon-detail-grid div{background:#091831;border:1px solid #1d3154;border-radius:14px;padding:10px}
.moon-detail-grid small{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;font-weight:900}
.moon-detail-grid b{display:block;margin-top:3px;font-size:14px}
@media(max-width:760px){
.tithi-track{height:280px}.tithi-row{grid-template-columns:repeat(8,1fr)}
.tithi-row.top{top:12px}.tithi-row.bottom{bottom:12px}
.tithi-line-label.top-label{top:129px}.tithi-line-label.bottom-label{top:151px}
.moon-detail-grid{grid-template-columns:1fr}
}

.live-card{border:1px solid var(--gold);background:linear-gradient(180deg,#0d1b35,#050b18);border-radius:26px;box-shadow:0 0 42px rgba(255,197,51,.18);overflow:hidden}
.live-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:16px 18px;border-bottom:1px solid #263b61;background:linear-gradient(90deg,#10244b,#081427)}
.live-card-head h1{font-size:24px;margin:0 0 4px}.live-card-head .tithi-title{color:var(--gold);font-weight:950;font-size:18px}.tiny-btn{padding:8px 10px;font-size:12px;border-radius:999px}.live-section{padding:14px 18px;border-bottom:1px solid #172945}.live-section:last-child{border-bottom:0}
.tithi-strip{display:flex;align-items:center;gap:6px;overflow-x:auto;padding:6px 2px}.tithi-dot{min-width:24px;height:24px;border-radius:50%;background:#0d1930;border:1px solid #31476e;display:grid;place-items:center;font-size:10px;font-weight:900;color:#cfe0ff}.tithi-dot.active{background:var(--gold);color:#071225;border-color:var(--gold);box-shadow:0 0 22px rgba(255,197,51,.7);transform:scale(1.15)}.tithi-end{font-size:12px;color:var(--muted);font-weight:900;white-space:nowrap}.tithi-caption{text-align:center;color:var(--muted);font-size:11px;font-weight:900;margin-top:4px}
.live-info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.live-info-grid div{background:#091831;border:1px solid #1d3154;border-radius:14px;padding:10px}.live-info-grid small{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;font-weight:900}.live-info-grid b{display:block;margin-top:3px;font-size:14px}
.role-inline{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.role-inline div{background:#091831;border:1px solid #1d3154;border-radius:14px;padding:10px}.role-inline small{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;font-weight:900}.role-inline b{display:block;margin-top:3px}.activity-live{display:grid;grid-template-columns:92px 1fr;gap:14px;align-items:center}.activity-live .bird-now{width:92px;height:92px;border-radius:24px;background:#101f3c;border:1px solid #31476e;display:grid;place-items:center;font-size:60px}.activity-name{font-size:25px;font-weight:950}.remaining{font-size:31px;color:var(--gold);font-weight:950;margin:6px 0}.duration-line{color:#dbe8ff;font-weight:900;margin-bottom:8px}.percent-line{color:var(--muted);font-size:12px;font-weight:900;margin-top:5px}.inner-dots{display:flex;gap:8px;margin-top:12px;align-items:center}.inner-dot{width:24px;height:24px;border-radius:50%;border:1px solid #31476e;background:#0d1930}.inner-dot.done{background:#31476e}.inner-dot.active{background:var(--gold);border-color:var(--gold);box-shadow:0 0 18px rgba(255,197,51,.7);transform:scale(1.18)}
@media(max-width:760px){.activity-live{grid-template-columns:74px 1fr}.activity-live .bird-now{width:74px;height:74px;font-size:48px}.activity-name{font-size:20px}.remaining{font-size:25px}.role-inline{grid-template-columns:1fr}.live-info-grid{grid-template-columns:1fr}}


.star-combo{
  background:#091831;
  border:1px solid #1d3154;
  border-radius:16px;
  padding:11px;
}
.star-combo .star-name{font-size:16px;font-weight:950}
.star-combo .star-sub{color:var(--muted);font-weight:900;font-size:13px;margin-top:2px}
.role-split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.role-split .role-box{
  background:#091831;
  border:1px solid #1d3154;
  border-radius:16px;
  padding:10px;
  text-align:center;
}
.role-split .role-box .emoji{font-size:30px}
.role-split .role-box small{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;font-weight:900}
.role-split .role-box b{display:block;font-size:14px}
@media(max-width:760px){
  .live-info-grid{display:block}
  .live-info-grid > div:not(.star-combo){display:none}
}

/* v032 compact live-card redesign */
.live-card.v032{overflow:hidden}
.live-card-head.v032-head{align-items:center;padding:12px 14px}
.v032-title-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:20px;font-weight:950}
.v032-meta-line{display:flex;gap:14px;flex-wrap:wrap;color:#dbe8ff;font-weight:900;font-size:13px;margin-top:4px}
.v032-meta-line span{white-space:nowrap}.v032-change{margin-left:auto;white-space:nowrap}
.v032-birds{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}
.v032-bird-box{background:#091831;border:1px solid #1d3154;border-radius:16px;padding:10px;text-align:center}
.v032-bird-box small{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;font-weight:900;margin-bottom:3px}
.v032-bird-box .emoji{font-size:36px;line-height:1}.v032-bird-box b{display:block;margin-top:4px;font-size:15px}
.v032-separator{height:1px;background:#2d4774;margin:10px 0}
.v032-tithi-line{display:flex;align-items:center;gap:6px;overflow-x:auto;padding:4px 0 2px}.v032-tithi-line .tithi-dot{min-width:20px;width:20px;height:20px;font-size:8px}.v032-tithi-line .tithi-end{font-size:11px}
.v032-caption{text-align:center;color:var(--muted);font-size:11px;font-weight:900;margin-top:4px}
.samam-dots{display:flex;gap:8px;align-items:center;margin:6px 0 12px}.samam-dot{width:22px;height:22px;border-radius:50%;border:1px solid #31476e;background:#0d1930;display:grid;place-items:center;font-size:11px;font-weight:950;color:#cfe0ff}.samam-dot.done{background:#31476e}.samam-dot.active{background:var(--gold);border-color:var(--gold);color:#071225;box-shadow:0 0 18px rgba(255,197,51,.7);transform:scale(1.16)}
.samam-label{color:var(--muted);font-size:12px;font-weight:900;margin-bottom:4px}.v032-activity{display:block}.v032-activity-title{font-size:23px;font-weight:950;margin-bottom:8px}.v032-remaining{font-size:28px;color:var(--gold);font-weight:950;margin:4px 0 10px}.v032-inner-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}.v032-inner-line .inner-dots{margin-top:0}.v032-hidden{display:none!important}
@media(max-width:760px){.live-card-head.v032-head{padding:10px 12px}.v032-title-line{font-size:17px}.v032-meta-line{gap:8px;font-size:12px}.v032-change{font-size:11px;padding:7px 8px}.v032-bird-box .emoji{font-size:30px}.v032-activity-title{font-size:20px}.v032-remaining{font-size:24px}}

/* v033: lunar arc moved to right side of live activity */
.v033-main-row{display:grid;grid-template-columns:minmax(0,1fr) 118px;gap:10px;align-items:center}
.v033-lunar-side{border:1px solid #263b61;background:#091831;border-radius:18px;padding:8px;min-height:160px;display:flex;flex-direction:column;justify-content:center}
.v033-lunar-curve{font-family:monospace;white-space:pre;text-align:center;line-height:1.05;font-size:13px;color:#cfe0ff}
.v033-tithi-name{color:var(--gold);font-weight:950;font-size:10px;text-align:center;margin-top:6px;line-height:1.2}
.v033-old-lunar-section{display:none!important}
@media(max-width:760px){.v033-main-row{grid-template-columns:minmax(0,1fr) 96px;gap:8px}.v033-lunar-side{min-height:148px;padding:6px}.v033-lunar-curve{font-size:11px}.v033-tithi-name{font-size:9px}.v032-remaining{font-size:22px}.v032-activity-title{font-size:19px}}

/* v034: taller detailed lunar side panel */
.v033-main-row{
  grid-template-columns:minmax(0,1fr) 152px;
  align-items:stretch;
}
.v033-lunar-side{
  min-height:240px;
  padding:10px 8px;
  border-radius:22px;
}
.v033-lunar-curve{
  font-size:16px;
  line-height:1.16;
}
.v033-tithi-name{
  font-size:13px;
  line-height:1.25;
  margin-top:8px;
}
.v034-lunar-small{
  margin-top:6px;
  color:var(--muted);
  font-size:10px;
  font-weight:900;
  text-align:center;
}
.v034-lunar-legend{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:7px;
  font-size:10px;
  color:var(--muted);
  font-weight:900;
}
.v034-lunar-legend span b{
  color:var(--gold);
}
@media(max-width:760px){
  .v033-main-row{
    grid-template-columns:minmax(0,1fr) 150px;
    gap:10px;
  }
  .v033-lunar-side{
    min-height:250px;
    padding:10px 7px;
  }
  .v033-lunar-curve{
    font-size:15px;
    line-height:1.18;
  }
  .v032-activity-title{
    font-size:22px;
  }
  .v032-remaining{
    font-size:26px;
  }
}
@media(max-width:390px){
  .v033-main-row{
    grid-template-columns:minmax(0,1fr) 138px;
  }
  .v033-lunar-curve{
    font-size:14px;
  }
}

/* v035: 12-part visible strength row */
.twelve-row{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:nowrap;
  margin-top:12px;
  overflow-x:auto;
  padding:4px 2px;
}
.twelve-bubble{
  display:grid;
  place-items:center;
  border-radius:999px;
  border:1px solid #31476e;
  background:#0d1930;
  color:#cfe0ff;
  font-weight:950;
  flex:0 0 auto;
}
.twelve-bubble.big{
  width:26px;
  height:26px;
  font-size:12px;
}
.twelve-bubble.small{
  width:12px;
  height:12px;
  font-size:0;
}
.twelve-bubble.passed{
  background:#31476e;
}
.twelve-bubble.active{
  background:var(--gold);
  color:#071225;
  border-color:var(--gold);
  box-shadow:0 0 18px rgba(255,197,51,.75);
  transform:scale(1.18);
}
.twelve-caption{
  color:var(--muted);
  font-size:11px;
  font-weight:900;
  margin-top:4px;
}
.quality-line{
  margin-top:8px;
  font-size:14px;
  font-weight:950;
  color:var(--gold);
}
@media(max-width:760px){
  .twelve-row{gap:5px}
  .twelve-bubble.big{width:24px;height:24px;font-size:11px}
  .twelve-bubble.small{width:10px;height:10px}
}

/* v036: 12-part row replaces separate progress bar */
.v032-activity .progress{
  display:none;
}
.twelve-row{
  margin-top:10px;
  padding:8px 2px 4px;
  gap:7px;
}
.twelve-bubble.big{
  width:30px;
  height:30px;
  font-size:13px;
}
.twelve-bubble.small{
  width:13px;
  height:13px;
}
.twelve-caption{
  margin-top:2px;
}
@media(max-width:760px){
  .twelve-row{gap:6px}
  .twelve-bubble.big{width:28px;height:28px;font-size:12px}
  .twelve-bubble.small{width:11px;height:11px}
}

/* v037 profile page + simplified nav */
.profile-form{display:grid;gap:10px}
.profile-form label{font-size:12px;color:var(--muted);font-weight:900;text-transform:uppercase}
.profile-form input{width:100%;padding:12px;border-radius:12px;border:1px solid #2d4774;background:#081327;color:white;font-family:inherit}
.profile-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.profile-card{border:1px solid var(--gold);background:linear-gradient(180deg,#0d1b35,#050b18);border-radius:26px;box-shadow:0 0 42px rgba(255,197,51,.18);overflow:hidden;margin-top:16px}
.profile-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:14px 16px;border-bottom:1px solid #263b61;background:linear-gradient(90deg,#10244b,#081427)}
.profile-card-head h1{font-size:23px;margin:0}
.profile-sub{color:var(--muted);font-size:13px;font-weight:900;margin-top:3px}
.profile-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;padding:14px}
.profile-grid div{background:#091831;border:1px solid #1d3154;border-radius:14px;padding:10px}
.profile-grid small{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;font-weight:900}
.profile-grid b{display:block;margin-top:3px;font-size:14px}
.profile-big{padding:14px 16px;border-top:1px solid #172945;text-align:center}
.profile-big .phase{font-size:20px;font-weight:950;color:var(--gold)}
.profile-note{padding:0 16px 16px;color:var(--muted);font-size:12px;line-height:1.45}
@media(min-width:761px){
  .nav .menu a[href="rising.html"], .nav .menu a[href="waning.html"]{display:none}
}
@media(max-width:760px){
  .mobile-bottom-nav{grid-template-columns:repeat(3,1fr)}
  .mobile-bottom-nav a[href="rising.html"], .mobile-bottom-nav a[href="waning.html"]{display:none}
  .profile-grid{grid-template-columns:1fr}
}

/* v038 live layout fix */
.v033-main-row{grid-template-columns:minmax(0,1fr) 112px!important;gap:8px!important;align-items:start!important}
.v033-lunar-side{min-height:164px!important;max-height:182px!important;padding:7px 5px!important;border-radius:18px!important;align-self:start!important;overflow:hidden!important}
.v033-lunar-curve{font-family:"Hind Madurai",system-ui,sans-serif!important;white-space:normal!important;line-height:1.15!important;font-size:12px!important;text-align:center!important}
.lunar-arc-fixed{position:relative;height:92px;width:100%}
.lunar-arc-fixed .arc-label{position:absolute;font-size:10px;color:#cfe0ff;font-weight:900;white-space:nowrap}
.lunar-arc-fixed .arc-start{left:1px;top:47px}.lunar-arc-fixed .arc-end{right:1px;top:47px}
.lunar-arc-fixed .arc-mark{position:absolute;width:14px;height:14px;border-radius:50%;border:1px solid #31476e;background:#0d1930}
.lunar-arc-fixed .arc-mark.passed{background:#31476e}
.lunar-arc-fixed .arc-mark.active{background:var(--gold);border-color:var(--gold);box-shadow:0 0 16px rgba(255,197,51,.85);transform:scale(1.22)}
.lunar-arc-fixed .m1{left:15px;top:17px}.lunar-arc-fixed .m2{left:34px;top:7px}.lunar-arc-fixed .m3{left:54px;top:17px}.lunar-arc-fixed .m4{left:64px;top:39px}.lunar-arc-fixed .m5{left:54px;top:61px}.lunar-arc-fixed .m6{left:34px;top:70px}.lunar-arc-fixed .m7{left:15px;top:61px}
.v033-tithi-name{font-size:12px!important;line-height:1.15!important;margin-top:2px!important}
.v034-lunar-small{font-size:9px!important;margin-top:3px!important}.v034-lunar-legend{display:none!important}
.v032-activity-title{font-size:22px!important;margin-bottom:5px!important}.v032-remaining{font-size:28px!important;line-height:1.05!important;margin:4px 0 7px!important}
.duration-line{font-size:15px!important;margin-bottom:4px!important}.quality-line{margin-top:6px!important;font-size:14px!important}
.twelve-row{width:100%;justify-content:space-between;gap:4px!important;margin-top:7px!important;padding:4px 0!important}
.twelve-bubble.big{width:30px!important;height:30px!important;font-size:13px!important}.twelve-bubble.small{width:13px!important;height:13px!important}
.twelve-caption{font-size:11px!important;margin-top:1px!important}
.v032-inner-line{margin-top:8px!important;display:block!important}.v032-inner-line .inner-dots{margin-top:0!important;gap:10px!important}
.inner-dot{width:30px!important;height:30px!important}
@media(max-width:390px){.v033-main-row{grid-template-columns:minmax(0,1fr) 104px!important}.twelve-bubble.big{width:28px!important;height:28px!important}.twelve-bubble.small{width:11px!important;height:11px!important}.inner-dot{width:28px!important;height:28px!important}}

/* v039 polish */
.v033-main-row{grid-template-columns:minmax(0,1fr) 126px!important;gap:10px!important}
.v033-lunar-side{min-height:184px!important;max-height:208px!important;padding:9px 7px!important}
.lunar-arc-fixed{height:106px!important}.lunar-arc-fixed .arc-label{font-size:11px!important}.lunar-arc-fixed .arc-mark{width:15px!important;height:15px!important}
.lunar-arc-fixed .m1{left:18px!important;top:19px!important}.lunar-arc-fixed .m2{left:39px!important;top:8px!important}.lunar-arc-fixed .m3{left:61px!important;top:19px!important}.lunar-arc-fixed .m4{left:72px!important;top:45px!important}.lunar-arc-fixed .m5{left:61px!important;top:70px!important}.lunar-arc-fixed .m6{left:39px!important;top:82px!important}.lunar-arc-fixed .m7{left:18px!important;top:70px!important}
.v033-tithi-name{font-size:13px!important}.v034-lunar-small{font-size:10px!important}
.v032-remaining{font-size:34px!important;margin:4px 0 8px!important}
.twelve-row{width:100%!important;max-width:none!important;justify-content:space-between!important;gap:6px!important;margin-top:10px!important;padding-right:4px!important}
.twelve-bubble.big{width:34px!important;height:34px!important;font-size:15px!important}.twelve-bubble.small{width:15px!important;height:15px!important}
.twelve-caption{font-size:13px!important;margin-top:4px!important}
.v032-inner-line{display:none!important}
@media(max-width:390px){.v033-main-row{grid-template-columns:minmax(0,1fr) 116px!important}.twelve-bubble.big{width:31px!important;height:31px!important}.twelve-bubble.small{width:13px!important;height:13px!important}}

/* v040: landscape lunar panel above activity + bigger current bird */
.v033-main-row{display:block!important}
.v033-lunar-side{width:100%!important;min-height:92px!important;max-height:none!important;padding:8px 10px!important;margin:0 0 12px 0!important;border-radius:18px!important}
.v033-lunar-curve{width:100%!important}
.lunar-arc-fixed{height:62px!important;max-width:360px;margin:0 auto}
.lunar-arc-fixed .arc-label{top:25px!important;font-size:12px!important}
.lunar-arc-fixed .arc-start{left:0!important}.lunar-arc-fixed .arc-end{right:0!important}
.lunar-arc-fixed .arc-mark{width:16px!important;height:16px!important}
.lunar-arc-fixed .m1{left:14%!important;top:32px!important}.lunar-arc-fixed .m2{left:26%!important;top:16px!important}.lunar-arc-fixed .m3{left:39%!important;top:6px!important}.lunar-arc-fixed .m4{left:50%!important;top:2px!important}.lunar-arc-fixed .m5{left:61%!important;top:6px!important}.lunar-arc-fixed .m6{left:74%!important;top:16px!important}.lunar-arc-fixed .m7{left:86%!important;top:32px!important}
.v033-tithi-name{font-size:13px!important;margin-top:2px!important}
.v034-lunar-small{display:inline-block;margin-left:6px;font-size:10px!important}
.v032-activity-title{font-size:32px!important;line-height:1.1!important}
.v032-remaining{font-size:40px!important}
.twelve-row{overflow:visible!important;gap:5px!important}
.twelve-bubble.big{width:36px!important;height:36px!important}
.twelve-bubble.small{width:14px!important;height:14px!important}
@media(max-width:760px){.v032-activity-title{font-size:31px!important}.v032-remaining{font-size:38px!important}.v033-lunar-side{min-height:86px!important;padding:7px 8px!important}.lunar-arc-fixed{height:58px!important}.lunar-arc-fixed .arc-mark{width:15px!important;height:15px!important}.twelve-bubble.big{width:34px!important;height:34px!important}.twelve-bubble.small{width:12px!important;height:12px!important}}
@media(max-width:390px){.v032-activity-title{font-size:28px!important}.v032-remaining{font-size:34px!important}.twelve-bubble.big{width:31px!important;height:31px!important}.twelve-bubble.small{width:10px!important;height:10px!important}}

/* v041 final live polish */
.v032-activity-title{
  display:grid;
  grid-template-columns:72px 1fr;
  align-items:center;
  gap:12px;
  font-size:28px!important;
  line-height:1.08!important;
}
.current-bird-hero{
  font-size:58px;
  line-height:1;
  filter:drop-shadow(0 0 18px rgba(255,197,51,.22));
}
.current-bird-name{
  font-size:34px;
  font-weight:950;
}
.current-activity-line{
  margin-top:4px;
  font-size:18px;
  color:#dbe8ff;
  font-weight:950;
}
.good-time-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,197,51,.45);
  background:rgba(255,197,51,.10);
  color:var(--gold);
  font-weight:950;
  font-size:16px;
}
.v032-remaining{font-size:39px!important;margin-top:8px!important}
.duration-line{font-size:16px!important}
.percent-line#activityPercentText{display:none!important}
.v033-lunar-side{width:100%!important;min-height:98px!important;padding:10px 12px!important}
.lunar-arc-fixed{height:58px!important;max-width:none!important;width:100%!important}
.lunar-arc-fixed .arc-label{font-size:12px!important;top:22px!important}
.lunar-arc-fixed .arc-start{left:0!important}.lunar-arc-fixed .arc-end{right:0!important}
.lunar-arc-fixed .arc-mark{width:13px!important;height:13px!important}
.lunar-arc-fixed .m1{left:8%!important;top:30px!important}
.lunar-arc-fixed .m2{left:15%!important;top:20px!important}
.lunar-arc-fixed .m3{left:22%!important;top:12px!important}
.lunar-arc-fixed .m4{left:29%!important;top:7px!important}
.lunar-arc-fixed .m5{left:36%!important;top:4px!important}
.lunar-arc-fixed .m6{left:43%!important;top:3px!important}
.lunar-arc-fixed .m7{left:50%!important;top:2px!important}
.lunar-arc-fixed .m8{left:57%!important;top:3px!important}
.lunar-arc-fixed .m9{left:64%!important;top:4px!important}
.lunar-arc-fixed .m10{left:71%!important;top:7px!important}
.lunar-arc-fixed .m11{left:78%!important;top:12px!important}
.lunar-arc-fixed .m12{left:85%!important;top:20px!important}
.lunar-arc-fixed .m13{left:92%!important;top:30px!important}
.v033-tithi-name{font-size:13px!important}
.twelve-row{
  gap:5px!important;
  justify-content:space-between!important;
  align-items:center!important;
  overflow:visible!important;
}
.twelve-bubble{transition:.2s ease}
.twelve-bubble.big.p1{width:27px!important;height:27px!important;font-size:11px!important}
.twelve-bubble.big.p2{width:30px!important;height:30px!important;font-size:12px!important}
.twelve-bubble.big.p3{width:33px!important;height:33px!important;font-size:13px!important}
.twelve-bubble.big.p4{width:36px!important;height:36px!important;font-size:14px!important}
.twelve-bubble.big.p5{width:40px!important;height:40px!important;font-size:15px!important}
.twelve-bubble.small.p6{width:17px!important;height:17px!important}
.twelve-bubble.small.p7{width:16px!important;height:16px!important}
.twelve-bubble.small.p8{width:15px!important;height:15px!important}
.twelve-bubble.small.p9{width:14px!important;height:14px!important}
.twelve-bubble.small.p10{width:13px!important;height:13px!important}
.twelve-bubble.small.p11{width:12px!important;height:12px!important}
.twelve-bubble.small.p12{width:11px!important;height:11px!important}
.twelve-bubble.active{
  box-shadow:0 0 24px rgba(255,197,51,.9)!important;
}
.twelve-caption{
  font-size:13px!important;
  color:#dbe8ff!important;
}
@media(max-width:760px){
  .v032-activity-title{grid-template-columns:64px 1fr;font-size:26px!important}
  .current-bird-hero{font-size:54px}
  .current-bird-name{font-size:32px}
  .current-activity-line{font-size:17px}
  .v032-remaining{font-size:38px!important}
  .twelve-row{gap:4px!important}
  .twelve-bubble.big.p1{width:25px!important;height:25px!important}
  .twelve-bubble.big.p2{width:28px!important;height:28px!important}
  .twelve-bubble.big.p3{width:31px!important;height:31px!important}
  .twelve-bubble.big.p4{width:34px!important;height:34px!important}
  .twelve-bubble.big.p5{width:37px!important;height:37px!important}
  .twelve-bubble.small.p6{width:15px!important;height:15px!important}
  .twelve-bubble.small.p7{width:14px!important;height:14px!important}
  .twelve-bubble.small.p8{width:13px!important;height:13px!important}
  .twelve-bubble.small.p9{width:12px!important;height:12px!important}
  .twelve-bubble.small.p10{width:11px!important;height:11px!important}
  .twelve-bubble.small.p11{width:10px!important;height:10px!important}
  .twelve-bubble.small.p12{width:9px!important;height:9px!important}
}
@media(max-width:390px){
  .current-bird-name{font-size:28px}
  .current-bird-hero{font-size:50px}
}

/* v042 render fixed */
.mobile-bottom-nav{height:54px!important;padding:2px 0 max(2px,env(safe-area-inset-bottom))!important;grid-template-columns:repeat(3,1fr)!important}
.mobile-bottom-nav a{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:1px!important;font-size:9px!important;font-weight:700!important;line-height:1!important}
.mobile-bottom-nav .ico{font-size:16px!important;line-height:1!important;margin-bottom:1px!important}.mobile-bottom-nav a.active{color:var(--gold)!important}.mobile-bottom-nav a.active .ico{transform:scale(1.08)!important}
@media(max-width:480px){.mobile-bottom-nav{height:50px!important}.mobile-bottom-nav .ico{font-size:15px!important}.mobile-bottom-nav a{font-size:8px!important}}
.v033-lunar-side{width:100%!important;min-height:112px!important;max-height:none!important;padding:8px 12px!important;margin:0 0 12px 0!important;border-radius:18px!important;overflow:hidden!important}
.v033-lunar-curve{width:100%!important;white-space:normal!important;font-family:"Hind Madurai",system-ui,sans-serif!important}
.lunar-top,.lunar-bottom{display:flex;justify-content:space-between;align-items:center;font-weight:900}.lunar-top{font-size:12px;color:#cfe0ff;margin-bottom:2px}.lunar-bottom{font-size:20px;margin-top:2px}
.lunar-arc-fixed{position:relative;height:52px!important;width:100%!important;max-width:none!important;margin:0 auto!important}.lunar-arc-fixed .arc-label{display:none!important}
.lunar-arc-fixed .arc-mark{position:absolute;width:13px!important;height:13px!important;border-radius:50%;border:1px solid #31476e;background:#0d1930}.lunar-arc-fixed .arc-mark.passed{background:#31476e}.lunar-arc-fixed .arc-mark.active{background:var(--gold);border-color:var(--gold);box-shadow:0 0 18px rgba(255,197,51,.85);transform:scale(1.35)}
.lunar-arc-fixed .m1{left:8%!important;top:32px!important}.lunar-arc-fixed .m2{left:15%!important;top:21px!important}.lunar-arc-fixed .m3{left:22%!important;top:13px!important}.lunar-arc-fixed .m4{left:29%!important;top:7px!important}.lunar-arc-fixed .m5{left:36%!important;top:4px!important}.lunar-arc-fixed .m6{left:43%!important;top:2px!important}.lunar-arc-fixed .m7{left:50%!important;top:1px!important}.lunar-arc-fixed .m8{left:57%!important;top:2px!important}.lunar-arc-fixed .m9{left:64%!important;top:4px!important}.lunar-arc-fixed .m10{left:71%!important;top:7px!important}.lunar-arc-fixed .m11{left:78%!important;top:13px!important}.lunar-arc-fixed .m12{left:85%!important;top:21px!important}.lunar-arc-fixed .m13{left:92%!important;top:32px!important}
.v033-tithi-name{font-size:13px!important;margin-top:2px!important;color:var(--gold);font-weight:950;text-align:center}.v034-lunar-small{display:inline-block;margin-left:6px;color:var(--muted);font-size:10px!important}

/* v043 animated 12-part progress, no Part text */
.twelve-row{
  position:relative;
  margin-top:10px!important;
  padding:8px 2px 6px!important;
  overflow:visible!important;
}
.twelve-bubble{position:relative}
.twelve-bubble.active::after{
  content:"";
  position:absolute;
  inset:-7px;
  border-radius:999px;
  border:2px solid rgba(255,197,51,.55);
  animation:ppPulse 1.15s ease-out infinite;
}
.twelve-bubble.active{
  animation:ppActiveBeat 1.15s ease-in-out infinite;
}
.twelve-bubble.passed{
  box-shadow:0 0 8px rgba(255,197,51,.18);
}
.twelve-caption{display:none!important}
@keyframes ppPulse{
  0%{transform:scale(.7);opacity:.9}
  100%{transform:scale(1.45);opacity:0}
}
@keyframes ppActiveBeat{
  0%,100%{transform:scale(1.18)}
  50%{transform:scale(1.32)}
}

/* v044 atcharam + running horizontal progress */
.v032-activity-title{grid-template-columns:92px 1fr!important;gap:14px!important;align-items:center!important}
.current-bird-hero{font-size:86px!important;line-height:1!important;filter:drop-shadow(0 0 22px rgba(255,197,51,.32))!important}
.current-bird-name{font-size:38px!important;line-height:1!important}
.live-hero-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}
.atcharam-badge{margin-left:auto;min-width:58px;text-align:center;padding:8px 10px;border-radius:16px;border:1px solid rgba(255,197,51,.45);background:rgba(255,197,51,.10);color:var(--gold);font-weight:950}
.atcharam-badge small{display:block;font-size:9px;color:#cfe0ff;text-transform:uppercase;margin-bottom:1px}.atcharam-badge b{display:block;font-size:28px;line-height:1}
.quality-line{display:none!important}.good-time-badge{margin-top:7px!important}
.twelve-row{--progress:0%;position:relative!important;height:46px;padding:8px 0!important;margin-top:12px!important;overflow:visible!important}
.twelve-row::before{content:"";position:absolute;left:0;right:0;top:50%;height:6px;transform:translateY(-50%);border-radius:999px;background:#0b1831;border:1px solid #243a60}
.twelve-row::after{content:"";position:absolute;left:0;top:50%;width:var(--progress);height:6px;transform:translateY(-50%);border-radius:999px;background:linear-gradient(90deg,rgba(255,197,51,.95),rgba(255,240,160,.95));box-shadow:0 0 18px rgba(255,197,51,.35);transition:width .9s linear}
.twelve-bubble{z-index:2;background:#0d1930!important}.twelve-bubble.passed,.twelve-bubble.active{background:var(--gold)!important;color:#071225!important;border-color:var(--gold)!important}
.twelve-bubble.active{animation:none!important;box-shadow:0 0 18px rgba(255,197,51,.75)!important}.twelve-bubble.active::after{display:none!important}
@media(max-width:760px){.v032-activity-title{grid-template-columns:84px 1fr!important}.current-bird-hero{font-size:80px!important}.current-bird-name{font-size:34px!important}.atcharam-badge{min-width:52px;padding:7px 8px}.atcharam-badge b{font-size:25px}}
@media(max-width:390px){.v032-activity-title{grid-template-columns:76px 1fr!important}.current-bird-hero{font-size:72px!important}.current-bird-name{font-size:31px!important}}

/* v045 smoother running 12-part progress */
.twelve-row::after{
  transition:width 2s linear !important;
  background:
    linear-gradient(90deg, rgba(255,197,51,.95), rgba(255,240,160,.95), rgba(255,197,51,.95)) !important;
  background-size:200% 100% !important;
  animation:ppRunFill 2s linear infinite !important;
}
@keyframes ppRunFill{
  from{background-position:0% 0}
  to{background-position:200% 0}
}
