#course-notice {
  padding: 0;
  width: min(460px, calc(100% - 26px));
  max-height: calc(100dvh - 28px);
  overflow: auto;
  border: 1px solid #ddcfb1;
  border-radius: 24px;
  color: inherit;
  background: #fffaf0;
  box-shadow: 0 16px 42px #15291b50;
}
#course-notice::backdrop { background: #182d25a6; }
#course-notice .hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 161px;
  padding: 16px 20px;
  background: radial-gradient(ellipse at 80% 52%, #fbefce, #e8e7ce 68%);
  border-bottom: 1px solid #ded8bb;
}
#course-notice .hero > div { z-index: 1; }
#course-notice .eyebrow { margin: 0 0 5px; font-weight: 750; color: #765329; font-size: .83rem; letter-spacing: .07em; }
#course-notice h2 { font-size: clamp(1.55rem, 6vw, 2rem); line-height: 1.2; margin: 0; }
#course-notice .hero-cat { position: absolute; right: 18px; bottom: 4px; width: 52%; height: 142px; object-fit: contain; object-position: right bottom; }
#course-notice .close { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fffaf0; color: #224635; font-size: 1.5rem; z-index: 2; }
#course-notice .switcher { display: flex; gap: 5px; padding: 4px; margin: 12px 13px 0; background: #eee7d6; border-radius: 999px; }
#course-notice .switcher button { flex: 1; min-height: 44px; border: 0; border-radius: 999px; color: inherit; background: transparent; font-weight: 750; white-space: nowrap; }
#course-notice .switcher button[aria-pressed="true"] { color: #fffaf0; background: #244c39; }
#course-notice .cards { display: grid; gap: 9px; padding: 11px 13px 14px; }
#course-notice .cards[hidden] { display: none; }
#course-notice .card { display: grid; grid-template-columns: minmax(70px, 30%) minmax(0,1fr); gap: 10px; padding: 8px; border: 1px solid #e4dac7; border-radius: 15px; background: #fffdf7; }
#course-notice .art { display: grid; place-items: center; min-height: 88px; background: #ecf0e3; padding: 4px; border-radius: 10px; }
#course-notice .art img { display: block; width: 100%; height: 88px; object-fit: contain; }
#course-notice .peach { background: #f4e4dc; }
#course-notice .amber { background: #f3e6c9; }
#course-notice .diaries { display: flex; gap: 3px; }
#course-notice .diaries img { width: calc((100% - 3px) / 2); height: 75px; }
#course-notice .card-copy { min-width: 0; }
#course-notice h3 { margin: 1px 0 3px; font-size: clamp(.96rem, 4.05vw, 1.1rem); line-height: 1.35; }
#course-notice .card p { margin: 0 0 2px; line-height: 1.4; color: #475748; font-size: .82rem; }
#course-notice .card .price { color: #854c24; font-weight: 800; }
#course-notice .price small { font-weight: 650; margin-left: 3px; }
#course-notice .card a { min-height: 44px; display: inline-flex; align-items: center; color: #234e3a; font-weight: 750; font-size: .85rem; text-underline-offset: .15em; }
#course-notice .footnote { margin: 0 2px; color: #635d50; font-size: .72rem; }
#course-notice .switcher[hidden], #course-notice [hidden] { display: none !important; }
#course-notice .card { margin: 0; box-shadow: none; }
.course-notice-trigger {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 34px;
  align-items: center;
  gap: clamp(7px, 3vw, 15px);
  width: 100%;
  min-height: 76px;
  margin: 0 0 .9rem;
  padding: 8px clamp(10px, 3.5vw, 18px);
  border: 1px solid #214736;
  border-radius: 17px;
  background: linear-gradient(105deg, #2c5943, #173b2c);
  color: #fffaf0;
  text-align: left;
  cursor: pointer;
}
.course-notice-trigger[hidden] { display: none; }
.course-banner-art {
  width: 58px;
  height: 58px;
  object-fit: contain;
  padding: 4px;
  background: #f2e4ba;
  border-radius: 50%;
}
.course-banner-copy { display: grid; gap: 2px; line-height: 1.35; }
.course-banner-copy strong { font-size: clamp(1.05rem, 4.7vw, 1.3rem); }
.course-banner-copy > span { font-size: .79rem; color: #f5e2af; }
.course-banner-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f5e2af;
  color: #204735;
  font-size: 1.25rem;
}

/* Reuse the website's December offers inside the existing app notice. */
#course-notice .hero > div { flex:0 0 58%; max-width:58%; }
#course-notice .hero h2 span { display:block; white-space:nowrap; }
#course-notice .hero h2 { max-width:none; font-size:clamp(1.45rem,6vw,1.9rem); line-height:1.3; }
#course-notice #course-notice-offers { display:block; padding:12px 13px 16px; }
#course-notice #course-notice-offers[hidden] { display:none; }
#course-notice .december-events { margin:0; }
#course-notice .december-events>h3 { font-size:1.02rem; line-height:1.5; margin:0 0 5px; }
#course-notice .december-events>p { font-size:.8rem; line-height:1.55; margin:0 0 12px; }
#course-notice .december-offers { display:grid; grid-template-columns:minmax(0,1fr); gap:14px; }
#course-notice .december-offer { padding:13px; border:0; border-radius:16px; background:#f3efdf; }
#course-notice .december-offer h4 { font-size:1.12rem; line-height:1.45; margin:5px 0 8px; }
#course-notice .december-offer p,#course-notice .december-offer li { font-size:.83rem; line-height:1.65; }
#course-notice .december-offer .offer-price { font-size:1.5rem; }
#course-notice .december-offer a:not([aria-label]) { width:100%; padding:11px 12px; margin-top:9px; font-size:.86rem; }
#course-notice .december-offer a[aria-label] { display:block; width:100%; padding:0; margin:0 0 18px; background:transparent; }
#course-notice .december-offer video { display:block; width:100%; max-width:100%; height:auto; max-height:250px; object-fit:contain; margin:16px auto; border-radius:14px; background:#103d2c; }
#course-notice .december-offer img { display:block; width:100%; max-width:100%; height:auto; max-height:340px; object-fit:contain; }
#course-notice .offer-loading,#course-notice .offer-fallback { padding:12px 4px; font-size:.88rem; line-height:1.65; }
#course-notice .offer-fallback a { color:#244c39; font-weight:750; text-underline-offset:.15em; }
@media(max-width:360px){#course-notice .hero-cat{right:8px;width:45%}#course-notice .hero h2{max-width:62%}}
