WebOrbiton
v1.0.0.3

StocketBase

3,412 lines · 58.4 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. .home-content-block {
  1961. max-width: 760px;
  1962. margin: 0 0 36px;
  1963. }
  1964. ​
  1965. .home-content-block > :first-child {
  1966. margin-top: 0;
  1967. }
  1968. ​
  1969. .home-content-block > :last-child {
  1970. margin-bottom: 0;
  1971. }
  1972. ​
  1973. #pagination-container + .home-content-block,
  1974. #pagination-container + .hero-section,
  1975. #pagination-container + .section-heading-row {
  1976. margin-top: 40px;
  1977. }
  1978. ​
  1979. .article-content h2 {
  1980. font-size: 27px;
  1981. margin-top: 40px;
  1982. font-weight: 800;
  1983. }
  1984. ​
  1985. .article-content h3 {
  1986. font-size: 21px;
  1987. margin-top: 28px;
  1988. font-weight: 700;
  1989. }
  1990. ​
  1991. .article-content blockquote {
  1992. border-left: 3px solid var(--accent);
  1993. margin: 24px 0;
  1994. padding: 6px 22px;
  1995. color: var(--muted);
  1996. font-style: italic;
  1997. }
  1998. ​
  1999. .article-content ul:not(.checklist),
  2000. .article-content ol {
  2001. margin: 0 0 1.2em;
  2002. padding-left: 1.5em;
  2003. }
  2004. ​
  2005. .article-content li {
  2006. margin: .35em 0;
  2007. padding-left: .2em;
  2008. }
  2009. ​
  2010. .article-content li > ul,
  2011. .article-content li > ol {
  2012. margin: .35em 0 0;
  2013. }
  2014. ​
  2015. .article-content li::marker {
  2016. color: var(--accent);
  2017. }
  2018. ​
  2019. .article-content ol > li::marker {
  2020. font-weight: 700;
  2021. font-variant-numeric: tabular-nums;
  2022. }
  2023. ​
  2024. .article-content img {
  2025. max-width: 100%;
  2026. border-radius: 12px;
  2027. }
  2028. ​
  2029. .article-content pre {
  2030. background: var(--panel);
  2031. border: 1px solid var(--border);
  2032. border-radius: 12px;
  2033. padding: 18px;
  2034. overflow-x: auto;
  2035. }
  2036. ​
  2037. .article-content table {
  2038. width: 100%;
  2039. border-collapse: collapse;
  2040. margin: 20px 0;
  2041. }
  2042. ​
  2043. .article-content table td {
  2044. border: 1px solid var(--border);
  2045. padding: 10px;
  2046. }
  2047. ​
  2048. .callout {
  2049. padding: 16px 18px;
  2050. border-radius: 12px;
  2051. margin: 20px 0;
  2052. }
  2053. ​
  2054. .callout-info {
  2055. background: rgba(79, 178, 232, 0.12);
  2056. color: #2a95c9;
  2057. }
  2058. ​
  2059. .callout-warning {
  2060. background: rgba(234, 178, 61, 0.14);
  2061. color: #b5811d;
  2062. }
  2063. ​
  2064. .callout-success {
  2065. background: rgba(52, 196, 140, 0.12);
  2066. color: #22936a;
  2067. }
  2068. ​
  2069. .callout-danger {
  2070. background: rgba(240, 84, 106, 0.12);
  2071. color: #d63a52;
  2072. }
  2073. ​
  2074. body[data-theme="dark"] .callout-info {
  2075. color: #4fb2e8;
  2076. }
  2077. ​
  2078. body[data-theme="dark"] .callout-warning {
  2079. color: #eab23d;
  2080. }
  2081. ​
  2082. body[data-theme="dark"] .callout-success {
  2083. color: #34c48c;
  2084. }
  2085. ​
  2086. body[data-theme="dark"] .callout-danger {
  2087. color: #f0546a;
  2088. }
  2089. ​
  2090. .embed-wrapper {
  2091. position: relative;
  2092. padding-bottom: 56.25%;
  2093. height: 0;
  2094. margin: 24px 0;
  2095. }
  2096. ​
  2097. .embed-wrapper iframe {
  2098. position: absolute;
  2099. top: 0;
  2100. left: 0;
  2101. width: 100%;
  2102. height: 100%;
  2103. border: none;
  2104. border-radius: 12px;
  2105. }
  2106. ​
  2107. .article-excerpt-locked {
  2108. font-size: 18px;
  2109. color: var(--muted);
  2110. }
  2111. ​
  2112. .paid-overlay {
  2113. border: 1px solid var(--border);
  2114. background: var(--panel);
  2115. border-radius: 20px;
  2116. padding: 40px;
  2117. text-align: center;
  2118. margin-top: 16px;
  2119. box-shadow: var(--shadow-card);
  2120. }
  2121. ​
  2122. .paid-overlay-box p {
  2123. color: var(--muted);
  2124. }
  2125. ​
  2126. .unlock-btn {
  2127. display: inline-block;
  2128. margin-top: 14px;
  2129. padding: 12px 28px;
  2130. background: var(--accent);
  2131. color: #fff;
  2132. text-decoration: none;
  2133. border-radius: 999px;
  2134. font-size: 14.5px;
  2135. font-weight: 700;
  2136. transition: background .12s;
  2137. }
  2138. ​
  2139. .unlock-btn:hover {
  2140. background: var(--accent-hover);
  2141. }
  2142. ​
  2143. .unlock-btn-outline {
  2144. background: transparent;
  2145. border: 1.5px solid var(--accent);
  2146. color: var(--accent);
  2147. }
  2148. ​
  2149. .unlock-btn-outline:hover {
  2150. background: var(--accent-soft);
  2151. color: var(--accent);
  2152. }
  2153. ​
  2154. .subscription-divider {
  2155. color: var(--muted-dim);
  2156. font-size: 12px;
  2157. text-transform: uppercase;
  2158. letter-spacing: .08em;
  2159. margin: 24px 0 16px;
  2160. font-weight: 700;
  2161. }
  2162. ​
  2163. .subscription-offer {
  2164. border-top: 1px solid var(--border);
  2165. padding-top: 20px;
  2166. }
  2167. ​
  2168. .subscription-offer-name {
  2169. font-size: 18px;
  2170. font-weight: 800;
  2171. }
  2172. ​
  2173. .subscription-offer-price {
  2174. font-size: 15px;
  2175. color: var(--muted);
  2176. margin-top: 4px;
  2177. font-weight: 600;
  2178. }
  2179. ​
  2180. .subscription-offer-description {
  2181. color: var(--muted);
  2182. font-size: 14px;
  2183. margin: 10px 0 0;
  2184. }
  2185. ​
  2186. .related-section {
  2187. margin: 56px auto 0;
  2188. }
  2189. ​
  2190. .related-section h2 {
  2191. font-size: 13px;
  2192. text-transform: uppercase;
  2193. letter-spacing: .07em;
  2194. color: var(--muted);
  2195. margin: 32px 0 18px;
  2196. font-weight: 700;
  2197. }
  2198. ​
  2199. .comments-section {
  2200. max-width: 740px;
  2201. margin: 56px auto 0;
  2202. }
  2203. ​
  2204. .comments-placeholder {
  2205. color: var(--muted);
  2206. font-size: 14px;
  2207. }
  2208. ​
  2209. .ad-slot {
  2210. max-width: 100%;
  2211. margin: 24px 0;
  2212. overflow-x: auto;
  2213. text-align: center;
  2214. }
  2215. ​
  2216. .ad-slot:has(> template.consent-gated:only-child) {
  2217. display: none;
  2218. }
  2219. ​
  2220. .ad-slot.ad-image img {
  2221. max-width: 100%;
  2222. border-radius: 14px;
  2223. }
  2224. ​
  2225. .ad-slot.ad-script iframe,
  2226. .ad-slot.ad-script embed,
  2227. .ad-slot.ad-script object,
  2228. .ad-slot.ad-script > div,
  2229. .ad-slot.ad-script ins {
  2230. max-width: 100%;
  2231. }
  2232. ​
  2233. .site-footer {
  2234. border-top: 1px solid var(--border);
  2235. padding: 44px 40px 24px;
  2236. }
  2237. ​
  2238. .site-footer-columns {
  2239. display: grid;
  2240. grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  2241. gap: 32px;
  2242. max-width: 1180px;
  2243. margin: 0 auto 32px;
  2244. }
  2245. ​
  2246. .site-footer-column-title {
  2247. font-size: 12px;
  2248. text-transform: uppercase;
  2249. letter-spacing: .06em;
  2250. color: var(--muted);
  2251. font-weight: 700;
  2252. margin: 0 0 14px;
  2253. }
  2254. ​
  2255. .site-footer-column-links {
  2256. display: flex;
  2257. flex-direction: column;
  2258. gap: 10px;
  2259. }
  2260. ​
  2261. .site-footer-column-links a {
  2262. text-decoration: none;
  2263. color: var(--text);
  2264. font-size: 13.5px;
  2265. font-weight: 500;
  2266. }
  2267. ​
  2268. .site-footer-column-links a:hover {
  2269. color: var(--accent);
  2270. }
  2271. ​
  2272. .site-footer-bottom {
  2273. max-width: 1180px;
  2274. margin: 0 auto;
  2275. border-top: 1px solid var(--border);
  2276. padding-top: 20px;
  2277. }
  2278. ​
  2279. .site-footer-row {
  2280. display: flex;
  2281. justify-content: space-between;
  2282. align-items: center;
  2283. flex-wrap: wrap;
  2284. gap: 12px;
  2285. font-size: 13px;
  2286. color: var(--muted);
  2287. }
  2288. ​
  2289. .site-footer-links {
  2290. display: flex;
  2291. align-items: center;
  2292. gap: 20px;
  2293. }
  2294. ​
  2295. .site-footer-links .site-search-form {
  2296. padding: 4px 10px;
  2297. }
  2298. ​
  2299. .site-footer-links .site-search-input {
  2300. width: 110px;
  2301. }
  2302. ​
  2303. .site-footer-links a {
  2304. text-decoration: none;
  2305. color: var(--muted);
  2306. font-weight: 500;
  2307. }
  2308. ​
  2309. .site-footer-links a:hover {
  2310. color: var(--text);
  2311. }
  2312. ​
  2313. .site-footer-social {
  2314. display: flex;
  2315. align-items: center;
  2316. gap: 10px;
  2317. }
  2318. ​
  2319. .site-footer-social a {
  2320. display: flex;
  2321. align-items: center;
  2322. justify-content: center;
  2323. width: 34px;
  2324. height: 34px;
  2325. border-radius: 999px;
  2326. background: var(--panel-raised);
  2327. border: 1px solid var(--border);
  2328. color: var(--muted);
  2329. transition: background .12s, color .12s, border-color .12s;
  2330. }
  2331. ​
  2332. .site-footer-social a:hover {
  2333. color: var(--text);
  2334. border-color: var(--border-strong);
  2335. background: var(--accent-soft);
  2336. }
  2337. ​
  2338. .site-footer-social a svg {
  2339. width: 16px;
  2340. height: 16px;
  2341. fill: currentColor;
  2342. }
  2343. ​
  2344. #consent-reopen-btn,
  2345. #theme-toggle-btn {
  2346. background: var(--panel-raised);
  2347. border: 1px solid var(--border);
  2348. border-radius: 999px;
  2349. width: 34px;
  2350. height: 34px;
  2351. display: flex;
  2352. align-items: center;
  2353. justify-content: center;
  2354. cursor: pointer;
  2355. color: var(--muted);
  2356. transition: background .12s, color .12s;
  2357. }
  2358. ​
  2359. #consent-reopen-btn:hover,
  2360. #theme-toggle-btn:hover {
  2361. color: var(--text);
  2362. }
  2363. ​
  2364. body[data-theme="light"] .icon-moon {
  2365. display: none;
  2366. }
  2367. ​
  2368. body[data-theme="dark"] .icon-sun {
  2369. display: none;
  2370. }
  2371. ​
  2372. .consent-banner {
  2373. position: fixed;
  2374. bottom: 20px;
  2375. left: 20px;
  2376. right: 20px;
  2377. max-width: 440px;
  2378. background: var(--panel);
  2379. border: 1px solid var(--border);
  2380. border-radius: 18px;
  2381. padding: 20px 22px;
  2382. z-index: 1000;
  2383. box-shadow: var(--shadow-card-hover);
  2384. }
  2385. ​
  2386. .consent-banner p {
  2387. margin: 0 0 14px;
  2388. font-size: 13.5px;
  2389. color: var(--muted);
  2390. line-height: 1.5;
  2391. }
  2392. ​
  2393. .consent-banner-actions {
  2394. display: flex;
  2395. gap: 8px;
  2396. }
  2397. ​
  2398. .consent-banner-actions button {
  2399. padding: 9px 18px;
  2400. border-radius: 999px;
  2401. border: 1px solid var(--border);
  2402. background: var(--bg);
  2403. color: var(--text);
  2404. cursor: pointer;
  2405. font-size: 13px;
  2406. font-weight: 600;
  2407. font-family: inherit;
  2408. }
  2409. ​
  2410. #consent-accept,
  2411. #consent-save {
  2412. background: var(--accent);
  2413. border-color: var(--accent);
  2414. color: #fff;
  2415. }
  2416. ​
  2417. .consent-banner[hidden],
  2418. .consent-options[hidden],
  2419. .consent-banner-actions button[hidden] {
  2420. display: none;
  2421. }
  2422. ​
  2423. .consent-options {
  2424. display: flex;
  2425. flex-direction: column;
  2426. gap: 14px;
  2427. margin: 0 0 18px;
  2428. max-height: 55vh;
  2429. overflow-y: auto;
  2430. }
  2431. ​
  2432. .consent-option {
  2433. display: flex;
  2434. align-items: flex-start;
  2435. gap: 12px;
  2436. cursor: pointer;
  2437. }
  2438. ​
  2439. .consent-option input {
  2440. margin: 3px 0 0;
  2441. flex-shrink: 0;
  2442. accent-color: var(--accent);
  2443. }
  2444. ​
  2445. .consent-option span {
  2446. display: flex;
  2447. flex-direction: column;
  2448. gap: 2px;
  2449. min-width: 0;
  2450. }
  2451. ​
  2452. .consent-option strong {
  2453. font-size: 14px;
  2454. font-weight: 700;
  2455. color: var(--text);
  2456. }
  2457. ​
  2458. .consent-option small {
  2459. font-size: 12.5px;
  2460. color: var(--muted);
  2461. line-height: 1.45;
  2462. }
  2463. ​
  2464. .consent-option-locked {
  2465. cursor: default;
  2466. }
  2467. ​
  2468. .consent-option-locked input {
  2469. opacity: .55;
  2470. }
  2471. ​
  2472. .consent-banner-actions {
  2473. flex-wrap: wrap;
  2474. }
  2475. ​
  2476. @media (max-width: 860px) {
  2477. .featured-banner {
  2478. grid-template-columns: 1fr 1fr;
  2479. grid-template-rows: 260px repeat(2, 150px);
  2480. }
  2481. ​
  2482. .featured-banner-item-large {
  2483. grid-column: span 2;
  2484. grid-row: auto;
  2485. }
  2486. ​
  2487. .featured-banner-item-small:nth-child(2),
  2488. .featured-banner-item-small:nth-child(3),
  2489. .featured-banner-item-small:nth-child(4),
  2490. .featured-banner-item-small:nth-child(5) {
  2491. grid-column: auto;
  2492. }
  2493. ​
  2494. .featured-banner-item-large .featured-banner-title {
  2495. font-size: 22px;
  2496. }
  2497. ​
  2498. .site-menu-toggle {
  2499. display: flex;
  2500. }
  2501. ​
  2502. .site-footer-columns {
  2503. grid-template-columns: repeat(2, 1fr);
  2504. gap: 24px 20px;
  2505. }
  2506. ​
  2507. .site-auth-links.site-auth-links-desktop {
  2508. display: none;
  2509. }
  2510. ​
  2511. .site-auth-links.site-auth-links-mobile {
  2512. display: flex;
  2513. flex-direction: column;
  2514. align-items: stretch;
  2515. gap: 10px;
  2516. margin: 10px 10px 0;
  2517. padding-top: 16px;
  2518. border-top: 1px solid var(--border);
  2519. }
  2520. ​
  2521. .site-auth-links-mobile a {
  2522. border: 1.5px solid var(--border);
  2523. border-radius: 999px;
  2524. padding: 11px 26px;
  2525. text-align: center;
  2526. font-size: 14px;
  2527. }
  2528. ​
  2529. .site-auth-links-mobile a:hover {
  2530. border-color: var(--border-strong);
  2531. }
  2532. ​
  2533. .site-auth-links-mobile a.site-auth-cta {
  2534. border-color: var(--accent);
  2535. }
  2536. ​
  2537. .site-auth-links-mobile a.site-auth-cta:hover {
  2538. border-color: var(--accent-hover);
  2539. }
  2540. ​
  2541. .site-cart-link-header {
  2542. display: flex !important;
  2543. width: 38px !important;
  2544. height: 38px !important;
  2545. padding: 0 !important;
  2546. border-radius: 999px;
  2547. border: 1px solid var(--border);
  2548. background: var(--panel-raised);
  2549. color: var(--text);
  2550. flex-shrink: 0;
  2551. margin-left: auto;
  2552. }
  2553. ​
  2554. .site-cart-link-header:hover {
  2555. border-color: var(--border-strong);
  2556. }
  2557. ​
  2558. .site-cart-link-header .icon,
  2559. .site-cart-link-header .shop-icon-custom svg {
  2560. width: 20px;
  2561. height: 20px;
  2562. }
  2563. ​
  2564. .site-cart-link-header .site-cart-count {
  2565. top: -2px;
  2566. right: -2px;
  2567. }
  2568. ​
  2569. .site-nav {
  2570. display: none;
  2571. flex-direction: column;
  2572. flex-wrap: nowrap;
  2573. align-items: stretch;
  2574. gap: 4px;
  2575. position: fixed;
  2576. top: 0;
  2577. right: 0;
  2578. bottom: 0;
  2579. height: 100vh;
  2580. height: 100dvh;
  2581. width: min(300px, 84vw);
  2582. max-width: 100vw;
  2583. ​
  2584. padding: 76px 22px 24px;
  2585. background: var(--panel);
  2586. border-left: 1px solid var(--border);
  2587. box-shadow: var(--shadow-card-hover);
  2588. z-index: 200;
  2589. overflow-x: hidden;
  2590. overflow-y: auto;
  2591. -webkit-overflow-scrolling: touch;
  2592. overscroll-behavior: contain;
  2593. touch-action: pan-y;
  2594. box-sizing: border-box;
  2595. }
  2596. ​
  2597. .site-nav.is-open {
  2598. display: flex;
  2599. }
  2600. ​
  2601. .site-nav > * {
  2602. flex-shrink: 0;
  2603. }
  2604. ​
  2605. .site-nav a {
  2606. padding: 10px 4px;
  2607. border-bottom: 1px solid var(--border);
  2608. }
  2609. ​
  2610. .site-nav .site-search-form {
  2611. width: 100%;
  2612. margin: 6px 0;
  2613. }
  2614. ​
  2615. .site-nav .site-search-input {
  2616. width: 100%;
  2617. }
  2618. ​
  2619. .site-nav-backdrop.is-open {
  2620. display: block;
  2621. position: fixed;
  2622. inset: 0;
  2623. background: rgba(0, 0, 0, 0.45);
  2624. z-index: 40;
  2625. }
  2626. ​
  2627. .site-header:has(.site-nav.is-open),
  2628. .site-header.site-nav-drawer-open,
  2629. body:not(.site-menu-side) .site-header:has(.site-nav.is-open),
  2630. body:not(.site-menu-side) .site-header.site-nav-drawer-open {
  2631. backdrop-filter: none !important;
  2632. -webkit-backdrop-filter: none !important;
  2633. transform: none !important;
  2634. filter: none !important;
  2635. }
  2636. ​
  2637. body.site-menu-top .site-header,
  2638. body.site-menu-bottom .site-header {
  2639. padding: 14px 20px;
  2640. flex-wrap: nowrap;
  2641. }
  2642. ​
  2643. .site-header-row {
  2644. width: 100%;
  2645. justify-content: space-between;
  2646. }
  2647. ​
  2648. .site-brand {
  2649. min-width: 0;
  2650. overflow: hidden;
  2651. text-overflow: ellipsis;
  2652. white-space: nowrap;
  2653. }
  2654. ​
  2655. body.site-menu-side .site-shell {
  2656. flex-direction: column;
  2657. }
  2658. ​
  2659. body.site-menu-side .site-header {
  2660. flex-direction: row;
  2661. align-items: center;
  2662. width: 100%;
  2663. height: auto;
  2664. position: sticky;
  2665. top: 0;
  2666. border-right: none;
  2667. border-bottom: 1px solid var(--border);
  2668. padding: 14px 20px;
  2669. background: color-mix(in srgb, var(--bg) 88%, transparent);
  2670. backdrop-filter: blur(10px);
  2671. -webkit-backdrop-filter: blur(10px);
  2672. z-index: 100;
  2673. }
  2674. ​
  2675. body.site-menu-side .site-nav {
  2676. flex-direction: column;
  2677. flex-wrap: nowrap;
  2678. }
  2679. ​
  2680. body.site-menu-side .site-main {
  2681. flex: 1;
  2682. width: 100%;
  2683. }
  2684. ​
  2685. .site-main {
  2686. padding: 24px 18px;
  2687. }
  2688. ​
  2689. .site-footer {
  2690. padding: 32px 20px 20px;
  2691. }
  2692. ​
  2693. .site-footer-row {
  2694. flex-direction: column;
  2695. align-items: center;
  2696. text-align: center;
  2697. }
  2698. ​
  2699. .site-footer-links {
  2700. justify-content: center;
  2701. flex-wrap: wrap;
  2702. gap: 12px;
  2703. }
  2704. ​
  2705. .consent-banner {
  2706. left: 12px;
  2707. right: 12px;
  2708. bottom: 12px;
  2709. max-width: none;
  2710. }
  2711. }
  2712. ​
  2713. body[data-theme="light"] {
  2714. --tok-comment: #7a8194;
  2715. --tok-string: #0a7d4f;
  2716. --tok-keyword: #6c3fd1;
  2717. --tok-number: #b45309;
  2718. --tok-function: #1f6feb;
  2719. --tok-tag: #c2255c;
  2720. --tok-attr: #b45309;
  2721. --tok-variable: #0e7490;
  2722. --tok-literal: #c2255c;
  2723. }
  2724. ​
  2725. body[data-theme="dark"] {
  2726. --tok-comment: #7f8798;
  2727. --tok-string: #7ee2a8;
  2728. --tok-keyword: #c4a7ff;
  2729. --tok-number: #f5b971;
  2730. --tok-function: #79b8ff;
  2731. --tok-tag: #ff8fa8;
  2732. --tok-attr: #f5b971;
  2733. --tok-variable: #67d4e8;
  2734. --tok-literal: #ff8fa8;
  2735. }
  2736. ​
  2737. .code-block {
  2738. position: relative;
  2739. margin: 20px 0;
  2740. }
  2741. ​
  2742. .code-block pre {
  2743. margin: 0;
  2744. }
  2745. ​
  2746. .code-copy {
  2747. position: absolute;
  2748. top: 10px;
  2749. right: 10px;
  2750. z-index: 1;
  2751. padding: 4px 10px;
  2752. border: 1px solid var(--border);
  2753. border-radius: 8px;
  2754. background: var(--panel);
  2755. color: var(--muted);
  2756. font: inherit;
  2757. font-size: 12px;
  2758. font-weight: 600;
  2759. cursor: pointer;
  2760. opacity: 0;
  2761. transition: opacity .15s, color .15s, border-color .15s;
  2762. }
  2763. ​
  2764. .code-block:hover .code-copy,
  2765. .code-copy:focus-visible,
  2766. .code-copy.is-copied {
  2767. opacity: 1;
  2768. }
  2769. ​
  2770. .code-copy:hover {
  2771. color: var(--text);
  2772. border-color: var(--border-strong);
  2773. }
  2774. ​
  2775. .code-copy.is-copied {
  2776. color: var(--accent);
  2777. border-color: var(--accent);
  2778. }
  2779. ​
  2780. @media (hover: none) {
  2781. .code-copy {
  2782. opacity: 1;
  2783. }
  2784. }
  2785. ​
  2786. .tok-comment {
  2787. color: var(--tok-comment);
  2788. font-style: italic;
  2789. }
  2790. ​
  2791. .tok-string {
  2792. color: var(--tok-string);
  2793. }
  2794. ​
  2795. .tok-keyword {
  2796. color: var(--tok-keyword);
  2797. }
  2798. ​
  2799. .tok-number {
  2800. color: var(--tok-number);
  2801. }
  2802. ​
  2803. .tok-function {
  2804. color: var(--tok-function);
  2805. }
  2806. ​
  2807. .tok-tag {
  2808. color: var(--tok-tag);
  2809. }
  2810. ​
  2811. .tok-attr {
  2812. color: var(--tok-attr);
  2813. }
  2814. ​
  2815. .tok-variable {
  2816. color: var(--tok-variable);
  2817. }
  2818. ​
  2819. .tok-literal {
  2820. color: var(--tok-literal);
  2821. }
  2822. ​
  2823. .back-to-top {
  2824. position: fixed;
  2825. right: 20px;
  2826. bottom: 20px;
  2827. z-index: 900;
  2828. display: inline-flex;
  2829. align-items: center;
  2830. justify-content: center;
  2831. gap: 8px;
  2832. height: 44px;
  2833. min-width: 44px;
  2834. padding: 0 13px;
  2835. border-radius: 999px;
  2836. border: 1px solid var(--border);
  2837. background-color: var(--panel-raised);
  2838. color: var(--text);
  2839. font-family: inherit;
  2840. font-size: 13px;
  2841. font-weight: 600;
  2842. cursor: pointer;
  2843. box-shadow: var(--shadow-card-hover);
  2844. opacity: 0;
  2845. visibility: hidden;
  2846. transform: translateY(12px);
  2847. transition: opacity .2s ease, transform .2s ease, visibility .2s ease, background-color .15s ease, color .15s ease;
  2848. }
  2849. ​
  2850. .back-to-top.is-visible {
  2851. opacity: 1;
  2852. visibility: visible;
  2853. transform: none;
  2854. }
  2855. ​
  2856. .back-to-top:hover {
  2857. background-color: var(--accent);
  2858. border-color: var(--accent);
  2859. color: #fff;
  2860. }
  2861. ​
  2862. .back-to-top.has-progress {
  2863. background-image: linear-gradient(90deg, var(--accent-soft) var(--btt-read, 0%), transparent var(--btt-read, 0%));
  2864. }
  2865. ​
  2866. .back-to-top svg {
  2867. width: 18px;
  2868. height: 18px;
  2869. flex-shrink: 0;
  2870. }
  2871. ​
  2872. .back-to-top-progress {
  2873. font-variant-numeric: tabular-nums;
  2874. white-space: nowrap;
  2875. }
  2876. ​
  2877. .back-to-top-progress[hidden] {
  2878. display: none;
  2879. }
  2880. ​
  2881. .article-toc {
  2882. margin: 0 0 28px;
  2883. padding: 16px 20px;
  2884. border: 1px solid var(--border);
  2885. border-radius: 14px;
  2886. background: var(--panel-raised);
  2887. }
  2888. ​
  2889. .article-toc summary {
  2890. cursor: pointer;
  2891. font-size: 15px;
  2892. font-weight: 700;
  2893. color: var(--text);
  2894. }
  2895. ​
  2896. .article-toc-list {
  2897. list-style: none;
  2898. display: grid;
  2899. gap: 6px;
  2900. margin: 12px 0 0;
  2901. padding: 0;
  2902. }
  2903. ​
  2904. .article-toc-item a {
  2905. color: var(--muted);
  2906. font-size: 15px;
  2907. line-height: 1.4;
  2908. text-decoration: none;
  2909. }
  2910. ​
  2911. .article-toc-item a:hover {
  2912. color: var(--accent);
  2913. }
  2914. ​
  2915. .article-toc-level-3 {
  2916. padding-left: 18px;
  2917. }
  2918. ​
  2919. .article-content h2[id],
  2920. .article-content h3[id] {
  2921. scroll-margin-top: 90px;
  2922. }
  2923. ​
  2924. @media (prefers-reduced-motion: no-preference) {
  2925. html {
  2926. scroll-behavior: smooth;
  2927. }
  2928. }
  2929. ​
  2930. @media (max-width: 600px) {
  2931. .back-to-top {
  2932. right: 14px;
  2933. bottom: 14px;
  2934. }
  2935. }
  2936. ​
  2937. .article-breadcrumbs {
  2938. margin-bottom: 14px;
  2939. font-size: 13px;
  2940. }
  2941. ​
  2942. .article-breadcrumbs ol {
  2943. display: flex;
  2944. flex-wrap: wrap;
  2945. align-items: center;
  2946. gap: 6px;
  2947. list-style: none;
  2948. margin: 0;
  2949. padding: 0;
  2950. color: var(--muted);
  2951. }
  2952. ​
  2953. .article-breadcrumbs li {
  2954. display: inline-flex;
  2955. align-items: center;
  2956. gap: 6px;
  2957. min-width: 0;
  2958. }
  2959. ​
  2960. .article-breadcrumbs li + li::before {
  2961. content: "\203A";
  2962. color: var(--muted);
  2963. opacity: 0.7;
  2964. }
  2965. ​
  2966. .article-breadcrumbs a {
  2967. color: var(--muted);
  2968. text-decoration: none;
  2969. }
  2970. ​
  2971. .article-breadcrumbs a:hover {
  2972. color: var(--accent);
  2973. }
  2974. ​
  2975. .article-breadcrumbs li[aria-current="page"] span {
  2976. display: block;
  2977. max-width: 260px;
  2978. overflow: hidden;
  2979. text-overflow: ellipsis;
  2980. white-space: nowrap;
  2981. color: var(--text);
  2982. }
  2983. ​
  2984. .author-box {
  2985. display: flex;
  2986. align-items: center;
  2987. gap: 16px;
  2988. margin-top: 40px;
  2989. padding: 18px 20px;
  2990. border: 1px solid var(--border);
  2991. border-radius: 16px;
  2992. background: var(--panel-raised);
  2993. }
  2994. ​
  2995. .author-box-avatar {
  2996. display: flex;
  2997. align-items: center;
  2998. justify-content: center;
  2999. flex-shrink: 0;
  3000. width: 52px;
  3001. height: 52px;
  3002. border-radius: 50%;
  3003. background: var(--accent-soft);
  3004. color: var(--accent);
  3005. font-size: 20px;
  3006. font-weight: 800;
  3007. }
  3008. ​
  3009. .author-box-label {
  3010. font-size: 12px;
  3011. color: var(--muted);
  3012. text-transform: uppercase;
  3013. letter-spacing: 0.04em;
  3014. }
  3015. ​
  3016. .author-box-name {
  3017. font-size: 17px;
  3018. font-weight: 700;
  3019. color: var(--text);
  3020. }
  3021. ​
  3022. .author-box-meta {
  3023. font-size: 13px;
  3024. color: var(--muted);
  3025. }
  3026. ​
  3027. .author-box-avatar.has-image {
  3028. overflow: hidden;
  3029. background: transparent;
  3030. }
  3031. ​
  3032. .author-box-avatar.has-image img {
  3033. display: block;
  3034. width: 100%;
  3035. height: 100%;
  3036. object-fit: cover;
  3037. }
  3038. ​
  3039. .author-box-name a {
  3040. color: inherit;
  3041. text-decoration: none;
  3042. }
  3043. ​
  3044. .author-box-name a:hover {
  3045. color: var(--accent);
  3046. }
  3047. ​
  3048. .author-box-headline {
  3049. font-size: 13px;
  3050. color: var(--muted);
  3051. }
  3052. ​
  3053. .artist-header {
  3054. display: flex;
  3055. align-items: center;
  3056. gap: 22px;
  3057. margin-bottom: 24px;
  3058. }
  3059. ​
  3060. .artist-avatar {
  3061. display: flex;
  3062. align-items: center;
  3063. justify-content: center;
  3064. flex-shrink: 0;
  3065. width: 96px;
  3066. height: 96px;
  3067. border-radius: 50%;
  3068. background: var(--accent-soft);
  3069. color: var(--accent);
  3070. font-size: 38px;
  3071. font-weight: 800;
  3072. }
  3073. ​
  3074. .artist-avatar.has-image {
  3075. overflow: hidden;
  3076. background: transparent;
  3077. }
  3078. ​
  3079. .artist-avatar.has-image img {
  3080. display: block;
  3081. width: 100%;
  3082. height: 100%;
  3083. object-fit: cover;
  3084. }
  3085. ​
  3086. .artist-name {
  3087. margin: 0;
  3088. font-size: 32px;
  3089. line-height: 1.2;
  3090. }
  3091. ​
  3092. .artist-headline {
  3093. margin: 4px 0 0;
  3094. font-size: 17px;
  3095. color: var(--muted);
  3096. }
  3097. ​
  3098. .artist-meta {
  3099. margin: 8px 0 0;
  3100. font-size: 14px;
  3101. color: var(--muted);
  3102. }
  3103. ​
  3104. .artist-meta a {
  3105. color: var(--accent);
  3106. text-decoration: none;
  3107. }
  3108. ​
  3109. .artist-bio {
  3110. max-width: 720px;
  3111. margin-bottom: 32px;
  3112. font-size: 17px;
  3113. line-height: 1.75;
  3114. overflow-wrap: anywhere;
  3115. }
  3116. ​
  3117. @media (max-width: 600px) {
  3118. .artist-header {
  3119. flex-direction: column;
  3120. align-items: flex-start;
  3121. }
  3122. }
  3123. ​
  3124. .article-tags {
  3125. display: flex;
  3126. flex-wrap: wrap;
  3127. align-items: center;
  3128. gap: 8px;
  3129. margin-top: 32px;
  3130. }
  3131. ​
  3132. .article-tags-label {
  3133. font-size: 14px;
  3134. color: var(--muted);
  3135. }
  3136. ​
  3137. .article-tag {
  3138. padding: 4px 12px;
  3139. border: 1px solid var(--border);
  3140. border-radius: 999px;
  3141. background: var(--panel-raised);
  3142. color: var(--text);
  3143. font-size: 13px;
  3144. text-decoration: none;
  3145. transition: border-color 0.15s ease, color 0.15s ease;
  3146. }
  3147. ​
  3148. .article-tag:hover {
  3149. border-color: var(--accent);
  3150. color: var(--accent);
  3151. }
  3152. ​
  3153. .read-aloud {
  3154. display: flex;
  3155. align-items: center;
  3156. gap: 14px;
  3157. margin: 0 0 24px;
  3158. padding: 14px 16px;
  3159. border: 1px solid var(--border);
  3160. border-radius: 16px;
  3161. background: var(--panel);
  3162. box-shadow: var(--shadow-card);
  3163. }
  3164. ​
  3165. .read-aloud-toggle {
  3166. flex: 0 0 auto;
  3167. display: inline-flex;
  3168. align-items: center;
  3169. justify-content: center;
  3170. width: 46px;
  3171. height: 46px;
  3172. padding: 0;
  3173. border-radius: 50%;
  3174. border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
  3175. background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 22%, transparent), color-mix(in srgb, var(--accent) 10%, transparent));
  3176. color: var(--accent);
  3177. cursor: pointer;
  3178. transition: background-color .2s, border-color .2s, transform .15s;
  3179. }
  3180. ​
  3181. .read-aloud-toggle:hover {
  3182. border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  3183. background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 32%, transparent), color-mix(in srgb, var(--accent) 16%, transparent));
  3184. }
  3185. ​
  3186. .read-aloud-toggle:active {
  3187. transform: scale(.94);
  3188. }
  3189. ​
  3190. .read-aloud-toggle:focus-visible,
  3191. .read-aloud-speed:focus-visible,
  3192. .read-aloud-seek:focus-visible {
  3193. outline: 2px solid var(--accent);
  3194. outline-offset: 2px;
  3195. }
  3196. ​
  3197. .read-aloud-toggle svg {
  3198. width: 18px;
  3199. height: 18px;
  3200. }
  3201. ​
  3202. .read-aloud-icon-pause {
  3203. display: none;
  3204. }
  3205. ​
  3206. .read-aloud.is-playing .read-aloud-icon-play {
  3207. display: none;
  3208. }
  3209. ​
  3210. .read-aloud.is-playing .read-aloud-icon-pause {
  3211. display: block;
  3212. }
  3213. ​
  3214. .read-aloud-main {
  3215. flex: 1 1 auto;
  3216. min-width: 0;
  3217. }
  3218. ​
  3219. .read-aloud-title {
  3220. margin-bottom: 8px;
  3221. font-size: 13px;
  3222. font-weight: 600;
  3223. color: var(--text);
  3224. }
  3225. ​
  3226. .read-aloud-track {
  3227. display: flex;
  3228. align-items: center;
  3229. gap: 12px;
  3230. }
  3231. ​
  3232. .read-aloud-seek {
  3233. -webkit-appearance: none;
  3234. appearance: none;
  3235. flex: 1 1 auto;
  3236. min-width: 0;
  3237. height: 6px;
  3238. margin: 0;
  3239. padding: 0;
  3240. border-radius: 999px;
  3241. background: linear-gradient(to right, var(--accent) var(--read-aloud-progress, 0%), var(--border-strong) var(--read-aloud-progress, 0%));
  3242. cursor: pointer;
  3243. }
  3244. ​
  3245. .read-aloud-seek:disabled {
  3246. opacity: .6;
  3247. cursor: default;
  3248. }
  3249. ​
  3250. .read-aloud-seek::-webkit-slider-thumb {
  3251. -webkit-appearance: none;
  3252. appearance: none;
  3253. width: 14px;
  3254. height: 14px;
  3255. border-radius: 50%;
  3256. border: 2px solid var(--panel);
  3257. background: var(--accent);
  3258. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  3259. }
  3260. ​
  3261. .read-aloud-seek::-moz-range-thumb {
  3262. width: 12px;
  3263. height: 12px;
  3264. border-radius: 50%;
  3265. border: 2px solid var(--panel);
  3266. background: var(--accent);
  3267. }
  3268. ​
  3269. .read-aloud-time {
  3270. flex: 0 0 auto;
  3271. min-width: 78px;
  3272. text-align: right;
  3273. font-size: 12px;
  3274. color: var(--muted);
  3275. font-variant-numeric: tabular-nums;
  3276. white-space: nowrap;
  3277. }
  3278. ​
  3279. .read-aloud-speed {
  3280. flex: 0 0 auto;
  3281. min-width: 46px;
  3282. padding: 6px 10px;
  3283. border-radius: 999px;
  3284. border: 1px solid var(--border-strong);
  3285. background: transparent;
  3286. color: var(--muted);
  3287. font: inherit;
  3288. font-size: 12px;
  3289. font-weight: 600;
  3290. cursor: pointer;
  3291. transition: color .2s, border-color .2s;
  3292. }
  3293. ​
  3294. .read-aloud-speed:hover {
  3295. color: var(--text);
  3296. border-color: var(--muted-dim);
  3297. }
  3298. ​
  3299. .read-aloud.is-error {
  3300. opacity: .6;
  3301. }
  3302. ​
  3303. @media (max-width: 560px) {
  3304. .read-aloud {
  3305. gap: 10px;
  3306. padding: 12px;
  3307. }
  3308. ​
  3309. .read-aloud-toggle {
  3310. width: 42px;
  3311. height: 42px;
  3312. }
  3313. ​
  3314. .read-aloud-time {
  3315. min-width: 66px;
  3316. font-size: 11.5px;
  3317. }
  3318. }
  3319. ​
  3320. .paid-overlay-box .badge-paid {
  3321. margin: 0 0 22px;
  3322. }
  3323. ​
  3324. .paid-overlay-box .badge-paid + .subscription-offer {
  3325. border-top: 0;
  3326. padding-top: 0;
  3327. }
  3328. ​
  3329. .paid-overlay-box > :last-child {
  3330. margin-bottom: 0;
  3331. }
  3332. ​
  3333. .site-language-switcher {
  3334. position: relative;
  3335. display: inline-block;
  3336. }
  3337. ​
  3338. .site-language-switcher summary {
  3339. display: inline-flex;
  3340. align-items: center;
  3341. justify-content: space-between;
  3342. gap: 10px;
  3343. min-width: 128px;
  3344. padding: 8px 12px;
  3345. border: 1px solid var(--border-strong);
  3346. border-radius: 12px;
  3347. background: var(--panel);
  3348. color: var(--text);
  3349. font-size: 13px;
  3350. font-weight: 600;
  3351. line-height: 1.3;
  3352. cursor: pointer;
  3353. list-style: none;
  3354. user-select: none;
  3355. transition: border-color .2s, background-color .2s;
  3356. }
  3357. ​
  3358. .site-language-switcher summary::-webkit-details-marker {
  3359. display: none;
  3360. }
  3361. ​
  3362. .site-language-switcher summary:hover,
  3363. .site-language-switcher[open] summary {
  3364. border-color: var(--accent);
  3365. }
  3366. ​
  3367. .site-language-caret {
  3368. color: var(--muted);
  3369. transition: transform .2s;
  3370. }
  3371. ​
  3372. .site-language-switcher[open] .site-language-caret {
  3373. transform: rotate(180deg);
  3374. }
  3375. ​
  3376. .site-language-menu {
  3377. position: absolute;
  3378. right: 0;
  3379. bottom: calc(100% + 6px);
  3380. z-index: 50;
  3381. min-width: 100%;
  3382. margin: 0;
  3383. padding: 4px;
  3384. list-style: none;
  3385. border: 1px solid var(--border-strong);
  3386. border-radius: 12px;
  3387. background: var(--panel-raised, var(--panel));
  3388. box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  3389. }
  3390. ​
  3391. .site-language-menu a {
  3392. display: block;
  3393. padding: 8px 12px;
  3394. border-radius: 8px;
  3395. color: var(--text);
  3396. font-size: 13px;
  3397. font-weight: 500;
  3398. text-decoration: none;
  3399. white-space: nowrap;
  3400. }
  3401. ​
  3402. .site-language-menu a:hover,
  3403. .site-language-menu a:focus-visible {
  3404. background: color-mix(in srgb, var(--accent) 12%, transparent);
  3405. outline: none;
  3406. }
  3407. ​
  3408. .site-language-menu a.is-current {
  3409. color: var(--accent);
  3410. font-weight: 700;
  3411. }
  3412. ​