.gs {
  --gs-canvas: #faf8f5;
  --gs-paper: #fff;
  --gs-ink: #14110e;
  --gs-muted: #6b635a;
  --gs-copper: #a85a32;
  --gs-copper-dark: #824326;
  --gs-line: #ded6cb;
  --gs-line-soft: #ece6de;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--gs-canvas);
  color: var(--gs-ink);
}

.gs *, .gs *::before, .gs *::after { box-sizing: border-box; }
.gs button, .gs input, .gs textarea { font: inherit; }
.gs button { cursor: pointer; }
.gs img, .gs video, .gs svg { display: block; max-width: 100%; }
.gs :focus-visible { outline: 3px solid rgb(168 90 50 / .34); outline-offset: 3px; }
.gs-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.gs-kicker { margin: 0 0 7px; color: var(--gs-copper); font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }

.gs-creators { padding: 25px 0 27px; border-bottom: 1px solid var(--gs-line); }
.gs-section-head, .gs-feed-head, .gs-scenes > header, .gs-more-author > header { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.gs-section-head { margin-bottom: 18px; }
.gs-section-head h2, .gs-scenes h2, .gs-more-author h2 { margin: 0; font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(27px, 3vw, 38px); font-weight: 400; line-height: 1; letter-spacing: -.025em; }
.gs-section-head > span { color: var(--gs-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.gs-creator-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(128px, 1fr); gap: 14px; overflow-x: auto; padding: 2px 2px 10px; overscroll-behavior-inline: contain; scrollbar-width: thin; scrollbar-color: var(--gs-copper) transparent; }
.gs-creator { min-width: 0; text-align: center; }
.gs-creator-link { min-width: 0; display: flex; align-items: center; flex-direction: column; color: inherit; }
.gs-avatar { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: #6d765f; color: #fff; font-size: 10px; font-weight: 800; }
.gs-avatar img { width: 100%; height: 100%; object-fit: cover; }
.gs-avatar-lg { width: 66px; height: 66px; margin-bottom: 9px; border: 3px solid var(--gs-canvas); outline: 1px solid var(--gs-copper); font-size: 14px; transition: transform .22s cubic-bezier(.23,1,.32,1); }
.gs-creator strong, .gs-creator small { max-width: 100%; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-creator strong { font-size: 11px; }
.gs-creator small { margin-top: 3px; color: var(--gs-muted); font-size: 10px; }
.gs-follow { min-height: 32px; display: inline-flex; align-items: center; justify-content: center; margin-top: 9px; padding: 0 13px; border: 1px solid var(--gs-line); border-radius: 999px; background: var(--gs-paper); color: var(--gs-ink); font-size: 10px; font-weight: 750; transition: background .18s ease, color .18s ease, transform .16s ease; }
.gs-follow.is-on { border-color: var(--gs-ink); background: var(--gs-ink); color: #fff; }

.gs-feed { padding: 35px 0 94px; scroll-margin-top: 74px; }
.gs-feed-head { margin-bottom: 22px; }
.gs-feed-head h1 { margin: 0; font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(42px, 5vw, 62px); font-weight: 400; line-height: .96; letter-spacing: -.03em; }
.gs-feed-head p:not(.gs-kicker) { margin: 10px 0 0; color: var(--gs-muted); font-size: 13px; }
.gs-publish, .gs-scenes > header > a, .gs-more-author > header > a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 7px 0; border-bottom: 1px solid currentColor; color: var(--gs-ink); font-size: 11px; font-weight: 750; }
.gs-publish span { color: var(--gs-copper); font-size: 15px; }
.gs-toolbar { min-height: 49px; display: flex; align-items: center; gap: 18px; margin-bottom: 20px; padding-bottom: 13px; border-bottom: 1px solid var(--gs-line); }
.gs-tabs { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--gs-line); border-radius: 999px; background: var(--gs-paper); }
.gs-tabs a { min-height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 999px; color: var(--gs-muted); font-size: 11px; font-weight: 750; }
.gs-tabs a.is-active { background: var(--gs-ink); color: #fff; }
.gs-query { margin: 0 0 0 auto; color: var(--gs-muted); font-size: 12px; }
.gs-query a { color: var(--gs-copper-dark); font-weight: 750; }

.gs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 24px; }
.gs-card { overflow: hidden; border: 1px solid var(--gs-line); border-radius: 14px; background: var(--gs-paper); content-visibility: auto; contain-intrinsic-block-size: auto 560px; box-shadow: 0 1px 0 rgb(20 17 14 / .02); }
.gs-card-author { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; }
.gs-author-line { min-width: 0; display: flex; align-items: center; gap: 10px; }
.gs-author-line > span:last-child { min-width: 0; }
.gs-author-line strong, .gs-author-line small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-author-line strong { color: var(--gs-ink); font-size: 11px; }
.gs-author-line small { margin-top: 3px; color: var(--gs-muted); font-size: 10px; }
.gs-avatar-link { flex: 0 0 auto; }
.gs-card-author .gs-follow { margin-top: 0; }
.gs-new { color: var(--gs-copper-dark); font-size: 9px; font-weight: 800; letter-spacing: .08em; }

.gs-preview { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #24201c; color: #fff; isolation: isolate; }
.gs-preview-fallback { position: absolute; z-index: 0; inset: 0; background: radial-gradient(circle at 72% 22%, #7c543e 0, transparent 34%), linear-gradient(145deg, #40362e, #14110e 72%); transition: opacity .22s ease; }
.gs-cover-frame { position: absolute; z-index: 1; top: 0; left: 0; width: 1440px; height: 810px; border: 0; opacity: 0; pointer-events: none; transform: scale(var(--gs-cover-scale, .4)); transform-origin: 0 0; transition: opacity .22s ease; }
.gs-preview.is-cover-ready .gs-cover-frame { opacity: 1; }
.gs-preview.is-cover-ready .gs-preview-fallback { opacity: 0; }
.gs-preview-badge { position: absolute; z-index: 2; bottom: 12px; min-height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 12px; border: 1px solid rgb(255 255 255 / .25); border-radius: 999px; background: rgb(20 17 14 / .86); color: #fff; box-shadow: 0 8px 24px rgb(0 0 0 / .18); font-size: 10px; font-weight: 750; transition: background .18s ease, transform .18s ease; }
.gs-preview-badge svg, .gs-actions svg, .gs-meta svg, .gs-action svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gs-preview-device { left: 12px; }
.gs-preview-open { right: 12px; }

.gs-card-body { padding: 15px 15px 13px; }
.gs-project-line { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; }
.gs-project-line h2 { min-width: 0; margin: 0; font-family: 'Instrument Serif', Georgia, serif; font-size: 25px; font-weight: 400; line-height: 1.05; letter-spacing: -.025em; }
.gs-project-line h2 a { display: block; overflow: hidden; color: var(--gs-ink); text-overflow: ellipsis; white-space: nowrap; }
.gs-project-line time { flex: 0 0 auto; color: var(--gs-muted); font-size: 9px; font-variant-numeric: tabular-nums; }
.gs-meta { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-top: 10px; color: var(--gs-muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.gs-meta span { display: inline-flex; align-items: center; gap: 5px; }
.gs-meta svg { color: var(--gs-copper); }
.gs-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--gs-line-soft); }
.gs-actions a, .gs-actions button, .gs-action { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 9px; background: transparent; color: var(--gs-muted); font-size: 10px; font-weight: 750; transition: background .18s ease, color .18s ease, transform .16s ease; }
.gs-actions a.is-on, .gs-action.is-on { color: var(--gs-copper-dark); background: #f3e7df; }
.gs-empty { margin: 0; padding: 70px 20px; border: 1px dashed var(--gs-line); border-radius: 14px; color: var(--gs-muted); text-align: center; }
.gs-more { margin: 32px 0 0; text-align: center; }
.gs-more a { min-height: 43px; display: inline-flex; align-items: center; padding: 0 20px; border: 1px solid var(--gs-line); border-radius: 999px; background: #fff; color: var(--gs-ink); font-size: 12px; font-weight: 750; }
.gs-end { display: flex; align-items: center; gap: 17px; margin: 34px 0 0; color: var(--gs-muted); font-size: 11px; text-align: center; }
.gs-end span { height: 1px; flex: 1; background: var(--gs-line); }

.gs-cta { display: flex; align-items: center; justify-content: space-between; gap: 34px; margin-top: 31px; padding: 28px 31px; border-radius: 15px; background: linear-gradient(145deg, #2d241d, #14110e 68%); color: #fff; }
.gs-cta h2 { margin: 0; font-family: 'Instrument Serif', Georgia, serif; font-size: 31px; font-weight: 400; line-height: 1; letter-spacing: -.025em; }
.gs-cta p { margin: 7px 0 0; color: #c9c3bc; font-size: 11px; line-height: 1.5; }
.gs-cta > a { min-height: 42px; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; border-radius: 999px; background: var(--gs-copper); color: #fff; font-size: 11px; font-weight: 750; }
.gs-faq { padding: 54px 0 70px; border-top: 1px solid var(--gs-line); background: #f5f0ea; }
.gs-faq h2 { margin: 0 0 20px; font-family: 'Instrument Serif', Georgia, serif; font-size: 36px; font-weight: 400; }
.gs-faq .gs-shell > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gs-faq article { padding: 23px; border: 1px solid var(--gs-line); border-radius: 14px; background: #fff; }
.gs-faq h3 { margin: 0; font-size: 15px; }
.gs-faq article p { margin: 10px 0 0; color: var(--gs-muted); font-size: 13px; line-height: 1.6; }
.gs-toast { position: fixed; z-index: 90; right: 20px; bottom: 20px; max-width: min(360px, calc(100% - 40px)); margin: 0; padding: 12px 16px; border-radius: 11px; background: var(--gs-ink); color: #fff; box-shadow: 0 14px 38px rgb(20 17 14 / .24); font-size: 11px; font-weight: 650; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .2s ease, transform .2s ease; }
.gs-toast.is-visible { opacity: 1; transform: translateY(0); }

.gs-detail-main { padding-top: 23px; padding-bottom: 92px; }
.gs-breadcrumb { min-width: 0; display: flex; align-items: center; gap: 8px; overflow: hidden; color: var(--gs-muted); font-size: 10px; }
.gs-breadcrumb a { flex: 0 0 auto; color: var(--gs-ink); font-weight: 750; }
.gs-breadcrumb span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-project-top { display: grid; grid-template-columns: minmax(290px, .72fr) minmax(0, 1.28fr); align-items: center; gap: clamp(36px, 6vw, 76px); padding: 38px 0 58px; }
.gs-project-summary { min-width: 0; }
.gs-detail-author { display: flex; align-items: center; gap: 10px; }
.gs-detail-author > div { min-width: 0; }
.gs-detail-author a:not(.gs-follow), .gs-detail-author strong, .gs-detail-author small { display: block; overflow: hidden; color: var(--gs-ink); text-overflow: ellipsis; white-space: nowrap; }
.gs-detail-author a:not(.gs-follow), .gs-detail-author strong { font-size: 11px; font-weight: 750; }
.gs-detail-author small { margin-top: 3px; color: var(--gs-muted); font-size: 9px; }
.gs-detail-author .gs-follow { margin: 0 0 0 auto; }
.gs-project-summary h1 { margin: 27px 0 0; font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(48px, 6vw, 76px); font-weight: 400; line-height: .9; letter-spacing: -.035em; text-wrap: balance; }
.gs-detail-lead { margin: 18px 0 0; color: var(--gs-copper-dark); font-size: 12px; font-weight: 650; }
.gs-detail-description { max-width: 48ch; margin: 13px 0 0; color: var(--gs-muted); font-size: 13px; line-height: 1.65; }
.gs-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 25px 0 0; padding: 16px 0; border-block: 1px solid var(--gs-line); }
.gs-facts dt { overflow: hidden; color: var(--gs-muted); font-size: 8.5px; letter-spacing: .04em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.gs-facts dd { margin: 5px 0 0; font-size: 12px; font-weight: 750; font-variant-numeric: tabular-nums; }
.gs-detail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.gs-primary { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border-radius: 999px; background: var(--gs-ink); color: #fff; font-size: 11px; font-weight: 750; }
.gs-detail-actions .gs-action { padding: 0 8px; }
.gs-detail-cover { min-width: 0; }
.gs-preview-detail { width: 100%; box-shadow: 0 18px 48px rgb(20 17 14 / .16); }
.gs-detail-cover > p { margin: 11px 2px 0; color: var(--gs-muted); font-size: 10px; line-height: 1.5; }
.gs-scenes, .gs-more-author { padding-top: 44px; border-top: 1px solid var(--gs-line); }
.gs-scenes > header, .gs-more-author > header { margin-bottom: 21px; }
.gs-scenes header p:not(.gs-kicker) { margin: 7px 0 0; color: var(--gs-muted); font-size: 11px; }
.gs-scene-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gs-scene { position: relative; min-height: 205px; overflow: hidden; border-radius: 12px; background: #28231f; color: #fff; }
.gs-scene.is-wide { grid-column: span 2; }
.gs-scene::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgb(20 17 14 / .78)); content: ''; }
.gs-scene > img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gs-scene > span { position: absolute; z-index: 1; right: 14px; bottom: 13px; left: 14px; }
.gs-scene strong, .gs-scene small { display: block; }
.gs-scene strong { font-family: 'Instrument Serif', Georgia, serif; font-size: 21px; font-weight: 400; }
.gs-scene small { margin-top: 2px; color: #d3cdc6; font-size: 9px; }
.gs-more-author { margin-top: 54px; }
.gs-other-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.gs-other-grid > a { min-width: 0; color: var(--gs-ink); }
.gs-other-grid > a > span { aspect-ratio: 16 / 10; display: block; overflow: hidden; border-radius: 11px; background: #28231f; }
.gs-other-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gs-other-grid strong, .gs-other-grid small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-other-grid strong { margin-top: 9px; font-size: 12px; }
.gs-other-grid small { margin-top: 3px; color: var(--gs-muted); font-size: 10px; }
.gs-detail-main > .gs-cta { margin-top: 55px; }

@media (hover: hover) and (pointer: fine) {
  .gs-creator-link:hover .gs-avatar-lg { transform: translateY(-3px); }
  .gs-follow:hover { background: var(--gs-ink); color: #fff; }
  .gs-preview:hover .gs-preview-badge { background: var(--gs-copper); transform: translateY(-2px); }
  .gs-actions a:hover, .gs-actions button:hover, .gs-action:hover { background: #f3eee8; color: var(--gs-copper-dark); }
  .gs-project-line h2 a:hover, .gs-publish:hover, .gs-scenes > header > a:hover, .gs-more-author > header > a:hover { color: var(--gs-copper); }
  .gs-scene:hover img, .gs-other-grid > a:hover img { transform: scale(1.035); }
}

.gs-follow:active, .gs-tabs a:active, .gs-actions a:active, .gs-actions button:active, .gs-action:active, .gs-primary:active, .gs-cta > a:active { transform: scale(.97); }

@media (max-width: 900px) {
  .gs-project-top { grid-template-columns: 1fr; }
  .gs-project-summary { max-width: 680px; }
  .gs-detail-cover { order: -1; }
  .gs-scene-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .gs-shell { width: min(100% - 28px, 1180px); }
  .gs-creators { padding: 21px 0 22px; }
  .gs-section-head { align-items: flex-start; }
  .gs-section-head > span { display: none; }
  .gs-creator-row { grid-auto-columns: 112px; }
  .gs-feed { padding: 29px 0 70px; }
  .gs-feed-head { align-items: flex-start; flex-direction: column; gap: 15px; }
  .gs-feed-head h1 { font-size: 48px; }
  .gs-toolbar { align-items: flex-start; flex-direction: column; }
  .gs-tabs { max-width: 100%; overflow-x: auto; }
  .gs-query { margin-left: 0; }
  .gs-grid { grid-template-columns: 1fr; gap: 18px; }
  .gs-project-line h2 { font-size: 23px; }
  .gs-cta { align-items: flex-start; flex-direction: column; padding: 25px 22px; }
  .gs-cta > a { width: 100%; }
  .gs-faq .gs-shell > div { grid-template-columns: 1fr; }
  .gs-toast { right: 14px; bottom: calc(96px + env(safe-area-inset-bottom)); left: 14px; max-width: none; }
  .gs-detail-main { padding-bottom: 70px; }
  .gs-project-top { gap: 30px; padding: 29px 0 43px; }
  .gs-project-summary h1 { font-size: 51px; }
  .gs-facts { grid-template-columns: repeat(2, 1fr); }
  .gs-primary { width: 100%; }
  .gs-scenes > header, .gs-more-author > header { align-items: flex-start; flex-direction: column; gap: 13px; }
  .gs-scene-grid { grid-template-columns: 1fr; }
  .gs-scene.is-wide { grid-column: auto; }
  .gs-scene { min-height: 220px; }
  .gs-other-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 390px) {
  .gs-preview-badge { bottom: 9px; min-height: 31px; padding-inline: 10px; font-size: 9px; }
  .gs-preview-device { left: 9px; }
  .gs-preview-open { right: 9px; }
  .gs-card-body { padding-inline: 13px; }
  .gs-project-line { align-items: flex-start; flex-direction: column; gap: 4px; }
  .gs-project-line h2 a { white-space: normal; }
  .gs-actions a, .gs-actions button { gap: 5px; font-size: 9px; }
  .gs-other-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .gs *, .gs *::before, .gs *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
