/* Host-side iframe mounts only. Artwork and its visual implementation live in gongshui-open-source. */

/* Eight Components renders a warm paper contact sheet — match the mount so the
   card never flashes dark navy while the artwork boots. */
#eight-components-card .portfolio-live-mount { background: #eae5d7; }
.portfolio-live-mount{--mount-ratio:1.6439;position:relative;overflow:hidden;background:#070a12}
.portfolio-live-mount [data-live-preview]{position:absolute;inset:0;z-index:1;width:100%;height:100%}
.portfolio-live-frame{position:absolute;inset:0;display:block;width:100%;height:100%;border:0;background:#070a12}
.portfolio-live-placeholder{position:absolute;inset:0;z-index:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:radial-gradient(ellipse at 50% 45%,#27313b,#101318 72%);color:#f5ecd9;font-size:12px;font-weight:800;letter-spacing:.5px}
.portfolio-live-mark{color:#f4bd3c;font:900 10px/1 ui-monospace,monospace;letter-spacing:2px}

/* Contributor globe theme control lives in the work detail, not over the artwork. */
.globe-theme-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:40px;margin-top:14px;padding:0 14px;border:2px solid #080808;border-radius:4px;background:#f5ecd9;color:#211d15;font:800 12px/1 ui-monospace,monospace;box-shadow:3px 3px 0 #000;cursor:pointer;transition:transform .1s,box-shadow .1s,background .15s}
.globe-theme-toggle:hover{background:#ffd36a}
.globe-theme-toggle:active{transform:translate(3px,3px);box-shadow:none}
.globe-theme-toggle[aria-pressed="true"]{background:#1c2940;color:#f5ecd9;border-color:#080808}

/* Contributor globe theme control lives in the work detail, not over the artwork. */
.globe-theme-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:40px;margin-top:14px;padding:0 14px;border:2px solid #080808;border-radius:4px;background:#f5ecd9;color:#211d15;font:800 12px/1 ui-monospace,monospace;box-shadow:3px 3px 0 #000;cursor:pointer;transition:transform .1s,box-shadow .1s,background .15s}
.globe-theme-toggle:hover{background:#ffd36a}
.globe-theme-toggle:active{transform:translate(3px,3px);box-shadow:none}
.globe-theme-toggle[aria-pressed="true"]{background:#1c2940;color:#f5ecd9;border-color:#080808}

/* Navigation Interaction System — site-native pixel settings panel */
.navigation-settings{margin:18px 0 12px;padding:14px 16px 12px;border:2px solid #080808;border-radius:4px;background:#f5ecd9;color:#211d15;box-shadow:4px 5px 0 #080808;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.navigation-settings-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:2px solid #211d15}
.navigation-settings-kicker{font-size:10px;font-weight:900;letter-spacing:1.3px;color:#8a6b31}
.navigation-reset{min-height:30px;padding:0 10px;border:2px solid #080808;border-radius:2px;background:#f4bd3c;color:#211d15;box-shadow:2px 2px 0 #080808;font:900 10px/1 ui-monospace,SFMono-Regular,Menlo,monospace;cursor:pointer;transition:transform .1s,box-shadow .1s,background .1s}
.navigation-reset:hover{background:#ffd36a}
.navigation-reset:active{transform:translate(2px,2px);box-shadow:none}
.navigation-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}
.navigation-setting-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;min-height:52px;border-bottom:1px solid rgba(33,29,21,.17)}
.navigation-setting-row[hidden]{display:none}
.navigation-setting-row.is-disabled{opacity:.42}
.navigation-setting-row select:disabled{cursor:not-allowed;background:#e5dcc9;color:#897d69}
.navigation-setting-row>label:first-child{color:#211d15;font-size:12px;font-weight:900;white-space:nowrap}
.navigation-setting-row select{width:min(190px,62%);min-width:0;min-height:32px;padding:5px 25px 5px 8px;border:2px solid #211d15;border-radius:2px;background:#fffaf0;color:#211d15;font:800 11px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;outline:none}
.navigation-setting-row select:focus-visible{outline:3px solid #d99b20;outline-offset:2px}
.navigation-switch{display:inline-flex;align-items:center;gap:8px;color:#211d15;font-size:11px;font-weight:900;cursor:pointer}
.navigation-switch input{width:17px;height:17px;margin:0;accent-color:#d99b20}
.navigation-settings-note{margin:10px 0 0;color:#74654e;font-size:10px;font-weight:700;line-height:1.65}
@media(max-width:560px){.navigation-settings{padding:12px}.navigation-settings-grid{grid-template-columns:1fr}.navigation-setting-row{min-height:48px}.navigation-setting-row select{width:min(60%,230px)}}
\n/* PRESSURE preview: keep the compact circular mechanism centred in its mount. */\n.pressure-mount{--mount-ratio:1.18;background:#0b0d10}\n.pressure-mount .portfolio-live-placeholder{background:radial-gradient(ellipse at 50% 48%,#28231b,#0b0d10 70%)}\n.pressure-mount .portfolio-live-mark{color:#e5b873}\n