*{box-sizing:border-box}body{margin:0;background:#f3efe5;color:#193843;font:16px/1.48 'Avenir Next',Arial,sans-serif}header{height:57px;background:#102d36;color:#fff5df;display:flex;align-items:center;justify-content:space-between;padding:0 5vw}header strong{font:600 23px Georgia}button{cursor:pointer;color:inherit;background:#fff9ed;border:1px solid #aeb8ad;padding:7px 12px;border-radius:5px;font:inherit}button:focus-visible{outline:3px solid #508597;outline-offset:2px}header button{background:none;color:#fff4df}main{max-width:1220px;margin:auto;padding:20px clamp(12px,3vw,36px)}.hero{height:clamp(150px,17vw,215px);position:relative;background:#203640;overflow:hidden;border-radius:7px}.hero img{height:100%;width:100%;object-fit:cover;object-position:55% 50%}.hero div{position:absolute;inset:0;padding:clamp(18px,2.8vw,38px);background:linear-gradient(95deg,#071e29ef,transparent 80%);color:#fff0d0}.hero p{font:italic 18px Georgia;margin:6px 0}h1,h2{font:normal clamp(38px,5vw,68px)/1 Georgia;margin:10px 0;letter-spacing:-.05em}h2{font-size:clamp(32px,3.6vw,47px)}small,.label,.bar span{font:700 11px/1.5 monospace;letter-spacing:.09em}.layout{display:grid;grid-template-columns:1fr .85fr;gap:clamp(18px,4vw,60px);margin-top:20px}.chart{background:radial-gradient(#fbf6e6,#e7e1cf);border:1px solid #c1b9a4;border-radius:8px;align-self:start;overflow:hidden}.bar{padding:11px 16px;border-bottom:1px solid #ccc1aa;display:flex;justify-content:space-between}.chart svg{width:100%;height:clamp(280px,32vw,395px);display:block}.rope,.marker{cursor:pointer}.tools{padding:6px 0}.tools p{margin:10px 0 16px}#palette,#arcs,.buttons{display:flex;flex-wrap:wrap;gap:7px}.ink{border-bottom:4px solid var(--dye)}.ink[aria-pressed=true]{background:#183d46;color:white}.label{margin-bottom:6px!important}#arcs button{min-width:36px;border-bottom:4px solid var(--dye)}.buttons{margin-top:18px}.buttons button{font-size:14px}#message{font-size:14px;min-height:20px}#next,#close{background:#183d46;color:#fff7df}dialog{max-width:min(450px,90vw);border:1px solid #aab6aa;background:#fff8e9;color:inherit;border-radius:9px;padding:25px}dialog::backdrop{background:#0e2933bb}@media(max-width:720px){.layout{display:flex;flex-direction:column;gap:10px}.chart{width:100%}.chart svg{height:255px}header strong{font-size:19px}.hero{height:124px}.hero div{padding:12px 18px}.hero h1{font-size:36px}.hero p{font-size:15px}.tools{padding:4px}.layout{margin-top:12px}}
.ink{display:inline-flex;align-items:center;gap:7px}.ink:before{content:'';width:21px;height:21px;border-radius:50%;background-size:cover;background-color:var(--dye)}.ink:nth-child(1):before{background-image:url('./coral.webp')}.ink:nth-child(2):before{background-image:url('./gold.webp')}.ink:nth-child(3):before{background-image:url('./tide.webp')}
