/* TriFront Stage904 Daily Rush: beta labeling + attempt-based win streak */
/* Stage954/955: illustrated effect preview and simplified mission bonus hint. */

.trfDailyRushEntry,
.trfDailyRushMenu,
.trfDailyRushModal,
.trfDailyRushAction,
.trfDailyRushCardChoice{
  font-family:var(--trf-font-mincho,ui-serif,"Hiragino Mincho ProN","Yu Mincho",serif) !important;
}

.trfDailyRushEntryRow{
  display:flex !important;
  justify-content:center;
  align-items:center;
  gap:8px;
}

.trfDailyRushEntry{
  position:relative;
  overflow:hidden;
  border-color:rgba(238,244,250,.82) !important;
  background:
    linear-gradient(90deg,rgba(5,8,12,.84),rgba(8,10,14,.5) 50%,rgba(5,8,12,.82)),
    url("img/daily-rush/daily-entry.png") center 48% / cover no-repeat !important;
  box-shadow:
    inset 0 1px 0 rgba(255,244,196,.13),
    0 8px 22px rgba(0,0,0,.24);
  letter-spacing:.04em;
  color:#fff6df !important;
  text-shadow:0 2px 5px rgba(0,0,0,.98),0 0 12px rgba(0,0,0,.72);
}

.trfDailyRushEntry span{
  display:inline-block;
  margin-left:.45em;
  font-size:.58em;
  font-weight:800;
  letter-spacing:.12em;
  color:#f2cd68;
  opacity:1;
  text-shadow:0 0 5px rgba(255,220,115,.9),0 0 13px rgba(224,170,45,.52),0 2px 5px rgba(0,0,0,.98);
  vertical-align:.15em;
}

.trfDailyRushEntry.is-attempted{
  border-color:rgba(238,244,250,.82) !important;
  filter:saturate(.68);
  opacity:.82;
}

.trfDailyRushEntry.is-attempted span{
  color:rgba(239,242,246,.72);
  text-shadow:0 2px 5px rgba(0,0,0,.98);
}

body.trf-daily-rush-active .hand.trf-daily-guide-hand{
  filter:none !important;
  opacity:1 !important;
  width:100%;
}

body.trf-daily-rush-active .trfDailyRushMissionRow,
body.trf-daily-rush-active .trfDailyRushMissionWrap{
  width:100%;
  flex:1 1 auto !important;
  min-width:0;
}

body.trf-daily-rush-active .trfDailyRushMissionRow{
  padding-inline:clamp(8px,3vw,18px);
}

body.trf-daily-rush-active .hand.trf-daily-guide-hand .passFlag.trfDailyRushGuide{
  display:flex !important;
  flex-direction:column;
  align-items:stretch;
  gap:5px;
  left:0;
  right:0;
  top:50%;
  width:auto;
  transform:translateY(-50%);
  padding:0;
  font:900 clamp(15px,4.2vw,20px)/1.28 var(--trf-font-mincho,ui-serif,"Hiragino Mincho ProN","Yu Mincho",serif);
  letter-spacing:.04em;
  color:#f1ead8;
  text-align:center;
  text-shadow:0 2px 8px rgba(0,0,0,.72);
  opacity:.98;
  z-index:3000;
}

body.trf-daily-rush-active .hand.trf-daily-guide-hand .passFlag.trfDailyRushGuide .tag{
  max-width:100%;
  width:100%;
  box-sizing:border-box;
  padding:8px 14px;
  border:1px solid rgba(205,178,105,.52);
  border-radius:999px;
  background:linear-gradient(180deg,rgba(25,27,31,.92),rgba(12,14,18,.9));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 3px 12px rgba(0,0,0,.24);
  white-space:normal;
}

body.trf-daily-rush-active .trfDailyRushBonusHint{
  align-self:center;
  padding:2px 10px;
  border-radius:999px;
  background:rgba(103,79,30,.7);
  color:#f4d98e;
  font:800 clamp(11px,2.8vw,14px)/1.35 var(--trf-font-mincho,ui-serif,"Hiragino Mincho ProN","Yu Mincho",serif);
  letter-spacing:.04em;
  white-space:nowrap;
}

body.trf-daily-rush-active .zones .zone.trfDailyRushRequiredLane{
  position:relative;
  outline:2px solid rgba(247,208,105,.95);
  outline-offset:-3px;
  border-radius:12px;
  box-shadow:inset 0 0 22px rgba(217,171,54,.12),0 0 16px rgba(226,184,72,.22);
}

body.trf-daily-rush-active .trfSideScore__label{
  letter-spacing:.08em;
}

body.trf-daily-rush-active .trfSideScore--me .trfSideScore__num{
  font-size:clamp(12px,3.4vw,18px);
}

.trfDailyRushModal{
  z-index:2147482500 !important;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(3,5,8,.58);
  backdrop-filter:blur(2px);
  -webkit-backdrop-filter:blur(2px);
}

.trfDailyRushModal__box{
  width:min(88vw,390px);
  max-height:min(82vh,620px);
  overflow:auto;
  padding:22px 20px 18px;
  border:1px solid rgba(208,180,108,.58);
  border-radius:18px;
  background:
    radial-gradient(circle at 50% -20%,rgba(190,151,66,.2),transparent 48%),
    linear-gradient(180deg,rgba(27,30,36,.985),rgba(12,14,18,.99));
  box-shadow:0 22px 70px rgba(0,0,0,.58),inset 0 1px 0 rgba(255,255,255,.08);
  color:#f3efe6;
  text-align:center;
}

.trfDailyRushModal[data-trf-daily-popup="stage"] .trfDailyRushModal__box{
  border-color:rgba(197,169,101,.74);
  background:
    linear-gradient(180deg,rgba(6,9,15,.64),rgba(7,9,14,.9)),
    url("img/daily-rush/stage.jpeg") center 46% / cover no-repeat;
}

.trfDailyRushModal[data-trf-daily-popup="bonus"] .trfDailyRushModal__box{
  border-color:rgba(221,174,68,.76);
  background:
    linear-gradient(180deg,rgba(8,9,11,.56),rgba(8,9,12,.9)),
    url("img/daily-rush/bonus.jpeg") center 48% / cover no-repeat;
  box-shadow:0 22px 70px rgba(0,0,0,.62),0 0 28px rgba(201,143,37,.13),inset 0 1px 0 rgba(255,255,255,.08);
}

.trfDailyRushModal[data-trf-daily-popup="effects"] .trfDailyRushModal__box{
  width:min(92vw,440px);
  border-color:rgba(197,169,101,.74);
  background:
    linear-gradient(180deg,rgba(6,9,15,.7),rgba(7,9,14,.94)),
    url("img/daily-rush/challenge.jpeg") center 50% / cover no-repeat;
}

.trfDailyRushModal[data-trf-daily-popup="effects"] .trfDailyRushModal__eyebrow{
  margin-bottom:5px;
  color:rgba(232,215,169,.78);
  letter-spacing:.14em;
}

.trfDailyRushModal[data-trf-daily-popup="effects"] .trfDailyRushModal__title{
  color:#e8c66f;
  font-size:clamp(30px,8vw,40px);
  letter-spacing:.075em;
  text-shadow:0 3px 16px rgba(0,0,0,.72),0 0 18px rgba(211,166,60,.18);
}

.trfDailyRushModal[data-trf-daily-popup="stage"] .trfDailyRushStageList__row{
  background:rgba(8,11,17,.7);
}

.trfDailyRushModal[data-trf-daily-popup="stage"] .trfDailyRushStageList__row.is-current{
  background:linear-gradient(135deg,rgba(117,97,46,.72),rgba(26,25,22,.84));
}

.trfDailyRushModal__eyebrow{
  margin:0 0 7px;
  color:#d9bd76;
  font:800 11px/1.2 var(--trf-font-mincho,ui-serif,"Hiragino Mincho ProN","Yu Mincho",serif);
  letter-spacing:.18em;
}

.trfDailyRushModal__title{
  margin:0;
  color:#fff8e8;
  font:900 clamp(22px,6vw,31px)/1.12 var(--trf-font-mincho,ui-serif,"Hiragino Mincho ProN","Yu Mincho",serif);
  letter-spacing:.035em;
  text-shadow:0 3px 16px rgba(0,0,0,.55);
}

.trfDailyRushModal__body{
  margin:16px 0 18px;
  color:rgba(245,241,232,.88);
  font:600 14px/1.55 system-ui,-apple-system,sans-serif;
}

.trfDailyRushModal__body p{
  margin:5px 0;
}

.trfDailyRushModal__body p:nth-last-child(-n+3){ color:#f3d98f; }

.trfDailyRushStageList{
  display:grid;
  gap:8px;
  text-align:left;
}

.trfDailyRushStageList__row{
  display:grid;
  grid-template-columns:74px minmax(0,1fr);
  gap:10px;
  align-items:center;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:12px;
  background:rgba(255,255,255,.035);
  color:rgba(245,241,232,.68);
}

.trfDailyRushStageList__row.is-current{
  border-color:rgba(240,207,117,.82);
  background:linear-gradient(135deg,rgba(117,97,46,.52),rgba(44,37,23,.68));
  color:#fff4cf;
  box-shadow:0 0 0 2px rgba(240,207,117,.1),inset 0 1px 0 rgba(255,255,255,.08);
}

.trfDailyRushStageList__row.is-cleared{ opacity:.55; }
.trfDailyRushStageList__label{ font-size:11px; letter-spacing:.08em; }
.trfDailyRushStageList__condition{ font-weight:800; line-height:1.35; }

.trfDailyRushStageBonusHint{
  margin-top:4px;
  padding:0;
  border:0;
  border-radius:0;
  background:none;
  color:#ffe29a;
  font-size:12px;
  font-weight:900;
  line-height:1.45;
  text-align:center;
  text-shadow:0 2px 8px rgba(0,0,0,.82),0 0 10px rgba(231,184,67,.18);
}

.trfDailyRushTodayEffects{
  display:grid;
  gap:8px;
  text-align:left;
}

.trfDailyRushTodayEffects__heading,
.trfDailyRushTodayEffects__bonusHeading{
  color:#d9bd76;
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
}

.trfDailyRushTodayEffects__row{
  --trf-daily-effect-rgb:132,108,63;
  display:grid;
  grid-template-columns:42px 50px minmax(0,1fr);
  gap:9px;
  align-items:center;
  padding:9px 10px;
  border:1px solid rgba(var(--trf-daily-effect-rgb),.76);
  border-radius:11px;
  background:
    linear-gradient(90deg,rgba(var(--trf-daily-effect-rgb),.20),rgba(8,11,17,.82) 42%),
    rgba(8,11,17,.82);
  box-shadow:inset 3px 0 0 rgba(var(--trf-daily-effect-rgb),.88),0 4px 12px rgba(0,0,0,.13);
}

.trfDailyRushTodayEffects__row--g123{ --trf-daily-effect-rgb:154,83,55; }
.trfDailyRushTodayEffects__row--g456{ --trf-daily-effect-rgb:58,91,126; }
.trfDailyRushTodayEffects__row--g8910{ --trf-daily-effect-rgb:88,69,121; }
.trfDailyRushTodayEffects__row--g111213{ --trf-daily-effect-rgb:132,108,63; }

.trfDailyRushTodayEffects__range{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:27px;
  padding:3px 4px;
  border:1px solid rgba(var(--trf-daily-effect-rgb),.88);
  border-radius:999px;
  background:rgba(var(--trf-daily-effect-rgb),.30);
  color:#fff5dc;
  font-size:12px;
  line-height:1.4;
  text-align:center;
  text-shadow:0 1px 5px rgba(0,0,0,.86);
}

.trfDailyRushTodayEffects__art{
  display:block;
  width:50px;
  height:58px;
  border:2px solid rgba(var(--trf-daily-effect-rgb),.94);
  border-radius:8px;
  object-fit:cover;
  background:rgba(0,0,0,.25);
  box-shadow:0 0 0 1px rgba(255,255,255,.08) inset,0 0 12px rgba(var(--trf-daily-effect-rgb),.28);
}

.trfDailyRushTodayEffects__copy{
  display:grid;
  min-width:0;
  gap:2px;
}

.trfDailyRushTodayEffects__name,
.trfDailyRushTodayEffects__bonusName{
  color:#fff4cf;
  font-size:14px;
  line-height:1.35;
}

.trfDailyRushTodayEffects__description,
.trfDailyRushTodayEffects__bonusDescription{
  color:rgba(245,241,232,.82);
  font-size:11px;
  line-height:1.45;
  white-space:pre-line;
}

.trfDailyRushTodayEffects__bonus{
  display:grid;
  gap:3px;
  margin-top:3px;
  padding:11px 12px;
  border:1px solid rgba(221,174,68,.62);
  border-radius:12px;
  background:linear-gradient(135deg,rgba(112,82,24,.72),rgba(22,20,17,.86));
}

.trfDailyRushMenu{
  box-sizing:border-box;
  width:min(720px,calc(100% - 24px));
  max-width:100%;
  margin-inline:auto;
  padding:14px 16px 16px;
  overflow-x:hidden;
}

.trfDailyRushMenu > *{
  box-sizing:border-box;
  max-width:100%;
}

.trfDailyRushMenu > .trf-title-h2{
  margin:0 0 10px;
  text-align:center;
}

.trfDailyRushBonusPreview{
  display:flex;
  align-items:center;
  gap:12px;
  max-width:520px;
  margin:0 auto 12px;
  padding:9px 12px;
  border:1px solid rgba(216,186,108,.38);
  border-radius:13px;
  background:rgba(70,55,24,.18);
  text-align:left;
}

.trfDailyRushBonusPreview img{
  width:54px;
  height:54px;
  flex:0 0 54px;
  border-radius:10px;
  object-fit:cover;
  background:rgba(0,0,0,.25);
}

.trfDailyRushBonusPreview__text{
  display:grid;
  min-width:0;
  gap:2px;
}

.trfDailyRushBonusPreview__text small{
  color:#d9bd76;
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
}

.trfDailyRushBonusPreview__text strong{
  color:#fff4cf;
  font-size:16px;
}

.trfDailyRushBonusPreview__text span{
  overflow:hidden;
  color:rgba(245,241,232,.76);
  font-size:12px;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.trfDailyRushChallengeRow{
  justify-content:center;
  margin-bottom:12px;
}

#title .trfDailyRushChallenge{
  width:min(360px,86vw);
  min-height:48px;
  border-color:rgba(220,190,112,.78);
  background:
    linear-gradient(90deg,rgba(5,8,13,.82),rgba(8,11,16,.48) 52%,rgba(5,8,13,.8)),
    url("img/daily-rush/challenge.jpeg") center 52% / cover no-repeat;
  color:#fff8e3;
  font-size:17px;
  font-weight:900;
  text-shadow:0 2px 5px rgba(0,0,0,.98),0 0 10px rgba(0,0,0,.75);
}

#title .trfDailyRushChallenge:disabled{
  filter:saturate(.55);
  opacity:.58;
}

.trfDailyRushMenuRankingPanel{
  max-width:560px;
  margin-inline:auto;
  padding:10px;
  border:1px solid rgba(255,255,255,.1);
  border-radius:14px;
  background:rgba(0,0,0,.17);
}

.trfDailyRushRankTabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  margin-bottom:8px;
}

#title .trfDailyRushRankTab{
  min-width:0;
  min-height:38px;
  padding:7px 8px;
  border-color:rgba(255,255,255,.13);
  border-radius:10px;
  background:rgba(255,255,255,.045);
  color:rgba(245,241,232,.65);
  font-size:12px;
  font-weight:800;
}

#title .trfDailyRushRankTab.is-active{
  border-color:rgba(240,207,117,.72);
  background:linear-gradient(180deg,rgba(112,88,37,.7),rgba(63,49,24,.72));
  color:#fff1c1;
}

#trfDailyRushMenuRanking{
  min-height:225px;
}

#trfDailyRushMenuRanking .trfDailyRushRanking__mine{
  margin-bottom:8px;
  padding:7px 8px;
}

#trfDailyRushMenuRanking .trfDailyRushRanking__list{
  height:179px;
  max-height:none;
  overscroll-behavior:contain;
}

#trfDailyRushMenuRanking .trfDailyRushRanking__list li{
  box-sizing:border-box;
  min-height:31px;
  padding:5px 8px;
}

.trfDailyRushRanking__mine{
  margin-bottom:12px;
  padding:10px 8px;
  border:1px solid rgba(240,207,117,.35);
  border-radius:11px;
  color:#f4d98e;
  background:rgba(112,88,37,.18);
  font-weight:800;
}

.trfDailyRushRanking__list{
  display:grid;
  gap:6px;
  max-height:42vh;
  margin:0;
  padding:0;
  overflow:auto;
  list-style:none;
  text-align:left;
}

.trfDailyRushRanking__list li{
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  padding:8px 10px;
  border-radius:9px;
  background:rgba(255,255,255,.045);
}

.trfDailyRushRanking__list b{ color:#d7bc78; font-size:12px; }
.trfDailyRushRanking__list span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.trfDailyRushRanking__list strong{ color:#fff3c9; }
.trfDailyRushRanking__note{ color:rgba(245,241,232,.62) !important; font-size:12px; }

.trfDailyRushModal__actions{
  display:flex;
  flex-direction:column;
  gap:9px;
}

.trfDailyRushAction{
  width:100%;
  min-height:43px;
  border-radius:12px !important;
  font-weight:800 !important;
}

.trfDailyRushAction.is-primary{
  border-color:rgba(220,190,112,.78) !important;
  background:linear-gradient(180deg,#76602d,#4d3d20) !important;
  color:#fff8e3 !important;
}

.trfDailyRushAction:disabled{
  opacity:.38 !important;
  cursor:not-allowed;
}

.trfDailyRushReorg__note{
  margin:0 0 12px !important;
}

.trfDailyRushReorg__choices{
  display:grid;
  grid-template-columns:repeat(5,minmax(40px,1fr));
  gap:8px;
}

.trfDailyRushCardChoice{
  aspect-ratio:4/5;
  min-width:0;
  border:1px solid rgba(220,203,159,.42);
  border-radius:10px;
  background:linear-gradient(160deg,#363a43,#1b1e24);
  color:#f8f3e7;
  font:900 19px/1 var(--trf-font-mincho,ui-serif,"Hiragino Mincho ProN","Yu Mincho",serif);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07);
}

.trfDailyRushCardChoice.is-selected{
  border-color:#f0cf75;
  background:linear-gradient(160deg,#75612e,#3d321d);
  box-shadow:0 0 0 2px rgba(240,207,117,.22),0 0 18px rgba(240,207,117,.2);
  transform:translateY(-2px);
}

@media (max-width:390px){
  .trfDailyRushMenu{ width:min(720px,calc(100% - 16px)); max-width:100%; padding:10px; }
  .trfDailyRushBonusPreview{ gap:9px; padding:7px 9px; }
  .trfDailyRushBonusPreview img{ width:46px; height:46px; flex-basis:46px; }
  .trfDailyRushBonusPreview__text strong{ font-size:14px; }
  .trfDailyRushBonusPreview__text span{ font-size:10px; }
  #trfDailyRushMenuRanking{ min-height:211px; }
  #trfDailyRushMenuRanking .trfDailyRushRanking__list{ height:169px; }
  #trfDailyRushMenuRanking .trfDailyRushRanking__list li{ min-height:29px; padding:4px 7px; }
  body.trf-daily-rush-active .hand.trf-daily-guide-hand .passFlag.trfDailyRushGuide{
    font-size:15px;
  }
  body.trf-daily-rush-active .hand.trf-daily-guide-hand .passFlag.trfDailyRushGuide .tag{
    padding:5px 7px;
  }
  body.trf-daily-rush-active .trfDailyRushBonusHint{
    padding-inline:7px;
    font-size:11px;
  }
  .trfDailyRushModal__box{
    width:min(92vw,390px);
    padding:19px 15px 15px;
  }
  .trfDailyRushTodayEffects__row{
    grid-template-columns:38px 44px minmax(0,1fr);
    gap:7px;
    padding:8px;
  }
  .trfDailyRushTodayEffects__art{
    width:44px;
    height:52px;
  }
}


/* Stage903 complete Daily Rush fixes */
.trfDailyRushEntry{min-width:min(88vw,360px);white-space:nowrap;padding-left:18px!important;padding-right:18px!important}
.trfDailyRushEntry span{font-size:.52em;white-space:nowrap;letter-spacing:.08em}
.trfDailyRushOwnedBonus{margin-top:5px;font-size:clamp(11px,2.9vw,14px);line-height:1.35;color:#f2d789;text-align:center;text-shadow:0 1px 4px rgba(0,0,0,.9)}
.trfDailyIntroOverlay{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box;background:rgba(0,0,0,.78)}
.trfDailyIntroCard{width:min(520px,100%);max-height:calc(100vh - 48px);overflow:auto;box-sizing:border-box;padding:26px 22px 22px;border:1px solid rgba(223,196,128,.72);border-radius:18px;background:linear-gradient(180deg,rgba(32,27,23,.99),rgba(15,14,13,.99));color:#f5efe2;text-align:center;box-shadow:0 18px 60px rgba(0,0,0,.58)}
.trfDailyIntroEyebrow{font-size:12px;letter-spacing:.18em;opacity:.72;margin-bottom:7px}
.trfDailyIntroCard h2{margin:0 0 18px;font-size:25px;line-height:1.25}
.trfDailyIntroCard p{margin:10px 0;font-size:16px;line-height:1.65;text-align:left}
.trfDailyIntroContinue{display:block;width:100%;min-height:50px;margin-top:22px;font-size:17px;font-weight:700}

/* Stage904: status label layout and intro tap-through guard */
.trfDailyRushEntry{
  width:min(94vw,560px) !important;
  max-width:560px !important;
  min-height:52px;
  padding-inline:clamp(12px,3vw,24px) !important;
  white-space:nowrap !important;
  font-size:clamp(15px,4vw,20px) !important;
}
.trfDailyRushEntry span{
  display:inline-block !important;
  white-space:nowrap !important;
  font-size:.54em !important;
  margin-left:.36em !important;
  letter-spacing:.08em !important;
}
.trfDailyRushOwnedBonus{
  white-space:normal !important;
  overflow-wrap:anywhere;
  line-height:1.45;
}
.trfDailyIntroOverlay{pointer-events:none !important;}
.trfDailyIntroOverlay.is-ready{pointer-events:auto !important;}
.trfDailyIntroContinue:disabled{opacity:.55;cursor:default;}


/* Stage905: compact status button, bonus detail popup, stable intro */
.trfDailyRushEntry{
  width:min(46vw,170px) !important;
  min-width:0 !important;
  max-width:170px !important;
  height:52px !important;
  min-height:52px !important;
  padding:8px 7px !important;
  font-size:clamp(10px,2.8vw,14px) !important;
  line-height:1.12 !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:center !important;
  gap:2px !important;
  white-space:nowrap !important;
}
.trfDailyRushEntry span{
  display:block !important;
  margin:0 !important;
  font-size:.72em !important;
  line-height:1 !important;
  white-space:nowrap !important;
}
.trfDailyRushOwnedBonus{
  appearance:none;
  -webkit-appearance:none;
  border:1px solid rgba(225,191,102,.55);
  border-radius:999px;
  background:rgba(32,25,13,.76);
  color:#f2d789;
  padding:5px 10px;
  margin-top:5px;
  font:inherit;
  font-size:clamp(11px,2.9vw,14px);
  line-height:1.3;
  text-align:center;
  cursor:pointer;
  white-space:normal;
}
.trfDailyRushOwnedBonus:disabled{
  opacity:.75;
  cursor:default;
}
.trfDailyRushModal[data-trf-daily-popup="bonus"] .trfDailyRushAction{
  border-color:rgba(236,203,116,.92) !important;
  background:linear-gradient(180deg,rgba(155,124,51,.98),rgba(96,70,27,.98)) !important;
  color:#fff8df !important;
  box-shadow:inset 0 1px 0 rgba(255,240,184,.28),0 8px 20px rgba(0,0,0,.28) !important;
}
.trfDailyRushModal[data-trf-daily-popup="bonus"] .trfDailyRushModal__body p:nth-child(1){
  font-weight:800;
  color:#f6d986;
  margin-bottom:4px;
}
.trfDailyRushModal[data-trf-daily-popup="bonus"] .trfDailyRushModal__body p:nth-child(2){
  margin-top:0;
}
.trfDailyIntroOverlay{
  pointer-events:auto !important;
  touch-action:none;
}
.trfDailyIntroOverlay:not(.is-ready) .trfDailyIntroContinue{
  pointer-events:none !important;
}
@media (max-width:380px){
  .trfDailyRushEntry{width:min(46vw,150px)!important;max-width:150px!important;height:44px!important;min-height:44px!important;font-size:10px!important}
}


/* Stage906: mission readability, Mincho typography, stable intro, compact owned bonuses */
.trfDailyRushEntry,
.trfDailyRushEntry *,
.trfDailyRushMenu,
.trfDailyRushMenu *,
.trfDailyRushModal,
.trfDailyRushModal *,
.trfDailyRushAction,
.trfDailyRushAction *,
.trfDailyRushCardChoice,
.trfDailyRushCardChoice *,
.trfDailyIntroOverlay,
.trfDailyIntroOverlay *,
body.trf-daily-rush-active,
body.trf-daily-rush-active *{
  font-family:var(--trf-font-mincho,ui-serif,"Hiragino Mincho ProN","Yu Mincho",serif) !important;
}

.trfDailyRushModal__body{
  font-family:var(--trf-font-mincho,ui-serif,"Hiragino Mincho ProN","Yu Mincho",serif) !important;
}

body.trf-daily-rush-active .hand.trf-daily-guide-hand .passFlag.trfDailyRushGuide{
  gap:10px;
  font-size:clamp(20px,5.4vw,28px);
  line-height:1.25;
}

body.trf-daily-rush-active .hand.trf-daily-guide-hand .passFlag.trfDailyRushGuide .tag{
  padding:11px 16px;
  font-size:clamp(20px,5.4vw,28px);
  font-weight:900;
}

body.trf-daily-rush-active .trfDailyRushBonusHint{
  display:none !important;
}

body.trf-daily-rush-active .trfDailyRushOwnedBonus{
  display:block;
  align-self:center;
  width:min(94%,520px);
  min-height:42px;
  padding:9px 14px;
  border:1px solid rgba(230,192,94,.78);
  border-radius:12px;
  background:linear-gradient(180deg,rgba(129,99,37,.92),rgba(75,55,20,.94));
  box-shadow:inset 0 1px 0 rgba(255,244,190,.25),0 4px 12px rgba(0,0,0,.28);
  color:#fff1bd;
  font-size:clamp(13px,3.4vw,17px);
  font-weight:800;
  line-height:1.25;
  letter-spacing:.025em;
  text-align:center;
  white-space:normal;
}
body.trf-daily-rush-active .trfDailyRushOwnedBonus:not(:disabled){
  cursor:pointer;
}
body.trf-daily-rush-active .trfDailyRushOwnedBonus:disabled{
  opacity:.72;
}


/* Stage907: two-page intro and reliable explicit controls */
.trfDailyIntroCard h2{
  color:#e8c66f !important;
}
.trfDailyIntroCard p,
.trfDailyIntroEyebrow{
  color:#f5efe2 !important;
}
.trfDailyIntroPage{display:none;}
.trfDailyIntroPage.is-active{display:block;}
.trfDailyIntroNext,
.trfDailyIntroContinue{
  display:block;
  width:100%;
  min-height:50px;
  margin-top:22px;
  font-size:17px;
  font-weight:700;
  pointer-events:auto !important;
}


/* Stage908: explicit intro controls and stronger owned-bonus affordance */
.trfDailyIntroOverlay{
  pointer-events:auto !important;
  touch-action:manipulation;
}
.trfDailyIntroCard{
  pointer-events:auto !important;
}
.trfDailyIntroNext,
.trfDailyIntroContinue{
  position:relative;
  z-index:2;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
body.trf-daily-rush-active .trfDailyRushOwnedBonus{
  position:relative;
  min-height:48px;
  border-width:2px;
  box-shadow:inset 0 1px 0 rgba(255,244,190,.34),0 5px 14px rgba(0,0,0,.35);
  cursor:pointer;
  pointer-events:auto !important;
}
body.trf-daily-rush-active .trfDailyRushOwnedBonus:not(:disabled)::after{
  content:'  ▸';
  font-size:.9em;
}


/* Stage910: compact stage progress and stable intro controls */
body.trf-daily-rush-active .trfSideScore--me .trfSideScore__label{
  font-size:clamp(9px,2.4vw,12px) !important;
  letter-spacing:.035em !important;
  line-height:1.05 !important;
}
body.trf-daily-rush-active .trfSideScore--me .trfSideScore__num{
  font-size:clamp(11px,2.9vw,15px) !important;
  line-height:1.05 !important;
}
.trfDailyIntroNext:disabled,
.trfDailyIntroContinue:disabled{
  opacity:.55;
  pointer-events:none !important;
}


/* Stage916: native modal host prevents load-time dismissal and click-through. */
dialog.trfDailyIntroNativeHost{
  width:100vw !important;
  max-width:none !important;
  height:100vh !important;
  max-height:none !important;
  margin:0 !important;
  padding:24px !important;
  border:0 !important;
  background:rgba(0,0,0,.78) !important;
  overflow:auto !important;
  box-sizing:border-box !important;
  align-items:center !important;
  justify-content:center !important;
  pointer-events:auto !important;
}
dialog.trfDailyIntroNativeHost[open]{display:flex !important;}
dialog.trfDailyIntroNativeHost::backdrop{background:rgba(0,0,0,.78) !important;}
.trfDailyIntroNativeHost .trfDailyIntroCard{pointer-events:auto !important;}


/* Stage917: native intro controls must remain interactive */
.trfDailyIntroOverlay.trfDailyIntroNativeHost{
  pointer-events:auto !important;
}
.trfDailyIntroOverlay.trfDailyIntroNativeHost .trfDailyIntroNext,
.trfDailyIntroOverlay.trfDailyIntroNativeHost .trfDailyIntroContinue{
  pointer-events:auto !important;
  touch-action:manipulation;
}

/* Stage920: Daily Rush stage progress — override the higher-specificity #main rules. */
body.trf-daily-rush-active #main .trfSideScore--me .trfSideScore__label{
  font-size:9px !important;
  letter-spacing:.03em !important;
  line-height:1.05 !important;
  margin-bottom:3px !important;
}
body.trf-daily-rush-active #main .trfSideScore--me .trfSideScore__num{
  font-size:23px !important;
  line-height:.95 !important;
}
