.ig-wrap { padding: 0; }
.m { display: none; }

.ig-visual-wrap { position: relative; width: 100%; height: 180px; overflow: hidden; margin-bottom: 0; border-radius: 12px; background: radial-gradient(circle at 60% 30%, rgba(240,190,170,.5), transparent 55%), radial-gradient(circle at 25% 70%, rgba(180,120,160,.35), transparent 50%), linear-gradient(180deg,#3a2c38 0%,#1a1420 100%); background-size: 160% 160%; }
.ig-visual-video, .ig-visual-video-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.ig-visual-video-bg { left: 0; width: 100%; }
.ig-visual-video { opacity: 0; transition: opacity .35s ease; }
.ig-visual-video.on { opacity: 1; }
.ig-cover-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, transparent, #100e17); z-index: 1; pointer-events: none; }

.ig-pf { position: relative; margin-top: -46px; padding: 0 16px; z-index: 6; display: flex; align-items: flex-end; gap: 13px; }
.ig-pf-av { position: relative; width: 82px; height: 82px; border-radius: 50%; flex: 0 0 auto; padding: 2.5px; box-shadow: 0 8px 28px rgba(0,0,0,.5); }
.ig-pf-av.real { background: conic-gradient(from 0deg,#f8d7c8,#c8836a,#f7e08b,#c8836a,#f8d7c8); }
.ig-pf-av.ai { background: conic-gradient(from 0deg,#f6f8fa,#a9b6c5,#dce4ed,#a9b6c5,#f6f8fa); }
.ig-pf-in { width: 100%; height: 100%; border-radius: 50%; background: linear-gradient(135deg,#3a5a68,#1c2e38); background-size: cover; background-position: center; border: 3px solid #100e17; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; color: #cfe4ec; overflow: hidden; }

.ig-pf-info { flex: 1; padding-bottom: 4px; min-width: 0; }
.ig-pf-name { font-size: 19px; font-weight: 900; color: #f2ecdf; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; line-height: 1.2; }
.ig-pf-nick { letter-spacing: -.3px; }
.ig-type-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 900; letter-spacing: .5px; border-radius: 99px; padding: 3.5px 10px; position: relative; overflow: hidden; }
.ig-type-badge svg { width: 10px; height: 10px; }
.ig-type-badge.real { color: #42221a; background: linear-gradient(135deg,#f8d7c8,#e2a48b 55%,#c8836a); box-shadow: 0 3px 12px rgba(226,164,139,.4); }
.ig-type-badge.ai { color: #26303c; background: linear-gradient(135deg,#f6f8fa,#cfd8e2 55%,#a9b6c5); box-shadow: 0 3px 12px rgba(196,207,218,.4); }
.ig-pf-bio { font-size: 11.5px; color: #9c93ab; margin-top: 4px; line-height: 1.4; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.ig-pf-bio.expanded { white-space: normal; overflow: visible; text-overflow: unset; }

.ig-insta-chip { flex: 0 0 auto; align-self: flex-end; margin-bottom: 4px; border-radius: 13px; padding: 1.5px; cursor: pointer; text-decoration: none; background: linear-gradient(45deg,#f9ce34,#ee2a7b 55%,#6228d7); box-shadow: 0 4px 16px rgba(238,42,123,.2); }
.ig-insta-chip .in { background: #17121f; border-radius: 11.5px; padding: 7px 11px; text-align: center; }
.ig-insta-chip .r1 { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 12px; font-weight: 900; }
.ig-insta-chip .r1 svg { width: 13px; height: 13px; color: #ee2a7b; }
.ig-insta-chip .r1 b { background: linear-gradient(45deg,#f9ce34,#ee2a7b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ig-insta-chip .r2 { font-size: 9.5px; font-weight: 800; color: #e8a4c8; margin-top: 2px; white-space: nowrap; }

.ig-actions { display: flex; gap: 8px; padding: 12px 16px 0; }
.ig-btn-sub { flex: 1; border: none; border-radius: 14px; cursor: pointer; padding: 12px 8px; font-family: inherit; font-size: 14px; font-weight: 900; color: #3a2a06; background: linear-gradient(135deg,#f7e08b,#e8b64c 55%,#d29a30); display: flex; align-items: center; justify-content: center; gap: 6px; position: relative; overflow: hidden; }
.ig-btn-sub svg { width: 15px; height: 15px; position: relative; }
.ig-talk-badge { display:inline-block; vertical-align:middle; margin-left:8px; padding:3px 9px; font-size:12px; font-weight:600; letter-spacing:-.2px; color:#fff; background:linear-gradient(135deg,#7c5cff,#c04bff); border-radius:999px; }
.ig-talkonly-panel { text-align:center; padding:44px 20px 40px; }
.ig-talkonly-badge { display:inline-block; padding:6px 16px; font-size:13px; font-weight:700; color:#fff; background:linear-gradient(135deg,#7c5cff,#c04bff); border-radius:999px; }
.ig-talkonly-desc { margin-top:16px; font-size:14px; line-height:1.7; color:#666; }

.ig-nav { position: absolute; top: 12px; left: 0; right: 0; z-index: 5; display: flex; align-items: flex-start; justify-content: space-between; padding: 0 14px; }
.ig-nav-right { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.ig-dm-btn { position: relative; }
.ig-nav-bd { position: absolute; top: -5px; right: -5px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: #f0466a; color: #fff; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; }
.ig-nav-btn { width: 36px; height: 36px; border-radius: 12px; border: 1px solid rgba(232,182,76,.35); background: rgba(10,7,16,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #f0d284; cursor: pointer; display: flex; align-items: center; justify-content: center; text-decoration: none; flex-shrink: 0; padding: 0; }
.ig-nav-btn svg { width: 17px; height: 17px; }

.ig-sub-banner { position: relative; display: flex; align-items: center; gap: 6px; max-width: 64%; background: rgba(10,7,16,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(232,182,76,.35); border-radius: 99px; padding: 6px 14px; overflow: hidden; }
.ig-sub-spark { width: 12px; height: 12px; flex-shrink: 0; color: #f0d284; }
.ig-nav-notice { position: relative; height: 24px; overflow: hidden; min-width: 0; flex: 1; }
.ig-notice-track { display: flex; flex-direction: column; }
.ig-notice-item { height: 24px; line-height: 24px; text-align: center; font-size: 11px; font-weight: 700; color: #f0d284; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ig-notice-item svg.ic { width: 11px; height: 11px; vertical-align: -1px; }

.ig-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 14px 16px 0; }
.ig-tab { cursor: pointer; text-align: center; border-radius: 13px; padding: 8px 2px 10px; background: rgba(255,255,255,.04); border: 1.5px solid rgba(255,255,255,.09); transition: .22s; position: relative; overflow: hidden; text-decoration: none; display: block; }
.ig-tab:active { transform: scale(.93); }
.ig-tab-label { font-size: 11px; font-weight: 700; color: #8f8699; display: flex; align-items: center; gap: 3px; justify-content: center; letter-spacing: 0; }
.ig-tab-crown-ic { width: 10px; height: 10px; color: #e8b64c; flex-shrink: 0; }
.ig-tab-count { display: block; font-size: 13.5px; font-weight: 900; margin-top: 2px; color: #d9d2e4; min-height: 16px; letter-spacing: 0; }
.ig-tab-ind { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%) scaleX(0); width: 55%; height: 2.5px; border-radius: 99px; background: linear-gradient(90deg,#f7e08b,#d29a30); transition: transform .3s cubic-bezier(.2,.9,.3,1.4); }

.ig-tab-gold { background: rgba(232,182,76,.07); border-color: rgba(232,182,76,.35); }
.ig-tab-gold .ig-tab-label { color: #c9b88a; }
.ig-tab-gold .ig-tab-count { color: #f0d284; }

.ig-tab.active { background: rgba(232,182,76,.12); border-color: #e8b64c; }
.ig-tab.active .ig-tab-label { color: #f0d284; }
.ig-tab.active .ig-tab-count { color: #f7e08b; }
.ig-tab.active .ig-tab-ind { transform: translateX(-50%) scaleX(1); }
.ig-tab-gold.active { background: linear-gradient(135deg,#f7e08b,#e8b64c 55%,#d29a30); border-color: transparent; }
.ig-tab-gold.active .ig-tab-label { color: #5a3c0a; }
.ig-tab-gold.active .ig-tab-crown-ic { color: #5a3c0a; }
.ig-tab-gold.active .ig-tab-count { color: #3a2a06; }
.ig-tab-gold.active .ig-tab-ind { background: rgba(58,42,6,.55); }
.ig-tab.burst::after { content: ''; position: absolute; inset: 0; border-radius: 13px; animation: igRingBurst .5s ease-out forwards; pointer-events: none; }
@keyframes igRingBurst { 0% { box-shadow: inset 0 0 0 0 rgba(247,224,139,.55); } 40% { box-shadow: inset 0 0 22px 4px rgba(247,224,139,.35); } 100% { box-shadow: inset 0 0 0 0 rgba(247,224,139,0); } }

.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ig-grid-item { position: relative; display: block; overflow: hidden; cursor: pointer; aspect-ratio: 3 / 4; }
.ig-grid-item input[type="checkbox"] { width: 21px;height: 21px;margin: 4.5px 0 0 4.5px; }
.ig-grid-thumb { width: 100%; height: 100%; background-color: #000; overflow: hidden; position: relative; border-radius: 8px; }
.ig-grid-thumb.blur { isolation: isolate; }
.ig-grid-thumb.blur::before,
.ig-grid-thumb.blur::after { content: ''; position: absolute; inset: -96px; background-image: inherit; background-size: cover; background-position: center; background-repeat: no-repeat; filter: blur(var(--ff-thumb-blur, 12px)); z-index: -1; }
.ig-grid-thumb.blur::after { border: 96px solid transparent; }
.thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #aaa; }

.ig-grid-empty,
.ig-saved-empty { text-align: center; padding: 80px 16px; color: #8b8598; font-size: 13px; line-height: 1.8; background: #16131f; }


.ig-chat-btn { flex: 1; border-radius: 14px; cursor: pointer; padding: 12px 8px; font-family: inherit; font-size: 13.5px; font-weight: 800; color: #eec3b0; background: rgba(223,160,136,.08); border: 1px solid rgba(223,160,136,.35); display: flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; backdrop-filter: none; }
.ig-chat-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.ig-bookmark-btn { width: 46px; border-radius: 14px; cursor: pointer; flex: 0 0 auto; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: #a89fb8; display: flex; align-items: center; justify-content: center; padding: 0; }
.ig-bookmark-btn svg { width: 17px; height: 17px; transition: fill .2s, stroke .2s; }
.ig-bookmark-btn.saved { color: #f0d284; border-color: rgba(232,182,76,.5); }
.ig-bookmark-btn.saved svg { fill: currentColor; }

.ig-profile-wrap { padding: 40px 0 0; background: #fff; }
.ig-profile-top { display: flex; gap: 40px; margin-bottom: 32px; align-items: flex-start; }
.ig-avatar-wrap { flex-shrink: 0; position: relative; }
.ig-avatar-img { width: 150px; height: 150px; border-radius: 8px; object-fit: cover; display: block; background: #eee; filter: grayscale(8%); }
.ig-avatar-wrap:hover .ig-avatar-img { filter: grayscale(0%); }
.ig-verified-badge { position: absolute; bottom: -6px; right: -6px; width: 22px; height: 22px; background: #111; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.ig-profile-right { flex: 1; min-width: 0; }
.ig-username-row { display: flex; align-items: center; gap: 5.5px; flex-wrap: wrap; margin-bottom: 10px; }
.ig-username-row img { width: 20px; height: 20px; vertical-align: -10px; }
.ig-username { font-size: 22px; font-weight: 600; letter-spacing: -.5px; color: #111; }
.ig-bio-text { font-size: 13px; line-height: 1.75; letter-spacing: .1px; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }

.own-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: -7px 0 13px; }
.own-toolbar label { display: flex; align-items: center; gap: 5px; cursor: pointer; font-size: 13px; color: #444; }
.own-toolbar .check-all-cb { width: 14px; height: 14px; cursor: pointer; accent-color: #e74c3c; margin: 0; }
.own-toolbar .bulk-delete-btn { padding: 6px 14px; background: #e74c3c; color: #fff; border: none; border-radius: 2px; font-size: 12px; font-weight: 600; cursor: pointer; margin-left:4px; }
.own-toolbar .bulk-type-btn { padding: 6px 14px; background: #3498db; color: #fff; border: none; border-radius: 2px; font-size: 12px; font-weight: 600; cursor: pointer; }
.bulk-type-opts { display: flex; gap: 8px; margin: 0 0 26px; }
.bulk-type-opt { flex: 1; padding: 12px; border: 1.5px solid #ddd; border-radius: 8px; background: #fff; color: #888; font-size: 14px; font-weight: 600; cursor: pointer; }
.bulk-type-opt.active { border-color: #3498db; color: #3498db; background: #eef6fc; }
#bulkTypeSaveBtn { background: #3498db; color: #fff; }
#bulkTypeCancelBtn { background: #eee; color: #555; }

.post-check-wrap { position: absolute; top: 6px; left: 6px; z-index: 20; }
.paidchip { position: absolute; top: 8px; left: 38px; z-index: 12; pointer-events: none; padding: 2px 8px; border-radius: 999px; background: #e9c46a; color: #241f14; font-size: 11px; font-weight: 700; line-height: 1.5; }
.post-check { width: 18px; height: 18px; cursor: pointer; accent-color: #e74c3c; }
.post-action-bar { position: absolute; bottom: 0; left: 0; right: 0; display: flex; align-items: center; gap: 5px; padding: 0 8px 10px; background: linear-gradient(transparent, rgba(0,0,0,.75)); z-index: 20; }
.post-action-bar .post-edit-btn,
.post-action-bar .post-del-btn,
.post-action-bar .reorder-btn,
.post-action-bar .pin-btn { font-size: 12px; padding: 5px 12px; border-radius: 4px; cursor: pointer; white-space: nowrap; border: none; }
.post-action-bar .post-edit-btn { color: #fff; background: rgba(0,0,0,.18); text-decoration: none; }
.post-action-bar .post-edit-btn:hover { background: rgba(0,0,0,.32); }
.post-action-bar .post-del-btn { color: #fff; background: rgba(231,76,60,.65); }
.post-action-bar .post-del-btn:hover { background: rgba(231,76,60,.9); }
.post-action-bar .reorder-btn { color: #fff; background: rgba(255,255,255,.18); margin-left: auto; }
.post-action-bar .reorder-btn:hover { background: rgba(255,255,255,.32); }
.post-action-bar .pin-btn { color: #241f14; background: #e9c46a; margin-left: auto; }
.post-action-bar .pin-btn:hover { background: #f1d27f; }
.post-action-bar .pin-btn.on { color: #fff; background: #c98f2b; font-weight: 700; }
.post-action-bar .pin-btn + .reorder-btn { margin-left: 0; }
.pinmark { position: absolute; top: 8px; right: 8px; z-index: 12; width: 22px; height: 22px; pointer-events: none; transform: rotate(45deg); filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
.pinmark svg { display: block; width: 100%; height: 100%; fill: #fff; }
.pinmark ~ .newchip.own { top: 36px; }
.post-action-bar:has(.pin-btn) > * { flex: 1 1 0; min-width: 0; margin-left: 0; padding-left: 0; padding-right: 0; text-align: center; }
.post-action-bar:has(.pin-btn) .reorder-btn .pc { display: none; }
.post-action-bar:has(.pin-btn) .reorder-btn .m { display: inline !important; }

.reorder-modal-overlay { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.55); }
.reorder-modal-box { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: #fff; border-radius: 14px; padding: 24px; width: 90%; max-width: 380px; }
.reorder-modal-title { font-size: 16px; font-weight: 600; margin: 0 0 16px; }
.reorder-modal-current { font-size: 13px; color: #666; background: #f7f7f7; border-radius: 8px; padding: 10px 14px; margin: 0 0 16px; line-height: 1.6; }
.reorder-modal-current strong { color: #222; }
.reorder-modal-label { font-size: 13px; color: #555; margin: 0 0 8px; }
.reorder-modal-inputs { display: flex; align-items: center; gap: 6px; margin: 0 0 30px; }
.reorder-modal-inputs input { width: 76px; padding: 9px 10px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; text-align: center; box-sizing: border-box; }
.reorder-modal-inputs span { font-size: 13px; color: #555; }
.reorder-modal-preview { min-height: 20px; font-size: 13px; color: #3498db; margin: 0 0 14px; }
.reorder-modal-btns { display: flex; gap: 8px; }
.reorder-modal-btns button { flex: 1; padding: 11px; border: none; border-radius: 8px; cursor: pointer; font-size: 14px; }
#reorderSaveBtn   { background: #222; color: #fff; }
#reorderCancelBtn { background: #f0f0f0; color: #333; }

.ig-grid-empty svg,
.ig-saved-empty svg { margin-bottom: 16px; }

.pagination { margin: 19px 0 -38px; padding: 0; }

@media (max-width: 999px) {
	main {padding:0;}
    .m { display: block; }

    .ig-visual-wrap { height: 168px; border-radius: 0; margin-bottom: 0; }

    .ig-pf { padding: 0 12px; gap: 11px; margin-top: -44px; }
    .ig-pf-av { width: 78px; height: 78px; }
    .ig-pf-in { font-size: 26px; }
    .ig-pf-name { font-size: 17px; }
    .ig-actions { padding: 11px 12px 0; }
    .ig-tabs { padding: 12px 10px 0; gap: 5px; }
    .ig-tab { padding: 7px 1px 9px; }
    .ig-tab-label { font-size: 10px; }
    .ig-tab-count { font-size: 12px; }

    .ig-grid { grid-template-columns: repeat(3, 1fr); gap: 3px; }
    .ig-grid-item { aspect-ratio: 2 / 3; }
	.ig-grid-item input[type="checkbox"] {width:20px;height:20px;margin:0 0 0 1px;}

	.own-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: -7px 0 13px; }
	.own-toolbar label,
	.bulk-type-btn,
	.bulk-delete-btn {font-size:11px;}

	.post-action-bar .post-edit-btn,
	.post-action-bar .post-del-btn,
	.post-action-bar .reorder-btn,
	.post-action-bar .pin-btn { flex: 1 1 0; min-width: 0; text-align: center; font-size: 9px; padding: 3px 0; }
	.pinmark { top: 6px; right: 6px; width: 16px; height: 16px; }
	.pinmark ~ .newchip.own { top: 28px; }
	.reorder-modal-title { font-size:14px; }
	.reorder-modal-current,
	.reorder-modal-label,
	.reorder-modal-inputs span	{ font-size:12px; }
	.reorder-modal-inputs input { font-size:13px; }
	.reorder-modal-inputs { margin:0 0 25px; }

	.pagination { margin: calc(env(safe-area-inset-bottom, 0px) / 2 + 16px) 0 calc(-1 * (env(safe-area-inset-bottom, 0px) / 2 + 10px)); padding: 0 8px; }
	.ig-frame { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 28px); }

	body.fanfick-app footer { display: none !important; }
}
body.fanfick-app { background: radial-gradient(1100px 720px at 50% -12%, #181426, #08080b 60%) no-repeat fixed #08080b; color: #e8e6f0; }
body.fanfick-app header.pc, body.fanfick-app .sidebar, body.fanfick-app .floating-wrap { display: none !important; }
body.fanfick-app main { display: block; max-width: none; margin: 0; min-height: 0; }
body.fanfick-app .content { max-width: none; margin: 0; padding: 0; }

body.fanfick-app .pagination li a { color: #9a93b2; background: transparent; border: none; }
body.fanfick-app .pagination li a:hover { color: #e9c46a; background: transparent; }
body.fanfick-app .pagination li.active a { color: #e9c46a; background: transparent; }
	
@media (min-width: 1000px) {
	body.fanfick-app.pc-deco.has-pc-shell .ig-frame {
		flex: 1 1 0; min-width: 0; max-width: 1480px; width: auto; height: 92vh; overflow-y: auto;
		margin: 0; border: 1px solid #26262f; border-radius: 20px; background: #100e17;
		box-shadow: 0 24px 70px rgba(0,0,0,.55); box-sizing: border-box; scrollbar-width: none;
	}
	body.fanfick-app.pc-deco.has-pc-shell .ig-frame::-webkit-scrollbar { display: none; }
	body.fanfick-app.pc-deco.has-pc-shell .ig-frame::-webkit-scrollbar-thumb { background: #2c2c33; border-radius: 6px; }
	body.fanfick-app.pc-deco.has-pc-shell .section-divider.pc { display: none; }
	body.fanfick-app.pc-deco.has-pc-shell .ig-visual-wrap { border-radius: 20px 20px 0 0; margin-bottom: 0; }
	body.fanfick-app.pc-deco.has-pc-shell .ig-tabs { border-radius: 0; margin: 0 14px; }

	body.fanfick-app.pc-deco.has-pc-shell .section-divider.list::before,
	body.fanfick-app.pc-deco.has-pc-shell .section-divider.list::after { background: linear-gradient(90deg, transparent, #2c2740, transparent); }
	body.fanfick-app.pc-deco.has-pc-shell .section-divider.list .divider-text { color: #e8e6f0; padding-top: 10px; }
	body.fanfick-app.pc-deco.has-pc-shell .section-divider.list { margin: 6px 0 20px; }
	body.fanfick-app.pc-deco.has-pc-shell .own-toolbar { margin: -7px 12px 16px; }
	body.fanfick-app.pc-deco.has-pc-shell .own-toolbar label { color: #e8e6f0; }
	body.fanfick-app.pc-deco.has-pc-shell .bulk-type-btn, body.fanfick-app.pc-deco.has-pc-shell .bulk-delete-btn { color: #e8e6f0; }

}


#lookbookDivider { margin: 20px 16px 6px; }
#lookbookDivider::before, #lookbookDivider::after { background: linear-gradient(90deg, transparent, rgba(232,182,76,.4)); }
#lookbookDivider::after { background: linear-gradient(90deg, rgba(232,182,76,.4), transparent); }
#lookbookDivider .divider-text { font-size: 12px; font-weight: 800; letter-spacing: 4px; background: linear-gradient(100deg,#f7e08b 20%,#fff7dd 40%,#e8b64c 60%,#c98f2b 80%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (min-width: 1000px) {
	body.fanfick-app.pc-deco.has-pc-shell .ig-visual-wrap { height: 300px; }
	body.fanfick-app.pc-deco.has-pc-shell .ig-tabs { margin: 0; border-radius: 0; }
	body.fanfick-app.has-pc-shell #lookbookDivider { margin: 6px 16px 14px; }
}
/* 프로필 헤더 진입(stagger) 애니메이션 — 목업 profile-header-v2 대응 */
@keyframes igEnter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.ig-pf, .ig-actions, .ig-tabs, #lookbookDivider { animation: igEnter .5s ease-out backwards; }
.ig-pf { animation-delay: .06s; }
.ig-actions { animation-delay: .12s; }
.ig-tabs { animation-delay: .18s; }
#lookbookDivider { animation-delay: .24s; }

.ig-noboard{display:flex;flex-direction:column;align-items:center;gap:10px;padding:80px 20px;text-align:center;}
.ig-noboard-t{font-size:17px;font-weight:800;color:#f1f1f6;}
.ig-noboard-d{font-size:13.5px;color:#9a93b2;}
.ig-noboard-b{margin-top:12px;padding:12px 26px;border-radius:12px;background:linear-gradient(180deg,#ecc977,#e0b455);color:#241d07;font-size:14px;font-weight:800;text-decoration:none;}

.ig-pf-avwrap { position: relative; flex: 0 0 auto; }
.ig-pf-av.editable { cursor: pointer; }
.ig-pf-avwrap .ig-pf-edit { position: absolute; right: -2px; bottom: -2px; z-index: 2; width: 22px; height: 22px; border-radius: 50%; background: #e9c46a; color: #1a1520; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,.5); cursor: pointer; }
.ig-pf-avwrap .ig-pf-edit svg { width: 12px; height: 12px; }
.ig-pf-bio.editable { cursor: pointer; }
.ig-cover-edit { position: absolute; right: 12px; bottom: 12px; z-index: 8; display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px; border: 1px solid rgba(232,196,106,.55); border-radius: 999px; background: rgba(20,16,26,.72); color: #e9c46a; font-size: 11.5px; font-weight: 700; cursor: pointer; }
.ig-cover-edit svg { width: 13px; height: 13px; }
.pfedit-mask { position: fixed; inset: 0; z-index: 100030; background: rgba(0,0,0,.62); opacity: 0; pointer-events: none; transition: opacity .22s; }
.pfedit-mask.on { opacity: 1; pointer-events: auto; }
.pfedit-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100031; max-width: 520px; margin: 0 auto; background: linear-gradient(168deg,#241d2c,#161219); border-radius: 20px 20px 0 0; border: 1px solid rgba(232,196,106,.3); padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); transform: translateY(102%); transition: transform .26s cubic-bezier(.22,.9,.3,1.05); }
.pfedit-sheet.on { transform: translateY(0); }
.pfedit-head { display: flex; align-items: center; font-size: 15px; font-weight: 800; color: #e9c46a; margin-bottom: 12px; }
.pfedit-x { margin-left: auto; background: none; border: 0; color: #8b8794; font-size: 15px; cursor: pointer; }
.pfedit-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; font-size: 12.5px; color: #cfcad6; }
.pfedit-row > span { font-weight: 700; color: #9a93b2; }
.pfedit-row em { font-style: normal; font-size: 11px; color: #7d7690; }
.pfedit-row textarea { width: 100%; resize: vertical; background: #171320; border: 1px solid #2c2637; border-radius: 10px; color: #eee; padding: 9px 10px; font: inherit; }
.pfedit-actions { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.pfedit-more { font-size: 12px; color: #9a93b2; text-decoration: underline; }
.pfedit-save { margin-left: auto; padding: 10px 22px; border: 0; border-radius: 999px; font-weight: 800; font-size: 13px; color: #241a05; background: linear-gradient(160deg,#ffedc2,#e8c476 46%,#c9a24f); cursor: pointer; }

.pfedit-flash { position: fixed; left: 50%; top: 18px; transform: translateX(-50%); z-index: 100040; max-width: 90vw; padding: 11px 18px; border-radius: 12px; font-size: 13px; font-weight: 700; line-height: 1.5; color: #12210f; background: linear-gradient(135deg,#b8f0a0,#8fd97a); box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: opacity .35s, transform .35s; }
.pfedit-flash.err { color: #2a0f12; background: linear-gradient(135deg,#ffc0c4,#f59aa0); }
.pfedit-flash.out { opacity: 0; transform: translateX(-50%) translateY(-12px); }

@font-face {
  font-family: 'Marcellus';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/talk/font/Marcellus-Regular.woff2) format('woff2');
}
.newchip { position: absolute; top: 7px; left: 7px; pointer-events: none; z-index: 12;
  height: 19px; padding: 0 8px; border-radius: 10px;
  display: inline-flex; align-items: center;
  background: rgba(8,7,5,.52);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  border: 1px solid rgba(212,175,55,.3);
  box-shadow: 0 0 5px rgba(212,175,55,.12); }
.newchip.own { left: auto; right: 7px; }
.newchip::before { content: ''; position: absolute; inset: -1px; border-radius: 10px; pointer-events: none;
  border: 1px solid rgba(243,217,133,.43); box-shadow: 0 0 10px rgba(241,214,126,.23);
  opacity: 0; }
.newchip .t { font-family: 'Marcellus', serif; font-size: .864rem; letter-spacing: .24em;
  padding-left: .24em; line-height: 1;
  background: linear-gradient(105deg,#d4af37 15%,#f1d67e 44%,#fff3c4 52%,#f1d67e 60%,#d4af37 85%);
  background-size: 100% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.newchip::after { content: ''; position: absolute; top: -3px; right: -3px; width: 4px; height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle,#fff3c4,rgba(241,214,126,.5) 60%,transparent 75%);
  box-shadow: 0 0 5px rgba(255,243,196,.85); opacity: 0; }
body.viewer-show .ig-grid *,
body.viewer-show .ig-grid *::before,
body.viewer-show .ig-grid *::after,
body.viewer-show .ig-visual-wrap,
body.viewer-show .ig-pf *,
body.viewer-show .ig-pf *::before,
body.viewer-show .ig-pf *::after,
body.viewer-show .ig-actions *,
body.viewer-show .ig-actions *::before,
body.viewer-show .ig-actions *::after,
body.viewer-show .ig-nav *,
body.viewer-show .ig-nav *::before,
body.viewer-show .ig-nav *::after,
body.viewer-show .ig-tabs *,
body.viewer-show .ig-tabs *::before,
body.viewer-show .ig-tabs *::after,
body.viewer-show #lookbookDivider *,
body.viewer-show .section-divider * { animation-play-state: paused; }

body.viewer-show .ig-frame { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  .newchip, .newchip::before, .newchip .t, .newchip::after,
  .ig-visual-wrap,
  .ig-pf, .ig-pf *, .ig-pf *::before, .ig-pf *::after,
  .ig-actions *, .ig-actions *::before, .ig-actions *::after,
  .ig-nav *, .ig-nav *::before, .ig-nav *::after,
  .ig-tabs *, .ig-tabs *::before, .ig-tabs *::after,
  .section-divider *, #lookbookDivider * { animation: none !important; }
}
.ig-grid-thumb .ig-grid-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0; transition: opacity .2s; }
.ig-grid-thumb .ig-grid-video.on { opacity: 1; }
.ig-grid-thumb .sv-peek { background-size: cover; z-index: 0; }
body.viewer-show .ig-grid .sv-peek, body.viewer-show .ig-grid .lock-overlay { animation-play-state: paused; }
