.suniva-official-line-entry{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;text-decoration:none!important}
.suniva-official-line-entry__icon{display:inline-grid;place-items:center;min-width:34px;height:25px;padding:0 7px;border-radius:7px;background:#06c755;color:#fff;font:800 11px/1 Arial,sans-serif;letter-spacing:-.02em}
.suniva-world-line-entry{position:fixed;z-index:10015;right:max(18px,env(safe-area-inset-right));top:max(172px,calc(env(safe-area-inset-top) + 142px));display:grid;place-items:center;width:58px;height:58px;border:1px solid rgba(6,199,85,.38);border-radius:50%;background:rgba(255,255,255,.96);box-shadow:0 10px 28px rgba(25,70,47,.2);color:#06a848;text-decoration:none!important;backdrop-filter:blur(10px)}
.suniva-world-line-entry b{font:900 12px/1 Arial,sans-serif}
.suniva-world-line-entry small{position:absolute;left:50%;top:50px;transform:translateX(-50%);white-space:nowrap;padding:3px 8px;border-radius:999px;background:#087a3d;color:#fff;font-size:10px;font-weight:700}
@media(max-width:600px){.suniva-world-line-entry{width:52px;height:52px;right:14px;top:max(150px,calc(env(safe-area-inset-top) + 126px))}.suniva-world-line-entry small{top:45px}}


/* SUNIVA_WORLD_TOUCH_SCROLL_LINE_V4_20260815 */

/* 全端末：重複情報を削除 */
html body .swu-garden .swu-planter-caption {
    display: none !important;
}

/* JSがタッチ端末を確定した場合、viewport幅に関係なく必ず適用 */
html.suniva-touch-device body #sunivaScopeSheet.swu-v2-enabled {
    height: min(92dvh, 920px) !important;
    max-height: 92dvh !important;
    overflow: hidden !important;
}

html.suniva-touch-device body #sunivaScopeSheet.swu-v2-enabled #sunivaScopeSheetBody {
    position: relative !important;
    height: calc(100% - 94px) !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    touch-action: pan-y !important;
    overscroll-behavior: contain !important;
}

html.suniva-touch-device body #sunivaUnifiedApp.swu-app {
    position: absolute !important;
    inset: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    touch-action: pan-y !important;
}

html.suniva-touch-device body #sunivaUnifiedApp .swu-pane.is-active {
    display: block !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: scroll !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    touch-action: pan-y !important;
}

/* スマホ花壇：1鉢ずつ縦表示 */
html.suniva-touch-device body #sunivaUnifiedApp .swu-garden {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 430px !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 10px 4px 90px !important;
    overflow: visible !important;
    translate: none !important;
    transform: none !important;
    touch-action: pan-y !important;
    box-sizing: border-box !important;
}

html.suniva-touch-device body #sunivaUnifiedApp .swu-rainbow-core {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    order: -1 !important;
    width: min(68vw,250px) !important;
    height: min(68vw,250px) !important;
    margin: 0 auto 10px !important;
    transform: none !important;
    pointer-events: none !important;
}

html.suniva-touch-device body #sunivaUnifiedApp .swu-planter,
html.suniva-touch-device body #sunivaUnifiedApp .swu-planter[data-swu-planter] {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    align-items: center !important;
    width: calc(100% - 8px) !important;
    max-width: 400px !important;
    min-height: 270px !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 14px 12px 18px !important;
    overflow: hidden !important;
    border: 1px solid rgba(211,170,85,.24) !important;
    border-radius: 28px !important;
    background: rgba(255,253,247,.90) !important;
    box-shadow: 0 10px 28px rgba(72,51,20,.07) !important;
    transform: none !important;
    animation: none !important;
    touch-action: pan-y !important;
    box-sizing: border-box !important;
}

html.suniva-touch-device body #sunivaUnifiedApp .swu-planter-visual {
    position: relative !important;
    width: min(64vw,220px) !important;
    height: 180px !important;
    margin: 0 auto 4px !important;
    flex: 0 0 180px !important;
    pointer-events: none !important;
}

html.suniva-touch-device body #sunivaUnifiedApp .swu-flower-stage,
html.suniva-touch-device body #sunivaUnifiedApp .swu-planter-base {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    pointer-events: none !important;
}

html.suniva-touch-device body #sunivaUnifiedApp .sv-social-planter {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    width: 100% !important;
    max-width: 350px !important;
    min-height: 58px !important;
    margin: 8px auto 0 !important;
    box-sizing: border-box !important;
    transform: none !important;
}

/* 公式LINE：JSでドラッグ対象になった時だけ適用 */
html body .suniva-official-line-entry.suniva-line-draggable {
    touch-action: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    cursor: grab !important;
    will-change: left,top,transform !important;
}

html body .suniva-official-line-entry.suniva-line-draggable.is-dragging {
    cursor: grabbing !important;
    transition: none !important;
}
