/* 改不完的通知 — a phone screen over the blurred mobile shop. Scoped to the mini-game dialog. */
.idGame{box-sizing:border-box;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:14px;overflow:auto;border:0;background:#1d2230;color:#f3f0e8;font-family:inherit;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;position:fixed}
.idGame::backdrop{background:#151924}.idGame *{box-sizing:border-box}.idGame [hidden]{display:none!important}
.igBack{position:absolute;inset:-30px;background:#2b3346 center/cover no-repeat;filter:blur(14px) brightness(.55) saturate(.8);z-index:0}
.idGame>*:not(.igBack){position:relative;z-index:1}
.idGame header{display:flex;justify-content:space-between;align-items:center;gap:16px;width:min(100%,760px)}.idGame header small{font-size:11px;letter-spacing:.13em;opacity:.75}.idGame h2{margin:3px 0;font-size:22px;font-weight:500;letter-spacing:.08em}.idGame nav{display:flex;gap:8px}
.idGame button{font:inherit;cursor:pointer;touch-action:manipulation}
.idGame header button,.igCard button{font-size:14px;min-height:40px;padding:8px 15px;border:1px solid #6d7488;border-radius:8px;background:#30364a;color:#f3f0e8}
.idGame button:focus-visible{outline:3px solid #9fd8ff;outline-offset:2px}
.igCard button.primary{background:#4b8df0;border-color:#4b8df0;color:#fff}
/* the phone */
.igPhone{--h:min(calc(100dvh - 150px),760px);height:var(--h);aspect-ratio:9/18.5;max-width:calc(100vw - 28px);border-radius:calc(var(--h)*.065);border:9px solid #0d0f14;background:linear-gradient(160deg,#cfe0f2,#e9dcef 55%,#f6e6d6);color:#1f2430;overflow:hidden;box-shadow:0 18px 50px #000a,inset 0 0 0 1px #fff3;display:flex;flex-direction:column;font-size:clamp(12px,calc(var(--h)*.019),15px);transition:filter 1.2s}
.igPhone.buzz{animation:igBuzz .32s}
@keyframes igBuzz{20%{transform:translateX(-3px) rotate(-.4deg)}40%{transform:translateX(3px) rotate(.4deg)}60%{transform:translateX(-2px)}80%{transform:translateX(2px)}}
.igPhone.dim{filter:brightness(.55) saturate(.7)}
.igStatus{display:flex;justify-content:space-between;padding:.7em 1.3em .3em;font-size:.85em;color:#2a3040}.igStatus span{letter-spacing:.05em;opacity:.8}
.igHome{flex:1;display:flex;flex-direction:column;min-height:0;padding:.4em .7em}
.igCounts{display:flex;justify-content:space-between;align-items:center;margin:.3em .3em .6em;font-size:.9em}
.igPend{background:#e0483e;color:#fff;border-radius:999px;padding:.15em .75em;font-weight:600;transition:transform .2s}.igFixed{color:#3b7a55;font-weight:600}
.igList{display:flex;flex-direction:column;gap:.5em;overflow:hidden}
.igNote{display:flex;align-items:flex-start;gap:.6em;text-align:left;width:100%;padding:.65em .7em;border:0;border-radius:1em;background:#ffffffd9;color:#1f2430;box-shadow:0 2px 8px #0001;font-size:1em;line-height:1.35;transition:transform .15s}
.igNote:hover:not(:disabled){transform:scale(1.015);background:#fff}.igNote:disabled{cursor:default;opacity:.92}
.igNote.new{animation:igDrop .35s ease-out}
@keyframes igDrop{from{transform:translateY(-60%);opacity:0}}
.igNote span{flex:1;min-width:0;display:flex;flex-direction:column}.igNote b{font-size:.9em}.igNote em{font-style:normal;font-size:.85em;opacity:.8;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.igNote small{font-size:.72em;opacity:.55;white-space:nowrap}
.igIcon{flex:none;display:grid;place-items:center;width:2.3em;height:2.3em;border-radius:.6em;color:#fff;font-style:normal;font-weight:700;font-size:.95em;box-shadow:inset 0 -2px 0 #0002}
.igMore{margin:.5em 0 0;text-align:center;font-size:.85em;opacity:.65}
.igPhone.flood .igPend{animation:igPulse .5s infinite alternate}
@keyframes igPulse{to{transform:scale(1.12)}}
/* banners (incoming while a check is open; the SMS code) */
.igBanner{position:absolute;left:.6em;right:.6em;top:2.4em;z-index:3;display:flex;gap:.6em;align-items:flex-start;padding:.65em .75em;border-radius:1em;background:#fffffff2;box-shadow:0 6px 18px #0003;animation:igDrop .3s ease-out;line-height:1.35}
.igBanner span{display:flex;flex-direction:column}.igBanner b{font-size:.9em}.igBanner em{font-style:normal;font-size:.88em}.igBanner strong{font-size:1.15em;letter-spacing:.12em;color:#1f5fc4}
.igBanner.sms{background:#fdfdf6}
/* a check */
.igTask{flex:1;display:flex;flex-direction:column;gap:.6em;padding:.5em .9em 1em;background:#f7f8fb;min-height:0;overflow:auto}
.igTHead{display:flex;align-items:center;gap:.5em;padding-bottom:.4em;border-bottom:1px solid #0001}.igTHead b{font-size:.95em}.igTHead .igIcon{width:1.8em;height:1.8em;font-size:.8em}
.igBackBtn{border:0;background:none;color:#2f6fd6;padding:.3em .2em;font-size:.9em}
.igTip{margin:0;font-size:.82em;opacity:.7}
.igMsg{margin:0;min-height:1.3em;font-size:.85em;text-align:center;color:#3b7a55}.igMsg.bad{color:#c53b32}.igMsg.flash{animation:igFlash .4s}
@keyframes igFlash{from{opacity:0;transform:translateY(-3px)}}
.igMain{margin-top:auto;padding:.8em;border:0;border-radius:.8em;background:#2f6fd6;color:#fff;font-size:1em;font-weight:600}
.igOk{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.4em;color:#2f8a57}.igOk i{display:grid;place-items:center;width:3em;height:3em;border-radius:50%;background:#2f8a57;color:#fff;font-style:normal;font-size:1.6em;animation:igPop .35s}.igOk b{font-size:1.05em}
@keyframes igPop{from{transform:scale(.4);opacity:0}}
/* face */
.igFace{display:flex;flex-direction:column;align-items:center;gap:.5em;margin-top:.4em}
.igRing{--p:0;width:58%;aspect-ratio:1;border-radius:50%;padding:5px;background:conic-gradient(#2f6fd6 calc(var(--p)*360deg),#d7dce6 0);transition:background .3s}
.igSil{width:100%;height:100%;border-radius:50%;background:radial-gradient(circle at 50% 120%,#c9b6a6 0 38%,transparent 39%),radial-gradient(ellipse 30% 36% at 50% 46%,#e8cbb2 98%,transparent),radial-gradient(ellipse 36% 36% at 50% 40%,#5a3e30 98%,transparent),radial-gradient(circle at 50% 9%,#5a3e30 0 9%,transparent 10%),#e9edf3;position:relative;transition:transform .3s}
.igSil i{position:absolute;top:41%;width:6%;height:5%;background:#3a3030;border-radius:50%}.igSil i:first-child{left:41%}.igSil i:nth-child(2){right:41%}
.igSil u{position:absolute;top:58%;left:45%;width:10%;height:2%;background:#a0675a;border-radius:4px;transition:height .2s}
.igSil.blink i{height:1%}.igSil.mouth u{height:6%;border-radius:50%}.igSil.turn{transform:rotateY(25deg) translateX(4%)}
.igPrompt{margin:0;font-size:1.05em;font-weight:600;color:#2f6fd6}
.igMoves{display:grid;grid-template-columns:repeat(3,1fr);gap:.5em;margin-top:auto}
.igMoves button,.igPad button{padding:.75em .2em;border:1px solid #d5dae4;border-radius:.7em;background:#fff;color:#1f2430;font-size:1em}
.igMoves button.glow,.igPhoto.glow{box-shadow:0 0 0 3px #ffcf5a}
/* sms */
.igCode{display:grid;grid-template-columns:repeat(6,1fr);gap:.4em;margin:.6em 0 0}
.igCode i{display:grid;place-items:center;aspect-ratio:.85;border-radius:.5em;background:#fff;border:1px solid #d5dae4;font-style:normal;font-size:1.3em;font-weight:600}.igCode i.cur{border-color:#2f6fd6;box-shadow:0 0 0 2px #2f6fd633}
.igPad{display:grid;grid-template-columns:repeat(3,1fr);gap:.45em;margin-top:auto}.igPad button{font-size:1.15em;padding:.55em}.igPad button.small{font-size:.75em;color:#2f6fd6}
.igLink{border:0;background:none;color:#2f6fd6;font-size:.82em;padding:.2em}
/* id */
.igAlbum{margin:.2em 0 0;font-size:.8em;opacity:.6}
.igPhotos{display:grid;grid-template-columns:1fr 1fr;gap:.5em}
.igPhoto{display:flex;flex-direction:column;align-items:center;gap:.3em;padding:.45em;border:2px solid transparent;border-radius:.7em;background:#fff;color:#1f2430;font-size:.85em}
.igPhoto.sel{border-color:#2f6fd6}.igPhoto.sel::after{content:'✓';position:absolute;margin:.1em 0 0 4.4em;width:1.3em;height:1.3em;border-radius:50%;background:#2f6fd6;color:#fff;font-size:.8em;line-height:1.3em}
.igPhoto{position:relative}.igPhoto.pic{opacity:.55}
.igCardImg{position:relative;width:100%;aspect-ratio:1.58;border-radius:.4em;background:linear-gradient(135deg,#e3eef8,#cfe0ef);overflow:hidden}
.igPhoto.old .igCardImg{filter:sepia(.35) saturate(.7) brightness(.97)}
.igCardImg i{position:absolute;right:8%;top:16%;width:26%;height:60%;border-radius:.3em;background:radial-gradient(ellipse 34% 30% at 50% 40%,#d9b79c 97%,transparent),radial-gradient(circle at 50% 120%,#7b8aa0 0 45%,transparent 46%),#f4f6f9}
.igCardImg u{position:absolute;left:8%;height:7%;border-radius:2px;background:#9fb0c4;filter:blur(1.2px)}.igCardImg u:nth-of-type(1){top:22%;width:40%}.igCardImg u:nth-of-type(2){top:42%;width:52%}.igCardImg u:nth-of-type(3){top:62%;width:34%}
.igSnap{display:block;width:100%;aspect-ratio:1.58;border-radius:.4em;background:linear-gradient(#9cc6e8,#e9d6b0 60%,#7aa36b)}.igSnap.b{background:linear-gradient(#f2d1a6,#c97f55 55%,#5b4a42)}
/* terms */
.igTerms{flex:1;min-height:6em;overflow:auto;padding:.6em .8em;border:1px solid #d5dae4;border-radius:.6em;background:#fff;font-size:.78em;line-height:1.55}
.igTerms h4{margin:.6em 0 .2em;font-size:1em}.igTerms p{margin:0 0 .6em;opacity:.8}.igEndMark{text-align:center;opacity:.5!important}
.igTerms.nudge{animation:igBuzz .3s}.igTerms.read{border-color:#7fb894}
.igCheck{display:flex;align-items:center;gap:.4em;font-size:.85em}.igCheck input{width:1.1em;height:1.1em}
/* cards and lines */
.igCard{position:absolute;inset:0;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.9em;padding:12%;background:#10131bd9;color:#f3f0e8;text-align:center;line-height:1.65;font-size:1.05em}
.igCard p{margin:0}.igCard .igHelp{font-size:.85em;opacity:.8}.igCard.end{background:#10131bd9}.igEndCount{font-size:1.1em;letter-spacing:.05em}
.igSay{margin:0;padding:7px 14px;border-radius:12px;background:#fff8e8f0;color:#3a2f2a;font-size:15px;max-width:min(90vw,520px);text-align:center;position:absolute!important;bottom:7%;left:50%;transform:translateX(-50%);z-index:5!important}
.igHint{margin:0;font-size:12px;opacity:.65;text-align:center}
@media (max-width:700px){.idGame{padding:8px;gap:6px}.idGame h2{font-size:16px}.idGame header button{min-height:34px;padding:5px 10px;font-size:12px}.igPhone{--h:min(calc(100dvh - 96px),760px);border-width:6px}.igHint{display:none}.igSay{font-size:13px;bottom:3%}}
.igFaceImg{display:none;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%;transition:filter .3s}
.igSil.art{background:#dfe4ec;transform:none!important}.igSil.art i,.igSil.art u{display:none}.igSil.art .igFaceImg{display:block}.igRing:has(.igSil.art){width:72%}

/* 2026-11-21 · the agreement: scroll all the way down before the checkbox unlocks */
.igTerms{position:relative;scroll-behavior:auto}
.igTerms p{text-align:justify}
.igReadBar{position:relative;height:1.35em;border-radius:1em;background:#eef1f6;overflow:hidden;font-size:.72em}
.igReadBar i{position:absolute;left:0;top:0;bottom:0;width:0;background:linear-gradient(90deg,#9cc8ff,#4b8bf0);transition:width .12s linear}
.igReadBar span{position:relative;display:block;text-align:center;line-height:1.35em;color:#33405a;font-weight:700}
.igScrollHint{margin:0;text-align:center;font-size:.75em;color:#4b6fb0;animation:igHint 1.4s ease-in-out infinite}
@keyframes igHint{50%{transform:translateY(3px);opacity:.55}}
.igCheck.locked{opacity:.4;filter:grayscale(1)}
.igCheck.locked span::before{content:'🔒 ';}
.igCheck.unlocked{animation:igUnlock .5s ease}
@keyframes igUnlock{0%{transform:scale(.96);opacity:.4}60%{transform:scale(1.04)}100%{transform:none;opacity:1}}
