.friend-avatar{position:relative;isolation:isolate}.friend-frame{position:absolute;inset:0;z-index:2;display:block;pointer-events:none;background:center/100% 100% no-repeat}.friend-frame--1{background-image:url('../../img/friends/frame-1.svg')}.friend-frame--2{background-image:url('../../img/friends/frame-2.svg')}.friend-frame--3{background-image:url('../../img/friends/frame-3.svg')}.friend-frame--4{background-image:url('../../img/friends/frame-4.svg')}.friend-frame--5{background-image:url('../../img/friends/frame-5.svg')}.friend-frame--6{background-image:url('../../img/friends/frame-6.svg')}.friend-frame--7{background-image:url('../../img/friends/frame-7.svg')}.friend-frame--8{background-image:url('../../img/friends/frame-8.svg')}.friend-frame--9{background-image:url('../../img/friends/frame-9.svg')}.friend-frame--10{background-image:url('../../img/friends/frame-10.svg')}
.friend-badge{display:inline-flex;vertical-align:-.15em;align-items:center;justify-content:center;width:18px;height:18px;margin-left:3px;border-radius:50%;background:#fce9dc;color:#c94d0d}.friend-badge svg{width:14px;height:14px}
.project-friends{background:var(--bg,#f6f7f4);color:var(--ink,#17202b);min-height:70vh}.project-friends__wrap{max-width:1200px;margin:auto;padding:32px 24px 80px}.friends-hero{position:relative;min-height:235px;overflow:hidden;border:1px solid var(--line,#e4e8e1);border-radius:24px;background:#eef4e9}.friends-hero__content{position:relative;z-index:1;max-width:570px;padding:42px}.friends-hero__eyebrow{font-size:11px;letter-spacing:.09em;font-weight:800;color:#bd4b15}.friends-hero h1{margin:12px 0;font-size:clamp(34px,4vw,48px);line-height:1.08;letter-spacing:-.035em;color:#17251f}.friends-hero p{max-width:48ch;margin:0;color:#53665a;line-height:1.55}.friends-hero__art{position:absolute;right:0;bottom:0;width:min(48%,470px)}.friends-hero__art svg{display:block;width:100%}
.friends-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;align-items:start;gap:24px;margin-top:24px}.friends-thanks{display:flex;gap:16px;align-items:flex-start;padding:24px;border-radius:20px;background:#fdf0e7;color:#263029}.friends-thanks__icon{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:14px;background:#fff;color:#d65013;font-size:27px;font-weight:700}.friends-thanks h2,.friends-section h2,.friends-settings h2{margin:0;font-size:20px;letter-spacing:-.02em}.friends-thanks p,.friends-section__head p,.friends-settings>p{margin:6px 0 0;color:var(--quiet,#697481);font-size:14px;line-height:1.55}.friends-section{margin-top:32px}.friends-section__head{margin-bottom:16px}.friends-people{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px}.friends-person{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;padding:20px 12px;border:1px solid var(--line,#e5e7e4);border-radius:16px;background:var(--surface,#fff);text-align:center;color:var(--ink,#17202b);text-decoration:none}.friends-person:hover{border-color:#db9c78}.friends-person strong{overflow-wrap:anywhere;font-size:14px}.friends-person__caption{color:var(--quiet,#697481);font-size:12px}.friends-person__avatar,.friends-frame-sample{display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#edf0ea}.friends-person__avatar{width:78px;height:78px}.friends-person__avatar img,.friends-frame-sample img{width:100%;height:100%;object-fit:cover}.friends-empty{padding:36px 24px;border:1px dashed var(--line,#d7ded5);border-radius:18px;text-align:center;color:var(--quiet,#697481)}.friends-empty span{display:block;color:#c45219;font-size:27px}.friends-empty strong{display:block;color:var(--ink,#17202b)}.friends-empty p{margin:8px 0 0;font-size:14px}
.friends-settings{padding:24px;border:1px solid var(--line,#e5e7e4);border-radius:20px;background:var(--surface,#fff)}.friends-frame-options{margin:24px 0 0;padding:0;border:0}.friends-frame-options legend{font-size:14px;font-weight:700}.friends-frame-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.friends-frame-choice{display:flex;flex-direction:column;align-items:center;gap:6px;position:relative;padding:8px 3px;border:1px solid var(--line,#e5e7e4);border-radius:13px;cursor:pointer;text-align:center}.friends-frame-choice:has(input:checked){border-color:#d25214;background:#fff5ee;box-shadow:inset 0 0 0 1px #d25214}.friends-frame-choice:has(input:focus-visible){outline:2px solid #d25214;outline-offset:2px}.friends-frame-choice:has(input:disabled){cursor:default}.friends-frame-choice input{position:absolute;opacity:0;width:1px;height:1px}.friends-frame-sample{width:52px;height:52px}.friends-frame-choice small{font-size:10px;line-height:1.25;color:var(--quiet,#697481)}.friends-frame-choice--none .friends-frame-sample{font-size:26px;color:#7b8581}.friends-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-top:1px solid var(--line,#e5e7e4)}.friends-toggle:first-of-type{margin-top:20px}.friends-toggle strong,.friends-toggle small{display:block}.friends-toggle strong{font-size:14px}.friends-toggle small{margin-top:3px;color:var(--quiet,#697481);font-size:12px}.friends-toggle input{width:20px;height:20px;accent-color:#d25214}.friends-button{width:100%;min-height:44px;margin-top:10px;border:0;border-radius:12px;background:#c74608;color:#fff;font:inherit;font-weight:700;cursor:pointer}.friends-button:hover{background:#a83b08}.friends-settings__note{margin-top:20px!important;font-size:13px!important}.friends-message{margin-top:16px;padding:10px;border-radius:10px;background:#e9f4e8;font-size:13px}
.rail-support__top{display:flex;align-items:flex-start;gap:12px}.rail-support__icon{display:grid;flex:none;place-items:center;width:40px;height:40px;border-radius:14px;background:#fff1e8;color:#c74608;font-size:25px;font-weight:700}.rail-support h2{margin:0;font-size:16px;line-height:1.3}.rail-support p{margin:7px 0 0;color:var(--quiet,#697481);font-size:13px;line-height:1.5}.rail-support__link{display:inline-flex;align-items:center;gap:8px;margin-top:14px;color:var(--cta,#c74608);font-size:13px;font-weight:700;text-decoration:none}.rail-support__link:hover{text-decoration:underline}
html[data-theme="dark"] .friends-hero{background:#263a2e;border-color:#394a3d}html[data-theme="dark"] .friends-hero h1{color:#eef5e9}html[data-theme="dark"] .friends-hero p{color:#c6d7c5}html[data-theme="dark"] .friends-thanks{background:#3e2b21;color:#f6eee8}html[data-theme="dark"] .friends-frame-choice:has(input:checked){background:#432b20}html[data-theme="dark"] .friend-badge{background:#4a2b1c;color:#ffb27c}
@media(max-width:850px){.friends-layout{grid-template-columns:1fr}.friends-settings{order:-1}.friends-frame-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.friends-hero__content{padding:30px}.friends-hero__art{opacity:.6;width:55%}}
@media(max-width:520px){.project-friends__wrap{padding:16px 16px 80px}.friends-hero{min-height:210px;border-radius:18px}.friends-hero__content{padding:25px 22px}.friends-hero h1{font-size:32px}.friends-hero p{max-width:28ch;font-size:14px}.friends-hero__art{width:65%;opacity:.3}.friends-layout{gap:18px;margin-top:16px}.friends-settings{padding:20px}.friends-frame-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.friends-thanks{padding:18px}.friends-people{grid-template-columns:repeat(2,minmax(0,1fr))}}
.rail-support__link--friends{margin-left:16px}
.friends-hero__art svg{height:auto;aspect-ratio:360/170}
.friend-profile-settings{display:inline-block;margin-top:5px;color:var(--cta,#c74608);font-size:12px;font-weight:650;text-decoration:none}.friend-profile-settings:hover{text-decoration:underline}
