/* The Italian Mosaic — My Mosaic Crystal V2.
   Logged-in dashboard only: auth and profile forms remain untouched. */
.has-crystal-dashboard{--cr-paper:#f5f2e9;--cr-ink:#293b31;--cr-green:#254b3b;--cr-clay:#b44c37;--cr-line:#d4d5c9;--cr-muted:#606960;--cr-white:#fffdf8}
.has-crystal-dashboard .account-layout{display:block;width:min(1380px,calc(100% - 64px));margin-block:32px 62px}
.has-crystal-dashboard .account-introduction{display:none}
.has-crystal-dashboard .account-layout>section:last-child{min-width:0}
.has-crystal-dashboard #account-panel{padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}
.has-crystal-dashboard #account-panel h2,.has-crystal-dashboard #account-panel h3{font-family:Georgia,'Times New Roman',serif;color:var(--cr-ink);font-weight:400}
.has-crystal-dashboard .account-status{margin-block:10px 0}
.crystal-dash{display:grid;grid-template-columns:218px minmax(0,1fr);gap:34px;align-items:start;min-width:0;color:var(--cr-ink);font-family:Arial,Helvetica,sans-serif}
.crystal-sidebar{position:sticky;top:20px;min-width:0;padding:20px 13px 18px;border:1px solid rgba(130,145,129,.3);border-radius:18px;background:rgba(255,253,248,.58);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);box-shadow:0 8px 24px rgba(42,58,45,.03)}
.crystal-sidebar>.crystal-overline{display:block;margin:6px 9px 14px;font-size:9px;line-height:1.5}
.crystal-overline{margin:0;color:var(--cr-clay);font-size:10px;letter-spacing:.16em;text-transform:uppercase;font-weight:700}
.crystal-nav{display:flex;flex-direction:column;gap:3px}
.crystal-nav a{min-height:45px;display:flex;align-items:center;gap:12px;padding:9px 11px;border-radius:10px;color:var(--cr-ink);text-decoration:none;font-size:13px}
.crystal-nav a:hover,.crystal-nav a[aria-current]{background:rgba(37,75,59,.075);color:var(--cr-green)}
.crystal-nav a[aria-current]{font-weight:700}
.crystal-nav-icon{display:inline-flex;align-items:center;justify-content:center;width:19px;flex:none;font-size:20px;line-height:1;color:#627967}
.crystal-sidebar-foot{margin:22px 9px 2px;padding-top:15px;border-top:1px solid var(--cr-line)}
.crystal-sidebar-foot small{font-size:9px;letter-spacing:.1em;color:var(--cr-muted)}
.crystal-flagline{display:block;height:3px;margin-bottom:13px;border-radius:8px;background:linear-gradient(90deg,#39814f 0%,#39814f 31%,#fcfbf7 49%,#c05343 70%,#c05343 100%);opacity:.78}
.crystal-main{min-width:0;padding:9px 0 25px}
.crystal-heading{scroll-margin-top:30px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 0 24px;border-bottom:1px solid var(--cr-line);margin-bottom:24px}
.has-crystal-dashboard .crystal-heading h2{font:400 clamp(38px,4.4vw,57px)/1.08 Georgia,serif;letter-spacing:-.035em;margin:9px 0 8px}
.crystal-accent{color:var(--cr-clay)}
.crystal-heading p:last-child{font:italic 17px/1.45 Georgia,serif;color:var(--cr-muted)}
.crystal-profile-link{display:inline-flex;align-items:center;gap:7px;max-width:210px;overflow-wrap:anywhere;padding:9px 14px;border-radius:50px;background:rgba(255,253,248,.6);border:1px solid var(--cr-line);font-size:12px;text-decoration:none}
.crystal-grid{display:grid;gap:17px}
.crystal-grid-hero{grid-template-columns:1fr 1fr}
.crystal-panel{min-width:0;position:relative;isolation:isolate;border-radius:16px;border:1px solid rgba(255,255,255,.95);outline:1px solid rgba(95,117,95,.13);padding:25px;background:rgba(255,253,248,.79);box-shadow:0 12px 38px rgba(32,45,35,.045),0 1px 7px rgba(32,45,35,.025);backdrop-filter:blur(12px) saturate(108%);-webkit-backdrop-filter:blur(12px) saturate(108%)}
.crystal-panel::before{content:"";position:absolute;left:12%;right:12%;top:0;height:1px;background:linear-gradient(90deg,transparent,white,transparent);pointer-events:none}
.crystal-panel h3{font-size:26px;line-height:1.2;letter-spacing:-.025em;margin:10px 0 12px}
.crystal-onboard{margin-bottom:17px;background:rgba(232,237,225,.85)}
.crystal-onboard>p{color:var(--cr-muted);font-size:13px;margin-bottom:14px}
.crystal-path{min-height:270px}
.crystal-path-flex{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0 24px}
.crystal-path-flex h3{font-size:38px;line-height:1.13;margin:0 0 7px}
.crystal-progress-ring{flex:none;display:flex;align-items:center;justify-content:center;width:102px;height:102px;border:8px solid #dce5db;border-right-color:#88a994;border-radius:50%;color:#66786a;font:31px Georgia,serif}
.crystal-progress-ring small{font:13px Georgia,serif;margin-left:2px}
.crystal-dim,.crystal-quiet{color:var(--cr-muted);font-size:13px;line-height:1.75}
.crystal-quiet{font-size:11px;margin-top:12px}
.crystal-bar{height:8px;border-radius:20px;background:#e4e8e0;overflow:hidden}
.crystal-bar span{display:block;height:100%;background:var(--cr-green);width:0}
.crystal-lesson-caption{display:flex;flex-direction:column;gap:2px;padding:14px 0;margin:13px 0;border-top:1px solid var(--cr-line);border-bottom:1px solid var(--cr-line)}
.crystal-lesson-caption strong{font:23px Georgia,serif;font-weight:400;color:var(--cr-ink)}
.crystal-lesson-caption span{font-size:11px;color:var(--cr-muted)}
.crystal-next{display:flex;flex-direction:column;min-height:270px}
.crystal-next>p:not(.crystal-overline){font-size:13px;line-height:1.7;color:var(--cr-muted)}
.crystal-links{display:flex;align-items:center;flex-wrap:wrap;gap:11px;margin-top:auto}
.crystal-primary{display:inline-flex;justify-content:center;align-items:center;gap:15px;min-height:44px;border-radius:8px;background:var(--cr-green);border:1px solid var(--cr-green);padding:11px 17px;color:#fffdf8!important;text-decoration:none;font-size:12px;font-weight:700}
.crystal-primary:hover{background:#38634e}
.crystal-quietlink{color:var(--cr-clay)!important;text-decoration:underline;text-underline-offset:4px;font-size:12px;font-weight:700}
.crystal-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:18px 0 6px}
.crystal-kpis>div{display:grid;grid-template-columns:24px 1fr;column-gap:8px;align-items:center;row-gap:5px;min-width:0;padding:17px 18px;border:1px solid var(--cr-line);background:rgba(255,253,248,.64);border-radius:12px}
.crystal-kpi-icon{color:var(--cr-green);font-size:19px}
.crystal-kpis strong{font:29px Georgia,serif;font-weight:400;line-height:1}
.crystal-kpis div>span:last-child{grid-column:1 / -1;font-size:11px;color:var(--cr-muted)}
.crystal-section{margin-top:20px;scroll-margin-top:25px}
.crystal-section-head{display:flex;justify-content:space-between;align-items:start;gap:15px;margin-bottom:8px}
.crystal-section-head h3{font-size:28px;margin:7px 0 0}
.crystal-section-head>a,.crystal-section-head>.crystal-badges-count{flex:none;margin-top:8px}
.crystal-badges-count{font:22px Georgia,serif;color:var(--cr-green)}
.crystal-legacy-cards{margin-top:17px}
.crystal-legacy-cards .cards-summary-count{font-size:14px;line-height:1.6}
.crystal-legacy-cards .account-cards-tiles{margin-top:15px}
.crystal-legacy-cards .account-tile{border-radius:12px;padding:19px;background:rgba(232,238,228,.55)}
.crystal-legacy-cards .account-tile-review{background:var(--cr-green);color:white}
.crystal-legacy-cards .account-tile-review .account-tile-description,.crystal-legacy-cards .account-tile-review .account-tile-action{color:white}
.crystal-legacy-cards .account-tile-title{font-size:22px}
.crystal-legacy-cards a{transition:background .18s ease}
.crystal-badges-list{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;padding:0;margin:19px 0 0}
.crystal-badge{min-width:0;text-align:center;border:1px solid rgba(106,124,108,.16);border-radius:13px;padding:18px 9px 15px;background:rgba(255,255,255,.49)}
.crystal-badge-jewel{display:grid;place-items:center;position:relative;width:84px;height:84px;margin:0 auto 13px;border-radius:50%;padding:9px;background:conic-gradient(from -20deg,#d3ddd2,#6f9f7b 35%,#f8faf4 50%,#d8e1d6 60%,#ba6954 79%,#e3e6df);box-shadow:inset 0 0 8px rgba(255,255,255,.9),0 3px 12px rgba(50,71,54,.09)}
.crystal-badge-jewel:before{content:"";position:absolute;inset:5px;border:1px solid rgba(255,255,255,.9);border-radius:50%;pointer-events:none}
.crystal-badge-jewel img{position:relative;display:block;width:64px;height:64px;object-fit:contain;border-radius:50%;background:#fffdf8;padding:8px}
.crystal-badge:nth-child(2) .crystal-badge-jewel{background:conic-gradient(#d2c4b5,#c8846f,#fffdf8,#9cba9c,#d2c4b5)}
.crystal-badge:nth-child(3) .crystal-badge-jewel{background:conic-gradient(#eef0e8,#acbb9b,#e5c7af,#fff,#eef0e8)}
.crystal-badge.is-locked .crystal-badge-jewel{background:conic-gradient(#e3e5e0,#bec7bd,#f2f1ec,#c4c8c1,#e3e5e0)}
.crystal-badge.is-locked .crystal-badge-jewel img{opacity:.38;filter:grayscale(.85)}
.crystal-badge-label{display:flex;flex-direction:column;align-items:center;gap:5px}
.crystal-badge-label strong{font:17px/1.2 Georgia,serif}
.crystal-badge-label span{font-size:11px;color:var(--cr-muted);line-height:1.5;max-width:170px}
.crystal-badge-label small{font-size:10px;color:#376b4a;font-weight:bold}
.crystal-badge.is-locked .crystal-badge-label small{color:var(--cr-muted)}
.crystal-map-area{margin-top:17px}
.crystal-map-area .account-map{max-width:100%}
.crystal-map-area .account-map-settings{max-width:100%}
.crystal-footer{display:flex;align-items:center;gap:25px;flex-wrap:wrap;border-top:1px solid var(--cr-line);padding:23px 5px;margin-top:24px}
.crystal-footer a{font-size:12px;color:var(--cr-clay);text-underline-offset:4px}
.crystal-mobile-nav{display:none}
.crystal-dash a:focus-visible{outline:3px solid var(--cr-clay);outline-offset:3px}
@media(max-width:1100px){
 .has-crystal-dashboard .account-layout{width:min(100% - 44px,1120px)}
 .crystal-dash{grid-template-columns:190px minmax(0,1fr);gap:20px}
 .crystal-panel{padding:21px}
 .crystal-badges-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:850px){
 .has-crystal-dashboard .account-layout{width:calc(100% - 34px);margin-top:20px;margin-bottom:86px}
 .crystal-dash{display:block}
 .crystal-sidebar{display:none}
 .crystal-main{padding-top:0}
 .crystal-mobile-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;z-index:100;bottom:env(safe-area-inset-bottom,0px);left:12px;right:12px;padding:5px 3px;border:1px solid rgba(148,165,145,.55);border-radius:17px;background:rgba(255,253,248,.92);box-shadow:0 8px 40px rgba(37,75,59,.13);backdrop-filter:blur(19px);-webkit-backdrop-filter:blur(19px)}
 .crystal-mobile-nav a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;min-width:0;min-height:52px;text-align:center;border-radius:11px;color:var(--cr-green);font-size:9px;line-height:1.2;text-decoration:none;padding:7px 1px}
 .crystal-mobile-nav a:focus,.crystal-mobile-nav a[aria-current]{background:rgba(37,75,59,.095)}
 .crystal-mobile-nav a[href="#crystal-world"]{display:none}
 .crystal-mobile-nav .crystal-nav-icon{font-size:18px}
 .crystal-grid-hero{grid-template-columns:1fr 1fr}
 .has-crystal-dashboard .account-footer{padding-bottom:95px}
}
@media(max-width:640px){
 .has-crystal-dashboard .account-layout{width:calc(100% - 28px)}
 .crystal-grid-hero{grid-template-columns:minmax(0,1fr)}
 .crystal-heading{align-items:start}
 .has-crystal-dashboard .crystal-heading h2{font-size:41px}
 .crystal-heading p:last-child{font-size:15px}
 .crystal-profile-link{max-width:116px;font-size:11px;text-align:right}
 .crystal-panel{padding:21px 18px;border-radius:14px}
 .crystal-path{min-height:0}
 .crystal-next{min-height:0}
 .crystal-links{margin-top:18px}
 .crystal-kpis{gap:7px}
 .crystal-kpis>div{padding:12px 8px}
 .crystal-kpis strong{font-size:25px}
 .crystal-kpis div>span:last-child{font-size:10px;line-height:1.4}
 .crystal-section-head h3{font-size:25px}
 .crystal-badges-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .crystal-badge{padding:15px 8px}
 .crystal-badge-jewel{width:74px;height:74px}
 .crystal-badge-jewel img{width:56px;height:56px}
 .crystal-legacy-cards .account-cards-tiles{grid-template-columns:1fr}
}
@media(max-width:360px){.crystal-profile-link{max-width:94px}.crystal-section-head{flex-wrap:wrap}.crystal-kpis>div{padding:10px 6px}}
@media(prefers-reduced-motion:reduce){.crystal-dash *, .crystal-dash *::before,.crystal-dash *::after{transition:none!important;scroll-behavior:auto!important}}
@supports not (backdrop-filter:blur(1px)){.crystal-panel,.crystal-sidebar,.crystal-mobile-nav{background:#fffdf8}}

/* Match public HOME Crystal canvas on the My Mosaic dashboard, including
   the mosaic map. Scoped to account-body because this stylesheet is loaded
   only by /mosaiker.html. Dashboard glass cards remain unchanged. */
body.account-body {
 background: radial-gradient(ellipse 47% 30% at 93% 9%,rgba(166,200,168,.17),transparent 74%),radial-gradient(ellipse 42% 27% at 1% 50%,rgba(210,135,105,.1),transparent 76%),#f5f4ee !important;
}

/* Mosaic Progress V1: opt-in preview only, not a persisted achievement. */
.crystal-v1-preview{margin:18px 0 24px}
.crystal-v1-preview h3{margin:8px 0 12px}
.crystal-v1-notice{max-width:70ch;color:var(--cr-muted);font-size:13px;line-height:1.65}
.crystal-v1-stages{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}
.crystal-v1-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:88px;padding:11px 7px;border:1px solid rgba(99,129,104,.28);border-radius:13px;text-align:center;background:rgba(255,255,255,.65);font-size:12px;overflow-wrap:anywhere}
.crystal-v1-stage span:first-child{font-size:27px;line-height:1}
.crystal-v1-stage[data-current="true"]{background:#254b3b;border-color:#254b3b;color:#fff}
.crystal-v1-stage[data-passed="true"]{background:#e2ece1;border-color:#9bb69f}
.crystal-v1-status{font-weight:700;min-height:22px}
.crystal-v1-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.crystal-v1-actions button,.crystal-v1-actions a{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.crystal-v1-actions button:focus-visible,.crystal-v1-actions a:focus-visible{outline:3px solid #b44c37;outline-offset:3px}
@media(max-width:560px){.crystal-v1-stages{grid-template-columns:repeat(2,minmax(0,1fr))}.crystal-v1-preview{padding:18px}}
@media(prefers-reduced-motion:reduce){.crystal-v1-preview *{transition:none!important;animation:none!important}}

/* Saved progress cannot be reset casually: honor hidden despite button flex rules. */
.crystal-v1-actions [hidden]{display:none!important}

/* Integrated Crystal review: one calm session, never the legacy standalone studio. */
.crystal-review{margin-top:1.4rem}.crystal-review h3{font-family:Georgia,serif;font-size:clamp(1.6rem,3vw,2.5rem);font-weight:400;line-height:1.25}.crystal-review .crystal-primary{cursor:pointer;border:1px solid transparent;font:inherit;margin:.35rem .5rem .35rem 0}.crystal-review button:disabled{opacity:.45;cursor:not-allowed}.crystal-review button:focus-visible,.crystal-review summary:focus-visible{outline:3px solid #a54b35;outline-offset:4px}.crystal-review-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,.36fr);gap:1.25rem;align-items:center}.crystal-review-card{padding:clamp(1.3rem,3vw,2.4rem);border:1px solid #d6ded3;border-radius:22px;background:linear-gradient(135deg,#faf9f4,#eef3eb);box-shadow:0 12px 32px #243f3010}.crystal-review-position{display:flex;gap:1rem;align-items:center;color:#526255;font-size:.88rem}.crystal-review-position progress{flex:1;min-width:0;height:6px;accent-color:#315b49}.crystal-review-source,.crystal-review-mix{font-size:.85rem;color:#5d6a5d}.crystal-review-italian{font:400 clamp(1.8rem,4vw,2.8rem)/1.2 Georgia,serif;color:#214c3c}.crystal-review-answer{padding-top:.5rem}.crystal-review-answer blockquote{border-left:2px solid #a4baa5;margin:1rem 0;padding-left:1rem;white-space:pre-line}.crystal-review-judgments{display:grid;gap:.8rem}.crystal-review-judgments .crystal-primary{width:100%;min-height:56px;white-space:normal}.crystal-review-feedback{min-height:1.5em;font-size:.9rem}.crystal-review-totals,.crystal-review-lessons{margin-top:1.5rem}.crystal-review summary{cursor:pointer;padding:.65rem 0;font-weight:600}.crystal-review-lessons ul{padding:0;list-style:none}.crystal-review-lessons li{padding:1.2rem 0;border-top:1px solid #dce1d7;display:flex;flex-wrap:wrap;align-items:center;gap:.8rem 1.1rem}.crystal-review-lessons li>div{flex:1 1 220px}.crystal-review-lessons small{display:block;color:#647263;margin-top:.3rem}.crystal-review-finish{padding:1.5rem 0}.crystal-review-totals p{font-size:.85rem;color:#647263}
@media(max-width:680px){.crystal-review-workspace{grid-template-columns:minmax(0,1fr)}.crystal-review-judgments{gap:.5rem}.crystal-review-judgments .crystal-primary{margin:0}.crystal-review-lessons li .crystal-primary{width:100%;white-space:normal}.crystal-review-position{flex-wrap:wrap}.crystal-review-position progress{flex-basis:100%}}

/* Cristallo italiano: restrained sage / pearl / rose, with readable opaque ink. */
.has-crystal-dashboard .crystal-next{background:linear-gradient(125deg,rgba(255,255,255,.94),rgba(233,243,232,.88));box-shadow:inset 0 1px 0 #fff,0 16px 38px rgba(45,67,46,.07)}
.has-crystal-dashboard #crystal-cards{background:linear-gradient(110deg,rgba(225,239,226,.83),rgba(252,252,247,.94) 48%,rgba(244,227,220,.77));border-radius:25px}
.has-crystal-dashboard #crystal-badges{background:linear-gradient(120deg,rgba(240,247,238,.9),rgba(255,253,249,.96) 55%,rgba(246,235,230,.8));border-radius:25px}
.has-crystal-dashboard #crystal-world{background:linear-gradient(135deg,rgba(255,255,251,.96),rgba(239,245,235,.91));border-radius:25px}
.has-crystal-dashboard .crystal-path{background:linear-gradient(140deg,rgba(252,254,250,.95),rgba(236,243,231,.83))}
.crystal-world{border:0!important;margin:24px 0 0!important;padding:0!important;min-width:0}
.crystal-world [hidden]{display:none!important}
.crystal-world-canvas{position:relative;isolation:isolate;aspect-ratio:2/1;width:100%;overflow:hidden;border:1px solid rgba(121,149,127,.22);border-radius:23px;background:radial-gradient(ellipse at 18% 25%,rgba(174,203,180,.28),transparent 50%),linear-gradient(120deg,#f6faf5,#fdfcf8 65%,#f3e9e4);box-shadow:inset 0 1px 0 #fff,0 14px 32px rgba(38,66,48,.04)}
.crystal-world-canvas>img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;opacity:.83}
.crystal-world-marker{position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#234b37;cursor:pointer;z-index:1;touch-action:manipulation}
.crystal-world-marker span{display:grid;place-items:center;background:#fffdf3;border:1px solid #577f62;width:23px;height:23px;border-radius:6px;box-shadow:0 3px 10px #31513c30;font-size:19px;line-height:1}
.crystal-world-marker.is-selected{z-index:2}
.crystal-world-marker.is-selected span{background:#244b3a;color:white;border-color:white;box-shadow:0 0 0 4px #7b9e8070}
.crystal-world-source{font-size:10px;line-height:1.5;color:#677267;margin:9px 2px 23px}
.crystal-world-explore{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,1fr);gap:24px;align-items:end}
.crystal-world label{display:block;font-size:12px;font-weight:400;color:var(--cr-ink)}
.crystal-world select{display:block;width:100%;max-width:100%;min-height:46px;border:1px solid #c4d2c1;border-radius:12px;background:#fffdf9;color:#293b31;padding:10px 12px;margin-top:8px;font:14px Arial,Helvetica,sans-serif}
.crystal-world [data-world-detail]{font:400 22px/1.3 Georgia,serif;color:#254b3b;margin:0 0 9px;overflow-wrap:anywhere}
.crystal-world [data-world-stats-status]{font-size:12px;color:#8b3428}
.crystal-world-achievement{display:flex;align-items:center;gap:18px;padding:22px;margin:24px 0;border:1px solid rgba(168,187,162,.6);border-radius:18px;background:linear-gradient(115deg,rgba(232,243,228,.7),rgba(255,253,246,.86));color:#294a37}
.crystal-world-achievement strong{font:400 25px/1.25 Georgia,serif}
.crystal-world-achievement p{font-size:12px;line-height:1.7;color:#5b675c;margin:6px 0}
.crystal-world-achievement [data-world-badge-progress]{font-size:11px;font-weight:600}
.crystal-world-compass{display:grid;place-items:center;flex:none;width:60px;height:60px;border:1px solid #b6c6ae;border-radius:50%;background:radial-gradient(circle at 28% 20%,white,#e1ebdc 60%,#f2e3dc);box-shadow:inset 0 0 0 5px #ffffff8f;font:42px Georgia,serif;color:#6e8769}
.crystal-world-achievement.is-earned .crystal-world-compass{color:#244f39;border-color:#76a581;box-shadow:inset 0 0 0 5px #ffffffa6,0 0 20px #81af8c29}
.crystal-world-preference{border-top:1px solid #cdd6c7;padding-top:22px}
.crystal-world-current{font-size:12px;color:#50634e;margin:0 0 15px}
.crystal-world label.account-check{display:flex;align-items:flex-start;gap:12px;line-height:1.6;margin:15px 0}
.crystal-world label.account-check input{flex:none;width:20px;height:20px;margin:1px 0;accent-color:#315d43}
.crystal-world-share strong{display:block;font-size:14px;font-weight:600}
.crystal-world-share small{display:block;font-size:11px;color:#61715e;margin-top:3px;font-weight:400}
.crystal-world [data-world-country-field]{max-width:430px;margin:16px 0}
.crystal-world-privacy{font-size:11px;color:#5f6c5c;line-height:1.8;margin:16px 0 7px}
.crystal-world .crystal-primary{min-height:44px;margin:6px 0}
.crystal-world [data-world-refresh]{font-size:11px;margin-top:10px;min-height:44px}
.crystal-world :is(button,select,input):focus-visible{outline:3px solid #c66f55;outline-offset:3px}
@media(max-width:640px){.crystal-world-explore{grid-template-columns:1fr;gap:18px}.crystal-world-canvas{border-radius:15px}.crystal-world-achievement{padding:17px;gap:13px}.crystal-world-compass{width:47px;height:47px;font-size:33px}.crystal-world-achievement strong{font-size:23px}.crystal-world-source{margin-bottom:20px}.has-crystal-dashboard #crystal-cards,.has-crystal-dashboard #crystal-badges,.has-crystal-dashboard #crystal-world{border-radius:21px}}
.crystal-badges-list .crystal-badge:last-child{grid-column:1/-1;display:flex;align-items:center;gap:22px;text-align:left;padding:18px 24px;background:linear-gradient(105deg,#edf4e8a8,#fffdf7ba 65%,#f2e4dd7d)}
.crystal-badges-list .crystal-badge:last-child .crystal-badge-jewel{margin:0;flex:none}
.crystal-badges-list .crystal-badge:last-child .crystal-badge-label{align-items:flex-start}
.crystal-badges-list .crystal-badge:last-child .crystal-badge-label span{max-width:none}
@media(max-width:640px){.crystal-badges-list .crystal-badge:last-child{padding:16px 14px;gap:14px}}

.crystal-world button.crystal-quietlink{border:0;background:transparent;padding:0;color:#345e43;text-decoration:underline;text-underline-offset:4px;cursor:pointer}

/* Keep the real due total visible before starting a short review. */
.crystal-review-ready{font-weight:600;color:#254b3b}

.crystal-learned{margin-top:1.8rem;padding:clamp(1.2rem,3vw,2rem);border:1px solid #d3ded1;border-radius:22px;background:linear-gradient(115deg,#e7f0e7,#fcfbf6 62%,#f4e8e3)}
.crystal-learned-count{font-weight:600;color:#254b3b}
