.rift-expedition{padding:8px 10px;border-bottom:1px solid #ffffff20;background:#14212b;border-radius:12px 12px 0 0}.rift-expedition[hidden]{display:none}.rift-expedition .rift-heading{font-size:12px;color:#e8cb92;margin-bottom:6px;display:flex;justify-content:space-between;gap:8px}.rift-modes{display:flex;gap:6px}.rift-modes button{flex:1;min-height:40px;min-width:0;border:1px solid #405867;border-radius:8px;background:#20313e;color:#e0e8eb;font:inherit;font-size:12px;cursor:pointer}.rift-modes button[aria-pressed=true]{background:#d3b97c;color:#14212b}.rift-info{font-size:12px;line-height:1.5;overflow-wrap:anywhere;margin:6px 0 0}.rift-info button{min-height:44px;padding:6px 14px;border-radius:8px;border:1px solid #698896;background:#294555;color:#fff}.rift-info summary{min-height:32px;cursor:pointer;padding:6px 0}.rift-info p{margin:5px 0}.rift-info ol{padding-left:22px}.rift-info small{display:block;color:#a9bdc6}.rift-error{color:#f4ba9a}.rift-expedition progress{display:block;width:100%;height:7px;margin:5px 0}

#rift-mine{display:block;margin:6px 0}.rift-modes button{min-height:44px}

.shared-hunt-banner{padding:10px 12px;background:#172a32;color:#c0e8d7;font-size:12px;line-height:1.6;overflow-wrap:anywhere;border-bottom:1px solid #3d5b62}.shared-hunt-banner[hidden]{display:none}

.rift-stage-line{display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap}.rift-stage-line b{color:#ead5a8}#rift-personal-progress{accent-color:#dfbb70}#rift-progress-now{color:#cde3ec}
.castle-entry,.castle-run{padding:12px;border:1px solid #ccab6344;border-radius:12px;background:#101b24;color:#ebdfc6;min-width:0}
.castle-entry p,.castle-run p{font-size:12px;line-height:1.65;margin:7px 0;overflow-wrap:anywhere}.castle-entry[hidden]{display:none}.castle-run-head{display:flex;gap:8px;flex-wrap:wrap;justify-content:space-between}.castle-run progress{width:100%;accent-color:#b9e99a;height:10px}.castle-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.castle-actions button,.castle-affixes select{min-height:44px;padding:8px;border:1px solid #6c7a88;border-radius:8px;color:#fff;background:#233443;font:inherit}.castle-actions label{display:flex;align-items:center;gap:7px;min-height:44px;font-size:12px}.castle-actions input{width:20px;height:20px}.castle-affixes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.castle-affixes label{display:flex;flex-direction:column;gap:4px;font-size:12px}.castle-affixes select{width:100%;min-width:0;font-size:12px}.castle-run summary{padding:10px 0;cursor:pointer;min-height:44px}#castle-result{color:#ffcd8c}#castle-state{color:#9edacf}.castle-entry small{font-size:11px;color:#b5c2c9}
@media(max-width:360px){.castle-affixes{grid-template-columns:1fr}}

body.castle-wall-locked #wall,body.castle-wall-locked #a2card{display:none!important}.castle-run[hidden],#castle-warp[hidden]{display:none!important}
