/* 소셜 라운지: 내 발견 카드와 다음 행동을 먼저 보여준다. */
.lounge-heading{padding-bottom:29px}.social-lounge{display:grid;grid-template-columns:1fr 1fr;gap:36px;padding-bottom:44px}.pass-studio{padding:25px;background:#F1EADF;border:1px solid #DFD2BF;border-radius:24px}.studio-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px}.studio-heading h2{font-size:22px;letter-spacing:-.7px;outline:0}.studio-heading>span{font-size:10px;color:var(--muted)}.pass-preview{--card-accent:#FF6A00;max-width:348px;min-height:438px;padding:24px 25px 18px;margin:0 auto;border:1px solid #D9C9AF;background:radial-gradient(ellipse at 80% 44%,#FBE3BE90 0,transparent 55%),#FFFCF2;border-radius:20px;box-shadow:0 7px 0 #DACCBA,0 16px 25px #64513912;position:relative;overflow:hidden;isolation:isolate}.card-brand{display:flex;justify-content:space-between;align-items:center;gap:10px}.card-brand img{width:120px;min-width:120px}.card-brand>span{font-size:7px;letter-spacing:1px;font-weight:700;white-space:nowrap;color:#897D6B}.card-level{font-size:10px;font-weight:700;margin-top:25px;color:#77644E;letter-spacing:.2px}.pass-preview h3{font-size:28px;letter-spacing:-1px;margin:8px 0 8px;line-height:1.2}.pass-preview>p{font-size:11px;min-height:33px;line-height:1.65;color:#776C5B}.card-stage{position:relative;height:169px;margin:1px 0 11px}.card-stage>img{position:absolute;width:110px;height:178px;left:42%;bottom:0;transform:translateX(-50%);filter:drop-shadow(0 8px 6px #5C3C1815)}.card-orbit{position:absolute;left:50%;top:30px;transform:translateX(-50%) rotate(-14deg);width:210px;height:130px;border:1px dashed #D9C3A1;border-radius:50%;background:#F8E8CD88;z-index:-1}.card-emblem{position:absolute;right:35px;top:37px;display:grid;place-items:center;width:61px;height:66px;border-radius:20px;border:3px solid #FBE5BB;background:#FFF3D9;color:var(--card-accent);box-shadow:0 5px 0 #DCBE8A;transform:rotate(9deg);font-size:34px;font-weight:900}.card-stat-row{display:flex;align-items:center;gap:15px;padding:12px 0;border-top:1px solid #E3D6C2;border-bottom:1px solid #E3D6C2;font-size:10px;color:#796D5C}.card-stat-row b{font-size:18px;font-weight:900;color:var(--ink);margin-right:3px}.card-stamps{display:flex;gap:4px;margin-left:auto}.card-stamps>span{width:22px;height:24px;display:grid;place-items:center;border-radius:7px;border:1px dashed #BCAF99;font-size:8px;color:#9D8E76}.card-stamps>.on{background:#EBEFCF;color:#58743F;border:1px solid #B5C295}.pass-preview>small{display:block;margin-top:12px;font-size:8px;letter-spacing:.4px;text-align:center;color:#8B7E6A}.pass-options{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-top:23px}.pass-options button{min-height:44px;padding:9px 11px;border-radius:12px;background:#FCF7EF;border:1px solid #D6CBB8;font-size:10px}.pass-options button[aria-pressed=true]{background:#30271F;border-color:#30271F;color:#FFFAF0;font-weight:700}.pass-options button:disabled{color:#998C77;background:#E6DED2;border-color:#DAD0C0}.make-pass{width:100%;margin-top:15px;font-size:13px}.card-generation-status{min-height:18px;font-size:10px;color:var(--muted);text-align:center;margin-top:10px}.lounge-actions{display:flex;flex-direction:column;gap:20px}.next-discovery{padding:24px;border:1px solid #E2C8AC;background:#FCEBD8;border-radius:21px}.next-guide{display:flex;align-items:center;gap:9px;margin-bottom:13px}.next-guide img{width:34px;height:37px;object-fit:cover;object-position:top;border-radius:11px;background:#FFE2BB}.next-guide>span{font-size:10px;font-weight:700;color:#947043}.next-discovery h3{font-size:25px;letter-spacing:-.8px;line-height:1.35}.next-discovery p{font-size:12px;line-height:1.75;color:#81694F;margin-top:10px}.next-discovery .button{min-height:46px;font-size:12px;margin-top:19px;padding:12px 19px;gap:10px}.lounge-actions .share-card{margin-top:0;padding:23px;background:#F3EEE5;border:1px solid #E4D9C8}.lounge-actions .share-card textarea{font-size:12px;min-height:123px;line-height:1.8}.lounge-actions .share-card p{font-size:10px}.channel-recommendations{padding:4px 3px}.channel-recommendations h3{font-size:17px;letter-spacing:-.5px}.channel-recommendations>p{font-size:11px;color:var(--muted);margin:8px 0 14px}.channel-recommendations>div{display:flex;flex-wrap:wrap;gap:9px}.channel-recommendations a{display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;border:1px solid var(--line);border-radius:12px;background:var(--paper);font-size:11px;font-weight:700}.channel-section{border-top:1px solid var(--line);padding:34px 0 28px}.channel-section h2{font-size:29px;letter-spacing:-1px;margin-top:8px}.channel-filters{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 20px}.channel-filters button{min-height:44px;padding:10px 17px;border:1px solid var(--line);border-radius:25px;background:var(--paper);font-size:12px}.channel-filters button[aria-pressed=true]{background:#30271F;color:#fff;border-color:#30271F;font-weight:700}.channel-section .social-grid{padding-bottom:15px}.social-mark svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;fill:none}.channel-note{font-size:10px;color:var(--muted)}.activity-next-row{display:grid;grid-template-columns:1.2fr 1fr;gap:22px;margin:-10px 0 35px}.activity-next-row .next-discovery{padding:23px}.activity-next-row .next-discovery h3{font-size:22px}.activity-card-link{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #D7C6AE;background:#F9F2E7;border-radius:21px;padding:25px}.activity-card-link>span:first-child{width:48px;height:58px;flex-shrink:0;display:grid;place-items:center;border:1px solid #D5B67F;border-radius:14px;background:#FFF0C9;color:#A3751A;font-size:29px;box-shadow:0 4px 0 #DDCAA7;transform:rotate(-8deg)}.activity-card-link>div{flex:1}.activity-card-link b{font-size:19px;letter-spacing:-.5px}.activity-card-link p{font-size:12px;color:var(--muted);line-height:1.7;margin-top:9px}.activity-card-link>span:last-child{font-size:20px}.pass-dialog-body{padding:25px;max-width:530px;margin:auto}.pass-dialog-body h2{font-size:25px;letter-spacing:-.7px;outline:none}.pass-dialog-body>p{font-size:12px;color:var(--muted);margin:8px 0 17px}.pass-dialog-body>img{display:block;width:100%;height:auto;border:1px solid #E5D9C7;border-radius:18px;background:#FFFCF2}.pass-export-actions{display:flex;gap:10px;margin-top:19px}.pass-export-actions .button{flex:1;min-height:48px;font-size:12px;padding:12px 15px}.pass-dialog-body>#pass-export-status{font-size:10px;line-height:1.7;margin-bottom:0}
@media(max-width:1020px){.social-lounge{gap:23px}.pass-studio{padding:20px}.studio-heading{display:block}.studio-heading>span{display:block;margin-top:5px}.pass-preview{padding:21px;min-height:421px}.card-brand{gap:8px}.card-brand>span{font-size:6px;letter-spacing:.5px}.pass-preview h3{font-size:24px}.card-emblem{right:15px}.next-discovery{padding:22px}.next-discovery h3{font-size:22px}.next-discovery p{font-size:12px}.activity-next-row{grid-template-columns:1fr 1fr}.activity-card-link{gap:15px;padding:20px}.activity-card-link b{font-size:17px}.activity-card-link p{font-size:11px}}
@media(max-width:760px){.lounge-heading{padding-bottom:23px}.social-lounge{display:block;padding-bottom:28px}.pass-studio{padding:19px;border-radius:20px}.studio-heading{display:flex;margin-bottom:18px;align-items:center}.studio-heading h2{font-size:20px}.studio-heading>span{font-size:8px;max-width:90px;text-align:right;margin:0}.pass-preview{padding:20px 21px 16px;min-height:418px;max-width:348px}.card-brand img{width:120px;min-width:120px}.card-brand>span{font-size:6px;max-width:55px;white-space:normal;text-align:right}.card-level{font-size:9px;margin-top:20px}.pass-preview h3{font-size:26px}.pass-preview>p{font-size:10px;min-height:34px}.card-stage{height:161px}.card-stage>img{height:171px;width:106px}.card-emblem{width:55px;height:59px;font-size:30px;right:25px}.card-stat-row{gap:12px;padding:10px 0}.card-stat-row b{font-size:17px}.card-stamps>span{width:20px;height:23px;font-size:7px}.pass-preview>small{font-size:7px}.pass-options{gap:5px;margin-top:20px}.pass-options button{font-size:9px;min-height:44px;padding:8px 10px;flex:0 1 auto}.make-pass{min-height:49px;font-size:12px;margin-top:14px}.card-generation-status{font-size:9px;margin-top:10px}.lounge-actions{margin-top:20px;gap:18px}.next-discovery{padding:22px;border-radius:18px}.next-discovery h3{font-size:23px}.next-discovery p{font-size:12px}.next-discovery .button{width:100%;font-size:12px;margin-top:17px}.lounge-actions .share-card{padding:20px;border-radius:18px}.lounge-actions .share-card textarea{font-size:12px}.channel-recommendations{padding:5px 2px}.channel-recommendations h3{font-size:18px}.channel-recommendations>p{font-size:11px}.channel-recommendations a{font-size:11px}.channel-section{padding-top:26px}.channel-section h2{font-size:25px;margin-top:7px}.channel-section .section-heading{display:flex;align-items:center;gap:10px}.channel-section .result-count{font-size:10px;white-space:nowrap}.channel-filters{gap:6px;margin-top:18px}.channel-filters button{font-size:11px;padding:10px 13px}.channel-section .social-card{min-height:192px}.channel-note{font-size:9px}.activity-next-row{display:block;margin:-10px 0 29px}.activity-next-row .next-discovery{padding:22px}.activity-card-link{margin-top:15px;border-radius:18px;padding:20px;gap:14px}.activity-card-link b{font-size:17px}.activity-card-link p{font-size:11px}.activity-card-link>span:first-child{width:39px;height:49px;font-size:24px;border-radius:12px}.pass-dialog-body{padding:21px 18px}.pass-dialog-body h2{font-size:22px}.pass-dialog-body>p{font-size:11px}.pass-dialog-body>img{border-radius:13px}.pass-export-actions{gap:8px;flex-wrap:wrap;margin-top:16px}.pass-export-actions .button{font-size:11px;min-height:46px;white-space:nowrap}.pass-dialog-body>#pass-export-status{font-size:9px}}
@media(max-width:370px){.pass-studio{padding:16px}.studio-heading h2{font-size:18px}.studio-heading>span{font-size:7px;max-width:75px}.pass-preview{padding:18px 16px 14px;min-height:399px}.pass-preview h3{font-size:24px}.card-brand img{width:120px;min-width:120px}.card-brand>span{font-size:5px;letter-spacing:.1px;max-width:45px}.card-stage{height:148px}.card-stage>img{height:158px;width:98px;left:39%}.card-emblem{right:9px;top:35px;width:50px;height:55px;font-size:28px}.card-orbit{width:174px;height:116px}.card-stat-row{gap:9px;font-size:9px}.card-stat-row b{font-size:16px}.card-stamps{gap:3px}.card-stamps>span{width:18px;height:21px}.pass-options button{font-size:9px;padding:8px 9px}.channel-section h2{font-size:22px}.channel-filters button{font-size:10px;padding:9px 11px}.next-discovery h3{font-size:21px}}

.pass-preview[data-earned=false] .card-emblem{filter:grayscale(.8);opacity:.65}

/* 기존 소셜 프로필 원본의 원형 프레임과 비율을 그대로 보여줍니다. */
.social-card .social-mark{width:64px;height:64px;margin-bottom:16px;background:transparent;border-radius:50%;flex:none}
.social-mark{position:relative;overflow:visible}
.social-mark>.social-profile{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:50%}
.channel-recommendations a{gap:8px}
.channel-recommendations .social-mark-compact{width:28px;height:28px;flex:none;margin:0;background:transparent;border-radius:50%}
@media(max-width:600px){.social-card .social-mark{width:56px;height:56px;margin-bottom:14px}}

/* 얼굴을 가리지 않는 우하단 플랫폼 배지. 원본 플랫폼 로고를 작은 흰 타일에 표시합니다. */
.social-platform{position:absolute;right:-8px;bottom:-3px;width:30px;height:30px;display:grid;place-items:center;background:#fff;border:2px solid var(--paper);border-radius:10px;box-shadow:0 1px 4px #1a171414}
.social-platform img{display:block;width:20px;height:20px;object-fit:contain;border-radius:0}
.channel-recommendations a{gap:12px}
.social-mark-compact .social-platform{width:19px;height:19px;right:-6px;bottom:-2px;border-width:1px;border-radius:6px}
.social-mark-compact .social-platform img{width:13px;height:13px}
@media(max-width:600px){.social-card .social-platform{width:28px;height:28px;right:-7px}.social-card .social-platform img{width:18px;height:18px}}

/* NEXT와 뮤지엄의 학습 보상을 섞지 않고 한 장에 나란히 담는다. */
.pass-preview[data-museum=true] .card-level{margin-top:18px}
.pass-preview[data-museum=true] h3{font-size:26px}
.pass-preview[data-museum=true] .card-stage{height:133px;margin-top:0;margin-bottom:9px}
.pass-preview[data-museum=true] .card-stage>img{height:145px;width:100px}
.pass-preview[data-museum=true] .card-orbit{top:20px;height:104px}
.pass-preview[data-museum=true] .card-emblem{top:29px}
.card-stat-row{flex-wrap:wrap;gap:10px;font-size:9px}
.card-stat-row .card-stamps{margin-left:auto}
.card-museum{padding-top:14px}
.card-museum-heading{display:flex;justify-content:space-between;align-items:center;gap:6px;color:#76634a}
.card-museum-heading>b{font-size:8px;letter-spacing:1px}.card-museum-heading>span{font-size:8px}
.card-museum-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:11px 0 12px}
.card-museum-stats>span{display:flex;flex-direction:column;gap:3px;font-size:8px;color:#76634a}
.card-museum-stats b{font-size:24px;letter-spacing:-.7px;color:#9b4a13;line-height:1.2}.card-museum-stats small{font-size:12px;font-weight:400;color:#95836b;letter-spacing:0}
.card-museum-stamps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.card-museum-stamps li{min-width:0;display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 3px 7px;border-radius:11px;background:#f3ede2;border:1px solid #e2d5bf}
.card-museum-stamps img{width:35px;height:35px;object-fit:contain}.card-museum-stamps b{font-size:9px;line-height:1.4;white-space:nowrap;color:#67583f}.card-museum-stamps span{font-size:8px;color:#8b7b61}
.card-museum-stamps .is-earned{border-color:#d9b46d;background:#fff0ce;box-shadow:0 2px 0 #d8be8a}
.card-museum-stamps .is-earned span{color:#97521c;font-weight:700}.card-museum-stamps .is-pending img{filter:grayscale(.6);opacity:.55}
.card-museum-note{display:flex;flex-direction:column;align-items:center;text-align:center;gap:3px;margin-top:20px;color:#766b5c;font-size:10px;line-height:1.6}
.card-museum-note a{display:inline-flex;align-items:center;min-height:44px;color:#7a3914;font-weight:700;text-decoration:underline;text-underline-offset:3px}
@media(max-width:370px){.pass-preview[data-museum=true] h3{font-size:23px}.pass-preview[data-museum=true] .card-stage{height:123px}.pass-preview[data-museum=true] .card-stage>img{height:135px;width:94px}.card-stat-row{gap:8px;font-size:8px}.card-stat-row b{font-size:15px}.card-stat-row .card-stamps{gap:2px}.card-stat-row .card-stamps>span{width:16px;height:20px}.card-museum-heading>b{font-size:7px;letter-spacing:.4px}.card-museum-heading>span{font-size:7px}.card-museum-stamps{gap:5px}.card-museum-stamps b{font-size:8px}.card-museum-stamps span{font-size:7px}.card-museum-stamps img{width:29px;height:29px}.card-museum-stamps li{padding:7px 2px}.card-museum-note{font-size:9px}}

/* 작은 화면에서도 저장, 초대, 복사 동작이 끊기지 않도록 한다. */
#pass-dialog{max-height:calc(100dvh - 24px);overflow-y:auto;overscroll-behavior:contain}
#pass-dialog .dialog-top{position:sticky;top:0;z-index:2;background:var(--cream)}
.pass-export-actions{flex-wrap:wrap}
.pass-export-actions #share-pass-file{flex-basis:100%}
.pass-export-actions .pass-invite-copy{flex-basis:100%}
.pass-dialog-body .pass-friend-note{font-size:11px;line-height:1.65;color:#67452D;margin:12px 0 7px}
.pass-invite-fallback{margin-top:12px}
.pass-invite-fallback label{display:block;font-size:11px;font-weight:700;margin-bottom:5px}
.pass-invite-fallback input{width:100%;min-width:0;min-height:44px;padding:10px;border:1px solid var(--line);border-radius:9px;background:#fff;font:12px Pretendard,sans-serif;color:var(--ink)}
.pass-save-help{margin-top:12px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}
.pass-save-help summary{min-height:44px;display:flex;align-items:center;cursor:pointer;font-weight:700}
.pass-save-help summary::before{content:'＋';margin-right:6px}
.pass-save-help[open] summary::before{content:'−'}
.pass-save-help summary:focus-visible{outline:3px solid #AF4200;outline-offset:2px;border-radius:5px}
.pass-save-help p{font-size:11px;line-height:1.75;margin:0 0 8px}
@media(max-width:760px){#pass-dialog .pass-dialog-body{padding:16px 18px 18px}#pass-dialog .pass-export-actions{gap:7px;margin-top:12px}.pass-export-actions .button{white-space:normal;text-align:center;min-height:46px}.pass-dialog-body .pass-friend-note{font-size:10px}.pass-save-help{font-size:10px}.pass-save-help p{font-size:10px}}
