.pc-home-actions .dw-btn{min-width:0}
.pc-home-button{position:relative;border:0;background:transparent;font:inherit;padding:0;color:inherit;cursor:pointer;min-width:0}
.pc-home-button .dw-btn__label{text-align:center;line-height:1.3;color:#fff!important;font-weight:800;text-shadow:0 1px 3px #59213b}
.pc-home-button .pc-home-icon{background:linear-gradient(140deg,#ffedb6,#ffbf43);color:#4a2900;box-shadow:0 4px 15px #0003}
.pc-home-count{position:absolute;top:-5px;left:calc(50% + 12px);min-width:24px;height:24px;padding:0 6px;border:2px solid #fff4d8;border-radius:20px;background:#ad164c;color:#fff;display:grid;place-items:center;font-size:12px;font-weight:900;line-height:1;box-sizing:border-box;white-space:nowrap}
.pc-home-button.has-pending .pc-home-icon{animation:pc-home-pulse 1.7s ease-in-out infinite}
.pc-home-button.has-pending .pc-home-count{animation:pc-home-badge 1.7s ease-in-out infinite}
.pc-home-button:focus-visible{outline:3px solid #ffe39e;outline-offset:5px;border-radius:12px}
.pc-home-menu{display:flex;flex-direction:column;align-items:center;gap:8px;width:100%;height:100%;padding:10px;border:1px solid #dd84be;border-radius:12px;background:#251521;color:#fff}
.pc-home-menu .pc-home-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:50%}
.pc-home-dialog{position:fixed;inset:0;box-sizing:border-box;margin:auto;width:min(920px,calc(100vw - 32px));max-width:none;max-height:92vh;max-height:92dvh;overflow:hidden;padding:0;border:1px solid #74556f;border-radius:24px;background:#19141f;color:#f8f5fb;box-shadow:0 28px 100px #0009;font-family:Tahoma,Arial,sans-serif;color-scheme:dark;text-align:left}
.pc-home-dialog[open]{display:flex;flex-direction:column}
.pc-home-dialog *{box-sizing:border-box}
.pc-home-dialog::backdrop{background:#09060bc9;backdrop-filter:blur(4px)}
.pc-home-heading{flex:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 26px;border-bottom:1px solid #4b374e;background:linear-gradient(110deg,#35213e,#231c30)}
.pc-home-heading h2{font-size:24px;line-height:1.4;color:#fff;margin:0;font-weight:700}
.pc-home-dialog p{font-size:14px;line-height:1.65;margin:8px 0}
.pc-home-heading p{margin:4px 0 0;color:#d2bfda;font-size:13px}
.pc-home-dialog button{font-family:inherit;cursor:pointer;line-height:1.5}
.pc-home-dialog button:focus-visible,.pc-home-details summary:focus-visible{outline:3px solid #efb5df;outline-offset:3px}
.pc-home-close,.pc-home-refresh{border:1px solid #775e7b;border-radius:10px;background:#382b42;color:#fff;padding:10px 16px;font-size:14px;font-weight:700}
.pc-home-close{flex-shrink:0;min-height:44px}
.pc-home-dialog .pc-home-status{flex:none;font-size:14px;color:#ffdf9e;margin:0;padding:12px 26px;overflow-wrap:anywhere;background:#352b22}
.pc-home-status:empty{display:none}
.pc-home-content{min-height:0;overflow:auto;overscroll-behavior:contain;padding:24px 26px;scrollbar-width:thin;scrollbar-color:#775e7b transparent}
.pc-home-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}
.pc-home-total{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:18px;border:1px solid #584663;border-radius:16px;background:#292133}
.pc-home-total>span{font-size:13px;color:#e0d5e7;font-weight:700}
.pc-home-total strong{max-width:100%;font-family:Arial,Tahoma,sans-serif;font-size:clamp(25px,3.3vw,36px);line-height:1.2;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:-.5px;overflow-wrap:anywhere;color:#fff}
.pc-home-total small{font-size:12px;color:#d1c3da}
.pc-home-total--withdraw{background:#19342e;border-color:#376957}
.pc-home-total--withdraw strong{color:#9ef0c4}
.pc-home-total--pending{background:#3c2c23;border-color:#856240}
.pc-home-total--pending strong{color:#ffda95}
.pc-home-content h3{font-size:16px;color:#f6effa;margin:0;font-weight:700;line-height:1.5}
.pc-home-summary{border:1px solid #493950;border-radius:14px;background:#211b29;padding:14px 18px;margin-bottom:24px;overflow-wrap:anywhere}
.pc-home-summary>p{color:#dfd2e7;margin-bottom:0}
.pc-home-condition b,.pc-home-condition span{display:block}
.pc-home-dialog .pc-home-warning{color:#ffcc91}
.pc-home-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.pc-home-list-heading>span{border:1px solid #624971;background:#35273e;border-radius:20px;padding:4px 12px;font-size:13px;color:#edc8ee;white-space:nowrap}
.pc-home-item{border:1px solid #55405a;border-radius:16px;background:#241c2b;padding:18px 20px;margin-bottom:12px;overflow-wrap:anywhere}
.pc-home-item:last-child{margin-bottom:0}
.pc-home-item-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:10px}
.pc-home-item h4{min-width:0;font-size:16px;line-height:1.5;color:#fff;margin:0;font-weight:700}
.pc-home-amount{display:flex;align-items:baseline;justify-content:flex-end;gap:6px;flex-wrap:wrap;flex-shrink:0;max-width:60%;color:#ffda95}
.pc-home-amount strong{font-family:Arial,Tahoma,sans-serif;font-size:28px;line-height:1.2;font-weight:800;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;max-width:100%}
.pc-home-amount small{font-size:12px;color:#dfc9a6}
.pc-home-dialog .pc-home-release-condition{color:#ded1e6}
.pc-home-dialog .pc-home-current{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;color:#c5b5ce;font-size:13px;margin:4px 0}
.pc-home-current strong{color:#fff;font-size:16px;font-variant-numeric:tabular-nums}
.pc-home-details{margin-top:10px;color:#d0bfd9;font-size:13px}
.pc-home-details summary{cursor:pointer;color:#e9b5e0;width:fit-content;padding:5px 0;min-height:30px}
.pc-home-details p{font-size:13px;border-left:2px solid #7b547e;padding-left:10px;color:#ebd5b8}
.pc-home-item-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding-top:12px;border-top:1px solid #49364f}
.pc-home-state{font-size:12px;font-weight:700;line-height:1.5;padding:5px 10px;border-radius:8px}
.pc-home-state--blocked,.pc-home-state--waiting{color:#ffda9f;background:#493522}
.pc-home-state--ready{color:#a9f2ca;background:#224736}
.pc-home-import{min-width:156px;min-height:42px;padding:10px 16px;border:1px solid #efb5df;border-radius:10px;background:linear-gradient(110deg,#f0b5e4,#ffdb9e);color:#2c1733;font-size:14px;font-weight:700}
.pc-home-dialog button:disabled{cursor:not-allowed}
.pc-home-import:disabled{background:#332b3b;border-color:#64566f;color:#c9bed2;opacity:1}
.pc-home-close:disabled,.pc-home-refresh:disabled{opacity:.65}
.pc-home-footer{flex:none;display:flex;justify-content:flex-end;padding:14px 26px;border-top:1px solid #49364f;background:#211927}
.pc-home-refresh{min-width:160px}
.pc-home-empty{text-align:center;padding:28px;color:#d1c2db;border:1px dashed #70527a;border-radius:14px}
@media(min-width:601px){.pc-home-summary{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 16px;padding:12px 18px;margin-bottom:20px}.pc-home-summary>p{margin:0}.pc-home-summary .pc-home-condition,.pc-home-summary .pc-home-warning{flex-basis:100%}.pc-home-item{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"heading heading" "condition action" "current action" "details action";column-gap:18px;padding:16px 20px}.pc-home-item-heading{grid-area:heading;margin-bottom:4px}.pc-home-release-condition{grid-area:condition}.pc-home-current{grid-area:current}.pc-home-details{grid-area:details;margin-top:3px}.pc-home-item-footer{grid-area:action;flex-direction:column;align-items:flex-end;justify-content:flex-end;gap:8px;margin:0;padding:0;border:0}.pc-home-import{min-width:156px}}
@media(max-width:600px){.pc-home-dialog{width:calc(100vw - 16px);max-height:96vh;max-height:96dvh;border-radius:18px}.pc-home-heading{padding:16px}.pc-home-heading h2{font-size:20px}.pc-home-heading p{font-size:12px}.pc-home-content{padding:16px}.pc-home-stats{gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.pc-home-total{padding:12px}.pc-home-total strong{font-size:28px}.pc-home-total--pending{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:8px}.pc-home-total--pending strong{grid-column:2;grid-row:1/3;text-align:right}.pc-home-total>span{font-size:12px}.pc-home-item{padding:14px}.pc-home-item-heading{gap:10px}.pc-home-item h4{font-size:15px}.pc-home-amount strong{font-size:25px}.pc-home-item-footer{flex-wrap:wrap;gap:10px}.pc-home-import{min-width:0;flex:1 1 150px}.pc-home-summary{padding:12px 14px;margin-bottom:18px}.pc-home-footer{padding:12px 16px}.pc-home-refresh{width:100%}.pc-home-dialog .pc-home-status{padding:10px 16px}}

@keyframes pc-home-pulse{50%{box-shadow:0 0 0 7px #ffe09e33,0 0 26px #ffd477cc;transform:translateY(-2px)}}
@keyframes pc-home-badge{50%{background:#d72e62;transform:scale(1.12)}}
@media(max-width:480px){.pc-home-actions{gap:4px}.pc-home-actions .dw-btn__circle{width:46px;height:46px;font-size:18px}.pc-home-actions .dw-btn__label{font-size:11px}.pc-home-button .dw-btn__label{max-width:76px}.pc-home-count{min-width:22px;height:22px;font-size:11px;padding:0 4px}}
@media(prefers-reduced-motion:reduce){.pc-home-button.has-pending .pc-home-icon,.pc-home-button.has-pending .pc-home-count{animation:none}}
