/* ── Font Awesome font-display override ────────────────────────────────── The CDN CSS doesn't set font-display, causing a Lighthouse FCP warning. These @font-face blocks match the FA 6 font families by family name and weight, adding font-display: swap without re-hosting the actual files. The browser merges the descriptor with the CDN rule; `src` is omitted so only the display hint is injected. */ @font-face { font-family: 'Font Awesome 6 Free'; font-weight: 900; font-display: swap; src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/webfonts/fa-solid-900.woff2') format('woff2'); } @font-face { font-family: 'Font Awesome 6 Free'; font-weight: 400; font-display: swap; src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/webfonts/fa-regular-400.woff2') format('woff2'); } @font-face { font-family: 'Font Awesome 6 Brands'; font-weight: 400; font-display: swap; src: url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/webfonts/fa-brands-400.woff2') format('woff2'); } @font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/nova-cards/anton-400.woff2') format('woff2'); } @font-face { font-family: 'Caveat'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/nova-cards/caveat-400-700.woff2') format('woff2'); } @font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('/fonts/nova-cards/cormorant-garamond-500-700.woff2') format('woff2'); } @font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/nova-cards/inter-400-700.woff2') format('woff2'); } @font-face { font-family: 'Libre Franklin'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/nova-cards/libre-franklin-400-700.woff2') format('woff2'); } @font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600 700; font-display: swap; src: url('/fonts/nova-cards/playfair-display-600-700.woff2') format('woff2'); } @tailwind base; @tailwind components; @tailwind utilities; .form-label { @apply block text-sm text-soft mb-1; } .form-input { @apply w-full bg-deep border border-nova-500/30 rounded-lg px-4 py-2 text-white placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-accent; } .form-textarea { @apply w-full bg-deep border border-nova-500/30 rounded-lg px-4 py-2 text-white resize-none focus:outline-none focus:ring-2 focus:ring-accent; } .form-file { @apply w-full text-sm text-soft file:bg-panel file:border-0 file:px-4 file:py-2 file:rounded-lg file:text-white hover:file:bg-nova-600/40; } .btn-primary { @apply bg-accent text-deep px-6 py-2 rounded-lg font-medium hover:brightness-110 transition; } .btn-accent-solid { color: #ffffff; background: linear-gradient(180deg, #cc6f1d 0%, #a85412 100%); border: 1px solid rgba(255, 196, 125, 0.24); box-shadow: 0 12px 30px rgba(168, 84, 18, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14); transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease; } .btn-accent-solid:hover { filter: brightness(1.05); box-shadow: 0 16px 36px rgba(168, 84, 18, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.18); } .btn-accent-solid:focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.46), 0 12px 30px rgba(168, 84, 18, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14); } .btn-secondary { @apply bg-nova-500/30 text-white px-5 py-2 rounded-lg hover:bg-nova-500/50 transition; } @layer components { /* Ensure plain inputs, textareas and selects match the dark form styles so we don't end up with white backgrounds + white text. */ input, input[type="text"], input[type="email"], input[type="password"], textarea, select { @apply bg-deep text-white border border-nova-500/30 rounded-lg px-4 py-2 placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-accent; } /* Keep file inputs styled separately (file controls use .form-file class). This prevents the native file button from inheriting the same padding. */ input[type="file"] { @apply bg-transparent text-soft p-0; } .auth-card { max-width: 720px; margin-left: auto; margin-right: auto; } .auth-card h1 { font-size: 1.25rem; line-height: 1.2; } .auth-card p { color: rgba(203,213,225,0.9); } } @layer base { *,:before,:after { box-sizing: border-box; border: 0 solid transparent; } h1, h2, h3, h4, h5, h6 { color: #ffffff; margin-top: 1rem; margin-bottom: 0.5rem; } h1 { font-size: 2.25rem; line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; } h2 { font-size: 1.5rem; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; } h3 { font-size: 1.125rem; line-height: 1.2; font-weight: 600; } h4 { font-size: 1rem; line-height: 1.25; font-weight: 600; } h5 { font-size: 0.95rem; line-height: 1.25; font-weight: 600; } h6 { font-size: 0.85rem; line-height: 1.3; font-weight: 600; text-transform: uppercase; opacity: 0.85; } .prose h1 { font-size: 2.25rem; } .prose h2 { font-size: 1.5rem; } .prose h3 { font-size: 1.125rem; } .prose h4, .prose h5, .prose h6 { font-weight: 600; } [x-cloak] { display: none !important; } } @layer utilities { .nova-card-enter { opacity: 0; transform: translateY(10px) scale(0.995); } .nova-card-enter.nova-card-enter-active { transition: transform 380ms cubic-bezier(.2,.9,.2,1), opacity 380ms ease-out; opacity: 1; transform: none; } .nova-scrollbar { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.14) transparent; } .nova-scrollbar::-webkit-scrollbar { width: 4px; height: 4px; } .nova-scrollbar::-webkit-scrollbar-track { background: transparent; } .nova-scrollbar::-webkit-scrollbar-thumb { background-color: rgba(255,255,255,0.14); border-radius: 999px; } .nova-scrollbar::-webkit-scrollbar-thumb:hover { background-color: rgba(255,255,255,0.28); } .nova-scrollbar::-webkit-scrollbar-corner { background: transparent; } .nova-scrollbar-message { scrollbar-width: thin; scrollbar-color: rgba(56, 189, 248, 0.55) rgba(255,255,255,0.03); } .nova-scrollbar-message::-webkit-scrollbar { width: 10px; height: 10px; } .nova-scrollbar-message::-webkit-scrollbar-track { border-radius: 999px; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)), rgba(7, 11, 18, 0.72); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03); } .nova-scrollbar-message::-webkit-scrollbar-thumb { border: 2px solid rgba(7, 11, 18, 0.72); border-radius: 999px; background: linear-gradient(180deg, rgba(125, 211, 252, 0.9), rgba(14, 165, 233, 0.78) 55%, rgba(217, 70, 239, 0.68)); box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.18), 0 6px 18px rgba(14, 165, 233, 0.22); } .nova-scrollbar-message::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, rgba(186, 230, 253, 0.98), rgba(56, 189, 248, 0.9) 50%, rgba(232, 121, 249, 0.78)); box-shadow: 0 0 0 1px rgba(186, 230, 253, 0.24), 0 10px 24px rgba(56, 189, 248, 0.28); } .nova-scrollbar-message::-webkit-scrollbar-corner { background: transparent; } .messages-page, .messages-page * { scrollbar-width: thin; scrollbar-color: rgba(56, 189, 248, 0.55) rgba(255,255,255,0.03); } .messages-page::-webkit-scrollbar, .messages-page *::-webkit-scrollbar { width: 10px; height: 10px; } .messages-page::-webkit-scrollbar-track, .messages-page *::-webkit-scrollbar-track { border-radius: 999px; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)), rgba(7, 11, 18, 0.72); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03); } .messages-page::-webkit-scrollbar-thumb, .messages-page *::-webkit-scrollbar-thumb { border: 2px solid rgba(7, 11, 18, 0.72); border-radius: 999px; background: linear-gradient(180deg, rgba(125, 211, 252, 0.9), rgba(14, 165, 233, 0.78) 55%, rgba(217, 70, 239, 0.68)); box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.18), 0 6px 18px rgba(14, 165, 233, 0.22); } .messages-page::-webkit-scrollbar-thumb:hover, .messages-page *::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, rgba(186, 230, 253, 0.98), rgba(56, 189, 248, 0.9) 50%, rgba(232, 121, 249, 0.78)); box-shadow: 0 0 0 1px rgba(186, 230, 253, 0.24), 0 10px 24px rgba(56, 189, 248, 0.28); } .messages-page::-webkit-scrollbar-corner, .messages-page *::-webkit-scrollbar-corner { background: transparent; } /* Gallery page helpers */ .nb-hero-fade { background: linear-gradient(180deg, rgba(17,24,39,0) 0%, rgba(7,10,15,0.9) 60%, rgba(7,10,15,1) 100%); } .nb-hero-gradient { background: linear-gradient(135deg, rgba(224,122,33,0.08) 0%, rgba(15,23,36,0) 50%, rgba(21,36,58,0.4) 100%); animation: nb-hero-shimmer 8s ease-in-out infinite alternate; } .gallery-rank-tab { -webkit-tap-highlight-color: transparent; } .gallery-rank-tab .nb-tab-indicator { transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), background-color 200ms ease; } .nb-scrollbar-none { -ms-overflow-style: none; scrollbar-width: none; } .nb-scrollbar-none::-webkit-scrollbar { display: none; } [data-react-masonry-gallery] { animation: nb-gallery-fade-in 300ms ease-out both; } .nb-filter-choice { display: inline-flex; cursor: pointer; } .nb-filter-choice--block { display: flex; width: 100%; } .nb-filter-choice-label { display: inline-flex; align-items: center; padding: 0.375rem 0.875rem; border-radius: 9999px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); color: rgba(214,224,238,0.8); font-size: 0.8125rem; font-weight: 500; transition: background 150ms ease, color 150ms ease, border-color 150ms ease; white-space: nowrap; } .nb-filter-choice--block .nb-filter-choice-label { border-radius: 0.6rem; width: 100%; } .nb-filter-choice input:checked ~ .nb-filter-choice-label { background: #E07A21; border-color: #E07A21; color: #fff; box-shadow: 0 1px 8px rgba(224,122,33,0.35); } .nb-filter-choice input:focus-visible ~ .nb-filter-choice-label { outline: 2px solid rgba(224,122,33,0.6); outline-offset: 2px; } .nb-filter-input { appearance: none; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 0.5rem; color: rgba(255,255,255,0.85); font-size: 0.8125rem; padding: 0.425rem 0.75rem; transition: border-color 150ms ease; color-scheme: dark; } .nb-filter-input:focus { outline: none; border-color: rgba(224,122,33,0.6); box-shadow: 0 0 0 3px rgba(224,122,33,0.15); } @keyframes nb-hero-shimmer { 0% { opacity: 0.6; } 100% { opacity: 1; } } @keyframes nb-gallery-fade-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } } } /* ─── TipTap rich text editor ─── */ .tiptap { outline: none; -webkit-user-select: text; user-select: text; cursor: text; } .tiptap .ProseMirror { -webkit-user-select: text; user-select: text; cursor: text; font-size: 1.05rem; line-height: 1.85; } .news-rich-text-editor .ProseMirror { color: rgb(226 232 240 / 0.92); font-family: 'Libre Franklin', 'Inter', sans-serif; font-size: 1.02rem; line-height: 1.9; } .news-rich-text-editor .ProseMirror p { padding-top: 0.18rem; padding-bottom: 0.3rem; } .news-rich-text-editor .ProseMirror p:empty { display: none; } .news-rich-text-editor .ProseMirror p + p { margin-top: 1.5rem; } .news-rich-text-editor .ProseMirror h2, .news-rich-text-editor .ProseMirror h3, .news-rich-text-editor .ProseMirror h4, .news-rich-text-editor .ProseMirror h5, .news-rich-text-editor .ProseMirror h6 { color: rgb(255 255 255); font-weight: 600; letter-spacing: -0.03em; } .news-rich-text-editor .ProseMirror h2 { margin-top: 2.5rem; margin-bottom: 1rem; font-size: clamp(1.65rem, 1.2rem + 1vw, 2rem); } .news-rich-text-editor .ProseMirror h3 { margin-top: 2rem; margin-bottom: 0.75rem; font-size: clamp(1.35rem, 1.05rem + 0.8vw, 1.6rem); } .news-rich-text-editor .ProseMirror h4, .news-rich-text-editor .ProseMirror h5, .news-rich-text-editor .ProseMirror h6 { margin-top: 1.5rem; margin-bottom: 0.6rem; } .news-rich-text-editor .ProseMirror ul, .news-rich-text-editor .ProseMirror ol { margin: 1.5rem 0; padding-left: 1.5rem; } .news-rich-text-editor .ProseMirror ul { list-style-type: disc; } .news-rich-text-editor .ProseMirror ol { list-style-type: decimal; } .news-rich-text-editor .ProseMirror li { color: rgb(255 255 255 / 0.72); margin-bottom: 0.5rem; } .news-rich-text-editor .ProseMirror li::marker { color: rgb(255 255 255 / 0.45); } .news-rich-text-editor .ProseMirror blockquote { margin: 2rem 0; border-left: 3px solid rgb(14 165 233 / 0.7); background: rgb(255 255 255 / 0.03); padding: 0.6rem 0 0.6rem 1.25rem; color: rgb(255 255 255 / 0.68); } .news-rich-text-editor .ProseMirror hr { margin: 2rem 0; } .rich-text-editor-viewport { overflow-y: auto; overscroll-behavior: contain; border-bottom-left-radius: 0.75rem; border-bottom-right-radius: 0.75rem; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02); } .rich-text-editor-viewport .ProseMirror { min-height: 100%; } .rich-text-editor-viewport .ProseMirror:focus { outline: none; } .rich-text-editor-viewport .ProseMirror > :first-child { margin-top: 0; } .rich-text-editor-viewport .ProseMirror > :last-child { margin-bottom: 0; } .rich-text-editor-viewport::-webkit-scrollbar { width: 10px; } .rich-text-editor-viewport::-webkit-scrollbar-track { background: rgba(15, 23, 42, 0.34); } .rich-text-editor-viewport::-webkit-scrollbar-thumb { background: linear-gradient(180deg, rgba(56, 189, 248, 0.22), rgba(125, 211, 252, 0.35)); border: 2px solid rgba(15, 23, 42, 0.48); border-radius: 999px; } .rich-text-editor-viewport::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, rgba(56, 189, 248, 0.36), rgba(125, 211, 252, 0.5)); } .rich-text-editor-viewport::-webkit-scrollbar-corner { background: transparent; } .tiptap .ProseMirror :is(p, div, h2, h3, hr) { margin-bottom: 1.05em; } .tiptap .ProseMirror p { font-size: 1.02rem; line-height: 1.9; } .tiptap .ProseMirror h2 { font-size: 1.75rem; line-height: 1.18; margin-top: 1.8em; margin-bottom: 0.95em; } .tiptap .ProseMirror h3 { font-size: 1.35rem; line-height: 1.22; margin-top: 1.5em; margin-bottom: 0.85em; } .tiptap .ProseMirror hr { margin-top: 1.75em; margin-bottom: 1.75em; } .rich-image-node { position: relative; display: flex; flex-direction: column; gap: 0.75rem; margin: 1.75rem auto; max-width: 100%; outline: none; } .rich-image-node.is-selected .rich-image-node__frame { box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.45), 0 0 0 6px rgba(14, 165, 233, 0.12); } .rich-image-node__frame { position: relative; display: inline-flex; max-width: 100%; margin: 0 auto; border-radius: 1.25rem; } .rich-image-node__img { display: block; width: 100%; max-width: 100%; height: auto; border-radius: 1.25rem; object-fit: contain; } .rich-image-node__drag-handle, .rich-image-node__resize-handle { position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px; background: rgba(8, 12, 20, 0.9); color: rgb(241 245 249 / 0.95); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.38); cursor: grab; } .rich-image-node__drag-handle { top: 0.75rem; left: 0.75rem; } .rich-image-node__resize-handle { right: 0.75rem; bottom: 0.75rem; cursor: nwse-resize; } .rich-image-node__caption { max-width: min(100%, 46rem); margin: 0 auto; color: rgb(148 163 184 / 0.9); font-size: 0.9rem; line-height: 1.7; text-align: center; } .rich-image-node__editor { display: grid; gap: 0.9rem; padding: 0.9rem; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 1.1rem; background: rgba(8, 12, 20, 0.92); } .rich-image-node.is-selected .rich-image-node__editor { margin-inline: auto; width: min(100%, 52rem); } .rich-compare-node { position: relative; display: flex; flex-direction: column; gap: 0.8rem; margin: 1.75rem auto; max-width: 100%; outline: none; } .rich-compare-node.is-selected { border-radius: 1.25rem; } .rich-compare-node.is-selected .rich-compare-node__grid, .ProseMirror-selectednode.rich-compare-node .rich-compare-node__grid { box-shadow: 0 0 0 1px rgba(125, 211, 252, 0.45), 0 0 0 6px rgba(14, 165, 233, 0.12); } .rich-compare-node__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; width: 100%; } .rich-compare-node__tile { position: relative; overflow: hidden; border-radius: 1.25rem; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(8, 12, 20, 0.92); box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18); } .rich-compare-node__img { display: block; width: 100%; height: auto; object-fit: contain; } .rich-compare-node__badge { position: absolute; left: 0.75rem; top: 0.75rem; z-index: 1; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 999px; background: rgba(8, 12, 20, 0.92); color: rgb(226 232 240 / 0.9); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; line-height: 1; padding: 0.45rem 0.65rem; text-transform: uppercase; } .rich-compare-node__subtitle { max-width: min(100%, 52rem); margin: 0 auto; color: rgb(148 163 184 / 0.9); font-size: 0.92rem; line-height: 1.7; text-align: center; } .rich-compare-node__editor { display: grid; gap: 0.9rem; padding: 0.9rem; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 1.1rem; background: rgba(8, 12, 20, 0.92); } .rich-compare-node.is-selected .rich-compare-node__editor { margin-inline: auto; width: min(100%, 72rem); } .ProseMirror-selectednode.rich-image-node, .rich-image-node.is-selected { border-radius: 1.25rem; } .ProseMirror-selectednode.rich-image-node .rich-image-node__img { outline: 2px solid rgba(125, 211, 252, 0.55); outline-offset: 4px; } .tiptap .tableWrapper, .rich-text-editor-viewport .tableWrapper { margin: 1.5rem 0; overflow-x: auto; padding: 0.35rem; border: 1px solid rgba(125, 211, 252, 0.3); border-radius: 1rem; background: rgba(8, 12, 20, 0.72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 16px 42px rgba(2, 6, 23, 0.22); } .tiptap table.rich-table, .rich-text-editor-viewport .tableWrapper table { width: 100%; min-width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; overflow: hidden; border: 1px solid rgba(125, 211, 252, 0.38); border-radius: 0.8rem; } .tiptap table.rich-table th, .tiptap table.rich-table td, .rich-text-editor-viewport .tableWrapper th, .rich-text-editor-viewport .tableWrapper td { position: relative; min-width: 120px; padding: 0.85rem 0.95rem; border: 1px solid rgba(148, 163, 184, 0.3) !important; vertical-align: top; background: rgba(255, 255, 255, 0.03); } .tiptap table.rich-table th, .rich-text-editor-viewport .tableWrapper th { background: rgba(14, 165, 233, 0.16); color: rgb(241 245 249); font-weight: 700; } .tiptap table.rich-table td p, .tiptap table.rich-table th p, .rich-text-editor-viewport .tableWrapper td p, .rich-text-editor-viewport .tableWrapper th p { margin: 0; line-height: 1.65; } .tiptap table.rich-table .selectedCell, .rich-text-editor-viewport .tableWrapper .selectedCell { position: relative; } .tiptap table.rich-table .selectedCell::after, .rich-text-editor-viewport .tableWrapper .selectedCell::after { content: ''; position: absolute; inset: 0; background: rgba(56, 189, 248, 0.14); pointer-events: none; } .tiptap table.rich-table .column-resize-handle, .rich-text-editor-viewport .tableWrapper .column-resize-handle { position: absolute; top: 0; right: -2px; width: 4px; height: 100%; background: rgba(125, 211, 252, 0.82); pointer-events: none; box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.45); } .tiptap table.rich-table tr:nth-child(even) td, .rich-text-editor-viewport .tableWrapper tr:nth-child(even) td { background: rgba(255, 255, 255, 0.035); } .tiptap p.is-editor-empty:first-child::before { content: attr(data-placeholder); float: left; color: theme('colors.zinc.600'); pointer-events: none; height: 0; } .tiptap img { max-width: 100%; height: auto; border-radius: 0.75rem; } .tiptap pre { position: relative; background: theme('colors.white / 4%'); border: 1px solid theme('colors.white / 6%'); border-radius: 0.75rem; padding: 0.75rem 1rem; overflow-x: auto; } .forum-code-block { position: relative; max-width: 100%; overflow-x: auto; overflow-y: hidden; margin: 1.4rem 0; border: 1px solid rgba(56, 189, 248, 0.16); border-radius: 1.15rem; background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0, rgba(15, 23, 42, 0.98) 3rem, rgba(2, 6, 23, 0.98) 3rem, rgba(2, 6, 23, 0.98) 100%); box-shadow: 0 22px 58px rgba(2, 6, 23, 0.42), inset 0 1px 0 rgba(56, 189, 248, 0.1); scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.14) transparent; } .forum-code-block::-webkit-scrollbar { height: 8px; } .forum-code-block::-webkit-scrollbar-track { background: transparent; } .forum-code-block::-webkit-scrollbar-thumb { background-color: rgba(255,255,255,0.16); border-radius: 999px; } .forum-code-block::-webkit-scrollbar-thumb:hover { background-color: rgba(255,255,255,0.28); } .forum-code-block code { display: block; min-width: max-content; padding: 3.75rem 1.25rem 1.25rem; color: rgb(226 232 240); font-family: 'JetBrains Mono', 'SFMono-Regular', 'Consolas', 'Liberation Mono', monospace; font-size: 0.92rem; line-height: 1.75; tab-size: 2; } .forum-code-block::before { content: 'Code'; position: absolute; top: 0.82rem; left: 1.1rem; z-index: 1; border: 1px solid rgba(56, 189, 248, 0.2); border-radius: 999px; background: rgba(15, 23, 42, 0.92); padding: 0.2rem 0.55rem; color: rgb(125 211 252); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; } .forum-code-block .story-code-copy-button { top: 0.78rem; right: 1.05rem; } .tiptap pre code { display: block; background: none; border: none; padding: 0; font-size: 0.8125rem; color: theme('colors.zinc.300'); } .tiptap .hljs { color: theme('colors.zinc.200'); background: transparent; } .tiptap .hljs-comment, .tiptap .hljs-quote { color: theme('colors.zinc.500'); font-style: italic; } .tiptap .hljs-keyword, .tiptap .hljs-selector-tag, .tiptap .hljs-subst { color: theme('colors.fuchsia.300'); font-weight: 600; } .tiptap .hljs-string, .tiptap .hljs-attr, .tiptap .hljs-template-tag, .tiptap .hljs-template-variable { color: theme('colors.sky.300'); } .tiptap .hljs-title, .tiptap .hljs-section, .tiptap .hljs-name, .tiptap .hljs-selector-id, .tiptap .hljs-selector-class { color: theme('colors.blue.300'); font-weight: 600; } .tiptap .hljs-number, .tiptap .hljs-literal, .tiptap .hljs-symbol, .tiptap .hljs-bullet { color: theme('colors.amber.300'); } .tiptap .hljs-built_in, .tiptap .hljs-type, .tiptap .hljs-class { color: theme('colors.rose.300'); } .tiptap .hljs-variable, .tiptap .hljs-property, .tiptap .hljs-params, .tiptap .hljs-operator { color: theme('colors.zinc.200'); } .tiptap .hljs-meta, .tiptap .hljs-doctag { color: theme('colors.zinc.400'); } .tiptap blockquote { border-left: 3px solid theme('colors.sky.500 / 40%'); padding-left: 1rem; margin-left: 0; color: theme('colors.zinc.400'); font-style: italic; } .tiptap p { margin-bottom: 0.9rem; } .tiptap p:last-child { margin-bottom: 0; } .tiptap hr, .story-prose hr { position: relative; border: none; background: transparent; height: 1.5rem; margin: 2rem auto; overflow: visible; } .tiptap hr::after, .story-prose hr::after { content: '• • •'; display: block; text-align: center; font-size: 1rem; font-weight: 600; letter-spacing: 0.45rem; text-indent: 0.45rem; color: rgba(148, 163, 184, 0.72); } .tiptap hr.ProseMirror-selectednode { outline: 1px dashed rgba(56, 189, 248, 0.4); outline-offset: 0.25rem; border-radius: 999px; } .tiptap ul { list-style-type: disc; padding-left: 1.5rem; } .tiptap ol { list-style-type: decimal; padding-left: 1.5rem; } .tiptap li { margin-bottom: 0.25rem; } .tiptap a { color: theme('colors.sky.300'); text-decoration: underline; text-underline-offset: 2px; } .tiptap a:hover { color: theme('colors.sky.200'); } .story-prose pre { position: relative; overflow-x: auto; overflow-y: hidden; border-color: rgba(51, 65, 85, 0.95) !important; background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0, rgba(15, 23, 42, 0.98) 3rem, rgba(2, 6, 23, 0.98) 3rem, rgba(2, 6, 23, 0.98) 100%) !important; box-shadow: 0 26px 75px rgba(2, 6, 23, 0.5), inset 0 1px 0 rgba(56, 189, 248, 0.08); padding: 4rem 1.5rem 1.5rem !important; scrollbar-width: thin; scrollbar-color: rgba(125, 211, 252, 0.34) rgba(15, 23, 42, 0.25); } .story-prose pre::-webkit-scrollbar { height: 10px; } .story-prose pre::-webkit-scrollbar-track { background: rgba(15, 23, 42, 0.24); } .story-prose pre::-webkit-scrollbar-thumb { border: 2px solid rgba(15, 23, 42, 0.28); border-radius: 999px; background: linear-gradient(90deg, rgba(56, 189, 248, 0.28), rgba(125, 211, 252, 0.48)); } .story-prose pre::-webkit-scrollbar-thumb:hover { background: linear-gradient(90deg, rgba(56, 189, 248, 0.42), rgba(125, 211, 252, 0.58)); } .story-prose pre::-webkit-scrollbar-corner { background: transparent; } .story-prose p { padding-top: 0.18rem; padding-bottom: 0.3rem; } .story-prose p:empty { display: none; } .story-prose p + p { margin-top: 1.5rem; } .story-prose h2, .story-prose h3, .story-prose h4, .story-prose h5, .story-prose h6 { color: rgb(255 255 255); font-weight: 600; letter-spacing: -0.03em; } .story-prose h2 { margin-top: 2.5rem; margin-bottom: 1rem; font-size: clamp(1.65rem, 1.2rem + 1vw, 2rem); } .story-prose h3 { margin-top: 2rem; margin-bottom: 0.75rem; font-size: clamp(1.35rem, 1.05rem + 0.8vw, 1.6rem); } .story-prose h4, .story-prose h5, .story-prose h6 { margin-top: 1.5rem; margin-bottom: 0.6rem; } .story-prose ul, .story-prose ol { margin: 1.5rem 0; padding-left: 1.5rem; } .story-prose ul { list-style-type: disc; } .story-prose ol { list-style-type: decimal; } .story-prose li { color: rgb(255 255 255 / 0.72); } .story-prose li + li { margin-top: 0.5rem; } .story-prose li::marker { color: rgb(255 255 255 / 0.45); } .story-prose blockquote { margin: 2rem 0; border-left: 3px solid rgb(14 165 233 / 0.7); background: rgb(255 255 255 / 0.03); padding: 0.6rem 0 0.6rem 1.25rem; color: rgb(255 255 255 / 0.68); } .story-prose a { color: rgb(125 211 252); text-decoration: underline; text-underline-offset: 2px; transition: color 120ms ease; } .story-prose a:hover { color: rgb(186 230 253); } .story-prose hr { margin: 2rem 0; } .story-prose > img { display: block; width: 100%; max-width: 100%; margin: 2rem 0; border-radius: 1.5rem; } .story-prose figure { width: 100%; } .story-prose figure iframe { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; } .news-rich-text-editor .news-embed, .story-prose .news-embed { width: 100%; margin: 1.75rem 0; overflow: hidden; border: 1px solid rgba(148, 163, 184, 0.18); border-radius: 1.5rem; background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.96)); box-shadow: 0 18px 40px rgba(2, 6, 23, 0.22); } .news-rich-text-editor .news-embed-link, .story-prose .news-embed-link { display: block; color: inherit; text-decoration: none; } .news-rich-text-editor .news-embed-caption, .story-prose .news-embed-caption { padding: 0.9rem 1rem 1rem; color: rgb(226 232 240); font-size: 0.95rem; font-weight: 600; } .news-rich-text-editor .news-embed-social .news-embed-link, .story-prose .news-embed-social .news-embed-link { padding: 1rem; } .news-rich-text-editor .news-embed-badge, .story-prose .news-embed-badge { display: inline-flex; align-items: center; border: 1px solid rgba(125, 211, 252, 0.18); border-radius: 999px; background: rgba(56, 189, 248, 0.1); padding: 0.18rem 0.6rem; color: rgb(224 242 254); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; } .news-rich-text-editor .news-embed-url, .story-prose .news-embed-url { display: block; margin-top: 0.85rem; color: rgb(125 211 252); word-break: break-word; } .news-rich-text-editor .news-embed-video iframe, .story-prose .news-embed-video iframe { display: block; width: 100%; max-width: 100%; height: auto; border: 0; aspect-ratio: 16 / 9; } .academy-lesson-prose { color: rgb(226 232 240 / 0.9); font-family: 'Libre Franklin', 'Inter', sans-serif; font-size: calc(clamp(0.88rem, 1.02rem + 0.28vw, 1.2rem) * var(--academy-lesson-font-scale, 1)); line-height: 1.74; } .academy-lesson-prose > :first-child { margin-top: 0; } .academy-lesson-prose > :last-child { margin-bottom: 0; } .academy-lesson-prose :is(p, li) { color: rgb(226 232 240 / 0.9); font-size: inherit; line-height: inherit; } .academy-lesson-prose p { margin-top: 0; margin-bottom: 1.0rem; text-wrap: pretty; } .academy-lesson-prose blockquote p, .academy-lesson-prose li p { margin-bottom: 0; } .academy-lesson-prose p + p { margin-top: 0; } .academy-lesson-prose h2, .academy-lesson-prose h3 { position: relative; text-wrap: balance; scroll-margin-top: 7rem; } .academy-lesson-prose h2 { margin-top: 3.35rem; margin-bottom: 1.05rem; font-size: clamp(2.08rem, 1.56rem + 1.12vw, 2.8rem); line-height: 1.06; font-weight: 800; letter-spacing: -0.045em; color: rgb(255 255 255); } .academy-lesson-prose h2::before { content: ''; display: block; width: 3.25rem; height: 2px; margin-bottom: 1rem; border-radius: 999px; background: linear-gradient(90deg, rgba(125, 211, 252, 0.95), rgba(125, 211, 252, 0.12)); } .academy-lesson-prose h3 { margin-top: 2.45rem; margin-bottom: 0.9rem; font-size: clamp(1.48rem, 1.22rem + 0.66vw, 1.9rem); line-height: 1.18; font-weight: 750; letter-spacing: -0.03em; color: rgb(248 250 252); } .academy-lesson-prose ul, .academy-lesson-prose ol { margin: 1rem 0 1.15rem; padding-left: 0; } .academy-lesson-prose ul { list-style: none; } .academy-lesson-prose ol { list-style: none; counter-reset: lesson-ordered-list; } .academy-lesson-prose ul li, .academy-lesson-prose ol li { position: relative; margin: 0; padding-left: 1.95rem; line-height: 1.64; } .academy-lesson-prose ul li + li, .academy-lesson-prose ol li + li { margin-top: 0.14rem; } .academy-lesson-prose ul li::before { content: ''; position: absolute; top: 0.82em; left: 0.2rem; width: 0.55rem; height: 0.55rem; border-radius: 999px; background: linear-gradient(180deg, rgba(125, 211, 252, 0.95), rgba(56, 189, 248, 0.65)); box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.08); } .academy-lesson-prose li:has(> input[type='checkbox']), .academy-lesson-prose li:has(> p input[type='checkbox']) { padding-left: 0; } .academy-lesson-prose li:has(> input[type='checkbox'])::before, .academy-lesson-prose li:has(> p input[type='checkbox'])::before { content: none; } .academy-lesson-prose input[type='checkbox'] { appearance: none; -webkit-appearance: none; display: inline-block; width: 18px; height: 18px; min-width: 18px; min-height: 18px; margin: 0.1rem 0.7rem 0 0; vertical-align: top; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 0.375rem; background-color: rgba(255, 255, 255, 0.06); background-position: center; background-repeat: no-repeat; background-size: 10px 10px; box-sizing: border-box; opacity: 1; box-shadow: none; } .academy-lesson-prose input[type='checkbox']:checked { border-color: #E07A21; background-color: #E07A21; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M1.5 6l3 3 6-6' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); box-shadow: 0 0 0 0 rgba(224, 122, 33, 0.45); } .academy-lesson-prose input[type='checkbox']:disabled { opacity: 1; cursor: default; } .academy-lesson-prose li > p:has(input[type='checkbox']) { display: flex; align-items: flex-start; } .academy-lesson-prose ol li::before { counter-increment: lesson-ordered-list; content: counter(lesson-ordered-list); position: absolute; top: 0.16rem; left: 0; display: inline-flex; align-items: center; justify-content: center; width: 1.2rem; height: 1.2rem; border: 1px solid rgba(125, 211, 252, 0.24); border-radius: 999px; background: rgba(56, 189, 248, 0.09); color: rgb(224 242 254); font-size: 0.72rem; font-weight: 700; line-height: 1; } .academy-lesson-prose li > p:last-child { margin-bottom: 0; } .academy-lesson-prose li > p:first-child { margin-top: 0; } .academy-lesson-prose li > p + p { margin-top: 0.25rem; } .academy-lesson-prose hr { position: relative; height: 1px; margin: 2.9rem 0; border: 0; background: linear-gradient(90deg, rgba(148, 163, 184, 0), rgba(148, 163, 184, 0.34), rgba(148, 163, 184, 0)); } .academy-lesson-prose hr::after { content: ''; position: absolute; left: 50%; top: 50%; width: 0.7rem; height: 0.7rem; transform: translate(-50%, -50%) rotate(45deg); border: 1px solid rgba(125, 211, 252, 0.3); background: rgba(15, 23, 42, 0.9); box-shadow: 0 0 0 8px rgba(15, 23, 42, 0.9); } .academy-lesson-prose table { width: 100%; margin: 2rem 0; border-collapse: separate; border-spacing: 0; border: 1px solid rgba(125, 211, 252, 0.28); border-radius: 1rem; overflow: hidden; background: rgba(8, 12, 20, 0.72); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 16px 42px rgba(2, 6, 23, 0.2); } .academy-lesson-prose th, .academy-lesson-prose td { min-width: 120px; padding: 0.9rem 1rem; border: 1px solid rgba(148, 163, 184, 0.28); vertical-align: top; background: rgba(255, 255, 255, 0.03); } .academy-lesson-prose th { background: rgba(14, 165, 233, 0.14); color: rgb(248 250 252); font-weight: 700; } .academy-lesson-prose td p, .academy-lesson-prose th p { margin: 0; line-height: 1.65; } .academy-lesson-prose tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.02); } .academy-lesson-prose pre { margin: .4rem 0; padding: 0.5rem !important; border-color: rgba(56, 189, 248, 0.16) !important; background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0, rgba(15, 23, 42, 0.98) 3rem, rgba(2, 6, 23, 0.98) 3rem, rgba(2, 6, 23, 0.98) 100%) !important; box-shadow: 0 28px 78px rgba(2, 6, 23, 0.56), inset 0 1px 0 rgba(56, 189, 248, 0.1); } .academy-lesson-prose pre code, .academy-lesson-prose pre code.hljs, .academy-lesson-prose pre code[class*='language-'] { color: rgb(226 232 240); font-size: 0.92rem; line-height: 1.8; tab-size: 2; } .academy-lesson-prose pre::after { inset: 3rem 0 auto 0; background: linear-gradient(90deg, rgba(56, 189, 248, 0), rgba(56, 189, 248, 0.26), rgba(56, 189, 248, 0)); } .academy-lesson-prose pre[data-language]::before { top: 0.8rem; left: 1.2rem; } .academy-lesson-prose > img, .academy-lesson-prose figure, .academy-lesson-prose video, .academy-lesson-prose iframe { display: block; width: 100%; margin: 2.15rem 0; } .academy-lesson-prose > img, .academy-lesson-prose figure img, .academy-lesson-prose video, .academy-lesson-prose iframe { overflow: hidden; border: 1px solid rgba(148, 163, 184, 0.12); border-radius: 1.5rem; background: linear-gradient(180deg, rgba(15, 23, 42, 0.94), rgba(2, 6, 23, 0.96)); box-shadow: 0 24px 55px rgba(2, 6, 23, 0.34); } .academy-lesson-prose iframe, .academy-lesson-prose video, .academy-lesson-prose figure iframe, .academy-lesson-prose figure video { aspect-ratio: 16 / 9; } .academy-code-copy-button { top: 0.78rem; right: 1.1rem; } .academy-lesson-prose figure { overflow: hidden; border: 1px solid rgba(148, 163, 184, 0.12); border-radius: 1.75rem; background: rgba(15, 23, 42, 0.72); padding: 0.55rem; } .academy-lesson-prose figure img, .academy-lesson-prose figure iframe, .academy-lesson-prose figure video { margin: 0; } .academy-lesson-prose figcaption { padding: 0.9rem 0.45rem 0.25rem; color: rgb(148 163 184 / 0.92); font-size: 0.92rem; line-height: 1.7; text-align: center; } .academy-lesson-prose a { color: rgb(125 211 252); text-decoration-thickness: 1.5px; text-underline-offset: 0.18em; } .academy-lesson-toc-link { display: flex; align-items: flex-start; gap: 0.8rem; border-radius: 1rem; padding: 0.3rem 0.4rem; color: rgb(226 232 240 / 0.88); font-size: 0.96rem; line-height: 1.55; text-decoration: none; transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, transform 140ms ease; } .academy-lesson-toc-link:hover { background: rgba(255, 255, 255, 0.05); color: rgb(255 255 255); } .academy-lesson-toc-link-active { background: rgba(56, 189, 248, 0.12); color: rgb(255 255 255); box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.18); } .academy-lesson-toc-link-active .academy-lesson-toc-link-indicator { background: linear-gradient(180deg, rgba(125, 211, 252, 1), rgba(56, 189, 248, 0.9)); box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12); } .academy-lesson-toc-link-subtle { padding-left: 1.55rem; color: rgb(148 163 184 / 0.95); font-size: 0.9rem; } .academy-lesson-toc-link-indicator { width: 0.45rem; height: 0.45rem; margin-top: 0.48rem; flex: 0 0 auto; border-radius: 999px; background: linear-gradient(180deg, rgba(125, 211, 252, 0.95), rgba(56, 189, 248, 0.68)); box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.08); } .academy-lesson-toc-link-subtle .academy-lesson-toc-link-indicator { width: 0.35rem; height: 0.35rem; margin-top: 0.56rem; background: rgba(148, 163, 184, 0.72); box-shadow: none; } .academy-lesson-prose strong { color: rgb(255 255 255); font-weight: 750; } .academy-lesson-prose em { color: rgb(226 232 240 / 0.94); } @media (max-width: 768px) { .academy-lesson-prose { font-size: calc(clamp(1.02rem, 0.98rem + 0.18vw, 1.1rem) * var(--academy-lesson-font-scale, 1)); line-height: 1.78; } .academy-lesson-prose h2 { margin-top: 2.8rem; } .academy-lesson-prose h3 { margin-top: 2.15rem; } } .news-editor-outline .ProseMirror :is(p, div, figure, blockquote, ul, ol, li, h2, h3, pre, hr) { position: relative; outline: 1px dashed rgba(56, 189, 248, 0.24); outline-offset: 0.15rem; } .news-editor-outline .ProseMirror p::before, .news-editor-outline .ProseMirror div::before, .news-editor-outline .ProseMirror figure::before, .news-editor-outline .ProseMirror blockquote::before, .news-editor-outline .ProseMirror ul::before, .news-editor-outline .ProseMirror ol::before, .news-editor-outline .ProseMirror li::before, .news-editor-outline .ProseMirror h2::before, .news-editor-outline .ProseMirror h3::before, .news-editor-outline .ProseMirror pre::before, .news-editor-outline .ProseMirror hr::before { position: absolute; top: -0.55rem; right: 0.1rem; z-index: 2; border: 1px solid rgba(148, 163, 184, 0.16); border-radius: 0.35rem; background: rgba(15, 23, 42, 0.82); padding: 0.02rem 0.28rem; color: rgba(203, 213, 225, 0.72); font-size: 0.52rem; line-height: 1.15; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; pointer-events: none; } .news-editor-outline .ProseMirror p::before { content: 'p'; } .news-editor-outline .ProseMirror div::before { content: 'div'; } .news-editor-outline .ProseMirror figure::before { content: 'figure'; } .news-editor-outline .ProseMirror blockquote::before { content: 'blockquote'; } .news-editor-outline .ProseMirror ul::before { content: 'ul'; } .news-editor-outline .ProseMirror ol::before { content: 'ol'; } .news-editor-outline .ProseMirror li::before { content: 'li'; } .news-editor-outline .ProseMirror h2::before { content: 'h2'; } .news-editor-outline .ProseMirror h3::before { content: 'h3'; } .news-editor-outline .ProseMirror pre::before { content: 'pre'; } .news-editor-outline .ProseMirror hr::before { content: 'hr'; } .story-prose pre[data-language]::before { content: attr(data-language); position: absolute; z-index: 2; top: 0.7rem; left: 1.25rem; border: 1px solid rgba(56, 189, 248, 0.22); border-radius: 999px; background: rgba(15, 23, 42, 0.92); padding: 0.18rem 0.55rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgb(125 211 252); } .story-prose pre::after { content: ''; position: absolute; inset: 3rem 0 auto 0; height: 1px; background: linear-gradient(90deg, rgba(56, 189, 248, 0), rgba(56, 189, 248, 0.28), rgba(56, 189, 248, 0)); } .story-code-copy-button { position: absolute; z-index: 2; top: 0.7rem; right: 1.25rem; border: 1px solid rgba(148, 163, 184, 0.32); border-radius: 999px; background: rgba(15, 23, 42, 0.9); padding: 0.35rem 0.78rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; color: rgb(241 245 249); display: inline-flex; align-items: center; gap: 0.4rem; transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease, transform 120ms ease, box-shadow 120ms ease; } .story-code-copy-button:hover { background: rgb(14 165 233); border-color: rgb(56 189 248); color: rgb(2 6 23); box-shadow: 0 10px 24px rgba(14, 165, 233, 0.22); } .story-code-copy-button:active { transform: translateY(1px); } .story-code-copy-icon { display: inline-flex; align-items: center; justify-content: center; width: 1rem; height: 1rem; font-size: 0.9rem; line-height: 1; transform-origin: center; } .story-code-copy-label { line-height: 1; } .story-code-copy-button[data-copied='true'] { background: rgb(14 116 144); border-color: rgb(34 211 238); color: white; box-shadow: 0 12px 28px rgba(14, 116, 144, 0.22); } .story-code-copy-button[data-copied='false'] { background: rgb(153 27 27); border-color: rgb(248 113 113); color: white; } .story-code-copy-button[data-copied='true'] .story-code-copy-icon { animation: story-code-copy-check 320ms cubic-bezier(.2,.9,.25,1.2); } .story-code-copy-button[data-copied='true'] .story-code-copy-label { animation: story-code-copy-label 220ms ease-out; } @keyframes story-code-copy-check { 0% { opacity: 0; transform: scale(0.4) rotate(-24deg); } 55% { opacity: 1; transform: scale(1.2) rotate(6deg); } 100% { opacity: 1; transform: scale(1) rotate(0deg); } } @keyframes story-code-copy-label { 0% { opacity: 0.15; transform: translateX(-3px); } 100% { opacity: 1; transform: translateX(0); } } .story-prose pre code.hljs, .story-prose pre code[class*='language-'] { display: block; min-width: max-content; overflow-x: auto; background: transparent; padding: 0; } .story-prose .hljs { color: rgb(226 232 240); background: transparent; font-size: 0.94rem; line-height: 1.9; } .story-prose .hljs-comment, .story-prose .hljs-quote { color: rgb(100 116 139); font-style: italic; } .story-prose .hljs-keyword, .story-prose .hljs-selector-tag, .story-prose .hljs-subst { color: rgb(125 211 252); font-weight: 600; } .story-prose .hljs-string, .story-prose .hljs-attr, .story-prose .hljs-template-tag, .story-prose .hljs-template-variable { color: rgb(134 239 172); } .story-prose .hljs-title, .story-prose .hljs-section, .story-prose .hljs-name, .story-prose .hljs-selector-id, .story-prose .hljs-selector-class { color: rgb(196 181 253); font-weight: 600; } .story-prose .hljs-number, .story-prose .hljs-literal, .story-prose .hljs-symbol, .story-prose .hljs-bullet { color: rgb(251 191 36); } .story-prose .hljs-built_in, .story-prose .hljs-type, .story-prose .hljs-class { color: rgb(244 114 182); } .story-prose .hljs-variable, .story-prose .hljs-property, .story-prose .hljs-params, .story-prose .hljs-operator { color: rgb(15 23 42); } .story-prose .hljs-meta, .story-prose .hljs-doctag { color: rgb(71 85 105); } /* ─── @mention pills ─── */ .tiptap .mention, .mention { background: theme('colors.sky.500 / 15%'); color: theme('colors.sky.300'); border-radius: 0.375rem; padding: 0.125rem 0.375rem; font-weight: 500; font-size: 0.875rem; text-decoration: none; cursor: pointer; white-space: nowrap; } .tiptap .mention:hover { background: theme('colors.sky.500 / 25%'); color: theme('colors.sky.200'); } /* ─── Tippy.js mention dropdown theme ─── */ .tippy-box[data-theme~='mention'] { background: transparent; border: none; padding: 0; box-shadow: none; } .tippy-box[data-theme~='mention'] .tippy-content { padding: 0; }