/* V1.8.4：紧凑工具卡、金钩九宫方位、远程一屏、双主题 */
.tool-card-compact .method-row:after{display:none!important}
.tool-card-compact .method-row{min-height:62px!important;padding:8px 12px!important}
.tool-card-compact .method-icon{width:42px!important;height:42px!important}
.tool-card-compact p{font-size:10.5px!important;-webkit-line-clamp:1!important}
.tool-mini-links{min-height:40px!important}
.home-tool-list{gap:8px!important}

.content.compact:has(.remote-owner-v184){overflow-y:auto!important;-webkit-overflow-scrolling:touch;padding-top:7px!important;padding-bottom:calc(92px + var(--safe-bottom))!important}
.remote-owner-v184{gap:7px!important}.remote-owner-main{display:grid;gap:7px}.remote-create-compact,.remote-manual-compact{padding:11px 12px!important}.remote-create-compact h2,.remote-manual-compact h2{font-size:20px;margin:4px 0 0}.remote-generate-btn{min-height:44px;margin-top:8px}.remote-link-compact{gap:5px!important;margin-top:7px!important}.remote-link-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center}.remote-link-line>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:9px 10px;border-radius:11px;background:rgba(0,122,255,.07);font-size:10px;color:#075f9e}.remote-link-meta{display:flex;align-items:center;justify-content:space-between;gap:6px;color:#777;font-size:9px}.remote-link-meta .textbtn{padding:5px 7px;font-size:9px}.remote-choice-inline{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px;margin:9px 0}.remote-choice-inline .remote-choice-row{min-height:54px;padding:7px 8px;display:grid;grid-template-columns:1fr auto;grid-template-areas:'label arrow' 'value arrow';gap:1px 4px}.remote-choice-inline .remote-choice-row span{grid-area:label;font-size:9px}.remote-choice-inline .remote-choice-row strong{grid-area:value;font-size:15px}.remote-choice-inline .remote-choice-row i{grid-area:arrow}.remote-owner-submit{min-height:44px}.remote-history-fold{padding:0!important;overflow:hidden}.remote-history-fold summary{list-style:none;padding:11px 13px;font-weight:700;font-size:12px}.remote-history-fold summary::-webkit-details-marker{display:none}.remote-history-body{padding:0 13px 11px}.remote-history-body>.textbtn{float:right;margin-top:-34px}

.golden-live-cell{min-height:142px;padding:6px!important;overflow:hidden!important}.golden-board-wrap{padding:7px!important;overflow:hidden}.golden-board{gap:4px!important}
.golden-palace-core{position:absolute;top:21px;left:22px;right:22px;display:flex;align-items:center;justify-content:center;gap:7px;pointer-events:none;z-index:2;white-space:nowrap}
.golden-palace-core span{display:inline-flex;align-items:baseline;gap:2px;color:#6d7780}
.golden-palace-core i{font-style:normal;font-size:6.5px;line-height:1;color:#8b8f94}
.golden-palace-core b{font-family:STKaiti,KaiTi,serif;font-size:11px;line-height:1;color:#355166;font-weight:700}
.golden-palace-core span+span:before{content:'·';font-family:system-ui,sans-serif;font-size:7px;color:#b1a795;margin-right:3px}
.golden-branch-ring{position:absolute;inset:0;pointer-events:none;z-index:2}.golden-branch-node{position:absolute;display:flex;align-items:center;gap:2px;max-width:94%;white-space:nowrap}.golden-branch-node b{display:grid;place-items:center;width:18px;height:18px;border-radius:7px;background:#edf6ff;color:#086ba9;font-family:STKaiti,KaiTi,serif;font-size:12px;flex:0 0 18px}.golden-branch-node small{font-size:6.2px;color:#7c7c7c;letter-spacing:-.04em}.branch-子{bottom:2px;left:50%;transform:translateX(-50%);flex-direction:column}.branch-午{top:2px;left:50%;transform:translateX(-50%);flex-direction:column-reverse}.branch-卯{left:2px;top:50%;transform:translateY(-50%)}.branch-酉{right:2px;top:50%;transform:translateY(-50%);flex-direction:row-reverse}.branch-巳{top:2px;left:8px;flex-direction:column-reverse;align-items:flex-start}.branch-辰{left:2px;top:38%;transform:translateY(-50%)}.branch-未{top:2px;right:8px;flex-direction:column-reverse;align-items:flex-end}.branch-申{right:2px;top:38%;transform:translateY(-50%);flex-direction:row-reverse}.branch-丑{left:2px;bottom:22%}.branch-寅{bottom:2px;left:12px;flex-direction:column;align-items:flex-start}.branch-戌{right:2px;bottom:22%;flex-direction:row-reverse}.branch-亥{bottom:2px;right:12px;flex-direction:column;align-items:flex-end}
.golden-center-meta{position:absolute;left:0;right:0;bottom:7px;text-align:center;color:#9a9aa0;font-size:7px;letter-spacing:.08em;z-index:1}
.golden-result-name{position:absolute;z-index:3;left:10px;right:10px;top:51%;transform:translateY(-42%);margin:0!important;min-height:58px;padding:6px 5px 7px!important;border-radius:13px;display:grid;place-content:center;text-align:center;background:linear-gradient(145deg,#eaf6ff,#dceeff);box-shadow:inset 0 0 0 1px rgba(0,122,255,.11);color:#132f43}
.golden-result-name:active{transform:translateY(-42%) scale(.97)}.golden-result-name small{font-size:7.5px;line-height:1.1;color:#637d91;text-align:center;white-space:nowrap}.golden-result-name strong{font-family:STKaiti,KaiTi,serif;font-size:25px!important;line-height:1.02;color:#075f9e;text-align:center;margin-top:3px;letter-spacing:.02em}.golden-result-name span{display:none!important}
.golden-empty-slot{position:absolute;z-index:3;left:12px;right:12px;top:54%;transform:translateY(-50%);margin:0!important;display:grid;place-items:center;opacity:.32}.golden-empty-slot i{display:none}.golden-empty-slot span{font-size:8px;color:#73777b}
.palace-中 .golden-palace-core{top:13px}.palace-中 .golden-palace-core span:first-child{display:none}.palace-中 .golden-palace-core span+span:before{display:none}.palace-中 .golden-result-name{top:53%}
@media(max-width:370px){.golden-live-cell{min-height:132px}.golden-palace-core{top:19px;left:18px;right:18px;gap:5px}.golden-palace-core b{font-size:10px}.golden-palace-core i{font-size:6px}.golden-branch-node small{font-size:5.7px}.golden-result-name{left:8px;right:8px;min-height:53px}.golden-result-name strong{font-size:22px!important}}


.code-only-result{padding:28px 10px}.code-only-result strong{font-size:72px;margin:9px 0 0}.code-only-result p{display:none}
.theme-entry-card{width:100%;min-height:72px;border:.5px solid var(--border);border-radius:20px;background:var(--surface);padding:10px 14px;display:grid;grid-template-columns:42px 1fr 70px 16px;align-items:center;gap:10px;color:var(--text);text-align:left}.theme-entry-seal{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:rgba(0,122,255,.1);color:var(--accent);font-family:STKaiti,KaiTi,serif;font-size:19px}.theme-entry-card b{display:block}.theme-entry-card small{display:block;color:var(--sub);margin-top:3px}.theme-entry-card em{font-style:normal;color:var(--sub);font-size:24px}.theme-entry-preview{height:38px;border-radius:11px}.theme-entry-preview.qingyu{background:linear-gradient(135deg,#e6f4ff,#0a84ff)}.theme-entry-preview.xuanjian{background:linear-gradient(135deg,#e9dfc7 0 55%,#272019 55% 100%);box-shadow:inset 0 0 0 1px rgba(129,91,36,.25)}
.theme-page{display:grid;gap:12px}.theme-gallery{display:grid;gap:10px}.theme-choice{border:.5px solid var(--border);border-radius:22px;background:var(--surface);padding:12px;display:grid;grid-template-columns:104px minmax(0,1fr) auto;align-items:center;gap:12px;text-align:left;color:var(--text)}.theme-choice.selected{box-shadow:inset 0 0 0 2px var(--accent)}.theme-choice strong{display:block;font-size:18px}.theme-choice small{display:block;color:var(--sub);font-size:11px;line-height:1.45;margin-top:4px}.theme-choice em{font-style:normal;color:var(--accent);font-weight:700;font-size:11px}.theme-preview{height:74px;border-radius:15px;position:relative;overflow:hidden}.theme-preview i{position:absolute;inset:7px;border:1px solid rgba(255,255,255,.5);border-radius:10px}.theme-preview b{position:absolute;inset:0;display:grid;place-items:center;font-family:STKaiti,KaiTi,serif;font-size:28px}.theme-preview span{position:absolute;left:12px;right:12px;bottom:10px;height:5px;border-radius:99px}.theme-preview-qingyu{background:linear-gradient(145deg,#f7fbff,#cfe9ff 58%,#0a84ff)}.theme-preview-qingyu b{color:#075f9e}.theme-preview-qingyu span{background:#fff}.theme-preview-xuanjian{background:linear-gradient(145deg,#eee4ce,#d3be91 58%,#29211a)}.theme-preview-xuanjian:after{content:'云雷 · 金章';position:absolute;right:8px;top:7px;color:#7f2f25;font-size:7px;letter-spacing:.1em}.theme-preview-xuanjian b{color:#2b2118;text-shadow:0 1px #f6eedc}.theme-preview-xuanjian span{background:#8d3026}.theme-design-note{border-radius:20px;padding:15px;background:linear-gradient(145deg,#eee4ce,#dfcfaa);color:#34291e;box-shadow:inset 0 0 0 1px rgba(116,81,31,.18)}.theme-design-note span{font-family:STKaiti,KaiTi,serif;font-size:20px}.theme-design-note p{font-size:11px;line-height:1.7;margin:6px 0 0;color:#5e4c38}

html[data-theme="xuanjian"]{--bg:#e9e0cf;--surface:#f4ecdc;--surface2:#e4d6bd;--text:#211b15;--sub:#6f604e;--accent:#7f2f25;--accent-pressed:#5c201a;--success:#4d7352;--warn:#a56b21;--danger:#8e2d25;--border:rgba(84,61,34,.24);--shadow:0 12px 32px rgba(64,43,23,.12);background:#211b15}
html[data-theme="xuanjian"] body,html[data-theme="xuanjian"] .shell{background-color:var(--bg);background-image:radial-gradient(circle at 12% 16%,rgba(128,91,41,.09) 0 1px,transparent 1.5px),linear-gradient(90deg,rgba(94,69,38,.025) 1px,transparent 1px);background-size:17px 17px,7px 100%}
html[data-theme="xuanjian"] .topbar{background:rgba(235,225,207,.9);border-bottom-color:rgba(112,78,34,.28)}html[data-theme="xuanjian"] .topbar:after{content:'';position:absolute;left:14%;right:14%;bottom:1px;height:1px;background:linear-gradient(90deg,transparent,#9a733b,transparent)}html[data-theme="xuanjian"] .topbar h1,html[data-theme="xuanjian"] .intro h2,html[data-theme="xuanjian"] .compact-head h2{font-family:STKaiti,KaiTi,"Songti SC",serif}html[data-theme="xuanjian"] .card,html[data-theme="xuanjian"] .menu-grid button,html[data-theme="xuanjian"] .theme-entry-card,html[data-theme="xuanjian"] .list-row,html[data-theme="xuanjian"] .sheet{background-color:rgba(246,238,221,.96);background-image:linear-gradient(135deg,rgba(124,86,35,.055) 0 1px,transparent 1px 100%);box-shadow:inset 0 0 0 1px rgba(145,105,49,.10),0 8px 24px rgba(69,47,24,.06)}html[data-theme="xuanjian"] .method-icon,html[data-theme="xuanjian"] .avatar{background:linear-gradient(145deg,#3b3024,#211b15);border:1px solid #a98752;box-shadow:0 5px 14px rgba(53,34,18,.22);font-family:STKaiti,KaiTi,serif}html[data-theme="xuanjian"] .method-icon:after,html[data-theme="xuanjian"] .avatar:after{content:'';position:absolute;inset:5px;border:1px solid rgba(218,185,128,.5);border-radius:8px}html[data-theme="xuanjian"] .method-icon,html[data-theme="xuanjian"] .avatar{position:relative}html[data-theme="xuanjian"] .pill,html[data-theme="xuanjian"] .chip{background:rgba(127,47,37,.10);color:#7f2f25;border:1px solid rgba(127,47,37,.12)}html[data-theme="xuanjian"] .btn.primary{background:linear-gradient(180deg,#373027,#211b15);border:1px solid #a98752;box-shadow:inset 0 0 0 1px rgba(255,231,181,.12)}html[data-theme="xuanjian"] .btn.primary:active{background:#18130f;transform:scale(.985)}html[data-theme="xuanjian"] .btn.secondary{background:#ded0b6;color:#6f2b24}html[data-theme="xuanjian"] .bottomnav{background:rgba(239,230,212,.88);border-color:rgba(158,118,61,.24)}html[data-theme="xuanjian"] .bottomnav button.active{background:rgba(127,47,37,.10);color:#7f2f25}html[data-theme="xuanjian"] .textbtn{background:rgba(127,47,37,.09);color:#7f2f25}html[data-theme="xuanjian"] .golden-board-wrap{background:linear-gradient(145deg,#eadfc9,#d8c59e);box-shadow:0 12px 34px rgba(62,40,18,.13),inset 0 0 0 1px rgba(128,91,42,.22)}html[data-theme="xuanjian"] .golden-live-cell{background:rgba(247,239,222,.95);box-shadow:inset 0 0 0 1px rgba(119,83,37,.20)}html[data-theme="xuanjian"] .golden-live-cell.filled{background:linear-gradient(155deg,#f7efdf,#e8d7b7);box-shadow:inset 0 0 0 1px rgba(127,47,37,.22)}html[data-theme="xuanjian"] .golden-palace-core b{color:#2b2118}html[data-theme="xuanjian"] .golden-palace-core i{color:#7f2f25}html[data-theme="xuanjian"] .golden-branch-node b{background:#ded0b5;color:#6e2b24;border:1px solid rgba(135,93,39,.16)}html[data-theme="xuanjian"] .golden-result-name{background:linear-gradient(145deg,#efe1c6,#dbc297);box-shadow:inset 0 0 0 1px rgba(127,47,37,.18)}html[data-theme="xuanjian"] .golden-result-name strong{color:#7f2f25}html[data-theme="xuanjian"] .field input,html[data-theme="xuanjian"] .field textarea,html[data-theme="xuanjian"] .field select{background:#f7efdf}html[data-theme="xuanjian"] .notice{background:rgba(143,89,25,.10);color:#6b481e}
@media(max-width:370px){.remote-choice-inline{gap:4px}.remote-choice-inline .remote-choice-row{padding:6px}}
