:root {
  color-scheme: light;
  --ink: #152821;
  --muted: #4d6258;
  --paper: #f7f9f5;
  --white: #fff;
  --line: #dbe5dc;
  --green: #146443;
  --dark: #103a2a;
  --mint: #e5f4e7;
  --shadow: 0 14px 44px rgba(25, 62, 40, .07);
  font: 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); }
main { min-height: 62vh; }
a { color: var(--green); text-underline-offset: .24em; }
a:hover { color: var(--dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #2c9568; outline-offset: 3px; }
p { color: var(--muted); margin: 0 0 1em; overflow-wrap: anywhere; }
h1, h2, h3 { margin: 0 0 .45em; line-height: 1.12; letter-spacing: -.04em; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.25rem; }
svg { flex: 0 0 auto; vertical-align: middle; }
code { font-size: .84rem; overflow-wrap: anywhere; }
.wrap { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 10; inset: .5rem auto auto .5rem; background: var(--white); padding: .6rem 1rem; }
.site-header { background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line); }
.nav, .footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; min-height: 78px; }
.nav nav, .footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.55rem; align-items: center; }
.nav nav a, .nav .link-button, .footer nav a { font-size: .91rem; font-weight: 650; color: var(--ink); text-decoration: none; }
.nav nav a:hover, .footer nav a:hover, .nav .link-button:hover { color: var(--green); text-decoration: underline; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-weight: 800; letter-spacing: -.03em; font-size: 1.13rem; color: var(--ink); line-height: 1.05; }
.brand small { display: block; font-size: .61rem; letter-spacing: .12em; margin-top: .35rem; color: var(--muted); font-weight: 750; }
.mark { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--dark); }
.nav nav a[aria-current="page"] { border: 1px solid var(--line); background: #f5faf5; padding: .55rem .85rem; border-radius: 9px; color: var(--green); }
.hero { background: radial-gradient(ellipse at 81% 22%, #deeee0 0, transparent 54%), linear-gradient(132deg, #f2f7ed, #f9fbf6 63%, #e5f1e4); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; min-height: 490px; align-items: center; padding-block: 3.75rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .52rem; font-weight: 820; letter-spacing: .145em; font-size: .72rem; color: var(--green); margin-bottom: .85rem; }
.eyebrow i, .float-tag i { width: 8px; height: 8px; background: #39a374; border-radius: 50%; box-shadow: 0 0 0 4px #d5ebda; }
.hero h1 { font-size: clamp(2.8rem, 5.2vw, 5.45rem); line-height: .99; letter-spacing: -.078em; margin-bottom: .3em; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero-copy, .lead { color: var(--muted); font-size: clamp(1.02rem, 2vw, 1.18rem); max-width: 60ch; }
.developer-identity { display: flex; align-items: center; gap: .8rem; line-height: 1.3; }
.developer-identity small, .developer-identity strong { display: block; }
.developer-identity small { color: var(--muted); }
.developer-portrait { display: grid; place-items: center; width: 52px; height: 52px; flex: 0 0 auto; object-fit: cover; object-position: center 38%; border: 2px solid var(--white); border-radius: 50%; background: var(--mint); color: var(--dark); font-weight: 800; box-shadow: 0 0 0 1px var(--line); }
.hero-developer { width: fit-content; padding: .38rem .75rem .38rem .4rem; border: 1px solid var(--line); border-radius: 99px; background: var(--white); text-decoration: none; }
.hero-developer:hover { border-color: #9ac3a9; }
.hero-developer .developer-portrait { width: 42px; height: 42px; }
.hero-developer svg { margin-left: .25rem; }
.about-developer { gap: 1.1rem; margin-block: 1rem 1.4rem; }
.about-developer .developer-portrait { width: clamp(68px, 15vw, 108px); height: clamp(68px, 15vw, 108px); font-size: 1.3rem; }
.about-developer .eyebrow { margin-bottom: .38rem; }
.about-developer h2 { margin: 0 0 .35rem; }
.about-developer p { margin: 0; }
.profile-settings { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); align-items: start; gap: 1rem; }
.profile-remove { margin-top: .75rem; }
.sponsored-list { display: grid; justify-items: center; gap: 1rem; }
.sponsored-banner { width: min(100%, var(--banner-width)); min-width: min(100%, 180px); border: 1px solid var(--line); border-radius: 14px; background: var(--white); overflow: hidden; }
.sponsored-banner a { display: block; text-decoration: none; }
.sponsored-banner a:focus-visible { outline-offset: -3px; }
.sponsored-banner img { display: block; max-width: 100%; max-height: min(70vh, 720px); width: auto; height: auto; margin-inline: auto; }
.sponsored-banner span { display: block; padding: .7rem 1rem; font-weight: 750; overflow-wrap: anywhere; }
.sponsored-banner small { display: block; color: var(--muted); font-weight: 600; }
.submission-banner-preview { display: block; max-width: min(100%, 540px); max-height: 330px; object-fit: contain; margin-bottom: 1rem; border-radius: 10px; }
.submission-review .section-title h2 { margin-bottom: 0; }
.developer-social, .footer .developer-social { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.developer-social a, .footer .developer-social a { display: inline-flex; align-items: center; gap: .32rem; min-height: 36px; padding: .3rem .64rem; border: 1px solid var(--line); border-radius: 99px; background: var(--white); color: var(--green); font-size: .86rem; font-weight: 700; text-decoration: none; }
.developer-social a:hover, .footer .developer-social a:hover { border-color: #9ac3a9; background: var(--mint); text-decoration: underline; }
.footer .developer-social { flex-basis: 100%; border-top: 1px solid var(--line); padding-top: .75rem; }
.prose .developer-social { margin-bottom: 1.25rem; }
.search-box { display: flex; align-items: center; gap: .5rem; padding: .38rem .38rem .38rem .8rem; border: 1px solid var(--line); border-radius: 13px; background: var(--white); color: var(--green); box-shadow: var(--shadow); max-width: 530px; margin-top: 1.7rem; }
.search-box input { border: 0; min-width: 0; flex: 1; padding: .6rem .3rem; border-radius: 5px; }
.hero-links { display: flex; gap: .75rem 1.4rem; align-items: center; flex-wrap: wrap; margin-top: 1.35rem; }
.hero-links a, .text-link { font-weight: 750; font-size: .9rem; }
.hero-links a:first-child, .text-link { display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; }
.hero-links a:first-child:hover, .text-link:hover { text-decoration: underline; }
.hero-art { height: 350px; position: relative; display: grid; place-items: center; isolation: isolate; }
.orbit { position: absolute; width: 95%; height: 72%; border: 1px solid #aac6b4; border-radius: 50%; transform: rotate(-23deg); z-index: -1; }
.o2 { width: 78%; height: 59%; }
.o3 { width: 60%; height: 46%; }
.float-card { border: 1px solid #c8e1ce; background: rgba(255, 255, 255, .96); border-radius: 17px; box-shadow: 0 16px 40px rgba(20, 82, 53, .14); }
.float-main { width: min(64%, 260px); padding: 1.1rem; display: grid; gap: .45rem; justify-items: center; transform: rotate(-7deg); animation: enter .7s ease both; }
.float-main strong { font-size: 1.12rem; }
.float-main small { text-align: center; color: var(--muted); font-size: .72rem; }
.float-tag { justify-self: start; display: inline-flex; align-items: center; gap: .55rem; color: var(--green); font-size: .65rem; font-weight: 800; letter-spacing: .12em; }
.float-tag i { width: 6px; height: 6px; }
.cube { width: 94px; height: 94px; border-radius: 24px; display: grid; place-items: center; color: #e7f8e9; background: linear-gradient(145deg, #278861, #16442e); margin-block: .55rem; }
.fake-progress { width: 100%; height: 6px; margin-top: .5rem; border-radius: 99px; background: var(--mint); }
.fake-progress b { display: block; width: 74%; height: 100%; border-radius: inherit; background: #68ad86; }
.float-small { position: absolute; display: flex; align-items: center; gap: .65rem; padding: .6rem .85rem; color: var(--green); font-size: .78rem; line-height: 1.25; font-weight: 800; }
.float-small small { color: var(--muted); font-weight: 600; }
.float-small.top { top: 12%; right: 2%; transform: rotate(5deg); }
.float-small.bottom { bottom: 12%; left: 0; transform: rotate(-4deg); }
@keyframes enter { from { opacity: 0; transform: translateY(12px) rotate(-4deg); } to { opacity: 1; transform: translateY(0) rotate(-7deg); } }
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 16px; background: var(--white); margin-top: 1.25rem; box-shadow: var(--shadow); }
.highlights > div { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.25rem; }
.highlights > div + div { border-left: 1px solid var(--line); }
.highlights svg { color: var(--green); }
.highlights strong, .highlights small { display: block; }
.highlights small { color: var(--muted); }
.section { padding-block: 3.2rem; }
.section.tight { padding-top: 0; }
.section-title { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.2rem; }
.section-title h1, .section-title h2, .section-title p { margin-bottom: 0; }
.page-title { font-size: clamp(2.35rem, 5vw, 4.3rem); letter-spacing: -.065em; }
.button { font: inherit; font-weight: 750; font-size: .9rem; padding: .7rem 1rem; border: 1px solid transparent; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; gap: .48rem; cursor: pointer; text-decoration: none; text-align: center; min-height: 43px; transition: background .17s, box-shadow .17s, transform .17s; }
.button:hover { transform: translateY(-1px); box-shadow: 0 5px 13px rgba(23, 66, 45, .12); }
.primary { color: #fff; background: var(--dark); }
.primary:hover { color: #fff; background: var(--green); }
.secondary { border-color: var(--line); color: var(--green); background: var(--white); }
.danger { border-color: #ead4d0; color: #842d25; background: #fff9f8; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.app-card, .panel { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem; box-shadow: var(--shadow); min-width: 0; }
.app-card { display: flex; flex-direction: column; transition: transform .18s, border-color .18s; }
.app-card:hover { transform: translateY(-4px); border-color: #9ac3a9; }
.app-card h3 { margin-top: .9rem; }
.app-card h3 a { color: var(--ink); text-decoration: none; }
.app-card h3 a:hover { text-decoration: underline; }
.app-card p { flex: 1; }
.app-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--mint); color: var(--green); }
.card-top, .card-foot { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.card-foot { padding-top: .7rem; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.arrow-link { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--mint); }
.pill { background: #f2f6f1; border: 1px solid var(--line); border-radius: 99px; color: var(--ink); display: inline-flex; align-items: center; padding: .3rem .68rem; font-size: .82rem; font-weight: 660; text-decoration: none; max-width: 100%; overflow-wrap: anywhere; }
.pill.selected, a.pill:hover { background: var(--mint); border-color: #b3d4bc; color: var(--green); }
.filters, .actions { display: flex; gap: .45rem; flex-wrap: wrap; margin-block: 1.2rem; }
.empty { background: #fff; border: 1px dashed #b8ccbe; border-radius: 16px; padding: 2rem; text-align: center; }
.empty h2, .empty h3 { margin: .7rem 0 .4rem; }
.empty p, .support-banner p { margin-bottom: 0; }
.support-banner { display: flex; gap: 1rem; justify-content: space-between; align-items: center; flex-wrap: wrap; background: linear-gradient(110deg, #e5f3e4, #f2f8ee); border: 1px solid var(--line); border-radius: 17px; padding: 1.8rem; }
.site-footer { background: #eef4ee; border-top: 1px solid var(--line); }
.footer { padding-block: 1.35rem; }
.footer p { margin: .18rem 0 0; font-size: .85rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; color: var(--muted); font-size: .88rem; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(255px, 1fr); gap: 1.6rem; align-items: start; }
.detail-main > .app-icon { margin-bottom: .65rem; }
.download-panel { position: sticky; top: 1rem; }
.download-button { width: 100%; margin-bottom: 1rem; }
.download-panel details { margin-bottom: .8rem; }
details code { display: block; margin-top: .35rem; }
summary { cursor: pointer; color: var(--green); font-weight: 700; }
.version-list { margin-top: 2rem; }
.release { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: .8rem; }
.release > div { min-width: 0; }
.prose { line-height: 1.72; }
.prose h2 { margin-top: 1.25em; }
.readable { max-width: 790px; }
.screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-bottom: 1.3rem; }
.screens a { display: block; border-radius: 12px; overflow: hidden; background: var(--mint); border: 1px solid var(--line); }
.screens img { width: 100%; height: auto; aspect-ratio: 16 / 10; display: block; object-fit: contain; }
.video-player iframe { display: block; width: 100%; min-height: 200px; aspect-ratio: 16 / 9; border: 0; border-radius: 10px; background: #152821; }
.tutorial .actions { margin-bottom: 0; }
.ad-area { margin-top: 3.5rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.admin-body .section { padding-block: 2rem 3rem; }
.admin-body .panel { margin-bottom: 1rem; }
.auth { max-width: 440px; margin-inline: auto; }
.form-grid, .field-grid { display: grid; gap: .9rem; }
.field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.inline-form { display: flex; align-items: end; flex-wrap: wrap; gap: .65rem; }
.inline-form label { flex: 1 1 190px; }
.row-form { border-top: 1px solid var(--line); padding-top: .8rem; margin-top: .8rem; }
.form-grid h2, .form-grid p { margin-bottom: 0; }
.form-grid > .button { justify-self: start; }
label { color: var(--ink); font-weight: 700; font-size: .9rem; display: grid; gap: .28rem; min-width: 0; }
input, textarea, select { font: inherit; color: var(--ink); padding: .62rem .72rem; border: 1px solid #bfcec2; border-radius: 7px; background: var(--white); width: 100%; }
textarea { resize: vertical; }
input[type=checkbox] { width: 1.12rem; height: 1.12rem; accent-color: var(--green); }
.check { display: flex; gap: .45rem; align-items: center; }
.link-button { border: 0; background: transparent; cursor: pointer; padding: 0; font: inherit; }
.alert { padding: .75rem 1rem; border-radius: 9px; margin-bottom: 1rem; border: 1px solid #acd1b8; background: #e8f6e9; color: #215234; }
.alert.error { background: #fbefed; color: #842d25; border-color: #e8c6c2; }
.stats strong { display: block; font-size: 2rem; margin-top: .25rem; }
.stats small { color: var(--muted); font-weight: 650; }
.analytics .muted { margin: .6rem 0 0; font-size: .85rem; }
.chart { display: grid; grid-template-columns: repeat(30, minmax(2px, 1fr)); gap: 3px; align-items: end; height: 105px; padding-top: .6rem; border-bottom: 1px solid var(--line); }
.chart span { height: var(--bar); background: #408965; border-radius: 4px 4px 0 0; }
.table-scroll { overflow: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: .55rem; border-bottom: 1px solid var(--line); }
.admin-release { border-top: 1px solid var(--line); padding: .7rem 0; }
.admin-release form { margin-top: .7rem; }
@media (max-width: 830px) {
  .hero-grid { gap: 1.15rem; }
  .hero-art { height: 290px; }
  .float-small { font-size: .7rem; padding: .45rem .55rem; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .highlights > div { padding-inline: .7rem; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 1.7rem); }
  .nav { padding-block: .75rem; gap: .8rem; }
  .nav nav, .footer nav { gap: .45rem 1rem; }
  .hero-grid, .detail-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { padding-block: 2.7rem 1.5rem; }
  .hero-art { height: 255px; }
  .float-small.top { right: 5%; }
  .float-small.bottom { left: 4%; }
  .section { padding-block: 2.3rem; }
  .highlights { grid-template-columns: 1fr; }
  .highlights > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .download-panel { position: static; grid-row: 1; }
  .stats { grid-template-columns: 1fr; gap: .35rem; }
}
@media (max-width: 460px) {
  .cards, .field-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(2.3rem, 10.5vw, 3.55rem); }
  .hero-art { height: 226px; }
  .float-small svg { width: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
