/* 学習記録 v3：夢色はアリス島の壁紙、夜色は英語メニューの濃紺を使う一列レイアウト */
body.is-learning-record-view {
  min-height: 100dvh;
  color: #5a4653;
  background: var(--legacy-premium-body-background) !important;
}

/* Use the exact outer wallpaper from the Alice island map selected by the user.
 * Source: alice-reader/map/alice-island-pastel-v1.css, .world background.
 * Keep all four gradient layers, colors, opacities and stops unchanged.
 */
html:not([data-alice-theme="night"]) body:is(.is-settings-view, .is-learning-record-view) {
  background: radial-gradient(circle at 9% 8%, rgba(255, 184, 219, .55), transparent 30%),
    radial-gradient(circle at 89% 12%, rgba(204, 255, 255, .68), transparent 31%),
    radial-gradient(circle at 50% 100%, rgba(255, 237, 184, .58), transparent 38%),
    linear-gradient(135deg, #fffafc 0%, #fffdf5 51%, #f6ffff 100%) !important;
  background-attachment: fixed !important;
}

/* Keep the record text readable over the pale wallpaper. */
html:not([data-alice-theme="night"]) .lr3-today-card,
html:not([data-alice-theme="night"]) .lr3-timeline-card,
html:not([data-alice-theme="night"]) .lr3-theme-options {
  background: rgba(255, 255, 255, .94);
}

html:not([data-alice-theme="night"]) .lr3-theme-current,
html:not([data-alice-theme="night"]) .lr3-resume-hint {
  padding: 6px 9px;
  border-radius: 8px;
  color: #5a4653;
  background: rgba(255, 255, 255, .94);
}

/* 設定・学習記録のどちらからでも、スクロールせずメニューへ戻れる共通導線 */
.premium-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  min-height: 42px;
  margin: 0 0 10px;
}

.premium-menu-return {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid rgba(201, 137, 159, .34);
  border-radius: 999px;
  color: #604a57;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 4px 14px rgba(132, 103, 120, .10);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.premium-menu-return:hover {
  border-color: rgba(190, 104, 138, .58);
  box-shadow: 0 6px 18px rgba(132, 103, 120, .16);
  transform: translateY(-1px);
}

.premium-menu-return:focus-visible {
  outline: 3px solid rgba(219, 106, 151, .28);
  outline-offset: 3px;
}

html[data-alice-theme="night"] .premium-menu-return {
  color: #fffaf4;
  border-color: rgba(255, 244, 223, .30);
  background: rgba(22, 30, 55, .90);
  box-shadow: 0 5px 18px rgba(0, 0, 0, .22);
}

html[data-alice-theme="night"] .premium-menu-return:hover {
  border-color: rgba(255, 214, 159, .62);
}

@media (max-width: 700px) {
  .premium-page-actions {
    margin-bottom: 8px;
  }

  .premium-menu-return {
    min-height: 42px;
    padding-inline: 14px;
  }
}

/* Stage 5: outcomes before activity counts. */
/* 20261022: let the document own scrolling in the current record layout.
 * The retired world layout clips .premium-app to 100dvh on phones, while
 * lr3-world makes the record's overflow visible. Remove both fixed heights
 * together so all records and the footer remain in the document's flow.
 */
@media (max-width: 700px) {
  body.is-learning-record-view .premium-app,
  body.is-learning-record-view #todayScreen.lr3-world {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  body.is-learning-record-view #todayScreen.lr3-world {
    overscroll-behavior: auto;
  }
}

.lr3-outcome-stack {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.lr3-outcome-section {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(78, 102, 151, .2);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
}

.lr3-outcome-section.is-primary {
  border-color: rgba(57, 122, 101, .36);
  background: linear-gradient(145deg, rgba(239, 255, 247, .94), rgba(255, 252, 235, .9));
}

.lr3-outcome-order {
  display: grid;
  width: 30px;
  height: 30px;
  margin: 0;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #315d77;
  font-weight: 900;
}

.lr3-outcome-section h3 {
  margin: 1px 0 13px;
  color: #243c5c;
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.4;
}

.lr3-outcome-kicker {
  margin: 0 0 3px;
  color: #39715f;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

html[data-alice-theme="night"] .lr3-outcome-kicker { color: #9fe4ff; }

.lr3-can-do-list,
.lr3-recovery-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lr3-can-do-list li,
.lr3-recovery-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 12px 13px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .78);
}

.lr3-can-do-list li > span,
.lr3-recovery-list li > span {
  color: #1c7a59;
  font-weight: 950;
}

.lr3-can-do-list strong,
.lr3-recovery-list strong {
  display: block;
  color: #173853;
}

.lr3-can-do-list p,
.lr3-recovery-list p,
.lr3-recovery-list small {
  display: block;
  margin: 3px 0 0;
  color: #526579;
  line-height: 1.65;
}

.lr3-recovery-list li > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.lr3-recovery-list strong,
.lr3-recovery-list p { font-size: 16px; }
.lr3-recovery-list small { font-size: 14px; }
.lr3-recovery-description {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: #526579;
}

.lr3-outcome-section.lr3-plain-section { grid-template-columns: minmax(0, 1fr); }
.lr3-activity-list {
  display: grid;
  gap: 16px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.lr3-activity-list > li {
  min-width: 0;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(78, 102, 151, .14);
  overflow-wrap: anywhere;
}
.lr3-activity-list > li:last-child { padding-bottom: 0; border-bottom: 0; }
.lr3-activity-list strong {
  display: block;
  font-size: 17px;
  line-height: 1.65;
  color: #243c5c;
}
.lr3-activity-list p {
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: #526579;
}
.lr3-timeline-card > .lr3-activity-list { width: 100%; margin: 0; }
html[data-alice-theme="night"] .lr3-activity-list strong { color: #f8edbd; }
html[data-alice-theme="night"] .lr3-activity-list p { color: #d4def1; }
html[data-alice-theme="night"] .lr3-today-card > .lr3-activity-list strong,
html[data-alice-theme="night"] .lr3-timeline-card .lr3-activity-list strong { color: #243c5c; }
html[data-alice-theme="night"] .lr3-today-card > .lr3-activity-list p,
html[data-alice-theme="night"] .lr3-timeline-card .lr3-activity-list p { color: #526579; }

html[data-alice-theme="night"] .lr3-recovery-list p,
html[data-alice-theme="night"] .lr3-recovery-description { color: #d4def1; }

.lr3-retention-grid,
.lr3-evidence-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.lr3-retention-grid > div,
.lr3-evidence-metrics > div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 13px;
  background: rgba(237, 244, 255, .86);
  text-align: center;
}

.lr3-retention-grid strong,
.lr3-evidence-metrics dd {
  margin: 0;
  color: #244e80;
  font-size: 24px;
  font-weight: 950;
}

.lr3-retention-grid span,
.lr3-evidence-metrics dt {
  color: #5c6d80;
  font-size: 12px;
  line-height: 1.45;
}

.lr3-outcome-action {
  display: inline-flex;
  margin-top: 11px;
  color: #234f79;
  font-weight: 850;
}

.lr3-evidence-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.lr3-evidence-metrics dt { order: 2; }
.lr3-evidence-metrics dd { order: 1; }

html[data-alice-theme="night"] .lr3-outcome-section {
  border-color: rgba(151, 190, 232, .25);
  background: rgba(15, 35, 68, .76);
}

html[data-alice-theme="night"] .lr3-outcome-section.is-primary {
  background: linear-gradient(145deg, rgba(20, 72, 71, .82), rgba(53, 50, 27, .76));
}

html[data-alice-theme="night"] .lr3-outcome-section h3,
html[data-alice-theme="night"] .lr3-can-do-list strong,
html[data-alice-theme="night"] .lr3-recovery-list strong { color: #f8edbd; }

html[data-alice-theme="night"] .lr3-can-do-list li,
html[data-alice-theme="night"] .lr3-recovery-list li,
html[data-alice-theme="night"] .lr3-retention-grid > div,
html[data-alice-theme="night"] .lr3-evidence-metrics > div { background: rgba(5, 19, 43, .62); }

html[data-alice-theme="night"] .lr3-can-do-list p,
html[data-alice-theme="night"] .lr3-recovery-list small,
html[data-alice-theme="night"] .lr3-retention-grid span,
html[data-alice-theme="night"] .lr3-evidence-metrics dt { color: #d2def1; }

html[data-alice-theme="night"] .lr3-retention-grid strong,
html[data-alice-theme="night"] .lr3-evidence-metrics dd,
html[data-alice-theme="night"] .lr3-outcome-action { color: #9fe4ff; }

@media (max-width: 700px) {
  .lr3-outcome-section { grid-template-columns: 30px minmax(0, 1fr); gap: 9px; padding: 14px 12px; }
  .lr3-retention-grid { grid-template-columns: 1fr; }
  .lr3-evidence-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 設定と学習記録で共通ナビの位置・横幅を変えない */
@media (min-width: 721px) {
  body.is-learning-record-view .premium-app {
    width: min(1120px, calc(100% - 24px));
    max-width: 1120px;
    padding: 18px 0 34px;
  }
}

@media (min-width: 701px) and (max-width: 720px) {
  body.is-learning-record-view .premium-app {
    width: 100%;
    max-width: none;
    padding: 8px;
  }
}

/* 公開中の主ナビは「設定・学習記録」の2項目に絞る */
.premium-progress.premium-primary-nav {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* 旧学習記録CSSの !important 非表示を打ち消す */
body.is-learning-record-view .premium-progress.premium-primary-nav {
  display: grid !important;
}

body.is-learning-record-view::before {
  content: none !important;
}

body.is-learning-record-view #todayScreen.lr3-world {
  width: 100%;
  max-width: none;
  min-height: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.lr3-world,
.lr3-world button,
.lr3-world a {
  box-sizing: border-box;
}

.lr3-page {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 18px 0 max(54px, env(safe-area-inset-bottom));
}

.lr3-theme-switcher {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 2px 9px;
}

.lr3-theme-current {
  color: #8f7d88;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
}

.lr3-theme-options {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(201, 137, 159, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 3px 12px rgba(132, 103, 120, .10);
}

.lr3-theme-option {
  min-width: 58px;
  min-height: 44px;
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  color: #806a76;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: color .16s ease, background .16s ease, box-shadow .16s ease;
}

.lr3-theme-option:hover,
.lr3-theme-option:focus-visible {
  outline: 2px solid rgba(201, 137, 159, .35);
  outline-offset: 1px;
}

.lr3-theme-option[data-alice-theme-option="dream"].is-active {
  color: #563f4d;
  background: linear-gradient(115deg, #f8d8e4, #fff0c9);
  box-shadow: 0 2px 8px rgba(201, 137, 159, .22);
}

.lr3-theme-option[data-alice-theme-option="night"].is-active {
  color: #fffaf2;
  background: linear-gradient(135deg, #334b75, #15233f);
  box-shadow: 0 2px 8px rgba(17, 28, 51, .28);
}

.lr3-header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 10px;
  padding: 0 2px 14px;
}

.lr3-header > div p {
  margin: 0 0 3px;
  color: #7a5a20;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .22em;
}

.lr3-header h1,
.lr3-world h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", Georgia, serif;
}

.lr3-header h1 {
  margin: 0;
  color: #5a4653;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: .06em;
}

.lr3-back {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #9c8794;
  background: transparent;
  font: inherit;
  font-size: 21px;
  text-decoration: none;
  cursor: pointer;
}

.lr3-back:hover,
.lr3-back:focus-visible {
  color: #9d5b77;
  background: rgba(255, 255, 255, .52);
  outline: 2px solid rgba(201, 137, 159, .28);
}

.lr3-main {
  display: block;
}

.lr3-today-card,
.lr3-stats article,
.lr3-timeline-card {
  border: 1px solid rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .73);
  box-shadow: 0 4px 20px rgba(180, 150, 190, .14);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.lr3-today-card {
  padding: 20px;
  border-radius: 20px;
}

.lr3-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 17px;
}

.lr3-card-head h2,
.lr3-timeline-section h2 {
  margin: 0;
  color: #8a4260;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .09em;
}

.lr3-card-head h2 span,
.lr3-timeline-section h2 span {
  margin-right: 4px;
  color: #c9a35c;
}

.lr3-card-head time {
  color: #6e5965;
  font-size: 12px;
  white-space: nowrap;
}

.lr3-no-record {
  margin: -3px 0 15px;
  color: #8f7d88;
  font-size: 13px;
  text-align: center;
}

.lr3-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.lr3-metric {
  min-width: 0;
  padding: 2px 8px;
  text-align: center;
}

.lr3-metric + .lr3-metric {
  border-left: 1px solid rgba(217, 109, 158, .14);
}

.lr3-metric strong {
  display: block;
  overflow-wrap: anywhere;
  color: #5a4653;
  font-size: clamp(22px, 7vw, 31px);
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.lr3-metric span {
  display: block;
  margin-top: 7px;
  color: #6e5965;
  font-size: 12px;
  line-height: 1.35;
}

.lr3-metric.is-empty strong {
  color: #b9a9b2;
}

.lr3-details {
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid rgba(217, 109, 158, .15);
  animation: lr3-fade-slide .18s ease-out;
}

.lr3-details[hidden] {
  display: none !important;
}

.lr3-details dl {
  display: grid;
  gap: 9px;
  margin: 0;
}

.lr3-details dl > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  color: #6e5965;
  font-size: 13px;
}

.lr3-details dt span {
  display: inline-block;
  width: 19px;
  color: #b68b4d;
  text-align: center;
}

.lr3-details dd {
  margin: 0;
  color: #5a4653;
  font-weight: 800;
  text-align: right;
}

.lr3-expression-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
}

.lr3-expression-list span {
  padding: 5px 9px;
  border: 1px solid rgba(201, 137, 159, .22);
  border-radius: 999px;
  color: #95546e;
  background: rgba(249, 237, 242, .82);
  font-size: 12px;
  font-weight: 800;
}

.lr3-more {
  width: 100%;
  min-height: 40px;
  margin-top: 10px;
  border: 0;
  border-radius: 10px;
  color: #8a4260;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.lr3-more:hover,
.lr3-more:focus-visible {
  background: rgba(249, 237, 242, .66);
  outline: none;
}

.lr3-more span {
  display: inline-block;
  transition: transform .18s ease;
}

.lr3-more[aria-expanded="true"] span {
  transform: rotate(180deg);
}

.lr3-share-section {
  margin-top: 13px;
}

.lr3-share-open {
  display: grid;
  width: 100%;
  min-height: 64px;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 11px 15px;
  border: 1px solid rgba(201, 137, 159, .30);
  border-radius: 17px;
  color: #5a4653;
  background: rgba(255, 255, 255, .66);
  box-shadow: 0 4px 17px rgba(180, 150, 190, .12);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.lr3-share-open:hover,
.lr3-share-open:focus-visible {
  border-color: rgba(173, 102, 132, .48);
  background: rgba(255, 250, 252, .90);
  box-shadow: 0 6px 21px rgba(180, 150, 190, .20);
  outline: 3px solid rgba(201, 137, 159, .14);
  outline-offset: 2px;
}

.lr3-share-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #a3683a;
  background: linear-gradient(135deg, #fff2d4, #f8dce6);
  font-size: 17px;
  font-weight: 900;
}

.lr3-share-open span:nth-child(2) strong,
.lr3-share-open span:nth-child(2) small {
  display: block;
}

.lr3-share-open span:nth-child(2) strong {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", Georgia, serif;
  font-size: 15px;
  letter-spacing: .04em;
}

.lr3-share-open span:nth-child(2) small {
  margin-top: 3px;
  color: #6e5965;
  font-size: 12px;
}

.lr3-share-open > b {
  color: #8a4260;
  font-size: 16px;
  transition: transform .18s ease;
}

.lr3-share-open[aria-expanded="true"] > b {
  transform: rotate(180deg);
}

.lr3-share-panel {
  animation: lr3-fade-slide .18s ease-out;
}

.lr3-share-panel[hidden] {
  display: none !important;
}

.lr3-world .lr3-share-panel .alice-today-letter-card {
  margin-top: 10px;
  padding: 17px;
  border: 1px solid rgba(201, 163, 92, .34) !important;
  border-radius: 18px;
  color: #5a4653 !important;
  background:
    radial-gradient(circle at 92% 0%, rgba(252, 220, 163, .24), transparent 36%),
    rgba(255, 253, 247, .84) !important;
  box-shadow: 0 5px 20px rgba(180, 150, 190, .14) !important;
}

.lr3-world .lr3-share-panel .alice-today-letter-card h3 {
  margin: 0 0 9px;
  color: #8a4260 !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", Georgia, serif;
  font-size: 16px;
}

.lr3-world .lr3-share-panel .alice-today-letter-card p,
.lr3-world .lr3-share-panel .alice-today-letter-summary,
.lr3-world .lr3-share-panel .alice-letter-line,
.lr3-world .lr3-share-panel .x-share-note {
  color: #6d5965 !important;
}

.lr3-world .lr3-share-panel .alice-letter-line {
  color: #95546e !important;
}

.lr3-world .lr3-share-panel .x-share-action .primary-btn,
.lr3-world .lr3-share-panel .x-share-action .ghost-btn {
  min-height: 44px;
  border-radius: 13px;
  font-weight: 850;
}

.lr3-world .lr3-share-panel .x-share-action .primary-btn {
  color: #5a4653;
  border: 1px solid rgba(201, 163, 92, .48);
  background: linear-gradient(105deg, #fbd9e3, #fdf3d9);
  box-shadow: 0 4px 14px rgba(216, 160, 130, .22);
}

.lr3-world .lr3-share-panel .x-share-action .ghost-btn {
  color: #95546e;
  border-color: rgba(201, 137, 159, .34);
  background: rgba(255, 255, 255, .68);
}

.lr3-resume {
  display: flex;
  width: 100%;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  padding: 14px 22px;
  border: 1.5px solid rgba(201, 163, 92, .48);
  border-radius: 20px;
  color: #5a4653;
  background: linear-gradient(105deg, #fbd9e3 0%, #fce7dc 45%, #fdf3d9 100%);
  box-shadow: 0 6px 24px rgba(216, 160, 130, .30);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease;
}

.lr3-resume:hover,
.lr3-resume:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(216, 160, 130, .42);
  outline: 3px solid rgba(201, 137, 159, .18);
  outline-offset: 2px;
}

.lr3-resume span small {
  display: block;
  margin-bottom: 3px;
  color: #b68b4d;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .19em;
}

.lr3-resume span strong {
  display: block;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", Georgia, serif;
  font-size: 19px;
  letter-spacing: .04em;
}

.lr3-resume b {
  color: #8a4260;
  font-size: 20px;
}

.lr3-resume-hint {
  min-height: 18px;
  margin: 7px 4px 0;
  color: #6e5965;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.lr3-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 21px;
}

.lr3-stats article {
  padding: 15px;
  border-radius: 19px;
  text-align: center;
}

.lr3-stats article > strong {
  display: block;
  color: #8a4260;
  font-size: 39px;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.lr3-stats article > span {
  display: block;
  margin-top: 7px;
  color: #6e5965;
  font-size: 12px;
}

.lr3-stats i {
  color: #c9a35c;
  font-style: normal;
}

.lr3-timeline-section {
  margin-top: 29px;
}

.lr3-timeline-section h2 {
  margin-bottom: 16px;
}

.lr3-timeline {
  position: relative;
  margin: 0 0 0 7px;
  padding: 0;
  border-left: 2px solid rgba(201, 137, 159, .34);
  list-style: none;
}

.lr3-timeline-item {
  position: relative;
  padding: 0 0 23px 27px;
}

.lr3-timeline-item:last-child {
  padding-bottom: 0;
}

.lr3-timeline-dot {
  position: absolute;
  top: 2px;
  left: -7px;
  width: 12px;
  height: 12px;
  border: 3px solid #c9899f;
  border-radius: 50%;
  background: #fff;
}

.lr3-timeline-dot.is-today {
  background: #c9899f;
  box-shadow: 0 0 0 4px rgba(201, 137, 159, .20);
}

.lr3-timeline-item > time {
  display: block;
  margin-bottom: 6px;
  color: #745d69;
  font-size: 13px;
  font-weight: 900;
}

.lr3-timeline-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 17px;
  padding: 12px 14px;
  border-radius: 15px;
}

.lr3-timeline-card > span {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  white-space: nowrap;
}

.lr3-timeline-card > span strong {
  color: #5a4653;
  font-size: 16px;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.lr3-timeline-card > span small {
  color: #6e5965;
  font-size: 12px;
}

.lr3-completion {
  flex: 1 0 100%;
  margin: -1px 0 0;
  color: #a36a40;
  font-size: 12px;
  font-weight: 800;
}

.lr3-timeline-empty {
  margin-left: -7px;
  padding: 28px 12px;
  border-left: 0;
  color: #9c8794;
  font-size: 13px;
  text-align: center;
}

.lr3-legacy-bridge {
  display: none !important;
}

.lr3-reset-dialog[hidden],
.lr3-toast[hidden] {
  display: none !important;
}

.lr3-reset-dialog {
  position: fixed;
  inset: 0;
  z-index: 2147483500;
}

.lr3-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(42, 28, 38, .48);
  cursor: default;
}

.lr3-reset-open {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 11px 13px;
  border: 0;
  border-radius: 13px;
  color: #5a4653;
  background: transparent;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.lr3-reset-open b {
  color: #aa94a1;
  font-size: 18px;
  transition: transform .16s ease;
}


.lr3-settings-details {
  overflow: hidden;
  border: 1px solid rgba(201, 137, 159, .26);
  border-radius: 20px;
  background: rgba(255, 255, 255, .58);
}

.lr3-settings-details summary {
  display: grid;
  min-height: 58px;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  color: #5a4653;
  cursor: pointer;
  list-style: none;
}

.lr3-settings-details summary::-webkit-details-marker {
  display: none;
}

.lr3-settings-details summary span {
  font-weight: 900;
}

.lr3-settings-details summary small {
  color: #927f8a;
  font-size: 12px;
}

.lr3-settings-details summary b {
  color: #8a4260;
  font-size: 16px;
  transition: transform .16s ease;
}

.lr3-settings-details[open] summary b {
  transform: rotate(180deg);
}

.lr3-settings-details-body {
  padding: 0 15px 14px;
  border-top: 1px solid rgba(201, 137, 159, .18);
}

.lr3-settings-details-body p {
  margin: 12px 0 5px;
  color: #75636d;
  font-size: 12px;
}

.lr3-reset-open {
  color: #bc4e5d;
  font-size: 13px;
}

.lr3-reset-open:hover,
.lr3-reset-open:focus-visible {
  background: #fff1f2;
  outline: none;
}

.lr3-reset-dialog {
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 2147483600;
}

.lr3-reset-dialog > section {
  position: relative;
  width: min(100%, 370px);
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(170deg, #fffdfd 0%, #fdf6f9 100%);
  box-shadow: 0 22px 65px rgba(53, 30, 45, .32);
  text-align: center;
  animation: lr3-pop .18s ease-out;
}

.lr3-warning {
  display: grid;
  width: 55px;
  height: 55px;
  margin: 0 auto 12px;
  place-items: center;
  border-radius: 50%;
  color: #dc5464;
  background: #fff0f2;
  font-size: 28px;
  font-weight: 950;
}

.lr3-reset-dialog h2 {
  margin: 0 0 9px;
  color: #5a4653;
  font-size: 18px;
}

.lr3-reset-dialog p {
  margin: 0 0 18px;
  color: #8f7d88;
  font-size: 13px;
  line-height: 1.75;
}

.lr3-reset-dialog p strong {
  color: #ca4657;
  font-size: 16px;
}

.lr3-cancel,
.lr3-execute {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.lr3-cancel {
  color: #5a4653;
  background: #f9edf2;
}

.lr3-execute {
  margin-top: 7px;
  color: #c84f5e;
  background: transparent;
  font-size: 13px;
}

.lr3-execute:hover,
.lr3-execute:focus-visible {
  background: #fff0f2;
  outline: 2px solid rgba(200, 79, 94, .22);
}

.lr3-toast {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 50%;
  z-index: 2147483640;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 11px 18px;
  border-radius: 999px;
  color: #fff;
  background: #5a4653;
  box-shadow: 0 10px 30px rgba(72, 43, 61, .28);
  font-size: 13px;
  transform: translateX(-50%);
}

body.lr3-modal-open {
  overflow: hidden !important;
}

/* 設定・学習記録だけの「月明かりの夜色」。物語など他画面の夜色は変えない。 */
html[data-alice-theme="night"] body.is-settings-view,
html[data-alice-theme="night"] body.is-learning-record-view {
  --legacy-premium-panel-surface: linear-gradient(145deg, rgba(73, 72, 111, .88), rgba(57, 88, 105, .86));
  --legacy-premium-panel-strong-surface: rgba(64, 72, 106, .90);
  --legacy-premium-border-default: rgba(255, 250, 240, .28);
  --legacy-premium-fieldset-border: rgba(255, 250, 240, .25);
  --legacy-premium-fieldset-surface: rgba(255, 255, 255, .09);
  --legacy-premium-choice-border: rgba(255, 250, 240, .24);
  --legacy-premium-choice-surface: rgba(255, 255, 255, .10);
  --legacy-premium-tab-surface: rgba(255, 255, 255, .09);
  --legacy-premium-panel-shadow: 0 18px 52px rgba(31, 28, 57, .25);
  background:
    radial-gradient(circle at 12% 9%, rgba(209, 181, 232, .43) 0, transparent 36rem),
    radial-gradient(circle at 88% 14%, rgba(137, 205, 211, .38) 0, transparent 34rem),
    radial-gradient(circle at 52% 108%, rgba(226, 177, 195, .19) 0, transparent 42rem),
    linear-gradient(145deg, #51486f 0%, #40566f 52%, #4d7380 100%) !important;
  background-attachment: fixed !important;
}

html[data-alice-theme="night"] body.is-settings-view .premium-progress.premium-primary-nav,
html[data-alice-theme="night"] body.is-learning-record-view .premium-progress.premium-primary-nav {
  border-color: rgba(255, 250, 240, .30) !important;
  background: rgba(56, 63, 96, .78) !important;
  box-shadow: 0 12px 30px rgba(31, 28, 57, .20) !important;
}

html[data-alice-theme="night"] body.is-settings-view .premium-progress .premium-tab:not(.is-current):not([aria-selected="true"]),
html[data-alice-theme="night"] body.is-learning-record-view .premium-progress .premium-tab:not(.is-current):not([aria-selected="true"]) {
  border-color: rgba(255, 250, 240, .20) !important;
  background: rgba(255, 255, 255, .09) !important;
}

html[data-alice-theme="night"] body.is-settings-view #settingsScreen {
  border-color: rgba(255, 250, 240, .30);
  background: linear-gradient(145deg, rgba(75, 76, 116, .88), rgba(59, 91, 108, .86));
  box-shadow: 0 22px 52px rgba(31, 28, 57, .24);
}

html[data-alice-theme="night"] body.is-settings-view #settingsScreen .daily-call-static-setting,
html[data-alice-theme="night"] body.is-settings-view #settingsScreen .daily-call-test-actions {
  border-color: rgba(255, 250, 240, .22);
  background: rgba(255, 255, 255, .09);
}

html[data-alice-theme="night"] body.is-settings-view .premium-menu-return,
html[data-alice-theme="night"] body.is-learning-record-view .premium-menu-return {
  border-color: rgba(255, 250, 240, .38);
  background: rgba(65, 72, 106, .76);
  box-shadow: 0 7px 20px rgba(31, 28, 57, .20);
}

html[data-alice-theme="night"] body.is-settings-view .lr3-theme-options,
html[data-alice-theme="night"] body.is-learning-record-view .lr3-theme-options {
  border-color: rgba(255, 250, 240, .34);
  background: rgba(62, 70, 104, .68);
  box-shadow: 0 5px 18px rgba(31, 28, 57, .18);
}

/* 夜色では背景上の文字を明るくし、カードは濃紺が透けない温白色にする。 */
html[data-alice-theme="night"] body.is-learning-record-view {
  color: #fff8f0;
}

/* The transparent record shell inherits night ink for its sync text and controls. */
html[data-alice-theme="night"] body.is-learning-record-view #todayScreen.lr3-world {
  color: inherit;
}

html[data-alice-theme="night"] .lr3-theme-current {
  color: #eadde4;
}

html[data-alice-theme="night"] .lr3-theme-options {
  border-color: rgba(255, 255, 255, .30);
  background: rgba(4, 12, 29, .52);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .22);
}

html[data-alice-theme="night"] .lr3-theme-option {
  color: #f4eaf0;
}

html[data-alice-theme="night"] .lr3-theme-option[data-alice-theme-option="night"].is-active {
  color: #17233d;
  background: #fffaf2;
  box-shadow: 0 2px 9px rgba(255, 248, 235, .20);
}

html[data-alice-theme="night"] .lr3-settings-details {
  border-color: #fff;
  background: #fffdfb;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .18);
}

html[data-alice-theme="night"] .lr3-settings-details summary {
  color: #44343e;
}

html[data-alice-theme="night"] .lr3-settings-details summary small,
html[data-alice-theme="night"] .lr3-settings-details-body p {
  color: #75636d;
}

html[data-alice-theme="night"] .lr3-header > div p {
  color: #f2c86f;
}

html[data-alice-theme="night"] .lr3-header h1 {
  color: #fffaf4;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .30);
}

html[data-alice-theme="night"] .lr3-back,
html[data-alice-theme="night"] .lr3-header-spacer {
  color: #f5eaf0;
}

html[data-alice-theme="night"] .lr3-back:hover,
html[data-alice-theme="night"] .lr3-back:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .13);
  outline-color: rgba(255, 255, 255, .34);
}

html[data-alice-theme="night"] .lr3-today-card,
html[data-alice-theme="night"] .lr3-share-open,
html[data-alice-theme="night"] .lr3-stats article,
html[data-alice-theme="night"] .lr3-timeline-card {
  border-color: #fff;
  background: #fffdfb;
  box-shadow: 0 7px 25px rgba(0, 0, 0, .24);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-alice-theme="night"] .lr3-card-head h2,
html[data-alice-theme="night"] .lr3-more,
html[data-alice-theme="night"] .lr3-stats article > strong,
html[data-alice-theme="night"] .lr3-share-open > b {
  color: #a94770;
}

html[data-alice-theme="night"] .lr3-card-head h2 span,
html[data-alice-theme="night"] .lr3-details dt span,
html[data-alice-theme="night"] .lr3-stats i {
  color: #9b6a18;
}

html[data-alice-theme="night"] .lr3-metric strong,
html[data-alice-theme="night"] .lr3-details dd,
html[data-alice-theme="night"] .lr3-share-open,
html[data-alice-theme="night"] .lr3-timeline-card > span strong {
  color: #44343e;
}

html[data-alice-theme="night"] .lr3-card-head time,
html[data-alice-theme="night"] .lr3-no-record,
html[data-alice-theme="night"] .lr3-metric span,
html[data-alice-theme="night"] .lr3-details dl > div,
html[data-alice-theme="night"] .lr3-share-open span:nth-child(2) small,
html[data-alice-theme="night"] .lr3-stats article > span,
html[data-alice-theme="night"] .lr3-timeline-card > span small {
  color: #75636d;
}

html[data-alice-theme="night"] .lr3-metric.is-empty strong {
  color: #92818a;
}

html[data-alice-theme="night"] .lr3-details {
  border-top-color: rgba(169, 71, 112, .22);
}

html[data-alice-theme="night"] .lr3-expression-list span {
  color: #863d5d;
  border-color: rgba(169, 71, 112, .25);
  background: #f9edf2;
}

html[data-alice-theme="night"] .lr3-more:hover,
html[data-alice-theme="night"] .lr3-more:focus-visible {
  background: #f9edf2;
}

html[data-alice-theme="night"] .lr3-share-open:hover,
html[data-alice-theme="night"] .lr3-share-open:focus-visible {
  border-color: #e7b9cb;
  background: #fff9fb;
  box-shadow: 0 9px 28px rgba(0, 0, 0, .28);
}

html[data-alice-theme="night"] .lr3-world .lr3-share-panel .alice-today-letter-card {
  color: #44343e !important;
  border-color: #efd9ad !important;
  background: #fffdf7 !important;
  box-shadow: 0 7px 25px rgba(0, 0, 0, .24) !important;
}

html[data-alice-theme="night"] .lr3-resume {
  color: #44343e;
  border-color: #f0c87f;
  background: linear-gradient(105deg, #ffe8ef 0%, #fff1e8 48%, #fff7db 100%);
  box-shadow: 0 7px 27px rgba(0, 0, 0, .24), 0 0 18px rgba(242, 200, 111, .14);
}

html[data-alice-theme="night"] .lr3-resume-hint,
html[data-alice-theme="night"] .lr3-timeline-empty {
  color: #e5d6de;
}

html[data-alice-theme="night"] .lr3-timeline-section h2 {
  color: #f1d5e1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .30);
}

html[data-alice-theme="night"] .lr3-timeline-section h2 span {
  color: #f2c86f;
}

html[data-alice-theme="night"] .lr3-timeline {
  border-left-color: rgba(238, 159, 190, .62);
}

html[data-alice-theme="night"] .lr3-timeline-dot {
  border-color: #e38caf;
  background: #fffdfb;
}

html[data-alice-theme="night"] .lr3-timeline-dot.is-today {
  background: #e38caf;
  box-shadow: 0 0 0 4px rgba(227, 140, 175, .25);
}

html[data-alice-theme="night"] .lr3-timeline-item > time {
  color: #f5e8ee;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .34);
}

@keyframes lr3-fade-slide {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes lr3-slide-up {
  from { opacity: .6; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes lr3-pop {
  from { opacity: 0; transform: scale(.94); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 520px) {
  .lr3-page {
    width: 100%;
    padding: max(18px, env(safe-area-inset-top)) 16px max(52px, env(safe-area-inset-bottom));
  }

  .lr3-header {
    padding-right: 0;
    padding-left: 0;
  }

  .lr3-today-card {
    padding: 18px 14px;
  }

  .lr3-metric {
    padding-right: 5px;
    padding-left: 5px;
  }

  .lr3-metric strong {
    font-size: clamp(21px, 7.2vw, 29px);
  }

  .lr3-resume {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lr3-world *,
  .lr3-world *::before,
  .lr3-world *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

.lr3-achievement {
  margin: 18px 0 20px;
  padding: 20px;
  border: 2px solid #b9d8f2;
  border-radius: 20px;
  background: linear-gradient(135deg, #f3f9ff 0%, #fffaf0 100%);
  color: #243a59;
}

.lr3-achievement-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lr3-achievement-head > span {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 50%;
  background: #244f84;
  color: #fff;
  font: 800 23px/1 Georgia, serif;
}

.lr3-achievement-head small {
  display: block;
  margin-bottom: 2px;
  color: #47678f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}

.lr3-achievement-head h3 {
  margin: 0;
  color: #18375f;
  font-size: clamp(21px, 2.2vw, 27px);
}

.lr3-achievement-main {
  margin-top: 15px;
  padding: 16px 18px;
  border-radius: 15px;
  background: #fff;
  color: #273d59;
}

.lr3-achievement-main strong {
  display: block;
  color: #9a4f2c;
  font-size: clamp(18px, 1.8vw, 22px);
}

.lr3-achievement-main p,
.lr3-achievement-review p {
  margin: 7px 0 0;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.75;
}

.lr3-achievement-states {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin: 14px 0 0;
}

.lr3-achievement-states > div {
  padding: 11px 7px;
  border: 1px solid #c9d9e8;
  border-radius: 13px;
  background: rgba(255, 255, 255, .82);
  text-align: center;
}

.lr3-achievement-states dt {
  color: #405b7b;
  font-size: 13px;
  font-weight: 750;
}

.lr3-achievement-states dd {
  margin: 3px 0 0;
  color: #153d6d;
  font-size: 22px;
  font-weight: 850;
}

.lr3-achievement-review {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #bfd1e3;
}

.lr3-achievement-review a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 13px;
  background: #244f84;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

html[data-alice-theme="night"] .lr3-achievement {
  border-color: #9fc6df;
  background: #fffdfb;
  color: #263c58;
}

html[data-alice-theme="night"] .lr3-achievement-main,
html[data-alice-theme="night"] .lr3-achievement-states > div {
  background: #f7fbff;
}

@media (max-width: 700px) {
  .lr3-achievement {
    padding: 17px 14px;
  }

  .lr3-achievement-states {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lr3-achievement-review {
    align-items: stretch;
    flex-direction: column;
  }

  .lr3-achievement-review a {
    width: 100%;
  }
}


/* Final audit: readable small text and consistent touch/focus targets. */
.lr3-theme-option {
  font-size: 13px;
}

.lr3-world :where(a, button, summary):focus-visible,
.premium-primary-nav .premium-tab:focus-visible {
  outline: 3px solid #315d9f;
  outline-offset: 3px;
}

html[data-alice-theme="night"] .lr3-world :where(a, button, summary):focus-visible,
html[data-alice-theme="night"] .premium-primary-nav .premium-tab:focus-visible {
  outline-color: #ffd78c;
}

@media (max-width: 700px) {
  .premium-primary-nav .premium-tab {
    min-height: 44px;
    font-size: 14px;
  }

  .premium-menu-return {
    min-height: 44px;
    font-size: 14px;
  }
}


/* 20260919: actual activity and measured minutes across every menu. */
.lr3-study-total{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px 18px;margin:18px 0 8px;color:var(--lr3-ink,#563246)}
.lr3-study-total>strong{font-size:38px;font-weight:800;line-height:1.2}
.lr3-study-total>small{margin-left:auto;font-size:14px}
.lr3-study-note{font-size:13px;line-height:1.7;color:inherit;opacity:.85;margin:12px 0}
.lr3-study-list{list-style:none!important;margin:0!important;padding:0!important;display:grid;gap:12px}
.lr3-study-kind{border:1px solid rgba(133,98,100,.24);border-radius:16px;padding:16px;background:rgba(255,255,255,.24)}
.lr3-study-kind-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.lr3-study-kind-head h3{margin:0;font-size:17px;font-weight:700;line-height:1.5}
.lr3-study-kind-head>strong{white-space:nowrap;font-size:18px}
.lr3-study-detail{display:grid;gap:5px;margin-top:12px;padding:12px;border-radius:10px;color:inherit;text-decoration:none;background:rgba(255,255,255,.38);line-height:1.6}
.lr3-study-detail:hover,.lr3-study-detail:focus-visible{outline:2px solid #ac6b87;outline-offset:2px}
.lr3-study-detail>strong{font-size:15px}.lr3-study-detail>span{font-size:15px}.lr3-study-detail>small{font-size:13px}
.lr3-study-empty,.lr3-study-legacy{font-size:14px;line-height:1.7;margin:8px 0 0}
.lr3-study-empty{opacity:.75}.lr3-study-day-time{font-weight:700}
.lr3-save-warning{padding:12px;border:1px solid #b9733c;border-radius:10px;font-size:14px;line-height:1.6;background:#fff0d8;color:#6a360a}
html[data-alice-theme="night"] .lr3-study-kind{border-color:rgba(255,223,157,.35);background:rgba(17,29,52,.5);color:#fff1d6}
html[data-alice-theme="night"] .lr3-study-detail{background:rgba(255,255,255,.07);color:#f4eee4}
html[data-alice-theme="night"] .lr3-study-total{color:#fff1d6}
@media(max-width:540px){.lr3-study-kind{padding:13px}.lr3-study-kind-head h3{font-size:16px}.lr3-study-total>small{width:100%;margin-left:0}.lr3-study-total>strong{font-size:34px}}
/* Keep the record tab focused on the learner's activity. */
#todayScreen .oretan-plan-card{display:none!important}


/* The record's night view follows the English menu's deep navy backdrop.
   Keep the learning surfaces opaque so text and activity rows stay crisp. */
html[data-alice-theme="night"] body.is-learning-record-view {
  background:
    radial-gradient(circle at 82% 16%, rgba(241, 195, 106, .10), transparent 24%),
    linear-gradient(180deg, #101a35 0%, #0b142b 100%) !important;
  background-attachment: fixed !important;
}

html[data-alice-theme="night"] body.is-learning-record-view .premium-progress.premium-primary-nav {
  border-color: rgba(233, 225, 210, .18) !important;
  background: rgba(16, 26, 53, .88) !important;
  box-shadow: 0 14px 38px rgba(3, 8, 22, .24) !important;
}

html[data-alice-theme="night"] body.is-learning-record-view .premium-progress .premium-tab:not(.is-current):not([aria-selected="true"]) {
  border-color: rgba(233, 225, 210, .20) !important;
  background: #1b2a4d !important;
}

html[data-alice-theme="night"] body.is-learning-record-view .premium-menu-return,
html[data-alice-theme="night"] body.is-learning-record-view .lr3-theme-options {
  border-color: rgba(233, 225, 210, .25);
  background: #1b2a4d;
  box-shadow: 0 7px 20px rgba(3, 8, 22, .20);
}

html[data-alice-theme="night"] body.is-learning-record-view .lr3-today-card,
html[data-alice-theme="night"] body.is-learning-record-view .lr3-timeline-card {
  --lr3-ink: #182a52;
  color: #182a52;
  border-color: #eee5d7;
  background: #fffaf0;
}

html[data-alice-theme="night"] body.is-learning-record-view .lr3-card-head h2,
html[data-alice-theme="night"] body.is-learning-record-view .lr3-timeline-card .lr3-study-day-time {
  color: #182a52;
}

html[data-alice-theme="night"] body.is-learning-record-view .lr3-study-total,
html[data-alice-theme="night"] body.is-learning-record-view .lr3-study-total > strong {
  color: #182a52;
}

html[data-alice-theme="night"] body.is-learning-record-view .lr3-study-total > small,
html[data-alice-theme="night"] body.is-learning-record-view .lr3-study-note {
  color: #465873;
  opacity: 1;
}

html[data-alice-theme="night"] body.is-learning-record-view .lr3-study-kind {
  border: 1px solid #c9d9eb;
  background: #eaf2fc;
  color: #182a52;
}

html[data-alice-theme="night"] body.is-learning-record-view .lr3-study-detail {
  border: 1px solid #d6e1ed;
  background: #fffefd;
  color: #182a52;
}

html[data-alice-theme="night"] body.is-learning-record-view .lr3-study-detail > span,
html[data-alice-theme="night"] body.is-learning-record-view .lr3-study-detail > small {
  color: #465873;
}

html[data-alice-theme="night"] body.is-learning-record-view .lr3-study-detail:hover,
html[data-alice-theme="night"] body.is-learning-record-view .lr3-study-detail:focus-visible {
  outline-color: #294a7a;
}
