* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 0;
    background: #3d2a5c;
    color: #e0d6f0;
}

.clock-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 700px;
    margin: 0 auto;
}

.clock-top-row,
.clock-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
}

.clock-center {
    background: #1a0d30;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(160,100,255,0.7), inset 0 0 30px rgba(100,50,200,0.2);
    border: 2px solid rgba(200,160,255,0.4);
    height: 120px;
    margin: 0.5rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clock-center:hover {
    box-shadow: 0 0 60px rgba(160,100,255,0.8), inset 0 0 40px rgba(100,50,200,0.3);
}

.clock-center.dimmed .clock-time {
    color: #87ceeb;
    text-shadow: 0 0 20px rgba(135,206,235,0.6), 0 0 40px rgba(135,206,235,0.3);
}

.clock-time {
    font-size: 4rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    color: #f8f0ff;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 30px rgba(220,160,255,0.9), 0 0 60px rgba(180,100,255,0.5);
    transition: color 0.3s ease, text-shadow 0.3s ease;
    cursor: pointer;
}

.clock-time:hover {
    text-shadow: 0 0 40px rgba(220,160,255,1), 0 0 80px rgba(180,100,255,0.7);
}

.clock-info-box {
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
    height: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clock-info-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.clock-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    opacity: 0.75;
}

.clock-value {
    font-size: 1.05rem;
    font-weight: bold;
}

.clock-sub-value {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 0.2rem;
}

.year-progress-battery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.3rem;
}

.battery-container {
    display: flex;
    width: 100%;
    height: 12px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    overflow: hidden;
    background: rgba(0,0,0,0.2);
}

.battery-used {
    background: linear-gradient(90deg, #ff6b6b, #ffa500);
    height: 100%;
    transition: width 1s ease;
}

.battery-remaining {
    background: linear-gradient(90deg, #4ecdc4, #45b7d1);
    height: 100%;
    transition: width 1s ease;
}

.battery-percentages {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 0.65rem;
    opacity: 0.8;
}

.battery-used-text {
    color: #ffa500;
}

.battery-remaining-text {
    color: #4ecdc4;
}

.ci-weekday  { background: #3b2470; color: #e8d8ff; }
.ci-date     { background: #1e3a5f; color: #c8e0ff; }
.ci-week     { background: #1f4a2e; color: #c0f0d0; }
.ci-dayofyear{ background: #4a2a1a; color: #ffd8b0; }
.ci-quarter  { background: #1a3a3a; color: #b0f0f0; }
.ci-holiday  { background: #4a1a3a; color: #ffb0d0; }

.clock-quarter-range {
    font-size: 0.72rem;
    opacity: 0.75;
    margin-top: 0.1rem;
}

.clock-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.temp-facts-card {
    border-left: 3px solid #7c5cbf;
    background: #3a2660;
    margin-bottom: 1rem;
}

.temp-fact-section {
    margin-bottom: 1.2rem;
}

.temp-fact-title {
    font-size: 1.05rem;
    color: #ffe680;
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.temp-fact-item {
    font-size: 0.92rem;
    color: #d0c0f0;
    line-height: 1.6;
    padding: 0.2rem 0 0.2rem 0.5rem;
    position: relative;
}

.temp-fact-item strong {
    color: #fff;
}

.temp-fact-item + .temp-fact-item {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 0.2rem;
    padding-top: 0.4rem;
}

.temp-fact-note {
    font-size: 0.85rem;
    color: #b8a8e0;
    margin-top: 0.3rem;
    font-style: italic;
}

.collapsible {
    cursor: pointer;
    user-select: none;
    margin-bottom: 0.5rem;
}
.collapsible .temp-fact-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.08rem;
    color: #ffe680;
    font-weight: bold;
    margin-bottom: 0.1rem;
    padding: 0.2rem 0;
    transition: background 0.2s;
}
.collapsible.active .temp-fact-title {
    background: #5a3a9a;
    border-radius: 6px 6px 0 0;
}
.collapsible .collapse-indicator {
    font-size: 1.1em;
    margin-left: 0.5em;
    color: #ffe680;
    transition: transform 0.2s;
}
.collapsible.active .collapse-indicator {
    transform: rotate(180deg);
}
.temp-fact-content {
    padding: 0.2rem 0 0.5rem 0.5rem;
    animation: fadeIn 0.3s;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 240px;
    background: #241538;
    padding: 1.5rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease, padding 0.3s ease;
    overflow: hidden;
}

.sidebar.collapsed {
    width: 52px;
    padding: 1rem 0.5rem;
    background: #3d2a5c;
}

.sidebar.collapsed .logo,
.sidebar.collapsed nav,
.sidebar.collapsed .sidebar-bottom {
    display: none;
}

.hamburger {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    margin-bottom: 1rem;
    align-self: flex-start;
}
.hamburger:hover { color: #d4c4f0; }

.logo { max-height: 160px; margin-bottom: 1.5rem; }

.sidebar nav { display: flex; flex-direction: column; gap: 0.5rem; }
.sidebar nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
}
.sidebar nav a:hover { background: rgba(255,255,255,0.15); }

.sidebar-bottom {
    margin-top: auto;
    color: white;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
}
.sidebar-bottom:hover { background: rgba(255,255,255,0.15); }

.dream-scene {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(180deg, #1a1040 0%, #3d2a5c 100%);
    border-radius: 8px;
    margin-top: 1rem;
}

.ground {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40px;
    background: #2a1d45;
}

.tree {
    position: absolute;
    bottom: 40px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tree-top {
    width: 0;
    height: 0;
    border-left: solid transparent;
    border-right: solid transparent;
    border-bottom: solid;
}

.tree-trunk {
    background: #3b1e08;
    border-radius: 2px;
}

/* Tree 1 */
.tree.t1 { left: 10%; }
.tree.t1 .tree-top      { border-left-width: 18px; border-right-width: 18px; border-bottom-width: 32px; border-bottom-color: #1a4a1a; margin-bottom: -8px; }
.tree.t1 .tree-top.t-mid{ border-left-width: 24px; border-right-width: 24px; border-bottom-width: 28px; border-bottom-color: #1a4a1a; }
.tree.t1 .tree-trunk    { width: 7px; height: 14px; }

/* Tree 2 */
.tree.t2 { left: 28%; }
.tree.t2 .tree-top      { border-left-width: 12px; border-right-width: 12px; border-bottom-width: 22px; border-bottom-color: #1e5c1e; margin-bottom: -6px; }
.tree.t2 .tree-top.t-mid{ border-left-width: 17px; border-right-width: 17px; border-bottom-width: 20px; border-bottom-color: #1e5c1e; }
.tree.t2 .tree-trunk    { width: 5px; height: 10px; }

/* Tree 3 */
.tree.t3 { left: 44%; }
.tree.t3 .tree-top      { border-left-width: 22px; border-right-width: 22px; border-bottom-width: 40px; border-bottom-color: #163d16; margin-bottom: -10px; }
.tree.t3 .tree-top.t-mid{ border-left-width: 30px; border-right-width: 30px; border-bottom-width: 34px; border-bottom-color: #163d16; }
.tree.t3 .tree-trunk    { width: 8px; height: 16px; }

/* Tree 4 */
.tree.t4 { left: 60%; }
.tree.t4 .tree-top      { border-left-width: 14px; border-right-width: 14px; border-bottom-width: 26px; border-bottom-color: #1b4f1b; margin-bottom: -7px; }
.tree.t4 .tree-top.t-mid{ border-left-width: 19px; border-right-width: 19px; border-bottom-width: 22px; border-bottom-color: #1b4f1b; }
.tree.t4 .tree-trunk    { width: 6px; height: 11px; }

/* Tree 5 */
.tree.t5 { left: 76%; }
.tree.t5 .tree-top      { border-left-width: 20px; border-right-width: 20px; border-bottom-width: 36px; border-bottom-color: #124412; margin-bottom: -9px; }
.tree.t5 .tree-top.t-mid{ border-left-width: 27px; border-right-width: 27px; border-bottom-width: 30px; border-bottom-color: #124412; }
.tree.t5 .tree-trunk    { width: 7px; height: 14px; }

.sky-cloud {
    position: absolute;
    color: rgba(255,255,255,0.7);
    font-size: 4rem;
    animation: cloudDrift linear infinite;
    z-index: 2;
}
.sky-cloud.c1 { top: 20px; font-size: 5rem; color: rgba(255,255,255,0.9); animation-duration: 60s; }
.sky-cloud.c2 { top: 40px; font-size: 3rem; color: rgba(255,255,255,0.5); animation-duration: 45s; animation-delay: -10s; }
.sky-cloud.c3 { top: 15px; font-size: 6rem; color: rgba(255,255,255,0.8); animation-duration: 70s; animation-delay: -25s; }
.sky-cloud.c4 { top: 60px; font-size: 2.5rem; color: rgba(255,255,255,0.4); animation-duration: 50s; animation-delay: -35s; }
.sky-cloud.c5 { top: 35px; font-size: 3.5rem; color: rgba(255,255,255,0.6); animation-duration: 55s; animation-delay: -5s; }

@keyframes cloudDrift {
    0%   { left: -15%; }
    100% { left: 110%; }
}

.moon {
    position: absolute;
    top: 10px;
    right: 30px;
    width: 63px;
    transform: scaleX(-1);
    animation: moonGlow 3s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes moonGlow {
    0%   { filter: drop-shadow(0 0 6px rgba(245,230,66,0.4)) scaleX(-1); }
    100% { filter: drop-shadow(0 0 16px rgba(245,230,66,0.9)) scaleX(-1); }
}

.sheep {
    position: absolute;
    bottom: 40px;
    left: -80px;
    z-index: 1;
}

.sheep-char {
    position: relative;
    width: 60px;
    height: 50px;
    transform: scale(0.5);
    transform-origin: bottom left;
}

.sheep-body-part {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40px;
    height: 28px;
    background: #f0e6d3;
    border-radius: 50%;
    box-shadow: -3px -3px 0 #e0d6c3, 3px -3px 0 #e0d6c3, 0 -5px 0 #e0d6c3;
}

.sheep-body-part::before {
    content: '';
    position: absolute;
    top: 6px;
    left: -8px;
    width: 10px;
    height: 8px;
    background: #888;
    border-radius: 50% 30% 30% 50%;
}

.sheep-head {
    position: absolute;
    top: 8px;
    right: -8px;
    width: 18px;
    height: 16px;
    background: #777;
    border-radius: 40% 50% 50% 40%;
    animation: headBob 0.8s ease-in-out infinite alternate;
}

.sheep-head::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 3px;
    width: 5px;
    height: 7px;
    background: #888;
    border-radius: 50% 50% 30% 30%;
    box-shadow: -8px 0 0 #888;
}

.sheep-head::after {
    content: '';
    position: absolute;
    top: 4px;
    right: 3px;
    width: 4px;
    height: 3px;
    background: white;
    border-radius: 50%;
}

@keyframes headBob {
    0%   { transform: rotate(0deg) translateY(0); }
    100% { transform: rotate(8deg) translateY(-2px); }
}

.sheep-leg {
    position: absolute;
    width: 5px;
    height: 16px;
    background: #777;
    border-radius: 2px;
    transform-origin: top center;
}

.leg-fl { left: 14px; top: 34px; animation: legFront 0.35s ease-in-out infinite alternate; }
.leg-fr { left: 20px; top: 34px; animation: legFront 0.35s ease-in-out infinite alternate-reverse; }
.leg-bl { left: 38px; top: 34px; animation: legBack 0.35s ease-in-out infinite alternate; }
.leg-br { left: 44px; top: 34px; animation: legBack 0.35s ease-in-out infinite alternate-reverse; }

@keyframes legFront {
    0%   { transform: rotate(20deg); }
    100% { transform: rotate(-20deg); }
}

@keyframes legBack {
    0%   { transform: rotate(-20deg); }
    100% { transform: rotate(20deg); }
}

.sheep.jumping {
    animation: sheepWalk 36s linear forwards;
}

@keyframes sheepWalk {
    0%   { left: -80px; }
    100% { left: 110%; }
}

main {
    flex: 1;
    max-width: 800px;
    padding: 2rem;
}

section { margin-bottom: 2rem; display: none; }
section.active { display: block; }

.sidebar nav a.active { background: rgba(255,255,255,0.25); }
h2 { margin-bottom: 1rem; color: #d4c4f0; }

.conversion-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tab-btn {
    padding: 0.5rem 1.2rem;
    border: none;
    border-radius: 4px;
    background: #4e3a6e;
    color: #e0d6f0;
    cursor: pointer;
    font-size: 1rem;
}
.tab-btn.active {
    background: #7c5cbf;
    color: white;
}
.tab-btn:hover { background: #6a4fa8; }
h3 { margin-bottom: 0.5rem; }

.tool-card {
    background: #4e3a6e;
    color: #e0d6f0;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

input, select, button {
    padding: 0.5rem;
    margin: 0.25rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

button {
    background: #2980b9;
    color: white;
    border: none;
    cursor: pointer;
}
button:hover { background: #1a5276; }

#conversionResult, #dateResult, #weekResult {
    margin-top: 1rem;
    font-weight: bold;
    color: #27ae60;
}

/* Year Calendar Styles */
.date-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.year-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.year-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    background: #4e3a6e;
    color: #e0d6f0;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 80px;
}

.year-btn:hover {
    background: #6a4fa8;
    transform: translateY(-2px);
}

.year-btn.active {
    background: #7c5cbf;
    color: white;
    box-shadow: 0 4px 12px rgba(124, 92, 191, 0.4);
}

.today-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    background: #27ae60;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.today-btn:hover {
    background: #2ecc71;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.4);
}

.calendar-container {
    max-height: 75vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-right: 0.5rem;
}

.calendar-container::-webkit-scrollbar {
    width: 8px;
}

.calendar-container::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.calendar-container::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
}

.calendar-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.5);
}

.month-calendar {
    background: #4e3a6e;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

.month-calendar:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.month-header {
    font-size: 1.3rem;
    font-weight: bold;
    color: #d4c4f0;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: capitalize;
}

.calendar-grid {
    display: grid;
    grid-template-columns: 40px repeat(7, 1fr);
    gap: 2px;
    margin-top: 0.5rem;
}

.calendar-weekday {
    font-size: 0.8rem;
    font-weight: bold;
    text-align: center;
    padding: 0.5rem 0.25rem;
    color: #b8a8e0;
    text-transform: uppercase;
}

.calendar-week-number {
    font-size: 0.75rem;
    font-weight: bold;
    text-align: center;
    padding: 0.25rem;
    color: #8a7ab8;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
}

.calendar-day {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    color: #e0d6f0;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.calendar-day:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.05);
}

.calendar-day.other-month {
    opacity: 0.3;
}

.calendar-day.today {
    background: #00c896;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}

.calendar-day.today.pop {
    animation: todayPop 0.6s ease-out forwards;
}

@keyframes todayPop {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.5); }
    70%  { transform: scale(1.25); }
    100% { transform: scale(1); }
}

.calendar-day.holiday {
    background: #d63384;
    color: white;
}

.calendar-day.holiday::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}

.month-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: #b8a8e0;
}

/* Responsive design for calendar */
@media (max-width: 768px) {
    .date-controls {
        flex-direction: column;
        gap: 1rem;
    }

    .year-selector {
        gap: 0.5rem;
    }

    .year-btn {
        padding: 0.6rem 1rem;
        font-size: 1rem;
        min-width: 70px;
    }

    .today-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .month-calendar {
        padding: 1rem;
    }

    .calendar-day {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .calendar-container {
        max-height: 65vh;
    }

    .month-calendar {
        padding: 0.75rem;
    }

    .calendar-day {
        font-size: 0.75rem;
    }

    .today-btn {
        font-size: 0.85rem;
    }
}

/* Responsive design for clock */
@media (max-width: 768px) {
    .clock-top-row,
    .clock-bottom-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .clock-info-box {
        height: 80px;
        padding: 0.75rem;
    }

    .clock-center {
        height: 100px;
        margin: 0.25rem 0;
    }

    .clock-time {
        font-size: 3rem;
    }

    .clock-container {
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .clock-time {
        font-size: 2.5rem;
    }

    .clock-center {
        height: 80px;
    }

    .clock-info-box {
        height: 70px;
        padding: 0.5rem;
    }
}

/* ---- Hustak ---- */
.hustak-container {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    padding: 0 0.5rem;
}

.hustak-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem 1.5rem;
}

.hustak-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.hustak-input-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.8;
    color: #c8b8e8;
}

.hustak-input-group input {
    background: #1a0d30;
    border: 1px solid rgba(200,160,255,0.35);
    border-radius: 8px;
    color: #f0e8ff;
    padding: 0.55rem 0.75rem;
    font-size: 1.05rem;
    width: 100%;
    outline: none;
    transition: border-color 0.2s;
}

.hustak-input-group input:focus {
    border-color: rgba(200,160,255,0.8);
}

.hustak-results {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.ht-res-item {
    background: #241538;
    border-radius: 8px;
    padding: 0.45rem 0.9rem;
    font-size: 0.88rem;
    color: #d4c4f0;
}

.ht-res-item strong {
    color: #ffe680;
}

.ht-res-hint {
    font-size: 0.88rem;
    opacity: 0.6;
    font-style: italic;
}

#hustak-svg {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    display: block;
    background: #150929;
    border-radius: 14px;
    border: 1px solid rgba(200,160,255,0.2);
    padding: 8px;
}

.ht-line { stroke-width: 2.5; fill: none; stroke-linecap: round; }
.ht-wall { stroke: #a890d0; }
.ht-eave { stroke: #7ec8e0; }
.ht-roof { stroke: #ffe680; stroke-width: 3; }

.ht-label {
    font-size: 11px;
    fill: #d4c4f0;
    font-family: system-ui, sans-serif;
}
-

.ht-dashed { stroke: #a0e8b0; stroke-dasharray: 5 4; stroke-width: 2; }
.ht-right-angle-mark { stroke: #a0e8b0; stroke-width: 1.5; fill: none; }
.ht-arc { stroke: #ffe680; stroke-width: 2; fill: none; }
.ht-tri-fill { fill: rgba(255,230,100,0.07); stroke: none; }
.ht-label-angle { fill: #ffe680; font-weight: bold; font-size: 12px; }

.hustak-step-group label { color: #a898c8; }
.hustak-step-group input { border-color: rgba(160,130,200,0.3); font-size: 0.95rem; }

.ht-material-table-wrap {
    overflow-x: auto;
    margin-top: 0.5rem;
}

.ht-material-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.87rem;
    color: #d4c4f0;
}

.ht-material-table thead tr {
    background: #1a0d30;
}

.ht-material-table th {
    text-align: left;
    padding: 0.55rem 0.85rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #c8b8e8;
    border-bottom: 1px solid rgba(200,160,255,0.25);
    white-space: nowrap;
}

.ht-material-table td {
    padding: 0.5rem 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    vertical-align: top;
}

.ht-material-table tbody tr:nth-child(odd) {
    background: rgba(255,255,255,0.03);
}

.ht-material-table tbody tr:hover {
    background: rgba(200,160,255,0.08);
}

.ht-material-table td:nth-child(2),
.ht-material-table td:nth-child(3) {
    white-space: nowrap;
    color: #ffe680;
    font-weight: bold;
}
