:root { --text: #1f2937; --muted: #5f6368; --faint: #9aa1ab; --border: #e4e7ec; --border-strong: #d3d8de; --card: #ffffff; --soft: #f5f7fa; --page: #f4f6f8; --brand: #76b900; --accent: #3f7f00; --accent-ink: #2f6200; --accent-soft: #eef6e3; --accent-line: #cfe6ad; --ds-simready: #1769aa; --ds-residential: #c2410c; --ds-commercial: #7c3aed; --ds-vegetation: #2f9e44; --radius: 14px; --shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 8px 24px rgba(16, 24, 40, 0.06); --shadow-lg: 0 24px 64px rgba(16, 24, 40, 0.22); --mono: 'Noto Sans Mono', ui-monospace, SFMono-Regular, Menlo, monospace; color-scheme: light; } * { box-sizing: border-box; } [hidden] { display: none !important; } html { -webkit-text-size-adjust: 100%; } body { margin: 0; background: var(--page); color: var(--text); font: 15px/1.5 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; } body.detail-open, body.drawer-open { overflow: hidden; } a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; } a:hover { color: var(--accent); } button, input, select { font: inherit; color: inherit; } code { font-family: var(--mono); font-size: 0.88em; background: var(--soft); padding: 0.05em 0.35em; border-radius: 5px; } svg { flex: none; } :focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; } .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 0.4rem 0.8rem; border-radius: 8px; } .skip:focus { left: 8px; } .wrap { max-width: 1520px; margin: 0 auto; padding: 0 22px; } /* ---------- header ---------- */ .site-header { background: var(--card); border-bottom: 1px solid var(--border); } .header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-top: 18px; flex-wrap: wrap; } .brand { display: flex; align-items: center; gap: 0.85rem; min-width: 0; } .logo { width: 42px; height: 42px; } .brand h1 { margin: 0; font-family: 'Titillium Web', 'Noto Sans', system-ui, sans-serif; font-size: 1.6rem; line-height: 1.15; letter-spacing: 0; font-weight: 700; color: #1c2433; } .tagline { margin: 0.1rem 0 0; color: var(--muted); font-size: 0.92rem; } .links { display: flex; flex-wrap: wrap; gap: 0.4rem; } .links a { display: inline-flex; align-items: center; padding: 0.34rem 0.85rem; border: 1px solid var(--border); border-radius: 999px; color: var(--text); text-decoration: none; font-size: 0.86rem; font-weight: 500; background: var(--card); transition: border-color 0.15s ease, background 0.15s ease; } .links a:hover { border-color: var(--accent-line); background: var(--accent-soft); color: var(--accent-ink); } .stats { display: flex; gap: 0.55rem; margin: 0.8rem 0 0.2rem; overflow-x: auto; scrollbar-width: none; } .stat-pill { flex: none; display: flex; align-items: baseline; gap: 0.4rem; padding: 0.35rem 0.8rem; background: var(--soft); border-radius: 10px; font-size: 0.82rem; color: var(--muted); } .stat-pill b { color: var(--text); font-size: 1rem; font-variant-numeric: tabular-nums; } .tabs { display: flex; gap: 0.25rem; margin-top: 0.6rem; } .tab { position: relative; padding: 0.7rem 0.95rem 0.75rem; border: 0; background: none; cursor: pointer; font-weight: 600; font-size: 0.93rem; color: var(--muted); } .tab:hover { color: var(--text); } .tab[aria-selected='true'] { color: var(--text); } .tab[aria-selected='true']::after { content: ''; position: absolute; left: 0.6rem; right: 0.6rem; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--brand); } /* ---------- controls ---------- */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; min-height: 36px; padding: 0.38rem 0.85rem; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--card); cursor: pointer; text-decoration: none; color: var(--text); font-size: 0.86rem; font-weight: 500; white-space: nowrap; transition: background 0.15s ease, border-color 0.15s ease; } .btn:hover { background: var(--soft); color: var(--text); } .btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; } .btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; } .btn-primary:hover { background: var(--accent-ink); color: #fff; } .btn-ghost { border-color: transparent; background: transparent; } .btn-sm { min-height: 32px; padding: 0.28rem 0.7rem; font-size: 0.82rem; border-radius: 9px; } .btn[aria-pressed='true'] { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-ink); } .btn.is-flash { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-ink); } .icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid var(--border); border-radius: 50%; background: var(--card); cursor: pointer; color: var(--text); } .icon-btn:hover { background: var(--soft); } .icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; } .icon-btn.sm { width: 32px; height: 32px; } .icon-btn.sm svg { width: 17px; height: 17px; } .icon-btn[aria-pressed='true'] { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-ink); } .icon-btn:disabled { opacity: 0.4; cursor: default; } .link-btn { border: 0; background: none; padding: 0.2rem 0.3rem; color: var(--accent-ink); cursor: pointer; font-size: 0.84rem; font-weight: 500; } .link-btn:hover { text-decoration: underline; } .seg { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--border); border-radius: 11px; background: var(--soft); } .seg button { min-height: 30px; padding: 0.2rem 0.75rem; border: 0; border-radius: 8px; background: transparent; cursor: pointer; font-size: 0.84rem; font-weight: 500; color: var(--muted); white-space: nowrap; } .seg button:hover { color: var(--text); } .seg button[aria-pressed='true'] { background: var(--card); color: var(--accent-ink); box-shadow: 0 1px 2px rgba(16, 24, 40, 0.12); font-weight: 600; } .select { position: relative; display: inline-flex; } .select select { appearance: none; min-height: 36px; padding: 0.35rem 2rem 0.35rem 0.8rem; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6368' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 0.55rem center / 16px; font-size: 0.86rem; cursor: pointer; } .select-sm select { min-height: 32px; padding: 0.25rem 1.8rem 0.25rem 0.65rem; font-size: 0.82rem; } .kbd { font-family: var(--mono); font-size: 0.75rem; padding: 0.05rem 0.4rem; border: 1px solid var(--border-strong); border-bottom-width: 2px; border-radius: 6px; color: var(--muted); background: var(--card); } .badge { display: inline-grid; place-items: center; min-width: 1.25rem; height: 1.25rem; padding: 0 0.35rem; border-radius: 999px; background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700; } .dot { display: inline-block; width: 0.62rem; height: 0.62rem; border-radius: 50%; flex: none; } .sym { font-family: 'Noto Serif', Georgia, 'Times New Roman', serif; font-style: italic; font-weight: inherit; text-transform: none; letter-spacing: 0; } .fnote { margin: 0.4rem 0 0; font-size: 0.78rem; color: var(--muted); line-height: 1.45; } /* ---------- gallery layout ---------- */ main { padding-top: 20px; padding-bottom: 32px; min-height: 60vh; } .gallery-layout { display: grid; grid-template-columns: 286px minmax(0, 1fr); gap: 22px; align-items: start; } .filters { position: sticky; top: 14px; max-height: calc(100vh - 28px); display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); } .filters-head { display: flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1rem 0.6rem; border-bottom: 1px solid var(--border); } .filters-head h2 { margin: 0; font-size: 1rem; flex: 1; } .filters-close, .filters-foot, .filters-open, .drawer-scrim { display: none; } .filters-body { overflow-y: auto; padding: 0.2rem 1rem 1rem; scrollbar-width: thin; } .fgroup { padding: 0.85rem 0 0.2rem; } .fgroup + .fgroup { border-top: 1px solid var(--border); } .fgroup h3 { display: flex; align-items: center; gap: 0.35rem; margin: 0 0 0.5rem; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 700; } .fchips { display: flex; flex-direction: column; gap: 2px; } .fchips-row { flex-direction: row; flex-wrap: wrap; gap: 0.35rem; } .fchips-row .fchip { flex: 1 1 auto; border: 1px solid var(--border); justify-content: center; } .fchip { position: relative; display: flex; align-items: center; gap: 0.5rem; padding: 0.32rem 0.5rem; border-radius: 8px; cursor: pointer; font-size: 0.86rem; user-select: none; transition: background 0.12s ease; } .fchip:hover { background: var(--soft); } .fchip input { position: absolute; opacity: 0; pointer-events: none; } .fchip::before { content: ''; flex: none; width: 1rem; height: 1rem; border: 1.5px solid var(--border-strong); border-radius: 5px; background: var(--card) no-repeat center / 0.7rem; } .fchips-row .fchip::before { display: none; } .fchip.is-on::before { border-color: var(--accent); background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17 19 7'/%3E%3C/svg%3E"); } .fchips-row .fchip.is-on { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-ink); font-weight: 600; } .fchip:focus-within { outline: 2px solid var(--brand); outline-offset: 1px; } .fchip-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .fchip-note { color: var(--faint); font-size: 0.76rem; } .fchip-count { color: var(--faint); font-size: 0.78rem; font-variant-numeric: tabular-nums; } .fchip.is-empty { color: var(--faint); } .fsearch { width: 100%; margin-bottom: 0.4rem; padding: 0.38rem 0.65rem; border: 1px solid var(--border-strong); border-radius: 8px; font-size: 0.84rem; background: var(--card); } .fcats { max-height: 290px; overflow-y: auto; padding-right: 2px; scrollbar-width: thin; } .fcat-head { margin: 0.45rem 0 0.15rem; padding-left: 0.5rem; font-size: 0.72rem; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: 0.05em; } .ftoggle { display: flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0; font-size: 0.86rem; cursor: pointer; } .ftoggle input { width: 1rem; height: 1rem; accent-color: var(--accent); margin: 0; } /* range sliders */ .range { padding: 0.35rem 0 0.75rem; } .range-head { display: flex; align-items: center; justify-content: space-between; } .range-label { font-size: 0.86rem; font-weight: 600; } .range-label .u { color: var(--muted); font-weight: 500; font-style: italic; margin-left: 0.15rem; } .range-reset { border: 0; background: none; color: var(--accent-ink); font-size: 0.76rem; cursor: pointer; padding: 0; } .range-hint { font-size: 0.75rem; color: var(--muted); } .range-hist { display: block; width: 100%; height: 34px; margin-top: 0.3rem; } .range-track { position: relative; height: 18px; } .range-track::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 4px; border-radius: 2px; background: #e3e7ec; } .range-fill { position: absolute; top: 7px; height: 4px; border-radius: 2px; background: var(--accent); } .range-input { position: absolute; left: -2px; width: calc(100% + 4px); top: 0; height: 18px; margin: 0; background: none; pointer-events: none; appearance: none; -webkit-appearance: none; z-index: 3; } .range-input::-webkit-slider-runnable-track { background: none; height: 18px; } .range-input::-moz-range-track { background: none; } .range-input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); cursor: grab; } .range-input::-moz-range-thumb { pointer-events: auto; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); cursor: grab; } .range-input:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--brand); outline-offset: 2px; } .range-values { display: flex; justify-content: space-between; font-size: 0.76rem; color: var(--muted); font-variant-numeric: tabular-nums; } .range.is-active .range-values { color: var(--accent-ink); font-weight: 600; } /* toolbar */ .results { min-width: 0; } #results-top { scroll-margin-top: 12px; } .toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; } .search { flex: 1 1 340px; display: flex; align-items: center; gap: 0.5rem; min-height: 42px; padding: 0 0.7rem; background: var(--card); border: 1px solid var(--border-strong); border-radius: 12px; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04); } .search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); } .search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; } .search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 0.92rem; padding: 0.55rem 0; } .toolbar-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; } .result-line { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 0.8rem 0 0.4rem; flex-wrap: wrap; } .result-count { margin: 0; font-size: 0.88rem; color: var(--muted); } .result-count strong { color: var(--text); } .active-filters { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.2rem 0 0.6rem; } .achip { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.22rem 0.55rem 0.22rem 0.7rem; border: 1px solid var(--accent-line); border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 0.8rem; font-weight: 500; cursor: pointer; } .achip span[aria-hidden] { font-size: 1rem; line-height: 1; } .achip:hover { background: #e2f0cf; } .achip-clear { border: 0; background: none; color: var(--muted); font-size: 0.8rem; cursor: pointer; text-decoration: underline; } /* cards */ .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(198px, 1fr)); gap: 14px; } .card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04); color: var(--text); text-decoration: none; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; } .card:hover, .card:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--border-strong); color: var(--text); } .card-media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: radial-gradient(120% 90% at 50% 38%, #ffffff 0%, #f1f4f7 62%, #e6eaef 100%); } .card-img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; transition: opacity 0.28s ease, transform 0.35s ease; } .card-img.alt { opacity: 0; } .card:hover .card-img.alt, .card:focus-visible .card-img.alt { opacity: 1; } .card:hover .card-img.main, .card:focus-visible .card-img.main { opacity: 0; } .card-ds, .card-parts { position: absolute; top: 8px; padding: 0.12rem 0.5rem; border-radius: 999px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.01em; background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(4px); box-shadow: 0 0 0 1px rgba(16, 24, 40, 0.06); } .card-ds { left: 8px; } .card-parts { right: 8px; color: var(--muted); font-weight: 500; } .ds-simready { color: var(--ds-simready); } .ds-residential { color: var(--ds-residential); } .ds-commercial { color: var(--ds-commercial); } .ds-vegetation { color: var(--ds-vegetation); } .card-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.4rem; color: var(--ds-vegetation); font-size: 0.78rem; font-weight: 600; } .card-ph svg { width: 54px; height: 54px; fill: currentColor; opacity: 0.75; } .card-media.is-ph { background: radial-gradient(120% 90% at 50% 38%, #f6fbf2 0%, #e8f3df 100%); } .card-body { display: flex; flex-direction: column; gap: 0.32rem; padding: 0.6rem 0.75rem 0.7rem; } .card-title { font-weight: 600; font-size: 0.9rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .card-sub { font-size: 0.76rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .matbar { display: flex; height: 6px; overflow: hidden; border-radius: 3px; background: #edf0f3; gap: 1px; } .matbar i { display: block; height: 100%; min-width: 3px; } .matbar-lg { height: 10px; border-radius: 5px; } .card-props { display: flex; gap: 0.55rem; font-size: 0.72rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; } .card.skeleton { aspect-ratio: 0.78; background: linear-gradient(100deg, #eef1f4 30%, #f7f9fb 50%, #eef1f4 70%) 0 0 / 300% 100%; animation: shimmer 1.4s infinite linear; border: 0; } @keyframes shimmer { to { background-position: -150% 0; } } .empty { grid-column: 1 / -1; padding: 3rem 1rem; text-align: center; color: var(--muted); background: var(--card); border: 1px dashed var(--border-strong); border-radius: var(--radius); } .empty strong { display: block; color: var(--text); font-size: 1.05rem; } .pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0.3rem; margin: 1.4rem 0 0.4rem; } .pg { min-width: 38px; height: 38px; padding: 0 0.7rem; border: 1px solid var(--border); border-radius: 10px; background: var(--card); cursor: pointer; font-size: 0.86rem; font-variant-numeric: tabular-nums; } .pg:hover:not(:disabled) { background: var(--soft); } .pg.is-cur { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; } .pg:disabled { opacity: 0.45; cursor: default; } .pg-gap { color: var(--faint); padding: 0 0.2rem; } /* ---------- panels: material space ---------- */ .card-panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.05rem 1.15rem; min-width: 0; } .card-panel h2 { margin: 0; font-size: 1.12rem; } .card-panel h3 { margin: 0 0 0.6rem; font-size: 0.98rem; } .panel-head p { margin: 0.2rem 0 0.8rem; color: var(--muted); font-size: 0.88rem; } .space-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr); gap: 18px; align-items: start; } .side-panels { display: flex; flex-direction: column; gap: 18px; min-width: 0; } .ashby-wrap { position: relative; } .ashby { position: relative; width: 100%; } .ashby-canvas { display: block; width: 100%; } .legend-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.7rem; } .lg-chip { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.2rem 0.6rem; border: 1px solid var(--border); border-radius: 999px; background: var(--card); font-size: 0.78rem; cursor: pointer; } .lg-chip[aria-pressed='false'] { opacity: 0.45; text-decoration: line-through; } .table-scroll { overflow-x: auto; } .fam-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; font-variant-numeric: tabular-nums; } .fam-table th { text-align: left; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 700; padding: 0.3rem 0.4rem; border-bottom: 1px solid var(--border); white-space: nowrap; } .fam-table td { padding: 0.36rem 0.4rem; border-bottom: 1px solid #f0f2f4; white-space: nowrap; } .fam-table th .unit { text-transform: none; letter-spacing: 0; font-weight: 600; } .fam-table td:first-child { display: flex; align-items: center; gap: 0.45rem; white-space: normal; } .bars { display: flex; flex-direction: column; gap: 0.3rem; } .bar-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: center; gap: 0.6rem; padding: 0.22rem 0.35rem; border: 0; border-radius: 8px; background: none; cursor: default; text-align: left; font-size: 0.82rem; } .bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .bar-ds { color: var(--faint); font-size: 0.72rem; } .bar-track { height: 8px; border-radius: 4px; background: #eef1f4; overflow: hidden; } .bar-fill { display: block; height: 100%; border-radius: 4px; background: currentColor; } .bar-n { color: var(--muted); font-variant-numeric: tabular-nums; } .hist-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; } .mh-title { font-size: 0.86rem; font-weight: 600; margin-bottom: 0.4rem; } .mh-canvas { display: block; width: 100%; height: 150px; } /* ---------- tooltips ---------- */ .tip { position: absolute; z-index: 20; max-width: 280px; padding: 0.55rem 0.7rem; border-radius: 10px; pointer-events: none; background: rgba(17, 24, 39, 0.95); color: #f3f4f6; font-size: 0.78rem; line-height: 1.4; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); } .tt-head { display: flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: 0.84rem; color: #fff; word-break: break-word; } .tt-props { margin-top: 0.2rem; font-variant-numeric: tabular-nums; } .tt-sub { margin-top: 0.2rem; color: #cbd5e1; } .tt-hint { margin-top: 0.3rem; color: #a3e635; font-size: 0.72rem; } .tip .famchip { background: rgba(255, 255, 255, 0.1); color: #fff; } /* ---------- detail dialog ---------- */ .detail { position: fixed; inset: 0; z-index: 50; } .detail-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 32, 0.5); backdrop-filter: blur(3px); opacity: 0; transition: opacity 0.2s ease; } .detail-panel { position: absolute; inset: 14px; display: flex; flex-direction: column; overflow: hidden; background: var(--card); border-radius: 18px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(10px) scale(0.995); transition: opacity 0.2s ease, transform 0.22s ease; } .detail.is-open .detail-backdrop { opacity: 1; } .detail.is-open .detail-panel { opacity: 1; transform: none; } .detail-head { display: flex; align-items: center; gap: 0.85rem; padding: 0.7rem 1rem; border-bottom: 1px solid var(--border); flex-wrap: wrap; } .d-titles { flex: 1; min-width: 220px; } .d-titles h2 { margin: 0; font-family: 'Titillium Web', 'Noto Sans', system-ui, sans-serif; font-size: 1.35rem; line-height: 1.2; word-break: break-word; } .d-chips { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.25rem; } .chip { display: inline-flex; align-items: center; padding: 0.1rem 0.55rem; border-radius: 999px; background: var(--soft); border: 1px solid var(--border); font-size: 0.74rem; font-weight: 600; } .chip-soft { font-weight: 500; color: var(--muted); } .d-actions { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; } .d-nav { display: flex; align-items: center; gap: 0.35rem; } .d-pos { min-width: 5.5rem; text-align: center; font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; } .detail-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(340px, 1fr); } .d-stage-col { display: flex; flex-direction: column; min-height: 0; padding: 0.9rem 1rem 1rem; border-right: 1px solid var(--border); overflow-y: auto; } .d-info-col { min-height: 0; overflow-y: auto; padding: 0.9rem 1.1rem 1.4rem; scrollbar-width: thin; } .stage-tabs { display: flex; gap: 0.3rem; margin-bottom: 0.6rem; } .stage-tab { padding: 0.4rem 0.85rem; border: 1px solid var(--border); border-radius: 999px; background: var(--card); cursor: pointer; font-size: 0.84rem; font-weight: 600; color: var(--muted); } .stage-tab:hover:not(:disabled) { color: var(--text); background: var(--soft); } .stage-tab[aria-selected='true'] { background: var(--text); border-color: var(--text); color: #fff; } .stage-tab:disabled { opacity: 0.45; cursor: default; } .stage { position: relative; flex: none; height: clamp(320px, calc(100vh - 330px), 760px); overflow: hidden; border-radius: 14px; background: radial-gradient(110% 85% at 50% 42%, #ffffff 0%, #f0f3f6 58%, #dfe4ea 100%); border: 1px solid var(--border); } .viewer-host, .orbit-host { position: absolute; inset: 0; } .stage-ph { position: absolute; inset: 6%; z-index: 1; width: 88%; height: 88%; object-fit: contain; pointer-events: none; } .viewer-canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; } .viewer-canvas:active { cursor: grabbing; } .stage .orbit-host, .stage .mesh-idle, .stage .viewer-host { display: none; } .stage[data-mode='3d'] .viewer-host, .stage[data-mode='mesh'] .viewer-host { display: block; } .stage[data-mode='renders'] .orbit-host { display: block; } .stage[data-mode='mesh-idle'] .mesh-idle { display: grid; } .stage[data-mode='message'] .legend { display: none; } .mesh-idle { position: absolute; inset: 0; place-content: center; justify-items: center; gap: 0.6rem; padding: 1.5rem; text-align: center; color: var(--muted); font-size: 0.9rem; } .mesh-idle svg { width: 46px; height: 46px; fill: none; stroke: var(--faint); stroke-width: 1.5; stroke-linejoin: round; } .mesh-idle p { margin: 0; max-width: 26rem; } .mesh-idle strong { color: var(--text); } .mesh-idle .mesh-warn { max-width: 24rem; padding: 0.4rem 0.7rem; border-radius: 8px; background: #fff4e6; color: #a34f00; font-size: 0.8rem; } .mesh-progress { position: absolute; left: 20%; right: 20%; top: calc(50% + 2.2rem); height: 6px; border-radius: 3px; background: rgba(0, 0, 0, 0.08); overflow: hidden; z-index: 6; } .mesh-progress::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: var(--accent); transition: width 0.15s linear; } .stage-msg:empty { display: none; } .stage-msg { position: absolute; inset: 0; display: grid; place-content: center; padding: 2rem; text-align: center; color: var(--muted); font-size: 0.9rem; z-index: 5; background: rgba(255, 255, 255, 0.6); } .stage-msg strong { display: block; color: var(--text); font-size: 1rem; margin-bottom: 0.3rem; } .stage-msg p { max-width: 30rem; margin: 0 auto; } .stage-spinner { display: none; position: absolute; top: 50%; left: 50%; width: 2.4rem; height: 2.4rem; margin: -1.2rem 0 0 -1.2rem; border-radius: 50%; border: 3px solid rgba(31, 41, 55, 0.12); border-top-color: var(--accent); animation: spin 0.8s linear infinite; z-index: 7; } .stage.is-loading .stage-spinner { display: block; } @keyframes spin { to { transform: rotate(360deg); } } .stage-status { min-height: 1.3rem; margin: 0.4rem 0 0.2rem; font-size: 0.78rem; color: var(--muted); font-variant-numeric: tabular-nums; } .legend { position: absolute; left: 12px; bottom: 12px; z-index: 4; width: 236px; max-width: calc(100% - 24px); padding: 0.5rem 0.75rem 0.55rem; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(6px); border: 1px solid var(--border); border-radius: 10px; font-size: 0.74rem; pointer-events: none; } .lg-title { font-weight: 700; font-size: 0.76rem; margin-bottom: 0.3rem; } .lg-title span { font-weight: 500; color: var(--muted); } .lg-bar { height: 10px; border-radius: 3px; } .lg-ticks { position: relative; height: 1.15rem; margin-top: 0.1rem; color: var(--muted); font-variant-numeric: tabular-nums; } .lg-ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; } .lg-ticks span.is-first { transform: none; } .lg-ticks span.is-last { transform: translateX(-100%); } .lg-ticks span::before { content: ''; position: absolute; left: 50%; top: -0.32rem; width: 1px; height: 0.28rem; background: rgba(31, 41, 55, 0.35); } .lg-ticks span.is-first::before { left: 0; } .lg-ticks span.is-last::before { left: auto; right: 0; } .lg-scope { margin-top: 0.15rem; color: var(--faint); font-size: 0.7rem; } .lg-item { display: flex; align-items: center; gap: 0.4rem; margin: 0.12rem 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lg-more { color: var(--faint); margin-top: 0.15rem; } .stage-controls { display: flex; flex-direction: column; gap: 0.55rem; margin-top: 0.35rem; } .ctl-row { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 0.7rem; } .ctl-group { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; flex: 1 1 300px; min-width: 0; } .ctl-spacer { flex: 1; } .ctl-label { font-size: 0.74rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; } .btn-sm svg { width: 15px; height: 15px; } .seg .sym { font-size: 1.02rem; } .ctl-val { min-width: 2.4rem; font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; } .ctl-note { font-size: 0.76rem; color: var(--faint); } #slice { flex: 1 1 140px; max-width: 320px; accent-color: var(--accent); } /* orbit */ .orbit-stage { position: absolute; inset: 0; cursor: grab; touch-action: none; user-select: none; outline: none; } .orbit-stage.is-dragging { cursor: grabbing; } .orbit-stage:focus-visible { box-shadow: inset 0 0 0 2px var(--brand); border-radius: 14px; } .orbit-img { position: absolute; inset: 4%; width: 92%; height: 92%; object-fit: contain; pointer-events: none; opacity: 0; transition: opacity 0.2s ease; } .orbit-stage.has-image .orbit-img { opacity: 1; } .orbit-hint { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); padding: 0.25rem 0.75rem; border-radius: 999px; background: rgba(17, 24, 39, 0.72); color: #fff; font-size: 0.76rem; pointer-events: none; transition: opacity 0.4s ease; white-space: nowrap; } .orbit-stage.is-dragging .orbit-hint, .orbit-stage.was-dragged .orbit-hint { opacity: 0; } .orbit-map { position: absolute; right: 12px; bottom: 12px; width: 118px; height: 118px; cursor: pointer; filter: drop-shadow(0 2px 6px rgba(16, 24, 40, 0.12)); } .om-bg { fill: rgba(255, 255, 255, 0.92); stroke: var(--border-strong); } .om-ring { fill: none; stroke: #e3e7ec; stroke-width: 0.8; } .om-dot { fill: #b8bfc8; } .om-dot.is-seen { fill: #6b7280; } .om-cur { fill: var(--brand); stroke: #fff; stroke-width: 1.4; } .orbit-label { position: absolute; left: 12px; bottom: 12px; padding: 0.2rem 0.6rem; border-radius: 8px; background: rgba(255, 255, 255, 0.9); border: 1px solid var(--border); font-size: 0.74rem; color: var(--muted); font-variant-numeric: tabular-nums; } /* info column */ .d-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; } .stat { padding: 0.5rem 0.65rem; background: var(--soft); border-radius: 10px; min-width: 0; } .stat span { display: block; font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .stat b { font-size: 1.02rem; font-variant-numeric: tabular-nums; white-space: nowrap; } .fam-shares { grid-column: 1 / -1; margin-top: 0.15rem; } .fam-share-list { display: flex; flex-wrap: wrap; gap: 0.35rem 0.8rem; margin-top: 0.45rem; } .fam-share { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.8rem; } .famchip { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.06rem 0.5rem 0.06rem 0.4rem; border-radius: 999px; background: color-mix(in srgb, var(--fc) 12%, white); color: color-mix(in srgb, var(--fc) 80%, black); font-size: 0.72rem; font-weight: 600; white-space: nowrap; } .famchip .dot { width: 0.5rem; height: 0.5rem; background: var(--fc); } .d-h3 { display: flex; align-items: baseline; gap: 0.6rem; margin: 1.15rem 0 0.5rem; font-size: 0.98rem; } .parts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; } .part { border: 1px solid var(--border); border-radius: 12px; padding: 0.55rem 0.7rem; cursor: pointer; transition: border-color 0.12s ease, background 0.12s ease, box-shadow 0.12s ease; } .part:hover, .part.is-hover { background: #fafbfc; border-color: var(--border-strong); } .part.is-pinned { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); } .part-main { display: flex; gap: 0.65rem; } .swatch { flex: none; width: 14px; height: 38px; border-radius: 4px; margin-top: 2px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); } .part-text { flex: 1; min-width: 0; } .part-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; } .part-name { font-weight: 600; font-size: 0.88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .part-mat { font-size: 0.76rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .part-props { display: flex; flex-wrap: wrap; align-items: center; gap: 0.15rem 0.85rem; margin-top: 0.2rem; font-size: 0.8rem; font-variant-numeric: tabular-nums; color: var(--muted); } .part-props b { color: var(--text); font-weight: 600; } .part-props abbr { text-decoration: none; font-style: italic; } .share { display: inline-flex; align-items: center; gap: 0.35rem; margin-left: auto; font-size: 0.74rem; color: var(--muted); } .share-bar { width: 54px; height: 5px; border-radius: 3px; background: #edf0f3; overflow: hidden; } .share-bar i { display: block; height: 100%; background: var(--text); opacity: 0.55; } .part-extras { margin-top: 0.2rem; font-size: 0.74rem; color: var(--muted); } .why { margin-top: 0.3rem; } .why summary { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.76rem; color: var(--accent-ink); cursor: pointer; font-weight: 600; list-style: none; } .why summary::-webkit-details-marker { display: none; } .why summary::before { content: '▸'; transition: transform 0.15s ease; } .why[open] summary::before { transform: rotate(90deg); } .why-body { margin-top: 0.35rem; padding: 0.55rem 0.7rem; background: var(--soft); border-radius: 8px; font-size: 0.8rem; line-height: 1.5; color: #374151; cursor: text; } /* ---------- responsive ---------- */ @media (max-width: 1180px) { .gallery-layout { grid-template-columns: minmax(0, 1fr); } .filters-open { display: inline-flex; } .filters { position: fixed; top: 0; bottom: 0; left: 0; z-index: 40; width: min(360px, 88vw); max-height: none; border-radius: 0 16px 16px 0; transform: translateX(-104%); transition: transform 0.25s ease; box-shadow: var(--shadow-lg); } .drawer-open .filters { transform: none; } .filters-close { display: inline-grid; } .filters-foot { display: block; padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); } .filters-foot .btn { width: 100%; } .drawer-scrim { position: fixed; inset: 0; z-index: 39; background: rgba(15, 23, 32, 0.4); } .drawer-open .drawer-scrim { display: block; } .space-grid { grid-template-columns: minmax(0, 1fr); } } @media (max-width: 960px) { .detail-panel { inset: 0; border-radius: 0; } .detail-body { display: block; overflow-y: auto; } .d-stage-col { border-right: 0; overflow: visible; } .d-info-col { overflow: visible; padding-top: 0.2rem; } .stage { height: min(70vh, 92vw); } .hist-grid { grid-template-columns: minmax(0, 1fr); } } @media (max-width: 640px) { .wrap { padding: 0 14px; } .header-row { padding-top: 12px; gap: 0.6rem; } .logo { width: 34px; height: 34px; } .brand h1 { font-size: 1.3rem; } .tagline { font-size: 0.8rem; line-height: 1.4; } .links { gap: 0.3rem; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; } .links a { flex: none; padding: 0.24rem 0.65rem; font-size: 0.78rem; } .notice { font-size: 0.74rem; margin-top: 0.55rem; } .stats { margin-top: 0.55rem; } .stat-pill { padding: 0.28rem 0.65rem; font-size: 0.76rem; } .stat-pill b { font-size: 0.9rem; } .select-sm:has(#per) { display: none; } .ctl-spacer { display: none; } .btn-sm span { display: none; } .tab { padding: 0.6rem 0.6rem 0.65rem; font-size: 0.88rem; } .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .card-body { padding: 0.5rem 0.6rem 0.6rem; } .card-props span:nth-child(2) { display: none; } .kbd { display: none; } .toolbar-row { width: 100%; } .toolbar-row .select:first-of-type { flex: 1; } .toolbar-row .select:first-of-type select { width: 100%; } .detail-head { padding: 0.55rem 0.7rem; gap: 0.5rem; } .d-titles h2 { font-size: 1.02rem; } .d-actions { width: 100%; justify-content: space-between; } .d-actions .btn-ghost .btn-text { display: none; } .d-stage-col, .d-info-col { padding-left: 0.75rem; padding-right: 0.75rem; } .d-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ctl-label { min-width: 0; } .orbit-map { width: 92px; height: 92px; } .orbit-label { right: 112px; font-size: 0.7rem; } .legend { width: 172px; left: 8px; bottom: 8px; padding: 0.35rem 0.5rem 0.4rem; font-size: 0.66rem; } .lg-title { font-size: 0.68rem; margin-bottom: 0.2rem; } .lg-bar { height: 7px; } .lg-scope, .lg-more { display: none; } .stage-tab { padding: 0.35rem 0.7rem; font-size: 0.8rem; } } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }