.tautan-website-module,
.tautan-website-module *,
.tautan-website-module *::before,
.tautan-website-module *::after {
    box-sizing: border-box;
}

.tautan-website-module {
    --tw-shell-bg:
        radial-gradient(circle at top right, rgba(214, 174, 84, 0.14), transparent 36%),
        linear-gradient(145deg, #fffdfa 0%, #fff8ee 100%);
    --tw-shell-border: rgba(138, 87, 36, 0.12);
    --tw-shell-shadow: 0 16px 36px rgba(72, 34, 17, 0.08);
    --tw-accent: linear-gradient(90deg, #8f1d0b 0%, #d5a74e 100%);
    --tw-title: #8d2f17;
    --tw-subtitle: #70655e;
    --tw-group-title: #8d2f17;
    --tw-group-line: rgba(138, 87, 36, 0.10);
    --tw-card-bg: rgba(255, 255, 255, 0.82);
    --tw-card-border: rgba(138, 87, 36, 0.08);
    --tw-card-shadow: 0 8px 18px rgba(72, 34, 17, 0.04);
    --tw-card-shadow-hover: 0 14px 26px rgba(72, 34, 17, 0.08);
    --tw-card-text: #8b3119;
    --tw-card-hover-bg: rgba(165, 90, 34, 0.06);
    --tw-card-hover-text: #7d1a11;
    --tw-icon-bg: linear-gradient(135deg, rgba(255, 248, 233, 0.98), rgba(246, 232, 210, 0.96));
    --tw-icon-border: rgba(214, 173, 84, 0.16);
    --tw-icon-text: #a85f22;
    --tw-arrow-bg: rgba(255, 255, 255, 0.76);
    --tw-arrow-border: rgba(138, 87, 36, 0.08);
    --tw-arrow-text: #b06e28;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 18px;
    background: var(--tw-shell-bg);
    border: 1px solid var(--tw-shell-border);
    box-shadow: var(--tw-shell-shadow);
}

.tautan-website-module::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.tw-header,
.tw-group,
.tw-empty {
    position: relative;
    z-index: 1;
}

.tw-header {
    margin-bottom: 14px;
}

.tw-copy {
    position: relative;
    padding-top: 16px;
}

.tw-copy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 72px;
    height: 4px;
    border-radius: 999px;
    background: var(--tw-accent);
    box-shadow: 0 8px 14px rgba(165, 90, 34, 0.10);
}

.tw-header h3 {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.24;
    font-weight: 800;
    color: var(--tw-title);
}

.tw-header p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--tw-subtitle);
}

.tw-group {
    margin-top: 15px;
}

.tw-group:first-of-type {
    margin-top: 0;
}

.tw-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--tw-group-title);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.tw-group-title::before {
    content: '';
    width: 22px;
    height: 3px;
    border-radius: 999px;
    background: var(--tw-group-line);
}

.tw-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
}

.tw-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 9px 10px;
    border-radius: 12px;
    background: var(--tw-card-bg);
    border: 1px solid var(--tw-card-border);
    box-shadow: var(--tw-card-shadow);
    color: var(--tw-card-text);
    text-decoration: none;
    transition:
        background 0.22s ease,
        color 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.tw-card:hover,
.tw-card:focus {
    background: var(--tw-card-hover-bg);
    color: var(--tw-card-hover-text);
    border-color: rgba(165, 90, 34, 0.14);
    box-shadow: var(--tw-card-shadow-hover);
    text-decoration: none;
    transform: translateY(-1px);
}

.tw-card-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--tw-icon-bg);
    border: 1px solid var(--tw-icon-border);
    color: var(--tw-icon-text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
    font-size: 12px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.tw-card-icon svg {
    width: 15px;
    height: 15px;
    display: block;
}

.tw-card:hover .tw-card-icon,
.tw-card:focus .tw-card-icon {
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 10px 16px rgba(72, 34, 17, 0.08);
}

.tw-card-text {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 700;
}

.tw-card-arrow {
    width: 26px;
    height: 26px;
    min-width: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    border-radius: 999px;
    background: var(--tw-arrow-bg);
    border: 1px solid var(--tw-arrow-border);
    color: var(--tw-arrow-text);
    font-size: 10px;
    transition:
        transform 0.22s ease,
        background 0.22s ease,
        color 0.22s ease,
        border-color 0.22s ease;
}

.tw-card-arrow svg {
    width: 13px;
    height: 13px;
    display: block;
}

.tw-card:hover .tw-card-arrow,
.tw-card:focus .tw-card-arrow {
    transform: translateX(1px);
    background: linear-gradient(135deg, #8f1d0b 0%, #bf6f2b 100%);
    border-color: transparent;
    color: #fffaf2;
}

.tw-empty {
    padding: 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(138, 87, 36, 0.08);
    color: #7b6d64;
    font-size: 13px;
    line-height: 1.5;
}

.tautan-website-pearl-gold {
    --tw-shell-bg:
        radial-gradient(circle at top right, rgba(229, 193, 114, 0.12), transparent 34%),
        linear-gradient(145deg, #fffefb 0%, #fff9f0 56%, #fdf3e3 100%);
    --tw-shell-border: rgba(198, 154, 74, 0.16);
    --tw-shell-shadow: 0 16px 36px rgba(99, 60, 24, 0.08);
    --tw-accent: linear-gradient(90deg, #b97a24 0%, #ead7a0 100%);
    --tw-title: #8f3719;
    --tw-subtitle: #7b6b61;
    --tw-group-title: #8f5a2b;
    --tw-group-line: rgba(185, 120, 38, 0.18);
    --tw-card-bg: rgba(255, 255, 255, 0.88);
    --tw-card-border: rgba(198, 154, 74, 0.08);
    --tw-card-shadow: 0 8px 18px rgba(99, 60, 24, 0.04);
    --tw-card-shadow-hover: 0 14px 26px rgba(99, 60, 24, 0.08);
    --tw-card-text: #8b4a1b;
    --tw-card-hover-bg: rgba(185, 120, 38, 0.06);
    --tw-card-hover-text: #7d3413;
    --tw-icon-bg: linear-gradient(135deg, rgba(255, 252, 244, 0.98), rgba(246, 236, 214, 0.96));
    --tw-icon-border: rgba(214, 173, 84, 0.16);
    --tw-icon-text: #b17427;
    --tw-arrow-bg: rgba(255, 255, 255, 0.82);
    --tw-arrow-border: rgba(185, 120, 38, 0.08);
    --tw-arrow-text: #b17427;
}

.tautan-website-graphite-gold {
    --tw-shell-bg:
        radial-gradient(circle at top right, rgba(214, 173, 84, 0.16), transparent 32%),
        linear-gradient(145deg, #1f252d 0%, #171c22 55%, #11161b 100%);
    --tw-shell-border: rgba(210, 173, 92, 0.14);
    --tw-shell-shadow: 0 18px 40px rgba(7, 10, 14, 0.28);
    --tw-accent: linear-gradient(90deg, rgba(214, 173, 84, 0.98), rgba(250, 241, 230, 0.72));
    --tw-title: #f7f1e7;
    --tw-subtitle: #c7bcaf;
    --tw-group-title: #ead39d;
    --tw-group-line: rgba(214, 173, 84, 0.18);
    --tw-card-bg: rgba(255, 255, 255, 0.05);
    --tw-card-border: rgba(220, 188, 116, 0.08);
    --tw-card-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    --tw-card-shadow-hover: 0 16px 28px rgba(0, 0, 0, 0.20);
    --tw-card-text: #f4ede2;
    --tw-card-hover-bg: rgba(255, 255, 255, 0.08);
    --tw-card-hover-text: #fff7ee;
    --tw-icon-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(214, 173, 84, 0.10));
    --tw-icon-border: rgba(218, 185, 111, 0.14);
    --tw-icon-text: #f0cf87;
    --tw-arrow-bg: rgba(255, 255, 255, 0.06);
    --tw-arrow-border: rgba(220, 188, 116, 0.08);
    --tw-arrow-text: #f0cf87;
}

.tautan-website-graphite-gold .tw-empty {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(220, 188, 116, 0.08);
    color: #d4c8b9;
}

.tautan-website-royal-maroon {
    --tw-shell-bg:
        radial-gradient(circle at top right, rgba(223, 177, 83, 0.12), transparent 32%),
        linear-gradient(145deg, #fdf7f3 0%, #fbede6 48%, #f7e1d6 100%);
    --tw-shell-border: rgba(142, 49, 25, 0.14);
    --tw-shell-shadow: 0 18px 38px rgba(88, 26, 16, 0.10);
    --tw-accent: linear-gradient(90deg, #7f170d 0%, #d6a046 100%);
    --tw-title: #77190f;
    --tw-subtitle: #7f625b;
    --tw-group-title: #7d1a11;
    --tw-group-line: rgba(143, 49, 25, 0.16);
    --tw-card-bg: rgba(255, 252, 249, 0.88);
    --tw-card-border: rgba(143, 49, 25, 0.08);
    --tw-card-shadow: 0 8px 18px rgba(88, 26, 16, 0.04);
    --tw-card-shadow-hover: 0 14px 26px rgba(88, 26, 16, 0.08);
    --tw-card-text: #7d1a11;
    --tw-card-hover-bg: rgba(130, 24, 13, 0.05);
    --tw-card-hover-text: #6f1308;
    --tw-icon-bg: linear-gradient(135deg, rgba(255, 248, 240, 0.98), rgba(248, 235, 225, 0.96));
    --tw-icon-border: rgba(143, 49, 25, 0.10);
    --tw-icon-text: #a75d1f;
    --tw-arrow-bg: rgba(255, 255, 255, 0.80);
    --tw-arrow-border: rgba(143, 49, 25, 0.08);
    --tw-arrow-text: #a75d1f;
}

@media (max-width: 520px) {
    .tautan-website-module {
        padding: 16px;
        border-radius: 16px;
    }

    .tw-header h3 {
        font-size: 17px;
    }

    .tw-header p {
        font-size: 12px;
    }
}
