/* V0.719 · Island Atelier. Strictly scoped to the Nurikabe existing route. */
body.n719-body{--island-ink:#122f2b;--island-deep:#0d302e;--island-mint:#d9f1e0;--island-sea:#185668;--island-cream:#f6f6ef;--island-stroke:#c8dcd0;background:#f3f5f1;color:#172e2a}
.n719-body .topbar{background:rgba(252,253,250,.97);border-bottom:1px solid #e1eae2}
.n719-body .topbar .brand{font-weight:900;letter-spacing:-.035em}
.n719-body .nuri-page{max-width:1160px;padding-bottom:30px}
.n719-body .nuri-hero{display:flex;align-items:flex-end;gap:16px;margin:22px 0 10px}
.n719-body .nuri-kicker{display:inline-block;font-size:.67rem;letter-spacing:.145em;font-weight:900;color:#247864;margin-bottom:3px}
.n719-body .nuri-hero h1{font-size:clamp(2rem,3.1vw,2.9rem);font-weight:900;letter-spacing:-.055em;line-height:1.02;color:var(--island-ink);margin:1px 0 6px}
.n719-body .nuri-hero p{font-size:.9rem;color:#5a736c;line-height:1.35;max-width:620px}
.n719-body .nuri-hero .scorebox{border:1px solid #d3e3d8;background:#fff;color:#17483b;border-radius:13px;padding:9px 14px;min-width:185px}
.n719-body .nuri-hero .scorebox small{color:#70847b;font-weight:900;letter-spacing:.09em;text-transform:uppercase;font-size:.62rem}
.n719-body .nuri-hero .scorebox strong{font-size:.87rem;letter-spacing:-.02em}
.n719-body .nuri-flows{padding:0 0 9px;gap:6px}
.n719-body .nuri-flows a,.n719-body .nuri-levels a{background:#fff;border:1px solid #dce9df;color:#284f44;min-height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;padding:6px 15px;font-weight:840;font-size:.83rem}
.n719-body .nuri-flows a.active,.n719-body .nuri-levels a.active{background:var(--island-deep)!important;color:#fff!important;border-color:var(--island-deep)!important}
.n719-body .nuri-daily-hub{margin:0 0 8px}
.n719-body .nuri-daily-tracks{gap:7px;margin-bottom:6px}
.n719-body .nuri-daily-tracks a{background:#fff;border:1px solid #cbded2;border-radius:11px;padding:7px 12px;min-height:43px;color:#244b40}
.n719-body .nuri-daily-tracks a.active{background:#e4f3e7;border-color:#4c9b7b;color:#134332}
.n719-body .nuri-daily-tracks a.active span,.n719-body .nuri-daily-tracks a.active em{color:#2d6252;opacity:1}
.n719-body .nuri-daily-tracks a strong{font-size:.83rem}
.n719-body .nuri-daily-tracks a span,.n719-body .nuri-daily-tracks a em{font-size:.68rem}
.n719-body .nuri-week-strip{gap:5px}
.n719-body .nuri-week-strip a{padding:4px 3px;min-height:38px;border-radius:9px;border-color:#e0e8de}
.n719-body .nuri-week-strip a.active{outline:2px solid #418870;outline-offset:-2px}
.n719-body .nuri-game{background:linear-gradient(160deg,#fcfefa,#f6faf4);border:1px solid #d8e7db;border-radius:20px;box-shadow:0 10px 35px rgba(16,64,45,.07);padding:15px 17px}
.n719-body .n719-puzzle-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}
.n719-body .n719-puzzle-name{display:grid;gap:3px}
.n719-body .n719-section-kicker{font-size:.62rem;letter-spacing:.13em;color:#43846c;font-weight:900}
.n719-body .n719-puzzle-name strong{font-size:1.04rem;color:#123f35;letter-spacing:-.03em}
.n719-body .n719-save-chip{border:1px solid #d7e9dc;background:#e8f4ea;padding:6px 9px;border-radius:100px;color:#327659;font-size:.68rem;font-weight:780}
.n719-body .nuri-date-nav,.n719-body .nuri-campaign-nav{margin:2px 0 9px;gap:7px}
.n719-body .nuri-date-nav a,.n719-body .nuri-date-nav span,.n719-body .nuri-campaign-nav a,.n719-body .nuri-campaign-nav strong{border-color:#d1e2d8;border-radius:9px;color:#1f5948;min-height:33px;display:inline-flex;align-items:center;justify-content:center;font-size:.75rem;background:#fff}
.n719-body .nuri-hud{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0 0 6px}
.n719-body .nuri-hud>div{background:#f1f8f1;border-color:#dceadd;border-radius:10px;padding:6px 10px}
.n719-body .nuri-hud small{font-size:.64rem;color:#628078;text-transform:uppercase;font-weight:850;letter-spacing:.04em}
.n719-body .nuri-hud strong{font-size:.82rem;font-weight:900;color:#1b5145}
.n719-body .nuri-progress{height:4px;background:#e2eee5;margin:0 0 12px}
.n719-body .nuri-progress>i{background:#4cae85;opacity:1}
.n719-body .n719-frame{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(290px,.96fr);gap:15px;align-items:start}
.n719-body .n719-playboard{min-width:0;background:#123d36;border:1px solid #236455;border-radius:17px;padding:12px;box-shadow:inset 0 1px 0 rgba(255,255,255,.12)}
.n719-body .n719-board-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:1px 2px 9px}
.n719-body .n719-board-meta strong{font-size:.97rem;color:#f6ffef;letter-spacing:-.03em}
.n719-body .n719-board-meta span{color:#b6d6c7;font-size:.72rem}
.n719-body .nuri-board-scroll{overflow:auto;border-radius:12px;padding:4px;background:#0e332d}
.n719-body .nuri-board-scroll.fit .nuri-shell{width:min(100%,395px)}
.n719-body .nuri-shell{--cell:52px}
.n719-body .nuri-grid{background:#16493d;padding:4px;gap:4px;border-radius:12px}
.n719-body .nuri-cell{border:1px solid #d1e4d5;background:#f9fff5;border-radius:8px;color:#22483c;box-shadow:0 1px 0 rgba(4,40,20,.13);font-weight:900;font-size:clamp(.83rem,1.7vw,1.17rem)}
.n719-body .nuri-cell.unknown{background:#eff6eb}
.n719-body .nuri-cell.sea{background:linear-gradient(145deg,#286e80,#144c65);border-color:#46889b;color:#fff}
.n719-body .nuri-cell.island{background:#bee6bd;border-color:#7dba9a}
.n719-body .nuri-cell.island:not(.clue)::after{content:'•';color:#3e815e}
.n719-body .nuri-cell.clue{background:#ffeed0;border:1px solid #e7c996;box-shadow:inset 0 0 0 2px #f7dbad;color:#614425}
.n719-body .nuri-cell.clue.complete{box-shadow:inset 0 0 0 2px #4aa478;background:#daf2cc;color:#23543b}
.n719-body .nuri-cell.cursor{outline:3px solid #77ccaa;outline-offset:-4px}
.n719-body .nuri-cell:focus-visible,.n719-body .nuri-game button:focus-visible,.n719-body .nuri-game a:focus-visible{outline:3px solid #ecc36f!important;outline-offset:2px;position:relative;z-index:3}
.n719-body .n719-legend{display:flex;gap:7px;flex-wrap:wrap;padding:11px 3px 1px}
.n719-body .n719-legend span{font-size:.61rem;letter-spacing:.07em;font-weight:890;padding:4px 7px;border-radius:5px}
.n719-body .n719-legend-sea{background:#2b6375;color:#e8f7ff}
.n719-body .n719-legend-island{background:#a7d9ad;color:#14462c}
.n719-body .n719-legend-clue{background:#f7daab;color:#6b4e2d}
.n719-body .n719-control{display:flex;flex-direction:column;gap:8px;min-width:0;padding:4px 0}
.n719-body .n719-tools-label,.n719-body .n719-actions-label{font-size:.67rem;color:#558173;font-weight:900;letter-spacing:.11em;margin:3px 1px 0}
.n719-body .nuri-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:0;overflow:visible}
.n719-body .nuri-tools button{white-space:normal;border:1px solid #cadfd0;background:#fff;border-radius:10px;min-height:46px;font-size:.89rem;font-weight:900;color:#2d5645;padding:9px 4px;cursor:pointer}
.n719-body .nuri-tools button.active{background:#164b3e!important;color:#fff!important;border-color:#164b3e!important;box-shadow:0 3px 9px rgba(18,69,55,.2)}
.n719-body .nuri-tools button:nth-child(2){color:#276678}
.n719-body .nuri-tools button:nth-child(3){color:#27704a}
.n719-body .n719-microhelp{margin:0;font-size:.76rem;line-height:1.4;color:#718c80}
.n719-body .nuri-actions{max-width:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0}
.n719-body .nuri-actions button{border:1px solid #cbded2;background:#fff;border-radius:10px;padding:9px 5px;font-size:.84rem;font-weight:900;color:#285949;min-height:43px;cursor:pointer}
.n719-body .nuri-actions .primary{background:#edcd84!important;border-color:#edcd84!important;color:#233b30!important}
.n719-body #nuriPause{background:#ebf3e7}
.n719-body .nuri-status{max-width:none;margin:4px 0 0;min-height:67px;background:#e9f3e8;border:1px solid #d7e7d8;border-radius:11px;padding:11px 12px;font-size:.84rem;color:#335c4c;line-height:1.5}
.n719-body .nuri-status strong{color:#134c3e;font-weight:900}
.n719-body .nuri-more-panel,.n719-body .nuri-result{max-width:none;border-color:#d8e6dc;background:#f8fdf8;border-radius:13px}
.n719-body .nuri-below details{border-color:#d8e6dc;border-radius:12px;overflow:hidden}
.n719-body .nuri-below summary{color:#1c5345}
.n719-body .nuri-more-actions button,.n719-body .nuri-date-nav a,.n719-body .nuri-actions button,.n719-body .nuri-tools button{touch-action:manipulation}
@media(max-width:900px){.n719-body .n719-frame{grid-template-columns:minmax(0,1fr) minmax(250px,.83fr);gap:10px}.n719-body .nuri-hero .scorebox{display:none}.n719-body .n719-board-meta span{display:none}.n719-body .nuri-game{padding:12px}}
@media(max-width:680px){
 .n719-body .topbar .nav{min-height:48px}
 .n719-body .nuri-page{display:flex;flex-direction:column;gap:0;padding-bottom:35px}
 .n719-body .nuri-hero{order:0;display:block;margin:8px 0 7px}
 .n719-body .nuri-hero h1{font-size:1.65rem;margin:0;line-height:1.04}
 .n719-body .nuri-hero p{display:none}
 .n719-body .nuri-kicker{font-size:.56rem;margin:0 0 2px}
 .n719-body .nuri-flows{order:1;padding-bottom:5px}
 .n719-body .nuri-flows a{min-height:32px;border-radius:8px;padding:4px 10px;font-size:.77rem}
 .n719-body .nuri-levels{order:2;gap:5px;padding-bottom:5px}
 .n719-body .nuri-levels a{font-size:.7rem;min-height:31px;padding:5px 9px}
 .n719-body .nuri-daily-hub{order:2;margin:0 0 4px}
 .n719-body .nuri-daily-tracks{margin-bottom:4px;gap:5px}
 .n719-body .nuri-daily-tracks a{min-height:38px;border-radius:9px;padding:5px 8px}
 .n719-body .nuri-daily-tracks span{font-size:.65rem}
 .n719-body .nuri-week-strip{gap:2px}
 .n719-body .nuri-week-strip a{min-height:30px;padding:2px 1px;border-radius:7px}
 .n719-body .nuri-week-strip strong{font-size:.67rem}
 .n719-body .nuri-week-strip span{font-size:.53rem}
 .n719-body .nuri-game{order:3;border-radius:13px;margin:0 -3px;padding:7px 8px}
 .n719-body .n719-puzzle-head{display:none}
 .n719-body .nuri-date-nav,.n719-body .nuri-campaign-nav{margin:0 0 5px;gap:5px;justify-content:center}
 .n719-body .nuri-date-nav a,.n719-body .nuri-date-nav span{font-size:.68rem;min-height:27px;padding:3px 8px}
 .n719-body .nuri-hud{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-bottom:5px}
 .n719-body .nuri-hud>div{display:block!important;border-radius:7px;padding:3px 5px;min-width:0}
 .n719-body .nuri-hud small{font-size:.54rem}
 .n719-body .nuri-hud strong{font-size:.72rem}
 .n719-body .nuri-progress{height:3px;margin-bottom:6px}
 .n719-body .n719-frame{display:grid;grid-template-columns:1fr;grid-template-areas:'brush' 'board' 'actions' 'status';gap:5px}
 .n719-body .n719-control{display:contents}
 .n719-body .n719-tools-label,.n719-body .n719-actions-label,.n719-body .n719-microhelp{display:none}
 .n719-body .nuri-tools{grid-area:brush;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
 .n719-body .nuri-tools button{min-height:33px;border-radius:7px;padding:5px 2px;font-size:.78rem}
 .n719-body .n719-playboard{grid-area:board;padding:7px 9px;border-radius:11px;display:flex;flex-direction:column;align-items:center}
 .n719-body .n719-board-meta{align-self:stretch;margin:0 2px 3px}
 .n719-body .n719-board-meta strong{font-size:.73rem}
 .n719-body .nuri-board-scroll{width:100%;padding:2px;background:transparent}
 .n719-body .nuri-board-scroll.fit .nuri-shell{width:min(100%,252px)}
 .n719-body .nuri-grid{padding:3px;gap:3px;border-radius:9px}
 .n719-body .nuri-cell{border-radius:5px;font-size:clamp(.72rem,3.4vw,1.03rem)}
 .n719-body .n719-legend{gap:5px;padding:5px 2px 0;align-self:stretch;justify-content:center}
 .n719-body .n719-legend span{font-size:.52rem;padding:2px 7px}
 .n719-body .nuri-actions{grid-area:actions;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
 .n719-body .nuri-actions button{min-height:36px;border-radius:8px;font-size:.74rem;padding:6px 3px}
 .n719-body .nuri-status{grid-area:status;margin:0;min-height:35px;border-radius:8px;font-size:.76rem;padding:5px 8px;line-height:1.28}
 .n719-body .nuri-status strong{display:inline;margin-right:7px}
 .n719-body .nuri-more-panel,.n719-body .nuri-result{margin-top:6px}
 .n719-body .nuri-below{order:4;margin-top:7px}
 .n719-body .nuri-below summary{padding:9px 11px;font-size:.83rem}
 .n719-body .nuri-grid.is-paused::after{font-size:.96rem}
}
@media(min-width:681px) and (max-height:790px){.n719-body .nuri-hero{margin:11px 0 7px}.n719-body .nuri-hero h1{font-size:2rem}.n719-body .nuri-daily-tracks a{min-height:33px;padding:4px 9px}.n719-body .nuri-week-strip a{min-height:28px;padding:2px 2px}.n719-body .nuri-game{padding:10px 13px}.n719-body .n719-puzzle-head{display:none}.n719-body .nuri-hud>div{padding:4px 8px}.n719-body .nuri-progress{margin-bottom:7px}.n719-body .nuri-board-scroll.fit .nuri-shell{width:min(100%,330px)}.n719-body .n719-playboard{padding:9px}.n719-body .nuri-date-nav{margin:0 0 5px}}
@media(prefers-reduced-motion:reduce){.n719-body *{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media print{.n719-body .n719-frame{display:block}.n719-body .n719-control,.n719-body .n719-legend,.n719-body .n719-puzzle-head{display:none!important}.n719-body .n719-playboard{background:#fff;border:0;padding:0}.n719-body .nuri-grid{background:#fff}}

/* Mobile-first fold: preserve date/week navigation beneath primary play instead of blocking the board. */
@media(max-width:680px){
 .n719-body .nuri-daily-hub:not([hidden]){display:contents}
 .n719-body .nuri-daily-tracks{order:2;margin:0 0 4px}
 .n719-body .nuri-week-strip{order:4;margin:7px 0 5px}
 .n719-body .nuri-below{order:5}
 .n719-body .nuri-game{order:3}
 .n719-body .nuri-board-scroll.fit .nuri-shell{width:min(100%,230px)}
 .n719-body .n719-legend{display:none}
 .n719-body .n719-board-meta{margin-bottom:2px}
 .n719-body .n719-playboard{padding:6px 7px}
 .n719-body .nuri-date-nav,.n719-body .nuri-campaign-nav{margin:6px 0 0}
}
@media(max-width:680px){.n719-body .nuri-shell{--cell:44px}.n719-body .nuri-cell{min-height:0}}
