/* DailyBrainArc V0.721 Campcraft: board-first responsive workbench, existing engine protected. */
body.tt721-product{background:#f4f6f2;color:#173b33}
body.tt721-product .tt721-page{--forest:#123d34;--forest2:#0d3029;--mint:#dcefe1;--cream:#fbfcf7;--line721:#ccddd2;--amber:#edb95e;--ink721:#183a32;--muted721:#506a62;max-width:1130px!important;padding:0 18px 52px!important;font-family:inherit}
body.tt721-product .tt721-head{max-width:none;margin:20px auto 0;text-align:left}
.tt721-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}
.tt721-eyebrow{margin:0 0 7px!important;font-size:11px!important;letter-spacing:.16em;font-weight:900;color:#2b7661!important}
.tt721-eyebrow span{margin:0 8px;color:#a5c9b8}
body.tt721-product .tt721-head h1{margin:0;font-size:clamp(29px,4vw,45px);font-weight:900;color:#153e34;line-height:1.1;letter-spacing:-.055em}
.tt721-amp{color:#598e73}.tt721-subtitle{font-size:.48em;color:#2c7d61;font-weight:700;letter-spacing:-.035em;white-space:nowrap}
body.tt721-product .tt721-head .tt721-description{max-width:730px;margin:7px 0 0;font-size:13px;line-height:1.45;color:#587168}
.tt721-head-meta{display:flex;align-items:center;gap:9px;padding:11px 13px;background:#e8f2e8;border:1px solid #cee2d4;border-radius:100px;font-size:12px;color:#467263;white-space:nowrap}
.tt721-head-meta strong{color:#183c33}.tt721-meta-mark{color:#b37d18;font-size:22px;line-height:1}
body.tt721-product .tt253-modebar{justify-content:flex-start;align-items:center;margin:12px 0 12px;gap:6px}
body.tt721-product .tt253-modebar>button,body.tt721-product .tt253-more>summary{border:1px solid #cbded3;border-radius:10px;padding:8px 17px;min-height:38px;background:#fff;color:#26483d;font-size:13px;box-shadow:none}
body.tt721-product .tt253-modebar>button.active{background:#174e3d;color:#fff;border-color:#174e3d}
body.tt721-product .tt253-game{margin:0 auto 12px!important;padding:12px!important;max-width:1130px;border:1px solid #cce0d3;background:#f9fbf8;box-shadow:0 18px 40px rgba(16,57,44,.09);border-radius:18px}
body.tt721-product .tt253-hud{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0 0 10px}
body.tt721-product .tt253-hud>div{border:1px solid #d6e4d9;background:#eef5ef;border-radius:10px;padding:7px 11px}
body.tt721-product .tt253-hud small{color:#53756b;font-size:10px;font-weight:800}
body.tt721-product .tt253-hud strong{color:#183e34;font-size:14px;font-weight:850;line-height:1.28}
.tt721-workspace{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(310px,.88fr);gap:12px;align-items:stretch}
.tt721-board-zone{background:linear-gradient(145deg,#143e34,#0b2f28);border:1px solid #0e4a3a;border-radius:15px;padding:12px;min-width:0;box-shadow:inset 0 2px 15px rgba(0,0,0,.08)}
.tt721-board-heading{display:flex;gap:6px;justify-content:space-between;align-items:center;margin:0 4px 11px}
.tt721-stage-label{color:#c0e7d6;font-size:11px;font-weight:900;letter-spacing:.17em}
.tt721-stage-tip{color:#b9d9ca;font-size:11px}
body.tt721-product .tt253-boardwrap{width:min(100%,460px);padding:0;margin:0 auto;overflow:visible}
body.tt721-product .tt253-grid{gap:3px;grid-template-columns:31px repeat(var(--n),minmax(0,1fr));grid-template-rows:31px repeat(var(--n),minmax(0,1fr));aspect-ratio:1}
body.tt721-product .tt253-clue{background:#275548;color:#e0f2e8;border:1px solid #356455;border-radius:7px;font-size:clamp(11px,1.7vw,16px)}
body.tt721-product .tt253-clue.ok{opacity:1;background:#367a5e;color:#e9fff2}
body.tt721-product .tt253-clue.over{background:#a94d39;color:#fff}
body.tt721-product .tt253-clue.tt253-corner{background:transparent;border-color:transparent}
body.tt721-product .tt253-cell{background:#eff6e9;color:#173f35;border:1px solid #d9e6d5;border-bottom:2px solid #bed5c5;border-radius:7px;transition:background .12s,transform .12s,box-shadow .12s}
body.tt721-product .tt253-cell:hover:not([disabled]){background:#e2f4df;transform:translateY(-1px);border-color:#7ab49b}
body.tt721-product .tt253-cell:focus-visible{outline:3px solid #f4bb57;outline-offset:0;z-index:4;box-shadow:0 0 0 2px #103a2e}
body.tt721-product .tt253-cell.tree{background:#c6e4ce;border-color:#a6ceba}
body.tt721-product .tt253-cell.tent{background:#f9d991;border-color:#d8a347;color:#5b3918}
body.tt721-product .tt253-cell.grass{background:#e1ece6;color:#9eb6aa}
body.tt721-product .tt253-cell.issue{background:#ffcccc;outline:3px solid #d45739;outline-offset:-3px}
body.tt721-product .tt253-cell.hint{box-shadow:inset 0 0 0 3px #ffc15d}
body.tt721-product .tt253-cell.tree::before{font-size:clamp(14px,2vw,26px)}
body.tt721-product .tt253-cell.tent::before{font-size:clamp(14px,2vw,26px)}
.tt721-tool-zone{background:#eef5ef;border:1px solid #d0e3d4;border-radius:15px;padding:16px;display:flex;flex-direction:column;justify-content:flex-start;gap:11px;min-width:0}
.tt721-tools-title{display:flex;flex-wrap:wrap;align-items:center;gap:5px;justify-content:space-between}
.tt721-tools-title p{margin:0;font-weight:900;font-size:17px;color:#1c473b}
.tt721-tools-title span{font-size:11px;color:#5a796b}
.tt721-brush{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.tt721-brush button{min-height:45px;padding:6px 4px;border-radius:11px;border:1px solid #bed8c7;background:#fff;color:#255446;font:inherit;font-size:13px;font-weight:850;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;transition:transform .1s,background .12s}
.tt721-brush button span{font-size:17px;line-height:1}
.tt721-brush button[aria-pressed="true"]{background:#154f3f;color:#fff;border-color:#154f3f;box-shadow:0 3px 9px #0b402e27}
.tt721-brush button:hover{transform:translateY(-1px)}
.tt721-brush button:focus-visible{outline:3px solid #d9a044;outline-offset:2px}
body.tt721-product .tt253-actions{margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;width:100%}
body.tt721-product .tt253-actions button,body.tt721-product .tt253-actions summary{width:100%;min-height:43px;border:1px solid #c6daca;border-radius:10px;background:#fff;color:#21483c;padding:6px 7px;font-size:12px;font-weight:900;box-shadow:none;display:flex;align-items:center;justify-content:center;text-align:center}
body.tt721-product #tt253HintBtn,body.tt721-product #tt253Check{background:#f7e7bb;color:#624713;border-color:#dfc585}
body.tt721-product #tt253Pause{background:#deede3}
body.tt721-product .tt253-actions button:disabled{opacity:.45;cursor:default}
body.tt721-product .tt253-actions :is(button,summary):focus-visible{outline:3px solid #d9a044;outline-offset:1px}
body.tt721-product .tt253-actionmore{grid-column:1/-1}
body.tt721-product .tt253-actionmore>summary{min-height:35px;color:#4f6d61;background:#e6f1e8;cursor:pointer}
body.tt721-product .tt253-actionmenu{position:absolute;z-index:15;top:calc(100% + 6px);bottom:auto;right:0;min-width:220px;max-width:280px;border:1px solid #b6d6c3;background:#fff;border-radius:12px;box-shadow:0 14px 35px #143f3426;display:grid;gap:6px;padding:8px}
.tt721-hint-key{font-size:11px;color:#6c8579;line-height:1.5;margin:0}
body.tt721-product .tt253-status{padding:10px 11px;text-align:left;margin:0;background:#e0efe3;border:1px solid #c4decb;border-radius:11px;color:#245640;font-weight:700;min-height:2.5em;font-size:12px;line-height:1.4}
body.tt721-product .tt253-status.tt351-conflict{background:#ffeadf;border-color:#db9476;color:#842c1b}
body.tt721-product .tt253-hintbox{width:100%;margin:0;background:#fff9e6;border:1px solid #efd19b;padding:10px 12px}
body.tt721-product .tt253-hintbox .tt253-hintrow{flex-wrap:wrap}
body.tt721-product .tt253-results{width:100%;margin:11px 0 0;padding:12px;background:#e8f4db;border:1px solid #b6d6af;border-radius:12px}
body.tt721-product .tt253-secondary{gap:9px;margin-top:8px}
body.tt721-product .tt253-secondary>details{border-color:#d6e6d8;border-radius:13px;box-shadow:none;background:#fff}
body.tt721-product .tt253-secondary>details>summary{font-weight:800;padding:11px 13px;font-size:13px}
body.tt721-product .tt253-focus .tt721-head,body.tt721-product.tt351-focus .tt721-head{display:none}
@media(min-width:900px){body.tt721-product .tt721-tool-zone{justify-content:center}body.tt721-product .tt253-grid{max-width:460px;margin:auto}}
@media(max-width:760px){
 body.tt721-product .tt721-page{padding:0 10px 72px!important;overflow-x:clip}
 body.tt721-product .tt721-head{margin:11px 0 0}
 .tt721-head-meta{display:none}
 body.tt721-product .tt721-head h1{font-size:clamp(25px,7vw,35px)}
 body.tt721-product .tt721-head .tt721-description{font-size:11px;line-height:1.26;max-width:100%;margin:4px 0 0}
 .tt721-eyebrow{font-size:9px!important;margin:0 0 3px!important}
 body.tt721-product .tt253-modebar{margin:7px 0 7px;gap:5px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
 body.tt721-product .tt253-modebar>button,body.tt721-product .tt253-more>summary{width:100%;font-size:12px;min-height:34px;padding:5px 4px;text-align:center}
 body.tt721-product .tt253-game{padding:8px!important;border-radius:13px}
 body.tt721-product .tt253-hud{gap:4px;margin:0 0 7px}
 body.tt721-product .tt253-hud>div{padding:5px 5px;border-radius:7px}
 body.tt721-product .tt253-hud small{font-size:8px;letter-spacing:.03em}
 body.tt721-product .tt253-hud strong{font-size:11px}
 .tt721-workspace{grid-template-columns:minmax(0,1fr);gap:6px}
 .tt721-board-zone{padding:8px 8px 9px;border-radius:10px}
 .tt721-board-heading{margin:0 2px 4px}
 .tt721-stage-label{font-size:9px;letter-spacing:.1em}
 .tt721-stage-tip{font-size:9px}
 body.tt721-product .tt253-boardwrap{width:min(100%,320px);margin:auto;padding:0}
 body.tt721-product .tt253-grid{gap:2px;grid-template-columns:25px repeat(var(--n),minmax(0,1fr));grid-template-rows:25px repeat(var(--n),minmax(0,1fr));}
 body.tt721-product .tt253-clue{border-radius:5px;font-size:11px}
 body.tt721-product .tt253-cell{border-radius:5px}
 body.tt721-product .tt253-cell.tree::before,body.tt721-product .tt253-cell.tent::before{font-size:clamp(12px,4vw,23px)}
 .tt721-tool-zone{padding:7px;gap:5px;border-radius:10px}
 .tt721-tools-title,.tt721-hint-key{display:none}
 .tt721-brush{gap:5px}
 .tt721-brush button{min-height:33px;font-size:11px;border-radius:7px}
 .tt721-brush button span{font-size:14px}
 body.tt721-product .tt253-actions{gap:5px}
 body.tt721-product .tt253-actions button{min-height:32px;font-size:11px;padding:5px 2px;border-radius:7px}
 body.tt721-product .tt253-actionmore>summary{min-height:28px;font-size:10px;padding:3px 6px}
 body.tt721-product .tt253-actionmenu{right:0;left:auto;max-width:min(290px,85vw)}
 body.tt721-product .tt253-status{font-size:10px;padding:5px 7px;min-height:0;border-radius:7px;line-height:1.25}
 body.tt721-product .tt253-hintbox{padding:8px}
 body.tt721-product .tt253-secondary>details>summary{padding:10px 11px}
}
@media(min-width:761px) and (max-width:1040px){.tt721-workspace{grid-template-columns:minmax(0,1fr) minmax(260px,.8fr)}body.tt721-product .tt253-boardwrap{width:min(100%,410px)}}
@media(prefers-reduced-motion:reduce){body.tt721-product .tt253-cell,body.tt721-product .tt721-brush button{transition:none}body.tt721-product .tt253-cell.hint{animation:none}}
@media print{body.tt721-product .tt721-brush,body.tt721-product .tt721-tool-zone,body.tt721-product .tt721-board-heading{display:none!important}body.tt721-product .tt721-workspace{display:block}body.tt721-product .tt721-board-zone{background:#fff;border:0;box-shadow:none}}

@media(max-width:760px){.tt721-subtitle{display:none}body.tt721-product .tt721-head h1{font-size:29px}body.tt721-product .tt721-head .tt721-description{font-size:11px;max-width:290px}body.tt721-product .tt721-stage-tip{display:none}body.tt721-product .tt253-hud strong{font-size:10px}}
@media(min-width:761px) and (max-height:800px){body.tt721-product .tt253-boardwrap{width:min(100%,410px)}body.tt721-product .tt721-head{margin-top:10px}}

@media(min-width:761px) and (max-height:800px){body.tt721-product .tt253-boardwrap{width:min(100%,382px)}}

/* Large tiers retain target size on small phones with a locally scrollable board. */
@media(max-width:500px){body.tt721-product .tt253-boardwrap:has(.tt253-grid[data-size="8"]),body.tt721-product .tt253-boardwrap:has(.tt253-grid[data-size="10"]){overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#c8e0cd transparent}body.tt721-product .tt253-grid[data-size="8"]{width:max(100%,310px)}body.tt721-product .tt253-grid[data-size="10"]{width:max(100%,370px)}body.tt721-product .tt721-board-zone:has(.tt253-grid[data-size="8"]) .tt721-stage-label::after,body.tt721-product .tt721-board-zone:has(.tt253-grid[data-size="10"]) .tt721-stage-label::after{content:" · SWIPE BOARD →";font-size:9px;color:#ffd38b;letter-spacing:.04em}}
