@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/quicksand-600-latin.woff2") format("woff2");
}
:root { --surface: #000; --ink: #f0f1f3; color-scheme: dark; background: var(--surface); color: var(--ink); font-family: "Quicksand", sans-serif; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { overscroll-behavior: none; }
.viewport { position: fixed; inset: 0; overflow: hidden; touch-action: none; outline: none; background: var(--surface); cursor: grab; transition: background-color 240ms ease; }
.starfield, .starfield-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.starfield-backdrop { inset: -48px; width: calc(100% + 96px); height: calc(100% + 96px); animation: sky-drift 80s linear infinite alternate paused; }
.starfield-backdrop { will-change: transform; }
@keyframes sky-drift { from { transform: translate3d(32px, -10px, 0); } to { transform: translate3d(-32px, 10px, 0); } }
.site-corner {
  position: fixed;
  left: max(44px, env(safe-area-inset-left));
  bottom: max(36px, env(safe-area-inset-bottom));
  z-index: 60;
  max-width: min(640px, calc(100vw - 340px));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  pointer-events: none;
}
.site-name {
  position: relative;
  display: block;
  color: var(--ink);
  font-size: clamp(44px, 4.3vw, 76px);
  font-weight: 600;
  letter-spacing: -.055em;
  line-height: 1.15;
  user-select: none;
  pointer-events: none;
  transition: color 240ms ease;
}
.site-shortcuts { display:flex; flex-wrap:wrap; align-items:center; gap:8px; max-width:100%; padding:4px; margin:-4px; pointer-events:auto; -webkit-tap-highlight-color:transparent; }
.site-shortcuts:empty { display:none; }
.site-shortcuts::-webkit-scrollbar { display:none; }
.shortcut { display:inline-flex; flex:none; align-items:center; gap:9px; min-height:44px; max-width:200px; padding:0 15px; border:1px solid #e3d9f123; border-radius:999px; background:linear-gradient(125deg,#ffffff09,#bca7db03); box-shadow:inset 0 1px 0 #ffffff0e; backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); color:#e4e0ec; font-family:Quicksand,'Microsoft YaHei',sans-serif; font-size:14px; font-weight:600; text-decoration:none; user-select:none; transition:background-color 160ms ease,border-color 160ms ease; }
.shortcut img { flex:none; width:18px; height:18px; pointer-events:none; }
.shortcut span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.shortcut:focus-visible { outline:2px solid #d8c6fa; outline-offset:2px; }
@media(hover:hover) { .shortcut:hover { border-color:#e3d9f15c; background-color:#ffffff0b; } }
.site-origin { position: absolute; left: calc(100% + 12px); bottom: 9px; font-size: 12px; font-weight: 600; letter-spacing: .035em; line-height: 1; white-space: nowrap; opacity: .65; }
.account-link { position: fixed; right: max(44px, env(safe-area-inset-right)); bottom: max(36px, env(safe-area-inset-bottom)); z-index: 80; display: grid; place-items: center; width: 48px; height: 48px; color: var(--ink); border-radius: 50%; }
.account-link svg { width: 24px; height: 24px; }
.account-link:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.account-dock { position:fixed; z-index:90; right:max(44px,env(safe-area-inset-right)); bottom:max(36px,env(safe-area-inset-bottom)); color:var(--ink); font-family:Quicksand,'Microsoft YaHei',sans-serif; }
.account-dock [hidden] { display:none!important; }
.account-identity { display:flex; align-items:center; justify-content:flex-end; gap:12px; }
.account-name,.account-avatar { color:inherit; font:inherit; cursor:pointer; touch-action:manipulation; -webkit-tap-highlight-color:transparent; }
.account-name { display:flex; align-items:center; gap:8px; min-height:44px; max-width:200px; padding:8px 4px 8px 12px; border:0; border-radius:22px; background:transparent; text-shadow:0 1px 8px #0009; font-size:17px; }
.account-name>span { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.account-name svg { width:14px; height:14px; flex-shrink:0; opacity:.7; transition:transform 180ms ease; }
.account-name[aria-expanded=true] svg { transform:rotate(180deg); }
.account-avatar { display:block; flex:0 0 44px; width:44px; height:44px; padding:0; border:1px solid #ffffff50; border-radius:50%; overflow:hidden; background:#77727d; box-shadow:0 3px 16px #0005; }
.account-avatar img { width:100%; height:100%; object-fit:cover; display:block; pointer-events:none; }
.account-menu { position:absolute; bottom:calc(100% + 16px); right:0; width:210px; max-width:calc(100vw - 48px); padding:8px; border:1px solid #ffffff26; border-radius:22px; background:linear-gradient(135deg,#ffffff0d,#c1a9ed08),#09090edb; backdrop-filter:blur(10px) saturate(1.2); -webkit-backdrop-filter:blur(10px) saturate(1.2); box-shadow:inset 0 1px 0 #ffffff1c,0 16px 48px #0005; }
.account-menu>a,.account-menu>button { display:flex; justify-content:space-between; align-items:center; gap:22px; width:100%; min-height:48px; padding:12px 14px; border:0; border-radius:14px; background:transparent; color:inherit; text-decoration:none; font:inherit; font-size:15px; cursor:pointer; touch-action:manipulation; }
.account-menu svg { width:20px; height:20px; opacity:.7; flex-shrink:0; }
.account-menu .domain-switch { gap:8px; }
.domain-switch span { color:#a19eaa; }
.domain-switch .is-current { color:#f1f0f7; }
.account-menu>button:disabled { opacity:.5; cursor:wait; }
.account-dock :is(a,button):focus-visible { outline:2px solid #d8c6fa; outline-offset:4px; }
.account-status { color:#f0a8bb; font-size:13px; line-height:1.6; margin:8px 12px; }
@media(hover:hover) and (pointer:fine) { .account-menu>a:hover,.account-menu>button:hover,.account-name:hover { background:#ffffff0c; }.account-avatar:hover { border-color:#ded0f9; } }
.scene {
  --scene-width: 1672;
  --scene-height: 941;
  --scene-fit: cover;
  --scene-scale: 1;
  --frame-width: 753px;
  --frame-height: 796px;
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: calc(var(--scene-width) * 1px);
  height: calc(var(--scene-height) * 1px);
  transform: translate(-50%, -50%) scale(var(--scene-scale));
  transform-origin: center;
}
/* The server-filtered card list and viewport scale are set by the first paint.
   Never show the provisional 1:1 layout while the gallery module is loading. */
.scene:not([data-active]) { visibility: hidden; }
.art {
  --x: 1074px;
  --y: 480px;
  --scale: 1;
  --rotation: -16.85deg;
  --skew: 4.3deg;
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: var(--frame-width);
  height: var(--frame-height);
  margin: 0;
  padding: 0;
  border: 0;
  background: #dddde1;
  transform: translate3d(var(--x), var(--y), 0) translate(-50%, -50%) rotate(var(--rotation)) skewX(var(--skew)) scale(var(--scale));
  box-shadow: 0 25px 24px -15px rgb(34 40 54 / 25%), 0 5px 10px -5px rgb(34 40 54 / 16%);
  transition: box-shadow 260ms ease;
  will-change: transform, opacity;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  cursor: grab;
  z-index: 10;
}
.art img { width: 100%; height: 100%; display: block; object-fit: cover; pointer-events: none; }
.art__overlap { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; clip-path: inset(50%); mask-mode: alpha; mask-repeat: no-repeat; mask-size: 100% 100%; mask-composite: intersect; }
.art__fusion { position: absolute; inset: 0; pointer-events: none; }
.art__blend { position: absolute; inset: 0; transform-origin: 0 0; pointer-events: none; }
.art--rose { --x: 500px; --y: 89px; --scale: .83; --rotation: -18deg; --skew: 0deg; }
.art--lilac { --x: 1660px; --y: 310px; --scale: .6; --rotation: -17deg; --skew: 0deg; }
.art--mint,.art--cyan,.art--champagne,.art--weather { opacity: 0; pointer-events: none; }
.art.is-featured { box-shadow: 0 36px 29px -16px rgb(34 40 54 / 28%), 0 10px 15px -7px rgb(34 40 54 / 16%); }
a.art.is-featured { cursor: pointer; }
.art--silver::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / 18%) 51%, transparent 70%); mix-blend-mode: screen; opacity: 0; transition: opacity 300ms ease; pointer-events: none; }
.art__title { position: absolute; z-index: 1; right: 40px; bottom: 46px; color: #15171c; font-family: "Quicksand", "Arial Rounded MT Bold", sans-serif; font-size: 70px; font-weight: 600; letter-spacing: -.035em; line-height: 1; pointer-events: none; }
.art--custom .art__title { max-width:calc(100% - 80px); font-size:52px; line-height:1.1; text-align:right; overflow-wrap:anywhere; }
.art:focus-visible { outline: 3px solid #747d8f; outline-offset: 8px; }
@media (hover: hover) and (pointer: fine) {
  .account-link:hover { background: rgb(127 127 127 / 16%); }
  .art.is-featured:hover { box-shadow: 0 42px 36px -19px rgb(34 40 54 / 31%), 0 12px 17px -9px rgb(34 40 54 / 18%); }
  .art--silver.is-featured:not(.is-handoff):hover::after { opacity: 1; }
}
.viewport.is-dragging, .viewport.is-dragging * { cursor: grabbing; }
@media (max-width: 720px) and (orientation: portrait) {
  .site-corner { left: max(24px, env(safe-area-inset-left)); bottom: max(30px, env(safe-area-inset-bottom)); max-width:calc(100vw - max(24px,env(safe-area-inset-left)) - max(24px,env(safe-area-inset-right))); gap:12px; }
  .site-shortcuts { flex-wrap:nowrap; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:none; touch-action:pan-x; }
  .account-link { right:max(20px,env(safe-area-inset-right)); top:calc(20px + env(safe-area-inset-top)); bottom:auto; background:#08080b80; backdrop-filter:blur(10px); }
  .account-dock { right:max(20px,env(safe-area-inset-right)); top:calc(20px + env(safe-area-inset-top)); bottom:auto; }
  .account-identity { padding:5px 6px 5px 4px; border:1px solid #ffffff16; border-radius:999px; background:#08080ba8; backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); }
  .account-menu { top:calc(100% + 12px); bottom:auto; }
  .account-name { max-width:min(200px,55vw); font-size:16px; }
  .scene { --scene-width: 480; --scene-height: 920; --scene-fit: contain; --frame-width: 335px; --frame-height: 415px; }
  .art { --x: 272.5px; --y: 474.5px; --rotation: -15deg; --skew: 2deg; }
  .art--rose { --x: 118px; --y: 85px; --scale: .82; --rotation: -18deg; --skew: 0deg; }
  .art--lilac { --x: 498px; --y: 220px; --scale: .63; --rotation: -17deg; --skew: 0deg; }
  .art__title { right: 30px; bottom: 27px; font-size: 38px; }
  .art--custom .art__title { max-width:calc(100% - 60px); font-size:26px; }
}
@media (prefers-reduced-motion: reduce) {
  .art, .art--silver::after, .viewport, .site-name, .shortcut, .starfield, .starfield-backdrop { transition: none; }
  .starfield-backdrop { animation: none; will-change: auto; }
  .art__overlap { display: none; }
  .account-name svg { transition:none; }
}
@media (max-width: 480px) {
  .site-origin { left: auto; right: 0; bottom: -13px; font-size: 11px; }
}
