/* GPUHI V4 Social LIVE - additive module. No WebGL, no external image requests. */
.social-live-panel{margin:26px 0 32px;padding:25px;background:linear-gradient(155deg,#0d1d2b,#0b131e 65%);border:1px solid #244254;border-radius:18px;scroll-margin-top:80px;color:#eaf5fd}
.social-live-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin-bottom:20px}
.social-overline{display:block;font-size:10px;font-weight:800;color:#73d5d2;letter-spacing:2px;margin-bottom:10px}
.social-live-head h2{font-size:26px;letter-spacing:-.7px;margin:0 0 9px;color:#f3fcff}
.social-live-head p{color:#9bb6c6;font-size:13px;line-height:1.65;margin:0;max-width:630px}
.social-head-tag{font-size:10px;border:1px solid #284a59;border-radius:50px;padding:10px 13px;color:#73d5d2;white-space:nowrap}
.social-template-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.social-template-card{padding:0;border:1px solid #273e4e;background:#101d2b;text-align:left;color:#e8f5fa;border-radius:12px;cursor:pointer;overflow:hidden;min-width:0;transition:border-color .15s,transform .15s}
.social-template-card:hover,.social-template-card:focus-visible{border-color:#69cfc8;outline:none;transform:translateY(-2px)}
.social-template-card.active{border-color:#74ded1;box-shadow:inset 0 0 0 1px #74ded1,0 0 0 2px #132a32}
.social-template-art{height:94px;display:flex;align-items:center;justify-content:center;position:relative;background:#14314a;isolation:isolate;overflow:hidden}
.social-template-art:before{content:'';position:absolute;width:115px;height:115px;border:1px solid #ffffff21;border-radius:50%;transform:translate(16px,-15px);z-index:-1;box-shadow:0 0 0 20px #ffffff06,0 0 0 42px #ffffff07}
.social-template-emoji{font-size:46px;filter:drop-shadow(0 8px 12px #0007);line-height:1}
.social-template-caption{position:absolute;bottom:7px;left:10px;font-size:8px;letter-spacing:1.1px;font-weight:800;color:#ffffffc4}
.social-cover-cafe{background:linear-gradient(130deg,#6e463c,#bd8465 55%,#473c43)}
.social-cover-prison{background:linear-gradient(130deg,#23354d,#678191 55%,#182f45)}
.social-cover-club{background:linear-gradient(130deg,#3c1d5e,#a333a0 55%,#233e89)}
.social-cover-street{background:linear-gradient(130deg,#1e314e,#557aa2 55%,#7f5a63)}
.social-cover-fantasy{background:linear-gradient(130deg,#254a68,#46a99f 55%,#4d548f)}
.social-cover-charge{background:linear-gradient(130deg,#0d3c55,#237c82 55%,#145f4e)}
.social-cover-temple{background:linear-gradient(130deg,#644227,#cfa25a 55%,#6e472f)}
.social-template-copy{padding:12px 11px 13px;display:flex;flex-direction:column;gap:5px;min-height:80px}
.social-template-copy strong{font-size:12px;color:#edf6fc}
.social-template-copy small{font-size:10px;line-height:1.4;color:#94aebd}
.social-studio-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(290px,1fr);gap:16px;margin-top:19px}
.social-stage-wrap{min-width:0}
.social-stage{height:383px;border:1px solid #35505c;border-radius:13px;position:relative;overflow:hidden;background:linear-gradient(180deg,#132b42,#1a3c41 54%,#24443c 54%,#1d2b2e 100%);contain:paint;isolation:isolate}
.social-stage:before{content:'';position:absolute;inset:0;z-index:-1;background-image:linear-gradient(90deg,#ffffff06 1px,transparent 1px),linear-gradient(#ffffff08 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(transparent,#000)}
.social-theme-cafe{background:linear-gradient(180deg,#273e46,#a27f69 57%,#795b43 57%,#4b392f)}
.social-theme-prison{background:linear-gradient(180deg,#172836,#526274 58%,#38444c 58%,#233440)}
.social-theme-club{background:linear-gradient(180deg,#150c2e,#47286c 54%,#302451 54%,#140d31)}
.social-theme-street{background:linear-gradient(180deg,#131e38,#3b507b 54%,#39444f 54%,#222d3d)}
.social-theme-fantasy{background:linear-gradient(180deg,#102f43,#487b89 55%,#356f71 55%,#193c54)}
.social-theme-temple{background:linear-gradient(180deg,#503023,#ab7e46 58%,#8c5539 58%,#4a3022)}
.social-scene-heading{position:absolute;left:17px;right:17px;top:16px;display:flex;justify-content:space-between;align-items:flex-start;z-index:2;gap:10px}
.social-spot{display:block;letter-spacing:1.6px;font-weight:800;font-size:9px;color:#e8edeb}
.social-scene-heading h3{font-size:25px;margin:8px 0 5px;text-shadow:0 2px 9px #0008}
.social-scene-heading small{font-size:11px;color:#e9e3d6}
.social-session-flag{padding:8px 10px;background:#08141dbd;border:1px solid #ffffff34;border-radius:25px;font-size:9px;color:#7ee6d6;white-space:nowrap}
.social-scene-art{position:absolute;inset:104px 0 65px;display:flex;align-items:center;justify-content:space-evenly;pointer-events:none}
.social-scene-decor{font-size:56px;text-shadow:0 10px 24px #000a;filter:drop-shadow(0 10px 14px #0006)}
.social-scene-decor.decor-0,.social-scene-decor.decor-4{font-size:47px;transform:translateY(10px)}
.social-scene-decor.decor-2{font-size:83px;transform:translateY(-12px)}
.social-audience{position:absolute;left:7%;right:7%;bottom:40px;display:grid;grid-template-columns:repeat(6,1fr);row-gap:5px;justify-items:center;z-index:2}
.social-person{font-size:28px;filter:drop-shadow(0 3px 5px #0008);line-height:1.2}
.social-stage-bottom{position:absolute;bottom:0;left:0;right:0;padding:11px 15px;display:flex;justify-content:space-between;gap:7px;font-size:9px;color:#d6edef;background:#071520bd}
.social-stage-note{margin-top:9px;color:#829eae;font-size:10px;display:grid;gap:6px;line-height:1.5}
.social-live-aside{border:1px solid #294451;border-radius:13px;background:#0b1824;padding:15px;display:flex;flex-direction:column;min-width:0}
.social-score-head{display:flex;justify-content:space-between;align-items:center;gap:9px}
.social-score-head h3{margin:0;font-size:15px}
.social-score-head strong{font-size:27px;color:#79e1cd;font-variant-numeric:tabular-nums}
.social-meter{background:#243644;border-radius:15px;height:7px;margin:10px 0 8px;overflow:hidden}
.social-meter div{height:100%;border-radius:15px;background:linear-gradient(90deg,#4aa6b7,#8de9c2);width:0;transition:width .12s}
.social-score-caption{font-size:10px;color:#96aebc;margin-bottom:14px}
.social-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:14px}
.social-action-btn{border:1px solid #37505b;background:#162b37;color:#e0f7f5;padding:11px 6px;border-radius:8px;cursor:pointer;font-size:11px}
.social-action-btn:hover,.social-action-btn:focus-visible{background:#25505a;outline:1px solid #64d4d5}
.social-feed-heading{display:flex;align-items:center;justify-content:space-between;font-size:11px;margin-bottom:6px}
.social-feed-heading span{color:#789eae;font-size:9px}
.social-feed{background:#07121c;border:1px solid #254152;border-radius:8px;min-height:75px;max-height:125px;overflow:auto;padding:9px;font-size:11px;line-height:1.8;flex:1}
.social-feed-item{color:#afcddd;border-bottom:1px solid #ffffff0b;padding:2px 0;overflow-wrap:anywhere}
.social-chat-row{display:grid;grid-template-columns:1fr auto;gap:6px;margin-top:9px}
.social-chat-row input{min-width:0;border:1px solid #2a4658;border-radius:7px;background:#111e2c;color:#e9f7fc;padding:10px;font-size:11px}
.social-chat-row button{padding:8px 13px;font-size:11px}
.social-chat-hint{font-size:10px;color:#829eae;line-height:1.5;margin-top:7px}
.social-action-bar{background:#10232f;border:1px solid #294751;border-radius:10px;padding:13px;margin-top:14px;display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}
.social-action-bar strong{display:block;font-size:13px;margin-bottom:4px}
.social-action-bar small{font-size:10px;color:#9db4c1;line-height:1.5;display:block}
.social-action-buttons{display:flex;flex-wrap:wrap;gap:7px}
.social-action-buttons button{font-size:11px;padding:10px 12px}
.social-security{padding:12px 0 0;color:#879eac;font-size:10px;line-height:1.65}
.social-room-note{margin-top:12px;padding:17px;border:1px solid #2e4652;background:#0f2130;border-radius:10px;color:#dff2fc;font-size:12px}
.social-room-note p{color:#a3b9c5;line-height:1.55;margin:9px 0 12px;font-size:11px}
.social-room-note button{padding:10px;font-size:11px}
@media(max-width:1250px){.social-template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:830px){.social-studio-grid{grid-template-columns:1fr}.social-stage{height:360px}}
@media(max-width:540px){.social-live-panel{padding:13px}.social-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.social-live-head h2{font-size:23px}.social-live-head{flex-wrap:wrap}.social-scene-decor{font-size:34px}.social-scene-decor.decor-2{font-size:50px}.social-stage{height:320px}.social-person{font-size:21px}.social-scene-heading h3{font-size:19px}.social-stage-bottom{flex-direction:column;font-size:9px}.social-action-buttons>*{flex:1;min-width:140px}}

/* Siêu Trạm Sạc - V4 add-on; browser-only, CSS/emoji, no 3D worker. */
.social-stage.social-theme-charge{background:radial-gradient(ellipse at 50% 0,#254a65 0,transparent 60%),linear-gradient(#122f42 0 29%,#14202c 29% 100%)}
.social-theme-charge .social-scene-art,.social-theme-charge .social-audience{display:none}
.charging-lot{position:absolute;z-index:1;top:106px;left:4%;right:4%;bottom:43px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:8px}
.charging-lot[hidden],.charging-toolbar[hidden],.charging-command-help[hidden]{display:none!important}
.charging-bay{display:flex;flex-direction:column;align-items:center;justify-content:space-around;min-width:0;min-height:0;padding:5px;background:#143744e6;border:1px solid #40707e;border-radius:9px;color:#d5faf4;font-size:10px;cursor:pointer}
.charging-bay b{font-size:9px;letter-spacing:1px;color:#95dbd7}
.charging-bay small{font-size:9px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;color:#ddedef}
.charging-bay em{font-size:9px;font-style:normal;font-weight:800;color:#6de7ca}
.charging-bay .charging-car{font-size:27px;line-height:1.2;filter:drop-shadow(0 5px 4px #0008)}
.charging-bay.occupied{border-color:#7c8199}
.charging-bay.charging-active{background:#174944;border-color:#6ee3ca}
.charging-bay.overstay{background:#512e33;border-color:#ed8f87}
.charging-bay.overstay em{color:#ffb3a7}
.charging-bay.selected{outline:2px solid #e5ce83;outline-offset:-3px}
.charging-bay.vacant{opacity:.76;cursor:default}
.charging-toolbar{margin-top:9px;background:#0d2930;border:1px solid #29585d;border-radius:9px;display:flex;align-items:center;gap:8px;padding:8px;color:#a8f0df;font-size:11px;flex-wrap:wrap}
.charging-toolbar span{flex:1;min-width:230px}
.charging-toolbar button{padding:8px 10px;font-size:10px}
.charging-command-help{margin-top:9px;font-size:10px;line-height:1.8;color:#9fbdc4}
.charging-command-help code{background:#233747;color:#d7f1e9;border-radius:3px;padding:2px 4px;margin-right:4px}
@media(max-width:540px){.charging-lot{top:110px;left:3%;right:3%;bottom:45px;gap:4px}.charging-bay{padding:2px}.charging-bay .charging-car{font-size:20px}.charging-bay b,.charging-bay small,.charging-bay em{font-size:8px}.charging-toolbar span{min-width:100%}.social-theme-charge .social-scene-heading h3{font-size:18px}}

/* GPUHI V4 — Additive Social LIVE reference patch (no new menu or WebGL). */
.social-cover-grocery{background:linear-gradient(135deg,#5a3921,#a36a31 55%,#243c33)}
.social-cover-foodcourt{background:linear-gradient(135deg,#653322,#b75b37 55%,#39201d)}
.social-cover-wedding{background:linear-gradient(135deg,#5c3248,#b67b86 55%,#6b4362)}
.social-live-event-lab{background:#111f2c;border:1px solid #304453;border-radius:11px;padding:12px;margin-top:12px}
.social-live-event-head{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:10px}
.social-live-event-head strong{color:#e7f4f1;font-size:12px}
.social-live-event-head span{font-size:10px;color:#87c9ba;letter-spacing:.06em}
.social-live-event-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.social-live-event-buttons button{min-width:0;padding:9px 7px;font-size:11px}
.social-live-event-lab small{display:block;margin-top:8px;color:#9aafbd;font-size:10px;line-height:1.55}
.social-stage.social-stage-portrait{aspect-ratio:9/16!important;width:min(100%,360px);min-height:560px;margin-left:auto;margin-right:auto}
.social-stage-portrait .social-audience{padding:10px;grid-template-columns:repeat(3,1fr)}
.social-stage-portrait .social-scene-heading{min-height:110px}
@media(max-width:700px){.social-live-event-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* V4 additive: Classroom + Wish Garden. Original CSS illustration, offline, no WebGL or remote assets. */
.social-cover-classroom{background:linear-gradient(140deg,#1b4c49,#447d71 60%,#b1835a)}
.social-cover-wish{background:linear-gradient(140deg,#261539,#7b3a67 55%,#d884a6)}
.social-stage.social-theme-classroom{background:linear-gradient(180deg,#cdb68d 0 21%,#f1cd8e 21% 52%,#9d653f 52% 100%)}
.social-stage.social-theme-wish{background:radial-gradient(circle at 70% 14%,#ffcdad 0 7%,transparent 7.3%),linear-gradient(165deg,#29193e,#673855 59%,#2d344c 60%,#283d57)}
.social-stage.social-theme-classroom .social-scene-art,.social-stage.social-theme-classroom .social-audience,.social-stage.social-theme-wish .social-scene-art,.social-stage.social-theme-wish .social-audience{display:none}
.social-special-scene{position:absolute;inset:100px 4% 36px;z-index:1;pointer-events:none;overflow:hidden}
.social-special-scene[hidden],.social-special-toolbar[hidden],.social-special-toolbar button[hidden]{display:none!important}
.social-class-board{height:78px;border:7px solid #966344;background:#1b5749;border-radius:7px;box-shadow:0 3px 7px #0008;color:#fff6c8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-shadow:0 1px 1px #0007}
.social-class-board span{font-size:10px;letter-spacing:2px;color:#fbdfb0}.social-class-board strong{font-size:18px}.social-class-board small{font-size:10px;color:#dbeae6}
.social-class-seats{margin:9px auto 0;display:grid;grid-template-columns:repeat(10,1fr);grid-template-rows:repeat(3,1fr);gap:3px;max-width:96%;height:calc(100% - 98px)}
.social-seat{display:flex;align-items:center;justify-content:center;border:1px solid #925539;background:#77492abf;border-bottom:4px solid #5d371c;border-radius:3px;color:#ecc8a4;font-size:12px}
.social-seat.checked{background:#efcf97;color:#2d3a3b;border-color:#f4dcb0}
.social-wish-moon{position:absolute;right:17%;top:0;font-size:40px;color:#ffd7a7;filter:drop-shadow(0 0 16px #ffe8af)}
.social-wish-temple{position:absolute;top:20px;left:24%;right:24%;height:115px;border:5px solid #a86e73;border-top:13px double #efad99;border-radius:32px 32px 4px 4px;background:linear-gradient(130deg,#a54d58,#6c294d);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;color:#ffe8bb;box-shadow:0 10px 20px #160b2399}
.social-wish-temple span{font-size:31px}.social-wish-temple strong{letter-spacing:2px;font-size:13px}.social-wish-temple small{font-size:9px;color:#f5c9cf;text-align:center}
.social-wish-tree{position:absolute;left:0;bottom:35px;font-size:60px;display:flex;flex-direction:column;align-items:center;filter:drop-shadow(0 2px 10px #0a2231)}
.social-wish-tree small{font-size:12px;background:#3d2137;padding:3px 9px;border:1px solid #da9ab7;border-radius:10px;color:#ffd6e3}
.social-wish-pond{position:absolute;bottom:0;left:26%;right:0;min-height:35px;display:flex;justify-content:center;align-items:center;gap:6px;flex-wrap:wrap;border:1px solid #ffffff40;border-radius:50%;background:#44829d55}
.social-floating-lantern{font-size:15px;filter:drop-shadow(0 0 7px #f7ad57)}
.social-special-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px;padding:10px;background:#102938;border:1px solid #315361;border-radius:9px;color:#ddc1d6;font-size:11px;flex-wrap:wrap}
.social-special-toolbar button{font-size:10px;padding:8px 10px}
.social-stage-portrait .social-class-board{height:110px}.social-stage-portrait .social-class-seats{grid-template-columns:repeat(5,1fr);grid-template-rows:repeat(6,1fr);height:calc(100% - 128px)}
.social-stage-portrait .social-wish-temple{left:10%;right:10%;top:22%}.social-stage-portrait .social-wish-tree{bottom:30%}.social-stage-portrait .social-wish-pond{left:10%;right:10%;bottom:15%}
@media(max-width:540px){.social-class-board strong{font-size:12px}.social-class-board small{font-size:8px}.social-seat{font-size:9px}.social-wish-temple{left:17%;right:17%;top:13px}.social-wish-temple strong{font-size:10px}.social-wish-tree{font-size:36px}}

/* Unified gameplay mission module (all 12 social mini games) */
.social-game-rules-panel{border:1px solid #2a5864;background:linear-gradient(125deg,#0e2333,#101b2a);border-radius:15px;padding:17px;margin:16px 0 18px;color:#e3f5f8}
.social-game-rules-header,.social-game-rule-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.social-game-rules-header h3{margin:7px 0 4px;font-size:18px;color:#ebfafb}
.social-game-rules-header p{color:#9cb8c2;font-size:12px;line-height:1.6;margin:0;max-width:730px}
.social-game-win{padding:8px 12px;border:1px solid #56727d;border-radius:40px;background:#192c3a;color:#b5cbd7;font-size:10px;font-weight:750;white-space:nowrap}
.social-game-win.won{background:#10463e;border-color:#38af96;color:#a5fff0}
.social-game-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-top:12px}
.social-game-metric{min-width:0;background:#0d1b2a;border:1px solid #233a4b;border-radius:9px;padding:10px;display:flex;flex-direction:column;gap:5px}
.social-game-metric small{font-size:10px;color:#99c1d0}.social-game-metric strong{font-size:17px;color:#8ae8d9;font-variant-numeric:tabular-nums}
.social-game-rule-actions{margin-top:12px;border-top:1px solid #2d4a5b;padding-top:11px}.social-game-rule-actions small{flex:1;min-width:200px;font-size:11px;color:#97b2bd}.social-game-rule-actions button{padding:8px 12px;font-size:11px}
@media(max-width:930px){.social-game-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:500px){.social-game-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.social-game-rules-panel{padding:12px}.social-game-rule-actions button{flex:1}}

.social-stage-hud{position:absolute;left:12px;right:12px;bottom:39px;z-index:8;display:flex;gap:5px;flex-wrap:wrap;pointer-events:none}
.social-stage-hud>*{background:#061925cc;color:#d0eff3;border:1px solid #78ddcb55;border-radius:15px;padding:3px 7px;font-size:10px;box-shadow:0 3px 10px #0004}
.social-stage-hud>b{color:#78efd2}
@media(max-width:540px){.social-stage-hud{left:7px;right:7px;bottom:32px;gap:3px}.social-stage-hud>*{font-size:9px;padding:3px 5px}}

/* Shared TikFinity Desktop LIVE bridge: additive to V4 Social LIVE only. */
.social-bridge-panel{margin-top:14px;padding:16px;background:linear-gradient(150deg,#132b33,#0c1928);border:1px solid #2c5f6d;border-radius:14px;color:#e2f4f3}
.social-bridge-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.social-bridge-top strong{display:block;font-size:14px}
.social-bridge-top small{color:#9dc5cc;font-size:11px;display:block;margin-top:6px}
.social-bridge-pill{font-size:10px;border:1px solid #5b7b8a;color:#b2c4c7;border-radius:999px;padding:5px 10px;white-space:nowrap}
.social-bridge-pill.connected{color:#8dffcc;border-color:#2ab48d;background:#174c40}
.social-bridge-panel p,.social-bridge-panel>small{font-size:11px;line-height:1.6;color:#9fc2c8}
.social-bridge-test{margin-top:12px;display:grid;gap:7px}
.social-bridge-test label{font-size:11px;color:#cbdfdc}
.social-bridge-test>div{display:flex;gap:6px;flex-wrap:wrap}
.social-bridge-test input{flex:1;min-width:130px;border:1px solid #39576c;background:#08131e;color:#eefefb;border-radius:8px;padding:9px;font-size:12px}
#socialBridgeLast{display:block;margin-top:12px;overflow-wrap:anywhere}

/* GPUHI V4 Social LIVE Library -- embedded in World Studio; standalone menu is intentionally not created. */
.social-live-panel .social-library{margin:0 0 22px;border-radius:16px;border:1px solid #284555;background:linear-gradient(160deg,#0e1b2b,#0c1723);padding:17px;max-width:100%;min-width:0}
.social-library-summary{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap;margin-bottom:15px}
.social-library-intro{display:flex;flex-direction:column;gap:5px}.social-library-intro strong{font-size:17px;color:#f1fbff;letter-spacing:-.25px}.social-library-intro span{font-size:11px;color:#91adbd}
.social-library-stats{display:flex;gap:8px;flex-wrap:wrap}.social-library-stats>span{border:1px solid #284a59;border-radius:8px;background:#101f2d;color:#a8c8d5;padding:8px 10px;font-size:10px;white-space:nowrap}.social-library-stats b{color:#8ae6d4;font-size:14px}.social-library-stats .is-connected{color:#8fe4b7;border-color:#2a826e}
.social-library-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px;flex-wrap:wrap}
.social-library-tabs{display:flex;align-items:center;background:#081521;border:1px solid #284355;border-radius:10px;padding:4px;gap:4px}
.social-library-tabs button{background:transparent;border:0;border-radius:7px;color:#9ab7c6;cursor:pointer;font-size:11px;font-weight:700;padding:10px 13px;transition:background .15s,color .15s}
.social-library-tabs button.active{color:#05242e;background:#80e5d8}.social-library-tabs button:focus-visible,.social-card-launch:focus-visible{outline:2px solid #d7fcf5;outline-offset:2px}
.social-library-filters{display:flex;flex:1;justify-content:flex-end;gap:9px;min-width:250px}
.social-library-search{display:flex;align-items:center;gap:8px;flex:1;max-width:400px;border:1px solid #305269;background:#0b1927;border-radius:9px;padding:0 10px;color:#83d3d0}
.social-library-search>span{font-size:18px}.social-library-search input{width:100%;border:0!important;background:transparent!important;outline:none;color:#e6f6fb;font-size:11px;padding:11px 0;min-width:0}
.social-library-search input::placeholder{color:#7396a6}.social-library-filters select{border:1px solid #305269;background:#0b1927;color:#d4eaf2;border-radius:9px;font-size:11px;padding:10px;max-width:180px}
.social-library-count{color:#90b7c5;font-size:11px;margin:7px 0 12px}
.social-library .social-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.social-library .social-template-card{display:grid;grid-template-columns:41% minmax(0,1fr);min-height:166px;border:1px solid #2c4655;border-radius:12px;background:#111f30;color:#eaf9fe;overflow:hidden;box-shadow:0 8px 22px #00000015;transition:border-color .16s,transform .16s;min-width:0}
.social-library .social-template-card:hover{transform:translateY(-2px);border-color:#59b4b4}.social-library .social-template-card.active{border-color:#72e6d5;box-shadow:0 0 0 1px #72e6d51c}
.social-library .social-template-art{height:auto;min-height:166px;display:block;overflow:hidden;position:relative;background:#17344b}
.social-library .social-template-art:before{display:none}.social-library .social-template-art img{width:100%;height:100%;position:absolute;inset:0;display:block;object-fit:cover;transition:transform .2s}
.social-library .social-template-card:hover img{transform:scale(1.025)}
.social-library .social-template-caption{bottom:auto;top:9px;left:9px;background:#07131abf;border:1px solid #ffffff33;border-radius:5px;padding:5px 6px;letter-spacing:.8px;font-size:8px;color:#f0f8f7}
.social-library .social-template-copy{padding:12px;min-height:0;display:flex;flex-direction:column;align-items:stretch;gap:6px}
.social-card-topline{display:flex;align-items:center;gap:6px;justify-content:space-between;flex-wrap:wrap}.social-card-category{font-size:9px;color:#99d3cb}.social-card-status{font-size:8px;letter-spacing:.4px;color:#8fe5c0;background:#163e37;border:1px solid #316c5b;border-radius:4px;padding:3px 5px;white-space:nowrap}
.social-library .social-template-copy strong{font-size:14px;color:#f1fbff}.social-library .social-template-copy small{font-size:10px;color:#b3c7d4;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.social-card-meta{font-size:9px;color:#789faf;line-height:1.3}.social-card-launch{margin-top:auto;background:linear-gradient(105deg,#348ea7,#7656c8);color:#fff;border:0;border-radius:8px;cursor:pointer;font-size:11px;font-weight:750;min-height:35px;padding:8px 9px;transition:filter .15s}.social-card-launch:hover{filter:brightness(1.18)}
.social-library-empty{padding:35px 18px;text-align:center;color:#a7c4d2;border:1px dashed #365263;border-radius:10px;font-size:12px}.social-library-empty[hidden]{display:none!important}
.social-library-legal{margin:13px 0 0;font-size:10px;line-height:1.7;color:#829eac}.social-library-legal strong{color:#a2cdc8}
@media(max-width:1120px){.social-library .social-template-grid{grid-template-columns:1fr}.social-library .social-template-card{min-height:145px}.social-library .social-template-art{min-height:145px}}
@media(max-width:650px){.social-live-panel .social-library{padding:11px}.social-library-controls,.social-library-filters{flex-direction:column;align-items:stretch}.social-library-filters{min-width:0}.social-library-search{max-width:none}.social-library-filters select{max-width:none;width:100%}.social-library .social-template-card{grid-template-columns:37% minmax(0,1fr);min-height:151px}.social-library .social-template-art{min-height:151px}.social-library .social-template-copy{padding:9px;gap:5px}.social-library .social-template-copy strong{font-size:12px}.social-card-meta{font-size:8px}.social-library-tabs{width:100%}.social-library-tabs button{flex:1}.social-library-stats>span{font-size:9px}.social-library .social-template-copy small{font-size:9px}}
@media(max-width:365px){.social-library .social-template-card{grid-template-columns:34% minmax(0,1fr)}.social-library .social-template-copy{padding:8px}}
@media(prefers-reduced-motion:reduce){.social-library .social-template-card,.social-library .social-template-art img,.social-library-tabs button,.social-card-launch{transition:none!important}.social-library .social-template-card:hover{transform:none}.social-library .social-template-card:hover img{transform:none}}
