.gift-home-footer{box-sizing:border-box;font:16px/1.5 "Segoe UI",system-ui,-apple-system,sans-serif;text-align:left;flex:none}
.gift-home-footer *{box-sizing:border-box}
.gift-home-footer a{text-decoration:none;color:inherit}
.gift-home-footer a:focus-visible{outline:2px solid #ff6bc7;outline-offset:5px;border-radius:6px}
.gift-home-footer .page-shell{width:calc(100% - 3rem);max-width:1248px;margin-inline:auto}
/* A distinct footer surface; names stay scoped away from canonical Desk footer styles. */
.gift-home-footer{position:relative;margin-top:20px;margin-inline-start:calc(-1 * var(--gift-scrollbar-space,0px));margin-inline-end:calc(-1 * var(--gift-scrollbar-padding,0px));padding-inline-start:var(--gift-scrollbar-space,0px);padding-inline-end:var(--gift-scrollbar-padding,0px);border-top:1px solid var(--gift-content-line,#d7b8df21);background:radial-gradient(ellipse at 5% 0%,#ff6bc709,transparent 60%),linear-gradient(120deg,#17131c,#13131d);color:var(--gift-content-text,#faedf6)}
.gift-home-footer::before{content:"";position:absolute;inset:-1px 0 auto;height:1px;background:linear-gradient(90deg,transparent,#ff6bc740 25%,#6c96ff30 70%,transparent);pointer-events:none}
.gift-footer-main{display:grid;grid-template-columns:minmax(250px,1.5fr) repeat(3,minmax(0,1fr));gap:40px;padding-block:38px 34px}
.gift-footer-brand{min-width:0}
.gift-footer-logo{display:inline-flex;align-items:center;gap:12px;width:fit-content;min-height:44px}
.gift-footer-logo img{display:block;width:44px;height:44px;flex:none}
.gift-footer-logo>span{font-size:23px;font-weight:600;letter-spacing:-.04em;line-height:1.2}
.gift-footer-logo>span>span{color:var(--gift-primary,#ff6bc7)}
.gift-footer-brand p{margin:16px 0 8px;color:#e0c7db;font-size:13px;line-height:1.65}
.gift-footer-group{min-width:0}
.gift-footer-group h2{margin:3px 0 17px;color:#e8d9e8;font-size:12px;font-weight:600;letter-spacing:.035em;line-height:1.5}
.gift-footer-group ul{display:grid;gap:4px;margin:0;padding:0;list-style:none}
.gift-footer-group li{margin:0;padding:0;min-width:0}
.gift-footer-group a{display:flex;align-items:center;gap:10px;min-height:32px;width:fit-content;max-width:100%;padding:4px 0;color:var(--gift-content-muted,#c4b4c8);font-size:12px;line-height:1.6;transition:color .16s}
.gift-footer-group a:hover{color:#ffc0e8}
.gift-footer-group a img{display:block;width:20px;height:20px;object-fit:contain;flex:none}
.gift-footer-group a svg{width:12px;height:12px;margin-left:3px;color:#a6a7c4;flex:none}
.gift-footer-group .gift-footer-admin{margin-top:18px;padding-top:14px;border-top:1px solid var(--gift-content-line,#d7b8df21);color:#b8caff}
.gift-footer-group .gift-footer-admin svg:first-child{width:18px;height:18px;margin:0 2px 0 0;color:#a9bfff}
.gift-footer-bottom{display:flex;align-items:center;gap:24px;padding-block:20px 24px;border-top:1px solid var(--gift-content-line,#d7b8df21);font-size:11px;line-height:1.6;color:var(--gift-content-muted,#c4b4c8)}
.gift-footer-meta{display:flex;align-items:center;gap:16px;margin-left:auto}
.gift-footer-preview{display:inline-flex;align-items:center;gap:7px;color:#c4b4c8}
.gift-footer-preview i{width:5px;height:5px;border-radius:50%;background:#a6a7ec}
.gift-footer-version{padding-left:16px;border-left:1px solid var(--gift-content-line,#d7b8df21);font-variant-numeric:tabular-nums;color:#a6a7c4}
.gift-footer-top{display:inline-flex;align-items:center;gap:8px;min-height:32px;margin-left:8px;color:#b8caff}
.gift-footer-top svg{width:15px;height:15px}
.gift-footer-top:hover{color:#ffc0e8}
@media(max-width:1000px){.gift-footer-main{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.gift-footer-brand{grid-column:1/-1}.gift-footer-brand p{margin-top:12px}}
@media(max-width:520px){.gift-home-footer{margin-top:12px}.gift-footer-main{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px;padding-block:30px 26px}.gift-footer-community{grid-column:1/-1}.gift-footer-community ul{display:flex;flex-wrap:wrap;gap:8px 24px}.gift-footer-group h2{margin-bottom:12px}.gift-footer-group a{min-height:36px}.gift-footer-group .gift-footer-admin{margin-top:12px;padding-top:12px}.gift-footer-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding-block:16px 22px}.gift-footer-meta{grid-row:2;grid-column:1/-1;margin:0;gap:12px}.gift-footer-version{padding-left:12px}.gift-footer-top{grid-row:1;grid-column:2;margin:0}}

.home-button-secondary{border-color:#6c96ff35;background:#6c96ff0a;color:#b8caff}
.home-button-secondary:hover{border-color:#6c96ff70;background:#6c96ff1a;color:#d1ddff}
@media(max-width:520px){.hero-actions{gap:12px}.hero-actions>.home-button{width:100%;justify-content:flex-start}.hero-actions>.home-button svg:last-child{margin-left:auto}}

body:has(#profile-root){display:flex;flex-direction:column;min-height:100svh}
body>#profile-root{flex:1;min-width:0}
body:has(#profile-root[data-gift-leaving])>.gift-home-footer,
body:has(#profile-root>.gift-loading-marker)>.gift-home-footer,
body:has(#profile-root[data-gift-rail-exiting])>.gift-home-footer{opacity:0;visibility:hidden;pointer-events:none}
body>.gift-home-footer{transition:opacity .22s ease,visibility .22s}
@media(max-width:520px){.gift-home-footer .page-shell{width:calc(100% - 2rem)}}
@media(prefers-reduced-motion:reduce){body>.gift-home-footer,.gift-footer-group a{transition:none}}
