/* GiftWatcher 14.1 — source panels (DEMO and live stay separate) */
.gw141-hide{display:none!important}
.gw141-panel{border:1px solid rgba(167,117,203,.35);border-radius:16px;margin:12px 0 16px;padding:12px;background:linear-gradient(145deg,#21182b,#17111f)}
.gw141-panel h3{font-size:15px;color:#f1e5ff;margin:0 0 8px}
.gw141-panel p,.gw141-panel small{color:#c5b2d0;font-size:12px;line-height:1.5}
.gw141-panel label{font-size:12px;color:#dcc9e7;display:flex;flex-direction:column;gap:6px;flex:1;min-width:95px}
.gw141-panel .gw141-controls{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end}
.gw141-panel input,.gw141-panel select{background:#171021;color:#f2e9fb;border:1px solid #554265;border-radius:10px;min-height:36px;padding:8px;width:100%;max-width:100%;box-sizing:border-box}
.gw141-panel button{color:#fff;background:#723ba7;border:1px solid #8451ae;border-radius:10px;min-height:36px;padding:8px 13px;font-size:12px;cursor:pointer}
.gw141-status{font-size:12px;color:#d5c2e2;line-height:1.5;margin:10px 0}
.gw141-item{display:flex;align-items:flex-start;gap:10px;background:#17111e;border:1px solid #463751;border-radius:12px;padding:10px;margin:9px 0;min-width:0}
.gw141-item img,.gw141-img-fallback{width:76px;height:76px;flex:0 0 76px;object-fit:contain;aspect-ratio:1;background:#342b3b;border-radius:10px}
.gw141-img-fallback{display:grid;place-items:center;color:#b6a1c8;font-size:12px}
.gw141-details{display:flex;flex-direction:column;gap:5px;min-width:0;overflow-wrap:anywhere}
.gw141-details strong{font-size:13px;color:#fff}
.gw141-details small,.gw141-details span{font-size:11px;color:#b6a4c2}
.gw141-details b{font-size:15px;color:#d7b4fc}
.gw141-details a,.gw141-empty a{font-size:11px;color:#c59cff;text-decoration:underline}
.gw141-empty{font-size:12px;color:#e2ccea;line-height:1.6;padding:12px;border-radius:10px;background:#20162b}

#v-finds.gw141-other-source .gw-finds-controls,#v-finds.gw141-other-source .gw14-find-controls,#v-finds.gw141-other-source .gw138-rarity-controls,#v-finds.gw141-other-source .gw-finds-tools,#v-finds.gw141-other-source .gw-finds-counter,#v-finds.gw141-other-source .gw-finds-footnote{display:none!important}
#v-market.gw141-other-source > .gw14-section,#v-market.gw141-other-source > .gw14-demo-note{display:none!important}
/* 14.1.1 verified Portals listings and square animation viewer */
.gw141-valid{color:#90e0b1!important}
.gw141-verify-status{display:block;min-height:16px;font-size:11px;color:#b5edc7!important}
.gw141-verify-status.gw141-recheck-warning{color:#ffb878!important}
.gw141-item-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.gw141-item-actions button,.gw141-item-actions a{border:1px solid #6b4c80!important;padding:6px 8px!important;border-radius:9px!important;font-size:11px!important;background:#2b1d39!important;color:#e6caff!important;cursor:pointer;text-decoration:none!important;min-height:30px!important}
.gw141-item-actions button:disabled{opacity:.5}
.gw141-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;background:rgba(5,2,8,.89);padding:12px;overflow-y:auto;box-sizing:border-box}
.gw141-dialog{width:min(100%,480px);max-height:calc(100dvh - 24px);overflow-y:auto;box-sizing:border-box;padding:14px;border:1px solid #694878;background:linear-gradient(160deg,#261a2e,#110d18);border-radius:18px;color:#f8efff;box-shadow:0 16px 48px #000a}
.gw141-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.gw141-dialog-head strong{font-size:16px}
.gw141-dialog-head button{background:#3b2b48;color:#fff;border:1px solid #715583;border-radius:10px;min-width:38px;min-height:38px;cursor:pointer}
.gw141-media-stage{aspect-ratio:1 / 1;width:100%;height:auto!important;max-height:none!important;position:relative;overflow:hidden;border-radius:12px;background:#2c2934;display:grid;place-items:center}
.gw141-media-stage img,.gw141-media-stage video,.gw141-media-stage #gw141LottieStage{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.gw141-media-stage svg{max-width:100%;max-height:100%;}
.gw141-media-status{color:#c6b5d3;font-size:12px;line-height:1.4;margin:12px 0 7px}
.gw141-preview-links{display:flex;flex-wrap:wrap;gap:9px}
.gw141-preview-links a{font-size:12px;border:1px solid #6b4c80;border-radius:10px;padding:8px;color:#e7c6ff;text-decoration:none}
body.gw141-preview-open{overflow:hidden}
/* Existing gift-preview modal still used by DEMO: force 1:1 without installed older fix. */
#gwGiftPreviewStage.gw-gift-preview-stage{aspect-ratio:1 / 1!important;height:auto!important;min-height:0!important;max-height:none!important;width:100%!important;}

/* Stage 14.1.2: thumbnail is the only preview control, including keyboard users. */
.gw141-panel .gw141-cover{position:relative;display:grid;place-items:center;width:76px;height:76px;min-width:76px;flex:0 0 76px;padding:0;border:1px solid rgba(203,166,231,.22);background:#30273b;border-radius:11px;overflow:hidden;cursor:zoom-in;appearance:none;-webkit-appearance:none}
.gw141-panel .gw141-cover img,.gw141-panel .gw141-cover .gw141-img-fallback{width:100%;height:100%;object-fit:contain;border-radius:10px;display:grid;place-items:center}
.gw141-panel .gw141-cover:hover{border-color:#b789e2;box-shadow:0 0 0 1px #9e74ce55}
.gw141-panel .gw141-cover:focus-visible,.gw141-media-controls button:focus-visible,.gw141-extra summary:focus-visible{outline:2px solid #d7aeff;outline-offset:3px}
.gw141-panel .gw141-cover-motion::after{content:'▶';position:absolute;right:3px;bottom:3px;font-size:11px;display:grid;place-items:center;width:22px;height:22px;border-radius:9px;color:white;background:rgba(48,29,69,.86);border:1px solid #c7a1ec80;pointer-events:none}
.gw141-extra{margin-top:3px;border-top:1px solid #85669c44;padding-top:6px}
.gw141-extra summary{cursor:pointer;color:#b4a2c3;font-size:11px}
.gw141-extra small{display:block;margin-top:6px;overflow-wrap:anywhere}
.gw141-media-controls{display:flex;justify-content:center;margin:0 0 7px}
.gw141-media-controls button{background:rgba(122,78,170,.26);border:1px solid rgba(196,155,232,.4);color:#f0ddfb;border-radius:11px;min-height:36px;padding:7px 16px;cursor:pointer;font-size:12px}
.gw141-dialog{overscroll-behavior:contain}
.gw141-media-stage img:not([src]){opacity:0}
@media(max-width:365px){.gw141-item{gap:8px}.gw141-panel .gw141-cover{width:64px;height:64px;min-width:64px;flex-basis:64px}}
