/* صفحه‌های عمومی سایت تیک (بلاگ و راهنماها) — هم‌رنگ لندینگ */
:root {
    --brand: #AC00AC;
    --brand-dark: #7c0086;
    --brand-deep: #3d0044;
    --brand-soft: #fbf2fb;
    --ink: #241028;
    --ink-2: #5c4a63;
    --ink-3: #8a7a90;
    --bg: #fdfbfe;
    --card: #ffffff;
    --line: #f0e4f2;
    --green: #059669;
    --radius: 20px;
    --shadow-sm: 0 2px 10px rgba(61, 0, 68, .06);
    --shadow-md: 0 12px 40px rgba(61, 0, 68, .10);
    --shadow-lg: 0 24px 70px rgba(61, 0, 68, .16);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Vazirmatn', Tahoma, sans-serif; background: var(--bg); color: var(--ink);
    line-height: 1.9; overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border-radius: 14px; font-size: 15.5px; font-weight: 700; border: 0;
    cursor: pointer; font-family: inherit; transition: .25s; line-height: 1.6;
}
.btn-brand { background: linear-gradient(135deg, #c81ec8, var(--brand-dark)); color: #fff; box-shadow: 0 10px 26px rgba(172, 0, 172, .3); }
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(172, 0, 172, .42); }
.btn-light { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--brand); border: 1.5px solid #e6c9ea; }
.btn-outline:hover { background: var(--brand-soft); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }

/* ---------- Header ---------- */
header.s-head {
    position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
header.s-head .inner { display: flex; align-items: center; gap: 22px; height: 68px; }
.s-logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 21px; color: var(--brand); flex: none; }
.s-logo img { width: 38px; height: 38px; border-radius: 11px; }
nav.s-nav { display: flex; gap: 22px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); margin-inline-start: 8px; }
nav.s-nav a { transition: .2s; padding: 4px 0; border-bottom: 2px solid transparent; }
nav.s-nav a:hover { color: var(--brand); }
nav.s-nav a.on { color: var(--brand); border-color: var(--brand); }
.s-head .grow { flex: 1; }
.s-head .btn { padding: 9px 18px; font-size: 14px; }
.s-login { font-size: 14px; font-weight: 700; color: var(--brand); padding: 8px 14px; border-radius: 100px; background: var(--brand-soft); border: 1px solid var(--line); }
.s-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.s-toggle span { display: block; width: 24px; height: 2.6px; border-radius: 3px; background: var(--brand); margin: 5px 0; transition: .3s; }
@media (max-width: 980px) {
    nav.s-nav {
        position: fixed; inset-inline: 0; top: 68px; flex-direction: column; gap: 0; margin: 0;
        background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
        padding: 8px 20px 16px; transform: translateY(-120%); transition: .3s; z-index: 40;
    }
    nav.s-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
    nav.s-nav a.on { border-color: var(--line); }
    nav.s-nav.open { transform: translateY(0); }
    .s-toggle { display: block; }
    .s-head .s-cta { display: none; }
}
@media (max-width: 420px) { .s-login { display: none; } }

/* ---------- Page hero ---------- */
.s-hero {
    position: relative; color: #fff; padding: 54px 0 70px; overflow: hidden;
    background:
        radial-gradient(700px 380px at 85% -20%, rgba(255, 90, 255, .28), transparent 60%),
        radial-gradient(600px 400px at 0% 120%, rgba(120, 40, 220, .35), transparent 60%),
        linear-gradient(160deg, #3d0044 0%, #6a0073 55%, #8f0096 100%);
}
.s-hero::after { content: ''; position: absolute; inset-inline: 0; bottom: -2px; height: 46px; background: var(--bg); clip-path: ellipse(75% 100% at 50% 100%); }
.s-hero .inner { position: relative; z-index: 2; }
.s-hero h1 { font-size: 34px; font-weight: 900; line-height: 1.5; }
.s-hero p { margin-top: 12px; font-size: 16.5px; color: rgba(255,255,255,.88); max-width: 720px; }
.s-hero .eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); padding: 5px 14px;
    border-radius: 100px; margin-bottom: 14px;
}
@media (max-width: 640px) { .s-hero { padding: 36px 0 58px; } .s-hero h1 { font-size: 25px; } .s-hero p { font-size: 15px; } }

/* ---------- Breadcrumb ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { opacity: .5; }
.s-hero .crumbs { color: rgba(255,255,255,.7); }
.s-hero .crumbs a:hover { color: #fff; }

/* ---------- Category chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
    display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700;
    padding: 6px 15px; border-radius: 100px; background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25); color: #fff; transition: .2s;
}
.chip small { font-weight: 600; opacity: .75; }
.chip:hover { background: rgba(255,255,255,.22); }
.chip.on { background: #fff; color: var(--brand); border-color: #fff; }
.cat-tag {
    display: inline-block; font-size: 12px; font-weight: 800; color: var(--brand);
    background: var(--brand-soft); border: 1px solid var(--line); padding: 2px 11px; border-radius: 100px;
}

/* ---------- Cover (image or generated) ---------- */
.cover { position: relative; display: block; aspect-ratio: 1200 / 630; overflow: hidden; border-radius: 16px; background: #2a0a33; }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gcover {
    position: absolute; inset: 0; color: #fff; display: flex; flex-direction: column; justify-content: center;
    padding: 7% 8%; overflow: hidden;
}
.gcover::before {
    content: ''; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; inset-inline-start: -18%; top: -40%;
    background: radial-gradient(circle, rgba(255,255,255,.22), transparent 65%);
}
.gcover::after {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.13) 1.2px, transparent 1.2px); background-size: 22px 22px;
    mask-image: linear-gradient(to left, #000, transparent 70%); -webkit-mask-image: linear-gradient(to left, #000, transparent 70%);
}
.gcover .ic {
    position: absolute; inset-inline-end: 7%; top: 50%; transform: translateY(-50%); width: 30%; aspect-ratio: 1;
    border-radius: 28%; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
    display: grid; place-items: center; z-index: 1; box-shadow: 0 20px 50px rgba(0,0,0,.18);
}
.gcover .ic svg { width: 54%; height: 54%; }
.gcover .t { position: relative; z-index: 2; font-weight: 900; font-size: clamp(15px, 3.1vw, 30px); line-height: 1.5; max-width: 58%; text-shadow: 0 2px 12px rgba(0,0,0,.18); }
.gcover .brand { position: absolute; z-index: 2; inset-inline-start: 8%; bottom: 8%; display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; opacity: .92; }
.gcover .brand img { width: 22px; height: 22px; border-radius: 6px; background: #fff; padding: 2px; }
.card .gcover .t { font-size: clamp(14px, 1.9vw, 21px); }

/* ---------- Blog grid ---------- */
.blog-wrap { padding: 34px 0 30px; }
.featured {
    display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: center; background: var(--card);
    border: 1px solid var(--line); border-radius: 24px; padding: 18px; box-shadow: var(--shadow-sm); margin-bottom: 34px; transition: .25s;
}
.featured:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.featured .body { padding: 6px 8px 6px 12px; }
.featured h2 { font-size: 25px; font-weight: 900; line-height: 1.6; margin: 10px 0; }
.featured p { color: var(--ink-2); font-size: 15px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--ink-3); margin-top: 12px; }
.post-meta span { display: inline-flex; align-items: center; gap: 5px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
    display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 20px;
    overflow: hidden; box-shadow: var(--shadow-sm); transition: .25s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card .cover { border-radius: 0; }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 17px; font-weight: 800; line-height: 1.7; margin: 8px 0 6px; }
.card p { font-size: 14px; color: var(--ink-2); line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .post-meta { margin-top: auto; padding-top: 12px; }
.empty { text-align: center; padding: 60px 20px; color: var(--ink-2); }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } .featured { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } .featured h2 { font-size: 20px; } }

/* pagination (Laravel bootstrap-5 markup) */
.pager { margin-top: 34px; display: flex; justify-content: center; }
.pager nav > div:first-child { display: none; }
.pager .pagination { display: flex; gap: 6px; list-style: none; flex-wrap: wrap; justify-content: center; }
.pager .page-link { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; }
.pager .active .page-link { background: var(--brand); color: #fff; border-color: var(--brand); }
.pager .disabled .page-link { opacity: .45; }
.pager p { display: none; }

/* ---------- Article ---------- */
.post-head { padding: 34px 0 10px; }
.post-head h1 { font-size: 34px; font-weight: 900; line-height: 1.55; margin: 12px 0 10px; }
.post-head .lead { font-size: 17px; color: var(--ink-2); max-width: 820px; }
.post-cover { margin: 22px 0 6px; box-shadow: var(--shadow-md); border-radius: 22px; max-width: 860px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 44px; padding: 24px 0 20px; align-items: start; }
.post-side { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 18px; }
.side-box { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.side-box h4 { font-size: 14.5px; font-weight: 800; margin-bottom: 8px; }
.toc { list-style: none; display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
.toc a { display: block; padding: 5px 10px; border-radius: 10px; color: var(--ink-2); border-inline-start: 2px solid var(--line); transition: .15s; }
.toc a:hover, .toc a.on { color: var(--brand); background: var(--brand-soft); border-color: var(--brand); }
.side-cta { background: linear-gradient(150deg, #3d0044, #8f0096); color: #fff; border: 0; }
.side-cta p { font-size: 13.5px; color: rgba(255,255,255,.85); margin-bottom: 12px; }
.side-cta .btn { width: 100%; padding: 10px; font-size: 14px; }
@media (max-width: 1020px) { .post-layout { grid-template-columns: 1fr; } .post-side { position: static; } .post-side .toc-box { display: none; } }
@media (max-width: 640px) { .post-head h1 { font-size: 24px; } .post-head .lead { font-size: 15.5px; } }

.prose { font-size: 17px; line-height: 2.15; color: #2c1a31; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: 25px; font-weight: 900; line-height: 1.6; margin-top: 1.9em; color: var(--ink); scroll-margin-top: 90px; }
.prose h2::before { content: ''; display: inline-block; width: 8px; height: 22px; border-radius: 4px; background: linear-gradient(var(--brand), #7a2bbd); margin-inline-end: 10px; vertical-align: -3px; }
.prose h3 { font-size: 19.5px; font-weight: 800; line-height: 1.7; margin-top: 1.5em; color: var(--ink); scroll-margin-top: 90px; }
.prose p { text-align: justify; }
.prose a { color: var(--brand); font-weight: 600; border-bottom: 1px dashed rgba(172,0,172,.4); }
.prose a:hover { border-bottom-style: solid; }
.prose strong { font-weight: 800; color: var(--ink); }
.prose ul, .prose ol { padding-inline-start: 1.6em; }
.prose ol, .step ol { list-style-type: persian; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--brand); font-weight: 800; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2em 0; }
.prose code { background: var(--brand-soft); padding: 1px 6px; border-radius: 6px; font-size: .9em; }
.prose blockquote { background: #faf6fb; border-inline-start: 4px solid #d9b3de; border-radius: 14px; padding: 14px 18px; color: var(--ink-2); }
.prose blockquote.cm-callout { border: 1px solid; border-inline-start-width: 5px; }
.prose .cm-tip { background: #f3fbf7; border-color: #bfe8d3; border-inline-start-color: #10a36a; }
.prose .cm-example { background: #f4f7ff; border-color: #cddaf8; border-inline-start-color: #2f6ee0; }
.prose .cm-warn { background: #fff8ec; border-color: #f6dfb2; border-inline-start-color: #e08a00; }
.prose blockquote p { text-align: start; }
.cm-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); background: #fff; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.85; }
.prose th { background: linear-gradient(135deg, #f8eefa, #f3e9fb); font-weight: 800; color: var(--ink); text-align: start; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose tbody tr:nth-child(even) td { background: #fdfaff; }
.cm-shot { margin: 1.6em 0; text-align: center; }
.cm-shot img { display: block; width: 100%; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-md); background: #fff; }
.cm-shot .cm-zoom { display: block; border: 0; cursor: zoom-in; }
.cm-shot.is-phone .cm-phone {
    display: inline-block; width: min(320px, 82%); padding: 10px; background: #180020; border-radius: 38px;
    box-shadow: var(--shadow-lg);
}
.cm-shot.is-phone img { border-radius: 28px; border: 0; box-shadow: none; }
.cm-shot figcaption { font-size: 13.5px; color: var(--ink-3); margin-top: 10px; }
.cm-open { margin: 10px 0; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.share button { font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 7px 14px; border-radius: 100px; transition: .2s; }
.share button:hover { background: var(--brand-soft); color: var(--brand); }
.kw { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.kw span { font-size: 12.5px; color: var(--ink-2); background: #f6f0f8; padding: 3px 11px; border-radius: 100px; }

.end-cta {
    margin: 40px 0 10px; border-radius: 24px; padding: 30px; color: #fff; position: relative; overflow: hidden;
    background: radial-gradient(500px 260px at 90% 0%, rgba(255, 90, 255, .35), transparent 60%), linear-gradient(140deg, #3d0044, #8f0096);
    display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
}
.end-cta h3 { font-size: 22px; font-weight: 900; margin-bottom: 6px; }
.end-cta p { color: rgba(255,255,255,.86); font-size: 15px; }
.end-cta .acts { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 720px) { .end-cta { grid-template-columns: 1fr; padding: 24px 20px; } }

.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.pn a { display: block; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; transition: .2s; }
.pn a:hover { box-shadow: var(--shadow-md); }
.pn small { display: block; font-size: 12px; color: var(--ink-3); }
.pn b { font-size: 14.5px; font-weight: 800; line-height: 1.7; }
.pn .nx { text-align: end; }
@media (max-width: 620px) { .pn { grid-template-columns: 1fr; } }
.related { padding: 26px 0 50px; }
.related h2 { font-size: 22px; font-weight: 900; margin-bottom: 18px; }
.preview-bar { background: #fff4d6; color: #7a5200; text-align: center; font-size: 14px; font-weight: 700; padding: 8px 12px; border-bottom: 1px solid #f3dd9c; }

/* ---------- Generic CTA band ---------- */
.band { padding: 20px 0 60px; }
.band .end-cta { margin: 0; }

/* ---------- Footer ---------- */
footer.s-foot { background: #24002a; color: rgba(255,255,255,.75); padding: 50px 0 0; margin-top: 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 36px; }
.foot-grid h4 { color: #fff; font-size: 15.5px; font-weight: 800; margin-bottom: 14px; }
.foot-grid .s-logo { color: #fff; margin-bottom: 12px; }
.foot-grid p { font-size: 13.8px; line-height: 2; }
.foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.foot-grid ul a:hover { color: #fff; }
.foot-bar { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; text-align: center; font-size: 13px; }
.foot-bar a { color: #d9b8ff; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ============ Guides (اولیا و دانش‌آموزان) ============ */
.g-wrap { padding: 30px 0 20px; }
.g-pick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.g-pick a {
    position: relative; display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line);
    border-radius: 24px; padding: 24px; box-shadow: var(--shadow-sm); transition: .25s; overflow: hidden;
}
.g-pick a:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.g-pick a::after { content: ''; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 6px; background: var(--ac); }
.g-pick img { width: 78px; height: 78px; border-radius: 20px; flex: none; }
.g-pick b { display: block; font-size: 21px; font-weight: 900; }
.g-pick span { font-size: 14.5px; color: var(--ink-2); }
.g-pick .go { margin-top: 8px; display: inline-flex; font-weight: 800; color: var(--ac); font-size: 14.5px; }
@media (max-width: 720px) { .g-pick { grid-template-columns: 1fr; } .g-pick a { padding: 18px; } .g-pick img { width: 62px; height: 62px; } }

.g-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.g-mini a { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; transition: .2s; }
.g-mini a:hover { box-shadow: var(--shadow-md); }
.g-mini b { display: block; font-size: 15.5px; font-weight: 800; margin-bottom: 4px; }
.g-mini span { font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 760px) { .g-mini { grid-template-columns: 1fr; } }

/* stepper: هر قدم = متن + تصویر گوشی */
.g-body { font-size: 18px; line-height: 2.1; }
.g-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 26px; }
.g-toc a { font-size: 14px; font-weight: 700; padding: 6px 14px; border-radius: 100px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.g-toc a:hover { color: var(--ac, var(--brand)); border-color: var(--ac, var(--brand)); }
.step {
    display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; align-items: center; background: #fff;
    border: 1px solid var(--line); border-radius: 26px; padding: 28px; margin-bottom: 22px; box-shadow: var(--shadow-sm);
    scroll-margin-top: 86px;
}
.step.no-shot { grid-template-columns: 1fr; }
.step .num {
    display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; font-size: 22px;
    font-weight: 900; color: #fff; background: var(--ac, var(--brand)); box-shadow: 0 10px 22px rgba(0,0,0,.14); margin-bottom: 10px;
}
.step h2 { font-size: 24px; font-weight: 900; line-height: 1.6; margin-bottom: 8px; }
.step p { color: #3a2a40; }
.step p + p, .step ul, .step ol, .step .tip, .step .tabs { margin-top: 12px; }
.step ul, .step ol { padding-inline-start: 1.4em; }
.step li + li { margin-top: 6px; }
.step li::marker { color: var(--ac, var(--brand)); font-weight: 900; }
.step b { font-weight: 800; color: var(--ink); }
.step .shot { text-align: center; }
.step .shot .frame { display: inline-block; width: 100%; max-width: 290px; padding: 9px; background: #180020; border-radius: 38px; box-shadow: var(--shadow-lg); }
.step .shot img { display: block; width: 100%; border-radius: 29px; }
.step .shot small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.tip { background: #f3fbf7; border: 1px solid #bfe8d3; border-inline-start: 5px solid #10a36a; border-radius: 14px; padding: 12px 16px; font-size: 16px; }
.tip.warn { background: #fff8ec; border-color: #f6dfb2; border-inline-start-color: #e08a00; }
.kbd { display: inline-block; font-weight: 800; background: #f4eef6; border: 1px solid #e3d5e8; border-bottom-width: 3px; border-radius: 9px; padding: 0 9px; font-size: .92em; color: var(--ink); white-space: nowrap; }
.big-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; background: var(--brand-soft); color: var(--ac, var(--brand)); border: 1.5px dashed var(--ac, var(--brand)); padding: 6px 16px; border-radius: 14px; direction: ltr; }
@media (max-width: 860px) {
    .step { grid-template-columns: 1fr; padding: 22px 18px; gap: 18px; }
    .step .shot { order: 2; }
    .g-body { font-size: 17px; }
    .step h2 { font-size: 21px; }
}

/* زبانه‌های دستگاه: اندروید / آیفون / رایانه */
.tabs .tab-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs .tab-btns button {
    font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; padding: 8px 18px; border-radius: 12px;
    border: 1.5px solid var(--line); background: #fff; color: var(--ink-2); transition: .2s;
}
.tabs .tab-btns button[aria-selected="true"] { background: var(--ac, var(--brand)); border-color: var(--ac, var(--brand)); color: #fff; }
.tabs .tab-pane { display: none; margin-top: 14px; }
.tabs .tab-pane.on { display: block; }

.g-faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px; margin-bottom: 10px; box-shadow: var(--shadow-sm); }
.g-faq summary { cursor: pointer; font-weight: 800; font-size: 16.5px; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::after { content: '+'; font-size: 22px; color: var(--ac, var(--brand)); line-height: 1; }
.g-faq details[open] summary::after { content: '−'; }
.g-faq details p { padding: 0 0 14px; color: var(--ink-2); font-size: 16px; }
.g-sec-title { font-size: 26px; font-weight: 900; margin: 34px 0 16px; }

@media print {
    header.s-head, footer.s-foot, .post-side, .share, .end-cta, .related, .pn { display: none !important; }
    .post-layout { display: block; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
