/* brainistry-mobile.css */
/* Application controls only. Never change physical PDF sheet geometry. */
@media screen {
  body button.br-info,body button.br-help-close { width:44px!important; height:44px!important; min-width:44px!important; min-height:44px!important; }
  nav a,.nav a,.br-projectbar a { min-height:44px; display:inline-flex; align-items:center; }
  body button:not(#pages button), body select:not(#pages select),
  body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(#pages input),
  body summary:not(#pages summary) { min-height:44px!important; }
  body button:not(#pages button), body select:not(#pages select) { min-width:44px!important; }
  body label:has(input[type="checkbox"]):not(#pages label),
  body label:has(input[type="radio"]):not(#pages label),
  .br-difficulty-grid label[for$="Enabled"] { min-height:44px; display:flex; align-items:center; gap:8px; }
  body :is(button,a,input,select,textarea,summary):focus-visible { outline:3px solid #087cff; outline-offset:3px; }
  @media (max-width:600px) {
    body input:not(#pages input),body select:not(#pages select),body textarea:not(#pages textarea) { font-size:16px; max-width:100%; box-sizing:border-box; }
    body button:not(#pages button) { white-space:normal; overflow-wrap:anywhere; }
    .br-difficulty-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  }
}
/* Print-safe worked examples: no input or game state in the illustration. */
.sheet .howto-page.br-worked-howto{transform:none!important;height:auto!important;max-height:none!important;overflow:visible!important;font-size:12px!important;line-height:1.25!important}
.sheet .howto-page.br-worked-howto .ht-section{min-height:0!important;height:auto!important;padding:5px!important;margin:5px 0!important}
.sheet .howto-page.br-worked-howto .br-worked-pair{border:1px solid #222;padding:6px;margin-top:8px;break-inside:avoid}
.sheet .howto-page.br-worked-howto .br-example-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}
.sheet .howto-page.br-worked-howto .br-example-columns>div{min-width:0;text-align:center}
.sheet .howto-page.br-worked-howto .br-example-columns svg{display:block;width:100%!important;max-width:2.35in!important;height:auto!important;margin:auto}
.sheet .howto-page.br-worked-howto .br-example-columns table{margin:auto!important;width:100%!important;max-width:2.35in!important;height:auto!important;table-layout:fixed}
.sheet .howto-page.br-worked-howto .br-example-columns td{width:auto!important;height:24px!important;font-size:12px!important;padding:0!important}
.sheet .howto-page.br-worked-howto h3,.sheet .howto-page.br-worked-howto h4{font-size:12px!important;margin:4px 0!important}
.sheet .howto-page.br-worked-howto .br-worked-pair p{font-size:12px!important;line-height:1.25!important}

.sheet .howto-page.br-worked-howto .br-example-columns table td *{font-size:12px!important;line-height:1.1!important}
.sheet .howto-page.br-worked-howto[data-howto-type="kakuro"] .br-example-columns td,.sheet .howto-page.br-worked-howto[data-howto-type="kenken"] .br-example-columns td{height:36px!important}

/* brainistry-minimal.css */
/* Screen-only application shell. Printed puzzle geometry is untouched. */
@media screen{
body.br-minimal{background:#f7f8fa;color:#20262d;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.br-minimal .br-site-header{position:static!important;display:flex!important;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;width:100%;max-width:1240px;margin:0 auto!important;padding:20px 24px!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#20262d}
.br-site-header .br-brand{display:flex;align-items:baseline;gap:6px;color:#20262d!important;text-decoration:none!important;font-size:21px;font-weight:750;letter-spacing:-.7px}.br-brand span{font-weight:400;color:#69717c;font-size:15px;letter-spacing:0}
.br-site-header nav{display:flex!important;flex-wrap:wrap;gap:4px!important;align-items:center}.br-site-header nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 15px!important;border-radius:8px;text-decoration:none!important;color:#4b5563!important;font-size:14px;font-weight:600;background:transparent!important}.br-site-header nav a[aria-current=page]{background:#e8eef0!important;color:#1555a2!important}.br-site-header nav a:hover{background:#eceff2!important}
.br-skip{position:absolute;left:16px;top:-100px;z-index:10000;background:white;padding:12px;color:#1555a2}.br-skip:focus{top:12px}
.br-minimal :is(a,button,input,select,summary):focus-visible{outline:3px solid #247ad1;outline-offset:3px}
.br-home{max-width:1000px;margin:auto;padding:70px 24px 40px}.br-home h1{font-size:clamp(36px,7vw,64px);font-weight:650;letter-spacing:-2.5px;line-height:1.12;margin:0 0 18px}.br-home>p{color:#606974;line-height:1.65;font-size:18px;max-width:590px}.br-home .br-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:40px 0 48px}.br-action{background:white;border:1px solid #dfe3e7;border-radius:14px;padding:26px;text-decoration:none;color:#20262d;display:flex;flex-direction:column;gap:12px}.br-action strong{font-size:23px;font-weight:650}.br-action span{color:#606974;line-height:1.6;font-size:14px}.br-action em{font-style:normal;color:#1555a2;font-weight:650;margin-top:auto;padding-top:12px}.br-action:hover{border-color:#247ad1}.br-secondary{display:flex;flex-wrap:wrap;gap:18px;font-size:14px}.br-secondary a,.br-minimal footer a{color:#1555a2}.br-home-footer{max-width:1000px;margin:0 auto;padding:24px;color:#68717d;font-size:12px;border-top:1px solid #dfe3e7;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.br-minimal main>h1{font-weight:650;letter-spacing:-1px}.br-minimal main>.tagline{display:none}.br-minimal .controls{box-shadow:none}.br-minimal .br-secondary-tools{max-width:1192px;margin:8px auto 20px;padding:0 24px;font-size:13px;color:#606974}.br-secondary-tools summary{min-height:44px;padding:12px 0;cursor:pointer}.br-minimal .br-projectbar{background:#fff;border:1px solid #dfe3e7;box-shadow:none}.br-minimal .brainistry-studio-intro{background:transparent;box-shadow:none;border:0}.br-minimal .brainistry-studio-intro h1{font-size:28px;margin:0 0 8px;font-weight:650}.br-minimal .controls>details>summary{min-height:44px;padding-block:12px}.br-minimal .controls>label{font-weight:600}.br-minimal .controls>button,.br-minimal .controls>.row>button{min-height:44px}
.br-more-games{margin:24px 0;background:white;border:1px solid #dfe3e7;border-radius:12px;padding:18px}.br-more-games>summary{min-height:44px;cursor:pointer;font-weight:650}.br-game-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.br-game-groups h3{font-size:15px}.br-game-groups a{display:block;min-height:44px;padding:9px 0;line-height:1.5;color:#1555a2}.br-game-groups p{font-size:13px;color:#606974}.br-minimal .br-finish{background:#f5f7f8;border-color:#dfe3e7}
.br-minimal button.primary{background:#1555a2;box-shadow:none}.br-minimal button.primary:hover{background:#103e78;box-shadow:none;transform:none}
@media(max-width:640px){.br-minimal .br-site-header{padding:16px!important;gap:10px}.br-site-header nav{width:100%;justify-content:space-between}.br-site-header nav a{padding:10px 12px!important}.br-home{padding:40px 20px}.br-home .br-actions{grid-template-columns:1fr;gap:12px;margin:28px 0}.br-action{padding:22px}.br-home h1{letter-spacing:-1.5px}.br-game-groups{grid-template-columns:1fr}.br-minimal .br-secondary-tools{padding:0 16px}}
}
@media print{.br-site-header,.br-skip,.br-secondary-tools,.br-home-footer{display:none!important}}

/* brainistry-refresh.css */
/* Blue identity and screen ergonomics; no print layout rules are changed. */
@media screen {
.br-site-header .br-brand::before{display:none!important}.br-logo{width:42px;height:42px;object-fit:contain;border-radius:10px;flex-shrink:0;margin-right:4px}
.br-site-header .br-brand{align-items:center!important}.br-minimal .br-site-header nav a[aria-current=page]{background:#1555a2!important;color:white!important}
.br-minimal .ease-choice{overflow:visible}.br-minimal .ease-choice>:first-child{min-width:0;white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:none;height:auto;line-height:1.5;text-overflow:clip}.br-minimal .ease-choice>:last-child{flex:0 0 44px}
.br-minimal .controls .br-setting-label{display:flex;align-items:center;flex-wrap:wrap;gap:6px;position:static}.br-minimal .controls .br-setting-label input[type=checkbox]{position:static!important;flex:0 0 20px;margin:0 4px 0 0!important;transform:none!important}.br-minimal .controls .br-setting-label .br-info{position:static!important;float:none!important;flex:0 0 36px;min-width:36px!important;min-height:36px!important;margin-left:auto!important;transform:none!important}
body[data-create-mode=quick] #projectSeed,body[data-create-mode=quick] label:has(>#projectSeed),body[data-create-mode=quick] #testOne{display:none!important}
.br-preview-rail{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:16px;overscroll-behavior-x:contain;touch-action:pan-x pan-y;border-radius:12px}.br-preview-card{flex:0 0 100%;scroll-snap-align:start;background:white;border:1px solid #cbdff4;border-radius:12px;padding:18px;box-sizing:border-box;min-width:0}.br-preview-card svg{display:block;width:100%;height:auto;max-height:300px}.br-preview-card h2{font-size:20px!important;margin:8px 0}.br-preview-card p{font-size:14px;color:#51647b}.br-preview-card a{color:#1555a2;min-height:44px;display:inline-flex;align-items:center}.br-preview-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}.br-preview-controls button{min-width:44px;min-height:44px;border:1px solid #a3bad7;border-radius:8px;background:white;color:#1555a2}.br-home-previews{min-width:0}
.family-layout.direct-entry{grid-template-columns:minmax(0,1fr)}.direct-entry #entrySection{max-width:620px}.direct-entry #entryHeading,.direct-entry #scrollBoard,.direct-entry label:has(>#field){display:none}.direct-entry #reference{max-height:none;max-width:620px;padding:4px}.direct-entry #values{position:sticky;bottom:0;background:#f5f9ff;padding:8px;z-index:5}.direct-entry #values button{flex:1 0 44px}.br-play-shortcuts{display:flex;gap:18px;align-items:center;flex-wrap:wrap}
@media(max-width:600px){.br-minimal .ease-results{grid-template-columns:1fr}.br-minimal .br-site-header{padding:14px!important}.br-minimal .br-site-header nav a{padding:10px 13px!important}.br-minimal .br-hero h1{font-size:clamp(42px,12vw,64px)}.br-minimal #game .actions{position:static}.br-minimal #reference{padding:3px}}
}
@media print{.br-home-previews{display:none}}

@media screen{.br-library h3,.br-library button,.br-game-groups a{white-space:normal;word-break:normal;overflow-wrap:normal;hyphens:none;height:auto;line-height:1.5}}

/* Simple Play 01: account actions, complete titles, readable rules. */
.br-account-links{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto;align-items:center}.br-account-links a{font-size:.875rem;padding:8px 10px;border:1px solid #aac0d9;border-radius:8px;min-height:44px;display:inline-flex;align-items:center;overflow-wrap:anywhere}.br-site-header nav{flex-wrap:wrap}.br-rules-dialog{color:#142e50;background:#fff;max-width:min(640px,calc(100vw - 32px));max-height:85vh;overflow:auto;border:1px solid #aac0d9;border-radius:16px;padding:24px;line-height:1.6}.br-rules-dialog::backdrop{background:#10243c99}.br-rules-dialog button{min-height:44px;padding:10px 16px}.ease-choice .ease-rules{grid-column:1 / -1;font-size:.9rem;min-height:44px;text-align:left}.br-local-records{margin-top:24px}#save[hidden],#testOne[hidden],label[hidden]{display:none!important}@media(max-width:600px){.br-account-links{width:100%;justify-content:flex-end}.br-site-header nav{gap:4px 12px}.br-rules-dialog{padding:16px}}@media print{.br-account-links,.br-rules-dialog{display:none!important}}

/* Play + Daily 01: visual catalog and phone number-first entry. */
@media screen{
.ease-results{gap:14px}.ease-choice{display:grid!important;grid-template-columns:minmax(0,1fr) 48px;align-content:start;background:#fff;border-radius:14px!important;overflow:hidden!important;box-shadow:0 4px 14px #142e5010}.br-puzzle-thumb{grid-column:1 / -1;height:138px;overflow:hidden;display:flex;align-items:center;justify-content:center;background:#f5f9fd;border-bottom:1px solid #dfe8f2;padding:10px;pointer-events:none}.br-puzzle-thumb>svg,.br-puzzle-thumb>table,.br-puzzle-thumb>.missing-number-line{display:block;max-width:100%;max-height:118px;width:auto;height:auto;margin:auto}.br-puzzle-thumb table{width:100%;height:100%;border-collapse:collapse;font-size:10px}.br-puzzle-thumb td{border:1px solid #8fa8c2;text-align:center;padding:1px}.br-thumb-fallback{width:108px;height:108px;display:grid;grid-template-columns:repeat(3,1fr);border:3px solid #173b62;background:#fff}.br-thumb-fallback span{display:grid;place-items:center;border:1px solid #9bb1c7;color:#1555a2;font-weight:750}.ease-choice>.ease-puzzle-name{grid-column:1;padding:12px 8px 12px 14px!important;min-height:54px;font-size:15px!important;font-weight:750;line-height:1.25!important;display:flex;align-items:center;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}.ease-choice>.ease-puzzle-name+button{grid-column:2;min-width:48px!important;border-left:1px solid #dfe8f2!important;border-radius:0!important}.ease-choice>.ease-rules{grid-column:1 / -1!important;border-top:1px solid #dfe8f2!important;border-radius:0!important;background:#f8fbff!important;color:#1555a2!important;text-align:center!important;padding:9px 12px!important}.br-minimal #values .br-touch-value-selected{background:#1555a2;color:#fff;box-shadow:0 0 0 3px #9fc9f4}.br-daily-choices{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:16px}.br-daily-choice{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px;border:1px solid #9fb9d4;border-radius:10px;background:#fff;color:#1555a2;text-decoration:none;text-align:center;font-weight:700}
}
@media screen and (max-width:700px){.br-minimal .direct-entry #values{display:grid;grid-template-columns:repeat(5,minmax(44px,1fr));gap:8px}.br-minimal .direct-entry #values button{min-width:44px;min-height:48px;font-size:20px}.br-daily-choices{grid-template-columns:1fr 1fr}.br-puzzle-thumb{height:124px}.br-puzzle-thumb>svg,.br-puzzle-thumb>table{max-height:104px}}
@media screen and (max-width:420px){.ease-results{grid-template-columns:1fr}.br-daily-choices{grid-template-columns:1fr}}

/* Polish Offline 01: consistent blue/purple identity, screen only. */
@media screen {
.br-minimal{--br-accent:#1555a2;--br-purple:#6840b8;--br-gradient:linear-gradient(115deg,#1555a2 0%,#3557b7 55%,#6840b8 100%)}
.br-minimal .br-site-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 20px!important;width:100%;margin:auto}
.br-minimal .br-site-header .br-brand{grid-column:1;grid-row:1;min-width:0;flex-wrap:wrap;justify-content:flex-start;font-weight:800;color:#2655aa!important;letter-spacing:-.6px;font-size:clamp(18px,2.5vw,26px)}
.br-minimal .br-site-header .br-brand span{color:#6840b8;font-size:inherit;letter-spacing:inherit}
.br-minimal .br-logo{clip-path:inset(6% round 24%);border:0!important;box-shadow:none!important;background:transparent}
.br-minimal .br-site-header nav{grid-column:1/-1;grid-row:2;justify-content:center;display:flex;gap:6px;flex-wrap:wrap}
.br-minimal .br-site-header .br-account-links{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:stretch;gap:4px;margin:0;width:auto;align-self:start}
.br-account-links a{justify-content:center;text-align:center;min-height:44px;border-color:#d1d9ef;font-weight:650;line-height:1.2;color:#344c85;background:#fff}
.br-account-links a:last-child{color:#623aa2;background:#f3effc}
.br-minimal :is(.br-button,.ease-play,button.primary,#generate,#new,#check,#create,#findOpponent),.br-minimal .br-site-header nav a[aria-current=page]{background:var(--br-gradient)!important;color:white!important;border-color:transparent!important;box-shadow:0 4px 12px #4054a51a}
.br-minimal button:disabled{box-shadow:none!important}
.br-hero h1 em{color:#6242aa}.br-category-grid{display:flex!important;flex-wrap:wrap;justify-content:center;gap:16px}.br-category-grid>.br-category{flex:1 1 180px;max-width:230px;text-align:center;align-items:center}
.br-minimal .ease-choice{border:1px solid #dce3f1!important;box-shadow:0 5px 20px #3348790b!important;border-radius:16px!important}.ease-choice>.ease-puzzle-name{justify-content:center;text-align:center!important}
.br-preview-card h2{text-align:center}.br-vs-challenges{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:20px 0}.br-vs-challenges button{padding:18px;text-align:left;border:1px solid #d4ddf0;border-radius:14px;background:white;color:#263e6e;min-height:88px}.br-vs-challenges strong,.br-vs-challenges span{display:block}.br-vs-challenges span{color:#586681;font-size:14px;margin-top:5px}
@media(max-width:600px){.br-minimal .br-site-header{padding:12px!important;gap:8px!important}.br-minimal .br-site-header .br-brand{max-width:210px;gap:3px;font-size:20px}.br-site-header .br-brand span{margin-left:0}.br-minimal .br-logo{width:34px;height:34px;margin-right:2px}.br-account-links a{padding:7px 9px;font-size:12px}.br-minimal .br-site-header nav a{padding:8px 10px!important;font-size:14px}.br-category-grid>.br-category{flex:1 1 130px;max-width:calc(50% - 8px)}.br-minimal main{padding-top:24px}.br-play-shortcuts{gap:8px;justify-content:center}}
@media(prefers-reduced-motion:no-preference){.br-button,.ease-play,.br-category{transition:box-shadow .15s ease,transform .15s ease}.br-category:hover{transform:translateY(-2px);box-shadow:0 8px 24px #33487912}}
}

/* Header Width 01: the brand owns the full top row on every screen size. */
@media screen {
 .br-minimal .br-site-header{grid-template-columns:minmax(0,1fr);box-sizing:border-box}
 .br-minimal .br-site-header .br-brand{grid-column:1/-1;grid-row:1;display:flex;width:100%;max-width:none;box-sizing:border-box;justify-content:center;flex-wrap:wrap;gap:8px;font-size:clamp(22px,7vw,40px);line-height:1.2;text-align:center}
 .br-minimal .br-site-header .br-brand span{margin-left:0}
 .br-minimal .br-site-header .br-logo{flex:0 0 auto;width:clamp(34px,9vw,48px);height:auto;margin:0}
 .br-minimal .br-site-header .br-account-links{grid-column:1/-1;grid-row:2;justify-self:end;max-width:100%;min-width:0}
 .br-minimal .br-site-header nav{grid-column:1/-1;grid-row:3;min-width:0;width:100%}
}

/* Catalog Notes 01: clear hierarchy, consistent cards and visible pencil mode. */
.br-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media screen {
 .br-minimal .ease-choice>.ease-puzzle-name{font-size:20px!important;font-weight:800!important;line-height:1.25!important;min-height:72px;padding:16px 12px!important;color:#163761!important;letter-spacing:-.35px;background:linear-gradient(110deg,#edf6ff,#f5efff)}
 .br-minimal .ease-choice{box-shadow:0 6px 20px #253d7010!important;border:1px solid #ccd9eb!important}
 .br-puzzle-thumb{height:164px;padding:16px;background:#fff}.br-puzzle-thumb>svg{width:100%;height:100%;max-width:100%;max-height:148px}
 .br-minimal .ease-choice>.ease-play{min-height:46px;font-weight:750;font-size:16px;margin:10px 12px;border-radius:10px}
 .br-minimal #name,.br-minimal #puzzleName{font-size:clamp(21px,4.5vw,28px);font-weight:800;color:#173a68;line-height:1.25}
 .br-minimal #notes[aria-pressed=true]{color:white!important;background:linear-gradient(115deg,#1555a2,#6840b8)!important;border-color:#6840b8!important;box-shadow:0 0 0 3px #dddcff}
 #saveStatus:empty,#save-status:empty{display:none}
}

/* brainistry-hybrid.css */
/* Premium Hybrid 01. Scoped screen UI; puzzle artwork and printed geometry are not restyled. */
@media screen {
body.br-hybrid{--br-ink:#182c4d;--br-muted:#5d6880;--br-blue:#2464ce;--br-purple:#7650ce;--br-line:#e1e6f0;--br-paper:#f6f7fc;--br-gradient:linear-gradient(115deg,#2164ce,#7750ce);margin:0;background:var(--br-paper);color:var(--br-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.55}
.br-hybrid [hidden]{display:none!important}.br-hybrid :focus-visible{outline:3px solid #7650ce!important;outline-offset:4px}
.br-hybrid.br-minimal .br-site-header{box-sizing:border-box;display:grid!important;grid-template-columns:minmax(205px,1fr) auto minmax(110px,.65fr);width:100%;max-width:1240px;padding:24px 34px!important;gap:18px!important;margin:0 auto;background:transparent;border:0;box-shadow:none;position:relative;z-index:10}
.br-hybrid.br-minimal .br-site-header .br-brand{grid-column:1;grid-row:1;width:auto;max-width:none;justify-content:flex-start;display:flex;flex-wrap:nowrap;gap:10px;font-size:25px;line-height:1.08;text-align:left;letter-spacing:-1px;min-width:0;background:none}
.br-hybrid.br-minimal .br-site-header .br-logo{width:42px;height:42px;clip-path:none;border:0;box-shadow:none;object-fit:contain;flex:none;border-radius:12px}
.br-hybrid.br-minimal .br-site-header .br-wordmark{display:block;font-size:25px;line-height:1.08;background:var(--br-gradient);background-clip:text;-webkit-background-clip:text;color:transparent!important;letter-spacing:-1px}
.br-hybrid .br-wordmark small{display:block;color:#64718c;font-size:10px;letter-spacing:4px;line-height:1.4;margin-top:5px}
.br-hybrid.br-minimal .br-site-header>nav{grid-column:2;grid-row:1;display:flex;gap:4px!important;width:auto;min-width:0;flex-wrap:nowrap;padding:5px;background:#eaeef7;border-radius:16px;justify-content:center}
.br-hybrid.br-minimal .br-site-header nav a{display:flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;padding:9px 12px!important;border:0;border-radius:11px;font-size:14px;line-height:1.25;white-space:nowrap;font-weight:650;color:#4a5874;text-decoration:none}
.br-hybrid.br-minimal .br-site-header nav a[aria-current=page]{background:white!important;color:var(--br-blue)!important;box-shadow:0 3px 10px #203b7012}
.br-hybrid.br-minimal .br-site-header .br-account-links{grid-column:3;grid-row:1;justify-self:end;align-items:flex-end;display:flex;flex-direction:column;gap:0;width:auto;min-width:0;max-width:170px}
.br-hybrid .br-account-links a{font-size:13px;font-weight:650;min-height:44px;padding:5px 0;box-sizing:border-box;line-height:1.25;border:0;border-radius:0;background:none!important;color:#3156a1;text-align:right;word-break:normal;overflow-wrap:anywhere}
.br-hybrid .br-account-links a:last-child{color:#6747af}
.br-hybrid.br-minimal main,.br-hybrid.br-minimal #mainContent.wrap{box-sizing:border-box;max-width:1240px;margin:0 auto;padding:20px 34px 64px;width:100%;min-width:0}
.br-hybrid .br-pagehead{padding:20px 0 30px;min-width:0}.br-hybrid .br-pagehead h1{font-size:clamp(35px,4vw,48px);font-weight:780;letter-spacing:-1.7px;line-height:1.12;margin:0 0 12px;color:var(--br-ink)}.br-hybrid .br-pagehead>p{font-size:19px;line-height:1.5;color:var(--br-muted);max-width:60ch;margin:0}.br-hybrid .br-new-here{font-size:14px;color:var(--br-muted);margin-top:10px}.br-hybrid .br-new-here a{display:inline-flex;align-items:center;min-height:44px;color:var(--br-blue);font-weight:650}
.br-hybrid :is(.br-button,.br-outline-button){box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:48px;gap:12px;padding:12px 21px;border-radius:13px;font-size:15px;line-height:1.4;font-weight:700;text-align:center;text-decoration:none;border:1px solid var(--br-line);background:white;color:#3959a4}
.br-hybrid.br-minimal :is(.br-button,.ease-play,button.primary,#generate,#new,#check,#create,#findOpponent){background:var(--br-gradient)!important;border-color:transparent!important;color:white!important;box-shadow:0 6px 18px #5058c51f}
.br-hybrid.br-minimal button{font-family:inherit;cursor:pointer;min-height:44px;line-height:1.4;touch-action:manipulation}.br-hybrid.br-minimal button:disabled{cursor:default;opacity:.55}
.br-hybrid :is(.ease-panel,.br-customize,.br-rank-panel){background:white;border:1px solid var(--br-line);border-radius:24px;padding:28px;box-shadow:0 14px 44px #24396b09;min-width:0}
.br-hybrid .br-home-top{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);gap:22px}.br-hybrid .br-home-top:not(:has(#continuePanel:not([hidden]))){grid-template-columns:1fr}
.br-hybrid .br-daily-feature{display:flex;position:relative;overflow:hidden;min-height:300px;padding:38px;border:0;border-radius:28px;background:linear-gradient(120deg,#123b78,#3a4094 65%,#6845a7);color:white;align-items:center;margin:0}
.br-hybrid .br-daily-copy{position:relative;z-index:1;max-width:75%}.br-hybrid .br-banner-label{display:inline-flex;border:1px solid #ffffff45;background:#ffffff15;border-radius:100px;padding:6px 12px;font-size:12px;letter-spacing:1.2px;font-weight:700;text-transform:uppercase;color:white;margin:0 0 15px}
.br-hybrid .br-daily-feature h2{font-size:clamp(30px,3.2vw,40px);letter-spacing:-1.1px;line-height:1.17;color:white;margin:0 0 24px}
.br-hybrid.br-minimal .br-daily-feature .br-light-button{background:white!important;color:#304687!important;box-shadow:none}
.br-hybrid .br-hero-tiles{position:absolute;right:35px;top:52px;display:grid;grid-template-columns:repeat(3,1fr);width:200px;height:200px;background:white;border:10px solid #ffffffd9;border-radius:18px;transform:rotate(9deg);box-shadow:0 18px 55px #111b5440;overflow:hidden;opacity:.94}
.br-hybrid .br-hero-tiles span{display:grid;place-items:center;border:1px solid #ccd5ee;color:#3354a0;font-size:28px;background:#f8f9ff}
.br-hybrid #continuePanel{margin:0;display:flex;flex-direction:column;justify-content:center;gap:12px}.br-hybrid #continuePanel h2{font-size:20px;font-weight:600;color:var(--br-muted);margin:0}.br-hybrid #continuePanel .ease-continue{display:flex;justify-content:space-between;align-items:center;min-height:54px;padding:12px 0;border:0;border-radius:0;background:none;color:var(--br-ink);font-size:28px;font-weight:750;letter-spacing:-.7px;text-decoration:none;line-height:1.3}.br-hybrid #continuePanel .ease-continue::after{content:'↗';color:var(--br-purple);font-size:25px;margin-left:12px}
.br-hybrid .br-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:32px 0 18px}.br-hybrid .br-section-heading h2{font-size:26px;letter-spacing:-.7px;line-height:1.2;margin:0;color:var(--br-ink)}
.br-hybrid .br-preview-controls{margin:0;gap:8px}.br-hybrid .br-preview-controls button{border-radius:50%;background:white;border:1px solid var(--br-line);min-width:44px;min-height:44px;padding:8px;color:#3959a4}.br-hybrid #previewPosition{font-size:13px;color:var(--br-muted);min-width:32px;text-align:center}
.br-hybrid .br-preview-rail{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;border-radius:0;padding:2px 2px 16px}.br-hybrid .br-preview-card{flex:0 0 calc((100% - 60px)/4);padding:0;display:flex;flex-direction:column;border-radius:21px;border:1px solid var(--br-line);background:white;min-width:0;overflow:hidden;text-align:center;box-shadow:0 6px 20px #2d356405}
.br-hybrid .br-preview-card>div{order:-1;display:grid;place-items:center;height:165px;padding:23px;background:linear-gradient(145deg,#eff4fc,#f4effc)}.br-hybrid .br-preview-card svg{max-width:170px;max-height:120px;width:100%;height:100%}.br-hybrid .br-preview-card h2{font-size:18px!important;margin:17px 8px 12px;line-height:1.3;letter-spacing:-.2px}.br-hybrid .br-preview-card>p{display:none}.br-hybrid .br-preview-card>a{display:flex;align-items:center;justify-content:center;border-top:1px solid #edf0f7;min-height:48px;width:100%;font-size:14px;font-weight:700;color:#3959a4;text-decoration:none;margin-top:auto}
.br-hybrid .br-explore-actions{display:flex;flex-direction:column;align-items:center;gap:10px;margin:18px 0 38px}.br-hybrid .br-explore-actions>a{min-width:245px}
.br-hybrid .br-category-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.br-hybrid .br-category-grid>.br-category{max-width:none;min-width:0;min-height:78px;padding:12px;display:flex;align-items:center;justify-content:center;flex-direction:row;gap:10px;border:1px solid var(--br-line);background:white;border-radius:17px;text-decoration:none;text-align:center;box-shadow:none}.br-hybrid .br-category>span{color:#6554b3;font-size:20px;letter-spacing:0;white-space:nowrap}.br-hybrid .br-category>strong{font-size:15px;font-weight:650;color:var(--br-ink)}
.br-hybrid .br-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:32px 0 0}.br-hybrid .br-action{min-height:210px;padding:27px;display:flex;flex-direction:column;justify-content:center;position:relative;background:white;border:1px solid var(--br-line);border-radius:23px;text-decoration:none;overflow:hidden;gap:8px}.br-hybrid .br-action .br-card-number{font-size:12px;letter-spacing:1.3px;color:#677795;margin-bottom:16px}.br-hybrid .br-action strong{font-size:25px;color:var(--br-ink);line-height:1.2}.br-hybrid .br-action .br-way-description{font-size:15px;color:var(--br-muted);line-height:1.6;opacity:0;transform:translateY(8px);transition:opacity .25s,transform .25s}.br-hybrid .br-action:hover .br-way-description,.br-hybrid .br-action:focus-visible .br-way-description{opacity:1;transform:none}.br-hybrid .br-way-arrow{position:absolute;right:25px;top:23px;font-size:24px;color:#7563ba}
.br-hybrid .br-hybrid-footer{box-sizing:border-box;max-width:1172px;margin:0 auto;padding:30px 0 38px;border-top:1px solid var(--br-line);display:flex;justify-content:space-between;align-items:center;gap:25px;color:var(--br-ink)}.br-hybrid .br-footer-brand{font-size:22px;font-weight:800;text-decoration:none;color:#315bab;letter-spacing:-.5px}.br-hybrid .br-footer-brand span{color:#7650ce}.br-hybrid .br-hybrid-footer p{font-size:14px;color:var(--br-muted);margin:8px 0 0}.br-hybrid .br-hybrid-footer nav{display:flex;flex-wrap:wrap;gap:10px 22px}.br-hybrid .br-hybrid-footer nav a{display:flex;align-items:center;min-height:44px;font-size:14px;text-decoration:none;color:#4e5d7a}
.br-hybrid .br-layout-switch{display:inline-flex;gap:4px;margin:4px 0 20px;border:1px solid var(--br-line);border-radius:13px;padding:3px;background:#f8f9fd}.br-hybrid .br-layout-switch button{border:0;border-radius:9px;background:transparent;padding:8px 13px;font-size:14px;color:#5d6880}.br-hybrid .br-layout-switch button[aria-pressed=true]{background:#edeafd;color:#6242bd;font-weight:700}
.br-hybrid .br-catalog-panel{background:transparent;box-shadow:none;padding:0;border:0}.br-hybrid .br-panel-title{font-size:25px;letter-spacing:-.7px;color:var(--br-ink)}.br-hybrid .ease-filters{display:grid;grid-template-columns:2fr 1fr auto;gap:14px;align-items:end}.br-hybrid .ease-filters>label{min-width:0;font-size:14px}.br-hybrid .ease-filters>label:last-child{display:flex;align-items:center;gap:8px;min-height:48px}
.br-hybrid :is(.ease-filters,.setup,.br-rank-filters) select,.br-hybrid :is(.ease-filters,.setup) input:not([type=checkbox]){box-sizing:border-box;width:100%;min-width:0;min-height:48px;border:1px solid #cfd7e6;border-radius:11px;padding:10px 12px;font-size:16px;background:white;color:var(--br-ink)}.br-hybrid #discoveryStatus{font-size:14px;color:var(--br-muted);margin:12px 0 20px}
.br-hybrid.br-minimal #puzzleResults{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.br-hybrid.br-minimal #puzzleResults[data-columns=one]{grid-template-columns:repeat(2,minmax(0,1fr))}
.br-hybrid.br-minimal .ease-choice{position:relative;display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-content:start;grid-template-rows:165px auto auto auto;padding:0!important;gap:0!important;border:1px solid var(--br-line)!important;border-radius:21px!important;box-shadow:0 6px 20px #2d356405!important;min-width:0;overflow:hidden!important}
.br-hybrid.br-minimal .ease-choice>.ease-puzzle-name{grid-column:1!important;grid-row:2!important;min-height:62px;height:auto;font-size:18px!important;padding:12px 10px!important;font-weight:750!important;line-height:1.3!important;letter-spacing:-.25px;background:white!important;color:var(--br-ink)!important;border:0!important;border-radius:0!important;justify-content:center!important;text-align:center!important;margin:0!important;overflow-wrap:anywhere}
.br-hybrid.br-minimal .ease-choice>.ease-puzzle-name+button{position:absolute;top:8px;right:8px;z-index:1;grid-column:1!important;grid-row:1!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;border:1px solid #e1e6f0!important;border-radius:50%!important;background:#ffffffec!important;color:#6857ad!important;padding:6px!important;font-size:22px!important;box-shadow:none}
.br-hybrid .ease-choice>.br-puzzle-thumb{grid-column:1;grid-row:1!important;height:165px!important;padding:23px;margin:0;background:linear-gradient(145deg,#eff4fc,#f4effc);border:0;box-sizing:border-box}.br-hybrid .ease-choice>.br-puzzle-thumb>svg{max-width:170px!important;max-height:120px!important;width:100%!important;height:100%!important;display:block!important;flex:0 1 auto}
.br-hybrid.br-minimal .ease-choice>.ease-play{grid-column:1!important;grid-row:3;display:flex!important;align-items:center;justify-content:center;width:auto!important;min-width:0;justify-self:stretch;min-height:46px;font-size:15px;margin:0 14px 10px;border-radius:12px;text-align:center}.br-hybrid.br-minimal .ease-choice>.ease-rules{grid-column:1!important;grid-row:4;background:white!important;color:#5b6580!important;font-size:14px;padding:10px!important;min-height:44px;text-align:center;border-top:1px solid #edf0f7!important}
.br-hybrid .br-customize{margin-top:30px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center}.br-hybrid .br-customize>h2{margin:0}.br-hybrid #pickPuzzle{padding:10px 16px;border:1px solid #d8d0ed;border-radius:12px;background:#f3effb;color:#6247a7;font-size:14px}.br-hybrid .br-customize .setup{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:0;padding:0;border:0;background:none;align-items:end}.br-hybrid .setup label{min-width:0}.br-hybrid .br-selection-actions{display:flex;gap:12px;grid-column:1/-1}.br-hybrid .br-selection-actions button{padding:12px 20px;border-radius:13px;font-size:15px;border:1px solid var(--br-line);background:white;color:#3959a4}.br-hybrid .setup>.restore{grid-column:1/-1;font-size:14px}
.br-hybrid #game .br-play-shortcuts{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-start}.br-hybrid #game .br-play-shortcuts>*{width:auto;min-width:0;flex:0 1 auto;max-width:100%;font-size:15px;line-height:1.4;padding:10px 14px;min-height:44px;box-sizing:border-box}.br-hybrid #game .meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.br-hybrid #game #name{flex:1 1 180px}.br-hybrid #game #pause{width:auto;min-width:100px}
.br-hybrid.br-minimal #mainContent.wrap{display:grid;grid-template-columns:minmax(310px,450px) minmax(0,1fr);gap:24px;align-items:start}.br-hybrid .brainistry-studio-intro{grid-column:1/-1;display:block;margin:0;padding:0;background:none;border:0}.br-hybrid #offlineStatus{grid-column:1/-1;margin:0;line-height:1.5}
.br-hybrid.br-minimal .panel.controls{background:white;border:1px solid var(--br-line);border-radius:24px;padding:25px!important;min-width:0;width:auto!important;box-shadow:0 14px 44px #24396b09;position:static;max-height:none;overflow:visible}
.br-hybrid .panel.controls>label{font-size:14px;font-weight:650;color:var(--br-ink);margin-top:16px}.br-hybrid .panel.controls>label:first-child{margin-top:0}.br-hybrid .panel.controls select,.br-hybrid .panel.controls input:not([type=checkbox]):not([type=hidden]),.br-hybrid .panel.controls textarea{box-sizing:border-box;min-width:0;width:100%;min-height:46px;border:1px solid #cfd7e6;border-radius:11px;padding:10px 12px;font-size:16px;background:white;color:var(--br-ink)}
.br-hybrid .panel.controls details{border:1px solid var(--br-line);border-radius:14px;padding:12px 16px;margin:18px 0;background:white}.br-hybrid .panel.controls summary{font-size:16px;font-weight:700;line-height:1.4;min-height:40px;display:flex;align-items:center;cursor:pointer;gap:8px}.br-hybrid .panel.controls summary:before{content:'+';color:var(--br-purple);font-size:22px;margin-right:6px}.br-hybrid .panel.controls details[open]>summary:before{content:'−'}.br-hybrid .panel.controls details details{padding:12px;margin:15px 0}
.br-hybrid .panel.controls .row{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.br-hybrid .panel.controls .row button{flex:1;min-width:90px;border-radius:12px}.br-hybrid .panel.controls #pdf{border-radius:13px;font-size:16px;min-height:50px}.br-hybrid .panel.preview{border:1px solid var(--br-line);border-radius:24px;padding:20px;background:#edf0f8;min-width:0;max-width:100%;overflow:hidden;box-shadow:none}
.br-hybrid .panel.preview>.toolbar{display:flex;flex-wrap:wrap;gap:8px;position:static;padding:0 0 14px;background:transparent;border:0;min-width:0}.br-hybrid .panel.preview>.toolbar button{font-size:13px;padding:8px 11px;min-height:44px;width:auto;min-width:44px;border-radius:10px}.br-hybrid #pages{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.br-hybrid .br-guide{margin:24px 0 0;padding:18px;border:1px solid var(--br-line);border-radius:16px;background:#f7f7fd}.br-hybrid .br-guide h3{font-size:20px}.br-hybrid .br-guide p{font-size:14px}.br-hybrid .br-guide-step{font-size:12px;padding:10px 5px}.br-hybrid .br-guide-actions button{font-size:14px;border-radius:10px}
/* Retired presentation only. Error surfaces remain visible; independent exports still run QC/preflight. */
.br-hybrid .br-secondary-tools,.br-hybrid .br-creator,.br-hybrid #difficultyNotice,.br-hybrid .br-collection-starters{display:none!important}
.br-hybrid #hybridCreatorError{border:1px solid #e4b65a;background:#fff8e8;color:#503608;padding:14px;border-radius:12px}
.br-hybrid .br-inline-notice{padding:16px 20px;border:1px solid #ded6f3;background:#f0ecfa;border-radius:15px;color:#514277;font-size:15px;margin-bottom:25px}.br-hybrid .br-inline-notice a{font-weight:700}
.br-hybrid:not(.br-account-view)[data-br-page=vs] #account{display:none!important}.br-hybrid.br-account-view[data-br-page=vs] #account{background:white;border:1px solid var(--br-line);border-radius:24px;padding:25px;margin:24px 0}.br-hybrid .br-vs-challenges{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.br-hybrid .br-vs-challenges button{min-height:130px;border-radius:20px;background:linear-gradient(145deg,#eff4fc,#f4effc);border:1px solid var(--br-line);padding:22px}.br-hybrid .br-vs-challenges button strong{font-size:19px}.br-hybrid #account .controls,.br-hybrid #signed .controls{display:flex;flex-wrap:wrap;gap:12px}.br-hybrid #account input,.br-hybrid #signed input{max-width:100%;min-width:0}
.br-hybrid .br-board-tabs{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 24px}.br-hybrid .br-board-tabs button{min-height:49px;min-width:125px;padding:12px 22px;border:1px solid #cbd4eb;border-radius:13px;font-size:15px;font-weight:700;background:white;color:#5b50a4}.br-hybrid .br-board-tabs button[aria-selected=true]{background:var(--br-gradient);color:white;border-color:transparent}.br-hybrid .br-rank-filters{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:25px}.br-hybrid .br-rank-filters label{font-size:14px;font-weight:600;min-width:0}.br-hybrid .br-rank-panel h2{font-size:24px}.br-hybrid .br-rank-panel table{width:100%;border-collapse:collapse;min-width:0}.br-hybrid .br-rank-panel th{background:#f1f4fb;text-align:left;padding:16px;font-size:14px}.br-hybrid .br-rank-panel td{padding:16px;border-bottom:1px solid var(--br-line);font-size:15px;overflow-wrap:anywhere}.br-hybrid #rankStatus{min-height:48px;color:var(--br-muted);font-size:15px;line-height:1.6}
.br-hybrid .br-daily-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.br-hybrid .br-date-label{font-weight:650;color:#605b7b;font-size:15px}.br-hybrid .br-daily-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.br-hybrid .br-daily-card{padding:25px;background:white;border:1px solid var(--br-line);border-radius:23px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;min-width:0}.br-hybrid .br-daily-card h2{font-size:21px;color:var(--br-ink);margin:0}.br-hybrid .br-daily-card .br-daily-family{font-size:16px;color:var(--br-muted);margin:0}.br-hybrid .br-daily-artwork{width:100%;height:138px;border-radius:15px;display:grid;place-items:center;background:linear-gradient(145deg,#eff4fc,#f4effc);margin:4px 0;font-size:46px;letter-spacing:6px;color:#5663a7}.br-hybrid .br-daily-card .br-button{width:100%}.br-hybrid .br-daily-card .br-daily-rule-link{min-height:44px;display:flex;align-items:center;color:#5b50a4;font-size:14px}.br-hybrid .br-daily-rules{border:1px solid var(--br-line);border-radius:16px;padding:12px 18px;margin:20px 0;background:white}.br-hybrid .br-daily-rules>summary{font-size:16px;font-weight:700;min-height:44px;cursor:pointer}.br-hybrid.br-pinned-daily :is(#generate,#daily,#reset,#difficulty,#import,#download){display:none!important}.br-hybrid.br-pinned-daily label:has(>#difficulty),.br-hybrid.br-pinned-daily label:has(>#import){display:none!important}
@media (max-width:1080px){.br-hybrid.br-minimal .br-site-header{grid-template-columns:minmax(0,1fr) auto}.br-hybrid.br-minimal .br-site-header>nav{grid-column:1/-1;grid-row:2;justify-self:center;width:auto;flex-wrap:wrap}.br-hybrid.br-minimal .br-site-header .br-account-links{grid-column:2;grid-row:1}.br-hybrid .br-hero-tiles{right:-30px;opacity:.7}.br-hybrid .br-preview-card{flex-basis:calc((100% - 40px)/3)}.br-hybrid.br-minimal #puzzleResults{grid-template-columns:repeat(3,minmax(0,1fr))}.br-hybrid .br-vs-challenges{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){.br-hybrid.br-minimal .br-site-header{padding:12px 20px!important;gap:10px!important}.br-hybrid.br-minimal .br-site-header .br-brand,.br-hybrid.br-minimal .br-site-header .br-wordmark{font-size:23px;max-width:none}.br-hybrid.br-minimal .br-site-header>nav{width:100%;box-sizing:border-box;gap:0!important;justify-content:space-between}.br-hybrid.br-minimal .br-site-header nav a{font-size:13px;padding:9px 10px!important}.br-hybrid.br-minimal main,.br-hybrid.br-minimal #mainContent.wrap{padding:14px 20px 42px}.br-hybrid .br-home-top{grid-template-columns:1fr}.br-hybrid .br-daily-feature{min-height:280px;padding:28px}.br-hybrid .br-daily-copy{max-width:85%}.br-hybrid .br-daily-feature h2{font-size:32px}.br-hybrid .br-hero-tiles{width:150px;height:150px;right:-35px;top:64px;opacity:.45}.br-hybrid .br-home-top #continuePanel{padding:22px}.br-hybrid #continuePanel .ease-continue{font-size:24px;min-height:44px}.br-hybrid .br-section-heading h2{font-size:23px}.br-hybrid .br-preview-card{flex-basis:calc((100% - 16px)/2)}.br-hybrid .br-preview-rail{gap:16px}.br-hybrid .br-preview-card>div{height:140px;padding:18px}.br-hybrid .br-preview-card h2{font-size:16px!important}.br-hybrid .br-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.br-hybrid .br-category-grid>.br-category{max-width:none;min-height:70px}.br-hybrid .br-category:last-child{grid-column:1/-1;width:calc(50% - 6px);justify-self:center}.br-hybrid .br-actions{grid-template-columns:1fr;gap:16px}.br-hybrid .br-action{min-height:180px;padding:24px}.br-hybrid .br-action .br-way-description{opacity:1;transform:none}.br-hybrid .br-hybrid-footer{margin:0 20px;padding:28px 0;flex-direction:column;align-items:flex-start;gap:20px}.br-hybrid .br-hybrid-footer nav{gap:8px 20px}.br-hybrid .br-pagehead{padding:18px 0 24px}.br-hybrid .br-pagehead>p{font-size:17px}.br-hybrid.br-minimal #puzzleResults{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.br-hybrid.br-minimal #puzzleResults[data-columns=one]{grid-template-columns:1fr}.br-hybrid .ease-filters{grid-template-columns:1fr 1fr;gap:12px}.br-hybrid .ease-filters>label:first-child{grid-column:1/-1}.br-hybrid .ease-filters>label:last-child{font-size:13px;line-height:1.4}.br-hybrid.br-minimal .ease-choice{grid-template-rows:140px auto auto auto}.br-hybrid .ease-choice>.br-puzzle-thumb{height:140px!important;padding:18px}.br-hybrid.br-minimal .ease-choice>.ease-puzzle-name{font-size:17px!important;min-height:64px;padding:10px 8px!important}.br-hybrid.br-minimal .ease-choice>.ease-play{font-size:14px;margin:0 10px 9px}.br-hybrid .br-customize{padding:22px;grid-template-columns:1fr;gap:15px}.br-hybrid #pickPuzzle{justify-self:start}.br-hybrid .br-customize .setup{grid-template-columns:1fr}.br-hybrid .br-selection-actions{grid-column:1;flex-wrap:wrap}.br-hybrid .br-selection-actions button{flex:1}.br-hybrid.br-minimal #mainContent.wrap{grid-template-columns:1fr}.br-hybrid .panel.preview{padding:14px}.br-hybrid.br-minimal .panel.controls{padding:22px!important}.br-hybrid .br-board-tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px}.br-hybrid .br-board-tabs button{min-width:0}.br-hybrid .br-rank-panel{padding:20px}.br-hybrid .br-rank-filters{grid-template-columns:1fr;gap:15px}.br-hybrid .br-rank-panel th,.br-hybrid .br-rank-panel td{padding:12px 8px}.br-hybrid .br-daily-grid{grid-template-columns:1fr 1fr;gap:14px}.br-hybrid .br-daily-card{padding:18px 14px;gap:10px}.br-hybrid .br-daily-artwork{height:100px;font-size:34px}.br-hybrid .br-daily-card .br-button{padding:10px;font-size:14px}.br-hybrid .br-daily-card h2{font-size:20px}.br-hybrid .br-vs-challenges{grid-template-columns:1fr 1fr;gap:14px}.br-hybrid .br-vs-challenges button{min-height:120px;padding:16px}.br-hybrid .br-vs-challenges strong{font-size:17px}.br-hybrid .br-vs-challenges span{font-size:13px}}
@media (max-width:380px){.br-hybrid.br-minimal .br-site-header{padding:10px 14px!important;gap:8px!important}.br-hybrid.br-minimal .br-site-header .br-wordmark{font-size:21px}.br-hybrid.br-minimal .br-site-header .br-logo{width:34px;height:34px}.br-hybrid.br-minimal .br-site-header .br-brand{gap:7px}.br-hybrid .br-account-links a{font-size:12px}.br-hybrid.br-minimal .br-site-header nav a{padding:9px 7px!important;font-size:12px}.br-hybrid.br-minimal main,.br-hybrid.br-minimal #mainContent.wrap{padding-inline:14px}.br-hybrid .br-daily-feature{padding:24px;min-height:280px}.br-hybrid .br-daily-feature h2{font-size:28px}.br-hybrid .br-daily-copy{max-width:100%}.br-hybrid .br-hero-tiles{opacity:.23}.br-hybrid .br-preview-card{flex-basis:70%}.br-hybrid .br-section-heading{gap:10px}.br-hybrid .br-section-heading h2{font-size:21px}.br-hybrid #previewPosition{display:none}.br-hybrid.br-minimal .ease-choice>.ease-puzzle-name{font-size:16px!important}.br-hybrid .ease-choice>.br-puzzle-thumb{padding:14px}.br-hybrid .br-daily-grid{grid-template-columns:1fr}.br-hybrid .br-daily-card .br-daily-artwork{height:130px}.br-hybrid .br-daily-heading{flex-wrap:wrap}}
@media (hover:none){.br-hybrid .br-action .br-way-description{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.br-hybrid *{scroll-behavior:auto!important;transition:none!important;animation:none!important}.br-hybrid .br-action .br-way-description{opacity:1;transform:none}}
}
@media print{.br-hybrid-footer,.br-layout-switch,.br-inline-notice{display:none!important}}
@media screen{.br-hybrid .br-daily-artwork svg{width:100%;height:100%;max-width:180px;max-height:120px}.br-hybrid #hybridCreatorError{grid-column:1/-1}}

@media screen{
.br-hybrid.br-minimal :is(.br-pagehead h1,.br-section-heading h2,.br-daily-feature h2,.br-action strong){font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-weight:750!important}
.br-hybrid.br-minimal .br-daily-feature .br-banner-label{color:#fff!important;font-size:12px!important;letter-spacing:1.2px!important}
.br-hybrid.br-minimal .br-daily-feature .br-light-button{background:#fff!important;color:#304687!important;box-shadow:none!important}
.br-hybrid.br-minimal .br-daily-feature .br-daily-copy{max-width:72%}
.br-hybrid.br-minimal .br-preview-controls button{color:#3959a4!important;background:white!important;border:1px solid var(--br-line)!important}
.br-hybrid.br-automatic-checks :is(#qc,#preflight,[data-jump="qc"],[data-jump="preflight"]){display:none!important}
.br-hybrid.br-automatic-checks #qcResults:empty{display:none!important}
@media(max-width:600px){.br-hybrid.br-minimal .br-daily-feature .br-daily-copy{max-width:100%}.br-hybrid.br-minimal .br-daily-feature h2{max-width:290px;font-size:31px!important}.br-hybrid.br-minimal .br-hero-tiles{opacity:.20}}
}

@media screen{.br-hybrid.br-minimal .br-secondary-tools.br-recovery-open{display:block!important}.br-hybrid #hybridCreatorError button{display:block;margin-top:10px;background:white;border:1px solid #c4a05d;border-radius:10px;padding:9px 16px;color:#5b4317}.br-hybrid .br-layout-notes{margin:5px 0 14px}.br-hybrid .br-layout-notes summary{font-size:14px;color:var(--br-muted);cursor:pointer;min-height:44px;display:flex;align-items:center}.br-hybrid .br-layout-notes p{font-size:14px;line-height:1.6}.br-hybrid.br-minimal .controls label{font-size:14px!important}}

/* brainistry-play-polish.css */
/* Play Repair 02: consumer UI only. Not printed PDF styling. */
@media screen {
.br-hybrid.br-minimal .br-site-header{max-width:none!important;background:linear-gradient(110deg,#185ab5 0%,#4d50b8 55%,#7b42bd 100%)!important;padding-left:max(20px,calc((100vw - 1172px)/2))!important;padding-right:max(20px,calc((100vw - 1172px)/2))!important;border-bottom:1px solid #ffffff25;box-shadow:0 7px 25px #2436751a}
.br-hybrid.br-minimal .br-site-header .br-wordmark{background:none;color:white!important;letter-spacing:-.7px;font-weight:760;font-size:24px;line-height:1.15}
.br-hybrid.br-minimal .br-site-header .br-brand .br-monogram{flex:0 0 40px;display:grid;place-items:center;width:40px;height:44px;font-size:40px;line-height:1;font-weight:850;color:white!important;letter-spacing:-4px;font-family:inherit;transform:skew(-6deg)}
.br-hybrid.br-minimal .br-site-header>nav{background:#ffffff18!important}.br-hybrid.br-minimal .br-site-header nav a,.br-hybrid.br-minimal .br-site-header .br-account-links a{color:#fff!important}
.br-hybrid.br-minimal .br-site-header nav a:not([aria-current=page]){color:white!important}.br-hybrid.br-minimal .br-site-header nav a:hover,.br-hybrid.br-minimal .br-site-header nav a:focus-visible{background:#ffffff2b!important;color:white!important}
.br-hybrid .br-play-continue{margin:16px 0 24px}.br-hybrid #continuePanel .ease-continue{font-size:22px}
.br-hybrid [id^="favorite-"]{color:#b88100!important}.br-hybrid [id^="favorite-"][aria-pressed="true"]{color:#d99d15!important;background:#fff6d9!important}
.br-hybrid #values button.br-number-used{background:#e7e5f7;color:#5145a0;border-color:#c1badf}.br-hybrid #values .br-touch-value-selected{outline:3px solid #8b58c8;outline-offset:2px}.br-hybrid #br-number-entry{font-size:18px;min-height:44px;max-width:150px}
.br-hybrid .br-watch-demo{display:inline-flex;align-items:center;min-height:44px;color:#4d50b8;font-weight:650;margin-top:8px}
.br-hybrid .word-acro-quote{display:flex;flex-wrap:wrap;gap:14px 18px;align-items:flex-start}.br-hybrid .word-quote-word{display:inline-flex;flex-wrap:nowrap;gap:3px;max-width:100%;overflow-x:auto;padding-bottom:4px}.br-hybrid .word-quote-word .word-quote-char{flex:0 0 28px;width:28px;min-width:28px}
.br-hybrid .exp-pipe{padding:0!important;line-height:0;aspect-ratio:1;overflow:hidden}.br-hybrid .exp-pipe svg{display:block;width:100%;height:100%;overflow:visible;color:#3468c4}
.br-hybrid[data-memory-game="change"] .brain-grid{max-width:580px;margin:auto}.br-hybrid[data-memory-game="change"] .brain-grid>*{font-size:clamp(27px,7vw,48px);min-height:52px;display:grid;place-items:center}
.br-clean-play #challengeOpponentLabel,.br-clean-play #recordsText,.br-clean-play #achievements,.br-clean-play #recordStatus{display:none!important}
.br-clean-play .br-obsolete-copy,.br-clean-play .br-manual-backup{display:none!important}
.br-hybrid .br-manual-backup{display:none!important}
.br-clean-play #movesAvailable.br-hide-mobile-arrows{display:flex}
.br-hybrid .piece-pick{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:88px;min-height:96px;touch-action:none;color:#4d50b8}.br-hybrid .piece-pick.placed{opacity:.55}.br-hybrid .br-piece-shape{width:72px;height:72px;display:block}.br-hybrid .br-piece-drag{position:fixed;pointer-events:none;z-index:9999;width:84px;height:84px;transform:translate(-50%,-100%);opacity:.7;color:#6b46bc}.br-hybrid .token-tray{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
@media(max-width:700px){.br-hybrid.br-minimal .br-site-header .br-wordmark{font-size:20px;max-width:180px}.br-hybrid.br-minimal .br-site-header .br-brand .br-monogram{flex-basis:30px;width:30px;font-size:34px}.br-hybrid.br-minimal .br-site-header .br-brand{gap:7px}.br-clean-play #movesAvailable.br-hide-mobile-arrows{display:none!important}.br-hybrid .word-quote-word .word-quote-char{flex-basis:25px;min-width:25px;width:25px}}
}

@media screen{.br-hint-cell{outline:3px solid #9159d5!important;outline-offset:-3px!important;box-shadow:inset 0 0 0 2px #fff!important}.spatial-grid:has(.current){touch-action:none}.br-hide-mobile-arrows{display:none!important}.spatial-grid .painted,.spatial-grid .current{background:#8bb9ea;color:#173b70;transition:background-color .1s ease}.spatial-grid .current{box-shadow:inset 0 0 0 3px #7a4fc4}}

/* A common, accessible selection catalog for supported VS families. */
.br-vs-filters{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.br-vs-filters label{display:grid;gap:5px;flex:1 1 180px}.br-vs-filters input,.br-vs-filters select{width:100%;min-height:44px;box-sizing:border-box;font-size:16px}
#vsChallenges.br-vs-catalog{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(180px,1fr))!important;gap:16px!important;align-items:stretch}
#vsChallenges.br-vs-catalog .br-puzzle-card{display:grid!important;grid-template-rows:150px minmax(48px,auto) 48px!important;gap:10px!important;padding:12px!important;min-width:0;box-sizing:border-box;border:1px solid #d8e0f1;border-radius:18px;background:white;overflow:hidden}
#vsChallenges .br-puzzle-card h3{grid-row:2!important;margin:0!important;text-align:center!important;line-height:1.25!important;font-size:17px!important;align-self:center;color:#233b61}
#vsChallenges .br-puzzle-thumb{grid-row:1!important;min-height:0!important;height:150px!important;display:flex;align-items:center;justify-content:center;overflow:hidden}#vsChallenges .br-puzzle-thumb svg{width:100%;height:100%;object-fit:contain}
#vsChallenges .br-play-action{grid-row:3!important;width:100%!important;min-width:0!important;margin:0!important;justify-content:center!important;align-items:center!important;display:flex!important;min-height:44px;padding:8px!important;font-size:16px!important}
#vsChallenges .is-selected{outline:3px solid #8055cb;outline-offset:-3px}
@media(max-width:480px){#vsChallenges.br-vs-catalog{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}#vsChallenges.br-vs-catalog .br-puzzle-card{grid-template-rows:115px minmax(48px,auto) 44px!important;padding:8px!important}#vsChallenges .br-puzzle-thumb{height:115px!important}#vsChallenges .br-puzzle-card h3{font-size:15px!important}}

@media screen{
.br-slide-art-choice{display:flex;align-items:center;justify-content:center;gap:12px;margin:12px 0}.br-slide-art-choice select{font-size:16px;min-height:44px;max-width:220px}
.br-picture-grid{gap:3px!important;max-width:480px!important;margin:auto!important}.br-picture-tile{aspect-ratio:1;position:relative;padding:0!important;min-height:0!important;border-radius:8px!important;border:1px solid #b7c6e1!important;opacity:1!important;overflow:hidden;background-color:#eef3ff!important}.br-picture-tile:disabled{filter:none!important;opacity:1!important}.br-picture-tile:not(:disabled){box-shadow:inset 0 0 0 3px #7651bd60!important;cursor:pointer}.br-picture-tile .br-tile-number{position:absolute;bottom:3px;right:3px;min-width:20px;height:20px;display:grid;place-items:center;background:#fff9;color:#23345c;font-size:12px;border-radius:4px}.br-picture-tile.exp-gap{background:#e6e9f4!important;border:1px dashed #9caac4!important}.br-picture-guide{max-width:480px;margin:12px auto}.br-picture-guide img{display:block;max-width:160px;border-radius:10px;margin:10px auto}
}

@media screen{.br-memory-hint{margin:14px auto;padding:14px 16px;border-radius:14px;max-width:560px;background:#ede8fa;color:#41366f;line-height:1.5}#brainHint{min-height:44px}#brKeyboardDone{min-height:44px;min-width:72px;margin:4px 8px}.br-native-cell{touch-action:manipulation}}

@media screen{
.br-clean-play .br-ribbon,.br-clean-play .exp-card-badge:empty,.br-clean-play p:empty{display:none!important}.br-clean-play [hidden]{display:none!important}
.br-clean-play main{min-width:0}.br-clean-play .br-pagehead{margin-bottom:22px}.br-clean-play .br-pagehead h1{font-size:clamp(30px,6vw,44px);letter-spacing:-1px;color:#213b62}.br-clean-play .toolbar button,.br-clean-play .row>button,.br-clean-play .row>input,.br-clean-play .row>select{font-size:16px;min-height:42px}.br-clean-play input[type=file]{min-height:0}.br-clean-play .game-input{font-size:20px;max-width:100%;box-sizing:border-box}.br-clean-play details>summary{min-height:44px;display:flex;align-items:center;font-weight:650}.br-clean-play .word-quote-word{white-space:nowrap}
}

/* Native cell inputs stay inside the existing single board. */
.br-clean-play .cells input.br-native-number{min-width:0;min-height:0;width:100%;height:100%;box-sizing:border-box;padding:0;text-align:center;font:inherit;background:transparent;border:0;color:#263b85;border-radius:0}.br-clean-play .cells input.br-native-number:focus{outline:2px solid #7960d7;outline-offset:-2px;background:#f4efffcc}.br-clean-play .lab-controls button{min-height:0}

/* Whole-word clues and a shared drag workspace stay inside the page at narrow widths. */
.word-drop-board{width:max-content;min-width:0}.word-drop-board .word-grid,.word-drop-board .word-drop-legend{margin-left:0;margin-right:0}
.br-jp-native{text-align:center;border:1px solid #b7bad1;box-sizing:border-box;font-size:20px!important}
.br-spatial-workspace{min-width:0;max-width:100%}.br-spatial-workspace>#board,.br-spatial-workspace>#pieceTray{min-width:0;max-width:100%}
@media(min-width:850px){.br-block-fill .br-spatial-workspace{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr);gap:24px;align-items:start}.br-block-fill .token-tray{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}}

/* A running standalone game leads with its own title/board, not unrelated promotions. */
.br-standalone-active main>.game-hero,.br-standalone-active main>.br-related-games,.br-standalone-active main>.br-gradient-hero,.br-standalone-active .br-mobile-nav{display:none!important}
#saveNote:empty{display:none}#saveNote{padding:10px 12px;border-left:3px solid #93611e;background:#fff8e8;border-radius:6px}

/* Complete Repair 04: original artwork and five offline cosmetic skins. */
@media screen {
:root{--br-accent:#275cae;--br-accent-2:#7845bd;--br-page:#f5f6fc;--br-tint:#eee9fa;--br-ink:#253c61;--br-skin-line:#c7c5e1}
:root[data-br-skin=ocean]{--br-accent:#075e8d;--br-accent-2:#087f83;--br-page:#f0f9fb;--br-tint:#d8f1f1;--br-ink:#17445c;--br-skin-line:#9fcfd2}
:root[data-br-skin=forest]{--br-accent:#236141;--br-accent-2:#766013;--br-page:#f5f8ef;--br-tint:#e8efd8;--br-ink:#304829;--br-skin-line:#b9cca0}
:root[data-br-skin=rose]{--br-accent:#703f83;--br-accent-2:#aa345e;--br-page:#fcf4f9;--br-tint:#f4dfed;--br-ink:#593652;--br-skin-line:#d7b4cd}
:root[data-br-skin=midnight]{--br-accent:#203453;--br-accent-2:#514095;--br-page:#eff1f8;--br-tint:#e0e3f4;--br-ink:#253249;--br-skin-line:#b5bbd7}
:root[data-br-skin=harvest]{--br-accent:#873a19;--br-accent-2:#b85a21;--br-page:#fff6e9;--br-tint:#ffe3bf;--br-ink:#482e20;--br-skin-line:#d8af84}
html[data-br-skin] body.br-hybrid{background:var(--br-page)!important;color:var(--br-ink)}
html[data-br-skin] .br-hybrid.br-minimal .br-site-header{background:linear-gradient(110deg,var(--br-accent),var(--br-accent-2))!important}
html[data-br-skin] .br-hybrid .br-button,html[data-br-skin] .br-hybrid .br-play-action,html[data-br-skin] .br-hybrid .br-daily-feature{background:linear-gradient(115deg,var(--br-accent),var(--br-accent-2))!important;color:#fff!important}
html[data-br-skin] .br-hybrid .br-puzzle-card{border-color:var(--br-skin-line)!important}
html[data-br-skin] .br-hybrid #values button.br-number-used{background:var(--br-tint)!important;color:var(--br-ink)!important;border-color:var(--br-accent-2)!important}
html[data-br-skin] .br-hybrid #values button.br-number-used::after{content:' •';font-size:.7em}
html[data-br-skin] .br-hybrid #values .br-touch-value-selected{outline-color:var(--br-accent-2)}
html[data-br-skin] #vsChallenges .is-selected{outline-color:var(--br-accent-2)}
.br-hybrid.br-minimal .br-site-header .br-brand img.br-original-mark{display:block!important;visibility:visible!important;object-fit:cover;width:48px!important;height:48px!important;flex:0 0 48px;clip-path:inset(6% round 24%);border:0!important;background:transparent!important;box-shadow:none!important;transform:none!important}
.br-appearance{position:relative;font-size:13px;align-self:flex-end}.br-appearance summary{cursor:pointer;min-height:32px;display:flex;align-items:center;justify-content:flex-end;color:white;font-weight:600;list-style:none}.br-appearance summary::after{content:' ▾';margin-left:5px}
.br-appearance-panel{position:absolute;right:0;top:100%;z-index:1000;width:min(270px,calc(100vw - 32px));box-sizing:border-box;padding:16px;background:white;color:#253c61;border:1px solid #c6cde1;border-radius:14px;box-shadow:0 12px 32px #14254830;display:grid;gap:10px;text-align:left}
.br-appearance-panel label{font-weight:650}.br-appearance-panel select,.br-appearance-panel button{box-sizing:border-box;max-width:100%;width:100%;min-height:44px;font-size:16px;color:#253c61;background:#f6f7fc;border:1px solid #aab6ce;border-radius:8px;padding:6px}.br-appearance-status{font-size:13px;margin:0}.br-appearance-status:empty{display:none}
.br-word-native{box-sizing:border-box;width:100%;min-width:0;height:100%;text-align:center;font:inherit;font-size:22px;border:0;border-radius:0;background:transparent;color:var(--br-accent,#265ba5);padding:0;touch-action:manipulation}.word-cell:has(.br-word-native){display:grid;grid-template-rows:12px 1fr;padding:3px}.word-char:has(.br-word-native){padding:0}.word-cell:focus-within,.word-char:focus-within{outline:3px solid var(--br-accent-2,#7845bd);outline-offset:-3px}.br-word-native:focus{outline:none}.word-quote-char[role=button]{cursor:text}.word-quote-char:focus-visible{outline:2px solid var(--br-accent,#265ba5)}
.br-abc-native{width:100%;min-width:0;text-align:center;font-size:22px;border-radius:6px;box-sizing:border-box;color:var(--br-ink,#253c61);background:white;touch-action:manipulation}
@media(max-width:700px){.br-hybrid.br-minimal .br-site-header .br-brand img.br-original-mark{width:42px!important;height:42px!important;flex-basis:42px}.br-appearance summary{min-height:44px}}
}
@media print{.br-appearance{display:none!important}}

@media screen{.br-picture-grid{width:100%!important;box-sizing:border-box}.br-picture-grid .br-picture-tile{width:100%!important;min-width:0!important;height:auto!important;aspect-ratio:1!important}.exp-grid-wrap:has(.br-picture-grid){width:100%;max-width:480px;margin:auto}}

/* Compact, fluid Block Fill board; drag preview uses the same cell pitch. */
.br-block-fill .spatial-grid{width:100%;max-width:320px;box-sizing:border-box;overflow:visible}
.br-block-fill .spatial-grid button{width:100%!important;height:auto!important;aspect-ratio:1;min-width:0!important;min-height:0!important;padding:0}
.br-block-fill .piece-pick{min-width:64px;min-height:76px;padding:6px;gap:4px}
.br-block-fill .piece-pick .br-piece-shape{width:48px;height:48px}
.br-block-fill .token-tray{gap:6px}
.br-block-fill .spatial-grid-wrapper{min-width:0;max-width:100%}

/* Codeword givens and entered letters share one centered type treatment. */
.word-cell.given,.word-cell:has(.br-word-native){display:grid!important;grid-template-rows:12px minmax(0,1fr);padding:3px!important}.word-cell.given strong,.word-cell .br-word-native{font-family:inherit!important;font-size:22px!important;font-weight:700!important;line-height:1!important;align-self:center;justify-self:center;text-align:center;min-height:0!important;height:100%;width:100%;display:grid;place-items:center}.word-cell small{align-self:center;justify-self:center}#wordCounter:empty,#wordChoices:empty{display:none!important}

.br-track-art{display:block;position:absolute;inset:0;pointer-events:none}.br-track-art+small{position:relative;z-index:1;background:#ffffffd9;border-radius:3px;font-size:10px}.br-track-end{position:absolute;top:3px;left:3px;background:#f6df91;color:#26394e;border-radius:50%;width:20px;height:20px;display:grid;place-items:center;font-size:13px;font-weight:800}.route-cell{position:relative}.br-cave-board .logic-cell.logic-black{background-color:#354452!important;background-image:linear-gradient(135deg,#ffffff0c 25%,transparent 25%,transparent 75%,#00000018 75%);color:#fff!important}.br-cave-board .logic-cell.logic-white,.br-cave-board .logic-cell.logic-fixed{background-color:#f5f4ec!important;color:#243746!important}.br-cave-board .logic-cell.br-cave-sight{box-shadow:inset 0 0 0 3px #e2af39!important}

/* brainistry-compact-header.css */
@media screen{
.br-hybrid:is(.br-minimal,[data-br-page="dashboard"]) .br-site-header.br-compact-header{display:grid!important;grid-template-columns:minmax(190px,1fr) auto auto!important;align-items:center!important;gap:14px!important;padding:12px max(16px,calc((100vw - 1172px)/2))!important;min-height:0!important;height:auto!important}
.br-hybrid:is(.br-minimal,[data-br-page="dashboard"]) .br-compact-header .br-brand{grid-row:1!important;grid-column:1!important;width:max-content!important;max-width:100%!important;min-width:0!important;gap:0!important;margin:0!important;padding:0!important;align-self:center!important;color:white!important}
.br-integrated-name{display:block;line-height:1!important;color:#fff!important;font-size:28px;font-weight:760;letter-spacing:-.8px}
.br-name-line{display:flex;align-items:center;gap:0!important;white-space:nowrap}
.br-name-line>span{margin:0!important}
.br-letter-b{height:1.08em;width:1.12em;display:block;flex:none;overflow:visible;margin-right:0}
.br-integrated-name>small{display:block;font-size:11px;line-height:1.3;letter-spacing:3px;font-weight:600;margin:1px 0 0 34px;color:white}
.br-hybrid:is(.br-minimal,[data-br-page="dashboard"]) .br-compact-header>nav{grid-row:1!important;grid-column:2!important;width:auto!important;flex-wrap:nowrap!important;gap:0!important;min-height:0!important;padding:3px!important;margin:0!important}
.br-hybrid:is(.br-minimal,[data-br-page="dashboard"]) .br-compact-header>nav a{min-height:44px!important;padding:7px 10px!important;line-height:1.2!important}
.br-account-menu{position:relative;grid-column:3;grid-row:1;justify-self:end;align-self:center;margin:0;color:#fff}
.br-account-menu>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:0 10px;border:1px solid #ffffff55;border-radius:12px;color:#fff;font-size:13px;font-weight:650;box-sizing:border-box}
.br-account-menu>summary::after{content:'⌄'}
.br-account-menu>summary::-webkit-details-marker,.br-appearance>summary::-webkit-details-marker{display:none}
.br-account-menu:not([open])>.br-account-links,.br-appearance:not([open])>.br-appearance-panel{display:none!important}
.br-hybrid:is(.br-minimal,[data-br-page="dashboard"]) .br-compact-header .br-account-menu>.br-account-links{position:absolute;top:calc(100% + 8px);right:0;display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:4px!important;width:min(280px,calc(100vw - 32px))!important;max-width:none!important;padding:12px!important;border:1px solid #c7d0e5;border-radius:14px;background:#fff!important;color:#253c61!important;box-shadow:0 12px 30px #15325230;z-index:2000;box-sizing:border-box;margin:0!important}
.br-hybrid:is(.br-minimal,[data-br-page="dashboard"]) .br-compact-header .br-account-menu:not([open])>.br-account-links{display:none!important}
.br-hybrid:is(.br-minimal,[data-br-page="dashboard"]) .br-compact-header .br-account-links>a{color:#294a7a!important;text-align:left!important;justify-content:flex-start!important;min-height:44px!important;padding:10px!important;border-radius:8px!important;margin:0!important}
.br-hybrid:is(.br-minimal,[data-br-page="dashboard"]) .br-compact-header .br-account-links>a:hover{background:#eff1fa!important}
.br-compact-header .br-appearance{width:100%;align-self:stretch;font-size:14px}
.br-compact-header .br-appearance summary{justify-content:flex-start;color:#294a7a;min-height:44px;padding:0 10px;box-sizing:border-box}
.br-compact-header .br-appearance-panel{position:static;width:100%;max-width:100%;box-shadow:none;border:0;border-top:1px solid #dfe4ef;border-radius:0;padding:10px;box-sizing:border-box}
.br-compact-header summary:focus-visible,.br-compact-header a:focus-visible{outline:3px solid #b5d7ff;outline-offset:2px}
@media(max-width:960px){
.br-hybrid:is(.br-minimal,[data-br-page="dashboard"]) .br-site-header.br-compact-header{grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:10px 16px!important}
.br-account-menu{grid-column:2}
.br-hybrid:is(.br-minimal,[data-br-page="dashboard"]) .br-compact-header>nav{grid-column:1/-1!important;grid-row:2!important;width:100%!important;justify-content:space-between!important;box-sizing:border-box}
.br-hybrid:is(.br-minimal,[data-br-page="dashboard"]) .br-compact-header>nav a{font-size:13px!important;padding:7px 8px!important}
.br-integrated-name{font-size:26px}
}
@media(max-width:380px){
.br-hybrid:is(.br-minimal,[data-br-page="dashboard"]) .br-site-header.br-compact-header{padding:8px 12px!important;gap:6px!important}
.br-hybrid:is(.br-minimal,[data-br-page="dashboard"]) .br-compact-header>nav a{font-size:11.5px!important;padding:7px 5px!important}
.br-integrated-name{font-size:24px}.br-account-menu>summary{font-size:12px;padding:0 8px}
}
}
@media print{.br-account-menu{display:none!important}}
@media screen{
.br-hybrid:is(.br-minimal,[data-br-page="dashboard"]) .br-compact-header .br-brand .br-integrated-name,.br-hybrid:is(.br-minimal,[data-br-page="dashboard"]) .br-compact-header .br-brand .br-name-line,.br-hybrid:is(.br-minimal,[data-br-page="dashboard"]) .br-compact-header .br-brand .br-name-line>span{color:#fff!important;font-weight:760!important;font-size:28px!important;letter-spacing:-.8px!important;background:none!important;-webkit-text-fill-color:#fff!important}
.br-hybrid:is(.br-minimal,[data-br-page="dashboard"]) .br-compact-header details.br-account-menu{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;min-height:0!important;width:auto!important;max-width:none!important;margin:0!important}
.br-hybrid:is(.br-minimal,[data-br-page="dashboard"]) .br-compact-header .br-account-menu>summary{background:transparent!important;color:#fff!important;padding:0 10px!important;margin:0!important;line-height:1.2!important;min-height:44px!important;font-size:13px!important}
.br-hybrid:is(.br-minimal,[data-br-page="dashboard"]) .br-compact-header details.br-appearance{padding:0!important;border:0!important;margin:0!important;background:transparent!important}
@media(max-width:960px){.br-hybrid:is(.br-minimal,[data-br-page="dashboard"]) .br-compact-header .br-brand .br-integrated-name,.br-hybrid:is(.br-minimal,[data-br-page="dashboard"]) .br-compact-header .br-brand .br-name-line,.br-hybrid:is(.br-minimal,[data-br-page="dashboard"]) .br-compact-header .br-brand .br-name-line>span{font-size:26px!important}}
@media(max-width:380px){.br-hybrid:is(.br-minimal,[data-br-page="dashboard"]) .br-compact-header .br-brand .br-integrated-name,.br-hybrid:is(.br-minimal,[data-br-page="dashboard"]) .br-compact-header .br-brand .br-name-line,.br-hybrid:is(.br-minimal,[data-br-page="dashboard"]) .br-compact-header .br-brand .br-name-line>span{font-size:24px!important}}
}

/* brainistry-player-repair.css */
#continuePanel{min-height:0!important;align-self:start!important;padding:16px!important;margin:12px 0!important}#continuePanel h2{font-size:19px!important;margin:0 0 10px!important}#continuePanel .ease-continue{display:block!important;min-height:44px!important;padding:10px 12px!important;font-size:16px!important;line-height:1.4!important;border-radius:10px!important}#continuePanel p{margin:8px 0}.br-home-top{align-items:start!important}.br-footer-brand{display:flex!important;align-items:center;gap:6px}.br-footer-brand .br-letter-b{height:30px;width:32px}.br-footer-brand>span{display:inline}.br-hybrid #values button[aria-pressed=true]{background:#6c43b4!important;color:white!important;border:2px solid #402477!important;box-shadow:0 0 0 3px #cdb8ef!important}.br-usage-legend{display:flex;flex-wrap:wrap;gap:8px;align-items:center;width:100%}.br-usage-legend span{display:inline-block;min-width:26px;text-align:center}.br-usage-legend .used{text-decoration:line-through;text-decoration-thickness:2px;color:#757887}.br-account-page{max-width:1100px;margin:auto;padding:24px}.br-account-page section{background:white;padding:20px;border:1px solid #dfe3ee;border-radius:16px;margin:20px 0}.br-account-page select{min-height:44px;font-size:16px;max-width:100%;display:block;margin:10px 0}.br-stats-scroll{overflow:auto}.br-stats-scroll table{border-collapse:collapse;width:100%;text-align:left}.br-stats-scroll th,.br-stats-scroll td{padding:10px;border-bottom:1px solid #e0e5ef}#score{display:none!important}.br-learn-size{padding:12px;background:#edf3fc;border-radius:10px}.br-lesson-close{position:sticky;top:6px;z-index:5;min-height:44px;background:white!important;color:#294a7a!important;border:2px solid #6c43b4!important}.br-player-help{padding:12px;background:#edf3fc;border-radius:10px}#brShowAll{min-height:44px;margin:10px 0}.br-hybrid .br-site-header.br-compact-header>nav{flex-wrap:wrap!important;justify-content:flex-start!important}.br-hybrid .br-site-header.br-compact-header>nav a{flex:1 0 auto!important;text-align:center!important}@media(max-width:380px){.br-hybrid .br-site-header.br-compact-header>nav a{font-size:12px!important;padding:7px!important;flex:1 0 25%!important}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}

.mine-scroll{overflow:auto;margin:16px 0}#mineBoard{display:grid;max-width:650px;min-width:280px;gap:2px}#mineBoard button{aspect-ratio:1;min-height:30px;padding:0;border:1px solid #8396b3;border-radius:3px;background:#b6c9ee;color:#17324f;font-size:18px;font-weight:700}#mineBoard .mine-open{background:#fff}#mineBoard .mine-hit{background:#ffd8d8}.mine-tools [aria-pressed=true]{background:#285cc8;color:white;box-shadow:0 0 0 3px #9db9fc}

.br-pdf-exporting #pages .sheet{flex-shrink:0!important;zoom:1!important;transform:none!important}

/* Player Repair 03: shared readable controls and responsive board details. */
button[aria-pressed="true"],.br-toolbar button[data-selected="true"]{background:#205cbc!important;color:#fff!important;box-shadow:inset 0 0 0 2px #fff,0 0 0 2px #205cbc}
button:disabled{opacity:.48;cursor:default}#values:empty{display:none!important}
#continuePanel{padding:12px 16px!important;display:flex;gap:10px;align-items:center;flex-wrap:wrap}#continuePanel[hidden]{display:none}#continuePanel h2{font-size:1rem;margin:0}.ease-continue{display:inline-flex!important;width:auto!important;min-height:0!important;padding:9px 14px!important;font-size:1rem!important;margin:0!important}
footer.br-footer,.br-footer,.br-hybrid-footer{background:linear-gradient(110deg,#2056a4,#7043b3)!important;color:white!important;border:0!important;padding:24px!important}footer.br-footer a,.br-footer a,.br-hybrid-footer a{color:white!important}.br-footer-brand{display:flex;align-items:center;font-weight:800;font-size:1.4rem}
.sashi-cell{position:relative;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important}.sashi-cell strong{line-height:1!important;margin:0!important}.sashi-cell small{position:absolute;top:3px;right:3px;font-size:.65em}
.br-escape-board{position:relative;width:min(100%,480px);aspect-ratio:1;background:repeating-linear-gradient(90deg,transparent 0 calc(var(--cell) - 1px),#d6e4f0 calc(var(--cell) - 1px) var(--cell)),repeating-linear-gradient(0deg,#eef5fb 0 calc(var(--cell) - 1px),#d6e4f0 calc(var(--cell) - 1px) var(--cell));border:5px solid #284c71;border-radius:12px;margin:20px auto;box-sizing:border-box;touch-action:none}.br-escape-block{position:absolute;border:4px solid #eef5fb!important;border-radius:12px!important;background:var(--block-blue)!important;color:white;padding:0!important;margin:0!important;min-width:0!important;min-height:0!important;touch-action:none;box-shadow:inset 0 -5px 0 #0002}.br-escape-block.gold{background:linear-gradient(135deg,#ffe191,#e5a822)!important}.br-escape-block.selected{box-shadow:inset 0 0 0 3px #17324f,inset 0 -5px 0 #0002}.br-escape-exit{position:absolute;left:100%;top:var(--exit-top);height:var(--exit-height);width:18px;background:#f5f8fd;color:#93620b;display:flex;align-items:center;justify-content:center;font-size:25px}
#board:has(>.cells){position:relative;padding:0!important;line-height:0;max-width:560px;aspect-ratio:1}#board:has(>.cells)>svg{display:block;width:100%;height:auto}#board>.cells{position:absolute;display:grid;gap:0!important}#board>.cells>button{min-width:0;min-height:0;padding:0;margin:0;border-radius:0;background:transparent;line-height:1}
.br-success-stage{position:relative}.br-success-overlay{position:absolute;z-index:10;inset:12% 4% auto;background:linear-gradient(135deg,#2158b5,#7546ba);color:#fff;text-align:center;padding:24px 16px;border:3px solid #ffe09b;border-radius:22px;box-shadow:0 12px 40px #17324f66;font-size:clamp(22px,6vw,36px);font-weight:800;line-height:1.3}.br-success-overlay button{display:block;margin:14px auto 0;font-size:16px}.br-success-stars{color:#ffe091;letter-spacing:.2em;font-size:1.5em;animation:br-stars .8s ease-out}.br-success-overlay>i{position:absolute;left:50%;top:25%;width:6px;height:6px;border-radius:50%;background:#ffe091;transform:rotate(var(--angle)) translateY(-70px);animation:br-spark 1.2s ease-out both}@keyframes br-spark{from{opacity:1;transform:rotate(var(--angle)) translateY(0)}to{opacity:0;transform:rotate(var(--angle)) translateY(-110px)}}@keyframes br-stars{from{transform:scale(.5)}to{transform:scale(1)}}@media(prefers-reduced-motion:reduce){.br-success-stars,.br-success-overlay>i{animation:none}.br-success-overlay>i{display:none}}
.br-memory-shape{width:1.6em;height:1.6em;vertical-align:middle;display:inline-block;filter:drop-shadow(0 2px 1px #18385a22)}
#entry:focus-within{position:sticky;bottom:8px;z-index:20;background:#f6f8ff;padding:12px;border:2px solid #3b65c3;border-radius:12px}#entry .br-keyboard-clue{font-weight:700;line-height:1.4;margin-bottom:8px}
.br-gif-stage video{max-width:100%;height:auto}#verifiedPlay{max-width:960px;margin:24px auto}.br-board{margin:auto}

#board>.cell:has(.br-legacy-native){position:relative;padding:0;display:block;font-family:Arial,sans-serif;font-weight:400}.br-legacy-native{display:block;width:100%;height:100%;min-width:0;border:0;border-radius:0;text-align:center;background:transparent;font:inherit;padding:0;box-sizing:border-box;opacity:1!important}#board .br-native-notes{font-size:clamp(7px,2vw,10px);inset:2px;position:absolute;display:grid;grid-template:repeat(3,1fr)/repeat(3,1fr);pointer-events:none;line-height:1;text-align:center;color:#1555a2}#digits[hidden]{display:none!important}

/* Repair 04: appearance applies to site controls and the entire footer. */
.br-hybrid footer.br-footer,.br-hybrid .br-footer,.br-hybrid .br-hybrid-footer{box-sizing:border-box;width:100%;max-width:none!important;margin:0!important;background:linear-gradient(110deg,var(--br-accent,#2056a4),var(--br-accent-2,#7043b3))!important;color:#fff!important}
.br-hybrid .br-site-control,.br-hybrid a.br-button{background:var(--br-tint,#edf3fc)!important;color:var(--br-accent,#2056a4)!important;border-color:var(--br-accent,#2056a4)!important}
.br-hybrid .br-site-control.primary,.br-hybrid #new,.br-hybrid #generate,.br-hybrid .br-site-control[aria-pressed=true],.br-hybrid a.br-button.primary{background:linear-gradient(110deg,var(--br-accent,#2056a4),var(--br-accent-2,#7043b3))!important;color:#fff!important}
.br-hybrid button[aria-pressed=true]{box-shadow:inset 0 0 0 2px #fff,0 0 0 2px var(--br-accent,#2056a4)}
.br-success-overlay{background:linear-gradient(135deg,var(--br-accent,#2158b5),var(--br-accent-2,#7546ba))}
.br-puzzle-howto{padding:12px 16px;margin:16px 0;border:1px solid var(--br-skin-line,#cdd8ea);border-radius:12px;background:var(--br-tint,#edf3fc)}.br-puzzle-howto summary{cursor:pointer;font-weight:700;min-height:32px}.br-puzzle-howto video{display:block;width:min(100%,720px);max-height:65vh;margin:12px auto}.br-puzzle-howto a{display:inline-block;margin-top:8px}

/* Existing primary-action rules also consume the selected appearance palette. */
html[data-br-skin] body.br-hybrid{--br-gradient:linear-gradient(110deg,var(--br-accent,#2056a4),var(--br-accent-2,#7043b3))}
html[data-br-skin] body.br-hybrid .br-site-control{background:var(--br-tint,#edf3fc)!important;color:var(--br-accent,#2056a4)!important;border-color:var(--br-accent,#2056a4)!important}
html[data-br-skin] body.br-hybrid .br-site-control.primary,html[data-br-skin] body.br-hybrid .br-site-control[aria-pressed=true]{background:var(--br-gradient)!important;color:#fff!important}

html[data-br-skin] body.br-hybrid{--br-accent:inherit!important;--br-accent-2:inherit!important}
.br-site-control{--br-control-bg:var(--br-tint,#edf3fc);--br-control-fg:var(--br-accent,#2056a4)}
.br-site-control:is(.primary,.ease-play,[aria-pressed=true],#new,#newMine,#generate,#start,#startGame){--br-control-bg:linear-gradient(110deg,var(--br-accent,#2056a4),var(--br-accent-2,#7043b3));--br-control-fg:#fff}

.brain-grid .br-memory-shape{width:clamp(32px,9vw,64px);height:clamp(32px,9vw,64px)}.token-tray [data-symbol],.brain-grid [data-cell]{touch-action:none}.br-unified-game{max-width:960px;margin:24px auto;padding:16px;border:1px solid var(--br-skin-line);border-radius:18px;background:var(--br-page)}

/* Shared action typography: Check matches nearby Hint, Undo and Restart controls. */
body.br-hybrid button.br-site-control{font-family:inherit!important;font-size:16px!important;font-weight:700!important;line-height:1.4!important;letter-spacing:normal!important}

/* Player Basics 01: the same title, difficulty and help stack in every player. */
body.br-hybrid .br-player-basics{display:flex;flex-direction:column;gap:12px;width:100%;min-width:0;margin:0 0 20px;padding:0;text-align:left}
body.br-hybrid .br-player-basics .br-player-title{font-family:inherit;font-size:clamp(1.5rem,4.5vw,2rem);font-weight:800;line-height:1.2;margin:0;padding:0;overflow-wrap:anywhere;color:inherit}
body.br-hybrid .br-player-basics .br-player-difficulty{font-family:inherit;font-size:1rem;font-weight:600;line-height:1.4;margin:0;padding:0;color:inherit}
body.br-hybrid .br-player-basics .br-puzzle-howto{width:100%;box-sizing:border-box;margin:0!important}
body.br-hybrid .br-player-basics .br-puzzle-howto>summary{font-family:inherit;font-size:1rem;font-weight:700;line-height:1.4}
body.br-hybrid .br-basics-original-title{display:none!important}
body.br-hybrid .br-basic-player{min-width:0}
body.br-hybrid .br-player-basics .br-puzzle-howto>summary::after{content:'⌄';float:right;margin-left:12px}body.br-hybrid .br-player-basics .br-puzzle-howto[open]>summary::after{content:'⌃'}

/* Check Placement 01: one full-width action immediately beneath the board. */
body.br-hybrid .br-check-row{display:block;box-sizing:border-box;width:100%;min-width:0;margin:12px 0}
body.br-hybrid button.br-check-action{box-sizing:border-box;width:100%;max-width:100%;font-family:inherit!important;font-size:16px!important;font-weight:700!important;line-height:1.4!important;letter-spacing:normal!important}
body.br-hybrid .br-check-row[hidden]{display:none!important}

/* Player Controls 03 */
body.br-hybrid .br-retired-control{display:none!important}
body.br-hybrid .br-puzzle-actions{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0;width:100%;box-sizing:border-box}
body.br-hybrid .br-puzzle-actions button{width:100%;min-width:0;padding:10px 4px;font-family:inherit;font-size:16px;font-weight:700;line-height:1.4}
body.br-hybrid .br-generate-row{margin:12px 0;width:100%}
body.br-hybrid .br-generate-row button{width:100%}
body.br-hybrid .araf-cell{display:grid;grid-template-rows:30px 18px;align-content:center;justify-items:center;gap:0}
body.br-hybrid .araf-cell strong{align-self:center;line-height:30px}
body.br-hybrid .araf-cell small{height:18px;line-height:18px}
body.br-hybrid .araf-empty-clue{visibility:hidden}
body.br-hybrid #arafPalette{display:flex!important}
body.br-hybrid .br-block-fill .token-tray{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center}
body.br-hybrid .br-block-fill .piece-pick{min-width:44px;min-height:44px;width:auto;padding:5px;gap:0;border:0!important;border-radius:5px;background:transparent!important;box-shadow:none!important;color:var(--br-accent,#326ad4)!important}
body.br-hybrid .br-block-fill .piece-pick[aria-pressed=true]{outline:2px solid var(--br-accent,#326ad4);outline-offset:1px}
body.br-hybrid .br-block-fill .piece-pick .br-piece-shape{width:calc(var(--piece-cols)*24px);height:calc(var(--piece-rows)*24px);max-width:96px;max-height:96px}
body.br-hybrid .br-block-fill .piece-pick.placed{opacity:.55;color:#66717e!important;filter:grayscale(1)}
body.br-hybrid.br-playing-fill #hintText,body.br-hybrid.br-playing-fill #movesAvailable{display:none!important}
body.br-hybrid.br-playing-fill .record-box{display:none!important}
body.br-hybrid #logicBoard.br-cave-board .logic-grid-wrap{width:100%;box-sizing:border-box;overflow:visible;padding:0}
body.br-hybrid #logicBoard.br-cave-board .logic-grid{width:min(100%,360px);max-width:100%;box-sizing:border-box;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:0;border:1px solid #756cae;border-radius:0}
body.br-hybrid #logicBoard.br-cave-board .logic-cell{box-sizing:border-box;min-width:0!important;min-height:0!important;width:100%!important;height:auto!important;aspect-ratio:1;border:1px solid #756cae!important;border-radius:0!important;margin:0;padding:0}

/* Responsive Layout 01: shared preset, full-size controls outside the fitted board. */
body.br-hybrid .br-basic-player{box-sizing:border-box;width:100%;max-width:900px;margin-inline:auto;min-width:0}
body.br-hybrid .br-basic-player .br-player-basics,body.br-hybrid .br-check-row,body.br-hybrid .br-puzzle-actions,body.br-hybrid .br-generate-row{box-sizing:border-box;max-width:100%}
body.br-hybrid .br-basic-player :is(.board-wrap,.grid-wrap,.mine-scroll,.logic-grid-wrap){min-width:0;max-width:100%;box-sizing:border-box}

body.br-hybrid :is(.br-check-row,.br-puzzle-actions,.br-generate-row)>button{margin:0!important;box-sizing:border-box}

/* Player Preset 02: secondary restart, full-size Notes above Sudoku. */
body.br-hybrid .br-restart-row{width:100%;box-sizing:border-box;margin:12px 0}
body.br-hybrid .br-restart-row>button{width:100%;margin:0!important;box-sizing:border-box;font:inherit}
body.br-hybrid #notes[hidden]{display:none!important}
body.br-hybrid #clueSection>#notes{display:block;margin:0 0 12px;min-height:44px;font-size:16px}

/* Check Feedback 01: readable feedback next to the board, no focus jump. */
body.br-hybrid .br-check-feedback{box-sizing:border-box;width:100%;margin:12px 0 0;padding:14px 16px;border:2px solid var(--br-accent,#875b20);border-radius:12px;background:var(--br-tint,#fff1d4);color:var(--br-text,#17324f);font:700 17px/1.45 system-ui;overflow-wrap:anywhere}
body.br-hybrid .br-check-feedback[hidden]{display:none!important}

html:has(.br-check-feedback){overflow-anchor:none}

/* Player Polish 04 */
.br-check-dialog{position:fixed;inset:auto;left:50%;transform:translate(-50%,-50%);margin:0;width:min(90vw,440px);max-height:80vh;overflow:auto;padding:24px;border:3px solid var(--br-accent,#704080);border-radius:20px;color:var(--br-ink,#17324f);background:var(--br-surface,#fff);box-shadow:0 16px 70px #0005;font:inherit;text-align:center;z-index:10000}
.br-check-dialog::backdrop{background:#0003}.br-check-dialog p{font:inherit;font-weight:700;margin:0 0 20px}.br-check-dialog button{font:inherit;min-width:110px;padding:12px 25px;border-radius:12px;cursor:pointer}
.br-cave-sight{box-shadow:inset 0 0 0 3px var(--br-accent,#7152ac)!important;background:#fff0b0!important;color:#17324f!important}.br-sight-count{text-align:center;font-size:.95rem}
.br-cave-board .logic-grid{gap:0!important;width:100%!important;min-width:0!important}.br-cave-board .logic-cell{border-radius:0!important;margin:0!important;min-width:0!important}
.br-block-fill .spatial-grid>button{box-sizing:border-box;touch-action:none}.br-block-fill .spatial-grid>button.occupied{background:var(--br-soft,#c9dbf0)!important}
.br-fill-hint{animation:br-fill-flash 1s ease-in-out 3;outline:3px dashed var(--br-accent,#7152ac);outline-offset:-5px}@keyframes br-fill-flash{50%{background:#ffd65a}}
@media(prefers-reduced-motion:reduce){.br-fill-hint{animation:none}}
#bananaGrid .banana-cell{display:grid!important;grid-template-rows:1fr 1fr;align-items:center;justify-items:center;padding:5px!important;gap:6px;line-height:1!important}
#bananaGrid .banana-mark{font-size:clamp(18px,5vw,28px);align-self:start}#bananaGrid .banana-clue{position:static!important;font-size:clamp(14px,4vw,22px)!important;align-self:end;line-height:1!important}
.banana-key,#bananaProgress{display:none!important}
.br-memory-review{border:2px solid var(--br-accent,#7152ac);padding:16px;border-radius:12px}.br-review-error{color:#a11925;font-weight:700}.br-review-row{padding:6px 0}.br-rules-close{float:right;font:inherit;font-weight:bold}

#board .br-native-notes{font-size:clamp(10px,2.7vw,16px);align-items:center}#logicSession #logicMoves,#logicSession #logicProgress,#logicSession #logicRecord{display:none!important}

/* Consistent Sudoku-style Learn guides. */
.br-guide-tabs{display:grid;grid-template-columns:2fr 1fr 1fr;gap:8px;margin:0 0 22px}.br-guide-tabs button{font:inherit;font-weight:700;padding:12px 6px;border-radius:12px;min-width:0}.br-guide-tabs button[aria-selected=true]{background:var(--br-accent,#5943b8)!important;color:white!important}
.br-guide-layout [role=tabpanel][hidden]{display:none!important}.br-guide-section{background:var(--br-surface,#fff);border:1px solid var(--br-border,#d9deeb);border-radius:18px;padding:20px;margin:0 0 20px}.br-guide-section>h3{margin:0 0 12px}.br-guide-rule-list{padding-left:24px}.br-guide-rule-list li{padding:6px 0;line-height:1.6}.br-guide-examples{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:18px}.br-guide-examples figure{min-width:0;margin:0;padding:16px;border:1px solid var(--br-border,#d9deeb);border-radius:12px}.br-guide-examples svg{max-width:100%;height:auto}.br-guide-examples table{max-width:100%;table-layout:fixed}.br-guide-examples .ht-row,.br-guide-examples .ht-example-pair{display:flex;flex-wrap:wrap;gap:14px}.br-guide-examples .ht-row>*{max-width:100%;min-width:0}.br-guide-examples figcaption{line-height:1.6;margin-top:14px}.br-guide-note{font-size:.95rem;margin-top:16px}.br-guide-layout video{display:block;width:100%;max-width:720px;max-height:70vh;margin:16px auto}.br-guide-layout .br-guide-diagram{max-width:460px;margin:auto}
@media(max-width:480px){.br-guide-section{padding:14px}.br-guide-examples figure{padding:10px}.br-guide-tabs{gap:5px}.br-guide-tabs button{font-size:.9rem}}

/* Plain Guides 01: shared written guide across Learn, player and catalog. */
.br-puzzle-howto>.br-simple-guide{margin-top:16px}.br-simple-guide .br-guide-section{margin:0 0 14px;padding:16px}.br-simple-guide .br-guide-section h3{font-size:1.1em}.br-simple-guide p,.br-simple-guide li{line-height:1.6}.br-simple-guide .br-guide-rule-list{margin-bottom:0}.br-howto-watch-title{margin:18px 0 10px}.br-rules-dialog{max-height:85vh;overflow:auto}.br-simple-guide{overflow-wrap:break-word}

/* Repair 05: every Check action shares the surrounding action typography. */
.br-check-action,#arafCheckRow #check{font-family:inherit!important;font-size:1rem!important;font-weight:700!important;line-height:1.25!important;min-height:48px}

.br-basic-player .br-next-difficulty{display:block!important;margin:10px 0;font-size:1rem}
.br-next-difficulty select{display:block;width:100%;margin-top:6px;font:inherit;min-height:44px}
body[data-br-page="logic-lab"] #keypad,body[data-br-page="logic-lab"] #clueList,body[data-br-page="logic-lab"] #controls{display:none!important}
.br-basic-player #pdf,.br-basic-player #paper,.br-basic-player #raw{display:none!important}
.br-basic-player #time,.br-basic-player #timer{display:block;width:max-content;margin:12px auto;padding:8px 16px;background:#172b3d;color:#bdf9df;border:3px solid #536a79;border-radius:10px;font:700 1.5rem ui-monospace,monospace;font-variant-numeric:tabular-nums;letter-spacing:.08em}

body.br-clean-play .record-box:has(#saveNote:empty){display:none!important}
body[data-br-page="logic-lab"] details:has(#clueList),body[data-br-page="logic-lab"] #selection{display:none!important}

/* Palisade uses direct border editing; retain native save errors. */
.ps-tools,#psProgress,#psBest{display:none!important}#check{width:100%;font:inherit;font-weight:700;margin-block:1rem}.ps-cell{touch-action:manipulation}#psMessage:empty,#psStorage:empty{display:none}

/* Scale whole physical preview pages, never individual grid columns. */
@media screen{html:not(.br-pdf-exporting) #pages .sheet{zoom:var(--br-preview-scale,1)!important;transform:none!important}#pages{justify-content:center}}

.howto-page .br-howto-framed{border:1.2px solid #222;border-radius:5px;padding:4px 6px;box-sizing:border-box;margin:5px 0;break-inside:avoid}

.br-digital-clock{display:flex;justify-content:center;align-items:center;gap:10px;width:max-content;max-width:100%;margin:12px auto;background:#172b3e;border:3px solid #455c70;border-radius:12px;padding:8px 18px;box-shadow:inset 0 2px 8px #0008,0 3px 6px #172b3e22;color:#d5f8de;font:600 22px/1.3 ui-monospace,Consolas,monospace;font-variant-numeric:tabular-nums;letter-spacing:.07em}
.br-digital-clock:before{content:'';width:6px;height:6px;background:#94d6a6;border-radius:50%;box-shadow:0 0 7px #94d6a6}
.br-digital-clock :is(#timer,#time,#mineTime){font:inherit!important;color:inherit!important;padding:0!important;margin:0!important;background:none!important}
.br-digital-clock:has(:is(#timer,#time,#mineTime):empty){display:none}

/* Fireworks are decorative and cannot block the dismiss button. */
.br-success-overlay>i,.br-success-stars{pointer-events:none}

/* Test15: short boards retain a full, centered completion card outside zoom clipping. */
.br-success-overlay.br-success-compact{position:absolute;inset:50% 4% auto;width:auto;max-width:none;margin:0;transform:translateY(-50%);padding:8px;font-size:clamp(16px,4vw,24px)}
.br-success-compact .br-success-stars{font-size:1em}.br-success-compact button{margin:6px auto 0;padding:5px 10px!important;min-height:32px!important}.br-success-overlay{max-height:100%;overflow:auto;box-sizing:border-box}
.br-success-overlay{overflow-wrap:anywhere}.br-success-overlay button{max-width:100%;white-space:normal}
.br-missing-review{box-sizing:border-box;width:100%;padding:18px;border:2px solid var(--br-accent);border-radius:14px;margin:16px auto;overflow-wrap:anywhere}
.br-missing-review h3{margin:0 0 8px}.br-missing-review p{margin:8px 0}
#reference[data-br-family=missingnumber]{min-height:200px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}

/* Small-board completion still needs readable text and full touch targets. */
.br-success-overlay.br-success-compact{font-size:clamp(20px,5vw,28px);padding:12px}
.br-success-overlay.br-success-compact button{min-height:44px!important;padding:8px 12px!important;font-size:16px}

/* Test25 timer-only display. */
.br-move-counter,#moves,#routeMoves{display:none!important}
.br-success-overlay{text-align:center}
.br-success-overlay button{margin-inline:auto}

/* Test25 C: readable count feedback and full-cell memory marks. */
.br-check-dialog p{text-align:center}
.br-check-count{display:block;margin:.4em 0}
.br-check-count strong,.br-check-dialog strong{font-weight:800}
[data-memory-kind="pattern"] .brain-grid .painted{background:var(--br-accent,#6550a5)!important;box-shadow:inset 0 0 0 3px var(--br-control-fg,#fff)}
:is([data-memory-kind="pattern"],[data-memory-kind="ultimate"]) .brain-grid .br-pattern-correct{background:#21864a!important}

/* Launch the celebration from both sides of the banner. */
.br-success-overlay>i:nth-of-type(odd){left:8%;background:#ffe091}
.br-success-overlay>i:nth-of-type(even){left:92%;background:#a8e6cf}

/* Test25 D: hint emphasis without moving or resizing cells. */
@keyframes br-hint-border{0%,100%{outline-color:#36c779}50%{outline-color:#ffe078}}
.br-hint-cell,.br-hint-entry{outline:3px solid #36c779!important;outline-offset:-3px!important;animation:br-hint-border 1.2s ease-in-out 3}
@media(prefers-reduced-motion:reduce){.br-hint-cell,.br-hint-entry{animation:none}}

/* Memory Maze owns recall drags; all other page areas retain normal scrolling. */
[data-memory-kind="maze"][data-memory-phase="recall"] .brain-grid{touch-action:none;user-select:none}
[data-memory-kind="ultimate"] .brain-grid .painted{background:var(--br-accent,#6550a5)!important;box-shadow:inset 0 0 0 3px var(--br-control-fg,#fff)}

/* Paint choice changes appearance only; the move history is untouched. */
.br-paint-palette{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:12px auto}
.br-paint-swatch{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;border:2px solid #8599af!important;border-radius:8px!important;background-image:none!important}
.br-paint-swatch[aria-pressed=true]{outline:3px solid var(--br-control-fg,#33455d);outline-offset:3px}

/* Catalog layout controls remain named for screen readers and center single cards. */
.ease-filters>.br-layout-switch{justify-self:end;align-self:end;display:flex;gap:8px;margin:0;grid-column:-2/-1}
.br-layout-switch button{display:grid!important;place-items:center;min-width:48px;min-height:44px;padding:6px!important}
.br-layout-switch svg{display:block;pointer-events:none}
.br-hybrid.br-minimal #puzzleResults[data-columns=one]>.ease-choice{width:100%;max-width:720px;justify-self:center;box-sizing:border-box}
#puzzleResults[data-columns=one] .br-puzzle-thumb{display:grid;place-items:center;text-align:center}
#puzzleResults[data-columns=one] .br-puzzle-thumb>svg,#puzzleResults[data-columns=one] .br-puzzle-thumb>img{margin-inline:auto;max-width:100%;object-fit:contain}

/* Test25 U: Renban candidate notes overlay without changing board geometry. */
#renbanNotes{display:block;margin:0 auto 12px;min-height:44px}
#renbanNotes[hidden]{display:none!important}
#board>.br-renban-notes{position:absolute;inset:0;display:grid;grid-template:repeat(9,minmax(0,1fr))/repeat(9,minmax(0,1fr));pointer-events:none;z-index:2}
.br-renban-note-cell{display:grid;grid-template:repeat(3,minmax(0,1fr))/repeat(3,minmax(0,1fr));padding:2px;line-height:1;font-size:clamp(7px,2vw,13px);text-align:center;color:var(--br-text,#17324f)}
.br-renban-note-cell>span{align-self:center}
html[data-br-puzzle-appearance="dark"] .br-renban-note-cell{color:#f4f4fa}

/* Empty feedback has no visible chrome; populated warnings keep native visibility. */
body:is(.br-clean-play,.br-hybrid) [data-br-empty-feedback="true"]{display:none!important}

/* Supporting clues are separate from the green answer target. */
.br-hint-support{outline:3px solid #e3b51d!important;outline-offset:-3px!important;animation:br-hint-support-pulse 1.2s ease-in-out 3}
@keyframes br-hint-support-pulse{0%,100%{outline-color:#e3b51d}50%{outline-color:transparent}}
@media(prefers-reduced-motion:reduce){.br-hint-support{animation:none}}

