:root {
  color-scheme: light;
  --bg: #f6f5f2;
  --surface: #fff;
  --ink: #222022;
  --muted: #66615e;
  --line: #dfddd7;
  --soft: #eceae5;
  --accent: #ff694a;
  --accent-ink: #a63a23;
  --active: #282628;
  --on-active: #fff;
  --card-shadow: 0 2px 4px #29251e05;
  --safe-t: max(env(safe-area-inset-top,0px),var(--tg-safe-area-inset-top,0px));
  --safe-b: max(env(safe-area-inset-bottom,0px),var(--tg-safe-area-inset-bottom,0px));
  --pad: clamp(18px,4vw,56px);
  font-family: Roboto,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  -webkit-text-size-adjust: 100%;
}

:root[data-theme=dark] {
  color-scheme: dark;
  --bg: #19191b;
  --surface: #252427;
  --ink: #f7f4ee;
  --muted: #b6b1ab;
  --line: #414044;
  --soft: #343336;
  --accent-ink: #ff967f;
  --active: #f5f0ea;
  --on-active: #262326;
  --card-shadow: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: calc(var(--safe-t) + var(--tg-content-safe-area-inset-top,0px));
  padding-bottom: var(--safe-b);
  padding-left: max(env(safe-area-inset-left,0px),var(--tg-safe-area-inset-left,0px),var(--tg-content-safe-area-inset-left,0px));
  padding-right: max(env(safe-area-inset-right,0px),var(--tg-safe-area-inset-right,0px),var(--tg-content-safe-area-inset-right,0px));
}

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

button,input,textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  touch-action: manipulation;
}

button {
  border: 0;
  background: transparent;
}

button:disabled {
  cursor: default;
  opacity: .5;
}

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

button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible {
  outline: 3px solid #a44bf1;
  outline-offset: 3px;
}

button:disabled:hover {
  transform: none;
}

svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

img {
  display: block;
  max-width: 100%;
}

h1,h2,h3,p,dl,dd {
  margin: 0;
}

h1,h2,h3 {
  line-height: 1.05;
  letter-spacing: -.046em;
}

h1,h2,h3,strong,b {
  font-weight: 700;
}

main:focus {
  outline: 0;
}

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

.skip:focus {
  position: fixed;
  z-index: 10;
  background: var(--surface);
  padding: 12px;
}

header {
  border-bottom: 1px solid var(--line);
}

.mast,main {
  max-width: 1296px;
  padding-left: var(--pad);
  padding-right: var(--pad);
  margin: 0 auto;
}

.mast {
  height: 77px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  line-height: .95;
}

.brand img {
  width: 35px;
  height: 35px;
}

.brand>span {
  font-size: 39px;
  letter-spacing: -.087em;
  font-weight: 800;
  padding-right: 3px;
  transform: translateY(-2px);
}

.descriptor {
  font-size: 13px;
  line-height: 20px;
  border-left: 1px solid var(--line);
  padding-left: 19px;
  color: var(--muted);
}

#desktop-nav {
  margin-left: auto;
  display: flex;
  gap: 5px;
}

#desktop-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
  padding: 11px 15px;
  border-radius: 11px;
  color: var(--muted);
}

#desktop-nav a.active {
  background: var(--soft);
  color: var(--ink);
}

.navicon {
  display: flex;
  position: relative;
}

#desktop-nav em,.navicon b {
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
  border-radius: 9px;
  background: var(--accent);
  color: #201c1a;
  min-width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
}

.theme,.round {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
}

#bottom-nav {
  display: none;
}

main {
  padding-top: 26px;
  padding-bottom: 55px;
}

.feature {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #211b1a;
  color: white;
  border-radius: 24px;
  min-height: 282px;
  display: flex;
  align-items: center;
}

.feature-art {
  position: absolute;
  z-index: -2;
  right: 0;
  top: 0;
  width: 70%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 35%;
}

.feature:after {
  content: '';
  position: absolute;
  pointer-events: none;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,#211b1a 20%,#211b1af7 31%,#211b1a85 46%,transparent 58%);
}

.feature-content {
  padding: 32px 4.2% 33px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.overline,.eyebrow,.maker {
  font-family: ui-monospace,'SFMono-Regular',Consolas,monospace;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 650;
}

.overline {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #ff9d80;
  margin-bottom: 18px;
}

.feature h1 {
  font-size: clamp(36px,4.1vw,57px);
  line-height: 1.04;
  letter-spacing: -.059em;
  font-weight: 720;
}

.feature h1 em {
  font-weight: 500;
  font-family: Georgia,serif;
  color: #fc926f;
  font-size: .70em;
  letter-spacing: -.08em;
  margin-right: .07em;
}

.feature-action,.primary,.basic {
  border-radius: 11px;
  padding: 12px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 650;
  min-height: 43px;
}

.feature-action {
  background: var(--accent);
  color: #251911;
  margin-top: 23px;
}

.feature-action svg {
  margin-left: 5px;
}

.primary {
  background: var(--active);
  color: var(--on-active);
}

.basic {
  background: var(--soft);
  color: var(--ink);
}

.listing {
  margin-top: 32px;
}

.section-head,.title-line {
  display: flex;
  align-items: center;
}

.section-head {
  gap: 14px;
  justify-content: space-between;
}

.title-line {
  gap: 12px;
}

.section-head h2,.section-head h1 {
  font-size: 36px;
  line-height: 1.15;
}

.number,#comment-count {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font: 600 13px ui-monospace,monospace;
  color: var(--muted);
}

.search {
  width: min(300px,43%);
  height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 12px;
  padding: 0 13px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
}

.search:focus-within {
  border-color: var(--accent-ink);
}

.search input {
  border: none;
  background: transparent;
  width: 100%;
  min-width: 0;
  height: 100%;
  outline: 0!important;
  color: var(--ink);
  font-size: 14px;
}

.search input::placeholder {
  color: var(--muted);
  opacity: .9;
}

.filters {
  display: flex;
  gap: 7px;
  margin: 15px 0 17px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar {
  display: none;
}

.pill {
  min-height: 33px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 550;
  background: var(--surface);
  white-space: nowrap;
}

.pill[aria-pressed=true] {
  background: var(--active);
  color: var(--on-active);
  border-color: var(--active);
}

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

.card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.art {
  height: clamp(159px,16vw,212px);
  position: relative;
  isolation: isolate;
}

.copper {
  --stage: #f1e0d5;
  --tone: #ac5433;
}

.lilac {
  --stage: #e8e3f0;
  --tone: #6f5c92;
}

.sage {
  --stage: #e1e9e0;
  --tone: #657966;
}

.ice {
  --stage: #e2eaf1;
  --tone: #5e7a94;
}

.sky {
  --stage: #deebed;
  --tone: #4d8293;
}

.lemon {
  --stage: #edeccb;
  --tone: #757929;
}

.art,.detail-art,.mini-art,.tiny-art {
  background: var(--stage);
  color: #312e31;
}

.art-link,.detail-art,.mini-art,.tiny-art {
  display: grid;
  place-items: center;
  overflow: hidden;
}

.art-link {
  width: 100%;
  height: 100%;
}

.art-link:before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center,#fff5,transparent 70%);
  pointer-events: none;
}

.phone-img {
  height: 85%;
  width: auto;
  max-width: 84%;
  object-fit: contain;
  mix-blend-mode: multiply;
  position: relative;
}

.art .phone-img {
  transform: rotate(-9deg);
  transition: transform .2s;
}

.maker {
  position: absolute;
  top: 13px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  color: #49403e;
  font-size: 9px;
  letter-spacing: .12em;
}

.maker i,.eyebrow i,.card-foot i {
  display: inline-block;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  background: var(--tone);
}

.add {
  position: absolute;
  right: 9px;
  top: 8px;
  display: grid;
  place-items: center;
  border: 1px solid #332d2a22;
  border-radius: 50%;
  height: 31px;
  width: 31px;
  color: #312d2c;
  background: #ffffffa8;
}

.add:after {
  content: '';
  position: absolute;
  inset: -6px;
}

.add.selected {
  background: #272429;
  color: white;
}

.cardtext {
  display: block;
  padding: 17px 19px 13px;
}

.cardtext h3 {
  font-size: 24px;
  line-height: 1.12;
}

.cardtext p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 5px;
  overflow-wrap: anywhere;
}

.card-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 11px;
  margin-top: 15px;
  font-size: 12px;
  color: var(--muted);
}

.card-foot span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-foot i {
  width: 3px;
  height: 3px;
  background: var(--muted);
}

.card-foot>svg {
  margin-left: auto;
  color: var(--ink);
}

.standalone {
  margin-top: 12px;
}

.silicon {
  width: 99px;
  height: 99px;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  transform: rotate(-9deg);
}

.silicon:before,.silicon:after {
  content: '';
  position: absolute;
  inset: 0 8%;
  z-index: -1;
  background: repeating-linear-gradient(90deg,#7c746a 0 3px,transparent 3px 7px);
}

.silicon:after {
  transform: rotate(90deg);
}

.die {
  background: linear-gradient(145deg,#585259,#1c1b1d 78%);
  color: #f6efe5;
  width: 88%;
  height: 88%;
  border: 3px double #847a77;
  border-radius: 7px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 8px;
  box-shadow: 3px 5px 6px #2a202237;
}

.die small {
  font: 8px ui-monospace,monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #e5cebb;
}

.die b {
  font-size: 22px;
  letter-spacing: -.06em;
}

.empty,.compare-prompt,.loading {
  text-align: center;
  margin: 20px auto;
  grid-column: 1/-1;
  color: var(--muted);
  padding: 40px 14px;
}

.empty h3,.empty h1,.compare-prompt h2 {
  color: var(--ink);
  margin: 12px 0;
}

.empty button,.empty a {
  margin-top: 12px;
}

.reading {
  max-width: 870px;
  margin: 0 auto;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 13px;
  padding: 7px 0 15px;
}

.detail-hero {
  background: var(--surface);
  display: grid;
  grid-template-columns: 34% 1fr;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 20px;
}

.detail-art {
  min-height: 249px;
  position: relative;
}

.detail-art .phone-img {
  position: absolute;
  top: 9%;
  height: 82%;
  transform: rotate(-8deg);
}

.detail-intro {
  padding: 28px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .08em;
}

.eyebrow i {
  background: var(--accent);
  width: 4px;
  height: 4px;
}

.detail-intro h1 {
  font-size: clamp(32px,4.5vw,48px);
  margin-top: 10px;
}

.quick {
  display: flex;
  gap: 18px;
  margin: 19px 0 21px;
}

.quick>span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.quick strong {
  font-size: 16px;
  line-height: 1.1;
}

.quick small,.muted,.guest,.compose-foot small {
  color: var(--muted);
}

.quick small,.compose-foot small {
  font-size: 12px;
}

.spec-box,.sources,.comments {
  padding: 20px 23px 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 17px;
  margin-top: 12px;
}

.spec-box h2,.sources h2,.comments h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 13px;
}

.spec-box h2 svg,.comments h2 svg {
  color: var(--accent-ink);
}

.spec-row {
  display: grid;
  grid-template-columns: 44% 1fr;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
  font-size: 14px;
  line-height: 1.45;
}

.spec-row dt,.compare-table th[scope=row] {
  color: var(--muted);
}

.spec-row dd {
  font-weight: 550;
}

.spec-row a,.compare-table a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb,var(--accent-ink) 40%,transparent);
  text-underline-offset: 3px;
}

.spec-row a svg,.compare-table a svg {
  margin-left: 3px;
}

.sources a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.sources a svg:last-child {
  margin-left: auto;
}

.compare-page {
  margin-top: 10px;
}

.seg {
  display: flex;
  gap: 3px;
  background: var(--soft);
  padding: 3px;
  border-radius: 12px;
}

.seg button {
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.seg button[aria-pressed=true] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 4px #0001;
}

.slots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 21px;
}

.slot {
  display: flex;
  align-items: center;
  gap: 11px;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 15px;
  text-align: left;
  min-width: 0;
  min-height: 86px;
}

.slot.unfilled {
  border: 1.5px dashed var(--muted);
}

.slot-plus {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--soft);
}

.slot-label {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.slot-label small,.sheet-row small {
  font-size: 12px;
  color: var(--muted);
}

.slot-label strong {
  font-size: 16px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.slot-change {
  color: var(--muted);
}

.mini-art,.tiny-art {
  width: 56px;
  height: 62px;
  border-radius: 10px;
  position: relative;
  flex: none;
}

.mini-art .phone-img,.tiny-art .phone-img {
  position: absolute;
  height: 85%;
}

.mini-art .silicon,.tiny-art .silicon {
  transform: scale(.4) rotate(-7deg);
  position: absolute;
}

.compare-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 22px 0 10px;
  font-size: 13px;
  color: var(--muted);
}

.switch {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  color: var(--ink);
}

.switch input {
  position: absolute;
  opacity: 0;
}

.switch span {
  width: 36px;
  height: 21px;
  border-radius: 20px;
  background: var(--soft);
  border: 1px solid var(--muted);
  padding: 2px;
  display: flex;
}

.switch span:after {
  content: '';
  height: 15px;
  width: 15px;
  background: var(--muted);
  border-radius: 100%;
  transition: transform .15s;
}

.switch input:checked+span {
  background: var(--accent);
  border-color: var(--accent);
}

.switch input:checked+span:after {
  background: #281e19;
  transform: translateX(14px);
}

.switch input:focus-visible+span {
  outline: 3px solid #a44bf1;
}

.compare-table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
  font-size: 14px;
  line-height: 1.45;
}

.compare-table th,.compare-table td {
  text-align: left;
  overflow-wrap: anywhere;
  padding: 10px 8px;
  vertical-align: top;
  border-top: 1px solid var(--line);
}

.compare-table th:first-child {
  width: 31%;
  padding-left: 0;
}

.compare-table th[scope=row] {
  font-weight: 400;
}

.compare-table thead {
  font-size: 12px;
  color: var(--muted);
}

.compare-prompt {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-top: 14px;
}

.compare-prompt>svg {
  color: var(--accent-ink);
}

.compare-prompt p {
  font-size: 14px;
}

.comments {
  padding-bottom: 18px;
}

.comments h2 {
  margin-bottom: 14px;
}

.comments textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  padding: 12px;
  resize: vertical;
  font-size: 15px;
}

.compose-foot,.byline,.confirm {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}

.compose-foot {
  margin-top: 6px;
}

.comment {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 15px 0;
}

.comment-list {
  margin-top: 15px;
}

.initial {
  height: 34px;
  width: 34px;
  display: grid;
  place-items: center;
  background: #efd9ce;
  color: #66331e;
  border-radius: 50%;
  font-weight: 700;
}

.byline {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.byline small,.delete {
  color: var(--muted);
  font-size: 12px;
}

.comment p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.5;
  font-size: 14px;
  margin-top: 5px;
}

.delete {
  padding: 7px 0;
}

.guest,.muted,.comment-more {
  font-size: 14px;
  line-height: 1.5;
}

.guest {
  background: var(--soft);
  padding: 12px;
  border-radius: 10px;
}

.comment-more {
  color: var(--muted);
}

#comment-count:empty {
  display: none;
}

dialog {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 23px;
  padding: 0;
  max-width: 440px;
  width: calc(100% - 26px);
  max-height: 80vh;
  max-height: 80dvh;
  box-shadow: 0 16px 90px #0003;
}

dialog::backdrop {
  background: #19151b72;
  backdrop-filter: blur(3px);
}

#sheet-content {
  padding: 20px;
}

.sheet-top {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.sheet-top h2 {
  font-size: 24px;
}

.round {
  width: 34px;
  height: 34px;
  background: var(--soft);
  border: 0;
}

.sheet-row {
  width: 100%;
  text-align: left;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 4px;
  border-top: 1px solid var(--line);
}

.sheet-row>span:not(.tiny-art) {
  min-width: 0;
}

.sheet-row strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 15px;
}

.sheet-row>svg:last-child:not(:first-child),.sheet-row>small:last-child {
  margin-left: auto;
}

.tiny-art {
  width: 38px;
  height: 43px;
}

.tiny-art .silicon {
  transform: scale(.29) rotate(-7deg);
}

.picker-search {
  width: 100%;
  margin-bottom: 9px;
}

.remove-slot {
  color: var(--accent-ink);
  padding: 12px 0;
  font-weight: 600;
}

.confirm {
  justify-content: flex-end;
}

.sheet-grip {
  display: none;
}

#notice {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%,8px);
  background: var(--active);
  color: var(--on-active);
  padding: 11px 16px;
  border-radius: 13px;
  box-shadow: 0 4px 18px #0003;
  opacity: 0;
  transition: .18s ease;
  pointer-events: none;
  z-index: 5;
  font-size: 13px;
  text-align: center;
  max-width: 90vw;
  width: max-content;
}

#notice.show {
  transform: translate(-50%,0);
  opacity: 1;
}

@media(hover:hover) {
  .art-link:hover .phone-img {
    transform: translateY(-2px) rotate(-6deg);
  }

  .cardtext:hover h3,.sources a:hover {
    color: var(--accent-ink);
  }

  .feature-action:hover {
    background: #ff8b70;
  }

  .pill:hover:not([aria-pressed=true]),.theme:hover,.sheet-row:hover:not(:disabled) {
    background: var(--soft);
  }

}

@media(max-width:760px) {
  :root {
    --pad: 16px;
  }

  .mast {
    height: 60px;
    gap: 12px;
  }

  .brand img {
    width: 31px;
    height: 31px;
  }

  .brand>span {
    font-size: 34px;
  }

  .descriptor {
    font-size: 12px;
    padding-left: 12px;
  }

  .theme {
    margin-left: auto;
    width: 35px;
    height: 35px;
  }

  #desktop-nav {
    display: none;
  }

  #bottom-nav {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 3px;
    bottom: 0;
    z-index: 3;
    left: 0;
    right: 0;
    border-top: 1px solid var(--line);
    background: var(--surface);
    padding: 6px max(10px,var(--tg-safe-area-inset-right,0px)) calc(6px + var(--safe-b) + var(--tg-content-safe-area-inset-bottom,0px)) max(10px,var(--tg-safe-area-inset-left,0px));
  }

  #bottom-nav a {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-direction: column;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 600;
    min-width: 72px;
    padding: 3px 4px;
  }

  #bottom-nav a.active {
    color: var(--accent-ink);
  }

  .navicon {
    padding: 2px 13px;
  }

  .active .navicon {
    border-radius: 9px;
    background: color-mix(in srgb,var(--accent) 18%,transparent);
  }

  .navicon b {
    position: absolute;
    right: 2px;
    top: -4px;
    border: 1px solid var(--surface);
  }

  main {
    padding-top: 15px;
    padding-bottom: calc(86px + var(--safe-b) + var(--tg-content-safe-area-inset-bottom,0px));
  }

  .feature {
    border-radius: 19px;
    min-height: 222px;
  }

  .feature-art {
    width: 72%;
    object-position: 58% 28%;
  }

  .feature:after {
    background: linear-gradient(90deg,#211b1a 10%,#211b1af2 32%,#211b1a8c 52%,transparent 75%);
  }

  .feature-content {
    padding: 23px;
  }

  .feature h1 {
    font-size: clamp(26px,5.6vw,40px);
  }

  .overline {
    margin-bottom: 16px;
  }

  .feature-action {
    margin-top: 21px;
    padding: 10px 13px;
    min-height: 39px;
    font-size: 13px;
  }

  .listing {
    margin-top: 25px;
  }

  .section-head h2,.section-head h1 {
    font-size: 29px;
  }

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

  .art {
    height: clamp(145px,29vw,194px);
  }

  .card {
    border-radius: 15px;
  }

  .cardtext {
    padding: 12px;
  }

  .cardtext h3 {
    font-size: 21px;
  }

  .cardtext p {
    font-size: 12px;
  }

  .card-foot {
    margin-top: 10px;
    padding-top: 8px;
    font-size: 11px;
    gap: 6px;
  }

  .reading {
    max-width: 100%;
  }

  .detail-intro {
    padding: 21px;
  }

  .quick {
    gap: 12px;
  }

  .slot-label strong {
    font-size: 14px;
  }

  .mini-art {
    width: 42px;
    height: 50px;
  }

  .compare-tools {
    margin-top: 16px;
  }

  #notice {
    bottom: calc(76px + var(--safe-b) + var(--tg-content-safe-area-inset-bottom,0px));
  }

}

@media(max-width:520px) {
  .section-head {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .search {
    width: 100%;
  }

  .title-line {
    gap: 9px;
  }

  .number {
    padding: 3px 7px;
    font-size: 11px;
  }

  .filters {
    margin: 10px 0 13px;
    gap: 6px;
  }

  .pill {
    padding: 6px 13px;
    min-height: 32px;
    font-size: 12px;
  }

  .feature {
    min-height: 207px;
  }

  .feature-art {
    width: 79%;
    object-position: 46% 31%;
  }

  .feature:after {
    background: linear-gradient(90deg,#211b1a 6%,#211b1af5 23%,#211b1a94 53%,transparent 84%);
  }

  .feature-content {
    padding: 20px 16px;
  }

  .feature h1 {
    font-size: clamp(24px,6.3vw,30px);
    line-height: 1.09;
  }

  .feature-action {
    font-size: 12px;
    margin-top: 18px;
    min-height: 37px;
  }

  .overline {
    font-size: 9px;
  }

  .maker {
    left: 9px;
    top: 11px;
    font-size: 8px;
    gap: 4px;
  }

  .maker i {
    width: 4px;
    height: 4px;
  }

  .add {
    width: 27px;
    height: 27px;
    top: 7px;
    right: 7px;
  }

  .art {
    height: 142px;
  }

  .art .phone-img {
    height: 74%;
    transform: translateY(7px) rotate(-9deg);
  }

  .cardtext h3 {
    font-size: 18px;
    letter-spacing: -.045em;
  }

  .cardtext p {
    font-size: 11px;
    min-height: 30px;
    line-height: 1.35;
  }

  .cardtext {
    padding: 11px;
  }

  .card-foot {
    font-size: 10px;
    gap: 5px;
    margin-top: 7px;
  }

  .card-foot span {
    gap: 3px;
  }

  .card-foot>svg {
    width: 12px;
  }

  .card-foot span svg {
    width: 12px;
  }

  .detail-hero {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .detail-art {
    min-height: 179px;
  }

  .detail-intro {
    padding: 17px;
  }

  .detail-intro h1 {
    font-size: 32px;
  }

  .quick {
    gap: 18px;
    margin: 17px 0;
  }

  .quick strong {
    font-size: 16px;
  }

  .detail-intro .primary {
    width: 100%;
  }

  .spec-box,.sources,.comments {
    padding: 16px 14px 9px;
  }

  .spec-box h2,.sources h2,.comments h2 {
    font-size: 19px;
  }

  .spec-row {
    grid-template-columns: 43% 1fr;
    font-size: 13px;
    gap: 8px;
  }

  .seg {
    align-self: flex-start;
  }

  .slots {
    gap: 8px;
    margin-top: 14px;
  }

  .slot {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 11px;
    gap: 6px;
    min-height: 111px;
  }

  .slot-label {
    gap: 2px;
  }

  .slot-label small {
    font-size: 10px;
  }

  .slot-change {
    position: absolute;
    right: 9px;
    top: 11px;
  }

  .compare-tools {
    font-size: 11px;
  }

  .switch {
    gap: 5px;
  }

  .compare-table {
    font-size: 12px;
  }

  .compare-table th,.compare-table td {
    padding: 9px 4px;
  }

  .compare-table thead {
    font-size: 10px;
  }

  .compare-table th:first-child {
    width: 30%;
  }

  .compose-foot {
    align-items: flex-start;
  }

  .compose-foot small {
    max-width: 53%;
  }

  .comments .primary {
    font-size: 12px;
    min-height: 35px;
    padding: 8px 12px;
  }

  .comments {
    padding-bottom: 14px;
  }

  .confirm .primary {
    font-size: 14px;
  }

  dialog {
    max-height: calc(88dvh - var(--safe-t));
    border-radius: 22px 22px 0 0;
    width: 100%;
    max-width: 100%;
    margin: auto 0 0;
  }

  .sheet-grip {
    display: block;
    width: 34px;
    height: 4px;
    background: var(--line);
    border-radius: 9px;
    margin: 0 auto 12px;
  }

  #sheet-content {
    padding: 8px 17px calc(15px + var(--safe-b) + var(--tg-content-safe-area-inset-bottom,0px));
  }

  .picker-search input,.search input,.comments textarea {
    font-size: 16px;
  }

}

@media(max-width:355px) {
  :root {
    --pad: 12px;
  }

  .descriptor {
    font-size: 10px;
  }

  .cards {
    gap: 8px;
  }

  .cardtext {
    padding: 9px;
  }

  .card-foot {
    gap: 3px;
  }

  .art {
    height: 125px;
  }

  .maker {
    font-size: 7px;
  }

  .quick {
    gap: 10px;
  }

  .cardtext h3 {
    font-size: 16px;
  }

  .feature h1 {
    font-size: 23px;
  }

  .compare-table {
    font-size: 11px;
  }

  .compare-tools {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-content {
    padding-left: 13px;
  }

}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    transition-duration: 0s!important;
    animation-duration: 0s!important;
  }

}

.art-link {
  position: absolute;
  inset: 0;
}

.art .phone-img {
  position: absolute;
  top: 12%;
  height: 124%;
  width: auto;
  max-width: 82%;
}

@media(max-width:520px) {
  .art .phone-img {
    top: 14%;
    height: 101%;
    transform: rotate(-9deg);
  }

}
