:root {
  --paper: #f5f1e8;
  --paper-2: #fffdf7;
  --ink: #151515;
  --muted: #6f6a61;
  --blue: #1947e5;
  --orange: #ff5c35;
  --line: #cfc8bb;
  --shadow: 5px 5px 0 #151515;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  transition: background 180ms ease, color 180ms ease;
}

.site-shell[data-theme="ink"] {
  --paper: #171717;
  --paper-2: #22221f;
  --ink: #f8f3e9;
  --muted: #aaa399;
  --line: #4c4a45;
  --shadow: 5px 5px 0 #f8f3e9;
}

.ticker {
  height: 30px;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 8vw, 120px);
  overflow: hidden;
  font-size: 11px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.ticker span::before {
  content: "✦";
  color: var(--orange);
  margin-right: 9px;
}

.topbar {
  height: 86px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: white;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 22px;
  font-weight: 900;
  transform: rotate(-3deg);
}

.brand b {
  display: block;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.12em;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font: 9px/1 Arial, sans-serif;
  letter-spacing: 0.2em;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 13px;
  font-weight: 700;
}

.topnav a,
.topnav button {
  position: relative;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 8px 0;
  cursor: pointer;
}

.topnav a::after,
.topnav button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 2px;
  background: var(--orange);
  transition: right 160ms ease;
}

.topnav a:hover::after,
.topnav button:hover::after,
.topnav button.active::after {
  right: 0;
}

.topnav sup {
  display: inline-grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  margin-left: 3px;
  border-radius: 10px;
  background: var(--orange);
  color: white;
  font-size: 9px;
}

.theme-toggle {
  justify-self: end;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-weight: 800;
}

main {
  max-width: 1440px;
  margin: 0 auto;
}

.hero {
  min-height: 600px;
  padding: 70px 48px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(380px, 0.65fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font: 700 12px/1 Arial, sans-serif;
  letter-spacing: 0.13em;
}

.eyebrow span {
  color: var(--blue);
  font-weight: 900;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(52px, 6.4vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 950;
}

.hero h1::after {
  content: "✦";
  display: inline-block;
  margin-left: 18px;
  color: var(--orange);
  font-size: 0.45em;
  transform: translateY(-0.7em) rotate(8deg);
}

.hero-intro {
  max-width: 650px;
  margin: 28px 0 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.search-wrap {
  max-width: 720px;
  min-height: 68px;
  display: grid;
  grid-template-columns: 50px 1fr 42px;
  align-items: center;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.search-wrap:focus-within {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--blue);
}

.search-icon {
  text-align: center;
  font-size: 27px;
  font-weight: 900;
}

.search-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
}

.search-wrap input::placeholder {
  color: #989188;
}

.search-wrap button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.search-wrap kbd {
  justify-self: center;
  min-width: 26px;
  padding: 4px 7px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font: 12px/1 Arial, sans-serif;
  text-align: center;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.quick-links span {
  margin-right: 4px;
  color: var(--muted);
  font-size: 12px;
}

.quick-links button {
  padding: 6px 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
}

.quick-links button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.hero-board {
  position: relative;
  min-height: 430px;
  padding: 28px 30px;
  overflow: hidden;
  background: var(--blue);
  color: white;
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--orange);
  transform: rotate(1.2deg);
}

.hero-board::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -36px;
  width: 140px;
  height: 140px;
  border: 30px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.board-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  font: 700 10px/1 Arial, sans-serif;
  letter-spacing: 0.16em;
}

.board-kicker {
  margin: 30px 0 10px;
  color: #fff0ae;
  font-size: 12px;
  font-weight: 800;
}

.hero-board h2 {
  margin: 0 0 26px;
  font-size: clamp(28px, 2.3vw, 38px);
  line-height: 1.22;
  letter-spacing: -0.04em;
}

.hero-board ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-board li {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
}

.hero-board li b {
  color: #b9c8ff;
  font: 700 11px/1 Arial, sans-serif;
}

.hero-board li strong {
  margin-right: 10px;
}

.hero-board > button {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 22px;
  padding: 13px 16px;
  display: flex;
  justify-content: space-between;
  border: 1px solid white;
  background: white;
  color: var(--blue);
  cursor: pointer;
  font-weight: 800;
}

.board-stamp {
  position: absolute;
  top: 72px;
  right: 24px;
  width: 57px;
  height: 57px;
  display: grid;
  place-items: center;
  border: 1px solid #fff0ae;
  border-radius: 50%;
  color: #fff0ae;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  transform: rotate(12deg);
}

.catalog {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.category-rail {
  padding: 38px 24px 48px 48px;
  border-right: 1px solid var(--line);
}

.category-rail > p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.category-rail > button {
  width: 100%;
  min-height: 44px;
  padding: 0 8px;
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 6px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  font-size: 13px;
}

.category-rail > button:hover,
.category-rail > button.active {
  color: var(--blue);
  font-weight: 800;
}

.category-rail > button.active .cat-mark {
  background: var(--blue);
  color: white;
}

.cat-mark {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-size: 13px;
}

.category-rail small {
  color: var(--muted);
  font: 10px/1 Arial, sans-serif;
}

.submit-box {
  margin-top: 30px;
  padding: 18px;
  border: 1px solid var(--ink);
  background: var(--paper-2);
}

.submit-box span,
.submit-box strong {
  display: block;
}

.submit-box span {
  color: var(--muted);
  font-size: 11px;
}

.submit-box strong {
  margin: 4px 0 15px;
  font-size: 16px;
}

.submit-box a {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}

.tools-panel {
  min-width: 0;
  padding: 38px 48px 60px 36px;
}

.panel-head {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 26px;
  scroll-margin-top: 20px;
}

.panel-head p {
  margin: 0 0 6px;
  color: var(--blue);
  font: 800 10px/1 Arial, sans-serif;
  letter-spacing: 0.15em;
}

.panel-head h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.platform-filter {
  display: flex;
  padding: 3px;
  border: 1px solid var(--ink);
  background: var(--paper-2);
}

.platform-filter button {
  min-width: 58px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.platform-filter button.active {
  background: var(--ink);
  color: var(--paper);
}

.result-count {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tool-card {
  position: relative;
  min-height: 232px;
  overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.tool-card.featured {
  grid-column: span 2;
}

.tool-card:hover {
  z-index: 1;
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.tool-card > a {
  min-height: 232px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.tool-card.featured > a {
  min-height: 232px;
}

.tool-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.tool-logo {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #171717;
  color: #171717;
  font: 900 16px/1 Arial, "Microsoft YaHei", sans-serif;
}

.tool-badges {
  padding-right: 28px;
  display: flex;
  gap: 5px;
}

.tool-badges span {
  padding: 4px 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.tag-热门 {
  border-color: var(--orange) !important;
  background: var(--orange);
  color: white !important;
}

.tag-新收录 {
  border-color: var(--blue) !important;
  color: var(--blue) !important;
}

.tag-免费 {
  border-color: #258b53 !important;
  color: #258b53 !important;
}

.tool-copy {
  margin-top: 22px;
}

.tool-copy p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.tool-copy h3 {
  margin: 0 0 8px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.tool-copy > span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.card-footer {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}

.card-footer b {
  color: var(--blue);
  font-size: 16px;
}

.favorite {
  position: absolute;
  top: 17px;
  right: 15px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 19px;
  line-height: 1;
}

.favorite:hover,
.favorite.saved {
  color: var(--orange);
}

.empty-state {
  min-height: 420px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px dashed var(--line);
  text-align: center;
}

.empty-state > span {
  color: var(--blue);
  font-size: 48px;
}

.empty-state h3 {
  margin: 10px 0 6px;
  font-size: 24px;
}

.empty-state p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.empty-state button {
  padding: 10px 16px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
}

.promise {
  padding: 80px 48px;
  background: var(--orange);
  color: #151515;
}

.promise > p {
  margin: 0 0 22px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.promise > div {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(420px, 1.4fr);
  gap: 70px;
  align-items: end;
}

.promise h2 {
  margin: 0;
  font-size: clamp(38px, 4.4vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.promise ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid #151515;
}

.promise li {
  min-height: 68px;
  display: grid;
  grid-template-columns: 42px 120px 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(21, 21, 21, 0.4);
}

.promise li span {
  font: 800 10px/1 Arial, sans-serif;
}

.promise li strong {
  font-size: 14px;
}

.promise li small {
  font-size: 12px;
}

footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 54px 48px 38px;
  display: grid;
  grid-template-columns: 1fr 1.5fr auto;
  gap: 40px;
  align-items: start;
}

.footer-brand {
  font-size: 30px;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.footer-brand span {
  display: block;
  margin-top: 4px;
  color: var(--blue);
  font: 800 9px/1 Arial, sans-serif;
  letter-spacing: 0.22em;
}

footer p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 11px;
  font-weight: 800;
}

.footer-links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-weight: inherit;
}

footer > small {
  grid-column: 1 / -1;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.mobile-nav {
  display: none;
}

@media (max-width: 1100px) {
  .topbar {
    padding: 0 28px;
  }

  .hero {
    padding-left: 28px;
    padding-right: 28px;
    grid-template-columns: 1fr 360px;
    gap: 36px;
  }

  .category-rail {
    padding-left: 28px;
  }

  .tools-panel {
    padding-right: 28px;
  }

  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promise,
  footer {
    padding-left: 28px;
    padding-right: 28px;
  }
}

@media (max-width: 820px) {
  .ticker {
    justify-content: flex-start;
    padding-left: 18px;
  }

  .ticker span:nth-child(n + 3) {
    display: none;
  }

  .topbar {
    height: 72px;
    padding: 0 18px;
    grid-template-columns: 1fr auto;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .topnav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 48px 18px 56px;
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(49px, 15vw, 74px);
  }

  .hero-intro {
    font-size: 14px;
  }

  .hero-board {
    min-height: 400px;
    margin: 10px 5px 8px 0;
  }

  .catalog {
    display: block;
  }

  .category-rail {
    padding: 24px 18px 6px;
    border-right: 0;
    overflow: hidden;
  }

  .category-rail > p,
  .submit-box {
    display: none;
  }

  .category-rail {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .category-rail::-webkit-scrollbar {
    display: none;
  }

  .category-rail > button {
    width: auto;
    min-width: max-content;
    min-height: 38px;
    padding: 0 12px;
    display: flex;
    border: 1px solid var(--line);
    background: var(--paper-2);
  }

  .category-rail > button.active {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper);
  }

  .category-rail > button.active .cat-mark {
    background: transparent;
  }

  .category-rail small {
    display: none;
  }

  .tools-panel {
    padding: 28px 18px 60px;
  }

  .panel-head {
    grid-template-columns: 1fr auto;
    gap: 18px;
  }

  .panel-head .result-count {
    display: none;
  }

  .panel-head h2 {
    font-size: 28px;
  }

  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .tool-card.featured {
    grid-column: span 1;
  }

  .promise {
    padding: 60px 18px;
  }

  .promise > div {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  footer {
    padding: 48px 18px 100px;
    grid-template-columns: 1fr 1fr;
  }

  .footer-links {
    grid-column: 1 / -1;
  }

  .mobile-nav {
    position: fixed;
    z-index: 20;
    left: 14px;
    right: 14px;
    bottom: 12px;
    height: 62px;
    padding: 6px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--ink);
    border: 1px solid var(--paper);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  }

  .mobile-nav button {
    border: 0;
    background: transparent;
    color: var(--paper);
    font-size: 10px;
  }

  .mobile-nav button span {
    display: block;
    margin-bottom: 3px;
    font-size: 18px;
  }

  .mobile-nav button.active {
    background: var(--blue);
    color: white;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 38px;
  }

  .eyebrow {
    font-size: 10px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .search-wrap {
    min-height: 60px;
    grid-template-columns: 44px 1fr 38px;
    box-shadow: 4px 4px 0 var(--ink);
  }

  .search-wrap input {
    font-size: 14px;
  }

  .quick-links button:nth-of-type(n + 4) {
    display: none;
  }

  .hero-board {
    min-height: 390px;
    padding: 24px 22px;
    box-shadow: 7px 7px 0 var(--orange);
  }

  .board-stamp {
    right: 18px;
  }

  .tools-panel {
    padding-left: 12px;
    padding-right: 12px;
  }

  .panel-head {
    padding: 0 6px;
    align-items: center;
  }

  .platform-filter button {
    min-width: 45px;
    padding: 7px 8px;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

  .tool-card,
  .tool-card > a {
    min-height: 214px;
  }

  .tool-card.featured {
    grid-column: auto;
  }

  .promise h2 {
    font-size: 40px;
  }

  .promise li {
    grid-template-columns: 36px 100px 1fr;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-column: auto;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}

/* Frequently visited and cookie-backed custom navigation */
.frequent-card {
  display: flex;
  padding: 18px;
  flex-direction: column;
}

.frequent-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 1px 2px 13px;
}

.frequent-card-head > div {
  display: flex;
  flex-direction: column;
}

.frequent-card-head b {
  font-size: 16px;
}

.frequent-card-head span {
  margin-top: 4px;
  color: #8a929c;
  font-size: 10px;
}

.frequent-card-head > small {
  padding: 5px 8px;
  border-radius: 999px;
  color: #4b7da1;
  background: #eaf5fc;
  font-size: 9px;
  white-space: nowrap;
}

.frequent-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: auto;
}

.frequent-tool-grid > a {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(37, 49, 63, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.69);
  transition: border-color 160ms ease, transform 160ms ease;
}

.frequent-tool-grid > a:hover {
  border-color: #b9dcf3;
  background: #fff;
  transform: translateY(-1px);
}

.frequent-tool-grid > a > span:not(.tool-icon) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.frequent-tool-grid b {
  overflow: hidden;
  color: #38424f;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.frequent-tool-grid small {
  margin-top: 3px;
  color: #98a0aa;
  font-size: 9px;
}

.frequent-tool-grid i {
  color: #a5adb6;
  font-size: 12px;
  font-style: normal;
}

.frequent-empty {
  display: flex;
  min-height: 118px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 17px;
  border: 1px dashed rgba(53, 73, 92, 0.15);
  border-radius: 17px;
  color: #78838e;
  background: rgba(246, 250, 252, 0.62);
}

.frequent-empty > span {
  display: grid;
  width: 42px;
  height: 42px;
  min-width: 42px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #4ca9df, #397fcc);
  font-size: 22px;
}

.frequent-empty p {
  display: flex;
  margin: 0;
  flex-direction: column;
}

.frequent-empty b {
  color: #48535f;
  font-size: 12px;
}

.frequent-empty small {
  margin-top: 4px;
  color: #9aa2ac;
  font-size: 9px;
  line-height: 1.5;
}

.custom-navigation {
  margin-top: 24px;
  padding-top: 21px;
  border-top: 1px solid #e0e5ea;
}

.custom-navigation > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.custom-navigation > header > div {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
}

.custom-navigation > header > div > span {
  display: grid;
  width: 42px;
  height: 42px;
  min-width: 42px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--category-accent);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--category-accent) 24%, transparent);
  font-size: 24px;
  font-weight: 300;
}

.custom-navigation > header p {
  display: flex;
  min-width: 0;
  margin: 0;
  flex-direction: column;
}

.custom-navigation > header b {
  color: #303a47;
  font-size: 15px;
}

.custom-navigation > header small {
  margin-top: 3px;
  color: #9099a4;
  font-size: 10px;
}

.custom-navigation > header > button {
  min-width: 84px;
  padding: 9px 13px;
  border-radius: 11px;
  color: #fff;
  background: var(--category-accent);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.custom-link-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 15px;
  padding: 15px;
  border: 1px solid color-mix(in srgb, var(--category-accent) 18%, #e7ebef);
  border-radius: 17px;
  background: color-mix(in srgb, var(--category-accent) 5%, #fff);
}

.custom-link-form label {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.custom-link-form label:nth-of-type(3) {
  grid-column: span 2;
}

.custom-link-form label > span {
  color: #6d7682;
  font-size: 10px;
  font-weight: 800;
}

.custom-link-form input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #dfe5ea;
  border-radius: 11px;
  outline: 0;
  color: #303945;
  background: #fff;
  font-size: 12px;
}

.custom-link-form input:focus {
  border-color: var(--category-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--category-accent) 12%, transparent);
}

.custom-link-form > div {
  display: flex;
  grid-column: span 2;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.custom-link-form > div small {
  color: #858e98;
  font-size: 9px;
}

.custom-link-form > div button {
  padding: 10px 17px;
  border-radius: 10px;
  color: #fff;
  background: var(--category-accent);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.custom-form-error {
  grid-column: span 2;
  margin: -2px 0 0;
  color: #d34d42;
  font-size: 10px;
}

.custom-link-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.custom-drawer-tool > button {
  color: #be5a53;
  background: #fff0ee;
}

.custom-link-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 116px;
  gap: 13px;
  margin-top: 14px;
  padding: 18px;
  border: 1px dashed #d9e0e6;
  border-radius: 17px;
  color: #939ca6;
  background: rgba(255, 255, 255, 0.64);
}

.custom-link-empty > span {
  color: var(--category-accent);
  font-size: 32px;
}

.custom-link-empty p {
  display: flex;
  margin: 0;
  flex-direction: column;
}

.custom-link-empty b {
  color: #66717c;
  font-size: 12px;
}

.custom-link-empty small {
  margin-top: 4px;
  color: #9ba3ac;
  font-size: 9px;
}

.cookie-notice {
  margin: 13px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  color: #7e704e;
  background: #fff8e8;
  font-size: 9px;
  line-height: 1.55;
}

.cookie-notice span {
  margin-right: 7px;
  color: #a2671f;
  font-weight: 900;
}

@media (max-width: 820px) {
  .frequent-card,
  .countdown-card {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .frequent-tool-grid {
    grid-template-columns: 1fr;
  }

  .frequent-tool-grid > a:nth-child(n + 4) {
    display: none;
  }

  .custom-link-form {
    grid-template-columns: 1fr;
  }

  .custom-link-form label:nth-of-type(3),
  .custom-link-form > div,
  .custom-form-error {
    grid-column: auto;
  }

  .custom-link-form > div {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Standalone server edition */
.selfhost-page .background-photo {
  background-image:
    linear-gradient(rgba(24, 18, 28, 0.05), rgba(24, 18, 28, 0.08)),
    var(--site-background);
}

.utility-actions .admin-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.27);
  border-radius: 12px;
  color: #fff;
  background: rgba(32, 28, 38, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  font-size: 13px;
}

.utility-actions .admin-entry:hover {
  background: rgba(26, 24, 35, 0.52);
  transform: translateY(-1px);
}

.side-rail > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 5px 3px;
  border-radius: 13px;
  flex-direction: column;
  gap: 2px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 9px;
}

.side-rail > a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.side-rail > a span {
  font-size: 17px;
}

.standalone-loading,
.standalone-error {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  background:
    linear-gradient(rgba(34, 22, 36, 0.25), rgba(31, 27, 39, 0.45)),
    url("/findtool-sky.jpg") center / cover no-repeat;
  text-align: center;
}

.standalone-loading > span,
.standalone-error > span {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 15px 35px rgba(34, 22, 37, 0.2);
  backdrop-filter: blur(18px);
  font-size: 27px;
  font-weight: 900;
}

.standalone-loading p {
  margin-top: 16px;
  font-size: 14px;
}

.standalone-error h1 {
  margin: 18px 0 5px;
  font-size: 25px;
}

.standalone-error p {
  margin: 0;
  opacity: 0.8;
}

.standalone-error button {
  margin-top: 18px;
  padding: 10px 18px;
  border-radius: 999px;
  color: #187ecb;
  background: #fff;
  cursor: pointer;
  font-weight: 800;
}

#frequent-content {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}

#frequent-content .frequent-tool-grid {
  margin-top: auto;
}

@media (max-width: 820px) {
  .utility-actions .admin-entry {
    min-height: 36px;
    padding: 0 10px;
    font-size: 11px;
  }
}

@media (max-width: 560px) {
  .utility-actions .admin-entry {
    width: 36px;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
  }

  .utility-actions .admin-entry span {
    min-width: 36px;
    text-align: center;
  }
}

/* Findtool Start — scenic glass dashboard */
:root {
  --page-ink: #17202d;
  --muted-ink: #68717e;
  --glass: rgba(255, 255, 255, 0.79);
  --glass-strong: rgba(255, 255, 255, 0.93);
  --glass-line: rgba(255, 255, 255, 0.65);
  --soft-line: rgba(24, 34, 49, 0.08);
  --brand-blue: #1689f5;
  --warm-red: #f05239;
  --shadow: 0 18px 48px rgba(59, 37, 55, 0.18);
  --shadow-soft: 0 12px 30px rgba(45, 34, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--page-ink);
  background: #996f78;
  font-family:
    "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Inter, Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.start-page {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  padding: 18px 92px 132px 30px;
}

.background-photo,
.background-wash {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
}

.background-photo {
  background:
    linear-gradient(rgba(24, 18, 28, 0.05), rgba(24, 18, 28, 0.08)),
    url("/findtool-sky.jpg") center 44% / cover no-repeat;
  transform: scale(1.03);
}

.background-wash {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(18, 15, 29, 0.37) 0%, rgba(81, 29, 46, 0.04) 39%, rgba(255, 217, 197, 0.1) 100%),
    linear-gradient(180deg, rgba(95, 25, 50, 0.13) 0%, rgba(255, 196, 172, 0.03) 45%, rgba(31, 35, 50, 0.23) 100%);
  transition: background 320ms ease;
}

.start-page[data-tone="clear"] .background-wash {
  background:
    linear-gradient(90deg, rgba(13, 48, 85, 0.19), rgba(238, 235, 221, 0.03)),
    linear-gradient(180deg, rgba(32, 130, 179, 0.05), rgba(33, 85, 119, 0.2));
}

.start-page[data-tone="clear"] .background-photo {
  filter: saturate(0.86) hue-rotate(326deg) brightness(1.08);
}

.start-page[data-tone="night"] .background-wash {
  background:
    linear-gradient(90deg, rgba(11, 18, 43, 0.72), rgba(43, 22, 57, 0.48)),
    linear-gradient(180deg, rgba(17, 20, 44, 0.28), rgba(6, 12, 29, 0.66));
}

.start-page[data-tone="night"] .background-photo {
  filter: saturate(0.72) hue-rotate(25deg) brightness(0.66);
}

.utility-bar {
  position: relative;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1540px, 100%);
  min-height: 48px;
  margin: 0 auto 10px;
}

.start-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-shadow: 0 3px 16px rgba(30, 17, 27, 0.22);
}

.start-brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(16px);
  font-size: 20px;
  font-weight: 900;
}

.start-brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.start-brand b {
  font-size: 18px;
  letter-spacing: 0.08em;
}

.start-brand small {
  margin-top: 4px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  opacity: 0.72;
}

.utility-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.utility-actions > button,
.settings-anchor > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.27);
  border-radius: 12px;
  color: #fff;
  background: rgba(32, 28, 38, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  cursor: pointer;
  backdrop-filter: blur(16px);
  transition: transform 180ms ease, background 180ms ease;
}

.utility-actions > button:hover,
.settings-anchor > button:hover {
  transform: translateY(-1px);
  background: rgba(26, 24, 35, 0.52);
}

.utility-actions .avatar-button {
  width: 40px;
  min-width: 40px;
  padding: 0;
  border-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  color: #277bd1;
  background: rgba(231, 244, 255, 0.96);
  font-weight: 900;
}

.settings-anchor {
  position: relative;
}

.tone-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 90;
  width: 230px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.91);
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px);
}

.tone-panel p {
  margin: 0 0 10px;
  color: #6c7280;
  font-size: 12px;
  font-weight: 700;
}

.tone-panel button {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 11px;
  color: #3d4651;
  background: transparent;
  cursor: pointer;
}

.tone-panel button:hover,
.tone-panel button.active {
  background: #edf4fb;
}

.tone-panel i {
  width: 34px;
  height: 24px;
  border: 2px solid #fff;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(28, 34, 46, 0.16);
}

.tone-rose {
  background: linear-gradient(135deg, #5f345c, #ef8a7f 48%, #ffc5a2);
}

.tone-clear {
  background: linear-gradient(135deg, #4c9ddb, #9dd7e8 52%, #f1d9ad);
}

.tone-night {
  background: linear-gradient(135deg, #101934, #253a68 55%, #7b466a);
}

.start-content {
  position: relative;
  z-index: 2;
  width: min(1540px, 100%);
  margin: 0 auto;
}

.hero-search-section {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(540px, 900px);
  align-items: center;
  justify-content: center;
  gap: clamp(34px, 5vw, 88px);
  min-height: 160px;
  padding: 8px 0 20px;
}

.clock-block {
  color: #fff;
  text-align: left;
  text-shadow: 0 4px 22px rgba(29, 18, 28, 0.32);
}

.clock-time {
  font-size: clamp(62px, 6vw, 96px);
  font-weight: 200;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.clock-block p {
  margin: 17px 0 5px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.clock-block > span {
  font-size: 13px;
  opacity: 0.78;
}

.search-zone {
  position: relative;
  width: 100%;
  padding-top: 10px;
}

.main-search {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto 140px;
  align-items: stretch;
  min-height: 66px;
  border: 3px solid rgba(18, 139, 245, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 15px 42px rgba(43, 35, 57, 0.2);
  overflow: hidden;
}

.engine-select {
  display: flex;
  align-items: center;
  border-right: 1px solid #e8edf2;
}

.engine-select select {
  height: 100%;
  min-width: 118px;
  padding: 0 28px 0 17px;
  border: 0;
  outline: 0;
  color: #444d5a;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.main-search input {
  min-width: 0;
  padding: 0 18px;
  border: 0;
  outline: 0;
  color: #222b36;
  background: transparent;
  font-size: 17px;
}

.main-search input::placeholder {
  color: #939ba5;
}

.main-search kbd {
  align-self: center;
  padding: 3px 8px;
  border: 1px solid #d6dce3;
  border-radius: 7px;
  color: #8c949d;
  background: #f6f8fa;
  font-size: 12px;
  font-family: inherit;
  box-shadow: 0 1px 0 rgba(32, 41, 52, 0.06);
}

.main-search > button {
  color: #fff;
  background: linear-gradient(135deg, #1799ff, #087fec);
  cursor: pointer;
  font-size: 17px;
  font-weight: 800;
  transition: filter 180ms ease;
}

.main-search > button:hover {
  filter: brightness(1.08);
}

.search-shortcuts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 16px;
  padding: 11px 10px 0;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 11px rgba(37, 18, 29, 0.3);
}

.search-shortcuts span {
  font-size: 13px;
  font-weight: 800;
}

.search-shortcuts button {
  padding: 0;
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
  cursor: pointer;
  font-size: 13px;
}

.search-shortcuts button:hover {
  color: #fff;
  text-decoration: underline;
}

.search-results {
  position: absolute;
  top: 90px;
  left: 0;
  z-index: 100;
  width: 100%;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 22px;
  background: rgba(250, 252, 255, 0.95);
  box-shadow: 0 26px 70px rgba(27, 23, 37, 0.28);
  backdrop-filter: blur(28px);
}

.search-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
  padding: 0 3px;
  color: #66707e;
  font-size: 13px;
  font-weight: 700;
}

.search-results-head button {
  padding: 5px 8px;
  color: #69727d;
  background: transparent;
  cursor: pointer;
}

.search-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.search-result-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-width: 0;
  border: 1px solid #e8edf1;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
}

.search-result-item:hover {
  border-color: #cde2f7;
  background: #fff;
}

.search-result-item > a {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  padding: 9px;
}

.search-result-item > a > span:not(.tool-icon) {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.search-result-item b {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-item small {
  overflow: hidden;
  margin-top: 2px;
  color: #89919b;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-item > button {
  align-self: stretch;
  padding: 0 11px;
  color: #f4a526;
  background: transparent;
  cursor: pointer;
}

.no-results {
  display: flex;
  min-height: 150px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #7a838f;
  text-align: center;
}

.no-results b {
  margin-bottom: 6px;
  color: #394451;
}

.glass-card,
.category-card {
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(1.18);
}

.widget-grid {
  display: grid;
  grid-template-columns: minmax(170px, 0.95fr) minmax(300px, 2.15fr) minmax(280px, 1.9fr) minmax(170px, 1fr) minmax(170px, 1fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 15px;
}

.widget-grid .glass-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--glass);
}

.weather-card {
  display: flex;
  padding: 21px;
  flex-direction: column;
  color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.42), transparent 25%),
    linear-gradient(155deg, rgba(55, 117, 190, 0.83), rgba(62, 86, 148, 0.83)) !important;
}

.weather-card > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 9px;
}

.weather-card span {
  font-size: 17px;
  font-weight: 700;
}

.weather-card small {
  font-size: 10px;
  opacity: 0.74;
}

.weather-card strong {
  margin-top: 14px;
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
}

.weather-card sup {
  font-size: 17px;
  font-weight: 400;
}

.weather-card p {
  margin: auto 0 0;
  font-size: 13px;
  opacity: 0.9;
}

.weather-visual {
  position: absolute;
  top: 57px;
  right: 17px;
  width: 65px;
  height: 46px;
}

.weather-visual i {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 54px;
  height: 26px;
  border-radius: 30px;
  background: linear-gradient(180deg, #eef6ff, #cbd8ed);
  box-shadow: 0 5px 14px rgba(28, 49, 94, 0.2);
}

.weather-visual i:nth-child(2) {
  right: 10px;
  bottom: 8px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.weather-visual i:nth-child(3) {
  top: 0;
  right: 6px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #ffd66e;
  box-shadow: 0 0 20px rgba(255, 217, 103, 0.7);
}

.trends-card {
  padding: 0 20px 15px;
}

.widget-tabs {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 50px;
  margin: 0 -20px 8px;
  padding: 0 20px;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(110deg, #f5663d, #ef3c28);
}

.widget-tabs b {
  padding: 5px 9px;
  border-radius: 7px;
  color: #e7492e;
  background: #fff;
  font-size: 13px;
}

.widget-tabs span {
  font-size: 12px;
}

.trends-card ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trends-card li {
  border-bottom: 1px dashed rgba(50, 58, 68, 0.1);
}

.trends-card li button {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  gap: 8px;
  padding: 12px 0;
  color: #4d5561;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.trends-card li i {
  color: #ee5c35;
  font-size: 14px;
  font-style: normal;
  font-weight: 900;
  text-align: center;
}

.trends-card li span {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trends-card li small {
  color: #ec684d;
  font-size: 9px;
}

.countdown-card {
  display: flex;
  padding: 23px 18px;
  flex-direction: column;
}

.countdown-card > div:first-child {
  position: relative;
  z-index: 2;
}

.countdown-card span {
  color: #68717d;
  font-size: 12px;
}

.countdown-card strong {
  display: block;
  margin: 8px 0 14px;
  color: #161b22;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: clamp(30px, 2.2vw, 44px);
  letter-spacing: 0.03em;
}

.countdown-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.countdown-stats span {
  display: flex;
  min-width: 56px;
  padding: 7px 9px;
  border-radius: 10px;
  flex-direction: column;
  color: #767d85;
  background: rgba(241, 243, 246, 0.92);
  text-align: center;
}

.countdown-stats b {
  margin-bottom: 2px;
  color: #21272e;
  font-size: 16px;
}

.desk-orb {
  position: absolute;
  right: 20px;
  bottom: 22px;
  width: 80px;
  height: 80px;
  border: 10px solid #b67343;
  border-radius: 48% 52% 42% 58%;
  background: radial-gradient(circle at 35% 25%, #f3bd78, #8e5533 64%, #4d2f28);
  box-shadow:
    0 11px 18px rgba(70, 39, 31, 0.24),
    inset 10px 8px 22px rgba(255, 255, 255, 0.23);
  transform: rotate(-17deg);
}

.desk-orb i {
  position: absolute;
  inset: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(53, 35, 34, 0.26);
  font-size: 11px;
  font-style: normal;
}

.calendar-card {
  text-align: center;
}

.calendar-card header {
  padding: 13px 8px;
  color: #fff;
  background: linear-gradient(180deg, #ef4a32, #d93128);
  font-size: 15px;
}

.calendar-card strong {
  display: block;
  margin-top: 8px;
  color: #21252a;
  font-size: 60px;
  font-weight: 400;
  line-height: 1;
}

.calendar-card p {
  margin: 7px 0;
  color: #9097a0;
  font-size: 12px;
}

.calendar-card > span {
  color: #555d66;
  font-size: 13px;
  font-weight: 700;
}

.focus-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  flex-direction: column;
  text-align: center;
}

.focus-card p {
  margin: 0;
  color: #4b545f;
  font-size: 13px;
}

.focus-card p strong {
  color: #12171c;
  font-size: 26px;
}

.focus-card > button {
  display: grid;
  width: 82px;
  height: 82px;
  margin: 14px 0 9px;
  place-items: center;
  border-radius: 48% 52% 45% 55%;
  color: #fff;
  background: radial-gradient(circle at 30% 20%, #deb376, #8e603b 62%, #543521);
  box-shadow:
    0 11px 21px rgba(76, 47, 29, 0.23),
    inset 8px 7px 14px rgba(255, 255, 255, 0.26);
  cursor: pointer;
  transform: rotate(-8deg);
  transition: transform 160ms ease;
}

.focus-card > button:hover {
  transform: rotate(2deg) scale(1.04);
}

.focus-card > button span {
  font-size: 33px;
}

.focus-card small {
  color: #989ea5;
  font-size: 10px;
}

.catalog-section {
  padding-top: 34px;
}

.catalog-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 17px;
  padding: 0 5px;
  color: #fff;
  text-shadow: 0 3px 17px rgba(35, 19, 30, 0.28);
}

.catalog-title p {
  margin: 0 0 5px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.24em;
  opacity: 0.72;
}

.catalog-title h1 {
  margin: 0;
  font-size: clamp(28px, 3vw, 43px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.catalog-title > span {
  padding-bottom: 5px;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.84;
}

.catalog-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 18px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 18px;
  color: #fff;
  background: rgba(36, 33, 45, 0.24);
  box-shadow: 0 12px 30px rgba(30, 23, 38, 0.12);
  backdrop-filter: blur(18px);
}

.catalog-filter-bar > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.catalog-filter-bar span {
  margin-right: 2px;
  font-size: 10px;
  font-weight: 800;
  opacity: 0.7;
}

.catalog-filter-bar button {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.09);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.catalog-filter-bar button:hover,
.catalog-filter-bar button.active {
  color: #2469a7;
  background: rgba(255, 255, 255, 0.94);
}

.category-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.tool-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 5px;
}

.tool-meta em {
  padding: 2px 6px;
  border-radius: 999px;
  color: #73808d;
  background: #eef2f6;
  font-size: 8px;
  font-style: normal;
  line-height: 1.5;
}

.category-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.82);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--category-accent);
  content: "";
}

.category-card:hover {
  box-shadow: 0 20px 44px rgba(49, 32, 47, 0.2);
  transform: translateY(-3px);
}

.category-card-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  gap: 10px;
  padding: 17px 16px 11px;
  color: #26303b;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.category-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--category-accent);
  box-shadow: 0 8px 17px color-mix(in srgb, var(--category-accent) 30%, transparent);
  font-size: 18px;
  font-weight: 900;
}

.category-card-head > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.category-card-head b {
  font-size: 15px;
}

.category-card-head small {
  overflow: hidden;
  margin-top: 4px;
  color: #8a929c;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-card-head i {
  color: #aab0b8;
  font-size: 14px;
  font-style: normal;
}

.mini-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding: 4px 12px 13px;
}

.mini-tool {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(33, 44, 58, 0.06);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.66);
}

.mini-tool:hover {
  border-color: color-mix(in srgb, var(--category-accent) 35%, transparent);
  background: #fff;
}

.mini-tool > a {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 7px;
  padding: 8px 22px 8px 8px;
}

.mini-tool > a > span:last-child {
  overflow: hidden;
  color: #47515d;
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-tool > button {
  position: absolute;
  top: 4px;
  right: 4px;
  padding: 3px;
  color: #d8a33e;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
}

.category-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 24px);
  margin: 0 12px 13px;
  padding: 10px 3px 2px;
  border-top: 1px solid rgba(38, 49, 61, 0.08);
  color: #7a838d;
  background: transparent;
  cursor: pointer;
  font-size: 10px;
}

.category-more span {
  color: var(--category-accent);
  font-size: 14px;
}

.tool-icon {
  display: grid;
  width: 34px;
  height: 34px;
  min-width: 34px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 11px;
  color: #fff;
  background: var(--tool-color);
  box-shadow:
    0 6px 13px color-mix(in srgb, var(--tool-color) 26%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.fun-widget-row {
  display: grid;
  grid-template-columns: 1fr 1.45fr 0.8fr;
  gap: 18px;
  margin-top: 18px;
}

.fun-widget-row .glass-card {
  min-height: 138px;
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.82);
}

.meal-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  gap: 7px 16px;
  padding: 20px 24px;
}

.meal-card span {
  color: #a06c43;
  font-size: 11px;
  font-weight: 800;
}

.meal-card strong {
  grid-column: 1;
  overflow: hidden;
  color: #3c2c27;
  font-size: 24px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meal-card button {
  grid-row: 1 / 3;
  grid-column: 2;
  align-self: center;
  padding: 12px 16px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ff9c2f, #f47922);
  box-shadow: 0 8px 18px rgba(236, 116, 32, 0.24);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.quote-card {
  padding: 20px 24px;
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 211, 161, 0.5), transparent 28%),
    rgba(255, 255, 255, 0.83) !important;
}

.quote-card > span {
  color: #b5774b;
  font-size: 11px;
  font-weight: 800;
}

.quote-card p {
  margin: 9px 0 5px;
  color: #3d3533;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
}

.quote-card small {
  color: #a09995;
  font-size: 10px;
}

.submit-card {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 22px;
  flex-direction: column;
  color: #fff;
  background: linear-gradient(145deg, rgba(26, 123, 179, 0.84), rgba(24, 91, 131, 0.88)) !important;
}

.submit-card span {
  font-size: 11px;
  opacity: 0.75;
}

.submit-card strong {
  margin-top: 6px;
  font-size: 22px;
}

.submit-card i {
  position: absolute;
  top: 19px;
  right: 20px;
  font-style: normal;
}

.side-rail {
  position: fixed;
  top: 50%;
  right: 12px;
  z-index: 60;
  display: flex;
  width: 65px;
  padding: 9px 6px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 23px;
  flex-direction: column;
  gap: 4px;
  background: rgba(38, 31, 38, 0.35);
  box-shadow: 0 14px 38px rgba(32, 23, 34, 0.18);
  backdrop-filter: blur(18px);
  transform: translateY(-50%);
}

.side-rail button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 5px 3px;
  border-radius: 13px;
  flex-direction: column;
  gap: 2px;
  color: rgba(255, 255, 255, 0.76);
  background: transparent;
  cursor: pointer;
  font-size: 9px;
}

.side-rail button:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.side-rail span {
  font-size: 17px;
  font-weight: 800;
}

.quick-dock {
  position: fixed;
  bottom: 17px;
  left: 50%;
  z-index: 70;
  display: flex;
  align-items: center;
  max-width: calc(100vw - 180px);
  gap: 11px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  background: rgba(25, 25, 31, 0.52);
  box-shadow: 0 17px 45px rgba(21, 17, 26, 0.35);
  backdrop-filter: blur(24px) saturate(1.3);
  transform: translateX(-50%);
}

.quick-dock a,
.quick-dock > button {
  display: grid;
  width: 49px;
  height: 49px;
  min-width: 49px;
  place-items: center;
  border-radius: 15px;
  transition: transform 150ms ease;
}

.quick-dock a:hover,
.quick-dock > button:hover {
  transform: translateY(-5px) scale(1.05);
}

.quick-dock .tool-icon {
  width: 49px;
  height: 49px;
  border-radius: 15px;
  font-size: 15px;
}

.quick-dock > button {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #188df2;
  background: rgba(240, 249, 255, 0.96);
  cursor: pointer;
  font-size: 28px;
}

.photo-credit {
  position: fixed;
  right: 19px;
  bottom: 5px;
  z-index: 10;
  color: rgba(255, 255, 255, 0.56);
  font-size: 9px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.26);
}

.photo-credit a {
  text-decoration: underline;
}

.category-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  justify-content: flex-end;
  padding: 18px;
  background: rgba(18, 19, 25, 0.44);
  backdrop-filter: blur(12px);
}

.category-drawer {
  width: min(570px, 100%);
  height: 100%;
  overflow: auto;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 28px;
  background: rgba(249, 251, 253, 0.95);
  box-shadow: -20px 0 60px rgba(19, 21, 27, 0.22);
  animation: drawer-in 240ms ease both;
}

@keyframes drawer-in {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
}

.category-drawer > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-drawer > header > div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.category-drawer > header > div > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 17px;
  color: #fff;
  background: var(--category-accent);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--category-accent) 32%, transparent);
  font-size: 21px;
  font-weight: 900;
}

.category-drawer header p {
  display: flex;
  margin: 0;
  flex-direction: column;
}

.category-drawer header small {
  margin-bottom: 3px;
  color: #929aa4;
  font-size: 10px;
}

.category-drawer header b {
  font-size: 24px;
}

.category-drawer header > button {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #6c7480;
  background: #e9edf1;
  cursor: pointer;
  font-size: 22px;
}

.drawer-description {
  margin: 17px 0 16px;
  padding: 12px 14px;
  border-radius: 13px;
  color: #68717d;
  background: color-mix(in srgb, var(--category-accent) 7%, #fff);
  font-size: 12px;
}

.drawer-tools {
  display: grid;
  gap: 10px;
}

.drawer-tool {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid #e7ebef;
  border-radius: 16px;
  background: #fff;
}

.drawer-tool:hover {
  border-color: color-mix(in srgb, var(--category-accent) 30%, #e7ebef);
}

.drawer-tool > a {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.drawer-tool .tool-icon {
  width: 43px;
  height: 43px;
  border-radius: 13px;
  font-size: 14px;
}

.drawer-tool > a > span:not(.tool-icon) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.drawer-tool b {
  font-size: 14px;
}

.drawer-tool small {
  overflow: hidden;
  margin-top: 3px;
  color: #8b949f;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drawer-tool a i {
  color: #a4abb4;
  font-style: normal;
}

.drawer-tool > button {
  padding: 7px 9px;
  border-radius: 9px;
  color: #ba812a;
  background: #fff7e8;
  cursor: pointer;
  font-size: 10px;
}

.start-page[data-compact="true"] .widget-grid {
  gap: 12px;
}

.start-page[data-compact="true"] .widget-grid .glass-card {
  min-height: 188px;
}

.start-page[data-compact="true"] .category-card-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.start-page[data-compact="true"] .category-card-head {
  padding: 13px 12px 8px;
}

.start-page[data-compact="true"] .mini-tool-grid {
  padding: 3px 9px 10px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1440px) {
  .start-page {
    padding-left: 22px;
  }

  .hero-search-section {
    grid-template-columns: minmax(240px, 300px) minmax(520px, 820px);
    gap: 42px;
  }

  .widget-grid {
    grid-template-columns: minmax(160px, 0.9fr) minmax(290px, 2fr) minmax(270px, 1.8fr) minmax(160px, 0.95fr);
  }

  .focus-card {
    display: none;
  }

  .category-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .start-page[data-compact="true"] .category-card-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .start-page {
    padding: 14px 20px 125px;
  }

  .utility-bar {
    margin-bottom: 2px;
  }

  .hero-search-section {
    grid-template-columns: 235px minmax(480px, 1fr);
    gap: 27px;
  }

  .clock-time {
    font-size: 66px;
  }

  .widget-grid {
    grid-template-columns: minmax(160px, 0.8fr) minmax(320px, 1.7fr) minmax(260px, 1.35fr);
  }

  .calendar-card,
  .focus-card {
    display: none;
  }

  .category-card-grid,
  .start-page[data-compact="true"] .category-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .side-rail {
    display: none;
  }

  .quick-dock {
    max-width: calc(100vw - 36px);
  }
}

@media (max-width: 820px) {
  .start-page {
    padding: 12px 14px 116px;
  }

  .start-brand > span:last-child {
    display: none;
  }

  .utility-actions > button,
  .settings-anchor > button {
    min-height: 36px;
    padding: 0 10px;
    font-size: 11px;
  }

  .hero-search-section {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 14px 0 20px;
  }

  .clock-block {
    text-align: center;
  }

  .clock-time {
    font-size: 63px;
  }

  .clock-block p {
    margin: 9px 0 2px;
    font-size: 14px;
  }

  .main-search {
    grid-template-columns: auto minmax(0, 1fr) 96px;
    min-height: 58px;
    border-width: 2px;
    border-radius: 16px;
  }

  .main-search kbd {
    display: none;
  }

  .main-search input {
    padding: 0 12px;
    font-size: 14px;
  }

  .engine-select select {
    min-width: 101px;
    padding-left: 12px;
    font-size: 12px;
  }

  .main-search > button {
    font-size: 14px;
  }

  .search-shortcuts {
    justify-content: center;
    gap: 7px 11px;
  }

  .search-results {
    top: 79px;
    padding: 12px;
  }

  .search-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .widget-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .weather-card {
    grid-row: 1;
    grid-column: 1;
  }

  .calendar-card {
    grid-row: 1;
    grid-column: 2;
  }

  .widget-grid .glass-card {
    min-height: 190px;
  }

  .trends-card,
  .countdown-card {
    grid-column: span 2;
  }

  .calendar-card {
    display: block;
  }

  .category-card-grid,
  .start-page[data-compact="true"] .category-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .fun-widget-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .quote-card {
    grid-column: span 2;
  }

  .category-modal {
    align-items: flex-end;
    padding: 8px;
  }

  .category-drawer {
    width: 100%;
    height: min(82vh, 780px);
    padding: 20px;
    border-radius: 25px;
    animation-name: drawer-up;
  }

  @keyframes drawer-up {
    from {
      opacity: 0;
      transform: translateY(28px);
    }
  }
}

@media (max-width: 560px) {
  .start-page {
    padding-right: 11px;
    padding-left: 11px;
  }

  .utility-actions > button:first-child {
    display: none;
  }

  .tone-panel {
    right: -47px;
  }

  .clock-time {
    font-size: 57px;
  }

  .main-search {
    grid-template-columns: 1fr 82px;
  }

  .engine-select {
    display: none;
  }

  .search-shortcuts span {
    width: 100%;
    text-align: center;
  }

  .search-shortcuts button:nth-of-type(n + 4) {
    display: none;
  }

  .search-results {
    top: 72px;
    max-height: 67vh;
    overflow: auto;
  }

  .search-result-grid {
    grid-template-columns: 1fr;
  }

  .widget-grid {
    grid-template-columns: 1fr 1fr;
  }

  .widget-grid .glass-card {
    min-height: 176px;
    border-radius: 19px;
  }

  .weather-card {
    padding: 16px;
  }

  .weather-card strong {
    font-size: 40px;
  }

  .weather-card p {
    font-size: 11px;
  }

  .weather-visual {
    top: 59px;
    right: 10px;
    transform: scale(0.82);
    transform-origin: top right;
  }

  .trends-card {
    padding-right: 14px;
    padding-left: 14px;
  }

  .widget-tabs {
    margin-right: -14px;
    margin-left: -14px;
    padding: 0 14px;
  }

  .trends-card ol {
    grid-template-columns: 1fr;
  }

  .trends-card li:nth-child(n + 4) {
    display: none;
  }

  .countdown-card strong {
    font-size: 33px;
  }

  .countdown-stats span {
    min-width: 0;
    flex: 1;
  }

  .desk-orb {
    display: none;
  }

  .catalog-section {
    padding-top: 27px;
  }

  .catalog-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .catalog-title h1 {
    font-size: 30px;
  }

  .catalog-filter-bar {
    align-items: flex-start;
    padding: 10px;
    flex-direction: column;
  }

  .catalog-filter-bar > div {
    width: 100%;
  }

  .category-card-grid,
  .start-page[data-compact="true"] .category-card-grid {
    grid-template-columns: 1fr;
  }

  .category-card-head {
    padding-top: 15px;
  }

  .mini-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fun-widget-row {
    grid-template-columns: 1fr;
  }

  .quote-card {
    grid-column: auto;
  }

  .quick-dock {
    bottom: 10px;
    width: calc(100vw - 20px);
    justify-content: flex-start;
    gap: 9px;
    padding: 9px 11px;
    overflow-x: auto;
    border-radius: 21px;
    scrollbar-width: none;
  }

  .quick-dock::-webkit-scrollbar {
    display: none;
  }

  .quick-dock a,
  .quick-dock > button,
  .quick-dock .tool-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
  }

  .photo-credit {
    display: none;
  }

  .drawer-tool {
    grid-template-columns: minmax(0, 1fr);
  }

  .drawer-tool > button {
    justify-self: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .background-wash,
  .category-card,
  .quick-dock a,
  .quick-dock > button,
  .category-drawer {
    animation: none !important;
    transition: none !important;
  }
}

/* SiteRoam international brand layer */

.siteroam-page {
  --brand-navy: #071425;
  --brand-panel: rgba(8, 26, 45, 0.72);
  --brand-teal: #26d6c5;
  --brand-sky: #52a8ff;
  --brand-violet: #8b6cff;
  --brand-text: #f4fbff;
  --brand-muted: rgba(224, 241, 249, 0.72);
  color: var(--brand-text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Arial, sans-serif;
}

.siteroam-page .background-photo {
  filter: saturate(0.84) hue-rotate(9deg) brightness(0.72);
}

.siteroam-page[data-tone="aurora"] .background-wash {
  background:
    radial-gradient(circle at 78% 8%, rgba(117, 83, 255, 0.38), transparent 34%),
    radial-gradient(circle at 18% 34%, rgba(24, 218, 193, 0.24), transparent 31%),
    linear-gradient(105deg, rgba(3, 15, 30, 0.92) 0%, rgba(6, 27, 48, 0.64) 47%, rgba(11, 17, 40, 0.78) 100%);
}

.siteroam-page[data-tone="clear"] .background-wash {
  background:
    radial-gradient(circle at 76% 12%, rgba(75, 169, 255, 0.25), transparent 35%),
    linear-gradient(110deg, rgba(5, 31, 50, 0.73), rgba(14, 67, 78, 0.38), rgba(12, 28, 55, 0.56));
}

.siteroam-page[data-tone="night"] .background-wash {
  background:
    radial-gradient(circle at 77% 10%, rgba(112, 66, 255, 0.21), transparent 34%),
    linear-gradient(105deg, rgba(1, 7, 18, 0.96), rgba(4, 17, 34, 0.87), rgba(11, 9, 32, 0.93));
}

.siteroam-page .utility-bar {
  min-height: 58px;
}

.siteroam-page .start-brand {
  gap: 12px;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.siteroam-page .start-brand-mark,
.site-footer .footer-brand > span {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(115, 244, 231, 0.62);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(34, 213, 195, 0.92), rgba(80, 130, 255, 0.92) 56%, rgba(139, 108, 255, 0.94));
  box-shadow: 0 14px 35px rgba(25, 197, 210, 0.23), inset 0 1px 0 rgba(255, 255, 255, 0.52);
  color: #fff;
  font-size: 13px;
  letter-spacing: -0.04em;
}

.siteroam-page .start-brand b {
  font-size: 20px;
  letter-spacing: -0.025em;
}

.siteroam-page .start-brand small {
  color: rgba(220, 250, 250, 0.72);
  font-size: 8px;
  letter-spacing: 0.2em;
}

.language-control {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 6px;
  padding: 0 9px 0 12px;
  border: 1px solid rgba(139, 242, 232, 0.24);
  border-radius: 12px;
  background: rgba(7, 22, 40, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.language-control > span {
  color: var(--brand-teal);
  font-size: 15px;
}

.language-control select {
  min-width: 92px;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.language-control option {
  color: #08182a;
  background: #fff;
}

.siteroam-page .utility-actions > button {
  border-color: rgba(139, 242, 232, 0.22);
  background: rgba(7, 22, 40, 0.58);
}

.siteroam-page .utility-actions > button:hover {
  border-color: rgba(74, 232, 218, 0.6);
  background: rgba(10, 48, 68, 0.78);
}

.siteroam-page .utility-actions > button span {
  color: var(--brand-teal);
  font-weight: 900;
}

.bookmark-prompt {
  position: relative;
  z-index: 31;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  width: min(1540px, 100%);
  min-height: 66px;
  align-items: center;
  gap: 13px;
  margin: 10px auto 6px;
  padding: 11px 12px 11px 17px;
  border: 1px solid rgba(91, 226, 211, 0.34);
  border-radius: 20px;
  background:
    linear-gradient(100deg, rgba(8, 38, 58, 0.86), rgba(27, 31, 66, 0.76)),
    rgba(7, 20, 37, 0.72);
  box-shadow: 0 18px 54px rgba(0, 9, 24, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(24px);
}

.bookmark-prompt-icon {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 13px;
  color: #06231f;
  background: linear-gradient(135deg, #72f0dd, #65b9ff);
  font-size: 22px;
  font-weight: 900;
}

.bookmark-prompt div {
  min-width: 0;
}

.bookmark-prompt b,
.bookmark-prompt small {
  display: block;
}

.bookmark-prompt b {
  font-size: 14px;
}

.bookmark-prompt small {
  margin-top: 4px;
  color: var(--brand-muted);
  font-size: 11px;
  line-height: 1.35;
}

.bookmark-prompt button {
  min-height: 39px;
  padding: 0 15px;
  border-radius: 12px;
  color: #041f22;
  background: linear-gradient(135deg, #77eadc, #70b9ff);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.bookmark-prompt .bookmark-dismiss {
  width: 34px;
  padding: 0;
  color: rgba(231, 249, 250, 0.72);
  background: rgba(255, 255, 255, 0.08);
  font-size: 18px;
}

.siteroam-page .hero-search-section {
  align-items: end;
  padding-top: 28px;
}

.hero-copy {
  margin: 0 0 20px 3px;
  color: #fff;
}

.hero-copy span {
  color: #7cece0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.hero-copy h1 {
  max-width: 750px;
  margin: 8px 0 0;
  font-size: clamp(34px, 4vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-shadow: 0 12px 38px rgba(0, 0, 0, 0.28);
}

.siteroam-page .clock-time {
  color: #fff;
  letter-spacing: -0.065em;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.siteroam-page .clock-block > span {
  color: rgba(215, 246, 245, 0.78);
}

.siteroam-page .main-search {
  border-color: rgba(83, 226, 218, 0.76);
  background: rgba(247, 253, 255, 0.95);
  box-shadow: 0 18px 48px rgba(2, 23, 43, 0.28), 0 0 0 3px rgba(50, 210, 199, 0.08);
}

.siteroam-page .main-search > button {
  background: linear-gradient(135deg, #19bfae, #3388f0 60%, #765fe8);
}

.siteroam-page .search-shortcuts > span {
  color: #7ef0e1;
}

.siteroam-page .glass-card,
.siteroam-page .category-card,
.siteroam-page .catalog-filter-bar {
  border-color: rgba(160, 225, 230, 0.38);
  background:
    linear-gradient(150deg, rgba(250, 254, 255, 0.94), rgba(234, 246, 250, 0.84)),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 55px rgba(2, 17, 34, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.siteroam-page .weather-card {
  color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(80, 212, 215, 0.34), transparent 30%),
    linear-gradient(145deg, rgba(9, 72, 102, 0.94), rgba(11, 37, 79, 0.96) 66%, rgba(43, 31, 91, 0.94));
}

.siteroam-page .countdown-card {
  background:
    radial-gradient(circle at 86% 18%, rgba(92, 220, 208, 0.19), transparent 30%),
    linear-gradient(150deg, rgba(246, 252, 253, 0.95), rgba(224, 239, 245, 0.9));
}

.siteroam-page .calendar-card header {
  background: linear-gradient(135deg, #0ebfae, #3d84ed 62%, #795ee9);
}

.siteroam-page .desk-orb {
  background: radial-gradient(circle at 38% 30%, #72f3df, #1d8aa5 44%, #18466f 70%);
}

.siteroam-page .desk-orb i {
  color: #eaffff;
}

.siteroam-page .catalog-title h2 {
  margin: 4px 0 0;
  color: #fff;
  font-size: clamp(32px, 4.3vw, 58px);
  line-height: 1;
  letter-spacing: -0.05em;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.24);
}

.siteroam-page .catalog-title p {
  color: #72eddf;
}

.siteroam-page .catalog-filter-bar button.active {
  color: #fff;
  background: linear-gradient(135deg, #0fb9a8, #3b82e9);
}

.siteroam-page .category-card {
  color: #112035;
}

.siteroam-page .category-symbol {
  color: #fff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--category-accent), #20d5c2 22%), var(--category-accent));
}

.siteroam-page .category-more {
  color: #0f817b;
}

.siteroam-page .submit-card {
  color: #fff;
  background:
    radial-gradient(circle at 80% 18%, rgba(119, 92, 244, 0.55), transparent 38%),
    linear-gradient(145deg, #075968, #102c57 64%, #281b5a);
}

.siteroam-page .quote-card p {
  line-height: 1.55;
}

.siteroam-page .side-rail {
  border-color: rgba(98, 226, 215, 0.27);
  background: rgba(4, 20, 35, 0.72);
}

.siteroam-page .side-rail button {
  color: rgba(225, 248, 248, 0.76);
}

.siteroam-page .quick-dock {
  border-color: rgba(103, 231, 219, 0.34);
  background: rgba(4, 19, 34, 0.78);
}

.site-footer {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  width: min(1540px, 100%);
  align-items: center;
  gap: 24px;
  margin: 34px auto 0;
  padding: 23px 24px 28px;
  border: 1px solid rgba(112, 231, 221, 0.22);
  border-radius: 26px;
  background: rgba(4, 18, 33, 0.76);
  box-shadow: 0 22px 62px rgba(0, 8, 20, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(26px);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer .footer-brand > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-weight: 900;
}

.footer-brand p,
.site-footer > p {
  margin: 0;
}

.footer-brand b,
.footer-brand small {
  display: block;
}

.footer-brand b {
  font-size: 16px;
}

.footer-brand small {
  max-width: 430px;
  margin-top: 4px;
  color: rgba(222, 243, 245, 0.64);
  font-size: 10px;
  line-height: 1.45;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.site-footer nav a {
  color: rgba(235, 250, 251, 0.82);
  font-size: 11px;
}

.site-footer nav a:hover {
  color: #76eadc;
}

.footer-share {
  display: flex;
  gap: 7px;
}

.footer-share a,
.footer-share button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(121, 231, 221, 0.24);
  border-radius: 11px;
  color: #dffcf8;
  background: rgba(255, 255, 255, 0.07);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.site-footer > p {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid rgba(180, 235, 232, 0.13);
  color: rgba(215, 237, 239, 0.48);
  font-size: 9px;
  text-align: center;
}

.site-toast {
  position: fixed;
  right: 24px;
  bottom: 112px;
  z-index: 240;
  max-width: min(430px, calc(100vw - 32px));
  padding: 14px 17px;
  border: 1px solid rgba(111, 231, 218, 0.36);
  border-radius: 15px;
  color: #efffff;
  background: rgba(5, 28, 44, 0.94);
  box-shadow: 0 18px 48px rgba(0, 8, 18, 0.35);
  font-size: 12px;
  line-height: 1.5;
  backdrop-filter: blur(22px);
}

.site-toast[hidden] {
  display: none;
}

@media (max-width: 1120px) {
  .siteroam-page .utility-actions > button {
    padding: 0 10px;
  }

  .siteroam-page .hero-copy h1 {
    font-size: 44px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .site-footer > p {
    grid-row: 3;
  }
}

@media (max-width: 820px) {
  .bookmark-prompt {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .bookmark-prompt .bookmark-dismiss {
    position: absolute;
    top: 7px;
    right: 7px;
    min-height: 30px;
  }

  .siteroam-page .hero-search-section {
    padding-top: 15px;
  }

  .hero-copy {
    margin: 0 0 15px;
    text-align: center;
  }

  .hero-copy h1 {
    margin-right: auto;
    margin-left: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand,
  .footer-share,
  .site-footer nav {
    justify-content: center;
  }

  .site-footer nav,
  .site-footer > p {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 680px) {
  .siteroam-page .utility-bar {
    align-items: flex-start;
  }

  .siteroam-page .utility-actions {
    gap: 5px;
  }

  .siteroam-page .utility-actions > button {
    display: inline-flex;
    width: 36px;
    min-width: 36px;
    padding: 0;
    font-size: 0;
  }

  .siteroam-page .utility-actions > button span {
    font-size: 15px;
  }

  .siteroam-page .utility-actions > button[data-cycle-tone] {
    display: none;
  }

  .language-control {
    width: 107px;
    min-height: 36px;
    padding: 0 6px 0 8px;
  }

  .language-control select {
    min-width: 0;
    width: 78px;
    font-size: 11px;
  }

  .bookmark-prompt {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 12px 40px 12px 12px;
  }

  .bookmark-prompt > button:not(.bookmark-dismiss) {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero-copy h1,
  .siteroam-page .hero-copy h1 {
    font-size: 36px;
  }

  .site-footer {
    padding: 21px 15px 25px;
    border-radius: 22px;
  }

  .site-footer nav {
    gap: 10px 15px;
  }

  .site-toast {
    right: 16px;
    bottom: 100px;
    left: 16px;
    max-width: none;
  }
}

/* SiteRoam v3: clearer controls, wider language menu, privacy consent */
.siteroam-page .language-control {
  min-width: 154px;
  border-color: rgba(126, 240, 230, 0.62);
  background: rgba(5, 22, 40, 0.94);
  box-shadow: 0 10px 28px rgba(0, 8, 24, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.siteroam-page .language-control select {
  min-width: 118px;
  color: #fff;
  font-weight: 750;
}

.siteroam-page .utility-actions > button {
  border-color: rgba(126, 240, 230, 0.56);
  color: #fff;
  background: rgba(5, 22, 40, 0.94);
  box-shadow: 0 10px 28px rgba(0, 8, 24, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  font-weight: 750;
}

.siteroam-page .utility-actions > button:hover,
.siteroam-page .utility-actions > button:focus-visible {
  border-color: #73f0e1;
  color: #fff;
  background: #123c55;
  outline: 2px solid rgba(115, 240, 225, 0.34);
  outline-offset: 2px;
}

.siteroam-page .catalog-filter-bar {
  color: #17263a;
  background: rgba(248, 253, 255, 0.96);
}

.siteroam-page .catalog-filter-bar > div > span {
  color: #4b5c70;
  opacity: 1;
}

.siteroam-page .catalog-filter-bar button {
  border-color: #cbd8e4;
  color: #33465c;
  background: #f4f8fb;
  opacity: 1;
}

.siteroam-page .catalog-filter-bar button:hover,
.siteroam-page .catalog-filter-bar button:focus-visible {
  border-color: #3c9ed5;
  color: #0b5e75;
  background: #e6f7f6;
  outline: none;
}

.siteroam-page .catalog-filter-bar button.active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, #0b9f94, #347bd8);
  box-shadow: 0 6px 18px rgba(35, 128, 176, 0.24);
}

.siteroam-page .side-rail {
  width: 88px;
  padding: 10px 7px;
}

.siteroam-page .side-rail button {
  min-height: 54px;
  padding: 6px 4px;
  color: rgba(235, 252, 252, 0.9);
  font-size: 9px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  overflow-wrap: anywhere;
}

.site-footer nav button {
  padding: 0;
  border: 0;
  color: rgba(235, 250, 251, 0.82);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
}

.site-footer nav button:hover {
  color: #76eadc;
}

.cookie-consent {
  position: fixed;
  right: 24px;
  bottom: 96px;
  left: 24px;
  z-index: 320;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  width: min(1040px, calc(100vw - 48px));
  align-items: center;
  gap: 16px;
  margin: auto;
  padding: 17px 18px;
  border: 1px solid rgba(113, 237, 225, 0.5);
  border-radius: 21px;
  color: #eefeff;
  background:
    radial-gradient(circle at 10% 0%, rgba(39, 201, 190, 0.2), transparent 35%),
    rgba(4, 20, 36, 0.97);
  box-shadow: 0 24px 70px rgba(0, 8, 22, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(24px);
}

.cookie-consent-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  color: #062629;
  background: linear-gradient(135deg, #74eddf, #6ab7ff);
  font-size: 22px;
  font-weight: 900;
}

.cookie-consent b {
  display: block;
  font-size: 14px;
}

.cookie-consent p {
  max-width: 700px;
  margin: 5px 0 0;
  color: rgba(224, 246, 248, 0.76);
  font-size: 11px;
  line-height: 1.55;
}

.cookie-consent a {
  display: inline-block;
  margin-top: 5px;
  color: #75e9dc;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent-actions {
  display: flex;
  gap: 8px;
}

.cookie-consent-actions button {
  min-height: 41px;
  padding: 0 14px;
  border: 1px solid rgba(116, 237, 223, 0.34);
  border-radius: 12px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.cookie-consent-actions .cookie-necessary {
  color: #dff8f7;
  background: rgba(255, 255, 255, 0.08);
}

.cookie-consent-actions .cookie-accept {
  color: #062126;
  background: linear-gradient(135deg, #72ebdd, #70b9ff);
}

@media (max-width: 760px) {
  .siteroam-page .language-control {
    width: 132px;
    min-width: 132px;
  }

  .siteroam-page .language-control select {
    width: 101px;
    min-width: 0;
  }

  .cookie-consent {
    right: 14px;
    bottom: 88px;
    left: 14px;
    grid-template-columns: auto minmax(0, 1fr);
    width: auto;
    gap: 11px;
    padding: 15px;
  }

  .cookie-consent-actions {
    grid-column: 1 / -1;
  }

  .cookie-consent-actions button {
    flex: 1;
  }
}

@media (max-width: 470px) {
  .cookie-consent {
    grid-template-columns: 1fr;
  }

  .cookie-consent-icon {
    display: none;
  }

  .cookie-consent-actions {
    grid-column: 1;
    flex-direction: column-reverse;
  }
}
