/* ==========================================================
   Suitcase.exe ♡ — Y2K packing organizer
   ========================================================== */

/* ---------- skins ---------- */
:root,
[data-skin="bubblegum"] {
  --bg-a: #bfe6ff;
  --bg-b: #ffd3ef;
  --bg-c: #e6dbff;
  --pattern: #ffffff;
  --ink: #4b2a6e;
  --ink-soft: #7d5f9e;
  --ink-faint: #a893c2;
  --pink: #ff6fbf;
  --pink-2: #ff9bd3;
  --pink-l: #ffe0f2;
  --sky: #5fb8ff;
  --sky-2: #9ad3ff;
  --sky-l: #dff2ff;
  --lila: #a98bff;
  --lila-l: #efe8ff;
  --mint: #7fe3c0;
  --mint-l: #dcfbef;
  --lemon: #ffe27a;
  --danger: #ff4f7b;
  --win-bg: rgba(255, 255, 255, .88);
  --win-bg-solid: #fffafd;
  --win-border: #c58bf0;
  --title-1: #ffb8e3;
  --title-2: #ff7cc6;
  --title-3: #ff5fb5;
  --title-4: #ff8ccf;
  --title-ink: #ffffff;
  --hard: rgba(122, 76, 170, .28);
  --field: #ffffff;
  --field-border: #d8c3f4;
  --tab-bg: #f6eaff;
  --taskbar-1: #b8dcff;
  --taskbar-2: #6cb2f5;
  --taskbar-3: #4d97e3;
}

[data-skin="aqua"] {
  --bg-a: #c4f1ff;
  --bg-b: #e3f6ff;
  --bg-c: #d1e3ff;
  --ink: #23466e;
  --ink-soft: #4f7298;
  --ink-faint: #8aa6c4;
  --pink: #2f9bff;
  --pink-2: #75bcff;
  --pink-l: #dcefff;
  --sky: #3fd0e8;
  --sky-2: #8de6f3;
  --sky-l: #dcf8fc;
  --lila: #7f9bff;
  --lila-l: #e5ebff;
  --win-border: #6fb3ef;
  --title-1: #a8dcff;
  --title-2: #4aa9f5;
  --title-3: #2386e6;
  --title-4: #5fb4f7;
  --hard: rgba(40, 100, 170, .25);
  --field-border: #b6d6f4;
  --tab-bg: #e7f4ff;
  --taskbar-1: #9fe5f3;
  --taskbar-2: #38b9d8;
  --taskbar-3: #1f99bd;
}

[data-skin="lilac"] {
  --bg-a: #efe1ff;
  --bg-b: #ffe3f6;
  --bg-c: #dcd2ff;
  --ink: #4a2f73;
  --pink: #b26cff;
  --pink-2: #cfa2ff;
  --pink-l: #f2e6ff;
  --win-border: #b896f2;
  --title-1: #e1c8ff;
  --title-2: #b58aff;
  --title-3: #9b66f5;
  --title-4: #bf98ff;
  --hard: rgba(110, 70, 170, .28);
  --tab-bg: #f3ecff;
  --taskbar-1: #dcc6ff;
  --taskbar-2: #a57ff0;
  --taskbar-3: #8a63dc;
}

[data-skin="night"] {
  --bg-a: #1c1438;
  --bg-b: #2c1b4a;
  --bg-c: #120e26;
  --pattern: #ff9bd3;
  --ink: #f6eaff;
  --ink-soft: #d2bdf0;
  --ink-faint: #9783b8;
  --pink: #ff6fbf;
  --pink-2: #ff9bd3;
  --pink-l: #4a2a5e;
  --sky: #5fb8ff;
  --sky-l: #22305a;
  --lila: #a98bff;
  --lila-l: #2f2552;
  --mint-l: #1d4a40;
  --win-bg: rgba(38, 27, 66, .92);
  --win-bg-solid: #261b42;
  --win-border: #8d6ad6;
  --title-1: #8b6bd8;
  --title-2: #6b48c0;
  --title-3: #5536a8;
  --title-4: #7d5ad2;
  --hard: rgba(0, 0, 0, .45);
  --field: #1d1535;
  --field-border: #5d4a8f;
  --tab-bg: #31244f;
  --taskbar-1: #5a4596;
  --taskbar-2: #3a2a6e;
  --taskbar-3: #2a1d55;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "M PLUS Rounded 1c", "Nunito", system-ui, sans-serif;
  font-size: 15px;
  color: var(--ink);
  background-color: var(--bg-b);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='%23ffffff' fill-opacity='.55'%3E%3Cpath d='M20 10l2 6 6 2-6 2-2 6-2-6-6-2 6-2z'/%3E%3Cpath d='M84 66c3-5 10-3 9 2 0 4-9 9-9 9s-9-5-9-9c-1-5 6-7 9-2z'/%3E%3Ccircle cx='60' cy='30' r='1.6'/%3E%3Ccircle cx='100' cy='100' r='1.4'/%3E%3Ccircle cx='30' cy='90' r='1.2'/%3E%3Cpath d='M104 22l1 3 3 1-3 1-1 3-1-3-3-1 3-1z'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(170deg, var(--bg-a) 0%, var(--bg-b) 52%, var(--bg-c) 100%);
  background-attachment: fixed;
  padding-bottom: calc(64px + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
[data-skin="night"] body {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cg fill='%23ff9bd3' fill-opacity='.35'%3E%3Cpath d='M20 10l2 6 6 2-6 2-2 6-2-6-6-2 6-2z'/%3E%3Ccircle cx='60' cy='30' r='1.2'/%3E%3Ccircle cx='100' cy='100' r='1'/%3E%3Ccircle cx='30' cy='90' r='1'/%3E%3Cpath d='M104 22l1 3 3 1-3 1-1 3-1-3-3-1 3-1z'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(170deg, var(--bg-a) 0%, var(--bg-b) 52%, var(--bg-c) 100%);
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
::selection { background: var(--pink-2); color: #fff; }
:focus-visible { outline: 3px dashed var(--pink); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.px { image-rendering: pixelated; display: block; }
.pixel-font { font-family: "Silkscreen", monospace; letter-spacing: .02em; }

/* floating decorations */
.sky-deco { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.sky-deco span {
  position: absolute; color: #fff; opacity: .7; font-size: 22px;
  text-shadow: 0 0 8px var(--pink-2);
  animation: floaty 9s ease-in-out infinite;
}
.sky-deco span:nth-child(1) { left: 4%; top: 18%; }
.sky-deco span:nth-child(2) { left: 92%; top: 12%; animation-delay: -2s; color: var(--pink-2); }
.sky-deco span:nth-child(3) { left: 86%; top: 58%; animation-delay: -4s; }
.sky-deco span:nth-child(4) { left: 8%; top: 72%; animation-delay: -1s; font-size: 16px; }
.sky-deco span:nth-child(5) { left: 48%; top: 90%; animation-delay: -6s; color: var(--pink-2); }
.sky-deco span:nth-child(6) { left: 62%; top: 6%; animation-delay: -3s; font-size: 14px; }
.sky-deco span:nth-child(7) { left: 25%; top: 40%; animation-delay: -5s; font-size: 12px; }
.sky-deco span:nth-child(8) { left: 74%; top: 32%; animation-delay: -7s; font-size: 14px; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(12deg); } }

/* ---------- top bar ---------- */
.topbar {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 18px;
  max-width: 1240px; margin: 0 auto; padding: 14px 16px 6px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-wrap: wrap; row-gap: 0; }
.logo-icon { width: 44px; filter: drop-shadow(2px 2px 0 var(--hard)); }
.logo-icon .px { width: 44px; height: auto; }
.logo-text {
  font-family: "Sniglet", "M PLUS Rounded 1c", sans-serif; font-weight: 800; font-size: 34px; line-height: 1;
  background: linear-gradient(180deg, #fff 0%, #f3f0ff 38%, #a8a3c7 50%, #ffffff 62%, #d9d3f0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 var(--pink)) drop-shadow(0 0 1px var(--ink)) drop-shadow(2px 3px 0 var(--hard));
}
.logo-ext { font-size: 22px; }
.logo-tag {
  flex-basis: 100%; padding-left: 54px; margin-top: -2px;
  font-family: "Silkscreen", monospace; font-size: 10px; color: var(--ink-soft); letter-spacing: .06em;
}
.marquee {
  flex: 1; min-width: 0; overflow: hidden;
  border: 2px solid var(--win-border); border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.6));
  box-shadow: inset 0 2px 4px rgba(0,0,0,.06), 3px 3px 0 var(--hard);
  font-family: "Silkscreen", monospace; font-size: 11px; color: var(--pink);
  padding: 5px 0;
}
[data-skin="night"] .marquee { background: rgba(30, 20, 60, .8); }
.marquee-track { display: inline-block; white-space: nowrap; animation: marquee 38s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- layout ---------- */
#app { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 10px 16px 24px; outline: none; }

/* ---------- XP-ish windows ---------- */
.win {
  position: relative;
  background: var(--win-bg);
  border: 2px solid var(--win-border);
  border-radius: 14px 14px 12px 12px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.7), 5px 5px 0 var(--hard), 0 14px 30px rgba(90, 40, 140, .12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
[data-skin="night"] .win { box-shadow: inset 0 0 0 2px rgba(255,255,255,.08), 5px 5px 0 var(--hard), 0 14px 30px rgba(0,0,0,.3); }
.win-title {
  display: flex; align-items: center; gap: 8px;
  min-height: 32px; padding: 4px 6px 4px 10px;
  border-radius: 11px 11px 0 0;
  background: linear-gradient(180deg, var(--title-1) 0%, var(--title-2) 46%, var(--title-3) 52%, var(--title-4) 100%);
  color: var(--title-ink);
  font-family: "Silkscreen", monospace; font-size: 13px; letter-spacing: .03em;
  text-shadow: 1px 1px 0 rgba(0,0,0,.18);
  border-bottom: 2px solid var(--win-border);
  position: relative; overflow: hidden;
}
.win-title::after {
  content: ""; position: absolute; left: 6px; right: 6px; top: 2px; height: 40%;
  border-radius: 10px 10px 30px 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0));
  pointer-events: none;
}
.win-title .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-ctrls { display: flex; gap: 4px; position: relative; z-index: 1; }
.win-ctrl {
  width: 24px; height: 22px; display: grid; place-items: center;
  border: 1.5px solid #fff; border-radius: 6px; padding: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.6), rgba(255,255,255,.15) 50%, rgba(255,255,255,.05) 51%, rgba(255,255,255,.3));
  color: #fff; font-family: "Silkscreen", monospace; font-size: 12px; line-height: 1;
  text-shadow: 1px 1px 0 rgba(0,0,0,.25);
  transition: transform .1s, filter .15s;
}
.win-ctrl:hover { filter: brightness(1.15); transform: translateY(-1px); }
.win-ctrl.close { background: linear-gradient(180deg, #ffb0b8, #ff5f7a 50%, #ff4a6a 51%, #ff7b90); }
.win-body { padding: 16px; }

/* ---------- buttons ---------- */
.btn {
  --b1: #fff; --b2: #f4ecff; --b3: #e2d3fb; --bc: var(--win-border); --bt: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 8px 16px; min-height: 38px;
  border: 2px solid var(--bc); border-radius: 999px;
  background: linear-gradient(180deg, var(--b1) 0%, var(--b2) 50%, var(--b3) 51%, var(--b2) 100%);
  color: var(--bt); font-weight: 800; font-size: 14px; line-height: 1.1;
  box-shadow: 0 3px 0 var(--hard), inset 0 -2px 4px rgba(255,255,255,.6);
  transition: transform .08s, box-shadow .08s, filter .15s;
  white-space: nowrap; text-decoration: none;
}
.btn::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 3px; height: 38%;
  border-radius: 999px; background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,0));
  pointer-events: none;
}
.btn:hover { filter: brightness(1.05) saturate(1.1); transform: translateY(-1px); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--hard); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-pink { --b1: #ffd1ec; --b2: var(--pink-2); --b3: var(--pink); --bc: #e04b9f; --bt: #fff; text-shadow: 1px 1px 0 rgba(150, 20, 90, .35); }
.btn-sky { --b1: #e2f4ff; --b2: var(--sky-2); --b3: var(--sky); --bc: #3d93d6; --bt: #fff; text-shadow: 1px 1px 0 rgba(20, 70, 140, .35); }
.btn-mint { --b1: #e5fff5; --b2: #a9f0d6; --b3: #5fd6ac; --bc: #2fa57d; --bt: #0f5a43; }
.btn-danger { --b1: #ffd7df; --b2: #ff8fa6; --b3: #ff4f7b; --bc: #d22c58; --bt: #fff; text-shadow: 1px 1px 0 rgba(120,0,30,.35); }
.btn-chrome { --b1: #ffffff; --b2: #e9eaf3; --b3: #c3c6d8; --bc: #9da2bd; --bt: #4a4c66; }
[data-skin="night"] .btn:not([class*="btn-"]) { --b1: #4b3a7e; --b2: #3a2b68; --b3: #2e2156; --bt: #f6eaff; }
.btn-sm { padding: 5px 11px; min-height: 30px; font-size: 13px; }
.btn-xs { padding: 3px 9px; min-height: 26px; font-size: 12px; }
.btn-big {
  padding: 14px 28px; min-height: 56px; font-size: 20px;
  font-family: "Sniglet", sans-serif; font-weight: 800; letter-spacing: .03em;
}
.btn-new { animation: pulse-glow 2.4s ease-in-out infinite; }
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 4px 0 var(--hard), 0 0 0 0 rgba(255, 111, 191, .5); } 50% { box-shadow: 0 4px 0 var(--hard), 0 0 0 10px rgba(255, 111, 191, 0); } }
.icon-btn {
  display: inline-grid; place-items: center; width: 32px; height: 32px; padding: 0;
  border: 2px solid transparent; border-radius: 10px; background: transparent;
  font-size: 16px; transition: background .15s, transform .1s;
}
.icon-btn:hover { background: var(--pink-l); border-color: var(--pink-2); transform: scale(1.06); }
.link-btn { background: none; border: 0; padding: 0; color: var(--pink); font-weight: 800; text-decoration: underline wavy; text-underline-offset: 3px; }

/* ---------- form fields ---------- */
.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; min-width: 0; }
.field > span, .legend {
  font-family: "Silkscreen", monospace; font-size: 11px; color: var(--ink-soft); letter-spacing: .04em; text-transform: uppercase;
}
.input, .field input, .field select, .field textarea {
  width: 100%; padding: 9px 12px; min-height: 40px;
  border: 2px solid var(--field-border); border-radius: 12px;
  background: var(--field); color: var(--ink);
  box-shadow: inset 2px 2px 0 rgba(160, 120, 210, .12);
  outline: none; transition: border-color .15s, box-shadow .15s;
}
.input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--pink); box-shadow: inset 2px 2px 0 rgba(160,120,210,.12), 0 0 0 4px rgba(255,111,191,.18);
}
.field .hint { font-size: 12px; color: var(--ink-faint); }
.field.err input { border-color: var(--danger); }
.err-msg { color: var(--danger); font-size: 12px; font-weight: 700; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 12px; border-radius: 999px;
  border: 2px solid var(--field-border); background: var(--field);
  font-size: 13px; font-weight: 700; cursor: pointer; user-select: none;
  transition: all .12s;
}
.chip span:hover { border-color: var(--pink-2); transform: translateY(-1px); }
.chip input:checked + span {
  border-color: var(--pink); color: #fff;
  background: linear-gradient(180deg, var(--pink-2), var(--pink) 55%, var(--pink-2));
  box-shadow: 0 2px 0 var(--hard); text-shadow: 1px 1px 0 rgba(0,0,0,.15);
}
.chip input:focus-visible + span { outline: 3px dashed var(--pink); outline-offset: 2px; }
.chip small { font-size: 10px; opacity: .85; font-family: "Silkscreen", monospace; }
.swatches { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.swatch input { position: absolute; opacity: 0; }
.swatch span { display: block; width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--field-border), 0 3px 0 var(--hard); cursor: pointer; }
.swatch input:checked + span { box-shadow: 0 0 0 3px var(--ink), 0 3px 0 var(--hard); transform: scale(1.1); }
.check-line { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; cursor: pointer; }
.check-line input { width: 18px; height: 18px; accent-color: var(--pink); }

/* ---------- custom checkbox ---------- */
.chk { position: relative; display: inline-grid; place-items: center; flex: none; cursor: pointer; }
.chk input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chk-box {
  width: 26px; height: 26px; border-radius: 8px;
  border: 2px solid var(--win-border);
  background: linear-gradient(180deg, #fff, #f1e8ff);
  box-shadow: inset 0 2px 3px rgba(150, 100, 200, .2), 0 2px 0 var(--hard);
  display: grid; place-items: center; color: #fff; font-size: 15px; line-height: 1;
  transition: transform .15s cubic-bezier(.3, 1.6, .5, 1), background .15s;
}
[data-skin="night"] .chk-box { background: linear-gradient(180deg, #3a2b68, #2a1d55); }
.chk input:checked + .chk-box {
  background: linear-gradient(180deg, var(--pink-2), var(--pink) 55%, #ff4fa8);
  border-color: #e04b9f; transform: scale(1.08) rotate(-4deg);
}
.chk input:checked + .chk-box::after { content: "♥"; text-shadow: 0 1px 0 rgba(0,0,0,.2); }
.chk input:focus-visible + .chk-box { outline: 3px dashed var(--pink); outline-offset: 2px; }

/* ---------- glossy progress ---------- */
.prog {
  position: relative; height: 26px; border-radius: 999px; overflow: hidden;
  border: 2px solid var(--win-border);
  background: linear-gradient(180deg, #ece4f7, #fff 70%);
  box-shadow: inset 0 3px 5px rgba(120, 80, 170, .2);
}
[data-skin="night"] .prog { background: linear-gradient(180deg, #160f2c, #2a1d55); }
.prog > i {
  position: absolute; inset: 0 auto 0 0; display: block; border-radius: 999px;
  background:
    repeating-linear-gradient(-45deg, rgba(255,255,255,.28) 0 10px, rgba(255,255,255,0) 10px 20px),
    linear-gradient(90deg, var(--pink), var(--lila) 55%, var(--sky));
  background-size: 28px 28px, 100% 100%;
  animation: stripes 1.2s linear infinite;
  transition: width .5s cubic-bezier(.3, 1.3, .5, 1);
}
.prog > i::after {
  content: ""; position: absolute; left: 6px; right: 6px; top: 2px; height: 42%; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.1));
}
.prog > b {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: "Silkscreen", monospace; font-size: 12px; color: var(--ink);
  text-shadow: 0 0 3px #fff, 0 0 3px #fff;
}
[data-skin="night"] .prog > b { color: #fff; text-shadow: 0 0 3px #000; }
.prog.sm { height: 14px; border-width: 1.5px; }
.prog.sm > b { display: none; }
.prog.full > i { background: repeating-linear-gradient(-45deg, rgba(255,255,255,.3) 0 10px, rgba(255,255,255,0) 10px 20px), linear-gradient(90deg, #ff6fbf, #ffb86c, #ffe27a, #7fe3c0, #5fb8ff, #a98bff); background-size: 28px 28px, 100% 100%; }
@keyframes stripes { to { background-position: 28px 0, 0 0; } }

/* ---------- HOME ---------- */
.hello { margin-bottom: 22px; }
.hello .win-body { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 22px 24px; }
.hello h1 {
  margin: 0 0 4px; font-family: "Sniglet", sans-serif; font-weight: 800; font-size: clamp(30px, 5vw, 46px); line-height: 1.05;
  color: var(--pink);
  text-shadow: 2px 2px 0 #fff, 4px 4px 0 var(--lila-l), 5px 5px 0 var(--hard);
}
[data-skin="night"] .hello h1 { text-shadow: 2px 2px 0 #3a2b68, 4px 4px 0 var(--hard); }
.hello .sub { margin: 0 0 14px; color: var(--ink-soft); font-weight: 700; }
.hello .next { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 18px; font-size: 14px; }
.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px;
  background: var(--pink-l); border: 1.5px solid var(--pink-2); color: var(--ink);
  font-size: 12px; font-weight: 800; white-space: nowrap;
}
.badge.sky { background: var(--sky-l); border-color: var(--sky-2); }
.badge.lila { background: var(--lila-l); border-color: var(--lila); }
.badge.mint { background: var(--mint-l); border-color: var(--mint); }
.badge.hot { background: linear-gradient(180deg, #ff9bd3, #ff5fae); color: #fff; border-color: #e04b9f; }
.badge.px-b { font-family: "Silkscreen", monospace; font-weight: 400; font-size: 11px; }

/* tamagotchi */
.tama { display: flex; align-items: center; gap: 12px; }
.tama-egg {
  position: relative; width: 136px; height: 156px; flex: none;
  border-radius: 50% 50% 46% 46% / 56% 56% 44% 44%;
  background:
    radial-gradient(circle at 30% 22%, rgba(255,255,255,.9) 0 10%, transparent 11%),
    linear-gradient(160deg, #ffd6f0 0%, #ff9bd3 45%, #c99bff 100%);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--win-border), 5px 6px 0 var(--hard), inset -8px -10px 18px rgba(120, 40, 160, .25);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.tama-screen {
  width: 84px; height: 72px; border-radius: 12px;
  background: linear-gradient(180deg, #e9fff4, #c9f3df);
  border: 3px solid #8a6fb8; box-shadow: inset 0 3px 6px rgba(0,0,0,.18);
  display: grid; place-items: center; position: relative; overflow: hidden;
}
.tama-screen .px { width: 56px; height: auto; }
.tama-screen .mascot { animation: bob 1.6s steps(2) infinite; }
.mood-party .tama-screen .mascot { animation: jump .5s ease-in-out infinite alternate; }
.mood-sleepy .tama-screen .mascot { animation: bob 3s steps(2) infinite; }
.tama-screen .fx { position: absolute; font-size: 12px; top: 2px; right: 4px; animation: floaty 2s ease-in-out infinite; }
.tama-btns { display: flex; gap: 10px; }
.tama-btns i { width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(180deg, #fff, var(--lemon)); border: 2px solid #8a6fb8; display: block; }
.tama-btns i:nth-child(2) { transform: translateY(5px); }
@keyframes bob { 0% { transform: translateY(0); } 100% { transform: translateY(-3px); } }
@keyframes jump { from { transform: translateY(2px) scale(1, .95); } to { transform: translateY(-6px) scale(.97, 1.04); } }
.bubble {
  position: relative; max-width: 220px; padding: 10px 14px;
  background: #fff; color: #4b2a6e; border: 2px solid var(--win-border); border-radius: 16px;
  box-shadow: 3px 3px 0 var(--hard); font-size: 13px; font-weight: 700; line-height: 1.35;
}
.bubble::before {
  content: ""; position: absolute; left: -10px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: #fff; border-left: 2px solid var(--win-border); border-bottom: 2px solid var(--win-border);
  transform: rotate(45deg);
}
.bubble b { color: var(--pink); }
.tama-name { font-family: "Silkscreen", monospace; font-size: 10px; color: var(--ink-faint); display: block; margin-top: 4px; }

.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; }
.section-head h2, .h-px {
  margin: 0; font-family: "Silkscreen", monospace; font-weight: 700; font-size: 18px; color: var(--ink);
  text-shadow: 2px 2px 0 #fff;
}
[data-skin="night"] .section-head h2, [data-skin="night"] .h-px { text-shadow: 2px 2px 0 #000; }
.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: var(--win-bg); border: 2px solid var(--win-border); box-shadow: 3px 3px 0 var(--hard); }
.seg button { border: 0; background: none; padding: 5px 12px; border-radius: 999px; font-weight: 800; font-size: 13px; color: var(--ink-soft); }
.seg button.on { background: linear-gradient(180deg, var(--pink-2), var(--pink)); color: #fff; text-shadow: 1px 1px 0 rgba(0,0,0,.15); }

.trips { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.trip-card { --tc: var(--pink); --tc-l: var(--pink-l); --tc-d: #e0559f; cursor: pointer; transition: transform .15s; display: flex; flex-direction: column; }
.trip-card:hover { transform: translateY(-3px) rotate(-.4deg); }
.trip-card:nth-child(even):hover { transform: translateY(-3px) rotate(.4deg); }
.trip-card .win-title { background: linear-gradient(180deg, var(--tc-l) 0%, var(--tc) 46%, var(--tc-d) 52%, var(--tc) 100%); }
.trip-card .card-body { padding: 14px; display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: start; flex: 1; }
.card-art { position: relative; }
.card-art .px { width: 70px; height: auto; filter: drop-shadow(2px 2px 0 var(--hard)); }
.card-sticker {
  position: absolute; right: -8px; bottom: -8px; font-size: 24px;
  filter: drop-shadow(0 0 0 #fff) drop-shadow(1px 1px 0 #fff) drop-shadow(-1px -1px 0 #fff) drop-shadow(2px 2px 0 var(--hard));
  transform: rotate(12deg);
}
.trip-card h3 { margin: 0 0 2px; font-size: 17px; font-weight: 800; line-height: 1.2; word-break: break-word; }
.trip-card .dest { margin: 0 0 6px; font-size: 13px; color: var(--ink-soft); font-weight: 700; word-break: break-word; }
.trip-card .meta { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.trip-card .card-foot { padding: 0 14px 14px; }
.card-foot .pct-line { display: flex; justify-content: space-between; font-size: 12px; font-weight: 800; margin-bottom: 5px; }
.card-foot .pct-line b { font-family: "Silkscreen", monospace; color: var(--pink); }
.trip-card.is-past { opacity: .8; filter: saturate(.7); }
.sample-ribbon {
  position: absolute; top: 38px; right: -6px; z-index: 2;
  background: var(--lemon); color: #6b5300; font-family: "Silkscreen", monospace; font-size: 10px;
  padding: 2px 8px; border: 2px solid #d9b02a; border-radius: 4px; transform: rotate(6deg);
}

.empty {
  text-align: center; padding: 36px 20px 30px;
}
.empty .px { width: 120px; height: auto; margin: 0 auto 12px; filter: drop-shadow(4px 4px 0 var(--hard)); animation: floaty 4s ease-in-out infinite; }
.empty h3 { font-family: "Sniglet", sans-serif; font-size: 26px; margin: 0 0 6px; color: var(--pink); }
.empty p { margin: 0 auto 16px; max-width: 380px; color: var(--ink-soft); font-weight: 700; }
.empty.small { padding: 18px 10px; }
.empty.small h3 { font-size: 18px; }

/* side widgets */
.side-stack { display: flex; flex-direction: column; gap: 20px; }
.note-win .win-body { padding: 0; }
.notepaper {
  padding: 12px 14px 14px;
  background:
    repeating-linear-gradient(180deg, transparent 0 29px, rgba(95, 184, 255, .35) 29px 30px),
    linear-gradient(180deg, #fffbe0, #fff6c8);
  border-radius: 0 0 10px 10px;
  color: #4b2a6e;
}
[data-skin="night"] .notepaper { background: repeating-linear-gradient(180deg, transparent 0 29px, rgba(255,155,211,.25) 29px 30px), linear-gradient(180deg, #2f2552, #261b42); color: var(--ink); }
.rem-list { list-style: none; margin: 0; padding: 0; }
.rem-list li { display: flex; align-items: center; gap: 8px; min-height: 30px; font-weight: 700; font-size: 14px; }
.rem-list li.done span.txt { text-decoration: line-through wavy var(--pink); opacity: .55; }
.rem-list .txt { flex: 1; min-width: 0; word-break: break-word; }
.rem-list .chk-box { width: 20px; height: 20px; border-radius: 6px; font-size: 11px; }
.rem-list .del { opacity: 0; transition: opacity .15s; }
.rem-list li:hover .del, .rem-list li:focus-within .del { opacity: 1; }
@media (hover: none) { .rem-list .del { opacity: .6; } }
.rem-add { display: flex; gap: 6px; margin-top: 8px; }
.rem-add input { flex: 1; min-width: 0; min-height: 32px; padding: 5px 10px; border-radius: 10px; border: 2px dashed var(--pink-2); background: rgba(255,255,255,.7); }
[data-skin="night"] .rem-add input { background: rgba(0,0,0,.2); }
.recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.recent a {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center;
  padding: 6px 8px; border-radius: 12px; text-decoration: none; border: 2px solid transparent;
}
.recent a:hover { background: var(--pink-l); border-color: var(--pink-2); }
.recent .px { width: 34px; height: auto; }
.recent b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent small { color: var(--ink-faint); font-size: 12px; font-weight: 700; }
.recent .pct { font-family: "Silkscreen", monospace; color: var(--pink); font-size: 13px; }
.sticker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(54px, 1fr)); gap: 8px; }
.stk {
  aspect-ratio: 1; display: grid; place-items: center; font-size: 28px; border-radius: 14px;
  background: radial-gradient(circle at 30% 25%, #fff, var(--lila-l));
  border: 2px dashed var(--win-border); position: relative;
}
.stk.on { border-style: solid; border-color: var(--pink-2); background: radial-gradient(circle at 30% 25%, #fff, var(--pink-l)); }
.stk.on span { filter: drop-shadow(1px 1px 0 #fff) drop-shadow(-1px -1px 0 #fff) drop-shadow(2px 2px 0 var(--hard)); animation: wiggle 3s ease-in-out infinite; display: inline-block; }
.stk.off span { filter: grayscale(1) brightness(1.6) opacity(.3); }
.stk.off::after { content: "?"; position: absolute; font-family: "Silkscreen", monospace; font-size: 18px; color: var(--ink-faint); }
@keyframes wiggle { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.web-badges { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.web-badge {
  width: 88px; height: 31px; display: grid; place-items: center; text-align: center;
  font-family: "Silkscreen", monospace; font-size: 8px; line-height: 1.15; color: #fff;
  border: 1px solid #fff; box-shadow: 1px 1px 0 rgba(0,0,0,.35); text-shadow: 1px 1px 0 rgba(0,0,0,.35);
}
.web-badge:nth-child(1) { background: linear-gradient(180deg, #ff9bd3, #ff5fae); }
.web-badge:nth-child(2) { background: linear-gradient(180deg, #9ad3ff, #3d93d6); }
.web-badge:nth-child(3) { background: linear-gradient(180deg, #c9b6ff, #8063e0); }
.web-badge:nth-child(4) { background: linear-gradient(180deg, #a9f0d6, #2fa57d); }
.counter { text-align: center; font-size: 12px; font-weight: 700; color: var(--ink-soft); margin-top: 10px; }
.counter span { display: inline-block; font-family: "Silkscreen", monospace; background: #222; color: #7dff9c; padding: 1px 6px; border-radius: 3px; letter-spacing: .15em; }
.sample-note { background: linear-gradient(180deg, #fff9dc, #fff0b3); border-color: #e6c548; color: #6b5300; }
.sample-note .win-title { background: linear-gradient(180deg, #fff0a8, #ffd84d 50%, #ffcb1f 52%, #ffe27a); color: #6b5300; text-shadow: none; }
.sample-note p { margin: 0 0 10px; font-size: 13px; font-weight: 700; }

/* ---------- TRIP PAGE ---------- */
.back-link { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; }
.trip-hero { --tc: var(--pink); --tc-l: var(--pink-l); --tc-d: #e0559f; margin-bottom: 18px; }
.trip-hero .win-title { background: linear-gradient(180deg, var(--tc-l) 0%, var(--tc) 46%, var(--tc-d) 52%, var(--tc) 100%); }
.hero-body { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(220px, 300px); gap: 20px; padding: 18px 20px; align-items: center; }
.hero-art { position: relative; }
.hero-art .px { width: 110px; height: auto; filter: drop-shadow(4px 4px 0 var(--hard)); }
.hero-art .card-sticker { font-size: 34px; right: -12px; bottom: -10px; }
.hero-info h1 {
  margin: 0 0 4px; font-family: "Sniglet", sans-serif; font-weight: 800; font-size: clamp(26px, 4vw, 38px); line-height: 1.05;
  color: var(--ink); word-break: break-word;
}
.hero-info .dest { margin: 0 0 10px; font-weight: 800; color: var(--ink-soft); font-size: 15px; }
.hero-info .meta { display: flex; flex-wrap: wrap; gap: 6px; }
.hero-tip { margin: 10px 0 0; font-size: 13px; color: var(--ink-soft); font-weight: 700; }

.weather {
  border: 2px solid var(--sky-2); border-radius: 14px; padding: 10px 12px;
  background: linear-gradient(180deg, var(--sky-l), rgba(255,255,255,.6));
  box-shadow: 3px 3px 0 var(--hard);
  font-size: 13px;
}
[data-skin="night"] .weather { background: linear-gradient(180deg, #22305a, #1d1535); }
.weather-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 4px; font-family: "Silkscreen", monospace; font-size: 11px; color: var(--ink-soft); }
.weather-main { display: flex; align-items: center; gap: 10px; }
.weather-main .big { font-size: 36px; line-height: 1; }
.weather-main b { font-size: 20px; }
.weather-days { display: flex; gap: 4px; margin-top: 8px; overflow-x: auto; padding-bottom: 2px; }
.weather-days div { flex: none; min-width: 38px; text-align: center; font-size: 11px; font-weight: 700; padding: 3px 2px; border-radius: 8px; background: rgba(255,255,255,.55); }
[data-skin="night"] .weather-days div { background: rgba(255,255,255,.08); }
.weather-days span { display: block; font-size: 16px; }
.weather small { color: var(--ink-faint); font-weight: 700; }

.status-win { margin-bottom: 18px; }
.status-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 20px; }
.status-msg { margin: 10px 0 0; font-weight: 800; font-size: 15px; min-height: 1.3em; }
.counts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.count {
  display: flex; flex-direction: column; align-items: center; min-width: 84px; padding: 6px 10px;
  border-radius: 12px; border: 2px solid var(--win-border); background: var(--win-bg-solid);
  box-shadow: 2px 2px 0 var(--hard);
}
.count b { font-family: "Silkscreen", monospace; font-size: 20px; line-height: 1.1; }
.count small { font-size: 11px; font-weight: 800; color: var(--ink-soft); }
.count.pink b { color: var(--pink); }
.count.sky b { color: var(--sky); }
.count.warn { border-color: var(--danger); }
.count.warn b { color: var(--danger); }
.status-mini { display: flex; align-items: center; gap: 10px; }
.status-mini .tama-egg { width: 96px; height: 112px; }
.status-mini .tama-screen { width: 62px; height: 52px; }
.status-mini .tama-screen .px { width: 40px; }
.status-mini .tama-btns i { width: 9px; height: 9px; }
.actions-bar { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 16px; }

.tabs { display: flex; gap: 4px; overflow-x: auto; padding: 0 6px; margin-bottom: -2px; position: relative; z-index: 2; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; border: 2px solid var(--win-border); border-bottom: 0;
  border-radius: 12px 12px 0 0; padding: 8px 14px;
  background: linear-gradient(180deg, #fff, var(--tab-bg));
  font-weight: 800; font-size: 14px; color: var(--ink-soft);
  transform: translateY(4px); transition: transform .12s;
}
[data-skin="night"] .tab { background: linear-gradient(180deg, #3a2b68, var(--tab-bg)); }
.tab:hover { transform: translateY(1px); }
.tab.on { background: var(--win-bg-solid); color: var(--pink); transform: translateY(0); padding-bottom: 12px; }
.tab .n { font-family: "Silkscreen", monospace; font-size: 11px; background: var(--pink); color: #fff; border-radius: 999px; padding: 0 6px; margin-left: 2px; }
.tab-panel { border-radius: 4px 14px 14px 14px; padding: 16px; background: var(--win-bg-solid); }

.list-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: start; }
.cat-nav { position: sticky; top: 12px; display: flex; flex-direction: column; gap: 4px; }
.cat-nav button {
  display: grid; grid-template-columns: 24px 1fr auto; gap: 6px; align-items: center; text-align: left;
  padding: 7px 8px; border-radius: 12px; border: 2px solid transparent; background: transparent;
  font-weight: 700; font-size: 13px; color: var(--ink);
}
.cat-nav button:hover { background: var(--pink-l); border-color: var(--pink-2); }
.cat-nav button.done { color: var(--ink-soft); }
.cat-nav .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-nav .ct { font-family: "Silkscreen", monospace; font-size: 10px; color: var(--ink-faint); }
.cat-nav button.done .ct { color: #2fa57d; }
.cat-nav-title { font-family: "Silkscreen", monospace; font-size: 11px; color: var(--ink-faint); padding: 0 8px 4px; }

.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.search { position: relative; flex: 1 1 180px; min-width: 160px; }
.search input { width: 100%; padding: 8px 12px 8px 34px; min-height: 38px; border-radius: 999px; border: 2px solid var(--field-border); background: var(--field); outline: none; }
.search input:focus { border-color: var(--pink); }
.search::before { content: "🔍"; position: absolute; left: 11px; top: 50%; transform: translateY(-50%); font-size: 13px; }

.cats { display: flex; flex-direction: column; gap: 18px; }
.cat { scroll-margin-top: 14px; }
.cat .win-title { font-family: "M PLUS Rounded 1c", sans-serif; font-weight: 800; font-size: 15px; letter-spacing: 0; }
.cat .cat-ic { font-size: 18px; filter: drop-shadow(1px 1px 0 rgba(255,255,255,.7)); }
.cat .cat-count { font-family: "Silkscreen", monospace; font-size: 11px; background: rgba(255,255,255,.3); border: 1px solid rgba(255,255,255,.7); padding: 1px 7px; border-radius: 999px; position: relative; z-index: 1; }
.cat-bar { height: 5px; background: var(--lila-l); }
.cat-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), var(--sky)); transition: width .4s; }
.cat.is-complete { border-color: var(--mint); background: var(--win-bg-solid); box-shadow: inset 0 0 0 2px rgba(255,255,255,.7), 5px 5px 0 var(--hard), 0 0 0 3px rgba(127, 227, 192, .45); }
.cat.is-complete .win-title { background: linear-gradient(180deg, #c9f7e4 0%, #7fe3c0 46%, #3fc79b 52%, #6fdcb8 100%); border-bottom-color: var(--mint); color: #0f5a43; text-shadow: 1px 1px 0 rgba(255,255,255,.5); }
.cat.is-complete .cat-bar i { background: linear-gradient(90deg, #7fe3c0, #3fc79b); }
.cat.is-complete .cat-count { color: #0f5a43; }
.complete-badge { font-family: "Silkscreen", monospace; font-size: 10px; background: #fff; color: #1f8a68; padding: 1px 6px; border-radius: 4px; position: relative; z-index: 1; text-shadow: none; }
.cat.collapsed .items, .cat.collapsed .add-item, .cat.collapsed .cat-empty { display: none; }

.items { list-style: none; margin: 0; padding: 6px 10px; }
.item {
  display: grid; grid-template-columns: 18px 30px minmax(0, 1fr) auto auto auto; gap: 8px; align-items: center;
  padding: 7px 6px; border-radius: 12px; border: 2px solid transparent;
  transition: background .15s, opacity .2s;
}
.item + .item { border-top: 1px dashed var(--field-border); border-radius: 0; }
.item:hover { background: rgba(255, 224, 242, .45); }
[data-skin="night"] .item:hover { background: rgba(255,255,255,.05); }
.item.dragging { opacity: .4; }
.item.drop-above { box-shadow: 0 -3px 0 var(--pink); }
.item.drop-below { box-shadow: 0 3px 0 var(--pink); }
.drag { cursor: grab; color: var(--ink-faint); font-size: 14px; user-select: none; text-align: center; letter-spacing: -2px; touch-action: none; }
.item-name { font-weight: 700; font-size: 15px; word-break: break-word; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.item-name .note { font-weight: 500; font-size: 12px; color: var(--ink-faint); flex-basis: 100%; }
.item.is-packed .item-name .label { text-decoration: line-through; text-decoration-color: var(--pink); text-decoration-thickness: 2px; opacity: .55; }
.stamp {
  font-family: "Silkscreen", monospace; font-size: 9px; color: #2fa57d; border: 1.5px solid #2fa57d;
  border-radius: 4px; padding: 0 4px; transform: rotate(-4deg); white-space: nowrap; background: var(--mint-l);
}
.item .stamp { display: none; }
.item.is-packed .stamp { display: inline-block; animation: stamp .25s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes stamp { from { transform: rotate(-4deg) scale(2); opacity: 0; } to { transform: rotate(-4deg) scale(1); opacity: 1; } }
.shop-tag { font-size: 11px; font-weight: 800; color: var(--sky); }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--field-border); border-radius: 999px; background: var(--field); overflow: hidden; }
.qty button { width: 26px; height: 28px; border: 0; background: transparent; font-weight: 800; font-size: 15px; color: var(--pink); padding: 0; }
.qty button:hover { background: var(--pink-l); }
.qty input { width: 32px; height: 28px; border: 0; text-align: center; background: transparent; font-weight: 800; font-size: 14px; padding: 0; -moz-appearance: textfield; appearance: textfield; outline: none; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.star-btn { width: 32px; height: 32px; border: 0; background: none; font-size: 20px; color: var(--field-border); padding: 0; transition: transform .15s; line-height: 1; }
.star-btn:hover { transform: scale(1.2) rotate(15deg); }
.star-btn.on { color: #ffc21a; text-shadow: 0 0 6px rgba(255, 200, 30, .8), 1px 1px 0 #d48a00; }
.more-btn { width: 30px; height: 30px; border: 0; background: none; border-radius: 10px; font-size: 18px; color: var(--ink-soft); padding: 0; line-height: 1; }
.more-btn:hover { background: var(--lila-l); }
.add-item { display: flex; gap: 6px; padding: 4px 16px 14px 44px; }
.add-item input[name="name"] { flex: 1; min-width: 0; min-height: 36px; padding: 6px 12px; border-radius: 999px; border: 2px dashed var(--pink-2); background: transparent; outline: none; }
.add-item input[name="name"]:focus { border-style: solid; border-color: var(--pink); background: var(--field); }
.add-item input[name="qty"] { width: 56px; min-height: 36px; text-align: center; border-radius: 999px; border: 2px solid var(--field-border); background: var(--field); }
.cat-empty { padding: 8px 16px 4px 44px; font-size: 13px; color: var(--ink-faint); font-weight: 700; }

/* compact mode */
.compact .item { grid-template-columns: 30px minmax(0, 1fr) auto auto; padding: 9px 4px; }
.compact .item .drag, .compact .item .star-btn { display: none; }
.compact .item .qty button { display: none; }
.compact .item .qty { border: 0; background: none; }
.compact .item .qty input { width: 34px; pointer-events: none; color: var(--pink); }
.compact .item .qty input::before { content: "×"; }
.compact .add-item { padding-left: 16px; }
.compact .cat-empty { padding-left: 16px; }
.compact .chk-box { width: 30px; height: 30px; }
.compact .item-name { font-size: 16px; }
.compact .item.is-ess .item-name .label::after { content: " ★"; color: #ffc21a; }
.compact .list-layout { grid-template-columns: 1fr; }
.compact .cat-nav { display: none; }
.compact-pill { display: none; }

/* panic mode */
.panic-win { border-color: var(--danger); }
.panic-win .win-title { background: linear-gradient(180deg, #ffc2cf, #ff5f7a 46%, #ff3d63 52%, #ff7b90); animation: panic-blink 1s steps(2) infinite; }
@keyframes panic-blink { 50% { filter: hue-rotate(-20deg) brightness(1.1); } }
.panic-head { display: flex; gap: 14px; align-items: center; padding: 16px 18px 6px; }
.panic-head .warn-ic { font-size: 44px; animation: shake .5s ease-in-out infinite; }
@keyframes shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
.panic-head h2 { margin: 0; font-family: "Silkscreen", monospace; font-size: 20px; color: var(--danger); }
.panic-head p { margin: 2px 0 0; font-weight: 700; color: var(--ink-soft); }
.panic-list .item { font-size: 17px; }
.panic-list .cat-chip { font-size: 12px; color: var(--ink-faint); font-weight: 700; }
.calm { text-align: center; padding: 30px 20px; }
.calm .big { font-size: 54px; }

/* essentials / shopping / notes / return */
.panel-intro { margin: 0 0 14px; font-weight: 700; color: var(--ink-soft); font-size: 14px; }
.suggest-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 18px; }
.suggest-chips button {
  border: 2px dashed var(--pink-2); background: transparent; border-radius: 999px; padding: 5px 12px;
  font-weight: 700; font-size: 13px; color: var(--ink);
}
.suggest-chips button:hover { border-style: solid; background: var(--pink-l); }
.ess-group h4 { margin: 14px 0 4px; font-size: 13px; font-family: "Silkscreen", monospace; color: var(--ink-soft); font-weight: 400; }
.shop-add { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.shop-add input[name="name"] { flex: 1 1 200px; }
.shop-add input[name="qty"] { width: 70px; }
.shop-item { grid-template-columns: 30px minmax(0, 1fr) auto auto auto; }
.shop-item.bought .item-name .label { text-decoration: line-through; opacity: .55; }
.notes-area {
  width: 100%; min-height: 320px; resize: vertical; padding: 14px 16px; line-height: 30px;
  border: 2px solid var(--field-border); border-radius: 14px; outline: none;
  background:
    repeating-linear-gradient(180deg, transparent 0 29px, rgba(95, 184, 255, .35) 29px 30px) 0 13px / 100% 30px,
    linear-gradient(180deg, #fffbe0, #fff6c8);
  color: #4b2a6e; font-size: 15px; font-weight: 500;
}
[data-skin="night"] .notes-area { background: repeating-linear-gradient(180deg, transparent 0 29px, rgba(255,155,211,.2) 29px 30px) 0 13px / 100% 30px, #1d1535; color: var(--ink); }
.notes-area:focus { border-color: var(--pink); }
.saved-ind { font-family: "Silkscreen", monospace; font-size: 11px; color: var(--ink-faint); margin-top: 6px; display: block; }
.sweep { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin-bottom: 20px; }
.sweep label { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; border: 2px solid var(--field-border); background: var(--field); font-weight: 700; font-size: 14px; cursor: pointer; }
.sweep label.on { border-color: var(--mint); background: var(--mint-l); }

/* ---------- modal ---------- */
.overlay {
  position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 16px;
  background: rgba(75, 42, 110, .35);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  animation: fade .15s ease-out;
}
.overlay .win { width: min(560px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; animation: pop .22s cubic-bezier(.3, 1.5, .5, 1); background: var(--win-bg-solid); }
.overlay .win.wide { width: min(760px, 100%); }
.overlay .win.narrow { width: min(400px, 100%); }
.overlay .win-body { overflow-y: auto; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; padding: 12px 16px; border-top: 2px dashed var(--field-border); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }
.dialog-msg { display: flex; gap: 14px; align-items: flex-start; }
.dialog-msg .ic { font-size: 36px; line-height: 1; }
.dialog-msg p { margin: 4px 0 0; font-weight: 700; line-height: 1.45; }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 6px; }
.tpl { position: relative; }
.tpl input { position: absolute; opacity: 0; }
.tpl span {
  display: flex; flex-direction: column; gap: 2px; height: 100%;
  padding: 10px 12px; border-radius: 14px; border: 2px solid var(--field-border); background: var(--field); cursor: pointer;
  font-size: 12px; color: var(--ink-soft); font-weight: 500;
}
.tpl span b { font-size: 14px; color: var(--ink); font-weight: 800; }
.tpl span em { font-style: normal; font-family: "Silkscreen", monospace; font-size: 9px; color: var(--pink); }
.tpl input:checked + span { border-color: var(--pink); background: var(--pink-l); box-shadow: 0 3px 0 var(--hard); }
.tpl input:focus-visible + span { outline: 3px dashed var(--pink); outline-offset: 2px; }
.preview-line { margin: 4px 0 12px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.sugg-list { list-style: none; margin: 0; padding: 0; }
.sugg-list li { padding: 6px 0; border-bottom: 1px dashed var(--field-border); }
.sugg-list small { color: var(--ink-faint); font-weight: 700; margin-left: 4px; }
.emoji-pick { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.emoji-pick label input { position: absolute; opacity: 0; }
.emoji-pick label span { display: grid; place-items: center; width: 38px; height: 38px; font-size: 20px; border-radius: 10px; border: 2px solid var(--field-border); cursor: pointer; background: var(--field); }
.emoji-pick label input:checked + span { border-color: var(--pink); background: var(--pink-l); transform: scale(1.08); }
.stickers-big { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.stickers-big .stk { aspect-ratio: auto; padding: 12px 8px; display: flex; flex-direction: column; gap: 4px; font-size: 40px; text-align: center; }
.stickers-big .stk b { font-size: 12px; font-weight: 800; color: var(--ink); font-family: "M PLUS Rounded 1c", sans-serif; }
.stickers-big .stk small { font-size: 11px; color: var(--ink-soft); font-weight: 700; line-height: 1.25; }
.stickers-big .stk.off::after { content: none; }
.skin-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-top: 6px; }
.skin-opt input { position: absolute; opacity: 0; }
.skin-opt span { display: block; padding: 8px; border-radius: 14px; border: 2px solid var(--field-border); cursor: pointer; font-weight: 800; font-size: 13px; text-align: center; background: var(--field); }
.skin-opt i { display: block; height: 30px; border-radius: 9px; margin-bottom: 6px; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--field-border); }
.skin-opt input:checked + span { border-color: var(--pink); box-shadow: 0 3px 0 var(--hard); }
.settings-sec { margin-bottom: 18px; }
.settings-sec h4 { margin: 0 0 8px; font-family: "Silkscreen", monospace; font-size: 12px; font-weight: 400; color: var(--ink-soft); }
.share-box { width: 100%; min-height: 180px; font-family: "Silkscreen", monospace; font-size: 12px; line-height: 1.5; }

/* popup menu */
.popmenu {
  position: fixed; z-index: 60; min-width: 200px; padding: 4px;
  background: var(--win-bg-solid); border: 2px solid var(--win-border); border-radius: 12px;
  box-shadow: 4px 4px 0 var(--hard); animation: pop .12s ease-out;
}
.popmenu button {
  display: flex; width: 100%; align-items: center; gap: 8px; padding: 8px 10px;
  border: 0; background: none; border-radius: 8px; text-align: left; font-weight: 700; font-size: 14px;
}
.popmenu button:hover, .popmenu button:focus-visible { background: linear-gradient(180deg, var(--pink-2), var(--pink)); color: #fff; outline: none; }
.popmenu hr { border: 0; border-top: 1px dashed var(--field-border); margin: 4px 6px; }
.popmenu .danger { color: var(--danger); }

/* toasts */
#toasts { position: fixed; right: 14px; bottom: calc(66px + env(safe-area-inset-bottom)); z-index: 70; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; }
.toast {
  pointer-events: auto; max-width: min(340px, calc(100vw - 28px));
  background: #fffbe0; color: #4b2a6e; border: 2px solid #e6c548; border-radius: 12px;
  box-shadow: 3px 3px 0 rgba(0,0,0,.15); padding: 10px 14px 10px 12px;
  font-weight: 700; font-size: 14px; display: flex; gap: 8px; align-items: center;
  animation: toast-in .3s cubic-bezier(.3, 1.5, .5, 1);
}
.toast.sticker { background: linear-gradient(180deg, #fff, var(--pink-l)); border-color: var(--pink); }
.toast.sticker .ic { font-size: 30px; animation: wiggle 1s ease-in-out infinite; }
.toast.err { background: #ffe3ea; border-color: var(--danger); }
.toast .ic { font-size: 18px; }
.toast button { margin-left: 4px; }
.toast.out { animation: toast-out .25s ease-in forwards; }
@keyframes toast-in { from { transform: translateX(40px) scale(.9); opacity: 0; } }
@keyframes toast-out { to { transform: translateX(40px); opacity: 0; } }

/* ---------- taskbar ---------- */
.taskbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; gap: 8px;
  height: calc(52px + env(safe-area-inset-bottom)); padding: 0 8px env(safe-area-inset-bottom) 6px;
  background: linear-gradient(180deg, var(--taskbar-1) 0%, var(--taskbar-2) 18%, var(--taskbar-3) 90%, var(--taskbar-2) 100%);
  border-top: 2px solid rgba(255,255,255,.8);
  box-shadow: 0 -2px 10px rgba(40, 80, 160, .2);
}
.start-btn {
  height: 40px; padding: 0 18px 0 12px; border-radius: 0 20px 20px 0; margin-left: -6px;
  border: 2px solid #fff; border-left: 0;
  background: linear-gradient(180deg, #ffd1ec 0%, #ff8fcf 30%, #ff5fb5 55%, #ff7cc6 100%);
  color: #fff; font-family: "Sniglet", sans-serif; font-weight: 800; font-size: 19px; font-style: italic;
  text-shadow: 1px 2px 0 rgba(150, 20, 90, .4);
  box-shadow: inset 0 2px 3px rgba(255,255,255,.6), 2px 0 6px rgba(0,0,0,.2);
  display: flex; align-items: center; gap: 6px;
}
.start-btn:hover { filter: brightness(1.08); }
.start-heart { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--pink); font-style: normal; font-size: 15px; text-shadow: none; }
.task-list { flex: 1; display: flex; gap: 6px; min-width: 0; overflow: hidden; }
.task {
  flex: 0 1 190px; min-width: 0; height: 36px; padding: 0 12px;
  display: flex; align-items: center; gap: 6px; text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.7); border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,.12));
  color: #fff; font-weight: 800; font-size: 13px; text-shadow: 1px 1px 0 rgba(0,0,0,.25);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.task.on { background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(255,255,255,.15)); box-shadow: inset 1px 2px 3px rgba(0,0,0,.2); }
.task span:last-child { overflow: hidden; text-overflow: ellipsis; }
.tray {
  display: flex; align-items: center; gap: 2px; height: 38px; padding: 0 8px;
  border-radius: 10px; border: 1.5px solid rgba(255,255,255,.5);
  background: linear-gradient(180deg, rgba(255,255,255,.25), rgba(0,0,0,.08));
}
.tray-btn { width: 30px; height: 30px; border: 0; background: none; font-size: 16px; padding: 0; border-radius: 8px; }
.tray-btn:hover { background: rgba(255,255,255,.3); }
.tray-btn.off { opacity: .45; filter: grayscale(.7); }
.tray-clock { font-family: "Silkscreen", monospace; color: #fff; font-size: 12px; text-shadow: 1px 1px 0 rgba(0,0,0,.3); padding: 0 4px 0 6px; }
.startmenu {
  position: fixed; left: 6px; bottom: calc(56px + env(safe-area-inset-bottom)); z-index: 45;
  width: min(290px, calc(100vw - 12px));
  background: var(--win-bg-solid); border: 2px solid var(--win-border); border-radius: 14px 14px 8px 8px;
  box-shadow: 5px 5px 0 var(--hard), 0 10px 30px rgba(0,0,0,.2); overflow: hidden;
  animation: pop .18s cubic-bezier(.3, 1.5, .5, 1); transform-origin: bottom left;
}
.sm-head {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  background: linear-gradient(180deg, var(--title-1), var(--title-2) 50%, var(--title-3) 52%, var(--title-4));
  color: #fff; font-family: "Sniglet", sans-serif; font-size: 18px; text-shadow: 1px 1px 0 rgba(0,0,0,.2);
}
.sm-avatar { width: 44px; height: 44px; border-radius: 10px; border: 2px solid #fff; background: linear-gradient(180deg, #e9fff4, #c9f3df); display: grid; place-items: center; }
.sm-avatar .px { width: 32px; height: auto; }
.sm-body { padding: 6px; display: flex; flex-direction: column; }
.sm-body button, .sm-foot button { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 0; background: none; border-radius: 8px; text-align: left; font-weight: 800; font-size: 14px; }
.sm-body button span { font-size: 20px; width: 26px; text-align: center; }
.sm-body button:hover, .sm-foot button:hover { background: linear-gradient(180deg, var(--pink-2), var(--pink)); color: #fff; }
.sm-foot { display: flex; justify-content: flex-end; padding: 6px; border-top: 2px dashed var(--field-border); background: var(--tab-bg); }

/* ---------- FX ---------- */
.spark { position: fixed; z-index: 80; pointer-events: none; font-size: 12px; color: var(--pink); text-shadow: 0 0 4px #fff; animation: spark-fade .7s ease-out forwards; }
@keyframes spark-fade { to { transform: translate(var(--dx, 0), 18px) scale(.3) rotate(90deg); opacity: 0; } }
.burst { position: fixed; z-index: 80; pointer-events: none; font-size: 18px; animation: burst .9s cubic-bezier(.2, .8, .3, 1) forwards; }
@keyframes burst { to { transform: translate(var(--dx), var(--dy)) scale(.4) rotate(160deg); opacity: 0; } }
.confetti { position: fixed; top: -30px; z-index: 80; pointer-events: none; font-size: 22px; animation: fall linear forwards; }
@keyframes fall { to { transform: translate(var(--dx), 110vh) rotate(720deg); } }
.shine { animation: shine-pulse .9s ease-out; }
@keyframes shine-pulse { 0% { filter: brightness(1); } 30% { filter: brightness(1.25) drop-shadow(0 0 14px var(--pink-2)); } 100% { filter: brightness(1); } }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .home-grid { grid-template-columns: 1fr; }
  .side-stack { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .hero-body { grid-template-columns: 90px minmax(0, 1fr); }
  .hero-body .weather { grid-column: 1 / -1; }
  .hero-art .px { width: 90px; }
}
@media (max-width: 820px) {
  .list-layout { grid-template-columns: 1fr; }
  .cat-nav {
    position: sticky; top: 0; z-index: 5; flex-direction: row; overflow-x: auto; gap: 6px;
    margin: -16px -16px 0; padding: 10px 16px; background: var(--win-bg-solid);
    border-bottom: 2px dashed var(--field-border); scrollbar-width: none;
  }
  .cat-nav::-webkit-scrollbar { display: none; }
  .cat-nav-title { display: none; }
  .cat-nav button { flex: none; grid-template-columns: auto auto auto; border-color: var(--field-border); background: var(--field); }
  .cat-nav .nm { max-width: 110px; }
  .status-body { grid-template-columns: 1fr; }
  .status-mini { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  .topbar { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 10px; }
  .logo-text { font-size: 28px; }
  .logo-tag { padding-left: 54px; }
  .marquee { flex: none; }
  .hello .win-body { grid-template-columns: 1fr; padding: 18px 16px; }
  .tama { justify-content: flex-start; }
  .tama-egg { width: 110px; height: 126px; }
  .tama-screen { width: 70px; height: 60px; }
  .tama-screen .px { width: 46px; }
  .hello .btn-big { width: 100%; }
  .row2 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-body { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .hero-art .px { width: 64px; }
  .hero-art .card-sticker { font-size: 24px; }
  .status-body { padding: 14px; }
  .actions-bar { padding: 0 14px 14px; }
  .actions-bar .btn { flex: 1 1 auto; }
  .tab-panel { padding: 12px; }
  .cat-nav { margin: -12px -12px 0; padding: 10px 12px; }
  .item { grid-template-columns: 30px minmax(0, 1fr) auto auto; gap: 6px; padding: 8px 2px; }
  .item .drag { display: none; }
  .item .star-btn { grid-column: 3; grid-row: 1; }
  .item .qty { grid-column: 2; grid-row: 2; justify-self: start; }
  .item .more-btn { grid-column: 4; grid-row: 1; }
  .compact .item .qty { grid-column: 3; grid-row: 1; }
  .add-item { padding: 4px 10px 12px; }
  .cat-empty { padding-left: 12px; }
  .items { padding: 4px 8px; }
  .task-list .task:not(.on) { display: none; }
  .task { flex: 1 1 auto; }
  .start-btn { padding: 0 12px 0 10px; font-size: 17px; }
  .trips { grid-template-columns: 1fr; }
  .overlay { padding: 8px; align-items: end; }
  .overlay .win { max-height: calc(100vh - 16px); }
  #toasts { left: 14px; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
}

/* ---------- print ---------- */
#print-area { display: none; }
@media print {
  body { background: #fff !important; padding: 0; color: #000; }
  body > *:not(#print-area) { display: none !important; }
  #print-area { display: block !important; font-family: "M PLUS Rounded 1c", sans-serif; color: #222; }
  #print-area h1 { font-family: "Sniglet", sans-serif; font-size: 26px; margin: 0 0 2px; }
  #print-area .pmeta { font-size: 12px; margin: 0 0 14px; color: #555; }
  #print-area .pcols { columns: 2; column-gap: 28px; }
  #print-area section { break-inside: avoid; margin-bottom: 14px; }
  #print-area h2 { font-size: 14px; margin: 0 0 4px; border-bottom: 2px solid #ff8fcf; padding-bottom: 2px; }
  #print-area ul { list-style: none; margin: 0; padding: 0; }
  #print-area li { font-size: 12px; padding: 2px 0; display: flex; gap: 6px; }
  #print-area li .bx { width: 11px; height: 11px; border: 1.5px solid #333; border-radius: 2px; flex: none; margin-top: 2px; text-align: center; font-size: 9px; line-height: 9px; }
  #print-area .pnotes { white-space: pre-wrap; font-size: 12px; border: 1px dashed #aaa; padding: 8px; }
  #print-area .pfoot { margin-top: 16px; font-size: 10px; color: #999; text-align: center; }
}

/* ---------- fixes de desbordamiento ---------- */
.list-layout > *, .home-grid > *, .hero-body > *, .status-body > * { min-width: 0; }
.tab-panel { min-width: 0; overflow: visible; }
@media (max-width: 640px) {
  .count { flex: 1 1 0; min-width: 0; padding: 6px 4px; }
  .count small { font-size: 10px; text-align: center; }
  .weather-days div { min-width: 34px; }
}

/* ---------- temática de destino en la maleta ---------- */
.card-art, .hero-art { width: fit-content; }
.place-patch {
  position: absolute; left: 50%; top: 26%; transform: translateX(-50%) rotate(-6deg);
  width: 1.9em; height: 1.9em; display: grid; place-items: center; font-size: 15px; border-radius: 50%;
  background: #fff; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--tc-d, #b44f95), 2px 2px 0 var(--hard);
  pointer-events: none;
}
.place-patch b { font-weight: 400; font-size: 1em; line-height: 1; }
.place-tag {
  position: absolute; left: -12px; top: -8px; transform: rotate(-9deg); white-space: nowrap; pointer-events: none;
  font-family: "Silkscreen", monospace; font-size: 7px; letter-spacing: .5px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--tc-d, #b44f95); border-radius: 3px; padding: 1px 4px; box-shadow: 1px 1px 0 var(--hard);
}
.hero-art .place-patch { font-size: 24px; }
.hero-art .place-tag { font-size: 10px; left: -16px; top: -10px; }
.place-hint {
  margin: -4px 0 12px; padding: 8px 10px; border-radius: 12px; border: 2px dashed var(--pink-2);
  background: var(--lila-l); animation: pop-in .25s ease-out;
}
.place-hint[hidden] { display: none; }
.legend-note { font-weight: 600; text-transform: none; letter-spacing: 0; opacity: .75; font-size: 11px; }
@keyframes pop-in { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---- cuenta y nube ---- */
#tray-cloud { position: relative; }
#tray-cloud[hidden] { display: none; }
#tray-cloud::after { content: ""; position: absolute; right: 3px; bottom: 3px; width: 8px; height: 8px; border-radius: 50%; border: 1px solid #fff; background: #9aa; }
#tray-cloud[data-state="synced"]::after { background: #3cc86b; }
#tray-cloud[data-state="saving"]::after { background: #f2b630; animation: blink 1s steps(2) infinite; }
#tray-cloud[data-state="offline"]::after, #tray-cloud[data-state="error"]::after { background: #e5484d; }
@keyframes blink { 50% { opacity: .25; } }
.cta-cloud .win-body { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cta-cloud .win-body p { flex: 1 1 100%; margin: 0 0 4px; }
.auth-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.auth-tabs button { flex: 1; }
.auth-intro { font-size: 13px; color: var(--ink-soft); margin: 0 0 10px; }
.auth-note { font-size: 11.5px; color: var(--ink-soft); margin: 10px 0 0; line-height: 1.4; }
.recovery-code { font-family: "Silkscreen", monospace; font-size: 20px; letter-spacing: 2px; text-align: center; padding: 14px 8px; margin: 10px 0; background: #fff; border: 2px dashed #ff6fb5; border-radius: 10px; user-select: all; word-break: break-all; }
.rec-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.acct-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.acct-avatar { width: 52px; height: 52px; flex: none; }
.acct-mail { font-weight: 700; word-break: break-all; }
.acct-status { font-size: 12.5px; color: var(--ink-soft); }
.acct-actions { display: flex; flex-direction: column; gap: 8px; }
.choice-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.choice-list .btn { text-align: left; white-space: normal; }
.danger-link { background: none; border: 0; color: #c0245f; text-decoration: underline; font: inherit; font-size: 12px; cursor: pointer; padding: 4px 0; }
