/* 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;
  }
}


.review-first b{
  color:#c8314d;
  font-size:15px;
}

.review-first small{
  display:block;
  color:#7e8ba0;
  margin-top:1px;
  font-size:12px;
}

.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;
  }
}

.home-main-start{
  min-height:62px;
  border-radius:19px;
  box-shadow:0 10px 24px rgba(12,108,217,.24);
  flex:0 0 auto;
}

.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-size:clamp(20px,5vw,27px);
  font-weight:950;
  letter-spacing:-.5px;
  display:block;
  margin:0;
  padding:0;
  line-height:1.15;
  text-align:center;
  white-space:nowrap;
  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);
  flex:0 0 auto;
  border-radius:30px;
  height:clamp(250px,31dvh,350px);
  min-height:235px;
}

@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;
  }

  .hero{
    height:clamp(270px,32dvh,370px);
    min-height:255px;
  }
}

.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);
}

.review-first{
  height:58px;
  border:1px solid #ffd7df;
  background:rgba(255,242,245,.88);
  border-radius:18px;
  padding:8px 13px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:9px;
  flex:0 0 auto;
  border-color:color-mix(in srgb,var(--theme-border) 72%,#fff);
}

.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 .review-first{
  min-height:45px;
  padding:6px 10px;
  flex:0 0 auto;
}

#home .review-first b{
  font-size:13px;
}

#home .review-first small{
  font-size:10px;
}

#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;
}


.curriculum-card{
  height:auto;
  min-height:114px;
  padding:7px 9px;
  display:flex;
  flex-direction:column;
  gap:4px;
}

.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){
  .curriculum-card{
    min-height:99px;
    padding:5px 7px;
    gap:3px;
  }

  .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 .weekly-goal-dots{
  min-height:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:2px 0 0;
}

#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 .briefing-grid{
  flex:0 0 auto;
  min-height:182px;
  height:auto;
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-rows:repeat(2,86px);
  gap:10px;
  margin:0 0 4px;
  align-items:stretch;
  overflow:visible;
}

#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{
    min-height:52px;
    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 .review-first{
    min-height:39px;
  }

  #home .home-main-start{
    
    
    flex-basis:43px;
  }

  #home .briefing-grid{
    min-height:162px;
    grid-template-rows:repeat(2,76px);
    gap:10px;
  }



  #home .briefing-grid .stat small{
    font-size:clamp(15px,4.2vw,19px);
    line-height:1.1;
  }

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

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


#home.screen.active{
  height:100dvh;
  max-height:100dvh;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  padding-bottom:max(4px,env(safe-area-inset-bottom));
  gap:6px;
  padding-top:max(1px,env(safe-area-inset-top));
}

#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 .briefing-title-row .week-goal-dot{
  width:14px;
  height:14px;
  flex:0 0 14px;
}

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


#home .hero{
  margin-top:2px;
  background-position:right 12px top 10px;
  background-size:auto 82%;
  background-repeat:no-repeat;
  height:clamp(205px,29dvh,275px);
  min-height:200px;
  flex:0 0 auto;
  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 11px 24px rgba(35,72,107,.14),
    0 3px 8px rgba(35,72,107,.07);
  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 #tourHero #briefText{
  margin:0;
  width:auto;
  max-width:none;
  display:block;
  white-space:normal;
}

#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 .briefing-title-row{
  min-height:30px;
  height:30px;
  flex:0 0 30px;
  justify-content:flex-start;
  margin:0;
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:20px;
}

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


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

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


#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 .curriculum-card{
  background:linear-gradient(180deg,
    color-mix(in srgb,var(--theme-soft) 88%,var(--theme-accent-2) 12%) 0%,
    color-mix(in srgb,var(--theme-soft) 94%,#fff 6%) 100%);
  border-color:color-mix(in srgb,var(--theme-border) 88%,var(--theme-accent) 12%);
  box-shadow:0 10px 22px rgba(39,91,143,.14),
    0 3px 7px rgba(39,91,143,.10),
    inset 0 1px 0 rgba(255,255,255,.88);
}

#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 .briefing-grid .stat{
  width:100%;
  min-width:0;
  height:86px;
  min-height:86px;
  box-sizing:border-box;
  margin:0;
  overflow:hidden;
  display:grid;
  grid-template-rows:auto auto;
  row-gap:2px;
  align-content:center;
  align-items:center;
  justify-items:start;
  text-align:left;
  padding:2px;
  grid-template-columns:58px minmax(0,1fr);
  column-gap:3px;
  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%);
  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 .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 .home-main-start:active{
  transform:translateY(1px) scale(.995);
  box-shadow:0 4px 9px color-mix(in srgb,var(--theme-accent) 20%,transparent),
    inset 0 1px 2px rgba(0,65,135,.12);
}


#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 #tourHero #briefText .hero-review{
  display:block;
  letter-spacing:-.02em;
  margin:0;
  white-space:nowrap;
  font-size:20px;
  line-height:1.28;
  font-weight:900;
}


#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:15px;
  font-weight:950;
}

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

#home #tourBrief{
  display:grid;
}

.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.second-call .home-review-jp{
  filter:blur(5px);
  opacity:.48;
  user-select:none;
}

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


.home-review-item.long-memory-blur .home-review-jp{
  filter:blur(5px);
  opacity:.48;
  user-select:none;
}

.home-review-item.long-memory-blur .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 .review-first.curriculum-card{
  height:auto;
  background:transparent;
  border:0;
  box-shadow:none;
  border-radius:0;
  min-height:38px;
  padding:1px 12px;
  margin-top:0;
  margin-bottom:0;
}

#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:0 auto;
}

#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%;
  min-height:38px;
  flex:0 0 38px;
  border:1px solid var(--theme-border);
  border-radius:14px;
  color:var(--theme-text);
  font-size:13px;
  font-weight:950;
  transform:translateY(-1px);
  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%);
  margin-bottom:0;
}

#home .home-main-start{
  min-height:48px;
  height:48px;
  flex:0 0 48px;
  font-size:14px;
  box-shadow:0 10px 18px color-mix(in srgb,var(--theme-accent) 25%,transparent),
    0 3px 6px rgba(39,91,143,.13),
    inset 0 2px 1px rgba(255,255,255,.28),
    inset 0 -2px 1px rgba(0,65,135,.10);
  transform:translateY(-1px);
  transition:transform .12s ease,box-shadow .12s ease;
  margin-top:0;
}

#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 #startBtn.home-main-start{
  margin-bottom:0;
  margin-top:-1px;
}


#home #continuousListenBtn.continuous-listen-home-btn{
  margin-top:-7px;
  margin-bottom:0;
  transform:translateY(-5px);
}

#home #continuousListenBtn.continuous-listen-home-btn:active{
  transform:translateY(-3px) scale(.995);
}

.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,#2698EA);
}

.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,#2698EA);
}

#home #homeBriefingCompact.briefing-card{
  margin-top:-5px;
  margin-bottom:0;
  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 #startBtn.home-main-start.review-priority{
  box-shadow:0 12px 22px color-mix(in srgb,var(--theme-accent) 31%,transparent),0 3px 7px rgba(39,91,143,.16),inset 0 2px 1px rgba(255,255,255,.30),inset 0 -2px 1px rgba(0,65,135,.11);
}

#home #tourBrief.briefing-grid{
  margin-bottom:0;
  margin-top:0;
}

#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 #homeBriefingCompact.briefing-card{
    margin-top:-6px;
  }

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

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

  #home #startBtn.home-main-start{
    margin-top:-1px;
  }

  #home #tourBrief.briefing-grid{
    margin-top:-7px;
  }

  #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{
    gap:9px;
  }

  #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{
    font-size:19px;
  }

  #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 .stat small{
    font-size:13px;
  }

  #home .briefing-grid .brief-icon{
    width:54px;
    height:54px;
    min-width:54px;
    min-height:54px;
  }

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

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

  #home .continuous-listen-home-btn{
    
    flex-basis:34px;
    
  }

  #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:13px;
  }

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

  #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 .briefing-grid .stat small{
    white-space:normal;
    overflow-wrap:anywhere;
    font-size:clamp(17px,4.8vw,22px);
  }
}

#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;
  gap:8px;
  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);
  transform:translateY(-2px);
  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{
  display:inline-block;
  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;
}
