* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: #0a0a0f; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%) fixed; color: #e0e0e8; min-height: 100vh; padding: 1.5rem 1rem; }
main { max-width: 1240px; margin: 0 auto; }
nav { font-size: 0.85rem; margin-bottom: 1rem; color: #555; }
a { color: #6af; text-decoration: none; } a:hover { text-decoration: underline; }
header { padding: 1rem 0 2rem; }
h1 { font-size: 2rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.4rem; }
.tagline { color: #aaa; font-size: 0.95rem; }
.stats { color: #888; font-size: 0.85rem; margin-top: 0.5rem; font-family: ui-monospace, monospace; }
section { margin-bottom: 2.5rem; }
h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: #888; margin-bottom: 1rem; font-weight: 500; }
.intro p { font-size: 0.9rem; line-height: 1.6; color: #bbb; margin-bottom: 0.7rem; max-width: 900px; }
code { font-family: ui-monospace, monospace; font-size: 0.8em; color: #cfd8ff; word-break: break-all; }
pre { overflow-x: auto; background: rgba(255,255,255,0.04); padding: 0.8em 1em; border-radius: 8px; }
pre code { word-break: normal; white-space: pre; }
.groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0.75rem; }
.project-card { display: block; padding: 1.2rem 1.3rem 1rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; color: inherit; transition: all 0.15s ease; }
.project-card:hover { background: rgba(102,170,255,0.06); border-color: rgba(102,170,255,0.25); text-decoration: none; }
.project-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; }
.project-card p { font-size: 0.85rem; line-height: 1.5; color: #aaa; margin-bottom: 0.7rem; }
.project-link { font-size: 0.82rem; color: #6af; font-weight: 500; }
.tscroll { overflow-x: auto; border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; font-size: 0.82rem; }
th, td { padding: 0.45rem 0.7rem; border-bottom: 1px solid rgba(255,255,255,0.05); text-align: left; vertical-align: top; }
table.params th { width: 170px; color: #9ab; font-weight: 500; white-space: nowrap; }
table.params td { line-height: 1.5; color: #ccc; }
table.rates thead th { position: sticky; top: 0; background: #15151f; color: #9ab; font-weight: 500; white-space: nowrap; }
table.rates tbody th { color: #ccc; font-weight: 500; white-space: nowrap; }
table.rates td { font-family: ui-monospace, monospace; white-space: nowrap; }
table.rates td small, table.rates th small { display: block; color: #777; font-size: 0.72rem; font-weight: 400; }
table.rates td.out { color: #666; }
.hint { color: #777; font-size: 0.78rem; margin-top: 0.5rem; }
details { margin-bottom: 1.2rem; }
summary { cursor: pointer; font-weight: 600; font-size: 1rem; padding: 0.5rem 0; }
summary span { color: #777; font-weight: 400; font-size: 0.85rem; margin-left: 0.5rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 0.8rem; margin-top: 0.5rem; }
.card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.card:target { border-color: #6af; box-shadow: 0 0 0 2px rgba(102,170,255,0.4); }
.card img { width: 100%; height: auto; display: block; background: #000; min-height: 4px; }
.card-body { padding: 0.7rem 0.8rem 0.8rem; font-size: 0.78rem; }
.card-body h3 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.card-body p { color: #aaa; line-height: 1.45; margin-bottom: 0.3rem; }
.card-body .meta { color: #9ab; }
.fname { display: block; font-family: ui-monospace, monospace; font-size: 0.72rem; word-break: break-all; margin-bottom: 0.5rem; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.15rem 0.6rem; }
dt { color: #778; } dd { color: #ccc; word-break: break-word; }
.card-links { margin-top: 0.6rem; display: flex; gap: 0.8rem; font-size: 0.78rem; }
footer { text-align: center; padding: 2rem 0 1rem; color: #555; font-size: 0.8rem; }
@media (max-width: 560px) { h1 { font-size: 1.5rem; } table.params th { width: auto; white-space: normal; } }
