/* TCG Stockpile: the install guide · Shannon Cain */
.get-app { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; border: 0; cursor: pointer; font: inherit;
  font-weight: 800; font-size: 13.5px; color: #16204a; background: #ffcb05; box-shadow: 0 6px 14px -6px rgba(255,203,5,.7); white-space: nowrap; }
.get-app svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.is-app .get-app, .is-app [data-install-panel] { display: none !important; }
.get-app { padding: 0 clamp(9px, 1.5vw, 12px); font-size: clamp(12.5px, .4vw + 11px, 13.5px); }
@media (max-width: 330px) { .get-app svg { display: none; } }
.ins-dialog { border: 0; border-radius: 26px; padding: 22px; width: min(620px, calc(100vw - 20px)); max-height: calc(100dvh - 30px); overflow: auto;
  background: #fff; color: #16204a; box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); }
.ins-dialog::backdrop { background: rgba(10,16,40,.66); backdrop-filter: blur(4px); }
.ins-head { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; }
.ins-head h2 { margin: 2px 0 6px; font-size: clamp(22px, 4vw, 28px); line-height: 1.1; }
.ins-head p { margin: 0; color: #4a5470; font-size: 15px; }
.ins-kicker { font-size: 12px !important; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; color: #d71f24 !important; }
.ins-x { align-self: start; width: 38px; height: 38px; border-radius: 12px; border: 0; background: #f4f7fe; font-size: 24px; cursor: pointer; color: #16204a; }
.ins-phone { width: 92px; height: 176px; border-radius: 20px; padding: 6px; background: #10173a; box-shadow: 0 20px 30px -16px rgba(0,0,0,.6); }
.ins-screen { position: relative; height: 100%; border-radius: 15px; padding: 18px 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; align-content: start;
  background: linear-gradient(160deg, #3a7fd0, #1c2e6b); overflow: hidden; }
.ins-screen i { aspect-ratio: 1; border-radius: 6px; background: rgba(255,255,255,.22); }
.ins-icon { display: grid; justify-items: center; gap: 2px; animation: ins-pop 3.2s cubic-bezier(.3,1.5,.5,1) infinite; }
.ins-icon img { width: 100%; border-radius: 6px; box-shadow: 0 4px 8px rgba(0,0,0,.4); }
.ins-icon em { font-style: normal; font-size: 7px; color: #fff; font-weight: 700; }
@keyframes ins-pop { 0%, 12% { transform: scale(0) translateY(-20px); opacity: 0; } 30%, 70% { transform: none; opacity: 1; } 76% { transform: scale(.85); } 82%, 100% { transform: none; opacity: 1; } }
@media (max-width: 520px) { .ins-head { grid-template-columns: 1fr auto; } .ins-phone { display: none; } }
.ins-quick { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 18px; padding: 14px; border-radius: 16px; background: #fff7d1; }
.ins-quick span { font-size: 14px; color: #4a5470; }
.ins-done { margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: #e3f6ec; color: #1c6b43; font-size: 15px; }
.ins-tabs { display: flex; gap: 6px; margin: 18px 0 10px; padding: 5px; border-radius: 14px; background: #f4f7fe; }
.ins-tabs button { flex: 1; min-height: 40px; border: 0; border-radius: 10px; background: none; font: inherit; font-weight: 800; font-size: 14px; color: #4a5470; cursor: pointer; }
.ins-tabs button[aria-selected="true"] { background: #fff; color: #16204a; box-shadow: 0 2px 8px rgba(22,32,74,.12); }
.ins-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ins-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; font-size: 15px; line-height: 1.45; }
.ins-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #d71f24; color: #fff; font-weight: 900; font-size: 14px; }
.ins-glyph { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: #f4f7fe; vertical-align: -6px; }
.ins-glyph svg { width: 16px; height: 16px; fill: none; stroke: #2a75bb; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ins-glyph circle { fill: #2a75bb; stroke: none; }
.ins-qr { display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: center; margin-top: 16px; padding: 14px; border-radius: 16px; background: #f4f7fe; font-size: 14.5px; }
.ins-qr img { border-radius: 10px; background: #fff; }
.ins-note { margin: 14px 0 0; font-size: 13.5px; color: #6b7391; }

/* the guide, tailored to the device and browser */
.ins-dialog { width: min(640px, calc(100vw - 16px)); padding: clamp(16px, 4vw, 24px); }
.ins-for { margin: 18px 0 8px; font-size: 15px; color: #4a5470; }
.ins-you { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: #e3f6ec; color: #1c6b43; font-size: 12px; font-weight: 800; vertical-align: 1px; }
.ins-picks, .ins-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.ins-picks button, .ins-tabs button { min-height: 36px; padding: 0 14px; border: 0; border-radius: 99px; background: #f4f7fe; font: inherit; font-weight: 800; font-size: 13.5px; color: #4a5470; cursor: pointer; box-shadow: inset 0 0 0 1px #d3d9e8; }
.ins-picks button[aria-pressed="true"], .ins-tabs button[aria-pressed="true"] { background: #16204a; color: #fff; box-shadow: none; }
.ins-tabs { margin: 10px 0 0; } .ins-dialog .ins-tabs { background: none; padding: 0; }
.ins-steps li { grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; padding: 10px; border-radius: 16px; background: #f8faff; }
.ins-txt { min-width: 0; }
.ins-art { width: clamp(96px, 26vw, 132px); }
@media (max-width: 420px) { .ins-steps li { grid-template-columns: 30px minmax(0, 1fr); } .ins-art { grid-column: 2; width: min(170px, 100%); } }
.art { position: relative; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px #d3d9e8, 0 8px 16px -10px rgba(22,32,74,.4); overflow: hidden; font-size: 9.5px; color: #16204a; }
.art svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; } .art circle { fill: currentColor; stroke: none; }
.art-phone { height: 96px; display: flex; flex-direction: column; }
.art-page { flex: 1; background: linear-gradient(160deg, #3a7fd0, #1c2e6b); }
.art-bar, .art-top { display: flex; align-items: center; justify-content: space-around; gap: 4px; height: 26px; padding: 0 6px; background: #f4f6fa; }
.art-bar i, .art-top i { width: 10px; height: 10px; border-radius: 3px; background: #c9d0e0; }
.art-url { flex: 1; height: 15px; border-radius: 6px; background: #e3e7ef; font-size: 8px; line-height: 15px; text-align: center; color: #6b7391; overflow: hidden; white-space: nowrap; }
.art .hot { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #2a75bb; background: #fff; animation: hot 1.4s ease-in-out infinite; }
.art .hot.txt { width: auto; height: auto; padding: 1px 7px; border-radius: 6px; font-weight: 800; }
@keyframes hot { 0%, 100% { box-shadow: 0 0 0 0 rgba(215,31,36,.55); } 50% { box-shadow: 0 0 0 6px rgba(215,31,36,0); } }
.art-sheet { padding: 4px; display: grid; gap: 2px; background: #eef1f7; }
.art-sheet .ar { min-height: 0; line-height: 1.2; display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 5px 6px; border-radius: 6px; background: #fff; font-weight: 650; white-space: nowrap; overflow: hidden; }
.art-sheet .ar-hot { background: #fff1c2; box-shadow: inset 0 0 0 1.5px #d71f24; animation: hot 1.4s ease-in-out infinite; }
.art-sheet .ar-hot b { display: inline-grid; color: #16204a; }
.art-sheet .ar-top { background: none; font-size: 8.5px; }
.art-sheet .ar-app { justify-content: flex-start; } .art-sheet .ar-app img { width: 22px; border-radius: 5px; } .art-sheet small { color: #6b7391; font-weight: 600; }
.ar-tog { flex: none; width: 18px; height: 10px; border-radius: 99px; background: #1c9a57; position: relative; } .ar-tog::after { content: ""; position: absolute; right: 1px; top: 1px; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.art-desk { height: 80px; display: flex; flex-direction: column; } .art-desk .art-top { justify-content: flex-start; }
.art-home { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 10px; background: linear-gradient(160deg, #3a7fd0, #1c2e6b); }
.art-home i { aspect-ratio: 1; border-radius: 6px; background: rgba(255,255,255,.25); }
.art-home .ic { display: grid; justify-items: center; animation: ins-pop 3.2s cubic-bezier(.3,1.5,.5,1) infinite; } .art-home .ic { min-width: 0; } .art-home .ic img { width: 100%; max-width: 100%; aspect-ratio: 1; display: block; border-radius: 6px; } .art-home small { font-size: 6.5px; color: #fff; }
.ins-copy { display: flex; gap: 8px; margin-top: 12px; } .ins-copy .input { flex: 1; min-width: 0; height: 40px; font-size: 14px; }
.ins-copy .btn { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; } .ins-copy svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.ins-other { margin-top: 14px; } .ins-other summary { cursor: pointer; font-weight: 800; color: #2a75bb; font-size: 14.5px; }
@media (max-width: 400px) { .ins-qr { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

/* the guide on the website, which has its own button and field styles */
.ins-dialog .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 0 16px; border-radius: 12px; border: 0; font: inherit; font-weight: 800; cursor: pointer; }
.ins-dialog .btn.primary { background: #d71f24; color: #fff; }
.ins-dialog .btn.small { min-height: 40px; background: #f4f7fe; color: #16204a; box-shadow: inset 0 0 0 1px #d3d9e8; }
.ins-dialog .input { border: 0; border-radius: 10px; padding: 0 12px; background: #f4f7fe; box-shadow: inset 0 0 0 1px #d3d9e8; font: inherit; color: #16204a; }
.mm-app .mm-phone { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--yellow); color: #16204a; }
.mm-app .mm-phone svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.auth-app { display: flex; margin: 16px auto 0; height: 44px !important; padding: 0 18px !important; font-size: 15px !important; }
.is-app .auth-app { display: none; }
