/* Decorate mode for your own studio (UI rev 53, decorate.js): place card + breadcrumb top left, "Decorate my studio"
   pill top centre, coins and Done top right, the pink bubble panel on the right (My Furniture / Place Furniture /
   Edit Furniture), My furniture + Undo bottom left, a toast and the key hint bar bottom centre, a speech-bubble tag over
   the piece in the room. Sizes follow the 1600 × 900 mockup; phones in landscape get a compact version below. */
#deco { --dc-navy: #1E3A6E; --dc-ink: #33466F; --dc-muted: #5A6A8A; --dc-body: 'Source Sans 3', 'Noto Sans SC', Arial, sans-serif; --dc-title: var(--bb-display, 'Fredoka', 'Nunito', sans-serif);
  position: fixed; inset: 0; z-index: 30; pointer-events: none; font-family: var(--dc-body); color: var(--dc-navy); }
#deco[hidden] { display: none; }
#deco > *, #deco .dc-top > * { pointer-events: auto; }
#deco .dc-top { pointer-events: none; }
#deco button { font-family: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
#deco button:disabled { cursor: default; }
#deco .ic { margin: 0; }
body.decorating #build, body.decorating #build-top, body.decorating #build-bar, body.decorating #build-tip, body.decorating #build-card, body.decorating #toasts, body.decorating .pp-wrap { display: none !important; }

/* ---------- top bar ---------- */
.dc-where { position: fixed; left: 22px; top: 17px; width: 230px; box-sizing: border-box; display: flex; align-items: center; gap: 10px; padding: 9px 14px 10px 12px; border-radius: 16px;
  background: linear-gradient(180deg, #FFFBF6, #FFF4EC); border: 2px solid #EFD9CB; box-shadow: 0 4px 0 #E9CDBD, 0 8px 16px rgba(160, 110, 90, .12); }
.dc-wpic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; } .dc-wpic .ic { width: 42px; height: 42px; }
.dc-where b { display: block; font: 700 22px/1.05 var(--dc-title); color: var(--dc-navy); }
.dc-where small { display: block; margin-top: 3px; font: 600 11.5px/1.1 var(--dc-body); color: var(--dc-ink); }
.dc-crumb { position: fixed; left: 58px; top: 116px; margin: 0; font: 700 11.5px/1 var(--dc-body); letter-spacing: .06em; text-transform: uppercase; color: #42567A; white-space: nowrap; text-shadow: 0 1px 0 rgba(255, 255, 255, .7); }
.dc-crumb .u { text-transform: none; }
.dc-pill { position: fixed; left: 50%; top: 17px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; height: 46px; box-sizing: border-box; padding: 0 18px 0 16px; border-radius: 16px;
  background: #FFFFFF; border: 2.5px solid #C2DAEE; box-shadow: 0 4px 0 #A9C6DF, 0 8px 18px rgba(80, 130, 180, .14); white-space: nowrap; }
.dc-pill .dc-ham, .dc-pill .ic { width: 30px; height: 30px; } .dc-pill b { font: 700 21px var(--dc-title); color: var(--dc-navy); }
.dc-tr { position: fixed; right: 26px; top: 17px; display: flex; align-items: center; gap: 24px; }
.dc-tr .bb-coin.dc-coin { height: 50px; box-sizing: border-box; padding: 0 26px 0 12px; border-radius: 18px; gap: 8px; font: 700 22px var(--dc-title); border-width: 2.5px; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .7), 0 4px 0 #D3920E; }
.dc-tr .bb-coin.dc-coin .bb-coinic { width: 30px; height: 30px; }
.dc-done { height: 50px; min-width: 140px; padding: 0 30px; border-radius: 18px; border: 2.5px solid #6DB3E0; background: linear-gradient(180deg, #C9EAFD, #A3D8F6 55%, #8CCBF1); color: var(--dc-navy);
  font: 700 21px var(--dc-title); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .8), 0 4px 0 #6AA4D2, 0 8px 16px rgba(70, 140, 200, .18); }
.dc-done:active, .dc-btn:active:not(:disabled), .dc-wide:active:not(:disabled), .dc-btns button:active:not(:disabled) { transform: translateY(2px); }

/* ---------- the panel ---------- */
.dc-panel { position: fixed; right: 32px; top: 128px; width: 450px; height: min(644px, calc(100vh - 160px)); box-sizing: border-box; display: flex; flex-direction: column; padding: 18px 22px 22px; border-radius: 30px;
  background: linear-gradient(180deg, #FDEEF4 0%, #FBE4ED 100%); border: 3px solid #F2BFD1; box-shadow: inset 0 0 0 3px #FFF7FA, 0 6px 0 #EBB6C9, 0 16px 34px rgba(200, 110, 150, .2); }
.dc-panel[hidden] { display: none; }
.dc-panel header { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; }
.dc-panel .bb-word.dc-word { font-size: 31px; text-align: left; }
.dc-word .w1 { color: #E2608F; -webkit-text-fill-color: #E2608F; -webkit-text-stroke: 0.02em #CC4B7B; }
.dc-word .w2 { color: #2B7CC3; -webkit-text-fill-color: #2B7CC3; -webkit-text-stroke: 0.02em #1F68AB; }
.dc-word > span::before { -webkit-text-stroke: 0.14em #fff; text-shadow: 0 0.05em 0 #F3C5D5, 0 0.08em 0.12em rgba(196, 96, 140, .22); }
.dc-word .w2::before { text-shadow: 0 0.05em 0 #C5E0F2, 0 0.08em 0.12em rgba(70, 130, 190, .2); }
.dc-word > span::after { opacity: .55; }
.dc-x { width: 38px; height: 38px; flex: none; display: grid; place-items: center; padding: 0; border-radius: 50%; background: #fff; border: 2px solid #EFC6D4; color: var(--dc-navy); box-shadow: 0 3px 0 #E8BDCC; }
.dc-x svg { width: 20px; height: 20px; }
.dc-sub { margin: 2px 0 10px; font: 600 14px/1.2 var(--dc-body); color: var(--dc-ink); }
/* item card */
.dc-item { display: flex; align-items: center; gap: 18px; min-height: 122px; box-sizing: border-box; padding: 10px 16px 10px 12px; border-radius: 18px; background: #FFFDFD; border: 2px solid #F3D2DE; box-shadow: 0 3px 0 #F0CFDB; }
.dc-ipic { width: 150px; height: 96px; flex: none; display: grid; place-items: center; } .dc-ipic .ic { width: 100px; height: 100px; object-fit: contain; }
.dc-item b { display: block; font: 700 25px/1.1 var(--dc-title); color: #2E5C8E; margin-bottom: 8px; }
.dc-item small { display: block; font: 600 12.5px/1.35 var(--dc-body); color: #4A5878; }
.dc-item small.dc-own { margin-top: 6px; }
/* status card */
.dc-status { display: flex; align-items: center; gap: 12px; min-height: 66px; box-sizing: border-box; margin-top: 12px; padding: 8px 14px; border-radius: 16px; border: 2px solid; }
.dc-status i { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 2px solid currentColor; background: rgba(255, 255, 255, .6); }
.dc-status i svg { width: 20px; height: 20px; }
.dc-status b { display: block; font: 700 16.5px/1.15 var(--dc-body); } .dc-status small { display: block; margin-top: 3px; font: 600 12px/1.2 var(--dc-body); }
.dc-status.ok { background: #E3F4E7; border-color: #A9D9B6; color: #2D8655; } .dc-status.ok b { color: #285F3E; } .dc-status.ok small { color: #3F6A52; }
.dc-status.bad { background: #FDE8EF; border-color: #F1AAC0; color: #D2456F; } .dc-status.bad b { color: #B83160; } .dc-status.bad small { color: #8E4A61; }
/* position, rotation, hint */
.dc-lbl { display: block; margin: 14px 0 6px; font: 600 12.5px var(--dc-body); color: var(--dc-ink); }
.dc-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dc-chips button, .dc-tabs button { height: 42px; border-radius: 12px; border: 2px solid #EAD6DF; background: linear-gradient(180deg, #FFFFFF, #FCF6F8); color: var(--dc-navy); font: 600 15px var(--dc-body); box-shadow: 0 3px 0 #EBCFDA; }
.dc-chips button.on, .dc-tabs button.on { background: linear-gradient(180deg, #C9E9FC, #A6D8F6); border-color: #6DB2DF; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .7), 0 3px 0 #77AEDA; }
.dc-rot { display: flex; align-items: center; gap: 14px; }
.dc-rot button { flex: 1; height: 46px; display: flex; align-items: center; justify-content: center; gap: 4px; border-radius: 12px; border: 2px solid #96C8EC; background: linear-gradient(180deg, #E6F4FD, #CFE8F9); color: var(--dc-navy); font: 600 16px var(--dc-body); box-shadow: 0 3px 0 #9CC5E4; }
.dc-rot button svg { width: 18px; height: 18px; } .dc-rot b { width: 46px; text-align: center; font: 600 16px var(--dc-body); color: var(--dc-ink); }
.dc-hintcard { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 9px 14px; border-radius: 12px; background: #F2EEF4; border: 1.5px solid #E4DCE7; }
.dc-hintcard .dc-ham, .dc-hintcard .ic { width: 26px; height: 26px; flex: none; } .dc-hintcard span { display: block; font: 600 12.5px/1.45 var(--dc-body); color: #3A4A6A; }
.dc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.dc-btns button { height: 50px; border-radius: 14px; font: 700 19px var(--dc-title); }
.dc-btns .white, .dc-wide.white { background: linear-gradient(180deg, #FFFFFF, #FBF6F8); border: 2px solid #E8D6DE; color: var(--dc-navy); box-shadow: 0 4px 0 #E6CCD7; }
.dc-btns .blue, .dc-wide.blue { background: linear-gradient(180deg, #C2E6FC, #9DD3F5 55%, #8CCAF1); border: 2px solid #6DB2DF; color: var(--dc-navy); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .75), 0 4px 0 #6EA8D3; }
.dc-btns .blue:disabled, .dc-wide.blue:disabled { background: linear-gradient(180deg, #E3E6EA, #D7DBE0); border-color: #C5CBD3; color: #8D96A4; box-shadow: 0 4px 0 #BEC4CC; }
.dc-wide.pink { background: linear-gradient(180deg, #FBDDE8, #F6C9D8); border: 2px solid #EEA8C0; color: #C4497A; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .6), 0 4px 0 #E8AEC2; }
.dc-wide { width: 100%; height: 48px; margin-top: 12px; border-radius: 14px; font: 700 19px var(--dc-title); }
.dc-wide:disabled { opacity: .6; }
.dc-status + .dc-wide { margin-top: 16px; }
.dc-foot { margin: 14px 0 -4px; text-align: center; font: 600 12px var(--dc-body); color: #3A4A6A; }
.dc-note { margin-top: auto; padding: 9px 12px 10px; border-radius: 12px; background: #F2EFF5; border: 1.5px solid #E2DCE8; }
.dc-note b { display: block; font: 700 14px var(--dc-body); color: #2E3F66; } .dc-note span { display: block; margin-top: 2px; font: 600 12px/1.3 var(--dc-body); color: #4A5878; }
/* storage: tabs, two columns of cards, a gold "N in storage" badge, sell for half behind a confirm */
.dc-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.dc-tabs button { height: 37px; border-radius: 10px; font-size: 15px; }
.dc-grid { flex: 1 1 auto; min-height: 0; margin: 14px -4px 12px; padding: 2px 4px 6px; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 122px; gap: 14px; overflow-y: auto; scrollbar-width: thin; align-content: start; }
.dc-card { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; padding: 10px 8px 12px; box-sizing: border-box; border-radius: 14px; cursor: pointer;
  background: linear-gradient(180deg, #FFFCFD, #FDF4F7); border: 2px solid #F1D4DF; box-shadow: 0 3px 0 #EFCFDB; outline: none; }
.dc-card.on, .dc-card:focus-visible { background: linear-gradient(180deg, #EAF6FE, #D9EEFC); border: 3px solid #5AB0E5; box-shadow: 0 3px 0 #8EC3E8; padding: 9px 7px 11px; }
.dc-cpic { flex: 1 1 auto; min-height: 0; width: 100%; display: grid; place-items: center; } .dc-cpic .ic { height: 100%; max-height: 74px; width: auto; aspect-ratio: 1; object-fit: contain; }
.dc-card b { font: 700 16px/1.1 var(--dc-title); color: var(--dc-navy); text-align: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-badge { position: absolute; top: 8px; right: 8px; padding: 2px 7px; border-radius: 8px; background: linear-gradient(180deg, #FFF0C2, #FCDD8A); border: 1.5px solid #E5BE5C; color: #6E5410; font: 700 11px/1.25 var(--dc-body); font-style: normal; white-space: nowrap; }
.dc-sell { position: absolute; left: 6px; bottom: 6px; width: 26px; height: 26px; padding: 0; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid #EFD3A0; opacity: 0; transition: opacity .15s; }
.dc-sell svg { width: 18px; height: 18px; }
.dc-card:hover .dc-sell, .dc-card:focus-within .dc-sell, .dc-card.on .dc-sell { opacity: 1; }
@media (pointer: coarse) { .dc-sell { opacity: .85; } }
.dc-card.sell { justify-content: center; gap: 6px; cursor: default; background: #FFF8E8; border-color: #EFCF8A; }
.dc-card.sell .dc-cpic { display: none; } .dc-card.sell p { margin: 0; text-align: center; font: 700 13px/1.25 var(--dc-body); color: #6E5410; }
.dc-card.sell div { display: flex; gap: 8px; } .dc-card.sell button { height: 32px; padding: 0 14px; border-radius: 10px; border: 2px solid #E7D8C0; background: #fff; color: var(--dc-navy); font: 700 14px var(--dc-body); }
.dc-card.sell button.go { background: linear-gradient(180deg, #FFE68A, #FFCB3D); border-color: #D58F0C; }
.dc-none { grid-column: 1 / -1; margin: 20px 0; text-align: center; font: 600 14px var(--dc-body); color: var(--dc-muted); }
.dc-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 0 20px; }
.dc-empty svg { width: 72px; height: 72px; } .dc-empty b { font: 700 20px var(--dc-title); } .dc-empty small { font: 600 13px var(--dc-body); color: var(--dc-muted); }
.dc-empty .dc-wide { width: auto; padding: 0 26px; }

/* ---------- bottom left, toast, hint bar ---------- */
.dc-bl { position: fixed; left: 36px; bottom: 123px; display: flex; gap: 11px; }
.dc-btn { height: 44px; display: flex; align-items: center; gap: 6px; padding: 0 14px 0 10px; border-radius: 12px; border: 2.5px solid #C6DBED; background: #fff; color: var(--dc-navy); font: 600 16px var(--dc-body); box-shadow: 0 4px 0 #ABC7DF; }
.dc-btn .dc-ham, .dc-btn .ic { width: 28px; height: 28px; } .dc-btn svg { width: 18px; height: 18px; }
.dc-btn[aria-pressed="true"] { background: #F2F9FF; }
.dc-btn:disabled { color: #93A3BA; border-color: #D5E2EE; box-shadow: 0 4px 0 #C9D8E6; background: rgba(255, 255, 255, .55); }
.dc-toast { position: fixed; left: 50%; bottom: 113px; transform: translateX(-50%); max-width: min(560px, 60vw); padding: 0 22px; height: 50px; display: flex; align-items: center; justify-content: center; box-sizing: border-box;
  border-radius: 12px; background: linear-gradient(180deg, #275A80, #1D4767); border: 2px solid #3E7AA4; color: #fff; font: 700 16px var(--dc-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  box-shadow: 0 4px 0 #133550, 0 10px 20px rgba(20, 50, 80, .25); animation: dc-pop .2s var(--bb-ease, ease); }
.dc-toast.bad { background: linear-gradient(180deg, #E0668F, #C94877); border-color: #EE93B1; box-shadow: 0 4px 0 #A23560, 0 10px 20px rgba(150, 40, 80, .25); }
.dc-toast[hidden] { display: none; }
@keyframes dc-pop { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translate(-50%, 0); } }
.dc-hint { position: fixed; left: 146px; bottom: 24px; width: min(852px, calc(100vw - 146px - 610px)); min-width: 520px; height: 74px; box-sizing: border-box; display: flex; align-items: center; gap: 10px; padding: 0 18px 0 22px;
  border-radius: 16px; background: #fff; border: 2.5px solid #D0E0EE; box-shadow: 0 4px 0 #B9CFE2, 0 10px 22px rgba(80, 120, 170, .12); }
.dc-hint > .dc-ham, .dc-hint > .ic { width: 36px; height: 36px; flex: none; }
.dc-ht { flex: 1; min-width: 0; } .dc-ht b { display: block; font: 700 18px var(--dc-title); color: var(--dc-navy); } .dc-ht small { display: block; margin-top: 3px; font: 600 11.5px var(--dc-body); color: #3A4A6A; }
.dc-keys { display: flex; align-items: center; gap: 6px; font: 600 12px var(--dc-body); color: #3A4A6A; white-space: nowrap; }
.dc-keys kbd { display: inline-block; min-width: 14px; padding: 2px 6px; margin-left: 10px; border-radius: 5px; border: 1.5px solid #B6C4D6; background: #F1F4F8; font: 600 11.5px var(--dc-body); color: #3A4A6A; text-align: center; box-shadow: 0 1.5px 0 #B6C4D6; }
.dc-keys kbd:first-child { margin-left: 0; }
.dc-cnt { margin-left: 22px; font: 600 11.5px var(--dc-body); color: #3A4A6A; white-space: nowrap; }
@media (pointer: coarse) { .dc-keys { display: none; } }

/* ---------- the tag over the piece ---------- */
.dc-tag { position: fixed; transform: translate(-50%, -100%); margin-top: -12px; padding: 6px 13px; border-radius: 10px; background: #fff; border: 2px solid #8ECBEF; color: var(--dc-ink); font: 600 14.5px var(--dc-body); white-space: nowrap; pointer-events: none !important;
  box-shadow: 0 3px 0 rgba(120, 170, 210, .45), 0 6px 14px rgba(60, 90, 140, .12); }
.dc-tag::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 12px; height: 12px; margin-left: -6px; background: #fff; border: solid #8ECBEF; border-width: 0 2px 2px 0; transform: rotate(45deg); border-bottom-right-radius: 3px; }
.dc-tag.ok { border-color: #9ED9B6; color: #2D6A47; } .dc-tag.ok::after { border-color: #9ED9B6; }
.dc-tag.bad { border-color: #F0A4BD; color: #B83160; } .dc-tag.bad::after { border-color: #F0A4BD; }
.dc-tag[hidden] { display: none; }

/* ---------- desktop sizes between laptop and full HD ---------- */
@media (max-width: 1400px) {
  .dc-panel { width: 400px; right: 24px; } .dc-ipic { width: 120px; } .dc-item b { font-size: 22px; }
  .dc-hint { left: 120px; width: calc(100vw - 120px - 470px); min-width: 0; } .dc-cnt { margin-left: 10px; }
}
@media (max-width: 1100px) and (min-height: 521px) {
  .dc-hint { left: 24px; width: calc(100vw - 48px - 420px); } .dc-keys { display: none; } .dc-bl { left: 24px; }
  .dc-pill { display: none; }
}

/* ---------- laptop heights (720–820): the panel starts higher and tightens up ---------- */
@media (max-height: 820px) and (min-height: 521px) {
  .dc-panel { top: 92px; height: calc(100vh - 108px); padding: 12px 18px 16px; border-radius: 26px; }
  .dc-panel header { min-height: 38px; } .dc-panel .bb-word.dc-word { font-size: 27px; } .dc-sub { margin-bottom: 8px; }
  .dc-item { min-height: 96px; } .dc-ipic { height: 76px; } .dc-ipic .ic { width: 80px; height: 80px; } .dc-item b { font-size: 21px; margin-bottom: 4px; }
  .dc-status { min-height: 54px; margin-top: 8px; padding: 6px 12px; } .dc-lbl { margin: 9px 0 4px; }
  .dc-chips button { height: 36px; } .dc-rot button { height: 38px; } .dc-hintcard { margin-top: 8px; padding: 6px 12px; }
  .dc-btns button { height: 44px; } .dc-wide { height: 42px; margin-top: 9px; } .dc-foot { margin-top: 8px; }
  .dc-grid { grid-auto-rows: 104px; gap: 10px; margin-top: 10px; } .dc-cpic .ic { max-height: 60px; }
  .dc-crumb { top: 100px; }
}
@media (max-height: 700px) and (min-height: 521px) { .dc-hintcard { display: none; } }

/* ---------- phones in landscape (844 × 390): everything shrinks to fit the height ---------- */
@media (max-height: 520px) and (orientation: landscape) {
  .dc-where { left: calc(8px + env(safe-area-inset-left)); top: calc(6px + env(safe-area-inset-top)); width: auto; gap: 6px; padding: 3px 12px 4px 5px; border-radius: 12px; border-width: 1.5px; box-shadow: 0 2px 0 #E9CDBD; }
  .dc-wpic, .dc-wpic .ic { width: 26px; height: 26px; } .dc-where b { font-size: 14px; } .dc-where small { font-size: 9.5px; margin-top: 1px; }
  .dc-crumb { display: none; }
  .dc-pill { top: calc(6px + env(safe-area-inset-top)); height: 30px; padding: 0 10px 0 8px; gap: 5px; border-radius: 11px; border-width: 1.5px; box-shadow: 0 2px 0 #A9C6DF; }
  .dc-pill .dc-ham, .dc-pill .ic { width: 20px; height: 20px; } .dc-pill b { font-size: 13px; }
  .dc-tr { right: calc(8px + env(safe-area-inset-right)); top: calc(6px + env(safe-area-inset-top)); gap: 8px; }
  .dc-tr .bb-coin.dc-coin { height: 30px; padding: 0 12px 0 5px; border-radius: 11px; font-size: 14px; border-width: 1.5px; box-shadow: 0 2px 0 #D3920E; } .dc-tr .bb-coin.dc-coin .bb-coinic { width: 20px; height: 20px; }
  .dc-done { height: 30px; min-width: 0; padding: 0 16px; border-radius: 11px; font-size: 14px; border-width: 1.5px; box-shadow: 0 2px 0 #6AA4D2; }
  .dc-panel { right: calc(8px + env(safe-area-inset-right)); top: calc(44px + env(safe-area-inset-top)); bottom: calc(8px + env(safe-area-inset-bottom)); height: auto; width: 262px; padding: 6px 10px 8px; border-radius: 18px; border-width: 2px; box-shadow: inset 0 0 0 2px #FFF7FA, 0 3px 0 #EBB6C9; }
  .dc-panel header { min-height: 28px; } .dc-panel .bb-word.dc-word { font-size: 19px; } .dc-x { width: 26px; height: 26px; border-width: 1.5px; box-shadow: 0 2px 0 #E8BDCC; } .dc-x svg { width: 14px; height: 14px; }
  .dc-sub { display: none; }
  .dc-item { min-height: 0; gap: 8px; padding: 4px 8px 4px 4px; border-radius: 12px; border-width: 1.5px; box-shadow: 0 2px 0 #F0CFDB; } .dc-ipic { width: 46px; height: 46px; } .dc-ipic .ic { width: 46px; height: 46px; }
  .dc-item b { font-size: 14px; margin-bottom: 1px; } .dc-item small { font-size: 9.5px; line-height: 1.2; } .dc-item small.dc-own { margin-top: 0; }
  .dc-status { min-height: 0; margin-top: 5px; gap: 7px; padding: 4px 8px; border-radius: 10px; border-width: 1.5px; } .dc-status i { width: 20px; height: 20px; border-width: 1.5px; } .dc-status i svg { width: 14px; height: 14px; }
  .dc-status b { font-size: 12px; } .dc-status small { font-size: 9.5px; margin-top: 1px; }
  .dc-lbl { display: none; }
  .dc-chips { margin-top: 5px; gap: 6px; } .dc-chips button, .dc-tabs button { height: 26px; border-radius: 8px; font-size: 11.5px; border-width: 1.5px; box-shadow: 0 2px 0 #EBCFDA; }
  .dc-rot { margin-top: 5px; gap: 6px; } .dc-rot button { height: 28px; font-size: 12px; border-radius: 8px; border-width: 1.5px; box-shadow: 0 2px 0 #9CC5E4; } .dc-rot button svg { width: 13px; height: 13px; } .dc-rot b { width: 32px; font-size: 12px; }
  .dc-hintcard { margin-top: 5px; padding: 3px 8px; gap: 6px; border-radius: 8px; } .dc-hintcard .dc-ham, .dc-hintcard .ic { width: 16px; height: 16px; } .dc-hintcard span { font-size: 9.5px; line-height: 1.3; }
  .dc-foot { margin: 4px 0 -4px; font-size: 9.5px; }
  .dc-note { padding: 4px 8px; border-radius: 8px; } .dc-note b { font-size: 10.5px; } .dc-note span { font-size: 9.5px; margin-top: 0; }
  .dc-panel.store .dc-note { display: none; }
  .dc-btns { gap: 6px; padding-top: 6px; } .dc-btns button { height: 32px; font-size: 14px; border-radius: 10px; border-width: 1.5px; }
  .dc-wide { height: 32px; margin-top: 6px; font-size: 14px; border-radius: 10px; border-width: 1.5px; } .dc-status + .dc-wide { margin-top: 8px; }
  .dc-btns .white, .dc-wide.white { box-shadow: 0 2px 0 #E6CCD7; } .dc-btns .blue, .dc-wide.blue { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 2px 0 #6EA8D3; } .dc-wide.pink { box-shadow: 0 2px 0 #E8AEC2; }
  .dc-tabs { gap: 4px; margin-top: 2px; } .dc-tabs button { height: 24px; }
  .dc-grid { margin: 6px -3px 0; padding: 2px 3px 4px; grid-auto-rows: 72px; gap: 6px; }
  .dc-card { padding: 4px 4px 5px; border-radius: 10px; border-width: 1.5px; gap: 1px; box-shadow: 0 2px 0 #EFCFDB; } .dc-card.on { border-width: 2px; padding: 3px 3px 4px; }
  .dc-cpic .ic { max-height: 40px; } .dc-card b { font-size: 11px; padding: 0 14px; box-sizing: border-box; } .dc-badge { top: 3px; right: 3px; padding: 0 4px; font-size: 8.5px; border-radius: 5px; border-width: 1px; }
  .dc-sell { width: 20px; height: 20px; left: 3px; bottom: 3px; } .dc-sell svg { width: 14px; height: 14px; }
  .dc-card.sell p { font-size: 10px; } .dc-card.sell button { height: 22px; padding: 0 8px; font-size: 11px; border-radius: 7px; }
  .dc-empty svg { width: 40px; height: 40px; } .dc-empty b { font-size: 14px; } .dc-empty small { font-size: 10px; }
  .dc-bl { left: calc(8px + env(safe-area-inset-left)); bottom: calc(8px + env(safe-area-inset-bottom)); gap: 6px; }
  .dc-btn { height: 30px; padding: 0 9px 0 6px; gap: 3px; border-radius: 9px; border-width: 1.5px; font-size: 12px; box-shadow: 0 2px 0 #ABC7DF; } .dc-btn .dc-ham, .dc-btn .ic { width: 20px; height: 20px; } .dc-btn svg { width: 14px; height: 14px; }
  .dc-btn:disabled { box-shadow: 0 2px 0 #C9D8E6; }
  .dc-hint { display: none; }
  .dc-toast { left: calc((100vw - 280px) / 2 + 60px); bottom: calc(8px + env(safe-area-inset-bottom)); height: 30px; padding: 0 12px; border-radius: 9px; font-size: 12px; max-width: calc(100vw - 280px - 240px); box-shadow: 0 2px 0 #133550; }
  .dc-tag { font-size: 11px; padding: 3px 8px; border-radius: 8px; border-width: 1.5px; margin-top: -8px; } .dc-tag::after { width: 8px; height: 8px; bottom: -5px; margin-left: -4px; border-width: 0 1.5px 1.5px 0; }
}
