:root { --bg: #101813; --surface: #18231b; --surface2: #202e23; --ink: #eef3e7; --muted: #a1b19e; --line: #344638; --lime: #b8ec63; --amber: #f5c675; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; color-scheme: dark; }
body { margin: 0; color: var(--ink); background: var(--bg); font-family: "Trebuchet MS", "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 80% 0%, #668e3830, transparent 42%), repeating-linear-gradient(90deg, transparent 0 71px, #ffffff04 72px); }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.skip { position: absolute; top: -80px; left: 10px; z-index: 100; padding: 12px; background: var(--surface2); }
.skip:focus { top: 10px; }
.topbar { position: sticky; top: 0; z-index: 20; height: 76px; padding: 0 40px; display: flex; align-items: center; gap: 32px; border-bottom: 1px solid var(--line); background: #101813ef; backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; letter-spacing: -.8px; white-space: nowrap; }
.brand-mark { width: 38px; height: 38px; display: block; }
.brand-mark img { width: 100%; height: 100%; }
.brand-dot, footer strong span { color: var(--lime); }
.topbar-label, .sidebar-heading, .eyebrow, .hero-caption, .stats span, .local-badge { font: 700 10px/1.4 "Consolas", monospace; letter-spacing: .12em; }
.topbar-label { color: #70846f; margin-left: auto; }
.topbar-actions, .lang-switch, .hero-actions, .details-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { padding: 4px; gap: 0; border: 1px solid var(--line); border-radius: 7px; }
.lang-switch button { background: none; border: 0; border-radius: 4px; color: var(--muted); padding: 6px 7px; font: 700 10px "Consolas", monospace; }
.lang-switch button[aria-pressed="true"] { background: var(--surface2); color: var(--lime); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 40px; border: 1px solid transparent; border-radius: 7px; padding: 11px 16px; font-size: 12px; font-weight: 700; transition: transform .18s, border-color .18s, background .18s; }
.button:hover { transform: translateY(-2px); }
.primary { background: var(--lime); color: #172314; }
.primary:hover { background: #cdfa83; }
.secondary { color: var(--ink); background: #2a392b; border-color: #405640; }
.secondary:hover { border-color: var(--lime); }
.layout { max-width: 1600px; margin: auto; display: grid; grid-template-columns: 260px minmax(0, 1fr); }
.sidebar { min-height: calc(100vh - 76px); padding: 36px 20px; border-right: 1px solid var(--line); background: #162119ad; display: flex; flex-direction: column; }
.sidebar-heading, .nav-section { padding: 0 14px; color: #82977e; font: 700 11px/1.4 "Consolas", monospace; letter-spacing: .1em; }
.sidebar nav { display: flex; flex-direction: column; gap: 5px; }
.nav-item { min-height: 50px; width: 100%; display: flex; align-items: center; gap: 14px; border: 1px solid transparent; border-radius: 9px; padding: 12px 14px; background: transparent; color: #b6c7b2; text-align: left; font-size: 15px; font-weight: 600; }
.nav-item:hover, .nav-item.active { color: var(--lime); background: #b8ec6315; border-color: #b8ec6338; }
.nav-item > span:first-child { width: 18px; text-align: center; color: var(--lime); font-size: 17px; }
.nav-item b { margin-left: auto; min-width: 30px; padding: 5px 8px; border-radius: 30px; background: #27372a; text-align: center; font: 11px "Consolas", monospace; }
.nav-divider { border-top: 1px solid var(--line); margin: 16px 12px 8px; }
.nav-section { margin: 8px 0 2px; font-size: 10px; }
.status-dot { display: inline-block; width: 7px !important; height: 7px; border-radius: 50%; flex: 0 0 7px; }
.planned { background: #77acc7; }.using { background: #b8ec63; }.favorite { background: #f5c675; }.archived { background: #869184; }
.sidebar-bottom { margin-top: auto; padding: 52px 14px 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.local-badge { display: flex; align-items: center; gap: 7px; color: var(--lime); }
.text-button { display: block; background: none; border: 0; padding: 8px 0; text-align: left; font-size: 12px; color: var(--muted); }
.text-button:hover { color: var(--lime); }
main { min-width: 0; padding: 30px 40px 0; }
.hero { display: grid; grid-template-columns: 1fr .93fr; min-height: 326px; gap: 26px; padding: 28px; border: 1px solid #425641; border-radius: 15px; background: linear-gradient(130deg, #263927, #1a2a1c 65%, #2a3f2b); overflow: hidden; }
.hero-copy { align-self: center; }
.eyebrow { color: var(--lime); margin: 0; }
.eyebrow > span:first-child:empty { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); margin-right: 4px; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 18px 0 14px; font-size: clamp(36px, 4vw, 55px); line-height: 1.04; letter-spacing: -2px; }
h1 em { color: var(--lime); font-style: normal; }
.hero-description { max-width: 50ch; color: #b5c6b2; font-size: 13px; line-height: 1.8; margin: 0 0 20px; }
.hero-caption { margin: 23px 0 0; color: #8ba088; font-size: 9px; }
.hero-news { position: relative; min-width: 0; min-height: 280px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #75987450; border-radius: 10px; padding: 20px 22px; background: radial-gradient(circle at 90% 5%, #739b3840, transparent 45%), repeating-linear-gradient(90deg, transparent 0 39px, #c7eab007 40px), #132015; }
.hero-news::before { content: ""; position: absolute; right: -72px; top: -105px; width: 220px; height: 220px; border: 1px solid #b8ec632c; transform: rotate(45deg); pointer-events: none; }
.hero-news > * { position: relative; z-index: 1; }
.news-top { display: flex; justify-content: space-between; gap: 8px; color: #95ad8b; font: 700 10px "Consolas", monospace; letter-spacing: .12em; }
.news-top > span:first-child { display: flex; align-items: center; gap: 8px; }
.news-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px #b8ec6399; }
.news-content { display: flex; flex: 1; align-items: center; padding: 22px 0; min-height: 0; }
.news-source { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 13px; color: #a6ba9f; font: 11px "Consolas", monospace; }
.news-source a { color: var(--lime); }
.news-source-mark { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #74935e; border-radius: 6px; color: var(--lime); font-weight: 700; }
.news-title { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; margin: 0; max-width: 40ch; color: var(--ink); font-size: clamp(19px, 1.65vw, 25px); line-height: 1.25; letter-spacing: -.5px; }
.news-title a:hover { color: var(--lime); }
.news-date, .news-updated { margin: 14px 0 0; color: #99ab92; font: 10px/1.45 "Consolas", monospace; }
.news-bottom { display: flex; justify-content: space-between; align-items: end; gap: 10px; border-top: 1px solid #b8ec6324; padding-top: 14px; }
.news-controls { display: flex; align-items: center; gap: 6px; }
.news-controls button { min-width: 38px; min-height: 36px; border: 1px solid #496049; border-radius: 6px; background: #243827; color: var(--ink); }
.news-controls button:hover:not(:disabled) { border-color: var(--lime); color: var(--lime); }
.news-controls button:disabled { opacity: .4; cursor: default; }
.news-controls #news-pause { padding: 0 10px; color: #b6c7b2; font-size: 11px; }
.news-updated { margin: 0; text-align: right; }
.news-empty { color: var(--muted); font-size: 14px; }
.news-sources { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 11px; color: #95ad8b; font: 11px "Consolas", monospace; }
.news-sources > span { letter-spacing: .08em; }
.news-sources a { display: inline-flex; align-items: center; min-height: 32px; color: #d2e7c9; text-decoration: underline; text-underline-offset: 3px; }
.news-sources a:hover { color: var(--lime); }
.stats { display: flex; align-items: center; gap: 40px; margin: 22px 0 38px; padding: 22px 25px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.stats > div:not(.stats-note) { display: flex; flex-direction: column; gap: 7px; }.stats strong { font-size: 25px; line-height: 1; }.stats span { color: var(--muted); font-size: 9px; }
.stats-note { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; }
h2 { margin: 8px 0 0; font-size: 28px; letter-spacing: -.7px; } h2 span { color: var(--lime); }
.search { display: flex; align-items: center; gap: 9px; width: min(280px, 100%); padding: 9px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--lime); }
.search > span { font-size: 24px; line-height: 1; }.search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.category-tabs { display: flex; gap: 4px; overflow-x: auto; }.category-tab { white-space: nowrap; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--muted); padding: 8px 10px; font-size: 11px; }
.category-tab:hover, .category-tab.active { color: var(--lime); background: #b8ec6310; border-color: #b8ec6330; }
.sort { white-space: nowrap; color: var(--muted); font-size: 11px; }.sort select { margin-left: 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); padding: 7px; }
.result-line { display: flex; justify-content: space-between; gap: 10px; padding: 17px 0; color: var(--muted); font-size: 11px; }.result-line span:last-child { font-style: italic; }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.card { min-width: 0; border: 1px solid var(--line); border-radius: 9px; padding: 10px; background: var(--surface); animation: reveal .35s both; animation-delay: calc(var(--index) * 25ms); }
.card:hover { border-color: #719652; }
.card-art { position: relative; width: 100%; aspect-ratio: 1.4; display: grid; place-items: center; overflow: hidden; border: 1px solid #436047; border-radius: 6px; background: radial-gradient(circle at 50% 42%, #96c47725, transparent 55%), repeating-linear-gradient(90deg, transparent 0 26px, #b8ec630a 27px), #1f3022; }
.card-art img { width: 72px; height: 72px; object-fit: contain; border-radius: 12px; image-rendering: auto; filter: drop-shadow(0 6px 14px #0007); }
.card-art.review-art img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; filter: brightness(.75); }
.review-art::after { color: #fff; text-shadow: 0 1px 4px #000; }
.card-art::after { position: absolute; bottom: 12px; left: 12px; content: attr(data-code); color: #91a98b; font: 9px "Consolas", monospace; letter-spacing: .08em; }
.card-number { position: absolute; top: 11px; left: 11px; font: 10px "Consolas", monospace; color: var(--lime); }.card-type { position: absolute; top: 10px; right: 10px; padding: 4px 6px; border-radius: 4px; background: #b8ec63; color: #1a2718; font: 700 9px "Consolas", monospace; }
.card h3 { margin: 14px 2px 6px; font-size: 14px; line-height: 1.3; }.card-description { min-height: 48px; margin: 0 2px 12px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.card-meta { display: flex; justify-content: space-between; gap: 6px; margin: 0 2px; color: #8ba088; font: 10px "Consolas", monospace; }.card-meta span:last-child { color: var(--lime); }
.card-action { width: 100%; margin-top: 12px; padding: 9px 7px; border: 1px solid #405640; border-radius: 6px; background: #26372a; color: #d6e6ce; font-size: 11px; font-weight: 700; }.card-action.saved { color: var(--lime); border-color: #759a56; }.card-action:hover { border-color: var(--lime); }
.empty-state { padding: 45px 15px; text-align: center; border: 1px dashed #476047; border-radius: 9px; color: var(--muted); }.empty-state > span { color: var(--lime); font-size: 42px; }.empty-state h3 { color: var(--ink); }.empty-state p { font-size: 12px; }
.about { scroll-margin-top: 95px; margin-top: 60px; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: radial-gradient(circle at 100% 0, #739b3820, transparent 40%), var(--surface); }
.about-intro { max-width: 75ch; margin: 14px 0 24px; color: #c0d0bc; font-size: 14px; line-height: 1.7; }
.about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.about-grid article { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #142117; }
.about-grid h3 { margin: 0 0 9px; color: var(--ink); font-size: 14px; }
.about-grid p, .about-note { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.about-note { margin-top: 18px; }
@media (max-width: 760px) { .about { padding: 22px; } .about-grid { grid-template-columns: 1fr; } }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; } footer strong { font-size: 16px; color: var(--ink); }
dialog { width: min(600px, calc(100% - 24px)); max-height: calc(100dvh - 30px); border: 1px solid #4a644b; border-radius: 13px; padding: 26px; background: #19271c; color: var(--ink); box-shadow: 0 24px 64px #000a; }
dialog::backdrop { background: #050a06bb; backdrop-filter: blur(4px); }.dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }.close-button { border: 0; background: transparent; font-size: 28px; line-height: 1; color: var(--muted); }
.details-head { display: flex; align-items: center; gap: 20px; }.details-head h2 { margin: 0 0 8px; }.details-head p, .details-description, .details-footnote { color: var(--muted); font-size: 12px; line-height: 1.7; }
.details-logo { width: 86px; height: 86px; display: grid; place-items: center; flex: 0 0 86px; border: 1px solid var(--line); border-radius: 9px; background: #253929; }.details-logo img { width: 58px; height: 58px; object-fit: contain; border-radius: 8px; }
.details-logo img.review-image { width: 100%; height: 100%; object-fit: cover; }
.details-description { margin: 24px 0; font-size: 14px; }.details-update { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin-bottom: 20px; font-size: 12px; color: var(--muted); }.details-update a { color: var(--lime); }
.details-footnote { margin: 18px 0 0; font-size: 11px; }
form label { display: block; margin-bottom: 16px; color: var(--muted); font-size: 11px; font-weight: 700; } form input, form select, form textarea { display: block; width: 100%; margin-top: 7px; padding: 11px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: #111c14; } form textarea { resize: vertical; }.form-row { display: flex; gap: 15px; }.form-row label { flex: 1; min-width: 0; }
.dialog-actions { display: flex; justify-content: space-between; align-items: center; }.danger { color: #f5a69b; }.warning { padding: 12px; border: 1px solid #b98353; border-radius: 6px; background: #392819; color: #ffce9c; font-size: 12px; }
.toast { position: fixed; bottom: 24px; left: 50%; z-index: 30; transform: translateX(-50%); padding: 13px 18px; border: 1px solid #719652; border-radius: 8px; background: #243527; color: var(--ink); font-size: 12px; }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1150px) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }.topbar-label { display: none; }.topbar-actions { margin-left: auto; } }
@media (max-width: 760px) { .topbar { padding: 0 16px; height: 66px; }.layout { display: block; }.sidebar { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 16px; }.sidebar-heading, .nav-divider, .nav-section { display: none; }.sidebar nav { flex-direction: row; gap: 5px; overflow-x: auto; }.nav-item { width: auto; white-space: nowrap; font-size: 13px; padding: 10px; }.sidebar-bottom { padding: 8px 0 0; display: flex; gap: 15px; align-items: center; }.sidebar-bottom > p:not(.local-badge) { display: none; }.sidebar-bottom .local-badge { margin-right: auto; }.sidebar-bottom .text-button { white-space: nowrap; } main { padding: 18px 16px 0; }.hero { grid-template-columns: 1fr; padding: 23px; }.hero-news { min-height: 255px; }.stats { gap: 20px; flex-wrap: wrap; }.stats-note { display: none; }.toolbar { align-items: flex-start; flex-direction: column; }.category-tabs { width: 100%; }.card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }.result-line span:last-child { display: none; } }
@media (max-width: 430px) { .brand { font-size: 18px; }.topbar { gap: 10px; }.topbar .button { padding: 10px; font-size: 10px; }.section-heading { align-items: stretch; flex-direction: column; }.search { width: 100%; }.card-art img { width: 58px; height: 58px; }.card-description { min-height: 65px; }.sidebar-bottom { gap: 10px; }.local-badge { font-size: 8px; }.form-row { flex-direction: column; gap: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } }
