/* NIGHT TIDE ATELIER · scope: the existing fishing page. */
:root{--fish-mint:#a1efdb;--fish-moon:#ecd7ac;--fish-ink:#0c1528;--fish-lilac:#cdb4ec}
body{background:radial-gradient(ellipse at 10% 0,#302542 0,transparent 46%),linear-gradient(150deg,#10172b,#071723 65%,#101023);color:#eaf1f7}
.app{max-width:1140px;padding:16px 20px 24px}header{min-height:62px;padding:8px 15px;background:#10192bdd;border:1px solid #a7b6d329;border-radius:15px;box-shadow:inset 0 1px #ffffff08}.brand{color:#ecd7b4}.wallet small{color:#b7c8d7}.wallet strong{font-size:24px}.icon{min-width:44px;min-height:44px;border-color:#8194ad66;background:#233047}
.title-row{margin:20px 0 13px;align-items:center}.eyebrow{display:block;font-size:9px;letter-spacing:.23em;color:#a9ddd7;margin:0 0 7px}h1,.title-row h1{font-size:clamp(22px,3.3vw,32px);margin:0;color:#faf0de;letter-spacing:.02em}.book-button{min-height:46px;font-size:12px;padding:8px 13px;border-radius:12px;border:1px solid #b5a0d16b;background:#2b2440;color:#f0def7}.book-button b{color:#efcf9a}
.seas{margin:0 0 9px;gap:8px;padding:2px 0 7px}.seas button{flex:0 0 153px;min-width:153px;min-height:59px;padding:10px 11px;border:1px solid #516c847d;border-radius:12px;background:linear-gradient(135deg,#20334a,#16263b);font-size:12px;color:#e2ebf1}.seas small{margin-top:4px;color:#b4c7d6;font-size:10px}.seas button[aria-pressed=true]{border-color:#a1dfd0;background:linear-gradient(120deg,#275558,#252e4a);box-shadow:inset 0 0 0 1px #a1efdb22}
.v71-boss-hud{padding:11px 14px;margin:0 0 14px;border-radius:13px;border:1px solid #aa95c53f;background:linear-gradient(110deg,#282339,#192b40);box-shadow:none}.v71-boss-hud small{color:#c7bdd5;font-size:11px}.v71-boss-hud b{font-size:13px}.v71-boss-hud .v71-count{font-size:11px}.v71-boss-hud .v71-count>small,.v71-boss-track{display:none}.v71-boss-hud:before{font-size:20px;margin-right:0}
.machine{border-radius:23px;border-color:#9bb9cb68;background:#0f2032;box-shadow:0 24px 70px #0007,inset 0 1px #fff1}.arena{height:430px;min-width:0;background:#092e45}.v73-ocean-sheen{opacity:.45}.v73-ocean-sheen:after{animation-duration:16s}.sea-top{top:14px;left:15px;right:15px;gap:6px}.sea-top span{border-color:#abc8d144;background:#0e2139cc;color:#e1f6f2;font-size:11px;padding:6px 9px}.sea-top #mode{display:none}.scene-bottom{left:13px;right:13px;bottom:12px}.scene-bottom span{padding:5px 9px;font-size:11px;background:#0a1e32ce;border:1px solid #bad8eb22;color:#d0e5ed}.scene-bottom #time{color:#f5e2ba;font-variant-numeric:tabular-nums;font-weight:800}.scene-bottom #time.time-low{color:#ffb3bc;background:#451c32ed;border-color:#ef8e9d}
.duel-signal{left:15px;bottom:54px;width:calc(100% - 30px);font-size:12px;padding:7px;background:#0b1d30b5;border:1px solid #9fc7da30;border-radius:9px;letter-spacing:.04em}.fish-targets button{border-radius:50%;min-width:54px;min-height:54px}.fish-targets button:focus-visible{outline:3px solid #f2d39e;outline-offset:3px}
.yona{background:linear-gradient(105deg,#2d2340,#162c3c);padding:7px 14px;min-height:58px;gap:10px}.yona>canvas{width:48px;height:50px}.yona>span{font-size:10px;white-space:nowrap}.yona p{font-size:12px;line-height:1.55;color:#edebfa}
.deck{background:linear-gradient(155deg,#203248,#152235 60%,#201d32);padding:22px;min-width:0}.play-step{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#bccec9;font-size:9px;letter-spacing:.13em;margin-bottom:14px}.play-step button{font:inherit;font-size:11px;letter-spacing:0;background:#253149;color:#e8d8f2;border:1px solid #9f88bd66;border-radius:8px;padding:7px 10px;min-height:44px}.v73-help-line{background:#112b3c;border-color:#7099a54d;padding:7px 10px;margin-bottom:17px}.v73-help-line strong{font-size:12px;line-height:1.65}.v73-help-line button{min-height:44px}
.target-info{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;margin-bottom:14px}.target-info .prize{display:flex;align-items:center;justify-content:flex-end;gap:7px;font-size:11px}.prize strong{font-size:26px}.prize small{font-size:9px}.v70-target-slot{gap:10px}.v70-target-labels h2,#targetName{font-size:19px;line-height:1.5;margin:5px 0}.v70-target-labels small{font-size:10px;line-height:1.6;color:#c7c0d8}#v70TargetFish{width:90px;height:68px;max-width:28%;filter:drop-shadow(0 5px 12px #92e1ff24)}
#rods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;overflow:visible;margin:0 0 9px;padding:0}#rods .rod-option{min-width:0;max-width:none;min-height:85px;padding:8px 4px;border-radius:11px;background:#182b3f;border:1px solid #64849e70;gap:3px}#rods .rod-option .rod-emblem{height:21px;font-size:21px}#rods .rod-option .rod-title{font-size:11px;min-height:28px}#rods .rod-option b{font-size:12px}#rods .rod-option small{display:none}#rods .rod-option[aria-pressed=true]{background:linear-gradient(130deg,#493a62,#2b3e55);border-color:#e0bff1;box-shadow:inset 0 0 0 1px #d9b3e94d}.rod-option:disabled{opacity:.55}#rodCurrent{font-size:11px;color:#b9d4e0;margin:8px 0 13px;line-height:1.5}
.primary{background:linear-gradient(110deg,#a7e8d4,#e3e9bb);color:#132c31;border-color:#c7f2dd;border-radius:12px;min-height:56px;font-weight:800;box-shadow:inset 0 1px #fff8,0 8px 20px #031c202b}.primary:disabled{color:#d1dce2;background:#43576b;border-color:#7b8a9b;box-shadow:none}.fine{font-size:11px;color:#c6d3de;line-height:1.7;margin-top:9px}
.fight-guide{display:grid;grid-template-columns:1fr auto;gap:6px 10px;align-items:center;border:1px solid #91d9ca66;border-radius:12px;padding:12px;background:#173d42;margin-bottom:13px}.fight-guide strong{font-size:16px;line-height:1.5;color:#e1fff2}.fight-guide p{grid-column:1/-1;margin:0;font-size:11px;line-height:1.6;color:#c6e3df}.guide-direction{font-size:15px;font-weight:850;white-space:nowrap;color:#f7e4b8}.fight-guide[data-tone=danger]{background:#452d3c;border-color:#f1a1af}.fight-guide[data-tone=danger] strong{color:#ffd0d5}.fight-guide[data-tone=warning]{background:#413a31;border-color:#dbb27d}.fight-guide[data-tone=warning] strong{color:#ffe3ad}.fight-guide[data-tone=chance],.fight-guide[data-tone=finish]{background:linear-gradient(120deg,#2b4c47,#4b4357);border-color:#e6dba6}.fight-guide[data-tone=offline]{background:#362b43;border-color:#b4a3c6}
.battle-title{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.battle-title b{font-size:13px;color:#edf4f7}.battle-title #rage{font-size:10px;line-height:1.5;background:#1e3648;color:#c1e7e4;padding:5px 8px}.battle-title #rage.angry{background:#55263b;color:#ffd2da}.meters{gap:12px;margin:0 0 13px}.meters label{font-size:12px;color:#c3dae4;line-height:1.4}.meters label b{color:#f0f9fb;font-size:14px}.track{height:11px;margin-top:6px;background:#07182b;border:1px solid #b1c8d128;border-radius:99px;overflow:hidden}.track i{background:linear-gradient(90deg,#5fc3b6,#c1edd5);border-radius:inherit}.tension i{background:linear-gradient(90deg,#bca8e7,#e5c0ab)}.machine[data-tension=danger] .tension i{background:#ef899d}
.position-panel{margin:0 0 14px}.position-label{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#bacfdf;margin-bottom:6px}.position-label b{color:#e7d5af;font-size:10px}.position-track{height:18px;border-radius:9px;background:linear-gradient(90deg,#4a2d43 17.5%,#255053 17.5%,#255053 82.5%,#4a2d43 82.5%);position:relative;overflow:hidden;border:1px solid #a9c2d13b}.position-track:before{content:"";position:absolute;height:100%;left:50%;border-left:1px solid #edf7d39c}.position-track i{position:absolute;left:50%;top:2px;bottom:2px;width:9px;background:#f5e5b7;border:1px solid #fff6dc;border-radius:5px;transform:translateX(-50%);transition:left .12s linear;box-shadow:0 0 8px #f9deb660}.position-ends{display:flex;justify-content:space-between;font-size:9px;color:#adbecd;margin-top:3px}
.battle-actions{grid-template-columns:72px minmax(0,1fr) 72px;gap:8px}.battle-actions .steer{background:#263e54;border-color:#8cabc3;color:#f0f5ff;min-height:68px;border-radius:12px;font-size:25px}.steer small{font-size:10px}.battle-actions #reel{min-height:68px;font-size:21px}.battle-actions #reel small{font-size:10px;font-weight:600;display:block;margin-top:3px}.battle-actions [data-guide=true]{outline:2px solid #f5d99d;outline-offset:2px}.battle-actions .steer[data-guide=true]{background:linear-gradient(135deg,#3c5867,#635477);border-color:#f0d3a4;color:#ffe7b4}.skill-actions{gap:9px;margin-top:11px}.skill-actions button{min-height:58px;font-size:14px;border-radius:11px;background:#25354c;border-color:#8b9eb965}.skill-actions small{font-size:10px;line-height:1.5}.skill-actions #slack[data-guide=true]{background:#563445;border-color:#f3adbb;color:#ffe5e7}.skill-actions #pulse:not(:disabled){background:linear-gradient(120deg,#53406e,#303b58);border-color:#c1a1ef;color:#f7e5ff}.held{filter:brightness(1.12);box-shadow:inset 0 0 0 2px #f3e0b1}
#capturePanel{padding-top:14px}.capture-track{height:28px;border-radius:8px;margin-bottom:8px;border:1px solid #c3deaa87;font-size:10px;letter-spacing:.12em;line-height:26px}.capture-track i{width:5px;background:#fffbe8}.capture-track span{color:#fff8df;text-shadow:0 1px 2px #182a2c}#finish{min-height:54px;font-size:18px;border-radius:11px;color:#eef5e1;background:#3a4f47;border-color:#b7cf9a}#finish[data-ready=true]{color:#24332b;background:linear-gradient(120deg,#b8ebba,#eddfad)}#battleHint{font-size:11px;line-height:1.6;color:#c4d4e3}
.result{inset:14px;justify-content:center;border:1px solid #c1d8d2;border-radius:18px;padding:20px;background:radial-gradient(ellipse at 50% 15%,#354e65ed,#101e32fa 75%);box-shadow:0 20px 60px #03102188,inset 0 1px #f7e5bf33;overflow-y:auto;overscroll-behavior:contain;backdrop-filter:blur(12px)}.result>*{flex-shrink:0}.result #resultRank{font-size:10px;letter-spacing:.15em;color:#f2deab}.catch-art{display:grid;place-items:center;position:relative;width:min(250px,80%);height:138px;margin:8px 0 3px;border-radius:50%;background:radial-gradient(ellipse,color-mix(in srgb,var(--catch-color,#8ae3d9) 20%,transparent),transparent 70%)}.catch-art:after{content:"";position:absolute;inset:14% 5%;border:1px solid color-mix(in srgb,var(--catch-color,#8ae3d9) 36%,transparent);border-radius:50%;transform:rotate(-12deg)}#result #v70ResultFish{position:relative;z-index:1;width:100%;max-width:250px;height:135px;filter:drop-shadow(0 8px 17px #0008);object-fit:contain}.result h2{font-size:22px;line-height:1.4;margin:5px 0;overflow-wrap:anywhere;color:#fff1db}.result #resultSize{font-size:12px;color:#cfe0e4;margin:5px 0}.result #resultReward{font-size:31px;color:#f4d8a6;line-height:1.3;margin:3px 0}.result #resultNote{font-size:11px;color:#bed3e1;line-height:1.6;margin:7px 0 13px;max-width:380px}.catch-badge{font-size:10px;padding:5px 11px;border:1px solid #b0dbc55c;border-radius:99px;color:#d2f3dd;background:#23453d;margin:5px 0}.catch-badge[data-kind=retry]{color:#dcc9e7;background:#3b2d48;border-color:#a386bb66}.result #next{width:min(330px,100%);font-size:14px;min-height:48px}.result[data-outcome=lost]{background:radial-gradient(ellipse at top,#4b304de0,#152139fa);border-color:#bc95bf}.result[data-outcome=lost] #resultReward{font-size:20px;color:#e5c3e5}.machine[data-phase=result] .banner{display:none}.machine[data-phase=result] #dragonEncounter{display:none}.machine[data-phase=result] .duel-signal{display:none}
.banner{z-index:10!important;inset:26% 3% auto;text-shadow:0 4px 20px #081125}.banner strong{color:#f9e2b5;font-size:clamp(30px,6vw,59px);line-height:1.25;letter-spacing:.06em}.banner small{color:#c4f7ea;letter-spacing:.1em;font-size:11px}.network{padding:11px;font-size:12px;line-height:1.6;background:#4b293d;border:1px solid #e79ab46b}.network button{min-height:44px;min-width:76px}
.v75-launch{margin:17px 0 0;border-radius:13px;min-height:70px;padding:12px 16px;border-color:#829fba52;background:linear-gradient(115deg,#192b40,#2e2341)}.v75-launch strong{font-size:12px;color:#e8d6ad}.v75-launch small{font-size:11px;color:#c2cbdc}.v75-icon{background:#244252}.v75-sheet{background:linear-gradient(140deg,#192c40,#171b30)}.v75-gallery-top h2{color:#f3dfb8}.v75-gallery-controls input{font-size:16px}.v75-grid button{border-color:#829ebf52;border-radius:13px;background:linear-gradient(140deg,#203b4b,#202039)}.v75-grid button b{font-size:12px;line-height:1.5}.v75-gallery-bottom{font-size:11px;line-height:1.7}
footer{margin-top:18px;color:#b4c7d3;font-size:11px;gap:12px;flex-wrap:wrap}footer a{text-decoration:underline;text-underline-offset:3px}footer button{min-height:44px}dialog{border-color:#9d87ba88;border-radius:18px;background:#19283b;color:#e3edf6}#modalContent{font-size:13px;line-height:1.85}.stats{color:#c2d5e2}.collection .v70-book-item{background:linear-gradient(120deg,#20364a,#25213c);border-radius:13px}.v70-book-copy b{font-size:13px}.v70-book-copy small{font-size:11px;line-height:1.6}
[hidden]{display:none!important}
@media(min-width:900px){.machine{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(350px,1fr);grid-template-rows:minmax(470px,1fr) auto}.arena{grid-column:1;grid-row:1;height:100%;min-height:470px}.yona{grid-column:1;grid-row:2;border-bottom:0}.deck{grid-column:2;grid-row:1/span 2;border-left:1px solid #99bcc03a}.machine:has(#capturePanel:not([hidden])) .arena{height:100%}.result{inset:22px}.result #v70ResultFish{height:165px}.catch-art{height:170px}.result h2{font-size:25px}}
@media(max-width:899px){.app{max-width:700px}.arena{height:clamp(300px,40dvh,420px)}.deck{padding:18px}.target-info{grid-template-columns:minmax(0,1fr) auto}#rods{grid-template-columns:repeat(5,minmax(0,1fr))}.fight-guide{margin-bottom:12px}.machine[data-phase=result] .arena{height:460px}}
@media(max-width:620px){
 .app{padding:8px 10px 16px}header{min-height:55px;padding:5px 9px;gap:7px;border-radius:12px}.brand{font-size:17px}.wallet small{font-size:9px}.wallet strong{font-size:20px}.icon{font-size:11px;min-height:44px;min-width:42px}.title-row{margin:15px 0 12px;gap:8px}.title-row h1{font-size:22px}.eyebrow{font-size:8px;letter-spacing:.18em}.book-button{font-size:10px;padding:7px 9px;min-height:46px}.seas button{flex-basis:137px;min-width:137px;font-size:11px;min-height:54px}.seas button small{font-size:9px}.v71-boss-hud{padding:9px 11px;margin-bottom:11px}.v71-boss-hud b{font-size:12px}.v71-boss-hud small{font-size:10px}.v71-boss-hud .v71-count{font-size:10px}.v71-boss-hud:before{display:none}
 .machine{border-radius:17px}.arena{height:clamp(285px,38dvh,355px)}.sea-top{top:10px;left:10px;right:10px}.sea-top span{font-size:10px}.duel-signal{font-size:11px;bottom:48px;left:10px;width:calc(100% - 20px)}.yona{padding:5px 10px;min-height:49px;gap:6px}.yona>canvas{width:40px;height:42px}.yona p{font-size:11px}.yona>span{font-size:9px}.deck{padding:14px 12px 16px}.play-step{font-size:8px;margin-bottom:10px}.play-step button{font-size:10px;min-height:40px}.v73-help-line{margin-bottom:12px;padding:4px 8px}.v73-help-line strong{font-size:11px}.v73-help-line button{font-size:10px;min-height:40px}.target-info{gap:7px}.target-info .prize{display:block;text-align:right}.target-info .prize strong{display:block;font-size:24px}#targetName{font-size:17px}.v70-target-labels small{font-size:9px}#v70TargetFish{width:65px;height:55px;max-width:27%}
 #rods{gap:5px}#rods .rod-option{min-height:82px;padding:7px 3px}#rods .rod-option .rod-title{font-size:10px;min-height:27px}#rods .rod-option b{font-size:11px}#rodCurrent{font-size:10px;margin-bottom:11px}#cast{font-size:16px;min-height:54px}.fine{font-size:10px}
 .fight-guide{padding:10px;gap:5px 7px;margin-bottom:10px}.fight-guide strong{font-size:14px}.fight-guide p{font-size:10px}.guide-direction{font-size:13px}.battle-title{margin-bottom:9px}.battle-title b{font-size:12px}.meters{margin-bottom:10px}.meters label{font-size:11px}.position-panel{margin-bottom:11px}.battle-actions{grid-template-columns:62px minmax(0,1fr) 62px;gap:8px}.battle-actions #reel{font-size:19px}.battle-actions .steer,.battle-actions #reel{min-height:62px}.skill-actions button{min-height:53px;font-size:13px}#battleHint{font-size:10px;margin-top:8px}
 body[data-fishing-phase=battle] .title-row,body[data-fishing-phase=battle] .seas,body[data-fishing-phase=battle] .v71-boss-hud,body[data-fishing-phase=battle] .v75-launch,body[data-fishing-phase=casting] .title-row,body[data-fishing-phase=casting] .seas,body[data-fishing-phase=casting] .v71-boss-hud{display:none!important}
 body[data-fishing-phase=battle] .machine,body[data-fishing-phase=casting] .machine{margin-top:9px}body[data-fishing-phase=battle] .play-step,body[data-fishing-phase=battle] .v73-help-line{display:none}body[data-fishing-phase=battle] .arena,.machine:has(#capturePanel:not([hidden])) .arena{height:clamp(205px,27dvh,280px)}body[data-fishing-phase=battle] .deck{padding-top:11px}.machine:has(#capturePanel:not([hidden])) .arena{height:205px}.machine:has(#capturePanel:not([hidden])) #battleHint{display:none}
 .machine[data-phase=result] .arena{height:440px}.result{inset:11px;padding:16px 12px}.result h2{font-size:21px}.catch-art{height:115px;margin:6px 0 3px}#result #v70ResultFish{height:115px;max-width:220px}.result #resultReward{font-size:29px}.result #resultSize{font-size:11px}.result #resultNote{font-size:10px;margin-bottom:11px}.catch-badge{font-size:10px}.result #next{min-height:47px}.v75-launch{padding:11px;margin-top:13px}.v75-launch small{font-size:10px}.v75-launch strong{font-size:11px}
}
@media(max-width:365px){.title-row h1{font-size:19px}.brand{font-size:15px}.wallet strong{font-size:18px}.fight-guide{grid-template-columns:1fr}.guide-direction{grid-row:2;font-size:12px}.fight-guide p{grid-row:3}.battle-actions{grid-template-columns:55px minmax(0,1fr) 55px}.target-info{grid-template-columns:1fr}.target-info .prize{display:flex;justify-content:flex-end;align-items:center}.target-info .prize strong{display:inline}.v71-boss-hud .v71-count{font-size:9px}#rods{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(prefers-reduced-motion:no-preference){.catch-arrival .catch-art img{animation:fish-arrival .6s cubic-bezier(.22,.7,.18,1) both}.catch-arrival .catch-badge{animation:catch-stamp .4s .2s ease-out both}@keyframes fish-arrival{from{opacity:0;transform:translateY(20px) rotate(-9deg) scale(.7)}to{opacity:1;transform:none}}@keyframes catch-stamp{from{opacity:0;transform:scale(.85)}to{opacity:1;transform:none}}}
body[data-fishing-motion=quiet] .machine *,body[data-fishing-motion=quiet] .machine *:after{animation:none!important;transition:none!important}
@media(prefers-reduced-motion:reduce){.machine *,.machine *:after{animation:none!important;transition:none!important}}
