
/* Ajustement limité aux boutons Liste / FR / CAT de Aprofundir sur iPhone. */
#complete-screen .apro-inline-tools .apro-mode {box-sizing:border-box!important;min-width:0!important;overflow:hidden!important;gap:2px!important;padding-left:2px!important;padding-right:2px!important;font-size:10px!important;letter-spacing:-.2px!important;}
#complete-screen .apro-inline-tools .apro-flag-cat,
#complete-screen .apro-inline-tools .apro-flag-fr {width:16px!important;height:16px!important;min-width:16px!important;flex:0 0 16px!important;box-sizing:border-box!important;}
#complete-screen .apro-inline-tools .apro-mode .apro-radio {width:14px!important;height:14px!important;min-width:14px!important;flex:0 0 14px!important;box-sizing:border-box!important;box-shadow:0 1px 2px rgba(0,0,0,.1)!important;}
#complete-screen .apro-inline-tools .apro-mode .apro-mode-mark {font-size:10px!important;}


/* Inici: enlarge flame by 40% without altering target icon. */
#inici-screen .inici-stat:first-child .inici-stat-custom-icon{width:67.2px!important;height:67.2px!important;max-width:none!important;flex:none;transform:translateX(-7px);}
#inici-screen .inici-stat:first-child .inici-stat-icon{overflow:visible!important;}
/* Aprofundir: category headings in yellow. */
#complete-screen .category-card strong,#complete-screen .apro-category-heading h2,#complete-screen #category-title{color:#E5AC00!important;}
/* Aprendre: conjugation pronouns remain legible on mobile. */
#course-lesson-screen .course-conjugation td:first-child,#course-lesson-screen .course-conjugation th:first-child{overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;font-size:clamp(11px,2.8vw,13px)!important;}
#course-lesson-screen .course-conjugation th,#course-lesson-screen .course-conjugation td{padding-left:4px!important;padding-right:4px!important;}
/* Vocabulary: Catalan blue bold, French black. */
#course-lesson-screen .course-vocab td:first-child{color:#2c41c8!important;font-weight:750!important;}
#course-lesson-screen .course-vocab td:last-child{color:#141414!important;font-weight:450!important;}
#course-lesson-screen .vocab .word b{color:#2c41c8!important;font-weight:750!important;}
#course-lesson-screen .vocab .word{color:#141414!important;}
/* Quiz icon: white circle with blue play triangle. */
#review-screen .quiz-play-icon,#complete-screen .quiz-play-icon{display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;margin-right:8px;}
#review-screen .quiz-play-icon svg,#complete-screen .quiz-play-icon svg{display:block;}


/* Restore original category title colors; only the Aprofundir hero background changes. */
#complete-screen .category-card strong {color:#2c41c8!important;}
#complete-screen .apro-category-heading h2,#complete-screen #category-title {color:#11144b!important;}
#complete-screen .section-mascot-hero {background:radial-gradient(circle at 91% 7%,#ffedb3 0 23%,transparent 23.4%),radial-gradient(circle at 1% 105%,#fff6d8 0 24%,transparent 24.4%),linear-gradient(125deg,#fff9e7,#ffe9a6)!important;}
#complete-screen .section-mascot-hero:before {background:linear-gradient(110deg,#fff0b9,#ffdb80)!important;opacity:.6!important;}
#complete-screen .apro-conjugation-placeholder {margin:16px 2px 20px;padding:17px 15px;min-height:82px;background:#fff;border:1px solid #dfe5f3;border-radius:16px;box-shadow:0 3px 12px rgba(27,45,72,.045);}
#complete-screen .apro-conjugation-placeholder h2 {margin:0;font-size:17px;line-height:1.3;font-weight:800;color:#10134b;}


/* Same soft circular shapes and lower wave as the other tab headers, in yellow. */
#complete-screen .section-mascot-hero {
 background: radial-gradient(circle at 91% 7%, #ffe9a1 0 23%, transparent 23.4%), radial-gradient(circle at 1% 105%, #fff0bc 0 24%, transparent 24.4%), linear-gradient(125deg,#fff9e7,#ffe9a6) !important;
 position:relative!important; overflow:hidden!important;
}
#complete-screen .section-mascot-hero::before {
 content:""!important; display:block!important; position:absolute!important;
 z-index:0!important; left:-25%!important; right:-25%!important;
 bottom:-77px!important; height:130px!important;
 border-radius:50% 55% 0 0!important; transform:rotate(-4deg)!important;
 background:linear-gradient(110deg,#ffeeb0,#ffd875)!important; opacity:.72!important;
}


.apro-conjugation-placeholder{padding:18px 14px;background:#fff;border-radius:20px;margin:16px 0 22px}
.conj-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}
.conj-group-button{background:#fff9df;border:1px solid #f2d879;border-radius:13px;color:#14245e;font-weight:750;font-size:13px;padding:15px 3px;cursor:pointer}
.conj-view h2{font-size:22px;color:#14245e;margin:10px 0 20px}
.conj-back{border:0;background:none;color:#536bff;font-size:14px;padding:12px 0;cursor:pointer}
.conj-filter-title{font-weight:750;color:#14245e;margin-bottom:10px}.conj-filter-title span{font-size:12px;color:#67718a;font-weight:500}
.conj-filters{display:flex;overflow-x:auto;gap:7px;padding:4px 1px 13px;scrollbar-width:none}.conj-filters::-webkit-scrollbar,.conj-scroll::-webkit-scrollbar{display:none}
.conj-chip{display:flex;align-items:center;gap:5px;border:1px solid #d6defb;background:#f6f8ff;border-radius:12px;padding:9px 11px;white-space:nowrap;font-size:12px;color:#18245b;cursor:pointer}
.conj-chip input{accent-color:#536bff;width:16px;height:16px}
.conj-note{font-size:12px;color:#66718b;line-height:1.45;margin:3px 0 16px}
.conj-verb{border:1px solid #dfe5f6;border-radius:15px;margin:9px 0;background:white;overflow:hidden}
.conj-verb summary{list-style:none;padding:15px 12px;cursor:pointer;color:#1c275e;display:flex;align-items:center;gap:4px;font-size:15px}
.conj-verb summary::-webkit-details-marker{display:none}.conj-verb summary strong{color:#2c41c8}.conj-chevron{margin-left:auto;color:#536bff;font-size:20px}.conj-verb[open] .conj-chevron{transform:rotate(180deg)}
.conj-scroll{overflow-x:auto;max-width:100%;overscroll-behavior-x:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.conj-table{border-collapse:separate;border-spacing:0;width:max-content;font-size:12px;table-layout:auto}
.conj-table th,.conj-table td{border-right:1px solid #e1e7f4;border-bottom:1px solid #e1e7f4;padding:11px 10px;white-space:nowrap;min-width:118px;text-align:left}
.conj-table thead th{background:#e9efff;color:#1b2b77;font-weight:700;white-space:normal;min-width:130px;max-width:160px}
.conj-table .conj-pronoun{position:sticky;left:0;z-index:2;min-width:105px;width:105px;max-width:105px;background:#f0f4ff;color:#1c285c;box-shadow:2px 0 4px #17245116}
.conj-table thead .conj-pronoun{z-index:3;background:#e1e9ff}
.conj-ending{color:#e14c45;font-weight:750}.conj-unavailable{color:#9aa2b4}
#conj-groups-root[hidden],#conj-groups-menu[hidden]{display:none!important}


/* Conjugation groups open as a dedicated screen; hide vocabulary and original header only in that view. */
#complete-screen.conj-page-active .apro-quiz-launch,
#complete-screen.conj-page-active .apro-categories-heading,
#complete-screen.conj-page-active #category-grid {display:none!important}
#complete-screen.conj-page-active .apro-conjugation-placeholder{margin:0!important;padding:12px 8px 24px!important;box-shadow:none!important}
#complete-screen.conj-page-active .conj-view{width:100%;min-width:0}
.conj-page-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px}
.conj-page-heading h2{margin:0;font-size:21px}
.conj-return-icon{flex:none;display:inline-flex;align-items:center;justify-content:center}
.conj-return-icon svg{width:23px;height:23px}
.conj-verb{border-width:1px!important;border-color:#e7eaf3!important;border-radius:12px!important;margin:6px 0!important;box-shadow:none!important}
.conj-verb summary{padding:10px 12px!important;min-height:44px;font-size:14px!important}
.conj-verb .conj-chevron{font-size:17px!important}
.conj-table th,.conj-table td{min-width:92px!important;max-width:112px!important;width:100px!important;padding:9px 6px!important;text-align:center!important;white-space:normal!important;overflow-wrap:normal;line-height:1.3}
.conj-table thead th{min-width:92px!important;max-width:112px!important}
.conj-table .conj-pronoun{min-width:100px!important;max-width:100px!important;width:100px!important;text-align:left!important}
.conj-table thead .conj-pronoun{vertical-align:middle!important}
.conj-table .conj-mode-header{background:#dce6ff!important;text-align:left!important;padding-left:10px!important;font-size:12px!important}
.conj-table .conj-tenses-row th{font-size:11px!important;vertical-align:middle!important}
.conj-scroll{scrollbar-width:none!important}
.conj-scroll::-webkit-scrollbar{display:none!important}

/* Discrete separators between conjugation modes */
.conj-table .conj-mode-divider{border-left:3px solid #9aaee7!important;}


/* Homepage only: no effect on category panels, conjugation group views or quizzes. */
#complete-screen:not(.conj-page-active) #complete-home .apro-conjugation-placeholder{margin:16px 0 17px!important;padding:17px 13px 15px!important;border:1px solid #e6e8f2!important;border-radius:20px!important;background:#fff!important;box-shadow:0 4px 17px rgba(28,42,88,.045)!important;min-height:0!important}
#complete-screen:not(.conj-page-active) #complete-home .apro-home-section-title{display:flex;align-items:center;gap:11px;margin-bottom:14px;min-width:0}
#complete-screen:not(.conj-page-active) #complete-home .apro-home-section-icon{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;border-radius:12px;background:#edf1ff;color:#536bff}
#complete-screen:not(.conj-page-active) #complete-home .apro-home-section-icon svg{width:22px;height:22px}
#complete-screen:not(.conj-page-active) #complete-home .apro-home-section-title h2{margin:0!important;font-size:17px!important;line-height:1.2!important;font-weight:800!important;color:#10134b!important}
#complete-screen:not(.conj-page-active) #complete-home .apro-home-section-title small,#complete-screen:not(.conj-page-active) #complete-home .apro-home-heading-copy small{display:block;margin-top:3px;font-size:11px;line-height:1.35;color:#65708c;font-weight:450}
#complete-screen:not(.conj-page-active) #complete-home .conj-groups{display:flex!important;flex-direction:column!important;gap:0!important;margin:0!important;border:1px solid #e3e7f3;border-radius:14px;overflow:hidden;background:#fff}
#complete-screen:not(.conj-page-active) #complete-home .conj-group-button{display:flex!important;align-items:center;justify-content:space-between;position:relative;min-height:55px;padding:12px 37px 12px 56px!important;background:#fff!important;border:0!important;border-bottom:1px solid #e9ebf2!important;border-radius:0!important;text-align:left!important;color:#17265d!important;font-size:14px!important;line-height:1.25!important;font-weight:750!important;white-space:normal;cursor:pointer}
#complete-screen:not(.conj-page-active) #complete-home .conj-group-button:last-child{border-bottom:0!important}
#complete-screen:not(.conj-page-active) #complete-home .conj-group-button::before{content:'-ar';position:absolute;left:10px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:37px;height:34px;border-radius:10px;background:#eef2ff;color:#536bff;font-weight:800;font-size:13px}
#complete-screen:not(.conj-page-active) #complete-home .conj-group-button:nth-child(2)::before{content:'-er'}
#complete-screen:not(.conj-page-active) #complete-home .conj-group-button:nth-child(3)::before{content:'-ir'}
#complete-screen:not(.conj-page-active) #complete-home .conj-group-button::after{content:'';position:absolute;right:16px;top:50%;width:8px;height:8px;border-right:2px solid #536bff;border-top:2px solid #536bff;transform:translateY(-50%) rotate(45deg)}
#complete-screen:not(.conj-page-active) #complete-home .apro-categories-heading{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:11px!important;margin:19px 0 10px!important;padding:0 4px!important;font-size:inherit!important}
#complete-screen:not(.conj-page-active) #complete-home .apro-home-heading-copy{display:flex;flex-direction:column;min-width:0}
#complete-screen:not(.conj-page-active) #complete-home .apro-home-heading-copy strong{color:#10134b;font-size:17px;font-weight:800;line-height:1.25}
#complete-screen:not(.conj-page-active) #complete-home #category-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:auto!important;gap:9px!important;margin:0 0 22px!important;max-width:none!important}
#complete-screen:not(.conj-page-active) #complete-home #category-grid .category-card{height:auto!important;min-height:80px!important;padding:12px 10px!important;border:1px solid #e1e6f3!important;border-radius:14px!important;background:#fff!important;box-shadow:0 2px 8px rgba(30,48,95,.04)!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;gap:4px!important;text-align:left!important;overflow:hidden}
#complete-screen:not(.conj-page-active) #complete-home #category-grid .category-card strong{color:#14245e!important;font-size:12.5px!important;line-height:1.25!important;font-weight:750!important;overflow-wrap:anywhere}
#complete-screen:not(.conj-page-active) #complete-home #category-grid .category-card small{color:#536bff!important;font-size:11px!important;font-weight:600!important;line-height:1.2!important}
/* Keep existing category buttons and their data-action handlers; hide only legacy decorative furniture. */
#complete-screen:not(.conj-page-active) #complete-home #category-grid .category-card .apro-banner-visual,#complete-screen:not(.conj-page-active) #complete-home #category-grid .category-card .apro-banner-arrow{display:none!important}
@media(max-width:360px){#complete-screen:not(.conj-page-active) #complete-home #category-grid{gap:7px!important}#complete-screen:not(.conj-page-active) #complete-home #category-grid .category-card{padding:10px 8px!important}}


/* Homepage-only refinements. Dedicated group/category pages remain untouched. */
#complete-screen:not(.conj-page-active) #complete-home .conj-group-button:nth-child(1)::before{background:#e8f5e9!important;color:#26824e!important}
#complete-screen:not(.conj-page-active) #complete-home .conj-group-button:nth-child(2)::before{background:#fff2d7!important;color:#a46c09!important;content:'-er'!important}
#complete-screen:not(.conj-page-active) #complete-home .conj-group-button:nth-child(3)::before{background:#f0e8fa!important;color:#8252aa!important}
#complete-screen:not(.conj-page-active) #complete-home .conj-group-button{font-size:15px!important}
/* A single, distinct panel containing a genuinely compact two-column tile grid. */
#complete-screen:not(.conj-page-active) #complete-home .apro-categories-home-panel{background:#fff;border:1px solid #e6e8f2;border-radius:20px;padding:16px 12px 17px;margin:0 0 22px;box-shadow:0 4px 17px rgba(28,42,88,.045)}
#complete-screen:not(.conj-page-active) #complete-home .apro-categories-home-panel .apro-categories-heading{margin:0 0 15px!important;padding:0!important}
#complete-screen:not(.conj-page-active) #complete-home .apro-categories-home-panel #category-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin:0!important;width:100%!important}
#complete-screen:not(.conj-page-active) #complete-home .apro-categories-home-panel #category-grid .category-card{display:grid!important;grid-template-columns:30px minmax(0,1fr) 10px!important;grid-template-rows:auto auto!important;column-gap:7px!important;row-gap:2px!important;align-content:center!important;align-items:center!important;min-width:0!important;min-height:73px!important;padding:9px 7px!important;position:relative!important;border:1px solid #e6e9f2!important;border-radius:13px!important;background:#fff!important;text-align:left!important;box-shadow:0 2px 7px rgba(30,48,95,.035)!important}
#complete-screen:not(.conj-page-active) #complete-home #category-grid .category-card::before{content:'';grid-column:1;grid-row:1 / span 2;width:29px;height:29px;border-radius:9px;background:#edf1ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23536bff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8 12 3l9 5-9 5-9-5Z'/%3E%3Cpath d='m3 12 9 5 9-5M3 16l9 5 9-5'/%3E%3C/svg%3E") center / 18px 18px no-repeat}
#complete-screen:not(.conj-page-active) #complete-home #category-grid .category-card::after{content:'';grid-column:3;grid-row:1 / span 2;justify-self:center;width:6px;height:6px;border-top:1.5px solid #536bff;border-right:1.5px solid #536bff;transform:rotate(45deg)}
#complete-screen:not(.conj-page-active) #complete-home #category-grid .category-card strong{grid-column:2;grid-row:1;font-size:11.5px!important;line-height:1.2!important;overflow-wrap:break-word!important}
#complete-screen:not(.conj-page-active) #complete-home #category-grid .category-card small{grid-column:2;grid-row:2;font-size:10px!important;color:#69728d!important}
@media(max-width:360px){#complete-screen:not(.conj-page-active) #complete-home .apro-categories-home-panel #category-grid{gap:7px!important}#complete-screen:not(.conj-page-active) #complete-home #category-grid .category-card{grid-template-columns:25px minmax(0,1fr) 7px!important;column-gap:5px!important;padding:8px 5px!important}#complete-screen:not(.conj-page-active) #complete-home #category-grid .category-card::before{width:25px;height:25px;background-size:16px 16px}}


#complete-screen #category-grid .category-card.apro-clean-tile{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;min-height:76px!important;height:auto!important;padding:9px 8px!important;text-align:left!important;overflow:hidden!important}
#complete-screen .apro-unique-icon{width:34px;height:34px;min-width:34px;display:flex;align-items:center;justify-content:center;background:#eaf0ff;border-radius:10px;color:#536bff}
#complete-screen .apro-unique-icon svg{width:21px;height:21px;display:block}
#complete-screen .apro-tile-label{display:flex;flex-direction:column;align-items:flex-start;min-width:0;flex:1;gap:3px}
#complete-screen .apro-tile-label strong{font-size:12px!important;line-height:1.2!important;overflow-wrap:anywhere}
#complete-screen .apro-tile-label small{font-size:11px!important;line-height:1.15!important}
#complete-screen .apro-tile-chevron{color:#536bff;font-size:21px;line-height:1;flex-shrink:0}
@media(max-width:365px){#complete-screen .apro-unique-icon{width:29px;height:29px;min-width:29px}#complete-screen .apro-unique-icon svg{width:18px;height:18px}#complete-screen #category-grid .category-card.apro-clean-tile{gap:5px!important;padding:7px 5px!important}}


/* Remove the legacy, identical stacked icon and legacy decorative arrow.
   The theme-specific SVG in .apro-unique-icon is the sole icon. */
#complete-screen:not(.conj-page-active) #complete-home #category-grid .category-card.apro-clean-tile::before,
#complete-screen:not(.conj-page-active) #complete-home #category-grid .category-card.apro-clean-tile::after {content:none!important;display:none!important;background:none!important;}
#complete-screen:not(.conj-page-active) #complete-home #category-grid .category-card.apro-clean-tile {
 display:flex!important;flex-direction:row!important;align-items:center!important;
 grid-template-columns:none!important;gap:8px!important;min-height:76px!important;
 padding:9px 10px!important;position:relative!important;
}
#complete-screen:not(.conj-page-active) #complete-home #category-grid .category-card.apro-clean-tile > .apro-unique-icon {
 position:static!important;transform:none!important;margin:0!important;flex:0 0 34px!important;
 width:34px!important;height:34px!important;min-width:34px!important;
}
#complete-screen:not(.conj-page-active) #complete-home #category-grid .category-card.apro-clean-tile > .apro-tile-label {
 position:static!important;flex:1 1 auto!important;min-width:0!important;margin:0!important;
}
#complete-screen:not(.conj-page-active) #complete-home #category-grid .category-card.apro-clean-tile > .apro-tile-chevron {
 position:static!important;flex:0 0 auto!important;margin-left:auto!important;
}


/* The home page only: keep original theme data and auxiliary screens untouched. */
#complete-screen:not(.conj-page-active) #complete-home .conj-group-button{font-size:12px!important}
/* The group view uses the same header as the Aprofundir tab. */
#complete-screen.conj-page-active .section-mascot-hero{display:block!important}
#complete-screen.conj-page-active .conj-page-heading h2{display:flex;align-items:center;gap:10px;font-size:20px;min-width:0}
.conj-group-heading-badge{display:inline-flex;align-items:center;justify-content:center;min-width:43px;height:39px;border-radius:11px;font-size:13px;font-weight:800;flex:none}
.conj-group-heading-badge-0{background:#e4f3e8;color:#367a4e}
.conj-group-heading-badge-1{background:#fff0c9;color:#976518}
.conj-group-heading-badge-2{background:#efe5fa;color:#7954a6}
#complete-screen #category-panel .apro-inline-tools .apro-mode .apro-radio{display:none!important}
#complete-screen #category-panel .apro-inline-tools .apro-mode:first-child .apro-mode-mark{display:block;width:100%;text-align:center;margin:0!important}
#complete-screen #category-panel .apro-inline-tools .apro-mode:first-child{justify-content:center!important;text-align:center!important}
#complete-screen #category-panel .apro-inline-tools .apro-mode{gap:4px!important}


/* Practicar: slightly taller vocabulary cards and larger labels */
#review-screen .practicar-word-row{min-height:53px!important;padding:12px 13px!important;font-size:15px!important;line-height:1.35!important;}
#review-screen .practicar-word-row strong,#review-screen .practicar-word-row .practicar-fr{font-size:15px!important;line-height:1.35!important;}
/* Practicar: slightly larger numerical status counters */
#review-screen .status-card strong{font-size:22px!important;}
#review-screen .status-card span{font-size:12px!important;}
/* Aprofundir: blue section-icon tiles, white SVG glyphs */
#complete-screen:not(.conj-page-active) #complete-home .apro-home-section-icon{background:#536bff!important;color:#fff!important;}
#complete-screen:not(.conj-page-active) #complete-home .apro-home-section-icon svg{color:#fff!important;stroke:#fff!important;}


/* Cards: +30% from the previous 68px minimum height. */
#review-screen .status-grid .status-card{min-height:89px!important;padding:14px 10px 15px!important;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
#review-screen .status-grid .status-card strong{font-family:ui-rounded,"Arial Rounded MT Bold",system-ui,sans-serif!important;font-size:29px!important;line-height:1.08!important;font-weight:850!important;letter-spacing:-.8px!important;color:#536bff!important;font-variant-numeric:tabular-nums}
#review-screen .status-grid .status-card span{font-size:13px!important;line-height:1.25!important;margin-top:6px!important}
/* Reuse Aprofundir's section-header visual hierarchy in Practicar. */
#review-screen #review-list-panel .practicar-vocab-heading{display:flex!important;align-items:center!important;gap:9px!important;flex-wrap:nowrap!important;margin:6px 0 14px!important}
#review-screen .practicar-vocab-heading-main{display:flex;align-items:center;gap:9px;min-width:0;flex:1 1 auto}
#review-screen .practicar-vocab-heading-icon{width:43px;height:43px;flex:0 0 43px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#536bff;color:white}
#review-screen .practicar-vocab-heading-icon svg{width:24px;height:24px}
#review-screen #review-list-panel .practicar-vocab-heading h2{font-size:clamp(14px,3.4vw,20px)!important;font-weight:800!important;line-height:1.15!important;margin:0!important;color:#11144b!important}
#review-screen #review-list-panel .practicar-vocab-heading #word-search{width:clamp(105px,27vw,190px)!important;min-width:0!important;flex:0 1 190px!important;margin:0!important;padding:10px 9px!important;font-size:16px!important;min-height:43px!important;border-radius:12px!important}
#review-screen #review-list-panel .practicar-vocab-heading .review-home-icon{flex:0 0 auto}
/* Keep the two quiz launch buttons on identical dimensions. */
#review-screen .practicar-quiz-cta,#complete-screen .apro-quiz-launch{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:100%!important;box-sizing:border-box!important;min-height:53px!important;height:53px!important;padding:0 12px!important;margin:13px 0 16px!important;border:0!important;border-radius:16px!important;background:#536bff!important;color:#fff!important;font-size:15px!important;font-weight:750!important;line-height:1.2!important;box-shadow:0 7px 18px rgba(83,107,255,.15)!important}
#review-screen .practicar-quiz-cta .quiz-play-icon,#complete-screen .apro-quiz-launch .quiz-play-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:0!important}
@media(max-width:380px){#review-screen .practicar-vocab-heading-icon{width:37px;height:37px;flex-basis:37px}#review-screen #review-list-panel .practicar-vocab-heading #word-search{width:105px!important;flex-basis:105px!important}}


#review-screen .status-grid .status-card{align-items:center!important;text-align:center!important}
#review-screen .status-grid .status-card strong{color:#10134b!important;text-align:center!important;font-variant-numeric:tabular-nums}
#review-screen .status-grid .status-card span{text-align:center!important}
#complete-screen .apro-vocab-cards{display:grid;gap:7px;margin:12px 0}
#complete-screen .apro-vocab-card{display:grid;grid-template-columns:11px minmax(0,1fr) minmax(0,1fr);align-items:center;gap:10px;background:#fff;border:1px solid #e3e9fa;border-radius:12px;padding:12px;min-height:54px;box-shadow:0 2px 6px #263b7510;font-size:15px}
#complete-screen .apro-vocab-card strong{color:#2c41c8;font-weight:750;overflow-wrap:anywhere}
#complete-screen .apro-vocab-fr{color:#111827;overflow-wrap:anywhere}
#complete-screen .apro-status-dot{width:10px;height:10px;border-radius:50%}
#complete-screen .apro-status-dot.working{background:#e74750}
#complete-screen .apro-status-dot.review{background:#ffbf21}
#complete-screen .apro-status-dot.mastered{background:#29b66a}
#complete-screen .apro-vocab-input-wrap{min-width:0;display:block}
#complete-screen .apro-inline-answer{width:100%;min-width:0;font-size:16px;padding:8px;border-radius:8px;border:1px solid #dce2ea}
#complete-screen .apro-inline-answer.answer-accent,#complete-screen .enki-grid .answer-accent{background:#fff7d9;border-color:#ffbf21;color:#725000}
#complete-screen .apro-inline-result.accent{color:#a36c00}
@media(max-width:380px){#complete-screen .apro-vocab-card{gap:7px;padding:10px;font-size:13px}}


/* Practicar: Catalan flag beside CAT, consistently sized with French flag. */
#review-screen .review-cat-label{display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap}
#review-screen .review-cat-flag{display:inline-block;width:20px;height:20px;flex:0 0 20px;border-radius:50%;border:1px solid #d8deed;background:repeating-linear-gradient(to bottom,#ffd42a 0 3px,#d62837 3px 5px);box-sizing:border-box}
/* Aprofundir category detail: section heading and a full-width category bar. */
#complete-screen #category-panel .apro-category-section-heading{display:flex;align-items:center;gap:11px;margin:18px 0 12px;color:#11144b;font-weight:800;font-size:18px}
#complete-screen #category-panel .apro-category-section-icon{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:13px;background:#536bff;color:white}
#complete-screen #category-panel .apro-category-section-icon svg{width:23px;height:23px}
#complete-screen #category-panel .apro-category-heading{display:flex;align-items:center;gap:11px;width:100%;box-sizing:border-box;background:#fff;border:1px solid #dfe5f3;border-radius:17px;padding:11px 12px;margin:0 0 13px;min-height:66px}
#complete-screen #category-panel .apro-category-detail-icon{display:grid;place-items:center;width:43px;height:43px;flex:0 0 43px;border-radius:12px;background:#536bff;color:#fff}
#complete-screen #category-panel .apro-category-detail-icon svg{width:24px;height:24px}
#complete-screen #category-panel .apro-category-heading h2{flex:1;min-width:0;font-size:18px!important;line-height:1.25!important;color:#11144b!important}
#complete-screen #category-panel .apro-return-icon{flex:0 0 41px}
/* Same rounded card style as Practicar, slightly more compact. */
#complete-screen #category-panel .apro-vocab-cards{display:flex;flex-direction:column;gap:8px}
#complete-screen #category-panel .apro-vocab-card{border-radius:24px!important;min-height:51px!important;padding:10px 13px!important;gap:10px!important;font-size:clamp(13px,3.6vw,16px)!important;box-shadow:0 3px 10px rgba(45,68,135,.06)!important}
#complete-screen #category-panel .apro-vocab-card .apro-status-dot{width:11px;height:11px}
/* Readable list / language selection labels. */
#complete-screen #category-panel .apro-inline-tools .apro-mode{font-size:clamp(13px,3.4vw,16px)!important;font-weight:750!important}
#complete-screen #category-panel .apro-inline-tools .apro-mode-mark{font-size:inherit!important}
#complete-screen #category-panel .apro-inline-tools .apro-flag-fr,#complete-screen #category-panel .apro-inline-tools .apro-flag-cat{width:18px;height:18px}


/* Theme detail only: preserve the Explorer les thèmes heading. */
#complete-screen #category-panel .apro-category-heading h2,
#complete-screen #category-panel #category-title{font-size:16px!important;line-height:1.25!important}
/* Match the Aprofundir tab's outlined book symbol and use a pale-blue tile. */
#complete-screen #category-panel .apro-category-detail-icon{background:#eaf0ff!important;color:#2c41c8!important;border:1px solid #c6d3ff!important;box-sizing:border-box!important}
#complete-screen #category-panel .apro-category-detail-icon svg{stroke:#2c41c8!important}
/* Restore the smaller control labels, without changing the selected state. */
#complete-screen #category-panel .apro-inline-tools .apro-mode{font-size:12px!important}
#complete-screen #category-panel .apro-inline-tools .apro-mode-mark{font-size:12px!important}
/* One pixel smaller vocabulary text than the previous design. */
#complete-screen #category-panel .apro-vocab-card{font-size:clamp(12px,calc(3.6vw - 1px),15px)!important}
@media(max-width:380px){#complete-screen #category-panel .apro-vocab-card{font-size:12px!important}}


/* Selected theme uses its exact matching icon from the Aprofundir theme grid. */
#complete-screen #category-panel .apro-category-detail-icon{width:35px!important;height:35px!important;flex:0 0 35px!important;border-radius:10px!important;background:#eaf0ff!important;border:1px solid #c6d3ff!important;color:#536bff!important;box-sizing:border-box!important}
#complete-screen #category-panel .apro-category-detail-icon .apro-unique-icon{display:grid!important;place-items:center!important;width:100%!important;height:100%!important;background:transparent!important;border:0!important;padding:0!important;position:static!important;transform:none!important}
#complete-screen #category-panel .apro-category-detail-icon .apro-unique-icon svg{width:20px!important;height:20px!important;stroke:#536bff!important;display:block!important}
#complete-screen #category-panel .apro-category-section-heading{display:flex!important;align-items:center!important}
#complete-screen #category-panel .apro-category-section-heading .apro-return-icon{margin-left:auto!important;flex-shrink:0!important}
#complete-screen #category-panel .apro-category-heading{justify-content:flex-start!important}
#complete-screen #category-panel #category-title{font-size:16px!important}


/* Inici: card-only redesign. Arc and all dynamic values remain unchanged. */
#inici-screen .inici-progress-text{width:210px;max-width:calc(100% - 24px);box-sizing:border-box;gap:4px;padding:11px 15px 13px;background:#fff;border:1px solid rgba(83,107,255,.12);border-radius:32px;box-shadow:0 7px 22px rgba(44,65,200,.10);z-index:2}
#inici-screen .inici-progress-text .inici-a1{background:#dfe7ff;color:#1d3187;border-radius:999px;padding:4px 28px;font-size:19px;font-weight:850;line-height:1.25}
#inici-screen .inici-progress-text strong{font-size:38px;line-height:1.05;letter-spacing:-1.3px;color:#19318b;font-weight:850}
#inici-screen .inici-progress-text>span:last-child{font-size:14px;line-height:1.3;font-weight:750;color:#213578;text-align:center}


/* Transparent progress information: the donkey and arc remain fully visible. */
#inici-screen .inici-progress-text{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;width:245px!important;max-width:calc(100% - 20px)!important;padding:0 4px 4px!important;gap:2px!important;bottom:0!important;z-index:3!important;overflow:visible!important}
#inici-screen .inici-progress-text .inici-a1{font-family:ui-rounded,"Arial Rounded MT Bold",system-ui,sans-serif;font-size:17px!important;letter-spacing:.5px;padding:3px 19px!important}
#inici-screen .inici-percent-line{position:relative;display:flex;align-items:center;justify-content:center;width:100%;}
#inici-screen .inici-percent-line strong{font-family:ui-rounded,"Arial Rounded MT Bold",system-ui,sans-serif!important;font-size:42px!important;font-weight:900!important;letter-spacing:-2px!important;line-height:1.05!important;text-shadow:0 1px 0 #ffffffa6}
#inici-screen .inici-pct-rays{position:absolute;width:32px;height:32px;left:calc(50% + 65px);top:4px;overflow:visible}
#inici-screen .inici-progress-text>span:last-of-type{font-family:ui-rounded,"Arial Rounded MT Bold",system-ui,sans-serif;font-size:14px!important;font-weight:800!important;text-shadow:0 1px 2px #ffffffcf}
#inici-screen .inici-books{position:absolute;width:54px;height:43px;right:-23px;bottom:-5px;filter:drop-shadow(0 2px 3px #1b2a6933);pointer-events:none}
@media(max-width:370px){#inici-screen .inici-books{right:-7px;width:43px}}


/* Semi-transparent information panel: mascot remains visible behind it. */
#inici-screen .inici-progress-text{
  background:rgba(255,255,255,.73)!important;
  border:1px solid rgba(255,255,255,.82)!important;
  border-radius:48% 52% 42% 45% / 27% 31% 25% 29%!important;
  box-shadow:0 6px 20px rgba(36,56,135,.10)!important;
  -webkit-backdrop-filter:blur(3px);
  backdrop-filter:blur(3px);
  padding:8px 12px 10px!important;
  box-sizing:border-box;
}


/* Option D: cloud silhouette with frosted translucent fill. */
#inici-screen .inici-progress-text{
  width:245px!important;
  background:rgba(255,255,255,.73)!important;
  border:1px solid rgba(255,255,255,.78)!important;
  border-radius:48% 48% 40% 40% / 42% 42% 34% 34%!important;
  box-shadow:0 6px 18px rgba(36,56,135,.10)!important;
  padding:10px 16px 12px!important;
  isolation:isolate;
  overflow:visible!important;
}
#inici-screen .inici-progress-text::before,
#inici-screen .inici-progress-text::after{
  content:"";position:absolute;z-index:-1;
  background:rgba(255,255,255,.73);
  border:1px solid rgba(255,255,255,.65);
  border-radius:50%;width:67px;height:70px;bottom:0;
  pointer-events:none;
}
#inici-screen .inici-progress-text::before{left:-17px;transform:rotate(-13deg)}
#inici-screen .inici-progress-text::after{right:-17px;transform:rotate(13deg)}
#inici-screen .inici-percent-line strong{
  font-family:"Arial Rounded MT Bold","Trebuchet MS",ui-rounded,system-ui,sans-serif!important;
  font-weight:900!important;font-size:44px!important;
  letter-spacing:-1.6px!important;line-height:1.06!important;
  font-variant-numeric:tabular-nums;
  -webkit-text-stroke:1.15px currentColor;
  paint-order:stroke fill;
}
@media(max-width:370px){#inici-screen .inici-progress-text{width:220px!important}}


.path-lesson-steps .lesson-step-dot.is-done,.path-lesson-steps .lesson-step-dot.is-next{background:transparent!important;border:0!important;box-shadow:none!important}
.path-lesson-steps .lesson-step-dot .timeline-status-icon{width:27px;height:27px;display:block;max-width:none}
.path-lesson-steps .lesson-step-dot{overflow:visible}
