/* Final Android-only theme contrast layer. Loaded after every page stylesheet. */
body.lp-native-android.lp-theme-night{
  --lp-night-readable-light:#f7fbff;
  --lp-night-readable-soft:#d9e7eb;
  --lp-night-readable-ink:#073744;
  --lp-night-readable-muted:#506973;
  --lp-night-readable-panel:#fffaf1;
  --lp-night-readable-panel-2:#fff3df;
  --lp-night-readable-card:#102631;
  --lp-night-readable-card-2:#132f3c;
  --lp-night-readable-border:rgba(7,55,68,.18);
  --lp-night-readable-dark-border:rgba(217,235,239,.24);
}

body.lp-native-android.lp-theme-night,
body.lp-native-android.lp-theme-night .site{
  background:#061117 !important;
  color:var(--lp-night-readable-light) !important;
}

body.lp-native-android.lp-theme-night main{
  background:#061117 !important;
}

body.lp-native-android.lp-theme-night main :is(h1,h2,h3,h4,h5,h6,.section-title,.hero-title,.serif,strong,b,label){
  color:var(--lp-night-readable-light) !important;
}

body.lp-native-android.lp-theme-night main :is(p,li,small,span,.intro,.muted,.section-intro,.section-text,.hero-copy){
  color:var(--lp-night-readable-soft) !important;
}

body.lp-native-android.lp-theme-night .lp-mobile-header .menu.show{
  background:#fffaf1 !important;
  color:var(--lp-night-readable-ink) !important;
}

body.lp-native-android.lp-theme-night .lp-mobile-header .menu.show :is(a,button,.menu-trigger,.menu-icon,svg,path,span):not(.menu-profile-avatar):not(.menu-profile-initial){
  color:var(--lp-night-readable-ink) !important;
  stroke:currentColor !important;
}

body.lp-native-android.lp-theme-night .lp-mobile-header .menu.show > :is(.menu-start,.menu-login,.menu-profile),
body.lp-native-android.lp-theme-night .lp-mobile-header .menu.show > :is(.menu-start,.menu-login,.menu-profile) :is(span,.menu-icon,svg,path){
  color:#fff !important;
  stroke:currentColor !important;
}

body.lp-native-android.lp-theme-night :is(
  .testimonials,
  .lp-feedback-shell,
  .lp-feedback-intro,
  .lp-feedback-form,
  .lp-feedback-check,
  .lp-feedback-rating label,
  .music-list,
  .music-player-panel,
  .music-track,
  .music-version-panel,
  .music-version-button,
  .music-access-note,
  .lyrics-panel,
  .lyrics-heading,
  .lyric-line,
  .resource-block,
  .resource-head,
  .note,
  .book-cover-card,
  .sample-card,
  .plan-card,
  .roadmap-card,
  .lp-membership-card,
  .smart-review-panel-section,
  .smart-review-face,
  .smart-review-answer,
  .smart-review-empty,
  .smart-review-file,
  .verb-panel,
  .verb-list,
  .verb-detail,
  .faq-item,
  .faq-card,
  .legal-card,
  .account-card,
  .resource-card,
  .resource-feature
){
  background:var(--lp-night-readable-panel) !important;
  border-color:var(--lp-night-readable-border) !important;
  color:var(--lp-night-readable-ink) !important;
}

body.lp-native-android.lp-theme-night :is(.music-track.is-active,.music-track:hover,.music-version-button.is-active,.music-version-button:hover){
  background:var(--lp-night-readable-panel-2) !important;
  border-color:#ff7442 !important;
}

body.lp-native-android.lp-theme-night :is(
  .testimonials,
  .lp-feedback-shell,
  .lp-feedback-intro,
  .lp-feedback-form,
  .lp-feedback-check,
  .lp-feedback-rating label,
  .music-list,
  .music-player-panel,
  .music-track,
  .music-version-panel,
  .music-version-button,
  .music-access-note,
  .lyrics-panel,
  .lyrics-heading,
  .lyric-line,
  .resource-block,
  .resource-head,
  .note,
  .book-cover-card,
  .sample-card,
  .plan-card,
  .roadmap-card,
  .lp-membership-card,
  .smart-review-panel-section,
  .smart-review-face,
  .smart-review-answer,
  .smart-review-empty,
  .smart-review-file,
  .verb-panel,
  .verb-list,
  .verb-detail,
  .faq-item,
  .faq-card,
  .legal-card,
  .account-card,
  .resource-card,
  .resource-feature
) :is(h1,h2,h3,h4,h5,h6,.section-title,.hero-title,.serif,strong,b,label,.review-person-name,.music-list-heading,.music-player-copy,.lyrics-heading,.resource-title,.lp-feedback-label,.lp-feedback-field label){
  color:var(--lp-night-readable-ink) !important;
}

body.lp-native-android.lp-theme-night :is(
  .testimonials,
  .lp-feedback-shell,
  .lp-feedback-intro,
  .lp-feedback-form,
  .lp-feedback-check,
  .lp-feedback-rating label,
  .music-list,
  .music-player-panel,
  .music-track,
  .music-version-panel,
  .music-version-button,
  .music-access-note,
  .lyrics-panel,
  .lyrics-heading,
  .lyric-line,
  .resource-block,
  .resource-head,
  .note,
  .book-cover-card,
  .sample-card,
  .plan-card,
  .roadmap-card,
  .lp-membership-card,
  .smart-review-panel-section,
  .smart-review-face,
  .smart-review-answer,
  .smart-review-empty,
  .smart-review-file,
  .verb-panel,
  .verb-list,
  .verb-detail,
  .faq-item,
  .faq-card,
  .legal-card,
  .account-card,
  .resource-card,
  .resource-feature
) :is(p,li,small,span,.intro,.muted,.section-intro,.section-text,.hero-copy,.review-source,.music-track small,.music-player-copy p,.music-version-copy span,.lyric-line span,.resource-title p,.lp-feedback-intro p,.lp-feedback-note){
  color:var(--lp-night-readable-muted) !important;
}

body.lp-native-android.lp-theme-night :is(.testimonials,.music-list,.music-player-panel,.resource-block,.lp-feedback-shell,.lyrics-panel) .eyebrow,
body.lp-native-android.lp-theme-night :is(.testimonials,.music-list,.music-player-panel,.resource-block,.lp-feedback-shell,.lyrics-panel) .lp-feedback-eyebrow{
  color:#ff7442 !important;
}

body.lp-native-android.lp-theme-night :is(.review-card,.method-card,.level-card,.unit-card,.smart-review-card,.smart-review-hero-card,.lesson-shell,.lesson-card,.overall){
  background:linear-gradient(145deg,var(--lp-night-readable-card),var(--lp-night-readable-card-2)) !important;
  border-color:var(--lp-night-readable-dark-border) !important;
  color:var(--lp-night-readable-light) !important;
}

body.lp-native-android.lp-theme-night :is(.review-card,.method-card,.level-card,.unit-card,.smart-review-card,.smart-review-hero-card,.lesson-shell,.lesson-card,.overall) :is(h1,h2,h3,h4,h5,h6,.section-title,.hero-title,.serif,strong,b,label,.review-person-name){
  color:var(--lp-night-readable-light) !important;
}

body.lp-native-android.lp-theme-night :is(.review-card,.method-card,.level-card,.unit-card,.smart-review-card,.smart-review-hero-card,.lesson-shell,.lesson-card,.overall) :is(p,li,small,span,.muted,.review-source){
  color:var(--lp-night-readable-soft) !important;
}

body.lp-native-android.lp-theme-night input,
body.lp-native-android.lp-theme-night textarea,
body.lp-native-android.lp-theme-night select{
  background:#fff !important;
  color:var(--lp-night-readable-ink) !important;
  border-color:rgba(7,55,68,.26) !important;
}

body.lp-native-android.lp-theme-night input::placeholder,
body.lp-native-android.lp-theme-night textarea::placeholder{
  color:#6d8289 !important;
}

body.lp-native-android.lp-theme-night :is(.btn,.button,.wp-element-button,.lp-feedback-submit,.music-download-btn):not(.is-locked){
  background:#ff7442 !important;
  color:#fff !important;
  border-color:#ff7442 !important;
}

body.lp-native-android.lp-theme-night :is(.btn,.button,.wp-element-button,.music-download-btn).is-locked,
body.lp-native-android.lp-theme-night :is(.btn-outline,.btn-secondary){
  background:#fffaf1 !important;
  color:var(--lp-night-readable-ink) !important;
  border-color:rgba(7,55,68,.22) !important;
}

body.lp-native-android.lp-theme-night .reviews-arrow{
  background:#102631 !important;
  color:#fff !important;
  border-color:rgba(217,235,239,.28) !important;
}

body.lp-native-android.lp-theme-night .reviews-dots button{
  background:#c9d7da !important;
}

body.lp-native-android.lp-theme-night .reviews-dots button.is-active{
  background:#ff7442 !important;
}

body.lp-native-android.lp-theme-night .lp-site-footer,
body.lp-native-android.lp-theme-night .lp-site-footer :is(h1,h2,h3,h4,h5,h6,strong,b,a,p,span,small){
  color:#f7fbff !important;
}

body.lp-native-android.lp-theme-night .lp-site-footer{
  background:#061117 !important;
}

@media(max-width:760px){
  body.lp-native-android.lp-theme-night .testimonials .section-title,
  body.lp-native-android.lp-theme-night .lp-feedback-intro h2,
  body.lp-native-android.lp-theme-night .music-list-heading h2,
  body.lp-native-android.lp-theme-night .lyrics-heading h3,
  body.lp-native-android.lp-theme-night .resource-title h2{
    color:var(--lp-night-readable-ink) !important;
  }
}

/* Android APK refinements: broader contrast coverage and mobile button spacing. */
body.lp-native-android #book .book-right > .btn{
  display:flex !important;
  width:100% !important;
  margin:0 0 12px !important;
}

body.lp-native-android #book .book-right > .btn + .btn{
  margin-top:4px !important;
}

body.lp-native-android #book .book-right .price{
  display:block !important;
  margin-top:14px !important;
}

body.lp-native-android.lp-theme-night :is(
  #book,
  #book .book,
  #book .book-right,
  #contact,
  #contact .sample,
  #lessons,
  #lessons .split,
  #lessons .teacher-box,
  .section-tight-top,
  .section-tight-bottom,
  .reset-panel,
  .account-box,
  .sync-note,
  .smart-review-toolbar,
  .smart-review-access-note,
  .lp-verbs-hero,
  .lp-verbs-tool,
  .lp-verbs-panel,
  .lp-verbs-output,
  .lp-verbs-output-head,
  .lp-verbs-tense-card,
  .lp-verbs-tense-card-head,
  .lp-verbs-note,
  .lp-verbs-empty
){
  background:var(--lp-night-readable-panel) !important;
  border-color:var(--lp-night-readable-border) !important;
  color:var(--lp-night-readable-ink) !important;
}

body.lp-native-android.lp-theme-night :is(
  #book,
  #book .book,
  #book .book-right,
  #contact,
  #contact .sample,
  #lessons,
  #lessons .split,
  .reset-panel,
  .account-box,
  .sync-note,
  .smart-review-toolbar,
  .smart-review-access-note,
  .lp-verbs-hero,
  .lp-verbs-tool,
  .lp-verbs-panel,
  .lp-verbs-output,
  .lp-verbs-output-head,
  .lp-verbs-tense-card,
  .lp-verbs-tense-card-head
) :is(h1,h2,h3,h4,h5,h6,.section-title,.serif,strong,b,label,.lp-verbs-label,.lp-verbs-eyebrow){
  color:var(--lp-night-readable-ink) !important;
}

body.lp-native-android.lp-theme-night :is(
  #book,
  #book .book,
  #book .book-right,
  #contact,
  #contact .sample,
  #lessons,
  #lessons .split,
  .reset-panel,
  .account-box,
  .sync-note,
  .smart-review-toolbar,
  .smart-review-access-note,
  .lp-verbs-hero,
  .lp-verbs-tool,
  .lp-verbs-panel,
  .lp-verbs-output,
  .lp-verbs-output-head,
  .lp-verbs-tense-card,
  .lp-verbs-tense-card-head
) :is(p,li,small,span,.section-text,.muted,.lp-verbs-note,.lp-verbs-empty){
  color:var(--lp-night-readable-muted) !important;
}

body.lp-native-android.lp-theme-night :is(#book,#contact,#lessons,.lp-verbs-hero,.lp-verbs-output) :is(.label,.eyebrow,.lp-verbs-eyebrow){
  color:#ff7442 !important;
}

body.lp-native-android.lp-theme-night .smart-review-summary{
  background:linear-gradient(145deg,var(--lp-night-readable-card),var(--lp-night-readable-card-2)) !important;
  border:1px solid var(--lp-night-readable-dark-border) !important;
  color:var(--lp-night-readable-light) !important;
}

body.lp-native-android.lp-theme-night .smart-review-summary strong{
  color:#ffd166 !important;
}

body.lp-native-android.lp-theme-night .smart-review-summary :is(span,small){
  color:var(--lp-night-readable-soft) !important;
}

body.lp-native-android.lp-theme-night .lp-verbs-list button,
body.lp-native-android.lp-theme-night .lp-verbs-tense-button,
body.lp-native-android.lp-theme-night .lp-verbs-badge,
body.lp-native-android.lp-theme-night .lp-verbs-chip,
body.lp-native-android.lp-theme-night .lp-verbs-level{
  background:#f7f2ea !important;
  color:var(--lp-night-readable-ink) !important;
}

body.lp-native-android.lp-theme-night .lp-verbs-list button :is(strong,span),
body.lp-native-android.lp-theme-night .lp-verbs-tense-button :is(strong,span),
body.lp-native-android.lp-theme-night .lp-verbs-badge,
body.lp-native-android.lp-theme-night .lp-verbs-chip{
  color:var(--lp-night-readable-ink) !important;
}

body.lp-native-android.lp-theme-night .lp-verbs-list button:hover,
body.lp-native-android.lp-theme-night .lp-verbs-list button.is-active,
body.lp-native-android.lp-theme-night .lp-verbs-tense-button:hover,
body.lp-native-android.lp-theme-night .lp-verbs-tense-button.is-active{
  background:var(--lp-night-readable-card) !important;
  color:var(--lp-night-readable-light) !important;
}

body.lp-native-android.lp-theme-night .lp-verbs-list button:hover :is(strong,span),
body.lp-native-android.lp-theme-night .lp-verbs-list button.is-active :is(strong,span),
body.lp-native-android.lp-theme-night .lp-verbs-tense-button:hover,
body.lp-native-android.lp-theme-night .lp-verbs-tense-button.is-active{
  color:var(--lp-night-readable-light) !important;
}

body.lp-native-android.lp-theme-night .lp-verbs-table th{
  color:var(--lp-night-readable-muted) !important;
}

body.lp-native-android.lp-theme-night .lp-verbs-table td{
  color:var(--lp-night-readable-ink) !important;
}

body.lp-native-android.lp-theme-night :is(.lesson-body,.lesson-bottom){
  background:var(--lp-night-readable-card) !important;
  color:var(--lp-night-readable-light) !important;
}

body.lp-native-android.lp-theme-night .lesson-body :is(.question-title,h1,h2,h3,h4,h5,h6,strong,b,label){
  color:var(--lp-night-readable-light) !important;
}

body.lp-native-android.lp-theme-night .lesson-body :is(.eyebrow,.question-sub,.note){
  color:var(--lp-night-readable-soft) !important;
}

body.lp-native-android.lp-theme-night .prompt{
  background:var(--lp-night-readable-panel) !important;
  color:var(--lp-night-readable-ink) !important;
  border-color:var(--lp-night-readable-border) !important;
}

body.lp-native-android.lp-theme-night .prompt *{
  color:var(--lp-night-readable-ink) !important;
}

body.lp-native-android.lp-theme-night :is(.answer,.match-card,.word-tile,.typing){
  background:#fff !important;
  color:var(--lp-night-readable-ink) !important;
  border-color:rgba(7,55,68,.22) !important;
}

body.lp-native-android.lp-theme-night .reset-panel .btn{
  color:#fff !important;
}

body.lp-native-android.lp-theme-night .levels-grid .card,
body.lp-native-android.lp-theme-night .units-grid .card{
  user-select:none;
  -webkit-user-select:none;
}

body.lp-native-android.lp-theme-night .levels-grid .card :is(h2,h3,p,span,strong),
body.lp-native-android.lp-theme-night .units-grid .card :is(h2,h3,p,span,strong){
  user-select:none;
  -webkit-user-select:none;
}

/* Android APK dark theme pass 3: force readable cards, lessons, review buttons, and FAQ. */
body.lp-native-android.lp-page-lessons.lp-theme-night .levels-grid .card::before,
body.lp-native-android.lp-page-lessons.lp-theme-night .levels-grid .card::after,
body.lp-native-android.lp-page-lessons.lp-theme-night .units-grid .card::before,
body.lp-native-android.lp-page-lessons.lp-theme-night .units-grid .card::after{
  display:none !important;
  content:none !important;
  background:none !important;
  box-shadow:none !important;
}

body.lp-native-android.lp-page-lessons.lp-theme-night .levels-grid .card,
body.lp-native-android.lp-page-lessons.lp-theme-night .units-grid .card{
  background:linear-gradient(145deg,#112b36 0%,#153541 100%) !important;
  border-color:rgba(217,235,239,.34) !important;
  color:#f7fbff !important;
}

body.lp-native-android.lp-page-lessons.lp-theme-night .levels-grid .card :is(h2,h3,p,span,strong),
body.lp-native-android.lp-page-lessons.lp-theme-night .units-grid .card :is(h2,h3,p,span,strong){
  background:transparent !important;
  box-shadow:none !important;
}

body.lp-native-android.lp-page-lessons.lp-theme-night .levels-grid .level-big,
body.lp-native-android.lp-page-lessons.lp-theme-night .units-grid .unit-icon{
  background:transparent !important;
  box-shadow:none !important;
  color:#ffd166 !important;
}

body.lp-native-android.lp-page-lessons.lp-theme-night .units-grid .unit-status{
  color:#ffd166 !important;
}

body.lp-native-android.lp-theme-night .lesson-shell,
body.lp-native-android.lp-theme-night .lesson-body,
body.lp-native-android.lp-theme-night .lesson-bottom{
  background:#102631 !important;
  border-color:rgba(217,235,239,.28) !important;
  color:#f7fbff !important;
}

body.lp-native-android.lp-theme-night .lesson-shell :is(.eyebrow,.question-title,.question-sub,.note),
body.lp-native-android.lp-theme-night .lesson-shell :is(h1,h2,h3,h4,h5,h6,strong,b,label){
  color:#f7fbff !important;
}

body.lp-native-android.lp-theme-night .lesson-shell :is(.eyebrow){
  color:#ffd166 !important;
}

body.lp-native-android.lp-theme-night .lesson-shell :is(.prompt,.flashcard-card,.answer,.match-card,.word-tile,.typing,.built-sentence,.word-bank){
  background:#fffaf1 !important;
  border-color:rgba(7,55,68,.18) !important;
  color:#073744 !important;
}

body.lp-native-android.lp-theme-night .flashcard-card :is(.flashcard-term,h1,h2,h3,strong,b),
body.lp-native-android.lp-theme-night .prompt :is(.flashcard-term,h1,h2,h3,strong,b){
  color:#073744 !important;
}

body.lp-native-android.lp-theme-night .flashcard-card .flashcard-label,
body.lp-native-android.lp-theme-night .prompt .flashcard-label{
  color:#e65324 !important;
}

body.lp-native-android.lp-theme-night .flashcard-card :is(.flashcard-meaning,.flashcard-example,p,span),
body.lp-native-android.lp-theme-night .prompt :is(.flashcard-meaning,.flashcard-example,p,span){
  color:#42636c !important;
}

body.lp-native-android.lp-theme-night .lesson-shell :is(.flashcard-card,.prompt,.answer,.match-card,.word-tile):not(input):not(textarea){
  user-select:none;
  -webkit-user-select:none;
}

body.lp-native-android.lp-theme-night .smart-review-card{
  background:#102631 !important;
  border-color:rgba(217,235,239,.28) !important;
  color:#f7fbff !important;
}

body.lp-native-android.lp-theme-night .smart-review-card-top,
body.lp-native-android.lp-theme-night .smart-review-card-top :is(span,small),
body.lp-native-android.lp-theme-night .smart-review-prompt-label{
  color:#f7fbff !important;
}

body.lp-native-android.lp-theme-night .smart-review-face,
body.lp-native-android.lp-theme-night .smart-review-answer{
  background:#fffaf1 !important;
  border-color:rgba(7,55,68,.18) !important;
  color:#073744 !important;
}

body.lp-native-android.lp-theme-night .smart-review-face :is(h3,strong,b),
body.lp-native-android.lp-theme-night .smart-review-answer :is(strong,b){
  color:#073744 !important;
}

body.lp-native-android.lp-theme-night .smart-review-answer :is(p,span,small){
  color:#42636c !important;
}

body.lp-native-android.lp-theme-night .smart-review-grades button{
  color:#073744 !important;
  border:1px solid rgba(7,55,68,.16) !important;
  box-shadow:none !important;
}

body.lp-native-android.lp-theme-night .smart-review-grades button:nth-child(1){
  background:#ffe9e4 !important;
  color:#8f2a1b !important;
}

body.lp-native-android.lp-theme-night .smart-review-grades button:nth-child(2){
  background:#e5f7fb !important;
  color:#0f6378 !important;
}

body.lp-native-android.lp-theme-night .smart-review-grades button:nth-child(3){
  background:#e5fbf2 !important;
  color:#11684e !important;
}

body.lp-native-android.lp-theme-night .faq-section,
body.lp-native-android.lp-theme-night .faq-list{
  background:#061117 !important;
  color:#f7fbff !important;
}

body.lp-native-android.lp-theme-night .faq-list details,
body.lp-native-android.lp-theme-night details.faq-item{
  background:#fffaf1 !important;
  border-color:rgba(7,55,68,.18) !important;
  color:#073744 !important;
}

body.lp-native-android.lp-theme-night .faq-list details summary,
body.lp-native-android.lp-theme-night details.faq-item summary{
  color:#073744 !important;
}

body.lp-native-android.lp-theme-night .faq-list details p,
body.lp-native-android.lp-theme-night details.faq-item p{
  color:#42636c !important;
}

body.lp-native-android.lp-theme-night .faq-list details summary::after,
body.lp-native-android.lp-theme-night details.faq-item summary::after{
  color:#ff7442 !important;
}

/* Android APK dark theme pass 4: generic app-card band removal and legal notice contrast. */
body.lp-native-android.lp-theme-night .levels-grid .card::before,
body.lp-native-android.lp-theme-night .levels-grid .card::after,
body.lp-native-android.lp-theme-night .units-grid .card::before,
body.lp-native-android.lp-theme-night .units-grid .card::after{
  display:none !important;
  content:none !important;
  width:0 !important;
  height:0 !important;
  opacity:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

body.lp-native-android.lp-theme-night .levels-grid .level-big,
body.lp-native-android.lp-theme-night .units-grid .level-big,
body.lp-native-android.lp-theme-night .levels-grid .unit-icon,
body.lp-native-android.lp-theme-night .units-grid .unit-icon,
body.lp-native-android.lp-theme-night .levels-grid .unit-status,
body.lp-native-android.lp-theme-night .units-grid .unit-status{
  background:transparent !important;
  box-shadow:none !important;
}

/* Night theme — make Free/Premium labels clearly readable. */
body.lp-native-android.lp-page-lessons.lp-theme-night
:is(.levels-grid,.units-grid) .card > .unit-access-badge{
  background:rgba(255,255,255,.16) !important;
  color:#f7fbff !important;
  border:1px solid rgba(255,255,255,.24) !important;
  box-shadow:none !important;
  text-shadow:0 1px 2px rgba(0,0,0,.35) !important;
}

/* Night theme — make the Free/Premium text in the card footer readable too. */
body.lp-native-android.lp-page-lessons.lp-theme-night
:is(.levels-grid,.units-grid) .card-footer,
body.lp-native-android.lp-page-lessons.lp-theme-night
:is(.levels-grid,.units-grid) .card-footer > *{
  color:#f7fbff !important;
}

body.lp-native-android.lp-theme-night .levels-grid .level-big,
body.lp-native-android.lp-theme-night .units-grid .level-big,
body.lp-native-android.lp-theme-night .levels-grid .unit-icon,
body.lp-native-android.lp-theme-night .units-grid .unit-icon{
  color:#ffd166 !important;
}

body.lp-native-android.lp-theme-night .content .notice,
body.lp-native-android.lp-theme-night main .notice{
  background:#fffaf1 !important;
  border-color:rgba(7,55,68,.18) !important;
  color:#073744 !important;
}

body.lp-native-android.lp-theme-night .content .notice :is(p,li,span,small,strong,b),
body.lp-native-android.lp-theme-night main .notice :is(p,li,span,small,strong,b){
  color:#42636c !important;
}

/* Android APK dark theme pass 5: access gate readability and lesson top polish. */
body.lp-native-android.lp-theme-night .access-gate-card{
  background:#fffaf1 !important;
  border-color:rgba(7,55,68,.18) !important;
  color:#073744 !important;
  box-shadow:0 18px 42px rgba(0,0,0,.22) !important;
}

body.lp-native-android.lp-theme-night .access-gate-card :is(h1,h2,h3,strong,b,label){
  color:#073744 !important;
}

body.lp-native-android.lp-theme-night .access-gate-card :is(p,span,small,li){
  color:#42636c !important;
}

body.lp-native-android.lp-theme-night .access-gate-card .eyebrow{
  color:#e65324 !important;
}

body.lp-native-android.lp-theme-night .lesson-shell{
  background:#102631 !important;
}

body.lp-native-android.lp-theme-night .lesson-top{
  background:#102631 !important;
  padding:18px 18px 0 !important;
}

body.lp-native-android.lp-theme-night .lesson-progress{
  height:10px !important;
  background:rgba(217,235,239,.18) !important;
  border-radius:999px !important;
  box-shadow:none !important;
}

body.lp-native-android.lp-theme-night .lesson-progress span{
  background:linear-gradient(90deg,#ff7442,#ffd166,#21a67a) !important;
  border-radius:999px !important;
}

/* Android APK dark theme pass 6: readable exercise result feedback. */
body.lp-native-android.lp-theme-night .feedback{
  border:1px solid rgba(7,55,68,.16) !important;
  box-shadow:none !important;
}

body.lp-native-android.lp-theme-night .feedback.good{
  background:#e9fbf5 !important;
  color:#11684e !important;
}

body.lp-native-android.lp-theme-night .feedback.bad{
  background:#fff0ee !important;
  color:#9d2d22 !important;
}

body.lp-native-android.lp-theme-night .feedback.warning{
  background:#fff3d7 !important;
  color:#7a4d00 !important;
}

body.lp-native-android.lp-theme-night .feedback :is(strong,b,span,small){
  color:inherit !important;
}
/* ==================================================
   ALIGN UNIT CARD TOP ROW ACROSS ALTERNATE THEMES
================================================== */

/* Badge: remove from the card's normal content flow */
body.lp-native-android.lp-page-lessons.lp-theme-ocean
.units-grid .card > .unit-access-badge,
body.lp-native-android.lp-page-lessons.lp-theme-forest
.units-grid .card > .unit-access-badge,
body.lp-native-android.lp-page-lessons.lp-theme-sunset
.units-grid .card > .unit-access-badge,
body.lp-native-android.lp-page-lessons.lp-theme-night
.units-grid .card > .unit-access-badge{
  position:absolute !important;
  top:16px !important;
  left:50% !important;
  right:auto !important;
  bottom:auto !important;
  transform:translateX(-50%) !important;

  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  width:max-content !important;
  margin:0 !important;
  white-space:nowrap !important;
  z-index:20 !important;
}

/* Progress circle: keep it out of the normal content flow */
body.lp-native-android.lp-page-lessons.lp-theme-ocean
.units-grid .card > .unit-status,
body.lp-native-android.lp-page-lessons.lp-theme-forest
.units-grid .card > .unit-status,
body.lp-native-android.lp-page-lessons.lp-theme-sunset
.units-grid .card > .unit-status,
body.lp-native-android.lp-page-lessons.lp-theme-night
.units-grid .card > .unit-status{
  position:absolute !important;
  top:18px !important;
  right:18px !important;
  left:auto !important;
  bottom:auto !important;
  transform:none !important;

  margin:0 !important;
  z-index:21 !important;
}

/* Hand/globe icon: same vertical starting point as the main theme */
body.lp-native-android.lp-page-lessons.lp-theme-ocean
.units-grid .card > .unit-icon,
body.lp-native-android.lp-page-lessons.lp-theme-forest
.units-grid .card > .unit-icon,
body.lp-native-android.lp-page-lessons.lp-theme-sunset
.units-grid .card > .unit-icon{
  position:relative !important;
  top:auto !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  transform:none !important;

  margin-top:0 !important;
  z-index:2 !important;
}
/* =========================================
   SOLID CARD TOPS — OCEAN, FOREST, SUNSET
========================================= */

/* Ocean — azul sólido */
body.lp-native-android.lp-page-lessons.lp-theme-ocean
:is(.levels-grid,.units-grid) .card::before{
  background:#06a6c8 !important;
  opacity:1 !important;
}

/* Forest — verde sólido */
body.lp-native-android.lp-page-lessons.lp-theme-forest
:is(.levels-grid,.units-grid) .card::before{
  background:#5e8f20 !important;
  opacity:1 !important;
}

/* Sunset — laranja/vermelho sólido */
body.lp-native-android.lp-page-lessons.lp-theme-sunset
:is(.levels-grid,.units-grid) .card::before{
  background:#ff4b2f !important;
  opacity:1 !important;
}