@import url('https://rsms.me/inter/inter.css'); * { box-sizing: border-box; } :root { color-scheme: dark; --bg: #07080b; --bg-grad: radial-gradient(circle at 18% -8%, rgba(11, 149, 199, 0.22) 0%, rgba(7, 8, 11, 0) 42%), linear-gradient(135deg, #07080b 0%, #0c171c 48%, #07080b 100%); --panel: rgba(20, 22, 30, 0.7); --panel-2: #161922; --panel-3: #1f2330; --border: #262b3a; --border-subtle: #1a1e29; --text: #f0f2f8; --text-dim: #b0b6c8; --muted: #757b8e; --accent: #33ebff; --accent-2: #0b95c7; --accent-grad: linear-gradient(135deg, #33ebff 0%, #0b95c7 100%); --good: #4ad28b; --danger: #ff6f7d; --shadow: 0 12px 32px rgba(0, 0, 0, 0.45); --t: 180ms cubic-bezier(0.2, 0.8, 0.2, 1); } html, body { height: 100%; } body { margin: 0; background: var(--bg); background-image: var(--bg-grad); background-attachment: fixed; color: var(--text); font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } @supports (font-variation-settings: normal) { body { font-family: 'Inter var', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; } } a { color: var(--accent-2); text-decoration: none; transition: color var(--t); } a:hover { color: #c8f3ff; } button { background: var(--panel-2); color: var(--text); border: 1px solid var(--border); padding: 8px 16px; border-radius: 8px; cursor: pointer; font: inherit; font-size: 13px; font-weight: 500; transition: all var(--t); } button:hover { background: var(--panel-3); border-color: #353c54; transform: translateY(-1px); } button.primary { background: var(--accent-grad); border-color: transparent; color: #07080b; font-weight: 600; box-shadow: 0 4px 18px rgba(11, 149, 199, 0.28); } button.primary:hover { box-shadow: 0 6px 24px rgba(51, 235, 255, 0.28); } button.ghost { background: transparent; border-color: var(--border); color: var(--text-dim); } button.ghost:hover { color: var(--text); border-color: var(--accent); background: rgba(11, 149, 199, 0.1); } /* ── Site shell ──────────────────────────────────────────────────── */ .site-header { display: flex; align-items: center; justify-content: space-between; padding: 22px 36px; background: rgba(7, 8, 11, 0.7); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid var(--border-subtle); position: sticky; top: 0; z-index: 50; } .logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -0.01em; color: var(--text); } .logo:hover { color: var(--text); } .logo-mark { width: 28px; height: 28px; border-radius: 8px; background: #07080b; color: transparent; box-shadow: 0 4px 14px rgba(11, 149, 199, 0.42); display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(51, 235, 255, 0.28); overflow: hidden; } .logo-mark img { width: 100%; height: 100%; object-fit: contain; padding: 1px; } .site-nav { display: flex; gap: 4px; } .nav-link { color: var(--muted); padding: 8px 14px; border-radius: 8px; font-weight: 500; transition: all var(--t); } .nav-link:hover { color: var(--text); background: var(--panel-2); } .nav-link.active { color: var(--text); background: var(--panel-2); } main { max-width: 1280px; margin: 0 auto; padding: 32px 36px 80px; } .site-footer { text-align: center; padding: 32px 16px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--border-subtle); margin-top: 80px; } .site-footer a { color: var(--muted); } .site-footer a:hover { color: var(--text-dim); } /* ── Hero ────────────────────────────────────────────────────────── */ .hero { margin-bottom: 28px; } .hero h1 { margin: 0 0 4px; font-size: 38px; font-weight: 800; letter-spacing: -0.03em; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } .hero p { margin: 0; color: var(--text-dim); font-size: 15px; } .muted { color: var(--muted); } /* ── Photo grid (masonry-ish via CSS columns) ────────────────────── */ .grid { column-count: 3; column-gap: 16px; } @media (max-width: 1024px) { .grid { column-count: 2; } } @media (max-width: 600px) { .grid { column-count: 1; } } .photo-card { break-inside: avoid; margin-bottom: 16px; background: var(--panel); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--border-subtle); border-radius: 14px; overflow: hidden; transition: all var(--t); cursor: pointer; display: block; color: inherit; animation: fadeIn 280ms ease-out; } .photo-card:hover { transform: translateY(-3px); border-color: var(--border); box-shadow: var(--shadow); } .photo-card .photo-img { display: block; width: 100%; height: auto; background: var(--panel-2); aspect-ratio: auto; } .photo-card .photo-meta { padding: 12px 14px 14px; } .photo-card .uploader { font-weight: 600; color: var(--text); font-size: 13px; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; } .photo-card .uploader-avatar { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-grad); flex-shrink: 0; font-size: 10px; font-weight: 700; color: #07080b; display: flex; align-items: center; justify-content: center; } .photo-card .caption { color: var(--text-dim); font-size: 13px; margin: 6px 0 8px; line-height: 1.45; /* clamp to 3 lines on the card */ display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } .photo-card .photo-foot { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 11px; margin-top: 4px; } .photo-card .photo-foot .cheers { color: var(--accent); font-weight: 600; } .photo-card .photo-foot .room { background: var(--panel-3); padding: 2px 8px; border-radius: 6px; color: var(--text-dim); max-width: 60%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* ── Photo detail ────────────────────────────────────────────────── */ .back { margin-bottom: 18px; padding: 6px 14px; font-size: 12px; } .photo-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; } @media (max-width: 900px) { .photo-detail { grid-template-columns: 1fr; } } .photo-detail .image-wrap { background: var(--panel); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--border-subtle); border-radius: 16px; overflow: hidden; } .photo-detail .image-wrap img { display: block; width: 100%; height: auto; } .photo-detail .info { background: var(--panel); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--border-subtle); border-radius: 16px; padding: 22px; position: sticky; top: 96px; } .photo-detail .info h2 { margin: 0 0 12px; font-size: 18px; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } .photo-detail .info .caption-full { color: var(--text); margin: 0 0 16px; line-height: 1.55; white-space: pre-wrap; } .photo-detail .info .caption-full:empty::before { content: 'No caption.'; color: var(--muted); font-style: italic; } .photo-detail .info .meta-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--border-subtle); color: var(--text-dim); font-size: 13px; } .photo-detail .info .meta-row:first-of-type { border-top: none; } .photo-detail .info .meta-row .k { color: var(--muted); min-width: 80px; } .photo-detail .info .uploader-link { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; } .photo-detail .info .uploader-link:hover { color: var(--accent); } .photo-detail .info .room-pill { background: var(--panel-3); padding: 4px 10px; border-radius: 6px; color: var(--text-dim); font-size: 12px; } .photo-detail .info .stats { display: flex; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border-subtle); } .photo-detail .info .stat-pill { background: var(--panel-2); border: 1px solid var(--border-subtle); padding: 8px 14px; border-radius: 10px; flex: 1; text-align: center; } .photo-detail .info .stat-pill .v { font-size: 18px; font-weight: 700; color: var(--text); font-feature-settings: 'tnum'; } .photo-detail .info .stat-pill .l { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-top: 2px; } .photo-detail .info .stat-pill.cheers .v { color: var(--accent); } /* ── Profile view ────────────────────────────────────────────────── */ .profile-header { display: flex; align-items: center; gap: 18px; padding: 22px; background: var(--panel); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--border-subtle); border-radius: 16px; margin-bottom: 28px; } .profile-header .avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-grad); color: #07080b; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; flex-shrink: 0; } .profile-header h2 { margin: 0 0 4px; font-size: 22px; } .profile-header .username { color: var(--muted); font-size: 13px; } /* ── Empty / load-more ───────────────────────────────────────────── */ .empty { text-align: center; padding: 80px 24px; color: var(--muted); } .empty p { margin: 0; font-size: 14px; } .load-more { text-align: center; margin: 28px 0; } /* ── Toast ───────────────────────────────────────────────────────── */ .toast { position: fixed; bottom: 24px; right: 24px; background: var(--panel-2); border: 1px solid var(--border); color: var(--text); padding: 12px 18px; border-radius: 10px; box-shadow: var(--shadow); z-index: 200; font-size: 13px; border-left: 3px solid var(--accent); animation: toastIn 200ms cubic-bezier(0.2, 0.8, 0.2, 1); } .toast.error { border-left-color: var(--danger); } @keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } } @keyframes toastIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } } ::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; border: 2px solid var(--bg); } ::-webkit-scrollbar-thumb:hover { background: var(--panel-3); } .skeleton { background: linear-gradient(90deg, var(--panel-2) 0%, var(--panel-3) 50%, var(--panel-2) 100%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; border-radius: 12px; } @keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }