@font-face {
  font-family: "Gowun Dodum";
  src: url("assets/fonts/GowunDodum-Regular.woff2") format("woff2");
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Quicksand";
  src: url("assets/fonts/Quicksand-variable.woff2") format("woff2");
  font-style: normal; font-weight: 300 700; font-display: swap;
}
:root {
  color-scheme: light;
  --font-ui: "Quicksand", "Gowun Dodum", "Apple SD Gothic Neo", sans-serif;
  --font-display: "Quicksand", "Gowun Dodum", sans-serif;
  --bg: #fdfdfc; --fg: #302d3c; --muted: #716b82; --faint: #746c87;
  --line: #eae7f4; --line-strong: #d9d9f2; --control-line: #968bad; --surface: #f5f3fb; --hover: #f3f0fa;
  --accent: #6b5a94; --accent-soft: transparent; --accent-edge: #bcb2de;
  --panel-bg: transparent; --button: #64567e; --button-text: #fff;
  --danger: #a13f39; --danger-bg: #fcf6f5;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1c1b24; --fg: #efedf7; --muted: #b6b1c8; --faint: #aba3c0;
  --line: #383345; --line-strong: #5e5472; --control-line: #8c819f; --surface: #282431; --hover: #302a3d;
  --accent: #dbd5f2; --accent-soft: transparent; --accent-edge: #aa9ed0;
  --panel-bg: transparent; --button: #d9d9f2; --button-text: #2c273c;
  --danger: #e0a5a0; --danger-bg: #2b2220;
}
/* User requirement: no rounded containers, pills, or gradient UI surfaces. */
*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
body { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 100vh; margin: 0; background-color: var(--bg); background-image: url("assets/paper-grain.svg"); background-repeat: repeat; background-position: 0 0; background-size: 160px 160px; color: var(--fg); font: 15px/1.75 var(--font-ui); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .45; cursor: not-allowed; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
button, input, select, textarea, a { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--accent); }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 16px; top: -60px; padding: 8px 14px; background: var(--bg); z-index: 200; }
.skip-link:focus { top: 10px; }
.site-header { position: relative; border-bottom: 1px solid var(--line); background: var(--panel-bg); }
.header-inner { max-width: 1264px; padding: 0 44px; margin: auto; display: flex; align-items: center; gap: 42px; min-height: 96px; }
.brand { display: inline-flex; align-items: center; gap: 18px; text-decoration: none; white-space: nowrap; }
.brand-logo { display: block; width: 151px; height: auto; object-fit: contain; }
.brand-divider { width: 1px; height: 29px; background: var(--line-strong); }
.brand-label { display: flex; flex-direction: column; gap: 2px; }
.brand-name { font-family: var(--font-display); font-size: 10px; letter-spacing: 1.5px; color: var(--fg); font-weight: 600; }
.brand-tool { font-size: 14px; font-weight: 550; letter-spacing: -.4px; }
nav { display: flex; gap: 30px; align-self: stretch; }
nav button { position: relative; border: 0; background: none; padding: 0; font-size: 13px; color: var(--muted); white-space: nowrap; }
nav button.active { color: var(--fg); font-weight: 600; }
nav button::after { content: ""; position: absolute; height: 0; width: 0; border-top: 1px solid var(--fg); left: auto; right: 0; bottom: -1px; pointer-events: none; transition: width 240ms cubic-bezier(.2,.65,.35,1); }
nav button.active::after { width: 100%; }
nav button:focus-visible::after { width: 100%; left: 0; right: auto; }
.nav-count { font-size: 11px; color: var(--muted); margin-left: 4px; padding: 0; background: none; font-variant-numeric: tabular-nums; }
.header-inner > nav { min-width: 0; }
.header-actions { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.theme-toggle, .header-settings { border: 0; background: none; padding: 9px 0; font-size: 13px; color: var(--muted); white-space: nowrap; }
.theme-toggle { display: inline-flex; gap: 7px; align-items: center; }
.theme-toggle:hover, .header-settings:hover { color: var(--fg); }
main { width: 100%; flex: 1; max-width: 1264px; margin: 0 auto; padding: 42px 44px 58px; }
.heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 29px; }
.heading h1 { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 30px; font-weight: 500; letter-spacing: -1.1px; line-height: 1.4; }
.heading p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.heading .date { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.heading h1::before { content: ""; width: 13px; height: 13px; background: var(--accent-edge); clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 8px 0; min-height: 36px; border: 0; border-bottom: 1px solid var(--line-strong); background: transparent; font-size: 13px; text-decoration: none; white-space: nowrap; line-height: 1.5; }
.btn:hover { border-color: var(--fg); color: var(--fg); }
.btn.primary { padding: 9px 18px; border: 1px solid var(--button); background: var(--button); color: var(--button-text); }
.heading .btn.primary, .empty .btn.primary { padding: 7px 0; background: none; border: 0; border-bottom: 1px solid var(--fg); color: var(--fg); }
.btn[data-action="add-pet"]::after, .btn[data-action="add-bond"]::after { content: "+"; font-size: 18px; font-weight: 300; line-height: 1; }
.btn.primary:hover { opacity: .85; }
.btn.small { min-height: 31px; padding: 6px 0; font-size: 13px; }
.btn.danger { color: var(--danger); }
.text-btn { border: 0; background: none; padding: 5px 0; font-size: 13px; color: var(--muted); text-decoration: none; }
.text-btn:hover { color: var(--accent); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); padding: 27px 0 30px; background: none; border: 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); margin-bottom: 39px; }
.stat { padding: 0 26px; border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat-top { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; }
.metric-icon { display: inline-flex; align-items: center; justify-content: center; width: 19px; height: 23px; flex-shrink: 0; border: 0; background: none; color: var(--accent); }
.metric-icon svg { width: 17px; height: 17px; }
.stat strong { display: inline-block; font-family: var(--font-display); font-size: 41px; font-weight: 400; letter-spacing: -1.5px; line-height: 1.3; margin-top: 13px; font-variant-numeric: tabular-nums; }
.stat small { font-size: 13px; color: var(--muted); margin-left: 8px; }
.grid-two { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 15px; }
.section-head h2 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 14px; font-weight: 600; }
.panel { border: 0; border-top: 1px solid var(--line-strong); padding: 0; background: none; }
.empty { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 39px 0 45px; text-align: center; min-height: 172px; border-bottom: 1px solid var(--line); }
.empty h3 { margin: 0 0 14px; color: var(--muted); font-size: 13px; font-weight: 400; }
.empty p { margin: -5px 0 18px; font-size: 13px; color: var(--muted); }
.row { display: flex; gap: 13px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row-main { flex: 1; min-width: 0; }
.row-main h3 { margin: 0; font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.row-main p { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.avatar { padding: 0; width: 42px; height: 42px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--surface); border: 0; color: var(--accent); font-size: 15px; border-radius: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.pet-name-button { border: 0; background: none; padding: 0; max-width: 100%; font: inherit; color: inherit; text-align: left; overflow-wrap: anywhere; }
.badge { display: inline-flex; align-items: baseline; gap: 6px; padding: 0; border: 0; background: none; font-size: 13px; color: var(--muted); font-weight: 400; white-space: nowrap; }
.badge::before { content: ""; display: inline-block; flex-shrink: 0; width: 6px; height: 0; align-self: center; border-top: 1px solid currentColor; }
.badge.red { color: var(--danger); }
.badge.gray { background: none; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 23px; }
.filters input { flex: 1; min-width: 170px; }
.filters select { width: auto; min-width: 120px; }
input, select, textarea { width: 100%; min-width: 0; border: 0; border-bottom: 1px solid var(--control-line); padding: 10px 0; background: transparent; font-size: 14px; line-height: 1.6; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input[type="checkbox"] { width: 14px; height: 14px; accent-color: var(--accent); padding: 0; margin: 0; flex-shrink: 0; }
input[type="file"] { font-size: 13px; }
textarea { resize: vertical; min-height: 84px; }
.field { display: flex; flex-direction: column; margin-bottom: 19px; }
.field > label { display: flex; flex-direction: column; gap: 7px; font-size: 13px; }
.required-note { margin-left: 3px; font-size: 12px; font-weight: 400; color: var(--muted); }
.breed-custom { margin-top: 12px; }
.breed-custom > label { display: block; font-size: 13px; }
#pet-group { margin-top: 7px; }
.field > .remember-control { display: flex; flex-direction: row; align-items: center; gap: 7px; margin-top: 10px; color: var(--fg); font-size: 13px; font-weight: 400; cursor: pointer; }
.field-help { margin: 6px 0 0; font-size: 13px; line-height: 1.8; color: var(--muted); }
.owner-preference > .remember-control { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.full { grid-column: 1 / -1; }
.help, .subtle { font-size: 13px; line-height: 1.8; color: var(--muted); }
.help { margin: 10px 0; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; margin: 12px 0; }
.check input { margin-top: 3px; }
.note { border-left: 2px solid var(--line-strong); padding: 2px 0 2px 14px; font-size: 13px; line-height: 1.9; color: var(--muted); }
.note p { margin: 3px 0; }
.note.warn { border-color: var(--muted); }
.note.error, .data-error { color: var(--danger); border-color: var(--danger); }
.data-error { border: 1px solid; padding: 14px; margin-bottom: 24px; background: var(--danger-bg); font-size: 13px; }
.spaced { margin-top: 24px; }
.form-actions { display: flex; justify-content: flex-end; gap: 9px; padding-top: 21px; margin-top: 24px; border-top: 1px solid var(--line); }
.form-actions .danger { margin-right: auto; }
.pet-grid { border-top: 1px solid var(--line); }
.pet-card { display: grid; grid-template-columns: 42px minmax(140px, 1fr) minmax(150px, 1fr) 130px auto; align-items: center; gap: 20px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.pet-card h3 { font-size: 14px; font-weight: 500; margin: 0; overflow-wrap: anywhere; }
.pet-card p { color: var(--muted); font-size: 13px; margin: 4px 0 0; overflow-wrap: anywhere; }
.pet-owner { color: var(--muted); font-size: 13px; }
.pet-details .traits { color: var(--muted); font-size: 13px; margin-top: 4px; overflow-wrap: anywhere; }
.pet-status { font-size: 13px; }
.countdown { font-size: 13px; color: var(--muted); }
.status-tabs { display: flex; gap: 24px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 0; }
.status-tabs button { border: 0; border-bottom: 2px solid transparent; background: none; padding: 0 0 12px; font-size: 13px; color: var(--muted); }
.status-tabs button.active { color: var(--fg); border-color: var(--fg); }
.record { padding: 27px 0; border-bottom: 1px solid var(--line); }
.record-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; }
.record h3 { font-size: 15px; font-weight: 500; margin: 0; overflow-wrap: anywhere; }
.record h3 .pair-cross { padding: 0 11px; color: var(--muted); font-weight: 400; }
.timeline-label { color: var(--muted); font-size: 13px; margin: 0 0 4px; }
.record-meta { display: flex; gap: 7px 24px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin: 12px 0 16px; font-variant-numeric: tabular-nums; }
.record-actions { display: flex; gap: 8px; margin-top: 17px; flex-wrap: wrap; }
.tree { display: flex; flex-direction: column; align-items: center; overflow: auto; padding: 42px 15px; }
.tree-level, .tree-children { display: flex; justify-content: center; gap: 20px; }
.tree-children { flex-wrap: wrap; }
.tree-node { background: none; border: 0; border-bottom: 1px solid var(--line-strong); padding: 15px 23px; min-width: 130px; text-align: center; font-size: 13px; }
.tree-node strong { display: block; font-weight: 500; margin: 4px 0; overflow-wrap: anywhere; }
.tree-node.focus { border-bottom: 2px solid var(--fg); background: none; }
.tree-connector { height: 28px; border-left: 1px solid var(--line-strong); }
dialog { --modal-viewport-height: 100vh; position: fixed; inset: auto; top: var(--modal-center-y, 50%); left: var(--modal-center-x, 50%); transform: translate(-50%, -50%); margin: 0; width: min(650px, 94vw); max-width: calc(var(--modal-viewport-width, 100vw) - 24px); max-height: calc(var(--modal-viewport-height) - 24px); overflow: hidden; padding: 0; border: 1px solid var(--line-strong); border-radius: 0; background: var(--bg); color: var(--fg); box-shadow: none; }
@supports (height: 100dvh) { dialog { --modal-viewport-height: 100dvh; } }
dialog[open] { display: flex; flex-direction: column; }
.modal-open, .modal-open body { overflow: hidden; }
dialog::backdrop { background: #0006; }
.modal-head { flex-shrink: 0; background: var(--bg); padding: 21px 27px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); z-index: 1; }
.modal-head h2 { font-size: 17px; font-weight: 500; margin: 0; }
.icon-btn { background: none; border: 0; color: var(--muted); font-size: 24px; line-height: 1; padding: 2px 5px; }
#modal-body { min-height: 0; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scroll-padding-block: 20px; padding: 26px 27px calc(26px + var(--modal-keyboard-inset, 0px)); }
dialog.pet-registration, dialog.bond-registration { height: min(900px, calc(var(--modal-viewport-height) - 24px)); }
.pet-registration #modal-body, .bond-registration #modal-body { display: flex; flex: 1; flex-direction: column; overflow: hidden; padding: 0; }
.pet-registration #registration-panel, #pet-form, #bond-form { display: flex; flex: 1; flex-direction: column; min-height: 0; }
.pet-form-fields, .bond-form-fields { min-height: 0; flex: 1; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scroll-padding-block: 20px; padding: 26px 27px calc(14px + var(--modal-keyboard-inset, 0px)); }
#pet-form > .form-actions, #bond-form > .form-actions { flex-shrink: 0; margin: 0; padding: 15px 27px max(15px, env(safe-area-inset-bottom, 0px)); background: var(--bg); }
#pet-form > .form-actions .btn, #bond-form > .form-actions .btn { min-height: 44px; min-width: 64px; }
.mini-title { font-size: 13px; font-weight: 500; margin-top: 28px; }
.backup-actions { display: flex; gap: 9px; flex-wrap: wrap; }
#toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); max-width: min(600px, 90vw); padding: 11px 18px; color: var(--button-text); background: var(--button); border-radius: 0; font-size: 13px; opacity: 0; pointer-events: none; z-index: 100; }
#toast.show { opacity: 1; }
footer { max-width: 1176px; width: calc(100% - 88px); margin: 0 auto; padding: 0 0 24px; color: var(--muted); font-size: 13px; }
@media (min-width: 1500px) { main { padding-top: 50px; } }
@media (max-width: 1050px) {
  .header-inner { flex-wrap: wrap; gap: 0; padding: 15px 30px 0; }
  .header-inner > nav { order: 3; width: 100%; min-height: 48px; margin-top: 12px; gap: 26px; }
  .brand { gap: 12px; } .brand-logo { width: 132px; } .brand-name { font-size: 9px; } .brand-tool { font-size: 13px; } nav { gap: 22px; }
  .header-actions { gap: 15px; } .theme-toggle span { display: none; }
  main { padding: 36px 30px 48px; } .grid-two { gap: 30px; }
  .pet-card { grid-template-columns: 42px minmax(130px, 1fr) minmax(140px, 1fr) auto; gap: 16px; }
  .pet-status { grid-column: 3; grid-row: 2; margin-top: -12px; }
  .pet-card > .text-btn { grid-column: 4; grid-row: 1; } footer { width: calc(100% - 60px); }
}
@media (max-width: 720px) {
  input:not([type="checkbox"]), select, textarea { font-size: 16px; }
  .header-inner { flex-wrap: wrap; padding: 13px 20px 0; gap: 0; min-height: 113px; }
  .brand { gap: 8px; }
  .brand-logo { width: clamp(64px, 22vw, 92px); flex-shrink: 0; }
  .brand-divider { display: block; height: 26px; flex-shrink: 0; }
  .brand-label { display: flex; gap: 1px; }
  .brand-name { font-size: 8px; letter-spacing: 1.2px; }
  .brand-tool { font-size: 12px; }
  .header-actions { gap: 12px; } .header-settings { font-size: 13px; }
  .header-inner > nav { gap: clamp(10px, 3vw, 20px); justify-content: space-between; flex-wrap: wrap; } nav button { font-size: 13px; min-height: 44px; }
  main { padding: 29px 20px 40px; } .heading { margin-bottom: 27px; gap: 12px; }
  .heading h1 { font-size: 24px; } .heading .date { font-size: 13px; } .heading .btn { padding: 8px 0; }
  .stats { grid-template-columns: 1fr 1fr; padding: 22px 0; margin-bottom: 29px; gap: 23px 0; }
  .stat { padding: 0 20px; } .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat strong { font-size: 32px; margin-top: 9px; } .stat-top { gap: 7px; font-size: 13px; } .metric-icon { width: 18px; height: 22px; } .grid-two { grid-template-columns: 1fr; gap: 34px; }
  .empty { min-height: 162px; padding: 34px 0; } .panel { padding: 0; } .filters { gap: 8px; }
  .filters input { flex-basis: 100%; } .filters select { min-width: 0; flex: 1; }
  .pet-card { grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; padding: 18px 0; }
  .pet-card .avatar { width: 36px; height: 36px; align-self: start; }
  .pet-card .pet-details { grid-column: 2; margin-top: -8px; }
  .pet-status { grid-column: 2; grid-row: auto; margin: -4px 0 0; }
  .pet-card > .text-btn { grid-column: 3; grid-row: 1; } .pet-card h3 { font-size: 13px; }
  .form-grid { grid-template-columns: 1fr; } .full { grid-column: auto; } .form-actions { flex-wrap: wrap; }
  .status-tabs { gap: 20px; } .record { padding: 23px 0; } .record h3 { font-size: 14px; }
  .record h3 .pair-cross { padding: 0 7px; } .record-meta { gap: 6px 16px; }
  .modal-head { padding: 18px 20px; } #modal-body { padding: 22px 20px calc(22px + var(--modal-keyboard-inset, 0px)); } footer { width: calc(100% - 40px); }
  .pet-form-fields, .bond-form-fields { padding: 22px 20px calc(12px + var(--modal-keyboard-inset, 0px)); }
  #pet-form > .form-actions, #bond-form > .form-actions { padding: 12px 20px max(12px, env(safe-area-inset-bottom, 0px)); }
}
@media (pointer: coarse) { input:not([type="checkbox"]), select, textarea { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.footer-notices { padding-top: 17px; border-top: 1px solid var(--line); }
.storage-notice { font-size: 13px; line-height: 1.9; }
.storage-notice p { margin: 0 0 5px; }
.storage-notice p:last-child { margin-bottom: 0; }
.storage-notice strong { font-weight: 500; color: var(--fg); }
.inline-link { border: 0; background: none; padding: 0; font: inherit; color: var(--fg); text-decoration: none; }
#save-state:not([hidden]) { color: var(--danger); margin-bottom: 10px; }

/* Border strokes snap consistently to device pixels at fractional zoom/row positions; filled 1px rectangles do not. */
/* Fine underlines and a small glint echo the logo; layouts never move on hover. */
.text-btn, .inline-link, .header-settings, .theme-toggle, .brand-tool, .pet-name-button { position: relative; }
.text-btn::after, .inline-link::after, .header-settings::after, .theme-toggle::after, .brand-tool::after, .pet-name-button::after {
  content: ""; position: absolute; bottom: 1px; left: auto; right: 0; width: 0; height: 0;
  border-top: 1px solid currentColor; pointer-events: none;
  transition: width 240ms cubic-bezier(.2,.65,.35,1);
}
.brand-tool::after { bottom: -2px; }
.section-head .text-btn::before {
  content: ""; position: absolute; top: calc(50% - 3px); right: -13px; width: 6px; height: 6px;
  background: var(--accent); clip-path: polygon(50% 0,63% 37%,100% 50%,63% 63%,50% 100%,37% 63%,0 50%,37% 37%);
  opacity: 0; transform: translateX(-3px);
  transition: opacity 180ms ease, transform 240ms ease;
}
.btn, .text-btn, .header-settings, .theme-toggle, .pet-name-button { transition: color 180ms ease, border-color 180ms ease, opacity 180ms ease; }
.btn[data-action="add-pet"]::after, .btn[data-action="add-bond"]::after { transition: transform 200ms ease; }
.brand-logo { transition: transform 240ms ease; }
.text-btn:focus-visible::after, .inline-link:focus-visible::after, .header-settings:focus-visible::after, .pet-name-button:focus-visible::after,
.theme-toggle:focus-visible::after, .brand:focus-visible .brand-tool::after { width: 100%; left: 0; right: auto; }
.section-head .text-btn:focus-visible::before { opacity: 1; transform: translateX(0); }
.site-credit { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding-top: 24px; color: var(--muted); font-size: 10px; letter-spacing: .3px; }
.site-credit strong { color: var(--fg); font-weight: 500; margin-left: 5px; letter-spacing: .2px; }
.fan-disclaimer { margin: 10px 0 0; font-size: 10px; line-height: 1.8; }
@media (hover: hover) and (pointer: fine) {
  .pet-name-button:hover { color: var(--accent); }
  nav button:hover::after { width: 100%; left: 0; right: auto; }
  .text-btn:hover::after, .inline-link:hover::after, .header-settings:hover::after, .pet-name-button:hover::after,
  .theme-toggle:hover::after, .brand:hover .brand-tool::after { width: 100%; left: 0; right: auto; }
  .section-head .text-btn:hover::before { opacity: 1; transform: translateX(0); }
  .btn[data-action="add-pet"]:hover::after, .btn[data-action="add-bond"]:hover::after { transform: translateX(3px); }
  .brand:hover .brand-logo { transform: translateY(-1px); }
}
@media (max-width: 720px) {
  .site-credit { padding-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .brand:hover .brand-logo, .btn[data-action="add-pet"]:hover::after, .btn[data-action="add-bond"]:hover::after { transform: none; }
}

/* Ornament coordinates belong to the content, not to a wide background canvas. */
.stats, .panel { position: relative; }
.stats::before {
  content: ""; position: absolute; left: 50%; top: -6px; width: 8px; height: 12px;
  transform: translateX(-50%); background: var(--accent-edge);
  clip-path: polygon(50% 0,64% 37%,100% 50%,64% 63%,50% 100%,36% 63%,0 50%,36% 37%);
}
.stats::after {
  content: ""; position: absolute; left: calc(50% - 2px); bottom: -3px;
  width: 5px; height: 5px; background: var(--accent-edge); transform: rotate(45deg);
}
.section-head h2::after {
  content: ""; width: 4px; height: 4px; margin-left: 1px;
  flex-shrink: 0; background: var(--accent-edge); transform: rotate(45deg);
}
.panel::after {
  content: ""; position: absolute; top: -4px; right: 2px; width: 7px; height: 7px;
  background: var(--accent-edge);
  clip-path: polygon(43% 0,57% 0,57% 43%,100% 43%,100% 57%,57% 57%,57% 100%,43% 100%,43% 57%,0 57%,0 43%,43% 43%);
  pointer-events: none;
}
.modal-head h2 { display: flex; align-items: center; gap: 12px; }
.modal-head h2::after {
  content: ""; width: 8px; height: 10px; background: var(--accent-edge);
  clip-path: polygon(50% 0,64% 37%,100% 50%,64% 63%,50% 100%,36% 63%,0 50%,36% 37%);
}
.ornament-separator { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 66px; flex-shrink: 1; }
.ornament-separator::before, .ornament-separator::after { content: ""; width: 18px; height: 1px; background: var(--line-strong); }
.ornament-separator i {
  display: block; width: 7px; height: 9px; flex-shrink: 0; background: var(--accent-edge);
  clip-path: polygon(50% 0,64% 37%,100% 50%,64% 63%,50% 100%,36% 63%,0 50%,36% 37%);
}
.site-credit { align-items: center; gap: 12px; }
.site-credit .creator { white-space: nowrap; }
.site-credit strong { font-weight: 600; }
@media (max-width: 720px) {
  nav { gap: 25px; }
  .stat-top { font-size: 12px; gap: 6px; }
  .field-help, .help, .subtle, .storage-notice { font-size: 12px; }
  .site-credit { gap: 9px; }
  .ornament-separator { width: 34px; gap: 5px; }
  .ornament-separator::before, .ornament-separator::after { width: 8px; }
}

/* Background compositions: main sparkle, satellite diamonds, and parallel rays. */
.background-ornaments {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  pointer-events: none; user-select: none; color: #ccd5f0;
}
.bg-cluster { position: absolute; width: clamp(145px, 12vw, 205px); aspect-ratio: 1; opacity: .82; }
.bg-mark { position: absolute; display: block; }
.bg-main-star, .bg-small-star {
  background: currentColor;
  clip-path: polygon(50% 0,59% 40%,100% 50%,59% 60%,50% 100%,41% 60%,0 50%,41% 40%);
}
.bg-main-star { left: 25%; top: 24%; width: 17%; height: 31%; }
.bg-small-star { left: 55%; top: 13%; width: 7%; height: 13%; opacity: .85; }
.bg-open-diamond { left: 64%; top: 43%; width: 12%; height: 12%; border: 1px solid currentColor; transform: rotate(45deg); }
.bg-tiny-diamond { left: 47%; top: 70%; width: 4%; height: 4%; background: currentColor; transform: rotate(45deg); opacity: .8; }
.bg-ray { height: 1px; background: currentColor; transform: rotate(-31deg); transform-origin: left center; opacity: .8; }
.bg-ray-long { left: 8%; top: 67%; width: 40%; }
.bg-ray-medium { left: 14%; top: 73%; width: 28%; }
.bg-ray-short { left: 22%; top: 78%; width: 15%; }
.bg-cluster-left { left: clamp(8px, calc((100vw - 1264px) / 4 - 10px), 150px); top: 16%; }
.bg-cluster-right { right: clamp(10px, calc((100vw - 1264px) / 4), 145px); top: 58%; transform: rotate(180deg); }
:root[data-theme="dark"] .bg-cluster { opacity: .6; }
.heading .date { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; min-width: 0; gap: 3px 8px; text-align: right; }
.date-calendar, .date-clock-group { white-space: nowrap; }
.date-clock-group { display: inline-flex; align-items: baseline; gap: 7px; }
.date-zone { font-family: var(--font-display); font-size: .86em; }
.date-clock { font-family: var(--font-display); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
@media (max-width: 1050px) {
  .bg-cluster { width: 145px; }
  .bg-cluster-left { left: 2px; top: 20%; }
  .bg-cluster-right { right: 0; top: 61%; }
}

/* Background marks distributed through the open space, below all content. */
.bg-arrangement { position: absolute; color: inherit; opacity: .62; }
.bg-arrangement i { position: absolute; display: block; }
.bg-arrangement-top { left: 57%; top: 10%; width: 138px; height: 115px; opacity: .6; }
.deco-dot { width: 3px; height: 3px; background: currentColor; clip-path: circle(50%); }
.deco-diamond { width: 17px; height: 17px; border: 1px solid currentColor; transform: rotate(45deg); }
.deco-spark { width: 25px; height: 43px; background: currentColor; clip-path: polygon(50% 0,60% 39%,100% 50%,60% 61%,50% 100%,40% 61%,0 50%,40% 39%); }
.bg-arrangement-top .deco-diamond { left: 24%; top: 45%; }
.bg-arrangement-top .deco-spark { left: 66%; top: 13%; width: 14px; height: 24px; }
.bg-arrangement-top .d1 { left: 11%; top: 22%; }
.bg-arrangement-top .d2 { left: 50%; top: 78%; width: 5px; height: 5px; }
.bg-arrangement-mid { left: 55%; top: 59%; width: 205px; height: 175px; opacity: .69; }
.bg-arrangement-mid .deco-spark { left: 18%; top: 20%; }
.bg-arrangement-mid .deco-diamond { left: 65%; top: 63%; width: 24px; height: 24px; }
.bg-arrangement-mid .d1 { left: 58%; top: 25%; width: 5px; height: 5px; }
.bg-arrangement-mid .d2 { left: 12%; top: 77%; }
.deco-slash { left: 52%; top: 47%; width: 51px; height: 1px; background: currentColor; transform: rotate(-32deg); }
.bg-arrangement-dot-circle { right: 8%; top: 31%; width: 180px; height: 180px; opacity: .7; }
.bg-arrangement-dot-circle svg { display: block; width: 100%; height: 100%; }
.bg-arrangement-dots { left: 44%; bottom: 6%; width: 170px; height: 95px; opacity: .65; }
.bg-arrangement-dots i { width: 3px; height: 3px; background: currentColor; clip-path: circle(50%); }
.bg-arrangement-dots i:nth-child(1) { left: 5%; top: 62%; }
.bg-arrangement-dots i:nth-child(2) { left: 23%; top: 39%; }
.bg-arrangement-dots i:nth-child(3) { left: 39%; top: 57%; width: 5px; height: 5px; }
.bg-arrangement-dots i:nth-child(4) { left: 52%; top: 17%; }
.bg-arrangement-dots i:nth-child(5) { left: 69%; top: 47%; }
.bg-arrangement-dots i:nth-child(6) { left: 82%; top: 29%; width: 4px; height: 4px; }
.bg-arrangement-dots i:nth-child(7) { left: 94%; top: 7%; }
:root[data-theme="dark"] .bg-arrangement { opacity: .4; }
.heading-actions { display: flex; align-items: center; gap: 23px; }
.registration-tabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line); margin: -4px 0 25px; }
.registration-tabs button { padding: 0 0 12px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font-size: 14px; }
.registration-tabs button.active { border-color: var(--fg); color: var(--fg); font-weight: 600; }
.pet-registration .registration-tabs { flex-shrink: 0; gap: 26px; padding: 18px 27px 0; margin: 0; }
@media (max-width: 720px) { .pet-registration .registration-tabs { padding: 16px 20px 0; } }
.capture-help { font-size: 13px; margin-bottom: 21px; }
.capture-help h3 { font-size: 14px; font-weight: 600; margin: 0 0 12px; }
.capture-help p { margin: 6px 0; }
.capture-help ul { padding-left: 18px; margin: 10px 0; color: var(--muted); }
.capture-help li { margin: 7px 0; }
.capture-help strong { font-weight: 600; }
.capture-guide { margin: 12px 0 18px; font-size: 12px; }
.capture-guide summary { cursor: pointer; width: fit-content; color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.capture-guide img { display: block; width: 100%; height: auto; margin-top: 15px; }
.guide-steps { border-left: 1px solid var(--line-strong); padding-left: 13px; margin-top: 13px; }
.image-drop { text-align: center; padding: 22px 12px; border-top: 1px dashed var(--line-strong); border-bottom: 1px dashed var(--line-strong); }
.image-drop p { color: var(--muted); font-size: 12px; margin: 12px 0 4px; }
.image-drop small { color: var(--muted); font-size: 11px; }
.image-drop.dragging { outline: 2px solid var(--accent); outline-offset: 3px; }
.shot-feedback { font-size: 12px; color: var(--muted); min-height: 20px; margin: 10px 0 20px; }
.shot-feedback.error { color: var(--danger); }
.shot-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; }
.shot-list-head h3 { font-size: 14px; font-weight: 600; margin: 0; }
.shot-list-head span { font-size: 12px; color: var(--muted); }
.shot-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px 15px; margin-top: 21px; }
.shot-item { min-width: 0; margin: 0; }
.shot-open { display: block; width: 100%; padding: 0; border: 0; background: var(--surface); }
.shot-open img { display: block; width: 100%; aspect-ratio: 3/4; object-fit: contain; }
.shot-open:hover { outline: 1px solid var(--accent); outline-offset: 3px; }
.shot-item figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 7px; padding-top: 6px; font-size: 11px; color: var(--muted); }
.shot-item figcaption span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot-item figcaption .text-btn { flex-shrink: 0; font-size: 11px; }
#modal[data-screen="viewer"] { width: min(1100px,94vw); }
.viewer-actions { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 17px; }
.viewer-actions > div { display: flex; gap: 20px; }
.shot-viewer { max-height: 65vh; overflow: auto; text-align: center; }
.shot-viewer img { display: block; max-width: 100%; max-height: 65vh; width: auto; height: auto; margin: auto; }
.shot-viewer.expanded img { max-width: none; max-height: none; margin: 0; }
@media (max-width: 720px) {
  .heading-actions { align-items: flex-end; flex-direction: column-reverse; gap: 8px; }
  .heading-actions > .text-btn { font-size: 11px; }
  .shot-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 13px; }
  .capture-help { font-size: 12px; }
  .viewer-actions .text-btn { font-size: 12px; }
}

#toast:not(.show) { display: none; }
#modal > #toast { position: relative; flex-shrink: 0; left: auto; bottom: auto; transform: none; max-width: none; margin: 0 20px 15px; }

.section-actions { display: flex; align-items: center; gap: 23px; }
.slot-overview { display: flex; flex-wrap: wrap; gap: 7px 25px; margin: 0 0 21px; font-size: 13px; color: var(--muted); }
.slot-overview strong { color: var(--fg); margin-left: 5px; font-family: var(--font-display); font-weight: 500; }
.slot-overview .slot-limit, .slot-overview .slot-limit strong { color: var(--danger); }
.note + .slot-overview { margin-top: 20px; }
.pet-search-row { margin-bottom: 16px; }
.pet-basic-filters, .pet-filter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 24px; }
.pet-filter { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.pet-filter > span { color: var(--muted); font-size: 12px; }
.pet-detailed-filters { margin: 22px 0 0; font-size: 13px; }
.pet-detailed-filters summary { width: fit-content; cursor: pointer; color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.pet-filter-grid { margin-top: 20px; }
.pet-list-tools { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 26px 0 17px; scroll-margin-top: 20px; }
.pet-list-tools > p { margin: 0 0 7px; font-size: 13px; color: var(--muted); }
.pet-list-tools > div { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 24px; }
.pet-list-tools .pet-filter { width: 180px; }
.pet-pagination { display: flex; align-items: center; justify-content: center; gap: 30px; min-height: 60px; margin-top: 16px; }
.pet-pagination span { font-family: var(--font-display); font-size: 13px; font-variant-numeric: tabular-nums; }
.pet-pagination button { min-width: 44px; min-height: 44px; }
.pet-row-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; grid-column: 5; }
.pet-row-actions .text-btn { white-space: nowrap; }
.pet-tags { overflow-wrap: anywhere; color: var(--accent); }
@media (max-width: 1050px) { .pet-row-actions { grid-column: 4; grid-row: 1; } }
@media (max-width: 720px) {
  .section-actions { gap: 18px; }
  .slot-overview { font-size: 12px; gap: 7px 20px; }
  .pet-basic-filters { gap: 12px; }
  .pet-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
  .pet-list-tools { align-items: stretch; flex-direction: column; gap: 8px; }
  .pet-list-tools > div { justify-content: space-between; gap: 12px; }
  .pet-list-tools .pet-filter { width: 170px; }
  .pet-row-actions { grid-column: 3; grid-row: 1; gap: 6px; }
  .pet-row-actions .text-btn { font-size: 12px; min-height: 36px; }
}

/* Small screens keep a few marks inside the outer margins, away from fields. */
@media (max-width: 720px), (max-width: 1050px) and (hover: none) and (pointer: coarse) {
  .background-ornaments { position: absolute; }
  .bg-arrangement { display: none; }
  .bg-cluster { width: 18px; height: 100px; aspect-ratio: auto; opacity: .42; }
  .bg-cluster-left { left: 0; top: 185px; }
  .bg-cluster-right { right: 0; top: auto; bottom: 165px; transform: none; }
  .bg-main-star { left: 2px; top: 8px; width: 10px; height: 18px; }
  .bg-small-star { left: 10px; top: 75px; width: 4px; height: 8px; }
  .bg-open-diamond { left: 6px; top: 48px; width: 5px; height: 5px; }
  .bg-tiny-diamond, .bg-ray { display: none; }
  :root[data-theme="dark"] .bg-cluster { opacity: .4; }
}

.tree-selector { margin-bottom: 24px; }
#tree-select { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(100%, 430px); padding: 8px 0 12px; border: 0; border-bottom: 1px solid var(--control-line); background: none; text-align: left; }
#tree-selection-label { min-width: 0; }
.tree-selection-name { display: block; font-size: 14px; overflow-wrap: anywhere; }
.tree-selection-detail { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
#tree-select > svg { flex-shrink: 0; color: var(--accent); }
dialog.tree-picker { height: min(560px, calc(var(--modal-viewport-height) - 24px)); }
.tree-picker #modal-body { display: flex; flex: 1; flex-direction: column; overflow: hidden; padding: 18px 22px 22px; }
.tree-picker-controls { flex-shrink: 0; }
.tree-picker-controls > label { font-size: 13px; }
.tree-picker-controls > input { font-size: 16px; }
#tree-picker-count { flex-shrink: 0; margin: 12px 0 8px; font-size: 12px; color: var(--muted); }
#tree-pet-list { flex: 1; min-height: 0; max-height: 340px; overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scroll-padding-block: 8px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
#tree-pet-list > li { border-bottom: 1px solid var(--line); }
.tree-pet-option { display: block; width: 100%; min-height: 60px; padding: 11px 2px; border: 0; background: none; text-align: left; }
.tree-pet-name-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.tree-pet-name { min-width: 0; font-size: 14px; overflow-wrap: anywhere; }
.tree-pet-current { flex-shrink: 0; color: var(--accent); font-size: 12px; }
.tree-pet-detail { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.tree-pet-option[aria-pressed="true"] .tree-pet-name { color: var(--accent); font-weight: 600; }
.tree-pet-option:focus-visible { outline-offset: -2px; }
.tree-picker-empty { padding: 30px 0; color: var(--muted); text-align: center; font-size: 13px; }
@media (hover: hover) and (pointer: fine) { .tree-pet-option:hover { background: var(--hover); } }
@media (max-width: 720px) { .tree-picker #modal-body { padding: 15px 20px 20px; } }

.sex-symbol { display: inline-block; width: 1em; height: 1em; font-size: 1.05em; line-height: 1; vertical-align: -.12em; padding: 0; }
.sex-symbol > svg { display: block; width: 100%; height: 100%; }
.sex-male { color: #087cae; }
.sex-female { color: #c52f7a; }
:root[data-theme="dark"] .sex-male { color: #6ccaf3; }
:root[data-theme="dark"] .sex-female { color: #ff9cc7; }
.pair-cross { padding: 0 8px; color: var(--muted); }
.birth-countdown { margin-top: 16px; }
.birth-countdown .countdown-caption { margin: 0 0 3px; color: var(--muted); font-size: 12px; }
.birth-countdown strong { display: block; font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 28px); line-height: 1.4; font-weight: 500; letter-spacing: .2px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.birth-countdown .countdown-due { margin: 5px 0 0; font-size: 12px; color: var(--muted); line-height: 1.7; }
.recovery-times { margin-top: 10px; }
.recovery-times p { margin: 4px 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.recovery-times [data-recovery-countdown] { font-family: var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bond-task { align-items: flex-start; }
.bond-task .birth-countdown strong { font-size: 22px; }
.task-actions { display: flex; flex-shrink: 0; flex-direction: column; align-items: flex-end; gap: 8px; }
.task-actions button { min-height: 36px; }
.record-actions { flex-wrap: wrap; }
.bond-entry-modes { display: flex; flex-shrink: 0; gap: 26px; padding: 18px 27px 0; border-bottom: 1px solid var(--line); }
.bond-entry-modes button { padding: 0 0 12px; border: 0; border-bottom: 2px solid transparent; background: none; font-size: 14px; color: var(--muted); }
.bond-entry-modes button[aria-pressed="true"] { border-color: var(--fg); color: var(--fg); font-weight: 600; }
.bond-kind { margin: 0 0 18px; font-size: 13px; color: var(--accent); }
.timestamp-control { display: flex; align-items: center; gap: 12px; }
.timestamp-control input { flex: 1; min-width: 0; }
.timestamp-control button { flex-shrink: 0; min-width: 36px; min-height: 44px; }
.birth-correction, .bond-checks { font-size: 13px; }
.birth-correction summary, .bond-checks summary { width: fit-content; cursor: pointer; color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.birth-correction > label { display: block; margin-top: 14px; }
.remaining-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.remaining-fields label { color: var(--muted); font-size: 12px; }
.bond-checks { margin: 12px 0 8px; }
@media (max-width: 720px) {
  .bond-entry-modes { gap: 18px; padding: 16px 20px 0; }
  .bond-entry-modes button { font-size: 13px; }
  .remaining-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bond-task .birth-countdown strong { font-size: 20px; }
  .task-actions button { min-height: 44px; }
}

/* Browser-local game accounts keep the existing open-row presentation. */
.account-filter-row { margin: -7px 0 24px; }
.account-filter { width: min(100%, 300px); }
.account-slot-list { margin-bottom: 21px; }
.account-slot-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 18px; padding: 7px 0; }
.account-slot-name { font-size: 13px; color: var(--fg); overflow-wrap: anywhere; }
.account-slot-row .slot-overview { margin: 0; }
.account-intro { margin: -8px 0 25px; }
.game-account { border-top: 1px solid var(--line); padding: 24px 0; }
.game-account .section-head { border: 0; margin: 0 0 15px; padding: 0; align-items: flex-start; }
.game-account h2 { overflow-wrap: anywhere; }
.game-account .account-contact { margin: 6px 0 0; overflow-wrap: anywhere; }
.game-account .slot-overview { margin-bottom: 12px; }
.account-scope-help { margin: -9px 0 17px; }
.pet-account-label { color: var(--accent); font-size: 12px; overflow-wrap: anywhere; }
.pair-parent { display: inline-block; vertical-align: top; }
.pair-account { display: block; color: var(--muted); font-size: 12px; font-weight: 400; margin-top: 2px; }
.pet-bulk-tools { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; padding: 10px 0 17px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.pet-bulk-tools .check { margin: 0; }
.pet-bulk-tools .text-btn { font-size: 12px; }
.pet-avatar-tools { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pet-bulk-check { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; color: var(--muted); cursor: pointer; }
.pet-bulk-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
@media (max-width: 720px) {
  .account-slot-row { gap: 4px; flex-direction: column; }
  .account-slot-name { font-size: 12px; }
  .game-account { padding: 20px 0; }
  .pet-bulk-tools { gap: 8px 16px; }
}

/* Pet storage totals stay collapsed until explicitly requested. */
.pet-slot-details { margin: -9px 0 22px; font-size: 13px; }
.pet-slot-details > summary { display: flex; align-items: center; gap: 9px; width: fit-content; padding: 5px 0; list-style: none; cursor: pointer; color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.pet-slot-details > summary::-webkit-details-marker { display: none; }
.pet-slot-details > summary::after { content: ""; width: 5px; height: 5px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.pet-slot-details[open] > summary::after { transform: rotate(225deg); }
.pet-slot-details .account-slot-list { margin: 12px 0 0; }
