html { color-scheme: light; }
body { font-size: 1rem; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid #ac61ee; outline-offset: 4px; }
.pin-product { margin-top: 20px; color: #01011b; }
.pin-gallery,.pin-info,.pin-details,.pin-seller { background: #fff; border-radius: 12px; }
.pin-gallery { padding: 20px; }
.pin-product-art { position: relative; display: flex; width: 100%; max-width: 800px; height: 360px; overflow: hidden; border: 1px solid #741a20; border-radius: 8px; background: #490b12; color: white; }
.pin-product-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,transparent 30%,#490b1200 42%,#490b12 60%); pointer-events: none; }
.pin-product-art > img { height: 100%; width: 60%; object-fit: cover; object-position: center top; }
.pin-art-copy { position: absolute; z-index: 1; left: 54%; top: 38px; right: 20px; display: flex; flex-direction: column; align-items: flex-start; }
.pin-wordmark { display: inline-block; font-size: 48px; line-height: 1; font-weight: 950; letter-spacing: -2.5px; font-style: italic; color: #fff; }
.pin-wordmark > span { color: #f3413e; margin: 0 2px; }
.pin-art-subtitle { margin: 9px 0 22px; font-size: 12px; letter-spacing: 4px; }
.pin-art-rule { width: 36px; height: 2px; background: #e3a264; }
.pin-art-caption { margin-top: 18px; font-size: 31px; line-height: 1.18; font-weight: 750; letter-spacing: -.6px; }
.pin-art-foot { font-size: 12px; margin-top: 23px; color: #e7bfc1; }
.pin-age-badge { position: absolute; z-index: 2; right: 12px; top: 10px; border: 1px solid #ffffff60; border-radius: 50%; font-size: 12px; padding: 6px; }
.pin-gallery-footer { max-width: 800px; display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 14px; color: #6b6b81; }
.pin-thumb { width: 44px; height: 44px; padding: 2px; border: 2px solid #7b04df; border-radius: 8px; box-sizing: border-box; overflow: hidden; }
.pin-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; border-radius: 3px; }
.pin-favorite { margin-left: auto; width: 42px; height: 42px; border: 1px solid #dadae8; color: #45455c; border-radius: 50%; font-size: 31px; }
.pin-info { padding: 22px 20px 0; }
.pin-title-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pin-title-row h1 { font-size: 22px; line-height: 1.35; font-weight: 700; }
.pin-code { font-size: 14px; color: #6b6b81; }
.pin-status { display: flex; gap: 16px; margin-top: 10px; font-size: 14px; color: #6b6b81; }
.pin-status span:first-child { color: #267a35; }
.pin-product-label { font-size: 30px; line-height: 1.2; font-weight: 800; margin-top: 14px; letter-spacing: -.6px; }
.pin-intro { font-size: 16px; line-height: 1.6; color: #45455c; margin: 12px 0 20px; }
.pin-main-actions { display: flex; gap: 12px; flex-wrap: wrap; padding-bottom: 20px; }
.pin-main-actions button { min-height: 48px; padding: 12px 24px; border-radius: 8px; font-size: 16px; line-height: 1.4; font-weight: 600; }
.pin-main-reg { color: white; background: #7b04df; }
.pin-main-reg:hover { background: #6900c3; }
.pin-main-download { display: flex; align-items: center; gap: 12px; color: #4d0d8c; border: 1px solid #b87eeb; background: #fff; }
.pin-main-download:hover { background: #f6efff; }
.pin-apk-label { color: #6b6b81; font-size: 12px; font-weight: 400; }
.pin-seller-line { display: flex; justify-content: space-between; border-top: 1px solid #f1f1f9; padding: 16px 0; font-size: 14px; color: #0670a5; }
.pin-details { padding: 24px 20px; margin-top: 12px; }
.pin-details h2 { font-size: 22px; font-weight: 700; }
.pin-specs { max-width: 800px; margin: 22px 0; }
.pin-specs > div { display: grid; grid-template-columns: 45% 55%; gap: 12px; border-bottom: 1px solid #f1f1f9; padding: 12px 0; font-size: 16px; }
.pin-specs dt { color: #6b6b81; }
.pin-description { max-width: 800px; font-size: 16px; line-height: 1.65; }
.pin-description h3 { font-size: 17px; font-weight: 650; margin-bottom: 10px; }
.pin-description p + p { margin-top: 10px; }
.pin-seller { padding: 24px 20px; margin-top: 12px; }
.pin-seller-head { display: flex; gap: 14px; align-items: center; }
.pin-seller-avatar { background: #a01825; width: 50px; height: 50px; display: grid; place-content: center; color: white; border-radius: 8px; font-size: 23px; font-weight: 900; font-style: italic; position: relative; }
.pin-seller-avatar > span { position: absolute; bottom: 3px; right: 7px; font-size: 16px; color: #ffd1b4; }
.pin-seller-head h2 { font-size: 18px; font-weight: 700; }
.pin-seller-head p { margin-top: 4px; color: #6b6b81; font-size: 14px; }
.pin-seller-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.pin-seller-links a { border: 1px solid #dadae8; border-radius: 8px; padding: 9px 16px; font-size: 14px; }
.pin-seller-links a:hover { border-color: #7b04df; color: #7b04df; }
.pin-reopen { position: fixed; z-index: 55; right: 20px; bottom: 88px; background: #8c1722; color: #fff; padding: 13px 20px; border: 1px solid #ffffff50; border-radius: 28px; font-size: 14px; font-weight: 650; box-shadow: 0 5px 20px #42081338; }
.pin-dialog-open { overflow: hidden; }
.pin-modal { position: fixed; inset: 0; margin: auto; padding: 0; width: min(820px,calc(100vw - 40px)); max-height: calc(100dvh - 40px); color: #fff; border: 1px solid #c85c5066; border-radius: 18px; background: #260a0f; box-shadow: 0 30px 100px #0009; overflow: auto; }
.pin-modal::backdrop { background: #0b0713b8; backdrop-filter: blur(5px); }
.pin-modal-layout { display: grid; grid-template-columns: 43% 57%; min-height: 515px; }
.pin-modal-visual { position: relative; overflow: hidden; background: #8d1422; }
.pin-modal-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 48% 0; }
.pin-modal-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,#420c12 0%,transparent 25%); }
.pin-modal-visual-caption { position: absolute; z-index: 1; bottom: 23px; left: 0; right: 0; text-align: center; font-size: 10px; letter-spacing: 2px; color: #f5c4af; }
.pin-modal-content { position: relative; padding: 38px 40px 24px; background: radial-gradient(ellipse at top right,#561521 0,transparent 65%),#260a0f; }
.pin-close { position: absolute; top: 15px; right: 15px; display: grid; place-content: center; width: 32px; height: 32px; border: 1px solid #ffffff30; border-radius: 50%; color: #e6bfc2; }
.pin-close:hover { background: #ffffff18; color: white; }
.pin-modal-brand { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 34px; }
.pin-modal-brand .pin-wordmark { font-size: 35px; letter-spacing: -2px; }
.pin-brand-sub { font-size: 9px; line-height: 1.5; letter-spacing: 1px; color: #d5a6a7; border-left: 1px solid #ffffff30; padding-left: 14px; white-space: nowrap; }
.pin-welcome-eyebrow { display: block; color: #e6b18c; font-size: 11px; font-weight: 650; letter-spacing: 2.5px; margin-bottom: 9px; }
.pin-modal h2 { font-size: 38px; line-height: 1.08; font-weight: 760; letter-spacing: -1.1px; }
.pin-modal-content > p:not(.pin-modal-note) { font-size: 14px; line-height: 1.65; color: #d7b8bd; margin-top: 15px; }
.pin-modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 25px; }
.pin-modal-actions > button { border-radius: 8px; min-height: 48px; padding: 12px; font-size: 15px; font-weight: 650; transition: background .15s,transform .15s; }
.pin-modal-actions > button:active { transform: translateY(1px); }
.pin-login { color: #fff; border: 1px solid #97616a; background: #ffffff06; }
.pin-login:hover { background: #ffffff16; }
.pin-register { color: #fff; background: #e3323c; border: 1px solid #f36368; box-shadow: 0 4px 18px #ed253b20; }
.pin-register:hover { background: #f0434d; }
.pin-modal-actions .pin-modal-download { grid-column: 1/-1; display: flex; justify-content: center; align-items: center; gap: 12px; color: #f0dadf; border: 1px solid #67444b; background: #ffffff07; font-size: 14px; }
.pin-modal-download small { display: block; font-size: 9px; letter-spacing: 2px; color: #bb9199; margin-top: 3px; }
.pin-modal-download:hover { background: #ffffff13; }
.pin-modal-note { display: flex; justify-content: center; align-items: center; gap: 8px; color: #b78d96; font-size: 11px; margin: 19px 0 0; }
.pin-modal-note > span { border: 1px solid #89616b; padding: 2px 4px; border-radius: 4px; font-size: 10px; }
@media (min-width: 1200px) { .pin-gallery { padding: 24px; }.pin-info,.pin-details,.pin-seller { padding-left: 24px; padding-right: 24px; } }
@media (max-width: 600px) {
  .pin-product { margin-top: 12px; }
  .pin-gallery { padding: 12px; }
  .pin-product-art { height: 245px; }
  .pin-product-art > img { width: 65%; object-position: 45% top; }
  .pin-product-art::after { background: linear-gradient(90deg,transparent 25%,#490b1200 35%,#490b12 64%); }
  .pin-art-copy { left: 52%; top: 39px; right: 8px; }
  .pin-wordmark { font-size: 32px; letter-spacing: -1.7px; }
  .pin-art-subtitle { font-size: 8px; letter-spacing: 2px; margin: 7px 0 14px; }
  .pin-art-caption { font-size: 22px; margin-top: 12px; }
  .pin-art-foot { font-size: 9px; max-width: 115px; line-height: 1.6; margin-top: 14px; }
  .pin-age-badge { font-size: 10px; padding: 4px; right: 7px; top: 7px; }
  .pin-gallery-footer { gap: 9px; font-size: 12px; }
  .pin-info { padding: 20px 16px 0; }
  .pin-title-row h1 { font-size: 20px; }
  .pin-product-label { font-size: 27px; }
  .pin-main-actions { gap: 10px; }
  .pin-main-actions button { width: 100%; justify-content: center; }
  .pin-details,.pin-seller { padding: 22px 16px; }
  .pin-details h2 { font-size: 20px; }
  .pin-specs > div { grid-template-columns: 45% 50%; }
  .pin-modal { width: min(420px,calc(100vw - 24px)); max-height: calc(100dvh - 24px); border-radius: 16px; }
  .pin-modal-layout { display: block; min-height: 0; }
  .pin-modal-visual { height: 180px; }
  .pin-modal-visual img { object-position: 50% top; }
  .pin-modal-visual::after { background: linear-gradient(0deg,#260a0f,transparent 50%); }
  .pin-modal-visual-caption { display: none; }
  .pin-modal-content { padding: 0 24px 22px; background: #260a0f; }
  .pin-close { top: -165px; right: 12px; background: #260a0f88; }
  .pin-modal-brand { margin: -5px 0 20px; position: relative; }
  .pin-modal-brand .pin-wordmark { font-size: 32px; }
  .pin-welcome-eyebrow { font-size: 10px; }
  .pin-modal h2 { font-size: 31px; }
  .pin-modal-content > p:not(.pin-modal-note) { font-size: 14px; margin-top: 12px; }
  .pin-modal-actions { margin-top: 20px; gap: 9px; }
  .pin-modal-actions > button { font-size: 14px; padding: 12px 7px; }
  .pin-modal-note { margin-top: 16px; }
  .pin-reopen { right: 12px; bottom: 80px; padding: 11px 16px; font-size: 12px; }
}
@media (max-height: 650px) and (max-width: 600px) { .pin-modal-visual { height: 120px; }.pin-close { top: -105px; }.pin-modal-brand { margin-bottom: 14px; }.pin-modal-content { padding-bottom: 16px; } }
@media (prefers-reduced-motion: reduce) { .pin-modal-actions > button { transition: none; } }
