/* ==========================================================================
   dotvoid — application styles
   ========================================================================== */

#icons.fade-in { animation: fade-in .7s ease both; }

/* freshly installed app glow */
.d-icon.fresh .d-img { animation: fresh-glow 1.6s ease-in-out infinite alternate; }
@keyframes fresh-glow {
  from { filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
  to { filter: drop-shadow(0 0 10px rgba(140, 255, 220, .95)) drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
}

/* dialogs */
.window.dialog .win-body { background: #fff; }

/* ------------------------------------------------------------------ Notepad */
.notepad { display: flex; flex-direction: column; height: 100%; }
.np-text {
  flex: 1; min-height: 0; width: 100%; margin: 0;
  border: 0; resize: none; outline: none;
  padding: 6px 8px;
  font: 14px/1.45 Consolas, "Lucida Console", "DejaVu Sans Mono", Menlo, monospace;
  color: #000; background: #fff; tab-size: 4;
}

/* ----------------------------------------------------------------- Explorer */
.explorer { display: flex; flex-direction: column; height: 100%; }
.ex-nav { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 0 6px; }
.ex-orbs { display: flex; align-items: center; }
.ex-orb {
  width: 30px; height: 30px; padding: 0; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  border: 1px solid rgba(0, 0, 0, .6);
  background: radial-gradient(circle at 50% 120%, #7fdcff, rgba(70, 170, 240, .2) 60%), linear-gradient(to bottom, #6fb6f0 0%, #2a7fd4 48%, #12549f 52%, #3a8edc 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 1px 2px rgba(0, 0, 0, .3);
  transition: filter .15s, box-shadow .15s;
}
.ex-orb + .ex-orb { width: 26px; height: 26px; margin-left: -3px; }
.ex-orb svg { width: 15px; height: 15px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .5)); }
@media (hover: hover) { .ex-orb:not(:disabled):hover { filter: brightness(1.2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 0 8px rgba(120, 210, 255, .9); } }
.ex-orb:disabled { filter: grayscale(1) brightness(1.15); opacity: .55; }
.ex-crumbs {
  flex: 1; min-width: 0; height: 28px; display: flex; align-items: center; gap: 1px; padding: 0 4px;
  background: rgba(255, 255, 255, .88); border: 1px solid rgba(0, 0, 0, .45); border-radius: 3px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .12), 0 1px 0 rgba(255, 255, 255, .4);
  overflow: hidden; white-space: nowrap;
}
.ex-crumb-icon { width: 16px; height: 16px; margin: 0 2px; flex: none; }
.ex-crumb { height: 22px; padding: 0 5px; border: 1px solid transparent; border-radius: 2px; background: transparent; white-space: nowrap; flex: none; }
@media (hover: hover) { .ex-crumb:hover { border-color: var(--hover-border); background: var(--hover-bg); } }
.ex-chev { width: 7px; height: 7px; color: #555; flex: none; }
.ex-search { flex: 0 1 210px; min-width: 110px; }
.ex-search .input { height: 28px; background: rgba(255, 255, 255, .9); }
.ex-panel {
  flex: 1; min-height: 0; display: flex; flex-direction: column;
  background: #fff; border: 1px solid rgba(0, 0, 0, .5); box-shadow: 0 0 0 1px rgba(255, 255, 255, .45);
}
.ex-main { flex: 1; min-height: 0; display: flex; }
.ex-side {
  flex: 0 0 172px; padding: 6px 6px; overflow: auto;
  background: linear-gradient(to right, #f5f9fd, #eaf1f9);
  border-right: 1px solid #d3deeb;
  user-select: none; -webkit-user-select: none;
}
.ex-side-title { padding: 8px 8px 4px; font-size: 12px; font-weight: 600; color: #1e3f6b; }
.ex-content { position: relative; flex: 1; min-width: 0; overflow: auto; padding: 6px; outline: none; }
.ex-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 4px;
  align-content: start; min-height: 100%;
}
.ex-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 7px 4px 6px;
  border: 1px solid transparent; border-radius: 3px; text-align: center;
  user-select: none; -webkit-user-select: none;
}
.ex-item .ex-icon { width: 48px; height: 48px; flex: none; }
.ex-label { font-size: 12px; line-height: 1.25; overflow-wrap: anywhere; max-height: 2.5em; overflow: hidden; }
.ex-item.selected .ex-label { max-height: none; }
@media (hover: hover) { .ex-item:hover { border-color: var(--hover-border); background: var(--hover-bg); } }
.ex-item.selected { border-color: var(--sel-border); background: var(--sel-bg); }
@media (hover: hover) { .ex-item.selected:hover { border-color: var(--sel-hover-border); background: var(--sel-hover-bg); } }
.ex-item.drive { grid-column: 1 / -1; max-width: 360px; flex-direction: row; gap: 10px; text-align: left; padding: 8px 10px; }
.ex-drive-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ex-drivebar { height: 14px; border: 1px solid #8a9aa6; border-radius: 2px; overflow: hidden; background: linear-gradient(#f5f5f5, #dedede); }
.ex-drivebar span { display: block; height: 100%; min-width: 3px; background: linear-gradient(to bottom, #9fe0ff, #2aa6e0 50%, #1488c8 50%, #56c6f7); }
.ex-meta { font-size: 11px; color: #666; }
.ex-empty { grid-column: 1 / -1; padding: 24px; color: #777; font-style: italic; text-align: center; }
.ex-rename { width: 100%; height: 22px; padding: 1px 3px; font-size: 12px; text-align: center; }

.ex-content.details .ex-grid { display: flex; flex-direction: column; gap: 0; min-height: 0; }
.ex-content.details .ex-item { flex-direction: row; align-items: center; gap: 0; padding: 2px 4px; text-align: left; margin: 0 0 1px; }
.ex-content.details .ex-icon { width: 16px; height: 16px; }
.ex-content.details .ex-label { max-height: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-content.details .ex-rename { text-align: left; }
.ex-head,
.ex-content.details .ex-item:not(.drive) { display: flex; }
.ex-head {
  position: sticky; top: -6px; z-index: 1; margin: -6px -6px 4px; padding: 5px 10px;
  background: linear-gradient(#fff, #f1f5fa); border-bottom: 1px solid #d5dfeb;
  font-size: 12px; color: #4c607a;
}
.c-name { flex: 1 1 40%; min-width: 0; display: flex; align-items: center; gap: 6px; }
.c-date { flex: 0 0 150px; color: #555; font-size: 12px; padding-left: 8px; }
.c-type { flex: 0 0 110px; color: #555; font-size: 12px; padding-left: 8px; }
.c-size { flex: 0 0 80px; color: #555; font-size: 12px; text-align: right; padding-right: 6px; }
.ex-details {
  flex: none; display: flex; gap: 12px; align-items: center; min-height: 62px; padding: 7px 14px;
  background: linear-gradient(#f7fafd, #e2ebf6); border-top: 1px solid #c8d5e5;
}
.ex-d-icon { width: 48px; height: 48px; flex: none; }
.ex-d-text { min-width: 0; }
.ex-d-text b { display: block; font-weight: 600; color: #12375f; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-d-meta { display: flex; flex-wrap: wrap; gap: 0 16px; font-size: 12px; color: #555; }

/* -------------------------------------------------------------------- Store */
.store { position: relative; display: flex; flex-direction: column; height: 100%; background: #f4f8fc; }
.st-header {
  flex: none; display: flex; align-items: center; gap: 12px; padding: 9px 14px; color: #fff;
  background:
    radial-gradient(ellipse at 88% -60%, rgba(255, 255, 255, .75), transparent 55%),
    linear-gradient(to bottom, #55b9f6 0%, #1f86d9 52%, #0e6bc2 53%, #2a95e0 100%);
  border-bottom: 1px solid #0b4d8f;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5);
  user-select: none; -webkit-user-select: none;
}
.st-logo { display: flex; align-items: center; gap: 8px; font-size: 17px; white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.st-logo img { width: 30px; height: 30px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); }
.st-search { flex: 1; max-width: 340px; margin-left: auto; color: #12375f; }
.st-search .input { height: 28px; border-radius: 14px; padding-left: 12px; border-color: #0b4d8f; }
.st-balance {
  display: flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 14px;
  background: rgba(0, 0, 0, .22); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .3), 0 1px 0 rgba(255, 255, 255, .3);
  font-weight: 600; white-space: nowrap; text-shadow: 0 1px 1px rgba(0, 0, 0, .4);
}
.st-coin {
  width: 16px; height: 16px; border-radius: 50%; flex: none; display: inline-block;
  background: radial-gradient(circle at 35% 30%, #fffbd0, #ffd23a 45%, #e29600);
  box-shadow: 0 0 0 1px #9a6200, inset 0 -2px 2px rgba(0, 0, 0, .2);
}
.st-coin.big { width: 40px; height: 40px; box-shadow: 0 0 0 1px #9a6200, inset 0 -4px 6px rgba(0, 0, 0, .2), 0 3px 8px rgba(200, 140, 0, .35); }
.st-cartbtn {
  position: relative; width: 38px; height: 30px; padding: 0; border-radius: 15px; flex: none;
  border: 1px solid rgba(0, 0, 0, .35); color: #fff; display: grid; place-items: center;
  background: linear-gradient(rgba(255, 255, 255, .45), rgba(255, 255, 255, .14) 50%, rgba(255, 255, 255, .04) 50%, rgba(255, 255, 255, .25));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
}
.st-cartbtn svg { width: 18px; height: 18px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .4)); }
@media (hover: hover) { .st-cartbtn:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 0 8px rgba(255, 255, 255, .6); } }
.st-cart-n {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px;
  background: linear-gradient(#ff8a5a, #e0400f); border: 1px solid #fff;
  font-size: 11px; font-weight: 700; line-height: 16px; text-align: center;
}
.st-body { flex: 1; min-height: 0; display: flex; }
.st-nav {
  flex: 0 0 172px; padding: 10px 8px; overflow: auto;
  background: linear-gradient(to bottom, #edf6fe, #d6e8f8);
  border-right: 1px solid #b9d0e8;
  user-select: none; -webkit-user-select: none;
}
.st-nav-btn {
  display: flex; align-items: center; gap: 9px; width: 100%; height: 34px; padding: 0 10px; margin-bottom: 2px;
  border: 1px solid transparent; border-radius: 4px; background: transparent; text-align: left; color: #12375f;
}
.st-nav-btn img { width: 20px; height: 20px; flex: none; }
.st-nav-btn > span:first-of-type { flex: 1; white-space: nowrap; }
@media (hover: hover) { .st-nav-btn:hover { border-color: #b8d6fb; background: rgba(255, 255, 255, .6); } }
.st-nav-btn.current { border-color: #7eb4ea; background: linear-gradient(#fdfeff, #d3e7fb); font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8); }
.st-nav-badge { min-width: 20px; height: 18px; padding: 0 5px; border-radius: 9px; background: #1d84d8; color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.st-nav-sep { height: 1px; margin: 8px 4px; background: #bcd3ea; }
.st-main { flex: 1; min-width: 0; overflow: auto; padding: 16px 18px 26px; outline: none; }

.st-hero {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px; padding: 22px 26px;
  border: 1px solid #1879b8; border-radius: 10px; color: #fff;
  background:
    radial-gradient(ellipse at 18% -40%, rgba(255, 255, 255, .6), transparent 60%),
    linear-gradient(135deg, #179fe6 0%, #2fc5b6 55%, #79d65a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 4px 14px rgba(20, 90, 160, .22);
}
.st-hero-text { position: relative; z-index: 1; flex: 1; }
.st-hero-kicker { display: inline-block; padding: 2px 9px; border-radius: 9px; background: rgba(255, 255, 255, .25); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }
.st-hero h2 { margin: 6px 0 6px; font-size: 25px; font-weight: 600; text-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.st-hero p { margin: 0 0 14px; max-width: 440px; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.st-hero-art { position: relative; flex: none; width: 160px; height: 124px; }
.st-hero-art img { position: absolute; inset: 0; width: 112px; height: 112px; margin: auto; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .25)); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-7px); } }
.st-orb {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .25) 30%, rgba(170, 235, 255, .12) 62%, rgba(255, 255, 255, .55) 100%);
  animation: bob 5s ease-in-out infinite;
}
.st-orb.o1 { width: 34px; height: 34px; left: -4px; top: 2px; animation-delay: -1s; }
.st-orb.o2 { width: 22px; height: 22px; right: 2px; top: 12px; animation-delay: -2.4s; }
.st-orb.o3 { width: 16px; height: 16px; right: 22px; bottom: 0; animation-delay: -3.3s; }

.st-bonus {
  display: flex; align-items: center; gap: 14px; margin: 14px 0 4px; padding: 12px 16px;
  border: 1px solid #e3c35a; border-radius: 8px; background: linear-gradient(#fffbea, #fff0b5);
}
.st-bonus > div { flex: 1; min-width: 0; }
.st-bonus b { color: #6b4b00; }
.st-sec-head { display: flex; align-items: baseline; justify-content: space-between; margin: 22px 0 10px; }
.st-sec-head h3 { margin: 0; font-size: 16px; font-weight: 600; color: #12375f; }
.st-more { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: transparent; color: var(--link); }
.st-more svg { width: 8px; height: 8px; }
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); gap: 14px; }
.st-card {
  display: flex; flex-direction: column; padding: 0; overflow: hidden; text-align: left;
  border: 1px solid #c9d9ea; border-radius: 8px; background: #fff;
  box-shadow: 0 1px 3px rgba(20, 60, 110, .08);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
@media (hover: hover) { .st-card:hover { transform: translateY(-2px); border-color: #7eb4ea; box-shadow: 0 6px 16px rgba(20, 60, 110, .18); } }
.st-card:active { transform: scale(.985); }
.st-thumb {
  position: relative; height: 104px; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(ellipse at 50% -25%, rgba(255, 255, 255, .95), transparent 60%),
    linear-gradient(to bottom, #c3e8ff 0%, #6fbef3 62%, #a2e57f 63%, #5bbf3c 100%);
}
.st-thumb-icon { width: 64px; height: 64px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .28)); }
.st-thumb-effect { background: radial-gradient(ellipse at 50% -20%, rgba(255, 255, 255, .55), transparent 60%), linear-gradient(135deg, #283078, #1b6fc4 55%, #2fc5b6); }
.st-thumb-wallpaper img { width: 100%; height: 100%; object-fit: cover; }
.st-thumb-glass { background: url("../assets/wallpapers/meadow-day-thumb.jpg") center / cover; }
.st-glass-win {
  width: 70%; height: 68%; display: flex; flex-direction: column; padding: 0 5px 5px;
  border: 1px solid rgba(0, 0, 0, .55); border-radius: 6px 6px 4px 4px;
  background: linear-gradient(rgba(255, 255, 255, .45), rgba(255, 255, 255, .1) 18px, rgba(255, 255, 255, .05)), rgba(var(--c), .66);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 6px 14px rgba(0, 0, 0, .3);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.st-glass-bar { height: 13px; flex: none; }
.st-glass-client { flex: 1; background: #fff; border: 1px solid rgba(0, 0, 0, .4); }
.st-thumb.big { width: 270px; height: 200px; flex: none; border: 1px solid #c9d9ea; border-radius: 10px; }
.st-thumb.big .st-thumb-icon { width: 120px; height: 120px; }
.st-card-body { flex: 1; display: flex; flex-direction: column; gap: 2px; padding: 9px 11px 10px; }
.st-card-name { font-weight: 600; color: #12375f; }
.st-card-tag { flex: 1; font-size: 12px; color: #5a6b80; }
.st-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 6px; }
.stars { display: inline-flex; gap: 1px; }
.stars .star { width: 12px; height: 12px; fill: #f5b301; }
.stars .star.half { opacity: .5; }
.stars .star.empty { fill: #d3dbe5; }
.st-price { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: #0f6cc4; white-space: nowrap; }
.st-price svg { width: 12px; height: 12px; }
.st-price.owned { color: #2a8a2a; }
.st-price.incart { color: #c27400; }
.st-page-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.st-page-head h2 { margin: 0; font-size: 21px; font-weight: 400; color: #1d3f84; }
.st-page-head span { color: #6a7a8e; }
.st-back { display: inline-flex; align-items: center; gap: 6px; padding: 0; margin-bottom: 12px; border: 0; background: transparent; color: var(--link); }
.st-back svg { width: 14px; height: 14px; }
.st-detail { display: flex; flex-wrap: wrap; gap: 22px; }
.st-detail-info { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 4px; }
.st-type { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #2a8a6a; }
.st-detail-info h2 { margin: 0; font-size: 27px; font-weight: 400; color: #12375f; }
.st-tagline { margin: 0; color: #5a6b80; }
.st-rating { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 12px; color: #5a6b80; }
.st-rating .star { width: 15px; height: 15px; }
.st-detail-price { margin: 10px 0; font-size: 21px; font-weight: 700; color: #0f6cc4; }
.st-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.st-actions .btn-glossy svg { width: 16px; height: 16px; }
.st-owned-note { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: #2a8a2a; }
.st-owned-note svg { width: 14px; height: 14px; }
.st-desc { margin-top: 20px; padding-top: 14px; border-top: 1px solid #dbe5f0; }
.st-desc h3 { margin: 0 0 6px; font-size: 15px; color: #12375f; }
.st-desc p { max-width: 640px; margin: 0 0 8px; }
.st-desc ul { margin: 0; padding-left: 20px; color: #333; }
.st-cart { display: flex; flex-direction: column; gap: 8px; }
.st-cart-row {
  display: flex; align-items: center; gap: 14px; padding: 8px 12px 8px 8px;
  border: 1px solid #d3e0ee; border-radius: 8px; background: #fff;
}
.st-cart-row .st-thumb { width: 86px; height: 56px; flex: none; border-radius: 5px; cursor: pointer; }
.st-cart-row .st-thumb-icon { width: 38px; height: 38px; }
.st-cart-row .st-glass-bar { height: 7px; }
.st-cart-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.st-cart-info b { color: #12375f; }
.st-cart-info span { font-size: 12px; color: #6a7a8e; }
.st-cart-price { font-weight: 700; color: #0f6cc4; white-space: nowrap; }
.st-summary {
  display: flex; flex-direction: column; gap: 6px; max-width: 380px; margin: 16px 0 0 auto; padding: 14px 16px;
  border: 1px solid #c9d9ea; border-radius: 8px; background: linear-gradient(#fff, #eef5fc);
}
.st-summary > div { display: flex; justify-content: space-between; gap: 10px; }
.st-after { padding-top: 6px; border-top: 1px solid #d3e0ee; }
.st-after.neg b { color: #c0281a; }
.st-warn { margin: 0; font-size: 12px; color: #a33; }
.st-summary-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.st-fine { margin: 0; font-size: 11px; color: #7a8a9e; text-align: right; }
.st-empty { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 40px 10px; color: #5a6b80; text-align: center; }
.st-processing {
  position: absolute; inset: 0; z-index: 5; display: grid; place-items: center;
  background: rgba(230, 240, 250, .72);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: fade-in .2s;
}
.st-proc-box { width: 300px; max-width: 90%; display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1px solid #9cb7d4; border-radius: 8px; background: #fff; box-shadow: var(--shadow-lg); }
.st-proc-box small { color: #6a7a8e; }
.st-thanks { margin: 6px 0 18px; text-align: center; }
.st-thanks-icon {
  width: 66px; height: 66px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 35% 30%, #c2f7a6, #3fb52a 60%, #237d16);
  box-shadow: 0 4px 12px rgba(40, 140, 30, .4), inset 0 2px 0 rgba(255, 255, 255, .6);
  animation: icon-pop .45s var(--ease-out);
}
.st-thanks-icon svg { width: 36px; height: 36px; }
.st-thanks h2 { margin: 0; font-size: 25px; font-weight: 400; color: #1d6a1d; }
.st-thanks p { margin: 4px 0 0; color: #555; }

/* ---------------------------------------------------------- Personalization */
.personalize { display: flex; height: 100%; }
.pz-side {
  flex: 0 0 204px; padding: 10px 10px; overflow: auto;
  background: linear-gradient(to bottom, #eaf3fd, #c6ddf5);
  border-right: 1px solid #a9c5e3;
  user-select: none; -webkit-user-select: none;
}
.pz-side-title { padding: 8px 6px 4px; font-size: 12px; font-weight: 600; color: #1d3f84; }
.pz-link {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 5px 6px;
  border: 1px solid transparent; border-radius: 3px; background: transparent; text-align: left; color: #1e5ebe;
}
.pz-link img { width: 20px; height: 20px; flex: none; }
@media (hover: hover) { .pz-link:hover { color: #3c8be8; text-decoration: underline; } }
.pz-link.current { font-weight: 600; color: #12375f; background: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .95); }
.pz-main { flex: 1; min-width: 0; overflow: auto; padding: 18px 22px 26px; }
.pz-title { margin: 0 0 4px; font-size: 20px; font-weight: 400; color: #1d3f84; }
.pz-sub { margin: 0 0 16px; color: #444; }
.pz-h3 { margin: 18px 0 6px; font-size: 14px; font-weight: 600; color: #1d3f84; }
.pz-walls { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.pz-wall {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 6px;
  border: 1px solid transparent; border-radius: 4px; background: transparent;
}
@media (hover: hover) { .pz-wall:hover { border-color: var(--hover-border); background: var(--hover-bg); } }
.pz-wall.current { border-color: var(--sel-border); background: var(--sel-bg); }
.pz-wall-pic {
  position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden;
  border: 1px solid #8a9aa6; background: #ccd; box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
.pz-wall-pic img { width: 100%; height: 100%; object-fit: cover; }
.pz-aurora {
  width: 100%; height: 100%;
  background:
    radial-gradient(120% 70% at 20% 110%, rgba(120, 255, 200, .55), transparent 60%),
    radial-gradient(90% 60% at 85% -10%, rgba(120, 200, 255, .65), transparent 60%),
    conic-gradient(from 210deg at 55% 60%, #0a2c6e, #1a64c8, #23b5d8, #48d6a6, #1a64c8, #0a2c6e);
}
.pz-wall.locked .pz-wall-pic img { filter: grayscale(.55) brightness(.75); }
.pz-wp { width: 100%; height: 100%; }
.pz-wall.locked .pz-wp { filter: grayscale(.55) brightness(.75); }
.pz-wall-pic .pz-upload { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 4px; color: #2a5a8a; font-size: 12px; background: repeating-linear-gradient(45deg, #eef4fa 0 8px, #e2ecf6 8px 16px); }
.pz-wall-pic .pz-upload img { width: 28px; height: 28px; object-fit: contain; }
.pz-avatars { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 12px; }
.pz-avatar { width: 58px; height: 58px; padding: 6px; border: 2px solid transparent; border-radius: 8px; background: linear-gradient(#fff, #e8eef6); box-shadow: 0 1px 3px rgba(0, 0, 0, .15); cursor: pointer; }
.pz-avatar img { width: 100%; height: 100%; }
.pz-avatar.current { border-color: #3a8ee6; box-shadow: 0 0 0 3px rgba(58, 142, 230, .25); }
.pz-custom-color { display: inline-flex; align-items: center; gap: 8px; }
.pz-custom-color input[type=color] { width: 40px; height: 26px; padding: 0; border: 1px solid #8a9aa6; border-radius: 3px; background: none; }
.pz-lock { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.pz-lock svg { width: 28px; height: 28px; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .7)); }
.pz-group { margin: 14px 0; padding: 8px 12px; border: 1px solid #d5dfeb; border-radius: 4px; background: #f8fafd; }
.pz-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 10px 0; }
.pz-row > label { min-width: 104px; color: #333; }
.pz-row input[type="range"] { flex: 1; min-width: 120px; max-width: 300px; }
.pz-row .input[type="text"] { width: 200px; }
.pz-val { min-width: 54px; font-weight: 600; color: #1d3f84; font-variant-numeric: tabular-nums; }
.pz-range-lo,
.pz-range-hi { font-size: 12px; color: #5a6b80; }
.pz-note { margin: 8px 0; font-size: 12px; color: #5a6b80; }
.pz-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.pz-swatch {
  display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 7px 4px;
  border: 1px solid transparent; border-radius: 4px; background: transparent;
}
@media (hover: hover) { .pz-swatch:hover { border-color: var(--hover-border); background: var(--hover-bg); } }
.pz-swatch.current { border-color: var(--sel-border); background: var(--sel-bg); }
.pz-swatch-glass {
  width: 52px; height: 52px; display: grid; place-items: center; color: #fff;
  border: 1px solid rgba(0, 0, 0, .55); border-radius: 7px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .12) 45%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, .28)), rgb(var(--c));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 2px 5px rgba(0, 0, 0, .2);
}
.pz-swatch-glass svg { width: 18px; height: 18px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .7)); }
.pz-swatch.locked .pz-swatch-glass { filter: saturate(.45) brightness(.85); }
.pz-swatch-name { font-size: 12px; }
.pz-store-link { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.pz-store-link img { width: 16px; height: 16px; }
.pz-monitor { width: 230px; margin: 2px auto 14px; }
.pz-monitor-screen {
  position: relative; height: 136px; display: grid; place-items: center; overflow: hidden; color: #fff;
  border: 8px solid #262b33; border-radius: 6px;
  background: #000 url("../assets/wallpapers/meadow-day-thumb.jpg") center / cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 4px 10px rgba(0, 0, 0, .25);
  text-shadow: 0 1px 3px #000;
}
.pz-monitor-stand { width: 76px; height: 18px; margin: 0 auto; background: linear-gradient(#3a414c, #1b1f26); clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%); }
.pz-mini-bubbles { position: absolute; inset: 0; }
.pz-mini-bubbles i {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .15) 35%, rgba(210, 170, 255, .2) 72%, rgba(255, 255, 255, .7));
  animation: mini-float 7s ease-in-out infinite alternate;
}
.pz-mini-bubbles i:nth-child(1) { width: 40px; height: 40px; left: 10%; top: 20%; }
.pz-mini-bubbles i:nth-child(2) { width: 28px; height: 28px; left: 60%; top: 50%; animation-delay: -2s; }
.pz-mini-bubbles i:nth-child(3) { width: 34px; height: 34px; left: 72%; top: 8%; animation-delay: -4s; }
.pz-mini-bubbles i:nth-child(4) { width: 20px; height: 20px; left: 30%; top: 62%; animation-delay: -5s; }
@keyframes mini-float { 50% { transform: translate(18px, -12px); } 100% { transform: translate(-10px, 10px); } }
.pz-fx { display: flex; align-items: center; gap: 12px; margin: 8px 0; padding: 10px 12px; border: 1px solid #d5dfeb; border-radius: 6px; background: #fff; }
.pz-fx img { width: 36px; height: 36px; flex: none; }
.pz-fx-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pz-fx-text span { font-size: 12px; color: #5a6b80; }
.pz-account { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pz-account-pic { width: 72px; height: 72px; padding: 4px; flex: none; border: 1px solid #8a9aa6; border-radius: 6px; background: linear-gradient(#fff, #cdd6e0); }
.pz-account-pic img { width: 100%; height: 100%; border-radius: 3px; }
.pz-account b { font-size: 16px; color: #12375f; }

/* ---------------------------------------------------------- Welcome Center */
.welcome { display: flex; flex-direction: column; height: 100%; }
.wc-head {
  flex: none; display: flex; align-items: center; gap: 16px; padding: 18px 20px; color: #fff;
  background:
    linear-gradient(to right, rgba(8, 50, 120, .65), rgba(8, 50, 120, .12)),
    url("../assets/wallpapers/meadow-day-1280.jpg") center 30% / cover;
  border-bottom: 1px solid #0d4a8a;
}
.wc-pic { width: 78px; height: 78px; padding: 4px; flex: none; border: 1px solid rgba(0, 0, 0, .5); border-radius: 8px; background: linear-gradient(#fff, #c9d3de); box-shadow: 0 4px 10px rgba(0, 0, 0, .35); }
.wc-pic img { width: 100%; height: 100%; border-radius: 4px; }
.wc-headtext { min-width: 0; }
.wc-headtext h2 { margin: 0; font-size: 25px; font-weight: 300; text-shadow: 0 1px 4px rgba(0, 0, 0, .55); }
.wc-brand b { font-weight: 600; color: #b5ffe9; }
.wc-headtext p { max-width: 470px; margin: 4px 0 8px; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.wc-specs { display: flex; flex-wrap: wrap; gap: 2px 16px; font-size: 12px; text-shadow: 0 1px 2px rgba(0, 0, 0, .7); }
.wc-body { flex: 1; min-height: 0; overflow: auto; padding: 14px 20px; }
.wc-body h3 { margin: 4px 0 10px; font-size: 15px; font-weight: 600; color: #1d3f84; }
.wc-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 6px; margin-bottom: 14px; }
.wc-tile { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 1px solid transparent; border-radius: 4px; background: transparent; text-align: left; }
.wc-tile img { width: 40px; height: 40px; flex: none; }
.wc-tile > span { display: flex; flex-direction: column; min-width: 0; }
.wc-tile b { font-weight: 600; color: #1e5ebe; }
.wc-tile small { font-size: 12px; color: #5a6b80; }
@media (hover: hover) { .wc-tile:hover { border-color: var(--hover-border); background: var(--hover-bg); } }
.wc-tile:active { border-color: var(--sel-border); background: var(--sel-bg); }
.wc-tips { display: flex; flex-direction: column; gap: 6px; margin: 0; padding-left: 20px; color: #333; }
.wc-foot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; background: #f0f0f0; border-top: 1px solid #dfdfdf; }

/* -------------------------------------------------------------- Calculator */
.calc { height: 100%; padding: 10px; outline: none; background: linear-gradient(#e6eef8, #cbdaed); user-select: none; -webkit-user-select: none; }
.calc-display {
  position: relative; height: 64px; margin-bottom: 10px; padding: 6px 10px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; text-align: right;
  border: 1px solid #8e9fb4; border-radius: 3px;
  background: linear-gradient(#f5fbff, #dcecf9);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .15);
}
.calc-expr { min-height: 16px; font-size: 12px; color: #5a6b80; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.calc-value { font-size: 27px; line-height: 1.1; font-weight: 300; color: #111; white-space: nowrap; overflow: hidden; }
.calc-value.small { font-size: 18px; }
.calc-mem { position: absolute; left: 8px; top: 6px; font-size: 12px; font-weight: 700; color: #1d3f84; }
.calc-pad { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.calc-key {
  height: 34px; padding: 0; font-size: 13.5px;
  border: 1px solid #7b8ea6; border-radius: 3px;
  background: linear-gradient(#ffffff 0%, #eef3f9 49%, #dde7f3 50%, #e9f0f8 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85);
  transition: background .12s, box-shadow .12s;
}
.calc-key.num { font-weight: 600; background: linear-gradient(#ffffff, #f8fafc 49%, #eef2f7 50%, #f7f9fb); }
.calc-key.op { font-weight: 600; color: #12375f; }
.calc-key.mem { height: 26px; font-size: 11px; color: #444; }
.calc-key.eq { grid-row: span 2; height: auto; font-weight: 700; color: #0b2a54; border-color: #3a7ab8; background: linear-gradient(#c6e7ff, #95cdf7 49%, #5aaee9 50%, #8cd0fb); }
.calc-key.zero { grid-column: span 2; }
@media (hover: hover) {
  .calc-key:hover { border-color: #3c7fb1; background: linear-gradient(#eaf6fd 0%, #d9f0fc 49%, #bee6fd 50%, #a7d9f5 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 0 5px rgba(80, 170, 240, .55); }
}
.calc-key:active,
.calc-key.pressed { border-color: #2c628b; background: linear-gradient(#e5f4fc 0%, #c4e5f6 49%, #98d1ef 50%, #68b3db 100%); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .3); }

/* ------------------------------------------------------------------- Paint */
.paint { display: flex; flex-direction: column; height: 100%; outline: none; }
.pt-bar,
.pt-colors { flex-wrap: wrap; gap: 6px; }
.pt-tools { display: flex; gap: 2px; }
.pt-tool { width: 30px; height: 28px; padding: 0; display: grid; place-items: center; border: 1px solid transparent; border-radius: 3px; background: transparent; color: #223; }
.pt-tool svg { width: 16px; height: 16px; }
@media (hover: hover) { .pt-tool:hover { border-color: var(--hover-border); background: var(--hover-bg); } }
.pt-tool.on { border-color: var(--sel-border); background: var(--sel-bg); }
.pt-lbl { display: flex; align-items: center; gap: 6px; font-size: 12px; white-space: nowrap; }
.pt-lbl select { height: 24px; }
.pt-current { width: 30px; height: 30px; flex: none; border: 1px solid #555; border-radius: 3px; box-shadow: inset 0 0 0 2px #fff; }
.pt-palette { display: flex; flex-wrap: wrap; gap: 2px; min-width: 0; flex: 1; }
.pt-color { width: 18px; height: 18px; padding: 0; border: 1px solid #8a8a8a; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }
@media (hover: hover) { .pt-color:hover { transform: scale(1.15); border-color: #333; } }
.pt-custom { width: 34px; height: 28px; padding: 0 2px; border: 1px solid #8a8a8a; border-radius: 3px; background: #fff; }
.pt-stage { flex: 1; min-height: 0; overflow: auto; padding: 10px; background: #b9c8da; }
.pt-paper { position: relative; width: max-content; box-shadow: 2px 3px 8px rgba(0, 0, 0, .3); }
.pt-canvas { display: block; background: #fff; touch-action: none; }
.pt-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* --------------------------------------------------------------- Suggestion Box */
.feedback { height: 100%; background: linear-gradient(#f6f9fd, #e6eff9); }
.fb-main { height: 100%; overflow: auto; padding: 18px 20px 22px; }
.fb-head { display: flex; align-items: center; gap: 14px; }
.fb-head img { flex: none; width: 56px; height: 56px; }
.fb-head h2 { margin: 0; font-size: 21px; font-weight: 400; color: #1d3f84; }
.fb-head p { margin: 2px 0 0; color: #5a6b80; }
.fb-tabs { margin: 14px 0 0; padding: 0 2px; border-bottom: 1px solid #b9cfe6; }
.fb-tabs .ach-tab { position: relative; color: #2a4a70; background: transparent; }
.fb-tabs .ach-tab.current { background: #fff; border-color: #b9cfe6; margin-bottom: -1px; }
.fb-dot { position: absolute; top: 4px; right: 3px; width: 8px; height: 8px; border-radius: 50%; background: #e0401a; box-shadow: 0 0 0 2px #fff; }
.fb-form, .fb-thanks, .fb-list, .fb-empty {
  margin: 0; padding: 14px; border: 1px solid #b9cfe6; border-top: 0; border-radius: 0 0 8px 8px; background: #fff;
}
.fb-form { display: flex; flex-direction: column; gap: 10px; }
.fb-kinds { display: flex; flex-wrap: wrap; gap: 6px; }
.fb-kind {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid #b9cde3; border-radius: 15px;
  background: linear-gradient(#fff, #edf3fa); color: #1a3d63; cursor: pointer;
}
.fb-kind i { width: 9px; height: 9px; border-radius: 50%; background: #8fa8c4; }
.fb-kind.k-idea i { background: #48c42c; }
.fb-kind.k-problem i { background: #f0602a; }
.fb-kind.k-order i { background: #7a5af0; }
@media (hover: hover) { .fb-kind:hover { border-color: #5a9ad8; } }
.fb-kind.current { border-color: #2f78d0; background: linear-gradient(#e3f0fd, #c8e0fa); font-weight: 600; box-shadow: inset 0 1px 2px rgba(0, 40, 90, .12); }
.fb-text { width: 100%; height: auto; min-height: 120px; padding: 8px 10px; resize: vertical; line-height: 1.45; }
.fb-row { display: flex; justify-content: flex-end; min-height: 0; margin-top: -6px; }
.fb-count { color: #8a5a00; font-size: 11.5px; }
.fb-check { align-items: flex-start; font-size: 12.5px; color: #3a4e66; }
.fb-check input { margin-top: 2px; }
.fb-where { flex: 1 1 200px; color: #6a7a8e; font-size: 12px; }
.fb-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fb-thanks { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 18px; text-align: center; }
.fb-thanks-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(#9fe58a, #3ea42c); box-shadow: 0 3px 10px rgba(40, 120, 30, .35), inset 0 1px 0 rgba(255, 255, 255, .6); color: #fff; }
.fb-thanks-icon .glyph { width: 28px; height: 28px; }
.fb-thanks h3 { margin: 4px 0 0; font-size: 18px; font-weight: 400; color: #1d3f84; }
.fb-thanks p { margin: 0; max-width: 360px; color: #4a5e76; }
.fb-thanks-btns { display: flex; gap: 8px; margin-top: 6px; }
.fb-empty { color: #5a6b80; }
.fb-empty p { margin: 0 0 10px; }
.fb-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.fb-msg { padding: 10px 12px; border: 1px solid #dbe6f1; border-radius: 8px; background: #f8fbfe; }
.fb-msg-top { display: flex; align-items: center; gap: 8px; }
.fb-msg-top small { flex: 1; color: #7a8696; }
.fb-tag { padding: 1px 8px; border-radius: 9px; background: #e6eef8; color: #2a4a6a; font-size: 11px; font-weight: 600; }
.fb-tag.k-idea { background: #e2f4dc; color: #255a1a; }
.fb-tag.k-problem { background: #ffe4dc; color: #8a2a10; }
.fb-tag.k-order { background: #e4e0ff; color: #4a2fa8; }
.fb-status { font-size: 11.5px; color: #6a7a8e; }
.fb-status.s-done { color: #1f7a1f; font-weight: 600; }
.fb-msg-text { margin: 6px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; color: #2a3a4a; }
.fb-reply { margin-top: 8px; padding: 8px 10px; border-left: 3px solid #2f78d0; border-radius: 4px; background: #eaf3fd; }
.fb-reply b { font-size: 12px; color: #1a3d8a; }
.fb-reply p { margin: 3px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; color: #1a2a3a; }
