@font-face {
  font-family: Rubik;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../external/fonts.gstatic.com/s/rubik/v31/iJWZBXyIfDnIV5PNhY1KTN7Z-Yh-B4i1UA.ttf') format('truetype');
}
@font-face { font-family: Rubik; font-style: normal; font-weight: 500; font-display: swap; src: url('../external/fonts.gstatic.com/s/rubik/v31/iJWZBXyIfDnIV5PNhY1KTN7Z-Yh-NYi1UA.ttf') format('truetype'); }
@font-face { font-family: Rubik; font-style: normal; font-weight: 700; font-display: swap; src: url('../external/fonts.gstatic.com/s/rubik/v31/iJWZBXyIfDnIV5PNhY1KTN7Z-Yh-4I-1UA.ttf') format('truetype'); }
@font-face { font-family: Rubik; font-style: normal; font-weight: 800; font-display: swap; src: url('../external/fonts.gstatic.com/s/rubik/v31/iJWZBXyIfDnIV5PNhY1KTN7Z-Yh-h4-1UA.ttf') format('truetype'); }

:root {
  color-scheme: light;
  --sky: #4dbbc5;
  --sky-light: #dcf5ef;
  --grass: #73cf76;
  --lime: #95df08;
  --yellow: #ffcf00;
  --sand: #ded8a5;
  --paper: #fffdf3;
  --ink: #302d25;
  --muted: #5d6053;
  --border: #c7cba9;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Rubik, Arial, sans-serif; line-height: 1.75; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 3px solid #147783; outline-offset: 6px; }
.site-header { background: var(--sand); border-bottom: 2px solid var(--ink); position: relative; z-index: 2; }
.header-inner { max-width: 1240px; min-height: 90px; margin: auto; padding: 12px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-block; flex-shrink: 0; }
.header-label { font-size: 11px; font-weight: 700; letter-spacing: 1.6px; }
.header-label span { color: #536730; margin: 0 8px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 52px; padding: 13px 23px; text-decoration: none; border: 2px solid var(--ink); border-radius: 7px; font-size: 14px; font-weight: 700; line-height: 1.4; box-shadow: 0 4px 0 var(--ink); transition: transform .15s, box-shadow .15s, background .15s; }
.button-primary { background: var(--yellow); }
.button-primary:hover { background: #ffdf47; }
.button-secondary { background: #f5ffdb; }
.button-secondary:hover { background: #e1f7b9; }
.button:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.button span { font-size: 20px; line-height: 1; }
.hero { position: relative; overflow: hidden; background: var(--sky); border-bottom: 3px solid var(--ink); }
.hero-inner { position: relative; z-index: 1; max-width: 1040px; margin: auto; padding: 66px 32px 86px; text-align: center; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2.2px; margin: 0 0 21px; }
.status-dot { display: inline-block; width: 9px; height: 9px; background: var(--yellow); border: 1px solid var(--ink); margin-right: 8px; }
h1 { max-width: 960px; font-size: clamp(30px, 4.2vw, 52px); font-weight: 800; letter-spacing: -1.8px; line-height: 1.15; margin: 0 auto 24px; text-wrap: balance; }
h1 > span:not(.bird-emoji) { color: #fffde7; text-shadow: 0 2px 0 #245d59; }
.bird-emoji { white-space: nowrap; }
.hero-description { max-width: 730px; font-size: 17px; line-height: 1.8; margin: 0 auto 30px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.hero-note { margin: 24px 0 0; font-size: 12px; font-weight: 500; }
.hero-note span { margin: 0 9px; }
.landscape { position: absolute; inset: auto 0 0; height: 30px; background: var(--grass); border-top: 4px solid #b7efa0; }
.pipe { position: absolute; width: 72px; height: 126px; bottom: 0; background: linear-gradient(90deg,#64b30b 0 18%,#90d825 18% 50%,#c9ff7b 50% 67%,#84d31c 67%); border: 2px solid #476b2c; }
.pipe::before { content: ''; position: absolute; top: -5px; left: -9px; right: -9px; height: 30px; background: inherit; border: 2px solid #476b2c; }
.pipe-left { left: max(2%,calc((100vw - 1200px)/2)); }
.pipe-right { right: max(2%,calc((100vw - 1200px)/2)); height: 88px; }
.page-content { width: min(100% - 48px, 1000px); margin: 0 auto; }
.introduction { padding-top: 42px; }
.intro-text { font-size: 18px; line-height: 1.9; margin: 0 0 32px; }
.game-facts { display: grid; grid-template-columns: repeat(4,1fr); background: #f1f1db; border: 1px solid var(--border); border-radius: 8px; margin: 0 0 32px; overflow: hidden; }
.game-facts div { padding: 18px 20px; border-right: 1px solid var(--border); }
.game-facts div:last-child { border-right: 0; }
.game-facts dt { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 5px; }
.game-facts dd { margin: 0; font-weight: 700; font-size: 19px; }
.game-image { margin: 30px 0; }
.game-image img { width: 100%; border: 2px solid var(--ink); border-radius: 9px; background: var(--sky); }
figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; text-align: center; }
.article-section { padding: 40px 0; border-bottom: 1px solid var(--border); }
.section-heading { display: flex; align-items: flex-start; gap: 17px; margin-bottom: 25px; }
.section-number { display: flex; align-items: center; justify-content: center; flex: 0 0 38px; height: 38px; background: var(--lime); border: 1px solid var(--ink); border-radius: 5px; box-shadow: 0 2px 0 var(--ink); font-size: 13px; font-weight: 700; }
h2 { font-size: clamp(23px,2.8vw,31px); line-height: 1.3; letter-spacing: -.8px; margin: 0; text-wrap: balance; }
.article-section p { font-size: 16px; margin: 0 0 20px; line-height: 1.9; }
.article-section > p:last-child { margin-bottom: 0; }
.steps { background: #eef6dc; border-left: 4px solid #86bd31; padding: 22px 28px 22px 50px; border-radius: 0 8px 8px 0; margin: 28px 0; }
.steps li { padding: 5px 0 5px 8px; }
.steps li::marker { color: #526f29; font-weight: 700; }
.mode-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0 0; }
.mode { border: 1px solid var(--border); border-top: 5px solid var(--lime); padding: 24px; background: #f1f7df; border-radius: 7px; }
.mode.hard { border-top-color: var(--yellow); background: #fbf2ce; }
.mode > span { font-size: 11px; font-weight: 800; letter-spacing: 2px; }
.mode strong { display: block; font-size: 26px; margin: 5px 0; }
.mode p { font-size: 14px; margin: 0; }
.inline-action { margin: 26px 0 4px; }
.faq details { background: #f2f3e6; border: 1px solid var(--border); border-radius: 7px; margin: 12px 0; }
.faq summary { list-style: none; position: relative; cursor: pointer; padding: 21px 55px 21px 23px; font-weight: 600; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 23px; top: 17px; font-size: 24px; color: #53772c; }
.faq details[open] summary::after { content: '−'; }
.faq details[open] { background: #f6f8ec; }
.faq details p { padding: 0 23px 24px; margin: 0; font-size: 15px; }
.closing-cta { display: flex; align-items: center; gap: 24px; background: var(--sky-light); border: 2px solid var(--ink); border-radius: 10px; margin: 44px 0 60px; padding: 30px; }
.closing-cta > img { flex: 0 0 64px; width: 64px; }
.closing-cta > div { flex: 1; }
.closing-cta .eyebrow { margin-bottom: 7px; font-size: 10px; }
.closing-cta h2 { font-size: 24px; }
.closing-cta p:last-child { font-size: 13px; margin: 8px 0 0; }
.closing-cta .button { white-space: nowrap; }
.site-footer { background: var(--sand); border-top: 2px solid var(--ink); }
.footer-inner { max-width: 1056px; margin: auto; padding: 34px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer-brand p { font-size: 12px; margin: 6px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; align-content: center; justify-content: flex-end; gap: 12px 22px; max-width: 440px; }
.text-link { font-size: 12px; text-underline-offset: 4px; }
.text-link:hover { text-decoration-thickness: 2px; }
.responsible { width: 100%; border-top: 1px solid #adae80; margin: 0; padding-top: 20px; font-size: 12px; }
.responsible span { display: inline-block; border: 1px solid var(--ink); border-radius: 50%; padding: 3px 5px; margin-right: 9px; font-weight: 700; }
@media (max-width: 760px) {
  .header-label { display: none; }
  .header-inner { min-height: 76px; padding: 10px 20px; gap: 16px; }
  .header-inner .brand img { width: 180px; }
  .header-inner .button { min-height: 44px; padding: 9px 14px; font-size: 12px; gap: 8px; }
  .hero-inner { padding: 44px 24px 66px; }
  h1 { letter-spacing: -.9px; }
  .hero-description { font-size: 15px; }
  .pipe { width: 36px; height: 55px; }
  .pipe-right { height: 42px; }
  .pipe::before { height: 18px; left: -5px; right: -5px; }
  .game-facts { grid-template-columns: 1fr 1fr; }
  .game-facts div:nth-child(2) { border-right: 0; }
  .game-facts div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .closing-cta { flex-wrap: wrap; padding: 24px; }
  .closing-cta > div { flex-basis: calc(100% - 100px); }
  .closing-cta .button { width: 100%; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 440px) {
  .header-inner { padding: 10px 16px; }
  .header-inner .brand img { width: 154px; }
  .header-inner .button span { display: none; }
  .page-content { width: calc(100% - 36px); }
  .hero-inner { padding-inline: 18px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-note { font-size: 10px; }
  .hero-note span { margin: 0 5px; }
  .intro-text { font-size: 16px; }
  .game-facts div { padding: 15px; }
  .game-facts dd { font-size: 17px; }
  .article-section { padding: 32px 0; }
  .article-section p { font-size: 15px; }
  .section-heading { gap: 12px; }
  .section-number { flex-basis: 32px; height: 32px; }
  .mode-comparison { grid-template-columns: 1fr; gap: 12px; }
  .game-image img { border-radius: 5px; }
  .closing-cta > img { display: none; }
  .closing-cta { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { .button { transition: none; } }

/* Editorial revision: quiet hero, article tables, author and service pages. */
.hero-simple .hero-inner { padding: 70px 28px 76px; max-width: 1040px; }
.hero-simple h1 { max-width: 940px; font-size: clamp(30px,4vw,50px); }
.creation-year { font-size: 18px; letter-spacing: 3px; margin: 22px 0 28px; }
.introduction > p { font-size: 18px; line-height: 1.9; margin: 0 0 30px; }
.article-section > h2 { margin-bottom: 26px; }
.inline-action { display: flex; justify-content: center; margin: 34px 0 8px; }
.table-scroll { overflow-x: auto; margin: 28px 0; border: 1px solid var(--border); border-radius: 8px; background: #fafbf1; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 15px; }
th, td { padding: 14px 20px; border-bottom: 1px solid var(--border); vertical-align: top; }
thead { background: #e5edc7; }
tbody th { font-weight: 500; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:nth-child(even) { background: #f0f3e2; }
.author-card { display: flex; align-items: center; gap: 26px; padding: 30px; border: 1px solid var(--border); border-radius: 10px; background: #eef5e3; margin: 42px 0 56px; }
.author-card > img { width: 112px; height: 112px; flex: 0 0 112px; object-fit: cover; object-position: 50% 30%; border-radius: 50%; border: 3px solid #fffdf3; }
.author-label { font-size: 10px; letter-spacing: 2px; margin: 0 0 8px; font-weight: 700; color: var(--muted); }
.author-card h2 { font-size: 26px; }
.author-card div > p:last-child { margin: 8px 0 0; font-size: 14px; }
.responsibility-organisations { width: 100%; padding: 24px 24px 16px; background: transparent; border-radius: 8px; }
.organisations-label { margin: 0 0 24px; text-align: center; font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; color: #696969; }
.responsibility-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 36px; }
.responsibility-logos a { display: flex; align-items: center; justify-content: center; width: 240px; min-height: 66px; }
.responsibility-logos img { max-width: 220px; max-height: 62px; width: auto; height: auto; object-fit: contain; filter: grayscale(1) brightness(.48); mix-blend-mode: multiply; }
.responsible-badge { gap: 10px; text-decoration: none; color: #555; }
.responsible-badge > span { display: grid; place-items: center; width: 57px; height: 57px; border: 4px solid #555; border-radius: 50%; font-size: 23px; font-weight: 800; }
.responsible-badge strong { font-size: 17px; line-height: 1.2; }
.organisation-note { text-align: center; color: #777; font-size: 10px; margin: 24px 0 0; }
.rights { width: 100%; margin: 0; padding-top: 18px; border-top: 1px solid #adae80; font-size: 12px; color: #555543; }
.hero-simple { background: #4dbbc5 url('../images/tappy-hero-city.svg') repeat-x center bottom; background-size: 1600px 240px; }
.hero-simple .hero-inner { padding: 108px 32px 150px; max-width: 1000px; }
.hero-simple h1 { font-size: clamp(30px,3.5vw,48px); text-shadow: 0 1px 0 #a7e7df; }
.hero-art { position: absolute; inset: 0; pointer-events: none; }
.scene-pipe { position: absolute; width: 112px; height: 175px; border: 6px solid #362532; background: linear-gradient(90deg,#259e27 0 10%,#38d82c 10% 22%,#a1ff83 22% 27%,#e9ffde 27% 35%,#4df137 35% 67%,#2abe29 67% 74%,#3ede2f 74% 90%,#209623 90%); box-shadow: inset 0 0 0 3px #77ff6b, 3px 3px 0 #b5f4d56b; }
.scene-pipe::after { content: ''; position: absolute; left: -12px; right: -12px; bottom: -6px; height: 48px; background: inherit; border: 6px solid #362532; box-shadow: inset 0 0 0 3px #77ff6b, 0 3px 0 #b5f4d56b; }
.pipe-top-left { left: 6%; top: -6px; }
.pipe-top-middle { left: calc(50% - 56px); top: -6px; height: 58px; }
.pipe-top-right { right: 6%; top: -6px; height: 195px; }
.pipe-bottom-left { left: 6%; bottom: -6px; height: 82px; }
.pipe-bottom-right { right: 6%; bottom: -6px; height: 136px; }
.pipe-bottom-left::after,.pipe-bottom-right::after { top: -6px; bottom: auto; }
.hero-bird { position: absolute; left: 20%; bottom: 62px; width: 102px; height: 78px; image-rendering: pixelated; }
@media (min-width: 761px) and (max-width: 1200px) {
  .hero-simple .hero-inner { max-width: 78%; }
  .scene-pipe { width: 74px; }
  .pipe-top-left,.pipe-bottom-left { left: 3%; }
  .pipe-top-right,.pipe-bottom-right { right: 3%; }
}
@media (max-width: 760px) {
  .hero-simple .hero-inner { padding: 108px 24px 148px; }
  .hero-simple h1 { font-size: clamp(29px,6vw,40px); }
  .scene-pipe { width: 54px; border-width: 4px; }
  .scene-pipe::after { height: 30px; border-width: 4px; left: -8px; right: -8px; }
  .pipe-top-left { left: 6%; height: 70px; }
  .pipe-top-right { right: 6%; height: 86px; }
  .pipe-top-middle { left: calc(50% - 27px); height: 38px; }
  .pipe-bottom-left { left: 5%; height: 54px; }
  .pipe-bottom-right { right: 5%; height: 96px; }
  .hero-bird { width: 78px; height: 60px; bottom: 45px; left: 28%; }
  .hero-simple { background-size: auto 160px; }
}
.service-page { padding-top: 38px; padding-bottom: 64px; }
.service-page h1 { margin: 32px 0 10px; font-size: clamp(28px,4vw,42px); text-align: left; overflow-wrap: anywhere; }
.service-page h2 { font-size: 24px; margin: 32px 0 14px; }
.service-page p, .service-page li { line-height: 1.9; }
.service-page a { text-underline-offset: 4px; }
.updated, .back-link { font-size: 13px; color: var(--muted); }
@media (max-width: 600px) {
  .hero-simple .hero-inner { padding: 108px 20px 148px; }
  .hero-simple .hero-actions { align-items: center; }
  .hero-simple .hero-actions .button { width: auto; min-width: 220px; }
  .introduction > p { font-size: 16px; }
  table { font-size: 13px; }
  th, td { padding: 12px; overflow-wrap: anywhere; }
  .author-card { padding: 22px 18px; gap: 18px; }
  .author-card > img { width: 80px; height: 80px; flex-basis: 80px; }
  .author-card h2 { font-size: 23px; }
  .author-card div > p:last-child { font-size: 12px; }
  .responsibility-organisations { padding: 20px 12px; }
  .responsibility-logos { gap: 20px 14px; }
  .responsibility-logos a { width: 100%; }
  .footer-links { max-width: none; width: 100%; flex-direction: column; gap: 12px; }
}

/* Shared, pinned article navigation. */
.site-header { position: sticky; top: 0; z-index: 30; }
.header-inner { max-width: 1280px; display: grid; grid-template-columns: 190px minmax(0,1fr) auto; gap: 24px; }
.header-inner .brand img { width: 190px; }
.article-menu { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; align-items: stretch; }
.article-menu-link { min-height: 43px; display: flex; align-items: center; justify-content: center; padding: 8px 6px; font-size: 13px; line-height: 1.25; font-weight: 500; text-align: center; text-decoration: none; border: 1px solid #30838b; border-radius: 5px; background: var(--sky); }
.article-menu-link:hover, .article-menu-link:focus-visible { background: var(--yellow); border-color: var(--ink); }
.article-menu-link[aria-current="page"] { border-color: var(--ink); font-weight: 700; box-shadow: inset 0 -3px 0 var(--ink); }
.inline-action { width: 100%; justify-content: center; text-align: center; margin: 30px auto; }
.inline-action .button { flex: 0 1 auto; width: auto; min-width: 220px; max-width: 100%; margin: 0; }
.inline-link { color: #126574; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.inline-link:hover { color: #2f4f14; background: #fff0a0; }
.button[type="button"] { font-family: inherit; cursor: pointer; }
.demo-is-open { overflow: hidden; }
.demo-dialog { position: fixed; inset: 0; margin: 0; padding: 0; border: 0; border-radius: 0; width: 100%; height: 100vh; height: 100dvh; max-width: none; max-height: none; overflow: hidden; background: #14232a; color: var(--ink); }
.demo-dialog::backdrop { background: rgb(15 26 30 / 78%); }
.demo-dialog-shell { height: 100%; display: flex; flex-direction: column; }
.demo-dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: max(2px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 2px max(12px, env(safe-area-inset-left)); background: var(--sky); flex-shrink: 0; }
.demo-dialog-header h2 { margin: 0; font-size: 17px; letter-spacing: 0; }
.demo-close { width: 42px; height: 42px; background: #fff; border: 1px solid var(--ink); border-radius: 6px; cursor: pointer; font-size: 30px; line-height: 1; }
.demo-close:focus-visible { outline: 3px solid #302d25; outline-offset: 3px; }
.demo-game-area { flex: 1; min-height: 0; }
.demo-game-area iframe { width: 100%; height: 100%; border: 0; display: block; }
.demo-dialog-footer { flex-shrink: 0; display: flex; justify-content: center; padding: 6px max(12px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left)); background: #fff; }
.demo-dialog-footer .button { min-height: 42px; padding: 8px 20px; font-size: 14px; box-shadow: 0 2px 0 var(--ink); }
@media (max-width: 600px) {
 .demo-dialog-footer .button { width: 100%; max-width: 340px; }
}
.secondary-content { padding-top: 40px; }
.secondary-guide > p { font-size: 18px; line-height: 1.9; }
.secondary-faq { background: #f2f3e6; border: 1px solid var(--border); border-radius: 7px; padding: 20px 24px; }
.secondary-faq summary { cursor: pointer; font-weight: 600; }
.secondary-faq p { margin: 20px 0 0; }
:is(.article-section,.author-card,.service-page h2) { scroll-margin-top: 140px; }
@media (max-width: 1000px) {
  .header-inner { grid-template-columns: 1fr auto; gap: 12px; padding: 10px 20px 12px; }
  .article-menu { grid-column: 1 / -1; grid-row: 2; }
  .header-play { grid-column: 2; grid-row: 1; }
  .header-inner .brand img { width: 176px; }
  .header-inner .header-play { min-height: 42px; padding: 9px 20px; }
}
@media (max-width: 440px) {
  .header-inner { padding: 8px 12px 10px; gap: 9px; }
  .header-inner .brand img { width: 154px; }
  .article-menu { gap: 4px; }
  .article-menu-link { min-height: 39px; font-size: 10px; padding: 7px 2px; }
  .secondary-guide > p { font-size: 16px; }
}

.article-layout { width: min(100% - 48px, 1280px); display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 44px; padding-top: 28px; align-items: start; }
.article-reading { min-width: 0; }
.article-reading .introduction { padding-top: 18px; }
.article-reading > .secondary-guide { padding-top: 20px; }
.article-sidebar { position: sticky; top: 116px; padding-top: 8px; max-height: calc(100vh - 136px); overflow-y: auto; }
.article-toc { padding: 23px 20px; background: #eef3da; border: 1px solid var(--border); border-radius: 8px; }
.article-toc h2 { font-size: 17px; margin: 0 0 17px; letter-spacing: 0; }
.article-toc ol { list-style: none; margin: 0; padding: 0; }
.article-toc li + li { border-top: 1px solid #d6ddbd; }
.article-toc li a { display: block; padding: 11px 0; font-size: 13px; line-height: 1.5; text-decoration: none; }
.article-toc li a:hover { color: #126574; text-decoration: underline; text-underline-offset: 3px; }
.toc-home { display: block; margin-top: 16px; padding: 11px; border: 1px solid #30838b; background: var(--sky); border-radius: 5px; text-align: center; font-size: 12px; font-weight: 700; text-decoration: none; }
.toc-home:hover { background: var(--yellow); }
.breadcrumbs { font-size: 12px; color: var(--muted); margin: 0 0 20px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 10px; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: '›'; margin-right: 10px; }
.breadcrumbs a { text-underline-offset: 3px; }
.guide h2[id] { scroll-margin-top: 150px; }
@media (max-width: 1100px) {
 .article-layout { grid-template-columns: minmax(0,1fr) 220px; gap: 24px; }
 .article-sidebar { top: 156px; max-height: calc(100vh - 176px); }
}
@media (max-width: 800px) {
 .article-layout { display: flex; flex-direction: column; gap: 22px; width: calc(100% - 36px); }
 .article-sidebar { order: -1; position: static; width: 100%; max-height: none; overflow: visible; padding: 0; }
 .article-toc { padding: 18px 20px; }
 .article-toc ol { columns: 2; column-gap: 22px; }
 .article-toc li { break-inside: avoid; }
 .article-toc li a { font-size: 12px; padding: 8px 0; }
 .article-reading { width: 100%; }
 .toc-home { display: inline-block; }
}
@media (max-width: 600px) {
 .article-menu { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
 .article-menu-link { min-height: 36px; font-size: 11px; }
 .guide h2[id] { scroll-margin-top: 180px; }
}
