/* Gift availability and invitation states share the approved translucent material. */
:root{--povod-status-paper:rgba(255,255,255,.60);--povod-status-edge:rgba(255,255,255,.85);--povod-status-shadow:inset 0 1px 1px #ffffffd9,0 2px 8px #57423612;}
body :is(.povod-status-chip,.studio-wishlist-state,.povod-final-status,.status-pill,.povod-completed-badge){display:inline-flex;align-items:center;justify-content:center;gap:4px;box-sizing:border-box;max-width:100%;padding:4px 8px;border:1px solid var(--povod-status-edge)!important;border-radius:999px!important;background:var(--povod-status-paper)!important;box-shadow:var(--povod-status-shadow)!important;color:#675d53;font:400 10px/1.2 Onest,system-ui,sans-serif;letter-spacing:0;text-transform:none;white-space:nowrap;-webkit-backdrop-filter:blur(8px) saturate(1.12);backdrop-filter:blur(8px) saturate(1.12);}
body #dashboardView .status-pill{padding:3px 7px;line-height:1.2;}
body #dashboardView .status-pill::before{content:none;}
body :is(.studio-wishlist-thumb,.gift-img)>.povod-status-chip,body #editorView .studio-wishlist-state{position:absolute;top:8px;right:8px;bottom:auto;left:auto;z-index:3;max-width:calc(100% - 16px);pointer-events:none;}
body :is(.povod-status-chip,.studio-wishlist-state) svg{display:block;width:11px;height:11px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
body :is(.povod-status-chip,.studio-wishlist-state).is-reserved{color:#655b51;background:rgba(255,255,255,.70)!important;}
body :is(.povod-status-chip,.studio-wishlist-state):not(.is-reserved){color:#93624e;}
/* The image is faded; badges, controls and ownership remain legible and usable. */
body :is(#publicView,#editorView,.invitation-preview) .gift-card.reserved,body #editorView .studio-wishlist-card.is-reserved{opacity:1;background:#f4f1eddf;border-color:#d9d2c86b;box-shadow:inset 0 1px 0 #ffffffad,0 2px 7px #514e4b07;}
body :is(#publicView,#editorView,.invitation-preview) .gift-card.reserved .gift-img>img,body #editorView .studio-wishlist-card.is-reserved .studio-wishlist-thumb>:is(img,.studio-wishlist-sketch){opacity:.52;filter:saturate(.50) brightness(1.03);}
body :is(#publicView,#editorView,.invitation-preview) .gift-card.reserved .gift-img,body #editorView .studio-wishlist-card.is-reserved .studio-wishlist-thumb{background:#f3f0eb;}
body :is(#publicView,#editorView,.invitation-preview) .gift-card.reserved .gift-body h3,body #editorView .studio-wishlist-card.is-reserved .studio-wishlist-copy h3{color:#786f65;font-weight:400;}
body #editorView .studio-wishlist-card>.studio-wishlist-menu>summary{top:36px;right:3px;left:auto;}
body #editorView .studio-wishlist-card>.studio-wishlist-menu>.studio-wishlist-menu-panel{top:80px;left:6px;right:6px;}
body #editorView .povod-owner-gift-actions{display:grid;grid-template-columns:minmax(max-content,.8fr) minmax(max-content,1.2fr);gap:4px;margin-top:3px;}
body #editorView .povod-owner-gift-actions:has(>.gift-reserve-action:first-child){grid-template-columns:1fr;}
body #editorView .povod-owner-gift-actions>.btn{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-width:0;height:36px;min-height:36px;gap:2px;padding:0 2px;margin:0;border:0;border-radius:999px;background:none;box-shadow:none;overflow:visible;font:400 11px/1.3 Onest,system-ui,sans-serif;white-space:nowrap;text-decoration:none;opacity:1;color:#575451;touch-action:manipulation;}
body #editorView .povod-owner-gift-actions>.btn::before{content:'';position:absolute;display:block;width:auto;height:auto;transform:none;opacity:1;animation:none;inset:4px 0;z-index:-1;border:1px solid #ddd5cd99;border-radius:inherit;background:linear-gradient(145deg,#ffffffd9,#f1eeebd9);box-shadow:inset 0 1px 0 #ffffffed,0 2px 4px #514e4b10;pointer-events:none;}
body #editorView .povod-owner-gift-actions>.gift-shop-link svg{display:none;}
body #editorView .povod-owner-gift-actions>.gift-reserve-action{color:#3a312b;font-weight:500;}
body #editorView .povod-owner-gift-actions>.gift-reserve-action::before{background:#f47b5c;background-image:linear-gradient(180deg,#ffffff38,transparent 58%,#b9573910);border-color:#e4694c70;box-shadow:inset 0 1px 0 #ffffff96,inset 0 -1px 1px #b9543921,0 2px 5px #be64401c;}
body #editorView .povod-owner-gift-actions>.gift-reserve-action:is(:disabled,.gift-cancel-action){color:#785448;}
body #editorView .povod-owner-gift-actions>.gift-reserve-action:is(:disabled,.gift-cancel-action)::before{background:#efd2c8;background-image:linear-gradient(180deg,#ffffff40,transparent);border-color:#dfbeb280;box-shadow:inset 0 1px 0 #ffffff94;}
body #editorView .povod-owner-gift-actions>.btn::after{content:none;}
body #editorView .povod-owner-gift-actions>.btn:focus-visible{outline:0;}
html.keyboard-input body #editorView .povod-owner-gift-actions>.btn:focus-visible{outline:1px solid #857b73;outline-offset:2px;}
@media(hover:hover){body #editorView .povod-owner-gift-actions>.gift-reserve-action:not(:disabled):not(.gift-cancel-action):hover::before{background-color:#e6684a;}}
@media(max-width:350px){body :is(.povod-status-chip,.studio-wishlist-state){font-size:9px;padding:3px 6px;}body #editorView .povod-owner-gift-actions{margin-inline:-4px;gap:3px;}body #editorView .povod-owner-gift-actions>.btn{font-size:10px;padding-inline:0;}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){body :is(.povod-status-chip,.studio-wishlist-state,.povod-final-status,.status-pill,.povod-completed-badge){background:#fbfaf8!important;}}
@media(prefers-reduced-transparency:reduce){body :is(.povod-status-chip,.studio-wishlist-state,.povod-final-status,.status-pill,.povod-completed-badge){background:#fbfaf8!important;-webkit-backdrop-filter:none;backdrop-filter:none;}}

body .povod-archived-card .status-pill{background:var(--povod-status-paper)!important;}
