
/* D2M V41 — final no-AI polish: site typography, native mobile app feel, serious boss emblem */

/* SITE headline balance */
.value-system-section .section-head h2{
  line-height:.93!important;
  letter-spacing:-.073em!important;
  max-width:1040px!important;
  text-wrap:balance!important;
}
.value-system-section .section-head h2 span{display:inline-block}
@media(max-width:760px){
  .value-system-section .section-head h2{
    font-size:clamp(34px,9.2vw,46px)!important;
    line-height:.97!important;
    letter-spacing:-.061em!important;
  }
}

/* ACCESS page: remove any demo feel */
.accessPage .auth{max-width:720px!important;}
.accessPage .auth h1{letter-spacing:-.075em!important;}
.accessHelp{font-weight:900!important;}

/* DESKTOP app: hide mobile leftovers and keep pro dashboard */
@media(min-width:761px){
  .v36BottomNav,.v37BottomNav,.v38BottomNav,.v40BottomNav,.v41BottomNav{display:none!important}
  .appShell{max-width:1580px!important;margin:0 auto!important;padding:18px!important;gap:18px!important}
  .side{width:264px!important;flex:0 0 264px!important;border-radius:30px!important;min-height:calc(100svh - 36px)!important;position:sticky!important;top:18px!important}
  .main{min-width:0!important;padding-bottom:20px!important}
  .dailyHero{grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr)!important;gap:18px!important;align-items:stretch!important}
  .heroPanel,.battleCard{min-height:548px!important}
  .heroPanel{display:flex!important;flex-direction:column!important;justify-content:center!important}
  .heroPanel h2{font-size:clamp(52px,4.8vw,76px)!important;line-height:.9!important;max-width:760px!important}
  .battleCard{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:stretch!important}
}

/* Serious boss emblem: no emoji, no cheap ring */
.battleAvatar.v41Boss,
.bossOrb.v41Boss{
  position:relative!important;
  isolation:isolate!important;
  display:grid!important;
  place-items:center!important;
  color:transparent!important;
  font-size:0!important;
  text-shadow:none!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 50% 42%,rgba(0,0,0,.95) 0 20%,rgba(255,83,112,.25) 21% 44%,transparent 46%),
    radial-gradient(circle at 32% 20%,rgba(255,255,255,.16),transparent 20%),
    linear-gradient(145deg,rgba(255,83,112,.16),rgba(255,255,255,.048))!important;
  border:1px solid rgba(255,83,112,.34)!important;
  box-shadow:0 28px 80px rgba(255,83,112,.15),inset 0 1px 0 rgba(255,255,255,.055)!important;
}
.battleAvatar.v41Boss:before,.battleAvatar.v41Boss:after,
.bossOrb.v41Boss:before,.bossOrb.v41Boss:after{display:none!important;content:none!important}
.v41BossSvg{width:68%!important;height:68%!important;display:block!important;filter:drop-shadow(0 0 20px rgba(255,83,112,.34))!important}
.v41BossSvg .ring{stroke:rgba(247,241,223,.92);stroke-width:5.5;fill:none;stroke-linecap:round;stroke-dasharray:96 22;transform-origin:50% 50%;transform:rotate(-24deg)}
.v41BossSvg .slash{stroke:rgba(120,247,178,.92);stroke-width:5.5;fill:none;stroke-linecap:round}
.v41BossSvg .core{fill:rgba(5,7,12,.98);stroke:rgba(255,83,112,.72);stroke-width:3}
@media(min-width:761px){.battleAvatar.v41Boss{width:132px!important;height:132px!important;border-radius:42px!important;margin:0 auto 16px!important}.bossOrb.v41Boss{width:150px!important;height:150px!important;border-radius:46px!important}}

/* MOBILE: make it feel native and less like a website */
@media(max-width:760px){
  html,body{overflow-x:hidden!important;max-width:100%!important}
  .appBody{padding-bottom:106px!important;background:radial-gradient(circle at 50% -8%,rgba(126,247,184,.12),transparent 38%),linear-gradient(180deg,#05070c,#07100f)!important}
  .mobileTop{position:sticky!important;top:0!important;z-index:60!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:8px 11px!important;min-height:54px!important;background:rgba(5,7,12,.92)!important;backdrop-filter:blur(20px)!important;border-bottom:1px solid rgba(255,255,255,.08)!important}
  .mobileTop .brand{gap:8px!important;min-width:0!important}.mobileTop .brand .logo{width:38px!important;height:38px!important;flex:0 0 38px!important;border-radius:14px!important;font-size:12px!important}.mobileTop .brand span:last-child{font-size:0!important}.mobileTop .brand span:last-child:after{content:'D2M Game';font-size:16px!important;font-weight:1000!important;letter-spacing:-.04em!important}.mobileTop .badge{max-width:42vw!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;padding:7px 9px!important;font-size:10.5px!important}
  .appShell{display:block!important;padding:0 10px 8px!important}.side,.menu,.topbar{display:none!important}.main{padding:0!important;min-width:0!important}.tab{padding-top:9px!important}
  .dailyHero{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}.heroPanel{padding:14px!important;border-radius:23px!important;min-height:auto!important}.heroPanel h2{font-size:28px!important;line-height:.95!important;letter-spacing:-.057em!important;margin:7px 0!important}.heroPanel .sub{font-size:13.5px!important;line-height:1.32!important;margin:0 0 9px!important}
  .cleanDashboard{grid-template-columns:repeat(3,1fr)!important;gap:6px!important;margin:9px 0!important}.cleanMetric{padding:8px 6px!important;border-radius:13px!important;min-height:auto!important}.cleanMetric small{font-size:7.8px!important;letter-spacing:.03em!important}.cleanMetric b{font-size:17px!important}
  #v37MobileQuick{display:grid!important;grid-template-columns:1fr 1fr 1fr!important;gap:6px!important;margin:9px 0!important}#v37MobileQuick button{min-height:40px!important;padding:8px 5px!important;border-radius:13px!important;font-size:10.5px!important}
  #v38MobileQuick,#v38MobileCommand,#v36NowStatus,#v40MobileCommand{display:none!important}#home .ctas{display:none!important}
  .todayQuestMini{gap:6px!important;margin-top:9px!important}.miniQuest,.quest{display:grid!important;grid-template-columns:31px 1fr!important;gap:8px!important;padding:9px!important;border-radius:14px!important}.miniQuest small,.quest small{width:29px!important;height:29px!important;border-radius:10px!important;font-size:10.5px!important}.miniQuest b,.quest b{font-size:12.5px!important;line-height:1.15!important}.miniQuest span,.quest span{grid-column:2!important;font-size:9.8px!important}
  .battleCard{padding:13px!important;border-radius:23px!important;min-height:auto!important}.battleCard h3{font-size:21px!important;line-height:1!important;margin:6px 0!important}.battleCard p{font-size:12.5px!important;line-height:1.3!important}.battleAvatar.v41Boss,.bossOrb.v41Boss{width:72px!important;height:72px!important;border-radius:23px!important;margin:0 0 8px!important}.bar,.hp{height:8px!important}.btn,.primary,.ghost,.soft{min-height:44px!important;border-radius:14px!important}
  .panel,.card,.modeCard,.characterHeroCard,.battleCard,.statBlock,.noteCard,.empty{padding:14px!important;border-radius:23px!important}.choiceGrid,.modeGrid,.statsGrid,.moneyGrid,#programMap,.shopGrid,.achGrid,.reportGrid{grid-template-columns:1fr!important}.wizard{grid-template-columns:1fr!important}.wizardStep{padding:14px!important}
  #programMap{grid-template-columns:repeat(5,1fr)!important;gap:7px!important}#programMap>*{min-height:48px!important;padding:7px!important;font-size:10.5px!important;border-radius:15px!important}
  .v36BottomNav,.v37BottomNav,.v38BottomNav,.v40BottomNav{display:none!important}.v41BottomNav{position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:100;display:grid;grid-template-columns:repeat(5,1fr);gap:6px;padding:8px;border-radius:22px;border:1px solid rgba(255,255,255,.12);background:rgba(5,7,12,.94);backdrop-filter:blur(20px);box-shadow:0 18px 55px rgba(0,0,0,.44)}.v41BottomNav button{min-height:47px;border:0;border-radius:16px;background:rgba(255,255,255,.05);color:#dce8e3;font-size:10px;font-weight:1000;display:grid;place-items:center;gap:2px}.v41BottomNav button i{font-style:normal;font-size:17px;line-height:1}.v41BottomNav button.active{color:#061014;background:linear-gradient(135deg,#eafff3,#7ef7b8)}
}
