

.pis { position: relative; z-index: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 36px 22px 0; text-align: center; }
.pis-hello { display: block; width: min(420px, 78vw); height: auto; margin: 0 auto; overflow: visible; }
.pis-hello text { font-family: "Mr Dafoe", "Playfair Display", cursive; font-size: 64px; }
.pis-hello .ol { fill: none; stroke: #fff; stroke-width: 1.1; stroke-linejoin: round; stroke-dasharray: 2400; stroke-dashoffset: 2400; animation: pisdraw 2.6s cubic-bezier(.5,.1,.3,1) .2s forwards; }
.pis-hello .fl { fill: #fff; clip-path: inset(0 100% 0 0); animation: piswipe 2.2s cubic-bezier(.5,.1,.3,1) .7s forwards; }
@keyframes pisdraw { to { stroke-dashoffset: 0; } } @keyframes piswipe { to { clip-path: inset(0 0 0 0); } }
.pis h1 { max-width: none; margin: 18px auto 0; text-align: center; font-size: clamp(40px, 8vw, 84px); line-height: 1.02; font-weight: 600; letter-spacing: -.045em; }
.pis h1 span { display: inline-block; opacity: 0; transform: translateY(14px); animation: pisrise .9s cubic-bezier(.22,1,.36,1) forwards; }
.pis h1 span:nth-child(2) { animation-delay: .2s; } .pis h1 span:nth-child(3) { animation-delay: .4s; }
@keyframes pisrise { to { opacity: 1; transform: none; } }
.pis-sub { margin: 18px auto 0; max-width: 46ch; color: var(--text-2); font: italic 400 clamp(18px, 2.3vw, 22px)/1.5 "Playfair Display", Georgia, serif; }
.pis-box { position: relative; width: min(760px, 100%); margin: 30px auto 0; text-align: left; }
.pis-field { position: relative; display: flex; align-items: center; height: 68px; border-radius: 14px; border: 1px solid rgba(255,255,255,.2); background: #0d0d15; transition: border-color .25s; }
.pis-field::before { content: ""; position: absolute; left: 62px; top: 17px; bottom: 17px; width: 1px; background: rgba(255,255,255,.14); }
.pis-field:focus-within { border-color: rgba(255,255,255,.6); }
.pis-field svg { flex: none; width: 22px; height: 22px; margin-left: 20px; color: var(--text-3); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pis-field input { flex: 1; min-width: 0; height: 100%; padding: 0 20px 0 40px; border: 0; background: transparent; color: #fff; font: 500 clamp(18px, 3vw, 24px) var(--sans); letter-spacing: -.01em; outline: none; }
.pis-field canvas { position: absolute; left: 84px; top: 0; height: 100%; width: calc(100% - 104px); pointer-events: none; }
.pis-field.has .pis-ph, .pis-field:focus-within .pis-ph { opacity: 0; }
.pis-ph { position: absolute; left: 84px; top: 0; bottom: 0; display: flex; align-items: center; color: rgba(255,255,255,.32); font: 500 clamp(18px, 3vw, 24px) var(--sans); pointer-events: none; transition: opacity .2s; }
.pis-field.fx .pis-ph { display: none; }
.pis-hint { margin: 14px 2px 0; font-size: 13px; line-height: 1.7; color: var(--text-3); }
.pis-hint b { margin-right: 10px; font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.pis-hint code { font: 500 12.5px ui-monospace, "JetBrains Mono", monospace; color: var(--text-2); }
.pis-list { margin: 14px 0 0; padding: 0; list-style: none; max-height: min(52vh, 420px); overflow-y: auto; overscroll-behavior: contain; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); background: #0d0d15; scrollbar-width: thin; }
.pis-list:empty { display: none; }
.pis-row { display: flex; align-items: center; gap: 18px; padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,.08); color: var(--text); text-decoration: none; }
.pis-list li:last-child .pis-row { border-bottom: 0; }
.pis-row:hover, .pis-row.sel { background: #15151f; }
.pis-row b { font: 600 16px ui-monospace, "JetBrains Mono", monospace; letter-spacing: -.01em; white-space: nowrap; }
.pis-row span { flex: 1; min-width: 0; font-size: 14px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pis-row em { flex: none; font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.pis-row svg { flex: none; width: 18px; height: 18px; color: var(--text-3); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pis-none { padding: 18px; color: var(--text-3); font-size: 14.5px; text-align: center; }

.pis-wheel { position: relative; margin: 150px 0 0; padding: 30px 0; overflow: hidden; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.pis-track { display: flex; width: max-content; animation: pismarq 46s linear infinite; will-change: transform; }
.pis-group { display: flex; flex: none; align-items: center; }
.pis-card { flex: none; display: flex; align-items: center; gap: 64px; padding-left: 64px; }
.pis-card::after { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.3); }
.pis-card b { font: italic 500 clamp(26px, 3.6vw, 40px)/1.2 "Playfair Display", Georgia, serif; color: rgba(255,255,255,.9); white-space: nowrap; }
@keyframes pismarq { to { transform: translateX(-50%); } }
.pis-wheel:hover .pis-track { animation-play-state: paused; }
.pis-browse { max-width: none; margin: 56px 0 18px; text-align: center; font-size: clamp(20px, 2.6vw, 28px); font-weight: 600; letter-spacing: -.03em; }
.pis .gboards { justify-content: center; margin-bottom: 8px; }
@media (max-width: 640px) { .pis { padding: 24px var(--gut, 20px) 0; } .pis-field { height: 60px; } .pis-field::before { left: 52px; top: 14px; bottom: 14px; } .pis-field canvas, .pis-ph { left: 72px; } .pis-field input { padding-left: 32px; } .pis-field svg { margin-left: 16px; } .pis-wheel { margin-top: 100px; padding: 24px 0; } .pis-card { gap: 40px; padding-left: 40px; } .pis-row { padding: 13px 16px; gap: 12px; } .pis-row span { display: none; } }
@media (prefers-reduced-motion: reduce) { .pis-hello .ol { animation: none; stroke-dashoffset: 0; opacity: 0; } .pis-hello .fl { animation: none; clip-path: none; } .pis h1 span { animation: none; opacity: 1; transform: none; } .pis-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; } .pis-group[aria-hidden] { display: none; } .pis-wheel { -webkit-mask-image: none; mask-image: none; } }

.pis-mini { position: relative; z-index: 30; width: 100%; margin: 0 0 16px; }
.pis-mini .pis-field { height: 54px; }
.pis-mini .pis-field::before { left: 52px; top: 14px; bottom: 14px; }
.pis-mini .pis-field svg { width: 19px; height: 19px; margin-left: 17px; }
.pis-mini .pis-field input { padding: 0 16px 0 36px; font-size: 16px; }
.pis-mini .pis-field input::placeholder { color: rgba(255,255,255,.42); }
.pis-mini .pis-list { position: absolute; left: 0; right: 0; top: calc(100% + 8px); margin: 0; z-index: 40; max-height: min(60vh, 440px); box-shadow: 0 18px 50px rgba(0,0,0,.55); }

.pis-field, .pis-list { border-radius: 10px; }
