/* 05 HOME — 홈 화면 고유 콘텐츠만. 공통 헤더 내부 재정의 금지. */

.hero:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(245,251,255,.98) 0%,rgba(245,251,255,.92) 38%,rgba(245,251,255,.45) 63%,rgba(245,251,255,.08) 100%);
}

.hero-copy h2 em{
  font-style:normal;
  color:var(--blue);
}

.section-title{
  height:25px;
  display:flex;
  align-items:end;
  justify-content:space-between;
  flex:0 0 auto;
}

.grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
  flex:0 0 auto;
}

.home-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
  flex:0 0 auto;
}


@media (min-height:900px){
  .hero{
    max-height:250px;
  }
}


@media (max-height:780px){
  .hero{
    
    max-height:146px;
    
  }

  .hero-copy p{
    
    margin-top:4px;
  }

  .section-title{
    height:21px;
  }

  .grid{
    gap:4px;
  }
}


.section-title h3{
  margin:0;
  font-size:18px;
}

.section-title small{
  color:#7890aa;
  font-size:12px;
}

.stat small{
  color:#75859c;
  font-weight:800;
  align-self:end;
  font-size:12px;
}

.stat strong{
  line-height:1;
  color:var(--navy);
  align-self:start;
  font-size:25px;
}


@media (min-height:820px){
  #home.screen{
    padding-left:14px;
    padding-right:14px;
  }

  .grid{
    gap:9px;
  }

  .stat{
    min-height:82px;
  }
}

.new-icon{
  color:#1c7fe7;
  background:transparent;
}

.hard-icon{
  color:#dc6a49;
  background:transparent;
}

.memory-icon{
  color:#8b6ad9;
  background:transparent;
}

.backlog-icon{
  color:#d3971e;
  background:transparent;
}


.hero img{
  position:absolute;
  inset:0 0 0 auto;
  width:70%;
  height:100%;
  object-fit:cover;
  object-position:center 25%;
}

.hero-copy{
  position:relative;
  z-index:2;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  width:61%;
  padding:28px 14px 28px 20px;
}

.hero-copy h2{
  margin:0;
  color:var(--theme-accent);
  letter-spacing:-1.3px;
  font-size:clamp(34px,8.2vw,48px);
  line-height:1.04;
}

.hero-copy p{
  margin:8px 0 0;
  color:#536d8e;
  font-weight:750;
  font-size:clamp(15px,3.7vw,19px);
  line-height:1.45;
}

.brief-icon{
  display:grid;
  place-items:center;
  margin:0 auto 2px;
  background:transparent;
  box-shadow:none;
  width:56px;
  height:56px;
  border-radius:18px;
  margin-bottom:6px;
}

.brief-icon svg{
  fill:none;
  stroke:currentColor;
  stroke-width:3;
  stroke-linecap:round;
  stroke-linejoin:round;
  width:43px;
  height:43px;
}


.briefing-grid{
  flex:1 1 auto;
  min-height:300px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:repeat(2,minmax(150px,1fr));
  gap:14px;
  align-items:stretch;
}

.briefing-grid .stat small{
  
  font-weight:950;
  letter-spacing:-.5px;
  display:block;
  margin:0;
  padding:0;
  line-height:1.15;
  text-align:center;
  
  align-self:center;
}

.briefing-grid .stat > *{
  position:static;
  transform:none;
}


.hero{
  overflow:hidden;
  position:relative;
  border:1px solid rgba(255,255,255,.95);
  box-shadow:var(--shadow);
  background:linear-gradient(135deg,#e8f6ff,#fff);
  border-radius:30px;
}

@media (min-height:850px){
  .home-actions{
    min-height:48px;
  }

  .briefing-grid{
    min-height:330px;
    grid-template-rows:repeat(2,minmax(155px,1fr));
  }

  .briefing-grid .stat{
    
    padding-top:18px;
    padding-bottom:16px;
  }

}

.briefing-grid .brief-icon{
  align-self:center;
  margin:2px auto 10px auto;
  flex:0 0 auto;
}


.briefing-grid .stat{
  justify-content:center;
  gap:2px;
  background:rgba(255,255,255,.97);
  border:1px solid rgba(202,224,244,.95);
  border-radius:22px;
  box-shadow:0 9px 22px rgba(45,91,141,.10);
  align-content:center;
  min-height:150px;
  box-sizing:border-box;
  overflow:hidden;
  padding:22px 16px 18px;
  position:relative;
  display:grid;
  grid-template-rows:auto auto 1fr;
  justify-items:center;
  align-items:start;
  text-align:center;
}

.briefing-grid .stat strong{
  font-size:clamp(28px,6vw,36px);
  margin-top:4px;
  margin-left:auto;
  margin-right:auto;
  align-self:center;
  justify-self:center;
  width:auto;
  min-width:2.2em;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  line-height:1;
  transform:none;
}

.primary{
  height:52px;
  border:0;
  border-radius:19px;
  color:white;
  font-weight:950;
  box-shadow:0 12px 22px rgba(19,118,234,.26);
  flex:0 0 auto;
  font-size:17px;
  min-height:58px;
  background:linear-gradient(180deg,var(--theme-accent-2),var(--theme-accent));
  border-color:var(--theme-accent);
}

.stat{
  height:67px;
  border:1px solid #dce9f7;
  border-radius:17px;
  background:rgba(255,255,255,.9);
  display:grid;
  grid-template-columns:38px 1fr;
  grid-template-rows:1fr 1fr;
  column-gap:6px;
  align-items:center;
  padding:7px 10px;
  box-shadow:0 7px 20px rgba(40,80,130,.07);
  border-color:color-mix(in srgb,var(--theme-border) 72%,#fff);
}

#home .section-title{
  min-height:24px;
  height:24px;
  flex:0 0 24px;
  margin:0;
}

#home .section-title h3{
  font-size:15px;
}

#home .section-title small{
  font-size:10px;
}

#home .home-actions .ghost{
  min-height:38px;
  height:38px;
  font-size:11px;
}


.course-tabs,
.stage-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:5px;
}

.course-tab{
  border:1px solid var(--theme-border);
  border-radius:9px;
  background:#fff;
  color:#5f6f81;
  font-size:10px;
  font-weight:950;
  padding:2px 5px;
  min-height:26px;
}

.stage-chip{
  border:1px solid var(--theme-border);
  border-radius:9px;
  background:#fff;
  color:#5f6f81;
  font-size:10px;
  font-weight:950;
  padding:2px 5px;
  min-height:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:3px;
}

.course-tab.selected{
  background:var(--theme-soft);
  color:var(--theme-text);
  border-color:var(--theme-accent);
}

.course-tab.locked,
.stage-chip.locked{
  opacity:.52;
  background:#f3f5f7;
}

.stage-chip.active{
  background:var(--theme-accent);
  color:#fff;
  border-color:var(--theme-accent);
}

#home .brief-icon{
  margin:0 auto 3px;
  width:28px;
  height:28px;
}

#home .brief-icon svg{
  width:22px;
  height:22px;
}


@media (max-height:800px){
  .course-tab{
    min-height:22px;
  }

  .stage-chip{
    min-height:25px;
  }
}

#home [data-home-easy]{
  display:none;
}

#home .hero h1,
#home .hero strong{
  position:relative;
  z-index:12;
}


#home .hero::after{
  z-index:2;
  pointer-events:none;
}

#home .hero::before{
  content:"";
  position:absolute;
  top:8px;
  right:10px;
  width:min(52%,170px);
  height:calc(100% - 16px);
  border-radius:28px;
  background:radial-gradient(78% 72% at 50% 40%,
    rgba(255,255,255,.16) 0%,
    rgba(255,255,255,.08) 52%,
    rgba(255,255,255,.00) 100%);
  z-index:3;
  pointer-events:none;
}

#home .hero h2,
#home .hero p{
  position:relative;
  z-index:20;
}

#home .briefing-card .label{
  font-size:15px;
  font-weight:800;
  line-height:1.15;
  display:inline-flex;
  align-items:center;
  margin-left:5px;
}

#home .briefing-card .count{
  position:absolute;
  right:14px;
  bottom:11px;
  margin:0;
  font-size:20px;
  font-weight:900;
}


#home .hero-copy p{
  white-space:normal;
}

#home .hero-copy p .hero-level,
#home .hero-copy p .hero-review{
  display:block;
}



#home .week-goal-dot{
  width:15px;
  height:15px;
  flex:0 0 15px;
  border-radius:50%;
  border:1.5px solid rgba(104,124,145,.35);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.55);
}

#home .week-goal-dot.success{
  background:#a9e66f;
  border-color:#7fc64f;
}

#home .week-goal-dot.partial{
  background:#ffd75e;
  border-color:#d8ad2e;
}

#home .week-goal-dot.none{
  background:#ef7777;
  border-color:#cf5555;
}

#home .week-goal-dot.future{
  background:transparent;
  border-color:#cbd5df;
}

#home .week-goal-dot.today{
  outline:2px solid rgba(47,124,241,.32);
  outline-offset:2px;
}


#home button.briefing-action{
  appearance:none;
  -webkit-appearance:none;
  font-family:inherit;
  color:inherit;
  cursor:pointer;
  touch-action:manipulation;
  transition:transform .12s ease,box-shadow .12s ease;
}

#home button.briefing-action:active{
  transform:scale(.985);
  box-shadow:0 3px 10px rgba(45,91,141,.08);
}

#home button.briefing-action:focus-visible{
  outline:2px solid #4d90f6;
  outline-offset:2px;
}

@media (max-height:760px){
  .home-main-start{
    
    font-size:15px;
  }

  .brief-icon{
    border-radius:12px;
    width:44px;
    height:44px;
  }

  .brief-icon svg{
    width:34px;
    height:34px;
  }

  .briefing-grid{
    min-height:220px;
    grid-template-rows:repeat(2,minmax(100px,1fr));
    gap:9px;
  }

  .hero{
    height:190px;
    min-height:175px;
  }

  .briefing-grid .brief-icon{
    margin-bottom:6px;
  }
  

  #home .briefing-grid{
flex:0 0 152px;
  min-height:152px;
  height:152px;
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:repeat(2,72px);
  gap:2px;
  margin:-3px 0 -3px;
  align-items:stretch;
  overflow:visible;
}



  #home .briefing-grid .stat{
width:100%;
  min-width:0;
  height:72px;
  min-height:72px;
  box-sizing:border-box;
  margin:0;
  overflow:hidden;
  display:grid;
  grid-template-rows:auto auto;
  grid-template-columns:58px minmax(0,1fr);
  row-gap:2px;
  column-gap:3px;
  align-content:center;
  align-items:center;
  justify-items:start;
  text-align:left;
  padding:5px 2px;
  background:linear-gradient(180deg,
    color-mix(in srgb,var(--theme-soft) 76%,var(--theme-accent-2) 24%) 0%,
    color-mix(in srgb,var(--theme-softer) 84%,var(--theme-soft) 16%) 100%);
  border-color:color-mix(in srgb,var(--theme-border) 84%,var(--theme-accent) 16%);
  border-radius:18px;
  box-shadow:0 11px 22px rgba(37,82,128,.16),
    0 3px 7px rgba(37,82,128,.10),
    inset 0 1px 0 rgba(255,255,255,.92);
}

  #home .hero-copy h2{
    font-size:clamp(27px,7.4vw,34px);
  }

  #home .hero-copy p{
    font-size:clamp(13px,3.4vw,16px);
  }
}


#home #briefText .hero-level{
  display:block;
  white-space:nowrap;
  margin-bottom:4px;
}

#home #briefText .hero-review{
  display:block;
  white-space:nowrap;
  color:#1689ea;
  font-size:clamp(13px,3.5vw,17px);
  font-weight:900;
  line-height:1.25;
  letter-spacing:-.035em;
}


#home .hero{
  margin-top:6px;
  background-position:right 12px top 10px;
  background-size:auto 82%;
  background-repeat:no-repeat;
  border:none;
  background:linear-gradient(135deg,
      rgba(202,226,247,.99) 0%,
      rgba(216,235,250,.99) 45%,
      rgba(229,242,252,.99) 100%);
  box-shadow:0 1px 2px rgba(35,72,107,.10);
  overflow:hidden;
  position:relative;
  isolation:isolate;
}

#home .hero > img{
  display:block;
  position:absolute;
  top:14px;
  bottom:14px;
  right:12px;
  left:auto;
  width:auto;
  height:auto;
  max-height:none;
  max-width:56%;
  object-fit:contain;
  object-position:center center;
  opacity:1;
  filter:none;
  mix-blend-mode:normal;
  z-index:5;
  border-radius:22px;
  -webkit-mask-image:radial-gradient(132% 120% at 61% 50%,
    #000 0%, #000 70%,
    rgba(0,0,0,.96) 79%,
    rgba(0,0,0,.70) 88%,
    rgba(0,0,0,.28) 95%,
    transparent 100%);
  mask-image:radial-gradient(132% 120% at 61% 50%,
    #000 0%, #000 70%,
    rgba(0,0,0,.96) 79%,
    rgba(0,0,0,.70) 88%,
    rgba(0,0,0,.28) 95%,
    transparent 100%);
}

#home .hero .hero-copy{
  position:relative;
  z-index:20;
  width:55%;
  max-width:55%;
}

#home #briefText{
  line-height:1.45;
  max-width:none;
  width:100%;
  overflow:visible;
  display:block;
  white-space:normal;
}

#home .briefing-card .icon{
  font-size:30px;
  line-height:1;
  flex:0 0 auto;
  margin-right:0;
}

#home .briefing-card .title{
  display:inline-flex;
  align-items:center;
  margin-left:5px;
  font-size:1.08em;
  line-height:1.2;
  margin:0;
  font-weight:800;
}

#home .briefing-card h3{
  font-size:1.08em;
  line-height:1.2;
  margin:0;
  font-weight:800;
}

#home .briefing-card .value{
  position:absolute;
  right:14px;
  bottom:11px;
  margin:0;
  font-size:20px;
  font-weight:900;
  text-align:left;
}

#home .briefing-card .small{
  text-align:left;
}


#home #tourHero .hero-copy{
  position:relative;
  z-index:2;
  width:52%;
  max-width:52%;
  height:100%;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  padding:18px 0 18px 24px;
  text-align:left;
}

#home #tourHero .hero-copy h2{
  margin:0 0 10px 0;
  line-height:.98;
}

#home #tourHero .hero-copy h2 em{
  font-style:normal;
}

#home #tourHero .hero-level{
  margin:2px 0 7px 0;
  font-weight:800;
}

#home #tourHero::before{
  display:none;
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(90deg,
    rgba(244,250,255,.96) 0%,
    rgba(244,250,255,.90) 31%,
    rgba(244,250,255,.45) 48%,
    rgba(244,250,255,0) 62%);
}

#home #tourHero::after{
  content:none;
  display:none;
}


#home .briefing-title-row .weekly-goal-dots{
  flex:1 1 auto;
  min-width:0;
  min-height:22px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding:0 4px 0 0;
  margin:0;
  gap:16px;
  padding-right:6px;
}


#home [class*="acquired"] .label,
#home [class*="studied"] .label{
  font-size:15px;
  line-height:1.15;
  font-weight:900;
}


#home .briefing-title-row h3{
  flex:0 0 auto;
  margin:0;
  font-size:18px;
  margin-left:1em;
  color:var(--theme-accent);
}


#home .course-tab,
#home .stage-chip{
  background:color-mix(in srgb,var(--theme-soft) 78%,#fff 22%);
  box-shadow:0 4px 8px rgba(44,91,139,.10),
    inset 0 1px 0 rgba(255,255,255,.92);
}

#home .course-tab.selected{
  background:color-mix(in srgb,var(--theme-soft) 64%,var(--theme-accent-2) 36%);
}

#home .stage-chip.active{
  background:linear-gradient(180deg,
    color-mix(in srgb,var(--theme-accent-2) 74%,#fff 26%),
    var(--theme-accent));
  box-shadow:0 7px 14px color-mix(in srgb,var(--theme-accent) 24%,transparent),
    inset 0 1px 1px rgba(255,255,255,.56);
  transform:translateY(-1px);
}



#home .continuous-listen-home-btn:active{
  transform:translateY(1px) scale(.995);
  box-shadow:0 3px 8px rgba(39,91,143,.13),
    inset 0 1px 2px rgba(35,85,135,.10);
}


#home .stage-chip.stage-chip-icon{
  padding:1px 4px;
  overflow:visible;
}

#home .stage-chip.stage-chip-icon .stage-stage-icon{
  display:block;
  width:34px;
  height:34px;
  object-fit:contain;
  pointer-events:none;
}


#home .home-course-line #stageRow .stage-chip{
  min-height:42px;
  height:42px;
  padding:2px;
  border-radius:11px;
  background:color-mix(in srgb,var(--theme-soft) 72%,#fff 28%);
  border:1px solid color-mix(in srgb,var(--theme-border) 68%,#fff 32%);
  box-shadow:none;
}

#home .home-course-line #stageRow .stage-chip.active{
  background:color-mix(in srgb,var(--theme-soft) 86%,#fff 14%);
  border-color:color-mix(in srgb,var(--theme-accent) 40%,#fff 60%);
}

#home .home-course-line #stageRow .stage-chip.locked{
  opacity:.58;
  background:color-mix(in srgb,var(--theme-soft) 58%,#fff 42%);
}

#home .home-course-line #stageRow .stage-stage-icon{
  width:37px;
  height:37px;
  object-fit:contain;
}


#home .briefing-grid .stat[data-brief-action="new"] small{
  grid-column:2;
}

#home .briefing-grid .stat[data-brief-action="new"] #newCount{
  grid-column:2;
  display:block;
  width:100%;
  margin-top:2px;
}

#home #tourHero #briefText .hero-level{
  display:block;
  letter-spacing:-.02em;
  margin:2px 0 6px;
  font-weight:900;
  font-size:24px;
  line-height:1.22;
}



#home .home-course-line .course-tabs{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:5px;
  min-width:0;
  display:none;
}

#home .home-course-line #stageRow{
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:center;
  gap:5px;
  width:100%;
  min-width:0;
  display:none;
}

#home .home-stage-row-hidden{
  display:none;
}

#home .home-inline-count .count-label{
  line-height:1;
  font-size:17px;
  font-weight:950;
}

#home .home-inline-count b{
  color:var(--theme-accent);
  line-height:1;
  letter-spacing:-.03em;
  font-size:18px;
  font-weight:1000;
}



.home-review-item{
  width:100%;
  text-align:left;
  border:1px solid var(--theme-border);
  background:var(--theme-softer);
  border-radius:14px;
  padding:9px 10px;
  color:var(--theme-text);
  cursor:pointer;
}

.home-review-item .home-review-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  font-size:10px;
  font-weight:900;
  color:var(--muted);
  margin-bottom:5px;
}

.home-review-item .home-review-category{
  color:var(--theme-accent);
}

.home-review-item .home-review-jp{
  font-size:15px;
  font-weight:950;
  margin-bottom:3px;
}

.home-review-item .home-review-ko{
  font-size:11px;
  color:var(--muted);
}

.home-review-item.review-answer-hidden .home-review-jp{
  filter:blur(6px);
  opacity:.42;
  user-select:none;
  pointer-events:none;
}

.home-review-item.review-answer-hidden .home-review-ko{
  filter:none;
  opacity:1;
  user-select:text;
}

.home-review-item.second-call .home-review-meta::after{
  content:"2차 복습";
  margin-left:auto;
  padding:3px 6px;
  border-radius:999px;
  background:var(--theme-soft);
  color:var(--theme-accent);
  font-size:9px;
  font-weight:1000;
}

.home-review-empty{
  padding:18px 8px;
  text-align:center;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}


#home .home-course-line{
  display:grid;
  gap:34px;
  align-items:center;
  grid-template-columns:auto auto;
  justify-content:center;
  column-gap:16px;
  width:auto;
  margin:3px auto 0;
}

#home .home-inline-count{
  color:var(--theme-text);
  font-weight:950;
  white-space:nowrap;
  line-height:1;
  display:flex;
  flex-direction:row;
  justify-content:center;
  align-items:baseline;
  min-width:0;
  gap:5px;
  padding:1px 0;
}

#home .briefing-card{
  min-height:28px;
  overflow:hidden;
  position:relative;
  border:1px solid color-mix(in srgb,var(--theme-border) 78%,#fff 22%);
  border-radius:18px;
  box-shadow:0 6px 16px rgba(46,94,145,.08);
  background:color-mix(in srgb,var(--theme-soft) 78%,#fff 22%);
  display:flex;
  flex-direction:column;
  padding:3px 8px 4px;
  gap:0;
}

#home .briefing-card .briefing-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:22px;
  height:22px;
  margin:0;
}

#home .briefing-card .briefing-title-row h3{
  margin-top:0;
  margin-bottom:0;
  line-height:1;
}

#home .continuous-listen-home-btn{
  width:100%;
  
  
  border:1px solid var(--theme-border);
  border-radius:14px;
  color:var(--theme-text);
  font-size:13px;
  font-weight:950;
  
  transition:transform .12s ease,box-shadow .12s ease,filter .12s ease;
  box-shadow:0 5px 12px rgba(39,91,143,.10),
    inset 0 1px 0 rgba(255,255,255,.90);
  background:linear-gradient(180deg,
    color-mix(in srgb,var(--theme-soft) 88%,#fff 12%) 0%,
    color-mix(in srgb,var(--theme-soft) 92%,var(--theme-accent) 8%) 100%);
  border-color:color-mix(in srgb,var(--theme-border) 88%,var(--theme-accent) 12%);
  
}

#home #tourHero #briefText .hero-level-wrap .hero-stage-seed{
  position:static;
  inset:auto;
  transform:none;
  margin:0;
  width:25px;
  height:25px;
  flex:0 0 25px;
  object-fit:contain;
}

#home .home-actions{
  min-height:38px;
  height:38px;
  flex:0 0 38px;
  gap:6px;
  margin-top:-5px;
  margin-bottom:0;
}

#home .footer{
  height:13px;
  min-height:13px;
  padding:0;
  line-height:13px;
  font-size:11px;
  transform:translateY(-22px);
  margin-top:-5px;
}

#home .home-version-footer .footer-build{
  display:block;
  margin-top:1px;
  font-size:10px;
  line-height:11px;
  letter-spacing:.01em;
}


.home-review-schedule-row{
  min-height:48px;
  padding:11px 13px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-bottom:1px solid rgba(120,151,182,.16);
  color:#536d8e;
}

.home-review-schedule-row:last-child{
  border-bottom:0;
}

.home-review-schedule-row span{
  font-size:14px;
  font-weight:800;
}

.home-review-schedule-row b{
  flex:0 0 auto;
  font-size:14px;
  font-weight:950;
  color:var(--theme-accent,var(--tone-6));
}

.home-review-schedule-group{
  width:100%;
  border-bottom:1px solid rgba(120,151,182,.16);
}

.home-review-schedule-group:last-child{
  border-bottom:0;
}

.home-review-schedule-group .home-review-schedule-row{
  width:100%;
  border-bottom:0;
  cursor:pointer;
  list-style:none;
  box-sizing:border-box;
}

.home-review-schedule-group .home-review-schedule-row::-webkit-details-marker{
  display:none;
}

.home-review-schedule-group .home-review-schedule-row::after{
  content:"›";
  flex:0 0 auto;
  margin-left:2px;
  font-size:20px;
  line-height:1;
  opacity:.48;
  transform:rotate(90deg);
  transition:transform .16s ease;
}

.home-review-schedule-group[open] .home-review-schedule-row::after{
  transform:rotate(-90deg);
}

.home-review-schedule-items{
  display:grid;
  gap:7px;
  padding:0 6px 10px;
}

.home-review-item.upcoming-preview{
  cursor:pointer;
  margin:0;
}

.home-review-item.upcoming-preview:active{
  transform:scale(.99);
}

.home-review-link-label{
  flex:0 0 auto;
  margin-left:auto;
  font-size:11px;
  font-weight:950;
  color:var(--theme-accent,var(--tone-6));
}

#home #homeBriefingCompact.briefing-card{
  background:transparent;
  border:0;
  box-shadow:none;
  border-radius:0;
}

#home .today-review-brief{
  display:grid;
  gap:5px;
  margin:2px 2px 0;
  padding:7px 9px 8px;
  border:1px solid color-mix(in srgb,var(--theme-border) 82%,var(--theme-accent) 18%);
  border-radius:14px;
  background:linear-gradient(180deg,color-mix(in srgb,var(--theme-soft) 86%,#fff 14%),color-mix(in srgb,var(--theme-softer) 90%,var(--theme-soft) 10%));
  box-shadow:0 5px 12px rgba(39,91,143,.08),inset 0 1px 0 rgba(255,255,255,.88);
}

#home .today-review-brief-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  min-width:0;
}

#home .today-review-brief-head strong{
  min-width:0;
  color:var(--theme-text);
  font-size:13px;
  line-height:1.2;
  font-weight:950;
}

#home .today-review-brief-head span{
  flex:0 0 auto;
  color:var(--theme-accent);
  font-size:11px;
  line-height:1.2;
  font-weight:900;
}

#home .today-review-brief-actions{
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
}

#home .today-review-chip{
  flex:0 0 auto;
  min-height:27px;
  padding:4px 8px;
  border:1px solid var(--theme-border);
  border-radius:999px;
  background:color-mix(in srgb,var(--theme-soft) 80%,#fff 20%);
  color:var(--theme-text);
  display:inline-flex;
  align-items:center;
  gap:4px;
  font-size:11px;
  font-weight:850;
}

#home .today-review-chip b{
  color:var(--theme-accent);
  font-size:12px;
  font-weight:950;
}

#home .today-review-chip:disabled{
  opacity:.42;
  box-shadow:none;
}

#home .today-review-chip:not(:disabled):active{
  transform:translateY(1px) scale(.99);
}

#home .today-review-brief-note{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--theme-muted);
  font-size:10px;
  line-height:1.2;
  font-weight:750;
}

#home #tourBrief.briefing-grid .briefing-action:nth-child(3),
#home #tourBrief.briefing-grid .briefing-action:nth-child(4){
  position:relative;
  top:3px;
}

@media (max-width:430px){
  #home .hero > img{
    top:12px;
    bottom:12px;
    right:8px;
    max-width:54%;
  }

  #home .hero .hero-copy{
    width:57%;
    max-width:57%;
  }

  #home #tourHero .hero-copy{
    width:54%;
    max-width:54%;
    padding-left:18px;
    padding-right:0;
  }

  #home #tourHero #briefText{
    font-size:clamp(11px,3.05vw,14px);
    letter-spacing:-.025em;
  }

  #home .today-review-brief{
    padding:6px 8px 7px;
    gap:4px;
  }

  #home .today-review-brief-note{
    max-width:44vw;
  }

  

  

  #home .home-actions{
    min-height:18px;
    height:18px;
    flex:0 0 18px;
    margin-top:0;
    margin-bottom:0;
  }

  #home .footer{
    margin-top:0;
    transform:none;
  }
}

#home #tourHero #briefText .hero-level-wrap{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  width:max-content;
  max-width:100%;
  gap:7px;
  margin:2px 0 6px 0;
  white-space:nowrap;
}

#home #tourHero #briefText .hero-stage-seed,
#home #tourHero #briefText .hero-stage-identity-icon{
  position:static;
  inset:auto;
  transform:none;
  display:block;
  margin:0;
  padding:0;
  width:24px;
  height:24px;
  flex:0 0 24px;
  object-fit:contain;
  background:transparent;
  border:0;
  box-shadow:none;
}

#home #tourHero #briefText .hero-level-wrap .hero-level{
  display:inline-block;
  margin:0;
  line-height:1;
}

@media (max-width:390px){
  #home .weekly-goal-dots{
min-height:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:2px 0 0;
}

  #home .week-goal-dot{
    width:14px;
    height:14px;
    flex-basis:14px;
  }

  #home .briefing-title-row .week-goal-dot{
    width:12px;
    height:12px;
    flex-basis:12px;
  }

  #home .briefing-grid .stat strong{
grid-column:2;
  grid-row:2;
  margin:2px 0 0;
  font-size:19px;
  line-height:1;
  white-space:nowrap;
  text-align:left;
  justify-self:start;
  color:var(--theme-accent);
}

  #home #briefText .hero-review{
    font-size:clamp(12px,3.2vw,15px);
  }

  #home .briefing-title-row{
    gap:14px;
  }

  #home .briefing-title-row .weekly-goal-dots{
    gap:12px;
    padding-right:2px;
  }

  

  #home .briefing-grid .brief-icon{
grid-column:1;
  grid-row:1 / span 2;
  align-self:center;
  justify-self:start;
  margin:0;
  width:48px;
  height:48px;
  min-width:48px;
  min-height:48px;
  border-radius:18px;
}

  #home .briefing-grid .brief-icon svg{
width:38px;
  height:38px;
}

  #home [class*="acquired"] .label,
#home [class*="studied"] .label{
    font-size:14px;
  }

  

  #home .course-tab{
    padding-left:3px;
    padding-right:3px;
  }

  #home .stage-chip.stage-chip-icon .stage-stage-icon{
    width:31px;
    height:31px;
  }

  #home .home-course-line #stageRow .stage-chip{
    height:38px;
    min-height:38px;
  }

  #home .home-course-line #stageRow .stage-stage-icon{
    width:33px;
    height:33px;
  }

  #home #tourHero #briefText .hero-review{
    font-size:17px;
  }

  #home #tourHero #briefText .hero-level{
    font-size:21px;
  }

  #home .home-inline-count .count-label{
    font-size:15px;
  }

  #home .home-inline-count b{
    font-size:16px;
  }

  #home #tourHero #briefText .hero-stage-identity-icon,
#home #tourHero #briefText .hero-stage-seed{
    width:22px;
    height:22px;
    flex-basis:22px;
  }



  #home .hero-copy{
    min-width:0;
    padding-left:14px;
    padding-right:8px;
  }

  #home .hero-copy h2{
    font-size:clamp(29px,8.6vw,36px);
    overflow-wrap:anywhere;
  }

  #home .hero-copy p,
  #home #briefText .hero-review{
    white-space:normal;
    overflow-wrap:anywhere;
  }

  #home .briefing-grid,
  #home .briefing-grid .stat,
  #home .home-actions,
  #home .home-actions > *{
    min-width:0;
  }

  
}

#home #tourHero{
  background:rgba(255,255,255,.72);
  position:relative;
  overflow:hidden;
  background-color:#eef8ff;
  box-shadow:0 12px 24px rgba(43,78,112,.18),
    0 3px 8px rgba(43,78,112,.10);
  border:none;
  outline:none;
  background-image:var(--home-hero-image);
  background-position:right center;
  background-size:cover;
  background-repeat:no-repeat;
}

#home{
  overflow-y:auto;
  
  position:relative;
  overscroll-behavior-y:contain;
}

#home .home-main-start,
#home .continuous-listen-home-btn{
  box-shadow:
    0 14px 0 -9px color-mix(in srgb,var(--theme-accent) 34%,transparent),
    0 16px 28px color-mix(in srgb,var(--theme-accent) 28%,transparent),
    0 5px 10px rgba(37,82,128,.14),
    inset 0 2px 0 rgba(255,255,255,.72),
    inset 0 -3px 0 rgba(0,65,135,.16);
  
  transition:transform .12s ease,box-shadow .12s ease,filter .12s ease;
  filter:saturate(1.02);
}

#home .home-main-start:active,
#home .continuous-listen-home-btn:active{
  transform:translateY(1px) scale(.995);
  box-shadow:
    0 5px 10px color-mix(in srgb,var(--theme-accent) 20%,transparent),
    0 2px 4px rgba(37,82,128,.10),
    inset 0 1px 1px rgba(255,255,255,.50),
    inset 0 -2px 0 rgba(0,65,135,.10);
}

#home .briefing-action.mission-success{
  border-color:color-mix(in srgb,#35A967 42%,var(--theme-border) 58%);
  background:linear-gradient(180deg,#F2FFF7 0%,#E4F8EC 100%);
  box-shadow:0 11px 22px rgba(36,130,75,.16),0 3px 7px rgba(36,130,75,.10),inset 0 1px 0 rgba(255,255,255,.94);
}
#home #newCount .mission-success-main,
#home #newCount .mission-success-sub{display:block;white-space:nowrap;}
#home #newCount .mission-success-main{
  color:#24824B;
  font-size:16px;
  font-weight:1000;
  line-height:1.12;
}
#home #newCount .mission-success-sub{
  margin-top:3px;
  color:#4F8062;
  font-size:9px;
  font-weight:850;
  line-height:1.1;
}


/* Home hero readability: unified stronger white blur behind title, stage icon/label and guidance. */
#home #tourHero .hero-copy h2,
#home #tourHero #briefText,
#home #tourHero #briefText .hero-level-wrap{
  position:relative;
  isolation:isolate;
}

#home #tourHero .hero-copy h2::before,
#home #tourHero #briefText::before,
#home #tourHero #briefText .hero-level-wrap::before{
  content:"";
  position:absolute;
  z-index:-1;
  border-radius:14px;
  background:rgba(255,255,255,.76);
  filter:blur(8px);
  pointer-events:none;
}

#home #tourHero .hero-copy h2::before{
  inset:-5px -10px;
}

#home #tourHero #briefText{
margin:0;
  width:auto;
  max-width:none;
  display:inline-block;
  white-space:normal;
  padding:2px 5px;
}

#home #tourHero #briefText::before{
  inset:-4px -8px;
}

#home #tourHero #briefText .hero-level-wrap::before{
  inset:-4px -7px;
}


#home #briefText button.hero-review.hero-revive-action{
  appearance:none;
  border:0;
  padding:0;
  margin:0;
  background:transparent;
  font:inherit;
  font-size:inherit;
  line-height:inherit;
  font-weight:inherit;
  color:inherit;
  letter-spacing:inherit;
  text-align:inherit;
  cursor:pointer;
}

#home #briefText .hero-stage-info-trigger{
  appearance:none;
  border:0;
  padding:0;
  margin:0;
  background:transparent;
  font:inherit;
  color:inherit;
  display:inline-flex;
  align-items:center;
  gap:inherit;
  cursor:pointer;
}
#home #briefText .hero-main-action{
  appearance:none;
  border:0;
  padding:0;
  margin:0;
  background:transparent;
  font:inherit;
  font-size:inherit;
  line-height:inherit;
  font-weight:inherit;
  color:inherit;
  letter-spacing:inherit;
  cursor:pointer;
}

/* 브리핑은 홈 핵심 정보이므로 항상 학습메이트보다 먼저 보인다. */
#home #homeBriefingCompact,
#home #tourBrief{
  flex-shrink:0;
}
#home #tourBrief{
display:grid;
min-height:162px;
}


/* 출석 체크 7일 표기: 일요일부터 토요일 */
#home .weekly-goal-dots{
min-height:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:2px 0 0;
}
#home .week-goal-day{
  width:18px;
  display:inline-flex;
  flex:0 0 18px;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:3px;
}
#home .week-goal-weekday{
  display:block;
  font-size:9px;
  line-height:1;
  font-weight:850;
  color:var(--muted);
  white-space:nowrap;
}
#home .week-goal-day.today .week-goal-weekday{
  color:var(--theme-accent);
  font-weight:1000;
}


/* 오늘의 브리핑 카드 제목 단일 규정 */
#home .briefing-grid .stat small{
grid-column:2;
  grid-row:1;
  margin:0;
  text-align:left;
  justify-self:start;
  font-size:12px;
  line-height:1.12;
  font-weight:900;
  letter-spacing:-.04em;
  white-space:nowrap;
  overflow-wrap:normal;
  word-break:keep-all;
  color:var(--theme-accent);
}



/* 홈 시작/계속듣기 단일 규정 */
#home .home-primary-action-row{
  display:grid;
  grid-template-columns:minmax(0,2fr) minmax(0,1fr);
  gap:7px;
  width:100%;
  height:50px;
  min-height:50px;
  flex:0 0 50px;
  margin:8px 0 0;
  align-items:center;
}
#home .home-primary-action-row > #startBtn.home-main-start,
#home .home-primary-action-row > #continuousListenBtn.continuous-listen-home-btn{
  width:100%;
  min-width:0;
  flex:none;
  margin:0;
  transform:none;
}
#home .home-primary-action-row > #startBtn.home-main-start{
  height:50px;
  min-height:50px;
  max-height:50px;
  align-self:center;
  font-size:14px;
}
#home .home-primary-action-row > #continuousListenBtn.continuous-listen-home-btn{
  height:44px;
  min-height:44px;
  max-height:44px;
  align-self:center;
  font-size:12px;
  padding-left:5px;
  padding-right:5px;
  white-space:nowrap;
}



/* 홈 문장 보관함 진입 */
.home-library-trigger{
  appearance:none;border:0;background:transparent;font:inherit;cursor:pointer;
  -webkit-tap-highlight-color:transparent;position:relative;
}
.home-library-trigger::after{
  content:"›";font-size:15px;font-weight:1000;color:var(--theme-accent);opacity:.72;margin-left:1px;
}
.home-library-trigger:active{transform:translateY(1px);opacity:.76}

/* 오늘의 브리핑/학습메이트 세로 압축 단일 규정 */
#home #homeBriefingCompact{
  margin:10px 0 0;
}
#home .briefing-title-row{
min-height:30px;
  height:30px;
  flex:0 0 30px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:nowrap;
  gap:20px;
  margin:0;
}
#home .briefing-grid{
flex:0 0 152px;
  min-height:152px;
  height:152px;
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:repeat(2,72px);
  gap:2px;
  margin:-3px 0 -3px;
  align-items:stretch;
  overflow:visible;
}
#home .briefing-grid .stat{
width:100%;
  min-width:0;
  height:72px;
  min-height:72px;
  box-sizing:border-box;
  margin:0;
  overflow:hidden;
  display:grid;
  grid-template-rows:auto auto;
  grid-template-columns:58px minmax(0,1fr);
  row-gap:2px;
  column-gap:3px;
  align-content:center;
  align-items:center;
  justify-items:start;
  text-align:left;
  padding:5px 2px;
  background:linear-gradient(180deg,
    color-mix(in srgb,var(--theme-soft) 76%,var(--theme-accent-2) 24%) 0%,
    color-mix(in srgb,var(--theme-softer) 84%,var(--theme-soft) 16%) 100%);
  border-color:color-mix(in srgb,var(--theme-border) 84%,var(--theme-accent) 16%);
  border-radius:18px;
  box-shadow:0 11px 22px rgba(37,82,128,.16),
    0 3px 7px rgba(37,82,128,.10),
    inset 0 1px 0 rgba(255,255,255,.92);
}
#home .briefing-grid .brief-icon{
grid-column:1;
  grid-row:1 / span 2;
  align-self:center;
  justify-self:start;
  margin:0;
  width:48px;
  height:48px;
  min-width:48px;
  min-height:48px;
  border-radius:18px;
}
#home .briefing-grid .brief-icon svg{
width:38px;
  height:38px;
}
#home .briefing-grid .stat strong{
grid-column:2;
  grid-row:2;
  margin:2px 0 0;
  font-size:19px;
  line-height:1;
  white-space:nowrap;
  text-align:left;
  justify-self:start;
  color:var(--theme-accent);
}


#home .app-header--home{
  margin-bottom:2px;
}

#home.screen.active{
height:100dvh;
  max-height:100dvh;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  padding-bottom:max(4px,env(safe-area-inset-bottom));
  
  padding-top:max(1px,env(safe-area-inset-top));
gap:0;
}
#home.screen{
  background:
    linear-gradient(180deg,rgba(246,251,255,.76) 0%,rgba(246,251,255,.68) 42%,rgba(246,251,255,.82) 100%),
    url("../assets/backgrounds/home_fuji_sakura.webp") center center/cover no-repeat;
  background-attachment:scroll;
}
#home .hero,
#home .briefing-card,
#home .briefing-grid .stat,
#home .continuous-listen-home-btn{
  backdrop-filter:blur(2px);
  -webkit-backdrop-filter:blur(2px);
}




/* Hero copy: remove white blurred plates behind title and labels. */
#home #tourHero .hero-copy h2::before,
#home #tourHero #briefText::before,
#home #tourHero #briefText .hero-level-wrap::before{content:none;display:none;filter:none;background:none;}

/* Compact expandable learning heatmap for Galaxy S25 Ultra. */
#home .home-heatmap{margin:2px 10px 1px;border-radius:12px;background:var(--theme-soft,rgba(255,255,255,.8));color:var(--theme-text,#213c5b);padding:5px 8px;flex-shrink:0;font-size:11px;}
#home .home-heatmap summary{font-weight:800;cursor:pointer;list-style:none;display:flex;justify-content:space-between;}
#home .home-heatmap summary::-webkit-details-marker{display:none}
#home .home-heatmap summary span{font-size:10px;opacity:.76}
#home .home-heatmap-scroll{overflow-x:auto;padding:5px 0 2px;}
#home .home-heatmap-grid{display:grid;grid-auto-flow:column;grid-template-rows:repeat(7,7px);grid-auto-columns:7px;gap:2px;width:max-content;max-width:none;}
#home .home-heatmap-day{width:7px;height:7px;border-radius:2px;background:rgba(112,135,153,.16)}
#home .home-heatmap-day[data-level="1"]{background:#a3d9b6}#home .home-heatmap-day[data-level="2"]{background:#67b88a}#home .home-heatmap-day[data-level="3"]{background:#32946c}#home .home-heatmap-day[data-level="4"]{background:#16734b}
#home .home-heatmap-weekdays{display:none}#home .home-heatmap-note{font-size:9px;opacity:.75;margin:4px 0 0}
.custom-theme-fields{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.custom-theme-fields label{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700}.custom-theme-fields input[type=color]{width:40px;height:30px;border:0;background:transparent}.custom-theme-fields select{padding:6px;border-radius:8px}.custom-theme-actions,.custom-theme-presets{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.custom-theme-actions button,.custom-theme-presets button{border-radius:10px;padding:9px 12px;background:var(--theme-soft,#eaf5ff);color:var(--theme-text,#213c5b);border:1px solid currentColor;font-weight:700;cursor:pointer}
:root[data-theme="custom"]{--theme-accent:var(--custom-accent,#2698ea);--tone-6:var(--custom-accent,#2698ea);--practice-p6:var(--custom-accent,#2698ea);--tone-1:var(--custom-surface,#eaf5ff);--practice-p1:var(--custom-surface,#eaf5ff)}
:root[data-theme="custom"]:not([data-display-mode="dark"]) #home.screen{background:linear-gradient(180deg,color-mix(in srgb,var(--custom-surface,#eaf5ff) 66%,transparent),color-mix(in srgb,var(--custom-surface,#eaf5ff) 80%,transparent)),url("../assets/backgrounds/home_fuji_sakura.webp") center center/cover no-repeat;}
:root[data-theme="custom"][data-custom-bg="none"]:not([data-display-mode="dark"]) #home.screen{background:var(--custom-surface,#eaf5ff);}

/* 홈 달력: 항상 펼침, 주변 안내 문구 제거, 야간/파스텔 테마 연동 */
#home .home-heatmap{padding:6px 8px;margin:2px 10px 1px;background:var(--tone-2,rgba(255,255,255,.72));border:1px solid var(--tone-4,rgba(100,140,190,.17));box-shadow:none;}
#home .home-heatmap-scroll{overflow-x:auto;scrollbar-width:thin;}
#home .home-heatmap-day{background:var(--tone-3,#deedff);opacity:.72;}
#home .home-heatmap-day.out-of-range{background:transparent;}
#home .home-heatmap-day[data-level="1"]{background:var(--tone-3,#deedff);opacity:1;}
#home .home-heatmap-day[data-level="2"]{background:var(--tone-4,#a9d5f5);opacity:1;}
#home .home-heatmap-day[data-level="3"]{background:var(--tone-5,#72bdf2);opacity:1;}
#home .home-heatmap-day[data-level="4"]{background:var(--tone-6,#2698ea);opacity:1;}
:root[data-display-mode="dark"] #home .home-heatmap{background:#112336;border-color:#2e4960;color:#dceaf7;}
:root[data-display-mode="dark"] #home .home-heatmap-day{background:#29445a;opacity:.7;}
:root[data-display-mode="dark"] #home .home-heatmap-day.out-of-range{background:transparent;}
:root[data-display-mode="dark"] #home .home-heatmap-day[data-level="1"]{background:#375d75;opacity:1;}
:root[data-display-mode="dark"] #home .home-heatmap-day[data-level="2"]{background:#417fa2;opacity:1;}
:root[data-display-mode="dark"] #home .home-heatmap-day[data-level="3"]{background:#58a9d5;opacity:1;}
:root[data-display-mode="dark"] #home .home-heatmap-day[data-level="4"]{background:#89d5f4;opacity:1;}

/* 복습 달력의 바깥 표면만 투명하게 유지한다. 날짜 셀 색상은 별도로 관리한다. */
#home .home-heatmap{
  background:transparent;
  border:0;
  outline:0;
  box-shadow:none;
}

/* v9.13.09 — 홈은 계정별 복습 예정일만 색으로 표시하고 터치 셀을 확대한다. */
#home .home-heatmap-scroll{overscroll-behavior-x:contain;padding:7px 0 4px}
#home .home-heatmap-grid{grid-template-rows:repeat(7,auto);grid-auto-columns:calc((100% - (var(--home-heatmap-weeks,36) - 1)*1px)/var(--home-heatmap-weeks,36));gap:1px;width:100%;max-width:100%}
#home button.home-heatmap-day{appearance:none;display:block;margin:0;padding:0;width:100%;height:auto;aspect-ratio:1;border:0;border-radius:2px;cursor:pointer;background:var(--tone-2,#e4eef8);opacity:.66;-webkit-tap-highlight-color:transparent}
#home button.home-heatmap-day[data-level="0"]{background:var(--tone-2,#dfe9f4);opacity:.62}
#home button.home-heatmap-day[data-level="1"]{background:var(--tone-3,#c6e0f4);opacity:1}
#home button.home-heatmap-day[data-level="2"]{background:var(--tone-4,#87bfeb);opacity:1}
#home button.home-heatmap-day[data-level="3"]{background:var(--tone-5,#4a9ddc);opacity:1}
#home button.home-heatmap-day[data-level="4"]{background:var(--tone-6,#146bba);opacity:1}
#home button.home-heatmap-day.out-of-range{background:transparent;opacity:0;pointer-events:none}
#home button.home-heatmap-day:focus-visible{outline:2px solid #163d68;outline-offset:1px}
#home button.home-heatmap-day:active:not(:disabled){box-shadow:0 0 0 2px #226cae78}
:root[data-display-mode="dark"] #home button.home-heatmap-day[data-level="0"]{background:#29445a;opacity:.62}
:root[data-display-mode="dark"] #home button.home-heatmap-day[data-level="1"]{background:#375d75;opacity:1}
:root[data-display-mode="dark"] #home button.home-heatmap-day[data-level="2"]{background:#417fa2;opacity:1}
:root[data-display-mode="dark"] #home button.home-heatmap-day[data-level="3"]{background:#58a9d5;opacity:1}
:root[data-display-mode="dark"] #home button.home-heatmap-day[data-level="4"]{background:#89d5f4;opacity:1}
/* 일본어 문장 전용 상세 창. 0개도 셀 클릭은 가능하지만 아무 문장을 표시하지 않는다. */
.home-review-day-overlay{position:fixed;inset:0;z-index:10100;display:flex;align-items:flex-end;justify-content:center;padding:0 0 env(safe-area-inset-bottom);background:rgba(24,43,65,.5);backdrop-filter:blur(3px)}
.home-review-day-overlay[hidden],.home-review-day-overlay:not(.open){display:none}
.home-review-day-sheet{width:min(100%,520px);max-height:min(68dvh,610px);min-height:170px;display:flex;flex-direction:column;border-radius:24px 24px 0 0;background:var(--theme-card,#f8fcff);color:var(--theme-text,#213d59);border:1px solid var(--theme-border,#c9ddec);box-shadow:0 -15px 35px #1837543a;padding:16px 15px max(12px,env(safe-area-inset-bottom));overflow:hidden}
.home-review-day-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:0 0 auto;border-bottom:1px solid var(--theme-border,#d6e5f2);padding-bottom:10px}
.home-review-day-head h2{font-size:17px;font-weight:950;line-height:1.35;margin:0}
.home-review-day-head button{width:37px;height:37px;min-width:37px;display:grid;place-items:center;border:1px solid var(--theme-border,#bed4e7);border-radius:11px;background:var(--theme-soft,#e6f2fd);color:var(--theme-text,#315979);font-size:24px;line-height:1}
.home-review-day-list{margin:0;padding:10px 0 4px;overflow-y:auto;overscroll-behavior:contain;list-style:none;flex:1 1 auto}
.home-review-day-list li{padding:12px 8px;border-bottom:1px solid var(--theme-border,#d9e8f3);font-size:15px;font-weight:800;line-height:1.58;overflow-wrap:anywhere;word-break:normal}
.home-review-day-list li:last-child{border-bottom:0}
.home-review-day-list li.empty{text-align:center;font-size:14px;opacity:.8;padding:29px 12px}
