/* ---------- shared Gioca bits (the same in every game). Tokens, .btn, .tile, .bar, .end come from /app.css ---------- */
.screen:focus{outline:none}
.end .eline{font:500 var(--fs-head)/1.3 var(--font);color:var(--ink-2);text-align:center}
/* the status line: an icon and a short sentence */
.status{font:500 var(--fs-title2)/1.2 var(--font);display:flex;align-items:center;gap:12px;min-height:44px}
.status svg{width:32px;height:32px;stroke-width:2.75;flex:none}
.status.no{color:var(--rosso)}
.status.ok{color:var(--verde-lip)}
.rule{font:500 var(--fs-body)/1.35 var(--font);color:var(--ink-2)}
.phone .status{min-height:34px;gap:8px}
.phone .status svg{width:24px;height:24px}


/* ---------- Pesca il numero ---------- */
.ps{flex:1;min-height:0;display:grid;grid-template-columns:260px minmax(0,1fr);gap:var(--s5);padding:var(--s4) var(--k-pad) var(--s6)}
.ps .side{display:flex;flex-direction:column;align-items:center;gap:var(--s3);text-align:center;padding-top:var(--s3)}
.bucket{position:relative;width:200px;height:200px}
.bucket img{width:100%;height:100%}
/* the number on a white disc over the bucket's front */
.bucket .tg{position:absolute;left:50%;top:56%;transform:translate(-50%,-50%);width:46%;aspect-ratio:1;border-radius:50%;background:var(--surface);border:3px solid var(--ink);
  display:grid;place-items:center;font:500 54px/1 var(--font);color:var(--ink)}
.ps .ask{font:500 var(--fs-head)/1.3 var(--font);color:var(--ink-2)}
.ps .ask b{font-weight:500;color:var(--ink)}
.got{display:flex;gap:8px}
.got i{width:30px;height:30px;border-radius:50%;border:2px solid var(--line);background:var(--surface);transition:background-color 200ms ease,border-color 200ms ease}
.got i.on{background:var(--act-bg);border-color:var(--act)}
.ps .status{font-size:var(--fs-head);justify-content:center;min-height:60px}
.ps .status svg{width:26px;height:26px}
/* the sea: the game's pastel with a few soft wave lines */
.sea{--fh:92px;position:relative;overflow:hidden;border-radius:var(--r-big);border:2px solid var(--act);
  background:repeating-linear-gradient(180deg,transparent 0 58px,rgba(255,255,255,.45) 58px 61px),var(--act-bg)}
.fish{--fh:inherit;position:absolute;left:0;height:var(--fh);display:flex;align-items:center;gap:6px;border:0;background:none;padding:0;cursor:pointer;will-change:transform;touch-action:manipulation}
.fish img{width:var(--fh);height:var(--fh);flex:none;pointer-events:none}
.fish.r{flex-direction:row-reverse}
.fish.r img{transform:scaleX(-1)}
.fish .ex{font:500 30px/1 var(--font);color:var(--ink);background:var(--surface);border:2px solid var(--line);border-radius:999px;padding:10px 16px;white-space:nowrap;display:flex;align-items:flex-start;gap:8px;box-shadow:0 3px 0 var(--line)}
.fish .n{display:flex;flex-direction:column;align-items:center;gap:4px}
.dd{display:flex;gap:3px}
.dd b{width:7px;height:7px;border-radius:50%;background:var(--ink)}
.fish.no .ex{border-color:var(--rosso);color:var(--rosso)}
.fish .eq{color:var(--rosso)}
.fish:focus-visible{outline:4px solid var(--btn);outline-offset:4px;border-radius:999px}
.fly{position:absolute;z-index:30;pointer-events:none}
.phone .ps{display:flex;flex-direction:column;gap:var(--s3);padding:var(--s2) var(--k-pad) var(--s5)}
.phone .ps .side{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"bk ask" "bk got" "st st";gap:4px 14px;align-items:center;text-align:left;padding:0}
.phone .bucket{grid-area:bk;width:110px;height:110px}
.phone .bucket .tg{font-size:32px;border-width:2px}
.phone .ps .ask{grid-area:ask}
.phone .got{grid-area:got}
.phone .got i{width:22px;height:22px}
.phone .ps .status{grid-area:st;justify-content:flex-start;min-height:34px;font-size:var(--fs-body)}
.phone .sea{flex:1;min-height:0;--fh:68px}
.phone .fish .ex{font-size:24px;padding:8px 12px}
