/* Gifts hub + small Rent/Buy switch + admin view-as-user bar */
.gsw{display:inline-flex;gap:2px;padding:3px;margin:-4px 0 12px;border-radius:12px;background:rgba(255,255,255,.06);border:1px solid var(--stroke)}
.gsw a{padding:6px 14px;border-radius:9px;font-size:12.5px;font-weight:700;color:var(--muted);white-space:nowrap}
.gsw a.on{background:linear-gradient(135deg,var(--accent),#0a63d6);color:#fff;box-shadow:0 4px 12px rgba(30,139,255,.35)}
.gh-grid{display:grid;gap:12px;margin-top:6px}
.gh-card{position:relative;display:grid;grid-template-columns:52px 1fr 20px;grid-template-rows:auto auto;column-gap:14px;align-items:center;padding:18px;border-radius:22px;border:1px solid var(--stroke);overflow:hidden;background:var(--card)}
.gh-card:active{transform:scale(.985)}
.gh-rent{background:linear-gradient(135deg,rgba(30,139,255,.3),rgba(53,208,255,.08) 70%),var(--card)}
.gh-buy{background:linear-gradient(135deg,rgba(255,184,77,.26),rgba(255,93,108,.08) 70%),var(--card)}
.gh-ic{grid-row:1/3;width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:rgba(255,255,255,.12)}
.gh-ic svg{width:26px;height:26px}
.gh-card b{font-family:var(--fd);font-size:18px;align-self:end}
.gh-card small{color:var(--muted);font-size:12.5px;align-self:start}
.gh-go{grid-row:1/3;grid-column:3;opacity:.6}.gh-go svg{width:18px;height:18px}
#impbar{position:fixed;left:0;right:0;top:0;z-index:60;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:calc(var(--safe-t) + 7px) 14px 7px;background:linear-gradient(90deg,#a85a00,#d97b00);color:#fff;font-size:13px;box-shadow:0 4px 18px rgba(0,0,0,.35)}
#impbar span{display:flex;align-items:center;gap:8px;min-width:0}#impbar svg{width:16px;height:16px;flex:none}
#impbar b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#impbar small{opacity:.85;font-size:11.5px;white-space:nowrap}
#impbar button{flex:none;padding:6px 14px;border-radius:10px;background:rgba(0,0,0,.28);font-weight:800;font-size:12.5px}
html.has-imp .app{padding-top:calc(var(--safe-t) + 54px)}
