/* Player help: existing Conquer9 gold, with purpose-built readable controls. */
@font-face { font-family:'Conquer9 Help'; src:url('/fonts/manrope-latin-variable.woff2') format('woff2'); font-style:normal; font-weight:400 800; font-display:swap; }
@font-face { font-family:'Conquer9 Arabic'; src:url('/fonts/noto-sans-arabic-variable.woff2') format('woff2'); font-style:normal; font-weight:400 700; font-display:swap; unicode-range:U+0600-06FF,U+0750-077F,U+0870-089F,U+08A0-08FF,U+FB50-FDFF,U+FE70-FEFF,U+200C-200E; }
.pg-root {
  --pg-font:'Conquer9 Help',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --pg-copy:#b7bebb; --pg-muted:#939d97; --pg-line:#2c332f;
  --pg-surface:var(--surface); --pg-raised:#1b201d; --pg-soft:#d8b8780c;
  --pg-accent:var(--gold); --pg-button:#d8b878; --pg-button-ink:#201b10;
  font:400 16px/1.65 var(--pg-font); color:var(--text); padding-bottom:20px;
}
html[data-theme=light] .pg-root { --pg-copy:#4e584f; --pg-muted:#5f685e; --pg-line:#d9d9cf; --pg-surface:#fffefa; --pg-raised:#eeeee5; --pg-soft:#9870390a; --pg-accent:#795723; }
#page-view:has(>.pg-root) { padding-top:28px; }
.pg-root,.pg-root * { min-width:0; box-sizing:border-box; }
.pg-root[dir=rtl] { --pg-font:'Conquer9 Arabic','Conquer9 Help',sans-serif; }
.pg-root :is(h1,h2,h3,p,ul,ol) { margin:0; }
.pg-root :is(h1,h2,h3) { font-family:var(--pg-font); font-weight:700; color:var(--text); letter-spacing:-.025em; text-wrap:balance; }
.pg-root p,.pg-root li { text-wrap:pretty; }
.pg-root :is(button,input,textarea) { -webkit-appearance:none; appearance:none; font:inherit; border-radius:0; box-shadow:none; }
.pg-root button { border:0; background:transparent; color:inherit; }
.pg-root :is(button,a) { touch-action:manipulation; -webkit-tap-highlight-color:transparent; }
.pg-root a,.pg-root button { transition:background .16s,color .16s,border-color .16s; }
.pg-root :is(button,a,input,textarea):focus-visible { outline:2px solid var(--pg-accent); outline-offset:4px; }
.pg-root :is(button,a):active { opacity:.85; }
.pg-root :is(button,input,textarea):disabled { opacity:.5; cursor:not-allowed; }
.pg-root ::selection { color:var(--pg-button-ink); background:var(--pg-button); }
.pg-root .icon { width:19px; height:19px; stroke-width:1.65; }
.pg-visually-hidden { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.pg-topbar { display:flex; align-items:center; justify-content:space-between; gap:24px; min-height:56px; padding-bottom:18px; border-bottom:1px solid var(--pg-line); margin-bottom:40px; }
.pg-wordmark { display:inline-flex; align-items:center; gap:11px; font-size:17px; font-weight:750; min-height:44px; }
.pg-wordmark>.icon { color:var(--pg-accent); width:22px; height:22px; }
.pg-view-nav { display:flex; align-items:center; gap:6px; }
.pg-view-nav a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:9px 15px; border-radius:9px; color:var(--pg-muted); font-size:13px; font-weight:600; }
.pg-view-nav a:hover { color:var(--text); background:var(--pg-raised); }
.pg-view-nav a[aria-current=page] { color:var(--pg-accent); background:var(--pg-soft); }
.pg-root .pg-button { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:46px; padding:11px 19px; border:1px solid transparent; border-radius:9px; font-size:13px; line-height:1.5; font-weight:700; text-align:center; text-decoration:none; white-space:nowrap; }
.pg-root .pg-button-primary { color:var(--pg-button-ink); background:var(--pg-button); border-color:var(--pg-button); }
.pg-root .pg-button-primary:hover:not(:disabled) { background:#e5c88f; border-color:#e5c88f; }
.pg-root .pg-button-secondary { color:var(--text); background:var(--pg-surface); border-color:var(--pg-line); }
.pg-root .pg-button-secondary:hover:not(:disabled) { border-color:var(--pg-accent); background:var(--pg-soft); }
.pg-root .pg-button-quiet { color:var(--pg-copy); border-color:var(--pg-line); background:transparent; padding:9px 13px; min-height:44px; font-size:12px; }
.pg-root .pg-button-quiet:hover:not(:disabled) { color:var(--text); background:var(--pg-raised); }
.pg-icon-button { display:inline-grid; place-items:center; width:44px; height:44px; flex-shrink:0; border-radius:8px!important; color:var(--pg-muted)!important; }
.pg-icon-button:hover { background:var(--pg-raised); color:var(--text)!important; }
.pg-eyebrow { font-size:12px; font-weight:650; color:var(--pg-accent); line-height:1.6; }
.pg-heading h1 { font-size:clamp(32px,4.3vw,51px); line-height:1.15; margin-block:12px 16px; letter-spacing:-.045em; }
.pg-heading>p:last-child { font-size:16px; line-height:1.8; color:var(--pg-copy); max-width:61ch; }
.pg-index-hero { max-width:850px; padding-block:8px 38px; margin-inline:auto; }
.pg-index-hero .pg-heading { text-align:center; }
.pg-index-hero .pg-heading>p:last-child { margin-inline:auto; max-width:55ch; }
.pg-search { margin-top:28px; }
.pg-search-box { display:flex; align-items:center; gap:12px; background:var(--pg-surface); border:1px solid var(--pg-line); border-radius:13px; padding:8px; box-shadow:0 4px 24px #00000008; }
.pg-search-box:focus-within { border-color:var(--pg-accent); outline:1px solid var(--pg-accent); outline-offset:1px; }
.pg-search-box>.icon { color:var(--pg-muted); margin-inline-start:12px; flex-shrink:0; }
.pg-root .pg-search input[type=search] { flex:1; width:0; min-width:0; min-height:46px; color:var(--text); background:transparent; border:0; outline:0; padding:8px 0; font-size:15px; line-height:1.5; border-radius:0; }
.pg-root .pg-search input::-webkit-search-decoration,.pg-root .pg-search input::-webkit-search-cancel-button,.pg-root .pg-search input::-webkit-search-results-button,.pg-root .pg-search input::-webkit-search-results-decoration { -webkit-appearance:none; appearance:none; display:none; }
.pg-root :is(input,textarea)::placeholder { color:var(--pg-muted); opacity:1; }
.pg-search .pg-button { flex-shrink:0; min-height:46px; }
.pg-start { padding-block:8px 38px; }
.pg-start h2,.pg-library-heading h2,.pg-related>h2 { font-size:21px; line-height:1.4; letter-spacing:-.025em; }
.pg-start-path { list-style:none; padding:0; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-top:16px!important; }
.pg-start-path a { display:flex; align-items:center; gap:12px; min-height:88px; padding:17px; background:var(--pg-surface); border:1px solid var(--pg-line); border-radius:12px; }
.pg-start-path a:hover { border-color:var(--pg-accent); background:var(--pg-soft); }
.pg-path-icon { color:var(--pg-accent); flex-shrink:0; }
.pg-start-path strong { font-size:13px; line-height:1.6; font-weight:650; flex:1; }
.pg-start-path a>.icon { width:15px; height:15px; color:var(--pg-muted); }
.pg-videos { padding-block:8px 40px; }
.pg-videos-heading { margin-bottom:18px; }
.pg-videos-heading h2 { font-size:21px; line-height:1.4; letter-spacing:-.025em; margin-top:4px!important; }
.pg-videos-heading>p:last-child { margin-top:6px!important; font-size:14px; line-height:1.75; color:var(--pg-copy); max-width:62ch; }
.pg-video-list { list-style:none; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.pg-video { display:flex; flex-direction:column; overflow:hidden; border:1px solid var(--pg-line); border-radius:12px; background:var(--pg-surface); }
.pg-video-frame { position:relative; aspect-ratio:16/9; background:#070c0a; }
.pg-video-frame iframe { position:absolute; inset:0; display:block; width:100%; height:100%; border:0; }
.pg-video-play { position:absolute; inset:0; display:block; overflow:hidden; color:#f0d69b; }
.pg-video-play img { display:block; width:100%; height:100%; object-fit:cover; }
.pg-video-play::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,#070c0a1f,#070c0a00 40%,#070c0a99); transition:background .16s; }
.pg-video-play:hover::after { background:linear-gradient(180deg,#070c0a00,#070c0a00 40%,#070c0a80); }
.pg-root .pg-video-play:focus-visible { outline-offset:-4px; }
.pg-video-button { position:absolute; z-index:1; inset:0; margin:auto; display:grid; place-items:center; width:68px; height:68px; border-radius:50%; border:1px solid #d7ba7d99; background:#0b100fcc; box-shadow:0 8px 30px #00000080; transition:transform .16s,background .16s,color .16s; }
.pg-root .pg-video-button .icon { width:26px; height:26px; fill:currentColor; stroke-width:1.2; }
.pg-video-play:hover .pg-video-button { transform:scale(1.06); color:#201b10; background:#d8b878; }
.pg-video-duration { position:absolute; z-index:1; bottom:12px; inset-inline-end:12px; padding:2px 8px; border-radius:6px; background:#070c0ad9; color:#f5f1e6; font-size:12px; font-weight:650; line-height:1.6; font-variant-numeric:tabular-nums; }
.pg-video-meta { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; padding:16px 19px 12px; }
.pg-video-language { flex-shrink:0; padding:2px 10px; border:1px solid var(--pg-line); border-radius:999px; background:var(--pg-soft); color:var(--pg-accent); font-size:11px; font-weight:650; line-height:1.7; }
.pg-video-meta h3 { flex:1 1 12em; font-size:17px; line-height:1.5; }
.pg-root .pg-video-meta bdi[lang=ar] { letter-spacing:0; }
.pg-video-meta .pg-text-link { flex-basis:100%; }
.pg-library { padding-block:8px 36px; }
.pg-library-heading { display:flex; justify-content:space-between; align-items:center; gap:18px; margin-bottom:19px; }
.pg-result-count { font-size:12px; color:var(--pg-muted); font-variant-numeric:tabular-nums; }
.pg-categories { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:24px; }
.pg-categories button { display:inline-flex; align-items:center; justify-content:center; padding:9px 15px; min-height:44px; border:1px solid var(--pg-line); border-radius:9px; color:var(--pg-copy); font-size:12px; font-weight:600; line-height:1.5; }
.pg-categories button[aria-pressed=true] { color:var(--pg-accent); background:var(--pg-soft); border-color:var(--pg-accent); }
.pg-categories button:hover:not([aria-pressed=true]) { color:var(--text); background:var(--pg-raised); }
.pg-topics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
.pg-topic { display:flex; flex-direction:column; align-items:stretch; padding:23px; border:1px solid var(--pg-line); border-radius:12px; background:var(--pg-surface); }
.pg-topic:hover { border-color:var(--pg-accent); background:color-mix(in srgb,var(--pg-soft) 60%,var(--pg-surface)); }
.pg-topic-top { display:flex; align-items:center; gap:10px; margin-bottom:18px; }
.pg-topic-icon { display:inline-grid; place-items:center; color:var(--pg-accent); }
.pg-topic-category { color:var(--pg-muted); font-size:11px; font-weight:600; flex:1; }
.pg-topic-top>.icon { width:15px; height:15px; color:var(--pg-muted); }
.pg-topic h3 { font-size:18px; line-height:1.4; margin-bottom:10px; }
.pg-topic>p { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; color:var(--pg-copy); font-size:14px; line-height:1.75; margin-bottom:22px; }
.pg-read { margin-top:auto; display:inline-flex; align-items:center; gap:9px; color:var(--pg-accent); font-size:12px; font-weight:650; }
.pg-read .icon { width:14px; height:14px; }
.pg-topic:hover h3 { color:var(--pg-accent); }
.pg-topic-top>.icon { display:none; }
.pg-text-link { display:inline-flex; align-items:center; gap:8px; min-height:44px; color:var(--pg-accent)!important; font-size:13px; line-height:1.5; font-weight:650; text-align:start; padding:7px 0; }
.pg-text-link .icon { width:16px; height:16px; }
.pg-text-link:hover { text-decoration:underline; text-underline-offset:4px; }
.pg-empty { grid-column:1/-1; display:flex; flex-direction:column; align-items:center; text-align:center; padding:50px 24px; border:1px dashed var(--pg-line); border-radius:12px; }
.pg-empty h3 { font-size:23px; margin-block:15px 10px; }
.pg-empty p { color:var(--pg-copy); font-size:15px; margin-bottom:22px; }
.pg-ai-callout { display:flex; align-items:center; gap:21px; padding:27px 30px; border:1px solid var(--pg-line); border-radius:13px; background:var(--pg-soft); }
.pg-ai-callout>div { flex:1; }
.pg-ai-callout h2 { font-size:20px; margin-bottom:6px; }
.pg-ai-callout p { color:var(--pg-copy); font-size:14px; line-height:1.75; }
.pg-help-icon { display:inline-grid; place-items:center; width:42px; height:42px; flex-shrink:0; border-radius:10px; color:var(--pg-accent); background:var(--pg-soft); }
.pg-help-icon .icon { width:23px; height:23px; }
.pg-help-row { display:grid; grid-template-columns:1.2fr 1fr; gap:50px; margin-top:30px; padding-block:18px; }
.pg-support,.pg-shop-note { display:flex; align-items:start; gap:17px; padding-block:15px; }
.pg-support h2,.pg-shop-note h2 { font-size:18px; margin-bottom:8px; }
.pg-support p,.pg-shop-note p { color:var(--pg-copy); font-size:14px; line-height:1.8; max-width:55ch; }
.pg-support .pg-small { color:var(--pg-muted); font-size:12px; margin-top:7px; }
.pg-breadcrumbs { display:flex; flex-wrap:wrap; gap:11px; align-items:center; color:var(--pg-muted); font-size:12px; margin-block:-8px 24px; }
.pg-breadcrumbs a { display:inline-flex; min-height:44px; align-items:center; color:var(--pg-accent); }
.pg-article-header { max-width:850px; padding-bottom:34px; }
.pg-article-header .pg-heading h1 { font-size:clamp(30px,4.1vw,46px); max-width:26ch; }
.pg-article-header .pg-heading>p:last-child { max-width:64ch; }
.pg-reading-time { display:flex; align-items:center; gap:7px; font-size:12px; color:var(--pg-muted); margin-top:18px!important; }
.pg-reading-time .icon { width:15px; height:15px; }
.pg-reading-layout { display:grid; grid-template-columns:220px minmax(0,1fr); align-items:start; gap:54px; }
.pg-reading-nav { position:sticky; top:110px; padding:14px 0; }
.pg-reading-nav>p { font-size:12px; font-weight:700; color:var(--pg-muted); margin-bottom:13px; }
.pg-reading-nav ol { list-style:none; padding:0; border-inline-start:1px solid var(--pg-line); }
.pg-reading-nav button { min-height:44px; width:100%; padding:9px 15px; text-align:start; color:var(--pg-copy); font-size:13px; line-height:1.6; border-inline-start:2px solid transparent; margin-inline-start:-1px; }
.pg-reading-nav button:hover,.pg-reading-nav button:focus-visible { color:var(--pg-accent); border-inline-start-color:var(--pg-accent); background:var(--pg-soft); }
.pg-reading-nav>.pg-text-link { margin-top:17px; }
.pg-reading-main { max-width:790px; }
.pg-article>section { padding-block:16px 34px; scroll-margin-top:115px; }
.pg-article>section+section { border-top:1px solid var(--pg-line); padding-top:34px; }
.pg-article>section:focus { outline:0; }
.pg-article>section:focus-visible h2 { outline:2px solid var(--pg-accent); outline-offset:7px; border-radius:2px; }
.pg-article h2 { font-size:24px; line-height:1.4; margin-bottom:16px; }
.pg-article p,.pg-article li { color:var(--pg-copy); font-size:16px; line-height:1.9; overflow-wrap:anywhere; }
.pg-article p { max-width:67ch; white-space:pre-line; unicode-bidi:plaintext; }
.pg-steps { list-style:none; padding:0; counter-reset:pg-step; display:grid; gap:18px; margin-top:22px!important; }
.pg-steps>li { counter-increment:pg-step; position:relative; padding-inline-start:45px; min-height:32px; }
.pg-steps>li::before { content:counter(pg-step); display:grid; place-items:center; position:absolute; inset-inline-start:0; top:0; width:30px; height:30px; border-radius:8px; color:var(--pg-accent); background:var(--pg-soft); border:1px solid var(--pg-line); font-size:13px; font-weight:700; }
.pg-steps>li :is(strong,span) { display:block; }
.pg-steps>li strong { color:var(--text); font-weight:700; }
.pg-tip { padding:18px 20px; background:var(--pg-soft); border:1px solid var(--pg-line); border-radius:10px; margin-top:24px; }
.pg-tip>strong { display:flex; align-items:center; gap:9px; color:var(--pg-accent); font-size:13px; font-weight:700; }
.pg-tip>strong .icon { width:16px; height:16px; }
.pg-tip ul { padding-inline-start:21px; margin-top:9px; }
.pg-tip li { font-size:14px; line-height:1.85; }
.pg-article-ask { display:flex; align-items:center; gap:16px; padding:24px; border:1px solid var(--pg-line); border-radius:12px; background:var(--pg-surface); margin-top:15px; }
.pg-article-ask>div { flex:1; }
.pg-article-ask h2 { font-size:18px; margin-bottom:6px; }
.pg-article-ask p { color:var(--pg-copy); font-size:13px; line-height:1.75; }
.pg-related { margin-top:32px; }
.pg-related-guides { display:grid; gap:8px; margin-top:16px; }
.pg-related-guides a { display:flex; align-items:center; justify-content:space-between; gap:15px; min-height:52px; padding:12px 16px; border:1px solid var(--pg-line); border-radius:9px; font-size:14px; font-weight:600; }
.pg-related-guides a:hover { color:var(--pg-accent); background:var(--pg-soft); border-color:var(--pg-accent); }
.pg-related-guides .icon { width:16px; height:16px; color:var(--pg-accent); }
.pg-support-compact { border-top:1px solid var(--pg-line); margin-top:34px; padding-top:28px; }
.pg-view-assistant .pg-topbar { margin-bottom:27px; }
.pg-assistant-layout { display:block; max-width:840px; margin-inline:auto; }
.pg-assistant-intro { text-align:center; margin-bottom:23px; }
.pg-assistant-intro .pg-heading h1 { font-size:clamp(28px,3.8vw,38px); margin-block:0 10px; letter-spacing:-.04em; }
.pg-assistant-intro .pg-heading>p:last-child { margin-inline:auto; max-width:54ch; font-size:15px; line-height:1.7; }
.pg-assistant-trust { display:flex; flex-wrap:wrap; justify-content:center; gap:8px 21px; margin-top:17px; color:var(--pg-muted); }
.pg-assistant-trust>span { display:inline-flex; align-items:center; gap:7px; font-size:11px; line-height:1.6; }
.pg-assistant-trust .icon { width:14px; height:14px; color:var(--pg-accent); }
.pg-chat { background:var(--pg-surface); border:1px solid var(--pg-line); border-radius:17px; overflow:hidden; box-shadow:0 14px 50px #00000008; }
.pg-chat-state { display:flex; align-items:center; text-align:center; flex-direction:column; justify-content:center; gap:19px; min-height:370px; padding:42px 30px; }
.pg-state-icon { display:grid; place-items:center; width:54px; height:54px; color:var(--pg-accent); background:var(--pg-soft); border:1px solid var(--pg-line); border-radius:15px; }
.pg-state-icon .icon { width:26px; height:26px; }
.pg-chat-state h2 { font-size:25px; line-height:1.45; }
.pg-chat-state>p { max-width:50ch; color:var(--pg-copy); font-size:15px; line-height:1.85; }
.pg-chat-state>div:not(.pg-loading-lines) { display:flex; justify-content:center; flex-wrap:wrap; align-items:center; gap:10px; }
.pg-loading-lines { display:grid; gap:10px; width:220px; max-width:80%; }
.pg-loading-lines span { height:9px; border-radius:4px; background:var(--pg-raised); }
.pg-loading-lines span:nth-child(2) { width:85%; margin-inline:auto; }
.pg-loading-lines span:nth-child(3) { width:65%; margin-inline:auto; }
.pg-chat-header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 24px; border-bottom:1px solid var(--pg-line); }
.pg-chat-header>div { display:flex; align-items:center; gap:10px; }
.pg-chat-header>div>.icon { color:var(--pg-accent); }
.pg-chat-header h2 { font-size:13px; font-weight:700; letter-spacing:-.01em; }
.pg-chat-header .pg-button .icon { width:15px; height:15px; }
.pg-budget { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:5px 12px; padding:10px 25px; color:var(--pg-muted); font-size:11px; line-height:1.65; }
.pg-budget strong { color:var(--pg-copy); font-weight:600; margin-inline-start:7px; }
.pg-budget small { font-size:11px; }
.pg-chat-welcome { text-align:center; padding:20px 30px; }
.pg-welcome-icon { display:none; }
.pg-chat-welcome h3 { font-size:23px; line-height:1.4; }
.pg-chat-welcome>p { color:var(--pg-copy); font-size:14px; margin-top:7px; }
.pg-starter-area { padding:0 24px 23px; }
.pg-starters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; max-width:100%; margin:0 auto; }
.pg-starters button { display:flex; align-items:center; gap:11px; min-height:48px; padding:11px 14px; border:1px solid var(--pg-line); border-radius:9px; color:var(--pg-copy); font-size:12px; font-weight:600; text-align:start; line-height:1.6; }
.pg-starters button>.icon:first-child { width:17px; height:17px; color:var(--pg-accent); }
.pg-starters button>span { flex:1; }
.pg-starters button>.icon:last-child { width:14px; height:14px; color:var(--pg-muted); }
.pg-starters button:hover { color:var(--text); background:var(--pg-soft); border-color:var(--pg-accent); }
.pg-conversation { max-height:min(560px,60dvh); overflow-y:auto; overscroll-behavior-y:contain; scrollbar-gutter:stable; scrollbar-width:thin; scrollbar-color:var(--pg-line) transparent; padding:12px 30px 4px; }
.pg-conversation:empty { display:none; }
.pg-message { padding-block:14px; margin-bottom:14px; }
.pg-message-meta { display:flex; align-items:center; gap:9px; margin-bottom:11px; }
.pg-message-meta h3 { color:var(--pg-copy); font-size:11px; line-height:1.6; font-weight:650; letter-spacing:0; }
.pg-message-avatar { display:grid; place-items:center; width:27px; height:27px; border:1px solid var(--pg-line); border-radius:8px; color:var(--pg-accent); background:var(--pg-soft); }
.pg-message-avatar .icon { width:15px; height:15px; }
.pg-message-content>p { color:var(--text); font-size:15px; line-height:1.9; white-space:pre-wrap; overflow-wrap:anywhere; unicode-bidi:plaintext; }
.pg-message-user { margin-inline-start:12%; background:var(--pg-soft); border:1px solid var(--pg-line); border-radius:12px; padding:15px 18px; }
.pg-message-user .pg-message-meta { margin-bottom:6px; }
.pg-message-user .pg-message-avatar { display:none; }
.pg-message-user .pg-message-content>p { font-size:14px; color:var(--pg-copy); }
.pg-message-sources { display:flex; flex-wrap:wrap; gap:7px; margin-top:15px; }
.pg-message-sources a { display:inline-flex; align-items:center; gap:7px; min-height:44px; padding:8px 12px; border:1px solid var(--pg-line); border-radius:8px; color:var(--pg-accent); font-size:11px; line-height:1.5; font-weight:600; }
.pg-message-sources a:hover { background:var(--pg-soft); border-color:var(--pg-accent); }
.pg-message-sources .icon { width:13px; height:13px; }
.pg-reply-status { color:var(--pg-accent); font-size:13px; padding:8px 30px 18px; }
.pg-reply-status:empty { display:none; }
.pg-chat-form { padding:18px 24px 21px; border-top:1px solid var(--pg-line); }
.pg-chat-form>label { display:block; color:var(--pg-copy); font-size:12px; font-weight:650; margin-bottom:9px; }
.pg-composer { border:1px solid var(--pg-line); border-radius:12px; background:var(--bg); padding:12px; }
.pg-composer:focus-within { border-color:var(--pg-accent); outline:1px solid var(--pg-accent); outline-offset:1px; }
.pg-root .pg-chat-form textarea { display:block; width:100%; height:64px; min-height:64px; max-height:180px; resize:none; overflow-y:auto; overscroll-behavior-y:contain; padding:1px 3px 7px; background:transparent; color:var(--text); border:0; border-radius:0; outline:0; font-size:16px; line-height:1.6; scrollbar-width:thin; }
.pg-chat-form-row { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:8px; }
.pg-chat-form-row>div { display:flex; align-items:center; gap:15px; }
.pg-counter { color:var(--pg-muted); font-size:10px; font-variant-numeric:tabular-nums; }
.pg-keyboard-hint { color:var(--pg-muted); font-size:9px; }
.pg-chat-form-row .pg-button { min-height:44px; padding:10px 17px; }
.pg-chat-feedback { color:var(--pg-accent); font-size:13px; line-height:1.8; margin-top:12px!important; }
.pg-chat-feedback:empty { display:none; }
.pg-chat-privacy { color:var(--pg-muted); font-size:11px; line-height:1.8; margin-top:13px!important; }
.pg-answer-note { color:var(--pg-muted); font-size:11px; line-height:1.8; margin-top:3px!important; }
.pg-exhausted { padding:20px 25px; margin-top:10px; border-top:1px solid var(--pg-line); background:var(--pg-soft); }
.pg-exhausted strong { color:var(--text); font-size:15px; font-weight:650; }
.pg-exhausted p { color:var(--pg-copy); font-size:14px; line-height:1.8; margin-top:8px; }
.pg-exhausted>div { display:flex; flex-wrap:wrap; gap:20px; margin-top:5px; }
.pg-assistant-footer { padding:18px 5px 0; text-align:center; }
.pg-assistant-footer>p { color:var(--pg-muted); font-size:11px; line-height:1.85; }
.pg-assistant-footer nav { display:flex; flex-wrap:wrap; justify-content:center; gap:22px; margin-top:7px; }
.pg-assistant-footer a { display:inline-flex; align-items:center; gap:7px; min-height:44px; color:var(--pg-accent); font-size:12px; font-weight:600; }
.pg-assistant-footer .icon { width:14px; height:14px; }
.pg-root[dir=rtl] :is(h1,h2,h3) { letter-spacing:0; line-height:1.6; }
.pg-root[dir=rtl] .pg-heading h1 { line-height:1.45; }
.pg-root[dir=rtl] :is(.pg-article p,.pg-article li,.pg-message-content>p) { line-height:2; }
.pg-root[dir=rtl] svg:has(use[href='#i-arrow']) { transform:scaleX(-1); }
@media(max-width:1000px) {
  .pg-start-path { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .pg-topics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .pg-reading-layout { grid-template-columns:190px minmax(0,1fr); gap:30px; }
  .pg-reading-nav button { font-size:12px; }
  .pg-article-ask { flex-wrap:wrap; }
  .pg-article-ask .pg-button { margin-inline-start:58px; }
}
@media(max-width:760px) {
  .pg-videos { padding-bottom:30px; }
  .pg-video-list { grid-template-columns:1fr; gap:14px; }
  .pg-video-button { width:58px; height:58px; }
  .pg-video-meta { padding:14px 16px 10px; }
  .pg-topbar { flex-direction:column; align-items:start; gap:10px; margin-bottom:26px; padding-bottom:13px; }
  .pg-view-nav { width:100%; gap:4px; }
  .pg-view-nav a { padding:9px 12px; font-size:12px; }
  .pg-view-nav a:last-child { margin-inline-start:auto; }
  .pg-wordmark { font-size:16px; min-height:36px; }
  .pg-wordmark>.icon { width:20px; height:20px; }
  .pg-heading h1 { font-size:37px; }
  .pg-index-hero { padding-block:0 30px; }
  .pg-index-hero .pg-heading>p:last-child { font-size:15px; }
  .pg-search-box { flex-wrap:wrap; gap:4px 9px; padding:7px; }
  .pg-search .pg-button { min-height:44px; padding:9px 13px; font-size:12px; }
  .pg-search .pg-button>.icon { display:none; }
  .pg-root .pg-search input[type=search] { font-size:16px; }
  .pg-start { padding-bottom:28px; }
  .pg-start-path a { min-height:78px; padding:14px; gap:10px; }
  .pg-start-path strong { font-size:12px; }
  .pg-categories { gap:7px; }
  .pg-categories button { padding:9px 12px; font-size:11px; }
  .pg-topic { padding:21px; }
  .pg-ai-callout { flex-wrap:wrap; gap:15px; padding:24px; }
  .pg-ai-callout>.pg-button { margin-inline-start:57px; }
  .pg-help-row { grid-template-columns:1fr; gap:15px; }
  .pg-reading-layout { grid-template-columns:1fr; gap:22px; }
  .pg-reading-nav { position:static; border-block:1px solid var(--pg-line); padding-block:17px; }
  .pg-reading-nav ol { display:flex; flex-wrap:wrap; gap:7px; border:0; }
  .pg-reading-nav button { width:auto; border:1px solid var(--pg-line); border-radius:8px; padding:9px 12px; margin:0; min-height:44px; }
  .pg-reading-nav>.pg-text-link { margin-top:7px; }
  .pg-article-header { padding-bottom:24px; }
  .pg-article-header .pg-heading h1 { font-size:33px; }
  .pg-article h2 { font-size:23px; }
  .pg-article-ask .pg-button { margin-inline-start:58px; }
  .pg-assistant-intro .pg-heading h1 { font-size:30px; }
  .pg-assistant-trust { gap:7px 16px; }
  .pg-keyboard-hint { display:none; }
}
@media(max-width:480px) {
  #page-view:has(>.pg-root) { padding-top:18px; }
  .pg-view-nav a { padding-inline:10px; font-size:11px; }
  .pg-heading h1 { font-size:32px; }
  .pg-heading>p:last-child { font-size:15px; }
  .pg-search-box>.icon { margin-inline-start:7px; width:17px; height:17px; }
  .pg-search .pg-button { width:100%; margin-top:4px; }
  .pg-root .pg-search input[type=search] { min-height:44px; }
  .pg-start h2,.pg-library-heading h2 { font-size:19px; }
  .pg-start-path { gap:8px; }
  .pg-start-path a { flex-wrap:wrap; align-content:start; align-items:center; min-height:104px; padding:14px; gap:9px; }
  .pg-start-path strong { flex-basis:100%; order:2; font-size:12px; }
  .pg-start-path a>.icon { margin-inline-start:auto; }
  .pg-library-heading { align-items:start; flex-direction:column; gap:6px; }
  .pg-topics { grid-template-columns:1fr; gap:12px; }
  .pg-topic h3 { font-size:19px; }
  .pg-topic>p { font-size:15px; -webkit-line-clamp:3; }
  .pg-topic-top { margin-bottom:14px; }
  .pg-ai-callout { padding:21px; }
  .pg-ai-callout>.pg-help-icon { display:none; }
  .pg-ai-callout>.pg-button { margin-inline-start:0; width:100%; }
  .pg-help-row { margin-top:20px; }
  .pg-support,.pg-shop-note { gap:12px; }
  .pg-help-icon { width:35px; height:35px; border-radius:9px; }
  .pg-help-icon .icon { width:19px; height:19px; }
  .pg-article-header .pg-heading h1 { font-size:29px; }
  .pg-reading-nav button { font-size:11px; }
  .pg-article h2 { font-size:22px; }
  .pg-article p,.pg-article li { font-size:16px; }
  .pg-steps>li { padding-inline-start:40px; }
  .pg-tip { padding:17px; }
  .pg-article-ask { padding:21px; }
  .pg-article-ask>.pg-help-icon { display:none; }
  .pg-article-ask>div { flex-basis:100%; }
  .pg-article-ask .pg-button { margin-inline-start:0; width:100%; }
  .pg-assistant-intro .pg-heading h1 { font-size:27px; }
  .pg-assistant-intro .pg-heading>p:last-child { font-size:14px; }
  .pg-assistant-trust { gap:7px 11px; }
  .pg-assistant-trust>span { font-size:10px; }
  .pg-assistant-trust .icon { width:12px; height:12px; }
  .pg-chat { border-radius:13px; }
  .pg-chat-header { padding:11px 15px; gap:10px; }
  .pg-chat-header h2 { font-size:11px; }
  .pg-chat-header .pg-button { padding:9px 10px; font-size:11px; }
  .pg-chat-header>div { gap:7px; }
  .pg-chat-header>div>.icon { width:17px; height:17px; }
  .pg-budget { padding:10px 15px; font-size:10px; gap:3px 10px; }
  .pg-budget small { font-size:10px; }
  .pg-chat-welcome { display:none; }
  .pg-starter-area { padding:0 14px 17px; }
  .pg-chat-welcome h3 { font-size:21px; }
  .pg-chat-welcome>p { font-size:13px; }
  .pg-starters { gap:8px; margin-top:0; }
  .pg-starters button { min-height:46px; padding:10px; gap:7px; font-size:11px; }
  .pg-starters button>.icon:last-child { display:none; }
  .pg-starters button>.icon:first-child { width:15px; height:15px; }
  .pg-conversation { padding:8px 16px 2px; max-height:60dvh; }
  .pg-message-content>p { font-size:15px; }
  .pg-message-user { margin-inline-start:7%; padding:13px 14px; }
  .pg-message-user .pg-message-content>p { font-size:14px; }
  .pg-reply-status { padding-inline:16px; }
  .pg-chat-form { padding:16px 14px 18px; }
  .pg-composer { padding:10px; }
  .pg-root .pg-chat-form textarea { font-size:16px; }
  .pg-chat-form-row { gap:8px; }
  .pg-chat-form-row .pg-button { min-width:85px; padding-inline:12px; }
  .pg-chat-privacy,.pg-answer-note { font-size:10px; line-height:1.85; }
  .pg-exhausted { padding:18px 16px; }
  .pg-chat-state { min-height:340px; padding:30px 21px; gap:16px; }
  .pg-chat-state h2 { font-size:23px; }
  .pg-chat-state>p { font-size:14px; }
  .pg-chat-state>div:not(.pg-loading-lines) { width:100%; }
  .pg-chat-state .pg-button { width:100%; }
}
@media(prefers-reduced-motion:reduce) { .pg-root a,.pg-root button,.pg-video-button,.pg-video-play::after { transition:none; } .pg-video-play:hover .pg-video-button { transform:none; } }
