:root { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; font-synthesis: none; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: #fff; }
.theme-wci { --bg: #0e0e0e; --card: #1b1b1b; --button: #1a1a1a; --button-hover: #272727; --accent: #f8ca50; }
.theme-gsw { --bg: #242424; --card: #303030; --button: #333333; --button-hover: #404040; --accent: #df916c; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--accent, #f8ca50); outline-offset: 3px; }
.hero { height: 460px; background-color: #171717; background-image: var(--hero-image); background-repeat: no-repeat; background-position: center center; background-size: cover; position: relative; }
.share-button { position: absolute; right: 28px; top: 20px; width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: rgba(15, 15, 15, .65); border: 0; border-radius: 50%; cursor: pointer; }
.share-button:hover { background: rgba(15, 15, 15, .92); }
.site-wrap { width: min(890px, calc(100% - 32px)); margin: -228px auto 0; position: relative; }
.profile-card { min-height: 405px; position: relative; background: var(--card); padding: 164px 24px 33px; text-align: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }
.avatar { position: absolute; top: -59px; left: 50%; transform: translateX(-50%); width: 200px; height: 200px; object-fit: cover; border-radius: 4px; }
.theme-wci .avatar { width: 270px; height: 200px; object-fit: contain; border-radius: 0; transform: translateX(-50%) scale(1.22); clip-path: inset(9.02% 9.02%); }
.theme-gsw .avatar { width: 202px; height: 202px; border-radius: 50%; }
.profile-card h1 { max-width: 445px; font-size: 28px; line-height: 1.04; font-weight: 650; letter-spacing: -.015em; margin: 0 auto 16px; text-wrap: balance; }
.theme-wci .profile-card h1 { max-width: 360px; }
.profile-description { max-width: 375px; font-size: 14px; line-height: 1.46; margin: 0 auto 18px; color: #f0f0f0; }
.theme-wci .profile-description { max-width: 305px; }
.contact-row { margin: 22px auto 20px; }
.contact-button { display: inline-flex; gap: 8px; align-items: center; justify-content: center; border: 1px solid #717171; text-decoration: none; padding: 8px 12px; font-size: 14px; min-height: 38px; transition: border-color .15s, background .15s; }
.contact-button img { filter: grayscale(1) brightness(2.5); width: 18px; }
.contact-button:hover { border-color: #ddd; background: #282828; }
.social-links { display: flex; justify-content: center; gap: 10px; align-items: center; flex-wrap: wrap; }
.social-link { background: rgba(15,15,15,.42); display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 42px; min-width: 42px; padding: 8px; border-radius: 50%; text-decoration: none; color: #f3f3f3; }
.social-link img { object-fit: contain; }
.social-badge { width: auto; height: 29px; min-width: 0; border-radius: 30px; font-weight: 600; font-size: 12px; padding: 4px 10px; }
.social-badge img { width: 18px; height: 18px; }
.social-link:hover { background: rgba(0, 0, 0, .7); }
.theme-gsw .profile-card { min-height: 405px; padding-top: 164px; padding-bottom: 21px; }
.theme-gsw .profile-card h1 { max-width: 435px; }
.theme-gsw .profile-description { max-width: 315px; }
.theme-gsw .social-links { gap: 14px; }
.theme-gsw .social-link img { width: 28px; height: 28px; }
.link-section { margin-top: 48px; }
.link-section h2 { color: var(--accent); font-size: 23px; line-height: 1.25; font-weight: 650; text-align: center; letter-spacing: -.015em; margin: 0 0 32px; text-wrap: balance; }
.items-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 24px; }
.link-card { min-height: 80px; display: flex; align-items: center; text-decoration: none; border-radius: 2px; padding: 10px 19px 10px 0; background: var(--button); gap: 20px; transition: background .15s, transform .15s; }
.link-card[data-wide="true"] { grid-column: 1 / -1; }
.link-card:hover { background: var(--button-hover); transform: translateY(-1px); }
.link-image { width: 60px; height: 60px; flex: 0 0 60px; border-radius: 2px; object-fit: cover; }
.link-image-fallback { background: #454545; }
.link-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.link-title { font-size: 14px; line-height: 1.35; font-weight: 450; }
.link-subtitle { font-size: 13px; line-height: 1.35; color: #999; overflow-wrap: anywhere; }
.link-arrow { margin-left: auto; flex: 0 0 18px; color: #aaa; }
.video-frame { grid-column: 1 / -1; aspect-ratio: 16 / 9; background: #111; border-radius: 9px; overflow: hidden; }
.video-frame iframe { width: 100%; height: 100%; display: block; border: 0; }
footer { color: #777; text-align: center; font-size: 12px; padding: 76px 0 44px; }
.share-message { position: fixed; top: 74px; right: 22px; padding: 11px 14px; border-radius: 7px; background: #f2f2f2; color: #141414; box-shadow: 0 3px 15px #0006; font-size: 13px; z-index: 10; }
[hidden] { display: none !important; }
.preview-index { --bg: #151515; --accent: #f8ca50; min-height: 100vh; display: grid; place-items: center; text-align: center; }
.preview-index-content { padding: 40px; max-width: 560px; }
.preview-index h1 { font-size: 32px; }
.preview-index p { font-size: 16px; color: #aaa; }
.preview-index a { display: block; margin: 20px 0; background: #252525; border: 1px solid #444; padding: 20px; text-decoration: none; }
.preview-index a:hover { border-color: #f8ca50; }
@media (max-width: 680px) {
  .hero { height: 278px; background-size: cover; }
  .share-button { right: 12px; top: 12px; width: 38px; height: 38px; }
  .site-wrap { width: min(100% - 28px, 480px); margin-top: -96px; }
  .profile-card { padding: 112px 20px 26px; min-height: 0; }
  .theme-gsw .profile-card { padding-top: 112px; min-height: 0; }
  .avatar, .theme-gsw .avatar { top: -58px; width: 150px; height: 150px; }
  .theme-wci .avatar { top: -58px; width: 203px; height: 150px; }
  .profile-card h1 { font-size: 24px; line-height: 1.15; max-width: 340px; }
  .profile-description { font-size: 14px; }
  .social-links { gap: 7px; }
  .social-badge { font-size: 11px; }
  .link-section { margin-top: 38px; }
  .link-section h2 { font-size: 20px; line-height: 1.3; margin-bottom: 22px; }
  .items-grid { grid-template-columns: 1fr; gap: 13px; }
  .link-card[data-wide="true"], .video-frame { grid-column: 1; }
  .link-card { gap: 13px; padding-right: 13px; min-height: 76px; }
  .link-image { width: 58px; height: 58px; flex-basis: 58px; }
  .link-title { font-size: 13.5px; }
  .link-subtitle { font-size: 12px; }
  footer { padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .link-card, .contact-button { transition: none; } }
