.dashboard-studio > .section-head > div { display: none; }
.dashboard-studio > .section-head { justify-content: flex-end; margin-bottom: 12px; }
.dashboard-studio .form-grid { gap: 18px; }
.dashboard-studio .ih-card,
.dashboard-studio .gift-card,
.tpl-gallery .tpl-publish,
.tpl-gallery .tpl-card { background: linear-gradient(155deg,#1b1d22,#121316); border: 1px solid #303238; border-radius: 18px; box-shadow: none; }
.dashboard-studio .ih-card { padding: 24px; }
.dashboard-studio .ih-card:hover,
.dashboard-studio .gift-card:hover,
.tpl-gallery .tpl-card:hover { translate: none; border-color: #59616e; }
.dashboard-studio .ih-head { gap: 14px; flex-wrap: wrap; }
.dashboard-studio .ih-head-copy h3 { font-size: 14px; font-weight: 600; color: #e8eaee; }
.dashboard-studio .ih-head-copy p { font-size: 12px; line-height: 1.7; color: #999fa9; }
.dashboard-studio .ih-mark, .dashboard-studio .gift-mark, .tpl-gallery .tpl-publish-mark { background: linear-gradient(145deg,#30333a,#1b1d22); border: 1px solid #454b55; border-radius: 12px; color: #d8dee7; width: 42px; height: 42px; }
.dashboard-studio .ih-drop { min-height: 180px; border: 1px dashed #505660; background: #ffffff03; border-radius: 14px; gap: 12px; }
.dashboard-studio .ih-drop:hover, .dashboard-studio .ih-drop.is-over { border-color: #b4bdca; background: #ffffff08; }
.dashboard-studio .ih-drop svg { width: 32px; height: 32px; color: #b6becb; }
.dashboard-studio .ih-drop span { color: #9ca4b1; }
.dashboard-studio .form-input, .tpl-gallery .form-input, .tpl-gallery .tpl-select { background: #101216; color: #e8eaee; border: 1px solid #3c424c; border-radius: 9px; padding: 12px; font-size: 12px; }
.dashboard-studio .form-input:focus, .tpl-gallery .form-input:focus, .tpl-gallery .tpl-select:focus { border-color: #a4aebc; box-shadow: 0 0 0 3px #b7bdc414; }
.dashboard-studio .btn-primary, .tpl-gallery .btn-primary { background: #e0e4e9; color: #171b21; border: 1px solid #e0e4e9; border-radius: 9px; box-shadow: none; padding: 11px 16px; font-weight: 600; }
.dashboard-studio .btn-primary:hover:not(:disabled), .tpl-gallery .btn-primary:hover:not(:disabled) { background: #fff; }
.dashboard-studio .btn-outline, .tpl-gallery .btn-outline { background: #ffffff04; border: 1px solid #454b55; border-radius: 9px; color: #ccd3de; padding: 10px 14px; }
.dashboard-studio .ih-chip { border-radius: 8px; padding: 8px 12px; border-color: #3e444e; }
.dashboard-studio .ih-chip.is-active { background: #343b45; border-color: #8993a1; color: #fff; }
.dashboard-studio .ih-badge { border-color: #464d59; background: #ffffff06; color: #c7cfda; border-radius: 999px; }
.dashboard-studio .tpl-panel-card { padding: 0; border: 0; background: transparent; }
.tpl-gallery .tpl-publish { padding: 24px; margin-bottom: 22px; }
.tpl-gallery .tpl-publish-copy h3 { font-size: 15px; font-weight: 600; color: #e8eaee; }
.tpl-gallery .tpl-publish-copy p { color: #999fa9; font-size: 12px; line-height: 1.7; }
.tpl-gallery .tpl-toolbar { padding: 18px; background: #181a1f; border: 1px solid #30343b; border-radius: 14px; margin-bottom: 18px; }
.tpl-gallery .tpl-search .form-input { padding-inline-start: 2.75rem; }
.tpl-gallery .tpl-toolbar-field { flex: 0 0 auto; min-width: 150px; }
.tpl-gallery .tpl-toolbar-field .op-picker { width: 100%; }
.tpl-gallery .tpl-toolbar-field .op-picker-btn { min-height: 42px; }
.tpl-gallery .tpl-cat-opt { border-radius: 8px; border-color: #3d434d; background: #ffffff03; color: #b9c2d0; }
.tpl-gallery .tpl-cat-opt[aria-pressed=true] { border-color: #9ba6b5; background: #343b45; color: #fff; }
.tpl-gallery .tpl-card { overflow: hidden; }
.dashboard-studio .gift-steps { gap: 14px; margin-bottom: 26px; }
.dashboard-studio .gift-steps li { padding: 20px; border: 1px solid #30343b; border-radius: 14px; background: #ffffff03; box-shadow: none; }
.dashboard-studio .gift-steps li::before { display: none; }
.dashboard-studio .gift-step-n { border-radius: 10px; background: #30353e; border: 1px solid #515966; color: #e3e8ef; box-shadow: none; }
.dashboard-studio .gift-steps b { font-size: 12px; color: #dfe4ec; }
.dashboard-studio .gift-steps span:not(.gift-step-n) { font-size: 11px; line-height: 1.7; color: #969fab; }
.dashboard-studio .gift-grid { gap: 18px; }
.dashboard-studio .gift-card { padding: 24px; display: flex; flex-direction: column; }
.dashboard-studio .gift-card-head h3 { font-size: 16px; font-weight: 600; letter-spacing: -.2px; }
.dashboard-studio .gift-blurb { color: #a0a8b4; font-size: 12px; line-height: 1.8; margin: 18px 0 24px; flex: 1; }
.dashboard-studio .gift-foot { padding-top: 18px; border-top: 1px solid #30343b; flex-wrap: wrap; gap: 16px; }
.dashboard-studio .gift-amount b { font-size: 26px; letter-spacing: -.8px; }
.dashboard-studio .gift-amount i { color: #a1aab8; }
.sub-tab-layout > .tab-sidebar { padding: 14px 10px; border: 1px solid #30343b; border-radius: 16px; background: linear-gradient(165deg,#1c1f25,#131519); gap: 5px; }
.tab-sidebar .tab-sidebar-label { padding: 10px 12px 16px; color: #858f9d; font-size: 9px; letter-spacing: 1.7px; }
.tab-sidebar .tab-sidebar-btn { border: 1px solid transparent; border-radius: 10px; padding: 12px; color: #a0a9b7; font-size: 12px; font-weight: 500; background: transparent; transition: background .15s, color .15s, border-color .15s; }
.tab-sidebar .tab-sidebar-btn:hover { background: #ffffff06; border-color: #ffffff0c; color: #f0f3f7; }
.tab-sidebar .tab-sidebar-btn.active { background: linear-gradient(110deg,#363d48,#272d36); border-color: #566171; color: #f4f6fa; box-shadow: inset 0 1px 0 #ffffff0a; }
.tab-sidebar .tab-sidebar-btn.active::before { display: none; }
.tab-sidebar .tab-sidebar-btn svg { color: currentColor; opacity: .85; width: 17px; height: 17px; }
.tab-sidebar .tab-sidebar-btn:focus-visible { outline: 2px solid #bdc4ce; outline-offset: 2px; }
.tab-sidebar .prem-subnav { margin: 8px 0 12px 15px; padding-left: 12px; border-left: 1px solid #454d59; }
.tab-sidebar .prem-subnav-btn, .tab-sidebar .cust-subnav-btn { color: #939ead; border-radius: 7px; }
.tab-sidebar .prem-subnav-btn.active, .tab-sidebar .cust-subnav-btn.active { color: #edf1f7; background: #ffffff08; }
@media(max-width:760px) { .dashboard-studio .ih-card, .dashboard-studio .gift-card, .tpl-gallery .tpl-publish { padding: 18px; } .dashboard-studio .gift-steps { grid-template-columns: 1fr; } .sub-tab-layout > .tab-sidebar { border-radius: 12px; padding: 8px; } }
@media(max-width:560px) { .tpl-gallery .tpl-toolbar-field { flex: 1 1 calc(50% - 6px); min-width: 0; } }
@media(prefers-reduced-motion:reduce) { .tab-sidebar .tab-sidebar-btn { transition: none; } }

.customize-studio .studio-page-heading { grid-column: 1 / -1; min-width: 0; }
.customize-studio .studio-page-heading > header { margin-bottom: 6px; }
.customize-studio.form-grid, .account-studio .form-grid, .account-studio .ov-grid { gap: 18px; }
.tab-surface .customize-studio .form-card,
.tab-surface.account-studio .form-card,
.account-studio .ov-stat-card { background: linear-gradient(155deg,#1b1d22,#121316); border: 1px solid #303238; border-radius: 18px; padding: 24px; min-width: 0; box-shadow: none; }
.tab-surface .customize-studio .form-card:hover,
.tab-surface.account-studio .form-card:hover,
.account-studio .ov-stat-card:hover { translate: none; border-color: #454d59; }
.customize-studio .card-mark, .account-studio .card-mark { background: linear-gradient(145deg,#30333a,#1b1d22); color: #d0d7e2; border: 1px solid #454b55; border-radius: 11px; }
.customize-studio .card-copy h3, .account-studio .card-copy h3 { font-size: 14px; font-weight: 600; color: #e8eaee; }
.customize-studio .card-copy p, .account-studio .card-copy p { color: #999fa9; font-size: 12px; line-height: 1.7; }
.customize-studio .card-head, .account-studio .card-head { margin-bottom: 22px; }
.customize-studio .form-input, .customize-studio .cef-text-input { background: #101216; color: #e8eaee; border: 1px solid #3c424c; border-radius: 9px; padding: 12px; font-size: 12px; }
.customize-studio .form-input:focus { border-color: #a4aebc; box-shadow: 0 0 0 3px #b7bdc414; }
.customize-studio .form-label, .account-studio .form-label { font-size: 11px; color: #ccd2dc; }
.customize-studio .form-hint, .account-studio .form-hint { color: #9ca5b2; line-height: 1.6; }
.customize-studio .seg-btn { border: 1px solid #3c434e; background: #ffffff03; border-radius: 8px; padding: 9px 13px; color: #b3bdcb; }
.customize-studio .seg-btn.active { border-color: #98a4b4; background: #343d49; color: #fff; box-shadow: none; }
.customize-studio .seg-btn:hover { border-color: #8793a3; }
.customize-studio .layout-opt { background: #ffffff03; border: 1px solid #3c434e; border-radius: 12px; padding: 15px; }
.customize-studio .layout-opt.active { border-color: #a4aebc; background: #ffffff08; box-shadow: inset 0 0 0 1px #a4aebc20; }
.customize-studio .layout-opt > span { color: #c3cbd7; font-size: 11px; }
.customize-studio .media-hub-grid { gap: 16px; }
.customize-studio .media-hub-tile { border: 1px solid #3b424d; background: #15181e; border-radius: 15px; overflow: hidden; }
.customize-studio .media-hub-tile:hover { border-color: #8b97a8; box-shadow: 0 8px 24px #00000022; }
.customize-studio .mht-stage { background-color: #1c2129; }
.customize-studio .mht-act { background: #252d39; border: 1px solid #596577; color: #e5eaf2; border-radius: 8px; }
.customize-studio .clr-grid { gap: 14px; }
.customize-studio .clr-item { border: 1px solid #3b434f; background: #15191f; border-radius: 12px; padding: 14px; }
.customize-studio .clr-item.clr-active { border-color: #758194; box-shadow: none; }
.customize-studio .clr-label { font-size: 11px; color: #c8d0dc; }
.customize-studio .clr-swatch { border-radius: 9px; box-shadow: 0 0 0 1px #ffffff20; }
.customize-studio .pw-summary-btn { background: #ffffff04; border: 1px solid #444d5b; border-radius: 12px; padding: 16px; }
.customize-studio .btn-primary { background: #e0e4e9; color: #171b21; border: 1px solid #e0e4e9; border-radius: 9px; box-shadow: none; padding: 11px 16px; font-weight: 600; }
.customize-studio .btn-outline { background: #ffffff04; border: 1px solid #454b55; border-radius: 9px; color: #ccd3de; padding: 10px 14px; }
.account-studio .ov-stats { gap: 16px; margin-bottom: 22px; }
.account-studio .ov-stat-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #ffffff07; color: #bdc7d6; margin-bottom: 15px; }
.account-studio .ov-stat-n { font-size: 30px; font-weight: 600; letter-spacing: -1px; line-height: 1.2; }
.account-studio .ov-stat-date { font-size: 22px; }
.account-studio .ov-stat-l { margin-top: 8px; font-size: 11px; color: #9ca7b7; }
.account-studio .ov-info-row { padding-top: 18px; border-top: 1px solid #353d48; }
.account-studio .ov-top-link { border: 1px solid #353d48; background: #ffffff03; border-radius: 10px; padding: 12px; }
.account-studio .ov-action-btn { border: 1px solid #424c5b; background: #ffffff04; border-radius: 10px; padding: 14px; color: #c3cedc; }
.account-studio .badge-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.account-studio .badge-card h3 { font-size: 14px; color: #e3e9f1; }
.account-studio .badge-card p { color: #9ca7b7; font-size: 12px; line-height: 1.7; }
.tab-surface.account-studio .badge-card-equipped { border-color: #a3afc0; background: linear-gradient(155deg,#282f39,#181d25); }
.account-studio .badge-card-locked { border-style: dashed; }
.account-studio .analytics-card-heading h3 { color: #e8edf4; font-size: 18px; font-weight: 600; }
.account-studio .analytics-card-kicker { color: #919fb1; font-size: 10px; letter-spacing: 1.4px; }
.account-studio .analytics-combined-card { overflow: hidden; }
.customize-studio button:focus-visible, .account-studio button:focus-visible { outline: 2px solid #bdc4ce; outline-offset: 3px; }
@media(max-width:760px) { .tab-surface .customize-studio .form-card, .tab-surface.account-studio .form-card { padding: 18px; } .account-studio .ov-stats { grid-template-columns: repeat(2,minmax(0,1fr)); } .account-studio .ov-stat-card { padding: 16px; } .customize-studio .media-hub-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:420px) { .customize-studio .media-hub-grid { grid-template-columns: 1fr; } }

.links-studio-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; padding: 12px 0; border-bottom: 1px solid #303844; }
.links-studio-toolbar > span { font-size: 10px; font-weight: 600; color: #bcc7d6; letter-spacing: 1.5px; }
.links-studio-toolbar p { margin: 0; color: #95a2b4; font-size: 11px; }
#tab-links .platform-picker-card { padding: 24px; background: linear-gradient(155deg,#1b1d22,#121316); border: 1px solid #303844; border-radius: 18px; box-shadow: none; margin-bottom: 22px; }
#tab-links .platform-picker-card:hover { translate: none; }
#tab-links .links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
#tab-links .link-card { display: grid; grid-template-columns: 40px minmax(0,1fr) 30px 30px; grid-template-rows: 32px 28px 32px; gap: 10px 8px; padding: 13px; min-width: 0; border: 1px solid #39414c; border-radius: 16px; background: linear-gradient(150deg,#252a32,#191d24 75%); box-shadow: inset 0 1px 0 #ffffff08,0 3px 12px #00000012; transition: border-color .18s, box-shadow .18s; }
#tab-links .link-card:hover { border-color: #75808f; translate: none; box-shadow: inset 0 1px 0 #ffffff0b,0 5px 18px #00000020; }
#tab-links .link-card.dragging { opacity: .4; }
#tab-links .link-card.drag-over { border-color: #d0d9e6; box-shadow: 0 0 0 2px #c8d5e522; }
#tab-links .link-info, #tab-links .link-actions { display: contents; }
#tab-links .link-icon { grid-column: 1; grid-row: 1; width: 32px; height: 32px; border: 1px solid #ffffff12; border-radius: 10px; background: #ffffff06; box-shadow: none; color: #edf1f6; }
#tab-links .link-icon :is(svg,img) { display: block; width: 18px; height: 18px; }
#tab-links .link-title { grid-column: 2 / 4; grid-row: 1; align-self: center; font-size: 12px; font-weight: 650; color: #edf1f6; min-width: 0; margin: 0; letter-spacing: -.15px; }
#tab-links .link-drag { grid-column: 4; grid-row: 1; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: #727e8f; cursor: grab; }
#tab-links .link-drag:hover { color: #d1dae7; background: #ffffff06; }
#tab-links .link-drag svg { width: 14px; height: 18px; display: block; }
#tab-links .link-url { grid-column: 1 / -1; grid-row: 2; align-self: stretch; min-width: 0; margin: 0; padding: 6px 9px; border: 1px solid #ffffff07; border-radius: 7px; background: #0a0d123d; color: #96a3b5; font-size: 10px; line-height: 14px; direction: ltr; text-align: start; }
#tab-links .link-clicks { grid-column: 2; grid-row: 3; justify-self: start; align-self: center; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: 10px; color: #a6b2c2; font-variant-numeric: tabular-nums; }
#tab-links .link-actions .toggle-btn { grid-column: 1; grid-row: 3; display: grid; place-items: center; min-height: 32px; padding: 0; margin: 0; border: 0; background: transparent; border-radius: 8px; }
#tab-links .link-actions .toggle-track { width: 32px; height: 18px; }
#tab-links .link-actions .toggle-thumb { width: 12px; height: 12px; }
#tab-links .link-actions .toggle-btn.on .toggle-thumb { transform: translateX(14px); }
#tab-links:dir(rtl) .link-actions .toggle-btn.on .toggle-thumb { transform: translateX(-14px); }
#tab-links .link-actions .icon-btn { grid-row: 3; display: grid; place-items: center; width: 30px; height: 30px; min-height: 30px; padding: 0; border: 1px solid #ffffff0d; border-radius: 9px; background: #ffffff03; color: #abb7c8; transition: background .16s, border-color .16s, color .16s; }
#tab-links .link-actions .edit-btn { grid-column: 3; }
#tab-links .link-actions .del-btn { grid-column: 4; }
#tab-links .link-actions .icon-btn svg { width: 14px; height: 14px; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#tab-links .link-actions .icon-btn:hover { color: #f3f6fa; border-color: #ffffff25; background: #ffffff0b; }
#tab-links .link-actions .del-btn:hover { color: #f2a5ab; border-color: #f2a5ab30; background: #f2a5ab0c; }
#tab-links .link-actions :is(.toggle-btn,.icon-btn):focus-visible { outline: 2px solid #bdc9d8; outline-offset: 3px; }
#tab-links .link-card:has(.toggle-btn:not(.on)) :is(.link-title,.link-url) { opacity: .45; }
#tab-links .empty-state { grid-column: 1 / -1; padding: 48px 20px; border: 1px dashed #465367; border-radius: 16px; background: #ffffff02; }
@media (prefers-reduced-motion: reduce) { #tab-links .link-card, #tab-links .link-actions .icon-btn { transition: none; } }


.global-save-bar { width: min(540px,calc(100% - 32px)); left: 50%; right: auto; bottom: max(20px,env(safe-area-inset-bottom)); padding: 16px; gap: 14px; border: 1px solid #62697588; border-radius: 18px; background: linear-gradient(135deg,#272b32f5,#171a20f5); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 20px 60px #0008,inset 0 1px 0 #ffffff0c; transform: translate(-50%,150%); visibility: hidden; transition: transform .25s ease,opacity .2s ease,visibility .25s; }
.global-save-bar.show { visibility: visible; transform: translate(-50%,0); }
.global-save-mark { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border: 1px solid #58616e; border-radius: 12px; color: #d7dee8; background: #ffffff06; }
.global-save-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.global-save-bar .global-save-bar-msg { display: block; font-family: var(--font-main); font-size: 12px; font-weight: 600; line-height: 1.5; color: #eef1f5; white-space: normal; }
.global-save-hint { font-size: 11px; line-height: 1.5; color: #a1aab7; }
.global-save-bar .save-status { font-family: var(--font-main); font-size: 11px; line-height: 1.5; white-space: normal; overflow-wrap: anywhere; color: #ccd6e3; }
.global-save-bar .save-status:empty { display: none; }
.global-save-bar .btn-primary { flex-shrink: 0; padding: 11px 20px; border: 1px solid #e0e4e9; border-radius: 10px; background: #e0e4e9; color: #171b21; font: 600 12px var(--font-main); box-shadow: none; text-transform: none; letter-spacing: 0; }
.global-save-bar .btn-primary:hover:not(:disabled) { background: #fff; transform: none; }
.global-save-bar .btn-primary:focus-visible { outline: 2px solid #e0e4e9; outline-offset: 4px; }
.global-save-bar .btn-primary:disabled { opacity: .55; cursor: wait; }
@media(max-width:420px) { .global-save-bar { padding: 14px; gap: 10px; flex-wrap: wrap; } .global-save-mark { width: 34px; height: 34px; } .global-save-copy { flex-basis: calc(100% - 50px); } .global-save-bar .btn-primary { width: 100%; } }
@media(prefers-reduced-motion:reduce) { .global-save-bar { transition: none; } }

#qr-modal .share-sheet { width: min(720px,100%); max-width: 720px; padding: 28px; gap: 22px; border: 1px solid #49515e; border-radius: 24px; background: linear-gradient(145deg,#242931f7,#14171dfc); box-shadow: 0 32px 100px #0009,inset 0 1px 0 #ffffff0c; }
#qr-modal .share-header { align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid #ffffff10; }
#qr-modal .share-header > div { flex: 1; }
.share-brand-mark { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border: 1px solid #536070; border-radius: 14px; color: #d9e1ed; background: #ffffff06; }
.share-eyebrow { display: block; font-size: 9px; color: #9ba8ba; letter-spacing: 1.5px; margin-bottom: 6px; }
#qr-modal .share-header h2 { font-family: var(--font-main); font-size: 21px; font-weight: 600; letter-spacing: -.5px; color: #eef2f8; }
#qr-modal .share-header p { color: #a1adbd; font-size: 12px; line-height: 1.65; margin-top: 6px; }
#qr-modal .share-close { align-self: flex-start; border-color: #424d5c; background: #ffffff04; border-radius: 11px; }
#qr-modal .share-section-label { font-size: 11px; font-weight: 500; color: #c1ccdb; margin-bottom: 10px; }
#qr-modal .share-url-row { padding: 6px; border: 1px solid #4c5869; border-radius: 13px; background: #10141a; gap: 6px; }
#qr-modal .share-url-row .form-input { background: transparent; border: 0; box-shadow: none; color: #c9d3e1; height: 42px; }
#qr-modal .share-url-row .btn-primary { padding: 10px 20px; border: 1px solid #e0e4e9; background: #e0e4e9; color: #171b21; font-family: var(--font-main); font-size: 12px; font-weight: 600; letter-spacing: 0; box-shadow: none; }
#qr-modal .share-url-row .btn-primary:hover { background: #fff; }
#qr-modal .share-copy-status { margin: 8px 0 0; min-height: 0; color: #c5d3e5; }
#qr-modal .share-copy-status.is-error { color: #fca5a5; }
#qr-modal .share-copy-status:empty { display: none; }
#qr-modal .share-card-preview { border: 1px solid #3d4756; border-radius: 14px; background: #0d1015; }
#qr-modal .share-split { background: #ffffff03; border: 1px solid #3d4756; border-radius: 16px; padding: 20px; gap: 24px; }
#qr-modal .qr-modal-img-wrap { flex: 0 0 156px; padding: 12px; background: #fff; border-radius: 12px; }
#qr-modal .qr-modal-img-wrap img { width: 132px; height: 132px; display: block; }
#qr-modal .share-scan-copy strong { font-size: 13px; color: #e2e9f3; font-weight: 600; }
#qr-modal .share-scan-copy p { font-family: var(--font-main); color: #99a7ba; font-size: 11px; line-height: 1.6; margin: 5px 0 10px; }
#qr-modal .share-actions .btn-outline { background: #ffffff04; border: 1px solid #4b5768; border-radius: 9px; color: #d0dbe9; font-size: 11px; padding: 10px 13px; text-decoration: none; }
#qr-modal .share-actions .btn-outline:hover { background: #ffffff0b; border-color: #8c9cb1; }
#qr-modal .share-sheet :is(button,a,input):focus-visible { outline: 2px solid #bdc9db; outline-offset: 3px; }
@media(max-width:560px) { #qr-modal .share-sheet { padding: 20px; border-radius: 18px; gap: 18px; } .share-brand-mark { display: none; } #qr-modal .share-header h2 { font-size: 18px; } #qr-modal .share-split { flex-direction: column; gap: 18px; padding: 18px; } #qr-modal .qr-modal-img-wrap { flex-basis: auto; } #qr-modal .share-actions { width: 100%; } }

.modal-overlay, .media-modal-overlay { background: #06080dbd; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 20px; }
.modal-overlay .modal, .media-modal-overlay .media-modal, .modal-overlay .prem-upsell-card { border: 1px solid #4a5362; border-radius: 22px; background: linear-gradient(145deg,#242931fa,#14171dfc); box-shadow: 0 32px 100px #0009,inset 0 1px 0 #ffffff0b; color: #e5ebf4; max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #566173 transparent; }
.modal-overlay .modal { padding: 26px; gap: 20px; }
.modal-overlay .modal::before { background: linear-gradient(90deg,transparent,#bcc7d333,transparent); }
.modal-overlay .modal-header, .media-modal .mmodal-head { gap: 14px; padding-bottom: 18px; border-bottom: 1px solid #3a4350; align-items: center; }
.modal-overlay .modal-header > :first-child, .media-modal .mmodal-head > div { min-width: 0; }
.modal-overlay .modal h2, .modal-overlay .modal h3, .media-modal .mmodal-title, .modal-overlay .prem-upsell-title { font-family: var(--font-main); color: #eef2f8; font-size: 19px; font-weight: 600; letter-spacing: -.4px; text-transform: none; line-height: 1.4; }
.modal-overlay .modal p:not(.modal-warn):not(.modal-error), .media-modal .mmodal-sub, .modal-overlay .prem-upsell-sub { font-family: var(--font-main); font-size: 12px; color: #a3afbf; line-height: 1.7; }
.modal-overlay .modal-close, .media-modal .mmodal-close { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid #485364; border-radius: 10px; background: #ffffff04; color: #b6c3d4; cursor: pointer; }
.modal-overlay .modal-close:hover, .media-modal .mmodal-close:hover { background: #ffffff0d; color: #fff; }
.modal-overlay .modal-body, .media-modal .mmodal-body { gap: 18px; }
.modal-overlay .modal-footer, .media-modal .mmodal-actions { gap: 10px; padding-top: 18px; border-top: 1px solid #3a4350; flex-wrap: wrap; }
.modal-overlay .form-label, .media-modal .form-label, .mmodal-section-label { color: #c7d1df; font-size: 11px; font-weight: 500; letter-spacing: .02em; }
.modal-overlay .form-input, .media-modal .form-input, .modal-overlay .token-box { border: 1px solid #475262; border-radius: 10px; background: #10141a; color: #e2eaf5; font-family: var(--font-main); font-size: 12px; padding: 12px 14px; }
.modal-overlay .form-input:focus, .media-modal .form-input:focus { border-color: #b3c1d3; box-shadow: 0 0 0 3px #b3c1d312; }
.modal-overlay .form-hint, .media-modal .mmodal-hint { color: #96a4b7; font-size: 11px; line-height: 1.6; }
.modal-overlay .btn-primary, .media-modal .btn-primary { background: #e0e4e9; border: 1px solid #e0e4e9; border-radius: 10px; color: #171b21; font-family: var(--font-main); font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; padding: 11px 18px; box-shadow: none; }
.modal-overlay .btn-primary:hover:not(:disabled), .media-modal .btn-primary:hover:not(:disabled) { background: #fff; transform: none; }
.modal-overlay .btn-outline, .media-modal .btn-outline { background: #ffffff04; border: 1px solid #4b5768; border-radius: 10px; color: #ced8e6; font-family: var(--font-main); font-size: 12px; padding: 10px 16px; }
.modal-overlay .btn-outline:hover:not(:disabled), .media-modal .btn-outline:hover:not(:disabled) { background: #ffffff0b; border-color: #8c9cb1; }
.modal-overlay button:disabled, .media-modal button:disabled { opacity: .5; cursor: not-allowed; }
.modal-overlay :is(button,a,input,textarea,select):focus-visible, .media-modal :is(button,a,input,textarea,select):focus-visible { outline: 2px solid #bdc9db; outline-offset: 3px; }
.media-modal .mmodal-icon, .modal-overlay .modal-icon, .modal-overlay .prem-upsell-mark { background: linear-gradient(145deg,#353d49,#242a33); border: 1px solid #566275; border-radius: 12px; color: #d0daea; }
.media-modal .mmodal-divider { background: #3a4350; }
.modal-overlay .ue-tile { border: 1px solid #414c5b; border-radius: 11px; background: #ffffff03; padding: 12px; }
.modal-overlay .ue-tile:hover { border-color: #8c9aaf; background: #ffffff08; }
.modal-overlay .ue-tile.active { border-color: #becbde; background: #ffffff0b; box-shadow: inset 0 0 0 1px #becbde20; }
.modal-overlay .ue-preview-stage { border: 1px solid #414c5b; border-radius: 14px; background-color: #10141a; }
.modal-overlay .ue-preview-info { border-top: 1px solid #394352; padding-top: 16px; }
.modal-overlay .ue-preview-title { color: #dfe7f3; }
.modal-overlay .seg-btn, .media-modal .seg-btn { border: 1px solid #465264; border-radius: 8px; background: #ffffff03; color: #b8c5d8; padding: 9px 12px; }
.modal-overlay .seg-btn.active, .media-modal .seg-btn.active { border-color: #a5b5cb; background: #374252; color: #fff; }
.modal-overlay .ih-gallery-modal-list { gap: 14px; }
.modal-overlay .ih-gallery-modal-list > div { border-radius: 12px; border-color: #465264; }
.modal-overlay .prem-upsell-card { padding: 30px; }
.modal-overlay .prem-upsell-head { gap: 16px; padding-bottom: 22px; border-bottom: 1px solid #3a4350; }
.modal-overlay .prem-upsell-list { gap: 12px; padding: 20px 0; }
.modal-overlay .prem-upsell-item { color: #c6d1e0; font-size: 12px; line-height: 1.6; }
.modal-overlay .prem-upsell-check { background: #ffffff08; color: #cbd7e8; border-color: #546174; border-radius: 6px; }
.modal-overlay .prem-upsell-foot { border-top: 1px solid #3a4350; padding-top: 20px; gap: 14px; }
.modal-overlay .store-breakdown { border: 1px solid #424e60; border-radius: 12px; background: #10141a; padding: 16px; }
.modal-overlay .store-line.is-total { color: #f1f5fb; border-color: #424e60; }
.modal-overlay .store-consent { border: 1px solid #424e60; border-radius: 10px; background: #ffffff03; padding: 14px; }
@media(max-width:600px) { .modal-overlay, .media-modal-overlay { padding: 12px; } .modal-overlay .modal, .modal-overlay .prem-upsell-card { padding: 20px; border-radius: 18px; max-height: calc(100dvh - 24px); } .media-modal-overlay .media-modal { border-radius: 18px; max-height: calc(100dvh - 24px); } .modal-overlay .ue-preview-body { grid-template-columns: 1fr; } .modal-overlay .ue-tile-grid { max-height: 240px; } .modal-overlay .modal-footer > .btn-primary { flex: 1; } }
@media(prefers-reduced-motion:reduce) { .modal-overlay, .modal-overlay .modal, .media-modal-overlay, .media-modal, .prem-upsell-card { animation: none; } }
.metadata-images { display: grid; gap: 16px; margin-bottom: 28px; }
.metadata-image-card { min-width: 0; display: grid; gap: 10px; padding: 16px; background: #ffffff04; border: 1px solid #ffffff18; border-radius: 17px; }
.metadata-image-preview { aspect-ratio: 1200 / 630; border-radius: 11px; background: #222831; border: 1px solid #ffffff12; display: grid; place-items: center; overflow: hidden; color: #aab8ca; }
.metadata-image-preview img { width: 100%; height: 100%; object-fit: cover; }
.metadata-image-preview-favicon { width: 64px; aspect-ratio: 1; }
.metadata-image-preview-favicon img { object-fit: contain; }
.metadata-image-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.metadata-image-heading .form-label { margin:0; }
.metadata-image-delete { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:34px; padding:7px 12px; border:1px solid #b85a633b; border-radius:999px; background:linear-gradient(135deg,#a63f4a20,#a63f4a0a); color:#f0a0a6; font-family:inherit; font-size:11px; font-weight:600; line-height:1; cursor:pointer; transition:color .18s ease,border-color .18s ease,background .18s ease,transform .18s ease; }
.metadata-image-delete:hover:not(:disabled) { color:#ffdadd; border-color:#df727b91; background:#a63f4a30; transform:translateY(-1px); }
.metadata-image-delete:focus-visible { outline:2px solid #e58b91; outline-offset:3px; }
.metadata-image-delete:disabled { opacity:.5; cursor:wait; }
.metadata-image-card small, .metadata-images > p { color: #b8c4d4; font-size: 12px; line-height: 1.7; }
.metadata-image-card input { width: 100%; min-width: 0; color: #c4cfdd; font-size: 11px; }
.metadata-image-card input::file-selector-button { background: #424d5d; color: #f0f4fa; border: 1px solid #6b798d; border-radius: 999px; padding: 10px 14px; margin-inline-end: 10px; cursor: pointer; }
.metadata-image-card input:focus-visible { outline: 2px solid #cfdaeb; outline-offset: 5px; border-radius: 6px; }
.metadata-image-card input:disabled { opacity: .55; cursor: wait; }
.discord-metadata { margin-top: 28px; padding-top: 24px; border-top: 1px solid #ffffff16; min-width: 0; }
.discord-metadata-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.discord-metadata-heading h4 { margin: 0; color: #e4eaf3; font-size: 14px; font-weight: 600; }
.discord-metadata-heading > span { padding: 5px 9px; border: 1px solid #ffffff20; border-radius: 999px; color: #c8d3e2; font-size: 10px; }
.discord-metadata-stage { background: #313338; border: 1px solid #ffffff12; border-radius: 16px; padding: 20px; overflow: hidden; }
.discord-metadata-message { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.discord-metadata-message img { border-radius: 50%; object-fit: contain; background: #25272c; padding: 5px; }
.discord-metadata-message > div { display: grid; gap: 3px; }
.discord-metadata-message strong { color: #f2f3f5; font-size: 12px; }
.discord-metadata-message span { color: #b5bac1; font-size: 10px; }
.discord-metadata-url { display: block; color: #78baff; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; margin-bottom: 12px; }
.discord-metadata-embed { display: grid; gap: 9px; padding: 16px; border-radius: 5px 10px 10px 5px; border-inline-start: 4px solid #aab8ca; background: #2b2d31; min-width: 0; }
.discord-metadata-provider { color: #c4c9d1; font-size: 11px; }
.discord-metadata-name { color: #78baff; font-size: 16px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.discord-metadata-embed p { margin: 0; color: #dbdee1; font-size: 13px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.discord-metadata-cover { display: block; width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 8px; margin-top: 4px; background: #232428; }
.discord-metadata-note { color: #aebccc; font-size: 11px; line-height: 1.8; margin: 12px 0 0; }
.discord-metadata a:focus-visible { outline: 2px solid #b8d9ff; outline-offset: 4px; border-radius: 3px; }
@media (max-width: 560px) { .discord-metadata-stage { padding: 14px; } .discord-metadata-embed { padding: 12px; } }
.typography-heading { display: flex; justify-content: space-between; align-items: start; gap: 18px; }
.typography-reset { border: 1px solid #68778b; border-radius: 999px; background: #ffffff06; color: #dae3ee; padding: 8px 14px; font-size: 12px; cursor: pointer; }
.typography-body { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 28px; margin-top: 22px; }
.typography-controls { display: grid; gap: 24px; align-content: center; }
.typography-controls label { display: flex; justify-content: space-between; gap: 12px; color: #d6e0ed; font-size: 12px; }
.typography-controls output { font-variant-numeric: tabular-nums; color: #f2f5fa; }
.typography-controls input { width: 100%; margin: 14px 0 8px; accent-color: #c2ccdb; cursor: pointer; }
.typography-range { display: flex; justify-content: space-between; color: #aebbd0; font-size: 10px; }
.typography-preview { display: grid; align-content: center; min-width: 0; min-height: 180px; padding: 24px; border: 1px solid #66768b55; border-radius: 18px; background: radial-gradient(ellipse at top right,#d2deed12,transparent 75%),#252d37; }
.typography-preview > span { font-size: 9px; letter-spacing: .12em; color: #b6c4d7; margin-bottom: 18px; }
.typography-preview strong { color: #f0f4fa; font-weight: 500; }
.typography-preview p { color: #c8d3e3; font-size: inherit; line-height: 1.7; margin: 8px 0 0; overflow-wrap: anywhere; }
.typography-card :is(input,button):focus-visible { outline: 2px solid #d7e3f4; outline-offset: 5px; }
@media(max-width:600px) { .typography-body { grid-template-columns: minmax(0,1fr); } .typography-heading { flex-wrap: wrap; } }
.account-identity-row { display:flex; align-items:center; gap:10px; }.account-identity-row > span { color:#a8bad0; }.account-identity-row input { min-width:0; flex:1; }.account-identity-row button { flex-shrink:0; }
.avatar-visibility-control { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:18px 20px; margin-bottom:22px; border:1px solid #75869d44; border-radius:16px; background:#ffffff04; }.avatar-visibility-control strong { font-size:13px; color:#dce6f4; }.avatar-visibility-control .form-hint { max-width:560px; }.avatar-visibility-control button { flex-shrink:0; }
@media(max-width:600px) { .account-identity-row { flex-wrap:wrap; }.account-identity-row button { width:100%; }.avatar-visibility-control { flex-wrap:wrap; gap:14px; } }

.discord-account-summary{display:flex;align-items:center;gap:1rem;margin-bottom:1.2rem;min-width:0}
.discord-account-avatar{width:64px;height:64px;flex-shrink:0;border-radius:20px;overflow:hidden;display:grid;place-items:center;background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.1);color:var(--text-body)}
.discord-account-avatar img{width:100%;height:100%;object-fit:cover}
.discord-account-summary>div:last-child{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:.45rem}
.discord-account-summary strong{overflow-wrap:anywhere;font-size:1rem;color:var(--text-heading,var(--text-body))}
.discord-account-fields{margin:0;display:grid;gap:0}
.discord-account-fields>div{padding:.8rem 0;display:grid;grid-template-columns:100px minmax(0,1fr);gap:.8rem;border-top:1px solid rgba(255,255,255,.07)}
.discord-account-fields dt{font-size:.78rem;color:var(--text-muted)}
.discord-account-fields dd{margin:0;font-size:.85rem;color:var(--text-body);overflow-wrap:anywhere;unicode-bidi:plaintext}
.discord-account-details .acct-link-btn{margin-top:.9rem}
@media(max-width:480px){.discord-account-fields>div{grid-template-columns:1fr;gap:.3rem}}

#tab-links .link-card {
    border: 1px solid var(--gb-primary-edge, rgba(255,255,255,0.22));
    background: var(--gb-primary-bg);
    -webkit-backdrop-filter: var(--gb-blur, blur(18px) saturate(170%));
    backdrop-filter: var(--gb-blur, blur(18px) saturate(170%));
    box-shadow: var(--gb-primary-shadow);
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
#tab-links .link-card:hover {
    border-color: var(--gb-hover-edge, rgba(255,255,255,0.34));
    background-color: rgba(34,37,46,0.5);
    box-shadow: var(--gb-hover-shadow);
}
#tab-links .link-card.drag-over { border-color: rgba(255,255,255,0.55); box-shadow: var(--gb-hover-shadow), 0 0 0 2px rgba(255,255,255,0.12); }
#tab-links .link-icon {
    border: 1px solid var(--gb-edge, rgba(255,255,255,0.14));
    background: var(--gb-bg);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.16);
}
#tab-links .link-url {
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(8,10,14,0.32);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
    color: rgba(255,255,255,0.68);
}
#tab-links .link-title { text-shadow: 0 1px 2px rgba(0,0,0,0.35); }

#link-modal .link-modal-card {
    border: 1px solid var(--gb-primary-edge, rgba(255,255,255,0.22));
    background: var(--gb-primary-bg);
    -webkit-backdrop-filter: var(--gb-blur, blur(18px) saturate(170%));
    backdrop-filter: var(--gb-blur, blur(18px) saturate(170%));
    box-shadow: var(--gb-primary-shadow), 0 24px 60px rgba(0,0,0,0.45);
}
#link-modal .link-modal-card::before { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent); }
#link-modal .modal-header { border-bottom-color: rgba(255,255,255,0.1); }
#link-modal .modal-footer { border-top-color: rgba(255,255,255,0.1); }
#link-modal .modal-header h3 { text-shadow: 0 1px 2px rgba(0,0,0,0.35); }
#link-modal :is(.form-input:not(.url-suffix-input), .url-input-wrap) {
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(8,10,14,0.34);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
}
#link-modal :is(.form-input:not(.url-suffix-input), .url-input-wrap):is(:focus, :focus-within) {
    border-color: rgba(255,255,255,0.34);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.3), 0 0 0 3px rgba(255,255,255,0.07);
}
#link-modal .url-base-prefix { background: rgba(255,255,255,0.06); border-inline-end-color: rgba(255,255,255,0.1); }
#link-modal .cas-opt {
    border: 1px solid var(--gb-edge, rgba(255,255,255,0.14));
    background: var(--gb-bg);
    box-shadow: var(--gb-shadow);
}
#link-modal .cas-opt:hover { border-color: var(--gb-hover-edge, rgba(255,255,255,0.34)); background-color: rgba(34,37,46,0.5); }
#link-modal .cas-opt.active {
    border-color: rgba(255,255,255,0.4);
    background: var(--gb-primary-bg);
    background-color: rgba(255,255,255,0.12);
    box-shadow: var(--gb-primary-shadow);
}
#link-modal .custom-icon-label {
    border-color: rgba(255,255,255,0.16);
    background: var(--gb-bg);
}
#link-modal .custom-icon-label:hover { border-color: var(--gb-hover-edge, rgba(255,255,255,0.34)); }

#tab-links .platform-picker-card {
    border: 1px solid var(--gb-primary-edge, rgba(255,255,255,0.22));
    background: var(--gb-primary-bg);
    -webkit-backdrop-filter: var(--gb-blur, blur(18px) saturate(170%));
    backdrop-filter: var(--gb-blur, blur(18px) saturate(170%));
    box-shadow: var(--gb-primary-shadow);
}
#tab-links .platform-picker-card:hover,
#tab-links .platform-picker-card:focus-within { border-color: var(--gb-hover-edge, rgba(255,255,255,0.34)); }
#tab-links .platform-btn {
    --pb-tint: var(--pb-color, #e5e7eb);
    border: 1px solid color-mix(in srgb, var(--pb-tint) 34%, rgba(255,255,255,0.12));
    background:
        linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0) 58%),
        linear-gradient(135deg, color-mix(in srgb, var(--pb-tint) 24%, transparent), color-mix(in srgb, var(--pb-tint) 7%, transparent) 60%),
        rgba(18,20,26,0.42);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 4px 12px rgba(0,0,0,0.26);
    transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
#tab-links .platform-btn:is(:hover, :focus-visible) {
    border-color: color-mix(in srgb, var(--pb-tint) 60%, rgba(255,255,255,0.2));
    background-color: color-mix(in srgb, var(--pb-tint) 16%, rgba(18,20,26,0.42));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 8px 20px rgba(0,0,0,0.34), 0 0 14px color-mix(in srgb, var(--pb-tint) 22%, transparent);
    transform: translateY(-2px);
}
#tab-links .platform-btn:focus-visible { outline: 2px solid #c3ccd9; outline-offset: 3px; }
#tab-links .platform-btn .pb-tip {
    padding: 0.3rem 0.65rem;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0) 58%),
        linear-gradient(135deg, rgba(255,255,255,0.17), rgba(255,255,255,0.04) 60%),
        rgba(18,20,26,0.42);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    backdrop-filter: blur(18px) saturate(170%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), inset 0 -1px 0 rgba(255,255,255,0.05), 0 10px 28px rgba(0,0,0,0.32), 0 2px 6px rgba(0,0,0,0.18);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.35);
    font-family: var(--font-main, sans-serif);
    font-size: 0.62rem;
    font-weight: 550;
    letter-spacing: 0.02em;
}
@media (prefers-reduced-motion: reduce) { #tab-links .platform-btn { transition: none; } #tab-links .platform-btn:hover { transform: none; } }
