.complete-guide main, .complete-guide .footer { max-width: 708px; }
.complete-guide .nav { position: relative; }
.complete-guide .nav-pill { border: 0; font-family: inherit; }
.complete-guide .guide-hero { padding: 78px 0 18px; }
.complete-guide .guide-hero h1 { max-width: 460px; font-size: 56px; font-weight: 700; line-height: 1.07; letter-spacing: -.045em; margin-bottom: 22px; }
.complete-guide .guide-hero .subtitle { font-size: 26px; line-height: 1.32; max-width: 440px; margin: auto; }
.guide-meta { color: var(--muted); margin-top: 13px; font-size: 16px; }
.complete-guide .settings { max-width: 460px; margin-top: 48px; padding: 0 18px; }
.complete-guide .setting-row { min-height: 56px; padding: 9px 0; }
.complete-guide .segmented { width: 220px; }
.complete-guide .setting-label { font-size: 17px; }
.complete-guide .settings-note { font-size: 14px; }
.complete-guide .guide-section { padding-top: 62px; }
.complete-guide .essentials { padding-top: 38px; }
.complete-guide .guide-section h2 { font-weight: 650; font-size: 31px; line-height: 1.16; margin-bottom: 19px; }
.complete-guide .step-label { margin-bottom: 6px; font-size: 14px; }
.inset-list { list-style: none; padding: 0; margin: 0; background: var(--card); border-radius: 19px; overflow: hidden; }
.inset-list li { padding: 15px 18px; font-size: 16px; line-height: 1.52; }
.inset-list li + li { border-top: 1px solid var(--line); }
.instruction-list { padding-left: 24px; margin: 0 0 22px; }
.instruction-list li { font-size: 17px; line-height: 1.55; padding-left: 1px; margin-bottom: 9px; }
.instruction-list li::marker { color: var(--muted); }
.instruction-list strong { font-weight: 550; }
.complete-guide code { letter-spacing: 0; }
.inset-list code, .instruction-list code, .faq-answer p code, .details-body p code, .result-row p code { background: var(--control); border-radius: 5px; padding: 2px 5px; font: 400 .84em/1.5 ui-monospace, "SF Mono", Consolas, monospace; }
kbd { display: inline-block; background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; font: inherit; font-size: .87em; }
.complete-guide .field-label { margin: 25px 4px 9px; font-size: 15px; }
.complete-guide .command { min-height: 56px; padding: 8px 18px; border-radius: 18px; }
.complete-guide .command code { font-size: 13px; line-height: 1.7; }
.complete-guide .copy-button { font-size: 14px; min-height: 40px; white-space: nowrap; }
.command-group { overflow: hidden; border-radius: 18px; background: var(--card); }
.command-group > .command { border-radius: 0; }
.result-row { display: flex; align-items: flex-start; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line); }
.result-row p { font-size: 16px; line-height: 1.5; min-width: 0; }
.complete-guide .result-row .check-circle { width: 20px; height: 20px; margin-top: 3px; }
.command-note { padding: 14px 18px; font-size: 15px; line-height: 1.6; color: var(--muted); border-top: 1px solid var(--line); }
.browser-example, .terminal-example, .mac-install-example { margin: 22px 0 0; border-radius: 15px; overflow: hidden; background: var(--card); }
.example-titlebar { position: relative; min-height: 30px; padding: 6px 70px; display: flex; justify-content: center; align-items: center; color: var(--muted); font-size: 12px; line-height: 1.5; background: var(--control); }
.window-lights { display: flex; gap: 6px; position: absolute; left: 13px; top: 50%; transform: translateY(-50%); }
.window-lights i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.window-lights i:nth-child(2) { background: #febc2e; }
.window-lights i:nth-child(3) { background: #28c840; }
.download-example { background: #fcfcf9; color: #514b45; padding: 22px 22px 25px; font: 16px/1.5 Georgia, "Times New Roman", serif; letter-spacing: 0; }
.download-example h3 { font: 400 34px/1.2 Georgia, serif; margin-bottom: 22px; text-align: left; }
.download-platforms { display: flex; gap: 0; margin-bottom: 17px; }
.download-platforms span { padding: 10px 17px; background: #ecebe5; font-weight: 600; font-size: 14px; }
.download-platforms span:first-child { border-radius: 7px 0 0 7px; }
.download-platforms span:last-child { border-radius: 0 7px 7px 0; }
.download-platforms .active { background: #f9f9f5; box-shadow: 0 0 0 1px #e4e3dc inset; }
.download-example p { margin-bottom: 13px; }
.download-example a { color: #007d91; font-weight: 600; }
.download-highlight { display: inline-block; border: 2px solid #0083df; border-radius: 6px; padding: 2px 6px; margin: 0 3px 3px 0; }
.download-example h4 { margin: 17px 0 10px; font: 600 20px/1.2 Georgia, serif; }
.browser-example figcaption, .terminal-example figcaption, .mac-install-example figcaption { margin: 0; padding: 11px 14px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.mac-install-body { padding: 27px 24px; text-align: center; }
.mac-install-body > svg { width: 37px; height: 37px; color: var(--blue); margin: 0 auto 16px; }
.mac-install-body h3 { font-size: 21px; letter-spacing: -.025em; }
.mac-install-body p { color: var(--muted); font-size: 15px; margin: 9px 0 19px; }
.example-system-button { display: inline-block; font-size: 14px; color: #fff; background: #0071e3; border-radius: 7px; padding: 6px 20px; }
.terminal-example pre { margin: 0; background: #202020; color: #f4f4f5; padding: 21px 17px; overflow-x: auto; font: 12px/1.8 ui-monospace, "SF Mono", Consolas, monospace; letter-spacing: 0; tab-size: 2; }
.terminal-example pre code { font: inherit; }
.term-muted { color: #aaa; }.term-green { color: #80d990; }.term-blue { color: #70d3f4; }.term-yellow { color: #edcc75; }
.inline-telegram { background: var(--card); border-radius: 18px; padding: 28px 22px; margin-top: 42px; text-align: center; }
.inline-telegram h3 { font-size: 21px; letter-spacing: -.025em; font-weight: 600; }
.inline-telegram p { font-size: 16px; margin: 8px 0 10px; }
.inline-telegram a { font-size: 16px; }
.setup-prompt { display: flex; flex-direction: column; align-items: flex-end; padding: 0 6px 0 18px; margin: 24px 0 18px; }
.setup-prompt .bubble { max-width: 88%; font-size: 17px; background: #007aff; color: #fff; border-bottom-right-radius: 6px; }
.complete-guide .message-status { font-size: 12px; }
.standalone-result { border: 0; background: var(--card); border-radius: 18px; margin-top: 16px; }
.inline-copy { background: none; border: 0; padding: 0; color: var(--blue); font-size: inherit; text-align: left; }
.inline-copy:hover { text-decoration: underline; }
.guide-disclosure { background: var(--card); border-radius: 17px; margin-top: 14px; overflow: hidden; }
.guide-disclosure summary { position: relative; list-style: none; padding: 16px 46px 16px 18px; color: var(--blue); cursor: pointer; font-size: 16px; line-height: 1.5; }
.guide-disclosure summary::-webkit-details-marker { display: none; }
.guide-disclosure summary:after { content: ""; width: 7px; height: 7px; border-right: 1.7px solid var(--muted); border-bottom: 1.7px solid var(--muted); position: absolute; right: 21px; top: 22px; transform: rotate(45deg); }
.guide-disclosure[open] summary:after { transform: rotate(225deg); top: 26px; }
.details-body { border-top: 1px solid var(--line); padding: 17px 18px; }
.details-body > p { font-size: 15px; line-height: 1.6; margin-bottom: 13px; }
.details-body > p:last-child { margin-bottom: 0; }
.details-body .command { background: var(--bg); margin: 10px 0 12px; }
.complete-guide .instruction-intro { margin-bottom: 22px; }
.scenario-explorer { max-width: 560px; margin: 25px auto 0; }
.scenario-tabs { padding: 3px; background: var(--control); border-radius: 9px; display: flex; gap: 1px; }
.scenario-tabs button { flex: 1; min-width: 0; border: 0; border-radius: 7px; padding: 9px 6px; font-size: 14px; line-height: 1.3; color: var(--text); background: none; min-height: 36px; }
.scenario-tabs button[aria-selected="true"] { background: var(--selected); font-weight: 550; box-shadow: 0 1px 5px #00000016; }
.scenario-caption { color: var(--muted); font-size: 14px; text-align: center; margin: 11px 0 16px; }
.scenario-panel { border-radius: 15px; }
.simulator { border-radius: 17px; background: #faf9f6; color: #262624; overflow: hidden; box-shadow: 0 0 0 1px #00000004 inset; }
.sim-titlebar { height: 43px; position: relative; display: flex; justify-content: center; align-items: center; font-size: 13px; font-weight: 550; color: #777772; }
.sim-thread { padding: 17px 17px 0; }
.sim-message { margin: 0 0 19px; font-size: 15px; line-height: 1.5; letter-spacing: -.015em; }
.sim-message.user { display: flex; flex-direction: column; align-items: flex-end; padding-left: 34px; }
.sim-message.user > p, .sim-prompt { background: #eeede6; border-radius: 16px; padding: 9px 13px; text-align: left; max-width: 92%; font-size: 15px; line-height: 1.45; color: inherit; }
.sim-prompt { border: 0; }
.sim-prompt:hover { background: #e7e5da; }
.sim-copy { margin: 4px 0 -7px; padding: 5px; background: none; border: 0; color: #7d7c74; border-radius: 5px; min-width: 29px; min-height: 29px; }
.sim-copy svg { width: 15px; height: 15px; }
.sim-copy:hover { background: #eeede6; }
.copy-button.copy-success, .sim-copy.copy-success { color: var(--green); }
.sim-message.assistant > p { margin: 0; }
.sim-tool { display: flex; align-items: flex-start; gap: 9px; background: #f1f0eb; box-shadow: 0 0 0 1px #deddd7 inset; padding: 9px 11px; border-radius: 9px; margin: 9px 0; line-height: 1.5; }
.sim-tool > span { flex: none; font-size: 12px; font-weight: 550; color: #7b7a72; padding-top: 1px; }
.sim-tool code { min-width: 0; overflow-wrap: anywhere; font: 12px/1.65 ui-monospace, "SF Mono", Consolas, monospace; }
.sim-tool + .sim-message { margin-top: 15px; }
.sim-composer { padding: 0 16px 13px; }
.sim-composer > div { border-radius: 17px; display: flex; gap: 10px; align-items: center; background: #fff; box-shadow: 0 0 0 1px #deddd7 inset, 0 2px 3px #00000005; padding: 11px 12px; font-size: 14px; color: #8b8a84; }
.composer-plus { font-size: 23px; line-height: 1; font-weight: 400; }
.composer-send { display: grid; place-items: center; background: #eeede6; color: #8b8a84; width: 26px; height: 26px; border-radius: 50%; margin-left: auto; }
.composer-send svg { width: 17px; height: 17px; }
.sim-composer > p { display: flex; justify-content: space-between; color: #8b8a84; font-size: 11px; padding: 8px 4px 0; }
html[data-ai="codex"] .simulator { background: #fff; }
html[data-ai="codex"] .sim-message.user > p, html[data-ai="codex"] .sim-prompt { background: #f0f1f3; }
html[data-ai="codex"] .sim-tool { background: #f5f5f7; }
.sim-attachment { max-width: 330px; margin: 5px 0 17px auto; }
.sim-attachment > p { font-size: 11px; color: #777772; margin-top: 6px; }
.broken-preview { border: 1px solid #dfddd6; border-radius: 10px; padding: 15px; height: 150px; background: #e9dfcf; color: #473a29; position: relative; overflow: hidden; }
.mini-brand { font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.broken-preview > strong { display: block; font-size: 25px; margin-top: 17px; line-height: 1.1; max-width: 160px; }
.mini-form { position: absolute; top: 36px; left: 92px; right: 14px; background: #ffffffed; padding: 12px; border-radius: 8px; box-shadow: 0 3px 18px #00000020; font-size: 11px; transform: rotate(-4deg); }
.mini-form input { display: block; width: 100%; background: #fff; color: #777; border: 1px solid #ddd; border-radius: 4px; padding: 5px; margin: 7px 0; font: inherit; }
.mini-form > span { display: block; background: #53755e; color: #fff; border-radius: 4px; padding: 4px; text-align: center; }
.guide-done { font-size: 21px !important; font-weight: 600; line-height: 1.4 !important; text-align: center; text-wrap: balance; margin: 36px auto 0 !important; max-width: 510px; }
@property --club-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.club-glow { position: relative; isolation: isolate; border-radius: 22px; padding: 2px; margin-top: 56px; }
.club-glow:before, .club-glow:after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: conic-gradient(from var(--club-angle),#9b80ff,#81aaff,#ec7dc1,#ff8a69,#ffbe72,#a78bfa); animation: club-glow 9s linear infinite; }
.club-glow:after { inset: -4px; opacity: .4; filter: blur(16px); }
@keyframes club-glow { to { --club-angle: 360deg; } }
.club-content { background: var(--card); border-radius: 20px; padding: 40px 25px 32px; text-align: center; }
.club-content h2 { font-size: 30px; line-height: 1.2; }
.club-content > p { font-size: 16px; line-height: 1.55; margin: 19px auto 0; max-width: 460px; }
.club-content .club-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.lesson-tablet { width: min(100%,360px); margin: 23px auto; padding: 9px; border-radius: 25px; background: #1c1c1e; box-shadow: 0 0 0 2px #414143 inset, 0 15px 28px -15px #00000060; }
.lesson-tablet svg { display: block; width: 100%; height: auto; background: #fcfcfa; color: #262624; border-radius: 16px; stroke-width: 2; }
.lesson-tablet text { fill: currentColor; stroke: none; font: 500 15px var(--font); letter-spacing: -.03em; }
.lesson-tablet .sketch-label { font-size: 14px; }
.lesson-tablet .sketch-blue { stroke: #1686ef; }.lesson-tablet .sketch-orange { stroke: #ff9f0a; }.lesson-tablet .sketch-green { stroke: #2b9b51; fill: none; }.lesson-tablet text.sketch-green { fill: #2b9b51; stroke: none; }
.sketch-stroke { stroke-dasharray: 1; stroke-dashoffset: 0; }
.lesson-tablet.play .sketch-stroke { animation: sketch-draw 1.4s ease-out both; }
.lesson-tablet.play .sketch-blue { animation-delay: .3s; }
.lesson-tablet.play .sketch-green { animation-delay: .6s; }
@keyframes sketch-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.complete-guide .troubleshooting { padding-top: 62px; }
.complete-guide .faq summary { font-size: 16px; padding: 16px 46px 16px 18px; }
.complete-guide .faq summary:after { top: 23px; }
.complete-guide .faq details[open] summary:after { top: 27px; }
.faq-answer { padding: 0 18px 18px; }
.faq-answer > p { color: var(--muted); font-size: 15px; line-height: 1.65; margin-bottom: 13px; }
.faq-answer > p:last-child { margin-bottom: 0; }
.faq-answer .command { background: var(--bg); margin: 10px 0 13px; border-radius: 12px; padding: 8px 12px; }
.faq-answer .copy-bubble { background: #007aff; color: #fff; font-size: 15px; max-width: 100%; margin: 2px 0 11px; }
.faq-action { display: inline-block; border: 0; padding: 8px 0; background: none; color: var(--blue); font-size: 15px; text-align: left; }
.source-details { margin-top: 30px; }
.source-list { list-style: none; padding: 0; margin: 0 0 13px; font-size: 15px; }
.source-list li { margin-bottom: 9px; }
.complete-guide .footer { align-items: flex-start; font-size: 13px; }
.footer-date { margin-top: 6px; }
.share-dialog { width: min(440px,calc(100% - 32px)); border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px; background: var(--card); color: var(--text); box-shadow: 0 20px 80px #00000033; }
.share-dialog::backdrop { background: #00000060; backdrop-filter: blur(4px); }
.share-dialog h2 { font-size: 25px; line-height: 1.25; padding-right: 20px; }
.share-dialog > p { font-size: 15px; color: var(--muted); margin: 14px 0 22px; line-height: 1.6; }
.dialog-close { position: absolute; right: 12px; top: 12px; border: 0; border-radius: 50%; background: var(--bg); color: var(--muted); display: grid; place-items: center; width: 32px; height: 32px; }
.dialog-close svg { width: 17px; height: 17px; }
.share-dialog label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.share-dialog input { width: 100%; border: 1px solid var(--line); padding: 12px; border-radius: 9px; background: var(--bg); color: var(--text); font: 13px/1.5 var(--font); min-width: 0; }
.complete-guide .share-copy { width: 100%; margin: 18px 0 0; color: #fff; background: var(--button); min-height: 44px; font-size: 15px; }
.share-telegram { display: block; margin-top: 17px; text-align: center; font-size: 14px; }
html[data-theme="dark"] .simulator { background: #252520; color: #e9e9e4; }
html[data-theme="dark"] .sim-message.user > p, html[data-theme="dark"] .sim-prompt { background: #37372f; }
html[data-theme="dark"] .sim-prompt:hover { background: #414137; }
html[data-theme="dark"] .sim-tool { background: #2e2e28; box-shadow: 0 0 0 1px #43433a inset; }
html[data-theme="dark"] .sim-tool > span, html[data-theme="dark"] .sim-copy, html[data-theme="dark"] .sim-titlebar, html[data-theme="dark"] .sim-composer > p { color: #b4b4a9; }
html[data-theme="dark"] .sim-composer > div { background: #2a2a24; color: #a8a89d; box-shadow: 0 0 0 1px #49493e inset; }
html[data-theme="dark"] .composer-send { background: #3b3b33; }
html[data-theme="dark"] .lesson-tablet svg { background: #1c1c1e; color: #f2f2f7; }
html[data-theme="dark"][data-ai="codex"] .simulator { background: #1c1c1e; }
html[data-theme="dark"][data-ai="codex"] .sim-prompt, html[data-theme="dark"][data-ai="codex"] .sim-message.user > p { background: #303033; }
html[data-theme="dark"][data-ai="codex"] .sim-tool { background: #262629; box-shadow: 0 0 0 1px #38383c inset; }
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) .simulator { background: #252520; color: #e9e9e4; }
  html:not([data-theme="light"]) .sim-message.user > p, html:not([data-theme="light"]) .sim-prompt { background: #37372f; }
  html:not([data-theme="light"]) .sim-tool { background: #2e2e28; box-shadow: 0 0 0 1px #43433a inset; }
  html:not([data-theme="light"]) .sim-tool > span,
  html:not([data-theme="light"]) .sim-copy,
  html:not([data-theme="light"]) .sim-titlebar,
  html:not([data-theme="light"]) .sim-composer > p { color: #b4b4a9; }
  html:not([data-theme="light"]) .sim-composer > div { background: #2a2a24; color: #aaa; box-shadow: 0 0 0 1px #49493e inset; }
  html:not([data-theme="light"]) .lesson-tablet svg { background: #1c1c1e; color: #f2f2f7; }
  html:not([data-theme="light"])[data-ai="codex"] .simulator { background: #1c1c1e; }
  html:not([data-theme="light"])[data-ai="codex"] .sim-prompt, html:not([data-theme="light"])[data-ai="codex"] .sim-message.user > p { background: #303033; }
}
@media (max-width:600px) {
  .complete-guide .guide-hero { padding-top: 52px; }
  .complete-guide .guide-hero h1 { font-size: clamp(34px,8.5vw,44px); }
  .complete-guide .guide-hero .subtitle { font-size: 22px; }
  .guide-meta { font-size: 14px; margin-top: 14px; }
  .complete-guide .settings { margin-top: 34px; padding: 0 14px; }
  .complete-guide .segmented { width: 218px; }
  .complete-guide .setting-label { font-size: 16px; }
  .complete-guide .setting-row { gap: 12px; }
  .complete-guide .guide-section { padding-top: 48px; }
  .complete-guide .essentials { padding-top: 30px; }
  .complete-guide .guide-section h2 { font-size: 28px; }
  .inset-list li { font-size: 16px; }
  .instruction-list li { font-size: 16px; }
  .complete-guide .copy-button { font-size: 12px; }
  .complete-guide .command { padding: 8px 14px; gap: 10px; }
  .complete-guide .command code { font-size: 12px; }
  .result-row p { font-size: 15px; }
  .browser-example { margin-top: 20px; }
  .download-example { padding: 19px 17px; font-size: 14px; }
  .download-example h3 { font-size: 29px; margin-bottom: 18px; }
  .download-platforms span { padding: 8px 13px; font-size: 13px; }
  .download-example h4 { font-size: 18px; }
  .terminal-example pre { font-size: 11px; padding: 17px 14px; }
  .setup-prompt { padding-left: 0; padding-right: 1px; }
  .setup-prompt .bubble { max-width: 93%; font-size: 16px; }
  .inline-telegram { padding: 26px 18px; margin-top: 34px; }
  .inline-telegram h3 { font-size: 20px; }
  .scenario-tabs button { font-size: 12px; padding: 9px 4px; min-height: 38px; }
  .scenario-caption { font-size: 13px; }
  .sim-thread { padding: 17px 14px 0; }
  .sim-message { font-size: 14px; }
  .sim-message.user { padding-left: 14px; }
  .sim-message.user > p, .sim-prompt { font-size: 14px; max-width: 94%; }
  .sim-tool { padding: 8px; gap: 8px; }
  .sim-tool code { font-size: 11px; }
  .sim-tool > span { font-size: 11px; }
  .sim-composer { padding: 0 12px 10px; }
  .sim-composer > div { font-size: 12px; gap: 8px; padding: 10px; }
  .sim-attachment { max-width: 280px; }
  .guide-done { font-size: 19px !important; }
  .club-glow { margin-top: 45px; }
  .club-content { padding: 32px 19px 27px; }
  .club-content h2 { font-size: 27px; }
  .club-content > p { font-size: 15px; }
  .club-content .button { font-size: 15px; }
  .complete-guide .troubleshooting { padding-top: 48px; }
  .complete-guide .faq summary { font-size: 15px; }
  .faq-answer > p { font-size: 14px; }
  .faq-answer .copy-bubble { font-size: 14px; }
  .faq-answer .command { flex-wrap: wrap; }
  .faq-answer .command code { flex-basis: 100%; }
}
@media (max-width:380px) {
  .complete-guide .settings { padding: 0 12px; }
  .complete-guide .segmented { width: 190px; }
  .complete-guide .setting-label { font-size: 14px; }
  .complete-guide .setting-row { gap: 8px; }
  .complete-guide .command { flex-wrap: wrap; }
  .complete-guide .command code { flex-basis: 100%; }
  .complete-guide .guide-hero .subtitle { font-size: 20px; }
}
@media (max-width:340px) {
  .complete-guide .setting-row { flex-wrap: wrap; gap: 8px; padding: 11px 0; }
  .complete-guide .segmented { width: 100%; }
  .complete-guide .settings-note { font-size: 13px; }
  .complete-guide .guide-hero h1 { font-size: 32px; }
  .complete-guide .nav-inner { padding: 0 12px; }
  .complete-guide .nav-right { gap: 0; }
  .complete-guide .share-guide { font-size: 12px; padding-left: 11px; padding-right: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .club-glow:before, .club-glow:after, .lesson-tablet.play .sketch-stroke { animation: none; }
}
