/* アプリを開くボタンの追加修正 - より高い優先度 */
.app-open-button,
a.app-open-button,
.app-open-button:link,
.app-open-button:visited {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border: 2px solid #3b82f6 !important;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3) !important;
    transition: all 0.2s ease-in-out !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    padding: 16px 24px !important;
    border-radius: 8px !important;
    min-height: 48px !important;
}

.app-open-button:hover,
a.app-open-button:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 10px -1px rgba(59, 130, 246, 0.4) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

.app-open-button:active,
a.app-open-button:active {
    transform: translateY(0px) !important;
    box-shadow: 0 2px 4px -1px rgba(59, 130, 246, 0.3) !important;
    color: #ffffff !important;
}

/* フォーカス時のスタイル（アクセシビリティ） */
.app-open-button:focus,
a.app-open-button:focus {
    outline: 3px solid #fbbf24 !important;
    outline-offset: 2px !important;
    color: #ffffff !important;
}

/* より高い特異性でスタイルを確実に適用 */
.app-actions .app-open-button {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    border-color: #3b82f6 !important;
}

.app-actions .app-open-button:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
    color: #ffffff !important;
}

/* アイコンのスタイル */
.app-open-button svg {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2)) !important;
    margin-right: 8px !important;
}

/* ダークモードでも確実に見える */
.dark .app-open-button,
[data-theme="dark"] .app-open-button {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}

.dark .app-open-button:hover,
[data-theme="dark"] .app-open-button:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%) !important;
    color: #ffffff !important;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .app-open-button {
        font-size: 16px !important;
        padding: 14px 20px !important;
        min-height: 50px !important;
    }
}

/* 重要: 他のスタイルで上書きされないように */
body .app-open-button,
html .app-open-button {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
}
