/* Custom CSS for Saju Master App */

:root {
    --gold-primary: #d4af37;
    --gold-light: #f5d77f;
    --gold-dark: #aa7c11;
    --navy-dark: #071224;
    --navy-medium: #0f233f;
    --navy-light: #162f55;
    --charcoal: #111111;
    --text-gold: #f3e5ab;
    --font-serif: 'Noto Serif KR', serif;
    --font-sans: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #030811;
    font-family: var(--font-sans);
    color: #e0e6ed;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

/* Simulated Mobile App Container */
.phone-frame {
    width: 100%;
    max-width: 450px;
    height: 100vh;
    max-height: 900px;
    background-color: var(--navy-dark);
    background-image: linear-gradient(rgba(7, 18, 36, 0.85), rgba(7, 18, 36, 0.95)), url('assets/navy_background.png');
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.75);
    border-radius: 40px;
    border: 2px solid #1a2233; /* Sleek, thin dark bezel */
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (max-width: 480px) {
    .phone-frame {
        border-radius: 0;
        border: none;
        max-height: 100dvh;
    }
    .status-bar .time,
    .status-bar .signal-icon,
    .status-bar .battery-icon {
        display: none;
    }
    .status-bar {
        height: auto;
        padding: 16px 24px 8px;
        justify-content: flex-end;
    }
    .ornate-border-frame {
        display: none;
    }
}

/* iOS Status Bar */
.status-bar {
    height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    color: var(--gold-primary);
    font-size: 14px;
    font-weight: 600;
    z-index: 10;
}

.status-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.signal-icon, .battery-icon {
    width: 18px;
    height: 18px;
    fill: var(--gold-primary);
    color: var(--gold-primary);
}

.points-pill {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.coin-icon {
    background: var(--gold-primary);
    color: var(--navy-dark);
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 9px;
    font-weight: 800;
}

/* Main Screen Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 24px 20px;
    z-index: 2;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Title & Subtitle */
.header {
    text-align: center;
    margin-top: 10px;
}

.main-title {
    font-family: 'Cinzel', var(--font-serif);
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 1.5px;
    background-image: url('assets/gold_foil_texture.png');
    background-size: cover;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.5));
    margin-bottom: 4px;
}

@keyframes spinCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinCCW {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Apply rotation to the thread paths */
.thread-spin-clockwise {
  animation: spinCW 20s linear infinite;
  transform-origin: 225px 370px;
}

.thread-spin-counter {
  animation: spinCCW 20s linear infinite;
  transform-origin: 225px 370px;
}


/* Mandala Wheel Container */
.mandala-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
}

.mandala-outer {
    position: relative;
    width: 85%;
    aspect-ratio: 1;
    max-width: 300px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Glow Effect */
.mandala-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.25);
    opacity: 0.8;
    pointer-events: none;
    transition: all 0.5s ease;
}

.mandala-wheel {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: screen; /* Blends out the solid black background */
    filter: contrast(1.1) brightness(1.05) drop-shadow(0 0 10px rgba(212,175,55,0.3));
    transition: transform 1.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    clip-path: circle(48.5% at center); /* Crops out any square outline/border */
}

/* Fast spin class applied in JavaScript */
.mandala-wheel.spinning {
    transform: scale(1.08) rotate(1440deg);
    filter: contrast(1.35) brightness(1.3) drop-shadow(0 0 30px rgba(212,175,55,0.9));
}

.mandala-wheel.glow-pulse {
    animation: goldGlow 1.5s ease-in-out infinite alternate;
}

/* Parent container active spinning state */
.mandala-outer.spinning-active .mandala-glow {
    animation: intenseGlow 1.8s cubic-bezier(0.1, 0.8, 0.2, 1) forwards;
}

@keyframes goldGlow {
    from {
        filter: contrast(1.15) brightness(1) drop-shadow(0 0 10px rgba(212,175,55,0.35));
    }
    to {
        filter: contrast(1.25) brightness(1.2) drop-shadow(0 0 22px rgba(212,175,55,0.75));
    }
}

@keyframes intenseGlow {
    0% {
        box-shadow: 0 0 40px rgba(212, 175, 55, 0.25);
        transform: scale(1);
        opacity: 0.8;
    }
    30% {
        box-shadow: 0 0 90px 30px rgba(212, 175, 55, 0.85);
        transform: scale(1.15);
        opacity: 1;
        background: rgba(212, 175, 55, 0.05);
    }
    100% {
        box-shadow: 0 0 50px 10px rgba(212, 175, 55, 0.35);
        transform: scale(1.03);
        opacity: 0.9;
        background: transparent;
    }
}

/* Input Form */
.input-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.input-group label {
    font-size: 13px;
    color: var(--text-gold);
    font-family: var(--font-serif);
    opacity: 0.8;
}

.input-group input {
    width: 100%;
    background: rgba(15, 35, 63, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 10px;
    padding: 10px 0;
    text-align: center;
    font-size: 16px;
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--text-gold);
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: var(--gold-light);
    box-shadow: 0 0 10px rgba(245, 215, 127, 0.4), inset 0 2px 4px rgba(0, 0, 0, 0.3);
    background: rgba(15, 35, 63, 0.6);
}

/* Chrome/Safari/Edge number input spinners remover */
.input-group input::-webkit-outer-spin-button,
.input-group input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox number input spinner remover */
.input-group input[type=number] {
    -moz-appearance: textfield;
}

/* Button: Large Golden Ornate Button */
.btn-destiny {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 27px;
    background-image: url('assets/gold_foil_texture.png');
    background-size: cover;
    background-position: center;
    color: #1a0f00;
    text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.45);
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 900;
    -webkit-text-stroke: 0.5px #1a0f00;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    transition: all 0.25s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-destiny:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.5);
    filter: brightness(1.05);
}

.btn-destiny:active {
    transform: translateY(1px);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2), inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Footer style */
.footer {
    text-align: center;
    margin-top: 10px;
}

.point-balance {
    font-size: 13px;
    color: var(--text-gold);
    opacity: 0.65;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Sparkle element (represented in the image as a star in the bottom right) */
.phone-frame::after {
    content: "✦";
    position: absolute;
    bottom: 15px;
    right: 20px;
    color: var(--gold-primary);
    font-size: 18px;
    opacity: 0.7;
    pointer-events: none;
}

/* Results Screen Overlay */
.results-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--navy-dark);
    background-image: linear-gradient(rgba(7, 18, 36, 0.92), rgba(7, 18, 36, 0.98)), url('assets/navy_background.png');
    background-size: cover;
    background-position: center;
    z-index: 100;
    padding: 40px 20px 20px;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.results-screen.active {
    transform: translateY(0);
}

.btn-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-gold);
    font-size: 20px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.results-header {
    text-align: center;
    margin-bottom: 20px;
}

.results-title {
    font-family: var(--font-serif);
    font-size: 26px;
    background-image: url('assets/gold_foil_texture.png');
    background-size: cover;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 4px;
}

.results-subtitle {
    font-size: 14px;
    color: #8c9cb3;
}

.results-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-bottom: 20px;
}

/* Saju Pillars Table Style */
.saju-table-container {
    background: rgba(15, 35, 63, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
}

.saju-table-container h3, .elements-container h3 {
    font-family: var(--font-serif);
    color: var(--text-gold);
    font-size: 15px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.saju-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.saju-column {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pillar-label {
    font-size: 12px;
    color: #8c9cb3;
    font-weight: 500;
}

.kanji-box {
    background: rgba(7, 18, 36, 0.7);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 8px;
    padding: 10px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transition: all 0.3s ease;
}

.kanji-box span.hanja {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
}

.kanji-box span.hangeul {
    font-size: 12px;
    opacity: 0.8;
}

/* Five Elements Color Codes */
.element-wood {
    border-color: #2e7d32;
    background: rgba(46, 125, 50, 0.15);
    color: #81c784;
}
.element-fire {
    border-color: #c62828;
    background: rgba(198, 40, 40, 0.15);
    color: #e57373;
}
.element-earth {
    border-color: #e65100;
    background: rgba(230, 81, 0, 0.15);
    color: #ffb74d;
}
.element-metal {
    border-color: #b0bec5;
    background: rgba(176, 190, 197, 0.15);
    color: #eceff1;
}
.element-water {
    border-color: #1565c0;
    background: rgba(21, 101, 192, 0.15);
    color: #64b5f6;
}

/* Five Elements Chart */
.elements-container {
    background: rgba(15, 35, 63, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    padding: 16px;
}

.elements-chart {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chart-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chart-label {
    width: 50px;
    font-size: 13px;
    color: #e0e6ed;
    font-weight: bold;
}

.chart-bar-bg {
    flex: 1;
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.chart-bar-fill {
    height: 100%;
    border-radius: 6px;
    width: 0;
    transition: width 1s ease-out;
}

.chart-value {
    width: 32px;
    font-size: 13px;
    text-align: right;
    font-weight: 600;
}

/* Filled colors */
.fill-wood { background-color: #4caf50; }
.fill-fire { background-color: #f44336; }
.fill-earth { background-color: #ff9800; }
.fill-metal { background-color: #cfd8dc; }
.fill-water { background-color: #2196f3; }

/* Fortune Readings Cards */
.fortune-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fortune-card {
    background: rgba(15, 35, 63, 0.4);
    border-left: 3px solid var(--gold-primary);
    border-radius: 0 12px 12px 0;
    padding: 14px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.fortune-card h4 {
    font-family: var(--font-serif);
    color: var(--text-gold);
    font-size: 15px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.fortune-card p {
    font-size: 13.5px;
    line-height: 1.5;
    color: #cbd5e1;
    text-align: justify;
}

/* Results Footer / Retry */
.results-footer {
    padding-top: 10px;
    display: flex;
    justify-content: center;
}

.btn-retry {
    padding: 10px 32px;
    border: 1px solid var(--gold-primary);
    background: transparent;
    color: var(--text-gold);
    font-family: var(--font-serif);
    font-size: 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-retry:hover {
    background: rgba(212, 175, 55, 0.15);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

/* Saju Threads of Destiny Styling */
.destiny-threads-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.destiny-threads-svg {
    width: 100%;
    height: 100%;
}

.thread {
    filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.7));
    stroke-dasharray: 300 100;
    animation: flowThread 15s linear infinite;
    stroke-width: 2px;
}

.thread-1 {
    animation-duration: 20s;
    animation-delay: -5s;
}

.thread-2 {
    animation-duration: 30s;
    animation-delay: -2s;
}

.thread-3 {
    animation-duration: 25s;
    animation-delay: -10s;
}

.thread-4 {
    animation-duration: 35s;
}

.thread-spin-clockwise {
    transform-origin: 225px 370px;
    animation: spinClockwise 40s linear infinite;
}

.thread-spin-counter {
    transform-origin: 225px 370px;
    animation: spinCounter 50s linear infinite;
}

@keyframes flowThread {
    from {
        stroke-dashoffset: 800;
    }
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes spinClockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spinCounter {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}
/* Ornate Gold Border Frame */
.ornate-border-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 200; /* Overlays on top of all screens */
    overflow: hidden;
}

.ornate-border-svg {
    width: 100%;
    height: 100%;
}

/* Form Date/Time Instruction */
.form-instruction {
    text-align: center;
    font-size: 14px;
    color: var(--text-gold);
    font-family: var(--font-serif);
    margin-bottom: 12px; /* Fixed overlap */
    opacity: 0.85;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Zodiac Animal Showcase & RPG Equipment Slots */
.equip-slots-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 10px 0;
    margin-bottom: 5px;
    width: 100%;
}

.equip-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 5;
}

.equip-slot-item {
    width: 60px;
    height: 60px;
    border-radius: 50% !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 1.5px dashed rgba(212, 175, 55, 0.3) !important;
    padding: 0 !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(15, 35, 63, 0.3) !important;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3) !important;
}

.equip-slot-item:hover {
    border-style: solid !important;
    border-color: var(--gold-light) !important;
    background: rgba(212, 175, 55, 0.08) !important;
    transform: scale(1.08);
}

.equip-slot-item.active {
    border-style: solid !important;
    border-color: var(--gold-primary) !important;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.15), rgba(7, 18, 36, 0.4)) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3), inset 0 0 8px rgba(212, 175, 55, 0.1) !important;
}

.equip-slot-item .slot-icon {
    font-size: 20px;
    margin-bottom: 2px;
}

.equip-slot-item .slot-label {
    font-size: 8px;
    color: #8c9cb3;
    text-transform: uppercase;
    font-weight: 700;
}

.equip-slot-item.active .slot-label {
    color: var(--text-gold);
}

.zodiac-character-showcase {
    position: relative;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.zodiac-character-showcase .zodiac-character-img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.45);
    background: rgba(15, 35, 63, 0.55);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    z-index: 2;
    transform: scale(0);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.25));
}

.zodiac-badge-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.accessory-overlay-res {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.accessory-overlay-res.equipped {
    opacity: 1;
    transform: scale(1);
}

.character-title-wrap {
    text-align: center;
    margin-bottom: 5px;
}

.zodiac-character-title {
    font-family: var(--font-serif);
    color: var(--text-gold);
    font-size: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 0.5px;
}

/* Animations for Zodiac Character Entrance */
.results-screen.active .zodiac-character-showcase .zodiac-character-img {
    animation: scaleUpZodiac 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, floatCharacter 3s ease-in-out infinite alternate 1s;
}

.results-screen.active .accessory-overlay-res.equipped {
    animation: floatCharacter 3s ease-in-out infinite alternate 1s;
}

@keyframes scaleUpZodiac {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes floatCharacter {
    0% {
        transform: translateY(0px) scale(1);
    }
    100% {
        transform: translateY(-8px) scale(1.02);
    }
}

/* Hanji Texture Cards */
.hanji-card {
    background-color: rgba(253, 251, 242, 0.08) !important; /* Warm ivory/translucent */
    background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 0), radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 0) !important;
    background-size: 8px 8px, 16px 16px !important;
    background-position: 0 0, 4px 4px !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    box-shadow: inset 0 0 15px rgba(253, 251, 242, 0.06), 0 6px 15px rgba(0, 0, 0, 0.2) !important;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.hanji-card:hover {
    border-color: rgba(212, 175, 55, 0.45) !important;
    background-color: rgba(253, 251, 242, 0.12) !important;
    box-shadow: inset 0 0 20px rgba(253, 251, 242, 0.08), 0 8px 20px rgba(0, 0, 0, 0.25) !important;
    transform: translateY(-2px);
}




/* Gold Oval Knowledge Area */
.gold-oval {
    width: 100%;
    padding: 12px 0;
    background: radial-gradient(circle at center, rgba(212,175,55,0.2), transparent);
    text-align: center;
    margin-bottom: 8px;
}
.gold-oval .knowledge-text {
    font-family: var(--font-serif);
    color: var(--text-gold);
    font-size: 15px;
    font-weight: 500;
}

/* Saju Results Character Showcase Wrap & Closet Button */
.zodiac-character-showcase-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 8px;
}

.btn-go-closet {
    margin-top: 10px;
    padding: 7px 18px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--gold-primary);
    color: var(--text-gold);
    font-family: var(--font-serif);
    font-size: 13px;
    font-weight: 700;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}

.btn-go-closet:hover {
    background: rgba(212, 175, 55, 0.28);
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(212, 175, 55, 0.25);
}

.btn-go-closet:active {
    transform: translateY(0);
}

/* Tiger-specific fine-tuning for accessories overlays */
.accessory-overlay svg,
.accessory-overlay-res svg {
    width: 100%;
    height: 100%;
    display: block;
}
.char-tiger #overlay-gat svg,
.char-tiger #overlay-gat-res svg {
    transform: translateY(-22px) scale(0.95);
    transform-origin: center;
}
.char-tiger #overlay-binyeo svg,
.char-tiger #overlay-binyeo-res svg {
    transform: translate(22px, -20px) rotate(12deg) scale(0.8);
    transform-origin: center;
}
.char-tiger #overlay-norigae svg,
.char-tiger #overlay-norigae-res svg {
    transform: translate(0px, 32px) scale(0.75);
    transform-origin: center;
}
