/* ==== assets/yf-guest-benefits.css ==== */
/* Guest artwork benefits – visible only when not signed in */
.yf-guest-benefits{display:flex;gap:14px;align-items:flex-start;padding:20px;margin:0 0 18px;border:1px solid #62568d;border-radius:18px;background:linear-gradient(140deg,rgba(155,125,226,.14),rgba(50,64,96,.12));color:var(--text,#eef0fa);box-shadow:0 8px 28px rgba(0,0,0,.08)}
.yf-guest-benefits-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:13px;background:rgba(169,139,237,.16);border:1px solid rgba(174,151,242,.35);color:#bca4f8}.yf-guest-benefits-icon svg{width:21px;height:21px}.yf-guest-benefits-body{min-width:0;flex:1}.yf-guest-benefits-body strong{display:block;font-size:15px;font-weight:800;line-height:1.4}.yf-guest-benefits-body p{font-size:13px;line-height:1.6;opacity:.78;margin:6px 0 14px}.yf-guest-benefits-actions{display:flex;flex-wrap:wrap;gap:9px}.yf-guest-benefits-actions a{display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;border-radius:10px;padding:10px 13px;font-size:13px;font-weight:750;transition:transform .18s,background .18s}.yf-guest-benefits-actions a:hover{transform:translateY(-2px)}.yf-guest-benefits-login{background:#a98ee5;color:#161324!important}.yf-guest-benefits-register{border:1px solid rgba(171,149,229,.55);color:inherit!important}.yf-guest-benefits-login svg{width:15px;height:15px}@media(max-width:440px){.yf-guest-benefits{padding:15px;gap:10px}.yf-guest-benefits-actions a{flex:1}}
/* ==== assets/yf-source-actions-premium.css ==== */
/* Yamkage artwork source controls — premium, accessible, theme-aware */
.yf-local-source .yf-local-actions{gap:10px;align-items:center}
.yf-local-source .yf-local-original,.yf-local-source .yf-local-download{min-height:46px;border-radius:13px;position:relative;white-space:nowrap;line-height:1.2;font-weight:750;letter-spacing:.01em;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background .18s ease}
.yf-local-source .yf-local-original{display:inline-flex;gap:8px;padding:0 16px;background:linear-gradient(145deg,rgba(160,180,235,.14),rgba(160,180,235,.045));border:1px solid rgba(175,195,248,.42);color:#e0e8ff;box-shadow:inset 0 1px rgba(255,255,255,.08)}
.yf-local-source .yf-local-original::before{content:'';display:block;width:8px;height:8px;border-radius:50%;background:#9ec5ff;box-shadow:0 0 0 3px rgba(158,197,255,.13)}
.yf-local-source .yf-local-download{gap:12px!important;padding:0 20px 0 14px;border:1px solid #a5a2fa;background:linear-gradient(115deg,#6259bc,#7764d5 58%,#8b73e6);color:#fff!important;text-decoration:none;box-shadow:inset 0 1px rgba(255,255,255,.24),0 7px 20px rgba(89,67,185,.25)}
.yf-local-source .yf-local-download .yf-download-glyph{width:19px;height:19px;flex:0 0 19px;margin-right:2px;stroke-width:2;transition:transform .18s ease}
.yf-local-source .yf-local-download span{display:inline-block;white-space:nowrap}
.yf-local-source .yf-local-download:hover{background:linear-gradient(115deg,#756bd0,#9278ed);border-color:#d0c3ff;transform:translateY(-2px);box-shadow:0 11px 25px rgba(103,80,207,.34)}
.yf-local-source .yf-local-download:hover .yf-download-glyph{transform:translateY(2px)}
.yf-local-source .yf-local-download:focus-visible{outline:3px solid #d6c8ff;outline-offset:3px}
@media(max-width:520px){.yf-local-source .yf-local-actions{width:100%;gap:9px}.yf-local-source .yf-local-original{flex:0 0 auto}.yf-local-source .yf-local-download{flex:1;min-width:0;padding:0 11px;gap:8px!important;font-size:12px}.yf-local-source .yf-local-download span{white-space:normal;text-align:center}}
@media(prefers-reduced-motion:reduce){.yf-local-source .yf-local-download,.yf-local-source .yf-local-original,.yf-local-source .yf-local-download .yf-download-glyph{transition:none}}
/* ==== assets/yf-follow-premium.css ==== */
/* Yamkage artist follow premium */
.follow-artist .yf-follow-premium{display:inline-flex!important;align-items:center;justify-content:center;gap:11px;width:100%;min-height:49px;padding:11px 19px;border:1px solid rgba(179,151,246,.62)!important;border-radius:13px!important;background:linear-gradient(115deg,#7352bb 0%,#9779d6 55%,#aa90e6 100%)!important;color:#fff!important;font-size:14px!important;font-weight:750!important;letter-spacing:.015em;line-height:1.3;box-shadow:0 5px 18px rgba(104,74,181,.18),inset 0 1px 0 rgba(255,255,255,.24);text-decoration:none!important;transition:transform .2s ease,box-shadow .2s ease,filter .2s ease}
.follow-artist .yf-follow-premium:hover{transform:translateY(-2px);filter:brightness(1.07);box-shadow:0 9px 25px rgba(110,80,194,.3)}
.follow-artist .yf-follow-premium:focus-visible{outline:2px solid #c9b4ff;outline-offset:3px}
.follow-artist .yf-follow-premium .yf-follow-icon{width:25px;height:25px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:rgba(255,255,255,.15);flex-shrink:0}
.follow-artist .yf-follow-premium .yf-follow-icon svg{width:15px;height:15px;stroke:currentColor;fill:none}
.follow-artist form{margin:0;width:100%}
@media(prefers-reduced-motion:reduce){.follow-artist .yf-follow-premium{transition:none}.follow-artist .yf-follow-premium:hover{transform:none}}
/* ==== assets/yf-offer-edit-premium.css ==== */
/* Yamkage Patreon offer editor — premium redesign, scoped to offer page */
.yf-offer-page{--of-text:#f5f4ff;--of-muted:#aab5cf;--of-panel:#151d30;--of-field:#0d1524;--of-border:#3b4667;--of-glow:#a78bfa;position:relative;isolation:isolate;width:min(100% - 36px,940px)!important;max-width:940px!important;margin:48px auto 90px!important;padding:34px!important;box-sizing:border-box;color:var(--of-text)!important;border:1px solid var(--of-border);border-radius:28px;background:linear-gradient(150deg,#1c2440 0%,#111a2b 54%,#161d32 100%);box-shadow:0 30px 85px #0003;}
.yf-offer-page .yf-offer-ambient{pointer-events:none;position:absolute;z-index:-1;top:0;left:0;right:0;height:215px;border-radius:28px 28px 0 0;background:radial-gradient(ellipse at 10% 0%,#9871e82c,transparent 62%)}
.yf-offer-page .yf-offer-kicker{margin:0 0 20px!important;display:flex;align-items:center;gap:12px;color:#cbb4ff!important;font-weight:800;letter-spacing:.14em;font-size:11px}
.yf-offer-page .yf-patreon-emblem{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:linear-gradient(140deg,#8c6be0,#4a3b8d);color:#fff;box-shadow:0 10px 28px #8c6be04a;font-size:24px}
.yf-offer-page>h1{color:var(--of-text)!important;opacity:1!important;text-shadow:none!important;font-size:clamp(26px,3vw,39px)!important;line-height:1.2!important;margin:0 0 22px!important;letter-spacing:-.03em;font-weight:800}
.yf-offer-page>.yx-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}
.yf-offer-page>.yx-actions a{padding:11px 15px!important;border:1px solid var(--of-border)!important;border-radius:12px!important;background:#242e48!important;color:#e5dcff!important;text-decoration:none}
.yf-offer-page>p{color:var(--of-muted)!important;line-height:1.7;margin:0 0 24px!important;font-size:14px}
.yf-offer-page .edit-art-form{display:grid!important;grid-template-columns:minmax(0,1fr);gap:22px!important;padding:32px!important;border:1px solid #526184!important;border-radius:22px!important;background:linear-gradient(155deg,#202a44,#151d30 75%)!important;box-shadow:0 16px 45px #0002!important;color:var(--of-text)!important}
.yf-offer-page .edit-art-form label{display:flex!important;flex-direction:column;gap:10px!important;min-width:0;color:var(--of-text)!important;font-size:13px;font-weight:700}
.yf-offer-page .yf-field-title{display:inline-flex;align-items:center;gap:9px;color:var(--of-text)!important}
.yf-offer-page .yf-field-title svg{width:18px;height:18px;flex:none;color:#b79af4;stroke:currentColor}
.yf-offer-page .edit-art-form :is(input,select,textarea){width:100%!important;box-sizing:border-box!important;min-height:49px!important;border-radius:12px!important;padding:12px 14px!important;border:1px solid #485575!important;background:var(--of-field)!important;color:var(--of-text)!important;font-size:14px!important;box-shadow:none!important}
.yf-offer-page .edit-art-form textarea{min-height:132px!important;resize:vertical}
.yf-offer-page .edit-art-form :is(input,select,textarea):focus{outline:none!important;border-color:#bda3ff!important;box-shadow:0 0 0 3px #a78bfa2b!important}
.yf-offer-page .edit-art-form .form-columns{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.yf-offer-page .edit-art-form :is(p,.field-note){margin:0!important;color:var(--of-muted)!important;font-size:13px!important;line-height:1.65}
.yf-offer-page .edit-art-form .community-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:18px;border-top:1px solid var(--of-border)}
.yf-offer-page .edit-art-form .community-toolbar a{padding:12px 18px;border:1px solid var(--of-border);border-radius:12px;color:var(--of-text)!important;text-decoration:none}
.yf-offer-page .edit-art-form .community-toolbar button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 26px!important;border:1px solid #c8b0ff!important;border-radius:12px!important;background:linear-gradient(120deg,#8e6ad9,#b89af1)!important;color:#16102c!important;font-weight:800!important;box-shadow:0 8px 25px #8f6bd94a;cursor:pointer;transition:transform .2s,filter .2s}
.yf-offer-page .edit-art-form .community-toolbar button:before{content:'✓';font-size:16px;margin-right:9px}
.yf-offer-page .edit-art-form .community-toolbar button:hover{transform:translateY(-2px);filter:brightness(1.08)}
/* Light theme detection supports the project's theme classes and attributes. */
:is(html[data-theme="light"],body[data-theme="light"],html.light,body.light,body.theme-light) .yf-offer-page{--of-text:#25243a;--of-muted:#68677f;--of-panel:#fff;--of-field:#fff;--of-border:#d9d0ed;background:linear-gradient(155deg,#fff,#f8f5ff)!important;box-shadow:0 22px 65px #45336c16}
:is(html[data-theme="light"],body[data-theme="light"],html.light,body.light,body.theme-light) .yf-offer-page .edit-art-form{background:#fff!important;border-color:#ded5ef!important;box-shadow:0 12px 35px #47366b12!important}
:is(html[data-theme="light"],body[data-theme="light"],html.light,body.light,body.theme-light) .yf-offer-page .edit-art-form :is(input,select,textarea){border-color:#d7d0e7!important}
:is(html[data-theme="light"],body[data-theme="light"],html.light,body.light,body.theme-light) .yf-offer-page>.yx-actions a{background:#f3effb!important;color:#453471!important;border-color:#d7cbed!important}
@media(max-width:650px){.yf-offer-page{width:calc(100% - 20px)!important;margin:18px auto 40px!important;padding:20px!important}.yf-offer-page .edit-art-form{padding:20px!important}.yf-offer-page .edit-art-form .form-columns{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){.yf-offer-page *{transition:none!important}}
