/* Self-hosted copy of Google Fonts (dm-sans-libre-caslon-display); files and rules unchanged, see assets/fonts/README.md */
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../../../assets/fonts/files/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6h9Q.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../../../assets/fonts/files/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../../../assets/fonts/files/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6h9Q.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../../../assets/fonts/files/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../../../assets/fonts/files/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6h9Q.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../../../assets/fonts/files/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../../../assets/fonts/files/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6h9Q.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../../../assets/fonts/files/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Libre Caslon Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../../../assets/fonts/files/librecaslondisplay/v18/TuGOUUFxWphYQ6YI6q9Xp61FQzxDRKmzr1lYfxldCA.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Libre Caslon Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../../../assets/fonts/files/librecaslondisplay/v18/TuGOUUFxWphYQ6YI6q9Xp61FQzxDRKmzr1lWfxk.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{font-family:'DM Sans',Arial,sans-serif;color:#f2f3e9;background:#0f2a2c;font-synthesis:none}*{box-sizing:border-box}body{margin:0;overflow:hidden}#lake{width:100vw;height:100vh;display:block;touch-action:none;cursor:grab}#lake:active{cursor:grabbing}#vignette{position:fixed;inset:0;pointer-events:none;box-shadow:inset 0 0 160px #06181c55;background:linear-gradient(#06181c22,transparent 22%,transparent 72%,#06181c66)}
header{position:fixed;left:34px;right:30px;top:26px;display:flex;justify-content:space-between;align-items:center;pointer-events:none;z-index:5}.brand{font-size:15px;font-weight:600;letter-spacing:.2em;text-shadow:0 2px 10px #0b2328}.brand span{display:block;font-size:10px;letter-spacing:.15em;margin-top:8px;opacity:.65}.top-right{display:flex;align-items:center;gap:10px}
button,select,input{pointer-events:auto}button{font:inherit;color:inherit;background:#12303699;border:1px solid #e9eed344;cursor:pointer;border-radius:3px}button:hover{background:#2f5d63}button:focus-visible,select:focus-visible{outline:2px solid #edc68a;outline-offset:4px}#lenses,#menu,#rigBtn{width:40px;height:40px;font-size:19px}#lenses.on{background:#e3c18e;color:#17333b;border-color:#e3c18e}
.hidden{display:none!important}
#overlay{position:fixed;inset:0;display:flex;align-items:center;background:linear-gradient(90deg,#08202add 0%,#08202a99 30%,transparent 72%);z-index:6}.panel{margin-left:8vw;width:490px;max-width:86vw}.eyebrow{font-size:11px;letter-spacing:.26em;color:#e2c38e}h1{font-family:'Libre Caslon Display',Georgia,serif;font-weight:400;font-size:clamp(60px,7.2vw,104px);line-height:.9;letter-spacing:-.035em;margin:26px 0}p{font-size:15px;line-height:1.65;color:#e3e8e0c9}.primary{background:#e3c18e;color:#17333b;padding:15px 32px;font-weight:700;border:0;min-width:205px;letter-spacing:.03em}.primary:hover{background:#f4d5a5}.primary:disabled{opacity:.55;cursor:wait}.settings{display:flex;flex-wrap:wrap;gap:18px 24px;align-items:center;margin-top:18px;font-size:12px;color:#cedcdd}select{background:#13343c;color:#eef2e7;border:1px solid #bed0cc55;padding:5px}input{accent-color:#deb77c}.controls{font-size:11px;opacity:.7;margin-top:20px}#error{color:#ffd29c;font-size:13px}
.conditions{position:fixed;left:34px;bottom:86px;display:flex;gap:30px;text-shadow:0 2px 12px #09222c;z-index:4}.conditions small{display:block;font-size:10px;letter-spacing:.18em;opacity:.75;margin-bottom:7px}.conditions strong{font-size:26px;font-weight:500;font-variant-numeric:tabular-nums}.conditions strong.text{font-size:14px;font-weight:500;display:block;max-width:230px;line-height:1.35;padding-top:6px}.sub{display:block;font-size:10px;opacity:.6;margin-top:5px}
#tackle{position:fixed;right:30px;bottom:150px;width:250px;text-align:right;font-size:11px;line-height:1.45;text-shadow:0 1px 6px #09222c;z-index:4}#tackle small{display:block;font-size:10px;letter-spacing:.18em;opacity:.7;margin-bottom:4px}#tackle strong{display:block;font-size:15px;font-weight:600}#tackle span{display:block;opacity:.75}#tackle em{display:block;font-style:normal;color:#e3c18e;font-size:13px;margin-top:5px}#reticle{position:fixed;left:50%;top:50%;width:14px;height:14px;margin:-7px 0 0 -7px;border:1.5px solid #f2f3e9aa;border-radius:50%;box-shadow:0 0 6px #0a2a3488;pointer-events:none;opacity:0;transition:opacity .2s;z-index:4}#reticle.show{opacity:1}#reticle::after{content:"";position:absolute;left:5px;top:5px;width:2px;height:2px;background:#f2f3e9;border-radius:50%}#power{position:fixed;left:50%;bottom:150px;width:160px;height:5px;margin-left:-80px;background:#d7e8dd33;border-radius:3px;overflow:hidden;opacity:0;transition:opacity .15s;z-index:4}#power.show{opacity:1}#power i{display:block;height:100%;width:0;background:linear-gradient(90deg,#e3c18e,#f4d5a5)}#caption{position:fixed;left:50%;bottom:118px;transform:translateX(-50%);max-width:70vw;padding:10px 18px;font-size:16px;line-height:1.4;color:#f5f1e6;background:#08202acc;border-left:2px solid #e3c18e;opacity:0;transition:opacity .35s;z-index:5;pointer-events:none;text-align:center}#caption.show{opacity:1}#demoBadge{position:fixed;left:50%;top:78px;transform:translateX(-50%);font-size:10px;letter-spacing:.2em;color:#e3c18e;opacity:0;transition:opacity .3s;z-index:5;pointer-events:none;text-shadow:0 1px 6px #09222c}#demoBadge.show{opacity:1}.secondary{background:#12303699;border:1px solid #e3c18e66;padding:14px 22px;margin-left:12px;font-weight:600;letter-spacing:.03em}body.demo #tackle,body.demo .timebar,body.demo footer{opacity:.35}
#tension{position:fixed;left:50%;bottom:150px;width:220px;height:7px;margin-left:-110px;background:#d7e8dd33;border-radius:4px;opacity:0;transition:opacity .2s;z-index:4}#tension.show{opacity:1}#tension i{display:block;height:100%;width:0;border-radius:4px;background:linear-gradient(90deg,#9fd6b8 0%,#e3c18e 60%,#e46a5a 92%)}#tension b{position:absolute;right:0;top:-18px;font-size:10px;letter-spacing:.14em;font-weight:500;color:#f2f3e9cc}#catchCard{position:fixed;left:26%;top:50%;transform:translate(-50%,-50%);width:360px;max-width:88vw;background:#0b2229ee;border:1px solid #e3c18e55;border-radius:6px;padding:22px 26px;z-index:8;text-align:left;box-shadow:0 20px 60px #000a}#catchCard h2{font-family:'Libre Caslon Display',Georgia,serif;font-weight:400;font-size:34px;margin:8px 0 4px;letter-spacing:-.02em}#catchCard #ccSize{font-size:20px;color:#e3c18e;margin-bottom:10px}#catchCard #ccDetail,#catchCard #ccMeta{font-size:12px;line-height:1.6;color:#d8e2df}#catchCard .ccButtons{margin-top:16px}body.touch-active #catchCard{width:80vw}
.timebar{position:fixed;right:30px;bottom:86px;display:flex;flex-direction:column;align-items:flex-end;gap:8px;font-size:11px;z-index:4;text-shadow:0 1px 6px #09222c}.timebar input{width:190px}.skips{display:flex;gap:6px}.skips button{font-size:11px;padding:5px 10px}
footer{position:fixed;left:34px;right:30px;bottom:22px;display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#cadbdd99;z-index:4}kbd{font-family:inherit;color:#eef4e5cc}
#toast{position:fixed;left:50%;top:100px;transform:translateX(-50%);font-size:13px;background:#12303bd9;padding:12px 20px;border-left:2px solid #e1c48a;opacity:0;transition:opacity .3s;max-width:80vw;z-index:7;pointer-events:none}
#buildVersion{position:fixed;right:10px;bottom:5px;z-index:7;font:9px/1.4 system-ui,sans-serif;letter-spacing:.1em;color:#e5f2edb3;text-shadow:0 1px 3px #001a26;pointer-events:none}
#touchControls{position:fixed;inset:0;pointer-events:none;z-index:5}#touchControls button{pointer-events:auto;font-size:15px;font-weight:600;letter-spacing:.06em;border-radius:14px;background:#0e2a30aa;backdrop-filter:blur(6px);user-select:none;-webkit-user-select:none;touch-action:none}#touchControls .held{background:#e3c18ecc;color:#17333b}.touch-left{position:absolute;left:18px;bottom:24px;display:flex;flex-direction:column;gap:12px;align-items:flex-start}.touch-left .row{display:flex;gap:12px}.touch-left .row button{width:70px;height:70px;font-size:24px}.touch-left .tapbtn{width:152px;height:48px;font-size:13px}.touch-right{position:absolute;right:18px;bottom:24px;display:flex;flex-direction:column;gap:12px;align-items:flex-end}.touch-right .row{display:flex;gap:12px}.touch-right .wide{width:172px;height:60px}.touch-right .row button{width:80px;height:80px;font-size:13px}.touch-right .cast{background:#e3c18ecc;color:#17333b}.touch-taps{position:absolute;right:18px;top:84px;display:flex;flex-direction:column;gap:10px}.touch-taps button{padding:10px 14px;font-size:13px}#touchControls.left-handed .touch-left{left:auto;right:18px}#touchControls.left-handed .touch-right{right:auto;left:18px;align-items:flex-start}
body.touch-active footer{display:none}body.touch-active .timebar{display:none}body.touch-active #tackle{right:auto;left:18px;top:150px;bottom:auto;width:46vw;text-align:left;font-size:10px}body.touch-active #tackle strong{font-size:13px}body.touch-active #tackle span{display:none}body.touch-active #power{bottom:auto;top:56%}body.touch-active .conditions{left:18px;bottom:auto;top:84px;gap:14px;max-width:52vw;flex-wrap:wrap}body.touch-active .conditions strong{font-size:20px}body.touch-active .conditions strong.text{font-size:11px;max-width:120px}body.touch-active .conditions>div:nth-child(3),body.touch-active .conditions>div:nth-child(4){display:none}
@media(max-width:800px){header{left:18px;right:18px;top:18px}.brand{font-size:12px}.brand span{font-size:8px}.panel{margin-left:7vw}h1{font-size:62px}.conditions{left:18px;bottom:76px;gap:16px}.conditions strong{font-size:20px}.timebar{right:18px;bottom:160px}footer{left:18px;bottom:12px;display:block;font-size:9px}footer span{display:block;margin:5px 0}#toast{top:70px}.controls{margin:10px 0}.settings{margin-top:12px}}
@media(max-height:700px){h1{font-size:58px;margin:14px 0}.panel p{font-size:13px}.primary{padding:12px 28px}}

#gallery{position:fixed;inset:0;display:flex;align-items:center;pointer-events:none;background:linear-gradient(90deg,#08202af2 0%,#08202acc 36%,transparent 62%);z-index:6}.gpanel{margin-left:6vw;width:520px;max-width:88vw;pointer-events:auto}#gList{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0 4px}#gList button{font-size:11px;padding:6px 9px;letter-spacing:.04em}#gList button.on{background:#e3c18e;color:#17333b;border-color:#e3c18e}#gName{font-family:'Libre Caslon Display',Georgia,serif;font-weight:400;font-size:44px;line-height:1;margin:10px 0 0;letter-spacing:-.02em}.latin{font-style:italic;opacity:.7;font-size:13px;margin-top:2px}#gSize{color:#e3c18e;font-size:18px;margin:10px 0 6px}.gslider{display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:.16em;text-transform:uppercase;opacity:.85;pointer-events:auto}.gslider input{flex:1;pointer-events:auto}#gMarks{margin:12px 0;padding-left:18px;font-size:13px;line-height:1.55;color:#e3e8e0c9}#gHabits{font-size:12px;line-height:1.6;color:#cedcdd}#gHabits b{color:#e2c38e;font-weight:600}#gJournal{font-size:12px;margin:8px 0 14px;color:#e2c38e}
@media(max-width:800px){.gpanel{margin-left:5vw;max-width:90vw}#gName{font-size:32px}#gMarks{font-size:12px}}
#gClock{margin:8px 0 6px}#gClock svg{width:100%;height:44px;display:block}.clockLabels{display:flex;justify-content:space-between;font-size:9px;letter-spacing:.14em;opacity:.6;margin-top:3px}#gTook,#gBests{font-size:12px;line-height:1.5;color:#cedcdd}#gTook b,#gBests b{color:#e2c38e;font-weight:600}#gBests{margin-bottom:14px}#gJournal{margin-bottom:0}.journalLine{font-size:12px;color:#e2c38e;margin:14px 0 0}

#sessionBar{position:fixed;top:84px;left:34px;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#e2c38e;text-shadow:0 2px 10px #09222c;z-index:4;display:none;white-space:nowrap}#sessionBar.show{display:block}#sessionBar b{color:#fff;font-size:15px;letter-spacing:0;text-transform:none;font-weight:600}
#sessionCard{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:440px;max-width:90vw;background:#0b2229ee;border:1px solid #e3c18e55;border-radius:6px;padding:22px 26px;z-index:9;text-align:left;box-shadow:0 20px 60px #000a;pointer-events:auto}#sessionCard h2{font-family:'Libre Caslon Display',Georgia,serif;font-weight:400;font-size:38px;margin:6px 0 8px;line-height:1}.scSummary{font-size:15px;color:#e3c18e;line-height:1.5}.scTarget{font-size:12px;color:#cedcdd;margin-top:4px}.scEntry{display:flex;gap:12px;align-items:center;margin-top:14px;font-size:12px}.scEntry label{display:flex;gap:8px;align-items:center}#scInitials{width:64px;text-transform:uppercase;font:inherit;padding:6px;background:#13343c;color:#eef2e7;border:1px solid #bed0cc55;letter-spacing:.2em;text-align:center}#scBoard{list-style:none;padding:0;margin:14px 0 0;font-variant-numeric:tabular-nums;font-size:13px;max-height:220px;overflow:auto}#scBoard li{display:flex;justify-content:space-between;padding:3px 0;border-bottom:1px solid #e3c18e22;white-space:pre}#scBoard li.me{color:#e3c18e}#scBoard li.note{color:#cedcdd;font-size:12px;border:0}.sessionRow{margin-top:14px}.sessionHint{font-size:11px;opacity:.7;flex-basis:100%}

#photoBar,#replayBar{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);display:flex;gap:14px;align-items:center;font-size:12px;color:#e3e8e0c9;background:#08202acc;padding:10px 16px;border-radius:6px;z-index:7;pointer-events:auto;white-space:nowrap}#photoBar.hidden,#replayBar.hidden{display:none}#photoBar .primary{padding:8px 16px;min-width:0}body.photo header,body.photo #hud,body.photo #buildVersion{display:none!important}
@media(max-width:800px){#photoBar{white-space:normal;max-width:92vw;font-size:11px}}
/* phones: the menu scrolls instead of clipping, the toast keeps out of the thumbs, landscape puts the tap buttons in a row between the clusters */
@media(max-width:800px){#overlay{align-items:flex-start;overflow-y:auto;-webkit-overflow-scrolling:touch}.panel{margin:64px 5vw 40px;width:auto;max-width:none}#toast{top:auto;bottom:44%;font-size:12px;max-width:64vw;padding:9px 14px}}
@media(max-height:480px){.touch-taps{top:auto;bottom:16px;right:auto;left:50%;transform:translateX(-50%);flex-direction:row;gap:6px}#touchControls .tapbtn{font-size:11px;padding:7px 9px;letter-spacing:.02em}#touchControls .hold{transform:scale(.82);transform-origin:bottom}.touch-left{bottom:12px;gap:8px}.touch-right{bottom:12px;gap:8px}.conditions{bottom:auto;top:62px;gap:12px}.conditions strong{font-size:15px}.conditions strong.text{font-size:11px;max-width:150px;padding-top:3px}.conditions small{margin-bottom:3px}#tackle{bottom:auto;top:132px;right:18px;width:210px;font-size:10px}footer{display:none}#toast{bottom:auto;top:52px;max-width:48vw}#sessionBar{top:132px;left:18px;font-size:10px}.timebar{display:none}}
@media(max-width:800px) and (min-height:481px){.conditions{bottom:auto;top:150px;left:18px;flex-direction:column;gap:10px}.conditions strong{font-size:18px}.conditions strong.text{font-size:11px;max-width:150px;padding-top:2px}#tackle{left:18px;right:auto;top:auto;bottom:250px;width:190px;text-align:left;font-size:10px;line-height:1.4}#tackle small{text-align:left}.timebar{display:none}#sessionBar{top:auto;bottom:228px;left:18px;font-size:10px;white-space:normal;max-width:60vw}}
@media(max-height:480px){#tackle{left:auto;text-align:right}#toast{top:6px}}
@media(max-width:800px) and (min-height:481px){body.touch-active #tackle{top:224px;left:18px;right:auto;bottom:auto;width:52vw;text-align:left}body.touch-active #sessionBar{top:auto;bottom:228px;left:18px;font-size:10px;white-space:normal;max-width:60vw}}
@media(max-height:480px){body.touch-active #tackle{left:auto;right:18px;top:150px;bottom:auto;width:210px;text-align:right}body.touch-active #sessionBar{top:150px;left:18px;font-size:10px}body.touch-active .conditions{top:84px}}

#tutorialBar{position:fixed;right:30px;top:86px;display:flex;gap:12px;align-items:center;font-size:10px;letter-spacing:.2em;color:#e2c38e;text-shadow:0 2px 10px #09222c;z-index:6;pointer-events:auto}#tutorialBar.hidden{display:none}#tutorialBar button{font-size:11px;letter-spacing:.02em;padding:6px 10px}
@media(max-width:800px){#tutorialBar{right:18px;top:auto;bottom:230px;left:18px;justify-content:space-between}}

#sonar{position:fixed;left:34px;bottom:196px;width:240px;height:96px;border:1px solid #e3c18e55;border-radius:4px;background:#08201d;display:none;z-index:4;image-rendering:pixelated}#sonar.show{display:block}
@media(max-width:800px){#sonar{left:18px;bottom:auto;top:300px;width:160px;height:64px}}

/* the second rod: holder status under the tackle line, blinking on a take */
#holderLine{display:none;margin-top:.25rem;font-size:.78rem;color:#d7e3c9}#holderLine.show{display:block}#holderLine.alert{color:#ffe36b;font-weight:600;animation:holderBlink .6s steps(2,start) infinite}@keyframes holderBlink{to{visibility:hidden}}

/* the Lure Cam drift: no tackle, no reticle, no key hints under the water */
body.aquarium #tackle,body.aquarium #reticle,body.aquarium #power,body.aquarium #tension,body.aquarium .controls,body.aquarium #holderLine,body.aquarium #sonar{display:none!important}

/* ---- v0.32.0 cinematic UI: glass panels, a location chip, an icon rail, hints on request ---- */
.glass{background:linear-gradient(160deg,rgba(10,32,40,.62),rgba(6,22,28,.5));backdrop-filter:blur(14px) saturate(1.25);-webkit-backdrop-filter:blur(14px) saturate(1.25);border:1px solid rgba(255,255,255,.13);border-radius:16px;box-shadow:0 10px 32px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.08)}
header{left:22px;right:22px;top:18px;align-items:flex-start}
#locChip{display:flex;align-items:center;gap:10px;padding:9px 14px 9px 11px;pointer-events:auto;color:#f3f1e8}
#locChip svg{width:18px;height:18px;color:#e8c77a;flex:none}
#locChip strong{display:block;font-size:14px;font-weight:600;letter-spacing:.01em}
#locChip span{display:block;font-size:10.5px;letter-spacing:.08em;opacity:.7;margin-top:2px}
.brand{display:none}
#infoPanel{position:fixed;right:88px;top:18px;width:332px;padding:12px 14px 12px;color:#f3f1e8;z-index:5;pointer-events:none}
#infoPanel *{pointer-events:auto}
.ipTop{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.ipTime strong{display:block;font-size:24px;font-weight:600;letter-spacing:-.01em;font-variant-numeric:tabular-nums;line-height:1.1}
.ipTime span{display:block;font-size:11px;opacity:.72;margin-top:4px;letter-spacing:.02em}
.ipSun{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:44px;padding-top:2px}
.ipSun svg{width:24px;height:24px;color:#f0c86a}
.ipSun #moonIcon{display:none;color:#d9e3ef}
.ipSun span{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;opacity:.8}
.ipChips{display:flex;gap:6px;margin-top:12px}
.chip{flex:1;display:flex;align-items:center;gap:8px;padding:8px 9px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);border-radius:11px;min-width:0}
.chip svg{width:17px;height:17px;flex:none;opacity:.85}
.chip>div{flex:1;min-width:0}
.chip small{display:block;font-size:9.5px;letter-spacing:.1em;text-transform:uppercase;opacity:.62}
.chip b{display:block;font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#rigCard{display:flex;align-items:center;gap:11px;width:100%;margin-top:10px;padding:10px 12px;text-align:left;background:linear-gradient(90deg,rgba(255,255,255,.1),rgba(255,255,255,.04));border:1px solid rgba(255,255,255,.14);border-radius:12px;color:inherit}
#rigCard:hover{background:rgba(255,255,255,.14)}
#rigCard svg{width:26px;height:26px;color:#e8c77a;flex:none}
#rigCard>div{flex:1;min-width:0}
#rigCard strong{display:block;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#rigCard em{display:block;font-style:normal;font-size:11.5px;color:#e8c77a;margin-top:2px}
#rigCard .chev{font-size:22px;opacity:.6;line-height:1}
#lineInfo{font-size:11px;opacity:.75;margin-top:8px;min-height:0}
#lineInfo:empty{display:none}
.sunLine{font-size:10.5px;opacity:.55;margin-top:6px;letter-spacing:.02em}
#holderLine{margin-top:6px}
#rail{position:fixed;right:22px;top:18px;display:flex;flex-direction:column;gap:2px;padding:6px 4px;z-index:5}
#rail button{width:54px;height:56px;padding:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:transparent;border:0;border-radius:11px;color:#e9ede4;font-size:9.5px;letter-spacing:.02em;opacity:.9}
#rail button svg{width:21px;height:21px}
#rail button:hover{background:rgba(255,255,255,.1)}
#rail #lenses.on{background:#e3c18e;color:#17333b}
#rail button span{white-space:nowrap}
footer{display:none;left:22px;right:22px;bottom:18px;opacity:1;padding:10px 14px;border-radius:12px;background:rgba(6,22,28,.6);backdrop-filter:blur(10px);font-size:10.5px;color:#d5e1e0cc}
body.showKeys footer{display:flex}
#toast{top:auto;bottom:112px;background:rgba(8,28,36,.78);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.12);border-left:2px solid #e1c48a;border-radius:12px;font-size:13.5px}
#caption{background:rgba(6,22,28,.72);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.1);border-left:2px solid #e3c18e;border-radius:12px;bottom:150px}
.timebar{background:rgba(6,22,28,.5);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:8px 12px}
#touchControls .cast{width:92px;height:92px;border-radius:50%;background:radial-gradient(circle at 50% 40%,rgba(14,42,48,.9),rgba(8,26,32,.8));border:2px solid #e8c77a;box-shadow:0 0 0 6px rgba(232,199,122,.15),0 8px 24px rgba(0,0,0,.35);font-size:13px;letter-spacing:.12em}
#touchControls .cast.held{background:radial-gradient(circle at 50% 40%,#e8c77a,#c9a55a);color:#17333b}
body.touch-active #infoPanel{right:14px;top:auto;bottom:auto;top:12px;width:210px;padding:9px 11px}
body.touch-active #infoPanel .ipChips,body.touch-active #infoPanel .sunLine,body.touch-active #infoPanel #lineInfo{display:none}
body.touch-active .ipTime strong{font-size:18px}
body.touch-active #rigCard{margin-top:8px;padding:7px 9px}
body.touch-active #rail{top:auto;bottom:auto;left:12px;right:auto;top:96px;padding:4px 3px}
body.touch-active #rail button{width:44px;height:46px;font-size:0;gap:0}
body.touch-active #rail button svg{width:20px;height:20px}
body.touch-active #locChip{padding:6px 10px 6px 8px}
body.touch-active #locChip span{display:none}
body.touch-active #locChip strong{font-size:12px}
body.touch-active #caption{bottom:auto;top:66px;font-size:13px;max-width:60vw}
@media(max-width:800px){#infoPanel{width:240px;right:80px;padding:10px 12px}.ipChips{gap:4px}.chip{padding:6px 7px}.chip svg{display:none}#rail button{width:48px;height:50px;font-size:0;gap:0}}
@media(max-height:480px){#infoPanel{padding:7px 10px}.ipTime strong{font-size:16px}#rigCard{margin-top:6px;padding:6px 8px}#rigCard svg{width:20px;height:20px}body.touch-active #rail{top:60px}body.touch-active #rail button{width:38px;height:38px}}

/* phones held upright: the tap column sits under the panel, the toast mid-screen clear of the thumbs */
@media(orientation:portrait){body.touch-active .touch-taps{top:150px;right:12px;left:auto;bottom:auto;flex-direction:column;align-items:flex-end;gap:8px}body.touch-active .touch-taps button{font-size:13px;padding:9px 12px}body.touch-active #toast{bottom:auto;top:42%;max-width:70vw;font-size:12.5px}body.touch-active #caption{top:150px;left:auto;right:12px;transform:none;max-width:56vw;text-align:left}}

/* wider panel so the chips never clip */
#infoPanel{width:362px}.chip{padding:8px 8px;gap:6px}

/* the lake map */
#mapPanel{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none;z-index:6;background:rgba(4,14,18,.35)}
#mapPanel .mpanel{pointer-events:auto;padding:16px 18px 14px;width:min(92vw,820px);color:#f3f1e8}
#mapPanel h2{margin:4px 0 8px;font-family:'Libre Caslon Display',Georgia,serif;font-weight:400;font-size:30px}
#mapCanvas{width:100%;height:auto;display:block;border-radius:10px;border:1px solid rgba(255,255,255,.1)}
#mapLine{font-size:12.5px;opacity:.85;margin:10px 0 8px}
@media(max-height:620px){#mapPanel h2{font-size:22px;margin:2px 0 4px}#mapPanel .mpanel{padding:10px 12px}}

/* Ray's hotspot line under the rig card */
#coachLine{display:none;margin-top:6px;font-size:11px;color:#e8c77a;letter-spacing:.01em}#coachLine.show{display:block}body.touch-active #coachLine{display:none!important}

/* ---- accessibility and comfort: interface zoom, high-contrast and colour-safe HUD palettes ---- */
:root{--ui-zoom:1}
#infoPanel,#locChip,#rail,#toast,#caption,#catchCard,#sessionCard,#sessionBar,#mapPanel .mpanel,#replayBar,#photoBar,#tutorialBar,.timebar,footer,.panel,#gallery .gpanel,#demoBadge{zoom:var(--ui-zoom)}
body.touch-active #infoPanel,body.touch-active #rail,body.touch-active #locChip{zoom:min(var(--ui-zoom),1.2)}
body.hud-contrast .glass,body.hud-contrast #toast,body.hud-contrast #caption,body.hud-contrast #catchCard,body.hud-contrast #sessionCard,body.hud-contrast .panel{background:rgba(3,12,16,.92)!important;border:2px solid rgba(255,255,255,.55)!important;backdrop-filter:none!important;box-shadow:none!important}
body.hud-contrast,body.hud-contrast #infoPanel,body.hud-contrast #locChip,body.hud-contrast #rail button{color:#ffffff}
body.hud-contrast .chip{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.35)}
body.hud-contrast #rigCard{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.5)}
body.hud-contrast .ipTime span,body.hud-contrast .chip small,body.hud-contrast #locChip span,body.hud-contrast .sunLine,body.hud-contrast #lineInfo{opacity:1;color:#f4f4f0}
body.hud-contrast #rigCard em,body.hud-contrast #coachLine,body.hud-contrast .ipSun svg{color:#ffe36b}
body.hud-contrast #reticle{border-color:#fff;border-width:2px;box-shadow:0 0 0 2px #000}
/* colour-safe: the Okabe-Ito pairs; tension runs blue to orange to vermilion, alerts go yellow on black */
body.hud-colorsafe #tension i{background:linear-gradient(90deg,#56B4E9 0%,#E69F00 60%,#D55E00 92%)}
body.hud-colorsafe #tension{background:#ffffff44}
body.hud-colorsafe #rigCard em,body.hud-colorsafe #coachLine,body.hud-colorsafe #rigCard svg,body.hud-colorsafe .ipSun svg,body.hud-colorsafe #locChip svg{color:#F0E442}
body.hud-colorsafe #holderLine.alert{color:#000;background:#F0E442;padding:2px 6px;border-radius:6px}
body.hud-colorsafe #rail #lenses.on{background:#F0E442;color:#000}
body.hud-colorsafe #touchControls .cast{border-color:#F0E442;box-shadow:0 0 0 6px rgba(240,228,66,.2)}
body.hud-colorsafe #touchControls .held{background:#F0E442cc;color:#000}
body.reduce-motion #holderLine.alert{animation:none}

/* the time bar keeps clear of the rail when the interface is zoomed */
.timebar{zoom:min(var(--ui-zoom),1.15);right:calc(30px + 62px * var(--ui-zoom))}

/* v0.41.0 tutorial mode: the lesson hub and the lesson bar */
#tutorialPanel{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;z-index:8;background:rgba(4,14,18,.42);pointer-events:auto}
#tutorialPanel.hidden{display:none}
.mpanel.lessons{width:min(680px,94vw);max-height:92vh;overflow:auto;pointer-events:auto}
.mpanel.lessons h2{margin:6px 0 4px}
#lessonLine{margin:0 0 12px;font-size:13px;color:#cfe3e8;opacity:.9}
#lessonList{display:flex;flex-direction:column;gap:8px}
#lessonList .lesson{display:grid;grid-template-columns:34px 1fr auto;gap:12px;align-items:center;width:100%;text-align:left;padding:10px 12px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:12px;color:#f5f1e6;font:inherit;cursor:pointer;transition:background .15s,border-color .15s}
#lessonList .lesson:hover,#lessonList .lesson:focus-visible{background:rgba(255,255,255,.1);border-color:rgba(227,193,142,.55);outline:none}
#lessonList .lesson.next{border-color:rgba(227,193,142,.7);background:rgba(227,193,142,.08)}
#lessonList .lesson.done{opacity:.72}
#lessonList .num{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(227,193,142,.16);color:#e3c18e;font-size:14px;letter-spacing:0}
#lessonList .done .num{background:rgba(120,200,150,.2);color:#9fe0b6}
#lessonList .body{display:flex;flex-direction:column;gap:2px;min-width:0}
#lessonList .body b{font-weight:600;font-size:15px}
#lessonList .body small{font-size:12px;line-height:1.35;color:#cfe3e8;opacity:.85}
#lessonList .meta{font-size:10px;letter-spacing:.18em;color:#e3c18e;white-space:nowrap}
#tutorialBar{gap:8px}
#tutorialBar button{padding:5px 10px;font-size:10px;letter-spacing:.12em}
@media (max-width:720px){#lessonList .lesson{grid-template-columns:28px 1fr;padding:9px 10px}#lessonList .meta{grid-column:2;justify-self:start}#lessonList .num{width:28px;height:28px;font-size:12px}#tutTitle{font-size:9px}}
