WebOrbiton
v1.0.0.0

StocketBase

3,304 lines · 56.7 KB
  1. body[data-theme="light"] {
  2. --bg: #f8fafc;
  3. --bg-alt: #f1f5f9;
  4. --panel: #ffffff;
  5. --panel-raised: #ffffff;
  6. --border: #e2e8f0;
  7. --border-strong: #cbd5e1;
  8. --text: #0f172a;
  9. --muted: #64748b;
  10. --muted-dim: #94a3b8;
  11. --accent: #2e4fe0;
  12. --accent-hover: #2440c0;
  13. --accent-soft: rgba(46, 79, 224, 0.08);
  14. --panel-alt: #f1f5f9;
  15. --panel-hover: #e2e8f0;
  16. --radius: 12px;
  17. --radius-sm: 8px;
  18. --danger: #dc2626;
  19. --danger-dim: rgba(220, 38, 38, 0.1);
  20. --success: #059669;
  21. --success-dim: rgba(5, 150, 105, 0.1);
  22. --warning: #d97706;
  23. --warning-dim: rgba(217, 119, 6, 0.1);
  24. --info: #0284c7;
  25. --info-dim: rgba(2, 132, 199, 0.1);
  26. --shadow-card: 0 1px 2px rgba(20, 20, 30, 0.04), 0 8px 24px rgba(20, 20, 30, 0.06);
  27. --shadow-card-hover: 0 4px 12px rgba(20, 20, 30, 0.06), 0 16px 40px rgba(20, 20, 30, 0.10);
  28. }
  29. ​
  30. body[data-theme="dark"] {
  31. --bg: #050506;
  32. --bg-alt: #0c0c0f;
  33. --panel: #0c0c0f;
  34. --panel-raised: #131317;
  35. --border: #232329;
  36. --border-strong: #303038;
  37. --text: #f8fafc;
  38. --muted: #8b8b97;
  39. --muted-dim: #5c5c68;
  40. --accent: #3862f5;
  41. --accent-hover: #5b82ff;
  42. --accent-soft: rgba(56, 98, 245, 0.18);
  43. --panel-alt: #131317;
  44. --panel-hover: #1a1a1f;
  45. --radius: 12px;
  46. --radius-sm: 8px;
  47. --danger: #ef4444;
  48. --danger-dim: rgba(239, 68, 68, 0.14);
  49. --success: #10b981;
  50. --success-dim: rgba(16, 185, 129, 0.14);
  51. --warning: #f59e0b;
  52. --warning-dim: rgba(245, 158, 11, 0.14);
  53. --info: #0ea5e9;
  54. --info-dim: rgba(14, 165, 233, 0.14);
  55. --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
  56. --shadow-card-hover: 0 4px 12px rgba(0, 0, 0, 0.35), 0 20px 48px rgba(0, 0, 0, 0.5);
  57. }
  58. ​
  59. * {
  60. box-sizing: border-box;
  61. }
  62. ​
  63. .icon {
  64. width: 18px;
  65. height: 18px;
  66. flex-shrink: 0;
  67. }
  68. ​
  69. .icon-sm {
  70. width: 15px;
  71. height: 15px;
  72. }
  73. ​
  74. .icon-lg {
  75. width: 22px;
  76. height: 22px;
  77. }
  78. ​
  79. .nav-item-icon {
  80. width: 15px;
  81. height: 15px;
  82. margin-right: 6px;
  83. flex-shrink: 0;
  84. }
  85. ​
  86. .nav-item-icon svg {
  87. width: 100%;
  88. height: 100%;
  89. display: block;
  90. }
  91. ​
  92. .auth-page {
  93. align-items: center;
  94. justify-content: center;
  95. padding: 24px;
  96. }
  97. ​
  98. .auth-card {
  99. width: 100%;
  100. max-width: 380px;
  101. padding: 32px;
  102. background: var(--panel);
  103. border: 1px solid var(--border);
  104. border-radius: 14px;
  105. }
  106. ​
  107. .auth-card-disabled {
  108. text-align: center;
  109. }
  110. ​
  111. .auth-card h1 {
  112. margin: 0 0 4px;
  113. font-size: 18px;
  114. }
  115. ​
  116. .auth-subtitle {
  117. margin: 0 0 24px;
  118. color: var(--muted);
  119. font-size: 13px;
  120. line-height: 1.6;
  121. }
  122. ​
  123. .auth-tabs {
  124. display: flex;
  125. gap: 4px;
  126. margin-bottom: 20px;
  127. border-bottom: 1px solid var(--border);
  128. }
  129. ​
  130. .auth-tabs a {
  131. flex: 1;
  132. padding: 10px;
  133. color: var(--muted);
  134. font-size: 13px;
  135. text-align: center;
  136. text-decoration: none;
  137. border-bottom: 2px solid transparent;
  138. }
  139. ​
  140. .auth-tabs a.active {
  141. color: var(--text);
  142. border-bottom-color: var(--accent);
  143. }
  144. ​
  145. .auth-card label {
  146. display: block;
  147. margin: 14px 0 6px;
  148. color: var(--muted);
  149. font-size: 13px;
  150. }
  151. ​
  152. .auth-card input {
  153. width: 100%;
  154. padding: 10px 12px;
  155. color: var(--text);
  156. font-size: 14px;
  157. background: var(--bg-alt);
  158. border: 1px solid var(--border);
  159. border-radius: 8px;
  160. }
  161. ​
  162. .auth-card input:focus {
  163. outline: 2px solid var(--accent);
  164. outline-offset: 1px;
  165. border-color: var(--accent);
  166. }
  167. ​
  168. .auth-card button {
  169. width: 100%;
  170. margin-top: 24px;
  171. padding: 12px;
  172. color: var(--bg);
  173. font-size: 14px;
  174. font-weight: 600;
  175. background: var(--accent);
  176. border: 0;
  177. border-radius: 8px;
  178. cursor: pointer;
  179. }
  180. ​
  181. .auth-card button:hover {
  182. background: var(--accent-hover);
  183. }
  184. ​
  185. .auth-error {
  186. margin-bottom: 14px;
  187. padding: 10px 12px;
  188. color: #ff9aa2;
  189. font-size: 13px;
  190. background: color-mix(in srgb, #e40035 16%, var(--panel));
  191. border: 1px solid color-mix(in srgb, #e40035 42%, var(--border));
  192. border-radius: 8px;
  193. }
  194. ​
  195. .antibot-trap {
  196. position: absolute !important;
  197. left: -10000px !important;
  198. width: 1px !important;
  199. height: 1px !important;
  200. opacity: 0 !important;
  201. pointer-events: none !important;
  202. }
  203. ​
  204. .antibot-box {
  205. margin-top: 18px;
  206. }
  207. ​
  208. .antibot-image {
  209. width: 100%;
  210. overflow: hidden;
  211. margin-bottom: 6px;
  212. border: 1px solid var(--border);
  213. border-radius: 8px;
  214. line-height: 0;
  215. }
  216. ​
  217. .antibot-image img {
  218. display: block;
  219. width: 100%;
  220. height: auto;
  221. user-select: none;
  222. -webkit-user-drag: none;
  223. }
  224. ​
  225. button {
  226. -webkit-tap-highlight-color: transparent;
  227. outline: none;
  228. }
  229. ​
  230. button:focus-visible {
  231. outline: 2px solid var(--accent);
  232. outline-offset: 2px;
  233. }
  234. ​
  235. html {
  236. height: 100%;
  237. overflow-x: hidden;
  238. }
  239. ​
  240. body {
  241. margin: 0;
  242. min-height: 100vh;
  243. display: flex;
  244. flex-direction: column;
  245. font-family: var(--font-ui, -apple-system, BlinkMacSystemFont, sans-serif);
  246. background: var(--bg);
  247. color: var(--text);
  248. transition: background .15s, color .15s;
  249. -webkit-font-smoothing: antialiased;
  250. }
  251. ​
  252. h1,
  253. h2,
  254. h3,
  255. .site-brand,
  256. .article-title,
  257. .product-card-body h3,
  258. .category-title,
  259. .related-section h2,
  260. .hero-title,
  261. .subscription-offer-name {
  262. font-family: var(--font-heading, -apple-system, BlinkMacSystemFont, sans-serif);
  263. letter-spacing: -0.02em;
  264. }
  265. ​
  266. .site-nav,
  267. .site-nav a,
  268. .site-auth-links,
  269. .site-auth-links a,
  270. .product-card-category,
  271. .article-category-link,
  272. .badge-paid,
  273. .unlock-btn,
  274. .subscription-divider,
  275. .subscription-offer-price,
  276. .hero-eyebrow,
  277. .section-heading,
  278. .related-section h2,
  279. .article-meta,
  280. .site-footer,
  281. .site-footer-row,
  282. .site-footer-links a,
  283. .consent-banner,
  284. .consent-banner p,
  285. .consent-banner-actions button,
  286. .comments-placeholder,
  287. button,
  288. input,
  289. select,
  290. textarea {
  291. font-family: var(--font-ui, -apple-system, BlinkMacSystemFont, sans-serif);
  292. }
  293. ​
  294. a {
  295. color: inherit;
  296. }
  297. ​
  298. .site-shell {
  299. display: flex;
  300. flex-direction: column;
  301. flex: 0 0 auto;
  302. width: 100%;
  303. }
  304. ​
  305. .site-footer {
  306. flex: 1 0 auto;
  307. }
  308. ​
  309. .site-header {
  310. display: flex;
  311. align-items: center;
  312. justify-content: space-between;
  313. padding: 18px 40px;
  314. border-bottom: 1px solid var(--border);
  315. gap: 24px;
  316. flex-wrap: wrap;
  317. position: sticky;
  318. top: 0;
  319. z-index: 50;
  320. background: color-mix(in srgb, var(--bg) 88%, transparent);
  321. backdrop-filter: blur(10px);
  322. -webkit-backdrop-filter: blur(10px);
  323. }
  324. ​
  325. .site-header-row {
  326. display: flex;
  327. align-items: center;
  328. gap: 16px;
  329. min-width: 0;
  330. }
  331. ​
  332. .site-menu-toggle {
  333. display: none;
  334. align-items: center;
  335. justify-content: center;
  336. width: 38px;
  337. height: 38px;
  338. border-radius: 999px;
  339. border: 1px solid var(--border);
  340. background: var(--panel-raised);
  341. color: var(--text);
  342. cursor: pointer;
  343. flex-shrink: 0;
  344. z-index: 999;
  345. }
  346. ​
  347. .site-menu-toggle-icon-close {
  348. display: none;
  349. }
  350. ​
  351. .site-menu-toggle[aria-expanded="true"] .site-menu-toggle-icon-open {
  352. display: none;
  353. }
  354. ​
  355. .site-menu-toggle[aria-expanded="true"] .site-menu-toggle-icon-close {
  356. display: block;
  357. }
  358. ​
  359. .site-auth-links.site-auth-links-mobile {
  360. display: none;
  361. }
  362. ​
  363. .site-nav-backdrop {
  364. display: none;
  365. }
  366. ​
  367. .site-brand {
  368. font-weight: 800;
  369. font-size: 20px;
  370. text-decoration: none;
  371. display: flex;
  372. align-items: center;
  373. gap: 8px;
  374. }
  375. ​
  376. .site-brand-short {
  377. display: none;
  378. }
  379. ​
  380. .site-brand.use-short .site-brand-full {
  381. display: none;
  382. }
  383. ​
  384. .site-brand.use-short .site-brand-short {
  385. display: inline;
  386. }
  387. ​
  388. .site-brand-logo {
  389. height: 34px;
  390. width: auto;
  391. max-width: 150px;
  392. object-fit: contain;
  393. display: block;
  394. flex-shrink: 0;
  395. }
  396. ​
  397. .site-nav {
  398. display: flex;
  399. align-items: center;
  400. gap: 26px;
  401. flex-wrap: wrap;
  402. }
  403. ​
  404. .site-nav a {
  405. display: flex;
  406. align-items: center;
  407. text-decoration: none;
  408. font-size: 14px;
  409. font-weight: 600;
  410. line-height: 1.2;
  411. color: var(--muted);
  412. transition: color .12s;
  413. }
  414. ​
  415. .site-nav a:hover {
  416. color: var(--text);
  417. }
  418. ​
  419. .site-search-icon-link {
  420. display: flex;
  421. align-items: center;
  422. justify-content: center;
  423. width: 34px;
  424. height: 34px;
  425. border-radius: 999px;
  426. color: var(--muted);
  427. transition: background .12s, color .12s;
  428. flex-shrink: 0;
  429. }
  430. ​
  431. .site-search-icon-link:hover {
  432. color: var(--text);
  433. background: var(--panel-raised);
  434. }
  435. ​
  436. .site-search-icon-link svg {
  437. width: 17px;
  438. height: 17px;
  439. }
  440. ​
  441. .site-search-form {
  442. display: flex;
  443. align-items: center;
  444. gap: 8px;
  445. background: var(--panel-raised);
  446. border: 1px solid var(--border);
  447. border-radius: 999px;
  448. padding: 6px 14px;
  449. flex-shrink: 0;
  450. line-height: 1;
  451. }
  452. ​
  453. .site-search-form-icon {
  454. display: flex;
  455. align-items: center;
  456. color: var(--muted);
  457. flex-shrink: 0;
  458. line-height: 0;
  459. }
  460. ​
  461. .site-search-form-icon svg {
  462. width: 15px;
  463. height: 15px;
  464. display: block;
  465. }
  466. ​
  467. .site-search-input {
  468. margin: 0;
  469. padding: 0;
  470. border: none;
  471. background: transparent;
  472. outline: none;
  473. font-size: 13.5px;
  474. line-height: 1.4;
  475. color: var(--text);
  476. min-width: 0;
  477. width: 140px;
  478. vertical-align: middle;
  479. }
  480. ​
  481. .site-search-input:focus,
  482. .site-search-input:focus-visible {
  483. outline: none;
  484. }
  485. ​
  486. .site-search-form-page {
  487. max-width: 480px;
  488. padding: 10px 16px;
  489. margin: 4px 0 24px;
  490. }
  491. ​
  492. .site-search-form-page .site-search-input {
  493. width: auto;
  494. flex: 1;
  495. }
  496. ​
  497. .site-search-submit {
  498. flex-shrink: 0;
  499. border: none;
  500. background: var(--accent);
  501. color: #fff;
  502. font-size: 13.5px;
  503. font-weight: 700;
  504. padding: 9px 20px;
  505. border-radius: 999px;
  506. cursor: pointer;
  507. transition: background .12s;
  508. font-family: inherit;
  509. }
  510. ​
  511. .site-search-submit:hover {
  512. background: var(--accent-hover);
  513. }
  514. ​
  515. .search-hint {
  516. color: var(--muted);
  517. font-size: 13.5px;
  518. margin: 0 0 20px;
  519. }
  520. ​
  521. .contact-form-block {
  522. max-width: 560px;
  523. margin: 32px 0;
  524. padding: 24px;
  525. border: 1px solid var(--border);
  526. border-radius: var(--radius);
  527. background: var(--panel);
  528. box-shadow: var(--shadow-card);
  529. font-family: var(--font-ui, -apple-system, BlinkMacSystemFont, sans-serif);
  530. font-size: 15px;
  531. line-height: 1.5;
  532. }
  533. ​
  534. .article-content .contact-form-block h2.contact-form-title {
  535. margin: 0 0 14px;
  536. font-size: 22px;
  537. }
  538. ​
  539. .contact-form {
  540. display: flex;
  541. flex-direction: column;
  542. gap: 6px;
  543. }
  544. ​
  545. .contact-form label {
  546. margin-top: 8px;
  547. font-size: 13px;
  548. font-weight: 600;
  549. color: var(--muted);
  550. }
  551. ​
  552. .contact-form input[type="text"],
  553. .contact-form input[type="email"],
  554. .contact-form select,
  555. .contact-form textarea {
  556. width: 100%;
  557. padding: 10px 12px;
  558. border: 1px solid var(--border);
  559. border-radius: var(--radius-sm);
  560. background: var(--bg);
  561. color: var(--text);
  562. font: inherit;
  563. font-size: 14.5px;
  564. }
  565. ​
  566. .contact-form input[hidden] {
  567. display: none;
  568. }
  569. ​
  570. .contact-form #contact-subject-custom {
  571. margin-top: 6px;
  572. }
  573. ​
  574. .contact-form textarea {
  575. resize: vertical;
  576. min-height: 130px;
  577. }
  578. ​
  579. .contact-form input:focus,
  580. .contact-form select:focus,
  581. .contact-form textarea:focus {
  582. outline: none;
  583. border-color: var(--accent);
  584. box-shadow: 0 0 0 3px var(--accent-soft);
  585. }
  586. ​
  587. .contact-antibot {
  588. max-width: 260px;
  589. }
  590. ​
  591. .contact-submit {
  592. align-self: flex-start;
  593. margin-top: 14px;
  594. border: none;
  595. cursor: pointer;
  596. }
  597. ​
  598. .contact-form-alert {
  599. margin: 0 0 14px;
  600. padding: 10px 14px;
  601. border-radius: var(--radius-sm);
  602. font-size: 14px;
  603. font-weight: 600;
  604. }
  605. ​
  606. .contact-form-alert-success {
  607. background: var(--success-dim);
  608. color: var(--success);
  609. }
  610. ​
  611. .contact-form-alert-error {
  612. background: var(--danger-dim);
  613. color: var(--danger);
  614. }
  615. ​
  616. .product-counters {
  617. display: flex;
  618. flex-wrap: wrap;
  619. gap: 8px;
  620. margin: 10px 0 4px;
  621. }
  622. ​
  623. .product-counter {
  624. display: inline-flex;
  625. align-items: center;
  626. gap: 6px;
  627. padding: 5px 12px;
  628. border: 1px solid var(--border);
  629. border-radius: 999px;
  630. background: var(--panel-alt);
  631. color: var(--muted);
  632. font-size: 13px;
  633. font-weight: 600;
  634. }
  635. ​
  636. .product-counter .icon {
  637. width: 15px;
  638. height: 15px;
  639. }
  640. ​
  641. .product-downloads {
  642. display: flex;
  643. flex-direction: column;
  644. align-items: flex-start;
  645. gap: 10px;
  646. margin: 14px 0 18px;
  647. }
  648. ​
  649. .product-download-btn {
  650. display: inline-flex;
  651. align-items: center;
  652. gap: 8px;
  653. margin-top: 0;
  654. max-width: 100%;
  655. }
  656. ​
  657. .product-download-btn span {
  658. overflow: hidden;
  659. text-overflow: ellipsis;
  660. white-space: nowrap;
  661. }
  662. ​
  663. .product-download-btn .icon {
  664. flex-shrink: 0;
  665. }
  666. ​
  667. .product-download-btn span {
  668. min-width: 0;
  669. }
  670. ​
  671. .product-download-btn small {
  672. flex-shrink: 0;
  673. white-space: nowrap;
  674. opacity: .75;
  675. font-size: 12px;
  676. font-weight: 500;
  677. }
  678. ​
  679. .product-downloads-owned {
  680. display: flex;
  681. align-items: center;
  682. gap: 6px;
  683. margin: 0;
  684. color: var(--success);
  685. font-size: 13.5px;
  686. font-weight: 600;
  687. }
  688. ​
  689. .download-list {
  690. list-style: none;
  691. margin: 12px 0 24px;
  692. padding: 0;
  693. display: grid;
  694. gap: 8px;
  695. }
  696. ​
  697. .download-list li {
  698. display: flex;
  699. align-items: center;
  700. justify-content: space-between;
  701. gap: 12px;
  702. flex-wrap: wrap;
  703. padding: 12px 16px;
  704. border: 1px solid var(--border);
  705. border-radius: var(--radius-sm);
  706. background: var(--panel);
  707. }
  708. ​
  709. .download-list a {
  710. display: inline-flex;
  711. align-items: center;
  712. gap: 6px;
  713. color: var(--accent);
  714. font-weight: 600;
  715. text-decoration: none;
  716. word-break: break-all;
  717. }
  718. ​
  719. .download-list small {
  720. color: var(--muted);
  721. font-size: 12.5px;
  722. }
  723. ​
  724. .search-filters {
  725. display: flex;
  726. flex-wrap: wrap;
  727. align-items: flex-end;
  728. gap: 14px;
  729. margin: 0 0 20px;
  730. }
  731. ​
  732. .search-filter-field {
  733. display: flex;
  734. flex-direction: column;
  735. gap: 6px;
  736. font-size: 12px;
  737. color: var(--muted);
  738. }
  739. ​
  740. .search-filter-field select {
  741. min-width: 170px;
  742. border: 1px solid var(--border);
  743. border-radius: 8px;
  744. background: var(--panel-raised);
  745. color: var(--text);
  746. padding: 9px 12px;
  747. font-size: 13.5px;
  748. }
  749. ​
  750. .site-auth-links {
  751. display: flex;
  752. gap: 10px;
  753. align-items: center;
  754. }
  755. ​
  756. @media (min-width: 861px) {
  757. body:not(.site-menu-side) .site-header-no-auth .site-nav {
  758. margin-left: auto;
  759. }
  760. ​
  761. body:not(.site-menu-side) .site-header-no-auth .site-nav .site-search-form-nav {
  762. position: absolute;
  763. top: 50%;
  764. left: 50%;
  765. transform: translate(-50%, -50%);
  766. width: min(360px, 32vw);
  767. margin: 0;
  768. }
  769. ​
  770. body:not(.site-menu-side) .site-header-no-auth .site-nav .site-search-form-nav .site-search-input {
  771. width: auto;
  772. flex: 1;
  773. min-width: 0;
  774. }
  775. }
  776. ​
  777. .site-auth-links a {
  778. text-decoration: none;
  779. font-size: 13.5px;
  780. font-weight: 600;
  781. color: var(--muted);
  782. padding: 8px 16px;
  783. border-radius: 999px;
  784. transition: background .12s, color .12s;
  785. }
  786. ​
  787. .site-auth-links a:hover {
  788. color: var(--text);
  789. background: var(--panel-raised);
  790. }
  791. ​
  792. .site-auth-links a.site-auth-cta {
  793. background: var(--accent);
  794. color: #fff;
  795. }
  796. ​
  797. .site-auth-links a.site-auth-cta:hover {
  798. background: var(--accent-hover);
  799. color: #fff;
  800. }
  801. ​
  802. .site-cart-link {
  803. position: relative;
  804. display: flex !important;
  805. align-items: center;
  806. justify-content: center;
  807. padding: 8px 12px !important;
  808. }
  809. ​
  810. .site-cart-count {
  811. position: absolute;
  812. top: 2px;
  813. right: 2px;
  814. min-width: 16px;
  815. height: 16px;
  816. padding: 0 4px;
  817. border-radius: 999px;
  818. background: var(--accent);
  819. color: #fff;
  820. font-size: 10.5px;
  821. font-weight: 700;
  822. line-height: 16px;
  823. text-align: center;
  824. }
  825. ​
  826. .site-cart-link-desktop {
  827. width: 42px !important;
  828. height: 42px !important;
  829. padding: 0 !important;
  830. border-radius: 50%;
  831. }
  832. ​
  833. .site-cart-link-desktop .icon,
  834. .site-cart-link-desktop .shop-icon-custom svg {
  835. width: 22px;
  836. height: 22px;
  837. }
  838. ​
  839. .site-cart-link-desktop:hover {
  840. background: var(--panel-raised);
  841. }
  842. ​
  843. .site-cart-link-desktop .site-cart-count {
  844. top: -2px;
  845. right: -2px;
  846. }
  847. ​
  848. .site-cart-link-header {
  849. display: none !important;
  850. }
  851. ​
  852. .shop-icon-custom {
  853. display: inline-flex;
  854. align-items: center;
  855. justify-content: center;
  856. color: inherit;
  857. }
  858. ​
  859. .shop-icon-custom svg {
  860. width: 100%;
  861. height: 100%;
  862. fill: currentColor;
  863. }
  864. ​
  865. body.site-menu-bottom .site-shell {
  866. flex-direction: column-reverse;
  867. }
  868. ​
  869. body.site-menu-side .site-shell {
  870. flex-direction: row;
  871. }
  872. ​
  873. body.site-menu-side .site-header {
  874. flex-direction: column;
  875. align-items: flex-start;
  876. border-right: 1px solid var(--border);
  877. border-bottom: none;
  878. width: 240px;
  879. height: 100vh;
  880. position: sticky;
  881. top: 0;
  882. backdrop-filter: none;
  883. background: var(--panel);
  884. }
  885. ​
  886. body.site-menu-side .site-nav {
  887. flex-direction: column;
  888. align-items: stretch;
  889. }
  890. ​
  891. body.site-menu-side .site-nav .site-search-form {
  892. width: 100%;
  893. }
  894. ​
  895. body.site-menu-side .site-nav .site-search-input {
  896. width: 100%;
  897. }
  898. ​
  899. body.site-menu-side .site-main {
  900. flex: 1;
  901. }
  902. ​
  903. .site-main {
  904. flex: 1;
  905. padding: 40px;
  906. max-width: 1180px;
  907. margin: 0 auto;
  908. width: 100%;
  909. }
  910. ​
  911. .hero-section {
  912. padding: 8px 0 40px;
  913. }
  914. ​
  915. .hero-eyebrow {
  916. font-size: 12.5px;
  917. text-transform: uppercase;
  918. letter-spacing: .1em;
  919. color: var(--accent);
  920. font-weight: 700;
  921. margin-bottom: 12px;
  922. }
  923. ​
  924. .hero-title {
  925. font-size: 44px;
  926. font-weight: 800;
  927. line-height: 1.08;
  928. margin: 0 0 16px;
  929. max-width: 760px;
  930. }
  931. ​
  932. .hero-subtitle {
  933. font-size: 17px;
  934. color: var(--muted);
  935. max-width: 560px;
  936. line-height: 1.6;
  937. margin: 0;
  938. }
  939. ​
  940. .section-heading-row {
  941. display: flex;
  942. align-items: baseline;
  943. justify-content: space-between;
  944. margin-bottom: 20px;
  945. gap: 16px;
  946. flex-wrap: wrap;
  947. }
  948. ​
  949. .section-heading {
  950. font-size: 13px;
  951. text-transform: uppercase;
  952. letter-spacing: .07em;
  953. color: var(--muted);
  954. font-weight: 700;
  955. margin: 0;
  956. }
  957. ​
  958. .article-grid {
  959. display: grid;
  960. grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  961. gap: 24px;
  962. }
  963. ​
  964. .article-grid-small {
  965. grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  966. }
  967. ​
  968. .featured-banner {
  969. display: grid;
  970. grid-template-columns: 2fr 1fr 1fr;
  971. grid-template-rows: repeat(2, minmax(150px, 1fr));
  972. gap: 14px;
  973. margin-bottom: 32px;
  974. }
  975. ​
  976. .featured-banner-item {
  977. position: relative;
  978. min-height: 150px;
  979. overflow: hidden;
  980. border-radius: 2px;
  981. background: var(--panel-raised);
  982. color: #fff;
  983. text-decoration: none;
  984. }
  985. ​
  986. .featured-banner-item-large {
  987. grid-row: span 2;
  988. }
  989. ​
  990. .featured-banner-item-small:nth-child(2) {
  991. grid-column: 2;
  992. }
  993. ​
  994. .featured-banner-item-small:nth-child(3) {
  995. grid-column: 3;
  996. }
  997. ​
  998. .featured-banner-item-small:nth-child(4) {
  999. grid-column: 2;
  1000. }
  1001. ​
  1002. .featured-banner-item-small:nth-child(5) {
  1003. grid-column: 3;
  1004. }
  1005. ​
  1006. .featured-banner-item img {
  1007. width: 100%;
  1008. height: 100%;
  1009. min-height: 150px;
  1010. display: block;
  1011. object-fit: cover;
  1012. transition: transform .2s ease;
  1013. }
  1014. ​
  1015. .featured-banner-item:hover img {
  1016. transform: scale(1.04);
  1017. }
  1018. ​
  1019. .featured-banner-item::after {
  1020. content: '';
  1021. position: absolute;
  1022. inset: 35% 0 0;
  1023. background: linear-gradient(transparent, rgba(0, 0, 0, .78));
  1024. }
  1025. ​
  1026. .featured-banner-title {
  1027. position: absolute;
  1028. z-index: 1;
  1029. right: 18px;
  1030. bottom: 16px;
  1031. left: 18px;
  1032. font-family: var(--font-heading, -apple-system, BlinkMacSystemFont, sans-serif);
  1033. font-size: 18px;
  1034. font-weight: 700;
  1035. line-height: 1.15;
  1036. text-shadow: 0 1px 2px rgba(0, 0, 0, .7);
  1037. }
  1038. ​
  1039. .featured-banner-item-large .featured-banner-title {
  1040. font-size: 28px;
  1041. }
  1042. ​
  1043. .pagination-numbered {
  1044. display: flex;
  1045. flex-wrap: wrap;
  1046. align-items: center;
  1047. justify-content: center;
  1048. gap: 6px;
  1049. margin: 40px 0 0;
  1050. }
  1051. ​
  1052. .pagination-link {
  1053. display: inline-flex;
  1054. align-items: center;
  1055. justify-content: center;
  1056. min-width: 38px;
  1057. height: 38px;
  1058. padding: 0 12px;
  1059. border-radius: 999px;
  1060. border: 1px solid var(--border);
  1061. color: var(--text);
  1062. text-decoration: none;
  1063. font-size: 13.5px;
  1064. font-weight: 600;
  1065. transition: background .12s, border-color .12s;
  1066. }
  1067. ​
  1068. .pagination-link:hover {
  1069. background: var(--panel-raised);
  1070. border-color: var(--border-strong);
  1071. }
  1072. ​
  1073. .pagination-link.pagination-current {
  1074. background: var(--accent);
  1075. border-color: var(--accent);
  1076. color: #fff;
  1077. }
  1078. ​
  1079. .pagination-link.pagination-prev,
  1080. .pagination-link.pagination-next {
  1081. padding: 0 16px;
  1082. }
  1083. ​
  1084. .pagination-ellipsis {
  1085. display: inline-flex;
  1086. align-items: center;
  1087. justify-content: center;
  1088. min-width: 38px;
  1089. height: 38px;
  1090. color: var(--muted-dim);
  1091. font-size: 13.5px;
  1092. }
  1093. ​
  1094. .pagination-load-more {
  1095. display: flex;
  1096. justify-content: center;
  1097. margin: 40px 0 0;
  1098. }
  1099. ​
  1100. .pagination-load-more-btn {
  1101. padding: 12px 28px;
  1102. border-radius: 999px;
  1103. font-size: 14px;
  1104. }
  1105. ​
  1106. .pagination-infinite-marker {
  1107. height: 1px;
  1108. margin: 40px 0 0;
  1109. }
  1110. ​
  1111. .pagination-end {
  1112. text-align: center;
  1113. color: var(--muted);
  1114. font-size: 13px;
  1115. margin: 40px 0 0;
  1116. }
  1117. ​
  1118. .product-card {
  1119. text-decoration: none;
  1120. color: var(--text);
  1121. display: block;
  1122. border: 1px solid var(--border);
  1123. border-radius: 18px;
  1124. overflow: hidden;
  1125. background: var(--panel);
  1126. box-shadow: var(--shadow-card);
  1127. transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  1128. }
  1129. ​
  1130. .product-card a {
  1131. text-decoration: none;
  1132. }
  1133. ​
  1134. .product-card:hover {
  1135. transform: translateY(-3px);
  1136. box-shadow: var(--shadow-card-hover);
  1137. border-color: var(--border-strong);
  1138. }
  1139. ​
  1140. .product-card-image {
  1141. width: 100%;
  1142. height: 180px;
  1143. object-fit: cover;
  1144. display: block;
  1145. background: var(--panel-raised);
  1146. }
  1147. ​
  1148. .product-card-body {
  1149. padding: 18px 20px 20px;
  1150. }
  1151. ​
  1152. .product-card-category {
  1153. display: inline-block;
  1154. font-size: 11px;
  1155. text-transform: uppercase;
  1156. letter-spacing: .05em;
  1157. color: var(--accent);
  1158. font-weight: 700;
  1159. background: var(--accent-soft);
  1160. padding: 3px 10px;
  1161. border-radius: 999px;
  1162. }
  1163. ​
  1164. .product-card-body h3 {
  1165. font-size: 17.5px;
  1166. margin: 10px 0 6px;
  1167. line-height: 1.3;
  1168. }
  1169. ​
  1170. .product-card-body p {
  1171. font-size: 13.5px;
  1172. color: var(--muted);
  1173. margin: 0;
  1174. line-height: 1.5;
  1175. }
  1176. ​
  1177. .badge-paid {
  1178. display: inline-block;
  1179. margin-top: 10px;
  1180. padding: 4px 12px;
  1181. background: color-mix(in srgb, #eab23d 18%, transparent);
  1182. color: #c8871f;
  1183. border-radius: 999px;
  1184. font-size: 11px;
  1185. font-weight: 700;
  1186. }
  1187. ​
  1188. body[data-theme="dark"] .badge-paid {
  1189. color: #eab23d;
  1190. }
  1191. ​
  1192. .product-rating-summary {
  1193. display: flex;
  1194. align-items: center;
  1195. gap: 8px;
  1196. margin: 10px 0 18px;
  1197. }
  1198. ​
  1199. .star {
  1200. color: var(--border-strong);
  1201. font-size: 16px;
  1202. line-height: 1;
  1203. }
  1204. ​
  1205. .star-filled {
  1206. color: #f5a623;
  1207. }
  1208. ​
  1209. .product-rating-count {
  1210. font-size: 13px;
  1211. color: var(--muted);
  1212. }
  1213. ​
  1214. .product-gallery {
  1215. display: grid;
  1216. grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  1217. gap: 10px;
  1218. margin-bottom: 24px;
  1219. }
  1220. ​
  1221. .product-gallery-image {
  1222. width: 100%;
  1223. aspect-ratio: 1 / 1;
  1224. object-fit: cover;
  1225. display: block;
  1226. border-radius: 14px;
  1227. border: 1px solid var(--border);
  1228. background: var(--panel-raised);
  1229. }
  1230. ​
  1231. .product-gallery-image-active {
  1232. grid-column: 1 / -1;
  1233. aspect-ratio: 16 / 10;
  1234. }
  1235. ​
  1236. .product-buy-box {
  1237. background: var(--panel);
  1238. border: 1px solid var(--border);
  1239. border-radius: 18px;
  1240. padding: 22px 24px;
  1241. margin: 4px 0 28px;
  1242. box-shadow: var(--shadow-card);
  1243. max-width: 420px;
  1244. }
  1245. ​
  1246. .product-price-row {
  1247. display: flex;
  1248. align-items: baseline;
  1249. gap: 10px;
  1250. flex-wrap: wrap;
  1251. }
  1252. ​
  1253. .product-price {
  1254. font-size: 28px;
  1255. font-weight: 800;
  1256. }
  1257. ​
  1258. .product-price-compare {
  1259. font-size: 16px;
  1260. color: var(--muted-dim);
  1261. text-decoration: line-through;
  1262. }
  1263. ​
  1264. .product-price-interval {
  1265. font-size: 14px;
  1266. color: var(--muted);
  1267. }
  1268. ​
  1269. .product-stock-status {
  1270. margin-top: 10px;
  1271. }
  1272. ​
  1273. .badge-in-stock,
  1274. .badge-low-stock,
  1275. .badge-out-of-stock {
  1276. display: inline-block;
  1277. padding: 4px 12px;
  1278. border-radius: 999px;
  1279. font-size: 11.5px;
  1280. font-weight: 700;
  1281. }
  1282. ​
  1283. .badge-in-stock {
  1284. background: color-mix(in srgb, #10b981 18%, transparent);
  1285. color: #0d9668;
  1286. }
  1287. ​
  1288. .badge-low-stock {
  1289. background: color-mix(in srgb, #f5a623 18%, transparent);
  1290. color: #c8871f;
  1291. }
  1292. ​
  1293. .badge-out-of-stock {
  1294. background: var(--danger-soft, color-mix(in srgb, #ef4444 18%, transparent));
  1295. color: #ef4444;
  1296. }
  1297. ​
  1298. .product-buy-form {
  1299. margin-top: 16px;
  1300. display: flex;
  1301. flex-wrap: wrap;
  1302. align-items: flex-end;
  1303. gap: 12px;
  1304. }
  1305. ​
  1306. .product-variant-label,
  1307. .product-quantity-label {
  1308. display: block;
  1309. font-size: 12px;
  1310. font-weight: 600;
  1311. color: var(--muted);
  1312. margin-bottom: 6px;
  1313. }
  1314. ​
  1315. .product-variant-select,
  1316. .product-quantity-input {
  1317. border: 1px solid var(--border);
  1318. border-radius: 10px;
  1319. background: var(--bg);
  1320. color: var(--text);
  1321. padding: 9px 12px;
  1322. font-size: 14px;
  1323. }
  1324. ​
  1325. .product-quantity-input {
  1326. width: 76px;
  1327. }
  1328. ​
  1329. .product-buy-form .unlock-btn {
  1330. margin-top: 0;
  1331. }
  1332. ​
  1333. .reviews-section {
  1334. margin: 48px 0 0;
  1335. padding-top: 32px;
  1336. border-top: 1px solid var(--border);
  1337. }
  1338. ​
  1339. .reviews-list {
  1340. list-style: none;
  1341. padding: 0;
  1342. margin: 20px 0 0;
  1343. display: grid;
  1344. gap: 18px;
  1345. }
  1346. ​
  1347. .review-item {
  1348. background: var(--panel);
  1349. border: 1px solid var(--border);
  1350. border-radius: 14px;
  1351. padding: 16px 18px;
  1352. }
  1353. ​
  1354. .review-header {
  1355. display: flex;
  1356. align-items: center;
  1357. gap: 10px;
  1358. flex-wrap: wrap;
  1359. margin-bottom: 6px;
  1360. }
  1361. ​
  1362. .review-stars {
  1363. font-size: 13px;
  1364. }
  1365. ​
  1366. .review-date {
  1367. font-size: 12.5px;
  1368. color: var(--muted-dim);
  1369. margin-left: auto;
  1370. }
  1371. ​
  1372. .review-body {
  1373. color: var(--text);
  1374. font-size: 14.5px;
  1375. line-height: 1.6;
  1376. margin: 6px 0 0;
  1377. }
  1378. ​
  1379. .review-error {
  1380. margin: 14px 0;
  1381. }
  1382. ​
  1383. .review-success {
  1384. margin: 14px 0;
  1385. }
  1386. ​
  1387. .review-form {
  1388. margin-top: 24px;
  1389. max-width: 480px;
  1390. }
  1391. ​
  1392. .review-rating-input {
  1393. display: flex;
  1394. flex-direction: row-reverse;
  1395. justify-content: flex-end;
  1396. gap: 4px;
  1397. margin: 8px 0 16px;
  1398. font-size: 24px;
  1399. }
  1400. ​
  1401. .review-rating-input label {
  1402. position: relative;
  1403. cursor: pointer;
  1404. color: var(--border-strong);
  1405. line-height: 1;
  1406. }
  1407. ​
  1408. .review-rating-input input {
  1409. position: absolute;
  1410. inset: 0;
  1411. opacity: 0;
  1412. cursor: pointer;
  1413. }
  1414. ​
  1415. .review-rating-input label .icon {
  1416. width: 22px;
  1417. height: 22px;
  1418. fill: none;
  1419. stroke: currentColor;
  1420. pointer-events: none;
  1421. }
  1422. ​
  1423. .review-rating-input label:has(input:checked),
  1424. .review-rating-input label:has(input:checked) ~ label,
  1425. .review-rating-input label:hover,
  1426. .review-rating-input label:hover ~ label {
  1427. color: #f5a623;
  1428. }
  1429. ​
  1430. .review-rating-input label:has(input:checked) .icon,
  1431. .review-rating-input label:has(input:checked) ~ label .icon,
  1432. .review-rating-input label:hover .icon,
  1433. .review-rating-input label:hover ~ label .icon {
  1434. fill: currentColor;
  1435. }
  1436. ​
  1437. .review-form textarea {
  1438. width: 100%;
  1439. border: 1px solid var(--border);
  1440. border-radius: 10px;
  1441. background: var(--bg);
  1442. color: var(--text);
  1443. padding: 10px 12px;
  1444. font-size: 14px;
  1445. resize: vertical;
  1446. }
  1447. ​
  1448. .star {
  1449. width: 16px;
  1450. height: 16px;
  1451. color: var(--border-strong);
  1452. fill: none;
  1453. }
  1454. ​
  1455. .star-filled {
  1456. color: #f5a623;
  1457. fill: currentColor;
  1458. }
  1459. ​
  1460. .dash-table {
  1461. width: 100%;
  1462. border-collapse: separate;
  1463. border-spacing: 0;
  1464. background: var(--panel);
  1465. border: 1px solid var(--border);
  1466. border-radius: var(--radius);
  1467. overflow: hidden;
  1468. box-shadow: var(--shadow-card);
  1469. margin: 16px 0;
  1470. }
  1471. ​
  1472. .dash-table th,
  1473. .dash-table td {
  1474. padding: 12px 16px;
  1475. text-align: left;
  1476. font-size: 13.5px;
  1477. border-bottom: 1px solid var(--border);
  1478. }
  1479. ​
  1480. .dash-table tr:last-child td {
  1481. border-bottom: none;
  1482. }
  1483. ​
  1484. .dash-table th {
  1485. color: var(--muted);
  1486. font-weight: 600;
  1487. background: var(--panel-alt);
  1488. font-size: 11.5px;
  1489. text-transform: uppercase;
  1490. letter-spacing: 0.04em;
  1491. }
  1492. ​
  1493. .dash-table tbody tr:hover {
  1494. background: var(--panel-alt);
  1495. }
  1496. ​
  1497. .dash-table a {
  1498. color: var(--text);
  1499. text-decoration: none;
  1500. font-weight: 500;
  1501. }
  1502. ​
  1503. .dash-table a:hover {
  1504. color: var(--accent);
  1505. }
  1506. ​
  1507. .status-pill {
  1508. padding: 3px 10px;
  1509. border-radius: 999px;
  1510. font-size: 11px;
  1511. font-weight: 600;
  1512. text-transform: capitalize;
  1513. display: inline-block;
  1514. }
  1515. ​
  1516. .status-pending {
  1517. background: var(--warning-dim);
  1518. color: var(--warning);
  1519. }
  1520. ​
  1521. .status-paid,
  1522. .status-processing {
  1523. background: var(--info-dim);
  1524. color: var(--info);
  1525. }
  1526. ​
  1527. .status-fulfilled,
  1528. .status-shipped,
  1529. .status-completed {
  1530. background: var(--success-dim);
  1531. color: var(--success);
  1532. }
  1533. ​
  1534. .status-canceled,
  1535. .status-refunded,
  1536. .status-failed {
  1537. background: var(--danger-dim);
  1538. color: var(--danger);
  1539. }
  1540. ​
  1541. .dash-btn-small {
  1542. display: inline-flex;
  1543. align-items: center;
  1544. justify-content: center;
  1545. gap: 6px;
  1546. border: 1px solid var(--border);
  1547. background: var(--panel-alt);
  1548. color: var(--text);
  1549. padding: 6px 11px;
  1550. border-radius: var(--radius-sm);
  1551. font-size: 12px;
  1552. font-weight: 600;
  1553. cursor: pointer;
  1554. text-decoration: none;
  1555. font-family: inherit;
  1556. transition: background .12s, border-color .12s;
  1557. }
  1558. ​
  1559. .dash-btn-small:hover {
  1560. background: var(--panel-hover);
  1561. border-color: var(--border-strong);
  1562. }
  1563. ​
  1564. .dash-btn-danger {
  1565. background: transparent;
  1566. border-color: var(--danger);
  1567. color: var(--danger);
  1568. }
  1569. ​
  1570. .dash-btn-danger:hover {
  1571. background: var(--danger-dim);
  1572. }
  1573. ​
  1574. .cart-item-link {
  1575. display: flex;
  1576. align-items: center;
  1577. gap: 12px;
  1578. color: var(--text);
  1579. text-decoration: none;
  1580. font-weight: 600;
  1581. }
  1582. ​
  1583. .cart-item-link:hover {
  1584. color: var(--accent);
  1585. }
  1586. ​
  1587. .cart-item-image {
  1588. width: 48px;
  1589. height: 48px;
  1590. object-fit: cover;
  1591. border-radius: 8px;
  1592. background: var(--panel-raised);
  1593. flex-shrink: 0;
  1594. }
  1595. ​
  1596. .cart-quantity-form {
  1597. display: flex;
  1598. align-items: center;
  1599. gap: 8px;
  1600. }
  1601. ​
  1602. .cart-quantity-form input[type="number"] {
  1603. border: 1px solid var(--border);
  1604. border-radius: 8px;
  1605. background: var(--bg);
  1606. color: var(--text);
  1607. padding: 7px 10px;
  1608. font-size: 13.5px;
  1609. }
  1610. ​
  1611. .cart-discount-box {
  1612. margin: 20px 0;
  1613. padding: 16px 20px;
  1614. background: var(--panel);
  1615. border: 1px solid var(--border);
  1616. border-radius: var(--radius);
  1617. }
  1618. ​
  1619. .cart-discount-form {
  1620. display: flex;
  1621. align-items: flex-end;
  1622. gap: 10px;
  1623. flex-wrap: wrap;
  1624. }
  1625. ​
  1626. .cart-discount-form label {
  1627. display: block;
  1628. font-size: 12px;
  1629. color: var(--muted);
  1630. margin-bottom: 6px;
  1631. }
  1632. ​
  1633. .cart-discount-form input[type="text"] {
  1634. border: 1px solid var(--border);
  1635. border-radius: 8px;
  1636. background: var(--bg);
  1637. color: var(--text);
  1638. padding: 9px 12px;
  1639. font-size: 14px;
  1640. }
  1641. ​
  1642. .cart-summary,
  1643. .checkout-summary,
  1644. .order-summary {
  1645. max-width: 420px;
  1646. margin: 20px 0 28px;
  1647. padding: 20px 24px;
  1648. background: var(--panel);
  1649. border: 1px solid var(--border);
  1650. border-radius: var(--radius);
  1651. box-shadow: var(--shadow-card);
  1652. }
  1653. ​
  1654. .cart-summary-row {
  1655. display: flex;
  1656. justify-content: space-between;
  1657. gap: 16px;
  1658. padding: 6px 0;
  1659. font-size: 14px;
  1660. color: var(--muted);
  1661. }
  1662. ​
  1663. .cart-summary-row.cart-summary-total {
  1664. border-top: 1px solid var(--border);
  1665. margin-top: 6px;
  1666. padding-top: 12px;
  1667. font-size: 16px;
  1668. font-weight: 700;
  1669. color: var(--text);
  1670. }
  1671. ​
  1672. .cart-tax-note {
  1673. font-size: 12.5px;
  1674. color: var(--muted-dim);
  1675. margin: 10px 0 0;
  1676. }
  1677. ​
  1678. .checkout-form,
  1679. .review-form {
  1680. max-width: 480px;
  1681. }
  1682. ​
  1683. .checkout-form label {
  1684. display: block;
  1685. font-size: 13px;
  1686. color: var(--muted);
  1687. margin: 14px 0 6px;
  1688. }
  1689. ​
  1690. .checkout-form input[type="text"],
  1691. .checkout-form input[type="email"],
  1692. .checkout-form textarea {
  1693. width: 100%;
  1694. border: 1px solid var(--border);
  1695. border-radius: 8px;
  1696. background: var(--bg);
  1697. color: var(--text);
  1698. padding: 10px 12px;
  1699. font-size: 14px;
  1700. }
  1701. ​
  1702. @media (max-width: 640px) {
  1703. .dash-table {
  1704. display: block;
  1705. overflow-x: auto;
  1706. -webkit-overflow-scrolling: touch;
  1707. max-width: 100%;
  1708. }
  1709. ​
  1710. .cart-summary,
  1711. .checkout-summary,
  1712. .order-summary,
  1713. .checkout-form,
  1714. .review-form {
  1715. max-width: 100%;
  1716. }
  1717. ​
  1718. .cart-discount-form {
  1719. align-items: stretch;
  1720. }
  1721. ​
  1722. .cart-discount-form input[type="text"] {
  1723. width: 100%;
  1724. }
  1725. ​
  1726. .article-title {
  1727. font-size: 30px;
  1728. }
  1729. ​
  1730. .category-title {
  1731. font-size: 26px;
  1732. }
  1733. ​
  1734. .hero-title {
  1735. font-size: 32px;
  1736. }
  1737. ​
  1738. .article-content table {
  1739. display: block;
  1740. overflow-x: auto;
  1741. -webkit-overflow-scrolling: touch;
  1742. }
  1743. }
  1744. ​
  1745. .category-title {
  1746. font-size: 32px;
  1747. font-weight: 800;
  1748. margin-bottom: 6px;
  1749. }
  1750. ​
  1751. .category-description {
  1752. color: var(--muted);
  1753. margin-bottom: 32px;
  1754. font-size: 15px;
  1755. max-width: 600px;
  1756. }
  1757. ​
  1758. .article-view {
  1759. margin: 0 auto;
  1760. }
  1761. ​
  1762. .article-category-link {
  1763. font-size: 11.5px;
  1764. text-transform: uppercase;
  1765. letter-spacing: .06em;
  1766. color: var(--accent);
  1767. font-weight: 700;
  1768. text-decoration: none;
  1769. background: var(--accent-soft);
  1770. padding: 4px 12px;
  1771. border-radius: 999px;
  1772. display: inline-block;
  1773. }
  1774. ​
  1775. .article-title {
  1776. font-size: 40px;
  1777. font-weight: 800;
  1778. margin: 16px 0 14px;
  1779. line-height: 1.12;
  1780. }
  1781. ​
  1782. .article-meta {
  1783. color: var(--muted);
  1784. font-size: 13.5px;
  1785. margin-bottom: 16px;
  1786. font-weight: 500;
  1787. }
  1788. ​
  1789. .article-share {
  1790. position: relative;
  1791. display: inline-block;
  1792. margin-bottom: 28px;
  1793. }
  1794. ​
  1795. .share-toggle-btn {
  1796. display: inline-flex;
  1797. align-items: center;
  1798. gap: 8px;
  1799. padding: 9px 16px;
  1800. border: 1px solid var(--border);
  1801. border-radius: 999px;
  1802. background: var(--panel);
  1803. color: var(--text);
  1804. font-size: 13.5px;
  1805. font-weight: 600;
  1806. cursor: pointer;
  1807. }
  1808. ​
  1809. .share-toggle-btn:hover {
  1810. border-color: var(--border-strong);
  1811. }
  1812. ​
  1813. .share-panel {
  1814. display: none;
  1815. position: absolute;
  1816. top: calc(100% + 8px);
  1817. left: 0;
  1818. min-width: 200px;
  1819. padding: 8px;
  1820. border: 1px solid var(--border);
  1821. border-radius: 14px;
  1822. background: var(--panel-raised);
  1823. box-shadow: var(--shadow-card-hover);
  1824. z-index: 30;
  1825. }
  1826. ​
  1827. .share-panel.is-open {
  1828. display: block;
  1829. }
  1830. ​
  1831. .share-panel-item {
  1832. display: flex;
  1833. align-items: center;
  1834. gap: 10px;
  1835. width: 100%;
  1836. padding: 9px 10px;
  1837. border: none;
  1838. border-radius: 9px;
  1839. background: transparent;
  1840. color: var(--text);
  1841. font-size: 13.5px;
  1842. font-weight: 500;
  1843. text-decoration: none;
  1844. text-align: left;
  1845. cursor: pointer;
  1846. }
  1847. ​
  1848. .share-panel-item:hover {
  1849. background: var(--accent-soft);
  1850. }
  1851. ​
  1852. .share-panel-item-icon {
  1853. width: 18px;
  1854. height: 18px;
  1855. flex-shrink: 0;
  1856. display: flex;
  1857. }
  1858. ​
  1859. .share-panel-item-icon svg {
  1860. width: 100%;
  1861. height: 100%;
  1862. fill: currentColor;
  1863. }
  1864. ​
  1865. .share-panel-item-icon-email svg,
  1866. .share-panel-item-copy .share-panel-item-icon svg {
  1867. fill: none;
  1868. stroke: currentColor;
  1869. stroke-width: 2;
  1870. stroke-linecap: round;
  1871. stroke-linejoin: round;
  1872. }
  1873. ​
  1874. @media (max-width: 480px) {
  1875. .share-panel {
  1876. left: auto;
  1877. right: 0;
  1878. }
  1879. }
  1880. ​
  1881. .app-banner {
  1882. display: none;
  1883. align-items: center;
  1884. gap: 12px;
  1885. position: fixed;
  1886. left: 12px;
  1887. right: 12px;
  1888. bottom: 12px;
  1889. padding: 12px 14px;
  1890. padding-bottom: calc(12px + env(safe-area-inset-bottom));
  1891. border: 1px solid var(--border);
  1892. border-radius: 16px;
  1893. background: var(--panel-raised);
  1894. box-shadow: var(--shadow-card-hover);
  1895. z-index: 210;
  1896. }
  1897. ​
  1898. .app-banner.is-visible {
  1899. display: flex;
  1900. }
  1901. ​
  1902. .app-banner-icon {
  1903. width: 38px;
  1904. height: 38px;
  1905. border-radius: 10px;
  1906. object-fit: cover;
  1907. flex-shrink: 0;
  1908. }
  1909. ​
  1910. .app-banner-text {
  1911. flex: 1;
  1912. font-size: 13.5px;
  1913. font-weight: 600;
  1914. color: var(--text);
  1915. }
  1916. ​
  1917. .app-banner-link {
  1918. padding: 8px 16px;
  1919. border-radius: 999px;
  1920. background: var(--accent);
  1921. color: #fff;
  1922. font-size: 13px;
  1923. font-weight: 700;
  1924. text-decoration: none;
  1925. white-space: nowrap;
  1926. }
  1927. ​
  1928. .app-banner-link:hover {
  1929. background: var(--accent-hover);
  1930. }
  1931. ​
  1932. .app-banner-close {
  1933. border: none;
  1934. background: transparent;
  1935. color: var(--muted);
  1936. font-size: 20px;
  1937. line-height: 1;
  1938. cursor: pointer;
  1939. padding: 4px;
  1940. flex-shrink: 0;
  1941. }
  1942. ​
  1943. .app-banner-close:hover {
  1944. color: var(--text);
  1945. }
  1946. ​
  1947. .article-cover {
  1948. width: 100%;
  1949. border-radius: 18px;
  1950. margin-bottom: 32px;
  1951. box-shadow: var(--shadow-card);
  1952. }
  1953. ​
  1954. .article-content {
  1955. font-family: var(--font-body, Georgia, serif);
  1956. font-size: 18px;
  1957. line-height: 1.8;
  1958. }
  1959. ​
  1960. .article-content h2 {
  1961. font-size: 27px;
  1962. margin-top: 40px;
  1963. font-weight: 800;
  1964. }
  1965. ​
  1966. .article-content h3 {
  1967. font-size: 21px;
  1968. margin-top: 28px;
  1969. font-weight: 700;
  1970. }
  1971. ​
  1972. .article-content blockquote {
  1973. border-left: 3px solid var(--accent);
  1974. margin: 24px 0;
  1975. padding: 6px 22px;
  1976. color: var(--muted);
  1977. font-style: italic;
  1978. }
  1979. ​
  1980. .article-content img {
  1981. max-width: 100%;
  1982. border-radius: 12px;
  1983. }
  1984. ​
  1985. .article-content pre {
  1986. background: var(--panel);
  1987. border: 1px solid var(--border);
  1988. border-radius: 12px;
  1989. padding: 18px;
  1990. overflow-x: auto;
  1991. }
  1992. ​
  1993. .article-content table {
  1994. width: 100%;
  1995. border-collapse: collapse;
  1996. margin: 20px 0;
  1997. }
  1998. ​
  1999. .article-content table td {
  2000. border: 1px solid var(--border);
  2001. padding: 10px;
  2002. }
  2003. ​
  2004. .callout {
  2005. padding: 16px 18px;
  2006. border-radius: 12px;
  2007. margin: 20px 0;
  2008. }
  2009. ​
  2010. .callout-info {
  2011. background: rgba(79, 178, 232, 0.12);
  2012. color: #2a95c9;
  2013. }
  2014. ​
  2015. .callout-warning {
  2016. background: rgba(234, 178, 61, 0.14);
  2017. color: #b5811d;
  2018. }
  2019. ​
  2020. .callout-success {
  2021. background: rgba(52, 196, 140, 0.12);
  2022. color: #22936a;
  2023. }
  2024. ​
  2025. .callout-danger {
  2026. background: rgba(240, 84, 106, 0.12);
  2027. color: #d63a52;
  2028. }
  2029. ​
  2030. body[data-theme="dark"] .callout-info {
  2031. color: #4fb2e8;
  2032. }
  2033. ​
  2034. body[data-theme="dark"] .callout-warning {
  2035. color: #eab23d;
  2036. }
  2037. ​
  2038. body[data-theme="dark"] .callout-success {
  2039. color: #34c48c;
  2040. }
  2041. ​
  2042. body[data-theme="dark"] .callout-danger {
  2043. color: #f0546a;
  2044. }
  2045. ​
  2046. .embed-wrapper {
  2047. position: relative;
  2048. padding-bottom: 56.25%;
  2049. height: 0;
  2050. margin: 24px 0;
  2051. }
  2052. ​
  2053. .embed-wrapper iframe {
  2054. position: absolute;
  2055. top: 0;
  2056. left: 0;
  2057. width: 100%;
  2058. height: 100%;
  2059. border: none;
  2060. border-radius: 12px;
  2061. }
  2062. ​
  2063. .article-excerpt-locked {
  2064. font-size: 18px;
  2065. color: var(--muted);
  2066. }
  2067. ​
  2068. .paid-overlay {
  2069. border: 1px solid var(--border);
  2070. background: var(--panel);
  2071. border-radius: 20px;
  2072. padding: 40px;
  2073. text-align: center;
  2074. margin-top: 16px;
  2075. box-shadow: var(--shadow-card);
  2076. }
  2077. ​
  2078. .paid-overlay-box p {
  2079. color: var(--muted);
  2080. }
  2081. ​
  2082. .unlock-btn {
  2083. display: inline-block;
  2084. margin-top: 14px;
  2085. padding: 12px 28px;
  2086. background: var(--accent);
  2087. color: #fff;
  2088. text-decoration: none;
  2089. border-radius: 999px;
  2090. font-size: 14.5px;
  2091. font-weight: 700;
  2092. transition: background .12s;
  2093. }
  2094. ​
  2095. .unlock-btn:hover {
  2096. background: var(--accent-hover);
  2097. }
  2098. ​
  2099. .unlock-btn-outline {
  2100. background: transparent;
  2101. border: 1.5px solid var(--accent);
  2102. color: var(--accent);
  2103. }
  2104. ​
  2105. .unlock-btn-outline:hover {
  2106. background: var(--accent-soft);
  2107. color: var(--accent);
  2108. }
  2109. ​
  2110. .subscription-divider {
  2111. color: var(--muted-dim);
  2112. font-size: 12px;
  2113. text-transform: uppercase;
  2114. letter-spacing: .08em;
  2115. margin: 24px 0 16px;
  2116. font-weight: 700;
  2117. }
  2118. ​
  2119. .subscription-offer {
  2120. border-top: 1px solid var(--border);
  2121. padding-top: 20px;
  2122. }
  2123. ​
  2124. .subscription-offer-name {
  2125. font-size: 18px;
  2126. font-weight: 800;
  2127. }
  2128. ​
  2129. .subscription-offer-price {
  2130. font-size: 15px;
  2131. color: var(--muted);
  2132. margin-top: 4px;
  2133. font-weight: 600;
  2134. }
  2135. ​
  2136. .subscription-offer-description {
  2137. color: var(--muted);
  2138. font-size: 14px;
  2139. margin: 10px 0 0;
  2140. }
  2141. ​
  2142. .related-section {
  2143. margin: 56px auto 0;
  2144. }
  2145. ​
  2146. .related-section h2 {
  2147. font-size: 13px;
  2148. text-transform: uppercase;
  2149. letter-spacing: .07em;
  2150. color: var(--muted);
  2151. margin: 32px 0 18px;
  2152. font-weight: 700;
  2153. }
  2154. ​
  2155. .comments-section {
  2156. max-width: 740px;
  2157. margin: 56px auto 0;
  2158. }
  2159. ​
  2160. .comments-placeholder {
  2161. color: var(--muted);
  2162. font-size: 14px;
  2163. }
  2164. ​
  2165. .ad-slot {
  2166. max-width: 100%;
  2167. margin: 24px 0;
  2168. overflow-x: auto;
  2169. text-align: center;
  2170. }
  2171. ​
  2172. .ad-slot.ad-image img {
  2173. max-width: 100%;
  2174. border-radius: 14px;
  2175. }
  2176. ​
  2177. .ad-slot.ad-script iframe,
  2178. .ad-slot.ad-script embed,
  2179. .ad-slot.ad-script object,
  2180. .ad-slot.ad-script > div,
  2181. .ad-slot.ad-script ins {
  2182. max-width: 100%;
  2183. }
  2184. ​
  2185. .site-footer {
  2186. border-top: 1px solid var(--border);
  2187. padding: 44px 40px 24px;
  2188. }
  2189. ​
  2190. .site-footer-columns {
  2191. display: grid;
  2192. grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  2193. gap: 32px;
  2194. max-width: 1180px;
  2195. margin: 0 auto 32px;
  2196. }
  2197. ​
  2198. .site-footer-column-title {
  2199. font-size: 12px;
  2200. text-transform: uppercase;
  2201. letter-spacing: .06em;
  2202. color: var(--muted);
  2203. font-weight: 700;
  2204. margin: 0 0 14px;
  2205. }
  2206. ​
  2207. .site-footer-column-links {
  2208. display: flex;
  2209. flex-direction: column;
  2210. gap: 10px;
  2211. }
  2212. ​
  2213. .site-footer-column-links a {
  2214. text-decoration: none;
  2215. color: var(--text);
  2216. font-size: 13.5px;
  2217. font-weight: 500;
  2218. }
  2219. ​
  2220. .site-footer-column-links a:hover {
  2221. color: var(--accent);
  2222. }
  2223. ​
  2224. .site-footer-bottom {
  2225. max-width: 1180px;
  2226. margin: 0 auto;
  2227. border-top: 1px solid var(--border);
  2228. padding-top: 20px;
  2229. }
  2230. ​
  2231. .site-footer-row {
  2232. display: flex;
  2233. justify-content: space-between;
  2234. align-items: center;
  2235. flex-wrap: wrap;
  2236. gap: 12px;
  2237. font-size: 13px;
  2238. color: var(--muted);
  2239. }
  2240. ​
  2241. .site-footer-links {
  2242. display: flex;
  2243. align-items: center;
  2244. gap: 20px;
  2245. }
  2246. ​
  2247. .site-footer-links .site-search-form {
  2248. padding: 4px 10px;
  2249. }
  2250. ​
  2251. .site-footer-links .site-search-input {
  2252. width: 110px;
  2253. }
  2254. ​
  2255. .site-footer-links a {
  2256. text-decoration: none;
  2257. color: var(--muted);
  2258. font-weight: 500;
  2259. }
  2260. ​
  2261. .site-footer-links a:hover {
  2262. color: var(--text);
  2263. }
  2264. ​
  2265. .site-footer-social {
  2266. display: flex;
  2267. align-items: center;
  2268. gap: 10px;
  2269. }
  2270. ​
  2271. .site-footer-social a {
  2272. display: flex;
  2273. align-items: center;
  2274. justify-content: center;
  2275. width: 34px;
  2276. height: 34px;
  2277. border-radius: 999px;
  2278. background: var(--panel-raised);
  2279. border: 1px solid var(--border);
  2280. color: var(--muted);
  2281. transition: background .12s, color .12s, border-color .12s;
  2282. }
  2283. ​
  2284. .site-footer-social a:hover {
  2285. color: var(--text);
  2286. border-color: var(--border-strong);
  2287. background: var(--accent-soft);
  2288. }
  2289. ​
  2290. .site-footer-social a svg {
  2291. width: 16px;
  2292. height: 16px;
  2293. fill: currentColor;
  2294. }
  2295. ​
  2296. #consent-reopen-btn,
  2297. #theme-toggle-btn {
  2298. background: var(--panel-raised);
  2299. border: 1px solid var(--border);
  2300. border-radius: 999px;
  2301. width: 34px;
  2302. height: 34px;
  2303. display: flex;
  2304. align-items: center;
  2305. justify-content: center;
  2306. cursor: pointer;
  2307. color: var(--muted);
  2308. transition: background .12s, color .12s;
  2309. }
  2310. ​
  2311. #consent-reopen-btn:hover,
  2312. #theme-toggle-btn:hover {
  2313. color: var(--text);
  2314. }
  2315. ​
  2316. body[data-theme="light"] .icon-moon {
  2317. display: none;
  2318. }
  2319. ​
  2320. body[data-theme="dark"] .icon-sun {
  2321. display: none;
  2322. }
  2323. ​
  2324. .consent-banner {
  2325. position: fixed;
  2326. bottom: 20px;
  2327. left: 20px;
  2328. right: 20px;
  2329. max-width: 440px;
  2330. background: var(--panel);
  2331. border: 1px solid var(--border);
  2332. border-radius: 18px;
  2333. padding: 20px 22px;
  2334. z-index: 1000;
  2335. box-shadow: var(--shadow-card-hover);
  2336. }
  2337. ​
  2338. .consent-banner p {
  2339. margin: 0 0 14px;
  2340. font-size: 13.5px;
  2341. color: var(--muted);
  2342. line-height: 1.5;
  2343. }
  2344. ​
  2345. .consent-banner-actions {
  2346. display: flex;
  2347. gap: 8px;
  2348. }
  2349. ​
  2350. .consent-banner-actions button {
  2351. padding: 9px 18px;
  2352. border-radius: 999px;
  2353. border: 1px solid var(--border);
  2354. background: var(--bg);
  2355. color: var(--text);
  2356. cursor: pointer;
  2357. font-size: 13px;
  2358. font-weight: 600;
  2359. font-family: inherit;
  2360. }
  2361. ​
  2362. #consent-accept {
  2363. background: var(--accent);
  2364. border-color: var(--accent);
  2365. color: #fff;
  2366. }
  2367. ​
  2368. @media (max-width: 860px) {
  2369. .featured-banner {
  2370. grid-template-columns: 1fr 1fr;
  2371. grid-template-rows: 260px repeat(2, 150px);
  2372. }
  2373. ​
  2374. .featured-banner-item-large {
  2375. grid-column: span 2;
  2376. grid-row: auto;
  2377. }
  2378. ​
  2379. .featured-banner-item-small:nth-child(2),
  2380. .featured-banner-item-small:nth-child(3),
  2381. .featured-banner-item-small:nth-child(4),
  2382. .featured-banner-item-small:nth-child(5) {
  2383. grid-column: auto;
  2384. }
  2385. ​
  2386. .featured-banner-item-large .featured-banner-title {
  2387. font-size: 22px;
  2388. }
  2389. ​
  2390. .site-menu-toggle {
  2391. display: flex;
  2392. }
  2393. ​
  2394. .site-footer-columns {
  2395. grid-template-columns: repeat(2, 1fr);
  2396. gap: 24px 20px;
  2397. }
  2398. ​
  2399. .site-auth-links.site-auth-links-desktop {
  2400. display: none;
  2401. }
  2402. ​
  2403. .site-auth-links.site-auth-links-mobile {
  2404. display: flex;
  2405. flex-direction: column;
  2406. align-items: stretch;
  2407. gap: 10px;
  2408. margin: 10px 10px 0;
  2409. padding-top: 16px;
  2410. border-top: 1px solid var(--border);
  2411. }
  2412. ​
  2413. .site-auth-links-mobile a {
  2414. border: 1.5px solid var(--border);
  2415. border-radius: 999px;
  2416. padding: 11px 26px;
  2417. text-align: center;
  2418. font-size: 14px;
  2419. }
  2420. ​
  2421. .site-auth-links-mobile a:hover {
  2422. border-color: var(--border-strong);
  2423. }
  2424. ​
  2425. .site-auth-links-mobile a.site-auth-cta {
  2426. border-color: var(--accent);
  2427. }
  2428. ​
  2429. .site-auth-links-mobile a.site-auth-cta:hover {
  2430. border-color: var(--accent-hover);
  2431. }
  2432. ​
  2433. .site-cart-link-header {
  2434. display: flex !important;
  2435. width: 38px !important;
  2436. height: 38px !important;
  2437. padding: 0 !important;
  2438. border-radius: 999px;
  2439. border: 1px solid var(--border);
  2440. background: var(--panel-raised);
  2441. color: var(--text);
  2442. flex-shrink: 0;
  2443. margin-left: auto;
  2444. }
  2445. ​
  2446. .site-cart-link-header:hover {
  2447. border-color: var(--border-strong);
  2448. }
  2449. ​
  2450. .site-cart-link-header .icon,
  2451. .site-cart-link-header .shop-icon-custom svg {
  2452. width: 20px;
  2453. height: 20px;
  2454. }
  2455. ​
  2456. .site-cart-link-header .site-cart-count {
  2457. top: -2px;
  2458. right: -2px;
  2459. }
  2460. ​
  2461. .site-nav {
  2462. display: none;
  2463. flex-direction: column;
  2464. flex-wrap: nowrap;
  2465. align-items: stretch;
  2466. gap: 4px;
  2467. position: fixed;
  2468. top: 0;
  2469. right: 0;
  2470. bottom: 0;
  2471. height: 100vh;
  2472. height: 100dvh;
  2473. width: min(300px, 84vw);
  2474. max-width: 100vw;
  2475. ​
  2476. padding: 76px 22px 24px;
  2477. background: var(--panel);
  2478. border-left: 1px solid var(--border);
  2479. box-shadow: var(--shadow-card-hover);
  2480. z-index: 200;
  2481. overflow-x: hidden;
  2482. overflow-y: auto;
  2483. -webkit-overflow-scrolling: touch;
  2484. overscroll-behavior: contain;
  2485. touch-action: pan-y;
  2486. box-sizing: border-box;
  2487. }
  2488. ​
  2489. .site-nav.is-open {
  2490. display: flex;
  2491. }
  2492. ​
  2493. .site-nav > * {
  2494. flex-shrink: 0;
  2495. }
  2496. ​
  2497. .site-nav a {
  2498. padding: 10px 4px;
  2499. border-bottom: 1px solid var(--border);
  2500. }
  2501. ​
  2502. .site-nav .site-search-form {
  2503. width: 100%;
  2504. margin: 6px 0;
  2505. }
  2506. ​
  2507. .site-nav .site-search-input {
  2508. width: 100%;
  2509. }
  2510. ​
  2511. .site-nav-backdrop.is-open {
  2512. display: block;
  2513. position: fixed;
  2514. inset: 0;
  2515. background: rgba(0, 0, 0, 0.45);
  2516. z-index: 40;
  2517. }
  2518. ​
  2519. .site-header:has(.site-nav.is-open),
  2520. .site-header.site-nav-drawer-open,
  2521. body:not(.site-menu-side) .site-header:has(.site-nav.is-open),
  2522. body:not(.site-menu-side) .site-header.site-nav-drawer-open {
  2523. backdrop-filter: none !important;
  2524. -webkit-backdrop-filter: none !important;
  2525. transform: none !important;
  2526. filter: none !important;
  2527. }
  2528. ​
  2529. body.site-menu-top .site-header,
  2530. body.site-menu-bottom .site-header {
  2531. padding: 14px 20px;
  2532. flex-wrap: nowrap;
  2533. }
  2534. ​
  2535. .site-header-row {
  2536. width: 100%;
  2537. justify-content: space-between;
  2538. }
  2539. ​
  2540. .site-brand {
  2541. min-width: 0;
  2542. overflow: hidden;
  2543. text-overflow: ellipsis;
  2544. white-space: nowrap;
  2545. }
  2546. ​
  2547. body.site-menu-side .site-shell {
  2548. flex-direction: column;
  2549. }
  2550. ​
  2551. body.site-menu-side .site-header {
  2552. flex-direction: row;
  2553. align-items: center;
  2554. width: 100%;
  2555. height: auto;
  2556. position: sticky;
  2557. top: 0;
  2558. border-right: none;
  2559. border-bottom: 1px solid var(--border);
  2560. padding: 14px 20px;
  2561. background: color-mix(in srgb, var(--bg) 88%, transparent);
  2562. backdrop-filter: blur(10px);
  2563. -webkit-backdrop-filter: blur(10px);
  2564. z-index: 100;
  2565. }
  2566. ​
  2567. body.site-menu-side .site-nav {
  2568. flex-direction: column;
  2569. flex-wrap: nowrap;
  2570. }
  2571. ​
  2572. body.site-menu-side .site-main {
  2573. flex: 1;
  2574. width: 100%;
  2575. }
  2576. ​
  2577. .site-main {
  2578. padding: 24px 18px;
  2579. }
  2580. ​
  2581. .site-footer {
  2582. padding: 32px 20px 20px;
  2583. }
  2584. ​
  2585. .site-footer-row {
  2586. flex-direction: column;
  2587. align-items: center;
  2588. text-align: center;
  2589. }
  2590. ​
  2591. .site-footer-links {
  2592. justify-content: center;
  2593. flex-wrap: wrap;
  2594. gap: 12px;
  2595. }
  2596. ​
  2597. .consent-banner {
  2598. left: 12px;
  2599. right: 12px;
  2600. bottom: 12px;
  2601. max-width: none;
  2602. }
  2603. }
  2604. ​
  2605. body[data-theme="light"] {
  2606. --tok-comment: #7a8194;
  2607. --tok-string: #0a7d4f;
  2608. --tok-keyword: #6c3fd1;
  2609. --tok-number: #b45309;
  2610. --tok-function: #1f6feb;
  2611. --tok-tag: #c2255c;
  2612. --tok-attr: #b45309;
  2613. --tok-variable: #0e7490;
  2614. --tok-literal: #c2255c;
  2615. }
  2616. ​
  2617. body[data-theme="dark"] {
  2618. --tok-comment: #7f8798;
  2619. --tok-string: #7ee2a8;
  2620. --tok-keyword: #c4a7ff;
  2621. --tok-number: #f5b971;
  2622. --tok-function: #79b8ff;
  2623. --tok-tag: #ff8fa8;
  2624. --tok-attr: #f5b971;
  2625. --tok-variable: #67d4e8;
  2626. --tok-literal: #ff8fa8;
  2627. }
  2628. ​
  2629. .code-block {
  2630. position: relative;
  2631. margin: 20px 0;
  2632. }
  2633. ​
  2634. .code-block pre {
  2635. margin: 0;
  2636. }
  2637. ​
  2638. .code-copy {
  2639. position: absolute;
  2640. top: 10px;
  2641. right: 10px;
  2642. z-index: 1;
  2643. padding: 4px 10px;
  2644. border: 1px solid var(--border);
  2645. border-radius: 8px;
  2646. background: var(--panel);
  2647. color: var(--muted);
  2648. font: inherit;
  2649. font-size: 12px;
  2650. font-weight: 600;
  2651. cursor: pointer;
  2652. opacity: 0;
  2653. transition: opacity .15s, color .15s, border-color .15s;
  2654. }
  2655. ​
  2656. .code-block:hover .code-copy,
  2657. .code-copy:focus-visible,
  2658. .code-copy.is-copied {
  2659. opacity: 1;
  2660. }
  2661. ​
  2662. .code-copy:hover {
  2663. color: var(--text);
  2664. border-color: var(--border-strong);
  2665. }
  2666. ​
  2667. .code-copy.is-copied {
  2668. color: var(--accent);
  2669. border-color: var(--accent);
  2670. }
  2671. ​
  2672. @media (hover: none) {
  2673. .code-copy {
  2674. opacity: 1;
  2675. }
  2676. }
  2677. ​
  2678. .tok-comment {
  2679. color: var(--tok-comment);
  2680. font-style: italic;
  2681. }
  2682. ​
  2683. .tok-string {
  2684. color: var(--tok-string);
  2685. }
  2686. ​
  2687. .tok-keyword {
  2688. color: var(--tok-keyword);
  2689. }
  2690. ​
  2691. .tok-number {
  2692. color: var(--tok-number);
  2693. }
  2694. ​
  2695. .tok-function {
  2696. color: var(--tok-function);
  2697. }
  2698. ​
  2699. .tok-tag {
  2700. color: var(--tok-tag);
  2701. }
  2702. ​
  2703. .tok-attr {
  2704. color: var(--tok-attr);
  2705. }
  2706. ​
  2707. .tok-variable {
  2708. color: var(--tok-variable);
  2709. }
  2710. ​
  2711. .tok-literal {
  2712. color: var(--tok-literal);
  2713. }
  2714. ​
  2715. .back-to-top {
  2716. position: fixed;
  2717. right: 20px;
  2718. bottom: 20px;
  2719. z-index: 900;
  2720. display: inline-flex;
  2721. align-items: center;
  2722. justify-content: center;
  2723. gap: 8px;
  2724. height: 44px;
  2725. min-width: 44px;
  2726. padding: 0 13px;
  2727. border-radius: 999px;
  2728. border: 1px solid var(--border);
  2729. background-color: var(--panel-raised);
  2730. color: var(--text);
  2731. font-family: inherit;
  2732. font-size: 13px;
  2733. font-weight: 600;
  2734. cursor: pointer;
  2735. box-shadow: var(--shadow-card-hover);
  2736. opacity: 0;
  2737. visibility: hidden;
  2738. transform: translateY(12px);
  2739. transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background-color .15s ease, color .15s ease;
  2740. }
  2741. ​
  2742. .back-to-top.is-visible {
  2743. opacity: 1;
  2744. visibility: visible;
  2745. transform: none;
  2746. }
  2747. ​
  2748. .back-to-top:hover {
  2749. background-color: var(--accent);
  2750. border-color: var(--accent);
  2751. color: #fff;
  2752. }
  2753. ​
  2754. .back-to-top.has-progress {
  2755. background-image: linear-gradient(90deg, var(--accent-soft) var(--btt-read, 0%), transparent var(--btt-read, 0%));
  2756. }
  2757. ​
  2758. .back-to-top svg {
  2759. width: 18px;
  2760. height: 18px;
  2761. flex-shrink: 0;
  2762. }
  2763. ​
  2764. .back-to-top-progress {
  2765. font-variant-numeric: tabular-nums;
  2766. white-space: nowrap;
  2767. }
  2768. ​
  2769. .back-to-top-progress[hidden] {
  2770. display: none;
  2771. }
  2772. ​
  2773. .article-toc {
  2774. margin: 0 0 28px;
  2775. padding: 16px 20px;
  2776. border: 1px solid var(--border);
  2777. border-radius: 14px;
  2778. background: var(--panel-raised);
  2779. }
  2780. ​
  2781. .article-toc summary {
  2782. cursor: pointer;
  2783. font-size: 15px;
  2784. font-weight: 700;
  2785. color: var(--text);
  2786. }
  2787. ​
  2788. .article-toc-list {
  2789. list-style: none;
  2790. display: grid;
  2791. gap: 6px;
  2792. margin: 12px 0 0;
  2793. padding: 0;
  2794. }
  2795. ​
  2796. .article-toc-item a {
  2797. color: var(--muted);
  2798. font-size: 15px;
  2799. line-height: 1.4;
  2800. text-decoration: none;
  2801. }
  2802. ​
  2803. .article-toc-item a:hover {
  2804. color: var(--accent);
  2805. }
  2806. ​
  2807. .article-toc-level-3 {
  2808. padding-left: 18px;
  2809. }
  2810. ​
  2811. .article-content h2[id],
  2812. .article-content h3[id] {
  2813. scroll-margin-top: 90px;
  2814. }
  2815. ​
  2816. @media (prefers-reduced-motion: no-preference) {
  2817. html {
  2818. scroll-behavior: smooth;
  2819. }
  2820. }
  2821. ​
  2822. @media (max-width: 600px) {
  2823. .back-to-top {
  2824. right: 14px;
  2825. bottom: 14px;
  2826. }
  2827. }
  2828. ​
  2829. .article-breadcrumbs {
  2830. margin-bottom: 14px;
  2831. font-size: 13px;
  2832. }
  2833. ​
  2834. .article-breadcrumbs ol {
  2835. display: flex;
  2836. flex-wrap: wrap;
  2837. align-items: center;
  2838. gap: 6px;
  2839. list-style: none;
  2840. margin: 0;
  2841. padding: 0;
  2842. color: var(--muted);
  2843. }
  2844. ​
  2845. .article-breadcrumbs li {
  2846. display: inline-flex;
  2847. align-items: center;
  2848. gap: 6px;
  2849. min-width: 0;
  2850. }
  2851. ​
  2852. .article-breadcrumbs li + li::before {
  2853. content: "\203A";
  2854. color: var(--muted);
  2855. opacity: 0.7;
  2856. }
  2857. ​
  2858. .article-breadcrumbs a {
  2859. color: var(--muted);
  2860. text-decoration: none;
  2861. }
  2862. ​
  2863. .article-breadcrumbs a:hover {
  2864. color: var(--accent);
  2865. }
  2866. ​
  2867. .article-breadcrumbs li[aria-current="page"] span {
  2868. display: block;
  2869. max-width: 260px;
  2870. overflow: hidden;
  2871. text-overflow: ellipsis;
  2872. white-space: nowrap;
  2873. color: var(--text);
  2874. }
  2875. ​
  2876. .author-box {
  2877. display: flex;
  2878. align-items: center;
  2879. gap: 16px;
  2880. margin-top: 40px;
  2881. padding: 18px 20px;
  2882. border: 1px solid var(--border);
  2883. border-radius: 16px;
  2884. background: var(--panel-raised);
  2885. }
  2886. ​
  2887. .author-box-avatar {
  2888. display: flex;
  2889. align-items: center;
  2890. justify-content: center;
  2891. flex-shrink: 0;
  2892. width: 52px;
  2893. height: 52px;
  2894. border-radius: 50%;
  2895. background: var(--accent-soft);
  2896. color: var(--accent);
  2897. font-size: 20px;
  2898. font-weight: 800;
  2899. }
  2900. ​
  2901. .author-box-label {
  2902. font-size: 12px;
  2903. color: var(--muted);
  2904. text-transform: uppercase;
  2905. letter-spacing: 0.04em;
  2906. }
  2907. ​
  2908. .author-box-name {
  2909. font-size: 17px;
  2910. font-weight: 700;
  2911. color: var(--text);
  2912. }
  2913. ​
  2914. .author-box-meta {
  2915. font-size: 13px;
  2916. color: var(--muted);
  2917. }
  2918. ​
  2919. .author-box-avatar.has-image {
  2920. overflow: hidden;
  2921. background: transparent;
  2922. }
  2923. ​
  2924. .author-box-avatar.has-image img {
  2925. display: block;
  2926. width: 100%;
  2927. height: 100%;
  2928. object-fit: cover;
  2929. }
  2930. ​
  2931. .author-box-name a {
  2932. color: inherit;
  2933. text-decoration: none;
  2934. }
  2935. ​
  2936. .author-box-name a:hover {
  2937. color: var(--accent);
  2938. }
  2939. ​
  2940. .author-box-headline {
  2941. font-size: 13px;
  2942. color: var(--muted);
  2943. }
  2944. ​
  2945. .artist-header {
  2946. display: flex;
  2947. align-items: center;
  2948. gap: 22px;
  2949. margin-bottom: 24px;
  2950. }
  2951. ​
  2952. .artist-avatar {
  2953. display: flex;
  2954. align-items: center;
  2955. justify-content: center;
  2956. flex-shrink: 0;
  2957. width: 96px;
  2958. height: 96px;
  2959. border-radius: 50%;
  2960. background: var(--accent-soft);
  2961. color: var(--accent);
  2962. font-size: 38px;
  2963. font-weight: 800;
  2964. }
  2965. ​
  2966. .artist-avatar.has-image {
  2967. overflow: hidden;
  2968. background: transparent;
  2969. }
  2970. ​
  2971. .artist-avatar.has-image img {
  2972. display: block;
  2973. width: 100%;
  2974. height: 100%;
  2975. object-fit: cover;
  2976. }
  2977. ​
  2978. .artist-name {
  2979. margin: 0;
  2980. font-size: 32px;
  2981. line-height: 1.2;
  2982. }
  2983. ​
  2984. .artist-headline {
  2985. margin: 4px 0 0;
  2986. font-size: 17px;
  2987. color: var(--muted);
  2988. }
  2989. ​
  2990. .artist-meta {
  2991. margin: 8px 0 0;
  2992. font-size: 14px;
  2993. color: var(--muted);
  2994. }
  2995. ​
  2996. .artist-meta a {
  2997. color: var(--accent);
  2998. text-decoration: none;
  2999. }
  3000. ​
  3001. .artist-bio {
  3002. max-width: 720px;
  3003. margin-bottom: 32px;
  3004. font-size: 17px;
  3005. line-height: 1.75;
  3006. overflow-wrap: anywhere;
  3007. }
  3008. ​
  3009. @media (max-width: 600px) {
  3010. .artist-header {
  3011. flex-direction: column;
  3012. align-items: flex-start;
  3013. }
  3014. }
  3015. ​
  3016. .article-tags {
  3017. display: flex;
  3018. flex-wrap: wrap;
  3019. align-items: center;
  3020. gap: 8px;
  3021. margin-top: 32px;
  3022. }
  3023. ​
  3024. .article-tags-label {
  3025. font-size: 14px;
  3026. color: var(--muted);
  3027. }
  3028. ​
  3029. .article-tag {
  3030. padding: 4px 12px;
  3031. border: 1px solid var(--border);
  3032. border-radius: 999px;
  3033. background: var(--panel-raised);
  3034. color: var(--text);
  3035. font-size: 13px;
  3036. text-decoration: none;
  3037. transition: border-color 0.15s ease, color 0.15s ease;
  3038. }
  3039. ​
  3040. .article-tag:hover {
  3041. border-color: var(--accent);
  3042. color: var(--accent);
  3043. }
  3044. ​
  3045. .read-aloud {
  3046. display: flex;
  3047. align-items: center;
  3048. gap: 14px;
  3049. margin: 0 0 24px;
  3050. padding: 14px 16px;
  3051. border: 1px solid var(--border);
  3052. border-radius: 16px;
  3053. background: var(--panel);
  3054. box-shadow: var(--shadow-card);
  3055. }
  3056. ​
  3057. .read-aloud-toggle {
  3058. flex: 0 0 auto;
  3059. display: inline-flex;
  3060. align-items: center;
  3061. justify-content: center;
  3062. width: 46px;
  3063. height: 46px;
  3064. padding: 0;
  3065. border-radius: 50%;
  3066. border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
  3067. background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 22%, transparent), color-mix(in srgb, var(--accent) 10%, transparent));
  3068. color: var(--accent);
  3069. cursor: pointer;
  3070. transition: background-color .2s, border-color .2s, transform .15s;
  3071. }
  3072. ​
  3073. .read-aloud-toggle:hover {
  3074. border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  3075. background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 32%, transparent), color-mix(in srgb, var(--accent) 16%, transparent));
  3076. }
  3077. ​
  3078. .read-aloud-toggle:active {
  3079. transform: scale(.94);
  3080. }
  3081. ​
  3082. .read-aloud-toggle:focus-visible,
  3083. .read-aloud-speed:focus-visible,
  3084. .read-aloud-seek:focus-visible {
  3085. outline: 2px solid var(--accent);
  3086. outline-offset: 2px;
  3087. }
  3088. ​
  3089. .read-aloud-toggle svg {
  3090. width: 18px;
  3091. height: 18px;
  3092. }
  3093. ​
  3094. .read-aloud-icon-pause {
  3095. display: none;
  3096. }
  3097. ​
  3098. .read-aloud.is-playing .read-aloud-icon-play {
  3099. display: none;
  3100. }
  3101. ​
  3102. .read-aloud.is-playing .read-aloud-icon-pause {
  3103. display: block;
  3104. }
  3105. ​
  3106. .read-aloud-main {
  3107. flex: 1 1 auto;
  3108. min-width: 0;
  3109. }
  3110. ​
  3111. .read-aloud-title {
  3112. margin-bottom: 8px;
  3113. font-size: 13px;
  3114. font-weight: 600;
  3115. color: var(--text);
  3116. }
  3117. ​
  3118. .read-aloud-track {
  3119. display: flex;
  3120. align-items: center;
  3121. gap: 12px;
  3122. }
  3123. ​
  3124. .read-aloud-seek {
  3125. -webkit-appearance: none;
  3126. appearance: none;
  3127. flex: 1 1 auto;
  3128. min-width: 0;
  3129. height: 6px;
  3130. margin: 0;
  3131. padding: 0;
  3132. border-radius: 999px;
  3133. background: linear-gradient(to right, var(--accent) var(--read-aloud-progress, 0%), var(--border-strong) var(--read-aloud-progress, 0%));
  3134. cursor: pointer;
  3135. }
  3136. ​
  3137. .read-aloud-seek:disabled {
  3138. opacity: .6;
  3139. cursor: default;
  3140. }
  3141. ​
  3142. .read-aloud-seek::-webkit-slider-thumb {
  3143. -webkit-appearance: none;
  3144. appearance: none;
  3145. width: 14px;
  3146. height: 14px;
  3147. border-radius: 50%;
  3148. border: 2px solid var(--panel);
  3149. background: var(--accent);
  3150. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  3151. }
  3152. ​
  3153. .read-aloud-seek::-moz-range-thumb {
  3154. width: 12px;
  3155. height: 12px;
  3156. border-radius: 50%;
  3157. border: 2px solid var(--panel);
  3158. background: var(--accent);
  3159. }
  3160. ​
  3161. .read-aloud-time {
  3162. flex: 0 0 auto;
  3163. min-width: 78px;
  3164. text-align: right;
  3165. font-size: 12px;
  3166. color: var(--muted);
  3167. font-variant-numeric: tabular-nums;
  3168. white-space: nowrap;
  3169. }
  3170. ​
  3171. .read-aloud-speed {
  3172. flex: 0 0 auto;
  3173. min-width: 46px;
  3174. padding: 6px 10px;
  3175. border-radius: 999px;
  3176. border: 1px solid var(--border-strong);
  3177. background: transparent;
  3178. color: var(--muted);
  3179. font: inherit;
  3180. font-size: 12px;
  3181. font-weight: 600;
  3182. cursor: pointer;
  3183. transition: color .2s, border-color .2s;
  3184. }
  3185. ​
  3186. .read-aloud-speed:hover {
  3187. color: var(--text);
  3188. border-color: var(--muted-dim);
  3189. }
  3190. ​
  3191. .read-aloud.is-error {
  3192. opacity: .6;
  3193. }
  3194. ​
  3195. @media (max-width: 560px) {
  3196. .read-aloud {
  3197. gap: 10px;
  3198. padding: 12px;
  3199. }
  3200. ​
  3201. .read-aloud-toggle {
  3202. width: 42px;
  3203. height: 42px;
  3204. }
  3205. ​
  3206. .read-aloud-time {
  3207. min-width: 66px;
  3208. font-size: 11.5px;
  3209. }
  3210. }
  3211. ​
  3212. .paid-overlay-box .badge-paid {
  3213. margin: 0 0 22px;
  3214. }
  3215. ​
  3216. .paid-overlay-box .badge-paid + .subscription-offer {
  3217. border-top: 0;
  3218. padding-top: 0;
  3219. }
  3220. ​
  3221. .paid-overlay-box > :last-child {
  3222. margin-bottom: 0;
  3223. }
  3224. ​
  3225. .site-language-switcher {
  3226. position: relative;
  3227. display: inline-block;
  3228. }
  3229. ​
  3230. .site-language-switcher summary {
  3231. display: inline-flex;
  3232. align-items: center;
  3233. justify-content: space-between;
  3234. gap: 10px;
  3235. min-width: 128px;
  3236. padding: 8px 12px;
  3237. border: 1px solid var(--border-strong);
  3238. border-radius: 12px;
  3239. background: var(--panel);
  3240. color: var(--text);
  3241. font-size: 13px;
  3242. font-weight: 600;
  3243. line-height: 1.3;
  3244. cursor: pointer;
  3245. list-style: none;
  3246. user-select: none;
  3247. transition: border-color .2s, background-color .2s;
  3248. }
  3249. ​
  3250. .site-language-switcher summary::-webkit-details-marker {
  3251. display: none;
  3252. }
  3253. ​
  3254. .site-language-switcher summary:hover,
  3255. .site-language-switcher[open] summary {
  3256. border-color: var(--accent);
  3257. }
  3258. ​
  3259. .site-language-caret {
  3260. color: var(--muted);
  3261. transition: transform .2s;
  3262. }
  3263. ​
  3264. .site-language-switcher[open] .site-language-caret {
  3265. transform: rotate(180deg);
  3266. }
  3267. ​
  3268. .site-language-menu {
  3269. position: absolute;
  3270. right: 0;
  3271. bottom: calc(100% + 6px);
  3272. z-index: 50;
  3273. min-width: 100%;
  3274. margin: 0;
  3275. padding: 4px;
  3276. list-style: none;
  3277. border: 1px solid var(--border-strong);
  3278. border-radius: 12px;
  3279. background: var(--panel-raised, var(--panel));
  3280. box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  3281. }
  3282. ​
  3283. .site-language-menu a {
  3284. display: block;
  3285. padding: 8px 12px;
  3286. border-radius: 8px;
  3287. color: var(--text);
  3288. font-size: 13px;
  3289. font-weight: 500;
  3290. text-decoration: none;
  3291. white-space: nowrap;
  3292. }
  3293. ​
  3294. .site-language-menu a:hover,
  3295. .site-language-menu a:focus-visible {
  3296. background: color-mix(in srgb, var(--accent) 12%, transparent);
  3297. outline: none;
  3298. }
  3299. ​
  3300. .site-language-menu a.is-current {
  3301. color: var(--accent);
  3302. font-weight: 700;
  3303. }
  3304. ​