/* D&D 5e Alternative (Ability-Grouped) Character Sheet Styles */ :root { --border-color: #2b2b2b; --accent-red: #922610; --bg-page: #eaedf0; --bg-sheet: #ffffff; --bg-box: #f9fbfd; --text-main: #1e1e1e; --text-muted: #666666; --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; --font-serif: "Libre Baskerville", "Georgia", serif; } body.sheet-page-wrapper { margin: 0; padding: 24px; background-color: var(--bg-page); font-family: var(--font-sans); color: var(--text-main); display: flex; justify-content: center; box-sizing: border-box; } .character-sheet-container { width: 100%; max-width: 1050px; background: var(--bg-sheet); border: 2px solid var(--border-color); border-radius: 6px; padding: 20px 24px 24px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); box-sizing: border-box; } /* Header */ .sheet-header { display: grid; grid-template-columns: 320px 1fr; gap: 16px; align-items: stretch; border-bottom: 2px solid var(--border-color); padding-bottom: 16px; margin-bottom: 20px; } .header-name-box { border: 1.5px solid var(--border-color); border-radius: 4px; padding: 12px 16px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--bg-box); } .character-name { font-family: var(--font-serif); font-size: 26px; color: var(--accent-red); margin: 0 0 6px 0; line-height: 1.1; word-break: break-word; } .header-label { font-size: 9.5px; font-weight: bold; color: var(--text-muted); letter-spacing: 0.5px; } .header-details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 12px; border: 1.5px solid var(--border-color); border-radius: 4px; padding: 10px 14px; background: var(--bg-box); } .detail-cell { display: flex; flex-direction: column; justify-content: flex-end; border-bottom: 1px solid #ccc; padding-bottom: 3px; } .detail-val { font-size: 13.5px; font-weight: 600; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px; } /* 3-Column Grid */ .sheet-main-grid { display: grid; grid-template-columns: 320px 340px 1fr; gap: 16px; margin-bottom: 16px; } .sheet-col { display: flex; flex-direction: column; gap: 12px; } .section-box { border: 1.5px solid var(--border-color); border-radius: 4px; padding: 10px 12px; background: #ffffff; position: relative; box-sizing: border-box; } .box-bottom-label { text-align: center; font-size: 9.5px; font-weight: bold; color: var(--text-muted); letter-spacing: 0.5px; margin-top: 6px; padding-top: 4px; border-top: 1px solid #eee; } /* Ability-Grouped Box Styles */ .alt-top-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .alt-stat-pill { border: 1.5px solid var(--border-color); border-radius: 16px; padding: 5px 10px; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--bg-box); } .pill-value { font-size: 14px; font-weight: bold; color: var(--accent-red); } .pill-checkbox { width: 14px; height: 14px; border: 1.5px solid var(--border-color); border-radius: 50%; display: inline-block; } .pill-checkbox.checked { background-color: var(--accent-red); } .pill-label { font-size: 8.5px; font-weight: bold; color: var(--text-muted); } .ability-group-box { border: 1.5px solid var(--border-color); border-radius: 6px; padding: 8px 10px; display: grid; grid-template-columns: 78px 1fr; gap: 10px; align-items: center; background: #ffffff; } .ag-score-badge { border: 1.2px solid var(--border-color); border-radius: 4px; padding: 4px 2px; text-align: center; display: flex; flex-direction: column; align-items: center; background: var(--bg-box); } .ag-title { font-size: 8px; font-weight: bold; color: var(--accent-red); } .ag-mod { font-size: 18px; font-weight: bold; color: var(--text-main); line-height: 1.1; } .ag-score { font-size: 10px; color: #555; border: 1px solid #ccc; border-radius: 8px; padding: 0 6px; background: #ffffff; } .ag-sublist { list-style: none; margin: 0; padding: 0; } .ag-subitem { display: flex; align-items: center; font-size: 11px; gap: 6px; margin: 2px 0; line-height: 1.2; } .ag-subitem .dot { width: 8px; height: 8px; border: 1.2px solid var(--border-color); border-radius: 50%; display: inline-block; flex-shrink: 0; } .ag-subitem .dot.filled { background-color: var(--accent-red); border-color: var(--accent-red); } .ag-bonus { font-weight: 700; width: 20px; text-align: right; flex-shrink: 0; } .ag-name { color: #333; } /* Passive Perception */ .passive-perception-box { border: 1.5px solid var(--border-color); border-radius: 18px; padding: 6px 12px; display: flex; align-items: center; gap: 10px; background: var(--bg-box); } .passive-score { font-size: 15px; font-weight: bold; color: var(--text-main); border: 1px solid var(--border-color); border-radius: 50%; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; background: #ffffff; flex-shrink: 0; } .passive-label { font-size: 9.5px; font-weight: bold; color: var(--text-muted); } /* Combat Stats */ .combat-top-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .combat-badge { border: 1.5px solid var(--border-color); border-radius: 6px; padding: 8px 4px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--bg-box); } .badge-ac { border-color: var(--accent-red); } .badge-value { font-size: 22px; font-weight: bold; color: var(--text-main); line-height: 1.1; } .badge-label { font-size: 8.5px; font-weight: bold; color: var(--text-muted); margin-top: 3px; } .hp-max-line { font-size: 10.5px; color: #666; border-bottom: 1px solid #eee; padding-bottom: 4px; } .hp-current-val, .temp-hp-val { font-size: 28px; font-weight: bold; text-align: center; padding: 8px 0; color: var(--text-main); } .hd-and-death-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .half-box { padding: 6px 8px; } .hd-total-line { font-size: 9.5px; color: #666; } .hd-current-val { font-size: 18px; font-weight: bold; text-align: center; padding: 4px 0; } .death-save-line { display: flex; justify-content: space-between; align-items: center; font-size: 9px; font-weight: bold; margin: 3px 0; } .ds-bubbles { display: flex; gap: 4px; } .ds-bubbles .bubble { width: 9px; height: 9px; border: 1.2px solid var(--border-color); border-radius: 50%; display: inline-block; } .ds-bubbles .bubble.filled { background-color: var(--accent-red); } /* Attacks Table */ .attacks-table { width: 100%; border-collapse: collapse; font-size: 11px; margin-bottom: 8px; } .attacks-table th { font-size: 8.5px; font-weight: bold; color: var(--text-muted); border-bottom: 1px solid #ccc; padding: 2px 4px; text-align: left; } .attacks-table td { padding: 5px 4px; border-bottom: 1px solid #eee; } .atk-name { font-weight: 600; } .atk-bonus { font-weight: 700; color: var(--accent-red); } .attack-notes { font-size: 10.5px; line-height: 1.35; color: #444; margin-top: 6px; max-height: 120px; overflow-y: auto; } .attack-note-item { margin: 4px 0; } /* Right Column Roleplay Boxes */ .roleplay-box { min-height: 64px; display: flex; flex-direction: column; justify-content: space-between; } .box-content { font-size: 11.5px; line-height: 1.4; color: #333; } .box-content p { margin: 0; } .empty-hint { color: #999; font-style: italic; font-size: 11px; } .features-box { flex: 1; display: flex; flex-direction: column; justify-content: space-between; min-height: 250px; } .features-content { font-size: 11.5px; line-height: 1.4; } .feature-item { margin-bottom: 8px; } .feature-name { color: var(--accent-red); display: block; margin-bottom: 2px; } .feature-desc { margin: 0; } /* Bottom Wide Row */ .sheet-bottom-row { display: grid; grid-template-columns: 320px 1fr; gap: 16px; } .prof-block-content { font-size: 11.5px; line-height: 1.45; } .prof-line { margin-bottom: 4px; } .equipment-layout { display: grid; grid-template-columns: 56px 1fr; gap: 12px; } .coins-stack { display: flex; flex-direction: column; gap: 4px; } .coin-row { border: 1px solid var(--border-color); border-radius: 3px; padding: 2px 4px; display: flex; justify-content: space-between; align-items: center; font-size: 10px; background: var(--bg-box); } .coin-tag { font-weight: bold; font-size: 8.5px; color: var(--accent-red); } .coin-val { font-weight: 600; } .items-list-container { max-height: 180px; overflow-y: auto; } .items-list { list-style: none; margin: 0; padding: 0; font-size: 11px; } .item-row { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px solid #eee; } .equipped-tag { color: var(--accent-red); font-weight: bold; } .item-meta { color: #777; font-size: 10px; } /* Responsive Styles */ @media (max-width: 900px) { .sheet-header { grid-template-columns: 1fr; } .sheet-main-grid { grid-template-columns: 1fr; } .sheet-bottom-row { grid-template-columns: 1fr; } }