:root {
  --nt-ink: #271a44;
  --nt-plum: #342356;
  --nt-paper: #f9f5ff;
  --nt-white: #fff;
  --nt-violet: #6441a5;
  --nt-lilac: #e9dafa;
  --nt-lime: #e3fa94;
  --nt-line: #d7c6ec;
  --nt-muted: #5b4975;
  --nt-radius: 22px;
  --nt-font: ui-rounded, "Aptos", "Segoe UI", system-ui, sans-serif;
}
.nt-site { margin: 0; color: var(--nt-ink); background: var(--nt-paper); font: 1.05rem/1.55 var(--nt-font); }
.nt-site *, .nt-dialog * { box-sizing: border-box; }
.nt-wrap { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.nt-header, .nt-footer { padding-block: 18px; }
.nt-header .nt-wrap, .nt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.nt-header .nt-wrap { justify-content: space-between; }
.nt-brand { display: inline-flex; gap: 9px; align-items: center; color: var(--nt-ink); font-size: 1.4rem; font-weight: 850; text-decoration: none; }
.nt-brand img { border-radius: 12px; }
.nt-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 17px; border: 1px solid var(--nt-line); border-radius: 13px; background: var(--nt-white); color: var(--nt-ink); font: 750 1rem/1.25 var(--nt-font); cursor: pointer; text-decoration: none; }
.nt-button:hover { border-color: var(--nt-violet); }
.nt-button-primary { background: var(--nt-lime); border-color: var(--nt-lime); color: var(--nt-ink); }
.nt-button[disabled] { opacity: .65; cursor: default; }
.nt-site :focus-visible, .nt-dialog :focus-visible, .nt-button:focus-visible { outline: 3px solid #986ee0; outline-offset: 3px; }
.nt-hero { position: relative; display: grid; align-items: center; grid-template-columns: 1.1fr .9fr; gap: 32px; isolation: isolate; overflow: hidden; padding: clamp(24px, 5vw, 66px); border-radius: 32px; background: var(--nt-plum); color: white; }
.nt-hero h1 { margin: .25em 0; font-size: clamp(2.4rem, 7vw, 5rem); line-height: .96; letter-spacing: -.05em; max-width: 13ch; }
.nt-hero p { max-width: 48ch; }
.nt-kicker { color: var(--nt-lime); text-transform: uppercase; font-size: .79rem; letter-spacing: .14em; font-weight: 800; }
.nt-orbit { position: relative; display: grid; place-items: center; min-height: 260px; background: radial-gradient(ellipse at center, #7752b1, transparent 70%); }
.nt-orbit::before, .nt-orbit::after { content: ''; position: absolute; width: 90%; height: 46%; border: 1px solid #cdb5f888; border-radius: 50%; transform: rotate(-23deg); }
.nt-orbit::after { transform: rotate(23deg); }
.nt-pet { position: relative; z-index: 1; display: inline-block; flex: none; width: min(190px, 70vw); aspect-ratio: 1; object-fit: contain; }
.nt-pet img { display: block; width: 100%; height: auto; }
.nt-pet img[hidden] { display: none; }
.nt-pet-animated { background: url('./noti-atlas.png') no-repeat 0 0 / 2400% 100%; }
.nt-pet-idle { animation: nt-pet-idle 1.6s steps(15, end) both; }
.nt-pet-cheer { animation: nt-pet-cheer .8s steps(7, end) both; }
@keyframes nt-pet-idle { from { background-position-x: 0% } to { background-position-x: 65.217391% } }
@keyframes nt-pet-cheer { from { background-position-x: 69.565217% } to { background-position-x: 100% } }
.nt-pet-small { width: 58px; }
.top-tools { flex-wrap: wrap; justify-content: flex-end; }
#practice-account .nt-button { min-height: 36px; font-size: .85rem; padding: 6px 10px; }
.nt-status:empty { display: none; }
@media (max-width: 900px) { #practice-pet { display: none; } }
.nt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; margin-block: 20px; }
.nt-card { padding: clamp(15px, 3vw, 26px); background: var(--nt-white); border: 1px solid var(--nt-line); border-radius: var(--nt-radius); min-width: 0; }
.nt-card h2, .nt-card h3 { margin: 0; }
.nt-card p:last-child { margin-bottom: 0; }
.nt-dialog { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 26px); padding: clamp(16px, 4vw, 25px); border: 1px solid var(--nt-line); border-radius: var(--nt-radius); background: var(--nt-white); color: var(--nt-ink); font: 1rem/1.5 var(--nt-font); }
.nt-dialog::backdrop { background: #271a44a3; }
.nt-dialog[open] { animation: nt-enter .25s ease-out; }
.nt-dialog h2 { margin: 0 0 .55em; }
.nt-field { display: grid; gap: 4px; margin-block: 10px; font-weight: 700; }
.nt-field :is(input, select, textarea) { width: 100%; min-height: 45px; font: inherit; font-weight: 500; border: 1px solid var(--nt-line); border-radius: 10px; padding: 8px; color: var(--nt-ink); background: var(--nt-white); }
.nt-status { color: var(--nt-muted); }
.nt-status[data-error] { color: #86183d; }
.nt-studio { padding-block: 12px 36px; }
.nt-studio .nt-list { display: grid; gap: 10px; max-height: min(60dvh, 515px); overflow: auto; scrollbar-width: thin; }
.nt-list-item { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--nt-line); }
.nt-list-item strong { overflow-wrap: anywhere; }
.nt-entry { animation: nt-enter .36s ease-out both; }
@keyframes nt-enter { from { opacity: 0; transform: translateY(9px) scale(.99) } to { opacity: 1; transform: none } }
@media (max-width: 630px) { .nt-hero { grid-template-columns: 1fr; gap: 4px; } .nt-orbit { min-height: 170px; } .nt-orbit .nt-pet { width: 142px; } }
@media (prefers-reduced-motion: reduce) { .nt-entry, .nt-dialog[open], .nt-pet-animated { animation: none; } }
