/* Approved ivory paper, painted objects and separated visual planes. */
:root{--paper:#f7f4ed;--card:#fffdf8;--ink:#5c5361;--muted:#8a7c83;--line:#ddd4d8;--green:#89708f;--accent:#e5d7eb;--gold:#aa8755;--rim:0 2px 1px #7c647b26,0 5px 12px #68516b14;--lift:0 3px 1px #89788929,0 9px 18px #7b677c21}
body:not([data-spectating]) #app{background:#f6f2eb url('../art/ui/bright-guild-v1/wallpaper.webp') center/cover}
body:not([data-spectating]) #app:before{background:linear-gradient(120deg,#fff8,#faf5ee33)!important}
body:not([data-spectating]) .topbar{background:#fffdf7e8;box-shadow:0 3px 16px #8e7b8512;border-bottom:1px solid #fff9;color:#726476}
body:not([data-spectating]) .breadcrumb b,body:not([data-spectating]) .topbar button{color:#726476}
body:not([data-spectating]) .topbar button,body:not([data-spectating]) .resource{background:#f6f0e780;border:0;box-shadow:none}
body:not([data-spectating]) .resource b{color:#766378}
#navigation{background:linear-gradient(110deg,#fffdf8ee,#f0e8e7f2);box-shadow:0 -5px 20px #81697c18;border:0;border-top:1px solid #fff;backdrop-filter:blur(10px)}
#navigation button{color:#998998;background:none;box-shadow:none}#navigation button.active{color:#806186;background:#e5d7e94a}#navigation button.active:before{background:#b298bb}#navigation button.active .nav-icon{filter:none}
#navigation button[data-page=guild] .nav-icon{width:31px;height:29px;border-radius:11px 4px;background:#e8dce9;border:1px solid #fff;box-shadow:0 3px #b9a2c038;display:grid;place-items:center}#navigation button[data-page=guild].active .nav-icon{background:#b59cbe;color:#fffaf4;transform:translateY(-3px)}
body:not([data-spectating]) #main{color:var(--ink);background:transparent}
body:not([data-spectating]) :is(.page-heading,.page-heading h1,.page-heading p,.aside-text){color:var(--ink)}
body:not([data-spectating]) .page-emblem{display:none}
body:not([data-spectating]) :is(.flow-tabs,.gear-tabs,.member-tabs){background:#e4dbe33d;border:0;box-shadow:inset 0 1px 2px #8e779215;border-radius:12px 4px}
body:not([data-spectating]) :is(.flow-tabs,.gear-tabs,.member-tabs)>button{color:#978697;background:none;box-shadow:none}
body:not([data-spectating]) :is(.flow-tabs,.gear-tabs)>button.active,body:not([data-spectating]) .member-tabs>button[aria-selected=true]{background:#e7dbea;color:#72577e;box-shadow:0 2px 4px #8c759724;border-top:1px solid #fff}
body:not([data-spectating]) :is(.panel,.detail-reader,.check-row,.flow-row,.expedition-card,.party-card,.collection-skill,.report-banner,.forge-selected,.craft-selection,.craft-work,.recipe-detail){color:#655769;background:linear-gradient(135deg,#fffef8ee,#eee7e9df);border:1px solid #fff9;box-shadow:var(--lift)}
body:not([data-spectating]) :is(.panel,.flow-row,.collection-skill,.expedition-card,.forge-selected,.craft-work) :is(p,small){color:#827283}
body:not([data-spectating]) :is(.empty,.condition,.tag,.badge,.roster-mode-info,.list-count,.member-collection-heading small){color:#8a778d;background-color:transparent}
body:not([data-spectating]) :is(input:not([type=checkbox]),select){background:#eee8e7b0;color:#6c5b71;box-shadow:inset 0 1px 3px #a38a9e26;border:1px solid #fff8}
body:not([data-spectating]) :is(button.primary,.menu-grid button){background:linear-gradient(120deg,#e7d8b8,#f2e6ce);color:#8a704c;border:1px solid #fff8;box-shadow:0 3px #9b826e22,2px 6px 12px #8e765122}
body:not([data-spectating]) button.danger{background:#f4e6e2;color:#ac6865;box-shadow:var(--rim)}
body:not([data-spectating]) :is(button.small,.button-row>button,.roster-tools>button,.forge-execute>button){background:#f2ecec;color:#806b85;border:1px solid #fff;box-shadow:var(--rim)}
body:not([data-spectating]) .roster-tools>button.chosen{background:#d9c4e0;color:#73537e}
#modal,#modal[data-summon],#modal:has(.item-sheet-title){color:#68596d;background:linear-gradient(135deg,#fffdf7,#eee5e9);border:1px solid #fff;border-radius:16px 25px 12px 12px;box-shadow:0 12px 60px #4a344b55}
#modal::backdrop{background:#59475946;backdrop-filter:blur(4px)}#modal :is(.gear-reader,.detail-reader:not(.gear-reader),.skill-info,.collection-skill){color:#68596d;background:#f3ececcc;border:0;box-shadow:inset 0 1px 6px #927c9320}#modal .modal-close{color:#816589;background:#e8dce9;box-shadow:var(--rim)}#modal :is(p,small,.condition,.option-heading,.skill-info-heading b){color:#817084}#modal .item-sheet-title{color:#7c6580}#modal .primary{color:#826847;background:#e8d8b7;border:1px solid #fff;box-shadow:var(--rim)}#modal button:not(.inventory-card):not(.npc-portrait):not(.reveal-skip):not(.summon-reveal-card){border-color:#d8cbdc}
#tooltip,#toast{background:#fffcf4f2;color:#806887;border:1px solid #fff;box-shadow:0 8px 24px #7156762e}body:not([data-spectating]) .local-scroll .attribute-table thead{background:#e9dfe9}body:not([data-spectating]) :is(.stat-chips>span,.report-totals>span){background:#efe5ef;color:#756179;box-shadow:var(--rim)}body:not([data-spectating]) .report-totals b{color:#76567f}
/* Compact collection objects, grade at the lower edge rather than text. */
.rarity-1{--grade:#a09aa2}.rarity-2{--grade:#7f9d8c}.rarity-3{--grade:#7994c6}.rarity-4{--grade:#ae83bc}.rarity-5{--grade:#d8ab61}
:is(#main,#modal) .inventory-grid.inventory-slots .inventory-card,:is(#main,#modal) .inventory-card{background:linear-gradient(135deg,color-mix(in srgb,var(--grade,#aaa) 12%,#fffdf7),#f0ebeb);border:1px solid #fff;border-bottom:5px solid var(--grade,#b7a8bc);border-radius:4px 10px 4px 4px;box-shadow:1px 3px 1px #6a526343,2px 5px 7px #81678325;color:#716477;padding:2px 2px 3px}
:is(#main,#modal) .inventory-card .inventory-art{background:radial-gradient(ellipse at 45% 35%,#fff9,transparent 70%);border:0;filter:drop-shadow(1px 2px 1px #4c365b28)}:is(#main,#modal) .inventory-card :is(strong,small){color:#736578;text-shadow:none}.inventory-card .inventory-count,.inventory-card .inventory-badge{background:#fff8f1d9;color:#897187;box-shadow:none;font-size:9px}.inventory-card .inventory-art .item-art{max-width:100%;max-height:100%}.painted-interface-art{aspect-ratio:1}
.skill-art{background:#ede2ec;border:1px solid #fff;box-shadow:1px 3px 0 #8d709838,2px 5px 9px #86639422;border-radius:10px 3px}.skill-art>i{background:#e2d4e7;color:#94709d}.skill-art>.painted-interface-art{width:100%;height:100%}
/* Portrait first; functional paths float above the illustration. */
#main[data-page=hero]{padding:0;gap:0}#main[data-page=hero]>.member-tabs{margin:10px 14px 0;z-index:4}.member-showroom{position:relative;isolation:isolate;flex:1;min-height:0;overflow:hidden;background:linear-gradient(115deg,#fff8,#f8f3ec22),url('../art/ui/bright-guild-v1/wallpaper.webp') center/cover}
.portrait-breath,.portrait-wall-shadow{position:absolute;left:-12%;top:3%;width:124%;height:91%;transform-origin:50% 0;animation:member-breathe 5.4s ease-in-out infinite;pointer-events:none}
.portrait-breath .collection-illustration,.portrait-wall-shadow .collection-illustration{width:100%;max-width:none;height:100%;object-fit:contain;object-position:50% 0;filter:none}.portrait-breath{z-index:1}.portrait-wall-shadow{z-index:0;filter:brightness(0) blur(8px);opacity:.16;translate:16px 13px}
.portrait-breath>.guild-member,.portrait-wall-shadow>.guild-member{display:block;width:70%;height:auto;aspect-ratio:1;margin:8% auto}
@keyframes member-breathe{0%,100%{transform:scale(.7)}45%{transform:translateY(-2px) scale(.702,.705)}70%{transform:translateY(-1px) scale(.701,.702)}}
.member-showroom-state{position:absolute;top:14px;left:20px;z-index:3;font-size:10px}.member-showroom-state .badge{background:none;color:#9a8b8b;box-shadow:none;border:0;padding:0}
.member-floating-actions{position:absolute;right:16px;top:23%;display:grid;gap:19px;z-index:4}.member-float{display:flex;align-items:center;flex-direction:column;gap:1px;width:65px;padding:0;min-height:0;background:none!important;border:0!important;box-shadow:none!important;color:#806087;font-size:11px}.floating-menu-art{display:block;width:64px;height:64px;filter:drop-shadow(2px 5px 3px #6b4b6e35)}.member-float.gear{color:#667e9b}.member-float:active .floating-menu-art{transform:scale(.94)}
.member-name-paper{position:absolute;left:23px;bottom:112px;z-index:3;width:55%;padding:15px 0 4px;color:#675b69}.member-name-paper:before{content:'';position:absolute;z-index:-1;inset:0 -18px -15px -30px;background:linear-gradient(110deg,#fffbf3f5,#f6f0e9c7 75%,#fff0);backdrop-filter:blur(3px);transform:rotate(2deg)}.member-name-paper>small{display:block;color:#a18b68;font-size:10px;letter-spacing:1px}.member-name-paper .member-stars{letter-spacing:2px;font-size:10px;margin-bottom:6px}.member-name-paper h1{font-size:32px;line-height:1.3;margin:4px 0 8px;font-weight:650}.member-name-paper p{font-size:10px;color:#9d8c8e}
.member-stat-link{padding:9px 0 0;border:0;background:none!important;box-shadow:none;font-size:10px;color:#998b8c;white-space:nowrap}.member-stat-link b{font-size:17px;font-weight:500;color:#766674;margin:0 5px}.member-stat-link span{font-size:9px}
.member-expedition-ticket{position:absolute;z-index:4;right:18px;bottom:124px;width:124px;min-height:62px;padding:11px 14px;background:linear-gradient(110deg,#f3e5c5,#e9d8b3)!important;color:#9b7c4d;border:1px solid #fff;box-shadow:3px 6px 12px #917c542b;transform:rotate(-3deg);border-radius:3px;text-align:left}.member-expedition-ticket small{font:7px Georgia;letter-spacing:2px;color:#af9769}.member-expedition-ticket b{display:block;font-size:11px;font-weight:600;margin-top:5px;letter-spacing:1px}.member-expedition-ticket>span{position:absolute;right:10px;bottom:15px}
.member-mini-motion{position:absolute;right:12px;bottom:195px;width:125px;height:130px;z-index:3;pointer-events:none}
.member-selector{position:absolute;left:18px;right:16px;bottom:10px;z-index:5;height:91px;display:flex;flex-direction:row;gap:10px;padding:7px 2px;overflow-x:auto;overflow-y:hidden;touch-action:pan-x;overscroll-behavior:contain;scrollbar-width:none;scroll-snap-type:x proximity}
.member-selector .member-selector-card{display:block;flex:none;position:relative;width:61px;height:76px;min-height:0;padding:0;overflow:hidden;background:linear-gradient(140deg,#f0e9eb,#dcd2e1);border:1px solid #fff;border-bottom:3px solid #bca9c5;border-radius:11px 4px;box-shadow:1px 3px #8b74872c;scroll-snap-align:center}.member-selector-card .collection-illustration{position:absolute;top:0;left:-15px;width:91px;height:137px;max-width:none;filter:none}.member-selector-card>.guild-member{position:absolute;width:75px;height:75px;left:-7px;top:0}.member-selector-card:after{content:'';position:absolute;inset:55% 0 0;background:linear-gradient(transparent,#efe8e7 90%)}.member-selector-card span{position:absolute;bottom:5px;left:2px;right:2px;text-align:center;font-size:9px;color:#75647b;z-index:2;white-space:nowrap;overflow:hidden}.member-selector .selected{transform:translateY(-3px);border-color:#c7aa78;box-shadow:0 2px #c3a161,2px 5px 8px #907b5829}
.member-motion-paused :is(.portrait-breath,.portrait-wall-shadow){animation-play-state:paused}
/* Gear and skill collections reuse the actual item commands and inner scrolling. */
.member-loadout{padding:8px 14px 12px;gap:7px}.member-equipped{position:relative!important;display:block!important;flex:none;height:clamp(190px,33dvh,300px);padding:0!important;background:none!important;box-shadow:none!important;border:0!important;isolation:isolate}.member-doll{position:absolute!important;inset:0 20%!important;display:block!important;width:auto!important;height:100%!important;z-index:0;overflow:hidden}.member-doll:before{display:none}.member-doll>.collection-illustration{width:100%;height:115%;max-width:none;object-fit:contain;object-position:50% 0;filter:drop-shadow(12px 8px 7px #8e78933b)}.member-doll>.guild-member{width:100%;height:100%}.member-gear-slot{position:absolute;z-index:2;width:62px;height:78px!important;display:block!important}.member-gear-slot[data-slot=weapon]{left:3%;top:20%}.member-gear-slot[data-slot=head]{right:3%;top:8%}.member-gear-slot[data-slot=armor]{right:1%;top:48%}.member-gear-slot[data-slot=accessory]{left:4%;top:62%}.member-gear-slot .inventory-card{width:100%;height:100%}.member-gear-slot .inventory-card>strong{display:none}.member-gear-slot .inventory-art{height:58px}.member-empty-gear{height:72px;background:#f1e9ea9c;color:#aa94ae;border:1px dashed #c8b7cd;box-shadow:none}.member-power{margin:0 8px;color:#aa8b67;background:none;box-shadow:none;font-size:10px}.member-power strong{font-size:17px;color:#81648a}.member-collection{min-height:0;flex:1;display:flex;flex-direction:column;padding:8px 6px 0;background:#fff9;border:1px solid #fff;border-radius:12px 4px;box-shadow:0 -4px 18px #90718e12}.member-collection-heading h2{font-size:12px;color:#8a758d}.member-collection>.local-scroll{min-height:0;flex:1}.member-filters .flow-tabs{padding:2px}.member-filters .flow-tabs button{font-size:9px}
.member-skill-stage{position:relative;flex:none;height:clamp(190px,35dvh,305px);overflow:hidden}.member-skill-stage>.collection-illustration,.member-skill-shadow>.collection-illustration{position:absolute;left:13%;top:0;width:74%;height:135%;max-width:none;object-fit:contain;object-position:50% 0;filter:none}.member-skill-shadow{position:absolute;inset:0;translate:14px 11px;filter:brightness(0) blur(8px);opacity:.13}.member-skill-stage>.guild-member{display:block;width:200px;height:200px;margin:auto}.member-skill-name{position:absolute;bottom:12px;left:23px;background:linear-gradient(90deg,#faf4e9db,transparent);padding:8px 30px 0 0}.member-skill-name small{font-size:9px;color:#a08460}.member-skill-name h2{font-size:25px;color:#6d5c72}
.member-technique-panel{display:flex;flex-direction:column;flex:1;min-height:0;margin:0 14px 14px;padding:17px;background:linear-gradient(135deg,#fffdf8e8,#eee6ebeb);border:1px solid #fff;border-radius:4px 18px 4px 4px;box-shadow:5px 8px 19px #80678127;backdrop-filter:blur(8px)}.member-technique-tabs{display:flex;gap:22px;margin-bottom:18px;flex:none}.member-technique-tabs>button{background:none;border:0;box-shadow:none;padding:0;color:#9b8c9e;display:grid;gap:7px;text-align:center}.member-technique-tabs .skill-art{width:51px;height:51px}.member-technique-tabs button[aria-selected=true] .skill-art{outline:1px solid #bca0c7;outline-offset:4px}.member-technique-tabs small{font-size:10px;color:#9b82a3}.member-technique-copy{flex:1;min-height:0}.member-technique-copy>small{font-size:10px}.member-technique-copy h2{font-size:22px;color:#765a81}.member-technique-copy p{font-size:12px;line-height:1.85;margin:10px 0;color:#857386}.member-technique-copy .condition{font-size:11px}
/* The roster keeps its existing visibility-gated motion and selection flow. */
.roster-mode-info{color:#a18d9f!important}.roster-cards .unit-card{background:none!important;border:0!important;box-shadow:none!important}.roster-cards .roster-lodging{background:radial-gradient(ellipse at 45% 35%,#fffef6,#e7dfe1 56%,#c4b6c5 73%);border-bottom:2px solid #baaac0;box-shadow:5px 7px 10px #876e8e28,inset 0 1px #fff}.roster-cards .unit-portrait:before{background:radial-gradient(ellipse,#fff9,transparent 65%)}.roster-nameplate,.roster-cards .unit-state{color:#a08b9d!important}.roster-nameplate strong{color:#7d6585!important}.member-lock-badge{background:#e5d7e7;color:#99769f;box-shadow:var(--rim)}.roster-cards .guild-member{filter:drop-shadow(3px 4px 3px #82668425)}
.collection-card,.collection-card.star-2,.collection-card.star-3{background:linear-gradient(145deg,#e6dfe9,#faf5eb);border:1px solid #fff;border-bottom:3px solid #c7af85;box-shadow:2px 5px 8px #8d73912b;color:#7d6583;border-radius:6px 3px}.collection-card-art{position:relative;overflow:hidden}.collection-card-art .collection-illustration{position:absolute;top:0;width:150%;height:210px;max-width:none;object-fit:cover;object-position:50% 0;filter:none}.collection-card:has(.collection-undiscovered) .collection-card-art{filter:grayscale(1);opacity:.4}.collection-card>small,.collection-card-stars{color:#a78d6e}.collection-info>header p{color:#a58a68}
/* NPCs stay tall above the counter; dialogue takes one short line pair. */
body:not([data-spectating]) .npc-host:before{background:linear-gradient(110deg,#eee5e9dd,#faf7ecaa);box-shadow:var(--rim)}.npc-copy,.npc-copy>small>b{color:#7f6689}.npc-copy>small{color:#a18b9f}.npc-host.npc-counter{--counter-top:#e5d8c5;--counter-edge:#fff9ec;--counter-face:#eee4da;height:clamp(230px,34dvh,295px);background:linear-gradient(120deg,#fdf8f0bb,#eee3ec77),url('../art/ui/bright-guild-v1/wallpaper.webp') center/cover;box-shadow:var(--lift);border:1px solid #fff;border-radius:9px 22px 4px 4px}.npc-host.npc-counter:before{background:radial-gradient(ellipse at 60% 60%,#d6c2df66,transparent 65%);box-shadow:none}.npc-host.npc-counter .npc-portrait{width:calc(clamp(230px,34dvh,295px) + 30px);bottom:-5px}.npc-counter .npc-sprite{filter:drop-shadow(12px 10px 7px #94769b3b)}.npc-countertop{height:44px;box-shadow:0 -3px 12px #8f798b24;background:linear-gradient(#fff7eb,#dfd2bf 8%,#f1e7db 15%,#eadfce)}.npc-countertop:before{background:linear-gradient(160deg,#fff8e9,#e5d5bc)}.npc-countertop:after{border-color:#fff5;box-shadow:none}.npc-countertop>i{background:#cbb597;border-color:#f8ead0;box-shadow:0 2px #a8927c55}.npc-counter .npc-copy{height:42px;padding:4px 13px}.npc-counter .npc-copy>small>b{color:#806487}.npc-counter .npc-copy>small{color:#a28b9f}.npc-counter .npc-copy .npc-line{color:#978294;font-size:11px}.npc-host[data-npc-role=alchemist]{--npc-accent:#96a589}.npc-host[data-npc-role=mage]{--npc-accent:#b396c7}.npc-host[data-npc-role=blacksmith]{--npc-accent:#c59b79}.work-status,.work-theatre>h3{color:#9e83a5}.work-theatre .work-skip{background:#ede1ef;color:#82638a;border-color:#cfb9d6}.workshop-vista:has(>.npc-counter){background:none!important}
/* Live guild and harbor: scene below light interface overlays. */
#main[data-page=guild]{padding:0;max-width:none}.guild-live-space{position:relative;flex:1;min-height:0;overflow:hidden;background:#ead8c3;isolation:isolate}.guild-live-space .hall-canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none;cursor:grab}.guild-live-space .hall-canvas:active{cursor:grabbing}.guild-space-heading{position:absolute;top:20px;left:22px;color:#745a77;pointer-events:none;text-shadow:0 1px #fff8}.guild-space-heading:before{content:'';position:absolute;z-index:-1;inset:-30px -140px -45px -30px;background:radial-gradient(ellipse at 15% 0,#fffaf4ee,#fff9 30%,transparent 70%)}.guild-space-heading>small{font:8px Georgia;letter-spacing:2px;color:#a38991}.guild-space-heading h1{font-size:24px;margin:4px 0}.guild-space-heading>span,.guild-space-heading p{font-size:10px;color:#957c8a}.guild-space-heading p{margin-top:3px}.guild-zone-tabs{position:absolute;top:133px;left:18px;display:flex;gap:3px;padding:4px;background:#fff9f0d9;border-radius:12px 4px;box-shadow:var(--rim)}.guild-zone-tabs button{font-size:11px;color:#9a839b;padding:7px 10px;border:0;border-radius:9px 3px;background:none;min-height:34px}.guild-zone-tabs button.on{background:#b79bc1;color:#fff8ef}.guild-camera-tools{position:absolute;top:24px;right:13px;display:grid;gap:7px}.guild-camera-tools button{width:34px;height:34px;min-height:0;border-radius:50%;padding:0;color:#9a7da0;background:#fff8eed9;border:1px solid #fff9;box-shadow:var(--rim);font-size:19px}.guild-drag-hint{position:absolute;bottom:69px;left:0;right:0;text-align:center;font-size:9px;color:#8e7588;pointer-events:none;text-shadow:0 1px #fff8}.guild-facility-links{position:absolute;bottom:13px;left:13px;right:13px;display:flex;flex-direction:row;gap:6px}.guild-facility-links button{flex:1;min-width:0;padding:12px 4px;text-align:center;justify-content:center;font-size:10px;background:#fff8eedf;color:#927397;border:1px solid #fff9;box-shadow:var(--rim);border-radius:10px 3px}
@media(max-width:340px){.member-floating-actions{right:10px;gap:13px}.member-float,.floating-menu-art{width:56px}.floating-menu-art{height:56px}.member-name-paper{left:19px;bottom:107px}.member-name-paper h1{font-size:28px}.member-expedition-ticket{right:12px;width:112px;bottom:118px}.member-selector{left:14px;right:12px;gap:8px}.member-selector .member-selector-card{width:57px;height:72px}.member-mini-motion{right:7px;width:111px;height:119px;bottom:186px}.member-equipped{height:206px}.member-gear-slot{width:56px;height:73px!important}.member-technique-panel{padding:14px}.guild-facility-links{gap:4px;left:9px;right:9px}.guild-facility-links button{font-size:9px}.guild-space-heading{left:18px}.npc-host.npc-counter{height:230px}.npc-host.npc-counter .npc-portrait{width:260px}}
@media(prefers-reduced-motion:reduce){.portrait-breath,.portrait-wall-shadow{animation:none;transform:scale(.7)}}
/* Late workshop selectors must not restore the previous dark dock. */
body:not([data-spectating]) #navigation{background:linear-gradient(110deg,#fffdf8ee,#f0e8e7f2)}
body:not([data-spectating]) #main input::placeholder{color:#aa94a8}
.roster-collection:after{box-shadow:none}.roster-cards .roster-lodging{display:none}.roster-cards .unit-portrait:before{background:radial-gradient(ellipse at 45% 32%,#fffdf4,#e8dfe1 58%,#c9bacb 77%);border:1px solid #fff;box-shadow:0 3px #b4a4b9,4px 7px 10px #8e73942e;transform:skewX(-8deg)}.roster-cards .unit-portrait:after{background:#83688b22;box-shadow:0 2px 4px #92719622}.roster-nameplate{text-shadow:none}.roster-cards .member-lock-badge{background:#e8dce9;color:#95749f;box-shadow:0 2px #baa3c138}
.inventory-grid.inventory-slots:not(.member-gear-slot):not(.confirm-card):not(.forge-selected-card){--slot-row:99px;grid-auto-rows:99px}.inventory-grid.inventory-slots .inventory-card .inventory-count{color:#8a7691;background:#fff8f0e0;box-shadow:none}.inventory-grid.inventory-slots .inventory-card>strong{font-size:9px;line-height:12px;min-height:24px;margin:0 2px}.inventory-grid.inventory-slots .inventory-card .inventory-art{min-height:0;flex:1}.inventory-grid.inventory-slots .inventory-card .inventory-art>.item-art{width:64px;height:64px;max-width:100%;max-height:100%}
@media(max-width:340px){.inventory-grid.inventory-slots:not(.member-gear-slot):not(.confirm-card):not(.forge-selected-card){--slot-row:85px;grid-auto-rows:85px}.inventory-grid.inventory-slots .inventory-card .inventory-art>.item-art{width:51px;height:51px}}
body:not([data-spectating]) :is(.expedition-card-head,.recipe-ledger,.summon-controls,.expedition-card-foot,.forge-execute,.prepare-plan,.summon-result-footer,.recipe-sheet-head,.recipe-effect){background:linear-gradient(130deg,#f9f3ea,#e9dfe9);color:#7e6585;border-color:#fffc;box-shadow:var(--rim)}
body:not([data-spectating]) :is(.summon-controls,.expedition-card-foot,.forge-execute,.cost-row) button.primary:not(:disabled){color:#8a6a42;background:linear-gradient(115deg,#efdbb8,#f6ead5);border:1px solid #fff;box-shadow:var(--rim)}
body:not([data-spectating]) .party-lineup{background:radial-gradient(ellipse at 50% 100%,#d5c2dc88,transparent 70%),#f4ecebe8}.expedition-card .card-index{color:#ba9dc3}.expedition-card .party-plan label{color:#9a849f}.expedition-card button[data-action=world-map]{background:#e8deec;color:#836b8d;box-shadow:var(--rim)}
body:not([data-spectating]) .recipe-grid .recipe-card,body:not([data-spectating]) .recipe-grid .recipe-card.locked{background:linear-gradient(145deg,#f7f0e4,#e3d9e5);color:#826d8a;box-shadow:1px 3px 0 #b4a0b83b,3px 7px 12px #947d922b;border:1px solid #fff}.recipe-card.locked .recipe-icon{opacity:.6}.recipe-card-state{color:#93729e;background:#e2d2e9}.recipe-icon>.ui-icon{fill:#ecd9b7;stroke:#a58b73}.recipe-icon>i{background:#eee4ed;border-color:#fff}.recipe-steps i{background:#c8b8ce77;border-color:#bbabc2}.recipe-ledger b{color:#a78552}.recipe-card-note,.recipe-card>small{color:#9f88a3}.recipe-effect.next{background:#ede0f2}.recipe-effect small,.craft-reward>small{color:#8e7296}
body:not([data-spectating]) .summon-controls h2,body:not([data-spectating]) .summon-controls h2 small{color:#896b90}body:not([data-spectating]) #main[data-page=summon]>details{background:#e8dce9;color:#91729b;border:1px solid #fff;box-shadow:var(--rim)}.summon-preview{color:#927c9a;background:#efe5f0}
.collection-card-art>.guild-member{width:100%;height:100%;max-width:120px;position:relative;left:auto}.collection-card-art:has(>.guild-member){padding:10px 0}
body:not([data-spectating]) .destination-button{background:linear-gradient(110deg,#eee4f0,#dfd0e5)!important;color:#81648d!important;box-shadow:var(--rim)!important}body:not([data-spectating]) .party-power{color:#9b7fa4}body:not([data-spectating]) .topbar .round-button{color:#8c7394!important}
.member-selector .member-selector-more{flex:none;width:54px;height:72px;min-height:0;white-space:nowrap;text-align:center;justify-content:center;padding:6px;background:#eee3ee;color:#9675a0;border:1px solid #fff;border-radius:9px 3px;font-size:10px;box-shadow:var(--rim)}
