/* Browsing shell only: game documents keep their own focused header and controls. */
.mobile-navigation, .achievements-title-mobile, .mobile-account-back { display:none; }
@media (max-width:700px), (max-height:500px) and (pointer:coarse) {
  html:has(.mobile-navigation) { scroll-behavior:auto; scroll-padding-bottom:calc(88px + env(safe-area-inset-bottom, 0px)); }
  .site-shell { padding-bottom:calc(88px + env(safe-area-inset-bottom, 0px)); }
  .mobile-navigation {
    position:fixed; z-index:20; inset:auto 0 0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
    padding:6px max(12px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    border-top:1px solid #d7d4cd; background:#f6f4ef; box-shadow:0 -4px 18px #252a3906;
  }
  .mobile-tab { min-height:54px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; color:#454b59; font-size:11px; font-weight:600; border-radius:12px; }
  .mobile-tab-icon { width:52px; height:30px; display:grid; place-items:center; border-radius:16px; }
  .mobile-tab-icon img { width:23px; height:23px; }
  .mobile-tab.is-current { color:#252a39; font-weight:750; }
  .mobile-tab.is-current .mobile-tab-icon { background:#dfd4ed; }
  .mobile-tab:active { background:#eae5ed; }
  .mobile-tab:focus-visible { outline-offset:-2px; }
  .site-header.site-header:has(garden-guest) { padding-block:16px 0; gap:0; border-bottom:1px solid #d7d4cd; }
  .site-header .header-brand-group { width:100%; justify-content:space-between; padding-bottom:8px; border:0; gap:8px; }
  .site-header .brand { min-height:52px; font-size:clamp(25px, 7.8vw, 32px); letter-spacing:-1.25px; gap:10px; }
  .site-header .brand .logo-mark { width:34px; height:34px; gap:4px; }
  .site-header .guest-badge { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 8px; }
  .site-header .guest-badge .guest-identity { gap:0; min-height:44px; }
  .site-header .guest-badge .guest-identity > div { display:flex; flex-direction:column; align-items:flex-start; width:100%; gap:0; }
  .site-header .guest-badge .guest-name { min-width:0; }
  .site-header .guest-badge .guest-name strong { font-size:12px; overflow-wrap:anywhere; }
  .site-header .guest-badge .guest-achievements-link { min-height:44px; }
  .site-header .guest-badge .guest-caption { flex-shrink:0; font-size:11px; font-weight:500; }
  .site-header .guest-badge :is(.guest-flower,.guest-tag,.guest-sync-hint) { display:none; }
  .site-header .guest-badge .guest-claim-link { display:inline-flex; min-height:44px; padding:0 10px; white-space:nowrap; }
  .site-header .guest-badge .guest-label-full { display:none; }
  .site-header .guest-badge .guest-label-compact { display:inline; }
  .site-header .guest-pending .guest-identity { min-height:44px; }
  .filter-bar { display:none; }
  .home-page .filter-bar { display:block; border:0; padding:0; margin:0 0 24px; }
  .home-page .filter-bar .filters { display:block; }
  .home-page .filters > .filter { display:none; }
  .home-page .category-filters { display:flex; gap:8px; justify-content:flex-start; padding:5px; margin:-5px; overflow-x:auto; scrollbar-width:thin; scrollbar-color:#c8c1ce transparent; overscroll-behavior-x:contain; }
  .home-page .category-filters .filter { min-height:44px; padding:10px 16px; font-size:14px; font-weight:550; border:1px solid #d3d2ca; border-radius:22px; background:#fffdf8; }
  .home-page .category-filters .filter.selected { border-color:#93ac99; background:#dfebdf; color:#304b38; box-shadow:inset 0 -2px #93ac99; }
  .home-page .collection { padding-top:24px; }
  .achievements-title-mobile { display:inline; }
  .achievements-heading p:not(.eyebrow) { display:none; }
  .mobile-account-back { display:inline-flex; align-items:center; min-height:44px; margin-bottom:12px; font-size:13px; font-weight:600; text-decoration:underline; text-underline-offset:4px; }
  .achievements-title-full { display:none; }
  .achievements-page .achievement-storage-note { margin-bottom:20px; }
  .achievements-heading, .leaderboard-heading { margin:24px 0 20px; }
  .achievements-heading h1, .leaderboard-heading h1 { font-size:30px; letter-spacing:-1px; }
  .site-footer { padding-bottom:12px; }
  .account-page { padding-top:24px; }
  .account-copy .logo-mark, .account-copy .account-benefits, .account-copy .planned-label { display:none; }
  .account-copy h1 { font-size:30px; }
  .account-layout { gap:24px; }
}

/* Saved games form one aligned mobile list, with quieter copy and larger boards. */
@media (max-width:700px), (max-height:500px) and (pointer:coarse) {
  .home-page > .garden-note { display:none; }
  .site-footer { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:8px 12px; padding:16px 0 12px; }
  .site-footer .footer-brand { display:none; }
  .site-footer .garden-feedback-link { padding:10px 0; min-height:44px; font-size:13px; }
  .site-footer .feedback-link-full { display:inline; }
  .site-footer .feedback-link-compact { display:none; }
  .continue-playing { margin-bottom:24px; }
  .resume-heading { display:block; margin:24px 0 4px; color:#454b59; font-size:11px; letter-spacing:1px; }
  .continue-playing .resume-game { display:grid; grid-template-columns:min(46%,180px) minmax(0,1fr); align-items:center; gap:16px; padding:16px 0; }
  .continue-playing .resume-postcard { width:100%; margin:0; padding:5px; transform:none; border-radius:9px; box-shadow:0 5px 12px #171c2a12; }
  .continue-playing .resume-board { border-radius:5px; aspect-ratio:1.2; }
  .continue-playing .resume-bookmark,
  .continue-playing .resume-copy > p,
  .continue-playing .resume-title-full { display:none; }
  .continue-playing .resume-title-mobile { display:block; }
  .continue-playing .resume-copy h2 { font-size:17px; line-height:1.25; letter-spacing:-.4px; margin:0 0 12px; overflow-wrap:anywhere; }
  .resume-variant { display:block; font-size:12px; letter-spacing:0; font-weight:550; color:#454b59; margin-top:4px; }
  .continue-playing .resume-button { width:100%; min-height:44px; padding:10px 8px; font-size:13px; }
  .resume-more summary { min-height:48px; padding:16px 0; font-size:12px; }
  .resume-more > div { gap:0; }
}

/* Give daily progress its own full-width row instead of squeezing it beside the flower. */
@media (max-width:700px), (max-height:500px) and (pointer:coarse) {
  .home-garden-today { grid-template-columns:36px minmax(0,1fr); gap:12px; padding:16px; border-radius:16px; background:linear-gradient(120deg,#edf0e8,#f0eaf4); }
  .daily-bloom-copy { display:contents; }
  .daily-bloom-illustration { grid-column:1; grid-row:1; height:48px; align-self:center; background:none; }
  .daily-bloom-illustration .garden-plant { flex:0 0 54px; height:98px; margin:0; transform:scale(.58) rotate(-8deg); transform-origin:50% 100%; }
  .daily-bloom-heading { grid-column:2; grid-row:1; align-items:center; gap:8px; max-width:none; }
  .daily-bloom-heading h2 { font-size:19px; line-height:1.25; letter-spacing:-.5px; }
  .bloom-title-full { display:none; }
  .bloom-title-mobile { display:inline; }
  .daily-bloom-count { font-size:12px; }
  .daily-bloom-copy > p { grid-column:1 / -1; margin:0; font-size:13px; line-height:1.5; }
  .daily-bloom-steps { grid-column:1 / -1; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; max-width:none; }
  .daily-bloom-step { align-items:center; justify-content:center; min-height:66px; padding:8px 2px; border:1px solid #b7b6bd; border-radius:10px; background:#fffdf8; font-size:12px; }
  .daily-bloom-step > span:last-child { flex-direction:column; gap:7px; }
  .daily-bloom-step .bloom-step-symbol { font-size:20px; }
  .bloom-step-track { display:none; }
  .daily-bloom-step.complete { background:#e0eee4; border-color:#608970; color:#245846; }
  .daily-bloom-actions { grid-column:1 / -1; display:block; margin:2px 0 0; }
  .daily-bloom-play { width:100%; min-height:44px; padding:10px 12px; font-size:13px; }
  .daily-bloom-garden { display:none; }
}

/* Your garden: open progress rows flow into the flower collection. */
@media (max-width:700px), (max-height:500px) and (pointer:coarse) {
  .achievements-page { padding:0 0 20px; }
  .achievements-heading { margin:22px 0 10px; }
  .achievements-heading .eyebrow { display:none; }
  .achievements-heading h1 { margin:0; font-size:28px; line-height:1.2; }
  .achievements-page .achievement-storage-note { margin:0 0 18px; font-size:12px; line-height:1.5; }
  .achievement-stats { grid-template-columns:1fr; gap:0; margin:0 0 24px; }
  .achievement-stats .achievement-stat { display:flex; flex-direction:row; align-items:center; justify-content:flex-start; grid-row:auto; gap:14px; padding:16px 0; border:0; border-radius:0; background:none; text-align:left; }
  .achievement-stats .achievement-stat:not(.stat-blooms):not(:last-child) { border-bottom:1px solid #dedbd3; }
  .achievement-stats .stat-illustration { width:36px; height:36px; flex:0 0 36px; background:none; border-radius:0; }
  .achievement-stats .stat-illustration::before,.achievement-stats .stat-illustration::after { display:none; }
  .achievement-stats .stat-copy { display:grid; flex:1; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:6px 12px; width:auto; }
  .achievement-stats .stat-label { font-size:13px; line-height:1.4; min-height:0; }
  .achievement-stats .stat-value { font-size:27px; line-height:1.2; text-align:right; }
  .achievement-stats .stat-unit { display:block; margin:2px 0 0; font-size:11px; }
  .achievement-stats .stat-copy small { grid-column:1/-1; font-size:12px; line-height:1.5; max-width:none; }
  .achievement-stats .stat-blooms { padding:18px 0 22px; gap:18px; background:radial-gradient(ellipse at 18% 48%,#eae1f280,transparent 68%); }
  .achievement-stats .stat-blooms .stat-illustration { width:68px; height:68px; flex-basis:68px; }
  .achievement-stats .award-flower { transform:scale(.8); }
  .achievement-stats .stat-blooms .stat-label { font-size:15px; }
  .achievement-stats .stat-blooms .stat-value { font-size:36px; }
  .achievements-page .garden-collection { margin:26px 0; }
  .achievements-page .garden-section-heading { gap:6px; }
  .achievements-page .garden-section-heading .eyebrow { display:none; }
  .achievements-page .garden-section-heading h2 { margin:0; font-size:22px; letter-spacing:-.6px; }
  .achievements-page .garden-intro { font-size:13px; line-height:1.55; margin:12px 0; }
  .achievements-page .garden-scene { padding-top:12px; }
  .achievements-page .personal-garden-plot { min-height:140px; margin-top:8px; }
  .achievements-page .garden-week { padding:18px 0; gap:12px; }
  .achievements-page .garden-week strong { font-size:14px; }
  .achievements-page .garden-week p { font-size:12px; line-height:1.5; }
  .achievements-page .achievement-section { margin-top:28px; }
  .achievements-page .achievement-section h2 { font-size:22px; letter-spacing:-.6px; }
  .milestone-heading { flex-direction:column; align-items:flex-start; gap:4px; margin-bottom:8px; }
  .milestone-heading > span { text-align:left; font-size:12px; }
  .milestone-grid { grid-template-columns:1fr; }
  .milestone { flex-direction:row; align-items:center; gap:14px; padding:14px 0; }
  .milestone-art { width:44px; height:44px; flex-basis:44px; }
  .milestone h3 { margin:0 0 4px; font-size:14px; }
  .milestone p { color:#454b59; font-size:12px; line-height:1.5; }
  .milestone-status { margin-top:5px; font-size:11px; }
  .achievement-section-heading { margin-bottom:10px; }
  .achievement-section-heading .eyebrow { display:none; }
  .achievements-page .records-note { font-size:12px; line-height:1.55; margin:10px 0 16px; }
  .achievement-records tr { gap:10px 16px; padding:16px 0; }
  .achievement-records td { min-width:0; overflow-wrap:anywhere; }
  .achievement-records a { display:inline-flex; align-items:center; min-height:44px; font-size:15px; line-height:1.35; }
  .record-category { margin-top:0; }
}

/* Scores keeps personal progress concise and gives each daily a clear results group. */
@media (max-width:700px), (max-height:500px) and (pointer:coarse) {
  .leaderboards-page { padding:0 0 20px; }
  .leaderboard-heading { margin:22px 0 16px; gap:6px; }
  .leaderboard-heading .eyebrow,
  .leaderboard-heading p:not(.eyebrow) { display:none; }
  .leaderboard-heading h1 { margin:0; font-size:28px; line-height:1.2; letter-spacing:-1px; }
  .personal-date { font-size:11px; line-height:1.5; }
  .leaderboard-personal { margin-bottom:24px; }
  .personal-highlights { gap:10px; padding:0; background:none; }
  .personal-milestone { position:relative; align-items:flex-start; gap:10px; padding:14px 12px; border:1px solid #dcd7df; border-radius:14px; background:#fffdf8; }
  .personal-milestone:first-child { background:#eee7f4; }
  .personal-milestone > div { gap:8px; min-width:0; }
  .personal-milestone .award-flower { position:absolute; top:12px; right:10px; width:74px; margin:0; transform:scale(.32); transform-origin:100% 0; }
  .personal-milestone img { position:absolute; top:12px; right:10px; width:24px; height:24px; }
  .personal-milestone span:not(.award-flower,.award-petal,.award-centre) { display:block; min-height:34px; padding-right:24px; font-size:12px; line-height:1.4; }
  .personal-milestone strong { font-size:23px; line-height:1.3; letter-spacing:-.6px; white-space:nowrap; }
  .personal-trio { gap:5px; padding:14px; border:1px solid #c8c1ce; border-radius:14px; background:#f0eaf4; }
  .personal-trio > span:first-child { font-size:12px; }
  .personal-trio strong { font-size:17px; }
  .personal-trio-link { font-size:12px; line-height:1.5; }
  .personal-bests { margin:10px 0 0; }
  .personal-bests a { gap:10px; font-size:13px; }
  .personal-bests strong { max-width:45%; font-size:12px; overflow-wrap:anywhere; }
  .public-standings-heading { gap:7px; padding-top:20px; margin-bottom:14px; }
  .public-standings-heading h2 { margin:0; font-size:22px; letter-spacing:-.6px; }
  .public-standings-heading p { display:none; }
  .verified-pill { gap:5px; font-size:11px; }
  .verified-pill > span { font-size:13px; }
  .leaderboard-controls { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; padding-bottom:0; margin-bottom:20px; border:0; }
  .leaderboard-controls label { width:100%; gap:6px; }
  .leaderboard-controls label > span { font-size:11px; }
  .leaderboard-controls select { background:#fffdf8; border-radius:10px; font-size:12px; padding:10px 24px 10px 10px; }
  .rank-refresh { grid-column:2; grid-row:1; align-self:end; padding:10px 8px; font-size:12px; }
  .leaderboard-caption { grid-column:1/-1; margin:0; font-size:11px; line-height:1.5; }
  .leaderboard-grid { gap:14px; }
  .standings { padding:14px; border:1px solid #dcd7df; border-radius:14px; background:#fffdf8; }
  .standings-heading { gap:8px; margin-bottom:12px; }
  .standings-identity { gap:9px; }
  .leaderboards-page .standings .game-brand-emblem { flex-basis:36px; width:36px; height:36px; border-radius:12px; }
  .leaderboards-page .standings .game-brand-icon { width:27px; height:27px; }
  .standings-heading h3 { font-size:17px; line-height:1.25; letter-spacing:-.3px; }
  .standings-heading p { font-size:11px; line-height:1.5; }
  .standings-play { min-width:44px; justify-content:center; font-size:12px; padding:0 9px; gap:4px; }
  .standings-table th { font-size:11px; letter-spacing:0; padding:10px 6px; }
  .standings-table th:first-child { width:42px; }
  .standings-table th:last-child { width:74px; }
  .standings-table td { padding:12px 6px; }
  .rank-player { font-size:13px; }
  .rank-number,.rank-value { font-size:14px; }
  .rank-value { overflow-wrap:anywhere; }
  .rank-tag { font-size:10px; }
  .standings-empty { padding:12px 0 0; font-size:12px; line-height:1.6; }
}

/* Daily discovery uses compact artwork, full-width goals, and a clear action row. */
@media (max-width:700px), (max-height:500px) and (pointer:coarse) {
  .daily-hub { padding:0 0 20px; }
  .daily-hub-heading { display:block; margin:22px 0 16px; }
  .daily-hub-heading .eyebrow,
  .daily-hub-heading > div:first-child > p:not(.eyebrow) { display:none; }
  .daily-hub-heading h1 { font-size:28px; line-height:1.2; letter-spacing:-1px; margin:0 0 12px; }
  .daily-hub-date { flex-direction:row; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:6px 12px; text-align:left; font-size:11px; line-height:1.5; }
  .daily-hub-date strong { font-size:12px; font-weight:550; }
  .daily-hub-date [role="timer"] { font-variant-numeric:tabular-nums; }
  .daily-trio-reminder { margin:0; gap:10px; font-size:12px; line-height:1.5; }
  .daily-trio-reminder img { width:28px; height:28px; }
  .daily-trio-reminder .trio-arrow { display:none; }
  .daily-hub .daily-feature-grid { grid-template-columns:1fr; gap:12px; margin-top:16px; }
  .daily-feature { display:grid; grid-template-columns:90px minmax(0,1fr); align-items:center; border-radius:14px; background:#fffdf8; }
  .daily-feature:hover { transform:none; }
  .daily-feature-art { grid-column:1; grid-row:1; width:72px; height:76px; min-height:0; margin:12px 0 12px 12px; border-radius:10px; }
  .daily-feature-category { top:5px; left:5px; padding:3px 6px; font-size:10px; line-height:1.2; }
  .daily-feature-copy { display:contents; }
  .daily-feature-title { grid-column:2; grid-row:1; gap:8px; padding:12px 12px 12px 4px; }
  .daily-feature-title h3 { font-size:18px; line-height:1.25; letter-spacing:-.4px; overflow-wrap:anywhere; }
  .daily-feature .daily-tick { width:24px; height:24px; font-size:17px; }
  .daily-feature-copy > p { grid-column:1/-1; margin:0; padding:0 12px 12px; font-size:12px; line-height:1.5; }
  .daily-feature-action { grid-column:1/-1; align-items:center; min-height:44px; padding:10px 12px; border-top:1px solid #e4deea; background:#f1ebf6; font-size:12px; line-height:1.5; }
  .daily-table-heading { margin-top:28px; gap:6px; }
  .daily-table-heading h2 { font-size:22px; line-height:1.25; letter-spacing:-.6px; }
  .daily-table-heading > span { font-size:11px; line-height:1.5; }
  .daily-save-note { font-size:12px; line-height:1.55; margin:12px 0; }
  .daily-table tr { padding:16px 0; gap:10px 12px; }
  .daily-game-cell > a { display:inline-flex; align-items:center; min-height:44px; font-size:15px; line-height:1.35; }
  .daily-game-cell p { margin:6px 0 0; }
  .daily-score-cell { min-width:0; overflow-wrap:anywhere; }
  .daily-table .mobile-cell-label { font-size:11px; }
  .daily-table .daily-tick { width:26px; height:26px; font-size:18px; }
  .daily-status-cell { align-self:start; padding-top:9px !important; }
  .daily-play-cell a { justify-content:center; min-width:56px; min-height:44px; padding:8px 10px; border:1px solid #b7aac4; border-radius:9px; background:#eee7f4; }
  .daily-hub-footer { font-size:12px; line-height:1.6; margin:22px 0 0; }
}

/* Daily table rows become compact, labelled summaries on phones. */
@media (max-width:700px), (max-height:500px) and (pointer:coarse) {
  .daily-table-heading{align-items:flex-start;flex-direction:column;gap:10px}
  .daily-completion-summary{padding:6px 10px}
  .daily-table-surface{border:0;background:none;border-radius:0;overflow:visible}
  .daily-table thead{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
  .daily-table tbody{display:block}
  .daily-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:16px;margin-bottom:12px;border:1px solid #dfdcd4;border-radius:16px;background:#fffdf8}
  .daily-table td,.daily-table td:first-child,.daily-table td:last-child{padding:0;border:0;text-align:left;min-width:0}
  .daily-game-cell{grid-column:1/-1;width:auto;padding-bottom:6px!important}
  .daily-game-cell>a.daily-game-identity{gap:12px;font-size:16px;min-height:44px}
  .daily-hub .daily-game-identity .game-brand-emblem{flex-basis:40px;width:40px;height:40px;border-radius:13px}
  .daily-hub .daily-game-identity .game-brand-icon{width:29px;height:29px}
  .daily-game-cell p{margin:10px 0 4px;font-size:12px}
  .daily-status-cell{grid-column:1;grid-row:2;padding-top:0!important}
  .daily-state{font-size:11px}
  .daily-state.complete{padding:3px 7px}
  .daily-score-cell{grid-column:1;grid-row:3;font-size:12px}
  .daily-table .mobile-cell-label{display:inline;font:11px system-ui,sans-serif;margin-right:6px}
  .daily-play-cell{grid-column:2;grid-row:2/span 2;align-self:center!important}
  .daily-play-cell .daily-play-link{padding:0 13px;min-height:44px;border-radius:24px}
}

/* Account entry stays focused on the form on phones. */
.account-title-mobile { display: none; }
@media (max-width: 700px), (max-height: 500px) and (pointer: coarse) {
  .site-header.account-header > nav { display: none; }
  .site-header.account-header .brand { font-size: 25px; min-height: 44px; }
  .site-header.account-header .brand .logo-mark { width: 28px; height: 28px; }
  .site-header.account-header .header-brand-group { padding-bottom: 12px; }
  .account-page { padding: 12px 0 28px; min-height: 0; }
  .account-page .mobile-account-back { margin-bottom: 14px; }
  .account-layout { gap: 20px; max-width: 440px; }
  .account-copy > .eyebrow,
  .account-copy > p:not(.eyebrow),
  .account-title-desktop,
  .account-panel > .eyebrow,
  .account-panel .auth-intro-heading { display: none; }
  .account-title-mobile { display: inline; }
  .account-copy h1 { margin: 0; font-size: 30px; line-height: 1.15; letter-spacing: -1px; }
  .account-panel { padding: 0; border: 0; background: none; box-shadow: none; border-radius: 0; }
  .account-panel .guest-claim .guest-identity { padding: 0 0 18px; border-radius: 0; background: none; border-bottom: 1px solid #d7d4cd; gap: 10px; }
  .account-panel .guest-flower { width: 32px; height: 32px; font-size: 23px; }
  .account-panel .guest-caption { font-size: 12px; }
  .account-panel .guest-claim .guest-name strong { font-size: 16px; }
  .account-panel .guest-tag { font-size: 11px; }
  .account-panel .auth-intro { margin: 18px 0 22px; font-size: 15px; line-height: 1.6; }
  .account-panel .auth-form, .account-panel .auth-options { gap: 12px; }
  .account-panel .guest-details input { min-height: 48px; border-radius: 10px; }
  .account-panel .guest-details button { min-height: 48px; border-radius: 10px; font-size: 15px; }
  .account-panel .auth-divider { font-size: 13px; }
  .account-panel .auth-preview { padding: 0; background: none; border-radius: 0; }
  .account-panel .auth-message:empty { margin: 0; }
  .account-panel .guest-play { margin-top: 12px; font-size: 14px; }
}

/* iPhone review: fewer repeated introductions, comfortable lists and disclosures. */
.scores-title-mobile { display:none; }
.achievement-disclosure > summary { cursor:pointer; list-style:none; display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:52px; }
.achievement-disclosure > summary::-webkit-details-marker { display:none; }
.achievement-disclosure > summary::after { content:"+"; flex-shrink:0; font:500 24px/1 system-ui,sans-serif; color:#72538d; }
.achievement-disclosure[open] > summary::after { content:"−"; }
.achievement-disclosure > summary:focus-visible { outline:3px solid #72538d; outline-offset:4px; border-radius:6px; }
@media (max-width:700px), (max-height:500px) and (pointer:coarse) {
  .site-shell { padding-left:max(20px,env(safe-area-inset-left)); padding-right:max(20px,env(safe-area-inset-right)); }
  .site-header .brand { font-size:26px; min-height:44px; }
  .site-header .brand .logo-mark { width:30px; height:30px; }
  .site-header.main-section-header .header-brand-group { gap:4px; }
  .site-header.main-section-header .brand { font-size:clamp(30px,10.06vw,33.8px); min-height:57.2px; letter-spacing:-1.625px; gap:6px; }
  .site-header.main-section-header .brand .logo-mark { width:39px; height:39px; gap:5.2px; }
  .site-header .guest-badge .guest-identity > div { position:relative; padding-top:12px; }
  .site-header .guest-badge .guest-caption { position:absolute; top:0; font-size:10px; }
  .site-header .guest-badge .guest-name strong { font-size:13px; }
  .site-header .guest-badge .guest-claim-link { align-self:center; }
  .site-header .guest-badge.guest-signed-in { padding-block:6px; }
  .site-header .guest-badge.guest-signed-in .guest-identity > div { flex-direction:row;align-items:baseline;gap:6px;padding:0;min-width:0; }
  .site-header .guest-badge.guest-signed-in .guest-caption { position:static;font-size:13px;line-height:1.5; }
  .site-header .guest-badge.guest-signed-in .guest-name { min-width:0; }
  .site-header .guest-badge.guest-signed-in .guest-name strong { display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.5;text-decoration:underline;text-decoration-color:#755592;text-decoration-thickness:1px;text-underline-offset:3px; }
  .home-page .collection { padding-top:20px; }
  .home-page .collection-heading { margin-bottom:16px; }
  .home-page .collection-note { display:none; }
  .home-page .collection-heading h1 { font-size:26px; line-height:1.2; letter-spacing:-.8px; }
  .home-page .filter-bar { margin-bottom:18px; }
  .home-page .category-filters { scrollbar-width:none; }
  .home-page .category-filters::-webkit-scrollbar { display:none; }
  .home-page .category-filters .filter { padding-inline:14px; }
  .resume-heading { margin-top:16px; }
  .continue-playing { margin-bottom:18px; }
  .continue-playing .resume-game { grid-template-columns:112px minmax(0,1fr); padding:12px 0; }
  .resume-more summary { padding-block:12px; }
  .home-garden-today { gap:8px 10px; margin-bottom:24px; padding:14px; }
  .daily-bloom-copy > p { display:none; }
  .daily-bloom-step { min-height:44px; padding:7px 4px; }
  .daily-bloom-step > span:last-child { flex-direction:row; gap:5px; }
  .daily-bloom-step .bloom-step-symbol { font-size:17px; }
  .game-grid { gap:22px 14px; }
  .game-card .card-cover { border-radius:16px; }
  .game-card .card-info { padding:10px 2px 0; }
  .game-card .card-title-row { align-items:flex-start; gap:4px; }
  .game-card .card-title-row h3 { font-size:17px; line-height:1.3; letter-spacing:-.4px; }
  .game-card .card-title-row > .arrow, .game-card .card-info > p,
  .game-card .game-meta, .desktop-card-word { display:none; }
  .game-card .game-variant { display:block; font-size:12px; line-height:1.5; font-weight:550; color:#454b59; }
  .game-card .trio-card-label { font-size:10px; padding:5px 7px; }
  .game-card:active .card-cover { opacity:.82; }
  .daily-feature-grid { gap:10px; }
  .daily-hub .daily-feature { display:grid; grid-template-columns:64px minmax(0,1fr); padding:12px; gap:0 12px; border-radius:14px; }
  .daily-hub .daily-feature-art { width:64px; height:64px; min-height:0; margin:0; grid-column:1; grid-row:1 / span 2; border-radius:12px; }
  .daily-hub .daily-feature-category { display:none; }
  .daily-hub .daily-feature-title { padding:0; min-height:32px; }
  .daily-hub .daily-feature-title h3 { font-size:16px; }
  .daily-hub .daily-feature-copy > p { display:none; }
  .daily-hub .daily-feature-action { grid-column:2; padding:0; min-height:32px; border:0; background:none; font-size:12px; }
  .daily-save-note, .daily-hub-footer { display:none; }
  .daily-table-heading { margin-bottom:14px; }
  .daily-table tr { padding:14px 0; margin:0; border:0; border-bottom:1px solid #dedbd3; border-radius:0; background:none; gap:4px 12px; }
  .daily-table .daily-game-cell { grid-column:1; grid-row:1; padding:0!important; }
  .daily-game-cell > p, .daily-game-name > small { display:none; }
  .daily-game-cell > a.daily-game-identity { font-size:15px; gap:10px; }
  .daily-table .daily-status-cell { grid-column:1; grid-row:2; margin-left:50px; }
  .daily-table tr:not(.daily-row-complete) .daily-score-cell { display:none; }
  .daily-table .daily-score-cell { margin-left:50px; }
  .daily-table .daily-play-cell { grid-row:1 / span 3; }
  .scores-title-desktop, .leaderboard-heading .personal-date,
  .leaderboard-personal .personal-highlights { display:none; }
  .scores-title-mobile { display:inline; }
  .leaderboard-personal { margin:0; }
  .leaderboard-personal:has(.personal-bests) { margin-bottom:20px; }
  .public-standings-heading { border:0; padding-top:0; margin:0 0 12px; }
  .public-standings-heading > div { display:none; }
  .leaderboard-controls select { font-size:16px; }
  .standings { border-radius:14px; padding:12px; }
  .standings-heading { margin-bottom:8px; }
  .standings-empty { padding:10px 0 0; }
  .standings-empty-mark, .standings-empty p > span { display:none; }
  .standings-empty p strong { font-size:12px; font-weight:500; }
  .achievement-stats .stat-copy small { display:none; }
  .achievement-stats .achievement-stat { padding-block:14px; }
  .achievement-stats .stat-blooms { padding-block:16px; }
  .achievement-disclosure { border-top:1px solid #dedbd3; padding-top:8px; }
  .achievement-records + .achievement-more { border-top:0; }
  .achievement-disclosure > summary { flex-direction:row; margin:0; flex-wrap:wrap; position:relative; padding:10px 32px 10px 0; gap:6px; }
  .achievement-disclosure > summary::after { position:absolute; right:2px; top:18px; }
  .achievement-disclosure .milestone-heading > span { width:100%; }
  .site-shell :is(a,button,summary) { touch-action:manipulation; -webkit-tap-highlight-color:transparent; }
  .site-shell :is(input,select,textarea) { font-size:16px; }
}

/* Signed-in settings replace the account invitation with two quiet sections. */
.account-signed-title { display:none; }
.account-page:has(.guest-signed-in) .account-layout { display:block;max-width:860px;margin:0 auto; }
.account-page:has(.guest-signed-in) .account-copy > :not(.account-signed-title) { display:none; }
.account-page:has(.guest-signed-in) .account-signed-title { display:block;margin:0 0 28px;font-size:36px;letter-spacing:-1.2px;line-height:1.2; }
.account-panel:has(.guest-signed-in) { padding:0;background:none;border:0;border-radius:0;box-shadow:none; }
.account-panel:has(.guest-signed-in) > .eyebrow { display:none; }
.account-panel .guest-signed-in.guest-claim > .guest-identity { padding:0 0 24px;background:none;border:0;gap:12px; }
.account-panel .guest-signed-in .guest-flower { width:44px;height:44px;font-size:28px; }
.account-panel .guest-signed-in .guest-name strong { font-size:22px; }
.account-settings-grid { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px; }
.account-settings-section { min-width:0;border-top:1px solid #d7d4cd;padding-top:24px; }
.account-panel .account-settings-section h2 { margin:0 0 8px;font-size:22px;line-height:1.3;letter-spacing:-.4px; }
.account-panel .settings-description { margin:0 0 24px;font-size:14px; }
.account-panel .account-settings .auth-form { gap:10px; }
.account-panel .account-settings .auth-primary { justify-self:start;margin-top:8px;min-width:140px; }
.account-panel .account-settings .auth-message { margin:4px 0 0; }
.account-panel .account-settings .auth-message:empty { display:none; }
.account-facts { margin:24px 0 0; }
.account-facts dt { color:#454b59;font-size:13px;font-weight:600;margin-top:24px; }
.account-facts dt:first-child { margin-top:0; }
.account-facts dd { margin:6px 0 0;font-size:15px;line-height:1.6;color:#252a39;overflow-wrap:anywhere; }
.account-session-actions { display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:36px;padding-top:20px;border-top:1px solid #d7d4cd; }
.account-panel .account-session-actions .guest-play { margin:0;font-size:14px; }
@media (max-width:700px), (max-height:500px) and (pointer:coarse) {
  .account-page:has(.guest-signed-in) .account-layout { max-width:440px; }
  .account-page:has(.guest-signed-in) .account-signed-title { font-size:30px;margin-bottom:24px; }
  .account-settings-grid { grid-template-columns:minmax(0,1fr);gap:28px; }
  .account-settings-section { padding-top:20px; }
  .account-panel .account-settings-section h2 { font-size:20px; }
  .account-panel .settings-description { margin-bottom:18px; }
  .account-panel .account-settings .auth-primary { justify-self:stretch; }
  .account-session-actions { margin-top:28px;padding-top:16px; }
}

/* Keep a useful preview visible, with the rest behind a native disclosure. */
.achievement-more { margin-top:12px; }
.achievement-more > summary { justify-content:flex-start;gap:12px;min-height:44px;color:#49355e;font-size:14px;font-weight:600; }
.achievement-more .disclosure-expanded, .achievement-more[open] .disclosure-collapsed { display:none; }
.achievement-more[open] .disclosure-expanded { display:inline; }
.achievement-more[open] > summary { margin-bottom:12px; }
