.hom-defense-summary{margin:20px 0;padding-top:16px;border-top:1px solid var(--line,#494155);min-width:0}
.hom-effective-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}.hom-effective-controls label{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:13px}.hom-effective-controls select{width:100%;min-width:0;box-sizing:border-box;min-height:42px;font-size:14px;padding:6px}.hom-effective-result{padding:18px 0;border-bottom:1px solid var(--line,#494155)}.hom-effective-result>span{display:block;font-size:13px;color:var(--muted,#b6acc6)}.hom-effective-result>strong{display:block;font-size:30px;line-height:1.5;color:#bad9ef;font-variant-numeric:tabular-nums}.hom-effective-result p{margin:4px 0;font-size:15px}.hom-effective-breakdown>summary,.hom-effective-raw>summary{padding:12px 0;min-height:24px;font-size:14px;cursor:pointer}.hom-effective-breakdown{font-size:13px;line-height:1.7}.hom-effective-breakdown ol{padding-left:20px}.hom-effective-breakdown li{margin-bottom:8px}.hom-effective-breakdown p{margin:6px 0}.hom-effective-af{margin:8px 0;min-height:42px}.hom-effective-raw{margin-top:12px}@media(max-width:380px){.hom-effective-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.hom-effective-controls label:first-child{grid-column:1/-1}}
.hom-status-dashboard .hom-defense-summary{border-top:0;padding-top:0}.hom-resistance-cell>summary::after,.hom-stat-row>summary::after{display:none!important}
.hom-status-dashboard [hidden]{display:none!important}.hom-status-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line,#494155);margin:12px 0}.hom-status-tabs button{flex:1;min-width:0;min-height:44px;padding:8px 4px;font-size:14px;border-radius:6px 6px 0 0}.hom-status-tabs button[aria-selected=true]{background:#443054;color:#fff;border-bottom:3px solid #c59fe4}.hom-status-tabs button:focus-visible{outline:2px solid #c59fe4;outline-offset:2px}.hom-defense-select{display:flex;align-items:center;gap:10px;font-size:14px;margin:16px 0}.hom-defense-select select{min-height:40px;max-width:65%}.hom-resistance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.hom-resistance-group h3{font-size:15px;margin:16px 0 8px}.hom-resistance-cell{border:1px solid var(--line,#494155);border-radius:5px;min-width:0}.hom-resistance-cell>summary{padding:10px;min-height:44px;display:flex;flex-direction:column;gap:6px;cursor:pointer;list-style:none;font-size:13px}.hom-resistance-cell>summary::-webkit-details-marker{display:none}.hom-resistance-cell>summary>span::after{content:' ＋';color:var(--muted,#b6acc6)}.hom-resistance-cell[open]>summary>span::after{content:' −'}.hom-resistance-cell>summary strong{font-size:17px;color:#c4dfbd;font-variant-numeric:tabular-nums}.hom-resistance-cell[open]{grid-column:1/-1}.hom-resistance-parts{padding:0 12px 12px;font-size:13px;line-height:1.7}.hom-resistance-parts ul{padding-left:18px}.hom-resistance-parts p{margin:6px 0}.hom-resistance-af,.hom-resistance-states,.hom-resistance-help,.hom-resistance-conditional{margin:12px 0}.hom-resistance-af>summary,.hom-resistance-states>summary,.hom-resistance-help>summary,.hom-resistance-conditional>summary{padding:12px 0;min-height:24px;cursor:pointer;font-size:14px}.hom-resistance-af>summary small{margin-left:8px;font-size:12px;color:var(--muted,#b6acc6)}.hom-resistance-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}.hom-resistance-inputs label{display:flex;flex-direction:column;gap:4px;font-size:13px;min-width:0}.hom-resistance-inputs label>span{display:flex;gap:4px;align-items:center}.hom-resistance-inputs input{box-sizing:border-box;width:100%;min-width:0;min-height:40px}.hom-resistance-help p,.hom-resistance-conditional li{font-size:13px;line-height:1.7}.hom-status-dashboard .hom-defense-summary{margin-top:8px}.hom-status-dashboard .hom-stat-summary{border-top:0;padding-top:0}
@media(max-width:480px){.hom-resistance-grid,.hom-resistance-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.hom-status-tabs button{font-size:13px}.hom-stat-result{font-size:15px}}
.hom-stat-summary{border-top:3px solid #ab95c6;padding-top:8px;margin:14px 0}.hom-stat-summary h2{font-size:18px}.hom-stat-row{border-bottom:1px solid var(--line,#494155)}.hom-stat-row>summary{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;padding:12px 2px;min-height:44px;cursor:pointer;list-style:none}.hom-stat-row>summary::-webkit-details-marker{display:none}.hom-stat-result{margin-left:auto;font-variant-numeric:tabular-nums;color:#c4dfbd;font-size:17px;font-weight:700}.hom-stat-result small{font-size:12px;font-weight:400}.hom-stat-open{font-size:12px;color:var(--muted,#b6acc6)}.hom-stat-open::after{content:' ＋'}.hom-stat-row[open] .hom-stat-open::after{content:' −'}.hom-stat-breakdown{padding:4px 12px 12px;font-size:13px;line-height:1.7}.hom-stat-breakdown ul{margin:4px 0 12px;padding-left:20px}
.hom-defense-summary{border-top:3px solid #a7bfd0}.hom-defense-scope{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12px;line-height:1.6}.hom-defense-scope span:first-child{color:#c4dfbd}.hom-defense-scope span:last-child{color:var(--muted,#b6acc6)}.hom-defense-table .hom-cut-result{font-size:17px;color:#bad9ef}.hom-defense-table .hom-cut-breakdown{text-align:left;margin-top:2px}.hom-defense-table .hom-cut-breakdown>summary{justify-content:flex-end;min-height:36px}.hom-defense-table .hom-cut-step{padding:8px 0;border-top:1px solid var(--line,#494155);line-height:1.7}.hom-cut-step>b,.hom-cut-step>span{display:block}.hom-cut-example{padding:8px 0;border-top:1px solid var(--line,#494155);color:var(--text,#eee8f5)}
.hom-defense-party{margin:14px 0;font-size:13px}.hom-defense-party summary{min-height:36px;cursor:pointer;font-weight:600}.hom-defense-party p{line-height:1.7}.hom-defense-party ul{padding-left:20px}
.hom-defense-summary h2{font-size:18px}.hom-defense-summary h3{font-size:15px;margin:16px 0 8px}.hom-defense-legend{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:13px;color:var(--muted,#b6acc6)}
.hom-defense-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:14px}.hom-defense-table th,.hom-defense-table td{padding:9px 8px;border-bottom:1px solid var(--line,#494155);vertical-align:top;overflow-wrap:anywhere}.hom-defense-table th:first-child{width:50%;text-align:left}.hom-defense-table td,.hom-defense-table thead th:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}.hom-defense-table tbody th{font-weight:500}.hom-defense-table details{font-size:12px;font-weight:400;color:var(--muted,#b6acc6)}.hom-defense-table summary{min-height:32px;display:flex;align-items:center;cursor:pointer}.hom-defense-table summary::before{content:'＋';margin-right:4px}.hom-defense-table details[open]>summary::before{content:'−'}.hom-defense-table ul{margin:4px 0;padding-left:16px}.hom-defense-table li{margin-bottom:5px}
.hom-defense-conditional{margin-top:18px}.hom-defense-conditional>summary{padding:10px 0;cursor:pointer;font-weight:600}.hom-defense-conditional small{display:block;font-size:12px;font-weight:400;color:var(--muted,#b6acc6)}.hom-defense-conditional ul{padding-left:18px}.hom-defense-conditional li{margin:12px 0;font-size:14px}.hom-defense-conditional li span{display:block;margin-top:4px;color:var(--muted,#b6acc6)}
.skill-detail-full .mitigation-notes{padding:8px 10px;border-left:3px solid #baa0dc;background:#baa0dc0b;font-size:13px}.mitigation-notes strong{display:block;color:var(--ink,#eee8f5)}
.hom-status-af{margin:18px 0}.hom-status-af>summary{padding:12px 0;cursor:pointer}.hom-status-dialog{width:min(740px,calc(100vw - 24px));max-height:85dvh;overflow:auto;box-sizing:border-box;color:var(--ink,#eee8f5);background:var(--paper,#211c2f);border:1px solid var(--line,#494155);border-radius:8px;padding:20px}.hom-status-dialog::backdrop{background:#0008}.hom-status-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:10px}.hom-status-dialog h2{font-size:18px}.hom-status-dialog .status-stat-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.status-stat-list>div{display:flex;justify-content:space-between;gap:12px;padding:8px;border-bottom:1px solid var(--line,#494155)}.status-stat-list dt,.status-stat-list dd{margin:0;font-size:14px}.status-stat-list small{display:block;color:var(--muted,#b6acc6)}
@media(max-width:480px){.hom-defense-table th,.hom-defense-table td{padding:8px 4px;font-size:13px}.hom-status-dialog{padding:12px}.hom-status-dialog .status-stat-list{grid-template-columns:1fr}}
.hom-calculator{margin:12px 0 20px}.hom-calculator>header{display:flex;align-items:baseline;justify-content:space-between;gap:10px;flex-wrap:wrap}.hom-calculator h2{font-size:18px;margin:8px 0}.hom-calculator a{font-size:13px}.hom-growth-main,.hom-growth-bonus>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.hom-growth-main{grid-template-columns:repeat(2,minmax(0,1fr));max-width:430px}.hom-calculator label{display:flex;flex-direction:column;gap:5px;font-size:14px;min-width:0}.hom-calculator input[type=number]{box-sizing:border-box;width:100%;min-width:0;min-height:40px;font-size:16px;font-variant-numeric:tabular-nums;padding:8px}.hom-growth-bonus{border:0;padding:0;margin:16px 0}.hom-growth-bonus legend{padding:0;margin-bottom:8px;font-size:14px}.hom-growth-bonus legend small{font-size:12px;color:var(--muted,#b6acc6)}.hom-calculator .hom-growth-potential{flex-direction:row;align-items:center;min-height:42px;gap:8px}.hom-growth-potential input{width:18px;height:18px;flex-shrink:0}.hom-growth-extra{font-size:13px;margin:4px 0}.hom-growth-extra>summary,.hom-growth-notes>summary{cursor:pointer;padding:10px 0}.hom-growth-extra label,[data-growth-manual]>label{max-width:240px}.hom-growth-equipped{font-size:13px;color:var(--muted,#b6acc6);margin:14px 0 6px}.hom-growth-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 16px}.hom-growth-results>details{min-width:0;border-bottom:1px solid var(--line,#494155)}.hom-growth-results summary{display:flex;flex-direction:column;gap:5px;cursor:pointer;list-style:none;padding:12px 0}.hom-growth-results summary::-webkit-details-marker{display:none}.hom-growth-results summary::after{display:none!important}.hom-growth-results summary>span{font-size:14px}.hom-growth-results strong{font-size:22px;color:#c4dfbd;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.hom-growth-results small{font-size:11px;color:var(--muted,#b6acc6)}.hom-growth-results>details[open]{grid-column:1/-1}.hom-growth-breakdown{font-size:13px;line-height:1.7}.hom-growth-breakdown ul{padding-left:20px}.hom-growth-notes{font-size:13px;margin:12px 0}.hom-growth-notes li{line-height:1.7}.hom-calculator [data-growth-save]{font-size:12px;color:var(--muted,#b6acc6);margin:4px 0}.hom-calculator [data-growth-save]:empty{display:none}@media(max-width:480px){.hom-growth-bonus>div,.hom-growth-results{grid-template-columns:repeat(2,minmax(0,1fr))}.hom-growth-results strong{font-size:20px}}
