@font-face {
  font-family: "Oranienbaum";
  src: url("/assets/oranienbaum.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Rampart One";
  src: url("/assets/rampart-one.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

:root {
  color-scheme: dark;
  --bg: #0a0a12;
  --surface: #12121d;
  --surface-raised: #191927;
  --border: #26263a;
  --lime: #d4ff3a;
  --teal: #4df0e4;
  --violet: #b48cff;
  --amber: #ffc97a;
  --url: #6fbfb5;
  --text: #edeef4;
  --text-secondary: #9b9bad;
  --text-muted: #55556a;
  --magenta: #ff4d7e;
  --font-body: "Oranienbaum", Georgia, serif;
  --moe-primary: var(--lime);
  --moe-primary-strong: var(--lime);
  --moe-primary-soft: #d4ff3a1f;
  --moe-on-primary: var(--bg);
  --moe-bg: var(--bg);
  --moe-bg-pattern: none;
  --moe-surface: var(--surface);
  --moe-surface-2: var(--surface-raised);
  --moe-text: var(--text);
  --moe-text-soft: var(--text-secondary);
  --moe-outline: var(--border);
  --moe-plum: var(--text);
  --moe-highlight: #ffffff1a;
  --moe-shadow-soft: 0 18px 46px -20px #000;
  --moe-shadow-pop: none;
  --moe-ring: 0 0 0 3px #d4ff3a38;
  --moe-border-w: 1px;
  --moe-radius-sm: 8px;
  --moe-radius: 12px;
  --moe-danger-soft: #ff4d7e1f;
  --moe-danger-deep: #ff8aa5;
  --moe-sakura-soft: #ff4d7e1f;
  --moe-mint-soft: #4df0e41f;
  --moe-sora-soft: #4df0e41f;
  --moe-lemon-soft: #ffc97a24;
  --moe-lavender-soft: #b48cff1f;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f5ed;
  --surface: #ffffff;
  --surface-raised: #e9ecdf;
  --border: #c8cec0;
  --lime: #557800;
  --teal: #087d76;
  --violet: #7952b3;
  --amber: #9a6419;
  --url: #28786e;
  --text: #20221d;
  --text-secondary: #555c52;
  --text-muted: #798073;
  --magenta: #b72d54;
  --moe-primary-soft: #5578001a;
  --moe-ring: 0 0 0 3px #55780030;
  --moe-danger-soft: #b72d541a;
  --moe-danger-deep: #9f2347;
  --moe-lemon-soft: #9a64191f;
}

html {
  min-width: 320px;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body.moe {
  margin: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 16px;
}

button,
input,
select {
  font: inherit;
}

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

button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: none;
  box-shadow: var(--moe-ring);
}

button {
  color: inherit;
}

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

.ambient {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
}

.glow-lime {
  top: 24%;
  left: calc(50% - 180px);
  width: 360px;
  height: 360px;
  opacity: 0.1;
  background: radial-gradient(circle, #d4ff3a 0, #d4ff3a00 70%);
}

.glow-teal {
  right: 3%;
  bottom: 4%;
  width: 400px;
  height: 400px;
  opacity: 0.07;
  background: radial-gradient(circle, #4df0e4 0, #4df0e400 70%);
}

.glow-violet {
  bottom: 5%;
  left: 2%;
  width: 340px;
  height: 340px;
  opacity: 0.07;
  background: radial-gradient(circle, #b48cff 0, #b48cff00 70%);
}

.butterfly {
  display: inline-block;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  color: var(--lime);
  background: currentColor;
  -webkit-mask: url("/assets/butterfly.svg") center / contain no-repeat;
  mask: url("/assets/butterfly.svg") center / contain no-repeat;
  filter: drop-shadow(0 0 7px #d4ff3a66);
}

.flutter {
  position: absolute;
}

.flutter-1 {
  top: 26%;
  left: 22%;
  width: 16px;
  height: 16px;
  color: var(--teal);
  opacity: 0.8;
  rotate: -18deg;
}

.flutter-2 {
  top: 23%;
  right: 23%;
  width: 20px;
  height: 20px;
  opacity: 0.9;
  rotate: 14deg;
}

.flutter-3 {
  right: 19%;
  bottom: 34%;
  width: 13px;
  height: 13px;
  color: var(--violet);
  opacity: 0.7;
  rotate: 24deg;
}

.flutter-4 {
  bottom: 35%;
  left: 17%;
  width: 18px;
  height: 18px;
  opacity: 0.6;
  rotate: -28deg;
}

.star {
  position: absolute;
  width: 10px;
  height: 10px;
  opacity: 0.5;
  background: var(--text);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

.star-1 { top: 19%; left: 29%; }
.star-2 { top: 35%; right: 27%; width: 8px; height: 8px; background: var(--lime); }
.star-3 { bottom: 22%; left: 26%; width: 9px; height: 9px; background: var(--violet); }
.star-4 { top: 47%; right: 22%; width: 7px; height: 7px; }

.app-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100dvh;
}

.app-header {
  display: grid;
  grid-template-columns: 136px minmax(0, 600px) minmax(max-content, 1fr);
  align-items: center;
  gap: 28px;
  padding: 18px 40px;
}

.app-home {
  display: flex;
  width: 136px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  border-radius: 8px;
  line-height: 1;
  text-decoration: none;
}

.brand-jp {
  position: relative;
  display: inline-block;
  font-family: "Rampart One", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 36px;
  text-shadow: 0 0 12px #d4ff3a59;
  white-space: nowrap;
}

.brand-jp::before,
.brand-jp::after {
  position: absolute;
  inset: 0;
  content: attr(data-text);
  pointer-events: none;
}

.brand-jp::before {
  left: 2px;
  top: -1px;
  color: var(--magenta);
  opacity: 0.25;
  text-shadow: none;
}

.brand-jp::after {
  left: -1px;
  top: 1px;
  color: var(--teal);
  opacity: 0.3;
  text-shadow: none;
}

.brand-wordmark {
  display: none;
}

.search-form {
  display: flex;
  width: 600px;
  max-width: 100%;
  height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 14px 0 22px;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(90deg, #d4ff3a73, #4df0e44d, #b48cff73) border-box;
  border: 1px solid transparent;
  border-radius: 23px;
}

.search-form:focus-within {
  box-shadow: 0 0 30px #d4ff3a16, var(--moe-ring);
}

.search-box {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.search-input {
  width: 100%;
  height: 42px;
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 17px;
  line-height: 1.2;
}

.search-input:focus-visible {
  box-shadow: none;
}

.search-input::placeholder {
  color: #8a8aa0;
  opacity: 1;
}

.search-input::-webkit-search-cancel-button {
  filter: grayscale(1);
}

.search-button {
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 36px;
  padding: 0;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.search-button .butterfly {
  width: 20px;
  height: 20px;
}

.search-button:hover .butterfly {
  filter: drop-shadow(0 0 10px #d4ff3aaa);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.icon-button,
.sign-in {
  min-height: 34px;
  padding: 6px 12px;
  color: var(--violet);
  background: transparent;
  border: 1px solid #b48cff80;
  border-radius: 16px;
  cursor: pointer;
}

.icon-button {
  width: 34px;
  padding: 0;
  color: var(--text-secondary);
  border-color: var(--border);
  border-radius: 50%;
  font-family: system-ui, sans-serif;
}

.sign-in:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.app-tagline {
  display: none;
}

.view-nav {
  margin: 0 40px;
  padding-left: 164px;
  border-bottom: 1px solid #1d1d2c;
}

.view-tabs {
  display: flex;
  align-items: center;
  gap: 34px;
}

.view-tab {
  position: relative;
  min-height: 39px;
  padding: 4px 0 11px;
  color: var(--text-secondary);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 16px;
  cursor: pointer;
}

.view-tab[aria-selected="true"] {
  color: var(--text);
}

.view-tab[aria-selected="true"]::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--lime);
  content: "";
}

.view-tab:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.controls {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 14px 40px 0 204px;
  color: var(--text-muted);
  font-size: 13px;
}

.mode-tabs,
.filters {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mode-tabs {
  gap: 2px;
  padding: 2px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  border: 1px solid var(--border);
  border-radius: 15px;
}

.mode-tab {
  padding: 2px 11px;
  color: var(--text-muted);
  background: transparent;
  border: 0;
  border-radius: 11px;
  font-size: 12px;
  line-height: 16px;
  cursor: pointer;
}

.mode-tab[aria-selected="true"] {
  color: var(--lime);
  background: #d4ff3a12;
}

.select-chip,
.time-filter {
  display: flex;
  min-height: 30px;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 15px;
}

.select-chip[data-active="true"],
.time-filter[data-active="true"] {
  color: var(--teal);
  border-color: #4df0e438;
  background: #4df0e40a;
}

.select-chip select,
.filter-button,
.clear-button {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font-size: 12px;
}

.select-chip select {
  max-width: 86px;
  cursor: pointer;
}

.select-chip option {
  color: var(--text);
  background: var(--surface);
}

.filter-button {
  display: flex;
  min-height: 28px;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.chevron {
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  rotate: 45deg;
  translate: 0 -2px;
}

.clear-button {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
}

.time-popover {
  width: 280px;
  padding: 14px;
  color: var(--text);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 20px 70px #0009;
  font-size: 14px;
}

.time-options {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.time-options button {
  width: 100%;
  padding: 8px 10px;
  color: var(--text-secondary);
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
}

.time-options button:hover,
.time-options button[aria-pressed="true"] {
  color: var(--lime);
  background: #d4ff3a10;
}

.time-custom {
  display: grid;
  gap: 9px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.time-custom > p {
  margin: 0;
  color: var(--text-muted);
  font-size: 12px;
}

.time-custom__row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.time-custom__row input {
  min-width: 0;
  padding: 5px 7px;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
}

.app-main {
  width: 660px;
  max-width: calc(100% - 244px);
  margin: 20px 40px 40px 204px;
}

.did-you-mean,
.search-meta {
  margin: 0;
  color: #5c6076;
  font-size: 13px;
  line-height: 1.5;
}

.did-you-mean {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.did-you-mean a {
  color: var(--lime);
  text-underline-offset: 3px;
}

.search-output {
  min-width: 0;
}

.results {
  display: flex;
  flex-direction: column;
  gap: 34px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.result-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.result-card--with-image {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 18px;
  align-items: start;
}

.result-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.result-url {
  margin: 0;
  overflow: hidden;
  color: var(--url);
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-title {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.25;
}

.result-title a {
  color: var(--text);
  text-decoration: none;
}

.result-title a:hover {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.result-snippet {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  overflow-wrap: anywhere;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 21px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.result-snippet mark {
  padding: 0;
  color: #dcebb5;
  background: transparent;
}

:root[data-theme="light"] .result-snippet mark {
  color: #466600;
}

.result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.4;
}

.result-thumbnail {
  display: block;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid #4df0e433;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
}

.result-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-results {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.image-card {
  min-width: 0;
}

.image-link {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
  color: inherit;
  border-radius: 10px;
  text-decoration: none;
}

.image-frame {
  display: block;
  overflow: hidden;
  width: 100%;
  background: var(--surface);
  border: 1px solid #4df0e440;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
}

.image-card:nth-child(3n + 2) .image-frame {
  border-color: #d4ff3a40;
}

.image-card:nth-child(3n) .image-frame {
  border-color: #b48cff40;
}

.image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 180ms ease-out;
}

.image-link:hover .image-frame img {
  scale: 1.025;
}

.image-caption {
  overflow: hidden;
  color: #9fd8d0;
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-card:nth-child(3n + 2) .image-caption { color: #c9d8a8; }
.image-card:nth-child(3n) .image-caption { color: #c0b0e0; }

.image-source {
  overflow: hidden;
  margin: -6px 0 0;
  color: var(--text-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-searches {
  margin-top: 36px;
}

.related-searches h2 {
  margin: 0 0 14px;
  color: #5c6076;
  font-size: 13px;
  font-weight: 400;
}

.related-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.related-chip {
  padding: 8px 17px;
  color: #c9d8a8;
  background: transparent;
  border: 1px solid #d4ff3a59;
  border-radius: 19px;
  font-size: 14px;
  cursor: pointer;
}

.related-chip:nth-child(3n + 2) {
  color: #9fd8d0;
  border-color: #4df0e459;
}

.related-chip:nth-child(3n) {
  color: #c0b0e0;
  border-color: #b48cff59;
}

.related-chip:hover {
  background: #ffffff08;
}

.status-region {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}

.status-region:empty {
  display: none;
}

.loading-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 14px;
}

.skeleton-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.skeleton-card .moe-skeleton {
  display: block;
  height: 12px;
  background: linear-gradient(90deg, #ffffff05, #ffffff10, #ffffff05);
  border-radius: 4px;
}

.moe-alert {
  padding: 16px 18px;
  background: #12121dcc;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: none;
}

.moe-alert__title {
  color: var(--text);
  font-family: var(--font-body);
  font-size: 18px;
}

.moe-alert__body {
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 14px;
}

.pagination-wrap {
  margin-top: 38px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination .moe-page {
  display: inline-flex;
  min-width: 32px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 16px;
  box-shadow: none;
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
}

.pagination .moe-page[aria-current="page"] {
  color: var(--lime);
  background: transparent;
  border-color: #d4ff3a59;
  box-shadow: none;
}

.pagination .moe-page:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.app-footer {
  display: flex;
  margin-top: auto;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 24px;
  color: #4e5266;
  font-size: 13px;
}

.tea-party {
  color: #a8b56a;
}

:root[data-view="home"] .app-header {
  display: flex;
  width: 100%;
  max-width: 760px;
  min-height: 0;
  margin: auto;
  flex-direction: column;
  gap: 18px;
  padding: 64px 24px;
}

:root[data-view="home"] .app-home {
  width: 420px;
  max-width: 100%;
  height: 130px;
  flex-direction: column;
  gap: 5px;
}

:root[data-view="home"] .brand-jp {
  font-size: 88px;
  line-height: 104px;
  letter-spacing: 4px;
  text-shadow: 0 0 26px #d4ff3a4d;
}

:root[data-view="home"] .brand-wordmark {
  display: block;
  color: #8fa3b8;
  font-size: 22px;
  letter-spacing: 14px;
  line-height: 30px;
  text-indent: 14px;
}

:root[data-view="home"] .search-form {
  width: 640px;
  height: 58px;
  margin-top: 26px;
  padding-right: 16px;
  padding-left: 26px;
  border-radius: 29px;
  box-shadow: 0 0 38px #d4ff3a26;
}

:root[data-view="home"] .search-input {
  height: 54px;
  font-size: 19px;
}

:root[data-view="home"] .search-button .butterfly {
  width: 26px;
  height: 26px;
}

:root[data-view="home"] .header-actions {
  position: absolute;
  top: 18px;
  right: 40px;
}

:root[data-view="home"] .sign-in {
  display: none;
}

:root[data-view="home"] .app-tagline {
  display: block;
  margin: 4px 0 0;
  color: #5a5f75;
  font-size: 15px;
  font-style: italic;
}

:root[data-view="home"] .view-nav,
:root[data-view="home"] .controls,
:root[data-view="home"] .app-main {
  display: none;
}

:root[data-view="pages"] .flutter-1,
:root[data-view="pages"] .flutter-4,
:root[data-view="pages"] .star,
:root[data-view="images"] .flutter,
:root[data-view="images"] .star {
  display: none;
}

:root[data-view="pages"] .flutter-2 {
  top: 24%;
  right: 5%;
  opacity: 0.45;
}

:root[data-view="pages"] .flutter-3 {
  right: 7%;
  bottom: 28%;
  opacity: 0.35;
}

:root[data-view="images"] .app-main {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 24px 122px 40px;
}

:root[data-view="images"] .search-meta,
:root[data-view="images"] .did-you-mean {
  margin-bottom: 18px;
}

:root[data-view="images"] .related-searches,
:root[data-view="images"] .pagination-wrap {
  max-width: 660px;
}

@media (max-width: 1000px) {
  :root[data-view="pages"] .flutter,
  :root[data-view="pages"] .star {
    display: none;
  }

  .app-header {
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: 18px;
    padding-inline: 28px;
  }

  .app-home {
    width: 120px;
  }

  .sign-in {
    display: none;
  }

  .view-nav {
    margin-inline: 28px;
    padding-left: 138px;
  }

  .controls {
    margin-left: 166px;
    margin-right: 28px;
    flex-wrap: wrap;
  }

  .app-main {
    max-width: calc(100% - 194px);
    margin-left: 166px;
    margin-right: 28px;
  }

  :root[data-view="images"] .app-main {
    max-width: none;
    margin: 0;
    padding-inline: 60px;
  }

  .image-results {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .app-header {
    grid-template-areas:
      "brand actions"
      "search search";
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px 16px;
    padding: 14px 16px 10px;
  }

  .app-home { grid-area: brand; }
  .search-form { grid-area: search; width: 100%; }
  .header-actions { grid-area: actions; }

  .view-nav {
    margin-inline: 16px;
    padding-left: 0;
  }

  .view-tabs {
    gap: 28px;
  }

  .controls {
    margin: 12px 16px 0;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .controls::-webkit-scrollbar { display: none; }
  .mode-tabs,
  .filters { flex: 0 0 auto; }
  .select-chip > span { display: none; }

  .app-main {
    width: auto;
    max-width: none;
    margin: 18px 16px 32px;
  }

  :root[data-view="images"] .app-main {
    margin: 0;
    padding: 20px 16px 32px;
  }

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

  .results {
    gap: 28px;
  }

  .result-card--with-image {
    grid-template-columns: minmax(0, 1fr) 88px;
    gap: 12px;
  }

  .result-title {
    font-size: 19px;
  }

  .app-footer {
    gap: 24px;
    padding-block: 20px;
  }

  :root[data-view="home"] .app-header {
    display: flex;
    gap: 14px;
    padding: 72px 16px 32px;
  }

  :root[data-view="home"] .app-home {
    width: 100%;
    height: auto;
  }

  :root[data-view="home"] .brand-jp {
    font-size: clamp(54px, 16vw, 76px);
    line-height: 1.25;
  }

  :root[data-view="home"] .brand-wordmark {
    font-size: 17px;
    letter-spacing: 10px;
    text-indent: 10px;
  }

  :root[data-view="home"] .search-form {
    height: 54px;
    margin-top: 24px;
    padding-left: 20px;
  }

  :root[data-view="home"] .search-input {
    height: 50px;
    font-size: 17px;
  }

  :root[data-view="home"] .header-actions {
    top: 12px;
    right: 16px;
  }

  :root[data-view="home"] .flutter {
    width: 13px;
    height: 13px;
    opacity: 0.32;
    filter: drop-shadow(0 0 4px #d4ff3a40);
  }

  :root[data-view="home"] .flutter-1 {
    top: 27%;
    left: 4%;
  }

  :root[data-view="home"] .flutter-2 {
    top: 25%;
    right: 4%;
  }

  :root[data-view="home"] .flutter-3,
  :root[data-view="home"] .flutter-4,
  :root[data-view="home"] .star {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .image-frame img {
    transition: none;
  }
}
