/* Instagram Profile Auditor: same look as the other tools (Virginia's v13 colours and fonts). */

/* Login screen: a model profile as the picture, the login next to it. */
.pa-login { max-width: 1040px; margin: 0 auto; padding: 56px 24px 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pa-login[hidden] { display: none; }
.pa-phone { position: relative; background: white; border: 10px solid var(--dark); border-radius: 36px; padding: 28px 22px 30px; max-width: 360px; margin: 0 auto; box-shadow: 0 18px 40px rgba(51,10,10,0.18); }
.pa-top { display: flex; align-items: center; gap: 20px; margin-bottom: 14px; }
.pa-avatar { width: 74px; height: 74px; border-radius: 50%; flex-shrink: 0; background: radial-gradient(circle at 50% 38%, var(--peach) 0 24%, var(--fire) 25% 100%); box-shadow: 0 0 0 3px white, 0 0 0 5px var(--fire); }
.pa-stats { display: flex; gap: 18px; font-size: 14px; }
.pa-name { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.pa-bio { font-size: 13px; line-height: 1.5; color: var(--dark); margin-bottom: 4px; }
.pa-link { font-size: 13px; font-weight: 600; color: #2a5db0; margin-bottom: 16px; }
.pa-highlights { display: flex; gap: 12px; }
.pa-highlights span { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; }
.pa-highlights span::before { content: ""; width: 48px; height: 48px; border-radius: 50%; background: var(--cream); border: 2px solid var(--peach); }
.pa-check { position: absolute; right: -18px; bottom: 22px; background: var(--fire); color: white; font-weight: 700; font-size: 13px; padding: 8px 14px; border-radius: 20px; transform: rotate(-4deg); box-shadow: 0 6px 16px rgba(0,0,0,0.18); }
.pa-login .login-box { max-width: none; }
@media (max-width: 820px) { .pa-login { grid-template-columns: 1fr; gap: 28px; padding: 24px 16px 48px; } .pa-check { right: 0; } }

/* Tool page */
.pa-hero { background: var(--dark); color: white; text-align: center; padding: 48px 24px 56px; }
.pa-hero h1 { font-size: 34px; color: var(--peach); max-width: 680px; margin: 0 auto 12px; }
.pa-hero p { font-size: 14.5px; color: rgba(255,255,255,0.8); line-height: 1.6; max-width: 620px; margin: 0 auto; }
.pa-eyebrow { font-family: "Lato", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fire) !important; margin-bottom: 12px !important; }

.pa-wrap { max-width: 860px; margin: -28px auto 0; padding: 0 24px 64px; }
.pa-card { background: white; border: 1.5px solid var(--cream); border-radius: 12px; padding: 28px 32px 32px; }
.pa-card .label { margin-top: 22px; }
.pa-card .label:first-child { margin-top: 0; }
.pa-card .brief { margin-top: 22px; }
.pa-card .brief .label { margin-top: 0; }
.hint { font-size: 12.5px; color: var(--mid); line-height: 1.55; margin: -2px 0 12px; }
.optional { font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 11px; }
.pa-card textarea { height: 80px; }

.shots { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.shots:empty { display: none; }
.shot { position: relative; width: 120px; }
.shot img { width: 120px; height: 200px; object-fit: cover; object-position: top; border-radius: 10px; border: 1.5px solid var(--cream); display: block; }
.shot button { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; border: none; background: var(--dark); color: white; font-size: 16px; line-height: 1; cursor: pointer; }
.add-shot { padding: 11px 20px; font-size: 13px; }

.pa-go { margin-top: 28px; }
.usage { font-size: 12.5px; color: var(--mid); margin-top: 12px; }
.fine { font-size: 11.5px; color: var(--mid); margin-top: 6px; }
.error-banner { margin: 20px 0 0; }
.loading { text-align: center; padding: 40px 0 8px; }
.loading p { font-size: 14px; color: var(--mid); }
.loading .slow { font-size: 12px; margin-top: 6px; opacity: 0.8; }

/* Results */
[data-results] { margin-top: 32px; }
.score-box { display: flex; gap: 28px; align-items: center; background: var(--dark); color: white; border-radius: 12px; padding: 28px 32px; }
.score-num { font-family: "DM Serif Display", Georgia, serif; font-size: 22px; color: rgba(255,255,255,0.6); white-space: nowrap; }
.score-num span { font-size: 64px; color: var(--peach); line-height: 1; }
.score-label { font-family: "DM Serif Display", Georgia, serif; font-size: 22px; color: var(--peach); margin-bottom: 6px; }
.score-summary { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.85); margin-bottom: 12px; }
.checks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; padding: 5px 12px; border-radius: 20px; background: rgba(255,255,255,0.1); }
.check span { font-weight: 900; }
.check.yes span { color: var(--green); }
.check.partly span { color: var(--score-mid); }
.check.no span { color: #ff8a78; }

.top-fixes { background: linear-gradient(135deg, var(--fire) 0%, var(--deep-fire) 100%); color: white; border-radius: 12px; padding: 24px 30px; margin-top: 18px; }
.top-fixes h2 { font-family: "DM Serif Display", Georgia, serif; font-weight: normal; font-size: 20px; margin-bottom: 12px; }
.top-fixes ol { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.55; }

.pa-section { font-family: "DM Serif Display", Georgia, serif; font-weight: normal; font-size: 22px; margin: 34px 0 6px; }
.pa-sub { font-size: 13px; color: var(--mid); margin-bottom: 12px; }
.el-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.el-grid .el-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.el-card { background: white; border: 1.5px solid var(--cream); border-radius: 10px; padding: 18px 20px; }
.el-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.el-head h3 { font-size: 14px; font-weight: 700; }
.el-score { font-size: 13px; font-weight: 700; }
.el-bar { height: 6px; background: var(--cream); border-radius: 10px; overflow: hidden; margin-bottom: 12px; }
.el-bar span { display: block; height: 100%; border-radius: 10px; }
.el-bar .good { background: var(--green); } .el-bar .mid { background: var(--score-mid); } .el-bar .low { background: var(--deep-fire); }
.el-points { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.el-points li { font-size: 13px; line-height: 1.5; padding-left: 20px; position: relative; }
.el-points li::before { position: absolute; left: 0; font-weight: 900; }
.el-points li.works::before { content: "✓"; color: var(--green); }
.el-points li.fix { color: var(--mid); }
.el-points li.fix::before { content: "→"; color: var(--fire); }
.el-try { font-size: 13px; line-height: 1.55; background: #FFF2EE; border-radius: 8px; padding: 10px 12px; margin-top: 6px; }
.el-try strong { color: var(--fire); }

.options { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.option { background: var(--sand); border: 1.5px solid var(--cream); border-radius: 10px; padding: 14px 16px; }
.option p { font-size: 15px; line-height: 1.5; white-space: pre-wrap; }
.option p.name { font-weight: 700; }
.option-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 12px; color: var(--mid); }
.option-foot .over { color: var(--deep-fire); font-weight: 700; }
.copy-btn { background: white; border: 1.5px solid var(--peach); border-radius: 20px; padding: 5px 14px; font: inherit; font-size: 12px; font-weight: 600; color: var(--dark); cursor: pointer; }
.copy-btn:hover { border-color: var(--fire); color: var(--fire); }
.hl-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
.hl-row span { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; max-width: 76px; text-align: center; }
.hl-row i { width: 60px; height: 60px; border-radius: 50%; background: var(--cream); border: 2px solid var(--peach); }
.again { text-align: center; margin-top: 32px; }

@media (max-width: 640px) {
  .pa-hero { padding: 32px 16px 48px; }
  .pa-hero h1 { font-size: 26px; }
  .pa-wrap { padding: 0 12px 48px; }
  .pa-card { padding: 22px 16px 24px; }
  .score-box { flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 20px; }
  .el-grid { grid-template-columns: 1fr; }
  .top-fixes { padding: 20px; }
}
