
:root{
  --bg:#fbfbfd;--surface:#ffffff;--text:#111827;--muted:#6b7280;--border:#e5e7eb;
  --accent:#0ea5a3;--link:#0e9e91;--link-hover:#0fb5a8;
  --cta:#0f766e;--cta-border:#0b5f59;--cta-hover:#0ea5a3;
  --chip:#f3f4f6;--chip-hover:#e5e7eb;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font:17px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial}
.container{max-width:1100px;margin:0 auto;padding:16px}
h1{font-size:28px;margin:18px 0}
.fine{color:var(--muted);font-size:12px}
a{color:var(--link);text-decoration:none}
a:visited{color:var(--link)}
a:hover{color:var(--link-hover);text-decoration:underline}
a:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:8px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
@media (max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:620px){.grid{grid-template-columns:1fr}}
.card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:14px;display:flex;gap:10px;flex-direction:column;transition:transform .08s ease,box-shadow .2s ease;box-shadow:0 4px 14px rgba(0,0,0,.06)}
.card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.10)}
.card img{width:100%;height:190px;object-fit:contain;background:#f8fafc;border-radius:12px}
.card h3{margin:6px 0 0 0;font-size:18px;line-height:1.25;color:var(--text)}
.card h3 a{color:inherit;text-decoration:none}
.card:hover h3 a{color:var(--accent);text-decoration:underline}
.card .btn{display:inline-block;background:var(--cta);border:1px solid var(--cta-border);color:#fff;padding:10px 12px;border-radius:10px;font-weight:800;transition:transform .08s ease,background .15s ease}
.card .btn:hover{background:var(--cta-hover);transform:translateY(-1px)}
.card .btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.notice.small a{color:var(--accent);font-weight:600}
.notice.small a:hover{text-decoration:underline}
.rail{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}
.rail a{background:var(--chip);border:1px solid var(--border);padding:8px 10px;border-radius:12px;color:var(--text);font-weight:700;text-decoration:none}
.rail a:hover{background:var(--chip-hover)}
.nav-bottom{position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid var(--border);box-shadow:0 -6px 18px rgba(0,0,0,.06);display:flex;gap:8px;padding:8px 10px;z-index:999;justify-content:space-around}
.nav-bottom a{flex:1;text-align:center;padding:10px 8px;border-radius:12px;background:var(--chip);color:var(--text);text-decoration:none;font-weight:700}
.nav-bottom a:hover{background:var(--chip-hover)}
.nav-bottom a .ico{margin-right:6px}
body{padding-bottom:64px}
.modal{position:fixed;inset:0;background:rgba(0,0,0,.55);display:none;align-items:center;justify-content:center;z-index:1000}
.modal[open]{display:flex}
.modal .box{background:#fff;color:var(--text);border:1px solid var(--border);border-radius:16px;max-width:520px;width:92%;padding:18px}
.brand{font-weight:800;letter-spacing:.2px}
.breadcrumbs a{color:var(--muted)}
footer a{color:var(--muted);margin-right:12px}
.grid.featured{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.grid.featured .card:first-child{grid-column:span 2}
@media (max-width:900px){.grid.featured{grid-template-columns:repeat(2,1fr)}.grid.featured .card:first-child{grid-column:span 2}}
@media (max-width:620px){.grid.featured{grid-template-columns:1fr}.grid.featured .card:first-child{grid-column:auto}}
