/* thejungle1 (05-11-2026): the new head of /ape/<username> with The Jungle (templates/components/_jungle_head.html,
   static/js/jungle-profile.js). --jp-c: their rank's colour; --jp-t: their tribe's (or the rank's). */
.jp-head { --jp-g: #3ddc84; --jp-g2: #14f195; --jp-ink: #04140b; --jp-bg: #110727; padding-top: 28px; }
.jp-head [hidden] { display: none !important; }
.jp-ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.jp-ic--x { fill: currentColor; stroke: none; width: 15px; height: 15px; }
.jp-card { position: relative; border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, #150a30, var(--jp-bg));
    border: 1px solid color-mix(in srgb, var(--jp-c) 30%, var(--line-strong)); box-shadow: 0 24px 60px rgba(0,0,0,0.4); padding-bottom: 24px; }

/* banner: 3:1, theirs, else their Ape Site's or their tribe's, else drawn */
.jp-banner { position: relative; aspect-ratio: 3 / 1; max-height: 320px; width: 100%; overflow: hidden;
    background: radial-gradient(520px 240px at 18% 120%, color-mix(in srgb, var(--jp-t) 55%, transparent), transparent 70%),
        radial-gradient(640px 280px at 88% -20%, color-mix(in srgb, var(--jp-c) 45%, transparent), transparent 70%), linear-gradient(135deg, #0c2335, #170838); }
.jp-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.jp-banner::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(17,7,39,0.6)); }
.jp-cam { position: absolute; right: 16px; top: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px;
    font: inherit; font-size: 0.85rem; font-weight: 800; color: #fff; cursor: pointer; background: rgba(10,4,24,0.6); border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background 0.15s, border-color 0.15s; }
.jp-cam:hover, .jp-cam:focus-visible { background: rgba(10,4,24,0.85); border-color: rgba(255,255,255,0.4); }

/* picture + buttons */
.jp-row { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 0 28px; margin-top: -78px; }
.jp-face { position: relative; flex: none; width: 160px; height: 160px; border-radius: 50%; padding: 5px;
    background: conic-gradient(var(--jp-c) calc(var(--xp-p, 0) * 1%), rgba(255,255,255,0.14) 0);
    box-shadow: 0 0 0 6px var(--jp-bg), 0 0 34px color-mix(in srgb, var(--jp-c) 40%, transparent); }
.jp-face img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid var(--jp-bg); background: #1a0b38; display: block; }
.jp-face img.xp-frame { padding: 3px; border: 0; }
.jp-lv { position: absolute; right: 4px; bottom: 8px; display: grid; place-items: center; min-width: 44px; height: 32px; padding: 0 9px; border-radius: 99px;
    font-size: 1.05rem; font-weight: 900; line-height: 1; color: #0b0520; background: var(--xp-c, var(--jp-c)); border: 3px solid var(--jp-bg);
    font-variant-numeric: tabular-nums; box-shadow: 0 6px 16px rgba(0,0,0,0.45); }
.jp-btns { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; }
.jp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 20px; border-radius: 99px; font: inherit;
    font-size: 0.93rem; font-weight: 900; white-space: nowrap; cursor: pointer; text-decoration: none; color: #0b0520; background: #fff; border: 1px solid #fff;
    transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s; }
.jp-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(255,255,255,0.6); }
.jp-btn:focus-visible, .jp-cam:focus-visible, .jp-counts button:focus-visible, .jp-chip:focus-visible, .jp-x:focus-visible { outline: 2px solid var(--jp-g); outline-offset: 2px; }
.jp-btn--ghost { color: var(--text); background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.22); }
.jp-btn--ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); box-shadow: none; }
.jp-btn--icon { width: 42px; padding: 0; color: var(--text); background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.22); }
.jp-btn--icon:hover { background: rgba(255,255,255,0.1); box-shadow: none; }
.jp-bell.is-on { color: var(--jp-ink); background: linear-gradient(135deg, var(--jp-g), var(--jp-g2)); border-color: transparent; }
.jp-bell.is-on .jp-ic { fill: currentColor; }
.jp-btn--go { color: var(--jp-ink); background: linear-gradient(135deg, var(--jp-g), var(--jp-g2)); border-color: transparent; min-height: 38px; padding: 0 22px; }
.jp-btn--go:hover { box-shadow: 0 10px 24px -10px rgba(61,220,132,0.9); }
.jp-btn--go[disabled] { opacity: 0.55; cursor: progress; transform: none; }
/* Follow → Following (ghost) → hover says Unfollow, in red */
.jp-follow { min-width: 118px; }
.jp-follow .jp-f-on, .jp-follow .jp-f-un { display: none; }
.jp-follow.is-on { color: var(--text); background: transparent; border-color: rgba(255,255,255,0.3); }
.jp-follow.is-on .jp-f-off { display: none; }
.jp-follow.is-on .jp-f-on { display: inline; }
.jp-follow.is-on:hover { color: #fb7185; border-color: rgba(251,113,133,0.55); background: rgba(251,113,133,0.08); box-shadow: none; }
.jp-follow.is-on:hover .jp-f-on { display: none; }
.jp-follow.is-on:hover .jp-f-un { display: inline; }
.jp-follow.is-pop { animation: jp-pop 0.35s ease; }
@keyframes jp-pop { 40% { transform: scale(1.07); } }

/* who */
.jp-id { padding: 16px 28px 0; }
.jp-id h1 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0; font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 900; line-height: 1.1; letter-spacing: -0.01em; }
.jp-name { overflow-wrap: anywhere; }
.jp-id h1 .xp-pill { font-size: 0.8rem; }
.jp-tribe { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 5px; border-radius: 99px; font-size: 0.82rem; font-weight: 800; letter-spacing: 0;
    color: var(--xc); background: color-mix(in srgb, var(--xc) 12%, transparent); border: 1px solid color-mix(in srgb, var(--xc) 40%, transparent); }
.jp-tribe img { width: 20px; height: 20px; object-fit: contain; }
.jp-tribe[hidden] { display: none; }
.jp-handle { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; font-size: 1rem; font-weight: 600; color: var(--muted); }
.jp-fy { padding: 2px 8px; border-radius: 6px; font-size: 0.75rem; font-weight: 800; color: var(--text); background: rgba(255,255,255,0.09); }
.jp-bio { margin: 14px 0 0; max-width: 680px; font-size: 1.04rem; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.jp-addbio { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 14px; border-radius: 12px; font: inherit; font-size: 0.9rem; font-weight: 700;
    color: var(--muted); cursor: pointer; background: rgba(255,255,255,0.03); border: 1px dashed rgba(255,255,255,0.22); transition: color 0.15s, border-color 0.15s; }
.jp-addbio:hover { color: var(--text); border-color: var(--jp-g); }
.jp-addbio .jp-ic { width: 16px; height: 16px; }
.jp-facts { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 12px; font-size: 0.92rem; color: var(--muted); }
.jp-facts a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.jp-facts a.is-link { color: #7dd3fc; font-weight: 700; }
.jp-facts a:hover { color: var(--text); }
.jp-facts a.is-link:hover { color: #bae6fd; text-decoration: underline; text-underline-offset: 3px; }
.jp-facts .jp-ic { width: 16px; height: 16px; }
.jp-facts [hidden] { display: none; }
.jp-counts { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; }
.jp-counts button { display: inline-flex; align-items: baseline; gap: 5px; padding: 2px 0; font: inherit; font-size: 0.97rem; color: var(--muted); cursor: pointer;
    background: none; border: 0; border-bottom: 1px solid transparent; transition: color 0.15s, border-color 0.15s; }
.jp-counts button:hover { color: var(--text); border-bottom-color: rgba(255,255,255,0.4); }
.jp-counts b { color: var(--text); font-weight: 900; font-variant-numeric: tabular-nums; }
.jp-fb { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; font-size: 0.88rem; color: var(--muted); }
.jp-fb b { color: var(--text); font-weight: 700; }
.jp-faces { display: flex; flex: none; }
.jp-faces img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; border: 2px solid var(--jp-bg); margin-left: -7px; }
.jp-faces img:first-child { margin-left: 0; }
.jp-pills { margin-top: 16px; justify-content: flex-start; }
.jp-pills:empty { display: none; }

/* modals: the people lists and Edit profile */
.jp-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: start center; padding: 6vh 16px 16px; }
.jp-modal[hidden] { display: none; }
.jp-veil { position: absolute; inset: 0; background: rgba(5,2,14,0.74); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: jp-fade 0.18s ease; }
.jp-sheet { position: relative; width: min(600px, 100%); max-height: 88vh; display: flex; flex-direction: column; overflow: hidden; border-radius: 22px;
    background: #140930; border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 40px 90px -20px rgba(0,0,0,0.85); animation: jp-rise 0.22s cubic-bezier(.2,.8,.2,1); }
.jp-sheet--edit { width: min(640px, 100%); }
@keyframes jp-fade { from { opacity: 0; } }
@keyframes jp-rise { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
.jp-top { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-bottom: 1px solid var(--line); flex: none; }
.jp-top > b, .jp-top > div > b { font-size: 1.1rem; font-weight: 900; }
.jp-top > div { display: grid; min-width: 0; } .jp-top small { color: var(--muted); font-size: 0.82rem; }
.jp-top .jp-btn { margin-left: auto; }
.jp-x { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; color: var(--text); cursor: pointer; background: rgba(255,255,255,0.06); border: 0; }
.jp-x:hover { background: rgba(255,255,255,0.12); }
.jp-ptabs { display: flex; flex: none; border-bottom: 1px solid var(--line); }
.jp-ptabs button { position: relative; flex: 1; padding: 13px 10px; font: inherit; font-weight: 800; font-size: 0.95rem; color: var(--muted); cursor: pointer; background: none; border: 0; }
.jp-ptabs button:hover { color: var(--text); background: rgba(255,255,255,0.03); }
.jp-ptabs button[aria-selected="true"] { color: var(--text); }
.jp-ptabs button[aria-selected="true"]::after { content: ''; position: absolute; left: 30%; right: 30%; bottom: -1px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--jp-g), var(--jp-g2)); }
.jp-plist { list-style: none; margin: 0; padding: 6px 0; overflow-y: auto; overscroll-behavior: contain; }
.jp-plist li { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 18px; }
.jp-plist li:hover { background: rgba(255,255,255,0.03); }
.jp-plist a.jp-pf { position: relative; display: block; width: 46px; height: 46px; border-radius: 50%; padding: 2px; background: var(--pc, rgba(255,255,255,0.14)); }
.jp-plist a.jp-pf img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #140930; display: block; }
.jp-plist a.jp-pf i { position: absolute; right: -5px; bottom: -3px; min-width: 20px; height: 18px; padding: 0 5px; border-radius: 99px; display: grid; place-items: center;
    font-style: normal; font-size: 0.75rem; font-weight: 900; color: #0b0520; background: var(--pc); border: 2px solid #140930; }
.jp-pn { min-width: 0; }
.jp-pn a { display: block; color: var(--text); font-weight: 800; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jp-pn a:hover { text-decoration: underline; text-underline-offset: 3px; }
.jp-pn small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.82rem; white-space: nowrap; overflow: hidden; }
.jp-plist .jp-btn { min-height: 34px; padding: 0 14px; font-size: 0.82rem; min-width: 98px; }
.jp-pempty { margin: 0; padding: 34px 24px; text-align: center; color: var(--muted); }
.jp-pmore { margin: 0 18px 14px; padding: 10px; border-radius: 12px; font: inherit; font-weight: 800; color: var(--jp-g); cursor: pointer; background: rgba(61,220,132,0.06); border: 1px solid rgba(61,220,132,0.25); }
.jp-pmore:hover { background: rgba(61,220,132,0.12); }
.jp-skel { height: 46px; margin: 10px 18px; border-radius: 14px; background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.09), rgba(255,255,255,0.04)); background-size: 200% 100%; animation: jp-sk 1.2s linear infinite; }
@keyframes jp-sk { to { background-position: -200% 0; } }

/* Edit profile */
.jp-ebody { overflow-y: auto; overscroll-behavior: contain; padding-bottom: 20px; }
.jp-ebanner { position: relative; aspect-ratio: 3 / 1; overflow: hidden;
    background: radial-gradient(400px 180px at 18% 120%, color-mix(in srgb, var(--jp-t) 55%, transparent), transparent 70%), linear-gradient(135deg, #0c2335, #170838); }
.jp-ebanner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.jp-ebanner::after { content: ''; position: absolute; inset: 0; background: rgba(8,3,20,0.32); pointer-events: none; }
.jp-eacts { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 12px; }
.jp-chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 99px; font: inherit; font-size: 0.85rem; font-weight: 800; color: #fff; cursor: pointer;
    background: rgba(10,4,24,0.66); border: 1px solid rgba(255,255,255,0.22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background 0.15s, border-color 0.15s; }
.jp-chip:hover, .jp-chip:focus-within { background: rgba(10,4,24,0.88); border-color: rgba(255,255,255,0.45); }
.jp-chip--icon { padding: 9px; }
.jp-chip[hidden] { display: none; }
.jp-busy { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; background: rgba(8,3,20,0.7); }
.jp-busy[hidden] { display: none; }
.jp-busy i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.25); border-top-color: var(--jp-g); animation: jp-spin 0.8s linear infinite; }
@keyframes jp-spin { to { transform: rotate(360deg); } }
.jp-eface { position: relative; z-index: 3; width: 92px; height: 92px; margin: -46px 0 0 20px; border-radius: 50%; padding: 3px;
    background: conic-gradient(from 200deg, #14532d, #3ddc84 14%, #bef264 26%, #15803d 40%, #4ade80 55%, #166534 68%, #a3e635 82%, #14532d); box-shadow: 0 0 0 4px #140930; }
.jp-eface img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #140930; display: block; }
.jp-ehint { margin: -40px 20px 0 128px; min-height: 40px; font-size: 0.8rem; line-height: 1.45; color: var(--muted); }
.jp-scenes { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; max-height: 236px; overflow-y: auto; margin: 14px 20px 0; padding: 10px;
    border-radius: 14px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); }
.jp-scenes[hidden] { display: none; }
.jp-scenes button { position: relative; padding: 0; border-radius: 10px; overflow: hidden; cursor: pointer; background: #0b0520; border: 2px solid transparent; aspect-ratio: 3 / 2; transition: border-color 0.15s, transform 0.15s; }
.jp-scenes button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jp-scenes button span { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 6px 4px; font-size: 0.75rem; font-weight: 800; color: #fff; text-align: left;
    background: linear-gradient(0deg, rgba(0,0,0,0.75), transparent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jp-scenes button:hover { transform: translateY(-1px); border-color: rgba(255,255,255,0.4); }
.jp-scenes button.is-on { border-color: var(--jp-g); box-shadow: 0 0 0 2px rgba(61,220,132,0.3); }
.jp-scenes-load { grid-column: 1 / -1; margin: 6px; color: var(--muted); font-size: 0.86rem; }
.jp-f { display: block; margin: 16px 20px 0; padding: 0; border: 0; min-width: 0; }
.jp-fl { display: flex; justify-content: space-between; margin-bottom: 7px; padding: 0; font-size: 0.8rem; font-weight: 800; color: var(--muted); letter-spacing: 0.02em; }
.jp-fl em { font-style: normal; font-variant-numeric: tabular-nums; }
.jp-fl em.is-over { color: #fb7185; }
.jp-f textarea, .jp-in { width: 100%; padding: 11px 14px; border-radius: 12px; font: inherit; font-size: 0.98rem; line-height: 1.5; color: var(--text);
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.14); transition: border-color 0.15s, box-shadow 0.15s; }
.jp-f textarea { resize: vertical; min-height: 84px; }
.jp-f textarea:focus, .jp-in:focus-within { outline: none; border-color: var(--jp-g); box-shadow: 0 0 0 3px rgba(61,220,132,0.15); }
.jp-in--at { display: flex; align-items: center; gap: 2px; }
.jp-in--at i { font-style: normal; color: var(--muted); }
.jp-in--at input { flex: 1; min-width: 0; padding: 0; font: inherit; color: var(--text); background: none; border: 0; outline: none; }
.jp-ro { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; font-size: 0.93rem; color: var(--muted); text-decoration: none;
    background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.1); transition: border-color 0.15s; }
.jp-ro:hover { border-color: rgba(255,255,255,0.3); }
.jp-ro b { color: var(--text); }
.jp-ro span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; margin: 0 20px; }
.jp-two .jp-f { margin-left: 0; margin-right: 0; }
.jp-seg { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); }
.jp-seg label { flex: 1; position: relative; }
.jp-seg input { position: absolute; opacity: 0; pointer-events: none; }
.jp-seg span { display: block; padding: 9px 6px; border-radius: 9px; text-align: center; font-size: 0.87rem; font-weight: 800; color: var(--muted); cursor: pointer; white-space: nowrap; transition: color 0.15s, background 0.15s; }
.jp-seg span:hover { color: var(--text); }
.jp-seg input:checked + span { color: var(--jp-ink); background: linear-gradient(135deg, var(--jp-g), var(--jp-g2)); }
.jp-seg input:focus-visible + span { outline: 2px solid var(--jp-g); outline-offset: 2px; }
.jp-sw { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 16px 20px 0; padding: 12px 14px; border-radius: 12px; cursor: pointer;
    background: rgba(255,255,255,0.03); border: 1px solid var(--line); }
.jp-sw b { display: block; font-size: 0.94rem; } .jp-sw small { color: var(--muted); font-size: 0.8rem; }
.jp-sw input { position: absolute; opacity: 0; pointer-events: none; }
.jp-sw i { position: relative; flex: none; width: 46px; height: 26px; border-radius: 99px; background: rgba(255,255,255,0.16); transition: background 0.2s; }
.jp-sw i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left 0.2s; }
.jp-sw input:checked + i { background: var(--jp-g); }
.jp-sw input:checked + i::after { left: 23px; }
.jp-sw input:focus-visible + i { outline: 2px solid var(--jp-g); outline-offset: 2px; }
.jp-err { margin: 14px 20px 0; padding: 10px 14px; border-radius: 12px; font-size: 0.9rem; font-weight: 700; color: #fecdd3; background: rgba(244,63,94,0.12); border: 1px solid rgba(244,63,94,0.35); }
.jp-err[hidden] { display: none; }
body.jp-lock { overflow: hidden; }

@media (max-width: 760px) {
    .jp-head { padding-top: 14px; }
    .jp-head > .wrap { padding: 0 12px; }
    .jp-card { border-radius: 20px; padding-bottom: 18px; }
    .jp-banner { aspect-ratio: 2.6 / 1; }
    .jp-cam { padding: 8px; right: 10px; top: 10px; } .jp-cam span { display: none; }
    .jp-row { padding: 0 14px; margin-top: -48px; gap: 10px; }
    .jp-face { width: 104px; height: 104px; padding: 4px; box-shadow: 0 0 0 4px var(--jp-bg), 0 0 22px color-mix(in srgb, var(--jp-c) 40%, transparent); }
    .jp-face img { border-width: 3px; }
    .jp-lv { min-width: 32px; height: 24px; font-size: 0.82rem; right: -2px; bottom: 2px; border-width: 2px; padding: 0 6px; }
    .jp-btns { gap: 6px; padding-bottom: 2px; }
    .jp-btn { min-height: 38px; padding: 0 16px; font-size: 0.88rem; }
    .jp-btn--icon { width: 38px; padding: 0; }
    .jp-follow { min-width: 100px; }
    .jp-id { padding: 12px 16px 0; }
    .jp-bio { font-size: 0.98rem; }
    .jp-facts { font-size: 0.87rem; gap: 6px 14px; }
    .jp-modal { padding: 0; place-items: stretch; }
    .jp-sheet, .jp-sheet--edit { width: 100%; max-height: none; height: 100%; border-radius: 0; border: 0; }
    .jp-two { grid-template-columns: 1fr; margin: 0 16px; }
    .jp-f, .jp-sw, .jp-err { margin-left: 16px; margin-right: 16px; }
    .jp-scenes { margin: 12px 16px 0; grid-template-columns: repeat(3, 1fr); }
    .jp-eface { width: 80px; height: 80px; margin: -40px 0 0 16px; }
    .jp-ehint { margin: -36px 16px 0 108px; min-height: 36px; font-size: 0.76rem; }
    .jp-eacts { align-items: flex-start; justify-content: flex-end; }
    .jp-chip { padding: 7px 11px; font-size: 0.8rem; }
    .jp-seg span { font-size: 0.8rem; padding: 9px 3px; }
    .jp-plist li { padding: 10px 14px; }
}
@media (max-width: 380px) {
    .jp-btn--ghost span { display: none; }
    .jp-btn--ghost { width: 38px; padding: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .jp-veil, .jp-sheet, .jp-follow.is-pop, .jp-skel, .jp-busy i { animation: none; }
    .jp-btn:hover { transform: none; }
}
