/* Home dashboard only. Shared page and theme styles remain the source of fonts
   and surface colors; the .card class keeps the Liquid Glass treatment. */
img.ikki-rounded-pet { border-radius: var(--ikki-pet-image-radius, var(--radius-sm, 10px)); }
#ikkiHome {
  --ih-muted: var(--text-secondary, #5e7370);
  --ih-text: var(--text, #1a2b2a);
  --ih-accent: var(--primary, #2f8c7f);
  --ih-line: var(--border, rgba(128, 148, 145, .3));
  --ih-gold: #a67a28;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1192px;
  margin: 0 auto;
  padding: 30px 24px 22px;
  color: var(--ih-text);
  font-family: inherit;
  line-height: 1.5;
}
#ikkiHome[hidden] { display: none !important; }
html[data-ikki-home-route="home"] :is(#initialView, #workspace, #filterView, #familyView) { display: none !important; }
html[data-ikki-home-route="home"] body > .site-footer { display: none !important; }
.site-footer { text-align: center; }
.site-footer .ikki-site-disclaimer,
#ikkiHome .ih-footer .ikki-site-disclaimer {
  max-width: 680px;
  margin: 8px auto 0;
  color: var(--text-muted, var(--ih-muted, #6d6d73));
  font-size: 10px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  text-align: center;
  white-space: normal;
}
#ikkiHome #homeFavoritePets > .ih-empty { min-height: 264px; }
#ikkiHome, #ikkiHome * { box-sizing: border-box; }
#ikkiHome :is(button, a, select) { -webkit-tap-highlight-color: transparent; }
#ikkiHome button {
  color: inherit;
  font: inherit;
  cursor: pointer;
}
#ikkiHome a { color: inherit; text-decoration: none; }
#ikkiHome button:disabled { cursor: default; opacity: .4; }
#ikkiHome :is(button, a, select):focus-visible {
  outline: 2px solid var(--ih-accent);
  outline-offset: 3px;
}
#ikkiHome svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
#ikkiHome .ih-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  margin-bottom: 24px;
}
#ikkiHome .ih-eyebrow {
  margin-bottom: 4px;
  color: var(--ih-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.1px;
}
#ikkiHome .ih-intro h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: -1.1px;
  word-break: keep-all;
}
#ikkiHome .ih-intro > div { min-width: 0; }
#ikkiHome .ih-intro p {
  margin: 4px 0 0;
  color: var(--ih-muted);
  font-size: 12px;
  word-break: keep-all;
}
#ikkiHome .ih-mascot {
  display: block;
  width: 96px;
  height: 96px;
  flex: 0 0 96px;
  margin-right: 6px;
  pointer-events: none;
}
#ikkiHome .ih-mascot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#ikkiHome .ih-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  margin-bottom: 10px;
}
#ikkiHome .ih-section-head h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: -.4px;
}
#ikkiHome .ih-count {
  color: var(--ih-muted);
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 500;
}
#ikkiHome .ih-edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 36px;
  padding: 7px 0 7px 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ih-muted);
  font-size: 11px;
  line-height: 1.4;
  white-space: nowrap;
}
#ikkiHome .ih-edit svg { width: 14px; height: 14px; }
#ikkiHome button.ih-edit:hover { color: var(--ih-accent); }
#ikkiHome .card {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--ih-line);
  border-radius: 18px;
  overflow: hidden;
}
html:not(:is([data-design-theme="liquid-glass"], [data-design-theme="favorite-pet"])) #ikkiHome .card {
  background: var(--card, #fff);
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(26, 43, 42, .06));
}
#ikkiHome .ih-favorite-tools {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 26px;
}
#ikkiHome .ih-tool-favorite {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 98px;
  padding: 18px 34px 18px 17px;
  text-align: left;
}
#ikkiHome .ih-tool-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  border: 1px solid var(--border-light, var(--ih-line));
  border-radius: 13px;
  background: var(--primary-subtle, rgba(47, 140, 127, .06));
  color: var(--ih-accent);
}
#ikkiHome .ih-tool-icon svg { width: 21px; height: 21px; }
#ikkiHome :is(.ih-tool-copy, .ih-tool-favorite > div, .ih-tool-row > div) { min-width: 0; }
#ikkiHome .ih-tool-favorite h3 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.3px;
}
#ikkiHome .ih-tool-favorite p {
  margin: 0;
  color: var(--ih-muted);
  font-size: 10px;
  line-height: 1.6;
  word-break: keep-all;
}
#ikkiHome .ih-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  padding: 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ih-muted);
}
#ikkiHome .ih-star svg { width: 15px; height: 15px; }
#ikkiHome .ih-favorite-star {
  position: absolute;
  top: 4px;
  right: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ih-muted);
}
#ikkiHome .ih-favorite-star svg { width: 13px; height: 13px; fill: none; stroke-width: 1.7; }
#ikkiHome .ih-pet-card > .ih-favorite-star { z-index: 2; }
#ikkiHome .ih-favorite-star:not(button) { top: 15px; right: 14px; }
#ikkiHome :is(.ih-star, .ih-row-star):is(.saved, [aria-pressed="true"]) { color: var(--ih-gold); }
#ikkiHome :is(.ih-star, .ih-row-star):is(.saved, [aria-pressed="true"]) svg { fill: currentColor; }
#ikkiHome button.ih-star:hover { background: var(--primary-subtle, rgba(47, 140, 127, .06)); }
#ikkiHome .ih-two-col {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 23px;
  margin-bottom: 25px;
}
#ikkiHome .ih-two-col > section { min-width: 0; }
#ikkiHome .ih-two-col > section:last-child { display: flex; flex-direction: column; }
#ikkiHome .ih-two-col > section:last-child > .ih-section-head { flex-shrink: 0; }
#ikkiHome .ih-pet-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
#ikkiHome .ih-pet-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 126px;
  padding: 40px 12px 13px;
}
#ikkiHome .ih-pet-image {
  width: 67px;
  height: 75px;
  flex-shrink: 0;
  object-fit: contain;
  image-rendering: auto;
}
#ikkiHome .ih-pet-image.ikki-rounded-pet { height: auto; }
#ikkiHome .ih-pet-info { min-width: 0; }
#ikkiHome .ih-pet-preview { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 10px; background: transparent; cursor: pointer; }
#ikkiHome .ih-pet-name {
  overflow: hidden;
  color: var(--ih-text);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: -.3px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#ikkiHome .ih-pet-attrs {
  margin-top: 6px;
  color: var(--ih-muted);
  font-size: 10px;
  line-height: 1.5;
  word-break: keep-all;
}
#ikkiHome .ih-pet-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  margin-top: 3px;
  padding: 5px 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--ih-accent);
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}
#ikkiHome .ih-pet-open svg { width: 12px; height: 12px; }
#ikkiHome .ih-pet-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; min-width: 0; }
#ikkiHome .ih-pet-actions .ih-pet-open { min-height: 32px; margin-top: 0; padding: 2px 0; }
#ikkiHome .ih-pet-heart {
  position: absolute;
  top: 4px;
  right: 40px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ih-muted);
}
#ikkiHome .ih-pet-heart svg {
  width: 13px;
  height: 13px;
  fill: none;
}
#ikkiHome .ih-pet-heart[aria-pressed="true"] {
  color: #ef4444;
}
#ikkiHome .ih-pet-heart[aria-pressed="true"] svg { fill: currentColor; }
#ikkiHome .ih-daily-card {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  min-height: 264px;
  padding: 16px 20px 18px;
}
#ikkiHome .ih-daily-top {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 1px;
  color: var(--ih-muted);
  font-size: 10px;
  padding-right: 28px;
}
#ikkiHome .ih-daily-tag {
  padding: 3px 7px;
  border: 1px solid var(--ih-line);
  border-radius: 6px;
  background: var(--primary-subtle, rgba(47, 140, 127, .06));
  color: var(--text-secondary, #5e7370);
  font-size: 10px;
  line-height: 1.5;
  white-space: nowrap;
}
#ikkiHome .ih-daily-image {
  justify-self: center;
  width: 139px;
  max-width: 100%;
  height: 124px;
  object-fit: scale-down;
  image-rendering: auto;
}
#ikkiHome .ih-daily-image.ikki-rounded-pet { width: auto; height: auto; max-width: min(139px, 100%); max-height: 124px; }
#ikkiHome .ih-daily-info { min-width: 0; padding-left: 4px; }
#ikkiHome .ih-daily-info h3 {
  margin: 0 0 7px;
  color: var(--ih-text);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.8px;
  word-break: keep-all;
}
#ikkiHome .ih-daily-info p { margin: 0 0 7px; color: var(--ih-muted); font-size: 10px; }
#ikkiHome .ih-daily-growth { color: var(--ih-muted); font-size: 10px; }
#ikkiHome .ih-daily-growth strong {
  margin-left: 5px;
  color: var(--ih-text);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 650;
}
#ikkiHome .ih-daily-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
#ikkiHome :is(.ih-btn-primary, .ih-btn-outline, .btn-primary, .btn-outline) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--ih-line);
  border-radius: 9px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
}
#ikkiHome :is(.ih-btn-primary, .btn-primary) {
  border-color: var(--ih-accent);
  background: var(--ih-accent);
  color: #fff;
}
#ikkiHome :is(.ih-btn-outline, .btn-outline) {
  background: var(--primary-subtle, rgba(47, 140, 127, .06));
  color: var(--ih-text);
}
html:is([data-design-theme="liquid-glass"], [data-design-theme="favorite-pet"]) #ikkiHome :is(.ih-btn-primary, .btn-primary) {
  background: var(--ikki-glass-reflection), var(--ikki-glass-active);
  color: var(--ikki-glass-active-text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
html:is([data-design-theme="liquid-glass"], [data-design-theme="favorite-pet"]) #ikkiHome :is(.ih-btn-outline, .btn-outline) {
  background: var(--ikki-glass-bevel), var(--ikki-glass-control);
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}
html:not(:is([data-design-theme="liquid-glass"], [data-design-theme="favorite-pet"]))[data-theme="dark"] #ikkiHome :is(.ih-btn-primary, .btn-primary) { color: #0b211b; }
html:is([data-theme="dark"], [data-ikki-fixed-dark]) #ikkiHome { --ih-gold: #e8c060; }
#ikkiHome .ih-category-tabs {
  display: flex;
  gap: 5px;
  margin: 0 0 14px;
  padding-bottom: 11px;
  overflow-x: auto;
  border-bottom: 1px solid var(--ih-line);
  scrollbar-width: thin;
}
#ikkiHome .ih-category {
  flex-shrink: 0;
  min-height: 36px;
  padding: 7px 13px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ih-muted);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
#ikkiHome .ih-category:is(.active, [aria-selected="true"], [aria-pressed="true"]) {
  background: var(--primary-subtle, rgba(47, 140, 127, .06));
  color: var(--primary-dark, var(--ih-accent));
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}
#ikkiHome .ih-category small {
  margin-left: 5px;
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
}
#ikkiHome .ih-all-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
}
#ikkiHome .ih-tool-row {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 70px;
  padding: 12px 9px 12px 16px;
  border-radius: 13px;
  text-align: left;
}
#ikkiHome .ih-tool-row > :is(.ih-icon-outline, .icon-outline) {
  display: inline-flex;
  color: var(--ih-accent);
  flex-shrink: 0;
}
#ikkiHome .ih-tool-row h3 { margin: 0 0 3px; font-size: 12px; font-weight: 650; letter-spacing: -.25px; }
#ikkiHome .ih-tool-row p { margin: 0; color: var(--ih-muted); font-size: 10px; line-height: 1.6; word-break: keep-all; }
#ikkiHome .ih-row-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  margin-left: auto;
  padding: 8px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ih-muted);
}
#ikkiHome .ih-row-star svg { width: 15px; height: 15px; }
#ikkiHome .ih-open-tool {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  gap: inherit;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
#ikkiHome .ih-open-tool > div { min-width: 0; }
#ikkiHome .ih-tool-favorite .ih-open-tool { flex-direction: inherit; align-items: inherit; }
#ikkiHome .ih-daily-card > .ih-star { position: absolute; top: 5px; right: 5px; }
#ikkiHome .ih-daily-card:has(> .ih-star) .ih-daily-top { padding-right: 28px; }
#ikkiHome .ih-storage-note {
  margin-top: 10px;
  color: var(--ih-muted);
  font-size: 10px;
  line-height: 1.7;
  word-break: keep-all;
}
#ikkiHome .ih-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 23px;
  color: var(--ih-muted);
  font-size: 10px;
  text-align: center;
}
#ikkiHome .ih-footer strong { color: var(--ih-muted); font-weight: 600; }
#ikkiHome .ih-start { display: flex; align-items: center; gap: 8px; }
#ikkiHome .ih-start :is(button, select) {
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--ih-line);
  border-radius: 7px;
  background: var(--card-solid, var(--bg, #f4f7f6));
  color: var(--ih-text);
  font: inherit;
}
#ikkiHome .ih-start select option { background: var(--bg, #f4f7f6); color: var(--ih-text); }
#ikkiHome .ih-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  min-height: 98px;
  padding: 20px;
  border: 1px dashed var(--ih-line);
  border-radius: 14px;
  color: var(--ih-muted);
  font-size: 12px;
  line-height: 1.7;
  word-break: keep-all;
}
#ikkiHome .ih-empty p { margin: 0; }
#ikkiHome .ih-reorder { display: none; align-items: center; justify-content: flex-end; gap: 4px; }
#ikkiHome.ih-editing .ih-reorder,
#ikkiHome .ih-editing .ih-reorder { display: flex; }
#ikkiHome .ih-tool-favorite .ih-reorder { position: absolute; right: 8px; bottom: 7px; }
#ikkiHome.ih-editing .ih-tool-favorite,
#ikkiHome .ih-editing .ih-tool-favorite { min-height: 126px; padding-bottom: 42px; }
#ikkiHome .ih-move {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-height: 36px;
  padding: 6px;
  border: 1px solid var(--ih-line);
  border-radius: 8px;
  background: var(--card-solid, var(--bg, #f4f7f6));
  color: var(--ih-text);
  font-size: 15px;
}
#ikkiHome .ih-move svg { width: 15px; height: 15px; }
.ikki-home-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 16px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text-secondary, #5e7370);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.ikki-home-nav:is(.active, [aria-current="page"]) {
  background: var(--primary-subtle, rgba(47, 140, 127, .06));
  color: var(--primary-dark, #1e6b60);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}
/* These shared controls are inserted beside existing navigation links and pet
   names. Each favorite button is a sibling of its navigation target. */
.ikki-menu-favorite-row {
  display: flex;
  align-items: center;
  min-width: 0;
  border-radius: 6px;
}
.ikki-menu-favorite-row > :is(.nav-drop-item, .mobile-menu-item) {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  padding-right: 6px;
  white-space: nowrap;
}
.nav-drop-menu:has(.ikki-menu-favorite-row) {
  min-width: 190px;
  width: max-content;
  max-width: calc(100vw - 32px);
}
.mobile-menu:has(.ikki-menu-favorite-row) {
  min-width: 224px;
  width: max-content;
  max-width: calc(100vw - 32px);
}
.ikki-menu-star,
.ikki-pet-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text-secondary, #5e7370);
  font: inherit;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ikki-menu-star { width: 28px; height: 28px; flex-basis: 28px; margin-right: 4px; }
.ikki-pet-star { width: 32px; height: 32px; flex-basis: 32px; vertical-align: middle; }
.ikki-menu-star svg,
.ikki-pet-star svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ikki-menu-star[aria-pressed="true"],
.ikki-pet-star[aria-pressed="true"] { color: #a67a28; }
.ikki-menu-star[aria-pressed="true"] svg,
.ikki-pet-star[aria-pressed="true"] svg { fill: currentColor; }
html:is([data-theme="dark"], [data-ikki-fixed-dark]) :is(.ikki-menu-star, .ikki-pet-star)[aria-pressed="true"] { color: #e8c060; }
.ikki-menu-star:focus-visible,
.ikki-pet-star:focus-visible { outline: 2px solid var(--primary, #2f8c7f); outline-offset: 2px; }
.mobile-menu .ikki-menu-star { width: 36px; height: 36px; flex-basis: 36px; }
.mobile-menu .ikki-menu-favorite-row + .ikki-menu-favorite-row { border-top: 1px solid var(--border-light, rgba(128, 148, 145, .15)); }
#profileCard .pet-name-row > .ikki-pet-star { margin-left: 1px; }
#filterGrid .filter-card { position: relative; }
#filterGrid .filter-card > .ikki-pet-star {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 2;
  background: var(--card-solid, var(--bg, #f4f7f6));
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(26, 43, 42, .06));
}
body.ikki-home-active :is(#initialView, #workspace, #filterView, #familyView),
body.ikki-home-active > .site-footer { display: none !important; }
@media (hover: hover) {
  #ikkiHome :is(a.ih-tool-favorite, a.ih-tool-row):hover { border-color: var(--ih-accent); }
  #ikkiHome :is(.ih-pet-open, .ih-footer a):hover { color: var(--ih-accent); }
  #ikkiHome .ih-category:not(.active):hover { background: var(--primary-subtle, rgba(47, 140, 127, .06)); }
  .ikki-home-nav:hover { background: var(--primary-subtle, rgba(47, 140, 127, .06)); color: var(--text); }
  .ikki-menu-star:hover,
  .ikki-pet-star:hover { background: var(--primary-subtle, rgba(47, 140, 127, .06)); }
}
@media (min-width: 901px) and (max-width: 1100px) {
  #ikkiHome .ih-tool-favorite { gap: 10px; padding-left: 13px; }
  #ikkiHome .ih-tool-icon { width: 36px; height: 36px; flex-basis: 36px; border-radius: 11px; }
  #ikkiHome .ih-pet-card { gap: 7px; padding-inline: 10px; }
  #ikkiHome .ih-pet-image { width: 51px; }
  #ikkiHome .ih-daily-card { padding-inline: 15px; }
}
@media (max-width: 900px) {
  #ikkiHome .ih-favorite-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #ikkiHome .ih-two-col { grid-template-columns: minmax(0, 1fr); gap: 23px; }
  #ikkiHome .ih-all-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #ikkiHome .ih-daily-card { grid-template-columns: 140px minmax(0, 1fr) 210px; min-height: 190px; column-gap: 20px; }
  #ikkiHome .ih-daily-actions { grid-column: auto; grid-template-columns: minmax(0, 1fr); margin-top: 0; }
}
@media (max-width: 600px) {
  .ikki-menu-star { width: 36px; height: 36px; flex-basis: 36px; }
  #ikkiHome { padding: 24px 16px 20px; }
  #ikkiHome .ih-intro { gap: 12px; min-height: 74px; margin-bottom: 23px; }
  #ikkiHome .ih-intro h1 { font-size: 23px; letter-spacing: -.9px; }
  #ikkiHome .ih-intro p { font-size: 11px; }
  #ikkiHome .ih-mascot { width: 64px; height: 64px; flex-basis: 64px; margin-right: 0; }
  #ikkiHome .ih-section-head { gap: 8px; }
  #ikkiHome .ih-section-head h2 { gap: 6px; font-size: 14px; }
  #ikkiHome .ih-edit { font-size: 10px; }
  #ikkiHome .ih-favorite-tools { gap: 10px; margin-bottom: 23px; }
  #ikkiHome .ih-tool-favorite { flex-direction: column; align-items: flex-start; gap: 10px; min-height: 132px; padding: 16px 12px 13px; }
  #ikkiHome .ih-tool-favorite h3 { font-size: 12px; }
  #ikkiHome .ih-tool-icon { width: 36px; height: 36px; flex-basis: 36px; border-radius: 11px; }
  #ikkiHome .ih-pet-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #ikkiHome .ih-pet-card { gap: 8px; min-height: 126px; padding: 40px 10px 10px; }
  #ikkiHome .ih-pet-image { width: 55px; height: 70px; }
  #ikkiHome .ih-pet-name { font-size: 11px; }
  #ikkiHome .ih-pet-attrs { font-size: 9px; }
  #ikkiHome .ih-pet-open { font-size: 9px; gap: 4px; }
  #ikkiHome .ih-daily-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 264px; padding: 16px 20px 18px; column-gap: 8px; }
  #ikkiHome .ih-daily-actions { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
  #ikkiHome .ih-category { padding-inline: 11px; }
  #ikkiHome .ih-all-tools { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  #ikkiHome .ih-tool-row { min-height: 70px; }
  #ikkiHome .ih-footer { align-items: center; padding-top: 20px; }
  #ikkiHome.ih-editing .ih-tool-favorite,
  #ikkiHome .ih-editing .ih-tool-favorite { min-height: 170px; }
}
@media (max-width: 360px) {
  #ikkiHome { padding-inline: 12px; }
  #ikkiHome .ih-intro h1 { font-size: 21px; }
  #ikkiHome .ih-mascot { width: 56px; height: 56px; flex-basis: 56px; }
  #ikkiHome .ih-pet-card { flex-direction: column; gap: 4px; padding-top: 40px; text-align: center; }
  #ikkiHome .ih-pet-info { width: 100%; }
  #ikkiHome .ih-pet-attrs { margin-top: 3px; }
  #ikkiHome .ih-pet-open { justify-content: center; }
  #ikkiHome .ih-pet-actions { justify-content: center; }
}
@media (forced-colors: active) {
  #ikkiHome :is(.card, .ih-empty, .ih-tool-icon, .ih-daily-tag, .ih-move) { border-color: CanvasText; }
  #ikkiHome :is(.ih-star, .ih-row-star):is(.saved, [aria-pressed="true"]) { color: Highlight; }
}
