:root { color-scheme: dark; --color-bg-page: #070913; --color-bg-deep: #050711; --color-bg-sidebar: #0b0e1b; --color-bg-surface: #101426; --color-bg-surface-alt: #151a30; --color-bg-elevated: #1a2038; --color-bg-hover: #202745; --color-primary: #8b5cf6; --color-primary-hover: #9f7aea; --color-primary-active: #7347dc; --color-primary-soft: rgba(139, 92, 246, 0.14); --color-primary-border: rgba(139, 92, 246, 0.45); --color-secondary: #3b82f6; --color-secondary-soft: rgba(59, 130, 246, 0.14); --color-accent-cyan: #22d3ee; --color-accent-pink: #d946ef; --color-accent-indigo: #6366f1; --color-text-primary: #f5f7ff; --color-text-secondary: #b4bdd3; --color-text-muted: #7d879f; --color-text-disabled: #555e73; --color-text-inverse: #080a13; --color-border: rgba(150, 165, 205, 0.14); --color-border-hover: rgba(150, 165, 205, 0.28); --color-border-strong: rgba(167, 139, 250, 0.42); --color-success: #34d399; --color-success-soft: rgba(52, 211, 153, 0.13); --color-warning: #fbbf24; --color-warning-soft: rgba(251, 191, 36, 0.13); --color-danger: #fb7185; --color-danger-soft: rgba(251, 113, 133, 0.13); --color-info: #38bdf8; --color-info-soft: rgba(56, 189, 248, 0.13); --gradient-brand: linear-gradient(135deg, #8b5cf6 0%, #6366f1 45%, #3b82f6 100%); --gradient-nebula: linear-gradient( 135deg, rgba(139, 92, 246, 0.28), rgba(59, 130, 246, 0.18), rgba(217, 70, 239, 0.12) ); --gradient-page: radial-gradient(circle at 20% 10%, rgba(124, 58, 237, 0.16), transparent 34%), radial-gradient(circle at 85% 20%, rgba(37, 99, 235, 0.12), transparent 30%), radial-gradient(circle at 55% 90%, rgba(217, 70, 239, 0.08), transparent 35%), #070913; --font-size-xs: 0.75rem; --font-size-sm: 0.875rem; --font-size-base: 1rem; --font-size-lg: 1.125rem; --font-size-xl: 1.25rem; --font-size-2xl: 1.5rem; --font-size-3xl: 2rem; --font-size-4xl: 2.5rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem; --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem; --radius-sm: 6px; --radius-md: 10px; --radius-lg: 14px; --radius-xl: 18px; --radius-pill: 999px; --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.22); --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.3); --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.42); --shadow-primary: 0 0 28px rgba(139, 92, 246, 0.22); --shadow-secondary: 0 0 28px rgba(59, 130, 246, 0.18); --duration-fast: 120ms; --duration-normal: 180ms; --ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1); } * { box-sizing: border-box; } html { min-height: 100%; background: var(--color-bg-page); } body { min-height: 100vh; margin: 0; color: var(--color-text-primary); background: var(--gradient-page); font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif; line-height: 1.55; } body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.23; background-image: radial-gradient(circle, rgba(255, 255, 255, 0.52) 1px, transparent 1px), radial-gradient(circle, rgba(139, 92, 246, 0.38) 1px, transparent 1px); background-position: 0 0, 35px 60px; background-size: 90px 90px, 140px 140px; } a { color: inherit; text-decoration: none; } button, .button, select, input, textarea, .import-button { border: 1px solid var(--color-border); border-radius: var(--radius-md); background: rgba(21, 26, 48, 0.92); color: var(--color-text-primary); font: inherit; transition: transform var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), background-color var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard); } button, .button, .import-button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; cursor: pointer; } button:hover, .button:hover, .import-button:hover { border-color: var(--color-border-hover); background: var(--color-bg-hover); } button:active, .button:active, .import-button:active { transform: translateY(0); } :focus-visible { outline: 2px solid var(--color-accent-cyan); outline-offset: 3px; } .filter-options::-webkit-scrollbar, .drawer-panel::-webkit-scrollbar, .damage-table-wrap::-webkit-scrollbar, .legacy-scrollbar::-webkit-scrollbar { background-color: transparent; width: 6px; height: 6px; border-radius: 0; } .filter-options::-webkit-scrollbar-track, .drawer-panel::-webkit-scrollbar-track, .damage-table-wrap::-webkit-scrollbar-track, .legacy-scrollbar::-webkit-scrollbar-track { background-color: transparent; border-radius: 0; box-shadow: none; } .filter-options::-webkit-scrollbar-thumb, .drawer-panel::-webkit-scrollbar-thumb, .damage-table-wrap::-webkit-scrollbar-thumb, .legacy-scrollbar::-webkit-scrollbar-thumb { background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.5, rgb(79, 26, 114)), color-stop(1, rgb(44, 1, 135))); border-radius: 10px; } .primary { border-color: transparent; background: var(--gradient-brand); box-shadow: 0 8px 22px rgba(99, 102, 241, 0.22); color: #fff; font-weight: 700; } .primary:hover { border-color: transparent; filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 10px 28px rgba(139, 92, 246, 0.3); } .ghost { border-color: transparent; background: transparent; color: var(--color-text-secondary); } .danger { color: var(--color-danger); } .danger:hover { border-color: rgba(251, 113, 133, 0.32); background: var(--color-danger-soft); color: #fff; } .app-shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; } .sidebar { position: sticky; top: 0; display: flex; height: 100vh; flex-direction: column; gap: var(--space-5); padding: var(--space-5); border-right: 1px solid var(--color-border); background: rgba(11, 14, 27, 0.82); backdrop-filter: blur(18px); box-shadow: var(--shadow-md); } .brand { display: flex; align-items: center; gap: 12px; font-size: var(--font-size-lg); font-weight: 800; } .brand-mark { display: block; width: 34px; height: 34px; flex: 0 0 auto; background: var(--gradient-brand); filter: drop-shadow(0 0 16px rgba(139, 92, 246, 0.28)); mask: url("/static/icons/controller.svg") center / contain no-repeat; -webkit-mask: url("/static/icons/controller.svg") center / contain no-repeat; transition: transform 0.8s var(--ease-standard), filter var(--duration-normal) var(--ease-standard); } .brand:hover .brand-mark { filter: drop-shadow(0 0 22px rgba(139, 92, 246, 0.42)); transform: rotate(360deg); } .nav { display: grid; gap: 8px; } .nav-item { display: flex; min-height: 42px; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid transparent; border-radius: var(--radius-md); color: var(--color-text-secondary); transition: var(--duration-normal) var(--ease-standard); } .nav-icon { display: block; width: 24px; height: 24px; flex: 0 0 auto; background: var(--color-accent-cyan); mask-position: center; mask-repeat: no-repeat; mask-size: 20px 20px; -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; -webkit-mask-size: 20px 20px; } .nav-icon-home { mask-image: url("/static/icons/home.svg"); -webkit-mask-image: url("/static/icons/home.svg"); } .nav-icon-toolbox { mask-image: url("/static/icons/toolbox.svg"); -webkit-mask-image: url("/static/icons/toolbox.svg"); } .nav-icon-controller { mask-image: url("/static/icons/controller.svg"); -webkit-mask-image: url("/static/icons/controller.svg"); } .nav-item strong { color: inherit; font-size: var(--font-size-sm); font-weight: 700; } .nav-item:hover { background: var(--color-bg-hover); color: var(--color-text-primary); } .nav-item.active { border-color: var(--color-primary-border); background: var(--color-primary-soft); box-shadow: inset 3px 0 0 var(--color-primary); color: var(--color-text-primary); } .sidebar-note { margin-top: auto; padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: rgba(16, 20, 38, 0.62); } .sidebar-note p { margin: 10px 0 0; font-size: var(--font-size-sm); } .sidebar-storage-actions { display: flex; gap: var(--space-2); margin-top: var(--space-4); } .sidebar-action-button { display: inline-flex; width: 40px; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: rgba(21, 26, 48, 0.92); color: var(--color-text-primary); cursor: pointer; } .sidebar-action-button:hover { border-color: var(--color-border-hover); background: var(--color-bg-hover); } .content-shell { display: flex; min-height: 100vh; min-width: 0; flex-direction: column; } .topbar { position: sticky; top: 0; z-index: 20; display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: var(--space-4); padding: 0 var(--space-8); border-bottom: 1px solid var(--color-border); background: rgba(7, 9, 19, 0.78); backdrop-filter: blur(18px); } .topbar strong { font-size: var(--font-size-lg); } .topbar .eyebrow { margin-bottom: 2px; } .topbar-actions { display: flex; gap: 10px; } .toolbox-icon-button { width: 42px; min-width: 42px; padding: 0; } .toolbox-icon-button img { width: 21px; height: 21px; object-fit: contain; } main { display: flex; flex: 1; flex-direction: column; width: min(1600px, calc(100% - 64px)); margin: 0 auto; padding: var(--space-8) 0 var(--space-12); } .hero, .game-hero { position: relative; display: grid; min-height: 360px; align-items: end; gap: var(--space-6); overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: var(--space-10); } .hero::after, .game-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(5, 7, 17, 0.1), rgba(5, 7, 17, 0.52)), radial-gradient(circle at 82% 16%, rgba(34, 211, 238, 0.18), transparent 30%); } .hero > *, .game-hero > * { position: relative; z-index: 1; } .hero { grid-template-columns: minmax(0, 1fr) minmax(360px, 480px); background: var(--gradient-nebula), linear-gradient(135deg, rgba(16, 20, 38, 0.98), rgba(5, 7, 17, 0.96)); } .game-hero { grid-template-columns: 1fr auto; color: white; } h1, h2, p { margin-top: 0; } h1 { max-width: 820px; margin-bottom: 14px; font-size: clamp(2rem, 4vw, var(--font-size-4xl)); line-height: 1.05; } h2 { margin-bottom: 10px; font-size: var(--font-size-xl); } p, li, small, span { color: var(--color-text-secondary); } .eyebrow { margin-bottom: 10px; color: var(--color-accent-cyan); font-size: var(--font-size-xs); font-weight: 800; letter-spacing: 0; text-transform: uppercase; } .actions, .card-actions, .toolbar { display: flex; flex-wrap: wrap; gap: 10px; } .toolbar-stack { align-items: flex-start; flex-direction: column; } .toolbar-stack > div { display: flex; flex-wrap: wrap; gap: 10px; } .hero-panel { padding: var(--space-5); border: 1px solid rgba(165, 180, 252, 0.14); border-radius: var(--radius-lg); background: rgba(16, 20, 38, 0.72); backdrop-filter: blur(18px); } .hero-panel span { display: block; background: var(--gradient-brand); background-clip: text; color: transparent; font-size: 56px; font-weight: 800; line-height: 1; } .home-visual { display: grid; align-self: center; justify-self: stretch; width: 100%; height: 100%; min-height: 320px; place-items: center; } .home-visual img { display: block; width: 100%; height: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius-lg); filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.34)); } .origin-section { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.65fr); gap: var(--space-6); margin-top: var(--space-6); padding: var(--space-6); border: 1px solid rgba(165, 180, 252, 0.14); border-radius: var(--radius-lg); background: rgba(16, 20, 38, 0.42); box-shadow: var(--shadow-sm); } .origin-copy { min-width: 0; padding-right: var(--space-6); border-right: 2px solid rgba(34, 211, 238, 0.66); } .home-dialogue { position: relative; display: grid; gap: 8px; margin-top: var(--space-4); } .dialogue-line { width: fit-content; max-width: 100%; margin: 0; padding: 8px 11px; border: 1px solid rgba(165, 180, 252, 0.14); border-radius: 8px; color: var(--color-text-primary); font-size: var(--font-size-sm); line-height: 1.35; } .dialogue-line-user { justify-self: end; background: linear-gradient(135deg, rgba(124, 58, 237, 0.28), rgba(37, 99, 235, 0.18)); } .dialogue-line-app { justify-self: start; background: rgba(7, 10, 24, 0.48); } .dialogue-line i { color: var(--color-text-muted); font-style: normal; } .dialogue-caption { display: block; margin-top: 4px; color: var(--color-text-muted); font-size: var(--font-size-xs); font-style: italic; text-align: right; } .home-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-self: start; } .hero-stats { align-self: center; justify-self: end; width: min(420px, 100%); } .home-stats article { min-height: 118px; padding: var(--space-4); border: 1px solid rgba(165, 180, 252, 0.14); border-radius: var(--radius-md); background: linear-gradient(145deg, rgba(34, 211, 238, 0.08), transparent 52%), rgba(7, 10, 24, 0.52); } .home-stats strong { display: block; margin-bottom: 10px; background: var(--gradient-brand); background-clip: text; color: transparent; font-size: 44px; font-weight: 900; line-height: 0.95; } .home-stats span { display: block; color: var(--color-text-secondary); font-size: var(--font-size-sm); font-weight: 700; line-height: 1.35; } .section-grid, .cards, .info-grid, .modules { display: grid; gap: var(--space-4); margin-top: var(--space-6); } .section-grid, .info-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); } .feature, .info-panel, .module, .empty, .card { border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: rgba(16, 20, 38, 0.88); box-shadow: var(--shadow-sm); } .feature, .info-panel, .empty { padding: var(--space-5); } .feature, .card, .module, .info-panel { transition: transform var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), background-color var(--duration-fast) var(--ease-standard); } .feature:hover, .card:hover, .module:hover, .info-panel:hover { transform: translateY(-2px); border-color: var(--color-border-hover); background: rgba(21, 26, 48, 0.96); } .feature { display: grid; gap: 8px; } .feature strong { color: var(--color-text-primary); } .page-heading, .toolbox-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-5); } .card { overflow: hidden; } .card-cover { min-height: 124px; border-bottom: 1px solid var(--color-border); } .card-body { padding: var(--space-5); } .card-actions { margin-top: var(--space-5); } .toolbox-card { display: flex; min-height: 292px; flex-direction: column; } .toolbox-card .card-cover { flex: 0 0 124px; height: 124px; min-height: 124px; } .toolbox-card .card-body { display: flex; flex: 1; flex-direction: column; } .toolbox-card .card-actions { margin-top: auto; padding-top: var(--space-5); } .toolbox-page { display: flex; min-height: calc(100vh - 68px - var(--space-8) - var(--space-12)); flex: 1; flex-direction: column; gap: var(--space-4); } .toolbox-embedded { display: flex; flex-direction: column; gap: var(--space-4); } .storage-help-card { position: relative; min-height: 292px; overflow: hidden; border-color: rgba(34, 211, 238, 0.22); background: linear-gradient(135deg, rgba(34, 211, 238, 0.1), transparent 38%), rgba(10, 13, 29, 0.84); } .storage-help-card::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--gradient-brand); } .storage-help-card .card-body { display: flex; min-height: 100%; flex-direction: column; padding: 18px; } .storage-help-heading { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: center; margin-bottom: 12px; } .storage-help-mark { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(34, 211, 238, 0.32); border-radius: var(--radius-md); background: rgba(34, 211, 238, 0.1); color: var(--color-accent-cyan); box-shadow: 0 0 22px rgba(34, 211, 238, 0.12); } .storage-help-mark::before { content: ""; width: 19px; height: 19px; background: currentColor; mask: url("/static/icons/save.svg") center / contain no-repeat; -webkit-mask: url("/static/icons/save.svg") center / contain no-repeat; } .storage-help-card h2 { margin: 0; font-size: var(--font-size-lg); line-height: 1.2; } .storage-help-card .eyebrow { color: var(--color-accent-cyan); } .storage-help-intro { color: var(--color-text-secondary); font-size: var(--font-size-xs); line-height: 1.45; } .storage-help-card p, .storage-help-card ul { margin: 0; } .storage-help-list { display: grid; gap: 7px; margin-top: 18px; padding: 10px 0 0; list-style: none; } .storage-help-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: start; padding: 8px 9px; border: 1px solid rgba(150, 165, 205, 0.12); border-radius: var(--radius-md); background: rgba(7, 10, 24, 0.45); } .storage-help-list span { display: grid; width: 18px; height: 18px; place-items: center; border-radius: var(--radius-sm); background: rgba(139, 92, 246, 0.18); color: var(--color-text-primary); font-size: var(--font-size-xs); font-weight: 800; } .storage-help-list p { align-self: center; color: var(--color-text-secondary); font-size: var(--font-size-xs); line-height: 1.32; } .storage-quota { display: grid; gap: var(--space-3); margin-top: auto; padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: rgba(10, 13, 29, 0.78); box-shadow: var(--shadow-sm); } .toolbox-page > .storage-quota, .drawer-content > .storage-quota { margin-top: auto; } .storage-quota > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); color: var(--color-text-secondary); font-size: var(--font-size-sm); } .storage-quota strong { color: var(--color-text-primary); font-size: var(--font-size-sm); } .storage-quota-track { width: 100%; height: 9px; overflow: hidden; border: 1px solid rgba(150, 165, 205, 0.14); border-radius: var(--radius-pill); background: rgba(5, 7, 17, 0.82); } .storage-quota-track span { display: block; height: 100%; border-radius: inherit; background: var(--gradient-brand); box-shadow: 0 0 18px rgba(99, 102, 241, 0.32); transition: width var(--duration-normal) var(--ease-standard); } .storage-quota-warning { border-color: rgba(251, 191, 36, 0.34); } .storage-quota-warning .storage-quota-track span { background: linear-gradient(135deg, #fbbf24, #f97316); } .storage-quota-danger { border-color: rgba(251, 113, 133, 0.42); } .storage-quota-danger .storage-quota-track span { background: linear-gradient(135deg, #fb7185, #d946ef); } .card-icon-button { width: 42px; min-width: 42px; padding: 0; } .ui-icon { display: block; width: 20px; height: 20px; background: currentColor; mask-position: center; mask-repeat: no-repeat; mask-size: contain; -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; -webkit-mask-size: contain; } .ui-icon-open { mask-image: url("/static/icons/open.svg"); -webkit-mask-image: url("/static/icons/open.svg"); } .ui-icon-save { mask-image: url("/static/icons/save.svg"); -webkit-mask-image: url("/static/icons/save.svg"); } .ui-icon-export { mask-image: url("/static/icons/export.svg"); -webkit-mask-image: url("/static/icons/export.svg"); } .ui-icon-import { mask-image: url("/static/icons/import.svg"); -webkit-mask-image: url("/static/icons/import.svg"); } .ui-icon-link { mask-image: url("/static/icons/link.svg"); -webkit-mask-image: url("/static/icons/link.svg"); } .ui-icon-rows { mask-image: url("/static/icons/rows.svg"); -webkit-mask-image: url("/static/icons/rows.svg"); } .ui-icon-columns { mask-image: url("/static/icons/columns.svg"); -webkit-mask-image: url("/static/icons/columns.svg"); } .ui-icon-close { mask-image: url("/static/icons/close.svg"); -webkit-mask-image: url("/static/icons/close.svg"); } .ui-icon-rubber { mask-image: url("/static/icons/rubber.svg"); -webkit-mask-image: url("/static/icons/rubber.svg"); } .ui-icon-trash { mask-image: url("/static/icons/trashcan.svg"); -webkit-mask-image: url("/static/icons/trashcan.svg"); } .game-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--space-4); margin-top: var(--space-6); } .game-card .card-cover { min-height: 170px; } .game-card-cover { position: relative; overflow: hidden; background: var(--game-cover), rgba(5, 7, 17, 0.72); } .toolbox-card-cover { position: relative; overflow: hidden; background: var(--game-cover), rgba(5, 7, 17, 0.72); } .game-card-cover img, .toolbox-card-cover img { display: block; width: 100%; height: 100%; min-height: inherit; object-fit: cover; } .badge { display: inline-flex; min-height: 24px; align-items: center; gap: 6px; border-radius: var(--radius-pill); background: var(--color-primary-soft); color: #b69cff; font-size: var(--font-size-xs); font-weight: 700; padding: 3px 9px; } .toolbox-head { padding: var(--space-6); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: rgba(16, 20, 38, 0.76); backdrop-filter: blur(18px); } .toolbox-title { width: fit-content; max-width: 100%; padding: 3px 6px; border-radius: var(--radius-sm); cursor: text; } .toolbox-title:focus { background: rgba(7, 10, 24, 0.72); outline: 1px solid rgba(34, 211, 238, 0.72); outline-offset: 3px; } .modules-toolbar { display: flex; justify-content: flex-end; margin-top: var(--space-4); } .modules { align-items: start; } .modules[data-layout-cols="1"] { grid-template-columns: 1fr; } .modules[data-layout-cols="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } .module-column { display: grid; gap: var(--space-4); align-content: start; } .module { overflow: hidden; } .module[draggable="true"] { cursor: grab; } .module.is-dragging { cursor: grabbing; opacity: 0.58; transform: scale(0.99); } .module.is-drop-target { border-color: rgba(34, 211, 238, 0.72); box-shadow: var(--shadow-sm), inset 0 3px 0 rgba(34, 211, 238, 0.8); } .module.is-drop-target.drop-after { box-shadow: var(--shadow-sm), inset 0 -3px 0 rgba(34, 211, 238, 0.8); } .module header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-4); border-bottom: 1px solid var(--color-border); } .module header > div { display: flex; align-items: center; gap: 10px; } .module header h2 { margin: 0; font-size: 17px; } .layout-switch { display: inline-grid; grid-template-columns: repeat(2, 38px); gap: 4px; padding: 4px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: rgba(5, 7, 17, 0.48); } .layout-switch button { min-height: 34px; align-items: center; justify-content: center; padding: 0; border-color: transparent; background: transparent; color: var(--color-text-muted); font-weight: 900; } .layout-switch button.active { background: var(--gradient-brand); color: white; box-shadow: var(--shadow-primary); } .module-drag-handle { display: grid; width: 18px; height: 34px; flex: 0 0 18px; place-items: center; cursor: grab; opacity: 0.62; } .module-drag-handle::before { content: ""; width: 4px; height: 20px; background: radial-gradient(circle, currentColor 1.6px, transparent 1.8px) 0 0 / 4px 6px, radial-gradient(circle, currentColor 1.6px, transparent 1.8px) 8px 0 / 4px 6px; color: var(--color-text-muted); } .module:hover .module-drag-handle, .module:focus-within .module-drag-handle { opacity: 1; } .module-title { min-width: 80px; max-width: 100%; padding: 4px 6px; border-radius: var(--radius-sm); cursor: text; } .module-title:focus { background: rgba(7, 10, 24, 0.72); outline: 1px solid rgba(34, 211, 238, 0.72); outline-offset: 2px; } .module-delete-button { width: 38px; min-width: 38px; padding: 0; } .module-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: var(--radius-md); background: var(--gradient-brand); box-shadow: var(--shadow-primary); color: white; } .module-icon-svg { display: block; width: 19px; height: 19px; background: white; mask-position: center; mask-repeat: no-repeat; mask-size: contain; -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; -webkit-mask-size: contain; } .module-icon-notepad { mask-image: url("/static/icons/notepad.svg"); -webkit-mask-image: url("/static/icons/notepad.svg"); } .module-icon-checklist { mask-image: url("/static/icons/checklist.svg"); -webkit-mask-image: url("/static/icons/checklist.svg"); } .module-icon-picture { mask-image: url("/static/icons/picture.svg"); -webkit-mask-image: url("/static/icons/picture.svg"); } .notepad { display: block; width: calc(100% - 32px); min-height: 240px; margin: var(--space-4); padding: var(--space-4); resize: vertical; line-height: 1.6; background: rgba(5, 7, 17, 0.56); } .inline-form, .field { display: grid; gap: 10px; padding: var(--space-4); } .inline-form { grid-template-columns: 1fr auto; } .checklist-add-form { grid-template-columns: minmax(0, 1fr) 76px auto; } .checklist-qty-input { padding-inline: 10px; text-align: center; } input, select, textarea { min-height: 44px; padding: 0 14px; outline: none; } textarea { padding-block: 14px; } input::placeholder, textarea::placeholder { color: var(--color-text-muted); } input:focus, select:focus, textarea:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.16); } .checklist { display: grid; gap: 8px; margin: 0; padding: 0 var(--space-4) var(--space-4); list-style: none; } .checklist-item { display: grid; grid-template-columns: 1fr 42px; gap: 8px; align-items: center; } .checklist-item-main { display: flex; min-height: 42px; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: rgba(5, 7, 17, 0.44); } .checklist input[type="checkbox"] { flex: 0 0 auto; width: 20px; min-height: 20px; height: 20px; accent-color: var(--color-primary); } .checklist-item.is-complete .checklist-item-main > span { color: var(--color-text-muted); text-decoration: line-through; } .checklist-qty-controls { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; } .checklist-qty-controls button { width: 28px; min-width: 28px; min-height: 28px; padding: 0; line-height: 1; } .checklist-qty-controls small { min-width: 42px; color: var(--color-text-secondary); text-align: center; } .dropzone { display: grid; min-height: 74px; margin: var(--space-4); place-items: center; border: 1px dashed rgba(139, 92, 246, 0.52); border-radius: var(--radius-lg); background: var(--color-primary-soft); color: var(--color-text-secondary); cursor: pointer; } .dropzone:hover { border-color: var(--color-accent-cyan); background: rgba(34, 211, 238, 0.1); box-shadow: 0 0 30px rgba(34, 211, 238, 0.12); } .dropzone.is-drag-over { border-color: var(--color-accent-cyan); background: rgba(34, 211, 238, 0.14); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12); } .paste-target { min-height: 46px; margin: 0 var(--space-4) var(--space-4); padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: rgba(5, 7, 17, 0.44); color: var(--color-text-muted); } .paste-target:focus { border-color: var(--color-primary); color: var(--color-text-secondary); outline: none; box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.16); } .shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--space-3); padding: 0 var(--space-4) var(--space-4); } .shots figure { position: relative; margin: 0; padding: 8px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: rgba(5, 7, 17, 0.38); } .shot-preview { display: block; width: 100%; min-height: 0; padding: 0; border: 0; border-radius: var(--radius-md); background: transparent; } .shot-preview:hover { transform: none; box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.28); } .shots img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-md); background: var(--color-bg-deep); } .shot-delete-button { width: 38px; min-width: 38px; padding: 0; } .screenshot-viewer-root { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: var(--space-5); } .screenshot-viewer-backdrop { position: absolute; inset: 0; background: rgba(2, 3, 9, 0.64); backdrop-filter: blur(4px); } .screenshot-viewer { position: relative; display: grid; width: min(1120px, calc(100vw - 32px)); max-height: calc(100vh - 48px); gap: var(--space-4); padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: rgba(16, 20, 38, 0.96); box-shadow: var(--shadow-lg); } .screenshot-viewer header { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-4); } .screenshot-viewer img { display: block; max-width: 100%; max-height: calc(100vh - 170px); justify-self: center; border-radius: var(--radius-md); object-fit: contain; } .drawer[aria-hidden="true"] { display: none; } .drawer-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(2, 3, 9, 0.42); backdrop-filter: blur(2px); } .drawer-panel { position: fixed; inset: 0 0 0 auto; z-index: 50; width: min(720px, 94vw); min-width: 360px; max-width: 94vw; overflow: auto; border-left: 1px solid var(--color-border); background: rgba(7, 9, 19, 0.96); box-shadow: var(--shadow-lg); padding: var(--space-5); } .drawer-content { position: relative; display: flex; min-height: 100%; flex-direction: column; gap: var(--space-4); } .drawer-resize-handle { position: absolute; top: 50%; left: -18px; width: 14px; height: 72px; border-radius: var(--radius-pill); cursor: ew-resize; transform: translateY(-50%); } .drawer-resize-handle::before { content: ""; position: absolute; top: 0; left: 5px; width: 4px; height: 100%; border-radius: inherit; background: var(--gradient-brand); opacity: 0.72; } body.is-resizing-drawer, body.is-resizing-drawer * { cursor: ew-resize !important; user-select: none; } .drawer-panel > .drawer-content > header { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-3); } .drawer-toolbox-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); } .drawer-action-button { display: inline-flex; width: 40px; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: rgba(21, 26, 48, 0.92); color: var(--color-text-primary); cursor: pointer; } .drawer-action-button:hover { border-color: var(--color-border-hover); background: var(--color-bg-hover); } .drawer-action-button:disabled { color: var(--color-text-disabled); cursor: not-allowed; opacity: 0.56; } .drawer-close-button { width: 40px; min-width: 40px; padding: 0; } .drawer-panel .modules { grid-template-columns: 1fr; } .confirm-modal-root { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: var(--space-5); } .confirm-backdrop { position: absolute; inset: 0; background: rgba(2, 3, 9, 0.62); backdrop-filter: blur(6px); } .confirm-modal { position: relative; width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: rgba(16, 20, 38, 0.96); box-shadow: var(--shadow-lg); padding: var(--space-5); } .confirm-modal h2 { margin-bottom: var(--space-3); } .confirm-modal p { margin-bottom: var(--space-6); } .confirm-modal footer { display: flex; justify-content: flex-end; gap: 10px; } .toolbox-create-modal form, .toolbox-link-modal form { display: grid; gap: var(--space-4); } .toolbox-create-modal .field, .toolbox-link-modal .field { padding: 0; } .confirm-danger { border-color: rgba(251, 113, 133, 0.34); background: var(--color-danger); color: #fff; font-weight: 700; } .mhwilds-hero { background: linear-gradient(135deg, rgba(139, 92, 246, 0.86), rgba(99, 102, 241, 0.76), rgba(34, 211, 238, 0.58)), var(--color-bg-surface); } .mhwilds-home-grid { display: grid; grid-template-columns: repeat(2, minmax(240px, 380px)); justify-content: center; gap: var(--space-4); margin-top: var(--space-6); } .mhwilds-home-card { overflow: hidden; padding: 0; min-height: 230px; } .mhwilds-home-card img { display: block; width: 100%; height: 120px; object-fit: contain; padding: var(--space-4); border-bottom: 1px solid var(--color-border); background: rgba(5, 7, 17, 0.28); } .mhwilds-home-card strong, .mhwilds-home-card span { margin-inline: var(--space-5); } .mhwilds-home-card strong { margin-top: var(--space-4); } .mhwilds-home-card span { margin-bottom: var(--space-5); } .mhwilds-heading p { max-width: 70ch; } .mhwilds-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; } .mhwilds-title-row h1 { margin-bottom: 0; } .results-count { display: inline-flex; min-height: 28px; align-items: center; padding: 4px 10px; border: 1px solid rgba(165, 180, 252, 0.16); border-radius: var(--radius-pill); background: rgba(5, 7, 17, 0.34); color: var(--color-text-secondary); font-size: var(--font-size-sm); font-weight: 800; } .mhwilds-layout { display: grid; grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); gap: var(--space-5); margin-top: var(--space-6); align-items: start; } .mhwilds-filters { position: sticky; top: 92px; } .filter-panel { border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: rgba(16, 20, 38, 0.72); box-shadow: var(--shadow-sm); backdrop-filter: blur(18px); padding: var(--space-4); } .filter-panel-head, .filter-logic { display: flex; justify-content: space-between; gap: var(--space-3); } .filter-panel-head { align-items: flex-start; } .filter-logic { align-items: center; } .filter-panel-head h2 { margin-bottom: 0; font-size: var(--font-size-lg); } .filter-reset-button { width: 40px; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: rgba(16, 20, 38, 0.78); color: var(--color-text-secondary); box-shadow: var(--shadow-sm); } .filter-reset-button:hover { border-color: var(--color-border-hover); background: rgba(21, 26, 48, 0.96); color: var(--color-text-primary); } .field.compact { padding: var(--space-4) 0; } .filter-logic { min-height: 42px; margin-bottom: var(--space-4); padding: 8px 10px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: rgba(5, 7, 17, 0.36); } .filter-logic button { min-height: 30px; padding: 0 12px; background: var(--color-primary-soft); color: var(--color-text-primary); font-size: var(--font-size-sm); font-weight: 800; text-transform: uppercase; } .filter-options { display: grid; gap: 8px; max-height: calc(100vh - 360px); overflow: auto; margin-right: -6px; padding-right: 12px; } .filter-chip { display: grid; grid-template-columns: 22px 24px 1fr; min-height: 40px; align-items: center; gap: 8px; padding: 7px 9px; border: 1px solid var(--color-border); border-radius: var(--radius-pill); background: rgba(5, 7, 17, 0.32); color: var(--color-text-secondary); cursor: pointer; } .filter-chip:hover, .filter-chip.active { border-color: var(--color-primary-border); background: var(--color-primary-soft); color: var(--color-text-primary); } .filter-chip input { width: 18px; height: 18px; min-height: 18px; accent-color: var(--color-primary); } .filter-chip img { width: 22px; height: 22px; object-fit: contain; } .filter-chip span { overflow: hidden; color: inherit; font-size: var(--font-size-sm); text-overflow: ellipsis; white-space: nowrap; } .mhwilds-grid { display: grid; gap: var(--space-4); } .monster-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); } .endemic-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); } .mhwilds-card { overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: rgba(16, 20, 38, 0.88); box-shadow: var(--shadow-sm); transition: transform var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard), background-color var(--duration-fast) var(--ease-standard); } .mhwilds-card:hover { transform: translateY(-2px); border-color: var(--color-border-hover); background: rgba(21, 26, 48, 0.96); } .monster-card { height: 285px; overflow: visible; cursor: pointer; perspective: 1200px; } .monster-card:hover, .monster-card:focus-visible { background: transparent; } .mhwilds-card-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 420ms var(--ease-standard); } .monster-card.is-flipped .mhwilds-card-inner { transform: rotateY(180deg); } .mhwilds-card-face { position: absolute; inset: 0; display: flex; overflow: hidden; flex-direction: column; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: rgba(16, 20, 38, 0.92); box-shadow: var(--shadow-sm); backface-visibility: hidden; } .mhwilds-card-front { transform: rotateY(0deg); } .mhwilds-card-back { transform: rotateY(180deg); } .monster-card:hover .mhwilds-card-face { border-color: var(--color-border-hover); background: rgba(21, 26, 48, 0.98); } .mhwilds-card-art { display: grid; min-height: 112px; place-items: center; border-bottom: 1px solid var(--color-border); background: radial-gradient(circle at 50% 40%, rgba(139, 92, 246, 0.16), transparent 46%), rgba(5, 7, 17, 0.36); } .endemic-card .mhwilds-card-art { min-height: 104px; } .mhwilds-card-art img { max-width: min(78%, 230px); max-height: 92px; object-fit: contain; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.44)); } .endemic-card .mhwilds-card-art img { max-height: 78px; } .mhwilds-card-body { padding: 12px; } .mhwilds-card-body h2 { margin-bottom: 8px; font-size: 1rem; } .monster-card .eyebrow { margin-bottom: 6px; } .mhwilds-card-back .mhwilds-card-body { padding: 10px 12px 6px; } .mhwilds-card-back .eyebrow { margin-bottom: 4px; } .mhwilds-icon-row { display: grid; grid-template-columns: 92px 1fr; gap: var(--space-2); align-items: start; margin-top: 4px; } .mhwilds-icon-row > span { color: var(--color-text-muted); font-size: 0.82rem; line-height: 1.25; } .mhwilds-icon-row > div { display: flex; flex-wrap: wrap; gap: 5px; } .mhwilds-icon-row img { width: 18px; height: 18px; object-fit: contain; } .mhwilds-icon-row em { display: inline-grid; width: 18px; height: 18px; place-items: center; color: var(--color-text-muted); font-style: normal; } .damage-table-wrap { min-height: 0; max-height: 218px; overflow-x: hidden; overflow-y: auto; margin: 0 10px 10px; padding: 0; border: 1px solid var(--color-border); border-radius: var(--radius-md); } .damage-table { width: 100%; min-width: 0; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 0.62rem; } .damage-table th, .damage-table td { width: 9%; padding: 2px 1px; border-right: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); text-align: center; } .damage-table th:first-child, .damage-table td:first-child { position: sticky; left: 0; width: 26%; max-width: 26%; overflow: hidden; border-left: 1px solid var(--color-border); background: var(--color-bg-surface-alt); color: var(--color-text-secondary); text-align: left; text-overflow: ellipsis; white-space: nowrap; } .damage-table th { position: sticky; top: 0; z-index: 2; background: rgba(21, 26, 48, 0.96); } .damage-table th:first-child { z-index: 3; } .damage-table img { width: 14px; height: 14px; object-fit: contain; } .mobile-nav { display: none; } @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } } @media (max-width: 1024px) { .app-shell { grid-template-columns: 72px minmax(0, 1fr); } .sidebar { padding: var(--space-4) 10px; } .brand span:last-child, .nav-item strong, .sidebar-note { display: none; } .brand, .nav-item { justify-content: center; } } @media (max-width: 760px) { .app-shell { display: block; padding-bottom: 76px; } .sidebar { display: none; } .topbar, .page-heading, .toolbox-head, .module header { align-items: stretch; flex-direction: column; } .topbar { padding: var(--space-4); } .topbar-actions { display: flex; } .topbar-actions > * { width: 100%; } .hero, .game-hero, .origin-section, .section-grid, .info-grid { grid-template-columns: 1fr; } .hero, .game-hero { min-height: auto; padding: var(--space-6); } .home-visual { justify-self: center; width: min(320px, 100%); min-height: 240px; } .home-visual img { object-fit: contain; } .origin-section { padding: var(--space-5); } .home-dialogue { padding-left: 0; } .origin-copy { padding-right: 0; padding-bottom: var(--space-5); border-right: 0; border-bottom: 2px solid rgba(34, 211, 238, 0.66); } .dialogue-line { max-width: 92%; } .home-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } main { width: min(100% - 24px, 1180px); padding-top: var(--space-5); } .modules, .modules[data-layout-cols="1"], .modules[data-layout-cols="2"] { grid-template-columns: 1fr; } .module-column { display: contents; } .mhwilds-home-grid, .mhwilds-layout { grid-template-columns: 1fr; } .mhwilds-filters { position: static; } .filter-options { max-height: none; } .inline-form { grid-template-columns: 1fr; } .mobile-nav { position: fixed; right: 12px; bottom: 12px; left: 12px; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 52px 1fr; gap: 8px; align-items: center; padding: 8px; border: 1px solid var(--color-border); border-radius: var(--radius-xl); background: rgba(11, 14, 27, 0.9); backdrop-filter: blur(18px); box-shadow: var(--shadow-lg); } .mobile-nav a, .mobile-nav button { min-height: 44px; padding: 0 8px; border-radius: var(--radius-md); font-size: var(--font-size-sm); } .mobile-nav a { display: grid; place-items: center; color: var(--color-text-secondary); } .mobile-nav a.active { background: var(--color-primary-soft); color: var(--color-text-primary); } .drawer-panel { min-width: 0; width: min(720px, 94vw); } .drawer-resize-handle { display: none; } } @media (max-width: 480px) { .home-stats { grid-template-columns: 1fr; } }