/* Features hub and detail pages. Product-style illustrations in plain HTML/CSS: decorative, each paired with a visible caption. Loaded only on these pages. */
.fx-page{max-width:920px}.fx-page h1{font-size:clamp(2.2rem,6vw,3.6rem);line-height:1.05;margin:6px 0 14px}.fx-page h2{margin:36px 0 12px;font-size:1.35rem}
.fx-lede{font-size:1.125rem;line-height:1.55;max-width:640px;margin:0 0 16px}
.fx-icon{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none;vertical-align:-5px;margin-right:6px}
.fx-hero-cta{margin:4px 0 8px}.fx-cta-row{display:flex;flex-wrap:wrap;gap:10px;margin:28px 0 8px}.fx-cta-row .kh-btn{margin:0}
.fx-grid,.fx-tools,.fx-games,.fx-page .related{list-style:none;margin:0;padding:0}
.fx-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:12px}
.fx-tile{display:flex;flex-direction:column;gap:6px;height:100%;box-sizing:border-box;padding:16px;background:#fffdf7;border:1.5px solid var(--line);border-radius:var(--kh-r);color:inherit;text-decoration:none;position:relative}
.fx-tile:hover{border-color:var(--ink)}.fx-tile:focus-visible{outline:3px solid var(--ink);outline-offset:2px}
.fx-tile .fx-icon{width:28px;height:28px;margin:0 0 4px}.fx-tile-main{display:flex;flex-direction:column;gap:4px}.fx-tile strong{font-size:1.1rem}.fx-tile-main span{line-height:1.45}
.fx-more{margin-top:auto;padding-top:8px;font-weight:700;font-size:14px;min-height:20px}.fx-more::after{content:" →"}
.fx-tools{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:18px 24px}.fx-tool{display:flex;gap:12px}.fx-tool p{margin:2px 0 4px;line-height:1.5}.fx-tool .fx-icon{width:26px;height:26px;margin:2px 0 0}
.fx-feedback{margin-top:36px;padding-top:6px;border-top:1.5px solid var(--line);max-width:620px}.fx-feedback h2{margin-top:22px}
.fx-panels{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin:0}
.fx-panel{min-width:0;margin:0;display:flex;flex-direction:column;gap:8px}.fx-panel figcaption{font-size:14px;line-height:1.45;color:var(--muted)}
.fx-art{min-height:150px;padding:16px;background:#fffdf7;border:1.5px solid var(--line);border-radius:var(--kh-r);display:flex;flex-direction:column;justify-content:center;gap:10px;box-sizing:border-box;overflow:hidden}
.fx-steps{margin:0;padding-left:1.3em;line-height:1.65;max-width:640px}.fx-steps li{margin:6px 0}.fx-fair{max-width:640px;line-height:1.6}
.fx-games{display:flex;flex-wrap:wrap;gap:8px}.fx-games a{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border:1.5px solid var(--line);border-radius:999px;background:#fffdf7;color:inherit;text-decoration:none;font-weight:700;font-size:14px}.fx-games a:hover{border-color:var(--ink)}
.fx-live{min-height:20px;margin-top:10px}
.fx-page .related li{margin:8px 0}.fx-page .related a{display:inline-block;min-height:44px;line-height:1.4;padding:8px 0;color:inherit}
/* illustration parts */
.fx-card,.fx-rcard,.fx-wallet,.fx-day{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.fx-card b,.fx-rcard b{font-size:1.1rem}.fx-score{font-size:2rem;font-weight:700;line-height:1}.fx-rcard small{color:var(--muted)}
.fx-chip{display:inline-block;padding:2px 10px;border-radius:999px;background:var(--green);font-size:12px;font-weight:700}
.fx-btn{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 14px;border:1.5px solid var(--kh-edge);border-radius:var(--kh-r);font-size:13px;font-weight:700;background:#fffdf7}.fx-btn-solid{background:var(--ink);color:#fffef8;border-color:var(--ink)}
.fx-actions,.fx-field,.fx-link,.fx-day{flex-direction:row;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.fx-linkbox{flex:1 1 120px;min-width:0;padding:8px 10px;background:#fff;border:1.5px solid var(--line);border-radius:6px;font-size:12px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fx-arrow{font-size:1.4rem}.fx-vs{display:flex;align-items:center;justify-content:space-around;text-align:center}.fx-vs small{display:block;color:var(--muted);font-size:12px}.fx-vs b{font-size:1.6rem}.fx-vs-mid{color:var(--muted);font-weight:700}
.fx-ghostbox{display:flex;flex-direction:column;gap:8px}.fx-switch{display:inline-block;width:38px;height:22px;border-radius:999px;background:var(--ink);position:relative;vertical-align:middle;margin-right:8px}.fx-switch i{position:absolute;right:3px;top:3px;width:16px;height:16px;border-radius:50%;background:#fffef8}
.fx-switch-label{font-size:13px;font-weight:700}.fx-bar{display:grid;grid-template-columns:48px 1fr 40px;align-items:center;gap:8px;font-size:13px}.fx-track{height:10px;border-radius:999px;background:var(--line);overflow:hidden}.fx-track i{display:block;height:100%;width:var(--w);background:var(--ink)}
.fx-bar.fx-ghost .fx-track i{background:#8a8f84}.fx-pct{text-align:right;color:var(--muted)}
.fx-note{padding:12px;background:var(--yellow);border-radius:6px;font-size:14px;line-height:1.45}
.fx-graph{width:100%;height:auto;max-height:110px}.fx-graph path{fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.fx-graph .g1{stroke:var(--ink)}.fx-graph .g2{stroke:#8a8f84;stroke-dasharray:4 4}
.fx-prog{display:flex;flex-direction:column;gap:14px}.fx-prog-row{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700}.fx-dots{display:flex;gap:6px}.fx-dot{width:14px;height:14px;border-radius:50%;border:2px solid var(--ink);box-sizing:border-box}.fx-dot.on{background:var(--ink)}
.fx-reward{display:flex;align-items:center;gap:12px;font-size:1.5rem}.fx-keyicon{display:inline-flex;width:44px;height:44px;border-radius:50%;background:var(--yellow);align-items:center;justify-content:center}.fx-keyicon svg{width:24px;height:24px;fill:none;stroke:var(--ink);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.fx-wallet small{color:var(--muted)}.fx-wallet b{font-size:2.4rem;line-height:1}.fx-sources{margin:0;padding-left:1.1em;line-height:1.7;font-size:14px}.fx-day{justify-content:space-between;width:100%}
/* motion: subtle, once, and never under reduced motion */
@media(prefers-reduced-motion:no-preference){.fx-track i{animation:fx-grow 1.2s var(--kh-out,ease-out) both}.fx-dot.on{animation:fx-pop .5s ease-out both}}
@keyframes fx-grow{from{width:0}to{width:var(--w)}}@keyframes fx-pop{from{transform:scale(.6)}to{transform:scale(1)}}
@media(max-width:420px){.fx-page h1{font-size:2.1rem}.fx-grid,.fx-tools{grid-template-columns:minmax(0,1fr)}.fx-panels{grid-template-columns:minmax(0,1fr)}}

.fx-link .fx-linkbox{flex:1 1 0}.fx-art>*{max-width:100%}
