@font-face {
  font-family: Rubik;
  src: url("./assets/rubik-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 450;
  font-display: swap;
}
@font-face {
  font-family: Rubik;
  src: url("./assets/rubik-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 451 650;
  font-display: swap;
}
@font-face {
  font-family: Rubik;
  src: url("./assets/rubik-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 651 900;
  font-display: swap;
}
:root {
  font-family: Rubik, "Segoe UI", Arial, sans-serif;
  color: #252136;
  background: #f8f8fc;
  --ink: #252136;
  --muted: #686478;
  --purple: #593bd0;
  --line: #e1dfe9;
  --lavender: #f0ebff;
  --lime: #cded76;
  --white: #fff;
  --radius: 18px;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { color: inherit; cursor: pointer; }
a { color: var(--purple); }
button { border: 0; }
button:disabled { cursor: default; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 3px solid #1866c3; outline-offset: 3px; }
.cover :focus-visible { outline-color: #fbf59b; }
button, a, input, textarea { scroll-margin-block: 1.5rem; }
[hidden] { display: none !important; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { display: inline-block; width: 1.25rem; height: 1.25rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; pointer-events: none; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 8; top: 8px; left: 8px; padding: .8rem 1rem; background: white; }
.frame { width: min(1184px, calc(100% - 64px)); margin-inline: auto; }
.site-head { background: #fff; border-bottom: 1px solid #e7e5ed; }
.head-inner { min-height: 74px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.brand { display: inline-flex; justify-self: start; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-weight: 820; font-size: 2rem; letter-spacing: -.085em; line-height: 1; }
.brand-bang { color: var(--purple); }
.brand img { width: 2.62rem; height: 2.62rem; }
.top-nav { display: flex; align-items: center; gap: 6px; }
.top-nav a, .help-btn { display: inline-flex; gap: 9px; min-height: 44px; align-items: center; justify-content: center; border-radius: 12px; text-decoration: none; font-weight: 540; font-size: .965rem; }
.top-nav a { padding: 0 19px; color: #585566; }
.top-nav a[aria-current="page"] { background: var(--lavender); color: #5131b6; }
.help-btn { justify-self: end; padding: 0 8px; color: #595468; background: transparent; }
.help-btn .ic { color: #716a87; }
.main-frame { padding-top: 26px; padding-bottom: 30px; }
.main-frame:focus { outline: none; }
.cover { overflow: hidden; isolation: isolate; position: relative; min-height: 266px; border-radius: 25px; color: #fff; background: linear-gradient(109deg, #4731ab 0%, #5b3dc8 52%, #7752df 100%); }
.cover-copy { position: relative; z-index: 2; width: 62%; padding: 27px 0 31px 40px; }
.album-picker { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 12px; border-radius: 11px; border: 1px solid #b9a9f28c; background: #38248e70; color: #fff; font-size: .875rem; font-weight: 520; }
.album-picker .ic { width: 17px; height: 17px; }
.album-picker .drop { width: 13px; height: 13px; margin-left: 3px; }
.cover h1 { margin: 14px 0 6px; font-size: clamp(2.6rem, 4.15vw, 3.85rem); line-height: 1.03; font-weight: 750; letter-spacing: -.055em; text-wrap: balance; }
.cover-copy > p { font-size: 1.04rem; line-height: 1.5; margin: 0; color: #f1ebff; }
.progress-block { width: clamp(230px, 75%, 368px); margin-top: 24px; }
.progress-text { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .91rem; }
.progress-text span { font-weight: 550; }
.progress-text strong { color: #dcf797; font-weight: 700; font-variant-numeric: tabular-nums; }
progress { display: block; width: 100%; appearance: none; -webkit-appearance: none; height: 9px; border: 0; border-radius: 1rem; overflow: hidden; margin-top: 8px; background: #3d277f; color: var(--lime); }
progress::-webkit-progress-bar { background: #3d277f; border-radius: 1rem; }
progress::-webkit-progress-value { background: var(--lime); border-radius: 1rem; transition: width .22s ease; }
progress::-moz-progress-bar { background: var(--lime); border-radius: 1rem; }
.cover-art { position: absolute; z-index: 1; top: 50%; right: 3.5%; transform: translateY(-50%) rotate(-2deg); width: min(38%, 421px); height: 96%; object-fit: contain; filter: drop-shadow(0 10px 8px #27136b4a); pointer-events: none; }
.cover-print { pointer-events: none; position: absolute; inset: 0; background-image: radial-gradient(#e0ccff60 1.35px, transparent 1.5px); background-size: 8px 8px; mask-image: linear-gradient(100deg, transparent 40%, #0009 69%, transparent 86%, #000a); }
.pitch { position: absolute; width: 52%; height: 145%; right: -8%; top: -24%; border: 2px solid #d3c5ff42; border-radius: 15px; transform: rotate(-16deg); pointer-events: none; }
.pitch::before { content: ""; position: absolute; inset: 0 50% 0 auto; border-left: 2px solid #d3c5ff44; }
.pitch::after { content: ""; position: absolute; top: 50%; left: 50%; width: 130px; height: 130px; border: 2px solid #d3c5ff44; border-radius: 50%; transform: translate(-50%,-50%); }
.pitch i, .pitch b { position: absolute; inset: 20% 0 20% auto; width: 14%; border: 2px solid #d3c5ff44; border-right: 0; }
.pitch b { inset: 20% auto 20% 0; transform: rotate(180deg); }
h1,h2,h3,p { overflow-wrap: break-word; }
h2 { margin: 0; font-size: clamp(1.65rem, 2.5vw, 2.12rem); letter-spacing: -.055em; line-height: 1.14; font-weight: 720; }
.catalog { padding-top: 31px; }
.section-top, .controls, .section-inline { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.btn { min-height: 47px; padding: 0 19px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 570; font-size: 1rem; line-height: 1.25; border-radius: 13px; text-decoration: none; text-align: center; }
.primary { background: var(--purple); color: #fff; box-shadow: 0 2px 0 #34228d; }
.primary:disabled { background: #e7e4ef; color: #706a7b; box-shadow: none; }
.secondary { background: #fff; color: #464052; border: 1px solid #d8d5e2; }
.soft { background: var(--lavender); color: #4d32b4; }
.text-btn { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0 8px; background: none; color: var(--purple); font-weight: 570; }
.controls { margin: 19px 0 17px; }
.filters { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.filter { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 13px; line-height: 1.1; background: #fff; border: 1px solid #dedce6; border-radius: 12px; color: #4d495c; font-size: .93rem; font-weight: 520; white-space: nowrap; }
.filter .ic { width: 17px; height: 17px; }
.filter .count { font-size: .79rem; font-variant-numeric: tabular-nums; color: #655f76; padding: 2px 5px; border-radius: 5px; background: #f0eff5; }
.filter[aria-pressed="true"] { background: #2f2941; color: #fff; border-color: #2f2941; }
.filter[aria-pressed="true"] .count { background: #51495f; color: #fff; }
.search-box { display: flex; align-items: center; position: relative; flex: 0 1 245px; min-width: 155px; }
.search-box > .ic { position: absolute; left: 13px; color: #777285; width: 18px; height: 18px; }
.search-box input, .field-input { width: 100%; color: var(--ink); border: 1px solid #d9d6e3; background: #fff; border-radius: 12px; min-height: 45px; font-size: 1rem; }
.search-box input { padding: 0 42px 0 41px; }
input::placeholder, textarea::placeholder { color: #726d80; opacity: 1; }
input::-webkit-search-cancel-button { display: none; }
.search-clear { position: absolute; right: 2px; display: grid; place-items: center; width: 41px; height: 42px; background: transparent; }
.search-clear .ic { width: 17px; }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.player-card { position: relative; min-width: 0; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 2px 3px #29204409; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card-main { display: block; text-align: left; width: 100%; border: 0; padding: 0; border-radius: 12px; background: transparent; }
.card-art { display: block; position: relative; aspect-ratio: 1.16; overflow: hidden; isolation: isolate; border-radius: 12px; background: #eae4fc; }
.card-art img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 50% 4%; }
.card-number { position: absolute; top: 9px; left: 9px; padding: 4px 7px; line-height: 1.15; font-size: .79rem; font-weight: 660; font-variant-numeric: tabular-nums; letter-spacing: .02em; border: 1px solid #2820391a; border-radius: 6px; background: #fffcf4f7; color: #302939; box-shadow: 0 1px 1px #2221; }
.card-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 13px 49px 10px 9px; min-height: 76px; }
.card-name { display: block; font-size: clamp(1rem, 1.48vw, 1.22rem); font-weight: 640; line-height: 1.18; letter-spacing: -.035em; }
.state { display: inline-flex; width: fit-content; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 7px; font-size: .82rem; font-weight: 530; line-height: 1.22; }
.state .ic { width: 15px; height: 15px; stroke-width: 2.15; }
.has { color: #245c37; background: #e3f4d7; }
.missing { color: #5f596c; background: #f0eef4; }
.spare { color: #5733ad; background: #eee8ff; }
.card-add { position: absolute; display: grid; place-items: center; bottom: 13px; right: 13px; width: 44px; height: 44px; border-radius: 12px; color: var(--purple); background: #f2effb; }
.card-add .ic { width: 20px; height: 20px; stroke-width: 2.1; }
.card-add:disabled { color: #877e9b; background: #efedf4; }
.number-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.number-grid .player-card { padding: 0; border-top: 3px solid #d7d0f1; border-radius: 15px; }
.number-grid .owned { border-top-color: #91c982; }
.number-grid .repeated { border-top-color: #9479dc; }
.number-grid .card-copy { min-height: 98px; justify-content: center; padding: 13px 44px 13px 12px; }
.number-grid .card-name { font-size: 1.3rem; }
.number-grid .card-add { right: 5px; bottom: 8px; }
.paginator { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 20px; }
.paginator span { color: var(--muted); }
.paginator :disabled { opacity: .52; }
.empty { grid-column: 1/-1; padding: 35px 20px; border: 1px dashed #d6d0e2; border-radius: var(--radius); text-align: center; background: #fff; }
.empty > .ic { width: 32px; height: 32px; color: #8068bf; }
.empty h3 { font-size: 1.2rem; margin: 10px 0 5px; }
.empty p { color: var(--muted); margin: 0 auto 8px; line-height: 1.55; max-width: 48ch; }
.site-foot { margin-top: 28px; border-top: 1px solid var(--line); padding: 18px 0 0; display: flex; align-items: center; gap: 8px; color: #6b657a; font-size: .875rem; }
.site-foot .ic { width: 17px; height: 17px; }
.site-foot.warning { color: #8a4010; }
.no-script { padding: 1rem; }
body.dialog-open { overflow: hidden; }
dialog { position: fixed; z-index: 10; color: var(--ink); width: min(490px, calc(100% - 28px)); max-height: min(89dvh, 770px); overflow-y: auto; padding: 0; background: #fff; border: 1px solid #e3dfeb; border-radius: 23px; box-shadow: 0 24px 75px #170d3938; }
dialog::backdrop { background: #211b3b82; }
.modal-shell { padding: 25px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.modal-head h2 { font-size: 1.6rem; }
.icon-btn { flex: 0 0 44px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #5d5670; background: #f3f1f7; }
.modal-body p, .note { color: var(--muted); line-height: 1.55; }
.modal-body p { margin: 8px 0 15px; }
.modal-actions { margin-top: 21px; display: flex; justify-content: flex-end; gap: 9px; flex-wrap: wrap; }
.modal-actions .primary { flex: 1 1 auto; }
.field-label { display: block; margin: 0 0 6px; font-size: 1rem; font-weight: 590; }
.field-input { padding: 10px 13px; min-height: 48px; }
.number-input { font-variant-numeric: tabular-nums; }
.field-error { font-size: .925rem; color: #8d3030 !important; }
.modal-body .field-note { margin: 7px 0; font-size: .91rem; }
.detail-summary { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #faf9fd; margin-bottom: 18px; }
.detail-summary .thumb, .trade-tile .thumb { height: 69px; width: 56px; object-fit: cover; border-radius: 7px; flex: 0 0 auto; }
.detail-summary strong { display: block; font-size: 1.2rem; margin: 2px 0 5px; }
.detail-summary small,.trade-tile small { color: var(--muted); font-size: .86rem; }
.number-thumb { display: grid; place-items: center; background: var(--lavender); color: var(--purple); }
.number-thumb .ic { width: 29px; height: 29px; }
.quantity-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.quantity-row strong { font-weight: 600; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; }
.stepper button { width: 44px; height: 45px; color: var(--purple); background: transparent; }
.stepper button:disabled { color: #aaa4b7; }
.stepper output { min-width: 28px; text-align: center; font-weight: 650; font-size: 1.2rem; }
.quick-match { margin-top: 14px; }
.quick-match .detail-summary { margin: 0; }
.book-list { display: grid; gap: 10px; }
.book-option { min-height: 74px; width: 100%; display: flex; align-items: center; text-align: left; gap: 11px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.book-option[aria-pressed="true"] { border-color: #a58bdc; background: #f6f2ff; }
.book-option > .ic:last-child { color: var(--purple); margin-left: auto; }
.book-option strong,.book-option small { display: block; }
.book-option small { margin-top: 3px; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.book-tile, .step-icon { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--purple); background: #ede7ff; border-radius: 12px; }
.lime-tile { color: #335120; background: #e4f3cb; }
.instructions { margin: 0; padding: 0; display: grid; gap: 16px; }
.instructions li { list-style: none; display: flex; align-items: flex-start; gap: 12px; line-height: 1.45; }
.instructions strong { display: block; margin-bottom: 2px; }
.instructions .desc { color: var(--muted); }
.parent-info { border-top: 1px solid var(--line); margin-top: 18px; font-size: .9rem; line-height: 1.5; }
.parent-info summary { color: var(--purple); font-weight: 560; padding: 14px 0; cursor: pointer; }
.parent-info p { margin-top: 0; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 9; max-width: calc(100vw - 24px); display: flex; align-items: center; gap: 9px; border-radius: 14px; padding: 4px 6px 4px 12px; background: #30293f; color: white; box-shadow: 0 5px 22px #30204538; }
.toast-icon { color: var(--lime); }
#toast-text { line-height: 1.35; font-size: .94rem; }
.toast button { min-height: 42px; padding: 0 7px; background: transparent; color: var(--lime); font-weight: 560; }
.toast .toast-close { color: #d4cede; width: 35px; }
.toast-close .ic { width: 16px; }
.exchange-top { position: relative; padding: 25px 30px; border: 1px solid #e0d8f5; border-radius: 22px; background: #f0eaff; }
.exchange-top h1 { margin: 12px 0 5px; font-size: clamp(2.2rem, 4.4vw, 3.55rem); letter-spacing: -.055em; line-height: 1.05; }
.exchange-top p { margin: 7px 0 0; line-height: 1.5; color: #584c6a; }
.exchange-top .album-picker { color: #5735b5; background: white; border-color: #dbd1f1; }
.exchange-body { margin: 24px 0; max-width: 880px; }
.exchange-body .filters { margin-bottom: 16px; }
.trade-panel { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.trade-panel h2 { font-size: 1.5rem; }
.trade-panel p { color: var(--muted); line-height: 1.5; }
.trade-panel > p { margin: 7px 0 16px; }
.trade-pair,.friend-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.trade-side { border-radius: 13px; background: #f7f5fc; padding: 13px; }
.trade-side.receive { background: #f0f7e9; }
.trade-side h3 { margin: 0 0 9px; font-size: 1.05rem; }
.trade-side .choices { display: flex; flex-wrap: wrap; gap: 6px; }
.number-choice { min-height: 44px; min-width: 48px; padding: 0 9px; border-radius: 9px; border: 1px solid #cfcbd9; background: #fff; font-size: .93rem; font-weight: 540; }
.number-choice[aria-pressed="true"] { background: #5740b8; color: #fff; border-color: #5740b8; }
.trade-tile { display: flex; gap: 10px; align-items: center; min-width: 0; margin: 9px 0; }
.trade-tile strong { display: block; line-height: 1.2; }
.trade-tile .thumb { width: 44px; height: 54px; }
.trade-tile small { display: block; margin-top: 3px; }
.trade-tile.number-trade strong { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.trade-action { display: flex; gap: 15px; align-items: center; flex-wrap: wrap; margin-top: 17px; }
.trade-action .note { font-size: .9rem; }
.friend-fields textarea { resize: vertical; min-height: 72px; }
.trade-panel + .trade-panel { margin-top: 13px; }
.trade-panel .section-inline { align-items: flex-start; }
.trade-panel .text-btn { gap: 6px; flex-shrink: 0; }
.exchange-empty { background: #faf9fc; border: 1px dashed #d9d3e2; padding: 15px; border-radius: 12px; }
.exchange-empty p { margin: 4px 0 0; }
@media (hover:hover) {
  .top-nav a:hover, .help-btn:hover { background: #f4f1fa; }
  .album-picker:hover { filter: brightness(1.12); }
  .primary:hover:not(:disabled) { background: #492ab8; }
  .filter:hover:not([aria-pressed="true"]), .secondary:hover, .book-option:hover { background: #f6f3fc; }
  .player-card:hover { border-color: #c7b9e4; box-shadow: 0 5px 13px #30204f0c; }
  .card-add:hover:not(:disabled), .icon-btn:hover, .soft:hover { background: #e4dbf8; }
  .stepper button:hover:not(:disabled) { background: var(--lavender); border-radius: 9px; }
}
@media (min-width:1450px) {
  .frame { width: min(1240px, calc(100% - 96px)); }
}
@media (max-width:960px) {
  .frame { width: calc(100% - 44px); }
  .cover-copy { padding-left: 28px; }
  .cover-art { right: 1.5%; }
  .filter { padding-inline: 10px; gap: 5px; }
  .card-grid { gap: 12px; }
  .number-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
  .card-copy { padding-left: 6px; padding-right: 41px; }
  .card-add { right: 7px; bottom: 10px; }
}
@media (max-width:780px) {
  .frame { width: calc(100% - 32px); }
  .head-inner { min-height: 65px; }
  .top-nav a { padding-inline: 12px; }
  .cover { min-height: 236px; }
  .cover-copy { padding: 22px 0 25px 24px; }
  .cover-copy > p { font-size: .95rem; }
  .cover h1 { font-size: 2.65rem; }
  .filter .ic { display: none; }
  .search-box { flex-basis: 207px; }
  .card-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .number-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
@media (max-width:620px) {
  .frame { width: calc(100% - 28px); }
  .head-inner { min-height: 59px; grid-template-columns: 1fr auto; }
  .brand { font-size: 1.7rem; gap: 6px; }
  .brand img { width: 35px; height: 35px; }
  .help-btn { min-height: 44px; font-size: .9rem; }
  .top-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 6; background: #fff; padding: 6px max(14px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)); justify-content: center; gap: 8px; box-shadow: 0 -1px 0 #e1deea, 0 -3px 12px #21162b09; }
  .top-nav a { flex: 1; max-width: 220px; min-height: 46px; }
  .main-frame { padding-top: 14px; padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .cover { min-height: 232px; border-radius: 20px; }
  .cover-copy { width: 100%; padding: 16px 18px 19px; }
  .cover h1 { max-width: 65%; font-size: clamp(1.6rem, 7.15vw, 2.65rem); margin: 12px 0 5px; line-height: 1.04; overflow-wrap: normal; text-wrap: wrap; }
  .cover-copy > p { max-width: 57%; font-size: .9rem; line-height: 1.3; }
  .album-picker { font-size: .835rem; min-height: 44px; padding-inline: 9px; gap: 6px; }
  .cover-art { width: 40%; height: 70%; right: .6%; top: 43%; }
  .pitch { right: -15%; width: 65%; }
  .progress-block { width: 100%; margin-top: 17px; }
  .progress-text { font-size: .87rem; }
  .catalog { padding-top: 22px; }
  .section-top { gap: 8px; }
  h2 { font-size: 1.6rem; }
  .btn { font-size: .95rem; min-height: 45px; padding: 0 13px; gap: 6px; }
  .wide-text { display: none; }
  .controls { display: grid; grid-template-columns: minmax(0,1fr); justify-content: stretch; gap: 10px; margin: 13px 0; }
  .filters { gap: 5px; }
  .filter { min-height: 44px; padding-inline: 9px; border-radius: 10px; font-size: .87rem; gap: 4px; }
  .filter .count { font-size: .75rem; padding: 2px 4px; }
  .search-box { width: 100%; }
  .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .player-card { border-radius: 14px; padding: 4px; }
  .card-art { border-radius: 10px; aspect-ratio: 1.07; }
  .card-number { top: 6px; left: 6px; font-size: .76rem; }
  .card-copy { min-height: 84px; padding: 9px 3px 5px 5px; gap: 7px; }
  .card-name { font-size: 1rem; line-height: 1.15; }
  .state { max-width: calc(100% - 39px); font-size: .76rem; padding: 3px 5px; gap: 3px; }
  .state .ic { width: 13px; height: 13px; }
  .card-add { right: 5px; bottom: 5px; width: 44px; height: 44px; background: transparent; }
  .card-add::before { content: ""; position: absolute; inset: 5px; border-radius: 9px; background: #f2effb; z-index: 0; }
  .card-add .ic { z-index: 1; }
  .number-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
  .number-grid .card-copy { padding: 10px 6px 45px; min-height: 100px; }
  .number-grid .card-name { font-size: 1.1rem; }
  .number-grid .state { max-width: 100%; }
  .number-grid .card-add { right: 2px; bottom: 2px; }
  .site-foot { margin-top: 20px; }
  .modal-shell { padding: 18px; }
  .toast { width: max-content; bottom: calc(69px + env(safe-area-inset-bottom)); gap: 5px; }
  .exchange-top { padding: 17px; }
  .exchange-body { margin: 14px 0; }
  .trade-panel { padding: 15px; }
  .trade-pair, .friend-fields { gap: 9px; }
  .trade-tile { flex-wrap: wrap; }
  .trade-side { padding: 9px; }
}
@media (max-width:370px) {
  .frame { width: calc(100% - 20px); }
  .filter { padding-inline: 7px; }
  .card-copy { min-height: 89px; }
  .card-name { font-size: .95rem; }
  .friend-fields { grid-template-columns: 1fr; }
  .paginator { gap: 7px; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
