/* The free Instagram safe zone checker. The page loads landing.css and
   free-tools/tool.css first; this adds the tool (everything under .szc, on the
   landing's tokens) and the page's own blocks (.szc-card, .szc-spec, .szc-prose). */

/* The page: the tool in one card under the hero, then the explainer. */
.szc-card{max-width:1180px;margin:44px auto 0;padding:34px;border:1px solid #e8e8e8;border-radius:30px;background:#fff;box-shadow:0 30px 60px -40px #0a0a0a2e;text-align:left}
.szc-trust{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px;margin-top:18px;font-size:13px;color:#6b6b6b}
.szc-trust span{display:inline-flex;align-items:center;gap:7px}
.szc-trust .icon{width:16px;height:16px;color:#3e9b2c}
.szc-prose{display:grid;gap:16px;max-width:780px;margin-top:32px}
.szc-prose p{font-size:17px;line-height:1.75;color:#3a3a3a}
.szc-prose a{color:var(--blue)}
.szc-scroll{margin-top:44px;overflow-x:auto;border:1px solid #e8e8e8;border-radius:18px;background:#fff}
.szc-spec{width:100%;min-width:680px;border-collapse:collapse;font-size:15px;line-height:1.45;font-variant-numeric:tabular-nums}
.szc-spec caption{caption-side:bottom;padding:12px 18px 14px;border-top:1px solid #ececec;text-align:left;font-size:13px;line-height:1.6;color:#6b6b6b}
.szc-spec th,.szc-spec td{padding:13px 18px;border-bottom:1px solid #ececec;text-align:left;vertical-align:top}
.szc-spec thead th{background:#fbfbfb;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#6b6b6b}
.szc-spec tbody tr:last-child>*{border-bottom:0}
.szc-spec tbody th{font-weight:600}
.szc-spec .szc-kind{display:block;font-size:12.5px;font-weight:500;color:#6b6b6b}
.szc-spec .szc-kind b{font-weight:600;color:#7a5a00}
.szc-note{max-width:780px;margin-top:18px;padding:16px 18px;border-radius:16px;background:#eaf1fd;font-size:15px;line-height:1.65;color:#23406f}
@media(max-width:760px){.szc-card{margin-top:30px;padding:22px 16px;border-radius:24px}.szc-prose p{font-size:16px}}
@media(max-width:520px){.szc-card{padding:18px 12px;margin-inline:-4px}}

.szc{--szc-ink:var(--ink,#0a0a0a);--szc-blue:var(--blue,#3478f5);--szc-green:var(--green,#c0efad);--szc-line:var(--line,#e4e4e4);--szc-soft:#6b6b6b;position:relative;display:grid;grid-template-columns:minmax(250px,350px) minmax(0,1fr);grid-template-areas:"stage tabs" "stage panel";grid-template-rows:auto 1fr;gap:22px 52px;align-items:start}
.szc *{box-sizing:border-box}
.szc [hidden]{display:none!important}

/* Where it will be shown */
.szc-tabs{grid-area:tabs;display:inline-flex;justify-self:start;gap:4px;padding:4px;max-width:100%;overflow-x:auto;background:#eeeeee;border-radius:99px;scrollbar-width:none}
.szc-tabs [role=tab]{flex:none;padding:9px 17px;border-radius:99px;background:none;color:#4d4d4d;font-size:15px;font-weight:600;line-height:1.3;white-space:nowrap}
.szc-tabs [role=tab]:hover{color:var(--szc-ink)}
.szc-tabs [aria-selected=true]{background:#fff;color:var(--szc-ink);box-shadow:0 1px 3px #0000001f}

/* The phone or the post */
/* Sticky inside the stage, which spans both rows: a sticky grid item itself
   would be bounded by the whole grid and slide over the rows below. */
.szc-stage{grid-area:stage;align-self:stretch}
.szc-sticky{position:sticky;top:112px}
.szc-shell{width:min(100%,340px);margin-inline:auto}
.szc-shell[data-placement=reels],.szc-shell[data-placement=stories]{padding:7px;background:#0a0a0a;border-radius:40px;box-shadow:0 22px 50px #00000030}
.szc-shell[data-placement=reels] .szc-frame,.szc-shell[data-placement=stories] .szc-frame{border-radius:33px}
.szc-frame{position:relative;aspect-ratio:var(--szc-ratio,1080 / 1920);overflow:hidden;background:#141821;isolation:isolate}
.szc-sample,.szc-media,.szc-media-el,.szc-overlay{position:absolute;inset:0;width:100%;height:100%;display:block}
.szc-media-el{object-fit:cover}
.szc-overlay{pointer-events:none}
.szc-post-head,.szc-post-foot{display:none}
.szc-shell[data-placement=post],.szc-shell[data-placement=carousel]{background:#fff;border:1px solid var(--szc-line);border-radius:18px;overflow:hidden;box-shadow:0 16px 40px #00000014}
.szc-shell[data-placement=post] .szc-post-head,.szc-shell[data-placement=carousel] .szc-post-head{display:flex;align-items:center;gap:8px;padding:10px 12px;font-size:13px}
.szc-shell[data-placement=post] .szc-post-foot,.szc-shell[data-placement=carousel] .szc-post-foot{position:relative;display:flex;align-items:center;gap:14px;padding:11px 12px 14px}
.szc-dot{width:26px;height:26px;border-radius:50%;background:linear-gradient(135deg,var(--szc-blue),var(--szc-green))}
.szc-more{margin-left:auto;color:#444;letter-spacing:1px}
.szc-post-foot svg{width:22px;height:22px;fill:none;stroke:var(--szc-ink);stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.szc-post-foot .szc-save{margin-left:auto}
.szc-dots{display:none;position:absolute;left:50%;transform:translateX(-50%);gap:4px}
.szc-shell[data-placement=carousel] .szc-dots{display:flex}
.szc-dots i{width:6px;height:6px;border-radius:50%;background:#cfcfcf}
.szc-dots i:first-child{background:var(--szc-blue)}
.szc-drop-hint{position:absolute;inset:0;z-index:2;display:grid;place-items:center;background:#3478f5d9;color:#fff;font-size:18px;font-weight:600;opacity:0;transition:opacity .15s;pointer-events:none}
.szc-dragging .szc-drop-hint{opacity:1}

/* A dropped video */
.szc-videobar{display:flex;align-items:center;gap:10px;width:min(100%,340px);margin:14px auto 0}
.szc-play{min-width:66px;padding:7px 12px;border-radius:99px;background:var(--szc-ink);color:#fff;font-size:13px;font-weight:600}
.szc-videobar input{flex:1;min-width:0;accent-color:var(--szc-blue)}
.szc-time{font-size:12px;color:var(--szc-soft);font-variant-numeric:tabular-nums}

.szc-videobar .szc-moments-go{flex:none;font-size:13px}

/* A dropped video, as a grid of moments */
.szc-moments{grid-column:1/-1;display:grid;gap:16px;padding-top:22px;border-top:1px solid var(--szc-line)}
.szc-moments-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 18px}
.szc-moments-head h2{margin:0;font-family:var(--font);font-weight:700;line-height:1.25;font-size:18px;letter-spacing:-.02em}
.szc-moments-head p{margin:0;flex:1 1 260px;font-size:14px;color:var(--szc-soft)}
.szc-moments-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:12px;margin:0;padding:0;list-style:none}
.szc-moments-grid button{display:grid;gap:6px;width:100%;padding:0;background:none;text-align:left}
.szc-moments-grid canvas{width:100%;height:auto;border-radius:10px;background:#141821}
.szc-moments-grid button:hover canvas{outline:2px solid var(--szc-blue);outline-offset:2px}
.szc-moments-grid span{font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;color:var(--szc-soft)}

/* The text check */
.szc-textcheck{display:grid;gap:10px;padding:16px 18px;border:1px solid var(--szc-line);border-radius:18px;background:#fbfbfb}
.szc-textcheck h2{margin:0;font-family:var(--font);line-height:1.25;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--szc-soft)}
.szc-check-summary{margin:0;font-size:16px;font-weight:600;line-height:1.4}
.szc-check-list{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.szc-check-list:empty{display:none}
.szc-check-list li{display:grid;grid-template-columns:22px auto minmax(0,1fr);align-items:center;gap:10px;font-size:14px;line-height:1.45}
.szc-n{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:#ff3b30;color:#fff;font-size:12px;font-weight:700}
.szc-check-list .szc-ok .szc-n{background:#49d16b;color:#0a0a0a}
.szc-check-list canvas{display:block;width:auto;height:auto;max-width:170px;max-height:30px;border-radius:6px;background:#141821}
.szc-check-list .szc-bad b{color:#c4291c}
.szc-check-note{margin:0;font-size:12.5px;line-height:1.55;color:var(--szc-soft)}
.szc-moments-grid .szc-bad span{color:#c4291c}
.szc-moments-grid .szc-bad canvas{outline:3px solid #ff3b30;outline-offset:-3px}

/* The controls */
.szc-panel{grid-area:panel;display:grid;gap:20px;min-width:0}
.szc-drop{position:relative;display:flex;align-items:center;gap:15px;padding:17px 19px;border:1.5px dashed #c6d3ea;border-radius:18px;background:#f4f8ff;cursor:pointer;transition:border-color .2s,background .2s}
.szc-drop:hover,.szc-dragging .szc-drop{border-color:var(--szc-blue);background:#ecf3ff}
.szc-drop:focus-within{outline:3px solid var(--szc-blue);outline-offset:4px}
.szc-drop svg{flex:none;width:30px;height:30px;fill:none;stroke:var(--szc-blue);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.szc-drop span{font-size:14px;line-height:1.5;color:#555}
.szc-drop strong{display:block;margin-bottom:2px;font-size:16px;color:var(--szc-ink)}
.szc-hide{position:absolute;width:1px;height:1px;margin:0;padding:0;opacity:0;overflow:hidden;clip-path:inset(50%)}
.szc-fileinfo{margin:-10px 0 0;font-size:13px;line-height:1.5;color:var(--szc-soft)}
.szc-link{padding:0;background:none;color:var(--szc-ink);font-size:14px;font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.szc-link:hover{color:#2465d6}
.szc-link:disabled{color:var(--szc-soft);text-decoration:none;cursor:progress}
.szc-fileinfo .szc-link{font-size:13px;margin-left:4px}

.szc-controls{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px 24px}
.szc-seg{min-width:0;margin:0;padding:0;border:0}
.szc-seg legend,.szc-shape label,.szc-range>span{display:block;margin-bottom:7px;padding:0;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--szc-soft)}
.szc-opts{display:inline-flex;padding:3px;border-radius:12px;background:#eeeeee}
.szc-opts label{position:relative;display:block}
.szc-opts input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.szc-opts span{display:block;padding:7px 13px;border-radius:9px;color:#555;font-size:14px;font-weight:600;line-height:1.3}
.szc-opts input:checked+span{background:#fff;color:var(--szc-ink);box-shadow:0 1px 2px #00000024}
.szc-opts input:focus-visible+span{outline:2px solid var(--szc-blue);outline-offset:1px}
.szc-shape select{padding:7px 10px;border:1px solid var(--szc-line);border-radius:10px;background:#fff;color:var(--szc-ink);font:inherit;font-size:14px}
.szc-check{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500;cursor:pointer}
.szc-check input,.szc-range input{accent-color:var(--szc-blue)}
.szc-check input{width:17px;height:17px;margin:0}
.szc-range input{width:150px;margin:0}

/* The numbers */
.szc-readout{width:100%;border-collapse:collapse;font-size:14px;line-height:1.45}
.szc-readout caption{padding-bottom:8px;text-align:left;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--szc-soft)}
.szc-readout th,.szc-readout td{padding:9px 12px 9px 0;border-bottom:1px solid var(--szc-line);text-align:left;vertical-align:top}
.szc-readout thead th{padding-top:0;font-size:12px;font-weight:600;color:var(--szc-soft)}
.szc-prelim{display:inline-block;margin-left:8px;padding:2px 8px;border-radius:99px;background:#fff1c2;color:#6b5200;font-size:10.5px;letter-spacing:.06em;vertical-align:1px}
.szc-readout tbody th{font-weight:600}
.szc-readout td:last-child{color:var(--szc-soft);white-space:nowrap}
.szc-readout .szc-safe-row>*{border-bottom:0;padding-top:11px}
.szc-readout .szc-safe-row th{position:relative;padding-left:20px}
.szc-readout .szc-safe-row th::before{content:"";position:absolute;left:0;top:15px;width:12px;height:12px;border:2px dashed #5fbf47;border-radius:3px}
.szc-readout .szc-safe-row td{color:var(--szc-ink);white-space:normal}
.szc-source{margin:-12px 0 0;font-size:12.5px;line-height:1.6;color:var(--szc-soft)}

.szc-downloads{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px}
.szc-downloads .button{min-height:46px}
.szc-status{min-height:1.4em;margin:-10px 0 0;font-size:13px;color:#2f7d32}

@media(max-width:880px){
  .szc{grid-template-columns:minmax(0,1fr);grid-template-areas:"tabs" "stage" "panel";gap:22px}
  .szc-tabs{justify-self:center}
  .szc-sticky{position:static}
}
@media(max-width:520px){
  .szc-tabs{justify-self:stretch}
  .szc-tabs [role=tab]{flex:1;padding:9px 10px;font-size:13.5px}
  .szc-shell{width:min(100%,290px)}
  .szc-shell[data-placement=post],.szc-shell[data-placement=carousel]{width:100%}
  .szc-controls{gap:14px 18px}
  .szc-readout{font-size:13px}
  .szc-readout tr:not(.szc-safe-row)>td:nth-child(2),.szc-readout thead th:nth-child(2){display:none}
  .szc-downloads .button{width:100%}
  .szc-check-list li{grid-template-columns:22px minmax(0,1fr);align-items:start;row-gap:6px}
  .szc-check-list li>span:last-child{grid-column:2}
}
@media(prefers-reduced-motion:reduce){.szc-drop,.szc-drop-hint{transition:none}}
