/* Consistent selection tiles throughout Rocks Explorers. */
:root{--tile-purple:#706087;--tile-border:#76668e;--tile-green:#118b1e;--tile-radius:17px}
body :is(.activity-tabs,.condition-options,.book-tabs,dialog .grade-select,.quiz-options,.mini-collection)>button{
 border:3px solid var(--tile-border);border-radius:var(--tile-radius);background:#fff;color:var(--tile-purple);box-shadow:none;text-align:center;
}
body :is(.activity-tabs,.condition-options,.book-tabs,dialog .grade-select,.quiz-options)>button{
 display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;aspect-ratio:auto;min-width:0;min-height:96px;padding:10px 7px;margin:0;line-height:1.25;
}
body :is(.activity-tabs,.condition-options,.book-tabs,dialog .grade-select,.quiz-options,.mini-collection)>button:hover{background:#f3f0f8;border-color:var(--tile-border)}
body :is(.activity-tabs,.condition-options,.book-tabs,dialog .grade-select,.quiz-options)>button[aria-pressed=true]{background:var(--tile-green);border-color:var(--tile-green);color:#fff;box-shadow:none}
body .activity-tabs{gap:12px}
body .activity-tabs>button{font-size:clamp(12px,1.1vw,17px);padding-bottom:24px}
body .activity-tabs small{margin:0}
body .activity-tabs span{right:12px;bottom:8px}
/* Compact sidebar choices, keeping labels and progress counts easy to read. */
body .sidebar .activity-tabs>button{aspect-ratio:auto;min-height:88px;gap:5px;padding:9px 5px 23px;border-radius:17px}
body .family-options.rock-choice-tiles button{aspect-ratio:auto;min-height:96px;padding:10px 5px;gap:6px;border-radius:17px}
body .family-options.rock-choice-tiles .family-icon{font-size:34px}
body .family-options.rock-choice-tiles+.setting-heading{margin-top:20px}
body .condition-options{grid-template-columns:repeat(2,minmax(0,150px));gap:12px}
body .condition-options>button{font-size:16px}
body .condition-options>button>span{font-size:34px;line-height:1;color:inherit}
body .condition-options+.setting-heading{margin-top:20px}
body .book-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(95px,1fr));gap:10px}
body .book-tabs>button{font-size:14px}
body dialog .grade-select{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
body dialog .grade-select>button{width:100%;font-size:16px}
body dialog .grade-select>button span{font-size:12px;line-height:1.35;margin:0}
body .quiz-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body .quiz-options>button{font-size:clamp(13px,1.5vw,20px)}
body .mini-collection>button{padding:8px 5px;min-height:96px}
body .mini-collection>button img{height:52px}
body .mini-collection>button:disabled{opacity:.5}
body .help-row button{border-radius:12px}
@media(max-width:800px){body .activity-tabs>button{font-size:14px}}
@media(max-width:420px){body .quiz-options{grid-template-columns:repeat(auto-fit,minmax(105px,1fr))}body .book-tabs{grid-template-columns:repeat(auto-fit,minmax(90px,1fr))}}
/* Start the selected rock-cycle task after choosing both rocks. */
.cycle-start-actions{display:flex;justify-content:flex-end;margin-top:28px;padding-bottom:8px}
.cycle-start{width:178px;min-height:58px;border:0;border-radius:5px;padding:12px 22px;background:#00cf7d;color:#092a20;font-size:20px;font-weight:700}
.cycle-start:hover{background:#00bb70}
