.play-context{font-size:9px;line-height:1.1;color:#79520b;max-width:130px;text-align:center}.date-group{gap:4px}.potential{display:block;font-size:11px;color:var(--muted);letter-spacing:0}.section-heading{align-items:center}.quiet-button{background:none;border:0;padding:8px 3px;color:var(--muted);text-decoration:underline;text-underline-offset:3px;font-size:13px}.quiet-button:hover{color:var(--blue)}#abandon-button{display:block;margin:0 auto;font-size:11px;padding:5px}.game.is-finished .action-area{grid-row:2}.game.is-finished .attempts{grid-row:3}.game.is-finished .quick-legend{display:none}.game.is-finished .result{margin-top:0}.game.is-finished .feedback{display:none}.result-points{margin:4px 0 12px;font-size:21px;font-weight:700;color:var(--blue)}.result .fineprint{font-size:12px}.result-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:5px 14px}.result .small-button{font-size:13px;min-height:40px}.result .quiet-button{font-size:12px}.result .chapter-link{margin-bottom:8px}.account-sheet{width:min(520px,calc(100vw - 28px));max-height:calc(100dvh - 30px)}.account-sheet .dialog-content{max-height:calc(100dvh - 135px);overflow:auto;padding-bottom:28px}.account-tabs{display:flex;gap:8px}.rank-tab{flex:1;border:1px solid var(--line);border-radius:4px;background:#f7f1e6;padding:11px 8px;font-size:14px}.rank-tab[aria-pressed=true]{background:var(--blue);border-color:var(--blue);color:white}.rank-rule{font-size:12px;color:var(--muted);margin:9px 0 18px}.rank-row{display:grid;grid-template-columns:30px minmax(0,1fr);gap:1px 10px;align-items:center;border-bottom:1px solid #ded4c3;padding:12px 8px}.rank-position{grid-row:span 2;font-family:var(--display);font-size:24px;text-align:center}.rank-name{font-weight:600;overflow-wrap:anywhere}.rank-score{grid-column:2;font-size:13px;font-variant-numeric:tabular-nums;color:var(--muted)}.rank-1{background:#f9ecc3;border-left:4px solid #bd9118}.rank-2{background:#ecefed;border-left:4px solid #9ba5a6}.rank-3{background:#efdfd0;border-left:4px solid #b68058}.rank-row.is-me{outline:2px solid var(--blue);outline-offset:-2px}.calendar-month{font:400 26px var(--display);text-transform:uppercase;margin-top:0}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.weekday{text-align:center;color:var(--muted);font-size:11px}.calendar-day{aspect-ratio:1/1.15;padding:5px 1px;border:1px solid var(--line);border-radius:4px;background:#fffaf0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.calendar-day strong{font-size:15px}.calendar-symbol{font-size:15px;line-height:1}.calendar-day.is-today{outline:2px solid var(--blue);outline-offset:1px}.calendar-day.won{background:#d9e5d8;color:#15533d}.calendar-day.caught_up{background:#e7dfed;color:#583c79}.calendar-day.progress{background:#ffe3a6;color:#79520b}.calendar-day.failed{background:#e2ddd4;color:#69635d}.calendar-day:disabled{opacity:.38}.calendar-legend{display:flex;flex-wrap:wrap;gap:7px 12px;font-size:11px;margin:15px 0}.calendar-legend .won{color:#15533d}.calendar-legend .caught_up{color:#583c79}.calendar-legend .progress{color:#79520b}.score-card{font-weight:700;color:var(--blue);padding:14px 0;border-block:1px solid var(--line);font-size:17px}.profile-nickname{font:600 24px var(--serif);margin:0}.history-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}.history-row .fineprint{display:block;font-size:11px;margin:3px 0}.history-score{display:flex;flex-direction:column;text-align:right;flex-shrink:0}.history-score strong{white-space:nowrap}.history-score .quiet-button{font-size:11px;padding:3px 0}.profile-controls{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:20px}.migration-note{font-size:12px;background:#efe4cd;padding:12px}.danger-text{color:#923e32}.inline-error{font-size:13px;color:#923e32;min-height:1.4em;overflow-wrap:anywhere}.nickname-sheet{background:#fff1c3;width:min(430px,calc(100vw - 28px))}.nickname-sheet input,#delete-confirmation{width:100%;border:1px solid #c5b188;border-radius:4px;padding:12px;background:#fffdf6;color:var(--ink);font-size:16px;margin-top:6px}.nickname-sheet label{font-size:13px;font-weight:600}.button-row{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:16px}.button-row .small-button{min-width:120px}.google-invite{display:block;margin:12px auto}.menu-links button{min-height:42px}#google-signin{min-height:44px;margin:18px 0}.sheet{max-height:calc(100dvh - 24px)}.nickname-sheet .dialog-content{overflow-y:auto;max-height:calc(100dvh - 100px)}@media(max-width:360px){.calendar-grid{gap:4px}.calendar-day strong{font-size:13px}.rank-score{font-size:12px}.account-sheet .dialog-content{padding-inline:16px}}
/* Keep result actions above history, with the original blue share ticket. */
.result-points{grid-column:1;grid-row:3;font-size:18px;margin:5px 0}
.result.has-share .chapter-link{grid-row:4}
.result .share-button{grid-row:1 / span 4}
.result-actions,.result>.google-invite,.result>.fineprint{grid-column:1 / -1}
.result>.fineprint{text-align:center;margin:4px 0}
.nickname-sheet .dialog-heading{background:#fff1c3}
/* Full pages share the original header and the single advertising dock. */
.play-page{display:contents}
.game.is-page{display:block;height:auto;min-height:100%;padding-bottom:28px}
.game.is-page .masthead{grid-template-columns:minmax(0,1fr) auto;margin-bottom:22px}
.content-page{padding:0 2px 20px;min-width:0}
.page-back{display:inline-flex;align-items:center;min-height:42px;color:var(--blue);font-size:13px;text-underline-offset:4px}
.content-page h2{font:400 clamp(30px,7.5vw,40px)/1.15 var(--display);margin:10px 0;color:var(--ink)}
.content-page h2:focus,.masthead h1:focus{outline:none}
.page-intro{color:var(--muted);font-size:14px;line-height:1.5;margin:0 0 20px}
.page-links{display:flex;flex-wrap:wrap;gap:7px;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:22px}
.page-links a{min-height:38px;padding:9px 11px;border:1px solid var(--line);border-radius:4px;text-decoration:none;font-size:12px;color:var(--ink);background:#fff9ec}
.page-links a[aria-current=page],.rank-tab[aria-current=page]{background:var(--blue);border-color:var(--blue);color:#fff}
.menu-links a[aria-current=page]{color:var(--blue);font-weight:700;background:#e5e8f5}
.page-content{min-height:140px;padding-bottom:10px}
.page-content a.small-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:44px}
.page-content .rank-tab{display:flex;justify-content:center;align-items:center;text-align:center;text-decoration:none;color:var(--ink)}
.page-content .rank-tab[aria-current=page]{color:#fff}
.page-content .quiet-button{display:inline-block;min-height:38px}
.page-content .history-score .quiet-button{min-height:34px;display:inline-flex;align-items:center;justify-content:flex-end}
.page-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin:18px 0}
.page-actions .small-button{margin-top:0}
.page-eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.14em;color:var(--muted);margin:0 0 6px}
.profile-summary{padding:18px 0 8px}
.profile-summary .profile-nickname{overflow-wrap:anywhere;font-size:27px}
.profile-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
.profile-stat{display:flex;flex-direction:column;gap:2px;padding:20px 14px;background:#fff8e9;border:1px solid var(--line);border-radius:4px}
.profile-stat strong{font:400 38px/1.2 var(--display);color:var(--blue);font-variant-numeric:tabular-nums}
.profile-stat span{font-size:12px;color:var(--muted)}
.page-content .calendar-day{text-decoration:none;color:var(--ink)}
.page-content .calendar-day.won{color:#15533d}.page-content .calendar-day.caught_up{color:#583c79}
.page-content .calendar-day.progress{color:#79520b}.page-content .calendar-day.failed{color:#69635d}
.empty-page{padding:18px;background:#fff7e7;border:1px solid var(--line);border-radius:4px;font-size:14px}
.page-content a:focus-visible,.page-links a:focus-visible,.page-back:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
@media(max-width:360px){.page-links{gap:5px}.page-links a{padding-inline:9px}.profile-stat{padding:15px 12px}.content-page h2{font-size:29px}}
@media(max-width:799px){.game.is-page .masthead{grid-template-rows:44px;margin-bottom:14px}}

/* Google sign-in: yellow cards use official GIS buttons without replacing their branding. */
.google-login-card{width:100%;min-width:0;margin:12px 0;padding:14px;background:#ffedbd;border:1px solid #d9b964;border-radius:4px;text-align:left;color:var(--ink)}
.login-card-title{font-size:17px;line-height:1.3;font-weight:700;margin:0 0 7px}
.login-card-text{font-size:13px;line-height:1.45;margin:0 0 12px;color:#60533a}
.google-button-slot{min-height:44px;width:100%;max-width:360px;overflow:hidden}
.google-button-slot>div{max-width:100%}
.login-card-status{font-size:12px;line-height:1.4;margin:8px 0 0;overflow-wrap:anywhere}
.login-card-status:empty{display:none}
.google-login-card .quiet-button{margin-top:5px;min-height:36px}
.result,.result.has-share{grid-template-columns:minmax(0,1fr);gap:5px}
.result>*,.result.has-share .chapter-link,.result.has-share .share-button{grid-column:1;grid-row:auto}
.result .google-login-card{margin:7px 0}
.result-points{justify-self:start}
.result.has-share .share-button{width:100%;min-height:48px;flex-direction:row;gap:10px;border-radius:2px}
.result.has-share .share-button svg{width:23px;height:23px}
.result.has-share .share-button span{font-size:14px}
.personal-rank{margin-top:18px;border-top:1px solid var(--line);padding-top:12px}
.personal-rank h3{font-size:14px;margin:0 0 8px}
.app{grid-template-rows:auto minmax(0,1fr) auto}
.workspace{grid-row:2}.ad-dock{grid-row:3}
.feedback-zone{position:relative;min-width:0}.return-invitation{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:12px;padding:0 4px;background:#ffedbd;border:1px solid #d9b964;border-radius:2px;font-size:11px}
.return-invitation .quiet-button{padding:0;min-height:22px;font-size:11px;white-space:nowrap}
.login-confirmation{grid-row:1;position:relative;max-height:28dvh;overflow:auto;padding:9px 42px 9px 14px;background:#e0e9da;border-bottom:1px solid #b9c8ae;font-size:12px}
.login-confirmation p{max-width:670px;margin:0 auto 3px}
.login-confirmation>a{display:block;max-width:670px;margin:auto;font-size:12px}
.notice-close{position:absolute;right:8px;top:8px;width:30px;height:30px;border:1px solid #b9c8ae;background:transparent;border-radius:50%;font-size:20px}
@media(max-width:360px){.google-login-card{padding:12px 10px}.login-card-title{font-size:15px}.return-invitation{gap:9px;padding-inline:8px;font-size:11px}.return-invitation .quiet-button{font-size:11px}}
.feedback-zone.has-return{height:26px;margin-top:4px}
/* Common navigation: compact official wordmark and four controls on one row. */
.masthead{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:44px auto;gap:2px 8px}
.masthead h1{grid-column:1;grid-row:1;display:flex;align-items:baseline;gap:5px;min-width:0}
.masthead h1>span,.masthead h1 strong{font-size:30px;line-height:1;flex-shrink:0}
.masthead .question-mark{margin-left:3px}
.header-actions{grid-column:2;grid-row:1;flex-direction:row;flex-wrap:nowrap;height:44px;gap:0}
.header-actions .icon-button{width:40px;height:44px;min-height:44px;flex:0 0 40px;padding:9px;text-decoration:none}
.header-actions svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.header-actions .support-link svg{fill:currentColor;stroke:none}
.masthead .date-group{grid-column:1 / -1;grid-row:2;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;min-width:0;min-height:22px;gap:3px 8px;margin-top:0}
.account-button{position:relative}.account-status{position:absolute;right:5px;top:6px;width:7px;height:7px;border-radius:50%;background:#c94346;box-shadow:0 0 0 2px var(--paper)}
.account-button[data-connected=true] .account-status{background:#26865d}
.result-other-games{width:100%;margin:12px 0 0;padding-top:12px;border-top:1px solid var(--line)}
.result-other-games h3{margin:0 0 8px;font-size:14px;line-height:1.35;font-weight:700}
.other-game-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.other-game-links>.other-game-button:last-child:nth-child(odd){grid-column:1/-1}
.other-game-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:9px 8px;border:1px solid var(--line);border-radius:3px;background:#fff9ec;text-decoration:none;font-family:var(--sans);font-size:14px;font-weight:600;line-height:1.3;text-align:left}
.other-game-button span{min-width:0;overflow-wrap:normal}.other-game-button:hover{background:#ffedbd}
.other-game-logo{display:block;flex:0 0 24px;width:24px;height:24px;object-fit:contain}
.score-detail{margin:12px 0;padding:12px;border:1px solid var(--line);border-radius:3px;background:#fffaf0;font-size:14px;line-height:1.45}
.score-detail h3{margin:0 0 8px;font-size:14px}.score-detail-row{display:flex;gap:12px;justify-content:space-between;align-items:flex-start;margin:7px 0}.score-detail-row span{min-width:0}.score-detail-row strong{flex-shrink:0;white-space:nowrap}
.score-bonus{padding-top:7px;border-top:1px solid var(--line)}.score-total{font-weight:700}.score-detail .fineprint{margin:8px 0 0;font-size:12px}.score-change-notice{padding:8px;margin:10px 0 0;border-left:3px solid var(--orange,#dc8436);background:#fff0c7;font-size:12px;line-height:1.4}
.menu-links .other-game-menu{font-size:14px;color:var(--muted)}
.menu-links #menu-login-button{margin-top:10px;border-top:1px solid var(--line)}
.invitation-sheet input{width:100%;min-height:44px;padding:10px;border:1px solid var(--line);border-radius:3px;background:#fffdf7;font-size:14px}
.login-benefits{padding-left:20px;font-size:14px;line-height:1.5}.login-benefits li{margin:8px 0}
#login-guest-button{display:block;width:100%;min-height:44px;margin-top:12px;text-align:center}
.privacy-section-title{font-size:17px;margin:24px 0 8px}.page-content>p{line-height:1.6}
body[data-view=privacy] .page-content>.quiet-button,body[data-view=privacy] .page-content>.small-button{display:flex;align-items:center;margin:16px 0;min-height:44px}
@media(max-width:799px){.masthead h1>span,.masthead h1 strong{font-size:clamp(22px,6.25vw,30px)}}
@media(max-width:360px){.game{padding-inline:12px}.masthead{gap:2px 6px}.other-game-links{grid-template-columns:minmax(0,1fr)}.other-game-button{justify-content:flex-start}}
@media(max-width:360px) and (max-height:600px){
  .game:not(.is-page):not(.is-finished):not(.is-unavailable){gap:4px;padding-block:4px}
  .attempt-row{--row-height:30px;padding-block:2px}.attempt-list{gap:4px}
  .section-heading{margin-bottom:3px}.column-labels{margin-bottom:2px}
  .verify{height:42px}.masthead{grid-template-rows:40px auto}
  .header-actions,.header-actions .icon-button{height:40px;min-height:40px}
}
@media(max-width:360px) and (max-height:600px){
  .verse-scroll{padding-block:3px}.verse-scroll p{font-size:17px;line-height:1.35}
  .verse-footer{font-size:9px;line-height:1.2;padding-top:2px}.scroll-cue{font-size:9px}
}
