:root {
  color-scheme: dark;
  --background: #120d24;
  --surface: #1c1430;
  --line: #3c2b53;
  --ink: #f4f1ff;
  --muted: #b2b4cf;
  --violet: #d7b6ff;
  --bright: #a479f1;
  --corner: 20px;
  font-family: "Manrope", "Noto Sans Thai", system-ui, sans-serif;
  line-height: 1.5;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 280px; background: radial-gradient(ellipse 760px 590px at 22% 11%, #291941 0, transparent 75%), var(--background); color: var(--ink); }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
button:focus-visible, a:focus-visible, [tabindex="0"]:focus-visible, input:focus-visible { outline: 2px solid #d5c8ff; outline-offset: 4px; }
[hidden] { display: none !important; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.22em; height: 1.22em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: middle; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 10; top: 12px; left: 12px; background: #342760; padding: 10px 16px; border-radius: 10px; }
.site-header { background: rgb(18 13 36 / 88%); border-bottom: 1px solid #262741; }
.header-inner, .shell { width: min(1240px, calc(100% - 84px)); margin-inline: auto; }
.header-inner { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; background: linear-gradient(145deg, #9e89ff, #6952eb); color: #fff; border-radius: 12px; box-shadow: 0 3px 16px #7855fd50, inset 0 1px 0 #ffffff50; }
.brand-mark .icon { width: 23px; height: 23px; }
.brand strong { display: block; font-size: 1rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.22; }
.brand strong span { color: var(--violet); }
.brand small { display: block; color: var(--muted); font-size: .78rem; margin-top: 2px; }
.outline-btn { display: inline-flex; gap: 8px; align-items: center; background: #1d1b35; border: 1px solid #383457; color: #e8deff; border-radius: 11px; padding: 9px 13px; font-weight: 700; font-size: .875rem; }
.outline-btn .icon { color: var(--violet); }
.outline-btn:hover, .page-btn:hover:not(:disabled) { background: #30294e; border-color: #7865c7; }
.hero { padding: 32px 0 22px; }
.eyebrow { color: #c2afff; margin: 0; display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .875rem; }
.eyebrow .icon { color: #aa91ff; }
.hero h1 { margin: 5px 0 1px; font-size: clamp(2.7rem, 5vw, 4.55rem); line-height: 1.17; letter-spacing: -.057em; font-weight: 800; }
.hero h1 span { color: #b9a5ff; background: linear-gradient(105deg, #edb2fc 15%, #c7a4ff 65%, #a8b4ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { font-size: clamp(1rem, 1.4vw, 1.125rem); color: var(--muted); margin: 9px 0 0; }
.reading-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.reading-modes { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid #42305b; border-radius: 12px; background: #191127; }
.reading-mode { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 12px; border: 1px solid transparent; border-radius: 8px; color: #cfc2df; background: transparent; font-weight: 800; font-size: .875rem; }
.reading-mode:hover { background: #302044; }
.reading-mode[aria-pressed="true"] { background: #4a2e68; color: #fff1ff; border-color: #875caa; }
.rules-link, .rule-card a { font-size: .875rem; color: #efd3ff; font-weight: 800; text-underline-offset: .25em; }
.rules-link:hover, .rule-card a:hover { color: #fff; }
.count-note { margin: 10px 0 15px; color: #cfc2df; font-size: .875rem; }
.count-note strong { color: #edcfff; margin-inline-end: 5px; }
.workspace { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(310px, 1fr); gap: 18px; align-items: stretch; }
.viewer, .lesson { border: 1px solid var(--line); border-radius: var(--corner); }
.viewer { position: relative; min-width: 0; background: linear-gradient(155deg, #211735, #181128 80%); overflow: hidden; }
.viewer-head { position: relative; z-index: 2; padding: 17px 20px 0; display: flex; align-items: center; justify-content: space-between; }
.viewer-label { color: #e4e0f5; font-weight: 700; display: flex; align-items: center; gap: 8px; font-size: .875rem; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #dfa9ff; box-shadow: 0 0 11px #a875ff90; }
.page-counter { padding: 4px 9px; border-radius: 7px; border: 1px solid #383657; background: #1b1c34; font-weight: 800; font-size: .79rem; font-variant-numeric: tabular-nums; letter-spacing: .07em; color: #c8b9fc; }
.scene { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 350px; height: clamp(350px, 29vw, 390px); margin-top: -10px; touch-action: pan-y; }
.scene::before { position: absolute; z-index: -2; inset: 0; content: ""; background: radial-gradient(ellipse at 50% 56%, #6e3c8490, transparent 68%); }
.scene::after { position: absolute; z-index: -1; inset: 0; content: ""; background-image: radial-gradient(circle, #9480d844 1px, transparent 1.3px); background-size: 17px 17px; mask-image: radial-gradient(ellipse at center, #000 26%, transparent 74%); }
.book { position: relative; width: clamp(351px, 43vw, 529px); aspect-ratio: 1.57; transform: perspective(1060px) rotateX(10deg) rotateZ(-3.5deg) translateY(2px); transform-style: preserve-3d; }
.book-shadow { position: absolute; z-index: -1; top: 67%; width: 69%; height: 25%; border-radius: 50%; background: #070718aa; filter: blur(17px); transform: rotate(-4deg); }
.book-underlay { position: absolute; inset: 2px -3px -10px -3px; background: #191239; border: 1px solid #5d4c87; border-radius: 10px 12px 15px 13px; transform: translateZ(-5px); box-shadow: 0 13px 16px #09081984; }
.inside-cover { position: absolute; inset: 0 50% 0 0; display: grid; place-items: center; border-radius: 8px 1px 2px 9px; background: linear-gradient(110deg, #30244c, #251c3d 74%, #19142c); border: 1px solid #54456e; border-right: 0; overflow: hidden; }
.inside-cover::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(115deg, transparent 0 2px, #ffffff08 2px 3px); opacity: .29; }
.inside-frame { display: grid; justify-items: center; align-content: center; gap: 5px; width: 79%; height: 85%; border: 1px solid #b18bf02d; color: #d5c4ff; border-radius: 4px; text-align: center; }
.inside-mark { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 6px; color: #cdb6f8; border: 1px solid #9f83cf66; border-radius: 11px; font-size: 1.3rem; }
.inside-frame strong { font-size: clamp(.55rem, 1vw, .76rem); letter-spacing: .12em; }
.inside-frame small { font-size: clamp(.52rem, .9vw, .72rem); color: #b9a7d9; }
.paper { position: absolute; inset: 0 0 0 50%; border-radius: 1px 9px 9px 1px; background: #fffaf6; box-shadow: 3px 1px 0 #dacbdf, 4px 3px 0 #aaa0bf, 5px 5px 0 #e2d7e8, 6px 7px 0 #9e91b2; }
.paper::after, .sheet-face::after { position: absolute; inset: 0 auto 0 0; width: 15px; content: ""; background: linear-gradient(90deg, #120c2e42, transparent); pointer-events: none; }
.sheet { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; container-type: inline-size; background: #fffaf6; color: #261a37; }
.sheet-inner { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 10%; }
.sheet-section { margin: 0 0 6%; font-size: max(8px, 4.2cqw); font-weight: 800; letter-spacing: .14em; color: #594881; }
.sheet h3 { margin: 0 0 6%; font-size: 12cqw; font-weight: 800; letter-spacing: -.035em; line-height: 1.16; white-space: pre-line; }
.sheet-detail { margin: 0; font-size: 6.4cqw; line-height: 1.45; white-space: pre-line; }
.sheet-folio { position: absolute; bottom: 5%; right: 9%; font-size: max(8px, 4.4cqw); font-weight: 800; color: #584670; }
.cover { background: #201353; color: #fff8ff; }
.cover .sheet-inner { display: grid; grid-template-rows: auto 1fr auto; gap: 4%; padding-top: 11%; background: radial-gradient(ellipse at 79% 49%, #6840b2, transparent 61%), linear-gradient(154deg, #20164d, #35216c 70%, #211453); }
.cover .sheet-section, .cover .sheet-folio { color: #d9c5fd; }
.cover-title { position: relative; z-index: 1; align-self: center; }
.cover-title h3 { font-size: 15.5cqw; line-height: .98; letter-spacing: -.05em; margin-bottom: 4%; }
.cover-title p { font-size: 7cqw; margin: 0; color: #e4d5ff; }
.cover-credit { position: relative; z-index: 1; margin: 0 0 3%; display: grid; font-size: 5.75cqw; line-height: 1.4; }
.cover-credit small { font-size: 4.6cqw; color: #e1ccfb; }
.cover-orbits { z-index: 0; position: absolute; inset: 0; pointer-events: none; }
.cover-orbits::before, .cover-orbits::after, .cover-orbits span { content: ""; position: absolute; width: 110%; height: 38%; left: 12%; top: 33%; border-radius: 50%; border: 1px solid #bd95ff85; transform: rotate(-41deg); }
.cover-orbits::after { transform: rotate(-51deg) scale(1.1); border-color: #c29aff42; }
.cover-orbits span { transform: rotate(-27deg) scale(.91); border-color: #c29aff66; }
.cover-orbits i { position: absolute; top: 30%; left: 79%; color: #efe3ff; font-size: 13cqw; font-style: normal; text-shadow: 0 0 12px #d08cff; line-height: 1; }
.cover-orbits b { position: absolute; top: 69%; left: 64%; color: #eddbff; font-size: 5cqw; }
.sheet:not(.cover) { background: linear-gradient(150deg, color-mix(in srgb, var(--accent), #fff 72%), #fffaf6 65%); }
.sheet-tag-list { display: flex; gap: 4%; flex-wrap: wrap; margin-top: auto; margin-bottom: 8%; }
.sheet-tag { border-radius: 99px; background: #2d1e4814; font-size: max(8px, 4.8cqw); font-weight: 800; padding: 2% 4%; }
.sheet-rows { display: grid; gap: 5cqw; margin-top: 1%; }
.sheet-row { display: grid; gap: 1cqw; font-size: 6cqw; line-height: 1.32; border-left: 3px solid var(--accent); padding-left: 5%; }
.sheet-row strong { color: #554179; font-size: 5.4cqw; }
.sheet.contents .sheet-rows { gap: 3.2cqw; }
.sheet.contents .sheet-row { grid-template-columns: 1fr auto; border-left: 0; border-bottom: 1px solid #59488136; padding: 0 0 2cqw; }
.sheet.tiles .sheet-row { background: #fff9; border-radius: 3px; padding: 2% 5%; }
.sheet.project h3 { font-size: 11cqw; margin-bottom: 4%; }
.project-photo { width: 100%; height: 39cqw; object-fit: cover; object-position: 55% 52%; border-radius: 5px; margin-bottom: 6%; background: #a6d9cd; }
.sheet.project .sheet-detail { font-size: 5.5cqw; }
.poster-art { padding: 7% 4%; margin-bottom: 6%; border-radius: 5px; background: #272754; color: #fff; display: grid; gap: 5px; grid-template-columns: repeat(3, 1fr); text-align: center; }
.poster-art span { display: grid; gap: 2px; justify-items: center; font-size: 5cqw; white-space: nowrap; }
.poster-art b { font-size: 12cqw; line-height: 1; }
.poster-art span:nth-child(1) { color: #c5cbff; }
.poster-art span:nth-child(2) { color: #94e1dc; }
.poster-art span:nth-child(3) { color: #fbe39b; }
.certificate-frame { border: 1px solid #9a742e; outline: 1px solid #c8984250; outline-offset: -5px; padding: 10% 6%; text-align: center; }
.certificate-frame .icon { color: #895d19; font-size: 16cqw; margin-bottom: 4%; }
.certificate-frame h3 { font-size: 9cqw; }
.certificate-frame .sheet-detail { font-size: 5.6cqw; line-height: 1.6; }
.sheet.closing { background: #352161; color: #fcf6ff; }
.sheet.closing .sheet-section, .sheet.closing .sheet-folio { color: #e1cfff; }
.sheet.closing .sheet-inner { justify-content: center; background: radial-gradient(ellipse at bottom right, #7150b7, transparent 65%); }
.sheet.closing .icon { font-size: 17cqw; color: #d3b8ff; margin-bottom: 9%; }
.turn-layer { position: absolute; inset: 0; pointer-events: none; transform: translateZ(2px); transform-style: preserve-3d; }
.turn-sheet { position: absolute; inset: 0 0 0 50%; transform-origin: left center; transform-style: preserve-3d; }
.sheet-face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 1px 9px 9px 1px; }
.sheet-face.back { transform: rotateY(180deg); border-radius: 9px 1px 1px 9px; background: linear-gradient(90deg, #c3aeea, #f0e8fd 73%, #c7b8e6); }
.sheet-face.back::after { inset: 0 0 0 auto; transform: scaleX(-1); }
.viewer-controls { min-height: 44px; display: flex; gap: 14px; align-items: center; justify-content: center; }
.page-btn { width: 42px; height: 42px; display: grid; place-items: center; flex: none; color: #e6dcff; background: #211e3d; border: 1px solid #393455; border-radius: 11px; padding: 0; }
.page-btn .icon { width: 19px; height: 19px; }
.page-btn:disabled { opacity: .42; cursor: default; }
.progress { display: flex; gap: 2px; align-items: center; }
.progress button { border: 0; background: none; padding: 9px 3px; height: 30px; display: grid; place-items: center; }
.progress button::after { content: ""; display: block; width: 9px; height: 4px; border-radius: 20px; background: #5c537b; }
.progress button:hover::after { background: #d1bfff; }
.progress button[aria-current="page"]::after { width: 24px; background: #b197ff; box-shadow: 0 0 10px #bc9aff55; }
.control-hint { text-align: center; color: var(--muted); margin: 5px 10px 16px; font-size: .78rem; }
.lesson { padding: 22px; min-width: 0; background: linear-gradient(160deg, #251a3c, #1c1430 82%); display: flex; flex-direction: column; }
.lesson-number { display: inline-block; background: #322858; color: #ddccff; border: 1px solid #524174; border-radius: 7px; padding: 3px 8px; font-size: .8rem; font-weight: 800; margin: 0 0 10px; }
.lesson h2 { margin: 0; font-size: clamp(1.45rem, 2.1vw, 1.88rem); letter-spacing: -.025em; line-height: 1.22; }
.lesson-header > p:last-child { color: var(--muted); min-height: 48px; margin: 8px 0 16px; font-size: .94rem; }
.tabs { display: flex; border-bottom: 1px solid #363452; gap: 14px; margin-bottom: 12px; }
.tabs button { border: 0; color: var(--muted); background: transparent; padding: 7px 0 9px; font-size: .89rem; white-space: nowrap; border-bottom: 2px solid transparent; font-weight: 700; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: #e2d4ff; border-color: #b898ff; }
.tabs button:hover { color: #f0e6ff; }
.tab-content { min-height: 119px; }
.lesson-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.lesson-points li { display: grid; grid-template-columns: 15px minmax(0, 1fr); gap: 8px; font-size: .94rem; color: #e5e0f4; }
.lesson-points li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: #ab8df4; transform: rotate(45deg); margin: 8px 0 0 2px; }
.example-box { margin: 0; }
.example-box figcaption { color: #c3adfb; font-size: .79rem; font-weight: 700; }
.example-box blockquote { color: #eee9fd; border-inline-start: 2px solid #9b7fe9; padding-inline-start: 10px; margin: 4px 0 0; white-space: pre-line; font-size: .94rem; }
.tip { display: flex; align-items: flex-start; gap: 9px; margin-top: auto; padding: 11px 12px; border-radius: 10px; background: #292446; border: 1px solid #3d345b; }
.tip > .icon { color: #cbb1ff; margin-top: .1em; }
.tip strong { display: block; color: #dbcdff; font-size: .88rem; }
.tip p { margin: 2px 0 0; color: #d0c9e7; font-size: .87rem; line-height: 1.46; }
.tab-content { padding-bottom: 16px; }
.chapter-section { margin-top: 25px; }
.chapter-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.chapter-heading h2 { margin: 0; font-size: 1.18rem; }
.chapter-heading h2 .icon { color: var(--violet); margin-inline-end: 5px; }
.chapter-heading span { color: var(--muted); font-size: .875rem; text-align: right; }
.chapter-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; }
.chapter-list button { width: 100%; height: 100%; min-height: 84px; display: grid; justify-items: start; align-content: center; gap: 5px; text-align: left; padding: 9px; color: #e1def2; border: 1px solid #2c2d4b; border-radius: 11px; background: #181a32; transition: background .18s, border-color .18s; }
.chapter-list button:hover { border-color: #8069c6; background: #252141; }
.chapter-list button[aria-current="page"] { border-color: #927bf0; background: #2a2251; box-shadow: inset 0 0 15px #927bf010; }
.chapter-list button strong { display: block; font-size: .875rem; line-height: 1.18; }
.chapter-list button span { color: var(--accent); font-size: .81rem; font-weight: 800; letter-spacing: .05em; }
.supplement-map { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(0, 1.8fr); align-items: center; gap: 14px; margin-top: 13px; padding: 12px 14px; border: 1px dashed #55406e; border-radius: 12px; }
.supplement-map h3 { margin: 0; color: #ebd6fc; font-size: 1rem; }
.supplement-map p { margin: 2px 0 0; color: var(--muted); font-size: .85rem; }
.supplement-map .chapter-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.supplement-map button { min-height: 46px; justify-items: center; text-align: center; }
.admission-rules { margin-top: 26px; padding: clamp(17px, 3vw, 26px); scroll-margin-top: 15px; border: 1px solid var(--line); border-radius: var(--corner); background: #1c1430; }
.admission-rules h2 { margin: 0; font-size: clamp(1.15rem, 2vw, 1.48rem); line-height: 1.35; }
.admission-rules > p { margin: 5px 0 0; color: var(--muted); }
.rule-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0; }
.rule-card { display: flex; flex-direction: column; align-items: flex-start; padding: 14px 16px; border: 1px solid #4b3761; border-radius: 11px; background: #281d40; }
.rule-card h3 { margin: 6px 0 0; font-size: 1rem; }
.rule-card p { margin: 4px 0 10px; color: #ded5ed; }
.rule-card a { margin-top: auto; }
.rule-tag { color: #edd0fc; font-size: .82rem; font-weight: 800; }
.rules-action strong { color: #edcfff; margin-inline-end: 4px; }
.site-footer { display: flex; align-items: center; justify-content: center; gap: 8px; border-top: 1px solid #282943; margin-top: 24px; padding: 17px 0 26px; color: var(--muted); font-size: .875rem; }
.site-footer p { margin: 0; }
.site-footer .icon { color: #9f8ddf; }
dialog { color: var(--ink); background: #1b1c36; border: 1px solid #514774; border-radius: 18px; padding: clamp(15px, 4vw, 27px); width: min(540px, calc(100% - 30px)); max-height: calc(100% - 26px); box-shadow: 0 20px 70px #05040aab; }
dialog::backdrop { background: #080719bb; backdrop-filter: blur(4px); }
.dialog-top { display: flex; justify-content: space-between; gap: 12px; }
.dialog-top h2 { margin: 4px 0 0; }
#checklist-status { color: var(--violet); font-size: .94rem; margin: 10px 0; }
.checklist-items { display: grid; gap: 7px; }
.checklist-items label { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 9px; padding: 8px; border-radius: 8px; background: #262446; cursor: pointer; }
.checklist-items input { accent-color: #b09aff; width: 18px; height: 18px; margin-top: 4px; }
.dialog-actions { display: flex; justify-content: flex-end; margin-top: 15px; }
.solid-btn { border: 1px solid #c4b2ff; border-radius: 9px; color: #191033; background: #b9a3ff; padding: 8px 13px; font-weight: 800; }
.solid-btn:hover { background: #d3c2ff; }
.no-script { text-align: center; }
@media (max-width: 1040px) {
  .header-inner, .shell { width: calc(100% - 52px); }
  .lesson { padding: 17px; }
  .chapter-list { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .chapter-list button { min-height: 70px; }
}
@media (max-width: 800px) {
  .workspace { grid-template-columns: minmax(0, 1fr); }
  .book { width: min(70vw, 505px); }
  .scene { height: clamp(310px, 58vw, 395px); min-height: 0; }
  .lesson-header > p:last-child { min-height: 0; }
  .lesson { padding: 20px; }
  .tab-content { min-height: 0; }
}
@media (max-width: 520px) {
  .header-inner, .shell { width: calc(100% - 28px); }
  .header-inner { min-height: 65px; gap: 8px; }
  .brand { gap: 6px; }
  .brand-mark { width: 33px; height: 33px; border-radius: 9px; }
  .brand strong { font-size: .86rem; }
  .brand small { font-size: .7rem; }
  .outline-btn { padding: 7px; gap: 4px; font-size: .79rem; }
  .hero { padding: 29px 0 20px; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 3.25rem); }
  .viewer-head { padding: 13px 12px 0; }
  .scene { height: clamp(208px, 65vw, 310px); margin-top: -3px; }
  .book { width: 78%; }
  .inside-mark { width: 28px; height: 28px; margin-bottom: 1px; font-size: .93rem; border-radius: 7px; }
  .viewer-controls { gap: 6px; }
  .page-btn { width: 36px; height: 36px; }
  .progress { gap: 0; }
  .progress button { padding-inline: 3px; }
  .lesson { padding: 16px; }
  .reading-bar { align-items: flex-start; flex-direction: column; gap: 8px; }
  .reading-modes { max-width: 100%; }
  .reading-mode { padding: 7px 8px; }
  .reading-mode .icon { width: 1em; height: 1em; }
  .supplement-map, .rule-cards { grid-template-columns: minmax(0, 1fr); }
  .supplement-map { gap: 8px; }
  .chapter-heading { display: block; }
  .chapter-heading span { display: block; text-align: left; margin-top: 3px; }
  .chapter-list { gap: 6px; }
  .chapter-list button { min-height: 62px; padding: 5px; gap: 3px; }
  .chapter-list button strong { font-size: .78rem; overflow-wrap: anywhere; }
  .site-footer { align-items: flex-start; justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; }
}
.guide-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: end; gap: 6px; }
.guide-actions a { text-decoration: none; }
@media (max-width: 365px) { .guide-actions { max-width: 135px; } .header-inner { padding-block: 7px; } }
